Skip to main content

encrypted_note_emission

Standalone Functions

compute_unconstrained

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

Parameters

NameType
contract_addressAztecAddress
storage_slotField
ovsk_appField
ovpkPoint
ivpkPoint
noteNote

compute

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

Parameters

NameType
contract_addressAztecAddress
storage_slotField
ovsk_appField
ovpkPoint
ivpkPoint
noteNote

emit_with_keys

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

Parameters

NameType
context&mut PrivateContext
noteNote
ovpkPoint
ivpkPoint
inner_computefn(AztecAddress
Field
Field
Point
Point
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);

Parameters

NameType
context&mut PrivateContext
ovpkPoint
ivpkPoint

encode_and_encrypt_note_with_keys_unconstrained

encode_and_encrypt_note_with_keys_unconstrained(context, ovpk, ivpk);

Parameters

NameType
context&mut PrivateContext
ovpkPoint
ivpkPoint