subscan
Runtime Modules / CollatorSelection
Spec Version:
Events
Name
Lookup
Attributes
NewInvulnerablesbf00["Vec<AccountId>"]
NewDesiredCandidatesbf01["u32"]
NewCandidacyBondbf02["BalanceOf"]
CandidateAddedbf03["AccountId","BalanceOf"]
CandidateRemovedbf04["AccountId"]
Storage Functions
Name
Type
Invulnerables{"origin":"PlainType","plain_type":"Vec<AccountId>","PlainTypeValue":509}
Candidates{"origin":"PlainType","plain_type":"Vec<AccountId>","PlainTypeValue":634}
DesiredCandidates{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
CandidacyBond{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
SessionPoints{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"U32","keys_id":0,"value_id":4}}
NonCandidates{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"U32","keys_id":0,"value_id":4}}
Constants
Name
Type
Value
PotId[U8; 8]6163612f63706f74
MinCandidatesU3205000000
MaxCandidatesU32c8000000
MaxInvulnerablesU3232000000
KickPenaltySessionLengthU3208000000
CollatorKickThresholdU3220a10700
MinRewardDistributeAmountU12800e87648170000000000000000000000
Error Types
Name
Docs
MaxCandidatesExceeded
BelowCandidatesMin
StillLocked
Unknown
Permission
AlreadyCandidate
NotCandidate
NotNonCandidate
NothingToWithdraw
RequireSessionKey
AlreadyInvulnerable
InvalidProof
MaxInvulnerablesExceeded