# What is Wenwin?

**Wenwin** is the world's first completely decentralized protocol, providing the infrastructure and funding for anyone to build their games.

> Wenwin is transforming the online gaming industry by building **decentralized and trustless games with infinite scalability**.

Wenwin enables game designers with prize pot funding and infrastructure to launch new online decentralized games on the Wenwin platform. Game designers receive a 10% revenue share from all games they design and are successfully launched. &#x20;

Wenwin's first game is the Wenwin 7/35 Lottery.

{% content-ref url="/pages/OeuG3VU6UhP9Kgv80uCn" %}
[USDC 7/35 Lottery](/games/usdc-7-35-lottery)
{% endcontent-ref %}

## **The Wenwin model**

<figure><img src="https://892748866-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5bTtwnh16MFkBf6JRa6q%2Fuploads%2FidpPeOqMepB9ohOGhBRQ%2Fimage.png?alt=media&amp;token=13ec11a0-344f-45c4-a1b8-5f862f900543" alt=""><figcaption></figcaption></figure>

Each Wenwin game is powered by **Wenwin infrastructure** and funded by the **Wenwin treasury.** A portion of the ticket sale proceeds from all Wenwin games go to the Wenwin Treasury.&#x20;

{% hint style="info" %}
Each Wenwin game features a carefully balanced, built-in incentive and fee model for Players, Game Designers, Tokenholders, Frontend Operators, and Affiliates.&#x20;
{% endhint %}

This unique token economy and incentive mechanism provides a sustainable funding model for the Wenwin platform and its games. It allows for a decentralized distribution of game ownership and profits, ensuring that all participants in the Wenwin ecosystem benefit from the platform's success.

### What is the WW token?

WW is Wenwin's native governance token. It powers the Wenwin ecosystem of trustless games and benefits from the growth of Wenwin's games via the buyback and burn program.&#x20;

## **Why Wenwin?**

Wenwin games are completely decentralized and independent from each other, with their own Prize Pots, referral system, and incentive mechanism.&#x20;

Wenwin utilizes immutable smart contracts that cannot be changed once deployed. This ensures that the rules and parameters of the games cannot be altered by anyone. It allows for transparency and security in keeping track of results, ticket sales and automatically executing draws.

Wenwin provides the infrastructure for anyone to integrate any Wenwin game into the real world (ticket counters, shops, and other physical locations) while also allowing games to be played on-chain.


# Protocol Overview

Wenwin is a **decentralized gaming protocol** that provides the infrastructure and funding for anyone to build and launch their own games.&#x20;

<figure><img src="https://892748866-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5bTtwnh16MFkBf6JRa6q%2Fuploads%2FJAkGTXXAMtKYvs5QCzyX%2FProtocol_architecture%20(1).png?alt=media&amp;token=98253e8f-62b1-42a2-9448-380c44e5eac3" alt=""><figcaption></figcaption></figure>

By supporting game designers in launching successful onchain games, Wenwin's can scale up exponentially. Game Designers benefit from launching on Wenwin by being fully supported by the Wenwin team for initial prize pot funding and plug-and-play infrastructure. Game Designers recieve 10% of ticket revenue share in perpetuity. All tickets are sold in USDC.&#x20;

### What makes a Wenwin game?&#x20;

* **Chance-based game:** Wenwin hosts onchain chance-based games for players to have fun and potentially win big.&#x20;
* **Verifiable:** All game results will be transparent and verifiable onchain. Wenwin games will use core verifiable infrastructure such as VRFs (Verifiable Random Functions) to produce results.&#x20;
* **Market leading RTP (Return to player):** RTP indicates how much of the wagered money will be paid back to the player over time as they play Wenwin games. Wenwin games have robust RTP to sustain high interest and economic benefits for the Wenwin ecosystem.&#x20;

The Sales proceeds of Wenwin games are distributed to the Game Designer, Frontend Operator, prize pot, and Wenwin Treasury. Profits are also used to fund the Buyback and Burn Program and the launch of new Wenwin games.&#x20;

Learn more about ticket proceeds:&#x20;

{% content-ref url="/pages/yDPZiPxgWXnzMSBfunlx" %}
[Tickets](/games/usdc-7-35-lottery/the-game/tickets)
{% endcontent-ref %}


# MON 5/35 Lottery

The Wenwin **5/35 Lottery** is a next-generation lottery game that utilizes blockchain technology to provide a new level of transparency, security, convenience, and efficiency.

In this game, 5 numbers are randomly drawn from 35 numbers. Players buy tickets and pick 5 numbers per ticket. Based on the number of matches, prizes will be awarded to the draw's winners. Bonuses will be added as the prize pot grows. The draw takes place every 6 hours.

{% hint style="info" %}
The Wenwin 5/35 Lottery has been designed with one-of-a-kind tokenomics and a built-in incentive mechanism that carefully balances the interests of its Players, Referrers, Frontend Operators, and Tokenholders, and allows it to scale to be the largest global lottery in the world.
{% endhint %}

When compared to traditional lottery games, the Wenwin Lottery offers key benefits:

* Increased **transparency** through the use of blockchain technology, providing full visibility into the game's operations and eliminating the possibility of fraud or manipulation.
* Enhanced **security** through the use of smart contracts, which automate all transactions and results and protect against errors or tampering.
* **Convenience** by allowing players to participate in the game from anywhere with an internet connection, expanding the player base and providing more opportunities to win more prizes.
* **Efficient** use of funds, ensuring that a maximum percentage of the funds collected are distributed as prizes to the participants (more than any other similar game in the world), providing them with more opportunities to win, and increasing the overall return on play for players.


# ELI5

### What is the Wenwin 5/35 Lottery?

The Wenwin 5/35 Lottery is a unique online lottery where players aim to match 2 to 5 numbers drawn from 35 to win prizes. The draw is run twice a day on Monad Testnet

### How to Play

The game is run using MON and each ticket costs just 0.1 MON. Players pick 5 numbers out of 35. After each weekly draw, players can win the following prizes plus bonuses:

<table><thead><tr><th width="346">Division</th><th width="488.33333333333326">Prize (per ticket)</th></tr></thead><tbody><tr><td>Match 5</td><td>5000 MON</td></tr><tr><td>Match 4</td><td>20 MON</td></tr><tr><td>Match 3</td><td>1 MON</td></tr><tr><td>Match 2</td><td>0.1 MON</td></tr></tbody></table>

### How does the Wenwin 5/35 Lottery work?

The Wenwin Lottery is run on the blockchain using immutable smart contracts. Players can validate the funds in the Prize Pot, and keep track of each ticket sale and prize claim. This ensures the Wenwin Lottery cannot be controlled or rigged by anyone, ensuring fairness and transparency. Wenwin tickets are NFTs that can be bought and sold on secondary markets.&#x20;

