How it works
There are unlimited rounds, each round’s period is about 3-7 days. There are 3 states in each round: Start -> Active -> End.
Players deposit tokens to join the round while the round state is Active. Player can join the round automatically and get the maximum tickets by using Auto Pool feature while the round state is Start.
Once the round is ended, our Upkeep in Chainlink Keepers call to publicly “performUpkeep” function in the smart contract to:
- Recalculate tickets of players, reset Hold Tickets to zero if they do not hold enough token as recognized in the first deposit.
- Call to Chainlink VRF to get randomness numbers
- Find winners based on random numbers
- Reward to the prize winners