Description
Atm it is not possible to withdraw MENTO that is already unlocked from existing lock in the UI (the only option to do that is to call the withdraw function of the smart contract directly).
This issue aims to add withdraw functionality to "My voting power" screen.
The text of the button should be dynamic and include the amount of MENTO user can withdraw. If user has multiple locks, the same button will repeat multiple times.
If user has 0 MENTO to withdraw don't show the button.
both desktop and mobile designs in Figma are updated to reflect this change.
Acceptance criteria
[ ] It is possible to withdraw unlocked MENTO from the "My voting power" screen of the governance app
Description Atm it is not possible to withdraw MENTO that is already unlocked from existing lock in the UI (the only option to do that is to call the withdraw function of the smart contract directly). This issue aims to add withdraw functionality to "My voting power" screen. The text of the button should be dynamic and include the amount of MENTO user can withdraw. If user has multiple locks, the same button will repeat multiple times.
If user has 0 MENTO to withdraw don't show the button.
both desktop and mobile designs in Figma are updated to reflect this change.
Acceptance criteria