Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compounding rewards calculator #494

Closed
geoff-vball opened this issue Aug 15, 2024 · 1 comment
Closed

Compounding rewards calculator #494

geoff-vball opened this issue Aug 15, 2024 · 1 comment
Labels

Comments

@geoff-vball
Copy link
Contributor

Context and scope
We should create a compounding rewards calculator so that validators are not incentivized to end their staking period and restake frequently.

Discussion and alternatives
Solidity only natively supports integer math. We may need a library for this, or would could probably get by with a reasonable approximation (ex: compound every X days).

Open questions
Can/should we allow the validator to update their stake weight on the p-chain based on their current compounded rewards?

@cam-schultz
Copy link
Contributor

Closing in favor of #526. They both would have similar effects when claiming validation rewards on ending a validation, but 526 also unlocks much better UI that doesn't require evicting delegators before claiming rewards.

@github-project-automation github-project-automation bot moved this from Backlog 🗄️ to Done ✅ in Platform Engineering Group Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

No branches or pull requests

2 participants