encrypted_event_emission
Standalone Functions
compute_unconstrained
compute_unconstrained(contract_address, randomness, ovsk_app, ovpk, ivpk, recipient, event);
Parameters
Name | Type |
---|---|
contract_address | AztecAddress |
randomness | Field |
ovsk_app | Field |
ovpk | OvpkM |
ivpk | IvpkM |
recipient | AztecAddress |
event | Event |
compute
compute(contract_address, randomness, ovsk_app, ovpk, ivpk, recipient, event);
Parameters
Name | Type |
---|---|
contract_address | AztecAddress |
randomness | Field |
ovsk_app | Field |
ovpk | OvpkM |
ivpk | IvpkM |
recipient | AztecAddress |
event | Event |
emit_with_keys
emit_with_keys(context, randomness, event, ovpk, ivpk, iv, inner_compute, Field, Field, OvpkM, IvpkM, AztecAddress, Event);
Parameters
Name | Type |
---|---|
context | &mut PrivateContext |
randomness | Field |
event | Event |
ovpk | OvpkM |
ivpk | IvpkM |
iv | AztecAddress |
inner_compute | fn(AztecAddress |
Field | |
Field | |
OvpkM | |
IvpkM | |
AztecAddress | |
Event |
encode_and_encrypt_event
encode_and_encrypt_event(context, ov, iv);
Parameters
Name | Type |
---|---|
context | &mut PrivateContext |
ov | AztecAddress |
iv | AztecAddress |
encode_and_encrypt_event_unconstrained
encode_and_encrypt_event_unconstrained(context, ov, iv);
Parameters
Name | Type |
---|---|
context | &mut PrivateContext |
ov | AztecAddress |
iv | AztecAddress |
encode_and_encrypt_event_with_randomness
encode_and_encrypt_event_with_randomness(context, randomness, ov, iv);
Parameters
Name | Type |
---|---|
context | &mut PrivateContext |
randomness | Field |
ov | AztecAddress |
iv | AztecAddress |
encode_and_encrypt_event_with_randomness_unconstrained
encode_and_encrypt_event_with_randomness_unconstrained(context, randomness, ov, iv);
Parameters
Name | Type |
---|---|
context | &mut PrivateContext |
randomness | Field |
ov | AztecAddress |
iv | AztecAddress |
encode_and_encrypt_event_with_keys
encode_and_encrypt_event_with_keys(context, ovpk, ivpk, recipient);
Parameters
Name | Type |
---|---|
context | &mut PrivateContext |
ovpk | OvpkM |
ivpk | IvpkM |
recipient | AztecAddress |
encode_and_encrypt_event_with_keys_unconstrained
encode_and_encrypt_event_with_keys_unconstrained(context, ovpk, ivpk, recipient);
Parameters
Name | Type |
---|---|
context | &mut PrivateContext |
ovpk | OvpkM |
ivpk | IvpkM |
recipient | AztecAddress |
encode_and_encrypt_event_with_keys_with_randomness
encode_and_encrypt_event_with_keys_with_randomness(context, randomness, ovpk, ivpk, recipient);
Parameters
Name | Type |
---|---|
context | &mut PrivateContext |
randomness | Field |
ovpk | OvpkM |
ivpk | IvpkM |
recipient | AztecAddress |
encode_and_encrypt_event_with_keys_with_randomness_unconstrained
encode_and_encrypt_event_with_keys_with_randomness_unconstrained(context, randomness, ovpk, ivpk, recipient);
Parameters
Name | Type |
---|---|
context | &mut PrivateContext |
randomness | Field |
ovpk | OvpkM |
ivpk | IvpkM |
recipient | AztecAddress |