encrypted_note_emission
Standalone Functions
compute_unconstrained
compute_unconstrained(contract_address, storage_slot, ovsk_app, ovpk, ivpk, recipient, note);
Parameters
Name | Type |
---|---|
contract_address | AztecAddress |
storage_slot | Field |
ovsk_app | Field |
ovpk | OvpkM |
ivpk | IvpkM |
recipient | AztecAddress |
note | Note |
compute
compute(contract_address, storage_slot, ovsk_app, ovpk, ivpk, recipient, note);
Parameters
Name | Type |
---|---|
contract_address | AztecAddress |
storage_slot | Field |
ovsk_app | Field |
ovpk | OvpkM |
ivpk | IvpkM |
recipient | AztecAddress |
note | Note |
emit_with_keys
emit_with_keys(context, note, ovpk, ivpk, recipient, inner_compute, Field, Field, OvpkM, IvpkM, AztecAddress, Note);
Parameters
Name | Type |
---|---|
context | &mut PrivateContext |
note | Note |
ovpk | OvpkM |
ivpk | IvpkM |
recipient | AztecAddress |
inner_compute | fn(AztecAddress |
Field | |
Field | |
OvpkM | |
IvpkM | |
AztecAddress | |
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, recipient);
Parameters
Name | Type |
---|---|
context | &mut PrivateContext |
ovpk | OvpkM |
ivpk | IvpkM |
recipient | AztecAddress |
encode_and_encrypt_note_with_keys_unconstrained
encode_and_encrypt_note_with_keys_unconstrained(context, ovpk, ivpk, recipient);
Parameters
Name | Type |
---|---|
context | &mut PrivateContext |
ovpk | OvpkM |
ivpk | IvpkM |
recipient | AztecAddress |