-
Notifications
You must be signed in to change notification settings - Fork 18
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
Updated Bonding Curve #92
Conversation
have bounds on reverting due to overflow.
Codecov Report
@@ Coverage Diff @@
## main #92 +/- ##
==========================================
- Coverage 48.94% 48.93% -0.02%
==========================================
Files 287 287
Lines 42317 42317
==========================================
- Hits 20712 20707 -5
- Misses 19249 19250 +1
- Partials 2356 2360 +4
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just fix the solidity linter issues and we should be good to merge on my side.
Scope
Changed magic numbers into constants which parameterize the function.
Why?
The code becomes easier to read.
Todos
At some point, add reference to bonding curve article.