Module events_api

Module events_api 

Source

Structs§

GetAllActiveEventsParams
struct for passing parameters to the method get_all_active_events
GetAllEventsParams
struct for passing parameters to the method get_all_events
SpawnEventParams
struct for passing parameters to the method spawn_event

Enums§

GetAllActiveEventsError
struct for typed errors of method get_all_active_events
GetAllEventsError
struct for typed errors of method get_all_events
SpawnEventError
struct for typed errors of method spawn_event

Functions§

get_all_active_events
Fetch active events details.
get_all_events
Fetch events details.
spawn_event
Spawn a specific event by code consuming 1 event token. Rules: - Maximum active events defined by utils.config.max_active_events(). - Event must not already be active. - Member or founder account required.