Amnext 3.0
Search…
🤑
Multiple Winners
The Multiple Winners prize strategy periodically selects a predefined number of winners and awards them an equal share of the prizes available in the Prize Pool.

Initialization

A Multiple Winners prize strategy is initialized with:
Prize Period Start: the timestamp at which the prize period should start
Prize Period Seconds: the duration of time between prizes
Prize Pool Address: the address of the prize pool that implements the pool functionality such as deposit and withdraw
Ticket: the interface to use to select winners
Sponsorship: the token that represents sponsorship
Random Number Generator: used to generate random numbers for winner selection
Number of Winners: the number of winners in a prize period. This can be changed later by the owner deciding the set number of winners.
Last modified 6mo ago
Copy link