> For the complete documentation index, see [llms.txt](https://cadabra.gitbook.io/v2/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cadabra.gitbook.io/v2/strategies/underlying-protocol-rewards-upr.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://cadabra.gitbook.io/v2/strategies/underlying-protocol-rewards-upr.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
