Name | Lookup | Parameters | |
|---|---|---|---|
| bond | 0800 | 2 | |
| bond_extra | 0801 | 1 | |
| unbond | 0802 | 1 | |
| rebond | 0803 | 1 | |
| withdraw_unbonded | 0804 | - | |
| validate | 0805 | 1 | |
| guarantee | 0806 | 1 | |
| cut_guarantee | 0807 | 1 | |
| chill | 0808 | - | |
| set_controller | 0809 | 1 | |
| reward_stakers | 080a | 2 | |
| set_validator_count | 080b | 1 | |
| increase_validator_count | 080c | 1 | |
| force_no_eras | 080d | - | |
| force_new_era | 080e | - | |
| set_invulnerables | 080f | 1 | |
| force_unstake | 0810 | 1 | |
| force_new_era_always | 0811 | - | |
| cancel_deferred_slash | 0812 | 2 | |
| reap_stash | 0813 | 1 | |
| set_start_reward_era | 0814 | 1 | |
| cancel_era_reward | 0815 | 1 | |
| set_validators_whitelist | 0816 | 1 | |
| force_validators_whitelist | 0817 | 1 |
Name | Lookup | Attributes | |
|---|---|---|---|
| Reward | 0800 | ||
| Slash | 0801 | ||
| OldSlashingReportDiscarded | 0802 | ||
| EraReward | 0803 | ||
| NotEnoughCurrency | 0804 | ||
| Bonded | 0805 | ||
| Unbonded | 0806 | ||
| Withdrawn | 0807 | ||
| ValidateSuccess | 0808 | ||
| GuaranteeSuccess | 0809 | ||
| CutGuaranteeSuccess | 080a | ||
| ChillSuccess | 080b | ||
| UpdateStakeLimitSuccess | 080c |
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"} |
Name | Type | Value | |
|---|---|---|---|
| SessionsPerEra | SessionIndex | 0x06000000 | |
| BondingDuration | EraIndex | 0x70000000 | |
| SlashDeferDuration | EraIndex | 0x6c000000 | |
| MaxGuarantorRewardedPerValidator | u32 | 0x40000000 | |
| ModuleId | ModuleId | 0x637374616b696e67 | |
| MarketStakingPotDuration | u32 | 0x3c000000 | |
| SPowerRatio | u128 | 0x01000000000000000000000000000000 | |
| UncheckedFrozenBondFund | BalanceOf | 0x0010a5d4e80000000000000000000000 |
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 |