📤Divesting

Withdrawal actions contain 3 entrypoints that allow the user to withdraw underlying tokens by burning liquidity tokens.

  • Balanced divest - classic removing liquidity without any additional fees.

pagedivest
  • Imbalanced divest - allows to withdraw specific amount of underlying token(-s).

pagedivest_imbalanced
  • Divest in one coin - allows to withdraw in one of underlying token by burning specific amount of shares.

pagedivest_one_coin

Divest imbalance vs divest one

If you try to divest in imbalanced method you should pass required amount(-s) of output token(-s) and maximum of LP token (shares) to be burnt.

When you try to divest in one coin you should pass amount of shares to be burnt and minimal amount of token that you want to receive.

All of sent shares would be burnt when divest in one coin. Even if shares value greater than avaliable reserves of token.

In each way you would pay some fees to pool for imbalanced divest.

If you divest in balanced way, you wouldn’t pay any fees.

Last updated