@dedot/chaintypes 0.194.0 → 0.195.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/aleph/consts.d.ts +2 -2
- package/aleph/errors.d.ts +228 -228
- package/aleph/events.d.ts +122 -226
- package/aleph/index.d.ts +13 -17
- package/aleph/json-rpc.d.ts +3 -3
- package/aleph/query.d.ts +171 -207
- package/aleph/runtime.d.ts +47 -63
- package/aleph/tx.d.ts +377 -550
- package/aleph/view-functions.d.ts +2 -2
- package/astar/consts.d.ts +2 -2
- package/astar/errors.d.ts +431 -431
- package/astar/events.d.ts +232 -401
- package/astar/index.d.ts +13 -17
- package/astar/json-rpc.d.ts +3 -3
- package/astar/query.d.ts +243 -289
- package/astar/runtime.d.ts +59 -87
- package/astar/tx.d.ts +671 -980
- package/astar/view-functions.d.ts +2 -2
- package/basilisk/consts.d.ts +2 -2
- package/basilisk/errors.d.ts +489 -489
- package/basilisk/events.d.ts +187 -408
- package/basilisk/index.d.ts +13 -17
- package/basilisk/json-rpc.d.ts +3 -3
- package/basilisk/query.d.ts +213 -272
- package/basilisk/runtime.d.ts +27 -28
- package/basilisk/tx.d.ts +579 -842
- package/basilisk/view-functions.d.ts +2 -2
- package/hydration/consts.d.ts +47 -14
- package/hydration/errors.d.ts +827 -737
- package/hydration/events.d.ts +639 -527
- package/hydration/index.d.ts +14 -18
- package/hydration/json-rpc.d.ts +3 -3
- package/hydration/query.d.ts +530 -396
- package/hydration/runtime.d.ts +181 -89
- package/hydration/tx.d.ts +1130 -1167
- package/hydration/types.d.ts +889 -42
- package/hydration/view-functions.d.ts +2 -2
- package/kusama/consts.d.ts +2 -2
- package/kusama/errors.d.ts +571 -571
- package/kusama/events.d.ts +216 -477
- package/kusama/index.d.ts +13 -17
- package/kusama/json-rpc.d.ts +3 -3
- package/kusama/query.d.ts +360 -502
- package/kusama/runtime.d.ts +82 -131
- package/kusama/tx.d.ts +851 -1246
- package/kusama/view-functions.d.ts +7 -12
- package/kusama-asset-hub/consts.d.ts +2 -2
- package/kusama-asset-hub/errors.d.ts +653 -653
- package/kusama-asset-hub/events.d.ts +286 -629
- package/kusama-asset-hub/index.d.ts +14 -17
- package/kusama-asset-hub/json-rpc.d.ts +3 -3
- package/kusama-asset-hub/query.d.ts +316 -448
- package/kusama-asset-hub/runtime.d.ts +74 -111
- package/kusama-asset-hub/tx.d.ts +1059 -1558
- package/kusama-asset-hub/view-functions.d.ts +7 -9
- package/kusama-people/consts.d.ts +2 -2
- package/kusama-people/errors.d.ts +160 -160
- package/kusama-people/events.d.ts +89 -176
- package/kusama-people/index.d.ts +13 -17
- package/kusama-people/json-rpc.d.ts +3 -3
- package/kusama-people/query.d.ts +114 -145
- package/kusama-people/runtime.d.ts +45 -65
- package/kusama-people/tx.d.ts +246 -356
- package/kusama-people/view-functions.d.ts +3 -5
- package/moonbeam/consts.d.ts +2 -2
- package/moonbeam/errors.d.ts +478 -478
- package/moonbeam/events.d.ts +182 -426
- package/moonbeam/index.d.ts +13 -17
- package/moonbeam/json-rpc.d.ts +11 -3
- package/moonbeam/query.d.ts +234 -294
- package/moonbeam/runtime.d.ts +61 -89
- package/moonbeam/tx.d.ts +618 -901
- package/moonbeam/view-functions.d.ts +2 -2
- package/package.json +6 -3
- package/paseo/consts.d.ts +2 -2
- package/paseo/errors.d.ts +513 -513
- package/paseo/events.d.ts +197 -430
- package/paseo/index.d.ts +14 -18
- package/paseo/json-rpc.d.ts +3 -3
- package/paseo/query.d.ts +329 -450
- package/paseo/runtime.d.ts +107 -131
- package/paseo/tx.d.ts +787 -1151
- package/paseo/types.d.ts +7 -0
- package/paseo/view-functions.d.ts +7 -12
- package/paseo-asset-hub/consts.d.ts +2 -2
- package/paseo-asset-hub/errors.d.ts +605 -605
- package/paseo-asset-hub/events.d.ts +268 -600
- package/paseo-asset-hub/index.d.ts +15 -18
- package/paseo-asset-hub/json-rpc.d.ts +3 -3
- package/paseo-asset-hub/query.d.ts +293 -413
- package/paseo-asset-hub/runtime.d.ts +96 -104
- package/paseo-asset-hub/tx.d.ts +997 -1466
- package/paseo-asset-hub/types.d.ts +7 -0
- package/paseo-asset-hub/view-functions.d.ts +7 -9
- package/paseo-hydration/consts.d.ts +13 -3
- package/paseo-hydration/errors.d.ts +756 -745
- package/paseo-hydration/events.d.ts +277 -554
- package/paseo-hydration/index.d.ts +14 -18
- package/paseo-hydration/json-rpc.d.ts +3 -3
- package/paseo-hydration/query.d.ts +321 -411
- package/paseo-hydration/runtime.d.ts +95 -106
- package/paseo-hydration/tx.d.ts +923 -1226
- package/paseo-hydration/types.d.ts +91 -50
- package/paseo-hydration/view-functions.d.ts +2 -2
- package/paseo-people/consts.d.ts +2 -2
- package/paseo-people/errors.d.ts +162 -162
- package/paseo-people/events.d.ts +91 -181
- package/paseo-people/index.d.ts +14 -18
- package/paseo-people/json-rpc.d.ts +3 -3
- package/paseo-people/query.d.ts +116 -143
- package/paseo-people/runtime.d.ts +70 -65
- package/paseo-people/tx.d.ts +257 -372
- package/paseo-people/types.d.ts +7 -0
- package/paseo-people/view-functions.d.ts +3 -5
- package/polkadot/consts.d.ts +2 -2
- package/polkadot/errors.d.ts +501 -501
- package/polkadot/events.d.ts +195 -426
- package/polkadot/index.d.ts +13 -17
- package/polkadot/json-rpc.d.ts +3 -3
- package/polkadot/query.d.ts +329 -450
- package/polkadot/runtime.d.ts +83 -133
- package/polkadot/tx.d.ts +765 -1119
- package/polkadot/view-functions.d.ts +7 -12
- package/polkadot-asset-hub/consts.d.ts +2 -2
- package/polkadot-asset-hub/errors.d.ts +554 -554
- package/polkadot-asset-hub/events.d.ts +261 -585
- package/polkadot-asset-hub/index.d.ts +14 -17
- package/polkadot-asset-hub/json-rpc.d.ts +3 -3
- package/polkadot-asset-hub/query.d.ts +279 -396
- package/polkadot-asset-hub/runtime.d.ts +65 -93
- package/polkadot-asset-hub/tx.d.ts +952 -1400
- package/polkadot-asset-hub/view-functions.d.ts +7 -9
- package/polkadot-people/consts.d.ts +2 -2
- package/polkadot-people/errors.d.ts +160 -160
- package/polkadot-people/events.d.ts +89 -176
- package/polkadot-people/index.d.ts +13 -17
- package/polkadot-people/json-rpc.d.ts +3 -3
- package/polkadot-people/query.d.ts +114 -145
- package/polkadot-people/runtime.d.ts +46 -67
- package/polkadot-people/tx.d.ts +246 -356
- package/polkadot-people/view-functions.d.ts +3 -5
- package/substrate/consts.d.ts +2 -2
- package/substrate/errors.d.ts +909 -909
- package/substrate/events.d.ts +389 -794
- package/substrate/index.d.ts +14 -17
- package/substrate/json-rpc.d.ts +3 -3
- package/substrate/query.d.ts +458 -572
- package/substrate/runtime.d.ts +82 -126
- package/substrate/tx.d.ts +1317 -1936
- package/substrate/view-functions.d.ts +2 -2
- package/vara/consts.d.ts +9 -37
- package/vara/errors.d.ts +402 -382
- package/vara/events.d.ts +172 -310
- package/vara/index.d.ts +14 -18
- package/vara/json-rpc.d.ts +7 -3
- package/vara/query.d.ts +299 -331
- package/vara/runtime.d.ts +61 -79
- package/vara/tx.d.ts +573 -754
- package/vara/types.d.ts +71 -26
- package/vara/view-functions.d.ts +2 -2
- package/westend/consts.d.ts +2 -2
- package/westend/errors.d.ts +532 -532
- package/westend/events.d.ts +205 -462
- package/westend/index.d.ts +13 -17
- package/westend/json-rpc.d.ts +3 -3
- package/westend/query.d.ts +312 -434
- package/westend/runtime.d.ts +83 -135
- package/westend/tx.d.ts +807 -1179
- package/westend/view-functions.d.ts +7 -12
- package/westend-asset-hub/consts.d.ts +2 -2
- package/westend-asset-hub/errors.d.ts +605 -605
- package/westend-asset-hub/events.d.ts +265 -614
- package/westend-asset-hub/index.d.ts +14 -17
- package/westend-asset-hub/json-rpc.d.ts +3 -3
- package/westend-asset-hub/query.d.ts +293 -418
- package/westend-asset-hub/runtime.d.ts +83 -123
- package/westend-asset-hub/tx.d.ts +918 -1348
- package/westend-asset-hub/view-functions.d.ts +8 -13
- package/westend-people/consts.d.ts +2 -2
- package/westend-people/errors.d.ts +160 -160
- package/westend-people/events.d.ts +93 -186
- package/westend-people/index.d.ts +13 -17
- package/westend-people/json-rpc.d.ts +3 -3
- package/westend-people/query.d.ts +114 -145
- package/westend-people/runtime.d.ts +46 -67
- package/westend-people/tx.d.ts +251 -363
- package/westend-people/view-functions.d.ts +3 -5
package/kusama/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 `Treasury`'s errors
|
|
@@ -464,63 +464,63 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
464
464
|
/**
|
|
465
465
|
* No proposal, bounty or spend at that index.
|
|
466
466
|
**/
|
|
467
|
-
InvalidIndex: GenericPalletError
|
|
467
|
+
InvalidIndex: GenericPalletError;
|
|
468
468
|
|
|
469
469
|
/**
|
|
470
470
|
* Too many approvals in the queue.
|
|
471
471
|
**/
|
|
472
|
-
TooManyApprovals: GenericPalletError
|
|
472
|
+
TooManyApprovals: GenericPalletError;
|
|
473
473
|
|
|
474
474
|
/**
|
|
475
475
|
* The spend origin is valid but the amount it is allowed to spend is lower than the
|
|
476
476
|
* amount to be spent.
|
|
477
477
|
**/
|
|
478
|
-
InsufficientPermission: GenericPalletError
|
|
478
|
+
InsufficientPermission: GenericPalletError;
|
|
479
479
|
|
|
480
480
|
/**
|
|
481
481
|
* Proposal has not been approved.
|
|
482
482
|
**/
|
|
483
|
-
ProposalNotApproved: GenericPalletError
|
|
483
|
+
ProposalNotApproved: GenericPalletError;
|
|
484
484
|
|
|
485
485
|
/**
|
|
486
486
|
* The balance of the asset kind is not convertible to the balance of the native asset.
|
|
487
487
|
**/
|
|
488
|
-
FailedToConvertBalance: GenericPalletError
|
|
488
|
+
FailedToConvertBalance: GenericPalletError;
|
|
489
489
|
|
|
490
490
|
/**
|
|
491
491
|
* The spend has expired and cannot be claimed.
|
|
492
492
|
**/
|
|
493
|
-
SpendExpired: GenericPalletError
|
|
493
|
+
SpendExpired: GenericPalletError;
|
|
494
494
|
|
|
495
495
|
/**
|
|
496
496
|
* The spend is not yet eligible for payout.
|
|
497
497
|
**/
|
|
498
|
-
EarlyPayout: GenericPalletError
|
|
498
|
+
EarlyPayout: GenericPalletError;
|
|
499
499
|
|
|
500
500
|
/**
|
|
501
501
|
* The payment has already been attempted.
|
|
502
502
|
**/
|
|
503
|
-
AlreadyAttempted: GenericPalletError
|
|
503
|
+
AlreadyAttempted: GenericPalletError;
|
|
504
504
|
|
|
505
505
|
/**
|
|
506
506
|
* There was some issue with the mechanism of payment.
|
|
507
507
|
**/
|
|
508
|
-
PayoutError: GenericPalletError
|
|
508
|
+
PayoutError: GenericPalletError;
|
|
509
509
|
|
|
510
510
|
/**
|
|
511
511
|
* The payout was not yet attempted/claimed.
|
|
512
512
|
**/
|
|
513
|
-
NotAttempted: GenericPalletError
|
|
513
|
+
NotAttempted: GenericPalletError;
|
|
514
514
|
|
|
515
515
|
/**
|
|
516
516
|
* The payment has neither failed nor succeeded yet.
|
|
517
517
|
**/
|
|
518
|
-
Inconclusive: GenericPalletError
|
|
518
|
+
Inconclusive: GenericPalletError;
|
|
519
519
|
|
|
520
520
|
/**
|
|
521
521
|
* Generic pallet error
|
|
522
522
|
**/
|
|
523
|
-
[error: string]: GenericPalletError
|
|
523
|
+
[error: string]: GenericPalletError;
|
|
524
524
|
};
|
|
525
525
|
/**
|
|
526
526
|
* Pallet `ConvictionVoting`'s errors
|
|
@@ -529,68 +529,68 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
529
529
|
/**
|
|
530
530
|
* Poll is not ongoing.
|
|
531
531
|
**/
|
|
532
|
-
NotOngoing: GenericPalletError
|
|
532
|
+
NotOngoing: GenericPalletError;
|
|
533
533
|
|
|
534
534
|
/**
|
|
535
535
|
* The given account did not vote on the poll.
|
|
536
536
|
**/
|
|
537
|
-
NotVoter: GenericPalletError
|
|
537
|
+
NotVoter: GenericPalletError;
|
|
538
538
|
|
|
539
539
|
/**
|
|
540
540
|
* The actor has no permission to conduct the action.
|
|
541
541
|
**/
|
|
542
|
-
NoPermission: GenericPalletError
|
|
542
|
+
NoPermission: GenericPalletError;
|
|
543
543
|
|
|
544
544
|
/**
|
|
545
545
|
* The actor has no permission to conduct the action right now but will do in the future.
|
|
546
546
|
**/
|
|
547
|
-
NoPermissionYet: GenericPalletError
|
|
547
|
+
NoPermissionYet: GenericPalletError;
|
|
548
548
|
|
|
549
549
|
/**
|
|
550
550
|
* The account is already delegating.
|
|
551
551
|
**/
|
|
552
|
-
AlreadyDelegating: GenericPalletError
|
|
552
|
+
AlreadyDelegating: GenericPalletError;
|
|
553
553
|
|
|
554
554
|
/**
|
|
555
555
|
* The account currently has votes attached to it and the operation cannot succeed until
|
|
556
556
|
* these are removed through `remove_vote`.
|
|
557
557
|
**/
|
|
558
|
-
AlreadyVoting: GenericPalletError
|
|
558
|
+
AlreadyVoting: GenericPalletError;
|
|
559
559
|
|
|
560
560
|
/**
|
|
561
561
|
* Too high a balance was provided that the account cannot afford.
|
|
562
562
|
**/
|
|
563
|
-
InsufficientFunds: GenericPalletError
|
|
563
|
+
InsufficientFunds: GenericPalletError;
|
|
564
564
|
|
|
565
565
|
/**
|
|
566
566
|
* The account is not currently delegating.
|
|
567
567
|
**/
|
|
568
|
-
NotDelegating: GenericPalletError
|
|
568
|
+
NotDelegating: GenericPalletError;
|
|
569
569
|
|
|
570
570
|
/**
|
|
571
571
|
* Delegation to oneself makes no sense.
|
|
572
572
|
**/
|
|
573
|
-
Nonsense: GenericPalletError
|
|
573
|
+
Nonsense: GenericPalletError;
|
|
574
574
|
|
|
575
575
|
/**
|
|
576
576
|
* Maximum number of votes reached.
|
|
577
577
|
**/
|
|
578
|
-
MaxVotesReached: GenericPalletError
|
|
578
|
+
MaxVotesReached: GenericPalletError;
|
|
579
579
|
|
|
580
580
|
/**
|
|
581
581
|
* The class must be supplied since it is not easily determinable from the state.
|
|
582
582
|
**/
|
|
583
|
-
ClassNeeded: GenericPalletError
|
|
583
|
+
ClassNeeded: GenericPalletError;
|
|
584
584
|
|
|
585
585
|
/**
|
|
586
586
|
* The class ID supplied is invalid.
|
|
587
587
|
**/
|
|
588
|
-
BadClass: GenericPalletError
|
|
588
|
+
BadClass: GenericPalletError;
|
|
589
589
|
|
|
590
590
|
/**
|
|
591
591
|
* Generic pallet error
|
|
592
592
|
**/
|
|
593
|
-
[error: string]: GenericPalletError
|
|
593
|
+
[error: string]: GenericPalletError;
|
|
594
594
|
};
|
|
595
595
|
/**
|
|
596
596
|
* Pallet `Referenda`'s errors
|
|
@@ -599,77 +599,77 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
599
599
|
/**
|
|
600
600
|
* Referendum is not ongoing.
|
|
601
601
|
**/
|
|
602
|
-
NotOngoing: GenericPalletError
|
|
602
|
+
NotOngoing: GenericPalletError;
|
|
603
603
|
|
|
604
604
|
/**
|
|
605
605
|
* Referendum's decision deposit is already paid.
|
|
606
606
|
**/
|
|
607
|
-
HasDeposit: GenericPalletError
|
|
607
|
+
HasDeposit: GenericPalletError;
|
|
608
608
|
|
|
609
609
|
/**
|
|
610
610
|
* The track identifier given was invalid.
|
|
611
611
|
**/
|
|
612
|
-
BadTrack: GenericPalletError
|
|
612
|
+
BadTrack: GenericPalletError;
|
|
613
613
|
|
|
614
614
|
/**
|
|
615
615
|
* There are already a full complement of referenda in progress for this track.
|
|
616
616
|
**/
|
|
617
|
-
Full: GenericPalletError
|
|
617
|
+
Full: GenericPalletError;
|
|
618
618
|
|
|
619
619
|
/**
|
|
620
620
|
* The queue of the track is empty.
|
|
621
621
|
**/
|
|
622
|
-
QueueEmpty: GenericPalletError
|
|
622
|
+
QueueEmpty: GenericPalletError;
|
|
623
623
|
|
|
624
624
|
/**
|
|
625
625
|
* The referendum index provided is invalid in this context.
|
|
626
626
|
**/
|
|
627
|
-
BadReferendum: GenericPalletError
|
|
627
|
+
BadReferendum: GenericPalletError;
|
|
628
628
|
|
|
629
629
|
/**
|
|
630
630
|
* There was nothing to do in the advancement.
|
|
631
631
|
**/
|
|
632
|
-
NothingToDo: GenericPalletError
|
|
632
|
+
NothingToDo: GenericPalletError;
|
|
633
633
|
|
|
634
634
|
/**
|
|
635
635
|
* No track exists for the proposal origin.
|
|
636
636
|
**/
|
|
637
|
-
NoTrack: GenericPalletError
|
|
637
|
+
NoTrack: GenericPalletError;
|
|
638
638
|
|
|
639
639
|
/**
|
|
640
640
|
* Any deposit cannot be refunded until after the decision is over.
|
|
641
641
|
**/
|
|
642
|
-
Unfinished: GenericPalletError
|
|
642
|
+
Unfinished: GenericPalletError;
|
|
643
643
|
|
|
644
644
|
/**
|
|
645
645
|
* The deposit refunder is not the depositor.
|
|
646
646
|
**/
|
|
647
|
-
NoPermission: GenericPalletError
|
|
647
|
+
NoPermission: GenericPalletError;
|
|
648
648
|
|
|
649
649
|
/**
|
|
650
650
|
* The deposit cannot be refunded since none was made.
|
|
651
651
|
**/
|
|
652
|
-
NoDeposit: GenericPalletError
|
|
652
|
+
NoDeposit: GenericPalletError;
|
|
653
653
|
|
|
654
654
|
/**
|
|
655
655
|
* The referendum status is invalid for this operation.
|
|
656
656
|
**/
|
|
657
|
-
BadStatus: GenericPalletError
|
|
657
|
+
BadStatus: GenericPalletError;
|
|
658
658
|
|
|
659
659
|
/**
|
|
660
660
|
* The preimage does not exist.
|
|
661
661
|
**/
|
|
662
|
-
PreimageNotExist: GenericPalletError
|
|
662
|
+
PreimageNotExist: GenericPalletError;
|
|
663
663
|
|
|
664
664
|
/**
|
|
665
665
|
* The preimage is stored with a different length than the one provided.
|
|
666
666
|
**/
|
|
667
|
-
PreimageStoredWithDifferentLength: GenericPalletError
|
|
667
|
+
PreimageStoredWithDifferentLength: GenericPalletError;
|
|
668
668
|
|
|
669
669
|
/**
|
|
670
670
|
* Generic pallet error
|
|
671
671
|
**/
|
|
672
|
-
[error: string]: GenericPalletError
|
|
672
|
+
[error: string]: GenericPalletError;
|
|
673
673
|
};
|
|
674
674
|
/**
|
|
675
675
|
* Pallet `FellowshipCollective`'s errors
|
|
@@ -678,62 +678,62 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
678
678
|
/**
|
|
679
679
|
* Account is already a member.
|
|
680
680
|
**/
|
|
681
|
-
AlreadyMember: GenericPalletError
|
|
681
|
+
AlreadyMember: GenericPalletError;
|
|
682
682
|
|
|
683
683
|
/**
|
|
684
684
|
* Account is not a member.
|
|
685
685
|
**/
|
|
686
|
-
NotMember: GenericPalletError
|
|
686
|
+
NotMember: GenericPalletError;
|
|
687
687
|
|
|
688
688
|
/**
|
|
689
689
|
* The given poll index is unknown or has closed.
|
|
690
690
|
**/
|
|
691
|
-
NotPolling: GenericPalletError
|
|
691
|
+
NotPolling: GenericPalletError;
|
|
692
692
|
|
|
693
693
|
/**
|
|
694
694
|
* The given poll is still ongoing.
|
|
695
695
|
**/
|
|
696
|
-
Ongoing: GenericPalletError
|
|
696
|
+
Ongoing: GenericPalletError;
|
|
697
697
|
|
|
698
698
|
/**
|
|
699
699
|
* There are no further records to be removed.
|
|
700
700
|
**/
|
|
701
|
-
NoneRemaining: GenericPalletError
|
|
701
|
+
NoneRemaining: GenericPalletError;
|
|
702
702
|
|
|
703
703
|
/**
|
|
704
704
|
* Unexpected error in state.
|
|
705
705
|
**/
|
|
706
|
-
Corruption: GenericPalletError
|
|
706
|
+
Corruption: GenericPalletError;
|
|
707
707
|
|
|
708
708
|
/**
|
|
709
709
|
* The member's rank is too low to vote.
|
|
710
710
|
**/
|
|
711
|
-
RankTooLow: GenericPalletError
|
|
711
|
+
RankTooLow: GenericPalletError;
|
|
712
712
|
|
|
713
713
|
/**
|
|
714
714
|
* The information provided is incorrect.
|
|
715
715
|
**/
|
|
716
|
-
InvalidWitness: GenericPalletError
|
|
716
|
+
InvalidWitness: GenericPalletError;
|
|
717
717
|
|
|
718
718
|
/**
|
|
719
719
|
* The origin is not sufficiently privileged to do the operation.
|
|
720
720
|
**/
|
|
721
|
-
NoPermission: GenericPalletError
|
|
721
|
+
NoPermission: GenericPalletError;
|
|
722
722
|
|
|
723
723
|
/**
|
|
724
724
|
* The new member to exchange is the same as the old member
|
|
725
725
|
**/
|
|
726
|
-
SameMember: GenericPalletError
|
|
726
|
+
SameMember: GenericPalletError;
|
|
727
727
|
|
|
728
728
|
/**
|
|
729
729
|
* The max member count for the rank has been reached.
|
|
730
730
|
**/
|
|
731
|
-
TooManyMembers: GenericPalletError
|
|
731
|
+
TooManyMembers: GenericPalletError;
|
|
732
732
|
|
|
733
733
|
/**
|
|
734
734
|
* Generic pallet error
|
|
735
735
|
**/
|
|
736
|
-
[error: string]: GenericPalletError
|
|
736
|
+
[error: string]: GenericPalletError;
|
|
737
737
|
};
|
|
738
738
|
/**
|
|
739
739
|
* Pallet `FellowshipReferenda`'s errors
|
|
@@ -742,77 +742,77 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
742
742
|
/**
|
|
743
743
|
* Referendum is not ongoing.
|
|
744
744
|
**/
|
|
745
|
-
NotOngoing: GenericPalletError
|
|
745
|
+
NotOngoing: GenericPalletError;
|
|
746
746
|
|
|
747
747
|
/**
|
|
748
748
|
* Referendum's decision deposit is already paid.
|
|
749
749
|
**/
|
|
750
|
-
HasDeposit: GenericPalletError
|
|
750
|
+
HasDeposit: GenericPalletError;
|
|
751
751
|
|
|
752
752
|
/**
|
|
753
753
|
* The track identifier given was invalid.
|
|
754
754
|
**/
|
|
755
|
-
BadTrack: GenericPalletError
|
|
755
|
+
BadTrack: GenericPalletError;
|
|
756
756
|
|
|
757
757
|
/**
|
|
758
758
|
* There are already a full complement of referenda in progress for this track.
|
|
759
759
|
**/
|
|
760
|
-
Full: GenericPalletError
|
|
760
|
+
Full: GenericPalletError;
|
|
761
761
|
|
|
762
762
|
/**
|
|
763
763
|
* The queue of the track is empty.
|
|
764
764
|
**/
|
|
765
|
-
QueueEmpty: GenericPalletError
|
|
765
|
+
QueueEmpty: GenericPalletError;
|
|
766
766
|
|
|
767
767
|
/**
|
|
768
768
|
* The referendum index provided is invalid in this context.
|
|
769
769
|
**/
|
|
770
|
-
BadReferendum: GenericPalletError
|
|
770
|
+
BadReferendum: GenericPalletError;
|
|
771
771
|
|
|
772
772
|
/**
|
|
773
773
|
* There was nothing to do in the advancement.
|
|
774
774
|
**/
|
|
775
|
-
NothingToDo: GenericPalletError
|
|
775
|
+
NothingToDo: GenericPalletError;
|
|
776
776
|
|
|
777
777
|
/**
|
|
778
778
|
* No track exists for the proposal origin.
|
|
779
779
|
**/
|
|
780
|
-
NoTrack: GenericPalletError
|
|
780
|
+
NoTrack: GenericPalletError;
|
|
781
781
|
|
|
782
782
|
/**
|
|
783
783
|
* Any deposit cannot be refunded until after the decision is over.
|
|
784
784
|
**/
|
|
785
|
-
Unfinished: GenericPalletError
|
|
785
|
+
Unfinished: GenericPalletError;
|
|
786
786
|
|
|
787
787
|
/**
|
|
788
788
|
* The deposit refunder is not the depositor.
|
|
789
789
|
**/
|
|
790
|
-
NoPermission: GenericPalletError
|
|
790
|
+
NoPermission: GenericPalletError;
|
|
791
791
|
|
|
792
792
|
/**
|
|
793
793
|
* The deposit cannot be refunded since none was made.
|
|
794
794
|
**/
|
|
795
|
-
NoDeposit: GenericPalletError
|
|
795
|
+
NoDeposit: GenericPalletError;
|
|
796
796
|
|
|
797
797
|
/**
|
|
798
798
|
* The referendum status is invalid for this operation.
|
|
799
799
|
**/
|
|
800
|
-
BadStatus: GenericPalletError
|
|
800
|
+
BadStatus: GenericPalletError;
|
|
801
801
|
|
|
802
802
|
/**
|
|
803
803
|
* The preimage does not exist.
|
|
804
804
|
**/
|
|
805
|
-
PreimageNotExist: GenericPalletError
|
|
805
|
+
PreimageNotExist: GenericPalletError;
|
|
806
806
|
|
|
807
807
|
/**
|
|
808
808
|
* The preimage is stored with a different length than the one provided.
|
|
809
809
|
**/
|
|
810
|
-
PreimageStoredWithDifferentLength: GenericPalletError
|
|
810
|
+
PreimageStoredWithDifferentLength: GenericPalletError;
|
|
811
811
|
|
|
812
812
|
/**
|
|
813
813
|
* Generic pallet error
|
|
814
814
|
**/
|
|
815
|
-
[error: string]: GenericPalletError
|
|
815
|
+
[error: string]: GenericPalletError;
|
|
816
816
|
};
|
|
817
817
|
/**
|
|
818
818
|
* Pallet `Whitelist`'s errors
|
|
@@ -821,32 +821,32 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
821
821
|
/**
|
|
822
822
|
* The preimage of the call hash could not be loaded.
|
|
823
823
|
**/
|
|
824
|
-
UnavailablePreImage: GenericPalletError
|
|
824
|
+
UnavailablePreImage: GenericPalletError;
|
|
825
825
|
|
|
826
826
|
/**
|
|
827
827
|
* The call could not be decoded.
|
|
828
828
|
**/
|
|
829
|
-
UndecodableCall: GenericPalletError
|
|
829
|
+
UndecodableCall: GenericPalletError;
|
|
830
830
|
|
|
831
831
|
/**
|
|
832
832
|
* The weight of the decoded call was higher than the witness.
|
|
833
833
|
**/
|
|
834
|
-
InvalidCallWeightWitness: GenericPalletError
|
|
834
|
+
InvalidCallWeightWitness: GenericPalletError;
|
|
835
835
|
|
|
836
836
|
/**
|
|
837
837
|
* The call was not whitelisted.
|
|
838
838
|
**/
|
|
839
|
-
CallIsNotWhitelisted: GenericPalletError
|
|
839
|
+
CallIsNotWhitelisted: GenericPalletError;
|
|
840
840
|
|
|
841
841
|
/**
|
|
842
842
|
* The call was already whitelisted; No-Op.
|
|
843
843
|
**/
|
|
844
|
-
CallAlreadyWhitelisted: GenericPalletError
|
|
844
|
+
CallAlreadyWhitelisted: GenericPalletError;
|
|
845
845
|
|
|
846
846
|
/**
|
|
847
847
|
* Generic pallet error
|
|
848
848
|
**/
|
|
849
|
-
[error: string]: GenericPalletError
|
|
849
|
+
[error: string]: GenericPalletError;
|
|
850
850
|
};
|
|
851
851
|
/**
|
|
852
852
|
* Pallet `Claims`'s errors
|
|
@@ -855,38 +855,38 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
855
855
|
/**
|
|
856
856
|
* Invalid Ethereum signature.
|
|
857
857
|
**/
|
|
858
|
-
InvalidEthereumSignature: GenericPalletError
|
|
858
|
+
InvalidEthereumSignature: GenericPalletError;
|
|
859
859
|
|
|
860
860
|
/**
|
|
861
861
|
* Ethereum address has no claim.
|
|
862
862
|
**/
|
|
863
|
-
SignerHasNoClaim: GenericPalletError
|
|
863
|
+
SignerHasNoClaim: GenericPalletError;
|
|
864
864
|
|
|
865
865
|
/**
|
|
866
866
|
* Account ID sending transaction has no claim.
|
|
867
867
|
**/
|
|
868
|
-
SenderHasNoClaim: GenericPalletError
|
|
868
|
+
SenderHasNoClaim: GenericPalletError;
|
|
869
869
|
|
|
870
870
|
/**
|
|
871
871
|
* There's not enough in the pot to pay out some unvested amount. Generally implies a
|
|
872
872
|
* logic error.
|
|
873
873
|
**/
|
|
874
|
-
PotUnderflow: GenericPalletError
|
|
874
|
+
PotUnderflow: GenericPalletError;
|
|
875
875
|
|
|
876
876
|
/**
|
|
877
877
|
* A needed statement was not included.
|
|
878
878
|
**/
|
|
879
|
-
InvalidStatement: GenericPalletError
|
|
879
|
+
InvalidStatement: GenericPalletError;
|
|
880
880
|
|
|
881
881
|
/**
|
|
882
882
|
* The account already has a vested balance.
|
|
883
883
|
**/
|
|
884
|
-
VestedBalanceExists: GenericPalletError
|
|
884
|
+
VestedBalanceExists: GenericPalletError;
|
|
885
885
|
|
|
886
886
|
/**
|
|
887
887
|
* Generic pallet error
|
|
888
888
|
**/
|
|
889
|
-
[error: string]: GenericPalletError
|
|
889
|
+
[error: string]: GenericPalletError;
|
|
890
890
|
};
|
|
891
891
|
/**
|
|
892
892
|
* Pallet `Utility`'s errors
|
|
@@ -895,12 +895,12 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
895
895
|
/**
|
|
896
896
|
* Too many calls batched.
|
|
897
897
|
**/
|
|
898
|
-
TooManyCalls: GenericPalletError
|
|
898
|
+
TooManyCalls: GenericPalletError;
|
|
899
899
|
|
|
900
900
|
/**
|
|
901
901
|
* Generic pallet error
|
|
902
902
|
**/
|
|
903
|
-
[error: string]: GenericPalletError
|
|
903
|
+
[error: string]: GenericPalletError;
|
|
904
904
|
};
|
|
905
905
|
/**
|
|
906
906
|
* Pallet `Society`'s errors
|
|
@@ -909,172 +909,172 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
909
909
|
/**
|
|
910
910
|
* User is not a member.
|
|
911
911
|
**/
|
|
912
|
-
NotMember: GenericPalletError
|
|
912
|
+
NotMember: GenericPalletError;
|
|
913
913
|
|
|
914
914
|
/**
|
|
915
915
|
* User is already a member.
|
|
916
916
|
**/
|
|
917
|
-
AlreadyMember: GenericPalletError
|
|
917
|
+
AlreadyMember: GenericPalletError;
|
|
918
918
|
|
|
919
919
|
/**
|
|
920
920
|
* User is suspended.
|
|
921
921
|
**/
|
|
922
|
-
Suspended: GenericPalletError
|
|
922
|
+
Suspended: GenericPalletError;
|
|
923
923
|
|
|
924
924
|
/**
|
|
925
925
|
* User is not suspended.
|
|
926
926
|
**/
|
|
927
|
-
NotSuspended: GenericPalletError
|
|
927
|
+
NotSuspended: GenericPalletError;
|
|
928
928
|
|
|
929
929
|
/**
|
|
930
930
|
* Nothing to payout.
|
|
931
931
|
**/
|
|
932
|
-
NoPayout: GenericPalletError
|
|
932
|
+
NoPayout: GenericPalletError;
|
|
933
933
|
|
|
934
934
|
/**
|
|
935
935
|
* Society already founded.
|
|
936
936
|
**/
|
|
937
|
-
AlreadyFounded: GenericPalletError
|
|
937
|
+
AlreadyFounded: GenericPalletError;
|
|
938
938
|
|
|
939
939
|
/**
|
|
940
940
|
* Not enough in pot to accept candidate.
|
|
941
941
|
**/
|
|
942
|
-
InsufficientPot: GenericPalletError
|
|
942
|
+
InsufficientPot: GenericPalletError;
|
|
943
943
|
|
|
944
944
|
/**
|
|
945
945
|
* Member is already vouching or banned from vouching again.
|
|
946
946
|
**/
|
|
947
|
-
AlreadyVouching: GenericPalletError
|
|
947
|
+
AlreadyVouching: GenericPalletError;
|
|
948
948
|
|
|
949
949
|
/**
|
|
950
950
|
* Member is not vouching.
|
|
951
951
|
**/
|
|
952
|
-
NotVouchingOnBidder: GenericPalletError
|
|
952
|
+
NotVouchingOnBidder: GenericPalletError;
|
|
953
953
|
|
|
954
954
|
/**
|
|
955
955
|
* Cannot remove the head of the chain.
|
|
956
956
|
**/
|
|
957
|
-
Head: GenericPalletError
|
|
957
|
+
Head: GenericPalletError;
|
|
958
958
|
|
|
959
959
|
/**
|
|
960
960
|
* Cannot remove the founder.
|
|
961
961
|
**/
|
|
962
|
-
Founder: GenericPalletError
|
|
962
|
+
Founder: GenericPalletError;
|
|
963
963
|
|
|
964
964
|
/**
|
|
965
965
|
* User has already made a bid.
|
|
966
966
|
**/
|
|
967
|
-
AlreadyBid: GenericPalletError
|
|
967
|
+
AlreadyBid: GenericPalletError;
|
|
968
968
|
|
|
969
969
|
/**
|
|
970
970
|
* User is already a candidate.
|
|
971
971
|
**/
|
|
972
|
-
AlreadyCandidate: GenericPalletError
|
|
972
|
+
AlreadyCandidate: GenericPalletError;
|
|
973
973
|
|
|
974
974
|
/**
|
|
975
975
|
* User is not a candidate.
|
|
976
976
|
**/
|
|
977
|
-
NotCandidate: GenericPalletError
|
|
977
|
+
NotCandidate: GenericPalletError;
|
|
978
978
|
|
|
979
979
|
/**
|
|
980
980
|
* Too many members in the society.
|
|
981
981
|
**/
|
|
982
|
-
MaxMembers: GenericPalletError
|
|
982
|
+
MaxMembers: GenericPalletError;
|
|
983
983
|
|
|
984
984
|
/**
|
|
985
985
|
* The caller is not the founder.
|
|
986
986
|
**/
|
|
987
|
-
NotFounder: GenericPalletError
|
|
987
|
+
NotFounder: GenericPalletError;
|
|
988
988
|
|
|
989
989
|
/**
|
|
990
990
|
* The caller is not the head.
|
|
991
991
|
**/
|
|
992
|
-
NotHead: GenericPalletError
|
|
992
|
+
NotHead: GenericPalletError;
|
|
993
993
|
|
|
994
994
|
/**
|
|
995
995
|
* The membership cannot be claimed as the candidate was not clearly approved.
|
|
996
996
|
**/
|
|
997
|
-
NotApproved: GenericPalletError
|
|
997
|
+
NotApproved: GenericPalletError;
|
|
998
998
|
|
|
999
999
|
/**
|
|
1000
1000
|
* The candidate cannot be kicked as the candidate was not clearly rejected.
|
|
1001
1001
|
**/
|
|
1002
|
-
NotRejected: GenericPalletError
|
|
1002
|
+
NotRejected: GenericPalletError;
|
|
1003
1003
|
|
|
1004
1004
|
/**
|
|
1005
1005
|
* The candidacy cannot be dropped as the candidate was clearly approved.
|
|
1006
1006
|
**/
|
|
1007
|
-
Approved: GenericPalletError
|
|
1007
|
+
Approved: GenericPalletError;
|
|
1008
1008
|
|
|
1009
1009
|
/**
|
|
1010
1010
|
* The candidacy cannot be bestowed as the candidate was clearly rejected.
|
|
1011
1011
|
**/
|
|
1012
|
-
Rejected: GenericPalletError
|
|
1012
|
+
Rejected: GenericPalletError;
|
|
1013
1013
|
|
|
1014
1014
|
/**
|
|
1015
1015
|
* The candidacy cannot be concluded as the voting is still in progress.
|
|
1016
1016
|
**/
|
|
1017
|
-
InProgress: GenericPalletError
|
|
1017
|
+
InProgress: GenericPalletError;
|
|
1018
1018
|
|
|
1019
1019
|
/**
|
|
1020
1020
|
* The candidacy cannot be pruned until a full additional intake period has passed.
|
|
1021
1021
|
**/
|
|
1022
|
-
TooEarly: GenericPalletError
|
|
1022
|
+
TooEarly: GenericPalletError;
|
|
1023
1023
|
|
|
1024
1024
|
/**
|
|
1025
1025
|
* The skeptic already voted.
|
|
1026
1026
|
**/
|
|
1027
|
-
Voted: GenericPalletError
|
|
1027
|
+
Voted: GenericPalletError;
|
|
1028
1028
|
|
|
1029
1029
|
/**
|
|
1030
1030
|
* The skeptic need not vote on candidates from expired rounds.
|
|
1031
1031
|
**/
|
|
1032
|
-
Expired: GenericPalletError
|
|
1032
|
+
Expired: GenericPalletError;
|
|
1033
1033
|
|
|
1034
1034
|
/**
|
|
1035
1035
|
* User is not a bidder.
|
|
1036
1036
|
**/
|
|
1037
|
-
NotBidder: GenericPalletError
|
|
1037
|
+
NotBidder: GenericPalletError;
|
|
1038
1038
|
|
|
1039
1039
|
/**
|
|
1040
1040
|
* There is no defender currently.
|
|
1041
1041
|
**/
|
|
1042
|
-
NoDefender: GenericPalletError
|
|
1042
|
+
NoDefender: GenericPalletError;
|
|
1043
1043
|
|
|
1044
1044
|
/**
|
|
1045
1045
|
* Group doesn't exist.
|
|
1046
1046
|
**/
|
|
1047
|
-
NotGroup: GenericPalletError
|
|
1047
|
+
NotGroup: GenericPalletError;
|
|
1048
1048
|
|
|
1049
1049
|
/**
|
|
1050
1050
|
* The member is already elevated to this rank.
|
|
1051
1051
|
**/
|
|
1052
|
-
AlreadyElevated: GenericPalletError
|
|
1052
|
+
AlreadyElevated: GenericPalletError;
|
|
1053
1053
|
|
|
1054
1054
|
/**
|
|
1055
1055
|
* The skeptic has already been punished for this offence.
|
|
1056
1056
|
**/
|
|
1057
|
-
AlreadyPunished: GenericPalletError
|
|
1057
|
+
AlreadyPunished: GenericPalletError;
|
|
1058
1058
|
|
|
1059
1059
|
/**
|
|
1060
1060
|
* Funds are insufficient to pay off society debts.
|
|
1061
1061
|
**/
|
|
1062
|
-
InsufficientFunds: GenericPalletError
|
|
1062
|
+
InsufficientFunds: GenericPalletError;
|
|
1063
1063
|
|
|
1064
1064
|
/**
|
|
1065
1065
|
* The candidate/defender has no stale votes to remove.
|
|
1066
1066
|
**/
|
|
1067
|
-
NoVotes: GenericPalletError
|
|
1067
|
+
NoVotes: GenericPalletError;
|
|
1068
1068
|
|
|
1069
1069
|
/**
|
|
1070
1070
|
* There is no deposit associated with a bid.
|
|
1071
1071
|
**/
|
|
1072
|
-
NoDeposit: GenericPalletError
|
|
1072
|
+
NoDeposit: GenericPalletError;
|
|
1073
1073
|
|
|
1074
1074
|
/**
|
|
1075
1075
|
* Generic pallet error
|
|
1076
1076
|
**/
|
|
1077
|
-
[error: string]: GenericPalletError
|
|
1077
|
+
[error: string]: GenericPalletError;
|
|
1078
1078
|
};
|
|
1079
1079
|
/**
|
|
1080
1080
|
* Pallet `Recovery`'s errors
|
|
@@ -1083,87 +1083,87 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1083
1083
|
/**
|
|
1084
1084
|
* User is not allowed to make a call on behalf of this account
|
|
1085
1085
|
**/
|
|
1086
|
-
NotAllowed: GenericPalletError
|
|
1086
|
+
NotAllowed: GenericPalletError;
|
|
1087
1087
|
|
|
1088
1088
|
/**
|
|
1089
1089
|
* Threshold must be greater than zero
|
|
1090
1090
|
**/
|
|
1091
|
-
ZeroThreshold: GenericPalletError
|
|
1091
|
+
ZeroThreshold: GenericPalletError;
|
|
1092
1092
|
|
|
1093
1093
|
/**
|
|
1094
1094
|
* Friends list must be greater than zero and threshold
|
|
1095
1095
|
**/
|
|
1096
|
-
NotEnoughFriends: GenericPalletError
|
|
1096
|
+
NotEnoughFriends: GenericPalletError;
|
|
1097
1097
|
|
|
1098
1098
|
/**
|
|
1099
1099
|
* Friends list must be less than max friends
|
|
1100
1100
|
**/
|
|
1101
|
-
MaxFriends: GenericPalletError
|
|
1101
|
+
MaxFriends: GenericPalletError;
|
|
1102
1102
|
|
|
1103
1103
|
/**
|
|
1104
1104
|
* Friends list must be sorted and free of duplicates
|
|
1105
1105
|
**/
|
|
1106
|
-
NotSorted: GenericPalletError
|
|
1106
|
+
NotSorted: GenericPalletError;
|
|
1107
1107
|
|
|
1108
1108
|
/**
|
|
1109
1109
|
* This account is not set up for recovery
|
|
1110
1110
|
**/
|
|
1111
|
-
NotRecoverable: GenericPalletError
|
|
1111
|
+
NotRecoverable: GenericPalletError;
|
|
1112
1112
|
|
|
1113
1113
|
/**
|
|
1114
1114
|
* This account is already set up for recovery
|
|
1115
1115
|
**/
|
|
1116
|
-
AlreadyRecoverable: GenericPalletError
|
|
1116
|
+
AlreadyRecoverable: GenericPalletError;
|
|
1117
1117
|
|
|
1118
1118
|
/**
|
|
1119
1119
|
* A recovery process has already started for this account
|
|
1120
1120
|
**/
|
|
1121
|
-
AlreadyStarted: GenericPalletError
|
|
1121
|
+
AlreadyStarted: GenericPalletError;
|
|
1122
1122
|
|
|
1123
1123
|
/**
|
|
1124
1124
|
* A recovery process has not started for this rescuer
|
|
1125
1125
|
**/
|
|
1126
|
-
NotStarted: GenericPalletError
|
|
1126
|
+
NotStarted: GenericPalletError;
|
|
1127
1127
|
|
|
1128
1128
|
/**
|
|
1129
1129
|
* This account is not a friend who can vouch
|
|
1130
1130
|
**/
|
|
1131
|
-
NotFriend: GenericPalletError
|
|
1131
|
+
NotFriend: GenericPalletError;
|
|
1132
1132
|
|
|
1133
1133
|
/**
|
|
1134
1134
|
* The friend must wait until the delay period to vouch for this recovery
|
|
1135
1135
|
**/
|
|
1136
|
-
DelayPeriod: GenericPalletError
|
|
1136
|
+
DelayPeriod: GenericPalletError;
|
|
1137
1137
|
|
|
1138
1138
|
/**
|
|
1139
1139
|
* This user has already vouched for this recovery
|
|
1140
1140
|
**/
|
|
1141
|
-
AlreadyVouched: GenericPalletError
|
|
1141
|
+
AlreadyVouched: GenericPalletError;
|
|
1142
1142
|
|
|
1143
1143
|
/**
|
|
1144
1144
|
* The threshold for recovering this account has not been met
|
|
1145
1145
|
**/
|
|
1146
|
-
Threshold: GenericPalletError
|
|
1146
|
+
Threshold: GenericPalletError;
|
|
1147
1147
|
|
|
1148
1148
|
/**
|
|
1149
1149
|
* There are still active recovery attempts that need to be closed
|
|
1150
1150
|
**/
|
|
1151
|
-
StillActive: GenericPalletError
|
|
1151
|
+
StillActive: GenericPalletError;
|
|
1152
1152
|
|
|
1153
1153
|
/**
|
|
1154
1154
|
* This account is already set up for recovery
|
|
1155
1155
|
**/
|
|
1156
|
-
AlreadyProxy: GenericPalletError
|
|
1156
|
+
AlreadyProxy: GenericPalletError;
|
|
1157
1157
|
|
|
1158
1158
|
/**
|
|
1159
1159
|
* Some internal state is broken.
|
|
1160
1160
|
**/
|
|
1161
|
-
BadState: GenericPalletError
|
|
1161
|
+
BadState: GenericPalletError;
|
|
1162
1162
|
|
|
1163
1163
|
/**
|
|
1164
1164
|
* Generic pallet error
|
|
1165
1165
|
**/
|
|
1166
|
-
[error: string]: GenericPalletError
|
|
1166
|
+
[error: string]: GenericPalletError;
|
|
1167
1167
|
};
|
|
1168
1168
|
/**
|
|
1169
1169
|
* Pallet `Vesting`'s errors
|
|
@@ -1172,33 +1172,33 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1172
1172
|
/**
|
|
1173
1173
|
* The account given is not vesting.
|
|
1174
1174
|
**/
|
|
1175
|
-
NotVesting: GenericPalletError
|
|
1175
|
+
NotVesting: GenericPalletError;
|
|
1176
1176
|
|
|
1177
1177
|
/**
|
|
1178
1178
|
* The account already has `MaxVestingSchedules` count of schedules and thus
|
|
1179
1179
|
* cannot add another one. Consider merging existing schedules in order to add another.
|
|
1180
1180
|
**/
|
|
1181
|
-
AtMaxVestingSchedules: GenericPalletError
|
|
1181
|
+
AtMaxVestingSchedules: GenericPalletError;
|
|
1182
1182
|
|
|
1183
1183
|
/**
|
|
1184
1184
|
* Amount being transferred is too low to create a vesting schedule.
|
|
1185
1185
|
**/
|
|
1186
|
-
AmountLow: GenericPalletError
|
|
1186
|
+
AmountLow: GenericPalletError;
|
|
1187
1187
|
|
|
1188
1188
|
/**
|
|
1189
1189
|
* An index was out of bounds of the vesting schedules.
|
|
1190
1190
|
**/
|
|
1191
|
-
ScheduleIndexOutOfBounds: GenericPalletError
|
|
1191
|
+
ScheduleIndexOutOfBounds: GenericPalletError;
|
|
1192
1192
|
|
|
1193
1193
|
/**
|
|
1194
1194
|
* Failed to create a new schedule because some parameter was invalid.
|
|
1195
1195
|
**/
|
|
1196
|
-
InvalidScheduleParams: GenericPalletError
|
|
1196
|
+
InvalidScheduleParams: GenericPalletError;
|
|
1197
1197
|
|
|
1198
1198
|
/**
|
|
1199
1199
|
* Generic pallet error
|
|
1200
1200
|
**/
|
|
1201
|
-
[error: string]: GenericPalletError
|
|
1201
|
+
[error: string]: GenericPalletError;
|
|
1202
1202
|
};
|
|
1203
1203
|
/**
|
|
1204
1204
|
* Pallet `Scheduler`'s errors
|
|
@@ -1207,32 +1207,32 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1207
1207
|
/**
|
|
1208
1208
|
* Failed to schedule a call
|
|
1209
1209
|
**/
|
|
1210
|
-
FailedToSchedule: GenericPalletError
|
|
1210
|
+
FailedToSchedule: GenericPalletError;
|
|
1211
1211
|
|
|
1212
1212
|
/**
|
|
1213
1213
|
* Cannot find the scheduled call.
|
|
1214
1214
|
**/
|
|
1215
|
-
NotFound: GenericPalletError
|
|
1215
|
+
NotFound: GenericPalletError;
|
|
1216
1216
|
|
|
1217
1217
|
/**
|
|
1218
1218
|
* Given target block number is in the past.
|
|
1219
1219
|
**/
|
|
1220
|
-
TargetBlockNumberInPast: GenericPalletError
|
|
1220
|
+
TargetBlockNumberInPast: GenericPalletError;
|
|
1221
1221
|
|
|
1222
1222
|
/**
|
|
1223
1223
|
* Reschedule failed because it does not change scheduled time.
|
|
1224
1224
|
**/
|
|
1225
|
-
RescheduleNoChange: GenericPalletError
|
|
1225
|
+
RescheduleNoChange: GenericPalletError;
|
|
1226
1226
|
|
|
1227
1227
|
/**
|
|
1228
1228
|
* Attempt to use a non-named function on a named task.
|
|
1229
1229
|
**/
|
|
1230
|
-
Named: GenericPalletError
|
|
1230
|
+
Named: GenericPalletError;
|
|
1231
1231
|
|
|
1232
1232
|
/**
|
|
1233
1233
|
* Generic pallet error
|
|
1234
1234
|
**/
|
|
1235
|
-
[error: string]: GenericPalletError
|
|
1235
|
+
[error: string]: GenericPalletError;
|
|
1236
1236
|
};
|
|
1237
1237
|
/**
|
|
1238
1238
|
* Pallet `Proxy`'s errors
|
|
@@ -1241,47 +1241,47 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1241
1241
|
/**
|
|
1242
1242
|
* There are too many proxies registered or too many announcements pending.
|
|
1243
1243
|
**/
|
|
1244
|
-
TooMany: GenericPalletError
|
|
1244
|
+
TooMany: GenericPalletError;
|
|
1245
1245
|
|
|
1246
1246
|
/**
|
|
1247
1247
|
* Proxy registration not found.
|
|
1248
1248
|
**/
|
|
1249
|
-
NotFound: GenericPalletError
|
|
1249
|
+
NotFound: GenericPalletError;
|
|
1250
1250
|
|
|
1251
1251
|
/**
|
|
1252
1252
|
* Sender is not a proxy of the account to be proxied.
|
|
1253
1253
|
**/
|
|
1254
|
-
NotProxy: GenericPalletError
|
|
1254
|
+
NotProxy: GenericPalletError;
|
|
1255
1255
|
|
|
1256
1256
|
/**
|
|
1257
1257
|
* A call which is incompatible with the proxy type's filter was attempted.
|
|
1258
1258
|
**/
|
|
1259
|
-
Unproxyable: GenericPalletError
|
|
1259
|
+
Unproxyable: GenericPalletError;
|
|
1260
1260
|
|
|
1261
1261
|
/**
|
|
1262
1262
|
* Account is already a proxy.
|
|
1263
1263
|
**/
|
|
1264
|
-
Duplicate: GenericPalletError
|
|
1264
|
+
Duplicate: GenericPalletError;
|
|
1265
1265
|
|
|
1266
1266
|
/**
|
|
1267
1267
|
* Call may not be made by proxy because it may escalate its privileges.
|
|
1268
1268
|
**/
|
|
1269
|
-
NoPermission: GenericPalletError
|
|
1269
|
+
NoPermission: GenericPalletError;
|
|
1270
1270
|
|
|
1271
1271
|
/**
|
|
1272
1272
|
* Announcement, if made at all, was made too recently.
|
|
1273
1273
|
**/
|
|
1274
|
-
Unannounced: GenericPalletError
|
|
1274
|
+
Unannounced: GenericPalletError;
|
|
1275
1275
|
|
|
1276
1276
|
/**
|
|
1277
1277
|
* Cannot add self as proxy.
|
|
1278
1278
|
**/
|
|
1279
|
-
NoSelfProxy: GenericPalletError
|
|
1279
|
+
NoSelfProxy: GenericPalletError;
|
|
1280
1280
|
|
|
1281
1281
|
/**
|
|
1282
1282
|
* Generic pallet error
|
|
1283
1283
|
**/
|
|
1284
|
-
[error: string]: GenericPalletError
|
|
1284
|
+
[error: string]: GenericPalletError;
|
|
1285
1285
|
};
|
|
1286
1286
|
/**
|
|
1287
1287
|
* Pallet `Multisig`'s errors
|
|
@@ -1290,78 +1290,78 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1290
1290
|
/**
|
|
1291
1291
|
* Threshold must be 2 or greater.
|
|
1292
1292
|
**/
|
|
1293
|
-
MinimumThreshold: GenericPalletError
|
|
1293
|
+
MinimumThreshold: GenericPalletError;
|
|
1294
1294
|
|
|
1295
1295
|
/**
|
|
1296
1296
|
* Call is already approved by this signatory.
|
|
1297
1297
|
**/
|
|
1298
|
-
AlreadyApproved: GenericPalletError
|
|
1298
|
+
AlreadyApproved: GenericPalletError;
|
|
1299
1299
|
|
|
1300
1300
|
/**
|
|
1301
1301
|
* Call doesn't need any (more) approvals.
|
|
1302
1302
|
**/
|
|
1303
|
-
NoApprovalsNeeded: GenericPalletError
|
|
1303
|
+
NoApprovalsNeeded: GenericPalletError;
|
|
1304
1304
|
|
|
1305
1305
|
/**
|
|
1306
1306
|
* There are too few signatories in the list.
|
|
1307
1307
|
**/
|
|
1308
|
-
TooFewSignatories: GenericPalletError
|
|
1308
|
+
TooFewSignatories: GenericPalletError;
|
|
1309
1309
|
|
|
1310
1310
|
/**
|
|
1311
1311
|
* There are too many signatories in the list.
|
|
1312
1312
|
**/
|
|
1313
|
-
TooManySignatories: GenericPalletError
|
|
1313
|
+
TooManySignatories: GenericPalletError;
|
|
1314
1314
|
|
|
1315
1315
|
/**
|
|
1316
1316
|
* The signatories were provided out of order; they should be ordered.
|
|
1317
1317
|
**/
|
|
1318
|
-
SignatoriesOutOfOrder: GenericPalletError
|
|
1318
|
+
SignatoriesOutOfOrder: GenericPalletError;
|
|
1319
1319
|
|
|
1320
1320
|
/**
|
|
1321
1321
|
* The sender was contained in the other signatories; it shouldn't be.
|
|
1322
1322
|
**/
|
|
1323
|
-
SenderInSignatories: GenericPalletError
|
|
1323
|
+
SenderInSignatories: GenericPalletError;
|
|
1324
1324
|
|
|
1325
1325
|
/**
|
|
1326
1326
|
* Multisig operation not found in storage.
|
|
1327
1327
|
**/
|
|
1328
|
-
NotFound: GenericPalletError
|
|
1328
|
+
NotFound: GenericPalletError;
|
|
1329
1329
|
|
|
1330
1330
|
/**
|
|
1331
1331
|
* Only the account that originally created the multisig is able to cancel it or update
|
|
1332
1332
|
* its deposits.
|
|
1333
1333
|
**/
|
|
1334
|
-
NotOwner: GenericPalletError
|
|
1334
|
+
NotOwner: GenericPalletError;
|
|
1335
1335
|
|
|
1336
1336
|
/**
|
|
1337
1337
|
* No timepoint was given, yet the multisig operation is already underway.
|
|
1338
1338
|
**/
|
|
1339
|
-
NoTimepoint: GenericPalletError
|
|
1339
|
+
NoTimepoint: GenericPalletError;
|
|
1340
1340
|
|
|
1341
1341
|
/**
|
|
1342
1342
|
* A different timepoint was given to the multisig operation that is underway.
|
|
1343
1343
|
**/
|
|
1344
|
-
WrongTimepoint: GenericPalletError
|
|
1344
|
+
WrongTimepoint: GenericPalletError;
|
|
1345
1345
|
|
|
1346
1346
|
/**
|
|
1347
1347
|
* A timepoint was given, yet no multisig operation is underway.
|
|
1348
1348
|
**/
|
|
1349
|
-
UnexpectedTimepoint: GenericPalletError
|
|
1349
|
+
UnexpectedTimepoint: GenericPalletError;
|
|
1350
1350
|
|
|
1351
1351
|
/**
|
|
1352
1352
|
* The maximum weight information provided was too low.
|
|
1353
1353
|
**/
|
|
1354
|
-
MaxWeightTooLow: GenericPalletError
|
|
1354
|
+
MaxWeightTooLow: GenericPalletError;
|
|
1355
1355
|
|
|
1356
1356
|
/**
|
|
1357
1357
|
* The data to be stored is already stored.
|
|
1358
1358
|
**/
|
|
1359
|
-
AlreadyStored: GenericPalletError
|
|
1359
|
+
AlreadyStored: GenericPalletError;
|
|
1360
1360
|
|
|
1361
1361
|
/**
|
|
1362
1362
|
* Generic pallet error
|
|
1363
1363
|
**/
|
|
1364
|
-
[error: string]: GenericPalletError
|
|
1364
|
+
[error: string]: GenericPalletError;
|
|
1365
1365
|
};
|
|
1366
1366
|
/**
|
|
1367
1367
|
* Pallet `Preimage`'s errors
|
|
@@ -1370,47 +1370,47 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1370
1370
|
/**
|
|
1371
1371
|
* Preimage is too large to store on-chain.
|
|
1372
1372
|
**/
|
|
1373
|
-
TooBig: GenericPalletError
|
|
1373
|
+
TooBig: GenericPalletError;
|
|
1374
1374
|
|
|
1375
1375
|
/**
|
|
1376
1376
|
* Preimage has already been noted on-chain.
|
|
1377
1377
|
**/
|
|
1378
|
-
AlreadyNoted: GenericPalletError
|
|
1378
|
+
AlreadyNoted: GenericPalletError;
|
|
1379
1379
|
|
|
1380
1380
|
/**
|
|
1381
1381
|
* The user is not authorized to perform this action.
|
|
1382
1382
|
**/
|
|
1383
|
-
NotAuthorized: GenericPalletError
|
|
1383
|
+
NotAuthorized: GenericPalletError;
|
|
1384
1384
|
|
|
1385
1385
|
/**
|
|
1386
1386
|
* The preimage cannot be removed since it has not yet been noted.
|
|
1387
1387
|
**/
|
|
1388
|
-
NotNoted: GenericPalletError
|
|
1388
|
+
NotNoted: GenericPalletError;
|
|
1389
1389
|
|
|
1390
1390
|
/**
|
|
1391
1391
|
* A preimage may not be removed when there are outstanding requests.
|
|
1392
1392
|
**/
|
|
1393
|
-
Requested: GenericPalletError
|
|
1393
|
+
Requested: GenericPalletError;
|
|
1394
1394
|
|
|
1395
1395
|
/**
|
|
1396
1396
|
* The preimage request cannot be removed since no outstanding requests exist.
|
|
1397
1397
|
**/
|
|
1398
|
-
NotRequested: GenericPalletError
|
|
1398
|
+
NotRequested: GenericPalletError;
|
|
1399
1399
|
|
|
1400
1400
|
/**
|
|
1401
1401
|
* More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once.
|
|
1402
1402
|
**/
|
|
1403
|
-
TooMany: GenericPalletError
|
|
1403
|
+
TooMany: GenericPalletError;
|
|
1404
1404
|
|
|
1405
1405
|
/**
|
|
1406
1406
|
* Too few hashes were requested to be upgraded (i.e. zero).
|
|
1407
1407
|
**/
|
|
1408
|
-
TooFew: GenericPalletError
|
|
1408
|
+
TooFew: GenericPalletError;
|
|
1409
1409
|
|
|
1410
1410
|
/**
|
|
1411
1411
|
* Generic pallet error
|
|
1412
1412
|
**/
|
|
1413
|
-
[error: string]: GenericPalletError
|
|
1413
|
+
[error: string]: GenericPalletError;
|
|
1414
1414
|
};
|
|
1415
1415
|
/**
|
|
1416
1416
|
* Pallet `Bounties`'s errors
|
|
@@ -1419,68 +1419,68 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1419
1419
|
/**
|
|
1420
1420
|
* Proposer's balance is too low.
|
|
1421
1421
|
**/
|
|
1422
|
-
InsufficientProposersBalance: GenericPalletError
|
|
1422
|
+
InsufficientProposersBalance: GenericPalletError;
|
|
1423
1423
|
|
|
1424
1424
|
/**
|
|
1425
1425
|
* No proposal or bounty at that index.
|
|
1426
1426
|
**/
|
|
1427
|
-
InvalidIndex: GenericPalletError
|
|
1427
|
+
InvalidIndex: GenericPalletError;
|
|
1428
1428
|
|
|
1429
1429
|
/**
|
|
1430
1430
|
* The reason given is just too big.
|
|
1431
1431
|
**/
|
|
1432
|
-
ReasonTooBig: GenericPalletError
|
|
1432
|
+
ReasonTooBig: GenericPalletError;
|
|
1433
1433
|
|
|
1434
1434
|
/**
|
|
1435
1435
|
* The bounty status is unexpected.
|
|
1436
1436
|
**/
|
|
1437
|
-
UnexpectedStatus: GenericPalletError
|
|
1437
|
+
UnexpectedStatus: GenericPalletError;
|
|
1438
1438
|
|
|
1439
1439
|
/**
|
|
1440
1440
|
* Require bounty curator.
|
|
1441
1441
|
**/
|
|
1442
|
-
RequireCurator: GenericPalletError
|
|
1442
|
+
RequireCurator: GenericPalletError;
|
|
1443
1443
|
|
|
1444
1444
|
/**
|
|
1445
1445
|
* Invalid bounty value.
|
|
1446
1446
|
**/
|
|
1447
|
-
InvalidValue: GenericPalletError
|
|
1447
|
+
InvalidValue: GenericPalletError;
|
|
1448
1448
|
|
|
1449
1449
|
/**
|
|
1450
1450
|
* Invalid bounty fee.
|
|
1451
1451
|
**/
|
|
1452
|
-
InvalidFee: GenericPalletError
|
|
1452
|
+
InvalidFee: GenericPalletError;
|
|
1453
1453
|
|
|
1454
1454
|
/**
|
|
1455
1455
|
* A bounty payout is pending.
|
|
1456
1456
|
* To cancel the bounty, you must unassign and slash the curator.
|
|
1457
1457
|
**/
|
|
1458
|
-
PendingPayout: GenericPalletError
|
|
1458
|
+
PendingPayout: GenericPalletError;
|
|
1459
1459
|
|
|
1460
1460
|
/**
|
|
1461
1461
|
* The bounties cannot be claimed/closed because it's still in the countdown period.
|
|
1462
1462
|
**/
|
|
1463
|
-
Premature: GenericPalletError
|
|
1463
|
+
Premature: GenericPalletError;
|
|
1464
1464
|
|
|
1465
1465
|
/**
|
|
1466
1466
|
* The bounty cannot be closed because it has active child bounties.
|
|
1467
1467
|
**/
|
|
1468
|
-
HasActiveChildBounty: GenericPalletError
|
|
1468
|
+
HasActiveChildBounty: GenericPalletError;
|
|
1469
1469
|
|
|
1470
1470
|
/**
|
|
1471
1471
|
* Too many approvals are already queued.
|
|
1472
1472
|
**/
|
|
1473
|
-
TooManyQueued: GenericPalletError
|
|
1473
|
+
TooManyQueued: GenericPalletError;
|
|
1474
1474
|
|
|
1475
1475
|
/**
|
|
1476
1476
|
* User is not the proposer of the bounty.
|
|
1477
1477
|
**/
|
|
1478
|
-
NotProposer: GenericPalletError
|
|
1478
|
+
NotProposer: 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 `ChildBounties`'s errors
|
|
@@ -1489,22 +1489,22 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1489
1489
|
/**
|
|
1490
1490
|
* The parent bounty is not in active state.
|
|
1491
1491
|
**/
|
|
1492
|
-
ParentBountyNotActive: GenericPalletError
|
|
1492
|
+
ParentBountyNotActive: GenericPalletError;
|
|
1493
1493
|
|
|
1494
1494
|
/**
|
|
1495
1495
|
* The bounty balance is not enough to add new child-bounty.
|
|
1496
1496
|
**/
|
|
1497
|
-
InsufficientBountyBalance: GenericPalletError
|
|
1497
|
+
InsufficientBountyBalance: GenericPalletError;
|
|
1498
1498
|
|
|
1499
1499
|
/**
|
|
1500
1500
|
* Number of child bounties exceeds limit `MaxActiveChildBountyCount`.
|
|
1501
1501
|
**/
|
|
1502
|
-
TooManyChildBounties: GenericPalletError
|
|
1502
|
+
TooManyChildBounties: GenericPalletError;
|
|
1503
1503
|
|
|
1504
1504
|
/**
|
|
1505
1505
|
* Generic pallet error
|
|
1506
1506
|
**/
|
|
1507
|
-
[error: string]: GenericPalletError
|
|
1507
|
+
[error: string]: GenericPalletError;
|
|
1508
1508
|
};
|
|
1509
1509
|
/**
|
|
1510
1510
|
* Pallet `ElectionProviderMultiPhase`'s errors
|
|
@@ -1513,82 +1513,82 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1513
1513
|
/**
|
|
1514
1514
|
* Submission was too early.
|
|
1515
1515
|
**/
|
|
1516
|
-
PreDispatchEarlySubmission: GenericPalletError
|
|
1516
|
+
PreDispatchEarlySubmission: GenericPalletError;
|
|
1517
1517
|
|
|
1518
1518
|
/**
|
|
1519
1519
|
* Wrong number of winners presented.
|
|
1520
1520
|
**/
|
|
1521
|
-
PreDispatchWrongWinnerCount: GenericPalletError
|
|
1521
|
+
PreDispatchWrongWinnerCount: GenericPalletError;
|
|
1522
1522
|
|
|
1523
1523
|
/**
|
|
1524
1524
|
* Submission was too weak, score-wise.
|
|
1525
1525
|
**/
|
|
1526
|
-
PreDispatchWeakSubmission: GenericPalletError
|
|
1526
|
+
PreDispatchWeakSubmission: GenericPalletError;
|
|
1527
1527
|
|
|
1528
1528
|
/**
|
|
1529
1529
|
* The queue was full, and the solution was not better than any of the existing ones.
|
|
1530
1530
|
**/
|
|
1531
|
-
SignedQueueFull: GenericPalletError
|
|
1531
|
+
SignedQueueFull: GenericPalletError;
|
|
1532
1532
|
|
|
1533
1533
|
/**
|
|
1534
1534
|
* The origin failed to pay the deposit.
|
|
1535
1535
|
**/
|
|
1536
|
-
SignedCannotPayDeposit: GenericPalletError
|
|
1536
|
+
SignedCannotPayDeposit: GenericPalletError;
|
|
1537
1537
|
|
|
1538
1538
|
/**
|
|
1539
1539
|
* Witness data to dispatchable is invalid.
|
|
1540
1540
|
**/
|
|
1541
|
-
SignedInvalidWitness: GenericPalletError
|
|
1541
|
+
SignedInvalidWitness: GenericPalletError;
|
|
1542
1542
|
|
|
1543
1543
|
/**
|
|
1544
1544
|
* The signed submission consumes too much weight
|
|
1545
1545
|
**/
|
|
1546
|
-
SignedTooMuchWeight: GenericPalletError
|
|
1546
|
+
SignedTooMuchWeight: GenericPalletError;
|
|
1547
1547
|
|
|
1548
1548
|
/**
|
|
1549
1549
|
* OCW submitted solution for wrong round
|
|
1550
1550
|
**/
|
|
1551
|
-
OcwCallWrongEra: GenericPalletError
|
|
1551
|
+
OcwCallWrongEra: GenericPalletError;
|
|
1552
1552
|
|
|
1553
1553
|
/**
|
|
1554
1554
|
* Snapshot metadata should exist but didn't.
|
|
1555
1555
|
**/
|
|
1556
|
-
MissingSnapshotMetadata: GenericPalletError
|
|
1556
|
+
MissingSnapshotMetadata: GenericPalletError;
|
|
1557
1557
|
|
|
1558
1558
|
/**
|
|
1559
1559
|
* `Self::insert_submission` returned an invalid index.
|
|
1560
1560
|
**/
|
|
1561
|
-
InvalidSubmissionIndex: GenericPalletError
|
|
1561
|
+
InvalidSubmissionIndex: GenericPalletError;
|
|
1562
1562
|
|
|
1563
1563
|
/**
|
|
1564
1564
|
* The call is not allowed at this point.
|
|
1565
1565
|
**/
|
|
1566
|
-
CallNotAllowed: GenericPalletError
|
|
1566
|
+
CallNotAllowed: GenericPalletError;
|
|
1567
1567
|
|
|
1568
1568
|
/**
|
|
1569
1569
|
* The fallback failed
|
|
1570
1570
|
**/
|
|
1571
|
-
FallbackFailed: GenericPalletError
|
|
1571
|
+
FallbackFailed: GenericPalletError;
|
|
1572
1572
|
|
|
1573
1573
|
/**
|
|
1574
1574
|
* Some bound not met
|
|
1575
1575
|
**/
|
|
1576
|
-
BoundNotMet: GenericPalletError
|
|
1576
|
+
BoundNotMet: GenericPalletError;
|
|
1577
1577
|
|
|
1578
1578
|
/**
|
|
1579
1579
|
* Submitted solution has too many winners
|
|
1580
1580
|
**/
|
|
1581
|
-
TooManyWinners: GenericPalletError
|
|
1581
|
+
TooManyWinners: GenericPalletError;
|
|
1582
1582
|
|
|
1583
1583
|
/**
|
|
1584
1584
|
* Submission was prepared for a different round.
|
|
1585
1585
|
**/
|
|
1586
|
-
PreDispatchDifferentRound: GenericPalletError
|
|
1586
|
+
PreDispatchDifferentRound: GenericPalletError;
|
|
1587
1587
|
|
|
1588
1588
|
/**
|
|
1589
1589
|
* Generic pallet error
|
|
1590
1590
|
**/
|
|
1591
|
-
[error: string]: GenericPalletError
|
|
1591
|
+
[error: string]: GenericPalletError;
|
|
1592
1592
|
};
|
|
1593
1593
|
/**
|
|
1594
1594
|
* Pallet `VoterList`'s errors
|
|
@@ -1597,17 +1597,17 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1597
1597
|
/**
|
|
1598
1598
|
* A error in the list interface implementation.
|
|
1599
1599
|
**/
|
|
1600
|
-
List: GenericPalletError
|
|
1600
|
+
List: GenericPalletError;
|
|
1601
1601
|
|
|
1602
1602
|
/**
|
|
1603
1603
|
* Could not update a node, because the pallet is locked.
|
|
1604
1604
|
**/
|
|
1605
|
-
Locked: GenericPalletError
|
|
1605
|
+
Locked: GenericPalletError;
|
|
1606
1606
|
|
|
1607
1607
|
/**
|
|
1608
1608
|
* Generic pallet error
|
|
1609
1609
|
**/
|
|
1610
|
-
[error: string]: GenericPalletError
|
|
1610
|
+
[error: string]: GenericPalletError;
|
|
1611
1611
|
};
|
|
1612
1612
|
/**
|
|
1613
1613
|
* Pallet `NominationPools`'s errors
|
|
@@ -1616,44 +1616,44 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1616
1616
|
/**
|
|
1617
1617
|
* A (bonded) pool id does not exist.
|
|
1618
1618
|
**/
|
|
1619
|
-
PoolNotFound: GenericPalletError
|
|
1619
|
+
PoolNotFound: GenericPalletError;
|
|
1620
1620
|
|
|
1621
1621
|
/**
|
|
1622
1622
|
* An account is not a member.
|
|
1623
1623
|
**/
|
|
1624
|
-
PoolMemberNotFound: GenericPalletError
|
|
1624
|
+
PoolMemberNotFound: GenericPalletError;
|
|
1625
1625
|
|
|
1626
1626
|
/**
|
|
1627
1627
|
* A reward pool does not exist. In all cases this is a system logic error.
|
|
1628
1628
|
**/
|
|
1629
|
-
RewardPoolNotFound: GenericPalletError
|
|
1629
|
+
RewardPoolNotFound: GenericPalletError;
|
|
1630
1630
|
|
|
1631
1631
|
/**
|
|
1632
1632
|
* A sub pool does not exist.
|
|
1633
1633
|
**/
|
|
1634
|
-
SubPoolsNotFound: GenericPalletError
|
|
1634
|
+
SubPoolsNotFound: GenericPalletError;
|
|
1635
1635
|
|
|
1636
1636
|
/**
|
|
1637
1637
|
* An account is already delegating in another pool. An account may only belong to one
|
|
1638
1638
|
* pool at a time.
|
|
1639
1639
|
**/
|
|
1640
|
-
AccountBelongsToOtherPool: GenericPalletError
|
|
1640
|
+
AccountBelongsToOtherPool: GenericPalletError;
|
|
1641
1641
|
|
|
1642
1642
|
/**
|
|
1643
1643
|
* The member is fully unbonded (and thus cannot access the bonded and reward pool
|
|
1644
1644
|
* anymore to, for example, collect rewards).
|
|
1645
1645
|
**/
|
|
1646
|
-
FullyUnbonding: GenericPalletError
|
|
1646
|
+
FullyUnbonding: GenericPalletError;
|
|
1647
1647
|
|
|
1648
1648
|
/**
|
|
1649
1649
|
* The member cannot unbond further chunks due to reaching the limit.
|
|
1650
1650
|
**/
|
|
1651
|
-
MaxUnbondingLimit: GenericPalletError
|
|
1651
|
+
MaxUnbondingLimit: GenericPalletError;
|
|
1652
1652
|
|
|
1653
1653
|
/**
|
|
1654
1654
|
* None of the funds can be withdrawn yet because the bonding duration has not passed.
|
|
1655
1655
|
**/
|
|
1656
|
-
CannotWithdrawAny: GenericPalletError
|
|
1656
|
+
CannotWithdrawAny: GenericPalletError;
|
|
1657
1657
|
|
|
1658
1658
|
/**
|
|
1659
1659
|
* The amount does not meet the minimum bond to either join or create a pool.
|
|
@@ -1662,160 +1662,160 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1662
1662
|
* caller does not have nominating permissions for the pool. Members can never unbond to a
|
|
1663
1663
|
* value below `MinJoinBond`.
|
|
1664
1664
|
**/
|
|
1665
|
-
MinimumBondNotMet: GenericPalletError
|
|
1665
|
+
MinimumBondNotMet: GenericPalletError;
|
|
1666
1666
|
|
|
1667
1667
|
/**
|
|
1668
1668
|
* The transaction could not be executed due to overflow risk for the pool.
|
|
1669
1669
|
**/
|
|
1670
|
-
OverflowRisk: GenericPalletError
|
|
1670
|
+
OverflowRisk: GenericPalletError;
|
|
1671
1671
|
|
|
1672
1672
|
/**
|
|
1673
1673
|
* A pool must be in [`PoolState::Destroying`] in order for the depositor to unbond or for
|
|
1674
1674
|
* other members to be permissionlessly unbonded.
|
|
1675
1675
|
**/
|
|
1676
|
-
NotDestroying: GenericPalletError
|
|
1676
|
+
NotDestroying: GenericPalletError;
|
|
1677
1677
|
|
|
1678
1678
|
/**
|
|
1679
1679
|
* The caller does not have nominating permissions for the pool.
|
|
1680
1680
|
**/
|
|
1681
|
-
NotNominator: GenericPalletError
|
|
1681
|
+
NotNominator: GenericPalletError;
|
|
1682
1682
|
|
|
1683
1683
|
/**
|
|
1684
1684
|
* Either a) the caller cannot make a valid kick or b) the pool is not destroying.
|
|
1685
1685
|
**/
|
|
1686
|
-
NotKickerOrDestroying: GenericPalletError
|
|
1686
|
+
NotKickerOrDestroying: GenericPalletError;
|
|
1687
1687
|
|
|
1688
1688
|
/**
|
|
1689
1689
|
* The pool is not open to join
|
|
1690
1690
|
**/
|
|
1691
|
-
NotOpen: GenericPalletError
|
|
1691
|
+
NotOpen: GenericPalletError;
|
|
1692
1692
|
|
|
1693
1693
|
/**
|
|
1694
1694
|
* The system is maxed out on pools.
|
|
1695
1695
|
**/
|
|
1696
|
-
MaxPools: GenericPalletError
|
|
1696
|
+
MaxPools: GenericPalletError;
|
|
1697
1697
|
|
|
1698
1698
|
/**
|
|
1699
1699
|
* Too many members in the pool or system.
|
|
1700
1700
|
**/
|
|
1701
|
-
MaxPoolMembers: GenericPalletError
|
|
1701
|
+
MaxPoolMembers: GenericPalletError;
|
|
1702
1702
|
|
|
1703
1703
|
/**
|
|
1704
1704
|
* The pools state cannot be changed.
|
|
1705
1705
|
**/
|
|
1706
|
-
CanNotChangeState: GenericPalletError
|
|
1706
|
+
CanNotChangeState: GenericPalletError;
|
|
1707
1707
|
|
|
1708
1708
|
/**
|
|
1709
1709
|
* The caller does not have adequate permissions.
|
|
1710
1710
|
**/
|
|
1711
|
-
DoesNotHavePermission: GenericPalletError
|
|
1711
|
+
DoesNotHavePermission: GenericPalletError;
|
|
1712
1712
|
|
|
1713
1713
|
/**
|
|
1714
1714
|
* Metadata exceeds [`Config::MaxMetadataLen`]
|
|
1715
1715
|
**/
|
|
1716
|
-
MetadataExceedsMaxLen: GenericPalletError
|
|
1716
|
+
MetadataExceedsMaxLen: GenericPalletError;
|
|
1717
1717
|
|
|
1718
1718
|
/**
|
|
1719
1719
|
* Some error occurred that should never happen. This should be reported to the
|
|
1720
1720
|
* maintainers.
|
|
1721
1721
|
**/
|
|
1722
|
-
Defensive: GenericPalletError
|
|
1722
|
+
Defensive: GenericPalletError;
|
|
1723
1723
|
|
|
1724
1724
|
/**
|
|
1725
1725
|
* Partial unbonding now allowed permissionlessly.
|
|
1726
1726
|
**/
|
|
1727
|
-
PartialUnbondNotAllowedPermissionlessly: GenericPalletError
|
|
1727
|
+
PartialUnbondNotAllowedPermissionlessly: GenericPalletError;
|
|
1728
1728
|
|
|
1729
1729
|
/**
|
|
1730
1730
|
* The pool's max commission cannot be set higher than the existing value.
|
|
1731
1731
|
**/
|
|
1732
|
-
MaxCommissionRestricted: GenericPalletError
|
|
1732
|
+
MaxCommissionRestricted: GenericPalletError;
|
|
1733
1733
|
|
|
1734
1734
|
/**
|
|
1735
1735
|
* The supplied commission exceeds the max allowed commission.
|
|
1736
1736
|
**/
|
|
1737
|
-
CommissionExceedsMaximum: GenericPalletError
|
|
1737
|
+
CommissionExceedsMaximum: GenericPalletError;
|
|
1738
1738
|
|
|
1739
1739
|
/**
|
|
1740
1740
|
* The supplied commission exceeds global maximum commission.
|
|
1741
1741
|
**/
|
|
1742
|
-
CommissionExceedsGlobalMaximum: GenericPalletError
|
|
1742
|
+
CommissionExceedsGlobalMaximum: GenericPalletError;
|
|
1743
1743
|
|
|
1744
1744
|
/**
|
|
1745
1745
|
* Not enough blocks have surpassed since the last commission update.
|
|
1746
1746
|
**/
|
|
1747
|
-
CommissionChangeThrottled: GenericPalletError
|
|
1747
|
+
CommissionChangeThrottled: GenericPalletError;
|
|
1748
1748
|
|
|
1749
1749
|
/**
|
|
1750
1750
|
* The submitted changes to commission change rate are not allowed.
|
|
1751
1751
|
**/
|
|
1752
|
-
CommissionChangeRateNotAllowed: GenericPalletError
|
|
1752
|
+
CommissionChangeRateNotAllowed: GenericPalletError;
|
|
1753
1753
|
|
|
1754
1754
|
/**
|
|
1755
1755
|
* There is no pending commission to claim.
|
|
1756
1756
|
**/
|
|
1757
|
-
NoPendingCommission: GenericPalletError
|
|
1757
|
+
NoPendingCommission: GenericPalletError;
|
|
1758
1758
|
|
|
1759
1759
|
/**
|
|
1760
1760
|
* No commission current has been set.
|
|
1761
1761
|
**/
|
|
1762
|
-
NoCommissionCurrentSet: GenericPalletError
|
|
1762
|
+
NoCommissionCurrentSet: GenericPalletError;
|
|
1763
1763
|
|
|
1764
1764
|
/**
|
|
1765
1765
|
* Pool id currently in use.
|
|
1766
1766
|
**/
|
|
1767
|
-
PoolIdInUse: GenericPalletError
|
|
1767
|
+
PoolIdInUse: GenericPalletError;
|
|
1768
1768
|
|
|
1769
1769
|
/**
|
|
1770
1770
|
* Pool id provided is not correct/usable.
|
|
1771
1771
|
**/
|
|
1772
|
-
InvalidPoolId: GenericPalletError
|
|
1772
|
+
InvalidPoolId: GenericPalletError;
|
|
1773
1773
|
|
|
1774
1774
|
/**
|
|
1775
1775
|
* Bonding extra is restricted to the exact pending reward amount.
|
|
1776
1776
|
**/
|
|
1777
|
-
BondExtraRestricted: GenericPalletError
|
|
1777
|
+
BondExtraRestricted: GenericPalletError;
|
|
1778
1778
|
|
|
1779
1779
|
/**
|
|
1780
1780
|
* No imbalance in the ED deposit for the pool.
|
|
1781
1781
|
**/
|
|
1782
|
-
NothingToAdjust: GenericPalletError
|
|
1782
|
+
NothingToAdjust: GenericPalletError;
|
|
1783
1783
|
|
|
1784
1784
|
/**
|
|
1785
1785
|
* No slash pending that can be applied to the member.
|
|
1786
1786
|
**/
|
|
1787
|
-
NothingToSlash: GenericPalletError
|
|
1787
|
+
NothingToSlash: GenericPalletError;
|
|
1788
1788
|
|
|
1789
1789
|
/**
|
|
1790
1790
|
* The slash amount is too low to be applied.
|
|
1791
1791
|
**/
|
|
1792
|
-
SlashTooLow: GenericPalletError
|
|
1792
|
+
SlashTooLow: GenericPalletError;
|
|
1793
1793
|
|
|
1794
1794
|
/**
|
|
1795
1795
|
* The pool or member delegation has already migrated to delegate stake.
|
|
1796
1796
|
**/
|
|
1797
|
-
AlreadyMigrated: GenericPalletError
|
|
1797
|
+
AlreadyMigrated: GenericPalletError;
|
|
1798
1798
|
|
|
1799
1799
|
/**
|
|
1800
1800
|
* The pool or member delegation has not migrated yet to delegate stake.
|
|
1801
1801
|
**/
|
|
1802
|
-
NotMigrated: GenericPalletError
|
|
1802
|
+
NotMigrated: GenericPalletError;
|
|
1803
1803
|
|
|
1804
1804
|
/**
|
|
1805
1805
|
* This call is not allowed in the current state of the pallet.
|
|
1806
1806
|
**/
|
|
1807
|
-
NotSupported: GenericPalletError
|
|
1807
|
+
NotSupported: GenericPalletError;
|
|
1808
1808
|
|
|
1809
1809
|
/**
|
|
1810
1810
|
* Account is restricted from participation in pools. This may happen if the account is
|
|
1811
1811
|
* staking in another way already.
|
|
1812
1812
|
**/
|
|
1813
|
-
Restricted: GenericPalletError
|
|
1813
|
+
Restricted: GenericPalletError;
|
|
1814
1814
|
|
|
1815
1815
|
/**
|
|
1816
1816
|
* Generic pallet error
|
|
1817
1817
|
**/
|
|
1818
|
-
[error: string]: GenericPalletError
|
|
1818
|
+
[error: string]: GenericPalletError;
|
|
1819
1819
|
};
|
|
1820
1820
|
/**
|
|
1821
1821
|
* Pallet `FastUnstake`'s errors
|
|
@@ -1826,37 +1826,37 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1826
1826
|
*
|
|
1827
1827
|
* This means that the given account is not bonded.
|
|
1828
1828
|
**/
|
|
1829
|
-
NotController: GenericPalletError
|
|
1829
|
+
NotController: GenericPalletError;
|
|
1830
1830
|
|
|
1831
1831
|
/**
|
|
1832
1832
|
* The bonded account has already been queued.
|
|
1833
1833
|
**/
|
|
1834
|
-
AlreadyQueued: GenericPalletError
|
|
1834
|
+
AlreadyQueued: GenericPalletError;
|
|
1835
1835
|
|
|
1836
1836
|
/**
|
|
1837
1837
|
* The bonded account has active unlocking chunks.
|
|
1838
1838
|
**/
|
|
1839
|
-
NotFullyBonded: GenericPalletError
|
|
1839
|
+
NotFullyBonded: GenericPalletError;
|
|
1840
1840
|
|
|
1841
1841
|
/**
|
|
1842
1842
|
* The provided un-staker is not in the `Queue`.
|
|
1843
1843
|
**/
|
|
1844
|
-
NotQueued: GenericPalletError
|
|
1844
|
+
NotQueued: GenericPalletError;
|
|
1845
1845
|
|
|
1846
1846
|
/**
|
|
1847
1847
|
* The provided un-staker is already in Head, and cannot deregister.
|
|
1848
1848
|
**/
|
|
1849
|
-
AlreadyHead: GenericPalletError
|
|
1849
|
+
AlreadyHead: GenericPalletError;
|
|
1850
1850
|
|
|
1851
1851
|
/**
|
|
1852
1852
|
* The call is not allowed at this point because the pallet is not active.
|
|
1853
1853
|
**/
|
|
1854
|
-
CallNotAllowed: GenericPalletError
|
|
1854
|
+
CallNotAllowed: GenericPalletError;
|
|
1855
1855
|
|
|
1856
1856
|
/**
|
|
1857
1857
|
* Generic pallet error
|
|
1858
1858
|
**/
|
|
1859
|
-
[error: string]: GenericPalletError
|
|
1859
|
+
[error: string]: GenericPalletError;
|
|
1860
1860
|
};
|
|
1861
1861
|
/**
|
|
1862
1862
|
* Pallet `DelegatedStaking`'s errors
|
|
@@ -1865,17 +1865,17 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1865
1865
|
/**
|
|
1866
1866
|
* The account cannot perform this operation.
|
|
1867
1867
|
**/
|
|
1868
|
-
NotAllowed: GenericPalletError
|
|
1868
|
+
NotAllowed: GenericPalletError;
|
|
1869
1869
|
|
|
1870
1870
|
/**
|
|
1871
1871
|
* An existing staker cannot perform this action.
|
|
1872
1872
|
**/
|
|
1873
|
-
AlreadyStaking: GenericPalletError
|
|
1873
|
+
AlreadyStaking: GenericPalletError;
|
|
1874
1874
|
|
|
1875
1875
|
/**
|
|
1876
1876
|
* Reward Destination cannot be same as `Agent` account.
|
|
1877
1877
|
**/
|
|
1878
|
-
InvalidRewardDestination: GenericPalletError
|
|
1878
|
+
InvalidRewardDestination: GenericPalletError;
|
|
1879
1879
|
|
|
1880
1880
|
/**
|
|
1881
1881
|
* Delegation conditions are not met.
|
|
@@ -1884,52 +1884,52 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1884
1884
|
* 1) Cannot delegate to self,
|
|
1885
1885
|
* 2) Cannot delegate to multiple delegates.
|
|
1886
1886
|
**/
|
|
1887
|
-
InvalidDelegation: GenericPalletError
|
|
1887
|
+
InvalidDelegation: GenericPalletError;
|
|
1888
1888
|
|
|
1889
1889
|
/**
|
|
1890
1890
|
* The account does not have enough funds to perform the operation.
|
|
1891
1891
|
**/
|
|
1892
|
-
NotEnoughFunds: GenericPalletError
|
|
1892
|
+
NotEnoughFunds: GenericPalletError;
|
|
1893
1893
|
|
|
1894
1894
|
/**
|
|
1895
1895
|
* Not an existing `Agent` account.
|
|
1896
1896
|
**/
|
|
1897
|
-
NotAgent: GenericPalletError
|
|
1897
|
+
NotAgent: GenericPalletError;
|
|
1898
1898
|
|
|
1899
1899
|
/**
|
|
1900
1900
|
* Not a Delegator account.
|
|
1901
1901
|
**/
|
|
1902
|
-
NotDelegator: GenericPalletError
|
|
1902
|
+
NotDelegator: GenericPalletError;
|
|
1903
1903
|
|
|
1904
1904
|
/**
|
|
1905
1905
|
* Some corruption in internal state.
|
|
1906
1906
|
**/
|
|
1907
|
-
BadState: GenericPalletError
|
|
1907
|
+
BadState: GenericPalletError;
|
|
1908
1908
|
|
|
1909
1909
|
/**
|
|
1910
1910
|
* Unapplied pending slash restricts operation on `Agent`.
|
|
1911
1911
|
**/
|
|
1912
|
-
UnappliedSlash: GenericPalletError
|
|
1912
|
+
UnappliedSlash: GenericPalletError;
|
|
1913
1913
|
|
|
1914
1914
|
/**
|
|
1915
1915
|
* `Agent` has no pending slash to be applied.
|
|
1916
1916
|
**/
|
|
1917
|
-
NothingToSlash: GenericPalletError
|
|
1917
|
+
NothingToSlash: GenericPalletError;
|
|
1918
1918
|
|
|
1919
1919
|
/**
|
|
1920
1920
|
* Failed to withdraw amount from Core Staking.
|
|
1921
1921
|
**/
|
|
1922
|
-
WithdrawFailed: GenericPalletError
|
|
1922
|
+
WithdrawFailed: GenericPalletError;
|
|
1923
1923
|
|
|
1924
1924
|
/**
|
|
1925
1925
|
* Operation not supported by this pallet.
|
|
1926
1926
|
**/
|
|
1927
|
-
NotSupported: GenericPalletError
|
|
1927
|
+
NotSupported: GenericPalletError;
|
|
1928
1928
|
|
|
1929
1929
|
/**
|
|
1930
1930
|
* Generic pallet error
|
|
1931
1931
|
**/
|
|
1932
|
-
[error: string]: GenericPalletError
|
|
1932
|
+
[error: string]: GenericPalletError;
|
|
1933
1933
|
};
|
|
1934
1934
|
/**
|
|
1935
1935
|
* Pallet `StakingAhClient`'s errors
|
|
@@ -1938,12 +1938,12 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1938
1938
|
/**
|
|
1939
1939
|
* Could not process incoming message because incoming messages are blocked.
|
|
1940
1940
|
**/
|
|
1941
|
-
Blocked: GenericPalletError
|
|
1941
|
+
Blocked: GenericPalletError;
|
|
1942
1942
|
|
|
1943
1943
|
/**
|
|
1944
1944
|
* Generic pallet error
|
|
1945
1945
|
**/
|
|
1946
|
-
[error: string]: GenericPalletError
|
|
1946
|
+
[error: string]: GenericPalletError;
|
|
1947
1947
|
};
|
|
1948
1948
|
/**
|
|
1949
1949
|
* Pallet `Configuration`'s errors
|
|
@@ -1952,12 +1952,12 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1952
1952
|
/**
|
|
1953
1953
|
* The new value for a configuration parameter is invalid.
|
|
1954
1954
|
**/
|
|
1955
|
-
InvalidNewValue: GenericPalletError
|
|
1955
|
+
InvalidNewValue: GenericPalletError;
|
|
1956
1956
|
|
|
1957
1957
|
/**
|
|
1958
1958
|
* Generic pallet error
|
|
1959
1959
|
**/
|
|
1960
|
-
[error: string]: GenericPalletError
|
|
1960
|
+
[error: string]: GenericPalletError;
|
|
1961
1961
|
};
|
|
1962
1962
|
/**
|
|
1963
1963
|
* Pallet `ParaInclusion`'s errors
|
|
@@ -1966,95 +1966,95 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1966
1966
|
/**
|
|
1967
1967
|
* Validator index out of bounds.
|
|
1968
1968
|
**/
|
|
1969
|
-
ValidatorIndexOutOfBounds: GenericPalletError
|
|
1969
|
+
ValidatorIndexOutOfBounds: GenericPalletError;
|
|
1970
1970
|
|
|
1971
1971
|
/**
|
|
1972
1972
|
* Candidate submitted but para not scheduled.
|
|
1973
1973
|
**/
|
|
1974
|
-
UnscheduledCandidate: GenericPalletError
|
|
1974
|
+
UnscheduledCandidate: GenericPalletError;
|
|
1975
1975
|
|
|
1976
1976
|
/**
|
|
1977
1977
|
* Head data exceeds the configured maximum.
|
|
1978
1978
|
**/
|
|
1979
|
-
HeadDataTooLarge: GenericPalletError
|
|
1979
|
+
HeadDataTooLarge: GenericPalletError;
|
|
1980
1980
|
|
|
1981
1981
|
/**
|
|
1982
1982
|
* Code upgrade prematurely.
|
|
1983
1983
|
**/
|
|
1984
|
-
PrematureCodeUpgrade: GenericPalletError
|
|
1984
|
+
PrematureCodeUpgrade: GenericPalletError;
|
|
1985
1985
|
|
|
1986
1986
|
/**
|
|
1987
1987
|
* Output code is too large
|
|
1988
1988
|
**/
|
|
1989
|
-
NewCodeTooLarge: GenericPalletError
|
|
1989
|
+
NewCodeTooLarge: GenericPalletError;
|
|
1990
1990
|
|
|
1991
1991
|
/**
|
|
1992
1992
|
* The candidate's relay-parent was not allowed. Either it was
|
|
1993
1993
|
* not recent enough or it didn't advance based on the last parachain block.
|
|
1994
1994
|
**/
|
|
1995
|
-
DisallowedRelayParent: GenericPalletError
|
|
1995
|
+
DisallowedRelayParent: GenericPalletError;
|
|
1996
1996
|
|
|
1997
1997
|
/**
|
|
1998
1998
|
* Failed to compute group index for the core: either it's out of bounds
|
|
1999
1999
|
* or the relay parent doesn't belong to the current session.
|
|
2000
2000
|
**/
|
|
2001
|
-
InvalidAssignment: GenericPalletError
|
|
2001
|
+
InvalidAssignment: GenericPalletError;
|
|
2002
2002
|
|
|
2003
2003
|
/**
|
|
2004
2004
|
* Invalid group index in core assignment.
|
|
2005
2005
|
**/
|
|
2006
|
-
InvalidGroupIndex: GenericPalletError
|
|
2006
|
+
InvalidGroupIndex: GenericPalletError;
|
|
2007
2007
|
|
|
2008
2008
|
/**
|
|
2009
2009
|
* Insufficient (non-majority) backing.
|
|
2010
2010
|
**/
|
|
2011
|
-
InsufficientBacking: GenericPalletError
|
|
2011
|
+
InsufficientBacking: GenericPalletError;
|
|
2012
2012
|
|
|
2013
2013
|
/**
|
|
2014
2014
|
* Invalid (bad signature, unknown validator, etc.) backing.
|
|
2015
2015
|
**/
|
|
2016
|
-
InvalidBacking: GenericPalletError
|
|
2016
|
+
InvalidBacking: GenericPalletError;
|
|
2017
2017
|
|
|
2018
2018
|
/**
|
|
2019
2019
|
* The validation data hash does not match expected.
|
|
2020
2020
|
**/
|
|
2021
|
-
ValidationDataHashMismatch: GenericPalletError
|
|
2021
|
+
ValidationDataHashMismatch: GenericPalletError;
|
|
2022
2022
|
|
|
2023
2023
|
/**
|
|
2024
2024
|
* The downward message queue is not processed correctly.
|
|
2025
2025
|
**/
|
|
2026
|
-
IncorrectDownwardMessageHandling: GenericPalletError
|
|
2026
|
+
IncorrectDownwardMessageHandling: GenericPalletError;
|
|
2027
2027
|
|
|
2028
2028
|
/**
|
|
2029
2029
|
* At least one upward message sent does not pass the acceptance criteria.
|
|
2030
2030
|
**/
|
|
2031
|
-
InvalidUpwardMessages: GenericPalletError
|
|
2031
|
+
InvalidUpwardMessages: GenericPalletError;
|
|
2032
2032
|
|
|
2033
2033
|
/**
|
|
2034
2034
|
* The candidate didn't follow the rules of HRMP watermark advancement.
|
|
2035
2035
|
**/
|
|
2036
|
-
HrmpWatermarkMishandling: GenericPalletError
|
|
2036
|
+
HrmpWatermarkMishandling: GenericPalletError;
|
|
2037
2037
|
|
|
2038
2038
|
/**
|
|
2039
2039
|
* The HRMP messages sent by the candidate is not valid.
|
|
2040
2040
|
**/
|
|
2041
|
-
InvalidOutboundHrmp: GenericPalletError
|
|
2041
|
+
InvalidOutboundHrmp: GenericPalletError;
|
|
2042
2042
|
|
|
2043
2043
|
/**
|
|
2044
2044
|
* The validation code hash of the candidate is not valid.
|
|
2045
2045
|
**/
|
|
2046
|
-
InvalidValidationCodeHash: GenericPalletError
|
|
2046
|
+
InvalidValidationCodeHash: GenericPalletError;
|
|
2047
2047
|
|
|
2048
2048
|
/**
|
|
2049
2049
|
* The `para_head` hash in the candidate descriptor doesn't match the hash of the actual
|
|
2050
2050
|
* para head in the commitments.
|
|
2051
2051
|
**/
|
|
2052
|
-
ParaHeadMismatch: GenericPalletError
|
|
2052
|
+
ParaHeadMismatch: GenericPalletError;
|
|
2053
2053
|
|
|
2054
2054
|
/**
|
|
2055
2055
|
* Generic pallet error
|
|
2056
2056
|
**/
|
|
2057
|
-
[error: string]: GenericPalletError
|
|
2057
|
+
[error: string]: GenericPalletError;
|
|
2058
2058
|
};
|
|
2059
2059
|
/**
|
|
2060
2060
|
* Pallet `ParaInherent`'s errors
|
|
@@ -2063,29 +2063,29 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2063
2063
|
/**
|
|
2064
2064
|
* Inclusion inherent called more than once per block.
|
|
2065
2065
|
**/
|
|
2066
|
-
TooManyInclusionInherents: GenericPalletError
|
|
2066
|
+
TooManyInclusionInherents: GenericPalletError;
|
|
2067
2067
|
|
|
2068
2068
|
/**
|
|
2069
2069
|
* The hash of the submitted parent header doesn't correspond to the saved block hash of
|
|
2070
2070
|
* the parent.
|
|
2071
2071
|
**/
|
|
2072
|
-
InvalidParentHeader: GenericPalletError
|
|
2072
|
+
InvalidParentHeader: GenericPalletError;
|
|
2073
2073
|
|
|
2074
2074
|
/**
|
|
2075
2075
|
* Inherent data was filtered during execution. This should have only been done
|
|
2076
2076
|
* during creation.
|
|
2077
2077
|
**/
|
|
2078
|
-
InherentDataFilteredDuringExecution: GenericPalletError
|
|
2078
|
+
InherentDataFilteredDuringExecution: GenericPalletError;
|
|
2079
2079
|
|
|
2080
2080
|
/**
|
|
2081
2081
|
* Too many candidates supplied.
|
|
2082
2082
|
**/
|
|
2083
|
-
UnscheduledCandidate: GenericPalletError
|
|
2083
|
+
UnscheduledCandidate: GenericPalletError;
|
|
2084
2084
|
|
|
2085
2085
|
/**
|
|
2086
2086
|
* Generic pallet error
|
|
2087
2087
|
**/
|
|
2088
|
-
[error: string]: GenericPalletError
|
|
2088
|
+
[error: string]: GenericPalletError;
|
|
2089
2089
|
};
|
|
2090
2090
|
/**
|
|
2091
2091
|
* Pallet `Paras`'s errors
|
|
@@ -2094,87 +2094,87 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2094
2094
|
/**
|
|
2095
2095
|
* Para is not registered in our system.
|
|
2096
2096
|
**/
|
|
2097
|
-
NotRegistered: GenericPalletError
|
|
2097
|
+
NotRegistered: GenericPalletError;
|
|
2098
2098
|
|
|
2099
2099
|
/**
|
|
2100
2100
|
* Para cannot be onboarded because it is already tracked by our system.
|
|
2101
2101
|
**/
|
|
2102
|
-
CannotOnboard: GenericPalletError
|
|
2102
|
+
CannotOnboard: GenericPalletError;
|
|
2103
2103
|
|
|
2104
2104
|
/**
|
|
2105
2105
|
* Para cannot be offboarded at this time.
|
|
2106
2106
|
**/
|
|
2107
|
-
CannotOffboard: GenericPalletError
|
|
2107
|
+
CannotOffboard: GenericPalletError;
|
|
2108
2108
|
|
|
2109
2109
|
/**
|
|
2110
2110
|
* Para cannot be upgraded to a lease holding parachain.
|
|
2111
2111
|
**/
|
|
2112
|
-
CannotUpgrade: GenericPalletError
|
|
2112
|
+
CannotUpgrade: GenericPalletError;
|
|
2113
2113
|
|
|
2114
2114
|
/**
|
|
2115
2115
|
* Para cannot be downgraded to an on-demand parachain.
|
|
2116
2116
|
**/
|
|
2117
|
-
CannotDowngrade: GenericPalletError
|
|
2117
|
+
CannotDowngrade: GenericPalletError;
|
|
2118
2118
|
|
|
2119
2119
|
/**
|
|
2120
2120
|
* The statement for PVF pre-checking is stale.
|
|
2121
2121
|
**/
|
|
2122
|
-
PvfCheckStatementStale: GenericPalletError
|
|
2122
|
+
PvfCheckStatementStale: GenericPalletError;
|
|
2123
2123
|
|
|
2124
2124
|
/**
|
|
2125
2125
|
* The statement for PVF pre-checking is for a future session.
|
|
2126
2126
|
**/
|
|
2127
|
-
PvfCheckStatementFuture: GenericPalletError
|
|
2127
|
+
PvfCheckStatementFuture: GenericPalletError;
|
|
2128
2128
|
|
|
2129
2129
|
/**
|
|
2130
2130
|
* Claimed validator index is out of bounds.
|
|
2131
2131
|
**/
|
|
2132
|
-
PvfCheckValidatorIndexOutOfBounds: GenericPalletError
|
|
2132
|
+
PvfCheckValidatorIndexOutOfBounds: GenericPalletError;
|
|
2133
2133
|
|
|
2134
2134
|
/**
|
|
2135
2135
|
* The signature for the PVF pre-checking is invalid.
|
|
2136
2136
|
**/
|
|
2137
|
-
PvfCheckInvalidSignature: GenericPalletError
|
|
2137
|
+
PvfCheckInvalidSignature: GenericPalletError;
|
|
2138
2138
|
|
|
2139
2139
|
/**
|
|
2140
2140
|
* The given validator already has cast a vote.
|
|
2141
2141
|
**/
|
|
2142
|
-
PvfCheckDoubleVote: GenericPalletError
|
|
2142
|
+
PvfCheckDoubleVote: GenericPalletError;
|
|
2143
2143
|
|
|
2144
2144
|
/**
|
|
2145
2145
|
* The given PVF does not exist at the moment of process a vote.
|
|
2146
2146
|
**/
|
|
2147
|
-
PvfCheckSubjectInvalid: GenericPalletError
|
|
2147
|
+
PvfCheckSubjectInvalid: GenericPalletError;
|
|
2148
2148
|
|
|
2149
2149
|
/**
|
|
2150
2150
|
* Parachain cannot currently schedule a code upgrade.
|
|
2151
2151
|
**/
|
|
2152
|
-
CannotUpgradeCode: GenericPalletError
|
|
2152
|
+
CannotUpgradeCode: GenericPalletError;
|
|
2153
2153
|
|
|
2154
2154
|
/**
|
|
2155
2155
|
* Invalid validation code size.
|
|
2156
2156
|
**/
|
|
2157
|
-
InvalidCode: GenericPalletError
|
|
2157
|
+
InvalidCode: GenericPalletError;
|
|
2158
2158
|
|
|
2159
2159
|
/**
|
|
2160
2160
|
* No upgrade authorized.
|
|
2161
2161
|
**/
|
|
2162
|
-
NothingAuthorized: GenericPalletError
|
|
2162
|
+
NothingAuthorized: GenericPalletError;
|
|
2163
2163
|
|
|
2164
2164
|
/**
|
|
2165
2165
|
* The submitted code is not authorized.
|
|
2166
2166
|
**/
|
|
2167
|
-
Unauthorized: GenericPalletError
|
|
2167
|
+
Unauthorized: GenericPalletError;
|
|
2168
2168
|
|
|
2169
2169
|
/**
|
|
2170
2170
|
* Invalid block number.
|
|
2171
2171
|
**/
|
|
2172
|
-
InvalidBlockNumber: GenericPalletError
|
|
2172
|
+
InvalidBlockNumber: GenericPalletError;
|
|
2173
2173
|
|
|
2174
2174
|
/**
|
|
2175
2175
|
* Generic pallet error
|
|
2176
2176
|
**/
|
|
2177
|
-
[error: string]: GenericPalletError
|
|
2177
|
+
[error: string]: GenericPalletError;
|
|
2178
2178
|
};
|
|
2179
2179
|
/**
|
|
2180
2180
|
* Pallet `Hrmp`'s errors
|
|
@@ -2183,107 +2183,107 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2183
2183
|
/**
|
|
2184
2184
|
* The sender tried to open a channel to themselves.
|
|
2185
2185
|
**/
|
|
2186
|
-
OpenHrmpChannelToSelf: GenericPalletError
|
|
2186
|
+
OpenHrmpChannelToSelf: GenericPalletError;
|
|
2187
2187
|
|
|
2188
2188
|
/**
|
|
2189
2189
|
* The recipient is not a valid para.
|
|
2190
2190
|
**/
|
|
2191
|
-
OpenHrmpChannelInvalidRecipient: GenericPalletError
|
|
2191
|
+
OpenHrmpChannelInvalidRecipient: GenericPalletError;
|
|
2192
2192
|
|
|
2193
2193
|
/**
|
|
2194
2194
|
* The requested capacity is zero.
|
|
2195
2195
|
**/
|
|
2196
|
-
OpenHrmpChannelZeroCapacity: GenericPalletError
|
|
2196
|
+
OpenHrmpChannelZeroCapacity: GenericPalletError;
|
|
2197
2197
|
|
|
2198
2198
|
/**
|
|
2199
2199
|
* The requested capacity exceeds the global limit.
|
|
2200
2200
|
**/
|
|
2201
|
-
OpenHrmpChannelCapacityExceedsLimit: GenericPalletError
|
|
2201
|
+
OpenHrmpChannelCapacityExceedsLimit: GenericPalletError;
|
|
2202
2202
|
|
|
2203
2203
|
/**
|
|
2204
2204
|
* The requested maximum message size is 0.
|
|
2205
2205
|
**/
|
|
2206
|
-
OpenHrmpChannelZeroMessageSize: GenericPalletError
|
|
2206
|
+
OpenHrmpChannelZeroMessageSize: GenericPalletError;
|
|
2207
2207
|
|
|
2208
2208
|
/**
|
|
2209
2209
|
* The open request requested the message size that exceeds the global limit.
|
|
2210
2210
|
**/
|
|
2211
|
-
OpenHrmpChannelMessageSizeExceedsLimit: GenericPalletError
|
|
2211
|
+
OpenHrmpChannelMessageSizeExceedsLimit: GenericPalletError;
|
|
2212
2212
|
|
|
2213
2213
|
/**
|
|
2214
2214
|
* The channel already exists
|
|
2215
2215
|
**/
|
|
2216
|
-
OpenHrmpChannelAlreadyExists: GenericPalletError
|
|
2216
|
+
OpenHrmpChannelAlreadyExists: GenericPalletError;
|
|
2217
2217
|
|
|
2218
2218
|
/**
|
|
2219
2219
|
* There is already a request to open the same channel.
|
|
2220
2220
|
**/
|
|
2221
|
-
OpenHrmpChannelAlreadyRequested: GenericPalletError
|
|
2221
|
+
OpenHrmpChannelAlreadyRequested: GenericPalletError;
|
|
2222
2222
|
|
|
2223
2223
|
/**
|
|
2224
2224
|
* The sender already has the maximum number of allowed outbound channels.
|
|
2225
2225
|
**/
|
|
2226
|
-
OpenHrmpChannelLimitExceeded: GenericPalletError
|
|
2226
|
+
OpenHrmpChannelLimitExceeded: GenericPalletError;
|
|
2227
2227
|
|
|
2228
2228
|
/**
|
|
2229
2229
|
* The channel from the sender to the origin doesn't exist.
|
|
2230
2230
|
**/
|
|
2231
|
-
AcceptHrmpChannelDoesntExist: GenericPalletError
|
|
2231
|
+
AcceptHrmpChannelDoesntExist: GenericPalletError;
|
|
2232
2232
|
|
|
2233
2233
|
/**
|
|
2234
2234
|
* The channel is already confirmed.
|
|
2235
2235
|
**/
|
|
2236
|
-
AcceptHrmpChannelAlreadyConfirmed: GenericPalletError
|
|
2236
|
+
AcceptHrmpChannelAlreadyConfirmed: GenericPalletError;
|
|
2237
2237
|
|
|
2238
2238
|
/**
|
|
2239
2239
|
* The recipient already has the maximum number of allowed inbound channels.
|
|
2240
2240
|
**/
|
|
2241
|
-
AcceptHrmpChannelLimitExceeded: GenericPalletError
|
|
2241
|
+
AcceptHrmpChannelLimitExceeded: GenericPalletError;
|
|
2242
2242
|
|
|
2243
2243
|
/**
|
|
2244
2244
|
* The origin tries to close a channel where it is neither the sender nor the recipient.
|
|
2245
2245
|
**/
|
|
2246
|
-
CloseHrmpChannelUnauthorized: GenericPalletError
|
|
2246
|
+
CloseHrmpChannelUnauthorized: GenericPalletError;
|
|
2247
2247
|
|
|
2248
2248
|
/**
|
|
2249
2249
|
* The channel to be closed doesn't exist.
|
|
2250
2250
|
**/
|
|
2251
|
-
CloseHrmpChannelDoesntExist: GenericPalletError
|
|
2251
|
+
CloseHrmpChannelDoesntExist: GenericPalletError;
|
|
2252
2252
|
|
|
2253
2253
|
/**
|
|
2254
2254
|
* The channel close request is already requested.
|
|
2255
2255
|
**/
|
|
2256
|
-
CloseHrmpChannelAlreadyUnderway: GenericPalletError
|
|
2256
|
+
CloseHrmpChannelAlreadyUnderway: GenericPalletError;
|
|
2257
2257
|
|
|
2258
2258
|
/**
|
|
2259
2259
|
* Canceling is requested by neither the sender nor recipient of the open channel request.
|
|
2260
2260
|
**/
|
|
2261
|
-
CancelHrmpOpenChannelUnauthorized: GenericPalletError
|
|
2261
|
+
CancelHrmpOpenChannelUnauthorized: GenericPalletError;
|
|
2262
2262
|
|
|
2263
2263
|
/**
|
|
2264
2264
|
* The open request doesn't exist.
|
|
2265
2265
|
**/
|
|
2266
|
-
OpenHrmpChannelDoesntExist: GenericPalletError
|
|
2266
|
+
OpenHrmpChannelDoesntExist: GenericPalletError;
|
|
2267
2267
|
|
|
2268
2268
|
/**
|
|
2269
2269
|
* Cannot cancel an HRMP open channel request because it is already confirmed.
|
|
2270
2270
|
**/
|
|
2271
|
-
OpenHrmpChannelAlreadyConfirmed: GenericPalletError
|
|
2271
|
+
OpenHrmpChannelAlreadyConfirmed: GenericPalletError;
|
|
2272
2272
|
|
|
2273
2273
|
/**
|
|
2274
2274
|
* The provided witness data is wrong.
|
|
2275
2275
|
**/
|
|
2276
|
-
WrongWitness: GenericPalletError
|
|
2276
|
+
WrongWitness: GenericPalletError;
|
|
2277
2277
|
|
|
2278
2278
|
/**
|
|
2279
2279
|
* The channel between these two chains cannot be authorized.
|
|
2280
2280
|
**/
|
|
2281
|
-
ChannelCreationNotAuthorized: GenericPalletError
|
|
2281
|
+
ChannelCreationNotAuthorized: GenericPalletError;
|
|
2282
2282
|
|
|
2283
2283
|
/**
|
|
2284
2284
|
* Generic pallet error
|
|
2285
2285
|
**/
|
|
2286
|
-
[error: string]: GenericPalletError
|
|
2286
|
+
[error: string]: GenericPalletError;
|
|
2287
2287
|
};
|
|
2288
2288
|
/**
|
|
2289
2289
|
* Pallet `ParasDisputes`'s errors
|
|
@@ -2292,52 +2292,52 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2292
2292
|
/**
|
|
2293
2293
|
* Duplicate dispute statement sets provided.
|
|
2294
2294
|
**/
|
|
2295
|
-
DuplicateDisputeStatementSets: GenericPalletError
|
|
2295
|
+
DuplicateDisputeStatementSets: GenericPalletError;
|
|
2296
2296
|
|
|
2297
2297
|
/**
|
|
2298
2298
|
* Ancient dispute statement provided.
|
|
2299
2299
|
**/
|
|
2300
|
-
AncientDisputeStatement: GenericPalletError
|
|
2300
|
+
AncientDisputeStatement: GenericPalletError;
|
|
2301
2301
|
|
|
2302
2302
|
/**
|
|
2303
2303
|
* Validator index on statement is out of bounds for session.
|
|
2304
2304
|
**/
|
|
2305
|
-
ValidatorIndexOutOfBounds: GenericPalletError
|
|
2305
|
+
ValidatorIndexOutOfBounds: GenericPalletError;
|
|
2306
2306
|
|
|
2307
2307
|
/**
|
|
2308
2308
|
* Invalid signature on statement.
|
|
2309
2309
|
**/
|
|
2310
|
-
InvalidSignature: GenericPalletError
|
|
2310
|
+
InvalidSignature: GenericPalletError;
|
|
2311
2311
|
|
|
2312
2312
|
/**
|
|
2313
2313
|
* Validator vote submitted more than once to dispute.
|
|
2314
2314
|
**/
|
|
2315
|
-
DuplicateStatement: GenericPalletError
|
|
2315
|
+
DuplicateStatement: GenericPalletError;
|
|
2316
2316
|
|
|
2317
2317
|
/**
|
|
2318
2318
|
* A dispute where there are only votes on one side.
|
|
2319
2319
|
**/
|
|
2320
|
-
SingleSidedDispute: GenericPalletError
|
|
2320
|
+
SingleSidedDispute: GenericPalletError;
|
|
2321
2321
|
|
|
2322
2322
|
/**
|
|
2323
2323
|
* A dispute vote from a malicious backer.
|
|
2324
2324
|
**/
|
|
2325
|
-
MaliciousBacker: GenericPalletError
|
|
2325
|
+
MaliciousBacker: GenericPalletError;
|
|
2326
2326
|
|
|
2327
2327
|
/**
|
|
2328
2328
|
* No backing votes were provides along dispute statements.
|
|
2329
2329
|
**/
|
|
2330
|
-
MissingBackingVotes: GenericPalletError
|
|
2330
|
+
MissingBackingVotes: GenericPalletError;
|
|
2331
2331
|
|
|
2332
2332
|
/**
|
|
2333
2333
|
* Unconfirmed dispute statement sets provided.
|
|
2334
2334
|
**/
|
|
2335
|
-
UnconfirmedDispute: GenericPalletError
|
|
2335
|
+
UnconfirmedDispute: GenericPalletError;
|
|
2336
2336
|
|
|
2337
2337
|
/**
|
|
2338
2338
|
* Generic pallet error
|
|
2339
2339
|
**/
|
|
2340
|
-
[error: string]: GenericPalletError
|
|
2340
|
+
[error: string]: GenericPalletError;
|
|
2341
2341
|
};
|
|
2342
2342
|
/**
|
|
2343
2343
|
* Pallet `ParasSlashing`'s errors
|
|
@@ -2346,38 +2346,38 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2346
2346
|
/**
|
|
2347
2347
|
* The key ownership proof is invalid.
|
|
2348
2348
|
**/
|
|
2349
|
-
InvalidKeyOwnershipProof: GenericPalletError
|
|
2349
|
+
InvalidKeyOwnershipProof: GenericPalletError;
|
|
2350
2350
|
|
|
2351
2351
|
/**
|
|
2352
2352
|
* The session index is too old or invalid.
|
|
2353
2353
|
**/
|
|
2354
|
-
InvalidSessionIndex: GenericPalletError
|
|
2354
|
+
InvalidSessionIndex: GenericPalletError;
|
|
2355
2355
|
|
|
2356
2356
|
/**
|
|
2357
2357
|
* The candidate hash is invalid.
|
|
2358
2358
|
**/
|
|
2359
|
-
InvalidCandidateHash: GenericPalletError
|
|
2359
|
+
InvalidCandidateHash: GenericPalletError;
|
|
2360
2360
|
|
|
2361
2361
|
/**
|
|
2362
2362
|
* There is no pending slash for the given validator index and time
|
|
2363
2363
|
* slot.
|
|
2364
2364
|
**/
|
|
2365
|
-
InvalidValidatorIndex: GenericPalletError
|
|
2365
|
+
InvalidValidatorIndex: GenericPalletError;
|
|
2366
2366
|
|
|
2367
2367
|
/**
|
|
2368
2368
|
* The validator index does not match the validator id.
|
|
2369
2369
|
**/
|
|
2370
|
-
ValidatorIndexIdMismatch: GenericPalletError
|
|
2370
|
+
ValidatorIndexIdMismatch: GenericPalletError;
|
|
2371
2371
|
|
|
2372
2372
|
/**
|
|
2373
2373
|
* The given slashing report is valid but already previously reported.
|
|
2374
2374
|
**/
|
|
2375
|
-
DuplicateSlashingReport: GenericPalletError
|
|
2375
|
+
DuplicateSlashingReport: GenericPalletError;
|
|
2376
2376
|
|
|
2377
2377
|
/**
|
|
2378
2378
|
* Generic pallet error
|
|
2379
2379
|
**/
|
|
2380
|
-
[error: string]: GenericPalletError
|
|
2380
|
+
[error: string]: GenericPalletError;
|
|
2381
2381
|
};
|
|
2382
2382
|
/**
|
|
2383
2383
|
* Pallet `OnDemandAssignmentProvider`'s errors
|
|
@@ -2386,40 +2386,40 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2386
2386
|
/**
|
|
2387
2387
|
* The order queue is full, `place_order` will not continue.
|
|
2388
2388
|
**/
|
|
2389
|
-
QueueFull: GenericPalletError
|
|
2389
|
+
QueueFull: GenericPalletError;
|
|
2390
2390
|
|
|
2391
2391
|
/**
|
|
2392
2392
|
* The current spot price is higher than the max amount specified in the `place_order`
|
|
2393
2393
|
* call, making it invalid.
|
|
2394
2394
|
**/
|
|
2395
|
-
SpotPriceHigherThanMaxAmount: GenericPalletError
|
|
2395
|
+
SpotPriceHigherThanMaxAmount: GenericPalletError;
|
|
2396
2396
|
|
|
2397
2397
|
/**
|
|
2398
2398
|
* The account doesn't have enough credits to purchase on-demand coretime.
|
|
2399
2399
|
**/
|
|
2400
|
-
InsufficientCredits: GenericPalletError
|
|
2400
|
+
InsufficientCredits: GenericPalletError;
|
|
2401
2401
|
|
|
2402
2402
|
/**
|
|
2403
2403
|
* Generic pallet error
|
|
2404
2404
|
**/
|
|
2405
|
-
[error: string]: GenericPalletError
|
|
2405
|
+
[error: string]: GenericPalletError;
|
|
2406
2406
|
};
|
|
2407
2407
|
/**
|
|
2408
2408
|
* Pallet `CoretimeAssignmentProvider`'s errors
|
|
2409
2409
|
**/
|
|
2410
2410
|
coretimeAssignmentProvider: {
|
|
2411
|
-
AssignmentsEmpty: GenericPalletError
|
|
2411
|
+
AssignmentsEmpty: GenericPalletError;
|
|
2412
2412
|
|
|
2413
2413
|
/**
|
|
2414
2414
|
* assign_core is only allowed to append new assignments at the end of already existing
|
|
2415
2415
|
* ones or update the last entry.
|
|
2416
2416
|
**/
|
|
2417
|
-
DisallowedInsert: GenericPalletError
|
|
2417
|
+
DisallowedInsert: GenericPalletError;
|
|
2418
2418
|
|
|
2419
2419
|
/**
|
|
2420
2420
|
* Generic pallet error
|
|
2421
2421
|
**/
|
|
2422
|
-
[error: string]: GenericPalletError
|
|
2422
|
+
[error: string]: GenericPalletError;
|
|
2423
2423
|
};
|
|
2424
2424
|
/**
|
|
2425
2425
|
* Pallet `Registrar`'s errors
|
|
@@ -2428,79 +2428,79 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2428
2428
|
/**
|
|
2429
2429
|
* The ID is not registered.
|
|
2430
2430
|
**/
|
|
2431
|
-
NotRegistered: GenericPalletError
|
|
2431
|
+
NotRegistered: GenericPalletError;
|
|
2432
2432
|
|
|
2433
2433
|
/**
|
|
2434
2434
|
* The ID is already registered.
|
|
2435
2435
|
**/
|
|
2436
|
-
AlreadyRegistered: GenericPalletError
|
|
2436
|
+
AlreadyRegistered: GenericPalletError;
|
|
2437
2437
|
|
|
2438
2438
|
/**
|
|
2439
2439
|
* The caller is not the owner of this Id.
|
|
2440
2440
|
**/
|
|
2441
|
-
NotOwner: GenericPalletError
|
|
2441
|
+
NotOwner: GenericPalletError;
|
|
2442
2442
|
|
|
2443
2443
|
/**
|
|
2444
2444
|
* Invalid para code size.
|
|
2445
2445
|
**/
|
|
2446
|
-
CodeTooLarge: GenericPalletError
|
|
2446
|
+
CodeTooLarge: GenericPalletError;
|
|
2447
2447
|
|
|
2448
2448
|
/**
|
|
2449
2449
|
* Invalid para head data size.
|
|
2450
2450
|
**/
|
|
2451
|
-
HeadDataTooLarge: GenericPalletError
|
|
2451
|
+
HeadDataTooLarge: GenericPalletError;
|
|
2452
2452
|
|
|
2453
2453
|
/**
|
|
2454
2454
|
* Para is not a Parachain.
|
|
2455
2455
|
**/
|
|
2456
|
-
NotParachain: GenericPalletError
|
|
2456
|
+
NotParachain: GenericPalletError;
|
|
2457
2457
|
|
|
2458
2458
|
/**
|
|
2459
2459
|
* Para is not a Parathread (on-demand parachain).
|
|
2460
2460
|
**/
|
|
2461
|
-
NotParathread: GenericPalletError
|
|
2461
|
+
NotParathread: GenericPalletError;
|
|
2462
2462
|
|
|
2463
2463
|
/**
|
|
2464
2464
|
* Cannot deregister para
|
|
2465
2465
|
**/
|
|
2466
|
-
CannotDeregister: GenericPalletError
|
|
2466
|
+
CannotDeregister: GenericPalletError;
|
|
2467
2467
|
|
|
2468
2468
|
/**
|
|
2469
2469
|
* Cannot schedule downgrade of lease holding parachain to on-demand parachain
|
|
2470
2470
|
**/
|
|
2471
|
-
CannotDowngrade: GenericPalletError
|
|
2471
|
+
CannotDowngrade: GenericPalletError;
|
|
2472
2472
|
|
|
2473
2473
|
/**
|
|
2474
2474
|
* Cannot schedule upgrade of on-demand parachain to lease holding parachain
|
|
2475
2475
|
**/
|
|
2476
|
-
CannotUpgrade: GenericPalletError
|
|
2476
|
+
CannotUpgrade: GenericPalletError;
|
|
2477
2477
|
|
|
2478
2478
|
/**
|
|
2479
2479
|
* Para is locked from manipulation by the manager. Must use parachain or relay chain
|
|
2480
2480
|
* governance.
|
|
2481
2481
|
**/
|
|
2482
|
-
ParaLocked: GenericPalletError
|
|
2482
|
+
ParaLocked: GenericPalletError;
|
|
2483
2483
|
|
|
2484
2484
|
/**
|
|
2485
2485
|
* The ID given for registration has not been reserved.
|
|
2486
2486
|
**/
|
|
2487
|
-
NotReserved: GenericPalletError
|
|
2487
|
+
NotReserved: GenericPalletError;
|
|
2488
2488
|
|
|
2489
2489
|
/**
|
|
2490
2490
|
* The validation code is invalid.
|
|
2491
2491
|
**/
|
|
2492
|
-
InvalidCode: GenericPalletError
|
|
2492
|
+
InvalidCode: GenericPalletError;
|
|
2493
2493
|
|
|
2494
2494
|
/**
|
|
2495
2495
|
* Cannot perform a parachain slot / lifecycle swap. Check that the state of both paras
|
|
2496
2496
|
* are correct for the swap to work.
|
|
2497
2497
|
**/
|
|
2498
|
-
CannotSwap: GenericPalletError
|
|
2498
|
+
CannotSwap: GenericPalletError;
|
|
2499
2499
|
|
|
2500
2500
|
/**
|
|
2501
2501
|
* Generic pallet error
|
|
2502
2502
|
**/
|
|
2503
|
-
[error: string]: GenericPalletError
|
|
2503
|
+
[error: string]: GenericPalletError;
|
|
2504
2504
|
};
|
|
2505
2505
|
/**
|
|
2506
2506
|
* Pallet `Slots`'s errors
|
|
@@ -2509,17 +2509,17 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2509
2509
|
/**
|
|
2510
2510
|
* The parachain ID is not onboarding.
|
|
2511
2511
|
**/
|
|
2512
|
-
ParaNotOnboarding: GenericPalletError
|
|
2512
|
+
ParaNotOnboarding: GenericPalletError;
|
|
2513
2513
|
|
|
2514
2514
|
/**
|
|
2515
2515
|
* There was an error with the lease.
|
|
2516
2516
|
**/
|
|
2517
|
-
LeaseError: GenericPalletError
|
|
2517
|
+
LeaseError: GenericPalletError;
|
|
2518
2518
|
|
|
2519
2519
|
/**
|
|
2520
2520
|
* Generic pallet error
|
|
2521
2521
|
**/
|
|
2522
|
-
[error: string]: GenericPalletError
|
|
2522
|
+
[error: string]: GenericPalletError;
|
|
2523
2523
|
};
|
|
2524
2524
|
/**
|
|
2525
2525
|
* Pallet `Auctions`'s errors
|
|
@@ -2528,42 +2528,42 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2528
2528
|
/**
|
|
2529
2529
|
* This auction is already in progress.
|
|
2530
2530
|
**/
|
|
2531
|
-
AuctionInProgress: GenericPalletError
|
|
2531
|
+
AuctionInProgress: GenericPalletError;
|
|
2532
2532
|
|
|
2533
2533
|
/**
|
|
2534
2534
|
* The lease period is in the past.
|
|
2535
2535
|
**/
|
|
2536
|
-
LeasePeriodInPast: GenericPalletError
|
|
2536
|
+
LeasePeriodInPast: GenericPalletError;
|
|
2537
2537
|
|
|
2538
2538
|
/**
|
|
2539
2539
|
* Para is not registered
|
|
2540
2540
|
**/
|
|
2541
|
-
ParaNotRegistered: GenericPalletError
|
|
2541
|
+
ParaNotRegistered: GenericPalletError;
|
|
2542
2542
|
|
|
2543
2543
|
/**
|
|
2544
2544
|
* Not a current auction.
|
|
2545
2545
|
**/
|
|
2546
|
-
NotCurrentAuction: GenericPalletError
|
|
2546
|
+
NotCurrentAuction: GenericPalletError;
|
|
2547
2547
|
|
|
2548
2548
|
/**
|
|
2549
2549
|
* Not an auction.
|
|
2550
2550
|
**/
|
|
2551
|
-
NotAuction: GenericPalletError
|
|
2551
|
+
NotAuction: GenericPalletError;
|
|
2552
2552
|
|
|
2553
2553
|
/**
|
|
2554
2554
|
* Auction has already ended.
|
|
2555
2555
|
**/
|
|
2556
|
-
AuctionEnded: GenericPalletError
|
|
2556
|
+
AuctionEnded: GenericPalletError;
|
|
2557
2557
|
|
|
2558
2558
|
/**
|
|
2559
2559
|
* The para is already leased out for part of this range.
|
|
2560
2560
|
**/
|
|
2561
|
-
AlreadyLeasedOut: GenericPalletError
|
|
2561
|
+
AlreadyLeasedOut: GenericPalletError;
|
|
2562
2562
|
|
|
2563
2563
|
/**
|
|
2564
2564
|
* Generic pallet error
|
|
2565
2565
|
**/
|
|
2566
|
-
[error: string]: GenericPalletError
|
|
2566
|
+
[error: string]: GenericPalletError;
|
|
2567
2567
|
};
|
|
2568
2568
|
/**
|
|
2569
2569
|
* Pallet `Crowdloan`'s errors
|
|
@@ -2572,123 +2572,123 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2572
2572
|
/**
|
|
2573
2573
|
* The current lease period is more than the first lease period.
|
|
2574
2574
|
**/
|
|
2575
|
-
FirstPeriodInPast: GenericPalletError
|
|
2575
|
+
FirstPeriodInPast: GenericPalletError;
|
|
2576
2576
|
|
|
2577
2577
|
/**
|
|
2578
2578
|
* The first lease period needs to at least be less than 3 `max_value`.
|
|
2579
2579
|
**/
|
|
2580
|
-
FirstPeriodTooFarInFuture: GenericPalletError
|
|
2580
|
+
FirstPeriodTooFarInFuture: GenericPalletError;
|
|
2581
2581
|
|
|
2582
2582
|
/**
|
|
2583
2583
|
* Last lease period must be greater than first lease period.
|
|
2584
2584
|
**/
|
|
2585
|
-
LastPeriodBeforeFirstPeriod: GenericPalletError
|
|
2585
|
+
LastPeriodBeforeFirstPeriod: GenericPalletError;
|
|
2586
2586
|
|
|
2587
2587
|
/**
|
|
2588
2588
|
* The last lease period cannot be more than 3 periods after the first period.
|
|
2589
2589
|
**/
|
|
2590
|
-
LastPeriodTooFarInFuture: GenericPalletError
|
|
2590
|
+
LastPeriodTooFarInFuture: GenericPalletError;
|
|
2591
2591
|
|
|
2592
2592
|
/**
|
|
2593
2593
|
* The campaign ends before the current block number. The end must be in the future.
|
|
2594
2594
|
**/
|
|
2595
|
-
CannotEndInPast: GenericPalletError
|
|
2595
|
+
CannotEndInPast: GenericPalletError;
|
|
2596
2596
|
|
|
2597
2597
|
/**
|
|
2598
2598
|
* The end date for this crowdloan is not sensible.
|
|
2599
2599
|
**/
|
|
2600
|
-
EndTooFarInFuture: GenericPalletError
|
|
2600
|
+
EndTooFarInFuture: GenericPalletError;
|
|
2601
2601
|
|
|
2602
2602
|
/**
|
|
2603
2603
|
* There was an overflow.
|
|
2604
2604
|
**/
|
|
2605
|
-
Overflow: GenericPalletError
|
|
2605
|
+
Overflow: GenericPalletError;
|
|
2606
2606
|
|
|
2607
2607
|
/**
|
|
2608
2608
|
* The contribution was below the minimum, `MinContribution`.
|
|
2609
2609
|
**/
|
|
2610
|
-
ContributionTooSmall: GenericPalletError
|
|
2610
|
+
ContributionTooSmall: GenericPalletError;
|
|
2611
2611
|
|
|
2612
2612
|
/**
|
|
2613
2613
|
* Invalid fund index.
|
|
2614
2614
|
**/
|
|
2615
|
-
InvalidParaId: GenericPalletError
|
|
2615
|
+
InvalidParaId: GenericPalletError;
|
|
2616
2616
|
|
|
2617
2617
|
/**
|
|
2618
2618
|
* Contributions exceed maximum amount.
|
|
2619
2619
|
**/
|
|
2620
|
-
CapExceeded: GenericPalletError
|
|
2620
|
+
CapExceeded: GenericPalletError;
|
|
2621
2621
|
|
|
2622
2622
|
/**
|
|
2623
2623
|
* The contribution period has already ended.
|
|
2624
2624
|
**/
|
|
2625
|
-
ContributionPeriodOver: GenericPalletError
|
|
2625
|
+
ContributionPeriodOver: GenericPalletError;
|
|
2626
2626
|
|
|
2627
2627
|
/**
|
|
2628
2628
|
* The origin of this call is invalid.
|
|
2629
2629
|
**/
|
|
2630
|
-
InvalidOrigin: GenericPalletError
|
|
2630
|
+
InvalidOrigin: GenericPalletError;
|
|
2631
2631
|
|
|
2632
2632
|
/**
|
|
2633
2633
|
* This crowdloan does not correspond to a parachain.
|
|
2634
2634
|
**/
|
|
2635
|
-
NotParachain: GenericPalletError
|
|
2635
|
+
NotParachain: GenericPalletError;
|
|
2636
2636
|
|
|
2637
2637
|
/**
|
|
2638
2638
|
* This parachain lease is still active and retirement cannot yet begin.
|
|
2639
2639
|
**/
|
|
2640
|
-
LeaseActive: GenericPalletError
|
|
2640
|
+
LeaseActive: GenericPalletError;
|
|
2641
2641
|
|
|
2642
2642
|
/**
|
|
2643
2643
|
* This parachain's bid or lease is still active and withdraw cannot yet begin.
|
|
2644
2644
|
**/
|
|
2645
|
-
BidOrLeaseActive: GenericPalletError
|
|
2645
|
+
BidOrLeaseActive: GenericPalletError;
|
|
2646
2646
|
|
|
2647
2647
|
/**
|
|
2648
2648
|
* The crowdloan has not yet ended.
|
|
2649
2649
|
**/
|
|
2650
|
-
FundNotEnded: GenericPalletError
|
|
2650
|
+
FundNotEnded: GenericPalletError;
|
|
2651
2651
|
|
|
2652
2652
|
/**
|
|
2653
2653
|
* There are no contributions stored in this crowdloan.
|
|
2654
2654
|
**/
|
|
2655
|
-
NoContributions: GenericPalletError
|
|
2655
|
+
NoContributions: GenericPalletError;
|
|
2656
2656
|
|
|
2657
2657
|
/**
|
|
2658
2658
|
* The crowdloan is not ready to dissolve. Potentially still has a slot or in retirement
|
|
2659
2659
|
* period.
|
|
2660
2660
|
**/
|
|
2661
|
-
NotReadyToDissolve: GenericPalletError
|
|
2661
|
+
NotReadyToDissolve: GenericPalletError;
|
|
2662
2662
|
|
|
2663
2663
|
/**
|
|
2664
2664
|
* Invalid signature.
|
|
2665
2665
|
**/
|
|
2666
|
-
InvalidSignature: GenericPalletError
|
|
2666
|
+
InvalidSignature: GenericPalletError;
|
|
2667
2667
|
|
|
2668
2668
|
/**
|
|
2669
2669
|
* The provided memo is too large.
|
|
2670
2670
|
**/
|
|
2671
|
-
MemoTooLarge: GenericPalletError
|
|
2671
|
+
MemoTooLarge: GenericPalletError;
|
|
2672
2672
|
|
|
2673
2673
|
/**
|
|
2674
2674
|
* The fund is already in `NewRaise`
|
|
2675
2675
|
**/
|
|
2676
|
-
AlreadyInNewRaise: GenericPalletError
|
|
2676
|
+
AlreadyInNewRaise: GenericPalletError;
|
|
2677
2677
|
|
|
2678
2678
|
/**
|
|
2679
2679
|
* No contributions allowed during the VRF delay
|
|
2680
2680
|
**/
|
|
2681
|
-
VrfDelayInProgress: GenericPalletError
|
|
2681
|
+
VrfDelayInProgress: GenericPalletError;
|
|
2682
2682
|
|
|
2683
2683
|
/**
|
|
2684
2684
|
* A lease period has not started yet, due to an offset in the starting block.
|
|
2685
2685
|
**/
|
|
2686
|
-
NoLeasePeriod: GenericPalletError
|
|
2686
|
+
NoLeasePeriod: GenericPalletError;
|
|
2687
2687
|
|
|
2688
2688
|
/**
|
|
2689
2689
|
* Generic pallet error
|
|
2690
2690
|
**/
|
|
2691
|
-
[error: string]: GenericPalletError
|
|
2691
|
+
[error: string]: GenericPalletError;
|
|
2692
2692
|
};
|
|
2693
2693
|
/**
|
|
2694
2694
|
* Pallet `Coretime`'s errors
|
|
@@ -2697,23 +2697,23 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2697
2697
|
/**
|
|
2698
2698
|
* The paraid making the call is not the coretime brokerage system parachain.
|
|
2699
2699
|
**/
|
|
2700
|
-
NotBroker: GenericPalletError
|
|
2700
|
+
NotBroker: GenericPalletError;
|
|
2701
2701
|
|
|
2702
2702
|
/**
|
|
2703
2703
|
* Requested revenue information `when` parameter was in the future from the current
|
|
2704
2704
|
* block height.
|
|
2705
2705
|
**/
|
|
2706
|
-
RequestedFutureRevenue: GenericPalletError
|
|
2706
|
+
RequestedFutureRevenue: GenericPalletError;
|
|
2707
2707
|
|
|
2708
2708
|
/**
|
|
2709
2709
|
* Failed to transfer assets to the coretime chain
|
|
2710
2710
|
**/
|
|
2711
|
-
AssetTransferFailed: GenericPalletError
|
|
2711
|
+
AssetTransferFailed: 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 `XcmPallet`'s errors
|
|
@@ -2723,152 +2723,152 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2723
2723
|
* The desired destination was unreachable, generally because there is a no way of routing
|
|
2724
2724
|
* to it.
|
|
2725
2725
|
**/
|
|
2726
|
-
Unreachable: GenericPalletError
|
|
2726
|
+
Unreachable: GenericPalletError;
|
|
2727
2727
|
|
|
2728
2728
|
/**
|
|
2729
2729
|
* There was some other issue (i.e. not to do with routing) in sending the message.
|
|
2730
2730
|
* Perhaps a lack of space for buffering the message.
|
|
2731
2731
|
**/
|
|
2732
|
-
SendFailure: GenericPalletError
|
|
2732
|
+
SendFailure: GenericPalletError;
|
|
2733
2733
|
|
|
2734
2734
|
/**
|
|
2735
2735
|
* The message execution fails the filter.
|
|
2736
2736
|
**/
|
|
2737
|
-
Filtered: GenericPalletError
|
|
2737
|
+
Filtered: GenericPalletError;
|
|
2738
2738
|
|
|
2739
2739
|
/**
|
|
2740
2740
|
* The message's weight could not be determined.
|
|
2741
2741
|
**/
|
|
2742
|
-
UnweighableMessage: GenericPalletError
|
|
2742
|
+
UnweighableMessage: GenericPalletError;
|
|
2743
2743
|
|
|
2744
2744
|
/**
|
|
2745
2745
|
* The destination `Location` provided cannot be inverted.
|
|
2746
2746
|
**/
|
|
2747
|
-
DestinationNotInvertible: GenericPalletError
|
|
2747
|
+
DestinationNotInvertible: GenericPalletError;
|
|
2748
2748
|
|
|
2749
2749
|
/**
|
|
2750
2750
|
* The assets to be sent are empty.
|
|
2751
2751
|
**/
|
|
2752
|
-
Empty: GenericPalletError
|
|
2752
|
+
Empty: GenericPalletError;
|
|
2753
2753
|
|
|
2754
2754
|
/**
|
|
2755
2755
|
* Could not re-anchor the assets to declare the fees for the destination chain.
|
|
2756
2756
|
**/
|
|
2757
|
-
CannotReanchor: GenericPalletError
|
|
2757
|
+
CannotReanchor: GenericPalletError;
|
|
2758
2758
|
|
|
2759
2759
|
/**
|
|
2760
2760
|
* Too many assets have been attempted for transfer.
|
|
2761
2761
|
**/
|
|
2762
|
-
TooManyAssets: GenericPalletError
|
|
2762
|
+
TooManyAssets: GenericPalletError;
|
|
2763
2763
|
|
|
2764
2764
|
/**
|
|
2765
2765
|
* Origin is invalid for sending.
|
|
2766
2766
|
**/
|
|
2767
|
-
InvalidOrigin: GenericPalletError
|
|
2767
|
+
InvalidOrigin: GenericPalletError;
|
|
2768
2768
|
|
|
2769
2769
|
/**
|
|
2770
2770
|
* The version of the `Versioned` value used is not able to be interpreted.
|
|
2771
2771
|
**/
|
|
2772
|
-
BadVersion: GenericPalletError
|
|
2772
|
+
BadVersion: GenericPalletError;
|
|
2773
2773
|
|
|
2774
2774
|
/**
|
|
2775
2775
|
* The given location could not be used (e.g. because it cannot be expressed in the
|
|
2776
2776
|
* desired version of XCM).
|
|
2777
2777
|
**/
|
|
2778
|
-
BadLocation: GenericPalletError
|
|
2778
|
+
BadLocation: GenericPalletError;
|
|
2779
2779
|
|
|
2780
2780
|
/**
|
|
2781
2781
|
* The referenced subscription could not be found.
|
|
2782
2782
|
**/
|
|
2783
|
-
NoSubscription: GenericPalletError
|
|
2783
|
+
NoSubscription: GenericPalletError;
|
|
2784
2784
|
|
|
2785
2785
|
/**
|
|
2786
2786
|
* The location is invalid since it already has a subscription from us.
|
|
2787
2787
|
**/
|
|
2788
|
-
AlreadySubscribed: GenericPalletError
|
|
2788
|
+
AlreadySubscribed: GenericPalletError;
|
|
2789
2789
|
|
|
2790
2790
|
/**
|
|
2791
2791
|
* Could not check-out the assets for teleportation to the destination chain.
|
|
2792
2792
|
**/
|
|
2793
|
-
CannotCheckOutTeleport: GenericPalletError
|
|
2793
|
+
CannotCheckOutTeleport: GenericPalletError;
|
|
2794
2794
|
|
|
2795
2795
|
/**
|
|
2796
2796
|
* The owner does not own (all) of the asset that they wish to do the operation on.
|
|
2797
2797
|
**/
|
|
2798
|
-
LowBalance: GenericPalletError
|
|
2798
|
+
LowBalance: GenericPalletError;
|
|
2799
2799
|
|
|
2800
2800
|
/**
|
|
2801
2801
|
* The asset owner has too many locks on the asset.
|
|
2802
2802
|
**/
|
|
2803
|
-
TooManyLocks: GenericPalletError
|
|
2803
|
+
TooManyLocks: GenericPalletError;
|
|
2804
2804
|
|
|
2805
2805
|
/**
|
|
2806
2806
|
* The given account is not an identifiable sovereign account for any location.
|
|
2807
2807
|
**/
|
|
2808
|
-
AccountNotSovereign: GenericPalletError
|
|
2808
|
+
AccountNotSovereign: GenericPalletError;
|
|
2809
2809
|
|
|
2810
2810
|
/**
|
|
2811
2811
|
* The operation required fees to be paid which the initiator could not meet.
|
|
2812
2812
|
**/
|
|
2813
|
-
FeesNotMet: GenericPalletError
|
|
2813
|
+
FeesNotMet: GenericPalletError;
|
|
2814
2814
|
|
|
2815
2815
|
/**
|
|
2816
2816
|
* A remote lock with the corresponding data could not be found.
|
|
2817
2817
|
**/
|
|
2818
|
-
LockNotFound: GenericPalletError
|
|
2818
|
+
LockNotFound: GenericPalletError;
|
|
2819
2819
|
|
|
2820
2820
|
/**
|
|
2821
2821
|
* The unlock operation cannot succeed because there are still consumers of the lock.
|
|
2822
2822
|
**/
|
|
2823
|
-
InUse: GenericPalletError
|
|
2823
|
+
InUse: GenericPalletError;
|
|
2824
2824
|
|
|
2825
2825
|
/**
|
|
2826
2826
|
* Invalid asset, reserve chain could not be determined for it.
|
|
2827
2827
|
**/
|
|
2828
|
-
InvalidAssetUnknownReserve: GenericPalletError
|
|
2828
|
+
InvalidAssetUnknownReserve: GenericPalletError;
|
|
2829
2829
|
|
|
2830
2830
|
/**
|
|
2831
2831
|
* Invalid asset, do not support remote asset reserves with different fees reserves.
|
|
2832
2832
|
**/
|
|
2833
|
-
InvalidAssetUnsupportedReserve: GenericPalletError
|
|
2833
|
+
InvalidAssetUnsupportedReserve: GenericPalletError;
|
|
2834
2834
|
|
|
2835
2835
|
/**
|
|
2836
2836
|
* Too many assets with different reserve locations have been attempted for transfer.
|
|
2837
2837
|
**/
|
|
2838
|
-
TooManyReserves: GenericPalletError
|
|
2838
|
+
TooManyReserves: GenericPalletError;
|
|
2839
2839
|
|
|
2840
2840
|
/**
|
|
2841
2841
|
* Local XCM execution incomplete.
|
|
2842
2842
|
**/
|
|
2843
|
-
LocalExecutionIncomplete: GenericPalletError
|
|
2843
|
+
LocalExecutionIncomplete: GenericPalletError;
|
|
2844
2844
|
|
|
2845
2845
|
/**
|
|
2846
2846
|
* Too many locations authorized to alias origin.
|
|
2847
2847
|
*
|
|
2848
2848
|
* @deprecated Use `LocalExecutionIncompleteWithError` instead (since 20.0.0)
|
|
2849
2849
|
**/
|
|
2850
|
-
TooManyAuthorizedAliases: GenericPalletError
|
|
2850
|
+
TooManyAuthorizedAliases: GenericPalletError;
|
|
2851
2851
|
|
|
2852
2852
|
/**
|
|
2853
2853
|
* Expiry block number is in the past.
|
|
2854
2854
|
**/
|
|
2855
|
-
ExpiresInPast: GenericPalletError
|
|
2855
|
+
ExpiresInPast: GenericPalletError;
|
|
2856
2856
|
|
|
2857
2857
|
/**
|
|
2858
2858
|
* The alias to remove authorization for was not found.
|
|
2859
2859
|
**/
|
|
2860
|
-
AliasNotFound: GenericPalletError
|
|
2860
|
+
AliasNotFound: GenericPalletError;
|
|
2861
2861
|
|
|
2862
2862
|
/**
|
|
2863
2863
|
* Local XCM execution incomplete with the actual XCM error and the index of the
|
|
2864
2864
|
* instruction that caused the error.
|
|
2865
2865
|
**/
|
|
2866
|
-
LocalExecutionIncompleteWithError: GenericPalletError
|
|
2866
|
+
LocalExecutionIncompleteWithError: GenericPalletError;
|
|
2867
2867
|
|
|
2868
2868
|
/**
|
|
2869
2869
|
* Generic pallet error
|
|
2870
2870
|
**/
|
|
2871
|
-
[error: string]: GenericPalletError
|
|
2871
|
+
[error: string]: GenericPalletError;
|
|
2872
2872
|
};
|
|
2873
2873
|
/**
|
|
2874
2874
|
* Pallet `MessageQueue`'s errors
|
|
@@ -2878,32 +2878,32 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2878
2878
|
* Page is not reapable because it has items remaining to be processed and is not old
|
|
2879
2879
|
* enough.
|
|
2880
2880
|
**/
|
|
2881
|
-
NotReapable: GenericPalletError
|
|
2881
|
+
NotReapable: GenericPalletError;
|
|
2882
2882
|
|
|
2883
2883
|
/**
|
|
2884
2884
|
* Page to be reaped does not exist.
|
|
2885
2885
|
**/
|
|
2886
|
-
NoPage: GenericPalletError
|
|
2886
|
+
NoPage: GenericPalletError;
|
|
2887
2887
|
|
|
2888
2888
|
/**
|
|
2889
2889
|
* The referenced message could not be found.
|
|
2890
2890
|
**/
|
|
2891
|
-
NoMessage: GenericPalletError
|
|
2891
|
+
NoMessage: GenericPalletError;
|
|
2892
2892
|
|
|
2893
2893
|
/**
|
|
2894
2894
|
* The message was already processed and cannot be processed again.
|
|
2895
2895
|
**/
|
|
2896
|
-
AlreadyProcessed: GenericPalletError
|
|
2896
|
+
AlreadyProcessed: GenericPalletError;
|
|
2897
2897
|
|
|
2898
2898
|
/**
|
|
2899
2899
|
* The message is queued for future execution.
|
|
2900
2900
|
**/
|
|
2901
|
-
Queued: GenericPalletError
|
|
2901
|
+
Queued: GenericPalletError;
|
|
2902
2902
|
|
|
2903
2903
|
/**
|
|
2904
2904
|
* There is temporarily not enough weight to continue servicing messages.
|
|
2905
2905
|
**/
|
|
2906
|
-
InsufficientWeight: GenericPalletError
|
|
2906
|
+
InsufficientWeight: GenericPalletError;
|
|
2907
2907
|
|
|
2908
2908
|
/**
|
|
2909
2909
|
* This message is temporarily unprocessable.
|
|
@@ -2911,24 +2911,24 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2911
2911
|
* Such errors are expected, but not guaranteed, to resolve themselves eventually through
|
|
2912
2912
|
* retrying.
|
|
2913
2913
|
**/
|
|
2914
|
-
TemporarilyUnprocessable: GenericPalletError
|
|
2914
|
+
TemporarilyUnprocessable: GenericPalletError;
|
|
2915
2915
|
|
|
2916
2916
|
/**
|
|
2917
2917
|
* The queue is paused and no message can be executed from it.
|
|
2918
2918
|
*
|
|
2919
2919
|
* This can change at any time and may resolve in the future by re-trying.
|
|
2920
2920
|
**/
|
|
2921
|
-
QueuePaused: GenericPalletError
|
|
2921
|
+
QueuePaused: GenericPalletError;
|
|
2922
2922
|
|
|
2923
2923
|
/**
|
|
2924
2924
|
* Another call is in progress and needs to finish before this call can happen.
|
|
2925
2925
|
**/
|
|
2926
|
-
RecursiveDisallowed: GenericPalletError
|
|
2926
|
+
RecursiveDisallowed: GenericPalletError;
|
|
2927
2927
|
|
|
2928
2928
|
/**
|
|
2929
2929
|
* Generic pallet error
|
|
2930
2930
|
**/
|
|
2931
|
-
[error: string]: GenericPalletError
|
|
2931
|
+
[error: string]: GenericPalletError;
|
|
2932
2932
|
};
|
|
2933
2933
|
/**
|
|
2934
2934
|
* Pallet `AssetRate`'s errors
|
|
@@ -2937,22 +2937,22 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2937
2937
|
/**
|
|
2938
2938
|
* The given asset ID is unknown.
|
|
2939
2939
|
**/
|
|
2940
|
-
UnknownAssetKind: GenericPalletError
|
|
2940
|
+
UnknownAssetKind: GenericPalletError;
|
|
2941
2941
|
|
|
2942
2942
|
/**
|
|
2943
2943
|
* The given asset ID already has an assigned conversion rate and cannot be re-created.
|
|
2944
2944
|
**/
|
|
2945
|
-
AlreadyExists: GenericPalletError
|
|
2945
|
+
AlreadyExists: GenericPalletError;
|
|
2946
2946
|
|
|
2947
2947
|
/**
|
|
2948
2948
|
* Overflow ocurred when calculating the inverse rate.
|
|
2949
2949
|
**/
|
|
2950
|
-
Overflow: GenericPalletError
|
|
2950
|
+
Overflow: GenericPalletError;
|
|
2951
2951
|
|
|
2952
2952
|
/**
|
|
2953
2953
|
* Generic pallet error
|
|
2954
2954
|
**/
|
|
2955
|
-
[error: string]: GenericPalletError
|
|
2955
|
+
[error: string]: GenericPalletError;
|
|
2956
2956
|
};
|
|
2957
2957
|
/**
|
|
2958
2958
|
* Pallet `Beefy`'s errors
|
|
@@ -2961,135 +2961,135 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2961
2961
|
/**
|
|
2962
2962
|
* A key ownership proof provided as part of an equivocation report is invalid.
|
|
2963
2963
|
**/
|
|
2964
|
-
InvalidKeyOwnershipProof: GenericPalletError
|
|
2964
|
+
InvalidKeyOwnershipProof: GenericPalletError;
|
|
2965
2965
|
|
|
2966
2966
|
/**
|
|
2967
2967
|
* A double voting proof provided as part of an equivocation report is invalid.
|
|
2968
2968
|
**/
|
|
2969
|
-
InvalidDoubleVotingProof: GenericPalletError
|
|
2969
|
+
InvalidDoubleVotingProof: GenericPalletError;
|
|
2970
2970
|
|
|
2971
2971
|
/**
|
|
2972
2972
|
* A fork voting proof provided as part of an equivocation report is invalid.
|
|
2973
2973
|
**/
|
|
2974
|
-
InvalidForkVotingProof: GenericPalletError
|
|
2974
|
+
InvalidForkVotingProof: GenericPalletError;
|
|
2975
2975
|
|
|
2976
2976
|
/**
|
|
2977
2977
|
* A future block voting proof provided as part of an equivocation report is invalid.
|
|
2978
2978
|
**/
|
|
2979
|
-
InvalidFutureBlockVotingProof: GenericPalletError
|
|
2979
|
+
InvalidFutureBlockVotingProof: GenericPalletError;
|
|
2980
2980
|
|
|
2981
2981
|
/**
|
|
2982
2982
|
* The session of the equivocation proof is invalid
|
|
2983
2983
|
**/
|
|
2984
|
-
InvalidEquivocationProofSession: GenericPalletError
|
|
2984
|
+
InvalidEquivocationProofSession: GenericPalletError;
|
|
2985
2985
|
|
|
2986
2986
|
/**
|
|
2987
2987
|
* A given equivocation report is valid but already previously reported.
|
|
2988
2988
|
**/
|
|
2989
|
-
DuplicateOffenceReport: GenericPalletError
|
|
2989
|
+
DuplicateOffenceReport: GenericPalletError;
|
|
2990
2990
|
|
|
2991
2991
|
/**
|
|
2992
2992
|
* Submitted configuration is invalid.
|
|
2993
2993
|
**/
|
|
2994
|
-
InvalidConfiguration: GenericPalletError
|
|
2994
|
+
InvalidConfiguration: GenericPalletError;
|
|
2995
2995
|
|
|
2996
2996
|
/**
|
|
2997
2997
|
* Generic pallet error
|
|
2998
2998
|
**/
|
|
2999
|
-
[error: string]: GenericPalletError
|
|
2999
|
+
[error: string]: GenericPalletError;
|
|
3000
3000
|
};
|
|
3001
3001
|
/**
|
|
3002
3002
|
* Pallet `RcMigrator`'s errors
|
|
3003
3003
|
**/
|
|
3004
3004
|
rcMigrator: {
|
|
3005
|
-
Unreachable: GenericPalletError
|
|
3006
|
-
OutOfWeight: GenericPalletError
|
|
3005
|
+
Unreachable: GenericPalletError;
|
|
3006
|
+
OutOfWeight: GenericPalletError;
|
|
3007
3007
|
|
|
3008
3008
|
/**
|
|
3009
3009
|
* Failed to send XCM message to AH.
|
|
3010
3010
|
**/
|
|
3011
|
-
XcmError: GenericPalletError
|
|
3011
|
+
XcmError: GenericPalletError;
|
|
3012
3012
|
|
|
3013
3013
|
/**
|
|
3014
3014
|
* Failed to withdraw account from RC for migration to AH.
|
|
3015
3015
|
**/
|
|
3016
|
-
FailedToWithdrawAccount: GenericPalletError
|
|
3016
|
+
FailedToWithdrawAccount: GenericPalletError;
|
|
3017
3017
|
|
|
3018
3018
|
/**
|
|
3019
3019
|
* Indicates that the specified block number is in the past.
|
|
3020
3020
|
**/
|
|
3021
|
-
PastBlockNumber: GenericPalletError
|
|
3021
|
+
PastBlockNumber: GenericPalletError;
|
|
3022
3022
|
|
|
3023
3023
|
/**
|
|
3024
3024
|
* Indicates that there is not enough time for staking to lock.
|
|
3025
3025
|
*
|
|
3026
3026
|
* Schedule the migration at least two sessions before the current era ends.
|
|
3027
3027
|
**/
|
|
3028
|
-
EraEndsTooSoon: GenericPalletError
|
|
3028
|
+
EraEndsTooSoon: GenericPalletError;
|
|
3029
3029
|
|
|
3030
3030
|
/**
|
|
3031
3031
|
* Balance accounting overflow.
|
|
3032
3032
|
**/
|
|
3033
|
-
BalanceOverflow: GenericPalletError
|
|
3033
|
+
BalanceOverflow: GenericPalletError;
|
|
3034
3034
|
|
|
3035
3035
|
/**
|
|
3036
3036
|
* Balance accounting underflow.
|
|
3037
3037
|
**/
|
|
3038
|
-
BalanceUnderflow: GenericPalletError
|
|
3038
|
+
BalanceUnderflow: GenericPalletError;
|
|
3039
3039
|
|
|
3040
3040
|
/**
|
|
3041
3041
|
* The query response is invalid.
|
|
3042
3042
|
**/
|
|
3043
|
-
InvalidQueryResponse: GenericPalletError
|
|
3043
|
+
InvalidQueryResponse: GenericPalletError;
|
|
3044
3044
|
|
|
3045
3045
|
/**
|
|
3046
3046
|
* The xcm query was not found.
|
|
3047
3047
|
**/
|
|
3048
|
-
QueryNotFound: GenericPalletError
|
|
3048
|
+
QueryNotFound: GenericPalletError;
|
|
3049
3049
|
|
|
3050
3050
|
/**
|
|
3051
3051
|
* Failed to send XCM message.
|
|
3052
3052
|
**/
|
|
3053
|
-
XcmSendError: GenericPalletError
|
|
3053
|
+
XcmSendError: GenericPalletError;
|
|
3054
3054
|
|
|
3055
3055
|
/**
|
|
3056
3056
|
* The migration stage is not reachable from the current stage.
|
|
3057
3057
|
**/
|
|
3058
|
-
UnreachableStage: GenericPalletError
|
|
3058
|
+
UnreachableStage: GenericPalletError;
|
|
3059
3059
|
|
|
3060
3060
|
/**
|
|
3061
3061
|
* Invalid parameter.
|
|
3062
3062
|
**/
|
|
3063
|
-
InvalidParameter: GenericPalletError
|
|
3063
|
+
InvalidParameter: GenericPalletError;
|
|
3064
3064
|
|
|
3065
3065
|
/**
|
|
3066
3066
|
* The AH UMP queue priority configuration is already set.
|
|
3067
3067
|
**/
|
|
3068
|
-
AhUmpQueuePriorityAlreadySet: GenericPalletError
|
|
3068
|
+
AhUmpQueuePriorityAlreadySet: GenericPalletError;
|
|
3069
3069
|
|
|
3070
3070
|
/**
|
|
3071
3071
|
* The account is referenced by some other pallet. It might have freezes or holds.
|
|
3072
3072
|
**/
|
|
3073
|
-
AccountReferenced: GenericPalletError
|
|
3073
|
+
AccountReferenced: GenericPalletError;
|
|
3074
3074
|
|
|
3075
3075
|
/**
|
|
3076
3076
|
* The XCM version is invalid.
|
|
3077
3077
|
**/
|
|
3078
|
-
BadXcmVersion: GenericPalletError
|
|
3078
|
+
BadXcmVersion: GenericPalletError;
|
|
3079
3079
|
|
|
3080
3080
|
/**
|
|
3081
3081
|
* The origin is invalid.
|
|
3082
3082
|
**/
|
|
3083
|
-
InvalidOrigin: GenericPalletError
|
|
3083
|
+
InvalidOrigin: GenericPalletError;
|
|
3084
3084
|
|
|
3085
3085
|
/**
|
|
3086
3086
|
* The stage transition is invalid.
|
|
3087
3087
|
**/
|
|
3088
|
-
InvalidStageTransition: GenericPalletError
|
|
3088
|
+
InvalidStageTransition: GenericPalletError;
|
|
3089
3089
|
|
|
3090
3090
|
/**
|
|
3091
3091
|
* Generic pallet error
|
|
3092
3092
|
**/
|
|
3093
|
-
[error: string]: GenericPalletError
|
|
3093
|
+
[error: string]: GenericPalletError;
|
|
3094
3094
|
};
|
|
3095
3095
|
}
|