Comment on page
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.
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:
- 1.VoteCounter evaluates votes for an arbitrary number of options and determines the single winner (plurality of direct votes with a rule for tiebreak)
- 2.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)