Users who have initially set up their profile with independent restaking need the ability to update their profile. This task involves creating a user interface and logic to adjust the restake amount for each role and to add or remove roles, taking into account the activity status of each service role.
Key Points:
Increase Stake for Any Role:
[x] Users can add more stake to any role, active or inactive.
Decrease Stake for Inactive Roles Only:
[x] Stake amounts can only be reduced for roles that currently have no active services.
[x] Adjustments to the stake must not fall below the minimum required amount for each role.
Removing Roles:
[x] Users can remove roles only if there are no active services linked to those roles.
I will be handling this closely tied to #1988, since the UI is essentially the same but with minor differences. The Substrate logic is also quite similar, if not nearly identical when making the transaction.
Description
Users who have initially set up their profile with independent restaking need the ability to update their profile. This task involves creating a user interface and logic to adjust the restake amount for each role and to add or remove roles, taking into account the activity status of each service role.
Key Points:
active
orinactive
.Figma Link
Notes
Screenshot