-
Notifications
You must be signed in to change notification settings - Fork 108
Implement Staking Rewards APY Computations #615
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
Implement Staking Rewards APY Computations #615
Conversation
|
Current dependencies on/for this PR:
This comment was auto-generated by Graphite. |
56039cf to
d97bde5
Compare
d97bde5 to
8c8d69c
Compare
39b30b3 to
ed4fde5
Compare
ed4fde5 to
dbeac31
Compare
dbeac31 to
aecb5a0
Compare
b3cba0d to
d4a7164
Compare
| // staking reward. This is fine though, because if the validator wants to restake their own rewards but not their commissions, then | ||
| // they can stake to themselves using a separate wallet and only enable reward restaking for that StakeEntry. | ||
| // | ||
| // If the above isn't desired the behavior, then we can alternatively always pay out validator's commission directly to their wallet. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one of the other long term benefits of how this code is set up is that we can track how much a validator got from commissions from a specific staker (if we simply pass in the staker's PKID when we call this function) when we do some utxo operation refactoring work.
33f4ab5 to
dd83c63
Compare
dd83c63 to
683c3e0
Compare
38ad0f0 to
fe1c15e
Compare

No description provided.