Skip to main content

encrypted_note_emission

Standalone Functions

compute_payload

compute_payload(context, note, recipient, sender, );

/ Computes private note log payload

Parameters

NameType
contextPrivateContext
noteNote
recipientAztecAddress
senderAztecAddress

compute_payload_unconstrained

compute_payload_unconstrained(context, note, recipient, sender, );

Parameters

NameType
contextPrivateContext
noteNote
recipientAztecAddress
senderAztecAddress

encode_and_encrypt_note

encode_and_encrypt_note(context, recipient, // We need this because to compute a tagging secret, we require a sender, );

If you get weird behavior it might be because of it.

Parameters

NameType
context&mut PrivateContext
recipientAztecAddress
// We need this because to compute a tagging secret
we require a sendersender

encode_and_encrypt_note_unconstrained

encode_and_encrypt_note_unconstrained(context, recipient, // We need this because to compute a tagging secret, we require a sender, );

Parameters

NameType
context&mut PrivateContext
recipientAztecAddress
// We need this because to compute a tagging secret
we require a sendersender