@polymeshassociation/polymesh-sdk 26.0.0-alpha.4 → 26.0.0-alpha.6

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 (105) hide show
  1. package/CHANGELOG.md +6 -7
  2. package/api/client/Assets.js +1 -1
  3. package/api/entities/Account/index.d.ts.map +1 -1
  4. package/api/entities/Account/index.js +13 -3
  5. package/api/entities/Account/index.js.map +1 -1
  6. package/api/entities/Asset/Base/BaseAsset.d.ts +8 -0
  7. package/api/entities/Asset/Base/BaseAsset.d.ts.map +1 -1
  8. package/api/entities/Asset/Base/BaseAsset.js +5 -1
  9. package/api/entities/Asset/Base/BaseAsset.js.map +1 -1
  10. package/api/entities/Asset/types.d.ts +9 -1
  11. package/api/entities/Asset/types.d.ts.map +1 -1
  12. package/api/entities/Asset/types.js +8 -0
  13. package/api/entities/Asset/types.js.map +1 -1
  14. package/api/entities/Identity/Portfolios.d.ts +8 -0
  15. package/api/entities/Identity/Portfolios.d.ts.map +1 -1
  16. package/api/entities/Identity/Portfolios.js +21 -0
  17. package/api/entities/Identity/Portfolios.js.map +1 -1
  18. package/api/entities/Instruction/index.d.ts.map +1 -1
  19. package/api/entities/Instruction/index.js +8 -1
  20. package/api/entities/Instruction/index.js.map +1 -1
  21. package/api/entities/TickerReservation/index.js +1 -1
  22. package/api/entities/Venue/types.d.ts +1 -1
  23. package/api/entities/Venue/types.d.ts.map +1 -1
  24. package/api/procedures/addInstruction.d.ts.map +1 -1
  25. package/api/procedures/addInstruction.js +5 -1
  26. package/api/procedures/addInstruction.js.map +1 -1
  27. package/api/procedures/createAsset.d.ts +1 -1
  28. package/api/procedures/createAsset.d.ts.map +1 -1
  29. package/api/procedures/createAsset.js +38 -20
  30. package/api/procedures/createAsset.js.map +1 -1
  31. package/api/procedures/modifyInstructionAffirmation.d.ts.map +1 -1
  32. package/api/procedures/modifyInstructionAffirmation.js +10 -2
  33. package/api/procedures/modifyInstructionAffirmation.js.map +1 -1
  34. package/api/procedures/types.d.ts +6 -1
  35. package/api/procedures/types.d.ts.map +1 -1
  36. package/api/procedures/types.js.map +1 -1
  37. package/api/procedures/unlinkTickerFromAsset.d.ts +28 -0
  38. package/api/procedures/unlinkTickerFromAsset.d.ts.map +1 -0
  39. package/api/procedures/unlinkTickerFromAsset.js +81 -0
  40. package/api/procedures/unlinkTickerFromAsset.js.map +1 -0
  41. package/base/Context.d.ts +1 -0
  42. package/base/Context.d.ts.map +1 -1
  43. package/base/Context.js +4 -3
  44. package/base/Context.js.map +1 -1
  45. package/generated/types.d.ts +4 -2
  46. package/generated/types.d.ts.map +1 -1
  47. package/generated/types.js +2 -0
  48. package/generated/types.js.map +1 -1
  49. package/internal.d.ts +1 -0
  50. package/internal.d.ts.map +1 -1
  51. package/internal.js +4 -2
  52. package/internal.js.map +1 -1
  53. package/middleware/types.d.ts +1162 -3
  54. package/middleware/types.d.ts.map +1 -1
  55. package/middleware/types.js +540 -4
  56. package/middleware/types.js.map +1 -1
  57. package/npm-package/polymeshassociation-polymesh-sdk-26.0.0-alpha.6.tgz +0 -0
  58. package/package.json +2 -2
  59. package/polkadot/asset/definitions.js +1 -1
  60. package/polkadot/augment-api-consts.d.ts +1 -0
  61. package/polkadot/augment-api-consts.d.ts.map +1 -1
  62. package/polkadot/augment-api-errors.d.ts +30 -6
  63. package/polkadot/augment-api-errors.d.ts.map +1 -1
  64. package/polkadot/augment-api-events.d.ts +120 -137
  65. package/polkadot/augment-api-events.d.ts.map +1 -1
  66. package/polkadot/augment-api-query.d.ts +171 -164
  67. package/polkadot/augment-api-query.d.ts.map +1 -1
  68. package/polkadot/augment-api-rpc.d.ts +4 -4
  69. package/polkadot/augment-api-rpc.d.ts.map +1 -1
  70. package/polkadot/augment-api-tx.d.ts +214 -298
  71. package/polkadot/augment-api-tx.d.ts.map +1 -1
  72. package/polkadot/augment-types.d.ts +1 -2
  73. package/polkadot/augment-types.d.ts.map +1 -1
  74. package/polkadot/compliance/definitions.js +1 -1
  75. package/polkadot/lookup.d.ts +248 -251
  76. package/polkadot/lookup.d.ts.map +1 -1
  77. package/polkadot/lookup.js +406 -403
  78. package/polkadot/lookup.js.map +1 -1
  79. package/polkadot/polymesh/definitions.d.ts +1 -2
  80. package/polkadot/polymesh/definitions.d.ts.map +1 -1
  81. package/polkadot/polymesh/definitions.js +9 -10
  82. package/polkadot/polymesh/definitions.js.map +1 -1
  83. package/polkadot/polymesh/types.d.ts +10 -11
  84. package/polkadot/polymesh/types.d.ts.map +1 -1
  85. package/polkadot/registry.d.ts +3 -3
  86. package/polkadot/schema.d.ts +1 -2
  87. package/polkadot/schema.d.ts.map +1 -1
  88. package/polkadot/schema.js +14 -15
  89. package/polkadot/schema.js.map +1 -1
  90. package/polkadot/types-lookup.d.ts +419 -422
  91. package/polkadot/types-lookup.d.ts.map +1 -1
  92. package/types/internal.d.ts +4 -4
  93. package/utils/constants.d.ts +2 -5
  94. package/utils/constants.d.ts.map +1 -1
  95. package/utils/constants.js +4 -6
  96. package/utils/constants.js.map +1 -1
  97. package/utils/conversion.d.ts +11 -7
  98. package/utils/conversion.d.ts.map +1 -1
  99. package/utils/conversion.js +17 -7
  100. package/utils/conversion.js.map +1 -1
  101. package/utils/internal.d.ts +2 -2
  102. package/utils/internal.d.ts.map +1 -1
  103. package/utils/internal.js +8 -3
  104. package/utils/internal.js.map +1 -1
  105. package/npm-package/polymeshassociation-polymesh-sdk-26.0.0-alpha.4.tgz +0 -0
@@ -3,7 +3,7 @@ import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableE
3
3
  import type { BTreeSet, Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
4
4
  import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
5
5
  import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime';
6
- import type { PalletContractsWasmDeterminism, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, PalletCorporateActionsCaId, PalletCorporateActionsCaKind, PalletCorporateActionsInitiateCorporateActionArgs, PalletCorporateActionsRecordDateSpec, PalletCorporateActionsTargetIdentities, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletPipsSnapshotResult, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingSlashingSwitch, PalletStakingValidatorPrefs, PalletStoPriceTier, PalletUtilityUniqueCall, PolymeshCommonUtilitiesCheckpointScheduleCheckpoints, PolymeshCommonUtilitiesIdentityCreateChildIdentityWithAuth, PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuth, PolymeshCommonUtilitiesMaybeBlock, PolymeshCommonUtilitiesProtocolFeeProtocolOp, PolymeshContractsApi, PolymeshContractsChainExtensionExtrinsicId, PolymeshContractsNextUpgrade, PolymeshPrimitivesAgentAgentGroup, PolymeshPrimitivesAssetAssetID, PolymeshPrimitivesAssetAssetType, PolymeshPrimitivesAssetIdentifier, PolymeshPrimitivesAssetMetadataAssetMetadataKey, PolymeshPrimitivesAssetMetadataAssetMetadataSpec, PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail, PolymeshPrimitivesAssetNonFungibleType, PolymeshPrimitivesAuthorizationAuthorizationData, PolymeshPrimitivesBeneficiary, PolymeshPrimitivesComplianceManagerComplianceRequirement, PolymeshPrimitivesCondition, PolymeshPrimitivesConditionTrustedIssuer, PolymeshPrimitivesDocument, PolymeshPrimitivesIdentityClaimClaim, PolymeshPrimitivesIdentityClaimClaimType, PolymeshPrimitivesIdentityClaimScope, PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityIdPortfolioId, PolymeshPrimitivesIdentityIdPortfolioKind, PolymeshPrimitivesMemo, PolymeshPrimitivesNftNfTs, PolymeshPrimitivesNftNftCollectionKeys, PolymeshPrimitivesNftNftMetadataAttribute, PolymeshPrimitivesPortfolioFund, PolymeshPrimitivesPosRatio, PolymeshPrimitivesSecondaryKey, PolymeshPrimitivesSecondaryKeyExtrinsicPermissions, PolymeshPrimitivesSecondaryKeyPermissions, PolymeshPrimitivesSecondaryKeySignatory, PolymeshPrimitivesSettlementAffirmationCount, PolymeshPrimitivesSettlementAssetCount, PolymeshPrimitivesSettlementLeg, PolymeshPrimitivesSettlementReceiptDetails, PolymeshPrimitivesSettlementSettlementType, PolymeshPrimitivesSettlementVenueType, PolymeshPrimitivesStatisticsStatType, PolymeshPrimitivesStatisticsStatUpdate, PolymeshPrimitivesTicker, PolymeshPrimitivesTransferComplianceTransferCondition, PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, PolymeshRuntimeDevelopRuntimeOriginCaller, PolymeshRuntimeDevelopRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpSessionMembershipProof, SpWeightsWeightV2Weight } from "./types-lookup.ts";
6
+ import type { PalletContractsWasmDeterminism, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, PalletCorporateActionsCaId, PalletCorporateActionsCaKind, PalletCorporateActionsInitiateCorporateActionArgs, PalletCorporateActionsRecordDateSpec, PalletCorporateActionsTargetIdentities, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletPipsSnapshotResult, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingSlashingSwitch, PalletStakingValidatorPrefs, PalletStoPriceTier, PalletUtilityUniqueCall, PolymeshCommonUtilitiesCheckpointScheduleCheckpoints, PolymeshCommonUtilitiesIdentityCreateChildIdentityWithAuth, PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuth, PolymeshCommonUtilitiesMaybeBlock, PolymeshCommonUtilitiesProtocolFeeProtocolOp, PolymeshContractsApi, PolymeshContractsChainExtensionExtrinsicId, PolymeshContractsNextUpgrade, PolymeshPrimitivesAgentAgentGroup, PolymeshPrimitivesAssetAssetId, PolymeshPrimitivesAssetAssetType, PolymeshPrimitivesAssetIdentifier, PolymeshPrimitivesAssetMetadataAssetMetadataKey, PolymeshPrimitivesAssetMetadataAssetMetadataSpec, PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail, PolymeshPrimitivesAssetNonFungibleType, PolymeshPrimitivesAuthorizationAuthorizationData, PolymeshPrimitivesBeneficiary, PolymeshPrimitivesComplianceManagerComplianceRequirement, PolymeshPrimitivesCondition, PolymeshPrimitivesConditionTrustedIssuer, PolymeshPrimitivesDocument, PolymeshPrimitivesIdentityClaimClaim, PolymeshPrimitivesIdentityClaimClaimType, PolymeshPrimitivesIdentityClaimScope, PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityIdPortfolioId, PolymeshPrimitivesIdentityIdPortfolioKind, PolymeshPrimitivesMemo, PolymeshPrimitivesNftNfTs, PolymeshPrimitivesNftNftCollectionKeys, PolymeshPrimitivesNftNftMetadataAttribute, PolymeshPrimitivesPortfolioFund, PolymeshPrimitivesPosRatio, PolymeshPrimitivesSecondaryKey, PolymeshPrimitivesSecondaryKeyExtrinsicPermissions, PolymeshPrimitivesSecondaryKeyPermissions, PolymeshPrimitivesSecondaryKeySignatory, PolymeshPrimitivesSettlementAffirmationCount, PolymeshPrimitivesSettlementAssetCount, PolymeshPrimitivesSettlementLeg, PolymeshPrimitivesSettlementReceiptDetails, PolymeshPrimitivesSettlementSettlementType, PolymeshPrimitivesSettlementVenueType, PolymeshPrimitivesStatisticsStatType, PolymeshPrimitivesStatisticsStatUpdate, PolymeshPrimitivesTicker, PolymeshPrimitivesTransferComplianceTransferCondition, PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, PolymeshRuntimeDevelopRuntimeOriginCaller, PolymeshRuntimeDevelopRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpSessionMembershipProof, SpWeightsWeightV2Weight } from "./types-lookup.ts";
7
7
  export declare type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
8
8
  export declare type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
9
9
  export declare type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;
@@ -39,7 +39,7 @@ declare module '@polkadot/api-base/types/submittable' {
39
39
  *
40
40
  * # Arguments
41
41
  * * `origin`: is a signer that has permissions to act as an agent of `asset_id`.
42
- * * `asset_id`: the [`AssetID`] associated to the token.
42
+ * * `asset_id`: the [`AssetId`] associated to the token.
43
43
  * * `docs`: documents to be attached to the token.
44
44
  *
45
45
  * # Permissions
@@ -51,23 +51,23 @@ declare module '@polkadot/api-base/types/submittable' {
51
51
  name?: any;
52
52
  docType?: any;
53
53
  filingDate?: any;
54
- } | string | Uint8Array)[], assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
54
+ } | string | Uint8Array)[], assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
55
55
  Vec<PolymeshPrimitivesDocument>,
