This will let us calculate the user earnings from the sdk without having to query historical data from the oracle, since we can derive it from tokenPriceUSDC on the VaultDayData entity.
Also it'll speed up deployment because instead of reading from the oracle twice in VaultDayData, we only do it once now.
This will let us calculate the user earnings from the sdk without having to query historical data from the oracle, since we can derive it from
tokenPriceUSDC
on theVaultDayData
entity.Also it'll speed up deployment because instead of reading from the oracle twice in
VaultDayData
, we only do it once now.Fixes https://github.com/yearn/yearn-vaults-v2-subgraph/issues/84