0g-chain/x
Denali Marsh 83a5f51c11
Hard: automatic liquidation by LTV index (#743)
* hotfix

* update params, keys

* liquidation by keeper

* refactor GetPendingBorrowBalance

* fix app build

* elegant handling of denom arrays

* auction deposit in lots

* add error msg

* update tests with new params

* happy path liquidation test

* update liquidator macc name

* refactor reward % to money market params

* refactor tests for updated params

* compile: harvest liquidator module account

* add liquidate msg

* liquidation approach

* update liquidations

* return remaining deposit coins to original borrowr

* check keeper reward before sending

* introduce ValuationMap

* convert Ints <> Decs

* implement double-loop

* ModuleAccountName

* sort keys for deterministic auctions

* test: correct auctions created

* test: preset keeper coins

* ensure deterministic iteration

* test cases

* update repay test

* auction fixes, tests

* LTV index

* user actions sync interest and update ltv index

* tests: all deposits must have money markets

* reorder borrow logic

* ltv index liquidation logic

* test specific items in ltv index

* index liquidation tests

* update repay to spendable coins

* revisions

* remove address sort method

* merge master test package
2020-12-18 02:12:48 +01:00
..
auction [R4R] fix: don't panic on expired auctions in init genesis (#668) 2020-10-02 12:50:56 -04:00
bep3 merge release v0.12.1 updates (#724) 2020-12-02 10:37:11 -07:00
cdp cdp withdraw takes 3 args (#696) 2020-10-19 10:57:42 -04:00
committee kava-3 to kava-4 migration (#676) 2020-10-03 13:48:57 -04:00
harvest Hard: automatic liquidation by LTV index (#743) 2020-12-18 02:12:48 +01:00
incentive fix go 1.15 build warning (#729) 2020-12-03 16:07:47 -07:00
issuance fix: use correct committee params (#640) 2020-08-30 10:47:07 -04:00
kavadist Simulation fixes (#527) 2020-09-01 11:33:12 -04:00
pricefeed merge release v0.12.1 updates (#724) 2020-12-02 10:37:11 -07:00
validator-vesting Add custom HARD, USDX circulating supply endpoints (#718) 2020-11-12 22:48:20 +01:00