@polymeshassociation/polymesh-types 7.2.0 → 7.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 (76) hide show
  1. package/.yarn/install-state.gz +0 -0
  2. package/CHANGELOG.md +3 -2
  3. package/generated/types.d.ts +68 -8
  4. package/generated/types.d.ts.map +1 -1
  5. package/generated/types.js +66 -2
  6. package/generated/types.js.map +1 -1
  7. package/package.json +4 -3
  8. package/polkadot/asset/definitions.js +4 -4
  9. package/polkadot/asset/definitions.js.map +1 -1
  10. package/polkadot/augment-api-consts.d.ts +126 -4
  11. package/polkadot/augment-api-consts.d.ts.map +1 -1
  12. package/polkadot/augment-api-errors.d.ts +438 -109
  13. package/polkadot/augment-api-errors.d.ts.map +1 -1
  14. package/polkadot/augment-api-events.d.ts +269 -175
  15. package/polkadot/augment-api-events.d.ts.map +1 -1
  16. package/polkadot/augment-api-query.d.ts +325 -93
  17. package/polkadot/augment-api-query.d.ts.map +1 -1
  18. package/polkadot/augment-api-rpc.d.ts +22 -25
  19. package/polkadot/augment-api-rpc.d.ts.map +1 -1
  20. package/polkadot/augment-api-runtime.d.ts +295 -32
  21. package/polkadot/augment-api-runtime.d.ts.map +1 -1
  22. package/polkadot/augment-api-tx.d.ts +1031 -506
  23. package/polkadot/augment-api-tx.d.ts.map +1 -1
  24. package/polkadot/augment-types.d.ts +19 -2
  25. package/polkadot/augment-types.d.ts.map +1 -1
  26. package/polkadot/identity/definitions.d.ts +0 -18
  27. package/polkadot/identity/definitions.d.ts.map +1 -1
  28. package/polkadot/identity/definitions.js +0 -42
  29. package/polkadot/identity/definitions.js.map +1 -1
  30. package/polkadot/lookup.d.ts +4383 -3218
  31. package/polkadot/lookup.d.ts.map +1 -1
  32. package/polkadot/lookup.js +4643 -3386
  33. package/polkadot/lookup.js.map +1 -1
  34. package/polkadot/nft/definitions.js +4 -4
  35. package/polkadot/nft/definitions.js.map +1 -1
  36. package/polkadot/polymesh/definitions.d.ts +93 -8
  37. package/polkadot/polymesh/definitions.d.ts.map +1 -1
  38. package/polkadot/polymesh/definitions.js +228 -12
  39. package/polkadot/polymesh/definitions.js.map +1 -1
  40. package/polkadot/polymesh/types.d.ts +129 -20
  41. package/polkadot/polymesh/types.d.ts.map +1 -1
  42. package/polkadot/registry.d.ts +107 -15
  43. package/polkadot/registry.d.ts.map +1 -1
  44. package/polkadot/schema.d.ts +93 -26
  45. package/polkadot/schema.d.ts.map +1 -1
  46. package/polkadot/schema.js +238 -64
  47. package/polkadot/schema.js.map +1 -1
  48. package/polkadot/settlement/definitions.js +2 -2
  49. package/polkadot/types-lookup.d.ts +5274 -4326
  50. package/polkadot/types-lookup.d.ts.map +1 -1
  51. package/rpc/index.d.ts +0 -18
  52. package/rpc/index.d.ts.map +1 -1
  53. package/rpc/index.js +10 -52
  54. package/rpc/index.js.map +1 -1
  55. package/runtime/assetApi/v5.d.ts +3 -0
  56. package/runtime/assetApi/v5.d.ts.map +1 -0
  57. package/runtime/assetApi/v5.js +32 -0
  58. package/runtime/assetApi/v5.js.map +1 -0
  59. package/runtime/index.d.ts.map +1 -1
  60. package/runtime/index.js +6 -0
  61. package/runtime/index.js.map +1 -1
  62. package/runtime/nftApi/v3.d.ts +3 -0
  63. package/runtime/nftApi/v3.d.ts.map +1 -0
  64. package/runtime/nftApi/v3.js +28 -0
  65. package/runtime/nftApi/v3.js.map +1 -0
  66. package/runtime/settlementApi/v3.d.ts +3 -0
  67. package/runtime/settlementApi/v3.d.ts.map +1 -0
  68. package/runtime/settlementApi/v3.js +74 -0
  69. package/runtime/settlementApi/v3.js.map +1 -0
  70. package/signedExtensions/index.d.ts +4 -0
  71. package/signedExtensions/index.d.ts.map +1 -1
  72. package/signedExtensions/index.js +4 -0
  73. package/signedExtensions/index.js.map +1 -1
  74. package/types/8.0.x.json +96 -15
  75. package/types/index.d.ts +477 -0
  76. package/types/index.d.ts.map +1 -1
