Skip to main content

encrypted_note_emission

Standalone Functions

compute_unconstrained

compute_unconstrained(contract_address, storage_slot, ovsk_app, ovpk, ivpk, recipient, note);

Parameters

NameType
contract_addressAztecAddress
storage_slotField
ovsk_appField
ovpkPoint
ivpkPoint
recipientAztecAddress
noteNote

compute

compute(contract_address, storage_slot, ovsk_app, ovpk, ivpk, recipient, note);

Parameters

NameType
contract_addressAztecAddress
storage_slotField
ovsk_appField
ovpkPoint
ivpkPoint
recipientAztecAddress
noteNote

emit_with_keys

emit_with_keys(context, note, ovpk, ivpk, recipient, inner_compute, Field, Field, Point, Point, AztecAddress, Note);

Parameters

NameType
context&mut PrivateContext
noteNote
ovpkPoint
ivpkPoint
recipientAztecAddress
inner_computefn(AztecAddress
Field
Field
Point
Point
AztecAddress
Note

encode_and_encrypt_note

encode_and_encrypt_note(context, ov, iv);

Parameters

NameType
context&mut PrivateContext
ovAztecAddress
ivAztecAddress

encode_and_encrypt_note_unconstrained

encode_and_encrypt_note_unconstrained(context, ov, iv);

Parameters

NameType
context&mut PrivateContext
ovAztecAddress
ivAztecAddress

encode_and_encrypt_note_with_keys

encode_and_encrypt_note_with_keys(context, ovpk, ivpk, recipient);

Parameters

NameType
context&mut PrivateContext
ovpkPoint
ivpkPoint
recipientAztecAddress

encode_and_encrypt_note_with_keys_unconstrained

encode_and_encrypt_note_with_keys_unconstrained(context, ovpk, ivpk, recipient);

Parameters

NameType
context&mut PrivateContext
ovpkPoint
ivpkPoint
recipientAztecAddress