Skip to main content

encrypted_event_emission

Standalone Functions

compute_unconstrained

compute_unconstrained(contract_address, randomness, ovsk_app, ovpk, ivpk, recipient, event);

Parameters

NameType
contract_addressAztecAddress
randomnessField
ovsk_appField
ovpkOvpkM
ivpkIvpkM
recipientAztecAddress
eventEvent

compute

compute(contract_address, randomness, ovsk_app, ovpk, ivpk, recipient, event);

Parameters

NameType
contract_addressAztecAddress
randomnessField
ovsk_appField
ovpkOvpkM
ivpkIvpkM
recipientAztecAddress
eventEvent

emit_with_keys

emit_with_keys(context, randomness, event, ovpk, ivpk, iv, inner_compute, Field, Field, OvpkM, IvpkM, AztecAddress, Event);

Parameters

NameType
context&mut PrivateContext
randomnessField
eventEvent
ovpkOvpkM
ivpkIvpkM
ivAztecAddress
inner_computefn(AztecAddress
Field
Field
OvpkM
IvpkM
AztecAddress
Event

encode_and_encrypt_event

encode_and_encrypt_event(context, ov, iv);

Parameters

NameType
context&mut PrivateContext
ovAztecAddress
ivAztecAddress

encode_and_encrypt_event_unconstrained

encode_and_encrypt_event_unconstrained(context, ov, iv);

Parameters

NameType
context&mut PrivateContext
ovAztecAddress
ivAztecAddress

encode_and_encrypt_event_with_randomness

encode_and_encrypt_event_with_randomness(context, randomness, ov, iv);

Parameters

NameType
context&mut PrivateContext
randomnessField
ovAztecAddress
ivAztecAddress

encode_and_encrypt_event_with_randomness_unconstrained

encode_and_encrypt_event_with_randomness_unconstrained(context, randomness, ov, iv);

Parameters

NameType
context&mut PrivateContext
randomnessField
ovAztecAddress
ivAztecAddress

encode_and_encrypt_event_with_keys

encode_and_encrypt_event_with_keys(context, ovpk, ivpk, recipient);

Parameters

NameType
context&mut PrivateContext
ovpkOvpkM
ivpkIvpkM
recipientAztecAddress

encode_and_encrypt_event_with_keys_unconstrained

encode_and_encrypt_event_with_keys_unconstrained(context, ovpk, ivpk, recipient);

Parameters

NameType
context&mut PrivateContext
ovpkOvpkM
ivpkIvpkM
recipientAztecAddress

encode_and_encrypt_event_with_keys_with_randomness

encode_and_encrypt_event_with_keys_with_randomness(context, randomness, ovpk, ivpk, recipient);

Parameters

NameType
context&mut PrivateContext
randomnessField
ovpkOvpkM
ivpkIvpkM
recipientAztecAddress

encode_and_encrypt_event_with_keys_with_randomness_unconstrained

encode_and_encrypt_event_with_keys_with_randomness_unconstrained(context, randomness, ovpk, ivpk, recipient);

Parameters

NameType
context&mut PrivateContext
randomnessField
ovpkOvpkM
ivpkIvpkM
recipientAztecAddress