Bridge

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xd45ad04d at 19837920
Slot
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

No balances found for "Bridge"

No transactions found for "Bridge"


Functions
Getter at block 21247893
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(uint16view returns (address)
convertRate(uint256 poolIdview returns (uint256)
dstChains(uint256 poolIduint16 dstChainIdview returns (struct PoolDstChainInfo)
estimateFee(uint256 poolIduint16 dstChainIduint256 amountview returns (uint256)
estimateFeeMux(uint256 poolIduint16 dstChainIduint256 amountview returns (uint256)
getFee(uint256 poolIduint16 dstChainIduint256 amountview returns (uint256)
poolInfo(uint256 poolIdview returns (struct PoolPoolInfo)
verifiedMessages(bytes32view returns (bool)
whitelists(addressview returns (bool)
State-modifying
acceptApproveManager(
acceptBridgeManager(
acceptBridgeReviewer(
acceptPoolManager(
addLiquidity(uint256 poolIduint256 amount
addLiquidityAndSetMaxLiquidity(uint256 poolIduint256 amountuint256 maxLiquidity
addLiquidityETH(payable 
addLiquidityETHAndSetMaxLiquidity(uint256 maxLiquiditypayable 
addLiquidityETHPublic(payable 
addLiquidityPublic(uint256 poolIduint256 amount
approveSetBridge(uint16 dstChainIdaddress bridge
claimFees(
createPool(uint256 poolIdaddress tokenuint8 convertRateDecimals
initApproveManager(address newOwner
initialize(
receiveApprove(uint16 srcChainIdaddress srcAddressuint64 sequencebytes payload
removeLiquidity(uint256 poolIduint256 amount
setBridge(uint16 dstChainIdaddress bridge
setDoubleCheck(bool needDoubleCheck
setDstChain(uint256 poolIduint16 dstChainIdbool enabled
setFee(uint256 poolIduint16 dstChainIduint256 staticFeeuint256 dynamicFeeNum
setMaxLiquidity(uint256 poolIduint256 maxLiquidity
setMaxTransferLimit(uint256 poolIduint16 dstChainIduint256 maxTransferLimit
setWhitelist(address user_bool enabled_
transferApproveManager(address newOwner
transferBridgeManager(address newOwner
transferBridgeReviewer(address newOwner
transferETH(uint16 dstChainIduint256 amountaddress recipientpayable 
transferETHMux(uint16 dstChainIduint256 amountaddress recipientpayable 
transferPoolManager(address newOwner
transferToken(uint16 dstChainIduint256 poolIduint256 amountaddress recipientpayable 
transferTokenMux(uint16 dstChainIduint256 poolIduint256 amountaddress recipientpayable 
zkReceive(uint16 srcChainIdaddress srcAddressuint64 sequencebytes payload
Events
AddLiquidity(uint256 indexed poolIduint256 amount
ApproveManagerTransferStarted(address indexed previousOwneraddress indexed newOwner
ApproveManagerTransferred(address indexed previousOwneraddress indexed newOwner
BridgeManagerTransferStarted(address indexed previousOwneraddress indexed newOwner
BridgeManagerTransferred(address indexed previousOwneraddress indexed newOwner
BridgeReviewerTransferStarted(address indexed previousOwneraddress indexed newOwner
BridgeReviewerTransferred(address indexed previousOwneraddress indexed newOwner
ClaimedFees(address touint256 amount
DstChainStatusChanged(uint256 indexed poolIduint16 indexed dstChainIdbool indexed enabled
Initialized(uint8 version
NewBridge(uint16 chainIdaddress bridge
NewFee(uint256 indexed poolIduint16 indexed dstChainIduint256 staticFeeuint256 dynamicFeeNum
NewMaxLiquidity(uint256 indexed poolIduint256 maxLiquidity
NewMaxTransferLimit(uint256 indexed poolIduint16 indexed dstChainIduint256 maxTransferLimit
NewPendingBridge(uint16 chainIdaddress bridge
PoolManagerTransferStarted(address indexed previousOwneraddress indexed newOwner
PoolManagerTransferred(address indexed previousOwneraddress indexed newOwner
ReceiveToken(uint64 indexed sequenceuint16 indexed srcChainIduint256 indexed poolIdaddress recipientuint256 amount
RemoveLiquidity(uint256 indexed poolIduint256 amount
SetDoubleCheck(bool doubleCheck
TransferToken(uint64 indexed sequenceuint16 indexed dstChainIduint256 indexed poolIdaddress senderaddress recipientuint256 amount
ZkReceive(uint16 indexed srcChainIdaddress indexed srcAddressuint64 indexed sequencebytes payload
Constructor
constructor(address zkBridgeEndpoint_address l1Bridge_uint256 NATIVE_TOKEN_POOL_ID_
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.