For the complete documentation index, see llms.txt.
aztec-nr - noir_aztec::facts

Struct OriginBlock

pub struct OriginBlock {
    pub block_number: u32,
    pub block_hash: Field,
}

The block a retractable fact originates from.

Fields

block_number: u32
block_hash: Field

Trait implementations

impl Deserialize for OriginBlock

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

impl Eq for OriginBlock

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

impl Serialize for OriginBlock

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