Fix #1430: Update Volume DF based on bug (PR #1431)

This commit is contained in:
Trent McConaghy 2024-03-21 15:54:02 +01:00 committed by GitHub
commit 0a30b5bf90
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -63,10 +63,12 @@ _Rewards are calculated as follows:_
1. If the holder is a publisher, 2x the effective allocation
1. Baseline rewards = (% allocation in asset) \* (OCEAN for an asset)
1. Bound rewards to the asset by 125% APY
1. Bound rewards by assets `DCV` \* `DCV_multiplier`.
1. Bound rewards by assets `DCV` \* (% allocation in asset) \* `DCV_multiplier`.
Step 2.4 is to prevent wash consume. `DCV_multiplier` is a function of fees, with a value of 0.201 for Predictoor feeds, and 0.001 for other data assets.
Any OCEAN budgeted for Volume DF that wasnt rewarded goes back into the DF pot for future DF rounds.
The actual code is in [calcrewards.py](https://github.com/oceanprotocol/df-py/blob/main/df_py/volume/calc_rewards.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.