0g-chain/x/cdp/client/rest
Kevin Davis 31e185c632
[R4R] cdp rest fixes (#360)
* fix: use correct path for cdp queries

* fix: avoid params being confused for cdp denom

* fix: use consistent terminology

* fix: struct tag mismatch for repayment

* fix: use plural when querying multiple cdps

* fix: use correct type for query by ratio

* wip: refactor cdp query paths

* wip: routing queries

* fix: route prefixes

* wip: address review comments

* Update x/cdp/client/rest/query.go

Co-Authored-By: Ruaridh <rhuairahrighairidh@users.noreply.github.com>

* use post instead of put

Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com>
2020-02-03 10:41:28 -05:00
..
query.go [R4R] cdp rest fixes (#360) 2020-02-03 10:41:28 -05:00
rest.go [R4R] cdp rest fixes (#360) 2020-02-03 10:41:28 -05:00
tx.go [R4R] cdp rest fixes (#360) 2020-02-03 10:41:28 -05:00