-
Notifications
You must be signed in to change notification settings - Fork 17
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
Restrict addLiquidityToBuffer
to proportional
#982
Conversation
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.
First pass looks good, with a few minor suggestions. Haven't gone through the tests in detail yet
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! Thanks for pushing this @joaobrunoah.
I do have one relatively important comment regarding the math. I'll do one final pass once that's addressed :)
Co-authored-by: EndymionJkb <[email protected]>
Co-authored-by: EndymionJkb <[email protected]>
…onal' into add-liquidity-to-buffer-proportional
Co-authored-by: Juan Ignacio Ubeira <[email protected]>
…onal' into add-liquidity-to-buffer-proportional
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! Great job.
Description
Per issue #977, the current implementation of
addLiquidityToBuffer
does not implement the buffer minimum check. This check is not necessary if we only support proportional add liquidity.Type of change
Checklist:
main
, or there's a description of how to mergeIssue Resolution
Closes #977