ScrollChain
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
12Slot
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
Balances ($0.00)
No balances found for "ScrollChain"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "ScrollChain"
ABI
ABI objects
Getter at block 20791606
lastFinalizedBatchIndex() view returns (uint256)
0
layer2ChainId() view returns (uint64)
534352
maxNumTxInChunk() view returns (uint256)
0
messageQueue() view returns (address)
0x0d7e906bd9cafa154b048cfa766cc1e54e39af9b
owner() view returns (address)
0x0000000000000000000000000000000000000000
paused() view returns (bool)
false
verifier() view returns (address)
0x4cea3e866e7c57fd75cb0ca3e9f5f1151d4ead3f
Read-only
committedBatches(uint256) view returns (bytes32)
finalizedStateRoots(uint256) view returns (bytes32)
isBatchFinalized(uint256 _batchIndex) view returns (bool)
isProver(address) view returns (bool)
isSequencer(address) view returns (bool)
withdrawRoots(uint256) view returns (bytes32)
State-modifying
Events addProver(address _account)
addSequencer(address _account)
commitBatch(uint8 _version, bytes _parentBatchHeader, bytes[] _chunks, bytes _skippedL1MessageBitmap)
commitBatchWithBlobProof(uint8 _version, bytes _parentBatchHeader, bytes[] _chunks, bytes _skippedL1MessageBitmap, bytes _blobDataProof)
finalizeBatchWithProof4844(bytes _batchHeader, bytes32, bytes32 _postStateRoot, bytes32 _withdrawRoot, bytes _blobDataProof, bytes _aggrProof)
finalizeBundleWithProof(bytes _batchHeader, bytes32 _postStateRoot, bytes32 _withdrawRoot, bytes _aggrProof)
importGenesisBatch(bytes _batchHeader, bytes32 _stateRoot)
initialize(address _messageQueue, address _verifier, uint256 _maxNumTxInChunk)
removeProver(address _account)
removeSequencer(address _account)
renounceOwnership()
revertBatch(bytes _firstBatchHeader, bytes _lastBatchHeader)
setPause(bool _status)
transferOwnership(address newOwner)
updateMaxNumTxInChunk(uint256 _maxNumTxInChunk)
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)
RevertBatch(uint256 indexed batchIndex, bytes32 indexed batchHash)
Unpaused(address account)
UpdateMaxNumTxInChunk(uint256 oldMaxNumTxInChunk, uint256 newMaxNumTxInChunk)
UpdateProver(address indexed account, bool status)
UpdateSequencer(address indexed account, bool status)
constructor(uint64 _chainId, address _messageQueue, address _verifier)
This contract contains no fallback and receive objects.
ErrorAccountIsNotEOA()
ErrorBatchHeaderV0LengthTooSmall()
ErrorBatchHeaderV1LengthTooSmall()
ErrorBatchHeaderV3LengthMismatch()
ErrorBatchIsAlreadyCommitted()
ErrorBatchIsAlreadyVerified()
ErrorBatchIsEmpty()
ErrorCallPointEvaluationPrecompileFailed()
ErrorCallerIsNotProver()
ErrorCallerIsNotSequencer()
ErrorFoundMultipleBlobs()
ErrorGenesisBatchHasNonZeroField()
ErrorGenesisBatchImported()
ErrorGenesisDataHashIsZero()
ErrorGenesisParentBatchHashIsNonZero()
ErrorIncompleteL2TransactionData()
ErrorIncorrectBatchHash()
ErrorIncorrectBatchIndex()
ErrorIncorrectBatchVersion()
ErrorIncorrectBitmapLength()
ErrorIncorrectBitmapLengthV0()
ErrorIncorrectBitmapLengthV1()
ErrorIncorrectChunkLengthV1()
ErrorLastL1MessageSkipped()
ErrorNoBlobFound()
ErrorNoBlockInChunkV1()
ErrorNumTxsLessThanNumL1Msgs()
ErrorRevertFinalizedBatch()
ErrorRevertNotStartFromEnd()
ErrorRevertZeroBatches()
ErrorStateRootIsZero()
ErrorTooManyTxsInOneChunk()
ErrorUnexpectedPointEvaluationPrecompileOutput()
ErrorZeroAddress()