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

simplify reward and bonus calculations in sQuartz #86

Merged
merged 2 commits into from
Jun 21, 2023

Conversation

brkomir
Copy link
Contributor

@brkomir brkomir commented Jun 20, 2023

No description provided.

Base automatically changed from scip-notify-rewards-fix to main June 21, 2023 20:45
@brkomir brkomir merged commit 08c2218 into main Jun 21, 2023
@brkomir brkomir deleted the scip-code-quality-improvements branch June 21, 2023 20:52
coolhill pushed a commit that referenced this pull request Jul 10, 2023
dxganta added a commit that referenced this pull request Jul 19, 2023
* staking contract "notifyRewardAmount" fix (#85)

* staking contract "notifyRewardAmount" -> "startRewardsDistribution" refactor

* remove unused error type

* refactor to improve code quality of the scip staking contracts (#86)

* staking contract "notifyRewardAmount" -> "startRewardsDistribution" refactor

* refactor to improve code quality of the scip staking contracts

* add fv report

* rename

* add visual assets

* small edit

* md doesnt render svg

* fix path

* fix size

* size

* text fixes

* consistency

* moving all constant values to Constants.sol and removing duplicates (#89)

* renaming adapters to differentiate usage between scUSDCv2 & scWETHv2 (#91)

* document the decision of not including LQTY into total assets (#94)

* fix for the logic for maintaining the float balance on withdrawals (#92)

* fixed the logic for maintaining float balance on withdrawals

* fix min float test assertation

* added script for scUSDCv2 rebalancing scenarios

* update logs

* compile issue fixed

---------

Co-authored-by: 0xBRM <0xBRM@users.noreply.github.com>
Co-authored-by: 0xBRM <9098352+0xBRM@users.noreply.github.com>
Co-authored-by: 0xrin1 <0xrin1@protonmail.com>
Co-authored-by: realdiganta <47485188+dxganta@users.noreply.github.com>
@coolhill coolhill changed the title refactor to improve code quality of the scip staking contracts simplify reward and bonus calculations in sQuartz Jul 19, 2023
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