-
Notifications
You must be signed in to change notification settings - Fork 6
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/g3m liquidity exact token #47
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.
What's the rationale for these exact functions? I see us using them in the sim since they reduce some of the external code we need to do (computing both amounts)
Yes, they are mainly convenience functions, they'll be useful for the sims but could be useful for end users too. |
Update
addLiquidity
andremoveLiquidity
to use an exact amount of token X or Y (previous functions using an exact amount of liquidity were kept).