TransparentUpgradeableProxy

Verified contract

Proxy

Active on Ethereum with 91,956 txns
Deployed by via 0xe3420bbb at 16896721
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 47 additional slots
-
variable spans 9 additional slots
29 additional variables
ERC-20
Value $29.55
0x16a5cf3eb7a55cda91e49b47a106eecf0867e5a4d84e6d50b706e5a60a3eeabb
0x132fc065e0b2bfdd45f9ffd9fd518d5b09ab2ca86991bee2c1da8ade6cf71e8a
0xb8547da28f78fa13e3f2bc657aae6ffa2531552c6fa90af5fa89ca50f4af803e
0xf32b06f1cb6fb32f5ec9a228a6b9641f0994b0256ad67cfe9bfccbed35eab0a1
0x182ff83e8ad96cf6df7d4aabf84aa668811fc3b54769f675031963559a0cea01
0xdd5fdabc26ac4f16ea7d3eb673defd0bbb0ba1e07e320e10adda511529804f84
0x96c3934626079ac9f48ae45d40e71f1c594ea79aa5891bd0aff5d5a78ea50da2
0x041c09a9eb61c97f0d0491b7383bf1ffba038a1378581752e837940de419d09b
0xeb3e1604efef13e8a72ade39e4cc4c5eef33541f4e943957a155dfd01673b8d0
0x7a3a5b30b4cd968d784628500f3072a31d6616cb88759b04f5da8270ef183c68

