aztec-nr - value_note::value_note

Struct ValueNote

pub struct ValueNote
{ /* private fields */ }

Implementations

impl ValueNote

pub fn new(value: Field, owner: AztecAddress) -> Self pub fn value(self) -> Field

Trait implementations

impl Eq for ValueNote

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

impl NoteHash for ValueNote

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<ValueNoteProperties> for ValueNote

pub fn properties() -> ValueNoteProperties

impl NoteType for ValueNote

pub fn get_id() -> Field

impl Packable for ValueNote

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