@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,1164 @@
1
+ import { TypeDef } from '@polkadot/types/types';
2
+ import BigNumber from 'bignumber.js';
3
+ import { ModuleName, TxTag, TxTags } from "../polkadot/types";
4
+ import { DividendDistributionDetails, OfferingDetails, ScheduleDetails, SubsidyData } from "../api/entities/types";
5
+ import { CountryCode } from "../generated/types";
6
+ import { Account, Asset, Checkpoint, CheckpointSchedule, CustomPermissionGroup, DefaultPortfolio, DefaultTrustedClaimIssuer, DividendDistribution, Identity, Instruction, KnownPermissionGroup, NumberedPortfolio, Offering, TransactionQueue } from "../internal";
7
+ import { PortfolioId } from "./internal";
8
+ import { Modify } from "./utils";
9
+ export * from "../generated/types";
10
+ export declare enum TransactionStatus {
11
+ /**
12
+ * the transaction is prepped to run
13
+ */
14
+ Idle = "Idle",
15
+ /**
16
+ * the transaction is waiting for the user's signature
17
+ */
18
+ Unapproved = "Unapproved",
19
+ /**
20
+ * the transaction is being executed
21
+ */
22
+ Running = "Running",
23
+ /**
24
+ * the transaction was rejected by the signer
25
+ */
26
+ Rejected = "Rejected",
27
+ /**
28
+ * the transaction was run successfully
29
+ */
30
+ Succeeded = "Succeeded",
31
+ /**
32
+ * the transaction's execution failed due to a revert
33
+ */
34
+ Failed = "Failed",
35
+ /**
36
+ * the transaction couldn't be broadcast. It was either dropped, usurped or invalidated
37
+ * see https://github.com/paritytech/substrate/blob/master/primitives/transaction-pool/src/pool.rs#L58-L110
38
+ */
39
+ Aborted = "Aborted"
40
+ }
41
+ export declare enum TransactionQueueStatus {
42
+ /**
43
+ * the queue is prepped to run
44
+ */
45
+ Idle = "Idle",
46
+ /**
47
+ * transactions in the queue are being executed
48
+ */
49
+ Running = "Running",
50
+ /**
51
+ * a critical transaction's execution failed.
52
+ * This might mean the transaction was rejected,
53
+ * failed due to a revert or never entered a block
54
+ */
55
+ Failed = "Failed",
56
+ /**
57
+ * the queue finished running all of its transactions. Non-critical transactions
58
+ * might still have failed
59
+ */
60
+ Succeeded = "Succeeded"
61
+ }
62
+ export declare enum RoleType {
63
+ TickerOwner = "TickerOwner",
64
+ CddProvider = "CddProvider",
65
+ VenueOwner = "VenueOwner",
66
+ PortfolioCustodian = "PortfolioCustodian",
67
+ CorporateActionsAgent = "CorporateActionsAgent",
68
+ Identity = "Identity"
69
+ }
70
+ export interface TickerOwnerRole {
71
+ type: RoleType.TickerOwner;
72
+ ticker: string;
73
+ }
74
+ export interface CddProviderRole {
75
+ type: RoleType.CddProvider;
76
+ }
77
+ export interface VenueOwnerRole {
78
+ type: RoleType.VenueOwner;
79
+ venueId: BigNumber;
80
+ }
81
+ export interface PortfolioCustodianRole {
82
+ type: RoleType.PortfolioCustodian;
83
+ portfolioId: PortfolioId;
84
+ }
85
+ export interface IdentityRole {
86
+ type: RoleType.Identity;
87
+ did: string;
88
+ }
89
+ export declare type Role = TickerOwnerRole | CddProviderRole | VenueOwnerRole | PortfolioCustodianRole | IdentityRole;
90
+ export declare enum KnownAssetType {
91
+ EquityCommon = "EquityCommon",
92
+ EquityPreferred = "EquityPreferred",
93
+ Commodity = "Commodity",
94
+ FixedIncome = "FixedIncome",
95
+ Reit = "Reit",
96
+ Fund = "Fund",
97
+ RevenueShareAgreement = "RevenueShareAgreement",
98
+ StructuredProduct = "StructuredProduct",
99
+ Derivative = "Derivative",
100
+ StableCoin = "StableCoin"
101
+ }
102
+ export declare enum SecurityIdentifierType {
103
+ Isin = "Isin",
104
+ Cusip = "Cusip",
105
+ Cins = "Cins",
106
+ Lei = "Lei"
107
+ }
108
+ /**
109
+ * Alphanumeric standardized security identifier
110
+ */
111
+ export interface SecurityIdentifier {
112
+ type: SecurityIdentifierType;
113
+ value: string;
114
+ }
115
+ /**
116
+ * Document attached to a token
117
+ */
118
+ export interface AssetDocument {
119
+ name: string;
120
+ uri: string;
121
+ /**
122
+ * hex representation of the document (must be prefixed by "0x")
123
+ */
124
+ contentHash?: string;
125
+ type?: string;
126
+ filedAt?: Date;
127
+ }
128
+ /**
129
+ * Type of Authorization Request
130
+ */
131
+ export declare enum AuthorizationType {
132
+ AttestPrimaryKeyRotation = "AttestPrimaryKeyRotation",
133
+ RotatePrimaryKey = "RotatePrimaryKey",
134
+ TransferTicker = "TransferTicker",
135
+ AddMultiSigSigner = "AddMultiSigSigner",
136
+ TransferAssetOwnership = "TransferAssetOwnership",
137
+ JoinIdentity = "JoinIdentity",
138
+ PortfolioCustody = "PortfolioCustody",
139
+ BecomeAgent = "BecomeAgent",
140
+ AddRelayerPayingKey = "AddRelayerPayingKey",
141
+ RotatePrimaryKeyToSecondary = "RotatePrimaryKeyToSecondary"
142
+ }
143
+ export declare enum ConditionTarget {
144
+ Sender = "Sender",
145
+ Receiver = "Receiver",
146
+ Both = "Both"
147
+ }
148
+ export declare enum ScopeType {
149
+ Identity = "Identity",
150
+ Ticker = "Ticker",
151
+ Custom = "Custom"
152
+ }
153
+ export interface Scope {
154
+ type: ScopeType;
155
+ value: string;
156
+ }
157
+ export declare enum ClaimType {
158
+ Accredited = "Accredited",
159
+ Affiliate = "Affiliate",
160
+ BuyLockup = "BuyLockup",
161
+ SellLockup = "SellLockup",
162
+ CustomerDueDiligence = "CustomerDueDiligence",
163
+ KnowYourCustomer = "KnowYourCustomer",
164
+ Jurisdiction = "Jurisdiction",
165
+ Exempted = "Exempted",
166
+ Blocked = "Blocked",
167
+ InvestorUniqueness = "InvestorUniqueness",
168
+ NoData = "NoData",
169
+ InvestorUniquenessV2 = "InvestorUniquenessV2"
170
+ }
171
+ export interface AccreditedClaim {
172
+ type: ClaimType.Accredited;
173
+ scope: Scope;
174
+ }
175
+ export interface AffiliateClaim {
176
+ type: ClaimType.Affiliate;
177
+ scope: Scope;
178
+ }
179
+ export interface BuyLockupClaim {
180
+ type: ClaimType.BuyLockup;
181
+ scope: Scope;
182
+ }
183
+ export interface SellLockupClaim {
184
+ type: ClaimType.SellLockup;
185
+ scope: Scope;
186
+ }
187
+ export interface CddClaim {
188
+ type: ClaimType.CustomerDueDiligence;
189
+ id: string;
190
+ }
191
+ export interface KycClaim {
192
+ type: ClaimType.KnowYourCustomer;
193
+ scope: Scope;
194
+ }
195
+ export interface JurisdictionClaim {
196
+ type: ClaimType.Jurisdiction;
197
+ code: CountryCode;
198
+ scope: Scope;
199
+ }
200
+ export interface ExemptedClaim {
201
+ type: ClaimType.Exempted;
202
+ scope: Scope;
203
+ }
204
+ export interface BlockedClaim {
205
+ type: ClaimType.Blocked;
206
+ scope: Scope;
207
+ }
208
+ export interface InvestorUniquenessClaim {
209
+ type: ClaimType.InvestorUniqueness;
210
+ scope: Scope;
211
+ cddId: string;
212
+ scopeId: string;
213
+ }
214
+ export interface NoDataClaim {
215
+ type: ClaimType.NoData;
216
+ }
217
+ export interface InvestorUniquenessV2Claim {
218
+ type: ClaimType.InvestorUniquenessV2;
219
+ cddId: string;
220
+ }
221
+ export declare type ScopedClaim = JurisdictionClaim | InvestorUniquenessClaim | AccreditedClaim | AffiliateClaim | BuyLockupClaim | SellLockupClaim | KycClaim | ExemptedClaim | BlockedClaim;
222
+ export declare type UnscopedClaim = NoDataClaim | CddClaim | InvestorUniquenessV2Claim;
223
+ export declare type Claim = ScopedClaim | UnscopedClaim;
224
+ export interface ClaimData<ClaimType = Claim> {
225
+ target: Identity;
226
+ issuer: Identity;
227
+ issuedAt: Date;
228
+ expiry: Date | null;
229
+ claim: ClaimType;
230
+ }
231
+ export interface IdentityWithClaims {
232
+ identity: Identity;
233
+ claims: ClaimData[];
234
+ }
235
+ export interface ExtrinsicData {
236
+ blockHash: string;
237
+ blockNumber: BigNumber;
238
+ extrinsicIdx: BigNumber;
239
+ /**
240
+ * public key of the signer. Unsigned transactions have no signer, in which case this value is null (example: an enacted governance proposal)
241
+ */
242
+ address: string | null;
243
+ /**
244
+ * nonce of the transaction. Null for unsigned transactions where address is null
245
+ */
246
+ nonce: BigNumber | null;
247
+ txTag: TxTag;
248
+ params: Record<string, unknown>[];
249
+ success: boolean;
250
+ specVersionId: BigNumber;
251
+ extrinsicHash: string;
252
+ }
253
+ export interface ExtrinsicDataWithFees extends ExtrinsicData {
254
+ fee: Fees;
255
+ }
256
+ export interface ProtocolFees {
257
+ tag: TxTag;
258
+ fees: BigNumber;
259
+ }
260
+ export interface ClaimScope {
261
+ scope: Scope | null;
262
+ ticker?: string;
263
+ }
264
+ /**
265
+ * @param IsDefault - whether the Identity is a default trusted claim issuer for an asset or just
266
+ * for a specific compliance condition. Defaults to false
267
+ */
268
+ export interface TrustedClaimIssuer<IsDefault extends boolean = false> {
269
+ identity: IsDefault extends true ? DefaultTrustedClaimIssuer : Identity;
270
+ /**
271
+ * a null value means that the issuer is trusted for all claim types
272
+ */
273
+ trustedFor: ClaimType[] | null;
274
+ }
275
+ export declare type InputTrustedClaimIssuer = Modify<TrustedClaimIssuer, {
276
+ identity: string | Identity;
277
+ }>;
278
+ export declare enum ConditionType {
279
+ IsPresent = "IsPresent",
280
+ IsAbsent = "IsAbsent",
281
+ IsAnyOf = "IsAnyOf",
282
+ IsNoneOf = "IsNoneOf",
283
+ IsExternalAgent = "IsExternalAgent",
284
+ IsIdentity = "IsIdentity"
285
+ }
286
+ export interface ConditionBase {
287
+ target: ConditionTarget;
288
+ /**
289
+ * if undefined, the default trusted claim issuers for the Asset are used
290
+ */
291
+ trustedClaimIssuers?: TrustedClaimIssuer[];
292
+ }
293
+ export declare type InputConditionBase = Modify<ConditionBase, {
294
+ /**
295
+ * if undefined, the default trusted claim issuers for the Asset are used
296
+ */
297
+ trustedClaimIssuers?: InputTrustedClaimIssuer[];
298
+ }>;
299
+ export interface SingleClaimCondition {
300
+ type: ConditionType.IsPresent | ConditionType.IsAbsent;
301
+ claim: Claim;
302
+ }
303
+ export interface MultiClaimCondition {
304
+ type: ConditionType.IsAnyOf | ConditionType.IsNoneOf;
305
+ claims: Claim[];
306
+ }
307
+ export interface IdentityCondition {
308
+ type: ConditionType.IsIdentity;
309
+ identity: Identity;
310
+ }
311
+ export interface ExternalAgentCondition {
312
+ type: ConditionType.IsExternalAgent;
313
+ }
314
+ export declare type Condition = (SingleClaimCondition | MultiClaimCondition | IdentityCondition | ExternalAgentCondition) & ConditionBase;
315
+ export declare type InputCondition = (SingleClaimCondition | MultiClaimCondition | Modify<IdentityCondition, {
316
+ identity: string | Identity;
317
+ }> | ExternalAgentCondition) & InputConditionBase;
318
+ export interface Requirement {
319
+ id: BigNumber;
320
+ conditions: Condition[];
321
+ }
322
+ export interface ComplianceRequirements {
323
+ requirements: Requirement[];
324
+ /**
325
+ * used for conditions where no trusted claim issuers were specified
326
+ */
327
+ defaultTrustedClaimIssuers: TrustedClaimIssuer[];
328
+ }
329
+ export declare type InputRequirement = Modify<Requirement, {
330
+ conditions: InputCondition[];
331
+ }>;
332
+ export interface ConditionCompliance {
333
+ condition: Condition;
334
+ complies: boolean;
335
+ }
336
+ export interface RequirementCompliance {
337
+ id: BigNumber;
338
+ conditions: ConditionCompliance[];
339
+ complies: boolean;
340
+ }
341
+ export interface Compliance {
342
+ requirements: RequirementCompliance[];
343
+ complies: boolean;
344
+ }
345
+ /**
346
+ * Specifies possible types of errors in the SDK
347
+ */
348
+ export declare enum ErrorCode {
349
+ /**
350
+ * transaction removed from the tx pool
351
+ */
352
+ TransactionAborted = "TransactionAborted",
353
+ /**
354
+ * user rejected the transaction in their wallet
355
+ */
356
+ TransactionRejectedByUser = "TransactionRejectedByUser",
357
+ /**
358
+ * transaction failed due to an on-chain error. This is a business logic error,
359
+ * and it should be caught by the SDK before being sent to the chain.
360
+ * Please report it to the Polymath team
361
+ */
362
+ TransactionReverted = "TransactionReverted",
363
+ /**
364
+ * error that should cause termination of the calling application
365
+ */
366
+ FatalError = "FatalError",
367
+ /**
368
+ * user input error. This means that one or more inputs passed by the user
369
+ * do not conform to expected value ranges or types
370
+ */
371
+ ValidationError = "ValidationError",
372
+ /**
373
+ * user does not have the required roles/permissions to perform an operation
374
+ */
375
+ NotAuthorized = "NotAuthorized",
376
+ /**
377
+ * errors encountered when interacting with the historic data middleware (GQL server)
378
+ */
379
+ MiddlewareError = "MiddlewareError",
380
+ /**
381
+ * the data that is being fetched does not exist on-chain, or relies on non-existent data. There are
382
+ * some cases where the data did exist at some point, but has been deleted to save storage space
383
+ */
384
+ DataUnavailable = "DataUnavailable",
385
+ /**
386
+ * the data that is being written to the chain is the same data that is already in place. This would result
387
+ * in a redundant/useless transaction being executed
388
+ */
389
+ NoDataChange = "NoDataChange",
390
+ /**
391
+ * the data that is being written to the chain would result in some limit being exceeded. For example, adding a transfer
392
+ * restriction when the maximum possible amount has already been added
393
+ */
394
+ LimitExceeded = "LimitExceeded",
395
+ /**
396
+ * one or more base prerequisites for a transaction to be successful haven't been met. For example, reserving a ticker requires
397
+ * said ticker to not be already reserved. Attempting to reserve a ticker without that prerequisite being met would result in this
398
+ * type of error. Attempting to create an entity that already exists would also fall into this category,
399
+ * if the entity in question is supposed to be unique
400
+ */
401
+ UnmetPrerequisite = "UnmetPrerequisite",
402
+ /**
403
+ * this type of error is thrown when attempting to delete/modify an entity which has other entities depending on it. For example, deleting
404
+ * a Portfolio that still holds assets, or removing a Checkpoint Schedule that is being referenced by a Corporate Action
405
+ */
406
+ EntityInUse = "EntityInUse",
407
+ /**
408
+ * one or more parties involved in the transaction do not have enough balance to perform it
409
+ */
410
+ InsufficientBalance = "InsufficientBalance",
411
+ /**
412
+ * errors that are the result of something unforeseen.
413
+ * These should generally be reported to the Polymath team
414
+ */
415
+ UnexpectedError = "UnexpectedError",
416
+ /**
417
+ * general purpose errors that don't fit well into the other categories
418
+ */
419
+ General = "General"
420
+ }
421
+ /**
422
+ * ERC1400 compliant transfer status
423
+ */
424
+ export declare enum TransferStatus {
425
+ Failure = "Failure",
426
+ Success = "Success",
427
+ InsufficientBalance = "InsufficientBalance",
428
+ InsufficientAllowance = "InsufficientAllowance",
429
+ TransfersHalted = "TransfersHalted",
430
+ FundsLocked = "FundsLocked",
431
+ InvalidSenderAddress = "InvalidSenderAddress",
432
+ InvalidReceiverAddress = "InvalidReceiverAddress",
433
+ InvalidOperator = "InvalidOperator",
434
+ InvalidSenderIdentity = "InvalidSenderIdentity",
435
+ InvalidReceiverIdentity = "InvalidReceiverIdentity",
436
+ ComplianceFailure = "ComplianceFailure",
437
+ SmartExtensionFailure = "SmartExtensionFailure",
438
+ InvalidGranularity = "InvalidGranularity",
439
+ VolumeLimitReached = "VolumeLimitReached",
440
+ BlockedTransaction = "BlockedTransaction",
441
+ FundsLimitReached = "FundsLimitReached",
442
+ PortfolioFailure = "PortfolioFailure",
443
+ CustodianError = "CustodianError",
444
+ ScopeClaimMissing = "ScopeClaimMissing",
445
+ TransferRestrictionFailure = "TransferRestrictionFailure"
446
+ }
447
+ /**
448
+ * Akin to TransferStatus, these are a bit more granular and specific. Every TransferError translates to
449
+ * a {@link TransferStatus}, but two or more TransferErrors can represent the same TransferStatus, and
450
+ * not all Transfer Statuses are represented by a TransferError
451
+ */
452
+ export declare enum TransferError {
453
+ /**
454
+ * translates to TransferStatus.InvalidGranularity
455
+ *
456
+ * occurs if attempting to transfer decimal amounts of a non-divisible token
457
+ */
458
+ InvalidGranularity = "InvalidGranularity",
459
+ /**
460
+ * translates to TransferStatus.InvalidReceiverIdentity
461
+ *
462
+ * occurs if the origin and destination Identities are the same
463
+ */
464
+ SelfTransfer = "SelfTransfer",
465
+ /**
466
+ * translates to TransferStatus.InvalidReceiverIdentity
467
+ *
468
+ * occurs if the receiver Identity doesn't have a valid CDD claim
469
+ */
470
+ InvalidReceiverCdd = "InvalidReceiverCdd",
471
+ /**
472
+ * translates to TransferStatus.InvalidSenderIdentity
473
+ *
474
+ * occurs if the receiver Identity doesn't have a valid CDD claim
475
+ */
476
+ InvalidSenderCdd = "InvalidSenderCdd",
477
+ /**
478
+ * translates to TransferStatus.ScopeClaimMissing
479
+ *
480
+ * occurs if one of the participants doesn't have a valid Investor Uniqueness Claim for
481
+ * the Asset
482
+ */
483
+ ScopeClaimMissing = "ScopeClaimMissing",
484
+ /**
485
+ * translates to TransferStatus.InsufficientBalance
486
+ *
487
+ * occurs if the sender Identity does not have enough balance to cover the amount
488
+ */
489
+ InsufficientBalance = "InsufficientBalance",
490
+ /**
491
+ * translates to TransferStatus.TransfersHalted
492
+ *
493
+ * occurs if the Asset's transfers are frozen
494
+ */
495
+ TransfersFrozen = "TransfersFrozen",
496
+ /**
497
+ * translates to TransferStatus.PortfolioFailure
498
+ *
499
+ * occurs if the sender Portfolio doesn't exist
500
+ */
501
+ InvalidSenderPortfolio = "InvalidSenderPortfolio",
502
+ /**
503
+ * translates to TransferStatus.PortfolioFailure
504
+ *
505
+ * occurs if the receiver Portfolio doesn't exist
506
+ */
507
+ InvalidReceiverPortfolio = "InvalidReceiverPortfolio",
508
+ /**
509
+ * translates to TransferStatus.PortfolioFailure
510
+ *
511
+ * occurs if the sender Portfolio does not have enough balance to cover the amount
512
+ */
513
+ InsufficientPortfolioBalance = "InsufficientPortfolioBalance"
514
+ }
515
+ export interface ClaimTarget {
516
+ target: string | Identity;
517
+ claim: Claim;
518
+ expiry?: Date;
519
+ }
520
+ export declare type SubCallback<T> = (result: T) => void | Promise<void>;
521
+ export declare type UnsubCallback = () => void;
522
+ export interface MiddlewareConfig {
523
+ link: string;
524
+ key: string;
525
+ }
526
+ export interface EventIdentifier {
527
+ blockNumber: BigNumber;
528
+ blockHash: string;
529
+ blockDate: Date;
530
+ eventIndex: BigNumber;
531
+ }
532
+ export interface Balance {
533
+ /**
534
+ * balance available for transferring and paying fees
535
+ */
536
+ free: BigNumber;
537
+ /**
538
+ * unavailable balance, either bonded for staking or locked for some other purpose
539
+ */
540
+ locked: BigNumber;
541
+ /**
542
+ * free + locked
543
+ */
544
+ total: BigNumber;
545
+ }
546
+ export declare type AccountBalance = Balance;
547
+ export interface PaginationOptions {
548
+ size: BigNumber;
549
+ start?: string;
550
+ }
551
+ export declare type NextKey = string | BigNumber | null;
552
+ export interface ResultSet<T> {
553
+ data: T[];
554
+ next: NextKey;
555
+ count?: BigNumber;
556
+ }
557
+ export interface NetworkProperties {
558
+ name: string;
559
+ version: BigNumber;
560
+ }
561
+ export interface Fees {
562
+ /**
563
+ * bonus fee charged by certain transactions
564
+ */
565
+ protocol: BigNumber;
566
+ /**
567
+ * regular network fee
568
+ */
569
+ gas: BigNumber;
570
+ }
571
+ /**
572
+ * Type of relationship between a paying account and a beneficiary
573
+ */
574
+ export declare enum PayingAccountType {
575
+ /**
576
+ * the paying Account is currently subsidizing the caller
577
+ */
578
+ Subsidy = "Subsidy",
579
+ /**
580
+ * the paying Account is paying for a specific transaction because of
581
+ * chain-specific constraints (i.e. the caller is accepting an invitation to an Identity
582
+ * and cannot have any funds to pay for it by definition)
583
+ */
584
+ Other = "Other"
585
+ }
586
+ /**
587
+ * Represents a relationship in which a third party Account
588
+ * is paying for a transaction on behalf of the caller
589
+ */
590
+ export interface PayingAccount {
591
+ type: PayingAccountType;
592
+ /**
593
+ * Account that pays for the transaction
594
+ */
595
+ account: Account;
596
+ /**
597
+ * total amount that will be paid for
598
+ */
599
+ allowance: BigNumber | null;
600
+ }
601
+ /**
602
+ * Breakdown of the fees that will be paid by a specific third party in a Transaction Queue
603
+ */
604
+ export interface ThirdPartyFees extends PayingAccount {
605
+ /**
606
+ * fees that will be paid by the third party Account
607
+ */
608
+ fees: Fees;
609
+ /**
610
+ * free balance of the third party Account
611
+ */
612
+ balance: BigNumber;
613
+ }
614
+ /**
615
+ * Breakdown of transaction fees for a Transaction Queue. In most cases, the entirety of the Queue's fees
616
+ * will be paid by either the signing Account or a third party. In some rare cases,
617
+ * fees can be split between them (for example, if the signing Account is being subsidized, but one of the
618
+ * transactions in the queue terminates the subsidy, leaving the signing Account with the responsibility of
619
+ * paying for the rest of the transactions)
620
+ */
621
+ export interface FeesBreakdown {
622
+ /**
623
+ * fees that will be paid by third parties. Each element in the array represents
624
+ * a different third party Account, their corresponding fees, allowances and balance
625
+ */
626
+ thirdPartyFees: ThirdPartyFees[];
627
+ /**
628
+ * fees that must be paid by the caller Account
629
+ */
630
+ accountFees: Fees;
631
+ /**
632
+ * free balance of the caller Account
633
+ */
634
+ accountBalance: BigNumber;
635
+ }
636
+ export declare enum SignerType {
637
+ Identity = "Identity",
638
+ Account = "Account"
639
+ }
640
+ export interface SignerValue {
641
+ /**
642
+ * whether the signer is an Account or Identity
643
+ */
644
+ type: SignerType;
645
+ /**
646
+ * address or DID (depending on whether the signer is an Account or Identity)
647
+ */
648
+ value: string;
649
+ }
650
+ /**
651
+ * Transaction Groups (for permissions purposes)
652
+ */
653
+ export declare enum TxGroup {
654
+ /**
655
+ * - TxTags.identity.AddInvestorUniquenessClaim
656
+ * - TxTags.portfolio.MovePortfolioFunds
657
+ * - TxTags.settlement.AddInstruction
658
+ * - TxTags.settlement.AddAndAffirmInstruction
659
+ * - TxTags.settlement.AffirmInstruction
660
+ * - TxTags.settlement.RejectInstruction
661
+ * - TxTags.settlement.CreateVenue
662
+ */
663
+ PortfolioManagement = "PortfolioManagement",
664
+ /**
665
+ * - TxTags.asset.MakeDivisible
666
+ * - TxTags.asset.RenameAsset
667
+ * - TxTags.asset.SetFundingRound
668
+ * - TxTags.asset.AddDocuments
669
+ * - TxTags.asset.RemoveDocuments
670
+ */
671
+ AssetManagement = "AssetManagement",
672
+ /**
673
+ * - TxTags.asset.Freeze
674
+ * - TxTags.asset.Unfreeze
675
+ * - TxTags.identity.AddAuthorization
676
+ * - TxTags.identity.RemoveAuthorization
677
+ */
678
+ AdvancedAssetManagement = "AdvancedAssetManagement",
679
+ /**
680
+ * - TxTags.identity.AddInvestorUniquenessClaim
681
+ * - TxTags.settlement.CreateVenue
682
+ * - TxTags.settlement.AddInstruction
683
+ * - TxTags.settlement.AddAndAffirmInstruction
684
+ */
685
+ Distribution = "Distribution",
686
+ /**
687
+ * - TxTags.asset.Issue
688
+ */
689
+ Issuance = "Issuance",
690
+ /**
691
+ * - TxTags.complianceManager.AddDefaultTrustedClaimIssuer
692
+ * - TxTags.complianceManager.RemoveDefaultTrustedClaimIssuer
693
+ */
694
+ TrustedClaimIssuersManagement = "TrustedClaimIssuersManagement",
695
+ /**
696
+ * - TxTags.identity.AddClaim
697
+ * - TxTags.identity.RevokeClaim
698
+ */
699
+ ClaimsManagement = "ClaimsManagement",
700
+ /**
701
+ * - TxTags.complianceManager.AddComplianceRequirement
702
+ * - TxTags.complianceManager.RemoveComplianceRequirement
703
+ * - TxTags.complianceManager.PauseAssetCompliance
704
+ * - TxTags.complianceManager.ResumeAssetCompliance
705
+ * - TxTags.complianceManager.ResetAssetCompliance
706
+ */
707
+ ComplianceRequirementsManagement = "ComplianceRequirementsManagement",
708
+ /**
709
+ * - TxTags.checkpoint.CreateSchedule,
710
+ * - TxTags.checkpoint.RemoveSchedule,
711
+ * - TxTags.checkpoint.CreateCheckpoint,
712
+ * - TxTags.corporateAction.InitiateCorporateAction,
713
+ * - TxTags.capitalDistribution.Distribute,
714
+ * - TxTags.capitalDistribution.Claim,
715
+ * - TxTags.identity.AddInvestorUniquenessClaim,
716
+ */
717
+ CorporateActionsManagement = "CorporateActionsManagement",
718
+ /**
719
+ * - TxTags.sto.CreateFundraiser,
720
+ * - TxTags.sto.FreezeFundraiser,
721
+ * - TxTags.sto.Invest,
722
+ * - TxTags.sto.ModifyFundraiserWindow,
723
+ * - TxTags.sto.Stop,
724
+ * - TxTags.sto.UnfreezeFundraiser,
725
+ * - TxTags.identity.AddInvestorUniquenessClaim,
726
+ * - TxTags.asset.Issue,
727
+ * - TxTags.settlement.CreateVenue
728
+ */
729
+ StoManagement = "StoManagement"
730
+ }
731
+ export declare enum PermissionType {
732
+ Include = "Include",
733
+ Exclude = "Exclude"
734
+ }
735
+ /**
736
+ * Signer/agent permissions for a specific type
737
+ *
738
+ * @param T - type of Permissions (Asset, Transaction, Portfolio, etc)
739
+ */
740
+ export interface SectionPermissions<T> {
741
+ /**
742
+ * Values to be included/excluded
743
+ */
744
+ values: T[];
745
+ /**
746
+ * Whether the permissions are inclusive or exclusive
747
+ */
748
+ type: PermissionType;
749
+ }
750
+ /**
751
+ * Permissions related to Transactions. Can include/exclude individual transactions or entire modules
752
+ */
753
+ export interface TransactionPermissions extends SectionPermissions<TxTag | ModuleName> {
754
+ /**
755
+ * Transactions to be exempted from inclusion/exclusion. This allows more granularity when
756
+ * setting permissions. For example, let's say we want to include only the `asset` and `staking` modules,
757
+ * but exclude the `asset.registerTicker` transaction. We could add both modules to `values`, and add
758
+ * `TxTags.asset.registerTicker` to `exceptions`
759
+ */
760
+ exceptions?: TxTag[];
761
+ }
762
+ /**
763
+ * Permissions a Secondary Key has over the Identity. A null value means the key has
764
+ * all permissions of that type (i.e. if `assets` is null, the key has permissions over all
765
+ * of the Identity's Assets)
766
+ */
767
+ export interface Permissions {
768
+ /**
769
+ * Assets over which this key has permissions
770
+ */
771
+ assets: SectionPermissions<Asset> | null;
772
+ /**
773
+ * Transactions this key can execute
774
+ */
775
+ transactions: TransactionPermissions | null;
776
+ /**
777
+ * list of Transaction Groups this key can execute. Having permissions over a TxGroup
778
+ * means having permissions over every TxTag in said group. Partial group permissions are not
779
+ * covered by this value. For a full picture of transaction permissions, see the `transactions` property
780
+ *
781
+ * NOTE: If transactions is null, ignore this value
782
+ */
783
+ transactionGroups: TxGroup[];
784
+ portfolios: SectionPermissions<DefaultPortfolio | NumberedPortfolio> | null;
785
+ }
786
+ /**
787
+ * Asset permissions shared by agents in a group
788
+ */
789
+ export declare type GroupPermissions = Pick<Permissions, 'transactions' | 'transactionGroups'>;
790
+ /**
791
+ * All Permission Groups of a specific Asset, separated by `known` and `custom`
792
+ */
793
+ export interface PermissionGroups {
794
+ known: KnownPermissionGroup[];
795
+ custom: CustomPermissionGroup[];
796
+ }
797
+ /**
798
+ * This represents positive permissions (i.e. only "includes"). It is used
799
+ * for specifying procedure requirements and querying if an Account has certain
800
+ * permissions. Null values represent full permissions in that category
801
+ */
802
+ export interface SimplePermissions {
803
+ /**
804
+ * list of required Asset permissions
805
+ */
806
+ assets?: Asset[] | null;
807
+ /**
808
+ * list of required Transaction permissions
809
+ */
810
+ transactions?: TxTag[] | null;
811
+ portfolios?: (DefaultPortfolio | NumberedPortfolio)[] | null;
812
+ }
813
+ /**
814
+ * Result of a `checkRoles` call
815
+ */
816
+ export interface CheckRolesResult {
817
+ /**
818
+ * required roles which the Identity *DOESN'T* have. Only present if `result` is `false`
819
+ */
820
+ missingRoles?: Role[];
821
+ /**
822
+ * whether the signer possesses all the required roles or not
823
+ */
824
+ result: boolean;
825
+ /**
826
+ * optional message explaining the reason for failure in special cases
827
+ */
828
+ message?: string;
829
+ }
830
+ /**
831
+ * Result of a `checkPermissions` call. If `Type` is `Account`, represents whether the Account
832
+ * has all the necessary secondary key Permissions. If `Type` is `Identity`, represents whether the
833
+ * Identity has all the necessary external agent Permissions
834
+ */
835
+ export interface CheckPermissionsResult<Type extends SignerType> {
836
+ /**
837
+ * required permissions which the signer *DOESN'T* have. Only present if `result` is `false`
838
+ */
839
+ missingPermissions?: Type extends SignerType.Account ? SimplePermissions : TxTag[] | null;
840
+ /**
841
+ * whether the signer complies with the required permissions or not
842
+ */
843
+ result: boolean;
844
+ /**
845
+ * optional message explaining the reason for failure in special cases
846
+ */
847
+ message?: string;
848
+ }
849
+ export declare enum PermissionGroupType {
850
+ /**
851
+ * all transactions authorized
852
+ */
853
+ Full = "Full",
854
+ /**
855
+ * not authorized:
856
+ * - externalAgents
857
+ */
858
+ ExceptMeta = "ExceptMeta",
859
+ /**
860
+ * authorized:
861
+ * - corporateAction
862
+ * - corporateBallot
863
+ * - capitalDistribution
864
+ */
865
+ PolymeshV1Caa = "PolymeshV1Caa",
866
+ /**
867
+ * authorized:
868
+ * - asset.issue
869
+ * - asset.redeem
870
+ * - asset.controllerTransfer
871
+ * - sto (except for sto.invest)
872
+ */
873
+ PolymeshV1Pia = "PolymeshV1Pia"
874
+ }
875
+ export declare type RotatePrimaryKeyAuthorizationData = {
876
+ type: AuthorizationType.RotatePrimaryKey;
877
+ };
878
+ export declare type RotatePrimaryKeyToSecondaryData = {
879
+ type: AuthorizationType.RotatePrimaryKeyToSecondary;
880
+ value: Permissions;
881
+ };
882
+ export declare type JoinIdentityAuthorizationData = {
883
+ type: AuthorizationType.JoinIdentity;
884
+ value: Permissions;
885
+ };
886
+ export declare type PortfolioCustodyAuthorizationData = {
887
+ type: AuthorizationType.PortfolioCustody;
888
+ value: NumberedPortfolio | DefaultPortfolio;
889
+ };
890
+ export declare type BecomeAgentAuthorizationData = {
891
+ type: AuthorizationType.BecomeAgent;
892
+ value: KnownPermissionGroup | CustomPermissionGroup;
893
+ };
894
+ export declare type AddRelayerPayingKeyAuthorizationData = {
895
+ type: AuthorizationType.AddRelayerPayingKey;
896
+ value: SubsidyData;
897
+ };
898
+ export declare type GenericAuthorizationData = {
899
+ type: Exclude<AuthorizationType, AuthorizationType.RotatePrimaryKey | AuthorizationType.JoinIdentity | AuthorizationType.PortfolioCustody | AuthorizationType.BecomeAgent | AuthorizationType.AddRelayerPayingKey | AuthorizationType.RotatePrimaryKeyToSecondary>;
900
+ value: string;
901
+ };
902
+ /**
903
+ * Authorization request data corresponding to type
904
+ */
905
+ export declare type Authorization = RotatePrimaryKeyAuthorizationData | JoinIdentityAuthorizationData | PortfolioCustodyAuthorizationData | BecomeAgentAuthorizationData | AddRelayerPayingKeyAuthorizationData | RotatePrimaryKeyToSecondaryData | GenericAuthorizationData;
906
+ export declare enum TransactionArgumentType {
907
+ Did = "Did",
908
+ Address = "Address",
909
+ Text = "Text",
910
+ Boolean = "Boolean",
911
+ Number = "Number",
912
+ Balance = "Balance",
913
+ Date = "Date",
914
+ Array = "Array",
915
+ Tuple = "Tuple",
916
+ SimpleEnum = "SimpleEnum",
917
+ RichEnum = "RichEnum",
918
+ Object = "Object",
919
+ Unknown = "Unknown",
920
+ Null = "Null"
921
+ }
922
+ export interface PlainTransactionArgument {
923
+ type: Exclude<TransactionArgumentType, TransactionArgumentType.Array | TransactionArgumentType.Tuple | TransactionArgumentType.SimpleEnum | TransactionArgumentType.RichEnum | TransactionArgumentType.Object>;
924
+ }
925
+ export interface ArrayTransactionArgument {
926
+ type: TransactionArgumentType.Array;
927
+ internal: TransactionArgument;
928
+ }
929
+ export interface SimpleEnumTransactionArgument {
930
+ type: TransactionArgumentType.SimpleEnum;
931
+ internal: string[];
932
+ }
933
+ export interface ComplexTransactionArgument {
934
+ type: TransactionArgumentType.RichEnum | TransactionArgumentType.Object | TransactionArgumentType.Tuple;
935
+ internal: TransactionArgument[];
936
+ }
937
+ export declare type TransactionArgument = {
938
+ name: string;
939
+ optional: boolean;
940
+ _rawType: TypeDef;
941
+ } & (PlainTransactionArgument | ArrayTransactionArgument | SimpleEnumTransactionArgument | ComplexTransactionArgument);
942
+ export declare type Signer = Identity | Account;
943
+ export interface OfferingWithDetails {
944
+ offering: Offering;
945
+ details: OfferingDetails;
946
+ }
947
+ export interface CheckpointWithData {
948
+ checkpoint: Checkpoint;
949
+ createdAt: Date;
950
+ totalSupply: BigNumber;
951
+ }
952
+ export interface PermissionedAccount {
953
+ account: Account;
954
+ permissions: Permissions;
955
+ }
956
+ export declare type PortfolioLike = string | Identity | NumberedPortfolio | DefaultPortfolio | {
957
+ identity: string | Identity;
958
+ id: BigNumber;
959
+ };
960
+ /**
961
+ * Permissions to grant to a Signer over an Identity
962
+ *
963
+ * {@link Permissions}
964
+ *
965
+ * @note TxGroups in the `transactionGroups` array will be transformed into their corresponding `TxTag`s
966
+ */
967
+ export declare type PermissionsLike = {
968
+ /**
969
+ * Assets on which to grant permissions. A null value represents full permissions
970
+ */
971
+ assets?: SectionPermissions<string | Asset> | null;
972
+ /**
973
+ * Portfolios on which to grant permissions. A null value represents full permissions
974
+ */
975
+ portfolios?: SectionPermissions<PortfolioLike> | null;
976
+ } & ({
977
+ transactions?: TransactionPermissions | null;
978
+ } | {
979
+ transactionGroups?: TxGroup[];
980
+ });
981
+ export interface PortfolioMovement {
982
+ asset: string | Asset;
983
+ amount: BigNumber;
984
+ /**
985
+ * identifier string to help differentiate transfers
986
+ */
987
+ memo?: string;
988
+ }
989
+ export interface ProcedureAuthorizationStatus {
990
+ /**
991
+ * whether the Identity complies with all required Agent permissions
992
+ */
993
+ agentPermissions: CheckPermissionsResult<SignerType.Identity>;
994
+ /**
995
+ * whether the Account complies with all required Signer permissions
996
+ */
997
+ signerPermissions: CheckPermissionsResult<SignerType.Account>;
998
+ /**
999
+ * whether the Identity complies with all required Roles
1000
+ */
1001
+ roles: CheckRolesResult;
1002
+ /**
1003
+ * whether the Account is frozen (i.e. can't perform any transactions)
1004
+ */
1005
+ accountFrozen: boolean;
1006
+ /**
1007
+ * true only if the Procedure requires an Identity but the signing Account
1008
+ * doesn't have one associated
1009
+ */
1010
+ noIdentity: boolean;
1011
+ }
1012
+ interface TransferRestrictionBase {
1013
+ /**
1014
+ * array of Scope/Identity IDs that are exempted from the Restriction
1015
+ *
1016
+ * @note if the Asset requires investor uniqueness, Scope IDs are used. Otherwise, we use Identity IDs. More on Scope IDs and investor uniqueness
1017
+ * {@link https://developers.polymesh.network/introduction/identity#polymesh-unique-identity-system-puis | here} and
1018
+ * {@link https://developers.polymesh.network/polymesh-docs/primitives/confidential-identity | here}
1019
+ */
1020
+ exemptedIds?: string[];
1021
+ }
1022
+ interface TransferRestrictionInputBase {
1023
+ /**
1024
+ * array of Identities (or DIDs) that are exempted from the Restriction
1025
+ */
1026
+ exemptedIdentities?: (Identity | string)[];
1027
+ }
1028
+ export interface CountTransferRestriction extends TransferRestrictionBase {
1029
+ count: BigNumber;
1030
+ }
1031
+ export interface PercentageTransferRestriction extends TransferRestrictionBase {
1032
+ /**
1033
+ * maximum percentage (0-100) of the total supply of the Asset that can be held by a single investor at once
1034
+ */
1035
+ percentage: BigNumber;
1036
+ }
1037
+ export interface CountTransferRestrictionInput extends TransferRestrictionInputBase {
1038
+ /**
1039
+ * limit on the amount of different (unique) investors that can hold the Asset at once
1040
+ */
1041
+ count: BigNumber;
1042
+ }
1043
+ export interface PercentageTransferRestrictionInput extends TransferRestrictionInputBase {
1044
+ /**
1045
+ * maximum percentage (0-100) of the total supply of the Asset that can be held by a single investor at once
1046
+ */
1047
+ percentage: BigNumber;
1048
+ }
1049
+ export interface ActiveTransferRestrictions<Restriction extends CountTransferRestriction | PercentageTransferRestriction> {
1050
+ restrictions: Restriction[];
1051
+ /**
1052
+ * amount of restrictions that can be added before reaching the shared limit
1053
+ */
1054
+ availableSlots: BigNumber;
1055
+ }
1056
+ export declare enum TransferRestrictionType {
1057
+ Count = "Count",
1058
+ Percentage = "Percentage"
1059
+ }
1060
+ export interface TransferRestriction {
1061
+ type: TransferRestrictionType;
1062
+ value: BigNumber;
1063
+ }
1064
+ export declare enum CalendarUnit {
1065
+ Second = "second",
1066
+ Minute = "minute",
1067
+ Hour = "hour",
1068
+ Day = "day",
1069
+ Week = "week",
1070
+ Month = "month",
1071
+ Year = "year"
1072
+ }
1073
+ /**
1074
+ * Represents a period of time measured in a specific unit (i.e. 20 days)
1075
+ */
1076
+ export interface CalendarPeriod {
1077
+ unit: CalendarUnit;
1078
+ amount: BigNumber;
1079
+ }
1080
+ export interface ScheduleWithDetails {
1081
+ schedule: CheckpointSchedule;
1082
+ details: ScheduleDetails;
1083
+ }
1084
+ export interface DistributionWithDetails {
1085
+ distribution: DividendDistribution;
1086
+ details: DividendDistributionDetails;
1087
+ }
1088
+ export interface DistributionPayment {
1089
+ blockNumber: BigNumber;
1090
+ blockHash: string;
1091
+ date: Date;
1092
+ target: Identity;
1093
+ amount: BigNumber;
1094
+ /**
1095
+ * percentage (0-100) of tax withholding for the `target` identity
1096
+ */
1097
+ withheldTax: BigNumber;
1098
+ }
1099
+ export interface ProcedureOpts {
1100
+ /**
1101
+ * Account or address of a signing key to replace the current one (for this procedure only)
1102
+ */
1103
+ signingAccount?: string | Account;
1104
+ }
1105
+ export interface ProcedureMethod<MethodArgs, ProcedureReturnValue, ReturnValue = ProcedureReturnValue> {
1106
+ (args: MethodArgs, opts?: ProcedureOpts): Promise<TransactionQueue<ProcedureReturnValue, ReturnValue>>;
1107
+ checkAuthorization: (args: MethodArgs, opts?: ProcedureOpts) => Promise<ProcedureAuthorizationStatus>;
1108
+ }
1109
+ export interface NoArgsProcedureMethod<ProcedureReturnValue, ReturnValue = ProcedureReturnValue> {
1110
+ (opts?: ProcedureOpts): Promise<TransactionQueue<ProcedureReturnValue, ReturnValue>>;
1111
+ checkAuthorization: (opts?: ProcedureOpts) => Promise<ProcedureAuthorizationStatus>;
1112
+ }
1113
+ export interface GroupedInstructions {
1114
+ /**
1115
+ * Instructions that have already been affirmed by the Identity
1116
+ */
1117
+ affirmed: Instruction[];
1118
+ /**
1119
+ * Instructions that still need to be affirmed/rejected by the Identity
1120
+ */
1121
+ pending: Instruction[];
1122
+ /**
1123
+ * Instructions that failed in their execution (can be rescheduled).
1124
+ * This group supersedes the other three, so for example, a failed Instruction
1125
+ * might also belong in the `affirmed` group, but it will only be included in this one
1126
+ */
1127
+ failed: Instruction[];
1128
+ }
1129
+ export interface AssetWithGroup {
1130
+ asset: Asset;
1131
+ group: KnownPermissionGroup | CustomPermissionGroup;
1132
+ }
1133
+ /**
1134
+ * Events triggered by transactions performed by an Agent Identity, related to the Token's configuration
1135
+ * For example: changing compliance requirements, inviting/removing agent Identities, freezing/unfreezing transfers
1136
+ *
1137
+ * Token transfers (settlements or movements between Portfolios) do not count as Operations
1138
+ */
1139
+ export interface HistoricAgentOperation {
1140
+ /**
1141
+ * Agent Identity that performed the operations
1142
+ */
1143
+ identity: Identity;
1144
+ /**
1145
+ * list of Token Operation Events that were triggered by the Agent Identity
1146
+ */
1147
+ history: EventIdentifier[];
1148
+ }
1149
+ /**
1150
+ * URI|mnemonic|hex representation of a private key
1151
+ */
1152
+ export declare type PrivateKey = {
1153
+ uri: string;
1154
+ } | {
1155
+ mnemonic: string;
1156
+ } | {
1157
+ seed: string;
1158
+ };
1159
+ export { TxTags, TxTag, ModuleName };
1160
+ export { EventRecord } from '@polkadot/types/interfaces';
1161
+ export * from "../api/entities/types";
1162
+ export * from "../base/types";
1163
+ export { Order } from "../middleware/types";
1164
+ //# sourceMappingURL=index.d.ts.map