Bridge

Verified contract

Active on Ethereum with 3,835 txns
Deployed by via 0xb448d8e7 at 15493360
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $0.04
0xf5078f8e3ba0fd7fcea1ba5175cdbe3b0f3fcf9dfe5a28163d7a64d3909af96d
0xd1df39f7ce7757e6a677f22880de76b1bb15019bc287a3e89812178065679d78
0xf5b582524c9cd53cef4450f3ccbf65cc34e57c45efa8446fad2a5925bec6ce0b
0xa8502b0eeb863a0d9e0feaa72aefd8958e71e437d272500467eac135d508ee12
0x65ffaf7bf15a5ae250fb7b28e63aff57e403190a913111cf51f6b824d76c5c49
0x063e023aef02602a6e686c675bdbd94cbdefc2a908d96b58665156ad71444381
0xa59614751ad6cef22bdfaa34c75cc5feeee4f2866f948fa0693308abd485c3e8
0x285420938c1e9c2758236f3b929d4622f809d729c25e7abecc351b5262002f52
0x93c46c660f9595d3a0a4c87d072ef51066e1dcd594b2eac540e221917195ab9a
0x8a35ce8f3692467cb35ac17a7bbfcaca127a65c3104008b9b522c9a4cca6cf35

Functions
Getter at block 21290924
allbridgeMessenger(view returns (address)
0x366a900efe79ae7244c4d1d279ee4a702adbee50
chainId(view returns (uint8)
1
owner(view returns (address)
0x01a494079dcb715f622340301463ce50cd69a4d0
wormholeMessenger(view returns (address)
0xf4830e4f739c8eb04efdbf346bae5c82163da83f
Read-only
gasUsage(uint8view returns (uint256)
getMessageCost(uint8 chainIduint8 protocolview returns (uint256)
getTransactionCost(uint8 chainId_view returns (uint256)
hasReceivedMessage(bytes32 messageuint8 protocolview returns (bool)
hasSentMessage(bytes32 messageview returns (bool)
hashMessage(uint256 amountbytes32 recipientuint8 sourceChainIduint8 destinationChainIdbytes32 receiveTokenuint256 nonceuint8 messengerpure returns (bytes32)
otherBridgeTokens(uint8bytes32view returns (bool)
otherBridges(uint8view returns (bytes32)
pools(bytes32view returns (address)
processedMessages(bytes32view returns (bool)
sentMessages(bytes32view returns (bool)
State-modifying
addBridgeToken(uint8 chainId_bytes32 tokenAddress_
addPool(address poolbytes32 token
receiveTokens(uint256 amountbytes32 recipientuint8 sourceChainIdbytes32 receiveTokenuint256 nonceuint8 messenger
registerBridge(uint8 chainId_bytes32 bridgeAddress_
removeBridgeToken(uint8 chainId_bytes32 tokenAddress_
renounceOwnership(
setAllbridgeMessenger(address _allbridgeMessenger
setGasOracle(address gasOracle_
setGasUsage(uint8 chainId_uint256 gasUsage_
setWormholeMessenger(address _wormholeMessenger
swap(uint256 amountbytes32 tokenbytes32 receiveTokenaddress recipient
swapAndBridge(bytes32 tokenuint256 amountbytes32 recipientuint8 destinationChainIdbytes32 receiveTokenuint256 nonceuint8 messengerpayable 
transferOwnership(address newOwner
withdrawGasTokens(uint256 amount
Events
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Received(address arg0uint256 arg1
TokensSent(uint256 amountbytes32 recipientuint8 destinationChainIdbytes32 receiveTokenuint256 nonceuint8 messenger
Constructor
constructor(uint8 _chainIdaddress _allbridgeMessengeraddress _wormholeMessengeraddress _gasOracle
Fallback and receive
fallback(
receive(
Errors

This contract contains no error objects.