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

GITBOOK-624: Fixed calcrewards broken link

This commit is contained in:
Ana Loznianu 2023-06-27 12:00:32 +00:00 committed by gitbook-bot
parent 67998aed23
commit 48c7ee5e20
No known key found for this signature in database
GPG Key ID: 07D2180C7B12D0FF

View File

@ -38,7 +38,7 @@ The Reward Function (RF) governs how active rewards are allocated to Data Farmer
1. Distribute OCEAN across each asset **based on rank**: highest-DCV asset gets the most OCEAN, etc.
2. For each asset and each veOCEAN holder: If the holder is a publisher, 2x the effective allocation Baseline rewards = (% allocation in asset) \* (OCEAN for an asset) Bound rewards to the asset by 125% APY Bound rewards by assets DCV \* 0.1%.
For mathematicians and coders, you can find this code inside [calcrewards.py](https://github.com/oceanprotocol/df-py/blob/main/util/calcrewards.py) in the Ocean Protocol [df-py repo](https://github.com/oceanprotocol/df-py/)!
For mathematicians and coders, you can find this code inside [calcrewards.py](https://github.com/oceanprotocol/df-py/blob/main/df\_py/volume/calcrewards.py) in the Ocean Protocol [df-py repo](https://github.com/oceanprotocol/df-py/)!
### What are Ranked Rewards?