Dock
subscan
Runtime Modules / Staking
Spec Version:
Events
Name
Lookup
Attributes
EraPaid1f00["EraIndex","BalanceOf","BalanceOf"]
Rewarded1f01["AccountId","BalanceOf"]
Slashed1f02["AccountId","BalanceOf"]
OldSlashingReportDiscarded1f03["SessionIndex"]
StakersElected1f04
Bonded1f05["AccountId","BalanceOf"]
Unbonded1f06["AccountId","BalanceOf"]
Withdrawn1f07["AccountId","BalanceOf"]
Kicked1f08["AccountId","AccountId"]
StakingElectionFailed1f09
Chilled1f0a["AccountId"]
PayoutStarted1f0b["EraIndex","AccountId"]
ValidatorPrefsSet1f0c["AccountId","ValidatorPrefs"]
Storage Functions
Name
Type
HistoryDepth{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
ValidatorCount{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
MinimumValidatorCount{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
Invulnerables{"origin":"PlainType","plain_type":"Vec<AccountId>","PlainTypeValue":399}
Bonded{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"AccountId","keys_id":0,"value_id":0}}
MinNominatorBond{"origin":"PlainType","plain_type":"U64","PlainTypeValue":6}
MinValidatorBond{"origin":"PlainType","plain_type":"U64","PlainTypeValue":6}
MinCommission{"origin":"PlainType","plain_type":"U32","PlainTypeValue":59}
Ledger{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"pallet_staking:StakingLedger","keys_id":0,"value_id":760}}
Payee{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"pallet_staking:RewardDestination","keys_id":0,"value_id":442}}
Validators{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"pallet_staking:ValidatorPrefs","keys_id":0,"value_id":443}}
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":764}}
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":766}
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":745,"value_id":604}}
ErasStakersClipped{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U32","AccountId"],"value":"pallet_staking:Exposure","keys_id":745,"value_id":604}}
ErasValidatorPrefs{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U32","AccountId"],"value":"pallet_staking:ValidatorPrefs","keys_id":745,"value_id":443}}
ErasValidatorReward{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"U64","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":768}}
UnclaimedStashEras{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["AccountId","U32"],"value":"NULL","keys_id":771,"value_id":38}}
ErasTotalStake{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"U64","keys_id":4,"value_id":6}}
ForceEra{"origin":"PlainType","plain_type":"pallet_staking:Forcing","PlainTypeValue":772}
SlashRewardFraction{"origin":"PlainType","plain_type":"U32","PlainTypeValue":59}
CanceledSlashPayout{"origin":"PlainType","plain_type":"U64","PlainTypeValue":6}
UnappliedSlashes{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"Vec<pallet_staking:UnappliedSlash>","keys_id":4,"value_id":773}}
BondedEras{"origin":"PlainType","plain_type":"Vec<Tuple:U32U32>","PlainTypeValue":622}
ValidatorSlashInEra{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U32","AccountId"],"value":"Tuple:U32U64","keys_id":745,"value_id":775}}
NominatorSlashInEra{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U32","AccountId"],"value":"U64","keys_id":745,"value_id":6}}
SlashingSpans{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"pallet_staking:slashing:SlashingSpans","keys_id":0,"value_id":776}}
SpanSlash{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId","U32"],"value":"pallet_staking:slashing:SpanRecord","keys_id":771,"value_id":777}}
CurrentPlannedSession{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
OffendingValidators{"origin":"PlainType","plain_type":"Vec<Tuple:U32Bool>","PlainTypeValue":778}
StorageVersion{"origin":"PlainType","plain_type":"pallet_staking:Releases","PlainTypeValue":780}
ChillThreshold{"origin":"PlainType","plain_type":"U8","PlainTypeValue":446}
Constants
Name
Type
Value
MaxNominationsU3210000000
SessionsPerEraU3204000000
BondingDurationU320e000000
SlashDeferDurationU3207000000
MaxNominatorRewardedPerValidatorU3200010000
MaxUnlockingChunksU3200000000
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 validators in the system. Governance needs to adjust the stakingsettings to keep things safe for the runtime.
CommissionTooLowCommission is too low. Must be at least `MinCommission`.
CantKillStashWithUnclaimedRewardsCan't kill the stash while it has some unclaimed era rewards. It will be possible after claiming.