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: slippage protection for reserve ratio #554

Merged
merged 9 commits into from
Nov 26, 2024

Conversation

baroooo
Copy link
Contributor

@baroooo baroooo commented Nov 22, 2024

Description

Adds slippage protection to updateRatioForReward()

Other changes

Simplifies the new ratio calculation formula

Tested

Unit tests

Related issues

Copy link
Contributor

@philbow61 philbow61 left a comment

Choose a reason for hiding this comment

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

LGTM left 2 samll comments ✌️

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.

3 participants