For the complete documentation index, see llms.txt.
aztec-nr - ecdsa_public_key_note

Struct EcdsaPublicKeyNote

pub struct EcdsaPublicKeyNote {
    pub x: [u8; 32],
    pub y: [u8; 32],
}

Stores an ECDSA public key composed of two 32-byte elements.

Fields

x: [u8; 32]
y: [u8; 32]

Trait implementations

impl Deserialize for EcdsaPublicKeyNote

pub fn deserialize(fields: [Field; 64]) -> Self pub fn stream_deserialize<let K: u32>(reader: &mut Reader<K>) -> Self

impl Eq for EcdsaPublicKeyNote

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

impl NoteHash for EcdsaPublicKeyNote

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, ) -> Option<Field>

impl NoteProperties<EcdsaPublicKeyNoteProperties> for EcdsaPublicKeyNote

pub fn properties() -> EcdsaPublicKeyNoteProperties

impl NoteType for EcdsaPublicKeyNote

pub fn get_id() -> Field

impl Packable for EcdsaPublicKeyNote

pub fn pack(self) -> [Field; 4] pub fn unpack(packed_note: [Field; 4]) -> Self

impl Serialize for EcdsaPublicKeyNote

pub fn serialize(self) -> [Field; 64] pub fn stream_serialize<let K: u32>(self, writer: &mut Writer<K>)