Description
It has come to the Discord community’s attention that the oracle contract, which is meant to allocate yEarn assets to lending protocols with the highest yield (supply intertest rate + any incentive), is currently not calculating rewards correctly. For example, for Dai, Compound is paying the best interest + COMP rewards. Instead, yEarn assets are stuck in Aave right now (everybody noticed the jump in their TVL). This means that we are harvesting only a small fraction of the yield we could be.
CHOICES
Voting for:
The fix to the oracle contract would replace the current:
return Compound(token).supplyRatePerBlock().mul(blocksPerYear);
With something like:
return Compound(token).supplyRatePerBlock().mul(blocksPerYear) + Comptroller(COMPTROLLER).compSpeeds(token).div(21024);
(Needs a Comptroller interface up with the interfaces, of course. And defining the address. And checking that it’s not horribly wrong.)
voting against
no change to the current rewards calculation
Background
Investigation was primarily conducted by Discord member:
- Justwanttoknowathing
With assistance from:
-
Robert#5432 (of Compound Labs)
-
psybull | YFI-maxi | AGAINST 0
-
zai | YFI-maxi
-
Mushroom sells Kidneys for YFI
-
edenau | AGAINST 0 for now
TL;DR in screenshots below (memes preserved for posterity):