Westend
subscan
Runtime Modules / Staking
Spec Version:
Events
Storage Functions
Name
Type
HistoryDepth{"origin":"PlainType","plain_type":"u32"}
ValidatorCount{"origin":"PlainType","plain_type":"u32"}
MinimumValidatorCount{"origin":"PlainType","plain_type":"u32"}
Invulnerables{"origin":"PlainType","plain_type":"Vec<AccountId>"}
Bonded{"origin":"MapType","map_type":{"key":"AccountId","hasher":"Twox64Concat","value":"AccountId","isLinked":false}}
Ledger{"origin":"MapType","map_type":{"key":"AccountId","hasher":"Blake2_128Concat","value":"StakingLedger<AccountId, BalanceOf>","isLinked":false}}
Payee{"origin":"MapType","map_type":{"key":"AccountId","hasher":"Twox64Concat","value":"RewardDestination<AccountId>","isLinked":false}}
Validators{"origin":"MapType","map_type":{"key":"AccountId","hasher":"Twox64Concat","value":"ValidatorPrefs","isLinked":false}}
Nominators{"origin":"MapType","map_type":{"key":"AccountId","hasher":"Twox64Concat","value":"Nominations<AccountId>","isLinked":false}}
CurrentEra{"origin":"PlainType","plain_type":"EraIndex"}
ActiveEra{"origin":"PlainType","plain_type":"ActiveEraInfo"}
ErasStartSessionIndex{"origin":"MapType","map_type":{"key":"EraIndex","hasher":"Twox64Concat","value":"SessionIndex","isLinked":false}}
ErasStakers{"origin":"DoubleMapType","double_map_type":{"key":"EraIndex","key2":"AccountId","hasher":"Twox64Concat","key2Hasher":"Twox64Concat","value":"Exposure<AccountId, BalanceOf>","isLinked":false}}
ErasStakersClipped{"origin":"DoubleMapType","double_map_type":{"key":"EraIndex","key2":"AccountId","hasher":"Twox64Concat","key2Hasher":"Twox64Concat","value":"Exposure<AccountId, BalanceOf>","isLinked":false}}
ErasValidatorPrefs{"origin":"DoubleMapType","double_map_type":{"key":"EraIndex","key2":"AccountId","hasher":"Twox64Concat","key2Hasher":"Twox64Concat","value":"ValidatorPrefs","isLinked":false}}
ErasValidatorReward{"origin":"MapType","map_type":{"key":"EraIndex","hasher":"Twox64Concat","value":"BalanceOf","isLinked":false}}
ErasRewardPoints{"origin":"MapType","map_type":{"key":"EraIndex","hasher":"Twox64Concat","value":"EraRewardPoints<AccountId>","isLinked":false}}
ErasTotalStake{"origin":"MapType","map_type":{"key":"EraIndex","hasher":"Twox64Concat","value":"BalanceOf","isLinked":false}}
ForceEra{"origin":"PlainType","plain_type":"Forcing"}
SlashRewardFraction{"origin":"PlainType","plain_type":"Perbill"}
CanceledSlashPayout{"origin":"PlainType","plain_type":"BalanceOf"}
UnappliedSlashes{"origin":"MapType","map_type":{"key":"EraIndex","hasher":"Twox64Concat","value":"Vec<UnappliedSlash<AccountId, BalanceOf>>","isLinked":false}}
BondedEras{"origin":"PlainType","plain_type":"Vec<(EraIndex, SessionIndex)>"}
ValidatorSlashInEra{"origin":"DoubleMapType","double_map_type":{"key":"EraIndex","key2":"AccountId","hasher":"Twox64Concat","key2Hasher":"Twox64Concat","value":"(Perbill, BalanceOf)","isLinked":false}}
NominatorSlashInEra{"origin":"DoubleMapType","double_map_type":{"key":"EraIndex","key2":"AccountId","hasher":"Twox64Concat","key2Hasher":"Twox64Concat","value":"BalanceOf","isLinked":false}}
SlashingSpans{"origin":"MapType","map_type":{"key":"AccountId","hasher":"Twox64Concat","value":"slashing::SlashingSpans","isLinked":false}}
SpanSlash{"origin":"MapType","map_type":{"key":"(AccountId, slashing::SpanIndex)","hasher":"Twox64Concat","value":"slashing::SpanRecord<BalanceOf>","isLinked":false}}
EarliestUnappliedSlash{"origin":"PlainType","plain_type":"EraIndex"}
CurrentPlannedSession{"origin":"PlainType","plain_type":"SessionIndex"}
StorageVersion{"origin":"PlainType","plain_type":"Releases"}
Constants
Name
Type
Value
SessionsPerEraSessionIndex0x06000000
BondingDurationEraIndex0x1c000000
SlashDeferDurationEraIndex0x1b000000
MaxNominatorRewardedPerValidatoru320x40000000
MaxNominationsu320x10000000
Error Types
Name
Docs
NotController Not a controller account.
NotStash Not a stash account.
AlreadyBonded Stash is already bonded.
AlreadyPaired Controller is already paired.
EmptyTargets Targets cannot be empty.
DuplicateIndex Duplicate index.
InvalidSlashIndex Slash record index out of bounds.
InsufficientValue Can not bond with value less than minimum balance.
NoMoreChunks Can not schedule more unlock chunks.
NoUnlockChunk Can not rebond without unlocking chunks.
FundedTarget Attempting to target a stash that still has funds.
InvalidEraToReward Invalid era to reward.
InvalidNumberOfNominations Invalid number of nominations.
NotSortedAndUnique Items are not sorted and unique.
AlreadyClaimed Rewards for this era have already been claimed for this validator.
IncorrectHistoryDepth Incorrect previous history depth input provided.
IncorrectSlashingSpans Incorrect number of slashing spans provided.
BadState Internal state has become somehow corrupted and the operation cannot continue.
TooManyTargets Too many nomination targets supplied.
BadTarget A nomination target was supplied that was blocked or otherwise not a validator.