@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,851 @@
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>",
513
+ "nays": "Vec<IdentityId>",
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
+ "RotatePrimaryKeyToSecondary": "Permissions"
546
+ }
547
+ },
548
+ "SmartExtensionType": {
549
+ "_enum": {
550
+ "TransferManager": "",
551
+ "Offerings": "",
552
+ "SmartWallet": "",
553
+ "Custom": "Vec<u8>"
554
+ }
555
+ },
556
+ "SmartExtensionName": "Text",
557
+ "SmartExtension": {
558
+ "extension_type": "SmartExtensionType",
559
+ "extension_name": "SmartExtensionName",
560
+ "extension_id": "AccountId",
561
+ "is_archive": "bool"
562
+ },
563
+ "MetaUrl": "Text",
564
+ "MetaDescription": "Text",
565
+ "MetaVersion": "u32",
566
+ "ExtVersion": "u32",
567
+ "TemplateMetadata": {
568
+ "url": "Option<MetaUrl>",
569
+ "se_type": "SmartExtensionType",
570
+ "usage_fee": "Balance",
571
+ "description": "MetaDescription",
572
+ "version": "MetaVersion"
573
+ },
574
+ "TemplateDetails": { "instantiation_fee": "Balance", "owner": "IdentityId", "frozen": "bool" },
575
+ "AuthorizationNonce": "u64",
576
+ "Counter": "u64",
577
+ "Percentage": "Permill",
578
+ "TransferManager": {
579
+ "_enum": {
580
+ "CountTransferManager": "Counter",
581
+ "PercentageTransferManager": "Percentage"
582
+ }
583
+ },
584
+ "RestrictionResult": { "_enum": ["Valid", "Invalid", "ForceValid"] },
585
+ "Memo": "[u8;32]",
586
+ "BridgeTx": {
587
+ "nonce": "u32",
588
+ "recipient": "AccountId",
589
+ "amount": "Balance",
590
+ "tx_hash": "H256"
591
+ },
592
+ "AssetCompliance": { "paused": "bool", "requirements": "Vec<ComplianceRequirement>" },
593
+ "AssetComplianceResult": {
594
+ "paused": "bool",
595
+ "requirements": "Vec<ComplianceRequirementResult>",
596
+ "result": "bool"
597
+ },
598
+ "Claim1stKey": { "target": "IdentityId", "claim_type": "ClaimType" },
599
+ "Claim2ndKey": { "issuer": "IdentityId", "scope": "Option<Scope>" },
600
+ "InactiveMember": { "id": "IdentityId", "deactivated_at": "Moment", "expiry": "Option<Moment>" },
601
+ "VotingResult": {
602
+ "ayes_count": "u32",
603
+ "ayes_stake": "Balance",
604
+ "nays_count": "u32",
605
+ "nays_stake": "Balance"
606
+ },
607
+ "ProtocolOp": {
608
+ "_enum": [
609
+ "AssetRegisterTicker",
610
+ "AssetIssue",
611
+ "AssetAddDocuments",
612
+ "AssetCreateAsset",
613
+ "CheckpointCreateSchedule",
614
+ "ComplianceManagerAddComplianceRequirement",
615
+ "IdentityCddRegisterDid",
616
+ "IdentityAddClaim",
617
+ "IdentityAddSecondaryKeysWithAuthorization",
618
+ "PipsPropose",
619
+ "ContractsPutCode",
620
+ "CorporateBallotAttachBallot",
621
+ "CapitalDistributionDistribute"
622
+ ]
623
+ },
624
+ "CddStatus": { "_enum": { "Ok": "IdentityId", "Err": "Vec<u8>" } },
625
+ "AssetDidResult": { "_enum": { "Ok": "IdentityId", "Err": "Vec<u8>" } },
626
+ "DidRecordsSuccess": { "primary_key": "AccountId", "secondary_keys": "Vec<SecondaryKey>" },
627
+ "DidRecords": { "_enum": { "Success": "DidRecordsSuccess", "IdNotFound": "Vec<u8>" } },
628
+ "VoteCountProposalFound": { "ayes": "u64", "nays": "u64" },
629
+ "VoteCount": {
630
+ "_enum": { "ProposalFound": "VoteCountProposalFound", "ProposalNotFound": "" }
631
+ },
632
+ "Vote": "(bool, Balance)",
633
+ "VoteByPip": { "pip": "PipId", "vote": "Vote" },
634
+ "BridgeTxDetail": {
635
+ "amount": "Balance",
636
+ "status": "BridgeTxStatus",
637
+ "execution_block": "BlockNumber",
638
+ "tx_hash": "H256"
639
+ },
640
+ "BridgeTxStatus": {
641
+ "_enum": {
642
+ "Absent": "",
643
+ "Pending": "u8",
644
+ "Frozen": "",
645
+ "Timelocked": "",
646
+ "Handled": ""
647
+ }
648
+ },
649
+ "HandledTxStatus": { "_enum": { "Success": "", "Error": "Text" } },
650
+ "CappedFee": "u64",
651
+ "CanTransferResult": { "_enum": { "Ok": "u8", "Err": "Vec<u8>" } },
652
+ "AuthorizationType": {
653
+ "_enum": {
654
+ "AttestPrimaryKeyRotation": "",
655
+ "RotatePrimaryKey": "",
656
+ "TransferTicker": "",
657
+ "AddMultiSigSigner": "",
658
+ "TransferAssetOwnership": "",
659
+ "JoinIdentity": "",
660
+ "PortfolioCustody": "",
661
+ "BecomeAgent": "",
662
+ "AddRelayerPayingKey": "",
663
+ "RotatePrimaryKeyToSecondary": ""
664
+ }
665
+ },
666
+ "ProposalDetails": {
667
+ "approvals": "u64",
668
+ "rejections": "u64",
669
+ "status": "ProposalStatus",
670
+ "expiry": "Option<Moment>",
671
+ "auto_close": "bool"
672
+ },
673
+ "ProposalStatus": {
674
+ "_enum": {
675
+ "Invalid": "",
676
+ "ActiveOrExpired": "",
677
+ "ExecutionSuccessful": "",
678
+ "ExecutionFailed": "",
679
+ "Rejected": ""
680
+ }
681
+ },
682
+ "DidStatus": { "_enum": { "Unknown": "", "Exists": "", "CddVerified": "" } },
683
+ "PortfolioName": "Text",
684
+ "PortfolioNumber": "u64",
685
+ "PortfolioKind": { "_enum": { "Default": "", "User": "PortfolioNumber" } },
686
+ "PortfolioId": { "did": "IdentityId", "kind": "PortfolioKind" },
687
+ "Moment": "u64",
688
+ "CalendarUnit": { "_enum": ["Second", "Minute", "Hour", "Day", "Week", "Month", "Year"] },
689
+ "CalendarPeriod": { "unit": "CalendarUnit", "amount": "u64" },
690
+ "CheckpointSchedule": { "start": "Moment", "period": "CalendarPeriod" },
691
+ "CheckpointId": "u64",
692
+ "ScheduleId": "u64",
693
+ "StoredSchedule": {
694
+ "schedule": "CheckpointSchedule",
695
+ "id": "ScheduleId",
696
+ "at": "Moment",
697
+ "remaining": "u32"
698
+ },
699
+ "ScheduleSpec": { "start": "Option<Moment>", "period": "CalendarPeriod", "remaining": "u32" },
700
+ "InstructionStatus": { "_enum": { "Unknown": "", "Pending": "", "Failed": "" } },
701
+ "LegStatus": {
702
+ "_enum": {
703
+ "PendingTokenLock": "",
704
+ "ExecutionPending": "",
705
+ "ExecutionToBeSkipped": "(AccountId, u64)"
706
+ }
707
+ },
708
+ "AffirmationStatus": { "_enum": { "Unknown": "", "Pending": "", "Affirmed": "" } },
709
+ "SettlementType": { "_enum": { "SettleOnAffirmation": "", "SettleOnBlock": "BlockNumber" } },
710
+ "LegId": "u64",
711
+ "InstructionId": "u64",
712
+ "Instruction": {
713
+ "instruction_id": "InstructionId",
714
+ "venue_id": "VenueId",
715
+ "status": "InstructionStatus",
716
+ "settlement_type": "SettlementType",
717
+ "created_at": "Option<Moment>",
718
+ "trade_date": "Option<Moment>",
719
+ "value_date": "Option<Moment>"
720
+ },
721
+ "Leg": {
722
+ "from": "PortfolioId",
723
+ "to": "PortfolioId",
724
+ "asset": "Ticker",
725
+ "amount": "Balance"
726
+ },
727
+ "Venue": { "creator": "IdentityId", "venue_type": "VenueType" },
728
+ "Receipt": {
729
+ "receipt_uid": "u64",
730
+ "from": "PortfolioId",
731
+ "to": "PortfolioId",
732
+ "asset": "Ticker",
733
+ "amount": "Balance"
734
+ },
735
+ "ReceiptMetadata": "Text",
736
+ "ReceiptDetails": {
737
+ "receipt_uid": "u64",
738
+ "leg_id": "LegId",
739
+ "signer": "AccountId",
740
+ "signature": "OffChainSignature",
741
+ "metadata": "ReceiptMetadata"
742
+ },
743
+ "UniqueCall": { "nonce": "u64", "call": "Call" },
744
+ "MovePortfolioItem": { "ticker": "Ticker", "amount": "Balance", "memo": "Option<Memo>" },
745
+ "WeightToFeeCoefficient": {
746
+ "coeffInteger": "Balance",
747
+ "coeffFrac": "Perbill",
748
+ "negative": "bool",
749
+ "degree": "u8"
750
+ },
751
+ "TargetIdentity": { "_enum": { "ExternalAgent": "", "Specific": "IdentityId" } },
752
+ "FundraiserId": "u64",
753
+ "FundraiserName": "Text",
754
+ "FundraiserStatus": { "_enum": ["Live", "Frozen", "Closed", "ClosedEarly"] },
755
+ "FundraiserTier": { "total": "Balance", "price": "Balance", "remaining": "Balance" },
756
+ "Fundraiser": {
757
+ "creator": "IdentityId",
758
+ "offering_portfolio": "PortfolioId",
759
+ "offering_asset": "Ticker",
760
+ "raising_portfolio": "PortfolioId",
761
+ "raising_asset": "Ticker",
762
+ "tiers": "Vec<FundraiserTier>",
763
+ "venue_id": "VenueId",
764
+ "start": "Moment",
765
+ "end": "Option<Moment>",
766
+ "status": "FundraiserStatus",
767
+ "minimum_investment": "Balance"
768
+ },
769
+ "VenueId": "u64",
770
+ "VenueType": { "_enum": ["Other", "Distribution", "Sto", "Exchange"] },
771
+ "ExtensionAttributes": { "usage_fee": "Balance", "version": "MetaVersion" },
772
+ "Tax": "Permill",
773
+ "TargetIdentities": { "identities": "Vec<IdentityId>", "treatment": "TargetTreatment" },
774
+ "TargetTreatment": { "_enum": ["Include", "Exclude"] },
775
+ "CAKind": {
776
+ "_enum": [
777
+ "PredictableBenefit",
778
+ "UnpredictableBenefit",
779
+ "IssuerNotice",
780
+ "Reorganization",
781
+ "Other"
782
+ ]
783
+ },
784
+ "CADetails": "Text",
785
+ "CACheckpoint": { "_enum": { "Scheduled": "(ScheduleId, u64)", "Existing": "CheckpointId" } },
786
+ "RecordDate": { "date": "Moment", "checkpoint": "CACheckpoint" },
787
+ "RecordDateSpec": {
788
+ "_enum": {
789
+ "Scheduled": "Moment",
790
+ "ExistingSchedule": "ScheduleId",
791
+ "Existing": "CheckpointId"
792
+ }
793
+ },
794
+ "CorporateAction": {
795
+ "kind": "CAKind",
796
+ "decl_date": "Moment",
797
+ "record_date": "Option<RecordDate>",
798
+ "targets": "TargetIdentities",
799
+ "default_withholding_tax": "Tax",
800
+ "withholding_tax": "Vec<(IdentityId, Tax)>"
801
+ },
802
+ "LocalCAId": "u32",
803
+ "CAId": { "ticker": "Ticker", "local_id": "LocalCAId" },
804
+ "Distribution": {
805
+ "from": "PortfolioId",
806
+ "currency": "Ticker",
807
+ "per_share": "Balance",
808
+ "amount": "Balance",
809
+ "remaining": "Balance",
810
+ "reclaimed": "bool",
811
+ "payment_at": "Moment",
812
+ "expires_at": "Option<Moment>"
813
+ },
814
+ "SlashingSwitch": { "_enum": ["Validator", "ValidatorAndNominator", "None"] },
815
+ "PriceTier": { "total": "Balance", "price": "Balance" },
816
+ "PermissionedIdentityPrefs": { "intended_count": "u32", "running_count": "u32" },
817
+ "GranularCanTransferResult": {
818
+ "invalid_granularity": "bool",
819
+ "self_transfer": "bool",
820
+ "invalid_receiver_cdd": "bool",
821
+ "invalid_sender_cdd": "bool",
822
+ "missing_scope_claim": "bool",
823
+ "receiver_custodian_error": "bool",
824
+ "sender_custodian_error": "bool",
825
+ "sender_insufficient_balance": "bool",
826
+ "portfolio_validity_result": "PortfolioValidityResult",
827
+ "asset_frozen": "bool",
828
+ "statistics_result": "Vec<TransferManagerResult>",
829
+ "compliance_result": "AssetComplianceResult",
830
+ "result": "bool"
831
+ },
832
+ "PortfolioValidityResult": {
833
+ "receiver_is_same_portfolio": "bool",
834
+ "sender_portfolio_does_not_exist": "bool",
835
+ "receiver_portfolio_does_not_exist": "bool",
836
+ "sender_insufficient_balance": "bool",
837
+ "result": "bool"
838
+ },
839
+ "TransferManagerResult": { "tm": "TransferManager", "result": "bool" },
840
+ "AGId": "u32",
841
+ "AgentGroup": {
842
+ "_enum": {
843
+ "Full": "",
844
+ "Custom": "AGId",
845
+ "ExceptMeta": "",
846
+ "PolymeshV1CAA": "",
847
+ "PolymeshV1PIA": ""
848
+ }
849
+ },
850
+ "ItnRewardStatus": { "_enum": { "Unclaimed": "Balance", "Claimed": "" } }
851
+ }