Errors Logic
Here are the errors that one can encounter during developing on Morpho 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.
Morpho-Aave-V3
Morpho-Aave-V2
Morpho-Compound-V2
Functions | Error (returned data) |
---|---|
AddressIsZero() | 0x867915ab |
AmountIsZero() | 0x43ad20fc |
BorrowIsPaused() | 0xd8010e4b |
BorrowNotEnabled() | 0xed3bf62e |
BorrowNotPaused() | 0x4fad44a7 |
ClaimRewardsPaused() | 0xefa4bb34 |
ExceedsBorrowCap() | 0xe4c10959 |
ExceedsMaxBasisPoints() | 0xd4be58d8 |
InconsistentEMode() | 0x05e5204c |
InvalidNonce() | 0x756688fe |
InvalidSignatory() | 0xba0e0fd5 |
InvalidValueS() | 0xed9a0195 |
InvalidValueV() | 0x9c5b7fcf |
InvalidPoolToken() | 0xdcdedda9 |
LiquidateBorrowIsPaused() | 0x201817cf |
LiquidateCollateralIsPaused() | 0x43e32738 |
LowLevelDelegateCallFailed() | 0x06f7035e |
MarketAlreadyCreated() | 0xd7d82e58 |
MarketIsDeprecated() | 0x0679d36d |
MarketIsNotListedOnAave() | 0xb00f4f56 |
MarketNotCreated() | 0x96e13529 |
PermissionDenied() | 0x1e092104 |
RepayIsPaused() | 0x08df075f |
SentinelBorrowNotEnabled() | 0x94dd5e36 |
SentinelLiquidateNotEnabled() | 0x0bb3ca33 |
SignatureExpired() | 0x0819bdcd |
SupplyCollateralIsPaused() | 0xcda7e21a |
SupplyIsPaused() | 0xd3fe3f24 |
UnauthorisedBorrow() | 0xdf9db463 |
UnauthorisedLiquidate() | 0xb3165ffd |
UnauthorisedWithdraw() | 0x32e8f17c |
WithdrawCollateralIsPaused() | 0x4deb62b1 |
WithdrawIsPaused() | 0x2816ae32 |
Functions | Error (returned data) |
---|---|
AddressIsZero() | 0x867915ab |
AlreadyClaimed() | 0x646cf558 |
AmountIsZero() | 0x43ad20fc |
BorrowIsPaused() | 0xd8010e4b |
BorrowingNotEnabled() | 0x53587745 |
ClaimRewardsPaused() | 0xefa4bb34 |
ExceedsMaxBasisPoints() | 0xd4be58d8 |
LiquidateBorrowIsPaused() | 0x201817cf |
LiquidateCollateralIsPaused() | 0x43e32738 |
LowLevelDelegateCallFailed() | 0x06f7035e |
MarketAlreadyCreated() | 0xd7d82e58 |
MarketIsNotListedOnAave() | 0xb00f4f56 |
MarketNotCreated() | 0x96e13529 |
MaxNumberOfMarkets() | 0xb285db3b |
MaxSortedUsersCannotBeZero() | 0x9d591284 |
OnlyMorpho() | 0x7e5f4b61 |
ProofInvalidOrExpired() | 0xf5420957 |
RepayIsPaused() | 0x08df075f |
SameBlockBorrowRepay() | 0xdff88f51 |
SupplyIsPaused() | 0xd3fe3f24 |
UnauthorisedBorrow() | 0xdf9db463 |
UnauthorisedLiquidate() | 0xb3165ffd |
UnauthorisedWithdraw() | 0x32e8f17c |
UserNotMemberOfMarket() | 0x461e90c0 |
VaultIsPaused() | 0x6c0739b6 |
WithdrawIsPaused() | 0x2816ae32 |
ZeroAddress() | 0xd92e233d |
Functions | Error (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 |
Last modified 1mo ago