-
Notifications
You must be signed in to change notification settings - Fork 95
Move stake implementtion #1446
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
Move stake implementtion #1446
Conversation
|
Visit the preview URL for this PR (updated for commit 605b6a5): https://astar-apps--pr1446-feat-move-stake-r9yjzoic.web.app (expires Fri, 07 Mar 2025 14:40:47 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: dd76fe72958fe2910fef9d53f0b4539b82b849db |
impelcrypto
left a comment
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.
It works!
|
Nice catch. Fixed |
Kahonnohak
left a comment
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.
LGTM!
* feat: added ETH rebate banner (#1445) * feat: added rebate banner * fix: remove banner * feat: updated banner * ACS link (#1447) * ACS link * Tooltip fix * Fix for breaking change in runtime (#1449) * Move stake implementtion (#1446) * Logic implemented * Loosing bonus warning * EVM move and improved messages * Min stake check fix * Amount component bug fix * Remaining tokens bug fix * Styling updates * Min amount check fix * Min stake move warning * Enable staking tokens locked in democracy (#1451) * Locked in democracy to useBalance * Treat tokens locked in democracy as available for staking * fix: updated RPC (#1452) * Temporary disable unstake from unregistered call (#1454) --------- Co-authored-by: Bobo <[email protected]>




Pull Request Summary

Support for
move_stakeruntime call which enables unstaking from dApp A and staking to dApp B without loosing bonus.To initiate stake move go to Assets page and under My Dapps click Move icon for the dApp you want to move stakes from
Before we simulating move by unstaking from one and staking to another dApp. I replaced that logic with
move_stakecall.More info about the call can be found on links below
dAppStaking - Bonus rewards mechanism rework · Issue #1379 · AstarNetwork/Astar
feat(dAppStaking): Move actions for bonus rewards by Dinonard · Pull Request #1418 · AstarNetwork/Astar
Check list
This pull request makes the following changes: