Name | Lookup | Parameters | |
---|---|---|---|
join | 1d00 | 2 | |
bond_extra | 1d01 | 1 | |
claim_payout | 1d02 | - | |
unbond | 1d03 | 2 | |
pool_withdraw_unbonded | 1d04 | 2 | |
withdraw_unbonded | 1d05 | 2 | |
create | 1d06 | 4 | |
nominate | 1d07 | 2 | |
set_state | 1d08 | 2 | |
set_metadata | 1d09 | 2 | |
set_configs | 1d0a | 5 | |
update_roles | 1d0b | 4 |
Name | Lookup | Attributes | |
---|---|---|---|
Created | 1d00 | ["AccountId","PoolId"] | |
Bonded | 1d01 | ["AccountId","PoolId","BalanceOf","bool"] | |
PaidOut | 1d02 | ["AccountId","PoolId","BalanceOf"] | |
Unbonded | 1d03 | ["AccountId","PoolId","BalanceOf"] | |
Withdrawn | 1d04 | ["AccountId","PoolId","BalanceOf"] | |
Destroyed | 1d05 | ["PoolId"] | |
StateChanged | 1d06 | ["PoolId","PoolState"] | |
MemberRemoved | 1d07 | ["PoolId","AccountId"] | |
RolesUpdated | 1d08 | ["AccountId","AccountId","AccountId"] |
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":548}} | |
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":553}} | |
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":555}} | |
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":558}} | |
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":564}} | |
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 |
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. |
InsufficientBond | The pool has insufficient balance to bond as a nominator. |
AlreadyUnbonding | The member is already unbonding in this era. |
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. |
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. |
NotOnlyPoolMember | The depositor must be the only member in the bonded pool in order to unbond. And thedepositor must be the only member in the sub pools in order to withdraw 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`] |
DefensiveError | Some error occurred that should never happen. This should be reported to themaintainers. |
NotEnoughPointsToUnbond | Not enough points. Ty unbonding less. |
PartialUnbondNotAllowedPermissionlessly | Partial unbonding now allowed permissionlessly. |