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
Ruaridh
22e168d06a
Various Auction TODOs ( #281 )
...
* make auctions not expire without bids
* add events
* improve genesis state validation
* add genesis tests
* update comment
Co-Authored-By: Kevin Davis <karzak@users.noreply.github.com>
* add more events attributes
Co-authored-by: Kevin Davis <karzak@users.noreply.github.com>
2020-01-14 15:00:37 +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
Ruaridh
e1c11d411a
Update Auction Module ( #276 )
...
* rough auction type refactor
* replace endTime type
* split keeper file up
* update store methods
* move store methods to keeper.go
* move nextAuctionID from params to genState
* simplify auction type to not use pointers
* add basic auction tests
* update endblocker test
* add payout to depositors feature
* add more tests
* move index updates to Get/Set for more safety
* remove slightly unecessary ID type
* remove unused message types
* feat: add spec, update redundant type names
* stop sending zero coins
* use only one coins field in MsgPlaceBid
* remove uncessary Auction interface methods
* give auction types more accurate names
* remove vuepress comments from spec
* minor spec updates
* update doc comments
* add params validation
* code cleanup, address review comments
* resolve minor TODOs
* sync spec with code
Co-authored-by: Kevin Davis <karzak@users.noreply.github.com>
2020-01-12 16:12:22 +01:00
rhuairahrighairigh
2152bb4ed2
rename test helper func
2019-12-07 00:12:07 +00:00
rhuairahrighairigh
1295dfbffc
update liquidator tests
2019-12-06 23:49:47 +00:00
rhuairahrighairigh
688b7830c0
Merge branch 'kd-propose-params' into ro-remove-mock-from-tests
2019-12-05 15:56:24 +00:00
rhuairahrighairigh
4662123105
add check balance method to TestApp
2019-12-05 13:51:46 +00:00
rhuairahrighairigh
ce2b2e2213
update cdp keeper tests
2019-12-03 14:35:27 +00:00
rhuairahrighairigh
6f3cb815a2
add TestApp
2019-12-03 14:33:20 +00:00
rhuairahrighairigh
fc2b7f9652
add new modules to app
2019-12-02 10:51:13 +00:00
rhuairahrighairigh
154af93476
add sim test comments
2019-10-10 12:55:02 -04:00
rhuairahrighairigh
6f1cdeb336
set address prefixes for tests
2019-10-10 12:55:02 -04:00
Kevin Davis
ad82e971ae
address review comments
2019-10-04 13:55:49 -04:00
Kevin Davis
cadb7baf2b
fix genesis state and sims
2019-10-02 09:10:28 -04:00
rhuairahrighairigh
436c48c8d2
resolve TODOs
2019-09-27 14:05:21 -04:00
rhuairahrighairigh
a13e8d0379
fix invariant benchmarking
2019-09-26 16:14:10 -04:00
rhuairahrighairigh
3bf82e9ee9
update app and cmd
2019-09-25 15:50:03 -04:00
rhuairahrighairigh
d060b4145f
update to latest sdk
2019-09-25 15:00:44 -04:00
rhuairahrighairigh
3871e5a84b
update to latest master
2019-09-13 16:52:10 -04:00
rhuairahrighairigh
b71ce1802b
fix simulations
2019-09-12 14:27:13 -04:00
rhuairahrighairigh
5acc23e6e5
update app package
2019-09-11 18:33:20 -04:00
rhuairahrighairigh
6de02ac81f
update viper dependency
2019-07-26 13:11:23 +01:00
rhuairahrighairigh
0b905b3d75
remove unecessary code
2019-07-19 15:06:47 +01:00
rhuairahrighairigh
5645f5a766
tidy formatting and comments
2019-07-19 15:06:33 +01:00
rhuairahrighairigh
67c0393214
tidy up go.mod
2019-07-18 19:13:53 +01:00
rhuairahrighairigh
d73cfc7167
update sdk and app pkg
2019-07-18 18:36:31 +01:00
Kevin Davis
dde8b2a62a
feat: use kava prefix
2019-07-02 16:06:16 -04:00
rhuairahrighairigh
6a33517a5d
refactor address prefixes
2019-06-25 14:29:56 +01:00
rhuairahrighairigh
4ec5fd01ec
change address prefixes
2019-06-21 12:32:27 +01:00
rhuairahrighairigh
4cbc222e4f
tidy up naming
2019-06-20 18:28:21 +01:00
rhuairahrighairigh
0f6f109f95
change app name
2019-06-20 18:13:21 +01:00
rhuairahrighairigh
4ab69f33db
rename cli and daemon binaries
2019-06-20 18:08:58 +01:00
rhuairahrighairigh
ec312fefc8
generalize app name
2019-06-20 18:02:29 +01:00
rhuairahrighairigh
17911d89f3
update import paths to local packages
2019-06-20 17:29:13 +01:00
rhuairahrighairigh
04e9e8caf4
move packages to top level
2019-06-20 17:17:45 +01:00
rhuairahrighairigh
76a7f3dd57
add 0.34 gaia
2019-06-20 14:37:57 +01:00
rhuairahrighairigh
061c27bbc6
update
2019-06-07 12:59:19 +01:00