mirror of
https://github.com/0glabs/0g-chain.git
synced 2025-04-04 15:55:23 +00:00
* 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 |
||
|---|---|---|
| .. | ||
| auctions_test.go | ||
| auctions.go | ||
| cdp_test.go | ||
| cdp.go | ||
| deposit_test.go | ||
| deposit.go | ||
| draw_test.go | ||
| draw.go | ||
| fees_test.go | ||
| fees.go | ||
| integration_test.go | ||
| keeper.go | ||
| params.go | ||
| querier_test.go | ||
| querier.go | ||
| seize_test.go | ||
| seize.go | ||