Router

Verified contract

Active on Ethereum with 16,953 txns
Deployed by via 0x49922d25 at 18622113
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
ERC-20
Value $0
ERC-20
Value $0
0xeba6ea56dd495028fcaf194b7426b9fe11853c064b6a972a37f24028f28b26fb
0xefa830fac8655f248ee54ae0eeac163b557753c499c85ad0cb2a10b57bb77550
0xeba1de0182f9ff10d53ecf1e338984496e62665f0572e4f43cebe26b36fbb06e
0xbc4d5eb84ef76e84000130ac5204fac936b587999445337bbf3251b97dfcd852
0x1b325fa6f8e1290d87b4ede0e64aa4ddf4fa8227b4b2da393406f1522c6de082
0xd260ba49b84db1c6f743a6143b4259be2fe3eb11e34cbc96fe58e26ce8c9cb7d
0xe2374dc1f3ce66fdf6cd30a48133edecef05da43d7cd01d124b0e353f7f7ba95
0xfb05b994e0141102826f2c8194254eadeb021c92b2590d2e6608e28ea0f170f1
0xdf3df0c16f16b61f674f87e359de535acd8c9a9ada84e76c4a9e42a022144699
0xe457e1e48ffec6b4cbcc12213b56da05496785abe3523e723a9e9a50c6438e08

Functions
Getter at block 21163787
MAX_RET_BYTES(view returns (uint16)
132
getArmProxy(view returns (address)
0x411de17f12d1a34ecc7f45f49844626267c75e81
 
getOffRamps(view returns (struct RouterOffRamp[])
getWrappedNative(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
owner(view returns (address)
0x44835bbba9d40deda9b64858095ecfb2693c9449
typeAndVersion(view returns (string)
Router 1.2.0
Read-only
getFee(uint64 destinationChainSelectorstruct ClientEVM2AnyMessage messageview returns (uint256 fee)
getOnRamp(uint64 destChainSelectorview returns (address)
getSupportedTokens(uint64 chainSelectorview returns (address[])
isChainSupported(uint64 chainSelectorview returns (bool)
isOffRamp(uint64 sourceChainSelectoraddress offRampview returns (bool)
State-modifying
acceptOwnership(
applyRampUpdates(struct RouterOnRamp[] onRampUpdatesstruct RouterOffRamp[] offRampRemovesstruct RouterOffRamp[] offRampAdds
ccipSend(uint64 destinationChainSelectorstruct ClientEVM2AnyMessage messagepayable returns (bytes32)
recoverTokens(address tokenAddressaddress touint256 amount
routeMessage(struct ClientAny2EVMMessage messageuint16 gasForCallExactCheckuint256 gasLimitaddress receiverreturns (bool successbytes retDatauint256 gasUsed)
setWrappedNative(address wrappedNative
transferOwnership(address to
Events
MessageExecuted(bytes32 messageIduint64 sourceChainSelectoraddress offRampbytes32 calldataHash
OffRampAdded(uint64 indexed sourceChainSelectoraddress offRamp
OffRampRemoved(uint64 indexed sourceChainSelectoraddress offRamp
OnRampSet(uint64 indexed destChainSelectoraddress onRamp
OwnershipTransferRequested(address indexed fromaddress indexed to
OwnershipTransferred(address indexed fromaddress indexed to
Constructor
constructor(address wrappedNativeaddress armProxy
Fallback and receive

This contract contains no fallback and receive objects.

Errors
BadARMSignal(
FailedToSendValue(
InsufficientFeeTokenAmount(
InvalidMsgValue(
InvalidRecipientAddress(address to
OffRampMismatch(uint64 chainSelectoraddress offRamp
OnlyOffRamp(
UnsupportedDestinationChain(uint64 destChainSelector