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