Expand description
The declaration of the most primitive types used in ZKsync network.
Most of them are just re-exported from the web3
crate.
Re-exports§
pub use ethabi;
Modules§
- basic_
fri_ types - Basic types for FRI prover.
- commitment
- network
- The network where the ZKsync resides.
- protocol_
version - prover_
dal - Types exposed by the prover DAL for general-purpose use.
- tee_
types - url
- vm_
version - web3
- Selected Web3 types copied from the
web3
crate.
Structs§
- Account
Tree Id - Account place in the global state tree is uniquely identified by its address. Binary this type is represented by 160 bit big-endian representation of account address.
- H64
- H128
- Fixed-size uninterpreted hash type with 16 bytes (128 bits) size.
- H160
- Fixed-size uninterpreted hash type with 20 bytes (160 bits) size.
- H256
- Fixed-size uninterpreted hash type with 32 bytes (256 bits) size.
- H512
- Fixed-size uninterpreted hash type with 64 bytes (512 bits) size.
- H520
- H2048
- Bloom hash type with 256 bytes (2048 bits) size.
- L1Batch
Number - ZKsync L1 batch sequential index.
- L1Block
Number - Ethereum network block sequential index.
- L1Chain
Id - ChainId in the Ethereum network.
- L2Block
Number - ZKsync network block sequential index.
- L2Chain
Id - ChainId in the ZKsync network.
- Nonce
- ZKsync account nonce.
- Priority
OpId - Unique identifier of the priority operation in the ZKsync network.
- U64
- Little-endian large integer type Unsigned 64-bit integer.
- U128
- Little-endian large integer type 128-bit unsigned integer.
- U256
- Little-endian large integer type 256-bit unsigned integer.