For the complete documentation index, see llms.txt. This page is also available as Markdown.

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 / removeLiquidityDualTokenAndBt

    • removeLiquiditySingleBt / removeLiquiditySingleFw / removeLiquiditySingleToken

    • Single-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