Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow "unvoting" #211

Open
p-offtermatt opened this issue Dec 19, 2024 · 0 comments · May be fixed by #218
Open

Allow "unvoting" #211

p-offtermatt opened this issue Dec 19, 2024 · 0 comments · May be fixed by #218
Labels
enhancement New feature or request

Comments

@p-offtermatt
Copy link
Member

We should offer a way for users to "unvote", i.e. remove their existing vote for a proposal, but without putting up a vote for another at the same time.

In the code, this would mean refactoring the "vote" method into something like unvote and vote:

  • unvote deletes a previous vote for a given lockup
  • vote assumes that the lockup has not yet voted in this round/tranche, and creates the vote according to the input
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant