@polymeshassociation/polymesh-types 5.2.0 → 5.4.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.
@@ -0,0 +1,906 @@
1
+ {
2
+ "Address": "MultiAddress",
3
+ "LookupSource": "MultiAddress",
4
+ "AccountInfo": "AccountInfoWithDualRefCount",
5
+ "IdentityId": "[u8; 32]",
6
+ "EventDid": "IdentityId",
7
+ "EventCounts": "Vec<u32>",
8
+ "ErrorAt": "(u32, DispatchError)",
9
+ "InvestorUid": "[u8; 16]",
10
+ "Ticker": "[u8; 12]",
11
+ "CddId": "[u8; 32]",
12
+ "ScopeId": "[u8; 32]",
13
+ "PosRatio": "(u32, u32)",
14
+ "DocumentId": "u32",
15
+ "DocumentName": "Text",
16
+ "DocumentUri": "Text",
17
+ "DocumentHash": {
18
+ "_enum": {
19
+ "None": "",
20
+ "H512": "[u8; 64]",
21
+ "H384": "[u8; 48]",
22
+ "H320": "[u8; 40]",
23
+ "H256": "[u8; 32]",
24
+ "H224": "[u8; 28]",
25
+ "H192": "[u8; 24]",
26
+ "H160": "[u8; 20]",
27
+ "H128": "[u8; 16]"
28
+ }
29
+ },
30
+ "DocumentType": "Text",
31
+ "Document": {
32
+ "uri": "DocumentUri",
33
+ "content_hash": "DocumentHash",
34
+ "name": "DocumentName",
35
+ "doc_type": "Option<DocumentType>",
36
+ "filing_date": "Option<Moment>"
37
+ },
38
+ "Version": "u8",
39
+ "CustomAssetTypeId": "u32",
40
+ "AssetType": {
41
+ "_enum": {
42
+ "EquityCommon": "",
43
+ "EquityPreferred": "",
44
+ "Commodity": "",
45
+ "FixedIncome": "",
46
+ "REIT": "",
47
+ "Fund": "",
48
+ "RevenueShareAgreement": "",
49
+ "StructuredProduct": "",
50
+ "Derivative": "",
51
+ "Custom": "CustomAssetTypeId",
52
+ "StableCoin": ""
53
+ }
54
+ },
55
+ "AssetIdentifier": {
56
+ "_enum": {
57
+ "CUSIP": "[u8; 9]",
58
+ "CINS": "[u8; 9]",
59
+ "ISIN": "[u8; 12]",
60
+ "LEI": "[u8; 20]"
61
+ }
62
+ },
63
+ "AssetOwnershipRelation": { "_enum": { "NotOwned": "", "TickerOwned": "", "AssetOwned": "" } },
64
+ "AssetName": "Text",
65
+ "FundingRoundName": "Text",
66
+ "VenueDetails": "Text",
67
+ "SecurityToken": {
68
+ "total_supply": "Balance",
69
+ "owner_did": "IdentityId",
70
+ "divisible": "bool",
71
+ "asset_type": "AssetType"
72
+ },
73
+ "AssetMetadataName": "Text",
74
+ "AssetMetadataValue": "Vec<u8>",
75
+ "AssetMetadataLocalKey": "u64",
76
+ "AssetMetadataGlobalKey": "u64",
77
+ "AssetMetadataKey": { "_enum": { "Global": "u64", "Local": "u64" } },
78
+ "AssetMetadataLockStatus": { "_enum": { "Unlocked": "", "Locked": "", "LockedUntil": "Moment" } },
79
+ "AssetMetadataValueDetail": {
80
+ "expire": "Option<Moment>",
81
+ "lock_status": "AssetMetadataLockStatus"
82
+ },
83
+ "AssetMetadataDescription": "Text",
84
+ "AssetMetadataSpec": {
85
+ "url": "Option<Url>",
86
+ "description": "Option<AssetMetadataDescription>",
87
+ "type_def": "Option<Vec<u8>>"
88
+ },
89
+ "PalletName": "Text",
90
+ "DispatchableName": "Text",
91
+ "AssetPermissions": { "_enum": { "Whole": "", "These": "Vec<Ticker>", "Except": "Vec<Ticker>" } },
92
+ "PortfolioPermissions": {
93
+ "_enum": { "Whole": "", "These": "Vec<PortfolioId>", "Except": "Vec<PortfolioId>" }
94
+ },
95
+ "DispatchableNames": {
96
+ "_enum": {
97
+ "Whole": "",
98
+ "These": "Vec<DispatchableName>",
99
+ "Except": "Vec<DispatchableName>"
100
+ }
101
+ },
102
+ "PalletPermissions": { "pallet_name": "PalletName", "dispatchable_names": "DispatchableNames" },
103
+ "ExtrinsicPermissions": {
104
+ "_enum": {
105
+ "Whole": "",
106
+ "These": "Vec<PalletPermissions>",
107
+ "Except": "Vec<PalletPermissions>"
108
+ }
109
+ },
110
+ "Permissions": {
111
+ "asset": "AssetPermissions",
112
+ "extrinsic": "ExtrinsicPermissions",
113
+ "portfolio": "PortfolioPermissions"
114
+ },
115
+ "LegacyPalletPermissions": {
116
+ "pallet_name": "PalletName",
117
+ "total": "bool",
118
+ "dispatchable_names": "Vec<DispatchableName>"
119
+ },
120
+ "LegacyPermissions": {
121
+ "asset": "Option<Vec<Ticker>>",
122
+ "extrinsic": "Option<Vec<LegacyPalletPermissions>>",
123
+ "portfolio": "Option<Vec<PortfolioId>>"
124
+ },
125
+ "Signatory": { "_enum": { "Identity": "IdentityId", "Account": "AccountId" } },
126
+ "SecondaryKey": { "key": "AccountId", "permissions": "Permissions" },
127
+ "SecondaryKeyWithAuth": { "secondary_key": "SecondaryKey", "auth_signature": "H512" },
128
+ "Subsidy": { "paying_key": "AccountId", "remaining": "Balance" },
129
+ "IdentityRole": {
130
+ "_enum": [
131
+ "Issuer",
132
+ "SimpleTokenIssuer",
133
+ "Validator",
134
+ "ClaimIssuer",
135
+ "Investor",
136
+ "NodeRunner",
137
+ "PM",
138
+ "CDDAMLClaimIssuer",
139
+ "AccreditedInvestorClaimIssuer",
140
+ "VerifiedIdentityClaimIssuer"
141
+ ]
142
+ },
143
+ "PreAuthorizedKeyInfo": { "target_id": "IdentityId", "secondary_key": "SecondaryKey" },
144
+ "DidRecord": {
145
+ "primary_key": "Option<AccountId>"
146
+ },
147
+ "KeyRecord": {
148
+ "_enum": {
149
+ "PrimaryKey": "IdentityId",
150
+ "SecondaryKey": "(IdentityId, Permissions)",
151
+ "MultiSigSignerKey": "AccountId"
152
+ }
153
+ },
154
+ "KeyIdentityData": { "identity": "IdentityId", "permissions": "Option<Permissions>" },
155
+ "CountryCode": {
156
+ "_enum": [
157
+ "AF",
158
+ "AX",
159
+ "AL",
160
+ "DZ",
161
+ "AS",
162
+ "AD",
163
+ "AO",
164
+ "AI",
165
+ "AQ",
166
+ "AG",
167
+ "AR",
168
+ "AM",
169
+ "AW",
170
+ "AU",
171
+ "AT",
172
+ "AZ",
173
+ "BS",
174
+ "BH",
175
+ "BD",
176
+ "BB",
177
+ "BY",
178
+ "BE",
179
+ "BZ",
180
+ "BJ",
181
+ "BM",
182
+ "BT",
183
+ "BO",
184
+ "BA",
185
+ "BW",
186
+ "BV",
187
+ "BR",
188
+ "VG",
189
+ "IO",
190
+ "BN",
191
+ "BG",
192
+ "BF",
193
+ "BI",
194
+ "KH",
195
+ "CM",
196
+ "CA",
197
+ "CV",
198
+ "KY",
199
+ "CF",
200
+ "TD",
201
+ "CL",
202
+ "CN",
203
+ "HK",
204
+ "MO",
205
+ "CX",
206
+ "CC",
207
+ "CO",
208
+ "KM",
209
+ "CG",
210
+ "CD",
211
+ "CK",
212
+ "CR",
213
+ "CI",
214
+ "HR",
215
+ "CU",
216
+ "CY",
217
+ "CZ",
218
+ "DK",
219
+ "DJ",
220
+ "DM",
221
+ "DO",
222
+ "EC",
223
+ "EG",
224
+ "SV",
225
+ "GQ",
226
+ "ER",
227
+ "EE",
228
+ "ET",
229
+ "FK",
230
+ "FO",
231
+ "FJ",
232
+ "FI",
233
+ "FR",
234
+ "GF",
235
+ "PF",
236
+ "TF",
237
+ "GA",
238
+ "GM",
239
+ "GE",
240
+ "DE",
241
+ "GH",
242
+ "GI",
243
+ "GR",
244
+ "GL",
245
+ "GD",
246
+ "GP",
247
+ "GU",
248
+ "GT",
249
+ "GG",
250
+ "GN",
251
+ "GW",
252
+ "GY",
253
+ "HT",
254
+ "HM",
255
+ "VA",
256
+ "HN",
257
+ "HU",
258
+ "IS",
259
+ "IN",
260
+ "ID",
261
+ "IR",
262
+ "IQ",
263
+ "IE",
264
+ "IM",
265
+ "IL",
266
+ "IT",
267
+ "JM",
268
+ "JP",
269
+ "JE",
270
+ "JO",
271
+ "KZ",
272
+ "KE",
273
+ "KI",
274
+ "KP",
275
+ "KR",
276
+ "KW",
277
+ "KG",
278
+ "LA",
279
+ "LV",
280
+ "LB",
281
+ "LS",
282
+ "LR",
283
+ "LY",
284
+ "LI",
285
+ "LT",
286
+ "LU",
287
+ "MK",
288
+ "MG",
289
+ "MW",
290
+ "MY",
291
+ "MV",
292
+ "ML",
293
+ "MT",
294
+ "MH",
295
+ "MQ",
296
+ "MR",
297
+ "MU",
298
+ "YT",
299
+ "MX",
300
+ "FM",
301
+ "MD",
302
+ "MC",
303
+ "MN",
304
+ "ME",
305
+ "MS",
306
+ "MA",
307
+ "MZ",
308
+ "MM",
309
+ "NA",
310
+ "NR",
311
+ "NP",
312
+ "NL",
313
+ "AN",
314
+ "NC",
315
+ "NZ",
316
+ "NI",
317
+ "NE",
318
+ "NG",
319
+ "NU",
320
+ "NF",
321
+ "MP",
322
+ "NO",
323
+ "OM",
324
+ "PK",
325
+ "PW",
326
+ "PS",
327
+ "PA",
328
+ "PG",
329
+ "PY",
330
+ "PE",
331
+ "PH",
332
+ "PN",
333
+ "PL",
334
+ "PT",
335
+ "PR",
336
+ "QA",
337
+ "RE",
338
+ "RO",
339
+ "RU",
340
+ "RW",
341
+ "BL",
342
+ "SH",
343
+ "KN",
344
+ "LC",
345
+ "MF",
346
+ "PM",
347
+ "VC",
348
+ "WS",
349
+ "SM",
350
+ "ST",
351
+ "SA",
352
+ "SN",
353
+ "RS",
354
+ "SC",
355
+ "SL",
356
+ "SG",
357
+ "SK",
358
+ "SI",
359
+ "SB",
360
+ "SO",
361
+ "ZA",
362
+ "GS",
363
+ "SS",
364
+ "ES",
365
+ "LK",
366
+ "SD",
367
+ "SR",
368
+ "SJ",
369
+ "SZ",
370
+ "SE",
371
+ "CH",
372
+ "SY",
373
+ "TW",
374
+ "TJ",
375
+ "TZ",
376
+ "TH",
377
+ "TL",
378
+ "TG",
379
+ "TK",
380
+ "TO",
381
+ "TT",
382
+ "TN",
383
+ "TR",
384
+ "TM",
385
+ "TC",
386
+ "TV",
387
+ "UG",
388
+ "UA",
389
+ "AE",
390
+ "GB",
391
+ "US",
392
+ "UM",
393
+ "UY",
394
+ "UZ",
395
+ "VU",
396
+ "VE",
397
+ "VN",
398
+ "VI",
399
+ "WF",
400
+ "EH",
401
+ "YE",
402
+ "ZM",
403
+ "ZW",
404
+ "BQ",
405
+ "CW",
406
+ "SX"
407
+ ]
408
+ },
409
+ "Scope": {
410
+ "_enum": { "Identity": "IdentityId", "Ticker": "Ticker", "Custom": "Vec<u8>" }
411
+ },
412
+ "InvestorZKProofData": { "r": "CompressedRistretto", "s": "Scalar" },
413
+ "CompressedRistretto": "[u8; 32]",
414
+ "Scalar": "[u8; 32]",
415
+ "RistrettoPoint": "[u8; 32]",
416
+ "ZkProofData": {
417
+ "challenge_responses": "[Scalar; 2]",
418
+ "subtract_expressions_res": "RistrettoPoint",
419
+ "blinded_scope_did_hash": "RistrettoPoint"
420
+ },
421
+ "ScopeClaimProof": {
422
+ "proof_scope_id_wellformed": "Signature",
423
+ "proof_scope_id_cdd_id_match": "ZkProofData",
424
+ "scope_id": "RistrettoPoint"
425
+ },
426
+ "Claim": {
427
+ "_enum": {
428
+ "Accredited": "Scope",
429
+ "Affiliate": "Scope",
430
+ "BuyLockup": "Scope",
431
+ "SellLockup": "Scope",
432
+ "CustomerDueDiligence": "CddId",
433
+ "KnowYourCustomer": "Scope",
434
+ "Jurisdiction": "(CountryCode, Scope)",
435
+ "Exempted": "Scope",
436
+ "Blocked": "Scope",
437
+ "InvestorUniqueness": "(Scope, ScopeId, CddId)",
438
+ "NoData": "",
439
+ "InvestorUniquenessV2": "(CddId)"
440
+ }
441
+ },
442
+ "ClaimType": {
443
+ "_enum": {
444
+ "Accredited": "",
445
+ "Affiliate": "",
446
+ "BuyLockup": "",
447
+ "SellLockup": "",
448
+ "CustomerDueDiligence": "",
449
+ "KnowYourCustomer": "",
450
+ "Jurisdiction": "",
451
+ "Exempted": "",
452
+ "Blocked": "",
453
+ "InvestorUniqueness": "",
454
+ "NoData": "",
455
+ "InvestorUniquenessV2": ""
456
+ }
457
+ },
458
+ "IdentityClaim": {
459
+ "claim_issuer": "IdentityId",
460
+ "issuance_date": "Moment",
461
+ "last_update_date": "Moment",
462
+ "expiry": "Option<Moment>",
463
+ "claim": "Claim"
464
+ },
465
+ "ComplianceRequirement": {
466
+ "sender_conditions": "Vec<Condition>",
467
+ "receiver_conditions": "Vec<Condition>",
468
+ "id": "u32"
469
+ },
470
+ "ComplianceRequirementResult": {
471
+ "sender_conditions": "Vec<ConditionResult>",
472
+ "receiver_conditions": "Vec<ConditionResult>",
473
+ "id": "u32",
474
+ "result": "bool"
475
+ },
476
+ "ConditionType": {
477
+ "_enum": {
478
+ "IsPresent": "Claim",
479
+ "IsAbsent": "Claim",
480
+ "IsAnyOf": "Vec<Claim>",
481
+ "IsNoneOf": "Vec<Claim>",
482
+ "IsIdentity": "TargetIdentity"
483
+ }
484
+ },
485
+ "TrustedFor": { "_enum": { "Any": "", "Specific": "Vec<ClaimType>" } },
486
+ "TrustedIssuer": { "issuer": "IdentityId", "trusted_for": "TrustedFor" },
487
+ "Condition": {
488
+ "condition_type": "ConditionType",
489
+ "issuers": "Vec<PolymeshPrimitivesConditionTrustedIssuer>"
490
+ },
491
+ "ConditionResult": { "condition": "Condition", "result": "bool" },
492
+ "TargetIdAuthorization": { "target_id": "IdentityId", "nonce": "u64", "expires_at": "Moment" },
493
+ "TickerRegistration": { "owner": "IdentityId", "expiry": "Option<Moment>" },
494
+ "TickerRegistrationConfig": {
495
+ "max_ticker_length": "u8",
496
+ "registration_length": "Option<Moment>"
497
+ },
498
+ "ClassicTickerRegistration": { "eth_owner": "EthereumAddress", "is_created": "bool" },
499
+ "ClassicTickerImport": {
500
+ "eth_owner": "EthereumAddress",
501
+ "ticker": "Ticker",
502
+ "is_contract": "bool",
503
+ "is_created": "bool"
504
+ },
505
+ "EthereumAddress": "[u8; 20]",
506
+ "EcdsaSignature": "[u8; 65]",
507
+ "MotionTitle": "Text",
508
+ "MotionInfoLink": "Text",
509
+ "ChoiceTitle": "Text",
510
+ "Motion": {
511
+ "title": "MotionTitle",
512
+ "info_link": "MotionInfoLink",
513
+ "choices": "Vec<ChoiceTitle>"
514
+ },
515
+ "BallotTitle": "Text",
516
+ "BallotMeta": { "title": "BallotTitle", "motions": "Vec<Motion>" },
517
+ "BallotTimeRange": { "start": "Moment", "end": "Moment" },
518
+ "BallotVote": { "power": "Balance", "fallback": "Option<u16>" },
519
+ "MaybeBlock": { "_enum": { "Some": "BlockNumber", "None": "" } },
520
+ "Url": "Text",
521
+ "PipDescription": "Text",
522
+ "PipsMetadata": {
523
+ "id": "PipId",
524
+ "url": "Option<Url>",
525
+ "description": "Option<PipDescription>",
526
+ "created_at": "BlockNumber",
527
+ "transaction_version": "u32",
528
+ "expiry": "MaybeBlock"
529
+ },
530
+ "Proposer": { "_enum": { "Community": "AccountId", "Committee": "Committee" } },
531
+ "Committee": { "_enum": { "Technical": "", "Upgrade": "" } },
532
+ "SkippedCount": "u8",
533
+ "SnapshottedPip": { "id": "PipId", "weight": "(bool, Balance)" },
534
+ "SnapshotId": "u32",
535
+ "SnapshotMetadata": { "created_at": "BlockNumber", "made_by": "AccountId", "id": "SnapshotId" },
536
+ "SnapshotResult": { "_enum": { "Approve": "", "Reject": "", "Skip": "" } },
537
+ "Beneficiary": { "id": "IdentityId", "amount": "Balance" },
538
+ "DepositInfo": { "owner": "AccountId", "amount": "Balance" },
539
+ "PolymeshVotes": {
540
+ "index": "u32",
541
+ "ayes": "Vec<IdentityId>",
542
+ "nays": "Vec<IdentityId>",
543
+ "expiry": "MaybeBlock"
544
+ },
545
+ "PipId": "u32",
546
+ "ProposalState": {
547
+ "_enum": ["Pending", "Rejected", "Scheduled", "Failed", "Executed", "Expired"]
548
+ },
549
+ "Pip": {
550
+ "id": "PipId",
551
+ "proposal": "Call",
552
+ "state": "ProposalState",
553
+ "proposer": "Proposer"
554
+ },
555
+ "ProposalData": { "_enum": { "Hash": "Hash", "Proposal": "Vec<u8>" } },
556
+ "OffChainSignature": "MultiSignature",
557
+ "Authorization": {
558
+ "authorization_data": "AuthorizationData",
559
+ "authorized_by": "IdentityId",
560
+ "expiry": "Option<Moment>",
561
+ "auth_id": "u64"
562
+ },
563
+ "AuthorizationData": {
564
+ "_enum": {
565
+ "AttestPrimaryKeyRotation": "IdentityId",
566
+ "RotatePrimaryKey": "",
567
+ "TransferTicker": "Ticker",
568
+ "AddMultiSigSigner": "AccountId",
569
+ "TransferAssetOwnership": "Ticker",
570
+ "JoinIdentity": "Permissions",
571
+ "PortfolioCustody": "PortfolioId",
572
+ "BecomeAgent": "(Ticker, AgentGroup)",
573
+ "AddRelayerPayingKey": "(AccountId, AccountId, Balance)",
574
+ "RotatePrimaryKeyToSecondary": "Permissions"
575
+ }
576
+ },
577
+ "SmartExtensionType": {
578
+ "_enum": {
579
+ "TransferManager": "",
580
+ "Offerings": "",
581
+ "SmartWallet": "",
582
+ "Custom": "Vec<u8>"
583
+ }
584
+ },
585
+ "SmartExtensionName": "Text",
586
+ "SmartExtension": {
587
+ "extension_type": "SmartExtensionType",
588
+ "extension_name": "SmartExtensionName",
589
+ "extension_id": "AccountId",
590
+ "is_archive": "bool"
591
+ },
592
+ "MetaUrl": "Text",
593
+ "MetaDescription": "Text",
594
+ "MetaVersion": "u32",
595
+ "ExtVersion": "u32",
596
+ "TemplateMetadata": {
597
+ "url": "Option<MetaUrl>",
598
+ "se_type": "SmartExtensionType",
599
+ "usage_fee": "Balance",
600
+ "description": "MetaDescription",
601
+ "version": "MetaVersion"
602
+ },
603
+ "TemplateDetails": { "instantiation_fee": "Balance", "owner": "IdentityId", "frozen": "bool" },
604
+ "AuthorizationNonce": "u64",
605
+ "Percentage": "Permill",
606
+ "RestrictionResult": { "_enum": ["Valid", "Invalid", "ForceValid"] },
607
+ "Memo": "[u8; 32]",
608
+ "BridgeTx": {
609
+ "nonce": "u32",
610
+ "recipient": "AccountId",
611
+ "amount": "Balance",
612
+ "tx_hash": "H256"
613
+ },
614
+ "AssetScope": { "_enum": { "Ticker": "Ticker" } },
615
+ "StatOpType": { "_enum": ["Count", "Balance"] },
616
+ "StatType": { "op": "StatOpType", "claim_issuer": "Option<(ClaimType, IdentityId)>" },
617
+ "StatClaim": {
618
+ "_enum": {
619
+ "Accredited": "bool",
620
+ "Affiliate": "bool",
621
+ "Jurisdiction": "Option<CountryCode>"
622
+ }
623
+ },
624
+ "Stat1stKey": { "asset": "AssetScope", "stat_type": "StatType" },
625
+ "Stat2ndKey": { "_enum": { "NoClaimStat": "", "Claim": "StatClaim" } },
626
+ "StatUpdate": { "key2": "Stat2ndKey", "value": "Option<u128>" },
627
+ "TransferCondition": {
628
+ "_enum": {
629
+ "MaxInvestorCount": "u64",
630
+ "MaxInvestorOwnership": "Percentage",
631
+ "ClaimCount": "(StatClaim, IdentityId, u64, Option<u64>)",
632
+ "ClaimOwnership": "(StatClaim, IdentityId, Percentage, Percentage)"
633
+ }
634
+ },
635
+ "AssetTransferCompliance": { "paused": "bool", "requirements": "Vec<TransferCondition>" },
636
+ "TransferConditionExemptKey": {
637
+ "asset": "AssetScope",
638
+ "op": "StatOpType",
639
+ "claim_type": "Option<ClaimType>"
640
+ },
641
+ "AssetCompliance": { "paused": "bool", "requirements": "Vec<ComplianceRequirement>" },
642
+ "AssetComplianceResult": {
643
+ "paused": "bool",
644
+ "requirements": "Vec<ComplianceRequirementResult>",
645
+ "result": "bool"
646
+ },
647
+ "Claim1stKey": { "target": "IdentityId", "claim_type": "ClaimType" },
648
+ "Claim2ndKey": { "issuer": "IdentityId", "scope": "Option<Scope>" },
649
+ "InactiveMember": { "id": "IdentityId", "deactivated_at": "Moment", "expiry": "Option<Moment>" },
650
+ "VotingResult": {
651
+ "ayes_count": "u32",
652
+ "ayes_stake": "Balance",
653
+ "nays_count": "u32",
654
+ "nays_stake": "Balance"
655
+ },
656
+ "ProtocolOp": {
657
+ "_enum": [
658
+ "AssetRegisterTicker",
659
+ "AssetIssue",
660
+ "AssetAddDocuments",
661
+ "AssetCreateAsset",
662
+ "CheckpointCreateSchedule",
663
+ "ComplianceManagerAddComplianceRequirement",
664
+ "IdentityCddRegisterDid",
665
+ "IdentityAddClaim",
666
+ "IdentityAddSecondaryKeysWithAuthorization",
667
+ "PipsPropose",
668
+ "ContractsPutCode",
669
+ "CorporateBallotAttachBallot",
670
+ "CapitalDistributionDistribute"
671
+ ]
672
+ },
673
+ "CddStatus": { "_enum": { "Ok": "IdentityId", "Err": "Vec<u8>" } },
674
+ "AssetDidResult": { "_enum": { "Ok": "IdentityId", "Err": "Vec<u8>" } },
675
+ "RpcDidRecordsSuccess": { "primary_key": "AccountId", "secondary_keys": "Vec<SecondaryKey>" },
676
+ "RpcDidRecords": { "_enum": { "Success": "RpcDidRecordsSuccess", "IdNotFound": "Vec<u8>" } },
677
+ "VoteCountProposalFound": { "ayes": "u64", "nays": "u64" },
678
+ "VoteCount": {
679
+ "_enum": { "ProposalFound": "VoteCountProposalFound", "ProposalNotFound": "" }
680
+ },
681
+ "Vote": "(bool, Balance)",
682
+ "VoteByPip": { "pip": "PipId", "vote": "Vote" },
683
+ "BridgeTxDetail": {
684
+ "amount": "Balance",
685
+ "status": "BridgeTxStatus",
686
+ "execution_block": "BlockNumber",
687
+ "tx_hash": "H256"
688
+ },
689
+ "BridgeTxStatus": {
690
+ "_enum": {
691
+ "Absent": "",
692
+ "Pending": "u8",
693
+ "Frozen": "",
694
+ "Timelocked": "",
695
+ "Handled": ""
696
+ }
697
+ },
698
+ "HandledTxStatus": { "_enum": { "Success": "", "Error": "Text" } },
699
+ "CappedFee": "u64",
700
+ "CanTransferResult": { "_enum": { "Ok": "u8", "Err": "Vec<u8>" } },
701
+ "AuthorizationType": {
702
+ "_enum": {
703
+ "AttestPrimaryKeyRotation": "",
704
+ "RotatePrimaryKey": "",
705
+ "TransferTicker": "",
706
+ "AddMultiSigSigner": "",
707
+ "TransferAssetOwnership": "",
708
+ "JoinIdentity": "",
709
+ "PortfolioCustody": "",
710
+ "BecomeAgent": "",
711
+ "AddRelayerPayingKey": "",
712
+ "RotatePrimaryKeyToSecondary": ""
713
+ }
714
+ },
715
+ "ProposalDetails": {
716
+ "approvals": "u64",
717
+ "rejections": "u64",
718
+ "status": "ProposalStatus",
719
+ "expiry": "Option<Moment>",
720
+ "auto_close": "bool"
721
+ },
722
+ "ProposalStatus": {
723
+ "_enum": {
724
+ "Invalid": "",
725
+ "ActiveOrExpired": "",
726
+ "ExecutionSuccessful": "",
727
+ "ExecutionFailed": "",
728
+ "Rejected": ""
729
+ }
730
+ },
731
+ "DidStatus": { "_enum": { "Unknown": "", "Exists": "", "CddVerified": "" } },
732
+ "PortfolioName": "Text",
733
+ "PortfolioNumber": "u64",
734
+ "PortfolioKind": { "_enum": { "Default": "", "User": "PortfolioNumber" } },
735
+ "PortfolioId": { "did": "IdentityId", "kind": "PortfolioKind" },
736
+ "Moment": "u64",
737
+ "CalendarUnit": { "_enum": ["Second", "Minute", "Hour", "Day", "Week", "Month", "Year"] },
738
+ "CalendarPeriod": { "unit": "CalendarUnit", "amount": "u64" },
739
+ "CheckpointSchedule": { "start": "Moment", "period": "CalendarPeriod" },
740
+ "CheckpointId": "u64",
741
+ "ScheduleId": "u64",
742
+ "StoredSchedule": {
743
+ "schedule": "CheckpointSchedule",
744
+ "id": "ScheduleId",
745
+ "at": "Moment",
746
+ "remaining": "u32"
747
+ },
748
+ "ScheduleSpec": { "start": "Option<Moment>", "period": "CalendarPeriod", "remaining": "u32" },
749
+ "InstructionStatus": { "_enum": { "Unknown": "", "Pending": "", "Failed": "" } },
750
+ "LegStatus": {
751
+ "_enum": {
752
+ "PendingTokenLock": "",
753
+ "ExecutionPending": "",
754
+ "ExecutionToBeSkipped": "(AccountId, u64)"
755
+ }
756
+ },
757
+ "AffirmationStatus": { "_enum": { "Unknown": "", "Pending": "", "Affirmed": "" } },
758
+ "SettlementType": { "_enum": { "SettleOnAffirmation": "", "SettleOnBlock": "BlockNumber" } },
759
+ "LegId": "u64",
760
+ "InstructionId": "u64",
761
+ "Instruction": {
762
+ "instruction_id": "InstructionId",
763
+ "venue_id": "VenueId",
764
+ "status": "InstructionStatus",
765
+ "settlement_type": "SettlementType",
766
+ "created_at": "Option<Moment>",
767
+ "trade_date": "Option<Moment>",
768
+ "value_date": "Option<Moment>"
769
+ },
770
+ "Leg": {
771
+ "from": "PortfolioId",
772
+ "to": "PortfolioId",
773
+ "asset": "Ticker",
774
+ "amount": "Balance"
775
+ },
776
+ "Venue": { "creator": "IdentityId", "venue_type": "VenueType" },
777
+ "Receipt": {
778
+ "receipt_uid": "u64",
779
+ "from": "PortfolioId",
780
+ "to": "PortfolioId",
781
+ "asset": "Ticker",
782
+ "amount": "Balance"
783
+ },
784
+ "ReceiptMetadata": "Text",
785
+ "ReceiptDetails": {
786
+ "receipt_uid": "u64",
787
+ "leg_id": "LegId",
788
+ "signer": "AccountId",
789
+ "signature": "OffChainSignature",
790
+ "metadata": "ReceiptMetadata"
791
+ },
792
+ "UniqueCall": { "nonce": "u64", "call": "Call" },
793
+ "MovePortfolioItem": { "ticker": "Ticker", "amount": "Balance", "memo": "Option<Memo>" },
794
+ "WeightToFeeCoefficient": {
795
+ "coeffInteger": "Balance",
796
+ "coeffFrac": "Perbill",
797
+ "negative": "bool",
798
+ "degree": "u8"
799
+ },
800
+ "WeightPerClass": {
801
+ "baseExtrinsic": "Weight",
802
+ "maxExtrinsic": "Option<Weight>",
803
+ "maxTotal": "Option<Weight>",
804
+ "reserved": "Option<Weight>"
805
+ },
806
+ "TargetIdentity": { "_enum": { "ExternalAgent": "", "Specific": "IdentityId" } },
807
+ "FundraiserId": "u64",
808
+ "FundraiserName": "Text",
809
+ "FundraiserStatus": { "_enum": ["Live", "Frozen", "Closed", "ClosedEarly"] },
810
+ "FundraiserTier": { "total": "Balance", "price": "Balance", "remaining": "Balance" },
811
+ "Fundraiser": {
812
+ "creator": "IdentityId",
813
+ "offering_portfolio": "PortfolioId",
814
+ "offering_asset": "Ticker",
815
+ "raising_portfolio": "PortfolioId",
816
+ "raising_asset": "Ticker",
817
+ "tiers": "Vec<FundraiserTier>",
818
+ "venue_id": "VenueId",
819
+ "start": "Moment",
820
+ "end": "Option<Moment>",
821
+ "status": "FundraiserStatus",
822
+ "minimum_investment": "Balance"
823
+ },
824
+ "VenueId": "u64",
825
+ "VenueType": { "_enum": ["Other", "Distribution", "Sto", "Exchange"] },
826
+ "ExtensionAttributes": { "usage_fee": "Balance", "version": "MetaVersion" },
827
+ "Tax": "Permill",
828
+ "TargetIdentities": { "identities": "Vec<IdentityId>", "treatment": "TargetTreatment" },
829
+ "TargetTreatment": { "_enum": ["Include", "Exclude"] },
830
+ "CAKind": {
831
+ "_enum": [
832
+ "PredictableBenefit",
833
+ "UnpredictableBenefit",
834
+ "IssuerNotice",
835
+ "Reorganization",
836
+ "Other"
837
+ ]
838
+ },
839
+ "CADetails": "Text",
840
+ "CACheckpoint": { "_enum": { "Scheduled": "(ScheduleId, u64)", "Existing": "CheckpointId" } },
841
+ "RecordDate": { "date": "Moment", "checkpoint": "CACheckpoint" },
842
+ "RecordDateSpec": {
843
+ "_enum": {
844
+ "Scheduled": "Moment",
845
+ "ExistingSchedule": "ScheduleId",
846
+ "Existing": "CheckpointId"
847
+ }
848
+ },
849
+ "CorporateAction": {
850
+ "kind": "CAKind",
851
+ "decl_date": "Moment",
852
+ "record_date": "Option<RecordDate>",
853
+ "targets": "TargetIdentities",
854
+ "default_withholding_tax": "Tax",
855
+ "withholding_tax": "Vec<(IdentityId, Tax)>"
856
+ },
857
+ "LocalCAId": "u32",
858
+ "CAId": { "ticker": "Ticker", "local_id": "LocalCAId" },
859
+ "Distribution": {
860
+ "from": "PortfolioId",
861
+ "currency": "Ticker",
862
+ "per_share": "Balance",
863
+ "amount": "Balance",
864
+ "remaining": "Balance",
865
+ "reclaimed": "bool",
866
+ "payment_at": "Moment",
867
+ "expires_at": "Option<Moment>"
868
+ },
869
+ "SlashingSwitch": { "_enum": ["Validator", "ValidatorAndNominator", "None"] },
870
+ "PriceTier": { "total": "Balance", "price": "Balance" },
871
+ "PermissionedIdentityPrefs": { "intended_count": "u32", "running_count": "u32" },
872
+ "GranularCanTransferResult": {
873
+ "invalid_granularity": "bool",
874
+ "self_transfer": "bool",
875
+ "invalid_receiver_cdd": "bool",
876
+ "invalid_sender_cdd": "bool",
877
+ "missing_scope_claim": "bool",
878
+ "receiver_custodian_error": "bool",
879
+ "sender_custodian_error": "bool",
880
+ "sender_insufficient_balance": "bool",
881
+ "portfolio_validity_result": "PortfolioValidityResult",
882
+ "asset_frozen": "bool",
883
+ "transfer_condition_result": "Vec<TransferConditionResult>",
884
+ "compliance_result": "AssetComplianceResult",
885
+ "result": "bool"
886
+ },
887
+ "PortfolioValidityResult": {
888
+ "receiver_is_same_portfolio": "bool",
889
+ "sender_portfolio_does_not_exist": "bool",
890
+ "receiver_portfolio_does_not_exist": "bool",
891
+ "sender_insufficient_balance": "bool",
892
+ "result": "bool"
893
+ },
894
+ "TransferConditionResult": { "condition": "TransferCondition", "result": "bool" },
895
+ "AGId": "u32",
896
+ "AgentGroup": {
897
+ "_enum": {
898
+ "Full": "",
899
+ "Custom": "AGId",
900
+ "ExceptMeta": "",
901
+ "PolymeshV1CAA": "",
902
+ "PolymeshV1PIA": ""
903
+ }
904
+ },
905
+ "ItnRewardStatus": { "_enum": { "Unclaimed": "Balance", "Claimed": "" } }
906
+ }