Bridge
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
9
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 48 additional slots
-
variable spans 41 additional slots
-
variable spans 46 additional slots
Balances ($0.00)
No balances found for "Bridge"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "Bridge"
ABI
ABI objects
Getter at block 20795998
DYNAMIC_FEE_DEN() view returns (uint256)
1000000000
NATIVE_TOKEN_POOL_ID() view returns (uint256)
20
accumulatedFees() view returns (uint256)
0
approveManager() view returns (address)
0x0000000000000000000000000000000000000000
bridgeManager() view returns (address)
0x0000000000000000000000000000000000000000
bridgeReviewer() view returns (address)
0x0000000000000000000000000000000000000000
doubleCheck() view returns (bool)
false
l1Bridge() view returns (address)
0x0000000000000000000000000000000000000000
pendingApproveManager() view returns (address)
0x0000000000000000000000000000000000000000
pendingBridge() view returns (bool)
false
pendingBridgeAddress() view returns (address)
0x0000000000000000000000000000000000000000
pendingBridgeManager() view returns (address)
0x0000000000000000000000000000000000000000
pendingBridgeReviewer() view returns (address)
0x0000000000000000000000000000000000000000
pendingDstChainId() view returns (uint16)
0
pendingPoolManager() view returns (address)
0x0000000000000000000000000000000000000000
poolManager() view returns (address)
0x0000000000000000000000000000000000000000
zkBridgeEndpoint() view returns (address)
0xcb42fe71f4d433f3ff188428d90d114ad8cca8b9
Read-only
bridgeLookup(uint16) view returns (address)
convertRate(uint256 poolId) view returns (uint256)
dstChains(uint256 poolId, uint16 dstChainId) view returns (struct PoolDstChainInfo)
estimateFee(uint256 poolId, uint16 dstChainId, uint256 amount) view returns (uint256)
estimateFeeMux(uint256 poolId, uint16 dstChainId, uint256 amount) view returns (uint256)
getFee(uint256 poolId, uint16 dstChainId, uint256 amount) view returns (uint256)
poolInfo(uint256 poolId) view returns (struct PoolPoolInfo)
verifiedMessages(bytes32) view returns (bool)
whitelists(address) view returns (bool)
State-modifying
Events acceptApproveManager()
acceptBridgeManager()
acceptBridgeReviewer()
acceptPoolManager()
addLiquidity(uint256 poolId, uint256 amount)
addLiquidityAndSetMaxLiquidity(uint256 poolId, uint256 amount, uint256 maxLiquidity)
addLiquidityETH() payable
addLiquidityETHAndSetMaxLiquidity(uint256 maxLiquidity) payable
addLiquidityETHPublic() payable
addLiquidityPublic(uint256 poolId, uint256 amount)
approveSetBridge(uint16 dstChainId, address bridge)
claimFees()
createPool(uint256 poolId, address token, uint8 convertRateDecimals)
initApproveManager(address newOwner)
initialize()
receiveApprove(uint16 srcChainId, address srcAddress, uint64 sequence, bytes payload)
removeLiquidity(uint256 poolId, uint256 amount)
setBridge(uint16 dstChainId, address bridge)
setDoubleCheck(bool needDoubleCheck)
setDstChain(uint256 poolId, uint16 dstChainId, bool enabled)
setFee(uint256 poolId, uint16 dstChainId, uint256 staticFee, uint256 dynamicFeeNum)
setMaxLiquidity(uint256 poolId, uint256 maxLiquidity)
setMaxTransferLimit(uint256 poolId, uint16 dstChainId, uint256 maxTransferLimit)
setWhitelist(address user_, bool enabled_)
transferApproveManager(address newOwner)
transferBridgeManager(address newOwner)
transferBridgeReviewer(address newOwner)
transferETH(uint16 dstChainId, uint256 amount, address recipient) payable
transferETHMux(uint16 dstChainId, uint256 amount, address recipient) payable
transferPoolManager(address newOwner)
transferToken(uint16 dstChainId, uint256 poolId, uint256 amount, address recipient) payable
transferTokenMux(uint16 dstChainId, uint256 poolId, uint256 amount, address recipient) payable
zkReceive(uint16 srcChainId, address srcAddress, uint64 sequence, bytes payload)
AddLiquidity(uint256 indexed poolId, uint256 amount)
ApproveManagerTransferStarted(address indexed previousOwner, address indexed newOwner)
ApproveManagerTransferred(address indexed previousOwner, address indexed newOwner)
BridgeManagerTransferStarted(address indexed previousOwner, address indexed newOwner)
BridgeManagerTransferred(address indexed previousOwner, address indexed newOwner)
BridgeReviewerTransferStarted(address indexed previousOwner, address indexed newOwner)
BridgeReviewerTransferred(address indexed previousOwner, address indexed newOwner)
ClaimedFees(address to, uint256 amount)
DstChainStatusChanged(uint256 indexed poolId, uint16 indexed dstChainId, bool indexed enabled)
Initialized(uint8 version)
NewBridge(uint16 chainId, address bridge)
NewFee(uint256 indexed poolId, uint16 indexed dstChainId, uint256 staticFee, uint256 dynamicFeeNum)
NewMaxLiquidity(uint256 indexed poolId, uint256 maxLiquidity)
NewMaxTransferLimit(uint256 indexed poolId, uint16 indexed dstChainId, uint256 maxTransferLimit)
NewPendingBridge(uint16 chainId, address bridge)
PoolManagerTransferStarted(address indexed previousOwner, address indexed newOwner)
PoolManagerTransferred(address indexed previousOwner, address indexed newOwner)
ReceiveToken(uint64 indexed sequence, uint16 indexed srcChainId, uint256 indexed poolId, address recipient, uint256 amount)
RemoveLiquidity(uint256 indexed poolId, uint256 amount)
SetDoubleCheck(bool doubleCheck)
TransferToken(uint64 indexed sequence, uint16 indexed dstChainId, uint256 indexed poolId, address sender, address recipient, uint256 amount)
ZkReceive(uint16 indexed srcChainId, address indexed srcAddress, uint64 indexed sequence, bytes payload)
constructor(address zkBridgeEndpoint_, address l1Bridge_, uint256 NATIVE_TOKEN_POOL_ID_)
This contract contains no fallback and receive objects.
This contract contains no error objects.