CanonicalStateChain
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
4
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
Balances ($0.00)
No balances found for "CanonicalStateChain"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "CanonicalStateChain"
ABI
ABI objects
Getter at block 21402809
UPGRADE_INTERFACE_VERSION() view returns (string)
5.0.0
chainHead() view returns (uint256)
0
challenge() view returns (address)
0x0000000000000000000000000000000000000000
getHead() view returns (struct CanonicalStateChainHeader)
(0, 0, 0x0000000000000000000000000000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000000000000000000000000000, [])
maxPointers() view returns (uint8)
0
owner() view returns (address)
0x0000000000000000000000000000000000000000
proxiableUUID() view returns (bytes32)
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
publisher() view returns (address)
0x0000000000000000000000000000000000000000
startingTimestamp() view returns (uint64)
0
Read-only
calculateHeaderHash(struct CanonicalStateChainHeader _header) pure returns (bytes32)
chain(uint256) view returns (bytes32)
getHeaderByHash(bytes32 _hash) view returns (struct CanonicalStateChainHeader)
getHeaderByNum(uint256 _index) view returns (struct CanonicalStateChainHeader)
getL2Output(uint256 _index) view returns (struct CanonicalStateChainOutput)
headerMetadata(bytes32) view returns (uint64 timestamp, address publisher)
State-modifying
Events initialize(address _publisher, struct CanonicalStateChainHeader _header)
pushBlock(struct CanonicalStateChainHeader _header)
renounceOwnership()
rollback(uint256 _blockNumber, bytes32 _blockHash)
setChallengeContract(address _challenge)
setMaxPointers(uint8 _maxPointers)
setPublisher(address _publisher)
transferOwnership(address newOwner)
upgradeToAndCall(address newImplementation, bytes data) payable
BlockAdded(uint256 indexed blockNumber)
ChallengeChanged(address indexed challenge)
Initialized(uint64 version)
OutputProposed(bytes32 indexed outputRoot, uint256 indexed l2OutputIndex, uint256 indexed l2BlockNumber, uint256 l1Timestamp)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
PublisherChanged(address indexed publisher)
RolledBack(uint256 indexed blockNumber)
Upgraded(address indexed implementation)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
AddressEmptyCode(address target)
ERC1967InvalidImplementation(address implementation)
ERC1967NonPayable()
FailedInnerCall()
InvalidInitialization()
NotInitializing()
OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount(address account)
UUPSUnauthorizedCallContext()
UUPSUnsupportedProxiableUUID(bytes32 slot)