If an account is already registered as a baker, the user will have the option to press the "Update baker settings" button, on the baker status page. This will give the user a drop down, which in turn will let the user choose the option "Update baker stake".
This option will start a flow very similar to the one for registering a baker, except it will not contain any of the parameters related to the pool of the baker. Instead, what can be changed is the following:
Baker stake
Restake status
Each of the parameters are technically optional, but if the user ends up in a situation where they are about to submit a transaction with no changes, they will be stopped by a notification (this can be seen in Scenario 4 in the Update baker stake flows box in Figma.)
In Figma three scenarios can be found (besides Scenario 4 mentioned above) Update baker stake flows. Common for all the scenarios is that they are started in the same way from the baker status page, and that they begin with a skippable version of the carousel explaining baking.
Scenario 1:
Scenario one displays all the steps of the Update baker stake flow. In this scenario the stake is increased and the restake status is left unchanged.
The amounts page is the same as seen in the Register baker flow, including error messages.
The presubmission transaction overview is also similar, but now showing only the affected parameters.
The overview after submission is also similar, but again just showing the affected parameters.
Before being led to the baker status page, the user is presented with a notification telling them that the update will take effect from the next pay day.
Scenario 2:
Scenario 2 is similar to scenario 1, except this time the amount is decreased. This will change the notification shown before the user is led back to the baker status page, which will now also say that there will be a cool down for the decreased amount.
Scenario 3:
Scenario three is also similar, with the exception of the amount input field being locked. This is because the amount cannot be changed in a scenario, where the amount is in a cool down due to being decreased, or if the baker is in shut down cool down.
Task description
If an account is already registered as a baker, the user will have the option to press the "Update baker settings" button, on the baker status page. This will give the user a drop down, which in turn will let the user choose the option "Update baker stake".
This option will start a flow very similar to the one for registering a baker, except it will not contain any of the parameters related to the pool of the baker. Instead, what can be changed is the following:
Each of the parameters are technically optional, but if the user ends up in a situation where they are about to submit a transaction with no changes, they will be stopped by a notification (this can be seen in Scenario 4 in the Update baker stake flows box in Figma.)
In Figma three scenarios can be found (besides Scenario 4 mentioned above) Update baker stake flows. Common for all the scenarios is that they are started in the same way from the baker status page, and that they begin with a skippable version of the carousel explaining baking.
Scenario 1: Scenario one displays all the steps of the Update baker stake flow. In this scenario the stake is increased and the restake status is left unchanged.
Scenario 2:
Scenario 3: