subscan
Runtime Modules / ConvictionVoting
Spec Version:
Call Functions
Name
Lookup
Parameters
vote3f002
delegate3f014
undelegate3f021
unlock3f032
remove_vote3f042
remove_other_vote3f053
Events
Name
Lookup
Attributes
Delegated3f00["AccountId","AccountId"]
Undelegated3f01["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":545,"value_id":546}}
ClassLocksFor{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["[U8; 20]"],"value":"Vec<Tuple:U16U128>","keys_id":0,"value_id":554}}
Constants
Name
Type
Value
MaxVotesU3214000000
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.