> For the complete documentation index, see [llms.txt](https://human-game.gitbook.io/human-memento/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://human-game.gitbook.io/human-memento/rewards/oracle-new.md).

# Oracle (New)

## Purpose

The price oracle's purpose is to balance the **$EPK** payout gained through mining, along with minting costs to the current dollar value of **$EPK.**

This means that the following will happen if the dollar value per $EPK increases:

* $EPK payouts decrease
* Mint *Time Machines* costs less $EPK
* Mint *Explorers* costs less $EPK

If $EPK price in dollar decreases the opposite of the above becomes true.

{% hint style="info" %}
The Oracle will dynamically adjust costs and rewards up or down depending on changes in the dollar value of $EPK.
{% endhint %}

## How to tune the price of $EPK? (New)

* **Real-time Price (RP)** = The real-time price of $EPK in PancakeSwap.
* **Remaining Rewards Pool (RRP)** = Total Rewards Pool - Total Unclaimed
* **Average Daily Minted Rewards (ADMR)** = Average rewards of successful expeditions in the past 10 days in USDT
* **Healthy Days (HD)** = 10
* **Oracle Price (OP)** =  max(*RP*, ADMR / (RRP / HD)*)*

Oracle Price will be used in **Human:Memento** to dynamically adjust costs and rewards up or down. Energy will also be controlled by the oracle price.

## Reason

The reason for the oracle's usage is so that the economy of the game is balanced around a set dollar value. A limited amount of **$EPK** token that can circulate in the economy, and a big influx of players would likely drain all the **$EPK** present in the game contract.

By utilizing the oracle, **Human: Memento** forms a correlation between active users and the dollar value of **$EPK**. The assumption is that when the **$EPK** price rises, the demand for **$EPK** increases as well through the release of new game features or an influx of new players. The oracle will ensure consistent dollar value payouts per transaction at the time it was made, along with ensuring mint costs for NFTs remain at a consistent dollar value.&#x20;

This means that entry costs and rewards can be balanced and maintained for extended periods of time, and will accurately reflect the desired minting costs to allow new players a chance to play even if the dollar value of **$EPK** rises.
