# Cost

$$
Tier~~up~~Cost=\[Lay\_{n}\* x\_e] +\[Orb\_{n}\*y\_e^2]
$$

$$
Lay\_{n}=Lay~~Mining~~per\~Day\[Lev.\alpha]
$$

$$
Orb\_{n}=Lay~~Mining~~per\~Day\[Lev.\alpha]\*{\sqrt {Lay\_{p}}\over \ \sqrt {Orb\_{p}}}
$$

$$
Lay\_{p}=Lay~~Price
\Orb\_{p}=Orb~~Price
$$

All costs for buildings are determined by the formula above. The cost is based on the amount of $Lay 007 mined. Because it is based on the amount of Lay mined, the Lay value is a fixed cost based on the tier and level of the building, but $Orb is a variable cost. The reason for the variable cost of $Orb is that when the price of $Orb is high, it is unlikely that further construction or upgrades will be triggered.

#### Evolution Cost

$$
x\_e=15
$$

$$
y\_e=15
$$

#### Coefficient of x and y for each tier & level

| Lev   | common | rare | epic | unique | legendary |
| ----- | ------ | ---- | ---- | ------ | --------- |
| 1 Lev | 1.00   | 1.12 | 1.24 | 1.36   | 1.48      |
| 2 Lev | 1.04   | 1.16 | 1.28 | 1.40   | 1.52      |
| 3 Lev | 1.08   | 1.20 | 1.32 | 1.44   | 1.56      |

The table above shows the coefficients by Tier & Level for the values of x, y. In other words, the values of x, y increase as the level and tier increase.

#### $Lay Cost

|           | common | rare   | epic    | unique  | legendary |
| --------- | ------ | ------ | ------- | ------- | --------- |
| Evolution | 0.9720 | 3.2400 | 13.3650 | 76.5461 |           |

#### $Orb Cost = Dynamic Cost

{% hint style="info" %}
The value of **x\_e and y\_e** may be adjusted by governance.
{% endhint %}

{% hint style="info" %}
**Note: Please note that all figures are subject to change by governance.**
{% endhint %}

{% hint style="info" %}
**Note: The prices of $ORB and $LAY are based on a 24-hour moving average.**
{% endhint %}

{% hint style="danger" %} <mark style="color:red;">**Note: Keep in mind that all tokens and NFTs spent on the upgrade are irrevocable and non-refundable.**</mark>
{% endhint %}


---

# 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://orbcity.gitbook.io/orbcity/building/upgrading-system/tier-up-evolution/cost.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.
