Name | Lookup | Parameters | |
|---|---|---|---|
| join | 2700 | 2 | |
| bond_extra | 2701 | 1 | |
| claim_payout | 2702 | - | |
| unbond | 2703 | 2 | |
| pool_withdraw_unbonded | 2704 | 2 | |
| withdraw_unbonded | 2705 | 2 | |
| create | 2706 | 4 | |
| nominate | 2707 | 2 | |
| set_state | 2708 | 2 | |
| set_metadata | 2709 | 2 | |
| set_configs | 270a | 5 | |
| update_roles | 270b | 4 | |
| chill | 270c | 1 |
Name | Lookup | Attributes | |
|---|---|---|---|
| Created | 2700 | ["AccountId","PoolId"] | |
| Bonded | 2701 | ["AccountId","PoolId","BalanceOf","bool"] | |
| PaidOut | 2702 | ["AccountId","PoolId","BalanceOf"] | |
| Unbonded | 2703 | ["AccountId","PoolId","BalanceOf","BalanceOf","EraIndex"] | |
| Withdrawn | 2704 | ["AccountId","PoolId","BalanceOf","BalanceOf"] | |
| Destroyed | 2705 | ["PoolId"] | |
| StateChanged | 2706 | ["PoolId","PoolState"] | |
| MemberRemoved | 2707 | ["PoolId","AccountId"] | |
| RolesUpdated | 2708 | ["Option<AccountId>","Option<AccountId>","Option<AccountId>"] | |
| PoolSlashed | 2709 | ["PoolId","BalanceOf"] | |
| UnbondingPoolSlashed | 270a | ["PoolId","EraIndex","BalanceOf"] |
Name | Type | |
|---|---|---|
| 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} | |
| PoolMembers | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"pallet_nomination_pools:PoolMember","keys_id":0,"value_id":616}} | |
| 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":621}} | |
| 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":623}} | |
| 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":624}} | |
| 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":630}} | |
| 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} |
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`. The caller does not have nominatingpermissions for the pool. Members can never unbond to a value 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. |