@polymeshassociation/polymesh-types 5.12.0 → 5.12.2
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 +3 -3
- package/package.json +1 -1
- package/runtime/assetApi/v3.d.ts +3 -0
- package/runtime/assetApi/v3.d.ts.map +1 -0
- package/runtime/assetApi/v3.js +18 -0
- package/runtime/assetApi/v3.js.map +1 -0
- package/runtime/assetApi/v4.d.ts +3 -0
- package/runtime/assetApi/v4.d.ts.map +1 -0
- package/runtime/assetApi/v4.js +17 -0
- package/runtime/assetApi/v4.js.map +1 -0
- package/runtime/complianceApi/v1.d.ts +3 -0
- package/runtime/complianceApi/v1.d.ts.map +1 -0
- package/runtime/complianceApi/v1.js +15 -0
- package/runtime/complianceApi/v1.js.map +1 -0
- package/runtime/complianceApi/v2.d.ts +3 -0
- package/runtime/complianceApi/v2.d.ts.map +1 -0
- package/runtime/complianceApi/v2.js +15 -0
- package/runtime/complianceApi/v2.js.map +1 -0
- package/runtime/groupApi/v1.d.ts +3 -0
- package/runtime/groupApi/v1.d.ts.map +1 -0
- package/runtime/groupApi/v1.js +16 -0
- package/runtime/groupApi/v1.js.map +1 -0
- package/runtime/identityApi/v3.d.ts +3 -0
- package/runtime/identityApi/v3.d.ts.map +1 -0
- package/runtime/identityApi/v3.js +51 -0
- package/runtime/identityApi/v3.js.map +1 -0
- package/runtime/identityApi/v4.d.ts +3 -0
- package/runtime/identityApi/v4.d.ts.map +1 -0
- package/runtime/identityApi/v4.js +46 -0
- package/runtime/identityApi/v4.js.map +1 -0
- package/runtime/index.d.ts +3 -199
- package/runtime/index.d.ts.map +1 -1
- package/runtime/index.js +33 -301
- package/runtime/index.js.map +1 -1
- package/runtime/nftApi/v1.d.ts +3 -0
- package/runtime/nftApi/v1.d.ts.map +1 -0
- package/runtime/nftApi/v1.js +15 -0
- package/runtime/nftApi/v1.js.map +1 -0
- package/runtime/nftApi/v2.d.ts +3 -0
- package/runtime/nftApi/v2.d.ts.map +1 -0
- package/runtime/nftApi/v2.js +16 -0
- package/runtime/nftApi/v2.js.map +1 -0
- package/runtime/pipsApi/v1.d.ts +3 -0
- package/runtime/pipsApi/v1.d.ts.map +1 -0
- package/runtime/pipsApi/v1.js +21 -0
- package/runtime/pipsApi/v1.js.map +1 -0
- package/runtime/protocolApi/v1.d.ts +3 -0
- package/runtime/protocolApi/v1.d.ts.map +1 -0
- package/runtime/protocolApi/v1.js +11 -0
- package/runtime/protocolApi/v1.js.map +1 -0
- package/runtime/settlementApi/v1.d.ts +3 -0
- package/runtime/settlementApi/v1.d.ts.map +1 -0
- package/runtime/settlementApi/v1.js +32 -0
- package/runtime/settlementApi/v1.js.map +1 -0
- package/runtime/settlementApi/v2.d.ts +3 -0
- package/runtime/settlementApi/v2.d.ts.map +1 -0
- package/runtime/settlementApi/v2.js +32 -0
- package/runtime/settlementApi/v2.js.map +1 -0
- package/runtime/stakingApi/v1.d.ts +3 -0
- package/runtime/stakingApi/v1.d.ts.map +1 -0
- package/runtime/stakingApi/v1.js +11 -0
- package/runtime/stakingApi/v1.js.map +1 -0
- package/types/5.0.x.json +2 -1
- package/types/5.1.x.json +2 -1
- package/types/5.2.x.json +2 -1
- package/types/5.3.x.json +2 -1
- package/types/5.4.x.json +2 -1
- package/types/6.0.x.json +2 -1
- package/types/6.1.x.json +2 -1
- package/types/6.3.x.json +2 -1
- package/types/7.0.x.json +2 -1
- package/types/index.d.ts +1 -0
- package/types/index.d.ts.map +1 -1
- package/runtime/6.x.d.ts +0 -208
- package/runtime/6.x.d.ts.map +0 -1
- package/runtime/6.x.js +0 -323
- package/runtime/6.x.js.map +0 -1
package/runtime/index.js
CHANGED
|
@@ -1,313 +1,45 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.runtime = void 0;
|
|
4
|
+
const v3_1 = require("./assetApi/v3");
|
|
5
|
+
const v4_1 = require("./assetApi/v4");
|
|
6
|
+
const v1_1 = require("./complianceApi/v1");
|
|
7
|
+
const v2_1 = require("./complianceApi/v2");
|
|
8
|
+
const v1_2 = require("./groupApi/v1");
|
|
9
|
+
const v3_2 = require("./identityApi/v3");
|
|
10
|
+
const v4_2 = require("./identityApi/v4");
|
|
11
|
+
const v1_3 = require("./nftApi/v1");
|
|
12
|
+
const v2_2 = require("./nftApi/v2");
|
|
13
|
+
const v1_4 = require("./pipsApi/v1");
|
|
14
|
+
const v1_5 = require("./protocolApi/v1");
|
|
15
|
+
const v1_6 = require("./settlementApi/v1");
|
|
16
|
+
const v2_3 = require("./settlementApi/v2");
|
|
17
|
+
const v1_7 = require("./stakingApi/v1");
|
|
18
|
+
exports.runtime = {
|
|
4
19
|
AssetApi: [
|
|
5
|
-
{
|
|
6
|
-
|
|
7
|
-
transfer_report: {
|
|
8
|
-
description: "Returns a vector containing all errors for the transfer. An empty vec means there's no error.",
|
|
9
|
-
params: [
|
|
10
|
-
{
|
|
11
|
-
name: 'sender_portfolio',
|
|
12
|
-
type: 'PortfolioId',
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
name: 'receiver_portfolio',
|
|
16
|
-
type: 'PortfolioId',
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
name: 'asset_id',
|
|
20
|
-
type: 'AssetID',
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
name: 'transfer_value',
|
|
24
|
-
type: 'Balance',
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
name: 'skip_locked_check',
|
|
28
|
-
type: 'bool',
|
|
29
|
-
},
|
|
30
|
-
],
|
|
31
|
-
type: 'Vec<DispatchError>',
|
|
32
|
-
},
|
|
33
|
-
},
|
|
34
|
-
version: 4,
|
|
35
|
-
},
|
|
20
|
+
{ methods: v4_1.AssetApiV4, version: 4 },
|
|
21
|
+
{ methods: v3_1.AssetApiV3, version: 3 },
|
|
36
22
|
],
|
|
37
|
-
|
|
38
|
-
{
|
|
39
|
-
|
|
40
|
-
get_cdd_valid_members: {
|
|
41
|
-
description: 'Get the CDD members',
|
|
42
|
-
params: [],
|
|
43
|
-
type: 'Vec<Member>',
|
|
44
|
-
},
|
|
45
|
-
get_gc_valid_members: {
|
|
46
|
-
description: 'Get the GC members',
|
|
47
|
-
params: [],
|
|
48
|
-
type: 'Vec<Member>',
|
|
49
|
-
},
|
|
50
|
-
},
|
|
51
|
-
version: 1,
|
|
52
|
-
},
|
|
23
|
+
ComplianceApi: [
|
|
24
|
+
{ methods: v2_1.ComplianceApiV2, version: 2 },
|
|
25
|
+
{ methods: v1_1.ComplianceApiV1, version: 1 },
|
|
53
26
|
],
|
|
27
|
+
GroupApi: [{ methods: v1_2.GroupApiV1, version: 1 }],
|
|
54
28
|
IdentityApi: [
|
|
55
|
-
{
|
|
56
|
-
|
|
57
|
-
is_identity_has_valid_cdd: {
|
|
58
|
-
description: 'use to tell whether the given did has valid cdd claim or not',
|
|
59
|
-
params: [
|
|
60
|
-
{
|
|
61
|
-
name: 'did',
|
|
62
|
-
type: 'IdentityId',
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
name: 'buffer_time',
|
|
66
|
-
type: 'Option<u64>',
|
|
67
|
-
},
|
|
68
|
-
],
|
|
69
|
-
type: 'CddStatus',
|
|
70
|
-
},
|
|
71
|
-
get_did_records: {
|
|
72
|
-
description: 'Used to get the did record values for a given DID',
|
|
73
|
-
params: [
|
|
74
|
-
{
|
|
75
|
-
name: 'did',
|
|
76
|
-
type: 'IdentityId',
|
|
77
|
-
},
|
|
78
|
-
],
|
|
79
|
-
type: 'RpcDidRecords',
|
|
80
|
-
},
|
|
81
|
-
get_did_status: {
|
|
82
|
-
description: 'Retrieve status of the DID',
|
|
83
|
-
params: [
|
|
84
|
-
{
|
|
85
|
-
name: 'did',
|
|
86
|
-
type: 'Vec<IdentityId>',
|
|
87
|
-
},
|
|
88
|
-
],
|
|
89
|
-
type: 'Vec<DidStatus>',
|
|
90
|
-
},
|
|
91
|
-
get_filtered_authorizations: {
|
|
92
|
-
description: 'Retrieve authorizations data for a given signatory and filtered using the given authorization type',
|
|
93
|
-
params: [
|
|
94
|
-
{
|
|
95
|
-
name: 'signatory',
|
|
96
|
-
type: 'Signatory',
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
name: 'allow_expired',
|
|
100
|
-
type: 'bool',
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
name: 'auth_type',
|
|
104
|
-
type: 'Option<AuthorizationType>',
|
|
105
|
-
},
|
|
106
|
-
],
|
|
107
|
-
type: 'Vec<Authorization>',
|
|
108
|
-
},
|
|
109
|
-
get_key_identity_data: {
|
|
110
|
-
description: 'Query relation between a signing key and a DID',
|
|
111
|
-
params: [
|
|
112
|
-
{
|
|
113
|
-
name: 'acc',
|
|
114
|
-
type: 'AccountId',
|
|
115
|
-
},
|
|
116
|
-
],
|
|
117
|
-
type: 'Option<KeyIdentityData>',
|
|
118
|
-
},
|
|
119
|
-
valid_cdd_claims: {
|
|
120
|
-
description: 'Returns all valid IdentityClaim of type CustomerDueDiligence for the given target_identity',
|
|
121
|
-
params: [
|
|
122
|
-
{
|
|
123
|
-
name: 'target_identity',
|
|
124
|
-
type: 'IdentityId',
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
name: 'cdd_checker_leeway',
|
|
128
|
-
type: 'Option<u64>',
|
|
129
|
-
},
|
|
130
|
-
],
|
|
131
|
-
type: 'Vec<IdentityClaim>',
|
|
132
|
-
},
|
|
133
|
-
},
|
|
134
|
-
version: 4,
|
|
135
|
-
},
|
|
29
|
+
{ methods: v4_2.IdentityApiV4, version: 4 },
|
|
30
|
+
{ methods: v3_2.IdentityApiV3, version: 3 },
|
|
136
31
|
],
|
|
137
|
-
|
|
138
|
-
{
|
|
139
|
-
|
|
140
|
-
transfer_report: {
|
|
141
|
-
description: "Returns a vector containing all errors for the transfer. An empty vec means there's no error.",
|
|
142
|
-
params: [
|
|
143
|
-
{
|
|
144
|
-
name: 'sender_portfolio',
|
|
145
|
-
type: 'PortfolioId',
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
name: 'receiver_portfolio',
|
|
149
|
-
type: 'PortfolioId',
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
name: 'nfts',
|
|
153
|
-
type: 'NFTs',
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
name: 'skip_locked_check',
|
|
157
|
-
type: 'bool',
|
|
158
|
-
},
|
|
159
|
-
],
|
|
160
|
-
type: 'Vec<DispatchError>',
|
|
161
|
-
},
|
|
162
|
-
},
|
|
163
|
-
version: 2,
|
|
164
|
-
},
|
|
32
|
+
NftApi: [
|
|
33
|
+
{ methods: v2_2.NftApiV2, version: 2 },
|
|
34
|
+
{ methods: v1_3.NftApiV1, version: 1 },
|
|
165
35
|
],
|
|
36
|
+
PipsApi: [{ methods: v1_4.PipsApiV1, version: 1 }],
|
|
37
|
+
ProtocolFeeApi: [{ methods: v1_5.ProtocolApiV1, version: 1 }],
|
|
166
38
|
SettlementApi: [
|
|
167
|
-
{
|
|
168
|
-
|
|
169
|
-
get_execute_instruction_info: {
|
|
170
|
-
description: 'Returns an ExecuteInstructionInfo instance containing the consumed weight and the number of tokens in the instruction.',
|
|
171
|
-
params: [
|
|
172
|
-
{
|
|
173
|
-
name: 'instruction_id',
|
|
174
|
-
type: 'InstructionId',
|
|
175
|
-
},
|
|
176
|
-
],
|
|
177
|
-
type: 'Option<ExecuteInstructionInfo>',
|
|
178
|
-
},
|
|
179
|
-
get_affirmation_count: {
|
|
180
|
-
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.',
|
|
181
|
-
params: [
|
|
182
|
-
{
|
|
183
|
-
name: 'instruction_id',
|
|
184
|
-
type: 'InstructionId',
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
name: 'portfolios',
|
|
188
|
-
type: 'Vec<PortfolioId>',
|
|
189
|
-
},
|
|
190
|
-
],
|
|
191
|
-
type: 'AffirmationCount',
|
|
192
|
-
},
|
|
193
|
-
get_transfer_report: {
|
|
194
|
-
description: "Returns a vector containing all errors for the transfer. An empty vec means there's no error.",
|
|
195
|
-
params: [
|
|
196
|
-
{
|
|
197
|
-
name: 'leg',
|
|
198
|
-
type: 'Leg',
|
|
199
|
-
},
|
|
200
|
-
{
|
|
201
|
-
name: 'skip_locked_check',
|
|
202
|
-
type: 'bool',
|
|
203
|
-
},
|
|
204
|
-
],
|
|
205
|
-
type: 'Vec<DispatchError>',
|
|
206
|
-
},
|
|
207
|
-
get_execute_instruction_report: {
|
|
208
|
-
description: "Returns a vector containing all errors for the execution. An empty vec means there's no error.",
|
|
209
|
-
params: [
|
|
210
|
-
{
|
|
211
|
-
name: 'instruction_id',
|
|
212
|
-
type: 'InstructionId',
|
|
213
|
-
},
|
|
214
|
-
],
|
|
215
|
-
type: 'Vec<DispatchError>',
|
|
216
|
-
},
|
|
217
|
-
},
|
|
218
|
-
version: 2,
|
|
219
|
-
},
|
|
220
|
-
],
|
|
221
|
-
PipsApi: [
|
|
222
|
-
{
|
|
223
|
-
methods: {
|
|
224
|
-
get_votes: {
|
|
225
|
-
description: 'Summary of votes of a proposal given by index',
|
|
226
|
-
params: [
|
|
227
|
-
{
|
|
228
|
-
name: 'index',
|
|
229
|
-
type: 'PipId',
|
|
230
|
-
},
|
|
231
|
-
],
|
|
232
|
-
type: 'VoteCount',
|
|
233
|
-
},
|
|
234
|
-
proposed_by: {
|
|
235
|
-
description: 'Retrieves proposal indices started by address',
|
|
236
|
-
params: [
|
|
237
|
-
{
|
|
238
|
-
name: 'address',
|
|
239
|
-
type: 'AccountId',
|
|
240
|
-
},
|
|
241
|
-
],
|
|
242
|
-
type: 'Vec<PipId>',
|
|
243
|
-
},
|
|
244
|
-
voted_on: {
|
|
245
|
-
description: 'Retrieves proposal address indices voted on',
|
|
246
|
-
params: [
|
|
247
|
-
{
|
|
248
|
-
name: 'address',
|
|
249
|
-
type: 'AccountId',
|
|
250
|
-
},
|
|
251
|
-
],
|
|
252
|
-
type: 'Vec<PipId>',
|
|
253
|
-
},
|
|
254
|
-
},
|
|
255
|
-
version: 1,
|
|
256
|
-
},
|
|
257
|
-
],
|
|
258
|
-
ProtocolFeeApi: [
|
|
259
|
-
{
|
|
260
|
-
methods: {
|
|
261
|
-
compute_fee: {
|
|
262
|
-
description: 'Gets the fee of a chargeable extrinsic operation',
|
|
263
|
-
params: [
|
|
264
|
-
{
|
|
265
|
-
name: 'op',
|
|
266
|
-
type: 'ProtocolOp',
|
|
267
|
-
},
|
|
268
|
-
],
|
|
269
|
-
type: 'CappedFee',
|
|
270
|
-
},
|
|
271
|
-
},
|
|
272
|
-
version: 1,
|
|
273
|
-
},
|
|
274
|
-
],
|
|
275
|
-
StakingApi: [
|
|
276
|
-
{
|
|
277
|
-
methods: {
|
|
278
|
-
get_curve: {
|
|
279
|
-
description: 'Retrieves curves parameters',
|
|
280
|
-
params: [],
|
|
281
|
-
type: 'Vec<(Perbill, Perbill)>',
|
|
282
|
-
},
|
|
283
|
-
},
|
|
284
|
-
version: 1,
|
|
285
|
-
},
|
|
286
|
-
],
|
|
287
|
-
ComplianceApi: [
|
|
288
|
-
{
|
|
289
|
-
methods: {
|
|
290
|
-
compliance_report: {
|
|
291
|
-
description: 'Checks all compliance requirements for the given asset_id.',
|
|
292
|
-
params: [
|
|
293
|
-
{
|
|
294
|
-
name: 'asset_id',
|
|
295
|
-
type: 'AssetID',
|
|
296
|
-
},
|
|
297
|
-
{
|
|
298
|
-
name: 'sender_identity',
|
|
299
|
-
type: 'IdentityId',
|
|
300
|
-
},
|
|
301
|
-
{
|
|
302
|
-
name: 'receiver_identity',
|
|
303
|
-
type: 'IdentityId',
|
|
304
|
-
},
|
|
305
|
-
],
|
|
306
|
-
type: 'Result<ComplianceReport, DispatchError>',
|
|
307
|
-
},
|
|
308
|
-
},
|
|
309
|
-
version: 2,
|
|
310
|
-
},
|
|
39
|
+
{ methods: v2_3.SettlementApiV2, version: 2 },
|
|
40
|
+
{ methods: v1_6.SettlementApiV1, version: 1 },
|
|
311
41
|
],
|
|
42
|
+
StakingApi: [{ methods: v1_7.StakingApiV1, version: 1 }],
|
|
312
43
|
};
|
|
44
|
+
exports.default = exports.runtime;
|
|
313
45
|
//# sourceMappingURL=index.js.map
|
package/runtime/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/runtime/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/runtime/index.ts"],"names":[],"mappings":";;;AAEA,sCAA2C;AAC3C,sCAA2C;AAC3C,2CAAqD;AACrD,2CAAqD;AACrD,sCAA2C;AAC3C,yCAAiD;AACjD,yCAAiD;AACjD,oCAAuC;AACvC,oCAAuC;AACvC,qCAAyC;AACzC,yCAAiD;AACjD,2CAAqD;AACrD,2CAAqD;AACrD,wCAA+C;AAElC,QAAA,OAAO,GAAoB;IACtC,QAAQ,EAAE;QACR,EAAE,OAAO,EAAE,eAAU,EAAE,OAAO,EAAE,CAAC,EAAE;QACnC,EAAE,OAAO,EAAE,eAAU,EAAE,OAAO,EAAE,CAAC,EAAE;KACpC;IACD,aAAa,EAAE;QACb,EAAE,OAAO,EAAE,oBAAe,EAAE,OAAO,EAAE,CAAC,EAAE;QACxC,EAAE,OAAO,EAAE,oBAAe,EAAE,OAAO,EAAE,CAAC,EAAE;KACzC;IACD,QAAQ,EAAE,CAAC,EAAE,OAAO,EAAE,eAAU,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IAC/C,WAAW,EAAE;QACX,EAAE,OAAO,EAAE,kBAAa,EAAE,OAAO,EAAE,CAAC,EAAE;QACtC,EAAE,OAAO,EAAE,kBAAa,EAAE,OAAO,EAAE,CAAC,EAAE;KACvC;IACD,MAAM,EAAE;QACN,EAAE,OAAO,EAAE,aAAQ,EAAE,OAAO,EAAE,CAAC,EAAE;QACjC,EAAE,OAAO,EAAE,aAAQ,EAAE,OAAO,EAAE,CAAC,EAAE;KAClC;IACD,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,cAAS,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IAC7C,cAAc,EAAE,CAAC,EAAE,OAAO,EAAE,kBAAa,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IACxD,aAAa,EAAE;QACb,EAAE,OAAO,EAAE,oBAAe,EAAE,OAAO,EAAE,CAAC,EAAE;QACxC,EAAE,OAAO,EAAE,oBAAe,EAAE,OAAO,EAAE,CAAC,EAAE;KACzC;IACD,UAAU,EAAE,CAAC,EAAE,OAAO,EAAE,iBAAY,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;CACpD,CAAC;AAEF,kBAAe,eAAO,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v1.d.ts","sourceRoot":"","sources":["../../../src/runtime/nftApi/v1.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAWnD,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NftApiV1 = void 0;
|
|
4
|
+
exports.NftApiV1 = {
|
|
5
|
+
validate_nft_transfer: {
|
|
6
|
+
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.',
|
|
7
|
+
params: [
|
|
8
|
+
{ name: 'sender_portfolio', type: 'PortfolioId' },
|
|
9
|
+
{ name: 'receiver_portfolio', type: 'PortfolioId' },
|
|
10
|
+
{ name: 'nfts', type: 'NFTs' },
|
|
11
|
+
],
|
|
12
|
+
type: 'DispatchResult',
|
|
13
|
+
},
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=v1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v1.js","sourceRoot":"","sources":["../../../src/runtime/nftApi/v1.ts"],"names":[],"mappings":";;;AAEa,QAAA,QAAQ,GAAmC;IACtD,qBAAqB,EAAE;QACrB,WAAW,EACT,qKAAqK;QACvK,MAAM,EAAE;YACN,EAAE,IAAI,EAAE,kBAAkB,EAAE,IAAI,EAAE,aAAa,EAAE;YACjD,EAAE,IAAI,EAAE,oBAAoB,EAAE,IAAI,EAAE,aAAa,EAAE;YACnD,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE;SAC/B;QACD,IAAI,EAAE,gBAAgB;KACvB;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2.d.ts","sourceRoot":"","sources":["../../../src/runtime/nftApi/v2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAYnD,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NftApiV2 = void 0;
|
|
4
|
+
exports.NftApiV2 = {
|
|
5
|
+
transfer_report: {
|
|
6
|
+
description: "Returns a vector containing all errors for the transfer. An empty vec means there's no error.",
|
|
7
|
+
params: [
|
|
8
|
+
{ name: 'sender_portfolio', type: 'PortfolioId' },
|
|
9
|
+
{ name: 'receiver_portfolio', type: 'PortfolioId' },
|
|
10
|
+
{ name: 'nfts', type: 'NFTs' },
|
|
11
|
+
{ name: 'skip_locked_check', type: 'bool' },
|
|
12
|
+
],
|
|
13
|
+
type: 'Vec<DispatchError>',
|
|
14
|
+
},
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=v2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2.js","sourceRoot":"","sources":["../../../src/runtime/nftApi/v2.ts"],"names":[],"mappings":";;;AAEa,QAAA,QAAQ,GAAmC;IACtD,eAAe,EAAE;QACf,WAAW,EACT,+FAA+F;QACjG,MAAM,EAAE;YACN,EAAE,IAAI,EAAE,kBAAkB,EAAE,IAAI,EAAE,aAAa,EAAE;YACjD,EAAE,IAAI,EAAE,oBAAoB,EAAE,IAAI,EAAE,aAAa,EAAE;YACnD,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE;YAC9B,EAAE,IAAI,EAAE,mBAAmB,EAAE,IAAI,EAAE,MAAM,EAAE;SAC5C;QACD,IAAI,EAAE,oBAAoB;KAC3B;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v1.d.ts","sourceRoot":"","sources":["../../../src/runtime/pipsApi/v1.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,eAAO,MAAM,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAgBpD,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PipsApiV1 = void 0;
|
|
4
|
+
exports.PipsApiV1 = {
|
|
5
|
+
get_votes: {
|
|
6
|
+
description: 'Summary of votes of a proposal given by index',
|
|
7
|
+
params: [{ name: 'index', type: 'PipId' }],
|
|
8
|
+
type: 'VoteCount',
|
|
9
|
+
},
|
|
10
|
+
proposed_by: {
|
|
11
|
+
description: 'Retrieves proposal indices started by address',
|
|
12
|
+
params: [{ name: 'address', type: 'AccountId' }],
|
|
13
|
+
type: 'Vec<PipId>',
|
|
14
|
+
},
|
|
15
|
+
voted_on: {
|
|
16
|
+
description: 'Retrieves proposal address indices voted on',
|
|
17
|
+
params: [{ name: 'address', type: 'AccountId' }],
|
|
18
|
+
type: 'Vec<PipId>',
|
|
19
|
+
},
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=v1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v1.js","sourceRoot":"","sources":["../../../src/runtime/pipsApi/v1.ts"],"names":[],"mappings":";;;AAEa,QAAA,SAAS,GAAmC;IACvD,SAAS,EAAE;QACT,WAAW,EAAE,+CAA+C;QAC5D,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;QAC1C,IAAI,EAAE,WAAW;KAClB;IACD,WAAW,EAAE;QACX,WAAW,EAAE,+CAA+C;QAC5D,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;QAChD,IAAI,EAAE,YAAY;KACnB;IACD,QAAQ,EAAE;QACR,WAAW,EAAE,6CAA6C;QAC1D,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;QAChD,IAAI,EAAE,YAAY;KACnB;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v1.d.ts","sourceRoot":"","sources":["../../../src/runtime/protocolApi/v1.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAMxD,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ProtocolApiV1 = void 0;
|
|
4
|
+
exports.ProtocolApiV1 = {
|
|
5
|
+
compute_fee: {
|
|
6
|
+
description: 'Gets the fee of a chargeable extrinsic operation',
|
|
7
|
+
params: [{ name: 'op', type: 'ProtocolOp' }],
|
|
8
|
+
type: 'CappedFee',
|
|
9
|
+
},
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=v1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v1.js","sourceRoot":"","sources":["../../../src/runtime/protocolApi/v1.ts"],"names":[],"mappings":";;;AAEa,QAAA,aAAa,GAAmC;IAC3D,WAAW,EAAE;QACX,WAAW,EAAE,kDAAkD;QAC/D,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;QAC5C,IAAI,EAAE,WAAW;KAClB;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v1.d.ts","sourceRoot":"","sources":["../../../src/runtime/settlementApi/v1.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CA+B1D,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SettlementApiV1 = void 0;
|
|
4
|
+
exports.SettlementApiV1 = {
|
|
5
|
+
get_execute_instruction_info: {
|
|
6
|
+
description: 'Returns an ExecuteInstructionInfo instance containing the consumed weight and the number of tokens in the instruction.',
|
|
7
|
+
params: [{ name: 'instruction_id', type: 'InstructionId' }],
|
|
8
|
+
type: 'ExecuteInstructionInfo',
|
|
9
|
+
},
|
|
10
|
+
get_affirmation_count: {
|
|
11
|
+
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.',
|
|
12
|
+
params: [
|
|
13
|
+
{ name: 'instruction_id', type: 'InstructionId' },
|
|
14
|
+
{ name: 'portfolios', type: 'Vec<PortfolioId>' },
|
|
15
|
+
],
|
|
16
|
+
type: 'AffirmationCount',
|
|
17
|
+
},
|
|
18
|
+
get_transfer_report: {
|
|
19
|
+
description: "Returns a vector containing all errors for the transfer. An empty vec means there's no error.",
|
|
20
|
+
params: [
|
|
21
|
+
{ name: 'leg', type: 'Leg' },
|
|
22
|
+
{ name: 'skip_locked_check', type: 'bool' },
|
|
23
|
+
],
|
|
24
|
+
type: 'Vec<DispatchError>',
|
|
25
|
+
},
|
|
26
|
+
get_execute_instruction_report: {
|
|
27
|
+
description: "Returns a vector containing all errors for the execution. An empty vec means there's no error.",
|
|
28
|
+
params: [{ name: 'instruction_id', type: 'InstructionId' }],
|
|
29
|
+
type: 'Vec<DispatchError>',
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=v1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v1.js","sourceRoot":"","sources":["../../../src/runtime/settlementApi/v1.ts"],"names":[],"mappings":";;;AAEa,QAAA,eAAe,GAAmC;IAC7D,4BAA4B,EAAE;QAC5B,WAAW,EACT,wHAAwH;QAC1H,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC;QAC3D,IAAI,EAAE,wBAAwB;KAC/B;IACD,qBAAqB,EAAE;QACrB,WAAW,EACT,kKAAkK;QACpK,MAAM,EAAE;YACN,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,eAAe,EAAE;YACjD,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,kBAAkB,EAAE;SACjD;QACD,IAAI,EAAE,kBAAkB;KACzB;IACD,mBAAmB,EAAE;QACnB,WAAW,EACT,+FAA+F;QACjG,MAAM,EAAE;YACN,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE;YAC5B,EAAE,IAAI,EAAE,mBAAmB,EAAE,IAAI,EAAE,MAAM,EAAE;SAC5C;QACD,IAAI,EAAE,oBAAoB;KAC3B;IACD,8BAA8B,EAAE;QAC9B,WAAW,EACT,gGAAgG;QAClG,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC;QAC3D,IAAI,EAAE,oBAAoB;KAC3B;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2.d.ts","sourceRoot":"","sources":["../../../src/runtime/settlementApi/v2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CA+B1D,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SettlementApiV2 = void 0;
|
|
4
|
+
exports.SettlementApiV2 = {
|
|
5
|
+
get_execute_instruction_info: {
|
|
6
|
+
description: 'Returns an ExecuteInstructionInfo instance containing the consumed weight and the number of tokens in the instruction.',
|
|
7
|
+
params: [{ name: 'instruction_id', type: 'InstructionId' }],
|
|
8
|
+
type: 'Option<ExecuteInstructionInfo>',
|
|
9
|
+
},
|
|
10
|
+
get_affirmation_count: {
|
|
11
|
+
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.',
|
|
12
|
+
params: [
|
|
13
|
+
{ name: 'instruction_id', type: 'InstructionId' },
|
|
14
|
+
{ name: 'portfolios', type: 'Vec<PortfolioId>' },
|
|
15
|
+
],
|
|
16
|
+
type: 'AffirmationCount',
|
|
17
|
+
},
|
|
18
|
+
get_transfer_report: {
|
|
19
|
+
description: "Returns a vector containing all errors for the transfer. An empty vec means there's no error.",
|
|
20
|
+
params: [
|
|
21
|
+
{ name: 'leg', type: 'Leg' },
|
|
22
|
+
{ name: 'skip_locked_check', type: 'bool' },
|
|
23
|
+
],
|
|
24
|
+
type: 'Vec<DispatchError>',
|
|
25
|
+
},
|
|
26
|
+
get_execute_instruction_report: {
|
|
27
|
+
description: "Returns a vector containing all errors for the execution. An empty vec means there's no error.",
|
|
28
|
+
params: [{ name: 'instruction_id', type: 'InstructionId' }],
|
|
29
|
+
type: 'Vec<DispatchError>',
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=v2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2.js","sourceRoot":"","sources":["../../../src/runtime/settlementApi/v2.ts"],"names":[],"mappings":";;;AAEa,QAAA,eAAe,GAAmC;IAC7D,4BAA4B,EAAE;QAC5B,WAAW,EACT,wHAAwH;QAC1H,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC;QAC3D,IAAI,EAAE,gCAAgC;KACvC;IACD,qBAAqB,EAAE;QACrB,WAAW,EACT,kKAAkK;QACpK,MAAM,EAAE;YACN,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,eAAe,EAAE;YACjD,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,kBAAkB,EAAE;SACjD;QACD,IAAI,EAAE,kBAAkB;KACzB;IACD,mBAAmB,EAAE;QACnB,WAAW,EACT,+FAA+F;QACjG,MAAM,EAAE;YACN,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE;YAC5B,EAAE,IAAI,EAAE,mBAAmB,EAAE,IAAI,EAAE,MAAM,EAAE;SAC5C;QACD,IAAI,EAAE,oBAAoB;KAC3B;IACD,8BAA8B,EAAE;QAC9B,WAAW,EACT,gGAAgG;QAClG,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC;QAC3D,IAAI,EAAE,oBAAoB;KAC3B;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v1.d.ts","sourceRoot":"","sources":["../../../src/runtime/stakingApi/v1.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAMvD,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StakingApiV1 = void 0;
|
|
4
|
+
exports.StakingApiV1 = {
|
|
5
|
+
get_curve: {
|
|
6
|
+
description: 'Retrieves curves parameters',
|
|
7
|
+
params: [],
|
|
8
|
+
type: 'Vec<(Perbill, Perbill)>',
|
|
9
|
+
},
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=v1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v1.js","sourceRoot":"","sources":["../../../src/runtime/stakingApi/v1.ts"],"names":[],"mappings":";;;AAEa,QAAA,YAAY,GAAmC;IAC1D,SAAS,EAAE;QACT,WAAW,EAAE,6BAA6B;QAC1C,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,yBAAyB;KAChC;CACF,CAAC"}
|
package/types/5.0.x.json
CHANGED
package/types/5.1.x.json
CHANGED
package/types/5.2.x.json
CHANGED