@polymeshassociation/polymesh-sdk 27.7.0 → 27.8.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (302) hide show
  1. package/CHANGELOG.md +9 -9
  2. package/api/client/AccountManagement.d.ts.map +1 -1
  3. package/api/client/AccountManagement.js +7 -1
  4. package/api/client/AccountManagement.js.map +1 -1
  5. package/api/client/Claims.d.ts.map +1 -1
  6. package/api/client/Claims.js +1 -1
  7. package/api/client/Claims.js.map +1 -1
  8. package/api/client/Polymesh.d.ts.map +1 -1
  9. package/api/client/Polymesh.js +1 -1
  10. package/api/client/Polymesh.js.map +1 -1
  11. package/api/entities/Asset/Base/Settlements/index.d.ts.map +1 -1
  12. package/api/entities/Asset/Base/Settlements/index.js.map +1 -1
  13. package/api/entities/Identity/index.d.ts.map +1 -1
  14. package/api/entities/Identity/index.js.map +1 -1
  15. package/api/entities/Instruction/index.d.ts +4 -0
  16. package/api/entities/Instruction/index.d.ts.map +1 -1
  17. package/api/entities/Instruction/index.js +23 -1
  18. package/api/entities/Instruction/index.js.map +1 -1
  19. package/api/entities/Instruction/types.d.ts +6 -2
  20. package/api/entities/Instruction/types.d.ts.map +1 -1
  21. package/api/entities/Instruction/types.js +2 -0
  22. package/api/entities/Instruction/types.js.map +1 -1
  23. package/api/entities/NumberedPortfolio.d.ts +12 -1
  24. package/api/entities/NumberedPortfolio.d.ts.map +1 -1
  25. package/api/entities/NumberedPortfolio.js +1 -0
  26. package/api/entities/NumberedPortfolio.js.map +1 -1
  27. package/api/entities/Offering/index.js +1 -1
  28. package/api/entities/Offering/index.js.map +1 -1
  29. package/api/entities/Portfolio/index.d.ts +2 -13
  30. package/api/entities/Portfolio/index.d.ts.map +1 -1
  31. package/api/entities/Portfolio/index.js +0 -1
  32. package/api/entities/Portfolio/index.js.map +1 -1
  33. package/api/entities/common/namespaces/Authorizations.d.ts +1 -1
  34. package/api/entities/common/namespaces/Authorizations.d.ts.map +1 -1
  35. package/api/procedures/addInstruction.d.ts.map +1 -1
  36. package/api/procedures/addInstruction.js +3 -0
  37. package/api/procedures/addInstruction.js.map +1 -1
  38. package/api/procedures/executeManualInstruction.d.ts.map +1 -1
  39. package/api/procedures/executeManualInstruction.js +2 -2
  40. package/api/procedures/executeManualInstruction.js.map +1 -1
  41. package/api/procedures/investInOffering.d.ts.map +1 -1
  42. package/api/procedures/investInOffering.js +6 -3
  43. package/api/procedures/investInOffering.js.map +1 -1
  44. package/api/procedures/launchOffering.js +1 -1
  45. package/api/procedures/modifyInstructionAffirmation.d.ts +1 -1
  46. package/api/procedures/modifyInstructionAffirmation.d.ts.map +1 -1
  47. package/api/procedures/modifyInstructionAffirmation.js +2 -2
  48. package/api/procedures/modifyInstructionAffirmation.js.map +1 -1
  49. package/api/procedures/nominateValidators.d.ts.map +1 -1
  50. package/api/procedures/nominateValidators.js +1 -5
  51. package/api/procedures/nominateValidators.js.map +1 -1
  52. package/api/procedures/removeMultiSigPayer.d.ts.map +1 -1
  53. package/api/procedures/removeMultiSigPayer.js +1 -4
  54. package/api/procedures/removeMultiSigPayer.js.map +1 -1
  55. package/api/procedures/setCustodian.d.ts +1 -1
  56. package/api/procedures/setCustodian.d.ts.map +1 -1
  57. package/api/procedures/setTransferRestrictions.d.ts +1 -1
  58. package/api/procedures/setTransferRestrictions.d.ts.map +1 -1
  59. package/api/procedures/subsidizeAccount.d.ts.map +1 -1
  60. package/api/procedures/subsidizeAccount.js +1 -5
  61. package/api/procedures/subsidizeAccount.js.map +1 -1
  62. package/api/procedures/transferPolyx.d.ts +1 -1
  63. package/api/procedures/transferPolyx.d.ts.map +1 -1
  64. package/api/procedures/transferPolyx.js +3 -35
  65. package/api/procedures/transferPolyx.js.map +1 -1
  66. package/api/procedures/types.d.ts +9 -0
  67. package/api/procedures/types.d.ts.map +1 -1
  68. package/api/procedures/types.js.map +1 -1
  69. package/api/procedures/withdrawUnbondedPolyx.d.ts +1 -1
  70. package/api/procedures/withdrawUnbondedPolyx.d.ts.map +1 -1
  71. package/base/Context.d.ts.map +1 -1
  72. package/base/Context.js +1 -2
  73. package/base/Context.js.map +1 -1
  74. package/base/utils.d.ts +1 -1
  75. package/base/utils.d.ts.map +1 -1
  76. package/base/utils.js +1 -1
  77. package/base/utils.js.map +1 -1
  78. package/generated/utils.d.ts +2 -2
  79. package/generated/utils.d.ts.map +1 -1
  80. package/generated/utils.js +1 -1
  81. package/generated/utils.js.map +1 -1
  82. package/index.d.ts +1 -1
  83. package/index.d.ts.map +1 -1
  84. package/index.js +1 -1
  85. package/index.js.map +1 -1
  86. package/middleware/queries/stos.d.ts +1 -1
  87. package/middleware/queries/stos.d.ts.map +1 -1
  88. package/middleware/queries/stos.js +5 -2
  89. package/middleware/queries/stos.js.map +1 -1
  90. package/middleware/types.d.ts +42 -1
  91. package/middleware/types.d.ts.map +1 -1
  92. package/middleware/types.js +24 -1
  93. package/middleware/types.js.map +1 -1
  94. package/npm-package/polymeshassociation-polymesh-sdk-27.8.0-beta.1.tgz +0 -0
  95. package/package.json +3 -3
  96. package/types/index.d.ts +2 -2
  97. package/types/index.d.ts.map +1 -1
  98. package/types/index.js +2 -2
  99. package/types/index.js.map +1 -1
  100. package/types/internal.d.ts +3 -2
  101. package/types/internal.d.ts.map +1 -1
  102. package/types/internal.js +1 -0
  103. package/types/internal.js.map +1 -1
  104. package/utils/constants.d.ts +2 -2
  105. package/utils/constants.d.ts.map +1 -1
  106. package/utils/constants.js +2 -2
  107. package/utils/constants.js.map +1 -1
  108. package/utils/conversion.d.ts +10 -2
  109. package/utils/conversion.d.ts.map +1 -1
  110. package/utils/conversion.js +51 -26
  111. package/utils/conversion.js.map +1 -1
  112. package/utils/internal.d.ts +1 -1
  113. package/utils/internal.d.ts.map +1 -1
  114. package/generated/types.d.ts +0 -895
  115. package/generated/types.d.ts.map +0 -1
  116. package/generated/types.js +0 -948
  117. package/generated/types.js.map +0 -1
  118. package/npm-package/polymeshassociation-polymesh-sdk-27.7.0.tgz +0 -0
  119. package/polkadot/asset/definitions.d.ts +0 -16
  120. package/polkadot/asset/definitions.d.ts.map +0 -1
  121. package/polkadot/asset/definitions.js +0 -45
  122. package/polkadot/asset/definitions.js.map +0 -1
  123. package/polkadot/asset/index.d.ts +0 -2
  124. package/polkadot/asset/index.d.ts.map +0 -1
  125. package/polkadot/asset/index.js +0 -20
  126. package/polkadot/asset/index.js.map +0 -1
  127. package/polkadot/asset/types.d.ts +0 -2
  128. package/polkadot/asset/types.d.ts.map +0 -1
  129. package/polkadot/asset/types.js +0 -5
  130. package/polkadot/asset/types.js.map +0 -1
  131. package/polkadot/augment-api-consts.d.ts +0 -505
  132. package/polkadot/augment-api-consts.d.ts.map +0 -1
  133. package/polkadot/augment-api-consts.js +0 -8
  134. package/polkadot/augment-api-consts.js.map +0 -1
  135. package/polkadot/augment-api-errors.d.ts +0 -2191
  136. package/polkadot/augment-api-errors.d.ts.map +0 -1
  137. package/polkadot/augment-api-errors.js +0 -8
  138. package/polkadot/augment-api-errors.js.map +0 -1
  139. package/polkadot/augment-api-events.d.ts +0 -2991
  140. package/polkadot/augment-api-events.d.ts.map +0 -1
  141. package/polkadot/augment-api-events.js +0 -8
  142. package/polkadot/augment-api-events.js.map +0 -1
  143. package/polkadot/augment-api-query.d.ts +0 -2580
  144. package/polkadot/augment-api-query.d.ts.map +0 -1
  145. package/polkadot/augment-api-query.js +0 -8
  146. package/polkadot/augment-api-query.js.map +0 -1
  147. package/polkadot/augment-api-rpc.d.ts +0 -808
  148. package/polkadot/augment-api-rpc.d.ts.map +0 -1
  149. package/polkadot/augment-api-rpc.js +0 -6
  150. package/polkadot/augment-api-rpc.js.map +0 -1
  151. package/polkadot/augment-api-runtime.d.ts +0 -380
  152. package/polkadot/augment-api-runtime.d.ts.map +0 -1
  153. package/polkadot/augment-api-runtime.js +0 -8
  154. package/polkadot/augment-api-runtime.js.map +0 -1
  155. package/polkadot/augment-api-tx.d.ts +0 -6408
  156. package/polkadot/augment-api-tx.d.ts.map +0 -1
  157. package/polkadot/augment-api-tx.js +0 -8
  158. package/polkadot/augment-api-tx.js.map +0 -1
  159. package/polkadot/augment-api.d.ts +0 -8
  160. package/polkadot/augment-api.d.ts.map +0 -1
  161. package/polkadot/augment-api.js +0 -12
  162. package/polkadot/augment-api.js.map +0 -1
  163. package/polkadot/augment-types.d.ts +0 -1238
  164. package/polkadot/augment-types.d.ts.map +0 -1
  165. package/polkadot/augment-types.js +0 -8
  166. package/polkadot/augment-types.js.map +0 -1
  167. package/polkadot/compliance/definitions.d.ts +0 -15
  168. package/polkadot/compliance/definitions.d.ts.map +0 -1
  169. package/polkadot/compliance/definitions.js +0 -27
  170. package/polkadot/compliance/definitions.js.map +0 -1
  171. package/polkadot/compliance/index.d.ts +0 -2
  172. package/polkadot/compliance/index.d.ts.map +0 -1
  173. package/polkadot/compliance/index.js +0 -20
  174. package/polkadot/compliance/index.js.map +0 -1
  175. package/polkadot/compliance/types.d.ts +0 -2
  176. package/polkadot/compliance/types.d.ts.map +0 -1
  177. package/polkadot/compliance/types.js +0 -5
  178. package/polkadot/compliance/types.js.map +0 -1
  179. package/polkadot/definitions.d.ts +0 -11
  180. package/polkadot/definitions.d.ts.map +0 -1
  181. package/polkadot/definitions.js +0 -28
  182. package/polkadot/definitions.js.map +0 -1
  183. package/polkadot/group/definitions.d.ts +0 -25
  184. package/polkadot/group/definitions.d.ts.map +0 -1
  185. package/polkadot/group/definitions.js +0 -31
  186. package/polkadot/group/definitions.js.map +0 -1
  187. package/polkadot/group/index.d.ts +0 -2
  188. package/polkadot/group/index.d.ts.map +0 -1
  189. package/polkadot/group/index.js +0 -20
  190. package/polkadot/group/index.js.map +0 -1
  191. package/polkadot/group/types.d.ts +0 -2
  192. package/polkadot/group/types.d.ts.map +0 -1
  193. package/polkadot/group/types.js +0 -5
  194. package/polkadot/group/types.js.map +0 -1
  195. package/polkadot/identity/definitions.d.ts +0 -61
  196. package/polkadot/identity/definitions.d.ts.map +0 -1
  197. package/polkadot/identity/definitions.js +0 -125
  198. package/polkadot/identity/definitions.js.map +0 -1
  199. package/polkadot/identity/index.d.ts +0 -2
  200. package/polkadot/identity/index.d.ts.map +0 -1
  201. package/polkadot/identity/index.js +0 -20
  202. package/polkadot/identity/index.js.map +0 -1
  203. package/polkadot/identity/types.d.ts +0 -2
  204. package/polkadot/identity/types.d.ts.map +0 -1
  205. package/polkadot/identity/types.js +0 -5
  206. package/polkadot/identity/types.js.map +0 -1
  207. package/polkadot/index.d.ts +0 -2
  208. package/polkadot/index.d.ts.map +0 -1
  209. package/polkadot/index.js +0 -20
  210. package/polkadot/index.js.map +0 -1
  211. package/polkadot/lookup.d.ts +0 -4733
  212. package/polkadot/lookup.d.ts.map +0 -1
  213. package/polkadot/lookup.js +0 -5493
  214. package/polkadot/lookup.js.map +0 -1
  215. package/polkadot/nft/definitions.d.ts +0 -16
  216. package/polkadot/nft/definitions.d.ts.map +0 -1
  217. package/polkadot/nft/definitions.js +0 -40
  218. package/polkadot/nft/definitions.js.map +0 -1
  219. package/polkadot/nft/index.d.ts +0 -2
  220. package/polkadot/nft/index.d.ts.map +0 -1
  221. package/polkadot/nft/index.js +0 -20
  222. package/polkadot/nft/index.js.map +0 -1
  223. package/polkadot/nft/types.d.ts +0 -2
  224. package/polkadot/nft/types.d.ts.map +0 -1
  225. package/polkadot/nft/types.js +0 -5
  226. package/polkadot/nft/types.js.map +0 -1
  227. package/polkadot/pips/definitions.d.ts +0 -34
  228. package/polkadot/pips/definitions.d.ts.map +0 -1
  229. package/polkadot/pips/definitions.js +0 -57
  230. package/polkadot/pips/definitions.js.map +0 -1
  231. package/polkadot/pips/index.d.ts +0 -2
  232. package/polkadot/pips/index.d.ts.map +0 -1
  233. package/polkadot/pips/index.js +0 -20
  234. package/polkadot/pips/index.js.map +0 -1
  235. package/polkadot/pips/types.d.ts +0 -2
  236. package/polkadot/pips/types.d.ts.map +0 -1
  237. package/polkadot/pips/types.js +0 -5
  238. package/polkadot/pips/types.js.map +0 -1
  239. package/polkadot/polymesh/definitions.d.ts +0 -674
  240. package/polkadot/polymesh/definitions.d.ts.map +0 -1
  241. package/polkadot/polymesh/definitions.js +0 -1208
  242. package/polkadot/polymesh/definitions.js.map +0 -1
  243. package/polkadot/polymesh/index.d.ts +0 -2
  244. package/polkadot/polymesh/index.d.ts.map +0 -1
  245. package/polkadot/polymesh/index.js +0 -20
  246. package/polkadot/polymesh/index.js.map +0 -1
  247. package/polkadot/polymesh/types.d.ts +0 -755
  248. package/polkadot/polymesh/types.d.ts.map +0 -1
  249. package/polkadot/polymesh/types.js +0 -5
  250. package/polkadot/polymesh/types.js.map +0 -1
  251. package/polkadot/protocolFee/definitions.d.ts +0 -16
  252. package/polkadot/protocolFee/definitions.d.ts.map +0 -1
  253. package/polkadot/protocolFee/definitions.js +0 -25
  254. package/polkadot/protocolFee/definitions.js.map +0 -1
  255. package/polkadot/protocolFee/index.d.ts +0 -2
  256. package/polkadot/protocolFee/index.d.ts.map +0 -1
  257. package/polkadot/protocolFee/index.js +0 -20
  258. package/polkadot/protocolFee/index.js.map +0 -1
  259. package/polkadot/protocolFee/types.d.ts +0 -2
  260. package/polkadot/protocolFee/types.d.ts.map +0 -1
  261. package/polkadot/protocolFee/types.js +0 -5
  262. package/polkadot/protocolFee/types.js.map +0 -1
  263. package/polkadot/registry.d.ts +0 -365
  264. package/polkadot/registry.d.ts.map +0 -1
  265. package/polkadot/registry.js +0 -8
  266. package/polkadot/registry.js.map +0 -1
  267. package/polkadot/schema.d.ts +0 -870
  268. package/polkadot/schema.d.ts.map +0 -1
  269. package/polkadot/schema.js +0 -1586
  270. package/polkadot/schema.js.map +0 -1
  271. package/polkadot/settlement/definitions.d.ts +0 -41
  272. package/polkadot/settlement/definitions.d.ts.map +0 -1
  273. package/polkadot/settlement/definitions.js +0 -70
  274. package/polkadot/settlement/definitions.js.map +0 -1
  275. package/polkadot/settlement/index.d.ts +0 -2
  276. package/polkadot/settlement/index.d.ts.map +0 -1
  277. package/polkadot/settlement/index.js +0 -20
  278. package/polkadot/settlement/index.js.map +0 -1
  279. package/polkadot/settlement/types.d.ts +0 -2
  280. package/polkadot/settlement/types.d.ts.map +0 -1
  281. package/polkadot/settlement/types.js +0 -5
  282. package/polkadot/settlement/types.js.map +0 -1
  283. package/polkadot/staking/definitions.d.ts +0 -16
  284. package/polkadot/staking/definitions.d.ts.map +0 -1
  285. package/polkadot/staking/definitions.js +0 -20
  286. package/polkadot/staking/definitions.js.map +0 -1
  287. package/polkadot/staking/index.d.ts +0 -2
  288. package/polkadot/staking/index.d.ts.map +0 -1
  289. package/polkadot/staking/index.js +0 -20
  290. package/polkadot/staking/index.js.map +0 -1
  291. package/polkadot/staking/types.d.ts +0 -2
  292. package/polkadot/staking/types.d.ts.map +0 -1
  293. package/polkadot/staking/types.js +0 -5
  294. package/polkadot/staking/types.js.map +0 -1
  295. package/polkadot/types-lookup.d.ts +0 -5881
  296. package/polkadot/types-lookup.d.ts.map +0 -1
  297. package/polkadot/types-lookup.js +0 -8
  298. package/polkadot/types-lookup.js.map +0 -1
  299. package/polkadot/types.d.ts +0 -11
  300. package/polkadot/types.d.ts.map +0 -1
  301. package/polkadot/types.js +0 -29
  302. package/polkadot/types.js.map +0 -1
