Name | Lookup | Parameters | |
---|---|---|---|
vote | 3000 | 3 | |
create_poll | 3001 | 4 | |
withdraw | 3002 | 1 |
Name | Type | |
---|---|---|
Voting | {"origin":"DoubleMapType","double_map_type":{"key":"Bytes","key2":"AccountIdOf","hasher":"Identity","key2Hasher":"Identity","value":"VotingInfo","isLinked":false}} | |
PollData | {"origin":"MapType","map_type":{"key":"Bytes","hasher":"Identity","value":"PollInfo<Moment>","isLinked":false}} | |
PalletStorageVersion | {"origin":"PlainType","plain_type":"StorageVersion"} |
Name | Docs |
---|---|
InvalidVotes | Invalid votes |
PollIsFinished | Poll is finished |
PollIsNotStarted | Poll is not started |
NotEnoughFunds | Not enough funds |
InvalidNumberOfOption | Invalid number of option |
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, |
PollIdAlreadyExists | Poll id already exists |