aztec-nr - address_note

Struct AddressNote

pub struct AddressNote {
    pub address: AztecAddress,
}

Fields

address: AztecAddress

Trait implementations

impl Deserialize for AddressNote

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

impl Eq for AddressNote

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

impl NoteHash for AddressNote

pub fn compute_note_hash( self, owner: AztecAddress, storage_slot: Field, randomness: Field, ) -> Field pub fn compute_nullifier( self, context: &mut PrivateContext, owner: AztecAddress, note_hash_for_nullification: Field, ) -> Field pub unconstrained fn compute_nullifier_unconstrained( self, owner: AztecAddress, note_hash_for_nullification: Field, ) -> Field

impl NoteProperties<AddressNoteProperties> for AddressNote

pub fn properties() -> AddressNoteProperties

impl NoteType for AddressNote

pub fn get_id() -> Field

impl Packable for AddressNote

pub fn pack(self) -> [Field; 1] pub fn unpack(packed: [Field; 1]) -> Self

impl Serialize for AddressNote

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