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