{
"admin_account": "<AccountAddress>",
"candidates": [
{
"hash": "<String of size 64 containing lowercase hex characters.>",
"url": "<String>"
}
],
"election_description": "<String>",
"election_end": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
"election_manifest": {
"hash": "<String of size 64 containing lowercase hex characters.>",
"url": "<String>"
},
"election_parameters": {
"hash": "<String of size 64 containing lowercase hex characters.>",
"url": "<String>"
},
"election_start": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
"eligible_voters": {
"hash": "<String of size 64 containing lowercase hex characters.>",
"url": "<String>"
},
"guardian_keys": [
[
"<UInt8>"
]
]
}
{
"Enum": [
{
"ParseParams": []
},
{
"Unauthorized": []
},
{
"Malformed": []
},
{
"IncorrectElectionPhase": []
},
{
"DuplicateEntry": []
}
]
}
None
[
"<UInt8>"
]
{
"Enum": [
{
"ParseParams": []
},
{
"Unauthorized": []
},
{
"Malformed": []
},
{
"IncorrectElectionPhase": []
},
{
"DuplicateEntry": []
}
]
}
None
{
"Enum": [
{
"VerificationFailed": [
"<String>"
]
},
{
"VerificationSuccessful": []
}
]
}
{
"Enum": [
{
"ParseParams": []
},
{
"Unauthorized": []
},
{
"Malformed": []
},
{
"IncorrectElectionPhase": []
},
{
"DuplicateEntry": []
}
]
}
None
None
None
[
[
"<AccountAddress>",
{
"encrypted_share": {
"Enum": [
{
"None": []
},
{
"Some": [
[
"<UInt8>"
]
]
}
]
},
"public_key": {
"Enum": [
{
"None": []
},
{
"Some": [
[
"<UInt8>"
]
]
}
]
},
"status": {
"Enum": [
{
"None": []
},
{
"Some": [
{
"Enum": [
{
"VerificationFailed": [
"<String>"
]
},
{
"VerificationSuccessful": []
}
]
}
]
}
]
}
}
]
]
[
"<UInt8>"
]
{
"Enum": [
{
"ParseParams": []
},
{
"Unauthorized": []
},
{
"Malformed": []
},
{
"IncorrectElectionPhase": []
},
{
"DuplicateEntry": []
}
]
}
None
[
"<UInt64>"
]
{
"Enum": [
{
"ParseParams": []
},
{
"Unauthorized": []
},
{
"Malformed": []
},
{
"IncorrectElectionPhase": []
},
{
"DuplicateEntry": []
}
]
}
None
None
None
{
"admin_account": "<AccountAddress>",
"candidates": [
{
"hash": "<String of size 64 containing lowercase hex characters.>",
"url": "<String>"
}
],
"election_description": "<String>",
"election_end": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
"election_manifest": {
"hash": "<String of size 64 containing lowercase hex characters.>",
"url": "<String>"
},
"election_parameters": {
"hash": "<String of size 64 containing lowercase hex characters.>",
"url": "<String>"
},
"election_start": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
"eligible_voters": {
"hash": "<String of size 64 containing lowercase hex characters.>",
"url": "<String>"
},
"guardian_keys": [
[
"<UInt8>"
]
]
}
None
{
"Enum": [
{
"ParseParams": []
},
{
"Unauthorized": []
},
{
"Malformed": []
},
{
"IncorrectElectionPhase": []
},
{
"DuplicateEntry": []
}
]
}
{
"Enum": [
{
"None": []
},
{
"Some": [
[
{
"candidate": {
"hash": "<String of size 64 containing lowercase hex characters.>",
"url": "<String>"
},
"cummulative_votes": "<UInt64>"
}
]
]
}
]
}
Address |
---|