1TST0falsefalsefalsetrue0000{}000{}0CreationContractCreationContractTemplateTokenIdCreated{NowUtc+TimeSpan(0,0,10)}{From}PT1S{To}PT1S{Expires}'Nr'+PrevVote.voteeval('Nr'+PrevVote.vote)-1'Nr'+SelectedOptioneval('Nr'+SelectedOption)+1
```
{{if NrComments>0 then
]]Comments
===============
| Comments received on ballots ||
|:-----------------------|-----:|
[[;
foreach Comment in Comments do
]]| ((MarkdownEncode(Comment.Key) )) | ((Comment.Value)) |
[[;}}
]]>
Open VoteVotingExample token used to demonstrate how to implement an open and transparent voting system.iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABHNCSVQICAgIfAhkiAAABFFJREFUeJztWU1IMlsYfrqTFmgLIb5yEURlLQo3YVZUCi1qFUFQUKt2QURWm7IgIkhqJ9IP1EIIWkWuIugPLIh0GVFUBC5SocCkEM2/uYvv3oPDNNM43Thwv3lgYM77d57zeI7nzEwBy7Is/mD8RZsAbSgC0CZAG4oAtAnQhiIAbQK0oQhAmwBtKALQJkAbigC0CdCGIgBtArShCECbAG0oAtAmQBuKALQJ0EahkCMYDGJpaQklJSV5F43H4+jr60NHRwfPNz8/j3g8jmw2i5qaGoyMjORdHwBSqRScTicODg5wfX2N19dXqNVqVFRUoLGxET09Pejv7/+6ECsAn8/HApB9LS4u8mo+PT3x4vJFJpNh29vbJfPY2dkRrSe4BL77uSCTyfBs4+PjPNvCwoLkmqenp2AYBufn55JzHh8fRf0FQh9G3t7ecHx8jOLiYo69tLQUZrOZtLe3t/Hr1y+k02liSyaTMBqNqKqq4nZWUAAA0Gg0iMVixC5FbK/XC6vVyrE1Nzdjbm4O3d3dYBiG2O/v77G7u4vZ2VlMT0/D4XAIF857Dv5mS65oNCopx+FwkBy73c5arVbS3t/fz6tPAOzt7a2kfgOBgHhdSVVEyITD4bxzYrEYe3R0RNoGg0E0d2BggJOfTCbl0P6cl6ykPAXIHWx1dfWndV5eXiT153K55FAWri0rKU8BGhoaSLzH4yF2u91O7ENDQ5/mer3eb+0aX+HHBYhGo6ID+GpwKysrxF9fXy+Hrih+/CRos9nI/dTUFM+fe1hyOp08fygUIvcGg0Fyv3V1dWhtbYXJZBIPlKMa8pgBubHpdJrn9/v9xM8wDM9vs9mIv7e3VxZHMfzoDFhdXSX3FouFs1f/C5PJBI1GA+D34eni4oLjLysrI/eBQOA/5yh4EBJN+udAAwDhcBjl5eWfxhUVFSGZTAIAlpeX0dbWhkQiwYnRarXY2trC5uYmAKCpqQk+n4/4Dw8P0dXVRdpS6eZyFM2RPKcEppfQEri8vJT9HPHx8SHY397eXt4cReOkDVm4uJAALS0tsgUYHR3l1LJYLHlvhVLjf2QJpNNpqFQq0na73UilUoJTkWEYPD8/Y2ZmhthyY6PRKHQ6HWmr1WrEYjEUFgo+zdNdAmNjY8RvNpsl19VqtSTP7XZzfGtra7yZMjg4yPr9fl4dj8dDdwnk+s/OziTXXV9fJ3k6nY7ndzqdspaU6Fgks8tNyikeDAY5PpfL9a2ja27uZ79uKBRia2trJQ++srJStD/hRSSCiYkJqFQqvL+/816ZJRIJTE5OIpvNcrYvqXC73bi6ukI2m8XDwwPvJKfX63F3d4dIJIKNjQ2cnJzg5uYGkUgEDMNAr9fDaDSis7MTw8PD5IwhBFl/gv8n/PFvhRUBaBOgDUUA2gRoQxGANgHaUASgTYA2FAFoE6ANRQDaBGhDEYA2AdpQBKBNgDYUAWgToA1FANoEaONve9o8PVvYS2AAAAAASUVORK5CYII=Creator of the open vote.Certifier of the vote. Apart from certifying the correctness of the vote, the certifier is empowered to cancel or disqualify a vote.The part that acts as a host of the voting, approves its creation and validates all digital signatures.Question to be voted on.Voters are allowed to change their votes while vote is open.Neuro-Ledger collection to receive annotated events documenting the voting process.When the voting is opened (UTC).When the voting is closed (UTC).When token expires.The full name of the creator of the vote.The XMPP address of the creator. The creator will receive instant message notifications when there's a major event concerning the vote.The e-mail address of the creator. The creator will receive notifications when the vote opens and vote results when the vote closes, as well as links to the vote and if the vote needs to be prepared before it can be opened.Open votingThis contract creates an open vote, where anyone with a Neuro-Access digital identity can participate. Each participant has at most one vote. Ballots are open, and can be seen by other participants.Casting BallotEach participant votes by signing an individual ballot contract. In the contract, they will have to answer the question , by choosing one of the three options: Yes, No, or Abstain.Changing Votes Participants are allowed to change votes.In case the vote allows participants to change their vote, they need to cast a new ballot. If changing votes is accepted, the previously counted ballot will be rejected, and the new ballot counted. If changing the vote is not allowed, the new ballot will be automatically rejected. Changing votes can only be done while the vote is open, and only by using the same digital identity as the one casting the original ballot being changed.Comments and FeedbackWhen casting a vote, the person will also have the opportunity to provide a personal comment for open review. Providing feedback is optional.Time and DurationThe Voting is open between (UTC) and (UTC). The vote machine will present results until , after which it will expire.Technical InformationLedger entriesDuring the life-cycle of the voting procedure, all actions related to digital identities and smart contracts are annotated in their corresponding collections in the Neuro-Ledger. Ballot counting is furthermore annotated in the collection for transparency and auditability. A summary of collections in the Neuro-Ledger used during the voting procedure are:
Neuro-Ledger CollectionsLegalIdentitiesContains entries related to digital identities, including Neuro-Access digital identities.ContractsContains entries related to smart contracts, including the voting contract and the ballot contracts used during voting.NeauroFeatureTokensContains information regarding Neuro-Feature tokens, including the token definition of the open voting logic.StateMachinesState-Machine information is recorded in this collection. This includes the open voting process performing the ballot counting and presentation.StateMachineCurrentStatesContains current states of different State-Machines.StateMachineSamplesContains variable changes as they are persisted by State-Machines. These samples can be used to track the counting process.The Open Voting State-Machine records events into this collection as ballots are received and processed.