0g-chain/app
Denali Marsh 89f07e92b4
Hard: liquidation by keeper (#731)
* 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
2020-12-15 18:38:14 +01:00
..
ante merge release v0.12.1 updates (#724) 2020-12-02 10:37:11 -07:00
params Issuance module (#599) 2020-08-17 13:09:02 -04:00
app_test.go merge release v0.12.1 updates (#724) 2020-12-02 10:37:11 -07:00
app.go Hard: liquidation by keeper (#731) 2020-12-15 18:38:14 +01:00
export.go [R4R] bump SDK version to v0.38.3 (#421) 2020-04-23 12:35:58 -04:00
genesis.go update app and cmd 2019-09-25 15:50:03 -04:00
sim_test.go merge release v0.12.1 updates (#724) 2020-12-02 10:37:11 -07:00
test_common.go merge release v0.12.1 updates (#724) 2020-12-02 10:37:11 -07:00