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 stake movement functionality (AstarNetw…
…ork#1379) Implements basic stake movement functionality with: - Add move_stake extrinsic with appropriate weight handling - Implement registration checks via is_registered helper - Add appropriate error handling for move operations - Add StakeMoved and MovesReset events - Add tests for registration validation and move mechanics - Add move_stake weights to all runtimes The implementation provides the foundation for the complete bonus moves system, with: - Contract validation - Stake transfer logic - Move counter initialization - Event emission Next steps: - Implement move counter decrement logic - Add period transition handling - Enhance documentation Part of AstarNetwork#1379
- Loading branch information
1 parent
154ab84
commit 60bd9a5
Showing
6 changed files
with
341 additions
and
117 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
Oops, something went wrong.