factom-vote
Version:
JS implementation of the Factom voting specification
31 lines (30 loc) • 893 B
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": "a480ac008425c12c6cc0aae11c391ff0152c508a05996dfb2e1cdb1c17c73775",
"type": 1,
"config": {
"options": ["yes", "no", "maybe"],
"minOptions": 1,
"maxOptions": 1,
"allowAbstention": false,
"computeResultsAgainst": "PARTICIPANTS_ONLY",
"winnerCriteria": {
"minSupport": {
"*": {
"weighted": 0.6,
"unweighted": 0.9
}
}
}
}
}
}