@polymeshassociation/polymesh-types 5.15.0 → 6.1.0

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