0g-chain/x/cdp/keeper
Nick DeLuca 3e63356c58
Cache redundant calculation in cdp RepayPrinciple (#569)
* fix exhibit 29 and remove redundant calcuation

* use better naming (totalPrincipal instead of totalDebt) and add comment
for future maintainers
2020-06-11 16:14:47 -04:00
..
auctions_test.go Update GetTotalSurplus and GetTotalDebt to be consistent (#567) 2020-06-10 10:18:13 -04:00
auctions.go Update GetTotalSurplus and GetTotalDebt to be consistent (#567) 2020-06-10 10:18:13 -04:00
cdp_test.go [R4R] Add liquidation pricefeed (#524) 2020-05-24 09:42:46 -04:00
cdp.go Fix Ineffectual if statements (#568) 2020-06-09 07:07:58 -04:00
deposit_test.go update format 2020-04-30 10:23:41 -04:00
deposit.go Fix Ineffectual if statements (#568) 2020-06-09 07:07:58 -04:00
draw_test.go update format 2020-04-30 10:23:41 -04:00
draw.go Cache redundant calculation in cdp RepayPrinciple (#569) 2020-06-11 16:14:47 -04:00
fees_test.go update format 2020-04-30 10:23:41 -04:00
fees.go CDP revisions (#508) 2020-05-13 10:19:19 -04:00
integration_test.go Minor audit fixes (#540) 2020-06-04 08:58:39 -04:00
keeper_bench_test.go update format 2020-04-30 10:23:41 -04:00
keeper.go Minor audit fixes (#540) 2020-06-04 08:58:39 -04:00
math.go Minor audit fixes (#540) 2020-06-04 08:58:39 -04:00
params.go [R4R] Add liquidation pricefeed (#524) 2020-05-24 09:42:46 -04:00
querier_test.go [R4R] Add liquidation pricefeed (#524) 2020-05-24 09:42:46 -04:00
querier.go [R4R] Add liquidation pricefeed (#524) 2020-05-24 09:42:46 -04:00
savings_test.go v0.8 Migration Scripts (#518) 2020-06-03 15:35:00 -04:00
savings.go Optimize calculation in savings distribution (#573) 2020-06-11 14:25:32 -05:00
seize_test.go fix: simplify collateral auction logic 2020-05-11 18:35:16 -04:00
seize.go Merge branch 'master' into ro-auction-audit-revisions 2020-05-12 01:09:32 +01:00