Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
141 changes: 68 additions & 73 deletions Errors.md
Original file line number Diff line number Diff line change
@@ -1,40 +1,35 @@
# Custom Error Codes

## apps/super-token-lockable/LimitHook.sol

| Error | Signature |
| --------------------- | ------------ |
| `BurnLimitExceeded()` | `0x85e72fd4` |
| `MintLimitExceeded()` | `0xb643bfa6` |

## apps/super-token-lockable/SuperTokenLockable.sol

| Error | Signature |
| ---------------------------- | ------------ |
| `InsufficientBalance()` | `0xf4d678b8` |
| `InsufficientLockedTokens()` | `0x4f6d2a3e` |

## base/PlugBase.sol

| Error | Signature |
| ---------------------------- | ------------ |
| `SocketAlreadyInitialized()` | `0xc9500b00` |

## mock/MockSocket.sol

| Error | Signature |
| -------------------------- | ------------ |
| `PayloadAlreadyExecuted()` | `0xe17bd578` |
| `VerificationFailed()` | `0x439cc0cd` |
| `LowGasLimit()` | `0xd38edae0` |
| `InvalidSlug()` | `0x290a8315` |

## mock/MockWatcherPrecompile.sol
## interfaces/IWatcherPrecompile.sol

| Error | Signature |
| --------------------------- | ------------ |
| `InvalidChainSlug()` | `0xbff6b106` |
| `InvalidConnection()` | `0x63228f29` |
| `InvalidTransmitter()` | `0x58a70a0a` |
| `InvalidTimeoutRequest()` | `0x600ca372` |
| `InvalidPayloadId()` | `0xfa0b8c86` |
| `InvalidCaller()` | `0x48f5c3ed` |
| `InvalidGateway()` | `0xfc9dfe85` |
| `InvalidSwitchboard()` | `0xf63c9e4d` |
| `RequestAlreadyCancelled()` | `0xc70f47d8` |
| `RequestCancelled()` | `0xe3cf2258` |
| `AlreadyStarted()` | `0x1fbde445` |
| `InvalidLevelNumber()` | `0x5022f14b` |

## interfaces/IWatcherPrecompileLimits.sol

| Error | Signature |
| ---------------------- | ------------ |
| `InvalidChainSlug()` | `0xbff6b106` |
| `InvalidTransmitter()` | `0x58a70a0a` |
| Error | Signature |
| ------------------------------------------------ | ------------ |
| `ActionNotSupported(address,bytes32)` | `0xa219158f` |
| `NotDeliveryHelper()` | `0x29029c67` |
| `LimitExceeded(address,bytes32,uint256,uint256)` | `0x80bb2621` |

## protocol/AddressResolver.sol

Expand All @@ -51,6 +46,19 @@
| `PromiseAlreadySetUp()` | `0x927c53d5` |
| `PromiseRevertFailed()` | `0x0175b9de` |

## protocol/Forwarder.sol

| Error | Signature |
| ------------------------ | ------------ |
| `AsyncModifierNotUsed()` | `0xb9521e1a` |

## protocol/payload-delivery/AuctionManager.sol

| Error | Signature |
| ---------------------------- | ------------ |
| `InvalidBid()` | `0xc6388ef7` |
| `MaxReAuctionCountReached()` | `0xf2b4388c` |

## protocol/payload-delivery/ContractFactoryPlug.sol

| Error | Signature |
Expand All @@ -59,6 +67,17 @@
| `ExecutionFailed()` | `0xacfdb444` |
| `information(bool,bytes)` | `0x1a5c6d63` |

## protocol/payload-delivery/FeesManager.sol

| Error | Signature |
| ----------------------------- | ------------ |
| `InsufficientFeesAvailable()` | `0x51488f54` |
| `NoFeesForTransmitter()` | `0x248bac55` |
| `NoFeesBlocked()` | `0x116d68f9` |
| `InvalidWatcherSignature()` | `0x5029f14f` |
| `NonceUsed()` | `0x1f6d5aef` |
| `InvalidCaller()` | `0x48f5c3ed` |

## protocol/payload-delivery/FeesPlug.sol

| Error | Signature |
Expand All @@ -68,17 +87,7 @@
| `InvalidDepositAmount()` | `0xfe9ba5cd` |
| `TokenNotWhitelisted(address)` | `0xea3bff2e` |

## protocol/payload-delivery/app-gateway/AuctionManager.sol

