* 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
* added events, attributes to pricefeed msgs and core functionality
* removed added space
* conditionally emit market_price_updated if price has changed
* updated expiry to Unix format
* add overview and basic structure
* add state and params
* add basic messages
* add state transitions
* add begin block state transitions
* add missing titles
* add concepts
* add events
* update state and concepts
* update for liquidator changes
* update events
* mention module accounts
* update begin block
* update params
* update page numbering
* add fee descriptions
* add broken link linter
* add broken link linter to CI
* move link check to end of CI
* update typo
Co-Authored-By: Kevin Davis <karzak@users.noreply.github.com>
* address review comments
* Update x/cdp/spec/06_params.md
Co-Authored-By: Kevin Davis <karzak@users.noreply.github.com>
* Update x/cdp/spec/README.md
Co-Authored-By: Kevin Davis <karzak@users.noreply.github.com>
* Update x/cdp/spec/README.md
Co-Authored-By: Kevin Davis <karzak@users.noreply.github.com>
Co-authored-by: Kevin Davis <karzak@users.noreply.github.com>
* make auctions not expire without bids
* add events
* improve genesis state validation
* add genesis tests
* Keeper auctions test, types auctions test, keeper bidding test
* Resolved TODOs, added querier test
* Removed 'import x/liquidator' from keeper_test package for circleci
* Fixes for lack of liquidator module account in tests
* update comment
Co-Authored-By: Kevin Davis <karzak@users.noreply.github.com>
* add more events attributes
* feat: add back bidding on closed auction test
* feat: test failed debt/collateral auctions
Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com>
Co-authored-by: Denali Marsh <denalimarsh@gmail.com>
* 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>
* 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>