Skip to content

LibsErrorTypes ​

LiquidityCalcs__ExchangePriceZero ​

solidity
uint256 LiquidityCalcs__ExchangePriceZero

thrown when supply or borrow exchange price is zero at calc token data (token not configured yet)

LiquidityCalcs__UnsupportedRateVersion ​

solidity
uint256 LiquidityCalcs__UnsupportedRateVersion

thrown when rate data is set to a version that is not implemented

LiquidityCalcs__BorrowRateNegative ​

solidity
uint256 LiquidityCalcs__BorrowRateNegative

thrown when the calculated borrow rate turns negative. This should never happen.

SafeTransfer__TransferFromFailed ​

solidity
uint256 SafeTransfer__TransferFromFailed

thrown when safe transfer from for an ERC20 fails

SafeTransfer__TransferFailed ​

solidity
uint256 SafeTransfer__TransferFailed

thrown when safe transfer for an ERC20 fails