Name | Lookup | Parameters | |
|---|---|---|---|
| join | 2900 | 2 | |
| bond_extra | 2901 | 1 | |
| claim_payout | 2902 | - | |
| unbond | 2903 | 2 | |
| pool_withdraw_unbonded | 2904 | 2 | |
| withdraw_unbonded | 2905 | 2 | |
| create | 2906 | 4 | |
| create_with_pool_id | 2907 | 5 | |
| nominate | 2908 | 2 | |
| set_state | 2909 | 2 | |
| set_metadata | 290a | 2 | |
| set_configs | 290b | 6 | |
| update_roles | 290c | 4 | |
| chill | 290d | 1 | |
| bond_extra_other | 290e | 2 | |
| set_claim_permission | 290f | 1 | |
| claim_payout_other | 2910 | 1 | |
| set_commission | 2911 | 2 | |
| set_commission_max | 2912 | 2 | |
| set_commission_change_rate | 2913 | 2 | |
| claim_commission | 2914 | 1 | |
| adjust_pool_deposit | 2915 | 1 | |
| set_commission_claim_permission | 2916 | 2 | |
| apply_slash | 2917 | 1 | |
| migrate_delegation | 2918 | 1 | |
| migrate_pool_to_delegate_stake | 2919 | 1 |
Name | Lookup | Attributes | |
|---|---|---|---|
| Created | 2900 | ["AccountId","PoolId"] | |
| Bonded | 2901 | ["AccountId","PoolId","BalanceOf","bool"] | |
| PaidOut | 2902 | ["AccountId","PoolId","BalanceOf"] | |
| Unbonded | 2903 | ["AccountId","PoolId","BalanceOf","BalanceOf","EraIndex"] | |
| Withdrawn | 2904 | ["AccountId","PoolId","BalanceOf","BalanceOf"] | |
| Destroyed | 2905 | ["PoolId"] | |
| StateChanged | 2906 | ["PoolId","PoolState"] | |
| MemberRemoved | 2907 | ["PoolId","AccountId","BalanceOf"] | |
| RolesUpdated | 2908 | ["Option<AccountId>","Option<AccountId>","Option<AccountId>"] | |
| PoolSlashed | 2909 | ["PoolId","BalanceOf"] | |
| UnbondingPoolSlashed | 290a | ["PoolId","EraIndex","BalanceOf"] | |
| PoolCommissionUpdated | 290b | ["PoolId","Option<(Perbill, AccountId)>"] | |
| PoolMaxCommissionUpdated | 290c | ["PoolId","Perbill"] | |
| PoolCommissionChangeRateUpdated | 290d | ["PoolId","CommissionChangeRate<BlockNumberFor>"] | |
| PoolCommissionClaimPermissionUpdated | 290e | ["PoolId","Option<CommissionClaimPermission<AccountId>>"] | |
| PoolCommissionClaimed | 290f | ["PoolId","BalanceOf"] | |
| MinBalanceDeficitAdjusted | 2910 | ["PoolId","BalanceOf"] | |
| MinBalanceExcessAdjusted | 2911 | ["PoolId","BalanceOf"] | |
| MemberClaimPermissionUpdated | 2912 | ["AccountId","ClaimPermission"] | |
| MetadataUpdated | 2913 | ["PoolId","AccountId"] | |
| PoolNominationMade | 2914 | ["PoolId","AccountId"] | |
| PoolNominatorChilled | 2915 | ["PoolId","AccountId"] | |
| GlobalParamsUpdated | 2916 | ["BalanceOf","BalanceOf","Option<u32>","Option<u32>","Option<u32>","Option<Perbill>"] |
Name | Type | |
|---|---|---|
| TotalValueLocked | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":6} | |
| MinJoinBond | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":6} | |
| MinCreateBond | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":6} | |
| MaxPools | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| MaxPoolMembers | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| MaxPoolMembersPerPool | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| GlobalMaxCommission | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":39} | |
| PoolMembers | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"pallet_nomination_pools:PoolMember","keys_id":0,"value_id":843}} | |
| CounterForPoolMembers | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| BondedPools | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"pallet_nomination_pools:BondedPoolInner","keys_id":4,"value_id":846}} | |
| CounterForBondedPools | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| RewardPools | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"pallet_nomination_pools:RewardPool","keys_id":4,"value_id":850}} | |
| CounterForRewardPools | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| SubPoolsStorage | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"pallet_nomination_pools:SubPools","keys_id":4,"value_id":851}} | |
| CounterForSubPoolsStorage | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| Metadata | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"Vec<U8>","keys_id":4,"value_id":857}} | |
| CounterForMetadata | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| LastPoolId | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| ReversePoolIdLookup | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"U32","keys_id":0,"value_id":4}} | |
| CounterForReversePoolIdLookup | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| ClaimPermissions | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"pallet_nomination_pools:ClaimPermission","keys_id":0,"value_id":310}} |
Name | Type | Value | |
|---|---|---|---|
| PalletId | [U8; 8] | 70792f6e6f706c73 | |
| MaxPointsToBalance | U8 | 0a | |
| MaxUnbonding | U32 | 20000000 |
Name | Docs |
|---|---|
| PoolNotFound | A (bonded) pool id does not exist. |
| PoolMemberNotFound | An account is not a member. |
| RewardPoolNotFound | A reward pool does not exist. In all cases this is a system logic error. |
| SubPoolsNotFound | A sub pool does not exist. |
| AccountBelongsToOtherPool | An account is already delegating in another pool. An account may only belong to onepool at a time. |
| FullyUnbonding | The member is fully unbonded (and thus cannot access the bonded and reward poolanymore to, for example, collect rewards). |
| MaxUnbondingLimit | The member cannot unbond further chunks due to reaching the limit. |
| CannotWithdrawAny | None of the funds can be withdrawn yet because the bonding duration has not passed. |
| MinimumBondNotMet | The amount does not meet the minimum bond to either join or create a pool.The depositor can never unbond to a value less than `Pallet::depositor_min_bond`. Thecaller does not have nominating permissions for the pool. Members can never unbond to avalue below `MinJoinBond`. |
| OverflowRisk | The transaction could not be executed due to overflow risk for the pool. |
| NotDestroying | A pool must be in [`PoolState::Destroying`] in order for the depositor to unbond or forother members to be permissionlessly unbonded. |
| NotNominator | The caller does not have nominating permissions for the pool. |
| NotKickerOrDestroying | Either a) the caller cannot make a valid kick or b) the pool is not destroying. |
| NotOpen | The pool is not open to join |
| MaxPools | The system is maxed out on pools. |
| MaxPoolMembers | Too many members in the pool or system. |
| CanNotChangeState | The pools state cannot be changed. |
| DoesNotHavePermission | The caller does not have adequate permissions. |
| MetadataExceedsMaxLen | Metadata exceeds [`Config::MaxMetadataLen`] |
| Defensive | Some error occurred that should never happen. This should be reported to themaintainers. |
| PartialUnbondNotAllowedPermissionlessly | Partial unbonding now allowed permissionlessly. |
| MaxCommissionRestricted | The pool's max commission cannot be set higher than the existing value. |
| CommissionExceedsMaximum | The supplied commission exceeds the max allowed commission. |
| CommissionExceedsGlobalMaximum | The supplied commission exceeds global maximum commission. |
| CommissionChangeThrottled | Not enough blocks have surpassed since the last commission update. |
| CommissionChangeRateNotAllowed | The submitted changes to commission change rate are not allowed. |
| NoPendingCommission | There is no pending commission to claim. |
| NoCommissionCurrentSet | No commission current has been set. |
| PoolIdInUse | Pool id currently in use. |
| InvalidPoolId | Pool id provided is not correct/usable. |
| BondExtraRestricted | Bonding extra is restricted to the exact pending reward amount. |
| NothingToAdjust | No imbalance in the ED deposit for the pool. |
| NothingToSlash | No slash pending that can be applied to the member. |
| SlashTooLow | The slash amount is too low to be applied. |
| AlreadyMigrated | The pool or member delegation has already migrated to delegate stake. |
| NotMigrated | The pool or member delegation has not migrated yet to delegate stake. |
| NotSupported | This call is not allowed in the current state of the pallet. |
| Restricted | Account is restricted from participation in pools. This may happen if the account isstaking in another way already. |