burn
Last updated
Last updated
This method burns existing LP tokens for a given pool. The amount of _token0
and _token1
returned depend on the amount of LP tokens burned and on the reserves & weights of pool0 & pool1. This low-level function should be called from a contract which performs important safety checks.
Parameter | Description |
---|---|
Value | Description |
---|---|
_token0
An ERC20 token address. Token must have already a pool.
_token1
An ERC20 token address. Token must have already a pool.
_to
The address of the recipient that receives the redeemed liquidity.
amount0
The amount of tokens0
that one receives.
amount1
The amount of tokens1
that one receives.