ErrorTypes

AdminModule__AddressZero

uint256 AdminModule__AddressZero

thrown when an input address is zero

AdminModule__OnlyGovernance

uint256 AdminModule__OnlyGovernance

thrown when msg.sender is not governance

AdminModule__OnlyAuths

uint256 AdminModule__OnlyAuths

thrown when msg.sender is not auth

AdminModule__OnlyGuardians

uint256 AdminModule__OnlyGuardians

thrown when msg.sender is not guardian

AdminModule__LimitZero

uint256 AdminModule__LimitZero

thrown when base withdrawal limit, base debt limit or max withdrawal limit is sent as 0

AdminModule__InvalidParams

uint256 AdminModule__InvalidParams

thrown whenever an invalid input param is given

AdminModule__UserNotPausable

uint256 AdminModule__UserNotPausable

thrown if user class 1 is paused (can not be paused)

AdminModule__UserNotPaused

uint256 AdminModule__UserNotPaused

thrown if user is tried to be unpaused but is not paused in the first place

AdminModule__UserNotDefined

uint256 AdminModule__UserNotDefined

thrown if user is not defined yet: Governance didn't yet set any config for this user on a particular token

AdminModule__InvalidConfigOrder

uint256 AdminModule__InvalidConfigOrder

thrown if a token is configured in an invalid order: 1. Set rate config for token 2. Set token config 3. allow any user.

AdminModule__RevenueCollectorNotSet

uint256 AdminModule__RevenueCollectorNotSet

thrown if revenue is collected when revenue collector address is not set

AdminModuleValueOverflowRATE_AT_UTIL_ZERO

uint256 AdminModule__ValueOverflow__RATE_AT_UTIL_ZERO

all ValueOverflow errors below are thrown if a certain input param overflows the allowed storage size

AdminModuleValueOverflowRATE_AT_UTIL_KINK

uint256 AdminModule__ValueOverflow__RATE_AT_UTIL_KINK

AdminModuleValueOverflowRATE_AT_UTIL_MAX

uint256 AdminModule__ValueOverflow__RATE_AT_UTIL_MAX

AdminModuleValueOverflowRATE_AT_UTIL_KINK1

uint256 AdminModule__ValueOverflow__RATE_AT_UTIL_KINK1

AdminModuleValueOverflowRATE_AT_UTIL_KINK2

uint256 AdminModule__ValueOverflow__RATE_AT_UTIL_KINK2

AdminModuleValueOverflowRATE_AT_UTIL_MAX_V2

uint256 AdminModule__ValueOverflow__RATE_AT_UTIL_MAX_V2

AdminModuleValueOverflowFEE

uint256 AdminModule__ValueOverflow__FEE

AdminModuleValueOverflowTHRESHOLD

uint256 AdminModule__ValueOverflow__THRESHOLD

AdminModuleValueOverflowEXPAND_PERCENT

uint256 AdminModule__ValueOverflow__EXPAND_PERCENT

AdminModuleValueOverflowEXPAND_DURATION

uint256 AdminModule__ValueOverflow__EXPAND_DURATION

AdminModuleValueOverflowEXPAND_PERCENT_BORROW

uint256 AdminModule__ValueOverflow__EXPAND_PERCENT_BORROW

AdminModuleValueOverflowEXPAND_DURATION_BORROW

uint256 AdminModule__ValueOverflow__EXPAND_DURATION_BORROW

AdminModuleValueOverflowEXCHANGE_PRICES

uint256 AdminModule__ValueOverflow__EXCHANGE_PRICES

AdminModuleValueOverflowUTILIZATION

uint256 AdminModule__ValueOverflow__UTILIZATION

AdminModule__AddressNotAContract

uint256 AdminModule__AddressNotAContract

thrown when an address is not a contract

AdminModuleValueOverflowMAX_UTILIZATION

uint256 AdminModule__ValueOverflow__MAX_UTILIZATION

AdminModule__TokenInvalidDecimalsRange

uint256 AdminModule__TokenInvalidDecimalsRange

thrown if a token that is being listed has not between 6 and 18 decimals

UserModule__UserNotDefined

uint256 UserModule__UserNotDefined

thrown when user operations are paused for an interacted token

UserModule__UserPaused

uint256 UserModule__UserPaused

thrown when user operations are paused for an interacted token

UserModule__WithdrawalLimitReached

uint256 UserModule__WithdrawalLimitReached

thrown when user's try to withdraw below withdrawal limit

UserModule__BorrowLimitReached

uint256 UserModule__BorrowLimitReached

thrown when user's try to borrow above borrow limit

UserModule__OperateAmountsZero

uint256 UserModule__OperateAmountsZero

thrown when user sent supply/withdraw and borrow/payback both as 0

UserModule__OperateAmountOutOfBounds

uint256 UserModule__OperateAmountOutOfBounds

thrown when user sent supply/withdraw or borrow/payback both as bigger than 2**128

UserModule__OperateAmountInsufficient

uint256 UserModule__OperateAmountInsufficient

thrown when the operate amount for supply / withdraw / borrow / payback is below the minimum amount that would cause a storage difference after BigMath & rounding imprecision. Extremely unlikely to ever happen for all normal use-cases.

UserModule__ReceiverNotDefined

uint256 UserModule__ReceiverNotDefined

thrown when withdraw or borrow is executed but withdrawTo or borrowTo is the zero address

UserModule__TransferAmountOutOfBounds

uint256 UserModule__TransferAmountOutOfBounds

thrown when user did send excess or insufficient amount (beyond rounding issues)

UserModule__MsgValueForNonNativeToken

uint256 UserModule__MsgValueForNonNativeToken

thrown when user sent msg.value along for an operation not for the native token

UserModule__MaxUtilizationReached

uint256 UserModule__MaxUtilizationReached

thrown when a borrow operation is done when utilization is above 100%

UserModuleValueOverflowEXCHANGE_PRICES

uint256 UserModule__ValueOverflow__EXCHANGE_PRICES

all ValueOverflow errors below are thrown if a certain input param or calc result overflows the allowed storage size

UserModuleValueOverflowUTILIZATION

uint256 UserModule__ValueOverflow__UTILIZATION

UserModuleValueOverflowTOTAL_SUPPLY

uint256 UserModule__ValueOverflow__TOTAL_SUPPLY

UserModuleValueOverflowTOTAL_BORROW

uint256 UserModule__ValueOverflow__TOTAL_BORROW

LiquidityHelpers__Reentrancy

uint256 LiquidityHelpers__Reentrancy

thrown when a reentrancy happens