decentralized-voting/backend/system-inputs/voting-system-inputs.json
2024-06-13 00:01:51 +03:00

26 lines
465 B
JSON

[
{
"function": "registerCandidate",
"inputs": ["Alice"]
},
{
"function": "registerCandidate",
"inputs": ["Bob"]
},
{
"function": "vote",
"inputs": ["voter1", "candidate_1"]
},
{
"function": "vote",
"inputs": ["voter2", "candidate_2"]
},
{
"function": "vote",
"inputs": ["voter3", "candidate_1"]
},
{
"function": "getResults",
"inputs": []
}
]