Function: redeemLong(PoolParams longParams)
This function is used to redeem long shares for the payout token.
Inputs
longParams
Control: Arbitrary.
Constraints: None.
Impact: Pool parameters.
Branches and code coverage
Intended branches
Calculates the payout amount using the caller's share balance and pool parameters.
Burns the caller's long shares.
Transfers the payout amount to the caller.