SORA
subscan
Runtime Modules / CeresGovernancePlatform
Spec Version:
Call Functions
Name
Lookup
Parameters
vote30003
create_poll30014
withdraw30021
Events
Name
Lookup
Attributes
Voted3000["AccountIdOf","Bytes","u32","Balance"]
Created3001["AccountIdOf","u32","Moment","Moment"]
Withdrawn3002["AccountIdOf","Balance"]
Storage Functions
Name
Type
Voting{"origin":"Map","n_map_type":{"hashers":["Identity","Identity"],"key_vec":["Vec<U8>","AccountId"],"value":"ceres_governance_platform:VotingInfo","keys_id":647,"value_id":648}}
PollData{"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["Vec<U8>"],"value":"ceres_governance_platform:PollInfo","keys_id":12,"value_id":649}}
PalletStorageVersion{"origin":"PlainType","plain_type":"ceres_governance_platform:StorageVersion","PlainTypeValue":650}
Error Types
Name
Docs
InvalidVotesInvalid votes
PollIsFinishedPoll is finished
PollIsNotStartedPoll is not started
NotEnoughFundsNot enough funds
InvalidNumberOfOptionInvalid number of option
VoteDeniedVote denied
InvalidStartTimestampInvalid start timestamp
InvalidEndTimestampInvalid end timestamp
PollIsNotFinishedPoll is not finished
InvalidNumberOfVotesInvalid number of votes
FundsAlreadyWithdrawnFunds already withdrawn,
PollIdAlreadyExistsPoll id already exists