PolygonZkEVMUpgraded

Verified contract

Implementation

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

No balances found for "PolygonZkEVMUpgraded"

No transactions found for "PolygonZkEVMUpgraded"


Functions
Getter at block 21270695
VERSION_BEFORE_UPGRADE(view returns (uint256)
1
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)
6
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)
0x5f411584e02964a028e3123c833c352cd2f5cbd5
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(uint64view returns (bytes32)
checkStateRootInsidePrime(uint256 newStateRootpure returns (bool)
forcedBatches(uint64view returns (bytes32)
getInputSnarkBytes(uint64 initNumBatchuint64 finalNewBatchbytes32 newLocalExitRootbytes32 oldStateRootbytes32 newStateRootview returns (bytes)
isPendingStateConsolidable(uint64 pendingStateNumview returns (bool)
pendingStateTransitions(uint256view returns (uint64 timestampuint64 lastVerifiedBatchbytes32 exitRootbytes32 stateRoot)
sequencedBatches(uint64view returns (bytes32 accInputHashuint64 sequencedTimestampuint64 previousLastBatchSequenced)
State-modifying
acceptAdminRole(
activateEmergencyState(uint64 sequencedBatchNum
activateForceBatches(
consolidatePendingState(uint64 pendingStateNum
deactivateEmergencyState(
forceBatch(bytes transactionsuint256 maticAmount
initialize(struct PolygonZkEVMInitializePackedParameters initializePackedParametersbytes32 genesisRootstring _trustedSequencerURLstring _networkNamestring _version
overridePendingState(uint64 initPendingStateNumuint64 finalPendingStateNumuint64 initNumBatchuint64 finalNewBatchbytes32 newLocalExitRootbytes32 newStateRootbytes32[24] proof
proveNonDeterministicPendingState(uint64 initPendingStateNumuint64 finalPendingStateNumuint64 initNumBatchuint64 finalNewBatchbytes32 newLocalExitRootbytes32 newStateRootbytes32[24] proof
renounceOwnership(
sequenceBatches(struct PolygonZkEVMBatchData[] batchesaddress 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 pendingStateNumuint64 initNumBatchuint64 finalNewBatchbytes32 newLocalExitRootbytes32 newStateRootbytes32[24] proof
verifyBatchesTrustedAggregator(uint64 pendingStateNumuint64 initNumBatchuint64 finalNewBatchbytes32 newLocalExitRootbytes32 newStateRootbytes32[24] proof
Events
AcceptAdminRole(address newAdmin
ActivateForceBatches(
ConsolidatePendingState(uint64 indexed numBatchbytes32 stateRootuint64 indexed pendingStateNum
EmergencyStateActivated(
EmergencyStateDeactivated(
ForceBatch(uint64 indexed forceBatchNumbytes32 lastGlobalExitRootaddress sequencerbytes transactions
Initialized(uint8 version
OverridePendingState(uint64 indexed numBatchbytes32 stateRootaddress indexed aggregator
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
ProveNonDeterministicPendingState(bytes32 storedStateRootbytes32 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 numBatchuint64 forkIDstring version
VerifyBatches(uint64 indexed numBatchbytes32 stateRootaddress indexed aggregator
VerifyBatchesTrustedAggregator(uint64 indexed numBatchbytes32 stateRootaddress indexed aggregator
Constructor
constructor(address _globalExitRootManageraddress _maticaddress _rollupVerifieraddress _bridgeAddressuint64 _chainIDuint64 _forkIDuint256 versionBeforeUpgrade
Fallback and receive

This contract contains no fallback and receive objects.

Errors
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(