# Mechanism of the lottery

The Infinite Lottery system is composed of draws and rounds, where a draw represents the basic structure, and a round is defined as the number of draws required to progress to a higher level. The rounds are categorized into different levels, ranging from level 1 to infinity. As a certain number of Level 1 draws occur, Level 2 is completed, and once 10 rounds of Level 2 are completed, a Level 3 draw takes place, and so on.

To participate in the lottery, users can visit infinitelottery.io, where they can purchase tickets for the draws using stable currency (USDC) with no maximum limit and a minimum purchase of 10 USDC.

Upon purchasing the tickets, the contract will automatically deposit them into the current draw being filled, which will take place once it is fully completed. The Level 1 draw, for instance, will have 1,000 tickets, each with a value of 1 USDC, allowing for a maximum of 100 participants and a minimum of 10 USDC purchases. The contract will randomly select a winner, who will receive 30% of the prize.

The prize (300 USDC) will be directly deposited into the user panel, allowing for withdrawal. Moreover, 30% of the pot collected from each level 1 draw will be allocated to all participants as tickets. Every user will receive a 20% return on their investment in the form of tickets, which will be automatically deposited by the same contract into the next level 1 draw that is being filled.

In the case of higher levels, 20% of the pot will be allocated to provide users with a ticket discount (from 10% to 50%), allowing them to buy tickets at a reduced price. This will be done on a first-come, first-served basis, providing users with a chance to win bigger prizes while making their investments go further.

In conclusion, the Infinite Lottery system is designed to provide users with a transparent, secure, and technically advanced platform for participating in a decentralized lottery. The system's use of stable currency ensures that users can easily participate without any fluctuations in the value of their winnings, making it a reliable and trustworthy option for anyone looking to get involved in a new and exciting investment opportunity.

<figure><img src="https://3478354643-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4IaAX0DRroAR7uuFerqV%2Fuploads%2F71TQ9EfJ9EHRl9vkWRao%2FCaptura%20de%20Pantalla%202023-07-18%20a%20las%2022.22.52.png?alt=media&#x26;token=cdbb9982-376b-49d8-bf80-232925cec80e" alt=""><figcaption></figcaption></figure>

The structure of Infinite Lottery involves a hierarchical system of draws and rounds. Each round consists of 20 Level 1 draws, where each draw has a limit of 1,000 tickets valued at 1 USDC each. Once 20 Level 1 draws are completed, a Level 2 draw is triggered, where all investors who have participated in any of the 20 Level 1 draws of the same round are eligible to participate in the Level 2 draw without making any further deposits. This same rule applies to higher levels, including Level 3, Level 4, and so on, where simply participating in any Level 1 sweepstake of a specific round guarantees entry to all higher levels of that round.

For instance, once 10 Level 2 draws are completed, a Level 3 draw is initiated. Each Level 2 draw also occurs simultaneously with another set of 20 Level 1 draws, leading to the inevitable initiation of another Level 2 draw. This process continues until all higher levels are reached.

<figure><img src="https://3478354643-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4IaAX0DRroAR7uuFerqV%2Fuploads%2F7xGuuILjXJansc3etEo9%2FCaptura%20de%20Pantalla%202023-07-18%20a%20las%2022.22.27.png?alt=media&#x26;token=ea83204e-3934-4393-bdc2-433d09dfa8c1" alt=""><figcaption></figcaption></figure>

The Infinite Lottery system will continue with the same structure for levels 4, 5, and beyond, requiring 10 previous levels to be completed in order to progress to the next level.

At level 1, 20% of the pot collected in each draw will be used to provide returns to participants in the form of tickets. These tickets will be distributed automatically to all participants in proportion to their participation. The tickets received as a return can be used in the next level 1 draw.

This ensures that all participants have an equal opportunity to earn more tickets and increase their chances of winning in future rounds. The entire process is designed to be automated, transparent, and fair for all users, providing a seamless and secure experience.
