vocdoni/vocdoni-sdk

Vote validity check

jpaulet opened this issue · 0 comments

After implementing the vocdoni/interoperability#71 check the format of the vote and verify that the structure is valid for each voting type. Also check the credits available for voting in quadratic voting and return an error if it is exceeded.

  • Check vote validity
    • Single
    • Multiple
    • Approval
    • Ranked
    • Quadratic
  • Throw error if invalid
  • Check quadratic voting credit limit

Related to: vocdoni/interoperability#69