aztec-nr - noir_aztec::protocol::abis::epoch_constant_data

Struct EpochConstantData

pub struct EpochConstantData {
    pub chain_id: Field,
    pub version: Field,
    pub vk_tree_root: Field,
    pub protocol_contracts_hash: Field,
    pub prover_id: Field,
}

Fields

chain_id: Field
version: Field
vk_tree_root: Field
protocol_contracts_hash: Field
prover_id: Field

Trait implementations

impl Deserialize for EpochConstantData

pub fn deserialize(fields: [Field; 5]) -> Self pub fn stream_deserialize<let K: u32>(reader: &mut Reader<K>) -> Self

impl Empty for EpochConstantData

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

impl Eq for EpochConstantData

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

impl Serialize for EpochConstantData

pub fn serialize(self) -> [Field; 5] pub fn stream_serialize<let K: u32>(self, writer: &mut Writer<K>)