π³οΈVote Counter
Evaluate governance results from questions with 2+ options
Limited Developer Support
All assets represented in this library are community built, which means limited support from the Agoric OpCo development team. Please use components, APIs, and front-ends with caution.
Summary
These smart contracts extend Agoricβs governance capabilities to allow using a VoteCounter that correctly evaluates election results from questions with more than two options.
Details
The code includes two separate VoteCounters:
VoteCounter evaluates votes for an arbitrary number of options and determines the single winner (plurality of direct votes with a rule for tiebreak)
VoteCounter evaluates votes for an arbitrary number of options and determines the top N winners (based on number of direct votes with a rule for tiebreak)
Explore on GitHub
Last updated