0g-chain/x/cdp
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
..
client [R4R] cdp rest fixes (#360) 2020-02-03 10:41:28 -05:00
keeper fix: avoid panic when closing cdp via repayment (#353) 2020-01-30 18:50:42 -05:00
spec Add CDP Spec (#328) 2020-01-23 14:09:36 -05:00
types Add query for cdp deposits (#346) 2020-01-28 14:08:17 -06:00
abci_test.go fix: avoid panic if cdp debt > debt held by cdp account (#326) 2020-01-21 20:28:25 +00:00
abci.go R4R: Move liquidator functions to cdp module (#280) 2020-01-15 15:19:33 +01:00
alias.go R4R: add collateral value, collateralization ratio to CDP querier (#347) 2020-01-28 09:47:08 -08:00
doc.go feat: migrate modules from kava-devnet 2019-11-25 14:46:02 -05:00
genesis_test.go R4R: CDP types and methods (#275) 2020-01-12 16:35:34 +01:00
genesis.go Fix: Avoid panics when adding cdp collaterals via governance (#329) 2020-01-23 15:41:45 -05:00
handler_test.go R4R: CDP types and methods (#275) 2020-01-12 16:35:34 +01:00
handler.go R4R: CDP types and methods (#275) 2020-01-12 16:35:34 +01:00
integration_test.go Fix: Avoid panics when adding cdp collaterals via governance (#329) 2020-01-23 15:41:45 -05:00
module.go R4R: CDP types and methods (#275) 2020-01-12 16:35:34 +01:00