@polymeshassociation/polymesh-types 7.2.0 → 7.4.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 +101 -8
  4. package/generated/types.d.ts.map +1 -1
  5. package/generated/types.js +101 -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 +220 -6
  11. package/polkadot/augment-api-consts.d.ts.map +1 -1
  12. package/polkadot/augment-api-errors.d.ts +630 -117
  13. package/polkadot/augment-api-errors.d.ts.map +1 -1
  14. package/polkadot/augment-api-events.d.ts +668 -176
  15. package/polkadot/augment-api-events.d.ts.map +1 -1
  16. package/polkadot/augment-api-query.d.ts +719 -94
  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 +1539 -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 +5163 -3246
  31. package/polkadot/lookup.d.ts.map +1 -1
  32. package/polkadot/lookup.js +6275 -4221
  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 +176 -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 +6016 -4313
  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
@@ -1,13 +1,43 @@
1
1
  import '@polkadot/api-base/types/events';
2
2
  import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
3
- import type { BTreeSet, Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u32, u64, u8 } from '@polkadot/types-codec';
3
+ import type { BTreeMap, BTreeSet, Bytes, Null, Option, Result, Struct, Text, 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, PalletConfidentialAssetsCurveTreeCurveTreeTimestamp, PalletConfidentialAssetsCurveTreeTimestampedTreeRoot, PalletConfidentialAssetsSettlementSettlementStatus, PalletContractsOrigin, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, PalletCorporateActionsCaId, PalletCorporateActionsCorporateAction, PalletCorporateActionsDistribution, PalletCorporateActionsTargetIdentities, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletPipsProposalData, PalletPipsProposalState, PalletPipsProposer, PalletPipsSnapshottedPip, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStoFundingAsset, PalletStoFundraiser, PalletValidatorsSlashingSwitch, PolymeshContractsApi, PolymeshContractsChainExtensionExtrinsicId, PolymeshContractsChainVersion, PolymeshDartBpAccountAccountStateCommitment, PolymeshDartBpBatchedProofHash, PolymeshDartBpFeeFeeAccountStateCommitment, PolymeshDartBpKeysAccountPublicKey, PolymeshDartBpKeysEncryptionPublicKey, PolymeshDartBpLegLegRef, PolymeshDartBpLegSettlementRef, PolymeshDartCurveTreeCommonCompressedLeafValue, PolymeshDartCurveTreeCompressedCurveTreeRoot, PolymeshPrimitivesAgentAgentGroup, PolymeshPrimitivesAssetAssetHolder, PolymeshPrimitivesAssetAssetId, PolymeshPrimitivesAssetAssetType, PolymeshPrimitivesAssetHoldingsUpdateReason, PolymeshPrimitivesAssetIdentifier, PolymeshPrimitivesAssetMetadataAssetMetadataKey, PolymeshPrimitivesAssetMetadataAssetMetadataSpec, PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail, PolymeshPrimitivesAuthorizationAuthorizationData, PolymeshPrimitivesCheckpointScheduleCheckpoints, PolymeshPrimitivesComplianceManagerComplianceRequirement, PolymeshPrimitivesConditionTrustedIssuer, PolymeshPrimitivesDocument, PolymeshPrimitivesEventOnly, PolymeshPrimitivesIdentityClaim, PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityIdPortfolioId, PolymeshPrimitivesMaybeBlock, PolymeshPrimitivesMemo, PolymeshPrimitivesNftNfTs, PolymeshPrimitivesPortfolioFund, 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 used part of an allowance.
13
+ **/
14
+ AllowanceSpent: AugmentedEvent<ApiType, [
15
+ owner: AccountId32,
16
+ spender: AccountId32,
17
+ assetId: PolymeshPrimitivesAssetAssetId,
18
+ amountSpent: u128,
19
+ remainingAllowance: u128
20
+ ], {
21
+ owner: AccountId32;
22
+ spender: AccountId32;
23
+ assetId: PolymeshPrimitivesAssetAssetId;
24
+ amountSpent: u128;
25
+ remainingAllowance: u128;
26
+ }>;
27
+ /**
28
+ * A spender allowance was set for an asset.
29
+ **/
30
+ Approval: AugmentedEvent<ApiType, [
31
+ owner: AccountId32,
32
+ spender: AccountId32,
33
+ assetId: PolymeshPrimitivesAssetAssetId,
34
+ amount: u128
35
+ ], {
36
+ owner: AccountId32;
37
+ spender: AccountId32;
38
+ assetId: PolymeshPrimitivesAssetAssetId;
39
+ amount: u128;
40
+ }>;
11
41
  /**
12
42
  * An asset has been added to the list of pre aprroved receivement (valid for all identities).
13
43
  * Parameters: [`AssetId`] of the pre approved asset.
@@ -16,15 +46,15 @@ declare module '@polkadot/api-base/types/events' {
16
46
  /**
17
47
  * Emitted when Tokens were issued, redeemed or transferred.
18
48
  * 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`].
49
+ * the [`AssetHolder`] of the source, the [`AssetHolder`] of the destination and the [`HoldingsUpdateReason`].
20
50
  **/
21
51
  AssetBalanceUpdated: AugmentedEvent<ApiType, [
22
52
  PolymeshPrimitivesIdentityId,
23
53
  PolymeshPrimitivesAssetAssetId,
24
54
  u128,
25
- Option<PolymeshPrimitivesIdentityIdPortfolioId>,
26
- Option<PolymeshPrimitivesIdentityIdPortfolioId>,
27
- PolymeshPrimitivesPortfolioPortfolioUpdateReason
55
+ Option<PolymeshPrimitivesAssetAssetHolder>,
56
+ Option<PolymeshPrimitivesAssetAssetHolder>,
57
+ PolymeshPrimitivesAssetHoldingsUpdateReason
28
58
  ]>;
29
59
  /**
30
60
  * Event for creation of the asset.
@@ -108,9 +138,27 @@ declare module '@polkadot/api-base/types/events' {
108
138
  ControllerTransfer: AugmentedEvent<ApiType, [
109
139
  PolymeshPrimitivesIdentityId,
110
140
  PolymeshPrimitivesAssetAssetId,
111
- PolymeshPrimitivesIdentityIdPortfolioId,
141
+ PolymeshPrimitivesAssetAssetHolder,
112
142
  u128
113
143
  ]>;
144
+ /**
145
+ * An asset transfer has been created.
146
+ **/
147
+ CreatedAssetTransfer: AugmentedEvent<ApiType, [
148
+ assetId: PolymeshPrimitivesAssetAssetId,
149
+ from: AccountId32,
150
+ to: AccountId32,
151
+ amount: u128,
152
+ memo: Option<PolymeshPrimitivesMemo>,
153
+ pendingTransferId: Option<u64>
154
+ ], {
155
+ assetId: PolymeshPrimitivesAssetAssetId;
156
+ from: AccountId32;
157
+ to: AccountId32;
158
+ amount: u128;
159
+ memo: Option<PolymeshPrimitivesMemo>;
160
+ pendingTransferId: Option<u64>;
161
+ }>;
114
162
  /**
115
163
  * A custom asset type already exists on-chain.
116
164
  * caller DID, the ID of the custom asset type, the string contents registered.
@@ -323,11 +371,11 @@ declare module '@polkadot/api-base/types/events' {
323
371
  * Held balance was burned from an account.
324
372
  **/
325
373
  BurnedHeld: AugmentedEvent<ApiType, [
326
- reason: PolymeshRuntimeTestnetRuntimeRuntimeHoldReason,
374
+ reason: PolymeshRuntimeDevelopRuntimeRuntimeHoldReason,
327
375
  who: AccountId32,
328
376
  amount: u128
329
377
  ], {
330
- reason: PolymeshRuntimeTestnetRuntimeRuntimeHoldReason;
378
+ reason: PolymeshRuntimeDevelopRuntimeRuntimeHoldReason;
331
379
  who: AccountId32;
332
380
  amount: u128;
333
381
  }>;
@@ -376,11 +424,11 @@ declare module '@polkadot/api-base/types/events' {
376
424
  * Some balance was placed on hold.
377
425
  **/
378
426
  Held: AugmentedEvent<ApiType, [
379
- reason: PolymeshRuntimeTestnetRuntimeRuntimeHoldReason,
427
+ reason: PolymeshRuntimeDevelopRuntimeRuntimeHoldReason,
380
428
  who: AccountId32,
381
429
  amount: u128
382
430
  ], {
383
- reason: PolymeshRuntimeTestnetRuntimeRuntimeHoldReason;
431
+ reason: PolymeshRuntimeDevelopRuntimeRuntimeHoldReason;
384
432
  who: AccountId32;
385
433
  amount: u128;
386
434
  }>;
@@ -420,11 +468,11 @@ declare module '@polkadot/api-base/types/events' {
420
468
  * Some balance was released from hold.
421
469
  **/
422
470
  Released: AugmentedEvent<ApiType, [
423
- reason: PolymeshRuntimeTestnetRuntimeRuntimeHoldReason,
471
+ reason: PolymeshRuntimeDevelopRuntimeRuntimeHoldReason,
424
472
  who: AccountId32,
425
473
  amount: u128
426
474
  ], {
427
- reason: PolymeshRuntimeTestnetRuntimeRuntimeHoldReason;
475
+ reason: PolymeshRuntimeDevelopRuntimeRuntimeHoldReason;
428
476
  who: AccountId32;
429
477
  amount: u128;
430
478
  }>;
@@ -525,12 +573,12 @@ declare module '@polkadot/api-base/types/events' {
525
573
  * The `transferred` balance is placed on hold at the `dest` account.
526
574
  **/
527
575
  TransferAndHold: AugmentedEvent<ApiType, [
528
- reason: PolymeshRuntimeTestnetRuntimeRuntimeHoldReason,
576
+ reason: PolymeshRuntimeDevelopRuntimeRuntimeHoldReason,
529
577
  source: AccountId32,
530
578
  dest: AccountId32,
531
579
  transferred: u128
532
580
  ], {
533
- reason: PolymeshRuntimeTestnetRuntimeRuntimeHoldReason;
581
+ reason: PolymeshRuntimeDevelopRuntimeRuntimeHoldReason;
534
582
  source: AccountId32;
535
583
  dest: AccountId32;
536
584
  transferred: u128;
@@ -539,12 +587,12 @@ declare module '@polkadot/api-base/types/events' {
539
587
  * A transfer of `amount` on hold from `source` to `dest` was initiated.
540
588
  **/
541
589
  TransferOnHold: AugmentedEvent<ApiType, [
542
- reason: PolymeshRuntimeTestnetRuntimeRuntimeHoldReason,
590
+ reason: PolymeshRuntimeDevelopRuntimeRuntimeHoldReason,
543
591
  source: AccountId32,
544
592
  dest: AccountId32,
545
593
  amount: u128
546
594
  ], {
547
- reason: PolymeshRuntimeTestnetRuntimeRuntimeHoldReason;
595
+ reason: PolymeshRuntimeDevelopRuntimeRuntimeHoldReason;
548
596
  source: AccountId32;
549
597
  dest: AccountId32;
550
598
  amount: u128;
@@ -646,53 +694,6 @@ declare module '@polkadot/api-base/types/events' {
646
694
  **/
647
695
  Removed: AugmentedEvent<ApiType, [PolymeshPrimitivesEventOnly, PalletCorporateActionsCaId]>;
648
696
  };
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
697
  checkpoint: {
697
698
  /**
698
699
  * A checkpoint was created.
@@ -724,7 +725,7 @@ declare module '@polkadot/api-base/types/events' {
724
725
  PolymeshPrimitivesIdentityId,
725
726
  PolymeshPrimitivesAssetAssetId,
726
727
  u64,
727
- PolymeshCommonUtilitiesCheckpointScheduleCheckpoints
728
+ PolymeshPrimitivesCheckpointScheduleCheckpoints
728
729
  ]>;
729
730
  /**
730
731
  * A checkpoint schedule was removed.
@@ -735,7 +736,7 @@ declare module '@polkadot/api-base/types/events' {
735
736
  PolymeshPrimitivesIdentityId,
736
737
  PolymeshPrimitivesAssetAssetId,
737
738
  u64,
738
- PolymeshCommonUtilitiesCheckpointScheduleCheckpoints
739
+ PolymeshPrimitivesCheckpointScheduleCheckpoints
739
740
  ]>;
740
741
  };
741
742
  committeeMembership: {
@@ -865,6 +866,308 @@ declare module '@polkadot/api-base/types/events' {
865
866
  PolymeshPrimitivesIdentityId
866
867
  ]>;
867
868
  };
869
+ confidentialAssets: {
870
+ /**
871
+ * Account asset registered.
872
+ **/
873
+ AccountAssetRegistered: AugmentedEvent<ApiType, [
874
+ callerDid: PolymeshPrimitivesIdentityId,
875
+ account: PolymeshDartBpKeysAccountPublicKey,
876
+ assetId: u32
877
+ ], {
878
+ callerDid: PolymeshPrimitivesIdentityId;
879
+ account: PolymeshDartBpKeysAccountPublicKey;
880
+ assetId: u32;
881
+ }>;
882
+ /**
883
+ * Account curve tree root updated.
884
+ **/
885
+ AccountCurveTreeRootUpdated: AugmentedEvent<ApiType, [
886
+ root: {
887
+ readonly root: PolymeshDartCurveTreeCompressedCurveTreeRoot;
888
+ readonly timestamp: PalletConfidentialAssetsCurveTreeCurveTreeTimestamp;
889
+ } & Struct
890
+ ], {
891
+ root: {
892
+ readonly root: PolymeshDartCurveTreeCompressedCurveTreeRoot;
893
+ readonly timestamp: PalletConfidentialAssetsCurveTreeCurveTreeTimestamp;
894
+ } & Struct;
895
+ }>;
896
+ /**
897
+ * A new Confidential account has been registered.
898
+ **/
899
+ AccountRegistered: AugmentedEvent<ApiType, [
900
+ callerDid: PolymeshPrimitivesIdentityId,
901
+ account: PolymeshDartBpKeysAccountPublicKey,
902
+ encryptionKey: PolymeshDartBpKeysEncryptionPublicKey
903
+ ], {
904
+ callerDid: PolymeshPrimitivesIdentityId;
905
+ account: PolymeshDartBpKeysAccountPublicKey;
906
+ encryptionKey: PolymeshDartBpKeysEncryptionPublicKey;
907
+ }>;
908
+ /**
909
+ * Account curve tree leaf inserted.
910
+ *
911
+ * This curve tree is append-only, so we only store the new leaf.
912
+ **/
913
+ AccountStateLeafInserted: AugmentedEvent<ApiType, [
914
+ leafIndex: u64,
915
+ accountCommitment: PolymeshDartBpAccountAccountStateCommitment
916
+ ], {
917
+ leafIndex: u64;
918
+ accountCommitment: PolymeshDartBpAccountAccountStateCommitment;
919
+ }>;
920
+ /**
921
+ * A new Confidential asset has been created.
922
+ **/
923
+ AssetCreated: AugmentedEvent<ApiType, [
924
+ callerDid: PolymeshPrimitivesIdentityId,
925
+ assetId: u32,
926
+ mediators: BTreeMap<PolymeshDartBpKeysAccountPublicKey, PolymeshDartBpKeysEncryptionPublicKey>,
927
+ auditors: BTreeSet<PolymeshDartBpKeysEncryptionPublicKey>,
928
+ name: Text,
929
+ symbol_: Text,
930
+ decimals: u8,
931
+ data: Bytes
932
+ ], {
933
+ callerDid: PolymeshPrimitivesIdentityId;
934
+ assetId: u32;
935
+ mediators: BTreeMap<PolymeshDartBpKeysAccountPublicKey, PolymeshDartBpKeysEncryptionPublicKey>;
936
+ auditors: BTreeSet<PolymeshDartBpKeysEncryptionPublicKey>;
937
+ name: Text;
938
+ symbol: Text;
939
+ decimals: u8;
940
+ data: Bytes;
941
+ }>;
942
+ /**
943
+ * Asset curve tree root updated.
944
+ **/
945
+ AssetCurveTreeRootUpdated: AugmentedEvent<ApiType, [
946
+ root: {
947
+ readonly root: PolymeshDartCurveTreeCompressedCurveTreeRoot;
948
+ readonly timestamp: PalletConfidentialAssetsCurveTreeCurveTreeTimestamp;
949
+ } & Struct
950
+ ], {
951
+ root: {
952
+ readonly root: PolymeshDartCurveTreeCompressedCurveTreeRoot;
953
+ readonly timestamp: PalletConfidentialAssetsCurveTreeCurveTreeTimestamp;
954
+ } & Struct;
955
+ }>;
956
+ /**
957
+ * Minted Confidential asset.
958
+ **/
959
+ AssetMinted: AugmentedEvent<ApiType, [
960
+ callerDid: PolymeshPrimitivesIdentityId,
961
+ assetId: u32,
962
+ amount: u128,
963
+ totalSupply: u128,
964
+ account: PolymeshDartBpKeysAccountPublicKey
965
+ ], {
966
+ callerDid: PolymeshPrimitivesIdentityId;
967
+ assetId: u32;
968
+ amount: u128;
969
+ totalSupply: u128;
970
+ account: PolymeshDartBpKeysAccountPublicKey;
971
+ }>;
972
+ /**
973
+ * An asset state leaf has been updated.
974
+ *
975
+ * This curve tree is mutable, so we can update existing leaves.
976
+ **/
977
+ AssetStateLeafUpdated: AugmentedEvent<ApiType, [
978
+ leafIndex: u64,
979
+ assetLeaf: PolymeshDartCurveTreeCommonCompressedLeafValue
980
+ ], {
981
+ leafIndex: u64;
982
+ assetLeaf: PolymeshDartCurveTreeCommonCompressedLeafValue;
983
+ }>;
984
+ /**
985
+ * A Confidential asset has been updated.
986
+ **/
987
+ AssetUpdated: AugmentedEvent<ApiType, [
988
+ callerDid: PolymeshPrimitivesIdentityId,
989
+ assetId: u32,
990
+ mediators: BTreeMap<PolymeshDartBpKeysAccountPublicKey, PolymeshDartBpKeysEncryptionPublicKey>,
991
+ auditors: BTreeSet<PolymeshDartBpKeysEncryptionPublicKey>
992
+ ], {
993
+ callerDid: PolymeshPrimitivesIdentityId;
994
+ assetId: u32;
995
+ mediators: BTreeMap<PolymeshDartBpKeysAccountPublicKey, PolymeshDartBpKeysEncryptionPublicKey>;
996
+ auditors: BTreeSet<PolymeshDartBpKeysEncryptionPublicKey>;
997
+ }>;
998
+ /**
999
+ * An encryption key has been registered.
1000
+ **/
1001
+ EncryptionKeyRegistered: AugmentedEvent<ApiType, [
1002
+ callerDid: PolymeshPrimitivesIdentityId,
1003
+ encryptionKey: PolymeshDartBpKeysEncryptionPublicKey
1004
+ ], {
1005
+ callerDid: PolymeshPrimitivesIdentityId;
1006
+ encryptionKey: PolymeshDartBpKeysEncryptionPublicKey;
1007
+ }>;
1008
+ /**
1009
+ * Fee account curve tree root updated.
1010
+ **/
1011
+ FeeAccountCurveTreeRootUpdated: AugmentedEvent<ApiType, [
1012
+ root: PalletConfidentialAssetsCurveTreeTimestampedTreeRoot
1013
+ ], {
1014
+ root: PalletConfidentialAssetsCurveTreeTimestampedTreeRoot;
1015
+ }>;
1016
+ /**
1017
+ * POLYX deposited into the fee account.
1018
+ **/
1019
+ FeeAccountDeposited: AugmentedEvent<ApiType, [
1020
+ sender: AccountId32,
1021
+ amount: u128
1022
+ ], {
1023
+ sender: AccountId32;
1024
+ amount: u128;
1025
+ }>;
1026
+ /**
1027
+ * Fee account curve tree leaf inserted.
1028
+ *
1029
+ * This curve tree is append-only, so we only store the new leaf.
1030
+ **/
1031
+ FeeAccountStateLeafInserted: AugmentedEvent<ApiType, [
1032
+ leafIndex: u64,
1033
+ feeAccountCommitment: PolymeshDartBpFeeFeeAccountStateCommitment
1034
+ ], {
1035
+ leafIndex: u64;
1036
+ feeAccountCommitment: PolymeshDartBpFeeFeeAccountStateCommitment;
1037
+ }>;
1038
+ /**
1039
+ * Fee account updated.
1040
+ *
1041
+ * This event is emitted for both registration and top-up of fee accounts.
1042
+ **/
1043
+ FeeAccountUpdated: AugmentedEvent<ApiType, [
1044
+ callerDid: PolymeshPrimitivesIdentityId,
1045
+ account: PolymeshDartBpKeysAccountPublicKey,
1046
+ isRegistration: bool,
1047
+ amount: u128
1048
+ ], {
1049
+ callerDid: PolymeshPrimitivesIdentityId;
1050
+ account: PolymeshDartBpKeysAccountPublicKey;
1051
+ isRegistration: bool;
1052
+ amount: u128;
1053
+ }>;
1054
+ /**
1055
+ * POLYX withdrawn from the fee account.
1056
+ **/
1057
+ FeeAccountWithdrawn: AugmentedEvent<ApiType, [
1058
+ receiver: AccountId32,
1059
+ amount: u128
1060
+ ], {
1061
+ receiver: AccountId32;
1062
+ amount: u128;
1063
+ }>;
1064
+ /**
1065
+ * Mediator has affirmed a leg.
1066
+ **/
1067
+ MediatorAffirmed: AugmentedEvent<ApiType, [
1068
+ legRef: PolymeshDartBpLegLegRef,
1069
+ keyIndex: u8
1070
+ ], {
1071
+ legRef: PolymeshDartBpLegLegRef;
1072
+ keyIndex: u8;
1073
+ }>;
1074
+ /**
1075
+ * Mediator has rejected a leg.
1076
+ **/
1077
+ MediatorRejected: AugmentedEvent<ApiType, [
1078
+ legRef: PolymeshDartBpLegLegRef,
1079
+ keyIndex: u8
1080
+ ], {
1081
+ legRef: PolymeshDartBpLegLegRef;
1082
+ keyIndex: u8;
1083
+ }>;
1084
+ /**
1085
+ * Receiver has reverted their affirmation for a leg.
1086
+ **/
1087
+ ReceiverAffirmationReverted: AugmentedEvent<ApiType, [
1088
+ legRef: PolymeshDartBpLegLegRef
1089
+ ], {
1090
+ legRef: PolymeshDartBpLegLegRef;
1091
+ }>;
1092
+ /**
1093
+ * Receiver has affirmed a leg.
1094
+ **/
1095
+ ReceiverAffirmed: AugmentedEvent<ApiType, [
1096
+ legRef: PolymeshDartBpLegLegRef
1097
+ ], {
1098
+ legRef: PolymeshDartBpLegLegRef;
1099
+ }>;
1100
+ /**
1101
+ * Receiver has claimed assets.
1102
+ **/
1103
+ ReceiverClaimed: AugmentedEvent<ApiType, [
1104
+ legRef: PolymeshDartBpLegLegRef
1105
+ ], {
1106
+ legRef: PolymeshDartBpLegLegRef;
1107
+ }>;
1108
+ /**
1109
+ * Relayer submitted batched proofs including fee payment.
1110
+ **/
1111
+ RelayerBatchedProofs: AugmentedEvent<ApiType, [
1112
+ relayer: AccountId32,
1113
+ amount: u128,
1114
+ batchHash: PolymeshDartBpBatchedProofHash,
1115
+ batchResult: Result<Null, SpRuntimeDispatchError>
1116
+ ], {
1117
+ relayer: AccountId32;
1118
+ amount: u128;
1119
+ batchHash: PolymeshDartBpBatchedProofHash;
1120
+ batchResult: Result<Null, SpRuntimeDispatchError>;
1121
+ }>;
1122
+ /**
1123
+ * Sender has reverted their affirmation for a leg.
1124
+ **/
1125
+ SenderAffirmationReverted: AugmentedEvent<ApiType, [
1126
+ legRef: PolymeshDartBpLegLegRef
1127
+ ], {
1128
+ legRef: PolymeshDartBpLegLegRef;
1129
+ }>;
1130
+ /**
1131
+ * Sender has affirmed a leg.
1132
+ **/
1133
+ SenderAffirmed: AugmentedEvent<ApiType, [
1134
+ legRef: PolymeshDartBpLegLegRef
1135
+ ], {
1136
+ legRef: PolymeshDartBpLegLegRef;
1137
+ }>;
1138
+ /**
1139
+ * Sender updated counter.
1140
+ **/
1141
+ SenderCounterUpdated: AugmentedEvent<ApiType, [
1142
+ legRef: PolymeshDartBpLegLegRef
1143
+ ], {
1144
+ legRef: PolymeshDartBpLegLegRef;
1145
+ }>;
1146
+ /**
1147
+ * Settlement created.
1148
+ **/
1149
+ SettlementCreated: AugmentedEvent<ApiType, [
1150
+ settlementRef: PolymeshDartBpLegSettlementRef,
1151
+ memo: Bytes,
1152
+ assetRootBlock: u32,
1153
+ legs: Vec<Bytes>
1154
+ ], {
1155
+ settlementRef: PolymeshDartBpLegSettlementRef;
1156
+ memo: Bytes;
1157
+ assetRootBlock: u32;
1158
+ legs: Vec<Bytes>;
1159
+ }>;
1160
+ /**
1161
+ * Settlement status updated.
1162
+ **/
1163
+ SettlementStatusUpdated: AugmentedEvent<ApiType, [
1164
+ settlementRef: PolymeshDartBpLegSettlementRef,
1165
+ status: PalletConfidentialAssetsSettlementSettlementStatus
1166
+ ], {
1167
+ settlementRef: PolymeshDartBpLegSettlementRef;
1168
+ status: PalletConfidentialAssetsSettlementSettlementStatus;
1169
+ }>;
1170
+ };
868
1171
  contracts: {
869
1172
  /**
870
1173
  * A contract was called either by a plain account or another contract.
@@ -1121,6 +1424,53 @@ declare module '@polkadot/api-base/types/events' {
1121
1424
  Vec<PalletCorporateActionsBallotBallotVote>
1122
1425
  ]>;
1123
1426
  };
1427
+ didRegistrars: {
1428
+ /**
1429
+ * The limit of how many active members there can be concurrently was changed.
1430
+ **/
1431
+ ActiveLimitChanged: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, u32]>;
1432
+ /**
1433
+ * The given member was added; see the transaction for who.
1434
+ * caller DID, New member DID.
1435
+ **/
1436
+ MemberAdded: AugmentedEvent<ApiType, [
1437
+ PolymeshPrimitivesIdentityId,
1438
+ PolymeshPrimitivesIdentityId
1439
+ ]>;
1440
+ /**
1441
+ * The given member was removed; see the transaction for who.
1442
+ * caller DID, member DID that get removed.
1443
+ **/
1444
+ MemberRemoved: AugmentedEvent<ApiType, [
1445
+ PolymeshPrimitivesIdentityId,
1446
+ PolymeshPrimitivesIdentityId
1447
+ ]>;
1448
+ /**
1449
+ * The given member has been revoked at specific time-stamp.
1450
+ * caller DID, member DID that get revoked.
1451
+ **/
1452
+ MemberRevoked: AugmentedEvent<ApiType, [
1453
+ PolymeshPrimitivesIdentityId,
1454
+ PolymeshPrimitivesIdentityId
1455
+ ]>;
1456
+ /**
1457
+ * The membership was reset; see the transaction for who the new set is.
1458
+ * caller DID, List of new members.
1459
+ **/
1460
+ MembersReset: AugmentedEvent<ApiType, [
1461
+ PolymeshPrimitivesIdentityId,
1462
+ Vec<PolymeshPrimitivesIdentityId>
1463
+ ]>;
1464
+ /**
1465
+ * Two members were swapped; see the transaction for who.
1466
+ * caller DID, Removed DID, New add DID.
1467
+ **/
1468
+ MembersSwapped: AugmentedEvent<ApiType, [
1469
+ PolymeshPrimitivesIdentityId,
1470
+ PolymeshPrimitivesIdentityId,
1471
+ PolymeshPrimitivesIdentityId
1472
+ ]>;
1473
+ };
1124
1474
  electionProviderMultiPhase: {
1125
1475
  /**
1126
1476
  * An election failed.
@@ -1277,15 +1627,6 @@ declare module '@polkadot/api-base/types/events' {
1277
1627
  }>;
1278
1628
  };
1279
1629
  identity: {
1280
- /**
1281
- * Asset's identity registered.
1282
- *
1283
- * (Asset DID, ticker)
1284
- **/
1285
- AssetDidRegistered: AugmentedEvent<ApiType, [
1286
- PolymeshPrimitivesIdentityId,
1287
- PolymeshPrimitivesTicker
1288
- ]>;
1289
1630
  /**
1290
1631
  * New authorization added.
1291
1632
  *
@@ -1339,39 +1680,6 @@ declare module '@polkadot/api-base/types/events' {
1339
1680
  Option<AccountId32>,
1340
1681
  u64
1341
1682
  ]>;
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
1683
  /**
1376
1684
  * Claim added to identity.
1377
1685
  *
@@ -1531,6 +1839,71 @@ declare module '@polkadot/api-base/types/events' {
1531
1839
  who: AccountId32;
1532
1840
  }>;
1533
1841
  };
1842
+ multiBlockMigrations: {
1843
+ /**
1844
+ * The set of historical migrations has been cleared.
1845
+ **/
1846
+ HistoricCleared: AugmentedEvent<ApiType, [
1847
+ nextCursor: Option<Bytes>
1848
+ ], {
1849
+ nextCursor: Option<Bytes>;
1850
+ }>;
1851
+ /**
1852
+ * A migration progressed.
1853
+ **/
1854
+ MigrationAdvanced: AugmentedEvent<ApiType, [
1855
+ index: u32,
1856
+ took: u32
1857
+ ], {
1858
+ index: u32;
1859
+ took: u32;
1860
+ }>;
1861
+ /**
1862
+ * A Migration completed.
1863
+ **/
1864
+ MigrationCompleted: AugmentedEvent<ApiType, [
1865
+ index: u32,
1866
+ took: u32
1867
+ ], {
1868
+ index: u32;
1869
+ took: u32;
1870
+ }>;
1871
+ /**
1872
+ * A Migration failed.
1873
+ *
1874
+ * This implies that the whole upgrade failed and governance intervention is required.
1875
+ **/
1876
+ MigrationFailed: AugmentedEvent<ApiType, [index: u32, took: u32], {
1877
+ index: u32;
1878
+ took: u32;
1879
+ }>;
1880
+ /**
1881
+ * A migration was skipped since it was already executed in the past.
1882
+ **/
1883
+ MigrationSkipped: AugmentedEvent<ApiType, [index: u32], {
1884
+ index: u32;
1885
+ }>;
1886
+ /**
1887
+ * The current runtime upgrade completed.
1888
+ *
1889
+ * This implies that all of its migrations completed successfully as well.
1890
+ **/
1891
+ UpgradeCompleted: AugmentedEvent<ApiType, []>;
1892
+ /**
1893
+ * Runtime upgrade failed.
1894
+ *
1895
+ * This is very bad and will require governance intervention.
1896
+ **/
1897
+ UpgradeFailed: AugmentedEvent<ApiType, []>;
1898
+ /**
1899
+ * A Runtime upgrade started.
1900
+ *
1901
+ * Its end is indicated by `UpgradeCompleted` or `UpgradeFailed`.
1902
+ **/
1903
+ UpgradeStarted: AugmentedEvent<ApiType, [migrations: u32], {
1904
+ migrations: u32;
1905
+ }>;
1906
+ };
1534
1907
  multiSig: {
1535
1908
  /**
1536
1909
  * A Multisig has added an admin DID.
@@ -1722,15 +2095,15 @@ declare module '@polkadot/api-base/types/events' {
1722
2095
  ]>;
1723
2096
  /**
1724
2097
  * 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`].
2098
+ * Contains the [`IdentityId`] of the receiver/issuer/redeemer, the [`NFTs`], the [`AssetHolder`] of the source, the [`AssetHolder`]
2099
+ * of the destination and the [`HoldingsUpdateReason`].
1727
2100
  **/
1728
- NFTPortfolioUpdated: AugmentedEvent<ApiType, [
2101
+ NFTHoldingsUpdated: AugmentedEvent<ApiType, [
1729
2102
  PolymeshPrimitivesIdentityId,
1730
2103
  PolymeshPrimitivesNftNfTs,
1731
- Option<PolymeshPrimitivesIdentityIdPortfolioId>,
1732
- Option<PolymeshPrimitivesIdentityIdPortfolioId>,
1733
- PolymeshPrimitivesPortfolioPortfolioUpdateReason
2104
+ Option<PolymeshPrimitivesAssetAssetHolder>,
2105
+ Option<PolymeshPrimitivesAssetAssetHolder>,
2106
+ PolymeshPrimitivesAssetHoldingsUpdateReason
1734
2107
  ]>;
1735
2108
  };
1736
2109
  offences: {
@@ -2233,49 +2606,128 @@ declare module '@polkadot/api-base/types/events' {
2233
2606
  };
2234
2607
  relayer: {
2235
2608
  /**
2236
- * Accepted paying key.
2237
- *
2238
- * (Caller DID, User Key, Paying Key)
2609
+ * Accepted subsidy.
2239
2610
  **/
2240
- AcceptedPayingKey: AugmentedEvent<ApiType, [
2241
- PolymeshPrimitivesEventOnly,
2242
- AccountId32,
2243
- AccountId32
2244
- ]>;
2611
+ AcceptedSubsidy: AugmentedEvent<ApiType, [
2612
+ userKey: AccountId32,
2613
+ payingKey: AccountId32,
2614
+ initialPolyxLimit: u128
2615
+ ], {
2616
+ userKey: AccountId32;
2617
+ payingKey: AccountId32;
2618
+ initialPolyxLimit: u128;
2619
+ }>;
2245
2620
  /**
2246
- * Authorization given for `paying_key` to `user_key`.
2247
- *
2248
- * (Caller DID, User Key, Paying Key, Initial POLYX limit, Auth ID)
2621
+ * A `paying_key` has approved subsidy for a `user_key`.
2249
2622
  **/
2250
- AuthorizedPayingKey: AugmentedEvent<ApiType, [
2251
- PolymeshPrimitivesEventOnly,
2252
- AccountId32,
2253
- AccountId32,
2254
- u128,
2255
- u64
2256
- ]>;
2623
+ ApprovedSubsidy: AugmentedEvent<ApiType, [
2624
+ userKey: AccountId32,
2625
+ payingKey: AccountId32,
2626
+ initialPolyxLimit: u128
2627
+ ], {
2628
+ userKey: AccountId32;
2629
+ payingKey: AccountId32;
2630
+ initialPolyxLimit: u128;
2631
+ }>;
2257
2632
  /**
2258
- * Removed paying key.
2259
- *
2260
- * (Caller DID, User Key, Paying Key)
2633
+ * Relayed transaction.
2261
2634
  **/
2262
- RemovedPayingKey: AugmentedEvent<ApiType, [
2263
- PolymeshPrimitivesEventOnly,
2264
- AccountId32,
2265
- AccountId32
2266
- ]>;
2635
+ RelayedTx: AugmentedEvent<ApiType, [
2636
+ caller: AccountId32,
2637
+ target: AccountId32,
2638
+ result: Result<Null, SpRuntimeDispatchError>
2639
+ ], {
2640
+ caller: AccountId32;
2641
+ target: AccountId32;
2642
+ result: Result<Null, SpRuntimeDispatchError>;
2643
+ }>;
2644
+ /**
2645
+ * Removed pending subsidy.
2646
+ **/
2647
+ RemovedPendingSubsidy: AugmentedEvent<ApiType, [
2648
+ userKey: AccountId32,
2649
+ payingKey: AccountId32,
2650
+ initialPolyxLimit: u128
2651
+ ], {
2652
+ userKey: AccountId32;
2653
+ payingKey: AccountId32;
2654
+ initialPolyxLimit: u128;
2655
+ }>;
2656
+ /**
2657
+ * Removed subsidy.
2658
+ **/
2659
+ RemovedSubsidy: AugmentedEvent<ApiType, [
2660
+ userKey: AccountId32,
2661
+ payingKey: AccountId32,
2662
+ remaining: u128
2663
+ ], {
2664
+ userKey: AccountId32;
2665
+ payingKey: AccountId32;
2666
+ remaining: u128;
2667
+ }>;
2668
+ /**
2669
+ * The subsidy fee has been used to pay for a transaction or protocol fee.
2670
+ **/
2671
+ SubsidyDebited: AugmentedEvent<ApiType, [
2672
+ userKey: AccountId32,
2673
+ payingKey: AccountId32,
2674
+ amount: u128
2675
+ ], {
2676
+ userKey: AccountId32;
2677
+ payingKey: AccountId32;
2678
+ amount: u128;
2679
+ }>;
2267
2680
  /**
2268
2681
  * Updated polyx limit.
2269
- *
2270
- * (Caller DID, User Key, Paying Key, POLYX limit, old remaining POLYX)
2271
2682
  **/
2272
2683
  UpdatedPolyxLimit: AugmentedEvent<ApiType, [
2273
- PolymeshPrimitivesEventOnly,
2274
- AccountId32,
2275
- AccountId32,
2276
- u128,
2277
- u128
2278
- ]>;
2684
+ userKey: AccountId32,
2685
+ payingKey: AccountId32,
2686
+ remaining: u128,
2687
+ oldRemaining: u128
2688
+ ], {
2689
+ userKey: AccountId32;
2690
+ payingKey: AccountId32;
2691
+ remaining: u128;
2692
+ oldRemaining: u128;
2693
+ }>;
2694
+ };
2695
+ revive: {
2696
+ /**
2697
+ * A custom event emitted by the contract.
2698
+ **/
2699
+ ContractEmitted: AugmentedEvent<ApiType, [
2700
+ contract: H160,
2701
+ data: Bytes,
2702
+ topics: Vec<H256>
2703
+ ], {
2704
+ contract: H160;
2705
+ data: Bytes;
2706
+ topics: Vec<H256>;
2707
+ }>;
2708
+ /**
2709
+ * Emitted when an Ethereum transaction reverts.
2710
+ *
2711
+ * Ethereum transactions always complete successfully at the extrinsic level,
2712
+ * as even reverted calls must store their `ReceiptInfo`.
2713
+ * To distinguish reverted calls from successful ones, this event is emitted
2714
+ * for failed Ethereum transactions.
2715
+ **/
2716
+ EthExtrinsicRevert: AugmentedEvent<ApiType, [
2717
+ dispatchError: SpRuntimeDispatchError
2718
+ ], {
2719
+ dispatchError: SpRuntimeDispatchError;
2720
+ }>;
2721
+ /**
2722
+ * Contract deployed by deployer at the specified address.
2723
+ **/
2724
+ Instantiated: AugmentedEvent<ApiType, [
2725
+ deployer: H160,
2726
+ contract: H160
2727
+ ], {
2728
+ deployer: H160;
2729
+ contract: H160;
2730
+ }>;
2279
2731
  };
2280
2732
  scheduler: {
2281
2733
  /**
@@ -2408,11 +2860,11 @@ declare module '@polkadot/api-base/types/events' {
2408
2860
  };
2409
2861
  settlement: {
2410
2862
  /**
2411
- * An affirmation has been withdrawn (did, portfolio, instruction_id)
2863
+ * An affirmation has been withdrawn (did, asset_holder, instruction_id)
2412
2864
  **/
2413
2865
  AffirmationWithdrawn: AugmentedEvent<ApiType, [
2414
2866
  PolymeshPrimitivesIdentityId,
2415
- PolymeshPrimitivesIdentityIdPortfolioId,
2867
+ PolymeshPrimitivesAssetAssetHolder,
2416
2868
  u64
2417
2869
  ]>;
2418
2870
  /**
@@ -2420,20 +2872,35 @@ declare module '@polkadot/api-base/types/events' {
2420
2872
  **/
2421
2873
  FailedToExecuteInstruction: AugmentedEvent<ApiType, [u64, SpRuntimeDispatchError]>;
2422
2874
  /**
2423
- * An instruction has been affirmed (did, portfolio, instruction_id)
2875
+ * Funds have been transferred
2876
+ *
2877
+ * Parameters:
2878
+ * - `IdentityId`: The [`IdentityId`] of the caller.
2879
+ * - `AssetHolder`: The source [`AssetHolder`] of the transfer.
2880
+ * - `AssetHolder`: The destination [`AssetHolder`] of the transfer.
2881
+ * - `Fund`: The [`Fund`] being transferred.
2882
+ **/
2883
+ FundsTransferred: AugmentedEvent<ApiType, [
2884
+ PolymeshPrimitivesIdentityId,
2885
+ PolymeshPrimitivesAssetAssetHolder,
2886
+ PolymeshPrimitivesAssetAssetHolder,
2887
+ PolymeshPrimitivesPortfolioFund
2888
+ ]>;
2889
+ /**
2890
+ * An instruction has been affirmed (did, asset_holder, instruction_id)
2424
2891
  **/
2425
2892
  InstructionAffirmed: AugmentedEvent<ApiType, [
2426
2893
  PolymeshPrimitivesIdentityId,
2427
- PolymeshPrimitivesIdentityIdPortfolioId,
2894
+ PolymeshPrimitivesAssetAssetHolder,
2428
2895
  u64
2429
2896
  ]>;
2430
2897
  /**
2431
2898
  * An instruction has been automatically affirmed.
2432
- * Parameters: [`IdentityId`] of the caller, [`PortfolioId`] of the receiver, and [`InstructionId`] of the instruction.
2899
+ * Parameters: [`IdentityId`] of the caller, [`AssetHolder`] of the receiver, and [`InstructionId`] of the instruction.
2433
2900
  **/
2434
2901
  InstructionAutomaticallyAffirmed: AugmentedEvent<ApiType, [
2435
2902
  PolymeshPrimitivesIdentityId,
2436
- PolymeshPrimitivesIdentityIdPortfolioId,
2903
+ PolymeshPrimitivesAssetAssetHolder,
2437
2904
  u64
2438
2905
  ]>;
2439
2906
  /**
@@ -2472,14 +2939,24 @@ declare module '@polkadot/api-base/types/events' {
2472
2939
  **/
2473
2940
  InstructionRejected: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u64]>;
2474
2941
  /**
2475
- * Instruction is rescheduled.
2476
- * (caller DID, instruction_id)
2942
+ * An instruction has been unlocked by a mediator.
2943
+ *
2944
+ * Parameters:
2945
+ * - `IdentityId`: The [`IdentityId`] of the mediator.
2946
+ * - `InstructionId`: The [`InstructionId`] of the instruction.
2477
2947
  **/
2478
- InstructionRescheduled: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u64]>;
2948
+ InstructionUnlocked: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u64]>;
2479
2949
  /**
2480
2950
  * Execution of a leg failed (did, instruction_id, leg_id)
2481
2951
  **/
2482
2952
  LegFailedExecution: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u64, u64]>;
2953
+ /**
2954
+ * An identity's mandatory receiver affirmation policy has been updated.
2955
+ **/
2956
+ MandatoryReceiverAffirmationSet: AugmentedEvent<ApiType, [
2957
+ PolymeshPrimitivesIdentityId,
2958
+ PolymeshPrimitivesSettlementAffirmationRequirement
2959
+ ]>;
2483
2960
  /**
2484
2961
  * An instruction has affirmed by a mediator.
2485
2962
  * Parameters: [`IdentityId`] of the mediator and [`InstructionId`] of the instruction.
@@ -2505,10 +2982,6 @@ declare module '@polkadot/api-base/types/events' {
2505
2982
  AccountId32,
2506
2983
  Option<PolymeshPrimitivesSettlementReceiptMetadata>
2507
2984
  ]>;
2508
- /**
2509
- * Scheduling of instruction fails.
2510
- **/
2511
- SchedulingFailed: AugmentedEvent<ApiType, [u64, SpRuntimeDispatchError]>;
2512
2985
  /**
2513
2986
  * Settlement manually executed (did, id)
2514
2987
  **/
@@ -2556,7 +3029,7 @@ declare module '@polkadot/api-base/types/events' {
2556
3029
  VenueSignersUpdated: AugmentedEvent<ApiType, [
2557
3030
  PolymeshPrimitivesIdentityId,
2558
3031
  u64,
2559
- Vec<AccountId32>,
3032
+ BTreeSet<AccountId32>,
2560
3033
  bool
2561
3034
  ]>;
2562
3035
  /**
@@ -2939,6 +3412,38 @@ declare module '@polkadot/api-base/types/events' {
2939
3412
  raiseAmount: u128;
2940
3413
  }>;
2941
3414
  };
3415
+ sudo: {
3416
+ /**
3417
+ * The sudo key has been updated.
3418
+ **/
3419
+ KeyChanged: AugmentedEvent<ApiType, [
3420
+ old: Option<AccountId32>,
3421
+ new_: AccountId32
3422
+ ], {
3423
+ old: Option<AccountId32>;
3424
+ new_: AccountId32;
3425
+ }>;
3426
+ /**
3427
+ * The key was permanently removed.
3428
+ **/
3429
+ KeyRemoved: AugmentedEvent<ApiType, []>;
3430
+ /**
3431
+ * A sudo call just took place.
3432
+ **/
3433
+ Sudid: AugmentedEvent<ApiType, [
3434
+ sudoResult: Result<Null, SpRuntimeDispatchError>
3435
+ ], {
3436
+ sudoResult: Result<Null, SpRuntimeDispatchError>;
3437
+ }>;
3438
+ /**
3439
+ * A [sudo_as](Pallet::sudo_as) call just took place.
3440
+ **/
3441
+ SudoAsDone: AugmentedEvent<ApiType, [
3442
+ sudoResult: Result<Null, SpRuntimeDispatchError>
3443
+ ], {
3444
+ sudoResult: Result<Null, SpRuntimeDispatchError>;
3445
+ }>;
3446
+ };
2942
3447
  system: {
2943
3448
  /**
2944
3449
  * `:code` was updated.
@@ -3360,19 +3865,6 @@ declare module '@polkadot/api-base/types/events' {
3360
3865
  ], {
3361
3866
  error: SpRuntimeDispatchError;
3362
3867
  }>;
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
3868
  };
3377
3869
  validators: {
3378
3870
  /**