@@ -1,1208 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- /* eslint-disable @typescript-eslint/naming-convention */
4
- exports.default = {
5
- types: {
6
- AssetId: '[u8; 16]',
7
- IdentityId: '[u8; 32]',
8
- Ticker: '[u8; 12]',
9
- CddId: '[u8; 32]',
10
- PalletName: 'Text',
11
- ExtrinsicName: 'Text',
12
- AssetPermissions: {
13
- _enum: {
14
- Whole: '',
15
- These: 'Vec<AssetId>',
16
- Except: 'Vec<AssetId>',
17
- },
18
- },
19
- PortfolioPermissions: {
20
- _enum: {
21
- Whole: '',
22
- These: 'Vec<PortfolioId>',
23
- Except: 'Vec<PortfolioId>',
24
- },
25
- },
26
- ExtrinsicNames: {
27
- _enum: {
28
- Whole: '',
29
- These: 'Vec<ExtrinsicName>',
30
- Except: 'Vec<ExtrinsicName>',
31
- },
32
- },
33
- PalletPermissions: {
34
- extrinsics: 'ExtrinsicNames',
35
- },
36
- ExtrinsicPermissions: {
37
- _enum: {
38
- Whole: '',
39
- These: 'Vec<(PalletName, PalletPermissions)>',
40
- Except: 'Vec<(PalletName, PalletPermissions)>',
41
- },
42
- },
43
- Permissions: {
44
- asset: 'AssetPermissions',
45
- extrinsic: 'ExtrinsicPermissions',
46
- portfolio: 'PortfolioPermissions',
47
- },
48
- Signatory: {
49
- _enum: {
50
- Identity: 'IdentityId',
51
- Account: 'AccountId',
52
- },
53
- },
54
- SecondaryKey: {
55
- key: 'AccountId',
56
- permissions: 'Permissions',
57
- },
58
- KeyIdentityData: {
59
- identity: 'IdentityId',
60
- permissions: 'Option<Permissions>',
61
- },
62
- CountryCode: {
63
- _enum: [
64
- 'AF',
65
- 'AX',
66
- 'AL',
67
- 'DZ',
68
- 'AS',
69
- 'AD',
70
- 'AO',
71
- 'AI',
72
- 'AQ',
73
- 'AG',
74
- 'AR',
75
- 'AM',
76
- 'AW',
77
- 'AU',
78
- 'AT',
79
- 'AZ',
80
- 'BS',
81
- 'BH',
82
- 'BD',
83
- 'BB',
84
- 'BY',
85
- 'BE',
86
- 'BZ',
87
- 'BJ',
88
- 'BM',
89
- 'BT',
90
- 'BO',
91
- 'BA',
92
- 'BW',
93
- 'BV',
94
- 'BR',
95
- 'VG',
96
- 'IO',
97
- 'BN',
98
- 'BG',
99
- 'BF',
100
- 'BI',
101
- 'KH',
102
- 'CM',
103
- 'CA',
104
- 'CV',
105
- 'KY',
106
- 'CF',
107
- 'TD',
108
- 'CL',
109
- 'CN',
110
- 'HK',
111
- 'MO',
112
- 'CX',
113
- 'CC',
114
- 'CO',
115
- 'KM',
116
- 'CG',
117
- 'CD',
118
- 'CK',
119
- 'CR',
120
- 'CI',
121
- 'HR',
122
- 'CU',
123
- 'CY',
124
- 'CZ',
125
- 'DK',
126
- 'DJ',
127
- 'DM',
128
- 'DO',
129
- 'EC',
130
- 'EG',
131
- 'SV',
132
- 'GQ',
133
- 'ER',
134
- 'EE',
135
- 'ET',
136
- 'FK',
137
- 'FO',
138
- 'FJ',
139
- 'FI',
140
- 'FR',
141
- 'GF',
142
- 'PF',
143
- 'TF',
144
- 'GA',
145
- 'GM',
146
- 'GE',
147
- 'DE',
148
- 'GH',
149
- 'GI',
150
- 'GR',
151
- 'GL',
152
- 'GD',
153
- 'GP',
154
- 'GU',
155
- 'GT',
156
- 'GG',
157
- 'GN',
158
- 'GW',
159
- 'GY',
160
- 'HT',
161
- 'HM',
162
- 'VA',
163
- 'HN',
164
- 'HU',
165
- 'IS',
166
- 'IN',
167
- 'ID',
168
- 'IR',
169
- 'IQ',
170
- 'IE',
171
- 'IM',
172
- 'IL',
173
- 'IT',
174
- 'JM',
175
- 'JP',
176
- 'JE',
177
- 'JO',
178
- 'KZ',
179
- 'KE',
180
- 'KI',
181
- 'KP',
182
- 'KR',
183
- 'KW',
184
- 'KG',
185
- 'LA',
186
- 'LV',
187
- 'LB',
188
- 'LS',
189
- 'LR',
190
- 'LY',
191
- 'LI',
192
- 'LT',
193
- 'LU',
194
- 'MK',
195
- 'MG',
196
- 'MW',
197
- 'MY',
198
- 'MV',
199
- 'ML',
200
- 'MT',
201
- 'MH',
202
- 'MQ',
203
- 'MR',
204
- 'MU',
205
- 'YT',
206
- 'MX',
207
- 'FM',
208
- 'MD',
209
- 'MC',
210
- 'MN',
211
- 'ME',
212
- 'MS',
213
- 'MA',
214
- 'MZ',
215
- 'MM',
216
- 'NA',
217
- 'NR',
218
- 'NP',
219
- 'NL',
220
- 'AN',
221
- 'NC',
222
- 'NZ',
223
- 'NI',
224
- 'NE',
225
- 'NG',
226
- 'NU',
227
- 'NF',
228
- 'MP',
229
- 'NO',
230
- 'OM',
231
- 'PK',
232
- 'PW',
233
- 'PS',
234
- 'PA',
235
- 'PG',
236
- 'PY',
237
- 'PE',
238
- 'PH',
239
- 'PN',
240
- 'PL',
241
- 'PT',
242
- 'PR',
243
- 'QA',
244
- 'RE',
245
- 'RO',
246
- 'RU',
247
- 'RW',
248
- 'BL',
249
- 'SH',
250
- 'KN',
251
- 'LC',
252
- 'MF',
253
- 'PM',
254
- 'VC',
255
- 'WS',
256
- 'SM',
257
- 'ST',
258
- 'SA',
259
- 'SN',
260
- 'RS',
261
- 'SC',
262
- 'SL',
263
- 'SG',
264
- 'SK',
265
- 'SI',
266
- 'SB',
267
- 'SO',
268
- 'ZA',
269
- 'GS',
270
- 'SS',
271
- 'ES',
272
- 'LK',
273
- 'SD',
274
- 'SR',
275
- 'SJ',
276
- 'SZ',
277
- 'SE',
278
- 'CH',
279
- 'SY',
280
- 'TW',
281
- 'TJ',
282
- 'TZ',
283
- 'TH',
284
- 'TL',
285
- 'TG',
286
- 'TK',
287
- 'TO',
288
- 'TT',
289
- 'TN',
290
- 'TR',
291
- 'TM',
292
- 'TC',
293
- 'TV',
294
- 'UG',
295
- 'UA',
296
- 'AE',
297
- 'GB',
298
- 'US',
299
- 'UM',
300
- 'UY',
301
- 'UZ',
302
- 'VU',
303
- 'VE',
304
- 'VN',
305
- 'VI',
306
- 'WF',
307
- 'EH',
308
- 'YE',
309
- 'ZM',
310
- 'ZW',
311
- 'BQ',
312
- 'CW',
313
- 'SX',
314
- ],
315
- },
316
- Scope: {
317
- _enum: {
318
- Identity: 'IdentityId',
319
- Asset: 'AssetId',
320
- Custom: 'Vec<u8>',
321
- },
322
- },
323
- CustomClaimTypeId: 'u32',
324
- Claim: {
325
- _enum: {
326
- Accredited: 'Scope',
327
- Affiliate: 'Scope',
328
- BuyLockup: 'Scope',
329
- SellLockup: 'Scope',
330
- CustomerDueDiligence: 'CddId',
331
- KnowYourCustomer: 'Scope',
332
- Jurisdiction: '(CountryCode, Scope)',
333
- Exempted: 'Scope',
334
- Blocked: 'Scope',
335
- Custom: '(CustomClaimTypeId, Option<Scope>)',
336
- },
337
- },
338
- ClaimType: {
339
- _enum: {
340
- Accredited: '',
341
- Affiliate: '',
342
- BuyLockup: '',
343
- SellLockup: '',
344
- CustomerDueDiligence: '',
345
- KnowYourCustomer: '',
346
- Jurisdiction: '',
347
- Exempted: '',
348
- Blocked: '',
349
- Custom: 'CustomClaimTypeId',
350
- },
351
- },
352
- IdentityClaim: {
353
- claim_issuer: 'IdentityId',
354
- issuance_date: 'Moment',
355
- last_update_date: 'Moment',
356
- expiry: 'Option<Moment>',
357
- claim: 'Claim',
358
- },
359
- ComplianceRequirementResult: {
360
- senderConditions: 'Vec<ConditionResult>',
361
- receiverConditions: 'Vec<ConditionResult>',
362
- id: 'u32',
363
- result: 'bool',
364
- },
365
- ConditionType: {
366
- _enum: {
367
- IsPresent: 'Claim',
368
- IsAbsent: 'Claim',
369
- IsAnyOf: 'Vec<Claim>',
370
- IsNoneOf: 'Vec<Claim>',
371
- IsIdentity: 'TargetIdentity',
372
- },
373
- },
374
- TrustedFor: {
375
- _enum: {
376
- Any: '',
377
- Specific: 'Vec<ClaimType>',
378
- },
379
- },
380
- TrustedIssuer: {
381
- issuer: 'IdentityId',
382
- trustedFor: 'TrustedFor',
383
- },
384
- Condition: {
385
- conditionType: 'PolymeshPrimitivesConditionConditionType',
386
- issuers: 'Vec<PolymeshPrimitivesConditionTrustedIssuer>',
387
- },
388
- ConditionResult: {
389
- condition: 'Condition',
390
- result: 'bool',
391
- },
392
- PipId: 'u32',
393
- Authorization: {
394
- authorization_data: 'AuthorizationData',
395
- authorized_by: 'IdentityId',
396
- expiry: 'Option<Moment>',
397
- auth_id: 'u64',
398
- },
399
- AuthorizationData: {
400
- _enum: {
401
- AttestPrimaryKeyRotation: 'IdentityId',
402
- RotatePrimaryKey: '',
403
- TransferTicker: 'Ticker',
404
- AddMultiSigSigner: 'AccountId',
405
- TransferAssetOwnership: 'AssetId',
406
- JoinIdentity: 'Permissions',
407
- PortfolioCustody: 'PortfolioId',
408
- BecomeAgent: '(AssetId, AgentGroup)',
409
- AddRelayerPayingKey: '(AccountId, AccountId, Balance)',
410
- RotatePrimaryKeyToSecondary: 'Permissions',
411
- },
412
- },
413
- Percentage: 'Permill',
414
- StatClaim: {
415
- _enum: {
416
- Accredited: 'bool',
417
- Affiliate: 'bool',
418
- Jurisdiction: 'Option<CountryCode>',
419
- },
420
- },
421
- TransferCondition: {
422
- _enum: {
423
- MaxInvestorCount: 'u64',
424
- MaxInvestorOwnership: 'Percentage',
425
- ClaimCount: '(StatClaim, IdentityId, u64, Option<u64>)',
426
- ClaimOwnership: '(StatClaim, IdentityId, Percentage, Percentage)',
427
- },
428
- },
429
- AssetComplianceResult: {
430
- paused: 'bool',
431
- requirements: 'Vec<ComplianceRequirementResult>',
432
- result: 'bool',
433
- },
434
- ProtocolOp: {
435
- _enum: [
436
- 'AssetRegisterTicker',
437
- 'AssetIssue',
438
- 'AssetAddDocuments',
439
- 'AssetCreateAsset',
440
- 'CheckpointCreateSchedule',
441
- 'ComplianceManagerAddComplianceRequirement',
442
- 'IdentityCddRegisterDid',
443
- 'IdentityAddClaim',
444
- 'IdentityAddSecondaryKeysWithAuthorization',
445
- 'PipsPropose',
446
- 'ContractsPutCode',
447
- 'CorporateBallotAttachBallot',
448
- 'CapitalDistributionDistribute',
449
- 'NFTCreateCollection',
450
- 'NFTMint',
451
- 'IdentityCreateChildIdentity',
452
- ],
453
- },
454
- CddStatus: {
455
- _enum: {
456
- Ok: 'IdentityId',
457
- Err: 'Vec<u8>',
458
- },
459
- },
460
- AssetDidResult: {
461
- _enum: {
462
- Ok: 'IdentityId',
463
- Err: 'Vec<u8>',
464
- },
465
- },
466
- RpcDidRecordsSuccess: {
467
- primary_key: 'AccountId',
468
- secondary_keys: 'Vec<SecondaryKey>',
469
- },
470
- RpcDidRecords: {
471
- _enum: {
472
- Success: 'RpcDidRecordsSuccess',
473
- IdNotFound: 'Vec<u8>',
474
- },
475
- },
476
- VoteCountProposalFound: {
477
- ayes: 'u64',
478
- nays: 'u64',
479
- },
480
- VoteCount: {
481
- _enum: {
482
- ProposalFound: 'VoteCountProposalFound',
483
- ProposalNotFound: '',
484
- },
485
- },
486
- CappedFee: 'u64',
487
- AuthorizationType: {
488
- _enum: {
489
- AttestPrimaryKeyRotation: '',
490
- RotatePrimaryKey: '',
491
- TransferTicker: '',
492
- AddMultiSigSigner: '',
493
- TransferAssetOwnership: '',
494
- JoinIdentity: '',
495
- PortfolioCustody: '',
496
- BecomeAgent: '',
497
- AddRelayerPayingKey: '',
498
- RotatePrimaryKeyToSecondary: '',
499
- },
500
- },
501
- DidStatus: {
502
- _enum: {
503
- Unknown: '',
504
- Exists: '',
505
- CddVerified: '',
506
- },
507
- },
508
- PortfolioNumber: 'u64',
509
- PortfolioKind: {
510
- _enum: {
511
- Default: '',
512
- User: 'PortfolioNumber',
513
- },
514
- },
515
- PortfolioId: {
516
- did: 'IdentityId',
517
- kind: 'PortfolioKind',
518
- },
519
- Moment: 'u64',
520
- InstructionId: 'u64',
521
- TargetIdentity: {
522
- _enum: {
523
- ExternalAgent: '',
524
- Specific: 'IdentityId',
525
- },
526
- },
527
- CanTransferGranularReturn: {
528
- _enum: {
529
- Ok: 'GranularCanTransferResult',
530
- Err: 'DispatchError',
531
- },
532
- },
533
- GranularCanTransferResult: {
534
- invalid_granularity: 'bool',
535
- self_transfer: 'bool',
536
- invalid_receiver_cdd: 'bool',
537
- invalid_sender_cdd: 'bool',
538
- receiver_custodian_error: 'bool',
539
- sender_custodian_error: 'bool',
540
- sender_insufficient_balance: 'bool',
541
- portfolio_validity_result: 'PortfolioValidityResult',
542
- asset_frozen: 'bool',
543
- transfer_condition_result: 'Vec<TransferConditionResult>',
544
- compliance_result: 'AssetComplianceResult',
545
- result: 'bool',
546
- consumed_weight: 'Option<Weight>',
547
- },
548
- PortfolioValidityResult: {
549
- receiver_is_same_portfolio: 'bool',
550
- sender_portfolio_does_not_exist: 'bool',
551
- receiver_portfolio_does_not_exist: 'bool',
552
- sender_insufficient_balance: 'bool',
553
- result: 'bool',
554
- },
555
- TransferConditionResult: {
556
- condition: 'TransferCondition',
557
- result: 'bool',
558
- },
559
- AGId: 'u32',
560
- AgentGroup: {
561
- _enum: {
562
- Full: '',
563
- Custom: 'AGId',
564
- ExceptMeta: '',
565
- PolymeshV1CAA: '',
566
- PolymeshV1PIA: '',
567
- },
568
- },
569
- Member: {
570
- id: 'IdentityId',
571
- expiry_at: 'Option<Moment>',
572
- inactive_from: 'Option<Moment>',
573
- },
574
- NFTId: 'u64',
575
- NFTs: {
576
- asset_id: 'AssetId',
577
- ids: 'Vec<NFTId>',
578
- },
579
- FungibleLeg: {
580
- sender: 'PortfolioId',
581
- receiver: 'PortfolioId',
582
- asset_id: 'AssetId',
583
- amount: 'Balance',
584
- },
585
- NonFungibleLeg: {
586
- sender: 'PortfolioId',
587
- receiver: 'PortfolioId',
588
- nfts: 'NFTs',
589
- },
590
- OffChainLeg: {
591
- sender_identity: 'IdentityId',
592
- receiver_identity: 'IdentityId',
593
- asset_id: 'AssetId',
594
- amount: 'Balance',
595
- },
596
- Leg: {
597
- _enum: {
598
- Fungible: 'FungibleLeg',
599
- NonFungible: 'NonFungibleLeg',
600
- OffChain: 'OffChainLeg',
601
- },
602
- },
603
- ExecuteInstructionInfo: {
604
- fungibleTokens: 'u32',
605
- nonFungibleTokens: 'u32',
606
- offChainAssets: 'u32',
607
- consumedWeight: 'Weight',
608
- error: 'Option<String>',
609
- },
610
- AssetCount: {
611
- fungible_tokens: 'u32',
612
- non_fungible_tokens: 'u32',
613
- off_chain_assets: 'u32',
614
- },
615
- AffirmationCount: {
616
- sender_asset_count: 'AssetCount',
617
- receiver_asset_count: 'AssetCount',
618
- offchain_count: 'u32',
619
- },
620
- ComplianceReport: {
621
- anyRequirementSatisfied: 'bool',
622
- pausedCompliance: 'bool',
623
- requirements: 'Vec<RequirementReport>',
624
- },
625
- RequirementReport: {
626
- requirementSatisfied: 'bool',
627
- id: 'u32',
628
- senderConditions: 'Vec<ConditionReport>',
629
- receiverConditions: 'Vec<ConditionReport>',
630
- },
631
- ConditionReport: {
632
- satisfied: 'bool',
633
- condition: 'Condition',
634
- },
635
- },
636
- rpc: {},
637
- runtime: {
638
- AssetApi: [
639
- {
640
- methods: {
641
- transfer_report: {
642
- description: "Returns a vector containing all errors for the transfer. An empty vec means there's no error.",
643
- params: [
644
- {
645
- name: 'sender_portfolio',
646
- type: 'PortfolioId',
647
- },
648
- {
649
- name: 'receiver_portfolio',
650
- type: 'PortfolioId',
651
- },
652
- {
653
- name: 'asset_id',
654
- type: 'AssetId',
655
- },
656
- {
657
- name: 'transfer_value',
658
- type: 'Balance',
659
- },
660
- {
661
- name: 'skip_locked_check',
662
- type: 'bool',
663
- },
664
- ],
665
- type: 'Vec<DispatchError>',
666
- },
667
- },
668
- version: 4,
669
- },
670
- {
671
- methods: {
672
- can_transfer_granular: {
673
- description: 'Checks whether a transaction with given parameters can take place or not. The result is granular meaning each check is run and returned regardless of outcome.',
674
- params: [
675
- {
676
- name: 'from_custodian',
677
- type: 'Option<IdentityId>',
678
- },
679
- {
680
- name: 'from_portfolio',
681
- type: 'PortfolioId',
682
- },
683
- {
684
- name: 'to_custodian',
685
- type: 'Option<IdentityId>',
686
- },
687
- {
688
- name: 'to_portfolio',
689
- type: 'PortfolioId',
690
- },
691
- {
692
- name: 'ticker',
693
- type: 'Ticker',
694
- },
695
- {
696
- name: 'value',
697
- type: 'Balance',
698
- },
699
- ],
700
- type: 'CanTransferGranularReturn',
701
- },
702
- },
703
- version: 3,
704
- },
705
- ],
706
- ComplianceApi: [
707
- {
708
- methods: {
709
- compliance_report: {
710
- description: 'Checks all compliance requirements for the given asset_id.',
711
- params: [
712
- {
713
- name: 'asset_id',
714
- type: 'AssetId',
715
- },
716
- {
717
- name: 'sender_identity',
718
- type: 'IdentityId',
719
- },
720
- {
721
- name: 'receiver_identity',
722
- type: 'IdentityId',
723
- },
724
- ],
725
- type: 'Result<ComplianceReport, DispatchError>',
726
- },
727
- },
728
- version: 2,
729
- },
730
- {
731
- methods: {
732
- compliance_report: {
733
- description: 'Checks all compliance requirements for the given ticker.',
734
- params: [
735
- {
736
- name: 'ticker',
737
- type: 'Ticker',
738
- },
739
- {
740
- name: 'sender_identity',
741
- type: 'IdentityId',
742
- },
743
- {
744
- name: 'receiver_identity',
745
- type: 'IdentityId',
746
- },
747
- ],
748
- type: 'Result<ComplianceReport, DispatchError>',
749
- },
750
- },
751
- version: 1,
752
- },
753
- ],
754
- GroupApi: [
755
- {
756
- methods: {
757
- get_cdd_valid_members: {
758
- description: 'Get the CDD members',
759
- params: [],
760
- type: 'Vec<Member>',
761
- },
762
- get_gc_valid_members: {
763
- description: 'Get the GC members',
764
- params: [],
765
- type: 'Vec<Member>',
766
- },
767
- },
768
- version: 1,
769
- },
770
- ],
771
- IdentityApi: [
772
- {
773
- methods: {
774
- is_identity_has_valid_cdd: {
775
- description: 'use to tell whether the given did has valid cdd claim or not',
776
- params: [
777
- {
778
- name: 'did',
779
- type: 'IdentityId',
780
- },
781
- {
782
- name: 'buffer_time',
783
- type: 'Option<u64>',
784
- },
785
- ],
786
- type: 'CddStatus',
787
- },
788
- get_did_records: {
789
- description: 'Used to get the did record values for a given DID',
790
- params: [
791
- {
792
- name: 'did',
793
- type: 'IdentityId',
794
- },
795
- ],
796
- type: 'RpcDidRecords',
797
- },
798
- get_did_status: {
799
- description: 'Retrieve status of the DID',
800
- params: [
801
- {
802
- name: 'did',
803
- type: 'Vec<IdentityId>',
804
- },
805
- ],
806
- type: 'Vec<DidStatus>',
807
- },
808
- get_filtered_authorizations: {
809
- description: 'Retrieve authorizations data for a given signatory and filtered using the given authorization type',
810
- params: [
811
- {
812
- name: 'signatory',
813
- type: 'PolymeshPrimitivesSecondaryKeySignatory',
814
- },
815
- {
816
- name: 'allow_expired',
817
- type: 'bool',
818
- },
819
- {
820
- name: 'auth_type',
821
- type: 'Option<AuthorizationType>',
822
- },
823
- ],
824
- type: 'Vec<PolymeshPrimitivesAuthorization>',
825
- },
826
- get_key_identity_data: {
827
- description: 'Query relation between a signing key and a DID',
828
- params: [
829
- {
830
- name: 'acc',
831
- type: 'AccountId',
832
- },
833
- ],
834
- type: 'Option<KeyIdentityData>',
835
- },
836
- valid_cdd_claims: {
837
- description: 'Returns all valid IdentityClaim of type CustomerDueDiligence for the given target_identity',
838
- params: [
839
- {
840
- name: 'target_identity',
841
- type: 'IdentityId',
842
- },
843
- {
844
- name: 'cdd_checker_leeway',
845
- type: 'Option<u64>',
846
- },
847
- ],
848
- type: 'Vec<IdentityClaim>',
849
- },
850
- },
851
- version: 4,
852
- },
853
- {
854
- methods: {
855
- is_identity_has_valid_cdd: {
856
- description: 'use to tell whether the given did has valid cdd claim or not',
857
- params: [
858
- {
859
- name: 'did',
860
- type: 'IdentityId',
861
- },
862
- {
863
- name: 'buffer_time',
864
- type: 'Option<u64>',
865
- },
866
- ],
867
- type: 'CddStatus',
868
- },
869
- get_asset_did: {
870
- description: 'function is used to query the given ticker DID',
871
- params: [
872
- {
873
- name: 'ticker',
874
- type: 'Ticker',
875
- },
876
- ],
877
- type: 'AssetDidResult',
878
- },
879
- get_did_records: {
880
- description: 'Used to get the did record values for a given DID',
881
- params: [
882
- {
883
- name: 'did',
884
- type: 'IdentityId',
885
- },
886
- ],
887
- type: 'RpcDidRecords',
888
- },
889
- get_did_status: {
890
- description: 'Retrieve status of the DID',
891
- params: [
892
- {
893
- name: 'did',
894
- type: 'Vec<IdentityId>',
895
- },
896
- ],
897
- type: 'Vec<DidStatus>',
898
- },
899
- get_filtered_authorizations: {
900
- description: 'Retrieve authorizations data for a given signatory and filtered using the given authorization type',
901
- params: [
902
- {
903
- name: 'signatory',
904
- type: 'Signatory',
905
- },
906
- {
907
- name: 'allow_expired',
908
- type: 'bool',
909
- },
910
- {
911
- name: 'auth_type',
912
- type: 'Option<AuthorizationType>',
913
- },
914
- ],
915
- type: 'Vec<Authorization>',
916
- },
917
- get_key_identity_data: {
918
- description: 'Query relation between a signing key and a DID',
919
- params: [
920
- {
921
- name: 'acc',
922
- type: 'AccountId',
923
- },
924
- ],
925
- type: 'Option<KeyIdentityData>',
926
- },
927
- valid_cdd_claims: {
928
- description: 'Returns all valid IdentityClaim of type CustomerDueDiligence for the given target_identity',
929
- params: [
930
- {
931
- name: 'target_identity',
932
- type: 'IdentityId',
933
- },
934
- {
935
- name: 'cdd_checker_leeway',
936
- type: 'Option<u64>',
937
- },
938
- ],
939
- type: 'Vec<IdentityClaim>',
940
- },
941
- },
942
- version: 3,
943
- },
944
- ],
945
- NFTApi: [
946
- {
947
- methods: {
948
- transfer_report: {
949
- description: "Returns a vector containing all errors for the transfer. An empty vec means there's no error.",
950
- params: [
951
- {
952
- name: 'sender_portfolio',
953
- type: 'PortfolioId',
954
- },
955
- {
956
- name: 'receiver_portfolio',
957
- type: 'PortfolioId',
958
- },
959
- {
960
- name: 'nfts',
961
- type: 'NFTs',
962
- },
963
- {
964
- name: 'skip_locked_check',
965
- type: 'bool',
966
- },
967
- ],
968
- type: 'Vec<DispatchError>',
969
- },
970
- },
971
- version: 2,
972
- },
973
- {
974
- methods: {
975
- validate_nft_transfer: {
976
- description: 'Verifies if and the sender and receiver are not the same, if both have valid balances, if the sender owns the nft, and if all compliance rules are being respected.',
977
- params: [
978
- {
979
- name: 'sender_portfolio',
980
- type: 'PortfolioId',
981
- },
982
- {
983
- name: 'receiver_portfolio',
984
- type: 'PortfolioId',
985
- },
986
- {
987
- name: 'nfts',
988
- type: 'NFTs',
989
- },
990
- ],
991
- type: 'DispatchResult',
992
- },
993
- },
994
- version: 1,
995
- },
996
- ],
997
- PipsApi: [
998
- {
999
- methods: {
1000
- get_votes: {
1001
- description: 'Summary of votes of a proposal given by index',
1002
- params: [
1003
- {
1004
- name: 'index',
1005
- type: 'PipId',
1006
- },
1007
- ],
1008
- type: 'VoteCount',
1009
- },
1010
- proposed_by: {
1011
- description: 'Retrieves proposal indices started by address',
1012
- params: [
1013
- {
1014
- name: 'address',
1015
- type: 'AccountId',
1016
- },
1017
- ],
1018
- type: 'Vec<PipId>',
1019
- },
1020
- voted_on: {
1021
- description: 'Retrieves proposal address indices voted on',
1022
- params: [
1023
- {
1024
- name: 'address',
1025
- type: 'AccountId',
1026
- },
1027
- ],
1028
- type: 'Vec<PipId>',
1029
- },
1030
- },
1031
- version: 1,
1032
- },
1033
- ],
1034
- ProtocolFeeApi: [
1035
- {
1036
- methods: {
1037
- compute_fee: {
1038
- description: 'Gets the fee of a chargeable extrinsic operation',
1039
- params: [
1040
- {
1041
- name: 'op',
1042
- type: 'ProtocolOp',
1043
- },
1044
- ],
1045
- type: 'CappedFee',
1046
- },
1047
- },
1048
- version: 1,
1049
- },
1050
- ],
1051
- SettlementApi: [
1052
- {
1053
- methods: {
1054
- get_execute_instruction_info: {
1055
- description: 'Returns an ExecuteInstructionInfo instance containing the consumed weight and the number of tokens in the instruction.',
1056
- params: [
1057
- {
1058
- name: 'instruction_id',
1059
- type: 'InstructionId',
1060
- },
1061
- ],
1062
- type: 'Option<ExecuteInstructionInfo>',
1063
- },
1064
- get_affirmation_count: {
1065
- description: 'Returns an AffirmationCount instance containing the number of assets being sent/received from portfolios, and the number of off-chain assets in the instruction.',
1066
- params: [
1067
- {
1068
- name: 'instruction_id',
1069
- type: 'InstructionId',
1070
- },
1071
- {
1072
- name: 'portfolios',
1073
- type: 'Vec<PortfolioId>',
1074
- },
1075
- ],
1076
- type: 'AffirmationCount',
1077
- },
1078
- get_transfer_report: {
1079
- description: "Returns a vector containing all errors for the transfer. An empty vec means there's no error.",
1080
- params: [
1081
- {
1082
- name: 'leg',
1083
- type: 'Leg',
1084
- },
1085
- {
1086
- name: 'skip_locked_check',
1087
- type: 'bool',
1088
- },
1089
- ],
1090
- type: 'Vec<DispatchError>',
1091
- },
1092
- get_execute_instruction_report: {
1093
- description: "Returns a vector containing all errors for the execution. An empty vec means there's no error.",
1094
- params: [
1095
- {
1096
- name: 'instruction_id',
1097
- type: 'InstructionId',
1098
- },
1099
- ],
1100
- type: 'Vec<DispatchError>',
1101
- },
1102
- },
1103
- version: 2,
1104
- },
1105
- {
1106
- methods: {
1107
- get_execute_instruction_info: {
1108
- description: 'Returns an ExecuteInstructionInfo instance containing the consumed weight and the number of tokens in the instruction.',
1109
- params: [
1110
- {
1111
- name: 'instruction_id',
1112
- type: 'InstructionId',
1113
- },
1114
- ],
1115
- type: 'ExecuteInstructionInfo',
1116
- },
1117
- get_affirmation_count: {
1118
- description: 'Returns an AffirmationCount instance containing the number of assets being sent/received from portfolios, and the number of off-chain assets in the instruction.',
1119
- params: [
1120
- {
1121
- name: 'instruction_id',
1122
- type: 'InstructionId',
1123
- },
1124
- {
1125
- name: 'portfolios',
1126
- type: 'Vec<PortfolioId>',
1127
- },
1128
- ],
1129
- type: 'AffirmationCount',
1130
- },
1131
- get_transfer_report: {
1132
- description: "Returns a vector containing all errors for the transfer. An empty vec means there's no error.",
1133
- params: [
1134
- {
1135
- name: 'leg',
1136
- type: 'Leg',
1137
- },
1138
- {
1139
- name: 'skip_locked_check',
1140
- type: 'bool',
1141
- },
1142
- ],
1143
- type: 'Vec<DispatchError>',
1144
- },
1145
- get_execute_instruction_report: {
1146
- description: "Returns a vector containing all errors for the execution. An empty vec means there's no error.",
1147
- params: [
1148
- {
1149
- name: 'instruction_id',
1150
- type: 'InstructionId',
1151
- },
1152
- ],
1153
- type: 'Vec<DispatchError>',
1154
- },
1155
- },
1156
- version: 1,
1157
- },
1158
- ],
1159
- StakingApi: [
1160
- {
1161
- methods: {
1162
- get_curve: {
1163
- description: 'Retrieves curves parameters',
1164
- params: [],
1165
- type: 'Vec<(Perbill, Perbill)>',
1166
- },
1167
- },
1168
- version: 1,
1169
- },
1170
- ],
1171
- StatisticsApi: [
1172
- {
1173
- methods: {
1174
- transfer_restrictions_report: {
1175
- description: "Returns a vector containing all TransferCondition that are not being respected for the transfer. An empty vec means there's no error.",
1176
- params: [
1177
- {
1178
- name: 'asset_id',
1179
- type: 'AssetId',
1180
- },
1181
- {
1182
- name: 'sender_did',
1183
- type: 'IdentityId',
1184
- },
1185
- {
1186
- name: 'receiver_did',
1187
- type: 'IdentityId',
1188
- },
1189
- {
1190
- name: 'transfer_amount',
1191
- type: 'Balance',
1192
- },
1193
- ],
1194
- type: 'Result<Vec<TransferCondition>, DispatchError>',
1195
- },
1196
- },
1197
- version: 0,
1198
- },
1199
- ],
1200
- },
1201
- signedExtensions: {
1202
- StoreCallMetadata: {
1203
- extrinsic: {},
1204
- payload: {},
1205
- },
1206
- },
1207
- };
1208
- //# sourceMappingURL=definitions.js.map