Skip to content

Conversation

ahnaguib
Copy link
Contributor

Lower:-0.077
Upper: 0.05
Growth: 45
Deviation threshold 2.5%

Lower:-0.077
Upper: 0.05
Growth: 45
Deviation threshold 2.5%
@ahnaguib ahnaguib requested a review from aalavandhan March 25, 2025 15:46
Copy link

openzeppelin-code bot commented Mar 25, 2025

Update rebase curve parameters and deviation threshold

Generated at commit: 5614a8a9e6c37a81b5b415fec8a6d642536d9ba8

🚨 Report Summary

Severity Level Results
Contracts Critical
High
Medium
Low
Note
Total
1
1
0
5
23
30
Dependencies Critical
High
Medium
Low
Note
Total
0
0
0
0
0
0

For more details view the full report in OpenZeppelin Code Inspector

@ahnaguib ahnaguib requested a review from brandoniles March 25, 2025 15:49
rebaseFunctionGrowth = int256(3 * (10**DECIMALS));
rebaseFunctionUpperPercentage = int256(10 * (10**(DECIMALS - 2))); // 0.1
rebaseFunctionLowerPercentage = int256((-10) * int256(10**(DECIMALS - 2))); // -0.1
rebaseFunctionGrowth = int256(45 * (10**DECIMALS));
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We decided in the previous PR to keep it here this way and switch it to 45 in the next deployment

Co-authored-by: Brandon Iles <[email protected]>
@ahnaguib ahnaguib merged commit 1068015 into master Mar 25, 2025
3 checks passed
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