# Rewards Layer

The rewards layer implements an economic model to incentivize validator participation and maintain node network security.

Reward distribution mechanism:

The reward distribution incorporates a time-decay factor and a task difficulty multiplier:

$$
R(v,t)=
∑
u∈V
t
​

​
W(u,t)
W(v,t)
​
×R
t
​
×D(t)×e
−λ(t
c
​
−t
s
​
)
$$

*where:*

* R(v,t) is the reward for validator v for task t
* W(v,t) is the weight of validator v for task t
* Vt is the set of validators that participated in task t
* Rt is the base reward for task t
* D(t) is the difficulty multiplier for task t
* λ is the time decay constant
* tc​ is the current time
* ts is the task submission time

Validator weight calculation:

The validator weight is a function of performance, availability, and stake:

$$
W(v,t)=P(v)
α
×A(v)
β
×S(v)
γ
×(1+I(v,t))
$$

*where:*

* P(v) is the performance score of validator v
* A(v) is the availability of validator v
* S(v) is the stake of validator v
* I(v,t) is an innovation factor for new solutions proposed by v for task t
* α, β and γ are adjustable parameters to fine-tune the importance of each factor

{% hint style="info" %}
We invite developers, researchers, and enthusiasts to work with our contributors for this section. [Start contributing here.](https://app.deform.cc/form/21842244-e1c1-479f-a8b3-3877903ecd44)&#x20;
{% 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://flexecosystem.gitbook.io/flex-docs/protocol/flex-validator-nodes/rewards-layer.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.
