WormholeRelayer

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x854cb046 at 18522252
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "WormholeRelayer"

No transactions found for "WormholeRelayer"


Functions
Getter at block 21245187
getDefaultDeliveryProvider(view returns (address deliveryProvider)
0x0000000000000000000000000000000000000000
Read-only
deliveryAttempted(bytes32 deliveryHashview returns (bool attempted)
deliveryFailureBlock(bytes32 deliveryHashview returns (uint256 blockNumber)
deliverySuccessBlock(bytes32 deliveryHashview returns (uint256 blockNumber)
getRegisteredWormholeRelayerContract(uint16 chainIdview returns (bytes32)
quoteDeliveryPrice(uint16 targetChainuint256 receiverValuebytes encodedExecutionParametersaddress deliveryProviderAddressview returns (uint256 nativePriceQuotebytes encodedExecutionInfo)
quoteEVMDeliveryPrice(uint16 targetChainuint256 receiverValueuint256 gasLimitview returns (uint256 nativePriceQuoteuint256 targetChainRefundPerGasUnused)
quoteEVMDeliveryPrice(uint16 targetChainuint256 receiverValueuint256 gasLimitaddress deliveryProviderAddressview returns (uint256 nativePriceQuoteuint256 targetChainRefundPerGasUnused)
quoteNativeForChain(uint16 targetChainuint256 currentChainAmountaddress deliveryProviderAddressview returns (uint256 targetChainAmount)
State-modifying
checkAndExecuteUpgradeMigration(
deliver(bytes[] encodedVMsbytes encodedDeliveryVAAaddress relayerRefundAddressbytes deliveryOverridespayable 
forward(uint16 targetChainbytes32 targetAddressbytes payloaduint256 receiverValueuint256bytes encodedExecutionParametersuint16 refundChainbytes32 refundAddressaddress deliveryProviderAddressstruct VaaKey[] vaaKeysuint8 consistencyLevelpayable 
forwardPayloadToEvm(uint16 targetChainaddress targetAddressbytes payloaduint256 receiverValueuint256 gasLimitpayable 
forwardToEvm(uint16 targetChainaddress targetAddressbytes payloaduint256 receiverValueuint256 paymentForExtraReceiverValueuint256 gasLimituint16 refundChainaddress refundAddressaddress deliveryProviderAddressstruct VaaKey[] vaaKeysuint8 consistencyLevelpayable 
forwardVaasToEvm(uint16 targetChainaddress targetAddressbytes payloaduint256 receiverValueuint256 gasLimitstruct VaaKey[] vaaKeyspayable 
initialize(address defaultDeliveryProvider
registerWormholeRelayerContract(bytes encodedVm
resend(struct VaaKey deliveryVaaKeyuint16 targetChainuint256 newReceiverValuebytes newEncodedExecutionParametersaddress newDeliveryProviderAddresspayable returns (uint64 sequence)
resendToEvm(struct VaaKey deliveryVaaKeyuint16 targetChainuint256 newReceiverValueuint256 newGasLimitaddress newDeliveryProviderAddresspayable returns (uint64 sequence)
send(uint16 targetChainbytes32 targetAddressbytes payloaduint256 receiverValueuint256 paymentForExtraReceiverValuebytes encodedExecutionParametersuint16 refundChainbytes32 refundAddressaddress deliveryProviderAddressstruct VaaKey[] vaaKeysuint8 consistencyLevelpayable returns (uint64 sequence)
send(uint16 targetChainbytes32 targetAddressbytes payloaduint256 receiverValueuint256 paymentForExtraReceiverValuebytes encodedExecutionParametersuint16 refundChainbytes32 refundAddressaddress deliveryProviderAddressstruct MessageKey[] messageKeysuint8 consistencyLevelpayable returns (uint64 sequence)
sendPayloadToEvm(uint16 targetChainaddress targetAddressbytes payloaduint256 receiverValueuint256 gasLimitpayable returns (uint64 sequence)
sendPayloadToEvm(uint16 targetChainaddress targetAddressbytes payloaduint256 receiverValueuint256 gasLimituint16 refundChainaddress refundAddresspayable returns (uint64 sequence)
sendToEvm(uint16 targetChainaddress targetAddressbytes payloaduint256 receiverValueuint256 paymentForExtraReceiverValueuint256 gasLimituint16 refundChainaddress refundAddressaddress deliveryProviderAddressstruct VaaKey[] vaaKeysuint8 consistencyLevelpayable returns (uint64 sequence)
sendToEvm(uint16 targetChainaddress targetAddressbytes payloaduint256 receiverValueuint256 paymentForExtraReceiverValueuint256 gasLimituint16 refundChainaddress refundAddressaddress deliveryProviderAddressstruct MessageKey[] messageKeysuint8 consistencyLevelpayable returns (uint64 sequence)
sendVaasToEvm(uint16 targetChainaddress targetAddressbytes payloaduint256 receiverValueuint256 gasLimitstruct VaaKey[] vaaKeyspayable returns (uint64 sequence)
sendVaasToEvm(uint16 targetChainaddress targetAddressbytes payloaduint256 receiverValueuint256 gasLimitstruct VaaKey[] vaaKeysuint16 refundChainaddress refundAddresspayable returns (uint64 sequence)
setDefaultDeliveryProvider(bytes encodedVm
submitContractUpgrade(bytes encodedVm
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
ContractUpgraded(address indexed oldContractaddress indexed newContract
Delivery(address indexed recipientContractuint16 indexed sourceChainuint64 indexed sequencebytes32 deliveryVaaHashuint8 statusuint256 gasUseduint8 refundStatusbytes additionalStatusInfobytes overridesInfo
SendEvent(uint64 indexed sequenceuint256 deliveryQuoteuint256 paymentForExtraReceiverValue
Upgraded(address indexed implementation
Constructor
constructor(address wormhole
Fallback and receive

This contract contains no fallback and receive objects.

Errors
ChainAlreadyRegistered(uint16 chainIdbytes32 registeredWormholeRelayerContract
ContractUpgradeFailed(bytes failure
DeliveryProviderCannotReceivePayment(
DeliveryProviderDoesNotSupportMessageKeyType(uint8 keyType
DeliveryProviderDoesNotSupportTargetChain(address relayeruint16 chainId
GovernanceActionAlreadyConsumed(bytes32 hash
InsufficientRelayerFunds(uint256 msgValueuint256 minimum
InvalidDefaultDeliveryProvider(bytes32 defaultDeliveryProvider
InvalidDeliveryVaa(string reason
InvalidEmitter(bytes32 emitterbytes32 registereduint16 chainId
InvalidFork(
InvalidGovernanceChainId(uint16 parseduint16 expected
InvalidGovernanceContract(bytes32 parsedbytes32 expected
InvalidGovernanceVM(string reason
InvalidMsgValue(uint256 msgValueuint256 totalFee
InvalidOverrideGasLimit(
InvalidOverrideReceiverValue(
InvalidPayloadAction(uint8 parseduint8 expected
InvalidPayloadChainId(uint16 parseduint16 expected
InvalidPayloadId(uint8 parseduint8 expected
InvalidPayloadLength(uint256 receiveduint256 expected
InvalidPayloadModule(bytes32 parsedbytes32 expected
MessageKeysLengthDoesNotMatchMessagesLength(uint256 keysuint256 vaas
NotAnEvmAddress(bytes32 arg0
ReentrantDelivery(address msgSenderaddress lockedBy
TargetChainIsNotThisChain(uint16 targetChain
TooManyMessageKeys(uint256 numMessageKeys
UnexpectedExecutionInfoVersion(uint8 versionuint8 expectedVersion
VaaKeysDoNotMatchVaas(uint8 index
VersionMismatchOverride(uint8 instructionVersionuint8 overrideVersion