TokenBridgeRelayer
Verified contract
Active on
Base with 34,321 txns
Slot
XX
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
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
Eth | Native | 0.00028 | $3,289.79 |
$0.92 | |
USA | ERC-20 | 1 | $0.000766 |
$0 | |
ERC-20 | 2.4K | -- | -- | ||
ERC-20 | 2.4K | -- | -- | ||
OHNO | ERC-20 | 354.328947 | -- | -- | |
LZPZ | ERC-20 | 1 | -- | -- |
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 22747130 | an hour ago | | | 0 | 0.000000606620149696 | |
| 22747125 | an hour ago | | | 0 | 0.000000606620149696 | |
| 22747121 | an hour ago | | | 0 | 0.000000606824904472 | |
| 22747116 | an hour ago | | | 0 | 0.0000013985092 | |
| 22745333 | 2 hours ago | | | 0 | 0.000000606620149696 | |
| 22745329 | 2 hours ago | | | 0 | 0.000000606824904472 | |
| 22745324 | 2 hours ago | | | 0 | 0.000000606620149696 | |
| 22745320 | 2 hours ago | | | 0 | 0.000000606824904472 | |
| 22745315 | 2 hours ago | | | 0 | 9.5669963e-7 | |
| 22743528 | 3 hours ago | | | 0 | 0.000000606620149696 |
ABI
ABI objects
Getter at block 22748574 getAcceptedTokensList() view returns (address[])
VERSION() view returns (string)
0.2.0
WETH() view returns (address)
0x71b35ecb35104773537f849fbc353f81303a5860
chainId() view returns (uint16)
30
feeRecipient() view returns (address)
0x53207e216540125e322cda8a693b0b89576deb46
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 token) view returns (uint256 maxAllowed)
calculateNativeSwapAmountOut(address token, uint256 toNativeAmount) view returns (uint256 nativeAmount)
calculateRelayerFee(uint16 targetChainId, address token, uint8 decimals) view returns (uint256 feeInTokenDenomination)
decodeTransferWithRelay(bytes encoded) pure returns (struct TokenBridgeRelayerStructsTransferWithRelay transfer)
denormalizeAmount(uint256 amount, uint8 decimals) pure returns (uint256)
encodeTransferWithRelay(struct TokenBridgeRelayerStructsTransferWithRelay transfer) pure returns (bytes encoded)
fetchLocalAddressFromTransferMessage(bytes payload) view returns (address localAddress)
getRegisteredContract(uint16 emitterChainId) view returns (bytes32)
isAcceptedToken(address token) view returns (bool)
maxNativeSwapAmount(address token) view returns (uint256)
nativeSwapRate(address token) view returns (uint256)
normalizeAmount(uint256 amount, uint8 decimals) pure returns (uint256)
relayerFee(uint16 chainId_) view returns (uint256)
swapRate(address token) view returns (uint256)
State-modifying
Events cancelOwnershipTransferRequest(uint16 chainId_)
completeTransferWithRelay(bytes encodedTransferMessage) payable
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 token, uint256 amount, uint256 toNativeTokenAmount, uint16 targetChain, bytes32 targetRecipient, uint32 batchId) payable returns (uint64 messageSequence)
updateFeeRecipient(uint16 chainId_, address newFeeRecipient)
updateMaxNativeSwapAmount(uint16 chainId_, address token, uint256 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 toNativeTokenAmount, uint16 targetChain, bytes32 targetRecipient, uint32 batchId) payable returns (uint64 messageSequence)
FeeRecipientUpdated(address indexed oldRecipient, address indexed newRecipient)
OwnershipTransfered(address indexed oldOwner, address indexed newOwner)
SwapExecuted(address indexed recipient, address indexed relayer, address indexed token, uint256 tokenAmount, uint256 nativeAmount)
SwapRateUpdated(struct TokenBridgeRelayerStructsSwapRateUpdate[] indexed swapRates)
TransferRedeemed(uint16 indexed emitterChainId, bytes32 indexed emitterAddress, uint64 indexed sequence)
constructor(address tokenBridge_, address wethAddress, address feeRecipient_, address ownerAssistant_, bool unwrapWeth_)
receive()
This contract contains no error objects.