-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
enhancementNew feature or requestNew feature or request
Description
what
Right now kong supports a simple pps delta APY. For Yearn's Curve based vaults and strategies we also want to provide a forward looking APY. We can do this because,
..."future looking" apr based on our curve strategies which we can predict because:
- we know emissions rate + boost
- know extra token rewards + rates
- know yearn/convex/etc fees
(wavey)
so what
Forward (aka future or estimated) APY gives a better picture of how an investment will perform in the near future. This is especially useful for new products where backward looking metrics (eg pps delta) are undefined.
now what
- Add a timeseries hook for v2 vaults
- Filter for Curve products
- Port the forward looking apy logic from ydaemon, https://github.com/yearn/ydaemon
- Add latest fwd apy to snapshot hook for v2 curve vaults
- Add fwd apy graphql vault typedef and vault resolver
- Specifically test that we match values for https://yearn.fi/vaults/1/0xf165a634296800812B8B0607a75DeDdcD4D3cC88
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request