Concordium / concordium-reference-wallet-android

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

Delegation: Updating a current delegation #117

Closed jens-concordium closed 2 years ago

jens-concordium commented 2 years ago

Task description If an account already has a registered delegation, it is possible to make updates to it. A transaction to update a current delegation can be started from the delegation status page.

When making an update to the delegation, the parameters of the ConfigureDelegation transaction are optional, so the user can pick whichever parameters to update. If they end up in a situation where they are about to submit no changes, the user will be notified so they don't waste a transaction fee.

Examples of such a transaction flow can be seen in Flow 3 and 7 in Figma.

Flow 3 is an example of decreasing the delegation amount, with no other changes to the delegation. Pressing the "Update current delegation" button in Delegation status scenario 1, will start the flow of updating the delegation. At first the user will be met by a carousel explaining delegation concepts, and the rest of the pages equals what we have in the register delegation transaction..

Flow 7 in Figma shows three special scenarios, that will have an effect on the update delegation transaction flow.