@@ -2,12 +2,26 @@ import '@polkadot/api-base/types/events';
2
2
  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
- import type { AccountId32, H256, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
6
- import type { FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletBalancesUnexpectedKind, 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, PolymeshRuntimeTestnetRuntimeRuntimeHoldReason, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpStakingExposure } from '@polkadot/types/lookup';
5
+ import type { AccountId32, H160, H256, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
6
+ import type { FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletBalancesUnexpectedKind, PalletContractsOrigin, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, PalletCorporateActionsCaId, PalletCorporateActionsCorporateAction, PalletCorporateActionsDistribution, PalletCorporateActionsTargetIdentities, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletPipsProposalData, PalletPipsProposalState, PalletPipsProposer, PalletPipsSnapshottedPip, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStoFundingAsset, PalletStoFundraiser, PalletValidatorsSlashingSwitch, PolymeshContractsApi, PolymeshContractsChainExtensionExtrinsicId, PolymeshContractsChainVersion, PolymeshPrimitivesAgentAgentGroup, PolymeshPrimitivesAssetAssetHolder, PolymeshPrimitivesAssetAssetId, PolymeshPrimitivesAssetAssetType, PolymeshPrimitivesAssetHoldingsUpdateReason, PolymeshPrimitivesAssetIdentifier, PolymeshPrimitivesAssetMetadataAssetMetadataKey, PolymeshPrimitivesAssetMetadataAssetMetadataSpec, PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail, PolymeshPrimitivesAuthorizationAuthorizationData, PolymeshPrimitivesCheckpointScheduleCheckpoints, PolymeshPrimitivesComplianceManagerComplianceRequirement, PolymeshPrimitivesConditionTrustedIssuer, PolymeshPrimitivesDocument, PolymeshPrimitivesEventOnly, PolymeshPrimitivesIdentityClaim, PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityIdPortfolioId, PolymeshPrimitivesMaybeBlock, PolymeshPrimitivesMemo, PolymeshPrimitivesNftNfTs, PolymeshPrimitivesPortfolioFundDescription, PolymeshPrimitivesPosRatio, PolymeshPrimitivesSecondaryKey, PolymeshPrimitivesSecondaryKeyExtrinsicPermissions, PolymeshPrimitivesSecondaryKeyPermissions, PolymeshPrimitivesSettlementAffirmationRequirement, PolymeshPrimitivesSettlementLeg, PolymeshPrimitivesSettlementReceiptMetadata, PolymeshPrimitivesSettlementSettlementType, PolymeshPrimitivesSettlementVenueType, PolymeshPrimitivesStatisticsStatType, PolymeshPrimitivesStatisticsStatUpdate, PolymeshPrimitivesTicker, PolymeshPrimitivesTransferComplianceTransferCondition, PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, PolymeshRuntimeDevelopRuntimeRuntimeHoldReason, 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> {
10
10
  asset: {
11
+ /**
12
+ * A spender allowance was set for an asset.
13
+ **/
14
+ Approval: AugmentedEvent<ApiType, [
15
+ owner: AccountId32,
16
+ spender: AccountId32,
17
+ assetId: PolymeshPrimitivesAssetAssetId,
18
+ amount: u128
19
+ ], {
20
+ owner: AccountId32;
21
+ spender: AccountId32;
22
+ assetId: PolymeshPrimitivesAssetAssetId;
23
+ amount: u128;
24
+ }>;
11
25
  /**
12
26
  * An asset has been added to the list of pre aprroved receivement (valid for all identities).
13
27
  * Parameters: [`AssetId`] of the pre approved asset.
@@ -16,15 +30,15 @@ declare module '@polkadot/api-base/types/events' {
16
30
  /**
17
31
  * Emitted when Tokens were issued, redeemed or transferred.
18
32
  * Contains the [`IdentityId`] of the receiver/issuer/redeemer, the [`AssetId`] for the token, the balance that was issued/transferred/redeemed,
19
- * the [`PortfolioId`] of the source, the [`PortfolioId`] of the destination and the [`PortfolioUpdateReason`].
33
+ * the [`AssetHolder`] of the source, the [`AssetHolder`] of the destination and the [`HoldingsUpdateReason`].
20
34
  **/
21
35
  AssetBalanceUpdated: AugmentedEvent<ApiType, [
22
36
  PolymeshPrimitivesIdentityId,
23
37
  PolymeshPrimitivesAssetAssetId,
24
38
  u128,
25
- Option<PolymeshPrimitivesIdentityIdPortfolioId>,
26
- Option<PolymeshPrimitivesIdentityIdPortfolioId>,
27
- PolymeshPrimitivesPortfolioPortfolioUpdateReason
39
+ Option<PolymeshPrimitivesAssetAssetHolder>,
40
+ Option<PolymeshPrimitivesAssetAssetHolder>,
41
+ PolymeshPrimitivesAssetHoldingsUpdateReason
28
42
  ]>;
29
43
  /**
30
44
  * Event for creation of the asset.
@@ -108,9 +122,27 @@ declare module '@polkadot/api-base/types/events' {
108
122
  ControllerTransfer: AugmentedEvent<ApiType, [
109
123
  PolymeshPrimitivesIdentityId,
110
124
  PolymeshPrimitivesAssetAssetId,
111
- PolymeshPrimitivesIdentityIdPortfolioId,
125
+ PolymeshPrimitivesAssetAssetHolder,
112
126
  u128
113
127
  ]>;
128
+ /**
129
+ * An asset transfer has been created.
130
+ **/
131
+ CreatedAssetTransfer: AugmentedEvent<ApiType, [
132
+ assetId: PolymeshPrimitivesAssetAssetId,
133
+ from: AccountId32,
134
+ to: AccountId32,
135
+ amount: u128,
136
+ memo: Option<PolymeshPrimitivesMemo>,
137
+ pendingTransferId: Option<u64>
138
+ ], {
139
+ assetId: PolymeshPrimitivesAssetAssetId;
140
+ from: AccountId32;
141
+ to: AccountId32;
142
+ amount: u128;
143
+ memo: Option<PolymeshPrimitivesMemo>;
144
+ pendingTransferId: Option<u64>;
145
+ }>;
114
146
  /**
115
147
  * A custom asset type already exists on-chain.
116
148
  * caller DID, the ID of the custom asset type, the string contents registered.
@@ -323,11 +355,11 @@ declare module '@polkadot/api-base/types/events' {
323
355
  * Held balance was burned from an account.
324
356
  **/
325
357
  BurnedHeld: AugmentedEvent<ApiType, [
326
- reason: PolymeshRuntimeTestnetRuntimeRuntimeHoldReason,
358
+ reason: PolymeshRuntimeDevelopRuntimeRuntimeHoldReason,
327
359
  who: AccountId32,
328
360
  amount: u128
329
361
  ], {
330
- reason: PolymeshRuntimeTestnetRuntimeRuntimeHoldReason;
362
+ reason: PolymeshRuntimeDevelopRuntimeRuntimeHoldReason;
331
363
  who: AccountId32;
332
364
  amount: u128;
333
365
  }>;
@@ -376,11 +408,11 @@ declare module '@polkadot/api-base/types/events' {
376
408
  * Some balance was placed on hold.
377
409
  **/
378
410
  Held: AugmentedEvent<ApiType, [
379
- reason: PolymeshRuntimeTestnetRuntimeRuntimeHoldReason,
411
+ reason: PolymeshRuntimeDevelopRuntimeRuntimeHoldReason,
380
412
  who: AccountId32,
381
413
  amount: u128
382
414
  ], {
383
- reason: PolymeshRuntimeTestnetRuntimeRuntimeHoldReason;
415
+ reason: PolymeshRuntimeDevelopRuntimeRuntimeHoldReason;
384
416
  who: AccountId32;
385
417
  amount: u128;
386
418
  }>;
@@ -420,11 +452,11 @@ declare module '@polkadot/api-base/types/events' {
420
452
  * Some balance was released from hold.
421
453
  **/
422
454
  Released: AugmentedEvent<ApiType, [
423
- reason: PolymeshRuntimeTestnetRuntimeRuntimeHoldReason,
455
+ reason: PolymeshRuntimeDevelopRuntimeRuntimeHoldReason,
424
456
  who: AccountId32,
425
457
  amount: u128
426
458
  ], {
427
- reason: PolymeshRuntimeTestnetRuntimeRuntimeHoldReason;
459
+ reason: PolymeshRuntimeDevelopRuntimeRuntimeHoldReason;
428
460
  who: AccountId32;
429
461
  amount: u128;
430
462
  }>;
@@ -525,12 +557,12 @@ declare module '@polkadot/api-base/types/events' {
525
557
  * The `transferred` balance is placed on hold at the `dest` account.
526
558
  **/
527
559
  TransferAndHold: AugmentedEvent<ApiType, [
528
- reason: PolymeshRuntimeTestnetRuntimeRuntimeHoldReason,
560
+ reason: PolymeshRuntimeDevelopRuntimeRuntimeHoldReason,
529
561
  source: AccountId32,
530
562
  dest: AccountId32,
531
563
  transferred: u128
532
564
  ], {
533
- reason: PolymeshRuntimeTestnetRuntimeRuntimeHoldReason;
565
+ reason: PolymeshRuntimeDevelopRuntimeRuntimeHoldReason;
534
566
  source: AccountId32;
535
567
  dest: AccountId32;
536
568
  transferred: u128;
@@ -539,12 +571,12 @@ declare module '@polkadot/api-base/types/events' {
539
571
  * A transfer of `amount` on hold from `source` to `dest` was initiated.
540
572
  **/
541
573
  TransferOnHold: AugmentedEvent<ApiType, [
542
- reason: PolymeshRuntimeTestnetRuntimeRuntimeHoldReason,
574
+ reason: PolymeshRuntimeDevelopRuntimeRuntimeHoldReason,
543
575
  source: AccountId32,
544
576
  dest: AccountId32,
545
577
  amount: u128
546
578
  ], {
547
- reason: PolymeshRuntimeTestnetRuntimeRuntimeHoldReason;
579
+ reason: PolymeshRuntimeDevelopRuntimeRuntimeHoldReason;
548
580
  source: AccountId32;
549
581
  dest: AccountId32;
550
582
  amount: u128;
@@ -646,53 +678,6 @@ declare module '@polkadot/api-base/types/events' {
646
678
  **/
647
679
  Removed: AugmentedEvent<ApiType, [PolymeshPrimitivesEventOnly, PalletCorporateActionsCaId]>;
648
680
  };
649
- cddServiceProviders: {
650
- /**
651
- * The limit of how many active members there can be concurrently was changed.
652
- **/
653
- ActiveLimitChanged: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, u32]>;
654
- /**
655
- * The given member was added; see the transaction for who.
656
- * caller DID, New member DID.
657
- **/
658
- MemberAdded: AugmentedEvent<ApiType, [
659
- PolymeshPrimitivesIdentityId,
660
- PolymeshPrimitivesIdentityId
661
- ]>;
662
- /**
663
- * The given member was removed; see the transaction for who.
664
- * caller DID, member DID that get removed.
665
- **/
666
- MemberRemoved: AugmentedEvent<ApiType, [
667
- PolymeshPrimitivesIdentityId,
668
- PolymeshPrimitivesIdentityId
669
- ]>;
670
- /**
671
- * The given member has been revoked at specific time-stamp.
672
- * caller DID, member DID that get revoked.
673
- **/
674
- MemberRevoked: AugmentedEvent<ApiType, [
675
- PolymeshPrimitivesIdentityId,
676
- PolymeshPrimitivesIdentityId
677
- ]>;
678
- /**
679
- * The membership was reset; see the transaction for who the new set is.
680
- * caller DID, List of new members.
681
- **/
682
- MembersReset: AugmentedEvent<ApiType, [
683
- PolymeshPrimitivesIdentityId,
684
- Vec<PolymeshPrimitivesIdentityId>
685
- ]>;
686
- /**
687
- * Two members were swapped; see the transaction for who.
688
- * caller DID, Removed DID, New add DID.
689
- **/
690
- MembersSwapped: AugmentedEvent<ApiType, [
691
- PolymeshPrimitivesIdentityId,
692
- PolymeshPrimitivesIdentityId,
693
- PolymeshPrimitivesIdentityId
694
- ]>;
695
- };
696
681
  checkpoint: {
697
682
  /**
698
683
  * A checkpoint was created.
@@ -724,7 +709,7 @@ declare module '@polkadot/api-base/types/events' {
724
709
  PolymeshPrimitivesIdentityId,
725
710
  PolymeshPrimitivesAssetAssetId,
726
711
  u64,
727
- PolymeshCommonUtilitiesCheckpointScheduleCheckpoints
712
+ PolymeshPrimitivesCheckpointScheduleCheckpoints
728
713
  ]>;
729
714
  /**
730
715
  * A checkpoint schedule was removed.
@@ -735,7 +720,7 @@ declare module '@polkadot/api-base/types/events' {
735
720
  PolymeshPrimitivesIdentityId,
736
721
  PolymeshPrimitivesAssetAssetId,
737
722
  u64,
738
- PolymeshCommonUtilitiesCheckpointScheduleCheckpoints
723
+ PolymeshPrimitivesCheckpointScheduleCheckpoints
739
724
  ]>;
740
725
  };
741
726
  committeeMembership: {
@@ -1121,6 +1106,53 @@ declare module '@polkadot/api-base/types/events' {
1121
1106
  Vec<PalletCorporateActionsBallotBallotVote>
1122
1107
  ]>;
1123
1108
  };
1109
+ didRegistrars: {
1110
+ /**
1111
+ * The limit of how many active members there can be concurrently was changed.
1112
+ **/
1113
+ ActiveLimitChanged: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, u32]>;
1114
+ /**
1115
+ * The given member was added; see the transaction for who.
1116
+ * caller DID, New member DID.
1117
+ **/
1118
+ MemberAdded: AugmentedEvent<ApiType, [
1119
+ PolymeshPrimitivesIdentityId,
1120
+ PolymeshPrimitivesIdentityId
1121
+ ]>;
1122
+ /**
1123
+ * The given member was removed; see the transaction for who.
1124
+ * caller DID, member DID that get removed.
1125
+ **/
1126
+ MemberRemoved: AugmentedEvent<ApiType, [
1127
+ PolymeshPrimitivesIdentityId,
1128
+ PolymeshPrimitivesIdentityId
1129
+ ]>;
1130
+ /**
1131
+ * The given member has been revoked at specific time-stamp.
1132
+ * caller DID, member DID that get revoked.
1133
+ **/
1134
+ MemberRevoked: AugmentedEvent<ApiType, [
1135
+ PolymeshPrimitivesIdentityId,
1136
+ PolymeshPrimitivesIdentityId
1137
+ ]>;
1138
+ /**
1139
+ * The membership was reset; see the transaction for who the new set is.
1140
+ * caller DID, List of new members.
1141
+ **/
1142
+ MembersReset: AugmentedEvent<ApiType, [
1143
+ PolymeshPrimitivesIdentityId,
1144
+ Vec<PolymeshPrimitivesIdentityId>
1145
+ ]>;
1146
+ /**
1147
+ * Two members were swapped; see the transaction for who.
1148
+ * caller DID, Removed DID, New add DID.
1149
+ **/
1150
+ MembersSwapped: AugmentedEvent<ApiType, [
1151
+ PolymeshPrimitivesIdentityId,
1152
+ PolymeshPrimitivesIdentityId,
1153
+ PolymeshPrimitivesIdentityId
1154
+ ]>;
1155
+ };
1124
1156
  electionProviderMultiPhase: {
1125
1157
  /**
1126
1158
  * An election failed.
@@ -1277,15 +1309,6 @@ declare module '@polkadot/api-base/types/events' {
1277
1309
  }>;
1278
1310
  };
1279
1311
  identity: {
1280
- /**
1281
- * Asset's identity registered.
1282
- *
1283
- * (Asset DID, ticker)
1284
- **/
1285
- AssetDidRegistered: AugmentedEvent<ApiType, [
1286
- PolymeshPrimitivesIdentityId,
1287
- PolymeshPrimitivesTicker
1288
- ]>;
1289
1312
  /**
1290
1313
  * New authorization added.
1291
1314
  *
@@ -1339,39 +1362,6 @@ declare module '@polkadot/api-base/types/events' {
1339
1362
  Option<AccountId32>,
1340
1363
  u64
1341
1364
  ]>;
1342
- /**
1343
- * CDD claims generated by `IdentityId` (a CDD Provider) have been invalidated from
1344
- * `Moment`.
1345
- *
1346
- * (CDD provider DID, disable from date)
1347
- **/
1348
- CddClaimsInvalidated: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u64]>;
1349
- /**
1350
- * CDD requirement for updating primary key changed.
1351
- *
1352
- * (new_requirement)
1353
- **/
1354
- CddRequirementForPrimaryKeyUpdated: AugmentedEvent<ApiType, [bool]>;
1355
- /**
1356
- * Child identity created.
1357
- *
1358
- * (Parent DID, Child DID, primary key)
1359
- **/
1360
- ChildDidCreated: AugmentedEvent<ApiType, [
1361
- PolymeshPrimitivesIdentityId,
1362
- PolymeshPrimitivesIdentityId,
1363
- AccountId32
1364
- ]>;
1365
- /**
1366
- * Child identity unlinked from parent identity.
1367
- *
1368
- * (Caller DID, Parent DID, Child DID)
1369
- **/
1370
- ChildDidUnlinked: AugmentedEvent<ApiType, [
1371
- PolymeshPrimitivesIdentityId,
1372
- PolymeshPrimitivesIdentityId,
1373
- PolymeshPrimitivesIdentityId
1374
- ]>;
1375
1365
  /**
1376
1366
  * Claim added to identity.
1377
1367
  *
@@ -1722,15 +1712,15 @@ declare module '@polkadot/api-base/types/events' {
1722
1712
  ]>;
1723
1713
  /**
1724
1714
  * Emitted when NFTs were issued, redeemed or transferred.
1725
- * Contains the [`IdentityId`] of the receiver/issuer/redeemer, the [`NFTs`], the [`PortfolioId`] of the source, the [`PortfolioId`]
1726
- * of the destination and the [`PortfolioUpdateReason`].
1715
+ * Contains the [`IdentityId`] of the receiver/issuer/redeemer, the [`NFTs`], the [`AssetHolder`] of the source, the [`AssetHolder`]
1716
+ * of the destination and the [`HoldingsUpdateReason`].
1727
1717
  **/
1728
- NFTPortfolioUpdated: AugmentedEvent<ApiType, [
1718
+ NFTHoldingsUpdated: AugmentedEvent<ApiType, [
1729
1719
  PolymeshPrimitivesIdentityId,
1730
1720
  PolymeshPrimitivesNftNfTs,
1731
- Option<PolymeshPrimitivesIdentityIdPortfolioId>,
1732
- Option<PolymeshPrimitivesIdentityIdPortfolioId>,
1733
- PolymeshPrimitivesPortfolioPortfolioUpdateReason
1721
+ Option<PolymeshPrimitivesAssetAssetHolder>,
1722
+ Option<PolymeshPrimitivesAssetAssetHolder>,
1723
+ PolymeshPrimitivesAssetHoldingsUpdateReason
1734
1724
  ]>;
1735
1725
  };
1736
1726
  offences: {
@@ -2233,49 +2223,128 @@ declare module '@polkadot/api-base/types/events' {
2233
2223
  };
2234
2224
  relayer: {
2235
2225
  /**
2236
- * Accepted paying key.
2237
- *
2238
- * (Caller DID, User Key, Paying Key)
2226
+ * Accepted subsidy.
2239
2227
  **/
2240
- AcceptedPayingKey: AugmentedEvent<ApiType, [
2241
- PolymeshPrimitivesEventOnly,
2242
- AccountId32,
2243
- AccountId32
2244
- ]>;
2228
+ AcceptedSubsidy: AugmentedEvent<ApiType, [
2229
+ userKey: AccountId32,
2230
+ payingKey: AccountId32,
2231
+ initialPolyxLimit: u128
2232
+ ], {
2233
+ userKey: AccountId32;
2234
+ payingKey: AccountId32;
2235
+ initialPolyxLimit: u128;
2236
+ }>;
2245
2237
  /**
2246
- * Authorization given for `paying_key` to `user_key`.
2247
- *
2248
- * (Caller DID, User Key, Paying Key, Initial POLYX limit, Auth ID)
2238
+ * A `paying_key` has approved subsidy for a `user_key`.
2249
2239
  **/
2250
- AuthorizedPayingKey: AugmentedEvent<ApiType, [
2251
- PolymeshPrimitivesEventOnly,
2252
- AccountId32,
2253
- AccountId32,
2254
- u128,
2255
- u64
2256
- ]>;
2240
+ ApprovedSubsidy: AugmentedEvent<ApiType, [
2241
+ userKey: AccountId32,
2242
+ payingKey: AccountId32,
2243
+ initialPolyxLimit: u128
2244
+ ], {
2245
+ userKey: AccountId32;
2246
+ payingKey: AccountId32;
2247
+ initialPolyxLimit: u128;
2248
+ }>;
2257
2249
  /**
2258
- * Removed paying key.
2259
- *
2260
- * (Caller DID, User Key, Paying Key)
2250
+ * Relayed transaction.
2261
2251
  **/
2262
- RemovedPayingKey: AugmentedEvent<ApiType, [
2263
- PolymeshPrimitivesEventOnly,
2264
- AccountId32,
2265
- AccountId32
2266
- ]>;
2252
+ RelayedTx: AugmentedEvent<ApiType, [
2253
+ caller: AccountId32,
2254
+ target: AccountId32,
2255
+ result: Result<Null, SpRuntimeDispatchError>
2256
+ ], {
2257
+ caller: AccountId32;
2258
+ target: AccountId32;
2259
+ result: Result<Null, SpRuntimeDispatchError>;
2260
+ }>;
2261
+ /**
2262
+ * Removed pending subsidy.
2263
+ **/
2264
+ RemovedPendingSubsidy: AugmentedEvent<ApiType, [
2265
+ userKey: AccountId32,
2266
+ payingKey: AccountId32,
2267
+ initialPolyxLimit: u128
2268
+ ], {
2269
+ userKey: AccountId32;
2270
+ payingKey: AccountId32;
2271
+ initialPolyxLimit: u128;
2272
+ }>;
2273
+ /**
2274
+ * Removed subsidy.
2275
+ **/
2276
+ RemovedSubsidy: AugmentedEvent<ApiType, [
2277
+ userKey: AccountId32,
2278
+ payingKey: AccountId32,
2279
+ remaining: u128
2280
+ ], {
2281
+ userKey: AccountId32;
2282
+ payingKey: AccountId32;
2283
+ remaining: u128;
2284
+ }>;
2285
+ /**
2286
+ * The subsidy fee has been used to pay for a transaction or protocol fee.
2287
+ **/
2288
+ SubsidyDebited: AugmentedEvent<ApiType, [
2289
+ userKey: AccountId32,
2290
+ payingKey: AccountId32,
2291
+ amount: u128
2292
+ ], {
2293
+ userKey: AccountId32;
2294
+ payingKey: AccountId32;
2295
+ amount: u128;
2296
+ }>;
2267
2297
  /**
2268
2298
  * Updated polyx limit.
2269
- *
2270
- * (Caller DID, User Key, Paying Key, POLYX limit, old remaining POLYX)
2271
2299
  **/
2272
2300
  UpdatedPolyxLimit: AugmentedEvent<ApiType, [
2273
- PolymeshPrimitivesEventOnly,
2274
- AccountId32,
2275
- AccountId32,
2276
- u128,
2277
- u128
2278
- ]>;
2301
+ userKey: AccountId32,
2302
+ payingKey: AccountId32,
2303
+ remaining: u128,
2304
+ oldRemaining: u128
2305
+ ], {
2306
+ userKey: AccountId32;
2307
+ payingKey: AccountId32;
2308
+ remaining: u128;
2309
+ oldRemaining: u128;
2310
+ }>;
2311
+ };
2312
+ revive: {
2313
+ /**
2314
+ * A custom event emitted by the contract.
2315
+ **/
2316
+ ContractEmitted: AugmentedEvent<ApiType, [
2317
+ contract: H160,
2318
+ data: Bytes,
2319
+ topics: Vec<H256>
2320
+ ], {
2321
+ contract: H160;
2322
+ data: Bytes;
2323
+ topics: Vec<H256>;
2324
+ }>;
2325
+ /**
2326
+ * Emitted when an Ethereum transaction reverts.
2327
+ *
2328
+ * Ethereum transactions always complete successfully at the extrinsic level,
2329
+ * as even reverted calls must store their `ReceiptInfo`.
2330
+ * To distinguish reverted calls from successful ones, this event is emitted
2331
+ * for failed Ethereum transactions.
2332
+ **/
2333
+ EthExtrinsicRevert: AugmentedEvent<ApiType, [
2334
+ dispatchError: SpRuntimeDispatchError
2335
+ ], {
2336
+ dispatchError: SpRuntimeDispatchError;
2337
+ }>;
2338
+ /**
2339
+ * Contract deployed by deployer at the specified address.
2340
+ **/
2341
+ Instantiated: AugmentedEvent<ApiType, [
2342
+ deployer: H160,
2343
+ contract: H160
2344
+ ], {
2345
+ deployer: H160;
2346
+ contract: H160;
2347
+ }>;
2279
2348
  };
2280
2349
  scheduler: {
2281
2350
  /**
@@ -2408,11 +2477,11 @@ declare module '@polkadot/api-base/types/events' {
2408
2477
  };
2409
2478
  settlement: {
2410
2479
  /**
2411
- * An affirmation has been withdrawn (did, portfolio, instruction_id)
2480
+ * An affirmation has been withdrawn (did, asset_holder, instruction_id)
2412
2481
  **/
2413
2482
  AffirmationWithdrawn: AugmentedEvent<ApiType, [
2414
2483
  PolymeshPrimitivesIdentityId,
2415
- PolymeshPrimitivesIdentityIdPortfolioId,
2484
+ PolymeshPrimitivesAssetAssetHolder,
2416
2485
  u64
2417
2486
  ]>;
2418
2487
  /**
@@ -2420,20 +2489,20 @@ declare module '@polkadot/api-base/types/events' {
2420
2489
  **/
2421
2490
  FailedToExecuteInstruction: AugmentedEvent<ApiType, [u64, SpRuntimeDispatchError]>;
2422
2491
  /**
2423
- * An instruction has been affirmed (did, portfolio, instruction_id)
2492
+ * An instruction has been affirmed (did, asset_holder, instruction_id)
2424
2493
  **/
2425
2494
  InstructionAffirmed: AugmentedEvent<ApiType, [
2426
2495
  PolymeshPrimitivesIdentityId,
2427
- PolymeshPrimitivesIdentityIdPortfolioId,
2496
+ PolymeshPrimitivesAssetAssetHolder,
2428
2497
  u64
2429
2498
  ]>;
2430
2499
  /**
2431
2500
  * An instruction has been automatically affirmed.
2432
- * Parameters: [`IdentityId`] of the caller, [`PortfolioId`] of the receiver, and [`InstructionId`] of the instruction.
2501
+ * Parameters: [`IdentityId`] of the caller, [`AssetHolder`] of the receiver, and [`InstructionId`] of the instruction.
2433
2502
  **/
2434
2503
  InstructionAutomaticallyAffirmed: AugmentedEvent<ApiType, [
2435
2504
  PolymeshPrimitivesIdentityId,
2436
- PolymeshPrimitivesIdentityIdPortfolioId,
2505
+ PolymeshPrimitivesAssetAssetHolder,
2437
2506
  u64
2438
2507
  ]>;
2439
2508
  /**
@@ -2472,14 +2541,24 @@ declare module '@polkadot/api-base/types/events' {
2472
2541
  **/
2473
2542
  InstructionRejected: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u64]>;
2474
2543
  /**
2475
- * Instruction is rescheduled.
2476
- * (caller DID, instruction_id)
2544
+ * An instruction has been unlocked by a mediator.
2545
+ *
2546
+ * Parameters:
2547
+ * - `IdentityId`: The [`IdentityId`] of the mediator.
2548
+ * - `InstructionId`: The [`InstructionId`] of the instruction.
2477
2549
  **/
2478
- InstructionRescheduled: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u64]>;
2550
+ InstructionUnlocked: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u64]>;
2479
2551
  /**
2480
2552
  * Execution of a leg failed (did, instruction_id, leg_id)
2481
2553
  **/
2482
2554
  LegFailedExecution: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u64, u64]>;
2555
+ /**
2556
+ * An identity's mandatory receiver affirmation policy has been updated.
2557
+ **/
2558
+ MandatoryReceiverAffirmationSet: AugmentedEvent<ApiType, [
2559
+ PolymeshPrimitivesIdentityId,
2560
+ PolymeshPrimitivesSettlementAffirmationRequirement
2561
+ ]>;
2483
2562
  /**
2484
2563
  * An instruction has affirmed by a mediator.
2485
2564
  * Parameters: [`IdentityId`] of the mediator and [`InstructionId`] of the instruction.
@@ -2505,10 +2584,6 @@ declare module '@polkadot/api-base/types/events' {
2505
2584
  AccountId32,
2506
2585
  Option<PolymeshPrimitivesSettlementReceiptMetadata>
2507
2586
  ]>;
2508
- /**
2509
- * Scheduling of instruction fails.
2510
- **/
2511
- SchedulingFailed: AugmentedEvent<ApiType, [u64, SpRuntimeDispatchError]>;
2512
2587
  /**
2513
2588
  * Settlement manually executed (did, id)
2514
2589
  **/
@@ -2556,7 +2631,7 @@ declare module '@polkadot/api-base/types/events' {
2556
2631
  VenueSignersUpdated: AugmentedEvent<ApiType, [
2557
2632
  PolymeshPrimitivesIdentityId,
2558
2633
  u64,
2559
- Vec<AccountId32>,
2634
+ BTreeSet<AccountId32>,
2560
2635
  bool
2561
2636
  ]>;
2562
2637
  /**
@@ -2939,6 +3014,38 @@ declare module '@polkadot/api-base/types/events' {
2939
3014
  raiseAmount: u128;
2940
3015
  }>;
2941
3016
  };
3017
+ sudo: {
3018
+ /**
3019
+ * The sudo key has been updated.
3020
+ **/
3021
+ KeyChanged: AugmentedEvent<ApiType, [
3022
+ old: Option<AccountId32>,
3023
+ new_: AccountId32
3024
+ ], {
3025
+ old: Option<AccountId32>;
3026
+ new_: AccountId32;
3027
+ }>;
3028
+ /**
3029
+ * The key was permanently removed.
3030
+ **/
3031
+ KeyRemoved: AugmentedEvent<ApiType, []>;
3032
+ /**
3033
+ * A sudo call just took place.
3034
+ **/
3035
+ Sudid: AugmentedEvent<ApiType, [
3036
+ sudoResult: Result<Null, SpRuntimeDispatchError>
3037
+ ], {
3038
+ sudoResult: Result<Null, SpRuntimeDispatchError>;
3039
+ }>;
3040
+ /**
3041
+ * A [sudo_as](Pallet::sudo_as) call just took place.
3042
+ **/
3043
+ SudoAsDone: AugmentedEvent<ApiType, [
3044
+ sudoResult: Result<Null, SpRuntimeDispatchError>
3045
+ ], {
3046
+ sudoResult: Result<Null, SpRuntimeDispatchError>;
3047
+ }>;
3048
+ };
2942
3049
  system: {
2943
3050
  /**
2944
3051
  * `:code` was updated.
@@ -3360,19 +3467,6 @@ declare module '@polkadot/api-base/types/events' {
3360
3467
  ], {
3361
3468
  error: SpRuntimeDispatchError;
3362
3469
  }>;
3363
- /**
3364
- * Relayed transaction.
3365
- * POLYMESH: event.
3366
- **/
3367
- RelayedTx: AugmentedEvent<ApiType, [
3368
- callerDid: PolymeshPrimitivesIdentityId,
3369
- target: AccountId32,
3370
- result: Result<Null, SpRuntimeDispatchError>
3371
- ], {
3372
- callerDid: PolymeshPrimitivesIdentityId;
3373
- target: AccountId32;
3374
- result: Result<Null, SpRuntimeDispatchError>;
3375
- }>;
3376
3470
  };
3377
3471
  validators: {
3378
3472
  /**