0g-chain/x/auction/keeper
Denali Marsh e2f515ba9e
Querier improvements: CDP and Auction priority 1 queries (#644)
* query auction by lot owner

* add SavingsRateDistributed to store

* v2cdps: filtered cdps query

* update v2cdps cli examples

* add savings rate dist counter to begin blocker

* implement savings rate dist cli query

* implement cdp REST queries

* minor auction CLI/REST updates

* fix auction querier bug

* update REST endpoint to 'cdps'

* update to savings-rate-dist

* update SavingsRateDistributed get/set

* update tests

* fix savings rate dist rounding errors

* 'collateralDenom' -> 'collateralType'

* refactor 'v2cdps' -> 'cdps', add ratio param

* fix augmented CDP type, msg string() method

* fix cdp querier test

* filter query results efficiently

* querier tests

* limit type iteration if owner defined

* improve savings rate dist genesis validation

* default sdk.Dec{} to sdk.ZeroDec in queries

* update condition logic for finding intersection

* fix cdp querier filtering

* Update kava-4 swagger (#653)

* add collateral_type, update cdp params

* savings rate, auctions, get cdps

* drop owner from AuctionResponse

* remove duplicate collateral denom

* update query paths with {collateral-type}
2020-09-16 20:45:10 -04:00
..
auctions_test.go update format 2020-04-30 10:23:41 -04:00
auctions.go cleanup begin/end block (#553) 2020-06-17 05:09:44 -04:00
bidding_test.go update format 2020-04-30 10:23:41 -04:00
integration_test.go Update Auction Module (#276) 2020-01-12 16:12:22 +01:00
invariants.go fix exhibit 48 - error message should match if statement (#580) 2020-06-11 14:33:36 -05:00
keeper_test.go update format 2020-04-30 10:23:41 -04:00
keeper.go [R4R] Add flags to auction queries (#522) 2020-05-24 19:27:11 -07:00
math_test.go increase auction maths safety 2020-05-11 20:45:00 +01:00
math.go increase auction maths safety 2020-05-11 20:45:00 +01:00
params.go linters and format 2020-04-30 10:13:31 -04:00
querier_test.go Querier improvements: CDP and Auction priority 1 queries (#644) 2020-09-16 20:45:10 -04:00
querier.go Querier improvements: CDP and Auction priority 1 queries (#644) 2020-09-16 20:45:10 -04:00