1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00
docs/data-farming/df-volumedf.md

3.4 KiB
Raw Blame History

description
Volume Data Farming

Volume Data Farming

What is Volume DF

Passive Data Farming is a great start to earn from your locked OCEAN (veOCEAN).

Volume DF lets you can earn more with yet, with that same veOCEAN. In Volume DF, you allocate veOCEAN to data assets with high data consume volume (DCV).

User Guide

The Volume DF User Guide tells how to use the Data Farming dApp to allocate veOCEAN.

How to Maximize Volume DF rewards

Here are tactics:

  • Only allocate to assets that actually qualify for DF. The "Assets that qualify" section below has details.
  • Allocate to assets with high DCV. Predictoor data feeds are a good bet.
  • Lock more OCEAN.
  • Lock OCEAN for longer. For example, a 4-year lock is 4x more reward than 1-year.
  • Refresh your OCEAN locks often. This is needed since veOCEAN degrades with time.
  • Frequently claim your OCEAN rewards then lock it. Be careful: too often may make gas fees > OCEAN rewards.
  • Publish your own assets; you get 2x rewards for such assets. Here are details.

Delegate veOCEAN

You can delegate your veOCEAN from one wallet to another. This is handy if you have a hardware wallet holding veOCEAN, and you want a "hot" software wallet to automatically re-allocate more often. There are other uses too.

Here's how to delegate.

Assets that Qualify for Volume DF

Data assets that have veOCEAN allocated towards them get Volume DF rewards.

The asset may be of any type — dataset, data feed, a C2D algorithm, or other. It may be fixed price or free. If fixed price, any token of exchange is alright (OCEAN, H2O, USDC, etc). If free, then gas used for consume is the "volume".

To qualify for DF, an asset must also:

How Rewards are Calculated

The Reward Function (RF) governs how active rewards are allocated to Data Farmers.

Rewards are calculated as follows:

  1. Distribute OCEAN across each asset based on rank: highest-DCV asset gets the most OCEAN, second-highest-DCV gets second-most, etc. Here are details.
  2. For each asset and each veOCEAN holder:
    1. If the holder is a publisher, 2x the effective allocation
    2. Baseline rewards = (% allocation in asset) * (OCEAN for an asset)
    3. Bound rewards to the asset by 125% APY
    4. Bound rewards by assets DCV * 0.1%.

The actual code is in calcrewards.py in df-py repo.

When DF restarts each Thursday, the global allocation towards each asset resets back to zero and then starts counting up again until the end of the round. After allocating your veOCEAN to different datasets, it will take time for your voting power to be accounted for.