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
239 changes: 119 additions & 120 deletions Errors.md
Original file line number Diff line number Diff line change
@@ -1,202 +1,201 @@
# Custom Error Codes


## base/PlugBase.sol

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

## interfaces/IWatcherPrecompile.sol

| Error | Signature |
|-------|-----------|
| `InvalidChainSlug()` | `0xbff6b106` |
| `InvalidConnection()` | `0x63228f29` |
| `InvalidTransmitter()` | `0x58a70a0a` |
| `InvalidTimeoutRequest()` | `0x600ca372` |
| `InvalidPayloadId()` | `0xfa0b8c86` |
| `InvalidCaller()` | `0x48f5c3ed` |
| `InvalidGateway()` | `0xfc9dfe85` |
| `InvalidSwitchboard()` | `0xf63c9e4d` |
| 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` |
| `RequestCancelled()` | `0xe3cf2258` |
| `AlreadyStarted()` | `0x1fbde445` |
| `InvalidLevelNumber()` | `0x5022f14b` |

## interfaces/IWatcherPrecompileLimits.sol

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

## protocol/AddressResolver.sol

| Error | Signature |
|-------|-----------|
| Error | Signature |
| ---------------------------- | ------------ |
| `InvalidAppGateway(address)` | `0x0e66940d` |

## protocol/AsyncPromise.sol

| Error | Signature |
|-------|-----------|
| `PromiseAlreadyResolved()` | `0x56b63537` |
| Error | Signature |
| ------------------------------- | ------------ |
| `PromiseAlreadyResolved()` | `0x56b63537` |
| `OnlyForwarderOrLocalInvoker()` | `0xa9fb0b28` |
| `PromiseAlreadySetUp()` | `0x927c53d5` |
| `PromiseRevertFailed()` | `0x0175b9de` |
| `PromiseAlreadySetUp()` | `0x927c53d5` |
| `PromiseRevertFailed()` | `0x0175b9de` |

## protocol/Forwarder.sol

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

## protocol/payload-delivery/AuctionManager.sol

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

## protocol/payload-delivery/ContractFactoryPlug.sol

| Error | Signature |
|-------|-----------|
| `DeploymentFailed()` | `0x30116425` |
| `ExecutionFailed()` | `0xacfdb444` |
| Error | Signature |
| ------------------------- | ------------ |
| `DeploymentFailed()` | `0x30116425` |
| `ExecutionFailed()` | `0xacfdb444` |
| `information(bool,bytes)` | `0x1a5c6d63` |

## protocol/payload-delivery/FeesManager.sol

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

## protocol/payload-delivery/FeesPlug.sol

| Error | Signature |
|-------|-----------|
| `FeesAlreadyPaid()` | `0xd3b1ad69` |
| Error | Signature |
| ----------------------------------- | ------------ |
| `FeesAlreadyPaid()` | `0xd3b1ad69` |
| `InsufficientTokenBalance(address)` | `0x642faafa` |
| `InvalidDepositAmount()` | `0xfe9ba5cd` |
| `TokenNotWhitelisted(address)` | `0xea3bff2e` |
| `InvalidDepositAmount()` | `0xfe9ba5cd` |
| `TokenNotWhitelisted(address)` | `0xea3bff2e` |

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

| Error | Signature |
|-------|-----------|
| Error | Signature |
| ----------------------- | ------------ |
| `AllPayloadsExecuted()` | `0x6bc43bfe` |
| `NotFromForwarder()` | `0xe83aa6bd` |
| `CallFailed(bytes32)` | `0xe22e3683` |
| `PayloadTooLarge()` | `0x492f620d` |
| `OnlyAppGateway()` | `0xfec944ea` |
| `WinningBidExists()` | `0xe8733654` |
| `InsufficientFees()` | `0x8d53e553` |
| `ReadOnlyRequests()` | `0x5f16b0e6` |
| `NotFromForwarder()` | `0xe83aa6bd` |
| `CallFailed(bytes32)` | `0xe22e3683` |
| `PayloadTooLarge()` | `0x492f620d` |
| `OnlyAppGateway()` | `0xfec944ea` |
| `WinningBidExists()` | `0xe8733654` |
| `InsufficientFees()` | `0x8d53e553` |
| `ReadOnlyRequests()` | `0x5f16b0e6` |

## protocol/socket/Socket.sol

| Error | Signature |
|-------|-----------|
| Error | Signature |
| ----------------------------------------- | ------------ |
| `PayloadAlreadyExecuted(ExecutionStatus)` | `0xf4c54edd` |
| `VerificationFailed()` | `0x439cc0cd` |
| `LowGasLimit()` | `0xd38edae0` |
| `InvalidSlug()` | `0x290a8315` |
| `DeadlinePassed()` | `0x70f65caa` |
| `VerificationFailed()` | `0x439cc0cd` |
| `LowGasLimit()` | `0xd38edae0` |
| `InvalidSlug()` | `0x290a8315` |
| `DeadlinePassed()` | `0x70f65caa` |

## protocol/socket/SocketConfig.sol

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

## protocol/socket/SocketUtils.sol

| Error | Signature |
|-------|-----------|
| Error | Signature |
| ---------------------- | ------------ |
| `InvalidTransmitter()` | `0x58a70a0a` |

## protocol/socket/switchboard/FastSwitchboard.sol

| Error | Signature |
|-------|-----------|
| Error | Signature |
| ------------------- | ------------ |
| `AlreadyAttested()` | `0x35d90805` |
| `WatcherNotFound()` | `0xa278e4ad` |

## protocol/socket/switchboard/SwitchboardBase.sol

| Error | Signature |
|-------|-----------|
| Error | Signature |
| ---------------- | ------------ |
| `InvalidNonce()` | `0x756688fe` |

## protocol/utils/AccessControl.sol

| Error | Signature |
|-------|-----------|
| Error | Signature |
| ------------------- | ------------ |
| `NoPermit(bytes32)` | `0x962f6333` |

## protocol/utils/AddressResolverUtil.sol

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

## protocol/utils/common/Errors.sol

| Error | Signature |
|-------|-----------|
| `NotAuthorized()` | `0xea8e4eb5` |
| `NotBridge()` | `0x7fea9dc5` |
| `NotSocket()` | `0xc59f8f7c` |
| `ConnectorUnavailable()` | `0xb1efb84a` |
| `InvalidTokenContract()` | `0x29bdfb34` |
| `ZeroAddressReceiver()` | `0x96bbcf1e` |
| `ZeroAddress()` | `0xd92e233d` |
| `ZeroAmount()` | `0x1f2a2005` |
| `InsufficientFunds()` | `0x356680b7` |
| `InvalidSigner()` | `0x815e1d64` |
| `InvalidFunction()` | `0xdb2079c3` |
| `TimeoutDelayTooLarge()` | `0xc10bfe64` |
| `TimeoutAlreadyResolved()` | `0x7dc8be06` |
| Error | Signature |
| ---------------------------- | ------------ |
| `NotAuthorized()` | `0xea8e4eb5` |
| `NotBridge()` | `0x7fea9dc5` |
| `NotSocket()` | `0xc59f8f7c` |
| `ConnectorUnavailable()` | `0xb1efb84a` |
| `InvalidTokenContract()` | `0x29bdfb34` |
| `ZeroAddressReceiver()` | `0x96bbcf1e` |
| `ZeroAddress()` | `0xd92e233d` |
| `ZeroAmount()` | `0x1f2a2005` |
| `InsufficientFunds()` | `0x356680b7` |
| `InvalidSigner()` | `0x815e1d64` |
| `InvalidFunction()` | `0xdb2079c3` |
| `TimeoutDelayTooLarge()` | `0xc10bfe64` |
| `TimeoutAlreadyResolved()` | `0x7dc8be06` |
| `ResolvingTimeoutTooEarly()` | `0x28fd4c50` |
| `LimitReached()` | `0x3dd19101` |
| `FeesAlreadyPaid()` | `0xd3b1ad69` |
| `NotAuctionManager()` | `0x87944c26` |
| `CallFailed()` | `0x3204506f` |
| `PlugDisconnected()` | `0xe741bafb` |
| `InvalidAppGateway()` | `0x82ded261` |
| `AppGatewayAlreadyCalled()` | `0xb224683f` |
| `InvalidInboxCaller()` | `0x4f1aa61e` |
| `PromisesNotResolved()` | `0xb91dbe7d` |
| `InvalidPromise()` | `0x45f2d176` |
| `InvalidIndex()` | `0x63df8171` |
| `InvalidTransmitter()` | `0x58a70a0a` |
| `FeesNotSet()` | `0x2a831034` |
| `InvalidTokenAddress()` | `0x1eb00b06` |
| `InvalidWatcherSignature()` | `0x5029f14f` |
| `NonceUsed()` | `0x1f6d5aef` |
| `AuctionClosed()` | `0x36b6b46d` |
| `AuctionAlreadyStarted()` | `0x628e3883` |
| `BidExceedsMaxFees()` | `0x4c923f3c` |
| `LowerBidAlreadyExists()` | `0xaaa1f709` |
| `LimitReached()` | `0x3dd19101` |
| `FeesAlreadyPaid()` | `0xd3b1ad69` |
| `NotAuctionManager()` | `0x87944c26` |
| `CallFailed()` | `0x3204506f` |
| `PlugDisconnected()` | `0xe741bafb` |
| `InvalidAppGateway()` | `0x82ded261` |
| `AppGatewayAlreadyCalled()` | `0xb224683f` |
| `InvalidInboxCaller()` | `0x4f1aa61e` |
| `PromisesNotResolved()` | `0xb91dbe7d` |
| `InvalidPromise()` | `0x45f2d176` |
| `InvalidIndex()` | `0x63df8171` |
| `InvalidTransmitter()` | `0x58a70a0a` |
| `FeesNotSet()` | `0x2a831034` |
| `InvalidTokenAddress()` | `0x1eb00b06` |
| `InvalidWatcherSignature()` | `0x5029f14f` |
| `NonceUsed()` | `0x1f6d5aef` |
| `AuctionClosed()` | `0x36b6b46d` |
| `AuctionAlreadyStarted()` | `0x628e3883` |
| `BidExceedsMaxFees()` | `0x4c923f3c` |
| `LowerBidAlreadyExists()` | `0xaaa1f709` |

## protocol/watcherPrecompile/WatcherPrecompileConfig.sol

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