CCIP

Verified contract

Active on Base with 187 txns
Deployed by via 0x269331ab at 11451950
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 2 additional slots
Native
Value $0.89
ERC-20
Value $606.44
ERC-20
Value $0.41
ERC-20
Value $0.05
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x19bc6cd4929dfe5316ddda70e47c0e3d045352d2429d75a3a24b2cce957f0d93
0x4929a8be6fcb2c08febaae846ad2740775de8008a2d62872bf455ab2cc32a268
0x5261557ec9f18402e3dd3e4106839db30d050048d0101f2962d99eb079830fad
0x994cdbc50ecb1cf8155231b7ce3d9e9bd634e2e4e5ed922370888a6222205568
0x9512490a251a4b7a20cc50178520bdbc26b2b9dedf1cab3de67ce630bbe35efa
0xe1cbffa5b629df0352e63d5835cbff21d944e91d3b7148e6977e59b054adf57f
0x7f560a65523caba036190c50893fe8679754a6a3ff8df0298dead97ec302a88c
0x2a2c1ace06a9b3aa1f044bdcbef3e01b4c90458b1d4592d893cc82e662461870
0x41b61f3b903076aad8413ecf110cbf620807ba2922ca8df5dac394acf3177f50
0x3bb4895651685c8eb16a33eb2ee880c619b3f4070ec8a495dc06f1b87e294c89

Functions
Getter at block 22953486
feeBps(view returns (uint256)
1000
feeReceiver(view returns (address)
0x415eec63c95e944d544b3088bc682b759edb8548
 
getLastReceivedMessageDetails(view returns (bytes32 messageIdstring textaddress tokenAddressuint256 tokenAmount)
getRouter(view returns (address)
0x881e3a65b4d4a04dd529061dd0071cf975f58bcd
owner(view returns (address)
0x415eec63c95e944d544b3088bc682b759edb8548
swapFee(view returns (uint256)
500
usdc(view returns (address)
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
v2Router(view returns (address)
0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24
v3Router(view returns (address)
0x2626664c2603336e57b271c5c0b26f421741e481
weth(view returns (address)
0x4200000000000000000000000000000000000006
Read-only
allowlistedDestinationChains(uint64view returns (bool)
allowlistedSenders(addressview returns (bool)
allowlistedSourceChains(uint64view returns (bool)
calculateFeeGas(uint64 _destinationChainSelectoraddress _receiveraddress _tokenuint256 _amountuint256 _gasLimitReceiverbool _payInLINKstruct CCIPReceiverSwapData _receiverSwapDataview returns (uint256 fees)
failedMessageByMessageId(bytes32view returns (address useruint256 index)
failedMessagesUsers(addressuint256view returns (address tokenaddress receiveruint256 amountbool isRedeemedbytes32 messageId)
getFailedMessageByMessageId(bytes32 _messageIdview returns (struct CCIPFailedMessagesUsers)
getFailedMessages(uint256 offsetuint256 limitview returns (struct CCIPFailedMessage[])
getFailedMessagesUser(address _useruint256 _offsetuint256 _limitview returns (struct CCIPFailedMessagesUsers[])
getLengthFailedMessagesUser(address _userview returns (uint256)
s_messageContents(bytes32 messageIdview returns (bytes32 messageIduint64 sourceChainSelectorbytes senderbytes data)
supportsInterface(bytes4 interfaceIdpure returns (bool)
State-modifying
acceptOwnership(
allowlistDestinationChain(uint64 _destinationChainSelectorbool allowed
allowlistSender(address _senderbool allowed
allowlistSourceChain(uint64 _sourceChainSelectorbool allowed
ccipReceive(struct ClientAny2EVMMessage any2EvmMessage
changeFeeAndAddress(uint256 _feeaddress _feeReceiver
changeRouters(address _v2Routeraddress _v3Router
processMessage(struct ClientAny2EVMMessage any2EvmMessage
recoverFailedTransfer(address tokenReceiveruint256 index
retryFailedMessage(bytes32 messageIdaddress tokenReceiveruint256 index
sendMessagePayFirstStep(uint64 _destinationChainSelectoraddress _receiverCCIPInOtherChainuint256 _gasLimitReceiverbool _isLinkOrNativestruct CCIPInitialSwapData _initialSwapDatastruct CCIPReceiverSwapData _receiverSwapDatapayable returns (bytes32 messageId)
sendMessagePayLINK(uint64 _destinationChainSelectoraddress _receiverstring _textaddress _tokenuint256 _amountuint256 _gasLimitReceiverreturns (bytes32 messageId)
sendMessagePayNative(uint64 _destinationChainSelectoraddress _receiverstring _textaddress _tokenuint256 _amountuint256 _gasLimitReceiverreturns (bytes32 messageId)
transferOwnership(address to
withdraw(address _beneficiary
withdrawToken(address _beneficiaryaddress _token
Events
MessageFailed(bytes32 indexed messageIdbytes reason
MessageReceived(bytes32 indexed messageIduint64 indexed sourceChainSelectoraddress senderstring textaddress tokenuint256 tokenAmount
MessageRecovered(bytes32 indexed messageId
MessageSent(bytes32 indexed messageIduint64 indexed destinationChainSelectoraddress receiverstring textaddress tokenuint256 tokenAmountaddress feeTokenuint256 fees
OwnershipTransferRequested(address indexed fromaddress indexed to
OwnershipTransferred(address indexed fromaddress indexed to
Constructor
constructor(address _routeraddress _linkaddress _usdcaddress _v3Routeraddress _v2Routeruint256 _swapFeeaddress _feeReceiver
Fallback and receive
receive(
Errors
DestinationChainNotAllowlisted(uint64 destinationChainSelector
ErrorCase(
FailedToWithdrawEth(address owneraddress targetuint256 value
InvalidReceiverAddress(
InvalidRouter(address router
MessageNotFailed(bytes32 messageId
NotEnoughBalance(uint256 currentBalanceuint256 calculatedFees
NothingToWithdraw(
OnlySelf(
SenderNotAllowed(address sender
SourceChainNotAllowed(uint64 sourceChainSelector