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