-
-
Notifications
You must be signed in to change notification settings - Fork 142
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
Add poolID
to Gateway AMM endpoints
#302
Comments
I can work on this. |
if @vic-en drops |
You can assign to @webbdays if he/she is really interested and can get it done. |
Thanks @vic-en |
/attempt |
Hi @fengtality, @nikspz |
I can give you some hints to help you get it done but I expect you to have an understanding of how to interract with smart contracts at the very least. Do you? |
I have some knowledge, previously used web3.js while i was learning to build a smart contract with local blockchain network using Ganache. |
Did you reviewed / used Humminbot Client + Gateway codebase already? |
@webbdays Please be informed: Team shouldn't have to "hand hold" a dev through the process |
I am currently going through the code and docs. I will try mybest. |
hi @webbdays, upon discussion with the team we should assign this bounty to vic-en. You could check one of the bounties here and leave comment if you want to be assigned: |
#302 Assigned to @vic-en, please be informed:
Thanks for your contribution! |
Ok. |
Thanks for your participation, the bounty has been sent to @vic-en . The fix has been deployed on development branch and hummingbot version 1.27.0. |
Why
AMM designs are getting more complex, and a simple QUOTE/BASE tuple may match multiple pools in protocols like Balancer. Similarly, other AMMs feature different fee settings for the same QUOTE/BASE pool. To allow users to specify which pools they are trading against, we need to specify the pool ID instead of these simple descriptors.
What
Add
poolID
as an optional parameter to the following Gateway endpoints below. Initially, the parameter is only required by AMMs like Balancer. For these AMMs,poolID
should be used to fetch the right pool, not the other variables.Afterwards, add error-handling logic to inform users when
poolID
is missing, as well as unit tests.Bounty
The text was updated successfully, but these errors were encountered: