redeemInterestBearingTokens
Developers > Best Yield > redeemInterestBearingTokens
This method calculates the pool share one user can withdraw given the amount of idleTokens (idleDAI, idleUSDC, idleUSD, ...) he wants to burn and send interest-bearing tokens (aTokens from Aave, cTokens from Compound, ...) directly to the user's wallet alongside his share of unlent underlying (e.g. DAI) present in the vault.
Function
Parameters
Parameter
Description
_amount
The amount of idleTokens to be burned
Last updated
Was this helpful?