Skip to content

Conversation

@tholonious
Copy link
Contributor

No description provided.

@tholonious
Copy link
Contributor Author

tholonious commented Jul 20, 2023

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

@tholonious tholonious changed the title Implement Stake Rewards Interest Rate Implement Interest Rate Computations For Staking Rewards Jul 20, 2023
@tholonious tholonious force-pushed the Add_Global_Param_for_Staking_Rewards_Interest_Rate branch from 56039cf to d97bde5 Compare July 25, 2023 15:20
@tholonious tholonious changed the title Implement Interest Rate Computations For Staking Rewards Implement Staking Rewards APY Computations Jul 25, 2023
@tholonious tholonious force-pushed the Add_Global_Param_for_Staking_Rewards_Interest_Rate branch from d97bde5 to 8c8d69c Compare July 25, 2023 17:01
Base automatically changed from Add_Global_Param_for_Staking_Rewards_Interest_Rate to feature/pos-staker-snapshotting-and-rewards July 25, 2023 17:24
@tholonious tholonious changed the base branch from feature/pos-staker-snapshotting-and-rewards to Refactor_end_of_epoch_unit_test July 25, 2023 20:23
@tholonious tholonious force-pushed the Implement_Interest_Rate_Computations_For_Staking_Rewards branch from 39b30b3 to ed4fde5 Compare July 25, 2023 20:23
Base automatically changed from Refactor_end_of_epoch_unit_test to feature/pos-staker-snapshotting-and-rewards July 26, 2023 15:02
@tholonious tholonious force-pushed the Implement_Interest_Rate_Computations_For_Staking_Rewards branch from ed4fde5 to dbeac31 Compare July 26, 2023 17:48
@tholonious tholonious changed the base branch from feature/pos-staker-snapshotting-and-rewards to Deprecate_old_placeholder_staking_reward_distribution_logic July 26, 2023 17:55
@tholonious tholonious force-pushed the Implement_Interest_Rate_Computations_For_Staking_Rewards branch from dbeac31 to aecb5a0 Compare July 26, 2023 17:55
@tholonious tholonious requested a review from lazynina July 26, 2023 18:08
@tholonious tholonious marked this pull request as ready for review July 26, 2023 18:08
@tholonious tholonious requested a review from a team as a code owner July 26, 2023 18:08
@tholonious tholonious requested a review from AeonSw4n July 26, 2023 18:12
Base automatically changed from Deprecate_old_placeholder_staking_reward_distribution_logic to feature/pos-staker-snapshotting-and-rewards July 26, 2023 18:17
@tholonious tholonious force-pushed the Implement_Interest_Rate_Computations_For_Staking_Rewards branch from b3cba0d to d4a7164 Compare July 26, 2023 18:18
// 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.
Copy link
Member

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.

@tholonious tholonious force-pushed the Implement_Interest_Rate_Computations_For_Staking_Rewards branch 2 times, most recently from 33f4ab5 to dd83c63 Compare July 27, 2023 16:19
@tholonious tholonious force-pushed the Implement_Interest_Rate_Computations_For_Staking_Rewards branch from dd83c63 to 683c3e0 Compare July 27, 2023 18:02
@tholonious tholonious force-pushed the Implement_Interest_Rate_Computations_For_Staking_Rewards branch from 38ad0f0 to fe1c15e Compare July 27, 2023 22:38
@tholonious tholonious merged commit 06880f6 into feature/pos-staker-snapshotting-and-rewards Jul 31, 2023
@tholonious tholonious deleted the Implement_Interest_Rate_Computations_For_Staking_Rewards branch July 31, 2023 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants