# Rewards and Calculation formula

This section provides detailed formulas and explanations on the factors influencing your daily minting rewards, including minting assets, minting power, and price fluctuations of LYK tokens.

## **Rewards Calculation for Auto Linking Off**

### **Step 1: Determine Each User’s Tokens and locking Limit**

* **Locked tokens Calculation:**
  * The Locked tokens are determined by the number of tokens you linked and the price of LYK tokens at the time of linking.

{% hint style="success" %}
**Formula***:*

`Tokens locked =(Day 0 Token count * Day 0 link price) + (Day 2 Token count * Day 2 link price) + (Day N Token count * Day N link price)`
{% endhint %}

* **Staking Limit:**
  * The maximum number of tokens you can stake depends on the chosen plan/machine and is limited by your available tokens relative to the current price of LYK tokens.

{% hint style="success" %}
**Formula*****:***&#x20;

`Link Limit =(plan/machine Link Limit - Total tokens locked for the user) / Current LYK Price`
{% endhint %}

### **Step 2: Reward Calculation**

* **Daily Reward Calculation:**
  * Rewards are calculated daily at 00:00 UTC. The key factors involved in the calculation are:
    * **All Time High (ATH):** The highest price LYK has reached since you started link.
    * **Percentage Fall from ATH:** This measures how much the LYK price has dropped from its ATH.

{% hint style="success" %}
**Formula:**

`Percentage Fall from ATH = (ATH - LYK Price) / ATH`
{% endhint %}

* **Decrease Level Price (DLP):** The LYK price at the time of enrollment, adjusted based on price falls from ATH.
  * **Inflation Rules:**

|                             |                         |                  |                   |
| --------------------------- | ----------------------- | ---------------- | ----------------- |
| **% Fall in the LYK Price** | **Decrease production** | **Increase DLP** | **Minting Boost** |
| 0%                          | 0.00%                   | 0.00%            | 0                 |
| 5%                          | 0.00%                   | 0.00%            | 0                 |
| 10%                         | 5.00%                   | 5.00%            | 0                 |
| 15%                         | 5.00%                   | 5.00%            | 0                 |
| 20%                         | 10.00%                  | 10.00%           | 0.01              |
| 25%                         | 10.00%                  | 10.00%           | 0.01              |
| 30%                         | 15.00%                  | 5.00%            | 0.02              |
| 35%                         | 20.00%                  | 5.00%            | 0.03              |
| 40%                         | 25.00%                  | 5.00%            | 0.04              |
| 45%                         | 30.00%                  | 5.00%            | 0.05              |
| 50%                         | 35.00%                  | 5.00%            | 0.06              |
| 55%                         | 40.00%                  | 5.00%            | 0.07              |
| 60%                         | 45.00%                  | 5.00%            | 0.08              |
| 65%                         | 50.00%                  | 5.00%            | 0.09              |
| 70%                         | 55.00%                  | 5.00%            | 0.1               |
| 75%                         | 60.00%                  | 5.00%            | 0.11              |
| 80%                         | 65.00%                  | 5.00%            | 0.12              |
| 85%                         | 65.00%                  | 5.00%            | 0.12              |
| 90%                         | 65.00%                  | 5.00%            | 0.12              |
| 95%                         | 65.00%                  | 5.00%            | 0.12              |

* **Production Decrease Calculation:**
  * When the LYK price falls or remains unchanged, use the % fall from ATH to fetch the production decrease % from a predefined table.
  * When the LYK price increases, calculate the % fall from DLP.

{% hint style="success" %}
**Formula:**

`Percentage Fall from DLP = (DLP - LYK Price) / DLP`
{% endhint %}

* **Minting Power:**
  * Minting power is determined by your chosen plan/machine and remains fixed once defined.
  * Minting Boost is common for all users and applicable to the overall NodeK program. At the launch of NodeK the minting boost will be 0.00%. When the LYK price falls from previous day price, the % fall from ATH value is used to fetch the boost value from the table added in earlier section

{% hint style="success" %}
**Formula:**

`Minting Power = Plan's Base Minting Power + Minting boost`
{% endhint %}

* **Reward Calculation:**
  * Your daily reward is calculated based on your minting power, the number of staked tokens, and the reward rate.

{% hint style="success" %}
**Formula:**

`Daily Reward = Total Tokens locked Value * Minting Power * Production Reduction * 0.7`
{% endhint %}

## **Rewards Calculation for Auto linking On**

### **Step 1: Determine Each User’s Token Locked value and link Limit**

* **Token Locked Value Calculation:**
  * For Auto linking On, your Token Locke Value includes the rewards received in addition to the staked tokens.

{% hint style="success" %}
**Formula:**

`Total Token locked value = (Previous Day token amount) + (Previous Day $ Rewards)`
{% endhint %}

* **Daily Auto Linking**:
  * Rewards from the previous day are added to your token locked value amount daily and summed into the staked equivalent token at the prevailing LYK price for that day.

**Step 2: Reward Calculation**

* The calculation logic is the same as for Auto linking Off.
* **Reward Calculation:**

{% hint style="success" %}
**`Formula:`**

`Daily Reward = Total token locked Value * Minting Power * Production Reduction`
{% endhint %}

For further assistance or inquiries, consult our support documentation or contact our customer support team. Happy minting!


---

# 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://docs.layerk.com/layer-4-minting-and-staking/nodek-1.0-minting/rewards-and-calculation-formula.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.
