aztec-nr - field_note

Struct FieldNote

pub struct FieldNote {
    pub value: Field,
}

Fields

value: Field

Trait implementations

impl Deserialize for FieldNote

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

impl Eq for FieldNote

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

impl NoteHash for FieldNote

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<FieldNoteProperties> for FieldNote

pub fn properties() -> FieldNoteProperties

impl NoteType for FieldNote

pub fn get_id() -> Field

impl Packable for FieldNote

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

impl Serialize for FieldNote

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