{
"admin_account": "<AccountAddress>",
"candidates": [
{
"hash": "<String of size 64 containing lowercase hex characters.>",
"url": "<String>"
}
],
"decryption_deadline": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
"delegation_string": "<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>"
},
"guardians": [
"<AccountAddress>"
]
}
{
"Enum": [
{
"ParseParams": []
},
{
"Unauthorized": []
},
{
"Malformed": []
},
{
"IncorrectElectionPhase": []
},
{
"DuplicateEntry": []
},
{
"GuardianExcluded": []
}
]
}
None
[
"<UInt8>"
]
{
"Enum": [
{
"ParseParams": []
},
{
"Unauthorized": []
},
{
"Malformed": []
},
{
"IncorrectElectionPhase": []
},
{
"DuplicateEntry": []
},
{
"GuardianExcluded": []
}
]
}
None
{
"Enum": [
{
"KeyVerificationFailed": [
[
"<AccountAddress>"
]
]
},
{
"SharesVerificationFailed": [
[
"<AccountAddress>"
]
]
},
{
"VerificationSuccessful": []
}
]
}
{
"Enum": [
{
"ParseParams": []
},
{
"Unauthorized": []
},
{
"Malformed": []
},
{
"IncorrectElectionPhase": []
},
{
"DuplicateEntry": []
},
{
"GuardianExcluded": []
}
]
}
None
None
None
[
[
"<AccountAddress>",
{
"decryption_share": {
"Enum": [
{
"None": []
},
{
"Some": [
[
"<UInt8>"
]
]
}
]
},
"decryption_share_proof": {
"Enum": [
{
"None": []
},
{
"Some": [
[
"<UInt8>"
]
]
}
]
},
"encrypted_share": {
"Enum": [
{
"None": []
},
{
"Some": [
[
"<UInt8>"
]
]
}
]
},
"excluded": "<Bool>",
"index": "<UInt32>",
"public_key": {
"Enum": [
{
"None": []
},
{
"Some": [
[
"<UInt8>"
]
]
}
]
},
"status": {
"Enum": [
{
"None": []
},
{
"Some": [
{
"Enum": [
{
"KeyVerificationFailed": [
[
"<AccountAddress>"
]
]
},
{
"SharesVerificationFailed": [
[
"<AccountAddress>"
]
]
},
{
"VerificationSuccessful": []
}
]
}
]
}
]
}
}
]
]
[
"<UInt8>"
]
{
"Enum": [
{
"ParseParams": []
},
{
"Unauthorized": []
},
{
"Malformed": []
},
{
"IncorrectElectionPhase": []
},
{
"DuplicateEntry": []
},
{
"GuardianExcluded": []
}
]
}
None
[
"<UInt8>"
]
{
"Enum": [
{
"ParseParams": []
},
{
"Unauthorized": []
},
{
"Malformed": []
},
{
"IncorrectElectionPhase": []
},
{
"DuplicateEntry": []
},
{
"GuardianExcluded": []
}
]
}
None
[
"<UInt64>"
]
{
"Enum": [
{
"ParseParams": []
},
{
"Unauthorized": []
},
{
"Malformed": []
},
{
"IncorrectElectionPhase": []
},
{
"DuplicateEntry": []
},
{
"GuardianExcluded": []
}
]
}
None
[
[
"<AccountAddress>"
],
"<Timestamp (e.g. `2000-01-01T12:00:00Z`)>"
]
{
"Enum": [
{
"ParseParams": []
},
{
"Unauthorized": []
},
{
"Malformed": []
},
{
"IncorrectElectionPhase": []
},
{
"DuplicateEntry": []
},
{
"GuardianExcluded": []
}
]
}
None
None
None
{
"admin_account": "<AccountAddress>",
"candidates": [
{
"hash": "<String of size 64 containing lowercase hex characters.>",
"url": "<String>"
}
],
"decryption_deadline": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
"delegation_string": "<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": []
},
{
"GuardianExcluded": []
}
]
}
{
"Enum": [
{
"None": []
},
{
"Some": [
[
{
"candidate": {
"hash": "<String of size 64 containing lowercase hex characters.>",
"url": "<String>"
},
"cummulative_votes": "<UInt64>"
}
]
]
}
]
}
None
{
"Enum": [
{
"ParseParams": []
},
{
"Unauthorized": []
},
{
"Malformed": []
},
{
"IncorrectElectionPhase": []
},
{
"DuplicateEntry": []
},
{
"GuardianExcluded": []
}
]
}
{
"Enum": [
{
"None": []
},
{
"Some": [
[
"<UInt8>"
]
]
}
]
}