@polymeshassociation/polymesh-types 5.5.3 → 5.7.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.
- package/CHANGELOG.md +20 -0
- package/index.d.ts.map +1 -1
- package/index.js +2 -0
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/rpc/index.d.ts +20 -0
- package/rpc/index.d.ts.map +1 -1
- package/rpc/index.js +40 -1
- package/rpc/index.js.map +1 -1
- package/runtime/index.d.ts +179 -0
- package/runtime/index.d.ts.map +1 -0
- package/runtime/index.js +274 -0
- package/runtime/index.js.map +1 -0
- package/types/6.0.x.json +35 -34
- package/types/6.1.x.json +1227 -0
- package/types/index.d.ts.map +1 -1
- package/types/index.js +2 -0
- package/types/index.js.map +1 -1
package/types/6.0.x.json
CHANGED
|
@@ -6,10 +6,8 @@
|
|
|
6
6
|
"EventDid": "IdentityId",
|
|
7
7
|
"EventCounts": "Vec<u32>",
|
|
8
8
|
"ErrorAt": "(u32, DispatchError)",
|
|
9
|
-
"InvestorUid": "[u8; 16]",
|
|
10
9
|
"Ticker": "[u8; 12]",
|
|
11
10
|
"CddId": "[u8; 32]",
|
|
12
|
-
"ScopeId": "[u8; 32]",
|
|
13
11
|
"PosRatio": "(u32, u32)",
|
|
14
12
|
"DocumentId": "u32",
|
|
15
13
|
"DocumentName": "Text",
|
|
@@ -455,19 +453,6 @@
|
|
|
455
453
|
"Custom": "Vec<u8>"
|
|
456
454
|
}
|
|
457
455
|
},
|
|
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
456
|
"CustomClaimTypeId": "u32",
|
|
472
457
|
"Claim": {
|
|
473
458
|
"_enum": {
|
|
@@ -480,9 +465,6 @@
|
|
|
480
465
|
"Jurisdiction": "(CountryCode, Scope)",
|
|
481
466
|
"Exempted": "Scope",
|
|
482
467
|
"Blocked": "Scope",
|
|
483
|
-
"InvestorUniqueness": "(Scope, ScopeId, CddId)",
|
|
484
|
-
"NoData": "",
|
|
485
|
-
"InvestorUniquenessV2": "CddId",
|
|
486
468
|
"Custom": "(CustomClaimTypeId, Option<Scope>)"
|
|
487
469
|
}
|
|
488
470
|
},
|
|
@@ -497,9 +479,6 @@
|
|
|
497
479
|
"Jurisdiction": "",
|
|
498
480
|
"Exempted": "",
|
|
499
481
|
"Blocked": "",
|
|
500
|
-
"InvestorUniqueness": "",
|
|
501
|
-
"NoData": "",
|
|
502
|
-
"InvestorUniquenessV2": "",
|
|
503
482
|
"Custom": "CustomClaimTypeId"
|
|
504
483
|
}
|
|
505
484
|
},
|
|
@@ -784,7 +763,10 @@
|
|
|
784
763
|
"PipsPropose",
|
|
785
764
|
"ContractsPutCode",
|
|
786
765
|
"CorporateBallotAttachBallot",
|
|
787
|
-
"CapitalDistributionDistribute"
|
|
766
|
+
"CapitalDistributionDistribute",
|
|
767
|
+
"NFTCreateCollection",
|
|
768
|
+
"NFTMint",
|
|
769
|
+
"IdentityCreateChildIdentity"
|
|
788
770
|
]
|
|
789
771
|
},
|
|
790
772
|
"CddStatus": {
|
|
@@ -1117,7 +1099,7 @@
|
|
|
1117
1099
|
"intended_count": "u32",
|
|
1118
1100
|
"running_count": "u32"
|
|
1119
1101
|
},
|
|
1120
|
-
"
|
|
1102
|
+
"CanTransferGranularReturn": {
|
|
1121
1103
|
"_enum": {
|
|
1122
1104
|
"Ok": "GranularCanTransferResult",
|
|
1123
1105
|
"Err": "DispatchError"
|
|
@@ -1128,7 +1110,6 @@
|
|
|
1128
1110
|
"self_transfer": "bool",
|
|
1129
1111
|
"invalid_receiver_cdd": "bool",
|
|
1130
1112
|
"invalid_sender_cdd": "bool",
|
|
1131
|
-
"missing_scope_claim": "bool",
|
|
1132
1113
|
"receiver_custodian_error": "bool",
|
|
1133
1114
|
"sender_custodian_error": "bool",
|
|
1134
1115
|
"sender_insufficient_balance": "bool",
|
|
@@ -1136,7 +1117,8 @@
|
|
|
1136
1117
|
"asset_frozen": "bool",
|
|
1137
1118
|
"transfer_condition_result": "Vec<TransferConditionResult>",
|
|
1138
1119
|
"compliance_result": "AssetComplianceResult",
|
|
1139
|
-
"result": "bool"
|
|
1120
|
+
"result": "bool",
|
|
1121
|
+
"consumed_weight": "Option<Weight>"
|
|
1140
1122
|
},
|
|
1141
1123
|
"PortfolioValidityResult": {
|
|
1142
1124
|
"receiver_is_same_portfolio": "bool",
|
|
@@ -1183,17 +1165,29 @@
|
|
|
1183
1165
|
"ticker": "Ticker",
|
|
1184
1166
|
"amount": "Balance"
|
|
1185
1167
|
},
|
|
1186
|
-
"
|
|
1187
|
-
"
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
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"
|
|
1192
1184
|
},
|
|
1193
1185
|
"Leg": {
|
|
1194
|
-
"
|
|
1195
|
-
|
|
1196
|
-
|
|
1186
|
+
"_enum": {
|
|
1187
|
+
"Fungible": "FungibleLeg",
|
|
1188
|
+
"NonFungible": "NonFungibleLeg",
|
|
1189
|
+
"OffChain": "OffChainLeg"
|
|
1190
|
+
}
|
|
1197
1191
|
},
|
|
1198
1192
|
"FundDescription": {
|
|
1199
1193
|
"_enum": {
|
|
@@ -1212,5 +1206,12 @@
|
|
|
1212
1206
|
"Invoice": "",
|
|
1213
1207
|
"Custom": "CustomAssetTypeId"
|
|
1214
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>"
|
|
1215
1216
|
}
|
|
1216
1217
|
}
|