PolygonZkEVMUpgraded
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
24
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 9 additional slots
9 additional
variables
Balances ($0.00)
No balances found for "PolygonZkEVMUpgraded"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "PolygonZkEVMUpgraded"
ABI
ABI objects
Getter at block 21245854
VERSION_BEFORE_UPGRADE() view returns (uint256)
0
admin() view returns (address)
0x0000000000000000000000000000000000000000
batchFee() view returns (uint256)
0
bridgeAddress() view returns (address)
0x2a3dd3eb832af982ec71669e178424b10dca2ede
calculateRewardPerBatch() view returns (uint256)
0
chainID() view returns (uint64)
1101
forceBatchTimeout() view returns (uint64)
0
forkID() view returns (uint64)
5
getForcedBatchFee() view returns (uint256)
0
getLastVerifiedBatch() view returns (uint64)
0
globalExitRootManager() view returns (address)
0x580bda1e7a0cfae92fa7f6c20a3794f169ce3cfb
isEmergencyState() view returns (bool)
false
isForcedBatchDisallowed() view returns (bool)
false
lastBatchSequenced() view returns (uint64)
0
lastForceBatch() view returns (uint64)
0
lastForceBatchSequenced() view returns (uint64)
0
lastPendingState() view returns (uint64)
0
lastPendingStateConsolidated() view returns (uint64)
0
lastTimestamp() view returns (uint64)
0
lastVerifiedBatch() view returns (uint64)
0
lastVerifiedBatchBeforeUpgrade() view returns (uint256)
0
matic() view returns (address)
0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0
multiplierBatchFee() view returns (uint16)
0
networkName() view returns (string)
owner() view returns (address)
0x0000000000000000000000000000000000000000
pendingAdmin() view returns (address)
0x0000000000000000000000000000000000000000
pendingStateTimeout() view returns (uint64)
0
rollupVerifier() view returns (address)
0x21f65deadb3b85082ba99766f323bea90eb5a3d6
trustedAggregator() view returns (address)
0x0000000000000000000000000000000000000000
trustedAggregatorTimeout() view returns (uint64)
0
trustedSequencer() view returns (address)
0x0000000000000000000000000000000000000000
trustedSequencerURL() view returns (string)
verifyBatchTimeTarget() view returns (uint64)
0
version() view returns (uint256)
0
Read-only
batchNumToStateRoot(uint64) view returns (bytes32)
checkStateRootInsidePrime(uint256 newStateRoot) pure returns (bool)
forcedBatches(uint64) view returns (bytes32)
getInputSnarkBytes(uint64 initNumBatch, uint64 finalNewBatch, bytes32 newLocalExitRoot, bytes32 oldStateRoot, bytes32 newStateRoot) view returns (bytes)
isPendingStateConsolidable(uint64 pendingStateNum) view returns (bool)
pendingStateTransitions(uint256) view returns (uint64 timestamp, uint64 lastVerifiedBatch, bytes32 exitRoot, bytes32 stateRoot)
sequencedBatches(uint64) view returns (bytes32 accInputHash, uint64 sequencedTimestamp, uint64 previousLastBatchSequenced)
State-modifying
Events acceptAdminRole()
activateEmergencyState(uint64 sequencedBatchNum)
activateForceBatches()
consolidatePendingState(uint64 pendingStateNum)
deactivateEmergencyState()
forceBatch(bytes transactions, uint256 maticAmount)
initialize(struct PolygonZkEVMInitializePackedParameters initializePackedParameters, bytes32 genesisRoot, string _trustedSequencerURL, string _networkName, string _version)
overridePendingState(uint64 initPendingStateNum, uint64 finalPendingStateNum, uint64 initNumBatch, uint64 finalNewBatch, bytes32 newLocalExitRoot, bytes32 newStateRoot, bytes32[24] proof)
proveNonDeterministicPendingState(uint64 initPendingStateNum, uint64 finalPendingStateNum, uint64 initNumBatch, uint64 finalNewBatch, bytes32 newLocalExitRoot, bytes32 newStateRoot, bytes32[24] proof)
renounceOwnership()
sequenceBatches(struct PolygonZkEVMBatchData[] batches, address l2Coinbase)
sequenceForceBatches(struct PolygonZkEVMForcedBatchData[] batches)
setForceBatchTimeout(uint64 newforceBatchTimeout)
setMultiplierBatchFee(uint16 newMultiplierBatchFee)
setPendingStateTimeout(uint64 newPendingStateTimeout)
setTrustedAggregator(address newTrustedAggregator)
setTrustedAggregatorTimeout(uint64 newTrustedAggregatorTimeout)
setTrustedSequencer(address newTrustedSequencer)
setTrustedSequencerURL(string newTrustedSequencerURL)
setVerifyBatchTimeTarget(uint64 newVerifyBatchTimeTarget)
transferAdminRole(address newPendingAdmin)
transferOwnership(address newOwner)
updateVersion(string _versionString)
verifyBatches(uint64 pendingStateNum, uint64 initNumBatch, uint64 finalNewBatch, bytes32 newLocalExitRoot, bytes32 newStateRoot, bytes32[24] proof)
verifyBatchesTrustedAggregator(uint64 pendingStateNum, uint64 initNumBatch, uint64 finalNewBatch, bytes32 newLocalExitRoot, bytes32 newStateRoot, bytes32[24] proof)
AcceptAdminRole(address newAdmin)
ActivateForceBatches()
ConsolidatePendingState(uint64 indexed numBatch, bytes32 stateRoot, uint64 indexed pendingStateNum)
EmergencyStateActivated()
EmergencyStateDeactivated()
ForceBatch(uint64 indexed forceBatchNum, bytes32 lastGlobalExitRoot, address sequencer, bytes transactions)
Initialized(uint8 version)
OverridePendingState(uint64 indexed numBatch, bytes32 stateRoot, address indexed aggregator)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
ProveNonDeterministicPendingState(bytes32 storedStateRoot, bytes32 provedStateRoot)
SequenceBatches(uint64 indexed numBatch)
SequenceForceBatches(uint64 indexed numBatch)
SetForceBatchTimeout(uint64 newforceBatchTimeout)
SetMultiplierBatchFee(uint16 newMultiplierBatchFee)
SetPendingStateTimeout(uint64 newPendingStateTimeout)
SetTrustedAggregator(address newTrustedAggregator)
SetTrustedAggregatorTimeout(uint64 newTrustedAggregatorTimeout)
SetTrustedSequencer(address newTrustedSequencer)
SetTrustedSequencerURL(string newTrustedSequencerURL)
SetVerifyBatchTimeTarget(uint64 newVerifyBatchTimeTarget)
TransferAdminRole(address newPendingAdmin)
UpdateZkEVMVersion(uint64 numBatch, uint64 forkID, string version)
VerifyBatches(uint64 indexed numBatch, bytes32 stateRoot, address indexed aggregator)
VerifyBatchesTrustedAggregator(uint64 indexed numBatch, bytes32 stateRoot, address indexed aggregator)
constructor(address _globalExitRootManager, address _matic, address _rollupVerifier, address _bridgeAddress, uint64 _chainID, uint64 _forkID, uint256 versionBeforeUpgrade)
This contract contains no fallback and receive objects.
BatchAlreadyVerified()
BatchNotSequencedOrNotSequenceEnd()
ExceedMaxVerifyBatches()
FinalNumBatchBelowLastVerifiedBatch()
FinalNumBatchDoesNotMatchPendingState()
FinalPendingStateNumInvalid()
ForceBatchNotAllowed()
ForceBatchTimeoutNotExpired()
ForceBatchesAlreadyActive()
ForceBatchesOverflow()
ForcedDataDoesNotMatch()
GlobalExitRootNotExist()
HaltTimeoutNotExpired()
InitBatchMustMatchCurrentForkID()
InitNumBatchAboveLastVerifiedBatch()
InitNumBatchDoesNotMatchPendingState()
InvalidProof()
InvalidRangeBatchTimeTarget()
InvalidRangeForceBatchTimeout()
InvalidRangeMultiplierBatchFee()
NewAccInputHashDoesNotExist()
NewPendingStateTimeoutMustBeLower()
NewStateRootNotInsidePrime()
NewTrustedAggregatorTimeoutMustBeLower()
NotEnoughMaticAmount()
OldAccInputHashDoesNotExist()
OldStateRootDoesNotExist()
OnlyAdmin()
OnlyEmergencyState()
OnlyNotEmergencyState()
OnlyPendingAdmin()
OnlyTrustedAggregator()
OnlyTrustedSequencer()
PendingStateDoesNotExist()
PendingStateInvalid()
PendingStateNotConsolidable()
PendingStateTimeoutExceedHaltAggregationTimeout()
SequenceZeroBatches()
SequencedTimestampBelowForcedTimestamp()
SequencedTimestampInvalid()
StoredRootMustBeDifferentThanNewRoot()
TransactionsLengthAboveMax()
TrustedAggregatorTimeoutExceedHaltAggregationTimeout()
TrustedAggregatorTimeoutNotExpired()
VersionAlreadyUpdated()