Concordium / concordium-reference-wallet-android

Reference Android wallet for the Concordium blockchain
Apache License 2.0
12 stars 2 forks source link

Baking: Update baker stake #122

Closed jens-concordium closed 2 years ago

jens-concordium commented 2 years ago

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: