Burn LP tokens to withdraw proportional BT and FW from the FiraMarket pool.
Key references: FiraMarket.burn.
FiraMarket.burn
Goal: Burn LP to withdraw proportional FW and BT.
Preconditions: Transfer LP to market before calling burn; decide receivers for FW/BT.
burn
Notes: Router provides additional remove methods:
removeLiquidityDualFwAndBt / removeLiquidityDualTokenAndBt
removeLiquidityDualFwAndBt
removeLiquidityDualTokenAndBt
removeLiquiditySingleBt / removeLiquiditySingleFw / removeLiquiditySingleToken
removeLiquiditySingleBt
removeLiquiditySingleFw
removeLiquiditySingleToken
Single-FW removal post-expiry: BT is sent to CT contract and redeemed via CT.redeemBC.
CT.redeemBC
Views
Market: readTokens(), isExpired().
readTokens()
isExpired()
Events
Market: Burn(receiverFw, receiverBt, netLpToBurn, netFwOut, netBtOut).
Burn(receiverFw, receiverBt, netLpToBurn, netFwOut, netBtOut)
Last updated 16 days ago