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

Exist _lock earlier if target lock balance is zero #1975

Closed

Conversation

naddison36
Copy link
Collaborator

Changes to Frax Convex Strategy from yAudit comments.

  • Exit _lock function earlier if target and locked balances are both zero
  • Added a fork test to measure the gas usage of checkBalance

shahthepro and others added 20 commits December 7, 2023 11:22
* add information on how to installed a fixed version of brownie

* update docs
* make it possible for governor to enable rebasing. Add events to rebase opt in/out functions

* prettier

* AccountRebasingEnalbed/Disabled whenever appropriate
* add basic run script

* intermediary commit

* update the runlog

* add documentation regarding strategist runs

* Fix typo

---------

Co-authored-by: Shahul Hameed <10547529+shahthepro@users.noreply.github.com>
* Upgrade OETH token

* update description

* prettier
* Shorten Dripper Duration

* Fix bug

* Lint

---------

Co-authored-by: Shahul Hameed <10547529+shahthepro@users.noreply.github.com>
* Add script

* split up runs

---------

Co-authored-by: Shahul Hameed <10547529+shahthepro@users.noreply.github.com>
* Add script

* split up runs

* update names

---------

Co-authored-by: Shahul Hameed <10547529+shahthepro@users.noreply.github.com>
* update migrations file of 83 deploy

* update proposal id

* prettier
* OETH jan24 reallocation

* adjust tolerances
* Added Balancer deposit
Update Convex AMO harvest
Added Balancer harvest

* Updated Convex AMO and Balancer harvests value flows
Updated buyback value flows

* Added vote locked CVX to buyback
Copy link

github-actions bot commented Jan 15, 2024

Warnings
⚠️ 👀 This PR needs at least 2 reviewers

Generated by 🚫 dangerJS against 3be657c

Copy link

codecov bot commented Jan 15, 2024

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (cc4c40a) 73.96% compared to head (3be657c) 73.26%.
Report is 18 commits behind head on nicka/convex-frax-locking.

Files Patch % Lines
contracts/contracts/token/OUSD.sol 75.00% 4 Missing ⚠️
Additional details and impacted files
@@                      Coverage Diff                      @@
##           nicka/convex-frax-locking    #1975      +/-   ##
=============================================================
- Coverage                      73.96%   73.26%   -0.71%     
=============================================================
  Files                             61       61              
  Lines                           3004     3015      +11     
  Branches                         777      781       +4     
=============================================================
- Hits                            2222     2209      -13     
- Misses                           779      803      +24     
  Partials                           3        3              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@naddison36 naddison36 closed this Jan 16, 2024
@naddison36
Copy link
Collaborator Author

This PR has been replaced with #1976

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.

None yet

5 participants