subscan
Runtime Modules / ConvictionVoting
Spec Version:
Call Functions
Name
Lookup
Parameters
vote4d002
delegate4d014
undelegate4d021
unlock4d032
remove_vote4d042
remove_other_vote4d053
Events
Name
Lookup
Attributes
Delegated4d00["AccountId","AccountId"]
Undelegated4d01["AccountId"]
Storage Functions
Name
Type
VotingFor{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["AccountId","U16"],"value":"pallet_conviction_voting:vote:Voting","keys_id":647,"value_id":648}}
ClassLocksFor{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"Vec<Tuple:U16U128>","keys_id":0,"value_id":656}}
Constants
Name
Type
Value
MaxVotesU3214000000
VoteLockingPeriodU3280130300
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.