ErrorTypes
fToken__DepositInsignificant
uint256 fToken__DepositInsignificant
thrown when a deposit amount is too small to increase BigMath stored balance in Liquidity. precision of BigMath is 1e12, so if token holds 120_000_000_000 USDC, min amount to make a difference would be 0.1 USDC. i.e. user would send a very small deposit which mints no shares -> revert
fToken__MinAmountOut
uint256 fToken__MinAmountOut
thrown when minimum output amount is not reached, e.g. for minimum shares minted (deposit) or minimum assets received (redeem)
fToken__MaxAmount
uint256 fToken__MaxAmount
thrown when maximum amount is surpassed, e.g. for maximum shares burned (withdraw) or maximum assets input (mint)
fToken__InvalidParams
uint256 fToken__InvalidParams
thrown when invalid params are sent to a method, e.g. zero address
fToken__Unauthorized
uint256 fToken__Unauthorized
thrown when an unauthorized caller is trying to execute an auth-protected method
fToken__PermitFromOwnerCall
uint256 fToken__PermitFromOwnerCall
thrown when a with permit / signature method is called from msg.sender that is the owner. Should call the method without permit instead if msg.sender is the owner.
fToken__Reentrancy
uint256 fToken__Reentrancy
thrown when a reentrancy is detected.
fToken__ExchangePriceOverflow
uint256 fToken__ExchangePriceOverflow
thrown when _tokenExchangePrice overflows type(uint64).max
fToken__NotRebalancer
uint256 fToken__NotRebalancer
thrown when msg.sender is not rebalancer
fToken__NotNativeUnderlying
uint256 fToken__NotNativeUnderlying
thrown when rebalance is called with msg.value > 0 for non NativeUnderlying fToken
fToken__LiquidityExchangePriceUnexpected
uint256 fToken__LiquidityExchangePriceUnexpected
thrown when the received new liquidity exchange price is of unexpected value (< than the old one)
fTokenNativeUnderlying__TransferInsufficient
uint256 fTokenNativeUnderlying__TransferInsufficient
thrown when native deposit is called but sent along msg.value
does not cover the deposit amount
fTokenNativeUnderlying__UnexpectedLiquidityCallback
uint256 fTokenNativeUnderlying__UnexpectedLiquidityCallback
thrown when a liquidity callback is called for a native token operation
LendingFactory__InvalidParams
uint256 LendingFactory__InvalidParams
thrown when a method is called with invalid params
LendingFactory__ZeroAddress
uint256 LendingFactory__ZeroAddress
thrown when the provided input param address is zero
LendingFactory__TokenExists
uint256 LendingFactory__TokenExists
thrown when the token already exists
LendingFactory__LiquidityNotConfigured
uint256 LendingFactory__LiquidityNotConfigured
thrown when the fToken has not yet been configured at Liquidity
LendingFactory__Unauthorized
uint256 LendingFactory__Unauthorized
thrown when an unauthorized caller is trying to execute an auth-protected method
LendingRewardsRateModel__InvalidParams
uint256 LendingRewardsRateModel__InvalidParams
thrown when invalid params are given as input
LendingRewardsRateModel__MaxRate
uint256 LendingRewardsRateModel__MaxRate
thrown when calculated rewards rate is exceeding the maximum rate
LendingRewardsRateModel__NotTheInitiator
uint256 LendingRewardsRateModel__NotTheInitiator
thrown when start is called by any other address other than initiator
LendingRewardsRateModel__AlreadyStarted
uint256 LendingRewardsRateModel__AlreadyStarted
thrown when start is called after the rewards are already started
LendingRewardsRateModel__ZeroAddress
uint256 LendingRewardsRateModel__ZeroAddress
thrown when the provided input param address is zero