Dock
subscan
Runtime Modules / Elections
Spec Version:
Call Functions
Events
Name
Lookup
Attributes
NewTerm2500["Vec<(<T as frame_system::Config>::AccountId, BalanceOf)>"]
EmptyTerm2501
ElectionError2502
MemberKicked2503["<T as frame_system::Config>::AccountId"]
Renounced2504["<T as frame_system::Config>::AccountId"]
CandidateSlashed2505["<T as frame_system::Config>::AccountId","BalanceOf"]
SeatHolderSlashed2506["<T as frame_system::Config>::AccountId","BalanceOf"]
Storage Functions
Name
Type
Members{"origin":"PlainType","plain_type":"Vec<pallet_elections_phragmen:SeatHolder>","PlainTypeValue":806}
RunnersUp{"origin":"PlainType","plain_type":"Vec<pallet_elections_phragmen:SeatHolder>","PlainTypeValue":806}
Candidates{"origin":"PlainType","plain_type":"Vec<Tuple:AccountIdU64U32>","PlainTypeValue":387}
ElectionRounds{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
Voting{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"pallet_elections_phragmen:Voter","keys_id":0,"value_id":808}}
Version{"origin":"PlainType","plain_type":"pallet_elections_phragmen:PalletStorageVersion","PlainTypeValue":809}
Constants
Name
Type
Value
PalletId[U8; 8]706872656c656374
CandidacyBondU6400c817a804000000
CandidacyDelayU3280510100
VotingBondBaseU64f0e13c0000000000
VotingBondFactorU64004c1d0000000000
DesiredMembersU3206000000
DesiredRunnersUpU3203000000
TermDurationU3280130300
MaxCandidatesU32c8000000
MaxVotersU3220030000
Error Types
Name
Docs
UnableToVoteCannot vote when no candidates or members exist.
NoVotesMust vote for at least one candidate.
TooManyVotesCannot vote more than candidates.
MaximumVotesExceededCannot vote more than maximum allowed.
LowBalanceCannot vote with stake less than minimum balance.
UnableToPayBondVoter can not pay voting bond.
MustBeVoterMust be a voter.
DuplicatedCandidateDuplicated candidate submission.
TooManyCandidatesToo many candidates have been created.
MemberSubmitMember cannot re-submit candidacy.
RunnerUpSubmitRunner cannot re-submit candidacy.
InsufficientCandidateFundsCandidate does not have enough funds.
NotMemberNot a member.
InvalidWitnessDataThe provided count of number of candidates is incorrect.
InvalidVoteCountThe provided count of number of votes is incorrect.
InvalidRenouncingThe renouncing origin presented a wrong `Renouncing` parameter.
InvalidReplacementPrediction regarding replacement after member removal is wrong.