aztec-nr - protocol_types::abis::nullifier

Struct ScopedNullifier

pub struct ScopedNullifier {
    pub nullifier: Nullifier,
    pub contract_address: AztecAddress,
}

Fields

nullifier: Nullifier
contract_address: AztecAddress

Implementations

impl ScopedNullifier

pub fn nullified_note_hash(self) -> Field pub fn expose_to_public(self) -> Nullifier

Trait implementations

impl Deserialize for ScopedNullifier

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

impl Empty for ScopedNullifier

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

impl Eq for ScopedNullifier

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

impl Ordered for ScopedNullifier

pub fn counter(self) -> u32

impl OrderedValue<Field> for ScopedNullifier

pub fn value(self) -> Field

impl Readable<ScopedReadRequest> for ScopedNullifier

pub fn assert_match_read_request(self, read_request: ScopedReadRequest)

impl Scoped<Nullifier> for ScopedNullifier

pub fn contract_address(self) -> AztecAddress pub fn inner(self) -> Nullifier

impl Serialize for ScopedNullifier

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