@dedot/chaintypes 0.194.0 → 0.196.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/aleph/consts.d.ts +2 -2
- package/aleph/errors.d.ts +228 -228
- package/aleph/events.d.ts +122 -226
- package/aleph/index.d.ts +15 -17
- package/aleph/json-rpc.d.ts +3 -3
- package/aleph/query.d.ts +171 -207
- package/aleph/runtime.d.ts +47 -63
- package/aleph/tx.d.ts +377 -550
- package/aleph/view-functions.d.ts +2 -2
- package/astar/consts.d.ts +2 -2
- package/astar/errors.d.ts +431 -431
- package/astar/events.d.ts +232 -401
- package/astar/index.d.ts +15 -17
- package/astar/json-rpc.d.ts +3 -3
- package/astar/query.d.ts +243 -289
- package/astar/runtime.d.ts +59 -87
- package/astar/tx.d.ts +671 -980
- package/astar/view-functions.d.ts +2 -2
- package/basilisk/consts.d.ts +2 -2
- package/basilisk/errors.d.ts +489 -489
- package/basilisk/events.d.ts +187 -408
- package/basilisk/index.d.ts +15 -17
- package/basilisk/json-rpc.d.ts +3 -3
- package/basilisk/query.d.ts +213 -272
- package/basilisk/runtime.d.ts +27 -28
- package/basilisk/tx.d.ts +579 -842
- package/basilisk/view-functions.d.ts +2 -2
- package/hydration/consts.d.ts +47 -14
- package/hydration/errors.d.ts +827 -737
- package/hydration/events.d.ts +639 -527
- package/hydration/index.d.ts +16 -18
- package/hydration/json-rpc.d.ts +3 -3
- package/hydration/query.d.ts +530 -396
- package/hydration/runtime.d.ts +181 -89
- package/hydration/tx.d.ts +1130 -1167
- package/hydration/types.d.ts +889 -42
- package/hydration/view-functions.d.ts +2 -2
- package/kusama/consts.d.ts +2 -2
- package/kusama/errors.d.ts +571 -571
- package/kusama/events.d.ts +216 -477
- package/kusama/index.d.ts +15 -17
- package/kusama/json-rpc.d.ts +3 -3
- package/kusama/query.d.ts +360 -502
- package/kusama/runtime.d.ts +82 -131
- package/kusama/tx.d.ts +851 -1246
- package/kusama/view-functions.d.ts +7 -12
- package/kusama-asset-hub/consts.d.ts +2 -2
- package/kusama-asset-hub/errors.d.ts +653 -653
- package/kusama-asset-hub/events.d.ts +286 -629
- package/kusama-asset-hub/index.d.ts +16 -17
- package/kusama-asset-hub/json-rpc.d.ts +3 -3
- package/kusama-asset-hub/query.d.ts +316 -448
- package/kusama-asset-hub/runtime.d.ts +74 -111
- package/kusama-asset-hub/tx.d.ts +1059 -1558
- package/kusama-asset-hub/view-functions.d.ts +7 -9
- package/kusama-people/consts.d.ts +2 -2
- package/kusama-people/errors.d.ts +160 -160
- package/kusama-people/events.d.ts +89 -176
- package/kusama-people/index.d.ts +15 -17
- package/kusama-people/json-rpc.d.ts +3 -3
- package/kusama-people/query.d.ts +114 -145
- package/kusama-people/runtime.d.ts +45 -65
- package/kusama-people/tx.d.ts +246 -356
- package/kusama-people/view-functions.d.ts +3 -5
- package/moonbeam/consts.d.ts +2 -2
- package/moonbeam/errors.d.ts +478 -478
- package/moonbeam/events.d.ts +182 -426
- package/moonbeam/index.d.ts +15 -17
- package/moonbeam/json-rpc.d.ts +11 -3
- package/moonbeam/query.d.ts +234 -294
- package/moonbeam/runtime.d.ts +61 -89
- package/moonbeam/tx.d.ts +618 -901
- package/moonbeam/view-functions.d.ts +2 -2
- package/package.json +6 -3
- package/paseo/consts.d.ts +2 -2
- package/paseo/errors.d.ts +513 -513
- package/paseo/events.d.ts +197 -430
- package/paseo/index.d.ts +16 -18
- package/paseo/json-rpc.d.ts +3 -3
- package/paseo/query.d.ts +329 -450
- package/paseo/runtime.d.ts +107 -131
- package/paseo/tx.d.ts +787 -1151
- package/paseo/types.d.ts +7 -0
- package/paseo/view-functions.d.ts +7 -12
- package/paseo-asset-hub/consts.d.ts +2 -2
- package/paseo-asset-hub/errors.d.ts +605 -605
- package/paseo-asset-hub/events.d.ts +268 -600
- package/paseo-asset-hub/index.d.ts +17 -18
- package/paseo-asset-hub/json-rpc.d.ts +3 -3
- package/paseo-asset-hub/query.d.ts +293 -413
- package/paseo-asset-hub/runtime.d.ts +96 -104
- package/paseo-asset-hub/tx.d.ts +997 -1466
- package/paseo-asset-hub/types.d.ts +7 -0
- package/paseo-asset-hub/view-functions.d.ts +7 -9
- package/paseo-hydration/consts.d.ts +13 -3
- package/paseo-hydration/errors.d.ts +756 -745
- package/paseo-hydration/events.d.ts +277 -554
- package/paseo-hydration/index.d.ts +16 -18
- package/paseo-hydration/json-rpc.d.ts +3 -3
- package/paseo-hydration/query.d.ts +321 -411
- package/paseo-hydration/runtime.d.ts +95 -106
- package/paseo-hydration/tx.d.ts +923 -1226
- package/paseo-hydration/types.d.ts +91 -50
- package/paseo-hydration/view-functions.d.ts +2 -2
- package/paseo-people/consts.d.ts +2 -2
- package/paseo-people/errors.d.ts +162 -162
- package/paseo-people/events.d.ts +91 -181
- package/paseo-people/index.d.ts +16 -18
- package/paseo-people/json-rpc.d.ts +3 -3
- package/paseo-people/query.d.ts +116 -143
- package/paseo-people/runtime.d.ts +70 -65
- package/paseo-people/tx.d.ts +257 -372
- package/paseo-people/types.d.ts +7 -0
- package/paseo-people/view-functions.d.ts +3 -5
- package/polkadot/consts.d.ts +2 -2
- package/polkadot/errors.d.ts +501 -501
- package/polkadot/events.d.ts +195 -426
- package/polkadot/index.d.ts +15 -17
- package/polkadot/json-rpc.d.ts +3 -3
- package/polkadot/query.d.ts +329 -450
- package/polkadot/runtime.d.ts +83 -133
- package/polkadot/tx.d.ts +765 -1119
- package/polkadot/view-functions.d.ts +7 -12
- package/polkadot-asset-hub/consts.d.ts +2 -2
- package/polkadot-asset-hub/errors.d.ts +554 -554
- package/polkadot-asset-hub/events.d.ts +261 -585
- package/polkadot-asset-hub/index.d.ts +16 -17
- package/polkadot-asset-hub/json-rpc.d.ts +3 -3
- package/polkadot-asset-hub/query.d.ts +279 -396
- package/polkadot-asset-hub/runtime.d.ts +65 -93
- package/polkadot-asset-hub/tx.d.ts +952 -1400
- package/polkadot-asset-hub/view-functions.d.ts +7 -9
- package/polkadot-people/consts.d.ts +2 -2
- package/polkadot-people/errors.d.ts +160 -160
- package/polkadot-people/events.d.ts +89 -176
- package/polkadot-people/index.d.ts +15 -17
- package/polkadot-people/json-rpc.d.ts +3 -3
- package/polkadot-people/query.d.ts +114 -145
- package/polkadot-people/runtime.d.ts +46 -67
- package/polkadot-people/tx.d.ts +246 -356
- package/polkadot-people/view-functions.d.ts +3 -5
- package/substrate/consts.d.ts +2 -2
- package/substrate/errors.d.ts +909 -909
- package/substrate/events.d.ts +389 -794
- package/substrate/index.d.ts +16 -17
- package/substrate/json-rpc.d.ts +3 -3
- package/substrate/query.d.ts +458 -572
- package/substrate/runtime.d.ts +82 -126
- package/substrate/tx.d.ts +1317 -1936
- package/substrate/view-functions.d.ts +2 -2
- package/vara/consts.d.ts +9 -37
- package/vara/errors.d.ts +402 -382
- package/vara/events.d.ts +172 -310
- package/vara/index.d.ts +16 -18
- package/vara/json-rpc.d.ts +7 -3
- package/vara/query.d.ts +299 -331
- package/vara/runtime.d.ts +61 -79
- package/vara/tx.d.ts +573 -754
- package/vara/types.d.ts +71 -26
- package/vara/view-functions.d.ts +2 -2
- package/westend/consts.d.ts +2 -2
- package/westend/errors.d.ts +532 -532
- package/westend/events.d.ts +205 -462
- package/westend/index.d.ts +15 -17
- package/westend/json-rpc.d.ts +3 -3
- package/westend/query.d.ts +312 -434
- package/westend/runtime.d.ts +83 -135
- package/westend/tx.d.ts +807 -1179
- package/westend/view-functions.d.ts +7 -12
- package/westend-asset-hub/consts.d.ts +2 -2
- package/westend-asset-hub/errors.d.ts +605 -605
- package/westend-asset-hub/events.d.ts +265 -614
- package/westend-asset-hub/index.d.ts +16 -17
- package/westend-asset-hub/json-rpc.d.ts +3 -3
- package/westend-asset-hub/query.d.ts +293 -418
- package/westend-asset-hub/runtime.d.ts +83 -123
- package/westend-asset-hub/tx.d.ts +918 -1348
- package/westend-asset-hub/view-functions.d.ts +8 -13
- package/westend-people/consts.d.ts +2 -2
- package/westend-people/errors.d.ts +160 -160
- package/westend-people/events.d.ts +93 -186
- package/westend-people/index.d.ts +15 -17
- package/westend-people/json-rpc.d.ts +3 -3
- package/westend-people/query.d.ts +114 -145
- package/westend-people/runtime.d.ts +46 -67
- package/westend-people/tx.d.ts +251 -363
- package/westend-people/view-functions.d.ts +3 -5
package/vara/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 `Grandpa`'s errors
|
|
@@ -98,43 +98,43 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
98
98
|
* Attempt to signal GRANDPA pause when the authority set isn't live
|
|
99
99
|
* (either paused or already pending pause).
|
|
100
100
|
**/
|
|
101
|
-
PauseFailed: GenericPalletError
|
|
101
|
+
PauseFailed: GenericPalletError;
|
|
102
102
|
|
|
103
103
|
/**
|
|
104
104
|
* Attempt to signal GRANDPA resume when the authority set isn't paused
|
|
105
105
|
* (either live or already pending resume).
|
|
106
106
|
**/
|
|
107
|
-
ResumeFailed: GenericPalletError
|
|
107
|
+
ResumeFailed: GenericPalletError;
|
|
108
108
|
|
|
109
109
|
/**
|
|
110
110
|
* Attempt to signal GRANDPA change with one already pending.
|
|
111
111
|
**/
|
|
112
|
-
ChangePending: GenericPalletError
|
|
112
|
+
ChangePending: GenericPalletError;
|
|
113
113
|
|
|
114
114
|
/**
|
|
115
115
|
* Cannot signal forced change so soon after last.
|
|
116
116
|
**/
|
|
117
|
-
TooSoon: GenericPalletError
|
|
117
|
+
TooSoon: GenericPalletError;
|
|
118
118
|
|
|
119
119
|
/**
|
|
120
120
|
* A key ownership proof provided as part of an equivocation report is invalid.
|
|
121
121
|
**/
|
|
122
|
-
InvalidKeyOwnershipProof: GenericPalletError
|
|
122
|
+
InvalidKeyOwnershipProof: GenericPalletError;
|
|
123
123
|
|
|
124
124
|
/**
|
|
125
125
|
* An equivocation proof provided as part of an equivocation report is invalid.
|
|
126
126
|
**/
|
|
127
|
-
InvalidEquivocationProof: GenericPalletError
|
|
127
|
+
InvalidEquivocationProof: GenericPalletError;
|
|
128
128
|
|
|
129
129
|
/**
|
|
130
130
|
* A given equivocation report is valid but already previously reported.
|
|
131
131
|
**/
|
|
132
|
-
DuplicateOffenceReport: GenericPalletError
|
|
132
|
+
DuplicateOffenceReport: GenericPalletError;
|
|
133
133
|
|
|
134
134
|
/**
|
|
135
135
|
* Generic pallet error
|
|
136
136
|
**/
|
|
137
|
-
[error: string]: GenericPalletError
|
|
137
|
+
[error: string]: GenericPalletError;
|
|
138
138
|
};
|
|
139
139
|
/**
|
|
140
140
|
* Pallet `Balances`'s errors
|
|
@@ -143,67 +143,67 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
143
143
|
/**
|
|
144
144
|
* Vesting balance too high to send value.
|
|
145
145
|
**/
|
|
146
|
-
VestingBalance: GenericPalletError
|
|
146
|
+
VestingBalance: GenericPalletError;
|
|
147
147
|
|
|
148
148
|
/**
|
|
149
149
|
* Account liquidity restrictions prevent withdrawal.
|
|
150
150
|
**/
|
|
151
|
-
LiquidityRestrictions: GenericPalletError
|
|
151
|
+
LiquidityRestrictions: GenericPalletError;
|
|
152
152
|
|
|
153
153
|
/**
|
|
154
154
|
* Balance too low to send value.
|
|
155
155
|
**/
|
|
156
|
-
InsufficientBalance: GenericPalletError
|
|
156
|
+
InsufficientBalance: GenericPalletError;
|
|
157
157
|
|
|
158
158
|
/**
|
|
159
159
|
* Value too low to create account due to existential deposit.
|
|
160
160
|
**/
|
|
161
|
-
ExistentialDeposit: GenericPalletError
|
|
161
|
+
ExistentialDeposit: GenericPalletError;
|
|
162
162
|
|
|
163
163
|
/**
|
|
164
164
|
* Transfer/payment would kill account.
|
|
165
165
|
**/
|
|
166
|
-
Expendability: GenericPalletError
|
|
166
|
+
Expendability: GenericPalletError;
|
|
167
167
|
|
|
168
168
|
/**
|
|
169
169
|
* A vesting schedule already exists for this account.
|
|
170
170
|
**/
|
|
171
|
-
ExistingVestingSchedule: GenericPalletError
|
|
171
|
+
ExistingVestingSchedule: GenericPalletError;
|
|
172
172
|
|
|
173
173
|
/**
|
|
174
174
|
* Beneficiary account must pre-exist.
|
|
175
175
|
**/
|
|
176
|
-
DeadAccount: GenericPalletError
|
|
176
|
+
DeadAccount: GenericPalletError;
|
|
177
177
|
|
|
178
178
|
/**
|
|
179
179
|
* Number of named reserves exceed `MaxReserves`.
|
|
180
180
|
**/
|
|
181
|
-
TooManyReserves: GenericPalletError
|
|
181
|
+
TooManyReserves: GenericPalletError;
|
|
182
182
|
|
|
183
183
|
/**
|
|
184
184
|
* Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
|
|
185
185
|
**/
|
|
186
|
-
TooManyHolds: GenericPalletError
|
|
186
|
+
TooManyHolds: GenericPalletError;
|
|
187
187
|
|
|
188
188
|
/**
|
|
189
189
|
* Number of freezes exceed `MaxFreezes`.
|
|
190
190
|
**/
|
|
191
|
-
TooManyFreezes: GenericPalletError
|
|
191
|
+
TooManyFreezes: GenericPalletError;
|
|
192
192
|
|
|
193
193
|
/**
|
|
194
194
|
* The issuance cannot be modified since it is already deactivated.
|
|
195
195
|
**/
|
|
196
|
-
IssuanceDeactivated: GenericPalletError
|
|
196
|
+
IssuanceDeactivated: GenericPalletError;
|
|
197
197
|
|
|
198
198
|
/**
|
|
199
199
|
* The delta cannot be zero.
|
|
200
200
|
**/
|
|
201
|
-
DeltaZero: GenericPalletError
|
|
201
|
+
DeltaZero: GenericPalletError;
|
|
202
202
|
|
|
203
203
|
/**
|
|
204
204
|
* Generic pallet error
|
|
205
205
|
**/
|
|
206
|
-
[error: string]: GenericPalletError
|
|
206
|
+
[error: string]: GenericPalletError;
|
|
207
207
|
};
|
|
208
208
|
/**
|
|
209
209
|
* Pallet `Session`'s errors
|
|
@@ -212,32 +212,32 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
212
212
|
/**
|
|
213
213
|
* Invalid ownership proof.
|
|
214
214
|
**/
|
|
215
|
-
InvalidProof: GenericPalletError
|
|
215
|
+
InvalidProof: GenericPalletError;
|
|
216
216
|
|
|
217
217
|
/**
|
|
218
218
|
* No associated validator ID for account.
|
|
219
219
|
**/
|
|
220
|
-
NoAssociatedValidatorId: GenericPalletError
|
|
220
|
+
NoAssociatedValidatorId: GenericPalletError;
|
|
221
221
|
|
|
222
222
|
/**
|
|
223
223
|
* Registered duplicate key.
|
|
224
224
|
**/
|
|
225
|
-
DuplicatedKey: GenericPalletError
|
|
225
|
+
DuplicatedKey: GenericPalletError;
|
|
226
226
|
|
|
227
227
|
/**
|
|
228
228
|
* No keys are associated with this account.
|
|
229
229
|
**/
|
|
230
|
-
NoKeys: GenericPalletError
|
|
230
|
+
NoKeys: GenericPalletError;
|
|
231
231
|
|
|
232
232
|
/**
|
|
233
233
|
* Key setting account is not live, so it's impossible to associate keys.
|
|
234
234
|
**/
|
|
235
|
-
NoAccount: GenericPalletError
|
|
235
|
+
NoAccount: GenericPalletError;
|
|
236
236
|
|
|
237
237
|
/**
|
|
238
238
|
* Generic pallet error
|
|
239
239
|
**/
|
|
240
|
-
[error: string]: GenericPalletError
|
|
240
|
+
[error: string]: GenericPalletError;
|
|
241
241
|
};
|
|
242
242
|
/**
|
|
243
243
|
* Pallet `Utility`'s errors
|
|
@@ -246,12 +246,12 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
246
246
|
/**
|
|
247
247
|
* Too many calls batched.
|
|
248
248
|
**/
|
|
249
|
-
TooManyCalls: GenericPalletError
|
|
249
|
+
TooManyCalls: GenericPalletError;
|
|
250
250
|
|
|
251
251
|
/**
|
|
252
252
|
* Generic pallet error
|
|
253
253
|
**/
|
|
254
|
-
[error: string]: GenericPalletError
|
|
254
|
+
[error: string]: GenericPalletError;
|
|
255
255
|
};
|
|
256
256
|
/**
|
|
257
257
|
* Pallet `Vesting`'s errors
|
|
@@ -260,33 +260,33 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
260
260
|
/**
|
|
261
261
|
* The account given is not vesting.
|
|
262
262
|
**/
|
|
263
|
-
NotVesting: GenericPalletError
|
|
263
|
+
NotVesting: GenericPalletError;
|
|
264
264
|
|
|
265
265
|
/**
|
|
266
266
|
* The account already has `MaxVestingSchedules` count of schedules and thus
|
|
267
267
|
* cannot add another one. Consider merging existing schedules in order to add another.
|
|
268
268
|
**/
|
|
269
|
-
AtMaxVestingSchedules: GenericPalletError
|
|
269
|
+
AtMaxVestingSchedules: GenericPalletError;
|
|
270
270
|
|
|
271
271
|
/**
|
|
272
272
|
* Amount being transferred is too low to create a vesting schedule.
|
|
273
273
|
**/
|
|
274
|
-
AmountLow: GenericPalletError
|
|
274
|
+
AmountLow: GenericPalletError;
|
|
275
275
|
|
|
276
276
|
/**
|
|
277
277
|
* An index was out of bounds of the vesting schedules.
|
|
278
278
|
**/
|
|
279
|
-
ScheduleIndexOutOfBounds: GenericPalletError
|
|
279
|
+
ScheduleIndexOutOfBounds: GenericPalletError;
|
|
280
280
|
|
|
281
281
|
/**
|
|
282
282
|
* Failed to create a new schedule because some parameter was invalid.
|
|
283
283
|
**/
|
|
284
|
-
InvalidScheduleParams: GenericPalletError
|
|
284
|
+
InvalidScheduleParams: GenericPalletError;
|
|
285
285
|
|
|
286
286
|
/**
|
|
287
287
|
* Generic pallet error
|
|
288
288
|
**/
|
|
289
|
-
[error: string]: GenericPalletError
|
|
289
|
+
[error: string]: GenericPalletError;
|
|
290
290
|
};
|
|
291
291
|
/**
|
|
292
292
|
* Pallet `BagsList`'s errors
|
|
@@ -295,12 +295,12 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
295
295
|
/**
|
|
296
296
|
* A error in the list interface implementation.
|
|
297
297
|
**/
|
|
298
|
-
List: GenericPalletError
|
|
298
|
+
List: GenericPalletError;
|
|
299
299
|
|
|
300
300
|
/**
|
|
301
301
|
* Generic pallet error
|
|
302
302
|
**/
|
|
303
|
-
[error: string]: GenericPalletError
|
|
303
|
+
[error: string]: GenericPalletError;
|
|
304
304
|
};
|
|
305
305
|
/**
|
|
306
306
|
* Pallet `ImOnline`'s errors
|
|
@@ -309,17 +309,17 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
309
309
|
/**
|
|
310
310
|
* Non existent public key.
|
|
311
311
|
**/
|
|
312
|
-
InvalidKey: GenericPalletError
|
|
312
|
+
InvalidKey: GenericPalletError;
|
|
313
313
|
|
|
314
314
|
/**
|
|
315
315
|
* Duplicated heartbeat.
|
|
316
316
|
**/
|
|
317
|
-
DuplicatedHeartbeat: GenericPalletError
|
|
317
|
+
DuplicatedHeartbeat: GenericPalletError;
|
|
318
318
|
|
|
319
319
|
/**
|
|
320
320
|
* Generic pallet error
|
|
321
321
|
**/
|
|
322
|
-
[error: string]: GenericPalletError
|
|
322
|
+
[error: string]: GenericPalletError;
|
|
323
323
|
};
|
|
324
324
|
/**
|
|
325
325
|
* Pallet `Staking`'s errors
|
|
@@ -328,166 +328,166 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
328
328
|
/**
|
|
329
329
|
* Not a controller account.
|
|
330
330
|
**/
|
|
331
|
-
NotController: GenericPalletError
|
|
331
|
+
NotController: GenericPalletError;
|
|
332
332
|
|
|
333
333
|
/**
|
|
334
334
|
* Not a stash account.
|
|
335
335
|
**/
|
|
336
|
-
NotStash: GenericPalletError
|
|
336
|
+
NotStash: GenericPalletError;
|
|
337
337
|
|
|
338
338
|
/**
|
|
339
339
|
* Stash is already bonded.
|
|
340
340
|
**/
|
|
341
|
-
AlreadyBonded: GenericPalletError
|
|
341
|
+
AlreadyBonded: GenericPalletError;
|
|
342
342
|
|
|
343
343
|
/**
|
|
344
344
|
* Controller is already paired.
|
|
345
345
|
**/
|
|
346
|
-
AlreadyPaired: GenericPalletError
|
|
346
|
+
AlreadyPaired: GenericPalletError;
|
|
347
347
|
|
|
348
348
|
/**
|
|
349
349
|
* Targets cannot be empty.
|
|
350
350
|
**/
|
|
351
|
-
EmptyTargets: GenericPalletError
|
|
351
|
+
EmptyTargets: GenericPalletError;
|
|
352
352
|
|
|
353
353
|
/**
|
|
354
354
|
* Duplicate index.
|
|
355
355
|
**/
|
|
356
|
-
DuplicateIndex: GenericPalletError
|
|
356
|
+
DuplicateIndex: GenericPalletError;
|
|
357
357
|
|
|
358
358
|
/**
|
|
359
359
|
* Slash record index out of bounds.
|
|
360
360
|
**/
|
|
361
|
-
InvalidSlashIndex: GenericPalletError
|
|
361
|
+
InvalidSlashIndex: GenericPalletError;
|
|
362
362
|
|
|
363
363
|
/**
|
|
364
364
|
* Cannot have a validator or nominator role, with value less than the minimum defined by
|
|
365
365
|
* governance (see `MinValidatorBond` and `MinNominatorBond`). If unbonding is the
|
|
366
366
|
* intention, `chill` first to remove one's role as validator/nominator.
|
|
367
367
|
**/
|
|
368
|
-
InsufficientBond: GenericPalletError
|
|
368
|
+
InsufficientBond: GenericPalletError;
|
|
369
369
|
|
|
370
370
|
/**
|
|
371
371
|
* Can not schedule more unlock chunks.
|
|
372
372
|
**/
|
|
373
|
-
NoMoreChunks: GenericPalletError
|
|
373
|
+
NoMoreChunks: GenericPalletError;
|
|
374
374
|
|
|
375
375
|
/**
|
|
376
376
|
* Can not rebond without unlocking chunks.
|
|
377
377
|
**/
|
|
378
|
-
NoUnlockChunk: GenericPalletError
|
|
378
|
+
NoUnlockChunk: GenericPalletError;
|
|
379
379
|
|
|
380
380
|
/**
|
|
381
381
|
* Attempting to target a stash that still has funds.
|
|
382
382
|
**/
|
|
383
|
-
FundedTarget: GenericPalletError
|
|
383
|
+
FundedTarget: GenericPalletError;
|
|
384
384
|
|
|
385
385
|
/**
|
|
386
386
|
* Invalid era to reward.
|
|
387
387
|
**/
|
|
388
|
-
InvalidEraToReward: GenericPalletError
|
|
388
|
+
InvalidEraToReward: GenericPalletError;
|
|
389
389
|
|
|
390
390
|
/**
|
|
391
391
|
* Invalid number of nominations.
|
|
392
392
|
**/
|
|
393
|
-
InvalidNumberOfNominations: GenericPalletError
|
|
393
|
+
InvalidNumberOfNominations: GenericPalletError;
|
|
394
394
|
|
|
395
395
|
/**
|
|
396
396
|
* Items are not sorted and unique.
|
|
397
397
|
**/
|
|
398
|
-
NotSortedAndUnique: GenericPalletError
|
|
398
|
+
NotSortedAndUnique: GenericPalletError;
|
|
399
399
|
|
|
400
400
|
/**
|
|
401
401
|
* Rewards for this era have already been claimed for this validator.
|
|
402
402
|
**/
|
|
403
|
-
AlreadyClaimed: GenericPalletError
|
|
403
|
+
AlreadyClaimed: GenericPalletError;
|
|
404
404
|
|
|
405
405
|
/**
|
|
406
406
|
* No nominators exist on this page.
|
|
407
407
|
**/
|
|
408
|
-
InvalidPage: GenericPalletError
|
|
408
|
+
InvalidPage: GenericPalletError;
|
|
409
409
|
|
|
410
410
|
/**
|
|
411
411
|
* Incorrect previous history depth input provided.
|
|
412
412
|
**/
|
|
413
|
-
IncorrectHistoryDepth: GenericPalletError
|
|
413
|
+
IncorrectHistoryDepth: GenericPalletError;
|
|
414
414
|
|
|
415
415
|
/**
|
|
416
416
|
* Incorrect number of slashing spans provided.
|
|
417
417
|
**/
|
|
418
|
-
IncorrectSlashingSpans: GenericPalletError
|
|
418
|
+
IncorrectSlashingSpans: GenericPalletError;
|
|
419
419
|
|
|
420
420
|
/**
|
|
421
421
|
* Internal state has become somehow corrupted and the operation cannot continue.
|
|
422
422
|
**/
|
|
423
|
-
BadState: GenericPalletError
|
|
423
|
+
BadState: GenericPalletError;
|
|
424
424
|
|
|
425
425
|
/**
|
|
426
426
|
* Too many nomination targets supplied.
|
|
427
427
|
**/
|
|
428
|
-
TooManyTargets: GenericPalletError
|
|
428
|
+
TooManyTargets: GenericPalletError;
|
|
429
429
|
|
|
430
430
|
/**
|
|
431
431
|
* A nomination target was supplied that was blocked or otherwise not a validator.
|
|
432
432
|
**/
|
|
433
|
-
BadTarget: GenericPalletError
|
|
433
|
+
BadTarget: GenericPalletError;
|
|
434
434
|
|
|
435
435
|
/**
|
|
436
436
|
* The user has enough bond and thus cannot be chilled forcefully by an external person.
|
|
437
437
|
**/
|
|
438
|
-
CannotChillOther: GenericPalletError
|
|
438
|
+
CannotChillOther: GenericPalletError;
|
|
439
439
|
|
|
440
440
|
/**
|
|
441
441
|
* There are too many nominators in the system. Governance needs to adjust the staking
|
|
442
442
|
* settings to keep things safe for the runtime.
|
|
443
443
|
**/
|
|
444
|
-
TooManyNominators: GenericPalletError
|
|
444
|
+
TooManyNominators: GenericPalletError;
|
|
445
445
|
|
|
446
446
|
/**
|
|
447
447
|
* There are too many validator candidates in the system. Governance needs to adjust the
|
|
448
448
|
* staking settings to keep things safe for the runtime.
|
|
449
449
|
**/
|
|
450
|
-
TooManyValidators: GenericPalletError
|
|
450
|
+
TooManyValidators: GenericPalletError;
|
|
451
451
|
|
|
452
452
|
/**
|
|
453
453
|
* Commission is too low. Must be at least `MinCommission`.
|
|
454
454
|
**/
|
|
455
|
-
CommissionTooLow: GenericPalletError
|
|
455
|
+
CommissionTooLow: GenericPalletError;
|
|
456
456
|
|
|
457
457
|
/**
|
|
458
458
|
* Some bound is not met.
|
|
459
459
|
**/
|
|
460
|
-
BoundNotMet: GenericPalletError
|
|
460
|
+
BoundNotMet: GenericPalletError;
|
|
461
461
|
|
|
462
462
|
/**
|
|
463
463
|
* Used when attempting to use deprecated controller account logic.
|
|
464
464
|
**/
|
|
465
|
-
ControllerDeprecated: GenericPalletError
|
|
465
|
+
ControllerDeprecated: GenericPalletError;
|
|
466
466
|
|
|
467
467
|
/**
|
|
468
468
|
* Cannot reset a ledger.
|
|
469
469
|
**/
|
|
470
|
-
CannotRestoreLedger: GenericPalletError
|
|
470
|
+
CannotRestoreLedger: GenericPalletError;
|
|
471
471
|
|
|
472
472
|
/**
|
|
473
473
|
* Provided reward destination is not allowed.
|
|
474
474
|
**/
|
|
475
|
-
RewardDestinationRestricted: GenericPalletError
|
|
475
|
+
RewardDestinationRestricted: GenericPalletError;
|
|
476
476
|
|
|
477
477
|
/**
|
|
478
478
|
* Not enough funds available to withdraw.
|
|
479
479
|
**/
|
|
480
|
-
NotEnoughFunds: GenericPalletError
|
|
480
|
+
NotEnoughFunds: GenericPalletError;
|
|
481
481
|
|
|
482
482
|
/**
|
|
483
483
|
* Operation not allowed for virtual stakers.
|
|
484
484
|
**/
|
|
485
|
-
VirtualStakerNotAllowed: GenericPalletError
|
|
485
|
+
VirtualStakerNotAllowed: GenericPalletError;
|
|
486
486
|
|
|
487
487
|
/**
|
|
488
488
|
* Generic pallet error
|
|
489
489
|
**/
|
|
490
|
-
[error: string]: GenericPalletError
|
|
490
|
+
[error: string]: GenericPalletError;
|
|
491
491
|
};
|
|
492
492
|
/**
|
|
493
493
|
* Pallet `Treasury`'s errors
|
|
@@ -496,63 +496,63 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
496
496
|
/**
|
|
497
497
|
* No proposal, bounty or spend at that index.
|
|
498
498
|
**/
|
|
499
|
-
InvalidIndex: GenericPalletError
|
|
499
|
+
InvalidIndex: GenericPalletError;
|
|
500
500
|
|
|
501
501
|
/**
|
|
502
502
|
* Too many approvals in the queue.
|
|
503
503
|
**/
|
|
504
|
-
TooManyApprovals: GenericPalletError
|
|
504
|
+
TooManyApprovals: GenericPalletError;
|
|
505
505
|
|
|
506
506
|
/**
|
|
507
507
|
* The spend origin is valid but the amount it is allowed to spend is lower than the
|
|
508
508
|
* amount to be spent.
|
|
509
509
|
**/
|
|
510
|
-
InsufficientPermission: GenericPalletError
|
|
510
|
+
InsufficientPermission: GenericPalletError;
|
|
511
511
|
|
|
512
512
|
/**
|
|
513
513
|
* Proposal has not been approved.
|
|
514
514
|
**/
|
|
515
|
-
ProposalNotApproved: GenericPalletError
|
|
515
|
+
ProposalNotApproved: GenericPalletError;
|
|
516
516
|
|
|
517
517
|
/**
|
|
518
518
|
* The balance of the asset kind is not convertible to the balance of the native asset.
|
|
519
519
|
**/
|
|
520
|
-
FailedToConvertBalance: GenericPalletError
|
|
520
|
+
FailedToConvertBalance: GenericPalletError;
|
|
521
521
|
|
|
522
522
|
/**
|
|
523
523
|
* The spend has expired and cannot be claimed.
|
|
524
524
|
**/
|
|
525
|
-
SpendExpired: GenericPalletError
|
|
525
|
+
SpendExpired: GenericPalletError;
|
|
526
526
|
|
|
527
527
|
/**
|
|
528
528
|
* The spend is not yet eligible for payout.
|
|
529
529
|
**/
|
|
530
|
-
EarlyPayout: GenericPalletError
|
|
530
|
+
EarlyPayout: GenericPalletError;
|
|
531
531
|
|
|
532
532
|
/**
|
|
533
533
|
* The payment has already been attempted.
|
|
534
534
|
**/
|
|
535
|
-
AlreadyAttempted: GenericPalletError
|
|
535
|
+
AlreadyAttempted: GenericPalletError;
|
|
536
536
|
|
|
537
537
|
/**
|
|
538
538
|
* There was some issue with the mechanism of payment.
|
|
539
539
|
**/
|
|
540
|
-
PayoutError: GenericPalletError
|
|
540
|
+
PayoutError: GenericPalletError;
|
|
541
541
|
|
|
542
542
|
/**
|
|
543
543
|
* The payout was not yet attempted/claimed.
|
|
544
544
|
**/
|
|
545
|
-
NotAttempted: GenericPalletError
|
|
545
|
+
NotAttempted: GenericPalletError;
|
|
546
546
|
|
|
547
547
|
/**
|
|
548
548
|
* The payment has neither failed nor succeeded yet.
|
|
549
549
|
**/
|
|
550
|
-
Inconclusive: GenericPalletError
|
|
550
|
+
Inconclusive: GenericPalletError;
|
|
551
551
|
|
|
552
552
|
/**
|
|
553
553
|
* Generic pallet error
|
|
554
554
|
**/
|
|
555
|
-
[error: string]: GenericPalletError
|
|
555
|
+
[error: string]: GenericPalletError;
|
|
556
556
|
};
|
|
557
557
|
/**
|
|
558
558
|
* Pallet `ConvictionVoting`'s errors
|
|
@@ -561,68 +561,68 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
561
561
|
/**
|
|
562
562
|
* Poll is not ongoing.
|
|
563
563
|
**/
|
|
564
|
-
NotOngoing: GenericPalletError
|
|
564
|
+
NotOngoing: GenericPalletError;
|
|
565
565
|
|
|
566
566
|
/**
|
|
567
567
|
* The given account did not vote on the poll.
|
|
568
568
|
**/
|
|
569
|
-
NotVoter: GenericPalletError
|
|
569
|
+
NotVoter: GenericPalletError;
|
|
570
570
|
|
|
571
571
|
/**
|
|
572
572
|
* The actor has no permission to conduct the action.
|
|
573
573
|
**/
|
|
574
|
-
NoPermission: GenericPalletError
|
|
574
|
+
NoPermission: GenericPalletError;
|
|
575
575
|
|
|
576
576
|
/**
|
|
577
577
|
* The actor has no permission to conduct the action right now but will do in the future.
|
|
578
578
|
**/
|
|
579
|
-
NoPermissionYet: GenericPalletError
|
|
579
|
+
NoPermissionYet: GenericPalletError;
|
|
580
580
|
|
|
581
581
|
/**
|
|
582
582
|
* The account is already delegating.
|
|
583
583
|
**/
|
|
584
|
-
AlreadyDelegating: GenericPalletError
|
|
584
|
+
AlreadyDelegating: GenericPalletError;
|
|
585
585
|
|
|
586
586
|
/**
|
|
587
587
|
* The account currently has votes attached to it and the operation cannot succeed until
|
|
588
588
|
* these are removed through `remove_vote`.
|
|
589
589
|
**/
|
|
590
|
-
AlreadyVoting: GenericPalletError
|
|
590
|
+
AlreadyVoting: GenericPalletError;
|
|
591
591
|
|
|
592
592
|
/**
|
|
593
593
|
* Too high a balance was provided that the account cannot afford.
|
|
594
594
|
**/
|
|
595
|
-
InsufficientFunds: GenericPalletError
|
|
595
|
+
InsufficientFunds: GenericPalletError;
|
|
596
596
|
|
|
597
597
|
/**
|
|
598
598
|
* The account is not currently delegating.
|
|
599
599
|
**/
|
|
600
|
-
NotDelegating: GenericPalletError
|
|
600
|
+
NotDelegating: GenericPalletError;
|
|
601
601
|
|
|
602
602
|
/**
|
|
603
603
|
* Delegation to oneself makes no sense.
|
|
604
604
|
**/
|
|
605
|
-
Nonsense: GenericPalletError
|
|
605
|
+
Nonsense: GenericPalletError;
|
|
606
606
|
|
|
607
607
|
/**
|
|
608
608
|
* Maximum number of votes reached.
|
|
609
609
|
**/
|
|
610
|
-
MaxVotesReached: GenericPalletError
|
|
610
|
+
MaxVotesReached: GenericPalletError;
|
|
611
611
|
|
|
612
612
|
/**
|
|
613
613
|
* The class must be supplied since it is not easily determinable from the state.
|
|
614
614
|
**/
|
|
615
|
-
ClassNeeded: GenericPalletError
|
|
615
|
+
ClassNeeded: GenericPalletError;
|
|
616
616
|
|
|
617
617
|
/**
|
|
618
618
|
* The class ID supplied is invalid.
|
|
619
619
|
**/
|
|
620
|
-
BadClass: GenericPalletError
|
|
620
|
+
BadClass: GenericPalletError;
|
|
621
621
|
|
|
622
622
|
/**
|
|
623
623
|
* Generic pallet error
|
|
624
624
|
**/
|
|
625
|
-
[error: string]: GenericPalletError
|
|
625
|
+
[error: string]: GenericPalletError;
|
|
626
626
|
};
|
|
627
627
|
/**
|
|
628
628
|
* Pallet `Referenda`'s errors
|
|
@@ -631,77 +631,77 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
631
631
|
/**
|
|
632
632
|
* Referendum is not ongoing.
|
|
633
633
|
**/
|
|
634
|
-
NotOngoing: GenericPalletError
|
|
634
|
+
NotOngoing: GenericPalletError;
|
|
635
635
|
|
|
636
636
|
/**
|
|
637
637
|
* Referendum's decision deposit is already paid.
|
|
638
638
|
**/
|
|
639
|
-
HasDeposit: GenericPalletError
|
|
639
|
+
HasDeposit: GenericPalletError;
|
|
640
640
|
|
|
641
641
|
/**
|
|
642
642
|
* The track identifier given was invalid.
|
|
643
643
|
**/
|
|
644
|
-
BadTrack: GenericPalletError
|
|
644
|
+
BadTrack: GenericPalletError;
|
|
645
645
|
|
|
646
646
|
/**
|
|
647
647
|
* There are already a full complement of referenda in progress for this track.
|
|
648
648
|
**/
|
|
649
|
-
Full: GenericPalletError
|
|
649
|
+
Full: GenericPalletError;
|
|
650
650
|
|
|
651
651
|
/**
|
|
652
652
|
* The queue of the track is empty.
|
|
653
653
|
**/
|
|
654
|
-
QueueEmpty: GenericPalletError
|
|
654
|
+
QueueEmpty: GenericPalletError;
|
|
655
655
|
|
|
656
656
|
/**
|
|
657
657
|
* The referendum index provided is invalid in this context.
|
|
658
658
|
**/
|
|
659
|
-
BadReferendum: GenericPalletError
|
|
659
|
+
BadReferendum: GenericPalletError;
|
|
660
660
|
|
|
661
661
|
/**
|
|
662
662
|
* There was nothing to do in the advancement.
|
|
663
663
|
**/
|
|
664
|
-
NothingToDo: GenericPalletError
|
|
664
|
+
NothingToDo: GenericPalletError;
|
|
665
665
|
|
|
666
666
|
/**
|
|
667
667
|
* No track exists for the proposal origin.
|
|
668
668
|
**/
|
|
669
|
-
NoTrack: GenericPalletError
|
|
669
|
+
NoTrack: GenericPalletError;
|
|
670
670
|
|
|
671
671
|
/**
|
|
672
672
|
* Any deposit cannot be refunded until after the decision is over.
|
|
673
673
|
**/
|
|
674
|
-
Unfinished: GenericPalletError
|
|
674
|
+
Unfinished: GenericPalletError;
|
|
675
675
|
|
|
676
676
|
/**
|
|
677
677
|
* The deposit refunder is not the depositor.
|
|
678
678
|
**/
|
|
679
|
-
NoPermission: GenericPalletError
|
|
679
|
+
NoPermission: GenericPalletError;
|
|
680
680
|
|
|
681
681
|
/**
|
|
682
682
|
* The deposit cannot be refunded since none was made.
|
|
683
683
|
**/
|
|
684
|
-
NoDeposit: GenericPalletError
|
|
684
|
+
NoDeposit: GenericPalletError;
|
|
685
685
|
|
|
686
686
|
/**
|
|
687
687
|
* The referendum status is invalid for this operation.
|
|
688
688
|
**/
|
|
689
|
-
BadStatus: GenericPalletError
|
|
689
|
+
BadStatus: GenericPalletError;
|
|
690
690
|
|
|
691
691
|
/**
|
|
692
692
|
* The preimage does not exist.
|
|
693
693
|
**/
|
|
694
|
-
PreimageNotExist: GenericPalletError
|
|
694
|
+
PreimageNotExist: GenericPalletError;
|
|
695
695
|
|
|
696
696
|
/**
|
|
697
697
|
* The preimage is stored with a different length than the one provided.
|
|
698
698
|
**/
|
|
699
|
-
PreimageStoredWithDifferentLength: GenericPalletError
|
|
699
|
+
PreimageStoredWithDifferentLength: GenericPalletError;
|
|
700
700
|
|
|
701
701
|
/**
|
|
702
702
|
* Generic pallet error
|
|
703
703
|
**/
|
|
704
|
-
[error: string]: GenericPalletError
|
|
704
|
+
[error: string]: GenericPalletError;
|
|
705
705
|
};
|
|
706
706
|
/**
|
|
707
707
|
* Pallet `FellowshipCollective`'s errors
|
|
@@ -710,62 +710,62 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
710
710
|
/**
|
|
711
711
|
* Account is already a member.
|
|
712
712
|
**/
|
|
713
|
-
AlreadyMember: GenericPalletError
|
|
713
|
+
AlreadyMember: GenericPalletError;
|
|
714
714
|
|
|
715
715
|
/**
|
|
716
716
|
* Account is not a member.
|
|
717
717
|
**/
|
|
718
|
-
NotMember: GenericPalletError
|
|
718
|
+
NotMember: GenericPalletError;
|
|
719
719
|
|
|
720
720
|
/**
|
|
721
721
|
* The given poll index is unknown or has closed.
|
|
722
722
|
**/
|
|
723
|
-
NotPolling: GenericPalletError
|
|
723
|
+
NotPolling: GenericPalletError;
|
|
724
724
|
|
|
725
725
|
/**
|
|
726
726
|
* The given poll is still ongoing.
|
|
727
727
|
**/
|
|
728
|
-
Ongoing: GenericPalletError
|
|
728
|
+
Ongoing: GenericPalletError;
|
|
729
729
|
|
|
730
730
|
/**
|
|
731
731
|
* There are no further records to be removed.
|
|
732
732
|
**/
|
|
733
|
-
NoneRemaining: GenericPalletError
|
|
733
|
+
NoneRemaining: GenericPalletError;
|
|
734
734
|
|
|
735
735
|
/**
|
|
736
736
|
* Unexpected error in state.
|
|
737
737
|
**/
|
|
738
|
-
Corruption: GenericPalletError
|
|
738
|
+
Corruption: GenericPalletError;
|
|
739
739
|
|
|
740
740
|
/**
|
|
741
741
|
* The member's rank is too low to vote.
|
|
742
742
|
**/
|
|
743
|
-
RankTooLow: GenericPalletError
|
|
743
|
+
RankTooLow: GenericPalletError;
|
|
744
744
|
|
|
745
745
|
/**
|
|
746
746
|
* The information provided is incorrect.
|
|
747
747
|
**/
|
|
748
|
-
InvalidWitness: GenericPalletError
|
|
748
|
+
InvalidWitness: GenericPalletError;
|
|
749
749
|
|
|
750
750
|
/**
|
|
751
751
|
* The origin is not sufficiently privileged to do the operation.
|
|
752
752
|
**/
|
|
753
|
-
NoPermission: GenericPalletError
|
|
753
|
+
NoPermission: GenericPalletError;
|
|
754
754
|
|
|
755
755
|
/**
|
|
756
756
|
* The new member to exchange is the same as the old member
|
|
757
757
|
**/
|
|
758
|
-
SameMember: GenericPalletError
|
|
758
|
+
SameMember: GenericPalletError;
|
|
759
759
|
|
|
760
760
|
/**
|
|
761
761
|
* The max member count for the rank has been reached.
|
|
762
762
|
**/
|
|
763
|
-
TooManyMembers: GenericPalletError
|
|
763
|
+
TooManyMembers: GenericPalletError;
|
|
764
764
|
|
|
765
765
|
/**
|
|
766
766
|
* Generic pallet error
|
|
767
767
|
**/
|
|
768
|
-
[error: string]: GenericPalletError
|
|
768
|
+
[error: string]: GenericPalletError;
|
|
769
769
|
};
|
|
770
770
|
/**
|
|
771
771
|
* Pallet `FellowshipReferenda`'s errors
|
|
@@ -774,77 +774,77 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
774
774
|
/**
|
|
775
775
|
* Referendum is not ongoing.
|
|
776
776
|
**/
|
|
777
|
-
NotOngoing: GenericPalletError
|
|
777
|
+
NotOngoing: GenericPalletError;
|
|
778
778
|
|
|
779
779
|
/**
|
|
780
780
|
* Referendum's decision deposit is already paid.
|
|
781
781
|
**/
|
|
782
|
-
HasDeposit: GenericPalletError
|
|
782
|
+
HasDeposit: GenericPalletError;
|
|
783
783
|
|
|
784
784
|
/**
|
|
785
785
|
* The track identifier given was invalid.
|
|
786
786
|
**/
|
|
787
|
-
BadTrack: GenericPalletError
|
|
787
|
+
BadTrack: GenericPalletError;
|
|
788
788
|
|
|
789
789
|
/**
|
|
790
790
|
* There are already a full complement of referenda in progress for this track.
|
|
791
791
|
**/
|
|
792
|
-
Full: GenericPalletError
|
|
792
|
+
Full: GenericPalletError;
|
|
793
793
|
|
|
794
794
|
/**
|
|
795
795
|
* The queue of the track is empty.
|
|
796
796
|
**/
|
|
797
|
-
QueueEmpty: GenericPalletError
|
|
797
|
+
QueueEmpty: GenericPalletError;
|
|
798
798
|
|
|
799
799
|
/**
|
|
800
800
|
* The referendum index provided is invalid in this context.
|
|
801
801
|
**/
|
|
802
|
-
BadReferendum: GenericPalletError
|
|
802
|
+
BadReferendum: GenericPalletError;
|
|
803
803
|
|
|
804
804
|
/**
|
|
805
805
|
* There was nothing to do in the advancement.
|
|
806
806
|
**/
|
|
807
|
-
NothingToDo: GenericPalletError
|
|
807
|
+
NothingToDo: GenericPalletError;
|
|
808
808
|
|
|
809
809
|
/**
|
|
810
810
|
* No track exists for the proposal origin.
|
|
811
811
|
**/
|
|
812
|
-
NoTrack: GenericPalletError
|
|
812
|
+
NoTrack: GenericPalletError;
|
|
813
813
|
|
|
814
814
|
/**
|
|
815
815
|
* Any deposit cannot be refunded until after the decision is over.
|
|
816
816
|
**/
|
|
817
|
-
Unfinished: GenericPalletError
|
|
817
|
+
Unfinished: GenericPalletError;
|
|
818
818
|
|
|
819
819
|
/**
|
|
820
820
|
* The deposit refunder is not the depositor.
|
|
821
821
|
**/
|
|
822
|
-
NoPermission: GenericPalletError
|
|
822
|
+
NoPermission: GenericPalletError;
|
|
823
823
|
|
|
824
824
|
/**
|
|
825
825
|
* The deposit cannot be refunded since none was made.
|
|
826
826
|
**/
|
|
827
|
-
NoDeposit: GenericPalletError
|
|
827
|
+
NoDeposit: GenericPalletError;
|
|
828
828
|
|
|
829
829
|
/**
|
|
830
830
|
* The referendum status is invalid for this operation.
|
|
831
831
|
**/
|
|
832
|
-
BadStatus: GenericPalletError
|
|
832
|
+
BadStatus: GenericPalletError;
|
|
833
833
|
|
|
834
834
|
/**
|
|
835
835
|
* The preimage does not exist.
|
|
836
836
|
**/
|
|
837
|
-
PreimageNotExist: GenericPalletError
|
|
837
|
+
PreimageNotExist: GenericPalletError;
|
|
838
838
|
|
|
839
839
|
/**
|
|
840
840
|
* The preimage is stored with a different length than the one provided.
|
|
841
841
|
**/
|
|
842
|
-
PreimageStoredWithDifferentLength: GenericPalletError
|
|
842
|
+
PreimageStoredWithDifferentLength: GenericPalletError;
|
|
843
843
|
|
|
844
844
|
/**
|
|
845
845
|
* Generic pallet error
|
|
846
846
|
**/
|
|
847
|
-
[error: string]: GenericPalletError
|
|
847
|
+
[error: string]: GenericPalletError;
|
|
848
848
|
};
|
|
849
849
|
/**
|
|
850
850
|
* Pallet `Whitelist`'s errors
|
|
@@ -853,32 +853,32 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
853
853
|
/**
|
|
854
854
|
* The preimage of the call hash could not be loaded.
|
|
855
855
|
**/
|
|
856
|
-
UnavailablePreImage: GenericPalletError
|
|
856
|
+
UnavailablePreImage: GenericPalletError;
|
|
857
857
|
|
|
858
858
|
/**
|
|
859
859
|
* The call could not be decoded.
|
|
860
860
|
**/
|
|
861
|
-
UndecodableCall: GenericPalletError
|
|
861
|
+
UndecodableCall: GenericPalletError;
|
|
862
862
|
|
|
863
863
|
/**
|
|
864
864
|
* The weight of the decoded call was higher than the witness.
|
|
865
865
|
**/
|
|
866
|
-
InvalidCallWeightWitness: GenericPalletError
|
|
866
|
+
InvalidCallWeightWitness: GenericPalletError;
|
|
867
867
|
|
|
868
868
|
/**
|
|
869
869
|
* The call was not whitelisted.
|
|
870
870
|
**/
|
|
871
|
-
CallIsNotWhitelisted: GenericPalletError
|
|
871
|
+
CallIsNotWhitelisted: GenericPalletError;
|
|
872
872
|
|
|
873
873
|
/**
|
|
874
874
|
* The call was already whitelisted; No-Op.
|
|
875
875
|
**/
|
|
876
|
-
CallAlreadyWhitelisted: GenericPalletError
|
|
876
|
+
CallAlreadyWhitelisted: GenericPalletError;
|
|
877
877
|
|
|
878
878
|
/**
|
|
879
879
|
* Generic pallet error
|
|
880
880
|
**/
|
|
881
|
-
[error: string]: GenericPalletError
|
|
881
|
+
[error: string]: GenericPalletError;
|
|
882
882
|
};
|
|
883
883
|
/**
|
|
884
884
|
* Pallet `Scheduler`'s errors
|
|
@@ -887,32 +887,32 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
887
887
|
/**
|
|
888
888
|
* Failed to schedule a call
|
|
889
889
|
**/
|
|
890
|
-
FailedToSchedule: GenericPalletError
|
|
890
|
+
FailedToSchedule: GenericPalletError;
|
|
891
891
|
|
|
892
892
|
/**
|
|
893
893
|
* Cannot find the scheduled call.
|
|
894
894
|
**/
|
|
895
|
-
NotFound: GenericPalletError
|
|
895
|
+
NotFound: GenericPalletError;
|
|
896
896
|
|
|
897
897
|
/**
|
|
898
898
|
* Given target block number is in the past.
|
|
899
899
|
**/
|
|
900
|
-
TargetBlockNumberInPast: GenericPalletError
|
|
900
|
+
TargetBlockNumberInPast: GenericPalletError;
|
|
901
901
|
|
|
902
902
|
/**
|
|
903
903
|
* Reschedule failed because it does not change scheduled time.
|
|
904
904
|
**/
|
|
905
|
-
RescheduleNoChange: GenericPalletError
|
|
905
|
+
RescheduleNoChange: GenericPalletError;
|
|
906
906
|
|
|
907
907
|
/**
|
|
908
908
|
* Attempt to use a non-named function on a named task.
|
|
909
909
|
**/
|
|
910
|
-
Named: GenericPalletError
|
|
910
|
+
Named: GenericPalletError;
|
|
911
911
|
|
|
912
912
|
/**
|
|
913
913
|
* Generic pallet error
|
|
914
914
|
**/
|
|
915
|
-
[error: string]: GenericPalletError
|
|
915
|
+
[error: string]: GenericPalletError;
|
|
916
916
|
};
|
|
917
917
|
/**
|
|
918
918
|
* Pallet `Preimage`'s errors
|
|
@@ -921,47 +921,47 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
921
921
|
/**
|
|
922
922
|
* Preimage is too large to store on-chain.
|
|
923
923
|
**/
|
|
924
|
-
TooBig: GenericPalletError
|
|
924
|
+
TooBig: GenericPalletError;
|
|
925
925
|
|
|
926
926
|
/**
|
|
927
927
|
* Preimage has already been noted on-chain.
|
|
928
928
|
**/
|
|
929
|
-
AlreadyNoted: GenericPalletError
|
|
929
|
+
AlreadyNoted: GenericPalletError;
|
|
930
930
|
|
|
931
931
|
/**
|
|
932
932
|
* The user is not authorized to perform this action.
|
|
933
933
|
**/
|
|
934
|
-
NotAuthorized: GenericPalletError
|
|
934
|
+
NotAuthorized: GenericPalletError;
|
|
935
935
|
|
|
936
936
|
/**
|
|
937
937
|
* The preimage cannot be removed since it has not yet been noted.
|
|
938
938
|
**/
|
|
939
|
-
NotNoted: GenericPalletError
|
|
939
|
+
NotNoted: GenericPalletError;
|
|
940
940
|
|
|
941
941
|
/**
|
|
942
942
|
* A preimage may not be removed when there are outstanding requests.
|
|
943
943
|
**/
|
|
944
|
-
Requested: GenericPalletError
|
|
944
|
+
Requested: GenericPalletError;
|
|
945
945
|
|
|
946
946
|
/**
|
|
947
947
|
* The preimage request cannot be removed since no outstanding requests exist.
|
|
948
948
|
**/
|
|
949
|
-
NotRequested: GenericPalletError
|
|
949
|
+
NotRequested: GenericPalletError;
|
|
950
950
|
|
|
951
951
|
/**
|
|
952
952
|
* More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once.
|
|
953
953
|
**/
|
|
954
|
-
TooMany: GenericPalletError
|
|
954
|
+
TooMany: GenericPalletError;
|
|
955
955
|
|
|
956
956
|
/**
|
|
957
957
|
* Too few hashes were requested to be upgraded (i.e. zero).
|
|
958
958
|
**/
|
|
959
|
-
TooFew: GenericPalletError
|
|
959
|
+
TooFew: GenericPalletError;
|
|
960
960
|
|
|
961
961
|
/**
|
|
962
962
|
* Generic pallet error
|
|
963
963
|
**/
|
|
964
|
-
[error: string]: GenericPalletError
|
|
964
|
+
[error: string]: GenericPalletError;
|
|
965
965
|
};
|
|
966
966
|
/**
|
|
967
967
|
* Pallet `Identity`'s errors
|
|
@@ -970,137 +970,137 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
970
970
|
/**
|
|
971
971
|
* Too many subs-accounts.
|
|
972
972
|
**/
|
|
973
|
-
TooManySubAccounts: GenericPalletError
|
|
973
|
+
TooManySubAccounts: GenericPalletError;
|
|
974
974
|
|
|
975
975
|
/**
|
|
976
976
|
* Account isn't found.
|
|
977
977
|
**/
|
|
978
|
-
NotFound: GenericPalletError
|
|
978
|
+
NotFound: GenericPalletError;
|
|
979
979
|
|
|
980
980
|
/**
|
|
981
981
|
* Account isn't named.
|
|
982
982
|
**/
|
|
983
|
-
NotNamed: GenericPalletError
|
|
983
|
+
NotNamed: GenericPalletError;
|
|
984
984
|
|
|
985
985
|
/**
|
|
986
986
|
* Empty index.
|
|
987
987
|
**/
|
|
988
|
-
EmptyIndex: GenericPalletError
|
|
988
|
+
EmptyIndex: GenericPalletError;
|
|
989
989
|
|
|
990
990
|
/**
|
|
991
991
|
* Fee is changed.
|
|
992
992
|
**/
|
|
993
|
-
FeeChanged: GenericPalletError
|
|
993
|
+
FeeChanged: GenericPalletError;
|
|
994
994
|
|
|
995
995
|
/**
|
|
996
996
|
* No identity found.
|
|
997
997
|
**/
|
|
998
|
-
NoIdentity: GenericPalletError
|
|
998
|
+
NoIdentity: GenericPalletError;
|
|
999
999
|
|
|
1000
1000
|
/**
|
|
1001
1001
|
* Sticky judgement.
|
|
1002
1002
|
**/
|
|
1003
|
-
StickyJudgement: GenericPalletError
|
|
1003
|
+
StickyJudgement: GenericPalletError;
|
|
1004
1004
|
|
|
1005
1005
|
/**
|
|
1006
1006
|
* Judgement given.
|
|
1007
1007
|
**/
|
|
1008
|
-
JudgementGiven: GenericPalletError
|
|
1008
|
+
JudgementGiven: GenericPalletError;
|
|
1009
1009
|
|
|
1010
1010
|
/**
|
|
1011
1011
|
* Invalid judgement.
|
|
1012
1012
|
**/
|
|
1013
|
-
InvalidJudgement: GenericPalletError
|
|
1013
|
+
InvalidJudgement: GenericPalletError;
|
|
1014
1014
|
|
|
1015
1015
|
/**
|
|
1016
1016
|
* The index is invalid.
|
|
1017
1017
|
**/
|
|
1018
|
-
InvalidIndex: GenericPalletError
|
|
1018
|
+
InvalidIndex: GenericPalletError;
|
|
1019
1019
|
|
|
1020
1020
|
/**
|
|
1021
1021
|
* The target is invalid.
|
|
1022
1022
|
**/
|
|
1023
|
-
InvalidTarget: GenericPalletError
|
|
1023
|
+
InvalidTarget: GenericPalletError;
|
|
1024
1024
|
|
|
1025
1025
|
/**
|
|
1026
1026
|
* Maximum amount of registrars reached. Cannot add any more.
|
|
1027
1027
|
**/
|
|
1028
|
-
TooManyRegistrars: GenericPalletError
|
|
1028
|
+
TooManyRegistrars: GenericPalletError;
|
|
1029
1029
|
|
|
1030
1030
|
/**
|
|
1031
1031
|
* Account ID is already named.
|
|
1032
1032
|
**/
|
|
1033
|
-
AlreadyClaimed: GenericPalletError
|
|
1033
|
+
AlreadyClaimed: GenericPalletError;
|
|
1034
1034
|
|
|
1035
1035
|
/**
|
|
1036
1036
|
* Sender is not a sub-account.
|
|
1037
1037
|
**/
|
|
1038
|
-
NotSub: GenericPalletError
|
|
1038
|
+
NotSub: GenericPalletError;
|
|
1039
1039
|
|
|
1040
1040
|
/**
|
|
1041
1041
|
* Sub-account isn't owned by sender.
|
|
1042
1042
|
**/
|
|
1043
|
-
NotOwned: GenericPalletError
|
|
1043
|
+
NotOwned: GenericPalletError;
|
|
1044
1044
|
|
|
1045
1045
|
/**
|
|
1046
1046
|
* The provided judgement was for a different identity.
|
|
1047
1047
|
**/
|
|
1048
|
-
JudgementForDifferentIdentity: GenericPalletError
|
|
1048
|
+
JudgementForDifferentIdentity: GenericPalletError;
|
|
1049
1049
|
|
|
1050
1050
|
/**
|
|
1051
1051
|
* Error that occurs when there is an issue paying for judgement.
|
|
1052
1052
|
**/
|
|
1053
|
-
JudgementPaymentFailed: GenericPalletError
|
|
1053
|
+
JudgementPaymentFailed: GenericPalletError;
|
|
1054
1054
|
|
|
1055
1055
|
/**
|
|
1056
1056
|
* The provided suffix is too long.
|
|
1057
1057
|
**/
|
|
1058
|
-
InvalidSuffix: GenericPalletError
|
|
1058
|
+
InvalidSuffix: GenericPalletError;
|
|
1059
1059
|
|
|
1060
1060
|
/**
|
|
1061
1061
|
* The sender does not have permission to issue a username.
|
|
1062
1062
|
**/
|
|
1063
|
-
NotUsernameAuthority: GenericPalletError
|
|
1063
|
+
NotUsernameAuthority: GenericPalletError;
|
|
1064
1064
|
|
|
1065
1065
|
/**
|
|
1066
1066
|
* The authority cannot allocate any more usernames.
|
|
1067
1067
|
**/
|
|
1068
|
-
NoAllocation: GenericPalletError
|
|
1068
|
+
NoAllocation: GenericPalletError;
|
|
1069
1069
|
|
|
1070
1070
|
/**
|
|
1071
1071
|
* The signature on a username was not valid.
|
|
1072
1072
|
**/
|
|
1073
|
-
InvalidSignature: GenericPalletError
|
|
1073
|
+
InvalidSignature: GenericPalletError;
|
|
1074
1074
|
|
|
1075
1075
|
/**
|
|
1076
1076
|
* Setting this username requires a signature, but none was provided.
|
|
1077
1077
|
**/
|
|
1078
|
-
RequiresSignature: GenericPalletError
|
|
1078
|
+
RequiresSignature: GenericPalletError;
|
|
1079
1079
|
|
|
1080
1080
|
/**
|
|
1081
1081
|
* The username does not meet the requirements.
|
|
1082
1082
|
**/
|
|
1083
|
-
InvalidUsername: GenericPalletError
|
|
1083
|
+
InvalidUsername: GenericPalletError;
|
|
1084
1084
|
|
|
1085
1085
|
/**
|
|
1086
1086
|
* The username is already taken.
|
|
1087
1087
|
**/
|
|
1088
|
-
UsernameTaken: GenericPalletError
|
|
1088
|
+
UsernameTaken: GenericPalletError;
|
|
1089
1089
|
|
|
1090
1090
|
/**
|
|
1091
1091
|
* The requested username does not exist.
|
|
1092
1092
|
**/
|
|
1093
|
-
NoUsername: GenericPalletError
|
|
1093
|
+
NoUsername: GenericPalletError;
|
|
1094
1094
|
|
|
1095
1095
|
/**
|
|
1096
1096
|
* The username cannot be forcefully removed because it can still be accepted.
|
|
1097
1097
|
**/
|
|
1098
|
-
NotExpired: GenericPalletError
|
|
1098
|
+
NotExpired: GenericPalletError;
|
|
1099
1099
|
|
|
1100
1100
|
/**
|
|
1101
1101
|
* Generic pallet error
|
|
1102
1102
|
**/
|
|
1103
|
-
[error: string]: GenericPalletError
|
|
1103
|
+
[error: string]: GenericPalletError;
|
|
1104
1104
|
};
|
|
1105
1105
|
/**
|
|
1106
1106
|
* Pallet `Proxy`'s errors
|
|
@@ -1109,47 +1109,47 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1109
1109
|
/**
|
|
1110
1110
|
* There are too many proxies registered or too many announcements pending.
|
|
1111
1111
|
**/
|
|
1112
|
-
TooMany: GenericPalletError
|
|
1112
|
+
TooMany: GenericPalletError;
|
|
1113
1113
|
|
|
1114
1114
|
/**
|
|
1115
1115
|
* Proxy registration not found.
|
|
1116
1116
|
**/
|
|
1117
|
-
NotFound: GenericPalletError
|
|
1117
|
+
NotFound: GenericPalletError;
|
|
1118
1118
|
|
|
1119
1119
|
/**
|
|
1120
1120
|
* Sender is not a proxy of the account to be proxied.
|
|
1121
1121
|
**/
|
|
1122
|
-
NotProxy: GenericPalletError
|
|
1122
|
+
NotProxy: GenericPalletError;
|
|
1123
1123
|
|
|
1124
1124
|
/**
|
|
1125
1125
|
* A call which is incompatible with the proxy type's filter was attempted.
|
|
1126
1126
|
**/
|
|
1127
|
-
Unproxyable: GenericPalletError
|
|
1127
|
+
Unproxyable: GenericPalletError;
|
|
1128
1128
|
|
|
1129
1129
|
/**
|
|
1130
1130
|
* Account is already a proxy.
|
|
1131
1131
|
**/
|
|
1132
|
-
Duplicate: GenericPalletError
|
|
1132
|
+
Duplicate: GenericPalletError;
|
|
1133
1133
|
|
|
1134
1134
|
/**
|
|
1135
1135
|
* Call may not be made by proxy because it may escalate its privileges.
|
|
1136
1136
|
**/
|
|
1137
|
-
NoPermission: GenericPalletError
|
|
1137
|
+
NoPermission: GenericPalletError;
|
|
1138
1138
|
|
|
1139
1139
|
/**
|
|
1140
1140
|
* Announcement, if made at all, was made too recently.
|
|
1141
1141
|
**/
|
|
1142
|
-
Unannounced: GenericPalletError
|
|
1142
|
+
Unannounced: GenericPalletError;
|
|
1143
1143
|
|
|
1144
1144
|
/**
|
|
1145
1145
|
* Cannot add self as proxy.
|
|
1146
1146
|
**/
|
|
1147
|
-
NoSelfProxy: GenericPalletError
|
|
1147
|
+
NoSelfProxy: GenericPalletError;
|
|
1148
1148
|
|
|
1149
1149
|
/**
|
|
1150
1150
|
* Generic pallet error
|
|
1151
1151
|
**/
|
|
1152
|
-
[error: string]: GenericPalletError
|
|
1152
|
+
[error: string]: GenericPalletError;
|
|
1153
1153
|
};
|
|
1154
1154
|
/**
|
|
1155
1155
|
* Pallet `Multisig`'s errors
|
|
@@ -1158,77 +1158,77 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1158
1158
|
/**
|
|
1159
1159
|
* Threshold must be 2 or greater.
|
|
1160
1160
|
**/
|
|
1161
|
-
MinimumThreshold: GenericPalletError
|
|
1161
|
+
MinimumThreshold: GenericPalletError;
|
|
1162
1162
|
|
|
1163
1163
|
/**
|
|
1164
1164
|
* Call is already approved by this signatory.
|
|
1165
1165
|
**/
|
|
1166
|
-
AlreadyApproved: GenericPalletError
|
|
1166
|
+
AlreadyApproved: GenericPalletError;
|
|
1167
1167
|
|
|
1168
1168
|
/**
|
|
1169
1169
|
* Call doesn't need any (more) approvals.
|
|
1170
1170
|
**/
|
|
1171
|
-
NoApprovalsNeeded: GenericPalletError
|
|
1171
|
+
NoApprovalsNeeded: GenericPalletError;
|
|
1172
1172
|
|
|
1173
1173
|
/**
|
|
1174
1174
|
* There are too few signatories in the list.
|
|
1175
1175
|
**/
|
|
1176
|
-
TooFewSignatories: GenericPalletError
|
|
1176
|
+
TooFewSignatories: GenericPalletError;
|
|
1177
1177
|
|
|
1178
1178
|
/**
|
|
1179
1179
|
* There are too many signatories in the list.
|
|
1180
1180
|
**/
|
|
1181
|
-
TooManySignatories: GenericPalletError
|
|
1181
|
+
TooManySignatories: GenericPalletError;
|
|
1182
1182
|
|
|
1183
1183
|
/**
|
|
1184
1184
|
* The signatories were provided out of order; they should be ordered.
|
|
1185
1185
|
**/
|
|
1186
|
-
SignatoriesOutOfOrder: GenericPalletError
|
|
1186
|
+
SignatoriesOutOfOrder: GenericPalletError;
|
|
1187
1187
|
|
|
1188
1188
|
/**
|
|
1189
1189
|
* The sender was contained in the other signatories; it shouldn't be.
|
|
1190
1190
|
**/
|
|
1191
|
-
SenderInSignatories: GenericPalletError
|
|
1191
|
+
SenderInSignatories: GenericPalletError;
|
|
1192
1192
|
|
|
1193
1193
|
/**
|
|
1194
1194
|
* Multisig operation not found when attempting to cancel.
|
|
1195
1195
|
**/
|
|
1196
|
-
NotFound: GenericPalletError
|
|
1196
|
+
NotFound: GenericPalletError;
|
|
1197
1197
|
|
|
1198
1198
|
/**
|
|
1199
1199
|
* Only the account that originally created the multisig is able to cancel it.
|
|
1200
1200
|
**/
|
|
1201
|
-
NotOwner: GenericPalletError
|
|
1201
|
+
NotOwner: GenericPalletError;
|
|
1202
1202
|
|
|
1203
1203
|
/**
|
|
1204
1204
|
* No timepoint was given, yet the multisig operation is already underway.
|
|
1205
1205
|
**/
|
|
1206
|
-
NoTimepoint: GenericPalletError
|
|
1206
|
+
NoTimepoint: GenericPalletError;
|
|
1207
1207
|
|
|
1208
1208
|
/**
|
|
1209
1209
|
* A different timepoint was given to the multisig operation that is underway.
|
|
1210
1210
|
**/
|
|
1211
|
-
WrongTimepoint: GenericPalletError
|
|
1211
|
+
WrongTimepoint: GenericPalletError;
|
|
1212
1212
|
|
|
1213
1213
|
/**
|
|
1214
1214
|
* A timepoint was given, yet no multisig operation is underway.
|
|
1215
1215
|
**/
|
|
1216
|
-
UnexpectedTimepoint: GenericPalletError
|
|
1216
|
+
UnexpectedTimepoint: GenericPalletError;
|
|
1217
1217
|
|
|
1218
1218
|
/**
|
|
1219
1219
|
* The maximum weight information provided was too low.
|
|
1220
1220
|
**/
|
|
1221
|
-
MaxWeightTooLow: GenericPalletError
|
|
1221
|
+
MaxWeightTooLow: GenericPalletError;
|
|
1222
1222
|
|
|
1223
1223
|
/**
|
|
1224
1224
|
* The data to be stored is already stored.
|
|
1225
1225
|
**/
|
|
1226
|
-
AlreadyStored: GenericPalletError
|
|
1226
|
+
AlreadyStored: GenericPalletError;
|
|
1227
1227
|
|
|
1228
1228
|
/**
|
|
1229
1229
|
* Generic pallet error
|
|
1230
1230
|
**/
|
|
1231
|
-
[error: string]: GenericPalletError
|
|
1231
|
+
[error: string]: GenericPalletError;
|
|
1232
1232
|
};
|
|
1233
1233
|
/**
|
|
1234
1234
|
* Pallet `ElectionProviderMultiPhase`'s errors
|
|
@@ -1237,82 +1237,82 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1237
1237
|
/**
|
|
1238
1238
|
* Submission was too early.
|
|
1239
1239
|
**/
|
|
1240
|
-
PreDispatchEarlySubmission: GenericPalletError
|
|
1240
|
+
PreDispatchEarlySubmission: GenericPalletError;
|
|
1241
1241
|
|
|
1242
1242
|
/**
|
|
1243
1243
|
* Wrong number of winners presented.
|
|
1244
1244
|
**/
|
|
1245
|
-
PreDispatchWrongWinnerCount: GenericPalletError
|
|
1245
|
+
PreDispatchWrongWinnerCount: GenericPalletError;
|
|
1246
1246
|
|
|
1247
1247
|
/**
|
|
1248
1248
|
* Submission was too weak, score-wise.
|
|
1249
1249
|
**/
|
|
1250
|
-
PreDispatchWeakSubmission: GenericPalletError
|
|
1250
|
+
PreDispatchWeakSubmission: GenericPalletError;
|
|
1251
1251
|
|
|
1252
1252
|
/**
|
|
1253
1253
|
* The queue was full, and the solution was not better than any of the existing ones.
|
|
1254
1254
|
**/
|
|
1255
|
-
SignedQueueFull: GenericPalletError
|
|
1255
|
+
SignedQueueFull: GenericPalletError;
|
|
1256
1256
|
|
|
1257
1257
|
/**
|
|
1258
1258
|
* The origin failed to pay the deposit.
|
|
1259
1259
|
**/
|
|
1260
|
-
SignedCannotPayDeposit: GenericPalletError
|
|
1260
|
+
SignedCannotPayDeposit: GenericPalletError;
|
|
1261
1261
|
|
|
1262
1262
|
/**
|
|
1263
1263
|
* Witness data to dispatchable is invalid.
|
|
1264
1264
|
**/
|
|
1265
|
-
SignedInvalidWitness: GenericPalletError
|
|
1265
|
+
SignedInvalidWitness: GenericPalletError;
|
|
1266
1266
|
|
|
1267
1267
|
/**
|
|
1268
1268
|
* The signed submission consumes too much weight
|
|
1269
1269
|
**/
|
|
1270
|
-
SignedTooMuchWeight: GenericPalletError
|
|
1270
|
+
SignedTooMuchWeight: GenericPalletError;
|
|
1271
1271
|
|
|
1272
1272
|
/**
|
|
1273
1273
|
* OCW submitted solution for wrong round
|
|
1274
1274
|
**/
|
|
1275
|
-
OcwCallWrongEra: GenericPalletError
|
|
1275
|
+
OcwCallWrongEra: GenericPalletError;
|
|
1276
1276
|
|
|
1277
1277
|
/**
|
|
1278
1278
|
* Snapshot metadata should exist but didn't.
|
|
1279
1279
|
**/
|
|
1280
|
-
MissingSnapshotMetadata: GenericPalletError
|
|
1280
|
+
MissingSnapshotMetadata: GenericPalletError;
|
|
1281
1281
|
|
|
1282
1282
|
/**
|
|
1283
1283
|
* `Self::insert_submission` returned an invalid index.
|
|
1284
1284
|
**/
|
|
1285
|
-
InvalidSubmissionIndex: GenericPalletError
|
|
1285
|
+
InvalidSubmissionIndex: GenericPalletError;
|
|
1286
1286
|
|
|
1287
1287
|
/**
|
|
1288
1288
|
* The call is not allowed at this point.
|
|
1289
1289
|
**/
|
|
1290
|
-
CallNotAllowed: GenericPalletError
|
|
1290
|
+
CallNotAllowed: GenericPalletError;
|
|
1291
1291
|
|
|
1292
1292
|
/**
|
|
1293
1293
|
* The fallback failed
|
|
1294
1294
|
**/
|
|
1295
|
-
FallbackFailed: GenericPalletError
|
|
1295
|
+
FallbackFailed: GenericPalletError;
|
|
1296
1296
|
|
|
1297
1297
|
/**
|
|
1298
1298
|
* Some bound not met
|
|
1299
1299
|
**/
|
|
1300
|
-
BoundNotMet: GenericPalletError
|
|
1300
|
+
BoundNotMet: GenericPalletError;
|
|
1301
1301
|
|
|
1302
1302
|
/**
|
|
1303
1303
|
* Submitted solution has too many winners
|
|
1304
1304
|
**/
|
|
1305
|
-
TooManyWinners: GenericPalletError
|
|
1305
|
+
TooManyWinners: GenericPalletError;
|
|
1306
1306
|
|
|
1307
1307
|
/**
|
|
1308
1308
|
* Submission was prepared for a different round.
|
|
1309
1309
|
**/
|
|
1310
|
-
PreDispatchDifferentRound: GenericPalletError
|
|
1310
|
+
PreDispatchDifferentRound: GenericPalletError;
|
|
1311
1311
|
|
|
1312
1312
|
/**
|
|
1313
1313
|
* Generic pallet error
|
|
1314
1314
|
**/
|
|
1315
|
-
[error: string]: GenericPalletError
|
|
1315
|
+
[error: string]: GenericPalletError;
|
|
1316
1316
|
};
|
|
1317
1317
|
/**
|
|
1318
1318
|
* Pallet `Bounties`'s errors
|
|
@@ -1321,63 +1321,63 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1321
1321
|
/**
|
|
1322
1322
|
* Proposer's balance is too low.
|
|
1323
1323
|
**/
|
|
1324
|
-
InsufficientProposersBalance: GenericPalletError
|
|
1324
|
+
InsufficientProposersBalance: GenericPalletError;
|
|
1325
1325
|
|
|
1326
1326
|
/**
|
|
1327
1327
|
* No proposal or bounty at that index.
|
|
1328
1328
|
**/
|
|
1329
|
-
InvalidIndex: GenericPalletError
|
|
1329
|
+
InvalidIndex: GenericPalletError;
|
|
1330
1330
|
|
|
1331
1331
|
/**
|
|
1332
1332
|
* The reason given is just too big.
|
|
1333
1333
|
**/
|
|
1334
|
-
ReasonTooBig: GenericPalletError
|
|
1334
|
+
ReasonTooBig: GenericPalletError;
|
|
1335
1335
|
|
|
1336
1336
|
/**
|
|
1337
1337
|
* The bounty status is unexpected.
|
|
1338
1338
|
**/
|
|
1339
|
-
UnexpectedStatus: GenericPalletError
|
|
1339
|
+
UnexpectedStatus: GenericPalletError;
|
|
1340
1340
|
|
|
1341
1341
|
/**
|
|
1342
1342
|
* Require bounty curator.
|
|
1343
1343
|
**/
|
|
1344
|
-
RequireCurator: GenericPalletError
|
|
1344
|
+
RequireCurator: GenericPalletError;
|
|
1345
1345
|
|
|
1346
1346
|
/**
|
|
1347
1347
|
* Invalid bounty value.
|
|
1348
1348
|
**/
|
|
1349
|
-
InvalidValue: GenericPalletError
|
|
1349
|
+
InvalidValue: GenericPalletError;
|
|
1350
1350
|
|
|
1351
1351
|
/**
|
|
1352
1352
|
* Invalid bounty fee.
|
|
1353
1353
|
**/
|
|
1354
|
-
InvalidFee: GenericPalletError
|
|
1354
|
+
InvalidFee: GenericPalletError;
|
|
1355
1355
|
|
|
1356
1356
|
/**
|
|
1357
1357
|
* A bounty payout is pending.
|
|
1358
1358
|
* To cancel the bounty, you must unassign and slash the curator.
|
|
1359
1359
|
**/
|
|
1360
|
-
PendingPayout: GenericPalletError
|
|
1360
|
+
PendingPayout: GenericPalletError;
|
|
1361
1361
|
|
|
1362
1362
|
/**
|
|
1363
1363
|
* The bounties cannot be claimed/closed because it's still in the countdown period.
|
|
1364
1364
|
**/
|
|
1365
|
-
Premature: GenericPalletError
|
|
1365
|
+
Premature: GenericPalletError;
|
|
1366
1366
|
|
|
1367
1367
|
/**
|
|
1368
1368
|
* The bounty cannot be closed because it has active child bounties.
|
|
1369
1369
|
**/
|
|
1370
|
-
HasActiveChildBounty: GenericPalletError
|
|
1370
|
+
HasActiveChildBounty: GenericPalletError;
|
|
1371
1371
|
|
|
1372
1372
|
/**
|
|
1373
1373
|
* Too many approvals are already queued.
|
|
1374
1374
|
**/
|
|
1375
|
-
TooManyQueued: GenericPalletError
|
|
1375
|
+
TooManyQueued: GenericPalletError;
|
|
1376
1376
|
|
|
1377
1377
|
/**
|
|
1378
1378
|
* Generic pallet error
|
|
1379
1379
|
**/
|
|
1380
|
-
[error: string]: GenericPalletError
|
|
1380
|
+
[error: string]: GenericPalletError;
|
|
1381
1381
|
};
|
|
1382
1382
|
/**
|
|
1383
1383
|
* Pallet `ChildBounties`'s errors
|
|
@@ -1386,22 +1386,22 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1386
1386
|
/**
|
|
1387
1387
|
* The parent bounty is not in active state.
|
|
1388
1388
|
**/
|
|
1389
|
-
ParentBountyNotActive: GenericPalletError
|
|
1389
|
+
ParentBountyNotActive: GenericPalletError;
|
|
1390
1390
|
|
|
1391
1391
|
/**
|
|
1392
1392
|
* The bounty balance is not enough to add new child-bounty.
|
|
1393
1393
|
**/
|
|
1394
|
-
InsufficientBountyBalance: GenericPalletError
|
|
1394
|
+
InsufficientBountyBalance: GenericPalletError;
|
|
1395
1395
|
|
|
1396
1396
|
/**
|
|
1397
1397
|
* Number of child bounties exceeds limit `MaxActiveChildBountyCount`.
|
|
1398
1398
|
**/
|
|
1399
|
-
TooManyChildBounties: GenericPalletError
|
|
1399
|
+
TooManyChildBounties: GenericPalletError;
|
|
1400
1400
|
|
|
1401
1401
|
/**
|
|
1402
1402
|
* Generic pallet error
|
|
1403
1403
|
**/
|
|
1404
|
-
[error: string]: GenericPalletError
|
|
1404
|
+
[error: string]: GenericPalletError;
|
|
1405
1405
|
};
|
|
1406
1406
|
/**
|
|
1407
1407
|
* Pallet `NominationPools`'s errors
|
|
@@ -1410,44 +1410,44 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1410
1410
|
/**
|
|
1411
1411
|
* A (bonded) pool id does not exist.
|
|
1412
1412
|
**/
|
|
1413
|
-
PoolNotFound: GenericPalletError
|
|
1413
|
+
PoolNotFound: GenericPalletError;
|
|
1414
1414
|
|
|
1415
1415
|
/**
|
|
1416
1416
|
* An account is not a member.
|
|
1417
1417
|
**/
|
|
1418
|
-
PoolMemberNotFound: GenericPalletError
|
|
1418
|
+
PoolMemberNotFound: GenericPalletError;
|
|
1419
1419
|
|
|
1420
1420
|
/**
|
|
1421
1421
|
* A reward pool does not exist. In all cases this is a system logic error.
|
|
1422
1422
|
**/
|
|
1423
|
-
RewardPoolNotFound: GenericPalletError
|
|
1423
|
+
RewardPoolNotFound: GenericPalletError;
|
|
1424
1424
|
|
|
1425
1425
|
/**
|
|
1426
1426
|
* A sub pool does not exist.
|
|
1427
1427
|
**/
|
|
1428
|
-
SubPoolsNotFound: GenericPalletError
|
|
1428
|
+
SubPoolsNotFound: GenericPalletError;
|
|
1429
1429
|
|
|
1430
1430
|
/**
|
|
1431
1431
|
* An account is already delegating in another pool. An account may only belong to one
|
|
1432
1432
|
* pool at a time.
|
|
1433
1433
|
**/
|
|
1434
|
-
AccountBelongsToOtherPool: GenericPalletError
|
|
1434
|
+
AccountBelongsToOtherPool: GenericPalletError;
|
|
1435
1435
|
|
|
1436
1436
|
/**
|
|
1437
1437
|
* The member is fully unbonded (and thus cannot access the bonded and reward pool
|
|
1438
1438
|
* anymore to, for example, collect rewards).
|
|
1439
1439
|
**/
|
|
1440
|
-
FullyUnbonding: GenericPalletError
|
|
1440
|
+
FullyUnbonding: GenericPalletError;
|
|
1441
1441
|
|
|
1442
1442
|
/**
|
|
1443
1443
|
* The member cannot unbond further chunks due to reaching the limit.
|
|
1444
1444
|
**/
|
|
1445
|
-
MaxUnbondingLimit: GenericPalletError
|
|
1445
|
+
MaxUnbondingLimit: GenericPalletError;
|
|
1446
1446
|
|
|
1447
1447
|
/**
|
|
1448
1448
|
* None of the funds can be withdrawn yet because the bonding duration has not passed.
|
|
1449
1449
|
**/
|
|
1450
|
-
CannotWithdrawAny: GenericPalletError
|
|
1450
|
+
CannotWithdrawAny: GenericPalletError;
|
|
1451
1451
|
|
|
1452
1452
|
/**
|
|
1453
1453
|
* The amount does not meet the minimum bond to either join or create a pool.
|
|
@@ -1456,164 +1456,164 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1456
1456
|
* caller does not have nominating permissions for the pool. Members can never unbond to a
|
|
1457
1457
|
* value below `MinJoinBond`.
|
|
1458
1458
|
**/
|
|
1459
|
-
MinimumBondNotMet: GenericPalletError
|
|
1459
|
+
MinimumBondNotMet: GenericPalletError;
|
|
1460
1460
|
|
|
1461
1461
|
/**
|
|
1462
1462
|
* The transaction could not be executed due to overflow risk for the pool.
|
|
1463
1463
|
**/
|
|
1464
|
-
OverflowRisk: GenericPalletError
|
|
1464
|
+
OverflowRisk: GenericPalletError;
|
|
1465
1465
|
|
|
1466
1466
|
/**
|
|
1467
1467
|
* A pool must be in [`PoolState::Destroying`] in order for the depositor to unbond or for
|
|
1468
1468
|
* other members to be permissionlessly unbonded.
|
|
1469
1469
|
**/
|
|
1470
|
-
NotDestroying: GenericPalletError
|
|
1470
|
+
NotDestroying: GenericPalletError;
|
|
1471
1471
|
|
|
1472
1472
|
/**
|
|
1473
1473
|
* The caller does not have nominating permissions for the pool.
|
|
1474
1474
|
**/
|
|
1475
|
-
NotNominator: GenericPalletError
|
|
1475
|
+
NotNominator: GenericPalletError;
|
|
1476
1476
|
|
|
1477
1477
|
/**
|
|
1478
1478
|
* Either a) the caller cannot make a valid kick or b) the pool is not destroying.
|
|
1479
1479
|
**/
|
|
1480
|
-
NotKickerOrDestroying: GenericPalletError
|
|
1480
|
+
NotKickerOrDestroying: GenericPalletError;
|
|
1481
1481
|
|
|
1482
1482
|
/**
|
|
1483
1483
|
* The pool is not open to join
|
|
1484
1484
|
**/
|
|
1485
|
-
NotOpen: GenericPalletError
|
|
1485
|
+
NotOpen: GenericPalletError;
|
|
1486
1486
|
|
|
1487
1487
|
/**
|
|
1488
1488
|
* The system is maxed out on pools.
|
|
1489
1489
|
**/
|
|
1490
|
-
MaxPools: GenericPalletError
|
|
1490
|
+
MaxPools: GenericPalletError;
|
|
1491
1491
|
|
|
1492
1492
|
/**
|
|
1493
1493
|
* Too many members in the pool or system.
|
|
1494
1494
|
**/
|
|
1495
|
-
MaxPoolMembers: GenericPalletError
|
|
1495
|
+
MaxPoolMembers: GenericPalletError;
|
|
1496
1496
|
|
|
1497
1497
|
/**
|
|
1498
1498
|
* The pools state cannot be changed.
|
|
1499
1499
|
**/
|
|
1500
|
-
CanNotChangeState: GenericPalletError
|
|
1500
|
+
CanNotChangeState: GenericPalletError;
|
|
1501
1501
|
|
|
1502
1502
|
/**
|
|
1503
1503
|
* The caller does not have adequate permissions.
|
|
1504
1504
|
**/
|
|
1505
|
-
DoesNotHavePermission: GenericPalletError
|
|
1505
|
+
DoesNotHavePermission: GenericPalletError;
|
|
1506
1506
|
|
|
1507
1507
|
/**
|
|
1508
1508
|
* Metadata exceeds [`Config::MaxMetadataLen`]
|
|
1509
1509
|
**/
|
|
1510
|
-
MetadataExceedsMaxLen: GenericPalletError
|
|
1510
|
+
MetadataExceedsMaxLen: GenericPalletError;
|
|
1511
1511
|
|
|
1512
1512
|
/**
|
|
1513
1513
|
* Some error occurred that should never happen. This should be reported to the
|
|
1514
1514
|
* maintainers.
|
|
1515
1515
|
**/
|
|
1516
|
-
Defensive: GenericPalletError
|
|
1516
|
+
Defensive: GenericPalletError;
|
|
1517
1517
|
|
|
1518
1518
|
/**
|
|
1519
1519
|
* Partial unbonding now allowed permissionlessly.
|
|
1520
1520
|
**/
|
|
1521
|
-
PartialUnbondNotAllowedPermissionlessly: GenericPalletError
|
|
1521
|
+
PartialUnbondNotAllowedPermissionlessly: GenericPalletError;
|
|
1522
1522
|
|
|
1523
1523
|
/**
|
|
1524
1524
|
* The pool's max commission cannot be set higher than the existing value.
|
|
1525
1525
|
**/
|
|
1526
|
-
MaxCommissionRestricted: GenericPalletError
|
|
1526
|
+
MaxCommissionRestricted: GenericPalletError;
|
|
1527
1527
|
|
|
1528
1528
|
/**
|
|
1529
1529
|
* The supplied commission exceeds the max allowed commission.
|
|
1530
1530
|
**/
|
|
1531
|
-
CommissionExceedsMaximum: GenericPalletError
|
|
1531
|
+
CommissionExceedsMaximum: GenericPalletError;
|
|
1532
1532
|
|
|
1533
1533
|
/**
|
|
1534
1534
|
* The supplied commission exceeds global maximum commission.
|
|
1535
1535
|
**/
|
|
1536
|
-
CommissionExceedsGlobalMaximum: GenericPalletError
|
|
1536
|
+
CommissionExceedsGlobalMaximum: GenericPalletError;
|
|
1537
1537
|
|
|
1538
1538
|
/**
|
|
1539
1539
|
* Not enough blocks have surpassed since the last commission update.
|
|
1540
1540
|
**/
|
|
1541
|
-
CommissionChangeThrottled: GenericPalletError
|
|
1541
|
+
CommissionChangeThrottled: GenericPalletError;
|
|
1542
1542
|
|
|
1543
1543
|
/**
|
|
1544
1544
|
* The submitted changes to commission change rate are not allowed.
|
|
1545
1545
|
**/
|
|
1546
|
-
CommissionChangeRateNotAllowed: GenericPalletError
|
|
1546
|
+
CommissionChangeRateNotAllowed: GenericPalletError;
|
|
1547
1547
|
|
|
1548
1548
|
/**
|
|
1549
1549
|
* There is no pending commission to claim.
|
|
1550
1550
|
**/
|
|
1551
|
-
NoPendingCommission: GenericPalletError
|
|
1551
|
+
NoPendingCommission: GenericPalletError;
|
|
1552
1552
|
|
|
1553
1553
|
/**
|
|
1554
1554
|
* No commission current has been set.
|
|
1555
1555
|
**/
|
|
1556
|
-
NoCommissionCurrentSet: GenericPalletError
|
|
1556
|
+
NoCommissionCurrentSet: GenericPalletError;
|
|
1557
1557
|
|
|
1558
1558
|
/**
|
|
1559
1559
|
* Pool id currently in use.
|
|
1560
1560
|
**/
|
|
1561
|
-
PoolIdInUse: GenericPalletError
|
|
1561
|
+
PoolIdInUse: GenericPalletError;
|
|
1562
1562
|
|
|
1563
1563
|
/**
|
|
1564
1564
|
* Pool id provided is not correct/usable.
|
|
1565
1565
|
**/
|
|
1566
|
-
InvalidPoolId: GenericPalletError
|
|
1566
|
+
InvalidPoolId: GenericPalletError;
|
|
1567
1567
|
|
|
1568
1568
|
/**
|
|
1569
1569
|
* Bonding extra is restricted to the exact pending reward amount.
|
|
1570
1570
|
**/
|
|
1571
|
-
BondExtraRestricted: GenericPalletError
|
|
1571
|
+
BondExtraRestricted: GenericPalletError;
|
|
1572
1572
|
|
|
1573
1573
|
/**
|
|
1574
1574
|
* No imbalance in the ED deposit for the pool.
|
|
1575
1575
|
**/
|
|
1576
|
-
NothingToAdjust: GenericPalletError
|
|
1576
|
+
NothingToAdjust: GenericPalletError;
|
|
1577
1577
|
|
|
1578
1578
|
/**
|
|
1579
1579
|
* No slash pending that can be applied to the member.
|
|
1580
1580
|
**/
|
|
1581
|
-
NothingToSlash: GenericPalletError
|
|
1581
|
+
NothingToSlash: GenericPalletError;
|
|
1582
1582
|
|
|
1583
1583
|
/**
|
|
1584
1584
|
* The pool or member delegation has already migrated to delegate stake.
|
|
1585
1585
|
**/
|
|
1586
|
-
AlreadyMigrated: GenericPalletError
|
|
1586
|
+
AlreadyMigrated: GenericPalletError;
|
|
1587
1587
|
|
|
1588
1588
|
/**
|
|
1589
1589
|
* The pool or member delegation has not migrated yet to delegate stake.
|
|
1590
1590
|
**/
|
|
1591
|
-
NotMigrated: GenericPalletError
|
|
1591
|
+
NotMigrated: GenericPalletError;
|
|
1592
1592
|
|
|
1593
1593
|
/**
|
|
1594
1594
|
* This call is not allowed in the current state of the pallet.
|
|
1595
1595
|
**/
|
|
1596
|
-
NotSupported: GenericPalletError
|
|
1596
|
+
NotSupported: GenericPalletError;
|
|
1597
1597
|
|
|
1598
1598
|
/**
|
|
1599
1599
|
* Generic pallet error
|
|
1600
1600
|
**/
|
|
1601
|
-
[error: string]: GenericPalletError
|
|
1601
|
+
[error: string]: GenericPalletError;
|
|
1602
1602
|
};
|
|
1603
1603
|
/**
|
|
1604
1604
|
* Pallet `GearProgram`'s errors
|
|
1605
1605
|
**/
|
|
1606
1606
|
gearProgram: {
|
|
1607
|
-
DuplicateItem: GenericPalletError
|
|
1608
|
-
ProgramNotFound: GenericPalletError
|
|
1609
|
-
NotActiveProgram: GenericPalletError
|
|
1610
|
-
CannotFindDataForPage: GenericPalletError
|
|
1611
|
-
ProgramCodeNotFound: GenericPalletError
|
|
1607
|
+
DuplicateItem: GenericPalletError;
|
|
1608
|
+
ProgramNotFound: GenericPalletError;
|
|
1609
|
+
NotActiveProgram: GenericPalletError;
|
|
1610
|
+
CannotFindDataForPage: GenericPalletError;
|
|
1611
|
+
ProgramCodeNotFound: GenericPalletError;
|
|
1612
1612
|
|
|
1613
1613
|
/**
|
|
1614
1614
|
* Generic pallet error
|
|
1615
1615
|
**/
|
|
1616
|
-
[error: string]: GenericPalletError
|
|
1616
|
+
[error: string]: GenericPalletError;
|
|
1617
1617
|
};
|
|
1618
1618
|
/**
|
|
1619
1619
|
* Pallet `GearMessenger`'s errors
|
|
@@ -1622,73 +1622,73 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1622
1622
|
/**
|
|
1623
1623
|
* Occurs when given key already exists in queue.
|
|
1624
1624
|
**/
|
|
1625
|
-
QueueDuplicateKey: GenericPalletError
|
|
1625
|
+
QueueDuplicateKey: GenericPalletError;
|
|
1626
1626
|
|
|
1627
1627
|
/**
|
|
1628
1628
|
* Occurs when queue's element wasn't found in storage.
|
|
1629
1629
|
**/
|
|
1630
|
-
QueueElementNotFound: GenericPalletError
|
|
1630
|
+
QueueElementNotFound: GenericPalletError;
|
|
1631
1631
|
|
|
1632
1632
|
/**
|
|
1633
1633
|
* Occurs when queue's head should contain value,
|
|
1634
1634
|
* but it's empty for some reason.
|
|
1635
1635
|
**/
|
|
1636
|
-
QueueHeadShouldBeSet: GenericPalletError
|
|
1636
|
+
QueueHeadShouldBeSet: GenericPalletError;
|
|
1637
1637
|
|
|
1638
1638
|
/**
|
|
1639
1639
|
* Occurs when queue's head should be empty,
|
|
1640
1640
|
* but it contains value for some reason.
|
|
1641
1641
|
**/
|
|
1642
|
-
QueueHeadShouldNotBeSet: GenericPalletError
|
|
1642
|
+
QueueHeadShouldNotBeSet: GenericPalletError;
|
|
1643
1643
|
|
|
1644
1644
|
/**
|
|
1645
1645
|
* Occurs when queue's tail element contains link
|
|
1646
1646
|
* to the next element.
|
|
1647
1647
|
**/
|
|
1648
|
-
QueueTailHasNextKey: GenericPalletError
|
|
1648
|
+
QueueTailHasNextKey: GenericPalletError;
|
|
1649
1649
|
|
|
1650
1650
|
/**
|
|
1651
1651
|
* Occurs when while searching queue's pre-tail,
|
|
1652
1652
|
* element wasn't found.
|
|
1653
1653
|
**/
|
|
1654
|
-
QueueTailParentNotFound: GenericPalletError
|
|
1654
|
+
QueueTailParentNotFound: GenericPalletError;
|
|
1655
1655
|
|
|
1656
1656
|
/**
|
|
1657
1657
|
* Occurs when queue's tail should contain value,
|
|
1658
1658
|
* but it's empty for some reason.
|
|
1659
1659
|
**/
|
|
1660
|
-
QueueTailShouldBeSet: GenericPalletError
|
|
1660
|
+
QueueTailShouldBeSet: GenericPalletError;
|
|
1661
1661
|
|
|
1662
1662
|
/**
|
|
1663
1663
|
* Occurs when queue's tail should be empty,
|
|
1664
1664
|
* but it contains value for some reason.
|
|
1665
1665
|
**/
|
|
1666
|
-
QueueTailShouldNotBeSet: GenericPalletError
|
|
1666
|
+
QueueTailShouldNotBeSet: GenericPalletError;
|
|
1667
1667
|
|
|
1668
1668
|
/**
|
|
1669
1669
|
* Occurs when given value already exists in mailbox.
|
|
1670
1670
|
**/
|
|
1671
|
-
MailboxDuplicateKey: GenericPalletError
|
|
1671
|
+
MailboxDuplicateKey: GenericPalletError;
|
|
1672
1672
|
|
|
1673
1673
|
/**
|
|
1674
1674
|
* Occurs when mailbox's element wasn't found in storage.
|
|
1675
1675
|
**/
|
|
1676
|
-
MailboxElementNotFound: GenericPalletError
|
|
1676
|
+
MailboxElementNotFound: GenericPalletError;
|
|
1677
1677
|
|
|
1678
1678
|
/**
|
|
1679
1679
|
* Occurs when given value already exists in waitlist.
|
|
1680
1680
|
**/
|
|
1681
|
-
WaitlistDuplicateKey: GenericPalletError
|
|
1681
|
+
WaitlistDuplicateKey: GenericPalletError;
|
|
1682
1682
|
|
|
1683
1683
|
/**
|
|
1684
1684
|
* Occurs when waitlist's element wasn't found in storage.
|
|
1685
1685
|
**/
|
|
1686
|
-
WaitlistElementNotFound: GenericPalletError
|
|
1686
|
+
WaitlistElementNotFound: GenericPalletError;
|
|
1687
1687
|
|
|
1688
1688
|
/**
|
|
1689
1689
|
* Generic pallet error
|
|
1690
1690
|
**/
|
|
1691
|
-
[error: string]: GenericPalletError
|
|
1691
|
+
[error: string]: GenericPalletError;
|
|
1692
1692
|
};
|
|
1693
1693
|
/**
|
|
1694
1694
|
* Pallet `GearScheduler`'s errors
|
|
@@ -1697,33 +1697,33 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1697
1697
|
/**
|
|
1698
1698
|
* Occurs when given task already exists in task pool.
|
|
1699
1699
|
**/
|
|
1700
|
-
DuplicateTask: GenericPalletError
|
|
1700
|
+
DuplicateTask: GenericPalletError;
|
|
1701
1701
|
|
|
1702
1702
|
/**
|
|
1703
1703
|
* Occurs when task wasn't found in storage.
|
|
1704
1704
|
**/
|
|
1705
|
-
TaskNotFound: GenericPalletError
|
|
1705
|
+
TaskNotFound: GenericPalletError;
|
|
1706
1706
|
|
|
1707
1707
|
/**
|
|
1708
1708
|
* Generic pallet error
|
|
1709
1709
|
**/
|
|
1710
|
-
[error: string]: GenericPalletError
|
|
1710
|
+
[error: string]: GenericPalletError;
|
|
1711
1711
|
};
|
|
1712
1712
|
/**
|
|
1713
1713
|
* Pallet `GearGas`'s errors
|
|
1714
1714
|
**/
|
|
1715
1715
|
gearGas: {
|
|
1716
|
-
Forbidden: GenericPalletError
|
|
1717
|
-
NodeAlreadyExists: GenericPalletError
|
|
1718
|
-
InsufficientBalance: GenericPalletError
|
|
1719
|
-
NodeNotFound: GenericPalletError
|
|
1720
|
-
NodeWasConsumed: GenericPalletError
|
|
1716
|
+
Forbidden: GenericPalletError;
|
|
1717
|
+
NodeAlreadyExists: GenericPalletError;
|
|
1718
|
+
InsufficientBalance: GenericPalletError;
|
|
1719
|
+
NodeNotFound: GenericPalletError;
|
|
1720
|
+
NodeWasConsumed: GenericPalletError;
|
|
1721
1721
|
|
|
1722
1722
|
/**
|
|
1723
1723
|
* Errors stating that gas tree has been invalidated
|
|
1724
1724
|
**/
|
|
1725
|
-
ParentIsLost: GenericPalletError
|
|
1726
|
-
ParentHasNoChildren: GenericPalletError
|
|
1725
|
+
ParentIsLost: GenericPalletError;
|
|
1726
|
+
ParentHasNoChildren: GenericPalletError;
|
|
1727
1727
|
|
|
1728
1728
|
/**
|
|
1729
1729
|
* Output of `Tree::consume` procedure that wasn't expected.
|
|
@@ -1732,54 +1732,54 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1732
1732
|
* when unexpected one occurred. That signals, that algorithm works wrong
|
|
1733
1733
|
* and expected invariants are not correct.
|
|
1734
1734
|
**/
|
|
1735
|
-
UnexpectedConsumeOutput: GenericPalletError
|
|
1735
|
+
UnexpectedConsumeOutput: GenericPalletError;
|
|
1736
1736
|
|
|
1737
1737
|
/**
|
|
1738
1738
|
* Node type that can't occur if algorithm work well
|
|
1739
1739
|
**/
|
|
1740
|
-
UnexpectedNodeType: GenericPalletError
|
|
1740
|
+
UnexpectedNodeType: GenericPalletError;
|
|
1741
1741
|
|
|
1742
1742
|
/**
|
|
1743
1743
|
* Value must have been caught, but was missed or blocked (for more info see `ValueNode::catch_value`).
|
|
1744
1744
|
**/
|
|
1745
|
-
ValueIsNotCaught: GenericPalletError
|
|
1745
|
+
ValueIsNotCaught: GenericPalletError;
|
|
1746
1746
|
|
|
1747
1747
|
/**
|
|
1748
1748
|
* Value must have been caught or moved upstream, but was blocked (for more info see `ValueNode::catch_value`).
|
|
1749
1749
|
**/
|
|
1750
|
-
ValueIsBlocked: GenericPalletError
|
|
1750
|
+
ValueIsBlocked: GenericPalletError;
|
|
1751
1751
|
|
|
1752
1752
|
/**
|
|
1753
1753
|
* Value must have been blocked, but was either moved or caught (for more info see `ValueNode::catch_value`).
|
|
1754
1754
|
**/
|
|
1755
|
-
ValueIsNotBlocked: GenericPalletError
|
|
1755
|
+
ValueIsNotBlocked: GenericPalletError;
|
|
1756
1756
|
|
|
1757
1757
|
/**
|
|
1758
1758
|
* `GasTree::consume` called on node, which has some balance locked.
|
|
1759
1759
|
**/
|
|
1760
|
-
ConsumedWithLock: GenericPalletError
|
|
1760
|
+
ConsumedWithLock: GenericPalletError;
|
|
1761
1761
|
|
|
1762
1762
|
/**
|
|
1763
1763
|
* `GasTree::consume` called on node, which has some system reservation.
|
|
1764
1764
|
**/
|
|
1765
|
-
ConsumedWithSystemReservation: GenericPalletError
|
|
1765
|
+
ConsumedWithSystemReservation: GenericPalletError;
|
|
1766
1766
|
|
|
1767
1767
|
/**
|
|
1768
1768
|
* `GasTree::create` called with some value amount leading to
|
|
1769
1769
|
* the total value overflow.
|
|
1770
1770
|
**/
|
|
1771
|
-
TotalValueIsOverflowed: GenericPalletError
|
|
1771
|
+
TotalValueIsOverflowed: GenericPalletError;
|
|
1772
1772
|
|
|
1773
1773
|
/**
|
|
1774
1774
|
* Either `GasTree::consume` or `GasTree::spent` called on a node creating
|
|
1775
1775
|
* negative imbalance which leads to the total value drop below 0.
|
|
1776
1776
|
**/
|
|
1777
|
-
TotalValueIsUnderflowed: GenericPalletError
|
|
1777
|
+
TotalValueIsUnderflowed: GenericPalletError;
|
|
1778
1778
|
|
|
1779
1779
|
/**
|
|
1780
1780
|
* Generic pallet error
|
|
1781
1781
|
**/
|
|
1782
|
-
[error: string]: GenericPalletError
|
|
1782
|
+
[error: string]: GenericPalletError;
|
|
1783
1783
|
};
|
|
1784
1784
|
/**
|
|
1785
1785
|
* Pallet `Gear`'s errors
|
|
@@ -1788,102 +1788,102 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1788
1788
|
/**
|
|
1789
1789
|
* Message wasn't found in the mailbox.
|
|
1790
1790
|
**/
|
|
1791
|
-
MessageNotFound: GenericPalletError
|
|
1791
|
+
MessageNotFound: GenericPalletError;
|
|
1792
1792
|
|
|
1793
1793
|
/**
|
|
1794
1794
|
* Not enough balance to execute an action.
|
|
1795
1795
|
*
|
|
1796
1796
|
* Usually occurs when the gas_limit specified is such that the origin account can't afford the message.
|
|
1797
1797
|
**/
|
|
1798
|
-
InsufficientBalance: GenericPalletError
|
|
1798
|
+
InsufficientBalance: GenericPalletError;
|
|
1799
1799
|
|
|
1800
1800
|
/**
|
|
1801
1801
|
* Gas limit too high.
|
|
1802
1802
|
*
|
|
1803
1803
|
* Occurs when an extrinsic's declared `gas_limit` is greater than a block's maximum gas limit.
|
|
1804
1804
|
**/
|
|
1805
|
-
GasLimitTooHigh: GenericPalletError
|
|
1805
|
+
GasLimitTooHigh: GenericPalletError;
|
|
1806
1806
|
|
|
1807
1807
|
/**
|
|
1808
1808
|
* Program already exists.
|
|
1809
1809
|
*
|
|
1810
1810
|
* Occurs if a program with some specific program id already exists in program storage.
|
|
1811
1811
|
**/
|
|
1812
|
-
ProgramAlreadyExists: GenericPalletError
|
|
1812
|
+
ProgramAlreadyExists: GenericPalletError;
|
|
1813
1813
|
|
|
1814
1814
|
/**
|
|
1815
1815
|
* Program is terminated.
|
|
1816
1816
|
*
|
|
1817
1817
|
* Program init failed, so such message destination is no longer unavailable.
|
|
1818
1818
|
**/
|
|
1819
|
-
InactiveProgram: GenericPalletError
|
|
1819
|
+
InactiveProgram: GenericPalletError;
|
|
1820
1820
|
|
|
1821
1821
|
/**
|
|
1822
1822
|
* Message gas tree is not found.
|
|
1823
1823
|
*
|
|
1824
1824
|
* When a message claimed from the mailbox has a corrupted or non-extant gas tree associated.
|
|
1825
1825
|
**/
|
|
1826
|
-
NoMessageTree: GenericPalletError
|
|
1826
|
+
NoMessageTree: GenericPalletError;
|
|
1827
1827
|
|
|
1828
1828
|
/**
|
|
1829
1829
|
* Code already exists.
|
|
1830
1830
|
*
|
|
1831
1831
|
* Occurs when trying to save to storage a program code that has been saved there.
|
|
1832
1832
|
**/
|
|
1833
|
-
CodeAlreadyExists: GenericPalletError
|
|
1833
|
+
CodeAlreadyExists: GenericPalletError;
|
|
1834
1834
|
|
|
1835
1835
|
/**
|
|
1836
1836
|
* Code does not exist.
|
|
1837
1837
|
*
|
|
1838
1838
|
* Occurs when trying to get a program code from storage, that doesn't exist.
|
|
1839
1839
|
**/
|
|
1840
|
-
CodeDoesntExist: GenericPalletError
|
|
1840
|
+
CodeDoesntExist: GenericPalletError;
|
|
1841
1841
|
|
|
1842
1842
|
/**
|
|
1843
1843
|
* The code supplied to `upload_code` or `upload_program` exceeds the limit specified in the
|
|
1844
1844
|
* current schedule.
|
|
1845
1845
|
**/
|
|
1846
|
-
CodeTooLarge: GenericPalletError
|
|
1846
|
+
CodeTooLarge: GenericPalletError;
|
|
1847
1847
|
|
|
1848
1848
|
/**
|
|
1849
1849
|
* Failed to create a program.
|
|
1850
1850
|
**/
|
|
1851
|
-
ProgramConstructionFailed: GenericPalletError
|
|
1851
|
+
ProgramConstructionFailed: GenericPalletError;
|
|
1852
1852
|
|
|
1853
1853
|
/**
|
|
1854
1854
|
* Message queue processing is disabled.
|
|
1855
1855
|
**/
|
|
1856
|
-
MessageQueueProcessingDisabled: GenericPalletError
|
|
1856
|
+
MessageQueueProcessingDisabled: GenericPalletError;
|
|
1857
1857
|
|
|
1858
1858
|
/**
|
|
1859
1859
|
* Block count doesn't cover MinimalResumePeriod.
|
|
1860
1860
|
**/
|
|
1861
|
-
ResumePeriodLessThanMinimal: GenericPalletError
|
|
1861
|
+
ResumePeriodLessThanMinimal: GenericPalletError;
|
|
1862
1862
|
|
|
1863
1863
|
/**
|
|
1864
1864
|
* Program with the specified id is not found.
|
|
1865
1865
|
**/
|
|
1866
|
-
ProgramNotFound: GenericPalletError
|
|
1866
|
+
ProgramNotFound: GenericPalletError;
|
|
1867
1867
|
|
|
1868
1868
|
/**
|
|
1869
1869
|
* Gear::run() already included in current block.
|
|
1870
1870
|
**/
|
|
1871
|
-
GearRunAlreadyInBlock: GenericPalletError
|
|
1871
|
+
GearRunAlreadyInBlock: GenericPalletError;
|
|
1872
1872
|
|
|
1873
1873
|
/**
|
|
1874
1874
|
* The program rent logic is disabled.
|
|
1875
1875
|
**/
|
|
1876
|
-
ProgramRentDisabled: GenericPalletError
|
|
1876
|
+
ProgramRentDisabled: GenericPalletError;
|
|
1877
1877
|
|
|
1878
1878
|
/**
|
|
1879
1879
|
* Program is active.
|
|
1880
1880
|
**/
|
|
1881
|
-
ActiveProgram: GenericPalletError
|
|
1881
|
+
ActiveProgram: GenericPalletError;
|
|
1882
1882
|
|
|
1883
1883
|
/**
|
|
1884
1884
|
* Generic pallet error
|
|
1885
1885
|
**/
|
|
1886
|
-
[error: string]: GenericPalletError
|
|
1886
|
+
[error: string]: GenericPalletError;
|
|
1887
1887
|
};
|
|
1888
1888
|
/**
|
|
1889
1889
|
* Pallet `StakingRewards`'s errors
|
|
@@ -1892,17 +1892,17 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1892
1892
|
/**
|
|
1893
1893
|
* Pool not replenished due to error.
|
|
1894
1894
|
**/
|
|
1895
|
-
FailureToRefillPool: GenericPalletError
|
|
1895
|
+
FailureToRefillPool: GenericPalletError;
|
|
1896
1896
|
|
|
1897
1897
|
/**
|
|
1898
1898
|
* Failure to withdraw funds from the rewards pool.
|
|
1899
1899
|
**/
|
|
1900
|
-
FailureToWithdrawFromPool: GenericPalletError
|
|
1900
|
+
FailureToWithdrawFromPool: GenericPalletError;
|
|
1901
1901
|
|
|
1902
1902
|
/**
|
|
1903
1903
|
* Generic pallet error
|
|
1904
1904
|
**/
|
|
1905
|
-
[error: string]: GenericPalletError
|
|
1905
|
+
[error: string]: GenericPalletError;
|
|
1906
1906
|
};
|
|
1907
1907
|
/**
|
|
1908
1908
|
* Pallet `GearVoucher`'s errors
|
|
@@ -1911,62 +1911,62 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1911
1911
|
/**
|
|
1912
1912
|
* The origin is not eligible to execute call.
|
|
1913
1913
|
**/
|
|
1914
|
-
BadOrigin: GenericPalletError
|
|
1914
|
+
BadOrigin: GenericPalletError;
|
|
1915
1915
|
|
|
1916
1916
|
/**
|
|
1917
1917
|
* Error trying transfer balance to/from voucher account.
|
|
1918
1918
|
**/
|
|
1919
|
-
BalanceTransfer: GenericPalletError
|
|
1919
|
+
BalanceTransfer: GenericPalletError;
|
|
1920
1920
|
|
|
1921
1921
|
/**
|
|
1922
1922
|
* Destination program is not in whitelisted set for voucher.
|
|
1923
1923
|
**/
|
|
1924
|
-
InappropriateDestination: GenericPalletError
|
|
1924
|
+
InappropriateDestination: GenericPalletError;
|
|
1925
1925
|
|
|
1926
1926
|
/**
|
|
1927
1927
|
* Voucher with given identifier doesn't exist for given spender id.
|
|
1928
1928
|
**/
|
|
1929
|
-
InexistentVoucher: GenericPalletError
|
|
1929
|
+
InexistentVoucher: GenericPalletError;
|
|
1930
1930
|
|
|
1931
1931
|
/**
|
|
1932
1932
|
* Voucher still valid and couldn't be revoked.
|
|
1933
1933
|
**/
|
|
1934
|
-
IrrevocableYet: GenericPalletError
|
|
1934
|
+
IrrevocableYet: GenericPalletError;
|
|
1935
1935
|
|
|
1936
1936
|
/**
|
|
1937
1937
|
* Try to whitelist more programs than allowed.
|
|
1938
1938
|
**/
|
|
1939
|
-
MaxProgramsLimitExceeded: GenericPalletError
|
|
1939
|
+
MaxProgramsLimitExceeded: GenericPalletError;
|
|
1940
1940
|
|
|
1941
1941
|
/**
|
|
1942
1942
|
* Failed to query destination of the prepaid call.
|
|
1943
1943
|
**/
|
|
1944
|
-
UnknownDestination: GenericPalletError
|
|
1944
|
+
UnknownDestination: GenericPalletError;
|
|
1945
1945
|
|
|
1946
1946
|
/**
|
|
1947
1947
|
* Voucher has expired and couldn't be used.
|
|
1948
1948
|
**/
|
|
1949
|
-
VoucherExpired: GenericPalletError
|
|
1949
|
+
VoucherExpired: GenericPalletError;
|
|
1950
1950
|
|
|
1951
1951
|
/**
|
|
1952
1952
|
* Voucher issue/prolongation duration out of [min; max] constants.
|
|
1953
1953
|
**/
|
|
1954
|
-
DurationOutOfBounds: GenericPalletError
|
|
1954
|
+
DurationOutOfBounds: GenericPalletError;
|
|
1955
1955
|
|
|
1956
1956
|
/**
|
|
1957
1957
|
* Voucher update function tries to cut voucher ability of code upload.
|
|
1958
1958
|
**/
|
|
1959
|
-
CodeUploadingEnabled: GenericPalletError
|
|
1959
|
+
CodeUploadingEnabled: GenericPalletError;
|
|
1960
1960
|
|
|
1961
1961
|
/**
|
|
1962
1962
|
* Voucher is disabled for code uploading, but requested.
|
|
1963
1963
|
**/
|
|
1964
|
-
CodeUploadingDisabled: GenericPalletError
|
|
1964
|
+
CodeUploadingDisabled: GenericPalletError;
|
|
1965
1965
|
|
|
1966
1966
|
/**
|
|
1967
1967
|
* Generic pallet error
|
|
1968
1968
|
**/
|
|
1969
|
-
[error: string]: GenericPalletError
|
|
1969
|
+
[error: string]: GenericPalletError;
|
|
1970
1970
|
};
|
|
1971
1971
|
/**
|
|
1972
1972
|
* Pallet `GearBank`'s errors
|
|
@@ -1975,40 +1975,40 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1975
1975
|
/**
|
|
1976
1976
|
* Insufficient user balance.
|
|
1977
1977
|
**/
|
|
1978
|
-
InsufficientBalance: GenericPalletError
|
|
1978
|
+
InsufficientBalance: GenericPalletError;
|
|
1979
1979
|
|
|
1980
1980
|
/**
|
|
1981
1981
|
* Insufficient user's bank account gas balance.
|
|
1982
1982
|
**/
|
|
1983
|
-
InsufficientGasBalance: GenericPalletError
|
|
1983
|
+
InsufficientGasBalance: GenericPalletError;
|
|
1984
1984
|
|
|
1985
1985
|
/**
|
|
1986
1986
|
* Insufficient user's bank account gas balance.
|
|
1987
1987
|
**/
|
|
1988
|
-
InsufficientValueBalance: GenericPalletError
|
|
1988
|
+
InsufficientValueBalance: GenericPalletError;
|
|
1989
1989
|
|
|
1990
1990
|
/**
|
|
1991
1991
|
* Insufficient bank account balance.
|
|
1992
1992
|
* **Must be unreachable in Gear main protocol.**
|
|
1993
1993
|
**/
|
|
1994
|
-
InsufficientBankBalance: GenericPalletError
|
|
1994
|
+
InsufficientBankBalance: GenericPalletError;
|
|
1995
1995
|
|
|
1996
1996
|
/**
|
|
1997
1997
|
* Deposit of funds that will not keep bank account alive.
|
|
1998
1998
|
* **Must be unreachable in Gear main protocol.**
|
|
1999
1999
|
**/
|
|
2000
|
-
InsufficientDeposit: GenericPalletError
|
|
2000
|
+
InsufficientDeposit: GenericPalletError;
|
|
2001
2001
|
|
|
2002
2002
|
/**
|
|
2003
2003
|
* Overflow during funds transfer.
|
|
2004
2004
|
* **Must be unreachable in Gear main protocol.**
|
|
2005
2005
|
**/
|
|
2006
|
-
Overflow: GenericPalletError
|
|
2006
|
+
Overflow: GenericPalletError;
|
|
2007
2007
|
|
|
2008
2008
|
/**
|
|
2009
2009
|
* Generic pallet error
|
|
2010
2010
|
**/
|
|
2011
|
-
[error: string]: GenericPalletError
|
|
2011
|
+
[error: string]: GenericPalletError;
|
|
2012
2012
|
};
|
|
2013
2013
|
/**
|
|
2014
2014
|
* Pallet `GearEthBridge`'s errors
|
|
@@ -2018,39 +2018,59 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2018
2018
|
* The error happens when bridge queue is temporarily overflowed
|
|
2019
2019
|
* and needs cleanup to proceed.
|
|
2020
2020
|
**/
|
|
2021
|
-
BridgeCleanupRequired: GenericPalletError
|
|
2021
|
+
BridgeCleanupRequired: GenericPalletError;
|
|
2022
2022
|
|
|
2023
2023
|
/**
|
|
2024
2024
|
* The error happens when bridge got called before
|
|
2025
2025
|
* proper initialization after deployment.
|
|
2026
2026
|
**/
|
|
2027
|
-
BridgeIsNotYetInitialized: GenericPalletError
|
|
2027
|
+
BridgeIsNotYetInitialized: GenericPalletError;
|
|
2028
2028
|
|
|
2029
2029
|
/**
|
|
2030
2030
|
* The error happens when bridge got called when paused.
|
|
2031
2031
|
**/
|
|
2032
|
-
BridgeIsPaused: GenericPalletError
|
|
2032
|
+
BridgeIsPaused: GenericPalletError;
|
|
2033
2033
|
|
|
2034
2034
|
/**
|
|
2035
2035
|
* The error happens when bridging message sent with too big payload.
|
|
2036
2036
|
**/
|
|
2037
|
-
MaxPayloadSizeExceeded: GenericPalletError
|
|
2037
|
+
MaxPayloadSizeExceeded: GenericPalletError;
|
|
2038
2038
|
|
|
2039
2039
|
/**
|
|
2040
2040
|
* The error happens when bridging thorough builtin and message value
|
|
2041
2041
|
* is inapplicable to operation or insufficient.
|
|
2042
2042
|
**/
|
|
2043
|
-
InsufficientValueApplied: GenericPalletError
|
|
2043
|
+
InsufficientValueApplied: GenericPalletError;
|
|
2044
2044
|
|
|
2045
2045
|
/**
|
|
2046
2046
|
* The error happens when attempted to reset overflowed queue, but
|
|
2047
2047
|
* queue isn't overflowed or incorrect finality proof provided.
|
|
2048
2048
|
**/
|
|
2049
|
-
InvalidQueueReset: GenericPalletError
|
|
2049
|
+
InvalidQueueReset: GenericPalletError;
|
|
2050
2050
|
|
|
2051
2051
|
/**
|
|
2052
2052
|
* Generic pallet error
|
|
2053
2053
|
**/
|
|
2054
|
-
[error: string]: GenericPalletError
|
|
2054
|
+
[error: string]: GenericPalletError;
|
|
2055
|
+
};
|
|
2056
|
+
/**
|
|
2057
|
+
* Pallet `GrandpaSigner`'s errors
|
|
2058
|
+
**/
|
|
2059
|
+
grandpaSigner: {
|
|
2060
|
+
TooManyRequests: GenericPalletError;
|
|
2061
|
+
RequestIdExhausted: GenericPalletError;
|
|
2062
|
+
UnknownRequest: GenericPalletError;
|
|
2063
|
+
RequestExpired: GenericPalletError;
|
|
2064
|
+
AuthorityNotInSet: GenericPalletError;
|
|
2065
|
+
AlreadySigned: GenericPalletError;
|
|
2066
|
+
BadSignature: GenericPalletError;
|
|
2067
|
+
UnsupportedSet: GenericPalletError;
|
|
2068
|
+
PayloadTooLong: GenericPalletError;
|
|
2069
|
+
MaxSignaturesReached: GenericPalletError;
|
|
2070
|
+
|
|
2071
|
+
/**
|
|
2072
|
+
* Generic pallet error
|
|
2073
|
+
**/
|
|
2074
|
+
[error: string]: GenericPalletError;
|
|
2055
2075
|
};
|
|
2056
2076
|
}
|