0g-chain/x/hard/keeper
Denali Marsh eb856b5a1f
Fix: delete incentive reward factors on full withdraw/repay (#885)
* delete incentive reward index on repay/withdraw

* call hook on borrow in all cases

* additional types functionality

* extend tests to cover fix

* update naming convention in tests

* update test comment

* feat: add set difference unit tests

* clarify test names

Co-authored-by: karzak <kjydavis3@gmail.com>
2021-03-23 17:28:03 -06:00
..
borrow_test.go Test users cannot borrow from reserves (#869) 2021-03-09 12:11:13 -07:00
borrow.go Minor best practices edits in Hard module (#877) 2021-03-15 09:15:19 -06:00
deposit_test.go Minor best practices edits in Hard module (#877) 2021-03-15 09:15:19 -06:00
deposit.go don't sync borrow on deposit - it's redundant (#876) 2021-03-15 09:29:13 -06:00
hooks.go Incentive/Hard rebase to master (#773) 2021-01-21 14:52:09 +01:00
interest_test.go don't sync borrow on deposit - it's redundant (#876) 2021-03-15 09:29:13 -06:00
interest.go Fix hard/committee begin blocker order (#867) 2021-03-10 21:38:42 -07:00
keeper_test.go remove auction size param (#815) 2021-02-10 07:59:23 -07:00
keeper.go Additional Hard module queries (#884) 2021-03-22 18:57:07 +01:00
liquidation_test.go Prevent panic-causing param values (#875) 2021-03-15 08:44:23 -06:00
liquidation.go Prevent panic-causing param values (#875) 2021-03-15 08:44:23 -06:00
params.go validate against money markets in store (#839) 2021-02-19 13:23:19 -07:00
querier.go Additional Hard module queries (#884) 2021-03-22 18:57:07 +01:00
repay_test.go fix bug that skipped minimum borrow check (#870) 2021-03-10 21:13:21 -07:00
repay.go Fix: delete incentive reward factors on full withdraw/repay (#885) 2021-03-23 17:28:03 -06: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