> 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/24_halving_and_scarcity_multiplier.md).

# 24 Halving and Scarcity Multiplier

The halving structure of CryptoStone is applied independently for each STONX, not across the entire collection.

If the maximum supply of STONX (j) is (N\_j), the quantity mined so far is (n\_j), and the mining progress ratio is (q\_j), then it is calculated as follows:

$$
q\_j = n\_j \div N\_j
$$

For example, if Diamond’s maximum supply is 110,000 and 55,000 have been mined so far:

$$
q\_{\text{Diamond}} = 55,000 \div 110,000 = 0.5
$$

This means that the Diamond Pool has reached the 50% mining stage.

The scarcity multiplier (S\_j) of each STONX increases according to the mining progress ratio (q\_j).

| Mined Supply Ratio | Remaining Supply | Scarcity Multiplier |
| ------------------ | ---------------- | ------------------- |
| 0% \~ 50%          | 100% \~ 50%      | 1x                  |
| 50% \~ 75%         | 50% \~ 25%       | 2x                  |
| 75% \~ 87.5%       | 25% \~ 12.5%     | 4x                  |
| 87.5% \~ 93.75%    | 12.5% \~ 6.25%   | 8x                  |
| 93.75% \~ 96.875%  | 6.25% \~ 3.125%  | 16x                 |
| 96.875% or more    | 3.125% or less   | 32x                 |

This can be generalized as follows:

$$
S\_j(q\_j) = 2^{\min\left(5, \lfloor \log\_2 \left( 1 \div (1 - q\_j) \right) \rfloor \right)}
$$

However, when (q\_j) corresponds to the initial range, (S\_j(q\_j)) remains at a minimum of 1x. In actual smart contract implementation, rather than calculating the formula directly, it may be implemented based on a pre-disclosed range table.

This formula expresses a structure in which mining difficulty increases geometrically as the remaining supply of each STONX decreases. This brings the real-world structure of mining costs and difficulty increasing as mine reserves decrease into the digital environment.


---

# 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/24_halving_and_scarcity_multiplier.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.
