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 43 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 21294589
DYNAMIC_FEE_DEN() view returns (uint256)
1000000000
NATIVE_TOKEN_POOL_ID() view returns (uint256)
1
accumulatedFees() view returns (uint256)
0
bridgeManager() view returns (address)
0x0000000000000000000000000000000000000000
bridgeReviewer() view returns (address)
0x0000000000000000000000000000000000000000
l1Bridge() 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)
0xa8a4547be2ece6dde2dd91b4a5adfe4a043b21c7
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)
whitelists(address) view returns (bool)
State-modifying
Events 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)
initialize()
removeLiquidity(uint256 poolId, uint256 amount)
setBridge(uint16 dstChainId, address bridge)
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_)
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)
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)
TransferToken(uint64 indexed sequence, uint16 indexed dstChainId, uint256 indexed poolId, address sender, address recipient, uint256 amount)
constructor(address zkBridgeEndpoint_, address l1Bridge_, uint256 NATIVE_TOKEN_POOL_ID_)
This contract contains no fallback and receive objects.
This contract contains no error objects.