@polymeshassociation/polymesh-types 6.1.0 → 6.3.0

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.
Files changed (41) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/generated/types.d.ts +44 -9
  3. package/generated/types.d.ts.map +1 -1
  4. package/generated/types.js +38 -1
  5. package/generated/types.js.map +1 -1
  6. package/package.json +1 -1
  7. package/polkadot/augment-api-consts.d.ts +128 -91
  8. package/polkadot/augment-api-consts.d.ts.map +1 -1
  9. package/polkadot/augment-api-errors.d.ts +191 -48
  10. package/polkadot/augment-api-errors.d.ts.map +1 -1
  11. package/polkadot/augment-api-events.d.ts +469 -128
  12. package/polkadot/augment-api-events.d.ts.map +1 -1
  13. package/polkadot/augment-api-query.d.ts +267 -70
  14. package/polkadot/augment-api-query.d.ts.map +1 -1
  15. package/polkadot/augment-api-runtime.d.ts +33 -5
  16. package/polkadot/augment-api-runtime.d.ts.map +1 -1
  17. package/polkadot/augment-api-tx.d.ts +477 -150
  18. package/polkadot/augment-api-tx.d.ts.map +1 -1
  19. package/polkadot/lookup.d.ts +971 -665
  20. package/polkadot/lookup.d.ts.map +1 -1
  21. package/polkadot/lookup.js +1068 -701
  22. package/polkadot/lookup.js.map +1 -1
  23. package/polkadot/polymesh/definitions.d.ts +56 -2
  24. package/polkadot/polymesh/definitions.d.ts.map +1 -1
  25. package/polkadot/polymesh/definitions.js +20 -0
  26. package/polkadot/polymesh/definitions.js.map +1 -1
  27. package/polkadot/registry.d.ts +33 -19
  28. package/polkadot/registry.d.ts.map +1 -1
  29. package/polkadot/schema.d.ts +56 -2
  30. package/polkadot/schema.d.ts.map +1 -1
  31. package/polkadot/schema.js +20 -0
  32. package/polkadot/schema.js.map +1 -1
  33. package/polkadot/types-lookup.d.ts +1010 -726
  34. package/polkadot/types-lookup.d.ts.map +1 -1
  35. package/runtime/settlementApi/v2.d.ts.map +1 -1
  36. package/runtime/settlementApi/v2.js +20 -0
  37. package/runtime/settlementApi/v2.js.map +1 -1
  38. package/types/8.0.x.json +658 -0
  39. package/types/index.d.ts.map +1 -1
  40. package/types/index.js +2 -0
  41. package/types/index.js.map +1 -1
@@ -3,7 +3,7 @@ import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
3
3
  import type { BTreeSet, Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u32, u64, u8 } from '@polkadot/types-codec';
4
4
  import type { ITuple } from '@polkadot/types-codec/types';
