subscan
Runtime Modules / Staking
Spec Version:
Events
Name
Lookup
Attributes
EraPaid0800["EraIndex","BalanceOf","BalanceOf"]
Rewarded0801["AccountId","BalanceOf"]
Slashed0802["AccountId","BalanceOf"]
SlashReported0803["AccountId","Perbill","EraIndex"]
OldSlashingReportDiscarded0804["SessionIndex"]
StakersElected0805
Bonded0806["AccountId","BalanceOf"]
Unbonded0807["AccountId","BalanceOf"]
Withdrawn0808["AccountId","BalanceOf"]
Kicked0809["AccountId","AccountId"]
StakingElectionFailed080a
Chilled080b["AccountId"]
PayoutStarted080c["EraIndex","AccountId"]
ValidatorPrefsSet080d["AccountId","ValidatorPrefs"]
ForceEra080e["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<AccountId>","PlainTypeValue":50}
Bonded{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"AccountId","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":39}
Ledger{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"pallet_staking:StakingLedger","keys_id":0,"value_id":219}}
Payee{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"pallet_staking:RewardDestination","keys_id":0,"value_id":114}}
Validators{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"pallet_staking:ValidatorPrefs","keys_id":0,"value_id":40}}
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":["AccountId"],"value":"pallet_staking:Nominations","keys_id":0,"value_id":224}}
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":226}
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","AccountId"],"value":"pallet_staking:Exposure","keys_id":228,"value_id":229}}
ErasStakersClipped{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U32","AccountId"],"value":"pallet_staking:Exposure","keys_id":228,"value_id":229}}
ErasValidatorPrefs{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U32","AccountId"],"value":"pallet_staking:ValidatorPrefs","keys_id":228,"value_id":40}}
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":232}}
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":43}
SlashRewardFraction{"origin":"PlainType","plain_type":"U32","PlainTypeValue":39}
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":236}}
BondedEras{"origin":"PlainType","plain_type":"Vec<Tuple:U32U32>","PlainTypeValue":77}
ValidatorSlashInEra{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U32","AccountId"],"value":"Tuple:U32U128","keys_id":228,"value_id":240}}
NominatorSlashInEra{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U32","AccountId"],"value":"U128","keys_id":228,"value_id":6}}
SlashingSpans{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"pallet_staking:slashing:SlashingSpans","keys_id":0,"value_id":241}}
SpanSlash{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId","U32"],"value":"pallet_staking:slashing:SpanRecord","keys_id":235,"value_id":242}}
CurrentPlannedSession{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
OffendingValidators{"origin":"PlainType","plain_type":"Vec<Tuple:U32Bool>","PlainTypeValue":243}
ChillThreshold{"origin":"PlainType","plain_type":"U8","PlainTypeValue":116}
Constants
Name
Type
Value
MaxNominationsU3201000000
HistoryDepthU3254000000
SessionsPerEraU3260000000
BondingDurationU320e000000
SlashDeferDurationU320d000000
MaxNominatorRewardedPerValidatorU3200040000
MaxUnlockingChunksU3210000000
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.