Bridge

Verified contract

Active on Base with 38,791 txns
Deployed by via 0x76fcc85c at 10004341
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $796.35
ERC-20
Value $2,038.24
ERC-20
Value $0.12
ERC-20
Value $0.05
ERC-20
Value $0.01
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
0x2481fa5d6394a03c5c84387bd6ab187d9d23bbab9f00cc7efc78d36d1c2eaba8
0x91c4e6007618f989e67aecab6d615a2c73011efd6c6145e4e3fed1e1d92ae12b
0xdc60dde417be99d0281c5b1a4cf6ff0d55f3e96c7b5f47a0db6a7f3cfd86e9cc
0x6e65035444fbabdc6d3ce3234b5383ea74cd0af88807c382aeba44cdf3e802a9
0xa53b2eb059f9d515975bda1b5948e4fb7ddf5796c9624762634e98695936d3b3
0x90fd68d68327bd30f83984ed8f602c3c517b05739b3d786d0dc42f0fd67d9135
0xf99240cdd409af86e326387a5787136ea555bb5c0a97b3edf04c9ea18eacd8c0
0x2bba4d7f563829b2f240b2e7be664e59a799a2b99fde957093399afa3e811b67
0x9d9d248e14b7173c09a9f896f72ea6aa411d2f9b5f25080cdc2ecc7c68e7bd5d
0xac69f1d09b48ba93e24c2ae84fa8024708e86a43f50916215dd90faf184de55f

Functions
Getter at block 22729738
canSwap(view returns (uint8)
1
chainId(view returns (uint256)
9
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.