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 keepVELO to strategy page fee for Velodrome vaults #311

Merged
merged 2 commits into from
Aug 3, 2023

Conversation

karelianpie
Copy link
Member

@karelianpie karelianpie commented Aug 2, 2023

Description

  • Adds a style specific to yearn fees list, the tooltipLight was overflowing to the right;
  • Augments the yDaemonVaultSchema schema to include keep_velo;
  • Adds the new field when the vault category is 'Velodrome'

Related Issue

Closes #310

Motivation and Context

Although we already include keepVELO in our overall APR calc, it's nice that users can know exactly how much VELO is being kept by a vault. And the tooltip lets them know what it is, why we do it, and tells them they are getting more than enough to cover it in yvOP.

How Has This Been Tested?

Ran locally, tested with vault 0x88B429359665B8685b7431f5A0f6e8C719Bf49Aa which as keep_velo of 0.5

Screenshots (if appropriate):

Web

No hover

without-hover

On hover

on-hover

Mobile

No hover On hover
mobile-no-hover mobile-hover

@karelianpie karelianpie self-assigned this Aug 2, 2023
@vercel
Copy link

vercel bot commented Aug 2, 2023

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

Name Status Preview Comments Updated (UTC)
yearnfi ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 3, 2023 10:50am

@@ -283,7 +286,7 @@ details {
.tooltip:hover .tooltiptext {
@apply visible opacity-100;
}
.tooltip:hover .tooltipLight {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We also need to keep this one

Copy link
Member Author

@karelianpie karelianpie Aug 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, 9f8d0bd

@Majorfi Majorfi added this pull request to the merge queue Aug 3, 2023
Merged via the queue into main with commit 074264f Aug 3, 2023
10 checks passed
@Majorfi Majorfi deleted the issues/310 branch August 3, 2023 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🟢 Done
Development

Successfully merging this pull request may close these issues.

FRP: Add keepVELO to strategy page fee UI for Velodrome vaults
2 participants