5
5
  import type { AccountId32, H256, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
6
- import type { FrameSupportDispatchDispatchInfo, FrameSupportTokensMiscBalanceStatus, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, PalletCorporateActionsCaId, PalletCorporateActionsCorporateAction, PalletCorporateActionsDistribution, PalletCorporateActionsTargetIdentities, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletPipsProposalData, PalletPipsProposalState, PalletPipsProposer, PalletPipsSnapshottedPip, PalletStakingExposure, PalletStakingForcing, PalletStakingSlashingSwitch, PalletStakingValidatorPrefs, PalletStoFundingAsset, PalletStoFundraiser, PolymeshCommonUtilitiesCheckpointScheduleCheckpoints, PolymeshContractsApi, PolymeshContractsChainExtensionExtrinsicId, PolymeshContractsChainVersion, PolymeshPrimitivesAgentAgentGroup, PolymeshPrimitivesAssetAssetId, PolymeshPrimitivesAssetAssetType, PolymeshPrimitivesAssetIdentifier, PolymeshPrimitivesAssetMetadataAssetMetadataKey, PolymeshPrimitivesAssetMetadataAssetMetadataSpec, PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail, PolymeshPrimitivesAuthorizationAuthorizationData, PolymeshPrimitivesComplianceManagerComplianceRequirement, PolymeshPrimitivesConditionTrustedIssuer, PolymeshPrimitivesDocument, PolymeshPrimitivesEventOnly, PolymeshPrimitivesIdentityClaim, PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityIdPortfolioId, PolymeshPrimitivesMaybeBlock, PolymeshPrimitivesMemo, PolymeshPrimitivesNftNfTs, PolymeshPrimitivesPortfolioFundDescription, PolymeshPrimitivesPortfolioPortfolioUpdateReason, PolymeshPrimitivesPosRatio, PolymeshPrimitivesSecondaryKey, PolymeshPrimitivesSecondaryKeyExtrinsicPermissions, PolymeshPrimitivesSecondaryKeyPermissions, PolymeshPrimitivesSettlementLeg, PolymeshPrimitivesSettlementReceiptMetadata, PolymeshPrimitivesSettlementSettlementType, PolymeshPrimitivesSettlementVenueType, PolymeshPrimitivesStatisticsStatType, PolymeshPrimitivesStatisticsStatUpdate, PolymeshPrimitivesTicker, PolymeshPrimitivesTransferComplianceTransferCondition, PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError } from '@polkadot/types/lookup';
6
+ import type { FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletContractsOrigin, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, PalletCorporateActionsCaId, PalletCorporateActionsCorporateAction, PalletCorporateActionsDistribution, PalletCorporateActionsTargetIdentities, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletPipsProposalData, PalletPipsProposalState, PalletPipsProposer, PalletPipsSnapshottedPip, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStoFundingAsset, PalletStoFundraiser, PalletValidatorsSlashingSwitch, PolymeshCommonUtilitiesCheckpointScheduleCheckpoints, PolymeshContractsApi, PolymeshContractsChainExtensionExtrinsicId, PolymeshContractsChainVersion, PolymeshPrimitivesAgentAgentGroup, PolymeshPrimitivesAssetAssetId, PolymeshPrimitivesAssetAssetType, PolymeshPrimitivesAssetIdentifier, PolymeshPrimitivesAssetMetadataAssetMetadataKey, PolymeshPrimitivesAssetMetadataAssetMetadataSpec, PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail, PolymeshPrimitivesAuthorizationAuthorizationData, PolymeshPrimitivesComplianceManagerComplianceRequirement, PolymeshPrimitivesConditionTrustedIssuer, PolymeshPrimitivesDocument, PolymeshPrimitivesEventOnly, PolymeshPrimitivesIdentityClaim, PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityIdPortfolioId, PolymeshPrimitivesMaybeBlock, PolymeshPrimitivesMemo, PolymeshPrimitivesNftNfTs, PolymeshPrimitivesPortfolioFundDescription, PolymeshPrimitivesPortfolioPortfolioUpdateReason, PolymeshPrimitivesPosRatio, PolymeshPrimitivesSecondaryKey, PolymeshPrimitivesSecondaryKeyExtrinsicPermissions, PolymeshPrimitivesSecondaryKeyPermissions, PolymeshPrimitivesSettlementLeg, PolymeshPrimitivesSettlementReceiptMetadata, PolymeshPrimitivesSettlementSettlementType, PolymeshPrimitivesSettlementVenueType, PolymeshPrimitivesStatisticsStatType, PolymeshPrimitivesStatisticsStatUpdate, PolymeshPrimitivesTicker, PolymeshPrimitivesTransferComplianceTransferCondition, PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpStakingExposure } 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> {
@@ -294,52 +294,235 @@ declare module '@polkadot/api-base/types/events' {
294
294
  };
295
295
  balances: {
296
296
  /**
297
- * The account and the amount of unlocked balance of that account that was burned.
298
- * (caller Id, caller account, amount)
297
+ * A balance was set by root.
299
298
  **/
300
- AccountBalanceBurned: AugmentedEvent<ApiType, [
301
- PolymeshPrimitivesIdentityId,
302
- AccountId32,
303
- u128
304
- ]>;
299
+ BalanceSet: AugmentedEvent<ApiType, [
300
+ who: AccountId32,
301
+ free: u128
302
+ ], {
303
+ who: AccountId32;
304
+ free: u128;
305
+ }>;
305
306
  /**
306
- * A balance was set by root (did, who, free, reserved).
307
+ * Some amount was burned from an account.
307
308
  **/
308
- BalanceSet: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, AccountId32, u128, u128]>;
309
+ Burned: AugmentedEvent<ApiType, [
310
+ who: AccountId32,
311
+ amount: u128
312
+ ], {
313
+ who: AccountId32;
314
+ amount: u128;
315
+ }>;
309
316
  /**
310
- * An account was created with some free balance. \[did, account, free_balance]
317
+ * Some amount was deposited (e.g. for transaction fees).
311
318
  **/
312
- Endowed: AugmentedEvent<ApiType, [Option<PolymeshPrimitivesIdentityId>, AccountId32, u128]>;
319
+ Deposit: AugmentedEvent<ApiType, [
320
+ who: AccountId32,
321
+ amount: u128
322
+ ], {
323
+ who: AccountId32;
324
+ amount: u128;
325
+ }>;
313
326
  /**
314
- * Some balance was reserved (moved from free to reserved). \[who, value]
327
+ * An account was removed whose balance was non-zero but below ExistentialDeposit,
328
+ * resulting in an outright loss.
315
329
  **/
316
- Reserved: AugmentedEvent<ApiType, [AccountId32, u128]>;
330
+ DustLost: AugmentedEvent<ApiType, [
331
+ account: AccountId32,
332
+ amount: u128
333
+ ], {
334
+ account: AccountId32;
335
+ amount: u128;
336
+ }>;
337
+ /**
338
+ * An account was created with some free balance.
339
+ **/
340
+ Endowed: AugmentedEvent<ApiType, [
341
+ account: AccountId32,
342
+ freeBalance: u128
343
+ ], {
344
+ account: AccountId32;
345
+ freeBalance: u128;
346
+ }>;
347
+ /**
348
+ * Some balance was frozen.
349
+ **/
350
+ Frozen: AugmentedEvent<ApiType, [
351
+ who: AccountId32,
352
+ amount: u128
353
+ ], {
354
+ who: AccountId32;
355
+ amount: u128;
356
+ }>;
357
+ /**
358
+ * Total issuance was increased by `amount`, creating a credit to be balanced.
359
+ **/
360
+ Issued: AugmentedEvent<ApiType, [amount: u128], {
361
+ amount: u128;
362
+ }>;
363
+ /**
364
+ * Some balance was locked.
365
+ **/
366
+ Locked: AugmentedEvent<ApiType, [
367
+ who: AccountId32,
368
+ amount: u128
369
+ ], {
370
+ who: AccountId32;
371
+ amount: u128;
372
+ }>;
373
+ /**
374
+ * Some amount was minted into an account.
375
+ **/
376
+ Minted: AugmentedEvent<ApiType, [
377
+ who: AccountId32,
378
+ amount: u128
379
+ ], {
380
+ who: AccountId32;
381
+ amount: u128;
382
+ }>;
383
+ /**
384
+ * Total issuance was decreased by `amount`, creating a debt to be balanced.
385
+ **/
386
+ Rescinded: AugmentedEvent<ApiType, [amount: u128], {
387
+ amount: u128;
388
+ }>;
389
+ /**
390
+ * Some balance was reserved (moved from free to reserved).
391
+ **/
392
+ Reserved: AugmentedEvent<ApiType, [
393
+ who: AccountId32,
394
+ amount: u128
395
+ ], {
396
+ who: AccountId32;
397
+ amount: u128;
398
+ }>;
317
399
  /**
318
400
  * Some balance was moved from the reserve of the first account to the second account.
319
401
  * Final argument indicates the destination balance type.
320
- * \[from, to, balance, destination_status]
321
402
  **/
322
403
  ReserveRepatriated: AugmentedEvent<ApiType, [
323
- AccountId32,
324
- AccountId32,
325
- u128,
326
- FrameSupportTokensMiscBalanceStatus
327
- ]>;
404
+ from: AccountId32,
405
+ to: AccountId32,
406
+ amount: u128,
407
+ destinationStatus: FrameSupportTokensMiscBalanceStatus
408
+ ], {
409
+ from: AccountId32;
410
+ to: AccountId32;
411
+ amount: u128;
412
+ destinationStatus: FrameSupportTokensMiscBalanceStatus;
413
+ }>;
414
+ /**
415
+ * Some amount was restored into an account.
416
+ **/
417
+ Restored: AugmentedEvent<ApiType, [
418
+ who: AccountId32,
419
+ amount: u128
420
+ ], {
421
+ who: AccountId32;
422
+ amount: u128;
423
+ }>;
424
+ /**
425
+ * Some amount was removed from the account (e.g. for misbehavior).
426
+ **/
427
+ Slashed: AugmentedEvent<ApiType, [
428
+ who: AccountId32,
429
+ amount: u128
430
+ ], {
431
+ who: AccountId32;
432
+ amount: u128;
433
+ }>;
434
+ /**
435
+ * Some amount was suspended from an account (it can be restored later).
436
+ **/
437
+ Suspended: AugmentedEvent<ApiType, [
438
+ who: AccountId32,
439
+ amount: u128
440
+ ], {
441
+ who: AccountId32;
442
+ amount: u128;
443
+ }>;
328
444
  /**
329
- * Transfer succeeded (from_did, from, to_did, to, value, memo).
445
+ * Some balance was thawed.
446
+ **/
447
+ Thawed: AugmentedEvent<ApiType, [
448
+ who: AccountId32,
449
+ amount: u128
450
+ ], {
451
+ who: AccountId32;
452
+ amount: u128;
453
+ }>;
454
+ /**
455
+ * The `TotalIssuance` was forcefully changed.
456
+ **/
457
+ TotalIssuanceForced: AugmentedEvent<ApiType, [
458
+ old: u128,
459
+ new_: u128
460
+ ], {
461
+ old: u128;
462
+ new_: u128;
463
+ }>;
464
+ /**
465
+ * Transfer succeeded.
330
466
  **/
331
467
  Transfer: AugmentedEvent<ApiType, [
332
- Option<PolymeshPrimitivesIdentityId>,
333
- AccountId32,
334
- Option<PolymeshPrimitivesIdentityId>,
335
- AccountId32,
336
- u128,
337
- Option<PolymeshPrimitivesMemo>
338
- ]>;
468
+ from: AccountId32,
469
+ to: AccountId32,
470
+ amount: u128
471
+ ], {
472
+ from: AccountId32;
473
+ to: AccountId32;
474
+ amount: u128;
475
+ }>;
476
+ /**
477
+ * Transfer with memo succeeded.
478
+ **/
479
+ TransferMemo: AugmentedEvent<ApiType, [
480
+ from: AccountId32,
481
+ to: AccountId32,
482
+ amount: u128,
483
+ memo: Option<PolymeshPrimitivesMemo>
484
+ ], {
485
+ from: AccountId32;
486
+ to: AccountId32;
487
+ amount: u128;
488
+ memo: Option<PolymeshPrimitivesMemo>;
489
+ }>;
490
+ /**
491
+ * Some balance was unlocked.
492
+ **/
493
+ Unlocked: AugmentedEvent<ApiType, [
494
+ who: AccountId32,
495
+ amount: u128
496
+ ], {
497
+ who: AccountId32;
498
+ amount: u128;
499
+ }>;
339
500
  /**
340
- * Some balance was unreserved (moved from reserved to free). \[who, value]
501
+ * Some balance was unreserved (moved from reserved to free).
341
502
  **/
