Name | Lookup | Parameters | |
|---|---|---|---|
| join | 1f00 | 2 | |
| bond_extra | 1f01 | 1 | |
| claim_payout | 1f02 | - | |
| unbond | 1f03 | 2 | |
| pool_withdraw_unbonded | 1f04 | 2 | |
| withdraw_unbonded | 1f05 | 2 | |
| create | 1f06 | 4 | |
| create_with_pool_id | 1f07 | 5 | |
| nominate | 1f08 | 2 | |
| set_state | 1f09 | 2 | |
| set_metadata | 1f0a | 2 | |
| set_configs | 1f0b | 6 | |
| update_roles | 1f0c | 4 | |
| chill | 1f0d | 1 | |
| bond_extra_other | 1f0e | 2 | |
| set_claim_permission | 1f0f | 1 | |
| claim_payout_other | 1f10 | 1 | |
| set_commission | 1f11 | 2 | |
| set_commission_max | 1f12 | 2 | |
| set_commission_change_rate | 1f13 | 2 | |
| claim_commission | 1f14 | 1 | |
| adjust_pool_deposit | 1f15 | 1 |
Name | Lookup | Attributes | |
|---|---|---|---|
| Created | 1f00 | ["AccountId","PoolId"] | |
| Bonded | 1f01 | ["AccountId","PoolId","BalanceOf","bool"] | |
| PaidOut | 1f02 | ["AccountId","PoolId","BalanceOf"] | |
| Unbonded | 1f03 | ["AccountId","PoolId","BalanceOf","BalanceOf","EraIndex"] | |
| Withdrawn | 1f04 | ["AccountId","PoolId","BalanceOf","BalanceOf"] | |
| Destroyed | 1f05 | ["PoolId"] | |
| StateChanged | 1f06 | ["PoolId","PoolState"] | |
| MemberRemoved | 1f07 | ["PoolId","AccountId"] | |
| RolesUpdated | 1f08 | ["Option<AccountId>","Option<AccountId>","Option<AccountId>"] | |
| PoolSlashed | 1f09 | ["PoolId","BalanceOf"] | |
| UnbondingPoolSlashed | 1f0a | ["PoolId","EraIndex","BalanceOf"] | |
| PoolCommissionUpdated | 1f0b | ["PoolId","Option<(Perbill, AccountId)>"] | |
| PoolMaxCommissionUpdated | 1f0c | ["PoolId","Perbill"] | |
| PoolCommissionChangeRateUpdated | 1f0d | ["PoolId","CommissionChangeRate<BlockNumberFor>"] | |
| PoolCommissionClaimed | 1f0e | ["PoolId","BalanceOf"] | |
| MinBalanceDeficitAdjusted | 1f0f | ["PoolId","BalanceOf"] | |
| MinBalanceExcessAdjusted | 1f10 | ["PoolId","BalanceOf"] |
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":51} | |
| PoolMembers | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"pallet_nomination_pools:PoolMember","keys_id":0,"value_id":539}} | |
| 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":542}} | |
| 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":547}} | |
| 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":548}} | |
| 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":554}} | |
| 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":256}} |
Name | Type | Value | |
|---|---|---|---|
| PalletId | [U8; 8] | 70792f6e6f706c73 | |
| MaxPointsToBalance | U8 | 0a |
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. |