8000 feat: add forward APY calculation for vaults by matheus1lva · Pull Request #229 · yearn/kong · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: add forward APY calculation for vaults #229

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 21 commits into
base: main
Choose a base branch
from

Conversation

matheus1lva
Copy link
Contributor
@matheus1lva matheus1lva commented Apr 3, 2025

Steps to test:

You can use yarn ts-node packages/ingest/debug-apy.ts or bun packages/ingest/debug-apy.ts to debug the implementation, by doing that you should see on the output table the fapy indicator.

Make sure to update some variables as well on your .env:

CRV_GAUGE_REGISTRY_URL=https://api.curve.fi/api/getAllGauges
CRV_POOLS_URL=https://api.curve.fi/api/getPools/all
YDAEMON_API="https://ydaemon.yearn.fi"

PS: By running debug-apy, it wont save on database because the output loaders happens on another queue.

Copy link
vercel bot commented Apr 3, 2025

@matheus1lva is attempting to deploy a commit to the MOM Team on Vercel.

A member of the Team first needs to authorize it.

@matheus1lva matheus1lva marked this pull request as ready for review May 8, 2025 00:04
@matheus1lva
Copy link
Contributor Author

Since the beginning of this pr, curve has suffered an exploit on its dns, so curve.fi is poisoned and the api isnt working.

Update your ./.env with:

CRV_GAUGE_REGISTRY_URL=https://api.curve.finance/api/getAllGauges
CRV_POOLS_URL=https://api.curve.finance/api/getPools/all
YDAEMON_API="https://ydaemon.yearn.fi"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0