@dedot/chaintypes 0.194.0 → 0.195.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/aleph/consts.d.ts +2 -2
- package/aleph/errors.d.ts +228 -228
- package/aleph/events.d.ts +122 -226
- package/aleph/index.d.ts +13 -17
- package/aleph/json-rpc.d.ts +3 -3
- package/aleph/query.d.ts +171 -207
- package/aleph/runtime.d.ts +47 -63
- package/aleph/tx.d.ts +377 -550
- package/aleph/view-functions.d.ts +2 -2
- package/astar/consts.d.ts +2 -2
- package/astar/errors.d.ts +431 -431
- package/astar/events.d.ts +232 -401
- package/astar/index.d.ts +13 -17
- package/astar/json-rpc.d.ts +3 -3
- package/astar/query.d.ts +243 -289
- package/astar/runtime.d.ts +59 -87
- package/astar/tx.d.ts +671 -980
- package/astar/view-functions.d.ts +2 -2
- package/basilisk/consts.d.ts +2 -2
- package/basilisk/errors.d.ts +489 -489
- package/basilisk/events.d.ts +187 -408
- package/basilisk/index.d.ts +13 -17
- package/basilisk/json-rpc.d.ts +3 -3
- package/basilisk/query.d.ts +213 -272
- package/basilisk/runtime.d.ts +27 -28
- package/basilisk/tx.d.ts +579 -842
- package/basilisk/view-functions.d.ts +2 -2
- package/hydration/consts.d.ts +47 -14
- package/hydration/errors.d.ts +827 -737
- package/hydration/events.d.ts +639 -527
- package/hydration/index.d.ts +14 -18
- package/hydration/json-rpc.d.ts +3 -3
- package/hydration/query.d.ts +530 -396
- package/hydration/runtime.d.ts +181 -89
- package/hydration/tx.d.ts +1130 -1167
- package/hydration/types.d.ts +889 -42
- package/hydration/view-functions.d.ts +2 -2
- package/kusama/consts.d.ts +2 -2
- package/kusama/errors.d.ts +571 -571
- package/kusama/events.d.ts +216 -477
- package/kusama/index.d.ts +13 -17
- package/kusama/json-rpc.d.ts +3 -3
- package/kusama/query.d.ts +360 -502
- package/kusama/runtime.d.ts +82 -131
- package/kusama/tx.d.ts +851 -1246
- package/kusama/view-functions.d.ts +7 -12
- package/kusama-asset-hub/consts.d.ts +2 -2
- package/kusama-asset-hub/errors.d.ts +653 -653
- package/kusama-asset-hub/events.d.ts +286 -629
- package/kusama-asset-hub/index.d.ts +14 -17
- package/kusama-asset-hub/json-rpc.d.ts +3 -3
- package/kusama-asset-hub/query.d.ts +316 -448
- package/kusama-asset-hub/runtime.d.ts +74 -111
- package/kusama-asset-hub/tx.d.ts +1059 -1558
- package/kusama-asset-hub/view-functions.d.ts +7 -9
- package/kusama-people/consts.d.ts +2 -2
- package/kusama-people/errors.d.ts +160 -160
- package/kusama-people/events.d.ts +89 -176
- package/kusama-people/index.d.ts +13 -17
- package/kusama-people/json-rpc.d.ts +3 -3
- package/kusama-people/query.d.ts +114 -145
- package/kusama-people/runtime.d.ts +45 -65
- package/kusama-people/tx.d.ts +246 -356
- package/kusama-people/view-functions.d.ts +3 -5
- package/moonbeam/consts.d.ts +2 -2
- package/moonbeam/errors.d.ts +478 -478
- package/moonbeam/events.d.ts +182 -426
- package/moonbeam/index.d.ts +13 -17
- package/moonbeam/json-rpc.d.ts +11 -3
- package/moonbeam/query.d.ts +234 -294
- package/moonbeam/runtime.d.ts +61 -89
- package/moonbeam/tx.d.ts +618 -901
- package/moonbeam/view-functions.d.ts +2 -2
- package/package.json +6 -3
- package/paseo/consts.d.ts +2 -2
- package/paseo/errors.d.ts +513 -513
- package/paseo/events.d.ts +197 -430
- package/paseo/index.d.ts +14 -18
- package/paseo/json-rpc.d.ts +3 -3
- package/paseo/query.d.ts +329 -450
- package/paseo/runtime.d.ts +107 -131
- package/paseo/tx.d.ts +787 -1151
- package/paseo/types.d.ts +7 -0
- package/paseo/view-functions.d.ts +7 -12
- package/paseo-asset-hub/consts.d.ts +2 -2
- package/paseo-asset-hub/errors.d.ts +605 -605
- package/paseo-asset-hub/events.d.ts +268 -600
- package/paseo-asset-hub/index.d.ts +15 -18
- package/paseo-asset-hub/json-rpc.d.ts +3 -3
- package/paseo-asset-hub/query.d.ts +293 -413
- package/paseo-asset-hub/runtime.d.ts +96 -104
- package/paseo-asset-hub/tx.d.ts +997 -1466
- package/paseo-asset-hub/types.d.ts +7 -0
- package/paseo-asset-hub/view-functions.d.ts +7 -9
- package/paseo-hydration/consts.d.ts +13 -3
- package/paseo-hydration/errors.d.ts +756 -745
- package/paseo-hydration/events.d.ts +277 -554
- package/paseo-hydration/index.d.ts +14 -18
- package/paseo-hydration/json-rpc.d.ts +3 -3
- package/paseo-hydration/query.d.ts +321 -411
- package/paseo-hydration/runtime.d.ts +95 -106
- package/paseo-hydration/tx.d.ts +923 -1226
- package/paseo-hydration/types.d.ts +91 -50
- package/paseo-hydration/view-functions.d.ts +2 -2
- package/paseo-people/consts.d.ts +2 -2
- package/paseo-people/errors.d.ts +162 -162
- package/paseo-people/events.d.ts +91 -181
- package/paseo-people/index.d.ts +14 -18
- package/paseo-people/json-rpc.d.ts +3 -3
- package/paseo-people/query.d.ts +116 -143
- package/paseo-people/runtime.d.ts +70 -65
- package/paseo-people/tx.d.ts +257 -372
- package/paseo-people/types.d.ts +7 -0
- package/paseo-people/view-functions.d.ts +3 -5
- package/polkadot/consts.d.ts +2 -2
- package/polkadot/errors.d.ts +501 -501
- package/polkadot/events.d.ts +195 -426
- package/polkadot/index.d.ts +13 -17
- package/polkadot/json-rpc.d.ts +3 -3
- package/polkadot/query.d.ts +329 -450
- package/polkadot/runtime.d.ts +83 -133
- package/polkadot/tx.d.ts +765 -1119
- package/polkadot/view-functions.d.ts +7 -12
- package/polkadot-asset-hub/consts.d.ts +2 -2
- package/polkadot-asset-hub/errors.d.ts +554 -554
- package/polkadot-asset-hub/events.d.ts +261 -585
- package/polkadot-asset-hub/index.d.ts +14 -17
- package/polkadot-asset-hub/json-rpc.d.ts +3 -3
- package/polkadot-asset-hub/query.d.ts +279 -396
- package/polkadot-asset-hub/runtime.d.ts +65 -93
- package/polkadot-asset-hub/tx.d.ts +952 -1400
- package/polkadot-asset-hub/view-functions.d.ts +7 -9
- package/polkadot-people/consts.d.ts +2 -2
- package/polkadot-people/errors.d.ts +160 -160
- package/polkadot-people/events.d.ts +89 -176
- package/polkadot-people/index.d.ts +13 -17
- package/polkadot-people/json-rpc.d.ts +3 -3
- package/polkadot-people/query.d.ts +114 -145
- package/polkadot-people/runtime.d.ts +46 -67
- package/polkadot-people/tx.d.ts +246 -356
- package/polkadot-people/view-functions.d.ts +3 -5
- package/substrate/consts.d.ts +2 -2
- package/substrate/errors.d.ts +909 -909
- package/substrate/events.d.ts +389 -794
- package/substrate/index.d.ts +14 -17
- package/substrate/json-rpc.d.ts +3 -3
- package/substrate/query.d.ts +458 -572
- package/substrate/runtime.d.ts +82 -126
- package/substrate/tx.d.ts +1317 -1936
- package/substrate/view-functions.d.ts +2 -2
- package/vara/consts.d.ts +9 -37
- package/vara/errors.d.ts +402 -382
- package/vara/events.d.ts +172 -310
- package/vara/index.d.ts +14 -18
- package/vara/json-rpc.d.ts +7 -3
- package/vara/query.d.ts +299 -331
- package/vara/runtime.d.ts +61 -79
- package/vara/tx.d.ts +573 -754
- package/vara/types.d.ts +71 -26
- package/vara/view-functions.d.ts +2 -2
- package/westend/consts.d.ts +2 -2
- package/westend/errors.d.ts +532 -532
- package/westend/events.d.ts +205 -462
- package/westend/index.d.ts +13 -17
- package/westend/json-rpc.d.ts +3 -3
- package/westend/query.d.ts +312 -434
- package/westend/runtime.d.ts +83 -135
- package/westend/tx.d.ts +807 -1179
- package/westend/view-functions.d.ts +7 -12
- package/westend-asset-hub/consts.d.ts +2 -2
- package/westend-asset-hub/errors.d.ts +605 -605
- package/westend-asset-hub/events.d.ts +265 -614
- package/westend-asset-hub/index.d.ts +14 -17
- package/westend-asset-hub/json-rpc.d.ts +3 -3
- package/westend-asset-hub/query.d.ts +293 -418
- package/westend-asset-hub/runtime.d.ts +83 -123
- package/westend-asset-hub/tx.d.ts +918 -1348
- package/westend-asset-hub/view-functions.d.ts +8 -13
- package/westend-people/consts.d.ts +2 -2
- package/westend-people/errors.d.ts +160 -160
- package/westend-people/events.d.ts +93 -186
- package/westend-people/index.d.ts +13 -17
- package/westend-people/json-rpc.d.ts +3 -3
- package/westend-people/query.d.ts +114 -145
- package/westend-people/runtime.d.ts +46 -67
- package/westend-people/tx.d.ts +251 -363
- package/westend-people/view-functions.d.ts +3 -5
package/paseo/errors.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Generated by dedot cli
|
|
2
2
|
|
|
3
|
-
import type { GenericChainErrors, GenericPalletError
|
|
3
|
+
import type { GenericChainErrors, GenericPalletError } from 'dedot/types';
|
|
4
4
|
|
|
5
|
-
export interface ChainErrors
|
|
5
|
+
export interface ChainErrors extends GenericChainErrors {
|
|
6
6
|
/**
|
|
7
7
|
* Pallet `System`'s errors
|
|
8
8
|
**/
|
|
@@ -11,55 +11,55 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
11
11
|
* The name of specification does not match between the current runtime
|
|
12
12
|
* and the new runtime.
|
|
13
13
|
**/
|
|
14
|
-
InvalidSpecName: GenericPalletError
|
|
14
|
+
InvalidSpecName: GenericPalletError;
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* The specification version is not allowed to decrease between the current runtime
|
|
18
18
|
* and the new runtime.
|
|
19
19
|
**/
|
|
20
|
-
SpecVersionNeedsToIncrease: GenericPalletError
|
|
20
|
+
SpecVersionNeedsToIncrease: GenericPalletError;
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* Failed to extract the runtime version from the new runtime.
|
|
24
24
|
*
|
|
25
25
|
* Either calling `Core_version` or decoding `RuntimeVersion` failed.
|
|
26
26
|
**/
|
|
27
|
-
FailedToExtractRuntimeVersion: GenericPalletError
|
|
27
|
+
FailedToExtractRuntimeVersion: GenericPalletError;
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
* Suicide called when the account has non-default composite data.
|
|
31
31
|
**/
|
|
32
|
-
NonDefaultComposite: GenericPalletError
|
|
32
|
+
NonDefaultComposite: GenericPalletError;
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
35
|
* There is a non-zero reference count preventing the account from being purged.
|
|
36
36
|
**/
|
|
37
|
-
NonZeroRefCount: GenericPalletError
|
|
37
|
+
NonZeroRefCount: GenericPalletError;
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
40
|
* The origin filter prevent the call to be dispatched.
|
|
41
41
|
**/
|
|
42
|
-
CallFiltered: GenericPalletError
|
|
42
|
+
CallFiltered: GenericPalletError;
|
|
43
43
|
|
|
44
44
|
/**
|
|
45
45
|
* A multi-block migration is ongoing and prevents the current code from being replaced.
|
|
46
46
|
**/
|
|
47
|
-
MultiBlockMigrationsOngoing: GenericPalletError
|
|
47
|
+
MultiBlockMigrationsOngoing: GenericPalletError;
|
|
48
48
|
|
|
49
49
|
/**
|
|
50
50
|
* No upgrade authorized.
|
|
51
51
|
**/
|
|
52
|
-
NothingAuthorized: GenericPalletError
|
|
52
|
+
NothingAuthorized: GenericPalletError;
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
55
|
* The submitted code is not authorized.
|
|
56
56
|
**/
|
|
57
|
-
Unauthorized: GenericPalletError
|
|
57
|
+
Unauthorized: GenericPalletError;
|
|
58
58
|
|
|
59
59
|
/**
|
|
60
60
|
* Generic pallet error
|
|
61
61
|
**/
|
|
62
|
-
[error: string]: GenericPalletError
|
|
62
|
+
[error: string]: GenericPalletError;
|
|
63
63
|
};
|
|
64
64
|
/**
|
|
65
65
|
* Pallet `Scheduler`'s errors
|
|
@@ -68,32 +68,32 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
68
68
|
/**
|
|
69
69
|
* Failed to schedule a call
|
|
70
70
|
**/
|
|
71
|
-
FailedToSchedule: GenericPalletError
|
|
71
|
+
FailedToSchedule: GenericPalletError;
|
|
72
72
|
|
|
73
73
|
/**
|
|
74
74
|
* Cannot find the scheduled call.
|
|
75
75
|
**/
|
|
76
|
-
NotFound: GenericPalletError
|
|
76
|
+
NotFound: GenericPalletError;
|
|
77
77
|
|
|
78
78
|
/**
|
|
79
79
|
* Given target block number is in the past.
|
|
80
80
|
**/
|
|
81
|
-
TargetBlockNumberInPast: GenericPalletError
|
|
81
|
+
TargetBlockNumberInPast: GenericPalletError;
|
|
82
82
|
|
|
83
83
|
/**
|
|
84
84
|
* Reschedule failed because it does not change scheduled time.
|
|
85
85
|
**/
|
|
86
|
-
RescheduleNoChange: GenericPalletError
|
|
86
|
+
RescheduleNoChange: GenericPalletError;
|
|
87
87
|
|
|
88
88
|
/**
|
|
89
89
|
* Attempt to use a non-named function on a named task.
|
|
90
90
|
**/
|
|
91
|
-
Named: GenericPalletError
|
|
91
|
+
Named: GenericPalletError;
|
|
92
92
|
|
|
93
93
|
/**
|
|
94
94
|
* Generic pallet error
|
|
95
95
|
**/
|
|
96
|
-
[error: string]: GenericPalletError
|
|
96
|
+
[error: string]: GenericPalletError;
|
|
97
97
|
};
|
|
98
98
|
/**
|
|
99
99
|
* Pallet `Preimage`'s errors
|
|
@@ -102,47 +102,47 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
102
102
|
/**
|
|
103
103
|
* Preimage is too large to store on-chain.
|
|
104
104
|
**/
|
|
105
|
-
TooBig: GenericPalletError
|
|
105
|
+
TooBig: GenericPalletError;
|
|
106
106
|
|
|
107
107
|
/**
|
|
108
108
|
* Preimage has already been noted on-chain.
|
|
109
109
|
**/
|
|
110
|
-
AlreadyNoted: GenericPalletError
|
|
110
|
+
AlreadyNoted: GenericPalletError;
|
|
111
111
|
|
|
112
112
|
/**
|
|
113
113
|
* The user is not authorized to perform this action.
|
|
114
114
|
**/
|
|
115
|
-
NotAuthorized: GenericPalletError
|
|
115
|
+
NotAuthorized: GenericPalletError;
|
|
116
116
|
|
|
117
117
|
/**
|
|
118
118
|
* The preimage cannot be removed since it has not yet been noted.
|
|
119
119
|
**/
|
|
120
|
-
NotNoted: GenericPalletError
|
|
120
|
+
NotNoted: GenericPalletError;
|
|
121
121
|
|
|
122
122
|
/**
|
|
123
123
|
* A preimage may not be removed when there are outstanding requests.
|
|
124
124
|
**/
|
|
125
|
-
Requested: GenericPalletError
|
|
125
|
+
Requested: GenericPalletError;
|
|
126
126
|
|
|
127
127
|
/**
|
|
128
128
|
* The preimage request cannot be removed since no outstanding requests exist.
|
|
129
129
|
**/
|
|
130
|
-
NotRequested: GenericPalletError
|
|
130
|
+
NotRequested: GenericPalletError;
|
|
131
131
|
|
|
132
132
|
/**
|
|
133
133
|
* More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once.
|
|
134
134
|
**/
|
|
135
|
-
TooMany: GenericPalletError
|
|
135
|
+
TooMany: GenericPalletError;
|
|
136
136
|
|
|
137
137
|
/**
|
|
138
138
|
* Too few hashes were requested to be upgraded (i.e. zero).
|
|
139
139
|
**/
|
|
140
|
-
TooFew: GenericPalletError
|
|
140
|
+
TooFew: GenericPalletError;
|
|
141
141
|
|
|
142
142
|
/**
|
|
143
143
|
* Generic pallet error
|
|
144
144
|
**/
|
|
145
|
-
[error: string]: GenericPalletError
|
|
145
|
+
[error: string]: GenericPalletError;
|
|
146
146
|
};
|
|
147
147
|
/**
|
|
148
148
|
* Pallet `Babe`'s errors
|
|
@@ -151,27 +151,27 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
151
151
|
/**
|
|
152
152
|
* An equivocation proof provided as part of an equivocation report is invalid.
|
|
153
153
|
**/
|
|
154
|
-
InvalidEquivocationProof: GenericPalletError
|
|
154
|
+
InvalidEquivocationProof: GenericPalletError;
|
|
155
155
|
|
|
156
156
|
/**
|
|
157
157
|
* A key ownership proof provided as part of an equivocation report is invalid.
|
|
158
158
|
**/
|
|
159
|
-
InvalidKeyOwnershipProof: GenericPalletError
|
|
159
|
+
InvalidKeyOwnershipProof: GenericPalletError;
|
|
160
160
|
|
|
161
161
|
/**
|
|
162
162
|
* A given equivocation report is valid but already previously reported.
|
|
163
163
|
**/
|
|
164
|
-
DuplicateOffenceReport: GenericPalletError
|
|
164
|
+
DuplicateOffenceReport: GenericPalletError;
|
|
165
165
|
|
|
166
166
|
/**
|
|
167
167
|
* Submitted configuration is invalid.
|
|
168
168
|
**/
|
|
169
|
-
InvalidConfiguration: GenericPalletError
|
|
169
|
+
InvalidConfiguration: GenericPalletError;
|
|
170
170
|
|
|
171
171
|
/**
|
|
172
172
|
* Generic pallet error
|
|
173
173
|
**/
|
|
174
|
-
[error: string]: GenericPalletError
|
|
174
|
+
[error: string]: GenericPalletError;
|
|
175
175
|
};
|
|
176
176
|
/**
|
|
177
177
|
* Pallet `Indices`'s errors
|
|
@@ -180,32 +180,32 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
180
180
|
/**
|
|
181
181
|
* The index was not already assigned.
|
|
182
182
|
**/
|
|
183
|
-
NotAssigned: GenericPalletError
|
|
183
|
+
NotAssigned: GenericPalletError;
|
|
184
184
|
|
|
185
185
|
/**
|
|
186
186
|
* The index is assigned to another account.
|
|
187
187
|
**/
|
|
188
|
-
NotOwner: GenericPalletError
|
|
188
|
+
NotOwner: GenericPalletError;
|
|
189
189
|
|
|
190
190
|
/**
|
|
191
191
|
* The index was not available.
|
|
192
192
|
**/
|
|
193
|
-
InUse: GenericPalletError
|
|
193
|
+
InUse: GenericPalletError;
|
|
194
194
|
|
|
195
195
|
/**
|
|
196
196
|
* The source and destination accounts are identical.
|
|
197
197
|
**/
|
|
198
|
-
NotTransfer: GenericPalletError
|
|
198
|
+
NotTransfer: GenericPalletError;
|
|
199
199
|
|
|
200
200
|
/**
|
|
201
201
|
* The index is permanent and may not be freed/changed.
|
|
202
202
|
**/
|
|
203
|
-
Permanent: GenericPalletError
|
|
203
|
+
Permanent: GenericPalletError;
|
|
204
204
|
|
|
205
205
|
/**
|
|
206
206
|
* Generic pallet error
|
|
207
207
|
**/
|
|
208
|
-
[error: string]: GenericPalletError
|
|
208
|
+
[error: string]: GenericPalletError;
|
|
209
209
|
};
|
|
210
210
|
/**
|
|
211
211
|
* Pallet `Balances`'s errors
|
|
@@ -214,67 +214,67 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
214
214
|
/**
|
|
215
215
|
* Vesting balance too high to send value.
|
|
216
216
|
**/
|
|
217
|
-
VestingBalance: GenericPalletError
|
|
217
|
+
VestingBalance: GenericPalletError;
|
|
218
218
|
|
|
219
219
|
/**
|
|
220
220
|
* Account liquidity restrictions prevent withdrawal.
|
|
221
221
|
**/
|
|
222
|
-
LiquidityRestrictions: GenericPalletError
|
|
222
|
+
LiquidityRestrictions: GenericPalletError;
|
|
223
223
|
|
|
224
224
|
/**
|
|
225
225
|
* Balance too low to send value.
|
|
226
226
|
**/
|
|
227
|
-
InsufficientBalance: GenericPalletError
|
|
227
|
+
InsufficientBalance: GenericPalletError;
|
|
228
228
|
|
|
229
229
|
/**
|
|
230
230
|
* Value too low to create account due to existential deposit.
|
|
231
231
|
**/
|
|
232
|
-
ExistentialDeposit: GenericPalletError
|
|
232
|
+
ExistentialDeposit: GenericPalletError;
|
|
233
233
|
|
|
234
234
|
/**
|
|
235
235
|
* Transfer/payment would kill account.
|
|
236
236
|
**/
|
|
237
|
-
Expendability: GenericPalletError
|
|
237
|
+
Expendability: GenericPalletError;
|
|
238
238
|
|
|
239
239
|
/**
|
|
240
240
|
* A vesting schedule already exists for this account.
|
|
241
241
|
**/
|
|
242
|
-
ExistingVestingSchedule: GenericPalletError
|
|
242
|
+
ExistingVestingSchedule: GenericPalletError;
|
|
243
243
|
|
|
244
244
|
/**
|
|
245
245
|
* Beneficiary account must pre-exist.
|
|
246
246
|
**/
|
|
247
|
-
DeadAccount: GenericPalletError
|
|
247
|
+
DeadAccount: GenericPalletError;
|
|
248
248
|
|
|
249
249
|
/**
|
|
250
250
|
* Number of named reserves exceed `MaxReserves`.
|
|
251
251
|
**/
|
|
252
|
-
TooManyReserves: GenericPalletError
|
|
252
|
+
TooManyReserves: GenericPalletError;
|
|
253
253
|
|
|
254
254
|
/**
|
|
255
255
|
* Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
|
|
256
256
|
**/
|
|
257
|
-
TooManyHolds: GenericPalletError
|
|
257
|
+
TooManyHolds: GenericPalletError;
|
|
258
258
|
|
|
259
259
|
/**
|
|
260
260
|
* Number of freezes exceed `MaxFreezes`.
|
|
261
261
|
**/
|
|
262
|
-
TooManyFreezes: GenericPalletError
|
|
262
|
+
TooManyFreezes: GenericPalletError;
|
|
263
263
|
|
|
264
264
|
/**
|
|
265
265
|
* The issuance cannot be modified since it is already deactivated.
|
|
266
266
|
**/
|
|
267
|
-
IssuanceDeactivated: GenericPalletError
|
|
267
|
+
IssuanceDeactivated: GenericPalletError;
|
|
268
268
|
|
|
269
269
|
/**
|
|
270
270
|
* The delta cannot be zero.
|
|
271
271
|
**/
|
|
272
|
-
DeltaZero: GenericPalletError
|
|
272
|
+
DeltaZero: GenericPalletError;
|
|
273
273
|
|
|
274
274
|
/**
|
|
275
275
|
* Generic pallet error
|
|
276
276
|
**/
|
|
277
|
-
[error: string]: GenericPalletError
|
|
277
|
+
[error: string]: GenericPalletError;
|
|
278
278
|
};
|
|
279
279
|
/**
|
|
280
280
|
* Pallet `Staking`'s errors
|
|
@@ -283,182 +283,182 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
283
283
|
/**
|
|
284
284
|
* Not a controller account.
|
|
285
285
|
**/
|
|
286
|
-
NotController: GenericPalletError
|
|
286
|
+
NotController: GenericPalletError;
|
|
287
287
|
|
|
288
288
|
/**
|
|
289
289
|
* Not a stash account.
|
|
290
290
|
**/
|
|
291
|
-
NotStash: GenericPalletError
|
|
291
|
+
NotStash: GenericPalletError;
|
|
292
292
|
|
|
293
293
|
/**
|
|
294
294
|
* Stash is already bonded.
|
|
295
295
|
**/
|
|
296
|
-
AlreadyBonded: GenericPalletError
|
|
296
|
+
AlreadyBonded: GenericPalletError;
|
|
297
297
|
|
|
298
298
|
/**
|
|
299
299
|
* Controller is already paired.
|
|
300
300
|
**/
|
|
301
|
-
AlreadyPaired: GenericPalletError
|
|
301
|
+
AlreadyPaired: GenericPalletError;
|
|
302
302
|
|
|
303
303
|
/**
|
|
304
304
|
* Targets cannot be empty.
|
|
305
305
|
**/
|
|
306
|
-
EmptyTargets: GenericPalletError
|
|
306
|
+
EmptyTargets: GenericPalletError;
|
|
307
307
|
|
|
308
308
|
/**
|
|
309
309
|
* Duplicate index.
|
|
310
310
|
**/
|
|
311
|
-
DuplicateIndex: GenericPalletError
|
|
311
|
+
DuplicateIndex: GenericPalletError;
|
|
312
312
|
|
|
313
313
|
/**
|
|
314
314
|
* Slash record index out of bounds.
|
|
315
315
|
**/
|
|
316
|
-
InvalidSlashIndex: GenericPalletError
|
|
316
|
+
InvalidSlashIndex: GenericPalletError;
|
|
317
317
|
|
|
318
318
|
/**
|
|
319
319
|
* Cannot have a validator or nominator role, with value less than the minimum defined by
|
|
320
320
|
* governance (see `MinValidatorBond` and `MinNominatorBond`). If unbonding is the
|
|
321
321
|
* intention, `chill` first to remove one's role as validator/nominator.
|
|
322
322
|
**/
|
|
323
|
-
InsufficientBond: GenericPalletError
|
|
323
|
+
InsufficientBond: GenericPalletError;
|
|
324
324
|
|
|
325
325
|
/**
|
|
326
326
|
* Can not schedule more unlock chunks.
|
|
327
327
|
**/
|
|
328
|
-
NoMoreChunks: GenericPalletError
|
|
328
|
+
NoMoreChunks: GenericPalletError;
|
|
329
329
|
|
|
330
330
|
/**
|
|
331
331
|
* Can not rebond without unlocking chunks.
|
|
332
332
|
**/
|
|
333
|
-
NoUnlockChunk: GenericPalletError
|
|
333
|
+
NoUnlockChunk: GenericPalletError;
|
|
334
334
|
|
|
335
335
|
/**
|
|
336
336
|
* Attempting to target a stash that still has funds.
|
|
337
337
|
**/
|
|
338
|
-
FundedTarget: GenericPalletError
|
|
338
|
+
FundedTarget: GenericPalletError;
|
|
339
339
|
|
|
340
340
|
/**
|
|
341
341
|
* Invalid era to reward.
|
|
342
342
|
**/
|
|
343
|
-
InvalidEraToReward: GenericPalletError
|
|
343
|
+
InvalidEraToReward: GenericPalletError;
|
|
344
344
|
|
|
345
345
|
/**
|
|
346
346
|
* Invalid number of nominations.
|
|
347
347
|
**/
|
|
348
|
-
InvalidNumberOfNominations: GenericPalletError
|
|
348
|
+
InvalidNumberOfNominations: GenericPalletError;
|
|
349
349
|
|
|
350
350
|
/**
|
|
351
351
|
* Items are not sorted and unique.
|
|
352
352
|
**/
|
|
353
|
-
NotSortedAndUnique: GenericPalletError
|
|
353
|
+
NotSortedAndUnique: GenericPalletError;
|
|
354
354
|
|
|
355
355
|
/**
|
|
356
356
|
* Rewards for this era have already been claimed for this validator.
|
|
357
357
|
**/
|
|
358
|
-
AlreadyClaimed: GenericPalletError
|
|
358
|
+
AlreadyClaimed: GenericPalletError;
|
|
359
359
|
|
|
360
360
|
/**
|
|
361
361
|
* No nominators exist on this page.
|
|
362
362
|
**/
|
|
363
|
-
InvalidPage: GenericPalletError
|
|
363
|
+
InvalidPage: GenericPalletError;
|
|
364
364
|
|
|
365
365
|
/**
|
|
366
366
|
* Incorrect previous history depth input provided.
|
|
367
367
|
**/
|
|
368
|
-
IncorrectHistoryDepth: GenericPalletError
|
|
368
|
+
IncorrectHistoryDepth: GenericPalletError;
|
|
369
369
|
|
|
370
370
|
/**
|
|
371
371
|
* Incorrect number of slashing spans provided.
|
|
372
372
|
**/
|
|
373
|
-
IncorrectSlashingSpans: GenericPalletError
|
|
373
|
+
IncorrectSlashingSpans: GenericPalletError;
|
|
374
374
|
|
|
375
375
|
/**
|
|
376
376
|
* Internal state has become somehow corrupted and the operation cannot continue.
|
|
377
377
|
**/
|
|
378
|
-
BadState: GenericPalletError
|
|
378
|
+
BadState: GenericPalletError;
|
|
379
379
|
|
|
380
380
|
/**
|
|
381
381
|
* Too many nomination targets supplied.
|
|
382
382
|
**/
|
|
383
|
-
TooManyTargets: GenericPalletError
|
|
383
|
+
TooManyTargets: GenericPalletError;
|
|
384
384
|
|
|
385
385
|
/**
|
|
386
386
|
* A nomination target was supplied that was blocked or otherwise not a validator.
|
|
387
387
|
**/
|
|
388
|
-
BadTarget: GenericPalletError
|
|
388
|
+
BadTarget: GenericPalletError;
|
|
389
389
|
|
|
390
390
|
/**
|
|
391
391
|
* The user has enough bond and thus cannot be chilled forcefully by an external person.
|
|
392
392
|
**/
|
|
393
|
-
CannotChillOther: GenericPalletError
|
|
393
|
+
CannotChillOther: GenericPalletError;
|
|
394
394
|
|
|
395
395
|
/**
|
|
396
396
|
* There are too many nominators in the system. Governance needs to adjust the staking
|
|
397
397
|
* settings to keep things safe for the runtime.
|
|
398
398
|
**/
|
|
399
|
-
TooManyNominators: GenericPalletError
|
|
399
|
+
TooManyNominators: GenericPalletError;
|
|
400
400
|
|
|
401
401
|
/**
|
|
402
402
|
* There are too many validator candidates in the system. Governance needs to adjust the
|
|
403
403
|
* staking settings to keep things safe for the runtime.
|
|
404
404
|
**/
|
|
405
|
-
TooManyValidators: GenericPalletError
|
|
405
|
+
TooManyValidators: GenericPalletError;
|
|
406
406
|
|
|
407
407
|
/**
|
|
408
408
|
* Commission is too low. Must be at least `MinCommission`.
|
|
409
409
|
**/
|
|
410
|
-
CommissionTooLow: GenericPalletError
|
|
410
|
+
CommissionTooLow: GenericPalletError;
|
|
411
411
|
|
|
412
412
|
/**
|
|
413
413
|
* Some bound is not met.
|
|
414
414
|
**/
|
|
415
|
-
BoundNotMet: GenericPalletError
|
|
415
|
+
BoundNotMet: GenericPalletError;
|
|
416
416
|
|
|
417
417
|
/**
|
|
418
418
|
* Used when attempting to use deprecated controller account logic.
|
|
419
419
|
**/
|
|
420
|
-
ControllerDeprecated: GenericPalletError
|
|
420
|
+
ControllerDeprecated: GenericPalletError;
|
|
421
421
|
|
|
422
422
|
/**
|
|
423
423
|
* Cannot reset a ledger.
|
|
424
424
|
**/
|
|
425
|
-
CannotRestoreLedger: GenericPalletError
|
|
425
|
+
CannotRestoreLedger: GenericPalletError;
|
|
426
426
|
|
|
427
427
|
/**
|
|
428
428
|
* Provided reward destination is not allowed.
|
|
429
429
|
**/
|
|
430
|
-
RewardDestinationRestricted: GenericPalletError
|
|
430
|
+
RewardDestinationRestricted: GenericPalletError;
|
|
431
431
|
|
|
432
432
|
/**
|
|
433
433
|
* Not enough funds available to withdraw.
|
|
434
434
|
**/
|
|
435
|
-
NotEnoughFunds: GenericPalletError
|
|
435
|
+
NotEnoughFunds: GenericPalletError;
|
|
436
436
|
|
|
437
437
|
/**
|
|
438
438
|
* Operation not allowed for virtual stakers.
|
|
439
439
|
**/
|
|
440
|
-
VirtualStakerNotAllowed: GenericPalletError
|
|
440
|
+
VirtualStakerNotAllowed: GenericPalletError;
|
|
441
441
|
|
|
442
442
|
/**
|
|
443
443
|
* Stash could not be reaped as other pallet might depend on it.
|
|
444
444
|
**/
|
|
445
|
-
CannotReapStash: GenericPalletError
|
|
445
|
+
CannotReapStash: GenericPalletError;
|
|
446
446
|
|
|
447
447
|
/**
|
|
448
448
|
* The stake of this account is already migrated to `Fungible` holds.
|
|
449
449
|
**/
|
|
450
|
-
AlreadyMigrated: GenericPalletError
|
|
450
|
+
AlreadyMigrated: GenericPalletError;
|
|
451
451
|
|
|
452
452
|
/**
|
|
453
453
|
* Account is restricted from participation in staking. This may happen if the account is
|
|
454
454
|
* staking in another way already, such as via pool.
|
|
455
455
|
**/
|
|
456
|
-
Restricted: GenericPalletError
|
|
456
|
+
Restricted: GenericPalletError;
|
|
457
457
|
|
|
458
458
|
/**
|
|
459
459
|
* Generic pallet error
|
|
460
460
|
**/
|
|
461
|
-
[error: string]: GenericPalletError
|
|
461
|
+
[error: string]: GenericPalletError;
|
|
462
462
|
};
|
|
463
463
|
/**
|
|
464
464
|
* Pallet `Session`'s errors
|
|
@@ -467,32 +467,32 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
467
467
|
/**
|
|
468
468
|
* Invalid ownership proof.
|
|
469
469
|
**/
|
|
470
|
-
InvalidProof: GenericPalletError
|
|
470
|
+
InvalidProof: GenericPalletError;
|
|
471
471
|
|
|
472
472
|
/**
|
|
473
473
|
* No associated validator ID for account.
|
|
474
474
|
**/
|
|
475
|
-
NoAssociatedValidatorId: GenericPalletError
|
|
475
|
+
NoAssociatedValidatorId: GenericPalletError;
|
|
476
476
|
|
|
477
477
|
/**
|
|
478
478
|
* Registered duplicate key.
|
|
479
479
|
**/
|
|
480
|
-
DuplicatedKey: GenericPalletError
|
|
480
|
+
DuplicatedKey: GenericPalletError;
|
|
481
481
|
|
|
482
482
|
/**
|
|
483
483
|
* No keys are associated with this account.
|
|
484
484
|
**/
|
|
485
|
-
NoKeys: GenericPalletError
|
|
485
|
+
NoKeys: GenericPalletError;
|
|
486
486
|
|
|
487
487
|
/**
|
|
488
488
|
* Key setting account is not live, so it's impossible to associate keys.
|
|
489
489
|
**/
|
|
490
|
-
NoAccount: GenericPalletError
|
|
490
|
+
NoAccount: GenericPalletError;
|
|
491
491
|
|
|
492
492
|
/**
|
|
493
493
|
* Generic pallet error
|
|
494
494
|
**/
|
|
495
|
-
[error: string]: GenericPalletError
|
|
495
|
+
[error: string]: GenericPalletError;
|
|
496
496
|
};
|
|
497
497
|
/**
|
|
498
498
|
* Pallet `Grandpa`'s errors
|
|
@@ -502,43 +502,43 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
502
502
|
* Attempt to signal GRANDPA pause when the authority set isn't live
|
|
503
503
|
* (either paused or already pending pause).
|
|
504
504
|
**/
|
|
505
|
-
PauseFailed: GenericPalletError
|
|
505
|
+
PauseFailed: GenericPalletError;
|
|
506
506
|
|
|
507
507
|
/**
|
|
508
508
|
* Attempt to signal GRANDPA resume when the authority set isn't paused
|
|
509
509
|
* (either live or already pending resume).
|
|
510
510
|
**/
|
|
511
|
-
ResumeFailed: GenericPalletError
|
|
511
|
+
ResumeFailed: GenericPalletError;
|
|
512
512
|
|
|
513
513
|
/**
|
|
514
514
|
* Attempt to signal GRANDPA change with one already pending.
|
|
515
515
|
**/
|
|
516
|
-
ChangePending: GenericPalletError
|
|
516
|
+
ChangePending: GenericPalletError;
|
|
517
517
|
|
|
518
518
|
/**
|
|
519
519
|
* Cannot signal forced change so soon after last.
|
|
520
520
|
**/
|
|
521
|
-
TooSoon: GenericPalletError
|
|
521
|
+
TooSoon: GenericPalletError;
|
|
522
522
|
|
|
523
523
|
/**
|
|
524
524
|
* A key ownership proof provided as part of an equivocation report is invalid.
|
|
525
525
|
**/
|
|
526
|
-
InvalidKeyOwnershipProof: GenericPalletError
|
|
526
|
+
InvalidKeyOwnershipProof: GenericPalletError;
|
|
527
527
|
|
|
528
528
|
/**
|
|
529
529
|
* An equivocation proof provided as part of an equivocation report is invalid.
|
|
530
530
|
**/
|
|
531
|
-
InvalidEquivocationProof: GenericPalletError
|
|
531
|
+
InvalidEquivocationProof: GenericPalletError;
|
|
532
532
|
|
|
533
533
|
/**
|
|
534
534
|
* A given equivocation report is valid but already previously reported.
|
|
535
535
|
**/
|
|
536
|
-
DuplicateOffenceReport: GenericPalletError
|
|
536
|
+
DuplicateOffenceReport: GenericPalletError;
|
|
537
537
|
|
|
538
538
|
/**
|
|
539
539
|
* Generic pallet error
|
|
540
540
|
**/
|
|
541
|
-
[error: string]: GenericPalletError
|
|
541
|
+
[error: string]: GenericPalletError;
|
|
542
542
|
};
|
|
543
543
|
/**
|
|
544
544
|
* Pallet `Treasury`'s errors
|
|
@@ -547,63 +547,63 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
547
547
|
/**
|
|
548
548
|
* No proposal, bounty or spend at that index.
|
|
549
549
|
**/
|
|
550
|
-
InvalidIndex: GenericPalletError
|
|
550
|
+
InvalidIndex: GenericPalletError;
|
|
551
551
|
|
|
552
552
|
/**
|
|
553
553
|
* Too many approvals in the queue.
|
|
554
554
|
**/
|
|
555
|
-
TooManyApprovals: GenericPalletError
|
|
555
|
+
TooManyApprovals: GenericPalletError;
|
|
556
556
|
|
|
557
557
|
/**
|
|
558
558
|
* The spend origin is valid but the amount it is allowed to spend is lower than the
|
|
559
559
|
* amount to be spent.
|
|
560
560
|
**/
|
|
561
|
-
InsufficientPermission: GenericPalletError
|
|
561
|
+
InsufficientPermission: GenericPalletError;
|
|
562
562
|
|
|
563
563
|
/**
|
|
564
564
|
* Proposal has not been approved.
|
|
565
565
|
**/
|
|
566
|
-
ProposalNotApproved: GenericPalletError
|
|
566
|
+
ProposalNotApproved: GenericPalletError;
|
|
567
567
|
|
|
568
568
|
/**
|
|
569
569
|
* The balance of the asset kind is not convertible to the balance of the native asset.
|
|
570
570
|
**/
|
|
571
|
-
FailedToConvertBalance: GenericPalletError
|
|
571
|
+
FailedToConvertBalance: GenericPalletError;
|
|
572
572
|
|
|
573
573
|
/**
|
|
574
574
|
* The spend has expired and cannot be claimed.
|
|
575
575
|
**/
|
|
576
|
-
SpendExpired: GenericPalletError
|
|
576
|
+
SpendExpired: GenericPalletError;
|
|
577
577
|
|
|
578
578
|
/**
|
|
579
579
|
* The spend is not yet eligible for payout.
|
|
580
580
|
**/
|
|
581
|
-
EarlyPayout: GenericPalletError
|
|
581
|
+
EarlyPayout: GenericPalletError;
|
|
582
582
|
|
|
583
583
|
/**
|
|
584
584
|
* The payment has already been attempted.
|
|
585
585
|
**/
|
|
586
|
-
AlreadyAttempted: GenericPalletError
|
|
586
|
+
AlreadyAttempted: GenericPalletError;
|
|
587
587
|
|
|
588
588
|
/**
|
|
589
589
|
* There was some issue with the mechanism of payment.
|
|
590
590
|
**/
|
|
591
|
-
PayoutError: GenericPalletError
|
|
591
|
+
PayoutError: GenericPalletError;
|
|
592
592
|
|
|
593
593
|
/**
|
|
594
594
|
* The payout was not yet attempted/claimed.
|
|
595
595
|
**/
|
|
596
|
-
NotAttempted: GenericPalletError
|
|
596
|
+
NotAttempted: GenericPalletError;
|
|
597
597
|
|
|
598
598
|
/**
|
|
599
599
|
* The payment has neither failed nor succeeded yet.
|
|
600
600
|
**/
|
|
601
|
-
Inconclusive: GenericPalletError
|
|
601
|
+
Inconclusive: GenericPalletError;
|
|
602
602
|
|
|
603
603
|
/**
|
|
604
604
|
* Generic pallet error
|
|
605
605
|
**/
|
|
606
|
-
[error: string]: GenericPalletError
|
|
606
|
+
[error: string]: GenericPalletError;
|
|
607
607
|
};
|
|
608
608
|
/**
|
|
609
609
|
* Pallet `ConvictionVoting`'s errors
|
|
@@ -612,68 +612,68 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
612
612
|
/**
|
|
613
613
|
* Poll is not ongoing.
|
|
614
614
|
**/
|
|
615
|
-
NotOngoing: GenericPalletError
|
|
615
|
+
NotOngoing: GenericPalletError;
|
|
616
616
|
|
|
617
617
|
/**
|
|
618
618
|
* The given account did not vote on the poll.
|
|
619
619
|
**/
|
|
620
|
-
NotVoter: GenericPalletError
|
|
620
|
+
NotVoter: GenericPalletError;
|
|
621
621
|
|
|
622
622
|
/**
|
|
623
623
|
* The actor has no permission to conduct the action.
|
|
624
624
|
**/
|
|
625
|
-
NoPermission: GenericPalletError
|
|
625
|
+
NoPermission: GenericPalletError;
|
|
626
626
|
|
|
627
627
|
/**
|
|
628
628
|
* The actor has no permission to conduct the action right now but will do in the future.
|
|
629
629
|
**/
|
|
630
|
-
NoPermissionYet: GenericPalletError
|
|
630
|
+
NoPermissionYet: GenericPalletError;
|
|
631
631
|
|
|
632
632
|
/**
|
|
633
633
|
* The account is already delegating.
|
|
634
634
|
**/
|
|
635
|
-
AlreadyDelegating: GenericPalletError
|
|
635
|
+
AlreadyDelegating: GenericPalletError;
|
|
636
636
|
|
|
637
637
|
/**
|
|
638
638
|
* The account currently has votes attached to it and the operation cannot succeed until
|
|
639
639
|
* these are removed through `remove_vote`.
|
|
640
640
|
**/
|
|
641
|
-
AlreadyVoting: GenericPalletError
|
|
641
|
+
AlreadyVoting: GenericPalletError;
|
|
642
642
|
|
|
643
643
|
/**
|
|
644
644
|
* Too high a balance was provided that the account cannot afford.
|
|
645
645
|
**/
|
|
646
|
-
InsufficientFunds: GenericPalletError
|
|
646
|
+
InsufficientFunds: GenericPalletError;
|
|
647
647
|
|
|
648
648
|
/**
|
|
649
649
|
* The account is not currently delegating.
|
|
650
650
|
**/
|
|
651
|
-
NotDelegating: GenericPalletError
|
|
651
|
+
NotDelegating: GenericPalletError;
|
|
652
652
|
|
|
653
653
|
/**
|
|
654
654
|
* Delegation to oneself makes no sense.
|
|
655
655
|
**/
|
|
656
|
-
Nonsense: GenericPalletError
|
|
656
|
+
Nonsense: GenericPalletError;
|
|
657
657
|
|
|
658
658
|
/**
|
|
659
659
|
* Maximum number of votes reached.
|
|
660
660
|
**/
|
|
661
|
-
MaxVotesReached: GenericPalletError
|
|
661
|
+
MaxVotesReached: GenericPalletError;
|
|
662
662
|
|
|
663
663
|
/**
|
|
664
664
|
* The class must be supplied since it is not easily determinable from the state.
|
|
665
665
|
**/
|
|
666
|
-
ClassNeeded: GenericPalletError
|
|
666
|
+
ClassNeeded: GenericPalletError;
|
|
667
667
|
|
|
668
668
|
/**
|
|
669
669
|
* The class ID supplied is invalid.
|
|
670
670
|
**/
|
|
671
|
-
BadClass: GenericPalletError
|
|
671
|
+
BadClass: GenericPalletError;
|
|
672
672
|
|
|
673
673
|
/**
|
|
674
674
|
* Generic pallet error
|
|
675
675
|
**/
|
|
676
|
-
[error: string]: GenericPalletError
|
|
676
|
+
[error: string]: GenericPalletError;
|
|
677
677
|
};
|
|
678
678
|
/**
|
|
679
679
|
* Pallet `Referenda`'s errors
|
|
@@ -682,77 +682,77 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
682
682
|
/**
|
|
683
683
|
* Referendum is not ongoing.
|
|
684
684
|
**/
|
|
685
|
-
NotOngoing: GenericPalletError
|
|
685
|
+
NotOngoing: GenericPalletError;
|
|
686
686
|
|
|
687
687
|
/**
|
|
688
688
|
* Referendum's decision deposit is already paid.
|
|
689
689
|
**/
|
|
690
|
-
HasDeposit: GenericPalletError
|
|
690
|
+
HasDeposit: GenericPalletError;
|
|
691
691
|
|
|
692
692
|
/**
|
|
693
693
|
* The track identifier given was invalid.
|
|
694
694
|
**/
|
|
695
|
-
BadTrack: GenericPalletError
|
|
695
|
+
BadTrack: GenericPalletError;
|
|
696
696
|
|
|
697
697
|
/**
|
|
698
698
|
* There are already a full complement of referenda in progress for this track.
|
|
699
699
|
**/
|
|
700
|
-
Full: GenericPalletError
|
|
700
|
+
Full: GenericPalletError;
|
|
701
701
|
|
|
702
702
|
/**
|
|
703
703
|
* The queue of the track is empty.
|
|
704
704
|
**/
|
|
705
|
-
QueueEmpty: GenericPalletError
|
|
705
|
+
QueueEmpty: GenericPalletError;
|
|
706
706
|
|
|
707
707
|
/**
|
|
708
708
|
* The referendum index provided is invalid in this context.
|
|
709
709
|
**/
|
|
710
|
-
BadReferendum: GenericPalletError
|
|
710
|
+
BadReferendum: GenericPalletError;
|
|
711
711
|
|
|
712
712
|
/**
|
|
713
713
|
* There was nothing to do in the advancement.
|
|
714
714
|
**/
|
|
715
|
-
NothingToDo: GenericPalletError
|
|
715
|
+
NothingToDo: GenericPalletError;
|
|
716
716
|
|
|
717
717
|
/**
|
|
718
718
|
* No track exists for the proposal origin.
|
|
719
719
|
**/
|
|
720
|
-
NoTrack: GenericPalletError
|
|
720
|
+
NoTrack: GenericPalletError;
|
|
721
721
|
|
|
722
722
|
/**
|
|
723
723
|
* Any deposit cannot be refunded until after the decision is over.
|
|
724
724
|
**/
|
|
725
|
-
Unfinished: GenericPalletError
|
|
725
|
+
Unfinished: GenericPalletError;
|
|
726
726
|
|
|
727
727
|
/**
|
|
728
728
|
* The deposit refunder is not the depositor.
|
|
729
729
|
**/
|
|
730
|
-
NoPermission: GenericPalletError
|
|
730
|
+
NoPermission: GenericPalletError;
|
|
731
731
|
|
|
732
732
|
/**
|
|
733
733
|
* The deposit cannot be refunded since none was made.
|
|
734
734
|
**/
|
|
735
|
-
NoDeposit: GenericPalletError
|
|
735
|
+
NoDeposit: GenericPalletError;
|
|
736
736
|
|
|
737
737
|
/**
|
|
738
738
|
* The referendum status is invalid for this operation.
|
|
739
739
|
**/
|
|
740
|
-
BadStatus: GenericPalletError
|
|
740
|
+
BadStatus: GenericPalletError;
|
|
741
741
|
|
|
742
742
|
/**
|
|
743
743
|
* The preimage does not exist.
|
|
744
744
|
**/
|
|
745
|
-
PreimageNotExist: GenericPalletError
|
|
745
|
+
PreimageNotExist: GenericPalletError;
|
|
746
746
|
|
|
747
747
|
/**
|
|
748
748
|
* The preimage is stored with a different length than the one provided.
|
|
749
749
|
**/
|
|
750
|
-
PreimageStoredWithDifferentLength: GenericPalletError
|
|
750
|
+
PreimageStoredWithDifferentLength: GenericPalletError;
|
|
751
751
|
|
|
752
752
|
/**
|
|
753
753
|
* Generic pallet error
|
|
754
754
|
**/
|
|
755
|
-
[error: string]: GenericPalletError
|
|
755
|
+
[error: string]: GenericPalletError;
|
|
756
756
|
};
|
|
757
757
|
/**
|
|
758
758
|
* Pallet `Whitelist`'s errors
|
|
@@ -761,32 +761,32 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
761
761
|
/**
|
|
762
762
|
* The preimage of the call hash could not be loaded.
|
|
763
763
|
**/
|
|
764
|
-
UnavailablePreImage: GenericPalletError
|
|
764
|
+
UnavailablePreImage: GenericPalletError;
|
|
765
765
|
|
|
766
766
|
/**
|
|
767
767
|
* The call could not be decoded.
|
|
768
768
|
**/
|
|
769
|
-
UndecodableCall: GenericPalletError
|
|
769
|
+
UndecodableCall: GenericPalletError;
|
|
770
770
|
|
|
771
771
|
/**
|
|
772
772
|
* The weight of the decoded call was higher than the witness.
|
|
773
773
|
**/
|
|
774
|
-
InvalidCallWeightWitness: GenericPalletError
|
|
774
|
+
InvalidCallWeightWitness: GenericPalletError;
|
|
775
775
|
|
|
776
776
|
/**
|
|
777
777
|
* The call was not whitelisted.
|
|
778
778
|
**/
|
|
779
|
-
CallIsNotWhitelisted: GenericPalletError
|
|
779
|
+
CallIsNotWhitelisted: GenericPalletError;
|
|
780
780
|
|
|
781
781
|
/**
|
|
782
782
|
* The call was already whitelisted; No-Op.
|
|
783
783
|
**/
|
|
784
|
-
CallAlreadyWhitelisted: GenericPalletError
|
|
784
|
+
CallAlreadyWhitelisted: GenericPalletError;
|
|
785
785
|
|
|
786
786
|
/**
|
|
787
787
|
* Generic pallet error
|
|
788
788
|
**/
|
|
789
|
-
[error: string]: GenericPalletError
|
|
789
|
+
[error: string]: GenericPalletError;
|
|
790
790
|
};
|
|
791
791
|
/**
|
|
792
792
|
* Pallet `Claims`'s errors
|
|
@@ -795,38 +795,38 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
795
795
|
/**
|
|
796
796
|
* Invalid Ethereum signature.
|
|
797
797
|
**/
|
|
798
|
-
InvalidEthereumSignature: GenericPalletError
|
|
798
|
+
InvalidEthereumSignature: GenericPalletError;
|
|
799
799
|
|
|
800
800
|
/**
|
|
801
801
|
* Ethereum address has no claim.
|
|
802
802
|
**/
|
|
803
|
-
SignerHasNoClaim: GenericPalletError
|
|
803
|
+
SignerHasNoClaim: GenericPalletError;
|
|
804
804
|
|
|
805
805
|
/**
|
|
806
806
|
* Account ID sending transaction has no claim.
|
|
807
807
|
**/
|
|
808
|
-
SenderHasNoClaim: GenericPalletError
|
|
808
|
+
SenderHasNoClaim: GenericPalletError;
|
|
809
809
|
|
|
810
810
|
/**
|
|
811
811
|
* There's not enough in the pot to pay out some unvested amount. Generally implies a
|
|
812
812
|
* logic error.
|
|
813
813
|
**/
|
|
814
|
-
PotUnderflow: GenericPalletError
|
|
814
|
+
PotUnderflow: GenericPalletError;
|
|
815
815
|
|
|
816
816
|
/**
|
|
817
817
|
* A needed statement was not included.
|
|
818
818
|
**/
|
|
819
|
-
InvalidStatement: GenericPalletError
|
|
819
|
+
InvalidStatement: GenericPalletError;
|
|
820
820
|
|
|
821
821
|
/**
|
|
822
822
|
* The account already has a vested balance.
|
|
823
823
|
**/
|
|
824
|
-
VestedBalanceExists: GenericPalletError
|
|
824
|
+
VestedBalanceExists: GenericPalletError;
|
|
825
825
|
|
|
826
826
|
/**
|
|
827
827
|
* Generic pallet error
|
|
828
828
|
**/
|
|
829
|
-
[error: string]: GenericPalletError
|
|
829
|
+
[error: string]: GenericPalletError;
|
|
830
830
|
};
|
|
831
831
|
/**
|
|
832
832
|
* Pallet `Vesting`'s errors
|
|
@@ -835,33 +835,33 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
835
835
|
/**
|
|
836
836
|
* The account given is not vesting.
|
|
837
837
|
**/
|
|
838
|
-
NotVesting: GenericPalletError
|
|
838
|
+
NotVesting: GenericPalletError;
|
|
839
839
|
|
|
840
840
|
/**
|
|
841
841
|
* The account already has `MaxVestingSchedules` count of schedules and thus
|
|
842
842
|
* cannot add another one. Consider merging existing schedules in order to add another.
|
|
843
843
|
**/
|
|
844
|
-
AtMaxVestingSchedules: GenericPalletError
|
|
844
|
+
AtMaxVestingSchedules: GenericPalletError;
|
|
845
845
|
|
|
846
846
|
/**
|
|
847
847
|
* Amount being transferred is too low to create a vesting schedule.
|
|
848
848
|
**/
|
|
849
|
-
AmountLow: GenericPalletError
|
|
849
|
+
AmountLow: GenericPalletError;
|
|
850
850
|
|
|
851
851
|
/**
|
|
852
852
|
* An index was out of bounds of the vesting schedules.
|
|
853
853
|
**/
|
|
854
|
-
ScheduleIndexOutOfBounds: GenericPalletError
|
|
854
|
+
ScheduleIndexOutOfBounds: GenericPalletError;
|
|
855
855
|
|
|
856
856
|
/**
|
|
857
857
|
* Failed to create a new schedule because some parameter was invalid.
|
|
858
858
|
**/
|
|
859
|
-
InvalidScheduleParams: GenericPalletError
|
|
859
|
+
InvalidScheduleParams: GenericPalletError;
|
|
860
860
|
|
|
861
861
|
/**
|
|
862
862
|
* Generic pallet error
|
|
863
863
|
**/
|
|
864
|
-
[error: string]: GenericPalletError
|
|
864
|
+
[error: string]: GenericPalletError;
|
|
865
865
|
};
|
|
866
866
|
/**
|
|
867
867
|
* Pallet `Utility`'s errors
|
|
@@ -870,12 +870,12 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
870
870
|
/**
|
|
871
871
|
* Too many calls batched.
|
|
872
872
|
**/
|
|
873
|
-
TooManyCalls: GenericPalletError
|
|
873
|
+
TooManyCalls: GenericPalletError;
|
|
874
874
|
|
|
875
875
|
/**
|
|
876
876
|
* Generic pallet error
|
|
877
877
|
**/
|
|
878
|
-
[error: string]: GenericPalletError
|
|
878
|
+
[error: string]: GenericPalletError;
|
|
879
879
|
};
|
|
880
880
|
/**
|
|
881
881
|
* Pallet `Proxy`'s errors
|
|
@@ -884,47 +884,47 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
884
884
|
/**
|
|
885
885
|
* There are too many proxies registered or too many announcements pending.
|
|
886
886
|
**/
|
|
887
|
-
TooMany: GenericPalletError
|
|
887
|
+
TooMany: GenericPalletError;
|
|
888
888
|
|
|
889
889
|
/**
|
|
890
890
|
* Proxy registration not found.
|
|
891
891
|
**/
|
|
892
|
-
NotFound: GenericPalletError
|
|
892
|
+
NotFound: GenericPalletError;
|
|
893
893
|
|
|
894
894
|
/**
|
|
895
895
|
* Sender is not a proxy of the account to be proxied.
|
|
896
896
|
**/
|
|
897
|
-
NotProxy: GenericPalletError
|
|
897
|
+
NotProxy: GenericPalletError;
|
|
898
898
|
|
|
899
899
|
/**
|
|
900
900
|
* A call which is incompatible with the proxy type's filter was attempted.
|
|
901
901
|
**/
|
|
902
|
-
Unproxyable: GenericPalletError
|
|
902
|
+
Unproxyable: GenericPalletError;
|
|
903
903
|
|
|
904
904
|
/**
|
|
905
905
|
* Account is already a proxy.
|
|
906
906
|
**/
|
|
907
|
-
Duplicate: GenericPalletError
|
|
907
|
+
Duplicate: GenericPalletError;
|
|
908
908
|
|
|
909
909
|
/**
|
|
910
910
|
* Call may not be made by proxy because it may escalate its privileges.
|
|
911
911
|
**/
|
|
912
|
-
NoPermission: GenericPalletError
|
|
912
|
+
NoPermission: GenericPalletError;
|
|
913
913
|
|
|
914
914
|
/**
|
|
915
915
|
* Announcement, if made at all, was made too recently.
|
|
916
916
|
**/
|
|
917
|
-
Unannounced: GenericPalletError
|
|
917
|
+
Unannounced: GenericPalletError;
|
|
918
918
|
|
|
919
919
|
/**
|
|
920
920
|
* Cannot add self as proxy.
|
|
921
921
|
**/
|
|
922
|
-
NoSelfProxy: GenericPalletError
|
|
922
|
+
NoSelfProxy: GenericPalletError;
|
|
923
923
|
|
|
924
924
|
/**
|
|
925
925
|
* Generic pallet error
|
|
926
926
|
**/
|
|
927
|
-
[error: string]: GenericPalletError
|
|
927
|
+
[error: string]: GenericPalletError;
|
|
928
928
|
};
|
|
929
929
|
/**
|
|
930
930
|
* Pallet `Multisig`'s errors
|
|
@@ -933,78 +933,78 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
933
933
|
/**
|
|
934
934
|
* Threshold must be 2 or greater.
|
|
935
935
|
**/
|
|
936
|
-
MinimumThreshold: GenericPalletError
|
|
936
|
+
MinimumThreshold: GenericPalletError;
|
|
937
937
|
|
|
938
938
|
/**
|
|
939
939
|
* Call is already approved by this signatory.
|
|
940
940
|
**/
|
|
941
|
-
AlreadyApproved: GenericPalletError
|
|
941
|
+
AlreadyApproved: GenericPalletError;
|
|
942
942
|
|
|
943
943
|
/**
|
|
944
944
|
* Call doesn't need any (more) approvals.
|
|
945
945
|
**/
|
|
946
|
-
NoApprovalsNeeded: GenericPalletError
|
|
946
|
+
NoApprovalsNeeded: GenericPalletError;
|
|
947
947
|
|
|
948
948
|
/**
|
|
949
949
|
* There are too few signatories in the list.
|
|
950
950
|
**/
|
|
951
|
-
TooFewSignatories: GenericPalletError
|
|
951
|
+
TooFewSignatories: GenericPalletError;
|
|
952
952
|
|
|
953
953
|
/**
|
|
954
954
|
* There are too many signatories in the list.
|
|
955
955
|
**/
|
|
956
|
-
TooManySignatories: GenericPalletError
|
|
956
|
+
TooManySignatories: GenericPalletError;
|
|
957
957
|
|
|
958
958
|
/**
|
|
959
959
|
* The signatories were provided out of order; they should be ordered.
|
|
960
960
|
**/
|
|
961
|
-
SignatoriesOutOfOrder: GenericPalletError
|
|
961
|
+
SignatoriesOutOfOrder: GenericPalletError;
|
|
962
962
|
|
|
963
963
|
/**
|
|
964
964
|
* The sender was contained in the other signatories; it shouldn't be.
|
|
965
965
|
**/
|
|
966
|
-
SenderInSignatories: GenericPalletError
|
|
966
|
+
SenderInSignatories: GenericPalletError;
|
|
967
967
|
|
|
968
968
|
/**
|
|
969
969
|
* Multisig operation not found in storage.
|
|
970
970
|
**/
|
|
971
|
-
NotFound: GenericPalletError
|
|
971
|
+
NotFound: GenericPalletError;
|
|
972
972
|
|
|
973
973
|
/**
|
|
974
974
|
* Only the account that originally created the multisig is able to cancel it or update
|
|
975
975
|
* its deposits.
|
|
976
976
|
**/
|
|
977
|
-
NotOwner: GenericPalletError
|
|
977
|
+
NotOwner: GenericPalletError;
|
|
978
978
|
|
|
979
979
|
/**
|
|
980
980
|
* No timepoint was given, yet the multisig operation is already underway.
|
|
981
981
|
**/
|
|
982
|
-
NoTimepoint: GenericPalletError
|
|
982
|
+
NoTimepoint: GenericPalletError;
|
|
983
983
|
|
|
984
984
|
/**
|
|
985
985
|
* A different timepoint was given to the multisig operation that is underway.
|
|
986
986
|
**/
|
|
987
|
-
WrongTimepoint: GenericPalletError
|
|
987
|
+
WrongTimepoint: GenericPalletError;
|
|
988
988
|
|
|
989
989
|
/**
|
|
990
990
|
* A timepoint was given, yet no multisig operation is underway.
|
|
991
991
|
**/
|
|
992
|
-
UnexpectedTimepoint: GenericPalletError
|
|
992
|
+
UnexpectedTimepoint: GenericPalletError;
|
|
993
993
|
|
|
994
994
|
/**
|
|
995
995
|
* The maximum weight information provided was too low.
|
|
996
996
|
**/
|
|
997
|
-
MaxWeightTooLow: GenericPalletError
|
|
997
|
+
MaxWeightTooLow: GenericPalletError;
|
|
998
998
|
|
|
999
999
|
/**
|
|
1000
1000
|
* The data to be stored is already stored.
|
|
1001
1001
|
**/
|
|
1002
|
-
AlreadyStored: GenericPalletError
|
|
1002
|
+
AlreadyStored: GenericPalletError;
|
|
1003
1003
|
|
|
1004
1004
|
/**
|
|
1005
1005
|
* Generic pallet error
|
|
1006
1006
|
**/
|
|
1007
|
-
[error: string]: GenericPalletError
|
|
1007
|
+
[error: string]: GenericPalletError;
|
|
1008
1008
|
};
|
|
1009
1009
|
/**
|
|
1010
1010
|
* Pallet `Bounties`'s errors
|
|
@@ -1013,68 +1013,68 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1013
1013
|
/**
|
|
1014
1014
|
* Proposer's balance is too low.
|
|
1015
1015
|
**/
|
|
1016
|
-
InsufficientProposersBalance: GenericPalletError
|
|
1016
|
+
InsufficientProposersBalance: GenericPalletError;
|
|
1017
1017
|
|
|
1018
1018
|
/**
|
|
1019
1019
|
* No proposal or bounty at that index.
|
|
1020
1020
|
**/
|
|
1021
|
-
InvalidIndex: GenericPalletError
|
|
1021
|
+
InvalidIndex: GenericPalletError;
|
|
1022
1022
|
|
|
1023
1023
|
/**
|
|
1024
1024
|
* The reason given is just too big.
|
|
1025
1025
|
**/
|
|
1026
|
-
ReasonTooBig: GenericPalletError
|
|
1026
|
+
ReasonTooBig: GenericPalletError;
|
|
1027
1027
|
|
|
1028
1028
|
/**
|
|
1029
1029
|
* The bounty status is unexpected.
|
|
1030
1030
|
**/
|
|
1031
|
-
UnexpectedStatus: GenericPalletError
|
|
1031
|
+
UnexpectedStatus: GenericPalletError;
|
|
1032
1032
|
|
|
1033
1033
|
/**
|
|
1034
1034
|
* Require bounty curator.
|
|
1035
1035
|
**/
|
|
1036
|
-
RequireCurator: GenericPalletError
|
|
1036
|
+
RequireCurator: GenericPalletError;
|
|
1037
1037
|
|
|
1038
1038
|
/**
|
|
1039
1039
|
* Invalid bounty value.
|
|
1040
1040
|
**/
|
|
1041
|
-
InvalidValue: GenericPalletError
|
|
1041
|
+
InvalidValue: GenericPalletError;
|
|
1042
1042
|
|
|
1043
1043
|
/**
|
|
1044
1044
|
* Invalid bounty fee.
|
|
1045
1045
|
**/
|
|
1046
|
-
InvalidFee: GenericPalletError
|
|
1046
|
+
InvalidFee: GenericPalletError;
|
|
1047
1047
|
|
|
1048
1048
|
/**
|
|
1049
1049
|
* A bounty payout is pending.
|
|
1050
1050
|
* To cancel the bounty, you must unassign and slash the curator.
|
|
1051
1051
|
**/
|
|
1052
|
-
PendingPayout: GenericPalletError
|
|
1052
|
+
PendingPayout: GenericPalletError;
|
|
1053
1053
|
|
|
1054
1054
|
/**
|
|
1055
1055
|
* The bounties cannot be claimed/closed because it's still in the countdown period.
|
|
1056
1056
|
**/
|
|
1057
|
-
Premature: GenericPalletError
|
|
1057
|
+
Premature: GenericPalletError;
|
|
1058
1058
|
|
|
1059
1059
|
/**
|
|
1060
1060
|
* The bounty cannot be closed because it has active child bounties.
|
|
1061
1061
|
**/
|
|
1062
|
-
HasActiveChildBounty: GenericPalletError
|
|
1062
|
+
HasActiveChildBounty: GenericPalletError;
|
|
1063
1063
|
|
|
1064
1064
|
/**
|
|
1065
1065
|
* Too many approvals are already queued.
|
|
1066
1066
|
**/
|
|
1067
|
-
TooManyQueued: GenericPalletError
|
|
1067
|
+
TooManyQueued: GenericPalletError;
|
|
1068
1068
|
|
|
1069
1069
|
/**
|
|
1070
1070
|
* User is not the proposer of the bounty.
|
|
1071
1071
|
**/
|
|
1072
|
-
NotProposer: GenericPalletError
|
|
1072
|
+
NotProposer: GenericPalletError;
|
|
1073
1073
|
|
|
1074
1074
|
/**
|
|
1075
1075
|
* Generic pallet error
|
|
1076
1076
|
**/
|
|
1077
|
-
[error: string]: GenericPalletError
|
|
1077
|
+
[error: string]: GenericPalletError;
|
|
1078
1078
|
};
|
|
1079
1079
|
/**
|
|
1080
1080
|
* Pallet `ChildBounties`'s errors
|
|
@@ -1083,22 +1083,22 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1083
1083
|
/**
|
|
1084
1084
|
* The parent bounty is not in active state.
|
|
1085
1085
|
**/
|
|
1086
|
-
ParentBountyNotActive: GenericPalletError
|
|
1086
|
+
ParentBountyNotActive: GenericPalletError;
|
|
1087
1087
|
|
|
1088
1088
|
/**
|
|
1089
1089
|
* The bounty balance is not enough to add new child-bounty.
|
|
1090
1090
|
**/
|
|
1091
|
-
InsufficientBountyBalance: GenericPalletError
|
|
1091
|
+
InsufficientBountyBalance: GenericPalletError;
|
|
1092
1092
|
|
|
1093
1093
|
/**
|
|
1094
1094
|
* Number of child bounties exceeds limit `MaxActiveChildBountyCount`.
|
|
1095
1095
|
**/
|
|
1096
|
-
TooManyChildBounties: GenericPalletError
|
|
1096
|
+
TooManyChildBounties: GenericPalletError;
|
|
1097
1097
|
|
|
1098
1098
|
/**
|
|
1099
1099
|
* Generic pallet error
|
|
1100
1100
|
**/
|
|
1101
|
-
[error: string]: GenericPalletError
|
|
1101
|
+
[error: string]: GenericPalletError;
|
|
1102
1102
|
};
|
|
1103
1103
|
/**
|
|
1104
1104
|
* Pallet `ElectionProviderMultiPhase`'s errors
|
|
@@ -1107,82 +1107,82 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1107
1107
|
/**
|
|
1108
1108
|
* Submission was too early.
|
|
1109
1109
|
**/
|
|
1110
|
-
PreDispatchEarlySubmission: GenericPalletError
|
|
1110
|
+
PreDispatchEarlySubmission: GenericPalletError;
|
|
1111
1111
|
|
|
1112
1112
|
/**
|
|
1113
1113
|
* Wrong number of winners presented.
|
|
1114
1114
|
**/
|
|
1115
|
-
PreDispatchWrongWinnerCount: GenericPalletError
|
|
1115
|
+
PreDispatchWrongWinnerCount: GenericPalletError;
|
|
1116
1116
|
|
|
1117
1117
|
/**
|
|
1118
1118
|
* Submission was too weak, score-wise.
|
|
1119
1119
|
**/
|
|
1120
|
-
PreDispatchWeakSubmission: GenericPalletError
|
|
1120
|
+
PreDispatchWeakSubmission: GenericPalletError;
|
|
1121
1121
|
|
|
1122
1122
|
/**
|
|
1123
1123
|
* The queue was full, and the solution was not better than any of the existing ones.
|
|
1124
1124
|
**/
|
|
1125
|
-
SignedQueueFull: GenericPalletError
|
|
1125
|
+
SignedQueueFull: GenericPalletError;
|
|
1126
1126
|
|
|
1127
1127
|
/**
|
|
1128
1128
|
* The origin failed to pay the deposit.
|
|
1129
1129
|
**/
|
|
1130
|
-
SignedCannotPayDeposit: GenericPalletError
|
|
1130
|
+
SignedCannotPayDeposit: GenericPalletError;
|
|
1131
1131
|
|
|
1132
1132
|
/**
|
|
1133
1133
|
* Witness data to dispatchable is invalid.
|
|
1134
1134
|
**/
|
|
1135
|
-
SignedInvalidWitness: GenericPalletError
|
|
1135
|
+
SignedInvalidWitness: GenericPalletError;
|
|
1136
1136
|
|
|
1137
1137
|
/**
|
|
1138
1138
|
* The signed submission consumes too much weight
|
|
1139
1139
|
**/
|
|
1140
|
-
SignedTooMuchWeight: GenericPalletError
|
|
1140
|
+
SignedTooMuchWeight: GenericPalletError;
|
|
1141
1141
|
|
|
1142
1142
|
/**
|
|
1143
1143
|
* OCW submitted solution for wrong round
|
|
1144
1144
|
**/
|
|
1145
|
-
OcwCallWrongEra: GenericPalletError
|
|
1145
|
+
OcwCallWrongEra: GenericPalletError;
|
|
1146
1146
|
|
|
1147
1147
|
/**
|
|
1148
1148
|
* Snapshot metadata should exist but didn't.
|
|
1149
1149
|
**/
|
|
1150
|
-
MissingSnapshotMetadata: GenericPalletError
|
|
1150
|
+
MissingSnapshotMetadata: GenericPalletError;
|
|
1151
1151
|
|
|
1152
1152
|
/**
|
|
1153
1153
|
* `Self::insert_submission` returned an invalid index.
|
|
1154
1154
|
**/
|
|
1155
|
-
InvalidSubmissionIndex: GenericPalletError
|
|
1155
|
+
InvalidSubmissionIndex: GenericPalletError;
|
|
1156
1156
|
|
|
1157
1157
|
/**
|
|
1158
1158
|
* The call is not allowed at this point.
|
|
1159
1159
|
**/
|
|
1160
|
-
CallNotAllowed: GenericPalletError
|
|
1160
|
+
CallNotAllowed: GenericPalletError;
|
|
1161
1161
|
|
|
1162
1162
|
/**
|
|
1163
1163
|
* The fallback failed
|
|
1164
1164
|
**/
|
|
1165
|
-
FallbackFailed: GenericPalletError
|
|
1165
|
+
FallbackFailed: GenericPalletError;
|
|
1166
1166
|
|
|
1167
1167
|
/**
|
|
1168
1168
|
* Some bound not met
|
|
1169
1169
|
**/
|
|
1170
|
-
BoundNotMet: GenericPalletError
|
|
1170
|
+
BoundNotMet: GenericPalletError;
|
|
1171
1171
|
|
|
1172
1172
|
/**
|
|
1173
1173
|
* Submitted solution has too many winners
|
|
1174
1174
|
**/
|
|
1175
|
-
TooManyWinners: GenericPalletError
|
|
1175
|
+
TooManyWinners: GenericPalletError;
|
|
1176
1176
|
|
|
1177
1177
|
/**
|
|
1178
1178
|
* Submission was prepared for a different round.
|
|
1179
1179
|
**/
|
|
1180
|
-
PreDispatchDifferentRound: GenericPalletError
|
|
1180
|
+
PreDispatchDifferentRound: GenericPalletError;
|
|
1181
1181
|
|
|
1182
1182
|
/**
|
|
1183
1183
|
* Generic pallet error
|
|
1184
1184
|
**/
|
|
1185
|
-
[error: string]: GenericPalletError
|
|
1185
|
+
[error: string]: GenericPalletError;
|
|
1186
1186
|
};
|
|
1187
1187
|
/**
|
|
1188
1188
|
* Pallet `VoterList`'s errors
|
|
@@ -1191,17 +1191,17 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1191
1191
|
/**
|
|
1192
1192
|
* A error in the list interface implementation.
|
|
1193
1193
|
**/
|
|
1194
|
-
List: GenericPalletError
|
|
1194
|
+
List: GenericPalletError;
|
|
1195
1195
|
|
|
1196
1196
|
/**
|
|
1197
1197
|
* Could not update a node, because the pallet is locked.
|
|
1198
1198
|
**/
|
|
1199
|
-
Locked: GenericPalletError
|
|
1199
|
+
Locked: GenericPalletError;
|
|
1200
1200
|
|
|
1201
1201
|
/**
|
|
1202
1202
|
* Generic pallet error
|
|
1203
1203
|
**/
|
|
1204
|
-
[error: string]: GenericPalletError
|
|
1204
|
+
[error: string]: GenericPalletError;
|
|
1205
1205
|
};
|
|
1206
1206
|
/**
|
|
1207
1207
|
* Pallet `NominationPools`'s errors
|
|
@@ -1210,44 +1210,44 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1210
1210
|
/**
|
|
1211
1211
|
* A (bonded) pool id does not exist.
|
|
1212
1212
|
**/
|
|
1213
|
-
PoolNotFound: GenericPalletError
|
|
1213
|
+
PoolNotFound: GenericPalletError;
|
|
1214
1214
|
|
|
1215
1215
|
/**
|
|
1216
1216
|
* An account is not a member.
|
|
1217
1217
|
**/
|
|
1218
|
-
PoolMemberNotFound: GenericPalletError
|
|
1218
|
+
PoolMemberNotFound: GenericPalletError;
|
|
1219
1219
|
|
|
1220
1220
|
/**
|
|
1221
1221
|
* A reward pool does not exist. In all cases this is a system logic error.
|
|
1222
1222
|
**/
|
|
1223
|
-
RewardPoolNotFound: GenericPalletError
|
|
1223
|
+
RewardPoolNotFound: GenericPalletError;
|
|
1224
1224
|
|
|
1225
1225
|
/**
|
|
1226
1226
|
* A sub pool does not exist.
|
|
1227
1227
|
**/
|
|
1228
|
-
SubPoolsNotFound: GenericPalletError
|
|
1228
|
+
SubPoolsNotFound: GenericPalletError;
|
|
1229
1229
|
|
|
1230
1230
|
/**
|
|
1231
1231
|
* An account is already delegating in another pool. An account may only belong to one
|
|
1232
1232
|
* pool at a time.
|
|
1233
1233
|
**/
|
|
1234
|
-
AccountBelongsToOtherPool: GenericPalletError
|
|
1234
|
+
AccountBelongsToOtherPool: GenericPalletError;
|
|
1235
1235
|
|
|
1236
1236
|
/**
|
|
1237
1237
|
* The member is fully unbonded (and thus cannot access the bonded and reward pool
|
|
1238
1238
|
* anymore to, for example, collect rewards).
|
|
1239
1239
|
**/
|
|
1240
|
-
FullyUnbonding: GenericPalletError
|
|
1240
|
+
FullyUnbonding: GenericPalletError;
|
|
1241
1241
|
|
|
1242
1242
|
/**
|
|
1243
1243
|
* The member cannot unbond further chunks due to reaching the limit.
|
|
1244
1244
|
**/
|
|
1245
|
-
MaxUnbondingLimit: GenericPalletError
|
|
1245
|
+
MaxUnbondingLimit: GenericPalletError;
|
|
1246
1246
|
|
|
1247
1247
|
/**
|
|
1248
1248
|
* None of the funds can be withdrawn yet because the bonding duration has not passed.
|
|
1249
1249
|
**/
|
|
1250
|
-
CannotWithdrawAny: GenericPalletError
|
|
1250
|
+
CannotWithdrawAny: GenericPalletError;
|
|
1251
1251
|
|
|
1252
1252
|
/**
|
|
1253
1253
|
* The amount does not meet the minimum bond to either join or create a pool.
|
|
@@ -1256,160 +1256,160 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1256
1256
|
* caller does not have nominating permissions for the pool. Members can never unbond to a
|
|
1257
1257
|
* value below `MinJoinBond`.
|
|
1258
1258
|
**/
|
|
1259
|
-
MinimumBondNotMet: GenericPalletError
|
|
1259
|
+
MinimumBondNotMet: GenericPalletError;
|
|
1260
1260
|
|
|
1261
1261
|
/**
|
|
1262
1262
|
* The transaction could not be executed due to overflow risk for the pool.
|
|
1263
1263
|
**/
|
|
1264
|
-
OverflowRisk: GenericPalletError
|
|
1264
|
+
OverflowRisk: GenericPalletError;
|
|
1265
1265
|
|
|
1266
1266
|
/**
|
|
1267
1267
|
* A pool must be in [`PoolState::Destroying`] in order for the depositor to unbond or for
|
|
1268
1268
|
* other members to be permissionlessly unbonded.
|
|
1269
1269
|
**/
|
|
1270
|
-
NotDestroying: GenericPalletError
|
|
1270
|
+
NotDestroying: GenericPalletError;
|
|
1271
1271
|
|
|
1272
1272
|
/**
|
|
1273
1273
|
* The caller does not have nominating permissions for the pool.
|
|
1274
1274
|
**/
|
|
1275
|
-
NotNominator: GenericPalletError
|
|
1275
|
+
NotNominator: GenericPalletError;
|
|
1276
1276
|
|
|
1277
1277
|
/**
|
|
1278
1278
|
* Either a) the caller cannot make a valid kick or b) the pool is not destroying.
|
|
1279
1279
|
**/
|
|
1280
|
-
NotKickerOrDestroying: GenericPalletError
|
|
1280
|
+
NotKickerOrDestroying: GenericPalletError;
|
|
1281
1281
|
|
|
1282
1282
|
/**
|
|
1283
1283
|
* The pool is not open to join
|
|
1284
1284
|
**/
|
|
1285
|
-
NotOpen: GenericPalletError
|
|
1285
|
+
NotOpen: GenericPalletError;
|
|
1286
1286
|
|
|
1287
1287
|
/**
|
|
1288
1288
|
* The system is maxed out on pools.
|
|
1289
1289
|
**/
|
|
1290
|
-
MaxPools: GenericPalletError
|
|
1290
|
+
MaxPools: GenericPalletError;
|
|
1291
1291
|
|
|
1292
1292
|
/**
|
|
1293
1293
|
* Too many members in the pool or system.
|
|
1294
1294
|
**/
|
|
1295
|
-
MaxPoolMembers: GenericPalletError
|
|
1295
|
+
MaxPoolMembers: GenericPalletError;
|
|
1296
1296
|
|
|
1297
1297
|
/**
|
|
1298
1298
|
* The pools state cannot be changed.
|
|
1299
1299
|
**/
|
|
1300
|
-
CanNotChangeState: GenericPalletError
|
|
1300
|
+
CanNotChangeState: GenericPalletError;
|
|
1301
1301
|
|
|
1302
1302
|
/**
|
|
1303
1303
|
* The caller does not have adequate permissions.
|
|
1304
1304
|
**/
|
|
1305
|
-
DoesNotHavePermission: GenericPalletError
|
|
1305
|
+
DoesNotHavePermission: GenericPalletError;
|
|
1306
1306
|
|
|
1307
1307
|
/**
|
|
1308
1308
|
* Metadata exceeds [`Config::MaxMetadataLen`]
|
|
1309
1309
|
**/
|
|
1310
|
-
MetadataExceedsMaxLen: GenericPalletError
|
|
1310
|
+
MetadataExceedsMaxLen: GenericPalletError;
|
|
1311
1311
|
|
|
1312
1312
|
/**
|
|
1313
1313
|
* Some error occurred that should never happen. This should be reported to the
|
|
1314
1314
|
* maintainers.
|
|
1315
1315
|
**/
|
|
1316
|
-
Defensive: GenericPalletError
|
|
1316
|
+
Defensive: GenericPalletError;
|
|
1317
1317
|
|
|
1318
1318
|
/**
|
|
1319
1319
|
* Partial unbonding now allowed permissionlessly.
|
|
1320
1320
|
**/
|
|
1321
|
-
PartialUnbondNotAllowedPermissionlessly: GenericPalletError
|
|
1321
|
+
PartialUnbondNotAllowedPermissionlessly: GenericPalletError;
|
|
1322
1322
|
|
|
1323
1323
|
/**
|
|
1324
1324
|
* The pool's max commission cannot be set higher than the existing value.
|
|
1325
1325
|
**/
|
|
1326
|
-
MaxCommissionRestricted: GenericPalletError
|
|
1326
|
+
MaxCommissionRestricted: GenericPalletError;
|
|
1327
1327
|
|
|
1328
1328
|
/**
|
|
1329
1329
|
* The supplied commission exceeds the max allowed commission.
|
|
1330
1330
|
**/
|
|
1331
|
-
CommissionExceedsMaximum: GenericPalletError
|
|
1331
|
+
CommissionExceedsMaximum: GenericPalletError;
|
|
1332
1332
|
|
|
1333
1333
|
/**
|
|
1334
1334
|
* The supplied commission exceeds global maximum commission.
|
|
1335
1335
|
**/
|
|
1336
|
-
CommissionExceedsGlobalMaximum: GenericPalletError
|
|
1336
|
+
CommissionExceedsGlobalMaximum: GenericPalletError;
|
|
1337
1337
|
|
|
1338
1338
|
/**
|
|
1339
1339
|
* Not enough blocks have surpassed since the last commission update.
|
|
1340
1340
|
**/
|
|
1341
|
-
CommissionChangeThrottled: GenericPalletError
|
|
1341
|
+
CommissionChangeThrottled: GenericPalletError;
|
|
1342
1342
|
|
|
1343
1343
|
/**
|
|
1344
1344
|
* The submitted changes to commission change rate are not allowed.
|
|
1345
1345
|
**/
|
|
1346
|
-
CommissionChangeRateNotAllowed: GenericPalletError
|
|
1346
|
+
CommissionChangeRateNotAllowed: GenericPalletError;
|
|
1347
1347
|
|
|
1348
1348
|
/**
|
|
1349
1349
|
* There is no pending commission to claim.
|
|
1350
1350
|
**/
|
|
1351
|
-
NoPendingCommission: GenericPalletError
|
|
1351
|
+
NoPendingCommission: GenericPalletError;
|
|
1352
1352
|
|
|
1353
1353
|
/**
|
|
1354
1354
|
* No commission current has been set.
|
|
1355
1355
|
**/
|
|
1356
|
-
NoCommissionCurrentSet: GenericPalletError
|
|
1356
|
+
NoCommissionCurrentSet: GenericPalletError;
|
|
1357
1357
|
|
|
1358
1358
|
/**
|
|
1359
1359
|
* Pool id currently in use.
|
|
1360
1360
|
**/
|
|
1361
|
-
PoolIdInUse: GenericPalletError
|
|
1361
|
+
PoolIdInUse: GenericPalletError;
|
|
1362
1362
|
|
|
1363
1363
|
/**
|
|
1364
1364
|
* Pool id provided is not correct/usable.
|
|
1365
1365
|
**/
|
|
1366
|
-
InvalidPoolId: GenericPalletError
|
|
1366
|
+
InvalidPoolId: GenericPalletError;
|
|
1367
1367
|
|
|
1368
1368
|
/**
|
|
1369
1369
|
* Bonding extra is restricted to the exact pending reward amount.
|
|
1370
1370
|
**/
|
|
1371
|
-
BondExtraRestricted: GenericPalletError
|
|
1371
|
+
BondExtraRestricted: GenericPalletError;
|
|
1372
1372
|
|
|
1373
1373
|
/**
|
|
1374
1374
|
* No imbalance in the ED deposit for the pool.
|
|
1375
1375
|
**/
|
|
1376
|
-
NothingToAdjust: GenericPalletError
|
|
1376
|
+
NothingToAdjust: GenericPalletError;
|
|
1377
1377
|
|
|
1378
1378
|
/**
|
|
1379
1379
|
* No slash pending that can be applied to the member.
|
|
1380
1380
|
**/
|
|
1381
|
-
NothingToSlash: GenericPalletError
|
|
1381
|
+
NothingToSlash: GenericPalletError;
|
|
1382
1382
|
|
|
1383
1383
|
/**
|
|
1384
1384
|
* The slash amount is too low to be applied.
|
|
1385
1385
|
**/
|
|
1386
|
-
SlashTooLow: GenericPalletError
|
|
1386
|
+
SlashTooLow: GenericPalletError;
|
|
1387
1387
|
|
|
1388
1388
|
/**
|
|
1389
1389
|
* The pool or member delegation has already migrated to delegate stake.
|
|
1390
1390
|
**/
|
|
1391
|
-
AlreadyMigrated: GenericPalletError
|
|
1391
|
+
AlreadyMigrated: GenericPalletError;
|
|
1392
1392
|
|
|
1393
1393
|
/**
|
|
1394
1394
|
* The pool or member delegation has not migrated yet to delegate stake.
|
|
1395
1395
|
**/
|
|
1396
|
-
NotMigrated: GenericPalletError
|
|
1396
|
+
NotMigrated: GenericPalletError;
|
|
1397
1397
|
|
|
1398
1398
|
/**
|
|
1399
1399
|
* This call is not allowed in the current state of the pallet.
|
|
1400
1400
|
**/
|
|
1401
|
-
NotSupported: GenericPalletError
|
|
1401
|
+
NotSupported: GenericPalletError;
|
|
1402
1402
|
|
|
1403
1403
|
/**
|
|
1404
1404
|
* Account is restricted from participation in pools. This may happen if the account is
|
|
1405
1405
|
* staking in another way already.
|
|
1406
1406
|
**/
|
|
1407
|
-
Restricted: GenericPalletError
|
|
1407
|
+
Restricted: GenericPalletError;
|
|
1408
1408
|
|
|
1409
1409
|
/**
|
|
1410
1410
|
* Generic pallet error
|
|
1411
1411
|
**/
|
|
1412
|
-
[error: string]: GenericPalletError
|
|
1412
|
+
[error: string]: GenericPalletError;
|
|
1413
1413
|
};
|
|
1414
1414
|
/**
|
|
1415
1415
|
* Pallet `FastUnstake`'s errors
|
|
@@ -1420,37 +1420,37 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1420
1420
|
*
|
|
1421
1421
|
* This means that the given account is not bonded.
|
|
1422
1422
|
**/
|
|
1423
|
-
NotController: GenericPalletError
|
|
1423
|
+
NotController: GenericPalletError;
|
|
1424
1424
|
|
|
1425
1425
|
/**
|
|
1426
1426
|
* The bonded account has already been queued.
|
|
1427
1427
|
**/
|
|
1428
|
-
AlreadyQueued: GenericPalletError
|
|
1428
|
+
AlreadyQueued: GenericPalletError;
|
|
1429
1429
|
|
|
1430
1430
|
/**
|
|
1431
1431
|
* The bonded account has active unlocking chunks.
|
|
1432
1432
|
**/
|
|
1433
|
-
NotFullyBonded: GenericPalletError
|
|
1433
|
+
NotFullyBonded: GenericPalletError;
|
|
1434
1434
|
|
|
1435
1435
|
/**
|
|
1436
1436
|
* The provided un-staker is not in the `Queue`.
|
|
1437
1437
|
**/
|
|
1438
|
-
NotQueued: GenericPalletError
|
|
1438
|
+
NotQueued: GenericPalletError;
|
|
1439
1439
|
|
|
1440
1440
|
/**
|
|
1441
1441
|
* The provided un-staker is already in Head, and cannot deregister.
|
|
1442
1442
|
**/
|
|
1443
|
-
AlreadyHead: GenericPalletError
|
|
1443
|
+
AlreadyHead: GenericPalletError;
|
|
1444
1444
|
|
|
1445
1445
|
/**
|
|
1446
1446
|
* The call is not allowed at this point because the pallet is not active.
|
|
1447
1447
|
**/
|
|
1448
|
-
CallNotAllowed: GenericPalletError
|
|
1448
|
+
CallNotAllowed: GenericPalletError;
|
|
1449
1449
|
|
|
1450
1450
|
/**
|
|
1451
1451
|
* Generic pallet error
|
|
1452
1452
|
**/
|
|
1453
|
-
[error: string]: GenericPalletError
|
|
1453
|
+
[error: string]: GenericPalletError;
|
|
1454
1454
|
};
|
|
1455
1455
|
/**
|
|
1456
1456
|
* Pallet `DelegatedStaking`'s errors
|
|
@@ -1459,17 +1459,17 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1459
1459
|
/**
|
|
1460
1460
|
* The account cannot perform this operation.
|
|
1461
1461
|
**/
|
|
1462
|
-
NotAllowed: GenericPalletError
|
|
1462
|
+
NotAllowed: GenericPalletError;
|
|
1463
1463
|
|
|
1464
1464
|
/**
|
|
1465
1465
|
* An existing staker cannot perform this action.
|
|
1466
1466
|
**/
|
|
1467
|
-
AlreadyStaking: GenericPalletError
|
|
1467
|
+
AlreadyStaking: GenericPalletError;
|
|
1468
1468
|
|
|
1469
1469
|
/**
|
|
1470
1470
|
* Reward Destination cannot be same as `Agent` account.
|
|
1471
1471
|
**/
|
|
1472
|
-
InvalidRewardDestination: GenericPalletError
|
|
1472
|
+
InvalidRewardDestination: GenericPalletError;
|
|
1473
1473
|
|
|
1474
1474
|
/**
|
|
1475
1475
|
* Delegation conditions are not met.
|
|
@@ -1478,52 +1478,52 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1478
1478
|
* 1) Cannot delegate to self,
|
|
1479
1479
|
* 2) Cannot delegate to multiple delegates.
|
|
1480
1480
|
**/
|
|
1481
|
-
InvalidDelegation: GenericPalletError
|
|
1481
|
+
InvalidDelegation: GenericPalletError;
|
|
1482
1482
|
|
|
1483
1483
|
/**
|
|
1484
1484
|
* The account does not have enough funds to perform the operation.
|
|
1485
1485
|
**/
|
|
1486
|
-
NotEnoughFunds: GenericPalletError
|
|
1486
|
+
NotEnoughFunds: GenericPalletError;
|
|
1487
1487
|
|
|
1488
1488
|
/**
|
|
1489
1489
|
* Not an existing `Agent` account.
|
|
1490
1490
|
**/
|
|
1491
|
-
NotAgent: GenericPalletError
|
|
1491
|
+
NotAgent: GenericPalletError;
|
|
1492
1492
|
|
|
1493
1493
|
/**
|
|
1494
1494
|
* Not a Delegator account.
|
|
1495
1495
|
**/
|
|
1496
|
-
NotDelegator: GenericPalletError
|
|
1496
|
+
NotDelegator: GenericPalletError;
|
|
1497
1497
|
|
|
1498
1498
|
/**
|
|
1499
1499
|
* Some corruption in internal state.
|
|
1500
1500
|
**/
|
|
1501
|
-
BadState: GenericPalletError
|
|
1501
|
+
BadState: GenericPalletError;
|
|
1502
1502
|
|
|
1503
1503
|
/**
|
|
1504
1504
|
* Unapplied pending slash restricts operation on `Agent`.
|
|
1505
1505
|
**/
|
|
1506
|
-
UnappliedSlash: GenericPalletError
|
|
1506
|
+
UnappliedSlash: GenericPalletError;
|
|
1507
1507
|
|
|
1508
1508
|
/**
|
|
1509
1509
|
* `Agent` has no pending slash to be applied.
|
|
1510
1510
|
**/
|
|
1511
|
-
NothingToSlash: GenericPalletError
|
|
1511
|
+
NothingToSlash: GenericPalletError;
|
|
1512
1512
|
|
|
1513
1513
|
/**
|
|
1514
1514
|
* Failed to withdraw amount from Core Staking.
|
|
1515
1515
|
**/
|
|
1516
|
-
WithdrawFailed: GenericPalletError
|
|
1516
|
+
WithdrawFailed: GenericPalletError;
|
|
1517
1517
|
|
|
1518
1518
|
/**
|
|
1519
1519
|
* Operation not supported by this pallet.
|
|
1520
1520
|
**/
|
|
1521
|
-
NotSupported: GenericPalletError
|
|
1521
|
+
NotSupported: GenericPalletError;
|
|
1522
1522
|
|
|
1523
1523
|
/**
|
|
1524
1524
|
* Generic pallet error
|
|
1525
1525
|
**/
|
|
1526
|
-
[error: string]: GenericPalletError
|
|
1526
|
+
[error: string]: GenericPalletError;
|
|
1527
1527
|
};
|
|
1528
1528
|
/**
|
|
1529
1529
|
* Pallet `StakingAhClient`'s errors
|
|
@@ -1532,12 +1532,12 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1532
1532
|
/**
|
|
1533
1533
|
* Could not process incoming message because incoming messages are blocked.
|
|
1534
1534
|
**/
|
|
1535
|
-
Blocked: GenericPalletError
|
|
1535
|
+
Blocked: GenericPalletError;
|
|
1536
1536
|
|
|
1537
1537
|
/**
|
|
1538
1538
|
* Generic pallet error
|
|
1539
1539
|
**/
|
|
1540
|
-
[error: string]: GenericPalletError
|
|
1540
|
+
[error: string]: GenericPalletError;
|
|
1541
1541
|
};
|
|
1542
1542
|
/**
|
|
1543
1543
|
* Pallet `Configuration`'s errors
|
|
@@ -1546,12 +1546,12 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1546
1546
|
/**
|
|
1547
1547
|
* The new value for a configuration parameter is invalid.
|
|
1548
1548
|
**/
|
|
1549
|
-
InvalidNewValue: GenericPalletError
|
|
1549
|
+
InvalidNewValue: GenericPalletError;
|
|
1550
1550
|
|
|
1551
1551
|
/**
|
|
1552
1552
|
* Generic pallet error
|
|
1553
1553
|
**/
|
|
1554
|
-
[error: string]: GenericPalletError
|
|
1554
|
+
[error: string]: GenericPalletError;
|
|
1555
1555
|
};
|
|
1556
1556
|
/**
|
|
1557
1557
|
* Pallet `ParaInclusion`'s errors
|
|
@@ -1560,95 +1560,95 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1560
1560
|
/**
|
|
1561
1561
|
* Validator index out of bounds.
|
|
1562
1562
|
**/
|
|
1563
|
-
ValidatorIndexOutOfBounds: GenericPalletError
|
|
1563
|
+
ValidatorIndexOutOfBounds: GenericPalletError;
|
|
1564
1564
|
|
|
1565
1565
|
/**
|
|
1566
1566
|
* Candidate submitted but para not scheduled.
|
|
1567
1567
|
**/
|
|
1568
|
-
UnscheduledCandidate: GenericPalletError
|
|
1568
|
+
UnscheduledCandidate: GenericPalletError;
|
|
1569
1569
|
|
|
1570
1570
|
/**
|
|
1571
1571
|
* Head data exceeds the configured maximum.
|
|
1572
1572
|
**/
|
|
1573
|
-
HeadDataTooLarge: GenericPalletError
|
|
1573
|
+
HeadDataTooLarge: GenericPalletError;
|
|
1574
1574
|
|
|
1575
1575
|
/**
|
|
1576
1576
|
* Code upgrade prematurely.
|
|
1577
1577
|
**/
|
|
1578
|
-
PrematureCodeUpgrade: GenericPalletError
|
|
1578
|
+
PrematureCodeUpgrade: GenericPalletError;
|
|
1579
1579
|
|
|
1580
1580
|
/**
|
|
1581
1581
|
* Output code is too large
|
|
1582
1582
|
**/
|
|
1583
|
-
NewCodeTooLarge: GenericPalletError
|
|
1583
|
+
NewCodeTooLarge: GenericPalletError;
|
|
1584
1584
|
|
|
1585
1585
|
/**
|
|
1586
1586
|
* The candidate's relay-parent was not allowed. Either it was
|
|
1587
1587
|
* not recent enough or it didn't advance based on the last parachain block.
|
|
1588
1588
|
**/
|
|
1589
|
-
DisallowedRelayParent: GenericPalletError
|
|
1589
|
+
DisallowedRelayParent: GenericPalletError;
|
|
1590
1590
|
|
|
1591
1591
|
/**
|
|
1592
1592
|
* Failed to compute group index for the core: either it's out of bounds
|
|
1593
1593
|
* or the relay parent doesn't belong to the current session.
|
|
1594
1594
|
**/
|
|
1595
|
-
InvalidAssignment: GenericPalletError
|
|
1595
|
+
InvalidAssignment: GenericPalletError;
|
|
1596
1596
|
|
|
1597
1597
|
/**
|
|
1598
1598
|
* Invalid group index in core assignment.
|
|
1599
1599
|
**/
|
|
1600
|
-
InvalidGroupIndex: GenericPalletError
|
|
1600
|
+
InvalidGroupIndex: GenericPalletError;
|
|
1601
1601
|
|
|
1602
1602
|
/**
|
|
1603
1603
|
* Insufficient (non-majority) backing.
|
|
1604
1604
|
**/
|
|
1605
|
-
InsufficientBacking: GenericPalletError
|
|
1605
|
+
InsufficientBacking: GenericPalletError;
|
|
1606
1606
|
|
|
1607
1607
|
/**
|
|
1608
1608
|
* Invalid (bad signature, unknown validator, etc.) backing.
|
|
1609
1609
|
**/
|
|
1610
|
-
InvalidBacking: GenericPalletError
|
|
1610
|
+
InvalidBacking: GenericPalletError;
|
|
1611
1611
|
|
|
1612
1612
|
/**
|
|
1613
1613
|
* The validation data hash does not match expected.
|
|
1614
1614
|
**/
|
|
1615
|
-
ValidationDataHashMismatch: GenericPalletError
|
|
1615
|
+
ValidationDataHashMismatch: GenericPalletError;
|
|
1616
1616
|
|
|
1617
1617
|
/**
|
|
1618
1618
|
* The downward message queue is not processed correctly.
|
|
1619
1619
|
**/
|
|
1620
|
-
IncorrectDownwardMessageHandling: GenericPalletError
|
|
1620
|
+
IncorrectDownwardMessageHandling: GenericPalletError;
|
|
1621
1621
|
|
|
1622
1622
|
/**
|
|
1623
1623
|
* At least one upward message sent does not pass the acceptance criteria.
|
|
1624
1624
|
**/
|
|
1625
|
-
InvalidUpwardMessages: GenericPalletError
|
|
1625
|
+
InvalidUpwardMessages: GenericPalletError;
|
|
1626
1626
|
|
|
1627
1627
|
/**
|
|
1628
1628
|
* The candidate didn't follow the rules of HRMP watermark advancement.
|
|
1629
1629
|
**/
|
|
1630
|
-
HrmpWatermarkMishandling: GenericPalletError
|
|
1630
|
+
HrmpWatermarkMishandling: GenericPalletError;
|
|
1631
1631
|
|
|
1632
1632
|
/**
|
|
1633
1633
|
* The HRMP messages sent by the candidate is not valid.
|
|
1634
1634
|
**/
|
|
1635
|
-
InvalidOutboundHrmp: GenericPalletError
|
|
1635
|
+
InvalidOutboundHrmp: GenericPalletError;
|
|
1636
1636
|
|
|
1637
1637
|
/**
|
|
1638
1638
|
* The validation code hash of the candidate is not valid.
|
|
1639
1639
|
**/
|
|
1640
|
-
InvalidValidationCodeHash: GenericPalletError
|
|
1640
|
+
InvalidValidationCodeHash: GenericPalletError;
|
|
1641
1641
|
|
|
1642
1642
|
/**
|
|
1643
1643
|
* The `para_head` hash in the candidate descriptor doesn't match the hash of the actual
|
|
1644
1644
|
* para head in the commitments.
|
|
1645
1645
|
**/
|
|
1646
|
-
ParaHeadMismatch: GenericPalletError
|
|
1646
|
+
ParaHeadMismatch: GenericPalletError;
|
|
1647
1647
|
|
|
1648
1648
|
/**
|
|
1649
1649
|
* Generic pallet error
|
|
1650
1650
|
**/
|
|
1651
|
-
[error: string]: GenericPalletError
|
|
1651
|
+
[error: string]: GenericPalletError;
|
|
1652
1652
|
};
|
|
1653
1653
|
/**
|
|
1654
1654
|
* Pallet `ParaInherent`'s errors
|
|
@@ -1657,29 +1657,29 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1657
1657
|
/**
|
|
1658
1658
|
* Inclusion inherent called more than once per block.
|
|
1659
1659
|
**/
|
|
1660
|
-
TooManyInclusionInherents: GenericPalletError
|
|
1660
|
+
TooManyInclusionInherents: GenericPalletError;
|
|
1661
1661
|
|
|
1662
1662
|
/**
|
|
1663
1663
|
* The hash of the submitted parent header doesn't correspond to the saved block hash of
|
|
1664
1664
|
* the parent.
|
|
1665
1665
|
**/
|
|
1666
|
-
InvalidParentHeader: GenericPalletError
|
|
1666
|
+
InvalidParentHeader: GenericPalletError;
|
|
1667
1667
|
|
|
1668
1668
|
/**
|
|
1669
1669
|
* Inherent data was filtered during execution. This should have only been done
|
|
1670
1670
|
* during creation.
|
|
1671
1671
|
**/
|
|
1672
|
-
InherentDataFilteredDuringExecution: GenericPalletError
|
|
1672
|
+
InherentDataFilteredDuringExecution: GenericPalletError;
|
|
1673
1673
|
|
|
1674
1674
|
/**
|
|
1675
1675
|
* Too many candidates supplied.
|
|
1676
1676
|
**/
|
|
1677
|
-
UnscheduledCandidate: GenericPalletError
|
|
1677
|
+
UnscheduledCandidate: GenericPalletError;
|
|
1678
1678
|
|
|
1679
1679
|
/**
|
|
1680
1680
|
* Generic pallet error
|
|
1681
1681
|
**/
|
|
1682
|
-
[error: string]: GenericPalletError
|
|
1682
|
+
[error: string]: GenericPalletError;
|
|
1683
1683
|
};
|
|
1684
1684
|
/**
|
|
1685
1685
|
* Pallet `Paras`'s errors
|
|
@@ -1688,87 +1688,87 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1688
1688
|
/**
|
|
1689
1689
|
* Para is not registered in our system.
|
|
1690
1690
|
**/
|
|
1691
|
-
NotRegistered: GenericPalletError
|
|
1691
|
+
NotRegistered: GenericPalletError;
|
|
1692
1692
|
|
|
1693
1693
|
/**
|
|
1694
1694
|
* Para cannot be onboarded because it is already tracked by our system.
|
|
1695
1695
|
**/
|
|
1696
|
-
CannotOnboard: GenericPalletError
|
|
1696
|
+
CannotOnboard: GenericPalletError;
|
|
1697
1697
|
|
|
1698
1698
|
/**
|
|
1699
1699
|
* Para cannot be offboarded at this time.
|
|
1700
1700
|
**/
|
|
1701
|
-
CannotOffboard: GenericPalletError
|
|
1701
|
+
CannotOffboard: GenericPalletError;
|
|
1702
1702
|
|
|
1703
1703
|
/**
|
|
1704
1704
|
* Para cannot be upgraded to a lease holding parachain.
|
|
1705
1705
|
**/
|
|
1706
|
-
CannotUpgrade: GenericPalletError
|
|
1706
|
+
CannotUpgrade: GenericPalletError;
|
|
1707
1707
|
|
|
1708
1708
|
/**
|
|
1709
1709
|
* Para cannot be downgraded to an on-demand parachain.
|
|
1710
1710
|
**/
|
|
1711
|
-
CannotDowngrade: GenericPalletError
|
|
1711
|
+
CannotDowngrade: GenericPalletError;
|
|
1712
1712
|
|
|
1713
1713
|
/**
|
|
1714
1714
|
* The statement for PVF pre-checking is stale.
|
|
1715
1715
|
**/
|
|
1716
|
-
PvfCheckStatementStale: GenericPalletError
|
|
1716
|
+
PvfCheckStatementStale: GenericPalletError;
|
|
1717
1717
|
|
|
1718
1718
|
/**
|
|
1719
1719
|
* The statement for PVF pre-checking is for a future session.
|
|
1720
1720
|
**/
|
|
1721
|
-
PvfCheckStatementFuture: GenericPalletError
|
|
1721
|
+
PvfCheckStatementFuture: GenericPalletError;
|
|
1722
1722
|
|
|
1723
1723
|
/**
|
|
1724
1724
|
* Claimed validator index is out of bounds.
|
|
1725
1725
|
**/
|
|
1726
|
-
PvfCheckValidatorIndexOutOfBounds: GenericPalletError
|
|
1726
|
+
PvfCheckValidatorIndexOutOfBounds: GenericPalletError;
|
|
1727
1727
|
|
|
1728
1728
|
/**
|
|
1729
1729
|
* The signature for the PVF pre-checking is invalid.
|
|
1730
1730
|
**/
|
|
1731
|
-
PvfCheckInvalidSignature: GenericPalletError
|
|
1731
|
+
PvfCheckInvalidSignature: GenericPalletError;
|
|
1732
1732
|
|
|
1733
1733
|
/**
|
|
1734
1734
|
* The given validator already has cast a vote.
|
|
1735
1735
|
**/
|
|
1736
|
-
PvfCheckDoubleVote: GenericPalletError
|
|
1736
|
+
PvfCheckDoubleVote: GenericPalletError;
|
|
1737
1737
|
|
|
1738
1738
|
/**
|
|
1739
1739
|
* The given PVF does not exist at the moment of process a vote.
|
|
1740
1740
|
**/
|
|
1741
|
-
PvfCheckSubjectInvalid: GenericPalletError
|
|
1741
|
+
PvfCheckSubjectInvalid: GenericPalletError;
|
|
1742
1742
|
|
|
1743
1743
|
/**
|
|
1744
1744
|
* Parachain cannot currently schedule a code upgrade.
|
|
1745
1745
|
**/
|
|
1746
|
-
CannotUpgradeCode: GenericPalletError
|
|
1746
|
+
CannotUpgradeCode: GenericPalletError;
|
|
1747
1747
|
|
|
1748
1748
|
/**
|
|
1749
1749
|
* Invalid validation code size.
|
|
1750
1750
|
**/
|
|
1751
|
-
InvalidCode: GenericPalletError
|
|
1751
|
+
InvalidCode: GenericPalletError;
|
|
1752
1752
|
|
|
1753
1753
|
/**
|
|
1754
1754
|
* No upgrade authorized.
|
|
1755
1755
|
**/
|
|
1756
|
-
NothingAuthorized: GenericPalletError
|
|
1756
|
+
NothingAuthorized: GenericPalletError;
|
|
1757
1757
|
|
|
1758
1758
|
/**
|
|
1759
1759
|
* The submitted code is not authorized.
|
|
1760
1760
|
**/
|
|
1761
|
-
Unauthorized: GenericPalletError
|
|
1761
|
+
Unauthorized: GenericPalletError;
|
|
1762
1762
|
|
|
1763
1763
|
/**
|
|
1764
1764
|
* Invalid block number.
|
|
1765
1765
|
**/
|
|
1766
|
-
InvalidBlockNumber: GenericPalletError
|
|
1766
|
+
InvalidBlockNumber: GenericPalletError;
|
|
1767
1767
|
|
|
1768
1768
|
/**
|
|
1769
1769
|
* Generic pallet error
|
|
1770
1770
|
**/
|
|
1771
|
-
[error: string]: GenericPalletError
|
|
1771
|
+
[error: string]: GenericPalletError;
|
|
1772
1772
|
};
|
|
1773
1773
|
/**
|
|
1774
1774
|
* Pallet `Hrmp`'s errors
|
|
@@ -1777,107 +1777,107 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1777
1777
|
/**
|
|
1778
1778
|
* The sender tried to open a channel to themselves.
|
|
1779
1779
|
**/
|
|
1780
|
-
OpenHrmpChannelToSelf: GenericPalletError
|
|
1780
|
+
OpenHrmpChannelToSelf: GenericPalletError;
|
|
1781
1781
|
|
|
1782
1782
|
/**
|
|
1783
1783
|
* The recipient is not a valid para.
|
|
1784
1784
|
**/
|
|
1785
|
-
OpenHrmpChannelInvalidRecipient: GenericPalletError
|
|
1785
|
+
OpenHrmpChannelInvalidRecipient: GenericPalletError;
|
|
1786
1786
|
|
|
1787
1787
|
/**
|
|
1788
1788
|
* The requested capacity is zero.
|
|
1789
1789
|
**/
|
|
1790
|
-
OpenHrmpChannelZeroCapacity: GenericPalletError
|
|
1790
|
+
OpenHrmpChannelZeroCapacity: GenericPalletError;
|
|
1791
1791
|
|
|
1792
1792
|
/**
|
|
1793
1793
|
* The requested capacity exceeds the global limit.
|
|
1794
1794
|
**/
|
|
1795
|
-
OpenHrmpChannelCapacityExceedsLimit: GenericPalletError
|
|
1795
|
+
OpenHrmpChannelCapacityExceedsLimit: GenericPalletError;
|
|
1796
1796
|
|
|
1797
1797
|
/**
|
|
1798
1798
|
* The requested maximum message size is 0.
|
|
1799
1799
|
**/
|
|
1800
|
-
OpenHrmpChannelZeroMessageSize: GenericPalletError
|
|
1800
|
+
OpenHrmpChannelZeroMessageSize: GenericPalletError;
|
|
1801
1801
|
|
|
1802
1802
|
/**
|
|
1803
1803
|
* The open request requested the message size that exceeds the global limit.
|
|
1804
1804
|
**/
|
|
1805
|
-
OpenHrmpChannelMessageSizeExceedsLimit: GenericPalletError
|
|
1805
|
+
OpenHrmpChannelMessageSizeExceedsLimit: GenericPalletError;
|
|
1806
1806
|
|
|
1807
1807
|
/**
|
|
1808
1808
|
* The channel already exists
|
|
1809
1809
|
**/
|
|
1810
|
-
OpenHrmpChannelAlreadyExists: GenericPalletError
|
|
1810
|
+
OpenHrmpChannelAlreadyExists: GenericPalletError;
|
|
1811
1811
|
|
|
1812
1812
|
/**
|
|
1813
1813
|
* There is already a request to open the same channel.
|
|
1814
1814
|
**/
|
|
1815
|
-
OpenHrmpChannelAlreadyRequested: GenericPalletError
|
|
1815
|
+
OpenHrmpChannelAlreadyRequested: GenericPalletError;
|
|
1816
1816
|
|
|
1817
1817
|
/**
|
|
1818
1818
|
* The sender already has the maximum number of allowed outbound channels.
|
|
1819
1819
|
**/
|
|
1820
|
-
OpenHrmpChannelLimitExceeded: GenericPalletError
|
|
1820
|
+
OpenHrmpChannelLimitExceeded: GenericPalletError;
|
|
1821
1821
|
|
|
1822
1822
|
/**
|
|
1823
1823
|
* The channel from the sender to the origin doesn't exist.
|
|
1824
1824
|
**/
|
|
1825
|
-
AcceptHrmpChannelDoesntExist: GenericPalletError
|
|
1825
|
+
AcceptHrmpChannelDoesntExist: GenericPalletError;
|
|
1826
1826
|
|
|
1827
1827
|
/**
|
|
1828
1828
|
* The channel is already confirmed.
|
|
1829
1829
|
**/
|
|
1830
|
-
AcceptHrmpChannelAlreadyConfirmed: GenericPalletError
|
|
1830
|
+
AcceptHrmpChannelAlreadyConfirmed: GenericPalletError;
|
|
1831
1831
|
|
|
1832
1832
|
/**
|
|
1833
1833
|
* The recipient already has the maximum number of allowed inbound channels.
|
|
1834
1834
|
**/
|
|
1835
|
-
AcceptHrmpChannelLimitExceeded: GenericPalletError
|
|
1835
|
+
AcceptHrmpChannelLimitExceeded: GenericPalletError;
|
|
1836
1836
|
|
|
1837
1837
|
/**
|
|
1838
1838
|
* The origin tries to close a channel where it is neither the sender nor the recipient.
|
|
1839
1839
|
**/
|
|
1840
|
-
CloseHrmpChannelUnauthorized: GenericPalletError
|
|
1840
|
+
CloseHrmpChannelUnauthorized: GenericPalletError;
|
|
1841
1841
|
|
|
1842
1842
|
/**
|
|
1843
1843
|
* The channel to be closed doesn't exist.
|
|
1844
1844
|
**/
|
|
1845
|
-
CloseHrmpChannelDoesntExist: GenericPalletError
|
|
1845
|
+
CloseHrmpChannelDoesntExist: GenericPalletError;
|
|
1846
1846
|
|
|
1847
1847
|
/**
|
|
1848
1848
|
* The channel close request is already requested.
|
|
1849
1849
|
**/
|
|
1850
|
-
CloseHrmpChannelAlreadyUnderway: GenericPalletError
|
|
1850
|
+
CloseHrmpChannelAlreadyUnderway: GenericPalletError;
|
|
1851
1851
|
|
|
1852
1852
|
/**
|
|
1853
1853
|
* Canceling is requested by neither the sender nor recipient of the open channel request.
|
|
1854
1854
|
**/
|
|
1855
|
-
CancelHrmpOpenChannelUnauthorized: GenericPalletError
|
|
1855
|
+
CancelHrmpOpenChannelUnauthorized: GenericPalletError;
|
|
1856
1856
|
|
|
1857
1857
|
/**
|
|
1858
1858
|
* The open request doesn't exist.
|
|
1859
1859
|
**/
|
|
1860
|
-
OpenHrmpChannelDoesntExist: GenericPalletError
|
|
1860
|
+
OpenHrmpChannelDoesntExist: GenericPalletError;
|
|
1861
1861
|
|
|
1862
1862
|
/**
|
|
1863
1863
|
* Cannot cancel an HRMP open channel request because it is already confirmed.
|
|
1864
1864
|
**/
|
|
1865
|
-
OpenHrmpChannelAlreadyConfirmed: GenericPalletError
|
|
1865
|
+
OpenHrmpChannelAlreadyConfirmed: GenericPalletError;
|
|
1866
1866
|
|
|
1867
1867
|
/**
|
|
1868
1868
|
* The provided witness data is wrong.
|
|
1869
1869
|
**/
|
|
1870
|
-
WrongWitness: GenericPalletError
|
|
1870
|
+
WrongWitness: GenericPalletError;
|
|
1871
1871
|
|
|
1872
1872
|
/**
|
|
1873
1873
|
* The channel between these two chains cannot be authorized.
|
|
1874
1874
|
**/
|
|
1875
|
-
ChannelCreationNotAuthorized: GenericPalletError
|
|
1875
|
+
ChannelCreationNotAuthorized: GenericPalletError;
|
|
1876
1876
|
|
|
1877
1877
|
/**
|
|
1878
1878
|
* Generic pallet error
|
|
1879
1879
|
**/
|
|
1880
|
-
[error: string]: GenericPalletError
|
|
1880
|
+
[error: string]: GenericPalletError;
|
|
1881
1881
|
};
|
|
1882
1882
|
/**
|
|
1883
1883
|
* Pallet `ParasDisputes`'s errors
|
|
@@ -1886,52 +1886,52 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1886
1886
|
/**
|
|
1887
1887
|
* Duplicate dispute statement sets provided.
|
|
1888
1888
|
**/
|
|
1889
|
-
DuplicateDisputeStatementSets: GenericPalletError
|
|
1889
|
+
DuplicateDisputeStatementSets: GenericPalletError;
|
|
1890
1890
|
|
|
1891
1891
|
/**
|
|
1892
1892
|
* Ancient dispute statement provided.
|
|
1893
1893
|
**/
|
|
1894
|
-
AncientDisputeStatement: GenericPalletError
|
|
1894
|
+
AncientDisputeStatement: GenericPalletError;
|
|
1895
1895
|
|
|
1896
1896
|
/**
|
|
1897
1897
|
* Validator index on statement is out of bounds for session.
|
|
1898
1898
|
**/
|
|
1899
|
-
ValidatorIndexOutOfBounds: GenericPalletError
|
|
1899
|
+
ValidatorIndexOutOfBounds: GenericPalletError;
|
|
1900
1900
|
|
|
1901
1901
|
/**
|
|
1902
1902
|
* Invalid signature on statement.
|
|
1903
1903
|
**/
|
|
1904
|
-
InvalidSignature: GenericPalletError
|
|
1904
|
+
InvalidSignature: GenericPalletError;
|
|
1905
1905
|
|
|
1906
1906
|
/**
|
|
1907
1907
|
* Validator vote submitted more than once to dispute.
|
|
1908
1908
|
**/
|
|
1909
|
-
DuplicateStatement: GenericPalletError
|
|
1909
|
+
DuplicateStatement: GenericPalletError;
|
|
1910
1910
|
|
|
1911
1911
|
/**
|
|
1912
1912
|
* A dispute where there are only votes on one side.
|
|
1913
1913
|
**/
|
|
1914
|
-
SingleSidedDispute: GenericPalletError
|
|
1914
|
+
SingleSidedDispute: GenericPalletError;
|
|
1915
1915
|
|
|
1916
1916
|
/**
|
|
1917
1917
|
* A dispute vote from a malicious backer.
|
|
1918
1918
|
**/
|
|
1919
|
-
MaliciousBacker: GenericPalletError
|
|
1919
|
+
MaliciousBacker: GenericPalletError;
|
|
1920
1920
|
|
|
1921
1921
|
/**
|
|
1922
1922
|
* No backing votes were provides along dispute statements.
|
|
1923
1923
|
**/
|
|
1924
|
-
MissingBackingVotes: GenericPalletError
|
|
1924
|
+
MissingBackingVotes: GenericPalletError;
|
|
1925
1925
|
|
|
1926
1926
|
/**
|
|
1927
1927
|
* Unconfirmed dispute statement sets provided.
|
|
1928
1928
|
**/
|
|
1929
|
-
UnconfirmedDispute: GenericPalletError
|
|
1929
|
+
UnconfirmedDispute: GenericPalletError;
|
|
1930
1930
|
|
|
1931
1931
|
/**
|
|
1932
1932
|
* Generic pallet error
|
|
1933
1933
|
**/
|
|
1934
|
-
[error: string]: GenericPalletError
|
|
1934
|
+
[error: string]: GenericPalletError;
|
|
1935
1935
|
};
|
|
1936
1936
|
/**
|
|
1937
1937
|
* Pallet `ParasSlashing`'s errors
|
|
@@ -1940,38 +1940,38 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1940
1940
|
/**
|
|
1941
1941
|
* The key ownership proof is invalid.
|
|
1942
1942
|
**/
|
|
1943
|
-
InvalidKeyOwnershipProof: GenericPalletError
|
|
1943
|
+
InvalidKeyOwnershipProof: GenericPalletError;
|
|
1944
1944
|
|
|
1945
1945
|
/**
|
|
1946
1946
|
* The session index is too old or invalid.
|
|
1947
1947
|
**/
|
|
1948
|
-
InvalidSessionIndex: GenericPalletError
|
|
1948
|
+
InvalidSessionIndex: GenericPalletError;
|
|
1949
1949
|
|
|
1950
1950
|
/**
|
|
1951
1951
|
* The candidate hash is invalid.
|
|
1952
1952
|
**/
|
|
1953
|
-
InvalidCandidateHash: GenericPalletError
|
|
1953
|
+
InvalidCandidateHash: GenericPalletError;
|
|
1954
1954
|
|
|
1955
1955
|
/**
|
|
1956
1956
|
* There is no pending slash for the given validator index and time
|
|
1957
1957
|
* slot.
|
|
1958
1958
|
**/
|
|
1959
|
-
InvalidValidatorIndex: GenericPalletError
|
|
1959
|
+
InvalidValidatorIndex: GenericPalletError;
|
|
1960
1960
|
|
|
1961
1961
|
/**
|
|
1962
1962
|
* The validator index does not match the validator id.
|
|
1963
1963
|
**/
|
|
1964
|
-
ValidatorIndexIdMismatch: GenericPalletError
|
|
1964
|
+
ValidatorIndexIdMismatch: GenericPalletError;
|
|
1965
1965
|
|
|
1966
1966
|
/**
|
|
1967
1967
|
* The given slashing report is valid but already previously reported.
|
|
1968
1968
|
**/
|
|
1969
|
-
DuplicateSlashingReport: GenericPalletError
|
|
1969
|
+
DuplicateSlashingReport: GenericPalletError;
|
|
1970
1970
|
|
|
1971
1971
|
/**
|
|
1972
1972
|
* Generic pallet error
|
|
1973
1973
|
**/
|
|
1974
|
-
[error: string]: GenericPalletError
|
|
1974
|
+
[error: string]: GenericPalletError;
|
|
1975
1975
|
};
|
|
1976
1976
|
/**
|
|
1977
1977
|
* Pallet `OnDemand`'s errors
|
|
@@ -1980,40 +1980,40 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1980
1980
|
/**
|
|
1981
1981
|
* The order queue is full, `place_order` will not continue.
|
|
1982
1982
|
**/
|
|
1983
|
-
QueueFull: GenericPalletError
|
|
1983
|
+
QueueFull: GenericPalletError;
|
|
1984
1984
|
|
|
1985
1985
|
/**
|
|
1986
1986
|
* The current spot price is higher than the max amount specified in the `place_order`
|
|
1987
1987
|
* call, making it invalid.
|
|
1988
1988
|
**/
|
|
1989
|
-
SpotPriceHigherThanMaxAmount: GenericPalletError
|
|
1989
|
+
SpotPriceHigherThanMaxAmount: GenericPalletError;
|
|
1990
1990
|
|
|
1991
1991
|
/**
|
|
1992
1992
|
* The account doesn't have enough credits to purchase on-demand coretime.
|
|
1993
1993
|
**/
|
|
1994
|
-
InsufficientCredits: GenericPalletError
|
|
1994
|
+
InsufficientCredits: GenericPalletError;
|
|
1995
1995
|
|
|
1996
1996
|
/**
|
|
1997
1997
|
* Generic pallet error
|
|
1998
1998
|
**/
|
|
1999
|
-
[error: string]: GenericPalletError
|
|
1999
|
+
[error: string]: GenericPalletError;
|
|
2000
2000
|
};
|
|
2001
2001
|
/**
|
|
2002
2002
|
* Pallet `CoretimeAssignmentProvider`'s errors
|
|
2003
2003
|
**/
|
|
2004
2004
|
coretimeAssignmentProvider: {
|
|
2005
|
-
AssignmentsEmpty: GenericPalletError
|
|
2005
|
+
AssignmentsEmpty: GenericPalletError;
|
|
2006
2006
|
|
|
2007
2007
|
/**
|
|
2008
2008
|
* assign_core is only allowed to append new assignments at the end of already existing
|
|
2009
2009
|
* ones or update the last entry.
|
|
2010
2010
|
**/
|
|
2011
|
-
DisallowedInsert: GenericPalletError
|
|
2011
|
+
DisallowedInsert: GenericPalletError;
|
|
2012
2012
|
|
|
2013
2013
|
/**
|
|
2014
2014
|
* Generic pallet error
|
|
2015
2015
|
**/
|
|
2016
|
-
[error: string]: GenericPalletError
|
|
2016
|
+
[error: string]: GenericPalletError;
|
|
2017
2017
|
};
|
|
2018
2018
|
/**
|
|
2019
2019
|
* Pallet `Registrar`'s errors
|
|
@@ -2022,79 +2022,79 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2022
2022
|
/**
|
|
2023
2023
|
* The ID is not registered.
|
|
2024
2024
|
**/
|
|
2025
|
-
NotRegistered: GenericPalletError
|
|
2025
|
+
NotRegistered: GenericPalletError;
|
|
2026
2026
|
|
|
2027
2027
|
/**
|
|
2028
2028
|
* The ID is already registered.
|
|
2029
2029
|
**/
|
|
2030
|
-
AlreadyRegistered: GenericPalletError
|
|
2030
|
+
AlreadyRegistered: GenericPalletError;
|
|
2031
2031
|
|
|
2032
2032
|
/**
|
|
2033
2033
|
* The caller is not the owner of this Id.
|
|
2034
2034
|
**/
|
|
2035
|
-
NotOwner: GenericPalletError
|
|
2035
|
+
NotOwner: GenericPalletError;
|
|
2036
2036
|
|
|
2037
2037
|
/**
|
|
2038
2038
|
* Invalid para code size.
|
|
2039
2039
|
**/
|
|
2040
|
-
CodeTooLarge: GenericPalletError
|
|
2040
|
+
CodeTooLarge: GenericPalletError;
|
|
2041
2041
|
|
|
2042
2042
|
/**
|
|
2043
2043
|
* Invalid para head data size.
|
|
2044
2044
|
**/
|
|
2045
|
-
HeadDataTooLarge: GenericPalletError
|
|
2045
|
+
HeadDataTooLarge: GenericPalletError;
|
|
2046
2046
|
|
|
2047
2047
|
/**
|
|
2048
2048
|
* Para is not a Parachain.
|
|
2049
2049
|
**/
|
|
2050
|
-
NotParachain: GenericPalletError
|
|
2050
|
+
NotParachain: GenericPalletError;
|
|
2051
2051
|
|
|
2052
2052
|
/**
|
|
2053
2053
|
* Para is not a Parathread (on-demand parachain).
|
|
2054
2054
|
**/
|
|
2055
|
-
NotParathread: GenericPalletError
|
|
2055
|
+
NotParathread: GenericPalletError;
|
|
2056
2056
|
|
|
2057
2057
|
/**
|
|
2058
2058
|
* Cannot deregister para
|
|
2059
2059
|
**/
|
|
2060
|
-
CannotDeregister: GenericPalletError
|
|
2060
|
+
CannotDeregister: GenericPalletError;
|
|
2061
2061
|
|
|
2062
2062
|
/**
|
|
2063
2063
|
* Cannot schedule downgrade of lease holding parachain to on-demand parachain
|
|
2064
2064
|
**/
|
|
2065
|
-
CannotDowngrade: GenericPalletError
|
|
2065
|
+
CannotDowngrade: GenericPalletError;
|
|
2066
2066
|
|
|
2067
2067
|
/**
|
|
2068
2068
|
* Cannot schedule upgrade of on-demand parachain to lease holding parachain
|
|
2069
2069
|
**/
|
|
2070
|
-
CannotUpgrade: GenericPalletError
|
|
2070
|
+
CannotUpgrade: GenericPalletError;
|
|
2071
2071
|
|
|
2072
2072
|
/**
|
|
2073
2073
|
* Para is locked from manipulation by the manager. Must use parachain or relay chain
|
|
2074
2074
|
* governance.
|
|
2075
2075
|
**/
|
|
2076
|
-
ParaLocked: GenericPalletError
|
|
2076
|
+
ParaLocked: GenericPalletError;
|
|
2077
2077
|
|
|
2078
2078
|
/**
|
|
2079
2079
|
* The ID given for registration has not been reserved.
|
|
2080
2080
|
**/
|
|
2081
|
-
NotReserved: GenericPalletError
|
|
2081
|
+
NotReserved: GenericPalletError;
|
|
2082
2082
|
|
|
2083
2083
|
/**
|
|
2084
2084
|
* The validation code is invalid.
|
|
2085
2085
|
**/
|
|
2086
|
-
InvalidCode: GenericPalletError
|
|
2086
|
+
InvalidCode: GenericPalletError;
|
|
2087
2087
|
|
|
2088
2088
|
/**
|
|
2089
2089
|
* Cannot perform a parachain slot / lifecycle swap. Check that the state of both paras
|
|
2090
2090
|
* are correct for the swap to work.
|
|
2091
2091
|
**/
|
|
2092
|
-
CannotSwap: GenericPalletError
|
|
2092
|
+
CannotSwap: GenericPalletError;
|
|
2093
2093
|
|
|
2094
2094
|
/**
|
|
2095
2095
|
* Generic pallet error
|
|
2096
2096
|
**/
|
|
2097
|
-
[error: string]: GenericPalletError
|
|
2097
|
+
[error: string]: GenericPalletError;
|
|
2098
2098
|
};
|
|
2099
2099
|
/**
|
|
2100
2100
|
* Pallet `Slots`'s errors
|
|
@@ -2103,17 +2103,17 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2103
2103
|
/**
|
|
2104
2104
|
* The parachain ID is not onboarding.
|
|
2105
2105
|
**/
|
|
2106
|
-
ParaNotOnboarding: GenericPalletError
|
|
2106
|
+
ParaNotOnboarding: GenericPalletError;
|
|
2107
2107
|
|
|
2108
2108
|
/**
|
|
2109
2109
|
* There was an error with the lease.
|
|
2110
2110
|
**/
|
|
2111
|
-
LeaseError: GenericPalletError
|
|
2111
|
+
LeaseError: GenericPalletError;
|
|
2112
2112
|
|
|
2113
2113
|
/**
|
|
2114
2114
|
* Generic pallet error
|
|
2115
2115
|
**/
|
|
2116
|
-
[error: string]: GenericPalletError
|
|
2116
|
+
[error: string]: GenericPalletError;
|
|
2117
2117
|
};
|
|
2118
2118
|
/**
|
|
2119
2119
|
* Pallet `Auctions`'s errors
|
|
@@ -2122,42 +2122,42 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2122
2122
|
/**
|
|
2123
2123
|
* This auction is already in progress.
|
|
2124
2124
|
**/
|
|
2125
|
-
AuctionInProgress: GenericPalletError
|
|
2125
|
+
AuctionInProgress: GenericPalletError;
|
|
2126
2126
|
|
|
2127
2127
|
/**
|
|
2128
2128
|
* The lease period is in the past.
|
|
2129
2129
|
**/
|
|
2130
|
-
LeasePeriodInPast: GenericPalletError
|
|
2130
|
+
LeasePeriodInPast: GenericPalletError;
|
|
2131
2131
|
|
|
2132
2132
|
/**
|
|
2133
2133
|
* Para is not registered
|
|
2134
2134
|
**/
|
|
2135
|
-
ParaNotRegistered: GenericPalletError
|
|
2135
|
+
ParaNotRegistered: GenericPalletError;
|
|
2136
2136
|
|
|
2137
2137
|
/**
|
|
2138
2138
|
* Not a current auction.
|
|
2139
2139
|
**/
|
|
2140
|
-
NotCurrentAuction: GenericPalletError
|
|
2140
|
+
NotCurrentAuction: GenericPalletError;
|
|
2141
2141
|
|
|
2142
2142
|
/**
|
|
2143
2143
|
* Not an auction.
|
|
2144
2144
|
**/
|
|
2145
|
-
NotAuction: GenericPalletError
|
|
2145
|
+
NotAuction: GenericPalletError;
|
|
2146
2146
|
|
|
2147
2147
|
/**
|
|
2148
2148
|
* Auction has already ended.
|
|
2149
2149
|
**/
|
|
2150
|
-
AuctionEnded: GenericPalletError
|
|
2150
|
+
AuctionEnded: GenericPalletError;
|
|
2151
2151
|
|
|
2152
2152
|
/**
|
|
2153
2153
|
* The para is already leased out for part of this range.
|
|
2154
2154
|
**/
|
|
2155
|
-
AlreadyLeasedOut: GenericPalletError
|
|
2155
|
+
AlreadyLeasedOut: GenericPalletError;
|
|
2156
2156
|
|
|
2157
2157
|
/**
|
|
2158
2158
|
* Generic pallet error
|
|
2159
2159
|
**/
|
|
2160
|
-
[error: string]: GenericPalletError
|
|
2160
|
+
[error: string]: GenericPalletError;
|
|
2161
2161
|
};
|
|
2162
2162
|
/**
|
|
2163
2163
|
* Pallet `Crowdloan`'s errors
|
|
@@ -2166,123 +2166,123 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2166
2166
|
/**
|
|
2167
2167
|
* The current lease period is more than the first lease period.
|
|
2168
2168
|
**/
|
|
2169
|
-
FirstPeriodInPast: GenericPalletError
|
|
2169
|
+
FirstPeriodInPast: GenericPalletError;
|
|
2170
2170
|
|
|
2171
2171
|
/**
|
|
2172
2172
|
* The first lease period needs to at least be less than 3 `max_value`.
|
|
2173
2173
|
**/
|
|
2174
|
-
FirstPeriodTooFarInFuture: GenericPalletError
|
|
2174
|
+
FirstPeriodTooFarInFuture: GenericPalletError;
|
|
2175
2175
|
|
|
2176
2176
|
/**
|
|
2177
2177
|
* Last lease period must be greater than first lease period.
|
|
2178
2178
|
**/
|
|
2179
|
-
LastPeriodBeforeFirstPeriod: GenericPalletError
|
|
2179
|
+
LastPeriodBeforeFirstPeriod: GenericPalletError;
|
|
2180
2180
|
|
|
2181
2181
|
/**
|
|
2182
2182
|
* The last lease period cannot be more than 3 periods after the first period.
|
|
2183
2183
|
**/
|
|
2184
|
-
LastPeriodTooFarInFuture: GenericPalletError
|
|
2184
|
+
LastPeriodTooFarInFuture: GenericPalletError;
|
|
2185
2185
|
|
|
2186
2186
|
/**
|
|
2187
2187
|
* The campaign ends before the current block number. The end must be in the future.
|
|
2188
2188
|
**/
|
|
2189
|
-
CannotEndInPast: GenericPalletError
|
|
2189
|
+
CannotEndInPast: GenericPalletError;
|
|
2190
2190
|
|
|
2191
2191
|
/**
|
|
2192
2192
|
* The end date for this crowdloan is not sensible.
|
|
2193
2193
|
**/
|
|
2194
|
-
EndTooFarInFuture: GenericPalletError
|
|
2194
|
+
EndTooFarInFuture: GenericPalletError;
|
|
2195
2195
|
|
|
2196
2196
|
/**
|
|
2197
2197
|
* There was an overflow.
|
|
2198
2198
|
**/
|
|
2199
|
-
Overflow: GenericPalletError
|
|
2199
|
+
Overflow: GenericPalletError;
|
|
2200
2200
|
|
|
2201
2201
|
/**
|
|
2202
2202
|
* The contribution was below the minimum, `MinContribution`.
|
|
2203
2203
|
**/
|
|
2204
|
-
ContributionTooSmall: GenericPalletError
|
|
2204
|
+
ContributionTooSmall: GenericPalletError;
|
|
2205
2205
|
|
|
2206
2206
|
/**
|
|
2207
2207
|
* Invalid fund index.
|
|
2208
2208
|
**/
|
|
2209
|
-
InvalidParaId: GenericPalletError
|
|
2209
|
+
InvalidParaId: GenericPalletError;
|
|
2210
2210
|
|
|
2211
2211
|
/**
|
|
2212
2212
|
* Contributions exceed maximum amount.
|
|
2213
2213
|
**/
|
|
2214
|
-
CapExceeded: GenericPalletError
|
|
2214
|
+
CapExceeded: GenericPalletError;
|
|
2215
2215
|
|
|
2216
2216
|
/**
|
|
2217
2217
|
* The contribution period has already ended.
|
|
2218
2218
|
**/
|
|
2219
|
-
ContributionPeriodOver: GenericPalletError
|
|
2219
|
+
ContributionPeriodOver: GenericPalletError;
|
|
2220
2220
|
|
|
2221
2221
|
/**
|
|
2222
2222
|
* The origin of this call is invalid.
|
|
2223
2223
|
**/
|
|
2224
|
-
InvalidOrigin: GenericPalletError
|
|
2224
|
+
InvalidOrigin: GenericPalletError;
|
|
2225
2225
|
|
|
2226
2226
|
/**
|
|
2227
2227
|
* This crowdloan does not correspond to a parachain.
|
|
2228
2228
|
**/
|
|
2229
|
-
NotParachain: GenericPalletError
|
|
2229
|
+
NotParachain: GenericPalletError;
|
|
2230
2230
|
|
|
2231
2231
|
/**
|
|
2232
2232
|
* This parachain lease is still active and retirement cannot yet begin.
|
|
2233
2233
|
**/
|
|
2234
|
-
LeaseActive: GenericPalletError
|
|
2234
|
+
LeaseActive: GenericPalletError;
|
|
2235
2235
|
|
|
2236
2236
|
/**
|
|
2237
2237
|
* This parachain's bid or lease is still active and withdraw cannot yet begin.
|
|
2238
2238
|
**/
|
|
2239
|
-
BidOrLeaseActive: GenericPalletError
|
|
2239
|
+
BidOrLeaseActive: GenericPalletError;
|
|
2240
2240
|
|
|
2241
2241
|
/**
|
|
2242
2242
|
* The crowdloan has not yet ended.
|
|
2243
2243
|
**/
|
|
2244
|
-
FundNotEnded: GenericPalletError
|
|
2244
|
+
FundNotEnded: GenericPalletError;
|
|
2245
2245
|
|
|
2246
2246
|
/**
|
|
2247
2247
|
* There are no contributions stored in this crowdloan.
|
|
2248
2248
|
**/
|
|
2249
|
-
NoContributions: GenericPalletError
|
|
2249
|
+
NoContributions: GenericPalletError;
|
|
2250
2250
|
|
|
2251
2251
|
/**
|
|
2252
2252
|
* The crowdloan is not ready to dissolve. Potentially still has a slot or in retirement
|
|
2253
2253
|
* period.
|
|
2254
2254
|
**/
|
|
2255
|
-
NotReadyToDissolve: GenericPalletError
|
|
2255
|
+
NotReadyToDissolve: GenericPalletError;
|
|
2256
2256
|
|
|
2257
2257
|
/**
|
|
2258
2258
|
* Invalid signature.
|
|
2259
2259
|
**/
|
|
2260
|
-
InvalidSignature: GenericPalletError
|
|
2260
|
+
InvalidSignature: GenericPalletError;
|
|
2261
2261
|
|
|
2262
2262
|
/**
|
|
2263
2263
|
* The provided memo is too large.
|
|
2264
2264
|
**/
|
|
2265
|
-
MemoTooLarge: GenericPalletError
|
|
2265
|
+
MemoTooLarge: GenericPalletError;
|
|
2266
2266
|
|
|
2267
2267
|
/**
|
|
2268
2268
|
* The fund is already in `NewRaise`
|
|
2269
2269
|
**/
|
|
2270
|
-
AlreadyInNewRaise: GenericPalletError
|
|
2270
|
+
AlreadyInNewRaise: GenericPalletError;
|
|
2271
2271
|
|
|
2272
2272
|
/**
|
|
2273
2273
|
* No contributions allowed during the VRF delay
|
|
2274
2274
|
**/
|
|
2275
|
-
VrfDelayInProgress: GenericPalletError
|
|
2275
|
+
VrfDelayInProgress: GenericPalletError;
|
|
2276
2276
|
|
|
2277
2277
|
/**
|
|
2278
2278
|
* A lease period has not started yet, due to an offset in the starting block.
|
|
2279
2279
|
**/
|
|
2280
|
-
NoLeasePeriod: GenericPalletError
|
|
2280
|
+
NoLeasePeriod: GenericPalletError;
|
|
2281
2281
|
|
|
2282
2282
|
/**
|
|
2283
2283
|
* Generic pallet error
|
|
2284
2284
|
**/
|
|
2285
|
-
[error: string]: GenericPalletError
|
|
2285
|
+
[error: string]: GenericPalletError;
|
|
2286
2286
|
};
|
|
2287
2287
|
/**
|
|
2288
2288
|
* Pallet `Coretime`'s errors
|
|
@@ -2291,23 +2291,23 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2291
2291
|
/**
|
|
2292
2292
|
* The paraid making the call is not the coretime brokerage system parachain.
|
|
2293
2293
|
**/
|
|
2294
|
-
NotBroker: GenericPalletError
|
|
2294
|
+
NotBroker: GenericPalletError;
|
|
2295
2295
|
|
|
2296
2296
|
/**
|
|
2297
2297
|
* Requested revenue information `when` parameter was in the future from the current
|
|
2298
2298
|
* block height.
|
|
2299
2299
|
**/
|
|
2300
|
-
RequestedFutureRevenue: GenericPalletError
|
|
2300
|
+
RequestedFutureRevenue: GenericPalletError;
|
|
2301
2301
|
|
|
2302
2302
|
/**
|
|
2303
2303
|
* Failed to transfer assets to the coretime chain
|
|
2304
2304
|
**/
|
|
2305
|
-
AssetTransferFailed: GenericPalletError
|
|
2305
|
+
AssetTransferFailed: GenericPalletError;
|
|
2306
2306
|
|
|
2307
2307
|
/**
|
|
2308
2308
|
* Generic pallet error
|
|
2309
2309
|
**/
|
|
2310
|
-
[error: string]: GenericPalletError
|
|
2310
|
+
[error: string]: GenericPalletError;
|
|
2311
2311
|
};
|
|
2312
2312
|
/**
|
|
2313
2313
|
* Pallet `StateTrieMigration`'s errors
|
|
@@ -2316,7 +2316,7 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2316
2316
|
/**
|
|
2317
2317
|
* Max signed limits not respected.
|
|
2318
2318
|
**/
|
|
2319
|
-
MaxSignedLimits: GenericPalletError
|
|
2319
|
+
MaxSignedLimits: GenericPalletError;
|
|
2320
2320
|
|
|
2321
2321
|
/**
|
|
2322
2322
|
* A key was longer than the configured maximum.
|
|
@@ -2327,32 +2327,32 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2327
2327
|
* The value should only be increased to avoid a storage migration for the currently
|
|
2328
2328
|
* stored [`crate::Progress::LastKey`].
|
|
2329
2329
|
**/
|
|
2330
|
-
KeyTooLong: GenericPalletError
|
|
2330
|
+
KeyTooLong: GenericPalletError;
|
|
2331
2331
|
|
|
2332
2332
|
/**
|
|
2333
2333
|
* submitter does not have enough funds.
|
|
2334
2334
|
**/
|
|
2335
|
-
NotEnoughFunds: GenericPalletError
|
|
2335
|
+
NotEnoughFunds: GenericPalletError;
|
|
2336
2336
|
|
|
2337
2337
|
/**
|
|
2338
2338
|
* Bad witness data provided.
|
|
2339
2339
|
**/
|
|
2340
|
-
BadWitness: GenericPalletError
|
|
2340
|
+
BadWitness: GenericPalletError;
|
|
2341
2341
|
|
|
2342
2342
|
/**
|
|
2343
2343
|
* Signed migration is not allowed because the maximum limit is not set yet.
|
|
2344
2344
|
**/
|
|
2345
|
-
SignedMigrationNotAllowed: GenericPalletError
|
|
2345
|
+
SignedMigrationNotAllowed: GenericPalletError;
|
|
2346
2346
|
|
|
2347
2347
|
/**
|
|
2348
2348
|
* Bad child root provided.
|
|
2349
2349
|
**/
|
|
2350
|
-
BadChildRoot: GenericPalletError
|
|
2350
|
+
BadChildRoot: GenericPalletError;
|
|
2351
2351
|
|
|
2352
2352
|
/**
|
|
2353
2353
|
* Generic pallet error
|
|
2354
2354
|
**/
|
|
2355
|
-
[error: string]: GenericPalletError
|
|
2355
|
+
[error: string]: GenericPalletError;
|
|
2356
2356
|
};
|
|
2357
2357
|
/**
|
|
2358
2358
|
* Pallet `XcmPallet`'s errors
|
|
@@ -2362,152 +2362,152 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2362
2362
|
* The desired destination was unreachable, generally because there is a no way of routing
|
|
2363
2363
|
* to it.
|
|
2364
2364
|
**/
|
|
2365
|
-
Unreachable: GenericPalletError
|
|
2365
|
+
Unreachable: GenericPalletError;
|
|
2366
2366
|
|
|
2367
2367
|
/**
|
|
2368
2368
|
* There was some other issue (i.e. not to do with routing) in sending the message.
|
|
2369
2369
|
* Perhaps a lack of space for buffering the message.
|
|
2370
2370
|
**/
|
|
2371
|
-
SendFailure: GenericPalletError
|
|
2371
|
+
SendFailure: GenericPalletError;
|
|
2372
2372
|
|
|
2373
2373
|
/**
|
|
2374
2374
|
* The message execution fails the filter.
|
|
2375
2375
|
**/
|
|
2376
|
-
Filtered: GenericPalletError
|
|
2376
|
+
Filtered: GenericPalletError;
|
|
2377
2377
|
|
|
2378
2378
|
/**
|
|
2379
2379
|
* The message's weight could not be determined.
|
|
2380
2380
|
**/
|
|
2381
|
-
UnweighableMessage: GenericPalletError
|
|
2381
|
+
UnweighableMessage: GenericPalletError;
|
|
2382
2382
|
|
|
2383
2383
|
/**
|
|
2384
2384
|
* The destination `Location` provided cannot be inverted.
|
|
2385
2385
|
**/
|
|
2386
|
-
DestinationNotInvertible: GenericPalletError
|
|
2386
|
+
DestinationNotInvertible: GenericPalletError;
|
|
2387
2387
|
|
|
2388
2388
|
/**
|
|
2389
2389
|
* The assets to be sent are empty.
|
|
2390
2390
|
**/
|
|
2391
|
-
Empty: GenericPalletError
|
|
2391
|
+
Empty: GenericPalletError;
|
|
2392
2392
|
|
|
2393
2393
|
/**
|
|
2394
2394
|
* Could not re-anchor the assets to declare the fees for the destination chain.
|
|
2395
2395
|
**/
|
|
2396
|
-
CannotReanchor: GenericPalletError
|
|
2396
|
+
CannotReanchor: GenericPalletError;
|
|
2397
2397
|
|
|
2398
2398
|
/**
|
|
2399
2399
|
* Too many assets have been attempted for transfer.
|
|
2400
2400
|
**/
|
|
2401
|
-
TooManyAssets: GenericPalletError
|
|
2401
|
+
TooManyAssets: GenericPalletError;
|
|
2402
2402
|
|
|
2403
2403
|
/**
|
|
2404
2404
|
* Origin is invalid for sending.
|
|
2405
2405
|
**/
|
|
2406
|
-
InvalidOrigin: GenericPalletError
|
|
2406
|
+
InvalidOrigin: GenericPalletError;
|
|
2407
2407
|
|
|
2408
2408
|
/**
|
|
2409
2409
|
* The version of the `Versioned` value used is not able to be interpreted.
|
|
2410
2410
|
**/
|
|
2411
|
-
BadVersion: GenericPalletError
|
|
2411
|
+
BadVersion: GenericPalletError;
|
|
2412
2412
|
|
|
2413
2413
|
/**
|
|
2414
2414
|
* The given location could not be used (e.g. because it cannot be expressed in the
|
|
2415
2415
|
* desired version of XCM).
|
|
2416
2416
|
**/
|
|
2417
|
-
BadLocation: GenericPalletError
|
|
2417
|
+
BadLocation: GenericPalletError;
|
|
2418
2418
|
|
|
2419
2419
|
/**
|
|
2420
2420
|
* The referenced subscription could not be found.
|
|
2421
2421
|
**/
|
|
2422
|
-
NoSubscription: GenericPalletError
|
|
2422
|
+
NoSubscription: GenericPalletError;
|
|
2423
2423
|
|
|
2424
2424
|
/**
|
|
2425
2425
|
* The location is invalid since it already has a subscription from us.
|
|
2426
2426
|
**/
|
|
2427
|
-
AlreadySubscribed: GenericPalletError
|
|
2427
|
+
AlreadySubscribed: GenericPalletError;
|
|
2428
2428
|
|
|
2429
2429
|
/**
|
|
2430
2430
|
* Could not check-out the assets for teleportation to the destination chain.
|
|
2431
2431
|
**/
|
|
2432
|
-
CannotCheckOutTeleport: GenericPalletError
|
|
2432
|
+
CannotCheckOutTeleport: GenericPalletError;
|
|
2433
2433
|
|
|
2434
2434
|
/**
|
|
2435
2435
|
* The owner does not own (all) of the asset that they wish to do the operation on.
|
|
2436
2436
|
**/
|
|
2437
|
-
LowBalance: GenericPalletError
|
|
2437
|
+
LowBalance: GenericPalletError;
|
|
2438
2438
|
|
|
2439
2439
|
/**
|
|
2440
2440
|
* The asset owner has too many locks on the asset.
|
|
2441
2441
|
**/
|
|
2442
|
-
TooManyLocks: GenericPalletError
|
|
2442
|
+
TooManyLocks: GenericPalletError;
|
|
2443
2443
|
|
|
2444
2444
|
/**
|
|
2445
2445
|
* The given account is not an identifiable sovereign account for any location.
|
|
2446
2446
|
**/
|
|
2447
|
-
AccountNotSovereign: GenericPalletError
|
|
2447
|
+
AccountNotSovereign: GenericPalletError;
|
|
2448
2448
|
|
|
2449
2449
|
/**
|
|
2450
2450
|
* The operation required fees to be paid which the initiator could not meet.
|
|
2451
2451
|
**/
|
|
2452
|
-
FeesNotMet: GenericPalletError
|
|
2452
|
+
FeesNotMet: GenericPalletError;
|
|
2453
2453
|
|
|
2454
2454
|
/**
|
|
2455
2455
|
* A remote lock with the corresponding data could not be found.
|
|
2456
2456
|
**/
|
|
2457
|
-
LockNotFound: GenericPalletError
|
|
2457
|
+
LockNotFound: GenericPalletError;
|
|
2458
2458
|
|
|
2459
2459
|
/**
|
|
2460
2460
|
* The unlock operation cannot succeed because there are still consumers of the lock.
|
|
2461
2461
|
**/
|
|
2462
|
-
InUse: GenericPalletError
|
|
2462
|
+
InUse: GenericPalletError;
|
|
2463
2463
|
|
|
2464
2464
|
/**
|
|
2465
2465
|
* Invalid asset, reserve chain could not be determined for it.
|
|
2466
2466
|
**/
|
|
2467
|
-
InvalidAssetUnknownReserve: GenericPalletError
|
|
2467
|
+
InvalidAssetUnknownReserve: GenericPalletError;
|
|
2468
2468
|
|
|
2469
2469
|
/**
|
|
2470
2470
|
* Invalid asset, do not support remote asset reserves with different fees reserves.
|
|
2471
2471
|
**/
|
|
2472
|
-
InvalidAssetUnsupportedReserve: GenericPalletError
|
|
2472
|
+
InvalidAssetUnsupportedReserve: GenericPalletError;
|
|
2473
2473
|
|
|
2474
2474
|
/**
|
|
2475
2475
|
* Too many assets with different reserve locations have been attempted for transfer.
|
|
2476
2476
|
**/
|
|
2477
|
-
TooManyReserves: GenericPalletError
|
|
2477
|
+
TooManyReserves: GenericPalletError;
|
|
2478
2478
|
|
|
2479
2479
|
/**
|
|
2480
2480
|
* Local XCM execution incomplete.
|
|
2481
2481
|
**/
|
|
2482
|
-
LocalExecutionIncomplete: GenericPalletError
|
|
2482
|
+
LocalExecutionIncomplete: GenericPalletError;
|
|
2483
2483
|
|
|
2484
2484
|
/**
|
|
2485
2485
|
* Too many locations authorized to alias origin.
|
|
2486
2486
|
*
|
|
2487
2487
|
* @deprecated Use `LocalExecutionIncompleteWithError` instead (since 20.0.0)
|
|
2488
2488
|
**/
|
|
2489
|
-
TooManyAuthorizedAliases: GenericPalletError
|
|
2489
|
+
TooManyAuthorizedAliases: GenericPalletError;
|
|
2490
2490
|
|
|
2491
2491
|
/**
|
|
2492
2492
|
* Expiry block number is in the past.
|
|
2493
2493
|
**/
|
|
2494
|
-
ExpiresInPast: GenericPalletError
|
|
2494
|
+
ExpiresInPast: GenericPalletError;
|
|
2495
2495
|
|
|
2496
2496
|
/**
|
|
2497
2497
|
* The alias to remove authorization for was not found.
|
|
2498
2498
|
**/
|
|
2499
|
-
AliasNotFound: GenericPalletError
|
|
2499
|
+
AliasNotFound: GenericPalletError;
|
|
2500
2500
|
|
|
2501
2501
|
/**
|
|
2502
2502
|
* Local XCM execution incomplete with the actual XCM error and the index of the
|
|
2503
2503
|
* instruction that caused the error.
|
|
2504
2504
|
**/
|
|
2505
|
-
LocalExecutionIncompleteWithError: GenericPalletError
|
|
2505
|
+
LocalExecutionIncompleteWithError: GenericPalletError;
|
|
2506
2506
|
|
|
2507
2507
|
/**
|
|
2508
2508
|
* Generic pallet error
|
|
2509
2509
|
**/
|
|
2510
|
-
[error: string]: GenericPalletError
|
|
2510
|
+
[error: string]: GenericPalletError;
|
|
2511
2511
|
};
|
|
2512
2512
|
/**
|
|
2513
2513
|
* Pallet `MessageQueue`'s errors
|
|
@@ -2517,32 +2517,32 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2517
2517
|
* Page is not reapable because it has items remaining to be processed and is not old
|
|
2518
2518
|
* enough.
|
|
2519
2519
|
**/
|
|
2520
|
-
NotReapable: GenericPalletError
|
|
2520
|
+
NotReapable: GenericPalletError;
|
|
2521
2521
|
|
|
2522
2522
|
/**
|
|
2523
2523
|
* Page to be reaped does not exist.
|
|
2524
2524
|
**/
|
|
2525
|
-
NoPage: GenericPalletError
|
|
2525
|
+
NoPage: GenericPalletError;
|
|
2526
2526
|
|
|
2527
2527
|
/**
|
|
2528
2528
|
* The referenced message could not be found.
|
|
2529
2529
|
**/
|
|
2530
|
-
NoMessage: GenericPalletError
|
|
2530
|
+
NoMessage: GenericPalletError;
|
|
2531
2531
|
|
|
2532
2532
|
/**
|
|
2533
2533
|
* The message was already processed and cannot be processed again.
|
|
2534
2534
|
**/
|
|
2535
|
-
AlreadyProcessed: GenericPalletError
|
|
2535
|
+
AlreadyProcessed: GenericPalletError;
|
|
2536
2536
|
|
|
2537
2537
|
/**
|
|
2538
2538
|
* The message is queued for future execution.
|
|
2539
2539
|
**/
|
|
2540
|
-
Queued: GenericPalletError
|
|
2540
|
+
Queued: GenericPalletError;
|
|
2541
2541
|
|
|
2542
2542
|
/**
|
|
2543
2543
|
* There is temporarily not enough weight to continue servicing messages.
|
|
2544
2544
|
**/
|
|
2545
|
-
InsufficientWeight: GenericPalletError
|
|
2545
|
+
InsufficientWeight: GenericPalletError;
|
|
2546
2546
|
|
|
2547
2547
|
/**
|
|
2548
2548
|
* This message is temporarily unprocessable.
|
|
@@ -2550,24 +2550,24 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2550
2550
|
* Such errors are expected, but not guaranteed, to resolve themselves eventually through
|
|
2551
2551
|
* retrying.
|
|
2552
2552
|
**/
|
|
2553
|
-
TemporarilyUnprocessable: GenericPalletError
|
|
2553
|
+
TemporarilyUnprocessable: GenericPalletError;
|
|
2554
2554
|
|
|
2555
2555
|
/**
|
|
2556
2556
|
* The queue is paused and no message can be executed from it.
|
|
2557
2557
|
*
|
|
2558
2558
|
* This can change at any time and may resolve in the future by re-trying.
|
|
2559
2559
|
**/
|
|
2560
|
-
QueuePaused: GenericPalletError
|
|
2560
|
+
QueuePaused: GenericPalletError;
|
|
2561
2561
|
|
|
2562
2562
|
/**
|
|
2563
2563
|
* Another call is in progress and needs to finish before this call can happen.
|
|
2564
2564
|
**/
|
|
2565
|
-
RecursiveDisallowed: GenericPalletError
|
|
2565
|
+
RecursiveDisallowed: GenericPalletError;
|
|
2566
2566
|
|
|
2567
2567
|
/**
|
|
2568
2568
|
* Generic pallet error
|
|
2569
2569
|
**/
|
|
2570
|
-
[error: string]: GenericPalletError
|
|
2570
|
+
[error: string]: GenericPalletError;
|
|
2571
2571
|
};
|
|
2572
2572
|
/**
|
|
2573
2573
|
* Pallet `AssetRate`'s errors
|
|
@@ -2576,22 +2576,22 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2576
2576
|
/**
|
|
2577
2577
|
* The given asset ID is unknown.
|
|
2578
2578
|
**/
|
|
2579
|
-
UnknownAssetKind: GenericPalletError
|
|
2579
|
+
UnknownAssetKind: GenericPalletError;
|
|
2580
2580
|
|
|
2581
2581
|
/**
|
|
2582
2582
|
* The given asset ID already has an assigned conversion rate and cannot be re-created.
|
|
2583
2583
|
**/
|
|
2584
|
-
AlreadyExists: GenericPalletError
|
|
2584
|
+
AlreadyExists: GenericPalletError;
|
|
2585
2585
|
|
|
2586
2586
|
/**
|
|
2587
2587
|
* Overflow ocurred when calculating the inverse rate.
|
|
2588
2588
|
**/
|
|
2589
|
-
Overflow: GenericPalletError
|
|
2589
|
+
Overflow: GenericPalletError;
|
|
2590
2590
|
|
|
2591
2591
|
/**
|
|
2592
2592
|
* Generic pallet error
|
|
2593
2593
|
**/
|
|
2594
|
-
[error: string]: GenericPalletError
|
|
2594
|
+
[error: string]: GenericPalletError;
|
|
2595
2595
|
};
|
|
2596
2596
|
/**
|
|
2597
2597
|
* Pallet `Beefy`'s errors
|
|
@@ -2600,42 +2600,42 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2600
2600
|
/**
|
|
2601
2601
|
* A key ownership proof provided as part of an equivocation report is invalid.
|
|
2602
2602
|
**/
|
|
2603
|
-
InvalidKeyOwnershipProof: GenericPalletError
|
|
2603
|
+
InvalidKeyOwnershipProof: GenericPalletError;
|
|
2604
2604
|
|
|
2605
2605
|
/**
|
|
2606
2606
|
* A double voting proof provided as part of an equivocation report is invalid.
|
|
2607
2607
|
**/
|
|
2608
|
-
InvalidDoubleVotingProof: GenericPalletError
|
|
2608
|
+
InvalidDoubleVotingProof: GenericPalletError;
|
|
2609
2609
|
|
|
2610
2610
|
/**
|
|
2611
2611
|
* A fork voting proof provided as part of an equivocation report is invalid.
|
|
2612
2612
|
**/
|
|
2613
|
-
InvalidForkVotingProof: GenericPalletError
|
|
2613
|
+
InvalidForkVotingProof: GenericPalletError;
|
|
2614
2614
|
|
|
2615
2615
|
/**
|
|
2616
2616
|
* A future block voting proof provided as part of an equivocation report is invalid.
|
|
2617
2617
|
**/
|
|
2618
|
-
InvalidFutureBlockVotingProof: GenericPalletError
|
|
2618
|
+
InvalidFutureBlockVotingProof: GenericPalletError;
|
|
2619
2619
|
|
|
2620
2620
|
/**
|
|
2621
2621
|
* The session of the equivocation proof is invalid
|
|
2622
2622
|
**/
|
|
2623
|
-
InvalidEquivocationProofSession: GenericPalletError
|
|
2623
|
+
InvalidEquivocationProofSession: GenericPalletError;
|
|
2624
2624
|
|
|
2625
2625
|
/**
|
|
2626
2626
|
* A given equivocation report is valid but already previously reported.
|
|
2627
2627
|
**/
|
|
2628
|
-
DuplicateOffenceReport: GenericPalletError
|
|
2628
|
+
DuplicateOffenceReport: GenericPalletError;
|
|
2629
2629
|
|
|
2630
2630
|
/**
|
|
2631
2631
|
* Submitted configuration is invalid.
|
|
2632
2632
|
**/
|
|
2633
|
-
InvalidConfiguration: GenericPalletError
|
|
2633
|
+
InvalidConfiguration: GenericPalletError;
|
|
2634
2634
|
|
|
2635
2635
|
/**
|
|
2636
2636
|
* Generic pallet error
|
|
2637
2637
|
**/
|
|
2638
|
-
[error: string]: GenericPalletError
|
|
2638
|
+
[error: string]: GenericPalletError;
|
|
2639
2639
|
};
|
|
2640
2640
|
/**
|
|
2641
2641
|
* Pallet `ParaSudoWrapper`'s errors
|
|
@@ -2644,58 +2644,58 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2644
2644
|
/**
|
|
2645
2645
|
* The specified parachain is not registered.
|
|
2646
2646
|
**/
|
|
2647
|
-
ParaDoesntExist: GenericPalletError
|
|
2647
|
+
ParaDoesntExist: GenericPalletError;
|
|
2648
2648
|
|
|
2649
2649
|
/**
|
|
2650
2650
|
* The specified parachain is already registered.
|
|
2651
2651
|
**/
|
|
2652
|
-
ParaAlreadyExists: GenericPalletError
|
|
2652
|
+
ParaAlreadyExists: GenericPalletError;
|
|
2653
2653
|
|
|
2654
2654
|
/**
|
|
2655
2655
|
* A DMP message couldn't be sent because it exceeds the maximum size allowed for a
|
|
2656
2656
|
* downward message.
|
|
2657
2657
|
**/
|
|
2658
|
-
ExceedsMaxMessageSize: GenericPalletError
|
|
2658
|
+
ExceedsMaxMessageSize: GenericPalletError;
|
|
2659
2659
|
|
|
2660
2660
|
/**
|
|
2661
2661
|
* A DMP message couldn't be sent because the destination is unreachable.
|
|
2662
2662
|
**/
|
|
2663
|
-
Unroutable: GenericPalletError
|
|
2663
|
+
Unroutable: GenericPalletError;
|
|
2664
2664
|
|
|
2665
2665
|
/**
|
|
2666
2666
|
* Could not schedule para cleanup.
|
|
2667
2667
|
**/
|
|
2668
|
-
CouldntCleanup: GenericPalletError
|
|
2668
|
+
CouldntCleanup: GenericPalletError;
|
|
2669
2669
|
|
|
2670
2670
|
/**
|
|
2671
2671
|
* Not a parathread (on-demand parachain).
|
|
2672
2672
|
**/
|
|
2673
|
-
NotParathread: GenericPalletError
|
|
2673
|
+
NotParathread: GenericPalletError;
|
|
2674
2674
|
|
|
2675
2675
|
/**
|
|
2676
2676
|
* Not a lease holding parachain.
|
|
2677
2677
|
**/
|
|
2678
|
-
NotParachain: GenericPalletError
|
|
2678
|
+
NotParachain: GenericPalletError;
|
|
2679
2679
|
|
|
2680
2680
|
/**
|
|
2681
2681
|
* Cannot upgrade on-demand parachain to lease holding parachain.
|
|
2682
2682
|
**/
|
|
2683
|
-
CannotUpgrade: GenericPalletError
|
|
2683
|
+
CannotUpgrade: GenericPalletError;
|
|
2684
2684
|
|
|
2685
2685
|
/**
|
|
2686
2686
|
* Cannot downgrade lease holding parachain to on-demand.
|
|
2687
2687
|
**/
|
|
2688
|
-
CannotDowngrade: GenericPalletError
|
|
2688
|
+
CannotDowngrade: GenericPalletError;
|
|
2689
2689
|
|
|
2690
2690
|
/**
|
|
2691
2691
|
* There are more cores than supported by the runtime.
|
|
2692
2692
|
**/
|
|
2693
|
-
TooManyCores: GenericPalletError
|
|
2693
|
+
TooManyCores: GenericPalletError;
|
|
2694
2694
|
|
|
2695
2695
|
/**
|
|
2696
2696
|
* Generic pallet error
|
|
2697
2697
|
**/
|
|
2698
|
-
[error: string]: GenericPalletError
|
|
2698
|
+
[error: string]: GenericPalletError;
|
|
2699
2699
|
};
|
|
2700
2700
|
/**
|
|
2701
2701
|
* Pallet `Sudo`'s errors
|
|
@@ -2704,105 +2704,105 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2704
2704
|
/**
|
|
2705
2705
|
* Sender must be the Sudo account.
|
|
2706
2706
|
**/
|
|
2707
|
-
RequireSudo: GenericPalletError
|
|
2707
|
+
RequireSudo: GenericPalletError;
|
|
2708
2708
|
|
|
2709
2709
|
/**
|
|
2710
2710
|
* Generic pallet error
|
|
2711
2711
|
**/
|
|
2712
|
-
[error: string]: GenericPalletError
|
|
2712
|
+
[error: string]: GenericPalletError;
|
|
2713
2713
|
};
|
|
2714
2714
|
/**
|
|
2715
2715
|
* Pallet `RcMigrator`'s errors
|
|
2716
2716
|
**/
|
|
2717
2717
|
rcMigrator: {
|
|
2718
|
-
Unreachable: GenericPalletError
|
|
2719
|
-
OutOfWeight: GenericPalletError
|
|
2718
|
+
Unreachable: GenericPalletError;
|
|
2719
|
+
OutOfWeight: GenericPalletError;
|
|
2720
2720
|
|
|
2721
2721
|
/**
|
|
2722
2722
|
* Failed to send XCM message to AH.
|
|
2723
2723
|
**/
|
|
2724
|
-
XcmError: GenericPalletError
|
|
2724
|
+
XcmError: GenericPalletError;
|
|
2725
2725
|
|
|
2726
2726
|
/**
|
|
2727
2727
|
* Failed to withdraw account from RC for migration to AH.
|
|
2728
2728
|
**/
|
|
2729
|
-
FailedToWithdrawAccount: GenericPalletError
|
|
2729
|
+
FailedToWithdrawAccount: GenericPalletError;
|
|
2730
2730
|
|
|
2731
2731
|
/**
|
|
2732
2732
|
* Indicates that the specified block number is in the past.
|
|
2733
2733
|
**/
|
|
2734
|
-
PastBlockNumber: GenericPalletError
|
|
2734
|
+
PastBlockNumber: GenericPalletError;
|
|
2735
2735
|
|
|
2736
2736
|
/**
|
|
2737
2737
|
* Indicates that there is not enough time for staking to lock.
|
|
2738
2738
|
*
|
|
2739
2739
|
* Schedule the migration at least two sessions before the current era ends.
|
|
2740
2740
|
**/
|
|
2741
|
-
EraEndsTooSoon: GenericPalletError
|
|
2741
|
+
EraEndsTooSoon: GenericPalletError;
|
|
2742
2742
|
|
|
2743
2743
|
/**
|
|
2744
2744
|
* Balance accounting overflow.
|
|
2745
2745
|
**/
|
|
2746
|
-
BalanceOverflow: GenericPalletError
|
|
2746
|
+
BalanceOverflow: GenericPalletError;
|
|
2747
2747
|
|
|
2748
2748
|
/**
|
|
2749
2749
|
* Balance accounting underflow.
|
|
2750
2750
|
**/
|
|
2751
|
-
BalanceUnderflow: GenericPalletError
|
|
2751
|
+
BalanceUnderflow: GenericPalletError;
|
|
2752
2752
|
|
|
2753
2753
|
/**
|
|
2754
2754
|
* The query response is invalid.
|
|
2755
2755
|
**/
|
|
2756
|
-
InvalidQueryResponse: GenericPalletError
|
|
2756
|
+
InvalidQueryResponse: GenericPalletError;
|
|
2757
2757
|
|
|
2758
2758
|
/**
|
|
2759
2759
|
* The xcm query was not found.
|
|
2760
2760
|
**/
|
|
2761
|
-
QueryNotFound: GenericPalletError
|
|
2761
|
+
QueryNotFound: GenericPalletError;
|
|
2762
2762
|
|
|
2763
2763
|
/**
|
|
2764
2764
|
* Failed to send XCM message.
|
|
2765
2765
|
**/
|
|
2766
|
-
XcmSendError: GenericPalletError
|
|
2766
|
+
XcmSendError: GenericPalletError;
|
|
2767
2767
|
|
|
2768
2768
|
/**
|
|
2769
2769
|
* The migration stage is not reachable from the current stage.
|
|
2770
2770
|
**/
|
|
2771
|
-
UnreachableStage: GenericPalletError
|
|
2771
|
+
UnreachableStage: GenericPalletError;
|
|
2772
2772
|
|
|
2773
2773
|
/**
|
|
2774
2774
|
* Invalid parameter.
|
|
2775
2775
|
**/
|
|
2776
|
-
InvalidParameter: GenericPalletError
|
|
2776
|
+
InvalidParameter: GenericPalletError;
|
|
2777
2777
|
|
|
2778
2778
|
/**
|
|
2779
2779
|
* The AH UMP queue priority configuration is already set.
|
|
2780
2780
|
**/
|
|
2781
|
-
AhUmpQueuePriorityAlreadySet: GenericPalletError
|
|
2781
|
+
AhUmpQueuePriorityAlreadySet: GenericPalletError;
|
|
2782
2782
|
|
|
2783
2783
|
/**
|
|
2784
2784
|
* The account is referenced by some other pallet. It might have freezes or holds.
|
|
2785
2785
|
**/
|
|
2786
|
-
AccountReferenced: GenericPalletError
|
|
2786
|
+
AccountReferenced: GenericPalletError;
|
|
2787
2787
|
|
|
2788
2788
|
/**
|
|
2789
2789
|
* The XCM version is invalid.
|
|
2790
2790
|
**/
|
|
2791
|
-
BadXcmVersion: GenericPalletError
|
|
2791
|
+
BadXcmVersion: GenericPalletError;
|
|
2792
2792
|
|
|
2793
2793
|
/**
|
|
2794
2794
|
* The origin is invalid.
|
|
2795
2795
|
**/
|
|
2796
|
-
InvalidOrigin: GenericPalletError
|
|
2796
|
+
InvalidOrigin: GenericPalletError;
|
|
2797
2797
|
|
|
2798
2798
|
/**
|
|
2799
2799
|
* The stage transition is invalid.
|
|
2800
2800
|
**/
|
|
2801
|
-
InvalidStageTransition: GenericPalletError
|
|
2801
|
+
InvalidStageTransition: GenericPalletError;
|
|
2802
2802
|
|
|
2803
2803
|
/**
|
|
2804
2804
|
* Generic pallet error
|
|
2805
2805
|
**/
|
|
2806
|
-
[error: string]: GenericPalletError
|
|
2806
|
+
[error: string]: GenericPalletError;
|
|
2807
2807
|
};
|
|
2808
2808
|
}
|