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