Replies: 3 comments 6 replies
-
Given the way the distribution module works right now, this seems like a complex implementation Distribution mints a target number of coins. Distributed them in pools prorata to the validator per block and then computes the necessary token distribution on a per delegator basis when the delegator withdraws rewards. To implement the proposal distribution would need to track two pools.
And then mint correctly |
Beta Was this translation helpful? Give feedback.
-
I like the idea, but I think investors won't like it. |
Beta Was this translation helpful? Give feedback.
-
We have some working code for this, code changes are not that huge: vitwit#4 |
Beta Was this translation helpful? Give feedback.
-
Proposal: Adjusted Staking Rewards Distribution in Cosmos SDK
1. Introduction
This specification proposes an enhancement to the Cosmos SDK's distribution module to adjust the distribution of staking rewards based on the proportion of locked (vesting) and unlocked tokens. The goal is to align incentives by rewarding stakers who contribute more liquidity (through unlocked tokens) with a higher proportion of staking rewards, while still allowing locked token holders to participate in securing the network.
2. Background and Rationale
2.1 Current Staking Rewards Mechanism
In the current Cosmos SDK implementation, staking rewards are distributed equally among all stakers based on their total staked tokens, without differentiating between locked (vesting) and unlocked tokens.
2.2 Issues with the Current Mechanism
2.3 Proposed Solution
Introduce a Locked Token Reward Weight parameter (hereafter referred to as VestingRewardMultiplier), which adjusts the staking rewards allocated to locked tokens. This multiplier ranges from 0 to 1:
3. Specification
3.1 Definitions
0
and1
that adjusts the reward weight of locked tokens.3.2 Parameters
decimal
(range0.0
to1.0
)1.0
(to maintain current behavior unless changed)3.3 Effective Stake Calculation
For each staker, calculate their Effective Stake as follows:
3.4 Total Effective Stake
Sum the Effective Stakes of all stakers to obtain the Total Effective Stake:
Where NNN is the total number of stakers.
3.5 Reward Distribution
4. Examples
4.1 Example Scenario
Assume:
Stakers:
User A
User B
User C
5. Considerations
5.1 Security
5.2 Performance
5.3 Backward Compatibility
5.4 User Experience
6. Potential Impacts
6.1 Benefits
6.2 Risks
6.3 Mitigations
7. Alternatives
8. Conclusion
Implementing the VestingRewardMultiplier in the Cosmos SDK allows for a more nuanced and fair distribution of staking rewards. By accounting for the liquidity risk associated with unlocked tokens, the network can better align incentives and promote a healthier staking ecosystem.
Author: @anilcse
Date: Oct 1, 2024
Beta Was this translation helpful? Give feedback.
All reactions