@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/types/5.3.x.json
CHANGED
package/types/5.4.x.json
CHANGED
package/types/6.0.x.json
CHANGED
package/types/6.1.x.json
CHANGED
package/types/6.3.x.json
CHANGED
package/types/7.0.x.json
CHANGED
package/types/index.d.ts
CHANGED
package/types/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,wBAiDE"}
|
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
|
package/runtime/6.x.d.ts.map
DELETED
|
@@ -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
|
package/runtime/6.x.js.map
DELETED
|
@@ -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,IAA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