Skip to content
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

Feat: add veyfi calculator #493

Merged
merged 31 commits into from
Jan 21, 2025

Conversation

rossgalloway
Copy link
Collaborator

New veYFI calculator to determine boost rates for different deposits as well as deposit sizes with different boosts based on amount of veYFI.

Still to do: get dollar values of gauge assets to allow charts to be shown denominated in usd.

Copy link

vercel bot commented Dec 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
yearn-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 21, 2025 9:59pm

@rossgalloway
Copy link
Collaborator Author

update adds ability to set deposit amounts and see deposit amounts in USD.

To Do: Create widget to enter YFI and time period and output veYFI.
To Do: Get current dYFI rewards rate for vaults.

@rossgalloway
Copy link
Collaborator Author

FYI the vercel preview of this feature is broken because the vars aren't in the vercel preview environment. They should be in the prod environment though so will have to see if it works once deployed. if not, MOM will need to add vars.

To see it working, run locally and add an alchemy key. Or ping me for a loom or something

@rossgalloway rossgalloway merged commit c354075 into yearn:master Jan 21, 2025
4 checks passed
@rossgalloway rossgalloway deleted the feat--add-veYFI-calculator branch January 21, 2025 22:13
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