PolygonZkEVMBridge

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x021f85f6 at 18810960
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 31 additional slots
-
variable spans 9 additional slots
-
variable spans 9 additional slots

No balances found for "PolygonZkEVMBridge"

No transactions found for "PolygonZkEVMBridge"


Functions
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(uint256view returns (uint256)
getLeafValue(uint8 leafTypeuint32 originNetworkaddress originAddressuint32 destinationNetworkaddress destinationAddressuint256 amountbytes32 metadataHashpure returns (bytes32)
getTokenWrappedAddress(uint32 originNetworkaddress originTokenAddressview returns (address)
isClaimed(uint256 indexview returns (bool)
precalculatedWrapperAddress(uint32 originNetworkaddress originTokenAddressstring namestring symboluint8 decimalsview returns (address)
tokenInfoToWrappedToken(bytes32view returns (address)
verifyMerkleProof(bytes32 leafHashbytes32[32] smtProofuint32 indexbytes32 rootpure returns (bool)
wrappedTokenToTokenInfo(addressview returns (uint32 originNetworkaddress originTokenAddress)
State-modifying
activateEmergencyState(
bridgeAsset(uint32 destinationNetworkaddress destinationAddressuint256 amountaddress tokenbool forceUpdateGlobalExitRootbytes permitDatapayable 
claimAsset(bytes32[32] smtProofuint32 indexbytes32 mainnetExitRootbytes32 rollupExitRootuint32 originNetworkaddress originTokenAddressuint32 destinationNetworkaddress destinationAddressuint256 amountbytes metadata
deactivateEmergencyState(
initialize(uint32 _networkIDaddress _globalExitRootManageraddress _polygonZkEVMaddressaddress _adminuint256 _bridgeFeeaddress _feeAddressaddress _gasTokenAddressbytes _gasTokenMetadatauint256 _gasTokenDecimalDiffFactor
setBridgeSettingsFee(address _feeAddressuint256 _bridgeFee
updateGlobalExitRoot(
Events
BridgeEvent(uint8 leafTypeuint32 originNetworkaddress originAddressuint32 destinationNetworkaddress destinationAddressuint256 amountbytes metadatauint32 depositCount
ClaimEvent(uint32 indexuint32 originNetworkaddress originAddressaddress destinationAddressuint256 amount
EmergencyStateActivated(
EmergencyStateDeactivated(
Initialized(uint8 version
NewWrappedToken(uint32 originNetworkaddress originTokenAddressaddress wrappedTokenAddressbytes metadata
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
AlreadyClaimed(
AmountDoesNotMatchMsgValue(
AmountTooSmall(
DestinationNetworkInvalid(
EtherTransferFailed(
GlobalExitRootInvalid(
InvalidSmtProof(
MerkleTreeFull(
MessageFailed(
MsgValueNotZero(
NotValidAmount(
NotValidOwner(
NotValidSignature(
NotValidSpender(
OnlyAdmin(
OnlyEmergencyState(
OnlyNotEmergencyState(
OnlyPolygonZkEVM(