Bridge

Verified contract

Active on Ethereum with 119,189 txns
Deployed by via 0xabac71d8 at 17343135
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $454.81
ERC-20
Value $2,840.72
ERC-20
Value $2,336.69
ERC-20
--
ERC-20
--
0x784ff34bfdca4c61643e799feef07c96054e5586b799497a5d50aee661a4b8d8
0x62d282b58d185a30fd59759911b0d20c9a8f5b4d1f90e0d81713eab5bca1f371
0x1ae0e4f046ba13f6b87259551672afc0dbf598bdb1c8ba7d31e42c948c604d90
0x26a36d2f17f28baef94969a4442b2b78c972cb4b07492d18d22cc24abfcfcd72
0x8d6dc5c6f0bea1aeb2ddee63177fd3d559159f973189a511a54b13e19ecc4021
0x317ca20c7cbcfe6a9b2d76496de2535419102bbfe8c1789672c6d764bf227121
0x60f0fd9aefe368642e364b5d42af4f96ad8c7d4a43e829f748808b2e71879b39
0x49c4097b1e18562f543f58f6585487647faa4f1b318a9c65222297040a7e80f5
0xd8b3a01cc79a52bfc3551be231174dd8f71f43cb5f52874780b05ce6d0b8e791
0x0ce8d99aa16bcf873c5cf266126ea4b038a2d5eb882b467beb40e9040b701d33

Functions
Getter at block 21246220
canSwap(view returns (uint8)
1
chainId(view returns (uint256)
1
owner(view returns (address)
0x01a494079dcb715f622340301463ce50cd69a4d0
Read-only
gasUsage(uint256 chainIdview returns (uint256 amount)
getBridgingCostInTokens(uint256 destinationChainIduint8 messengeraddress tokenAddressview returns (uint256)
getMessageCost(uint256 chainIduint8 protocolview returns (uint256)
getMessageGasUsage(uint256 chainIduint8 protocolview returns (uint256)
getTransactionCost(uint256 chainIdview returns (uint256)
hasReceivedMessage(bytes32 messageuint8 protocolview returns (bool)
hasSentMessage(bytes32 messageview returns (bool)
hashMessage(uint256 amountbytes32 recipientuint256 sourceChainIduint256 destinationChainIdbytes32 receiveTokenuint256 nonceuint8 messengerpure returns (bytes32)
otherBridgeTokens(uint256 chainIdbytes32 tokenAddressview returns (bool isSupported)
otherBridges(uint256 chainIdview returns (bytes32 bridgeAddress)
pools(bytes32 tokenIdview returns (address)
processedMessages(bytes32 messageHashview returns (uint256 isProcessed)
sentMessages(bytes32 messageHashview returns (uint256 isSent)
State-modifying
addBridgeToken(uint256 chainId_bytes32 tokenAddress
addPool(address poolbytes32 token
receiveTokens(uint256 amountbytes32 recipientuint256 sourceChainIdbytes32 receiveTokenuint256 nonceuint8 messengeruint256 receiveAmountMinpayable 
registerBridge(uint256 chainId_bytes32 bridgeAddress
removeBridgeToken(uint256 chainId_bytes32 tokenAddress
renounceOwnership(
setAllbridgeMessenger(address allbridgeMessenger_
setGasOracle(address gasOracle_
setGasUsage(uint256 chainIduint256 gasAmount
setRebalancer(address rebalancer_
setStopAuthority(address stopAuthority_
setWormholeMessenger(address wormholeMessenger_
startSwap(
stopSwap(
swap(uint256 amountbytes32 tokenbytes32 receiveTokenaddress recipientuint256 receiveAmountMin
swapAndBridge(bytes32 tokenuint256 amountbytes32 recipientuint256 destinationChainIdbytes32 receiveTokenuint256 nonceuint8 messengeruint256 feeTokenAmountpayable 
transferOwnership(address newOwner
withdrawBridgingFeeInTokens(address token
withdrawGasTokens(uint256 amount
Events
BridgingFeeFromTokens(uint256 gas
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
ReceiveFee(uint256 bridgeTransactionCostuint256 messageTransactionCost
Received(address senderuint256 amount
Swapped(address senderaddress recipientbytes32 sendTokenbytes32 receiveTokenuint256 sendAmountuint256 receiveAmount
TokensReceived(uint256 amountbytes32 recipientuint256 nonceuint8 messengerbytes32 message
TokensSent(uint256 amountbytes32 recipientuint256 destinationChainIdbytes32 receiveTokenuint256 nonceuint8 messenger
Constructor
constructor(uint256 chainId_uint256 chainPrecision_address allbridgeMessenger_address wormholeMessenger_address gasOracle_
Fallback and receive
fallback(
receive(
Errors

This contract contains no error objects.