0g-chain/x
Denali Marsh bf64a5c02c
R4R: add collateral value, collateralization ratio to CDP querier (#347)
* AugmentedCDP type, codec registration, querier update

* added unique error for augmented cdp loading

* added AugmentedCDPs type for cdps query res

* query results for cdps (by denom) & cdps-by-ratio (by denom & ratio)

* status: converting collateral value into debt coin denom

* collateral value denominated in debt coin

* query cdps-by-ratio now searches by collateralization ratio instead of absolute ratio

* updated alias, code comments

* updated querier tests

* support multiple principal coins and their associated fees

* collateralization ratio calculations on updated fees

* include calculated fees in total debt calculation
2020-01-28 09:47:08 -08:00
..
auction add weighted address tags (#336) 2020-01-24 11:39:52 +00:00
cdp R4R: add collateral value, collateralization ratio to CDP querier (#347) 2020-01-28 09:47:08 -08:00
pricefeed R4R: add events to pricefeed module (#343) 2020-01-27 10:07:42 -08:00
validator-vesting fix: json formatting of genesis state 2019-10-14 17:04:21 -04:00