Skip to main content
Version: Next

event

Standalone Functions

compute_log

compute_log(event, recipient, sender, );

Parameters

NameType
eventEvent
recipientAztecAddress
senderAztecAddress

compute_log_unconstrained

compute_log_unconstrained(event, recipient, sender, );

Parameters

NameType
eventEvent
recipientAztecAddress
senderAztecAddress

encode_and_encrypt_event

encode_and_encrypt_event(context, recipient, sender, );

/ private logs.

Parameters

NameType
context&mut PrivateContext
recipientAztecAddress
senderAztecAddress

encode_and_encrypt_event_unconstrained

encode_and_encrypt_event_unconstrained(context, recipient, sender, );

/// Only use this function in scenarios where the recipient not receiving the event is an acceptable outcome.

Parameters

NameType
context&mut PrivateContext
recipientAztecAddress
senderAztecAddress