Polkadot
subscan
Runtime Modules / NominationPools
Spec Version:
Call Functions
Events
Name
Lookup
Attributes
Created2700["AccountId","PoolId"]
Bonded2701["AccountId","PoolId","BalanceOf","bool"]
PaidOut2702["AccountId","PoolId","BalanceOf"]
Unbonded2703["AccountId","PoolId","BalanceOf","BalanceOf","EraIndex"]
Withdrawn2704["AccountId","PoolId","BalanceOf","BalanceOf"]
Destroyed2705["PoolId"]
StateChanged2706["PoolId","PoolState"]
MemberRemoved2707["PoolId","AccountId"]
RolesUpdated2708["Option<AccountId>","Option<AccountId>","Option<AccountId>"]
PoolSlashed2709["PoolId","BalanceOf"]
UnbondingPoolSlashed270a["PoolId","EraIndex","BalanceOf"]
Storage Functions
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}
Constants
Name
Type
Value
PalletId[U8; 8]70792f6e6f706c73
MaxPointsToBalanceU80a
Error Types
Name
Docs
PoolNotFoundA (bonded) pool id does not exist.
PoolMemberNotFoundAn account is not a member.
RewardPoolNotFoundA reward pool does not exist. In all cases this is a system logic error.
SubPoolsNotFoundA sub pool does not exist.
AccountBelongsToOtherPoolAn account is already delegating in another pool. An account may only belong to onepool at a time.
FullyUnbondingThe member is fully unbonded (and thus cannot access the bonded and reward poolanymore to, for example, collect rewards).
MaxUnbondingLimitThe member cannot unbond further chunks due to reaching the limit.
CannotWithdrawAnyNone of the funds can be withdrawn yet because the bonding duration has not passed.
MinimumBondNotMetThe 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`.
OverflowRiskThe transaction could not be executed due to overflow risk for the pool.
NotDestroyingA pool must be in [`PoolState::Destroying`] in order for the depositor to unbond or forother members to be permissionlessly unbonded.
NotNominatorThe caller does not have nominating permissions for the pool.
NotKickerOrDestroyingEither a) the caller cannot make a valid kick or b) the pool is not destroying.
NotOpenThe pool is not open to join
MaxPoolsThe system is maxed out on pools.
MaxPoolMembersToo many members in the pool or system.
CanNotChangeStateThe pools state cannot be changed.
DoesNotHavePermissionThe caller does not have adequate permissions.
MetadataExceedsMaxLenMetadata exceeds [`Config::MaxMetadataLen`]
DefensiveSome error occurred that should never happen. This should be reported to themaintainers.
PartialUnbondNotAllowedPermissionlesslyPartial unbonding now allowed permissionlessly.