The Prize Pot for the Wenwin 5/35 Lottery is funded by selling the WW token via an [Initial Sale](/ww-token/initial-sale). WW holders benefit from regular WW buybacks using ticket sale revenues. In order to incentivize usage, Points are also given to Players, Referrers.


# The Game

Quick guide on gameplay basics

The draw takes place every 6 hours.

During every draw, 5 numbers are randomly drawn from 35 non-repeating integer numbers ranging from 1 to 35.  You can buy a ticket to play.  Each ticket costs 0.1 MON, and allows you to pick 5 of 35 numbers.  You will win a Prize (plus a Bonus if available) if you match 2, 3, 4, or 5 numbers.

{% hint style="info" %}
The 5/35 lottery format was chosen as the first Wenwin Lottery as it adequately balances a higher chance of winning while maintaining the attractiveness of offering a 5000 MON Jackpot. Having fewer numbers to choose from also helps provide a greater user experience.
{% endhint %}

The Jackpot (Match 5) Prize will be automatically set based on the USDC proceeds from the [Initial Sale](/ww-token/initial-sale) going to form the Initial Prize Pot, based on the following formula:

$$
JackpotPrize = \frac{InitialPrizePot}{3.33}
$$

<table><thead><tr><th width="166">Division</th><th width="209.33333333333331">Prize (per ticket)</th><th>Comments</th></tr></thead><tbody><tr><td>Jackpot (Match 5)</td><td>5000 MON</td><td>If multiple people win the Jackpot Prize, winnings will be evenly split between them.</td></tr><tr><td>Match 4</td><td>20 MON</td><td></td></tr><tr><td>Match 3</td><td>1 MON</td><td></td></tr><tr><td>Match 2</td><td>0.1 MON</td><td></td></tr></tbody></table>

{% hint style="info" %}
The Wenwin Lottery has an RTP (Return to Players) rate of 100%, which is **higher than any other lottery in the world**.
{% endhint %}

If you win, you can claim the winning prize by delivering the winning ticket (NFT).

Winning tickets have up to 1 month to claim their prize. If a prize is not claimed before this period, the unclaimed prize money will go back to the Prize Pot.<br>


# Tickets

Players must purchase a ticket to play in this game. Players can purchase multiple tickets for a single draw. Each ticket:

* Costs 0.1 MON
* Allows the player to select 5 numbers for a single draw
* Can be self-selected by the player or randomly generated by the relevant frontend
* Is a non-fungible token (NFT) that must be delivered in order to claim any prizes - 1 NFT per ticket per draw. For example, if a player purchased 5 tickets for each of the next 6 draws, there will be 30 NFTs
* Can be traded on the secondary market before or after the draw

When a draw opens, players can participate by purchasing tickets. The proceeds from ticket sales will be allocated as follows:

* **70% to the Prize Pot**: Used to fund prizes, i.e. Ticket Sales Proceeds\*
* **20% to the Wenwin Treasury**: Transferred to the Wenwin Treasury to fund WW buybacks and launching future Wenwin games
* **10% to** [**Frontend Rewards**](/games/usdc-7-35-lottery/frontend-operators): Paid to decentralized frontends that made the ticket sale


# Prizes

{% hint style="info" %}
he Wenwin 5/35 Lottery is a one-of-a-kind lottery that was designed to maximise profits for WW holders, while minimising the risk of insolvency and aiming to grow the Prize Pot at a reasonable rate.
{% endhint %}

## Overview

To win a prize, a ticket must match a minimum of 2 numbers out of the 5 numbers drawn.  Depending on the number of numbers matched, the following prizes (plus bonuses when available) are given out:

<table><thead><tr><th width="300">Division</th><th width="488.33333333333326">Prize (per ticket)</th></tr></thead><tbody><tr><td>Match 5 (Jackpot)</td><td>5000 MON</td></tr><tr><td>Match 4</td><td>20 MON</td></tr><tr><td>Match 3</td><td>1 MON</td></tr><tr><td>Match 2</td><td>0.1 MON</td></tr></tbody></table>

{% hint style="info" %}
The Wenwin Lottery has an RTP (Return to Players) rate of 100%, which is **higher than any other lottery in the world**.
{% endhint %}

## Jackpot Prize

A Jackpot Prize is won when **all 5 numbers on the ticket match all 5 winning numbers drawn** from the lottery. If there are multiple winners of the Jackpot in a single draw, the prizes will be evenly shared between the number of winning tickets. No other prizes are given for the round where a Jackpot is won.

The Jackpot (Match 5) Prize will be dynamically decided based on the [initial sales proceeds going into the Prize Pot](/ww-token/initial-sale):

$$
JackpotPrize = \frac{InitialPrizePot}{3.33}
$$

For example, if the Initial Prize Pot is 6,000,000 MON, then the Jackpot Prize will be 1,800,000 MON.

{% hint style="info" %}
The multiplier of `3.33` was decided after running various simulations with a target **zero** bankruptcies over the next 500 draws. With a `3.33` multiplier, the Wenwin Lottery always has a good safety margin to make sure there is no insolvency event and the Jackpot keeps growing in a sustainable way.
{% endhint %}

## Non-Jackpot Prize

A Non-Jackpot Prize is won when numbers on the ticket match 2 or 3 or 4 winning numbers drawn from the lottery, except for when a Jackpot is won.&#x20;

Non-Jackpot Prizes are fixed as follows:

<table><thead><tr><th width="300">Division</th><th width="488.33333333333326">Prize (per ticket)</th></tr></thead><tbody><tr><td>Match 4</td><td>20 MON</td></tr><tr><td>Match 3</td><td>1 MON</td></tr><tr><td>Match 2</td><td>0.1 MON</td></tr></tbody></table>

{% hint style="info" %}
The above Non-Jackpot Prizes were set to beat prizes offered by similar games with a similar ticket price, taking into account the probability of matching numbers in each division. Furthermore, unlike other 5/35 lotteries, Wenwin also features a Match 2 tier, which allows approximately 10% of players to get their ticket price back, or to play again.
{% endhint %}

## Claiming Prizes

Winning tickets have a **one month deadline from the draw time** to claim their prize by redeeming the winning NFT ticket.&#x20;

{% hint style="info" %}
For the avoidance of doubt, a ticket can only claim the prize based on the highest number of matches. For example, a 3 out of 5 winning ticket can only claim a 3 out of 5 prize.
{% endhint %}


# Frontend Operators

Rewards for Frontend Operators

