Re-exportsยง
pub use v0_6::AccountQueryData;pub use v0_6::BlockMerkleCommitment;pub use v0_6::BlockMerkleTree;pub use v0_6::BuilderSignature;pub use v0_6::ChainId;pub use v0_6::FeeAccount;pub use v0_6::FeeAccountProof;pub use v0_6::FeeAmount;pub use v0_6::FeeInfo;pub use v0_6::FeeMerkleCommitment;pub use v0_6::FeeMerkleProof;pub use v0_6::FeeMerkleTree;pub use v0_6::Index;pub use v0_6::Iter;pub use v0_6::L1BlockInfo;pub use v0_6::L1Client;pub use v0_6::L1ClientOptions;pub use v0_6::L1Snapshot;pub use v0_6::NamespaceId;pub use v0_6::NsIndex;pub use v0_6::NsIter;pub use v0_6::NsPayload;pub use v0_6::NsPayloadBuilder;pub use v0_6::NsPayloadByteLen;pub use v0_6::NsPayloadOwned;pub use v0_6::NsPayloadRange;pub use v0_6::NsTable;pub use v0_6::NsTableBuilder;pub use v0_6::NsTableValidationError;pub use v0_6::NumNss;pub use v0_6::NumTxs;pub use v0_6::NumTxsRange;pub use v0_6::NumTxsUnchecked;pub use v0_6::Payload;pub use v0_6::PayloadByteLen;pub use v0_6::Transaction;pub use v0_6::TxIndex;pub use v0_6::TxIter;pub use v0_6::TxPayload;pub use v0_6::TxPayloadRange;pub use v0_6::TxTableEntries;pub use v0_6::TxTableEntriesRange;pub use v0_6::Upgrade;pub use v0_6::UpgradeType;pub use v0_6::UpgradeMode;pub use v0_6::TimeBasedUpgrade;pub use v0_6::ViewBasedUpgrade;pub use v0_6::BlockSize;pub use v0_3::StateCertQueryDataV1;pub use v0_4::StateCertQueryDataV2;pub use crate::v0_1::BLOCK_MERKLE_TREE_HEIGHT;pub use crate::v0_1::FEE_MERKLE_TREE_HEIGHT;pub use crate::v0_1::NS_ID_BYTE_LEN;pub use crate::v0_1::NS_OFFSET_BYTE_LEN;pub use crate::v0_1::NUM_NSS_BYTE_LEN;pub use crate::v0_1::NUM_TXS_BYTE_LEN;pub use crate::v0_1::TX_OFFSET_BYTE_LEN;pub use crate::v0_3::ChainConfig;
Modulesยง
- config
- header ๐
- impls ๐
- mock
- nsproof ๐
- sparse_
mt - testing
- traits
- This module contains all the traits used for building the sequencer types. It also includes some trait implementations that cannot be implemented in an external crate.
- txproof ๐
- utils ๐
- v0_1
- v0_2
- v0_3
- v0_4
- v0_5
- v0_6
Macrosยง
- assert_
eq_ ๐all_ versions_ of_ type - define_
modules ๐ - reexport_
latest_ ๐version_ of_ type - reexport_
unchanged_ ๐types - Re-export types which have not changed across any minor version.
- with_
minor_ ๐versions
Structsยง
- ADVZ
Namespace Proof Query Data - Backoff
Params - Computed
Rewards - Epoch
Committees - Type to describe DA and Stake memberships
- Genesis
Header - Information about the genesis state which feeds into the genesis block header.
- Namespace
Proof Query Data - Node
State - Represents the immutable state of a node.
- Parse
Duration Error - Parse
Size Error - Ratio
- Reward
Distributor - SeqTypes
- Sequencer
Versions - Stake
Table State - Timestamp
- Timestamp
Millis - Upgrade
Map - NewType to hold upgrades and some convenience behavior.
- Validated
State - State to be validated by replicas.
Enumsยง
- Builder
Validation Error - Possible builder validation failures
- FeeError
- Possible charge fee failures
- Header
- Each variant represents a specific minor version header.
- NsProof
- Each variant represents a specific version of a namespace proof.
- Parse
Ratio Error - Proposal
Validation Error - Possible proposal validation failures
- State
Validation Error - This enum is not used in code but functions as an index of possible validation errors.
- TxProof
- Update
Constantsยง
Functionsยง
- calculate_
proportion_ staked_ and_ reward_ rate - Calculates the stake ratio
pand reward rateR(p). - get_
l1_ deposits - parse_
duration - parse_
size - retain_
accounts - Get a partial snapshot of the given fee state, which contains only the specified accounts.
- upgrade_
commitment_ map - validators_
from_ l1_ events
Type Aliasesยง
- DaUpgrade
Version - DrbAnd
Header Upgrade Version - Epoch
Version - Event
- FeeVersion
- Leaf
- Leaf2
- MaxSupported
Version - The highest protocol version supported by this version of the software.
- Mock
Sequencer Versions - Network
Config - PrivKey
- PubKey
- Stake
Table Hash - V0_0
- V0_1
- Validator
Map - Vid2
Upgrade Version