Developers > Best Yield > redeemInterestBearingTokens
This method can be called only in emergency situations when the BY contract is paused.
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.
The amount of idleTokens to be burned