0g-chain/x/incentive/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
..
diff_test.go Fix: delete incentive reward factors on full withdraw/repay (#885) 2021-03-23 17:28:03 -06:00
hooks.go Hard: Kava delegators earn HARD rewards via the Incentive module (#776) 2021-01-25 13:58:12 +01:00
integration_test.go Fix index sync when deposits/borrows are small (#886) 2021-03-22 22:31:21 -06:00
keeper_test.go Allocate Hard supply/borrow rewards to legacy suppliers/borrowers (#833) 2021-02-19 13:02:51 -07:00
keeper.go Accrue Hard module rewards in multiple coin denoms (#785) 2021-02-02 09:17:46 -07:00
params.go Accrue Hard module rewards in multiple coin denoms (#785) 2021-02-02 09:17:46 -07:00
payout_test.go Fix index sync when deposits/borrows are small (#886) 2021-03-22 22:31:21 -06:00
payout.go Incentive module multiple reward denom tests (#788) 2021-02-03 23:23:53 +01:00
querier.go Hard incentive reward querier updates for acceptance (#782) 2021-01-29 13:32:07 -07:00
rewards_test.go Fix: delete incentive reward factors on full withdraw/repay (#885) 2021-03-23 17:28:03 -06:00
rewards.go Fix: delete incentive reward factors on full withdraw/repay (#885) 2021-03-23 17:28:03 -06:00