ZkEvmV2

Verified contract

Implementation

Active on Ethereum with 5 txns
Deployed by via 0x479137d5 at 17870611
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 49 additional slots
-
variable spans 48 additional slots
-
variable spans 9 additional slots
-
variable spans 48 additional slots
-
variable spans 9 additional slots
-
variable spans 49 additional slots
1 additional variable
Native
Value $76.71
0xd4089281f6cca6e1a6ae761405d877e607a486e7ecf5f4aee469de4ed9167d85
0x8f478c07f773c8f24785361f6bb5d3861a2dbc0d0ffb6e4b93403a5ac8b9588c
0x6b380b6d8283173faa8900c2b01df4b7b414d8d8490d57cdb41bfdb8e4c7f79f
0x26e43b7839d24ac67d860a99413b3b8cfbbaada8af9ebf6bfa6db7e0eaf1d9db
0x7a540542cfe386817fce27cc4abbfeec64104f52df3ba8a184a2e3e893a32047

Functions
Getter at block 21311419
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
GENERAL_PAUSE_TYPE(view returns (bytes32)
0x06193bb948d6b7a6fcbe51c193ccf2183bb5d979b6ae5d3a6971b8851461d3b0
INBOX_STATUS_RECEIVED(view returns (uint8)
1
INBOX_STATUS_UNKNOWN(view returns (uint8)
0
L1_L2_PAUSE_TYPE(view returns (bytes32)
0x9a80e24e463f00a8763c4dcec6a92d07d33272fa5db895d8589be70dccb002df
L2_L1_PAUSE_TYPE(view returns (bytes32)
0x21ea2f4fee4bcb623de15ac222ea5c1464307d884f23394b78ddc07f9c9c7cd8
OPERATOR_ROLE(view returns (bytes32)
0x97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929
OUTBOX_STATUS_RECEIVED(view returns (uint8)
2
OUTBOX_STATUS_SENT(view returns (uint8)
1
OUTBOX_STATUS_UNKNOWN(view returns (uint8)
0
PAUSE_MANAGER_ROLE(view returns (bytes32)
0x356a809dfdea9198dd76fb76bf6d403ecf13ea675eb89e1eda2db2c4a4676a26
PROVING_SYSTEM_PAUSE_TYPE(view returns (bytes32)
0x3a56b1bd788a764cbd923badb6d0719f21f520455285bf6877e636d08708878d
RATE_LIMIT_SETTER_ROLE(view returns (bytes32)
0x1185e52d62bfbbea270e57d3d09733d221b53ab7a18bae82bb3c6c74bab16d82
currentL2BlockNumber(view returns (uint256)
0
currentPeriodAmountInWei(view returns (uint256)
0
currentPeriodEnd(view returns (uint256)
0
currentTimestamp(view returns (uint256)
0
limitInWei(view returns (uint256)
0
nextMessageNumber(view returns (uint256)
5
periodInSeconds(view returns (uint256)
0
sender(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
inboxL2L1MessageStatus(bytes32view returns (uint256)
outboxL1L2MessageStatus(bytes32view returns (uint256)
pauseTypeStatuses(bytes32view returns (bool)
stateRootHashes(uint256view returns (bytes32)
supportsInterface(bytes4 interfaceIdview returns (bool)
verifiers(uint256view returns (address)
State-modifying
claimMessage(address _fromaddress _touint256 _feeuint256 _valueaddress _feeRecipientbytes _calldatauint256 _nonce
finalizeBlocks(struct IZkEvmV2BlockData[] _blocksDatabytes _proofuint256 _proofTypebytes32 _parentStateRootHash
finalizeBlocksWithoutProof(struct IZkEvmV2BlockData[] _blocksData
grantRole(bytes32 roleaddress account
initialize(bytes32 _initialStateRootHashuint256 _initialL2BlockNumberaddress _defaultVerifieraddress _securityCounciladdress[] _operatorsuint256 _rateLimitPeriodInSecondsuint256 _rateLimitAmountInWei
pauseByType(bytes32 _pauseType
renounceRole(bytes32 roleaddress account
resetAmountUsedInPeriod(
resetRateLimitAmount(uint256 _amount
revokeRole(bytes32 roleaddress account
sendMessage(address _touint256 _feebytes _calldatapayable 
setVerifierAddress(address _newVerifierAddressuint256 _proofType
unPauseByType(bytes32 _pauseType
Events
AmountUsedInPeriodReset(address indexed resettingAddress
BlockFinalized(uint256 indexed blockNumberbytes32 indexed stateRootHash
BlocksVerificationDone(uint256 indexed lastBlockFinalizedbytes32 startingRootHashbytes32 finalRootHash
Initialized(uint8 version
L1L2MessagesReceivedOnL2(bytes32[] messageHashes
L2L1MessageHashAddedToInbox(bytes32 indexed messageHash
LimitAmountChanged(address indexed amountChangeByuint256 amountbool amountUsedLoweredToLimitbool usedAmountResetToZero
MessageClaimed(bytes32 indexed _messageHash
MessageSent(address indexed _fromaddress indexed _touint256 _feeuint256 _valueuint256 _noncebytes _calldatabytes32 indexed _messageHash
Paused(address messageSenderbytes32 pauseType
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
UnPaused(address messageSenderbytes32 pauseType
VerifierAddressChanged(address indexed verifierAddressuint256 indexed proofTypeaddress indexed verifierSetBy
Constructor
constructor(
Fallback and receive
receive(
Errors
BlockTimestampError(
EmptyBlock(
EmptyBlockDataArray(
FeePaymentFailed(address recipient
FeeTooLow(
InvalidProof(
InvalidProofType(
IsNotPaused(bytes32 pauseType
IsPaused(bytes32 pauseType
L1L2MessageNotSent(bytes32 messageHash
LimitIsZero(
MemoryOutOfBounds(uint256 inde
MessageAlreadyReceived(bytes32 messageHash
MessageAlreadySent(
MessageDoesNotExistOrHasAlreadyBeenClaimed(
MessageSendingFailed(address destination
NotList(
PeriodIsZero(
ProofIsEmpty(
RateLimitExceeded(
StartingRootHashDoesNotMatch(
TransactionShort(
UnknownTransactionType(
ValueSentTooLow(
ValueShouldBeGreaterThanFee(
WrongBytesLength(
ZeroAddressNotAllowed(