TokenBridgeRelayer
Verified contract
Active on
Ethereum with 81,431 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
$240.91
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ETH | Native | 0.073111 | $3,295.19 |
$240.91 | |
USDT | ERC-20 | 10 | $1.002 |
$10.02 | |
SOCC | ERC-20 | 535.4225K | -- | -- | |
HQG | ERC-20 | 0.01 | -- | -- |
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21244031 | 5 minutes ago | | | 0 | 0.0025727225 | |
| 21243999 | 12 minutes ago | | | 0 | 0.00051409276 | |
| 21243997 | 12 minutes ago | | | 0 | 0.00049584039 | |
| 21243995 | 12 minutes ago | | | 0 | 0.00050996730 | |
| 21243993 | 13 minutes ago | | | 0 | 0.00050436581 | |
| 21243991 | 13 minutes ago | | | 0 | 0.00050316722 | |
| 21243957 | 20 minutes ago | | | 0.13 | 0.0022609673 | |
| 21243879 | 36 minutes ago | | | 0 | 0.0024490229 | |
| 21243846 | 42 minutes ago | | | 0 | 0.0024697344 | |
| 21243846 | 42 minutes ago | | | 0.07 | 0.0024700987 |
ABI
ABI objects
Getter at block 21244055 getAcceptedTokensList() view returns (address[])
VERSION() view returns (string)
0.2.0
WETH() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
chainId() view returns (uint16)
2
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)
0x3ee18b2214aff97000d974cf647e7c347e8fa585
unwrapWeth() view returns (bool)
true
wormhole() view returns (address)
0x98f3c9e6e3face36baad05fe09d375ef1464288b
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.