0g-chain/x/incentive
Derrick Lee 6ef9bab67d
Add liquid staking reward redistribution via incentive (#1308)
* wip Add claim

* Add distr keeper and claiming

* Add claim test

* Update claim test with failures

* wip Add staking rewards

* -S

Fix savings to earn incentive methods

* Use a single accural time for all earn incentives

* Add additional required liquid methods

* Update genesis to only include 1 accrual time for earn

* Revert "Update genesis to only include 1 accrual time for earn"

This reverts commit cc7e35347298681c0c8a4a0b9bf9b9b296c25531.

* Revert "Use a single accural time for all earn incentives"

This reverts commit aeb49c4622d4e3d99dc6421c8830932b1b546be9.

* Update tests with incentive distribution

* Add earn to incentive rewards query

* add earn cli tx

* Update claim example to use ukava large

* Use underlying ukava to determine proportional reward amount

* Rename liquid methods to reflect derivative value

* Add tests for derivative values

* Return error to panic in BeginBlocker

Co-authored-by: karzak <kjydavis3@gmail.com>
2022-09-28 13:20:01 -07:00
..
client Add liquid staking reward redistribution via incentive (#1308) 2022-09-28 13:20:01 -07:00
keeper Add liquid staking reward redistribution via incentive (#1308) 2022-09-28 13:20:01 -07:00
legacy Add base earn incentives (#1292) 2022-09-22 11:26:08 -07:00
simulation gofumpt - apply format changes for readability and consistency (#1248) 2022-05-09 11:37:36 -07:00
spec update incentive spec (#982) 2021-08-06 08:12:08 -06:00
testutil gofumpt - apply format changes for readability and consistency (#1248) 2022-05-09 11:37:36 -07:00
types Add liquid staking reward redistribution via incentive (#1308) 2022-09-28 13:20:01 -07:00
abci.go Add liquid staking reward redistribution via incentive (#1308) 2022-09-28 13:20:01 -07:00
genesis_test.go Revert per-module incentive claim denom multipliers (#1312) 2022-09-27 19:46:14 -07:00
genesis.go Add base earn incentives (#1292) 2022-09-22 11:26:08 -07:00
integration_test.go Upgrade to sdk v0.44.5 and add IBC (#1106) 2022-01-07 17:39:27 -07:00
module.go Upgrade to sdk v0.44.5 and add IBC (#1106) 2022-01-07 17:39:27 -07:00