Skip to main content

Errors Codes

Here are the errors that one can encounter during developing on Morpho CompoundV2 Optimizer Contracts:

One can encounter different Errors, and below is an overview of them that can appear when executing transactions on the following instances of Morpho.

E.g: One can try to execute an action on Morpho contracts, and get:
reverted with an unrecognized custom error (**return data: 0xdf9db463**).
According to the following tables, this is an error that emitted the UnauthorisedBorrow() function.

Custom ErrorError Signature (returned data)
AddressIsZero()0x867915ab
AlreadyClaimed()0x646cf558
AmountAboveWhatAllowedToRepay()0x3b1b989f
AmountIsZero()0x43ad20fc
BorrowIsPaused()0xd8010e4b
BorrowOnCompoundFailed()0x04e71ad6
ClaimRewardsPaused()0xefa4bb34
CompoundOracleFailed()0x4b6b62e5
ExceedsMaxBasisPoints()0xd4be58d8
InvalidCToken()0x8f0b88a4
InvalidPoolToken()0xdcdedda9
LiquidateBorrowIsPaused()0x201817cf
LiquidateCollateralIsPaused()0x43e32738
LowLevelDelegateCallFailed()0x06f7035e
MarketAlreadyCreated()0xd7d82e58
MarketCreationFailedOnCompound()0xc4282a4a
MarketNotCreated()0x96e13529
MintOnCompoundFailed()0xeafac90e
NumberExceeds224Bits()0x22f8bd90
NumberExceeds32Bits()0xac242901
OnlyMorpho()0x7e5f4b61
ProofInvalidOrExpired()0xf5420957
RedeemOnCompoundFailed()0x7d47a0c3
RepayIsPaused()0x08df075f
RepayOnCompoundFailed()0x7112354b
SameBlockBorrowRepay()0xdff88f51
SupplyIsPaused()0xd3fe3f24
UnauthorisedBorrow()0xdf9db463
UnauthorisedLiquidate()0xb3165ffd
UnauthorisedWithdraw()0x32e8f17c
UserNotMemberOfMarket()0x461e90c0
VaultIsPaused()0x6c0739b6
WithdrawIsPaused()0x2816ae32
WithdrawTooSmall()0x93c76c6f
ZeroAddress()0xd92e233d