AssetForwarder

Verified contract

Active on Ethereum with 49,019 txns
Deployed by via 0x25b237c9 at 19062096
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $56,851.53
ERC-20
Value $5,348.44
ERC-20
Value $3,713.8
ERC-20
Value $382.13
ERC-20
Value $90.92
0x3bbc6e344348e42d51f422af13253fa95d6e6e12b1f01a37c5504c3f6da13421
0x2097e74f23ef297fbd5079dca95bf5df1baf53b14a979f45e0b3cc4961ab4b49
0x6a6b9ac32cd710bc5835d195728455fb1f78e97f85bfb98cee7cad1cf1d6fdd5
0x2de16a61d005bc7e9a241dd324d89323793b5a4419add7dcee15f1dbd3a88196
0xb6505f089de70a9848debeabf5d32e33ba94f5be4f7f20364668e0b422a34f7c
0xe6d67ed85ba23461b6c9a862c90fac14d02a175fbbcf8e3002b0313b07ca24b5
0xc0a31d56c2063b92e2a55aaa9a35bfe201a354db5565558173a71d9d854b30a5
0x993547b2e3bf943d993b70cc82421bf14d0002086a094f0dd16d74f08902d3a1
0x75d6b269f361afe177b847f08d79b8c4768947466f4531c17f190b970e6e9ebf
0xdba54922e1d711ae43489dd82811dbbde27fc05c90053fd0e05cd18db87bb1ad

Functions
Getter at block 21157408
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MAX_TRANSFER_SIZE(view returns (uint256)
1000000000000000000000000000000000000
MIN_GAS_THRESHHOLD(view returns (uint256)
50000
PAUSER(view returns (bytes32)
0x539440820030c4994db4e31b6b800deafd503688728f932addfe7a410515c14c
RESOURCE_SETTER(view returns (bytes32)
0x8b9e7a9f25b0aca3f51c01b8fee30790fb16f4d4deded8385ae6643d054bb078
depositNonce(view returns (uint256)
49968
gatewayContract(view returns (address)
0x86dfc31d9cb3280ee1eb1096caa9fc66299af973
isCommunityPauseEnabled(view returns (bool)
true
pauseStakeAmountMax(view returns (uint256)
3330000000000000000
pauseStakeAmountMin(view returns (uint256)
166670000000000000
paused(view returns (bool)
false
routerMiddlewareBase(view returns (bytes32)
0x992e49769687662b543a08eabb628a81a9c5a2ecc3cbdf1989f9f75ad6e04dd0
tokenMessenger(view returns (address)
0xbd3fa81b58ba92a82136038b25adec7066af3155
totalStakedAmount(view returns (uint256)
0
usdc(view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
wrappedNativeToken(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Read-only
destDetails(bytes32view returns (uint32 domainIduint256 feebool isSet)
executeRecord(bytes32view returns (bool)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
communityPause(payable 
grantRole(bytes32 roleaddress account
iDeposit(struct IAssetForwarderDepositData depositDatabytes destTokenbytes recipientpayable 
iDepositInfoUpdate(address srcTokenuint256 feeAmountuint256 depositIdbool initiatewithdrawalpayable 
iDepositMessage(struct IAssetForwarderDepositData depositDatabytes destTokenbytes recipientbytes messagepayable 
iDepositUSDC(uint256 partnerIdbytes32 destChainIdBytesbytes32 recipientuint256 amountpayable 
iReceive(string requestSenderbytes packetstringreturns (bytes)
iRelay(struct IAssetForwarderRelayData relayDatapayable 
iRelayMessage(struct IAssetForwarderRelayDataMessage relayDatapayable 
multicall(bytes[] datareturns (bytes[] results)
pause(
renounceRole(bytes32 roleaddress account
rescue(address token
revokeRole(bytes32 roleaddress account
setDestDetails(bytes32[] _destChainIdBytesstruct IAssetForwarderDestDetails[] _destDetails
toggleCommunityPause(
unpause(
update(uint256 indexaddress _gatewayContractbytes _routerMiddlewareBaseuint256 minPauseStakeAmountuint256 maxPauseStakeAmount
updateTokenMessenger(address _tokenMessenger
withdrawStakeAmount(
Events
CommunityPaused(address indexed pauseruint256 stakedAmount
DepositInfoUpdate(address srcTokenuint256 feeAmountuint256 depositIduint256 eventNoncebool initiatewithdrawaladdress depositor
FundsDeposited(uint256 partnerIduint256 amountbytes32 destChainIdBytesuint256 destAmountuint256 depositIdaddress srcTokenaddress depositorbytes recipientbytes destToken
FundsDepositedWithMessage(uint256 partnerIduint256 amountbytes32 destChainIdBytesuint256 destAmountuint256 depositIdaddress srcTokenbytes recipientaddress depositorbytes destTokenbytes message
FundsPaid(bytes32 messageHashaddress forwarderuint256 nonce
FundsPaidWithMessage(bytes32 messageHashaddress forwarderuint256 noncebool execFlagbytes execData
Paused(address account
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Unpaused(address account
iUSDCDeposited(uint256 partnerIduint256 amountbytes32 destChainIdBytesuint256 usdcNonceaddress srcTokenbytes32 recipientaddress depositor
Constructor
constructor(address _wrappedNativeTokenAddressaddress _gatewayContractaddress _usdcAddressaddress _tokenMessengerbytes _routerMiddlewareBaseuint256 _minGasThreshhold
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AmountTooLarge(
InvalidAmount(
InvalidFee(
InvalidGateway(
InvalidRefundData(
InvalidRequestSender(
MessageAlreadyExecuted(
MessageExcecutionFailedWithLowGas(