# Legacy Pool Accounting & Wrappers

To integrate with the modular V2 infrastructure, legacy pools are bridged via Wrapper contracts. These ensure that revenue from new independent operators is shared fairly between legacy stakers and new liquidity providers:

* **Conservative Pool Wrapper:** Used for PvP games. It performs revenue-only distribution. A permissionless `sweep()` function calculates the ratio between the old pool's `totalStaked` and the new pool's `totalDeposited`, distributing the accumulated fees proportionally.
* **Dynamic Pool Wrapper:** Used for House games. It supports both revenue distribution and the `reserve()` mechanism. When a game needs to reserve funds for a potential payout, the wrapper splits the request proportionally between the old and new systems based on their total capital. It also enforces the safety limits of both pools simultaneously.


---

# Agent Instructions: 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.celestium.digital/staking-manual/staking-explanation/legacy-pool-accounting-and-wrappers.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.
