Name | Lookup | Parameters | |
---|---|---|---|
join | 1200 | 3 | |
bond_extra | 1201 | 2 | |
unbond | 1203 | 3 | |
pool_withdraw_unbonded | 1204 | 2 | |
withdraw_unbonded | 1205 | 3 | |
create | 1206 | 6 | |
nominate | 1208 | 2 | |
set_configs | 120b | 3 | |
update_roles | 120c | 3 | |
chill | 120d | 1 | |
destroy | 120e | 1 | |
set_commission | 120f | 2 | |
set_commission_max | 1210 | 2 | |
set_commission_change_rate | 1211 | 2 | |
payout_rewards | 1212 | 2 | |
mutate_pool | 1213 | 2 | |
unbond_deposit | 1214 | 1 | |
withdraw_deposit | 1215 | 1 |
Name | Lookup | Attributes | |
---|---|---|---|
Created | 1200 | ["AccountId","PoolId","BalanceOf"] | |
Bonded | 1201 | ["AccountId","PoolId","BalanceOf","bool"] | |
PaidOut | 1202 | ["AccountId","PoolId","BalanceOf"] | |
Unbonded | 1203 | ["AccountId","PoolId","BalanceOf","BalanceOf","EraIndex"] | |
Withdrawn | 1204 | ["AccountId","PoolId","BalanceOf","BalanceOf"] | |
Destroyed | 1205 | ["PoolId"] | |
StateChanged | 1206 | ["PoolId","PoolState"] | |
RolesUpdated | 1207 | ["Option<AccountId>","Option<AccountId>"] | |
PoolSlashed | 1208 | ["PoolId","BalanceOf"] | |
UnbondingPoolSlashed | 1209 | ["PoolId","EraIndex","BalanceOf"] | |
CommissionUpdated | 120a | ["PoolId","Option<Perbill>"] | |
MaxCommissionUpdated | 120b | ["PoolId","Perbill"] | |
CommissionChangeRateUpdated | 120c | ["PoolId","CommissionChangeRate<BlockNumber>"] | |
CommissionPaid | 120d | ["PoolId","AccountId","BalanceOf"] | |
BonusReceived | 120e | ["PoolId","BalanceOf"] | |
RewardReinvested | 120f | ["PoolId","BalanceOf"] | |
PoolMutated | 1210 | ["PoolId","PoolMutation"] |
Name | Type | |
---|---|---|
MinJoinBond | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":6} | |
MinCreateBond | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":6} | |
PoolMembers | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U32","AccountId"],"value":"Vec<Tuple:U32U128>","keys_id":567,"value_id":609}} | |
BondedPools | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"pallet_nomination_pools:types:BondedPoolInner","keys_id":4,"value_id":614}} | |
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":619}} | |
CounterForSubPoolsStorage | {"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} | |
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":41} |
Name | Type | Value | |
---|---|---|---|
PalletId | [U8; 8] | 70792f6e6f706c73 | |
MaxPointsToBalance | U8 | 0a | |
PostUnbondingPoolsWindow | U32 | 04000000 | |
MaxUnbonding | U32 | 08000000 | |
MinDuration | U32 | 1e000000 | |
MaxDuration | U32 | e8030000 | |
PoolCollectionId | U128 | 02000000000000000000000000000000 | |
StakedEnjCollectionId | U128 | 01000000000000000000000000000000 | |
StakedEnjCollectionOwner | AccountId | 6d6f646c70792f6e6f706c730000000000000000000000000000000000000000 | |
BonusPercentage | U32 | 00c2eb0b | |
OrphanedPoolAccountId | AccountId | 6d6f646c70792f74727372790000000000000000000000000000000000000000 |
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 |
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 doesnt change anything |