This repository has been archived by the owner on Feb 9, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Quadratic Voting: Remove maxVoterWeight after discussions with Solana…
… Labs about how to track maxVoterWeight. A summary of the discussion: This is an issue that also applies to VSR DAOs, but that it is essentially a UX issue, and relates to the decision of "how to set a quorum correctly"? Essentially - in "normal" DAOs, you set the quorum as a percentage of the total vote power, where vote power = token supply. With QV DAOs, the total vote power is a function of total supply and distribution. If the distribution is wide and egalitarian (uniform distribution of tokens), the total power is higher than if the distribution is narrow and centralised in a few whales (long-tail distribution). So this leads to two facts: - calculating max weight is complicated and changes over time - we could do it, but it would require changes in the core program as mentioned. - setting the quorum as a percentage of the max weight is not that useful, since, depending on the distribution, that percentage may be reachable by one or two whales (note, this is even worse in token-voting DAOs. As a result, we decided it is currently not necessary to calculate an accurate max weight, and quorum will be determined based on the token supply, with potentially some UI help to explain how that is affected by QV.
- Loading branch information
1 parent
6d5c986
commit f966051
Showing
15 changed files
with
49 additions
and
819 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
[workspace] | ||
members = [ | ||
"programs/*" | ||
"programs/gateway", | ||
"programs/quadratic", | ||
"programs/realm-voter", | ||
"programs/nft-voter", | ||
] |
57 changes: 0 additions & 57 deletions
57
programs/quadratic/src/instructions/create_max_voter_weight_record.rs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
79 changes: 0 additions & 79 deletions
79
programs/quadratic/src/instructions/update_max_voter_weight_record.rs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
74 changes: 0 additions & 74 deletions
74
programs/quadratic/tests/create_max_voter_weight_record.rs
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.