Wenwin is committed to complete decentralization and utilizes independent frontends to handle ticket sales. These frontends directly interact with the Wenwin Lottery smart contracts.

{% hint style="warning" %}
Wenwin is completely permissionless. This means that anyone can operate their own frontend without approval from a centralized authority.

However, the Core Contributors are available to give guidance if you are interested in becoming a Frontend Operator, or want to learn more about the Wenwin Lottery SDK.
{% endhint %}

### Frontend Rewards

10% of all ticket sale proceeds from the Wenwin Lottery  processed through your frontend will be rewarded to the address associated with that frontend, to be claimed in MON.

### Frontend Operators

Frontend Operators can include websites, mobile apps, wallets, retailers, and more. These frontends can communicate with the Wenwin Lottery smart contracts, process ticket sales, and be rewarded for doing so.&#x20;

Frontend Operators are independent, so they can decide whether to use the non-core parts of the Wenwin Lottery smart contract, such as Referral Rewards.

### Frontend List

A frontend list hosted on the Wenwin website is available to showcase different frontends and compare key metrics. Frontend operators can request to be included on the Frontend List maintained at [wenwin.com](#frontend-list).


# Technical Details

{% hint style="warning" %}
ALL CONTRACTS HAVE BEEN [AUDITED](/audits) BY CODE4RENA&#x20;
{% endhint %}

{% content-ref url="/pages/243lVLpI8IKDmclbxb7W" %}
[Contracts](/games/usdc-7-35-lottery/technical-details/contracts)
{% endcontent-ref %}

{% content-ref url="/pages/YAMLJnUrFdFoB7jMQA4O" %}
[Random Number Generation](/games/usdc-7-35-lottery/technical-details/random-number-generation)
{% endcontent-ref %}


# Contracts

<table><thead><tr><th width="168.45703125">Name</th><th>Contract address</th></tr></thead><tbody><tr><td>Lottery MON</td><td>0x733937c99377a60fdB9A9EeDd1A489A0667c4161</td></tr><tr><td>GelatoRNSource </td><td>0x6563cBcB171276701b97f3D32Cb171404d16331A</td></tr></tbody></table>


# Random Number Generation

As blockchains cannot generate random numbers, the Wenwin smart contracts will use a third-party Verifiable Random Function (VRF) to generate the lottery's draw numbers. We aim to use two VRF providers. The secondary randomizer will be used as a fallback if the primary fails to provide random numbers.

To ensure the resiliency of the system in times when the randomness source is unavailable, the following mechanisms have been implemented:

1. Anyone can trigger a retry if a `randomness request` via the current source fails to be fulfilled within a predefined timeframe.
2. After a predefined number of failed retries, the deployer can swap the randomness source with a different one.

It's important to understand that the deployer **cannot** change the randomness source other than in the unlikely scenario in which the current oracle fails repeatedly, as per the specifications above. Additionally, the predefined timeframe and the number of allowed retry attempts are immutable and cannot be changed after the contracts have been deployed.


# FAQs

## Getting started&#x20;

<details>

<summary>What network is the lottery on? </summary>

The Wenwin 5/35 Lottery is LIVE on Monad testnet and will launch on Monad mainnet.

</details>

<details>

<summary>Are the smart contracts immutable?</summary>

Yes, the smart contracts in Wenwin Lottery are immutable and automate all transactions and results, protecting against errors or tampering.

</details>

## 5/35 Play time

<details>

<summary>How often is the 5/35 draw?</summary>

The draw is conducted every 6 hours.

</details>

<details>

<summary>What time is the 5/35 draw?</summary>

The draw takes place 4 times a day on Monad testnet.

</details>

<details>

<summary>Where are the draw results published?</summary>

Weekly results can be verified by anybody via Monad's blockchain explorer as they are all on-chain and published on the Monad network. The weekly results can also be published by the frontend operators on their websites.&#x20;

</details>

<details>

<summary>How are the numbers randomly generated?</summary>

The random numbers drawn from 35 non-repeating integer numbers ranging from 1 to 35 will be generated from the VRF providers on Monad.

</details>

<details>

<summary>Where can I view my ticket?</summary>

Tickets are NFTs and can be viewed via Monad's blockchain explorer as they are all on-chain and published on the Monad network. The tickets can also be displayed by the frontend operators on their websites which user wallets are connected to as well as on NFT marketplaces.

</details>

<details>

<summary>Can someone else play with my same combination of numbers?</summary>

Yes. When you buy a ticket, you don't reserve that combination of numbers, and other players can buy it, too. If that number combination wins the Jackpot, the prize will be split amongst all the tickets with that winning combination.

</details>

<details>

<summary>Can I buy the same number combination more than once?</summary>

Yes. Anybody can play any number combination, which means you can buy the same number combination more than once. In a hypothetical scenario where there are 3 winning tickets of the Jackpot, and you own 2 of them, you would receive 2/3 of the Jackpot prize. However, it is up to each user to decide whether this makes sense.

</details>

## Winning and claiming

<details>

<summary>How do I claim my winnings?</summary>

You can claim your winnings by delivering the winning NFT ticket via the frontend operator's website, or directly by connecting your wallet and calling the contract on Monad's blockchain explorer.

</details>

<details>

<summary>How long do I have to claim my winnings?</summary>

Winning tickets have a 1 month deadline from the draw time to claim the prize by redeeming the winning NFT ticket.&#x20;

</details>

<details>

<summary>Can I sell my winning ticket?</summary>

Yes, you can sell your winning ticket on the secondary market before or after the draw as an NFT.

</details>


# USDC 7/35 Lottery

The **Wenwin 7/35 Lottery** is a next-generation lottery game that utilizes blockchain technology to provide a new level of transparency, security, convenience, and efficiency.

In this game, 7 numbers are randomly drawn from 35 numbers. Players buy tickets and pick 7 numbers per ticket. Based on the number of matches, prizes will be awarded to the draw's winners.  Bonuses will be added as the prize pot grows. The draw takes place every 6 hours.

{% hint style="info" %}
The Wenwin 7/35 Lottery has been designed with one-of-a-kind [tokenomics](/start-here/protocol-overview) and a built-in incentive mechanism that carefully balances the interests of its Players, Referrers, [Frontend Operators](/games/usdc-7-35-lottery/frontend-operators), and [Tokenholders](/ww-token/summary), and allows it to scale to be the largest global lottery in the world.
{% endhint %}

When compared to traditional lottery games, the Wenwin Lottery offers key benefits:

* Increased **transparency** through the use of blockchain technology, providing full visibility into the game's operations and eliminating the possibility of fraud or manipulation.
* Enhanced **security** through the use of smart contracts, which automate all transactions and results and protect against errors or tampering.
* **Convenience** by allowing players to participate in the game from anywhere with an internet connection, expanding the player base and providing more opportunities to win more prizes.
* **Efficient** use of funds, ensuring that a maximum percentage of the funds collected are distributed as prizes to the participants (more than any other similar game in the world), providing them with more opportunities to win, and increasing the overall return on play for players.


# ELI5

### What is the Wenwin 7/35 Lottery?

The Wenwin 7/35 Lottery is a unique online lottery where players aim to match 3 to 7 numbers drawn from 35 to win [prizes](/games/usdc-7-35-lottery/the-game/prizes). The draw is run twice a day on Monad Testnet

### How to Play

The game is run using USDC and each [ticket](/games/usdc-7-35-lottery/the-game/tickets) costs just 1.5 USDC. Players pick 7 numbers out of 35. After each weekly draw, players can win the following [prizes](/games/usdc-7-35-lottery/the-game/prizes) plus [bonuses](/games/usdc-7-35-lottery/the-game/prizes/bonuses):

<table><thead><tr><th width="346">Division</th><th width="488.33333333333326">Prize (per ticket)</th></tr></thead><tbody><tr><td>Match 7</td><td><a href="/games/usdc-7-35-lottery/the-game/prizes#jackpot-prize">Jackpot</a></td></tr><tr><td>Match 6</td><td>2,000 USDC</td></tr><tr><td>Match 5</td><td>100 USDC</td></tr><tr><td>Match 4</td><td>7 USDC</td></tr><tr><td>Match 3</td><td>2 USDC</td></tr></tbody></table>

### How does the Wenwin 7/35 Lottery work?

The Wenwin Lottery is run on the blockchain using immutable smart contracts. Players can validate the funds in the [Prize Pot](/games/usdc-7-35-lottery/the-game/prizes), and keep track of each ticket sale and prize claim. This ensures the Wenwin Lottery cannot be controlled or rigged by anyone, ensuring fairness and transparency. Wenwin tickets are NFTs that can be bought and sold on secondary markets.&#x20;

The [Prize Pot](/games/usdc-7-35-lottery/the-game/prizes) for the Wenwin 7/35 Lottery is funded by selling the WW token via an [Initial Sale](/ww-token/initial-sale). WW holders benefit from regular WW buybacks using ticket sale revenues. In order to incentivize usage, Points are also given to Players, Referrers.


# The Game

Quick guide on gameplay basics

The draw takes place twice per week, every Tuesday and Friday.

During every draw, 7 numbers are [randomly](/games/usdc-7-35-lottery/technical-details/random-number-generation) drawn from 35 non-repeating integer numbers ranging from 1 to 35.  You can buy a [ticket](/games/usdc-7-35-lottery/the-game/tickets) to play.  Each ticket costs 2 USDC, and allows you to pick 7 of 35 numbers.  You will win a [Prize](/games/usdc-7-35-lottery/the-game/prizes) (plus a [Bonus](/games/usdc-7-35-lottery/the-game/prizes/bonuses) if available) if you match 3, 4, 5, 6 or 7 numbers.

{% hint style="info" %}
The 7/35 lottery format was chosen as the first Wenwin Lottery as it adequately balances a higher chance of winning while maintaining the attractiveness of offering a seven-figure Jackpot. Having fewer numbers to choose from also helps provide a greater user experience.
{% endhint %}

The Jackpot (Match 7) Prize will be automatically set based on the USDC proceeds from the [Initial Sale](/ww-token/initial-sale) going to form the Initial Prize Pot, based on the following formula:

$$
JackpotPrize = \frac{InitialPrizePot}{3.33}
$$

<table><thead><tr><th width="166">Division</th><th width="209.33333333333331">Prize</th><th>Comments</th></tr></thead><tbody><tr><td>Jackpot (Match 7)</td><td>Initial Prize Pot / 3.33 USDC shared</td><td>If multiple people win the Jackpot Prize, winnings will be evenly split between them.</td></tr><tr><td>Match 6</td><td>2,000 USDC per ticket</td><td></td></tr><tr><td>Match 5</td><td>100 USDC per ticket</td><td></td></tr><tr><td>Match 4</td><td>7 USDC per ticket</td><td></td></tr><tr><td>Match 3</td><td>2 USDC per ticket</td><td></td></tr></tbody></table>

{% hint style="info" %}
The Wenwin Lottery has an RTP (Return to Players) rate of 100%, which is **higher than any other lottery in the world**.
{% endhint %}

For more information on Prizes, please visit the section below:

{% content-ref url="/pages/V2wmNdd4LY9lCapAeCAZ" %}
[Prizes](/games/usdc-7-35-lottery/the-game/prizes)
{% endcontent-ref %}

If you win, you can claim the winning prize by delivering the winning ticket (NFT).

Winning tickets have up to 1 year to claim their prize. If a prize is not claimed before this period, the unclaimed prize money will go back to the Prize Pot.<br>


# Tickets

Players must purchase a ticket to play in this game. Players can purchase multiple tickets for a single draw. Each ticket:

* Costs 1.5 USDC
* Allows the player to select 7 numbers for a single draw
* Can be self-selected by the player or randomly generated by the relevant frontend
* Is a non-fungible token (NFT) that must be delivered in order to claim any prizes - 1 NFT per ticket per draw. For example, if a player purchased 5 tickets for each of the next 6 draws, there will be 30 NFTs
* Can be traded on the secondary market before or after the draw

<figure><img src="https://892748866-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5bTtwnh16MFkBf6JRa6q%2Fuploads%2FreK5Xz0naw8CEGX8OzSb%2Fimage.png?alt=media&amp;token=6d84332f-c4af-4dd3-bfcd-ae42478ab194" alt=""><figcaption></figcaption></figure>

When a draw opens, players can participate by purchasing tickets. The proceeds from ticket sales will be allocated as follows:

* **70% to the Prize Pot**: Used to fund prizes, i.e. Ticket Sales Proceeds\*
* **20% to the Wenwin Treasury**: Transferred to the Wenwin Treasury to fund WW buybacks and launching future Wenwin games
* **10% to** [**Frontend Rewards**](/games/usdc-7-35-lottery/frontend-operators): Paid to decentralized frontends that made the ticket sale

*\*The Maximum Prize Pot size is 6.66m USDC. If the Prize Pot exceeds this amount, part of the ticket sales will go to the Wenwin Treasury to fund new game launches.*&#x20;


# Prizes

{% hint style="info" %}
The Wenwin 7/35 Lottery is a one-of-a-kind lottery that was designed to maximise profits for WW holders, while minimising the risk of insolvency and aiming to grow the Prize Pot at a reasonable rate.
{% endhint %}

## Overview

To win a prize, a ticket must match a minimum of 3 numbers out of the 7 numbers drawn.  Depending on the number of numbers matched, the following prizes (plus [bonuses](/games/usdc-7-35-lottery/the-game/prizes/bonuses) when available) are given out:

<table><thead><tr><th width="300">Division</th><th width="488.33333333333326">Prize</th></tr></thead><tbody><tr><td>Match 7 (Jackpot Prize)</td><td>Initial Prize Pot / 3.33 USDC shared</td></tr><tr><td>Match 6</td><td>1,500 USDC per ticket</td></tr><tr><td>Match 5</td><td>75 USDC per ticket</td></tr><tr><td>Match 4</td><td>5 USDC per ticket</td></tr><tr><td>Match 3</td><td>1.5 USDC per ticket</td></tr></tbody></table>

{% hint style="info" %}
The Wenwin Lottery has an RTP (Return to Players) rate of 100%, which is **higher than any other lottery in the world**.
{% endhint %}

## Jackpot Prize

A Jackpot Prize is won when **all 7 numbers on the ticket match all 7 winning numbers drawn** from the lottery. If there are multiple winners of the Jackpot in a single draw, the prizes will be evenly shared between the number of winning tickets. No other prizes are given for the round where a Jackpot is won.

The Jackpot (Match 7) Prize will be dynamically decided based on the [initial sales proceeds going into the Prize Pot](/ww-token/initial-sale):

$$
JackpotPrize = \frac{InitialPrizePot}{3.33}
$$

For example, if the Initial Prize Pot is 6,000,000 USDC, then the Jackpot Prize will be 1,800,000 USDC.

{% hint style="info" %}
The multiplier of `3.33` was decided after running various simulations with a target **zero** bankruptcies over the next 500 draws. With a `3.33` multiplier, the Wenwin Lottery always has a good safety margin to make sure there is no insolvency event and the Jackpot keeps growing in a sustainable way.
{% endhint %}

## Non-Jackpot Prize

A Non-Jackpot Prize is won when numbers on the ticket match 3 or 4 or 5 or 6 winning numbers drawn from the lottery, except for when a Jackpot is won.&#x20;

Non-Jackpot Prizes are fixed as follows:

<table><thead><tr><th width="300">Division</th><th width="488.33333333333326">Prize</th></tr></thead><tbody><tr><td>Match 6</td><td>1,500 USDC per ticket</td></tr><tr><td>Match 5</td><td>75 USDC per ticket</td></tr><tr><td>Match 4</td><td>5 USDC per ticket</td></tr><tr><td>Match 3</td><td>1.5 USDC per ticket</td></tr></tbody></table>

{% hint style="info" %}
The above Non-Jackpot Prizes were set to beat prizes offered by similar games with a similar ticket price, taking into account the probability of matching numbers in each division. Furthermore, unlike other 7/35 lotteries, Wenwin also features a Match 3 tier, which allows approximately 10% of players to get their ticket price back, or to play again.
{% endhint %}

## Claiming Prizes

Winning tickets have a **one-year deadline from the draw time** to claim their prize by redeeming the winning NFT ticket.&#x20;

{% hint style="info" %}
For the avoidance of doubt, a ticket can only claim the prize based on the highest number of matches. For example, a 4 out of 7 winning ticket can only claim a 4 out of 7 prize.
{% endhint %}


# Bonuses

As the Prize Pot of the Wenwin 7/35 Lottery increases, bonus amounts are automatically added to all prizes to make the lottery more enticing for players, all while maintaining the same ticket price.&#x20;

{% hint style="info" %}
This allows the Wenwin Lottery to increase its Prizes as the total funds in the Prize Pot grow. This dramatically improves the capital efficiency of funds kept in the Prize Pot.
{% endhint %}

This is achieved by first determining the Excess Pot, which is calculated based on the protocol's Cumulative Net Profit, then discounting for a Safety Margin and subtracting the standard Jackpot Prize.

$$
Excess Pot=Cumulative Net Profit \cdot(1-SafetyMargin) - JackpotPrize
$$

If the Excess Pot is > 0, then a bonus prize will be paid based on the following calculations:

A percentage of the Excess Pot will be used as Bonus Allocation for the draw, paid out to this draw's winners.

$$BonusAllocation = ExcessPot \* BonusAllocation%$$

$$BonusMultiplier =$$

$$
1 + \frac{BonusAllocation}{TicketSales\_{currentDraw}\*ExpectedPayout ToNonJackpotWinners)}
$$

