Errors Codes
Below are the errors that one can encounter during developing on Morpho contracts:
Below is a list of the different Errors that can be thrown when executing transactions on Morpho AaveV3 Optimizer.
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 Error | Error Signature (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 |