Skip to content

Conversation

ahnaguib
Copy link
Contributor

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

Copy link

openzeppelin-code bot commented Sep 10, 2024

Update rebase curve parameters and deviation threshold to match mainnet

Generated at commit: 352a40cc8fe437ac46ca9aa7fab44610e4930afa

🚨 Report Summary

Severity Level Results
Contracts Critical
High
Medium
Low
Note
Total
1
1
0
6
29
37
Dependencies Critical
High
Medium
Low
Note
Total
0
0
0
0
0
0

For more details view the full report in OpenZeppelin Code Inspector

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.

I think we used 42?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The original intent was 45, so we can keep it 45 here and update mainnet on the next proposal

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