Functions
Getter at block 20717703
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
bridgeAddress(view returns (address)
0x2a3dd3eb832af982ec71669e178424b10dca2ede
calculateRewardPerBatch(view returns (uint256)
100000000000000000
getBatchFee(view returns (uint256)
100000000000000000
getForcedBatchFee(view returns (uint256)
10000000000000000000
 
getRollupExitRoot(view returns (bytes32)
globalExitRootManager(view returns (address)
0x580bda1e7a0cfae92fa7f6c20a3794f169ce3cfb
isEmergencyState(view returns (bool)
false
lastAggregationTimestamp(view returns (uint64)
1725939875
lastDeactivatedEmergencyStateTimestamp(view returns (uint64)
1711323791
multiplierBatchFee(view returns (uint16)
1002
pendingStateTimeout(view returns (uint64)
432000
pol(view returns (address)
0x455e53cbb86018ac2b8092fdcd39d8444affc3f6
rollupCount(view returns (uint32)
10
rollupTypeCount(view returns (uint32)
4
totalSequencedBatches(view returns (uint64)
340240
totalVerifiedBatches(view returns (uint64)
339461
trustedAggregatorTimeout(view returns (uint64)
432000
verifyBatchTimeTarget(view returns (uint64)
1800
Read-only
chainIDToRollupID(uint64 chainIDview returns (uint32 rollupID)
getInputSnarkBytes(uint32 rollupIDuint64 initNumBatchuint64 finalNewBatchbytes32 newLocalExitRootbytes32 oldStateRootbytes32 newStateRootview returns (bytes)
getLastVerifiedBatch(uint32 rollupIDview returns (uint64)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRollupBatchNumToStateRoot(uint32 rollupIDuint64 batchNumview returns (bytes32)
getRollupPendingStateTransitions(uint32 rollupIDuint64 batchNumview returns (struct LegacyZKEVMStateVariablesPendingState)
getRollupSequencedBatches(uint32 rollupIDuint64 batchNumview returns (struct LegacyZKEVMStateVariablesSequencedBatchData)
hasRole(bytes32 roleaddress accountview returns (bool)
isPendingStateConsolidable(uint32 rollupIDuint64 pendingStateNumview returns (bool)
rollupAddressToID(address rollupAddressview returns (uint32 rollupID)
rollupIDToRollupData(uint32 rollupIDview returns (address rollupContractuint64 chainIDaddress verifieruint64 forkIDbytes32 lastLocalExitRootuint64 lastBatchSequenceduint64 lastVerifiedBatchuint64 lastPendingStateuint64 lastPendingStateConsolidateduint64 lastVerifiedBatchBeforeUpgradeuint64 rollupTypeIDuint8 rollupCompatibilityID)
rollupTypeMap(uint32 rollupTypeIDview returns (address consensusImplementationaddress verifieruint64 forkIDuint8 rollupCompatibilityIDbool obsoletebytes32 genesis)
State-modifying
admin(returns (address admin_)
changeAdmin(address newAdmin
implementation(returns (address implementation_)
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
activateEmergencyState(
addExistingRollup(address rollupAddressaddress verifieruint64 forkIDuint64 chainIDbytes32 genesisuint8 rollupCompatibilityID
addNewRollupType(address consensusImplementationaddress verifieruint64 forkIDuint8 rollupCompatibilityIDbytes32 genesisstring description
consolidatePendingState(uint32 rollupIDuint64 pendingStateNum
createNewRollup(uint32 rollupTypeIDuint64 chainIDaddress adminaddress sequenceraddress gasTokenAddressstring sequencerURLstring networkName
deactivateEmergencyState(
grantRole(bytes32 roleaddress account
initialize(address trustedAggregatoruint64 _pendingStateTimeoutuint64 _trustedAggregatorTimeoutaddress adminaddress timelockaddress emergencyCounciladdress polygonZkEVMaddress zkEVMVerifieruint64 zkEVMForkIDuint64 zkEVMChainID
obsoleteRollupType(uint32 rollupTypeID
onSequenceBatches(uint64 newSequencedBatchesbytes32 newAccInputHashreturns (uint64)
overridePendingState(uint32 rollupIDuint64 initPendingStateNumuint64 finalPendingStateNumuint64 initNumBatchuint64 finalNewBatchbytes32 newLocalExitRootbytes32 newStateRootbytes32[24] proof
proveNonDeterministicPendingState(uint32 rollupIDuint64 initPendingStateNumuint64 finalPendingStateNumuint64 initNumBatchuint64 finalNewBatchbytes32 newLocalExitRootbytes32 newStateRootbytes32[24] proof
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setBatchFee(uint256 newBatchFee
setMultiplierBatchFee(uint16 newMultiplierBatchFee
setPendingStateTimeout(uint64 newPendingStateTimeout
setTrustedAggregatorTimeout(uint64 newTrustedAggregatorTimeout
setVerifyBatchTimeTarget(uint64 newVerifyBatchTimeTarget
updateRollup(address rollupContractuint32 newRollupTypeIDbytes upgradeData
verifyBatches(uint32 rollupIDuint64 pendingStateNumuint64 initNumBatchuint64 finalNewBatchbytes32 newLocalExitRootbytes32 newStateRootaddress beneficiarybytes32[24] proof
verifyBatchesTrustedAggregator(uint32 rollupIDuint64 pendingStateNumuint64 initNumBatchuint64 finalNewBatchbytes32 newLocalExitRootbytes32 newStateRootaddress beneficiarybytes32[24] proof
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
Upgraded(address indexed implementation
AddExistingRollup(uint32 indexed rollupIDuint64 forkIDaddress rollupAddressuint64 chainIDuint8 rollupCompatibilityIDuint64 lastVerifiedBatchBeforeUpgrade
AddNewRollupType(uint32 indexed rollupTypeIDaddress consensusImplementationaddress verifieruint64 forkIDuint8 rollupCompatibilityIDbytes32 genesisstring description
ConsolidatePendingState(uint32 indexed rollupIDuint64 numBatchbytes32 stateRootbytes32 exitRootuint64 pendingStateNum
CreateNewRollup(uint32 indexed rollupIDuint32 rollupTypeIDaddress rollupAddressuint64 chainIDaddress gasTokenAddress
EmergencyStateActivated(
EmergencyStateDeactivated(
Initialized(uint8 version
ObsoleteRollupType(uint32 indexed rollupTypeID
OnSequenceBatches(uint32 indexed rollupIDuint64 lastBatchSequenced
OverridePendingState(uint32 indexed rollupIDuint64 numBatchbytes32 stateRootbytes32 exitRootaddress aggregator
ProveNonDeterministicPendingState(bytes32 storedStateRootbytes32 provedStateRoot
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SetBatchFee(uint256 newBatchFee
SetMultiplierBatchFee(uint16 newMultiplierBatchFee
SetPendingStateTimeout(uint64 newPendingStateTimeout
SetTrustedAggregator(address newTrustedAggregator
SetTrustedAggregatorTimeout(uint64 newTrustedAggregatorTimeout
SetVerifyBatchTimeTarget(uint64 newVerifyBatchTimeTarget
UpdateRollup(uint32 indexed rollupIDuint32 newRollupTypeIDuint64 lastVerifiedBatchBeforeUpgrade
VerifyBatches(uint32 indexed rollupIDuint64 numBatchbytes32 stateRootbytes32 exitRootaddress indexed aggregator
VerifyBatchesTrustedAggregator(uint32 indexed rollupIDuint64 numBatchbytes32 stateRootbytes32 exitRootaddress indexed aggregator
Constructor
constructor(address _logicaddress admin_bytes _data
Fallback and receive
fallback(
receive(
Errors
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(