Module v0_3

Module v0_3 

Source

Re-exportsΒ§

pub use super::v0_1::ADVZNsProof;
pub use super::v0_1::ADVZTxProof;
pub use super::v0_1::AccountQueryData;
pub use super::v0_1::BlockMerkleCommitment;
pub use super::v0_1::BlockMerkleTree;
pub use super::v0_1::BlockSize;
pub use super::v0_1::BuilderSignature;
pub use super::v0_1::ChainId;
pub use super::v0_1::FeeAccount;
pub use super::v0_1::FeeAccountProof;
pub use super::v0_1::FeeAmount;
pub use super::v0_1::FeeInfo;
pub use super::v0_1::FeeMerkleCommitment;
pub use super::v0_1::FeeMerkleProof;
pub use super::v0_1::FeeMerkleTree;
pub use super::v0_1::Index;
pub use super::v0_1::Iter;
pub use super::v0_1::L1BlockInfo;
pub use super::v0_1::L1Client;
pub use super::v0_1::L1ClientOptions;
pub use super::v0_1::L1Snapshot;
pub use super::v0_1::NamespaceId;
pub use super::v0_1::NsIndex;
pub use super::v0_1::NsIter;
pub use super::v0_1::NsPayload;
pub use super::v0_1::NsPayloadBuilder;
pub use super::v0_1::NsPayloadByteLen;
pub use super::v0_1::NsPayloadOwned;
pub use super::v0_1::NsPayloadRange;
pub use super::v0_1::NsTable;
pub use super::v0_1::NsTableBuilder;
pub use super::v0_1::NsTableValidationError;
pub use super::v0_1::NumNss;
pub use super::v0_1::NumTxs;
pub use super::v0_1::NumTxsRange;
pub use super::v0_1::NumTxsUnchecked;
pub use super::v0_1::Payload;
pub use super::v0_1::PayloadByteLen;
pub use super::v0_1::TimeBasedUpgrade;
pub use super::v0_1::Transaction;
pub use super::v0_1::TxIndex;
pub use super::v0_1::TxIter;
pub use super::v0_1::TxPayload;
pub use super::v0_1::TxPayloadRange;
pub use super::v0_1::TxTableEntries;
pub use super::v0_1::TxTableEntriesRange;
pub use super::v0_1::Upgrade;
pub use super::v0_1::UpgradeMode;
pub use super::v0_1::UpgradeType;
pub use super::v0_1::ViewBasedUpgrade;
pub use super::v0_1::BLOCK_MERKLE_TREE_HEIGHT;
pub use super::v0_1::FEE_MERKLE_TREE_HEIGHT;
pub use super::v0_1::NS_ID_BYTE_LEN;
pub use super::v0_1::NS_OFFSET_BYTE_LEN;
pub use super::v0_1::NUM_NSS_BYTE_LEN;
pub use super::v0_1::NUM_TXS_BYTE_LEN;
pub use super::v0_1::TX_OFFSET_BYTE_LEN;

ModulesΒ§

chain_config πŸ”’
header πŸ”’
nsproof πŸ”’
stake_table πŸ”’
state πŸ”’
state_cert πŸ”’
State certificate query data type
txproof πŸ”’

StructsΒ§

AuthenticatedValidator
Validator eligible for consensus participation. Guaranteed to have valid BLS and Schnorr signatures. This is a newtype wrapper around RegisteredValidator that guarantees authenticated=true.
AvidMIncorrectEncodingNsProof
The namespace proof for incorrect encoding.
AvidMNsProof
Re-export the AVID-M namespace proof.
AvidMTxProof
ChainConfig
Global variables for an Espresso blockchain.
CombinedStakeTable
Stake table holding all staking information (DA and non-DA stakers)
DAMembers
NewType to disambiguate DA Membership
Delegator
Fetcher
Header
A header is like a [Block] with the body replaced by a digest.
RegisteredValidator
Validator as registered in the stake table contract. May or may not have valid signatures (contract can’t fully verify Schnorr). Used for state tracking. To participate in consensus, must be authenticated and converted to AuthenticatedValidator via TryFrom.
ResolvableChainConfig
RewardAccountProofV1
RewardAccountQueryDataV1
RewardAccountV1
RewardAmount
StakeTable
NewType to disambiguate StakeTable
StateCertQueryDataV1
A wrapper around LightClientStateUpdateCertificateV1.
UnauthenticatedValidatorError
ValidatorDeprecated

EnumsΒ§

EventSortingError
ExpectedStakeTableError
FetchRewardError
RewardMerkleProofV1
StakeTableError
StakeTableEvent

ConstantsΒ§

COMMISSION_BASIS_POINTS
REWARD_MERKLE_TREE_V1_ARITY
REWARD_MERKLE_TREE_V1_HEIGHT
VERSION

Type AliasesΒ§

EventKey
IndexedStake
Type for holding result sets matching epochs to stake tables.
RewardMerkleCommitmentV1
RewardMerkleTreeV1