LibsErrorTypes

LiquidityCalcs__ExchangePriceZero

uint256 LiquidityCalcs__ExchangePriceZero

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

LiquidityCalcs__UnsupportedRateVersion

uint256 LiquidityCalcs__UnsupportedRateVersion

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

LiquidityCalcs__BorrowRateNegative

uint256 LiquidityCalcs__BorrowRateNegative

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

SafeTransfer__TransferFromFailed

uint256 SafeTransfer__TransferFromFailed

thrown when safe transfer from for an ERC20 fails

SafeTransfer__TransferFailed

uint256 SafeTransfer__TransferFailed

thrown when safe transfer for an ERC20 fails