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 a contributor demoted to investor to unlock all their offered tokens #40

Open
vrde opened this issue Apr 14, 2023 · 0 comments
Open
Labels
bug Something isn't working

Comments

@vrde
Copy link
Contributor

vrde commented Apr 14, 2023

Currently, if a Contributor is demoted to Investor while they have vaulted tokens (InternalMarket), the user can withdraw the tokens bypassing the InternalMarket logic, hence creating an inconsistent state.

This means that in case they become Contributor again, they will have already unlocked tokens, although they shouldn't.

Options:

  • prevent the demotion in case a user has vaulted tokens
  • force withdraw the tokens during demotion, to bring the InternalMarket into a consistent state
  • mark this as a feature (in case we think the user having the tokens already marked as "free" once rejoined as a contirbutr is what we want)
@sirnicolaz sirnicolaz added the bug Something isn't working label Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants