Name | Lookup | Parameters | |
|---|---|---|---|
| set_invulnerables | 1500 | 1 | |
| set_desired_candidates | 1501 | 1 | |
| set_min_candidacy_bond | 1502 | 1 | |
| register_as_candidate | 1503 | 1 | |
| leave_intent | 1504 | - | |
| add_invulnerable | 1505 | 1 | |
| remove_invulnerable | 1506 | 1 | |
| stake | 1507 | 1 | |
| unstake_from | 1508 | 1 | |
| unstake_all | 1509 | - | |
| release | 150a | - | |
| set_autocompound_percentage | 150b | 1 | |
| set_collator_reward_percentage | 150c | 1 | |
| set_extra_reward | 150d | 1 | |
| set_minimum_stake | 150e | 1 | |
| stop_extra_reward | 150f | - | |
| top_up_extra_rewards | 1510 | 1 | |
| lock | 1511 | 1 | |
| unlock | 1512 | 1 | |
| update_candidacy_bond | 1513 | 1 | |
| claim_rewards | 1514 | - | |
| claim_rewards_other | 1515 | 1 |
Name | Lookup | Attributes | |
|---|---|---|---|
| NewInvulnerables | 1500 | ["Vec<AccountId>"] | |
| InvulnerableAdded | 1501 | ["AccountId"] | |
| InvulnerableRemoved | 1502 | ["AccountId"] | |
| NewDesiredCandidates | 1503 | ["u32"] | |
| NewMinCandidacyBond | 1504 | ["BalanceOf"] | |
| CandidateAdded | 1505 | ["AccountId","BalanceOf"] | |
| CandidateRemoved | 1506 | ["AccountId"] | |
| InvalidInvulnerableSkipped | 1507 | ["AccountId"] | |
| StakeAdded | 1508 | ["AccountId","AccountId","BalanceOf"] | |
| StakeReleased | 1509 | ["AccountId","BalanceOf"] | |
| ReleaseRequestCreated | 150a | ["AccountId","BalanceOf","BlockNumberFor"] | |
| StakeRemoved | 150b | ["AccountId","AccountId","BalanceOf"] | |
| StakingRewardReceived | 150c | ["AccountId","BalanceOf"] | |
| AutoCompoundPercentageSet | 150d | ["AccountId","Percent"] | |
| AutoCompoundDisabled | 150e | ["AccountId"] | |
| CollatorRewardPercentageSet | 150f | ["Percent"] | |
| ExtraRewardSet | 1510 | ["BalanceOf"] | |
| ExtraRewardRemoved | 1511 | ["BalanceOf","Option<AccountId>"] | |
| NewMinStake | 1512 | ["BalanceOf"] | |
| SessionEnded | 1513 | ["SessionIndex","BalanceOf"] | |
| ExtraRewardPotFunded | 1514 | ["AccountId","BalanceOf"] | |
| LockExtended | 1515 | ["AccountId","BalanceOf"] | |
| CandidacyBondUpdated | 1516 | ["AccountId","BalanceOf"] |
Name | Type | |
|---|---|---|
| Invulnerables | {"origin":"PlainType","plain_type":"Vec<H160>","PlainTypeValue":471} | |
| Candidates | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["H160"],"value":"pallet_collator_staking:pallet:CandidateInfo","keys_id":0,"value_id":472}} | |
| CounterForCandidates | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| SessionRemovedCandidates | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["H160"],"value":"pallet_collator_staking:pallet:CandidateInfo","keys_id":0,"value_id":472}} | |
| LastAuthoredBlock | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["H160"],"value":"U32","keys_id":0,"value_id":4}} | |
| DesiredCandidates | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| MinCandidacyBond | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":6} | |
| MinStake | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":6} | |
| CandidateStake | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["H160","H160"],"value":"pallet_collator_staking:pallet:CandidateStakeInfo","keys_id":473,"value_id":474}} | |
| UserStake | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["H160"],"value":"pallet_collator_staking:pallet:UserStakeInfo","keys_id":0,"value_id":475}} | |
| ReleaseQueues | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["H160"],"value":"Vec<pallet_collator_staking:pallet:ReleaseRequest>","keys_id":0,"value_id":479}} | |
| CollatorRewardPercentage | {"origin":"PlainType","plain_type":"U8","PlainTypeValue":75} | |
| ExtraReward | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":6} | |
| TotalBlocks | {"origin":"PlainType","plain_type":"Tuple:U32U32","PlainTypeValue":42} | |
| ProducedBlocks | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["H160"],"value":"U32","keys_id":0,"value_id":4}} | |
| CurrentSession | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| ClaimableRewards | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":6} | |
| PerSessionRewards | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U32"],"value":"pallet_collator_staking:pallet:SessionInfo","keys_id":4,"value_id":482}} | |
| CounterForPerSessionRewards | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| AutoCompound | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["H160"],"value":"U8","keys_id":0,"value_id":75}} | |
| CandidacyBondReleases | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["H160"],"value":"pallet_collator_staking:pallet:CandidacyBondRelease","keys_id":0,"value_id":488}} |
Name | Type | Value | |
|---|---|---|---|
| PotId | [U8; 8] | 506f745374616b65 | |
| ExtraRewardPotId | [U8; 8] | 4578747261506f74 | |
| ExtraRewardReceiver | option<H160> | 016d6f646c70792f74727372790000000000000000 | |
| MaxCandidates | U32 | 0f000000 | |
| MinEligibleCollators | U32 | 02000000 | |
| MaxInvulnerables | U32 | 04000000 | |
| KickThreshold | U32 | 80700000 | |
| MaxStakedCandidates | U32 | 03000000 | |
| MaxStakers | U32 | 400d0300 | |
| BondUnlockDelay | U32 | 00000000 | |
| StakeUnlockDelay | U32 | 00000000 | |
| RestakeUnlockDelay | U32 | 40380000 | |
| MaxRewardSessions | U32 | 6d010000 | |
| AutoCompoundingThreshold | U128 | 000090ac6e3278868700000000000000 |
Name | Docs |
|---|---|
| TooManyCandidates | The pallet has too many candidates. |
| TooFewEligibleCollators | Leaving would result in too few candidates. |
| AlreadyCandidate | Account is already a candidate. |
| NotCandidate | Account is not a candidate. |
| TooManyInvulnerables | There are too many Invulnerables. |
| DuplicatedInvulnerables | At least one of the invulnerables is duplicated |
| AlreadyInvulnerable | Account is already an Invulnerable. |
| NotInvulnerable | Account is not an Invulnerable. |
| NoAssociatedCollatorId | Account has no associated validator ID. |
| CollatorNotRegistered | Collator ID is not yet registered. |
| InsufficientStake | Amount not sufficient to be staked. |
| TooManyDesiredCandidates | DesiredCandidates is out of bounds. |
| TooManyReleaseRequests | Too many unstaking requests. Claim some of them first. |
| InvalidMinStake | Invalid value for MinStake. It must be lower than or equal to `MinStake`. |
| InvalidCandidacyBond | Invalid value for CandidacyBond. It must be higher than or equal to `MinCandidacyBond`. |
| TooManyStakedCandidates | Number of staked candidates is greater than `MaxStakedCandidates`. |
| InvalidExtraReward | Extra reward cannot be zero. |
| ExtraRewardAlreadyDisabled | Extra rewards are already zero. |
| InvalidFundingAmount | The amount to fund the extra reward pot must be greater than zero. |
| TooManyStakers | Cannot add more stakers to a given candidate. |
| InsufficientFreeBalance | The user does not have enough balance to be locked for staking. |
| InsufficientLockedBalance | The user does not have enough locked balance to stake. |
| CannotUnlock | Cannot unlock such amount. |
| TooFewCandidates | User must stake at least on one candidate. |
| PreviousRewardsNotClaimed | Rewards from previous sessions have not yet been claimed. |
| NoStakeOnCandidate | User has not Staked on the given Candidate. |
| NoPendingClaim | No rewards to claim as previous claim happened on the same session. |
| NotRemovedCandidate | Candidate has not been removed in the current session. |