From these Bonus Allocation and Bonus Multiplier, the New Jackpot Prize and multiple New Non-Jackpot Prize (Match 3 to 6 numbers) prizes are then calculated as follows:

$$
New JackpotPrize = JackpotPrize + BonusAllocation
$$

$$
New NonJackpotPrize = NonJackpotPrize \* BonusMultiplier
$$

{% hint style="success" %}
**Example**

If the Bonus Allocation is 1,000,000 USDC, and the Bonus Multiplier is 1.5, then:

* Jackpot: Initial Prize Pot / 3.33 USDC -> Initial Prize Pot / 3.33 +  1,000,000 USDC
* Match 6: 2,000 USDC \* 1.5 -> 3,000 USDC
* Match 5: 100 USDC \* 1.5 -> 150.00 USDC
* Match 4: 7 USDC \* 1.5 -> 10.50 USDC
* Match 3: 2.00 USDC \* 1.5 -> 3.00 USDC
  {% endhint %}


# Example

Illustration of the contract's mathematics

## Base Assumptions

* Prize Pot = 5,000,000 USDC
* Tickets Sold = 1,000,000
* Jackpot Prize = 1,500,000 USDC

## Scenario 1 - Non-Jackpot Winners Only (Bonus)

### **Further Assumptions**

* BonusAllocation = 0.5m USDC
* BonusMultiplier = 1.5

