Users who have initially set up their profile with shared restaking need the ability to update their profile. This task involves creating a user interface and logic to adjust the total restake amount and to add or remove roles, taking into account the activity status of each service role.
Key Points:
Increasing Total Restake:
[x] Users can increase the total restaked amount across all roles, regardless if there are active services or not.
Decreasing Total Restake:
[x] Decreasing the total restaked amount is not allowed if there are active services. Ensures committed resources for ongoing services are not reduced.
Removing Inactive Roles:
[x] Users can remove roles that are inactive.
[x] Users cannot remove roles that are currently active (locked up).
Adding New Roles:
[x] Users can add new roles to their shared profile.
[x] The total restaked amount must cover the minimum required for the new roles added.
Description
Users who have initially set up their profile with shared restaking need the ability to update their profile. This task involves creating a user interface and logic to adjust the total restake amount and to add or remove roles, taking into account the activity status of each service role.
Key Points:
Figma Link
Additional Notes