# Staking APR

Stakers are rewarded for their service of providing liquidity and facing impermanent loss on the [80/20 Balancer pool](https://balancer.fi/pools/arbitrum/v2/0x1ed1e6fa76e3dd9ea68d1fd8c4b8626ea5648dfa0002000000000000000005cb). Rewards currently come from 3 sources, which are reflected in the staking APR:

* Balancer swapping fees
* wstETH bearing yield (since this is the currency paired with TANGO on the Balancer pool)
* Staking rewards coming from Contango protocol fees

<figure><img src="/files/S8fT3fu9YECo8p4jYI1N" alt="Screenshot of staking APR"><figcaption></figcaption></figure>

Let's dig more into how fees are collected, transfered and then computed into the APR:

## Protocol fees collection

The process is as follows:

1. [Trading fees](/basics/key-features.md#fees) are collected on each chain in a fee collector contract (`0xfee97c6f9bce786a08b1252eac9223057508c760`).
2. When a given threshold is reached, fees are converted to a basket of blue-chip currencies and swapped to the fee collector contractor contract on Arbitrum to minimize transaction costs.
3. When a given threshold is reached, the fees from the fee collector on Arbitrum are sent to the reward distributor on Arbitrum (`0xb35b3004125e342d9a996e1b274fe85cc22d46f2`).

<figure><img src="/files/OtxbqbzXZlT8Tj9Ac2rs" alt="Diagram explaining fees collection and distribution to stakers" width="563"><figcaption></figcaption></figure>

Protocol fees are distributed weekly according to the share of veCBPT, through a basket of blue-chip currencies (e.g. ETH, WBTC, USDC). This basket will eventually be optimized over time to minimize swapping and bridging costs, since Contango collects fees at the UI level in a wide variety of currencies and chains.&#x20;

## APR overview

Once staked, on the [Staking](/app/staking.md) page you find two APRs:

1. The *max staking APR* you could get if your CBPT are staked for the maximum duration, i.e. 52 weeks.
2. Your *estimated APR* for a given week.

<figure><img src="/files/X4BsXLBtoNCmr9bn5HtZ" alt="Screenshot of staking page showing two APRs" width="563"><figcaption></figcaption></figure>

## APR computation

This is how your staking APR is computed:

* Get the total fees available in the Reward Distributor Contract, minus the fees which have not been collected yet in the previous weeks.
* Multiply this number by your share of total veCBPT on Thu 00:00 UTC.
* Assume no more fees will be collected during the week, annualize this number and divide it by the value of your CBPT staked.

Example:

* Your CBPT staked value is 10.24$.
* Your share of the total CBPT is 0.42% on Thu 00:00 UTC.
* You are going to receive 0.082$ of fees.
* Your APR is 41.64%.


---

# 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.contango.xyz/app/staking/staking-apr.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.