| Match     | Number of winners |
| --------- | ----------------- |
| 3 numbers | 300,000           |
| 4 numbers | 20,000            |
| 5 numbers | 1,500             |
| 6 numbers | 120               |
| 7 numbers | 0                 |

### Calculation

* Ticket Sales = 1m \* 2 = 2m USDC
* To Treasury= 2m \* 20% = 0.4m USDC
* To Frontend Rewards = 2.0m \* 10% = 0.2m USDC
* To Prize Pot = 2.0m \* 0.7 = 1.4m USDC
* Jackpot Prize = 1.5m USDC + 0.5m USDC = 2m USDC
* Total Prizes to Players:
  * Match 3 Prizes = 300,000 \* 2 \* 1.5 USDC =900,000 USDC
  * Match 4 Prizes =  20,000 \* 7 \* 1.5  USDC = 210,000 USDC
  * Match 5 Prizes = 1,500 \* 100 \* 1.5  USDC = 225,000 USDC
  * Match 6 Prizes = 120 \* 2,000 \* 1.5 USDC = 360,000 USDC
* Final Balance:
  * Prize Pot: 5m + 1.4m - (0.9m + 0.21m + 0.225m + 0.36m) = 4.705m USDC

## Scenario 2 - Non-Jackpot Winners Only (No Bonus)

