Name | Lookup | Parameters | |
|---|---|---|---|
| join | 2400 | 2 | |
| bond_extra | 2401 | 1 | |
| claim_payout | 2402 | - | |
| unbond | 2403 | 2 | |
| pool_withdraw_unbonded | 2404 | 2 | |
| withdraw_unbonded | 2405 | 2 | |
| create | 2406 | 4 | |
| create_with_pool_id | 2407 | 5 | |
| nominate | 2408 | 2 | |
| set_state | 2409 | 2 | |
| set_metadata | 240a | 2 | |
| set_configs | 240b | 6 | |
| update_roles | 240c | 4 | |
| chill | 240d | 1 | |
| bond_extra_other | 240e | 2 | |
| set_claim_permission | 240f | 1 | |
| claim_payout_other | 2410 | 1 | |
| set_commission | 2411 | 2 | |
| set_commission_max | 2412 | 2 | |
| set_commission_change_rate | 2413 | 2 | |
| claim_commission | 2414 | 1 | |
| adjust_pool_deposit | 2415 | 1 | |
| set_commission_claim_permission | 2416 | 2 |
Name | Lookup | Attributes | |
|---|---|---|---|
| Created | 2400 | ["AccountId","PoolId"] | |
| Bonded | 2401 | ["AccountId","PoolId","BalanceOf","bool"] | |
| PaidOut | 2402 | ["AccountId","PoolId","BalanceOf"] | |
| Unbonded | 2403 | ["AccountId","PoolId","BalanceOf","BalanceOf","EraIndex"] | |
| Withdrawn | 2404 | ["AccountId","PoolId","BalanceOf","BalanceOf"] | |
| Destroyed | 2405 | ["PoolId"] | |
| StateChanged | 2406 | ["PoolId","PoolState"] | |
| MemberRemoved | 2407 | ["PoolId","AccountId"] | |
| RolesUpdated | 2408 | ["Option<AccountId>","Option<AccountId>","Option<AccountId>"] | |
| PoolSlashed | 2409 | ["PoolId","BalanceOf"] | |
| UnbondingPoolSlashed | 240a | ["PoolId","EraIndex","BalanceOf"] | |
| PoolCommissionUpdated | 240b | ["PoolId","Option<(Perbill, AccountId)>"] | |
| PoolMaxCommissionUpdated | 240c | ["PoolId","Perbill"] | |
| PoolCommissionChangeRateUpdated | 240d | ["PoolId","CommissionChangeRate<BlockNumberFor>"] | |
| PoolCommissionClaimPermissionUpdated | 240e | ["PoolId","Option<CommissionClaimPermission<AccountId>>"] | |
| PoolCommissionClaimed | 240f | ["PoolId","BalanceOf"] | |
| MinBalanceDeficitAdjusted | 2410 | ["PoolId","BalanceOf"] | |
| MinBalanceExcessAdjusted | 2411 | ["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":59} | |
| PoolMembers | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"pallet_nomination_pools:PoolMember","keys_id":0,"value_id":466}} | |
| 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":471}} | |
| 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":476}} | |
| 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":477}} | |
| 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":117}} | |
| 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":272}} |
Name | Type | Value | |
|---|---|---|---|
| PalletId | [U8; 8] | 70792f6e6f706c73 | |
| MaxPointsToBalance | U8 | 0a | |
| MaxUnbonding | U32 | 08000000 |
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. |