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

Coupling project addresses and project distributions #81

Open
3 tasks
RonTuretzky opened this issue Aug 23, 2024 · 0 comments
Open
3 tasks

Coupling project addresses and project distributions #81

RonTuretzky opened this issue Aug 23, 2024 · 0 comments

Comments

@RonTuretzky
Copy link
Collaborator

RonTuretzky commented Aug 23, 2024

As suggested by #65 , the current pattern lends itself to mismatch mistakes and administrative errors, is less readable and opens an "evil frontend" opportunity.

  • A struct with address and uint256 should be made for submitting the vote itself
  • The project distributions can then be a mapping between address and uint256
  • Queuing for addition/removal will have to be refactored to accommodate for changes (should simplify implementation)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant