LibsErrorTypes

Git Source

State Variables

LiquidityCalcs__ExchangePriceZero

| | LiquidityCalcs | |__________________________________

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

uint256 internal constant LiquidityCalcs__ExchangePriceZero = 70001;

LiquidityCalcs__UnsupportedRateVersion

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

uint256 internal constant LiquidityCalcs__UnsupportedRateVersion = 70002;

SafeTransfer__TransferFromFailed

| | SafeTransfer | |__________________________________

thrown when safe transfer from for an ERC20 fails

uint256 internal constant SafeTransfer__TransferFromFailed = 71001;

SafeTransfer__TransferFailed

thrown when safe transfer for an ERC20 fails

uint256 internal constant SafeTransfer__TransferFailed = 71002;