342
- Unreserved: AugmentedEvent<ApiType, [AccountId32, u128]>;
503
+ Unreserved: AugmentedEvent<ApiType, [
504
+ who: AccountId32,
505
+ amount: u128
506
+ ], {
507
+ who: AccountId32;
508
+ amount: u128;
509
+ }>;
510
+ /**
511
+ * An account was upgraded.
512
+ **/
513
+ Upgraded: AugmentedEvent<ApiType, [who: AccountId32], {
514
+ who: AccountId32;
515
+ }>;
516
+ /**
517
+ * Some amount was withdrawn from the account (e.g. for transaction fees).
518
+ **/
519
+ Withdraw: AugmentedEvent<ApiType, [
520
+ who: AccountId32,
521
+ amount: u128
522
+ ], {
523
+ who: AccountId32;
524
+ amount: u128;
525
+ }>;
343
526
  };
344
527
  base: {
345
528
  /**
@@ -630,23 +813,35 @@ declare module '@polkadot/api-base/types/events' {
630
813
  * rolled back.
631
814
  **/
632
815
  Called: AugmentedEvent<ApiType, [
633
- caller: AccountId32,
816
+ caller: PalletContractsOrigin,
634
817
  contract: AccountId32
635
818
  ], {
636
- caller: AccountId32;
819
+ caller: PalletContractsOrigin;
637
820
  contract: AccountId32;
638
821
  }>;
639
822
  /**
640
823
  * A code with the specified hash was removed.
641
824
  **/
642
- CodeRemoved: AugmentedEvent<ApiType, [codeHash: H256], {
825
+ CodeRemoved: AugmentedEvent<ApiType, [
826
+ codeHash: H256,
827
+ depositReleased: u128,
828
+ remover: AccountId32
829
+ ], {
643
830
  codeHash: H256;
831
+ depositReleased: u128;
832
+ remover: AccountId32;
644
833
  }>;
645
834
  /**
646
835
  * Code with the specified hash has been stored.
647
836
  **/
648
- CodeStored: AugmentedEvent<ApiType, [codeHash: H256], {
837
+ CodeStored: AugmentedEvent<ApiType, [
838
+ codeHash: H256,
839
+ depositHeld: u128,
840
+ uploader: AccountId32
841
+ ], {
649
842
  codeHash: H256;
843
+ depositHeld: u128;
844
+ uploader: AccountId32;
650
845
  }>;
651
846
  /**
652
847
  * A contract's code was updated.
@@ -696,6 +891,30 @@ declare module '@polkadot/api-base/types/events' {
696
891
  deployer: AccountId32;
697
892
  contract: AccountId32;
698
893
  }>;
894
+ /**
895
+ * Some funds have been transferred and held as storage deposit.
896
+ **/
897
+ StorageDepositTransferredAndHeld: AugmentedEvent<ApiType, [
898
+ from: AccountId32,
899
+ to: AccountId32,
900
+ amount: u128
901
+ ], {
902
+ from: AccountId32;
903
+ to: AccountId32;
904
+ amount: u128;
905
+ }>;
906
+ /**
907
+ * Some storage deposit funds have been transferred and released.
908
+ **/
909
+ StorageDepositTransferredAndReleased: AugmentedEvent<ApiType, [
910
+ from: AccountId32,
911
+ to: AccountId32,
912
+ amount: u128
913
+ ], {
914
+ from: AccountId32;
915
+ to: AccountId32;
916
+ amount: u128;
917
+ }>;
699
918
  /**
700
919
  * Contract has been removed.
701
920
  *
@@ -892,7 +1111,7 @@ declare module '@polkadot/api-base/types/events' {
892
1111
  * A solution was stored with the given compute.
893
1112
  *
894
1113
  * The `origin` indicates the origin of the solution. If `origin` is `Some(AccountId)`,
895
- * the stored solution was submited in the signed phase by a miner with the `AccountId`.
1114
+ * the stored solution was submitted in the signed phase by a miner with the `AccountId`.
896
1115
  * Otherwise, the solution was stored either during the unsigned phase or by
897
1116
  * `T::ForceOrigin`. The `bool` is `true` when a previous solution was ejected to make
898
1117
  * room for this one.
@@ -1188,12 +1407,26 @@ declare module '@polkadot/api-base/types/events' {
1188
1407
  * At the end of the session, at least one validator was found to be offline.
1189
1408
  **/
1190
1409
  SomeOffline: AugmentedEvent<ApiType, [
1191
- offline: Vec<ITuple<[AccountId32, PalletStakingExposure]>>
1410
+ offline: Vec<ITuple<[AccountId32, SpStakingExposure]>>
1192
1411
  ], {
1193
- offline: Vec<ITuple<[AccountId32, PalletStakingExposure]>>;
1412
+ offline: Vec<ITuple<[AccountId32, SpStakingExposure]>>;
1194
1413
  }>;
1195
1414
  };
1196
1415
  indices: {
1416
+ /**
1417
+ * A deposit to reserve an index has been poked/reconsidered.
1418
+ **/
1419
+ DepositPoked: AugmentedEvent<ApiType, [
1420
+ who: AccountId32,
1421
+ index: u32,
1422
+ oldDeposit: u128,
1423
+ newDeposit: u128
1424
+ ], {
1425
+ who: AccountId32;
1426
+ index: u32;
1427
+ oldDeposit: u128;
1428
+ newDeposit: u128;
1429
+ }>;
1197
1430
  /**
1198
1431
  * A account index was assigned.
1199
1432
  **/
@@ -1452,8 +1685,8 @@ declare module '@polkadot/api-base/types/events' {
1452
1685
  *
1453
1686
  * Parameters:
1454
1687
  * - `IdentityId`: The DID of the caller.
1455
- * - `T::BlockNumber`: The old enactment period.
1456
- * - `T::BlockNumber`: The new enactment period.
1688
+ * - `BlockNumber`: The old enactment period.
1689
+ * - `BlockNumber`: The new enactment period.
1457
1690
  **/
1458
1691
  DefaultEnactmentPeriodChanged: AugmentedEvent<ApiType, [
1459
1692
  PolymeshPrimitivesIdentityId,
@@ -1473,7 +1706,7 @@ declare module '@polkadot/api-base/types/events' {
1473
1706
  * Parameters:
1474
1707
  * - `IdentityId`: The DID of the caller.
1475
1708
  * - `PipId`: The ID of the PIP.
1476
- * - `T::BlockNumber`: The block number at which the PIP is scheduled for execution.
1709
+ * - `BlockNumber`: The block number at which the PIP is scheduled for execution.
1477
1710
  **/
1478
1711
  ExecutionScheduled: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, u32]>;
1479
1712
  /**
@@ -1482,7 +1715,7 @@ declare module '@polkadot/api-base/types/events' {
1482
1715
  * Parameters:
1483
1716
  * - `IdentityId`: The DID of the caller.
1484
1717
  * - `PipId`: The ID of the PIP.
1485
- * - `T::BlockNumber`: The block number at which the PIP was scheduled for execution.
1718
+ * - `BlockNumber`: The block number at which the PIP was scheduled for execution.
1486
1719
  **/
1487
1720
  ExecutionSchedulingFailed: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, u32]>;
1488
1721
  /**
@@ -1491,7 +1724,7 @@ declare module '@polkadot/api-base/types/events' {
1491
1724
  * Parameters:
1492
1725
  * - `IdentityId`: The DID of the caller.
1493
1726
  * - `PipId`: The ID of the PIP.
1494
- * - `T::BlockNumber`: The block number at which the PIP is scheduled for expiry.
1727
+ * - `BlockNumber`: The block number at which the PIP is scheduled for expiry.
1495
1728
  **/
1496
1729
  ExpiryScheduled: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, u32]>;
1497
1730
  /**
@@ -1500,7 +1733,7 @@ declare module '@polkadot/api-base/types/events' {
1500
1733
  * Parameters:
1501
1734
  * - `IdentityId`: The DID of the caller.
1502
1735
  * - `PipId`: The ID of the PIP.
1503
- * - `T::BlockNumber`: The block number at which the PIP was scheduled for expiry.
1736
+ * - `BlockNumber`: The block number at which the PIP was scheduled for expiry.
1504
1737
  **/
1505
1738
  ExpirySchedulingFailed: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, u32]>;
1506
1739
  /**
@@ -1968,6 +2201,12 @@ declare module '@polkadot/api-base/types/events' {
1968
2201
  ]>;
1969
2202
  };
1970
2203
  scheduler: {
2204
+ /**
2205
+ * Agenda is incomplete from `when`.
2206
+ **/
2207
+ AgendaIncomplete: AugmentedEvent<ApiType, [when: u32], {
2208
+ when: u32;
2209
+ }>;
1971
2210
  /**
1972
2211
  * The call for the provided hash was not found so the task has been aborted.
1973
2212
  **/
@@ -2017,6 +2256,41 @@ declare module '@polkadot/api-base/types/events' {
2017
2256
  task: ITuple<[u32, u32]>;
2018
2257
  id: Option<U8aFixed>;
2019
2258
  }>;
2259
+ /**
2260
+ * Cancel a retry configuration for some task.
2261
+ **/
2262
+ RetryCancelled: AugmentedEvent<ApiType, [
2263
+ task: ITuple<[u32, u32]>,
2264
+ id: Option<U8aFixed>
2265
+ ], {
2266
+ task: ITuple<[u32, u32]>;
2267
+ id: Option<U8aFixed>;
2268
+ }>;
2269
+ /**
2270
+ * The given task was unable to be retried since the agenda is full at that block or there
2271
+ * was not enough weight to reschedule it.
2272
+ **/
2273
+ RetryFailed: AugmentedEvent<ApiType, [
2274
+ task: ITuple<[u32, u32]>,
2275
+ id: Option<U8aFixed>
2276
+ ], {
2277
+ task: ITuple<[u32, u32]>;
2278
+ id: Option<U8aFixed>;
2279
+ }>;
2280
+ /**
2281
+ * Set a retry configuration for some task.
2282
+ **/
2283
+ RetrySet: AugmentedEvent<ApiType, [
2284
+ task: ITuple<[u32, u32]>,
2285
+ id: Option<U8aFixed>,
2286
+ period: u32,
2287
+ retries: u8
2288
+ ], {
2289
+ task: ITuple<[u32, u32]>;
2290
+ id: Option<U8aFixed>;
2291
+ period: u32;
2292
+ retries: u8;
2293
+ }>;
2020
2294
  /**
2021
2295
  * Scheduled some task.
2022
2296
  **/
@@ -2033,6 +2307,22 @@ declare module '@polkadot/api-base/types/events' {
2033
2307
  NewSession: AugmentedEvent<ApiType, [sessionIndex: u32], {
2034
2308
  sessionIndex: u32;
2035
2309
  }>;
2310
+ /**
2311
+ * Validator has been disabled.
2312
+ **/
2313
+ ValidatorDisabled: AugmentedEvent<ApiType, [
2314
+ validator: AccountId32
2315
+ ], {
2316
+ validator: AccountId32;
2317
+ }>;
2318
+ /**
2319
+ * Validator has been re-enabled.
2320
+ **/
2321
+ ValidatorReenabled: AugmentedEvent<ApiType, [
2322
+ validator: AccountId32
2323
+ ], {
2324
+ validator: AccountId32;
2325
+ }>;
2036
2326
  };
2037
2327
  settlement: {
2038
2328
  /**
@@ -2212,11 +2502,9 @@ declare module '@polkadot/api-base/types/events' {
2212
2502
  * it will not be emitted for staking rewards when they are added to stake.
2213
2503
  **/
2214
2504
  Bonded: AugmentedEvent<ApiType, [
2215
- identity: PolymeshPrimitivesIdentityId,
2216
2505
  stash: AccountId32,
2217
2506
  amount: u128
2218
2507
  ], {
2219
- identity: PolymeshPrimitivesIdentityId;
2220
2508
  stash: AccountId32;
2221
2509
  amount: u128;
2222
2510
  }>;
@@ -2227,16 +2515,21 @@ declare module '@polkadot/api-base/types/events' {
2227
2515
  stash: AccountId32;
2228
2516
  }>;
2229
2517
  /**
2230
- * Commission cap has been updated.
2518
+ * Report of a controller batch deprecation.
2231
2519
  **/
2232
- CommissionCapUpdated: AugmentedEvent<ApiType, [
2233
- governanceCouncillDid: PolymeshPrimitivesIdentityId,
2234
- oldCommissionCap: Perbill,
2235
- newCommissionCap: Perbill
2520
+ ControllerBatchDeprecated: AugmentedEvent<ApiType, [failures: u32], {
2521
+ failures: u32;
2522
+ }>;
2523
+ /**
2524
+ * Staking balance migrated from locks to holds, with any balance that could not be held
2525
+ * is force withdrawn.
2526
+ **/
2527
+ CurrencyMigrated: AugmentedEvent<ApiType, [
2528
+ stash: AccountId32,
2529
+ forceWithdraw: u128
2236
2530
  ], {
2237
- governanceCouncillDid: PolymeshPrimitivesIdentityId;
2238
- oldCommissionCap: Perbill;
2239
- newCommissionCap: Perbill;
2531
+ stash: AccountId32;
2532
+ forceWithdraw: u128;
2240
2533
  }>;
2241
2534
  /**
2242
2535
  * The era payout has been set; the first balance is the validator-payout; the second is
@@ -2259,18 +2552,6 @@ declare module '@polkadot/api-base/types/events' {
2259
2552
  ], {
2260
2553
  mode: PalletStakingForcing;
2261
2554
  }>;
2262
- /**
2263
- * Remove the nominators from the valid nominators when there CDD expired.
2264
- **/
2265
- InvalidatedNominators: AugmentedEvent<ApiType, [
2266
- governanceCouncillDid: PolymeshPrimitivesIdentityId,
2267
- governanceCouncillAccount: PolymeshPrimitivesIdentityId,
2268
- expiredNominators: Vec<AccountId32>
2269
- ], {
2270
- governanceCouncillDid: PolymeshPrimitivesIdentityId;
2271
- governanceCouncillAccount: PolymeshPrimitivesIdentityId;
2272
- expiredNominators: Vec<AccountId32>;
2273
- }>;
2274
2555
  /**
2275
2556
  * A nominator has been kicked from a validator.
2276
2557
  **/
@@ -2281,18 +2562,6 @@ declare module '@polkadot/api-base/types/events' {
2281
2562
  nominator: AccountId32;
2282
2563
  stash: AccountId32;
2283
2564
  }>;
2284
- /**
2285
- * User has updated their nominations.
2286
- **/
2287
- Nominated: AugmentedEvent<ApiType, [
2288
- nominatorIdentity: PolymeshPrimitivesIdentityId,
2289
- stash: AccountId32,
2290
- targets: Vec<AccountId32>
2291
- ], {
2292
- nominatorIdentity: PolymeshPrimitivesIdentityId;
2293
- stash: AccountId32;
2294
- targets: Vec<AccountId32>;
2295
- }>;
2296
2565
  /**
2297
2566
  * An old slashing report from a prior era was discarded because it could
2298
2567
  * not be processed.
@@ -2303,59 +2572,31 @@ declare module '@polkadot/api-base/types/events' {
2303
2572
  sessionIndex: u32;
2304
2573
  }>;
2305
2574
  /**
2306
- * The stakers' rewards are getting paid.
2575
+ * A Page of stakers rewards are getting paid. `next` is `None` if all pages are claimed.
2307
2576
  **/
2308
2577
  PayoutStarted: AugmentedEvent<ApiType, [
2309
2578
  eraIndex: u32,
2310
- validatorStash: AccountId32
2579
+ validatorStash: AccountId32,
2580
+ page: u32,
2581
+ next: Option<u32>
2311
2582
  ], {
2312
2583
  eraIndex: u32;
2313
2584
  validatorStash: AccountId32;
2585
+ page: u32;
2586
+ next: Option<u32>;
2314
2587
  }>;
2315
2588
  /**
2316
- * An identity has issued a candidacy for becoming a validator.
2317
- **/
2318
- PermissionedIdentityAdded: AugmentedEvent<ApiType, [
2319
- governanceCouncillDid: PolymeshPrimitivesIdentityId,
2320
- validatorsIdentity: PolymeshPrimitivesIdentityId
2321
- ], {
2322
- governanceCouncillDid: PolymeshPrimitivesIdentityId;
2323
- validatorsIdentity: PolymeshPrimitivesIdentityId;
2324
- }>;
2325
- /**
2326
- * An identity has been removed from the permissioned identities pool.
2327
- **/
2328
- PermissionedIdentityRemoved: AugmentedEvent<ApiType, [
2329
- governanceCouncillDid: PolymeshPrimitivesIdentityId,
2330
- validatorsIdentity: PolymeshPrimitivesIdentityId
2331
- ], {
2332
- governanceCouncillDid: PolymeshPrimitivesIdentityId;
2333
- validatorsIdentity: PolymeshPrimitivesIdentityId;
2334
- }>;
2335
- /**
2336
- * The nominator has been rewarded by this amount.
2589
+ * The nominator has been rewarded by this amount to this destination.
2337
2590
  **/
2338
2591
  Rewarded: AugmentedEvent<ApiType, [
2339
- identity: PolymeshPrimitivesIdentityId,
2340
2592
  stash: AccountId32,
2593
+ dest: PalletStakingRewardDestination,
2341
2594
  amount: u128
2342
2595
  ], {
2343
- identity: PolymeshPrimitivesIdentityId;
2344
2596
  stash: AccountId32;
2597
+ dest: PalletStakingRewardDestination;
2345
2598
  amount: u128;
2346
2599
  }>;
2347
- /**
2348
- * Reward scheduling interrupted.
2349
- **/
2350
- RewardPaymentSchedulingInterrupted: AugmentedEvent<ApiType, [
2351
- accountId: AccountId32,
2352
- era: u32,
2353
- error: SpRuntimeDispatchError
2354
- ], {
2355
- accountId: AccountId32;
2356
- era: u32;
2357
- error: SpRuntimeDispatchError;
2358
- }>;
2359
2600
  /**
2360
2601
  * A staker (validator or nominator) has been slashed by the given amount.
2361
2602
  **/
@@ -2366,14 +2607,6 @@ declare module '@polkadot/api-base/types/events' {
2366
2607
  staker: AccountId32;
2367
2608
  amount: u128;
2368
2609
  }>;
2369
- /**
2370
- * Slashing allowed has been updated.
2371
- **/
2372
- SlashingAllowedForChanged: AugmentedEvent<ApiType, [
2373
- slashingSwitch: PalletStakingSlashingSwitch
2374
- ], {
2375
- slashingSwitch: PalletStakingSlashingSwitch;
2376
- }>;
2377
2610
  /**
2378
2611
  * A slash for the given validator, for the given percentage of their stake, at the given
2379
2612
  * era as been reported.
@@ -2387,6 +2620,18 @@ declare module '@polkadot/api-base/types/events' {
2387
2620
  fraction: Perbill;
2388
2621
  slashEra: u32;
2389
2622
  }>;
2623
+ /**
2624
+ * Targets size limit reached.
2625
+ **/
2626
+ SnapshotTargetsSizeExceeded: AugmentedEvent<ApiType, [size_: u32], {
2627
+ size_: u32;
2628
+ }>;
2629
+ /**
2630
+ * Voters size limit reached.
2631
+ **/
2632
+ SnapshotVotersSizeExceeded: AugmentedEvent<ApiType, [size_: u32], {
2633
+ size_: u32;
2634
+ }>;
2390
2635
  /**
2391
2636
  * A new set of stakers was elected.
2392
2637
  **/
@@ -2399,11 +2644,9 @@ declare module '@polkadot/api-base/types/events' {
2399
2644
  * An account has unbonded this amount.
2400
2645
  **/
2401
2646
  Unbonded: AugmentedEvent<ApiType, [
2402
- identity: PolymeshPrimitivesIdentityId,
2403
2647
  stash: AccountId32,
2404
2648
  amount: u128
2405
2649
  ], {
2406
- identity: PolymeshPrimitivesIdentityId;
2407
2650
  stash: AccountId32;
2408
2651
  amount: u128;
2409
2652
  }>;
@@ -2650,18 +2893,18 @@ declare module '@polkadot/api-base/types/events' {
2650
2893
  **/
2651
2894
  ExtrinsicFailed: AugmentedEvent<ApiType, [
2652
2895
  dispatchError: SpRuntimeDispatchError,
2653
- dispatchInfo: FrameSupportDispatchDispatchInfo
2896
+ dispatchInfo: FrameSystemDispatchEventInfo
2654
2897
  ], {
2655
2898
  dispatchError: SpRuntimeDispatchError;
2656
- dispatchInfo: FrameSupportDispatchDispatchInfo;
2899
+ dispatchInfo: FrameSystemDispatchEventInfo;
2657
2900
  }>;
2658
2901
  /**
2659
2902
  * An extrinsic completed successfully.
2660
2903
  **/
2661
2904
  ExtrinsicSuccess: AugmentedEvent<ApiType, [
2662
- dispatchInfo: FrameSupportDispatchDispatchInfo
2905
+ dispatchInfo: FrameSystemDispatchEventInfo
2663
2906
  ], {
2664
- dispatchInfo: FrameSupportDispatchDispatchInfo;
2907
+ dispatchInfo: FrameSystemDispatchEventInfo;
2665
2908
  }>;
2666
2909
  /**
2667
2910
  * An account was reaped.
@@ -2675,6 +2918,16 @@ declare module '@polkadot/api-base/types/events' {
2675
2918
  NewAccount: AugmentedEvent<ApiType, [account: AccountId32], {
2676
2919
  account: AccountId32;
2677
2920
  }>;
2921
+ /**
2922
+ * An invalid authorized upgrade was rejected while trying to apply it.
2923
+ **/
2924
+ RejectedInvalidAuthorizedUpgrade: AugmentedEvent<ApiType, [
2925
+ codeHash: H256,
2926
+ error: SpRuntimeDispatchError
2927
+ ], {
2928
+ codeHash: H256;
2929
+ error: SpRuntimeDispatchError;
2930
+ }>;
2678
2931
  /**
2679
2932
  * On on-chain remark happened.
2680
2933
  **/
@@ -2685,6 +2938,16 @@ declare module '@polkadot/api-base/types/events' {
2685
2938
  sender: AccountId32;
2686
2939
  hash_: H256;
2687
2940
  }>;
2941
+ /**
2942
+ * An upgrade was authorized.
2943
+ **/
2944
+ UpgradeAuthorized: AugmentedEvent<ApiType, [
2945
+ codeHash: H256,
2946
+ checkVersion: bool
2947
+ ], {
2948
+ codeHash: H256;
2949
+ checkVersion: bool;
2950
+ }>;
2688
2951
  };
2689
2952
  technicalCommittee: {
2690
2953
  /**
@@ -3065,6 +3328,84 @@ declare module '@polkadot/api-base/types/events' {
3065
3328
  result: Result<Null, SpRuntimeDispatchError>;
3066
3329
  }>;
3067
3330
  };
3331
+ validators: {
3332
+ /**
3333
+ * Commission cap has been updated.
3334
+ **/
3335
+ CommissionCapUpdated: AugmentedEvent<ApiType, [
3336
+ governanceCouncillDid: PolymeshPrimitivesIdentityId,
3337
+ oldCommissionCap: Perbill,
3338
+ newCommissionCap: Perbill
3339
+ ], {
3340
+ governanceCouncillDid: PolymeshPrimitivesIdentityId;
3341
+ oldCommissionCap: Perbill;
3342
+ newCommissionCap: Perbill;
3343
+ }>;
3344
+ /**
3345
+ * Remove the nominators from the valid nominators when there CDD expired.
3346
+ **/
3347
+ InvalidatedNominators: AugmentedEvent<ApiType, [
3348
+ governanceCouncillDid: PolymeshPrimitivesIdentityId,
3349
+ governanceCouncillAccount: PolymeshPrimitivesIdentityId,
3350
+ expiredNominators: Vec<AccountId32>
3351
+ ], {
3352
+ governanceCouncillDid: PolymeshPrimitivesIdentityId;
3353
+ governanceCouncillAccount: PolymeshPrimitivesIdentityId;
3354
+ expiredNominators: Vec<AccountId32>;
3355
+ }>;
3356
+ /**
3357
+ * User has updated their nominations.
3358
+ **/
3359
+ Nominated: AugmentedEvent<ApiType, [
3360
+ nominatorIdentity: PolymeshPrimitivesIdentityId,
3361
+ stash: AccountId32,
3362
+ targets: Vec<AccountId32>
3363
+ ], {
3364
+ nominatorIdentity: PolymeshPrimitivesIdentityId;
3365
+ stash: AccountId32;
3366
+ targets: Vec<AccountId32>;
3367
+ }>;
3368
+ /**
3369
+ * An identity has issued a candidacy for becoming a validator.
3370
+ **/
3371
+ PermissionedIdentityAdded: AugmentedEvent<ApiType, [
3372
+ governanceCouncillDid: PolymeshPrimitivesIdentityId,
3373
+ validatorsIdentity: PolymeshPrimitivesIdentityId
3374
+ ], {
3375
+ governanceCouncillDid: PolymeshPrimitivesIdentityId;
3376
+ validatorsIdentity: PolymeshPrimitivesIdentityId;
3377
+ }>;
3378
+ /**
3379
+ * An identity has been removed from the permissioned identities pool.
3380
+ **/
3381
+ PermissionedIdentityRemoved: AugmentedEvent<ApiType, [
3382
+ governanceCouncillDid: PolymeshPrimitivesIdentityId,
3383
+ validatorsIdentity: PolymeshPrimitivesIdentityId
3384
+ ], {
3385
+ governanceCouncillDid: PolymeshPrimitivesIdentityId;
3386
+ validatorsIdentity: PolymeshPrimitivesIdentityId;
3387
+ }>;
3388
+ /**
3389
+ * Reward scheduling interrupted.
3390
+ **/
3391
+ RewardPaymentSchedulingInterrupted: AugmentedEvent<ApiType, [
3392
+ accountId: AccountId32,
3393
+ era: u32,
3394
+ error: SpRuntimeDispatchError
3395
+ ], {
3396
+ accountId: AccountId32;
3397
+ era: u32;
3398
+ error: SpRuntimeDispatchError;
3399
+ }>;
3400
+ /**
3401
+ * Slashing allowed has been updated.
3402
+ **/
3403
+ SlashingAllowedForChanged: AugmentedEvent<ApiType, [
3404
+ slashingSwitch: PalletValidatorsSlashingSwitch
3405
+ ], {
3406
+ slashingSwitch: PalletValidatorsSlashingSwitch;
3407
+ }>;
3408
+ };
3068
3409
  }
3069
3410
  }
3070
3411
  //# sourceMappingURL=augment-api-events.d.ts.map