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
ovpkOvpkM
ivpkIvpkM
recipientAztecAddress
noteNote

compute

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

Parameters

NameType
contract_addressAztecAddress
storage_slotField
ovsk_appField
ovpkOvpkM
ivpkIvpkM
recipientAztecAddress
noteNote

emit_with_keys

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

Parameters

NameType
context&mut PrivateContext
noteNote
ovpkOvpkM
ivpkIvpkM
recipientAztecAddress
inner_computefn(AztecAddress
Field
Field
OvpkM
IvpkM
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
ovpkOvpkM
ivpkIvpkM
recipientAztecAddress

encode_and_encrypt_note_with_keys_unconstrained

encode_and_encrypt_note_with_keys_unconstrained(context, ovpk, ivpk, recipient);

Parameters

NameType
context&mut PrivateContext
ovpkOvpkM
ivpkIvpkM
recipientAztecAddress