Polkadot
subscan
Runtime Modules / NominationPools
Spec Version:
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"]
PoolCommissionUpdated270b["PoolId","Option<(Perbill, AccountId)>"]
PoolMaxCommissionUpdated270c["PoolId","Perbill"]
PoolCommissionChangeRateUpdated270d["PoolId","CommissionChangeRate<BlockNumberFor>"]
PoolCommissionClaimed270e["PoolId","BalanceOf"]
MinBalanceDeficitAdjusted270f["PoolId","BalanceOf"]
MinBalanceExcessAdjusted2710["PoolId","BalanceOf"]
Storage Functions
Name
Type
TotalValueLocked{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
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}
GlobalMaxCommission{"origin":"PlainType","plain_type":"U32","PlainTypeValue":42}
PoolMembers{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"pallet_nomination_pools:PoolMember","keys_id":0,"value_id":663}}
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":666}}
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":671}}
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":672}}
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":678}}
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}
ClaimPermissions{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"pallet_nomination_pools:ClaimPermission","keys_id":0,"value_id":293}}
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`. Thecaller does not have nominating permissions for the pool. Members can never unbond to avalue 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.
MaxCommissionRestrictedThe pool's max commission cannot be set higher than the existing value.
CommissionExceedsMaximumThe supplied commission exceeds the max allowed commission.
CommissionExceedsGlobalMaximumThe supplied commission exceeds global maximum commission.
CommissionChangeThrottledNot enough blocks have surpassed since the last commission update.
CommissionChangeRateNotAllowedThe submitted changes to commission change rate are not allowed.
NoPendingCommissionThere is no pending commission to claim.
NoCommissionCurrentSetNo commission current has been set.
PoolIdInUsePool id currently in use.
InvalidPoolIdPool id provided is not correct/usable.
BondExtraRestrictedBonding extra is restricted to the exact pending reward amount.
NothingToAdjustNo imbalance in the ED deposit for the pool.