SORA
subscan
Runtime Modules / CeresGovernancePlatform
Spec Version:
Call Functions
Name
Lookup
Parameters
vote30003
create_poll30016
withdraw30021
Events
Name
Lookup
Attributes
Voted3000["AccountIdOf","H256","u32","AssetIdOf","Balance"]
Created3001["AccountIdOf","BoundedString<TitleLimit>","AssetIdOf","Moment","Moment"]
Withdrawn3002["AccountIdOf","H256","AssetIdOf","Balance"]
Storage Functions
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}
Error Types
Name
Docs
PollIsFinishedPoll is finished
PollIsNotStartedPoll is not started
NotEnoughFundsNot enough funds
VoteDeniedVote denied
InvalidStartTimestampInvalid start timestamp
InvalidEndTimestampInvalid end timestamp
PollIsNotFinishedPoll is not finished
InvalidNumberOfVotesInvalid number of votes
FundsAlreadyWithdrawnFunds already withdrawn,
InvalidVotingOptionsInvalid voting options
TooManyVotingOptionsToo many voting options
DuplicateOptionsDuplicate options
PollDoesNotExistPoll does not exist
InvalidOptionInvalid option
NotVotedNot voted
UnauthorizedUnauthorized