PolygonRollupManager
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
29
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 47 additional slots
-
variable spans 9 additional slots
25 additional
variables
Balances ($0.00)
No balances found for "PolygonRollupManager"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "PolygonRollupManager"
ABI
ABI objects
Getter at block 21270971
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
bridgeAddress() view returns (address)
0x2a3dd3eb832af982ec71669e178424b10dca2ede
calculateRewardPerBatch() view returns (uint256)
0
getBatchFee() view returns (uint256)
0
getForcedBatchFee() view returns (uint256)
0
getRollupExitRoot() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
globalExitRootManager() view returns (address)
0x580bda1e7a0cfae92fa7f6c20a3794f169ce3cfb
isEmergencyState() view returns (bool)
false
lastAggregationTimestamp() view returns (uint64)
0
lastDeactivatedEmergencyStateTimestamp() view returns (uint64)
0
multiplierBatchFee() view returns (uint16)
0
pendingStateTimeout() view returns (uint64)
0
pol() view returns (address)
0x455e53cbb86018ac2b8092fdcd39d8444affc3f6
rollupCount() view returns (uint32)
0
rollupTypeCount() view returns (uint32)
0
totalSequencedBatches() view returns (uint64)
0
totalVerifiedBatches() view returns (uint64)
0
trustedAggregatorTimeout() view returns (uint64)
0
verifyBatchTimeTarget() view returns (uint64)
0
Read-only
chainIDToRollupID(uint64 chainID) view returns (uint32 rollupID)
getInputSnarkBytes(uint32 rollupID, uint64 initNumBatch, uint64 finalNewBatch, bytes32 newLocalExitRoot, bytes32 oldStateRoot, bytes32 newStateRoot) view returns (bytes)
getLastVerifiedBatch(uint32 rollupID) view returns (uint64)
getRoleAdmin(bytes32 role) view returns (bytes32)
getRollupBatchNumToStateRoot(uint32 rollupID, uint64 batchNum) view returns (bytes32)
getRollupPendingStateTransitions(uint32 rollupID, uint64 batchNum) view returns (struct LegacyZKEVMStateVariablesPendingState)
getRollupSequencedBatches(uint32 rollupID, uint64 batchNum) view returns (struct LegacyZKEVMStateVariablesSequencedBatchData)
hasRole(bytes32 role, address account) view returns (bool)
isPendingStateConsolidable(uint32 rollupID, uint64 pendingStateNum) view returns (bool)
rollupAddressToID(address rollupAddress) view returns (uint32 rollupID)
rollupIDToRollupData(uint32 rollupID) view returns (address rollupContract, uint64 chainID, address verifier, uint64 forkID, bytes32 lastLocalExitRoot, uint64 lastBatchSequenced, uint64 lastVerifiedBatch, uint64 lastPendingState, uint64 lastPendingStateConsolidated, uint64 lastVerifiedBatchBeforeUpgrade, uint64 rollupTypeID, uint8 rollupCompatibilityID)
rollupTypeMap(uint32 rollupTypeID) view returns (address consensusImplementation, address verifier, uint64 forkID, uint8 rollupCompatibilityID, bool obsolete, bytes32 genesis)
State-modifying
Events activateEmergencyState()
addExistingRollup(address rollupAddress, address verifier, uint64 forkID, uint64 chainID, bytes32 genesis, uint8 rollupCompatibilityID)
addNewRollupType(address consensusImplementation, address verifier, uint64 forkID, uint8 rollupCompatibilityID, bytes32 genesis, string description)
consolidatePendingState(uint32 rollupID, uint64 pendingStateNum)
createNewRollup(uint32 rollupTypeID, uint64 chainID, address admin, address sequencer, address gasTokenAddress, string sequencerURL, string networkName)
deactivateEmergencyState()
grantRole(bytes32 role, address account)
initialize(address trustedAggregator, uint64 _pendingStateTimeout, uint64 _trustedAggregatorTimeout, address admin, address timelock, address emergencyCouncil, address polygonZkEVM, address zkEVMVerifier, uint64 zkEVMForkID, uint64 zkEVMChainID)
obsoleteRollupType(uint32 rollupTypeID)
onSequenceBatches(uint64 newSequencedBatches, bytes32 newAccInputHash) returns (uint64)
overridePendingState(uint32 rollupID, uint64 initPendingStateNum, uint64 finalPendingStateNum, uint64 initNumBatch, uint64 finalNewBatch, bytes32 newLocalExitRoot, bytes32 newStateRoot, bytes32[24] proof)
proveNonDeterministicPendingState(uint32 rollupID, uint64 initPendingStateNum, uint64 finalPendingStateNum, uint64 initNumBatch, uint64 finalNewBatch, bytes32 newLocalExitRoot, bytes32 newStateRoot, bytes32[24] proof)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setBatchFee(uint256 newBatchFee)
setMultiplierBatchFee(uint16 newMultiplierBatchFee)
setPendingStateTimeout(uint64 newPendingStateTimeout)
setTrustedAggregatorTimeout(uint64 newTrustedAggregatorTimeout)
setVerifyBatchTimeTarget(uint64 newVerifyBatchTimeTarget)
updateRollup(address rollupContract, uint32 newRollupTypeID, bytes upgradeData)
verifyBatches(uint32 rollupID, uint64 pendingStateNum, uint64 initNumBatch, uint64 finalNewBatch, bytes32 newLocalExitRoot, bytes32 newStateRoot, address beneficiary, bytes32[24] proof)
verifyBatchesTrustedAggregator(uint32 rollupID, uint64 pendingStateNum, uint64 initNumBatch, uint64 finalNewBatch, bytes32 newLocalExitRoot, bytes32 newStateRoot, address beneficiary, bytes32[24] proof)
AddExistingRollup(uint32 indexed rollupID, uint64 forkID, address rollupAddress, uint64 chainID, uint8 rollupCompatibilityID, uint64 lastVerifiedBatchBeforeUpgrade)
AddNewRollupType(uint32 indexed rollupTypeID, address consensusImplementation, address verifier, uint64 forkID, uint8 rollupCompatibilityID, bytes32 genesis, string description)
ConsolidatePendingState(uint32 indexed rollupID, uint64 numBatch, bytes32 stateRoot, bytes32 exitRoot, uint64 pendingStateNum)
CreateNewRollup(uint32 indexed rollupID, uint32 rollupTypeID, address rollupAddress, uint64 chainID, address gasTokenAddress)
EmergencyStateActivated()
EmergencyStateDeactivated()
Initialized(uint8 version)
ObsoleteRollupType(uint32 indexed rollupTypeID)
OnSequenceBatches(uint32 indexed rollupID, uint64 lastBatchSequenced)
OverridePendingState(uint32 indexed rollupID, uint64 numBatch, bytes32 stateRoot, bytes32 exitRoot, address aggregator)
ProveNonDeterministicPendingState(bytes32 storedStateRoot, bytes32 provedStateRoot)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
SetBatchFee(uint256 newBatchFee)
SetMultiplierBatchFee(uint16 newMultiplierBatchFee)
SetPendingStateTimeout(uint64 newPendingStateTimeout)
SetTrustedAggregator(address newTrustedAggregator)
SetTrustedAggregatorTimeout(uint64 newTrustedAggregatorTimeout)
SetVerifyBatchTimeTarget(uint64 newVerifyBatchTimeTarget)
UpdateRollup(uint32 indexed rollupID, uint32 newRollupTypeID, uint64 lastVerifiedBatchBeforeUpgrade)
VerifyBatches(uint32 indexed rollupID, uint64 numBatch, bytes32 stateRoot, bytes32 exitRoot, address indexed aggregator)
VerifyBatchesTrustedAggregator(uint32 indexed rollupID, uint64 numBatch, bytes32 stateRoot, bytes32 exitRoot, address indexed aggregator)
constructor(address _globalExitRootManager, address _pol, address _bridgeAddress)
This contract contains no fallback and receive objects.
AccessControlOnlyCanRenounceRolesForSelf()
AddressDoNotHaveRequiredRole()
AllzkEVMSequencedBatchesMustBeVerified()
BatchFeeOutOfRange()
ChainIDAlreadyExist()
ExceedMaxVerifyBatches()
FinalNumBatchBelowLastVerifiedBatch()
FinalNumBatchDoesNotMatchPendingState()
FinalPendingStateNumInvalid()
HaltTimeoutNotExpired()
InitBatchMustMatchCurrentForkID()
InitNumBatchAboveLastVerifiedBatch()
InitNumBatchDoesNotMatchPendingState()
InvalidProof()
InvalidRangeBatchTimeTarget()
InvalidRangeMultiplierBatchFee()
MustSequenceSomeBatch()
NewAccInputHashDoesNotExist()
NewPendingStateTimeoutMustBeLower()
NewStateRootNotInsidePrime()
NewTrustedAggregatorTimeoutMustBeLower()
OldAccInputHashDoesNotExist()
OldStateRootDoesNotExist()
OnlyEmergencyState()
OnlyNotEmergencyState()
PendingStateDoesNotExist()
PendingStateInvalid()
PendingStateNotConsolidable()
RollupAddressAlreadyExist()
RollupMustExist()
RollupTypeDoesNotExist()
RollupTypeObsolete()
SenderMustBeRollup()
StoredRootMustBeDifferentThanNewRoot()
TrustedAggregatorTimeoutNotExpired()
UpdateNotCompatible()
UpdateToSameRollupTypeID()