@polymeshassociation/polymesh-sdk 21.1.0-beta.1 → 22.0.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (239) hide show
  1. package/CHANGELOG.md +3 -4
  2. package/README.md +1 -1
  3. package/api/client/Claims.d.ts +3 -17
  4. package/api/client/Claims.d.ts.map +1 -1
  5. package/api/client/Claims.js +0 -20
  6. package/api/client/Claims.js.map +1 -1
  7. package/api/client/Polymesh.d.ts +1 -1
  8. package/api/client/Polymesh.d.ts.map +1 -1
  9. package/api/client/Polymesh.js +9 -16
  10. package/api/client/Polymesh.js.map +1 -1
  11. package/api/entities/Asset/Checkpoints/Schedules.d.ts +3 -10
  12. package/api/entities/Asset/Checkpoints/Schedules.d.ts.map +1 -1
  13. package/api/entities/Asset/Checkpoints/Schedules.js +45 -30
  14. package/api/entities/Asset/Checkpoints/Schedules.js.map +1 -1
  15. package/api/entities/Asset/Documents.d.ts.map +1 -1
  16. package/api/entities/Asset/Documents.js +4 -2
  17. package/api/entities/Asset/Documents.js.map +1 -1
  18. package/api/entities/Asset/Offerings.d.ts.map +1 -1
  19. package/api/entities/Asset/Offerings.js +2 -2
  20. package/api/entities/Asset/Offerings.js.map +1 -1
  21. package/api/entities/Asset/Settlements.d.ts.map +1 -1
  22. package/api/entities/Asset/Settlements.js +14 -2
  23. package/api/entities/Asset/Settlements.js.map +1 -1
  24. package/api/entities/Asset/index.d.ts +0 -4
  25. package/api/entities/Asset/index.d.ts.map +1 -1
  26. package/api/entities/Asset/index.js +18 -30
  27. package/api/entities/Asset/index.js.map +1 -1
  28. package/api/entities/Asset/types.d.ts +0 -4
  29. package/api/entities/Asset/types.d.ts.map +1 -1
  30. package/api/entities/Asset/types.js.map +1 -1
  31. package/api/entities/CheckpointSchedule/index.d.ts.map +1 -1
  32. package/api/entities/CheckpointSchedule/index.js +42 -17
  33. package/api/entities/CheckpointSchedule/index.js.map +1 -1
  34. package/api/entities/CorporateActionBase/index.d.ts.map +1 -1
  35. package/api/entities/CorporateActionBase/index.js +36 -11
  36. package/api/entities/CorporateActionBase/index.js.map +1 -1
  37. package/api/entities/Identity/index.d.ts +0 -11
  38. package/api/entities/Identity/index.d.ts.map +1 -1
  39. package/api/entities/Identity/index.js +76 -49
  40. package/api/entities/Identity/index.js.map +1 -1
  41. package/api/entities/Instruction/index.d.ts +7 -1
  42. package/api/entities/Instruction/index.d.ts.map +1 -1
  43. package/api/entities/Instruction/index.js +144 -46
  44. package/api/entities/Instruction/index.js.map +1 -1
  45. package/api/entities/Instruction/types.d.ts +2 -2
  46. package/api/entities/Instruction/types.d.ts.map +1 -1
  47. package/api/entities/Instruction/types.js +1 -1
  48. package/api/entities/Instruction/types.js.map +1 -1
  49. package/api/entities/NumberedPortfolio.d.ts.map +1 -1
  50. package/api/entities/NumberedPortfolio.js +9 -7
  51. package/api/entities/NumberedPortfolio.js.map +1 -1
  52. package/api/entities/Offering/index.d.ts.map +1 -1
  53. package/api/entities/Offering/index.js +9 -2
  54. package/api/entities/Offering/index.js.map +1 -1
  55. package/api/entities/TickerReservation/index.d.ts.map +1 -1
  56. package/api/entities/TickerReservation/index.js +48 -23
  57. package/api/entities/TickerReservation/index.js.map +1 -1
  58. package/api/procedures/addInstruction.d.ts.map +1 -1
  59. package/api/procedures/addInstruction.js +29 -10
  60. package/api/procedures/addInstruction.js.map +1 -1
  61. package/api/procedures/createAsset.d.ts +2 -1
  62. package/api/procedures/createAsset.d.ts.map +1 -1
  63. package/api/procedures/createAsset.js +61 -33
  64. package/api/procedures/createAsset.js.map +1 -1
  65. package/api/procedures/createCheckpointSchedule.d.ts +4 -0
  66. package/api/procedures/createCheckpointSchedule.d.ts.map +1 -1
  67. package/api/procedures/createCheckpointSchedule.js +61 -9
  68. package/api/procedures/createCheckpointSchedule.js.map +1 -1
  69. package/api/procedures/createTransactionBatch.d.ts.map +1 -1
  70. package/api/procedures/createTransactionBatch.js +2 -1
  71. package/api/procedures/createTransactionBatch.js.map +1 -1
  72. package/api/procedures/executeManualInstruction.d.ts.map +1 -1
  73. package/api/procedures/executeManualInstruction.js +27 -10
  74. package/api/procedures/executeManualInstruction.js.map +1 -1
  75. package/api/procedures/issueTokens.d.ts.map +1 -1
  76. package/api/procedures/issueTokens.js +13 -3
  77. package/api/procedures/issueTokens.js.map +1 -1
  78. package/api/procedures/linkCaDocs.d.ts.map +1 -1
  79. package/api/procedures/linkCaDocs.js +5 -3
  80. package/api/procedures/linkCaDocs.js.map +1 -1
  81. package/api/procedures/modifyClaims.d.ts.map +1 -1
  82. package/api/procedures/modifyClaims.js +21 -37
  83. package/api/procedures/modifyClaims.js.map +1 -1
  84. package/api/procedures/modifyInstructionAffirmation.d.ts.map +1 -1
  85. package/api/procedures/modifyInstructionAffirmation.js +12 -3
  86. package/api/procedures/modifyInstructionAffirmation.js.map +1 -1
  87. package/api/procedures/modifySignerPermissions.d.ts +1 -1
  88. package/api/procedures/modifySignerPermissions.d.ts.map +1 -1
  89. package/api/procedures/modifySignerPermissions.js +4 -2
  90. package/api/procedures/modifySignerPermissions.js.map +1 -1
  91. package/api/procedures/moveFunds.d.ts.map +1 -1
  92. package/api/procedures/moveFunds.js +1 -1
  93. package/api/procedures/moveFunds.js.map +1 -1
  94. package/api/procedures/removeCheckpointSchedule.d.ts.map +1 -1
  95. package/api/procedures/removeCheckpointSchedule.js +11 -3
  96. package/api/procedures/removeCheckpointSchedule.js.map +1 -1
  97. package/api/procedures/rescheduleInstruction.d.ts.map +1 -1
  98. package/api/procedures/rescheduleInstruction.js +2 -1
  99. package/api/procedures/rescheduleInstruction.js.map +1 -1
  100. package/api/procedures/setAssetDocuments.d.ts.map +1 -1
  101. package/api/procedures/setAssetDocuments.js +4 -2
  102. package/api/procedures/setAssetDocuments.js.map +1 -1
  103. package/api/procedures/utils.d.ts.map +1 -1
  104. package/api/procedures/utils.js +19 -15
  105. package/api/procedures/utils.js.map +1 -1
  106. package/base/Context.d.ts +7 -5
  107. package/base/Context.d.ts.map +1 -1
  108. package/base/Context.js +13 -3
  109. package/base/Context.js.map +1 -1
  110. package/base/PolymeshTransactionBatch.d.ts.map +1 -1
  111. package/base/PolymeshTransactionBatch.js +6 -1
  112. package/base/PolymeshTransactionBatch.js.map +1 -1
  113. package/generated/types.d.ts +30 -6
  114. package/generated/types.d.ts.map +1 -1
  115. package/generated/types.js +24 -0
  116. package/generated/types.js.map +1 -1
  117. package/internal.d.ts +0 -1
  118. package/internal.d.ts.map +1 -1
  119. package/internal.js +3 -5
  120. package/internal.js.map +1 -1
  121. package/middleware/queries.d.ts +1 -1
  122. package/middleware/queries.d.ts.map +1 -1
  123. package/middleware/queriesV2.d.ts +1 -1
  124. package/middleware/queriesV2.d.ts.map +1 -1
  125. package/npm-package/polymeshassociation-polymesh-sdk-22.0.0-alpha.2.tgz +0 -0
  126. package/package.json +3 -4
  127. package/polkadot/asset/definitions.d.ts +0 -9
  128. package/polkadot/asset/definitions.d.ts.map +1 -1
  129. package/polkadot/asset/definitions.js +1 -47
  130. package/polkadot/asset/definitions.js.map +1 -1
  131. package/polkadot/augment-api-consts.d.ts +26 -9
  132. package/polkadot/augment-api-consts.d.ts.map +1 -1
  133. package/polkadot/augment-api-consts.js +3 -0
  134. package/polkadot/augment-api-consts.js.map +1 -1
  135. package/polkadot/augment-api-errors.d.ts +110 -133
  136. package/polkadot/augment-api-errors.d.ts.map +1 -1
  137. package/polkadot/augment-api-errors.js +3 -0
  138. package/polkadot/augment-api-errors.js.map +1 -1
  139. package/polkadot/augment-api-events.d.ts +135 -167
  140. package/polkadot/augment-api-events.d.ts.map +1 -1
  141. package/polkadot/augment-api-events.js +3 -0
  142. package/polkadot/augment-api-events.js.map +1 -1
  143. package/polkadot/augment-api-query.d.ts +123 -93
  144. package/polkadot/augment-api-query.d.ts.map +1 -1
  145. package/polkadot/augment-api-query.js +3 -0
  146. package/polkadot/augment-api-query.js.map +1 -1
  147. package/polkadot/augment-api-rpc.d.ts +29 -24
  148. package/polkadot/augment-api-rpc.d.ts.map +1 -1
  149. package/polkadot/augment-api-rpc.js +1 -0
  150. package/polkadot/augment-api-rpc.js.map +1 -1
  151. package/polkadot/augment-api-runtime.d.ts +0 -7
  152. package/polkadot/augment-api-runtime.d.ts.map +1 -1
  153. package/polkadot/augment-api-tx.d.ts +484 -737
  154. package/polkadot/augment-api-tx.d.ts.map +1 -1
  155. package/polkadot/augment-api-tx.js +3 -0
  156. package/polkadot/augment-api-tx.js.map +1 -1
  157. package/polkadot/augment-api.d.ts +1 -0
  158. package/polkadot/augment-api.d.ts.map +1 -1
  159. package/polkadot/augment-api.js +1 -0
  160. package/polkadot/augment-api.js.map +1 -1
  161. package/polkadot/augment-types.d.ts +8 -12
  162. package/polkadot/augment-types.d.ts.map +1 -1
  163. package/polkadot/augment-types.js +3 -0
  164. package/polkadot/augment-types.js.map +1 -1
  165. package/polkadot/definitions.d.ts +1 -1
  166. package/polkadot/definitions.d.ts.map +1 -1
  167. package/polkadot/definitions.js +17 -17
  168. package/polkadot/definitions.js.map +1 -1
  169. package/polkadot/identity/definitions.d.ts +9 -0
  170. package/polkadot/identity/definitions.d.ts.map +1 -1
  171. package/polkadot/identity/definitions.js +21 -0
  172. package/polkadot/identity/definitions.js.map +1 -1
  173. package/polkadot/lookup.d.ts +534 -682
  174. package/polkadot/lookup.d.ts.map +1 -1
  175. package/polkadot/lookup.js +664 -820
  176. package/polkadot/lookup.js.map +1 -1
  177. package/polkadot/polymesh/definitions.d.ts +36 -43
  178. package/polkadot/polymesh/definitions.d.ts.map +1 -1
  179. package/polkadot/polymesh/definitions.js +38 -45
  180. package/polkadot/polymesh/definitions.js.map +1 -1
  181. package/polkadot/polymesh/types.d.ts +50 -67
  182. package/polkadot/polymesh/types.d.ts.map +1 -1
  183. package/polkadot/registry.d.ts +27 -44
  184. package/polkadot/registry.d.ts.map +1 -1
  185. package/polkadot/registry.js +3 -0
  186. package/polkadot/registry.js.map +1 -1
  187. package/polkadot/schema.d.ts +223 -61
  188. package/polkadot/schema.d.ts.map +1 -1
  189. package/polkadot/schema.js +335 -120
  190. package/polkadot/schema.js.map +1 -1
  191. package/polkadot/settlement/definitions.d.ts +16 -0
  192. package/polkadot/settlement/definitions.d.ts.map +1 -0
  193. package/polkadot/settlement/definitions.js +25 -0
  194. package/polkadot/settlement/definitions.js.map +1 -0
  195. package/polkadot/settlement/index.d.ts +2 -0
  196. package/polkadot/settlement/index.d.ts.map +1 -0
  197. package/polkadot/settlement/index.js +20 -0
  198. package/polkadot/settlement/index.js.map +1 -0
  199. package/polkadot/settlement/types.d.ts +2 -0
  200. package/polkadot/settlement/types.d.ts.map +1 -0
  201. package/polkadot/settlement/types.js +5 -0
  202. package/polkadot/settlement/types.js.map +1 -0
  203. package/polkadot/types-lookup.d.ts +741 -918
  204. package/polkadot/types-lookup.d.ts.map +1 -1
  205. package/polkadot/types-lookup.js +4 -0
  206. package/polkadot/types-lookup.js.map +1 -1
  207. package/polkadot/types.d.ts +1 -1
  208. package/polkadot/types.d.ts.map +1 -1
  209. package/polkadot/types.js +1 -1
  210. package/polkadot/types.js.map +1 -1
  211. package/types/index.d.ts +26 -39
  212. package/types/index.d.ts.map +1 -1
  213. package/types/index.js +0 -4
  214. package/types/index.js.map +1 -1
  215. package/types/internal.d.ts +3 -7
  216. package/types/internal.d.ts.map +1 -1
  217. package/types/internal.js +1 -0
  218. package/types/internal.js.map +1 -1
  219. package/utils/constants.d.ts +3 -3
  220. package/utils/constants.d.ts.map +1 -1
  221. package/utils/constants.js +3 -3
  222. package/utils/constants.js.map +1 -1
  223. package/utils/conversion.d.ts +57 -48
  224. package/utils/conversion.d.ts.map +1 -1
  225. package/utils/conversion.js +162 -186
  226. package/utils/conversion.js.map +1 -1
  227. package/utils/internal.d.ts +9 -12
  228. package/utils/internal.d.ts.map +1 -1
  229. package/utils/internal.js +71 -109
  230. package/utils/internal.js.map +1 -1
  231. package/utils/typeguards.d.ts +1 -13
  232. package/utils/typeguards.d.ts.map +1 -1
  233. package/utils/typeguards.js +2 -28
  234. package/utils/typeguards.js.map +1 -1
  235. package/api/procedures/addInvestorUniquenessClaim.d.ts +0 -16
  236. package/api/procedures/addInvestorUniquenessClaim.d.ts.map +0 -1
  237. package/api/procedures/addInvestorUniquenessClaim.js +0 -82
  238. package/api/procedures/addInvestorUniquenessClaim.js.map +0 -1
  239. package/npm-package/polymeshassociation-polymesh-sdk-21.1.0-beta.1.tgz +0 -0
