ScrollChain

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x6f970abe at 20460107
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 48 additional slots

No balances found for "ScrollChain"

No transactions found for "ScrollChain"


Functions
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(uint256view returns (bytes32)
finalizedStateRoots(uint256view returns (bytes32)
isBatchFinalized(uint256 _batchIndexview returns (bool)
isProver(addressview returns (bool)
isSequencer(addressview returns (bool)
withdrawRoots(uint256view returns (bytes32)
State-modifying
addProver(address _account
addSequencer(address _account
commitBatch(uint8 _versionbytes _parentBatchHeaderbytes[] _chunksbytes _skippedL1MessageBitmap
commitBatchWithBlobProof(uint8 _versionbytes _parentBatchHeaderbytes[] _chunksbytes _skippedL1MessageBitmapbytes _blobDataProof
finalizeBatchWithProof4844(bytes _batchHeaderbytes32bytes32 _postStateRootbytes32 _withdrawRootbytes _blobDataProofbytes _aggrProof
finalizeBundleWithProof(bytes _batchHeaderbytes32 _postStateRootbytes32 _withdrawRootbytes _aggrProof
importGenesisBatch(bytes _batchHeaderbytes32 _stateRoot
initialize(address _messageQueueaddress _verifieruint256 _maxNumTxInChunk
removeProver(address _account
removeSequencer(address _account
renounceOwnership(
revertBatch(bytes _firstBatchHeaderbytes _lastBatchHeader
setPause(bool _status
transferOwnership(address newOwner
updateMaxNumTxInChunk(uint256 _maxNumTxInChunk
Events
CommitBatch(uint256 indexed batchIndexbytes32 indexed batchHash
FinalizeBatch(uint256 indexed batchIndexbytes32 indexed batchHashbytes32 stateRootbytes32 withdrawRoot
Initialized(uint8 version
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Paused(address account
RevertBatch(uint256 indexed batchIndexbytes32 indexed batchHash
Unpaused(address account
UpdateMaxNumTxInChunk(uint256 oldMaxNumTxInChunkuint256 newMaxNumTxInChunk
UpdateProver(address indexed accountbool status
UpdateSequencer(address indexed accountbool status
Constructor
constructor(uint64 _chainIdaddress _messageQueueaddress _verifier
Fallback and receive

This contract contains no fallback and receive objects.

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