Burn
Users may burn their iTokens to retrieve the underlying assets. One cannot withdraw more assets than are currently available in the pool.
Burn to ERC20
Call burn to withdraw the underlying assets from the lending pool. If the iTokens reside on the Liquidity Mining Contract, they can be retrieved in the same transaction.
Arguments
receiver
address
the receiver of the underlying tokens. note: potential LM rewards are always sent to the msg.sender
burnAmount
uint256
the amount of pool tokens to redeem.
useLM
bool
if true -> retrieve the pool tokens into the Liquidity Mining contract
Returns
The amount of tokens redeemed.
Burn to RBTC
Arguments
receiver
address
the receiver of the underlying tokens. note: potential LM rewards are always sent to the msg.sender
burnAmount
uint256
the amount of pool tokens to redeem.
useLM
bool
if true -> retrieve the pool tokens into the Liquidity Mining contract
Last updated