AssetForwarder

Verified contract

Active on Base with 354,280 txns
Deployed by via 0x6e9a93fc at 8831837
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $0.6
ERC-20
Value $23,399.48
ERC-20
Value $8,493.36
ERC-20
Value $0.12
ERC-20
Value $0.11
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
0x34c8662a2d01cb9f5ac938dfc7483b56e0a1ff20d7c8f6d15f8b9b227a68a532
0x6735a9a6b1f22bc2f6f30c6d391addebc51de92929deb6b42111f933731ae305
0x88e935f3f6e814202f16b1fe1cb8378d5f4cbf25d4c8d77a3b16fd3eb736febd
0x34ea9eecdd24f9c8a3f345e9bdd00d24515e100e7b96f20df6da39bfe8ae6ace
0x1d6a8817cfb906f2cd7dc03e3b2481376d15425c3efd1eda3832da5d1bc20c5d
0x3709a975da0542c7297b6091e406bbe93f990602db39a5df65c34e942f5200bb
0x64308473091b7a37e7d896399fa0bb3b2f3899092f0ed0b64f0e7a6b87502214
0x59fba13aae7f09854f413460e702d2d096c0ff933a0b2267b9bbc59ed06a931f
0x457cfd78fcc1336693da7ed0ae620b9720ce79421d08e52caee08b5fd00e2a25
0x74ffd8b6aff72b7f498d218ff723c5c4320f26f8c034af2c3743b5ca11d0ca09

Functions
Getter at block 22728026
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)
373947
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)
0x1682ae6375c4e4a97e4b583bc394c861a46d8962
totalStakedAmount(view returns (uint256)
0
usdc(view returns (address)
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
wrappedNativeToken(view returns (address)
0x4200000000000000000000000000000000000006
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(