0g-chain/x/incentive/keeper
Denali Marsh 754c018f04
Incentive module multiple reward denom tests (#788)
* types: multiple rewards

* supply-side reward keeper methods

* remove legacy comments

* update hard claim reward to coins type

* borrow-side reward keeper methods

* update claim payout to sdk.Coins

* make tests compile

* fix genesis validation for compile

* comment out failing tests

* fix ! found logic

* accumulate hard supply rewards (single)

* sync hard supply rewards (single)

* update hard borrow/supply index denoms

* accumulate hard borrow rewards (single)

* sync hard borrow rewards (single)

* sync hard delegator rewards

* payout hard claim (single)

* accumulate hard supply rewards (multiple)

* sync hard supply rewards (multiple)

* update hard supply index denoms (multiple)

* update hard borrow index denoms (multiple)

* accumulate hard borrow rewards (multiple)

* sync hard borrow rewards (multiple)

* fix denom

* remove comment

* fix merge

* payout hard reward (multiple)

Co-authored-by: karzak <kjydavis3@gmail.com>
2021-02-03 23:23:53 +01: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 Update hard genesis state (#777) 2021-01-22 22:17:40 -07:00
keeper_test.go Hard: Kava delegators earn HARD rewards via the Incentive module (#776) 2021-01-25 13:58:12 +01: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 Incentive module multiple reward denom tests (#788) 2021-02-03 23:23:53 +01: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 Incentive module multiple reward denom tests (#788) 2021-02-03 23:23:53 +01:00
rewards.go Incentive module multiple reward denom tests (#788) 2021-02-03 23:23:53 +01:00