TokenBridgeRelayer

Verified contract

Active on Base with 30,791 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.74
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x13fe1ab854793bfb2795c8d9682ed6c8c0c3d9eb1f6a2af383099b3c03a296da
0xb084da2289fff748a1992f978cdbca8262600530875ea1cea10f4f7e1f3cc199
0x52eeac455116283aae180d477424d63b191bdbaa5e7ffcf9a8ee6eddc10c533a
0x9e4f83ec9bf2511e109056f3ddea9e03baf10da4069a01dbcbea2c5a77c098a8
0xe501ef3274ffb2ede8880761cd58b467e85846fb22e0511dca1ca968542656ba
0x6c54d987cda6414afee1a594800f7f76dda296c185e0ad5324b5dfa527348741
0x9948a9c03ffa4df4fefb59975919c61e169401a3639a3f928a9feb9a69048691
0x939496748c9f7e8aaf02550dc9bb228ac605721300347018a9263508e3a77c48
0xda57c100d2e2ce4fddc192ad9b9585e62144fc1c9754156be9f38060b9ccd3c5
0xe6ba298ba747fdd773e166a83b96cc0d1c1414a6b824d9ebed26ae5bc03960d0

Functions
Getter at block 21793755
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.