Skip to main content

encrypted_event_emission

Standalone Functions

compute_unconstrained

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

Parameters

NameType
contract_addressAztecAddress
randomnessField
ovsk_appField
ovpkPoint
ivpkPoint
eventEvent

compute

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

Parameters

NameType
contract_addressAztecAddress
randomnessField
ovsk_appField
ovpkPoint
ivpkPoint
eventEvent

emit_with_keys

emit_with_keys(context, randomness, event, ovpk, ivpk, inner_compute, Field, Field, Point, Point, Event);

Parameters

NameType
context&mut PrivateContext
randomnessField
eventEvent
ovpkPoint
ivpkPoint
inner_computefn(AztecAddress
Field
Field
Point
Point
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);

Parameters

NameType
context&mut PrivateContext
ovpkPoint
ivpkPoint

encode_and_encrypt_event_with_keys_unconstrained

encode_and_encrypt_event_with_keys_unconstrained(context, ovpk, ivpk);

Parameters

NameType
context&mut PrivateContext
ovpkPoint
ivpkPoint

encode_and_encrypt_event_with_keys_with_randomness

encode_and_encrypt_event_with_keys_with_randomness(context, randomness, ovpk, ivpk);

Parameters

NameType
context&mut PrivateContext
randomnessField
ovpkPoint
ivpkPoint

encode_and_encrypt_event_with_keys_with_randomness_unconstrained

encode_and_encrypt_event_with_keys_with_randomness_unconstrained(context, randomness, ovpk, ivpk);

Parameters

NameType
context&mut PrivateContext
randomnessField
ovpkPoint
ivpkPoint