Westend
subscan
Runtime Modules / Staking
Spec Version:
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","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"}
SnapshotValidators{"origin":"PlainType","plain_type":"Vec<AccountId>"}
SnapshotNominators{"origin":"PlainType","plain_type":"Vec<AccountId>"}
QueuedElected{"origin":"PlainType","plain_type":"ElectionResult<AccountId, BalanceOf>"}
QueuedScore{"origin":"PlainType","plain_type":"ElectionScore"}
EraElectionStatus{"origin":"PlainType","plain_type":"ElectionStatus<BlockNumber>"}
IsCurrentSessionFinal{"origin":"PlainType","plain_type":"bool"}
StorageVersion{"origin":"PlainType","plain_type":"Releases"}
Constants
Name
Type
Value
SessionsPerEraSessionIndex0x06000000
BondingDurationEraIndex0x1c000000
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.
PhragmenEarlySubmission The submitted result is received out of the open window.
PhragmenWeakSubmission The submitted result is not as good as the one stored on chain.
SnapshotUnavailable The snapshot data of the current window is missing.
PhragmenBogusWinnerCount Incorrect number of winners were presented.
PhragmenBogusWinner One of the submitted winners is not an active candidate on chain (index is out of range in snapshot).
PhragmenBogusCompact Error while building the assignment type from the compact. This can happen if an index is invalid, or if the weights _overflow_.
PhragmenBogusNominator One of the submitted nominators is not an active nominator on chain.
PhragmenBogusNomination One of the submitted nominators has an edge to which they have not voted on chain.
PhragmenSlashedNomination One of the submitted nominators has an edge which is submitted before the last non-zero slash of the target.
PhragmenBogusSelfVote A self vote must only be originated from a validator to ONLY themselves.
PhragmenBogusEdge The submitted result has unknown edges that are not among the presented winners.
PhragmenBogusScore The claimed score does not match with the one computed from the data.
PhragmenBogusElectionSize The election size is invalid.
CallNotAllowed The call is not allowed at the given time due to restrictions of election period.
IncorrectHistoryDepth Incorrect previous history depth input provided.
IncorrectSlashingSpans Incorrect number of slashing spans provided.