0g-chain/x
Denali Marsh 6c0890d5ff
Hard: introduce LTV index (#742)
* 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

* check mm before setting borrow index

* insert into LTV index even when LTV is 0
2020-12-16 22:08:29 +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: introduce LTV index (#742) 2020-12-16 22:08:29 +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