0g-chain/x
Denali Marsh 49d62dd076
Harvest: interest rate logic (#720)
* initial feature scaffolding

* implement interest keeper logic

* basic AccrueInterest

* accrue interest on borrow

* update borrow index formula

* update sample reserve factor

* move AccrueInterest to begin blocker

* refactor interest rate updates for accrue interest

* use interest rate model from store

* refactor begin blocker state machine

* add reserve factor to interest model params

* update comment

* store money market instead of interest rate models

* update test suite

* use BorrowedCoins store key

* update public functions and alias

* unit tests, keeper test scaffolding

* demo panic

* address revisions

* add 'normal no jump' test case

* spy = 1 + borrow rate

* update comment

* APYToSPY unit test

* per user borrow index list

* interest keeper test

* test: interest applied on successive borrows

* varied snapshot times

* test: multiple, varied snapshots

* address revisions

* add pending interest before validating new borrow

* update makefile

* address revisions

* fix test
2020-12-03 22:50:35 +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 Harvest: interest rate logic (#720) 2020-12-03 22:50:35 +01:00
incentive add arg to usage message (#697) 2020-10-19 10:58:14 -04: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