Skip to content

Allow changing vote target in Governance contract #165

@txhsl

Description

@txhsl

Rationale

Current Governance requires 2 steps to change votes from one candidate to another, which needs 2 transactions and twice wallet interactions.

  1. Revoke votes from current candidate, and withdraw the stake;
  2. Vote to another candidate and stake again.

It can be simplified to improve user experience.

Implementation

Add a method like changeVote(address candidateTo) to allow flexible adjustment on vote target.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestsystemcontractsEverything related to system contracts

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions