@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,658 @@
1
+ {
2
+ "PolymeshAssetId": "[u8; 16]",
3
+ "IdentityId": "[u8; 32]",
4
+ "Ticker": "[u8; 12]",
5
+ "CddId": "[u8; 32]",
6
+ "PalletName": "Text",
7
+ "ExtrinsicName": "Text",
8
+ "AuthorizationNonce": "u64",
9
+ "TargetIdAuthorization": {
10
+ "targetId": "IdentityId",
11
+ "nonce": "AuthorizationNonce",
12
+ "expiresAt": "PolymeshMoment"
13
+ },
14
+ "Receipt": {
15
+ "uid": "u64",
16
+ "instructionId": "InstructionId",
17
+ "legId": "LegId",
18
+ "senderIdentity": "IdentityId",
19
+ "receiverIdentity": "IdentityId",
20
+ "ticker": "Ticker",
21
+ "amount": "Balance"
22
+ },
23
+ "FundraiserId": "u64",
24
+ "FundraiserReceipt": {
25
+ "uid": "u64",
26
+ "fundraiserId": "FundraiserId",
27
+ "legId": "LegId",
28
+ "senderIdentity": "IdentityId",
29
+ "receiverIdentity": "IdentityId",
30
+ "ticker": "Ticker",
31
+ "amount": "Balance"
32
+ },
33
+ "AssetPermissions": {
34
+ "_enum": {
35
+ "Whole": "",
36
+ "These": "BTreeSet<PolymeshAssetId>",
37
+ "Except": "BTreeSet<PolymeshAssetId>"
38
+ }
39
+ },
40
+ "PortfolioPermissions": {
41
+ "_enum": {
42
+ "Whole": "",
43
+ "These": "BTreeSet<PortfolioId>",
44
+ "Except": "BTreeSet<PortfolioId>"
45
+ }
46
+ },
47
+ "ExtrinsicNames": {
48
+ "_enum": {
49
+ "Whole": "",
50
+ "These": "BTreeSet<ExtrinsicName>",
51
+ "Except": "BTreeSet<ExtrinsicName>"
52
+ }
53
+ },
54
+ "PalletPermissions": {
55
+ "extrinsics": "ExtrinsicNames"
56
+ },
57
+ "ExtrinsicPermissions": {
58
+ "_enum": {
59
+ "Whole": "",
60
+ "These": "BTreeMap<PalletName, PalletPermissions>",
61
+ "Except": "BTreeMap<PalletName, PalletPermissions>"
62
+ }
63
+ },
64
+ "Permissions": {
65
+ "asset": "AssetPermissions",
66
+ "extrinsic": "ExtrinsicPermissions",
67
+ "portfolio": "PortfolioPermissions"
68
+ },
69
+ "Signatory": {
70
+ "_enum": {
71
+ "Identity": "IdentityId",
72
+ "Account": "AccountId"
73
+ }
74
+ },
75
+ "SecondaryKey": {
76
+ "key": "AccountId",
77
+ "permissions": "Permissions"
78
+ },
79
+ "KeyIdentityData": {
80
+ "identity": "IdentityId",
81
+ "permissions": "Option<Permissions>"
82
+ },
83
+ "CountryCode": {
84
+ "_enum": [
85
+ "AF",
86
+ "AX",
87
+ "AL",
88
+ "DZ",
89
+ "AS",
90
+ "AD",
91
+ "AO",
92
+ "AI",
93
+ "AQ",
94
+ "AG",
95
+ "AR",
96
+ "AM",
97
+ "AW",
98
+ "AU",
99
+ "AT",
100
+ "AZ",
101
+ "BS",
102
+ "BH",
103
+ "BD",
104
+ "BB",
105
+ "BY",
106
+ "BE",
107
+ "BZ",
108
+ "BJ",
109
+ "BM",
110
+ "BT",
111
+ "BO",
112
+ "BA",
113
+ "BW",
114
+ "BV",
115
+ "BR",
116
+ "VG",
117
+ "IO",
118
+ "BN",
119
+ "BG",
120
+ "BF",
121
+ "BI",
122
+ "KH",
123
+ "CM",
124
+ "CA",
125
+ "CV",
126
+ "KY",
127
+ "CF",
128
+ "TD",
129
+ "CL",
130
+ "CN",
131
+ "HK",
132
+ "MO",
133
+ "CX",
134
+ "CC",
135
+ "CO",
136
+ "KM",
137
+ "CG",
138
+ "CD",
139
+ "CK",
140
+ "CR",
141
+ "CI",
142
+ "HR",
143
+ "CU",
144
+ "CY",
145
+ "CZ",
146
+ "DK",
147
+ "DJ",
148
+ "DM",
149
+ "DO",
150
+ "EC",
151
+ "EG",
152
+ "SV",
153
+ "GQ",
154
+ "ER",
155
+ "EE",
156
+ "ET",
157
+ "FK",
158
+ "FO",
159
+ "FJ",
160
+ "FI",
161
+ "FR",
162
+ "GF",
163
+ "PF",
164
+ "TF",
165
+ "GA",
166
+ "GM",
167
+ "GE",
168
+ "DE",
169
+ "GH",
170
+ "GI",
171
+ "GR",
172
+ "GL",
173
+ "GD",
174
+ "GP",
175
+ "GU",
176
+ "GT",
177
+ "GG",
178
+ "GN",
179
+ "GW",
180
+ "GY",
181
+ "HT",
182
+ "HM",
183
+ "VA",
184
+ "HN",
185
+ "HU",
186
+ "IS",
187
+ "IN",
188
+ "ID",
189
+ "IR",
190
+ "IQ",
191
+ "IE",
192
+ "IM",
193
+ "IL",
194
+ "IT",
195
+ "JM",
196
+ "JP",
197
+ "JE",
198
+ "JO",
199
+ "KZ",
200
+ "KE",
201
+ "KI",
202
+ "KP",
203
+ "KR",
204
+ "KW",
205
+ "KG",
206
+ "LA",
207
+ "LV",
208
+ "LB",
209
+ "LS",
210
+ "LR",
211
+ "LY",
212
+ "LI",
213
+ "LT",
214
+ "LU",
215
+ "MK",
216
+ "MG",
217
+ "MW",
218
+ "MY",
219
+ "MV",
220
+ "ML",
221
+ "MT",
222
+ "MH",
223
+ "MQ",
224
+ "MR",
225
+ "MU",
226
+ "YT",
227
+ "MX",
228
+ "FM",
229
+ "MD",
230
+ "MC",
231
+ "MN",
232
+ "ME",
233
+ "MS",
234
+ "MA",
235
+ "MZ",
236
+ "MM",
237
+ "NA",
238
+ "NR",
239
+ "NP",
240
+ "NL",
241
+ "AN",
242
+ "NC",
243
+ "NZ",
244
+ "NI",
245
+ "NE",
246
+ "NG",
247
+ "NU",
248
+ "NF",
249
+ "MP",
250
+ "NO",
251
+ "OM",
252
+ "PK",
253
+ "PW",
254
+ "PS",
255
+ "PA",
256
+ "PG",
257
+ "PY",
258
+ "PE",
259
+ "PH",
260
+ "PN",
261
+ "PL",
262
+ "PT",
263
+ "PR",
264
+ "QA",
265
+ "RE",
266
+ "RO",
267
+ "RU",
268
+ "RW",
269
+ "BL",
270
+ "SH",
271
+ "KN",
272
+ "LC",
273
+ "MF",
274
+ "PM",
275
+ "VC",
276
+ "WS",
277
+ "SM",
278
+ "ST",
279
+ "SA",
280
+ "SN",
281
+ "RS",
282
+ "SC",
283
+ "SL",
284
+ "SG",
285
+ "SK",
286
+ "SI",
287
+ "SB",
288
+ "SO",
289
+ "ZA",
290
+ "GS",
291
+ "SS",
292
+ "ES",
293
+ "LK",
294
+ "SD",
295
+ "SR",
296
+ "SJ",
297
+ "SZ",
298
+ "SE",
299
+ "CH",
300
+ "SY",
301
+ "TW",
302
+ "TJ",
303
+ "TZ",
304
+ "TH",
305
+ "TL",
306
+ "TG",
307
+ "TK",
308
+ "TO",
309
+ "TT",
310
+ "TN",
311
+ "TR",
312
+ "TM",
313
+ "TC",
314
+ "TV",
315
+ "UG",
316
+ "UA",
317
+ "AE",
318
+ "GB",
319
+ "US",
320
+ "UM",
321
+ "UY",
322
+ "UZ",
323
+ "VU",
324
+ "VE",
325
+ "VN",
326
+ "VI",
327
+ "WF",
328
+ "EH",
329
+ "YE",
330
+ "ZM",
331
+ "ZW",
332
+ "BQ",
333
+ "CW",
334
+ "SX"
335
+ ]
336
+ },
337
+ "Scope": {
338
+ "_enum": {
339
+ "Identity": "IdentityId",
340
+ "Asset": "PolymeshAssetId",
341
+ "Custom": "Vec<u8>"
342
+ }
343
+ },
344
+ "CustomClaimTypeId": "u32",
345
+ "Claim": {
346
+ "_enum": {
347
+ "Accredited": "Scope",
348
+ "Affiliate": "Scope",
349
+ "BuyLockup": "Scope",
350
+ "SellLockup": "Scope",
351
+ "CustomerDueDiligence": "CddId",
352
+ "KnowYourCustomer": "Scope",
353
+ "Jurisdiction": "(CountryCode, Scope)",
354
+ "Exempted": "Scope",
355
+ "Blocked": "Scope",
356
+ "Custom": "(CustomClaimTypeId, Option<Scope>)"
357
+ }
358
+ },
359
+ "ClaimType": {
360
+ "_enum": {
361
+ "Accredited": "",
362
+ "Affiliate": "",
363
+ "BuyLockup": "",
364
+ "SellLockup": "",
365
+ "CustomerDueDiligence": "",
366
+ "KnowYourCustomer": "",
367
+ "Jurisdiction": "",
368
+ "Exempted": "",
369
+ "Blocked": "",
370
+ "Custom": "CustomClaimTypeId"
371
+ }
372
+ },
373
+ "IdentityClaim": {
374
+ "claimIssuer": "IdentityId",
375
+ "issuanceDate": "PolymeshMoment",
376
+ "lastUpdateDate": "PolymeshMoment",
377
+ "expiry": "Option<PolymeshMoment>",
378
+ "claim": "Claim"
379
+ },
380
+ "ComplianceRequirementResult": {
381
+ "senderConditions": "Vec<ConditionResult>",
382
+ "receiverConditions": "Vec<ConditionResult>",
383
+ "id": "u32",
384
+ "result": "bool"
385
+ },
386
+ "ConditionType": {
387
+ "_enum": {
388
+ "IsPresent": "Claim",
389
+ "IsAbsent": "Claim",
390
+ "IsAnyOf": "Vec<Claim>",
391
+ "IsNoneOf": "Vec<Claim>",
392
+ "IsIdentity": "TargetIdentity"
393
+ }
394
+ },
395
+ "TrustedFor": {
396
+ "_enum": {
397
+ "Any": "",
398
+ "Specific": "Vec<ClaimType>"
399
+ }
400
+ },
401
+ "TrustedIssuer": {
402
+ "issuer": "IdentityId",
403
+ "trustedFor": "TrustedFor"
404
+ },
405
+ "Condition": {
406
+ "conditionType": "ConditionType",
407
+ "issuers": "Vec<TrustedIssuer>"
408
+ },
409
+ "ConditionResult": {
410
+ "condition": "Condition",
411
+ "result": "bool"
412
+ },
413
+ "PipId": "u32",
414
+ "Authorization": {
415
+ "authorizationData": "AuthorizationData",
416
+ "authorizedBy": "IdentityId",
417
+ "expiry": "Option<PolymeshMoment>",
418
+ "authId": "u64",
419
+ "count": "u32"
420
+ },
421
+ "AuthorizationData": {
422
+ "_enum": {
423
+ "AttestPrimaryKeyRotation": "IdentityId",
424
+ "RotatePrimaryKey": "",
425
+ "TransferTicker": "Ticker",
426
+ "AddMultiSigSigner": "AccountId",
427
+ "TransferAssetOwnership": "PolymeshAssetId",
428
+ "JoinIdentity": "Permissions",
429
+ "PortfolioCustody": "PortfolioId",
430
+ "BecomeAgent": "(PolymeshAssetId, AgentGroup)",
431
+ "AddRelayerPayingKey": "(AccountId32, AccountId32, u128)",
432
+ "RotatePrimaryKeyToSecondary": "Permissions"
433
+ }
434
+ },
435
+ "Percentage": "Permill",
436
+ "StatClaim": {
437
+ "_enum": {
438
+ "Accredited": "bool",
439
+ "Affiliate": "bool",
440
+ "Jurisdiction": "Option<CountryCode>"
441
+ }
442
+ },
443
+ "TransferCondition": {
444
+ "_enum": {
445
+ "MaxInvestorCount": "u64",
446
+ "MaxInvestorOwnership": "Percentage",
447
+ "ClaimCount": "(StatClaim, IdentityId, u64, Option<u64>)",
448
+ "ClaimOwnership": "(StatClaim, IdentityId, Percentage, Percentage)"
449
+ }
450
+ },
451
+ "AssetComplianceResult": {
452
+ "paused": "bool",
453
+ "requirements": "Vec<ComplianceRequirementResult>",
454
+ "result": "bool"
455
+ },
456
+ "ProtocolOp": {
457
+ "_enum": [
458
+ "AssetRegisterTicker",
459
+ "AssetIssue",
460
+ "AssetAddDocuments",
461
+ "AssetCreateAsset",
462
+ "CheckpointCreateSchedule",
463
+ "ComplianceManagerAddComplianceRequirement",
464
+ "IdentityCddRegisterDid",
465
+ "IdentityAddClaim",
466
+ "IdentityAddSecondaryKeysWithAuthorization",
467
+ "PipsPropose",
468
+ "ContractsPutCode",
469
+ "CorporateBallotAttachBallot",
470
+ "CapitalDistributionDistribute",
471
+ "NFTCreateCollection",
472
+ "NFTMint",
473
+ "IdentityCreateChildIdentity"
474
+ ]
475
+ },
476
+ "CddStatus": {
477
+ "_enum": {
478
+ "Ok": "IdentityId",
479
+ "Err": "Vec<u8>"
480
+ }
481
+ },
482
+ "AssetDidResult": {
483
+ "_enum": {
484
+ "Ok": "IdentityId",
485
+ "Err": "Vec<u8>"
486
+ }
487
+ },
488
+ "RpcDidRecordsSuccess": {
489
+ "primaryKey": "AccountId",
490
+ "secondaryKeys": "Vec<SecondaryKey>"
491
+ },
492
+ "RpcDidRecords": {
493
+ "_enum": {
494
+ "Success": "RpcDidRecordsSuccess",
495
+ "IdNotFound": "Vec<u8>"
496
+ }
497
+ },
498
+ "VoteCountProposalFound": {
499
+ "ayes": "u64",
500
+ "nays": "u64"
501
+ },
502
+ "VoteCount": {
503
+ "_enum": {
504
+ "ProposalFound": "VoteCountProposalFound",
505
+ "ProposalNotFound": ""
506
+ }
507
+ },
508
+ "CappedFee": "u64",
509
+ "AuthorizationType": {
510
+ "_enum": {
511
+ "AttestPrimaryKeyRotation": "",
512
+ "RotatePrimaryKey": "",
513
+ "TransferTicker": "",
514
+ "AddMultiSigSigner": "",
515
+ "TransferAssetOwnership": "",
516
+ "JoinIdentity": "",
517
+ "PortfolioCustody": "",
518
+ "BecomeAgent": "",
519
+ "AddRelayerPayingKey": "",
520
+ "RotatePrimaryKeyToSecondary": ""
521
+ }
522
+ },
523
+ "DidStatus": {
524
+ "_enum": {
525
+ "Unknown": "",
526
+ "Exists": "",
527
+ "CddVerified": ""
528
+ }
529
+ },
530
+ "PortfolioNumber": "u64",
531
+ "PortfolioKind": {
532
+ "_enum": {
533
+ "Default": "",
534
+ "User": "PortfolioNumber"
535
+ }
536
+ },
537
+ "PortfolioId": {
538
+ "did": "IdentityId",
539
+ "kind": "PortfolioKind"
540
+ },
541
+ "PolymeshMoment": "u64",
542
+ "InstructionId": "u64",
543
+ "LegId": "u64",
544
+ "TargetIdentity": {
545
+ "_enum": {
546
+ "ExternalAgent": "",
547
+ "Specific": "IdentityId"
548
+ }
549
+ },
550
+ "CanTransferGranularReturn": {
551
+ "_enum": {
552
+ "Ok": "GranularCanTransferResult",
553
+ "Err": "DispatchError"
554
+ }
555
+ },
556
+ "GranularCanTransferResult": {
557
+ "invalidGranularity": "bool",
558
+ "selfTransfer": "bool",
559
+ "invalidReceiverCdd": "bool",
560
+ "invalidSenderCdd": "bool",
561
+ "receiverCustodianError": "bool",
562
+ "senderCustodianError": "bool",
563
+ "senderInsufficientBalance": "bool",
564
+ "portfolioValidityResult": "PortfolioValidityResult",
565
+ "assetFrozen": "bool",
566
+ "transferConditionResult": "Vec<TransferConditionResult>",
567
+ "complianceResult": "AssetComplianceResult",
568
+ "result": "bool",
569
+ "consumedWeight": "Option<Weight>"
570
+ },
571
+ "PortfolioValidityResult": {
572
+ "receiverIsSamePortfolio": "bool",
573
+ "senderPortfolioDoesNotExist": "bool",
574
+ "receiverPortfolioDoesNotExist": "bool",
575
+ "senderInsufficientBalance": "bool",
576
+ "result": "bool"
577
+ },
578
+ "TransferConditionResult": {
579
+ "condition": "TransferCondition",
580
+ "result": "bool"
581
+ },
582
+ "AGId": "u32",
583
+ "AgentGroup": {
584
+ "_enum": {
585
+ "Full": "",
586
+ "Custom": "AGId",
587
+ "ExceptMeta": "",
588
+ "PolymeshV1CAA": "",
589
+ "PolymeshV1PIA": ""
590
+ }
591
+ },
592
+ "Member": {
593
+ "id": "IdentityId",
594
+ "expiryAt": "Option<PolymeshMoment>",
595
+ "inactiveFrom": "Option<PolymeshMoment>"
596
+ },
597
+ "NFTId": "u64",
598
+ "NFTs": {
599
+ "assetId": "PolymeshAssetId",
600
+ "ids": "Vec<NFTId>"
601
+ },
602
+ "FungibleLeg": {
603
+ "sender": "PortfolioId",
604
+ "receiver": "PortfolioId",
605
+ "assetId": "PolymeshAssetId",
606
+ "amount": "Balance"
607
+ },
608
+ "NonFungibleLeg": {
609
+ "sender": "PortfolioId",
610
+ "receiver": "PortfolioId",
611
+ "nfts": "NFTs"
612
+ },
613
+ "OffChainLeg": {
614
+ "senderIdentity": "IdentityId",
615
+ "receiverIdentity": "IdentityId",
616
+ "ticker": "Ticker",
617
+ "amount": "Balance"
618
+ },
619
+ "Leg": {
620
+ "_enum": {
621
+ "Fungible": "FungibleLeg",
622
+ "NonFungible": "NonFungibleLeg",
623
+ "OffChain": "OffChainLeg"
624
+ }
625
+ },
626
+ "ExecuteInstructionInfo": {
627
+ "fungibleTokens": "u32",
628
+ "nonFungibleTokens": "u32",
629
+ "offChainAssets": "u32",
630
+ "consumedWeight": "Weight",
631
+ "error": "Option<String>"
632
+ },
633
+ "AssetCount": {
634
+ "fungibleTokens": "u32",
635
+ "nonFungibleTokens": "u32",
636
+ "offChainAssets": "u32"
637
+ },
638
+ "AffirmationCount": {
639
+ "senderAssetCount": "AssetCount",
640
+ "receiverAssetCount": "AssetCount",
641
+ "offchainCount": "u32"
642
+ },
643
+ "ComplianceReport": {
644
+ "anyRequirementSatisfied": "bool",
645
+ "pausedCompliance": "bool",
646
+ "requirements": "Vec<RequirementReport>"
647
+ },
648
+ "RequirementReport": {
649
+ "requirementSatisfied": "bool",
650
+ "id": "u32",
651
+ "senderConditions": "Vec<ConditionReport>",
652
+ "receiverConditions": "Vec<ConditionReport>"
653
+ },
654
+ "ConditionReport": {
655
+ "satisfied": "bool",
656
+ "condition": "Condition"
657
+ }
658
+ }