Vote Counter
Evaluate governance results from questions with 2+ options
Last updated
Evaluate governance results from questions with 2+ options
Last updated
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.
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.
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)