Function: redeem(PoolParams[] longPoolParams, PoolParams[] shortPoolParams)
This function is used to redeem long and short tokens.
Inputs
longPoolParamsControl: Arbitrary.
Constraints: None.
Impact: Array of pool parameters that are for long positions.
shortPoolParamsControl: Arbitrary.
Constraints: None.
Impact: Array of pool parameters that are for short positions.
Branches and code coverage
Intended branches
Invokes
redeemLongfor each pool inlongPoolParams.Invokes
redeemShortfor each pool inshortPoolParams.