> For the complete documentation index, see [llms.txt](https://docs.wenwin.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wenwin.com/games/usdc-7-35-lottery/the-game/prizes/bonuses.md).

# 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 %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.wenwin.com/games/usdc-7-35-lottery/the-game/prizes/bonuses.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
