@polymeshassociation/polymesh-sdk 14.0.0-beta.12 → 15.0.0-alpha.13

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 (468) hide show
  1. package/CHANGELOG.md +9 -6
  2. package/{AccountManagement.d.ts → api/client/AccountManagement.d.ts} +8 -8
  3. package/api/client/AccountManagement.d.ts.map +1 -0
  4. package/{AccountManagement.js → api/client/AccountManagement.js} +3 -3
  5. package/api/client/AccountManagement.js.map +1 -0
  6. package/{Assets.d.ts → api/client/Assets.d.ts} +13 -2
  7. package/api/client/Assets.d.ts.map +1 -0
  8. package/{Assets.js → api/client/Assets.js} +18 -4
  9. package/api/client/Assets.js.map +1 -0
  10. package/{Claims.d.ts → api/client/Claims.d.ts} +3 -62
  11. package/api/client/Claims.d.ts.map +1 -0
  12. package/{Claims.js → api/client/Claims.js} +24 -152
  13. package/api/client/Claims.js.map +1 -0
  14. package/{Identities.d.ts → api/client/Identities.d.ts} +5 -5
  15. package/api/client/Identities.d.ts.map +1 -0
  16. package/{Identities.js → api/client/Identities.js} +2 -2
  17. package/api/client/Identities.js.map +1 -0
  18. package/{Network.d.ts → api/client/Network.d.ts} +3 -53
  19. package/api/client/Network.d.ts.map +1 -0
  20. package/{Network.js → api/client/Network.js} +5 -111
  21. package/api/client/Network.js.map +1 -0
  22. package/{Polymesh.d.ts → api/client/Polymesh.d.ts} +7 -9
  23. package/api/client/Polymesh.d.ts.map +1 -0
  24. package/{Polymesh.js → api/client/Polymesh.js} +37 -50
  25. package/api/client/Polymesh.js.map +1 -0
  26. package/{Settlements.d.ts → api/client/Settlements.d.ts} +4 -6
  27. package/api/client/Settlements.d.ts.map +1 -0
  28. package/{Settlements.js → api/client/Settlements.js} +10 -11
  29. package/api/client/Settlements.js.map +1 -0
  30. package/api/entities/Account.d.ts +2 -22
  31. package/api/entities/Account.d.ts.map +1 -1
  32. package/api/entities/Account.js +18 -69
  33. package/api/entities/Account.js.map +1 -1
  34. package/api/entities/Asset/Checkpoints/Schedules.d.ts +2 -2
  35. package/api/entities/Asset/Checkpoints/Schedules.d.ts.map +1 -1
  36. package/api/entities/Asset/Checkpoints/Schedules.js.map +1 -1
  37. package/api/entities/Asset/Checkpoints/index.d.ts.map +1 -1
  38. package/api/entities/Asset/Checkpoints/index.js.map +1 -1
  39. package/api/entities/Asset/Checkpoints/types.d.ts +1 -1
  40. package/api/entities/Asset/Checkpoints/types.d.ts.map +1 -1
  41. package/api/entities/Asset/Compliance/Requirements.d.ts +2 -2
  42. package/api/entities/Asset/Compliance/Requirements.d.ts.map +1 -1
  43. package/api/entities/Asset/Compliance/Requirements.js.map +1 -1
  44. package/api/entities/Asset/Compliance/TrustedClaimIssuers.d.ts +2 -2
  45. package/api/entities/Asset/Compliance/TrustedClaimIssuers.d.ts.map +1 -1
  46. package/api/entities/Asset/Compliance/TrustedClaimIssuers.js.map +1 -1
  47. package/api/entities/Asset/CorporateActions/Distributions.d.ts +2 -2
  48. package/api/entities/Asset/CorporateActions/Distributions.d.ts.map +1 -1
  49. package/api/entities/Asset/CorporateActions/Distributions.js.map +1 -1
  50. package/api/entities/Asset/CorporateActions/index.d.ts +5 -5
  51. package/api/entities/Asset/CorporateActions/index.d.ts.map +1 -1
  52. package/api/entities/Asset/CorporateActions/index.js +1 -1
  53. package/api/entities/Asset/CorporateActions/index.js.map +1 -1
  54. package/api/entities/Asset/Documents.d.ts +2 -2
  55. package/api/entities/Asset/Documents.d.ts.map +1 -1
  56. package/api/entities/Asset/Documents.js.map +1 -1
  57. package/api/entities/Asset/Offerings.d.ts +2 -2
  58. package/api/entities/Asset/Offerings.d.ts.map +1 -1
  59. package/api/entities/Asset/Offerings.js.map +1 -1
  60. package/api/entities/Asset/Permissions.d.ts +5 -5
  61. package/api/entities/Asset/Permissions.d.ts.map +1 -1
  62. package/api/entities/Asset/Permissions.js.map +1 -1
  63. package/api/entities/Asset/Settlements.d.ts.map +1 -1
  64. package/api/entities/Asset/Settlements.js.map +1 -1
  65. package/api/entities/Asset/TransferRestrictions/Count.d.ts +2 -2
  66. package/api/entities/Asset/TransferRestrictions/Count.d.ts.map +1 -1
  67. package/api/entities/Asset/TransferRestrictions/Count.js.map +1 -1
  68. package/api/entities/Asset/TransferRestrictions/Percentage.d.ts +2 -2
  69. package/api/entities/Asset/TransferRestrictions/Percentage.d.ts.map +1 -1
  70. package/api/entities/Asset/TransferRestrictions/Percentage.js.map +1 -1
  71. package/api/entities/Asset/TransferRestrictions/TransferRestrictionBase.d.ts +3 -7
  72. package/api/entities/Asset/TransferRestrictions/TransferRestrictionBase.d.ts.map +1 -1
  73. package/api/entities/Asset/TransferRestrictions/TransferRestrictionBase.js +10 -10
  74. package/api/entities/Asset/TransferRestrictions/TransferRestrictionBase.js.map +1 -1
  75. package/api/entities/Asset/index.d.ts +8 -23
  76. package/api/entities/Asset/index.d.ts.map +1 -1
  77. package/api/entities/Asset/index.js +7 -47
  78. package/api/entities/Asset/index.js.map +1 -1
  79. package/api/entities/AuthorizationRequest.d.ts +1 -2
  80. package/api/entities/AuthorizationRequest.d.ts.map +1 -1
  81. package/api/entities/Checkpoint.d.ts +1 -2
  82. package/api/entities/Checkpoint.d.ts.map +1 -1
  83. package/api/entities/Checkpoint.js.map +1 -1
  84. package/api/entities/CheckpointSchedule/index.d.ts +2 -3
  85. package/api/entities/CheckpointSchedule/index.d.ts.map +1 -1
  86. package/api/entities/CorporateAction.d.ts +2 -2
  87. package/api/entities/CorporateAction.d.ts.map +1 -1
  88. package/api/entities/CorporateAction.js.map +1 -1
  89. package/api/entities/CorporateActionBase/index.d.ts +2 -2
  90. package/api/entities/CorporateActionBase/index.d.ts.map +1 -1
  91. package/api/entities/CorporateActionBase/index.js +2 -2
  92. package/api/entities/CorporateActionBase/index.js.map +1 -1
  93. package/api/entities/CustomPermissionGroup.d.ts +2 -2
  94. package/api/entities/CustomPermissionGroup.d.ts.map +1 -1
  95. package/api/entities/CustomPermissionGroup.js.map +1 -1
  96. package/api/entities/DefaultTrustedClaimIssuer.d.ts +0 -7
  97. package/api/entities/DefaultTrustedClaimIssuer.d.ts.map +1 -1
  98. package/api/entities/DefaultTrustedClaimIssuer.js +0 -17
  99. package/api/entities/DefaultTrustedClaimIssuer.js.map +1 -1
  100. package/api/entities/DividendDistribution/index.d.ts +3 -20
  101. package/api/entities/DividendDistribution/index.d.ts.map +1 -1
  102. package/api/entities/DividendDistribution/index.js +0 -69
  103. package/api/entities/DividendDistribution/index.js.map +1 -1
  104. package/api/entities/Identity/AssetPermissions.d.ts +2 -30
  105. package/api/entities/Identity/AssetPermissions.d.ts.map +1 -1
  106. package/api/entities/Identity/AssetPermissions.js +3 -55
  107. package/api/entities/Identity/AssetPermissions.js.map +1 -1
  108. package/api/entities/Identity/index.d.ts +7 -20
  109. package/api/entities/Identity/index.d.ts.map +1 -1
  110. package/api/entities/Identity/index.js +43 -52
  111. package/api/entities/Identity/index.js.map +1 -1
  112. package/api/entities/Instruction/index.d.ts +0 -11
  113. package/api/entities/Instruction/index.d.ts.map +1 -1
  114. package/api/entities/Instruction/index.js +4 -54
  115. package/api/entities/Instruction/index.js.map +1 -1
  116. package/api/entities/NumberedPortfolio.d.ts +2 -9
  117. package/api/entities/NumberedPortfolio.d.ts.map +1 -1
  118. package/api/entities/NumberedPortfolio.js +1 -18
  119. package/api/entities/NumberedPortfolio.js.map +1 -1
  120. package/api/entities/Offering/index.d.ts +4 -18
  121. package/api/entities/Offering/index.d.ts.map +1 -1
  122. package/api/entities/Offering/index.js +1 -33
  123. package/api/entities/Offering/index.js.map +1 -1
  124. package/api/entities/Portfolio/index.d.ts +6 -19
  125. package/api/entities/Portfolio/index.d.ts.map +1 -1
  126. package/api/entities/Portfolio/index.js +5 -94
  127. package/api/entities/Portfolio/index.js.map +1 -1
  128. package/api/entities/Subsidy/index.d.ts +2 -2
  129. package/api/entities/Subsidy/index.d.ts.map +1 -1
  130. package/api/entities/Subsidy/index.js +9 -10
  131. package/api/entities/Subsidy/index.js.map +1 -1
  132. package/api/entities/TickerReservation/index.d.ts +5 -5
  133. package/api/entities/TickerReservation/index.d.ts.map +1 -1
  134. package/api/entities/TickerReservation/index.js +1 -1
  135. package/api/entities/TickerReservation/index.js.map +1 -1
  136. package/api/entities/Venue/index.d.ts +2 -2
  137. package/api/entities/Venue/index.d.ts.map +1 -1
  138. package/api/entities/Venue/index.js +2 -2
  139. package/api/entities/Venue/index.js.map +1 -1
  140. package/api/entities/common/namespaces/Authorizations.d.ts +2 -2
  141. package/api/entities/common/namespaces/Authorizations.d.ts.map +1 -1
  142. package/api/entities/common/namespaces/Authorizations.js +1 -1
  143. package/api/entities/common/namespaces/Authorizations.js.map +1 -1
  144. package/api/procedures/addAssetRequirement.d.ts +1 -9
  145. package/api/procedures/addAssetRequirement.d.ts.map +1 -1
  146. package/api/procedures/addAssetRequirement.js +1 -1
  147. package/api/procedures/addAssetRequirement.js.map +1 -1
  148. package/api/procedures/addInstruction.d.ts +2 -34
  149. package/api/procedures/addInstruction.d.ts.map +1 -1
  150. package/api/procedures/addInstruction.js +9 -10
  151. package/api/procedures/addInstruction.js.map +1 -1
  152. package/api/procedures/addInvestorUniquenessClaim.d.ts +2 -9
  153. package/api/procedures/addInvestorUniquenessClaim.d.ts.map +1 -1
  154. package/api/procedures/addInvestorUniquenessClaim.js +1 -1
  155. package/api/procedures/addInvestorUniquenessClaim.js.map +1 -1
  156. package/api/procedures/addTransferRestriction.d.ts +14 -10
  157. package/api/procedures/addTransferRestriction.d.ts.map +1 -1
  158. package/api/procedures/addTransferRestriction.js +98 -30
  159. package/api/procedures/addTransferRestriction.js.map +1 -1
  160. package/api/procedures/claimClassicTicker.d.ts +1 -12
  161. package/api/procedures/claimClassicTicker.d.ts.map +1 -1
  162. package/api/procedures/claimClassicTicker.js +1 -1
  163. package/api/procedures/claimClassicTicker.js.map +1 -1
  164. package/api/procedures/configureDividendDistribution.d.ts +2 -34
  165. package/api/procedures/configureDividendDistribution.d.ts.map +1 -1
  166. package/api/procedures/configureDividendDistribution.js +31 -17
  167. package/api/procedures/configureDividendDistribution.js.map +1 -1
  168. package/api/procedures/controllerTransfer.d.ts +1 -12
  169. package/api/procedures/controllerTransfer.d.ts.map +1 -1
  170. package/api/procedures/controllerTransfer.js.map +1 -1
  171. package/api/procedures/createAsset.d.ts +3 -43
  172. package/api/procedures/createAsset.d.ts.map +1 -1
  173. package/api/procedures/createAsset.js +114 -54
  174. package/api/procedures/createAsset.js.map +1 -1
  175. package/api/procedures/createCheckpointSchedule.d.ts +1 -17
  176. package/api/procedures/createCheckpointSchedule.d.ts.map +1 -1
  177. package/api/procedures/createCheckpointSchedule.js.map +1 -1
  178. package/api/procedures/createGroup.d.ts +2 -14
  179. package/api/procedures/createGroup.d.ts.map +1 -1
  180. package/api/procedures/createGroup.js +4 -28
  181. package/api/procedures/createGroup.js.map +1 -1
  182. package/api/procedures/createPortfolio.js +1 -1
  183. package/api/procedures/createPortfolio.js.map +1 -1
  184. package/api/procedures/createVenue.d.ts +1 -5
  185. package/api/procedures/createVenue.d.ts.map +1 -1
  186. package/api/procedures/createVenue.js +1 -1
  187. package/api/procedures/createVenue.js.map +1 -1
  188. package/api/procedures/investInOffering.d.ts +2 -20
  189. package/api/procedures/investInOffering.d.ts.map +1 -1
  190. package/api/procedures/investInOffering.js.map +1 -1
  191. package/api/procedures/inviteAccount.d.ts +2 -7
  192. package/api/procedures/inviteAccount.d.ts.map +1 -1
  193. package/api/procedures/inviteAccount.js.map +1 -1
  194. package/api/procedures/inviteExternalAgent.d.ts +4 -16
  195. package/api/procedures/inviteExternalAgent.d.ts.map +1 -1
  196. package/api/procedures/inviteExternalAgent.js +33 -13
  197. package/api/procedures/inviteExternalAgent.js.map +1 -1
  198. package/api/procedures/launchOffering.d.ts +3 -46
  199. package/api/procedures/launchOffering.d.ts.map +1 -1
  200. package/api/procedures/launchOffering.js +1 -1
  201. package/api/procedures/launchOffering.js.map +1 -1
  202. package/api/procedures/leaveIdentity.d.ts.map +1 -1
  203. package/api/procedures/leaveIdentity.js +3 -4
  204. package/api/procedures/leaveIdentity.js.map +1 -1
  205. package/api/procedures/linkCaDocs.d.ts +1 -7
  206. package/api/procedures/linkCaDocs.d.ts.map +1 -1
  207. package/api/procedures/linkCaDocs.js.map +1 -1
  208. package/api/procedures/modifyAllowance.d.ts +2 -23
  209. package/api/procedures/modifyAllowance.d.ts.map +1 -1
  210. package/api/procedures/modifyAllowance.js +5 -6
  211. package/api/procedures/modifyAllowance.js.map +1 -1
  212. package/api/procedures/modifyAsset.d.ts +1 -25
  213. package/api/procedures/modifyAsset.d.ts.map +1 -1
  214. package/api/procedures/modifyAsset.js +4 -2
  215. package/api/procedures/modifyAsset.js.map +1 -1
  216. package/api/procedures/modifyAssetTrustedClaimIssuers.d.ts +2 -11
  217. package/api/procedures/modifyAssetTrustedClaimIssuers.d.ts.map +1 -1
  218. package/api/procedures/modifyAssetTrustedClaimIssuers.js.map +1 -1
  219. package/api/procedures/modifyCaCheckpoint.d.ts +1 -7
  220. package/api/procedures/modifyCaCheckpoint.d.ts.map +1 -1
  221. package/api/procedures/modifyCaCheckpoint.js.map +1 -1
  222. package/api/procedures/modifyCaDefaultConfig.d.ts +1 -15
  223. package/api/procedures/modifyCaDefaultConfig.d.ts.map +1 -1
  224. package/api/procedures/modifyCaDefaultConfig.js +8 -10
  225. package/api/procedures/modifyCaDefaultConfig.js.map +1 -1
  226. package/api/procedures/modifyClaims.d.ts +2 -25
  227. package/api/procedures/modifyClaims.d.ts.map +1 -1
  228. package/api/procedures/modifyClaims.js +8 -9
  229. package/api/procedures/modifyClaims.js.map +1 -1
  230. package/api/procedures/modifyComplianceRequirement.d.ts +1 -14
  231. package/api/procedures/modifyComplianceRequirement.d.ts.map +1 -1
  232. package/api/procedures/modifyComplianceRequirement.js.map +1 -1
  233. package/api/procedures/modifyCorporateActionsAgent.d.ts +2 -11
  234. package/api/procedures/modifyCorporateActionsAgent.d.ts.map +1 -1
  235. package/api/procedures/modifyCorporateActionsAgent.js.map +1 -1
  236. package/api/procedures/modifyInstructionAffirmation.d.ts +2 -9
  237. package/api/procedures/modifyInstructionAffirmation.d.ts.map +1 -1
  238. package/api/procedures/modifyInstructionAffirmation.js +5 -6
  239. package/api/procedures/modifyInstructionAffirmation.js.map +1 -1
  240. package/api/procedures/modifyOfferingTimes.d.ts +1 -16
  241. package/api/procedures/modifyOfferingTimes.d.ts.map +1 -1
  242. package/api/procedures/modifyOfferingTimes.js.map +1 -1
  243. package/api/procedures/modifyPrimaryIssuanceAgent.d.ts +2 -11
  244. package/api/procedures/modifyPrimaryIssuanceAgent.d.ts.map +1 -1
  245. package/api/procedures/modifyPrimaryIssuanceAgent.js.map +1 -1
  246. package/api/procedures/modifySignerPermissions.d.ts +1 -10
  247. package/api/procedures/modifySignerPermissions.d.ts.map +1 -1
  248. package/api/procedures/modifySignerPermissions.js.map +1 -1
  249. package/api/procedures/modifyVenue.d.ts +1 -11
  250. package/api/procedures/modifyVenue.d.ts.map +1 -1
  251. package/api/procedures/modifyVenue.js +1 -1
  252. package/api/procedures/modifyVenue.js.map +1 -1
  253. package/api/procedures/moveFunds.d.ts +1 -12
  254. package/api/procedures/moveFunds.d.ts.map +1 -1
  255. package/api/procedures/moveFunds.js.map +1 -1
  256. package/api/procedures/payDividends.d.ts +2 -4
  257. package/api/procedures/payDividends.d.ts.map +1 -1
  258. package/api/procedures/payDividends.js.map +1 -1
  259. package/api/procedures/quitCustody.d.ts +2 -1
  260. package/api/procedures/quitCustody.d.ts.map +1 -1
  261. package/api/procedures/quitCustody.js.map +1 -1
  262. package/api/procedures/redeemTokens.d.ts +1 -4
  263. package/api/procedures/redeemTokens.d.ts.map +1 -1
  264. package/api/procedures/redeemTokens.js.map +1 -1
  265. package/api/procedures/registerIdentity.d.ts +2 -9
  266. package/api/procedures/registerIdentity.d.ts.map +1 -1
  267. package/api/procedures/registerIdentity.js.map +1 -1
  268. package/api/procedures/removeAssetRequirement.d.ts +1 -5
  269. package/api/procedures/removeAssetRequirement.d.ts.map +1 -1
  270. package/api/procedures/removeAssetRequirement.js.map +1 -1
  271. package/api/procedures/removeCheckpointSchedule.d.ts +2 -8
  272. package/api/procedures/removeCheckpointSchedule.d.ts.map +1 -1
  273. package/api/procedures/removeCheckpointSchedule.js.map +1 -1
  274. package/api/procedures/removeCorporateAction.d.ts +2 -5
  275. package/api/procedures/removeCorporateAction.d.ts.map +1 -1
  276. package/api/procedures/removeCorporateAction.js +1 -1
  277. package/api/procedures/removeCorporateAction.js.map +1 -1
  278. package/api/procedures/removeExternalAgent.d.ts +2 -4
  279. package/api/procedures/removeExternalAgent.d.ts.map +1 -1
  280. package/api/procedures/removeExternalAgent.js.map +1 -1
  281. package/api/procedures/removeSecondaryAccounts.d.ts +1 -4
  282. package/api/procedures/removeSecondaryAccounts.d.ts.map +1 -1
  283. package/api/procedures/removeSecondaryAccounts.js +1 -1
  284. package/api/procedures/removeSecondaryAccounts.js.map +1 -1
  285. package/api/procedures/renamePortfolio.d.ts +1 -3
  286. package/api/procedures/renamePortfolio.d.ts.map +1 -1
  287. package/api/procedures/renamePortfolio.js +1 -1
  288. package/api/procedures/renamePortfolio.js.map +1 -1
  289. package/api/procedures/reserveTicker.d.ts +1 -7
  290. package/api/procedures/reserveTicker.d.ts.map +1 -1
  291. package/api/procedures/reserveTicker.js.map +1 -1
  292. package/api/procedures/setAssetDocuments.d.ts +1 -7
  293. package/api/procedures/setAssetDocuments.d.ts.map +1 -1
  294. package/api/procedures/setAssetDocuments.js.map +1 -1
  295. package/api/procedures/setAssetRequirements.d.ts +1 -8
  296. package/api/procedures/setAssetRequirements.d.ts.map +1 -1
  297. package/api/procedures/setAssetRequirements.js.map +1 -1
  298. package/api/procedures/setCustodian.d.ts +2 -5
  299. package/api/procedures/setCustodian.d.ts.map +1 -1
  300. package/api/procedures/setCustodian.js.map +1 -1
  301. package/api/procedures/setGroupPermissions.d.ts +1 -8
  302. package/api/procedures/setGroupPermissions.d.ts.map +1 -1
  303. package/api/procedures/setGroupPermissions.js.map +1 -1
  304. package/api/procedures/setPermissionGroup.d.ts +1 -26
  305. package/api/procedures/setPermissionGroup.d.ts.map +1 -1
  306. package/api/procedures/setPermissionGroup.js +42 -23
  307. package/api/procedures/setPermissionGroup.js.map +1 -1
  308. package/api/procedures/setTransferRestrictions.d.ts +7 -22
  309. package/api/procedures/setTransferRestrictions.d.ts.map +1 -1
  310. package/api/procedures/setTransferRestrictions.js +133 -122
  311. package/api/procedures/setTransferRestrictions.js.map +1 -1
  312. package/api/procedures/subsidizeAccount.d.ts +2 -12
  313. package/api/procedures/subsidizeAccount.d.ts.map +1 -1
  314. package/api/procedures/subsidizeAccount.js.map +1 -1
  315. package/api/procedures/transferAssetOwnership.d.ts +2 -8
  316. package/api/procedures/transferAssetOwnership.d.ts.map +1 -1
  317. package/api/procedures/transferAssetOwnership.js.map +1 -1
  318. package/api/procedures/transferPolyx.d.ts +2 -16
  319. package/api/procedures/transferPolyx.d.ts.map +1 -1
  320. package/api/procedures/transferPolyx.js.map +1 -1
  321. package/api/procedures/transferTickerOwnership.d.ts +2 -8
  322. package/api/procedures/transferTickerOwnership.d.ts.map +1 -1
  323. package/api/procedures/transferTickerOwnership.js.map +1 -1
  324. package/api/procedures/types.d.ts +648 -0
  325. package/api/procedures/types.d.ts.map +1 -0
  326. package/api/procedures/types.js +27 -0
  327. package/api/procedures/types.js.map +1 -0
  328. package/api/procedures/utils.d.ts +21 -7
  329. package/api/procedures/utils.d.ts.map +1 -1
  330. package/api/procedures/utils.js +59 -28
  331. package/api/procedures/utils.js.map +1 -1
  332. package/api/procedures/waivePermissions.d.ts +1 -3
  333. package/api/procedures/waivePermissions.d.ts.map +1 -1
  334. package/api/procedures/waivePermissions.js.map +1 -1
  335. package/base/Context.d.ts +3 -69
  336. package/base/Context.d.ts.map +1 -1
  337. package/base/Context.js +44 -207
  338. package/base/Context.js.map +1 -1
  339. package/base/PolymeshTransactionBase.d.ts +4 -0
  340. package/base/PolymeshTransactionBase.d.ts.map +1 -1
  341. package/base/PolymeshTransactionBase.js +7 -0
  342. package/base/PolymeshTransactionBase.js.map +1 -1
  343. package/generated/types.d.ts +512 -0
  344. package/generated/types.d.ts.map +1 -1
  345. package/generated/types.js +557 -1
  346. package/generated/types.js.map +1 -1
  347. package/index.d.ts +1 -1
  348. package/index.d.ts.map +1 -1
  349. package/index.js +1 -1
  350. package/index.js.map +1 -1
  351. package/internal.d.ts +51 -52
  352. package/internal.d.ts.map +1 -1
  353. package/internal.js +3 -5
  354. package/internal.js.map +1 -1
  355. package/middleware/types.d.ts +1 -0
  356. package/middleware/types.d.ts.map +1 -1
  357. package/middleware/types.js +1 -0
  358. package/middleware/types.js.map +1 -1
  359. package/npm-package/polymeshassociation-polymesh-sdk-15.0.0-alpha.13.tgz +0 -0
  360. package/package.json +72 -14
  361. package/polkadot/asset/definitions.js +12 -12
  362. package/polkadot/asset/definitions.js.map +1 -1
  363. package/polkadot/augment-api-consts.d.ts +127 -43
  364. package/polkadot/augment-api-consts.d.ts.map +1 -1
  365. package/polkadot/augment-api-errors.d.ts +286 -16
  366. package/polkadot/augment-api-errors.d.ts.map +1 -1
  367. package/polkadot/augment-api-events.d.ts +1102 -465
  368. package/polkadot/augment-api-events.d.ts.map +1 -1
  369. package/polkadot/augment-api-query.d.ts +746 -545
  370. package/polkadot/augment-api-query.d.ts.map +1 -1
  371. package/polkadot/augment-api-rpc.d.ts +50 -17
  372. package/polkadot/augment-api-rpc.d.ts.map +1 -1
  373. package/polkadot/augment-api-tx.d.ts +1445 -1003
  374. package/polkadot/augment-api-tx.d.ts.map +1 -1
  375. package/polkadot/augment-api.d.ts +0 -1
  376. package/polkadot/augment-api.d.ts.map +1 -1
  377. package/polkadot/augment-api.js +0 -1
  378. package/polkadot/augment-api.js.map +1 -1
  379. package/polkadot/augment-types.d.ts +213 -2220
  380. package/polkadot/augment-types.d.ts.map +1 -1
  381. package/polkadot/compliance/definitions.js +2 -2
  382. package/polkadot/compliance/definitions.js.map +1 -1
  383. package/polkadot/identity/definitions.js +4 -4
  384. package/polkadot/identity/definitions.js.map +1 -1
  385. package/polkadot/lookup.d.ts +4439 -0
  386. package/polkadot/lookup.d.ts.map +1 -0
  387. package/polkadot/lookup.js +5125 -0
  388. package/polkadot/lookup.js.map +1 -0
  389. package/polkadot/polymesh/definitions.d.ts +106 -36
  390. package/polkadot/polymesh/definitions.d.ts.map +1 -1
  391. package/polkadot/polymesh/definitions.js +111 -41
  392. package/polkadot/polymesh/definitions.js.map +1 -1
  393. package/polkadot/polymesh/types.d.ts +216 -61
  394. package/polkadot/polymesh/types.d.ts.map +1 -1
  395. package/polkadot/registry.d.ts +385 -0
  396. package/polkadot/registry.d.ts.map +1 -0
  397. package/polkadot/registry.js +5 -0
  398. package/polkadot/registry.js.map +1 -0
  399. package/polkadot/schema.d.ts +106 -36
  400. package/polkadot/schema.d.ts.map +1 -1
  401. package/polkadot/schema.js +129 -59
  402. package/polkadot/schema.js.map +1 -1
  403. package/polkadot/types-lookup.d.ts +5578 -0
  404. package/polkadot/types-lookup.d.ts.map +1 -0
  405. package/polkadot/types-lookup.js +4 -0
  406. package/polkadot/types-lookup.js.map +1 -0
  407. package/polkadot/types.d.ts +0 -464
  408. package/polkadot/types.d.ts.map +1 -1
  409. package/polkadot/types.js +0 -505
  410. package/polkadot/types.js.map +1 -1
  411. package/types/index.d.ts +31 -36
  412. package/types/index.d.ts.map +1 -1
  413. package/types/index.js +11 -7
  414. package/types/index.js.map +1 -1
  415. package/types/internal.d.ts +13 -28
  416. package/types/internal.d.ts.map +1 -1
  417. package/types/internal.js +6 -19
  418. package/types/internal.js.map +1 -1
  419. package/types/utils/index.d.ts +11 -10
  420. package/types/utils/index.d.ts.map +1 -1
  421. package/types/utils/index.js +2 -0
  422. package/types/utils/index.js.map +1 -1
  423. package/utils/constants.d.ts +13 -2
  424. package/utils/constants.d.ts.map +1 -1
  425. package/utils/constants.js +14 -3
  426. package/utils/constants.js.map +1 -1
  427. package/utils/conversion.d.ts +112 -94
  428. package/utils/conversion.d.ts.map +1 -1
  429. package/utils/conversion.js +572 -525
  430. package/utils/conversion.js.map +1 -1
  431. package/utils/index.d.ts +1 -1
  432. package/utils/index.d.ts.map +1 -1
  433. package/utils/index.js +2 -1
  434. package/utils/index.js.map +1 -1
  435. package/utils/internal.d.ts +4 -4
  436. package/utils/internal.d.ts.map +1 -1
  437. package/utils/internal.js +90 -15
  438. package/utils/internal.js.map +1 -1
  439. package/utils/typeguards.d.ts.map +1 -1
  440. package/utils/typeguards.js +1 -0
  441. package/utils/typeguards.js.map +1 -1
  442. package/AccountManagement.d.ts.map +0 -1
  443. package/AccountManagement.js.map +0 -1
  444. package/Assets.d.ts.map +0 -1
  445. package/Assets.js.map +0 -1
  446. package/Claims.d.ts.map +0 -1
  447. package/Claims.js.map +0 -1
  448. package/Identities.d.ts.map +0 -1
  449. package/Identities.js.map +0 -1
  450. package/Network.d.ts.map +0 -1
  451. package/Network.js.map +0 -1
  452. package/Polymesh.d.ts.map +0 -1
  453. package/Polymesh.js.map +0 -1
  454. package/Settlements.d.ts.map +0 -1
  455. package/Settlements.js.map +0 -1
  456. package/api/procedures/initiateCorporateAction.d.ts +0 -60
  457. package/api/procedures/initiateCorporateAction.d.ts.map +0 -1
  458. package/api/procedures/initiateCorporateAction.js +0 -107
  459. package/api/procedures/initiateCorporateAction.js.map +0 -1
  460. package/middleware/queriesV2.d.ts +0 -143
  461. package/middleware/queriesV2.d.ts.map +0 -1
  462. package/middleware/queriesV2.js +0 -798
  463. package/middleware/queriesV2.js.map +0 -1
  464. package/middleware/typesV2.d.ts +0 -25495
  465. package/middleware/typesV2.d.ts.map +0 -1
  466. package/middleware/typesV2.js +0 -2013
  467. package/middleware/typesV2.js.map +0 -1
  468. package/npm-package/polymeshassociation-polymesh-sdk-14.0.0-beta.12.tgz +0 -0
