subscan
Runtime Modules / PhragmenElection
Spec Version:
Call Functions
Events
Name
Lookup
Attributes
NewTerm4700["Vec<(<T as frame_system::Config>::AccountId, BalanceOf)>"]
EmptyTerm4701
ElectionError4702
MemberKicked4703["<T as frame_system::Config>::AccountId"]
Renounced4704["<T as frame_system::Config>::AccountId"]
CandidateSlashed4705["<T as frame_system::Config>::AccountId","BalanceOf"]
SeatHolderSlashed4706["<T as frame_system::Config>::AccountId","BalanceOf"]
Storage Functions
Name
Type
Members{"origin":"PlainType","plain_type":"Vec<pallet_elections_phragmen:SeatHolder>","PlainTypeValue":485}
RunnersUp{"origin":"PlainType","plain_type":"Vec<pallet_elections_phragmen:SeatHolder>","PlainTypeValue":485}
Candidates{"origin":"PlainType","plain_type":"Vec<Tuple:AccountIdU128>","PlainTypeValue":98}
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":487}}
Constants
Name
Type
Value
PalletId[U8; 8]6163612f70687265
CandidacyBondU12800e87648170000000000000000000000
VotingBondBaseU12800c817a8040000000000000000000000
VotingBondFactorU12800e40b54020000000000000000000000
DesiredMembersU320d000000
DesiredRunnersUpU3207000000
TermDurationU32e0c40000
MaxCandidatesU3214000000
MaxVotersU3264000000
MaxVotesPerVoterU3205000000
Error Types
Name
Docs
UnableToVote
NoVotes
TooManyVotes
MaximumVotesExceeded
LowBalance
UnableToPayBond
MustBeVoter
DuplicatedCandidate
TooManyCandidates
MemberSubmit
RunnerUpSubmit
InsufficientCandidateFunds
NotMember
InvalidWitnessData
InvalidVoteCount
InvalidRenouncing
InvalidReplacement