dao-proposal-condorcet

Crates.iodao-proposal-condorcet
lib.rsdao-proposal-condorcet
version2.6.0
sourcesrc
created_at2023-07-03 18:20:25.8595
updated_at2024-11-08 00:07:11.05335
descriptionA DAO DAO proposal module with ranked-choice, Condorcet voting.
homepage
repositoryhttps://github.com/DA0-DA0/dao-contracts
max_upload_size
id907255
size660,222
publishers (github:da0-da0:publishers)

documentation

README

dao-proposal-condorcet

dao-proposal-condorcet on crates.io docs.rs

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:

  1. support revoting,
  2. integrate with pre-propose modules, nor
  3. 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.

Commit count: 879

cargo fmt