@polymeshassociation/polymesh-sdk 14.0.0-beta.11

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