@polymeshassociation/polymesh-types 5.11.0 → 5.12.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 +14 -0
- package/package.json +1 -1
- package/rpc/6.x.d.ts +198 -0
- package/rpc/6.x.d.ts.map +1 -0
- package/rpc/6.x.js +378 -0
- package/rpc/6.x.js.map +1 -0
- package/rpc/index.d.ts +13 -12
- package/rpc/index.d.ts.map +1 -1
- package/rpc/index.js +46 -42
- package/rpc/index.js.map +1 -1
- package/runtime/6.x.d.ts +208 -0
- package/runtime/6.x.d.ts.map +1 -0
- package/runtime/6.x.js +323 -0
- package/runtime/6.x.js.map +1 -0
- package/runtime/index.d.ts +2 -10
- package/runtime/index.d.ts.map +1 -1
- package/runtime/index.js +28 -38
- package/runtime/index.js.map +1 -1
- package/types/7.0.x.json +631 -0
- package/types/index.d.ts +367 -2
- package/types/index.d.ts.map +1 -1
- package/types/index.js +3 -1
- package/types/index.js.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [5.12.0](https://github.com/PolymeshAssociation/polymesh-types/compare/v5.11.1...v5.12.0) (2024-09-04)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* 🎸 Add types for 7.0.0 chain ([4d452f9](https://github.com/PolymeshAssociation/polymesh-types/commit/4d452f9dad0b8275985bc7b66a547d56d956398a))
|
|
7
|
+
|
|
8
|
+
## [5.11.1](https://github.com/PolymeshAssociation/polymesh-types/compare/v5.11.0...v5.11.1) (2024-05-21)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* 🐛 add missing 6.2 range coverage ([a0486ea](https://github.com/PolymeshAssociation/polymesh-types/commit/a0486ea69639bb5dd6102f42d98ae09a8966157c))
|
|
14
|
+
|
|
1
15
|
# [5.11.0](https://github.com/PolymeshAssociation/polymesh-types/compare/v5.10.0...v5.11.0) (2024-05-16)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
package/rpc/6.x.d.ts
ADDED
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
identity: {
|
|
3
|
+
isIdentityHasValidCdd: {
|
|
4
|
+
description: string;
|
|
5
|
+
params: {
|
|
6
|
+
name: string;
|
|
7
|
+
type: string;
|
|
8
|
+
isOptional: boolean;
|
|
9
|
+
}[];
|
|
10
|
+
type: string;
|
|
11
|
+
};
|
|
12
|
+
getAssetDid: {
|
|
13
|
+
description: string;
|
|
14
|
+
params: {
|
|
15
|
+
name: string;
|
|
16
|
+
type: string;
|
|
17
|
+
isOptional: boolean;
|
|
18
|
+
}[];
|
|
19
|
+
type: string;
|
|
20
|
+
};
|
|
21
|
+
getDidRecords: {
|
|
22
|
+
description: string;
|
|
23
|
+
params: {
|
|
24
|
+
name: string;
|
|
25
|
+
type: string;
|
|
26
|
+
isOptional: boolean;
|
|
27
|
+
}[];
|
|
28
|
+
type: string;
|
|
29
|
+
};
|
|
30
|
+
getDidStatus: {
|
|
31
|
+
description: string;
|
|
32
|
+
params: {
|
|
33
|
+
name: string;
|
|
34
|
+
type: string;
|
|
35
|
+
isOptional: boolean;
|
|
36
|
+
}[];
|
|
37
|
+
type: string;
|
|
38
|
+
};
|
|
39
|
+
getFilteredAuthorizations: {
|
|
40
|
+
description: string;
|
|
41
|
+
params: {
|
|
42
|
+
name: string;
|
|
43
|
+
type: string;
|
|
44
|
+
isOptional: boolean;
|
|
45
|
+
}[];
|
|
46
|
+
type: string;
|
|
47
|
+
};
|
|
48
|
+
getKeyIdentityData: {
|
|
49
|
+
description: string;
|
|
50
|
+
params: {
|
|
51
|
+
name: string;
|
|
52
|
+
type: string;
|
|
53
|
+
isOptional: boolean;
|
|
54
|
+
}[];
|
|
55
|
+
type: string;
|
|
56
|
+
};
|
|
57
|
+
validCDDClaims: {
|
|
58
|
+
description: string;
|
|
59
|
+
params: {
|
|
60
|
+
name: string;
|
|
61
|
+
type: string;
|
|
62
|
+
isOptional: boolean;
|
|
63
|
+
}[];
|
|
64
|
+
type: string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
pips: {
|
|
68
|
+
getVotes: {
|
|
69
|
+
description: string;
|
|
70
|
+
params: {
|
|
71
|
+
name: string;
|
|
72
|
+
type: string;
|
|
73
|
+
isOptional: boolean;
|
|
74
|
+
}[];
|
|
75
|
+
type: string;
|
|
76
|
+
};
|
|
77
|
+
proposedBy: {
|
|
78
|
+
description: string;
|
|
79
|
+
params: {
|
|
80
|
+
name: string;
|
|
81
|
+
type: string;
|
|
82
|
+
isOptional: boolean;
|
|
83
|
+
}[];
|
|
84
|
+
type: string;
|
|
85
|
+
};
|
|
86
|
+
votedOn: {
|
|
87
|
+
description: string;
|
|
88
|
+
params: {
|
|
89
|
+
name: string;
|
|
90
|
+
type: string;
|
|
91
|
+
isOptional: boolean;
|
|
92
|
+
}[];
|
|
93
|
+
type: string;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
protocolFee: {
|
|
97
|
+
computeFee: {
|
|
98
|
+
description: string;
|
|
99
|
+
params: {
|
|
100
|
+
name: string;
|
|
101
|
+
type: string;
|
|
102
|
+
isOptional: boolean;
|
|
103
|
+
}[];
|
|
104
|
+
type: string;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
staking: {
|
|
108
|
+
getCurve: {
|
|
109
|
+
description: string;
|
|
110
|
+
params: {
|
|
111
|
+
name: string;
|
|
112
|
+
type: string;
|
|
113
|
+
isOptional: boolean;
|
|
114
|
+
}[];
|
|
115
|
+
type: string;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
asset: {
|
|
119
|
+
canTransferGranular: {
|
|
120
|
+
description: string;
|
|
121
|
+
params: {
|
|
122
|
+
name: string;
|
|
123
|
+
type: string;
|
|
124
|
+
isOptional: boolean;
|
|
125
|
+
}[];
|
|
126
|
+
type: string;
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
group: {
|
|
130
|
+
getCDDValidMembers: {
|
|
131
|
+
description: string;
|
|
132
|
+
params: {
|
|
133
|
+
name: string;
|
|
134
|
+
type: string;
|
|
135
|
+
isOptional: boolean;
|
|
136
|
+
}[];
|
|
137
|
+
type: string;
|
|
138
|
+
};
|
|
139
|
+
getGCValidMembers: {
|
|
140
|
+
description: string;
|
|
141
|
+
params: {
|
|
142
|
+
name: string;
|
|
143
|
+
type: string;
|
|
144
|
+
isOptional: boolean;
|
|
145
|
+
}[];
|
|
146
|
+
type: string;
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
nft: {
|
|
150
|
+
validateNFTTransfer: {
|
|
151
|
+
description: string;
|
|
152
|
+
params: {
|
|
153
|
+
name: string;
|
|
154
|
+
type: string;
|
|
155
|
+
isOptional: boolean;
|
|
156
|
+
}[];
|
|
157
|
+
type: string;
|
|
158
|
+
};
|
|
159
|
+
};
|
|
160
|
+
settlement: {
|
|
161
|
+
getExecuteInstructionInfo: {
|
|
162
|
+
description: string;
|
|
163
|
+
params: {
|
|
164
|
+
name: string;
|
|
165
|
+
type: string;
|
|
166
|
+
isOptional: boolean;
|
|
167
|
+
}[];
|
|
168
|
+
type: string;
|
|
169
|
+
};
|
|
170
|
+
getAffirmationCount: {
|
|
171
|
+
description: string;
|
|
172
|
+
params: {
|
|
173
|
+
name: string;
|
|
174
|
+
type: string;
|
|
175
|
+
isOptional: boolean;
|
|
176
|
+
}[];
|
|
177
|
+
type: string;
|
|
178
|
+
};
|
|
179
|
+
getTransferReport: {
|
|
180
|
+
description: string;
|
|
181
|
+
params: {
|
|
182
|
+
name: string;
|
|
183
|
+
type: string;
|
|
184
|
+
}[];
|
|
185
|
+
type: string;
|
|
186
|
+
};
|
|
187
|
+
getExecuteInstructionReport: {
|
|
188
|
+
description: string;
|
|
189
|
+
params: {
|
|
190
|
+
name: string;
|
|
191
|
+
type: string;
|
|
192
|
+
}[];
|
|
193
|
+
type: string;
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
export default _default;
|
|
198
|
+
//# sourceMappingURL=6.x.d.ts.map
|
package/rpc/6.x.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"6.x.d.ts","sourceRoot":"","sources":["../../src/rpc/6.x.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBA8XE"}
|
package/rpc/6.x.js
ADDED
|
@@ -0,0 +1,378 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = {
|
|
4
|
+
identity: {
|
|
5
|
+
isIdentityHasValidCdd: {
|
|
6
|
+
description: 'use to tell whether the given did has valid cdd claim or not',
|
|
7
|
+
params: [
|
|
8
|
+
{
|
|
9
|
+
name: 'did',
|
|
10
|
+
type: 'IdentityId',
|
|
11
|
+
isOptional: false,
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
name: 'buffer_time',
|
|
15
|
+
type: 'u64',
|
|
16
|
+
isOptional: true,
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
name: 'blockHash',
|
|
20
|
+
type: 'Hash',
|
|
21
|
+
isOptional: true,
|
|
22
|
+
},
|
|
23
|
+
],
|
|
24
|
+
type: 'CddStatus',
|
|
25
|
+
},
|
|
26
|
+
getAssetDid: {
|
|
27
|
+
description: 'function is used to query the given ticker DID',
|
|
28
|
+
params: [
|
|
29
|
+
{
|
|
30
|
+
name: 'ticker',
|
|
31
|
+
type: 'Ticker',
|
|
32
|
+
isOptional: false,
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
name: 'blockHash',
|
|
36
|
+
type: 'Hash',
|
|
37
|
+
isOptional: true,
|
|
38
|
+
},
|
|
39
|
+
],
|
|
40
|
+
type: 'AssetDidResult',
|
|
41
|
+
},
|
|
42
|
+
getDidRecords: {
|
|
43
|
+
description: 'Used to get the did record values for a given DID',
|
|
44
|
+
params: [
|
|
45
|
+
{
|
|
46
|
+
name: 'did',
|
|
47
|
+
type: 'IdentityId',
|
|
48
|
+
isOptional: false,
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
name: 'blockHash',
|
|
52
|
+
type: 'Hash',
|
|
53
|
+
isOptional: true,
|
|
54
|
+
},
|
|
55
|
+
],
|
|
56
|
+
type: 'RpcDidRecords',
|
|
57
|
+
},
|
|
58
|
+
getDidStatus: {
|
|
59
|
+
description: 'Retrieve status of the DID',
|
|
60
|
+
params: [
|
|
61
|
+
{
|
|
62
|
+
name: 'did',
|
|
63
|
+
type: 'Vec<IdentityId>',
|
|
64
|
+
isOptional: false,
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
name: 'blockHash',
|
|
68
|
+
type: 'Hash',
|
|
69
|
+
isOptional: true,
|
|
70
|
+
},
|
|
71
|
+
],
|
|
72
|
+
type: 'Vec<DidStatus>',
|
|
73
|
+
},
|
|
74
|
+
getFilteredAuthorizations: {
|
|
75
|
+
description: 'Retrieve authorizations data for a given signatory and filtered using the given authorization type',
|
|
76
|
+
params: [
|
|
77
|
+
{
|
|
78
|
+
name: 'signatory',
|
|
79
|
+
type: 'Signatory',
|
|
80
|
+
isOptional: false,
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
name: 'allow_expired',
|
|
84
|
+
type: 'bool',
|
|
85
|
+
isOptional: false,
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
name: 'auth_type',
|
|
89
|
+
type: 'AuthorizationType',
|
|
90
|
+
isOptional: true,
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
name: 'blockHash',
|
|
94
|
+
type: 'Hash',
|
|
95
|
+
isOptional: true,
|
|
96
|
+
},
|
|
97
|
+
],
|
|
98
|
+
type: 'Vec<Authorization>',
|
|
99
|
+
},
|
|
100
|
+
getKeyIdentityData: {
|
|
101
|
+
description: 'Query relation between a signing key and a DID',
|
|
102
|
+
params: [
|
|
103
|
+
{
|
|
104
|
+
name: 'acc',
|
|
105
|
+
type: 'AccountId',
|
|
106
|
+
isOptional: false,
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
name: 'blockHash',
|
|
110
|
+
type: 'Hash',
|
|
111
|
+
isOptional: true,
|
|
112
|
+
},
|
|
113
|
+
],
|
|
114
|
+
type: 'Option<KeyIdentityData>',
|
|
115
|
+
},
|
|
116
|
+
validCDDClaims: {
|
|
117
|
+
description: 'Returns all valid IdentityClaim of type CustomerDueDiligence for the given target_identity',
|
|
118
|
+
params: [
|
|
119
|
+
{
|
|
120
|
+
name: 'target_identity',
|
|
121
|
+
type: 'IdentityId',
|
|
122
|
+
isOptional: false,
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
name: 'cdd_checker_leeway',
|
|
126
|
+
type: 'u64',
|
|
127
|
+
isOptional: true,
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
name: 'blockHash',
|
|
131
|
+
type: 'Hash',
|
|
132
|
+
isOptional: true,
|
|
133
|
+
},
|
|
134
|
+
],
|
|
135
|
+
type: 'Vec<IdentityClaim>',
|
|
136
|
+
},
|
|
137
|
+
},
|
|
138
|
+
pips: {
|
|
139
|
+
getVotes: {
|
|
140
|
+
description: 'Summary of votes of a proposal given by index',
|
|
141
|
+
params: [
|
|
142
|
+
{
|
|
143
|
+
name: 'index',
|
|
144
|
+
type: 'PipId',
|
|
145
|
+
isOptional: false,
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
name: 'blockHash',
|
|
149
|
+
type: 'Hash',
|
|
150
|
+
isOptional: true,
|
|
151
|
+
},
|
|
152
|
+
],
|
|
153
|
+
type: 'VoteCount',
|
|
154
|
+
},
|
|
155
|
+
proposedBy: {
|
|
156
|
+
description: 'Retrieves proposal indices started by address',
|
|
157
|
+
params: [
|
|
158
|
+
{
|
|
159
|
+
name: 'address',
|
|
160
|
+
type: 'AccountId',
|
|
161
|
+
isOptional: false,
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
name: 'blockHash',
|
|
165
|
+
type: 'Hash',
|
|
166
|
+
isOptional: true,
|
|
167
|
+
},
|
|
168
|
+
],
|
|
169
|
+
type: 'Vec<PipId>',
|
|
170
|
+
},
|
|
171
|
+
votedOn: {
|
|
172
|
+
description: 'Retrieves proposal address indices voted on',
|
|
173
|
+
params: [
|
|
174
|
+
{
|
|
175
|
+
name: 'address',
|
|
176
|
+
type: 'AccountId',
|
|
177
|
+
isOptional: false,
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
name: 'blockHash',
|
|
181
|
+
type: 'Hash',
|
|
182
|
+
isOptional: true,
|
|
183
|
+
},
|
|
184
|
+
],
|
|
185
|
+
type: 'Vec<PipId>',
|
|
186
|
+
},
|
|
187
|
+
},
|
|
188
|
+
protocolFee: {
|
|
189
|
+
computeFee: {
|
|
190
|
+
description: 'Gets the fee of a chargeable extrinsic operation',
|
|
191
|
+
params: [
|
|
192
|
+
{
|
|
193
|
+
name: 'op',
|
|
194
|
+
type: 'ProtocolOp',
|
|
195
|
+
isOptional: false,
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
name: 'blockHash',
|
|
199
|
+
type: 'Hash',
|
|
200
|
+
isOptional: true,
|
|
201
|
+
},
|
|
202
|
+
],
|
|
203
|
+
type: 'CappedFee',
|
|
204
|
+
},
|
|
205
|
+
},
|
|
206
|
+
staking: {
|
|
207
|
+
getCurve: {
|
|
208
|
+
description: 'Retrieves curves parameters',
|
|
209
|
+
params: [
|
|
210
|
+
{
|
|
211
|
+
name: 'blockHash',
|
|
212
|
+
type: 'Hash',
|
|
213
|
+
isOptional: true,
|
|
214
|
+
},
|
|
215
|
+
],
|
|
216
|
+
type: 'Vec<(Perbill, Perbill)>',
|
|
217
|
+
},
|
|
218
|
+
},
|
|
219
|
+
asset: {
|
|
220
|
+
canTransferGranular: {
|
|
221
|
+
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.',
|
|
222
|
+
params: [
|
|
223
|
+
{
|
|
224
|
+
name: 'from_custodian',
|
|
225
|
+
type: 'Option<IdentityId>',
|
|
226
|
+
isOptional: false,
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
name: 'from_portfolio',
|
|
230
|
+
type: 'PortfolioId',
|
|
231
|
+
isOptional: false,
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
name: 'to_custodian',
|
|
235
|
+
type: 'Option<IdentityId>',
|
|
236
|
+
isOptional: false,
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
name: 'to_portfolio',
|
|
240
|
+
type: 'PortfolioId',
|
|
241
|
+
isOptional: false,
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
name: 'ticker',
|
|
245
|
+
type: 'Ticker',
|
|
246
|
+
isOptional: false,
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
name: 'value',
|
|
250
|
+
type: 'Balance',
|
|
251
|
+
isOptional: false,
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
name: 'blockHash',
|
|
255
|
+
type: 'Hash',
|
|
256
|
+
isOptional: true,
|
|
257
|
+
},
|
|
258
|
+
],
|
|
259
|
+
type: 'CanTransferGranularReturn',
|
|
260
|
+
},
|
|
261
|
+
},
|
|
262
|
+
group: {
|
|
263
|
+
getCDDValidMembers: {
|
|
264
|
+
description: 'Get the CDD members',
|
|
265
|
+
params: [
|
|
266
|
+
{
|
|
267
|
+
name: 'blockHash',
|
|
268
|
+
type: 'Hash',
|
|
269
|
+
isOptional: true,
|
|
270
|
+
},
|
|
271
|
+
],
|
|
272
|
+
type: 'Vec<Member>',
|
|
273
|
+
},
|
|
274
|
+
getGCValidMembers: {
|
|
275
|
+
description: 'Get the GC members',
|
|
276
|
+
params: [
|
|
277
|
+
{
|
|
278
|
+
name: 'blockHash',
|
|
279
|
+
type: 'Hash',
|
|
280
|
+
isOptional: true,
|
|
281
|
+
},
|
|
282
|
+
],
|
|
283
|
+
type: 'Vec<Member>',
|
|
284
|
+
},
|
|
285
|
+
},
|
|
286
|
+
nft: {
|
|
287
|
+
validateNFTTransfer: {
|
|
288
|
+
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.',
|
|
289
|
+
params: [
|
|
290
|
+
{
|
|
291
|
+
name: 'sender_portfolio',
|
|
292
|
+
type: 'PortfolioId',
|
|
293
|
+
isOptional: false,
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
name: 'receiver_portfolio',
|
|
297
|
+
type: 'PortfolioId',
|
|
298
|
+
isOptional: false,
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
name: 'nfts',
|
|
302
|
+
type: 'NFTs',
|
|
303
|
+
isOptional: false,
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
name: 'blockHash',
|
|
307
|
+
type: 'Hash',
|
|
308
|
+
isOptional: true,
|
|
309
|
+
},
|
|
310
|
+
],
|
|
311
|
+
type: 'DispatchResult',
|
|
312
|
+
},
|
|
313
|
+
},
|
|
314
|
+
settlement: {
|
|
315
|
+
getExecuteInstructionInfo: {
|
|
316
|
+
description: 'Returns an ExecuteInstructionInfo instance, containing the consumed weight and the number of tokens in the instruction.',
|
|
317
|
+
params: [
|
|
318
|
+
{
|
|
319
|
+
name: 'instruction_id',
|
|
320
|
+
type: 'InstructionId',
|
|
321
|
+
isOptional: false,
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
name: 'blockHash',
|
|
325
|
+
type: 'Hash',
|
|
326
|
+
isOptional: true,
|
|
327
|
+
},
|
|
328
|
+
],
|
|
329
|
+
type: 'ExecuteInstructionInfo',
|
|
330
|
+
},
|
|
331
|
+
getAffirmationCount: {
|
|
332
|
+
description: 'Returns an instance of AffirmationCount, which holds the asset count for both the sender and receiver and the number of offchain assets in the instruction',
|
|
333
|
+
params: [
|
|
334
|
+
{
|
|
335
|
+
name: 'instruction_id',
|
|
336
|
+
type: 'InstructionId',
|
|
337
|
+
isOptional: false,
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
name: 'portfolios',
|
|
341
|
+
type: 'Vec<PortfolioId>',
|
|
342
|
+
isOptional: false,
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
name: 'blockHash',
|
|
346
|
+
type: 'Hash',
|
|
347
|
+
isOptional: true,
|
|
348
|
+
},
|
|
349
|
+
],
|
|
350
|
+
type: 'AffirmationCount',
|
|
351
|
+
},
|
|
352
|
+
getTransferReport: {
|
|
353
|
+
description: "Returns a vector containing all errors for the transfer. An empty vec means there's no error.",
|
|
354
|
+
params: [
|
|
355
|
+
{
|
|
356
|
+
name: 'leg',
|
|
357
|
+
type: 'Leg',
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
name: 'skip_locked_check',
|
|
361
|
+
type: 'bool',
|
|
362
|
+
},
|
|
363
|
+
],
|
|
364
|
+
type: 'Vec<DispatchError>',
|
|
365
|
+
},
|
|
366
|
+
getExecuteInstructionReport: {
|
|
367
|
+
description: "Returns a vector containing all errors for the execution. An empty vec means there's no error.",
|
|
368
|
+
params: [
|
|
369
|
+
{
|
|
370
|
+
name: 'instruction_id',
|
|
371
|
+
type: 'InstructionId',
|
|
372
|
+
},
|
|
373
|
+
],
|
|
374
|
+
type: 'Vec<DispatchError>',
|
|
375
|
+
},
|
|
376
|
+
},
|
|
377
|
+
};
|
|
378
|
+
//# sourceMappingURL=6.x.js.map
|
package/rpc/6.x.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"6.x.js","sourceR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AI,EAAE,oBAAoB;SAC3B;QACD,2BAA2B,EAAE;YAC3B,WAAW,EACT,gGAAgG;YAClG,MAAM,EAAE;gBACN;oBACE,IAAI,EAAE,gBAAgB;oBACtB,IAAI,EAAE,eAAe;iBACtB;aACF;YACD,IAAI,EAAE,oBAAoB;SAC3B;KACF;CACF,CAAC"}
|
package/rpc/index.d.ts
CHANGED
|
@@ -9,15 +9,6 @@ declare const _default: {
|
|
|
9
9
|
}[];
|
|
10
10
|
type: string;
|
|
11
11
|
};
|
|
12
|
-
getAssetDid: {
|
|
13
|
-
description: string;
|
|
14
|
-
params: {
|
|
15
|
-
name: string;
|
|
16
|
-
type: string;
|
|
17
|
-
isOptional: boolean;
|
|
18
|
-
}[];
|
|
19
|
-
type: string;
|
|
20
|
-
};
|
|
21
12
|
getDidRecords: {
|
|
22
13
|
description: string;
|
|
23
14
|
params: {
|
|
@@ -116,7 +107,7 @@ declare const _default: {
|
|
|
116
107
|
};
|
|
117
108
|
};
|
|
118
109
|
asset: {
|
|
119
|
-
|
|
110
|
+
transferReport: {
|
|
120
111
|
description: string;
|
|
121
112
|
params: {
|
|
122
113
|
name: string;
|
|
@@ -147,7 +138,7 @@ declare const _default: {
|
|
|
147
138
|
};
|
|
148
139
|
};
|
|
149
140
|
nft: {
|
|
150
|
-
|
|
141
|
+
transferReport: {
|
|
151
142
|
description: string;
|
|
152
143
|
params: {
|
|
153
144
|
name: string;
|
|
@@ -176,6 +167,14 @@ declare const _default: {
|
|
|
176
167
|
}[];
|
|
177
168
|
type: string;
|
|
178
169
|
};
|
|
170
|
+
getExecuteInstructionReport: {
|
|
171
|
+
description: string;
|
|
172
|
+
params: {
|
|
173
|
+
name: string;
|
|
174
|
+
type: string;
|
|
175
|
+
}[];
|
|
176
|
+
type: string;
|
|
177
|
+
};
|
|
179
178
|
getTransferReport: {
|
|
180
179
|
description: string;
|
|
181
180
|
params: {
|
|
@@ -184,7 +183,9 @@ declare const _default: {
|
|
|
184
183
|
}[];
|
|
185
184
|
type: string;
|
|
186
185
|
};
|
|
187
|
-
|
|
186
|
+
};
|
|
187
|
+
compliance: {
|
|
188
|
+
complianceReport: {
|
|
188
189
|
description: string;
|
|
189
190
|
params: {
|
|
190
191
|
name: string;
|
package/rpc/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rpc/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rpc/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAkYE"}
|