@polymeshassociation/polymesh-types 5.2.0 → 5.3.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.
- package/CHANGELOG.md +11 -0
- package/index.d.ts +6 -13
- package/index.d.ts.map +1 -0
- package/index.js +24 -2
- package/index.js.map +1 -0
- package/package.json +53 -7
- package/rpc/index.d.ts +162 -0
- package/rpc/index.d.ts.map +1 -0
- package/rpc/index.js +340 -0
- package/rpc/index.js.map +1 -0
- package/signedExtensions/index.d.ts +8 -0
- package/signedExtensions/index.d.ts.map +1 -0
- package/signedExtensions/index.js +9 -0
- package/signedExtensions/index.js.map +1 -0
- package/types/2.0.0.json +5 -0
- package/types/4.0.0.json +845 -0
- package/types/4.1.x.json +851 -0
- package/types/5.0.x.json +906 -0
- package/types/5.1.x.json +1177 -0
- package/types/5.2.x.json +1182 -0
- package/types/5.3.x.json +1221 -0
- package/types/index.d.ts +10 -0
- package/types/index.d.ts.map +1 -0
- package/types/index.js +51 -0
- package/types/index.js.map +1 -0
- package/.github/workflows/main.yml +0 -21
- package/LICENSE +0 -201
- package/README.md +0 -16
- package/build/index.js +0 -1
- package/polymesh_schema.json +0 -1534
- package/webpack.config.js +0 -11
package/polymesh_schema.json
DELETED
|
@@ -1,1534 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"types": {
|
|
3
|
-
"Address": "MultiAddress",
|
|
4
|
-
"LookupSource": "MultiAddress",
|
|
5
|
-
"AccountInfo": "AccountInfoWithDualRefCount",
|
|
6
|
-
"IdentityId": "[u8; 32]",
|
|
7
|
-
"EventDid": "IdentityId",
|
|
8
|
-
"EventCounts": "Vec<u32>",
|
|
9
|
-
"ErrorAt": "(u32, DispatchError)",
|
|
10
|
-
"InvestorUid": "[u8; 16]",
|
|
11
|
-
"Ticker": "[u8; 12]",
|
|
12
|
-
"CddId": "[u8; 32]",
|
|
13
|
-
"ScopeId": "[u8; 32]",
|
|
14
|
-
"PosRatio": "(u32, u32)",
|
|
15
|
-
"DocumentId": "u32",
|
|
16
|
-
"DocumentName": "Text",
|
|
17
|
-
"DocumentUri": "Text",
|
|
18
|
-
"DocumentHash": {
|
|
19
|
-
"_enum": {
|
|
20
|
-
"None": "",
|
|
21
|
-
"H512": "[u8; 64]",
|
|
22
|
-
"H384": "[u8; 48]",
|
|
23
|
-
"H320": "[u8; 40]",
|
|
24
|
-
"H256": "[u8; 32]",
|
|
25
|
-
"H224": "[u8; 28]",
|
|
26
|
-
"H192": "[u8; 24]",
|
|
27
|
-
"H160": "[u8; 20]",
|
|
28
|
-
"H128": "[u8; 16]"
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
"DocumentType": "Text",
|
|
32
|
-
"Document": {
|
|
33
|
-
"uri": "DocumentUri",
|
|
34
|
-
"content_hash": "DocumentHash",
|
|
35
|
-
"name": "DocumentName",
|
|
36
|
-
"doc_type": "Option<DocumentType>",
|
|
37
|
-
"filing_date": "Option<Moment>"
|
|
38
|
-
},
|
|
39
|
-
"Version": "u8",
|
|
40
|
-
"CustomAssetTypeId": "u32",
|
|
41
|
-
"AssetType": {
|
|
42
|
-
"_enum": {
|
|
43
|
-
"EquityCommon": "",
|
|
44
|
-
"EquityPreferred": "",
|
|
45
|
-
"Commodity": "",
|
|
46
|
-
"FixedIncome": "",
|
|
47
|
-
"REIT": "",
|
|
48
|
-
"Fund": "",
|
|
49
|
-
"RevenueShareAgreement": "",
|
|
50
|
-
"StructuredProduct": "",
|
|
51
|
-
"Derivative": "",
|
|
52
|
-
"Custom": "CustomAssetTypeId",
|
|
53
|
-
"StableCoin": ""
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
"AssetIdentifier": {
|
|
57
|
-
"_enum": {
|
|
58
|
-
"CUSIP": "[u8; 9]",
|
|
59
|
-
"CINS": "[u8; 9]",
|
|
60
|
-
"ISIN": "[u8; 12]",
|
|
61
|
-
"LEI": "[u8; 20]",
|
|
62
|
-
"FIGI": "[u8; 12]"
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
"AssetOwnershipRelation": {
|
|
66
|
-
"_enum": {
|
|
67
|
-
"NotOwned": "",
|
|
68
|
-
"TickerOwned": "",
|
|
69
|
-
"AssetOwned": ""
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
"AssetName": "Text",
|
|
73
|
-
"FundingRoundName": "Text",
|
|
74
|
-
"VenueDetails": "Text",
|
|
75
|
-
"SecurityToken": {
|
|
76
|
-
"total_supply": "Balance",
|
|
77
|
-
"owner_did": "IdentityId",
|
|
78
|
-
"divisible": "bool",
|
|
79
|
-
"asset_type": "AssetType"
|
|
80
|
-
},
|
|
81
|
-
"AssetMetadataName": "Text",
|
|
82
|
-
"AssetMetadataValue": "Vec<u8>",
|
|
83
|
-
"AssetMetadataLocalKey": "u64",
|
|
84
|
-
"AssetMetadataGlobalKey": "u64",
|
|
85
|
-
"AssetMetadataKey": {
|
|
86
|
-
"_enum": {
|
|
87
|
-
"Global": "u64",
|
|
88
|
-
"Local": "u64"
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
"AssetMetadataLockStatus": {
|
|
92
|
-
"_enum": {
|
|
93
|
-
"Unlocked": "",
|
|
94
|
-
"Locked": "",
|
|
95
|
-
"LockedUntil": "Moment"
|
|
96
|
-
}
|
|
97
|
-
},
|
|
98
|
-
"AssetMetadataValueDetail": {
|
|
99
|
-
"expire": "Option<Moment>",
|
|
100
|
-
"lock_status": "AssetMetadataLockStatus"
|
|
101
|
-
},
|
|
102
|
-
"AssetMetadataDescription": "Text",
|
|
103
|
-
"AssetMetadataSpec": {
|
|
104
|
-
"url": "Option<Url>",
|
|
105
|
-
"description": "Option<AssetMetadataDescription>",
|
|
106
|
-
"type_def": "Option<Vec<u8>>"
|
|
107
|
-
},
|
|
108
|
-
"PalletName": "Text",
|
|
109
|
-
"DispatchableName": "Text",
|
|
110
|
-
"AssetPermissions": {
|
|
111
|
-
"_enum": {
|
|
112
|
-
"Whole": "",
|
|
113
|
-
"These": "Vec<Ticker>",
|
|
114
|
-
"Except": "Vec<Ticker>"
|
|
115
|
-
}
|
|
116
|
-
},
|
|
117
|
-
"PortfolioPermissions": {
|
|
118
|
-
"_enum": {
|
|
119
|
-
"Whole": "",
|
|
120
|
-
"These": "Vec<PortfolioId>",
|
|
121
|
-
"Except": "Vec<PortfolioId>"
|
|
122
|
-
}
|
|
123
|
-
},
|
|
124
|
-
"DispatchableNames": {
|
|
125
|
-
"_enum": {
|
|
126
|
-
"Whole": "",
|
|
127
|
-
"These": "Vec<DispatchableName>",
|
|
128
|
-
"Except": "Vec<DispatchableName>"
|
|
129
|
-
}
|
|
130
|
-
},
|
|
131
|
-
"PalletPermissions": {
|
|
132
|
-
"pallet_name": "PalletName",
|
|
133
|
-
"dispatchable_names": "DispatchableNames"
|
|
134
|
-
},
|
|
135
|
-
"ExtrinsicPermissions": {
|
|
136
|
-
"_enum": {
|
|
137
|
-
"Whole": "",
|
|
138
|
-
"These": "Vec<PalletPermissions>",
|
|
139
|
-
"Except": "Vec<PalletPermissions>"
|
|
140
|
-
}
|
|
141
|
-
},
|
|
142
|
-
"Permissions": {
|
|
143
|
-
"asset": "AssetPermissions",
|
|
144
|
-
"extrinsic": "ExtrinsicPermissions",
|
|
145
|
-
"portfolio": "PortfolioPermissions"
|
|
146
|
-
},
|
|
147
|
-
"Signatory": {
|
|
148
|
-
"_enum": {
|
|
149
|
-
"Identity": "IdentityId",
|
|
150
|
-
"Account": "AccountId"
|
|
151
|
-
}
|
|
152
|
-
},
|
|
153
|
-
"SecondaryKey": {
|
|
154
|
-
"key": "AccountId",
|
|
155
|
-
"permissions": "Permissions"
|
|
156
|
-
},
|
|
157
|
-
"SecondaryKeyWithAuth": {
|
|
158
|
-
"secondary_key": "SecondaryKey",
|
|
159
|
-
"auth_signature": "H512"
|
|
160
|
-
},
|
|
161
|
-
"Subsidy": {
|
|
162
|
-
"paying_key": "AccountId",
|
|
163
|
-
"remaining": "Balance"
|
|
164
|
-
},
|
|
165
|
-
"IdentityRole": {
|
|
166
|
-
"_enum": [
|
|
167
|
-
"Issuer",
|
|
168
|
-
"SimpleTokenIssuer",
|
|
169
|
-
"Validator",
|
|
170
|
-
"ClaimIssuer",
|
|
171
|
-
"Investor",
|
|
172
|
-
"NodeRunner",
|
|
173
|
-
"PM",
|
|
174
|
-
"CDDAMLClaimIssuer",
|
|
175
|
-
"AccreditedInvestorClaimIssuer",
|
|
176
|
-
"VerifiedIdentityClaimIssuer"
|
|
177
|
-
]
|
|
178
|
-
},
|
|
179
|
-
"PreAuthorizedKeyInfo": {
|
|
180
|
-
"target_id": "IdentityId",
|
|
181
|
-
"secondary_key": "SecondaryKey"
|
|
182
|
-
},
|
|
183
|
-
"DidRecord": {
|
|
184
|
-
"primary_key": "Option<AccountId>"
|
|
185
|
-
},
|
|
186
|
-
"KeyRecord": {
|
|
187
|
-
"_enum": {
|
|
188
|
-
"PrimaryKey": "IdentityId",
|
|
189
|
-
"SecondaryKey": "(IdentityId, Permissions)",
|
|
190
|
-
"MultiSigSignerKey": "AccountId"
|
|
191
|
-
}
|
|
192
|
-
},
|
|
193
|
-
"KeyIdentityData": {
|
|
194
|
-
"identity": "IdentityId",
|
|
195
|
-
"permissions": "Option<Permissions>"
|
|
196
|
-
},
|
|
197
|
-
"CountryCode": {
|
|
198
|
-
"_enum": [
|
|
199
|
-
"AF",
|
|
200
|
-
"AX",
|
|
201
|
-
"AL",
|
|
202
|
-
"DZ",
|
|
203
|
-
"AS",
|
|
204
|
-
"AD",
|
|
205
|
-
"AO",
|
|
206
|
-
"AI",
|
|
207
|
-
"AQ",
|
|
208
|
-
"AG",
|
|
209
|
-
"AR",
|
|
210
|
-
"AM",
|
|
211
|
-
"AW",
|
|
212
|
-
"AU",
|
|
213
|
-
"AT",
|
|
214
|
-
"AZ",
|
|
215
|
-
"BS",
|
|
216
|
-
"BH",
|
|
217
|
-
"BD",
|
|
218
|
-
"BB",
|
|
219
|
-
"BY",
|
|
220
|
-
"BE",
|
|
221
|
-
"BZ",
|
|
222
|
-
"BJ",
|
|
223
|
-
"BM",
|
|
224
|
-
"BT",
|
|
225
|
-
"BO",
|
|
226
|
-
"BA",
|
|
227
|
-
"BW",
|
|
228
|
-
"BV",
|
|
229
|
-
"BR",
|
|
230
|
-
"VG",
|
|
231
|
-
"IO",
|
|
232
|
-
"BN",
|
|
233
|
-
"BG",
|
|
234
|
-
"BF",
|
|
235
|
-
"BI",
|
|
236
|
-
"KH",
|
|
237
|
-
"CM",
|
|
238
|
-
"CA",
|
|
239
|
-
"CV",
|
|
240
|
-
"KY",
|
|
241
|
-
"CF",
|
|
242
|
-
"TD",
|
|
243
|
-
"CL",
|
|
244
|
-
"CN",
|
|
245
|
-
"HK",
|
|
246
|
-
"MO",
|
|
247
|
-
"CX",
|
|
248
|
-
"CC",
|
|
249
|
-
"CO",
|
|
250
|
-
"KM",
|
|
251
|
-
"CG",
|
|
252
|
-
"CD",
|
|
253
|
-
"CK",
|
|
254
|
-
"CR",
|
|
255
|
-
"CI",
|
|
256
|
-
"HR",
|
|
257
|
-
"CU",
|
|
258
|
-
"CY",
|
|
259
|
-
"CZ",
|
|
260
|
-
"DK",
|
|
261
|
-
"DJ",
|
|
262
|
-
"DM",
|
|
263
|
-
"DO",
|
|
264
|
-
"EC",
|
|
265
|
-
"EG",
|
|
266
|
-
"SV",
|
|
267
|
-
"GQ",
|
|
268
|
-
"ER",
|
|
269
|
-
"EE",
|
|
270
|
-
"ET",
|
|
271
|
-
"FK",
|
|
272
|
-
"FO",
|
|
273
|
-
"FJ",
|
|
274
|
-
"FI",
|
|
275
|
-
"FR",
|
|
276
|
-
"GF",
|
|
277
|
-
"PF",
|
|
278
|
-
"TF",
|
|
279
|
-
"GA",
|
|
280
|
-
"GM",
|
|
281
|
-
"GE",
|
|
282
|
-
"DE",
|
|
283
|
-
"GH",
|
|
284
|
-
"GI",
|
|
285
|
-
"GR",
|
|
286
|
-
"GL",
|
|
287
|
-
"GD",
|
|
288
|
-
"GP",
|
|
289
|
-
"GU",
|
|
290
|
-
"GT",
|
|
291
|
-
"GG",
|
|
292
|
-
"GN",
|
|
293
|
-
"GW",
|
|
294
|
-
"GY",
|
|
295
|
-
"HT",
|
|
296
|
-
"HM",
|
|
297
|
-
"VA",
|
|
298
|
-
"HN",
|
|
299
|
-
"HU",
|
|
300
|
-
"IS",
|
|
301
|
-
"IN",
|
|
302
|
-
"ID",
|
|
303
|
-
"IR",
|
|
304
|
-
"IQ",
|
|
305
|
-
"IE",
|
|
306
|
-
"IM",
|
|
307
|
-
"IL",
|
|
308
|
-
"IT",
|
|
309
|
-
"JM",
|
|
310
|
-
"JP",
|
|
311
|
-
"JE",
|
|
312
|
-
"JO",
|
|
313
|
-
"KZ",
|
|
314
|
-
"KE",
|
|
315
|
-
"KI",
|
|
316
|
-
"KP",
|
|
317
|
-
"KR",
|
|
318
|
-
"KW",
|
|
319
|
-
"KG",
|
|
320
|
-
"LA",
|
|
321
|
-
"LV",
|
|
322
|
-
"LB",
|
|
323
|
-
"LS",
|
|
324
|
-
"LR",
|
|
325
|
-
"LY",
|
|
326
|
-
"LI",
|
|
327
|
-
"LT",
|
|
328
|
-
"LU",
|
|
329
|
-
"MK",
|
|
330
|
-
"MG",
|
|
331
|
-
"MW",
|
|
332
|
-
"MY",
|
|
333
|
-
"MV",
|
|
334
|
-
"ML",
|
|
335
|
-
"MT",
|
|
336
|
-
"MH",
|
|
337
|
-
"MQ",
|
|
338
|
-
"MR",
|
|
339
|
-
"MU",
|
|
340
|
-
"YT",
|
|
341
|
-
"MX",
|
|
342
|
-
"FM",
|
|
343
|
-
"MD",
|
|
344
|
-
"MC",
|
|
345
|
-
"MN",
|
|
346
|
-
"ME",
|
|
347
|
-
"MS",
|
|
348
|
-
"MA",
|
|
349
|
-
"MZ",
|
|
350
|
-
"MM",
|
|
351
|
-
"NA",
|
|
352
|
-
"NR",
|
|
353
|
-
"NP",
|
|
354
|
-
"NL",
|
|
355
|
-
"AN",
|
|
356
|
-
"NC",
|
|
357
|
-
"NZ",
|
|
358
|
-
"NI",
|
|
359
|
-
"NE",
|
|
360
|
-
"NG",
|
|
361
|
-
"NU",
|
|
362
|
-
"NF",
|
|
363
|
-
"MP",
|
|
364
|
-
"NO",
|
|
365
|
-
"OM",
|
|
366
|
-
"PK",
|
|
367
|
-
"PW",
|
|
368
|
-
"PS",
|
|
369
|
-
"PA",
|
|
370
|
-
"PG",
|
|
371
|
-
"PY",
|
|
372
|
-
"PE",
|
|
373
|
-
"PH",
|
|
374
|
-
"PN",
|
|
375
|
-
"PL",
|
|
376
|
-
"PT",
|
|
377
|
-
"PR",
|
|
378
|
-
"QA",
|
|
379
|
-
"RE",
|
|
380
|
-
"RO",
|
|
381
|
-
"RU",
|
|
382
|
-
"RW",
|
|
383
|
-
"BL",
|
|
384
|
-
"SH",
|
|
385
|
-
"KN",
|
|
386
|
-
"LC",
|
|
387
|
-
"MF",
|
|
388
|
-
"PM",
|
|
389
|
-
"VC",
|
|
390
|
-
"WS",
|
|
391
|
-
"SM",
|
|
392
|
-
"ST",
|
|
393
|
-
"SA",
|
|
394
|
-
"SN",
|
|
395
|
-
"RS",
|
|
396
|
-
"SC",
|
|
397
|
-
"SL",
|
|
398
|
-
"SG",
|
|
399
|
-
"SK",
|
|
400
|
-
"SI",
|
|
401
|
-
"SB",
|
|
402
|
-
"SO",
|
|
403
|
-
"ZA",
|
|
404
|
-
"GS",
|
|
405
|
-
"SS",
|
|
406
|
-
"ES",
|
|
407
|
-
"LK",
|
|
408
|
-
"SD",
|
|
409
|
-
"SR",
|
|
410
|
-
"SJ",
|
|
411
|
-
"SZ",
|
|
412
|
-
"SE",
|
|
413
|
-
"CH",
|
|
414
|
-
"SY",
|
|
415
|
-
"TW",
|
|
416
|
-
"TJ",
|
|
417
|
-
"TZ",
|
|
418
|
-
"TH",
|
|
419
|
-
"TL",
|
|
420
|
-
"TG",
|
|
421
|
-
"TK",
|
|
422
|
-
"TO",
|
|
423
|
-
"TT",
|
|
424
|
-
"TN",
|
|
425
|
-
"TR",
|
|
426
|
-
"TM",
|
|
427
|
-
"TC",
|
|
428
|
-
"TV",
|
|
429
|
-
"UG",
|
|
430
|
-
"UA",
|
|
431
|
-
"AE",
|
|
432
|
-
"GB",
|
|
433
|
-
"US",
|
|
434
|
-
"UM",
|
|
435
|
-
"UY",
|
|
436
|
-
"UZ",
|
|
437
|
-
"VU",
|
|
438
|
-
"VE",
|
|
439
|
-
"VN",
|
|
440
|
-
"VI",
|
|
441
|
-
"WF",
|
|
442
|
-
"EH",
|
|
443
|
-
"YE",
|
|
444
|
-
"ZM",
|
|
445
|
-
"ZW",
|
|
446
|
-
"BQ",
|
|
447
|
-
"CW",
|
|
448
|
-
"SX"
|
|
449
|
-
]
|
|
450
|
-
},
|
|
451
|
-
"Scope": {
|
|
452
|
-
"_enum": {
|
|
453
|
-
"Identity": "IdentityId",
|
|
454
|
-
"Ticker": "Ticker",
|
|
455
|
-
"Custom": "Vec<u8>"
|
|
456
|
-
}
|
|
457
|
-
},
|
|
458
|
-
"InvestorZKProofData": "[u8; 64]",
|
|
459
|
-
"Scalar": "[u8; 32]",
|
|
460
|
-
"RistrettoPoint": "[u8; 32]",
|
|
461
|
-
"ZkProofData": {
|
|
462
|
-
"challenge_responses": "[Scalar; 2]",
|
|
463
|
-
"subtract_expressions_res": "RistrettoPoint",
|
|
464
|
-
"blinded_scope_did_hash": "RistrettoPoint"
|
|
465
|
-
},
|
|
466
|
-
"ScopeClaimProof": {
|
|
467
|
-
"proof_scope_id_wellformed": "Signature",
|
|
468
|
-
"proof_scope_id_cdd_id_match": "ZkProofData",
|
|
469
|
-
"scope_id": "RistrettoPoint"
|
|
470
|
-
},
|
|
471
|
-
"CustomClaimTypeId": "u32",
|
|
472
|
-
"Claim": {
|
|
473
|
-
"_enum": {
|
|
474
|
-
"Accredited": "Scope",
|
|
475
|
-
"Affiliate": "Scope",
|
|
476
|
-
"BuyLockup": "Scope",
|
|
477
|
-
"SellLockup": "Scope",
|
|
478
|
-
"CustomerDueDiligence": "CddId",
|
|
479
|
-
"KnowYourCustomer": "Scope",
|
|
480
|
-
"Jurisdiction": "(CountryCode, Scope)",
|
|
481
|
-
"Exempted": "Scope",
|
|
482
|
-
"Blocked": "Scope",
|
|
483
|
-
"InvestorUniqueness": "(Scope, ScopeId, CddId)",
|
|
484
|
-
"NoData": "",
|
|
485
|
-
"InvestorUniquenessV2": "CddId",
|
|
486
|
-
"Custom": "(CustomClaimTypeId, Option<Scope>)"
|
|
487
|
-
}
|
|
488
|
-
},
|
|
489
|
-
"ClaimType": {
|
|
490
|
-
"_enum": {
|
|
491
|
-
"Accredited": "",
|
|
492
|
-
"Affiliate": "",
|
|
493
|
-
"BuyLockup": "",
|
|
494
|
-
"SellLockup": "",
|
|
495
|
-
"CustomerDueDiligence": "",
|
|
496
|
-
"KnowYourCustomer": "",
|
|
497
|
-
"Jurisdiction": "",
|
|
498
|
-
"Exempted": "",
|
|
499
|
-
"Blocked": "",
|
|
500
|
-
"InvestorUniqueness": "",
|
|
501
|
-
"NoData": "",
|
|
502
|
-
"InvestorUniquenessV2": "",
|
|
503
|
-
"Custom": "CustomClaimTypeId"
|
|
504
|
-
}
|
|
505
|
-
},
|
|
506
|
-
"IdentityClaim": {
|
|
507
|
-
"claim_issuer": "IdentityId",
|
|
508
|
-
"issuance_date": "Moment",
|
|
509
|
-
"last_update_date": "Moment",
|
|
510
|
-
"expiry": "Option<Moment>",
|
|
511
|
-
"claim": "Claim"
|
|
512
|
-
},
|
|
513
|
-
"ComplianceRequirement": {
|
|
514
|
-
"sender_conditions": "Vec<Condition>",
|
|
515
|
-
"receiver_conditions": "Vec<Condition>",
|
|
516
|
-
"id": "u32"
|
|
517
|
-
},
|
|
518
|
-
"ComplianceRequirementResult": {
|
|
519
|
-
"sender_conditions": "Vec<ConditionResult>",
|
|
520
|
-
"receiver_conditions": "Vec<ConditionResult>",
|
|
521
|
-
"id": "u32",
|
|
522
|
-
"result": "bool"
|
|
523
|
-
},
|
|
524
|
-
"ConditionType": {
|
|
525
|
-
"_enum": {
|
|
526
|
-
"IsPresent": "Claim",
|
|
527
|
-
"IsAbsent": "Claim",
|
|
528
|
-
"IsAnyOf": "Vec<Claim>",
|
|
529
|
-
"IsNoneOf": "Vec<Claim>",
|
|
530
|
-
"IsIdentity": "TargetIdentity"
|
|
531
|
-
}
|
|
532
|
-
},
|
|
533
|
-
"TrustedFor": {
|
|
534
|
-
"_enum": {
|
|
535
|
-
"Any": "",
|
|
536
|
-
"Specific": "Vec<ClaimType>"
|
|
537
|
-
}
|
|
538
|
-
},
|
|
539
|
-
"TrustedIssuer": {
|
|
540
|
-
"issuer": "IdentityId",
|
|
541
|
-
"trusted_for": "TrustedFor"
|
|
542
|
-
},
|
|
543
|
-
"Condition": {
|
|
544
|
-
"condition_type": "ConditionType",
|
|
545
|
-
"issuers": "Vec<TrustedIssuer>"
|
|
546
|
-
},
|
|
547
|
-
"ConditionResult": {
|
|
548
|
-
"condition": "Condition",
|
|
549
|
-
"result": "bool"
|
|
550
|
-
},
|
|
551
|
-
"TargetIdAuthorization": {
|
|
552
|
-
"target_id": "IdentityId",
|
|
553
|
-
"nonce": "u64",
|
|
554
|
-
"expires_at": "Moment"
|
|
555
|
-
},
|
|
556
|
-
"TickerRegistration": {
|
|
557
|
-
"owner": "IdentityId",
|
|
558
|
-
"expiry": "Option<Moment>"
|
|
559
|
-
},
|
|
560
|
-
"TickerRegistrationConfig": {
|
|
561
|
-
"max_ticker_length": "u8",
|
|
562
|
-
"registration_length": "Option<Moment>"
|
|
563
|
-
},
|
|
564
|
-
"ClassicTickerRegistration": {
|
|
565
|
-
"eth_owner": "EthereumAddress",
|
|
566
|
-
"is_created": "bool"
|
|
567
|
-
},
|
|
568
|
-
"ClassicTickerImport": {
|
|
569
|
-
"eth_owner": "EthereumAddress",
|
|
570
|
-
"ticker": "Ticker",
|
|
571
|
-
"is_contract": "bool",
|
|
572
|
-
"is_created": "bool"
|
|
573
|
-
},
|
|
574
|
-
"EthereumAddress": "[u8; 20]",
|
|
575
|
-
"EcdsaSignature": "[u8; 65]",
|
|
576
|
-
"MotionTitle": "Text",
|
|
577
|
-
"MotionInfoLink": "Text",
|
|
578
|
-
"ChoiceTitle": "Text",
|
|
579
|
-
"Motion": {
|
|
580
|
-
"title": "MotionTitle",
|
|
581
|
-
"info_link": "MotionInfoLink",
|
|
582
|
-
"choices": "Vec<ChoiceTitle>"
|
|
583
|
-
},
|
|
584
|
-
"BallotTitle": "Text",
|
|
585
|
-
"BallotMeta": {
|
|
586
|
-
"title": "BallotTitle",
|
|
587
|
-
"motions": "Vec<Motion>"
|
|
588
|
-
},
|
|
589
|
-
"BallotTimeRange": {
|
|
590
|
-
"start": "Moment",
|
|
591
|
-
"end": "Moment"
|
|
592
|
-
},
|
|
593
|
-
"BallotVote": {
|
|
594
|
-
"power": "Balance",
|
|
595
|
-
"fallback": "Option<u16>"
|
|
596
|
-
},
|
|
597
|
-
"MaybeBlock": {
|
|
598
|
-
"_enum": {
|
|
599
|
-
"Some": "BlockNumber",
|
|
600
|
-
"None": ""
|
|
601
|
-
}
|
|
602
|
-
},
|
|
603
|
-
"Url": "Text",
|
|
604
|
-
"PipDescription": "Text",
|
|
605
|
-
"PipsMetadata": {
|
|
606
|
-
"id": "PipId",
|
|
607
|
-
"url": "Option<Url>",
|
|
608
|
-
"description": "Option<PipDescription>",
|
|
609
|
-
"created_at": "BlockNumber",
|
|
610
|
-
"transaction_version": "u32",
|
|
611
|
-
"expiry": "MaybeBlock"
|
|
612
|
-
},
|
|
613
|
-
"Proposer": {
|
|
614
|
-
"_enum": {
|
|
615
|
-
"Community": "AccountId",
|
|
616
|
-
"Committee": "Committee"
|
|
617
|
-
}
|
|
618
|
-
},
|
|
619
|
-
"Committee": {
|
|
620
|
-
"_enum": {
|
|
621
|
-
"Technical": "",
|
|
622
|
-
"Upgrade": ""
|
|
623
|
-
}
|
|
624
|
-
},
|
|
625
|
-
"SkippedCount": "u8",
|
|
626
|
-
"SnapshottedPip": {
|
|
627
|
-
"id": "PipId",
|
|
628
|
-
"weight": "(bool, Balance)"
|
|
629
|
-
},
|
|
630
|
-
"SnapshotId": "u32",
|
|
631
|
-
"SnapshotMetadata": {
|
|
632
|
-
"created_at": "BlockNumber",
|
|
633
|
-
"made_by": "AccountId",
|
|
634
|
-
"id": "SnapshotId"
|
|
635
|
-
},
|
|
636
|
-
"SnapshotResult": {
|
|
637
|
-
"_enum": {
|
|
638
|
-
"Approve": "",
|
|
639
|
-
"Reject": "",
|
|
640
|
-
"Skip": ""
|
|
641
|
-
}
|
|
642
|
-
},
|
|
643
|
-
"Beneficiary": {
|
|
644
|
-
"id": "IdentityId",
|
|
645
|
-
"amount": "Balance"
|
|
646
|
-
},
|
|
647
|
-
"DepositInfo": {
|
|
648
|
-
"owner": "AccountId",
|
|
649
|
-
"amount": "Balance"
|
|
650
|
-
},
|
|
651
|
-
"PolymeshVotes": {
|
|
652
|
-
"index": "u32",
|
|
653
|
-
"ayes": "Vec<IdentityId>",
|
|
654
|
-
"nays": "Vec<IdentityId>",
|
|
655
|
-
"expiry": "MaybeBlock"
|
|
656
|
-
},
|
|
657
|
-
"PipId": "u32",
|
|
658
|
-
"ProposalState": {
|
|
659
|
-
"_enum": [
|
|
660
|
-
"Pending",
|
|
661
|
-
"Rejected",
|
|
662
|
-
"Scheduled",
|
|
663
|
-
"Failed",
|
|
664
|
-
"Executed",
|
|
665
|
-
"Expired"
|
|
666
|
-
]
|
|
667
|
-
},
|
|
668
|
-
"Pip": {
|
|
669
|
-
"id": "PipId",
|
|
670
|
-
"proposal": "Call",
|
|
671
|
-
"proposer": "Proposer"
|
|
672
|
-
},
|
|
673
|
-
"ProposalData": {
|
|
674
|
-
"_enum": {
|
|
675
|
-
"Hash": "Hash",
|
|
676
|
-
"Proposal": "Vec<u8>"
|
|
677
|
-
}
|
|
678
|
-
},
|
|
679
|
-
"OffChainSignature": "MultiSignature",
|
|
680
|
-
"Authorization": {
|
|
681
|
-
"authorization_data": "AuthorizationData",
|
|
682
|
-
"authorized_by": "IdentityId",
|
|
683
|
-
"expiry": "Option<Moment>",
|
|
684
|
-
"auth_id": "u64"
|
|
685
|
-
},
|
|
686
|
-
"AuthorizationData": {
|
|
687
|
-
"_enum": {
|
|
688
|
-
"AttestPrimaryKeyRotation": "IdentityId",
|
|
689
|
-
"RotatePrimaryKey": "",
|
|
690
|
-
"TransferTicker": "Ticker",
|
|
691
|
-
"AddMultiSigSigner": "AccountId",
|
|
692
|
-
"TransferAssetOwnership": "Ticker",
|
|
693
|
-
"JoinIdentity": "Permissions",
|
|
694
|
-
"PortfolioCustody": "PortfolioId",
|
|
695
|
-
"BecomeAgent": "(Ticker, AgentGroup)",
|
|
696
|
-
"AddRelayerPayingKey": "(AccountId, AccountId, Balance)",
|
|
697
|
-
"RotatePrimaryKeyToSecondary": "Permissions"
|
|
698
|
-
}
|
|
699
|
-
},
|
|
700
|
-
"AuthorizationNonce": "u64",
|
|
701
|
-
"Percentage": "Permill",
|
|
702
|
-
"RestrictionResult": {
|
|
703
|
-
"_enum": ["Valid", "Invalid", "ForceValid"]
|
|
704
|
-
},
|
|
705
|
-
"Memo": "[u8; 32]",
|
|
706
|
-
"BridgeTx": {
|
|
707
|
-
"nonce": "u32",
|
|
708
|
-
"recipient": "AccountId",
|
|
709
|
-
"amount": "Balance",
|
|
710
|
-
"tx_hash": "H256"
|
|
711
|
-
},
|
|
712
|
-
"AssetScope": {
|
|
713
|
-
"_enum": {
|
|
714
|
-
"Ticker": "Ticker"
|
|
715
|
-
}
|
|
716
|
-
},
|
|
717
|
-
"StatOpType": {
|
|
718
|
-
"_enum": ["Count", "Balance"]
|
|
719
|
-
},
|
|
720
|
-
"StatType": {
|
|
721
|
-
"op": "StatOpType",
|
|
722
|
-
"claim_issuer": "Option<(ClaimType, IdentityId)>"
|
|
723
|
-
},
|
|
724
|
-
"StatClaim": {
|
|
725
|
-
"_enum": {
|
|
726
|
-
"Accredited": "bool",
|
|
727
|
-
"Affiliate": "bool",
|
|
728
|
-
"Jurisdiction": "Option<CountryCode>"
|
|
729
|
-
}
|
|
730
|
-
},
|
|
731
|
-
"Stat1stKey": {
|
|
732
|
-
"asset": "AssetScope",
|
|
733
|
-
"stat_type": "StatType"
|
|
734
|
-
},
|
|
735
|
-
"Stat2ndKey": {
|
|
736
|
-
"_enum": {
|
|
737
|
-
"NoClaimStat": "",
|
|
738
|
-
"Claim": "StatClaim"
|
|
739
|
-
}
|
|
740
|
-
},
|
|
741
|
-
"StatUpdate": {
|
|
742
|
-
"key2": "Stat2ndKey",
|
|
743
|
-
"value": "Option<u128>"
|
|
744
|
-
},
|
|
745
|
-
"TransferCondition": {
|
|
746
|
-
"_enum": {
|
|
747
|
-
"MaxInvestorCount": "u64",
|
|
748
|
-
"MaxInvestorOwnership": "Percentage",
|
|
749
|
-
"ClaimCount": "(StatClaim, IdentityId, u64, Option<u64>)",
|
|
750
|
-
"ClaimOwnership": "(StatClaim, IdentityId, Percentage, Percentage)"
|
|
751
|
-
}
|
|
752
|
-
},
|
|
753
|
-
"AssetTransferCompliance": {
|
|
754
|
-
"paused": "bool",
|
|
755
|
-
"requirements": "Vec<TransferCondition>"
|
|
756
|
-
},
|
|
757
|
-
"TransferConditionExemptKey": {
|
|
758
|
-
"asset": "AssetScope",
|
|
759
|
-
"op": "StatOpType",
|
|
760
|
-
"claim_type": "Option<ClaimType>"
|
|
761
|
-
},
|
|
762
|
-
"AssetCompliance": {
|
|
763
|
-
"paused": "bool",
|
|
764
|
-
"requirements": "Vec<ComplianceRequirement>"
|
|
765
|
-
},
|
|
766
|
-
"AssetComplianceResult": {
|
|
767
|
-
"paused": "bool",
|
|
768
|
-
"requirements": "Vec<ComplianceRequirementResult>",
|
|
769
|
-
"result": "bool"
|
|
770
|
-
},
|
|
771
|
-
"Claim1stKey": {
|
|
772
|
-
"target": "IdentityId",
|
|
773
|
-
"claim_type": "ClaimType"
|
|
774
|
-
},
|
|
775
|
-
"Claim2ndKey": {
|
|
776
|
-
"issuer": "IdentityId",
|
|
777
|
-
"scope": "Option<Scope>"
|
|
778
|
-
},
|
|
779
|
-
"InactiveMember": {
|
|
780
|
-
"id": "IdentityId",
|
|
781
|
-
"deactivated_at": "Moment",
|
|
782
|
-
"expiry": "Option<Moment>"
|
|
783
|
-
},
|
|
784
|
-
"VotingResult": {
|
|
785
|
-
"ayes_count": "u32",
|
|
786
|
-
"ayes_stake": "Balance",
|
|
787
|
-
"nays_count": "u32",
|
|
788
|
-
"nays_stake": "Balance"
|
|
789
|
-
},
|
|
790
|
-
"ProtocolOp": {
|
|
791
|
-
"_enum": [
|
|
792
|
-
"AssetRegisterTicker",
|
|
793
|
-
"AssetIssue",
|
|
794
|
-
"AssetAddDocuments",
|
|
795
|
-
"AssetCreateAsset",
|
|
796
|
-
"CheckpointCreateSchedule",
|
|
797
|
-
"ComplianceManagerAddComplianceRequirement",
|
|
798
|
-
"IdentityCddRegisterDid",
|
|
799
|
-
"IdentityAddClaim",
|
|
800
|
-
"IdentityAddSecondaryKeysWithAuthorization",
|
|
801
|
-
"PipsPropose",
|
|
802
|
-
"ContractsPutCode",
|
|
803
|
-
"CorporateBallotAttachBallot",
|
|
804
|
-
"CapitalDistributionDistribute"
|
|
805
|
-
]
|
|
806
|
-
},
|
|
807
|
-
"CddStatus": {
|
|
808
|
-
"_enum": {
|
|
809
|
-
"Ok": "IdentityId",
|
|
810
|
-
"Err": "Vec<u8>"
|
|
811
|
-
}
|
|
812
|
-
},
|
|
813
|
-
"AssetDidResult": {
|
|
814
|
-
"_enum": {
|
|
815
|
-
"Ok": "IdentityId",
|
|
816
|
-
"Err": "Vec<u8>"
|
|
817
|
-
}
|
|
818
|
-
},
|
|
819
|
-
"RpcDidRecordsSuccess": {
|
|
820
|
-
"primary_key": "AccountId",
|
|
821
|
-
"secondary_keys": "Vec<SecondaryKey>"
|
|
822
|
-
},
|
|
823
|
-
"RpcDidRecords": {
|
|
824
|
-
"_enum": {
|
|
825
|
-
"Success": "RpcDidRecordsSuccess",
|
|
826
|
-
"IdNotFound": "Vec<u8>"
|
|
827
|
-
}
|
|
828
|
-
},
|
|
829
|
-
"VoteCountProposalFound": {
|
|
830
|
-
"ayes": "u64",
|
|
831
|
-
"nays": "u64"
|
|
832
|
-
},
|
|
833
|
-
"VoteCount": {
|
|
834
|
-
"_enum": {
|
|
835
|
-
"ProposalFound": "VoteCountProposalFound",
|
|
836
|
-
"ProposalNotFound": ""
|
|
837
|
-
}
|
|
838
|
-
},
|
|
839
|
-
"Vote": "(bool, Balance)",
|
|
840
|
-
"VoteByPip": {
|
|
841
|
-
"pip": "PipId",
|
|
842
|
-
"vote": "Vote"
|
|
843
|
-
},
|
|
844
|
-
"BridgeTxDetail": {
|
|
845
|
-
"amount": "Balance",
|
|
846
|
-
"status": "BridgeTxStatus",
|
|
847
|
-
"execution_block": "BlockNumber",
|
|
848
|
-
"tx_hash": "H256"
|
|
849
|
-
},
|
|
850
|
-
"BridgeTxStatus": {
|
|
851
|
-
"_enum": {
|
|
852
|
-
"Absent": "",
|
|
853
|
-
"Pending": "u8",
|
|
854
|
-
"Frozen": "",
|
|
855
|
-
"Timelocked": "",
|
|
856
|
-
"Handled": ""
|
|
857
|
-
}
|
|
858
|
-
},
|
|
859
|
-
"HandledTxStatus": {
|
|
860
|
-
"_enum": {
|
|
861
|
-
"Success": "",
|
|
862
|
-
"Error": "Text"
|
|
863
|
-
}
|
|
864
|
-
},
|
|
865
|
-
"CappedFee": "u64",
|
|
866
|
-
"CanTransferResult": {
|
|
867
|
-
"_enum": {
|
|
868
|
-
"Ok": "u8",
|
|
869
|
-
"Err": "Vec<u8>"
|
|
870
|
-
}
|
|
871
|
-
},
|
|
872
|
-
"AuthorizationType": {
|
|
873
|
-
"_enum": {
|
|
874
|
-
"AttestPrimaryKeyRotation": "",
|
|
875
|
-
"RotatePrimaryKey": "",
|
|
876
|
-
"TransferTicker": "",
|
|
877
|
-
"AddMultiSigSigner": "",
|
|
878
|
-
"TransferAssetOwnership": "",
|
|
879
|
-
"JoinIdentity": "",
|
|
880
|
-
"PortfolioCustody": "",
|
|
881
|
-
"BecomeAgent": "",
|
|
882
|
-
"AddRelayerPayingKey": "",
|
|
883
|
-
"RotatePrimaryKeyToSecondary": ""
|
|
884
|
-
}
|
|
885
|
-
},
|
|
886
|
-
"ProposalDetails": {
|
|
887
|
-
"approvals": "u64",
|
|
888
|
-
"rejections": "u64",
|
|
889
|
-
"status": "ProposalStatus",
|
|
890
|
-
"expiry": "Option<Moment>",
|
|
891
|
-
"auto_close": "bool"
|
|
892
|
-
},
|
|
893
|
-
"ProposalStatus": {
|
|
894
|
-
"_enum": {
|
|
895
|
-
"Invalid": "",
|
|
896
|
-
"ActiveOrExpired": "",
|
|
897
|
-
"ExecutionSuccessful": "",
|
|
898
|
-
"ExecutionFailed": "",
|
|
899
|
-
"Rejected": ""
|
|
900
|
-
}
|
|
901
|
-
},
|
|
902
|
-
"DidStatus": {
|
|
903
|
-
"_enum": {
|
|
904
|
-
"Unknown": "",
|
|
905
|
-
"Exists": "",
|
|
906
|
-
"CddVerified": ""
|
|
907
|
-
}
|
|
908
|
-
},
|
|
909
|
-
"PortfolioName": "Text",
|
|
910
|
-
"PortfolioNumber": "u64",
|
|
911
|
-
"PortfolioKind": {
|
|
912
|
-
"_enum": {
|
|
913
|
-
"Default": "",
|
|
914
|
-
"User": "PortfolioNumber"
|
|
915
|
-
}
|
|
916
|
-
},
|
|
917
|
-
"PortfolioId": {
|
|
918
|
-
"did": "IdentityId",
|
|
919
|
-
"kind": "PortfolioKind"
|
|
920
|
-
},
|
|
921
|
-
"Moment": "u64",
|
|
922
|
-
"CalendarUnit": {
|
|
923
|
-
"_enum": ["Second", "Minute", "Hour", "Day", "Week", "Month", "Year"]
|
|
924
|
-
},
|
|
925
|
-
"CalendarPeriod": {
|
|
926
|
-
"unit": "CalendarUnit",
|
|
927
|
-
"amount": "u64"
|
|
928
|
-
},
|
|
929
|
-
"CheckpointSchedule": {
|
|
930
|
-
"start": "Moment",
|
|
931
|
-
"period": "CalendarPeriod"
|
|
932
|
-
},
|
|
933
|
-
"CheckpointId": "u64",
|
|
934
|
-
"ScheduleId": "u64",
|
|
935
|
-
"StoredSchedule": {
|
|
936
|
-
"schedule": "CheckpointSchedule",
|
|
937
|
-
"id": "ScheduleId",
|
|
938
|
-
"at": "Moment",
|
|
939
|
-
"remaining": "u32"
|
|
940
|
-
},
|
|
941
|
-
"ScheduleSpec": {
|
|
942
|
-
"start": "Option<Moment>",
|
|
943
|
-
"period": "CalendarPeriod",
|
|
944
|
-
"remaining": "u32"
|
|
945
|
-
},
|
|
946
|
-
"InstructionStatus": {
|
|
947
|
-
"_enum": {
|
|
948
|
-
"Unknown": "",
|
|
949
|
-
"Pending": "",
|
|
950
|
-
"Failed": ""
|
|
951
|
-
}
|
|
952
|
-
},
|
|
953
|
-
"LegStatus": {
|
|
954
|
-
"_enum": {
|
|
955
|
-
"PendingTokenLock": "",
|
|
956
|
-
"ExecutionPending": "",
|
|
957
|
-
"ExecutionToBeSkipped": "(AccountId, u64)"
|
|
958
|
-
}
|
|
959
|
-
},
|
|
960
|
-
"AffirmationStatus": {
|
|
961
|
-
"_enum": {
|
|
962
|
-
"Unknown": "",
|
|
963
|
-
"Pending": "",
|
|
964
|
-
"Affirmed": ""
|
|
965
|
-
}
|
|
966
|
-
},
|
|
967
|
-
"SettlementType": {
|
|
968
|
-
"_enum": {
|
|
969
|
-
"SettleOnAffirmation": "",
|
|
970
|
-
"SettleOnBlock": "BlockNumber",
|
|
971
|
-
"SettleManual": "BlockNumber"
|
|
972
|
-
}
|
|
973
|
-
},
|
|
974
|
-
"LegId": "u64",
|
|
975
|
-
"InstructionId": "u64",
|
|
976
|
-
"Instruction": {
|
|
977
|
-
"instruction_id": "InstructionId",
|
|
978
|
-
"venue_id": "VenueId",
|
|
979
|
-
"status": "InstructionStatus",
|
|
980
|
-
"settlement_type": "SettlementType",
|
|
981
|
-
"created_at": "Option<Moment>",
|
|
982
|
-
"trade_date": "Option<Moment>",
|
|
983
|
-
"value_date": "Option<Moment>"
|
|
984
|
-
},
|
|
985
|
-
"Leg": {
|
|
986
|
-
"from": "PortfolioId",
|
|
987
|
-
"to": "PortfolioId",
|
|
988
|
-
"asset": "Ticker",
|
|
989
|
-
"amount": "Balance"
|
|
990
|
-
},
|
|
991
|
-
"Venue": {
|
|
992
|
-
"creator": "IdentityId",
|
|
993
|
-
"venue_type": "VenueType"
|
|
994
|
-
},
|
|
995
|
-
"Receipt": {
|
|
996
|
-
"receipt_uid": "u64",
|
|
997
|
-
"from": "PortfolioId",
|
|
998
|
-
"to": "PortfolioId",
|
|
999
|
-
"asset": "Ticker",
|
|
1000
|
-
"amount": "Balance"
|
|
1001
|
-
},
|
|
1002
|
-
"ReceiptMetadata": "Text",
|
|
1003
|
-
"ReceiptDetails": {
|
|
1004
|
-
"receipt_uid": "u64",
|
|
1005
|
-
"leg_id": "LegId",
|
|
1006
|
-
"signer": "AccountId",
|
|
1007
|
-
"signature": "OffChainSignature",
|
|
1008
|
-
"metadata": "ReceiptMetadata"
|
|
1009
|
-
},
|
|
1010
|
-
"UniqueCall": {
|
|
1011
|
-
"nonce": "u64",
|
|
1012
|
-
"call": "Call"
|
|
1013
|
-
},
|
|
1014
|
-
"MovePortfolioItem": {
|
|
1015
|
-
"ticker": "Ticker",
|
|
1016
|
-
"amount": "Balance",
|
|
1017
|
-
"memo": "Option<Memo>"
|
|
1018
|
-
},
|
|
1019
|
-
"WeightToFeeCoefficient": {
|
|
1020
|
-
"coeffInteger": "Balance",
|
|
1021
|
-
"coeffFrac": "Perbill",
|
|
1022
|
-
"negative": "bool",
|
|
1023
|
-
"degree": "u8"
|
|
1024
|
-
},
|
|
1025
|
-
"WeightPerClass": {
|
|
1026
|
-
"baseExtrinsic": "Weight",
|
|
1027
|
-
"maxExtrinsic": "Option<Weight>",
|
|
1028
|
-
"maxTotal": "Option<Weight>",
|
|
1029
|
-
"reserved": "Option<Weight>"
|
|
1030
|
-
},
|
|
1031
|
-
"TargetIdentity": {
|
|
1032
|
-
"_enum": {
|
|
1033
|
-
"ExternalAgent": "",
|
|
1034
|
-
"Specific": "IdentityId"
|
|
1035
|
-
}
|
|
1036
|
-
},
|
|
1037
|
-
"FundraiserId": "u64",
|
|
1038
|
-
"FundraiserName": "Text",
|
|
1039
|
-
"FundraiserStatus": {
|
|
1040
|
-
"_enum": ["Live", "Frozen", "Closed", "ClosedEarly"]
|
|
1041
|
-
},
|
|
1042
|
-
"FundraiserTier": {
|
|
1043
|
-
"total": "Balance",
|
|
1044
|
-
"price": "Balance",
|
|
1045
|
-
"remaining": "Balance"
|
|
1046
|
-
},
|
|
1047
|
-
"Fundraiser": {
|
|
1048
|
-
"creator": "IdentityId",
|
|
1049
|
-
"offering_portfolio": "PortfolioId",
|
|
1050
|
-
"offering_asset": "Ticker",
|
|
1051
|
-
"raising_portfolio": "PortfolioId",
|
|
1052
|
-
"raising_asset": "Ticker",
|
|
1053
|
-
"tiers": "Vec<FundraiserTier>",
|
|
1054
|
-
"venue_id": "VenueId",
|
|
1055
|
-
"start": "Moment",
|
|
1056
|
-
"end": "Option<Moment>",
|
|
1057
|
-
"status": "FundraiserStatus",
|
|
1058
|
-
"minimum_investment": "Balance"
|
|
1059
|
-
},
|
|
1060
|
-
"VenueId": "u64",
|
|
1061
|
-
"VenueType": {
|
|
1062
|
-
"_enum": ["Other", "Distribution", "Sto", "Exchange"]
|
|
1063
|
-
},
|
|
1064
|
-
"Tax": "Permill",
|
|
1065
|
-
"TargetIdentities": {
|
|
1066
|
-
"identities": "Vec<IdentityId>",
|
|
1067
|
-
"treatment": "TargetTreatment"
|
|
1068
|
-
},
|
|
1069
|
-
"TargetTreatment": {
|
|
1070
|
-
"_enum": ["Include", "Exclude"]
|
|
1071
|
-
},
|
|
1072
|
-
"CAKind": {
|
|
1073
|
-
"_enum": [
|
|
1074
|
-
"PredictableBenefit",
|
|
1075
|
-
"UnpredictableBenefit",
|
|
1076
|
-
"IssuerNotice",
|
|
1077
|
-
"Reorganization",
|
|
1078
|
-
"Other"
|
|
1079
|
-
]
|
|
1080
|
-
},
|
|
1081
|
-
"CADetails": "Text",
|
|
1082
|
-
"CACheckpoint": {
|
|
1083
|
-
"_enum": {
|
|
1084
|
-
"Scheduled": "(ScheduleId, u64)",
|
|
1085
|
-
"Existing": "CheckpointId"
|
|
1086
|
-
}
|
|
1087
|
-
},
|
|
1088
|
-
"RecordDate": {
|
|
1089
|
-
"date": "Moment",
|
|
1090
|
-
"checkpoint": "CACheckpoint"
|
|
1091
|
-
},
|
|
1092
|
-
"RecordDateSpec": {
|
|
1093
|
-
"_enum": {
|
|
1094
|
-
"Scheduled": "Moment",
|
|
1095
|
-
"ExistingSchedule": "ScheduleId",
|
|
1096
|
-
"Existing": "CheckpointId"
|
|
1097
|
-
}
|
|
1098
|
-
},
|
|
1099
|
-
"CorporateAction": {
|
|
1100
|
-
"kind": "CAKind",
|
|
1101
|
-
"decl_date": "Moment",
|
|
1102
|
-
"record_date": "Option<RecordDate>",
|
|
1103
|
-
"targets": "TargetIdentities",
|
|
1104
|
-
"default_withholding_tax": "Tax",
|
|
1105
|
-
"withholding_tax": "Vec<(IdentityId, Tax)>"
|
|
1106
|
-
},
|
|
1107
|
-
"InitiateCorporateActionArgs": {
|
|
1108
|
-
"ticker": "Ticker",
|
|
1109
|
-
"kind": "CAKind",
|
|
1110
|
-
"decl_date": "Moment",
|
|
1111
|
-
"record_date": "Option<RecordDateSpec>",
|
|
1112
|
-
"details": "CADetails",
|
|
1113
|
-
"targets": "Option<TargetIdentities>",
|
|
1114
|
-
"default_withholding_tax": "Option<Tax>",
|
|
1115
|
-
"withholding_tax": "Option<Vec<(IdentityId, Tax)>>"
|
|
1116
|
-
},
|
|
1117
|
-
"LocalCAId": "u32",
|
|
1118
|
-
"CAId": {
|
|
1119
|
-
"ticker": "Ticker",
|
|
1120
|
-
"local_id": "LocalCAId"
|
|
1121
|
-
},
|
|
1122
|
-
"Distribution": {
|
|
1123
|
-
"from": "PortfolioId",
|
|
1124
|
-
"currency": "Ticker",
|
|
1125
|
-
"per_share": "Balance",
|
|
1126
|
-
"amount": "Balance",
|
|
1127
|
-
"remaining": "Balance",
|
|
1128
|
-
"reclaimed": "bool",
|
|
1129
|
-
"payment_at": "Moment",
|
|
1130
|
-
"expires_at": "Option<Moment>"
|
|
1131
|
-
},
|
|
1132
|
-
"SlashingSwitch": {
|
|
1133
|
-
"_enum": ["Validator", "ValidatorAndNominator", "None"]
|
|
1134
|
-
},
|
|
1135
|
-
"PriceTier": {
|
|
1136
|
-
"total": "Balance",
|
|
1137
|
-
"price": "Balance"
|
|
1138
|
-
},
|
|
1139
|
-
"PermissionedIdentityPrefs": {
|
|
1140
|
-
"intended_count": "u32",
|
|
1141
|
-
"running_count": "u32"
|
|
1142
|
-
},
|
|
1143
|
-
"GranularCanTransferResult": {
|
|
1144
|
-
"invalid_granularity": "bool",
|
|
1145
|
-
"self_transfer": "bool",
|
|
1146
|
-
"invalid_receiver_cdd": "bool",
|
|
1147
|
-
"invalid_sender_cdd": "bool",
|
|
1148
|
-
"missing_scope_claim": "bool",
|
|
1149
|
-
"receiver_custodian_error": "bool",
|
|
1150
|
-
"sender_custodian_error": "bool",
|
|
1151
|
-
"sender_insufficient_balance": "bool",
|
|
1152
|
-
"portfolio_validity_result": "PortfolioValidityResult",
|
|
1153
|
-
"asset_frozen": "bool",
|
|
1154
|
-
"transfer_condition_result": "Vec<TransferConditionResult>",
|
|
1155
|
-
"compliance_result": "AssetComplianceResult",
|
|
1156
|
-
"result": "bool"
|
|
1157
|
-
},
|
|
1158
|
-
"PortfolioValidityResult": {
|
|
1159
|
-
"receiver_is_same_portfolio": "bool",
|
|
1160
|
-
"sender_portfolio_does_not_exist": "bool",
|
|
1161
|
-
"receiver_portfolio_does_not_exist": "bool",
|
|
1162
|
-
"sender_insufficient_balance": "bool",
|
|
1163
|
-
"result": "bool"
|
|
1164
|
-
},
|
|
1165
|
-
"TransferConditionResult": {
|
|
1166
|
-
"condition": "TransferCondition",
|
|
1167
|
-
"result": "bool"
|
|
1168
|
-
},
|
|
1169
|
-
"AGId": "u32",
|
|
1170
|
-
"AgentGroup": {
|
|
1171
|
-
"_enum": {
|
|
1172
|
-
"Full": "",
|
|
1173
|
-
"Custom": "AGId",
|
|
1174
|
-
"ExceptMeta": "",
|
|
1175
|
-
"PolymeshV1CAA": "",
|
|
1176
|
-
"PolymeshV1PIA": ""
|
|
1177
|
-
}
|
|
1178
|
-
},
|
|
1179
|
-
"Member": {
|
|
1180
|
-
"id": "IdentityId",
|
|
1181
|
-
"expiry_at": "Option<Moment>",
|
|
1182
|
-
"inactive_from": "Option<Moment>"
|
|
1183
|
-
},
|
|
1184
|
-
"ItnRewardStatus": {
|
|
1185
|
-
"_enum": {
|
|
1186
|
-
"Unclaimed": "Balance",
|
|
1187
|
-
"Claimed": ""
|
|
1188
|
-
}
|
|
1189
|
-
}
|
|
1190
|
-
},
|
|
1191
|
-
"rpc": {
|
|
1192
|
-
"compliance": {
|
|
1193
|
-
"canTransfer": {
|
|
1194
|
-
"description": "Checks whether a transaction with given parameters is compliant to the compliance manager conditions",
|
|
1195
|
-
"params": [
|
|
1196
|
-
{
|
|
1197
|
-
"name": "ticker",
|
|
1198
|
-
"type": "Ticker",
|
|
1199
|
-
"isOptional": false
|
|
1200
|
-
},
|
|
1201
|
-
{
|
|
1202
|
-
"name": "from_did",
|
|
1203
|
-
"type": "Option<IdentityId>",
|
|
1204
|
-
"isOptional": false
|
|
1205
|
-
},
|
|
1206
|
-
{
|
|
1207
|
-
"name": "to_did",
|
|
1208
|
-
"type": "Option<IdentityId>",
|
|
1209
|
-
"isOptional": false
|
|
1210
|
-
},
|
|
1211
|
-
{
|
|
1212
|
-
"name": "blockHash",
|
|
1213
|
-
"type": "Hash",
|
|
1214
|
-
"isOptional": true
|
|
1215
|
-
}
|
|
1216
|
-
],
|
|
1217
|
-
"type": "AssetComplianceResult"
|
|
1218
|
-
}
|
|
1219
|
-
},
|
|
1220
|
-
"identity": {
|
|
1221
|
-
"isIdentityHasValidCdd": {
|
|
1222
|
-
"description": "use to tell whether the given did has valid cdd claim or not",
|
|
1223
|
-
"params": [
|
|
1224
|
-
{
|
|
1225
|
-
"name": "did",
|
|
1226
|
-
"type": "IdentityId",
|
|
1227
|
-
"isOptional": false
|
|
1228
|
-
},
|
|
1229
|
-
{
|
|
1230
|
-
"name": "buffer_time",
|
|
1231
|
-
"type": "u64",
|
|
1232
|
-
"isOptional": true
|
|
1233
|
-
},
|
|
1234
|
-
{
|
|
1235
|
-
"name": "blockHash",
|
|
1236
|
-
"type": "Hash",
|
|
1237
|
-
"isOptional": true
|
|
1238
|
-
}
|
|
1239
|
-
],
|
|
1240
|
-
"type": "CddStatus"
|
|
1241
|
-
},
|
|
1242
|
-
"getAssetDid": {
|
|
1243
|
-
"description": "function is used to query the given ticker DID",
|
|
1244
|
-
"params": [
|
|
1245
|
-
{
|
|
1246
|
-
"name": "ticker",
|
|
1247
|
-
"type": "Ticker",
|
|
1248
|
-
"isOptional": false
|
|
1249
|
-
},
|
|
1250
|
-
{
|
|
1251
|
-
"name": "blockHash",
|
|
1252
|
-
"type": "Hash",
|
|
1253
|
-
"isOptional": true
|
|
1254
|
-
}
|
|
1255
|
-
],
|
|
1256
|
-
"type": "AssetDidResult"
|
|
1257
|
-
},
|
|
1258
|
-
"getDidRecords": {
|
|
1259
|
-
"description": "Used to get the did record values for a given DID",
|
|
1260
|
-
"params": [
|
|
1261
|
-
{
|
|
1262
|
-
"name": "did",
|
|
1263
|
-
"type": "IdentityId",
|
|
1264
|
-
"isOptional": false
|
|
1265
|
-
},
|
|
1266
|
-
{
|
|
1267
|
-
"name": "blockHash",
|
|
1268
|
-
"type": "Hash",
|
|
1269
|
-
"isOptional": true
|
|
1270
|
-
}
|
|
1271
|
-
],
|
|
1272
|
-
"type": "RpcDidRecords"
|
|
1273
|
-
},
|
|
1274
|
-
"getDidStatus": {
|
|
1275
|
-
"description": "Retrieve status of the DID",
|
|
1276
|
-
"params": [
|
|
1277
|
-
{
|
|
1278
|
-
"name": "did",
|
|
1279
|
-
"type": "Vec<IdentityId>",
|
|
1280
|
-
"isOptional": false
|
|
1281
|
-
},
|
|
1282
|
-
{
|
|
1283
|
-
"name": "blockHash",
|
|
1284
|
-
"type": "Hash",
|
|
1285
|
-
"isOptional": true
|
|
1286
|
-
}
|
|
1287
|
-
],
|
|
1288
|
-
"type": "Vec<DidStatus>"
|
|
1289
|
-
},
|
|
1290
|
-
"getFilteredAuthorizations": {
|
|
1291
|
-
"description": "Retrieve authorizations data for a given signatory and filtered using the given authorization type",
|
|
1292
|
-
"params": [
|
|
1293
|
-
{
|
|
1294
|
-
"name": "signatory",
|
|
1295
|
-
"type": "Signatory",
|
|
1296
|
-
"isOptional": false
|
|
1297
|
-
},
|
|
1298
|
-
{
|
|
1299
|
-
"name": "allow_expired",
|
|
1300
|
-
"type": "bool",
|
|
1301
|
-
"isOptional": false
|
|
1302
|
-
},
|
|
1303
|
-
{
|
|
1304
|
-
"name": "auth_type",
|
|
1305
|
-
"type": "AuthorizationType",
|
|
1306
|
-
"isOptional": true
|
|
1307
|
-
},
|
|
1308
|
-
{
|
|
1309
|
-
"name": "blockHash",
|
|
1310
|
-
"type": "Hash",
|
|
1311
|
-
"isOptional": true
|
|
1312
|
-
}
|
|
1313
|
-
],
|
|
1314
|
-
"type": "Vec<Authorization>"
|
|
1315
|
-
},
|
|
1316
|
-
"getKeyIdentityData": {
|
|
1317
|
-
"description": "Query relation between a signing key and a DID",
|
|
1318
|
-
"params": [
|
|
1319
|
-
{
|
|
1320
|
-
"name": "acc",
|
|
1321
|
-
"type": "AccountId",
|
|
1322
|
-
"isOptional": false
|
|
1323
|
-
},
|
|
1324
|
-
{
|
|
1325
|
-
"name": "blockHash",
|
|
1326
|
-
"type": "Hash",
|
|
1327
|
-
"isOptional": true
|
|
1328
|
-
}
|
|
1329
|
-
],
|
|
1330
|
-
"type": "Option<KeyIdentityData>"
|
|
1331
|
-
}
|
|
1332
|
-
},
|
|
1333
|
-
"pips": {
|
|
1334
|
-
"getVotes": {
|
|
1335
|
-
"description": "Summary of votes of a proposal given by index",
|
|
1336
|
-
"params": [
|
|
1337
|
-
{
|
|
1338
|
-
"name": "index",
|
|
1339
|
-
"type": "PipId",
|
|
1340
|
-
"isOptional": false
|
|
1341
|
-
},
|
|
1342
|
-
{
|
|
1343
|
-
"name": "blockHash",
|
|
1344
|
-
"type": "Hash",
|
|
1345
|
-
"isOptional": true
|
|
1346
|
-
}
|
|
1347
|
-
],
|
|
1348
|
-
"type": "VoteCount"
|
|
1349
|
-
},
|
|
1350
|
-
"proposedBy": {
|
|
1351
|
-
"description": "Retrieves proposal indices started by address",
|
|
1352
|
-
"params": [
|
|
1353
|
-
{
|
|
1354
|
-
"name": "address",
|
|
1355
|
-
"type": "AccountId",
|
|
1356
|
-
"isOptional": false
|
|
1357
|
-
},
|
|
1358
|
-
{
|
|
1359
|
-
"name": "blockHash",
|
|
1360
|
-
"type": "Hash",
|
|
1361
|
-
"isOptional": true
|
|
1362
|
-
}
|
|
1363
|
-
],
|
|
1364
|
-
"type": "Vec<PipId>"
|
|
1365
|
-
},
|
|
1366
|
-
"votedOn": {
|
|
1367
|
-
"description": "Retrieves proposal address indices voted on",
|
|
1368
|
-
"params": [
|
|
1369
|
-
{
|
|
1370
|
-
"name": "address",
|
|
1371
|
-
"type": "AccountId",
|
|
1372
|
-
"isOptional": false
|
|
1373
|
-
},
|
|
1374
|
-
{
|
|
1375
|
-
"name": "blockHash",
|
|
1376
|
-
"type": "Hash",
|
|
1377
|
-
"isOptional": true
|
|
1378
|
-
}
|
|
1379
|
-
],
|
|
1380
|
-
"type": "Vec<PipId>"
|
|
1381
|
-
}
|
|
1382
|
-
},
|
|
1383
|
-
"protocolFee": {
|
|
1384
|
-
"computeFee": {
|
|
1385
|
-
"description": "Gets the fee of a chargeable extrinsic operation",
|
|
1386
|
-
"params": [
|
|
1387
|
-
{
|
|
1388
|
-
"name": "op",
|
|
1389
|
-
"type": "ProtocolOp",
|
|
1390
|
-
"isOptional": false
|
|
1391
|
-
},
|
|
1392
|
-
{
|
|
1393
|
-
"name": "blockHash",
|
|
1394
|
-
"type": "Hash",
|
|
1395
|
-
"isOptional": true
|
|
1396
|
-
}
|
|
1397
|
-
],
|
|
1398
|
-
"type": "CappedFee"
|
|
1399
|
-
}
|
|
1400
|
-
},
|
|
1401
|
-
"staking": {
|
|
1402
|
-
"getCurve": {
|
|
1403
|
-
"description": "Retrieves curves parameters",
|
|
1404
|
-
"params": [
|
|
1405
|
-
{
|
|
1406
|
-
"name": "blockHash",
|
|
1407
|
-
"type": "Hash",
|
|
1408
|
-
"isOptional": true
|
|
1409
|
-
}
|
|
1410
|
-
],
|
|
1411
|
-
"type": "Vec<(Perbill, Perbill)>"
|
|
1412
|
-
}
|
|
1413
|
-
},
|
|
1414
|
-
"asset": {
|
|
1415
|
-
"canTransfer": {
|
|
1416
|
-
"description": "Checks whether a transaction with given parameters can take place or not",
|
|
1417
|
-
"params": [
|
|
1418
|
-
{
|
|
1419
|
-
"name": "sender",
|
|
1420
|
-
"type": "AccountId",
|
|
1421
|
-
"isOptional": false
|
|
1422
|
-
},
|
|
1423
|
-
{
|
|
1424
|
-
"name": "from_custodian",
|
|
1425
|
-
"type": "Option<IdentityId>",
|
|
1426
|
-
"isOptional": false
|
|
1427
|
-
},
|
|
1428
|
-
{
|
|
1429
|
-
"name": "from_portfolio",
|
|
1430
|
-
"type": "PortfolioId",
|
|
1431
|
-
"isOptional": false
|
|
1432
|
-
},
|
|
1433
|
-
{
|
|
1434
|
-
"name": "to_custodian",
|
|
1435
|
-
"type": "Option<IdentityId>",
|
|
1436
|
-
"isOptional": false
|
|
1437
|
-
},
|
|
1438
|
-
{
|
|
1439
|
-
"name": "to_portfolio",
|
|
1440
|
-
"type": "PortfolioId",
|
|
1441
|
-
"isOptional": false
|
|
1442
|
-
},
|
|
1443
|
-
{
|
|
1444
|
-
"name": "ticker",
|
|
1445
|
-
"type": "Ticker",
|
|
1446
|
-
"isOptional": false
|
|
1447
|
-
},
|
|
1448
|
-
{
|
|
1449
|
-
"name": "value",
|
|
1450
|
-
"type": "Balance",
|
|
1451
|
-
"isOptional": false
|
|
1452
|
-
},
|
|
1453
|
-
{
|
|
1454
|
-
"name": "blockHash",
|
|
1455
|
-
"type": "Hash",
|
|
1456
|
-
"isOptional": true
|
|
1457
|
-
}
|
|
1458
|
-
],
|
|
1459
|
-
"type": "CanTransferResult"
|
|
1460
|
-
},
|
|
1461
|
-
"canTransferGranular": {
|
|
1462
|
-
"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.",
|
|
1463
|
-
"params": [
|
|
1464
|
-
{
|
|
1465
|
-
"name": "from_custodian",
|
|
1466
|
-
"type": "Option<IdentityId>",
|
|
1467
|
-
"isOptional": false
|
|
1468
|
-
},
|
|
1469
|
-
{
|
|
1470
|
-
"name": "from_portfolio",
|
|
1471
|
-
"type": "PortfolioId",
|
|
1472
|
-
"isOptional": false
|
|
1473
|
-
},
|
|
1474
|
-
{
|
|
1475
|
-
"name": "to_custodian",
|
|
1476
|
-
"type": "Option<IdentityId>",
|
|
1477
|
-
"isOptional": false
|
|
1478
|
-
},
|
|
1479
|
-
{
|
|
1480
|
-
"name": "to_portfolio",
|
|
1481
|
-
"type": "PortfolioId",
|
|
1482
|
-
"isOptional": false
|
|
1483
|
-
},
|
|
1484
|
-
{
|
|
1485
|
-
"name": "ticker",
|
|
1486
|
-
"type": "Ticker",
|
|
1487
|
-
"isOptional": false
|
|
1488
|
-
},
|
|
1489
|
-
{
|
|
1490
|
-
"name": "value",
|
|
1491
|
-
"type": "Balance",
|
|
1492
|
-
"isOptional": false
|
|
1493
|
-
},
|
|
1494
|
-
{
|
|
1495
|
-
"name": "blockHash",
|
|
1496
|
-
"type": "Hash",
|
|
1497
|
-
"isOptional": true
|
|
1498
|
-
}
|
|
1499
|
-
],
|
|
1500
|
-
"type": "GranularCanTransferResult"
|
|
1501
|
-
}
|
|
1502
|
-
},
|
|
1503
|
-
"group": {
|
|
1504
|
-
"getCDDValidMembers": {
|
|
1505
|
-
"description": "Get the CDD members",
|
|
1506
|
-
"params": [
|
|
1507
|
-
{
|
|
1508
|
-
"name": "blockHash",
|
|
1509
|
-
"type": "Hash",
|
|
1510
|
-
"isOptional": true
|
|
1511
|
-
}
|
|
1512
|
-
],
|
|
1513
|
-
"type": "Vec<Member>"
|
|
1514
|
-
},
|
|
1515
|
-
"getGCValidMembers": {
|
|
1516
|
-
"description": "Get the GC members",
|
|
1517
|
-
"params": [
|
|
1518
|
-
{
|
|
1519
|
-
"name": "blockHash",
|
|
1520
|
-
"type": "Hash",
|
|
1521
|
-
"isOptional": true
|
|
1522
|
-
}
|
|
1523
|
-
],
|
|
1524
|
-
"type": "Vec<Member>"
|
|
1525
|
-
}
|
|
1526
|
-
}
|
|
1527
|
-
},
|
|
1528
|
-
"signedExtensions": {
|
|
1529
|
-
"StoreCallMetadata": {
|
|
1530
|
-
"extrinsic": {},
|
|
1531
|
-
"payload": {}
|
|
1532
|
-
}
|
|
1533
|
-
}
|
|
1534
|
-
}
|