@polymeshassociation/polymesh-sdk 25.1.1 → 26.0.0-alpha.1

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 (563) hide show
  1. package/CHANGELOG.md +32 -4
  2. package/api/client/Assets.d.ts +15 -1
  3. package/api/client/Assets.d.ts.map +1 -1
  4. package/api/client/Assets.js +118 -52
  5. package/api/client/Assets.js.map +1 -1
  6. package/api/client/Claims.d.ts +1 -1
  7. package/api/client/Claims.d.ts.map +1 -1
  8. package/api/client/Claims.js +7 -5
  9. package/api/client/Claims.js.map +1 -1
  10. package/api/client/Network.d.ts +2 -2
  11. package/api/client/Network.d.ts.map +1 -1
  12. package/api/client/Network.js +4 -3
  13. package/api/client/Network.js.map +1 -1
  14. package/api/client/Polymesh.d.ts.map +1 -1
  15. package/api/client/Polymesh.js +5 -3
  16. package/api/client/Polymesh.js.map +1 -1
  17. package/api/client/types.d.ts +2 -0
  18. package/api/client/types.d.ts.map +1 -1
  19. package/api/client/types.js.map +1 -1
  20. package/api/entities/Account/MultiSig/index.d.ts +26 -2
  21. package/api/entities/Account/MultiSig/index.d.ts.map +1 -1
  22. package/api/entities/Account/MultiSig/index.js +97 -18
  23. package/api/entities/Account/MultiSig/index.js.map +1 -1
  24. package/api/entities/Account/MultiSig/types.d.ts +2 -0
  25. package/api/entities/Account/MultiSig/types.d.ts.map +1 -1
  26. package/api/entities/Account/index.d.ts +4 -0
  27. package/api/entities/Account/index.d.ts.map +1 -1
  28. package/api/entities/Account/index.js +17 -0
  29. package/api/entities/Account/index.js.map +1 -1
  30. package/api/entities/Asset/Base/BaseAsset.d.ts +17 -4
  31. package/api/entities/Asset/Base/BaseAsset.d.ts.map +1 -1
  32. package/api/entities/Asset/Base/BaseAsset.js +79 -43
  33. package/api/entities/Asset/Base/BaseAsset.js.map +1 -1
  34. package/api/entities/Asset/Base/Compliance/Requirements.d.ts.map +1 -1
  35. package/api/entities/Asset/Base/Compliance/Requirements.js +16 -17
  36. package/api/entities/Asset/Base/Compliance/Requirements.js.map +1 -1
  37. package/api/entities/Asset/Base/Compliance/TrustedClaimIssuers.d.ts.map +1 -1
  38. package/api/entities/Asset/Base/Compliance/TrustedClaimIssuers.js +8 -9
  39. package/api/entities/Asset/Base/Compliance/TrustedClaimIssuers.js.map +1 -1
  40. package/api/entities/Asset/Base/Documents/index.d.ts.map +1 -1
  41. package/api/entities/Asset/Base/Documents/index.js +4 -4
  42. package/api/entities/Asset/Base/Documents/index.js.map +1 -1
  43. package/api/entities/Asset/Base/Metadata/index.d.ts.map +1 -1
  44. package/api/entities/Asset/Base/Metadata/index.js +25 -21
  45. package/api/entities/Asset/Base/Metadata/index.js.map +1 -1
  46. package/api/entities/Asset/Base/Permissions/index.d.ts.map +1 -1
  47. package/api/entities/Asset/Base/Permissions/index.js +15 -14
  48. package/api/entities/Asset/Base/Permissions/index.js.map +1 -1
  49. package/api/entities/Asset/Base/Settlements/index.d.ts.map +1 -1
  50. package/api/entities/Asset/Base/Settlements/index.js +42 -23
  51. package/api/entities/Asset/Base/Settlements/index.js.map +1 -1
  52. package/api/entities/Asset/Fungible/AssetHolders/index.js +3 -3
  53. package/api/entities/Asset/Fungible/AssetHolders/index.js.map +1 -1
  54. package/api/entities/Asset/Fungible/Checkpoints/Schedules.d.ts.map +1 -1
  55. package/api/entities/Asset/Fungible/Checkpoints/Schedules.js +8 -9
  56. package/api/entities/Asset/Fungible/Checkpoints/Schedules.js.map +1 -1
  57. package/api/entities/Asset/Fungible/Checkpoints/index.d.ts.map +1 -1
  58. package/api/entities/Asset/Fungible/Checkpoints/index.js +8 -9
  59. package/api/entities/Asset/Fungible/Checkpoints/index.js.map +1 -1
  60. package/api/entities/Asset/Fungible/CorporateActions/Distributions.d.ts.map +1 -1
  61. package/api/entities/Asset/Fungible/CorporateActions/Distributions.js +6 -8
  62. package/api/entities/Asset/Fungible/CorporateActions/Distributions.js.map +1 -1
  63. package/api/entities/Asset/Fungible/CorporateActions/index.d.ts.map +1 -1
  64. package/api/entities/Asset/Fungible/CorporateActions/index.js +10 -10
  65. package/api/entities/Asset/Fungible/CorporateActions/index.js.map +1 -1
  66. package/api/entities/Asset/Fungible/Issuance/index.d.ts.map +1 -1
  67. package/api/entities/Asset/Fungible/Issuance/index.js +1 -2
  68. package/api/entities/Asset/Fungible/Issuance/index.js.map +1 -1
  69. package/api/entities/Asset/Fungible/Offerings/index.d.ts.map +1 -1
  70. package/api/entities/Asset/Fungible/Offerings/index.js +8 -9
  71. package/api/entities/Asset/Fungible/Offerings/index.js.map +1 -1
  72. package/api/entities/Asset/Fungible/TransferRestrictions/TransferRestrictionBase.d.ts +1 -1
  73. package/api/entities/Asset/Fungible/TransferRestrictions/TransferRestrictionBase.d.ts.map +1 -1
  74. package/api/entities/Asset/Fungible/TransferRestrictions/TransferRestrictionBase.js +22 -28
  75. package/api/entities/Asset/Fungible/TransferRestrictions/TransferRestrictionBase.js.map +1 -1
  76. package/api/entities/Asset/Fungible/index.d.ts.map +1 -1
  77. package/api/entities/Asset/Fungible/index.js +30 -22
  78. package/api/entities/Asset/Fungible/index.js.map +1 -1
  79. package/api/entities/Asset/NonFungible/AssetHolders/index.js +3 -3
  80. package/api/entities/Asset/NonFungible/AssetHolders/index.js.map +1 -1
  81. package/api/entities/Asset/NonFungible/Nft.d.ts +1 -1
  82. package/api/entities/Asset/NonFungible/Nft.d.ts.map +1 -1
  83. package/api/entities/Asset/NonFungible/Nft.js +25 -19
  84. package/api/entities/Asset/NonFungible/Nft.js.map +1 -1
  85. package/api/entities/Asset/NonFungible/NftCollection.d.ts.map +1 -1
  86. package/api/entities/Asset/NonFungible/NftCollection.js +43 -30
  87. package/api/entities/Asset/NonFungible/NftCollection.js.map +1 -1
  88. package/api/entities/Asset/types.d.ts +13 -5
  89. package/api/entities/Asset/types.d.ts.map +1 -1
  90. package/api/entities/Asset/types.js +4 -0
  91. package/api/entities/Asset/types.js.map +1 -1
  92. package/api/entities/Checkpoint.d.ts +5 -1
  93. package/api/entities/Checkpoint.d.ts.map +1 -1
  94. package/api/entities/Checkpoint.js +24 -20
  95. package/api/entities/Checkpoint.js.map +1 -1
  96. package/api/entities/CheckpointSchedule/index.d.ts +5 -1
  97. package/api/entities/CheckpointSchedule/index.d.ts.map +1 -1
  98. package/api/entities/CheckpointSchedule/index.js +12 -11
  99. package/api/entities/CheckpointSchedule/index.js.map +1 -1
  100. package/api/entities/CorporateAction.d.ts +5 -1
  101. package/api/entities/CorporateAction.d.ts.map +1 -1
  102. package/api/entities/CorporateAction.js.map +1 -1
  103. package/api/entities/CorporateActionBase/index.d.ts +5 -1
  104. package/api/entities/CorporateActionBase/index.d.ts.map +1 -1
  105. package/api/entities/CorporateActionBase/index.js +21 -15
  106. package/api/entities/CorporateActionBase/index.js.map +1 -1
  107. package/api/entities/CustomPermissionGroup.d.ts +5 -1
  108. package/api/entities/CustomPermissionGroup.d.ts.map +1 -1
  109. package/api/entities/CustomPermissionGroup.js +10 -8
  110. package/api/entities/CustomPermissionGroup.js.map +1 -1
  111. package/api/entities/DefaultTrustedClaimIssuer.d.ts +1 -1
  112. package/api/entities/DefaultTrustedClaimIssuer.d.ts.map +1 -1
  113. package/api/entities/DefaultTrustedClaimIssuer.js +9 -9
  114. package/api/entities/DefaultTrustedClaimIssuer.js.map +1 -1
  115. package/api/entities/DividendDistribution/index.d.ts +1 -1
  116. package/api/entities/DividendDistribution/index.d.ts.map +1 -1
  117. package/api/entities/DividendDistribution/index.js +10 -10
  118. package/api/entities/DividendDistribution/index.js.map +1 -1
  119. package/api/entities/Identity/AssetPermissions.d.ts.map +1 -1
  120. package/api/entities/Identity/AssetPermissions.js +11 -11
  121. package/api/entities/Identity/AssetPermissions.js.map +1 -1
  122. package/api/entities/Identity/Portfolios.d.ts +4 -0
  123. package/api/entities/Identity/Portfolios.d.ts.map +1 -1
  124. package/api/entities/Identity/Portfolios.js +4 -24
  125. package/api/entities/Identity/Portfolios.js.map +1 -1
  126. package/api/entities/Identity/index.d.ts +10 -1
  127. package/api/entities/Identity/index.d.ts.map +1 -1
  128. package/api/entities/Identity/index.js +111 -55
  129. package/api/entities/Identity/index.js.map +1 -1
  130. package/api/entities/Instruction/index.d.ts.map +1 -1
  131. package/api/entities/Instruction/index.js +9 -24
  132. package/api/entities/Instruction/index.js.map +1 -1
  133. package/api/entities/Instruction/types.d.ts +5 -2
  134. package/api/entities/Instruction/types.d.ts.map +1 -1
  135. package/api/entities/Instruction/types.js.map +1 -1
  136. package/api/entities/KnownPermissionGroup.d.ts +5 -1
  137. package/api/entities/KnownPermissionGroup.d.ts.map +1 -1
  138. package/api/entities/KnownPermissionGroup.js +3 -2
  139. package/api/entities/KnownPermissionGroup.js.map +1 -1
  140. package/api/entities/MetadataEntry/index.d.ts +5 -1
  141. package/api/entities/MetadataEntry/index.d.ts.map +1 -1
  142. package/api/entities/MetadataEntry/index.js +16 -15
  143. package/api/entities/MetadataEntry/index.js.map +1 -1
  144. package/api/entities/MultiSigProposal/index.d.ts.map +1 -1
  145. package/api/entities/MultiSigProposal/index.js +87 -35
  146. package/api/entities/MultiSigProposal/index.js.map +1 -1
  147. package/api/entities/Offering/index.d.ts +5 -1
  148. package/api/entities/Offering/index.d.ts.map +1 -1
  149. package/api/entities/Offering/index.js +24 -18
  150. package/api/entities/Offering/index.js.map +1 -1
  151. package/api/entities/PermissionGroup.d.ts +3 -3
  152. package/api/entities/PermissionGroup.d.ts.map +1 -1
  153. package/api/entities/PermissionGroup.js +2 -2
  154. package/api/entities/PermissionGroup.js.map +1 -1
  155. package/api/entities/Portfolio/index.d.ts +4 -0
  156. package/api/entities/Portfolio/index.d.ts.map +1 -1
  157. package/api/entities/Portfolio/index.js +30 -55
  158. package/api/entities/Portfolio/index.js.map +1 -1
  159. package/api/entities/TickerReservation/index.d.ts +1 -2
  160. package/api/entities/TickerReservation/index.d.ts.map +1 -1
  161. package/api/entities/TickerReservation/index.js +43 -12
  162. package/api/entities/TickerReservation/index.js.map +1 -1
  163. package/api/entities/TickerReservation/types.d.ts +10 -3
  164. package/api/entities/TickerReservation/types.d.ts.map +1 -1
  165. package/api/entities/Venue/index.d.ts.map +1 -1
  166. package/api/entities/Venue/index.js +5 -28
  167. package/api/entities/Venue/index.js.map +1 -1
  168. package/api/entities/types.d.ts +4 -0
  169. package/api/entities/types.d.ts.map +1 -1
  170. package/api/entities/types.js +4 -0
  171. package/api/entities/types.js.map +1 -1
  172. package/api/procedures/addAssetMediators.d.ts.map +1 -1
  173. package/api/procedures/addAssetMediators.js +4 -4
  174. package/api/procedures/addAssetMediators.js.map +1 -1
  175. package/api/procedures/addAssetRequirement.d.ts +3 -3
  176. package/api/procedures/addAssetRequirement.d.ts.map +1 -1
  177. package/api/procedures/addAssetRequirement.js +6 -7
  178. package/api/procedures/addAssetRequirement.js.map +1 -1
  179. package/api/procedures/addAssetStat.d.ts +1 -1
  180. package/api/procedures/addAssetStat.d.ts.map +1 -1
  181. package/api/procedures/addAssetStat.js +14 -11
  182. package/api/procedures/addAssetStat.js.map +1 -1
  183. package/api/procedures/addInstruction.d.ts +1 -1
  184. package/api/procedures/addInstruction.d.ts.map +1 -1
  185. package/api/procedures/addInstruction.js +65 -31
  186. package/api/procedures/addInstruction.js.map +1 -1
  187. package/api/procedures/addTransferRestriction.d.ts +3 -3
  188. package/api/procedures/addTransferRestriction.d.ts.map +1 -1
  189. package/api/procedures/addTransferRestriction.js +12 -9
  190. package/api/procedures/addTransferRestriction.js.map +1 -1
  191. package/api/procedures/claimDividends.d.ts.map +1 -1
  192. package/api/procedures/claimDividends.js +2 -2
  193. package/api/procedures/claimDividends.js.map +1 -1
  194. package/api/procedures/clearMetadata.d.ts +1 -1
  195. package/api/procedures/clearMetadata.d.ts.map +1 -1
  196. package/api/procedures/clearMetadata.js +5 -7
  197. package/api/procedures/clearMetadata.js.map +1 -1
  198. package/api/procedures/closeOffering.d.ts +3 -3
  199. package/api/procedures/closeOffering.d.ts.map +1 -1
  200. package/api/procedures/closeOffering.js +6 -7
  201. package/api/procedures/closeOffering.js.map +1 -1
  202. package/api/procedures/configureDividendDistribution.d.ts +3 -3
  203. package/api/procedures/configureDividendDistribution.d.ts.map +1 -1
  204. package/api/procedures/configureDividendDistribution.js +14 -11
  205. package/api/procedures/configureDividendDistribution.js.map +1 -1
  206. package/api/procedures/consumeAddMultiSigSignerAuthorization.d.ts +1 -1
  207. package/api/procedures/consumeAddMultiSigSignerAuthorization.d.ts.map +1 -1
  208. package/api/procedures/consumeAddMultiSigSignerAuthorization.js +14 -4
  209. package/api/procedures/consumeAddMultiSigSignerAuthorization.js.map +1 -1
  210. package/api/procedures/controllerTransfer.d.ts +3 -3
  211. package/api/procedures/controllerTransfer.d.ts.map +1 -1
  212. package/api/procedures/controllerTransfer.js +4 -5
  213. package/api/procedures/controllerTransfer.js.map +1 -1
  214. package/api/procedures/createAsset.d.ts.map +1 -1
  215. package/api/procedures/createAsset.js +127 -41
  216. package/api/procedures/createAsset.js.map +1 -1
  217. package/api/procedures/createCheckpoint.d.ts +4 -4
  218. package/api/procedures/createCheckpoint.d.ts.map +1 -1
  219. package/api/procedures/createCheckpoint.js +8 -8
  220. package/api/procedures/createCheckpoint.js.map +1 -1
  221. package/api/procedures/createCheckpointSchedule.d.ts +4 -4
  222. package/api/procedures/createCheckpointSchedule.d.ts.map +1 -1
  223. package/api/procedures/createCheckpointSchedule.js +8 -9
  224. package/api/procedures/createCheckpointSchedule.js.map +1 -1
  225. package/api/procedures/createGroup.d.ts +5 -9
  226. package/api/procedures/createGroup.d.ts.map +1 -1
  227. package/api/procedures/createGroup.js +7 -18
  228. package/api/procedures/createGroup.js.map +1 -1
  229. package/api/procedures/createMultiSig.d.ts.map +1 -1
  230. package/api/procedures/createMultiSig.js +46 -14
  231. package/api/procedures/createMultiSig.js.map +1 -1
  232. package/api/procedures/createNftCollection.d.ts +8 -4
  233. package/api/procedures/createNftCollection.d.ts.map +1 -1
  234. package/api/procedures/createNftCollection.js +167 -64
  235. package/api/procedures/createNftCollection.js.map +1 -1
  236. package/api/procedures/evaluateMultiSigProposal.d.ts +1 -1
  237. package/api/procedures/evaluateMultiSigProposal.d.ts.map +1 -1
  238. package/api/procedures/evaluateMultiSigProposal.js +48 -15
  239. package/api/procedures/evaluateMultiSigProposal.js.map +1 -1
  240. package/api/procedures/executeManualInstruction.d.ts.map +1 -1
  241. package/api/procedures/executeManualInstruction.js +14 -3
  242. package/api/procedures/executeManualInstruction.js.map +1 -1
  243. package/api/procedures/investInOffering.d.ts +2 -2
  244. package/api/procedures/investInOffering.d.ts.map +1 -1
  245. package/api/procedures/investInOffering.js +4 -3
  246. package/api/procedures/investInOffering.js.map +1 -1
  247. package/api/procedures/inviteExternalAgent.d.ts +4 -14
  248. package/api/procedures/inviteExternalAgent.d.ts.map +1 -1
  249. package/api/procedures/inviteExternalAgent.js +7 -18
  250. package/api/procedures/inviteExternalAgent.js.map +1 -1
  251. package/api/procedures/issueNft.d.ts +4 -11
  252. package/api/procedures/issueNft.d.ts.map +1 -1
  253. package/api/procedures/issueNft.js +10 -21
  254. package/api/procedures/issueNft.js.map +1 -1
  255. package/api/procedures/issueTokens.d.ts +4 -11
  256. package/api/procedures/issueTokens.d.ts.map +1 -1
  257. package/api/procedures/issueTokens.js +8 -19
  258. package/api/procedures/issueTokens.js.map +1 -1
  259. package/api/procedures/joinCreator.d.ts +41 -2
  260. package/api/procedures/joinCreator.d.ts.map +1 -1
  261. package/api/procedures/joinCreator.js +11 -1
  262. package/api/procedures/joinCreator.js.map +1 -1
  263. package/api/procedures/launchOffering.d.ts +4 -4
  264. package/api/procedures/launchOffering.d.ts.map +1 -1
  265. package/api/procedures/launchOffering.js +11 -9
  266. package/api/procedures/launchOffering.js.map +1 -1
  267. package/api/procedures/linkCaDocs.d.ts +3 -3
  268. package/api/procedures/linkCaDocs.d.ts.map +1 -1
  269. package/api/procedures/linkCaDocs.js +6 -5
  270. package/api/procedures/linkCaDocs.js.map +1 -1
  271. package/api/procedures/linkTickerToAsset.d.ts +29 -0
  272. package/api/procedures/linkTickerToAsset.d.ts.map +1 -0
  273. package/api/procedures/linkTickerToAsset.js +107 -0
  274. package/api/procedures/linkTickerToAsset.js.map +1 -0
  275. package/api/procedures/modifyAsset.d.ts +3 -3
  276. package/api/procedures/modifyAsset.d.ts.map +1 -1
  277. package/api/procedures/modifyAsset.js +9 -10
  278. package/api/procedures/modifyAsset.js.map +1 -1
  279. package/api/procedures/modifyAssetTrustedClaimIssuers.d.ts +3 -3
  280. package/api/procedures/modifyAssetTrustedClaimIssuers.d.ts.map +1 -1
  281. package/api/procedures/modifyAssetTrustedClaimIssuers.js +8 -8
  282. package/api/procedures/modifyAssetTrustedClaimIssuers.js.map +1 -1
  283. package/api/procedures/modifyCaCheckpoint.d.ts +1 -1
  284. package/api/procedures/modifyCaCheckpoint.d.ts.map +1 -1
  285. package/api/procedures/modifyCaCheckpoint.js +5 -6
  286. package/api/procedures/modifyCaCheckpoint.js.map +1 -1
  287. package/api/procedures/modifyCaDefaultConfig.d.ts +3 -3
  288. package/api/procedures/modifyCaDefaultConfig.d.ts.map +1 -1
  289. package/api/procedures/modifyCaDefaultConfig.js +7 -8
  290. package/api/procedures/modifyCaDefaultConfig.js.map +1 -1
  291. package/api/procedures/modifyClaims.d.ts.map +1 -1
  292. package/api/procedures/modifyClaims.js +16 -13
  293. package/api/procedures/modifyClaims.js.map +1 -1
  294. package/api/procedures/modifyComplianceRequirement.d.ts +3 -3
  295. package/api/procedures/modifyComplianceRequirement.d.ts.map +1 -1
  296. package/api/procedures/modifyComplianceRequirement.js +7 -8
  297. package/api/procedures/modifyComplianceRequirement.js.map +1 -1
  298. package/api/procedures/modifyCorporateActionsAgent.d.ts +3 -3
  299. package/api/procedures/modifyCorporateActionsAgent.d.ts.map +1 -1
  300. package/api/procedures/modifyCorporateActionsAgent.js +4 -5
  301. package/api/procedures/modifyCorporateActionsAgent.js.map +1 -1
  302. package/api/procedures/modifyInstructionAffirmation.d.ts.map +1 -1
  303. package/api/procedures/modifyInstructionAffirmation.js +14 -3
  304. package/api/procedures/modifyInstructionAffirmation.js.map +1 -1
  305. package/api/procedures/modifyMultiSig.d.ts.map +1 -1
  306. package/api/procedures/modifyMultiSig.js +24 -10
  307. package/api/procedures/modifyMultiSig.js.map +1 -1
  308. package/api/procedures/modifyOfferingTimes.d.ts +3 -3
  309. package/api/procedures/modifyOfferingTimes.d.ts.map +1 -1
  310. package/api/procedures/modifyOfferingTimes.js +6 -7
  311. package/api/procedures/modifyOfferingTimes.js.map +1 -1
  312. package/api/procedures/moveFunds.d.ts.map +1 -1
  313. package/api/procedures/moveFunds.js +24 -21
  314. package/api/procedures/moveFunds.js.map +1 -1
  315. package/api/procedures/nftControllerTransfer.d.ts +3 -3
  316. package/api/procedures/nftControllerTransfer.d.ts.map +1 -1
  317. package/api/procedures/nftControllerTransfer.js +22 -10
  318. package/api/procedures/nftControllerTransfer.js.map +1 -1
  319. package/api/procedures/payDividends.js +2 -2
  320. package/api/procedures/payDividends.js.map +1 -1
  321. package/api/procedures/reclaimDividendDistributionFunds.d.ts +1 -1
  322. package/api/procedures/reclaimDividendDistributionFunds.d.ts.map +1 -1
  323. package/api/procedures/reclaimDividendDistributionFunds.js +4 -5
  324. package/api/procedures/reclaimDividendDistributionFunds.js.map +1 -1
  325. package/api/procedures/redeemNft.d.ts +3 -3
  326. package/api/procedures/redeemNft.d.ts.map +1 -1
  327. package/api/procedures/redeemNft.js +19 -9
  328. package/api/procedures/redeemNft.js.map +1 -1
  329. package/api/procedures/redeemTokens.d.ts +4 -4
  330. package/api/procedures/redeemTokens.d.ts.map +1 -1
  331. package/api/procedures/redeemTokens.js +14 -16
  332. package/api/procedures/redeemTokens.js.map +1 -1
  333. package/api/procedures/registerMetadata.d.ts +3 -3
  334. package/api/procedures/registerMetadata.d.ts.map +1 -1
  335. package/api/procedures/registerMetadata.js +9 -11
  336. package/api/procedures/registerMetadata.js.map +1 -1
  337. package/api/procedures/removeAssetMediators.d.ts.map +1 -1
  338. package/api/procedures/removeAssetMediators.js +4 -4
  339. package/api/procedures/removeAssetMediators.js.map +1 -1
  340. package/api/procedures/removeAssetRequirement.d.ts +3 -3
  341. package/api/procedures/removeAssetRequirement.d.ts.map +1 -1
  342. package/api/procedures/removeAssetRequirement.js +6 -6
  343. package/api/procedures/removeAssetRequirement.js.map +1 -1
  344. package/api/procedures/removeAssetStat.d.ts +1 -1
  345. package/api/procedures/removeAssetStat.d.ts.map +1 -1
  346. package/api/procedures/removeAssetStat.js +10 -8
  347. package/api/procedures/removeAssetStat.js.map +1 -1
  348. package/api/procedures/removeCheckpointSchedule.d.ts +3 -3
  349. package/api/procedures/removeCheckpointSchedule.d.ts.map +1 -1
  350. package/api/procedures/removeCheckpointSchedule.js +10 -13
  351. package/api/procedures/removeCheckpointSchedule.js.map +1 -1
  352. package/api/procedures/removeCorporateAction.d.ts +3 -3
  353. package/api/procedures/removeCorporateAction.d.ts.map +1 -1
  354. package/api/procedures/removeCorporateAction.js +7 -7
  355. package/api/procedures/removeCorporateAction.js.map +1 -1
  356. package/api/procedures/removeExternalAgent.d.ts +5 -15
  357. package/api/procedures/removeExternalAgent.d.ts.map +1 -1
  358. package/api/procedures/removeExternalAgent.js +7 -18
  359. package/api/procedures/removeExternalAgent.js.map +1 -1
  360. package/api/procedures/removeLocalMetadata.d.ts.map +1 -1
  361. package/api/procedures/removeLocalMetadata.js +16 -10
  362. package/api/procedures/removeLocalMetadata.js.map +1 -1
  363. package/api/procedures/removeMultiSigPayer.d.ts +31 -0
  364. package/api/procedures/removeMultiSigPayer.d.ts.map +1 -0
  365. package/api/procedures/removeMultiSigPayer.js +108 -0
  366. package/api/procedures/removeMultiSigPayer.js.map +1 -0
  367. package/api/procedures/reserveTicker.d.ts +1 -1
  368. package/api/procedures/reserveTicker.d.ts.map +1 -1
  369. package/api/procedures/reserveTicker.js +9 -3
  370. package/api/procedures/reserveTicker.js.map +1 -1
  371. package/api/procedures/setAssetDocuments.d.ts +4 -4
  372. package/api/procedures/setAssetDocuments.d.ts.map +1 -1
  373. package/api/procedures/setAssetDocuments.js +11 -10
  374. package/api/procedures/setAssetDocuments.js.map +1 -1
  375. package/api/procedures/setAssetRequirements.d.ts +3 -3
  376. package/api/procedures/setAssetRequirements.d.ts.map +1 -1
  377. package/api/procedures/setAssetRequirements.js +7 -8
  378. package/api/procedures/setAssetRequirements.js.map +1 -1
  379. package/api/procedures/setGroupPermissions.d.ts.map +1 -1
  380. package/api/procedures/setGroupPermissions.js +3 -3
  381. package/api/procedures/setGroupPermissions.js.map +1 -1
  382. package/api/procedures/setMetadata.d.ts.map +1 -1
  383. package/api/procedures/setMetadata.js +6 -7
  384. package/api/procedures/setMetadata.js.map +1 -1
  385. package/api/procedures/setMultiSigAdmin.d.ts +22 -0
  386. package/api/procedures/setMultiSigAdmin.d.ts.map +1 -0
  387. package/api/procedures/setMultiSigAdmin.js +114 -0
  388. package/api/procedures/setMultiSigAdmin.js.map +1 -0
  389. package/api/procedures/setPermissionGroup.d.ts +1 -1
  390. package/api/procedures/setPermissionGroup.d.ts.map +1 -1
  391. package/api/procedures/setPermissionGroup.js +9 -8
  392. package/api/procedures/setPermissionGroup.js.map +1 -1
  393. package/api/procedures/setTransferRestrictions.d.ts +1 -1
  394. package/api/procedures/setTransferRestrictions.d.ts.map +1 -1
  395. package/api/procedures/setTransferRestrictions.js +14 -16
  396. package/api/procedures/setTransferRestrictions.js.map +1 -1
  397. package/api/procedures/setVenueFiltering.d.ts +3 -3
  398. package/api/procedures/setVenueFiltering.d.ts.map +1 -1
  399. package/api/procedures/setVenueFiltering.js +8 -9
  400. package/api/procedures/setVenueFiltering.js.map +1 -1
  401. package/api/procedures/toggleAssetPreApproval.d.ts +22 -0
  402. package/api/procedures/toggleAssetPreApproval.d.ts.map +1 -0
  403. package/api/procedures/{toggleTickerPreApproval.js → toggleAssetPreApproval.js} +21 -13
  404. package/api/procedures/toggleAssetPreApproval.js.map +1 -0
  405. package/api/procedures/toggleFreezeOffering.d.ts +3 -3
  406. package/api/procedures/toggleFreezeOffering.d.ts.map +1 -1
  407. package/api/procedures/toggleFreezeOffering.js +7 -7
  408. package/api/procedures/toggleFreezeOffering.js.map +1 -1
  409. package/api/procedures/toggleFreezeTransfers.d.ts +3 -3
  410. package/api/procedures/toggleFreezeTransfers.d.ts.map +1 -1
  411. package/api/procedures/toggleFreezeTransfers.js +7 -8
  412. package/api/procedures/toggleFreezeTransfers.js.map +1 -1
  413. package/api/procedures/togglePauseRequirements.d.ts +3 -3
  414. package/api/procedures/togglePauseRequirements.d.ts.map +1 -1
  415. package/api/procedures/togglePauseRequirements.js +6 -6
  416. package/api/procedures/togglePauseRequirements.js.map +1 -1
  417. package/api/procedures/transferAssetOwnership.d.ts +3 -3
  418. package/api/procedures/transferAssetOwnership.d.ts.map +1 -1
  419. package/api/procedures/transferAssetOwnership.js +4 -4
  420. package/api/procedures/transferAssetOwnership.js.map +1 -1
  421. package/api/procedures/types.d.ts +37 -6
  422. package/api/procedures/types.d.ts.map +1 -1
  423. package/api/procedures/types.js.map +1 -1
  424. package/api/procedures/utils.d.ts +2 -2
  425. package/api/procedures/utils.d.ts.map +1 -1
  426. package/api/procedures/utils.js +2 -2
  427. package/api/procedures/utils.js.map +1 -1
  428. package/api/procedures/waivePermissions.d.ts +1 -1
  429. package/api/procedures/waivePermissions.d.ts.map +1 -1
  430. package/api/procedures/waivePermissions.js +8 -6
  431. package/api/procedures/waivePermissions.js.map +1 -1
  432. package/base/Context.d.ts +5 -4
  433. package/base/Context.d.ts.map +1 -1
  434. package/base/Context.js +26 -13
  435. package/base/Context.js.map +1 -1
  436. package/base/PolymeshTransactionBase.d.ts.map +1 -1
  437. package/base/PolymeshTransactionBase.js +23 -8
  438. package/base/PolymeshTransactionBase.js.map +1 -1
  439. package/base/utils.d.ts.map +1 -1
  440. package/base/utils.js +6 -1
  441. package/base/utils.js.map +1 -1
  442. package/generated/types.d.ts +40 -5
  443. package/generated/types.d.ts.map +1 -1
  444. package/generated/types.js +37 -1
  445. package/generated/types.js.map +1 -1
  446. package/internal.d.ts +4 -1
  447. package/internal.d.ts.map +1 -1
  448. package/internal.js +10 -4
  449. package/internal.js.map +1 -1
  450. package/middleware/queries/assets.d.ts +1 -1
  451. package/middleware/queries/assets.d.ts.map +1 -1
  452. package/middleware/queries/assets.js +5 -5
  453. package/middleware/queries/assets.js.map +1 -1
  454. package/middleware/queries/claims.js +1 -1
  455. package/middleware/typesV1.d.ts +5 -2
  456. package/middleware/typesV1.d.ts.map +1 -1
  457. package/middleware/typesV1.js +4 -1
  458. package/middleware/typesV1.js.map +1 -1
  459. package/npm-package/polymeshassociation-polymesh-sdk-26.0.0-alpha.1.tgz +0 -0
  460. package/package.json +2 -2
  461. package/polkadot/asset/definitions.d.ts +1 -1
  462. package/polkadot/asset/definitions.d.ts.map +1 -1
  463. package/polkadot/asset/definitions.js +12 -17
  464. package/polkadot/asset/definitions.js.map +1 -1
  465. package/polkadot/augment-api-consts.d.ts +118 -50
  466. package/polkadot/augment-api-consts.d.ts.map +1 -1
  467. package/polkadot/augment-api-errors.d.ts +158 -238
  468. package/polkadot/augment-api-errors.d.ts.map +1 -1
  469. package/polkadot/augment-api-events.d.ts +565 -420
  470. package/polkadot/augment-api-events.d.ts.map +1 -1
  471. package/polkadot/augment-api-query.d.ts +420 -334
  472. package/polkadot/augment-api-query.d.ts.map +1 -1
  473. package/polkadot/augment-api-rpc.d.ts +20 -17
  474. package/polkadot/augment-api-rpc.d.ts.map +1 -1
  475. package/polkadot/augment-api-runtime.d.ts +3 -140
  476. package/polkadot/augment-api-runtime.d.ts.map +1 -1
  477. package/polkadot/augment-api-tx.d.ts +761 -1206
  478. package/polkadot/augment-api-tx.d.ts.map +1 -1
  479. package/polkadot/augment-types.d.ts +4 -140
  480. package/polkadot/augment-types.d.ts.map +1 -1
  481. package/polkadot/compliance/definitions.d.ts +15 -0
  482. package/polkadot/compliance/definitions.d.ts.map +1 -0
  483. package/polkadot/compliance/definitions.js +27 -0
  484. package/polkadot/compliance/definitions.js.map +1 -0
  485. package/polkadot/compliance/index.d.ts +2 -0
  486. package/polkadot/compliance/index.d.ts.map +1 -0
  487. package/polkadot/compliance/index.js +20 -0
  488. package/polkadot/compliance/index.js.map +1 -0
  489. package/polkadot/compliance/types.d.ts +2 -0
  490. package/polkadot/compliance/types.d.ts.map +1 -0
  491. package/polkadot/compliance/types.js +5 -0
  492. package/polkadot/compliance/types.js.map +1 -0
  493. package/polkadot/definitions.d.ts +1 -0
  494. package/polkadot/definitions.d.ts.map +1 -1
  495. package/polkadot/definitions.js +3 -1
  496. package/polkadot/definitions.js.map +1 -1
  497. package/polkadot/identity/definitions.d.ts +0 -9
  498. package/polkadot/identity/definitions.d.ts.map +1 -1
  499. package/polkadot/identity/definitions.js +3 -19
  500. package/polkadot/identity/definitions.js.map +1 -1
  501. package/polkadot/lookup.d.ts +793 -771
  502. package/polkadot/lookup.d.ts.map +1 -1
  503. package/polkadot/lookup.js +952 -946
  504. package/polkadot/lookup.js.map +1 -1
  505. package/polkadot/nft/definitions.d.ts +1 -1
  506. package/polkadot/nft/definitions.d.ts.map +1 -1
  507. package/polkadot/nft/definitions.js +8 -3
  508. package/polkadot/nft/definitions.js.map +1 -1
  509. package/polkadot/polymesh/definitions.d.ts +44 -924
  510. package/polkadot/polymesh/definitions.d.ts.map +1 -1
  511. package/polkadot/polymesh/definitions.js +53 -1198
  512. package/polkadot/polymesh/definitions.js.map +1 -1
  513. package/polkadot/polymesh/types.d.ts +69 -914
  514. package/polkadot/polymesh/types.d.ts.map +1 -1
  515. package/polkadot/registry.d.ts +25 -27
  516. package/polkadot/registry.d.ts.map +1 -1
  517. package/polkadot/schema.d.ts +276 -649
  518. package/polkadot/schema.d.ts.map +1 -1
  519. package/polkadot/schema.js +491 -748
  520. package/polkadot/schema.js.map +1 -1
  521. package/polkadot/settlement/definitions.d.ts +2 -2
  522. package/polkadot/settlement/definitions.js +12 -12
  523. package/polkadot/settlement/definitions.js.map +1 -1
  524. package/polkadot/types-lookup.d.ts +1032 -1118
  525. package/polkadot/types-lookup.d.ts.map +1 -1
  526. package/polkadot/types.d.ts +1 -0
  527. package/polkadot/types.d.ts.map +1 -1
  528. package/polkadot/types.js +1 -0
  529. package/polkadot/types.js.map +1 -1
  530. package/types/index.d.ts +3 -2
  531. package/types/index.d.ts.map +1 -1
  532. package/types/index.js +15 -15
  533. package/types/index.js.map +1 -1
  534. package/types/internal.d.ts +27 -12
  535. package/types/internal.d.ts.map +1 -1
  536. package/types/internal.js.map +1 -1
  537. package/utils/constants.d.ts +8 -4
  538. package/utils/constants.d.ts.map +1 -1
  539. package/utils/constants.js +9 -5
  540. package/utils/constants.js.map +1 -1
  541. package/utils/conversion.d.ts +84 -40
  542. package/utils/conversion.d.ts.map +1 -1
  543. package/utils/conversion.js +614 -344
  544. package/utils/conversion.js.map +1 -1
  545. package/utils/internal.d.ts +38 -21
  546. package/utils/internal.d.ts.map +1 -1
  547. package/utils/internal.js +247 -109
  548. package/utils/internal.js.map +1 -1
  549. package/utils/typeguards.d.ts.map +1 -1
  550. package/utils/typeguards.js +4 -2
  551. package/utils/typeguards.js.map +1 -1
  552. package/api/procedures/toggleTickerPreApproval.d.ts +0 -22
  553. package/api/procedures/toggleTickerPreApproval.d.ts.map +0 -1
  554. package/api/procedures/toggleTickerPreApproval.js.map +0 -1
  555. package/middleware/queries/settlementsOld.d.ts +0 -41
  556. package/middleware/queries/settlementsOld.d.ts.map +0 -1
  557. package/middleware/queries/settlementsOld.js +0 -228
  558. package/middleware/queries/settlementsOld.js.map +0 -1
  559. package/middleware/typesV6.d.ts +0 -47356
  560. package/middleware/typesV6.d.ts.map +0 -1
  561. package/middleware/typesV6.js +0 -4200
  562. package/middleware/typesV6.js.map +0 -1
  563. package/npm-package/polymeshassociation-polymesh-sdk-25.1.1.tgz +0 -0
