0g-chain/x/incentive/keeper
Derrick Lee dce631d3de
Add generic incentive AccumulateRewards method (#1392)
* Add generic accumulator

* Add MultiRewardPeriodOfClaimType type to params

* Add adapters wrapper

* Add MultiRewardPeriodsOfClaimType to params

* Add multireward period to genesis test

* Rename MultiRewardPeriodOfClaimType to TypedMultiRewardPeriod

* Use source adapters wrapper
2022-11-29 13:59:11 -08:00
..
adapters Add generic incentive AccumulateRewards method (#1392) 2022-11-29 13:59:11 -08:00
claim_test.go Revert per-module incentive claim denom multipliers (#1312) 2022-09-27 19:46:14 -07:00
claim.go Revert per-module incentive claim denom multipliers (#1312) 2022-09-27 19:46:14 -07:00
diff_test.go Fix: delete incentive reward factors on full withdraw/repay (#885) 2021-03-23 17:28:03 -06:00
hooks.go Disable savings incentives (#1320) 2022-09-29 21:18:06 +01:00
integration_test.go Add weighted bkava support for earn incentives (#1299) 2022-09-23 09:38:22 -07:00
keeper_state_test.go Add incentive RewardIndexes types and state methods (#1381) 2022-11-04 17:08:51 -07:00
keeper_test.go Add base earn incentives (#1292) 2022-09-22 11:26:08 -07:00
keeper_utils_test.go Add incentive earn tests with real keepers (#1354) 2022-10-19 16:13:37 -07:00
keeper.go Add generic incentive AccumulateRewards method (#1392) 2022-11-29 13:59:11 -08:00
msg_server_delegator_test.go Upgrade to sdk v0.44.5 and add IBC (#1106) 2022-01-07 17:39:27 -07:00
msg_server_earn_test.go Add incentive earn tests with real keepers (#1354) 2022-10-19 16:13:37 -07:00
msg_server_hard_test.go Upgrade to sdk v0.44.5 and add IBC (#1106) 2022-01-07 17:39:27 -07:00
msg_server_swap_test.go Add incentive earn tests with real keepers (#1354) 2022-10-19 16:13:37 -07:00
msg_server_usdx_test.go Upgrade to sdk v0.44.5 and add IBC (#1106) 2022-01-07 17:39:27 -07:00
msg_server.go Disable savings incentives (#1320) 2022-09-29 21:18:06 +01:00
params.go Revert per-module incentive claim denom multipliers (#1312) 2022-09-27 19:46:14 -07:00
payout_test.go gofumpt - apply format changes for readability and consistency (#1248) 2022-05-09 11:37:36 -07:00
payout.go Upgrade to sdk v0.44.5 and add IBC (#1106) 2022-01-07 17:39:27 -07:00
querier_test.go Fix /incentive/apy pricefeed denom conversion (#1340) 2022-10-08 02:35:15 +01:00
querier.go Fix /incentive/apy pricefeed denom conversion (#1340) 2022-10-08 02:35:15 +01:00
rewards_accumulate_test.go Add generic incentive AccumulateRewards method (#1392) 2022-11-29 13:59:11 -08:00
rewards_borrow_accum_test.go Add weighted bkava support for earn incentives (#1299) 2022-09-23 09:38:22 -07:00
rewards_borrow_init_test.go gofumpt - apply format changes for readability and consistency (#1248) 2022-05-09 11:37:36 -07:00
rewards_borrow_sync_test.go gofumpt - apply format changes for readability and consistency (#1248) 2022-05-09 11:37:36 -07:00
rewards_borrow_test.go Add incentive earn tests with real keepers (#1354) 2022-10-19 16:13:37 -07:00
rewards_borrow_update_test.go Fix incentive usdx/borrow/supply reward calculation bug (#974) 2021-07-26 20:07:24 +01:00
rewards_borrow.go gofumpt - apply format changes for readability and consistency (#1248) 2022-05-09 11:37:36 -07:00
rewards_delegator_accum_test.go Add weighted bkava support for earn incentives (#1299) 2022-09-23 09:38:22 -07:00
rewards_delegator_init_test.go Add weighted bkava support for earn incentives (#1299) 2022-09-23 09:38:22 -07:00
rewards_delegator_sync_test.go Add weighted bkava support for earn incentives (#1299) 2022-09-23 09:38:22 -07:00
rewards_delegator_test.go Add EVM Support (#1215) 2022-04-21 16:16:28 -04:00
rewards_delegator.go gofumpt - apply format changes for readability and consistency (#1248) 2022-05-09 11:37:36 -07:00
rewards_earn_accum_integration_test.go Add incentive earn tests with real keepers (#1354) 2022-10-19 16:13:37 -07:00
rewards_earn_accum_test.go Add liquid staking reward redistribution via incentive (#1308) 2022-09-28 13:20:01 -07:00
rewards_earn_init_test.go Add base earn incentives (#1292) 2022-09-22 11:26:08 -07:00
rewards_earn_proportional_test.go Add weighted bkava support for earn incentives (#1299) 2022-09-23 09:38:22 -07:00
rewards_earn_staking_integration_test.go Add incentive earn tests with real keepers (#1354) 2022-10-19 16:13:37 -07:00
rewards_earn_staking_test.go Add liquid staking reward redistribution via incentive (#1308) 2022-09-28 13:20:01 -07:00
rewards_earn_sync_test.go Add weighted bkava support for earn incentives (#1299) 2022-09-23 09:38:22 -07:00
rewards_earn.go Add liquid staking reward redistribution via incentive (#1308) 2022-09-28 13:20:01 -07:00
rewards_init_test.go Add Initialize/Synchronize Claim methods (#1383) 2022-11-10 11:05:11 -08:00
rewards_savings_accum_test.go gofumpt - apply format changes for readability and consistency (#1248) 2022-05-09 11:37:36 -07:00
rewards_savings_init_test.go Incentive savings hooks + init/sync of savings claims (#1209) 2022-04-21 16:19:03 +02:00
rewards_savings_sync_test.go Incentive savings hooks + init/sync of savings claims (#1209) 2022-04-21 16:19:03 +02:00
rewards_savings.go gofumpt - apply format changes for readability and consistency (#1248) 2022-05-09 11:37:36 -07:00
rewards_supply_accum_test.go Add weighted bkava support for earn incentives (#1299) 2022-09-23 09:38:22 -07:00
rewards_supply_init_test.go gofumpt - apply format changes for readability and consistency (#1248) 2022-05-09 11:37:36 -07:00
rewards_supply_sync_test.go gofumpt - apply format changes for readability and consistency (#1248) 2022-05-09 11:37:36 -07:00
rewards_supply_test.go Add incentive earn tests with real keepers (#1354) 2022-10-19 16:13:37 -07:00
rewards_supply_update_test.go Incentive savings hooks + init/sync of savings claims (#1209) 2022-04-21 16:19:03 +02:00
rewards_supply.go gofumpt - apply format changes for readability and consistency (#1248) 2022-05-09 11:37:36 -07:00
rewards_swap_accum_test.go Add weighted bkava support for earn incentives (#1299) 2022-09-23 09:38:22 -07:00
rewards_swap_init_test.go Refactor incentive accumulators to be the same (#970) 2021-07-22 13:53:18 +01:00
rewards_swap_sync_test.go Add weighted bkava support for earn incentives (#1299) 2022-09-23 09:38:22 -07:00
rewards_swap.go gofumpt - apply format changes for readability and consistency (#1248) 2022-05-09 11:37:36 -07:00
rewards_sync_test.go Add GetSynchronizedClaim and swap adapter (#1386) 2022-11-14 17:55:10 -08:00
rewards_usdx_accum_test.go Add weighted bkava support for earn incentives (#1299) 2022-09-23 09:38:22 -07:00
rewards_usdx_test.go Add incentive earn tests with real keepers (#1354) 2022-10-19 16:13:37 -07:00
rewards_usdx_unit_test.go gofumpt - apply format changes for readability and consistency (#1248) 2022-05-09 11:37:36 -07:00
rewards_usdx.go gofumpt - apply format changes for readability and consistency (#1248) 2022-05-09 11:37:36 -07:00
rewards.go Add generic incentive AccumulateRewards method (#1392) 2022-11-29 13:59:11 -08:00
unit_test.go Add Initialize/Synchronize Claim methods (#1383) 2022-11-10 11:05:11 -08:00