electora-vote / electora-app

Decentralized Voting Application - leveraging the power of zk-proofs, conditions based decryption, and decentralized storage
https://app.electora.eu/
8 stars 2 forks source link

Electoral System #39

Open meatballs opened 1 year ago

meatballs commented 1 year ago

Should Imogen define the electoral system to be used at the time the ballot is created or should that be entirely within Rachel's remit?

e.g. The UKPA Trustee Election Policy specifies that Sequential Proportional Approval Voting is to be used in some circumstances.

meatballs commented 1 year ago

It feels to me that Imogen should specify it so that it's on chain and any count by any Rachel can be verified to be not only accurate but also to have applied the correct system.

meatballs commented 1 year ago

Thinking about it further, Imogen has to define the system or else nobody can tell which votes are valid because some systems allow you to select multiple options and others do not.

theref commented 1 year ago

yes, the Initiator must specify it - but this is waaay down the line.

meatballs commented 1 year ago

Is it? Why?

Why can't we add that to the contract now?

meatballs commented 1 year ago

Can we not just agree which systems are valid for version 1 of the protocol and assign them an index number?

theref commented 1 year ago

Oh yeah sure, you can add a placeholder variable