# APY

When you deposit tokens into the vault, you receive **receipt tokens** representing your proportional ownership of the vault’s assets.

Your receipt token balance remains constant. However, the **value per token increases over time** to reflect performance. In simple terms, your number of tokens does not increase - their value does.

#### How Yield Is Generated

APY is driven by continuous rewards generated across the underlying applications and protocols used in the strategy (such as lending, staking, or liquidity provision).

All rewards are automatically compounded back into the vault, increasing the share value over time.

#### How APY Is Calculated

APY is calculated based on **Oracle Reports**, which update the vault’s share price to reflect changes in asset value.

The calculation compares the share price from a past Oracle Report with the most recent report and annualizes the return over that period.

Formula:

```
currentReport = oracle.getReport(ETH)        # current block
initialReport = oracle.getReport(ETH)        # 1 day old block

apy := (
  (currentReport.priceD18 / initialReport.priceD18)
  ** (365 * 24 * 3600 / (currentReport.timestamp - initialReport.timestamp))
  - 1
) * 100
```

#### Claiming Receipt Tokens

Once your funds enter the vault, receipt tokens are generated and can be claimed via the Lido UI or Mellow UI.

Not claiming your receipt tokens does **not** affect reward accrual - yield continues to accumulate based on your proportional ownership of the vault.

#### Important Disclaimer

APY figures are estimates and may change at any time. Past performance does not guarantee future results.

Rewards are influenced by factors outside the platform’s control, including changes to blockchain protocols, validator performance, and market conditions.


---

# 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://metavaults.mellow.finance/apy.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.
