Module Name | election | Module Reference | c14efbca1d |
Deployed in block | 16,834,152 |
Deployed in tx | e83d |
Age | 214 days |
Sender | 98538 |
Methods | 13 |
Instances | 2 |
{
"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": {
"data": {
"hash": "<String of size 64 containing lowercase hex characters.>",
"url": "<String>"
},
"parameters": {
"end_time": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
"start_time": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>"
}
},
"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": []
}
]
}
]
}
]
}
}
]
]
"<String with lowercase hex>"
{
"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": {
"data": {
"hash": "<String of size 64 containing lowercase hex characters.>",
"url": "<String>"
},
"parameters": {
"end_time": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
"start_time": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>"
}
},
"guardian_accounts": [
"<AccountAddress>"
]
}
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>"
]
]
}
]
}