> For the complete documentation index, see [llms.txt](https://xeal.gitbook.io/xeal/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xeal.gitbook.io/xeal/getting-started/xtoken-next-generation-of-memecoins/deflationary-xtoken.md).

# Deflationary xToken

### Why moon?

xToken is driven by the burn mechanics of xNFT as described above. As supply of xTokens decrease, the price of xToken is designed to increase.

$$
P=\frac{M}{S}
$$

Price is determined by Market Cap divided by the total supply of xToken. Thus,&#x20;

$$
P=\text{price}\\
M=\text{market cap}\\
S=\text{total supply}
$$

Given that the new supply changes according to the burn mechanism of mint and trade, the denominator of the price equation can be represented as the new supply.

$$
S\_{1} = S\_{0}-Burn\_{m}-Burn\_{t} \\
S\_{1} = \text {new supply} \\
S\_{0} = \text {old supply} \\
Burn\_{m} = \text{supply burnt from mint} \\
Burn\_{t} = \text{supply burnt from trade}
$$

Burnt supply from both mint and trade can be summarized by summation of all instances of mint or burn, determined by the price in xToken and burn fee at the period of action. To give burn supply of mint as an example,

$$
\sum\_{i=1}^n P\_{mi} B\_{mi}\\
n = \text{number of mints}\\
P\_{mi}=\text{price of mint at instance i}\\
B\_{mi}=\text{burn fee in percentage of mint at instance i}
$$

To combine everything, we get the price appreciation equation where price is determined by the burnt supply from mint and the fees that occur from trades, as follows.

$$
P\_{1} = \frac{P\_{0}S}{S - \sum\_{i=1}^n P\_{mi} B\_{mi} - \sum\_{j=1}^m P\_{tj} B\_{tj}}\\
$$

$$
P\_{1}=\text{new xToken price}\\
P\_{0}=\text{old xToken price}\\
S=\text{xToken supply}\\
n=\text{number of mints}\\
P\_{mi}=\text{price of mint at i}\\
B\_{mi}=\text{mint burn fee in percentage at i}\\
m=\text{number of trades}\\
P\_{tj}=\text{price of trade at j}\\
B\_{tj}=\text{trade burn fee in percentage at j}
$$