### **Further Assumptions**

* BonusAllocation = 0
* BonusMultiplier = 1

| Match     | Number of winners |
| --------- | ----------------- |
| 3 numbers | 300,000           |
| 4 numbers | 20,000            |
| 5 numbers | 1,500             |
| 6 numbers | 120               |
| 7 numbers | 0                 |

### Calculation

* Ticket Sales = 1m \* 2 = 2m USDC
* To Treasury = 2m \* 20% = 0.4m USDC
* To Frontend Rewards = 2m \* 10% = 0.2m USDC
* To Prize Pot = 2m \* 0.7 = 1.4m USDC
* Jackpot Prize = 2m USDC
* Total Prizes to Players:
  * Match 3 Prizes = 300,000 \* 2 USDC = 600,000 USDC
  * Match 4 Prizes =  20,000 \* 7 USDC = 140,000 USDC
  * Match 5 Prizes = 1,500 \* 100 USDC = 150,000 USDC
  * Match 6 Prizes = 120 \* 2,000 USDC = 240,000 USDC
* Final Balance:
  * Prize Pot: 5m + 1.4m - (0.6m + 0.14m + 0.15m + 0.24m) = 5.27m USDC

## Scenario 3 - Single Jackpot Winner (Bonus)

### **Further Assumptions**

* Jackpot winners = 1
* BonusAllocation = 0.5m USDC
* BonusMultiplier = 1.5

### **Calculation**

* Ticket Sales = 1m \* 2 = 2m USDC
* To Treasury = 2m \* 20% = 0.4m USDC
* To Frontend Rewards = 2m \* 10% = 0.2m USDC
* To Prize Pot = 2m \* 0.7 = 1.4m USDC
* Total Prizes to Players
  * Jackpot Prizes = 1.5m + 0.5m = 2m USDC
* Final Balance:
  * Prize Pot: 5m + 1.4m - 2m = 4.4m USDC

## Scenario 4 - Single Jackpot Winner  (No Bonus)

### **Further Assumptions**

* Jackpot winners = 1
* BonusMultiplier = 1
* BonusAllocation = 0

### **Calculation**

* Ticket Sales = 1m \* 2 = 2m USDC
* To Treasury = 2m \* 20% = 0.4m USDC
* To Frontend Rewards = 2m \* 10% = 0.2m USDC
* To Prize Pot = 2m \* 0.7 = 1.4m USDC
* Total Prizes to Players
  * Jackpot Prizes = 1.5m
* Final Balance:
  * Prize Pot: 5m + 1.4m - 1.5m = 4.9m USDC


# Frontend Operators

Rewards for Frontend Operators

Wenwin is committed to complete decentralization and utilizes independent frontends to handle ticket sales. These frontends directly interact with the Wenwin Lottery smart contracts.

{% hint style="warning" %}
Wenwin is completely permissionless. This means that anyone can operate their own frontend without approval from a centralized authority.

However, the Core Contributors are available to give guidance if you are interested in becoming a Frontend Operator, or want to learn more about the Wenwin Lottery SDK.
{% endhint %}

### Frontend Rewards

10% of all ticket sale proceeds from the Wenwin Lottery (0.20 USDC per ticket sold) processed through your frontend will be rewarded to the address associated with that frontend, to be claimed in USDC.

### Frontend Operators

Frontend Operators can include websites, mobile apps, wallets, retailers, and more. These frontends can communicate with the Wenwin Lottery smart contracts, process ticket sales, and be rewarded for doing so.&#x20;

Frontend Operators are independent, so they can decide whether to use the non-core parts of the Wenwin Lottery smart contract, such as Referral Rewards.

### Frontend List

