WormholeRelayer

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0xde83bf66 at 2360428
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 23057698
getDefaultDeliveryProvider(view returns (address deliveryProvider)
0x0000000000000000000000000000000000000000
Read-only
getDefaultDeliveryProviderOnChain(uint16 targetChainview returns (address deliveryProvider)
getOriginalOrDefaultDeliveryProvider(uint16 targetChainview returns (address deliveryProvideraddress deliveryProviderOnTarget)
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 
executeInstruction(EvmDeliveryInstruction evmInstructionreturns (uint8 statusuint256 gasUsedbytes targetRevertDataTruncated)
forward(uint16 targetChainbytes32 targetAddressbytes payloaduint256 receiverValueuint256 paymentForExtraReceiverValuebytes 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)
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)
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
Cancelled(uint256 gasUseduint256 availableuint256 required
ChainAlreadyRegistered(uint16 chainIdbytes32 registeredWormholeRelayerContract
ContractUpgradeFailed(bytes failure
DeliveryProviderCannotReceivePayment(
DeliveryProviderDoesNotSupportTargetChain(address relayeruint16 chainId
DeliveryProviderPaymentFailed(uint256 gasUsed
DeliveryProviderReverted(uint256 gasUsed
ForwardRequestFromWrongAddress(address msgSenderaddress deliveryTarget
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(
InvalidOverrideRefundPerGasUnused(
InvalidPayloadAction(uint8 parseduint8 expected
InvalidPayloadChainId(uint16 parseduint16 expected
InvalidPayloadId(uint8 parseduint8 expected
InvalidPayloadLength(uint256 receiveduint256 expected
InvalidPayloadModule(bytes32 parsedbytes32 expected
NoDeliveryInProgress(
NotAnEvmAddress(bytes32 arg0
ReentrantDelivery(address msgSenderaddress lockedBy
RequesterNotWormholeRelayer(
TargetChainIsNotThisChain(uint16 targetChain
UnexpectedExecutionInfoVersion(uint8 versionuint8 expectedVersion
VaaKeysDoNotMatchVaas(uint8 index
VaaKeysLengthDoesNotMatchVaasLength(uint256 keysuint256 vaas
VersionMismatchOverride(uint8 instructionVersionuint8 overrideVersion