@@ -3,7 +3,7 @@ import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableE
3
3
  import type { BTreeSet, Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
4
4
  import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
5
5
  import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime';
6
- import type { PalletBridgeBridgeTx, PalletContractsWasmDeterminism, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, PalletCorporateActionsCaId, PalletCorporateActionsCaKind, PalletCorporateActionsInitiateCorporateActionArgs, PalletCorporateActionsRecordDateSpec, PalletCorporateActionsTargetIdentities, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletPipsSnapshotResult, PalletStakingCompactAssignments, PalletStakingElectionSize, PalletStakingRewardDestination, PalletStakingSlashingSwitch, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletStoPriceTier, PalletUtilityUniqueCall, PolymeshCommonUtilitiesCheckpointScheduleCheckpoints, PolymeshCommonUtilitiesIdentityCreateChildIdentityWithAuth, PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuth, PolymeshCommonUtilitiesMaybeBlock, PolymeshCommonUtilitiesProtocolFeeProtocolOp, PolymeshContractsApi, PolymeshContractsChainExtensionExtrinsicId, PolymeshContractsNextUpgrade, PolymeshPrimitivesAgentAgentGroup, PolymeshPrimitivesAssetAssetType, PolymeshPrimitivesAssetIdentifier, PolymeshPrimitivesAssetMetadataAssetMetadataKey, PolymeshPrimitivesAssetMetadataAssetMetadataSpec, PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail, PolymeshPrimitivesAssetNonFungibleType, PolymeshPrimitivesAuthorizationAuthorizationData, PolymeshPrimitivesBeneficiary, PolymeshPrimitivesComplianceManagerComplianceRequirement, PolymeshPrimitivesCondition, PolymeshPrimitivesConditionTrustedIssuer, PolymeshPrimitivesDocument, PolymeshPrimitivesIdentityClaimClaim, PolymeshPrimitivesIdentityClaimClaimType, PolymeshPrimitivesIdentityClaimScope, PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityIdPortfolioId, PolymeshPrimitivesIdentityIdPortfolioKind, PolymeshPrimitivesMemo, PolymeshPrimitivesNftNfTs, PolymeshPrimitivesNftNftCollectionKeys, PolymeshPrimitivesNftNftMetadataAttribute, PolymeshPrimitivesPortfolioFund, PolymeshPrimitivesPosRatio, PolymeshPrimitivesSecondaryKey, PolymeshPrimitivesSecondaryKeyPermissions, PolymeshPrimitivesSecondaryKeySignatory, PolymeshPrimitivesSettlementAffirmationCount, PolymeshPrimitivesSettlementAssetCount, PolymeshPrimitivesSettlementLeg, PolymeshPrimitivesSettlementReceiptDetails, PolymeshPrimitivesSettlementSettlementType, PolymeshPrimitivesSettlementVenueType, PolymeshPrimitivesStatisticsAssetScope, PolymeshPrimitivesStatisticsStatType, PolymeshPrimitivesStatisticsStatUpdate, PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions, PolymeshPrimitivesTicker, PolymeshPrimitivesTransferComplianceTransferCondition, PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, PolymeshRuntimeDevelopRuntimeOriginCaller, PolymeshRuntimeDevelopRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpRuntimeMultiSignature, SpSessionMembershipProof, SpWeightsWeightV2Weight } from "./types-lookup.ts";
6
+ import type { PalletContractsWasmDeterminism, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, PalletCorporateActionsCaId, PalletCorporateActionsCaKind, PalletCorporateActionsInitiateCorporateActionArgs, PalletCorporateActionsRecordDateSpec, PalletCorporateActionsTargetIdentities, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletPipsSnapshotResult, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingSlashingSwitch, PalletStakingValidatorPrefs, PalletStoPriceTier, PalletUtilityUniqueCall, PolymeshCommonUtilitiesCheckpointScheduleCheckpoints, PolymeshCommonUtilitiesIdentityCreateChildIdentityWithAuth, PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuth, PolymeshCommonUtilitiesMaybeBlock, PolymeshCommonUtilitiesProtocolFeeProtocolOp, PolymeshContractsApi, PolymeshContractsChainExtensionExtrinsicId, PolymeshContractsNextUpgrade, PolymeshPrimitivesAgentAgentGroup, PolymeshPrimitivesAssetAssetID, PolymeshPrimitivesAssetAssetType, PolymeshPrimitivesAssetIdentifier, PolymeshPrimitivesAssetMetadataAssetMetadataKey, PolymeshPrimitivesAssetMetadataAssetMetadataSpec, PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail, PolymeshPrimitivesAssetNonFungibleType, PolymeshPrimitivesAuthorizationAuthorizationData, PolymeshPrimitivesBeneficiary, PolymeshPrimitivesComplianceManagerComplianceRequirement, PolymeshPrimitivesCondition, PolymeshPrimitivesConditionTrustedIssuer, PolymeshPrimitivesDocument, PolymeshPrimitivesIdentityClaimClaim, PolymeshPrimitivesIdentityClaimClaimType, PolymeshPrimitivesIdentityClaimScope, PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityIdPortfolioId, PolymeshPrimitivesIdentityIdPortfolioKind, PolymeshPrimitivesMemo, PolymeshPrimitivesNftNfTs, PolymeshPrimitivesNftNftCollectionKeys, PolymeshPrimitivesNftNftMetadataAttribute, PolymeshPrimitivesPortfolioFund, PolymeshPrimitivesPosRatio, PolymeshPrimitivesSecondaryKey, PolymeshPrimitivesSecondaryKeyExtrinsicPermissions, PolymeshPrimitivesSecondaryKeyPermissions, PolymeshPrimitivesSecondaryKeySignatory, PolymeshPrimitivesSettlementAffirmationCount, PolymeshPrimitivesSettlementAssetCount, PolymeshPrimitivesSettlementLeg, PolymeshPrimitivesSettlementReceiptDetails, PolymeshPrimitivesSettlementSettlementType, PolymeshPrimitivesSettlementVenueType, PolymeshPrimitivesStatisticsStatType, PolymeshPrimitivesStatisticsStatUpdate, PolymeshPrimitivesTicker, PolymeshPrimitivesTransferComplianceTransferCondition, PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, PolymeshRuntimeDevelopRuntimeOriginCaller, PolymeshRuntimeDevelopRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpSessionMembershipProof, SpWeightsWeightV2Weight } from "./types-lookup.ts";
7
7
  export declare type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
8
8
  export declare type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
9
9
  export declare type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;
@@ -15,8 +15,8 @@ declare module '@polkadot/api-base/types/submittable' {
15
15
  * NB: To reject the transfer, call remove auth function in identity module.
16
16
  *
17
17
  * # Arguments
18
- * * `origin` It contains the secondary key of the caller (i.e. who signed the transaction to execute this function).
19
- * * `auth_id` Authorization ID of the token ownership transfer authorization.
18
+ * * `origin`: it contains the secondary key of the caller (i.e. who signed the transaction to execute this function).
19
+ * * `auth_id`: authorization ID of the token ownership transfer authorization.
20
20
  **/
21
21
  acceptAssetOwnershipTransfer: AugmentedSubmittable<(authId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
22
22
  u64
@@ -28,12 +28,8 @@ declare module '@polkadot/api-base/types/submittable' {
28
28
  * NB: To reject the transfer, call remove auth function in identity module.
29
29
  *
30
30
  * # Arguments
31
- * * `origin` It contains the secondary key of the caller (i.e. who signed the transaction to execute this function).
32
- * * `auth_id` Authorization ID of ticker transfer authorization.
33
- *
34
- * ## Errors
35
- * - `AuthorizationError::BadType` if `auth_id` is not a valid ticket transfer authorization.
36
- *
31
+ * * `origin`: it contains the secondary key of the caller (i.e. who signed the transaction to execute this function).
32
+ * * `auth_id`: authorization ID of ticker transfer authorization.
37
33
  **/
38
34
  acceptTickerTransfer: AugmentedSubmittable<(authId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
39
35
  u64
@@ -42,9 +38,9 @@ declare module '@polkadot/api-base/types/submittable' {
42
38
  * Add documents for a given token.
43
39
  *
44
40
  * # Arguments
45
- * * `origin` is a signer that has permissions to act as an agent of `ticker`.
46
- * * `ticker` Ticker of the token.
47
- * * `docs` Documents to be attached to `ticker`.
41
+ * * `origin`: is a signer that has permissions to act as an agent of `asset_id`.
42
+ * * `asset_id`: the [`AssetID`] associated to the token.
43
+ * * `docs`: documents to be attached to the token.
48
44
  *
49
45
  * # Permissions
50
46
  * * Asset
@@ -55,69 +51,62 @@ declare module '@polkadot/api-base/types/submittable' {
55
51
  name?: any;
56
52
  docType?: any;
57
53
  filingDate?: any;
58
- } | string | Uint8Array)[], ticker: PolymeshPrimitivesTicker | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
54
+ } | string | Uint8Array)[], assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
59
55
  Vec<PolymeshPrimitivesDocument>,
60
- PolymeshPrimitivesTicker
56
+ PolymeshPrimitivesAssetAssetID
61
57
  ]>;
62
58
  /**
63
- * Sets all identities in the `mediators` set as mandatory mediators for any instruction transfering `ticker`.
59
+ * Sets all identities in the `mediators` set as mandatory mediators for any instruction transfering `asset_id`.
64
60
  *
65
61
  * # Arguments
66
62
  * * `origin`: The secondary key of the sender.
67
- * * `ticker`: The [`Ticker`] of the asset that will require the mediators.
63
+ * * `asset_id`: the [`AssetID`] of the asset that will require the mediators.
68
64
  * * `mediators`: A set of [`IdentityId`] of all the mandatory mediators for the given ticker.
69
65
  *
70
66
  * # Permissions
71
67
  * * Asset
72
68
  **/
73
- addMandatoryMediators: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, mediators: BTreeSet<PolymeshPrimitivesIdentityId>) => SubmittableExtrinsic<ApiType>, [
74
- PolymeshPrimitivesTicker,
69
+ addMandatoryMediators: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, mediators: BTreeSet<PolymeshPrimitivesIdentityId>) => SubmittableExtrinsic<ApiType>, [
70
+ PolymeshPrimitivesAssetAssetID,
75
71
  BTreeSet<PolymeshPrimitivesIdentityId>
76
72
  ]>;
77
73
  /**
78
74
  * Forces a transfer of token from `from_portfolio` to the caller's default portfolio.
79
75
  *
80
76
  * # Arguments
81
- * * `origin` Must be an external agent with appropriate permissions for a given ticker.
82
- * * `ticker` Ticker symbol of the asset.
83
- * * `value` Amount of tokens need to force transfer.
84
- * * `from_portfolio` From whom portfolio tokens gets transferred.
77
+ * * `origin`: a signer that has permissions to act as an agent of `asset_id`.
78
+ * * `asset_id`: the [`AssetID`] associated to the token.
79
+ * * `value`: the [`Balance`] of tokens that will be transferred.
80
+ * * `from_portfolio`: the [`PortfolioId`] that will have its balance reduced.
81
+ *
82
+ * # Permissions
83
+ * * Asset
84
+ * * Portfolio
85
85
  **/
86
- controllerTransfer: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, value: u128 | AnyNumber | Uint8Array, fromPortfolio: PolymeshPrimitivesIdentityIdPortfolioId | {
86
+ controllerTransfer: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, value: u128 | AnyNumber | Uint8Array, fromPortfolio: PolymeshPrimitivesIdentityIdPortfolioId | {
87
87
  did?: any;
88
88
  kind?: any;
89
89
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
90
- PolymeshPrimitivesTicker,
90
+ PolymeshPrimitivesAssetAssetID,
91
91
  u128,
92
92
  PolymeshPrimitivesIdentityIdPortfolioId
93
93
  ]>;
94
94
  /**
95
- * Initializes a new security token, with the initiating account as its owner.
96
- * The total supply will initially be zero. To mint tokens, use `issue`.
95
+ * Initializes a new [`AssetDetails`], with the initiating account as its owner.
96
+ * The total supply will initially be zero. To mint tokens, use [`Module::issue`].
97
97
  *
98
98
  * # Arguments
99
- * * `origin` - contains the secondary key of the caller (i.e. who signed the transaction to execute this function).
100
- * * `name` - the name of the token.
101
- * * `ticker` - the ticker symbol of the token.
102
- * * `divisible` - a boolean to identify the divisibility status of the token.
103
- * * `asset_type` - the asset type.
104
- * * `identifiers` - a vector of asset identifiers.
105
- * * `funding_round` - name of the funding round.
106
- *
107
- * ## Errors
108
- * - `InvalidAssetIdentifier` if any of `identifiers` are invalid.
109
- * - `MaxLengthOfAssetNameExceeded` if `name`'s length exceeds `T::AssetNameMaxLength`.
110
- * - `FundingRoundNameMaxLengthExceeded` if the name of the funding round is longer that
111
- * `T::FundingRoundNameMaxLength`.
112
- * - `AssetAlreadyCreated` if asset was already created.
113
- * - `TickerTooLong` if `ticker`'s length is greater than `config.max_ticker_length` chain
114
- * parameter.
115
- * - `TickerNotAlphanumeric` if `ticker` is not yet registered, and contains non-alphanumeric characters or any character after first occurrence of `\0`.
99
+ * * `origin`: contains the secondary key of the caller (i.e. who signed the transaction to execute this function).
100
+ * * `asset_name`: the [`AssetName`] associated to the security token.
101
+ * * `divisible`: sets [`AssetDetails::divisible`], where `true` means the token is divisible.
102
+ * * `asset_type`: the [`AssetType`] that represents the security type of the [`AssetDetails`].
103
+ * * `asset_identifiers`: a vector of [`AssetIdentifier`].
104
+ * * `funding_round_name`: the name of the funding round ([`FundingRoundName`]).
116
105
  *
117
106
  * ## Permissions
118
107
  * * Portfolio
119
108
  **/
120
- createAsset: AugmentedSubmittable<(name: Bytes | string | Uint8Array, ticker: PolymeshPrimitivesTicker | string | Uint8Array, divisible: bool | boolean | Uint8Array, assetType: PolymeshPrimitivesAssetAssetType | {
109
+ createAsset: AugmentedSubmittable<(assetName: Bytes | string | Uint8Array, divisible: bool | boolean | Uint8Array, assetType: PolymeshPrimitivesAssetAssetType | {
121
110
  EquityCommon: any;
122
111
  } | {
123
112
  EquityPreferred: any;
@@ -141,7 +130,7 @@ declare module '@polkadot/api-base/types/submittable' {
141
130
  StableCoin: any;
142
131
  } | {
143
132
  NonFungible: any;
144
- } | string | Uint8Array, identifiers: Vec<PolymeshPrimitivesAssetIdentifier> | (PolymeshPrimitivesAssetIdentifier | {
133
+ } | string | Uint8Array, assetIdentifiers: Vec<PolymeshPrimitivesAssetIdentifier> | (PolymeshPrimitivesAssetIdentifier | {
145
134
  CUSIP: any;
146
135
  } | {
147
136
  CINS: any;
@@ -151,18 +140,30 @@ declare module '@polkadot/api-base/types/submittable' {
151
140
  LEI: any;
152
141
  } | {
153
142
  FIGI: any;
154
- } | string | Uint8Array)[], fundingRound: Option<Bytes> | null | Uint8Array | Bytes | string) => SubmittableExtrinsic<ApiType>, [
143
+ } | string | Uint8Array)[], fundingRoundName: Option<Bytes> | null | Uint8Array | Bytes | string) => SubmittableExtrinsic<ApiType>, [
155
144
  Bytes,
156
- PolymeshPrimitivesTicker,
157
145
  bool,
158
146
  PolymeshPrimitivesAssetAssetType,
159
147
  Vec<PolymeshPrimitivesAssetIdentifier>,
160
148
  Option<Bytes>
161
149
  ]>;
162
150
  /**
163
- * Utility extrinsic to batch `create_asset` and `register_custom_asset_type`.
151
+ * Initializes a new [`AssetDetails`], with the initiating account as its owner.
152
+ * The total supply will initially be zero. To mint tokens, use [`Module::issue`].
153
+ * Note: Utility extrinsic to batch [`Module::create_asset`] and [`Module::register_custom_asset_type`].
154
+ *
155
+ * # Arguments
156
+ * * `origin`: contains the secondary key of the caller (i.e. who signed the transaction to execute this function).
157
+ * * `asset_name`: the [`AssetName`] associated to the security token.
158
+ * * `divisible`: sets [`AssetDetails::divisible`], where `true` means the token is divisible.
159
+ * * `custom_asset_type`: the custom asset type of the token.
160
+ * * `asset_identifiers`: a vector of [`AssetIdentifier`].
161
+ * * `funding_round_name`: the name of the funding round ([`FundingRoundName`]).
162
+ *
163
+ * ## Permissions
164
+ * * Portfolio
164
165
  **/
165
- createAssetWithCustomType: AugmentedSubmittable<(name: Bytes | string | Uint8Array, ticker: PolymeshPrimitivesTicker | string | Uint8Array, divisible: bool | boolean | Uint8Array, customAssetType: Bytes | string | Uint8Array, identifiers: Vec<PolymeshPrimitivesAssetIdentifier> | (PolymeshPrimitivesAssetIdentifier | {
166
+ createAssetWithCustomType: AugmentedSubmittable<(assetName: Bytes | string | Uint8Array, divisible: bool | boolean | Uint8Array, customAssetType: Bytes | string | Uint8Array, assetIdentifiers: Vec<PolymeshPrimitivesAssetIdentifier> | (PolymeshPrimitivesAssetIdentifier | {
166
167
  CUSIP: any;
167
168
  } | {
168
169
  CINS: any;
@@ -172,9 +173,8 @@ declare module '@polkadot/api-base/types/submittable' {
172
173
  LEI: any;
173
174
  } | {
174
175
  FIGI: any;
175
- } | string | Uint8Array)[], fundingRound: Option<Bytes> | null | Uint8Array | Bytes | string) => SubmittableExtrinsic<ApiType>, [
176
+ } | string | Uint8Array)[], fundingRoundName: Option<Bytes> | null | Uint8Array | Bytes | string) => SubmittableExtrinsic<ApiType>, [
176
177
  Bytes,
177
- PolymeshPrimitivesTicker,
178
178
  bool,
179
179
  Bytes,
180
180
  Vec<PolymeshPrimitivesAssetIdentifier>,
@@ -184,128 +184,110 @@ declare module '@polkadot/api-base/types/submittable' {
184
184
  * Pre-approves the receivement of the asset for all identities.
185
185
  *
186
186
  * # Arguments
187
- * * `origin` - the secondary key of the sender.
188
- * * `ticker` - the [`Ticker`] that will be exempt from affirmation.
187
+ * * `origin`: the secondary key of the sender.
188
+ * * `asset_id`: the [`AssetID`] that will be exempt from affirmation.
189
189
  *
190
190
  * # Permissions
191
191
  * * Root
192
192
  **/
193
- exemptTickerAffirmation: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
194
- PolymeshPrimitivesTicker
193
+ exemptAssetAffirmation: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
194
+ PolymeshPrimitivesAssetAssetID
195
195
  ]>;
196
196
  /**
197
197
  * Freezes transfers of a given token.
198
198
  *
199
199
  * # Arguments
200
- * * `origin` - the secondary key of the sender.
201
- * * `ticker` - the ticker of the token.
202
- *
203
- * ## Errors
204
- * - `AlreadyFrozen` if `ticker` is already frozen.
200
+ * * `origin`: the secondary key of the sender.
201
+ * * `asset_id`: the [`AssetID`] associated to the token.
205
202
  *
206
203
  * # Permissions
207
204
  * * Asset
208
205
  **/
209
- freeze: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
210
- PolymeshPrimitivesTicker
206
+ freeze: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
207
+ PolymeshPrimitivesAssetAssetID
211
208
  ]>;
212
209
  /**
213
- * Issue, or mint, new tokens to the caller, which must be an authorized external agent.
210
+ * Issue (i.e mint) new tokens to the caller, which must be an authorized external agent.
214
211
  *
215
212
  * # Arguments
216
- * * `origin` - A signer that has permissions to act as an agent of `ticker`.
217
- * * `ticker` - The [`Ticker`] of the token.
218
- * * `amount` - The amount of tokens that will be issued.
219
- * * `portfolio_kind` - The [`PortfolioKind`] of the portfolio that will receive the minted tokens.
213
+ * * `origin`: A signer that has permissions to act as an agent of `ticker`.
214
+ * * `asset_id`: the [`AssetID`] associated to the token.
215
+ * * `amount`: The amount of tokens that will be issued.
216
+ * * `portfolio_kind`: The [`PortfolioKind`] of the portfolio that will receive the minted tokens.
220
217
  *
221
218
  * # Permissions
222
219
  * * Asset
223
220
  * * Portfolio
224
221
  **/
225
- issue: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, portfolioKind: PolymeshPrimitivesIdentityIdPortfolioKind | {
222
+ issue: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, portfolioKind: PolymeshPrimitivesIdentityIdPortfolioKind | {
226
223
  Default: any;
227
224
  } | {
228
225
  User: any;
229
226
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
230
- PolymeshPrimitivesTicker,
227
+ PolymeshPrimitivesAssetAssetID,
231
228
  u128,
232
229
  PolymeshPrimitivesIdentityIdPortfolioKind
233
230
  ]>;
234
231
  /**
235
- * Makes an indivisible token divisible.
232
+ * Establishes a connection between a ticker and an AssetID.
236
233
  *
237
234
  * # Arguments
238
- * * `origin` is a signer that has permissions to act as an agent of `ticker`.
239
- * * `ticker` Ticker of the token.
240
- *
241
- * ## Errors
242
- * - `AssetAlreadyDivisible` if `ticker` is already divisible.
235
+ * * `origin`: the secondary key of the sender.
236
+ * * `ticker`: the [`Ticker`] that will be linked to the given `asset_id`.
237
+ * * `asset_id`: the [`AssetID`] that will be connected to `ticker`.
243
238
  *
244
239
  * # Permissions
245
240
  * * Asset
246
241
  **/
247
- makeDivisible: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
248
- PolymeshPrimitivesTicker
242
+ linkTickerToAssetId: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
243
+ PolymeshPrimitivesTicker,
244
+ PolymeshPrimitivesAssetAssetID
249
245
  ]>;
250
246
  /**
251
- * Pre-approves the receivement of an asset.
247
+ * If the token associated to `asset_id` is indivisible, sets [`AssetDetails::divisible`] to true.
252
248
  *
253
249
  * # Arguments
254
- * * `origin` - the secondary key of the sender.
255
- * * `ticker` - the [`Ticker`] that will be exempt from affirmation.
250
+ * * `origin`: is a signer that has permissions to act as an agent of `ticker`.
251
+ * * `asset_id`: the [`AssetID`] associated to the token.
256
252
  *
257
253
  * # Permissions
258
254
  * * Asset
259
255
  **/
260
- preApproveTicker: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
261
- PolymeshPrimitivesTicker
256
+ makeDivisible: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
257
+ PolymeshPrimitivesAssetAssetID
262
258
  ]>;
263
259
  /**
264
- * Redeems existing tokens by reducing the balance of the caller's default portfolio and the total supply of the token
260
+ * Pre-approves the receivement of an asset.
265
261
  *
266
262
  * # Arguments
267
- * * `origin` is a signer that has permissions to act as an agent of `ticker`.
268
- * * `ticker` Ticker of the token.
269
- * * `value` Amount of tokens to redeem.
270
- *
271
- * # Errors
272
- * - `Unauthorized` If called by someone without the appropriate external agent permissions
273
- * - `InvalidGranularity` If the amount is not divisible by 10^6 for non-divisible tokens
274
- * - `InsufficientPortfolioBalance` If the caller's default portfolio doesn't have enough free balance
263
+ * * `origin`: the secondary key of the sender.
264
+ * * `asset_id`: the [`AssetID`] that will be exempt from affirmation.
275
265
  *
276
266
  * # Permissions
277
267
  * * Asset
278
- * * Portfolio
279
268
  **/
280
- redeem: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
281
- PolymeshPrimitivesTicker,
282
- u128
269
+ preApproveAsset: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
270
+ PolymeshPrimitivesAssetAssetID
283
271
  ]>;
284
272
  /**
285
- * Redeems existing tokens by reducing the balance of the caller's portfolio and the total supply of the token
273
+ * Redeems (i.e burns) existing tokens by reducing the balance of the caller's portfolio and the total supply of the token.
286
274
  *
287
275
  * # Arguments
288
- * * `origin` is a signer that has permissions to act as an agent of `ticker`.
289
- * * `ticker` Ticker of the token.
290
- * * `value` Amount of tokens to redeem.
291
- * * `portfolio` From whom portfolio tokens gets transferred.
292
- *
293
- * # Errors
294
- * - `Unauthorized` If called by someone without the appropriate external agent permissions
295
- * - `InvalidGranularity` If the amount is not divisible by 10^6 for non-divisible tokens
296
- * - `InsufficientPortfolioBalance` If the caller's `portfolio` doesn't have enough free balance
297
- * - `PortfolioDoesNotExist` If the portfolio doesn't exist.
276
+ * * `origin`: is a signer that has permissions to act as an agent of `asset_id`.
277
+ * * `asset_id`: the [`AssetID`] associated to the token.
278
+ * * `value`: amount of tokens to redeem.
279
+ * * `portfolio_kind`: the [`PortfolioKind`] that will have its balance reduced.
298
280
  *
299
281
  * # Permissions
300
282
  * * Asset
301
283
  * * Portfolio
302
284
  **/
303
- redeemFromPortfolio: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, value: u128 | AnyNumber | Uint8Array, portfolio: PolymeshPrimitivesIdentityIdPortfolioKind | {
285
+ redeem: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, value: u128 | AnyNumber | Uint8Array, portfolioKind: PolymeshPrimitivesIdentityIdPortfolioKind | {
304
286
  Default: any;
305
287
  } | {
306
288
  User: any;
307
289
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
308
- PolymeshPrimitivesTicker,
290
+ PolymeshPrimitivesAssetAssetID,
309
291
  u128,
310
292
  PolymeshPrimitivesIdentityIdPortfolioKind
311
293
  ]>;
@@ -313,24 +295,18 @@ declare module '@polkadot/api-base/types/submittable' {
313
295
  * Registers and set local asset metadata.
314
296
  *
315
297
  * # Arguments
316
- * * `origin` is a signer that has permissions to act as an agent of `ticker`.
317
- * * `ticker` Ticker of the token.
318
- * * `name` Metadata name.
319
- * * `spec` Metadata type definition.
320
- * * `value` Metadata value.
321
- * * `details` Optional Metadata value details (expire, lock status).
322
- *
323
- * # Errors
324
- * * `AssetMetadataLocalKeyAlreadyExists` if a local metadata type with `name` already exists for `ticker`.
325
- * * `AssetMetadataNameMaxLengthExceeded` if the metadata `name` exceeds the maximum length.
326
- * * `AssetMetadataTypeDefMaxLengthExceeded` if the metadata `spec` type definition exceeds the maximum length.
327
- * * `AssetMetadataValueMaxLengthExceeded` if the metadata value exceeds the maximum length.
298
+ * * `origin`: is a signer that has permissions to act as an agent of `asset_id`.
299
+ * * `asset_id`: the [`AssetID`] associated to the token.
300
+ * * `name`: the [`AssetMetadataName`].
301
+ * * `spec`: the asset metadata specifications ([`AssetMetadataSpec`]).
302
+ * * `value`: the [`AssetMetadataValue`] of the given metadata key.
303
+ * * `details`: optional [`AssetMetadataValueDetail`] (expire, lock status).
328
304
  *
329
305
  * # Permissions
330
306
  * * Agent
331
307
  * * Asset
332
308
  **/
333
- registerAndSetLocalAssetMetadata: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, name: Bytes | string | Uint8Array, spec: PolymeshPrimitivesAssetMetadataAssetMetadataSpec | {
309
+ registerAndSetLocalAssetMetadata: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, name: Bytes | string | Uint8Array, spec: PolymeshPrimitivesAssetMetadataAssetMetadataSpec | {
334
310
  url?: any;
335
311
  description?: any;
336
312
  typeDef?: any;
@@ -338,7 +314,7 @@ declare module '@polkadot/api-base/types/submittable' {
338
314
  expire?: any;
339
315
  lockStatus?: any;
340
316
  } | string) => SubmittableExtrinsic<ApiType>, [
341
- PolymeshPrimitivesTicker,
317
+ PolymeshPrimitivesAssetAssetID,
342
318
  Bytes,
343
319
  PolymeshPrimitivesAssetMetadataAssetMetadataSpec,
344
320
  Bytes,
@@ -348,14 +324,9 @@ declare module '@polkadot/api-base/types/submittable' {
348
324
  * Registers asset metadata global type.
349
325
  *
350
326
  * # Arguments
351
- * * `origin` is a signer that has permissions to act as an agent of `ticker`.
352
- * * `name` Metadata name.
353
- * * `spec` Metadata type definition.
354
- *
355
- * # Errors
356
- * * `AssetMetadataGlobalKeyAlreadyExists` if a globa metadata type with `name` already exists.
357
- * * `AssetMetadataNameMaxLengthExceeded` if the metadata `name` exceeds the maximum length.
358
- * * `AssetMetadataTypeDefMaxLengthExceeded` if the metadata `spec` type definition exceeds the maximum length.
327
+ * * `origin`: is a signer that has permissions to act as an agent of `asset_id`.
328
+ * * `name`: the [`AssetMetadataName`].
329
+ * * `spec`: the asset metadata specifications ([`AssetMetadataSpec`]).
359
330
  **/
360
331
  registerAssetMetadataGlobalType: AugmentedSubmittable<(name: Bytes | string | Uint8Array, spec: PolymeshPrimitivesAssetMetadataAssetMetadataSpec | {
361
332
  url?: any;
@@ -369,26 +340,21 @@ declare module '@polkadot/api-base/types/submittable' {
369
340
  * Registers asset metadata local type.
370
341
  *
371
342
  * # Arguments
372
- * * `origin` is a signer that has permissions to act as an agent of `ticker`.
373
- * * `ticker` Ticker of the token.
374
- * * `name` Metadata name.
375
- * * `spec` Metadata type definition.
376
- *
377
- * # Errors
378
- * * `AssetMetadataLocalKeyAlreadyExists` if a local metadata type with `name` already exists for `ticker`.
379
- * * `AssetMetadataNameMaxLengthExceeded` if the metadata `name` exceeds the maximum length.
380
- * * `AssetMetadataTypeDefMaxLengthExceeded` if the metadata `spec` type definition exceeds the maximum length.
343
+ * * `origin`: is a signer that has permissions to act as an agent of `asset_id`.
344
+ * * `asset_id`: the [`AssetID`] associated to the token.
345
+ * * `name`: the [`AssetMetadataName`].
346
+ * * `spec`: the asset metadata specifications ([`AssetMetadataSpec`]).
381
347
  *
382
348
  * # Permissions
383
349
  * * Agent
384
350
  * * Asset
385
351
  **/
386
- registerAssetMetadataLocalType: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, name: Bytes | string | Uint8Array, spec: PolymeshPrimitivesAssetMetadataAssetMetadataSpec | {
352
+ registerAssetMetadataLocalType: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, name: Bytes | string | Uint8Array, spec: PolymeshPrimitivesAssetMetadataAssetMetadataSpec | {
387
353
  url?: any;
388
354
  description?: any;
389
355
  typeDef?: any;
390
356
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
391
- PolymeshPrimitivesTicker,
357
+ PolymeshPrimitivesAssetAssetID,
392
358
  Bytes,
393
359
  PolymeshPrimitivesAssetMetadataAssetMetadataSpec
394
360
  ]>;
@@ -400,168 +366,146 @@ declare module '@polkadot/api-base/types/submittable' {
400
366
  * Should the `ty` already exist in storage, no second ID is assigned to it.
401
367
  *
402
368
  * # Arguments
403
- * * `origin` who called the extrinsic.
404
- * * `ty` contains the string representation of the asset type.
369
+ * * `origin`: who called the extrinsic.
370
+ * * `ty`: contains the string representation of the asset type.
405
371
  **/
406
372
  registerCustomAssetType: AugmentedSubmittable<(ty: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
407
373
  Bytes
408
374
  ]>;
409
375
  /**
410
- * Registers a new ticker or extends validity of an existing ticker.
376
+ * Registers a unique ticker or extends validity of an existing ticker.
411
377
  * NB: Ticker validity does not get carry forward when renewing ticker.
412
378
  *
413
379
  * # Arguments
414
- * * `origin` It contains the secondary key of the caller (i.e. who signed the transaction to execute this function).
415
- * * `ticker` ticker to register.
380
+ * * `origin`: it contains the secondary key of the caller (i.e. who signed the transaction to execute this function).
381
+ * * `ticker`: [`Ticker`] to register.
416
382
  *
417
383
  * # Permissions
418
384
  * * Asset
419
385
  **/
420
- registerTicker: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
386
+ registerUniqueTicker: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
421
387
  PolymeshPrimitivesTicker
422
388
  ]>;
423
389
  /**
424
- * Remove documents for a given token.
390
+ * Removes the pre-approval of the asset for all identities.
425
391
  *
426
392
  * # Arguments
427
- * * `origin` is a signer that has permissions to act as an agent of `ticker`.
428
- * * `ticker` Ticker of the token.
429
- * * `ids` Documents ids to be removed from `ticker`.
393
+ * * `origin`: the secondary key of the sender.
394
+ * * `asset_id`: the [`AssetID`] that will have its exemption removed.
430
395
  *
431
396
  * # Permissions
432
- * * Asset
397
+ * * Root
433
398
  **/
434
- removeDocuments: AugmentedSubmittable<(ids: Vec<u32> | (u32 | AnyNumber | Uint8Array)[], ticker: PolymeshPrimitivesTicker | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
435
- Vec<u32>,
436
- PolymeshPrimitivesTicker
399
+ removeAssetAffirmationExemption: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
400
+ PolymeshPrimitivesAssetAssetID
437
401
  ]>;
438
402
  /**
439
- * Removes the asset metadata key and value of a local key.
403
+ * Removes the pre approval of an asset.
440
404
  *
441
405
  * # Arguments
442
406
  * * `origin` - the secondary key of the sender.
443
- * * `ticker` - the ticker of the local metadata key.
444
- * * `local_key` - the local metadata key.
445
- *
446
- * # Errors
447
- * - `SecondaryKeyNotAuthorizedForAsset` - if called by someone without the appropriate external agent permissions.
448
- * - `UnauthorizedAgent` - if called by someone without the appropriate external agent permissions.
449
- * - `AssetMetadataKeyIsMissing` - if the key doens't exist.
450
- * - `AssetMetadataValueIsLocked` - if the value of the key is locked.
451
- * - AssetMetadataKeyBelongsToNFTCollection - if the key is a mandatory key in an NFT collection.
407
+ * * `asset_id`: the [`AssetID`] that will have its exemption removed.
452
408
  *
453
409
  * # Permissions
454
410
  * * Asset
455
411
  **/
456
- removeLocalMetadataKey: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, localKey: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
457
- PolymeshPrimitivesTicker,
458
- u64
412
+ removeAssetPreApproval: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
413
+ PolymeshPrimitivesAssetAssetID
459
414
  ]>;
460
415
  /**
461
- * Removes all identities in the `mediators` set from the mandatory mediators list for the given `ticker`.
416
+ * Remove documents for a given token.
462
417
  *
463
418
  * # Arguments
464
- * * `origin`: The secondary key of the sender.
465
- * * `ticker`: The [`Ticker`] of the asset that will have mediators removed.
466
- * * `mediators`: A set of [`IdentityId`] of all the mediators that will be removed from the mandatory mediators list.
419
+ * * `origin`: is a signer that has permissions to act as an agent of `asset_id`.
420
+ * * `asset_id`: the [`AssetID`] associated to the token.
421
+ * * `docs_id`: a vector of all [`DocumentId`] that will be removed from the token.
467
422
  *
468
423
  * # Permissions
469
424
  * * Asset
470
425
  **/
471
- removeMandatoryMediators: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, mediators: BTreeSet<PolymeshPrimitivesIdentityId>) => SubmittableExtrinsic<ApiType>, [
472
- PolymeshPrimitivesTicker,
473
- BTreeSet<PolymeshPrimitivesIdentityId>
426
+ removeDocuments: AugmentedSubmittable<(docsId: Vec<u32> | (u32 | AnyNumber | Uint8Array)[], assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
427
+ Vec<u32>,
428
+ PolymeshPrimitivesAssetAssetID
474
429
  ]>;
475
430
  /**
476
- * Removes the asset metadata value of a metadata key.
431
+ * Removes the asset metadata key and value of a local key.
477
432
  *
478
433
  * # Arguments
479
- * * `origin` - the secondary key of the sender.
480
- * * `ticker` - the ticker of the local metadata key.
481
- * * `metadata_key` - the metadata key that will have its value deleted.
482
- *
483
- * # Errors
484
- * - `SecondaryKeyNotAuthorizedForAsset` - if called by someone without the appropriate external agent permissions.
485
- * - `UnauthorizedAgent` - if called by someone without the appropriate external agent permissions.
486
- * - `AssetMetadataKeyIsMissing` - if the key doens't exist.
487
- * - `AssetMetadataValueIsLocked` - if the value of the key is locked.
434
+ * * `origin`: the secondary key of the sender.
435
+ * * `asset_id`: the [`AssetID`] associated to the local metadata key.
436
+ * * `local_key`: the [`AssetMetadataLocalKey`] that will be removed.
488
437
  *
489
438
  * # Permissions
490
439
  * * Asset
491
440
  **/
492
- removeMetadataValue: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, metadataKey: PolymeshPrimitivesAssetMetadataAssetMetadataKey | {
493
- Global: any;
494
- } | {
495
- Local: any;
496
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
497
- PolymeshPrimitivesTicker,
498
- PolymeshPrimitivesAssetMetadataAssetMetadataKey
441
+ removeLocalMetadataKey: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, localKey: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
442
+ PolymeshPrimitivesAssetAssetID,
443
+ u64
499
444
  ]>;
500
445
  /**
501
- * Removes the pre-approval of the asset for all identities.
446
+ * Removes all identities in the `mediators` set from the mandatory mediators list for the given `asset_id`.
502
447
  *
503
448
  * # Arguments
504
- * * `origin` - the secondary key of the sender.
505
- * * `ticker` - the [`Ticker`] that will have its exemption removed.
449
+ * * `origin`: the secondary key of the sender.
450
+ * * `asset_id`: the [`AssetID`] of the asset that will have mediators removed.
451
+ * * `mediators`: A set of [`IdentityId`] of all the mediators that will be removed from the mandatory mediators list.
506
452
  *
507
453
  * # Permissions
508
- * * Root
454
+ * * Asset
509
455
  **/
510
- removeTickerAffirmationExemption: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
511
- PolymeshPrimitivesTicker
456
+ removeMandatoryMediators: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, mediators: BTreeSet<PolymeshPrimitivesIdentityId>) => SubmittableExtrinsic<ApiType>, [
457
+ PolymeshPrimitivesAssetAssetID,
458
+ BTreeSet<PolymeshPrimitivesIdentityId>
512
459
  ]>;
513
460
  /**
514
- * Removes the pre approval of an asset.
461
+ * Removes the asset metadata value of a metadata key.
515
462
  *
516
463
  * # Arguments
517
- * * `origin` - the secondary key of the sender.
518
- * * `ticker` - the [`Ticker`] that will have its exemption removed.
464
+ * * `origin`: the secondary key of the sender.
465
+ * * `asset_id`: the [`AssetID`] associated to the metadata key.
466
+ * * `metadata_key`: the [`AssetMetadataKey`] that will have its value deleted.
519
467
  *
520
468
  * # Permissions
521
469
  * * Asset
522
470
  **/
523
- removeTickerPreApproval: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
524
- PolymeshPrimitivesTicker
471
+ removeMetadataValue: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, metadataKey: PolymeshPrimitivesAssetMetadataAssetMetadataKey | {
472
+ Global: any;
473
+ } | {
474
+ Local: any;
475
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
476
+ PolymeshPrimitivesAssetAssetID,
477
+ PolymeshPrimitivesAssetMetadataAssetMetadataKey
525
478
  ]>;
526
479
  /**
527
- * Renames a given token.
480
+ * Updates the [`AssetName`] associated to a security token.
528
481
  *
529
482
  * # Arguments
530
- * * `origin` - the secondary key of the sender.
531
- * * `ticker` - the ticker of the token.
532
- * * `name` - the new name of the token.
533
- *
534
- * ## Errors
535
- * - `MaxLengthOfAssetNameExceeded` if length of `name` is greater than
536
- * `T::AssetNameMaxLength`.
483
+ * * `origin`: the secondary key of the sender.
484
+ * * `asset_id`: the [`AssetID`] associated to the token.
485
+ * * `asset_name`: the [`AssetName`] that will be associated to the token.
537
486
  *
538
487
  * # Permissions
539
488
  * * Asset
540
489
  **/
541
- renameAsset: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, name: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
542
- PolymeshPrimitivesTicker,
490
+ renameAsset: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, assetName: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
491
+ PolymeshPrimitivesAssetAssetID,
543
492
  Bytes
544
493
  ]>;
545
494
  /**
546
495
  * Set asset metadata value.
547
496
  *
548
497
  * # Arguments
549
- * * `origin` is a signer that has permissions to act as an agent of `ticker`.
550
- * * `ticker` Ticker of the token.
551
- * * `key` Metadata key.
552
- * * `value` Metadata value.
553
- * * `details` Optional Metadata value details (expire, lock status).
554
- *
555
- * # Errors
556
- * * `AssetMetadataKeyIsMissing` if the metadata type key doesn't exist.
557
- * * `AssetMetadataValueIsLocked` if the metadata value for `key` is locked.
558
- * * `AssetMetadataValueMaxLengthExceeded` if the metadata value exceeds the maximum length.
498
+ * * `origin`: is a signer that has permissions to act as an agent of `asset_id`.
499
+ * * `asset_id`: the [`AssetID`] associated to the token.
500
+ * * `key`: the [`AssetMetadataKey`] associated to the token.
501
+ * * `value`: the [`AssetMetadataValue`] of the given metadata key.
502
+ * * `details`: optional [`AssetMetadataValueDetail`] (expire, lock status).
559
503
  *
560
504
  * # Permissions
561
505
  * * Agent
562
506
  * * Asset
563
507
  **/
564
- setAssetMetadata: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, key: PolymeshPrimitivesAssetMetadataAssetMetadataKey | {
508
+ setAssetMetadata: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, key: PolymeshPrimitivesAssetMetadataAssetMetadataKey | {
565
509
  Global: any;
566
510
  } | {
567
511
  Local: any;
@@ -569,7 +513,7 @@ declare module '@polkadot/api-base/types/submittable' {
569
513
  expire?: any;
570
514
  lockStatus?: any;
571
515
  } | string) => SubmittableExtrinsic<ApiType>, [
572
- PolymeshPrimitivesTicker,
516
+ PolymeshPrimitivesAssetAssetID,
573
517
  PolymeshPrimitivesAssetMetadataAssetMetadataKey,
574
518
  Bytes,
575
519
  Option<PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail>
@@ -578,20 +522,16 @@ declare module '@polkadot/api-base/types/submittable' {
578
522
  * Set asset metadata value details (expire, lock status).
579
523
  *
580
524
  * # Arguments
581
- * * `origin` is a signer that has permissions to act as an agent of `ticker`.
582
- * * `ticker` Ticker of the token.
583
- * * `key` Metadata key.
584
- * * `details` Metadata value details (expire, lock status).
585
- *
586
- * # Errors
587
- * * `AssetMetadataKeyIsMissing` if the metadata type key doesn't exist.
588
- * * `AssetMetadataValueIsLocked` if the metadata value for `key` is locked.
525
+ * * `origin`: is a signer that has permissions to act as an agent of `asset_id`.
526
+ * * `asset_id`: the [`AssetID`] associated to the token.
527
+ * * `key`: the [`AssetMetadataKey`] associated to the token.
528
+ * * `details`: the [`AssetMetadataValueDetail`] (expire, lock status) that will be associated to the token.
589
529
  *
590
530
  * # Permissions
591
531
  * * Agent
592
532
  * * Asset
593
533
  **/
594
- setAssetMetadataDetails: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, key: PolymeshPrimitivesAssetMetadataAssetMetadataKey | {
534
+ setAssetMetadataDetails: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, key: PolymeshPrimitivesAssetMetadataAssetMetadataKey | {
595
535
  Global: any;
596
536
  } | {
597
537
  Local: any;
@@ -599,7 +539,7 @@ declare module '@polkadot/api-base/types/submittable' {
599
539
  expire?: any;
600
540
  lockStatus?: any;
601
541
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
602
- PolymeshPrimitivesTicker,
542
+ PolymeshPrimitivesAssetAssetID,
603
543
  PolymeshPrimitivesAssetMetadataAssetMetadataKey,
604
544
  PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail
605
545
  ]>;
@@ -607,52 +547,42 @@ declare module '@polkadot/api-base/types/submittable' {
607
547
  * Sets the name of the current funding round.
608
548
  *
609
549
  * # Arguments
610
- * * `origin` - a signer that has permissions to act as an agent of `ticker`.
611
- * * `ticker` - the ticker of the token.
612
- * * `name` - the desired name of the current funding round.
613
- *
614
- * ## Errors
615
- * - `FundingRoundNameMaxLengthExceeded` if length of `name` is greater than
616
- * `T::FundingRoundNameMaxLength`.
550
+ * * `origin`: a signer that has permissions to act as an agent of `asset_id`.
551
+ * * `asset_id`: the [`AssetID`] associated to the token.
552
+ * * `founding_round_name`: the [`FoundingRoundName`] of the current funding round.
617
553
  *
618
554
  * # Permissions
619
555
  * * Asset
620
556
  **/
621
- setFundingRound: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, name: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
622
- PolymeshPrimitivesTicker,
557
+ setFundingRound: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, foundingRoundName: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
558
+ PolymeshPrimitivesAssetAssetID,
623
559
  Bytes
624
560
  ]>;
625
561
  /**
626
562
  * Unfreezes transfers of a given token.
627
563
  *
628
564
  * # Arguments
629
- * * `origin` - the secondary key of the sender.
630
- * * `ticker` - the ticker of the frozen token.
631
- *
632
- * ## Errors
633
- * - `NotFrozen` if `ticker` is not frozen yet.
565
+ * * `origin`: the secondary key of the sender.
566
+ * * `asset_id`: the [`AssetID`] associated to the token.
634
567
  *
635
568
  * # Permissions
636
569
  * * Asset
637
570
  **/
638
- unfreeze: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
639
- PolymeshPrimitivesTicker
571
+ unfreeze: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
572
+ PolymeshPrimitivesAssetAssetID
640
573
  ]>;
641
574
  /**
642
575
  * Updates the type of an asset.
643
576
  *
644
577
  * # Arguments
645
- * * `origin` - the secondary key of the sender.
646
- * * `ticker` - the ticker of the token.
647
- * * `asset_type` - the new type of the token.
648
- *
649
- * ## Errors
650
- * - `InvalidCustomAssetTypeId` if `asset_type` is of type custom and has an invalid type id.
578
+ * * `origin`: it contains the secondary key of the sender
579
+ * * `asset_id`: the [`AssetID`] associated to the token.
580
+ * * `asset_type`: the new [`AssetType`] of the token.
651
581
  *
652
582
  * # Permissions
653
583
  * * Asset
654
584
  **/
655
- updateAssetType: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, assetType: PolymeshPrimitivesAssetAssetType | {
585
+ updateAssetType: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, assetType: PolymeshPrimitivesAssetAssetType | {
656
586
  EquityCommon: any;
657
587
  } | {
658
588
  EquityPreferred: any;
@@ -677,24 +607,21 @@ declare module '@polkadot/api-base/types/submittable' {
677
607
  } | {
678
608
  NonFungible: any;
679
609
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
680
- PolymeshPrimitivesTicker,
610
+ PolymeshPrimitivesAssetAssetID,
681
611
  PolymeshPrimitivesAssetAssetType
682
612
  ]>;
683
613
  /**
684
- * Updates the asset identifiers.
614
+ * Updates the asset identifiers associated to the token.
685
615
  *
686
616
  * # Arguments
687
- * * `origin` - a signer that has permissions to act as an agent of `ticker`.
688
- * * `ticker` - the ticker of the token.
689
- * * `asset_identifiers` - the asset identifiers to be updated in the form of a vector of pairs of `IdentifierType` and `AssetIdentifier` value.
690
- *
691
- * ## Errors
692
- * - `InvalidAssetIdentifier` if `identifiers` contains any invalid identifier.
617
+ * * `origin`: a signer that has permissions to act as an agent of `asset_id`.
618
+ * * `asset_id`: the [`AssetID`] associated to the token.
619
+ * * `asset_identifiers`: a vector of [`AssetIdentifier`] that will be associated to the token.
693
620
  *
694
621
  * # Permissions
695
622
  * * Asset
696
623
  **/
697
- updateIdentifiers: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, assetIdentifiers: Vec<PolymeshPrimitivesAssetIdentifier> | (PolymeshPrimitivesAssetIdentifier | {
624
+ updateIdentifiers: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, assetIdentifiers: Vec<PolymeshPrimitivesAssetIdentifier> | (PolymeshPrimitivesAssetIdentifier | {
698
625
  CUSIP: any;
699
626
  } | {
700
627
  CINS: any;
@@ -705,7 +632,7 @@ declare module '@polkadot/api-base/types/submittable' {
705
632
  } | {
706
633
  FIGI: any;
707
634
  } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
708
- PolymeshPrimitivesTicker,
635
+ PolymeshPrimitivesAssetAssetID,
709
636
  Vec<PolymeshPrimitivesAssetIdentifier>
710
637
  ]>;
711
638
  };
@@ -899,221 +826,6 @@ declare module '@polkadot/api-base/types/submittable' {
899
826
  ]>;
900
827
  };
901
828
  base: {};
902
- bridge: {
903
- /**
904
- * Add a freeze admin.
905
- *
906
- * ## Errors
907
- * - `BadAdmin` if `origin` is not `Self::admin()` account.
908
- **/
909
- addFreezeAdmin: AugmentedSubmittable<(freezeAdmin: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
910
- AccountId32
911
- ]>;
912
- /**
913
- * Proposes a vector of bridge transactions. The vector is processed until the first
914
- * proposal which causes an error, in which case the error is returned and the rest of
915
- * proposals are not processed.
916
- *
917
- * ## Errors
918
- * - `ControllerNotSet` if `Controllers` was not set.
919
- *
920
- * # Weight
921
- * `500_000_000 + 7_000_000 * bridge_txs.len()`
922
- **/
923
- batchProposeBridgeTx: AugmentedSubmittable<(bridgeTxs: Vec<PalletBridgeBridgeTx> | (PalletBridgeBridgeTx | {
924
- nonce?: any;
925
- recipient?: any;
926
- amount?: any;
927
- txHash?: any;
928
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
929
- Vec<PalletBridgeBridgeTx>
930
- ]>;
931
- /**
932
- * Changes the bridge admin key.
933
- *
934
- * ## Errors
935
- * - `BadAdmin` if `origin` is not `Self::admin()` account.
936
- **/
937
- changeAdmin: AugmentedSubmittable<(admin: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
938
- AccountId32
939
- ]>;
940
- /**
941
- * Changes the bridge limit exempted list.
942
- *
943
- * ## Errors
944
- * - `BadAdmin` if `origin` is not `Self::admin()` account.
945
- **/
946
- changeBridgeExempted: AugmentedSubmittable<(exempted: Vec<ITuple<[PolymeshPrimitivesIdentityId, bool]>> | [PolymeshPrimitivesIdentityId | string | Uint8Array, bool | boolean | Uint8Array][]) => SubmittableExtrinsic<ApiType>, [
947
- Vec<ITuple<[PolymeshPrimitivesIdentityId, bool]>>
948
- ]>;
949
- /**
950
- * Changes the bridge limits.
951
- *
952
- * ## Errors
953
- * - `BadAdmin` if `origin` is not `Self::admin()` account.
954
- * - `DivisionByZero` if `duration` is zero.
955
- **/
956
- changeBridgeLimit: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array, duration: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
957
- u128,
958
- u32
959
- ]>;
960
- /**
961
- * Changes the controller account as admin.
962
- *
963
- * ## Errors
964
- * - `BadAdmin` if `origin` is not `Self::admin()` account.
965
- **/
966
- changeController: AugmentedSubmittable<(controller: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
967
- AccountId32
968
- ]>;
969
- /**
970
- * Changes the timelock period.
971
- *
972
- * ## Errors
973
- * - `BadAdmin` if `origin` is not `Self::admin()` account.
974
- **/
975
- changeTimelock: AugmentedSubmittable<(timelock: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
976
- u32
977
- ]>;
978
- /**
979
- * Forces handling a transaction by bypassing the bridge limit and timelock.
980
- *
981
- * ## Errors
982
- * - `BadAdmin` if `origin` is not `Self::admin()` account.
983
- * - `NoValidCdd` if `bridge_tx.recipient` does not have a valid CDD claim.
984
- **/
985
- forceHandleBridgeTx: AugmentedSubmittable<(bridgeTx: PalletBridgeBridgeTx | {
986
- nonce?: any;
987
- recipient?: any;
988
- amount?: any;
989
- txHash?: any;
990
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
991
- PalletBridgeBridgeTx
992
- ]>;
993
- /**
994
- * Freezes transaction handling in the bridge module if it is not already frozen. When the
995
- * bridge is frozen, attempted transactions get postponed instead of getting handled.
996
- *
997
- * ## Errors
998
- * - `BadAdmin` if `origin` is not `Self::admin()` account.
999
- **/
1000
- freeze: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
1001
- /**
1002
- * Freezes given bridge transactions.
1003
- * If any bridge txn is already handled then this function will just ignore it and process next one.
1004
- *
1005
- * ## Errors
1006
- * - `BadAdmin` if `origin` is not `Self::admin()` account.
1007
- *
1008
- * # Weight
1009
- * `400_000_000 + 2_000_000 * bridge_txs.len()`
1010
- **/
1011
- freezeTxs: AugmentedSubmittable<(bridgeTxs: Vec<PalletBridgeBridgeTx> | (PalletBridgeBridgeTx | {
1012
- nonce?: any;
1013
- recipient?: any;
1014
- amount?: any;
1015
- txHash?: any;
1016
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
1017
- Vec<PalletBridgeBridgeTx>
1018
- ]>;
1019
- /**
1020
- * Handles an approved bridge transaction proposal.
1021
- *
1022
- * ## Errors
1023
- * - `BadCaller` if `origin` is not `Self::controller` or `Self::admin`.
1024
- * - `TimelockedTx` if the transaction status is `Timelocked`.
1025
- * - `ProposalAlreadyHandled` if the transaction status is `Handled`.
1026
- **/
1027
- handleBridgeTx: AugmentedSubmittable<(bridgeTx: PalletBridgeBridgeTx | {
1028
- nonce?: any;
1029
- recipient?: any;
1030
- amount?: any;
1031
- txHash?: any;
1032
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1033
- PalletBridgeBridgeTx
1034
- ]>;
1035
- /**
1036
- * Root callable extrinsic, used as an internal call to handle a scheduled timelocked bridge transaction.
1037
- *
1038
- * # Errors
1039
- * - `BadOrigin` if `origin` is not root.
1040
- * - `ProposalAlreadyHandled` if transaction status is `Handled`.
1041
- * - `FrozenTx` if transaction status is `Frozen`.
1042
- **/
1043
- handleScheduledBridgeTx: AugmentedSubmittable<(bridgeTx: PalletBridgeBridgeTx | {
1044
- nonce?: any;
1045
- recipient?: any;
1046
- amount?: any;
1047
- txHash?: any;
1048
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1049
- PalletBridgeBridgeTx
1050
- ]>;
1051
- /**
1052
- * Proposes a bridge transaction, which amounts to making a multisig proposal for the
1053
- * bridge transaction if the transaction is new or approving an existing proposal if the
1054
- * transaction has already been proposed.
1055
- *
1056
- * ## Errors
1057
- * - `ControllerNotSet` if `Controllers` was not set.
1058
- **/
1059
- proposeBridgeTx: AugmentedSubmittable<(bridgeTx: PalletBridgeBridgeTx | {
1060
- nonce?: any;
1061
- recipient?: any;
1062
- amount?: any;
1063
- txHash?: any;
1064
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1065
- PalletBridgeBridgeTx
1066
- ]>;
1067
- /**
1068
- * Remove a freeze admin.
1069
- *
1070
- * ## Errors
1071
- * - `BadAdmin` if `origin` is not `Self::admin()` account.
1072
- **/
1073
- removeFreezeAdmin: AugmentedSubmittable<(freezeAdmin: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1074
- AccountId32
1075
- ]>;
1076
- /**
1077
- * Remove given bridge transactions.
1078
- *
1079
- * ## Errors
1080
- * - `BadAdmin` if `origin` is not `Self::admin()` account.
1081
- * - `NotFrozen` if a tx in `bridge_txs` is not frozen.
1082
- **/
1083
- removeTxs: AugmentedSubmittable<(bridgeTxs: Vec<PalletBridgeBridgeTx> | (PalletBridgeBridgeTx | {
1084
- nonce?: any;
1085
- recipient?: any;
1086
- amount?: any;
1087
- txHash?: any;
1088
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
1089
- Vec<PalletBridgeBridgeTx>
1090
- ]>;
1091
- /**
1092
- * Unfreezes transaction handling in the bridge module if it is frozen.
1093
- *
1094
- * ## Errors
1095
- * - `BadAdmin` if `origin` is not `Self::admin()` account.
1096
- **/
1097
- unfreeze: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
1098
- /**
1099
- * Unfreezes given bridge transactions.
1100
- * If any bridge txn is already handled then this function will just ignore it and process next one.
1101
- *
1102
- * ## Errors
1103
- * - `BadAdmin` if `origin` is not `Self::admin()` account.
1104
- *
1105
- * # Weight
1106
- * `400_000_000 + 7_000_000 * bridge_txs.len()`
1107
- **/
1108
- unfreezeTxs: AugmentedSubmittable<(bridgeTxs: Vec<PalletBridgeBridgeTx> | (PalletBridgeBridgeTx | {
1109
- nonce?: any;
1110
- recipient?: any;
1111
- amount?: any;
1112
- txHash?: any;
1113
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
1114
- Vec<PalletBridgeBridgeTx>
1115
- ]>;
1116
- };
1117
829
  capitalDistribution: {
1118
830
  /**
1119
831
  * Claim a benefit of the capital distribution attached to `ca_id`.
@@ -1141,7 +853,7 @@ declare module '@polkadot/api-base/types/submittable' {
1141
853
  * - Other errors can occur if the compliance manager rejects the transfer.
1142
854
  **/
1143
855
  claim: AugmentedSubmittable<(caId: PalletCorporateActionsCaId | {
1144
- ticker?: any;
856
+ assetId?: any;
1145
857
  localId?: any;
1146
858
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1147
859
  PalletCorporateActionsCaId
@@ -1163,7 +875,7 @@ declare module '@polkadot/api-base/types/submittable' {
1163
875
  * which is now transferrable.
1164
876
  *
1165
877
  * ## Arguments
1166
- * - `origin` is a signer that has permissions to act as an agent of `ca_id.ticker`.
878
+ * - `origin` is a signer that has permissions to act as an agent of `ca_id.asset_id`.
1167
879
  * - `ca_id` identifies the CA to start a capital distribution for.
1168
880
  * - `portfolio` specifies the portfolio number of the agent to distribute `amount` from.
1169
881
  * - `currency` to withdraw and distribute from the `portfolio`.
@@ -1175,7 +887,7 @@ declare module '@polkadot/api-base/types/submittable' {
1175
887
  * and may be reclaimed by `origin`.
1176
888
  *
1177
889
  * # Errors
1178
- * - `UnauthorizedAgent` if `origin` is not agent-permissioned for `ticker`.
890
+ * - `UnauthorizedAgent` if `origin` is not agent-permissioned for `asset_id`.
1179
891
  * - `ExpiryBeforePayment` if `expires_at.unwrap() <= payment_at`.
1180
892
  * - `NoSuchCA` if `ca_id` does not identify an existing CA.
1181
893
  * - `NoRecordDate` if CA has no record date.
@@ -1192,12 +904,12 @@ declare module '@polkadot/api-base/types/submittable' {
1192
904
  * * Portfolio
1193
905
  **/
1194
906
  distribute: AugmentedSubmittable<(caId: PalletCorporateActionsCaId | {
1195
- ticker?: any;
907
+ assetId?: any;
1196
908
  localId?: any;
1197
- } | 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>, [
909
+ } | string | Uint8Array, portfolio: Option<u64> | null | Uint8Array | u64 | AnyNumber, currency: PolymeshPrimitivesAssetAssetID | string | Uint8Array, perShare: u128 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array, paymentAt: u64 | AnyNumber | Uint8Array, expiresAt: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
1198
910
  PalletCorporateActionsCaId,
1199
911
  Option<u64>,
1200
- PolymeshPrimitivesTicker,
912
+ PolymeshPrimitivesAssetAssetID,
1201
913
  u128,
1202
914
  u128,
1203
915
  u64,
@@ -1214,12 +926,12 @@ declare module '@polkadot/api-base/types/submittable' {
1214
926
  * they are rounded down to a whole unit.
1215
927
  *
1216
928
  * ## Arguments
1217
- * - `origin` is a signer that has permissions to act as an agent of `ca_id.ticker`.
929
+ * - `origin` is a signer that has permissions to act as an agent of `ca_id.asset_id`.
1218
930
  * - `ca_id` identifies the CA with a capital distributions to push benefits for.
1219
931
  * - `holder` to push benefits to.
1220
932
  *
1221
933
  * # Errors
1222
- * - `UnauthorizedAgent` if `origin` is not agent-permissioned for `ticker`.
934
+ * - `UnauthorizedAgent` if `origin` is not agent-permissioned for `asset_id`.
1223
935
  * - `NoSuchDistribution` if there's no capital distribution for `ca_id`.
1224
936
  * - `CannotClaimBeforeStart` if `now < payment_at`.
1225
937
  * - `CannotClaimAfterExpiry` if `now > expiry_at.unwrap()`.
@@ -1230,7 +942,7 @@ declare module '@polkadot/api-base/types/submittable' {
1230
942
  * - Other errors can occur if the compliance manager rejects the transfer.
1231
943
  **/
1232
944
  pushBenefit: AugmentedSubmittable<(caId: PalletCorporateActionsCaId | {
1233
- ticker?: any;
945
+ assetId?: any;
1234
946
  localId?: any;
1235
947
  } | string | Uint8Array, holder: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1236
948
  PalletCorporateActionsCaId,
@@ -1250,7 +962,7 @@ declare module '@polkadot/api-base/types/submittable' {
1250
962
  * - `NotExpired` if `now < expiry`.
1251
963
  **/
1252
964
  reclaim: AugmentedSubmittable<(caId: PalletCorporateActionsCaId | {
1253
- ticker?: any;
965
+ assetId?: any;
1254
966
  localId?: any;
1255
967
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1256
968
  PalletCorporateActionsCaId
@@ -1260,16 +972,16 @@ declare module '@polkadot/api-base/types/submittable' {
1260
972
  * unlocking the full amount in the distributor portfolio.
1261
973
  *
1262
974
  * ## Arguments
1263
- * - `origin` is a signer that has permissions to act as an agent of `ca_id.ticker`.
975
+ * - `origin` is a signer that has permissions to act as an agent of `ca_id.asset_id`.
1264
976
  * - `ca_id` identifies the CA with a not-yet-started capital distribution to remove.
1265
977
  *
1266
978
  * # Errors
1267
- * - `UnauthorizedAgent` if `origin` is not agent-permissioned for `ticker`.
979
+ * - `UnauthorizedAgent` if `origin` is not agent-permissioned for `asset_id`.
1268
980
  * - `NoSuchDistribution` if there's no capital distribution for `ca_id`.
1269
981
  * - `DistributionStarted` if `payment_at <= now`.
1270
982
  **/
1271
983
  removeDistribution: AugmentedSubmittable<(caId: PalletCorporateActionsCaId | {
1272
- ticker?: any;
984
+ assetId?: any;
1273
985
  localId?: any;
1274
986
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1275
987
  PalletCorporateActionsCaId
@@ -1377,15 +1089,15 @@ declare module '@polkadot/api-base/types/submittable' {
1377
1089
  * Creates a single checkpoint at the current time.
1378
1090
  *
1379
1091
  * # Arguments
1380
- * - `origin` is a signer that has permissions to act as an agent of `ticker`.
1381
- * - `ticker` to create the checkpoint for.
1092
+ * - `origin` is a signer that has permissions to act as an agent of `asset_id`.
1093
+ * - `asset_id` to create the checkpoint for.
1382
1094
  *
1383
1095
  * # Errors
1384
- * - `UnauthorizedAgent` if the DID of `origin` isn't a permissioned agent for `ticker`.
1096
+ * - `UnauthorizedAgent` if the DID of `origin` isn't a permissioned agent for `asset_id`.
1385
1097
  * - `CounterOverflow` if the total checkpoint counter would overflow.
1386
1098
  **/
1387
- createCheckpoint: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1388
- PolymeshPrimitivesTicker
1099
+ createCheckpoint: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1100
+ PolymeshPrimitivesAssetAssetID
1389
1101
  ]>;
1390
1102
  /**
1391
1103
  * Creates a schedule generating checkpoints
@@ -1394,46 +1106,46 @@ declare module '@polkadot/api-base/types/submittable' {
1394
1106
  * The schedule starts out with `strong_ref_count(schedule_id) <- 0`.
1395
1107
  *
1396
1108
  * # Arguments
1397
- * - `origin` is a signer that has permissions to act as owner of `ticker`.
1398
- * - `ticker` to create the schedule for.
1109
+ * - `origin` is a signer that has permissions to act as owner of `asset_id`.
1110
+ * - `asset_id` to create the schedule for.
1399
1111
  * - `schedule` that will generate checkpoints.
1400
1112
  *
1401
1113
  * # Errors
1402
- * - `UnauthorizedAgent` if the DID of `origin` isn't a permissioned agent for `ticker`.
1114
+ * - `UnauthorizedAgent` if the DID of `origin` isn't a permissioned agent for `asset_id`.
1403
1115
  * - `InsufficientAccountBalance` if the protocol fee could not be charged.
1404
1116
  * - `CounterOverflow` if the schedule ID or total checkpoint counters would overflow.
1405
1117
  *
1406
1118
  * # Permissions
1407
1119
  * * Asset
1408
1120
  **/
1409
- createSchedule: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, schedule: PolymeshCommonUtilitiesCheckpointScheduleCheckpoints | {
1121
+ createSchedule: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, schedule: PolymeshCommonUtilitiesCheckpointScheduleCheckpoints | {
1410
1122
  pending?: any;
1411
1123
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1412
- PolymeshPrimitivesTicker,
1124
+ PolymeshPrimitivesAssetAssetID,
1413
1125
  PolymeshCommonUtilitiesCheckpointScheduleCheckpoints
1414
1126
  ]>;
1415
1127
  /**
1416
1128
  * Removes the checkpoint schedule of an asset identified by `id`.
1417
1129
  *
1418
1130
  * # Arguments
1419
- * - `origin` is a signer that has permissions to act as owner of `ticker`.
1420
- * - `ticker` to remove the schedule from.
1131
+ * - `origin` is a signer that has permissions to act as owner of `asset_id`.
1132
+ * - `asset_id` to remove the schedule from.
1421
1133
  * - `id` of the schedule, when it was created by `created_schedule`.
1422
1134
  *
1423
1135
  * # Errors
1424
- * - `UnauthorizedAgent` if the DID of `origin` isn't a permissioned agent for `ticker`.
1425
- * - `NoCheckpointSchedule` if `id` does not identify a schedule for this `ticker`.
1136
+ * - `UnauthorizedAgent` if the DID of `origin` isn't a permissioned agent for `asset_id`.
1137
+ * - `NoCheckpointSchedule` if `id` does not identify a schedule for this `asset_id`.
1426
1138
  * - `ScheduleNotRemovable` if `id` exists but is not removable.
1427
1139
  *
1428
1140
  * # Permissions
1429
1141
  * * Asset
1430
1142
  **/
1431
- removeSchedule: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, id: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1432
- PolymeshPrimitivesTicker,
1143
+ removeSchedule: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, id: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1144
+ PolymeshPrimitivesAssetAssetID,
1433
1145
  u64
1434
1146
  ]>;
1435
1147
  /**
1436
- * Sets the max complexity of a schedule set for an arbitrary ticker to `max_complexity`.
1148
+ * Sets the max complexity of a schedule set for an arbitrary asset_id to `max_complexity`.
1437
1149
  * The new maximum is not enforced retroactively,
1438
1150
  * and only applies once new schedules are made.
1439
1151
  *
@@ -1441,7 +1153,7 @@ declare module '@polkadot/api-base/types/submittable' {
1441
1153
  *
1442
1154
  * # Arguments
1443
1155
  * - `origin` is the root origin.
1444
- * - `max_complexity` allowed for an arbitrary ticker's schedule set.
1156
+ * - `max_complexity` allowed for an arbitrary asset's schedule set.
1445
1157
  **/
1446
1158
  setSchedulesMaxComplexity: AugmentedSubmittable<(maxComplexity: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1447
1159
  u64
@@ -1546,159 +1258,159 @@ declare module '@polkadot/api-base/types/submittable' {
1546
1258
  };
1547
1259
  complianceManager: {
1548
1260
  /**
1549
- * Adds a compliance requirement to an asset's compliance by ticker.
1261
+ * Adds a compliance requirement to an asset given by `asset_id`.
1550
1262
  * If there are duplicate ClaimTypes for a particular trusted issuer, duplicates are removed.
1551
1263
  *
1552
1264
  * # Arguments
1553
- * * origin - Signer of the dispatchable. It should be the owner of the ticker
1554
- * * ticker - Symbol of the asset
1265
+ * * origin - Signer of the dispatchable. It should be the owner of the asset
1266
+ * * asset_id - Symbol of the asset
1555
1267
  * * sender_conditions - Sender transfer conditions.
1556
1268
  * * receiver_conditions - Receiver transfer conditions.
1557
1269
  *
1558
1270
  * # Permissions
1559
1271
  * * Asset
1560
1272
  **/
1561
- addComplianceRequirement: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, senderConditions: Vec<PolymeshPrimitivesCondition> | (PolymeshPrimitivesCondition | {
1273
+ addComplianceRequirement: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, senderConditions: Vec<PolymeshPrimitivesCondition> | (PolymeshPrimitivesCondition | {
1562
1274
  conditionType?: any;
1563
1275
  issuers?: any;
1564
1276
  } | string | Uint8Array)[], receiverConditions: Vec<PolymeshPrimitivesCondition> | (PolymeshPrimitivesCondition | {
1565
1277
  conditionType?: any;
1566
1278
  issuers?: any;
1567
1279
  } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
1568
- PolymeshPrimitivesTicker,
1280
+ PolymeshPrimitivesAssetAssetID,
1569
1281
  Vec<PolymeshPrimitivesCondition>,
1570
1282
  Vec<PolymeshPrimitivesCondition>
1571
1283
  ]>;
1572
1284
  /**
1573
- * Adds another default trusted claim issuer at the ticker level.
1285
+ * Adds another default trusted claim issuer at the asset level.
1574
1286
  *
1575
1287
  * # Arguments
1576
- * * origin - Signer of the dispatchable. It should be the owner of the ticker.
1577
- * * ticker - Symbol of the asset.
1288
+ * * origin - Signer of the dispatchable. It should be the owner of the asset.
1289
+ * * asset_id - Symbol of the asset.
1578
1290
  * * issuer - IdentityId of the trusted claim issuer.
1579
1291
  *
1580
1292
  * # Permissions
1581
1293
  * * Asset
1582
1294
  **/
1583
- addDefaultTrustedClaimIssuer: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, issuer: PolymeshPrimitivesConditionTrustedIssuer | {
1295
+ addDefaultTrustedClaimIssuer: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, issuer: PolymeshPrimitivesConditionTrustedIssuer | {
1584
1296
  issuer?: any;
1585
1297
  trustedFor?: any;
1586
1298
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1587
- PolymeshPrimitivesTicker,
1299
+ PolymeshPrimitivesAssetAssetID,
1588
1300
  PolymeshPrimitivesConditionTrustedIssuer
1589
1301
  ]>;
1590
1302
  /**
1591
- * Modify an existing compliance requirement of a given ticker.
1303
+ * Modify an existing compliance requirement of a given asset.
1592
1304
  *
1593
1305
  * # Arguments
1594
- * * origin - Signer of the dispatchable. It should be the owner of the ticker.
1595
- * * ticker - Symbol of the asset.
1306
+ * * origin - Signer of the dispatchable. It should be the owner of the asset.
1307
+ * * asset_id - Symbol of the asset.
1596
1308
  * * new_req - Compliance requirement.
1597
1309
  *
1598
1310
  * # Permissions
1599
1311
  * * Asset
1600
1312
  **/
1601
- changeComplianceRequirement: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, newReq: PolymeshPrimitivesComplianceManagerComplianceRequirement | {
1313
+ changeComplianceRequirement: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, newReq: PolymeshPrimitivesComplianceManagerComplianceRequirement | {
1602
1314
  senderConditions?: any;
1603
1315
  receiverConditions?: any;
1604
1316
  id?: any;
1605
1317
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1606
- PolymeshPrimitivesTicker,
1318
+ PolymeshPrimitivesAssetAssetID,
1607
1319
  PolymeshPrimitivesComplianceManagerComplianceRequirement
1608
1320
  ]>;
1609
1321
  /**
1610
- * Pauses the verification of conditions for `ticker` during transfers.
1322
+ * Pauses the verification of conditions for `asset_id` during transfers.
1611
1323
  *
1612
1324
  * # Arguments
1613
- * * origin - Signer of the dispatchable. It should be the owner of the ticker
1614
- * * ticker - Symbol of the asset
1325
+ * * origin - Signer of the dispatchable. It should be the owner of the asset
1326
+ * * asset_id - Symbol of the asset
1615
1327
  *
1616
1328
  * # Permissions
1617
1329
  * * Asset
1618
1330
  **/
1619
- pauseAssetCompliance: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1620
- PolymeshPrimitivesTicker
1331
+ pauseAssetCompliance: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1332
+ PolymeshPrimitivesAssetAssetID
1621
1333
  ]>;
1622
1334
  /**
1623
1335
  * Removes a compliance requirement from an asset's compliance.
1624
1336
  *
1625
1337
  * # Arguments
1626
- * * origin - Signer of the dispatchable. It should be the owner of the ticker
1627
- * * ticker - Symbol of the asset
1338
+ * * origin - Signer of the dispatchable. It should be the owner of the asset
1339
+ * * asset_id - Symbol of the asset
1628
1340
  * * id - Compliance requirement id which is need to be removed
1629
1341
  *
1630
1342
  * # Permissions
1631
1343
  * * Asset
1632
1344
  **/
1633
- removeComplianceRequirement: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, id: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1634
- PolymeshPrimitivesTicker,
1345
+ removeComplianceRequirement: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, id: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1346
+ PolymeshPrimitivesAssetAssetID,
1635
1347
  u32
1636
1348
  ]>;
1637
1349
  /**
1638
- * Removes the given `issuer` from the set of default trusted claim issuers at the ticker level.
1350
+ * Removes the given `issuer` from the set of default trusted claim issuers at the asset level.
1639
1351
  *
1640
1352
  * # Arguments
1641
- * * origin - Signer of the dispatchable. It should be the owner of the ticker.
1642
- * * ticker - Symbol of the asset.
1353
+ * * origin - Signer of the dispatchable. It should be the owner of the asset.
1354
+ * * asset_id - Symbol of the asset.
1643
1355
  * * issuer - IdentityId of the trusted claim issuer.
1644
1356
  *
1645
1357
  * # Permissions
1646
1358
  * * Asset
1647
1359
  **/
1648
- removeDefaultTrustedClaimIssuer: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, issuer: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1649
- PolymeshPrimitivesTicker,
1360
+ removeDefaultTrustedClaimIssuer: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, issuer: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1361
+ PolymeshPrimitivesAssetAssetID,
1650
1362
  PolymeshPrimitivesIdentityId
1651
1363
  ]>;
1652
1364
  /**
1653
- * Replaces an asset's compliance by ticker with a new compliance.
1365
+ * Replaces an asset's compliance with a new compliance.
1654
1366
  *
1655
1367
  * Compliance requirements will be sorted (ascending by id) before
1656
1368
  * replacing the current requirements.
1657
1369
  *
1658
1370
  * # Arguments
1659
- * * `ticker` - the asset ticker,
1371
+ * * `asset_id` - the asset asset_id,
1660
1372
  * * `asset_compliance - the new asset compliance.
1661
1373
  *
1662
1374
  * # Errors
1663
- * * `Unauthorized` if `origin` is not the owner of the ticker.
1375
+ * * `Unauthorized` if `origin` is not the owner of the asset_id.
1664
1376
  * * `DuplicateAssetCompliance` if `asset_compliance` contains multiple entries with the same `requirement_id`.
1665
1377
  *
1666
1378
  * # Permissions
1667
1379
  * * Asset
1668
1380
  **/
1669
- replaceAssetCompliance: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, assetCompliance: Vec<PolymeshPrimitivesComplianceManagerComplianceRequirement> | (PolymeshPrimitivesComplianceManagerComplianceRequirement | {
1381
+ replaceAssetCompliance: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, assetCompliance: Vec<PolymeshPrimitivesComplianceManagerComplianceRequirement> | (PolymeshPrimitivesComplianceManagerComplianceRequirement | {
1670
1382
  senderConditions?: any;
1671
1383
  receiverConditions?: any;
1672
1384
  id?: any;
1673
1385
  } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
1674
- PolymeshPrimitivesTicker,
1386
+ PolymeshPrimitivesAssetAssetID,
1675
1387
  Vec<PolymeshPrimitivesComplianceManagerComplianceRequirement>
1676
1388
  ]>;
1677
1389
  /**
1678
1390
  * Removes an asset's compliance
1679
1391
  *
1680
1392
  * # Arguments
1681
- * * origin - Signer of the dispatchable. It should be the owner of the ticker
1682
- * * ticker - Symbol of the asset
1393
+ * * origin - Signer of the dispatchable. It should be the owner of the asset
1394
+ * * asset_id - Symbol of the asset
1683
1395
  *
1684
1396
  * # Permissions
1685
1397
  * * Asset
1686
1398
  **/
1687
- resetAssetCompliance: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1688
- PolymeshPrimitivesTicker
1399
+ resetAssetCompliance: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1400
+ PolymeshPrimitivesAssetAssetID
1689
1401
  ]>;
1690
1402
  /**
1691
- * Resumes the verification of conditions for `ticker` during transfers.
1403
+ * Resumes the verification of conditions for `asset_id` during transfers.
1692
1404
  *
1693
1405
  * # Arguments
1694
- * * origin - Signer of the dispatchable. It should be the owner of the ticker
1695
- * * ticker - Symbol of the asset
1406
+ * * origin - Signer of the dispatchable. It should be the owner of the asset
1407
+ * * asset_id - Symbol of the asset
1696
1408
  *
1697
1409
  * # Permissions
1698
1410
  * * Asset
1699
1411
  **/
1700
- resumeAssetCompliance: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1701
- PolymeshPrimitivesTicker
1412
+ resumeAssetCompliance: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1413
+ PolymeshPrimitivesAssetAssetID
1702
1414
  ]>;
1703
1415
  };
1704
1416
  contracts: {
@@ -1907,13 +1619,13 @@ declare module '@polkadot/api-base/types/submittable' {
1907
1619
  * Changes the record date of the CA identified by `ca_id`.
1908
1620
  *
1909
1621
  * ## Arguments
1910
- * - `origin` which must be an external agent of `ca_id.ticker` with relevant permissions.
1622
+ * - `origin` which must be an external agent of `ca_id.asset_id` with relevant permissions.
1911
1623
  * - `ca_id` of the CA to alter.
1912
1624
  * - `record_date`, if any, to calculate the impact of the CA.
1913
1625
  * If provided, this results in a scheduled balance snapshot ("checkpoint") at the date.
1914
1626
  *
1915
1627
  * # Errors
1916
- * - `UnauthorizedAgent` if `origin` is not agent-permissioned for `ticker`.
1628
+ * - `UnauthorizedAgent` if `origin` is not agent-permissioned for `asset_id`.
1917
1629
  * - `NoSuchCA` if `id` does not identify an existing CA.
1918
1630
  * - When `record_date.is_some()`, other errors due to checkpoint scheduling may occur.
1919
1631
  *
@@ -1921,7 +1633,7 @@ declare module '@polkadot/api-base/types/submittable' {
1921
1633
  * * Asset
1922
1634
  **/
1923
1635
  changeRecordDate: AugmentedSubmittable<(caId: PalletCorporateActionsCaId | {
1924
- ticker?: any;
1636
+ assetId?: any;
1925
1637
  localId?: any;
1926
1638
  } | string | Uint8Array, recordDate: Option<PalletCorporateActionsRecordDateSpec> | null | Uint8Array | PalletCorporateActionsRecordDateSpec | {
1927
1639
  Scheduled: any;
@@ -1934,11 +1646,11 @@ declare module '@polkadot/api-base/types/submittable' {
1934
1646
  Option<PalletCorporateActionsRecordDateSpec>
1935
1647
  ]>;
1936
1648
  /**
1937
- * Initiates a CA for `ticker` of `kind` with `details` and other provided arguments.
1649
+ * Initiates a CA for `asset_id` of `kind` with `details` and other provided arguments.
1938
1650
  *
1939
1651
  * ## Arguments
1940
- * - `origin` which must be an external agent of `ticker` with relevant permissions.
1941
- * - `ticker` that the CA is made for.
1652
+ * - `origin` which must be an external agent of `asset_id` with relevant permissions.
1653
+ * - `asset_id` that the CA is made for.
1942
1654
  * - `kind` of CA being initiated.
1943
1655
  * - `decl_date` of CA bring initialized.
1944
1656
  * - `record_date`, if any, to calculate the impact of this CA.
@@ -1953,8 +1665,8 @@ declare module '@polkadot/api-base/types/submittable' {
1953
1665
  *
1954
1666
  * # Errors
1955
1667
  * - `DetailsTooLong` if `details.len()` goes beyond `max_details_length`.
1956
- * - `UnauthorizedAgent` if `origin` is not agent-permissioned for `ticker`.
1957
- * - `CounterOverflow` in the unlikely event that so many CAs were created for this `ticker`,
1668
+ * - `UnauthorizedAgent` if `origin` is not agent-permissioned for `asset_id`.
1669
+ * - `CounterOverflow` in the unlikely event that so many CAs were created for this `asset_id`,
1958
1670
  * that integer overflow would have occured if instead allowed.
1959
1671
  * - `TooManyDidTaxes` if `withholding_tax.unwrap().len()` would go over the limit `MaxDidWhts`.
1960
1672
  * - `DuplicateDidTax` if a DID is included more than once in `wt`.
@@ -1965,7 +1677,7 @@ declare module '@polkadot/api-base/types/submittable' {
1965
1677
  * # Permissions
1966
1678
  * * Asset
1967
1679
  **/
1968
- 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 | {
1680
+ initiateCorporateAction: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, kind: PalletCorporateActionsCaKind | 'PredictableBenefit' | 'UnpredictableBenefit' | 'IssuerNotice' | 'Reorganization' | 'Other' | number | Uint8Array, declDate: u64 | AnyNumber | Uint8Array, recordDate: Option<PalletCorporateActionsRecordDateSpec> | null | Uint8Array | PalletCorporateActionsRecordDateSpec | {
1969
1681
  Scheduled: any;
1970
1682
  } | {
1971
1683
  ExistingSchedule: any;
@@ -1978,7 +1690,7 @@ declare module '@polkadot/api-base/types/submittable' {
1978
1690
  PolymeshPrimitivesIdentityId | string | Uint8Array,
1979
1691
  Permill | AnyNumber | Uint8Array
1980
1692
  ][]) => SubmittableExtrinsic<ApiType>, [
1981
- PolymeshPrimitivesTicker,
1693
+ PolymeshPrimitivesAssetAssetID,
1982
1694
  PalletCorporateActionsCaKind,
1983
1695
  u64,
1984
1696
  Option<PalletCorporateActionsRecordDateSpec>,
@@ -1991,7 +1703,7 @@ declare module '@polkadot/api-base/types/submittable' {
1991
1703
  * Utility extrinsic to batch `initiate_corporate_action` and `distribute`
1992
1704
  **/
1993
1705
  initiateCorporateActionAndDistribute: AugmentedSubmittable<(caArgs: PalletCorporateActionsInitiateCorporateActionArgs | {
1994
- ticker?: any;
1706
+ assetId?: any;
1995
1707
  kind?: any;
1996
1708
  declDate?: any;
1997
1709
  recordDate?: any;
@@ -1999,10 +1711,10 @@ declare module '@polkadot/api-base/types/submittable' {
1999
1711
  targets?: any;
2000
1712
  defaultWithholdingTax?: any;
2001
1713
  withholdingTax?: any;
2002
- } | 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>, [
1714
+ } | string | Uint8Array, portfolio: Option<u64> | null | Uint8Array | u64 | AnyNumber, currency: PolymeshPrimitivesAssetAssetID | string | Uint8Array, perShare: u128 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array, paymentAt: u64 | AnyNumber | Uint8Array, expiresAt: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
2003
1715
  PalletCorporateActionsInitiateCorporateActionArgs,
2004
1716
  Option<u64>,
2005
- PolymeshPrimitivesTicker,
1717
+ PolymeshPrimitivesAssetAssetID,
2006
1718
  u128,
2007
1719
  u128,
2008
1720
  u64,
@@ -2016,12 +1728,12 @@ declare module '@polkadot/api-base/types/submittable' {
2016
1728
  * Once both exist, they can now be linked together.
2017
1729
  *
2018
1730
  * ## Arguments
2019
- * - `origin` which must be an external agent of `id.ticker` with relevant permissions.
1731
+ * - `origin` which must be an external agent of `id.asset_id` with relevant permissions.
2020
1732
  * - `id` of the CA to associate with `docs`.
2021
1733
  * - `docs` to associate with the CA with `id`.
2022
1734
  *
2023
1735
  * # Errors
2024
- * - `UnauthorizedAgent` if `origin` is not agent-permissioned for `ticker`.
1736
+ * - `UnauthorizedAgent` if `origin` is not agent-permissioned for `asset_id`.
2025
1737
  * - `NoSuchCA` if `id` does not identify an existing CA.
2026
1738
  * - `NoSuchDoc` if any of `docs` does not identify an existing document.
2027
1739
  *
@@ -2029,7 +1741,7 @@ declare module '@polkadot/api-base/types/submittable' {
2029
1741
  * * Asset
2030
1742
  **/
2031
1743
  linkCaDoc: AugmentedSubmittable<(id: PalletCorporateActionsCaId | {
2032
- ticker?: any;
1744
+ assetId?: any;
2033
1745
  localId?: any;
2034
1746
  } | string | Uint8Array, docs: Vec<u32> | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
2035
1747
  PalletCorporateActionsCaId,
@@ -2045,18 +1757,18 @@ declare module '@polkadot/api-base/types/submittable' {
2045
1757
  * `strong_ref_count(schedule_id)` decremented.
2046
1758
  *
2047
1759
  * ## Arguments
2048
- * - `origin` which must be an external agent of `ca_id.ticker` with relevant permissions.
1760
+ * - `origin` which must be an external agent of `ca_id.asset_id` with relevant permissions.
2049
1761
  * - `ca_id` of the CA to remove.
2050
1762
  *
2051
1763
  * # Errors
2052
- * - `UnauthorizedAgent` if `origin` is not agent-permissioned for `ticker`.
1764
+ * - `UnauthorizedAgent` if `origin` is not agent-permissioned for `asset_id`.
2053
1765
  * - `NoSuchCA` if `id` does not identify an existing CA.
2054
1766
  *
2055
1767
  * # Permissions
2056
1768
  * * Asset
2057
1769
  **/
2058
1770
  removeCa: AugmentedSubmittable<(caId: PalletCorporateActionsCaId | {
2059
- ticker?: any;
1771
+ assetId?: any;
2060
1772
  localId?: any;
2061
1773
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2062
1774
  PalletCorporateActionsCaId
@@ -2065,62 +1777,62 @@ declare module '@polkadot/api-base/types/submittable' {
2065
1777
  * Set the default CA `TargetIdentities` to `targets`.
2066
1778
  *
2067
1779
  * ## Arguments
2068
- * - `origin` which must be an external agent of `ticker` with relevant permissions.
2069
- * - `ticker` for which the default identities are changing.
1780
+ * - `origin` which must be an external agent of `asset_id` with relevant permissions.
1781
+ * - `asset_id` for which the default identities are changing.
2070
1782
  * - `targets` the default target identities for a CA.
2071
1783
  *
2072
1784
  * ## Errors
2073
- * - `UnauthorizedAgent` if `origin` is not agent-permissioned for `ticker`.
1785
+ * - `UnauthorizedAgent` if `origin` is not agent-permissioned for `asset_id`.
2074
1786
  * - `TooManyTargetIds` if `targets.identities.len() > T::MaxTargetIds::get()`.
2075
1787
  *
2076
1788
  * # Permissions
2077
1789
  * * Asset
2078
1790
  **/
2079
- setDefaultTargets: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, targets: PalletCorporateActionsTargetIdentities | {
1791
+ setDefaultTargets: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, targets: PalletCorporateActionsTargetIdentities | {
2080
1792
  identities?: any;
2081
1793
  treatment?: any;
2082
1794
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2083
- PolymeshPrimitivesTicker,
1795
+ PolymeshPrimitivesAssetAssetID,
2084
1796
  PalletCorporateActionsTargetIdentities
2085
1797
  ]>;
2086
1798
  /**
2087
- * Set the default withholding tax for all DIDs and CAs relevant to this `ticker`.
1799
+ * Set the default withholding tax for all DIDs and CAs relevant to this `asset_id`.
2088
1800
  *
2089
1801
  * ## Arguments
2090
- * - `origin` which must be an external agent of `ticker` with relevant permissions.
2091
- * - `ticker` that the withholding tax will apply to.
1802
+ * - `origin` which must be an external agent of `asset_id` with relevant permissions.
1803
+ * - `asset_id` that the withholding tax will apply to.
2092
1804
  * - `tax` that should be withheld when distributing dividends, etc.
2093
1805
  *
2094
1806
  * ## Errors
2095
- * - `UnauthorizedAgent` if `origin` is not agent-permissioned for `ticker`.
1807
+ * - `UnauthorizedAgent` if `origin` is not agent-permissioned for `asset_id`.
2096
1808
  *
2097
1809
  * # Permissions
2098
1810
  * * Asset
2099
1811
  **/
2100
- setDefaultWithholdingTax: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, tax: Permill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2101
- PolymeshPrimitivesTicker,
1812
+ setDefaultWithholdingTax: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, tax: Permill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1813
+ PolymeshPrimitivesAssetAssetID,
2102
1814
  Permill
2103
1815
  ]>;
2104
1816
  /**
2105
- * Set the withholding tax of `ticker` for `taxed_did` to `tax`.
2106
- * If `Some(tax)`, this overrides the default withholding tax of `ticker` to `tax` for `taxed_did`.
1817
+ * Set the withholding tax of `asset_id` for `taxed_did` to `tax`.
1818
+ * If `Some(tax)`, this overrides the default withholding tax of `asset_id` to `tax` for `taxed_did`.
2107
1819
  * Otherwise, if `None`, the default withholding tax will be used.
2108
1820
  *
2109
1821
  * ## Arguments
2110
- * - `origin` which must be an external agent of `ticker` with relevant permissions.
2111
- * - `ticker` that the withholding tax will apply to.
1822
+ * - `origin` which must be an external agent of `asset_id` with relevant permissions.
1823
+ * - `asset_id` that the withholding tax will apply to.
2112
1824
  * - `taxed_did` that will have its withholding tax updated.
2113
1825
  * - `tax` that should be withheld when distributing dividends, etc.
2114
1826
  *
2115
1827
  * ## Errors
2116
- * - `UnauthorizedAgent` if `origin` is not agent-permissioned for `ticker`.
1828
+ * - `UnauthorizedAgent` if `origin` is not agent-permissioned for `asset_id`.
2117
1829
  * - `TooManyDidTaxes` if `Some(tax)` and adding the override would go over the limit `MaxDidWhts`.
2118
1830
  *
2119
1831
  * # Permissions
2120
1832
  * * Asset
2121
1833
  **/
2122
- setDidWithholdingTax: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, taxedDid: PolymeshPrimitivesIdentityId | string | Uint8Array, tax: Option<Permill> | null | Uint8Array | Permill | AnyNumber) => SubmittableExtrinsic<ApiType>, [
2123
- PolymeshPrimitivesTicker,
1834
+ setDidWithholdingTax: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, taxedDid: PolymeshPrimitivesIdentityId | string | Uint8Array, tax: Option<Permill> | null | Uint8Array | Permill | AnyNumber) => SubmittableExtrinsic<ApiType>, [
1835
+ PolymeshPrimitivesAssetAssetID,
2124
1836
  PolymeshPrimitivesIdentityId,
2125
1837
  Option<Permill>
2126
1838
  ]>;
@@ -2142,14 +1854,14 @@ declare module '@polkadot/api-base/types/submittable' {
2142
1854
  * See the `BallotMeta` for more.
2143
1855
  *
2144
1856
  * ## Arguments
2145
- * - `origin` is a signer that has permissions to act as an agent of `ca_id.ticker`.
1857
+ * - `origin` is a signer that has permissions to act as an agent of `ca_id.asset_id`.
2146
1858
  * - `ca_id` identifies the CA to attach the ballot to.
2147
1859
  * - `range` specifies when voting starts and ends.
2148
1860
  * - `meta` specifies the ballot's metadata as aforementioned.
2149
1861
  * - `rcv` specifies whether RCV is enabled for this ballot.
2150
1862
  *
2151
1863
  * # Errors
2152
- * - `UnauthorizedAgent` if `origin` is not agent-permissioned for `ticker`.
1864
+ * - `UnauthorizedAgent` if `origin` is not agent-permissioned for `asset_id`.
2153
1865
  * - `NoSuchCA` if `ca_id` does not identify an existing CA.
2154
1866
  * - `CANotNotice` if the CA is not of the `IssuerNotice` kind.
2155
1867
  * - `StartAfterEnd` if `range.start > range.end`.
@@ -2162,7 +1874,7 @@ declare module '@polkadot/api-base/types/submittable' {
2162
1874
  * - `InsufficientBalance` if the protocol fee couldn't be charged.
2163
1875
  **/
2164
1876
  attachBallot: AugmentedSubmittable<(caId: PalletCorporateActionsCaId | {
2165
- ticker?: any;
1877
+ assetId?: any;
2166
1878
  localId?: any;
2167
1879
  } | string | Uint8Array, range: PalletCorporateActionsBallotBallotTimeRange | {
2168
1880
  start?: any;
@@ -2180,18 +1892,18 @@ declare module '@polkadot/api-base/types/submittable' {
2180
1892
  * Amend the end date of the ballot of the CA identified by `ca_id`.
2181
1893
  *
2182
1894
  * ## Arguments
2183
- * - `origin` is a signer that has permissions to act as an agent of `ca_id.ticker`.
1895
+ * - `origin` is a signer that has permissions to act as an agent of `ca_id.asset_id`.
2184
1896
  * - `ca_id` identifies the attached ballot's CA.
2185
1897
  * - `end` specifies the new end date of the ballot.
2186
1898
  *
2187
1899
  * # Errors
2188
- * - `UnauthorizedAgent` if `origin` is not agent-permissioned for `ticker`.
1900
+ * - `UnauthorizedAgent` if `origin` is not agent-permissioned for `asset_id`.
2189
1901
  * - `NoSuchBallot` if `ca_id` does not identify a ballot.
2190
1902
  * - `VotingAlreadyStarted` if `start >= now`, where `now` is the current time.
2191
1903
  * - `StartAfterEnd` if `start > end`.
2192
1904
  **/
2193
1905
  changeEnd: AugmentedSubmittable<(caId: PalletCorporateActionsCaId | {
2194
- ticker?: any;
1906
+ assetId?: any;
2195
1907
  localId?: any;
2196
1908
  } | string | Uint8Array, end: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2197
1909
  PalletCorporateActionsCaId,
@@ -2201,19 +1913,19 @@ declare module '@polkadot/api-base/types/submittable' {
2201
1913
  * Amend the metadata (title, motions, etc.) of the ballot of the CA identified by `ca_id`.
2202
1914
  *
2203
1915
  * ## Arguments
2204
- * - `origin` is a signer that has permissions to act as an agent of `ca_id.ticker`.
1916
+ * - `origin` is a signer that has permissions to act as an agent of `ca_id.asset_id`.
2205
1917
  * - `ca_id` identifies the attached ballot's CA.
2206
1918
  * - `meta` specifies the new metadata.
2207
1919
  *
2208
1920
  * # Errors
2209
- * - `UnauthorizedAgent` if `origin` is not agent-permissioned for `ticker`.
1921
+ * - `UnauthorizedAgent` if `origin` is not agent-permissioned for `asset_id`.
2210
1922
  * - `NoSuchBallot` if `ca_id` does not identify a ballot.
2211
1923
  * - `VotingAlreadyStarted` if `start >= now`, where `now` is the current time.
2212
1924
  * - `NumberOfChoicesOverflow` if the total choice in `meta` overflows `usize`.
2213
1925
  * - `TooLong` if any of the embedded strings in `meta` are too long.
2214
1926
  **/
2215
1927
  changeMeta: AugmentedSubmittable<(caId: PalletCorporateActionsCaId | {
2216
- ticker?: any;
1928
+ assetId?: any;
2217
1929
  localId?: any;
2218
1930
  } | string | Uint8Array, meta: PalletCorporateActionsBallotBallotMeta | {
2219
1931
  title?: any;
@@ -2226,17 +1938,17 @@ declare module '@polkadot/api-base/types/submittable' {
2226
1938
  * Amend RCV support for the ballot of the CA identified by `ca_id`.
2227
1939
  *
2228
1940
  * ## Arguments
2229
- * - `origin` is a signer that has permissions to act as an agent of `ca_id.ticker`.
1941
+ * - `origin` is a signer that has permissions to act as an agent of `ca_id.asset_id`.
2230
1942
  * - `ca_id` identifies the attached ballot's CA.
2231
1943
  * - `rcv` specifies if RCV is to be supported or not.
2232
1944
  *
2233
1945
  * # Errors
2234
- * - `UnauthorizedAgent` if `origin` is not agent-permissioned for `ticker`.
1946
+ * - `UnauthorizedAgent` if `origin` is not agent-permissioned for `asset_id`.
2235
1947
  * - `NoSuchBallot` if `ca_id` does not identify a ballot.
2236
1948
  * - `VotingAlreadyStarted` if `start >= now`, where `now` is the current time.
2237
1949
  **/
2238
1950
  changeRcv: AugmentedSubmittable<(caId: PalletCorporateActionsCaId | {
2239
- ticker?: any;
1951
+ assetId?: any;
2240
1952
  localId?: any;
2241
1953
  } | string | Uint8Array, rcv: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2242
1954
  PalletCorporateActionsCaId,
@@ -2246,16 +1958,16 @@ declare module '@polkadot/api-base/types/submittable' {
2246
1958
  * Remove the ballot of the CA identified by `ca_id`.
2247
1959
  *
2248
1960
  * ## Arguments
2249
- * - `origin` is a signer that has permissions to act as an agent of `ca_id.ticker`.
1961
+ * - `origin` is a signer that has permissions to act as an agent of `ca_id.asset_id`.
2250
1962
  * - `ca_id` identifies the attached ballot's CA.
2251
1963
  *
2252
1964
  * # Errors
2253
- * - `UnauthorizedAgent` if `origin` is not agent-permissioned for `ticker`.
1965
+ * - `UnauthorizedAgent` if `origin` is not agent-permissioned for `asset_id`.
2254
1966
  * - `NoSuchBallot` if `ca_id` does not identify a ballot.
2255
1967
  * - `VotingAlreadyStarted` if `start >= now`, where `now` is the current time.
2256
1968
  **/
2257
1969
  removeBallot: AugmentedSubmittable<(caId: PalletCorporateActionsCaId | {
2258
- ticker?: any;
1970
+ assetId?: any;
2259
1971
  localId?: any;
2260
1972
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2261
1973
  PalletCorporateActionsCaId
@@ -2280,7 +1992,7 @@ declare module '@polkadot/api-base/types/submittable' {
2280
1992
  * exceeds `origin`'s DID's voting power.
2281
1993
  **/
2282
1994
  vote: AugmentedSubmittable<(caId: PalletCorporateActionsCaId | {
2283
- ticker?: any;
1995
+ assetId?: any;
2284
1996
  localId?: any;
2285
1997
  } | string | Uint8Array, votes: Vec<PalletCorporateActionsBallotBallotVote> | (PalletCorporateActionsBallotBallotVote | {
2286
1998
  power?: any;
@@ -2290,26 +2002,116 @@ declare module '@polkadot/api-base/types/submittable' {
2290
2002
  Vec<PalletCorporateActionsBallotBallotVote>
2291
2003
  ]>;
2292
2004
  };
2005
+ electionProviderMultiPhase: {
2006
+ /**
2007
+ * Trigger the governance fallback.
2008
+ *
2009
+ * This can only be called when [`Phase::Emergency`] is enabled, as an alternative to
2010
+ * calling [`Call::set_emergency_election_result`].
2011
+ **/
2012
+ governanceFallback: AugmentedSubmittable<(maybeMaxVoters: Option<u32> | null | Uint8Array | u32 | AnyNumber, maybeMaxTargets: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
2013
+ Option<u32>,
2014
+ Option<u32>
2015
+ ]>;
2016
+ /**
2017
+ * Set a solution in the queue, to be handed out to the client of this pallet in the next
2018
+ * call to `ElectionProvider::elect`.
2019
+ *
2020
+ * This can only be set by `T::ForceOrigin`, and only when the phase is `Emergency`.
2021
+ *
2022
+ * The solution is not checked for any feasibility and is assumed to be trustworthy, as any
2023
+ * feasibility check itself can in principle cause the election process to fail (due to
2024
+ * memory/weight constrains).
2025
+ **/
2026
+ setEmergencyElectionResult: AugmentedSubmittable<(supports: Vec<ITuple<[AccountId32, SpNposElectionsSupport]>> | [
2027
+ AccountId32 | string | Uint8Array,
2028
+ SpNposElectionsSupport | {
2029
+ total?: any;
2030
+ voters?: any;
2031
+ } | string | Uint8Array
2032
+ ][]) => SubmittableExtrinsic<ApiType>, [
2033
+ Vec<ITuple<[AccountId32, SpNposElectionsSupport]>>
2034
+ ]>;
2035
+ /**
2036
+ * Set a new value for `MinimumUntrustedScore`.
2037
+ *
2038
+ * Dispatch origin must be aligned with `T::ForceOrigin`.
2039
+ *
2040
+ * This check can be turned off by setting the value to `None`.
2041
+ **/
2042
+ setMinimumUntrustedScore: AugmentedSubmittable<(maybeNextScore: Option<SpNposElectionsElectionScore> | null | Uint8Array | SpNposElectionsElectionScore | {
2043
+ minimalStake?: any;
2044
+ sumStake?: any;
2045
+ sumStakeSquared?: any;
2046
+ } | string) => SubmittableExtrinsic<ApiType>, [
2047
+ Option<SpNposElectionsElectionScore>
2048
+ ]>;
2049
+ /**
2050
+ * Submit a solution for the signed phase.
2051
+ *
2052
+ * The dispatch origin fo this call must be __signed__.
2053
+ *
2054
+ * The solution is potentially queued, based on the claimed score and processed at the end
2055
+ * of the signed phase.
2056
+ *
2057
+ * A deposit is reserved and recorded for the solution. Based on the outcome, the solution
2058
+ * might be rewarded, slashed, or get all or a part of the deposit back.
2059
+ **/
2060
+ submit: AugmentedSubmittable<(rawSolution: PalletElectionProviderMultiPhaseRawSolution | {
2061
+ solution?: any;
2062
+ score?: any;
2063
+ round?: any;
2064
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2065
+ PalletElectionProviderMultiPhaseRawSolution
2066
+ ]>;
2067
+ /**
2068
+ * Submit a solution for the unsigned phase.
2069
+ *
2070
+ * The dispatch origin fo this call must be __none__.
2071
+ *
2072
+ * This submission is checked on the fly. Moreover, this unsigned solution is only
2073
+ * validated when submitted to the pool from the **local** node. Effectively, this means
2074
+ * that only active validators can submit this transaction when authoring a block (similar
2075
+ * to an inherent).
2076
+ *
2077
+ * To prevent any incorrect solution (and thus wasted time/weight), this transaction will
2078
+ * panic if the solution submitted by the validator is invalid in any way, effectively
2079
+ * putting their authoring reward at risk.
2080
+ *
2081
+ * No deposit or reward is associated with this submission.
2082
+ **/
2083
+ submitUnsigned: AugmentedSubmittable<(rawSolution: PalletElectionProviderMultiPhaseRawSolution | {
2084
+ solution?: any;
2085
+ score?: any;
2086
+ round?: any;
2087
+ } | string | Uint8Array, witness: PalletElectionProviderMultiPhaseSolutionOrSnapshotSize | {
2088
+ voters?: any;
2089
+ targets?: any;
2090
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2091
+ PalletElectionProviderMultiPhaseRawSolution,
2092
+ PalletElectionProviderMultiPhaseSolutionOrSnapshotSize
2093
+ ]>;
2094
+ };
2293
2095
  externalAgents: {
2294
2096
  /**
2295
- * Abdicate agentship for `ticker`.
2097
+ * Abdicate agentship for `asset_id`.
2296
2098
  *
2297
2099
  * # Arguments
2298
- * - `ticker` of which the caller is an agent.
2100
+ * - `assetID` the [`AssetID] of which the caller is an agent.
2299
2101
  *
2300
2102
  * # Errors
2301
- * - `NotAnAgent` if the caller is not an agent of `ticker`.
2103
+ * - `NotAnAgent` if the caller is not an agent of `asset_id`.
2302
2104
  * - `RemovingLastFullAgent` if the caller is the last full agent.
2303
2105
  *
2304
2106
  * # Permissions
2305
2107
  * * Asset
2306
2108
  **/
2307
- abdicate: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2308
- PolymeshPrimitivesTicker
2109
+ abdicate: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2110
+ PolymeshPrimitivesAssetAssetID
2309
2111
  ]>;
2310
2112
  /**
2311
2113
  * Accept an authorization by an agent "Alice" who issued `auth_id`
2312
- * to also become an agent of the ticker Alice specified.
2114
+ * to also become an agent of the asset Alice specified.
2313
2115
  *
2314
2116
  * # Arguments
2315
2117
  * - `auth_id` identifying the authorization to accept.
@@ -2320,7 +2122,7 @@ declare module '@polkadot/api-base/types/submittable' {
2320
2122
  * - `AuthorizationError::BadType` if `auth_id` was not for a `BecomeAgent` auth type.
2321
2123
  * - `UnauthorizedAgent` if "Alice" is not permissioned to provide the auth.
2322
2124
  * - `NoSuchAG` if the group referred to a custom that does not exist.
2323
- * - `AlreadyAnAgent` if the caller is already an agent of the ticker.
2125
+ * - `AlreadyAnAgent` if the caller is already an agent of the asset.
2324
2126
  *
2325
2127
  * # Permissions
2326
2128
  * * Agent
@@ -2329,24 +2131,24 @@ declare module '@polkadot/api-base/types/submittable' {
2329
2131
  u64
2330
2132
  ]>;
2331
2133
  /**
2332
- * Change the agent group that `agent` belongs to in `ticker`.
2134
+ * Change the agent group that `agent` belongs to in `asset_id`.
2333
2135
  *
2334
2136
  * # Arguments
2335
- * - `ticker` that has the `agent`.
2336
- * - `agent` of `ticker` to change the group for.
2337
- * - `group` that `agent` will belong to in `ticker`.
2137
+ * - `assetID` the [`AssetID] that has the `agent`.
2138
+ * - `agent` of `asset_id` to change the group for.
2139
+ * - `group` that `agent` will belong to in `asset_id`.
2338
2140
  *
2339
2141
  * # Errors
2340
2142
  * - `UnauthorizedAgent` if `origin` was not authorized as an agent to call this.
2341
2143
  * - `NoSuchAG` if `id` does not identify a custom AG.
2342
- * - `NotAnAgent` if `agent` is not an agent of `ticker`.
2144
+ * - `NotAnAgent` if `agent` is not an agent of `asset_id`.
2343
2145
  * - `RemovingLastFullAgent` if `agent` was a `Full` one and is being demoted.
2344
2146
  *
2345
2147
  * # Permissions
2346
2148
  * * Asset
2347
2149
  * * Agent
2348
2150
  **/
2349
- changeGroup: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, agent: PolymeshPrimitivesIdentityId | string | Uint8Array, group: PolymeshPrimitivesAgentAgentGroup | {
2151
+ changeGroup: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, agent: PolymeshPrimitivesIdentityId | string | Uint8Array, group: PolymeshPrimitivesAgentAgentGroup | {
2350
2152
  Full: any;
2351
2153
  } | {
2352
2154
  Custom: any;
@@ -2357,7 +2159,7 @@ declare module '@polkadot/api-base/types/submittable' {
2357
2159
  } | {
2358
2160
  PolymeshV1PIA: any;
2359
2161
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2360
- PolymeshPrimitivesTicker,
2162
+ PolymeshPrimitivesAssetAssetID,
2361
2163
  PolymeshPrimitivesIdentityId,
2362
2164
  PolymeshPrimitivesAgentAgentGroup
2363
2165
  ]>;
@@ -2368,26 +2170,26 @@ declare module '@polkadot/api-base/types/submittable' {
2368
2170
  * * Asset
2369
2171
  * * Agent
2370
2172
  **/
2371
- createAndChangeCustomGroup: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, perms: PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions | {
2173
+ createAndChangeCustomGroup: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, perms: PolymeshPrimitivesSecondaryKeyExtrinsicPermissions | {
2372
2174
  Whole: any;
2373
2175
  } | {
2374
2176
  These: any;
2375
2177
  } | {
2376
2178
  Except: any;
2377
2179
  } | string | Uint8Array, agent: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2378
- PolymeshPrimitivesTicker,
2379
- PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions,
2180
+ PolymeshPrimitivesAssetAssetID,
2181
+ PolymeshPrimitivesSecondaryKeyExtrinsicPermissions,
2380
2182
  PolymeshPrimitivesIdentityId
2381
2183
  ]>;
2382
2184
  /**
2383
- * Creates a custom agent group (AG) for the given `ticker`.
2185
+ * Creates a custom agent group (AG) for the given `asset_id`.
2384
2186
  *
2385
2187
  * The AG will have the permissions as given by `perms`.
2386
2188
  * This new AG is then assigned `id = AGIdSequence::get() + 1` as its `AGId`,
2387
- * which you can use as `AgentGroup::Custom(id)` when adding agents for `ticker`.
2189
+ * which you can use as `AgentGroup::Custom(id)` when adding agents for `asset_id`.
2388
2190
  *
2389
2191
  * # Arguments
2390
- * - `ticker` to add the custom group for.
2192
+ * - `assetID` the [`AssetID] to add the custom group for.
2391
2193
  * - `perms` that the new AG will have.
2392
2194
  *
2393
2195
  * # Errors
@@ -2399,15 +2201,15 @@ declare module '@polkadot/api-base/types/submittable' {
2399
2201
  * * Asset
2400
2202
  * * Agent
2401
2203
  **/
2402
- createGroup: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, perms: PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions | {
2204
+ createGroup: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, perms: PolymeshPrimitivesSecondaryKeyExtrinsicPermissions | {
2403
2205
  Whole: any;
2404
2206
  } | {
2405
2207
  These: any;
2406
2208
  } | {
2407
2209
  Except: any;
2408
2210
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2409
- PolymeshPrimitivesTicker,
2410
- PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions
2211
+ PolymeshPrimitivesAssetAssetID,
2212
+ PolymeshPrimitivesSecondaryKeyExtrinsicPermissions
2411
2213
  ]>;
2412
2214
  /**
2413
2215
  * Utility extrinsic to batch `create_group` and `add_auth`.
@@ -2416,44 +2218,44 @@ declare module '@polkadot/api-base/types/submittable' {
2416
2218
  * * Asset
2417
2219
  * * Agent
2418
2220
  **/
2419
- createGroupAndAddAuth: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, perms: PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions | {
2221
+ createGroupAndAddAuth: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, perms: PolymeshPrimitivesSecondaryKeyExtrinsicPermissions | {
2420
2222
  Whole: any;
2421
2223
  } | {
2422
2224
  These: any;
2423
2225
  } | {
2424
2226
  Except: any;
2425
2227
  } | string | Uint8Array, target: PolymeshPrimitivesIdentityId | string | Uint8Array, expiry: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
2426
- PolymeshPrimitivesTicker,
2427
- PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions,
2228
+ PolymeshPrimitivesAssetAssetID,
2229
+ PolymeshPrimitivesSecondaryKeyExtrinsicPermissions,
2428
2230
  PolymeshPrimitivesIdentityId,
2429
2231
  Option<u64>
2430
2232
  ]>;
2431
2233
  /**
2432
- * Remove the given `agent` from `ticker`.
2234
+ * Remove the given `agent` from `asset_id`.
2433
2235
  *
2434
2236
  * # Arguments
2435
- * - `ticker` that has the `agent` to remove.
2436
- * - `agent` of `ticker` to remove.
2237
+ * - `assetID` the [`AssetID] that has the `agent` to remove.
2238
+ * - `agent` of `asset_id` to remove.
2437
2239
  *
2438
2240
  * # Errors
2439
2241
  * - `UnauthorizedAgent` if `origin` was not authorized as an agent to call this.
2440
- * - `NotAnAgent` if `agent` is not an agent of `ticker`.
2242
+ * - `NotAnAgent` if `agent` is not an agent of `asset_id`.
2441
2243
  * - `RemovingLastFullAgent` if `agent` is the last full one.
2442
2244
  *
2443
2245
  * # Permissions
2444
2246
  * * Asset
2445
2247
  * * Agent
2446
2248
  **/
2447
- removeAgent: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, agent: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2448
- PolymeshPrimitivesTicker,
2249
+ removeAgent: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, agent: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2250
+ PolymeshPrimitivesAssetAssetID,
2449
2251
  PolymeshPrimitivesIdentityId
2450
2252
  ]>;
2451
2253
  /**
2452
- * Updates the permissions of the custom AG identified by `id`, for the given `ticker`.
2254
+ * Updates the permissions of the custom AG identified by `id`, for the given `asset_id`.
2453
2255
  *
2454
2256
  * # Arguments
2455
- * - `ticker` the custom AG belongs to.
2456
- * - `id` for the custom AG within `ticker`.
2257
+ * - `assetID` the [`AssetID] the custom AG belongs to.
2258
+ * - `id` for the custom AG within `asset_id`.
2457
2259
  * - `perms` to update the custom AG to.
2458
2260
  *
2459
2261
  * # Errors
@@ -2465,16 +2267,16 @@ declare module '@polkadot/api-base/types/submittable' {
2465
2267
  * * Asset
2466
2268
  * * Agent
2467
2269
  **/
2468
- setGroupPermissions: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, id: u32 | AnyNumber | Uint8Array, perms: PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions | {
2270
+ setGroupPermissions: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, id: u32 | AnyNumber | Uint8Array, perms: PolymeshPrimitivesSecondaryKeyExtrinsicPermissions | {
2469
2271
  Whole: any;
2470
2272
  } | {
2471
2273
  These: any;
2472
2274
  } | {
2473
2275
  Except: any;
2474
2276
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2475
- PolymeshPrimitivesTicker,
2277
+ PolymeshPrimitivesAssetAssetID,
2476
2278
  u32,
2477
- PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions
2279
+ PolymeshPrimitivesSecondaryKeyExtrinsicPermissions
2478
2280
  ]>;
2479
2281
  };
2480
2282
  grandpa: {
@@ -2856,7 +2658,7 @@ declare module '@polkadot/api-base/types/submittable' {
2856
2658
  } | string | Uint8Array, scope: Option<PolymeshPrimitivesIdentityClaimScope> | null | Uint8Array | PolymeshPrimitivesIdentityClaimScope | {
2857
2659
  Identity: any;
2858
2660
  } | {
2859
- Ticker: any;
2661
+ Asset: any;
2860
2662
  } | {
2861
2663
  Custom: any;
2862
2664
  } | string) => SubmittableExtrinsic<ApiType>, [
@@ -3050,67 +2852,41 @@ declare module '@polkadot/api-base/types/submittable' {
3050
2852
  };
3051
2853
  multiSig: {
3052
2854
  /**
3053
- * Accepts a multisig signer authorization given to signer's identity.
2855
+ * Accepts a multisig signer authorization given to signer's key (AccountId).
3054
2856
  *
3055
2857
  * # Arguments
3056
2858
  * * `auth_id` - Auth id of the authorization.
3057
- * #[deprecated(since = "6.1.0", note = "Identity based signers not supported")]
3058
2859
  **/
3059
- acceptMultisigSignerAsIdentity: AugmentedSubmittable<(authId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2860
+ acceptMultisigSigner: AugmentedSubmittable<(authId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3060
2861
  u64
3061
2862
  ]>;
3062
2863
  /**
3063
- * Accepts a multisig signer authorization given to signer's key (AccountId).
3064
- *
3065
- * # Arguments
3066
- * * `auth_id` - Auth id of the authorization.
2864
+ * Add an admin identity to the multisig. This must be called by the multisig itself.
3067
2865
  **/
3068
- acceptMultisigSignerAsKey: AugmentedSubmittable<(authId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3069
- u64
2866
+ addAdmin: AugmentedSubmittable<(adminDid: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2867
+ PolymeshPrimitivesIdentityId
3070
2868
  ]>;
3071
2869
  /**
3072
- * Adds a signer to the multisig. This must be called by the multisig itself.
2870
+ * Adds signers to the multisig. This must be called by the multisig itself.
3073
2871
  *
3074
2872
  * # Arguments
3075
- * * `signer` - Signatory to add.
2873
+ * * `signers` - Signers to add.
3076
2874
  **/
3077
- addMultisigSigner: AugmentedSubmittable<(signer: PolymeshPrimitivesSecondaryKeySignatory | {
3078
- Identity: any;
3079
- } | {
3080
- Account: any;
3081
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3082
- PolymeshPrimitivesSecondaryKeySignatory
2875
+ addMultisigSigners: AugmentedSubmittable<(signers: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
2876
+ Vec<AccountId32>
3083
2877
  ]>;
3084
2878
  /**
3085
- * Adds a signer to the multisig. This must be called by the creator identity of the
2879
+ * Adds a signer to the multisig. This must be called by the admin identity of the
3086
2880
  * multisig.
3087
2881
  *
3088
2882
  * # Arguments
3089
2883
  * * `multisig` - Address of the multi sig
3090
- * * `signers` - Signatories to add.
3091
- *
3092
- * # Weight
3093
- * `900_000_000 + 3_000_000 * signers.len()`
3094
- **/
3095
- addMultisigSignersViaCreator: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, signers: Vec<PolymeshPrimitivesSecondaryKeySignatory> | (PolymeshPrimitivesSecondaryKeySignatory | {
3096
- Identity: any;
3097
- } | {
3098
- Account: any;
3099
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
3100
- AccountId32,
3101
- Vec<PolymeshPrimitivesSecondaryKeySignatory>
3102
- ]>;
3103
- /**
3104
- * Approves a multisig proposal using the caller's identity.
2884
+ * * `signers` - Signers to add.
3105
2885
  *
3106
- * # Arguments
3107
- * * `multisig` - MultiSig address.
3108
- * * `proposal_id` - Proposal id to approve.
3109
- * If quorum is reached, the proposal will be immediately executed.
3110
2886
  **/
3111
- approveAsIdentity: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposalId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2887
+ addMultisigSignersViaAdmin: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, signers: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
3112
2888
  AccountId32,
3113
- u64
2889
+ Vec<AccountId32>
3114
2890
  ]>;
3115
2891
  /**
3116
2892
  * Approves a multisig proposal using the caller's secondary key (`AccountId`).
@@ -3118,157 +2894,88 @@ declare module '@polkadot/api-base/types/submittable' {
3118
2894
  * # Arguments
3119
2895
  * * `multisig` - MultiSig address.
3120
2896
  * * `proposal_id` - Proposal id to approve.
3121
- * If quorum is reached, the proposal will be immediately executed.
3122
- **/
3123
- approveAsKey: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposalId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3124
- AccountId32,
3125
- u64
3126
- ]>;
3127
- /**
3128
- * Changes the number of signatures required by a multisig. This must be called by the
3129
- * multisig itself.
3130
- *
3131
- * # Arguments
3132
- * * `sigs_required` - New number of required signatures.
3133
- **/
3134
- changeSigsRequired: AugmentedSubmittable<(sigsRequired: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3135
- u64
3136
- ]>;
3137
- /**
3138
- * Changes the number of signatures required by a multisig. This must be called by the creator of the multisig.
3139
- *
3140
- * # Arguments
3141
- * * `multisig_account` - The account identifier ([`AccountId`]) for the multi signature account.
3142
- * * `signatures_required` - The number of required signatures.
3143
- **/
3144
- changeSigsRequiredViaCreator: AugmentedSubmittable<(multisigAccount: AccountId32 | string | Uint8Array, signaturesRequired: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3145
- AccountId32,
3146
- u64
3147
- ]>;
3148
- /**
3149
- * Creates a multisig
2897
+ * * `max_weight` - The maximum weight to execute the proposal.
3150
2898
  *
3151
- * # Arguments
3152
- * * `signers` - Signers of the multisig (They need to accept authorization before they are actually added).
3153
- * * `sigs_required` - Number of sigs required to process a multi-sig tx.
3154
- **/
3155
- createMultisig: AugmentedSubmittable<(signers: Vec<PolymeshPrimitivesSecondaryKeySignatory> | (PolymeshPrimitivesSecondaryKeySignatory | {
3156
- Identity: any;
3157
- } | {
3158
- Account: any;
3159
- } | string | Uint8Array)[], sigsRequired: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3160
- Vec<PolymeshPrimitivesSecondaryKeySignatory>,
3161
- u64
3162
- ]>;
3163
- /**
3164
- * Creates a multisig proposal if it hasn't been created or approves it if it has.
3165
- *
3166
- * # Arguments
3167
- * * `multisig` - MultiSig address.
3168
- * * `proposal` - Proposal to be voted on.
3169
- * * `expiry` - Optional proposal expiry time.
3170
- * * `auto_close` - Close proposal on receiving enough reject votes.
3171
- * If this is 1 out of `m` multisig, the proposal will be immediately executed.
3172
- * #[deprecated(since = "6.0.0", note = "Please use the `create_proposal_as_identity` and `approve_as_identity` instead")]
3173
- **/
3174
- createOrApproveProposalAsIdentity: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposal: Call | IMethod | string | Uint8Array, expiry: Option<u64> | null | Uint8Array | u64 | AnyNumber, autoClose: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3175
- AccountId32,
3176
- Call,
3177
- Option<u64>,
3178
- bool
3179
- ]>;
3180
- /**
3181
- * Creates a multisig proposal if it hasn't been created or approves it if it has.
3182
- *
3183
- * # Arguments
3184
- * * `multisig` - MultiSig address.
3185
- * * `proposal` - Proposal to be voted on.
3186
- * * `expiry` - Optional proposal expiry time.
3187
- * * `auto_close` - Close proposal on receiving enough reject votes.
3188
- * If this is 1 out of `m` multisig, the proposal will be immediately executed.
3189
- * #[deprecated(since = "6.0.0", note = "Please use the `create_proposal_as_key` and `approve_as_key` instead")]
3190
- **/
3191
- createOrApproveProposalAsKey: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposal: Call | IMethod | string | Uint8Array, expiry: Option<u64> | null | Uint8Array | u64 | AnyNumber, autoClose: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3192
- AccountId32,
3193
- Call,
3194
- Option<u64>,
3195
- bool
3196
- ]>;
3197
- /**
3198
- * Creates a multisig proposal
3199
- *
3200
- * # Arguments
3201
- * * `multisig` - MultiSig address.
3202
- * * `proposal` - Proposal to be voted on.
3203
- * * `expiry` - Optional proposal expiry time.
3204
- * * `auto_close` - Close proposal on receiving enough reject votes.
3205
- * If this is 1 out of `m` multisig, the proposal will be immediately executed.
2899
+ * If quorum is reached, the proposal will be immediately executed.
3206
2900
  **/
3207
- createProposalAsIdentity: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposal: Call | IMethod | string | Uint8Array, expiry: Option<u64> | null | Uint8Array | u64 | AnyNumber, autoClose: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2901
+ approve: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposalId: u64 | AnyNumber | Uint8Array, maxWeight: Option<SpWeightsWeightV2Weight> | null | Uint8Array | SpWeightsWeightV2Weight | {
2902
+ refTime?: any;
2903
+ proofSize?: any;
2904
+ } | string) => SubmittableExtrinsic<ApiType>, [
3208
2905
  AccountId32,
3209
- Call,
3210
- Option<u64>,
3211
- bool
2906
+ u64,
2907
+ Option<SpWeightsWeightV2Weight>
3212
2908
  ]>;
3213
2909
  /**
3214
- * Creates a multisig proposal
2910
+ * Approves a multisig join identity proposal.
3215
2911
  *
3216
2912
  * # Arguments
3217
2913
  * * `multisig` - MultiSig address.
3218
- * * `proposal` - Proposal to be voted on.
3219
- * * `expiry` - Optional proposal expiry time.
3220
- * * `auto_close` - Close proposal on receiving enough reject votes.
3221
- * If this is 1 out of `m` multisig, the proposal will be immediately executed.
2914
+ * * `auth_id` - The join identity authorization to approve.
2915
+ *
2916
+ * If quorum is reached, the join identity proposal will be immediately executed.
3222
2917
  **/
3223
- createProposalAsKey: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposal: Call | IMethod | string | Uint8Array, expiry: Option<u64> | null | Uint8Array | u64 | AnyNumber, autoClose: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2918
+ approveJoinIdentity: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, authId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3224
2919
  AccountId32,
3225
- Call,
3226
- Option<u64>,
3227
- bool
2920
+ u64
3228
2921
  ]>;
3229
2922
  /**
3230
- * Root callable extrinsic, used as an internal call for executing scheduled multisig proposal.
2923
+ * Changes the number of signatures required by a multisig. This must be called by the
2924
+ * multisig itself.
2925
+ *
2926
+ * # Arguments
2927
+ * * `sigs_required` - New number of required signatures.
3231
2928
  **/
3232
- executeScheduledProposal: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposalId: u64 | AnyNumber | Uint8Array, multisigDid: PolymeshPrimitivesIdentityId | string | Uint8Array, proposalWeight: SpWeightsWeightV2Weight | {
3233
- refTime?: any;
3234
- proofSize?: any;
3235
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3236
- AccountId32,
3237
- u64,
3238
- PolymeshPrimitivesIdentityId,
3239
- SpWeightsWeightV2Weight
2929
+ changeSigsRequired: AugmentedSubmittable<(sigsRequired: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2930
+ u64
3240
2931
  ]>;
3241
2932
  /**
3242
- * Adds a multisig as the primary key of the current did if the current DID is the creator
3243
- * of the multisig.
2933
+ * Changes the number of signatures required by a multisig. This must be called by the admin of the multisig.
3244
2934
  *
3245
2935
  * # Arguments
3246
- * * `multi_sig` - multi sig address
2936
+ * * `multisig` - The account identifier ([`AccountId`]) for the multi signature account.
2937
+ * * `signatures_required` - The number of required signatures.
3247
2938
  **/
3248
- makeMultisigPrimary: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, optionalCddAuthId: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
2939
+ changeSigsRequiredViaAdmin: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, signaturesRequired: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3249
2940
  AccountId32,
3250
- Option<u64>
2941
+ u64
3251
2942
  ]>;
3252
2943
  /**
3253
- * Adds a multisig as a secondary key of current did if the current did is the creator of the
3254
- * multisig.
2944
+ * Creates a multisig
3255
2945
  *
3256
2946
  * # Arguments
3257
- * * `multisig` - multi sig address
2947
+ * * `signers` - Signers of the multisig (They need to accept authorization before they are actually added).
2948
+ * * `sigs_required` - Number of sigs required to process a multi-sig tx.
2949
+ * * `permissions` - optional custom permissions. Only the primary key can provide custom permissions.
3258
2950
  **/
3259
- makeMultisigSecondary: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3260
- AccountId32
2951
+ createMultisig: AugmentedSubmittable<(signers: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], sigsRequired: u64 | AnyNumber | Uint8Array, permissions: Option<PolymeshPrimitivesSecondaryKeyPermissions> | null | Uint8Array | PolymeshPrimitivesSecondaryKeyPermissions | {
2952
+ asset?: any;
2953
+ extrinsic?: any;
2954
+ portfolio?: any;
2955
+ } | string) => SubmittableExtrinsic<ApiType>, [
2956
+ Vec<AccountId32>,
2957
+ u64,
2958
+ Option<PolymeshPrimitivesSecondaryKeyPermissions>
3261
2959
  ]>;
3262
2960
  /**
3263
- * Rejects a multisig proposal using the caller's identity.
2961
+ * Creates a multisig proposal
3264
2962
  *
3265
2963
  * # Arguments
3266
2964
  * * `multisig` - MultiSig address.
3267
- * * `proposal_id` - Proposal id to reject.
3268
- * If quorum is reached, the proposal will be immediately executed.
2965
+ * * `proposal` - Proposal to be voted on.
2966
+ * * `expiry` - Optional proposal expiry time.
2967
+ *
2968
+ * If this is 1 out of `m` multisig, the proposal will be immediately executed.
3269
2969
  **/
3270
- rejectAsIdentity: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposalId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2970
+ createProposal: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposal: Call | IMethod | string | Uint8Array, expiry: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
3271
2971
  AccountId32,
2972
+ Call,
2973
+ Option<u64>
2974
+ ]>;
2975
+ /**
2976
+ * Accept a JoinIdentity authorization for this multisig. This must be called by the multisig itself.
2977
+ **/
2978
+ joinIdentity: AugmentedSubmittable<(authId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3272
2979
  u64
3273
2980
  ]>;
3274
2981
  /**
@@ -3279,48 +2986,47 @@ declare module '@polkadot/api-base/types/submittable' {
3279
2986
  * * `proposal_id` - Proposal id to reject.
3280
2987
  * If quorum is reached, the proposal will be immediately executed.
3281
2988
  **/
3282
- rejectAsKey: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposalId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2989
+ reject: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposalId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3283
2990
  AccountId32,
3284
2991
  u64
3285
2992
  ]>;
3286
2993
  /**
3287
- * Removes the creator ability to call `add_multisig_signers_via_creator`, `remove_multisig_signers_via_creator`
3288
- * and `change_sigs_required_via_creator`.
2994
+ * Removes the admin identity from the `multisig`. This must be called by the admin of the multisig.
3289
2995
  **/
3290
- removeCreatorControls: AugmentedSubmittable<(multisigAccount: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2996
+ removeAdminViaAdmin: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3291
2997
  AccountId32
3292
2998
  ]>;
3293
2999
  /**
3294
- * Removes a signer from the multisig. This must be called by the multisig itself.
3000
+ * Removes signers from the multisig. This must be called by the multisig itself.
3295
3001
  *
3296
3002
  * # Arguments
3297
- * * `signer` - Signatory to remove.
3003
+ * * `signers` - Signers to remove.
3298
3004
  **/
3299
- removeMultisigSigner: AugmentedSubmittable<(signer: PolymeshPrimitivesSecondaryKeySignatory | {
3300
- Identity: any;
3301
- } | {
3302
- Account: any;
3303
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3304
- PolymeshPrimitivesSecondaryKeySignatory
3005
+ removeMultisigSigners: AugmentedSubmittable<(signers: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
3006
+ Vec<AccountId32>
3305
3007
  ]>;
3306
3008
  /**
3307
3009
  * Removes a signer from the multisig.
3308
- * This must be called by the creator identity of the multisig.
3010
+ * This must be called by the admin identity of the multisig.
3309
3011
  *
3310
3012
  * # Arguments
3311
3013
  * * `multisig` - Address of the multisig.
3312
- * * `signers` - Signatories to remove.
3014
+ * * `signers` - Signers to remove.
3313
3015
  *
3314
- * # Weight
3315
- * `900_000_000 + 3_000_000 * signers.len()`
3316
3016
  **/
3317
- removeMultisigSignersViaCreator: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, signers: Vec<PolymeshPrimitivesSecondaryKeySignatory> | (PolymeshPrimitivesSecondaryKeySignatory | {
3318
- Identity: any;
3319
- } | {
3320
- Account: any;
3321
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
3017
+ removeMultisigSignersViaAdmin: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, signers: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
3322
3018
  AccountId32,
3323
- Vec<PolymeshPrimitivesSecondaryKeySignatory>
3019
+ Vec<AccountId32>
3020
+ ]>;
3021
+ /**
3022
+ * Removes the paying identity from the `multisig`. This must be called by the multisig itself.
3023
+ **/
3024
+ removePayer: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
3025
+ /**
3026
+ * Removes the paying identity from the `multisig`. This must be called by the paying identity of the multisig.
3027
+ **/
3028
+ removePayerViaPayer: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3029
+ AccountId32
3324
3030
  ]>;
3325
3031
  };
3326
3032
  nft: {
@@ -3328,8 +3034,7 @@ declare module '@polkadot/api-base/types/submittable' {
3328
3034
  * Forces the transfer of NFTs from a given portfolio to the caller's portfolio.
3329
3035
  *
3330
3036
  * # Arguments
3331
- * * `origin` - is a signer that has permissions to act as an agent of `ticker`.
3332
- * * `ticker` - the [`Ticker`] of the NFT collection.
3037
+ * * `origin` - is a signer that has permissions to act as an agent of `asset_id`.
3333
3038
  * * `nft_id` - the [`NFTId`] of the NFT to be transferred.
3334
3039
  * * `source_portfolio` - the [`PortfolioId`] that currently holds the NFT.
3335
3040
  * * `callers_portfolio_kind` - the [`PortfolioKind`] of the caller's portfolio.
@@ -3338,8 +3043,8 @@ declare module '@polkadot/api-base/types/submittable' {
3338
3043
  * * Asset
3339
3044
  * * Portfolio
3340
3045
  **/
3341
- controllerTransfer: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, nfts: PolymeshPrimitivesNftNfTs | {
3342
- ticker?: any;
3046
+ controllerTransfer: AugmentedSubmittable<(nfts: PolymeshPrimitivesNftNfTs | {
3047
+ assetId?: any;
3343
3048
  ids?: any;
3344
3049
  } | string | Uint8Array, sourcePortfolio: PolymeshPrimitivesIdentityIdPortfolioId | {
3345
3050
  did?: any;
@@ -3349,7 +3054,6 @@ declare module '@polkadot/api-base/types/submittable' {
3349
3054
  } | {
3350
3055
  User: any;
3351
3056
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3352
- PolymeshPrimitivesTicker,
3353
3057
  PolymeshPrimitivesNftNfTs,
3354
3058
  PolymeshPrimitivesIdentityIdPortfolioId,
3355
3059
  PolymeshPrimitivesIdentityIdPortfolioKind
@@ -3359,12 +3063,12 @@ declare module '@polkadot/api-base/types/submittable' {
3359
3063
  *
3360
3064
  * # Arguments
3361
3065
  * * `origin` - contains the secondary key of the caller (i.e. who signed the transaction to execute this function).
3362
- * * `ticker` - the ticker associated to the new collection.
3066
+ * * `asset_id` - optional [`AssetID`] associated to the new collection. `None` will create a new asset.
3363
3067
  * * `nft_type` - in case the asset hasn't been created yet, one will be created with the given type.
3364
3068
  * * `collection_keys` - all mandatory metadata keys that the tokens in the collection must have.
3365
3069
  *
3366
3070
  * ## Errors
3367
- * - `CollectionAlredyRegistered` - if the ticker is already associated to an NFT collection.
3071
+ * - `CollectionAlredyRegistered` - if the asset_id is already associated to an NFT collection.
3368
3072
  * - `InvalidAssetType` - if the associated asset is not of type NFT.
3369
3073
  * - `MaxNumberOfKeysExceeded` - if the number of metadata keys for the collection is greater than the maximum allowed.
3370
3074
  * - `UnregisteredMetadataKey` - if any of the metadata keys needed for the collection has not been registered.
@@ -3373,7 +3077,7 @@ declare module '@polkadot/api-base/types/submittable' {
3373
3077
  * # Permissions
3374
3078
  * * Asset
3375
3079
  **/
3376
- createNftCollection: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, nftType: Option<PolymeshPrimitivesAssetNonFungibleType> | null | Uint8Array | PolymeshPrimitivesAssetNonFungibleType | {
3080
+ createNftCollection: AugmentedSubmittable<(assetId: Option<PolymeshPrimitivesAssetAssetID> | null | Uint8Array | PolymeshPrimitivesAssetAssetID | string, nftType: Option<PolymeshPrimitivesAssetNonFungibleType> | null | Uint8Array | PolymeshPrimitivesAssetNonFungibleType | {
3377
3081
  Derivative: any;
3378
3082
  } | {
3379
3083
  FixedIncome: any;
@@ -3382,7 +3086,7 @@ declare module '@polkadot/api-base/types/submittable' {
3382
3086
  } | {
3383
3087
  Custom: any;
3384
3088
  } | string, collectionKeys: PolymeshPrimitivesNftNftCollectionKeys) => SubmittableExtrinsic<ApiType>, [
3385
- PolymeshPrimitivesTicker,
3089
+ Option<PolymeshPrimitivesAssetAssetID>,
3386
3090
  Option<PolymeshPrimitivesAssetNonFungibleType>,
3387
3091
  PolymeshPrimitivesNftNftCollectionKeys
3388
3092
  ]>;
@@ -3390,13 +3094,13 @@ declare module '@polkadot/api-base/types/submittable' {
3390
3094
  * Issues an NFT to the caller.
3391
3095
  *
3392
3096
  * # Arguments
3393
- * * `origin` - is a signer that has permissions to act as an agent of `ticker`.
3394
- * * `ticker` - the ticker of the NFT collection.
3097
+ * * `origin` - is a signer that has permissions to act as an agent of `asset_id`.
3098
+ * * `asset_id` - the [`AssetID`] of the NFT collection.
3395
3099
  * * `nft_metadata_attributes` - all mandatory metadata keys and values for the NFT.
3396
3100
  * - `portfolio_kind` - the portfolio that will receive the minted nft.
3397
3101
  *
3398
3102
  * ## Errors
3399
- * - `CollectionNotFound` - if the collection associated to the given ticker has not been created.
3103
+ * - `CollectionNotFound` - if the collection associated to the given asset_id has not been created.
3400
3104
  * - `InvalidMetadataAttribute` - if the number of attributes is not equal to the number set in the collection or attempting to set a value for a key not definied in the collection.
3401
3105
  * - `DuplicateMetadataKey` - if a duplicate metadata keys has been passed as input.
3402
3106
  *
@@ -3405,7 +3109,7 @@ declare module '@polkadot/api-base/types/submittable' {
3405
3109
  * * Asset
3406
3110
  * * Portfolio
3407
3111
  **/
3408
- issueNft: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, nftMetadataAttributes: Vec<PolymeshPrimitivesNftNftMetadataAttribute> | (PolymeshPrimitivesNftNftMetadataAttribute | {
3112
+ issueNft: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, nftMetadataAttributes: Vec<PolymeshPrimitivesNftNftMetadataAttribute> | (PolymeshPrimitivesNftNftMetadataAttribute | {
3409
3113
  key?: any;
3410
3114
  value?: any;
3411
3115
  } | string | Uint8Array)[], portfolioKind: PolymeshPrimitivesIdentityIdPortfolioKind | {
@@ -3413,7 +3117,7 @@ declare module '@polkadot/api-base/types/submittable' {
3413
3117
  } | {
3414
3118
  User: any;
3415
3119
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3416
- PolymeshPrimitivesTicker,
3120
+ PolymeshPrimitivesAssetAssetID,
3417
3121
  Vec<PolymeshPrimitivesNftNftMetadataAttribute>,
3418
3122
  PolymeshPrimitivesIdentityIdPortfolioKind
3419
3123
  ]>;
@@ -3421,27 +3125,28 @@ declare module '@polkadot/api-base/types/submittable' {
3421
3125
  * Redeems the given NFT from the caller's portfolio.
3422
3126
  *
3423
3127
  * # Arguments
3424
- * * `origin` - is a signer that has permissions to act as an agent of `ticker`.
3425
- * * `ticker` - the ticker of the NFT collection.
3128
+ * * `origin` - is a signer that has permissions to act as an agent of `asset_id`.
3129
+ * * `asset_id` - the [`AssetID`] of the NFT collection.
3426
3130
  * * `nft_id` - the id of the NFT to be burned.
3427
3131
  * * `portfolio_kind` - the portfolio that contains the nft.
3428
3132
  *
3429
3133
  * ## Errors
3430
- * - `CollectionNotFound` - if the collection associated to the given ticker has not been created.
3134
+ * - `CollectionNotFound` - if the collection associated to the given asset_id has not been created.
3431
3135
  * - `NFTNotFound` - if the given NFT does not exist in the portfolio.
3432
3136
  *
3433
3137
  * # Permissions
3434
3138
  * * Asset
3435
3139
  * * Portfolio
3436
3140
  **/
3437
- redeemNft: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, nftId: u64 | AnyNumber | Uint8Array, portfolioKind: PolymeshPrimitivesIdentityIdPortfolioKind | {
3141
+ redeemNft: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, nftId: u64 | AnyNumber | Uint8Array, portfolioKind: PolymeshPrimitivesIdentityIdPortfolioKind | {
3438
3142
  Default: any;
3439
3143
  } | {
3440
3144
  User: any;
3441
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3442
- PolymeshPrimitivesTicker,
3145
+ } | string | Uint8Array, numberOfKeys: Option<u8> | null | Uint8Array | u8 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
3146
+ PolymeshPrimitivesAssetAssetID,
3443
3147
  u64,
3444
- PolymeshPrimitivesIdentityIdPortfolioKind
3148
+ PolymeshPrimitivesIdentityIdPortfolioKind,
3149
+ Option<u8>
3445
3150
  ]>;
3446
3151
  };
3447
3152
  pips: {
@@ -3958,7 +3663,7 @@ declare module '@polkadot/api-base/types/submittable' {
3958
3663
  * * `DifferentIdentityPortfolios` if the sender and receiver portfolios belong to different identities
3959
3664
  * * `UnauthorizedCustodian` if the caller is not the custodian of the from portfolio
3960
3665
  * * `InsufficientPortfolioBalance` if the sender does not have enough free balance
3961
- * * `NoDuplicateAssetsAllowed` the same ticker can't be repeated in the items vector.
3666
+ * * `NoDuplicateAssetsAllowed` the same asset can't be repeated in the items vector.
3962
3667
  * * `InvalidTransferNFTNotOwned` if the caller is trying to move an NFT he doesn't own.
3963
3668
  * * `InvalidTransferNFTIsLocked` if the caller is trying to move a locked NFT.
3964
3669
  *
@@ -3984,17 +3689,17 @@ declare module '@polkadot/api-base/types/submittable' {
3984
3689
  *
3985
3690
  * # Arguments
3986
3691
  * * `origin` - the secondary key of the sender.
3987
- * * `ticker` - the [`Ticker`] that will be exempt from affirmation.
3988
- * * `portfolio_id` - the [`PortfolioId`] that can receive `ticker` without affirmation.
3692
+ * * `asset_id` - the [`AssetID`] that will be exempt from affirmation.
3693
+ * * `portfolio_id` - the [`PortfolioId`] that can receive `asset_id` without affirmation.
3989
3694
  *
3990
3695
  * # Permissions
3991
3696
  * * Portfolio
3992
3697
  **/
3993
- preApprovePortfolio: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, portfolioId: PolymeshPrimitivesIdentityIdPortfolioId | {
3698
+ preApprovePortfolio: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, portfolioId: PolymeshPrimitivesIdentityIdPortfolioId | {
3994
3699
  did?: any;
3995
3700
  kind?: any;
3996
3701
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3997
- PolymeshPrimitivesTicker,
3702
+ PolymeshPrimitivesAssetAssetID,
3998
3703
  PolymeshPrimitivesIdentityIdPortfolioId
3999
3704
  ]>;
4000
3705
  /**
@@ -4018,17 +3723,17 @@ declare module '@polkadot/api-base/types/submittable' {
4018
3723
  *
4019
3724
  * # Arguments
4020
3725
  * * `origin` - the secondary key of the sender.
4021
- * * `ticker` - the [`Ticker`] that will be exempt from affirmation.
4022
- * * `portfolio_id` - the [`PortfolioId`] that can receive `ticker` without affirmation.
3726
+ * * `asset_id` - the [`AssetID`] that will be exempt from affirmation.
3727
+ * * `portfolio_id` - the [`PortfolioId`] that can receive `asset_id` without affirmation.
4023
3728
  *
4024
3729
  * # Permissions
4025
3730
  * * Portfolio
4026
3731
  **/
4027
- removePortfolioPreApproval: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, portfolioId: PolymeshPrimitivesIdentityIdPortfolioId | {
3732
+ removePortfolioPreApproval: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, portfolioId: PolymeshPrimitivesIdentityIdPortfolioId | {
4028
3733
  did?: any;
4029
3734
  kind?: any;
4030
3735
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4031
- PolymeshPrimitivesTicker,
3736
+ PolymeshPrimitivesAssetAssetID,
4032
3737
  PolymeshPrimitivesIdentityIdPortfolioId
4033
3738
  ]>;
4034
3739
  /**
@@ -4323,7 +4028,7 @@ declare module '@polkadot/api-base/types/submittable' {
4323
4028
  * # Permissions
4324
4029
  * * Portfolio
4325
4030
  **/
4326
- addAndAffirmInstruction: AugmentedSubmittable<(venueId: u64 | AnyNumber | Uint8Array, settlementType: PolymeshPrimitivesSettlementSettlementType | {
4031
+ addAndAffirmInstruction: AugmentedSubmittable<(venueId: Option<u64> | null | Uint8Array | u64 | AnyNumber, settlementType: PolymeshPrimitivesSettlementSettlementType | {
4327
4032
  SettleOnAffirmation: any;
4328
4033
  } | {
4329
4034
  SettleOnBlock: any;
@@ -4339,7 +4044,7 @@ declare module '@polkadot/api-base/types/submittable' {
4339
4044
  did?: any;
4340
4045
  kind?: any;
4341
4046
  } | string | Uint8Array)[], instructionMemo: Option<PolymeshPrimitivesMemo> | null | Uint8Array | PolymeshPrimitivesMemo | string) => SubmittableExtrinsic<ApiType>, [
4342
- u64,
4047
+ Option<u64>,
4343
4048
  PolymeshPrimitivesSettlementSettlementType,
4344
4049
  Option<u64>,
4345
4050
  Option<u64>,
@@ -4363,7 +4068,7 @@ declare module '@polkadot/api-base/types/submittable' {
4363
4068
  * # Permissions
4364
4069
  * * Portfolio
4365
4070
  **/
4366
- addAndAffirmWithMediators: AugmentedSubmittable<(venueId: u64 | AnyNumber | Uint8Array, settlementType: PolymeshPrimitivesSettlementSettlementType | {
4071
+ addAndAffirmWithMediators: AugmentedSubmittable<(venueId: Option<u64> | null | Uint8Array | u64 | AnyNumber, settlementType: PolymeshPrimitivesSettlementSettlementType | {
4367
4072
  SettleOnAffirmation: any;
4368
4073
  } | {
4369
4074
  SettleOnBlock: any;
@@ -4379,7 +4084,7 @@ declare module '@polkadot/api-base/types/submittable' {
4379
4084
  did?: any;
4380
4085
  kind?: any;
4381
4086
  } | string | Uint8Array)[], instructionMemo: Option<PolymeshPrimitivesMemo> | null | Uint8Array | PolymeshPrimitivesMemo | string, mediators: BTreeSet<PolymeshPrimitivesIdentityId>) => SubmittableExtrinsic<ApiType>, [
4382
- u64,
4087
+ Option<u64>,
4383
4088
  PolymeshPrimitivesSettlementSettlementType,
4384
4089
  Option<u64>,
4385
4090
  Option<u64>,
@@ -4392,14 +4097,14 @@ declare module '@polkadot/api-base/types/submittable' {
4392
4097
  * Adds a new instruction.
4393
4098
  *
4394
4099
  * # Arguments
4395
- * * `venue_id`: The [`VenueId`] of the venue this instruction belongs to.
4100
+ * * `venue_id`: The optional [`VenueId`] of the venue this instruction belongs to.
4396
4101
  * * `settlement_type`: The [`SettlementType`] specifying when the instruction should be settled.
4397
4102
  * * `trade_date`: Optional date from which people can interact with this instruction.
4398
4103
  * * `value_date`: Optional date after which the instruction should be settled (not enforced).
4399
4104
  * * `legs`: A vector of all [`Leg`] included in this instruction.
4400
4105
  * * `memo`: An optional [`Memo`] field for this instruction.
4401
4106
  **/
4402
- addInstruction: AugmentedSubmittable<(venueId: u64 | AnyNumber | Uint8Array, settlementType: PolymeshPrimitivesSettlementSettlementType | {
4107
+ addInstruction: AugmentedSubmittable<(venueId: Option<u64> | null | Uint8Array | u64 | AnyNumber, settlementType: PolymeshPrimitivesSettlementSettlementType | {
4403
4108
  SettleOnAffirmation: any;
4404
4109
  } | {
4405
4110
  SettleOnBlock: any;
@@ -4412,7 +4117,7 @@ declare module '@polkadot/api-base/types/submittable' {
4412
4117
  } | {
4413
4118
  OffChain: any;
4414
4119
  } | string | Uint8Array)[], instructionMemo: Option<PolymeshPrimitivesMemo> | null | Uint8Array | PolymeshPrimitivesMemo | string) => SubmittableExtrinsic<ApiType>, [
4415
- u64,
4120
+ Option<u64>,
4416
4121
  PolymeshPrimitivesSettlementSettlementType,
4417
4122
  Option<u64>,
4418
4123
  Option<u64>,
@@ -4431,7 +4136,7 @@ declare module '@polkadot/api-base/types/submittable' {
4431
4136
  * * `instruction_memo`: An optional [`Memo`] field for this instruction.
4432
4137
  * * `mediators`: A set of [`IdentityId`] of all the mandatory mediators for the instruction.
4433
4138
  **/
4434
- addInstructionWithMediators: AugmentedSubmittable<(venueId: u64 | AnyNumber | Uint8Array, settlementType: PolymeshPrimitivesSettlementSettlementType | {
4139
+ addInstructionWithMediators: AugmentedSubmittable<(venueId: Option<u64> | null | Uint8Array | u64 | AnyNumber, settlementType: PolymeshPrimitivesSettlementSettlementType | {
4435
4140
  SettleOnAffirmation: any;
4436
4141
  } | {
4437
4142
  SettleOnBlock: any;
@@ -4444,7 +4149,7 @@ declare module '@polkadot/api-base/types/submittable' {
4444
4149
  } | {
4445
4150
  OffChain: any;
4446
4151
  } | string | Uint8Array)[], instructionMemo: Option<PolymeshPrimitivesMemo> | null | Uint8Array | PolymeshPrimitivesMemo | string, mediators: BTreeSet<PolymeshPrimitivesIdentityId>) => SubmittableExtrinsic<ApiType>, [
4447
- u64,
4152
+ Option<u64>,
4448
4153
  PolymeshPrimitivesSettlementSettlementType,
4449
4154
  Option<u64>,
4450
4155
  Option<u64>,
@@ -4569,14 +4274,14 @@ declare module '@polkadot/api-base/types/submittable' {
4569
4274
  /**
4570
4275
  * Allows additional venues to create instructions involving an asset.
4571
4276
  *
4572
- * * `ticker` - Ticker of the token in question.
4277
+ * * `asset_id` - AssetID of the token in question.
4573
4278
  * * `venues` - Array of venues that are allowed to create instructions for the token in question.
4574
4279
  *
4575
4280
  * # Permissions
4576
4281
  * * Asset
4577
4282
  **/
4578
- allowVenues: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, venues: Vec<u64> | (u64 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
4579
- PolymeshPrimitivesTicker,
4283
+ allowVenues: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, venues: Vec<u64> | (u64 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
4284
+ PolymeshPrimitivesAssetAssetID,
4580
4285
  Vec<u64>
4581
4286
  ]>;
4582
4287
  /**
@@ -4594,14 +4299,14 @@ declare module '@polkadot/api-base/types/submittable' {
4594
4299
  /**
4595
4300
  * Revokes permission given to venues for creating instructions involving a particular asset.
4596
4301
  *
4597
- * * `ticker` - Ticker of the token in question.
4302
+ * * `asset_id` - AssetID of the token in question.
4598
4303
  * * `venues` - Array of venues that are no longer allowed to create instructions for the token in question.
4599
4304
  *
4600
4305
  * # Permissions
4601
4306
  * * Asset
4602
4307
  **/
4603
- disallowVenues: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, venues: Vec<u64> | (u64 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
4604
- PolymeshPrimitivesTicker,
4308
+ disallowVenues: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, venues: Vec<u64> | (u64 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
4309
+ PolymeshPrimitivesAssetAssetID,
4605
4310
  Vec<u64>
4606
4311
  ]>;
4607
4312
  /**
@@ -4633,9 +4338,6 @@ declare module '@polkadot/api-base/types/submittable' {
4633
4338
  u32,
4634
4339
  Option<SpWeightsWeightV2Weight>
4635
4340
  ]>;
4636
- rescheduleInstruction: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4637
- u64
4638
- ]>;
4639
4341
  /**
4640
4342
  * Root callable extrinsic, used as an internal call to execute a scheduled settlement instruction.
4641
4343
  **/
@@ -4709,14 +4411,14 @@ declare module '@polkadot/api-base/types/submittable' {
4709
4411
  * Enables or disabled venue filtering for a token.
4710
4412
  *
4711
4413
  * # Arguments
4712
- * * `ticker` - Ticker of the token in question.
4414
+ * * `asset_id` - AssetID of the token in question.
4713
4415
  * * `enabled` - Boolean that decides if the filtering should be enabled.
4714
4416
  *
4715
4417
  * # Permissions
4716
4418
  * * Asset
4717
4419
  **/
4718
- setVenueFiltering: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, enabled: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4719
- PolymeshPrimitivesTicker,
4420
+ setVenueFiltering: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, enabled: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4421
+ PolymeshPrimitivesAssetAssetID,
4720
4422
  bool
4721
4423
  ]>;
4722
4424
  /**
@@ -4805,13 +4507,9 @@ declare module '@polkadot/api-base/types/submittable' {
4805
4507
  };
4806
4508
  staking: {
4807
4509
  /**
4808
- * Scale up the ideal number of validators by a factor upto maximum of
4809
- * `ElectionProviderBase::MaxWinners`.
4510
+ * Adds a permissioned identity and sets its preferences.
4810
4511
  *
4811
4512
  * The dispatch origin must be Root.
4812
- *
4813
- * ## Complexity
4814
- * Same as [`Self::set_validator_count`].
4815
4513
  **/
4816
4514
  addPermissionedValidator: AugmentedSubmittable<(identity: PolymeshPrimitivesIdentityId | string | Uint8Array, intendedCount: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
4817
4515
  PolymeshPrimitivesIdentityId,
@@ -4852,6 +4550,8 @@ declare module '@polkadot/api-base/types/submittable' {
4852
4550
  Controller: any;
4853
4551
  } | {
4854
4552
  Account: any;
4553
+ } | {
4554
+ None: any;
4855
4555
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4856
4556
  MultiAddress,
4857
4557
  Compact<u128>,
@@ -4888,11 +4588,7 @@ declare module '@polkadot/api-base/types/submittable' {
4888
4588
  Vec<u32>
4889
4589
  ]>;
4890
4590
  /**
4891
- * Switch slashing status on the basis of given `SlashingSwitch`. Can only be called by root.
4892
- *
4893
- * # Arguments
4894
- * * origin - AccountId of root.
4895
- * * slashing_switch - Switch used to set the targets for s
4591
+ * Switch slashing status on the basis of given `slashing_switch`. Can only be called by root.
4896
4592
  **/
4897
4593
  changeSlashingAllowedFor: AugmentedSubmittable<(slashingSwitch: PalletStakingSlashingSwitch | 'Validator' | 'ValidatorAndNominator' | 'None' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4898
4594
  PalletStakingSlashingSwitch
@@ -4911,25 +4607,51 @@ declare module '@polkadot/api-base/types/submittable' {
4911
4607
  **/
4912
4608
  chill: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
4913
4609
  /**
4914
- * GC forcefully chills a validator.
4915
- * Effects will be felt at the beginning of the next era.
4916
- * And, it can be only called when [`EraElectionStatus`] is `Closed`.
4917
- *
4918
- * # Arguments
4919
- * * origin which must be a GC.
4920
- * * identity must be permissioned to run operator/validator nodes.
4921
- * * stash_keys contains the secondary keys of the permissioned identity
4922
- *
4923
- * # Errors
4924
- * * `BadOrigin` The origin was not a GC member.
4925
- * * `CallNotAllowed` The call is not allowed at the given time due to restrictions of election period.
4926
- * * `NotExists` Permissioned validator doesn't exist.
4927
- * * `NotStash` Not a stash account for the permissioned i
4610
+ * Governance council forcefully chills a validator. Effects will be felt at the beginning of the next era.
4928
4611
  **/
4929
4612
  chillFromGovernance: AugmentedSubmittable<(identity: PolymeshPrimitivesIdentityId | string | Uint8Array, stashKeys: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
4930
4613
  PolymeshPrimitivesIdentityId,
4931
4614
  Vec<AccountId32>
4932
4615
  ]>;
4616
+ /**
4617
+ * Declare a `controller` to stop participating as either a validator or nominator.
4618
+ *
4619
+ * Effects will be felt at the beginning of the next era.
4620
+ *
4621
+ * The dispatch origin for this call must be _Signed_, but can be called by anyone.
4622
+ *
4623
+ * If the caller is the same as the controller being targeted, then no further checks are
4624
+ * enforced, and this function behaves just like `chill`.
4625
+ *
4626
+ * If the caller is different than the controller being targeted, the following conditions
4627
+ * must be met:
4628
+ *
4629
+ * * `controller` must belong to a nominator who has become non-decodable,
4630
+ *
4631
+ * Or:
4632
+ *
4633
+ * * A `ChillThreshold` must be set and checked which defines how close to the max
4634
+ * nominators or validators we must reach before users can start chilling one-another.
4635
+ * * A `MaxNominatorCount` and `MaxValidatorCount` must be set which is used to determine
4636
+ * how close we are to the threshold.
4637
+ * * A `MinNominatorBond` and `MinValidatorBond` must be set and checked, which determines
4638
+ * if this is a person that should be chilled because they have not met the threshold
4639
+ * bond required.
4640
+ *
4641
+ * This can be helpful if bond requirements are updated, and we need to remove old users
4642
+ * who do not satisfy these requirements.
4643
+ **/
4644
+ chillOther: AugmentedSubmittable<(controller: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4645
+ AccountId32
4646
+ ]>;
4647
+ /**
4648
+ * Force a validator to have at least the minimum commission. This will not affect a
4649
+ * validator who already has a commission greater than or equal to the minimum. Any account
4650
+ * can call this.
4651
+ **/
4652
+ forceApplyMinCommission: AugmentedSubmittable<(validatorStash: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4653
+ AccountId32
4654
+ ]>;
4933
4655
  /**
4934
4656
  * Force there to be a new era at the end of the next session. After this, it will be
4935
4657
  * reset to normal (non-forced) behaviour.
@@ -4996,6 +4718,32 @@ declare module '@polkadot/api-base/types/submittable' {
4996
4718
  increaseValidatorCount: AugmentedSubmittable<(additional: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4997
4719
  Compact<u32>
4998
4720
  ]>;
4721
+ /**
4722
+ * Remove the given nominations from the calling validator.
4723
+ *
4724
+ * Effects will be felt at the beginning of the next era.
4725
+ *
4726
+ * The dispatch origin for this call must be _Signed_ by the controller, not the stash.
4727
+ *
4728
+ * - `who`: A list of nominator stash accounts who are nominating this validator which
4729
+ * should no longer be nominating this validator.
4730
+ *
4731
+ * Note: Making this call only makes sense if you first set the validator preferences to
4732
+ * block any further nominations.
4733
+ **/
4734
+ kick: AugmentedSubmittable<(who: Vec<MultiAddress> | (MultiAddress | {
4735
+ Id: any;
4736
+ } | {
4737
+ Index: any;
4738
+ } | {
4739
+ Raw: any;
4740
+ } | {
4741
+ Address32: any;
4742
+ } | {
4743
+ Address20: any;
4744
+ } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
4745
+ Vec<MultiAddress>
4746
+ ]>;
4999
4747
  /**
5000
4748
  * Declare the desire to nominate `targets` for the origin controller.
5001
4749
  *
@@ -5074,8 +4822,8 @@ declare module '@polkadot/api-base/types/submittable' {
5074
4822
  ]>;
5075
4823
  /**
5076
4824
  * Remove an identity from the pool of (wannabe) validator identities. Effects are known in the next session.
5077
- * Staking module checks `PermissionedIdentity` to ensure validators have
5078
- * completed KYB compliance
4825
+ *
4826
+ * The dispatch origin must be Root.
5079
4827
  *
5080
4828
  * # Arguments
5081
4829
  * * origin Required origin for removing a potential validator.
@@ -5132,19 +4880,6 @@ declare module '@polkadot/api-base/types/submittable' {
5132
4880
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5133
4881
  MultiAddress
5134
4882
  ]>;
5135
- /**
5136
- * Rebond a portion of the stash scheduled to be unlocked.
5137
- *
5138
- * The dispatch origin must be signed by the controller.
5139
- *
5140
- * ## Complexity
5141
- * - Time complexity: O(L), where L is unlocking chunks
5142
- * - Bounded by `MaxUnlockingChunks`.
5143
- **/
5144
- setHistoryDepth: AugmentedSubmittable<(newHistoryDepth: Compact<u32> | AnyNumber | Uint8Array, eraItemsDeleted: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5145
- Compact<u32>,
5146
- Compact<u32>
5147
- ]>;
5148
4883
  /**
5149
4884
  * Set the validators who cannot be slashed (if any).
5150
4885
  *
@@ -5154,14 +4889,13 @@ declare module '@polkadot/api-base/types/submittable' {
5154
4889
  Vec<AccountId32>
5155
4890
  ]>;
5156
4891
  /**
5157
- * Changes commission rate which applies to all validators. Only Governance
5158
- * committee is allowed to change this value.
4892
+ * Sets the minimum amount of commission that each validators must maintain.
5159
4893
  *
5160
- * # Arguments
5161
- * * `new_cap` the new commission cap.
4894
+ * This call has lower privilege requirements than `set_staking_config` and can be called
4895
+ * by the `T::AdminOrigin`. Root can always call this.
5162
4896
  **/
5163
- setMinBondThreshold: AugmentedSubmittable<(newValue: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5164
- u128
4897
+ setMinCommission: AugmentedSubmittable<(updated: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4898
+ Perbill
5165
4899
  ]>;
5166
4900
  /**
5167
4901
  * (Re-)set the payment target for a controller.
@@ -5185,143 +4919,84 @@ declare module '@polkadot/api-base/types/submittable' {
5185
4919
  Controller: any;
5186
4920
  } | {
5187
4921
  Account: any;
4922
+ } | {
4923
+ None: any;
5188
4924
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5189
4925
  PalletStakingRewardDestination
5190
4926
  ]>;
5191
4927
  /**
5192
- * Sets the ideal number of validators.
5193
- *
5194
- * The dispatch origin must be Root.
5195
- *
5196
- * ## Complexity
5197
- * O(1)
5198
- **/
5199
- setValidatorCount: AugmentedSubmittable<(updated: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5200
- Compact<u32>
5201
- ]>;
5202
- /**
5203
- * Submit an election result to the chain. If the solution:
5204
- *
5205
- * 1. is valid.
5206
- * 2. has a better score than a potentially existing solution on chain.
5207
- *
5208
- * then, it will be _put_ on chain.
5209
- *
5210
- * A solution consists of two pieces of data:
5211
- *
5212
- * 1. `winners`: a flat vector of all the winners of the round.
5213
- * 2. `assignments`: the compact version of an assignment vector that encodes the edge
5214
- * weights.
5215
- *
5216
- * Both of which may be computed using _phragmen_, or any other algorithm.
5217
- *
5218
- * Additionally, the submitter must provide:
5219
- *
5220
- * - The `score` that they claim their solution has.
5221
- *
5222
- * Both validators and nominators will be represented by indices in the solution. The
5223
- * indices should respect the corresponding types ([`ValidatorIndex`] and
5224
- * [`NominatorIndex`]). Moreover, they should be valid when used to index into
5225
- * [`SnapshotValidators`] and [`SnapshotNominators`]. Any invalid index will cause the
5226
- * solution to be rejected. These two storage items are set during the election window and
5227
- * may be used to determine the indices.
5228
- *
5229
- * A solution is valid if:
5230
- *
5231
- * 0. It is submitted when [`EraElectionStatus`] is `Open`.
5232
- * 1. Its claimed score is equal to the score computed on-chain.
5233
- * 2. Presents the correct number of winners.
5234
- * 3. All indexes must be value according to the snapshot vectors. All edge values must
5235
- * also be correct and should not overflow the granularity of the ratio type (i.e. 256
5236
- * or billion).
5237
- * 4. For each edge, all targets are actually nominated by the voter.
5238
- * 5. Has correct self-votes.
4928
+ * Update the various staking configurations .
5239
4929
  *
5240
- * A solutions score is consisted of 3 parameters:
4930
+ * * `min_nominator_bond`: The minimum active bond needed to be a nominator.
4931
+ * * `min_validator_bond`: The minimum active bond needed to be a validator.
4932
+ * * `max_nominator_count`: The max number of users who can be a nominator at once. When
4933
+ * set to `None`, no limit is enforced.
4934
+ * * `max_validator_count`: The max number of users who can be a validator at once. When
4935
+ * set to `None`, no limit is enforced.
4936
+ * * `chill_threshold`: The ratio of `max_nominator_count` or `max_validator_count` which
4937
+ * should be filled in order for the `chill_other` transaction to work.
4938
+ * * `min_commission`: The minimum amount of commission that each validators must maintain.
4939
+ * This is checked only upon calling `validate`. Existing validators are not affected.
5241
4940
  *
5242
- * 1. `min { support.total }` for each support of a winner. This value should be maximized.
5243
- * 2. `sum { support.total }` for each support of a winner. This value should be minimized.
5244
- * 3. `sum { support.total^2 }` for each support of a winner. This value should be
5245
- * minimized (to ensure less variance)
4941
+ * RuntimeOrigin must be Root to call this function.
5246
4942
  *
5247
- * # <weight>
5248
- * The transaction is assumed to be the longest path, a better solution.
5249
- * - Initial solution is almost the same.
5250
- * - Worse solution is retraced in pre-dispatch-checks which sets its own weight.
5251
- * # </weight>
4943
+ * NOTE: Existing nominators and validators will not be affected by this update.
4944
+ * to kick people under the new limits, `chill_other` should be called.
5252
4945
  **/
5253
- submitElectionSolution: AugmentedSubmittable<(winners: Vec<u16> | (u16 | AnyNumber | Uint8Array)[], compact: PalletStakingCompactAssignments | {
5254
- votes1?: any;
5255
- votes2?: any;
5256
- votes3?: any;
5257
- votes4?: any;
5258
- votes5?: any;
5259
- votes6?: any;
5260
- votes7?: any;
5261
- votes8?: any;
5262
- votes9?: any;
5263
- votes10?: any;
5264
- votes11?: any;
5265
- votes12?: any;
5266
- votes13?: any;
5267
- votes14?: any;
5268
- votes15?: any;
5269
- votes16?: any;
5270
- } | string | Uint8Array, score: SpNposElectionsElectionScore | {
5271
- minimalStake?: any;
5272
- sumStake?: any;
5273
- sumStakeSquared?: any;
5274
- } | string | Uint8Array, era: u32 | AnyNumber | Uint8Array, size: PalletStakingElectionSize | {
5275
- validators?: any;
5276
- nominators?: any;
4946
+ setStakingConfigs: AugmentedSubmittable<(minNominatorBond: PalletStakingPalletConfigOpU128 | {
4947
+ Noop: any;
4948
+ } | {
4949
+ Set: any;
4950
+ } | {
4951
+ Remove: any;
4952
+ } | string | Uint8Array, minValidatorBond: PalletStakingPalletConfigOpU128 | {
4953
+ Noop: any;
4954
+ } | {
4955
+ Set: any;
4956
+ } | {
4957
+ Remove: any;
4958
+ } | string | Uint8Array, maxNominatorCount: PalletStakingPalletConfigOpU32 | {
4959
+ Noop: any;
4960
+ } | {
4961
+ Set: any;
4962
+ } | {
4963
+ Remove: any;
4964
+ } | string | Uint8Array, maxValidatorCount: PalletStakingPalletConfigOpU32 | {
4965
+ Noop: any;
4966
+ } | {
4967
+ Set: any;
4968
+ } | {
4969
+ Remove: any;
4970
+ } | string | Uint8Array, chillThreshold: PalletStakingPalletConfigOpPercent | {
4971
+ Noop: any;
4972
+ } | {
4973
+ Set: any;
4974
+ } | {
4975
+ Remove: any;
4976
+ } | string | Uint8Array, minCommission: PalletStakingPalletConfigOpPerbill | {
4977
+ Noop: any;
4978
+ } | {
4979
+ Set: any;
4980
+ } | {
4981
+ Remove: any;
5277
4982
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5278
- Vec<u16>,
5279
- PalletStakingCompactAssignments,
5280
- SpNposElectionsElectionScore,
5281
- u32,
5282
- PalletStakingElectionSize
4983
+ PalletStakingPalletConfigOpU128,
4984
+ PalletStakingPalletConfigOpU128,
4985
+ PalletStakingPalletConfigOpU32,
4986
+ PalletStakingPalletConfigOpU32,
4987
+ PalletStakingPalletConfigOpPercent,
4988
+ PalletStakingPalletConfigOpPerbill
5283
4989
  ]>;
5284
4990
  /**
5285
- * Unsigned version of `submit_election_solution`.
4991
+ * Sets the ideal number of validators.
5286
4992
  *
5287
- * Note that this must pass the [`ValidateUnsigned`] check which only allows transactions
5288
- * from the local node to be included. In other words, only the block author can include a
5289
- * transaction in the block.
4993
+ * The dispatch origin must be Root.
5290
4994
  *
5291
- * # <weight>
5292
- * See [`submit_election_solution`].
5293
- * # </weight>
4995
+ * ## Complexity
4996
+ * O(1)
5294
4997
  **/
5295
- submitElectionSolutionUnsigned: AugmentedSubmittable<(winners: Vec<u16> | (u16 | AnyNumber | Uint8Array)[], compact: PalletStakingCompactAssignments | {
5296
- votes1?: any;
5297
- votes2?: any;
5298
- votes3?: any;
5299
- votes4?: any;
5300
- votes5?: any;
5301
- votes6?: any;
5302
- votes7?: any;
5303
- votes8?: any;
5304
- votes9?: any;
5305
- votes10?: any;
5306
- votes11?: any;
5307
- votes12?: any;
5308
- votes13?: any;
5309
- votes14?: any;
5310
- votes15?: any;
5311
- votes16?: any;
5312
- } | string | Uint8Array, score: SpNposElectionsElectionScore | {
5313
- minimalStake?: any;
5314
- sumStake?: any;
5315
- sumStakeSquared?: any;
5316
- } | string | Uint8Array, era: u32 | AnyNumber | Uint8Array, size: PalletStakingElectionSize | {
5317
- validators?: any;
5318
- nominators?: any;
5319
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5320
- Vec<u16>,
5321
- PalletStakingCompactAssignments,
5322
- SpNposElectionsElectionScore,
5323
- u32,
5324
- PalletStakingElectionSize
4998
+ setValidatorCount: AugmentedSubmittable<(updated: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4999
+ Compact<u32>
5325
5000
  ]>;
5326
5001
  /**
5327
5002
  * Schedule a portion of the stash to be unlocked ready for transfer out after the bond
@@ -5348,12 +5023,7 @@ declare module '@polkadot/api-base/types/submittable' {
5348
5023
  Compact<u128>
5349
5024
  ]>;
5350
5025
  /**
5351
- * Update the intended validator count for a given DID.
5352
- *
5353
- * # Arguments
5354
- * * origin which must be the required origin for adding a potential validator.
5355
- * * identity to add as a validator.
5356
- * * new_intended_count New value of intended co
5026
+ * Sets the intended count to `new_intended_count` for the given `identity`.
5357
5027
  **/
5358
5028
  updatePermissionedValidatorIntendedCount: AugmentedSubmittable<(identity: PolymeshPrimitivesIdentityId | string | Uint8Array, newIntendedCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5359
5029
  PolymeshPrimitivesIdentityId,
@@ -5402,140 +5072,29 @@ declare module '@polkadot/api-base/types/submittable' {
5402
5072
  u32
5403
5073
  ]>;
5404
5074
  };
5405
- stateTrieMigration: {
5406
- /**
5407
- * Continue the migration for the given `limits`.
5408
- *
5409
- * The dispatch origin of this call can be any signed account.
5410
- *
5411
- * This transaction has NO MONETARY INCENTIVES. calling it will not reward anyone. Albeit,
5412
- * Upon successful execution, the transaction fee is returned.
5413
- *
5414
- * The (potentially over-estimated) of the byte length of all the data read must be
5415
- * provided for up-front fee-payment and weighing. In essence, the caller is guaranteeing
5416
- * that executing the current `MigrationTask` with the given `limits` will not exceed
5417
- * `real_size_upper` bytes of read data.
5418
- *
5419
- * The `witness_task` is merely a helper to prevent the caller from being slashed or
5420
- * generally trigger a migration that they do not intend. This parameter is just a message
5421
- * from caller, saying that they believed `witness_task` was the last state of the
5422
- * migration, and they only wish for their transaction to do anything, if this assumption
5423
- * holds. In case `witness_task` does not match, the transaction fails.
5424
- *
5425
- * Based on the documentation of [`MigrationTask::migrate_until_exhaustion`], the
5426
- * recommended way of doing this is to pass a `limit` that only bounds `count`, as the
5427
- * `size` limit can always be overwritten.
5428
- **/
5429
- continueMigrate: AugmentedSubmittable<(limits: PalletStateTrieMigrationMigrationLimits | {
5430
- size_?: any;
5431
- item?: any;
5432
- } | string | Uint8Array, realSizeUpper: u32 | AnyNumber | Uint8Array, witnessTask: PalletStateTrieMigrationMigrationTask | {
5433
- progressTop?: any;
5434
- progressChild?: any;
5435
- size_?: any;
5436
- topItems?: any;
5437
- childItems?: any;
5438
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5439
- PalletStateTrieMigrationMigrationLimits,
5440
- u32,
5441
- PalletStateTrieMigrationMigrationTask
5442
- ]>;
5443
- /**
5444
- * Control the automatic migration.
5445
- *
5446
- * The dispatch origin of this call must be [`Config::ControlOrigin`].
5447
- **/
5448
- controlAutoMigration: AugmentedSubmittable<(maybeConfig: Option<PalletStateTrieMigrationMigrationLimits> | null | Uint8Array | PalletStateTrieMigrationMigrationLimits | {
5449
- size_?: any;
5450
- item?: any;
5451
- } | string) => SubmittableExtrinsic<ApiType>, [
5452
- Option<PalletStateTrieMigrationMigrationLimits>
5453
- ]>;
5454
- /**
5455
- * Forcefully set the progress the running migration.
5456
- *
5457
- * This is only useful in one case: the next key to migrate is too big to be migrated with
5458
- * a signed account, in a parachain context, and we simply want to skip it. A reasonable
5459
- * example of this would be `:code:`, which is both very expensive to migrate, and commonly
5460
- * used, so probably it is already migrated.
5461
- *
5462
- * In case you mess things up, you can also, in principle, use this to reset the migration
5463
- * process.
5464
- **/
5465
- forceSetProgress: AugmentedSubmittable<(progressTop: PalletStateTrieMigrationProgress | {
5466
- ToStart: any;
5467
- } | {
5468
- LastKey: any;
5469
- } | {
5470
- Complete: any;
5471
- } | string | Uint8Array, progressChild: PalletStateTrieMigrationProgress | {
5472
- ToStart: any;
5473
- } | {
5474
- LastKey: any;
5475
- } | {
5476
- Complete: any;
5477
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5478
- PalletStateTrieMigrationProgress,
5479
- PalletStateTrieMigrationProgress
5480
- ]>;
5481
- /**
5482
- * Migrate the list of child keys by iterating each of them one by one.
5483
- *
5484
- * All of the given child keys must be present under one `child_root`.
5485
- *
5486
- * This does not affect the global migration process tracker ([`MigrationProcess`]), and
5487
- * should only be used in case any keys are leftover due to a bug.
5488
- **/
5489
- migrateCustomChild: AugmentedSubmittable<(root: Bytes | string | Uint8Array, childKeys: Vec<Bytes> | (Bytes | string | Uint8Array)[], totalSize: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5490
- Bytes,
5491
- Vec<Bytes>,
5492
- u32
5493
- ]>;
5494
- /**
5495
- * Migrate the list of top keys by iterating each of them one by one.
5496
- *
5497
- * This does not affect the global migration process tracker ([`MigrationProcess`]), and
5498
- * should only be used in case any keys are leftover due to a bug.
5499
- **/
5500
- migrateCustomTop: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[], witnessSize: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5501
- Vec<Bytes>,
5502
- u32
5503
- ]>;
5504
- /**
5505
- * Set the maximum limit of the signed migration.
5506
- **/
5507
- setSignedMaxLimits: AugmentedSubmittable<(limits: PalletStateTrieMigrationMigrationLimits | {
5508
- size_?: any;
5509
- item?: any;
5510
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5511
- PalletStateTrieMigrationMigrationLimits
5512
- ]>;
5513
- };
5514
5075
  statistics: {
5515
5076
  /**
5516
- * Allow a trusted issuer to init/resync ticker/company stats.
5077
+ * Allow a trusted issuer to init/resync asset/company stats.
5517
5078
  *
5518
5079
  * # Arguments
5519
- * - `origin` - a signer that has permissions to act as an agent of `asset`.
5520
- * - `asset` - the asset to change the active stats on.
5080
+ * - `origin` - a signer that has permissions to act as an agent of `asset_id`.
5081
+ * - `asset_id` - the [`AssetID`] to change the active stats on.
5521
5082
  * - `stat_type` - stat type to update.
5522
5083
  * - `values` - Updated values for `stat_type`.
5523
5084
  *
5524
5085
  * # Errors
5525
- * - `StatTypeMissing` - `stat_type` is not enabled for the `asset`.
5526
- * - `UnauthorizedAgent` if `origin` is not agent-permissioned for `asset`.
5086
+ * - `StatTypeMissing` - `stat_type` is not enabled for the `asset_id`.
5087
+ * - `UnauthorizedAgent` if `origin` is not agent-permissioned for `asset_id`.
5527
5088
  *
5528
5089
  * # Permissions
5529
5090
  * - Agent
5530
5091
  * - Asset
5531
5092
  **/
5532
- batchUpdateAssetStats: AugmentedSubmittable<(asset: PolymeshPrimitivesStatisticsAssetScope | {
5533
- Ticker: any;
5534
- } | string | Uint8Array, statType: PolymeshPrimitivesStatisticsStatType | {
5535
- op?: any;
5093
+ batchUpdateAssetStats: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, statType: PolymeshPrimitivesStatisticsStatType | {
5094
+ operationType?: any;
5536
5095
  claimIssuer?: any;
5537
5096
  } | string | Uint8Array, values: BTreeSet<PolymeshPrimitivesStatisticsStatUpdate>) => SubmittableExtrinsic<ApiType>, [
5538
- PolymeshPrimitivesStatisticsAssetScope,
5097
+ PolymeshPrimitivesAssetAssetID,
5539
5098
  PolymeshPrimitivesStatisticsStatType,
5540
5099
  BTreeSet<PolymeshPrimitivesStatisticsStatUpdate>
5541
5100
  ]>;
@@ -5543,46 +5102,42 @@ declare module '@polkadot/api-base/types/submittable' {
5543
5102
  * Set the active asset stat_types.
5544
5103
  *
5545
5104
  * # Arguments
5546
- * - `origin` - a signer that has permissions to act as an agent of `asset`.
5547
- * - `asset` - the asset to change the active stats on.
5105
+ * - `origin` - a signer that has permissions to act as an agent of `asset_id`.
5106
+ * - `asset_id` - the [`AssetID`] to change the active stats on.
5548
5107
  * - `stat_types` - the new stat types to replace any existing types.
5549
5108
  *
5550
5109
  * # Errors
5551
- * - `StatTypeLimitReached` - too many stat types enabled for the `asset`.
5110
+ * - `StatTypeLimitReached` - too many stat types enabled for the `asset_id`.
5552
5111
  * - `CannotRemoveStatTypeInUse` - can not remove a stat type that is in use by transfer conditions.
5553
- * - `UnauthorizedAgent` if `origin` is not agent-permissioned for `asset`.
5112
+ * - `UnauthorizedAgent` if `origin` is not agent-permissioned for `asset_id`.
5554
5113
  *
5555
5114
  * # Permissions
5556
5115
  * - Agent
5557
5116
  * - Asset
5558
5117
  **/
5559
- setActiveAssetStats: AugmentedSubmittable<(asset: PolymeshPrimitivesStatisticsAssetScope | {
5560
- Ticker: any;
5561
- } | string | Uint8Array, statTypes: BTreeSet<PolymeshPrimitivesStatisticsStatType>) => SubmittableExtrinsic<ApiType>, [
5562
- PolymeshPrimitivesStatisticsAssetScope,
5118
+ setActiveAssetStats: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, statTypes: BTreeSet<PolymeshPrimitivesStatisticsStatType>) => SubmittableExtrinsic<ApiType>, [
5119
+ PolymeshPrimitivesAssetAssetID,
5563
5120
  BTreeSet<PolymeshPrimitivesStatisticsStatType>
5564
5121
  ]>;
5565
5122
  /**
5566
5123
  * Set asset transfer compliance rules.
5567
5124
  *
5568
5125
  * # Arguments
5569
- * - `origin` - a signer that has permissions to act as an agent of `asset`.
5570
- * - `asset` - the asset to change the active stats on.
5126
+ * - `origin` - a signer that has permissions to act as an agent of `asset_id`.
5127
+ * - `asset_id` - the [`AssetID`] to change the active stats on.
5571
5128
  * - `transfer_conditions` - the new transfer condition to replace any existing conditions.
5572
5129
  *
5573
5130
  * # Errors
5574
- * - `TransferConditionLimitReached` - too many transfer condititon enabled for `asset`.
5575
- * - `StatTypeMissing` - a transfer condition requires a stat type that is not enabled for the `asset`.
5576
- * - `UnauthorizedAgent` if `origin` is not agent-permissioned for `asset`.
5131
+ * - `TransferConditionLimitReached` - too many transfer condititon enabled for `asset_id`.
5132
+ * - `StatTypeMissing` - a transfer condition requires a stat type that is not enabled for the `asset_id`.
5133
+ * - `UnauthorizedAgent` if `origin` is not agent-permissioned for `asset_id`.
5577
5134
  *
5578
5135
  * # Permissions
5579
5136
  * - Agent
5580
5137
  * - Asset
5581
5138
  **/
5582
- setAssetTransferCompliance: AugmentedSubmittable<(asset: PolymeshPrimitivesStatisticsAssetScope | {
5583
- Ticker: any;
5584
- } | string | Uint8Array, transferConditions: BTreeSet<PolymeshPrimitivesTransferComplianceTransferCondition>) => SubmittableExtrinsic<ApiType>, [
5585
- PolymeshPrimitivesStatisticsAssetScope,
5139
+ setAssetTransferCompliance: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetID | string | Uint8Array, transferConditions: BTreeSet<PolymeshPrimitivesTransferComplianceTransferCondition>) => SubmittableExtrinsic<ApiType>, [
5140
+ PolymeshPrimitivesAssetAssetID,
5586
5141
  BTreeSet<PolymeshPrimitivesTransferComplianceTransferCondition>
5587
5142
  ]>;
5588
5143
  /**
@@ -5602,7 +5157,7 @@ declare module '@polkadot/api-base/types/submittable' {
5602
5157
  * - Asset
5603
5158
  **/
5604
5159
  setEntitiesExempt: AugmentedSubmittable<(isExempt: bool | boolean | Uint8Array, exemptKey: PolymeshPrimitivesTransferComplianceTransferConditionExemptKey | {
5605
- asset?: any;
5160
+ assetId?: any;
5606
5161
  op?: any;
5607
5162
  claimType?: any;
5608
5163
  } | string | Uint8Array, entities: BTreeSet<PolymeshPrimitivesIdentityId>) => SubmittableExtrinsic<ApiType>, [
@@ -5633,17 +5188,17 @@ declare module '@polkadot/api-base/types/submittable' {
5633
5188
  createFundraiser: AugmentedSubmittable<(offeringPortfolio: PolymeshPrimitivesIdentityIdPortfolioId | {
5634
5189
  did?: any;
5635
5190
  kind?: any;
5636
- } | string | Uint8Array, offeringAsset: PolymeshPrimitivesTicker | string | Uint8Array, raisingPortfolio: PolymeshPrimitivesIdentityIdPortfolioId | {
5191
+ } | string | Uint8Array, offeringAsset: PolymeshPrimitivesAssetAssetID | string | Uint8Array, raisingPortfolio: PolymeshPrimitivesIdentityIdPortfolioId | {
5637
5192
  did?: any;
5638
5193
  kind?: any;
5639
- } | string | Uint8Array, raisingAsset: PolymeshPrimitivesTicker | string | Uint8Array, tiers: Vec<PalletStoPriceTier> | (PalletStoPriceTier | {
5194
+ } | string | Uint8Array, raisingAsset: PolymeshPrimitivesAssetAssetID | string | Uint8Array, tiers: Vec<PalletStoPriceTier> | (PalletStoPriceTier | {
5640
5195
  total?: any;
5641
5196
  price?: any;
5642
5197
  } | 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>, [
5643
5198
  PolymeshPrimitivesIdentityIdPortfolioId,
5644
- PolymeshPrimitivesTicker,
5199
+ PolymeshPrimitivesAssetAssetID,
5645
5200
  PolymeshPrimitivesIdentityIdPortfolioId,
5646
- PolymeshPrimitivesTicker,
5201
+ PolymeshPrimitivesAssetAssetID,
5647
5202
  Vec<PalletStoPriceTier>,
5648
5203
  u64,
5649
5204
  Option<u64>,
@@ -5660,8 +5215,8 @@ declare module '@polkadot/api-base/types/submittable' {
5660
5215
  * # Permissions
5661
5216
  * * Asset
5662
5217
  **/
5663
- freezeFundraiser: AugmentedSubmittable<(offeringAsset: PolymeshPrimitivesTicker | string | Uint8Array, id: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5664
- PolymeshPrimitivesTicker,
5218
+ freezeFundraiser: AugmentedSubmittable<(offeringAsset: PolymeshPrimitivesAssetAssetID | string | Uint8Array, id: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5219
+ PolymeshPrimitivesAssetAssetID,
5665
5220
  u64
5666
5221
  ]>;
5667
5222
  /**
@@ -5684,7 +5239,7 @@ declare module '@polkadot/api-base/types/submittable' {
5684
5239
  } | string | Uint8Array, fundingPortfolio: PolymeshPrimitivesIdentityIdPortfolioId | {
5685
5240
  did?: any;
5686
5241
  kind?: any;
5687
- } | 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 | {
5242
+ } | string | Uint8Array, offeringAsset: PolymeshPrimitivesAssetAssetID | string | Uint8Array, id: u64 | AnyNumber | Uint8Array, purchaseAmount: u128 | AnyNumber | Uint8Array, maxPrice: Option<u128> | null | Uint8Array | u128 | AnyNumber, receipt: Option<PolymeshPrimitivesSettlementReceiptDetails> | null | Uint8Array | PolymeshPrimitivesSettlementReceiptDetails | {
5688
5243
  uid?: any;
5689
5244
  instructionId?: any;
5690
5245
  legId?: any;
@@ -5694,7 +5249,7 @@ declare module '@polkadot/api-base/types/submittable' {
5694
5249
  } | string) => SubmittableExtrinsic<ApiType>, [
5695
5250
  PolymeshPrimitivesIdentityIdPortfolioId,
5696
5251
  PolymeshPrimitivesIdentityIdPortfolioId,
5697
- PolymeshPrimitivesTicker,
5252
+ PolymeshPrimitivesAssetAssetID,
5698
5253
  u64,
5699
5254
  u128,
5700
5255
  Option<u128>,
@@ -5711,8 +5266,8 @@ declare module '@polkadot/api-base/types/submittable' {
5711
5266
  * # Permissions
5712
5267
  * * Asset
5713
5268
  **/
5714
- modifyFundraiserWindow: AugmentedSubmittable<(offeringAsset: PolymeshPrimitivesTicker | string | Uint8Array, id: u64 | AnyNumber | Uint8Array, start: u64 | AnyNumber | Uint8Array, end: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
5715
- PolymeshPrimitivesTicker,
5269
+ modifyFundraiserWindow: AugmentedSubmittable<(offeringAsset: PolymeshPrimitivesAssetAssetID | string | Uint8Array, id: u64 | AnyNumber | Uint8Array, start: u64 | AnyNumber | Uint8Array, end: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
5270
+ PolymeshPrimitivesAssetAssetID,
5716
5271
  u64,
5717
5272
  u64,
5718
5273
  Option<u64>
@@ -5726,8 +5281,8 @@ declare module '@polkadot/api-base/types/submittable' {
5726
5281
  * # Permissions
5727
5282
  * * Asset
5728
5283
  **/
5729
- stop: AugmentedSubmittable<(offeringAsset: PolymeshPrimitivesTicker | string | Uint8Array, id: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5730
- PolymeshPrimitivesTicker,
5284
+ stop: AugmentedSubmittable<(offeringAsset: PolymeshPrimitivesAssetAssetID | string | Uint8Array, id: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5285
+ PolymeshPrimitivesAssetAssetID,
5731
5286
  u64
5732
5287
  ]>;
5733
5288
  /**
@@ -5739,8 +5294,8 @@ declare module '@polkadot/api-base/types/submittable' {
5739
5294
  * # Permissions
5740
5295
  * * Asset
5741
5296
  **/
5742
- unfreezeFundraiser: AugmentedSubmittable<(offeringAsset: PolymeshPrimitivesTicker | string | Uint8Array, id: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5743
- PolymeshPrimitivesTicker,
5297
+ unfreezeFundraiser: AugmentedSubmittable<(offeringAsset: PolymeshPrimitivesAssetAssetID | string | Uint8Array, id: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5298
+ PolymeshPrimitivesAssetAssetID,
5744
5299
  u64
5745
5300
  ]>;
5746
5301
  };