@@ -1,8 +1,12 @@
1
- import type { ApiTypes } from '@polkadot/api-base/types';
1
+ import '@polkadot/api-base/types/submittable';
2
+ import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@polkadot/api-base/types';
2
3
  import type { BTreeSet, Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
3
4
  import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
4
5
  import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime';
5
- import type { ConfidentialIdentityV2ClaimProofsScopeClaimProof, PalletAssetCheckpointScheduleSpec, PalletAssetClassicTickerImport, PalletAssetTickerRegistrationConfig, PalletBridgeBridgeTx, PalletContractsWasmDeterminism, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, PalletCorporateActionsCaId, PalletCorporateActionsCaKind, PalletCorporateActionsInitiateCorporateActionArgs, PalletCorporateActionsRecordDateSpec, PalletCorporateActionsTargetIdentities, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletPipsSnapshotResult, PalletPortfolioMovePortfolioItem, PalletRewardsItnRewardStatus, PalletSettlementInstructionMemo, PalletSettlementLeg, PalletSettlementLegV2, PalletSettlementReceiptDetails, PalletSettlementSettlementType, PalletSettlementVenueType, PalletStakingCompactAssignments, PalletStakingElectionSize, PalletStakingRewardDestination, PalletStakingSlashingSwitch, PalletStakingValidatorPrefs, PalletStoPriceTier, PalletUtilityUniqueCall, PolymeshCommonUtilitiesBalancesMemo, PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuth, PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuthV1, PolymeshCommonUtilitiesMaybeBlock, PolymeshCommonUtilitiesProtocolFeeProtocolOp, PolymeshContractsChainExtensionExtrinsicId, PolymeshPrimitivesAgentAgentGroup, PolymeshPrimitivesAssetAssetType, PolymeshPrimitivesAssetIdentifier, PolymeshPrimitivesAssetMetadataAssetMetadataKey, PolymeshPrimitivesAssetMetadataAssetMetadataSpec, PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail, PolymeshPrimitivesAssetNonFungibleType, PolymeshPrimitivesAuthorizationAuthorizationData, PolymeshPrimitivesBeneficiary, PolymeshPrimitivesCddIdInvestorUid, PolymeshPrimitivesComplianceManagerComplianceRequirement, PolymeshPrimitivesCondition, PolymeshPrimitivesConditionTrustedIssuer, PolymeshPrimitivesDocument, PolymeshPrimitivesEthereumEcdsaSignature, PolymeshPrimitivesIdentityClaimClaim, PolymeshPrimitivesIdentityClaimClaimType, PolymeshPrimitivesIdentityClaimScope, PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityIdPortfolioId, PolymeshPrimitivesIdentityIdPortfolioKind, PolymeshPrimitivesNftNftCollectionKeys, PolymeshPrimitivesNftNftMetadataAttribute, PolymeshPrimitivesPortfolioFund, PolymeshPrimitivesPosRatio, PolymeshPrimitivesSecondaryKey, PolymeshPrimitivesSecondaryKeyPermissions, PolymeshPrimitivesSecondaryKeySignatory, PolymeshPrimitivesStatisticsAssetScope, PolymeshPrimitivesStatisticsStatType, PolymeshPrimitivesStatisticsStatUpdate, PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions, PolymeshPrimitivesTicker, PolymeshPrimitivesTransferComplianceTransferCondition, PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, PolymeshRuntimeDevelopRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsElectionScore, SpRuntimeHeader, SpRuntimeMultiSignature, SpSessionMembershipProof, SpWeightsWeightV2Weight } from "./types-lookup.ts";
6
+ import type { PalletBridgeBridgeTx, PalletContractsWasmDeterminism, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, PalletCorporateActionsCaId, PalletCorporateActionsCaKind, PalletCorporateActionsInitiateCorporateActionArgs, PalletCorporateActionsRecordDateSpec, PalletCorporateActionsTargetIdentities, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletPipsSnapshotResult, PalletRewardsItnRewardStatus, PalletStakingCompactAssignments, PalletStakingElectionSize, PalletStakingRewardDestination, PalletStakingSlashingSwitch, PalletStakingValidatorPrefs, PalletStoPriceTier, PalletUtilityUniqueCall, PolymeshCommonUtilitiesCheckpointScheduleCheckpoints, PolymeshCommonUtilitiesIdentityCreateChildIdentityWithAuth, PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuth, PolymeshCommonUtilitiesMaybeBlock, PolymeshCommonUtilitiesProtocolFeeProtocolOp, PolymeshContractsChainExtensionExtrinsicId, PolymeshPrimitivesAgentAgentGroup, PolymeshPrimitivesAssetAssetType, PolymeshPrimitivesAssetIdentifier, PolymeshPrimitivesAssetMetadataAssetMetadataKey, PolymeshPrimitivesAssetMetadataAssetMetadataSpec, PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail, PolymeshPrimitivesAssetNonFungibleType, PolymeshPrimitivesAuthorizationAuthorizationData, PolymeshPrimitivesBeneficiary, PolymeshPrimitivesComplianceManagerComplianceRequirement, PolymeshPrimitivesCondition, PolymeshPrimitivesConditionTrustedIssuer, PolymeshPrimitivesDocument, PolymeshPrimitivesIdentityClaimClaim, PolymeshPrimitivesIdentityClaimClaimType, PolymeshPrimitivesIdentityClaimScope, PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityIdPortfolioId, PolymeshPrimitivesIdentityIdPortfolioKind, PolymeshPrimitivesMemo, PolymeshPrimitivesNftNftCollectionKeys, PolymeshPrimitivesNftNftMetadataAttribute, PolymeshPrimitivesPortfolioFund, PolymeshPrimitivesPosRatio, PolymeshPrimitivesSecondaryKey, PolymeshPrimitivesSecondaryKeyPermissions, PolymeshPrimitivesSecondaryKeySignatory, PolymeshPrimitivesSettlementLeg, PolymeshPrimitivesSettlementReceiptDetails, PolymeshPrimitivesSettlementSettlementType, PolymeshPrimitivesSettlementVenueType, PolymeshPrimitivesStatisticsAssetScope, PolymeshPrimitivesStatisticsStatType, PolymeshPrimitivesStatisticsStatUpdate, PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions, PolymeshPrimitivesTicker, PolymeshPrimitivesTransferComplianceTransferCondition, PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, PolymeshRuntimeDevelopRuntimeOriginCaller, PolymeshRuntimeDevelopRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpRuntimeMultiSignature, SpSessionMembershipProof, SpWeightsWeightV2Weight } from "./types-lookup.ts";
7
+ export declare type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
8
+ export declare type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
9
+ export declare type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;
6
10
  declare module '@polkadot/api-base/types/submittable' {
7
11
  interface AugmentedSubmittables<ApiType extends ApiTypes> {
8
12
  asset: {
@@ -55,26 +59,6 @@ declare module '@polkadot/api-base/types/submittable' {
55
59
  Vec<PolymeshPrimitivesDocument>,
56
60
  PolymeshPrimitivesTicker
57
61
  ]>;
58
- /**
59
- * Claim a systematically reserved Polymath Classic (PMC) `ticker`
60
- * and transfer it to the `origin`'s identity.
61
- *
62
- * To verify that the `origin` is in control of the Ethereum account on the books,
63
- * an `ethereum_signature` containing the `origin`'s DID as the message
64
- * must be provided by that Ethereum account.
65
- *
66
- * # Errors
67
- * - `NoSuchClassicTicker` if this is not a systematically reserved PMC ticker.
68
- * - `TickerAlreadyRegistered` if the ticker was already registered, e.g., by `origin`.
69
- * - `TickerRegistrationExpired` if the ticker's registration has expired.
70
- * - `BadOrigin` if not signed.
71
- * - `InvalidEthereumSignature` if the `ethereum_signature` is not valid.
72
- * - `NotAnOwner` if the ethereum account is not the owner of the PMC ticker.
73
- **/
74
- claimClassicTicker: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, ethereumSignature: PolymeshPrimitivesEthereumEcdsaSignature | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
75
- PolymeshPrimitivesTicker,
76
- PolymeshPrimitivesEthereumEcdsaSignature
77
- ]>;
78
62
  /**
79
63
  * Forces a transfer of token from `from_portfolio` to the caller's default portfolio.
80
64
  *
@@ -104,8 +88,6 @@ declare module '@polkadot/api-base/types/submittable' {
104
88
  * * `asset_type` - the asset type.
105
89
  * * `identifiers` - a vector of asset identifiers.
106
90
  * * `funding_round` - name of the funding round.
107
- * * `disable_iu` - whether or not investor uniqueness enforcement should be disabled.
108
- * This cannot be changed after creating the asset.
109
91
  *
110
92
  * ## Errors
111
93
  * - `InvalidAssetIdentifier` if any of `identifiers` are invalid.
@@ -154,14 +136,13 @@ declare module '@polkadot/api-base/types/submittable' {
154
136
  LEI: any;
155
137
  } | {
156
138
  FIGI: any;
157
- } | string | Uint8Array)[], fundingRound: Option<Bytes> | null | object | string | Uint8Array, disableIu: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
139
+ } | string | Uint8Array)[], fundingRound: Option<Bytes> | null | Uint8Array | Bytes | string) => SubmittableExtrinsic<ApiType>, [
158
140
  Bytes,
159
141
  PolymeshPrimitivesTicker,
160
142
  bool,
161
143
  PolymeshPrimitivesAssetAssetType,
162
144
  Vec<PolymeshPrimitivesAssetIdentifier>,
163
- Option<Bytes>,
164
- bool
145
+ Option<Bytes>
165
146
  ]>;
166
147
  /**
167
148
  * Utility extrinsic to batch `create_asset` and `register_custom_asset_type`.
@@ -176,14 +157,26 @@ declare module '@polkadot/api-base/types/submittable' {
176
157
  LEI: any;
177
158
  } | {
178
159
  FIGI: any;
179
- } | string | Uint8Array)[], fundingRound: Option<Bytes> | null | object | string | Uint8Array, disableIu: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
160
+ } | string | Uint8Array)[], fundingRound: Option<Bytes> | null | Uint8Array | Bytes | string) => SubmittableExtrinsic<ApiType>, [
180
161
  Bytes,
181
162
  PolymeshPrimitivesTicker,
182
163
  bool,
183
164
  Bytes,
184
165
  Vec<PolymeshPrimitivesAssetIdentifier>,
185
- Option<Bytes>,
186
- bool
166
+ Option<Bytes>
167
+ ]>;
168
+ /**
169
+ * Pre-approves the receivement of the asset for all identities.
170
+ *
171
+ * # Arguments
172
+ * * `origin` - the secondary key of the sender.
173
+ * * `ticker` - the [`Ticker`] that will be exempt from affirmation.
174
+ *
175
+ * # Permissions
176
+ * * Root
177
+ **/
178
+ exemptTickerAffirmation: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
179
+ PolymeshPrimitivesTicker
187
180
  ]>;
188
181
  /**
189
182
  * Freezes transfers and minting of a given token.
@@ -202,21 +195,26 @@ declare module '@polkadot/api-base/types/submittable' {
202
195
  PolymeshPrimitivesTicker
203
196
  ]>;
204
197
  /**
205
- * Issue, or mint, new tokens to the caller,
206
- * which must be an authorized external agent.
198
+ * Issue, or mint, new tokens to the caller, which must be an authorized external agent.
207
199
  *
208
200
  * # Arguments
209
- * * `origin` is a signer that has permissions to act as an agent of `ticker`.
210
- * * `ticker` of the token.
211
- * * `amount` of tokens that get issued.
201
+ * * `origin` - A signer that has permissions to act as an agent of `ticker`.
202
+ * * `ticker` - The [`Ticker`] of the token.
203
+ * * `amount` - The amount of tokens that will be issued.
204
+ * * `portfolio_kind` - The [`PortfolioKind`] of the portfolio that will receive the minted tokens.
212
205
  *
213
206
  * # Permissions
214
207
  * * Asset
215
208
  * * Portfolio
216
209
  **/
217
- issue: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
210
+ issue: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, portfolioKind: PolymeshPrimitivesIdentityIdPortfolioKind | {
211
+ Default: any;
212
+ } | {
213
+ User: any;
214
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
218
215
  PolymeshPrimitivesTicker,
219
- u128
216
+ u128,
217
+ PolymeshPrimitivesIdentityIdPortfolioKind
220
218
  ]>;
221
219
  /**
222
220
  * Makes an indivisible token divisible.
@@ -234,6 +232,19 @@ declare module '@polkadot/api-base/types/submittable' {
234
232
  makeDivisible: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
235
233
  PolymeshPrimitivesTicker
236
234
  ]>;
235
+ /**
236
+ * Pre-approves the receivement of an asset.
237
+ *
238
+ * # Arguments
239
+ * * `origin` - the secondary key of the sender.
240
+ * * `ticker` - the [`Ticker`] that will be exempt from affirmation.
241
+ *
242
+ * # Permissions
243
+ * * Asset
244
+ **/
245
+ preApproveTicker: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
246
+ PolymeshPrimitivesTicker
247
+ ]>;
237
248
  /**
238
249
  * Redeems existing tokens by reducing the balance of the caller's default portfolio and the total supply of the token
239
250
  *
@@ -308,7 +319,10 @@ declare module '@polkadot/api-base/types/submittable' {
308
319
  url?: any;
309
320
  description?: any;
310
321
  typeDef?: any;
311
- } | string | Uint8Array, value: Bytes | string | Uint8Array, detail: Option<PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
322
+ } | string | Uint8Array, value: Bytes | string | Uint8Array, detail: Option<PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail> | null | Uint8Array | PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail | {
323
+ expire?: any;
324
+ lockStatus?: any;
325
+ } | string) => SubmittableExtrinsic<ApiType>, [
312
326
  PolymeshPrimitivesTicker,
313
327
  Bytes,
314
328
  PolymeshPrimitivesAssetMetadataAssetMetadataSpec,
@@ -453,6 +467,32 @@ declare module '@polkadot/api-base/types/submittable' {
453
467
  PolymeshPrimitivesTicker,
454
468
  PolymeshPrimitivesAssetMetadataAssetMetadataKey
455
469
  ]>;
470
+ /**
471
+ * Removes the pre-approval of the asset for all identities.
472
+ *
473
+ * # Arguments
474
+ * * `origin` - the secondary key of the sender.
475
+ * * `ticker` - the [`Ticker`] that will have its exemption removed.
476
+ *
477
+ * # Permissions
478
+ * * Root
479
+ **/
480
+ removeTickerAffirmationExemption: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
481
+ PolymeshPrimitivesTicker
482
+ ]>;
483
+ /**
484
+ * Removes the pre approval of an asset.
485
+ *
486
+ * # Arguments
487
+ * * `origin` - the secondary key of the sender.
488
+ * * `ticker` - the [`Ticker`] that will have its exemption removed.
489
+ *
490
+ * # Permissions
491
+ * * Asset
492
+ **/
493
+ removeTickerPreApproval: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
494
+ PolymeshPrimitivesTicker
495
+ ]>;
456
496
  /**
457
497
  * Renames a given token.
458
498
  *
@@ -472,34 +512,6 @@ declare module '@polkadot/api-base/types/submittable' {
472
512
  PolymeshPrimitivesTicker,
473
513
  Bytes
474
514
  ]>;
475
- /**
476
- * Reserve a Polymath Classic (PMC) ticker.
477
- * Must be called by root, and assigns the ticker to a systematic DID.
478
- *
479
- * # Arguments
480
- * * `origin` which must be root.
481
- * * `classic_ticker_import` specification for the PMC ticker.
482
- * * `contract_did` to reserve the ticker to if `classic_ticker_import.is_contract` holds.
483
- * * `config` to use for expiry and ticker length.
484
- *
485
- * # Errors
486
- * * `AssetAlreadyCreated` if `classic_ticker_import.ticker` was created as an asset.
487
- * * `TickerTooLong` if the `config` considers the `classic_ticker_import.ticker` too long.
488
- * * `TickerAlreadyRegistered` if `classic_ticker_import.ticker` was already registered.
489
- **/
490
- reserveClassicTicker: AugmentedSubmittable<(classicTickerImport: PalletAssetClassicTickerImport | {
491
- ethOwner?: any;
492
- ticker?: any;
493
- isContract?: any;
494
- isCreated?: any;
495
- } | string | Uint8Array, contractDid: PolymeshPrimitivesIdentityId | string | Uint8Array, config: PalletAssetTickerRegistrationConfig | {
496
- maxTickerLength?: any;
497
- registrationLength?: any;
498
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
499
- PalletAssetClassicTickerImport,
500
- PolymeshPrimitivesIdentityId,
501
- PalletAssetTickerRegistrationConfig
502
- ]>;
503
515
  /**
504
516
  * Set asset metadata value.
505
517
  *
@@ -523,7 +535,10 @@ declare module '@polkadot/api-base/types/submittable' {
523
535
  Global: any;
524
536
  } | {
525
537
  Local: any;
526
- } | string | Uint8Array, value: Bytes | string | Uint8Array, detail: Option<PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
538
+ } | string | Uint8Array, value: Bytes | string | Uint8Array, detail: Option<PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail> | null | Uint8Array | PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail | {
539
+ expire?: any;
540
+ lockStatus?: any;
541
+ } | string) => SubmittableExtrinsic<ApiType>, [
527
542
  PolymeshPrimitivesTicker,
528
543
  PolymeshPrimitivesAssetMetadataAssetMetadataKey,
529
544
  Bytes,
@@ -665,20 +680,6 @@ declare module '@polkadot/api-base/types/submittable' {
665
680
  Vec<PolymeshPrimitivesAssetIdentifier>
666
681
  ]>;
667
682
  };
668
- authorship: {
669
- /**
670
- * Provide a set of uncles.
671
- **/
672
- setUncles: AugmentedSubmittable<(newUncles: Vec<SpRuntimeHeader> | (SpRuntimeHeader | {
673
- parentHash?: any;
674
- number?: any;
675
- stateRoot?: any;
676
- extrinsicsRoot?: any;
677
- digest?: any;
678
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
679
- Vec<SpRuntimeHeader>
680
- ]>;
681
- };
682
683
  babe: {
683
684
  /**
684
685
  * Plan an epoch config change. The epoch config change is recorded and will be enacted on
@@ -862,10 +863,10 @@ declare module '@polkadot/api-base/types/submittable' {
862
863
  Address32: any;
863
864
  } | {
864
865
  Address20: any;
865
- } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array, memo: Option<PolymeshCommonUtilitiesBalancesMemo> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
866
+ } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array, memo: Option<PolymeshPrimitivesMemo> | null | Uint8Array | PolymeshPrimitivesMemo | string) => SubmittableExtrinsic<ApiType>, [
866
867
  MultiAddress,
867
868
  Compact<u128>,
868
- Option<PolymeshCommonUtilitiesBalancesMemo>
869
+ Option<PolymeshPrimitivesMemo>
869
870
  ]>;
870
871
  };
871
872
  base: {};
@@ -1164,7 +1165,7 @@ declare module '@polkadot/api-base/types/submittable' {
1164
1165
  distribute: AugmentedSubmittable<(caId: PalletCorporateActionsCaId | {
1165
1166
  ticker?: any;
1166
1167
  localId?: any;
1167
- } | string | Uint8Array, portfolio: Option<u64> | null | object | string | Uint8Array, currency: PolymeshPrimitivesTicker | string | Uint8Array, perShare: u128 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array, paymentAt: u64 | AnyNumber | Uint8Array, expiresAt: Option<u64> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1168
+ } | string | Uint8Array, portfolio: Option<u64> | null | Uint8Array | u64 | AnyNumber, currency: PolymeshPrimitivesTicker | string | Uint8Array, perShare: u128 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array, paymentAt: u64 | AnyNumber | Uint8Array, expiresAt: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
1168
1169
  PalletCorporateActionsCaId,
1169
1170
  Option<u64>,
1170
1171
  PolymeshPrimitivesTicker,
@@ -1287,7 +1288,7 @@ declare module '@polkadot/api-base/types/submittable' {
1287
1288
  * * `expiry` - Time-stamp when `who` is removed from CDD. As soon as it is expired, the
1288
1289
  * generated claims will be "invalid" as `who` is not considered a member of the group.
1289
1290
  **/
1290
- disableMember: AugmentedSubmittable<(who: PolymeshPrimitivesIdentityId | string | Uint8Array, expiry: Option<u64> | null | object | string | Uint8Array, at: Option<u64> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1291
+ disableMember: AugmentedSubmittable<(who: PolymeshPrimitivesIdentityId | string | Uint8Array, expiry: Option<u64> | null | Uint8Array | u64 | AnyNumber, at: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
1291
1292
  PolymeshPrimitivesIdentityId,
1292
1293
  Option<u64>,
1293
1294
  Option<u64>
@@ -1370,21 +1371,17 @@ declare module '@polkadot/api-base/types/submittable' {
1370
1371
  *
1371
1372
  * # Errors
1372
1373
  * - `UnauthorizedAgent` if the DID of `origin` isn't a permissioned agent for `ticker`.
1373
- * - `ScheduleDurationTooShort` if the schedule duration is too short.
1374
1374
  * - `InsufficientAccountBalance` if the protocol fee could not be charged.
1375
1375
  * - `CounterOverflow` if the schedule ID or total checkpoint counters would overflow.
1376
- * - `FailedToComputeNextCheckpoint` if the next checkpoint for `schedule` is in the past.
1377
1376
  *
1378
1377
  * # Permissions
1379
1378
  * * Asset
1380
1379
  **/
1381
- createSchedule: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, schedule: PalletAssetCheckpointScheduleSpec | {
1382
- start?: any;
1383
- period?: any;
1384
- remaining?: any;
1380
+ createSchedule: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, schedule: PolymeshCommonUtilitiesCheckpointScheduleCheckpoints | {
1381
+ pending?: any;
1385
1382
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1386
1383
  PolymeshPrimitivesTicker,
1387
- PalletAssetCheckpointScheduleSpec
1384
+ PolymeshCommonUtilitiesCheckpointScheduleCheckpoints
1388
1385
  ]>;
1389
1386
  /**
1390
1387
  * Removes the checkpoint schedule of an asset identified by `id`.
@@ -1463,7 +1460,7 @@ declare module '@polkadot/api-base/types/submittable' {
1463
1460
  * * `expiry` - Time-stamp when `who` is removed from CDD. As soon as it is expired, the
1464
1461
  * generated claims will be "invalid" as `who` is not considered a member of the group.
1465
1462
  **/
1466
- disableMember: AugmentedSubmittable<(who: PolymeshPrimitivesIdentityId | string | Uint8Array, expiry: Option<u64> | null | object | string | Uint8Array, at: Option<u64> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1463
+ disableMember: AugmentedSubmittable<(who: PolymeshPrimitivesIdentityId | string | Uint8Array, expiry: Option<u64> | null | Uint8Array | u64 | AnyNumber, at: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
1467
1464
  PolymeshPrimitivesIdentityId,
1468
1465
  Option<u64>,
1469
1466
  Option<u64>
@@ -1707,7 +1704,7 @@ declare module '@polkadot/api-base/types/submittable' {
1707
1704
  } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: SpWeightsWeightV2Weight | {
1708
1705
  refTime?: any;
1709
1706
  proofSize?: any;
1710
- } | string | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | object | string | Uint8Array, data: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1707
+ } | string | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | Uint8Array | Compact<u128> | AnyNumber, data: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1711
1708
  MultiAddress,
1712
1709
  Compact<u128>,
1713
1710
  SpWeightsWeightV2Weight,
@@ -1727,7 +1724,7 @@ declare module '@polkadot/api-base/types/submittable' {
1727
1724
  Address32: any;
1728
1725
  } | {
1729
1726
  Address20: any;
1730
- } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: Compact<u64> | AnyNumber | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | object | string | Uint8Array, data: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1727
+ } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: Compact<u64> | AnyNumber | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | Uint8Array | Compact<u128> | AnyNumber, data: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1731
1728
  MultiAddress,
1732
1729
  Compact<u128>,
1733
1730
  Compact<u64>,
@@ -1744,7 +1741,7 @@ declare module '@polkadot/api-base/types/submittable' {
1744
1741
  instantiate: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: SpWeightsWeightV2Weight | {
1745
1742
  refTime?: any;
1746
1743
  proofSize?: any;
1747
- } | string | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | object | string | Uint8Array, codeHash: H256 | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1744
+ } | string | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | Uint8Array | Compact<u128> | AnyNumber, codeHash: H256 | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1748
1745
  Compact<u128>,
1749
1746
  SpWeightsWeightV2Weight,
1750
1747
  Option<Compact<u128>>,
@@ -1755,7 +1752,7 @@ declare module '@polkadot/api-base/types/submittable' {
1755
1752
  /**
1756
1753
  * Deprecated version if [`Self::instantiate`] for use in an in-storage `Call`.
1757
1754
  **/
1758
- instantiateOldWeight: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: Compact<u64> | AnyNumber | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | object | string | Uint8Array, codeHash: H256 | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1755
+ instantiateOldWeight: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: Compact<u64> | AnyNumber | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | Uint8Array | Compact<u128> | AnyNumber, codeHash: H256 | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1759
1756
  Compact<u128>,
1760
1757
  Compact<u64>,
1761
1758
  Option<Compact<u128>>,
@@ -1794,7 +1791,7 @@ declare module '@polkadot/api-base/types/submittable' {
1794
1791
  instantiateWithCode: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: SpWeightsWeightV2Weight | {
1795
1792
  refTime?: any;
1796
1793
  proofSize?: any;
1797
- } | string | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | object | string | Uint8Array, code: Bytes | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1794
+ } | string | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | Uint8Array | Compact<u128> | AnyNumber, code: Bytes | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1798
1795
  Compact<u128>,
1799
1796
  SpWeightsWeightV2Weight,
1800
1797
  Option<Compact<u128>>,
@@ -1805,7 +1802,7 @@ declare module '@polkadot/api-base/types/submittable' {
1805
1802
  /**
1806
1803
  * Deprecated version if [`Self::instantiate_with_code`] for use in an in-storage `Call`.
1807
1804
  **/
1808
- instantiateWithCodeOldWeight: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: Compact<u64> | AnyNumber | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | object | string | Uint8Array, code: Bytes | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1805
+ instantiateWithCodeOldWeight: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: Compact<u64> | AnyNumber | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | Uint8Array | Compact<u128> | AnyNumber, code: Bytes | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1809
1806
  Compact<u128>,
1810
1807
  Compact<u64>,
1811
1808
  Option<Compact<u128>>,
@@ -1870,7 +1867,7 @@ declare module '@polkadot/api-base/types/submittable' {
1870
1867
  * only be instantiated by permissioned entities. The same is true when uploading
1871
1868
  * through [`Self::instantiate_with_code`].
1872
1869
  **/
1873
- uploadCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | object | string | Uint8Array, determinism: PalletContractsWasmDeterminism | 'Deterministic' | 'AllowIndeterminism' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1870
+ uploadCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | Uint8Array | Compact<u128> | AnyNumber, determinism: PalletContractsWasmDeterminism | 'Deterministic' | 'AllowIndeterminism' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1874
1871
  Bytes,
1875
1872
  Option<Compact<u128>>,
1876
1873
  PalletContractsWasmDeterminism
@@ -1897,7 +1894,13 @@ declare module '@polkadot/api-base/types/submittable' {
1897
1894
  changeRecordDate: AugmentedSubmittable<(caId: PalletCorporateActionsCaId | {
1898
1895
  ticker?: any;
1899
1896
  localId?: any;
1900
- } | string | Uint8Array, recordDate: Option<PalletCorporateActionsRecordDateSpec> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1897
+ } | string | Uint8Array, recordDate: Option<PalletCorporateActionsRecordDateSpec> | null | Uint8Array | PalletCorporateActionsRecordDateSpec | {
1898
+ Scheduled: any;
1899
+ } | {
1900
+ ExistingSchedule: any;
1901
+ } | {
1902
+ Existing: any;
1903
+ } | string) => SubmittableExtrinsic<ApiType>, [
1901
1904
  PalletCorporateActionsCaId,
1902
1905
  Option<PalletCorporateActionsRecordDateSpec>
1903
1906
  ]>;
@@ -1933,7 +1936,19 @@ declare module '@polkadot/api-base/types/submittable' {
1933
1936
  * # Permissions
1934
1937
  * * Asset
1935
1938
  **/
1936
- initiateCorporateAction: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, kind: PalletCorporateActionsCaKind | 'PredictableBenefit' | 'UnpredictableBenefit' | 'IssuerNotice' | 'Reorganization' | 'Other' | number | Uint8Array, declDate: u64 | AnyNumber | Uint8Array, recordDate: Option<PalletCorporateActionsRecordDateSpec> | null | object | string | Uint8Array, details: Bytes | string | Uint8Array, targets: Option<PalletCorporateActionsTargetIdentities> | null | object | string | Uint8Array, defaultWithholdingTax: Option<Permill> | null | object | string | Uint8Array, withholdingTax: Option<Vec<ITuple<[PolymeshPrimitivesIdentityId, Permill]>>> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1939
+ initiateCorporateAction: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, kind: PalletCorporateActionsCaKind | 'PredictableBenefit' | 'UnpredictableBenefit' | 'IssuerNotice' | 'Reorganization' | 'Other' | number | Uint8Array, declDate: u64 | AnyNumber | Uint8Array, recordDate: Option<PalletCorporateActionsRecordDateSpec> | null | Uint8Array | PalletCorporateActionsRecordDateSpec | {
1940
+ Scheduled: any;
1941
+ } | {
1942
+ ExistingSchedule: any;
1943
+ } | {
1944
+ Existing: any;
1945
+ } | string, details: Bytes | string | Uint8Array, targets: Option<PalletCorporateActionsTargetIdentities> | null | Uint8Array | PalletCorporateActionsTargetIdentities | {
1946
+ identities?: any;
1947
+ treatment?: any;
1948
+ } | string, defaultWithholdingTax: Option<Permill> | null | Uint8Array | Permill | AnyNumber, withholdingTax: Option<Vec<ITuple<[PolymeshPrimitivesIdentityId, Permill]>>> | null | Uint8Array | Vec<ITuple<[PolymeshPrimitivesIdentityId, Permill]>> | [
1949
+ PolymeshPrimitivesIdentityId | string | Uint8Array,
1950
+ Permill | AnyNumber | Uint8Array
1951
+ ][]) => SubmittableExtrinsic<ApiType>, [
1937
1952
  PolymeshPrimitivesTicker,
1938
1953
  PalletCorporateActionsCaKind,
1939
1954
  u64,
@@ -1955,7 +1970,7 @@ declare module '@polkadot/api-base/types/submittable' {
1955
1970
  targets?: any;
1956
1971
  defaultWithholdingTax?: any;
1957
1972
  withholdingTax?: any;
1958
- } | string | Uint8Array, portfolio: Option<u64> | null | object | string | Uint8Array, currency: PolymeshPrimitivesTicker | string | Uint8Array, perShare: u128 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array, paymentAt: u64 | AnyNumber | Uint8Array, expiresAt: Option<u64> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1973
+ } | string | Uint8Array, portfolio: Option<u64> | null | Uint8Array | u64 | AnyNumber, currency: PolymeshPrimitivesTicker | string | Uint8Array, perShare: u128 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array, paymentAt: u64 | AnyNumber | Uint8Array, expiresAt: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
1959
1974
  PalletCorporateActionsInitiateCorporateActionArgs,
1960
1975
  Option<u64>,
1961
1976
  PolymeshPrimitivesTicker,
@@ -2075,7 +2090,7 @@ declare module '@polkadot/api-base/types/submittable' {
2075
2090
  * # Permissions
2076
2091
  * * Asset
2077
2092
  **/
2078
- setDidWithholdingTax: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, taxedDid: PolymeshPrimitivesIdentityId | string | Uint8Array, tax: Option<Permill> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2093
+ setDidWithholdingTax: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, taxedDid: PolymeshPrimitivesIdentityId | string | Uint8Array, tax: Option<Permill> | null | Uint8Array | Permill | AnyNumber) => SubmittableExtrinsic<ApiType>, [
2079
2094
  PolymeshPrimitivesTicker,
2080
2095
  PolymeshPrimitivesIdentityId,
2081
2096
  Option<Permill>
@@ -2378,7 +2393,7 @@ declare module '@polkadot/api-base/types/submittable' {
2378
2393
  These: any;
2379
2394
  } | {
2380
2395
  Except: any;
2381
- } | string | Uint8Array, target: PolymeshPrimitivesIdentityId | string | Uint8Array, expiry: Option<u64> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2396
+ } | string | Uint8Array, target: PolymeshPrimitivesIdentityId | string | Uint8Array, expiry: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
2382
2397
  PolymeshPrimitivesTicker,
2383
2398
  PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions,
2384
2399
  PolymeshPrimitivesIdentityId,
@@ -2458,7 +2473,7 @@ declare module '@polkadot/api-base/types/submittable' {
2458
2473
  * against the extracted offender. If both are valid, the offence
2459
2474
  * will be reported.
2460
2475
  **/
2461
- reportEquivocation: AugmentedSubmittable<(equivocationProof: SpFinalityGrandpaEquivocationProof | {
2476
+ reportEquivocation: AugmentedSubmittable<(equivocationProof: SpConsensusGrandpaEquivocationProof | {
2462
2477
  setId?: any;
2463
2478
  equivocation?: any;
2464
2479
  } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | {
@@ -2466,7 +2481,7 @@ declare module '@polkadot/api-base/types/submittable' {
2466
2481
  trieNodes?: any;
2467
2482
  validatorCount?: any;
2468
2483
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2469
- SpFinalityGrandpaEquivocationProof,
2484
+ SpConsensusGrandpaEquivocationProof,
2470
2485
  SpSessionMembershipProof
2471
2486
  ]>;
2472
2487
  /**
@@ -2480,7 +2495,7 @@ declare module '@polkadot/api-base/types/submittable' {
2480
2495
  * if the block author is defined it will be defined as the equivocation
2481
2496
  * reporter.
2482
2497
  **/
2483
- reportEquivocationUnsigned: AugmentedSubmittable<(equivocationProof: SpFinalityGrandpaEquivocationProof | {
2498
+ reportEquivocationUnsigned: AugmentedSubmittable<(equivocationProof: SpConsensusGrandpaEquivocationProof | {
2484
2499
  setId?: any;
2485
2500
  equivocation?: any;
2486
2501
  } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | {
@@ -2488,7 +2503,7 @@ declare module '@polkadot/api-base/types/submittable' {
2488
2503
  trieNodes?: any;
2489
2504
  validatorCount?: any;
2490
2505
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2491
- SpFinalityGrandpaEquivocationProof,
2506
+ SpConsensusGrandpaEquivocationProof,
2492
2507
  SpSessionMembershipProof
2493
2508
  ]>;
2494
2509
  };
@@ -2508,7 +2523,7 @@ declare module '@polkadot/api-base/types/submittable' {
2508
2523
  * * `owner_auth_id` Authorization from the owner who initiated the change
2509
2524
  * * `cdd_auth_id` Authorization from a CDD service provider
2510
2525
  **/
2511
- acceptPrimaryKey: AugmentedSubmittable<(rotationAuthId: u64 | AnyNumber | Uint8Array, optionalCddAuthId: Option<u64> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2526
+ acceptPrimaryKey: AugmentedSubmittable<(rotationAuthId: u64 | AnyNumber | Uint8Array, optionalCddAuthId: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
2512
2527
  u64,
2513
2528
  Option<u64>
2514
2529
  ]>;
@@ -2539,7 +2554,7 @@ declare module '@polkadot/api-base/types/submittable' {
2539
2554
  AddRelayerPayingKey: any;
2540
2555
  } | {
2541
2556
  RotatePrimaryKeyToSecondary: any;
2542
- } | string | Uint8Array, expiry: Option<u64> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2557
+ } | string | Uint8Array, expiry: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
2543
2558
  PolymeshPrimitivesSecondaryKeySignatory,
2544
2559
  PolymeshPrimitivesAuthorizationAuthorizationData,
2545
2560
  Option<u64>
@@ -2567,114 +2582,11 @@ declare module '@polkadot/api-base/types/submittable' {
2567
2582
  Exempted: any;
2568
2583
  } | {
2569
2584
  Blocked: any;
2570
- } | {
2571
- InvestorUniqueness: any;
2572
- } | {
2573
- NoData: any;
2574
- } | {
2575
- InvestorUniquenessV2: any;
2576
- } | {
2577
- Custom: any;
2578
- } | string | Uint8Array, expiry: Option<u64> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2579
- PolymeshPrimitivesIdentityId,
2580
- PolymeshPrimitivesIdentityClaimClaim,
2581
- Option<u64>
2582
- ]>;
2583
- /**
2584
- * Add `Claim::InvestorUniqueness` claim for a given target identity.
2585
- *
2586
- * # <weight>
2587
- * Weight of the this extrinsic is depend on the computation that used to validate
2588
- * the proof of claim, which will be a constant independent of user inputs.
2589
- * # </weight>
2590
- *
2591
- * # Arguments
2592
- * * origin - Who provides the claim to the user? In this case, it's the user's account id as the user provides.
2593
- * * target - `IdentityId` to which the claim gets assigned.
2594
- * * claim - `InvestorUniqueness` claim details.
2595
- * * proof - To validate the self attestation.
2596
- * * expiry - Expiry of claim.
2597
- *
2598
- * # Errors
2599
- * * `DidMustAlreadyExist` Target should already been a part of the ecosystem.
2600
- * * `ClaimVariantNotAllowed` When origin trying to pass claim variant other than `InvestorUniqueness`.
2601
- * * `ConfidentialScopeClaimNotAllowed` When issuer is different from target or CDD_ID is invalid for given user.
2602
- * * `InvalidScopeClaim When proof is invalid.
2603
- * * `InvalidCDDId` when you are not the owner of that CDD_ID.
2604
- **/
2605
- addInvestorUniquenessClaim: AugmentedSubmittable<(target: PolymeshPrimitivesIdentityId | string | Uint8Array, claim: PolymeshPrimitivesIdentityClaimClaim | {
2606
- Accredited: any;
2607
- } | {
2608
- Affiliate: any;
2609
- } | {
2610
- BuyLockup: any;
2611
- } | {
2612
- SellLockup: any;
2613
- } | {
2614
- CustomerDueDiligence: any;
2615
- } | {
2616
- KnowYourCustomer: any;
2617
- } | {
2618
- Jurisdiction: any;
2619
- } | {
2620
- Exempted: any;
2621
- } | {
2622
- Blocked: any;
2623
- } | {
2624
- InvestorUniqueness: any;
2625
- } | {
2626
- NoData: any;
2627
- } | {
2628
- InvestorUniquenessV2: any;
2629
- } | {
2630
- Custom: any;
2631
- } | string | Uint8Array, proof: U8aFixed | string | Uint8Array, expiry: Option<u64> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2632
- PolymeshPrimitivesIdentityId,
2633
- PolymeshPrimitivesIdentityClaimClaim,
2634
- U8aFixed,
2635
- Option<u64>
2636
- ]>;
2637
- addInvestorUniquenessClaimV2: AugmentedSubmittable<(target: PolymeshPrimitivesIdentityId | string | Uint8Array, scope: PolymeshPrimitivesIdentityClaimScope | {
2638
- Identity: any;
2639
- } | {
2640
- Ticker: any;
2641
- } | {
2642
- Custom: any;
2643
- } | string | Uint8Array, claim: PolymeshPrimitivesIdentityClaimClaim | {
2644
- Accredited: any;
2645
- } | {
2646
- Affiliate: any;
2647
- } | {
2648
- BuyLockup: any;
2649
- } | {
2650
- SellLockup: any;
2651
- } | {
2652
- CustomerDueDiligence: any;
2653
- } | {
2654
- KnowYourCustomer: any;
2655
- } | {
2656
- Jurisdiction: any;
2657
- } | {
2658
- Exempted: any;
2659
- } | {
2660
- Blocked: any;
2661
- } | {
2662
- InvestorUniqueness: any;
2663
- } | {
2664
- NoData: any;
2665
- } | {
2666
- InvestorUniquenessV2: any;
2667
2585
  } | {
2668
2586
  Custom: any;
2669
- } | string | Uint8Array, proof: ConfidentialIdentityV2ClaimProofsScopeClaimProof | {
2670
- proofScopeIdWellformed?: any;
2671
- proofScopeIdCddIdMatch?: any;
2672
- scopeId?: any;
2673
- } | string | Uint8Array, expiry: Option<u64> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2587
+ } | string | Uint8Array, expiry: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
2674
2588
  PolymeshPrimitivesIdentityId,
2675
- PolymeshPrimitivesIdentityClaimScope,
2676
2589
  PolymeshPrimitivesIdentityClaimClaim,
2677
- ConfidentialIdentityV2ClaimProofsScopeClaimProof,
2678
2590
  Option<u64>
2679
2591
  ]>;
2680
2592
  /**
@@ -2699,16 +2611,6 @@ declare module '@polkadot/api-base/types/submittable' {
2699
2611
  Vec<PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuth>,
2700
2612
  u64
2701
2613
  ]>;
2702
- /**
2703
- * Deprecated. Use `add_secondary_keys_with_authorization` instead.
2704
- **/
2705
- addSecondaryKeysWithAuthorizationOld: AugmentedSubmittable<(additionalKeys: Vec<PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuthV1> | (PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuthV1 | {
2706
- secondaryKey?: any;
2707
- authSignature?: any;
2708
- } | string | Uint8Array)[], expiresAt: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2709
- Vec<PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuthV1>,
2710
- u64
2711
- ]>;
2712
2614
  /**
2713
2615
  * Register `target_account` with a new Identity.
2714
2616
  *
@@ -2739,7 +2641,7 @@ declare module '@polkadot/api-base/types/submittable' {
2739
2641
  cddRegisterDidWithCdd: AugmentedSubmittable<(targetAccount: AccountId32 | string | Uint8Array, secondaryKeys: Vec<PolymeshPrimitivesSecondaryKey> | (PolymeshPrimitivesSecondaryKey | {
2740
2642
  key?: any;
2741
2643
  permissions?: any;
2742
- } | string | Uint8Array)[], expiry: Option<u64> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2644
+ } | string | Uint8Array)[], expiry: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
2743
2645
  AccountId32,
2744
2646
  Vec<PolymeshPrimitivesSecondaryKey>,
2745
2647
  Option<u64>
@@ -2754,6 +2656,47 @@ declare module '@polkadot/api-base/types/submittable' {
2754
2656
  changeCddRequirementForMkRotation: AugmentedSubmittable<(authRequired: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2755
2657
  bool
2756
2658
  ]>;
2659
+ /**
2660
+ * Create a child identities.
2661
+ *
2662
+ * The new primary key for each child identity will need to sign (off-chain)
2663
+ * an authorization.
2664
+ *
2665
+ * Only the primary key can create child identities.
2666
+ *
2667
+ * # Arguments
2668
+ * - `child_keys` the keys that will become primary keys of their own child identity.
2669
+ *
2670
+ * # Errors
2671
+ * - `KeyNotAllowed` only the primary key can create a new identity.
2672
+ * - `AlreadyLinked` one of the keys is already linked to an identity.
2673
+ * - `DuplicateKey` one of the keys is included multiple times.
2674
+ * - `IsChildIdentity` the caller's identity is already a child identity and can't create child identities.
2675
+ **/
2676
+ createChildIdentities: AugmentedSubmittable<(childKeys: Vec<PolymeshCommonUtilitiesIdentityCreateChildIdentityWithAuth> | (PolymeshCommonUtilitiesIdentityCreateChildIdentityWithAuth | {
2677
+ key?: any;
2678
+ authSignature?: any;
2679
+ } | string | Uint8Array)[], expiresAt: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2680
+ Vec<PolymeshCommonUtilitiesIdentityCreateChildIdentityWithAuth>,
2681
+ u64
2682
+ ]>;
2683
+ /**
2684
+ * Create a child identity and make the `secondary_key` it's primary key.
2685
+ *
2686
+ * Only the primary key can create child identities.
2687
+ *
2688
+ * # Arguments
2689
+ * - `secondary_key` the secondary key that will become the primary key of the new identity.
2690
+ *
2691
+ * # Errors
2692
+ * - `KeyNotAllowed` only the primary key can create a new identity.
2693
+ * - `NotASigner` the `secondary_key` is not a secondary key of the caller's identity.
2694
+ * - `AccountKeyIsBeingUsed` the `secondary_key` can't be unlinked from it's current identity.
2695
+ * - `IsChildIdentity` the caller's identity is already a child identity and can't create child identities.
2696
+ **/
2697
+ createChildIdentity: AugmentedSubmittable<(secondaryKey: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2698
+ AccountId32
2699
+ ]>;
2757
2700
  /**
2758
2701
  * It disables all secondary keys at `did` identity.
2759
2702
  *
@@ -2779,7 +2722,7 @@ declare module '@polkadot/api-base/types/submittable' {
2779
2722
  * You can also define an expiration time,
2780
2723
  * which will invalidate all claims generated by that `cdd` and remove it as CDD member group.
2781
2724
  **/
2782
- invalidateCddClaims: AugmentedSubmittable<(cdd: PolymeshPrimitivesIdentityId | string | Uint8Array, disableFrom: u64 | AnyNumber | Uint8Array, expiry: Option<u64> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2725
+ invalidateCddClaims: AugmentedSubmittable<(cdd: PolymeshPrimitivesIdentityId | string | Uint8Array, disableFrom: u64 | AnyNumber | Uint8Array, expiry: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
2783
2726
  PolymeshPrimitivesIdentityId,
2784
2727
  u64,
2785
2728
  Option<u64>
@@ -2794,11 +2737,6 @@ declare module '@polkadot/api-base/types/submittable' {
2794
2737
  * Leave the secondary key's identity.
2795
2738
  **/
2796
2739
  leaveIdentityAsKey: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
2797
- /**
2798
- * Placeholder for removed `legacy_set_permission_to_signer`.
2799
- **/
2800
- placeholderLegacySetPermissionToSigner: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, [
2801
- ]>;
2802
2740
  /**
2803
2741
  * Register custom claim type.
2804
2742
  *
@@ -2833,16 +2771,6 @@ declare module '@polkadot/api-base/types/submittable' {
2833
2771
  removeSecondaryKeys: AugmentedSubmittable<(keysToRemove: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
2834
2772
  Vec<AccountId32>
2835
2773
  ]>;
2836
- /**
2837
- * Deprecated. Use `remove_secondary_keys` instead.
2838
- **/
2839
- removeSecondaryKeysOld: AugmentedSubmittable<(keysToRemove: Vec<PolymeshPrimitivesSecondaryKeySignatory> | (PolymeshPrimitivesSecondaryKeySignatory | {
2840
- Identity: any;
2841
- } | {
2842
- Account: any;
2843
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
2844
- Vec<PolymeshPrimitivesSecondaryKeySignatory>
2845
- ]>;
2846
2774
  /**
2847
2775
  * Marks the specified claim as revoked.
2848
2776
  **/
@@ -2864,12 +2792,6 @@ declare module '@polkadot/api-base/types/submittable' {
2864
2792
  Exempted: any;
2865
2793
  } | {
2866
2794
  Blocked: any;
2867
- } | {
2868
- InvestorUniqueness: any;
2869
- } | {
2870
- NoData: any;
2871
- } | {
2872
- InvestorUniquenessV2: any;
2873
2795
  } | {
2874
2796
  Custom: any;
2875
2797
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
@@ -2881,10 +2803,6 @@ declare module '@polkadot/api-base/types/submittable' {
2881
2803
  * `claim_type`, and `scope`.
2882
2804
  *
2883
2805
  * Please note that `origin` must be the issuer of the target claim.
2884
- *
2885
- * # Errors
2886
- * - `TargetHasNonZeroBalanceAtScopeId` when you try to revoke a `InvestorUniqueness*`
2887
- * claim, and `target` identity still have any balance on the given `scope`.
2888
2806
  **/
2889
2807
  revokeClaimByIndex: AugmentedSubmittable<(target: PolymeshPrimitivesIdentityId | string | Uint8Array, claimType: PolymeshPrimitivesIdentityClaimClaimType | {
2890
2808
  Accredited: any;
@@ -2905,14 +2823,14 @@ declare module '@polkadot/api-base/types/submittable' {
2905
2823
  } | {
2906
2824
  Blocked: any;
2907
2825
  } | {
2908
- InvestorUniqueness: any;
2909
- } | {
2910
- NoType: any;
2826
+ Custom: any;
2827
+ } | string | Uint8Array, scope: Option<PolymeshPrimitivesIdentityClaimScope> | null | Uint8Array | PolymeshPrimitivesIdentityClaimScope | {
2828
+ Identity: any;
2911
2829
  } | {
2912
- InvestorUniquenessV2: any;
2830
+ Ticker: any;
2913
2831
  } | {
2914
2832
  Custom: any;
2915
- } | string | Uint8Array, scope: Option<PolymeshPrimitivesIdentityClaimScope> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2833
+ } | string) => SubmittableExtrinsic<ApiType>, [
2916
2834
  PolymeshPrimitivesIdentityId,
2917
2835
  PolymeshPrimitivesIdentityClaimClaimType,
2918
2836
  Option<PolymeshPrimitivesIdentityClaimScope>
@@ -2933,25 +2851,10 @@ declare module '@polkadot/api-base/types/submittable' {
2933
2851
  * * `owner_auth_id` Authorization from the owner who initiated the change
2934
2852
  * * `cdd_auth_id` Authorization from a CDD service provider
2935
2853
  **/
2936
- rotatePrimaryKeyToSecondary: AugmentedSubmittable<(authId: u64 | AnyNumber | Uint8Array, optionalCddAuthId: Option<u64> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2854
+ rotatePrimaryKeyToSecondary: AugmentedSubmittable<(authId: u64 | AnyNumber | Uint8Array, optionalCddAuthId: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
2937
2855
  u64,
2938
2856
  Option<u64>
2939
2857
  ]>;
2940
- /**
2941
- * Deprecated. Use `set_secondary_key_permissions` instead.
2942
- **/
2943
- setPermissionToSigner: AugmentedSubmittable<(key: PolymeshPrimitivesSecondaryKeySignatory | {
2944
- Identity: any;
2945
- } | {
2946
- Account: any;
2947
- } | string | Uint8Array, perms: PolymeshPrimitivesSecondaryKeyPermissions | {
2948
- asset?: any;
2949
- extrinsic?: any;
2950
- portfolio?: any;
2951
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2952
- PolymeshPrimitivesSecondaryKeySignatory,
2953
- PolymeshPrimitivesSecondaryKeyPermissions
2954
- ]>;
2955
2858
  /**
2956
2859
  * Sets permissions for an specific `target_key` key.
2957
2860
  *
@@ -2969,18 +2872,30 @@ declare module '@polkadot/api-base/types/submittable' {
2969
2872
  * Re-enables all secondary keys of the caller's identity.
2970
2873
  **/
2971
2874
  unfreezeSecondaryKeys: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
2875
+ /**
2876
+ * Unlink a child identity from it's parent identity.
2877
+ *
2878
+ * Only the primary key of the parent or child identities can unlink the identities.
2879
+ *
2880
+ * # Arguments
2881
+ * - `child_did` the child identity to unlink from its parent identity.
2882
+ *
2883
+ * # Errors
2884
+ * - `KeyNotAllowed` only the primary key of either the parent or child identity can unlink the identities.
2885
+ * - `NoParentIdentity` the identity `child_did` doesn't have a parent identity.
2886
+ * - `NotParentOrChildIdentity` the caller's identity isn't the parent or child identity.
2887
+ **/
2888
+ unlinkChildIdentity: AugmentedSubmittable<(childDid: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2889
+ PolymeshPrimitivesIdentityId
2890
+ ]>;
2972
2891
  };
2973
2892
  imOnline: {
2974
2893
  /**
2975
- * # <weight>
2976
- * - Complexity: `O(K + E)` where K is length of `Keys` (heartbeat.validators_len) and E is
2977
- * length of `heartbeat.network_state.external_address`
2894
+ * ## Complexity:
2895
+ * - `O(K + E)` where K is length of `Keys` (heartbeat.validators_len) and E is length of
2896
+ * `heartbeat.network_state.external_address`
2978
2897
  * - `O(K)`: decoding of length `K`
2979
2898
  * - `O(E)`: decoding/encoding of length `E`
2980
- * - DbReads: pallet_session `Validators`, pallet_session `CurrentIndex`, `Keys`,
2981
- * `ReceivedHeartbeats`
2982
- * - DbWrites: `ReceivedHeartbeats`
2983
- * # </weight>
2984
2899
  **/
2985
2900
  heartbeat: AugmentedSubmittable<(heartbeat: PalletImOnlineHeartbeat | {
2986
2901
  blockNumber?: any;
@@ -3005,14 +2920,8 @@ declare module '@polkadot/api-base/types/submittable' {
3005
2920
  *
3006
2921
  * Emits `IndexAssigned` if successful.
3007
2922
  *
3008
- * # <weight>
2923
+ * ## Complexity
3009
2924
  * - `O(1)`.
3010
- * - One storage mutation (codec `O(1)`).
3011
- * - One reserve operation.
3012
- * - One event.
3013
- * -------------------
3014
- * - DB Weight: 1 Read/Write (Accounts)
3015
- * # </weight>
3016
2925
  **/
3017
2926
  claim: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3018
2927
  u32
@@ -3029,16 +2938,8 @@ declare module '@polkadot/api-base/types/submittable' {
3029
2938
  *
3030
2939
  * Emits `IndexAssigned` if successful.
3031
2940
  *
3032
- * # <weight>
2941
+ * ## Complexity
3033
2942
  * - `O(1)`.
3034
- * - One storage mutation (codec `O(1)`).
3035
- * - Up to one reserve operation.
3036
- * - One event.
3037
- * -------------------
3038
- * - DB Weight:
3039
- * - Reads: Indices Accounts, System Account (original owner)
3040
- * - Writes: Indices Accounts, System Account (original owner)
3041
- * # </weight>
3042
2943
  **/
3043
2944
  forceTransfer: AugmentedSubmittable<(updated: MultiAddress | {
3044
2945
  Id: any;
@@ -3066,14 +2967,8 @@ declare module '@polkadot/api-base/types/submittable' {
3066
2967
  *
3067
2968
  * Emits `IndexFreed` if successful.
3068
2969
  *
3069
- * # <weight>
2970
+ * ## Complexity
3070
2971
  * - `O(1)`.
3071
- * - One storage mutation (codec `O(1)`).
3072
- * - One reserve operation.
3073
- * - One event.
3074
- * -------------------
3075
- * - DB Weight: 1 Read/Write (Accounts)
3076
- * # </weight>
3077
2972
  **/
3078
2973
  free: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3079
2974
  u32
@@ -3089,14 +2984,8 @@ declare module '@polkadot/api-base/types/submittable' {
3089
2984
  *
3090
2985
  * Emits `IndexFrozen` if successful.
3091
2986
  *
3092
- * # <weight>
2987
+ * ## Complexity
3093
2988
  * - `O(1)`.
3094
- * - One storage mutation (codec `O(1)`).
3095
- * - Up to one slash operation.
3096
- * - One event.
3097
- * -------------------
3098
- * - DB Weight: 1 Read/Write (Accounts)
3099
- * # </weight>
3100
2989
  **/
3101
2990
  freeze: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3102
2991
  u32
@@ -3112,16 +3001,8 @@ declare module '@polkadot/api-base/types/submittable' {
3112
3001
  *
3113
3002
  * Emits `IndexAssigned` if successful.
3114
3003
  *
3115
- * # <weight>
3004
+ * ## Complexity
3116
3005
  * - `O(1)`.
3117
- * - One storage mutation (codec `O(1)`).
3118
- * - One transfer operation.
3119
- * - One event.
3120
- * -------------------
3121
- * - DB Weight:
3122
- * - Reads: Indices Accounts, System Account (recipient)
3123
- * - Writes: Indices Accounts, System Account (recipient)
3124
- * # </weight>
3125
3006
  **/
3126
3007
  transfer: AugmentedSubmittable<(updated: MultiAddress | {
3127
3008
  Id: any;
@@ -3223,6 +3104,17 @@ declare module '@polkadot/api-base/types/submittable' {
3223
3104
  changeSigsRequired: AugmentedSubmittable<(sigsRequired: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3224
3105
  u64
3225
3106
  ]>;
3107
+ /**
3108
+ * Changes the number of signatures required by a multisig. This must be called by the creator of the multisig.
3109
+ *
3110
+ * # Arguments
3111
+ * * `multisig_account` - The account identifier ([`AccountId`]) for the multi signature account.
3112
+ * * `signatures_required` - The number of required signatures.
3113
+ **/
3114
+ changeSigsRequiredViaCreator: AugmentedSubmittable<(multisigAccount: AccountId32 | string | Uint8Array, signaturesRequired: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3115
+ AccountId32,
3116
+ u64
3117
+ ]>;
3226
3118
  /**
3227
3119
  * Creates a multisig
3228
3120
  *
@@ -3248,7 +3140,7 @@ declare module '@polkadot/api-base/types/submittable' {
3248
3140
  * * `auto_close` - Close proposal on receiving enough reject votes.
3249
3141
  * If this is 1 out of `m` multisig, the proposal will be immediately executed.
3250
3142
  **/
3251
- createOrApproveProposalAsIdentity: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposal: Call | IMethod | string | Uint8Array, expiry: Option<u64> | null | object | string | Uint8Array, autoClose: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3143
+ createOrApproveProposalAsIdentity: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposal: Call | IMethod | string | Uint8Array, expiry: Option<u64> | null | Uint8Array | u64 | AnyNumber, autoClose: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3252
3144
  AccountId32,
3253
3145
  Call,
3254
3146
  Option<u64>,
@@ -3264,7 +3156,7 @@ declare module '@polkadot/api-base/types/submittable' {
3264
3156
  * * `auto_close` - Close proposal on receiving enough reject votes.
3265
3157
  * If this is 1 out of `m` multisig, the proposal will be immediately executed.
3266
3158
  **/
3267
- createOrApproveProposalAsKey: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposal: Call | IMethod | string | Uint8Array, expiry: Option<u64> | null | object | string | Uint8Array, autoClose: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3159
+ createOrApproveProposalAsKey: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposal: Call | IMethod | string | Uint8Array, expiry: Option<u64> | null | Uint8Array | u64 | AnyNumber, autoClose: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3268
3160
  AccountId32,
3269
3161
  Call,
3270
3162
  Option<u64>,
@@ -3280,7 +3172,7 @@ declare module '@polkadot/api-base/types/submittable' {
3280
3172
  * * `auto_close` - Close proposal on receiving enough reject votes.
3281
3173
  * If this is 1 out of `m` multisig, the proposal will be immediately executed.
3282
3174
  **/
3283
- createProposalAsIdentity: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposal: Call | IMethod | string | Uint8Array, expiry: Option<u64> | null | object | string | Uint8Array, autoClose: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3175
+ createProposalAsIdentity: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposal: Call | IMethod | string | Uint8Array, expiry: Option<u64> | null | Uint8Array | u64 | AnyNumber, autoClose: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3284
3176
  AccountId32,
3285
3177
  Call,
3286
3178
  Option<u64>,
@@ -3296,7 +3188,7 @@ declare module '@polkadot/api-base/types/submittable' {
3296
3188
  * * `auto_close` - Close proposal on receiving enough reject votes.
3297
3189
  * If this is 1 out of `m` multisig, the proposal will be immediately executed.
3298
3190
  **/
3299
- createProposalAsKey: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposal: Call | IMethod | string | Uint8Array, expiry: Option<u64> | null | object | string | Uint8Array, autoClose: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3191
+ createProposalAsKey: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposal: Call | IMethod | string | Uint8Array, expiry: Option<u64> | null | Uint8Array | u64 | AnyNumber, autoClose: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3300
3192
  AccountId32,
3301
3193
  Call,
3302
3194
  Option<u64>,
@@ -3321,7 +3213,7 @@ declare module '@polkadot/api-base/types/submittable' {
3321
3213
  * # Arguments
3322
3214
  * * `multi_sig` - multi sig address
3323
3215
  **/
3324
- makeMultisigPrimary: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, optionalCddAuthId: Option<u64> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3216
+ makeMultisigPrimary: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, optionalCddAuthId: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
3325
3217
  AccountId32,
3326
3218
  Option<u64>
3327
3219
  ]>;
@@ -3359,6 +3251,13 @@ declare module '@polkadot/api-base/types/submittable' {
3359
3251
  AccountId32,
3360
3252
  u64
3361
3253
  ]>;
3254
+ /**
3255
+ * Removes the creator ability to call `add_multisig_signers_via_creator`, `remove_multisig_signers_via_creator`
3256
+ * and `change_sigs_required_via_creator`.
3257
+ **/
3258
+ removeCreatorControls: AugmentedSubmittable<(multisigAccount: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3259
+ AccountId32
3260
+ ]>;
3362
3261
  /**
3363
3262
  * Removes a signer from the multisig. This must be called by the multisig itself.
3364
3263
  *
@@ -3412,8 +3311,16 @@ declare module '@polkadot/api-base/types/submittable' {
3412
3311
  * # Permissions
3413
3312
  * * Asset
3414
3313
  **/
3415
- createNftCollection: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, nftType: Option<PolymeshPrimitivesAssetNonFungibleType> | null | object | string | Uint8Array, collectionKeys: PolymeshPrimitivesNftNftCollectionKeys) => SubmittableExtrinsic<ApiType>, [
3416
- PolymeshPrimitivesTicker,
3314
+ createNftCollection: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, nftType: Option<PolymeshPrimitivesAssetNonFungibleType> | null | Uint8Array | PolymeshPrimitivesAssetNonFungibleType | {
3315
+ Derivative: any;
3316
+ } | {
3317
+ FixedIncome: any;
3318
+ } | {
3319
+ Invoice: any;
3320
+ } | {
3321
+ Custom: any;
3322
+ } | string, collectionKeys: PolymeshPrimitivesNftNftCollectionKeys) => SubmittableExtrinsic<ApiType>, [
3323
+ PolymeshPrimitivesTicker,
3417
3324
  Option<PolymeshPrimitivesAssetNonFungibleType>,
3418
3325
  PolymeshPrimitivesNftNftCollectionKeys
3419
3326
  ]>;
@@ -3544,7 +3451,7 @@ declare module '@polkadot/api-base/types/submittable' {
3544
3451
  * * `deposit` minimum deposit value, which is ignored if `proposer` is a committee.
3545
3452
  * * `url` a link to a website for proposal discussion
3546
3453
  **/
3547
- propose: AugmentedSubmittable<(proposal: Call | IMethod | string | Uint8Array, deposit: u128 | AnyNumber | Uint8Array, url: Option<Bytes> | null | object | string | Uint8Array, description: Option<Bytes> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3454
+ propose: AugmentedSubmittable<(proposal: Call | IMethod | string | Uint8Array, deposit: u128 | AnyNumber | Uint8Array, url: Option<Bytes> | null | Uint8Array | Bytes | string, description: Option<Bytes> | null | Uint8Array | Bytes | string) => SubmittableExtrinsic<ApiType>, [
3548
3455
  Call,
3549
3456
  u128,
3550
3457
  Option<Bytes>,
@@ -3588,7 +3495,7 @@ declare module '@polkadot/api-base/types/submittable' {
3588
3495
  * * `RescheduleNotByReleaseCoordinator` unless triggered by release coordinator.
3589
3496
  * * `IncorrectProposalState` unless the proposal was in a scheduled state.
3590
3497
  **/
3591
- rescheduleExecution: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array, until: Option<u32> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3498
+ rescheduleExecution: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array, until: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
3592
3499
  u32,
3593
3500
  Option<u32>
3594
3501
  ]>;
@@ -3800,7 +3707,7 @@ declare module '@polkadot/api-base/types/submittable' {
3800
3707
  instantiateWithCodePerms: AugmentedSubmittable<(endowment: u128 | AnyNumber | Uint8Array, gasLimit: SpWeightsWeightV2Weight | {
3801
3708
  refTime?: any;
3802
3709
  proofSize?: any;
3803
- } | string | Uint8Array, storageDepositLimit: Option<u128> | null | object | string | Uint8Array, code: Bytes | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array, perms: PolymeshPrimitivesSecondaryKeyPermissions | {
3710
+ } | string | Uint8Array, storageDepositLimit: Option<u128> | null | Uint8Array | u128 | AnyNumber, code: Bytes | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array, perms: PolymeshPrimitivesSecondaryKeyPermissions | {
3804
3711
  asset?: any;
3805
3712
  extrinsic?: any;
3806
3713
  portfolio?: any;
@@ -3845,7 +3752,7 @@ declare module '@polkadot/api-base/types/submittable' {
3845
3752
  instantiateWithHashPerms: AugmentedSubmittable<(endowment: u128 | AnyNumber | Uint8Array, gasLimit: SpWeightsWeightV2Weight | {
3846
3753
  refTime?: any;
3847
3754
  proofSize?: any;
3848
- } | string | Uint8Array, storageDepositLimit: Option<u128> | null | object | string | Uint8Array, codeHash: H256 | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array, perms: PolymeshPrimitivesSecondaryKeyPermissions | {
3755
+ } | string | Uint8Array, storageDepositLimit: Option<u128> | null | Uint8Array | u128 | AnyNumber, codeHash: H256 | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array, perms: PolymeshPrimitivesSecondaryKeyPermissions | {
3849
3756
  asset?: any;
3850
3757
  extrinsic?: any;
3851
3758
  portfolio?: any;
@@ -3893,7 +3800,7 @@ declare module '@polkadot/api-base/types/submittable' {
3893
3800
  u64
3894
3801
  ]>;
3895
3802
  /**
3896
- * Moves a token amount from one portfolio of an identity to another portfolio of the same
3803
+ * Moves fungigle an non-fungible tokens from one portfolio of an identity to another portfolio of the same
3897
3804
  * identity. Must be called by the custodian of the sender.
3898
3805
  * Funds from deleted portfolios can also be recovered via this method.
3899
3806
  *
@@ -3906,6 +3813,8 @@ declare module '@polkadot/api-base/types/submittable' {
3906
3813
  * * `UnauthorizedCustodian` if the caller is not the custodian of the from portfolio
3907
3814
  * * `InsufficientPortfolioBalance` if the sender does not have enough free balance
3908
3815
  * * `NoDuplicateAssetsAllowed` the same ticker can't be repeated in the items vector.
3816
+ * * `InvalidTransferNFTNotOwned` if the caller is trying to move an NFT he doesn't own.
3817
+ * * `InvalidTransferNFTIsLocked` if the caller is trying to move a locked NFT.
3909
3818
  *
3910
3819
  * # Permissions
3911
3820
  * * Portfolio
@@ -3916,48 +3825,31 @@ declare module '@polkadot/api-base/types/submittable' {
3916
3825
  } | string | Uint8Array, to: PolymeshPrimitivesIdentityIdPortfolioId | {
3917
3826
  did?: any;
3918
3827
  kind?: any;
3919
- } | string | Uint8Array, items: Vec<PalletPortfolioMovePortfolioItem> | (PalletPortfolioMovePortfolioItem | {
3920
- ticker?: any;
3921
- amount?: any;
3828
+ } | string | Uint8Array, funds: Vec<PolymeshPrimitivesPortfolioFund> | (PolymeshPrimitivesPortfolioFund | {
3829
+ description?: any;
3922
3830
  memo?: any;
3923
3831
  } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
3924
3832
  PolymeshPrimitivesIdentityIdPortfolioId,
3925
3833
  PolymeshPrimitivesIdentityIdPortfolioId,
3926
- Vec<PalletPortfolioMovePortfolioItem>
3834
+ Vec<PolymeshPrimitivesPortfolioFund>
3927
3835
  ]>;
3928
3836
  /**
3929
- * Moves fungigle an non-fungible tokens from one portfolio of an identity to another portfolio of the same
3930
- * identity. Must be called by the custodian of the sender.
3931
- * Funds from deleted portfolios can also be recovered via this method.
3837
+ * Pre-approves the receivement of an asset to a portfolio.
3932
3838
  *
3933
- * A short memo can be added to to each token amount moved.
3934
- *
3935
- * # Errors
3936
- * * `PortfolioDoesNotExist` if one or both of the portfolios reference an invalid portfolio.
3937
- * * `destination_is_same_portfolio` if both sender and receiver portfolio are the same
3938
- * * `DifferentIdentityPortfolios` if the sender and receiver portfolios belong to different identities
3939
- * * `UnauthorizedCustodian` if the caller is not the custodian of the from portfolio
3940
- * * `InsufficientPortfolioBalance` if the sender does not have enough free balance
3941
- * * `NoDuplicateAssetsAllowed` the same ticker can't be repeated in the items vector.
3942
- * * `InvalidTransferNFTNotOwned` if the caller is trying to move an NFT he doesn't own.
3943
- * * `InvalidTransferNFTIsLocked` if the caller is trying to move a locked NFT.
3839
+ * # Arguments
3840
+ * * `origin` - the secondary key of the sender.
3841
+ * * `ticker` - the [`Ticker`] that will be exempt from affirmation.
3842
+ * * `portfolio_id` - the [`PortfolioId`] that can receive `ticker` without affirmation.
3944
3843
  *
3945
3844
  * # Permissions
3946
3845
  * * Portfolio
3947
3846
  **/
3948
- movePortfolioFundsV2: AugmentedSubmittable<(from: PolymeshPrimitivesIdentityIdPortfolioId | {
3949
- did?: any;
3950
- kind?: any;
3951
- } | string | Uint8Array, to: PolymeshPrimitivesIdentityIdPortfolioId | {
3847
+ preApprovePortfolio: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, portfolioId: PolymeshPrimitivesIdentityIdPortfolioId | {
3952
3848
  did?: any;
3953
3849
  kind?: any;
3954
- } | string | Uint8Array, funds: Vec<PolymeshPrimitivesPortfolioFund> | (PolymeshPrimitivesPortfolioFund | {
3955
- description?: any;
3956
- memo?: any;
3957
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
3958
- PolymeshPrimitivesIdentityIdPortfolioId,
3959
- PolymeshPrimitivesIdentityIdPortfolioId,
3960
- Vec<PolymeshPrimitivesPortfolioFund>
3850
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3851
+ PolymeshPrimitivesTicker,
3852
+ PolymeshPrimitivesIdentityIdPortfolioId
3961
3853
  ]>;
3962
3854
  /**
3963
3855
  * When called by the custodian of `portfolio_id`,
@@ -3975,6 +3867,24 @@ declare module '@polkadot/api-base/types/submittable' {
3975
3867
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3976
3868
  PolymeshPrimitivesIdentityIdPortfolioId
3977
3869
  ]>;
3870
+ /**
3871
+ * Removes the pre approval of an asset to a portfolio.
3872
+ *
3873
+ * # Arguments
3874
+ * * `origin` - the secondary key of the sender.
3875
+ * * `ticker` - the [`Ticker`] that will be exempt from affirmation.
3876
+ * * `portfolio_id` - the [`PortfolioId`] that can receive `ticker` without affirmation.
3877
+ *
3878
+ * # Permissions
3879
+ * * Portfolio
3880
+ **/
3881
+ removePortfolioPreApproval: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, portfolioId: PolymeshPrimitivesIdentityIdPortfolioId | {
3882
+ did?: any;
3883
+ kind?: any;
3884
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3885
+ PolymeshPrimitivesTicker,
3886
+ PolymeshPrimitivesIdentityIdPortfolioId
3887
+ ]>;
3978
3888
  /**
3979
3889
  * Renames a non-default portfolio.
3980
3890
  *
@@ -4204,7 +4114,7 @@ declare module '@polkadot/api-base/types/submittable' {
4204
4114
  /**
4205
4115
  * Anonymously schedule a task.
4206
4116
  **/
4207
- schedule: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | object | string | Uint8Array, priority: u8 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4117
+ schedule: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4208
4118
  u32,
4209
4119
  Option<ITuple<[u32, u32]>>,
4210
4120
  u8,
@@ -4212,12 +4122,8 @@ declare module '@polkadot/api-base/types/submittable' {
4212
4122
  ]>;
4213
4123
  /**
4214
4124
  * Anonymously schedule a task after a delay.
4215
- *
4216
- * # <weight>
4217
- * Same as [`schedule`].
4218
- * # </weight>
4219
4125
  **/
4220
- scheduleAfter: AugmentedSubmittable<(after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | object | string | Uint8Array, priority: u8 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4126
+ scheduleAfter: AugmentedSubmittable<(after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4221
4127
  u32,
4222
4128
  Option<ITuple<[u32, u32]>>,
4223
4129
  u8,
@@ -4226,7 +4132,7 @@ declare module '@polkadot/api-base/types/submittable' {
4226
4132
  /**
4227
4133
  * Schedule a named task.
4228
4134
  **/
4229
- scheduleNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | object | string | Uint8Array, priority: u8 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4135
+ scheduleNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4230
4136
  U8aFixed,
4231
4137
  u32,
4232
4138
  Option<ITuple<[u32, u32]>>,
@@ -4235,12 +4141,8 @@ declare module '@polkadot/api-base/types/submittable' {
4235
4141
  ]>;
4236
4142
  /**
4237
4143
  * Schedule a named task after a delay.
4238
- *
4239
- * # <weight>
4240
- * Same as [`schedule_named`](Self::schedule_named).
4241
- * # </weight>
4242
4144
  **/
4243
- scheduleNamedAfter: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | object | string | Uint8Array, priority: u8 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4145
+ scheduleNamedAfter: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4244
4146
  U8aFixed,
4245
4147
  u32,
4246
4148
  Option<ITuple<[u32, u32]>>,
@@ -4259,13 +4161,9 @@ declare module '@polkadot/api-base/types/submittable' {
4259
4161
  * means being a controller account) or directly convertible into a validator ID (which
4260
4162
  * usually means being a stash account).
4261
4163
  *
4262
- * # <weight>
4263
- * - Complexity: `O(1)` in number of key types. Actual cost depends on the number of length
4264
- * of `T::Keys::key_ids()` which is fixed.
4265
- * - DbReads: `T::ValidatorIdOf`, `NextKeys`, `origin account`
4266
- * - DbWrites: `NextKeys`, `origin account`
4267
- * - DbWrites per key id: `KeyOwner`
4268
- * # </weight>
4164
+ * ## Complexity
4165
+ * - `O(1)` in number of key types. Actual cost depends on the number of length of
4166
+ * `T::Keys::key_ids()` which is fixed.
4269
4167
  **/
4270
4168
  purgeKeys: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
4271
4169
  /**
@@ -4275,14 +4173,9 @@ declare module '@polkadot/api-base/types/submittable' {
4275
4173
  *
4276
4174
  * The dispatch origin of this function must be signed.
4277
4175
  *
4278
- * # <weight>
4279
- * - Complexity: `O(1)`. Actual cost depends on the number of length of
4280
- * `T::Keys::key_ids()` which is fixed.
4281
- * - DbReads: `origin account`, `T::ValidatorIdOf`, `NextKeys`
4282
- * - DbWrites: `origin account`, `NextKeys`
4283
- * - DbReads per key id: `KeyOwner`
4284
- * - DbWrites per key id: `KeyOwner`
4285
- * # </weight>
4176
+ * ## Complexity
4177
+ * - `O(1)`. Actual cost depends on the number of length of `T::Keys::key_ids()` which is
4178
+ * fixed.
4286
4179
  **/
4287
4180
  setKeys: AugmentedSubmittable<(keys: PolymeshRuntimeDevelopRuntimeSessionKeys | {
4288
4181
  grandpa?: any;
@@ -4296,160 +4189,52 @@ declare module '@polkadot/api-base/types/submittable' {
4296
4189
  };
4297
4190
  settlement: {
4298
4191
  /**
4299
- * Deprecated. Use `add_and_affirm_instruction_with_memo` instead.
4300
4192
  * Adds and affirms a new instruction.
4301
4193
  *
4302
4194
  * # Arguments
4303
4195
  * * `venue_id` - ID of the venue this instruction belongs to.
4304
- * * `settlement_type` - Defines if the instruction should be settled
4305
- * in the next block after receiving all affirmations or waiting till a specific block.
4196
+ * * `settlement_type` - Defines if the instruction should be settled in the next block, after receiving all affirmations
4197
+ * or waiting till a specific block.
4306
4198
  * * `trade_date` - Optional date from which people can interact with this instruction.
4307
4199
  * * `value_date` - Optional date after which the instruction should be settled (not enforced)
4308
4200
  * * `legs` - Legs included in this instruction.
4309
4201
  * * `portfolios` - Portfolios that the sender controls and wants to use in this affirmations.
4202
+ * * `instruction_memo` - Memo field for this instruction.
4310
4203
  *
4311
4204
  * # Permissions
4312
4205
  * * Portfolio
4313
4206
  **/
4314
- addAndAffirmInstruction: AugmentedSubmittable<(venueId: u64 | AnyNumber | Uint8Array, settlementType: PalletSettlementSettlementType | {
4207
+ addAndAffirmInstruction: AugmentedSubmittable<(venueId: u64 | AnyNumber | Uint8Array, settlementType: PolymeshPrimitivesSettlementSettlementType | {
4315
4208
  SettleOnAffirmation: any;
4316
4209
  } | {
4317
4210
  SettleOnBlock: any;
4318
4211
  } | {
4319
4212
  SettleManual: any;
4320
- } | string | Uint8Array, tradeDate: Option<u64> | null | object | string | Uint8Array, valueDate: Option<u64> | null | object | string | Uint8Array, legs: Vec<PalletSettlementLeg> | (PalletSettlementLeg | {
4321
- from?: any;
4322
- to?: any;
4323
- asset?: any;
4324
- amount?: any;
4325
- } | string | Uint8Array)[], portfolios: Vec<PolymeshPrimitivesIdentityIdPortfolioId> | (PolymeshPrimitivesIdentityIdPortfolioId | {
4326
- did?: any;
4327
- kind?: any;
4328
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
4329
- u64,
4330
- PalletSettlementSettlementType,
4331
- Option<u64>,
4332
- Option<u64>,
4333
- Vec<PalletSettlementLeg>,
4334
- Vec<PolymeshPrimitivesIdentityIdPortfolioId>
4335
- ]>;
4336
- /**
4337
- * Adds and affirms a new instruction.
4338
- *
4339
- * # Arguments
4340
- * * `venue_id` - ID of the venue this instruction belongs to.
4341
- * * `settlement_type` - Defines if the instruction should be settled
4342
- * in the next block after receiving all affirmations or waiting till a specific block.
4343
- * * `trade_date` - Optional date from which people can interact with this instruction.
4344
- * * `value_date` - Optional date after which the instruction should be settled (not enforced)
4345
- * * `legs` - Legs included in this instruction.
4346
- * * `portfolios` - Portfolios that the sender controls and wants to use in this affirmations.
4347
- * * `memo` - Memo field for this instruction.
4348
- *
4349
- * # Permissions
4350
- * * Portfolio
4351
- **/
4352
- addAndAffirmInstructionWithMemo: AugmentedSubmittable<(venueId: u64 | AnyNumber | Uint8Array, settlementType: PalletSettlementSettlementType | {
4353
- SettleOnAffirmation: any;
4354
- } | {
4355
- SettleOnBlock: any;
4356
- } | {
4357
- SettleManual: any;
4358
- } | string | Uint8Array, tradeDate: Option<u64> | null | object | string | Uint8Array, valueDate: Option<u64> | null | object | string | Uint8Array, legs: Vec<PalletSettlementLeg> | (PalletSettlementLeg | {
4359
- from?: any;
4360
- to?: any;
4361
- asset?: any;
4362
- amount?: any;
4363
- } | string | Uint8Array)[], portfolios: Vec<PolymeshPrimitivesIdentityIdPortfolioId> | (PolymeshPrimitivesIdentityIdPortfolioId | {
4364
- did?: any;
4365
- kind?: any;
4366
- } | string | Uint8Array)[], instructionMemo: Option<PalletSettlementInstructionMemo> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4367
- u64,
4368
- PalletSettlementSettlementType,
4369
- Option<u64>,
4370
- Option<u64>,
4371
- Vec<PalletSettlementLeg>,
4372
- Vec<PolymeshPrimitivesIdentityIdPortfolioId>,
4373
- Option<PalletSettlementInstructionMemo>
4374
- ]>;
4375
- /**
4376
- * Adds and affirms a new instruction.
4377
- *
4378
- * # Arguments
4379
- * * `venue_id` - ID of the venue this instruction belongs to.
4380
- * * `settlement_type` - Defines if the instruction should be settled
4381
- * in the next block after receiving all affirmations or waiting till a specific block.
4382
- * * `trade_date` - Optional date from which people can interact with this instruction.
4383
- * * `value_date` - Optional date after which the instruction should be settled (not enforced)
4384
- * * `legs` - Legs included in this instruction.
4385
- * * `portfolios` - Portfolios that the sender controls and wants to use in this affirmations.
4386
- * * `memo` - Memo field for this instruction.
4387
- *
4388
- * # Permissions
4389
- * * Portfolio
4390
- **/
4391
- addAndAffirmInstructionWithMemoV2: AugmentedSubmittable<(venueId: u64 | AnyNumber | Uint8Array, settlementType: PalletSettlementSettlementType | {
4392
- SettleOnAffirmation: any;
4213
+ } | string | Uint8Array, tradeDate: Option<u64> | null | Uint8Array | u64 | AnyNumber, valueDate: Option<u64> | null | Uint8Array | u64 | AnyNumber, legs: Vec<PolymeshPrimitivesSettlementLeg> | (PolymeshPrimitivesSettlementLeg | {
4214
+ Fungible: any;
4393
4215
  } | {
4394
- SettleOnBlock: any;
4216
+ NonFungible: any;
4395
4217
  } | {
4396
- SettleManual: any;
4397
- } | string | Uint8Array, tradeDate: Option<u64> | null | object | string | Uint8Array, valueDate: Option<u64> | null | object | string | Uint8Array, legs: Vec<PalletSettlementLegV2> | (PalletSettlementLegV2 | {
4398
- from?: any;
4399
- to?: any;
4400
- asset?: any;
4218
+ OffChain: any;
4401
4219
  } | string | Uint8Array)[], portfolios: Vec<PolymeshPrimitivesIdentityIdPortfolioId> | (PolymeshPrimitivesIdentityIdPortfolioId | {
4402
4220
  did?: any;
4403
4221
  kind?: any;
4404
- } | string | Uint8Array)[], instructionMemo: Option<PalletSettlementInstructionMemo> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4222
+ } | string | Uint8Array)[], instructionMemo: Option<PolymeshPrimitivesMemo> | null | Uint8Array | PolymeshPrimitivesMemo | string) => SubmittableExtrinsic<ApiType>, [
4405
4223
  u64,
4406
- PalletSettlementSettlementType,
4224
+ PolymeshPrimitivesSettlementSettlementType,
4407
4225
  Option<u64>,
4408
4226
  Option<u64>,
4409
- Vec<PalletSettlementLegV2>,
4227
+ Vec<PolymeshPrimitivesSettlementLeg>,
4410
4228
  Vec<PolymeshPrimitivesIdentityIdPortfolioId>,
4411
- Option<PalletSettlementInstructionMemo>
4229
+ Option<PolymeshPrimitivesMemo>
4412
4230
  ]>;
4413
4231
  /**
4414
- * Deprecated. Use `add_instruction_with_memo` instead.
4415
4232
  * Adds a new instruction.
4416
4233
  *
4417
4234
  * # Arguments
4418
4235
  * * `venue_id` - ID of the venue this instruction belongs to.
4419
- * * `settlement_type` - Defines if the instruction should be settled
4420
- * in the next block after receiving all affirmations or waiting till a specific block.
4421
- * * `trade_date` - Optional date from which people can interact with this instruction.
4422
- * * `value_date` - Optional date after which the instruction should be settled (not enforced)
4423
- * * `legs` - Legs included in this instruction.
4424
- *
4425
- * # Weight
4426
- * `950_000_000 + 1_000_000 * legs.len()`
4427
- **/
4428
- addInstruction: AugmentedSubmittable<(venueId: u64 | AnyNumber | Uint8Array, settlementType: PalletSettlementSettlementType | {
4429
- SettleOnAffirmation: any;
4430
- } | {
4431
- SettleOnBlock: any;
4432
- } | {
4433
- SettleManual: any;
4434
- } | string | Uint8Array, tradeDate: Option<u64> | null | object | string | Uint8Array, valueDate: Option<u64> | null | object | string | Uint8Array, legs: Vec<PalletSettlementLeg> | (PalletSettlementLeg | {
4435
- from?: any;
4436
- to?: any;
4437
- asset?: any;
4438
- amount?: any;
4439
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
4440
- u64,
4441
- PalletSettlementSettlementType,
4442
- Option<u64>,
4443
- Option<u64>,
4444
- Vec<PalletSettlementLeg>
4445
- ]>;
4446
- /**
4447
- * Adds a new instruction with memo.
4448
- *
4449
- * # Arguments
4450
- * * `venue_id` - ID of the venue this instruction belongs to.
4451
- * * `settlement_type` - Defines if the instruction should be settled
4452
- * in the next block after receiving all affirmations or waiting till a specific block.
4236
+ * * `settlement_type` - Defines if the instruction should be settled in the next block, after receiving all affirmations
4237
+ * or waiting till a specific block.
4453
4238
  * * `trade_date` - Optional date from which people can interact with this instruction.
4454
4239
  * * `value_date` - Optional date after which the instruction should be settled (not enforced)
4455
4240
  * * `legs` - Legs included in this instruction.
@@ -4458,65 +4243,32 @@ declare module '@polkadot/api-base/types/submittable' {
4458
4243
  * # Weight
4459
4244
  * `950_000_000 + 1_000_000 * legs.len()`
4460
4245
  **/
4461
- addInstructionWithMemo: AugmentedSubmittable<(venueId: u64 | AnyNumber | Uint8Array, settlementType: PalletSettlementSettlementType | {
4246
+ addInstruction: AugmentedSubmittable<(venueId: u64 | AnyNumber | Uint8Array, settlementType: PolymeshPrimitivesSettlementSettlementType | {
4462
4247
  SettleOnAffirmation: any;
4463
4248
  } | {
4464
4249
  SettleOnBlock: any;
4465
4250
  } | {
4466
4251
  SettleManual: any;
4467
- } | string | Uint8Array, tradeDate: Option<u64> | null | object | string | Uint8Array, valueDate: Option<u64> | null | object | string | Uint8Array, legs: Vec<PalletSettlementLeg> | (PalletSettlementLeg | {
4468
- from?: any;
4469
- to?: any;
4470
- asset?: any;
4471
- amount?: any;
4472
- } | string | Uint8Array)[], instructionMemo: Option<PalletSettlementInstructionMemo> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4473
- u64,
4474
- PalletSettlementSettlementType,
4475
- Option<u64>,
4476
- Option<u64>,
4477
- Vec<PalletSettlementLeg>,
4478
- Option<PalletSettlementInstructionMemo>
4479
- ]>;
4480
- /**
4481
- * Adds a new instruction with memo.
4482
- *
4483
- * # Arguments
4484
- * * `venue_id` - ID of the venue this instruction belongs to.
4485
- * * `settlement_type` - Defines if the instruction should be settled
4486
- * in the next block after receiving all affirmations or waiting till a specific block.
4487
- * * `trade_date` - Optional date from which people can interact with this instruction.
4488
- * * `value_date` - Optional date after which the instruction should be settled (not enforced)
4489
- * * `legs` - Legs included in this instruction.
4490
- * * `memo` - Memo field for this instruction.
4491
- *
4492
- * # Weight
4493
- * `950_000_000 + 1_000_000 * legs.len()`
4494
- **/
4495
- addInstructionWithMemoV2: AugmentedSubmittable<(venueId: u64 | AnyNumber | Uint8Array, settlementType: PalletSettlementSettlementType | {
4496
- SettleOnAffirmation: any;
4252
+ } | string | Uint8Array, tradeDate: Option<u64> | null | Uint8Array | u64 | AnyNumber, valueDate: Option<u64> | null | Uint8Array | u64 | AnyNumber, legs: Vec<PolymeshPrimitivesSettlementLeg> | (PolymeshPrimitivesSettlementLeg | {
4253
+ Fungible: any;
4497
4254
  } | {
4498
- SettleOnBlock: any;
4255
+ NonFungible: any;
4499
4256
  } | {
4500
- SettleManual: any;
4501
- } | string | Uint8Array, tradeDate: Option<u64> | null | object | string | Uint8Array, valueDate: Option<u64> | null | object | string | Uint8Array, legs: Vec<PalletSettlementLegV2> | (PalletSettlementLegV2 | {
4502
- from?: any;
4503
- to?: any;
4504
- asset?: any;
4505
- } | string | Uint8Array)[], instructionMemo: Option<PalletSettlementInstructionMemo> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4257
+ OffChain: any;
4258
+ } | string | Uint8Array)[], instructionMemo: Option<PolymeshPrimitivesMemo> | null | Uint8Array | PolymeshPrimitivesMemo | string) => SubmittableExtrinsic<ApiType>, [
4506
4259
  u64,
4507
- PalletSettlementSettlementType,
4260
+ PolymeshPrimitivesSettlementSettlementType,
4508
4261
  Option<u64>,
4509
4262
  Option<u64>,
4510
- Vec<PalletSettlementLegV2>,
4511
- Option<PalletSettlementInstructionMemo>
4263
+ Vec<PolymeshPrimitivesSettlementLeg>,
4264
+ Option<PolymeshPrimitivesMemo>
4512
4265
  ]>;
4513
4266
  /**
4514
4267
  * Provide affirmation to an existing instruction.
4515
4268
  *
4516
4269
  * # Arguments
4517
- * * `id` - Instruction id to affirm.
4270
+ * * `id` - The `InstructionId` of the instruction to be affirmed.
4518
4271
  * * `portfolios` - Portfolios that the sender controls and wants to affirm this instruction.
4519
- * * `max_legs_count` - Number of legs that need to be affirmed.
4520
4272
  *
4521
4273
  * # Permissions
4522
4274
  * * Portfolio
@@ -4524,31 +4276,9 @@ declare module '@polkadot/api-base/types/submittable' {
4524
4276
  affirmInstruction: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, portfolios: Vec<PolymeshPrimitivesIdentityIdPortfolioId> | (PolymeshPrimitivesIdentityIdPortfolioId | {
4525
4277
  did?: any;
4526
4278
  kind?: any;
4527
- } | string | Uint8Array)[], maxLegsCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4528
- u64,
4529
- Vec<PolymeshPrimitivesIdentityIdPortfolioId>,
4530
- u32
4531
- ]>;
4532
- /**
4533
- * Provide affirmation to an existing instruction.
4534
- *
4535
- * # Arguments
4536
- * * `id` - Instruction id to affirm.
4537
- * * `portfolios` - Portfolios that the sender controls and wants to affirm this instruction.
4538
- * * `fungible_transfers` - number of fungible transfers in the instruction.
4539
- * * `nfts_transfers` - total number of NFTs being transferred in the instruction.
4540
- *
4541
- * # Permissions
4542
- * * Portfolio
4543
- **/
4544
- affirmInstructionV2: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, portfolios: Vec<PolymeshPrimitivesIdentityIdPortfolioId> | (PolymeshPrimitivesIdentityIdPortfolioId | {
4545
- did?: any;
4546
- kind?: any;
4547
- } | string | Uint8Array)[], fungibleTransfers: u32 | AnyNumber | Uint8Array, nftsTransfers: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4279
+ } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
4548
4280
  u64,
4549
- Vec<PolymeshPrimitivesIdentityIdPortfolioId>,
4550
- u32,
4551
- u32
4281
+ Vec<PolymeshPrimitivesIdentityIdPortfolioId>
4552
4282
  ]>;
4553
4283
  /**
4554
4284
  * Accepts an instruction and claims a signed receipt.
@@ -4559,13 +4289,14 @@ declare module '@polkadot/api-base/types/submittable' {
4559
4289
  * * `receipt_uid` - Receipt ID generated by the signer.
4560
4290
  * * `signer` - Signer of the receipt.
4561
4291
  * * `signed_data` - Signed receipt.
4562
- * * `portfolios` - Portfolios that the sender controls and wants to accept this instruction with
4292
+ * * `portfolios` - Portfolios that the sender controls and wants to accept this instruction with.
4563
4293
  *
4564
4294
  * # Permissions
4565
4295
  * * Portfolio
4566
4296
  **/
4567
- affirmWithReceipts: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, receiptDetails: Vec<PalletSettlementReceiptDetails> | (PalletSettlementReceiptDetails | {
4568
- receiptUid?: any;
4297
+ affirmWithReceipts: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, receiptDetails: Vec<PolymeshPrimitivesSettlementReceiptDetails> | (PolymeshPrimitivesSettlementReceiptDetails | {
4298
+ uid?: any;
4299
+ instructionId?: any;
4569
4300
  legId?: any;
4570
4301
  signer?: any;
4571
4302
  signature?: any;
@@ -4573,11 +4304,10 @@ declare module '@polkadot/api-base/types/submittable' {
4573
4304
  } | string | Uint8Array)[], portfolios: Vec<PolymeshPrimitivesIdentityIdPortfolioId> | (PolymeshPrimitivesIdentityIdPortfolioId | {
4574
4305
  did?: any;
4575
4306
  kind?: any;
4576
- } | string | Uint8Array)[], maxLegsCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4307
+ } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
4577
4308
  u64,
4578
- Vec<PalletSettlementReceiptDetails>,
4579
- Vec<PolymeshPrimitivesIdentityIdPortfolioId>,
4580
- u32
4309
+ Vec<PolymeshPrimitivesSettlementReceiptDetails>,
4310
+ Vec<PolymeshPrimitivesIdentityIdPortfolioId>
4581
4311
  ]>;
4582
4312
  /**
4583
4313
  * Allows additional venues to create instructions involving an asset.
@@ -4592,17 +4322,6 @@ declare module '@polkadot/api-base/types/submittable' {
4592
4322
  PolymeshPrimitivesTicker,
4593
4323
  Vec<u64>
4594
4324
  ]>;
4595
- /**
4596
- * Marks a receipt issued by the caller as claimed or not claimed.
4597
- * This allows the receipt issuer to invalidate an already issued receipt or revalidate an already claimed receipt.
4598
- *
4599
- * * `receipt_uid` - Unique ID of the receipt.
4600
- * * `validity` - New validity of the receipt.
4601
- **/
4602
- changeReceiptValidity: AugmentedSubmittable<(receiptUid: u64 | AnyNumber | Uint8Array, validity: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4603
- u64,
4604
- bool
4605
- ]>;
4606
4325
  /**
4607
4326
  * Registers a new venue.
4608
4327
  *
@@ -4610,10 +4329,10 @@ declare module '@polkadot/api-base/types/submittable' {
4610
4329
  * * `signers` - Array of signers that are allowed to sign receipts for this venue
4611
4330
  * * `typ` - Type of venue being created
4612
4331
  **/
4613
- createVenue: AugmentedSubmittable<(details: Bytes | string | Uint8Array, signers: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], typ: PalletSettlementVenueType | 'Other' | 'Distribution' | 'Sto' | 'Exchange' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4332
+ createVenue: AugmentedSubmittable<(details: Bytes | string | Uint8Array, signers: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], typ: PolymeshPrimitivesSettlementVenueType | 'Other' | 'Distribution' | 'Sto' | 'Exchange' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4614
4333
  Bytes,
4615
4334
  Vec<AccountId32>,
4616
- PalletSettlementVenueType
4335
+ PolymeshPrimitivesSettlementVenueType
4617
4336
  ]>;
4618
4337
  /**
4619
4338
  * Revokes permission given to venues for creating instructions involving a particular asset.
@@ -4629,50 +4348,53 @@ declare module '@polkadot/api-base/types/submittable' {
4629
4348
  Vec<u64>
4630
4349
  ]>;
4631
4350
  /**
4632
- * Manually execute settlement
4351
+ * Manually executes an instruction.
4633
4352
  *
4634
4353
  * # Arguments
4635
- * * `id` - Target instruction id to reschedule.
4636
- * * `_legs_count` - Legs included in this instruction.
4354
+ * * `id`: The [`InstructionId`] of the instruction to be executed.
4355
+ * * `portfolio`: One of the caller's [`PortfolioId`] which is also a counter patry in the instruction.
4356
+ * If None, the caller must be the venue creator or a counter party in a [`Leg::OffChain`].
4357
+ * * `fungible_transfers`: The number of fungible legs in the instruction.
4358
+ * * `nfts_transfers`: The number of nfts being transferred in the instruction.
4359
+ * * `offchain_transfers`: The number of offchain legs in the instruction.
4360
+ * * `weight_limit`: An optional maximum [`Weight`] value to be charged for executing the instruction.
4361
+ * If the `weight_limit` is less than the required amount, the instruction will fail execution.
4637
4362
  *
4638
- * # Errors
4639
- * * `InstructionNotFailed` - Instruction not in a failed state or does not exist.
4363
+ * Note: calling the rpc method `get_execute_instruction_info` returns an instance of [`ExecuteInstructionInfo`], which contains the count parameters.
4640
4364
  **/
4641
- executeManualInstruction: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, legsCount: u32 | AnyNumber | Uint8Array, portfolio: Option<PolymeshPrimitivesIdentityIdPortfolioId> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4365
+ executeManualInstruction: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, portfolio: Option<PolymeshPrimitivesIdentityIdPortfolioId> | null | Uint8Array | PolymeshPrimitivesIdentityIdPortfolioId | {
4366
+ did?: any;
4367
+ kind?: any;
4368
+ } | string, fungibleTransfers: u32 | AnyNumber | Uint8Array, nftsTransfers: u32 | AnyNumber | Uint8Array, offchainTransfers: u32 | AnyNumber | Uint8Array, weightLimit: Option<SpWeightsWeightV2Weight> | null | Uint8Array | SpWeightsWeightV2Weight | {
4369
+ refTime?: any;
4370
+ proofSize?: any;
4371
+ } | string) => SubmittableExtrinsic<ApiType>, [
4642
4372
  u64,
4373
+ Option<PolymeshPrimitivesIdentityIdPortfolioId>,
4374
+ u32,
4375
+ u32,
4643
4376
  u32,
4644
- Option<PolymeshPrimitivesIdentityIdPortfolioId>
4377
+ Option<SpWeightsWeightV2Weight>
4645
4378
  ]>;
4646
- /**
4647
- * Root callable extrinsic, used as an internal call to execute a scheduled settlement instruction.
4648
- **/
4649
- executeScheduledInstruction: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, legsCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4650
- u64,
4651
- u32
4379
+ rescheduleInstruction: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4380
+ u64
4652
4381
  ]>;
4653
4382
  /**
4654
4383
  * Root callable extrinsic, used as an internal call to execute a scheduled settlement instruction.
4655
4384
  **/
4656
- executeScheduledInstructionV2: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, fungibleTransfers: u32 | AnyNumber | Uint8Array, nftsTransfers: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4385
+ executeScheduledInstruction: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, weightLimit: SpWeightsWeightV2Weight | {
4386
+ refTime?: any;
4387
+ proofSize?: any;
4388
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4657
4389
  u64,
4658
- u32,
4659
- u32
4390
+ SpWeightsWeightV2Weight
4660
4391
  ]>;
4661
- /**
4662
- * Placeholder for removed `claim_receipt`
4663
- **/
4664
- placeholderClaimReceipt: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
4665
- /**
4666
- * Placeholder for removed `unclaim_receipt`
4667
- **/
4668
- placeholderUnclaimReceipt: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
4669
4392
  /**
4670
4393
  * Rejects an existing instruction.
4671
4394
  *
4672
4395
  * # Arguments
4673
4396
  * * `id` - Instruction id to reject.
4674
4397
  * * `portfolio` - Portfolio to reject the instruction.
4675
- * * `num_of_legs` - Number of legs in the instruction.
4676
4398
  *
4677
4399
  * # Permissions
4678
4400
  * * Portfolio
@@ -4680,46 +4402,9 @@ declare module '@polkadot/api-base/types/submittable' {
4680
4402
  rejectInstruction: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, portfolio: PolymeshPrimitivesIdentityIdPortfolioId | {
4681
4403
  did?: any;
4682
4404
  kind?: any;
4683
- } | string | Uint8Array, numOfLegs: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4684
- u64,
4685
- PolymeshPrimitivesIdentityIdPortfolioId,
4686
- u32
4687
- ]>;
4688
- /**
4689
- * Rejects an existing instruction.
4690
- *
4691
- * # Arguments
4692
- * * `id` - Instruction id to reject.
4693
- * * `portfolio` - Portfolio to reject the instruction.
4694
- * * `fungible_transfers` - number of fungible transfers in the instruction.
4695
- * * `nfts_transfers` - total number of NFTs being transferred in the instruction.
4696
- *
4697
- * # Permissions
4698
- * * Portfolio
4699
- **/
4700
- rejectInstructionV2: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, portfolio: PolymeshPrimitivesIdentityIdPortfolioId | {
4701
- did?: any;
4702
- kind?: any;
4703
- } | string | Uint8Array, fungibleTransfers: u32 | AnyNumber | Uint8Array, nftsTransfers: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4405
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4704
4406
  u64,
4705
- PolymeshPrimitivesIdentityIdPortfolioId,
4706
- u32,
4707
- u32
4708
- ]>;
4709
- /**
4710
- * Reschedules a failed instruction.
4711
- *
4712
- * # Arguments
4713
- * * `id` - Target instruction id to reschedule.
4714
- *
4715
- * # Permissions
4716
- * * Portfolio
4717
- *
4718
- * # Errors
4719
- * * `InstructionNotFailed` - Instruction not in a failed state or does not exist.
4720
- **/
4721
- rescheduleInstruction: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4722
- u64
4407
+ PolymeshPrimitivesIdentityIdPortfolioId
4723
4408
  ]>;
4724
4409
  /**
4725
4410
  * Enables or disabled venue filtering for a token.
@@ -4762,9 +4447,9 @@ declare module '@polkadot/api-base/types/submittable' {
4762
4447
  * * `id` specifies the ID of the venue to edit.
4763
4448
  * * `type` specifies the new type of the venue.
4764
4449
  **/
4765
- updateVenueType: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, typ: PalletSettlementVenueType | 'Other' | 'Distribution' | 'Sto' | 'Exchange' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4450
+ updateVenueType: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, typ: PolymeshPrimitivesSettlementVenueType | 'Other' | 'Distribution' | 'Sto' | 'Exchange' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4766
4451
  u64,
4767
- PalletSettlementVenueType
4452
+ PolymeshPrimitivesSettlementVenueType
4768
4453
  ]>;
4769
4454
  /**
4770
4455
  * Withdraw an affirmation for a given instruction.
@@ -4772,7 +4457,6 @@ declare module '@polkadot/api-base/types/submittable' {
4772
4457
  * # Arguments
4773
4458
  * * `id` - Instruction id for that affirmation get withdrawn.
4774
4459
  * * `portfolios` - Portfolios that the sender controls and wants to withdraw affirmation.
4775
- * * `max_legs_count` - Number of legs that need to be un-affirmed.
4776
4460
  *
4777
4461
  * # Permissions
4778
4462
  * * Portfolio
@@ -4780,31 +4464,9 @@ declare module '@polkadot/api-base/types/submittable' {
4780
4464
  withdrawAffirmation: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, portfolios: Vec<PolymeshPrimitivesIdentityIdPortfolioId> | (PolymeshPrimitivesIdentityIdPortfolioId | {
4781
4465
  did?: any;
4782
4466
  kind?: any;
4783
- } | string | Uint8Array)[], maxLegsCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4784
- u64,
4785
- Vec<PolymeshPrimitivesIdentityIdPortfolioId>,
4786
- u32
4787
- ]>;
4788
- /**
4789
- * Withdraw an affirmation for a given instruction.
4790
- *
4791
- * # Arguments
4792
- * * `id` - Instruction id for that affirmation get withdrawn.
4793
- * * `portfolios` - Portfolios that the sender controls and wants to withdraw affirmation.
4794
- * * `fungible_transfers` - number of fungible transfers in the instruction.
4795
- * * `nfts_transfers` - total number of NFTs being transferred in the instruction.
4796
- *
4797
- * # Permissions
4798
- * * Portfolio
4799
- **/
4800
- withdrawAffirmationV2: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, portfolios: Vec<PolymeshPrimitivesIdentityIdPortfolioId> | (PolymeshPrimitivesIdentityIdPortfolioId | {
4801
- did?: any;
4802
- kind?: any;
4803
- } | string | Uint8Array)[], fungibleTransfers: u32 | AnyNumber | Uint8Array, nftsTransfers: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4467
+ } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
4804
4468
  u64,
4805
- Vec<PolymeshPrimitivesIdentityIdPortfolioId>,
4806
- u32,
4807
- u32
4469
+ Vec<PolymeshPrimitivesIdentityIdPortfolioId>
4808
4470
  ]>;
4809
4471
  };
4810
4472
  staking: {
@@ -4818,7 +4480,7 @@ declare module '@polkadot/api-base/types/submittable' {
4818
4480
  * * identity Validator's IdentityId.
4819
4481
  * * intended_count No. of validators given identity intends to run.
4820
4482
  **/
4821
- addPermissionedValidator: AugmentedSubmittable<(identity: PolymeshPrimitivesIdentityId | string | Uint8Array, intendedCount: Option<u32> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4483
+ addPermissionedValidator: AugmentedSubmittable<(identity: PolymeshPrimitivesIdentityId | string | Uint8Array, intendedCount: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
4822
4484
  PolymeshPrimitivesIdentityId,
4823
4485
  Option<u32>
4824
4486
  ]>;
@@ -5675,7 +5337,7 @@ declare module '@polkadot/api-base/types/submittable' {
5675
5337
  } | string | Uint8Array, raisingAsset: PolymeshPrimitivesTicker | string | Uint8Array, tiers: Vec<PalletStoPriceTier> | (PalletStoPriceTier | {
5676
5338
  total?: any;
5677
5339
  price?: any;
5678
- } | string | Uint8Array)[], venueId: u64 | AnyNumber | Uint8Array, start: Option<u64> | null | object | string | Uint8Array, end: Option<u64> | null | object | string | Uint8Array, minimumInvestment: u128 | AnyNumber | Uint8Array, fundraiserName: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5340
+ } | 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>, [
5679
5341
  PolymeshPrimitivesIdentityIdPortfolioId,
5680
5342
  PolymeshPrimitivesTicker,
5681
5343
  PolymeshPrimitivesIdentityIdPortfolioId,
@@ -5720,14 +5382,21 @@ declare module '@polkadot/api-base/types/submittable' {
5720
5382
  } | string | Uint8Array, fundingPortfolio: PolymeshPrimitivesIdentityIdPortfolioId | {
5721
5383
  did?: any;
5722
5384
  kind?: any;
5723
- } | string | Uint8Array, offeringAsset: PolymeshPrimitivesTicker | string | Uint8Array, id: u64 | AnyNumber | Uint8Array, purchaseAmount: u128 | AnyNumber | Uint8Array, maxPrice: Option<u128> | null | object | string | Uint8Array, receipt: Option<PalletSettlementReceiptDetails> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5385
+ } | string | Uint8Array, offeringAsset: PolymeshPrimitivesTicker | string | Uint8Array, id: u64 | AnyNumber | Uint8Array, purchaseAmount: u128 | AnyNumber | Uint8Array, maxPrice: Option<u128> | null | Uint8Array | u128 | AnyNumber, receipt: Option<PolymeshPrimitivesSettlementReceiptDetails> | null | Uint8Array | PolymeshPrimitivesSettlementReceiptDetails | {
5386
+ uid?: any;
5387
+ instructionId?: any;
5388
+ legId?: any;
5389
+ signer?: any;
5390
+ signature?: any;
5391
+ metadata?: any;
5392
+ } | string) => SubmittableExtrinsic<ApiType>, [
5724
5393
  PolymeshPrimitivesIdentityIdPortfolioId,
5725
5394
  PolymeshPrimitivesIdentityIdPortfolioId,
5726
5395
  PolymeshPrimitivesTicker,
5727
5396
  u64,
5728
5397
  u128,
5729
5398
  Option<u128>,
5730
- Option<PalletSettlementReceiptDetails>
5399
+ Option<PolymeshPrimitivesSettlementReceiptDetails>
5731
5400
  ]>;
5732
5401
  /**
5733
5402
  * Modify the time window a fundraiser is active
@@ -5740,7 +5409,7 @@ declare module '@polkadot/api-base/types/submittable' {
5740
5409
  * # Permissions
5741
5410
  * * Asset
5742
5411
  **/
5743
- modifyFundraiserWindow: AugmentedSubmittable<(offeringAsset: PolymeshPrimitivesTicker | string | Uint8Array, id: u64 | AnyNumber | Uint8Array, start: u64 | AnyNumber | Uint8Array, end: Option<u64> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5412
+ modifyFundraiserWindow: AugmentedSubmittable<(offeringAsset: PolymeshPrimitivesTicker | string | Uint8Array, id: u64 | AnyNumber | Uint8Array, start: u64 | AnyNumber | Uint8Array, end: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
5744
5413
  PolymeshPrimitivesTicker,
5745
5414
  u64,
5746
5415
  u64,
@@ -5877,16 +5546,11 @@ declare module '@polkadot/api-base/types/submittable' {
5877
5546
  killStorage: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
5878
5547
  Vec<Bytes>
5879
5548
  ]>;
5880
- /**
5881
- * Placeholder for removed `fill_block`.
5882
- **/
5883
- placeholderFillBlock: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
5884
5549
  /**
5885
5550
  * Make some on-chain remark.
5886
5551
  *
5887
- * # <weight>
5552
+ * ## Complexity
5888
5553
  * - `O(1)`
5889
- * # </weight>
5890
5554
  **/
5891
5555
  remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5892
5556
  Bytes
@@ -5900,16 +5564,8 @@ declare module '@polkadot/api-base/types/submittable' {
5900
5564
  /**
5901
5565
  * Set the new runtime code.
5902
5566
  *
5903
- * # <weight>
5567
+ * ## Complexity
5904
5568
  * - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`
5905
- * - 1 call to `can_set_code`: `O(S)` (calls `sp_io::misc::runtime_version` which is
5906
- * expensive).
5907
- * - 1 storage write (codec `O(C)`).
5908
- * - 1 digest item.
5909
- * - 1 event.
5910
- * The weight of this function is dependent on the runtime, but generally this is very
5911
- * expensive. We will treat this as a full block.
5912
- * # </weight>
5913
5569
  **/
5914
5570
  setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5915
5571
  Bytes
@@ -5917,13 +5573,8 @@ declare module '@polkadot/api-base/types/submittable' {
5917
5573
  /**
5918
5574
  * Set the new runtime code without doing any checks of the given `code`.
5919
5575
  *
5920
- * # <weight>
5576
+ * ## Complexity
5921
5577
  * - `O(C)` where `C` length of `code`
5922
- * - 1 storage write (codec `O(C)`).
5923
- * - 1 digest item.
5924
- * - 1 event.
5925
- * The weight of this function is dependent on the runtime. We will treat this as a full
5926
- * block. # </weight>
5927
5578
  **/
5928
5579
  setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5929
5580
  Bytes
@@ -6062,7 +5713,7 @@ declare module '@polkadot/api-base/types/submittable' {
6062
5713
  * * `expiry` - Time-stamp when `who` is removed from CDD. As soon as it is expired, the
6063
5714
  * generated claims will be "invalid" as `who` is not considered a member of the group.
6064
5715
  **/
6065
- disableMember: AugmentedSubmittable<(who: PolymeshPrimitivesIdentityId | string | Uint8Array, expiry: Option<u64> | null | object | string | Uint8Array, at: Option<u64> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5716
+ disableMember: AugmentedSubmittable<(who: PolymeshPrimitivesIdentityId | string | Uint8Array, expiry: Option<u64> | null | Uint8Array | u64 | AnyNumber, at: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
6066
5717
  PolymeshPrimitivesIdentityId,
6067
5718
  Option<u64>,
6068
5719
  Option<u64>
@@ -6130,11 +5781,6 @@ declare module '@polkadot/api-base/types/submittable' {
6130
5781
  getMyDid: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
6131
5782
  /**
6132
5783
  * Registers a new Identity for the `target_account` and issues a CDD claim to it.
6133
- * The Investor UID is generated deterministically by the hash of the generated DID and
6134
- * then we fix it to be compliant with UUID v4.
6135
- *
6136
- * # See
6137
- * - [RFC 4122: UUID](https://tools.ietf.org/html/rfc4122)
6138
5784
  *
6139
5785
  * # Failure
6140
5786
  * - `origin` has to be an active CDD provider. Inactive CDD providers cannot add new
@@ -6157,11 +5803,10 @@ declare module '@polkadot/api-base/types/submittable' {
6157
5803
  * - `SecondaryKeysContainPrimaryKey` if `secondary_keys` contains the caller account.
6158
5804
  * - `DidAlreadyExists` if auto-generated DID already exists.
6159
5805
  **/
6160
- registerDid: AugmentedSubmittable<(uid: PolymeshPrimitivesCddIdInvestorUid | string | Uint8Array, secondaryKeys: Vec<PolymeshPrimitivesSecondaryKey> | (PolymeshPrimitivesSecondaryKey | {
5806
+ registerDid: AugmentedSubmittable<(secondaryKeys: Vec<PolymeshPrimitivesSecondaryKey> | (PolymeshPrimitivesSecondaryKey | {
6161
5807
  key?: any;
6162
5808
  permissions?: any;
6163
5809
  } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
6164
- PolymeshPrimitivesCddIdInvestorUid,
6165
5810
  Vec<PolymeshPrimitivesSecondaryKey>
6166
5811
  ]>;
6167
5812
  };
@@ -6177,12 +5822,11 @@ declare module '@polkadot/api-base/types/submittable' {
6177
5822
  *
6178
5823
  * The dispatch origin for this call must be `Inherent`.
6179
5824
  *
6180
- * # <weight>
5825
+ * ## Complexity
6181
5826
  * - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)
6182
5827
  * - 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in
6183
5828
  * `on_finalize`)
6184
5829
  * - 1 event handler `on_timestamp_set`. Must be `O(1)`.
6185
- * # </weight>
6186
5830
  **/
6187
5831
  set: AugmentedSubmittable<(now: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
6188
5832
  Compact<u64>
@@ -6334,7 +5978,7 @@ declare module '@polkadot/api-base/types/submittable' {
6334
5978
  * * `expiry` - Time-stamp when `who` is removed from CDD. As soon as it is expired, the
6335
5979
  * generated claims will be "invalid" as `who` is not considered a member of the group.
6336
5980
  **/
6337
- disableMember: AugmentedSubmittable<(who: PolymeshPrimitivesIdentityId | string | Uint8Array, expiry: Option<u64> | null | object | string | Uint8Array, at: Option<u64> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5981
+ disableMember: AugmentedSubmittable<(who: PolymeshPrimitivesIdentityId | string | Uint8Array, expiry: Option<u64> | null | Uint8Array | u64 | AnyNumber, at: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
6338
5982
  PolymeshPrimitivesIdentityId,
6339
5983
  Option<u64>,
6340
5984
  Option<u64>
@@ -6391,20 +6035,20 @@ declare module '@polkadot/api-base/types/submittable' {
6391
6035
  };
6392
6036
  utility: {
6393
6037
  /**
6394
- * Dispatch multiple calls from the sender's origin.
6038
+ * Send a batch of dispatch calls.
6395
6039
  *
6396
- * This will execute until the first one fails and then stop.
6040
+ * May be called from any origin except `None`.
6397
6041
  *
6398
- * May be called from root or a signed origin.
6042
+ * - `calls`: The calls to be dispatched from the same origin. The number of call must not
6043
+ * exceed the constant: `batched_calls_limit` (available in constant metadata).
6399
6044
  *
6400
- * # Parameters
6401
- * - `calls`: The calls to be dispatched from the same origin.
6045
+ * If origin is root then the calls are dispatched without checking origin filter. (This
6046
+ * includes bypassing `frame_system::Config::BaseCallFilter`).
6402
6047
  *
6403
- * # Weight
6404
- * - The sum of the weights of the `calls`.
6405
- * - One event.
6048
+ * ## Complexity
6049
+ * - O(C) where C is the number of calls to be batched.
6406
6050
  *
6407
- * This will return `Ok` in all circumstances except an unsigned origin. To determine the success of the batch, an
6051
+ * This will return `Ok` in all circumstances. To determine the success of the batch, an
6408
6052
  * event is deposited. If a call failed and the batch was interrupted, then the
6409
6053
  * `BatchInterrupted` event is deposited, along with the number of successful calls made
6410
6054
  * and the error of the failed call. If all were successful, then the `BatchCompleted`
@@ -6413,12 +6057,30 @@ declare module '@polkadot/api-base/types/submittable' {
6413
6057
  batch: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
6414
6058
  Vec<Call>
6415
6059
  ]>;
6060
+ /**
6061
+ * Send a batch of dispatch calls and atomically execute them.
6062
+ * The whole transaction will rollback and fail if any of the calls failed.
6063
+ *
6064
+ * May be called from any origin except `None`.
6065
+ *
6066
+ * - `calls`: The calls to be dispatched from the same origin. The number of call must not
6067
+ * exceed the constant: `batched_calls_limit` (available in constant metadata).
6068
+ *
6069
+ * If origin is root then the calls are dispatched without checking origin filter. (This
6070
+ * includes bypassing `frame_system::Config::BaseCallFilter`).
6071
+ *
6072
+ * ## Complexity
6073
+ * - O(C) where C is the number of calls to be batched.
6074
+ **/
6075
+ batchAll: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
6076
+ Vec<Call>
6077
+ ]>;
6416
6078
  /**
6417
6079
  * Dispatch multiple calls from the sender's origin.
6418
6080
  *
6419
6081
  * This will execute all calls, in order, stopping at the first failure,
6420
6082
  * in which case the state changes are rolled back.
6421
- * On failure, an event `BatchInterrupted(failure_idx, error)` is deposited.
6083
+ * On failure, an event `BatchInterruptedOld(failure_idx, error)` is deposited.
6422
6084
  *
6423
6085
  * May be called from root or a signed origin.
6424
6086
  *
@@ -6431,12 +6093,39 @@ declare module '@polkadot/api-base/types/submittable' {
6431
6093
  *
6432
6094
  * This will return `Ok` in all circumstances except an unsigned origin.
6433
6095
  * To determine the success of the batch, an event is deposited.
6434
- * If any call failed, then `BatchInterrupted` is deposited.
6435
- * If all were successful, then the `BatchCompleted` event is deposited.
6096
+ * If any call failed, then `BatchInterruptedOld` is deposited.
6097
+ * If all were successful, then the `BatchCompletedOld` event is deposited.
6098
+ *
6099
+ * POLYMESH: deprecated.
6436
6100
  **/
6437
6101
  batchAtomic: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
6438
6102
  Vec<Call>
6439
6103
  ]>;
6104
+ /**
6105
+ * Dispatch multiple calls from the sender's origin.
6106
+ *
6107
+ * This will execute until the first one fails and then stop.
6108
+ *
6109
+ * May be called from root or a signed origin.
6110
+ *
6111
+ * # Parameters
6112
+ * - `calls`: The calls to be dispatched from the same origin.
6113
+ *
6114
+ * # Weight
6115
+ * - The sum of the weights of the `calls`.
6116
+ * - One event.
6117
+ *
6118
+ * This will return `Ok` in all circumstances except an unsigned origin. To determine the success of the batch, an
6119
+ * event is deposited. If a call failed and the batch was interrupted, then the
6120
+ * `BatchInterruptedOld` event is deposited, along with the number of successful calls made
6121
+ * and the error of the failed call. If all were successful, then the `BatchCompletedOld`
6122
+ * event is deposited.
6123
+ *
6124
+ * POLYMESH: Renamed from `batch` and deprecated.
6125
+ **/
6126
+ batchOld: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
6127
+ Vec<Call>
6128
+ ]>;
6440
6129
  /**
6441
6130
  * Dispatch multiple calls from the sender's origin.
6442
6131
  *
@@ -6458,11 +6147,53 @@ declare module '@polkadot/api-base/types/submittable' {
6458
6147
  * If any call failed, then `BatchOptimisticFailed` is deposited,
6459
6148
  * with a vector of event counts for each call as well as a vector
6460
6149
  * of errors.
6461
- * If all were successful, then the `BatchCompleted` event is deposited.
6150
+ * If all were successful, then the `BatchCompletedOld` event is deposited.
6151
+ *
6152
+ * POLYMESH: deprecated.
6462
6153
  **/
6463
6154
  batchOptimistic: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
6464
6155
  Vec<Call>
6465
6156
  ]>;
6157
+ /**
6158
+ * Dispatches a function call with a provided origin.
6159
+ *
6160
+ * The dispatch origin for this call must be _Root_.
6161
+ *
6162
+ * ## Complexity
6163
+ * - O(1).
6164
+ **/
6165
+ dispatchAs: AugmentedSubmittable<(asOrigin: PolymeshRuntimeDevelopRuntimeOriginCaller | {
6166
+ system: any;
6167
+ } | {
6168
+ Void: any;
6169
+ } | {
6170
+ PolymeshCommittee: any;
6171
+ } | {
6172
+ TechnicalCommittee: any;
6173
+ } | {
6174
+ UpgradeCommittee: any;
6175
+ } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
6176
+ PolymeshRuntimeDevelopRuntimeOriginCaller,
6177
+ Call
6178
+ ]>;
6179
+ /**
6180
+ * Send a batch of dispatch calls.
6181
+ * Unlike `batch`, it allows errors and won't interrupt.
6182
+ *
6183
+ * May be called from any origin except `None`.
6184
+ *
6185
+ * - `calls`: The calls to be dispatched from the same origin. The number of call must not
6186
+ * exceed the constant: `batched_calls_limit` (available in constant metadata).
6187
+ *
6188
+ * If origin is root then the calls are dispatch without checking origin filter. (This
6189
+ * includes bypassing `frame_system::Config::BaseCallFilter`).
6190
+ *
6191
+ * ## Complexity
6192
+ * - O(C) where C is the number of calls to be batched.
6193
+ **/
6194
+ forceBatch: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
6195
+ Vec<Call>
6196
+ ]>;
6466
6197
  /**
6467
6198
  * Relay a call for a target from an origin
6468
6199
  *
@@ -6476,6 +6207,7 @@ declare module '@polkadot/api-base/types/submittable' {
6476
6207
  * - `signature`: Signature from target authorizing the relay
6477
6208
  * - `call`: Call to be relayed on behalf of target
6478
6209
  *
6210
+ * POLYMESH: added.
6479
6211
  **/
6480
6212
  relayTx: AugmentedSubmittable<(target: AccountId32 | string | Uint8Array, signature: SpRuntimeMultiSignature | {
6481
6213
  Ed25519: any;
@@ -6491,6 +6223,21 @@ declare module '@polkadot/api-base/types/submittable' {
6491
6223
  SpRuntimeMultiSignature,
6492
6224
  PalletUtilityUniqueCall
6493
6225
  ]>;
6226
+ /**
6227
+ * Dispatch a function call with a specified weight.
6228
+ *
6229
+ * This function does not check the weight of the call, and instead allows the
6230
+ * Root origin to specify the weight of the call.
6231
+ *
6232
+ * The dispatch origin for this call must be _Root_.
6233
+ **/
6234
+ withWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: SpWeightsWeightV2Weight | {
6235
+ refTime?: any;
6236
+ proofSize?: any;
6237
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
6238
+ Call,
6239
+ SpWeightsWeightV2Weight
6240
+ ]>;
6494
6241
  };
6495
6242
  }
6496
6243
  }