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. To avoid having funds completly locked until new liquidity is available in the underlying lending protocols, we allow users to redeem interest-bearing tokens directly with the redeemInterestBearingTokens method.