Skip to main content

Errors Codes

Below is a list of the different Errors that can be thrown when executing transactions on MetaMorpho.

E.g: One can try to execute an action on MetaMorpho contracts, and get:

reverted with an unrecognized custom error (return data: 0x46fedb57)

According to the following tables, this is an error that emitted the AboveMaxTimelock() function.

Custom ErrorError Signature (returned data)
AboveMaxTimelock()0x46fedb57
AlreadyPending()0x49b204ce
AlreadySet()0xa741a045
AllCapsReached()0xded0652d
BelowMinTimelock()0x342b27be
DuplicateMarket(Id id)0x074e4d4b
InconsistentAsset(Id id)0xf17887ec
InconsistentReallocation()0x9e36b890
InvalidMarketRemovalNonZeroCap(Id id)0xd2575d1a
InvalidMarketRemovalNonZeroSupply(Id id)0x6316104f
InvalidMarketRemovalTimelockNotElapsed(Id id)0x813435c5
MarketNotCreated()0x96e13529
MarketNotEnabled(Id id)0x11b0e0ab
MaxFeeExceeded()0xf4df6ae5
MaxQueueLengthExceeded()0x80f2f7ae
NonZeroCap()0xc48e3172
NoPendingValue()0xe5f408a5
NotAllocatorRole()0xf7137c0f
NotCuratorNorGuardianRole()0xd080fa31
NotCuratorRole()0xca899cec
NotEnoughLiquidity()0x4323a555
NotGuardianRole()0xf9f2fc9a
PendingCap(Id id)0x42288ef1
PendingRemoval()0x4bec0146
SupplyCapExceeded(Id id)0xd018394f
TimelockNotElapsed()0x6677a596
UnauthorizedMarket(Id id)0x9cd14834
ZeroAddress()0x867915ab
ZeroFeeRecipient()0xcff9f194