Skip to main content

encrypted_event_emission

Standalone Functions

emit_with_keys

emit_with_keys(context, randomness, event, ovpk, ivpk);

Parameters

NameType
context&mut PrivateContext
randomnessField
eventEvent
ovpkGrumpkinPoint
ivpkGrumpkinPoint

encode_and_encrypt_event

encode_and_encrypt_event(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, randomness, ovpk, ivpk);

Parameters

NameType
context&mut PrivateContext
randomnessField
ovpkGrumpkinPoint
ivpkGrumpkinPoint