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