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