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

Struct OriginBlockState

pub struct OriginBlockState
{ /* private fields */ }

Chain state of a retractable fact's origin block, mirroring the L2 chain tips.

Implementations

impl OriginBlockState

pub fn pending() -> Self pub fn proven() -> Self pub fn finalized() -> Self pub fn is_pending(self) -> bool

Whether the origin block is still above the proven tip.

pub fn is_proven(self) -> bool

Whether the origin block is proven but not yet finalized.

pub fn is_finalized(self) -> bool

Whether the origin block is finalized, and thus facts related to it can no longer be retracted.

Trait implementations

impl Deserialize for OriginBlockState

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

impl Eq for OriginBlockState

pub fn eq(self, other: Self) -> bool

impl Serialize for OriginBlockState

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