Kusama
subscan
Runtime Modules / NominationPools
Spec Version:
Call Functions
Events
Name
Lookup
Attributes
Created2900["AccountId","PoolId"]
Bonded2901["AccountId","PoolId","BalanceOf","bool"]
PaidOut2902["AccountId","PoolId","BalanceOf"]
Unbonded2903["AccountId","PoolId","BalanceOf"]
Withdrawn2904["AccountId","PoolId","BalanceOf"]
Destroyed2905["PoolId"]
StateChanged2906["PoolId","PoolState"]
MemberRemoved2907["PoolId","AccountId"]
RolesUpdated2908["Option<AccountId>","Option<AccountId>","Option<AccountId>"]
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":661}}
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":664}}
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":666}}
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":669}}
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":675}}
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
MinPointsToBalanceU320a000000
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.
InsufficientBondThe pool has insufficient balance to bond as a nominator.
AlreadyUnbondingThe member is already unbonding in this era.
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.
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.
NotOnlyPoolMemberThe 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.
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`]
DefensiveErrorSome error occurred that should never happen. This should be reported to themaintainers.
NotEnoughPointsToUnbondNot enough points. Ty unbonding less.
PartialUnbondNotAllowedPermissionlesslyPartial unbonding now allowed permissionlessly.