mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-27 00:35:18 +00:00
bf64a5c02c
* 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 |