@@ -1,102 +1,160 @@
1
- import type { Bytes, Option, Vec, bool, u16, u32, u64 } from '@polkadot/types';
2
- import type { AnyNumber, ITuple, Observable } from '@polkadot/types/types';
3
- import type { UncleEntryItem } from '@polkadot/types/interfaces/authorship';
4
- import type { BabeAuthorityWeight, MaybeRandomness, NextConfigDescriptor, Randomness } from '@polkadot/types/interfaces/babe';
5
- import type { BalanceLock } from '@polkadot/types/interfaces/balances';
6
- import type { AuthorityId } from '@polkadot/types/interfaces/consensus';
7
- import type { Proposal } from '@polkadot/types/interfaces/democracy';
8
- import type { Vote } from '@polkadot/types/interfaces/elections';
9
- import type { SetId, StoredPendingChange, StoredState } from '@polkadot/types/interfaces/grandpa';
10
- import type { AuthIndex } from '@polkadot/types/interfaces/imOnline';
11
- import type { DeferredOffenceOf, Kind, OffenceDetails, OpaqueTimeSlot, ReportIdOf } from '@polkadot/types/interfaces/offences';
12
- import type { AccountId, AccountIndex, Balance, BalanceOf, BlockNumber, Call, Hash, KeyTypeId, Moment, Perbill, Releases, Slot, ValidatorId } from '@polkadot/types/interfaces/runtime';
13
- import type { Scheduled, TaskAddress } from '@polkadot/types/interfaces/scheduler';
14
- import type { Keys, SessionIndex } from '@polkadot/types/interfaces/session';
15
- import type { ActiveEraInfo, ElectionResult, ElectionScore, ElectionStatus, EraIndex, EraRewardPoints, Exposure, Forcing, Nominations, RewardDestination, SlashingSpans, SpanIndex, SpanRecord, StakingLedger, UnappliedSlash, ValidatorPrefs } from '@polkadot/types/interfaces/staking';
16
- import type { AccountInfo, ConsumedWeight, DigestOf, EventIndex, EventRecord, LastRuntimeUpgradeInfo, Phase } from '@polkadot/types/interfaces/system';
17
- import type { Multiplier } from '@polkadot/types/interfaces/txpayment';
18
- import type { AGId, AffirmationStatus, AgentGroup, AssetCompliance, AssetIdentifier, AssetName, AssetOwnershipRelation, Authorization, AuthorizationNonce, BallotMeta, BallotTimeRange, BallotVote, BridgeTxDetail, CADetails, CAId, CheckpointId, Claim1stKey, Claim2ndKey, ClassicTickerRegistration, CorporateAction, Counter, CustomAssetTypeId, DepositInfo, DidRecord, Distribution, Document, DocumentId, ExtrinsicPermissions, FundingRoundName, Fundraiser, FundraiserId, FundraiserName, IdentityClaim, IdentityId, InactiveMember, Instruction, InstructionId, ItnRewardStatus, Leg, LegId, LegStatus, LocalCAId, MaybeBlock, PermissionedIdentityPrefs, Pip, PipId, PipsMetadata, PolymeshVotes, PortfolioId, PortfolioName, PortfolioNumber, PosRatio, ProposalDetails, ProtocolOp, ScheduleId, ScopeId, SecurityToken, Signatory, SkippedCount, SlashingSwitch, SnapshotId, SnapshotMetadata, SnapshottedPip, StoredSchedule, Subsidy, TargetIdentities, Tax, Ticker, TickerRegistration, TickerRegistrationConfig, TransferManager, TrustedIssuer, Venue, VenueDetails, VenueId, Version, VotingResult } from "./polymesh";
19
- import type { ApiTypes } from '@polkadot/api/types';
20
- declare module '@polkadot/api/types/storage' {
21
- interface AugmentedQueries<ApiType> {
1
+ import type { ApiTypes } from '@polkadot/api-base/types';
2
+ import type { Bytes, Null, Option, U8aFixed, Vec, WrapperOpaque, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
3
+ import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
4
+ import type { AccountId32, Call, H256, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
5
+ import type { FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAssetAssetOwnershipRelation, PalletAssetClassicTickerRegistration, PalletAssetSecurityToken, PalletAssetTickerRegistration, PalletAssetTickerRegistrationConfig, PalletAuthorshipUncleEntryItem, PalletBalancesBalanceLock, PalletBridgeBridgeTxDetail, PalletCommitteePolymeshVotes, PalletContractsStorageDeletedContract, PalletContractsStorageRawContractInfo, PalletContractsWasmOwnerInfo, PalletContractsWasmPrefabWasmModule, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, PalletCorporateActionsCaId, PalletCorporateActionsCorporateAction, PalletCorporateActionsDistribution, PalletCorporateActionsTargetIdentities, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityClaim1stKey, PalletIdentityClaim2ndKey, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMultisigProposalDetails, PalletPipsDepositInfo, PalletPipsPip, PalletPipsPipsMetadata, PalletPipsSnapshotMetadata, PalletPipsSnapshottedPip, PalletPipsVotingResult, PalletPreimageRequestStatus, PalletRelayerSubsidy, PalletRewardsItnRewardStatus, PalletSchedulerScheduledV3, PalletSettlementAffirmationStatus, PalletSettlementInstruction, PalletSettlementLeg, PalletSettlementLegStatus, PalletSettlementVenue, PalletStakingActiveEraInfo, PalletStakingElectionResult, PalletStakingElectionStatus, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingPermissionedIdentityPrefs, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingSlashingSwitch, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStoFundraiser, PalletTransactionPaymentReleases, PolymeshCommonUtilitiesCheckpointStoredSchedule, PolymeshCommonUtilitiesGroupInactiveMember, PolymeshCommonUtilitiesMaybeBlock, PolymeshCommonUtilitiesProtocolFeeProtocolOp, PolymeshPrimitivesAgentAgentGroup, PolymeshPrimitivesAssetIdentifier, PolymeshPrimitivesAssetMetadataAssetMetadataKey, PolymeshPrimitivesAssetMetadataAssetMetadataSpec, PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail, PolymeshPrimitivesAuthorization, PolymeshPrimitivesComplianceManagerAssetCompliance, PolymeshPrimitivesConditionTrustedIssuer, PolymeshPrimitivesDocument, PolymeshPrimitivesIdentityClaim, PolymeshPrimitivesIdentityDidRecord, PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityIdPortfolioId, PolymeshPrimitivesSecondaryKeyKeyRecord, PolymeshPrimitivesSecondaryKeySignatory, PolymeshPrimitivesStatisticsAssetScope, PolymeshPrimitivesStatisticsStat1stKey, PolymeshPrimitivesStatisticsStat2ndKey, PolymeshPrimitivesStatisticsStatType, PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions, PolymeshPrimitivesTicker, PolymeshPrimitivesTransferComplianceAssetTransferCompliance, PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, PolymeshRuntimeDevelopRuntimeSessionKeys, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails } from "./types-lookup.ts";
6
+ import type { Observable } from '@polkadot/types/types';
7
+ declare module '@polkadot/api-base/types/storage' {
8
+ interface AugmentedQueries<ApiType extends ApiTypes> {
22
9
  asset: {
23
10
  /**
24
11
  * Store aggregate balance of those identities that has the same `ScopeId`.
25
12
  * (Ticker, ScopeId) => Balance.
26
13
  **/
27
- aggregateBalance: AugmentedQuery<ApiType, (arg1: Ticker | string | Uint8Array, arg2: ScopeId | string | Uint8Array) => Observable<Balance>, [
28
- Ticker,
29
- ScopeId
14
+ aggregateBalance: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesTicker | string | Uint8Array, arg2: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<u128>, [
15
+ PolymeshPrimitivesTicker,
16
+ PolymeshPrimitivesIdentityId
30
17
  ]>;
31
18
  /**
32
19
  * Documents attached to an Asset
33
20
  * (ticker, doc_id) -> document
34
21
  **/
35
- assetDocuments: AugmentedQuery<ApiType, (arg1: Ticker | string | Uint8Array, arg2: DocumentId | AnyNumber | Uint8Array) => Observable<Document>, [
36
- Ticker,
37
- DocumentId
22
+ assetDocuments: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesTicker | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<PolymeshPrimitivesDocument>, [
23
+ PolymeshPrimitivesTicker,
24
+ u32
38
25
  ]>;
39
26
  /**
40
27
  * Per-ticker document ID counter.
41
28
  * (ticker) -> doc_id
42
29
  **/
43
- assetDocumentsIdSequence: AugmentedQuery<ApiType, (arg: Ticker | string | Uint8Array) => Observable<DocumentId>, [
44
- Ticker
30
+ assetDocumentsIdSequence: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<u32>, [
31
+ PolymeshPrimitivesTicker
32
+ ]>;
33
+ /**
34
+ * Asset Metadata Global Key -> Name.
35
+ **/
36
+ assetMetadataGlobalKeyToName: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [
37
+ u64
38
+ ]>;
39
+ /**
40
+ * Asset Metadata Global Name -> Key.
41
+ **/
42
+ assetMetadataGlobalNameToKey: AugmentedQuery<ApiType, (arg: Bytes | string | Uint8Array) => Observable<Option<u64>>, [
43
+ Bytes
44
+ ]>;
45
+ /**
46
+ * Asset Metadata Global Key specs.
47
+ **/
48
+ assetMetadataGlobalSpecs: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PolymeshPrimitivesAssetMetadataAssetMetadataSpec>>, [
49
+ u64
50
+ ]>;
51
+ /**
52
+ * Asset Metadata Local Key -> Name.
53
+ **/
54
+ assetMetadataLocalKeyToName: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesTicker | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [
55
+ PolymeshPrimitivesTicker,
56
+ u64
57
+ ]>;
58
+ /**
59
+ * Asset Metadata Local Name -> Key.
60
+ **/
61
+ assetMetadataLocalNameToKey: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesTicker | string | Uint8Array, arg2: Bytes | string | Uint8Array) => Observable<Option<u64>>, [
62
+ PolymeshPrimitivesTicker,
63
+ Bytes
64
+ ]>;
65
+ /**
66
+ * Asset Metadata Local Key specs.
67
+ **/
68
+ assetMetadataLocalSpecs: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesTicker | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<PolymeshPrimitivesAssetMetadataAssetMetadataSpec>>, [
69
+ PolymeshPrimitivesTicker,
70
+ u64
71
+ ]>;
72
+ /**
73
+ * Next Asset Metadata Global Key.
74
+ **/
75
+ assetMetadataNextGlobalKey: AugmentedQuery<ApiType, () => Observable<u64>, []>;
76
+ /**
77
+ * Next Asset Metadata Local Key.
78
+ **/
79
+ assetMetadataNextLocalKey: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<u64>, [
80
+ PolymeshPrimitivesTicker
81
+ ]>;
82
+ /**
83
+ * Details for an asset's Metadata values.
84
+ **/
85
+ assetMetadataValueDetails: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesTicker | string | Uint8Array, arg2: PolymeshPrimitivesAssetMetadataAssetMetadataKey | {
86
+ Global: any;
87
+ } | {
88
+ Local: any;
89
+ } | string | Uint8Array) => Observable<Option<PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail>>, [
90
+ PolymeshPrimitivesTicker,
91
+ PolymeshPrimitivesAssetMetadataAssetMetadataKey
92
+ ]>;
93
+ /**
94
+ * Metatdata values for an asset.
95
+ **/
96
+ assetMetadataValues: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesTicker | string | Uint8Array, arg2: PolymeshPrimitivesAssetMetadataAssetMetadataKey | {
97
+ Global: any;
98
+ } | {
99
+ Local: any;
100
+ } | string | Uint8Array) => Observable<Option<Bytes>>, [
101
+ PolymeshPrimitivesTicker,
102
+ PolymeshPrimitivesAssetMetadataAssetMetadataKey
45
103
  ]>;
46
104
  /**
47
105
  * Asset name of the token corresponding to the token ticker.
48
106
  * (ticker) -> `AssetName`
49
107
  **/
50
- assetNames: AugmentedQuery<ApiType, (arg: Ticker | string | Uint8Array) => Observable<AssetName>, [
51
- Ticker
108
+ assetNames: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<Bytes>, [
109
+ PolymeshPrimitivesTicker
52
110
  ]>;
53
111
  /**
54
112
  * Tickers and token owned by a user
55
113
  * (user, ticker) -> AssetOwnership
56
114
  **/
57
- assetOwnershipRelations: AugmentedQuery<ApiType, (arg1: IdentityId | string | Uint8Array, arg2: Ticker | string | Uint8Array) => Observable<AssetOwnershipRelation>, [
58
- IdentityId,
59
- Ticker
115
+ assetOwnershipRelations: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityId | string | Uint8Array, arg2: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<PalletAssetAssetOwnershipRelation>, [
116
+ PolymeshPrimitivesIdentityId,
117
+ PolymeshPrimitivesTicker
60
118
  ]>;
61
119
  /**
62
120
  * The total asset ticker balance per identity.
63
121
  * (ticker, DID) -> Balance
64
122
  **/
65
- balanceOf: AugmentedQuery<ApiType, (arg1: Ticker | string | Uint8Array, arg2: IdentityId | string | Uint8Array) => Observable<Balance>, [
66
- Ticker,
67
- IdentityId
123
+ balanceOf: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesTicker | string | Uint8Array, arg2: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<u128>, [
124
+ PolymeshPrimitivesTicker,
125
+ PolymeshPrimitivesIdentityId
68
126
  ]>;
69
127
  /**
70
128
  * Balances get stored on the basis of the `ScopeId`.
71
129
  * Right now it is only helpful for the UI purposes but in future it can be used to do miracles on-chain.
72
130
  * (ScopeId, IdentityId) => Balance.
73
131
  **/
74
- balanceOfAtScope: AugmentedQuery<ApiType, (arg1: ScopeId | string | Uint8Array, arg2: IdentityId | string | Uint8Array) => Observable<Balance>, [
75
- ScopeId,
76
- IdentityId
132
+ balanceOfAtScope: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityId | string | Uint8Array, arg2: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<u128>, [
133
+ PolymeshPrimitivesIdentityId,
134
+ PolymeshPrimitivesIdentityId
77
135
  ]>;
78
136
  /**
79
137
  * Ticker registration details on Polymath Classic / Ethereum.
80
138
  **/
81
- classicTickers: AugmentedQuery<ApiType, (arg: Ticker | string | Uint8Array) => Observable<Option<ClassicTickerRegistration>>, [
82
- Ticker
139
+ classicTickers: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<Option<PalletAssetClassicTickerRegistration>>, [
140
+ PolymeshPrimitivesTicker
83
141
  ]>;
84
142
  /**
85
143
  * The next `AssetType::Custom` ID in the sequence.
86
144
  *
87
145
  * Numbers in the sequence start from 1 rather than 0.
88
146
  **/
89
- customTypeIdSequence: AugmentedQuery<ApiType, () => Observable<CustomAssetTypeId>, []>;
147
+ customTypeIdSequence: AugmentedQuery<ApiType, () => Observable<u32>, []>;
90
148
  /**
91
149
  * Maps custom asset type ids to the registered string contents.
92
150
  **/
93
- customTypes: AugmentedQuery<ApiType, (arg: CustomAssetTypeId | AnyNumber | Uint8Array) => Observable<Bytes>, [
94
- CustomAssetTypeId
151
+ customTypes: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [
152
+ u32
95
153
  ]>;
96
154
  /**
97
155
  * Inverse map of `CustomTypes`, from registered string contents to custom asset type ids.
98
156
  **/
99
- customTypesInverse: AugmentedQuery<ApiType, (arg: Bytes | string | Uint8Array) => Observable<CustomAssetTypeId>, [
157
+ customTypesInverse: AugmentedQuery<ApiType, (arg: Bytes | string | Uint8Array) => Observable<u32>, [
100
158
  Bytes
101
159
  ]>;
102
160
  /**
@@ -105,73 +163,74 @@ declare module '@polkadot/api/types/storage' {
105
163
  *
106
164
  * Ticker => bool.
107
165
  **/
108
- disableInvestorUniqueness: AugmentedQuery<ApiType, (arg: Ticker | string | Uint8Array) => Observable<bool>, [
109
- Ticker
166
+ disableInvestorUniqueness: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<bool>, [
167
+ PolymeshPrimitivesTicker
110
168
  ]>;
111
169
  /**
112
170
  * The set of frozen assets implemented as a membership map.
113
171
  * ticker -> bool
114
172
  **/
115
- frozen: AugmentedQuery<ApiType, (arg: Ticker | string | Uint8Array) => Observable<bool>, [
116
- Ticker
173
+ frozen: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<bool>, [
174
+ PolymeshPrimitivesTicker
117
175
  ]>;
118
176
  /**
119
177
  * The name of the current funding round.
120
178
  * ticker -> funding round
121
179
  **/
122
- fundingRound: AugmentedQuery<ApiType, (arg: Ticker | string | Uint8Array) => Observable<FundingRoundName>, [
123
- Ticker
180
+ fundingRound: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<Bytes>, [
181
+ PolymeshPrimitivesTicker
124
182
  ]>;
125
183
  /**
126
184
  * A map of a ticker name and asset identifiers.
127
185
  **/
128
- identifiers: AugmentedQuery<ApiType, (arg: Ticker | string | Uint8Array) => Observable<Vec<AssetIdentifier>>, [
129
- Ticker
186
+ identifiers: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<Vec<PolymeshPrimitivesAssetIdentifier>>, [
187
+ PolymeshPrimitivesTicker
130
188
  ]>;
131
189
  /**
132
190
  * The total balances of tokens issued in all recorded funding rounds.
133
191
  * (ticker, funding round) -> balance
134
192
  **/
135
- issuedInFundingRound: AugmentedQuery<ApiType, (arg: ITuple<[Ticker, FundingRoundName]> | [Ticker | string | Uint8Array, FundingRoundName | string]) => Observable<Balance>, [
136
- ITuple<[Ticker, FundingRoundName]>
193
+ issuedInFundingRound: AugmentedQuery<ApiType, (arg: ITuple<[PolymeshPrimitivesTicker, Bytes]> | [PolymeshPrimitivesTicker | string | Uint8Array, Bytes | string | Uint8Array]) => Observable<u128>, [
194
+ ITuple<[PolymeshPrimitivesTicker, Bytes]>
137
195
  ]>;
138
196
  /**
139
197
  * Tracks the ScopeId of the identity for a given ticker.
140
198
  * (Ticker, IdentityId) => ScopeId.
141
199
  **/
142
- scopeIdOf: AugmentedQuery<ApiType, (arg1: Ticker | string | Uint8Array, arg2: IdentityId | string | Uint8Array) => Observable<ScopeId>, [
143
- Ticker,
144
- IdentityId
200
+ scopeIdOf: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesTicker | string | Uint8Array, arg2: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<U8aFixed>, [
201
+ PolymeshPrimitivesTicker,
202
+ PolymeshPrimitivesIdentityId
145
203
  ]>;
146
204
  /**
147
205
  * Storage version.
148
206
  **/
149
- storageVersion: AugmentedQuery<ApiType, () => Observable<Version>, []>;
207
+ storageVersion: AugmentedQuery<ApiType, () => Observable<u8>, []>;
150
208
  /**
151
209
  * Ticker registration config.
152
210
  * (ticker) -> TickerRegistrationConfig
153
211
  **/
154
- tickerConfig: AugmentedQuery<ApiType, () => Observable<TickerRegistrationConfig>, []>;
212
+ tickerConfig: AugmentedQuery<ApiType, () => Observable<PalletAssetTickerRegistrationConfig>, [
213
+ ]>;
155
214
  /**
156
215
  * Ticker registration details.
157
216
  * (ticker) -> TickerRegistration
158
217
  **/
159
- tickers: AugmentedQuery<ApiType, (arg: Ticker | string | Uint8Array) => Observable<TickerRegistration>, [
160
- Ticker
218
+ tickers: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<PalletAssetTickerRegistration>, [
219
+ PolymeshPrimitivesTicker
161
220
  ]>;
162
221
  /**
163
222
  * Details of the token corresponding to the token ticker.
164
223
  * (ticker) -> SecurityToken details [returns SecurityToken struct]
165
224
  **/
166
- tokens: AugmentedQuery<ApiType, (arg: Ticker | string | Uint8Array) => Observable<SecurityToken>, [
167
- Ticker
225
+ tokens: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<PalletAssetSecurityToken>, [
226
+ PolymeshPrimitivesTicker
168
227
  ]>;
169
228
  };
170
229
  authorship: {
171
230
  /**
172
231
  * Author of current block.
173
232
  **/
174
- author: AugmentedQuery<ApiType, () => Observable<Option<AccountId>>, []>;
233
+ author: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []>;
175
234
  /**
176
235
  * Whether uncles were already set in this block.
177
236
  **/
@@ -179,38 +238,53 @@ declare module '@polkadot/api/types/storage' {
179
238
  /**
180
239
  * Uncles
181
240
  **/
182
- uncles: AugmentedQuery<ApiType, () => Observable<Vec<UncleEntryItem>>, []>;
241
+ uncles: AugmentedQuery<ApiType, () => Observable<Vec<PalletAuthorshipUncleEntryItem>>, []>;
183
242
  };
184
243
  babe: {
185
244
  /**
186
245
  * Current epoch authorities.
187
246
  **/
188
- authorities: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AuthorityId, BabeAuthorityWeight]>>>, [
247
+ authorities: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpConsensusBabeAppPublic, u64]>>>, [
189
248
  ]>;
190
249
  /**
191
- * Temporary value (cleared at block finalization) that includes the VRF output generated
192
- * at this block. This field should always be populated during block processing unless
250
+ * This field should always be populated during block processing unless
193
251
  * secondary plain slots are enabled (which don't contain a VRF output).
252
+ *
253
+ * It is set in `on_initialize`, before it will contain the value from the last block.
194
254
  **/
195
- authorVrfRandomness: AugmentedQuery<ApiType, () => Observable<MaybeRandomness>, []>;
255
+ authorVrfRandomness: AugmentedQuery<ApiType, () => Observable<Option<U8aFixed>>, []>;
196
256
  /**
197
257
  * Current slot number.
198
258
  **/
199
- currentSlot: AugmentedQuery<ApiType, () => Observable<Slot>, []>;
259
+ currentSlot: AugmentedQuery<ApiType, () => Observable<u64>, []>;
260
+ /**
261
+ * The configuration for the current epoch. Should never be `None` as it is initialized in
262
+ * genesis.
263
+ **/
264
+ epochConfig: AugmentedQuery<ApiType, () => Observable<Option<SpConsensusBabeBabeEpochConfiguration>>, [
265
+ ]>;
200
266
  /**
201
267
  * Current epoch index.
202
268
  **/
203
269
  epochIndex: AugmentedQuery<ApiType, () => Observable<u64>, []>;
270
+ /**
271
+ * The block numbers when the last and current epoch have started, respectively `N-1` and
272
+ * `N`.
273
+ * NOTE: We track this is in order to annotate the block number when a given pool of
274
+ * entropy was fixed (i.e. it was known to chain observers). Since epochs are defined in
275
+ * slots, which may be skipped, the block numbers may not line up with the slot numbers.
276
+ **/
277
+ epochStart: AugmentedQuery<ApiType, () => Observable<ITuple<[u32, u32]>>, []>;
204
278
  /**
205
279
  * The slot at which the first epoch actually started. This is 0
206
280
  * until the first block of the chain.
207
281
  **/
208
- genesisSlot: AugmentedQuery<ApiType, () => Observable<Slot>, []>;
282
+ genesisSlot: AugmentedQuery<ApiType, () => Observable<u64>, []>;
209
283
  /**
210
284
  * Temporary value (cleared at block finalization) which is `Some`
211
285
  * if per-block initialization has already been called for current block.
212
286
  **/
213
- initialized: AugmentedQuery<ApiType, () => Observable<Option<MaybeRandomness>>, []>;
287
+ initialized: AugmentedQuery<ApiType, () => Observable<Option<Option<U8aFixed>>>, []>;
214
288
  /**
215
289
  * How late the current block is compared to its parent.
216
290
  *
@@ -218,20 +292,27 @@ declare module '@polkadot/api/types/storage' {
218
292
  * on block finalization. Querying this storage entry outside of block
219
293
  * execution context should always yield zero.
220
294
  **/
221
- lateness: AugmentedQuery<ApiType, () => Observable<BlockNumber>, []>;
295
+ lateness: AugmentedQuery<ApiType, () => Observable<u32>, []>;
222
296
  /**
223
297
  * Next epoch authorities.
224
298
  **/
225
- nextAuthorities: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AuthorityId, BabeAuthorityWeight]>>>, [
299
+ nextAuthorities: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpConsensusBabeAppPublic, u64]>>>, [
226
300
  ]>;
227
301
  /**
228
- * Next epoch configuration, if changed.
302
+ * The configuration for the next epoch, `None` if the config will not change
303
+ * (you can fallback to `EpochConfig` instead in that case).
229
304
  **/
230
- nextEpochConfig: AugmentedQuery<ApiType, () => Observable<Option<NextConfigDescriptor>>, []>;
305
+ nextEpochConfig: AugmentedQuery<ApiType, () => Observable<Option<SpConsensusBabeBabeEpochConfiguration>>, [
306
+ ]>;
231
307
  /**
232
308
  * Next epoch randomness.
233
309
  **/
234
- nextRandomness: AugmentedQuery<ApiType, () => Observable<Randomness>, []>;
310
+ nextRandomness: AugmentedQuery<ApiType, () => Observable<U8aFixed>, []>;
311
+ /**
312
+ * Pending epoch configuration change that will be applied when the next epoch is enacted.
313
+ **/
314
+ pendingEpochConfigChange: AugmentedQuery<ApiType, () => Observable<Option<SpConsensusBabeDigestsNextConfigDescriptor>>, [
315
+ ]>;
235
316
  /**
236
317
  * The epoch randomness for the *current* epoch.
237
318
  *
@@ -244,11 +325,11 @@ declare module '@polkadot/api/types/storage' {
244
325
  * used where a number is needed that cannot have been chosen by an
245
326
  * adversary, for purposes such as public-coin zero-knowledge proofs.
246
327
  **/
247
- randomness: AugmentedQuery<ApiType, () => Observable<Randomness>, []>;
328
+ randomness: AugmentedQuery<ApiType, () => Observable<U8aFixed>, []>;
248
329
  /**
249
330
  * Randomness under construction.
250
331
  *
251
- * We make a tradeoff between storage accesses and list length.
332
+ * We make a trade-off between storage accesses and list length.
252
333
  * We store the under-construction randomness in segments of up to
253
334
  * `UNDER_CONSTRUCTION_SEGMENT_LENGTH`.
254
335
  *
@@ -260,7 +341,7 @@ declare module '@polkadot/api/types/storage' {
260
341
  /**
261
342
  * TWOX-NOTE: `SegmentIndex` is an increasing integer, so this is okay.
262
343
  **/
263
- underConstruction: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<Randomness>>, [
344
+ underConstruction: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<U8aFixed>>, [
264
345
  u32
265
346
  ]>;
266
347
  };
@@ -269,36 +350,36 @@ declare module '@polkadot/api/types/storage' {
269
350
  * Any liquidity locks on some account balances.
270
351
  * NOTE: Should only be accessed when setting, changing and freeing a lock.
271
352
  **/
272
- locks: AugmentedQuery<ApiType, (arg: AccountId | string | Uint8Array) => Observable<Vec<BalanceLock>>, [
273
- AccountId
353
+ locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [
354
+ AccountId32
274
355
  ]>;
275
356
  /**
276
357
  * The total units issued in the system.
277
358
  **/
278
- totalIssuance: AugmentedQuery<ApiType, () => Observable<Balance>, []>;
359
+ totalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []>;
279
360
  };
280
361
  bridge: {
281
362
  /**
282
363
  * The admin key.
283
364
  **/
284
- admin: AugmentedQuery<ApiType, () => Observable<AccountId>, []>;
365
+ admin: AugmentedQuery<ApiType, () => Observable<AccountId32>, []>;
285
366
  /**
286
367
  * The maximum number of bridged POLYX per identity within a set interval of
287
368
  * blocks. Fields: POLYX amount and the block interval duration.
288
369
  **/
289
- bridgeLimit: AugmentedQuery<ApiType, () => Observable<ITuple<[Balance, BlockNumber]>>, []>;
370
+ bridgeLimit: AugmentedQuery<ApiType, () => Observable<ITuple<[u128, u32]>>, []>;
290
371
  /**
291
372
  * Identities not constrained by the bridge limit.
292
373
  **/
293
- bridgeLimitExempted: AugmentedQuery<ApiType, (arg: IdentityId | string | Uint8Array) => Observable<bool>, [
294
- IdentityId
374
+ bridgeLimitExempted: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<bool>, [
375
+ PolymeshPrimitivesIdentityId
295
376
  ]>;
296
377
  /**
297
378
  * Details of bridge transactions identified with pairs of the recipient account and the
298
379
  * bridge transaction nonce.
299
380
  **/
300
- bridgeTxDetails: AugmentedQuery<ApiType, (arg1: AccountId | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<BridgeTxDetail>, [
301
- AccountId,
381
+ bridgeTxDetails: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<PalletBridgeBridgeTxDetail>, [
382
+ AccountId32,
302
383
  u32
303
384
  ]>;
304
385
  /**
@@ -306,12 +387,12 @@ declare module '@polkadot/api/types/storage' {
306
387
  * authorizations and are able to get their proposals delivered. The bridge creator
307
388
  * transfers some POLY to their identity.
308
389
  **/
309
- controller: AugmentedQuery<ApiType, () => Observable<AccountId>, []>;
390
+ controller: AugmentedQuery<ApiType, () => Observable<AccountId32>, []>;
310
391
  /**
311
392
  * Freeze bridge admins. These accounts can only freeze the bridge.
312
393
  **/
313
- freezeAdmins: AugmentedQuery<ApiType, (arg: AccountId | string | Uint8Array) => Observable<bool>, [
314
- AccountId
394
+ freezeAdmins: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<bool>, [
395
+ AccountId32
315
396
  ]>;
316
397
  /**
317
398
  * Whether or not the bridge operation is frozen.
@@ -321,18 +402,18 @@ declare module '@polkadot/api/types/storage' {
321
402
  * Amount of POLYX bridged by the identity in last block interval. Fields: the bridged
322
403
  * amount and the last interval number.
323
404
  **/
324
- polyxBridged: AugmentedQuery<ApiType, (arg: IdentityId | string | Uint8Array) => Observable<ITuple<[Balance, BlockNumber]>>, [
325
- IdentityId
405
+ polyxBridged: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<ITuple<[u128, u32]>>, [
406
+ PolymeshPrimitivesIdentityId
326
407
  ]>;
327
408
  /**
328
409
  * Storage version.
329
410
  **/
330
- storageVersion: AugmentedQuery<ApiType, () => Observable<Version>, []>;
411
+ storageVersion: AugmentedQuery<ApiType, () => Observable<u8>, []>;
331
412
  /**
332
413
  * The bridge transaction timelock period, in blocks, since the acceptance of the
333
414
  * transaction proposal during which the admin key can freeze the transaction.
334
415
  **/
335
- timelock: AugmentedQuery<ApiType, () => Observable<BlockNumber>, []>;
416
+ timelock: AugmentedQuery<ApiType, () => Observable<u32>, []>;
336
417
  };
337
418
  capitalDistribution: {
338
419
  /**
@@ -340,36 +421,37 @@ declare module '@polkadot/api/types/storage' {
340
421
  *
341
422
  * (CAId) => Distribution
342
423
  **/
343
- distributions: AugmentedQuery<ApiType, (arg: CAId | {
424
+ distributions: AugmentedQuery<ApiType, (arg: PalletCorporateActionsCaId | {
344
425
  ticker?: any;
345
- local_id?: any;
346
- } | string | Uint8Array) => Observable<Option<Distribution>>, [
347
- CAId
426
+ localId?: any;
427
+ } | string | Uint8Array) => Observable<Option<PalletCorporateActionsDistribution>>, [
428
+ PalletCorporateActionsCaId
348
429
  ]>;
349
430
  /**
350
431
  * Has an asset holder been paid yet?
351
432
  *
352
433
  * (CAId, DID) -> Was DID paid in the CAId?
353
434
  **/
354
- holderPaid: AugmentedQuery<ApiType, (arg: ITuple<[CAId, IdentityId]> | [
355
- CAId | {
435
+ holderPaid: AugmentedQuery<ApiType, (arg: ITuple<[PalletCorporateActionsCaId, PolymeshPrimitivesIdentityId]> | [
436
+ PalletCorporateActionsCaId | {
356
437
  ticker?: any;
357
- local_id?: any;
438
+ localId?: any;
358
439
  } | string | Uint8Array,
359
- IdentityId | string | Uint8Array
440
+ PolymeshPrimitivesIdentityId | string | Uint8Array
360
441
  ]) => Observable<bool>, [
361
- ITuple<[CAId, IdentityId]>
442
+ ITuple<[PalletCorporateActionsCaId, PolymeshPrimitivesIdentityId]>
362
443
  ]>;
363
444
  /**
364
445
  * Storage version.
365
446
  **/
366
- storageVersion: AugmentedQuery<ApiType, () => Observable<Version>, []>;
447
+ storageVersion: AugmentedQuery<ApiType, () => Observable<u8>, []>;
367
448
  };
368
449
  cddServiceProviders: {
369
450
  /**
370
451
  * The current "active" membership, stored as an ordered Vec.
371
452
  **/
372
- activeMembers: AugmentedQuery<ApiType, () => Observable<Vec<IdentityId>>, []>;
453
+ activeMembers: AugmentedQuery<ApiType, () => Observable<Vec<PolymeshPrimitivesIdentityId>>, [
454
+ ]>;
373
455
  /**
374
456
  * Limit of how many "active" members there can be.
375
457
  **/
@@ -377,7 +459,8 @@ declare module '@polkadot/api/types/storage' {
377
459
  /**
378
460
  * The current "inactive" membership, stored as an ordered Vec.
379
461
  **/
380
- inactiveMembers: AugmentedQuery<ApiType, () => Observable<Vec<InactiveMember>>, []>;
462
+ inactiveMembers: AugmentedQuery<ApiType, () => Observable<Vec<PolymeshCommonUtilitiesGroupInactiveMember>>, [
463
+ ]>;
381
464
  };
382
465
  checkpoint: {
383
466
  /**
@@ -385,17 +468,17 @@ declare module '@polkadot/api/types/storage' {
385
468
  *
386
469
  * (ticker, did, checkpoint ID) -> Balance of a DID at a checkpoint
387
470
  **/
388
- balance: AugmentedQuery<ApiType, (arg1: ITuple<[Ticker, CheckpointId]> | [Ticker | string | Uint8Array, CheckpointId | AnyNumber | Uint8Array], arg2: IdentityId | string | Uint8Array) => Observable<Balance>, [
389
- ITuple<[Ticker, CheckpointId]>,
390
- IdentityId
471
+ balance: AugmentedQuery<ApiType, (arg1: ITuple<[PolymeshPrimitivesTicker, u64]> | [PolymeshPrimitivesTicker | string | Uint8Array, u64 | AnyNumber | Uint8Array], arg2: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<u128>, [
472
+ ITuple<[PolymeshPrimitivesTicker, u64]>,
473
+ PolymeshPrimitivesIdentityId
391
474
  ]>;
392
475
  /**
393
476
  * Checkpoints where a DID's balance was updated.
394
477
  * (ticker, did) -> [checkpoint ID where user balance changed]
395
478
  **/
396
- balanceUpdates: AugmentedQuery<ApiType, (arg1: Ticker | string | Uint8Array, arg2: IdentityId | string | Uint8Array) => Observable<Vec<CheckpointId>>, [
397
- Ticker,
398
- IdentityId
479
+ balanceUpdates: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesTicker | string | Uint8Array, arg2: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<Vec<u64>>, [
480
+ PolymeshPrimitivesTicker,
481
+ PolymeshPrimitivesIdentityId
399
482
  ]>;
400
483
  /**
401
484
  * Checkpoints ID generator sequence.
@@ -403,25 +486,25 @@ declare module '@polkadot/api/types/storage' {
403
486
  *
404
487
  * (ticker) -> no. of checkpoints
405
488
  **/
406
- checkpointIdSequence: AugmentedQuery<ApiType, (arg: Ticker | string | Uint8Array) => Observable<CheckpointId>, [
407
- Ticker
489
+ checkpointIdSequence: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<u64>, [
490
+ PolymeshPrimitivesTicker
408
491
  ]>;
409
492
  /**
410
493
  * Checkpoint schedule ID sequence for tickers.
411
494
  *
412
495
  * (ticker) -> schedule ID
413
496
  **/
414
- scheduleIdSequence: AugmentedQuery<ApiType, (arg: Ticker | string | Uint8Array) => Observable<ScheduleId>, [
415
- Ticker
497
+ scheduleIdSequence: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<u64>, [
498
+ PolymeshPrimitivesTicker
416
499
  ]>;
417
500
  /**
418
501
  * All the checkpoints a given schedule originated.
419
502
  *
420
503
  * (ticker, schedule ID) -> [checkpoint ID]
421
504
  **/
422
- schedulePoints: AugmentedQuery<ApiType, (arg1: Ticker | string | Uint8Array, arg2: ScheduleId | AnyNumber | Uint8Array) => Observable<Vec<CheckpointId>>, [
423
- Ticker,
424
- ScheduleId
505
+ schedulePoints: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesTicker | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Vec<u64>>, [
506
+ PolymeshPrimitivesTicker,
507
+ u64
425
508
  ]>;
426
509
  /**
427
510
  * How many "strong" references are there to a given `ScheduleId`?
@@ -433,17 +516,17 @@ declare module '@polkadot/api/types/storage' {
433
516
  *
434
517
  * (ticker, schedule ID) -> strong ref count
435
518
  **/
436
- scheduleRefCount: AugmentedQuery<ApiType, (arg1: Ticker | string | Uint8Array, arg2: ScheduleId | AnyNumber | Uint8Array) => Observable<u32>, [
437
- Ticker,
438
- ScheduleId
519
+ scheduleRefCount: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesTicker | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<u32>, [
520
+ PolymeshPrimitivesTicker,
521
+ u64
439
522
  ]>;
440
523
  /**
441
524
  * Checkpoint schedules for tickers.
442
525
  *
443
526
  * (ticker) -> [schedule]
444
527
  **/
445
- schedules: AugmentedQuery<ApiType, (arg: Ticker | string | Uint8Array) => Observable<Vec<StoredSchedule>>, [
446
- Ticker
528
+ schedules: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<Vec<PolymeshCommonUtilitiesCheckpointStoredSchedule>>, [
529
+ PolymeshPrimitivesTicker
447
530
  ]>;
448
531
  /**
449
532
  * The maximum complexity allowed for an arbitrary ticker's schedule set
@@ -453,7 +536,7 @@ declare module '@polkadot/api/types/storage' {
453
536
  /**
454
537
  * Storage version.
455
538
  **/
456
- storageVersion: AugmentedQuery<ApiType, () => Observable<Version>, []>;
539
+ storageVersion: AugmentedQuery<ApiType, () => Observable<u8>, []>;
457
540
  /**
458
541
  * Checkpoint timestamps.
459
542
  *
@@ -462,25 +545,26 @@ declare module '@polkadot/api/types/storage' {
462
545
  *
463
546
  * (ticker) -> (checkpoint ID) -> checkpoint timestamp
464
547
  **/
465
- timestamps: AugmentedQuery<ApiType, (arg1: Ticker | string | Uint8Array, arg2: CheckpointId | AnyNumber | Uint8Array) => Observable<Moment>, [
466
- Ticker,
467
- CheckpointId
548
+ timestamps: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesTicker | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<u64>, [
549
+ PolymeshPrimitivesTicker,
550
+ u64
468
551
  ]>;
469
552
  /**
470
553
  * Total supply of the token at the checkpoint.
471
554
  *
472
555
  * (ticker, checkpointId) -> total supply at given checkpoint
473
556
  **/
474
- totalSupply: AugmentedQuery<ApiType, (arg1: Ticker | string | Uint8Array, arg2: CheckpointId | AnyNumber | Uint8Array) => Observable<Balance>, [
475
- Ticker,
476
- CheckpointId
557
+ totalSupply: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesTicker | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<u128>, [
558
+ PolymeshPrimitivesTicker,
559
+ u64
477
560
  ]>;
478
561
  };
479
562
  committeeMembership: {
480
563
  /**
481
564
  * The current "active" membership, stored as an ordered Vec.
482
565
  **/
483
- activeMembers: AugmentedQuery<ApiType, () => Observable<Vec<IdentityId>>, []>;
566
+ activeMembers: AugmentedQuery<ApiType, () => Observable<Vec<PolymeshPrimitivesIdentityId>>, [
567
+ ]>;
484
568
  /**
485
569
  * Limit of how many "active" members there can be.
486
570
  **/
@@ -488,24 +572,86 @@ declare module '@polkadot/api/types/storage' {
488
572
  /**
489
573
  * The current "inactive" membership, stored as an ordered Vec.
490
574
  **/
491
- inactiveMembers: AugmentedQuery<ApiType, () => Observable<Vec<InactiveMember>>, []>;
575
+ inactiveMembers: AugmentedQuery<ApiType, () => Observable<Vec<PolymeshCommonUtilitiesGroupInactiveMember>>, [
576
+ ]>;
492
577
  };
493
578
  complianceManager: {
494
579
  /**
495
580
  * Asset compliance for a ticker (Ticker -> AssetCompliance)
496
581
  **/
497
- assetCompliances: AugmentedQuery<ApiType, (arg: Ticker | string | Uint8Array) => Observable<AssetCompliance>, [
498
- Ticker
582
+ assetCompliances: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<PolymeshPrimitivesComplianceManagerAssetCompliance>, [
583
+ PolymeshPrimitivesTicker
499
584
  ]>;
500
585
  /**
501
586
  * Storage version.
502
587
  **/
503
- storageVersion: AugmentedQuery<ApiType, () => Observable<Version>, []>;
588
+ storageVersion: AugmentedQuery<ApiType, () => Observable<u8>, []>;
504
589
  /**
505
590
  * List of trusted claim issuer Ticker -> Issuer Identity
506
591
  **/
507
- trustedClaimIssuer: AugmentedQuery<ApiType, (arg: Ticker | string | Uint8Array) => Observable<Vec<TrustedIssuer>>, [
508
- Ticker
592
+ trustedClaimIssuer: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<Vec<PolymeshPrimitivesConditionTrustedIssuer>>, [
593
+ PolymeshPrimitivesTicker
594
+ ]>;
595
+ };
596
+ contracts: {
597
+ /**
598
+ * A mapping between an original code hash and instrumented wasm code, ready for execution.
599
+ **/
600
+ codeStorage: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletContractsWasmPrefabWasmModule>>, [
601
+ H256
602
+ ]>;
603
+ /**
604
+ * The code associated with a given account.
605
+ *
606
+ * TWOX-NOTE: SAFE since `AccountId` is a secure hash.
607
+ **/
608
+ contractInfoOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletContractsStorageRawContractInfo>>, [
609
+ AccountId32
610
+ ]>;
611
+ /**
612
+ * Evicted contracts that await child trie deletion.
613
+ *
614
+ * Child trie deletion is a heavy operation depending on the amount of storage items
615
+ * stored in said trie. Therefore this operation is performed lazily in `on_initialize`.
616
+ **/
617
+ deletionQueue: AugmentedQuery<ApiType, () => Observable<Vec<PalletContractsStorageDeletedContract>>, [
618
+ ]>;
619
+ /**
620
+ * This is a **monotonic** counter incremented on contract instantiation.
621
+ *
622
+ * This is used in order to generate unique trie ids for contracts.
623
+ * The trie id of a new contract is calculated from hash(account_id, nonce).
624
+ * The nonce is required because otherwise the following sequence would lead to
625
+ * a possible collision of storage:
626
+ *
627
+ * 1. Create a new contract.
628
+ * 2. Terminate the contract.
629
+ * 3. Immediately recreate the contract with the same account_id.
630
+ *
631
+ * This is bad because the contents of a trie are deleted lazily and there might be
632
+ * storage of the old instantiation still in it when the new contract is created. Please
633
+ * note that we can't replace the counter by the block number because the sequence above
634
+ * can happen in the same block. We also can't keep the account counter in memory only
635
+ * because storage is the only way to communicate across different extrinsics in the
636
+ * same block.
637
+ *
638
+ * # Note
639
+ *
640
+ * Do not use it to determine the number of contracts. It won't be decremented if
641
+ * a contract is destroyed.
642
+ **/
643
+ nonce: AugmentedQuery<ApiType, () => Observable<u64>, []>;
644
+ /**
645
+ * A mapping between an original code hash and its owner information.
646
+ **/
647
+ ownerInfoOf: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletContractsWasmOwnerInfo>>, [
648
+ H256
649
+ ]>;
650
+ /**
651
+ * A mapping from an original code hash to the original code, untouched by instrumentation.
652
+ **/
653
+ pristineCode: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Bytes>>, [
654
+ H256
509
655
  ]>;
510
656
  };
511
657
  corporateAction: {
@@ -516,18 +662,18 @@ declare module '@polkadot/api/types/storage' {
516
662
  * The `CorporateActions` map stores `Ticker => LocalId => The CA`,
517
663
  * so we can infer `Ticker => CAId`. Therefore, we don't need a double map.
518
664
  **/
519
- cADocLink: AugmentedQuery<ApiType, (arg: CAId | {
665
+ cADocLink: AugmentedQuery<ApiType, (arg: PalletCorporateActionsCaId | {
520
666
  ticker?: any;
521
- local_id?: any;
522
- } | string | Uint8Array) => Observable<Vec<DocumentId>>, [
523
- CAId
667
+ localId?: any;
668
+ } | string | Uint8Array) => Observable<Vec<u32>>, [
669
+ PalletCorporateActionsCaId
524
670
  ]>;
525
671
  /**
526
672
  * The next per-`Ticker` CA ID in the sequence.
527
673
  * The full ID is defined as a combination of `Ticker` and a number in this sequence.
528
674
  **/
529
- cAIdSequence: AugmentedQuery<ApiType, (arg: Ticker | string | Uint8Array) => Observable<LocalCAId>, [
530
- Ticker
675
+ cAIdSequence: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<u32>, [
676
+ PolymeshPrimitivesTicker
531
677
  ]>;
532
678
  /**
533
679
  * All recorded CAs thus far.
@@ -536,9 +682,9 @@ declare module '@polkadot/api/types/storage' {
536
682
  *
537
683
  * (ticker => local ID => the corporate action)
538
684
  **/
539
- corporateActions: AugmentedQuery<ApiType, (arg1: Ticker | string | Uint8Array, arg2: LocalCAId | AnyNumber | Uint8Array) => Observable<Option<CorporateAction>>, [
540
- Ticker,
541
- LocalCAId
685
+ corporateActions: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesTicker | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletCorporateActionsCorporateAction>>, [
686
+ PolymeshPrimitivesTicker,
687
+ u32
542
688
  ]>;
543
689
  /**
544
690
  * The identities targeted by default for CAs for this ticker,
@@ -546,8 +692,8 @@ declare module '@polkadot/api/types/storage' {
546
692
  *
547
693
  * (ticker => target identities)
548
694
  **/
549
- defaultTargetIdentities: AugmentedQuery<ApiType, (arg: Ticker | string | Uint8Array) => Observable<TargetIdentities>, [
550
- Ticker
695
+ defaultTargetIdentities: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<PalletCorporateActionsTargetIdentities>, [
696
+ PolymeshPrimitivesTicker
551
697
  ]>;
552
698
  /**
553
699
  * The default amount of tax to withhold ("withholding tax", WT) for this ticker when distributing dividends.
@@ -559,18 +705,18 @@ declare module '@polkadot/api/types/storage' {
559
705
  *
560
706
  * (ticker => % to withhold)
561
707
  **/
562
- defaultWithholdingTax: AugmentedQuery<ApiType, (arg: Ticker | string | Uint8Array) => Observable<Tax>, [
563
- Ticker
708
+ defaultWithholdingTax: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<Permill>, [
709
+ PolymeshPrimitivesTicker
564
710
  ]>;
565
711
  /**
566
712
  * Associates details in free-form text with a CA by its ID.
567
713
  * (CAId => CADetails)
568
714
  **/
569
- details: AugmentedQuery<ApiType, (arg: CAId | {
715
+ details: AugmentedQuery<ApiType, (arg: PalletCorporateActionsCaId | {
570
716
  ticker?: any;
571
- local_id?: any;
572
- } | string | Uint8Array) => Observable<CADetails>, [
573
- CAId
717
+ localId?: any;
718
+ } | string | Uint8Array) => Observable<Bytes>, [
719
+ PalletCorporateActionsCaId
574
720
  ]>;
575
721
  /**
576
722
  * The amount of tax to withhold ("withholding tax", WT) for a certain ticker x DID.
@@ -578,8 +724,8 @@ declare module '@polkadot/api/types/storage' {
578
724
  *
579
725
  * (ticker => [(did, % to withhold)]
580
726
  **/
581
- didWithholdingTax: AugmentedQuery<ApiType, (arg: Ticker | string | Uint8Array) => Observable<Vec<ITuple<[IdentityId, Tax]>>>, [
582
- Ticker
727
+ didWithholdingTax: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<Vec<ITuple<[PolymeshPrimitivesIdentityId, Permill]>>>, [
728
+ PolymeshPrimitivesTicker
583
729
  ]>;
584
730
  /**
585
731
  * Determines the maximum number of bytes that the free-form `details` of a CA can store.
@@ -594,7 +740,7 @@ declare module '@polkadot/api/types/storage' {
594
740
  /**
595
741
  * Storage version.
596
742
  **/
597
- storageVersion: AugmentedQuery<ApiType, () => Observable<Version>, []>;
743
+ storageVersion: AugmentedQuery<ApiType, () => Observable<u8>, []>;
598
744
  };
599
745
  corporateBallot: {
600
746
  /**
@@ -602,11 +748,11 @@ declare module '@polkadot/api/types/storage' {
602
748
  *
603
749
  * (CAId) => BallotMeta
604
750
  **/
605
- metas: AugmentedQuery<ApiType, (arg: CAId | {
751
+ metas: AugmentedQuery<ApiType, (arg: PalletCorporateActionsCaId | {
606
752
  ticker?: any;
607
- local_id?: any;
608
- } | string | Uint8Array) => Observable<Option<BallotMeta>>, [
609
- CAId
753
+ localId?: any;
754
+ } | string | Uint8Array) => Observable<Option<PalletCorporateActionsBallotBallotMeta>>, [
755
+ PalletCorporateActionsCaId
610
756
  ]>;
611
757
  /**
612
758
  * Stores how many choices there are in each motion.
@@ -619,11 +765,11 @@ declare module '@polkadot/api/types/storage' {
619
765
  *
620
766
  * (CAId) => Number of choices in each motion.
621
767
  **/
622
- motionNumChoices: AugmentedQuery<ApiType, (arg: CAId | {
768
+ motionNumChoices: AugmentedQuery<ApiType, (arg: PalletCorporateActionsCaId | {
623
769
  ticker?: any;
624
- local_id?: any;
770
+ localId?: any;
625
771
  } | string | Uint8Array) => Observable<Vec<u16>>, [
626
- CAId
772
+ PalletCorporateActionsCaId
627
773
  ]>;
628
774
  /**
629
775
  * Is ranked choice voting (RCV) enabled for this ballot?
@@ -631,11 +777,11 @@ declare module '@polkadot/api/types/storage' {
631
777
  *
632
778
  * (CAId) => bool
633
779
  **/
634
- rcv: AugmentedQuery<ApiType, (arg: CAId | {
780
+ rcv: AugmentedQuery<ApiType, (arg: PalletCorporateActionsCaId | {
635
781
  ticker?: any;
636
- local_id?: any;
782
+ localId?: any;
637
783
  } | string | Uint8Array) => Observable<bool>, [
638
- CAId
784
+ PalletCorporateActionsCaId
639
785
  ]>;
640
786
  /**
641
787
  * Stores the total vote tally on each choice.
@@ -646,11 +792,11 @@ declare module '@polkadot/api/types/storage' {
646
792
  *
647
793
  * (CAId) => [current vote weights]
648
794
  **/
649
- results: AugmentedQuery<ApiType, (arg: CAId | {
795
+ results: AugmentedQuery<ApiType, (arg: PalletCorporateActionsCaId | {
650
796
  ticker?: any;
651
- local_id?: any;
652
- } | string | Uint8Array) => Observable<Vec<Balance>>, [
653
- CAId
797
+ localId?: any;
798
+ } | string | Uint8Array) => Observable<Vec<u128>>, [
799
+ PalletCorporateActionsCaId
654
800
  ]>;
655
801
  /**
656
802
  * Time details of a corporate ballot associated with a CA.
@@ -658,11 +804,11 @@ declare module '@polkadot/api/types/storage' {
658
804
  *
659
805
  * (CAId) => BallotTimeRange
660
806
  **/
661
- timeRanges: AugmentedQuery<ApiType, (arg: CAId | {
807
+ timeRanges: AugmentedQuery<ApiType, (arg: PalletCorporateActionsCaId | {
662
808
  ticker?: any;
663
- local_id?: any;
664
- } | string | Uint8Array) => Observable<Option<BallotTimeRange>>, [
665
- CAId
809
+ localId?: any;
810
+ } | string | Uint8Array) => Observable<Option<PalletCorporateActionsBallotBallotTimeRange>>, [
811
+ PalletCorporateActionsCaId
666
812
  ]>;
667
813
  /**
668
814
  * Stores each DID's votes in a given ballot.
@@ -672,21 +818,21 @@ declare module '@polkadot/api/types/storage' {
672
818
  *
673
819
  * User must enter 0 vote weight if they don't want to vote for a choice.
674
820
  **/
675
- votes: AugmentedQuery<ApiType, (arg1: CAId | {
821
+ votes: AugmentedQuery<ApiType, (arg1: PalletCorporateActionsCaId | {
676
822
  ticker?: any;
677
- local_id?: any;
678
- } | string | Uint8Array, arg2: IdentityId | string | Uint8Array) => Observable<Vec<BallotVote>>, [
679
- CAId,
680
- IdentityId
823
+ localId?: any;
824
+ } | string | Uint8Array, arg2: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<Vec<PalletCorporateActionsBallotBallotVote>>, [
825
+ PalletCorporateActionsCaId,
826
+ PolymeshPrimitivesIdentityId
681
827
  ]>;
682
828
  };
683
829
  externalAgents: {
684
830
  /**
685
831
  * Maps an agent (`IdentityId`) to all all `Ticker`s they belong to, if any.
686
832
  **/
687
- agentOf: AugmentedQuery<ApiType, (arg1: IdentityId | string | Uint8Array, arg2: Ticker | string | Uint8Array) => Observable<ITuple<[]>>, [
688
- IdentityId,
689
- Ticker
833
+ agentOf: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityId | string | Uint8Array, arg2: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<Null>, [
834
+ PolymeshPrimitivesIdentityId,
835
+ PolymeshPrimitivesTicker
690
836
  ]>;
691
837
  /**
692
838
  * The next per-`Ticker` AG ID in the sequence.
@@ -694,28 +840,28 @@ declare module '@polkadot/api/types/storage' {
694
840
  * The full ID is defined as a combination of `Ticker` and a number in this sequence,
695
841
  * which starts from 1, rather than 0.
696
842
  **/
697
- aGIdSequence: AugmentedQuery<ApiType, (arg: Ticker | string | Uint8Array) => Observable<AGId>, [
698
- Ticker
843
+ aGIdSequence: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<u32>, [
844
+ PolymeshPrimitivesTicker
699
845
  ]>;
700
846
  /**
701
847
  * Maps agents (`IdentityId`) for a `Ticker` to what AG they belong to, if any.
702
848
  **/
703
- groupOfAgent: AugmentedQuery<ApiType, (arg1: Ticker | string | Uint8Array, arg2: IdentityId | string | Uint8Array) => Observable<Option<AgentGroup>>, [
704
- Ticker,
705
- IdentityId
849
+ groupOfAgent: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesTicker | string | Uint8Array, arg2: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<Option<PolymeshPrimitivesAgentAgentGroup>>, [
850
+ PolymeshPrimitivesTicker,
851
+ PolymeshPrimitivesIdentityId
706
852
  ]>;
707
853
  /**
708
854
  * For custom AGs of a `Ticker`, maps to what permissions an agent in that AG would have.
709
855
  **/
710
- groupPermissions: AugmentedQuery<ApiType, (arg1: Ticker | string | Uint8Array, arg2: AGId | AnyNumber | Uint8Array) => Observable<Option<ExtrinsicPermissions>>, [
711
- Ticker,
712
- AGId
856
+ groupPermissions: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesTicker | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions>>, [
857
+ PolymeshPrimitivesTicker,
858
+ u32
713
859
  ]>;
714
860
  /**
715
861
  * Maps a `Ticker` to the number of `Full` agents for it.
716
862
  **/
717
- numFullAgents: AugmentedQuery<ApiType, (arg: Ticker | string | Uint8Array) => Observable<u32>, [
718
- Ticker
863
+ numFullAgents: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<u32>, [
864
+ PolymeshPrimitivesTicker
719
865
  ]>;
720
866
  };
721
867
  grandpa: {
@@ -723,33 +869,33 @@ declare module '@polkadot/api/types/storage' {
723
869
  * The number of changes (both in terms of keys and underlying economic responsibilities)
724
870
  * in the "set" of Grandpa validators from genesis.
725
871
  **/
726
- currentSetId: AugmentedQuery<ApiType, () => Observable<SetId>, []>;
872
+ currentSetId: AugmentedQuery<ApiType, () => Observable<u64>, []>;
727
873
  /**
728
874
  * next block number where we can force a change.
729
875
  **/
730
- nextForced: AugmentedQuery<ApiType, () => Observable<Option<BlockNumber>>, []>;
876
+ nextForced: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
731
877
  /**
732
878
  * Pending change: (signaled at, scheduled change).
733
879
  **/
734
- pendingChange: AugmentedQuery<ApiType, () => Observable<Option<StoredPendingChange>>, []>;
880
+ pendingChange: AugmentedQuery<ApiType, () => Observable<Option<PalletGrandpaStoredPendingChange>>, [
881
+ ]>;
735
882
  /**
736
883
  * A mapping from grandpa set ID to the index of the *most recent* session for which its
737
884
  * members were responsible.
738
885
  *
739
886
  * TWOX-NOTE: `SetId` is not under user control.
740
887
  **/
741
- setIdSession: AugmentedQuery<ApiType, (arg: SetId | AnyNumber | Uint8Array) => Observable<Option<SessionIndex>>, [
742
- SetId
888
+ setIdSession: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [
889
+ u64
743
890
  ]>;
744
891
  /**
745
892
  * `true` if we are currently stalled.
746
893
  **/
747
- stalled: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[BlockNumber, BlockNumber]>>>, [
748
- ]>;
894
+ stalled: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u32, u32]>>>, []>;
749
895
  /**
750
896
  * State of the current authority set.
751
897
  **/
752
- state: AugmentedQuery<ApiType, () => Observable<StoredState>, []>;
898
+ state: AugmentedQuery<ApiType, () => Observable<PalletGrandpaStoredState>, []>;
753
899
  };
754
900
  identity: {
755
901
  /**
@@ -761,25 +907,25 @@ declare module '@polkadot/api/types/storage' {
761
907
  * * Relayer: For `user_key` and `paying_key`
762
908
  *
763
909
  **/
764
- accountKeyRefCount: AugmentedQuery<ApiType, (arg: AccountId | string | Uint8Array) => Observable<u64>, [
765
- AccountId
910
+ accountKeyRefCount: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u64>, [
911
+ AccountId32
766
912
  ]>;
767
913
  /**
768
914
  * All authorizations that an identity/key has
769
915
  **/
770
- authorizations: AugmentedQuery<ApiType, (arg1: Signatory | {
916
+ authorizations: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesSecondaryKeySignatory | {
771
917
  Identity: any;
772
918
  } | {
773
919
  Account: any;
774
- } | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<Authorization>>, [
775
- Signatory,
920
+ } | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<PolymeshPrimitivesAuthorization>>, [
921
+ PolymeshPrimitivesSecondaryKeySignatory,
776
922
  u64
777
923
  ]>;
778
924
  /**
779
925
  * All authorizations that an identity has given. (Authorizer, auth_id -> authorized)
780
926
  **/
781
- authorizationsGiven: AugmentedQuery<ApiType, (arg1: IdentityId | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Signatory>, [
782
- IdentityId,
927
+ authorizationsGiven: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityId | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<PolymeshPrimitivesSecondaryKeySignatory>, [
928
+ PolymeshPrimitivesIdentityId,
783
929
  u64
784
930
  ]>;
785
931
  /**
@@ -795,38 +941,48 @@ declare module '@polkadot/api/types/storage' {
795
941
  /**
796
942
  * (Target ID, claim type) (issuer,scope) -> Associated claims
797
943
  **/
798
- claims: AugmentedQuery<ApiType, (arg1: Claim1stKey | {
944
+ claims: AugmentedQuery<ApiType, (arg1: PalletIdentityClaim1stKey | {
799
945
  target?: any;
800
- claim_type?: any;
801
- } | string | Uint8Array, arg2: Claim2ndKey | {
946
+ claimType?: any;
947
+ } | string | Uint8Array, arg2: PalletIdentityClaim2ndKey | {
802
948
  issuer?: any;
803
949
  scope?: any;
804
- } | string | Uint8Array) => Observable<IdentityClaim>, [
805
- Claim1stKey,
806
- Claim2ndKey
950
+ } | string | Uint8Array) => Observable<PolymeshPrimitivesIdentityClaim>, [
951
+ PalletIdentityClaim1stKey,
952
+ PalletIdentityClaim2ndKey
807
953
  ]>;
808
954
  /**
809
955
  * It stores the current identity for current transaction.
810
956
  **/
811
- currentDid: AugmentedQuery<ApiType, () => Observable<Option<IdentityId>>, []>;
957
+ currentDid: AugmentedQuery<ApiType, () => Observable<Option<U8aFixed>>, []>;
812
958
  /**
813
959
  * It stores the current gas fee payer for the current transaction
814
960
  **/
815
- currentPayer: AugmentedQuery<ApiType, () => Observable<Option<AccountId>>, []>;
961
+ currentPayer: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []>;
962
+ /**
963
+ * A reverse double map to allow finding all keys for an identity.
964
+ **/
965
+ didKeys: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityId | string | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<bool>, [
966
+ PolymeshPrimitivesIdentityId,
967
+ AccountId32
968
+ ]>;
816
969
  /**
817
970
  * DID -> identity info
818
971
  **/
819
- didRecords: AugmentedQuery<ApiType, (arg: IdentityId | string | Uint8Array) => Observable<DidRecord>, [
820
- IdentityId
972
+ didRecords: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<Option<PolymeshPrimitivesIdentityDidRecord>>, [
973
+ PolymeshPrimitivesIdentityId
821
974
  ]>;
822
975
  /**
823
976
  * DID -> bool that indicates if secondary keys are frozen.
824
977
  **/
825
- isDidFrozen: AugmentedQuery<ApiType, (arg: IdentityId | string | Uint8Array) => Observable<bool>, [
826
- IdentityId
978
+ isDidFrozen: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<bool>, [
979
+ PolymeshPrimitivesIdentityId
827
980
  ]>;
828
- keyToIdentityIds: AugmentedQuery<ApiType, (arg: AccountId | string | Uint8Array) => Observable<IdentityId>, [
829
- AccountId
981
+ /**
982
+ * Map from AccountId to `KeyRecord` that holds the key's identity and permissions.
983
+ **/
984
+ keyRecords: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PolymeshPrimitivesSecondaryKeyKeyRecord>>, [
985
+ AccountId32
830
986
  ]>;
831
987
  /**
832
988
  * Nonce to ensure unique actions. starts from 1.
@@ -835,60 +991,60 @@ declare module '@polkadot/api/types/storage' {
835
991
  /**
836
992
  * Authorization nonce per Identity. Initially is 0.
837
993
  **/
838
- offChainAuthorizationNonce: AugmentedQuery<ApiType, (arg: IdentityId | string | Uint8Array) => Observable<AuthorizationNonce>, [
839
- IdentityId
994
+ offChainAuthorizationNonce: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<u64>, [
995
+ PolymeshPrimitivesIdentityId
840
996
  ]>;
841
997
  /**
842
998
  * Storage version.
843
999
  **/
844
- storageVersion: AugmentedQuery<ApiType, () => Observable<Version>, []>;
1000
+ storageVersion: AugmentedQuery<ApiType, () => Observable<u8>, []>;
845
1001
  };
846
1002
  imOnline: {
847
1003
  /**
848
1004
  * For each session index, we keep a mapping of `ValidatorId<T>` to the
849
1005
  * number of blocks authored by the given authority.
850
1006
  **/
851
- authoredBlocks: AugmentedQuery<ApiType, (arg1: SessionIndex | AnyNumber | Uint8Array, arg2: ValidatorId | string | Uint8Array) => Observable<u32>, [
852
- SessionIndex,
853
- ValidatorId
1007
+ authoredBlocks: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<u32>, [
1008
+ u32,
1009
+ AccountId32
854
1010
  ]>;
855
1011
  /**
856
- * The block number after which it's ok to send heartbeats in current session.
1012
+ * The block number after which it's ok to send heartbeats in the current
1013
+ * session.
1014
+ *
1015
+ * At the beginning of each session we set this to a value that should fall
1016
+ * roughly in the middle of the session duration. The idea is to first wait for
1017
+ * the validators to produce a block in the current session, so that the
1018
+ * heartbeat later on will not be necessary.
857
1019
  *
858
- * At the beginning of each session we set this to a value that should
859
- * fall roughly in the middle of the session duration.
860
- * The idea is to first wait for the validators to produce a block
861
- * in the current session, so that the heartbeat later on will not be necessary.
1020
+ * This value will only be used as a fallback if we fail to get a proper session
1021
+ * progress estimate from `NextSessionRotation`, as those estimates should be
1022
+ * more accurate then the value we calculate for `HeartbeatAfter`.
862
1023
  **/
863
- heartbeatAfter: AugmentedQuery<ApiType, () => Observable<BlockNumber>, []>;
1024
+ heartbeatAfter: AugmentedQuery<ApiType, () => Observable<u32>, []>;
864
1025
  /**
865
1026
  * The current set of keys that may issue a heartbeat.
866
1027
  **/
867
- keys: AugmentedQuery<ApiType, () => Observable<Vec<AuthorityId>>, []>;
1028
+ keys: AugmentedQuery<ApiType, () => Observable<Vec<PalletImOnlineSr25519AppSr25519Public>>, [
1029
+ ]>;
868
1030
  /**
869
- * For each session index, we keep a mapping of `AuthIndex` to
870
- * `offchain::OpaqueNetworkState`.
1031
+ * For each session index, we keep a mapping of `SessionIndex` and `AuthIndex` to
1032
+ * `WrapperOpaque<BoundedOpaqueNetworkState>`.
871
1033
  **/
872
- receivedHeartbeats: AugmentedQuery<ApiType, (arg1: SessionIndex | AnyNumber | Uint8Array, arg2: AuthIndex | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [
873
- SessionIndex,
874
- AuthIndex
1034
+ receivedHeartbeats: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<WrapperOpaque<PalletImOnlineBoundedOpaqueNetworkState>>>, [
1035
+ u32,
1036
+ u32
875
1037
  ]>;
876
1038
  };
877
1039
  indices: {
878
1040
  /**
879
1041
  * The lookup from index to account.
880
1042
  **/
881
- accounts: AugmentedQuery<ApiType, (arg: AccountIndex | AnyNumber | Uint8Array) => Observable<Option<ITuple<[AccountId, BalanceOf, bool]>>>, [
882
- AccountIndex
1043
+ accounts: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[AccountId32, u128, bool]>>>, [
1044
+ u32
883
1045
  ]>;
884
1046
  };
885
1047
  multiSig: {
886
- /**
887
- * Maps a multisig signer key to a multisig address.
888
- **/
889
- keyToMultiSig: AugmentedQuery<ApiType, (arg: AccountId | string | Uint8Array) => Observable<AccountId>, [
890
- AccountId
891
- ]>;
892
1048
  /**
893
1049
  * Nonce to ensure unique MultiSig addresses are generated; starts from 1.
894
1050
  **/
@@ -896,60 +1052,64 @@ declare module '@polkadot/api/types/storage' {
896
1052
  /**
897
1053
  * Signers of a multisig. (multisig, signer) => signer.
898
1054
  **/
899
- multiSigSigners: AugmentedQuery<ApiType, (arg1: AccountId | string | Uint8Array, arg2: Signatory | {
1055
+ multiSigSigners: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: PolymeshPrimitivesSecondaryKeySignatory | {
900
1056
  Identity: any;
901
1057
  } | {
902
1058
  Account: any;
903
- } | string | Uint8Array) => Observable<Signatory>, [
904
- AccountId,
905
- Signatory
1059
+ } | string | Uint8Array) => Observable<PolymeshPrimitivesSecondaryKeySignatory>, [
1060
+ AccountId32,
1061
+ PolymeshPrimitivesSecondaryKeySignatory
906
1062
  ]>;
907
1063
  /**
908
1064
  * Confirmations required before processing a multisig tx.
909
1065
  **/
910
- multiSigSignsRequired: AugmentedQuery<ApiType, (arg: AccountId | string | Uint8Array) => Observable<u64>, [
911
- AccountId
1066
+ multiSigSignsRequired: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u64>, [
1067
+ AccountId32
912
1068
  ]>;
913
1069
  /**
914
1070
  * Maps a multisig account to its identity.
915
1071
  **/
916
- multiSigToIdentity: AugmentedQuery<ApiType, (arg: AccountId | string | Uint8Array) => Observable<IdentityId>, [
917
- AccountId
1072
+ multiSigToIdentity: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<U8aFixed>, [
1073
+ AccountId32
918
1074
  ]>;
919
1075
  /**
920
1076
  * Number of transactions proposed in a multisig. Used as tx id; starts from 0.
921
1077
  **/
922
- multiSigTxDone: AugmentedQuery<ApiType, (arg: AccountId | string | Uint8Array) => Observable<u64>, [
923
- AccountId
1078
+ multiSigTxDone: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u64>, [
1079
+ AccountId32
924
1080
  ]>;
925
1081
  /**
926
1082
  * Number of approved/accepted signers of a multisig.
927
1083
  **/
928
- numberOfSigners: AugmentedQuery<ApiType, (arg: AccountId | string | Uint8Array) => Observable<u64>, [
929
- AccountId
1084
+ numberOfSigners: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u64>, [
1085
+ AccountId32
930
1086
  ]>;
931
1087
  /**
932
1088
  * Details of a multisig proposal
933
1089
  **/
934
- proposalDetail: AugmentedQuery<ApiType, (arg: ITuple<[AccountId, u64]> | [AccountId | string | Uint8Array, u64 | AnyNumber | Uint8Array]) => Observable<ProposalDetails>, [
935
- ITuple<[AccountId, u64]>
1090
+ proposalDetail: AugmentedQuery<ApiType, (arg: ITuple<[AccountId32, u64]> | [AccountId32 | string | Uint8Array, u64 | AnyNumber | Uint8Array]) => Observable<PalletMultisigProposalDetails>, [
1091
+ ITuple<[AccountId32, u64]>
936
1092
  ]>;
937
1093
  /**
938
1094
  * A mapping of proposals to their IDs.
939
1095
  **/
940
- proposalIds: AugmentedQuery<ApiType, (arg1: AccountId | string | Uint8Array, arg2: Proposal | {
1096
+ proposalIds: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: Call | {
941
1097
  callIndex?: any;
942
1098
  args?: any;
943
1099
  } | string | Uint8Array) => Observable<Option<u64>>, [
944
- AccountId,
945
- Proposal
1100
+ AccountId32,
1101
+ Call
946
1102
  ]>;
947
1103
  /**
948
1104
  * Proposals presented for voting to a multisig (multisig, proposal id) => Option<T::Proposal>.
949
1105
  **/
950
- proposals: AugmentedQuery<ApiType, (arg: ITuple<[AccountId, u64]> | [AccountId | string | Uint8Array, u64 | AnyNumber | Uint8Array]) => Observable<Option<Proposal>>, [
951
- ITuple<[AccountId, u64]>
1106
+ proposals: AugmentedQuery<ApiType, (arg: ITuple<[AccountId32, u64]> | [AccountId32 | string | Uint8Array, u64 | AnyNumber | Uint8Array]) => Observable<Option<Call>>, [
1107
+ ITuple<[AccountId32, u64]>
952
1108
  ]>;
1109
+ /**
1110
+ * Storage version.
1111
+ **/
1112
+ storageVersion: AugmentedQuery<ApiType, () => Observable<u8>, []>;
953
1113
  /**
954
1114
  * The last transaction version, used for `on_runtime_upgrade`.
955
1115
  **/
@@ -957,36 +1117,31 @@ declare module '@polkadot/api/types/storage' {
957
1117
  /**
958
1118
  * Individual multisig signer votes. (multi sig, signer, proposal) => vote.
959
1119
  **/
960
- votes: AugmentedQuery<ApiType, (arg: ITuple<[AccountId, Signatory, u64]> | [
961
- AccountId | string | Uint8Array,
962
- Signatory | {
1120
+ votes: AugmentedQuery<ApiType, (arg: ITuple<[AccountId32, PolymeshPrimitivesSecondaryKeySignatory, u64]> | [
1121
+ AccountId32 | string | Uint8Array,
1122
+ (PolymeshPrimitivesSecondaryKeySignatory | {
963
1123
  Identity: any;
964
1124
  } | {
965
1125
  Account: any;
966
- } | string | Uint8Array,
1126
+ } | string | Uint8Array),
967
1127
  u64 | AnyNumber | Uint8Array
968
1128
  ]) => Observable<bool>, [
969
- ITuple<[AccountId, Signatory, u64]>
1129
+ ITuple<[AccountId32, PolymeshPrimitivesSecondaryKeySignatory, u64]>
970
1130
  ]>;
971
1131
  };
972
1132
  offences: {
973
1133
  /**
974
1134
  * A vector of reports of the same kind that happened at the same time slot.
975
1135
  **/
976
- concurrentReportsIndex: AugmentedQuery<ApiType, (arg1: Kind | string | Uint8Array, arg2: OpaqueTimeSlot | string | Uint8Array) => Observable<Vec<ReportIdOf>>, [
977
- Kind,
978
- OpaqueTimeSlot
1136
+ concurrentReportsIndex: AugmentedQuery<ApiType, (arg1: U8aFixed | string | Uint8Array, arg2: Bytes | string | Uint8Array) => Observable<Vec<H256>>, [
1137
+ U8aFixed,
1138
+ Bytes
979
1139
  ]>;
980
- /**
981
- * Deferred reports that have been rejected by the offence handler and need to be submitted
982
- * at a later time.
983
- **/
984
- deferredOffences: AugmentedQuery<ApiType, () => Observable<Vec<DeferredOffenceOf>>, []>;
985
1140
  /**
986
1141
  * The primary structure that holds all offence records keyed by report identifiers.
987
1142
  **/
988
- reports: AugmentedQuery<ApiType, (arg: ReportIdOf | string | Uint8Array) => Observable<Option<OffenceDetails>>, [
989
- ReportIdOf
1143
+ reports: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<SpStakingOffenceOffenceDetails>>, [
1144
+ H256
990
1145
  ]>;
991
1146
  /**
992
1147
  * Enumerates all reports of a kind along with the time they happened.
@@ -996,8 +1151,8 @@ declare module '@polkadot/api/types/storage' {
996
1151
  * Note that the actual type of this mapping is `Vec<u8>`, this is because values of
997
1152
  * different types are not supported at the moment so we are doing the manual serialization.
998
1153
  **/
999
- reportsByKindIndex: AugmentedQuery<ApiType, (arg: Kind | string | Uint8Array) => Observable<Bytes>, [
1000
- Kind
1154
+ reportsByKindIndex: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Bytes>, [
1155
+ U8aFixed
1001
1156
  ]>;
1002
1157
  };
1003
1158
  pips: {
@@ -1014,18 +1169,18 @@ declare module '@polkadot/api/types/storage' {
1014
1169
  * All existing PIPs where the proposer is a committee.
1015
1170
  * This list is a cache of all ids in `Proposals` with `Proposer::Committee(_)`.
1016
1171
  **/
1017
- committeePips: AugmentedQuery<ApiType, () => Observable<Vec<PipId>>, []>;
1172
+ committeePips: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []>;
1018
1173
  /**
1019
1174
  * Default enactment period that will be use after a proposal is accepted by GC.
1020
1175
  **/
1021
- defaultEnactmentPeriod: AugmentedQuery<ApiType, () => Observable<BlockNumber>, []>;
1176
+ defaultEnactmentPeriod: AugmentedQuery<ApiType, () => Observable<u32>, []>;
1022
1177
  /**
1023
1178
  * Those who have locked a deposit.
1024
1179
  * proposal (id, proposer) -> deposit
1025
1180
  **/
1026
- deposits: AugmentedQuery<ApiType, (arg1: PipId | AnyNumber | Uint8Array, arg2: AccountId | string | Uint8Array) => Observable<DepositInfo>, [
1027
- PipId,
1028
- AccountId
1181
+ deposits: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<PalletPipsDepositInfo>, [
1182
+ u32,
1183
+ AccountId32
1029
1184
  ]>;
1030
1185
  /**
1031
1186
  * A live priority queue (lowest priority at index 0)
@@ -1035,64 +1190,65 @@ declare module '@polkadot/api/types/storage' {
1035
1190
  * Unlike `SnapshotQueue`, this queue is live, getting updated with each vote cast.
1036
1191
  * The snapshot is therefore essentially a point-in-time clone of this queue.
1037
1192
  **/
1038
- liveQueue: AugmentedQuery<ApiType, () => Observable<Vec<SnapshottedPip>>, []>;
1193
+ liveQueue: AugmentedQuery<ApiType, () => Observable<Vec<PalletPipsSnapshottedPip>>, []>;
1039
1194
  /**
1040
1195
  * Maximum times a PIP can be skipped before triggering `CannotSkipPip` in `enact_snapshot_results`.
1041
1196
  **/
1042
- maxPipSkipCount: AugmentedQuery<ApiType, () => Observable<SkippedCount>, []>;
1197
+ maxPipSkipCount: AugmentedQuery<ApiType, () => Observable<u8>, []>;
1043
1198
  /**
1044
1199
  * The minimum amount to be used as a deposit for community PIP creation.
1045
1200
  **/
1046
- minimumProposalDeposit: AugmentedQuery<ApiType, () => Observable<Balance>, []>;
1201
+ minimumProposalDeposit: AugmentedQuery<ApiType, () => Observable<u128>, []>;
1047
1202
  /**
1048
1203
  * How many blocks will it take, after a `Pending` PIP expires,
1049
1204
  * assuming it has not transitioned to another `ProposalState`?
1050
1205
  **/
1051
- pendingPipExpiry: AugmentedQuery<ApiType, () => Observable<MaybeBlock>, []>;
1206
+ pendingPipExpiry: AugmentedQuery<ApiType, () => Observable<PolymeshCommonUtilitiesMaybeBlock>, [
1207
+ ]>;
1052
1208
  /**
1053
1209
  * Proposals so far. id can be used to keep track of PIPs off-chain.
1054
1210
  **/
1055
- pipIdSequence: AugmentedQuery<ApiType, () => Observable<PipId>, []>;
1211
+ pipIdSequence: AugmentedQuery<ApiType, () => Observable<u32>, []>;
1056
1212
  /**
1057
1213
  * The number of times a certain PIP has been skipped.
1058
1214
  * Once a (configurable) threshhold is exceeded, a PIP cannot be skipped again.
1059
1215
  **/
1060
- pipSkipCount: AugmentedQuery<ApiType, (arg: PipId | AnyNumber | Uint8Array) => Observable<SkippedCount>, [
1061
- PipId
1216
+ pipSkipCount: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u8>, [
1217
+ u32
1062
1218
  ]>;
1063
1219
  /**
1064
1220
  * Maps PIPs to the block at which they will be executed, if any.
1065
1221
  **/
1066
- pipToSchedule: AugmentedQuery<ApiType, (arg: PipId | AnyNumber | Uint8Array) => Observable<Option<BlockNumber>>, [
1067
- PipId
1222
+ pipToSchedule: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [
1223
+ u32
1068
1224
  ]>;
1069
1225
  /**
1070
1226
  * The metadata of the active proposals.
1071
1227
  **/
1072
- proposalMetadata: AugmentedQuery<ApiType, (arg: PipId | AnyNumber | Uint8Array) => Observable<Option<PipsMetadata>>, [
1073
- PipId
1228
+ proposalMetadata: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletPipsPipsMetadata>>, [
1229
+ u32
1074
1230
  ]>;
1075
1231
  /**
1076
1232
  * PolymeshVotes on a given proposal, if it is ongoing.
1077
1233
  * proposal id -> vote count
1078
1234
  **/
1079
- proposalResult: AugmentedQuery<ApiType, (arg: PipId | AnyNumber | Uint8Array) => Observable<VotingResult>, [
1080
- PipId
1235
+ proposalResult: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletPipsVotingResult>, [
1236
+ u32
1081
1237
  ]>;
1082
1238
  /**
1083
1239
  * Actual proposal for a given id, if it's current.
1084
1240
  * proposal id -> proposal
1085
1241
  **/
1086
- proposals: AugmentedQuery<ApiType, (arg: PipId | AnyNumber | Uint8Array) => Observable<Option<Pip>>, [
1087
- PipId
1242
+ proposals: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletPipsPip>>, [
1243
+ u32
1088
1244
  ]>;
1089
1245
  /**
1090
1246
  * Votes per Proposal and account. Used to avoid double vote issue.
1091
1247
  * (proposal id, account) -> Vote
1092
1248
  **/
1093
- proposalVotes: AugmentedQuery<ApiType, (arg1: PipId | AnyNumber | Uint8Array, arg2: AccountId | string | Uint8Array) => Observable<Option<Vote>>, [
1094
- PipId,
1095
- AccountId
1249
+ proposalVotes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[bool, u128]>>>, [
1250
+ u32,
1251
+ AccountId32
1096
1252
  ]>;
1097
1253
  /**
1098
1254
  * Determines whether historical PIP data is persisted or removed
@@ -1101,11 +1257,12 @@ declare module '@polkadot/api/types/storage' {
1101
1257
  /**
1102
1258
  * Snapshots so far. id can be used to keep track of snapshots off-chain.
1103
1259
  **/
1104
- snapshotIdSequence: AugmentedQuery<ApiType, () => Observable<SnapshotId>, []>;
1260
+ snapshotIdSequence: AugmentedQuery<ApiType, () => Observable<u32>, []>;
1105
1261
  /**
1106
1262
  * The metadata of the snapshot, if there is one.
1107
1263
  **/
1108
- snapshotMeta: AugmentedQuery<ApiType, () => Observable<Option<SnapshotMetadata>>, []>;
1264
+ snapshotMeta: AugmentedQuery<ApiType, () => Observable<Option<PalletPipsSnapshotMetadata>>, [
1265
+ ]>;
1109
1266
  /**
1110
1267
  * The priority queue (lowest priority at index 0) of PIPs at the point of snapshotting.
1111
1268
  * Priority is defined by the `weight` in the `SnapshottedPip`.
@@ -1113,18 +1270,19 @@ declare module '@polkadot/api/types/storage' {
1113
1270
  * A queued PIP can be skipped. Doing so bumps the `pip_skip_count`.
1114
1271
  * Once a (configurable) threshhold is exceeded, a PIP cannot be skipped again.
1115
1272
  **/
1116
- snapshotQueue: AugmentedQuery<ApiType, () => Observable<Vec<SnapshottedPip>>, []>;
1117
- storageVersion: AugmentedQuery<ApiType, () => Observable<Version>, []>;
1273
+ snapshotQueue: AugmentedQuery<ApiType, () => Observable<Vec<PalletPipsSnapshottedPip>>, []>;
1274
+ storageVersion: AugmentedQuery<ApiType, () => Observable<u8>, []>;
1118
1275
  };
1119
1276
  polymeshCommittee: {
1120
1277
  /**
1121
1278
  * Time after which a proposal will expire.
1122
1279
  **/
1123
- expiresAfter: AugmentedQuery<ApiType, () => Observable<MaybeBlock>, []>;
1280
+ expiresAfter: AugmentedQuery<ApiType, () => Observable<PolymeshCommonUtilitiesMaybeBlock>, [
1281
+ ]>;
1124
1282
  /**
1125
1283
  * The current members of the committee.
1126
1284
  **/
1127
- members: AugmentedQuery<ApiType, () => Observable<Vec<IdentityId>>, []>;
1285
+ members: AugmentedQuery<ApiType, () => Observable<Vec<PolymeshPrimitivesIdentityId>>, []>;
1128
1286
  /**
1129
1287
  * Proposals so far.
1130
1288
  **/
@@ -1132,21 +1290,21 @@ declare module '@polkadot/api/types/storage' {
1132
1290
  /**
1133
1291
  * Actual proposal for a given hash.
1134
1292
  **/
1135
- proposalOf: AugmentedQuery<ApiType, (arg: Hash | string | Uint8Array) => Observable<Option<Call>>, [
1136
- Hash
1293
+ proposalOf: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Call>>, [
1294
+ H256
1137
1295
  ]>;
1138
1296
  /**
1139
1297
  * The hashes of the active proposals.
1140
1298
  **/
1141
- proposals: AugmentedQuery<ApiType, () => Observable<Vec<Hash>>, []>;
1299
+ proposals: AugmentedQuery<ApiType, () => Observable<Vec<H256>>, []>;
1142
1300
  /**
1143
1301
  * Release coordinator.
1144
1302
  **/
1145
- releaseCoordinator: AugmentedQuery<ApiType, () => Observable<Option<IdentityId>>, []>;
1303
+ releaseCoordinator: AugmentedQuery<ApiType, () => Observable<Option<U8aFixed>>, []>;
1146
1304
  /**
1147
1305
  * Storage version.
1148
1306
  **/
1149
- storageVersion: AugmentedQuery<ApiType, () => Observable<Version>, []>;
1307
+ storageVersion: AugmentedQuery<ApiType, () => Observable<u8>, []>;
1150
1308
  /**
1151
1309
  * Vote threshold for an approval.
1152
1310
  **/
@@ -1154,101 +1312,116 @@ declare module '@polkadot/api/types/storage' {
1154
1312
  /**
1155
1313
  * PolymeshVotes on a given proposal, if it is ongoing.
1156
1314
  **/
1157
- voting: AugmentedQuery<ApiType, (arg: Hash | string | Uint8Array) => Observable<Option<PolymeshVotes>>, [
1158
- Hash
1315
+ voting: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletCommitteePolymeshVotes>>, [
1316
+ H256
1159
1317
  ]>;
1160
1318
  };
1319
+ polymeshContracts: {};
1161
1320
  portfolio: {
1162
1321
  /**
1163
1322
  * Inverse map of `Portfolios` used to ensure bijectivitiy,
1164
1323
  * and uniqueness of names in `Portfolios`.
1165
1324
  **/
1166
- nameToNumber: AugmentedQuery<ApiType, (arg1: IdentityId | string | Uint8Array, arg2: PortfolioName | string) => Observable<PortfolioNumber>, [
1167
- IdentityId,
1168
- PortfolioName
1325
+ nameToNumber: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityId | string | Uint8Array, arg2: Bytes | string | Uint8Array) => Observable<u64>, [
1326
+ PolymeshPrimitivesIdentityId,
1327
+ Bytes
1169
1328
  ]>;
1170
1329
  /**
1171
1330
  * The next portfolio sequence number of an identity.
1172
1331
  **/
1173
- nextPortfolioNumber: AugmentedQuery<ApiType, (arg: IdentityId | string | Uint8Array) => Observable<PortfolioNumber>, [
1174
- IdentityId
1332
+ nextPortfolioNumber: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<u64>, [
1333
+ PolymeshPrimitivesIdentityId
1175
1334
  ]>;
1176
1335
  /**
1177
1336
  * The asset balances of portfolios.
1178
1337
  **/
1179
- portfolioAssetBalances: AugmentedQuery<ApiType, (arg1: PortfolioId | {
1338
+ portfolioAssetBalances: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityIdPortfolioId | {
1180
1339
  did?: any;
1181
1340
  kind?: any;
1182
- } | string | Uint8Array, arg2: Ticker | string | Uint8Array) => Observable<Balance>, [
1183
- PortfolioId,
1184
- Ticker
1341
+ } | string | Uint8Array, arg2: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<u128>, [
1342
+ PolymeshPrimitivesIdentityIdPortfolioId,
1343
+ PolymeshPrimitivesTicker
1185
1344
  ]>;
1186
1345
  /**
1187
1346
  * How many assets with non-zero balance this portfolio contains.
1188
1347
  **/
1189
- portfolioAssetCount: AugmentedQuery<ApiType, (arg: PortfolioId | {
1348
+ portfolioAssetCount: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesIdentityIdPortfolioId | {
1190
1349
  did?: any;
1191
1350
  kind?: any;
1192
1351
  } | string | Uint8Array) => Observable<u64>, [
1193
- PortfolioId
1352
+ PolymeshPrimitivesIdentityIdPortfolioId
1194
1353
  ]>;
1195
1354
  /**
1196
1355
  * The custodian of a particular portfolio. None implies that the identity owner is the custodian.
1197
1356
  **/
1198
- portfolioCustodian: AugmentedQuery<ApiType, (arg: PortfolioId | {
1357
+ portfolioCustodian: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesIdentityIdPortfolioId | {
1199
1358
  did?: any;
1200
1359
  kind?: any;
1201
- } | string | Uint8Array) => Observable<Option<IdentityId>>, [
1202
- PortfolioId
1360
+ } | string | Uint8Array) => Observable<Option<U8aFixed>>, [
1361
+ PolymeshPrimitivesIdentityIdPortfolioId
1203
1362
  ]>;
1204
1363
  /**
1205
1364
  * Amount of assets locked in a portfolio.
1206
1365
  * These assets show up in portfolio balance but can not be transferred away.
1207
1366
  **/
1208
- portfolioLockedAssets: AugmentedQuery<ApiType, (arg1: PortfolioId | {
1367
+ portfolioLockedAssets: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityIdPortfolioId | {
1209
1368
  did?: any;
1210
1369
  kind?: any;
1211
- } | string | Uint8Array, arg2: Ticker | string | Uint8Array) => Observable<Balance>, [
1212
- PortfolioId,
1213
- Ticker
1370
+ } | string | Uint8Array, arg2: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<u128>, [
1371
+ PolymeshPrimitivesIdentityIdPortfolioId,
1372
+ PolymeshPrimitivesTicker
1214
1373
  ]>;
1215
1374
  /**
1216
1375
  * The set of existing portfolios with their names. If a certain pair of a DID and
1217
1376
  * portfolio number maps to `None` then such a portfolio doesn't exist. Conversely, if a
1218
1377
  * pair maps to `Some(name)` then such a portfolio exists and is called `name`.
1219
1378
  **/
1220
- portfolios: AugmentedQuery<ApiType, (arg1: IdentityId | string | Uint8Array, arg2: PortfolioNumber | AnyNumber | Uint8Array) => Observable<PortfolioName>, [
1221
- IdentityId,
1222
- PortfolioNumber
1379
+ portfolios: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityId | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Bytes>, [
1380
+ PolymeshPrimitivesIdentityId,
1381
+ u64
1223
1382
  ]>;
1224
1383
  /**
1225
1384
  * Tracks all the portfolios in custody of a particular identity. Only used by the UIs.
1226
1385
  * When `true` is stored as the value for a given `(did, pid)`, it means that `pid` is in custody of `did`.
1227
1386
  * `false` values are never explicitly stored in the map, and are instead inferred by the absence of a key.
1228
1387
  **/
1229
- portfoliosInCustody: AugmentedQuery<ApiType, (arg1: IdentityId | string | Uint8Array, arg2: PortfolioId | {
1388
+ portfoliosInCustody: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityId | string | Uint8Array, arg2: PolymeshPrimitivesIdentityIdPortfolioId | {
1230
1389
  did?: any;
1231
1390
  kind?: any;
1232
1391
  } | string | Uint8Array) => Observable<bool>, [
1233
- IdentityId,
1234
- PortfolioId
1392
+ PolymeshPrimitivesIdentityId,
1393
+ PolymeshPrimitivesIdentityIdPortfolioId
1235
1394
  ]>;
1236
1395
  /**
1237
1396
  * Storage version.
1238
1397
  **/
1239
- storageVersion: AugmentedQuery<ApiType, () => Observable<Version>, []>;
1398
+ storageVersion: AugmentedQuery<ApiType, () => Observable<u8>, []>;
1399
+ };
1400
+ preimage: {
1401
+ /**
1402
+ * The preimages stored by this pallet.
1403
+ **/
1404
+ preimageFor: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Bytes>>, [
1405
+ H256
1406
+ ]>;
1407
+ /**
1408
+ * The request status of a given hash.
1409
+ **/
1410
+ statusFor: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletPreimageRequestStatus>>, [
1411
+ H256
1412
+ ]>;
1240
1413
  };
1241
1414
  protocolFee: {
1242
1415
  /**
1243
1416
  * The mapping of operation names to the base fees of those operations.
1244
1417
  **/
1245
- baseFees: AugmentedQuery<ApiType, (arg: ProtocolOp | 'AssetRegisterTicker' | 'AssetIssue' | 'AssetAddDocuments' | 'AssetCreateAsset' | 'CheckpointCreateSchedule' | 'ComplianceManagerAddComplianceRequirement' | 'IdentityCddRegisterDid' | 'IdentityAddClaim' | 'IdentityAddSecondaryKeysWithAuthorization' | 'PipsPropose' | 'ContractsPutCode' | 'CorporateBallotAttachBallot' | 'CapitalDistributionDistribute' | number | Uint8Array) => Observable<Balance>, [
1246
- ProtocolOp
1418
+ baseFees: AugmentedQuery<ApiType, (arg: PolymeshCommonUtilitiesProtocolFeeProtocolOp | 'AssetRegisterTicker' | 'AssetIssue' | 'AssetAddDocuments' | 'AssetCreateAsset' | 'CheckpointCreateSchedule' | 'ComplianceManagerAddComplianceRequirement' | 'IdentityCddRegisterDid' | 'IdentityAddClaim' | 'IdentityAddSecondaryKeysWithAuthorization' | 'PipsPropose' | 'ContractsPutCode' | 'CorporateBallotAttachBallot' | 'CapitalDistributionDistribute' | number | Uint8Array) => Observable<u128>, [
1419
+ PolymeshCommonUtilitiesProtocolFeeProtocolOp
1247
1420
  ]>;
1248
1421
  /**
1249
1422
  * The fee coefficient as a positive rational (numerator, denominator).
1250
1423
  **/
1251
- coefficient: AugmentedQuery<ApiType, () => Observable<PosRatio>, []>;
1424
+ coefficient: AugmentedQuery<ApiType, () => Observable<ITuple<[u32, u32]>>, []>;
1252
1425
  };
1253
1426
  randomnessCollectiveFlip: {
1254
1427
  /**
@@ -1256,7 +1429,7 @@ declare module '@polkadot/api/types/storage' {
1256
1429
  * is arranged as a ring buffer with `block_number % 81` being the index into the `Vec` of
1257
1430
  * the oldest hash.
1258
1431
  **/
1259
- randomMaterial: AugmentedQuery<ApiType, () => Observable<Vec<Hash>>, []>;
1432
+ randomMaterial: AugmentedQuery<ApiType, () => Observable<Vec<H256>>, []>;
1260
1433
  };
1261
1434
  relayer: {
1262
1435
  /**
@@ -1267,60 +1440,56 @@ declare module '@polkadot/api/types/storage' {
1267
1440
  * a key needs to call `remove_paying_key` to remove the current subsidy,
1268
1441
  * before they can accept a new subsidiser.
1269
1442
  **/
1270
- subsidies: AugmentedQuery<ApiType, (arg: AccountId | string | Uint8Array) => Observable<Option<Subsidy>>, [
1271
- AccountId
1443
+ subsidies: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletRelayerSubsidy>>, [
1444
+ AccountId32
1272
1445
  ]>;
1273
1446
  };
1274
1447
  rewards: {
1275
1448
  /**
1276
1449
  * Map of (Itn Address `AccountId`) -> (Reward `ItnRewardStatus`).
1277
1450
  **/
1278
- itnRewards: AugmentedQuery<ApiType, (arg: AccountId | string | Uint8Array) => Observable<Option<ItnRewardStatus>>, [
1279
- AccountId
1451
+ itnRewards: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletRewardsItnRewardStatus>>, [
1452
+ AccountId32
1280
1453
  ]>;
1281
1454
  };
1282
1455
  scheduler: {
1283
1456
  /**
1284
1457
  * Items to be executed, indexed by the block number that they should be executed on.
1285
1458
  **/
1286
- agenda: AugmentedQuery<ApiType, (arg: BlockNumber | AnyNumber | Uint8Array) => Observable<Vec<Option<Scheduled>>>, [
1287
- BlockNumber
1459
+ agenda: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<Option<PalletSchedulerScheduledV3>>>, [
1460
+ u32
1288
1461
  ]>;
1289
1462
  /**
1290
1463
  * Lookup from identity to the block number and index of the task.
1291
1464
  **/
1292
- lookup: AugmentedQuery<ApiType, (arg: Bytes | string | Uint8Array) => Observable<Option<TaskAddress>>, [
1465
+ lookup: AugmentedQuery<ApiType, (arg: Bytes | string | Uint8Array) => Observable<Option<ITuple<[u32, u32]>>>, [
1293
1466
  Bytes
1294
1467
  ]>;
1295
- /**
1296
- * Storage version of the pallet.
1297
- *
1298
- * New networks start with last version.
1299
- **/
1300
- storageVersion: AugmentedQuery<ApiType, () => Observable<Releases>, []>;
1301
1468
  };
1302
1469
  session: {
1303
1470
  /**
1304
1471
  * Current index of the session.
1305
1472
  **/
1306
- currentIndex: AugmentedQuery<ApiType, () => Observable<SessionIndex>, []>;
1473
+ currentIndex: AugmentedQuery<ApiType, () => Observable<u32>, []>;
1307
1474
  /**
1308
1475
  * Indices of disabled validators.
1309
1476
  *
1310
- * The set is cleared when `on_session_ending` returns a new set of identities.
1477
+ * The vec is always kept sorted so that we can find whether a given validator is
1478
+ * disabled using binary search. It gets cleared when `on_session_ending` returns
1479
+ * a new set of identities.
1311
1480
  **/
1312
1481
  disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []>;
1313
1482
  /**
1314
1483
  * The owner of a key. The key is the `KeyTypeId` + the encoded key.
1315
1484
  **/
1316
- keyOwner: AugmentedQuery<ApiType, (arg: ITuple<[KeyTypeId, Bytes]> | [KeyTypeId | AnyNumber | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<ValidatorId>>, [
1317
- ITuple<[KeyTypeId, Bytes]>
1485
+ keyOwner: AugmentedQuery<ApiType, (arg: ITuple<[SpCoreCryptoKeyTypeId, Bytes]> | [SpCoreCryptoKeyTypeId | string | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<AccountId32>>, [
1486
+ ITuple<[SpCoreCryptoKeyTypeId, Bytes]>
1318
1487
  ]>;
1319
1488
  /**
1320
1489
  * The next session keys for a validator.
1321
1490
  **/
1322
- nextKeys: AugmentedQuery<ApiType, (arg: ValidatorId | string | Uint8Array) => Observable<Option<Keys>>, [
1323
- ValidatorId
1491
+ nextKeys: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PolymeshRuntimeDevelopRuntimeSessionKeys>>, [
1492
+ AccountId32
1324
1493
  ]>;
1325
1494
  /**
1326
1495
  * True if the underlying economic identities or weighting behind the validators
@@ -1331,111 +1500,112 @@ declare module '@polkadot/api/types/storage' {
1331
1500
  * The queued keys for the next session. When the next session begins, these keys
1332
1501
  * will be used to determine the validator's session keys.
1333
1502
  **/
1334
- queuedKeys: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[ValidatorId, Keys]>>>, []>;
1503
+ queuedKeys: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AccountId32, PolymeshRuntimeDevelopRuntimeSessionKeys]>>>, [
1504
+ ]>;
1335
1505
  /**
1336
1506
  * The current set of validators.
1337
1507
  **/
1338
- validators: AugmentedQuery<ApiType, () => Observable<Vec<ValidatorId>>, []>;
1508
+ validators: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []>;
1339
1509
  };
1340
1510
  settlement: {
1341
1511
  /**
1342
1512
  * Tracks affirmations received for an instruction. (instruction_id, counter_party) -> AffirmationStatus
1343
1513
  **/
1344
- affirmsReceived: AugmentedQuery<ApiType, (arg1: InstructionId | AnyNumber | Uint8Array, arg2: PortfolioId | {
1514
+ affirmsReceived: AugmentedQuery<ApiType, (arg1: u64 | AnyNumber | Uint8Array, arg2: PolymeshPrimitivesIdentityIdPortfolioId | {
1345
1515
  did?: any;
1346
1516
  kind?: any;
1347
- } | string | Uint8Array) => Observable<AffirmationStatus>, [
1348
- InstructionId,
1349
- PortfolioId
1517
+ } | string | Uint8Array) => Observable<PalletSettlementAffirmationStatus>, [
1518
+ u64,
1519
+ PolymeshPrimitivesIdentityIdPortfolioId
1350
1520
  ]>;
1351
1521
  /**
1352
1522
  * Free-form text about a venue. venue_id -> `VenueDetails`
1353
1523
  * Only needed for the UI.
1354
1524
  **/
1355
- details: AugmentedQuery<ApiType, (arg: VenueId | AnyNumber | Uint8Array) => Observable<VenueDetails>, [
1356
- VenueId
1525
+ details: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Bytes>, [
1526
+ u64
1357
1527
  ]>;
1358
1528
  /**
1359
1529
  * Number of affirmations pending before instruction is executed. instruction_id -> affirm_pending
1360
1530
  **/
1361
- instructionAffirmsPending: AugmentedQuery<ApiType, (arg: InstructionId | AnyNumber | Uint8Array) => Observable<u64>, [
1362
- InstructionId
1531
+ instructionAffirmsPending: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<u64>, [
1532
+ u64
1363
1533
  ]>;
1364
1534
  /**
1365
1535
  * Number of instructions in the system (It's one more than the actual number)
1366
1536
  **/
1367
- instructionCounter: AugmentedQuery<ApiType, () => Observable<InstructionId>, []>;
1537
+ instructionCounter: AugmentedQuery<ApiType, () => Observable<u64>, []>;
1368
1538
  /**
1369
1539
  * Details about an instruction. instruction_id -> instruction_details
1370
1540
  **/
1371
- instructionDetails: AugmentedQuery<ApiType, (arg: InstructionId | AnyNumber | Uint8Array) => Observable<Instruction>, [
1372
- InstructionId
1541
+ instructionDetails: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<PalletSettlementInstruction>, [
1542
+ u64
1373
1543
  ]>;
1374
1544
  /**
1375
1545
  * Legs under an instruction. (instruction_id, leg_id) -> Leg
1376
1546
  **/
1377
- instructionLegs: AugmentedQuery<ApiType, (arg1: InstructionId | AnyNumber | Uint8Array, arg2: LegId | AnyNumber | Uint8Array) => Observable<Leg>, [
1378
- InstructionId,
1379
- LegId
1547
+ instructionLegs: AugmentedQuery<ApiType, (arg1: u64 | AnyNumber | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<PalletSettlementLeg>, [
1548
+ u64,
1549
+ u64
1380
1550
  ]>;
1381
1551
  /**
1382
1552
  * Status of a leg under an instruction. (instruction_id, leg_id) -> LegStatus
1383
1553
  **/
1384
- instructionLegStatus: AugmentedQuery<ApiType, (arg1: InstructionId | AnyNumber | Uint8Array, arg2: LegId | AnyNumber | Uint8Array) => Observable<LegStatus>, [
1385
- InstructionId,
1386
- LegId
1554
+ instructionLegStatus: AugmentedQuery<ApiType, (arg1: u64 | AnyNumber | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<PalletSettlementLegStatus>, [
1555
+ u64,
1556
+ u64
1387
1557
  ]>;
1388
1558
  /**
1389
1559
  * Tracks redemption of receipts. (signer, receipt_uid) -> receipt_used
1390
1560
  **/
1391
- receiptsUsed: AugmentedQuery<ApiType, (arg1: AccountId | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<bool>, [
1392
- AccountId,
1561
+ receiptsUsed: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<bool>, [
1562
+ AccountId32,
1393
1563
  u64
1394
1564
  ]>;
1395
1565
  /**
1396
1566
  * Storage version.
1397
1567
  **/
1398
- storageVersion: AugmentedQuery<ApiType, () => Observable<Version>, []>;
1568
+ storageVersion: AugmentedQuery<ApiType, () => Observable<u8>, []>;
1399
1569
  /**
1400
1570
  * Helps a user track their pending instructions and affirmations (only needed for UI).
1401
1571
  * (counter_party, instruction_id) -> AffirmationStatus
1402
1572
  **/
1403
- userAffirmations: AugmentedQuery<ApiType, (arg1: PortfolioId | {
1573
+ userAffirmations: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityIdPortfolioId | {
1404
1574
  did?: any;
1405
1575
  kind?: any;
1406
- } | string | Uint8Array, arg2: InstructionId | AnyNumber | Uint8Array) => Observable<AffirmationStatus>, [
1407
- PortfolioId,
1408
- InstructionId
1576
+ } | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<PalletSettlementAffirmationStatus>, [
1577
+ PolymeshPrimitivesIdentityIdPortfolioId,
1578
+ u64
1409
1579
  ]>;
1410
1580
  /**
1411
1581
  * Array of venues created by an identity. Only needed for the UI. IdentityId -> Vec<venue_id>
1412
1582
  **/
1413
- userVenues: AugmentedQuery<ApiType, (arg: IdentityId | string | Uint8Array) => Observable<Vec<VenueId>>, [
1414
- IdentityId
1583
+ userVenues: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<Vec<u64>>, [
1584
+ PolymeshPrimitivesIdentityId
1415
1585
  ]>;
1416
1586
  /**
1417
1587
  * Venues that are allowed to create instructions involving a particular ticker. Only used if filtering is enabled.
1418
1588
  * (ticker, venue_id) -> allowed
1419
1589
  **/
1420
- venueAllowList: AugmentedQuery<ApiType, (arg1: Ticker | string | Uint8Array, arg2: VenueId | AnyNumber | Uint8Array) => Observable<bool>, [
1421
- Ticker,
1422
- VenueId
1590
+ venueAllowList: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesTicker | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<bool>, [
1591
+ PolymeshPrimitivesTicker,
1592
+ u64
1423
1593
  ]>;
1424
1594
  /**
1425
1595
  * Number of venues in the system (It's one more than the actual number)
1426
1596
  **/
1427
- venueCounter: AugmentedQuery<ApiType, () => Observable<VenueId>, []>;
1597
+ venueCounter: AugmentedQuery<ApiType, () => Observable<u64>, []>;
1428
1598
  /**
1429
1599
  * Tracks if a token has enabled filtering venues that can create instructions involving their token. Ticker -> filtering_enabled
1430
1600
  **/
1431
- venueFiltering: AugmentedQuery<ApiType, (arg: Ticker | string | Uint8Array) => Observable<bool>, [
1432
- Ticker
1601
+ venueFiltering: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<bool>, [
1602
+ PolymeshPrimitivesTicker
1433
1603
  ]>;
1434
1604
  /**
1435
1605
  * Info about a venue. venue_id -> venue
1436
1606
  **/
1437
- venueInfo: AugmentedQuery<ApiType, (arg: VenueId | AnyNumber | Uint8Array) => Observable<Option<Venue>>, [
1438
- VenueId
1607
+ venueInfo: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletSettlementVenue>>, [
1608
+ u64
1439
1609
  ]>;
1440
1610
  /**
1441
1611
  * Instructions under a venue.
@@ -1443,16 +1613,16 @@ declare module '@polkadot/api/types/storage' {
1443
1613
  *
1444
1614
  * venue_id -> instruction_id -> ()
1445
1615
  **/
1446
- venueInstructions: AugmentedQuery<ApiType, (arg1: VenueId | AnyNumber | Uint8Array, arg2: InstructionId | AnyNumber | Uint8Array) => Observable<ITuple<[]>>, [
1447
- VenueId,
1448
- InstructionId
1616
+ venueInstructions: AugmentedQuery<ApiType, (arg1: u64 | AnyNumber | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Null>, [
1617
+ u64,
1618
+ u64
1449
1619
  ]>;
1450
1620
  /**
1451
1621
  * Signers allowed by the venue. (venue_id, signer) -> bool
1452
1622
  **/
1453
- venueSigners: AugmentedQuery<ApiType, (arg1: VenueId | AnyNumber | Uint8Array, arg2: AccountId | string | Uint8Array) => Observable<bool>, [
1454
- VenueId,
1455
- AccountId
1623
+ venueSigners: AugmentedQuery<ApiType, (arg1: u64 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<bool>, [
1624
+ u64,
1625
+ AccountId32
1456
1626
  ]>;
1457
1627
  };
1458
1628
  staking: {
@@ -1462,12 +1632,12 @@ declare module '@polkadot/api/types/storage' {
1462
1632
  * The active era is the era being currently rewarded. Validator set of this era must be
1463
1633
  * equal to [`SessionInterface::validators`].
1464
1634
  **/
1465
- activeEra: AugmentedQuery<ApiType, () => Observable<Option<ActiveEraInfo>>, []>;
1635
+ activeEra: AugmentedQuery<ApiType, () => Observable<Option<PalletStakingActiveEraInfo>>, []>;
1466
1636
  /**
1467
1637
  * Map from all locked "stash" accounts to the controller account.
1468
1638
  **/
1469
- bonded: AugmentedQuery<ApiType, (arg: AccountId | string | Uint8Array) => Observable<Option<AccountId>>, [
1470
- AccountId
1639
+ bonded: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<AccountId32>>, [
1640
+ AccountId32
1471
1641
  ]>;
1472
1642
  /**
1473
1643
  * A mapping from still-bonded eras to the first session index of that era.
@@ -1475,35 +1645,34 @@ declare module '@polkadot/api/types/storage' {
1475
1645
  * Must contains information for eras for the range:
1476
1646
  * `[active_era - bounding_duration; active_era]`
1477
1647
  **/
1478
- bondedEras: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[EraIndex, SessionIndex]>>>, [
1479
- ]>;
1648
+ bondedEras: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, u32]>>>, []>;
1480
1649
  /**
1481
1650
  * The amount of currency given to reporters of a slash event which was
1482
1651
  * canceled by extraordinary circumstances (e.g. governance).
1483
1652
  **/
1484
- canceledSlashPayout: AugmentedQuery<ApiType, () => Observable<BalanceOf>, []>;
1653
+ canceledSlashPayout: AugmentedQuery<ApiType, () => Observable<u128>, []>;
1485
1654
  /**
1486
1655
  * The current era index.
1487
1656
  *
1488
1657
  * This is the latest planned era, depending on how the Session pallet queues the validator
1489
1658
  * set, it might be active or not.
1490
1659
  **/
1491
- currentEra: AugmentedQuery<ApiType, () => Observable<Option<EraIndex>>, []>;
1660
+ currentEra: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
1492
1661
  /**
1493
1662
  * The earliest era for which we have a pending, unapplied slash.
1494
1663
  **/
1495
- earliestUnappliedSlash: AugmentedQuery<ApiType, () => Observable<Option<EraIndex>>, []>;
1664
+ earliestUnappliedSlash: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
1496
1665
  /**
1497
1666
  * Flag to control the execution of the offchain election. When `Open(_)`, we accept
1498
1667
  * solutions to be submitted.
1499
1668
  **/
1500
- eraElectionStatus: AugmentedQuery<ApiType, () => Observable<ElectionStatus>, []>;
1669
+ eraElectionStatus: AugmentedQuery<ApiType, () => Observable<PalletStakingElectionStatus>, []>;
1501
1670
  /**
1502
1671
  * Rewards for the last `HISTORY_DEPTH` eras.
1503
1672
  * If reward hasn't been set or has been removed then 0 reward is returned.
1504
1673
  **/
1505
- erasRewardPoints: AugmentedQuery<ApiType, (arg: EraIndex | AnyNumber | Uint8Array) => Observable<EraRewardPoints>, [
1506
- EraIndex
1674
+ erasRewardPoints: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletStakingEraRewardPoints>, [
1675
+ u32
1507
1676
  ]>;
1508
1677
  /**
1509
1678
  * Exposure of validator at era.
@@ -1513,9 +1682,9 @@ declare module '@polkadot/api/types/storage' {
1513
1682
  * Is it removed after `HISTORY_DEPTH` eras.
1514
1683
  * If stakers hasn't been set or has been removed then empty exposure is returned.
1515
1684
  **/
1516
- erasStakers: AugmentedQuery<ApiType, (arg1: EraIndex | AnyNumber | Uint8Array, arg2: AccountId | string | Uint8Array) => Observable<Exposure>, [
1517
- EraIndex,
1518
- AccountId
1685
+ erasStakers: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<PalletStakingExposure>, [
1686
+ u32,
1687
+ AccountId32
1519
1688
  ]>;
1520
1689
  /**
1521
1690
  * Clipped Exposure of validator at era.
@@ -1530,9 +1699,9 @@ declare module '@polkadot/api/types/storage' {
1530
1699
  * Is it removed after `HISTORY_DEPTH` eras.
1531
1700
  * If stakers hasn't been set or has been removed then empty exposure is returned.
1532
1701
  **/
1533
- erasStakersClipped: AugmentedQuery<ApiType, (arg1: EraIndex | AnyNumber | Uint8Array, arg2: AccountId | string | Uint8Array) => Observable<Exposure>, [
1534
- EraIndex,
1535
- AccountId
1702
+ erasStakersClipped: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<PalletStakingExposure>, [
1703
+ u32,
1704
+ AccountId32
1536
1705
  ]>;
1537
1706
  /**
1538
1707
  * The session index at which the era start for the last `HISTORY_DEPTH` eras.
@@ -1540,15 +1709,15 @@ declare module '@polkadot/api/types/storage' {
1540
1709
  * Note: This tracks the starting session (i.e. session index when era start being active)
1541
1710
  * for the eras in `[CurrentEra - HISTORY_DEPTH, CurrentEra]`.
1542
1711
  **/
1543
- erasStartSessionIndex: AugmentedQuery<ApiType, (arg: EraIndex | AnyNumber | Uint8Array) => Observable<Option<SessionIndex>>, [
1544
- EraIndex
1712
+ erasStartSessionIndex: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [
1713
+ u32
1545
1714
  ]>;
1546
1715
  /**
1547
1716
  * The total amount staked for the last `HISTORY_DEPTH` eras.
1548
1717
  * If total hasn't been set or has been removed then 0 stake is returned.
1549
1718
  **/
1550
- erasTotalStake: AugmentedQuery<ApiType, (arg: EraIndex | AnyNumber | Uint8Array) => Observable<BalanceOf>, [
1551
- EraIndex
1719
+ erasTotalStake: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [
1720
+ u32
1552
1721
  ]>;
1553
1722
  /**
1554
1723
  * Similar to `ErasStakers`, this holds the preferences of validators.
@@ -1557,22 +1726,22 @@ declare module '@polkadot/api/types/storage' {
1557
1726
  *
1558
1727
  * Is it removed after `HISTORY_DEPTH` eras.
1559
1728
  **/
1560
- erasValidatorPrefs: AugmentedQuery<ApiType, (arg1: EraIndex | AnyNumber | Uint8Array, arg2: AccountId | string | Uint8Array) => Observable<ValidatorPrefs>, [
1561
- EraIndex,
1562
- AccountId
1729
+ erasValidatorPrefs: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<PalletStakingValidatorPrefs>, [
1730
+ u32,
1731
+ AccountId32
1563
1732
  ]>;
1564
1733
  /**
1565
1734
  * The total validator era payout for the last `HISTORY_DEPTH` eras.
1566
1735
  *
1567
1736
  * Eras that haven't finished yet or has been removed doesn't have reward.
1568
1737
  **/
1569
- erasValidatorReward: AugmentedQuery<ApiType, (arg: EraIndex | AnyNumber | Uint8Array) => Observable<Option<BalanceOf>>, [
1570
- EraIndex
1738
+ erasValidatorReward: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u128>>, [
1739
+ u32
1571
1740
  ]>;
1572
1741
  /**
1573
1742
  * Mode of era forcing.
1574
1743
  **/
1575
- forceEra: AugmentedQuery<ApiType, () => Observable<Forcing>, []>;
1744
+ forceEra: AugmentedQuery<ApiType, () => Observable<PalletStakingForcing>, []>;
1576
1745
  /**
1577
1746
  * Number of eras to keep in history.
1578
1747
  *
@@ -1588,7 +1757,7 @@ declare module '@polkadot/api/types/storage' {
1588
1757
  * easy to initialize and the performance hit is minimal (we expect no more than four
1589
1758
  * invulnerables) and restricted to testnets.
1590
1759
  **/
1591
- invulnerables: AugmentedQuery<ApiType, () => Observable<Vec<AccountId>>, []>;
1760
+ invulnerables: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []>;
1592
1761
  /**
1593
1762
  * True if the current **planned** session is final. Note that this does not take era
1594
1763
  * forcing into account.
@@ -1597,13 +1766,13 @@ declare module '@polkadot/api/types/storage' {
1597
1766
  /**
1598
1767
  * Map from all (unlocked) "controller" accounts to the info regarding the staking.
1599
1768
  **/
1600
- ledger: AugmentedQuery<ApiType, (arg: AccountId | string | Uint8Array) => Observable<Option<StakingLedger>>, [
1601
- AccountId
1769
+ ledger: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletStakingStakingLedger>>, [
1770
+ AccountId32
1602
1771
  ]>;
1603
1772
  /**
1604
1773
  * The minimum amount with which a validator can bond.
1605
1774
  **/
1606
- minimumBondThreshold: AugmentedQuery<ApiType, () => Observable<BalanceOf>, []>;
1775
+ minimumBondThreshold: AugmentedQuery<ApiType, () => Observable<u128>, []>;
1607
1776
  /**
1608
1777
  * Minimum number of staking participants before emergency conditions are imposed.
1609
1778
  **/
@@ -1611,44 +1780,47 @@ declare module '@polkadot/api/types/storage' {
1611
1780
  /**
1612
1781
  * The map from nominator stash key to the set of stash keys of all validators to nominate.
1613
1782
  **/
1614
- nominators: AugmentedQuery<ApiType, (arg: AccountId | string | Uint8Array) => Observable<Option<Nominations>>, [
1615
- AccountId
1783
+ nominators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletStakingNominations>>, [
1784
+ AccountId32
1616
1785
  ]>;
1617
1786
  /**
1618
1787
  * All slashing events on nominators, mapped by era to the highest slash value of the era.
1619
1788
  **/
1620
- nominatorSlashInEra: AugmentedQuery<ApiType, (arg1: EraIndex | AnyNumber | Uint8Array, arg2: AccountId | string | Uint8Array) => Observable<Option<BalanceOf>>, [
1621
- EraIndex,
1622
- AccountId
1789
+ nominatorSlashInEra: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u128>>, [
1790
+ u32,
1791
+ AccountId32
1623
1792
  ]>;
1624
1793
  /**
1625
1794
  * Where the reward payment should be made. Keyed by stash.
1626
1795
  **/
1627
- payee: AugmentedQuery<ApiType, (arg: AccountId | string | Uint8Array) => Observable<RewardDestination>, [
1628
- AccountId
1796
+ payee: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletStakingRewardDestination>, [
1797
+ AccountId32
1629
1798
  ]>;
1630
1799
  /**
1631
1800
  * Entities that are allowed to run operator/validator nodes.
1632
1801
  **/
1633
- permissionedIdentity: AugmentedQuery<ApiType, (arg: IdentityId | string | Uint8Array) => Observable<Option<PermissionedIdentityPrefs>>, [
1634
- IdentityId
1802
+ permissionedIdentity: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<Option<PalletStakingPermissionedIdentityPrefs>>, [
1803
+ PolymeshPrimitivesIdentityId
1635
1804
  ]>;
1636
1805
  /**
1637
1806
  * The next validator set. At the end of an era, if this is available (potentially from the
1638
1807
  * result of an offchain worker), it is immediately used. Otherwise, the on-chain election
1639
1808
  * is executed.
1640
1809
  **/
1641
- queuedElected: AugmentedQuery<ApiType, () => Observable<Option<ElectionResult>>, []>;
1810
+ queuedElected: AugmentedQuery<ApiType, () => Observable<Option<PalletStakingElectionResult>>, [
1811
+ ]>;
1642
1812
  /**
1643
1813
  * The score of the current [`QueuedElected`].
1644
1814
  **/
1645
- queuedScore: AugmentedQuery<ApiType, () => Observable<Option<ElectionScore>>, []>;
1646
- slashingAllowedFor: AugmentedQuery<ApiType, () => Observable<SlashingSwitch>, []>;
1815
+ queuedScore: AugmentedQuery<ApiType, () => Observable<Option<SpNposElectionsElectionScore>>, [
1816
+ ]>;
1817
+ slashingAllowedFor: AugmentedQuery<ApiType, () => Observable<PalletStakingSlashingSwitch>, [
1818
+ ]>;
1647
1819
  /**
1648
1820
  * Slashing spans for stash accounts.
1649
1821
  **/
1650
- slashingSpans: AugmentedQuery<ApiType, (arg: AccountId | string | Uint8Array) => Observable<Option<SlashingSpans>>, [
1651
- AccountId
1822
+ slashingSpans: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletStakingSlashingSlashingSpans>>, [
1823
+ AccountId32
1652
1824
  ]>;
1653
1825
  /**
1654
1826
  * The percentage of the slash that is distributed to reporters.
@@ -1660,18 +1832,18 @@ declare module '@polkadot/api/types/storage' {
1660
1832
  * Snapshot of nominators at the beginning of the current election window. This should only
1661
1833
  * have a value when [`EraElectionStatus`] == `ElectionStatus::Open(_)`.
1662
1834
  **/
1663
- snapshotNominators: AugmentedQuery<ApiType, () => Observable<Option<Vec<AccountId>>>, []>;
1835
+ snapshotNominators: AugmentedQuery<ApiType, () => Observable<Option<Vec<AccountId32>>>, []>;
1664
1836
  /**
1665
1837
  * Snapshot of validators at the beginning of the current election window. This should only
1666
1838
  * have a value when [`EraElectionStatus`] == `ElectionStatus::Open(_)`.
1667
1839
  **/
1668
- snapshotValidators: AugmentedQuery<ApiType, () => Observable<Option<Vec<AccountId>>>, []>;
1840
+ snapshotValidators: AugmentedQuery<ApiType, () => Observable<Option<Vec<AccountId32>>>, []>;
1669
1841
  /**
1670
1842
  * Records information about the maximum slash of a stash within a slashing span,
1671
1843
  * as well as how much reward has been paid out.
1672
1844
  **/
1673
- spanSlash: AugmentedQuery<ApiType, (arg: ITuple<[AccountId, SpanIndex]> | [AccountId | string | Uint8Array, SpanIndex | AnyNumber | Uint8Array]) => Observable<SpanRecord>, [
1674
- ITuple<[AccountId, SpanIndex]>
1845
+ spanSlash: AugmentedQuery<ApiType, (arg: ITuple<[AccountId32, u32]> | [AccountId32 | string | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<PalletStakingSlashingSpanRecord>, [
1846
+ ITuple<[AccountId32, u32]>
1675
1847
  ]>;
1676
1848
  /**
1677
1849
  * True if network has been upgraded to this version.
@@ -1679,12 +1851,12 @@ declare module '@polkadot/api/types/storage' {
1679
1851
  *
1680
1852
  * This is set to v6.0.1 for new networks.
1681
1853
  **/
1682
- storageVersion: AugmentedQuery<ApiType, () => Observable<Releases>, []>;
1854
+ storageVersion: AugmentedQuery<ApiType, () => Observable<PalletStakingReleases>, []>;
1683
1855
  /**
1684
1856
  * All unapplied slashes that are queued for later.
1685
1857
  **/
1686
- unappliedSlashes: AugmentedQuery<ApiType, (arg: EraIndex | AnyNumber | Uint8Array) => Observable<Vec<UnappliedSlash>>, [
1687
- EraIndex
1858
+ unappliedSlashes: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PalletStakingUnappliedSlash>>, [
1859
+ u32
1688
1860
  ]>;
1689
1861
  /**
1690
1862
  * Every validator has commission that should be in the range [0, Cap].
@@ -1697,84 +1869,101 @@ declare module '@polkadot/api/types/storage' {
1697
1869
  /**
1698
1870
  * The map from (wannabe) validator stash key to the preferences of that validator.
1699
1871
  **/
1700
- validators: AugmentedQuery<ApiType, (arg: AccountId | string | Uint8Array) => Observable<ValidatorPrefs>, [
1701
- AccountId
1872
+ validators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletStakingValidatorPrefs>, [
1873
+ AccountId32
1702
1874
  ]>;
1703
1875
  /**
1704
1876
  * All slashing events on validators, mapped by era to the highest slash proportion
1705
1877
  * and slash value of the era.
1706
1878
  **/
1707
- validatorSlashInEra: AugmentedQuery<ApiType, (arg1: EraIndex | AnyNumber | Uint8Array, arg2: AccountId | string | Uint8Array) => Observable<Option<ITuple<[Perbill, BalanceOf]>>>, [
1708
- EraIndex,
1709
- AccountId
1879
+ validatorSlashInEra: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[Perbill, u128]>>>, [
1880
+ u32,
1881
+ AccountId32
1710
1882
  ]>;
1711
1883
  };
1712
1884
  statistics: {
1713
1885
  /**
1714
- * Transfer managers currently enabled for an Asset.
1886
+ * Active stats for a ticker/company. There should be a max limit on the number of active stats for a ticker/company.
1715
1887
  **/
1716
- activeTransferManagers: AugmentedQuery<ApiType, (arg: Ticker | string | Uint8Array) => Observable<Vec<TransferManager>>, [
1717
- Ticker
1888
+ activeAssetStats: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesStatisticsAssetScope | {
1889
+ Ticker: any;
1890
+ } | string | Uint8Array) => Observable<Vec<PolymeshPrimitivesStatisticsStatType>>, [
1891
+ PolymeshPrimitivesStatisticsAssetScope
1718
1892
  ]>;
1719
1893
  /**
1720
- * Entities exempt from transfer managers. Exemptions requirements are based on TMS.
1721
- * TMs may require just the sender, just the receiver, both or either to be exempted.
1722
- * CTM requires sender to be exempted while PTM requires receiver to be exempted.
1894
+ * Asset stats.
1723
1895
  **/
1724
- exemptEntities: AugmentedQuery<ApiType, (arg1: ITuple<[Ticker, TransferManager]> | [
1725
- Ticker | string | Uint8Array,
1726
- (TransferManager | {
1727
- CountTransferManager: any;
1728
- } | {
1729
- PercentageTransferManager: any;
1730
- } | string | Uint8Array)
1731
- ], arg2: ScopeId | string | Uint8Array) => Observable<bool>, [
1732
- ITuple<[Ticker, TransferManager]>,
1733
- ScopeId
1896
+ assetStats: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesStatisticsStat1stKey | {
1897
+ asset?: any;
1898
+ statType?: any;
1899
+ } | string | Uint8Array, arg2: PolymeshPrimitivesStatisticsStat2ndKey | {
1900
+ NoClaimStat: any;
1901
+ } | {
1902
+ Claim: any;
1903
+ } | string | Uint8Array) => Observable<u128>, [
1904
+ PolymeshPrimitivesStatisticsStat1stKey,
1905
+ PolymeshPrimitivesStatisticsStat2ndKey
1734
1906
  ]>;
1735
1907
  /**
1736
- * Number of current investors in an asset.
1908
+ * Asset transfer compliance for a ticker (AssetScope -> AssetTransferCompliance)
1737
1909
  **/
1738
- investorCountPerAsset: AugmentedQuery<ApiType, (arg: Ticker | string | Uint8Array) => Observable<Counter>, [
1739
- Ticker
1910
+ assetTransferCompliances: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesStatisticsAssetScope | {
1911
+ Ticker: any;
1912
+ } | string | Uint8Array) => Observable<PolymeshPrimitivesTransferComplianceAssetTransferCompliance>, [
1913
+ PolymeshPrimitivesStatisticsAssetScope
1914
+ ]>;
1915
+ /**
1916
+ * Storage migration version.
1917
+ **/
1918
+ storageVersion: AugmentedQuery<ApiType, () => Observable<u8>, []>;
1919
+ /**
1920
+ * Entities exempt from a Transfer Compliance rule.
1921
+ **/
1922
+ transferConditionExemptEntities: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesTransferComplianceTransferConditionExemptKey | {
1923
+ asset?: any;
1924
+ op?: any;
1925
+ claimType?: any;
1926
+ } | string | Uint8Array, arg2: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<bool>, [
1927
+ PolymeshPrimitivesTransferComplianceTransferConditionExemptKey,
1928
+ PolymeshPrimitivesIdentityId
1740
1929
  ]>;
1741
1930
  };
1742
1931
  sto: {
1743
1932
  /**
1744
1933
  * Total fundraisers created for a token.
1745
1934
  **/
1746
- fundraiserCount: AugmentedQuery<ApiType, (arg: Ticker | string | Uint8Array) => Observable<FundraiserId>, [
1747
- Ticker
1935
+ fundraiserCount: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<u64>, [
1936
+ PolymeshPrimitivesTicker
1748
1937
  ]>;
1749
1938
  /**
1750
1939
  * Name for the Fundraiser. Only used offchain.
1751
1940
  * (ticker, fundraiser_id) -> Fundraiser name
1752
1941
  **/
1753
- fundraiserNames: AugmentedQuery<ApiType, (arg1: Ticker | string | Uint8Array, arg2: FundraiserId | AnyNumber | Uint8Array) => Observable<FundraiserName>, [
1754
- Ticker,
1755
- FundraiserId
1942
+ fundraiserNames: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesTicker | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Bytes>, [
1943
+ PolymeshPrimitivesTicker,
1944
+ u64
1756
1945
  ]>;
1757
1946
  /**
1758
1947
  * All fundraisers that are currently running.
1759
1948
  * (ticker, fundraiser_id) -> Fundraiser
1760
1949
  **/
1761
- fundraisers: AugmentedQuery<ApiType, (arg1: Ticker | string | Uint8Array, arg2: FundraiserId | AnyNumber | Uint8Array) => Observable<Option<Fundraiser>>, [
1762
- Ticker,
1763
- FundraiserId
1950
+ fundraisers: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesTicker | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletStoFundraiser>>, [
1951
+ PolymeshPrimitivesTicker,
1952
+ u64
1764
1953
  ]>;
1765
1954
  };
1766
1955
  sudo: {
1767
1956
  /**
1768
1957
  * The `AccountId` of the sudo key.
1769
1958
  **/
1770
- key: AugmentedQuery<ApiType, () => Observable<AccountId>, []>;
1959
+ key: AugmentedQuery<ApiType, () => Observable<AccountId32>, []>;
1771
1960
  };
1772
1961
  system: {
1773
1962
  /**
1774
1963
  * The full account information for a particular account ID.
1775
1964
  **/
1776
- account: AugmentedQuery<ApiType, (arg: AccountId | string | Uint8Array) => Observable<AccountInfo>, [
1777
- AccountId
1965
+ account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<FrameSystemAccountInfo>, [
1966
+ AccountId32
1778
1967
  ]>;
1779
1968
  /**
1780
1969
  * Total length (in bytes) for all extrinsics put together, for the current block.
@@ -1783,25 +1972,32 @@ declare module '@polkadot/api/types/storage' {
1783
1972
  /**
1784
1973
  * Map of block numbers to block hashes.
1785
1974
  **/
1786
- blockHash: AugmentedQuery<ApiType, (arg: BlockNumber | AnyNumber | Uint8Array) => Observable<Hash>, [
1787
- BlockNumber
1975
+ blockHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [
1976
+ u32
1788
1977
  ]>;
1789
1978
  /**
1790
1979
  * The current weight for the block.
1791
1980
  **/
1792
- blockWeight: AugmentedQuery<ApiType, () => Observable<ConsumedWeight>, []>;
1981
+ blockWeight: AugmentedQuery<ApiType, () => Observable<FrameSupportWeightsPerDispatchClassU64>, [
1982
+ ]>;
1793
1983
  /**
1794
1984
  * Digest of the current block, also part of the block header.
1795
1985
  **/
1796
- digest: AugmentedQuery<ApiType, () => Observable<DigestOf>, []>;
1986
+ digest: AugmentedQuery<ApiType, () => Observable<SpRuntimeDigest>, []>;
1797
1987
  /**
1798
1988
  * The number of events in the `Events<T>` list.
1799
1989
  **/
1800
- eventCount: AugmentedQuery<ApiType, () => Observable<EventIndex>, []>;
1990
+ eventCount: AugmentedQuery<ApiType, () => Observable<u32>, []>;
1801
1991
  /**
1802
1992
  * Events deposited for the current block.
1993
+ *
1994
+ * NOTE: The item is unbound and should therefore never be read on chain.
1995
+ * It could otherwise inflate the PoV size of a block.
1996
+ *
1997
+ * Events have a large in-memory size. Box the events to not go out-of-memory
1998
+ * just in case someone still reads them from within the runtime.
1803
1999
  **/
1804
- events: AugmentedQuery<ApiType, () => Observable<Vec<EventRecord>>, []>;
2000
+ events: AugmentedQuery<ApiType, () => Observable<Vec<FrameSystemEventRecord>>, []>;
1805
2001
  /**
1806
2002
  * Mapping between a topic (represented by T::Hash) and a vector of indexes
1807
2003
  * of events in the `<Events<T>>` list.
@@ -1814,13 +2010,13 @@ declare module '@polkadot/api/types/storage' {
1814
2010
  * the `EventIndex` then in case if the topic has the same contents on the next block
1815
2011
  * no notification will be triggered thus the event might be lost.
1816
2012
  **/
1817
- eventTopics: AugmentedQuery<ApiType, (arg: Hash | string | Uint8Array) => Observable<Vec<ITuple<[BlockNumber, EventIndex]>>>, [
1818
- Hash
2013
+ eventTopics: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Vec<ITuple<[u32, u32]>>>, [
2014
+ H256
1819
2015
  ]>;
1820
2016
  /**
1821
2017
  * The execution phase of the block.
1822
2018
  **/
1823
- executionPhase: AugmentedQuery<ApiType, () => Observable<Option<Phase>>, []>;
2019
+ executionPhase: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemPhase>>, []>;
1824
2020
  /**
1825
2021
  * Total extrinsics count for the current block.
1826
2022
  **/
@@ -1834,21 +2030,21 @@ declare module '@polkadot/api/types/storage' {
1834
2030
  /**
1835
2031
  * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.
1836
2032
  **/
1837
- lastRuntimeUpgrade: AugmentedQuery<ApiType, () => Observable<Option<LastRuntimeUpgradeInfo>>, [
2033
+ lastRuntimeUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemLastRuntimeUpgradeInfo>>, [
1838
2034
  ]>;
1839
2035
  /**
1840
2036
  * The current block number being processed. Set by `execute_block`.
1841
2037
  **/
1842
- number: AugmentedQuery<ApiType, () => Observable<BlockNumber>, []>;
2038
+ number: AugmentedQuery<ApiType, () => Observable<u32>, []>;
1843
2039
  /**
1844
2040
  * Hash of the previous block.
1845
2041
  **/
1846
- parentHash: AugmentedQuery<ApiType, () => Observable<Hash>, []>;
2042
+ parentHash: AugmentedQuery<ApiType, () => Observable<H256>, []>;
1847
2043
  /**
1848
- * True if we have upgraded so that AccountInfo contains two types of `RefCount`. False
2044
+ * True if we have upgraded so that AccountInfo contains three types of `RefCount`. False
1849
2045
  * (default) if not.
1850
2046
  **/
1851
- upgradedToDualRefCount: AugmentedQuery<ApiType, () => Observable<bool>, []>;
2047
+ upgradedToTripleRefCount: AugmentedQuery<ApiType, () => Observable<bool>, []>;
1852
2048
  /**
1853
2049
  * True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.
1854
2050
  **/
@@ -1858,11 +2054,12 @@ declare module '@polkadot/api/types/storage' {
1858
2054
  /**
1859
2055
  * Time after which a proposal will expire.
1860
2056
  **/
1861
- expiresAfter: AugmentedQuery<ApiType, () => Observable<MaybeBlock>, []>;
2057
+ expiresAfter: AugmentedQuery<ApiType, () => Observable<PolymeshCommonUtilitiesMaybeBlock>, [
2058
+ ]>;
1862
2059
  /**
1863
2060
  * The current members of the committee.
1864
2061
  **/
1865
- members: AugmentedQuery<ApiType, () => Observable<Vec<IdentityId>>, []>;
2062
+ members: AugmentedQuery<ApiType, () => Observable<Vec<PolymeshPrimitivesIdentityId>>, []>;
1866
2063
  /**
1867
2064
  * Proposals so far.
1868
2065
  **/
@@ -1870,21 +2067,21 @@ declare module '@polkadot/api/types/storage' {
1870
2067
  /**
1871
2068
  * Actual proposal for a given hash.
1872
2069
  **/
1873
- proposalOf: AugmentedQuery<ApiType, (arg: Hash | string | Uint8Array) => Observable<Option<Call>>, [
1874
- Hash
2070
+ proposalOf: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Call>>, [
2071
+ H256
1875
2072
  ]>;
1876
2073
  /**
1877
2074
  * The hashes of the active proposals.
1878
2075
  **/
1879
- proposals: AugmentedQuery<ApiType, () => Observable<Vec<Hash>>, []>;
2076
+ proposals: AugmentedQuery<ApiType, () => Observable<Vec<H256>>, []>;
1880
2077
  /**
1881
2078
  * Release coordinator.
1882
2079
  **/
1883
- releaseCoordinator: AugmentedQuery<ApiType, () => Observable<Option<IdentityId>>, []>;
2080
+ releaseCoordinator: AugmentedQuery<ApiType, () => Observable<Option<U8aFixed>>, []>;
1884
2081
  /**
1885
2082
  * Storage version.
1886
2083
  **/
1887
- storageVersion: AugmentedQuery<ApiType, () => Observable<Version>, []>;
2084
+ storageVersion: AugmentedQuery<ApiType, () => Observable<u8>, []>;
1888
2085
  /**
1889
2086
  * Vote threshold for an approval.
1890
2087
  **/
@@ -1892,15 +2089,16 @@ declare module '@polkadot/api/types/storage' {
1892
2089
  /**
1893
2090
  * PolymeshVotes on a given proposal, if it is ongoing.
1894
2091
  **/
1895
- voting: AugmentedQuery<ApiType, (arg: Hash | string | Uint8Array) => Observable<Option<PolymeshVotes>>, [
1896
- Hash
2092
+ voting: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletCommitteePolymeshVotes>>, [
2093
+ H256
1897
2094
  ]>;
1898
2095
  };
1899
2096
  technicalCommitteeMembership: {
1900
2097
  /**
1901
2098
  * The current "active" membership, stored as an ordered Vec.
1902
2099
  **/
1903
- activeMembers: AugmentedQuery<ApiType, () => Observable<Vec<IdentityId>>, []>;
2100
+ activeMembers: AugmentedQuery<ApiType, () => Observable<Vec<PolymeshPrimitivesIdentityId>>, [
2101
+ ]>;
1904
2102
  /**
1905
2103
  * Limit of how many "active" members there can be.
1906
2104
  **/
@@ -1908,7 +2106,8 @@ declare module '@polkadot/api/types/storage' {
1908
2106
  /**
1909
2107
  * The current "inactive" membership, stored as an ordered Vec.
1910
2108
  **/
1911
- inactiveMembers: AugmentedQuery<ApiType, () => Observable<Vec<InactiveMember>>, []>;
2109
+ inactiveMembers: AugmentedQuery<ApiType, () => Observable<Vec<PolymeshCommonUtilitiesGroupInactiveMember>>, [
2110
+ ]>;
1912
2111
  };
1913
2112
  testUtils: {};
1914
2113
  timestamp: {
@@ -1919,21 +2118,23 @@ declare module '@polkadot/api/types/storage' {
1919
2118
  /**
1920
2119
  * Current time for the current block.
1921
2120
  **/
1922
- now: AugmentedQuery<ApiType, () => Observable<Moment>, []>;
2121
+ now: AugmentedQuery<ApiType, () => Observable<u64>, []>;
1923
2122
  };
1924
2123
  transactionPayment: {
1925
- nextFeeMultiplier: AugmentedQuery<ApiType, () => Observable<Multiplier>, []>;
1926
- storageVersion: AugmentedQuery<ApiType, () => Observable<Releases>, []>;
2124
+ nextFeeMultiplier: AugmentedQuery<ApiType, () => Observable<u128>, []>;
2125
+ storageVersion: AugmentedQuery<ApiType, () => Observable<PalletTransactionPaymentReleases>, [
2126
+ ]>;
1927
2127
  };
1928
2128
  upgradeCommittee: {
1929
2129
  /**
1930
2130
  * Time after which a proposal will expire.
1931
2131
  **/
1932
- expiresAfter: AugmentedQuery<ApiType, () => Observable<MaybeBlock>, []>;
2132
+ expiresAfter: AugmentedQuery<ApiType, () => Observable<PolymeshCommonUtilitiesMaybeBlock>, [
2133
+ ]>;
1933
2134
  /**
1934
2135
  * The current members of the committee.
1935
2136
  **/
1936
- members: AugmentedQuery<ApiType, () => Observable<Vec<IdentityId>>, []>;
2137
+ members: AugmentedQuery<ApiType, () => Observable<Vec<PolymeshPrimitivesIdentityId>>, []>;
1937
2138
  /**
1938
2139
  * Proposals so far.
1939
2140
  **/
@@ -1941,21 +2142,21 @@ declare module '@polkadot/api/types/storage' {
1941
2142
  /**
1942
2143
  * Actual proposal for a given hash.
1943
2144
  **/
1944
- proposalOf: AugmentedQuery<ApiType, (arg: Hash | string | Uint8Array) => Observable<Option<Call>>, [
1945
- Hash
2145
+ proposalOf: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Call>>, [
2146
+ H256
1946
2147
  ]>;
1947
2148
  /**
1948
2149
  * The hashes of the active proposals.
1949
2150
  **/
1950
- proposals: AugmentedQuery<ApiType, () => Observable<Vec<Hash>>, []>;
2151
+ proposals: AugmentedQuery<ApiType, () => Observable<Vec<H256>>, []>;
1951
2152
  /**
1952
2153
  * Release coordinator.
1953
2154
  **/
1954
- releaseCoordinator: AugmentedQuery<ApiType, () => Observable<Option<IdentityId>>, []>;
2155
+ releaseCoordinator: AugmentedQuery<ApiType, () => Observable<Option<U8aFixed>>, []>;
1955
2156
  /**
1956
2157
  * Storage version.
1957
2158
  **/
1958
- storageVersion: AugmentedQuery<ApiType, () => Observable<Version>, []>;
2159
+ storageVersion: AugmentedQuery<ApiType, () => Observable<u8>, []>;
1959
2160
  /**
1960
2161
  * Vote threshold for an approval.
1961
2162
  **/
@@ -1963,15 +2164,16 @@ declare module '@polkadot/api/types/storage' {
1963
2164
  /**
1964
2165
  * PolymeshVotes on a given proposal, if it is ongoing.
1965
2166
  **/
1966
- voting: AugmentedQuery<ApiType, (arg: Hash | string | Uint8Array) => Observable<Option<PolymeshVotes>>, [
1967
- Hash
2167
+ voting: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletCommitteePolymeshVotes>>, [
2168
+ H256
1968
2169
  ]>;
1969
2170
  };
1970
2171
  upgradeCommitteeMembership: {
1971
2172
  /**
1972
2173
  * The current "active" membership, stored as an ordered Vec.
1973
2174
  **/
1974
- activeMembers: AugmentedQuery<ApiType, () => Observable<Vec<IdentityId>>, []>;
2175
+ activeMembers: AugmentedQuery<ApiType, () => Observable<Vec<PolymeshPrimitivesIdentityId>>, [
2176
+ ]>;
1975
2177
  /**
1976
2178
  * Limit of how many "active" members there can be.
1977
2179
  **/
@@ -1979,15 +2181,14 @@ declare module '@polkadot/api/types/storage' {
1979
2181
  /**
1980
2182
  * The current "inactive" membership, stored as an ordered Vec.
1981
2183
  **/
1982
- inactiveMembers: AugmentedQuery<ApiType, () => Observable<Vec<InactiveMember>>, []>;
2184
+ inactiveMembers: AugmentedQuery<ApiType, () => Observable<Vec<PolymeshCommonUtilitiesGroupInactiveMember>>, [
2185
+ ]>;
1983
2186
  };
1984
2187
  utility: {
1985
- nonces: AugmentedQuery<ApiType, (arg: AccountId | string | Uint8Array) => Observable<AuthorizationNonce>, [
1986
- AccountId
2188
+ nonces: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u64>, [
2189
+ AccountId32
1987
2190
  ]>;
1988
2191
  };
1989
2192
  }
1990
- interface QueryableStorage<ApiType extends ApiTypes> extends AugmentedQueries<ApiType> {
1991
- }
1992
2193
  }
1993
2194
  //# sourceMappingURL=augment-api-query.d.ts.map