Crate encointer_ceremonies_assignment

Crate encointer_ceremonies_assignment 

Source
Expand description

Everything regarding meetup assignments

Modules§

math
Math functions used in the ceremonies pallet.

Functions§

assignment_fn
Assigns a participant to a meetup.
assignment_fn_inverse
Performs the inverse function of assignment_fn for all participants in a meetup.
generate_assignment_function_params
Generates randomized [AssignmentParams] for num_participants to be distributed across num_meetups.
get_meetup_location_index
meetup_index
meetup_location
meetup_time