Commit Graph

15 Commits

Author SHA1 Message Date
rhuairahrighairigh
aa6dfab6fd Merge branch 'ro-add-debt-tracking-to-auctions' 2020-01-14 12:10:39 +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
61e5de556c add debt tracking to auctions 2020-01-12 15:17:47 +01:00
rhuairahrighairigh
65ef8a9ba3 resolve minor TODOs 2020-01-10 18:55:48 +01:00
rhuairahrighairigh
c239932297 give auction types more accurate names 2020-01-09 16:09:19 +00:00
rhuairahrighairigh
48a2d5b6dc use only one coins field in MsgPlaceBid 2020-01-09 14:58:47 +00:00
rhuairahrighairigh
3a7cb7e4f6 stop sending zero coins 2020-01-09 13:55:45 +00:00
Kevin Davis
de4f55ea20 feat: add spec, update redundant type names 2020-01-07 12:17:27 -05:00
rhuairahrighairigh
983de010df remove slightly unecessary ID type 2020-01-01 14:11:19 +00:00
rhuairahrighairigh
db3c39aaa5 move index updates to Get/Set for more safety 2019-12-31 11:56:39 +00:00
rhuairahrighairigh
4e7f18313a add more tests 2019-12-31 11:10:58 +00:00
rhuairahrighairigh
77bfe11f89 add payout to depositors feature 2019-12-31 11:10:15 +00:00
rhuairahrighairigh
8a4109ff26 update endblocker test 2019-12-28 22:00:04 +00:00
rhuairahrighairigh
0d72f47bc2 add basic auction tests 2019-12-28 18:46:53 +00:00