1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00
docs/data-farming/apys.md
2023-11-06 07:00:41 +01:00

4.7 KiB
Raw Blame History

description
From emissions, estimate APYs

APYs

Multiply, and multiply again. And again.

Contents:

About APYs

Rewards are earned by users that hold and use their veOCEAN to help the protocol improve and grow.

To receive competitive short-term APYs, veOCEAN requires users to make long-term commitments.

Estimated APY vs Time

The plot below shows estimated APY over time. It brings together data from the OCEAN reward schedule and estimates of amount staked (yellow line in plot).

Green includes both passive and active rewards; black is just passive rewards. So passive rewards (black) provides a great baseline with upside in active rewards (green). For example, in DF29 wash consume became unprofitable and led to a drop in DCV and therefore active rewards.

APYs are an estimate because APY depends on OCEAN locked. OCEAN locked for future weeks is not known precisely; it must be estimated. The yellow line is the model for OCEAN locked. We modeled OCEAN locked by observing linear growth from DF week 5 (when OCEAN locking was introduced) to week 28: OCEAN locked grew from 7.89M OCEAN to 34.98M OCEAN respectively, or 1.177M more OCEAN locked per week. (Note: the current model was last updated in DF week 29.)

Green: estimated APYs (passive + active). Black: estimated APYs (just passive). Yellow: estimated staking

OCEAN lock time affects APY. The numbers above assume that all locked OCEAN is locked for 4 years, so that 1 OCEAN → 1 veOCEAN. But APY could be much worse or more if you lock for shorter durations. Here are approximate bounds.

If you lock for 4 years, and everyone else locks for 2, then multiply expected APY by 2. If you lock for 4 years and others for 1, then multiply by 4. Conversely, if you lock for 2 years and everyone else for 4, then divide your expected APY by 2. If you lock for 1 year and others for 4, then divide by 4. The numbers assume that youre actively allocating veOCEAN allocation towards high-DCV data assets. For passive locking or low-DCV data assets, divide APY by 2 (approximate).

All the plots are calculated from this Google Sheet.

⚠️ The model was last updated on DF week 29, and is therefore somehwat out of date. At the time, Volume DF was the only sub-stream of Active DF, and therefore Volume DF got all the Active DF budget. In practice one would need to account for Challenge DF and Predictoor DF. (However this gets more complex because Predictoor DF is highly dependent on prediction accuracy).


K.I.S.S.

User Guide to Estimating APYs

Estimating Passive APY

To make it easier to estimate your APY, we have created a simple spreadsheet that let's you easily estimate your Passive APY.

We have provided 2 sheets as an example of locking-up 10,000 OCEAN for:

  1. A 4-year investment period
  2. A 6-mo investment period

The above are simplified examples meant for everyone to understand. They are naive investment strategies and are meant to provide you, the reader, with some examples to build upon. You can use these as a reference to create your own plan, so feel free to make a copy of this spreadsheet and customize it to your needs and wants.

Estimating Active APY (from Volume DF)

Active Rewards are a bit more complicated and depend on many factors that are currently hard to predict accurately. It is unlikely for the user to get a practical result, which is why we don't offer a tool to estimate Active APY right now.

You can easily expand the spreadsheet above to support a basic, naive calculations for Active Rewards such as adding a fixed-rate.

To help solve this challenge, we built a dashboard that shows historical and ongoing summaries of APY, Data Consume Volume, and veOCEAN allocations per-round.

Curate like a Pro.

Finally, you can review df-web code to understand how the APYs on the UI are calculated.