56
- PolymeshPrimitivesAssetAssetID
56
+ PolymeshPrimitivesAssetAssetId
57
57
  ]>;
58
58
  /**
59
59
  * Sets all identities in the `mediators` set as mandatory mediators for any instruction transfering `asset_id`.
60
60
  *
61
61
  * # Arguments
62
62
  * * `origin`: The secondary key of the sender.
63
- * * `asset_id`: the [`AssetID`] of the asset that will require the mediators.
63
+ * * `asset_id`: the [`AssetId`] of the asset that will require the mediators.
64
64
  * * `mediators`: A set of [`IdentityId`] of all the mandatory mediators for the given ticker.
65
65
  *
66
66
  * # Permissions
67
67
  * * Asset
68
68
  **/
69
- addMandatoryMediators: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, mediators: BTreeSet<PolymeshPrimitivesIdentityId>) => SubmittableExtrinsic<ApiType>, [
70
- PolymeshPrimitivesAssetAssetID,
69
+ addMandatoryMediators: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, mediators: BTreeSet<PolymeshPrimitivesIdentityId>) => SubmittableExtrinsic<ApiType>, [
70
+ PolymeshPrimitivesAssetAssetId,
71
71
  BTreeSet<PolymeshPrimitivesIdentityId>
72
72
  ]>;
73
73
  /**
@@ -75,7 +75,7 @@ declare module '@polkadot/api-base/types/submittable' {
75
75
  *
76
76
  * # Arguments
77
77
  * * `origin`: a signer that has permissions to act as an agent of `asset_id`.
78
- * * `asset_id`: the [`AssetID`] associated to the token.
78
+ * * `asset_id`: the [`AssetId`] associated to the token.
79
79
  * * `value`: the [`Balance`] of tokens that will be transferred.
80
80
  * * `from_portfolio`: the [`PortfolioId`] that will have its balance reduced.
81
81
  *
@@ -83,11 +83,11 @@ declare module '@polkadot/api-base/types/submittable' {
83
83
  * * Asset
84
84
  * * Portfolio
85
85
  **/
86
- controllerTransfer: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, value: u128 | AnyNumber | Uint8Array, fromPortfolio: PolymeshPrimitivesIdentityIdPortfolioId | {
86
+ controllerTransfer: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, value: u128 | AnyNumber | Uint8Array, fromPortfolio: PolymeshPrimitivesIdentityIdPortfolioId | {
87
87
  did?: any;
88
88
  kind?: any;
89
89
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
90
- PolymeshPrimitivesAssetAssetID,
90
+ PolymeshPrimitivesAssetAssetId,
91
91
  u128,
92
92
  PolymeshPrimitivesIdentityIdPortfolioId
93
93
  ]>;
@@ -185,33 +185,33 @@ declare module '@polkadot/api-base/types/submittable' {
185
185
  *
186
186
  * # Arguments
187
187
  * * `origin`: the secondary key of the sender.
188
- * * `asset_id`: the [`AssetID`] that will be exempt from affirmation.
188
+ * * `asset_id`: the [`AssetId`] that will be exempt from affirmation.
189
189
  *
190
190
  * # Permissions
191
191
  * * Root
192
192
  **/
193
- exemptAssetAffirmation: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
194
- PolymeshPrimitivesAssetAssetID
193
+ exemptAssetAffirmation: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
194
+ PolymeshPrimitivesAssetAssetId
195
195
  ]>;
196
196
  /**
197
197
  * Freezes transfers of a given token.
198
198
  *
199
199
  * # Arguments
200
200
  * * `origin`: the secondary key of the sender.
201
- * * `asset_id`: the [`AssetID`] associated to the token.
201
+ * * `asset_id`: the [`AssetId`] associated to the token.
202
202
  *
203
203
  * # Permissions
204
204
  * * Asset
205
205
  **/
206
- freeze: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
207
- PolymeshPrimitivesAssetAssetID
206
+ freeze: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
207
+ PolymeshPrimitivesAssetAssetId
208
208
  ]>;
209
209
  /**
210
210
  * Issue (i.e mint) new tokens to the caller, which must be an authorized external agent.
211
211
  *
212
212
  * # Arguments
213
213
  * * `origin`: A signer that has permissions to act as an agent of `ticker`.
214
- * * `asset_id`: the [`AssetID`] associated to the token.
214
+ * * `asset_id`: the [`AssetId`] associated to the token.
215
215
  * * `amount`: The amount of tokens that will be issued.
216
216
  * * `portfolio_kind`: The [`PortfolioKind`] of the portfolio that will receive the minted tokens.
217
217
  *
@@ -219,62 +219,62 @@ declare module '@polkadot/api-base/types/submittable' {
219
219
  * * Asset
220
220
  * * Portfolio
221
221
  **/
222
- issue: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, portfolioKind: PolymeshPrimitivesIdentityIdPortfolioKind | {
222
+ issue: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, portfolioKind: PolymeshPrimitivesIdentityIdPortfolioKind | {
223
223
  Default: any;
224
224
  } | {
225
225
  User: any;
226
226
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
227
- PolymeshPrimitivesAssetAssetID,
227
+ PolymeshPrimitivesAssetAssetId,
228
228
  u128,
229
229
  PolymeshPrimitivesIdentityIdPortfolioKind
230
230
  ]>;
231
231
  /**
232
- * Establishes a connection between a ticker and an AssetID.
232
+ * Establishes a connection between a ticker and an AssetId.
233
233
  *
234
234
  * # Arguments
235
235
  * * `origin`: the secondary key of the sender.
236
236
  * * `ticker`: the [`Ticker`] that will be linked to the given `asset_id`.
237
- * * `asset_id`: the [`AssetID`] that will be connected to `ticker`.
237
+ * * `asset_id`: the [`AssetId`] that will be connected to `ticker`.
238
238
  *
239
239
  * # Permissions
240
240
  * * Asset
241
241
  **/
242
- linkTickerToAssetId: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
242
+ linkTickerToAssetId: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
243
243
  PolymeshPrimitivesTicker,
244
- PolymeshPrimitivesAssetAssetID
244
+ PolymeshPrimitivesAssetAssetId
245
245
  ]>;
246
246
  /**
247
247
  * If the token associated to `asset_id` is indivisible, sets [`AssetDetails::divisible`] to true.
248
248
  *
249
249
  * # Arguments
250
250
  * * `origin`: is a signer that has permissions to act as an agent of `ticker`.
251
- * * `asset_id`: the [`AssetID`] associated to the token.
251
+ * * `asset_id`: the [`AssetId`] associated to the token.
252
252
  *
253
253
  * # Permissions
254
254
  * * Asset
255
255
  **/
256
- makeDivisible: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
257
- PolymeshPrimitivesAssetAssetID
256
+ makeDivisible: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
257
+ PolymeshPrimitivesAssetAssetId
258
258
  ]>;
259
259
  /**
260
260
  * Pre-approves the receivement of an asset.
261
261
  *
262
262
  * # Arguments
263
263
  * * `origin`: the secondary key of the sender.
264
- * * `asset_id`: the [`AssetID`] that will be exempt from affirmation.
264
+ * * `asset_id`: the [`AssetId`] that will be exempt from affirmation.
265
265
  *
266
266
  * # Permissions
267
267
  * * Asset
268
268
  **/
269
- preApproveAsset: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
270
- PolymeshPrimitivesAssetAssetID
269
+ preApproveAsset: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
270
+ PolymeshPrimitivesAssetAssetId
271
271
  ]>;
272
272
  /**
273
273
  * Redeems (i.e burns) existing tokens by reducing the balance of the caller's portfolio and the total supply of the token.
274
274
  *
275
275
  * # Arguments
276
276
  * * `origin`: is a signer that has permissions to act as an agent of `asset_id`.
277
- * * `asset_id`: the [`AssetID`] associated to the token.
277
+ * * `asset_id`: the [`AssetId`] associated to the token.
278
278
  * * `value`: amount of tokens to redeem.
279
279
  * * `portfolio_kind`: the [`PortfolioKind`] that will have its balance reduced.
280
280
  *
@@ -282,12 +282,12 @@ declare module '@polkadot/api-base/types/submittable' {
282
282
  * * Asset
283
283
  * * Portfolio
284
284
  **/
