@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.
@@ -0,0 +1,1182 @@
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
+ "CustomClaimTypeId": "u32",
471
+ "Claim": {
472
+ "_enum": {
473
+ "Accredited": "Scope",
474
+ "Affiliate": "Scope",
475
+ "BuyLockup": "Scope",
476
+ "SellLockup": "Scope",
477
+ "CustomerDueDiligence": "CddId",
478
+ "KnowYourCustomer": "Scope",
479
+ "Jurisdiction": "(CountryCode, Scope)",
480
+ "Exempted": "Scope",
481
+ "Blocked": "Scope",
482
+ "InvestorUniqueness": "(Scope, ScopeId, CddId)",
483
+ "NoData": "",
484
+ "InvestorUniquenessV2": "CddId",
485
+ "Custom": "(CustomClaimTypeId, Option<Scope>)"
486
+ }
487
+ },
488
+ "ClaimType": {
489
+ "_enum": {
490
+ "Accredited": "",
491
+ "Affiliate": "",
492
+ "BuyLockup": "",
493
+ "SellLockup": "",
494
+ "CustomerDueDiligence": "",
495
+ "KnowYourCustomer": "",
496
+ "Jurisdiction": "",
497
+ "Exempted": "",
498
+ "Blocked": "",
499
+ "InvestorUniqueness": "",
500
+ "NoData": "",
501
+ "InvestorUniquenessV2": "",
502
+ "Custom": "CustomClaimTypeId"
503
+ }
504
+ },
505
+ "IdentityClaim": {
506
+ "claim_issuer": "IdentityId",
507
+ "issuance_date": "Moment",
508
+ "last_update_date": "Moment",
509
+ "expiry": "Option<Moment>",
510
+ "claim": "Claim"
511
+ },
512
+ "ComplianceRequirement": {
513
+ "sender_conditions": "Vec<Condition>",
514
+ "receiver_conditions": "Vec<Condition>",
515
+ "id": "u32"
516
+ },
517
+ "ComplianceRequirementResult": {
518
+ "sender_conditions": "Vec<ConditionResult>",
519
+ "receiver_conditions": "Vec<ConditionResult>",
520
+ "id": "u32",
521
+ "result": "bool"
522
+ },
523
+ "ConditionType": {
524
+ "_enum": {
525
+ "IsPresent": "Claim",
526
+ "IsAbsent": "Claim",
527
+ "IsAnyOf": "Vec<Claim>",
528
+ "IsNoneOf": "Vec<Claim>",
529
+ "IsIdentity": "TargetIdentity"
530
+ }
531
+ },
532
+ "TrustedFor": {
533
+ "_enum": {
534
+ "Any": "",
535
+ "Specific": "Vec<ClaimType>"
536
+ }
537
+ },
538
+ "TrustedIssuer": {
539
+ "issuer": "IdentityId",
540
+ "trusted_for": "TrustedFor"
541
+ },
542
+ "Condition": {
543
+ "condition_type": "ConditionType",
544
+ "issuers": "Vec<TrustedIssuer>"
545
+ },
546
+ "ConditionResult": {
547
+ "condition": "Condition",
548
+ "result": "bool"
549
+ },
550
+ "TargetIdAuthorization": {
551
+ "target_id": "IdentityId",
552
+ "nonce": "u64",
553
+ "expires_at": "Moment"
554
+ },
555
+ "TickerRegistration": {
556
+ "owner": "IdentityId",
557
+ "expiry": "Option<Moment>"
558
+ },
559
+ "TickerRegistrationConfig": {
560
+ "max_ticker_length": "u8",
561
+ "registration_length": "Option<Moment>"
562
+ },
563
+ "ClassicTickerRegistration": {
564
+ "eth_owner": "EthereumAddress",
565
+ "is_created": "bool"
566
+ },
567
+ "ClassicTickerImport": {
568
+ "eth_owner": "EthereumAddress",
569
+ "ticker": "Ticker",
570
+ "is_contract": "bool",
571
+ "is_created": "bool"
572
+ },
573
+ "EthereumAddress": "[u8; 20]",
574
+ "EcdsaSignature": "[u8; 65]",
575
+ "MotionTitle": "Text",
576
+ "MotionInfoLink": "Text",
577
+ "ChoiceTitle": "Text",
578
+ "Motion": {
579
+ "title": "MotionTitle",
580
+ "info_link": "MotionInfoLink",
581
+ "choices": "Vec<ChoiceTitle>"
582
+ },
583
+ "BallotTitle": "Text",
584
+ "BallotMeta": {
585
+ "title": "BallotTitle",
586
+ "motions": "Vec<Motion>"
587
+ },
588
+ "BallotTimeRange": {
589
+ "start": "Moment",
590
+ "end": "Moment"
591
+ },
592
+ "BallotVote": {
593
+ "power": "Balance",
594
+ "fallback": "Option<u16>"
595
+ },
596
+ "MaybeBlock": {
597
+ "_enum": {
598
+ "Some": "BlockNumber",
599
+ "None": ""
600
+ }
601
+ },
602
+ "Url": "Text",
603
+ "PipDescription": "Text",
604
+ "PipsMetadata": {
605
+ "id": "PipId",
606
+ "url": "Option<Url>",
607
+ "description": "Option<PipDescription>",
608
+ "created_at": "BlockNumber",
609
+ "transaction_version": "u32",
610
+ "expiry": "MaybeBlock"
611
+ },
612
+ "Proposer": {
613
+ "_enum": {
614
+ "Community": "AccountId",
615
+ "Committee": "Committee"
616
+ }
617
+ },
618
+ "Committee": {
619
+ "_enum": {
620
+ "Technical": "",
621
+ "Upgrade": ""
622
+ }
623
+ },
624
+ "SkippedCount": "u8",
625
+ "SnapshottedPip": {
626
+ "id": "PipId",
627
+ "weight": "(bool, Balance)"
628
+ },
629
+ "SnapshotId": "u32",
630
+ "SnapshotMetadata": {
631
+ "created_at": "BlockNumber",
632
+ "made_by": "AccountId",
633
+ "id": "SnapshotId"
634
+ },
635
+ "SnapshotResult": {
636
+ "_enum": {
637
+ "Approve": "",
638
+ "Reject": "",
639
+ "Skip": ""
640
+ }
641
+ },
642
+ "Beneficiary": {
643
+ "id": "IdentityId",
644
+ "amount": "Balance"
645
+ },
646
+ "DepositInfo": {
647
+ "owner": "AccountId",
648
+ "amount": "Balance"
649
+ },
650
+ "PolymeshVotes": {
651
+ "index": "u32",
652
+ "ayes": "Vec<IdentityId>",
653
+ "nays": "Vec<IdentityId>",
654
+ "expiry": "MaybeBlock"
655
+ },
656
+ "PipId": "u32",
657
+ "ProposalState": {
658
+ "_enum": ["Pending", "Rejected", "Scheduled", "Failed", "Executed", "Expired"]
659
+ },
660
+ "Pip": {
661
+ "id": "PipId",
662
+ "proposal": "Call",
663
+ "proposer": "Proposer"
664
+ },
665
+ "ProposalData": {
666
+ "_enum": {
667
+ "Hash": "Hash",
668
+ "Proposal": "Vec<u8>"
669
+ }
670
+ },
671
+ "OffChainSignature": "MultiSignature",
672
+ "Authorization": {
673
+ "authorization_data": "AuthorizationData",
674
+ "authorized_by": "IdentityId",
675
+ "expiry": "Option<Moment>",
676
+ "auth_id": "u64"
677
+ },
678
+ "AuthorizationData": {
679
+ "_enum": {
680
+ "AttestPrimaryKeyRotation": "IdentityId",
681
+ "RotatePrimaryKey": "",
682
+ "TransferTicker": "Ticker",
683
+ "AddMultiSigSigner": "AccountId",
684
+ "TransferAssetOwnership": "Ticker",
685
+ "JoinIdentity": "Permissions",
686
+ "PortfolioCustody": "PortfolioId",
687
+ "BecomeAgent": "(Ticker, AgentGroup)",
688
+ "AddRelayerPayingKey": "(AccountId, AccountId, Balance)",
689
+ "RotatePrimaryKeyToSecondary": "Permissions"
690
+ }
691
+ },
692
+ "AuthorizationNonce": "u64",
693
+ "Percentage": "Permill",
694
+ "RestrictionResult": {
695
+ "_enum": ["Valid", "Invalid", "ForceValid"]
696
+ },
697
+ "Memo": "[u8; 32]",
698
+ "BridgeTx": {
699
+ "nonce": "u32",
700
+ "recipient": "AccountId",
701
+ "amount": "Balance",
702
+ "tx_hash": "H256"
703
+ },
704
+ "AssetScope": {
705
+ "_enum": {
706
+ "Ticker": "Ticker"
707
+ }
708
+ },
709
+ "StatOpType": {
710
+ "_enum": ["Count", "Balance"]
711
+ },
712
+ "StatType": {
713
+ "op": "StatOpType",
714
+ "claim_issuer": "Option<(ClaimType, IdentityId)>"
715
+ },
716
+ "StatClaim": {
717
+ "_enum": {
718
+ "Accredited": "bool",
719
+ "Affiliate": "bool",
720
+ "Jurisdiction": "Option<CountryCode>"
721
+ }
722
+ },
723
+ "Stat1stKey": {
724
+ "asset": "AssetScope",
725
+ "stat_type": "StatType"
726
+ },
727
+ "Stat2ndKey": {
728
+ "_enum": {
729
+ "NoClaimStat": "",
730
+ "Claim": "StatClaim"
731
+ }
732
+ },
733
+ "StatUpdate": {
734
+ "key2": "Stat2ndKey",
735
+ "value": "Option<u128>"
736
+ },
737
+ "TransferCondition": {
738
+ "_enum": {
739
+ "MaxInvestorCount": "u64",
740
+ "MaxInvestorOwnership": "Percentage",
741
+ "ClaimCount": "(StatClaim, IdentityId, u64, Option<u64>)",
742
+ "ClaimOwnership": "(StatClaim, IdentityId, Percentage, Percentage)"
743
+ }
744
+ },
745
+ "AssetTransferCompliance": {
746
+ "paused": "bool",
747
+ "requirements": "Vec<TransferCondition>"
748
+ },
749
+ "TransferConditionExemptKey": {
750
+ "asset": "AssetScope",
751
+ "op": "StatOpType",
752
+ "claim_type": "Option<ClaimType>"
753
+ },
754
+ "AssetCompliance": {
755
+ "paused": "bool",
756
+ "requirements": "Vec<ComplianceRequirement>"
757
+ },
758
+ "AssetComplianceResult": {
759
+ "paused": "bool",
760
+ "requirements": "Vec<ComplianceRequirementResult>",
761
+ "result": "bool"
762
+ },
763
+ "Claim1stKey": {
764
+ "target": "IdentityId",
765
+ "claim_type": "ClaimType"
766
+ },
767
+ "Claim2ndKey": {
768
+ "issuer": "IdentityId",
769
+ "scope": "Option<Scope>"
770
+ },
771
+ "InactiveMember": {
772
+ "id": "IdentityId",
773
+ "deactivated_at": "Moment",
774
+ "expiry": "Option<Moment>"
775
+ },
776
+ "VotingResult": {
777
+ "ayes_count": "u32",
778
+ "ayes_stake": "Balance",
779
+ "nays_count": "u32",
780
+ "nays_stake": "Balance"
781
+ },
782
+ "ProtocolOp": {
783
+ "_enum": [
784
+ "AssetRegisterTicker",
785
+ "AssetIssue",
786
+ "AssetAddDocuments",
787
+ "AssetCreateAsset",
788
+ "CheckpointCreateSchedule",
789
+ "ComplianceManagerAddComplianceRequirement",
790
+ "IdentityCddRegisterDid",
791
+ "IdentityAddClaim",
792
+ "IdentityAddSecondaryKeysWithAuthorization",
793
+ "PipsPropose",
794
+ "ContractsPutCode",
795
+ "CorporateBallotAttachBallot",
796
+ "CapitalDistributionDistribute"
797
+ ]
798
+ },
799
+ "CddStatus": {
800
+ "_enum": {
801
+ "Ok": "IdentityId",
802
+ "Err": "Vec<u8>"
803
+ }
804
+ },
805
+ "AssetDidResult": {
806
+ "_enum": {
807
+ "Ok": "IdentityId",
808
+ "Err": "Vec<u8>"
809
+ }
810
+ },
811
+ "RpcDidRecordsSuccess": {
812
+ "primary_key": "AccountId",
813
+ "secondary_keys": "Vec<SecondaryKey>"
814
+ },
815
+ "RpcDidRecords": {
816
+ "_enum": {
817
+ "Success": "RpcDidRecordsSuccess",
818
+ "IdNotFound": "Vec<u8>"
819
+ }
820
+ },
821
+ "VoteCountProposalFound": {
822
+ "ayes": "u64",
823
+ "nays": "u64"
824
+ },
825
+ "VoteCount": {
826
+ "_enum": {
827
+ "ProposalFound": "VoteCountProposalFound",
828
+ "ProposalNotFound": ""
829
+ }
830
+ },
831
+ "Vote": "(bool, Balance)",
832
+ "VoteByPip": {
833
+ "pip": "PipId",
834
+ "vote": "Vote"
835
+ },
836
+ "BridgeTxDetail": {
837
+ "amount": "Balance",
838
+ "status": "BridgeTxStatus",
839
+ "execution_block": "BlockNumber",
840
+ "tx_hash": "H256"
841
+ },
842
+ "BridgeTxStatus": {
843
+ "_enum": {
844
+ "Absent": "",
845
+ "Pending": "u8",
846
+ "Frozen": "",
847
+ "Timelocked": "",
848
+ "Handled": ""
849
+ }
850
+ },
851
+ "HandledTxStatus": {
852
+ "_enum": {
853
+ "Success": "",
854
+ "Error": "Text"
855
+ }
856
+ },
857
+ "CappedFee": "u64",
858
+ "CanTransferResult": {
859
+ "_enum": {
860
+ "Ok": "u8",
861
+ "Err": "Vec<u8>"
862
+ }
863
+ },
864
+ "AuthorizationType": {
865
+ "_enum": {
866
+ "AttestPrimaryKeyRotation": "",
867
+ "RotatePrimaryKey": "",
868
+ "TransferTicker": "",
869
+ "AddMultiSigSigner": "",
870
+ "TransferAssetOwnership": "",
871
+ "JoinIdentity": "",
872
+ "PortfolioCustody": "",
873
+ "BecomeAgent": "",
874
+ "AddRelayerPayingKey": "",
875
+ "RotatePrimaryKeyToSecondary": ""
876
+ }
877
+ },
878
+ "ProposalDetails": {
879
+ "approvals": "u64",
880
+ "rejections": "u64",
881
+ "status": "ProposalStatus",
882
+ "expiry": "Option<Moment>",
883
+ "auto_close": "bool"
884
+ },
885
+ "ProposalStatus": {
886
+ "_enum": {
887
+ "Invalid": "",
888
+ "ActiveOrExpired": "",
889
+ "ExecutionSuccessful": "",
890
+ "ExecutionFailed": "",
891
+ "Rejected": ""
892
+ }
893
+ },
894
+ "DidStatus": {
895
+ "_enum": {
896
+ "Unknown": "",
897
+ "Exists": "",
898
+ "CddVerified": ""
899
+ }
900
+ },
901
+ "PortfolioName": "Text",
902
+ "PortfolioNumber": "u64",
903
+ "PortfolioKind": {
904
+ "_enum": {
905
+ "Default": "",
906
+ "User": "PortfolioNumber"
907
+ }
908
+ },
909
+ "PortfolioId": {
910
+ "did": "IdentityId",
911
+ "kind": "PortfolioKind"
912
+ },
913
+ "Moment": "u64",
914
+ "CalendarUnit": {
915
+ "_enum": ["Second", "Minute", "Hour", "Day", "Week", "Month", "Year"]
916
+ },
917
+ "CalendarPeriod": {
918
+ "unit": "CalendarUnit",
919
+ "amount": "u64"
920
+ },
921
+ "CheckpointSchedule": {
922
+ "start": "Moment",
923
+ "period": "CalendarPeriod"
924
+ },
925
+ "CheckpointId": "u64",
926
+ "ScheduleId": "u64",
927
+ "StoredSchedule": {
928
+ "schedule": "CheckpointSchedule",
929
+ "id": "ScheduleId",
930
+ "at": "Moment",
931
+ "remaining": "u32"
932
+ },
933
+ "ScheduleSpec": {
934
+ "start": "Option<Moment>",
935
+ "period": "CalendarPeriod",
936
+ "remaining": "u32"
937
+ },
938
+ "InstructionStatus": {
939
+ "_enum": {
940
+ "Unknown": "",
941
+ "Pending": "",
942
+ "Failed": ""
943
+ }
944
+ },
945
+ "LegStatus": {
946
+ "_enum": {
947
+ "PendingTokenLock": "",
948
+ "ExecutionPending": "",
949
+ "ExecutionToBeSkipped": "(AccountId, u64)"
950
+ }
951
+ },
952
+ "AffirmationStatus": {
953
+ "_enum": {
954
+ "Unknown": "",
955
+ "Pending": "",
956
+ "Affirmed": ""
957
+ }
958
+ },
959
+ "SettlementType": {
960
+ "_enum": {
961
+ "SettleOnAffirmation": "",
962
+ "SettleOnBlock": "BlockNumber",
963
+ "SettleManual": "BlockNumber"
964
+ }
965
+ },
966
+ "LegId": "u64",
967
+ "InstructionId": "u64",
968
+ "Instruction": {
969
+ "instruction_id": "InstructionId",
970
+ "venue_id": "VenueId",
971
+ "status": "InstructionStatus",
972
+ "settlement_type": "SettlementType",
973
+ "created_at": "Option<Moment>",
974
+ "trade_date": "Option<Moment>",
975
+ "value_date": "Option<Moment>"
976
+ },
977
+ "Leg": {
978
+ "from": "PortfolioId",
979
+ "to": "PortfolioId",
980
+ "asset": "Ticker",
981
+ "amount": "Balance"
982
+ },
983
+ "Venue": {
984
+ "creator": "IdentityId",
985
+ "venue_type": "VenueType"
986
+ },
987
+ "Receipt": {
988
+ "receipt_uid": "u64",
989
+ "from": "PortfolioId",
990
+ "to": "PortfolioId",
991
+ "asset": "Ticker",
992
+ "amount": "Balance"
993
+ },
994
+ "ReceiptMetadata": "Text",
995
+ "ReceiptDetails": {
996
+ "receipt_uid": "u64",
997
+ "leg_id": "LegId",
998
+ "signer": "AccountId",
999
+ "signature": "OffChainSignature",
1000
+ "metadata": "ReceiptMetadata"
1001
+ },
1002
+ "UniqueCall": {
1003
+ "nonce": "u64",
1004
+ "call": "Call"
1005
+ },
1006
+ "MovePortfolioItem": {
1007
+ "ticker": "Ticker",
1008
+ "amount": "Balance",
1009
+ "memo": "Option<Memo>"
1010
+ },
1011
+ "WeightToFeeCoefficient": {
1012
+ "coeffInteger": "Balance",
1013
+ "coeffFrac": "Perbill",
1014
+ "negative": "bool",
1015
+ "degree": "u8"
1016
+ },
1017
+ "WeightPerClass": {
1018
+ "baseExtrinsic": "Weight",
1019
+ "maxExtrinsic": "Option<Weight>",
1020
+ "maxTotal": "Option<Weight>",
1021
+ "reserved": "Option<Weight>"
1022
+ },
1023
+ "TargetIdentity": {
1024
+ "_enum": {
1025
+ "ExternalAgent": "",
1026
+ "Specific": "IdentityId"
1027
+ }
1028
+ },
1029
+ "FundraiserId": "u64",
1030
+ "FundraiserName": "Text",
1031
+ "FundraiserStatus": {
1032
+ "_enum": ["Live", "Frozen", "Closed", "ClosedEarly"]
1033
+ },
1034
+ "FundraiserTier": {
1035
+ "total": "Balance",
1036
+ "price": "Balance",
1037
+ "remaining": "Balance"
1038
+ },
1039
+ "Fundraiser": {
1040
+ "creator": "IdentityId",
1041
+ "offering_portfolio": "PortfolioId",
1042
+ "offering_asset": "Ticker",
1043
+ "raising_portfolio": "PortfolioId",
1044
+ "raising_asset": "Ticker",
1045
+ "tiers": "Vec<FundraiserTier>",
1046
+ "venue_id": "VenueId",
1047
+ "start": "Moment",
1048
+ "end": "Option<Moment>",
1049
+ "status": "FundraiserStatus",
1050
+ "minimum_investment": "Balance"
1051
+ },
1052
+ "VenueId": "u64",
1053
+ "VenueType": {
1054
+ "_enum": ["Other", "Distribution", "Sto", "Exchange"]
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
+ "Member": {
1172
+ "id": "IdentityId",
1173
+ "expiry_at": "Option<Moment>",
1174
+ "inactive_from": "Option<Moment>"
1175
+ },
1176
+ "ItnRewardStatus": {
1177
+ "_enum": {
1178
+ "Unclaimed": "Balance",
1179
+ "Claimed": ""
1180
+ }
1181
+ }
1182
+ }