WormholeRelayer
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
13
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "WormholeRelayer"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "WormholeRelayer"
ABI
ABI objects
Getter at block 21245187
getDefaultDeliveryProvider() view returns (address deliveryProvider)
0x0000000000000000000000000000000000000000
Read-only
deliveryAttempted(bytes32 deliveryHash) view returns (bool attempted)
deliveryFailureBlock(bytes32 deliveryHash) view returns (uint256 blockNumber)
deliverySuccessBlock(bytes32 deliveryHash) view returns (uint256 blockNumber)
getRegisteredWormholeRelayerContract(uint16 chainId) view returns (bytes32)
quoteDeliveryPrice(uint16 targetChain, uint256 receiverValue, bytes encodedExecutionParameters, address deliveryProviderAddress) view returns (uint256 nativePriceQuote, bytes encodedExecutionInfo)
quoteEVMDeliveryPrice(uint16 targetChain, uint256 receiverValue, uint256 gasLimit) view returns (uint256 nativePriceQuote, uint256 targetChainRefundPerGasUnused)
quoteEVMDeliveryPrice(uint16 targetChain, uint256 receiverValue, uint256 gasLimit, address deliveryProviderAddress) view returns (uint256 nativePriceQuote, uint256 targetChainRefundPerGasUnused)
quoteNativeForChain(uint16 targetChain, uint256 currentChainAmount, address deliveryProviderAddress) view returns (uint256 targetChainAmount)
State-modifying
Events checkAndExecuteUpgradeMigration()
deliver(bytes[] encodedVMs, bytes encodedDeliveryVAA, address relayerRefundAddress, bytes deliveryOverrides) payable
forward(uint16 targetChain, bytes32 targetAddress, bytes payload, uint256 receiverValue, uint256, bytes encodedExecutionParameters, uint16 refundChain, bytes32 refundAddress, address deliveryProviderAddress, struct VaaKey[] vaaKeys, uint8 consistencyLevel) payable
forwardPayloadToEvm(uint16 targetChain, address targetAddress, bytes payload, uint256 receiverValue, uint256 gasLimit) payable
forwardToEvm(uint16 targetChain, address targetAddress, bytes payload, uint256 receiverValue, uint256 paymentForExtraReceiverValue, uint256 gasLimit, uint16 refundChain, address refundAddress, address deliveryProviderAddress, struct VaaKey[] vaaKeys, uint8 consistencyLevel) payable
forwardVaasToEvm(uint16 targetChain, address targetAddress, bytes payload, uint256 receiverValue, uint256 gasLimit, struct VaaKey[] vaaKeys) payable
initialize(address defaultDeliveryProvider)
registerWormholeRelayerContract(bytes encodedVm)
resend(struct VaaKey deliveryVaaKey, uint16 targetChain, uint256 newReceiverValue, bytes newEncodedExecutionParameters, address newDeliveryProviderAddress) payable returns (uint64 sequence)
resendToEvm(struct VaaKey deliveryVaaKey, uint16 targetChain, uint256 newReceiverValue, uint256 newGasLimit, address newDeliveryProviderAddress) payable returns (uint64 sequence)
send(uint16 targetChain, bytes32 targetAddress, bytes payload, uint256 receiverValue, uint256 paymentForExtraReceiverValue, bytes encodedExecutionParameters, uint16 refundChain, bytes32 refundAddress, address deliveryProviderAddress, struct VaaKey[] vaaKeys, uint8 consistencyLevel) payable returns (uint64 sequence)
send(uint16 targetChain, bytes32 targetAddress, bytes payload, uint256 receiverValue, uint256 paymentForExtraReceiverValue, bytes encodedExecutionParameters, uint16 refundChain, bytes32 refundAddress, address deliveryProviderAddress, struct MessageKey[] messageKeys, uint8 consistencyLevel) payable returns (uint64 sequence)
sendPayloadToEvm(uint16 targetChain, address targetAddress, bytes payload, uint256 receiverValue, uint256 gasLimit) payable returns (uint64 sequence)
sendPayloadToEvm(uint16 targetChain, address targetAddress, bytes payload, uint256 receiverValue, uint256 gasLimit, uint16 refundChain, address refundAddress) payable returns (uint64 sequence)
sendToEvm(uint16 targetChain, address targetAddress, bytes payload, uint256 receiverValue, uint256 paymentForExtraReceiverValue, uint256 gasLimit, uint16 refundChain, address refundAddress, address deliveryProviderAddress, struct VaaKey[] vaaKeys, uint8 consistencyLevel) payable returns (uint64 sequence)
sendToEvm(uint16 targetChain, address targetAddress, bytes payload, uint256 receiverValue, uint256 paymentForExtraReceiverValue, uint256 gasLimit, uint16 refundChain, address refundAddress, address deliveryProviderAddress, struct MessageKey[] messageKeys, uint8 consistencyLevel) payable returns (uint64 sequence)
sendVaasToEvm(uint16 targetChain, address targetAddress, bytes payload, uint256 receiverValue, uint256 gasLimit, struct VaaKey[] vaaKeys) payable returns (uint64 sequence)
sendVaasToEvm(uint16 targetChain, address targetAddress, bytes payload, uint256 receiverValue, uint256 gasLimit, struct VaaKey[] vaaKeys, uint16 refundChain, address refundAddress) payable returns (uint64 sequence)
setDefaultDeliveryProvider(bytes encodedVm)
submitContractUpgrade(bytes encodedVm)
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
ContractUpgraded(address indexed oldContract, address indexed newContract)
Delivery(address indexed recipientContract, uint16 indexed sourceChain, uint64 indexed sequence, bytes32 deliveryVaaHash, uint8 status, uint256 gasUsed, uint8 refundStatus, bytes additionalStatusInfo, bytes overridesInfo)
SendEvent(uint64 indexed sequence, uint256 deliveryQuote, uint256 paymentForExtraReceiverValue)
Upgraded(address indexed implementation)
constructor(address wormhole)
This contract contains no fallback and receive objects.
ChainAlreadyRegistered(uint16 chainId, bytes32 registeredWormholeRelayerContract)
ContractUpgradeFailed(bytes failure)
DeliveryProviderCannotReceivePayment()
DeliveryProviderDoesNotSupportMessageKeyType(uint8 keyType)
DeliveryProviderDoesNotSupportTargetChain(address relayer, uint16 chainId)
GovernanceActionAlreadyConsumed(bytes32 hash)
InsufficientRelayerFunds(uint256 msgValue, uint256 minimum)
InvalidDefaultDeliveryProvider(bytes32 defaultDeliveryProvider)
InvalidDeliveryVaa(string reason)
InvalidEmitter(bytes32 emitter, bytes32 registered, uint16 chainId)
InvalidFork()
InvalidGovernanceChainId(uint16 parsed, uint16 expected)
InvalidGovernanceContract(bytes32 parsed, bytes32 expected)
InvalidGovernanceVM(string reason)
InvalidMsgValue(uint256 msgValue, uint256 totalFee)
InvalidOverrideGasLimit()
InvalidOverrideReceiverValue()
InvalidPayloadAction(uint8 parsed, uint8 expected)
InvalidPayloadChainId(uint16 parsed, uint16 expected)
InvalidPayloadId(uint8 parsed, uint8 expected)
InvalidPayloadLength(uint256 received, uint256 expected)
InvalidPayloadModule(bytes32 parsed, bytes32 expected)
MessageKeysLengthDoesNotMatchMessagesLength(uint256 keys, uint256 vaas)
NotAnEvmAddress(bytes32 arg0)
ReentrantDelivery(address msgSender, address lockedBy)
TargetChainIsNotThisChain(uint16 targetChain)
TooManyMessageKeys(uint256 numMessageKeys)
UnexpectedExecutionInfoVersion(uint8 version, uint8 expectedVersion)
VaaKeysDoNotMatchVaas(uint8 index)
VersionMismatchOverride(uint8 instructionVersion, uint8 overrideVersion)