factom-vote
Version:
JS implementation of the Factom voting specification
37 lines (36 loc) • 1.06 kB
JSON
{
"proposal": {
"title": "Is the on-chain voting grant a success?",
"text": "Please tell if you think this grant was a success"
},
"vote": {
"phasesBlockHeights": {
"commitStart": 1000,
"commitEnd": 2000,
"revealEnd": 3000
},
"eligibleVotersChainId": "c164726970df78e4dc7eedb54aad18b20e6023bf1da7cc98fd0d3eb6d7e00b86",
"type": 0,
"config": {
"options": ["yes", "no"],
"minOptions": 1,
"maxOptions": 2,
"acceptanceCriteria": {
"minTurnout": {
"weighted": 0.3,
"unweighted": 0.5
}
},
"winnerCriteria": {
"minSupport": {
"yes": {
"weighted": 0.6,
"unweighted": 0.9
}
}
},
"allowAbstention": true,
"computeResultsAgainst": "ALL_ELIGIBLE_VOTERS"
}
}
}