Skip to main content

mod

Standalone Functions

generate_event_interface

generate_event_interface(s);

Parameters

NameType
sStructDefinition

private_to_be_bytes

private_to_be_bytes(self, randomness);

Parameters

NameType
self
randomnessField

to_be_bytes

to_be_bytes(self);

Parameters

NameType
self

get_event_type_id

get_event_type_id();

Takes no parameters.

emit

emit(self, _emit);

Parameters

NameType
self
_emitfn[Env](Self

event

event(s);

Parameters

NameType
sStructDefinition