Edge Cases

There are a couple of edge cases that integrators should keep in mind.

  • If one of the lending providers used do not have all the liquidity requested available when the redeemIdleToken is called and no unlent balance is left then the tx will revert. The only options are to either wait for new liquidity to be returned (the rebalance method already takes this into account and tries to redeem as much as possibile) or reduce the redeemed amount