-
Notifications
You must be signed in to change notification settings - Fork 6
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
refactor(SwapAndLock): lock yfi via CoveYFI instead of directly w/ YSD #297
Conversation
Slither reportTHIS CHECKLIST IS NOT COMPLETE. Use |
Changes to gas cost
🧾 Summary (10% most significant diffs)
Full diff report 👇
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #297 +/- ##
==========================================
- Coverage 97.75% 97.72% -0.03%
==========================================
Files 19 19
Lines 980 969 -11
Branches 200 198 -2
==========================================
- Hits 958 947 -11
Partials 22 22 ☔ View full report in Codecov by Sentry. |
Describe your changes
Currently
SwapAndLock
directly locks YFI viaYearnStakingDelegate
which does not mint new CoveYFI tokens.This PR modifies
SwapAndLock
so it locks YFI via CoveYFI, and sends the newly minted CoveYFI tokens to the treasury set in theYearnStakingDelegate
.Checklist before requesting a review