285
- redeem: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, value: u128 | AnyNumber | Uint8Array, portfolioKind: PolymeshPrimitivesIdentityIdPortfolioKind | {
285
+ redeem: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, value: u128 | AnyNumber | Uint8Array, portfolioKind: PolymeshPrimitivesIdentityIdPortfolioKind | {
286
286
  Default: any;
287
287
  } | {
288
288
  User: any;
289
289
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
290
- PolymeshPrimitivesAssetAssetID,
290
+ PolymeshPrimitivesAssetAssetId,
291
291
  u128,
292
292
  PolymeshPrimitivesIdentityIdPortfolioKind
293
293
  ]>;
@@ -296,7 +296,7 @@ declare module '@polkadot/api-base/types/submittable' {
296
296
  *
297
297
  * # Arguments
298
298
  * * `origin`: is a signer that has permissions to act as an agent of `asset_id`.
299
- * * `asset_id`: the [`AssetID`] associated to the token.
299
+ * * `asset_id`: the [`AssetId`] associated to the token.
300
300
  * * `name`: the [`AssetMetadataName`].
301
301
  * * `spec`: the asset metadata specifications ([`AssetMetadataSpec`]).
302
302
  * * `value`: the [`AssetMetadataValue`] of the given metadata key.
@@ -306,7 +306,7 @@ declare module '@polkadot/api-base/types/submittable' {
306
306
  * * Agent
307
307
  * * Asset
308
308
  **/
309
- registerAndSetLocalAssetMetadata: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, name: Bytes | string | Uint8Array, spec: PolymeshPrimitivesAssetMetadataAssetMetadataSpec | {
309
+ registerAndSetLocalAssetMetadata: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, name: Bytes | string | Uint8Array, spec: PolymeshPrimitivesAssetMetadataAssetMetadataSpec | {
310
310
  url?: any;
311
311
  description?: any;
312
312
  typeDef?: any;
@@ -314,7 +314,7 @@ declare module '@polkadot/api-base/types/submittable' {
314
314
  expire?: any;
315
315
  lockStatus?: any;
316
316
  } | string) => SubmittableExtrinsic<ApiType>, [
317
- PolymeshPrimitivesAssetAssetID,
317
+ PolymeshPrimitivesAssetAssetId,
318
318
  Bytes,
319
319
  PolymeshPrimitivesAssetMetadataAssetMetadataSpec,
320
320
  Bytes,
@@ -341,7 +341,7 @@ declare module '@polkadot/api-base/types/submittable' {
341
341
  *
342
342
  * # Arguments
343
343
  * * `origin`: is a signer that has permissions to act as an agent of `asset_id`.
344
- * * `asset_id`: the [`AssetID`] associated to the token.
344
+ * * `asset_id`: the [`AssetId`] associated to the token.
345
345
  * * `name`: the [`AssetMetadataName`].
346
346
  * * `spec`: the asset metadata specifications ([`AssetMetadataSpec`]).
347
347
  *
@@ -349,12 +349,12 @@ declare module '@polkadot/api-base/types/submittable' {
349
349
  * * Agent
350
350
  * * Asset
351
351
  **/
352
- registerAssetMetadataLocalType: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, name: Bytes | string | Uint8Array, spec: PolymeshPrimitivesAssetMetadataAssetMetadataSpec | {
352
+ registerAssetMetadataLocalType: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, name: Bytes | string | Uint8Array, spec: PolymeshPrimitivesAssetMetadataAssetMetadataSpec | {
353
353
  url?: any;
354
354
  description?: any;
355
355
  typeDef?: any;
356
356
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
357
- PolymeshPrimitivesAssetAssetID,
357
+ PolymeshPrimitivesAssetAssetId,
358
358
  Bytes,
359
359
  PolymeshPrimitivesAssetMetadataAssetMetadataSpec
360
360
  ]>;
@@ -391,55 +391,55 @@ declare module '@polkadot/api-base/types/submittable' {
391
391
  *
392
392
  * # Arguments
393
393
  * * `origin`: the secondary key of the sender.
394
- * * `asset_id`: the [`AssetID`] that will have its exemption removed.
394
+ * * `asset_id`: the [`AssetId`] that will have its exemption removed.
395
395
  *
396
396
  * # Permissions
397
397
  * * Root
398
398
  **/
399
- removeAssetAffirmationExemption: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
400
- PolymeshPrimitivesAssetAssetID
399
+ removeAssetAffirmationExemption: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
400
+ PolymeshPrimitivesAssetAssetId
401
401
  ]>;
402
402
  /**
403
403
  * Removes the pre approval of an asset.
404
404
  *
405
405
  * # Arguments
406
406
  * * `origin` - the secondary key of the sender.
407
- * * `asset_id`: the [`AssetID`] that will have its exemption removed.
407
+ * * `asset_id`: the [`AssetId`] that will have its exemption removed.
408
408
  *
409
409
  * # Permissions
410
410
  * * Asset
411
411
  **/
412
- removeAssetPreApproval: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
413
- PolymeshPrimitivesAssetAssetID
412
+ removeAssetPreApproval: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
413
+ PolymeshPrimitivesAssetAssetId
414
414
  ]>;
415
415
  /**
416
416
  * Remove documents for a given token.
417
417
  *
418
418
  * # Arguments
419
419
  * * `origin`: is a signer that has permissions to act as an agent of `asset_id`.
420
- * * `asset_id`: the [`AssetID`] associated to the token.
420
+ * * `asset_id`: the [`AssetId`] associated to the token.
421
421
  * * `docs_id`: a vector of all [`DocumentId`] that will be removed from the token.
422
422
  *
423
423
  * # Permissions
424
424
  * * Asset
425
425
  **/
426
- removeDocuments: AugmentedSubmittable<(docsId: Vec<u32> | (u32 | AnyNumber | Uint8Array)[], assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
426
+ removeDocuments: AugmentedSubmittable<(docsId: Vec<u32> | (u32 | AnyNumber | Uint8Array)[], assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
427
427
  Vec<u32>,
428
- PolymeshPrimitivesAssetAssetID
428
+ PolymeshPrimitivesAssetAssetId
429
429
  ]>;
430
430
  /**
431
431
  * Removes the asset metadata key and value of a local key.
432
432
  *
433
433
  * # Arguments
434
434
  * * `origin`: the secondary key of the sender.
435
- * * `asset_id`: the [`AssetID`] associated to the local metadata key.
435
+ * * `asset_id`: the [`AssetId`] associated to the local metadata key.
436
436
  * * `local_key`: the [`AssetMetadataLocalKey`] that will be removed.
437
437
  *
438
438
  * # Permissions
439
439
  * * Asset
440
440
  **/
441
- removeLocalMetadataKey: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, localKey: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
442
- PolymeshPrimitivesAssetAssetID,
441
+ removeLocalMetadataKey: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, localKey: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
442
+ PolymeshPrimitivesAssetAssetId,
443
443
  u64
444
444
  ]>;
445
445
  /**
@@ -447,14 +447,14 @@ declare module '@polkadot/api-base/types/submittable' {
447
447
  *
448
448
  * # Arguments
449
449
  * * `origin`: the secondary key of the sender.
450
- * * `asset_id`: the [`AssetID`] of the asset that will have mediators removed.
450
+ * * `asset_id`: the [`AssetId`] of the asset that will have mediators removed.
451
451
  * * `mediators`: A set of [`IdentityId`] of all the mediators that will be removed from the mandatory mediators list.
452
452
  *
453
453
  * # Permissions
454
454
  * * Asset
455
455
  **/
456
- removeMandatoryMediators: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, mediators: BTreeSet<PolymeshPrimitivesIdentityId>) => SubmittableExtrinsic<ApiType>, [
457
- PolymeshPrimitivesAssetAssetID,
456
+ removeMandatoryMediators: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, mediators: BTreeSet<PolymeshPrimitivesIdentityId>) => SubmittableExtrinsic<ApiType>, [
457
+ PolymeshPrimitivesAssetAssetId,
458
458
  BTreeSet<PolymeshPrimitivesIdentityId>
459
459
  ]>;
460
460
  /**
@@ -462,18 +462,18 @@ declare module '@polkadot/api-base/types/submittable' {
462
462
  *
463
463
  * # Arguments
464
464
  * * `origin`: the secondary key of the sender.
465
- * * `asset_id`: the [`AssetID`] associated to the metadata key.
465
+ * * `asset_id`: the [`AssetId`] associated to the metadata key.
466
466
  * * `metadata_key`: the [`AssetMetadataKey`] that will have its value deleted.
467
467
  *
468
468
  * # Permissions
469
469
  * * Asset
470
470
  **/
471
- removeMetadataValue: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, metadataKey: PolymeshPrimitivesAssetMetadataAssetMetadataKey | {
471
+ removeMetadataValue: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, metadataKey: PolymeshPrimitivesAssetMetadataAssetMetadataKey | {
472
472
  Global: any;
473
473
  } | {
474
474
  Local: any;
475
475
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
476
- PolymeshPrimitivesAssetAssetID,
476
+ PolymeshPrimitivesAssetAssetId,
477
477
  PolymeshPrimitivesAssetMetadataAssetMetadataKey
478
478
  ]>;
479
479
  /**
@@ -481,14 +481,14 @@ declare module '@polkadot/api-base/types/submittable' {
481
481
  *
482
482
  * # Arguments
483
483
  * * `origin`: the secondary key of the sender.
484
- * * `asset_id`: the [`AssetID`] associated to the token.
484
+ * * `asset_id`: the [`AssetId`] associated to the token.
485
485
  * * `asset_name`: the [`AssetName`] that will be associated to the token.
486
486
  *
487
487
  * # Permissions
488
488
  * * Asset
489
489
  **/
490
- renameAsset: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, assetName: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
491
- PolymeshPrimitivesAssetAssetID,
490
+ renameAsset: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, assetName: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
491
+ PolymeshPrimitivesAssetAssetId,
492
492
  Bytes
493
493
  ]>;
494
494
  /**
@@ -496,7 +496,7 @@ declare module '@polkadot/api-base/types/submittable' {
496
496
  *
497
497
  * # Arguments
498
498
  * * `origin`: is a signer that has permissions to act as an agent of `asset_id`.
499
- * * `asset_id`: the [`AssetID`] associated to the token.
499
+ * * `asset_id`: the [`AssetId`] associated to the token.
500
500
  * * `key`: the [`AssetMetadataKey`] associated to the token.
501
501
  * * `value`: the [`AssetMetadataValue`] of the given metadata key.
502
502
  * * `details`: optional [`AssetMetadataValueDetail`] (expire, lock status).
@@ -505,7 +505,7 @@ declare module '@polkadot/api-base/types/submittable' {
505
505
  * * Agent
506
506
  * * Asset
507
507
  **/
508
- setAssetMetadata: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, key: PolymeshPrimitivesAssetMetadataAssetMetadataKey | {
508
+ setAssetMetadata: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, key: PolymeshPrimitivesAssetMetadataAssetMetadataKey | {
509
509
  Global: any;
510
510
  } | {
511
511
  Local: any;
@@ -513,7 +513,7 @@ declare module '@polkadot/api-base/types/submittable' {
513
513
  expire?: any;
514
514
  lockStatus?: any;
515
515
  } | string) => SubmittableExtrinsic<ApiType>, [
516
- PolymeshPrimitivesAssetAssetID,
516
+ PolymeshPrimitivesAssetAssetId,
517
517
  PolymeshPrimitivesAssetMetadataAssetMetadataKey,
518
518
  Bytes,
519
519
  Option<PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail>
@@ -523,7 +523,7 @@ declare module '@polkadot/api-base/types/submittable' {
523
523
  *
524
524
  * # Arguments
525
525
  * * `origin`: is a signer that has permissions to act as an agent of `asset_id`.
526
- * * `asset_id`: the [`AssetID`] associated to the token.
526
+ * * `asset_id`: the [`AssetId`] associated to the token.
527
527
  * * `key`: the [`AssetMetadataKey`] associated to the token.
528
528
  * * `details`: the [`AssetMetadataValueDetail`] (expire, lock status) that will be associated to the token.
529
529
  *
@@ -531,7 +531,7 @@ declare module '@polkadot/api-base/types/submittable' {
531
531
  * * Agent
532
532
  * * Asset
533
533
  **/
534
- setAssetMetadataDetails: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, key: PolymeshPrimitivesAssetMetadataAssetMetadataKey | {
534
+ setAssetMetadataDetails: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, key: PolymeshPrimitivesAssetMetadataAssetMetadataKey | {
535
535
  Global: any;
536
536
  } | {
537
537
  Local: any;
@@ -539,7 +539,7 @@ declare module '@polkadot/api-base/types/submittable' {
539
539
  expire?: any;
540
540
  lockStatus?: any;
541
541
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
542
- PolymeshPrimitivesAssetAssetID,
542
+ PolymeshPrimitivesAssetAssetId,
543
543
  PolymeshPrimitivesAssetMetadataAssetMetadataKey,
544
544
  PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail
545
545
  ]>;
@@ -548,14 +548,14 @@ declare module '@polkadot/api-base/types/submittable' {
548
548
  *
549
549
  * # Arguments
550
550
  * * `origin`: a signer that has permissions to act as an agent of `asset_id`.
551
- * * `asset_id`: the [`AssetID`] associated to the token.
551
+ * * `asset_id`: the [`AssetId`] associated to the token.
552
552
  * * `founding_round_name`: the [`FoundingRoundName`] of the current funding round.
553
553
  *
554
554
  * # Permissions
555
555
  * * Asset
556
556
  **/
557
- setFundingRound: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, foundingRoundName: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
558
- PolymeshPrimitivesAssetAssetID,
557
+ setFundingRound: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, foundingRoundName: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
558
+ PolymeshPrimitivesAssetAssetId,
559
559
  Bytes
560
560
  ]>;
561
561
  /**
@@ -563,26 +563,41 @@ declare module '@polkadot/api-base/types/submittable' {
563
563
  *
564
564
  * # Arguments
565
565
  * * `origin`: the secondary key of the sender.
566
- * * `asset_id`: the [`AssetID`] associated to the token.
566
+ * * `asset_id`: the [`AssetId`] associated to the token.
567
567
  *
568
568
  * # Permissions
569
569
  * * Asset
570
570
  **/
571
- unfreeze: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
572
- PolymeshPrimitivesAssetAssetID
571
+ unfreeze: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
572
+ PolymeshPrimitivesAssetAssetId
573
+ ]>;
574
+ /**
575
+ * Removes the link between a ticker and an asset.
576
+ *
577
+ * # Arguments
578
+ * * `origin`: the secondary key of the sender.
579
+ * * `ticker`: the [`Ticker`] that will be unlinked from the given `asset_id`.
580
+ * * `asset_id`: the [`AssetId`] that will be unlink from `ticker`.
581
+ *
582
+ * # Permissions
583
+ * * Asset
584
+ **/
585
+ unlinkTickerFromAssetId: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
586
+ PolymeshPrimitivesTicker,
587
+ PolymeshPrimitivesAssetAssetId
573
588
  ]>;
574
589
  /**
575
590
  * Updates the type of an asset.
576
591
  *
577
592
  * # Arguments
578
593
  * * `origin`: it contains the secondary key of the sender
579
- * * `asset_id`: the [`AssetID`] associated to the token.
594
+ * * `asset_id`: the [`AssetId`] associated to the token.
580
595
  * * `asset_type`: the new [`AssetType`] of the token.
581
596
  *
582
597
  * # Permissions
583
598
  * * Asset
584
599
  **/
585
- updateAssetType: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, assetType: PolymeshPrimitivesAssetAssetType | {
600
+ updateAssetType: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, assetType: PolymeshPrimitivesAssetAssetType | {
586
601
  EquityCommon: any;
587
602
  } | {
588
603
  EquityPreferred: any;
@@ -607,7 +622,7 @@ declare module '@polkadot/api-base/types/submittable' {
607
622
  } | {
608
623
  NonFungible: any;
609
624
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
610
- PolymeshPrimitivesAssetAssetID,
625
+ PolymeshPrimitivesAssetAssetId,
611
626
  PolymeshPrimitivesAssetAssetType
612
627
  ]>;
613
628
  /**
@@ -615,13 +630,13 @@ declare module '@polkadot/api-base/types/submittable' {
615
630
  *
616
631
  * # Arguments
617
632
  * * `origin`: a signer that has permissions to act as an agent of `asset_id`.
618
- * * `asset_id`: the [`AssetID`] associated to the token.
633
+ * * `asset_id`: the [`AssetId`] associated to the token.
619
634
  * * `asset_identifiers`: a vector of [`AssetIdentifier`] that will be associated to the token.
620
635
  *
621
636
  * # Permissions
622
637
  * * Asset
623
638
  **/
624
- updateIdentifiers: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, assetIdentifiers: Vec<PolymeshPrimitivesAssetIdentifier> | (PolymeshPrimitivesAssetIdentifier | {
639
+ updateIdentifiers: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, assetIdentifiers: Vec<PolymeshPrimitivesAssetIdentifier> | (PolymeshPrimitivesAssetIdentifier | {
625
640
  CUSIP: any;
626
641
  } | {
627
642
  CINS: any;
@@ -632,7 +647,7 @@ declare module '@polkadot/api-base/types/submittable' {
632
647
  } | {
633
648
  FIGI: any;
634
649
  } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
635
- PolymeshPrimitivesAssetAssetID,
650
+ PolymeshPrimitivesAssetAssetId,
636
651
  Vec<PolymeshPrimitivesAssetIdentifier>
637
652
  ]>;
638
653
  };
@@ -906,10 +921,10 @@ declare module '@polkadot/api-base/types/submittable' {
906
921
  distribute: AugmentedSubmittable<(caId: PalletCorporateActionsCaId | {
907
922
  assetId?: any;
908
923
  localId?: any;
909
- } | string | Uint8Array, portfolio: Option<u64> | null | Uint8Array | u64 | AnyNumber, currency: PolymeshPrimitivesAssetAssetID | string | Uint8Array, perShare: u128 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array, paymentAt: u64 | AnyNumber | Uint8Array, expiresAt: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
924
+ } | string | Uint8Array, portfolio: Option<u64> | null | Uint8Array | u64 | AnyNumber, currency: PolymeshPrimitivesAssetAssetId | string | Uint8Array, perShare: u128 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array, paymentAt: u64 | AnyNumber | Uint8Array, expiresAt: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
910
925
  PalletCorporateActionsCaId,
911
926
  Option<u64>,
912
- PolymeshPrimitivesAssetAssetID,
927
+ PolymeshPrimitivesAssetAssetId,
913
928
  u128,
914
929
  u128,
915
930
  u64,
@@ -1096,8 +1111,8 @@ declare module '@polkadot/api-base/types/submittable' {
1096
1111
  * - `UnauthorizedAgent` if the DID of `origin` isn't a permissioned agent for `asset_id`.
1097
1112
  * - `CounterOverflow` if the total checkpoint counter would overflow.
1098
1113
  **/
1099
- createCheckpoint: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1100
- PolymeshPrimitivesAssetAssetID
1114
+ createCheckpoint: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1115
+ PolymeshPrimitivesAssetAssetId
1101
1116
  ]>;
1102
1117
  /**
1103
1118
  * Creates a schedule generating checkpoints
@@ -1118,10 +1133,10 @@ declare module '@polkadot/api-base/types/submittable' {
1118
1133
  * # Permissions
1119
1134
  * * Asset
1120
1135
  **/
1121
- createSchedule: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, schedule: PolymeshCommonUtilitiesCheckpointScheduleCheckpoints | {
1136
+ createSchedule: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, schedule: PolymeshCommonUtilitiesCheckpointScheduleCheckpoints | {
1122
1137
  pending?: any;
1123
1138
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1124
- PolymeshPrimitivesAssetAssetID,
1139
+ PolymeshPrimitivesAssetAssetId,
1125
1140
  PolymeshCommonUtilitiesCheckpointScheduleCheckpoints
1126
1141
  ]>;
1127
1142
  /**
@@ -1140,8 +1155,8 @@ declare module '@polkadot/api-base/types/submittable' {
1140
1155
  * # Permissions
1141
1156
  * * Asset
1142
1157
  **/
1143
- removeSchedule: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, id: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1144
- PolymeshPrimitivesAssetAssetID,
1158
+ removeSchedule: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, id: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1159
+ PolymeshPrimitivesAssetAssetId,
1145
1160
  u64
1146
1161
  ]>;
1147
1162
  /**
@@ -1270,14 +1285,14 @@ declare module '@polkadot/api-base/types/submittable' {
1270
1285
  * # Permissions
1271
1286
  * * Asset
1272
1287
  **/
1273
- addComplianceRequirement: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, senderConditions: Vec<PolymeshPrimitivesCondition> | (PolymeshPrimitivesCondition | {
1288
+ addComplianceRequirement: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, senderConditions: Vec<PolymeshPrimitivesCondition> | (PolymeshPrimitivesCondition | {
1274
1289
  conditionType?: any;
1275
1290
  issuers?: any;
1276
1291
  } | string | Uint8Array)[], receiverConditions: Vec<PolymeshPrimitivesCondition> | (PolymeshPrimitivesCondition | {
1277
1292
  conditionType?: any;
1278
1293
  issuers?: any;
1279
1294
  } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
1280
- PolymeshPrimitivesAssetAssetID,
1295
+ PolymeshPrimitivesAssetAssetId,
1281
1296
  Vec<PolymeshPrimitivesCondition>,
1282
1297
  Vec<PolymeshPrimitivesCondition>
1283
1298
  ]>;
@@ -1292,11 +1307,11 @@ declare module '@polkadot/api-base/types/submittable' {
1292
1307
  * # Permissions
1293
1308
  * * Asset
1294
1309
  **/
1295
- addDefaultTrustedClaimIssuer: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, issuer: PolymeshPrimitivesConditionTrustedIssuer | {
1310
+ addDefaultTrustedClaimIssuer: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, issuer: PolymeshPrimitivesConditionTrustedIssuer | {
1296
1311
  issuer?: any;
1297
1312
  trustedFor?: any;
1298
1313
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1299
- PolymeshPrimitivesAssetAssetID,
1314
+ PolymeshPrimitivesAssetAssetId,
1300
1315
  PolymeshPrimitivesConditionTrustedIssuer
1301
1316
  ]>;
1302
1317
  /**
@@ -1310,12 +1325,12 @@ declare module '@polkadot/api-base/types/submittable' {
1310
1325
  * # Permissions
1311
1326
  * * Asset
1312
1327
  **/
1313
- changeComplianceRequirement: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, newReq: PolymeshPrimitivesComplianceManagerComplianceRequirement | {
1328
+ changeComplianceRequirement: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, newReq: PolymeshPrimitivesComplianceManagerComplianceRequirement | {
1314
1329
  senderConditions?: any;
1315
1330
  receiverConditions?: any;
1316
1331
  id?: any;
1317
1332
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1318
- PolymeshPrimitivesAssetAssetID,
1333
+ PolymeshPrimitivesAssetAssetId,
1319
1334
  PolymeshPrimitivesComplianceManagerComplianceRequirement
1320
1335
  ]>;
1321
1336
  /**
@@ -1328,8 +1343,8 @@ declare module '@polkadot/api-base/types/submittable' {
1328
1343
  * # Permissions
1329
1344
  * * Asset
1330
1345
  **/
1331
- pauseAssetCompliance: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1332
- PolymeshPrimitivesAssetAssetID
1346
+ pauseAssetCompliance: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1347
+ PolymeshPrimitivesAssetAssetId
1333
1348
  ]>;
1334
1349
  /**
1335
1350
  * Removes a compliance requirement from an asset's compliance.
@@ -1342,8 +1357,8 @@ declare module '@polkadot/api-base/types/submittable' {
1342
1357
  * # Permissions
1343
1358
  * * Asset
1344
1359
  **/
1345
- removeComplianceRequirement: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, id: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1346
- PolymeshPrimitivesAssetAssetID,
1360
+ removeComplianceRequirement: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, id: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1361
+ PolymeshPrimitivesAssetAssetId,
1347
1362
  u32
1348
1363
  ]>;
1349
1364
  /**
@@ -1357,8 +1372,8 @@ declare module '@polkadot/api-base/types/submittable' {
1357
1372
  * # Permissions
1358
1373
  * * Asset
1359
1374
  **/
1360
- removeDefaultTrustedClaimIssuer: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, issuer: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1361
- PolymeshPrimitivesAssetAssetID,
1375
+ removeDefaultTrustedClaimIssuer: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, issuer: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1376
+ PolymeshPrimitivesAssetAssetId,
1362
1377
  PolymeshPrimitivesIdentityId
1363
1378
  ]>;
1364
1379
  /**
@@ -1378,12 +1393,12 @@ declare module '@polkadot/api-base/types/submittable' {
1378
1393
  * # Permissions
1379
1394
  * * Asset
1380
1395
  **/
1381
- replaceAssetCompliance: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, assetCompliance: Vec<PolymeshPrimitivesComplianceManagerComplianceRequirement> | (PolymeshPrimitivesComplianceManagerComplianceRequirement | {
1396
+ replaceAssetCompliance: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, assetCompliance: Vec<PolymeshPrimitivesComplianceManagerComplianceRequirement> | (PolymeshPrimitivesComplianceManagerComplianceRequirement | {
1382
1397
  senderConditions?: any;
1383
1398
  receiverConditions?: any;
1384
1399
  id?: any;
1385
1400
  } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
1386
- PolymeshPrimitivesAssetAssetID,
1401
+ PolymeshPrimitivesAssetAssetId,
1387
1402
  Vec<PolymeshPrimitivesComplianceManagerComplianceRequirement>
1388
1403
  ]>;
1389
1404
  /**
@@ -1396,8 +1411,8 @@ declare module '@polkadot/api-base/types/submittable' {
1396
1411
  * # Permissions
1397
1412
  * * Asset
1398
1413
  **/
1399
- resetAssetCompliance: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1400
- PolymeshPrimitivesAssetAssetID
1414
+ resetAssetCompliance: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1415
+ PolymeshPrimitivesAssetAssetId
1401
1416
  ]>;
1402
1417
  /**
1403
1418
  * Resumes the verification of conditions for `asset_id` during transfers.
@@ -1409,8 +1424,8 @@ declare module '@polkadot/api-base/types/submittable' {
1409
1424
  * # Permissions
1410
1425
  * * Asset
1411
1426
  **/
1412
- resumeAssetCompliance: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1413
- PolymeshPrimitivesAssetAssetID
1427
+ resumeAssetCompliance: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1428
+ PolymeshPrimitivesAssetAssetId
1414
1429
  ]>;
1415
1430
  };
1416
1431
  contracts: {
@@ -1677,7 +1692,7 @@ declare module '@polkadot/api-base/types/submittable' {
1677
1692
  * # Permissions
1678
1693
  * * Asset
1679
1694
  **/
1680
- initiateCorporateAction: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, kind: PalletCorporateActionsCaKind | 'PredictableBenefit' | 'UnpredictableBenefit' | 'IssuerNotice' | 'Reorganization' | 'Other' | number | Uint8Array, declDate: u64 | AnyNumber | Uint8Array, recordDate: Option<PalletCorporateActionsRecordDateSpec> | null | Uint8Array | PalletCorporateActionsRecordDateSpec | {
1695
+ initiateCorporateAction: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, kind: PalletCorporateActionsCaKind | 'PredictableBenefit' | 'UnpredictableBenefit' | 'IssuerNotice' | 'Reorganization' | 'Other' | number | Uint8Array, declDate: u64 | AnyNumber | Uint8Array, recordDate: Option<PalletCorporateActionsRecordDateSpec> | null | Uint8Array | PalletCorporateActionsRecordDateSpec | {
1681
1696
  Scheduled: any;
1682
1697
  } | {
1683
1698
  ExistingSchedule: any;
@@ -1690,7 +1705,7 @@ declare module '@polkadot/api-base/types/submittable' {
1690
1705
  PolymeshPrimitivesIdentityId | string | Uint8Array,
1691
1706
  Permill | AnyNumber | Uint8Array
1692
1707
  ][]) => SubmittableExtrinsic<ApiType>, [
1693
- PolymeshPrimitivesAssetAssetID,
1708
+ PolymeshPrimitivesAssetAssetId,
1694
1709
  PalletCorporateActionsCaKind,
1695
1710
  u64,
1696
1711
  Option<PalletCorporateActionsRecordDateSpec>,
@@ -1711,10 +1726,10 @@ declare module '@polkadot/api-base/types/submittable' {
1711
1726
  targets?: any;
1712
1727
  defaultWithholdingTax?: any;
1713
1728
  withholdingTax?: any;
1714
- } | string | Uint8Array, portfolio: Option<u64> | null | Uint8Array | u64 | AnyNumber, currency: PolymeshPrimitivesAssetAssetID | string | Uint8Array, perShare: u128 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array, paymentAt: u64 | AnyNumber | Uint8Array, expiresAt: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
1729
+ } | string | Uint8Array, portfolio: Option<u64> | null | Uint8Array | u64 | AnyNumber, currency: PolymeshPrimitivesAssetAssetId | string | Uint8Array, perShare: u128 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array, paymentAt: u64 | AnyNumber | Uint8Array, expiresAt: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
1715
1730
  PalletCorporateActionsInitiateCorporateActionArgs,
1716
1731
  Option<u64>,
1717
- PolymeshPrimitivesAssetAssetID,
1732
+ PolymeshPrimitivesAssetAssetId,
1718
1733
  u128,
1719
1734
  u128,
1720
1735
  u64,
@@ -1788,11 +1803,11 @@ declare module '@polkadot/api-base/types/submittable' {
1788
1803
  * # Permissions
1789
1804
  * * Asset
1790
1805
  **/
1791
- setDefaultTargets: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, targets: PalletCorporateActionsTargetIdentities | {
1806
+ setDefaultTargets: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, targets: PalletCorporateActionsTargetIdentities | {
1792
1807
  identities?: any;
1793
1808
  treatment?: any;
1794
1809
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1795
- PolymeshPrimitivesAssetAssetID,
1810
+ PolymeshPrimitivesAssetAssetId,
1796
1811
  PalletCorporateActionsTargetIdentities
1797
1812
  ]>;
1798
1813
  /**
@@ -1809,8 +1824,8 @@ declare module '@polkadot/api-base/types/submittable' {
1809
1824
  * # Permissions
1810
1825
  * * Asset
1811
1826
  **/
1812
- setDefaultWithholdingTax: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, tax: Permill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1813
- PolymeshPrimitivesAssetAssetID,
1827
+ setDefaultWithholdingTax: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, tax: Permill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1828
+ PolymeshPrimitivesAssetAssetId,
1814
1829
  Permill
1815
1830
  ]>;
1816
1831
  /**
@@ -1831,8 +1846,8 @@ declare module '@polkadot/api-base/types/submittable' {
1831
1846
  * # Permissions
1832
1847
  * * Asset
1833
1848
  **/
1834
- setDidWithholdingTax: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, taxedDid: PolymeshPrimitivesIdentityId | string | Uint8Array, tax: Option<Permill> | null | Uint8Array | Permill | AnyNumber) => SubmittableExtrinsic<ApiType>, [
1835
- PolymeshPrimitivesAssetAssetID,
1849
+ setDidWithholdingTax: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, taxedDid: PolymeshPrimitivesIdentityId | string | Uint8Array, tax: Option<Permill> | null | Uint8Array | Permill | AnyNumber) => SubmittableExtrinsic<ApiType>, [
1850
+ PolymeshPrimitivesAssetAssetId,
1836
1851
  PolymeshPrimitivesIdentityId,
1837
1852
  Option<Permill>
1838
1853
  ]>;
@@ -2097,7 +2112,7 @@ declare module '@polkadot/api-base/types/submittable' {
2097
2112
  * Abdicate agentship for `asset_id`.
2098
2113
  *
2099
2114
  * # Arguments
2100
- * - `assetID` the [`AssetID] of which the caller is an agent.
2115
+ * - `assetID` the [`AssetId] of which the caller is an agent.
2101
2116
  *
2102
2117
  * # Errors
2103
2118
  * - `NotAnAgent` if the caller is not an agent of `asset_id`.
@@ -2106,8 +2121,8 @@ declare module '@polkadot/api-base/types/submittable' {
2106
2121
  * # Permissions
2107
2122
  * * Asset
2108
2123
  **/
2109
- abdicate: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2110
- PolymeshPrimitivesAssetAssetID
2124
+ abdicate: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2125
+ PolymeshPrimitivesAssetAssetId
2111
2126
  ]>;
2112
2127
  /**
2113
2128
  * Accept an authorization by an agent "Alice" who issued `auth_id`
@@ -2134,7 +2149,7 @@ declare module '@polkadot/api-base/types/submittable' {
2134
2149
  * Change the agent group that `agent` belongs to in `asset_id`.
2135
2150
  *
2136
2151
  * # Arguments
2137
- * - `assetID` the [`AssetID] that has the `agent`.
2152
+ * - `assetID` the [`AssetId] that has the `agent`.
2138
2153
  * - `agent` of `asset_id` to change the group for.
2139
2154
  * - `group` that `agent` will belong to in `asset_id`.
2140
2155
  *
@@ -2148,7 +2163,7 @@ declare module '@polkadot/api-base/types/submittable' {
2148
2163
  * * Asset
2149
2164
  * * Agent
2150
2165
  **/
2151
- changeGroup: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, agent: PolymeshPrimitivesIdentityId | string | Uint8Array, group: PolymeshPrimitivesAgentAgentGroup | {
2166
+ changeGroup: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, agent: PolymeshPrimitivesIdentityId | string | Uint8Array, group: PolymeshPrimitivesAgentAgentGroup | {
2152
2167
  Full: any;
2153
2168
  } | {
2154
2169
  Custom: any;
@@ -2159,7 +2174,7 @@ declare module '@polkadot/api-base/types/submittable' {
2159
2174
  } | {
2160
2175
  PolymeshV1PIA: any;
2161
2176
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2162
- PolymeshPrimitivesAssetAssetID,
2177
+ PolymeshPrimitivesAssetAssetId,
2163
2178
  PolymeshPrimitivesIdentityId,
2164
2179
  PolymeshPrimitivesAgentAgentGroup
2165
2180
  ]>;
@@ -2170,14 +2185,14 @@ declare module '@polkadot/api-base/types/submittable' {
2170
2185
  * * Asset
2171
2186
  * * Agent
2172
2187
  **/
2173
- createAndChangeCustomGroup: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, perms: PolymeshPrimitivesSecondaryKeyExtrinsicPermissions | {
2188
+ createAndChangeCustomGroup: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, perms: PolymeshPrimitivesSecondaryKeyExtrinsicPermissions | {
2174
2189
  Whole: any;
2175
2190
  } | {
2176
2191
  These: any;
2177
2192
  } | {
2178
2193
  Except: any;
2179
2194
  } | string | Uint8Array, agent: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2180
- PolymeshPrimitivesAssetAssetID,
2195
+ PolymeshPrimitivesAssetAssetId,
2181
2196
  PolymeshPrimitivesSecondaryKeyExtrinsicPermissions,
2182
2197
  PolymeshPrimitivesIdentityId
2183
2198
  ]>;
@@ -2189,7 +2204,7 @@ declare module '@polkadot/api-base/types/submittable' {
2189
2204
  * which you can use as `AgentGroup::Custom(id)` when adding agents for `asset_id`.
2190
2205
  *
2191
2206
  * # Arguments
2192
- * - `assetID` the [`AssetID] to add the custom group for.
2207
+ * - `assetID` the [`AssetId] to add the custom group for.
2193
2208
  * - `perms` that the new AG will have.
2194
2209
  *
2195
2210
  * # Errors
@@ -2201,14 +2216,14 @@ declare module '@polkadot/api-base/types/submittable' {
2201
2216
  * * Asset
2202
2217
  * * Agent
2203
2218
  **/
2204
- createGroup: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, perms: PolymeshPrimitivesSecondaryKeyExtrinsicPermissions | {
2219
+ createGroup: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, perms: PolymeshPrimitivesSecondaryKeyExtrinsicPermissions | {
2205
2220
  Whole: any;
2206
2221
  } | {
2207
2222
  These: any;
2208
2223
  } | {
2209
2224
  Except: any;
2210
2225
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2211
- PolymeshPrimitivesAssetAssetID,
2226
+ PolymeshPrimitivesAssetAssetId,
2212
2227
  PolymeshPrimitivesSecondaryKeyExtrinsicPermissions
2213
2228
  ]>;
2214
2229
  /**
@@ -2218,14 +2233,14 @@ declare module '@polkadot/api-base/types/submittable' {
2218
2233
  * * Asset
2219
2234
  * * Agent
2220
2235
  **/
2221
- createGroupAndAddAuth: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, perms: PolymeshPrimitivesSecondaryKeyExtrinsicPermissions | {
2236
+ createGroupAndAddAuth: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, perms: PolymeshPrimitivesSecondaryKeyExtrinsicPermissions | {
2222
2237
  Whole: any;
2223
2238
  } | {
2224
2239
  These: any;
2225
2240
  } | {
2226
2241
  Except: any;
2227
2242
  } | string | Uint8Array, target: PolymeshPrimitivesIdentityId | string | Uint8Array, expiry: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
2228
- PolymeshPrimitivesAssetAssetID,
2243
+ PolymeshPrimitivesAssetAssetId,
2229
2244
  PolymeshPrimitivesSecondaryKeyExtrinsicPermissions,
2230
2245
  PolymeshPrimitivesIdentityId,
2231
2246
  Option<u64>
@@ -2234,7 +2249,7 @@ declare module '@polkadot/api-base/types/submittable' {
2234
2249
  * Remove the given `agent` from `asset_id`.
2235
2250
  *
2236
2251
  * # Arguments
2237
- * - `assetID` the [`AssetID] that has the `agent` to remove.
2252
+ * - `assetID` the [`AssetId] that has the `agent` to remove.
2238
2253
  * - `agent` of `asset_id` to remove.
2239
2254
  *
2240
2255
  * # Errors
@@ -2246,15 +2261,15 @@ declare module '@polkadot/api-base/types/submittable' {
2246
2261
  * * Asset
2247
2262
  * * Agent
2248
2263
  **/
2249
- removeAgent: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, agent: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2250
- PolymeshPrimitivesAssetAssetID,
2264
+ removeAgent: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, agent: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2265
+ PolymeshPrimitivesAssetAssetId,
2251
2266
  PolymeshPrimitivesIdentityId
2252
2267
  ]>;
2253
2268
  /**
2254
2269
  * Updates the permissions of the custom AG identified by `id`, for the given `asset_id`.
2255
2270
  *
2256
2271
  * # Arguments
2257
- * - `assetID` the [`AssetID] the custom AG belongs to.
2272
+ * - `assetID` the [`AssetId] the custom AG belongs to.
2258
2273
  * - `id` for the custom AG within `asset_id`.
2259
2274
  * - `perms` to update the custom AG to.
2260
2275
  *
@@ -2267,14 +2282,14 @@ declare module '@polkadot/api-base/types/submittable' {
2267
2282
  * * Asset
2268
2283
  * * Agent
2269
2284
  **/
2270
- setGroupPermissions: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, id: u32 | AnyNumber | Uint8Array, perms: PolymeshPrimitivesSecondaryKeyExtrinsicPermissions | {
2285
+ setGroupPermissions: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, id: u32 | AnyNumber | Uint8Array, perms: PolymeshPrimitivesSecondaryKeyExtrinsicPermissions | {
2271
2286
  Whole: any;
2272
2287
  } | {
2273
2288
  These: any;
2274
2289
  } | {
2275
2290
  Except: any;
2276
2291
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2277
- PolymeshPrimitivesAssetAssetID,
2292
+ PolymeshPrimitivesAssetAssetId,
2278
2293
  u32,
2279
2294
  PolymeshPrimitivesSecondaryKeyExtrinsicPermissions
2280
2295
  ]>;
@@ -2990,6 +3005,10 @@ declare module '@polkadot/api-base/types/submittable' {
2990
3005
  AccountId32,
2991
3006
  u64
2992
3007
  ]>;
3008
+ /**
3009
+ * Removes the admin identity from the `multisig`. This must be called by the multisig itself.
3010
+ **/
3011
+ removeAdmin: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
2993
3012
  /**
2994
3013
  * Removes the admin identity from the `multisig`. This must be called by the admin of the multisig.
2995
3014
  **/
@@ -3063,7 +3082,7 @@ declare module '@polkadot/api-base/types/submittable' {
3063
3082
  *
3064
3083
  * # Arguments
3065
3084
  * * `origin` - contains the secondary key of the caller (i.e. who signed the transaction to execute this function).
3066
- * * `asset_id` - optional [`AssetID`] associated to the new collection. `None` will create a new asset.
3085
+ * * `asset_id` - optional [`AssetId`] associated to the new collection. `None` will create a new asset.
3067
3086
  * * `nft_type` - in case the asset hasn't been created yet, one will be created with the given type.
3068
3087
  * * `collection_keys` - all mandatory metadata keys that the tokens in the collection must have.
3069
3088
  *
@@ -3077,7 +3096,7 @@ declare module '@polkadot/api-base/types/submittable' {
3077
3096
  * # Permissions
3078
3097
  * * Asset
3079
3098
  **/
3080
- createNftCollection: AugmentedSubmittable<(assetId: Option<PolymeshPrimitivesAssetAssetID> | null | Uint8Array | PolymeshPrimitivesAssetAssetID | string, nftType: Option<PolymeshPrimitivesAssetNonFungibleType> | null | Uint8Array | PolymeshPrimitivesAssetNonFungibleType | {
3099
+ createNftCollection: AugmentedSubmittable<(assetId: Option<PolymeshPrimitivesAssetAssetId> | null | Uint8Array | PolymeshPrimitivesAssetAssetId | string, nftType: Option<PolymeshPrimitivesAssetNonFungibleType> | null | Uint8Array | PolymeshPrimitivesAssetNonFungibleType | {
3081
3100
  Derivative: any;
3082
3101
  } | {
3083
3102
  FixedIncome: any;
@@ -3086,7 +3105,7 @@ declare module '@polkadot/api-base/types/submittable' {
3086
3105
  } | {
3087
3106
  Custom: any;
3088
3107
  } | string, collectionKeys: PolymeshPrimitivesNftNftCollectionKeys) => SubmittableExtrinsic<ApiType>, [
3089
- Option<PolymeshPrimitivesAssetAssetID>,
3108
+ Option<PolymeshPrimitivesAssetAssetId>,
3090
3109
  Option<PolymeshPrimitivesAssetNonFungibleType>,
3091
3110
  PolymeshPrimitivesNftNftCollectionKeys
3092
3111
  ]>;
@@ -3095,7 +3114,7 @@ declare module '@polkadot/api-base/types/submittable' {
3095
3114
  *
3096
3115
  * # Arguments
3097
3116
  * * `origin` - is a signer that has permissions to act as an agent of `asset_id`.
3098
- * * `asset_id` - the [`AssetID`] of the NFT collection.
3117
+ * * `asset_id` - the [`AssetId`] of the NFT collection.
3099
3118
  * * `nft_metadata_attributes` - all mandatory metadata keys and values for the NFT.
3100
3119
  * - `portfolio_kind` - the portfolio that will receive the minted nft.
3101
3120
  *
@@ -3109,7 +3128,7 @@ declare module '@polkadot/api-base/types/submittable' {
3109
3128
  * * Asset
3110
3129
  * * Portfolio
3111
3130
  **/
3112
- issueNft: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, nftMetadataAttributes: Vec<PolymeshPrimitivesNftNftMetadataAttribute> | (PolymeshPrimitivesNftNftMetadataAttribute | {
3131
+ issueNft: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, nftMetadataAttributes: Vec<PolymeshPrimitivesNftNftMetadataAttribute> | (PolymeshPrimitivesNftNftMetadataAttribute | {
3113
3132
  key?: any;
3114
3133
  value?: any;
3115
3134
  } | string | Uint8Array)[], portfolioKind: PolymeshPrimitivesIdentityIdPortfolioKind | {
@@ -3117,7 +3136,7 @@ declare module '@polkadot/api-base/types/submittable' {
3117
3136
  } | {
3118
3137
  User: any;
3119
3138
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3120
- PolymeshPrimitivesAssetAssetID,
3139
+ PolymeshPrimitivesAssetAssetId,
3121
3140
  Vec<PolymeshPrimitivesNftNftMetadataAttribute>,
3122
3141
  PolymeshPrimitivesIdentityIdPortfolioKind
3123
3142
  ]>;
@@ -3126,7 +3145,7 @@ declare module '@polkadot/api-base/types/submittable' {
3126
3145
  *
3127
3146
  * # Arguments
3128
3147
  * * `origin` - is a signer that has permissions to act as an agent of `asset_id`.
3129
- * * `asset_id` - the [`AssetID`] of the NFT collection.
3148
+ * * `asset_id` - the [`AssetId`] of the NFT collection.
3130
3149
  * * `nft_id` - the id of the NFT to be burned.
3131
3150
  * * `portfolio_kind` - the portfolio that contains the nft.
3132
3151
  *
@@ -3138,12 +3157,12 @@ declare module '@polkadot/api-base/types/submittable' {
3138
3157
  * * Asset
3139
3158
  * * Portfolio
3140
3159
  **/
3141
- redeemNft: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, nftId: u64 | AnyNumber | Uint8Array, portfolioKind: PolymeshPrimitivesIdentityIdPortfolioKind | {
3160
+ redeemNft: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, nftId: u64 | AnyNumber | Uint8Array, portfolioKind: PolymeshPrimitivesIdentityIdPortfolioKind | {
3142
3161
  Default: any;
3143
3162
  } | {
3144
3163
  User: any;
3145
3164
  } | string | Uint8Array, numberOfKeys: Option<u8> | null | Uint8Array | u8 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
3146
- PolymeshPrimitivesAssetAssetID,
3165
+ PolymeshPrimitivesAssetAssetId,
3147
3166
  u64,
3148
3167
  PolymeshPrimitivesIdentityIdPortfolioKind,
3149
3168
  Option<u8>
@@ -3689,17 +3708,17 @@ declare module '@polkadot/api-base/types/submittable' {
3689
3708
  *
3690
3709
  * # Arguments
3691
3710
  * * `origin` - the secondary key of the sender.
3692
- * * `asset_id` - the [`AssetID`] that will be exempt from affirmation.
3711
+ * * `asset_id` - the [`AssetId`] that will be exempt from affirmation.
3693
3712
  * * `portfolio_id` - the [`PortfolioId`] that can receive `asset_id` without affirmation.
3694
3713
  *
3695
3714
  * # Permissions
3696
3715
  * * Portfolio
3697
3716
  **/
3698
- preApprovePortfolio: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, portfolioId: PolymeshPrimitivesIdentityIdPortfolioId | {
3717
+ preApprovePortfolio: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, portfolioId: PolymeshPrimitivesIdentityIdPortfolioId | {
3699
3718
  did?: any;
3700
3719
  kind?: any;
3701
3720
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3702
- PolymeshPrimitivesAssetAssetID,
3721
+ PolymeshPrimitivesAssetAssetId,
3703
3722
  PolymeshPrimitivesIdentityIdPortfolioId
3704
3723
  ]>;
3705
3724
  /**
@@ -3723,17 +3742,17 @@ declare module '@polkadot/api-base/types/submittable' {
3723
3742
  *
3724
3743
  * # Arguments
3725
3744
  * * `origin` - the secondary key of the sender.
3726
- * * `asset_id` - the [`AssetID`] that will be exempt from affirmation.
3745
+ * * `asset_id` - the [`AssetId`] that will be exempt from affirmation.
3727
3746
  * * `portfolio_id` - the [`PortfolioId`] that can receive `asset_id` without affirmation.
3728
3747
  *
3729
3748
  * # Permissions
3730
3749
  * * Portfolio
3731
3750
  **/
3732
- removePortfolioPreApproval: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, portfolioId: PolymeshPrimitivesIdentityIdPortfolioId | {
3751
+ removePortfolioPreApproval: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, portfolioId: PolymeshPrimitivesIdentityIdPortfolioId | {
3733
3752
  did?: any;
3734
3753
  kind?: any;
3735
3754
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3736
- PolymeshPrimitivesAssetAssetID,
3755
+ PolymeshPrimitivesAssetAssetId,
3737
3756
  PolymeshPrimitivesIdentityIdPortfolioId
3738
3757
  ]>;
3739
3758
  /**
@@ -4040,16 +4059,13 @@ declare module '@polkadot/api-base/types/submittable' {
4040
4059
  NonFungible: any;
4041
4060
  } | {
4042
4061
  OffChain: any;
4043
- } | string | Uint8Array)[], portfolios: Vec<PolymeshPrimitivesIdentityIdPortfolioId> | (PolymeshPrimitivesIdentityIdPortfolioId | {
4044
- did?: any;
4045
- kind?: any;
4046
- } | string | Uint8Array)[], instructionMemo: Option<PolymeshPrimitivesMemo> | null | Uint8Array | PolymeshPrimitivesMemo | string) => SubmittableExtrinsic<ApiType>, [
4062
+ } | string | Uint8Array)[], portfolios: BTreeSet<PolymeshPrimitivesIdentityIdPortfolioId>, instructionMemo: Option<PolymeshPrimitivesMemo> | null | Uint8Array | PolymeshPrimitivesMemo | string) => SubmittableExtrinsic<ApiType>, [
4047
4063
  Option<u64>,
4048
4064
  PolymeshPrimitivesSettlementSettlementType,
4049
4065
  Option<u64>,
4050
4066
  Option<u64>,
4051
4067
  Vec<PolymeshPrimitivesSettlementLeg>,
4052
- Vec<PolymeshPrimitivesIdentityIdPortfolioId>,
4068
+ BTreeSet<PolymeshPrimitivesIdentityIdPortfolioId>,
4053
4069
  Option<PolymeshPrimitivesMemo>
4054
4070
  ]>;
4055
4071
  /**
@@ -4080,16 +4096,13 @@ declare module '@polkadot/api-base/types/submittable' {
4080
4096
  NonFungible: any;
4081
4097
  } | {
4082
4098
  OffChain: any;
4083
- } | string | Uint8Array)[], portfolios: Vec<PolymeshPrimitivesIdentityIdPortfolioId> | (PolymeshPrimitivesIdentityIdPortfolioId | {
4084
- did?: any;
4085
- kind?: any;
4086
- } | string | Uint8Array)[], instructionMemo: Option<PolymeshPrimitivesMemo> | null | Uint8Array | PolymeshPrimitivesMemo | string, mediators: BTreeSet<PolymeshPrimitivesIdentityId>) => SubmittableExtrinsic<ApiType>, [
4099
+ } | string | Uint8Array)[], portfolios: BTreeSet<PolymeshPrimitivesIdentityIdPortfolioId>, instructionMemo: Option<PolymeshPrimitivesMemo> | null | Uint8Array | PolymeshPrimitivesMemo | string, mediators: BTreeSet<PolymeshPrimitivesIdentityId>) => SubmittableExtrinsic<ApiType>, [
4087
4100
  Option<u64>,
4088
4101
  PolymeshPrimitivesSettlementSettlementType,
4089
4102
  Option<u64>,
4090
4103
  Option<u64>,
4091
4104
  Vec<PolymeshPrimitivesSettlementLeg>,
4092
- Vec<PolymeshPrimitivesIdentityIdPortfolioId>,
4105
+ BTreeSet<PolymeshPrimitivesIdentityIdPortfolioId>,
4093
4106
  Option<PolymeshPrimitivesMemo>,
4094
4107
  BTreeSet<PolymeshPrimitivesIdentityId>
4095
4108
  ]>;
@@ -4167,12 +4180,9 @@ declare module '@polkadot/api-base/types/submittable' {
4167
4180
  * # Permissions
4168
4181
  * * Portfolio
4169
4182
  **/
4170
- affirmInstruction: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, portfolios: Vec<PolymeshPrimitivesIdentityIdPortfolioId> | (PolymeshPrimitivesIdentityIdPortfolioId | {
4171
- did?: any;
4172
- kind?: any;
4173
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
4183
+ affirmInstruction: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, portfolios: BTreeSet<PolymeshPrimitivesIdentityIdPortfolioId>) => SubmittableExtrinsic<ApiType>, [
4174
4184
  u64,
4175
- Vec<PolymeshPrimitivesIdentityIdPortfolioId>
4185
+ BTreeSet<PolymeshPrimitivesIdentityIdPortfolioId>
4176
4186
  ]>;
4177
4187
  /**
4178
4188
  * Affirms the instruction as a mediator - should only be called by mediators, otherwise it will fail.
@@ -4199,16 +4209,13 @@ declare module '@polkadot/api-base/types/submittable' {
4199
4209
  * # Permissions
4200
4210
  * * Portfolio
4201
4211
  **/
4202
- affirmInstructionWithCount: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, portfolios: Vec<PolymeshPrimitivesIdentityIdPortfolioId> | (PolymeshPrimitivesIdentityIdPortfolioId | {
4203
- did?: any;
4204
- kind?: any;
4205
- } | string | Uint8Array)[], numberOfAssets: Option<PolymeshPrimitivesSettlementAffirmationCount> | null | Uint8Array | PolymeshPrimitivesSettlementAffirmationCount | {
4212
+ affirmInstructionWithCount: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, portfolios: BTreeSet<PolymeshPrimitivesIdentityIdPortfolioId>, numberOfAssets: Option<PolymeshPrimitivesSettlementAffirmationCount> | null | Uint8Array | PolymeshPrimitivesSettlementAffirmationCount | {
4206
4213
  senderAssetCount?: any;
4207
4214
  receiverAssetCount?: any;
4208
4215
  offchainCount?: any;
4209
4216
  } | string) => SubmittableExtrinsic<ApiType>, [
4210
4217
  u64,
4211
- Vec<PolymeshPrimitivesIdentityIdPortfolioId>,
4218
+ BTreeSet<PolymeshPrimitivesIdentityIdPortfolioId>,
4212
4219
  Option<PolymeshPrimitivesSettlementAffirmationCount>
4213
4220
  ]>;
4214
4221
  /**
@@ -4229,13 +4236,10 @@ declare module '@polkadot/api-base/types/submittable' {
4229
4236
  signer?: any;
4230
4237
  signature?: any;
4231
4238
  metadata?: any;
4232
- } | string | Uint8Array)[], portfolios: Vec<PolymeshPrimitivesIdentityIdPortfolioId> | (PolymeshPrimitivesIdentityIdPortfolioId | {
4233
- did?: any;
4234
- kind?: any;
4235
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
4239
+ } | string | Uint8Array)[], portfolios: BTreeSet<PolymeshPrimitivesIdentityIdPortfolioId>) => SubmittableExtrinsic<ApiType>, [
4236
4240
  u64,
4237
4241
  Vec<PolymeshPrimitivesSettlementReceiptDetails>,
4238
- Vec<PolymeshPrimitivesIdentityIdPortfolioId>
4242
+ BTreeSet<PolymeshPrimitivesIdentityIdPortfolioId>
4239
4243
  ]>;
4240
4244
  /**
4241
4245
  * Affirms an instruction using receipts for offchain transfers.
@@ -4258,30 +4262,27 @@ declare module '@polkadot/api-base/types/submittable' {
4258
4262
  signer?: any;
4259
4263
  signature?: any;
4260
4264
  metadata?: any;
4261
- } | string | Uint8Array)[], portfolios: Vec<PolymeshPrimitivesIdentityIdPortfolioId> | (PolymeshPrimitivesIdentityIdPortfolioId | {
4262
- did?: any;
4263
- kind?: any;
4264
- } | string | Uint8Array)[], numberOfAssets: Option<PolymeshPrimitivesSettlementAffirmationCount> | null | Uint8Array | PolymeshPrimitivesSettlementAffirmationCount | {
4265
+ } | string | Uint8Array)[], portfolios: BTreeSet<PolymeshPrimitivesIdentityIdPortfolioId>, numberOfAssets: Option<PolymeshPrimitivesSettlementAffirmationCount> | null | Uint8Array | PolymeshPrimitivesSettlementAffirmationCount | {
4265
4266
  senderAssetCount?: any;
4266
4267
  receiverAssetCount?: any;
4267
4268
  offchainCount?: any;
4268
4269
  } | string) => SubmittableExtrinsic<ApiType>, [
4269
4270
  u64,
4270
4271
  Vec<PolymeshPrimitivesSettlementReceiptDetails>,
4271
- Vec<PolymeshPrimitivesIdentityIdPortfolioId>,
4272
+ BTreeSet<PolymeshPrimitivesIdentityIdPortfolioId>,
4272
4273
  Option<PolymeshPrimitivesSettlementAffirmationCount>
4273
4274
  ]>;
4274
4275
  /**
4275
4276
  * Allows additional venues to create instructions involving an asset.
4276
4277
  *
4277
- * * `asset_id` - AssetID of the token in question.
4278
+ * * `asset_id` - AssetId of the token in question.
4278
4279
  * * `venues` - Array of venues that are allowed to create instructions for the token in question.
4279
4280
  *
4280
4281
  * # Permissions
4281
4282
  * * Asset
4282
4283
  **/
4283
- allowVenues: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, venues: Vec<u64> | (u64 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
4284
- PolymeshPrimitivesAssetAssetID,
4284
+ allowVenues: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, venues: Vec<u64> | (u64 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
4285
+ PolymeshPrimitivesAssetAssetId,
4285
4286
  Vec<u64>
4286
4287
  ]>;
4287
4288
  /**
@@ -4299,14 +4300,14 @@ declare module '@polkadot/api-base/types/submittable' {
4299
4300
  /**
4300
4301
  * Revokes permission given to venues for creating instructions involving a particular asset.
4301
4302
  *
4302
- * * `asset_id` - AssetID of the token in question.
4303
+ * * `asset_id` - AssetId of the token in question.
4303
4304
  * * `venues` - Array of venues that are no longer allowed to create instructions for the token in question.
4304
4305
  *
4305
4306
  * # Permissions
4306
4307
  * * Asset
4307
4308
  **/
4308
- disallowVenues: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, venues: Vec<u64> | (u64 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
4309
- PolymeshPrimitivesAssetAssetID,
4309
+ disallowVenues: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, venues: Vec<u64> | (u64 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
4310
+ PolymeshPrimitivesAssetAssetId,
4310
4311
  Vec<u64>
4311
4312
  ]>;
4312
4313
  /**
@@ -4411,14 +4412,14 @@ declare module '@polkadot/api-base/types/submittable' {
4411
4412
  * Enables or disabled venue filtering for a token.
4412
4413
  *
4413
4414
  * # Arguments
4414
- * * `asset_id` - AssetID of the token in question.
4415
+ * * `asset_id` - AssetId of the token in question.
4415
4416
  * * `enabled` - Boolean that decides if the filtering should be enabled.
4416
4417
  *
4417
4418
  * # Permissions
4418
4419
  * * Asset
4419
4420
  **/
4420
- setVenueFiltering: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, enabled: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4421
- PolymeshPrimitivesAssetAssetID,
4421
+ setVenueFiltering: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, enabled: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4422
+ PolymeshPrimitivesAssetAssetId,
4422
4423
  bool
4423
4424
  ]>;
4424
4425
  /**
@@ -4462,12 +4463,9 @@ declare module '@polkadot/api-base/types/submittable' {
4462
4463
  * # Permissions
4463
4464
  * * Portfolio
4464
4465
  **/
4465
- withdrawAffirmation: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, portfolios: Vec<PolymeshPrimitivesIdentityIdPortfolioId> | (PolymeshPrimitivesIdentityIdPortfolioId | {
4466
- did?: any;
4467
- kind?: any;
4468
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
4466
+ withdrawAffirmation: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, portfolios: BTreeSet<PolymeshPrimitivesIdentityIdPortfolioId>) => SubmittableExtrinsic<ApiType>, [
4469
4467
  u64,
4470
- Vec<PolymeshPrimitivesIdentityIdPortfolioId>
4468
+ BTreeSet<PolymeshPrimitivesIdentityIdPortfolioId>
4471
4469
  ]>;
4472
4470
  /**
4473
4471
  * Removes the mediator's affirmation for the instruction - should only be called by mediators, otherwise it will fail.
@@ -4492,16 +4490,13 @@ declare module '@polkadot/api-base/types/submittable' {
4492
4490
  * # Permissions
4493
4491
  * * Portfolio
4494
4492
  **/
4495
- withdrawAffirmationWithCount: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, portfolios: Vec<PolymeshPrimitivesIdentityIdPortfolioId> | (PolymeshPrimitivesIdentityIdPortfolioId | {
4496
- did?: any;
4497
- kind?: any;
4498
- } | string | Uint8Array)[], numberOfAssets: Option<PolymeshPrimitivesSettlementAffirmationCount> | null | Uint8Array | PolymeshPrimitivesSettlementAffirmationCount | {
4493
+ withdrawAffirmationWithCount: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, portfolios: BTreeSet<PolymeshPrimitivesIdentityIdPortfolioId>, numberOfAssets: Option<PolymeshPrimitivesSettlementAffirmationCount> | null | Uint8Array | PolymeshPrimitivesSettlementAffirmationCount | {
4499
4494
  senderAssetCount?: any;
4500
4495
  receiverAssetCount?: any;
4501
4496
  offchainCount?: any;
4502
4497
  } | string) => SubmittableExtrinsic<ApiType>, [
4503
4498
  u64,
4504
- Vec<PolymeshPrimitivesIdentityIdPortfolioId>,
4499
+ BTreeSet<PolymeshPrimitivesIdentityIdPortfolioId>,
4505
4500
  Option<PolymeshPrimitivesSettlementAffirmationCount>
4506
4501
  ]>;
4507
4502
  };
@@ -5078,7 +5073,7 @@ declare module '@polkadot/api-base/types/submittable' {
5078
5073
  *
5079
5074
  * # Arguments
5080
5075
  * - `origin` - a signer that has permissions to act as an agent of `asset_id`.
5081
- * - `asset_id` - the [`AssetID`] to change the active stats on.
5076
+ * - `asset_id` - the [`AssetId`] to change the active stats on.
5082
5077
  * - `stat_type` - stat type to update.
5083
5078
  * - `values` - Updated values for `stat_type`.
5084
5079
  *
@@ -5090,11 +5085,11 @@ declare module '@polkadot/api-base/types/submittable' {
5090
5085
  * - Agent
5091
5086
  * - Asset
5092
5087
  **/
5093
- batchUpdateAssetStats: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, statType: PolymeshPrimitivesStatisticsStatType | {
5088
+ batchUpdateAssetStats: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, statType: PolymeshPrimitivesStatisticsStatType | {
5094
5089
  operationType?: any;
5095
5090
  claimIssuer?: any;
5096
5091
  } | string | Uint8Array, values: BTreeSet<PolymeshPrimitivesStatisticsStatUpdate>) => SubmittableExtrinsic<ApiType>, [
5097
- PolymeshPrimitivesAssetAssetID,
5092
+ PolymeshPrimitivesAssetAssetId,
5098
5093
  PolymeshPrimitivesStatisticsStatType,
5099
5094
  BTreeSet<PolymeshPrimitivesStatisticsStatUpdate>
5100
5095
  ]>;
@@ -5103,7 +5098,7 @@ declare module '@polkadot/api-base/types/submittable' {
5103
5098
  *
5104
5099
  * # Arguments
5105
5100
  * - `origin` - a signer that has permissions to act as an agent of `asset_id`.
5106
- * - `asset_id` - the [`AssetID`] to change the active stats on.
5101
+ * - `asset_id` - the [`AssetId`] to change the active stats on.
5107
5102
  * - `stat_types` - the new stat types to replace any existing types.
5108
5103
  *
5109
5104
  * # Errors
@@ -5115,8 +5110,8 @@ declare module '@polkadot/api-base/types/submittable' {
5115
5110
  * - Agent
5116
5111
  * - Asset
5117
5112
  **/
5118
- setActiveAssetStats: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, statTypes: BTreeSet<PolymeshPrimitivesStatisticsStatType>) => SubmittableExtrinsic<ApiType>, [
5119
- PolymeshPrimitivesAssetAssetID,
5113
+ setActiveAssetStats: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, statTypes: BTreeSet<PolymeshPrimitivesStatisticsStatType>) => SubmittableExtrinsic<ApiType>, [
5114
+ PolymeshPrimitivesAssetAssetId,
5120
5115
  BTreeSet<PolymeshPrimitivesStatisticsStatType>
5121
5116
  ]>;
5122
5117
  /**
@@ -5124,7 +5119,7 @@ declare module '@polkadot/api-base/types/submittable' {
5124
5119
  *
5125
5120
  * # Arguments
5126
5121
  * - `origin` - a signer that has permissions to act as an agent of `asset_id`.
5127
- * - `asset_id` - the [`AssetID`] to change the active stats on.
5122
+ * - `asset_id` - the [`AssetId`] to change the active stats on.
5128
5123
  * - `transfer_conditions` - the new transfer condition to replace any existing conditions.
5129
5124
  *
5130
5125
  * # Errors
@@ -5136,8 +5131,8 @@ declare module '@polkadot/api-base/types/submittable' {
5136
5131
  * - Agent
5137
5132
  * - Asset
5138
5133
  **/
5139
- setAssetTransferCompliance: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, transferConditions: BTreeSet<PolymeshPrimitivesTransferComplianceTransferCondition>) => SubmittableExtrinsic<ApiType>, [
5140
- PolymeshPrimitivesAssetAssetID,
5134
+ setAssetTransferCompliance: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, transferConditions: BTreeSet<PolymeshPrimitivesTransferComplianceTransferCondition>) => SubmittableExtrinsic<ApiType>, [
5135
+ PolymeshPrimitivesAssetAssetId,
5141
5136
  BTreeSet<PolymeshPrimitivesTransferComplianceTransferCondition>
5142
5137
  ]>;
5143
5138
  /**
@@ -5188,17 +5183,17 @@ declare module '@polkadot/api-base/types/submittable' {
5188
5183
  createFundraiser: AugmentedSubmittable<(offeringPortfolio: PolymeshPrimitivesIdentityIdPortfolioId | {
5189
5184
  did?: any;
5190
5185
  kind?: any;
5191
- } | string | Uint8Array, offeringAsset: PolymeshPrimitivesAssetAssetID | string | Uint8Array, raisingPortfolio: PolymeshPrimitivesIdentityIdPortfolioId | {
5186
+ } | string | Uint8Array, offeringAsset: PolymeshPrimitivesAssetAssetId | string | Uint8Array, raisingPortfolio: PolymeshPrimitivesIdentityIdPortfolioId | {
5192
5187
  did?: any;
5193
5188
  kind?: any;
5194
- } | string | Uint8Array, raisingAsset: PolymeshPrimitivesAssetAssetID | string | Uint8Array, tiers: Vec<PalletStoPriceTier> | (PalletStoPriceTier | {
5189
+ } | string | Uint8Array, raisingAsset: PolymeshPrimitivesAssetAssetId | string | Uint8Array, tiers: Vec<PalletStoPriceTier> | (PalletStoPriceTier | {
5195
5190
  total?: any;
5196
5191
  price?: any;
5197
5192
  } | string | Uint8Array)[], venueId: u64 | AnyNumber | Uint8Array, start: Option<u64> | null | Uint8Array | u64 | AnyNumber, end: Option<u64> | null | Uint8Array | u64 | AnyNumber, minimumInvestment: u128 | AnyNumber | Uint8Array, fundraiserName: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5198
5193
  PolymeshPrimitivesIdentityIdPortfolioId,
5199
- PolymeshPrimitivesAssetAssetID,
5194
+ PolymeshPrimitivesAssetAssetId,
5200
5195
  PolymeshPrimitivesIdentityIdPortfolioId,
5201
- PolymeshPrimitivesAssetAssetID,
5196
+ PolymeshPrimitivesAssetAssetId,
5202
5197
  Vec<PalletStoPriceTier>,
5203
5198
  u64,
5204
5199
  Option<u64>,
@@ -5215,8 +5210,8 @@ declare module '@polkadot/api-base/types/submittable' {
5215
5210
  * # Permissions
5216
5211
  * * Asset
5217
5212
  **/
5218
- freezeFundraiser: AugmentedSubmittable<(offeringAsset: PolymeshPrimitivesAssetAssetID | string | Uint8Array, id: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5219
- PolymeshPrimitivesAssetAssetID,
5213
+ freezeFundraiser: AugmentedSubmittable<(offeringAsset: PolymeshPrimitivesAssetAssetId | string | Uint8Array, id: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5214
+ PolymeshPrimitivesAssetAssetId,
5220
5215
  u64
5221
5216
  ]>;
5222
5217
  /**
@@ -5239,7 +5234,7 @@ declare module '@polkadot/api-base/types/submittable' {
5239
5234
  } | string | Uint8Array, fundingPortfolio: PolymeshPrimitivesIdentityIdPortfolioId | {
5240
5235
  did?: any;
5241
5236
  kind?: any;
5242
- } | string | Uint8Array, offeringAsset: PolymeshPrimitivesAssetAssetID | string | Uint8Array, id: u64 | AnyNumber | Uint8Array, purchaseAmount: u128 | AnyNumber | Uint8Array, maxPrice: Option<u128> | null | Uint8Array | u128 | AnyNumber, receipt: Option<PolymeshPrimitivesSettlementReceiptDetails> | null | Uint8Array | PolymeshPrimitivesSettlementReceiptDetails | {
5237
+ } | string | Uint8Array, offeringAsset: PolymeshPrimitivesAssetAssetId | string | Uint8Array, id: u64 | AnyNumber | Uint8Array, purchaseAmount: u128 | AnyNumber | Uint8Array, maxPrice: Option<u128> | null | Uint8Array | u128 | AnyNumber, receipt: Option<PolymeshPrimitivesSettlementReceiptDetails> | null | Uint8Array | PolymeshPrimitivesSettlementReceiptDetails | {
5243
5238
  uid?: any;
5244
5239
  instructionId?: any;
5245
5240
  legId?: any;
@@ -5249,7 +5244,7 @@ declare module '@polkadot/api-base/types/submittable' {
5249
5244
  } | string) => SubmittableExtrinsic<ApiType>, [
5250
5245
  PolymeshPrimitivesIdentityIdPortfolioId,
5251
5246
  PolymeshPrimitivesIdentityIdPortfolioId,
5252
- PolymeshPrimitivesAssetAssetID,
5247
+ PolymeshPrimitivesAssetAssetId,
5253
5248
  u64,
5254
5249
  u128,
5255
5250
  Option<u128>,
@@ -5266,8 +5261,8 @@ declare module '@polkadot/api-base/types/submittable' {
5266
5261
  * # Permissions
5267
5262
  * * Asset
5268
5263
  **/
5269
- modifyFundraiserWindow: AugmentedSubmittable<(offeringAsset: PolymeshPrimitivesAssetAssetID | string | Uint8Array, id: u64 | AnyNumber | Uint8Array, start: u64 | AnyNumber | Uint8Array, end: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
5270
- PolymeshPrimitivesAssetAssetID,
5264
+ modifyFundraiserWindow: AugmentedSubmittable<(offeringAsset: PolymeshPrimitivesAssetAssetId | string | Uint8Array, id: u64 | AnyNumber | Uint8Array, start: u64 | AnyNumber | Uint8Array, end: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
5265
+ PolymeshPrimitivesAssetAssetId,
5271
5266
  u64,
5272
5267
  u64,
5273
5268
  Option<u64>
@@ -5281,8 +5276,8 @@ declare module '@polkadot/api-base/types/submittable' {
5281
5276
  * # Permissions
5282
5277
  * * Asset
5283
5278
  **/
5284
- stop: AugmentedSubmittable<(offeringAsset: PolymeshPrimitivesAssetAssetID | string | Uint8Array, id: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5285
- PolymeshPrimitivesAssetAssetID,
5279
+ stop: AugmentedSubmittable<(offeringAsset: PolymeshPrimitivesAssetAssetId | string | Uint8Array, id: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5280
+ PolymeshPrimitivesAssetAssetId,
5286
5281
  u64
5287
5282
  ]>;
5288
5283
  /**
@@ -5294,8 +5289,8 @@ declare module '@polkadot/api-base/types/submittable' {
5294
5289
  * # Permissions
5295
5290
  * * Asset
5296
5291
  **/
5297
- unfreezeFundraiser: AugmentedSubmittable<(offeringAsset: PolymeshPrimitivesAssetAssetID | string | Uint8Array, id: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5298
- PolymeshPrimitivesAssetAssetID,
5292
+ unfreezeFundraiser: AugmentedSubmittable<(offeringAsset: PolymeshPrimitivesAssetAssetId | string | Uint8Array, id: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5293
+ PolymeshPrimitivesAssetAssetId,
5299
5294
  u64
5300
5295
  ]>;
5301
5296
  };
@@ -5944,85 +5939,6 @@ declare module '@polkadot/api-base/types/submittable' {
5944
5939
  batchAll: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
5945
5940
  Vec<Call>
5946
5941
  ]>;
5947
- /**
5948
- * Dispatch multiple calls from the sender's origin.
5949
- *
5950
- * This will execute all calls, in order, stopping at the first failure,
5951
- * in which case the state changes are rolled back.
5952
- * On failure, an event `BatchInterruptedOld(failure_idx, error)` is deposited.
5953
- *
5954
- * May be called from root or a signed origin.
5955
- *
5956
- * # Parameters
5957
- * - `calls`: The calls to be dispatched from the same origin.
5958
- *
5959
- * # Weight
5960
- * - The sum of the weights of the `calls`.
5961
- * - One event.
5962
- *
5963
- * This will return `Ok` in all circumstances except an unsigned origin.
5964
- * To determine the success of the batch, an event is deposited.
5965
- * If any call failed, then `BatchInterruptedOld` is deposited.
5966
- * If all were successful, then the `BatchCompletedOld` event is deposited.
5967
- *
5968
- * POLYMESH: deprecated.
5969
- **/
5970
- batchAtomic: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
5971
- Vec<Call>
5972
- ]>;
5973
- /**
5974
- * Dispatch multiple calls from the sender's origin.
5975
- *
5976
- * This will execute until the first one fails and then stop.
5977
- *
5978
- * May be called from root or a signed origin.
5979
- *
5980
- * # Parameters
5981
- * - `calls`: The calls to be dispatched from the same origin.
5982
- *
5983
- * # Weight
5984
- * - The sum of the weights of the `calls`.
5985
- * - One event.
5986
- *
5987
- * This will return `Ok` in all circumstances except an unsigned origin. To determine the success of the batch, an
5988
- * event is deposited. If a call failed and the batch was interrupted, then the
5989
- * `BatchInterruptedOld` event is deposited, along with the number of successful calls made
5990
- * and the error of the failed call. If all were successful, then the `BatchCompletedOld`
5991
- * event is deposited.
5992
- *
5993
- * POLYMESH: Renamed from `batch` and deprecated.
5994
- **/
5995
- batchOld: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
5996
- Vec<Call>
5997
- ]>;
5998
- /**
5999
- * Dispatch multiple calls from the sender's origin.
6000
- *
6001
- * This will execute all calls, in order, irrespective of failures.
6002
- * Any failures will be available in a `BatchOptimisticFailed` event.
6003
- *
6004
- * May be called from root or a signed origin.
6005
- *
6006
- * # Parameters
6007
- * - `calls`: The calls to be dispatched from the same origin.
6008
- *
6009
- *
6010
- * # Weight
6011
- * - The sum of the weights of the `calls`.
6012
- * - One event.
6013
- *
6014
- * This will return `Ok` in all circumstances except an unsigned origin.
6015
- * To determine the success of the batch, an event is deposited.
6016
- * If any call failed, then `BatchOptimisticFailed` is deposited,
6017
- * with a vector of event counts for each call as well as a vector
6018
- * of errors.
6019
- * If all were successful, then the `BatchCompletedOld` event is deposited.
6020
- *
6021
- * POLYMESH: deprecated.
6022
- **/
6023
- batchOptimistic: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
6024
- Vec<Call>
6025
- ]>;
6026
5942
  /**
6027
5943
  * Dispatches a function call with a provided origin.
6028
5944
  *