Name | Lookup | Parameters | |
---|---|---|---|
vote | 3000 | 3 | |
create_poll | 3001 | 6 | |
withdraw | 3002 | 1 |
Name | Type | |
---|---|---|
Voting | {"origin":"Map","n_map_type":{"hashers":["Identity","Identity"],"key_vec":["H256","AccountId"],"value":"ceres_governance_platform:VotingInfo","keys_id":738,"value_id":739}} | |
PollData | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"ceres_governance_platform:PollInfo","keys_id":11,"value_id":740}} | |
PalletStorageVersion | {"origin":"PlainType","plain_type":"ceres_governance_platform:StorageVersion","PlainTypeValue":741} | |
AuthorityAccount | {"origin":"PlainType","plain_type":"AccountId","PlainTypeValue":0} |
Name | Docs |
---|---|
PollIsFinished | Poll is finished |
PollIsNotStarted | Poll is not started |
NotEnoughFunds | Not enough funds |
VoteDenied | Vote denied |
InvalidStartTimestamp | Invalid start timestamp |
InvalidEndTimestamp | Invalid end timestamp |
PollIsNotFinished | Poll is not finished |
InvalidNumberOfVotes | Invalid number of votes |
FundsAlreadyWithdrawn | Funds already withdrawn, |
InvalidVotingOptions | Invalid voting options |
TooManyVotingOptions | Too many voting options |
DuplicateOptions | Duplicate options |
PollDoesNotExist | Poll does not exist |
InvalidOption | Invalid option |
NotVoted | Not voted |
Unauthorized | Unauthorized |