A frontend list hosted on the Wenwin website is available to showcase different frontends and compare key metrics. Frontend operators can request to be included on the Frontend List maintained at [wenwin.com](#frontend-list).


# Technical Details

{% hint style="warning" %}
ALL CONTRACTS HAVE BEEN [AUDITED](/audits) BY CODE4RENA&#x20;
{% endhint %}

{% content-ref url="/pages/243lVLpI8IKDmclbxb7W" %}
[Contracts](/games/usdc-7-35-lottery/technical-details/contracts)
{% endcontent-ref %}

{% content-ref url="/pages/YAMLJnUrFdFoB7jMQA4O" %}
[Random Number Generation](/games/usdc-7-35-lottery/technical-details/random-number-generation)
{% endcontent-ref %}


# Contracts

<table><thead><tr><th width="168.45703125">Name</th><th>Contract address</th></tr></thead><tbody><tr><td>WWUSDC</td><td>0xfda96f777a124fc4027287b8dbab45696541ede3</td></tr><tr><td>Lottery </td><td>0x28a18a4823073f306564d1b3b18b6a0961dd89ff</td></tr><tr><td>GelatoRNSource </td><td>0x01164570c10Ee6790a15E3bd65Ec8c17C4170368</td></tr></tbody></table>


# Random Number Generation

As blockchains cannot generate random numbers, the Wenwin smart contracts will use a third-party Verifiable Random Function (VRF) to generate the lottery's draw numbers. We aim to use two VRF providers. The secondary randomizer will be used as a fallback if the primary fails to provide random numbers.

To ensure the resiliency of the system in times when the randomness source is unavailable, the following mechanisms have been implemented:

1. Anyone can trigger a retry if a `randomness request` via the current source fails to be fulfilled within a predefined timeframe.
2. After a predefined number of failed retries, the deployer can swap the randomness source with a different one.

It's important to understand that the deployer **cannot** change the randomness source other than in the unlikely scenario in which the current oracle fails repeatedly, as per the specifications above. Additionally, the predefined timeframe and the number of allowed retry attempts are immutable and cannot be changed after the contracts have been deployed.


# FAQs

## Getting started&#x20;

<details>

<summary>What network is the lottery on? </summary>

The Wenwin 7/35 Lottery will launch on Monad.

</details>

<details>

<summary>Are the smart contracts immutable?</summary>

Yes, the smart contracts in Wenwin Lottery are immutable and automate all transactions and results, protecting against errors or tampering.

</details>

## 7/35 Play time

<details>

<summary>How often is the 7/35 draw?</summary>

The draw is conducted twice a week, every Tuesday and Friday.

</details>

<details>

<summary>What time is the 7/35 draw?</summary>

The draw takes place twice a day on Monad testnet.

</details>

<details>

<summary>Where are the draw results published?</summary>

Weekly results can be verified by anybody via Monad's blockchain explorer as they are all on-chain and published on the Monad network. The weekly results can also be published by the frontend operators on their websites.&#x20;

</details>

<details>

<summary>How are the numbers randomly generated?</summary>

The random numbers drawn from 35 non-repeating integer numbers ranging from 1 to 35 will be generated from the VRF providers on Monad.

</details>

<details>

<summary>Where can I view my ticket?</summary>

Tickets are NFTs and can be viewed via Monad's blockchain explorer as they are all on-chain and published on the Monad network. The tickets can also be displayed by the frontend operators on their websites which user wallets are connected to as well as on NFT marketplaces.

</details>

<details>

<summary>Can someone else play with my same combination of numbers?</summary>

Yes. When you buy a ticket, you don't reserve that combination of numbers, and other players can buy it, too. If that number combination wins the Jackpot, the prize will be split amongst all the tickets with that winning combination.

</details>

<details>

<summary>Can I buy the same number combination more than once?</summary>

Yes. Anybody can play any number combination, which means you can buy the same number combination more than once. In a hypothetical scenario where there are 3 winning tickets of the Jackpot, and you own 2 of them, you would receive 2/3 of the Jackpot prize. However, it is up to each user to decide whether this makes sense.

</details>

## Winning and claiming

<details>

<summary>How do I claim my winnings?</summary>

You can claim your winnings by delivering the winning NFT ticket via the frontend operator's website, or directly by connecting your wallet and calling the contract on Monad's blockchain explorer.

</details>

<details>

<summary>How long do I have to claim my winnings?</summary>

Winning tickets have a 13-days deadline from the draw time to claim the prize by redeeming the winning NFT ticket.&#x20;

</details>

<details>

<summary>Can I sell my winning ticket?</summary>

Yes, you can sell your winning ticket on the secondary market before or after the draw as an NFT.

</details>


# Design a Game

## Overview

Anybody can join the Wenwin ecosystem by becoming a Game Designer creating engaging and fair chance-based games can join the Wenwin ecosystem. Wenwin offers robust support and funding through its infrastructure and treasury, making it simpler for Game Designers to bring their vision to life. Here's how you can become a winning game designer and benefit:

### Designing Games with Wenwin

* **Infrastructure Support**: Wenwin provides the necessary infrastructure for your game design, ensuring seamless integration into the Wenwin ecosystem.
* **Funding**: Prize pots for successfully launched and accepted games are funded by the Wenwin treasury to realize your game ideas.

### Benefits for Game Designers

* **Distribution**: By leveraging Wenwin's Frontend Operator and affiliate network, your game reaches a wider audience effortlessly.
* **Revenue Share**: Designers enjoy a generous share of the revenue, receiving 10% of all ticket sales from their games.

Joining Wenwin as a Game Designer allows you to create fun and fair games, ensures your creations are widely distributed, and effectively monetizes them.

More details on how to join the Wenwin ecosystem coming soon!


# Season 1

{% hint style="warning" %}
SEASON 1 OF THE POINTS CAMPAIGN WILL BEGIN ONCE WENWIN IS DEPLOYED ON MAINNET. ANY ACTIVITY ON TESTNET WILL NOT CONTRIBUTE TO THE POINTS PROGRAM.&#x20;
{% endhint %}

Each Wenwin game benefits from the Wenwin Points Program. The Wenwin 7/35 Lottery rewards both Players and Referrals with Points in order to incentivize usage in the early stages.

The Wenwin 7/35 Lottery Points Program season 1 will begin from day one of the first tickets going on sale on mainnet.&#x20;


# Wenwin 7/35 Lottery Points

Each Wenwin game benefits from the Wenwin Points Program. The Wenwin 7/35 Lottery rewards both Players and Referrals with Points in order to incentivize usage in the early stages.

## Player Rewards

Player rewards are allocated on a **per draw basis.**

Each Player receives:

* Base rewards of 2 Points for every ticket purchased for the Wenwin 7/35 Lottery.
* Base rewards get multiplied by 10,000 / number of tickets sold in the draw. If the number of tickets sold in a draw is lower than 10,000, the multiplier is higher than 1 and users get additional rewards on top of base rewards. If the number of tickets sold in a draw is higher than 10,000, a multiplier of 1 is applied and users get base rewards only

**Example**

Alice buys 10 tickets in a draw where 5,000 tickets are sold in total. She gets 20 points as base reward and such points get multiplied by 2 (10,000 / 5,000), resulting in 40 points in total.

The next draw, Alice buys 10 tickets but the total number of tickets sold is 20,000. She gets 20 points only as the multiplier applied is equal to 1 as the number of tickets sold is higher than 10,000.

## Rewards Allocation

Referrer rewards are allocated on a **per draw basis**.

Referrers can qualify for referrer rewards only if their referees purchase more than 100 tickets per draw. If this condition holds, referrers earn the same number of points as players do for every ticket purchased by their referrees.

**Example**

Bob refers Alice, who buys 50 tickets in a draw. Bob does not earn referrer rewards as Alice, his referee, has purchased less than 100 tickets in a single draw.

The next draw, Bob refers John, Peter, Mao, and Jodie who buy 150 tickets. Bob earns 300 points as base rewards plus any additional allocation from the multiplier (if any) as his referees have purchased more than 100 tickets in a single draw.

## Referral Codes

The Wenwin referral reward program is a key component of the Wenwin growth strategy.&#x20;

### **Creating a Referral Link**

Anybody can easily join the referral reward program by following the steps below:&#x20;

1. Go to Wenwin's (or another participating Frontend Operator's) referral page
2. Connect your Web3 wallet&#x20;
3. Enter your preferred referral code&#x20;
4. Click to confirm your referral code&#x20;
5. Sign the transaction in your Web3 wallet&#x20;
6. Copy the unique generated link displayed and share

After following the steps above, you will now have your unique referral code that you can share to benefit from the rewards detailed above.&#x20;

### **Using a Referral Link**

Wenwin rewards players for participating in the lottery. To benefit from these rewards is easy:&#x20;

1. Click on the referrers unique link&#x20;
2. Connect your Web3 wallet&#x20;
3. Select your lucky numbers
4. Purchase your tickets&#x20;

That's it! After each draw the referral rewards will be published and claimable via the Wenwin App.

