mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-27 00:35:18 +00:00
f84a8b0be0
* Add cdp/totals rest endpoint for aggregated principal and fees * Add total collateral to aggregated cdp * Add pagination * Update totalPrincipal endpoint to use keeper GetTotalPrincipal * Update documentation for queryGetTotalPrincipal Co-authored-by: Kevin Davis <karzak@users.noreply.github.com> * Remove unused AggregatedCDP types * Make CDP type optional, return all if not provided * add total collateral endpoint that efficient fetches collateral for a types, only iterating cdps for types b, etc * correctly and efficienlty filter for a single collateral type Co-authored-by: Kevin Davis <karzak@users.noreply.github.com> Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com> |
||
---|---|---|
.. | ||
auctions_test.go | ||
auctions.go | ||
cdp_test.go | ||
cdp.go | ||
deposit_test.go | ||
deposit.go | ||
draw_test.go | ||
draw.go | ||
hooks.go | ||
integration_test.go | ||
interest_test.go | ||
interest.go | ||
keeper_bench_test.go | ||
keeper_test.go | ||
keeper.go | ||
params.go | ||
querier_test.go | ||
querier.go | ||
seize_test.go | ||
seize.go |