@polkadot/api-augment 10.1.4 → 10.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@ import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
3
3
  import type { Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
4
4
  import type { Codec, ITuple } from '@polkadot/types-codec/types';
5
5
  import type { Perbill, Percent, Permill, Perquintill } from '@polkadot/types/interfaces/runtime';
6
- import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletContractsSchedule, PalletReferendaTrackInfo, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
6
+ import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, KitchensinkRuntimeHoldReason, PalletContractsSchedule, PalletReferendaTrackInfo, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
7
7
  export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
8
8
  declare module '@polkadot/api-base/types/consts' {
9
9
  interface AugmentedConsts<ApiType extends ApiTypes> {
@@ -97,9 +97,24 @@ declare module '@polkadot/api-base/types/consts' {
97
97
  };
98
98
  balances: {
99
99
  /**
100
- * The minimum amount required to keep an account open.
100
+ * The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!
101
+ *
102
+ * If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for
103
+ * this pallet. However, you do so at your own risk: this will open up a major DoS vector.
104
+ * In case you have multiple sources of provider references, you may also get unexpected
105
+ * behaviour if you set this to zero.
106
+ *
107
+ * Bottom line: Do yourself a favour and make it at least one!
101
108
  **/
102
109
  existentialDeposit: u128 & AugmentedConst<ApiType>;
110
+ /**
111
+ * The maximum number of individual freeze locks that can exist on an account at any time.
112
+ **/
113
+ maxFreezes: u32 & AugmentedConst<ApiType>;
114
+ /**
115
+ * The maximum number of holds that can exist on an account at any time.
116
+ **/
117
+ maxHolds: u32 & AugmentedConst<ApiType>;
103
118
  /**
104
119
  * The maximum number of locks that should exist on an account.
105
120
  * Not strictly enforced, but used for weight estimation.
@@ -176,33 +191,6 @@ declare module '@polkadot/api-base/types/consts' {
176
191
  [key: string]: Codec;
177
192
  };
178
193
  contracts: {
179
- /**
180
- * The maximum number of contracts that can be pending for deletion.
181
- *
182
- * When a contract is deleted by calling `seal_terminate` it becomes inaccessible
183
- * immediately, but the deletion of the storage items it has accumulated is performed
184
- * later. The contract is put into the deletion queue. This defines how many
185
- * contracts can be queued up at the same time. If that limit is reached `seal_terminate`
186
- * will fail. The action must be retried in a later block in that case.
187
- *
188
- * The reasons for limiting the queue depth are:
189
- *
190
- * 1. The queue is in storage in order to be persistent between blocks. We want to limit
191
- * the amount of storage that can be consumed.
192
- * 2. The queue is stored in a vector and needs to be decoded as a whole when reading
193
- * it at the end of each block. Longer queues take more weight to decode and hence
194
- * limit the amount of items that can be deleted per block.
195
- **/
196
- deletionQueueDepth: u32 & AugmentedConst<ApiType>;
197
- /**
198
- * The maximum amount of weight that can be consumed per block for lazy trie removal.
199
- *
200
- * The amount of weight that is dedicated per block to work on the deletion queue. Larger
201
- * values allow more trie keys to be deleted in each block but reduce the amount of
202
- * weight that is left for transactions. See [`Self::DeletionQueueDepth`] for more
203
- * information about the deletion queue.
204
- **/
205
- deletionWeightLimit: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
206
194
  /**
207
195
  * The amount of balance a caller has to pay for each byte of storage.
208
196
  *
@@ -278,6 +266,16 @@ declare module '@polkadot/api-base/types/consts' {
278
266
  **/
279
267
  [key: string]: Codec;
280
268
  };
269
+ coreFellowship: {
270
+ /**
271
+ * The maximum size in bytes submitted evidence is allowed to be.
272
+ **/
273
+ evidenceSize: u32 & AugmentedConst<ApiType>;
274
+ /**
275
+ * Generic const
276
+ **/
277
+ [key: string]: Codec;
278
+ };
281
279
  democracy: {
282
280
  /**
283
281
  * Period in blocks where an external proposal may not be re-submitted after being vetoed.
@@ -375,6 +373,7 @@ declare module '@polkadot/api-base/types/consts' {
375
373
  minerMaxLength: u32 & AugmentedConst<ApiType>;
376
374
  minerMaxVotesPerVoter: u32 & AugmentedConst<ApiType>;
377
375
  minerMaxWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
376
+ minerMaxWinners: u32 & AugmentedConst<ApiType>;
378
377
  /**
379
378
  * The priority of the unsigned transaction submitted in the unsigned-phase
380
379
  **/
@@ -736,6 +735,10 @@ declare module '@polkadot/api-base/types/consts' {
736
735
  * Must be no greater than `MaxQueueLen`.
737
736
  **/
738
737
  fifoQueueLen: u32 & AugmentedConst<ApiType>;
738
+ /**
739
+ * The identifier of the hold reason.
740
+ **/
741
+ holdReason: KitchensinkRuntimeHoldReason & AugmentedConst<ApiType>;
739
742
  /**
740
743
  * The number of blocks between consecutive attempts to dequeue bids and create receipts.
741
744
  *
@@ -778,10 +781,6 @@ declare module '@polkadot/api-base/types/consts' {
778
781
  * this value multiplied by `Period`.
779
782
  **/
780
783
  queueCount: u32 & AugmentedConst<ApiType>;
781
- /**
782
- * The name for the reserve ID.
783
- **/
784
- reserveId: U8aFixed & AugmentedConst<ApiType>;
785
784
  /**
786
785
  * The maximum proportion which may be thawed and the period over which it is reset.
787
786
  **/
@@ -173,6 +173,10 @@ declare module '@polkadot/api-base/types/errors' {
173
173
  * Account balance must be greater than or equal to the transfer amount.
174
174
  **/
175
175
  BalanceLow: AugmentedError<ApiType>;
176
+ /**
177
+ * Callback action resulted in error
178
+ **/
179
+ CallbackFailed: AugmentedError<ApiType>;
176
180
  /**
177
181
  * The origin account is frozen.
178
182
  **/
@@ -206,12 +210,6 @@ declare module '@polkadot/api-base/types/errors' {
206
210
  * The signing account has no permission to do the operation.
207
211
  **/
208
212
  NoPermission: AugmentedError<ApiType>;
209
- /**
210
- * Unable to increment the consumer reference counters on the account. Either no provider
211
- * reference exists to allow a non-zero balance of a non-self-sufficient asset, or the
212
- * maximum number of consumers has been reached.
213
- **/
214
- NoProvider: AugmentedError<ApiType>;
215
213
  /**
216
214
  * The asset should be frozen before the given operation.
217
215
  **/
@@ -220,6 +218,12 @@ declare module '@polkadot/api-base/types/errors' {
220
218
  * No approval exists that would allow the transfer.
221
219
  **/
222
220
  Unapproved: AugmentedError<ApiType>;
221
+ /**
222
+ * Unable to increment the consumer reference counters on the account. Either no provider
223
+ * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
224
+ * fewer then the maximum number of consumers has been reached.
225
+ **/
226
+ UnavailableConsumer: AugmentedError<ApiType>;
223
227
  /**
224
228
  * The given asset ID is unknown.
225
229
  **/
@@ -261,35 +265,43 @@ declare module '@polkadot/api-base/types/errors' {
261
265
  };
262
266
  balances: {
263
267
  /**
264
- * Beneficiary account must pre-exist
268
+ * Beneficiary account must pre-exist.
265
269
  **/
266
270
  DeadAccount: AugmentedError<ApiType>;
267
271
  /**
268
- * Value too low to create account due to existential deposit
272
+ * Value too low to create account due to existential deposit.
269
273
  **/
270
274
  ExistentialDeposit: AugmentedError<ApiType>;
271
275
  /**
272
- * A vesting schedule already exists for this account
276
+ * A vesting schedule already exists for this account.
273
277
  **/
274
278
  ExistingVestingSchedule: AugmentedError<ApiType>;
279
+ /**
280
+ * Transfer/payment would kill account.
281
+ **/
282
+ Expendability: AugmentedError<ApiType>;
275
283
  /**
276
284
  * Balance too low to send value.
277
285
  **/
278
286
  InsufficientBalance: AugmentedError<ApiType>;
279
287
  /**
280
- * Transfer/payment would kill account
288
+ * Account liquidity restrictions prevent withdrawal.
281
289
  **/
282
- KeepAlive: AugmentedError<ApiType>;
290
+ LiquidityRestrictions: AugmentedError<ApiType>;
283
291
  /**
284
- * Account liquidity restrictions prevent withdrawal
292
+ * Number of freezes exceed `MaxFreezes`.
285
293
  **/
286
- LiquidityRestrictions: AugmentedError<ApiType>;
294
+ TooManyFreezes: AugmentedError<ApiType>;
287
295
  /**
288
- * Number of named reserves exceed MaxReserves
296
+ * Number of holds exceed `MaxHolds`.
297
+ **/
298
+ TooManyHolds: AugmentedError<ApiType>;
299
+ /**
300
+ * Number of named reserves exceed `MaxReserves`.
289
301
  **/
290
302
  TooManyReserves: AugmentedError<ApiType>;
291
303
  /**
292
- * Vesting balance too high to send value
304
+ * Vesting balance too high to send value.
293
305
  **/
294
306
  VestingBalance: AugmentedError<ApiType>;
295
307
  /**
@@ -379,7 +391,7 @@ declare module '@polkadot/api-base/types/errors' {
379
391
  * The contract's code was found to be invalid during validation or instrumentation.
380
392
  *
381
393
  * The most likely cause of this is that an API was used which is not supported by the
382
- * node. This hapens if an older node is used with a new version of ink!. Try updating
394
+ * node. This happens if an older node is used with a new version of ink!. Try updating
383
395
  * your node to the newest available version.
384
396
  *
385
397
  * A more detailed error can be found on the node console if debug messages are enabled
@@ -410,14 +422,6 @@ declare module '@polkadot/api-base/types/errors' {
410
422
  * Input passed to a contract API function failed to decode as expected type.
411
423
  **/
412
424
  DecodingFailed: AugmentedError<ApiType>;
413
- /**
414
- * Removal of a contract failed because the deletion queue is full.
415
- *
416
- * This can happen when calling `seal_terminate`.
417
- * The queue is filled by deleting contracts and emptied by a fixed amount each block.
418
- * Trying again during another block is the only way to resolve this issue.
419
- **/
420
- DeletionQueueFull: AugmentedError<ApiType>;
421
425
  /**
422
426
  * A contract with the same AccountId already exists.
423
427
  **/
@@ -564,6 +568,50 @@ declare module '@polkadot/api-base/types/errors' {
564
568
  **/
565
569
  [key: string]: AugmentedError<ApiType>;
566
570
  };
571
+ coreFellowship: {
572
+ /**
573
+ * The candidate has already been inducted. This should never happen since it would
574
+ * require a candidate (rank 0) to already be tracked in the pallet.
575
+ **/
576
+ AlreadyInducted: AugmentedError<ApiType>;
577
+ /**
578
+ * The given rank is invalid - this generally means it's not between 1 and `RANK_COUNT`.
579
+ **/
580
+ InvalidRank: AugmentedError<ApiType>;
581
+ /**
582
+ * The origin does not have enough permission to do this operation.
583
+ **/
584
+ NoPermission: AugmentedError<ApiType>;
585
+ /**
586
+ * No work needs to be done at present for this member.
587
+ **/
588
+ NothingDoing: AugmentedError<ApiType>;
589
+ /**
590
+ * The candidate has not been inducted, so cannot be offboarded from this pallet.
591
+ **/
592
+ NotTracked: AugmentedError<ApiType>;
593
+ /**
594
+ * Member's rank is not zero.
595
+ **/
596
+ Ranked: AugmentedError<ApiType>;
597
+ /**
598
+ * Operation cannot be done yet since not enough time has passed.
599
+ **/
600
+ TooSoon: AugmentedError<ApiType>;
601
+ /**
602
+ * Member's rank is not as expected - generally means that the rank provided to the call
603
+ * does not agree with the state of the system.
604
+ **/
605
+ UnexpectedRank: AugmentedError<ApiType>;
606
+ /**
607
+ * Member's rank is too low.
608
+ **/
609
+ Unranked: AugmentedError<ApiType>;
610
+ /**
611
+ * Generic error
612
+ **/
613
+ [key: string]: AugmentedError<ApiType>;
614
+ };
567
615
  council: {
568
616
  /**
569
617
  * Members are already initialized!
@@ -1210,6 +1258,10 @@ declare module '@polkadot/api-base/types/errors' {
1210
1258
  * Collection ID is already taken.
1211
1259
  **/
1212
1260
  CollectionIdInUse: AugmentedError<ApiType>;
1261
+ /**
1262
+ * Can't delete non-empty collections.
1263
+ **/
1264
+ CollectionNotEmpty: AugmentedError<ApiType>;
1213
1265
  /**
1214
1266
  * The deadline has already expired.
1215
1267
  **/
@@ -1405,6 +1457,9 @@ declare module '@polkadot/api-base/types/errors' {
1405
1457
  * The portion supplied is beyond the value of the receipt.
1406
1458
  **/
1407
1459
  PortionTooBig: AugmentedError<ApiType>;
1460
+ Release1: AugmentedError<ApiType>;
1461
+ Release2: AugmentedError<ApiType>;
1462
+ Tah: AugmentedError<ApiType>;
1408
1463
  /**
1409
1464
  * The thaw throttle has been reached for this period.
1410
1465
  **/
@@ -1444,6 +1499,18 @@ declare module '@polkadot/api-base/types/errors' {
1444
1499
  * None of the funds can be withdrawn yet because the bonding duration has not passed.
1445
1500
  **/
1446
1501
  CannotWithdrawAny: AugmentedError<ApiType>;
1502
+ /**
1503
+ * The submitted changes to commission change rate are not allowed.
1504
+ **/
1505
+ CommissionChangeRateNotAllowed: AugmentedError<ApiType>;
1506
+ /**
1507
+ * Not enough blocks have surpassed since the last commission update.
1508
+ **/
1509
+ CommissionChangeThrottled: AugmentedError<ApiType>;
1510
+ /**
1511
+ * The supplied commission exceeds the max allowed commission.
1512
+ **/
1513
+ CommissionExceedsMaximum: AugmentedError<ApiType>;
1447
1514
  /**
1448
1515
  * Some error occurred that should never happen. This should be reported to the
1449
1516
  * maintainers.
@@ -1462,6 +1529,10 @@ declare module '@polkadot/api-base/types/errors' {
1462
1529
  * Pool id provided is not correct/usable.
1463
1530
  **/
1464
1531
  InvalidPoolId: AugmentedError<ApiType>;
1532
+ /**
1533
+ * The pool's max commission cannot be set higher than the existing value.
1534
+ **/
1535
+ MaxCommissionRestricted: AugmentedError<ApiType>;
1465
1536
  /**
1466
1537
  * Too many members in the pool or system.
1467
1538
  **/
@@ -1486,6 +1557,14 @@ declare module '@polkadot/api-base/types/errors' {
1486
1557
  * permissions for the pool. Members can never unbond to a value below `MinJoinBond`.
1487
1558
  **/
1488
1559
  MinimumBondNotMet: AugmentedError<ApiType>;
1560
+ /**
1561
+ * No commission current has been set.
1562
+ **/
1563
+ NoCommissionCurrentSet: AugmentedError<ApiType>;
1564
+ /**
1565
+ * There is no pending commission to claim.
1566
+ **/
1567
+ NoPendingCommission: AugmentedError<ApiType>;
1489
1568
  /**
1490
1569
  * A pool must be in [`PoolState::Destroying`] in order for the depositor to unbond or for
1491
1570
  * other members to be permissionlessly unbonded.
@@ -3,7 +3,7 @@ import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
3
3
  import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
4
4
  import type { ITuple } from '@polkadot/types-codec/types';
5
5
  import type { AccountId32, H256, Perbill, Perquintill } from '@polkadot/types/interfaces/runtime';
6
- import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, KitchensinkRuntimeProxyType, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletConvictionVotingTally, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStakingExposure, PalletStakingForcing, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
6
+ import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, KitchensinkRuntimeProxyType, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletConvictionVotingTally, PalletCoreFellowshipParamsType, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStakingExposure, PalletStakingForcing, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
7
7
  export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
8
8
  declare module '@polkadot/api-base/types/events' {
9
9
  interface AugmentedEvents<ApiType extends ApiTypes> {
@@ -352,10 +352,16 @@ declare module '@polkadot/api-base/types/events' {
352
352
  /**
353
353
  * A balance was set by root.
354
354
  **/
355
- BalanceSet: AugmentedEvent<ApiType, [who: AccountId32, free: u128, reserved: u128], {
355
+ BalanceSet: AugmentedEvent<ApiType, [who: AccountId32, free: u128], {
356
356
  who: AccountId32;
357
357
  free: u128;
358
- reserved: u128;
358
+ }>;
359
+ /**
360
+ * Some amount was burned from an account.
361
+ **/
362
+ Burned: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
363
+ who: AccountId32;
364
+ amount: u128;
359
365
  }>;
360
366
  /**
361
367
  * Some amount was deposited (e.g. for transaction fees).
@@ -379,6 +385,32 @@ declare module '@polkadot/api-base/types/events' {
379
385
  account: AccountId32;
380
386
  freeBalance: u128;
381
387
  }>;
388
+ /**
389
+ * Total issuance was increased by `amount`, creating a credit to be balanced.
390
+ **/
391
+ Issued: AugmentedEvent<ApiType, [amount: u128], {
392
+ amount: u128;
393
+ }>;
394
+ /**
395
+ * Some balance was locked.
396
+ **/
397
+ Locked: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
398
+ who: AccountId32;
399
+ amount: u128;
400
+ }>;
401
+ /**
402
+ * Some amount was minted into an account.
403
+ **/
404
+ Minted: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
405
+ who: AccountId32;
406
+ amount: u128;
407
+ }>;
408
+ /**
409
+ * Total issuance was decreased by `amount`, creating a debt to be balanced.
410
+ **/
411
+ Rescinded: AugmentedEvent<ApiType, [amount: u128], {
412
+ amount: u128;
413
+ }>;
382
414
  /**
383
415
  * Some balance was reserved (moved from free to reserved).
384
416
  **/
@@ -396,6 +428,13 @@ declare module '@polkadot/api-base/types/events' {
396
428
  amount: u128;
397
429
  destinationStatus: FrameSupportTokensMiscBalanceStatus;
398
430
  }>;
431
+ /**
432
+ * Some amount was restored into an account.
433
+ **/
434
+ Restored: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
435
+ who: AccountId32;
436
+ amount: u128;
437
+ }>;
399
438
  /**
400
439
  * Some amount was removed from the account (e.g. for misbehavior).
401
440
  **/
@@ -403,6 +442,13 @@ declare module '@polkadot/api-base/types/events' {
403
442
  who: AccountId32;
404
443
  amount: u128;
405
444
  }>;
445
+ /**
446
+ * Some amount was suspended from an account (it can be restored later).
447
+ **/
448
+ Suspended: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
449
+ who: AccountId32;
450
+ amount: u128;
451
+ }>;
406
452
  /**
407
453
  * Transfer succeeded.
408
454
  **/
@@ -411,6 +457,13 @@ declare module '@polkadot/api-base/types/events' {
411
457
  to: AccountId32;
412
458
  amount: u128;
413
459
  }>;
460
+ /**
461
+ * Some balance was unlocked.
462
+ **/
463
+ Unlocked: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
464
+ who: AccountId32;
465
+ amount: u128;
466
+ }>;
414
467
  /**
415
468
  * Some balance was unreserved (moved from reserved to free).
416
469
  **/
@@ -418,6 +471,12 @@ declare module '@polkadot/api-base/types/events' {
418
471
  who: AccountId32;
419
472
  amount: u128;
420
473
  }>;
474
+ /**
475
+ * An account was upgraded.
476
+ **/
477
+ Upgraded: AugmentedEvent<ApiType, [who: AccountId32], {
478
+ who: AccountId32;
479
+ }>;
421
480
  /**
422
481
  * Some amount was withdrawn from the account (e.g. for transaction fees).
423
482
  **/
@@ -611,6 +670,84 @@ declare module '@polkadot/api-base/types/events' {
611
670
  **/
612
671
  [key: string]: AugmentedEvent<ApiType>;
613
672
  };
673
+ coreFellowship: {
674
+ /**
675
+ * Member activity flag has been set.
676
+ **/
677
+ ActiveChanged: AugmentedEvent<ApiType, [who: AccountId32, isActive: bool], {
678
+ who: AccountId32;
679
+ isActive: bool;
680
+ }>;
681
+ /**
682
+ * Member has been demoted to the given (non-zero) rank.
683
+ **/
684
+ Demoted: AugmentedEvent<ApiType, [who: AccountId32, toRank: u16], {
685
+ who: AccountId32;
686
+ toRank: u16;
687
+ }>;
688
+ /**
689
+ * Some submitted evidence was judged and removed. There may or may not have been a change
690
+ * to the rank, but in any case, `last_proof` is reset.
691
+ **/
692
+ EvidenceJudged: AugmentedEvent<ApiType, [who: AccountId32, wish: PalletCoreFellowshipWish, evidence: Bytes, oldRank: u16, newRank: Option<u16>], {
693
+ who: AccountId32;
694
+ wish: PalletCoreFellowshipWish;
695
+ evidence: Bytes;
696
+ oldRank: u16;
697
+ newRank: Option<u16>;
698
+ }>;
699
+ /**
700
+ * Pre-ranked account has been inducted at their current rank.
701
+ **/
702
+ Imported: AugmentedEvent<ApiType, [who: AccountId32, rank: u16], {
703
+ who: AccountId32;
704
+ rank: u16;
705
+ }>;
706
+ /**
707
+ * Member has begun being tracked in this pallet.
708
+ **/
709
+ Inducted: AugmentedEvent<ApiType, [who: AccountId32], {
710
+ who: AccountId32;
711
+ }>;
712
+ /**
713
+ * Member has been removed from being tracked in this pallet (i.e. because rank is now
714
+ * zero).
715
+ **/
716
+ Offboarded: AugmentedEvent<ApiType, [who: AccountId32], {
717
+ who: AccountId32;
718
+ }>;
719
+ /**
720
+ * Parameters for the pallet have changed.
721
+ **/
722
+ ParamsChanged: AugmentedEvent<ApiType, [params: PalletCoreFellowshipParamsType], {
723
+ params: PalletCoreFellowshipParamsType;
724
+ }>;
725
+ /**
726
+ * Member has been promoted to the given rank.
727
+ **/
728
+ Promoted: AugmentedEvent<ApiType, [who: AccountId32, toRank: u16], {
729
+ who: AccountId32;
730
+ toRank: u16;
731
+ }>;
732
+ /**
733
+ * Member has been proven at their current rank, postponing auto-demotion.
734
+ **/
735
+ Proven: AugmentedEvent<ApiType, [who: AccountId32, atRank: u16], {
736
+ who: AccountId32;
737
+ atRank: u16;
738
+ }>;
739
+ /**
740
+ * Member has stated evidence of their efforts their request for rank.
741
+ **/
742
+ Requested: AugmentedEvent<ApiType, [who: AccountId32, wish: PalletCoreFellowshipWish], {
743
+ who: AccountId32;
744
+ wish: PalletCoreFellowshipWish;
745
+ }>;
746
+ /**
747
+ * Generic event
748
+ **/
749
+ [key: string]: AugmentedEvent<ApiType>;
750
+ };
614
751
  council: {
615
752
  /**
616
753
  * A motion was approved by the required threshold.
@@ -1502,11 +1639,11 @@ declare module '@polkadot/api-base/types/events' {
1502
1639
  /**
1503
1640
  * The management team changed.
1504
1641
  **/
1505
- TeamChanged: AugmentedEvent<ApiType, [collection: u32, issuer: AccountId32, admin: AccountId32, freezer: AccountId32], {
1642
+ TeamChanged: AugmentedEvent<ApiType, [collection: u32, issuer: Option<AccountId32>, admin: Option<AccountId32>, freezer: Option<AccountId32>], {
1506
1643
  collection: u32;
1507
- issuer: AccountId32;
1508
- admin: AccountId32;
1509
- freezer: AccountId32;
1644
+ issuer: Option<AccountId32>;
1645
+ admin: Option<AccountId32>;
1646
+ freezer: Option<AccountId32>;
1510
1647
  }>;
1511
1648
  /**
1512
1649
  * A tip was sent.
@@ -1647,6 +1784,34 @@ declare module '@polkadot/api-base/types/events' {
1647
1784
  poolId: u32;
1648
1785
  payout: u128;
1649
1786
  }>;
1787
+ /**
1788
+ * A pool's commission `change_rate` has been changed.
1789
+ **/
1790
+ PoolCommissionChangeRateUpdated: AugmentedEvent<ApiType, [poolId: u32, changeRate: PalletNominationPoolsCommissionChangeRate], {
1791
+ poolId: u32;
1792
+ changeRate: PalletNominationPoolsCommissionChangeRate;
1793
+ }>;
1794
+ /**
1795
+ * Pool commission has been claimed.
1796
+ **/
1797
+ PoolCommissionClaimed: AugmentedEvent<ApiType, [poolId: u32, commission: u128], {
1798
+ poolId: u32;
1799
+ commission: u128;
1800
+ }>;
1801
+ /**
1802
+ * A pool's commission setting has been changed.
1803
+ **/
1804
+ PoolCommissionUpdated: AugmentedEvent<ApiType, [poolId: u32, current: Option<ITuple<[Perbill, AccountId32]>>], {
1805
+ poolId: u32;
1806
+ current: Option<ITuple<[Perbill, AccountId32]>>;
1807
+ }>;
1808
+ /**
1809
+ * A pool's maximum commission setting has been changed.
1810
+ **/
1811
+ PoolMaxCommissionUpdated: AugmentedEvent<ApiType, [poolId: u32, maxCommission: Perbill], {
1812
+ poolId: u32;
1813
+ maxCommission: Perbill;
1814
+ }>;
1650
1815
  /**
1651
1816
  * The active balance of pool `pool_id` has been slashed to `balance`.
1652
1817
  **/