> For the complete documentation index, see [llms.txt](https://torch-1.gitbook.io/litepaper/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://torch-1.gitbook.io/litepaper/system-mechanics/bonus-pool.md).

# Bonus pool

Bonus Pool defines how much of the reserve is available for distribution to winners at any moment. It is calculated using an Exponential Moving Average (EMA) of recent losing stakes, but never exceeds the reserve surplus:

$$
\text{BonusPool}*t =
\begin{cases}
\min(\text{EMA}*t,\ R\_t - R*{\text{target}}), & \text{if } R\_t > R*{\text{target}} \\
0, & \text{otherwise}
\end{cases}
$$

Where:

* `Rt`: Current Reserve Liquidity
* `Rtarget`: Reserve's Target Level
* `EMAt`: Exponential moving average of recent losing stakes

The EMA is updated each timestep using:

$$
\text{EMA}*t = \alpha \cdot L\_t + (1 - \alpha) \cdot \text{EMA}*{t-1}
$$

Where:

* `Lt`: Losing stake inflow at time t
* `α`: Smoothing factor, initially set to 0.2

The payout pool increases when recent losses are high, allowing the system to reward winners more generously during periods of heavy market activity. However, no bonuses are paid if the reserve is at or below its target level.


---

# 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, and the optional `goal` query parameter:

```
GET https://torch-1.gitbook.io/litepaper/system-mechanics/bonus-pool.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
