Skip to content
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

Adding query a pool endpoint through poolCoin or reserveAcc #345

Closed
6 of 10 tasks
dongsam opened this issue May 19, 2021 · 0 comments · Fixed by #390
Closed
6 of 10 tasks

Adding query a pool endpoint through poolCoin or reserveAcc #345

dongsam opened this issue May 19, 2021 · 0 comments · Fixed by #390
Assignees

Comments

@dongsam
Copy link
Contributor

dongsam commented May 19, 2021

Summary

Add cli and API endpoints to query pool information not only with existing pool-id but also with pool-coin-denom and reserve-acc as the number of pools may increase

  • Add pool-coin-denom flag to cli liquidityd query liquidity pool
  • Add reserve-acc flag to cli liquidityd query liquidity pool
  • Add /tendermint/liquidity/v1beta1/pools/pool_coin_denom/{pool_coin_denom} endpoint to API
  • Add /tendermint/liquidity/v1beta1/pools/reserve_acc/{reserve_acc} endpoint to API
  • Add test cases
  • Update documentation

https://app.swaggerhub.com/apis-docs/bharvest/cosmos-sdk_liquidity_module_rest_and_g_rpc_gateway_docs/2.2.2

ref


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant