mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-26 08:15:19 +00:00
49d62dd076
* 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 |
||
---|---|---|
.. | ||
borrow_test.go | ||
borrow.go | ||
claim_test.go | ||
claim.go | ||
deposit_test.go | ||
deposit.go | ||
interest_test.go | ||
interest.go | ||
keeper_test.go | ||
keeper.go | ||
params.go | ||
querier.go | ||
rewards_test.go | ||
rewards.go | ||
timelock_test.go | ||
timelock.go |