aztec-nr - protocol_types::abis::checkpoint_header

Struct CheckpointHeader

pub struct CheckpointHeader {
    pub last_archive_root: Field,
    pub block_headers_hash: Field,
    pub content_commitment: ContentCommitment,
    pub slot_number: Field,
    pub timestamp: u64,
    pub coinbase: EthAddress,
    pub fee_recipient: AztecAddress,
    pub gas_fees: GasFees,
    pub total_mana_used: Field,
}

Fields

last_archive_root: Field
block_headers_hash: Field
content_commitment: ContentCommitment
slot_number: Field
timestamp: u64
coinbase: EthAddress
fee_recipient: AztecAddress
gas_fees: GasFees
total_mana_used: Field

Implementations

impl CheckpointHeader

pub fn to_be_bytes(self) -> [u8; 316]

Trait implementations

impl Deserialize for CheckpointHeader

pub fn deserialize(serialized: [Field; 12]) -> Self

impl Empty for CheckpointHeader

pub fn empty() -> Self pub fn is_empty(self) -> bool pub fn assert_empty<let S: u32>(self, msg: str<S>)

impl Eq for CheckpointHeader

pub fn eq(_self: Self, _other: Self) -> bool

impl Hash for CheckpointHeader

pub fn hash(self) -> Field

impl Serialize for CheckpointHeader

pub fn serialize(self) -> [Field; 12]