# Underlying Protocol Rewards (UPR)

### **ATTENTION! The project has been shut down! Details can be found at:**

<https://cadabra.gitbook.io/v2/articles/announcement-of-cadabra-finance-stopping>

### **Everything written below on this and all other pages is no longer relevant and is provided for historical information only. If you continue to use the project website or its smart contracts, you do so at your own risk.**

## Collection of Underlying Protocol Rewards (UPR)

After liquidity rebalancing, rewards from underlying protocols begin accumulating on special contracts. The amount of collected rewards depends on the liquidity rebalancing at the start of the epoch, TVL in strategies, and the APR of the underlying protocols throughout the epoch.

## Distribution of Underlying Protocol Rewards (UPR)

<figure><img src="/files/FimwkFrnExxybTTHKowq" alt=""><figcaption></figcaption></figure>

First, there is a vote for yield sources (Epoch N).&#x20;

In the following epoch, N+1, UPR accumulation takes place.&#x20;

UPR is distributed in epoch N+2 after the accumulation.&#x20;

UPR is distributed all at once at the beginning of epoch N+2, which is the epoch following the accumulation.&#x20;

UPR is distributed among voters proportionally to their share of votes.

{% hint style="info" %}
Voting at the strategy level also counts as voting for yield sources; in this case, votes from the strategy are distributed among yield sources according to their share of the strategy's liquidity during the voting epoch. Details and examples can be found [here](/v2/earn-with-cadabra/yield-for-voting-upr.md).
{% 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://cadabra.gitbook.io/v2/strategies/underlying-protocol-rewards-upr.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.
