Rollup
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
7
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 48 additional slots
3 additional
variables
Balances ($0.00)
No balances found for "Rollup"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "Rollup"
ABI
ABI objects
Getter at block 21248945
LAYER_2_CHAIN_ID() view returns (uint64)
2818
__maxNumTxInChunk() view returns (uint256)
0
batchChallenged() view returns (uint256)
0
finalizationPeriodSeconds() view returns (uint256)
0
inChallenge() view returns (bool)
false
l1StakingContract() view returns (address)
0x0000000000000000000000000000000000000000
lastCommittedBatchIndex() view returns (uint256)
0
lastFinalizedBatchIndex() view returns (uint256)
0
messageQueue() view returns (address)
0x0000000000000000000000000000000000000000
owner() view returns (address)
0x0000000000000000000000000000000000000000
paused() view returns (bool)
false
proofRewardPercent() view returns (uint256)
0
proofWindow() view returns (uint256)
0
proveRemaining() view returns (uint256)
0
revertReqIndex() view returns (uint256)
0
verifier() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
batchChallengeReward(address owner) view returns (uint256 amount)
batchChallengedSuccess(uint256 batchIndex) view returns (bool)
batchDataStore(uint256 batchIndex) view returns (uint256 originTimestamp, uint256 finalizeTimestamp, uint256 blockNumber, uint256 signedSequencersBitmap)
batchExist(uint256 batchIndex) view returns (bool)
batchInChallenge(uint256 batchIndex) view returns (bool)
batchInsideChallengeWindow(uint256 batchIndex) view returns (bool)
challenges(uint256 batchIndex) view returns (uint64 batchIndex, address challenger, uint256 challengeDeposit, uint256 startTime, bool challengeSuccess, bool finished)
committedBatches(uint256 batchIndex) view returns (bytes32 batchHash)
finalizedStateRoots(uint256 batchIndex) view returns (bytes32 stateRoot)
isBatchFinalized(uint256 _batchIndex) view returns (bool)
isChallenger(address challengerAddress) view returns (bool isChallenger)
withdrawalRoots(bytes32 withdrawalRoot) view returns (bool exist)
State-modifying
Events addChallenger(address _account)
challengeState(uint64 batchIndex, bytes32 _batchHash) payable
claimProveRemaining(address receiver)
claimReward(address receiver)
commitBatch(struct IRollupBatchDataInput batchDataInput, struct IRollupBatchSignatureInput batchSignatureInput) payable
finalizeBatch(bytes _batchHeader)
importGenesisBatch(bytes _batchHeader)
initialize(address _l1StakingContract, address _messageQueue, address _verifier, uint256 _finalizationPeriodSeconds, uint256 _proofWindow, uint256 _proofRewardPercent)
proveState(bytes _batchHeader, bytes _batchProof)
removeChallenger(address _account)
renounceOwnership()
revertBatch(bytes _batchHeader, uint256 _count)
setPause(bool _status)
transferOwnership(address newOwner)
updateFinalizePeriodSeconds(uint256 _newPeriod)
updateProofWindow(uint256 _newWindow)
updateRewardPercentage(uint256 _newProofRewardPercent)
updateVerifier(address _newVerifier)
ChallengeRes(uint256 indexed batchIndex, address indexed winner, string indexed res)
ChallengeRewardClaim(address indexed receiver, uint256 amount)
ChallengeState(uint64 indexed batchIndex, address indexed challenger, uint256 challengeDeposit)
CommitBatch(uint256 indexed batchIndex, bytes32 indexed batchHash)
FinalizeBatch(uint256 indexed batchIndex, bytes32 indexed batchHash, bytes32 stateRoot, bytes32 withdrawRoot)
Initialized(uint8 version)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Paused(address account)
ProveRemainingClaimed(address receiver, uint256 amount)
RevertBatch(uint256 indexed batchIndex, bytes32 indexed batchHash)
Unpaused(address account)
UpdateChallenger(address indexed account, bool status)
UpdateFinalizationPeriodSeconds(uint256 oldPeriod, uint256 newPeriod)
UpdateProofRewardPercent(uint256 oldPercent, uint256 newPercent)
UpdateProofWindow(uint256 oldWindow, uint256 newWindow)
UpdateVerifier(address indexed oldVerifier, address indexed newVerifier)
constructor(uint64 _chainID)
receive()
ErrZeroAddress()
ErrorIncorrectBatchLength()
ErrorNoBlockInBatch()