> For the complete documentation index, see [llms.txt](https://doc.cryptostone.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.cryptostone.org/mining-system/11_mining_pool_template_and_factory_structure.md).

# 11 Pool Template and Factory

The 12 Mining Pool Contracts are not separate developments with different logic. All pools are deployed based on the same audited Mining Pool Template. Each pool uses the same core logic, while only the following parameters are set differently.

| Parameter          | Description                                             |
| ------------------ | ------------------------------------------------------- |
| stoneType          | The Stone Type mined from that pool                     |
| maxSupply          | The maximum issuance quantity of that STONX             |
| baseMiningInterval | Basic mining interval                                   |
| targetPoolPower    | Reference mining power                                  |
| scarcitySchedule   | Halving structure by STONX                              |
| poolAddress        | Authorized issuance address allowed by the NFT contract |

For this purpose, CryptoStone may use a Pool Factory structure. The Pool Factory creates the 12 STONX-specific pools based on the same Mining Pool Template, and fixes the core parameters of each pool after deployment.

| Advantage              | Description                                                                        |
| ---------------------- | ---------------------------------------------------------------------------------- |
| Code consistency       | All 12 pools use the same logic.                                                   |
| Audit efficiency       | Security audits can focus on one Pool Template.                                    |
| Risk reduction         | Reduces the possibility of exceptional bugs caused by different code in each pool. |
| Parameter transparency | Differences between pools arise only from publicly disclosed fixed values.         |
| Scalability            | The same structure can be used when adding new stone pools in the future.          |

Thus, CryptoStone maintains the economic structure of “12 independent mines” while increasing stability and transparency by using the same verifiable smart contract template in development.


---

# 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://doc.cryptostone.org/mining-system/11_mining_pool_template_and_factory_structure.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.
