altair
subscan
Runtime Modules / ConvictionVoting
Spec Version:
Call Functions
Name
Lookup
Parameters
vote50002
delegate50014
undelegate50021
unlock50032
remove_vote50042
remove_other_vote50053
Events
Name
Lookup
Attributes
Delegated5000["AccountId","AccountId"]
Undelegated5001["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":743,"value_id":744}}
ClassLocksFor{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"Vec<Tuple:U16U128>","keys_id":0,"value_id":752}}
Constants
Name
Type
Value
MaxVotesU3200020000
VoteLockingPeriodU3200e10000
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.