subscan
Runtime Modules / Staking
Spec Version:
Events
Name
Lookup
Attributes
EraPaid0600["EraIndex","BalanceOf","BalanceOf"]
Rewarded0601["AccountId","BalanceOf"]
Slashed0602["AccountId","BalanceOf"]
SlashReported0603["AccountId","Perbill","EraIndex"]
OldSlashingReportDiscarded0604["SessionIndex"]
StakersElected0605
Bonded0606["AccountId","BalanceOf"]
Unbonded0607["AccountId","BalanceOf"]
Withdrawn0608["AccountId","BalanceOf"]
Kicked0609["AccountId","AccountId"]
StakingElectionFailed060a
Chilled060b["AccountId"]
PayoutStarted060c["EraIndex","AccountId"]
ValidatorPrefsSet060d["AccountId","ValidatorPrefs"]
ForceEra060e["Forcing"]
Storage Functions
Name
Type
ValidatorCount{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
MinimumValidatorCount{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
Invulnerables{"origin":"PlainType","plain_type":"Vec<[U8; 32]>","PlainTypeValue":176}
Bonded{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["[U8; 32]"],"value":"[U8; 32]","keys_id":0,"value_id":0}}
MinNominatorBond{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
MinValidatorBond{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
MinimumActiveStake{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
MinCommission{"origin":"PlainType","plain_type":"U32","PlainTypeValue":32}
Ledger{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 32]"],"value":"pallet_staking:StakingLedger","keys_id":0,"value_id":177}}
Payee{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["[U8; 32]"],"value":"pallet_staking:RewardDestination","keys_id":0,"value_id":182}}
Validators{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["[U8; 32]"],"value":"pallet_staking:ValidatorPrefs","keys_id":0,"value_id":33}}
CounterForValidators{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
MaxValidatorsCount{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
Nominators{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["[U8; 32]"],"value":"pallet_staking:Nominations","keys_id":0,"value_id":183}}
CounterForNominators{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
MaxNominatorsCount{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
CurrentEra{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
ActiveEra{"origin":"PlainType","plain_type":"pallet_staking:ActiveEraInfo","PlainTypeValue":185}
ErasStartSessionIndex{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"U32","keys_id":4,"value_id":4}}
ErasStakers{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U32","[U8; 32]"],"value":"pallet_staking:Exposure","keys_id":186,"value_id":50}}
ErasStakersClipped{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U32","[U8; 32]"],"value":"pallet_staking:Exposure","keys_id":186,"value_id":50}}
ErasValidatorPrefs{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U32","[U8; 32]"],"value":"pallet_staking:ValidatorPrefs","keys_id":186,"value_id":33}}
ErasValidatorReward{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"U128","keys_id":4,"value_id":6}}
ErasRewardPoints{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"pallet_staking:EraRewardPoints","keys_id":4,"value_id":187}}
ErasTotalStake{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"U128","keys_id":4,"value_id":6}}
ForceEra{"origin":"PlainType","plain_type":"pallet_staking:Forcing","PlainTypeValue":36}
SlashRewardFraction{"origin":"PlainType","plain_type":"U32","PlainTypeValue":32}
CanceledSlashPayout{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
UnappliedSlashes{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"Vec<pallet_staking:UnappliedSlash>","keys_id":4,"value_id":191}}
BondedEras{"origin":"PlainType","plain_type":"Vec<Tuple:U32U32>","PlainTypeValue":117}
ValidatorSlashInEra{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U32","[U8; 32]"],"value":"Tuple:U32U128","keys_id":186,"value_id":195}}
NominatorSlashInEra{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U32","[U8; 32]"],"value":"U128","keys_id":186,"value_id":6}}
SlashingSpans{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["[U8; 32]"],"value":"pallet_staking:slashing:SlashingSpans","keys_id":0,"value_id":196}}
SpanSlash{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["[U8; 32]","U32"],"value":"pallet_staking:slashing:SpanRecord","keys_id":190,"value_id":197}}
CurrentPlannedSession{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
OffendingValidators{"origin":"PlainType","plain_type":"Vec<Tuple:U32Bool>","PlainTypeValue":198}
ChillThreshold{"origin":"PlainType","plain_type":"U8","PlainTypeValue":200}
Constants
Name
Type
Value
MaxNominationsU32e8030000
HistoryDepthU3254000000
SessionsPerEraU3202000000
BondingDurationU3207000000
SlashDeferDurationU3206000000
MaxNominatorRewardedPerValidatorU3200020000
MaxUnlockingChunksU3220000000
Error Types
Name
Docs
NotControllerNot a controller account.
NotStashNot a stash account.
AlreadyBondedStash is already bonded.
AlreadyPairedController is already paired.
EmptyTargetsTargets cannot be empty.
DuplicateIndexDuplicate index.
InvalidSlashIndexSlash record index out of bounds.
InsufficientBondCannot have a validator or nominator role, with value less than the minimum defined bygovernance (see `MinValidatorBond` and `MinNominatorBond`). If unbonding is theintention, `chill` first to remove one's role as validator/nominator.
NoMoreChunksCan not schedule more unlock chunks.
NoUnlockChunkCan not rebond without unlocking chunks.
FundedTargetAttempting to target a stash that still has funds.
InvalidEraToRewardInvalid era to reward.
InvalidNumberOfNominationsInvalid number of nominations.
NotSortedAndUniqueItems are not sorted and unique.
AlreadyClaimedRewards for this era have already been claimed for this validator.
IncorrectHistoryDepthIncorrect previous history depth input provided.
IncorrectSlashingSpansIncorrect number of slashing spans provided.
BadStateInternal state has become somehow corrupted and the operation cannot continue.
TooManyTargetsToo many nomination targets supplied.
BadTargetA nomination target was supplied that was blocked or otherwise not a validator.
CannotChillOtherThe user has enough bond and thus cannot be chilled forcefully by an external person.
TooManyNominatorsThere are too many nominators in the system. Governance needs to adjust the stakingsettings to keep things safe for the runtime.
TooManyValidatorsThere are too many validator candidates in the system. Governance needs to adjust thestaking settings to keep things safe for the runtime.
CommissionTooLowCommission is too low. Must be at least `MinCommission`.
BoundNotMetSome bound is not met.