subscan
Runtime Modules / Staking
Spec Version:
Events
Name
Lookup
Attributes
EraPayout1100["EraIndex","Balance","Balance"]
Reward1101["IdentityId","AccountId","Balance"]
Slash1102["AccountId","Balance"]
OldSlashingReportDiscarded1103["SessionIndex"]
StakingElection1104["ElectionCompute"]
SolutionStored1105["ElectionCompute"]
Bonded1106["IdentityId","AccountId","Balance"]
Unbonded1107["IdentityId","AccountId","Balance"]
Nominated1108["IdentityId","AccountId","Vec<AccountId>"]
Withdrawn1109["AccountId","Balance"]
PermissionedIdentityAdded110a["IdentityId","IdentityId"]
PermissionedIdentityRemoved110b["IdentityId","IdentityId"]
InvalidatedNominators110c["IdentityId","AccountId","Vec<AccountId>"]
CommissionCapUpdated110d["IdentityId","Perbill","Perbill"]
MinimumBondThresholdUpdated110e["Option<IdentityId>","Balance"]
RewardPaymentSchedulingInterrupted110f["AccountId","EraIndex","DispatchError"]
SlashingAllowedForChanged1110["SlashingSwitch"]
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":61}
Bonded{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"AccountId","keys_id":0,"value_id":0}}
Ledger{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"pallet_staking:StakingLedger","keys_id":0,"value_id":574}}
Payee{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"pallet_staking:RewardDestination","keys_id":0,"value_id":394}}
Validators{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"pallet_staking:ValidatorPrefs","keys_id":0,"value_id":395}}
Nominators{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"pallet_staking:Nominations","keys_id":0,"value_id":577}}
CurrentEra{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
ActiveEra{"origin":"PlainType","plain_type":"pallet_staking:ActiveEraInfo","PlainTypeValue":578}
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":579,"value_id":118}}
ErasStakersClipped{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U32","AccountId"],"value":"pallet_staking:Exposure","keys_id":579,"value_id":118}}
ErasValidatorPrefs{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U32","AccountId"],"value":"pallet_staking:ValidatorPrefs","keys_id":579,"value_id":395}}
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":580}}
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":583}
SlashRewardFraction{"origin":"PlainType","plain_type":"U32","PlainTypeValue":103}
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":584}}
BondedEras{"origin":"PlainType","plain_type":"Vec<Tuple:U32U32>","PlainTypeValue":299}
ValidatorSlashInEra{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U32","AccountId"],"value":"Tuple:U32U128","keys_id":579,"value_id":588}}
NominatorSlashInEra{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U32","AccountId"],"value":"U128","keys_id":579,"value_id":6}}
SlashingSpans{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"pallet_staking:slashing:SlashingSpans","keys_id":0,"value_id":589}}
SpanSlash{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId","U32"],"value":"pallet_staking:slashing:SpanRecord","keys_id":568,"value_id":590}}
EarliestUnappliedSlash{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
OffendingValidators{"origin":"PlainType","plain_type":"Vec<Tuple:U32Bool>","PlainTypeValue":591}
SnapshotValidators{"origin":"PlainType","plain_type":"Vec<AccountId>","PlainTypeValue":61}
SnapshotNominators{"origin":"PlainType","plain_type":"Vec<AccountId>","PlainTypeValue":61}
QueuedElected{"origin":"PlainType","plain_type":"pallet_staking:ElectionResult","PlainTypeValue":593}
QueuedScore{"origin":"PlainType","plain_type":"sp_npos_elections:ElectionScore","PlainTypeValue":452}
EraElectionStatus{"origin":"PlainType","plain_type":"pallet_staking:ElectionStatus","PlainTypeValue":594}
IsCurrentSessionFinal{"origin":"PlainType","plain_type":"Bool","PlainTypeValue":74}
PermissionedIdentity{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["[U8; 32]"],"value":"pallet_staking:PermissionedIdentityPrefs","keys_id":32,"value_id":595}}
ValidatorCommissionCap{"origin":"PlainType","plain_type":"U32","PlainTypeValue":103}
MinimumBondThreshold{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
SlashingAllowedFor{"origin":"PlainType","plain_type":"pallet_staking:SlashingSwitch","PlainTypeValue":104}
StorageVersion{"origin":"PlainType","plain_type":"pallet_staking:Releases","PlainTypeValue":596}
PolymeshStorageVersion{"origin":"PlainType","plain_type":"U8","PlainTypeValue":597}
Constants
Name
Type
Value
SessionsPerEraU3206000000
BondingDurationU321c000000
SlashDeferDurationU320e000000
ElectionLookaheadU3258020000
MaxIterationsU320a000000
MinSolutionScoreBumpU3220a10700
MaxNominatorRewardedPerValidatorU3200080000
MaxValidatorPerIdentityU3210090500
MaxVariableInflationTotalIssuanceU1280080c6a47e8d03000000000000000000
FixedYearlyRewardU12800c0444a547f00000000000000000000
MinimumBondU12840420f00000000000000000000000000
Error Types
Name
Docs
NotControllerNot a controller account.
NotStashNot a stash account.
AlreadyBondedStash is already bonded.
AlreadyPairedController is already paired.
EmptyTargetsTargets cannot be empty.
InvalidSlashIndexSlash record index out of bounds.
InsufficientValueCan not bond with value less than minimum balance.
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.
NotSortedAndUniqueItems are not sorted and unique.
AlreadyClaimedRewards for this era have already been claimed for this validator.
OffchainElectionEarlySubmissionThe submitted result is received out of the open window.
OffchainElectionWeakSubmissionThe submitted result is not as good as the one stored on chain.
SnapshotUnavailableThe snapshot data of the current window is missing.
OffchainElectionBogusWinnerCountIncorrect number of winners were presented.
OffchainElectionBogusWinnerOne of the submitted winners is not an active candidate on chain (index is out of rangein snapshot).
OffchainElectionBogusCompactError while building the assignment type from the compact. This can happen if an indexis invalid, or if the weights _overflow_.
OffchainElectionBogusNominatorOne of the submitted nominators is not an active nominator on chain.
OffchainElectionBogusNominationOne of the submitted nominators has an edge to which they have not voted on chain.
OffchainElectionSlashedNominationOne of the submitted nominators has an edge which is submitted before the last non-zeroslash of the target.
OffchainElectionBogusSelfVoteA self vote must only be originated from a validator to ONLY themselves.
OffchainElectionBogusEdgeThe submitted result has unknown edges that are not among the presented winners.
OffchainElectionBogusScoreThe claimed score does not match with the one computed from the data.
OffchainElectionBogusElectionSizeThe election size is invalid.
CallNotAllowedThe call is not allowed at the given time due to restrictions of election period.
IncorrectSlashingSpansIncorrect number of slashing spans provided.
AlreadyExistsPermissioned validator already exists.
NotExistsPermissioned validator not exists.
NoChangeUpdates with same value.
InvalidValidatorIdentityGiven potential validator identity is invalid.
InvalidValidatorCommissionValidator prefs are not in valid range.
StashIdentityDoesNotExistValidator or nominator stash identity does not exist.
StashIdentityNotPermissionedValidator stash identity was not permissioned.
StashIdentityNotCDDedNominator stash was not CDDed.
HitIntendedValidatorCountRunning validator count hit the intended count.
IntendedCountIsExceedingConsensusLimitWhen the intended number of validators to run is >= 2/3 of `validator_count`.
BondTooSmallWhen the amount to be bonded is less than `MinimumBond`
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.
InvalidValidatorUnbondAmountValidator should have minimum 50k POLYX bonded.