Name | Lookup | Parameters | |
|---|---|---|---|
| bond | 1200 | 2 | |
| unbond | 1203 | 3 | |
| pool_withdraw_unbonded | 1204 | 2 | |
| withdraw_unbonded | 1205 | 3 | |
| create | 1206 | 5 | |
| nominate | 1208 | 2 | |
| set_configs | 120b | 4 | |
| chill | 120d | 1 | |
| destroy | 120e | 1 | |
| payout_rewards | 1212 | 2 | |
| process_payouts | 1219 | 1 | |
| mutate | 1213 | 2 | |
| unbond_deposit | 1214 | 1 | |
| withdraw_deposit | 1215 | 1 | |
| withdraw_free_balance | 121a | 3 | |
| set_staking_info | 1216 | 1 | |
| remove_early_bird_shares | 1217 | 1 |
Name | Lookup | Attributes | |
|---|---|---|---|
| Created | 1200 | ["AccountId","PoolId","BalanceOf"] | |
| Bonded | 1201 | ["AccountId","PoolId","BalanceOf"] | |
| Unbonded | 1202 | ["AccountId","PoolId","BalanceOf","BalanceOf","EraIndex"] | |
| Withdrawn | 1203 | ["AccountId","PoolId","BalanceOf","BalanceOf"] | |
| Destroyed | 1204 | ["PoolId"] | |
| StateChanged | 1205 | ["PoolId","PoolState"] | |
| PoolSlashed | 1206 | ["PoolId","BalanceOf"] | |
| UnbondingPoolSlashed | 1207 | ["PoolId","EraIndex","BalanceOf"] | |
| CommissionUpdated | 1208 | ["PoolId","Option<Perbill>"] | |
| EraRewardsProcessed | 1209 | ["PoolId","EraIndex","Option<CommissionPaymentOf>","BalanceOf","BalanceOf","bool"] | |
| RewardPaid | 120a | ["PoolId","EraIndex","AccountId","BalanceOf","BalanceOf"] | |
| PoolMutated | 120b | ["PoolId","PoolMutationOf"] | |
| Nominated | 120c | ["PoolId","Vec<AccountId>"] | |
| EarlyBirdSharesRemoved | 120d | ["u32"] |
Name | Type | |
|---|---|---|
| MinJoinBond | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":6} | |
| MinCreateBond | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":6} | |
| UnbondingMembers | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U32","AccountId"],"value":"Vec<Tuple:U32U128>","keys_id":817,"value_id":859}} | |
| BondedPools | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"pallet_nomination_pools:types:BondedPoolInner","keys_id":4,"value_id":864}} | |
| CounterForBondedPools | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| SubPoolsStorage | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"pallet_nomination_pools:types:SubPools","keys_id":4,"value_id":867}} | |
| CounterForSubPoolsStorage | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| NextPoolId | {"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} | |
| UsedPoolTokenIds | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U128"],"value":"U32","keys_id":6,"value_id":4}} | |
| GlobalMaxCommission | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":43} | |
| StakingInformation | {"origin":"PlainType","plain_type":"pallet_nomination_pools:types:StakingInfo","PlainTypeValue":456} | |
| EraPayoutInfo | {"origin":"PlainType","plain_type":"pallet_nomination_pools:types:EraPayout","PlainTypeValue":873} |
Name | Type | Value | |
|---|---|---|---|
| PalletId | [U8; 8] | 70792f6e6f706c73 | |
| CollatorRewardPool | [U8; 8] | 70792f636f6c7270 | |
| MaxPointsToBalance | U8 | 0a | |
| PostUnbondingPoolsWindow | U32 | 04000000 | |
| MaxUnbonding | U32 | 20000000 | |
| MinDuration | U32 | 1e000000 | |
| MaxDuration | U32 | e8030000 | |
| PoolCollectionId | U128 | 02000000000000000000000000000000 | |
| StakedEnjCollectionId | U128 | 01000000000000000000000000000000 | |
| StakedEnjCollectionOwner | AccountId | 6d6f646c70792f6e6f706c730000000000000000000000000000000000000000 | |
| BonusPercentage | U32 | 00c2eb0b | |
| BaseBonusRewardPercentage | U32 | 80b2e60e | |
| UnclaimedBalanceReceiver | AccountId | 6d6f646c70792f74727372790000000000000000000000000000000000000000 | |
| CapacityMutationPeriod | U32 | 0e000000 | |
| GlobalMaxCapacity | U128 | 000000949002282c2a8b100000000000 | |
| DefaultMaxCapacity | U128 | 000080d07666e70de169000000000000 | |
| AttributeKeyMaxLength | U32 | 00010000 | |
| AttributeValueMaxLength | U32 | 00040000 | |
| MaxCapacityAttributeKey | Vec<U8> | 446d61785f706f6f6c5f6361706163697479 | |
| MaxPoolNameLength | U32 | 00010000 |
Name | Docs |
|---|---|
| PoolNotFound | A (bonded) pool id does not exist. |
| PoolTokenAlreadyInUse | Pool already exists for the given token_id |
| 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.If the chain is not being destroyed no member can 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 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 |
| CanNotChangeState | The pools state cannot be changed. |
| DoesNotHavePermission | The caller does not have adequate permissions. |
| Defensive | Some error occurred that should never happen. This should be reported to themaintainers. |
| PartialUnbondNotAllowedPermissionlessly | Partial unbonding now allowed permissionlessly. |
| PoolIdInUse | Pool id currently in use. |
| InvalidPoolId | Pool id provided is not correct/usable. |
| MintParamsCreationFailed | Mint parameters are invalid. |
| BurnParamsCreationFailed | Burn parameters are invalid. |
| TransferParamsCreationFailed | Transfer parameters are invalid. |
| CapacityExceeded | The capacity of the pool is exceeded by the amount |
| CapacityMutationRestricted | The capacity can only be mutated for the first 14 eras of a cycle |
| DurationOutOfBounds | The duration is out of bounds |
| TokenRequired | The required token is not owned by the caller |
| DepositNotReadyForUnbonding | Deposit should be the last supply of pool's sENJ token to be unbonded |
| MaxCommissionRestricted | The pool's max commission cannot be set higher than the existing value. |
| CommissionExceedsMaximum | The supplied commission exceeds the max allowed 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. |
| NoopMutation | The mutation does not change anything |
| PoolMembersRemaining | The pool is not empty |
| MissingPayouts | Not all payouts have been made |
| WrongPoolCount | The pool count does not match the number of pools |
| PayoutsAlreadyProcessed | Payouts were already processed for this era |
| AttributeKeyExceedsLength | Attribute key exceeds max length |
| AttributeValueDecodeFailed | Unable to decode the attribute value |
| AttributeCapacityExceedsGlobalCapacity | Attribute capacity exceeds the global max capacity |
| BoundExceeded | A bounded value was exceeded |
| WrongAccountCount | Wrong account count |