@polymeshassociation/polymesh-types 5.12.0 → 5.12.1

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 CHANGED
@@ -1,9 +1,9 @@
1
- # [5.12.0](https://github.com/PolymeshAssociation/polymesh-types/compare/v5.11.1...v5.12.0) (2024-09-04)
1
+ ## [5.12.1](https://github.com/PolymeshAssociation/polymesh-types/compare/v5.12.0...v5.12.1) (2024-09-14)
2
2
 
3
3
 
4
- ### Features
4
+ ### Bug Fixes
5
5
 
6
- * 🎸 Add types for 7.0.0 chain ([4d452f9](https://github.com/PolymeshAssociation/polymesh-types/commit/4d452f9dad0b8275985bc7b66a547d56d956398a))
6
+ * 🐛 re-add runtime api versions required for 6.x. chains ([de81da3](https://github.com/PolymeshAssociation/polymesh-types/commit/de81da3df74ca358114a0c405c025088e135fb4c))
7
7
 
8
8
  ## [5.11.1](https://github.com/PolymeshAssociation/polymesh-types/compare/v5.11.0...v5.11.1) (2024-05-21)
9
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polymeshassociation/polymesh-types",
3
- "version": "5.12.0",
3
+ "version": "5.12.1",
4
4
  "description": "Substrate types used in Polymesh chain",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",
@@ -1,200 +1,4 @@
1
- declare const _default: {
2
- AssetApi: {
3
- methods: {
4
- transfer_report: {
5
- description: string;
6
- params: {
7
- name: string;
8
- type: string;
9
- }[];
10
- type: string;
11
- };
12
- };
13
- version: number;
14
- }[];
15
- GroupApi: {
16
- methods: {
17
- get_cdd_valid_members: {
18
- description: string;
19
- params: never[];
20
- type: string;
21
- };
22
- get_gc_valid_members: {
23
- description: string;
24
- params: never[];
25
- type: string;
26
- };
27
- };
28
- version: number;
29
- }[];
30
- IdentityApi: {
31
- methods: {
32
- is_identity_has_valid_cdd: {
33
- description: string;
34
- params: {
35
- name: string;
36
- type: string;
37
- }[];
38
- type: string;
39
- };
40
- get_did_records: {
41
- description: string;
42
- params: {
43
- name: string;
44
- type: string;
45
- }[];
46
- type: string;
47
- };
48
- get_did_status: {
49
- description: string;
50
- params: {
51
- name: string;
52
- type: string;
53
- }[];
54
- type: string;
55
- };
56
- get_filtered_authorizations: {
57
- description: string;
58
- params: {
59
- name: string;
60
- type: string;
61
- }[];
62
- type: string;
63
- };
64
- get_key_identity_data: {
65
- description: string;
66
- params: {
67
- name: string;
68
- type: string;
69
- }[];
70
- type: string;
71
- };
72
- valid_cdd_claims: {
73
- description: string;
74
- params: {
75
- name: string;
76
- type: string;
77
- }[];
78
- type: string;
79
- };
80
- };
81
- version: number;
82
- }[];
83
- NFTApi: {
84
- methods: {
85
- transfer_report: {
86
- description: string;
87
- params: {
88
- name: string;
89
- type: string;
90
- }[];
91
- type: string;
92
- };
93
- };
94
- version: number;
95
- }[];
96
- SettlementApi: {
97
- methods: {
98
- get_execute_instruction_info: {
99
- description: string;
100
- params: {
101
- name: string;
102
- type: string;
103
- }[];
104
- type: string;
105
- };
106
- get_affirmation_count: {
107
- description: string;
108
- params: {
109
- name: string;
110
- type: string;
111
- }[];
112
- type: string;
113
- };
114
- get_transfer_report: {
115
- description: string;
116
- params: {
117
- name: string;
118
- type: string;
119
- }[];
120
- type: string;
121
- };
122
- get_execute_instruction_report: {
123
- description: string;
124
- params: {
125
- name: string;
126
- type: string;
127
- }[];
128
- type: string;
129
- };
130
- };
131
- version: number;
132
- }[];
133
- PipsApi: {
134
- methods: {
135
- get_votes: {
136
- description: string;
137
- params: {
138
- name: string;
139
- type: string;
140
- }[];
141
- type: string;
142
- };
143
- proposed_by: {
144
- description: string;
145
- params: {
146
- name: string;
147
- type: string;
148
- }[];
149
- type: string;
150
- };
151
- voted_on: {
152
- description: string;
153
- params: {
154
- name: string;
155
- type: string;
156
- }[];
157
- type: string;
158
- };
159
- };
160
- version: number;
161
- }[];
162
- ProtocolFeeApi: {
163
- methods: {
164
- compute_fee: {
165
- description: string;
166
- params: {
167
- name: string;
168
- type: string;
169
- }[];
170
- type: string;
171
- };
172
- };
173
- version: number;
174
- }[];
175
- StakingApi: {
176
- methods: {
177
- get_curve: {
178
- description: string;
179
- params: never[];
180
- type: string;
181
- };
182
- };
183
- version: number;
184
- }[];
185
- ComplianceApi: {
186
- methods: {
187
- compliance_report: {
188
- description: string;
189
- params: {
190
- name: string;
191
- type: string;
192
- }[];
193
- type: string;
194
- };
195
- };
196
- version: number;
197
- }[];
198
- };
1
+ import { DefinitionsCall } from '@polkadot/types/types';
2
+ declare const _default: DefinitionsCall;
199
3
  export default _default;
200
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/runtime/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBA6TE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/runtime/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;;AAExD,wBAsiBqB"}
package/runtime/index.js CHANGED
@@ -33,6 +33,41 @@ exports.default = {
33
33
  },
34
34
  version: 4,
35
35
  },
36
+ {
37
+ methods: {
38
+ can_transfer_granular: {
39
+ description: 'Checks whether a transaction with given parameters can take place or not. The result is granular meaning each check is run and returned regardless of outcome.',
40
+ params: [
41
+ {
42
+ name: 'from_custodian',
43
+ type: 'Option<IdentityId>',
44
+ },
45
+ {
46
+ name: 'from_portfolio',
47
+ type: 'PortfolioId',
48
+ },
49
+ {
50
+ name: 'to_custodian',
51
+ type: 'Option<IdentityId>',
52
+ },
53
+ {
54
+ name: 'to_portfolio',
55
+ type: 'PortfolioId',
56
+ },
57
+ {
58
+ name: 'ticker',
59
+ type: 'Ticker',
60
+ },
61
+ {
62
+ name: 'value',
63
+ type: 'Balance',
64
+ },
65
+ ],
66
+ type: 'CanTransferGranularReturn',
67
+ },
68
+ },
69
+ version: 3,
70
+ },
36
71
  ],
37
72
  GroupApi: [
38
73
  {
@@ -133,6 +168,97 @@ exports.default = {
133
168
  },
134
169
  version: 4,
135
170
  },
171
+ {
172
+ methods: {
173
+ is_identity_has_valid_cdd: {
174
+ description: 'use to tell whether the given did has valid cdd claim or not',
175
+ params: [
176
+ {
177
+ name: 'did',
178
+ type: 'IdentityId',
179
+ },
180
+ {
181
+ name: 'buffer_time',
182
+ type: 'Option<u64>',
183
+ },
184
+ ],
185
+ type: 'CddStatus',
186
+ },
187
+ get_asset_did: {
188
+ description: 'function is used to query the given ticker DID',
189
+ params: [
190
+ {
191
+ name: 'ticker',
192
+ type: 'Ticker',
193
+ },
194
+ ],
195
+ type: 'AssetDidResult',
196
+ },
197
+ get_did_records: {
198
+ description: 'Used to get the did record values for a given DID',
199
+ params: [
200
+ {
201
+ name: 'did',
202
+ type: 'IdentityId',
203
+ },
204
+ ],
205
+ type: 'RpcDidRecords',
206
+ },
207
+ get_did_status: {
208
+ description: 'Retrieve status of the DID',
209
+ params: [
210
+ {
211
+ name: 'did',
212
+ type: 'Vec<IdentityId>',
213
+ },
214
+ ],
215
+ type: 'Vec<DidStatus>',
216
+ },
217
+ get_filtered_authorizations: {
218
+ description: 'Retrieve authorizations data for a given signatory and filtered using the given authorization type',
219
+ params: [
220
+ {
221
+ name: 'signatory',
222
+ type: 'Signatory',
223
+ },
224
+ {
225
+ name: 'allow_expired',
226
+ type: 'bool',
227
+ },
228
+ {
229
+ name: 'auth_type',
230
+ type: 'Option<AuthorizationType>',
231
+ },
232
+ ],
233
+ type: 'Vec<Authorization>',
234
+ },
235
+ get_key_identity_data: {
236
+ description: 'Query relation between a signing key and a DID',
237
+ params: [
238
+ {
239
+ name: 'acc',
240
+ type: 'AccountId',
241
+ },
242
+ ],
243
+ type: 'Option<KeyIdentityData>',
244
+ },
245
+ valid_cdd_claims: {
246
+ description: 'Returns all valid IdentityClaim of type CustomerDueDiligence for the given target_identity',
247
+ params: [
248
+ {
249
+ name: 'target_identity',
250
+ type: 'IdentityId',
251
+ },
252
+ {
253
+ name: 'cdd_checker_leeway',
254
+ type: 'Option<u64>',
255
+ },
256
+ ],
257
+ type: 'Vec<IdentityClaim>',
258
+ },
259
+ },
260
+ version: 3,
261
+ },
136
262
  ],
137
263
  NFTApi: [
138
264
  {
@@ -162,6 +288,29 @@ exports.default = {
162
288
  },
163
289
  version: 2,
164
290
  },
291
+ {
292
+ methods: {
293
+ validate_nft_transfer: {
294
+ description: 'Verifies if and the sender and receiver are not the same, if both have valid balances, if the sender owns the nft, and if all compliance rules are being respected.',
295
+ params: [
296
+ {
297
+ name: 'sender_portfolio',
298
+ type: 'PortfolioId',
299
+ },
300
+ {
301
+ name: 'receiver_portfolio',
302
+ type: 'PortfolioId',
303
+ },
304
+ {
305
+ name: 'nfts',
306
+ type: 'NFTs',
307
+ },
308
+ ],
309
+ type: 'DispatchResult',
310
+ },
311
+ },
312
+ version: 1,
313
+ },
165
314
  ],
166
315
  SettlementApi: [
167
316
  {
@@ -217,6 +366,59 @@ exports.default = {
217
366
  },
218
367
  version: 2,
219
368
  },
369
+ {
370
+ methods: {
371
+ get_execute_instruction_info: {
372
+ description: 'Returns an ExecuteInstructionInfo instance containing the consumed weight and the number of tokens in the instruction.',
373
+ params: [
374
+ {
375
+ name: 'instruction_id',
376
+ type: 'InstructionId',
377
+ },
378
+ ],
379
+ type: 'ExecuteInstructionInfo',
380
+ },
381
+ get_affirmation_count: {
382
+ description: 'Returns an AffirmationCount instance containing the number of assets being sent/received from portfolios, and the number of off-chain assets in the instruction.',
383
+ params: [
384
+ {
385
+ name: 'instruction_id',
386
+ type: 'InstructionId',
387
+ },
388
+ {
389
+ name: 'portfolios',
390
+ type: 'Vec<PortfolioId>',
391
+ },
392
+ ],
393
+ type: 'AffirmationCount',
394
+ },
395
+ get_transfer_report: {
396
+ description: "Returns a vector containing all errors for the transfer. An empty vec means there's no error.",
397
+ params: [
398
+ {
399
+ name: 'leg',
400
+ type: 'Leg',
401
+ },
402
+ {
403
+ name: 'skip_locked_check',
404
+ type: 'bool',
405
+ },
406
+ ],
407
+ type: 'Vec<DispatchError>',
408
+ },
409
+ get_execute_instruction_report: {
410
+ description: "Returns a vector containing all errors for the execution. An empty vec means there's no error.",
411
+ params: [
412
+ {
413
+ name: 'instruction_id',
414
+ type: 'InstructionId',
415
+ },
416
+ ],
417
+ type: 'Vec<DispatchError>',
418
+ },
419
+ },
420
+ version: 1,
421
+ },
220
422
  ],
221
423
  PipsApi: [
222
424
  {
@@ -308,6 +510,29 @@ exports.default = {
308
510
  },
309
511
  version: 2,
310
512
  },
513
+ {
514
+ methods: {
515
+ compliance_report: {
516
+ description: 'Checks all compliance requirements for the given ticker.',
517
+ params: [
518
+ {
519
+ name: 'ticker',
520
+ type: 'Ticker',
521
+ },
522
+ {
523
+ name: 'sender_identity',
524
+ type: 'IdentityId',
525
+ },
526
+ {
527
+ name: 'receiver_identity',
528
+ type: 'IdentityId',
529
+ },
530
+ ],
531
+ type: 'Result<ComplianceReport, DispatchError>',
532
+ },
533
+ },
534
+ version: 1,
535
+ },
311
536
  ],
312
537
  };
313
538
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/runtime/index.ts"],"names":[],"mappings":";;AAAA,kBAAe;IACb,QAAQ,EAAE;QACR;YACE,OAAO,EAAE;gBACP,eAAe,EAAE;oBACf,WAAW,EACT,+FAA+F;oBACjG,MAAM,EAAE;wBACN;4BACE,IAAI,EAAE,kBAAkB;4BACxB,IAAI,EAAE,aAAa;yBACpB;wBACD;4BACE,IAAI,EAAE,oBAAoB;4BAC1B,IAAI,EAAE,aAAa;y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IAAI,EAAE,WAAW;yBAClB;qBACF;oBACD,IAAI,EAAE,YAAY;iBACnB;aACF;YACD,OAAO,EAAE,CAAC;SACX;KACF;IACD,cAAc,EAAE;QACd;YACE,OAAO,EAAE;gBACP,WAAW,EAAE;oBACX,WAAW,EAAE,kDAAkD;oBAC/D,MAAM,EAAE;wBACN;4BACE,IAAI,EAAE,IAAI;4BACV,IAAI,EAAE,YAAY;yBACnB;qBACF;oBACD,IAAI,EAAE,WAAW;iBAClB;aACF;YACD,OAAO,EAAE,CAAC;SACX;KACF;IACD,UAAU,EAAE;QACV;YACE,OAAO,EAAE;gBACP,SAAS,EAAE;oBACT,WAAW,EAAE,6BAA6B;oBAC1C,MAAM,EAAE,EAAE;oBACV,IAAI,EAAE,yBAAyB;iBAChC;aACF;YACD,OAAO,EAAE,CAAC;SACX;KACF;IACD,aAAa,EAAE;QACb;YACE,OAAO,EAAE;gBACP,iBAAiB,EAAE;oBACjB,WAAW,EAAE,4DAA4D;oBACzE,MAAM,EAAE;wBACN;4BACE,IAAI,EAAE,UAAU;4BAChB,IAAI,EAAE,SAAS;yBAChB;wBACD;4BACE,IAAI,EAAE,iBAAiB;4BACvB,IAAI,EAAE,YAAY;yBACnB;wBACD;4BACE,IAAI,EAAE,mBAAmB;4BACzB,IAAI,EAAE,YAAY;yBACnB;qBACF;oBACD,IAAI,EAAE,yCAAyC;iBAChD;aACF;YACD,OAAO,EAAE,CAAC;SACX;KACF;CACF,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/runtime/index.ts"],"names":[],"mappings":";;AAEA,kBAAe;IACb,QAAQ,EAAE;QACR;YACE,OAAO,EAAE;gBACP,eAAe,EAAE;oBACf,WAAW,EACT,+FAA+F;oBACjG,MAAM,EAAE;wBACN;4BACE,IAAI,EAAE,kBAAkB;4BACxB,IAAI,EAAE,aAAa;yBACpB;wBACD;4BACE,IAAI,EAAE,oBAAoB;4BAC1B,IAAI,EAAE,aAAa;yBACpB;wBACD;4B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IAAI,EAAE,yBAAyB;iBAChC;aACF;YACD,OAAO,EAAE,CAAC;SACX;KACF;IACD,aAAa,EAAE;QACb;YACE,OAAO,EAAE;gBACP,iBAAiB,EAAE;oBACjB,WAAW,EAAE,4DAA4D;oBACzE,MAAM,EAAE;wBACN;4BACE,IAAI,EAAE,UAAU;4BAChB,IAAI,EAAE,SAAS;yBAChB;wBACD;4BACE,IAAI,EAAE,iBAAiB;4BACvB,IAAI,EAAE,YAAY;yBACnB;wBACD;4BACE,IAAI,EAAE,mBAAmB;4BACzB,IAAI,EAAE,YAAY;yBACnB;qBACF;oBACD,IAAI,EAAE,yCAAyC;iBAChD;aACF;YACD,OAAO,EAAE,CAAC;SACX;QACD;YACE,OAAO,EAAE;gBACP,iBAAiB,EAAE;oBACjB,WAAW,EAAE,0DAA0D;oBACvE,MAAM,EAAE;wBACN;4BACE,IAAI,EAAE,QAAQ;4BACd,IAAI,EAAE,QAAQ;yBACf;wBACD;4BACE,IAAI,EAAE,iBAAiB;4BACvB,IAAI,EAAE,YAAY;yBACnB;wBACD;4BACE,IAAI,EAAE,mBAAmB;4BACzB,IAAI,EAAE,YAAY;yBACnB;qBACF;oBACD,IAAI,EAAE,yCAAyC;iBAChD;aACF;YACD,OAAO,EAAE,CAAC;SACX;KACF;CACiB,CAAC"}
package/runtime/6.x.d.ts DELETED
@@ -1,208 +0,0 @@
1
- declare const _default: {
2
- AssetApi: {
3
- methods: {
4
- can_transfer_granular: {
5
- description: string;
6
- params: {
7
- name: string;
8
- type: string;
9
- }[];
10
- type: string;
11
- };
12
- };
13
- version: number;
14
- }[];
15
- GroupApi: {
16
- methods: {
17
- get_cdd_valid_members: {
18
- description: string;
19
- params: never[];
20
- type: string;
21
- };
22
- get_gc_valid_members: {
23
- description: string;
24
- params: never[];
25
- type: string;
26
- };
27
- };
28
- version: number;
29
- }[];
30
- IdentityApi: {
31
- methods: {
32
- is_identity_has_valid_cdd: {
33
- description: string;
34
- params: {
35
- name: string;
36
- type: string;
37
- }[];
38
- type: string;
39
- };
40
- get_asset_did: {
41
- description: string;
42
- params: {
43
- name: string;
44
- type: string;
45
- }[];
46
- type: string;
47
- };
48
- get_did_records: {
49
- description: string;
50
- params: {
51
- name: string;
52
- type: string;
53
- }[];
54
- type: string;
55
- };
56
- get_did_status: {
57
- description: string;
58
- params: {
59
- name: string;
60
- type: string;
61
- }[];
62
- type: string;
63
- };
64
- get_filtered_authorizations: {
65
- description: string;
66
- params: {
67
- name: string;
68
- type: string;
69
- }[];
70
- type: string;
71
- };
72
- get_key_identity_data: {
73
- description: string;
74
- params: {
75
- name: string;
76
- type: string;
77
- }[];
78
- type: string;
79
- };
80
- valid_cdd_claims: {
81
- description: string;
82
- params: {
83
- name: string;
84
- type: string;
85
- }[];
86
- type: string;
87
- };
88
- };
89
- version: number;
90
- }[];
91
- NFTApi: {
92
- methods: {
93
- validate_nft_transfer: {
94
- description: string;
95
- params: {
96
- name: string;
97
- type: string;
98
- }[];
99
- type: string;
100
- };
101
- };
102
- version: number;
103
- }[];
104
- SettlementApi: {
105
- methods: {
106
- get_execute_instruction_info: {
107
- description: string;
108
- params: {
109
- name: string;
110
- type: string;
111
- }[];
112
- type: string;
113
- };
114
- get_affirmation_count: {
115
- description: string;
116
- params: {
117
- name: string;
118
- type: string;
119
- }[];
120
- type: string;
121
- };
122
- get_transfer_report: {
123
- description: string;
124
- params: {
125
- name: string;
126
- type: string;
127
- }[];
128
- type: string;
129
- };
130
- get_execute_instruction_report: {
131
- description: string;
132
- params: {
133
- name: string;
134
- type: string;
135
- }[];
136
- type: string;
137
- };
138
- };
139
- version: number;
140
- }[];
141
- PipsApi: {
142
- methods: {
143
- get_votes: {
144
- description: string;
145
- params: {
146
- name: string;
147
- type: string;
148
- }[];
149
- type: string;
150
- };
151
- proposed_by: {
152
- description: string;
153
- params: {
154
- name: string;
155
- type: string;
156
- }[];
157
- type: string;
158
- };
159
- voted_on: {
160
- description: string;
161
- params: {
162
- name: string;
163
- type: string;
164
- }[];
165
- type: string;
166
- };
167
- };
168
- version: number;
169
- }[];
170
- ProtocolFeeApi: {
171
- methods: {
172
- compute_fee: {
173
- description: string;
174
- params: {
175
- name: string;
176
- type: string;
177
- }[];
178
- type: string;
179
- };
180
- };
181
- version: number;
182
- }[];
183
- StakingApi: {
184
- methods: {
185
- get_curve: {
186
- description: string;
187
- params: never[];
188
- type: string;
189
- };
190
- };
191
- version: number;
192
- }[];
193
- ComplianceApi: {
194
- methods: {
195
- compliance_report: {
196
- description: string;
197
- params: {
198
- name: string;
199
- type: string;
200
- }[];
201
- type: string;
202
- };
203
- };
204
- version: number;
205
- }[];
206
- };
207
- export default _default;
208
- //# sourceMappingURL=6.x.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"6.x.d.ts","sourceRoot":"","sources":["../../src/runtime/6.x.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAuUE"}
package/runtime/6.x.js DELETED
@@ -1,323 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = {
4
- AssetApi: [
5
- {
6
- methods: {
7
- can_transfer_granular: {
8
- description: 'Checks whether a transaction with given parameters can take place or not. The result is granular meaning each check is run and returned regardless of outcome.',
9
- params: [
10
- {
11
- name: 'from_custodian',
12
- type: 'Option<IdentityId>',
13
- },
14
- {
15
- name: 'from_portfolio',
16
- type: 'PortfolioId',
17
- },
18
- {
19
- name: 'to_custodian',
20
- type: 'Option<IdentityId>',
21
- },
22
- {
23
- name: 'to_portfolio',
24
- type: 'PortfolioId',
25
- },
26
- {
27
- name: 'ticker',
28
- type: 'Ticker',
29
- },
30
- {
31
- name: 'value',
32
- type: 'Balance',
33
- },
34
- ],
35
- type: 'CanTransferGranularReturn',
36
- },
37
- },
38
- version: 3,
39
- },
40
- ],
41
- GroupApi: [
42
- {
43
- methods: {
44
- get_cdd_valid_members: {
45
- description: 'Get the CDD members',
46
- params: [],
47
- type: 'Vec<Member>',
48
- },
49
- get_gc_valid_members: {
50
- description: 'Get the GC members',
51
- params: [],
52
- type: 'Vec<Member>',
53
- },
54
- },
55
- version: 1,
56
- },
57
- ],
58
- IdentityApi: [
59
- {
60
- methods: {
61
- is_identity_has_valid_cdd: {
62
- description: 'use to tell whether the given did has valid cdd claim or not',
63
- params: [
64
- {
65
- name: 'did',
66
- type: 'IdentityId',
67
- },
68
- {
69
- name: 'buffer_time',
70
- type: 'Option<u64>',
71
- },
72
- ],
73
- type: 'CddStatus',
74
- },
75
- get_asset_did: {
76
- description: 'function is used to query the given ticker DID',
77
- params: [
78
- {
79
- name: 'ticker',
80
- type: 'Ticker',
81
- },
82
- ],
83
- type: 'AssetDidResult',
84
- },
85
- get_did_records: {
86
- description: 'Used to get the did record values for a given DID',
87
- params: [
88
- {
89
- name: 'did',
90
- type: 'IdentityId',
91
- },
92
- ],
93
- type: 'RpcDidRecords',
94
- },
95
- get_did_status: {
96
- description: 'Retrieve status of the DID',
97
- params: [
98
- {
99
- name: 'did',
100
- type: 'Vec<IdentityId>',
101
- },
102
- ],
103
- type: 'Vec<DidStatus>',
104
- },
105
- get_filtered_authorizations: {
106
- description: 'Retrieve authorizations data for a given signatory and filtered using the given authorization type',
107
- params: [
108
- {
109
- name: 'signatory',
110
- type: 'Signatory',
111
- },
112
- {
113
- name: 'allow_expired',
114
- type: 'bool',
115
- },
116
- {
117
- name: 'auth_type',
118
- type: 'Option<AuthorizationType>',
119
- },
120
- ],
121
- type: 'Vec<Authorization>',
122
- },
123
- get_key_identity_data: {
124
- description: 'Query relation between a signing key and a DID',
125
- params: [
126
- {
127
- name: 'acc',
128
- type: 'AccountId',
129
- },
130
- ],
131
- type: 'Option<KeyIdentityData>',
132
- },
133
- valid_cdd_claims: {
134
- description: 'Returns all valid IdentityClaim of type CustomerDueDiligence for the given target_identity',
135
- params: [
136
- {
137
- name: 'target_identity',
138
- type: 'IdentityId',
139
- },
140
- {
141
- name: 'cdd_checker_leeway',
142
- type: 'Option<u64>',
143
- },
144
- ],
145
- type: 'Vec<IdentityClaim>',
146
- },
147
- },
148
- version: 3,
149
- },
150
- ],
151
- NFTApi: [
152
- {
153
- methods: {
154
- validate_nft_transfer: {
155
- description: 'Verifies if and the sender and receiver are not the same, if both have valid balances, if the sender owns the nft, and if all compliance rules are being respected.',
156
- params: [
157
- {
158
- name: 'sender_portfolio',
159
- type: 'PortfolioId',
160
- },
161
- {
162
- name: 'receiver_portfolio',
163
- type: 'PortfolioId',
164
- },
165
- {
166
- name: 'nfts',
167
- type: 'NFTs',
168
- },
169
- ],
170
- type: 'DispatchResult',
171
- },
172
- },
173
- version: 1,
174
- },
175
- ],
176
- SettlementApi: [
177
- {
178
- methods: {
179
- get_execute_instruction_info: {
180
- description: 'Returns an ExecuteInstructionInfo instance containing the consumed weight and the number of tokens in the instruction.',
181
- params: [
182
- {
183
- name: 'instruction_id',
184
- type: 'InstructionId',
185
- },
186
- ],
187
- type: 'ExecuteInstructionInfo',
188
- },
189
- get_affirmation_count: {
190
- description: 'Returns an AffirmationCount instance containing the number of assets being sent/received from portfolios, and the number of off-chain assets in the instruction.',
191
- params: [
192
- {
193
- name: 'instruction_id',
194
- type: 'InstructionId',
195
- },
196
- {
197
- name: 'portfolios',
198
- type: 'Vec<PortfolioId>',
199
- },
200
- ],
201
- type: 'AffirmationCount',
202
- },
203
- get_transfer_report: {
204
- description: "Returns a vector containing all errors for the transfer. An empty vec means there's no error.",
205
- params: [
206
- {
207
- name: 'leg',
208
- type: 'Leg',
209
- },
210
- {
211
- name: 'skip_locked_check',
212
- type: 'bool',
213
- },
214
- ],
215
- type: 'Vec<DispatchError>',
216
- },
217
- get_execute_instruction_report: {
218
- description: "Returns a vector containing all errors for the execution. An empty vec means there's no error.",
219
- params: [
220
- {
221
- name: 'instruction_id',
222
- type: 'InstructionId',
223
- },
224
- ],
225
- type: 'Vec<DispatchError>',
226
- },
227
- },
228
- version: 1,
229
- },
230
- ],
231
- PipsApi: [
232
- {
233
- methods: {
234
- get_votes: {
235
- description: 'Summary of votes of a proposal given by index',
236
- params: [
237
- {
238
- name: 'index',
239
- type: 'PipId',
240
- },
241
- ],
242
- type: 'VoteCount',
243
- },
244
- proposed_by: {
245
- description: 'Retrieves proposal indices started by address',
246
- params: [
247
- {
248
- name: 'address',
249
- type: 'AccountId',
250
- },
251
- ],
252
- type: 'Vec<PipId>',
253
- },
254
- voted_on: {
255
- description: 'Retrieves proposal address indices voted on',
256
- params: [
257
- {
258
- name: 'address',
259
- type: 'AccountId',
260
- },
261
- ],
262
- type: 'Vec<PipId>',
263
- },
264
- },
265
- version: 1,
266
- },
267
- ],
268
- ProtocolFeeApi: [
269
- {
270
- methods: {
271
- compute_fee: {
272
- description: 'Gets the fee of a chargeable extrinsic operation',
273
- params: [
274
- {
275
- name: 'op',
276
- type: 'ProtocolOp',
277
- },
278
- ],
279
- type: 'CappedFee',
280
- },
281
- },
282
- version: 1,
283
- },
284
- ],
285
- StakingApi: [
286
- {
287
- methods: {
288
- get_curve: {
289
- description: 'Retrieves curves parameters',
290
- params: [],
291
- type: 'Vec<(Perbill, Perbill)>',
292
- },
293
- },
294
- version: 1,
295
- },
296
- ],
297
- ComplianceApi: [
298
- {
299
- methods: {
300
- compliance_report: {
301
- description: 'Checks all compliance requirements for the given ticker.',
302
- params: [
303
- {
304
- name: 'ticker',
305
- type: 'Ticker',
306
- },
307
- {
308
- name: 'sender_identity',
309
- type: 'IdentityId',
310
- },
311
- {
312
- name: 'receiver_identity',
313
- type: 'IdentityId',
314
- },
315
- ],
316
- type: 'Result<ComplianceReport, DispatchError>',
317
- },
318
- },
319
- version: 1,
320
- },
321
- ],
322
- };
323
- //# sourceMappingURL=6.x.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"6.x.js","sourceRoot":"","sources":["../../src/runtime/6.x.ts"],"names":[],"mappings":";;AAAA,kBAAe;IACb,QAAQ,EAAE;QACR;YACE,OAAO,EAAE;gBACP,qBAAqB,EAAE;oBACrB,WAAW,EACT,gKAAgK;oBAClK,MAAM,EAAE;wBACN;4BACE,IAAI,EAAE,gBAAgB;4BACtB,IAAI,EAAE,oBAAoB;yBAC3B;wBACD;4BACE,IAAI,EAAE,gBAAgB;4BACtB,IAAI,EAAE,aAAa;yBACpB;wBACD;4BACE,IAAI,EAAE,cAAc;4BACpB,IAAI,EAAE,oBAAoB;yBAC3B;wBACD;4BACE,IAAI,EAAE,cAAc;4BACpB,IAAI,EAAE,aAAa;yBACpB;wBACD;4BACE,IAAI,EAAE,QAAQ;4BACd,IAAI,EAAE,QAAQ;yBACf;wBACD;4BACE,IAAI,EAAE,OAAO;4BACb,IAAI,EAAE,SAAS;yBAChB;qBACF;oBACD,IAAI,EAAE,2BAA2B;iBAClC;aACF;YACD,OAAO,EAAE,CAAC;SACX;KACF;IACD,QAAQ,EAAE;QACR;YACE,OAAO,EAAE;gBACP,qBAAqB,EAAE;oBACrB,WAAW,EAAE,qBAAqB;oBAClC,MAAM,EAAE,EAAE;oBACV,IAAI,EAAE,aAAa;iBACpB;gBACD,oBAAoB,EAAE;oBACpB,WAAW,EAAE,oBAAoB;oBACjC,MAAM,EAAE,EAAE;oBACV,IAAI,EAAE,aAAa;iBACpB;aACF;YACD,OAAO,EAAE,CAAC;SACX;KACF;IACD,WAAW,EAAE;QACX;YACE,OAAO,EAAE;gBACP,yBAAyB,EAAE;oBACzB,WAAW,EAAE,8DAA8D;oBAC3E,MAAM,EAAE;wBACN;4BACE,IAAI,EAAE,KAAK;4BACX,IAAI,EAAE,YAAY;yBACnB;wBACD;4BACE,IAAI,EAAE,aAAa;4BACnB,IAAI,EAAE,aAAa;yBACpB;qBACF;oBACD,IAAI,EAAE,WAAW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