Knightswap liquidity: LP uses and withdrawal order

KnightSwap uses liquidity provider (LP) tokens to record a provider's share of a two-asset pool on BNB Chain. The tokens carry an entitlement to pool trading fees and may also earn KNIGHT when staked in a matching active farm. To recover the paired assets, LP tokens held in a farm must first be unstaked and then redeemed through liquidity removal.

Updated on

Reading the pool share and fees

An LP token represents a claim on its particular liquidity pool. It is distinct from KNIGHT, the token that KnightSwap farms distribute as a reward. The amounts of the two underlying assets represented by an LP position change with pool activity, so redemption does not promise the original deposited quantities.

KnightSwap's Exchange documentation specifies a 0.2% trading fee: 0.17% of the traded amount goes to the liquidity pool and 0.03% goes to the KnightSwap Treasury. Providers share the pool's fee income in proportion to their liquidity position. Fee accrual adds assets to the pool without increasing a holder's LP-token count.

Changes in the relative prices of the paired assets can leave a liquidity position worth less than holding those assets separately. This difference is known as impermanent loss. Trading fees and farming rewards are not guaranteed to offset it.

Using LP in a farm or vault

Holding LP tokens in a wallet preserves the pool-fee entitlement without a farm deposit. A matching active farm adds a separate KNIGHT reward mechanism; providing liquidity alone does not establish that a farm exists for the pair. The documented farm controls distinguish Harvest, which claims earned KNIGHT, from the withdrawal control, which returns staked LP.

LP tokens placed in an auto-compounder also retain their pool-fee entitlement. Castle Vaults are KnightSwap's documented compounding contracts, with deposit types that include individual tokens and LP tokens.

Withdrawing LP before redeeming liquidity

BNB is needed for BNB Chain transaction gas. For a direct farm deposit, withdraw the amount of LP that you intend to redeem and confirm that the withdrawal succeeded. LP already held in the wallet can proceed to liquidity removal.

Unstaking alone leaves the pool position intact. Keeping the returned LP tokens retains that liquidity exposure and its trading-fee entitlement. Removing liquidity is the additional action that redeems all or part of the pool share for the underlying assets.

Knightswap liquidity: Withdrawing LP before redeeming liquidity - diagram

Open full-size image

The documented removal interface lets the provider select the portion to redeem and inspect the corresponding amounts of each asset. Authorization is followed by a removal transaction. An approval or signature authorizes the action; the underlying assets return when the removal transaction succeeds. Check its outcome and the resulting asset balances before treating redemption as complete.

A partner's departure can also change where its farm appears. In its December 19, 2021 pool update, MicroPets directed providers to retrieve LP through the Inactive tab before removing liquidity to recover PETS and BNB.

Before changing a position

  • If pool trading fees are the goal, LP can remain in a wallet; farming is optional.
  • For additional KNIGHT rewards, confirm that an active farm accepts the exact LP pair.
  • To redeem farmed LP, recover the selected LP amount from the farm before removing liquidity.
  • For a completed redemption, verify the successful removal transaction and the returned balances of both assets.