forked from AstarNetwork/Astar
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(dapp-staking): Implement foundation for bonus moves system
This commit introduces the basic structure for the dApp staking bonus moves system allowing users more flexibility in managing their staked positions while maintaining bonus eligibility. Key changes: - Replace loyal_staker bool with BonusStatus enum - Add MaxBonusMovesPerPeriod configuration parameter - Implement move_stake extrinsic for stake transfers - Update bonus reward claiming logic - Enhance tests with better logging and validation This lays the groundwork for future refinements of the bonus moves system while maintaining core staking functionality. Part of AstarNetwork#1379
- Loading branch information
1 parent
9640def
commit 154ab84
Showing
13 changed files
with
309 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.