For ERC20 and BEP20 based assets
In a lottery auction, participants buy lottery tickets for a fixed amount (the principle amount) to enter into the draw. The fixed token price and principle amount are set by the pool creator.
At the end of the running time of the lottery pool, the winners are selected randomly by a smart contract and their principle amount is automatically swapped for the auctioned tokens. The pool creator claims the money raised from the sale, while winners will claim their swapped tokens from the pool.
The lottery auction does not have permanent losses for non-winning participants. Participants that are not selected as a winner, can claim their principle back from the pool.
The lottery auction is built for mass usage. The maximum number of participants that can enter into a draw is 60,000 people and the solution is gas-friendly with low fees to enter into the draw. Fairness and integrity are secured by random selection and execution by smart contracts.