7 stable releases
2.6.0 | Nov 8, 2024 |
---|---|
2.5.0 | Oct 31, 2024 |
2.4.2 | Jul 22, 2024 |
2.3.0 | Oct 18, 2023 |
0.1.0 |
|
#793 in Magic Beans
292 downloads per month
Used in 2 crates
(via dao-testing)
375KB
3.5K
SLoC
dao-proposal-condorcet
This is a DAO DAO proposal module which implements The Condorcet Method.
https://www.princeton.edu/~cuff/voting/theory.html
This module lacks many basic features. For example, proposals and choices do not have human readable names and descriptions. For this first version, the goal is to build a correct, secure, and gas efficent voting system that may be audited, not to build a proposal module that is ready for use with humans and a frontend.
To this end, this module differs from dao-proposal-single
and
dao-proposal-multiple
in that it does not:
- support revoting,
- integrate with pre-propose modules, nor
- support proposal and vote hooks
The ranked choice voting system used is described in detail here. This contract will make no sense unless you read that PDF first as there is a fair bit of math.
what works reliably
is to know the raw silk,
hold the uncut wood.
Need little,
want less.
Forget the rules.
Be untroubled.
Dependencies
~10MB
~210K SLoC