> 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/crypto-stone/crypto-stone-wp-jp/mainingushisutemu/11miningpooltemplatetofactory.md).

# 11. Pool TemplateとFactory

12個のMining Pool Contractは、互いに異なるロジックを持つ別個の開発物ではない。すべてのプールは、同一の監査済みMining Pool Templateに基づいてデプロイされる。各プールは同一の核心ロジックを使用し、次のパラメータのみが異なる形で設定される。

| パラメータ              | 説明                     |
| ------------------ | ---------------------- |
| STONXType          | 当該プールで採掘されるストーン種類      |
| maxSupply          | 当該ストーンの最大発行量           |
| baseMiningInterval | 基本マイニング周期              |
| targetPoolPower    | 基準マイニングパワー             |
| scarcitySchedule   | ストーン別半減期構造             |
| poolAddress        | NFTコントラクトが許可する発行権限アドレス |

このために、CryptoStoneはPool Factory構造を使用できる。Pool Factoryは、同一のMining Pool Templateに基づいて12種類のストーン別プールを生成し、デプロイ後に各プールの核心パラメータを固定する。

| 利点       | 説明                                  |
| -------- | ----------------------------------- |
| コード一貫性   | 12個のプールが同一ロジックを使用する。                |
| 監査効率性    | 1つのPool Templateを中心にセキュリティ監査が可能である。 |
| リスク低減    | プールごとに異なるコードによる例外的バグの可能性を縮小する。      |
| パラメータ透明性 | 各プールの違いは公開された固定値によってのみ発生する。         |
| 拡張性      | 将来的に新しいストーンプールを拡張する際にも同一構造を活用できる。   |

したがって、CryptoStoneは「12個の独立鉱山」という経済的構造を維持しながらも、開発面では同一で検証可能なスマートコントラクトテンプレートを使用することで、安定性と透明性を高める。


---

# 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/crypto-stone/crypto-stone-wp-jp/mainingushisutemu/11miningpooltemplatetofactory.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.
