-
Notifications
You must be signed in to change notification settings - Fork 1
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
GSW-530 feat: swap router #81
Conversation
c0e8b38
to
8a4592c
Compare
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.
Great work 👍. I've touched on a few things, but just take it as a guide, and please point out any errors.
Co-authored-by: Lee ByeongJun <[email protected]>
Co-authored-by: Lee ByeongJun <[email protected]>
Co-authored-by: Lee ByeongJun <[email protected]>
Co-authored-by: Lee ByeongJun <[email protected]>
Co-authored-by: Lee ByeongJun <[email protected]>
@notJoon bit of err found which I left in comments, and made function in getter_api recursive too as quotation |
@mconcat branch is merged for further PR, but pls leave your comments :D |
BestSwap()
handles all type of swap (exactIn / exactOut), (singlePath, multiPath), (singlePool, multiPool)BestSwapDry()
will return best route path depends on input paramtergno.land/r/foo
BREAKING CHANGE
pool.Swap()
will be deprecated next version, callrouter.BestSwap()