Ruaridh
bbc5d3b7a0
Auction rest fixes ( #361 )
...
* auction query fixes
* minor formating tweaks
* add phase info to debt & surplus auctions
* add base auction struct tags
* use module name in querier paths
* update rest tx endoint to use http body
* improve invalid coins error messages
* add rest examples
* align starting auction ID with gov and cdp
* fix cdp test broken by auction ID change
* fix all tests broken by ID change
2020-02-03 10:54:00 -05:00
Ruaridh
bab798f50d
fix: avoid panic if cdp debt > debt held by cdp account ( #326 )
...
Co-authored-by: Kevin Davis <karzak@users.noreply.github.com>
2020-01-21 20:28:25 +00:00
Kevin Davis
a74f63a8f2
Apply Liquidation Penalty ( #313 )
...
* fix: remove redundant debt limit param
* wip: test pricefeed genesis
* fix: pricefeed querier
* fix: comments, naming
* fix: query path
* fix: store methods
* fix: query methods
* feat: Liquidation Penalty
* fix: remove debt from liquidation penalty
2020-01-21 17:52:07 +00:00
Kevin Davis
9b1bf55be7
R4R: Move liquidator functions to cdp module ( #280 )
...
* wip: tpyes and keeper methods
* wip: iterators
* wip: types and keeper methods
* wip: add msgs
* wip: client methods
* wip: rebase develop
* wip: types tests
* wip: keeper tests, small fixes
* wip: add cdp tests
* wip: deposit tests
* wip: keeper tests
* wip: tests and module methods
* feat: error when fetching expired price
* feat: conversion factor for external assets
* feat: debt floor for new cdps
* feat: save deposits on export genesis
* feat: ensure messages implement msg
* feat: index deposits by status
* fix: stray comment
* wip: address review comments
* address review comments
* wip: move liquidation to cdp module
* wip: handle liquidations directly
* wip: use new auction interface
* feat: auction collateral in cdp begin block
* feat: update param validation
* feat: surplus and debt auctions
* address review comments
* address review comments
* fix: auction multiple deposits
* clean up netting function
2020-01-15 15:19:33 +01:00
Kevin Davis
d849d690e5
R4R: CDP types and methods ( #275 )
...
* wip: tpyes and keeper methods
* wip: iterators
* wip: types and keeper methods
* wip: add msgs
* wip: client methods
* wip: rebase develop
* wip: types tests
* wip: keeper tests, small fixes
* wip: add cdp tests
* wip: deposit tests
* wip: keeper tests
* wip: tests and module methods
* feat: error when fetching expired price
* feat: conversion factor for external assets
* feat: debt floor for new cdps
* feat: save deposits on export genesis
* feat: ensure messages implement msg
* feat: index deposits by status
* fix: stray comment
* wip: address review comments
* address review comments
2020-01-12 16:35:34 +01:00