LibsErrorTypes ​
State Variables ​
LiquidityCalcs__ExchangePriceZero ​
| | LiquidityCalcs | |__________________________________
thrown when supply or borrow exchange price is zero at calc token data (token not configured yet)
solidity
uint256 internal constant LiquidityCalcs__ExchangePriceZero = 70001;
LiquidityCalcs__UnsupportedRateVersion ​
thrown when rate data is set to a version that is not implemented
solidity
uint256 internal constant LiquidityCalcs__UnsupportedRateVersion = 70002;
LiquidityCalcs__BorrowRateNegative ​
thrown when the calculated borrow rate turns negative. This should never happen.
solidity
uint256 internal constant LiquidityCalcs__BorrowRateNegative = 70003;
SafeTransfer__TransferFromFailed ​
| | SafeTransfer | |__________________________________
thrown when safe transfer from for an ERC20 fails
solidity
uint256 internal constant SafeTransfer__TransferFromFailed = 71001;
SafeTransfer__TransferFailed ​
thrown when safe transfer for an ERC20 fails
solidity
uint256 internal constant SafeTransfer__TransferFailed = 71002;