* add collateral type field to cdp and collateral param
* fix upstream tests
* fix simulations
* fix validation logic
* update incentive to use collateral type instead of denom
* use collateral type instead of denom in cdp
* remove unused code
* address review comments
* add module accounts command
* update get accounts query to return array of
module accounts instead of map of addresses
* update tests and add update swagger
Co-authored-by: Kevin Davis <kjydavis3@gmail.com>
* 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>
* feat: add swagger
* add version info for mainnet
* feat: update swagger
* fix: type in get params path
* feat: example for creating cdp
* feat: example broadcast signed tx
* feat: examples for depositing to cdp
* added README with example cdp create rest-server request (#358)
* fix: make link-check happy
Co-authored-by: Denali Marsh <denalimarsh@gmail.com>