subscan
Runtime Modules / Staking
Spec Version:
Storage Functions
Name
Type
HistoryDepth{"origin":"PlainType","plain_type":"u32"}
StartRewardEra{"origin":"PlainType","plain_type":"EraIndex"}
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}}
Guarantors{"origin":"MapType","map_type":{"key":"AccountId","hasher":"Twox64Concat","value":"Guarantee<AccountId, BalanceOf>","isLinked":false}}
StakeLimit{"origin":"MapType","map_type":{"key":"AccountId","hasher":"Twox64Concat","value":"BalanceOf","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}}
ErasStakingPayout{"origin":"MapType","map_type":{"key":"EraIndex","hasher":"Twox64Concat","value":"BalanceOf","isLinked":false}}
ErasMarketPayout{"origin":"MapType","map_type":{"key":"EraIndex","hasher":"Twox64Concat","value":"BalanceOf","isLinked":false}}
ErasAuthoringPayout{"origin":"DoubleMapType","double_map_type":{"key":"EraIndex","key2":"AccountId","hasher":"Twox64Concat","key2Hasher":"Twox64Concat","value":"BalanceOf","isLinked":false}}
ErasTotalStakes{"origin":"MapType","map_type":{"key":"EraIndex","hasher":"Twox64Concat","value":"BalanceOf","isLinked":false}}
ValidatorCount{"origin":"PlainType","plain_type":"u32"}
MinimumValidatorCount{"origin":"PlainType","plain_type":"u32"}
Invulnerables{"origin":"PlainType","plain_type":"Vec<AccountId>"}
CurrentElected{"origin":"PlainType","plain_type":"Vec<AccountId>"}
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}}
ErasRewardPoints{"origin":"MapType","map_type":{"key":"EraIndex","hasher":"Twox64Concat","value":"EraRewardPoints<AccountId>","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}}
GuarantorSlashInEra{"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"}
ValidatorsWhitelist{"origin":"PlainType","plain_type":"Vec<AccountId>"}
ForceSelection{"origin":"PlainType","plain_type":"bool"}
Constants
Name
Type
Value
SessionsPerEraSessionIndex0x06000000
BondingDurationEraIndex0x70000000
SlashDeferDurationEraIndex0x6c000000
MaxGuarantorRewardedPerValidatoru320x40000000
ModuleIdModuleId0x637374616b696e67
MarketStakingPotDurationu320x3c000000
SPowerRatiou1280x01000000000000000000000000000000
UncheckedFrozenBondFundBalanceOf0x0010a5d4e80000000000000000000000
Error Types
Name
Docs
NotController Not a controller account.
NotStash Not a stash account.
AlreadyBonded Stash is already bonded.
AlreadyPaired Controller is already paired.
AllGuaranteed All stakes are guaranteed, cut guarantee first
DuplicateIndex Duplicate index.
InvalidSlashIndex Slash record index out of bounds.
InvalidTarget Target is invalid.
InsufficientValue Can not bond with value less than minimum balance.
NoMoreChunks Can not schedule more unlock chunks.
ExceedGuaranteeLimit Can not bond with more than limit
FundedTarget Attempting to target a stash that still has funds.
InvalidEraToReward Invalid era to reward.
AlreadyClaimed Claimed reward twice.
InsufficientCurrency Don't have enough balance to recharge the staking pot
NoUnlockChunk Can not rebond without unlocking chunks.
InsufficientFrozenBond Staking locks need to be the maximum locks