subscan
Runtime Modules / ConvictionVoting
Spec Version:
Call Functions
Name
Lookup
Parameters
vote29002
delegate29014
undelegate29021
unlock29032
remove_vote29042
remove_other_vote29053
Events
Name
Lookup
Attributes
Delegated2900["AccountId","AccountId"]
Undelegated2901["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":607,"value_id":608}}
ClassLocksFor{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["[U8; 20]"],"value":"Vec<Tuple:U16U128>","keys_id":0,"value_id":616}}
Constants
Name
Type
Value
MaxVotesU3214000000
VoteLockingPeriodU3240380000
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.