TokenBridgeRelayer

Verified contract

Active on Base with 34,321 txns
Deployed by via 0x3d5ec3cb at 2661414
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 14 additional slots
Native
Value $0.92
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0xeca3d4a724b460b0ce8c94c64003319565812b8aeed31d3aea94d9e14410c81f
0xf2c25eb2938844b9cc28cdb3a02fa39bb0f7b77be9eebc1d01ac829a98fcbad3
0x1c6665437a970b3d6ab7118301dcd768181f6e0ccf63af08556700b8b84a45f4
0x2eaa10daf6a32817c66224605152bc3dcb4e7b4998bb7dc83c33e4158ca8a3d3
0xcb431445b025b91c47b746fc0a111f9990e5276b69d6218b77f5a29e4b09702f
0x46074f7cb300049883af54bd3bc5bfd2f61c4df6757b5b761fbab37579d70730
0x7e374761505c5121bd612c8fb3e3ec727668ffb307b402ed4c0e97cb838683ee
0xb672ef5a8fee31b6fb751e8d73de961ff1ecf2117d4920084ba3675ff415f3fe
0x7da7bbf18ce1eb554c39bf4147332d2a20901560f6ab607ce92234f9f6d49678
0x8b6f06dedf185180e41f7f9c75c274d6e4c4bbe3dca035879ca04b1dea017f67

Functions
Getter at block 22748574
VERSION(view returns (string)
0.2.0
WETH(view returns (address)
0x71b35ecb35104773537f849fbc353f81303a5860
chainId(view returns (uint16)
30
feeRecipient(view returns (address)
0x53207e216540125e322cda8a693b0b89576deb46
 
getAcceptedTokensList(view returns (address[])
getPaused(view returns (bool)
false
owner(view returns (address)
0x59acf1c83df72148e65af6184942f20414027c38
ownerAssistant(view returns (address)
0x1c00662dbb69366d68496584e5f5668a0b8d265e
pendingOwner(view returns (address)
0x0000000000000000000000000000000000000000
relayerFeePrecision(view returns (uint256)
100000000
swapRatePrecision(view returns (uint256)
100000000
tokenBridge(view returns (address)
0x8d2de8d2f73f1f4cab472ac9a881c9b123c79627
unwrapWeth(view returns (bool)
false
wormhole(view returns (address)
0xbebdb6c8ddc678ffa9f8748f85c815c556dd8ac6
Read-only
calculateMaxSwapAmountIn(address tokenview returns (uint256 maxAllowed)
calculateNativeSwapAmountOut(address tokenuint256 toNativeAmountview returns (uint256 nativeAmount)
calculateRelayerFee(uint16 targetChainIdaddress tokenuint8 decimalsview returns (uint256 feeInTokenDenomination)
decodeTransferWithRelay(bytes encodedpure returns (struct TokenBridgeRelayerStructsTransferWithRelay transfer)
denormalizeAmount(uint256 amountuint8 decimalspure returns (uint256)
encodeTransferWithRelay(struct TokenBridgeRelayerStructsTransferWithRelay transferpure returns (bytes encoded)
fetchLocalAddressFromTransferMessage(bytes payloadview returns (address localAddress)
getRegisteredContract(uint16 emitterChainIdview returns (bytes32)
isAcceptedToken(address tokenview returns (bool)
maxNativeSwapAmount(address tokenview returns (uint256)
nativeSwapRate(address tokenview returns (uint256)
normalizeAmount(uint256 amountuint8 decimalspure returns (uint256)
relayerFee(uint16 chainId_view returns (uint256)
swapRate(address tokenview returns (uint256)
State-modifying
cancelOwnershipTransferRequest(uint16 chainId_
completeTransferWithRelay(bytes encodedTransferMessagepayable 
confirmOwnershipTransferRequest(
deregisterToken(uint16 chainId_address token
registerContract(uint16 chainId_bytes32 contractAddress
registerToken(uint16 chainId_address token
setPauseForTransfers(uint16 chainId_bool paused
submitOwnershipTransferRequest(uint16 chainId_address newOwner
transferTokensWithRelay(address tokenuint256 amountuint256 toNativeTokenAmountuint16 targetChainbytes32 targetRecipientuint32 batchIdpayable returns (uint64 messageSequence)
updateFeeRecipient(uint16 chainId_address newFeeRecipient
updateMaxNativeSwapAmount(uint16 chainId_address tokenuint256 maxAmount
updateOwnerAssistant(uint16 chainId_address newAssistant
updateRelayerFee(uint16 chainId_uint256 amount
updateRelayerFeePrecision(uint16 chainId_uint256 relayerFeePrecision_
updateSwapRate(uint16 chainId_struct TokenBridgeRelayerStructsSwapRateUpdate[] swapRateUpdate
updateSwapRatePrecision(uint16 chainId_uint256 swapRatePrecision_
updateUnwrapWethFlag(uint16 chainId_bool unwrapWeth_
wrapAndTransferEthWithRelay(uint256 toNativeTokenAmountuint16 targetChainbytes32 targetRecipientuint32 batchIdpayable returns (uint64 messageSequence)
Events
FeeRecipientUpdated(address indexed oldRecipientaddress indexed newRecipient
OwnershipTransfered(address indexed oldOwneraddress indexed newOwner
SwapExecuted(address indexed recipientaddress indexed relayeraddress indexed tokenuint256 tokenAmountuint256 nativeAmount
SwapRateUpdated(struct TokenBridgeRelayerStructsSwapRateUpdate[] indexed swapRates
TransferRedeemed(uint16 indexed emitterChainIdbytes32 indexed emitterAddressuint64 indexed sequence
Constructor
constructor(address tokenBridge_address wethAddressaddress feeRecipient_address ownerAssistant_bool unwrapWeth_
Fallback and receive
receive(
Errors

This contract contains no error objects.