PolygonZkEVMBridge
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
10
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 31 additional slots
-
variable spans 9 additional slots
-
variable spans 9 additional slots
Balances ($0.00)
No balances found for "PolygonZkEVMBridge"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "PolygonZkEVMBridge"
ABI
ABI objects
Getter at block 21297465
admin() view returns (address)
0x0000000000000000000000000000000000000000
bridgeFee() view returns (uint256)
0
depositCount() view returns (uint256)
0
feeAddress() view returns (address)
0x0000000000000000000000000000000000000000
gasTokenAddress() view returns (address)
0x0000000000000000000000000000000000000000
gasTokenDecimalDiffFactor() view returns (uint256)
0
gasTokenMetadata() view returns (bytes)
0x
getDepositRoot() view returns (bytes32)
0x27ae5ba08d7291c96c8cbddcc148bf48a6d68c7974b94356f53754ef6171d757
globalExitRootManager() view returns (address)
0x0000000000000000000000000000000000000000
isEmergencyState() view returns (bool)
false
lastUpdatedDepositCount() view returns (uint32)
0
networkID() view returns (uint32)
0
polygonZkEVMaddress() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
claimedBitMap(uint256) view returns (uint256)
getLeafValue(uint8 leafType, uint32 originNetwork, address originAddress, uint32 destinationNetwork, address destinationAddress, uint256 amount, bytes32 metadataHash) pure returns (bytes32)
getTokenWrappedAddress(uint32 originNetwork, address originTokenAddress) view returns (address)
isClaimed(uint256 index) view returns (bool)
precalculatedWrapperAddress(uint32 originNetwork, address originTokenAddress, string name, string symbol, uint8 decimals) view returns (address)
tokenInfoToWrappedToken(bytes32) view returns (address)
verifyMerkleProof(bytes32 leafHash, bytes32[32] smtProof, uint32 index, bytes32 root) pure returns (bool)
wrappedTokenToTokenInfo(address) view returns (uint32 originNetwork, address originTokenAddress)
State-modifying
Events activateEmergencyState()
bridgeAsset(uint32 destinationNetwork, address destinationAddress, uint256 amount, address token, bool forceUpdateGlobalExitRoot, bytes permitData) payable
claimAsset(bytes32[32] smtProof, uint32 index, bytes32 mainnetExitRoot, bytes32 rollupExitRoot, uint32 originNetwork, address originTokenAddress, uint32 destinationNetwork, address destinationAddress, uint256 amount, bytes metadata)
deactivateEmergencyState()
initialize(uint32 _networkID, address _globalExitRootManager, address _polygonZkEVMaddress, address _admin, uint256 _bridgeFee, address _feeAddress, address _gasTokenAddress, bytes _gasTokenMetadata, uint256 _gasTokenDecimalDiffFactor)
setBridgeSettingsFee(address _feeAddress, uint256 _bridgeFee)
updateGlobalExitRoot()
BridgeEvent(uint8 leafType, uint32 originNetwork, address originAddress, uint32 destinationNetwork, address destinationAddress, uint256 amount, bytes metadata, uint32 depositCount)
ClaimEvent(uint32 index, uint32 originNetwork, address originAddress, address destinationAddress, uint256 amount)
EmergencyStateActivated()
EmergencyStateDeactivated()
Initialized(uint8 version)
NewWrappedToken(uint32 originNetwork, address originTokenAddress, address wrappedTokenAddress, bytes metadata)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
AlreadyClaimed()
AmountDoesNotMatchMsgValue()
AmountTooSmall()
DestinationNetworkInvalid()
EtherTransferFailed()
GlobalExitRootInvalid()
InvalidSmtProof()
MerkleTreeFull()
MessageFailed()
MsgValueNotZero()
NotValidAmount()
NotValidOwner()
NotValidSignature()
NotValidSpender()
OnlyAdmin()
OnlyEmergencyState()
OnlyNotEmergencyState()
OnlyPolygonZkEVM()