| Error | Signature |
| ------------------------- | ------------ |
| `AuctionClosed()` | `0x36b6b46d` |
| `AuctionAlreadyStarted()` | `0x628e3883` |
| `BidExceedsMaxFees()` | `0x4c923f3c` |
| `InvalidTransmitter()` | `0x58a70a0a` |
| `LowerBidAlreadyExists()` | `0xaaa1f709` |

## protocol/payload-delivery/app-gateway/RequestAsync.sol
## protocol/payload-delivery/app-gateway/DeliveryUtils.sol

| Error | Signature |
| ----------------------- | ------------ |
Expand All @@ -89,16 +98,7 @@
| `OnlyAppGateway()` | `0xfec944ea` |
| `WinningBidExists()` | `0xe8733654` |
| `InsufficientFees()` | `0x8d53e553` |

## protocol/payload-delivery/app-gateway/FeesManager.sol

| Error | Signature |
| ----------------------------- | ------------ |
| `InsufficientFeesAvailable()` | `0x51488f54` |
| `NoFeesForTransmitter()` | `0x248bac55` |
| `NoFeesBlocked()` | `0x116d68f9` |
| `InvalidWatcherSignature()` | `0x5029f14f` |
| `NonceUsed()` | `0x1f6d5aef` |
| `ReadOnlyRequests()` | `0x5f16b0e6` |

## protocol/socket/Socket.sol

Expand All @@ -114,9 +114,9 @@

| Error | Signature |
| ------------------------------- | ------------ |
| `SwitchboardExists()` | `0x2dff8555` |
| `InvalidConnection()` | `0x63228f29` |
| `InvalidSwitchboard()` | `0xf63c9e4d` |
| `SwitchboardExists()` | `0x2dff8555` |
| `SwitchboardExistsOrDisabled()` | `0x1c7d2487` |

## protocol/socket/SocketUtils.sol
Expand Down Expand Up @@ -146,10 +146,11 @@

## protocol/utils/AddressResolverUtil.sol

| Error | Signature |
| ------------------------- | ------------ |
| `OnlyPayloadDelivery()` | `0x7ccc3a43` |
| `OnlyWatcherPrecompile()` | `0x663a892a` |
| Error | Signature |
| ----------------------------------------- | ------------ |
| `OnlyPayloadDelivery()` | `0x7ccc3a43` |
| `OnlyWatcherPrecompile()` | `0x663a892a` |
| `OnlyWatcherPrecompileOrDeliveryHelper()` | `0xe93a2814` |

## protocol/utils/common/Errors.sol

Expand Down Expand Up @@ -185,22 +186,16 @@
| `InvalidTokenAddress()` | `0x1eb00b06` |
| `InvalidWatcherSignature()` | `0x5029f14f` |
| `NonceUsed()` | `0x1f6d5aef` |

## protocol/watcherPrecompile/WatcherPrecompile.sol

| Error | Signature |
| ------------------------- | ------------ |
| `InvalidChainSlug()` | `0xbff6b106` |
| `InvalidConnection()` | `0x63228f29` |
| `InvalidTransmitter()` | `0x58a70a0a` |
| `InvalidTimeoutRequest()` | `0x600ca372` |
| `InvalidPayloadId()` | `0xfa0b8c86` |
| `InvalidCaller()` | `0x48f5c3ed` |

## protocol/watcherPrecompile/WatcherPrecompileLimits.sol

| Error | Signature |
| ------------------------------------------------ | ------------ |
| `ActionNotSupported(address,bytes32)` | `0xa219158f` |
| `NotDeliveryHelper()` | `0x29029c67` |
| `LimitExceeded(address,bytes32,uint256,uint256)` | `0x80bb2621` |
| `AuctionClosed()` | `0x36b6b46d` |
| `AuctionAlreadyStarted()` | `0x628e3883` |
| `BidExceedsMaxFees()` | `0x4c923f3c` |
| `LowerBidAlreadyExists()` | `0xaaa1f709` |

## protocol/watcherPrecompile/WatcherPrecompileConfig.sol

| Error | Signature |
| --------------------------- | ------------ |
| `InvalidGateway()` | `0xfc9dfe85` |
| `InvalidSwitchboard()` | `0xf63c9e4d` |
| `NonceUsed()` | `0x1f6d5aef` |
| `InvalidWatcherSignature()` | `0x5029f14f` |
Loading