aztec-nr - address_note::address_note

Struct AddressNote

pub struct AddressNote
{ /* private fields */ }

Implementations

impl AddressNote

pub fn new(address: AztecAddress, owner: AztecAddress) -> Self pub fn get_address(self) -> AztecAddress

Trait implementations

impl Eq for AddressNote

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

impl NoteHash for AddressNote

pub fn compute_note_hash(self, storage_slot: Field) -> Field pub fn compute_nullifier( self, context: &mut PrivateContext, note_hash_for_nullify: Field, ) -> Field pub unconstrained fn compute_nullifier_unconstrained( self, note_hash_for_nullify: 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; 3] pub fn unpack(packed: [Field; 3]) -> Self