Skip to content

Instantly share code, notes, and snippets.

@JorgeAtPaladin
Created January 30, 2024 05:08
Show Gist options
  • Save JorgeAtPaladin/cd5247cc5d2c0ab15b23e42ccf32aaf9 to your computer and use it in GitHub Desktop.
Save JorgeAtPaladin/cd5247cc5d2c0ab15b23e42ccf32aaf9 to your computer and use it in GitHub Desktop.
LayerZero V2 error codes
AddressCast_InvalidAddress() 0x6281faa2
AddressCast_InvalidSizeForAddress() 0x18456c9b
AddressSizeConfig_AddressSizeAlreadySet() 0xe4df7bef
AddressSizeConfig_InvalidAddressSize() 0x6f85e1b7
AdminAccessDenied() 0xf0d4b23e
AdminCallFailed() 0x1545a425
AxelarDVNAdapter_EidNotSupported(uint32) 0xf0951e97
AxelarDVNAdapter_InsufficientBalance(uint256,uint256) 0x576cbba3
AxelarDVNAdapter_OnlyWorkerFeeLib() 0x611136c8
AxelarDVNAdapter_OptionsUnsupported() 0x26cbb933
AxelarDVNAdapter_UntrustedPeer(string,string) 0x5cc0c62a
CCIPDVNAdapter_EidNotSupported(uint32) 0xe234d766
CCIPDVNAdapter_InvalidRouter(address) 0x4641de99
CCIPDVNAdapter_OptionsUnsupported() 0x053c215b
CCIPDVNAdapter_UntrustedPeer(uint64,bytes) 0x0b4f78c2
CrimeFound(bytes) 0x19159757
DVN_DuplicatedHash(bytes32) 0x9d6a45a6
DVN_EidNotSupported(uint32) 0xd009138a
DVN_InstructionExpired() 0x0bbaf263
DVN_InvalidDVNIdx() 0xd3d3d9bc
DVN_InvalidDVNOptions(uint256) 0x04eb6e0c
DVN_InvalidRole(bytes32) 0x94fdc372
DVN_InvalidSignatures() 0x15ecadee
DVN_InvalidTarget(address) 0x1ce0bfcd
DVN_InvalidVid(uint32) 0x2697e1c2
DVN_OnlySelf() 0xfaba723a
DVN_UnsupportedOptionType(uint8) 0x7085244b
DVNAdapter_InsufficientBalance(uint256,uint256) 0x6079581f
DVNAdapter_InvalidMessageSize() 0xf1d10e0d
DVNAdapter_MissingRecieveLib(address,uint32) 0xf25127e6
DVNAdapter_NotImplemented() 0x9c5846fd
Executor_EidNotSupported(uint32) 0xc3baa0b7
Executor_InvalidExecutorOptions(uint256) 0x990776ea
Executor_InvalidLzComposeOption() 0x8b4aa70b
Executor_InvalidLzReceiveOption() 0x4796aee1
Executor_InvalidNativeDropOption() 0xc3a1858e
Executor_NativeAmountExceedsCap(uint256,uint256) 0x0084ce02
Executor_NoOptions() 0x00575ea1
Executor_UnsupportedOptionType(uint8) 0x052e5515
Executor_ZeroLzReceiveGasProvided() 0xe5eb8f30
ImplementationCallFailed() 0x6bce18d7
InspectionFailed(bytes,bytes) 0x7b43b439
InvalidAddress() 0xe6c4247b
InvalidEndpoint(address,address) 0x87a64839
InvalidEndpointCall() 0x0fbdec0a
InvalidLocalDecimals() 0x1e9714b0
InvalidOptions(bytes) 0x9a6d49cd
InvalidOptionType(uint16) 0x3a51740d
InvalidSimulationResult(uint32,bytes) 0x572e17ee
InvalidSize(uint256,uint256) 0x3256c04c
LZ_AlreadyRegistered() 0x8aea2fe6
LZ_ComposeExists() 0x15082194
LZ_ComposeNotFound(bytes32,bytes32) 0x35ca595f
LZ_DefaultReceiveLibUnavailable() 0x78e84d06
LZ_DefaultSendLibUnavailable() 0x6c1ccdb5
LZ_InsufficientFee(uint256,uint256,uint256,uint256) 0x4f3ec0d3
LZ_InvalidAmount(uint256,uint256) 0xa4dba779
LZ_InvalidArgument() 0x10647d0b
LZ_InvalidExpiry() 0x05df9f22
LZ_InvalidNonce(uint64) 0xc09b6350
LZ_InvalidPayloadHash() 0x09beffb6
LZ_InvalidReceiveLibrary() 0x4fa6ecac
LZ_LzTokenUnavailable() 0x5af6d2aa
LZ_MessageLib_CannotWithdrawAltToken() 0xe695d044
LZ_MessageLib_InsufficientMsgValue() 0x645f0f4f
LZ_MessageLib_InvalidAmount(uint256,uint256) 0x34084fb8
LZ_MessageLib_InvalidExecutor() 0x20e9d05a
LZ_MessageLib_InvalidMessageSize(uint256,uint256) 0xc667af3e
LZ_MessageLib_InvalidPath() 0xefa83a13
LZ_MessageLib_InvalidSender() 0xc1c149b6
LZ_MessageLib_LzTokenPaymentAddressMustBeSender() 0x5dc90ccd
LZ_MessageLib_NotTreasury() 0x885762a7
LZ_MessageLib_OnlyEndpoint() 0x467409c3
LZ_MessageLib_OnlyExecutor() 0xb7386d32
LZ_MessageLib_TransferFailed() 0xde5999a0
LZ_MessageLib_ZeroMessageSize() 0x49cfac43
LZ_NotImplemented() 0x2657b6c3
LZ_OnlyAltToken() 0x9a317a52
LZ_OnlyNonDefaultLib() 0x3c075f75
LZ_OnlyReceiveLib() 0x84ead636
LZ_OnlyRegisteredLib() 0x378b1de6
LZ_OnlyRegisteredOrDefaultLib() 0xa4ff2ec3
LZ_OnlySendLib() 0x7a01ede2
LZ_PathNotInitializable() 0x751cb20f
LZ_PathNotVerifiable() 0x0177e1ca
LZ_PayloadHashNotFound(bytes32,bytes32) 0x7182306f
LZ_PriceFeed_InsufficientFee(uint256,uint256) 0x659cceb7
LZ_PriceFeed_OnlyPriceUpdater() 0x320ae529
LZ_PriceFeed_UnknownL2Eid(uint32) 0xea253945
LZ_SameValue() 0xd0ecb66b
LZ_SendReentrancy() 0xee120b09
LZ_Treasury_LzTokenNotEnabled() 0x1cf849b7
LZ_TreasuryFeeHandler_InvalidAmount(uint256,uint256) 0x901cc980
LZ_TreasuryFeeHandler_OnlyOnSending() 0xbae51fef
LZ_TreasuryFeeHandler_OnlySendLibrary() 0xc857f60c
LZ_ULN_AtLeastOneDVN() 0xce2c3751
LZ_ULN_InvalidConfigType(uint32) 0xba97c1fa
LZ_ULN_InvalidConfigType(uint256) 0x0c509b5b
LZ_ULN_InvalidConfirmations() 0x503667ae
LZ_ULN_InvalidEid() 0x42d2c97e
LZ_ULN_InvalidLegacyType1Option() 0x0dc652a8
LZ_ULN_InvalidLegacyType2Option() 0xc0927c56
LZ_ULN_InvalidOptionalDVNCount() 0x42211366
LZ_ULN_InvalidOptionalDVNThreshold() 0x38682fa9
LZ_ULN_InvalidPacketHeader() 0xc9bf37b7
LZ_ULN_InvalidPacketVersion() 0x3a9ae7b9
LZ_ULN_InvalidRequiredDVNCount() 0x83aa17da
LZ_ULN_InvalidWorkerId(uint8) 0x6780cfaf
LZ_ULN_InvalidWorkerOptions(uint256) 0x6592671c
LZ_ULN_Unsorted() 0x447516e1
LZ_ULN_UnsupportedEid(uint32) 0xf0c10d04
LZ_ULN_UnsupportedOptionType(uint16) 0x41705130
LZ_ULN_Verifying() 0x4c3118d4
LZ_Unauthorized() 0xc4c52593
LZ_UnsupportedEid() 0x391daaa4
LZ_UnsupportedInterface() 0xeb64f35d
LZ_ZeroLzTokenFee() 0x17751237
LzExecutor_Executed() 0x3fd387de
LzExecutor_ReceiveLibViewNotSet() 0x1bbb68a8
LzExecutor_Verifying() 0x0dea8466
LzTokenIsAddressZero() 0x54c1781b
LzTokenUnavailable() 0x5373352a
MultiSig_OnlySigner() 0x067f63e5
MultiSig_QuorumIsZero() 0x5f86e177
MultiSig_SignersSizeIsLessThanQuorum(uint64,uint64) 0xf1c582ae
MultiSig_StateAlreadySet(address,bool) 0x58c8d2a0
MultiSig_UnorderedSigners() 0x0bf526fe
NoPeer() 0xdaffed9a
NoPeer(uint32) 0xf6ff4fb7
NotApprovedByGateway() 0x500c44b4
NotEnoughNative(uint256) 0x9f704120
OnlyArbitrum() 0x7f57789c
OnlyEndpoint() 0x7eb966c8
OnlyEndpoint(address) 0x91ac5e4f
OnlyOffChain() 0x9cbfe066
OnlyOptimism() 0xabc18390
OnlyPeer(uint32,bytes32) 0xc26bebcc
OnlySelf() 0x14d4a4e8
OnlySendLibrary() 0x94cfb9e7
OnlyWhitelistCaller() 0x70b216ec
PacketOversize(uint256,uint256) 0x9db08605
PacketUnsorted() 0x50823c85
SimulationFailed(bytes) 0x614cbd8a
SimulationResult(bytes) 0x8351eea7
SimulationResultNotFound(uint32) 0x01992f2a
SlippageExceeded(uint256,uint256) 0x71c4efed
ToIsAddressZero() 0x3d3496e1
Transfer_NativeFailed(address,uint256) 0x465bc834
Transfer_ToAddressIsZero() 0x6b7a9310
TransferFailed() 0x90b8ec18
Unauthorized() 0x82b42900
UntrustedPeer(address) 0x624ac803
Worker_NotAllowed() 0x4ab5ebcd
Worker_OnlyMessageLib() 0x5ee08b97
Worker_RoleRenouncingDisabled() 0xdec9f031
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment