subscan
Runtime Modules / ConvictionVoting
Spec Version:
Call Functions
Name
Lookup
Parameters
vote2c002
delegate2c014
undelegate2c021
unlock2c032
remove_vote2c042
remove_other_vote2c053
Events
Name
Lookup
Attributes
Delegated2c00["AccountId","AccountId"]
Undelegated2c01["AccountId"]
Storage Functions
Name
Type
VotingFor{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["[U8; 20]","U16"],"value":"pallet_conviction_voting:vote:Voting","keys_id":414,"value_id":415}}
ClassLocksFor{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["[U8; 20]"],"value":"Vec<Tuple:U16U128>","keys_id":0,"value_id":423}}
Constants
Name
Type
Value
MaxVotesU3200020000
VoteLockingPeriodU32201c0000
Error Types
Name
Docs
NotOngoingPoll is not ongoing.
NotVoterThe given account did not vote on the poll.
NoPermissionThe actor has no permission to conduct the action.
NoPermissionYetThe actor has no permission to conduct the action right now but will do in the future.
AlreadyDelegatingThe account is already delegating.
AlreadyVotingThe account currently has votes attached to it and the operation cannot succeed untilthese are removed, either through `unvote` or `reap_vote`.
InsufficientFundsToo high a balance was provided that the account cannot afford.
NotDelegatingThe account is not currently delegating.
NonsenseDelegation to oneself makes no sense.
MaxVotesReachedMaximum number of votes reached.
ClassNeededThe class must be supplied since it is not easily determinable from the state.
BadClassThe class ID supplied is invalid.