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
ovpkGrumpkinPoint
ivpkGrumpkinPoint
noteNote

compute

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

Parameters

NameType
contract_addressAztecAddress
storage_slotField
ovsk_appField
ovpkGrumpkinPoint
ivpkGrumpkinPoint
noteNote

emit_with_keys

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

Parameters

NameType
context&mut PrivateContext
noteNote
ovpkGrumpkinPoint
ivpkGrumpkinPoint
inner_computefn(AztecAddress
Field
Field
GrumpkinPoint
GrumpkinPoint
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
ovpkGrumpkinPoint
ivpkGrumpkinPoint

encode_and_encrypt_note_with_keys_unconstrained

encode_and_encrypt_note_with_keys_unconstrained(context, ovpk, ivpk);

Parameters

NameType
context&mut PrivateContext
ovpkGrumpkinPoint
ivpkGrumpkinPoint