{% hint style="info" %}
If you don't visit the App via a referral link you will be able to enter the Referral Code for the purchase to be counted for the Referrer.
{% endhint %}


# Future Wenwin Games

Points campaigns for future Wenwin games will be detailed closer to launch of each game.


# Summary

{% hint style="warning" %}
THE WW TOKEN WILL NOT BE LIVE ON TESTNET.&#x20;
{% endhint %}

Wenwin is powered by its native token, WW. WW buyers provide the [Initial Prize Pot](/games/usdc-7-35-lottery/the-game/prizes) via participating in an [Initial Sale](/ww-token/initial-sale).

On TGE, WW will have a total supply of 100,000,000 tokens.

<figure><img src="https://892748866-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5bTtwnh16MFkBf6JRa6q%2Fuploads%2FFuZgwxlmb1lzx7MQOE0b%2FToken_allocation%20(1).png?alt=media&amp;token=e6ab0513-7b2a-4989-9ec5-58fb5d2830d5" alt=""><figcaption></figcaption></figure>

* **62.5%** (62,500,000 WW) is allocated to the Treasury and funding of future games and rewards, vested over 2 years
* **12.5%** (12,500,000 tokens) is allocated for the initial Liquidity Bootstrapping Pool (LBP)
  * USDC proceeds from the sale of 10,000,000 WW is allocated to Prize Pot for prize handouts
  * USDC proceeds from the sale of 2,500,000 WW is allocated for the initial DEX liquidity provision
* **20%** (20,000,000 tokens) is allocated to the team, **which is locked for 6 months with** before the Initial Sale begins, vested over 1 year
* **2.5%** (2,500,000 tokens) is allocated for DEX liquidity provision
* **2.5%**  (2,500,000 tokens) is allocated for CEX Market Making

WW inflation of up to 20% per year for the Treasury can be turned on after Year 2 only.

WW holders can participate in the following to generate additional value:

* Hold WW and benefit from the Buyback and Burn program
* Provide liquidity to the WW / USDC pool on a DEX to earn swap fees
* Participate in ad-hoc reward programs

Refer to [Tickets](/games/usdc-7-35-lottery/the-game/tickets) for additional details on ticket sales' allocation to [Staking Rewards](/ww-token/buyback-and-burn-program) and [Frontend Rewards](/games/usdc-7-35-lottery/frontend-operators).


# Initial Sale

In order to fund the [Initial Prize Pot](/games/usdc-7-35-lottery/the-game/prizes) of the Wenwin 7/35 Lottery, Wenwin will carry out an Initial Sale.

In exchange for providing the Initial Prize Pot (USDC), WW buyers will effectively **become owners of the Wenwin Protocol** and start value accrual from the revenues generated by Wenwin.

The Initial Sale will be carried out via a token LBP where WW will be sold for USDC.

LBPs are a two-sided AMM with dynamically change token weighting (e.g. 1/99 to 99/1 for USDC / WW). LBPs use Weighted Math with time-dependent weights. This means that the WW token price will gradually decline over the course of the LBP, allowing each potential WW buyer to acquire WW at their desired price.

{% hint style="info" %}
It is also important to note that the Initial Sale benefits from strong flywheel effects: the more funds raised in the LBP, the higher the [Initial Prize Pot](/games/usdc-7-35-lottery/the-game/prizes) becomes, which results in a higher Jackpot, which means more ticket sales and higher revenues for protocol, which results in more Buyback and Burn.

{% endhint %}

**More information about the exact timing and parameters of the Initial Sale will be available at a later date.**


# Buyback and Burn Program

<figure><img src="https://892748866-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5bTtwnh16MFkBf6JRa6q%2Fuploads%2F1DhxuVGIGpCt148Maaq5%2FBuyback_and_Burn_Program%20(1).png?alt=media&amp;token=867a29eb-64ba-4494-a209-9153d9f384a6" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
MAINNET ONLY. NOT APPLICABLE FOR TESTNET
{% endhint %}

The concept of buyback and burn refers to the practice of protocols buying back their tokens from the market and subsequently burning them. A buyback and burn program aims to reduce the total number of tokens in circulation and positively impacts tokenholders as the price of their tokens increases.

The buyback and burn program implemented by Wenwin is funded by a portion of the revenues generated through ticket sales. These proceeds are used to buy the token on the open market. The token purchases happen according to a specific TWAP (Time Weighted Average Price) strategy that spreads purchases across both CEXes and DEXes and over a certain period of time to smoothen out the price impact. Once the tokens are bought back, they are burned and removed from circulation.

The buyback and burn program aims to maintain the token price at the level set by the average price observed during the initial LBP. Tokenholders who participated to the LBP could then count on future revenues generated by the protocol to support their initial investment in the LBP.&#x20;


# Audits

The Wenwin 7/35 Lottery has undergone a full audit by Code4rena.\
\
Audit report:

* [Code4rena](https://code4rena.com/reports/2023-03-wenwin)<br>


# Resources

## Website&#x20;

* <https://wenwin.com>

## Social links

* [X](https://x.com/Wenwincom)
* [Discord](https://discord.gg/wfawKGtdHs)&#x20;

## Contact&#x20;

* <contact@wenwin.com>


# Roadmap

## Launch&#x20;

### Liquidity Bootstrapping Pool

**Goal:** Complete a successful fair launch for the Wenwin Lottery using the Liquidity Bootstrapping Pool (LBP) to fund the [Wenwin Lottery prizes](/games/usdc-7-35-lottery/the-game/prizes) enabling the first Wenwin game (The Wenwin Lottery) to be launched and WW token holders to accumulate real yield based on future ticket sales. More info on the initial sale [here](/ww-token/initial-sale).

**When:** 2025

### Launch of Wenwin 7/35 Lottery&#x20;

**Goal:** Automatically use the proceeds from the LBP to launch the first Wenwin Lottery on the Base network with fully audited and immutable smart contracts and the first [Frontend Operator](/games/usdc-7-35-lottery/frontend-operators).&#x20;

**When:** 2025

### Launch of New Wenwin Lotteries and Games

**Goal:** Diversify the Wenwin userbase, and increase revenues for the protocol.

**When**: 2025

## User Experience

**Goal:** Improve the overall user experience to make the Wenwin games more accessible, social, and fun.&#x20;

* Social chat&#x20;
* Referral leaderboard table&#x20;
* Mobile compatible app
* Future draw purchases
* Multi-language support&#x20;
* Lottery syndicates
* Live streaming

**When:** 2025

## Growth

### Wenwin Frontend Operators

**Goal:** Once the Wenwin Lottery is live, Wenwin will seek to grow the Frontend Operator network to increase the access points of Wenwin games worldwide.&#x20;

**When:** Ongoing


