0g-chain/x/hard/keeper
Kevin Davis 829aed5256
fix: decrement coins for supply/borrow properly (#862)
* fix: decrement coins for supply/borrow properly

* fix: decrement keeper liquidation reward coins from hard total supply (#865)

* fix: use proper safe subtraction for withdraw/repay methods

* fix: decrement keeper liquidation rewards from total supply

* address review comments
2021-03-10 10:56:08 -07:00
..
borrow_test.go Test users cannot borrow from reserves (#869) 2021-03-09 12:11:13 -07:00
borrow.go fix: decrement coins for supply/borrow properly (#862) 2021-03-10 10:56:08 -07:00
deposit_test.go fix: decrement coins for supply/borrow properly (#862) 2021-03-10 10:56:08 -07:00
deposit.go fix: decrement coins for supply/borrow properly (#862) 2021-03-10 10:56:08 -07:00
hooks.go Incentive/Hard rebase to master (#773) 2021-01-21 14:52:09 +01:00
interest_test.go Hard Audit: don't convert directly from sdk.Int to uint64 (#842) 2021-02-20 09:42:57 -07:00
interest.go Hard Audit: don't convert directly from sdk.Int to uint64 (#842) 2021-02-20 09:42:57 -07:00
keeper_test.go remove auction size param (#815) 2021-02-10 07:59:23 -07:00
keeper.go Query Hard module's supply/borrow APYs (#816) 2021-02-10 10:53:53 -07:00
liquidation_test.go fix: decrement coins for supply/borrow properly (#862) 2021-03-10 10:56:08 -07:00
liquidation.go fix: decrement coins for supply/borrow properly (#862) 2021-03-10 10:56:08 -07:00
params.go validate against money markets in store (#839) 2021-02-19 13:23:19 -07:00
querier.go Query Hard module reserves (#843) 2021-02-22 13:48:52 -07:00
repay_test.go Hard Audit: add minimum borrow USD value (#822) 2021-02-12 08:28:05 -07:00
repay.go validate against money markets in store (#839) 2021-02-19 13:23:19 -07:00
timelock_test.go Hard Audit: add minimum borrow USD value (#822) 2021-02-12 08:28:05 -07:00
timelock.go update 'harvest' -> 'hard' (#746) 2020-12-21 18:18:55 +01:00
withdraw_test.go Hard Audit: add minimum borrow USD value (#822) 2021-02-12 08:28:05 -07:00
withdraw.go Hard Audit: refresh borrow/deposit after syncing (#824) 2021-02-12 21:56:03 +01:00