encrypted_note_emission
Standalone Functions
compute_unconstrained
compute_unconstrained(contract_address, storage_slot, ovsk_app, ovpk, ivpk, note);
Parameters
Name | Type |
---|---|
contract_address | AztecAddress |
storage_slot | Field |
ovsk_app | Field |
ovpk | GrumpkinPoint |
ivpk | GrumpkinPoint |
note | Note |
compute
compute(contract_address, storage_slot, ovsk_app, ovpk, ivpk, note);
Parameters
Name | Type |
---|---|
contract_address | AztecAddress |
storage_slot | Field |
ovsk_app | Field |
ovpk | GrumpkinPoint |
ivpk | GrumpkinPoint |
note | Note |
emit_with_keys
emit_with_keys(context, note, ovpk, ivpk, inner_compute, Field, Field, GrumpkinPoint, GrumpkinPoint, Note);
Parameters
Name | Type |
---|---|
context | &mut PrivateContext |
note | Note |
ovpk | GrumpkinPoint |
ivpk | GrumpkinPoint |
inner_compute | fn(AztecAddress |
Field | |
Field | |
GrumpkinPoint | |
GrumpkinPoint | |
Note |
encode_and_encrypt_note
encode_and_encrypt_note(context, ov, iv);
Parameters
Name | Type |
---|---|
context | &mut PrivateContext |
ov | AztecAddress |
iv | AztecAddress |
encode_and_encrypt_note_unconstrained
encode_and_encrypt_note_unconstrained(context, ov, iv);
Parameters
Name | Type |
---|---|
context | &mut PrivateContext |
ov | AztecAddress |
iv | AztecAddress |
encode_and_encrypt_note_with_keys
encode_and_encrypt_note_with_keys(context, ovpk, ivpk);
Parameters
Name | Type |
---|---|
context | &mut PrivateContext |
ovpk | GrumpkinPoint |
ivpk | GrumpkinPoint |
encode_and_encrypt_note_with_keys_unconstrained
encode_and_encrypt_note_with_keys_unconstrained(context, ovpk, ivpk);
Parameters
Name | Type |
---|---|
context | &mut PrivateContext |
ovpk | GrumpkinPoint |
ivpk | GrumpkinPoint |