@polymeshassociation/polymesh-types 6.1.0 → 6.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.
Files changed (41) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/generated/types.d.ts +44 -9
  3. package/generated/types.d.ts.map +1 -1
  4. package/generated/types.js +38 -1
  5. package/generated/types.js.map +1 -1
  6. package/package.json +1 -1
  7. package/polkadot/augment-api-consts.d.ts +128 -91
  8. package/polkadot/augment-api-consts.d.ts.map +1 -1
  9. package/polkadot/augment-api-errors.d.ts +191 -48
  10. package/polkadot/augment-api-errors.d.ts.map +1 -1
  11. package/polkadot/augment-api-events.d.ts +469 -128
  12. package/polkadot/augment-api-events.d.ts.map +1 -1
  13. package/polkadot/augment-api-query.d.ts +267 -70
  14. package/polkadot/augment-api-query.d.ts.map +1 -1
  15. package/polkadot/augment-api-runtime.d.ts +33 -5
  16. package/polkadot/augment-api-runtime.d.ts.map +1 -1
  17. package/polkadot/augment-api-tx.d.ts +477 -150
  18. package/polkadot/augment-api-tx.d.ts.map +1 -1
  19. package/polkadot/lookup.d.ts +971 -665
  20. package/polkadot/lookup.d.ts.map +1 -1
  21. package/polkadot/lookup.js +1068 -701
  22. package/polkadot/lookup.js.map +1 -1
  23. package/polkadot/polymesh/definitions.d.ts +56 -2
  24. package/polkadot/polymesh/definitions.d.ts.map +1 -1
  25. package/polkadot/polymesh/definitions.js +20 -0
  26. package/polkadot/polymesh/definitions.js.map +1 -1
  27. package/polkadot/registry.d.ts +33 -19
  28. package/polkadot/registry.d.ts.map +1 -1
  29. package/polkadot/schema.d.ts +56 -2
  30. package/polkadot/schema.d.ts.map +1 -1
  31. package/polkadot/schema.js +20 -0
  32. package/polkadot/schema.js.map +1 -1
  33. package/polkadot/types-lookup.d.ts +1010 -726
  34. package/polkadot/types-lookup.d.ts.map +1 -1
  35. package/runtime/settlementApi/v2.d.ts.map +1 -1
  36. package/runtime/settlementApi/v2.js +20 -0
  37. package/runtime/settlementApi/v2.js.map +1 -1
  38. package/types/8.0.x.json +658 -0
  39. package/types/index.d.ts.map +1 -1
  40. package/types/index.js +2 -0
  41. package/types/index.js.map +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"v2.d.ts","sourceRoot":"","sources":["../../../src/runtime/settlementApi/v2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAqD1D,CAAC"}
1
+ {"version":3,"file":"v2.d.ts","sourceRoot":"","sources":["../../../src/runtime/settlementApi/v2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAyE1D,CAAC"}
@@ -50,5 +50,25 @@ exports.SettlementApiV2 = {
50
50
  ],
51
51
  type: 'Vec<DispatchError>',
52
52
  },
53
+ instruction_asset_count: {
54
+ description: 'Returns the AssetCount for the given instruction.',
55
+ params: [
56
+ {
57
+ name: 'instruction_id',
58
+ type: 'InstructionId',
59
+ },
60
+ ],
61
+ type: 'AssetCount',
62
+ },
63
+ lock_instruction_weight: {
64
+ description: 'Returns the weight for executing lock_instruction.',
65
+ params: [
66
+ {
67
+ name: 'instruction_id',
68
+ type: 'InstructionId',
69
+ },
70
+ ],
71
+ type: 'Result<Weight, DispatchError>',
72
+ },
53
73
  };
54
74
  //# sourceMappingURL=v2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"v2.js","sourceRoot":"","sources":["../../../src/runtime/settlementApi/v2.ts"],"names":[],"mappings":";;;AAEa,QAAA,eAAe,GAAmC;IAC7D,4BAA4B,EAAE;QAC5B,WAAW,EACT,wHAAwH;QAC1H,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,eAAe;aACtB;SACF;QACD,IAAI,EAAE,gCAAgC;KACvC;IACD,qBAAqB,EAAE;QACrB,WAAW,EACT,kKAAkK;QACpK,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,eAAe;aACtB;YACD;gBACE,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,kBAAkB;aACzB;SACF;QACD,IAAI,EAAE,kBAAkB;KACzB;IACD,mBAAmB,EAAE;QACnB,WAAW,EACT,+FAA+F;QACjG,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,KAAK;aACZ;YACD;gBACE,IAAI,EAAE,mBAAmB;gBACzB,IAAI,EAAE,MAAM;aACb;SACF;QACD,IAAI,EAAE,oBAAoB;KAC3B;IACD,8BAA8B,EAAE;QAC9B,WAAW,EACT,gGAAgG;QAClG,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,eAAe;aACtB;SACF;QACD,IAAI,EAAE,oBAAoB;KAC3B;CACF,CAAC"}
1
+ {"version":3,"file":"v2.js","sourceRoot":"","sources":["../../../src/runtime/settlementApi/v2.ts"],"names":[],"mappings":";;;AAEa,QAAA,eAAe,GAAmC;IAC7D,4BAA4B,EAAE;QAC5B,WAAW,EACT,wHAAwH;QAC1H,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,eAAe;aACtB;SACF;QACD,IAAI,EAAE,gCAAgC;KACvC;IACD,qBAAqB,EAAE;QACrB,WAAW,EACT,kKAAkK;QACpK,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,eAAe;aACtB;YACD;gBACE,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,kBAAkB;aACzB;SACF;QACD,IAAI,EAAE,kBAAkB;KACzB;IACD,mBAAmB,EAAE;QACnB,WAAW,EACT,+FAA+F;QACjG,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,KAAK;aACZ;YACD;gBACE,IAAI,EAAE,mBAAmB;gBACzB,IAAI,EAAE,MAAM;aACb;SACF;QACD,IAAI,EAAE,oBAAoB;KAC3B;IACD,8BAA8B,EAAE;QAC9B,WAAW,EACT,gGAAgG;QAClG,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,eAAe;aACtB;SACF;QACD,IAAI,EAAE,oBAAoB;KAC3B;IACD,uBAAuB,EAAE;QACvB,WAAW,EAAE,mDAAmD;QAChE,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,eAAe;aACtB;SACF;QACD,IAAI,EAAE,YAAY;KACnB;IACD,uBAAuB,EAAE;QACvB,WAAW,EAAE,oDAAoD;QACjE,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,eAAe;aACtB;SACF;QACD,IAAI,EAAE,+BAA+B;KACtC;CACF,CAAC"}
@@ -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
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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