Skip to main content

PrivateLogContentConstraintsEnum

Fields

FieldType
pub NO_CONSTRAINTSu8
pub CONSTRAINED_ENCRYPTIONu8

Standalone Functions

emit_event_in_private_log

emit_event_in_private_log(event, context, sender, recipient, constraints, );

/ each value in PrivateLogContentConstraintsEnum to learn more about the different variants.

Parameters

NameType
eventEvent
context&mut PrivateContext
senderAztecAddress
recipientAztecAddress
constraintsu8

emit_event_as_offchain_message

emit_event_as_offchain_message(event, context, recipient, );

/ valuable. If guaranteed delivery is required, the emit_event_in_private_log function should be used instead.

Parameters

NameType
eventEvent
context&mut PrivateContext
recipientAztecAddress

emit_event_in_public_log

emit_event_in_public_log(event, context);

Parameters

NameType
eventEvent
context&mut PublicContext

get_event_type_id

get_event_type_id();

Takes no parameters.