@dedot/api 0.18.8 → 1.0.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.
Files changed (102) hide show
  1. package/chaintypes/substrate/consts.d.ts +2 -2
  2. package/chaintypes/substrate/consts.js +1 -0
  3. package/chaintypes/substrate/errors.d.ts +909 -909
  4. package/chaintypes/substrate/errors.js +1 -0
  5. package/chaintypes/substrate/events.d.ts +664 -664
  6. package/chaintypes/substrate/events.js +1 -0
  7. package/chaintypes/substrate/index.d.ts +13 -16
  8. package/chaintypes/substrate/index.js +1 -0
  9. package/chaintypes/substrate/json-rpc.d.ts +2 -2
  10. package/chaintypes/substrate/json-rpc.js +1 -0
  11. package/chaintypes/substrate/query.d.ts +509 -527
  12. package/chaintypes/substrate/query.js +1 -0
  13. package/chaintypes/substrate/runtime.d.ts +123 -123
  14. package/chaintypes/substrate/runtime.js +1 -0
  15. package/chaintypes/substrate/tx.d.ts +1311 -1311
  16. package/chaintypes/substrate/tx.js +1 -0
  17. package/chaintypes/substrate/types.js +1 -0
  18. package/chaintypes/substrate/view-functions.d.ts +2 -2
  19. package/chaintypes/substrate/view-functions.js +1 -0
  20. package/cjs/chaintypes/substrate/consts.js +1 -0
  21. package/cjs/chaintypes/substrate/errors.js +1 -0
  22. package/cjs/chaintypes/substrate/events.js +1 -0
  23. package/cjs/chaintypes/substrate/index.js +1 -0
  24. package/cjs/chaintypes/substrate/json-rpc.js +1 -0
  25. package/cjs/chaintypes/substrate/query.js +1 -0
  26. package/cjs/chaintypes/substrate/runtime.js +1 -0
  27. package/cjs/chaintypes/substrate/tx.js +1 -0
  28. package/cjs/chaintypes/substrate/types.js +1 -0
  29. package/cjs/chaintypes/substrate/view-functions.js +1 -0
  30. package/cjs/client/BaseSubstrateClient.js +45 -2
  31. package/cjs/client/DedotClient.js +356 -224
  32. package/cjs/client/LegacyClient.js +99 -23
  33. package/cjs/client/V2Client.js +316 -0
  34. package/cjs/client/explorer/LegacyBlockExplorer.js +263 -0
  35. package/cjs/client/explorer/V2BlockExplorer.js +74 -0
  36. package/cjs/client/explorer/index.js +18 -0
  37. package/cjs/client/utils.js +57 -0
  38. package/cjs/executor/EventExecutor.js +1 -0
  39. package/cjs/executor/RuntimeApiExecutor.js +49 -2
  40. package/cjs/executor/StorageQueryExecutor.js +114 -2
  41. package/cjs/executor/ViewFunctionExecutor.js +21 -2
  42. package/cjs/executor/v2/StorageQueryExecutorV2.js +7 -1
  43. package/cjs/executor/validation-helpers.js +181 -0
  44. package/cjs/extrinsic/submittable/BaseSubmittableExtrinsic.js +86 -2
  45. package/cjs/extrinsic/submittable/SubmittableExtrinsic.js +38 -16
  46. package/cjs/extrinsic/submittable/SubmittableExtrinsicV2.js +12 -2
  47. package/cjs/json-rpc/group/ChainHead/ChainHead.js +226 -21
  48. package/cjs/storage/QueryableStorage.js +1 -0
  49. package/client/BaseSubstrateClient.d.ts +34 -18
  50. package/client/BaseSubstrateClient.js +47 -4
  51. package/client/DedotClient.d.ts +346 -49
  52. package/client/DedotClient.js +356 -224
  53. package/client/LegacyClient.d.ts +22 -17
  54. package/client/LegacyClient.js +101 -25
  55. package/client/V2Client.d.ts +75 -0
  56. package/client/V2Client.js +312 -0
  57. package/client/explorer/LegacyBlockExplorer.d.ts +68 -0
  58. package/client/explorer/LegacyBlockExplorer.js +259 -0
  59. package/client/explorer/V2BlockExplorer.d.ts +40 -0
  60. package/client/explorer/V2BlockExplorer.js +70 -0
  61. package/client/explorer/index.d.ts +2 -0
  62. package/client/explorer/index.js +2 -0
  63. package/client/utils.d.ts +18 -0
  64. package/client/utils.js +52 -0
  65. package/executor/ConstantExecutor.d.ts +1 -2
  66. package/executor/ErrorExecutor.d.ts +2 -2
  67. package/executor/EventExecutor.d.ts +2 -2
  68. package/executor/EventExecutor.js +1 -0
  69. package/executor/Executor.d.ts +4 -5
  70. package/executor/RuntimeApiExecutor.d.ts +2 -2
  71. package/executor/RuntimeApiExecutor.js +27 -3
  72. package/executor/StorageQueryExecutor.d.ts +3 -2
  73. package/executor/StorageQueryExecutor.js +92 -3
  74. package/executor/TxExecutor.d.ts +2 -2
  75. package/executor/ViewFunctionExecutor.d.ts +2 -2
  76. package/executor/ViewFunctionExecutor.js +22 -3
  77. package/executor/v2/RuntimeApiExecutorV2.d.ts +2 -3
  78. package/executor/v2/StorageQueryExecutorV2.d.ts +3 -3
  79. package/executor/v2/StorageQueryExecutorV2.js +8 -2
  80. package/executor/v2/TxExecutorV2.d.ts +5 -5
  81. package/executor/v2/ViewFunctionExecutorV2.d.ts +2 -3
  82. package/executor/validation-helpers.d.ts +36 -0
  83. package/executor/validation-helpers.js +174 -0
  84. package/extrinsic/extensions/SignedExtension.d.ts +1 -1
  85. package/extrinsic/submittable/BaseSubmittableExtrinsic.d.ts +7 -3
  86. package/extrinsic/submittable/BaseSubmittableExtrinsic.js +64 -3
  87. package/extrinsic/submittable/SubmittableExtrinsic.d.ts +4 -1
  88. package/extrinsic/submittable/SubmittableExtrinsic.js +39 -17
  89. package/extrinsic/submittable/SubmittableExtrinsicV2.d.ts +6 -3
  90. package/extrinsic/submittable/SubmittableExtrinsicV2.js +13 -3
  91. package/json-rpc/JsonRpcClient.d.ts +6 -6
  92. package/json-rpc/group/Archive.d.ts +1 -1
  93. package/json-rpc/group/ChainHead/ChainHead.d.ts +18 -2
  94. package/json-rpc/group/ChainHead/ChainHead.js +226 -21
  95. package/json-rpc/group/ChainSpec.d.ts +3 -3
  96. package/json-rpc/group/Transaction.d.ts +1 -1
  97. package/json-rpc/group/TransactionWatch.d.ts +1 -1
  98. package/package.json +9 -9
  99. package/proxychain.d.ts +3 -4
  100. package/storage/NewStorageQuery.d.ts +3 -3
  101. package/storage/QueryableStorage.js +1 -0
  102. package/types.d.ts +94 -6
@@ -1,5 +1,5 @@
1
- import type { GenericChainErrors, GenericPalletError, RpcVersion } from '@dedot/types';
2
- export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<Rv> {
1
+ import type { GenericChainErrors, GenericPalletError } from '@dedot/types';
2
+ export interface ChainErrors extends GenericChainErrors {
3
3
  /**
4
4
  * Pallet `System`'s errors
5
5
  **/
@@ -8,46 +8,46 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
8
8
  * The name of specification does not match between the current runtime
9
9
  * and the new runtime.
10
10
  **/
11
- InvalidSpecName: GenericPalletError<Rv>;
11
+ InvalidSpecName: GenericPalletError;
12
12
  /**
13
13
  * The specification version is not allowed to decrease between the current runtime
14
14
  * and the new runtime.
15
15
  **/
16
- SpecVersionNeedsToIncrease: GenericPalletError<Rv>;
16
+ SpecVersionNeedsToIncrease: GenericPalletError;
17
17
  /**
18
18
  * Failed to extract the runtime version from the new runtime.
19
19
  *
20
20
  * Either calling `Core_version` or decoding `RuntimeVersion` failed.
21
21
  **/
22
- FailedToExtractRuntimeVersion: GenericPalletError<Rv>;
22
+ FailedToExtractRuntimeVersion: GenericPalletError;
23
23
  /**
24
24
  * Suicide called when the account has non-default composite data.
25
25
  **/
26
- NonDefaultComposite: GenericPalletError<Rv>;
26
+ NonDefaultComposite: GenericPalletError;
27
27
  /**
28
28
  * There is a non-zero reference count preventing the account from being purged.
29
29
  **/
30
- NonZeroRefCount: GenericPalletError<Rv>;
30
+ NonZeroRefCount: GenericPalletError;
31
31
  /**
32
32
  * The origin filter prevent the call to be dispatched.
33
33
  **/
34
- CallFiltered: GenericPalletError<Rv>;
34
+ CallFiltered: GenericPalletError;
35
35
  /**
36
36
  * A multi-block migration is ongoing and prevents the current code from being replaced.
37
37
  **/
38
- MultiBlockMigrationsOngoing: GenericPalletError<Rv>;
38
+ MultiBlockMigrationsOngoing: GenericPalletError;
39
39
  /**
40
40
  * No upgrade authorized.
41
41
  **/
42
- NothingAuthorized: GenericPalletError<Rv>;
42
+ NothingAuthorized: GenericPalletError;
43
43
  /**
44
44
  * The submitted code is not authorized.
45
45
  **/
46
- Unauthorized: GenericPalletError<Rv>;
46
+ Unauthorized: GenericPalletError;
47
47
  /**
48
48
  * Generic pallet error
49
49
  **/
50
- [error: string]: GenericPalletError<Rv>;
50
+ [error: string]: GenericPalletError;
51
51
  };
52
52
  /**
53
53
  * Pallet `Utility`'s errors
@@ -56,11 +56,11 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
56
56
  /**
57
57
  * Too many calls batched.
58
58
  **/
59
- TooManyCalls: GenericPalletError<Rv>;
59
+ TooManyCalls: GenericPalletError;
60
60
  /**
61
61
  * Generic pallet error
62
62
  **/
63
- [error: string]: GenericPalletError<Rv>;
63
+ [error: string]: GenericPalletError;
64
64
  };
65
65
  /**
66
66
  * Pallet `Babe`'s errors
@@ -69,23 +69,23 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
69
69
  /**
70
70
  * An equivocation proof provided as part of an equivocation report is invalid.
71
71
  **/
72
- InvalidEquivocationProof: GenericPalletError<Rv>;
72
+ InvalidEquivocationProof: GenericPalletError;
73
73
  /**
74
74
  * A key ownership proof provided as part of an equivocation report is invalid.
75
75
  **/
76
- InvalidKeyOwnershipProof: GenericPalletError<Rv>;
76
+ InvalidKeyOwnershipProof: GenericPalletError;
77
77
  /**
78
78
  * A given equivocation report is valid but already previously reported.
79
79
  **/
80
- DuplicateOffenceReport: GenericPalletError<Rv>;
80
+ DuplicateOffenceReport: GenericPalletError;
81
81
  /**
82
82
  * Submitted configuration is invalid.
83
83
  **/
84
- InvalidConfiguration: GenericPalletError<Rv>;
84
+ InvalidConfiguration: GenericPalletError;
85
85
  /**
86
86
  * Generic pallet error
87
87
  **/
88
- [error: string]: GenericPalletError<Rv>;
88
+ [error: string]: GenericPalletError;
89
89
  };
90
90
  /**
91
91
  * Pallet `Indices`'s errors
@@ -94,27 +94,27 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
94
94
  /**
95
95
  * The index was not already assigned.
96
96
  **/
97
- NotAssigned: GenericPalletError<Rv>;
97
+ NotAssigned: GenericPalletError;
98
98
  /**
99
99
  * The index is assigned to another account.
100
100
  **/
101
- NotOwner: GenericPalletError<Rv>;
101
+ NotOwner: GenericPalletError;
102
102
  /**
103
103
  * The index was not available.
104
104
  **/
105
- InUse: GenericPalletError<Rv>;
105
+ InUse: GenericPalletError;
106
106
  /**
107
107
  * The source and destination accounts are identical.
108
108
  **/
109
- NotTransfer: GenericPalletError<Rv>;
109
+ NotTransfer: GenericPalletError;
110
110
  /**
111
111
  * The index is permanent and may not be freed/changed.
112
112
  **/
113
- Permanent: GenericPalletError<Rv>;
113
+ Permanent: GenericPalletError;
114
114
  /**
115
115
  * Generic pallet error
116
116
  **/
117
- [error: string]: GenericPalletError<Rv>;
117
+ [error: string]: GenericPalletError;
118
118
  };
119
119
  /**
120
120
  * Pallet `Balances`'s errors
@@ -123,55 +123,55 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
123
123
  /**
124
124
  * Vesting balance too high to send value.
125
125
  **/
126
- VestingBalance: GenericPalletError<Rv>;
126
+ VestingBalance: GenericPalletError;
127
127
  /**
128
128
  * Account liquidity restrictions prevent withdrawal.
129
129
  **/
130
- LiquidityRestrictions: GenericPalletError<Rv>;
130
+ LiquidityRestrictions: GenericPalletError;
131
131
  /**
132
132
  * Balance too low to send value.
133
133
  **/
134
- InsufficientBalance: GenericPalletError<Rv>;
134
+ InsufficientBalance: GenericPalletError;
135
135
  /**
136
136
  * Value too low to create account due to existential deposit.
137
137
  **/
138
- ExistentialDeposit: GenericPalletError<Rv>;
138
+ ExistentialDeposit: GenericPalletError;
139
139
  /**
140
140
  * Transfer/payment would kill account.
141
141
  **/
142
- Expendability: GenericPalletError<Rv>;
142
+ Expendability: GenericPalletError;
143
143
  /**
144
144
  * A vesting schedule already exists for this account.
145
145
  **/
146
- ExistingVestingSchedule: GenericPalletError<Rv>;
146
+ ExistingVestingSchedule: GenericPalletError;
147
147
  /**
148
148
  * Beneficiary account must pre-exist.
149
149
  **/
150
- DeadAccount: GenericPalletError<Rv>;
150
+ DeadAccount: GenericPalletError;
151
151
  /**
152
152
  * Number of named reserves exceed `MaxReserves`.
153
153
  **/
154
- TooManyReserves: GenericPalletError<Rv>;
154
+ TooManyReserves: GenericPalletError;
155
155
  /**
156
156
  * Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
157
157
  **/
158
- TooManyHolds: GenericPalletError<Rv>;
158
+ TooManyHolds: GenericPalletError;
159
159
  /**
160
160
  * Number of freezes exceed `MaxFreezes`.
161
161
  **/
162
- TooManyFreezes: GenericPalletError<Rv>;
162
+ TooManyFreezes: GenericPalletError;
163
163
  /**
164
164
  * The issuance cannot be modified since it is already deactivated.
165
165
  **/
166
- IssuanceDeactivated: GenericPalletError<Rv>;
166
+ IssuanceDeactivated: GenericPalletError;
167
167
  /**
168
168
  * The delta cannot be zero.
169
169
  **/
170
- DeltaZero: GenericPalletError<Rv>;
170
+ DeltaZero: GenericPalletError;
171
171
  /**
172
172
  * Generic pallet error
173
173
  **/
174
- [error: string]: GenericPalletError<Rv>;
174
+ [error: string]: GenericPalletError;
175
175
  };
176
176
  /**
177
177
  * Pallet `ElectionProviderMultiPhase`'s errors
@@ -180,67 +180,67 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
180
180
  /**
181
181
  * Submission was too early.
182
182
  **/
183
- PreDispatchEarlySubmission: GenericPalletError<Rv>;
183
+ PreDispatchEarlySubmission: GenericPalletError;
184
184
  /**
185
185
  * Wrong number of winners presented.
186
186
  **/
187
- PreDispatchWrongWinnerCount: GenericPalletError<Rv>;
187
+ PreDispatchWrongWinnerCount: GenericPalletError;
188
188
  /**
189
189
  * Submission was too weak, score-wise.
190
190
  **/
191
- PreDispatchWeakSubmission: GenericPalletError<Rv>;
191
+ PreDispatchWeakSubmission: GenericPalletError;
192
192
  /**
193
193
  * The queue was full, and the solution was not better than any of the existing ones.
194
194
  **/
195
- SignedQueueFull: GenericPalletError<Rv>;
195
+ SignedQueueFull: GenericPalletError;
196
196
  /**
197
197
  * The origin failed to pay the deposit.
198
198
  **/
199
- SignedCannotPayDeposit: GenericPalletError<Rv>;
199
+ SignedCannotPayDeposit: GenericPalletError;
200
200
  /**
201
201
  * Witness data to dispatchable is invalid.
202
202
  **/
203
- SignedInvalidWitness: GenericPalletError<Rv>;
203
+ SignedInvalidWitness: GenericPalletError;
204
204
  /**
205
205
  * The signed submission consumes too much weight
206
206
  **/
207
- SignedTooMuchWeight: GenericPalletError<Rv>;
207
+ SignedTooMuchWeight: GenericPalletError;
208
208
  /**
209
209
  * OCW submitted solution for wrong round
210
210
  **/
211
- OcwCallWrongEra: GenericPalletError<Rv>;
211
+ OcwCallWrongEra: GenericPalletError;
212
212
  /**
213
213
  * Snapshot metadata should exist but didn't.
214
214
  **/
215
- MissingSnapshotMetadata: GenericPalletError<Rv>;
215
+ MissingSnapshotMetadata: GenericPalletError;
216
216
  /**
217
217
  * `Self::insert_submission` returned an invalid index.
218
218
  **/
219
- InvalidSubmissionIndex: GenericPalletError<Rv>;
219
+ InvalidSubmissionIndex: GenericPalletError;
220
220
  /**
221
221
  * The call is not allowed at this point.
222
222
  **/
223
- CallNotAllowed: GenericPalletError<Rv>;
223
+ CallNotAllowed: GenericPalletError;
224
224
  /**
225
225
  * The fallback failed
226
226
  **/
227
- FallbackFailed: GenericPalletError<Rv>;
227
+ FallbackFailed: GenericPalletError;
228
228
  /**
229
229
  * Some bound not met
230
230
  **/
231
- BoundNotMet: GenericPalletError<Rv>;
231
+ BoundNotMet: GenericPalletError;
232
232
  /**
233
233
  * Submitted solution has too many winners
234
234
  **/
235
- TooManyWinners: GenericPalletError<Rv>;
235
+ TooManyWinners: GenericPalletError;
236
236
  /**
237
237
  * Submission was prepared for a different round.
238
238
  **/
239
- PreDispatchDifferentRound: GenericPalletError<Rv>;
239
+ PreDispatchDifferentRound: GenericPalletError;
240
240
  /**
241
241
  * Generic pallet error
242
242
  **/
243
- [error: string]: GenericPalletError<Rv>;
243
+ [error: string]: GenericPalletError;
244
244
  };
245
245
  /**
246
246
  * Pallet `Staking`'s errors
@@ -249,148 +249,148 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
249
249
  /**
250
250
  * Not a controller account.
251
251
  **/
252
- NotController: GenericPalletError<Rv>;
252
+ NotController: GenericPalletError;
253
253
  /**
254
254
  * Not a stash account.
255
255
  **/
256
- NotStash: GenericPalletError<Rv>;
256
+ NotStash: GenericPalletError;
257
257
  /**
258
258
  * Stash is already bonded.
259
259
  **/
260
- AlreadyBonded: GenericPalletError<Rv>;
260
+ AlreadyBonded: GenericPalletError;
261
261
  /**
262
262
  * Controller is already paired.
263
263
  **/
264
- AlreadyPaired: GenericPalletError<Rv>;
264
+ AlreadyPaired: GenericPalletError;
265
265
  /**
266
266
  * Targets cannot be empty.
267
267
  **/
268
- EmptyTargets: GenericPalletError<Rv>;
268
+ EmptyTargets: GenericPalletError;
269
269
  /**
270
270
  * Duplicate index.
271
271
  **/
272
- DuplicateIndex: GenericPalletError<Rv>;
272
+ DuplicateIndex: GenericPalletError;
273
273
  /**
274
274
  * Slash record index out of bounds.
275
275
  **/
276
- InvalidSlashIndex: GenericPalletError<Rv>;
276
+ InvalidSlashIndex: GenericPalletError;
277
277
  /**
278
278
  * Cannot have a validator or nominator role, with value less than the minimum defined by
279
279
  * governance (see `MinValidatorBond` and `MinNominatorBond`). If unbonding is the
280
280
  * intention, `chill` first to remove one's role as validator/nominator.
281
281
  **/
282
- InsufficientBond: GenericPalletError<Rv>;
282
+ InsufficientBond: GenericPalletError;
283
283
  /**
284
284
  * Can not schedule more unlock chunks.
285
285
  **/
286
- NoMoreChunks: GenericPalletError<Rv>;
286
+ NoMoreChunks: GenericPalletError;
287
287
  /**
288
288
  * Can not rebond without unlocking chunks.
289
289
  **/
290
- NoUnlockChunk: GenericPalletError<Rv>;
290
+ NoUnlockChunk: GenericPalletError;
291
291
  /**
292
292
  * Attempting to target a stash that still has funds.
293
293
  **/
294
- FundedTarget: GenericPalletError<Rv>;
294
+ FundedTarget: GenericPalletError;
295
295
  /**
296
296
  * Invalid era to reward.
297
297
  **/
298
- InvalidEraToReward: GenericPalletError<Rv>;
298
+ InvalidEraToReward: GenericPalletError;
299
299
  /**
300
300
  * Invalid number of nominations.
301
301
  **/
302
- InvalidNumberOfNominations: GenericPalletError<Rv>;
302
+ InvalidNumberOfNominations: GenericPalletError;
303
303
  /**
304
304
  * Items are not sorted and unique.
305
305
  **/
306
- NotSortedAndUnique: GenericPalletError<Rv>;
306
+ NotSortedAndUnique: GenericPalletError;
307
307
  /**
308
308
  * Rewards for this era have already been claimed for this validator.
309
309
  **/
310
- AlreadyClaimed: GenericPalletError<Rv>;
310
+ AlreadyClaimed: GenericPalletError;
311
311
  /**
312
312
  * No nominators exist on this page.
313
313
  **/
314
- InvalidPage: GenericPalletError<Rv>;
314
+ InvalidPage: GenericPalletError;
315
315
  /**
316
316
  * Incorrect previous history depth input provided.
317
317
  **/
318
- IncorrectHistoryDepth: GenericPalletError<Rv>;
318
+ IncorrectHistoryDepth: GenericPalletError;
319
319
  /**
320
320
  * Incorrect number of slashing spans provided.
321
321
  **/
322
- IncorrectSlashingSpans: GenericPalletError<Rv>;
322
+ IncorrectSlashingSpans: GenericPalletError;
323
323
  /**
324
324
  * Internal state has become somehow corrupted and the operation cannot continue.
325
325
  **/
326
- BadState: GenericPalletError<Rv>;
326
+ BadState: GenericPalletError;
327
327
  /**
328
328
  * Too many nomination targets supplied.
329
329
  **/
330
- TooManyTargets: GenericPalletError<Rv>;
330
+ TooManyTargets: GenericPalletError;
331
331
  /**
332
332
  * A nomination target was supplied that was blocked or otherwise not a validator.
333
333
  **/
334
- BadTarget: GenericPalletError<Rv>;
334
+ BadTarget: GenericPalletError;
335
335
  /**
336
336
  * The user has enough bond and thus cannot be chilled forcefully by an external person.
337
337
  **/
338
- CannotChillOther: GenericPalletError<Rv>;
338
+ CannotChillOther: GenericPalletError;
339
339
  /**
340
340
  * There are too many nominators in the system. Governance needs to adjust the staking
341
341
  * settings to keep things safe for the runtime.
342
342
  **/
343
- TooManyNominators: GenericPalletError<Rv>;
343
+ TooManyNominators: GenericPalletError;
344
344
  /**
345
345
  * There are too many validator candidates in the system. Governance needs to adjust the
346
346
  * staking settings to keep things safe for the runtime.
347
347
  **/
348
- TooManyValidators: GenericPalletError<Rv>;
348
+ TooManyValidators: GenericPalletError;
349
349
  /**
350
350
  * Commission is too low. Must be at least `MinCommission`.
351
351
  **/
352
- CommissionTooLow: GenericPalletError<Rv>;
352
+ CommissionTooLow: GenericPalletError;
353
353
  /**
354
354
  * Some bound is not met.
355
355
  **/
356
- BoundNotMet: GenericPalletError<Rv>;
356
+ BoundNotMet: GenericPalletError;
357
357
  /**
358
358
  * Used when attempting to use deprecated controller account logic.
359
359
  **/
360
- ControllerDeprecated: GenericPalletError<Rv>;
360
+ ControllerDeprecated: GenericPalletError;
361
361
  /**
362
362
  * Cannot reset a ledger.
363
363
  **/
364
- CannotRestoreLedger: GenericPalletError<Rv>;
364
+ CannotRestoreLedger: GenericPalletError;
365
365
  /**
366
366
  * Provided reward destination is not allowed.
367
367
  **/
368
- RewardDestinationRestricted: GenericPalletError<Rv>;
368
+ RewardDestinationRestricted: GenericPalletError;
369
369
  /**
370
370
  * Not enough funds available to withdraw.
371
371
  **/
372
- NotEnoughFunds: GenericPalletError<Rv>;
372
+ NotEnoughFunds: GenericPalletError;
373
373
  /**
374
374
  * Operation not allowed for virtual stakers.
375
375
  **/
376
- VirtualStakerNotAllowed: GenericPalletError<Rv>;
376
+ VirtualStakerNotAllowed: GenericPalletError;
377
377
  /**
378
378
  * Stash could not be reaped as other pallet might depend on it.
379
379
  **/
380
- CannotReapStash: GenericPalletError<Rv>;
380
+ CannotReapStash: GenericPalletError;
381
381
  /**
382
382
  * The stake of this account is already migrated to `Fungible` holds.
383
383
  **/
384
- AlreadyMigrated: GenericPalletError<Rv>;
384
+ AlreadyMigrated: GenericPalletError;
385
385
  /**
386
386
  * Account is restricted from participation in staking. This may happen if the account is
387
387
  * staking in another way already, such as via pool.
388
388
  **/
389
- Restricted: GenericPalletError<Rv>;
389
+ Restricted: GenericPalletError;
390
390
  /**
391
391
  * Generic pallet error
392
392
  **/
393
- [error: string]: GenericPalletError<Rv>;
393
+ [error: string]: GenericPalletError;
394
394
  };
395
395
  /**
396
396
  * Pallet `Session`'s errors
@@ -399,27 +399,27 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
399
399
  /**
400
400
  * Invalid ownership proof.
401
401
  **/
402
- InvalidProof: GenericPalletError<Rv>;
402
+ InvalidProof: GenericPalletError;
403
403
  /**
404
404
  * No associated validator ID for account.
405
405
  **/
406
- NoAssociatedValidatorId: GenericPalletError<Rv>;
406
+ NoAssociatedValidatorId: GenericPalletError;
407
407
  /**
408
408
  * Registered duplicate key.
409
409
  **/
410
- DuplicatedKey: GenericPalletError<Rv>;
410
+ DuplicatedKey: GenericPalletError;
411
411
  /**
412
412
  * No keys are associated with this account.
413
413
  **/
414
- NoKeys: GenericPalletError<Rv>;
414
+ NoKeys: GenericPalletError;
415
415
  /**
416
416
  * Key setting account is not live, so it's impossible to associate keys.
417
417
  **/
418
- NoAccount: GenericPalletError<Rv>;
418
+ NoAccount: GenericPalletError;
419
419
  /**
420
420
  * Generic pallet error
421
421
  **/
422
- [error: string]: GenericPalletError<Rv>;
422
+ [error: string]: GenericPalletError;
423
423
  };
424
424
  /**
425
425
  * Pallet `Democracy`'s errors
@@ -428,104 +428,104 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
428
428
  /**
429
429
  * Value too low
430
430
  **/
431
- ValueLow: GenericPalletError<Rv>;
431
+ ValueLow: GenericPalletError;
432
432
  /**
433
433
  * Proposal does not exist
434
434
  **/
435
- ProposalMissing: GenericPalletError<Rv>;
435
+ ProposalMissing: GenericPalletError;
436
436
  /**
437
437
  * Cannot cancel the same proposal twice
438
438
  **/
439
- AlreadyCanceled: GenericPalletError<Rv>;
439
+ AlreadyCanceled: GenericPalletError;
440
440
  /**
441
441
  * Proposal already made
442
442
  **/
443
- DuplicateProposal: GenericPalletError<Rv>;
443
+ DuplicateProposal: GenericPalletError;
444
444
  /**
445
445
  * Proposal still blacklisted
446
446
  **/
447
- ProposalBlacklisted: GenericPalletError<Rv>;
447
+ ProposalBlacklisted: GenericPalletError;
448
448
  /**
449
449
  * Next external proposal not simple majority
450
450
  **/
451
- NotSimpleMajority: GenericPalletError<Rv>;
451
+ NotSimpleMajority: GenericPalletError;
452
452
  /**
453
453
  * Invalid hash
454
454
  **/
455
- InvalidHash: GenericPalletError<Rv>;
455
+ InvalidHash: GenericPalletError;
456
456
  /**
457
457
  * No external proposal
458
458
  **/
459
- NoProposal: GenericPalletError<Rv>;
459
+ NoProposal: GenericPalletError;
460
460
  /**
461
461
  * Identity may not veto a proposal twice
462
462
  **/
463
- AlreadyVetoed: GenericPalletError<Rv>;
463
+ AlreadyVetoed: GenericPalletError;
464
464
  /**
465
465
  * Vote given for invalid referendum
466
466
  **/
467
- ReferendumInvalid: GenericPalletError<Rv>;
467
+ ReferendumInvalid: GenericPalletError;
468
468
  /**
469
469
  * No proposals waiting
470
470
  **/
471
- NoneWaiting: GenericPalletError<Rv>;
471
+ NoneWaiting: GenericPalletError;
472
472
  /**
473
473
  * The given account did not vote on the referendum.
474
474
  **/
475
- NotVoter: GenericPalletError<Rv>;
475
+ NotVoter: GenericPalletError;
476
476
  /**
477
477
  * The actor has no permission to conduct the action.
478
478
  **/
479
- NoPermission: GenericPalletError<Rv>;
479
+ NoPermission: GenericPalletError;
480
480
  /**
481
481
  * The account is already delegating.
482
482
  **/
483
- AlreadyDelegating: GenericPalletError<Rv>;
483
+ AlreadyDelegating: GenericPalletError;
484
484
  /**
485
485
  * Too high a balance was provided that the account cannot afford.
486
486
  **/
487
- InsufficientFunds: GenericPalletError<Rv>;
487
+ InsufficientFunds: GenericPalletError;
488
488
  /**
489
489
  * The account is not currently delegating.
490
490
  **/
491
- NotDelegating: GenericPalletError<Rv>;
491
+ NotDelegating: GenericPalletError;
492
492
  /**
493
493
  * The account currently has votes attached to it and the operation cannot succeed until
494
494
  * these are removed, either through `unvote` or `reap_vote`.
495
495
  **/
496
- VotesExist: GenericPalletError<Rv>;
496
+ VotesExist: GenericPalletError;
497
497
  /**
498
498
  * The instant referendum origin is currently disallowed.
499
499
  **/
500
- InstantNotAllowed: GenericPalletError<Rv>;
500
+ InstantNotAllowed: GenericPalletError;
501
501
  /**
502
502
  * Delegation to oneself makes no sense.
503
503
  **/
504
- Nonsense: GenericPalletError<Rv>;
504
+ Nonsense: GenericPalletError;
505
505
  /**
506
506
  * Invalid upper bound.
507
507
  **/
508
- WrongUpperBound: GenericPalletError<Rv>;
508
+ WrongUpperBound: GenericPalletError;
509
509
  /**
510
510
  * Maximum number of votes reached.
511
511
  **/
512
- MaxVotesReached: GenericPalletError<Rv>;
512
+ MaxVotesReached: GenericPalletError;
513
513
  /**
514
514
  * Maximum number of items reached.
515
515
  **/
516
- TooMany: GenericPalletError<Rv>;
516
+ TooMany: GenericPalletError;
517
517
  /**
518
518
  * Voting period too low
519
519
  **/
520
- VotingPeriodLow: GenericPalletError<Rv>;
520
+ VotingPeriodLow: GenericPalletError;
521
521
  /**
522
522
  * The preimage does not exist.
523
523
  **/
524
- PreimageNotExist: GenericPalletError<Rv>;
524
+ PreimageNotExist: GenericPalletError;
525
525
  /**
526
526
  * Generic pallet error
527
527
  **/
528
- [error: string]: GenericPalletError<Rv>;
528
+ [error: string]: GenericPalletError;
529
529
  };
530
530
  /**
531
531
  * Pallet `Council`'s errors
@@ -534,55 +534,55 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
534
534
  /**
535
535
  * Account is not a member
536
536
  **/
537
- NotMember: GenericPalletError<Rv>;
537
+ NotMember: GenericPalletError;
538
538
  /**
539
539
  * Duplicate proposals not allowed
540
540
  **/
541
- DuplicateProposal: GenericPalletError<Rv>;
541
+ DuplicateProposal: GenericPalletError;
542
542
  /**
543
543
  * Proposal must exist
544
544
  **/
545
- ProposalMissing: GenericPalletError<Rv>;
545
+ ProposalMissing: GenericPalletError;
546
546
  /**
547
547
  * Mismatched index
548
548
  **/
549
- WrongIndex: GenericPalletError<Rv>;
549
+ WrongIndex: GenericPalletError;
550
550
  /**
551
551
  * Duplicate vote ignored
552
552
  **/
553
- DuplicateVote: GenericPalletError<Rv>;
553
+ DuplicateVote: GenericPalletError;
554
554
  /**
555
555
  * Members are already initialized!
556
556
  **/
557
- AlreadyInitialized: GenericPalletError<Rv>;
557
+ AlreadyInitialized: GenericPalletError;
558
558
  /**
559
559
  * The close call was made too early, before the end of the voting.
560
560
  **/
561
- TooEarly: GenericPalletError<Rv>;
561
+ TooEarly: GenericPalletError;
562
562
  /**
563
563
  * There can only be a maximum of `MaxProposals` active proposals.
564
564
  **/
565
- TooManyProposals: GenericPalletError<Rv>;
565
+ TooManyProposals: GenericPalletError;
566
566
  /**
567
567
  * The given weight bound for the proposal was too low.
568
568
  **/
569
- WrongProposalWeight: GenericPalletError<Rv>;
569
+ WrongProposalWeight: GenericPalletError;
570
570
  /**
571
571
  * The given length bound for the proposal was too low.
572
572
  **/
573
- WrongProposalLength: GenericPalletError<Rv>;
573
+ WrongProposalLength: GenericPalletError;
574
574
  /**
575
575
  * Prime account is not a member
576
576
  **/
577
- PrimeAccountNotMember: GenericPalletError<Rv>;
577
+ PrimeAccountNotMember: GenericPalletError;
578
578
  /**
579
579
  * Proposal is still active.
580
580
  **/
581
- ProposalActive: GenericPalletError<Rv>;
581
+ ProposalActive: GenericPalletError;
582
582
  /**
583
583
  * Generic pallet error
584
584
  **/
585
- [error: string]: GenericPalletError<Rv>;
585
+ [error: string]: GenericPalletError;
586
586
  };
587
587
  /**
588
588
  * Pallet `TechnicalCommittee`'s errors
@@ -591,55 +591,55 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
591
591
  /**
592
592
  * Account is not a member
593
593
  **/
594
- NotMember: GenericPalletError<Rv>;
594
+ NotMember: GenericPalletError;
595
595
  /**
596
596
  * Duplicate proposals not allowed
597
597
  **/
598
- DuplicateProposal: GenericPalletError<Rv>;
598
+ DuplicateProposal: GenericPalletError;
599
599
  /**
600
600
  * Proposal must exist
601
601
  **/
602
- ProposalMissing: GenericPalletError<Rv>;
602
+ ProposalMissing: GenericPalletError;
603
603
  /**
604
604
  * Mismatched index
605
605
  **/
606
- WrongIndex: GenericPalletError<Rv>;
606
+ WrongIndex: GenericPalletError;
607
607
  /**
608
608
  * Duplicate vote ignored
609
609
  **/
610
- DuplicateVote: GenericPalletError<Rv>;
610
+ DuplicateVote: GenericPalletError;
611
611
  /**
612
612
  * Members are already initialized!
613
613
  **/
614
- AlreadyInitialized: GenericPalletError<Rv>;
614
+ AlreadyInitialized: GenericPalletError;
615
615
  /**
616
616
  * The close call was made too early, before the end of the voting.
617
617
  **/
618
- TooEarly: GenericPalletError<Rv>;
618
+ TooEarly: GenericPalletError;
619
619
  /**
620
620
  * There can only be a maximum of `MaxProposals` active proposals.
621
621
  **/
622
- TooManyProposals: GenericPalletError<Rv>;
622
+ TooManyProposals: GenericPalletError;
623
623
  /**
624
624
  * The given weight bound for the proposal was too low.
625
625
  **/
626
- WrongProposalWeight: GenericPalletError<Rv>;
626
+ WrongProposalWeight: GenericPalletError;
627
627
  /**
628
628
  * The given length bound for the proposal was too low.
629
629
  **/
630
- WrongProposalLength: GenericPalletError<Rv>;
630
+ WrongProposalLength: GenericPalletError;
631
631
  /**
632
632
  * Prime account is not a member
633
633
  **/
634
- PrimeAccountNotMember: GenericPalletError<Rv>;
634
+ PrimeAccountNotMember: GenericPalletError;
635
635
  /**
636
636
  * Proposal is still active.
637
637
  **/
638
- ProposalActive: GenericPalletError<Rv>;
638
+ ProposalActive: GenericPalletError;
639
639
  /**
640
640
  * Generic pallet error
641
641
  **/
642
- [error: string]: GenericPalletError<Rv>;
642
+ [error: string]: GenericPalletError;
643
643
  };
644
644
  /**
645
645
  * Pallet `Elections`'s errors
@@ -648,75 +648,75 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
648
648
  /**
649
649
  * Cannot vote when no candidates or members exist.
650
650
  **/
651
- UnableToVote: GenericPalletError<Rv>;
651
+ UnableToVote: GenericPalletError;
652
652
  /**
653
653
  * Must vote for at least one candidate.
654
654
  **/
655
- NoVotes: GenericPalletError<Rv>;
655
+ NoVotes: GenericPalletError;
656
656
  /**
657
657
  * Cannot vote more than candidates.
658
658
  **/
659
- TooManyVotes: GenericPalletError<Rv>;
659
+ TooManyVotes: GenericPalletError;
660
660
  /**
661
661
  * Cannot vote more than maximum allowed.
662
662
  **/
663
- MaximumVotesExceeded: GenericPalletError<Rv>;
663
+ MaximumVotesExceeded: GenericPalletError;
664
664
  /**
665
665
  * Cannot vote with stake less than minimum balance.
666
666
  **/
667
- LowBalance: GenericPalletError<Rv>;
667
+ LowBalance: GenericPalletError;
668
668
  /**
669
669
  * Voter can not pay voting bond.
670
670
  **/
671
- UnableToPayBond: GenericPalletError<Rv>;
671
+ UnableToPayBond: GenericPalletError;
672
672
  /**
673
673
  * Must be a voter.
674
674
  **/
675
- MustBeVoter: GenericPalletError<Rv>;
675
+ MustBeVoter: GenericPalletError;
676
676
  /**
677
677
  * Duplicated candidate submission.
678
678
  **/
679
- DuplicatedCandidate: GenericPalletError<Rv>;
679
+ DuplicatedCandidate: GenericPalletError;
680
680
  /**
681
681
  * Too many candidates have been created.
682
682
  **/
683
- TooManyCandidates: GenericPalletError<Rv>;
683
+ TooManyCandidates: GenericPalletError;
684
684
  /**
685
685
  * Member cannot re-submit candidacy.
686
686
  **/
687
- MemberSubmit: GenericPalletError<Rv>;
687
+ MemberSubmit: GenericPalletError;
688
688
  /**
689
689
  * Runner cannot re-submit candidacy.
690
690
  **/
691
- RunnerUpSubmit: GenericPalletError<Rv>;
691
+ RunnerUpSubmit: GenericPalletError;
692
692
  /**
693
693
  * Candidate does not have enough funds.
694
694
  **/
695
- InsufficientCandidateFunds: GenericPalletError<Rv>;
695
+ InsufficientCandidateFunds: GenericPalletError;
696
696
  /**
697
697
  * Not a member.
698
698
  **/
699
- NotMember: GenericPalletError<Rv>;
699
+ NotMember: GenericPalletError;
700
700
  /**
701
701
  * The provided count of number of candidates is incorrect.
702
702
  **/
703
- InvalidWitnessData: GenericPalletError<Rv>;
703
+ InvalidWitnessData: GenericPalletError;
704
704
  /**
705
705
  * The provided count of number of votes is incorrect.
706
706
  **/
707
- InvalidVoteCount: GenericPalletError<Rv>;
707
+ InvalidVoteCount: GenericPalletError;
708
708
  /**
709
709
  * The renouncing origin presented a wrong `Renouncing` parameter.
710
710
  **/
711
- InvalidRenouncing: GenericPalletError<Rv>;
711
+ InvalidRenouncing: GenericPalletError;
712
712
  /**
713
713
  * Prediction regarding replacement after member removal is wrong.
714
714
  **/
715
- InvalidReplacement: GenericPalletError<Rv>;
715
+ InvalidReplacement: GenericPalletError;
716
716
  /**
717
717
  * Generic pallet error
718
718
  **/
719
- [error: string]: GenericPalletError<Rv>;
719
+ [error: string]: GenericPalletError;
720
720
  };
721
721
  /**
722
722
  * Pallet `TechnicalMembership`'s errors
@@ -725,19 +725,19 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
725
725
  /**
726
726
  * Already a member.
727
727
  **/
728
- AlreadyMember: GenericPalletError<Rv>;
728
+ AlreadyMember: GenericPalletError;
729
729
  /**
730
730
  * Not a member.
731
731
  **/
732
- NotMember: GenericPalletError<Rv>;
732
+ NotMember: GenericPalletError;
733
733
  /**
734
734
  * Too many members.
735
735
  **/
736
- TooManyMembers: GenericPalletError<Rv>;
736
+ TooManyMembers: GenericPalletError;
737
737
  /**
738
738
  * Generic pallet error
739
739
  **/
740
- [error: string]: GenericPalletError<Rv>;
740
+ [error: string]: GenericPalletError;
741
741
  };
742
742
  /**
743
743
  * Pallet `Grandpa`'s errors
@@ -747,36 +747,36 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
747
747
  * Attempt to signal GRANDPA pause when the authority set isn't live
748
748
  * (either paused or already pending pause).
749
749
  **/
750
- PauseFailed: GenericPalletError<Rv>;
750
+ PauseFailed: GenericPalletError;
751
751
  /**
752
752
  * Attempt to signal GRANDPA resume when the authority set isn't paused
753
753
  * (either live or already pending resume).
754
754
  **/
755
- ResumeFailed: GenericPalletError<Rv>;
755
+ ResumeFailed: GenericPalletError;
756
756
  /**
757
757
  * Attempt to signal GRANDPA change with one already pending.
758
758
  **/
759
- ChangePending: GenericPalletError<Rv>;
759
+ ChangePending: GenericPalletError;
760
760
  /**
761
761
  * Cannot signal forced change so soon after last.
762
762
  **/
763
- TooSoon: GenericPalletError<Rv>;
763
+ TooSoon: GenericPalletError;
764
764
  /**
765
765
  * A key ownership proof provided as part of an equivocation report is invalid.
766
766
  **/
767
- InvalidKeyOwnershipProof: GenericPalletError<Rv>;
767
+ InvalidKeyOwnershipProof: GenericPalletError;
768
768
  /**
769
769
  * An equivocation proof provided as part of an equivocation report is invalid.
770
770
  **/
771
- InvalidEquivocationProof: GenericPalletError<Rv>;
771
+ InvalidEquivocationProof: GenericPalletError;
772
772
  /**
773
773
  * A given equivocation report is valid but already previously reported.
774
774
  **/
775
- DuplicateOffenceReport: GenericPalletError<Rv>;
775
+ DuplicateOffenceReport: GenericPalletError;
776
776
  /**
777
777
  * Generic pallet error
778
778
  **/
779
- [error: string]: GenericPalletError<Rv>;
779
+ [error: string]: GenericPalletError;
780
780
  };
781
781
  /**
782
782
  * Pallet `Treasury`'s errors
@@ -785,52 +785,52 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
785
785
  /**
786
786
  * No proposal, bounty or spend at that index.
787
787
  **/
788
- InvalidIndex: GenericPalletError<Rv>;
788
+ InvalidIndex: GenericPalletError;
789
789
  /**
790
790
  * Too many approvals in the queue.
791
791
  **/
792
- TooManyApprovals: GenericPalletError<Rv>;
792
+ TooManyApprovals: GenericPalletError;
793
793
  /**
794
794
  * The spend origin is valid but the amount it is allowed to spend is lower than the
795
795
  * amount to be spent.
796
796
  **/
797
- InsufficientPermission: GenericPalletError<Rv>;
797
+ InsufficientPermission: GenericPalletError;
798
798
  /**
799
799
  * Proposal has not been approved.
800
800
  **/
801
- ProposalNotApproved: GenericPalletError<Rv>;
801
+ ProposalNotApproved: GenericPalletError;
802
802
  /**
803
803
  * The balance of the asset kind is not convertible to the balance of the native asset.
804
804
  **/
805
- FailedToConvertBalance: GenericPalletError<Rv>;
805
+ FailedToConvertBalance: GenericPalletError;
806
806
  /**
807
807
  * The spend has expired and cannot be claimed.
808
808
  **/
809
- SpendExpired: GenericPalletError<Rv>;
809
+ SpendExpired: GenericPalletError;
810
810
  /**
811
811
  * The spend is not yet eligible for payout.
812
812
  **/
813
- EarlyPayout: GenericPalletError<Rv>;
813
+ EarlyPayout: GenericPalletError;
814
814
  /**
815
815
  * The payment has already been attempted.
816
816
  **/
817
- AlreadyAttempted: GenericPalletError<Rv>;
817
+ AlreadyAttempted: GenericPalletError;
818
818
  /**
819
819
  * There was some issue with the mechanism of payment.
820
820
  **/
821
- PayoutError: GenericPalletError<Rv>;
821
+ PayoutError: GenericPalletError;
822
822
  /**
823
823
  * The payout was not yet attempted/claimed.
824
824
  **/
825
- NotAttempted: GenericPalletError<Rv>;
825
+ NotAttempted: GenericPalletError;
826
826
  /**
827
827
  * The payment has neither failed nor succeeded yet.
828
828
  **/
829
- Inconclusive: GenericPalletError<Rv>;
829
+ Inconclusive: GenericPalletError;
830
830
  /**
831
831
  * Generic pallet error
832
832
  **/
833
- [error: string]: GenericPalletError<Rv>;
833
+ [error: string]: GenericPalletError;
834
834
  };
835
835
  /**
836
836
  * Pallet `AssetRate`'s errors
@@ -839,19 +839,19 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
839
839
  /**
840
840
  * The given asset ID is unknown.
841
841
  **/
842
- UnknownAssetKind: GenericPalletError<Rv>;
842
+ UnknownAssetKind: GenericPalletError;
843
843
  /**
844
844
  * The given asset ID already has an assigned conversion rate and cannot be re-created.
845
845
  **/
846
- AlreadyExists: GenericPalletError<Rv>;
846
+ AlreadyExists: GenericPalletError;
847
847
  /**
848
848
  * Overflow ocurred when calculating the inverse rate.
849
849
  **/
850
- Overflow: GenericPalletError<Rv>;
850
+ Overflow: GenericPalletError;
851
851
  /**
852
852
  * Generic pallet error
853
853
  **/
854
- [error: string]: GenericPalletError<Rv>;
854
+ [error: string]: GenericPalletError;
855
855
  };
856
856
  /**
857
857
  * Pallet `Contracts`'s errors
@@ -860,129 +860,129 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
860
860
  /**
861
861
  * Invalid schedule supplied, e.g. with zero weight of a basic operation.
862
862
  **/
863
- InvalidSchedule: GenericPalletError<Rv>;
863
+ InvalidSchedule: GenericPalletError;
864
864
  /**
865
865
  * Invalid combination of flags supplied to `seal_call` or `seal_delegate_call`.
866
866
  **/
867
- InvalidCallFlags: GenericPalletError<Rv>;
867
+ InvalidCallFlags: GenericPalletError;
868
868
  /**
869
869
  * The executed contract exhausted its gas limit.
870
870
  **/
871
- OutOfGas: GenericPalletError<Rv>;
871
+ OutOfGas: GenericPalletError;
872
872
  /**
873
873
  * The output buffer supplied to a contract API call was too small.
874
874
  **/
875
- OutputBufferTooSmall: GenericPalletError<Rv>;
875
+ OutputBufferTooSmall: GenericPalletError;
876
876
  /**
877
877
  * Performing the requested transfer failed. Probably because there isn't enough
878
878
  * free balance in the sender's account.
879
879
  **/
880
- TransferFailed: GenericPalletError<Rv>;
880
+ TransferFailed: GenericPalletError;
881
881
  /**
882
882
  * Performing a call was denied because the calling depth reached the limit
883
883
  * of what is specified in the schedule.
884
884
  **/
885
- MaxCallDepthReached: GenericPalletError<Rv>;
885
+ MaxCallDepthReached: GenericPalletError;
886
886
  /**
887
887
  * No contract was found at the specified address.
888
888
  **/
889
- ContractNotFound: GenericPalletError<Rv>;
889
+ ContractNotFound: GenericPalletError;
890
890
  /**
891
891
  * The code supplied to `instantiate_with_code` exceeds the limit specified in the
892
892
  * current schedule.
893
893
  **/
894
- CodeTooLarge: GenericPalletError<Rv>;
894
+ CodeTooLarge: GenericPalletError;
895
895
  /**
896
896
  * No code could be found at the supplied code hash.
897
897
  **/
898
- CodeNotFound: GenericPalletError<Rv>;
898
+ CodeNotFound: GenericPalletError;
899
899
  /**
900
900
  * No code info could be found at the supplied code hash.
901
901
  **/
902
- CodeInfoNotFound: GenericPalletError<Rv>;
902
+ CodeInfoNotFound: GenericPalletError;
903
903
  /**
904
904
  * A buffer outside of sandbox memory was passed to a contract API function.
905
905
  **/
906
- OutOfBounds: GenericPalletError<Rv>;
906
+ OutOfBounds: GenericPalletError;
907
907
  /**
908
908
  * Input passed to a contract API function failed to decode as expected type.
909
909
  **/
910
- DecodingFailed: GenericPalletError<Rv>;
910
+ DecodingFailed: GenericPalletError;
911
911
  /**
912
912
  * Contract trapped during execution.
913
913
  **/
914
- ContractTrapped: GenericPalletError<Rv>;
914
+ ContractTrapped: GenericPalletError;
915
915
  /**
916
916
  * The size defined in `T::MaxValueSize` was exceeded.
917
917
  **/
918
- ValueTooLarge: GenericPalletError<Rv>;
918
+ ValueTooLarge: GenericPalletError;
919
919
  /**
920
920
  * Termination of a contract is not allowed while the contract is already
921
921
  * on the call stack. Can be triggered by `seal_terminate`.
922
922
  **/
923
- TerminatedWhileReentrant: GenericPalletError<Rv>;
923
+ TerminatedWhileReentrant: GenericPalletError;
924
924
  /**
925
925
  * `seal_call` forwarded this contracts input. It therefore is no longer available.
926
926
  **/
927
- InputForwarded: GenericPalletError<Rv>;
927
+ InputForwarded: GenericPalletError;
928
928
  /**
929
929
  * The subject passed to `seal_random` exceeds the limit.
930
930
  **/
931
- RandomSubjectTooLong: GenericPalletError<Rv>;
931
+ RandomSubjectTooLong: GenericPalletError;
932
932
  /**
933
933
  * The amount of topics passed to `seal_deposit_events` exceeds the limit.
934
934
  **/
935
- TooManyTopics: GenericPalletError<Rv>;
935
+ TooManyTopics: GenericPalletError;
936
936
  /**
937
937
  * The chain does not provide a chain extension. Calling the chain extension results
938
938
  * in this error. Note that this usually shouldn't happen as deploying such contracts
939
939
  * is rejected.
940
940
  **/
941
- NoChainExtension: GenericPalletError<Rv>;
941
+ NoChainExtension: GenericPalletError;
942
942
  /**
943
943
  * Failed to decode the XCM program.
944
944
  **/
945
- XcmDecodeFailed: GenericPalletError<Rv>;
945
+ XcmDecodeFailed: GenericPalletError;
946
946
  /**
947
947
  * A contract with the same AccountId already exists.
948
948
  **/
949
- DuplicateContract: GenericPalletError<Rv>;
949
+ DuplicateContract: GenericPalletError;
950
950
  /**
951
951
  * A contract self destructed in its constructor.
952
952
  *
953
953
  * This can be triggered by a call to `seal_terminate`.
954
954
  **/
955
- TerminatedInConstructor: GenericPalletError<Rv>;
955
+ TerminatedInConstructor: GenericPalletError;
956
956
  /**
957
957
  * A call tried to invoke a contract that is flagged as non-reentrant.
958
958
  * The only other cause is that a call from a contract into the runtime tried to call back
959
959
  * into `pallet-contracts`. This would make the whole pallet reentrant with regard to
960
960
  * contract code execution which is not supported.
961
961
  **/
962
- ReentranceDenied: GenericPalletError<Rv>;
962
+ ReentranceDenied: GenericPalletError;
963
963
  /**
964
964
  * A contract attempted to invoke a state modifying API while being in read-only mode.
965
965
  **/
966
- StateChangeDenied: GenericPalletError<Rv>;
966
+ StateChangeDenied: GenericPalletError;
967
967
  /**
968
968
  * Origin doesn't have enough balance to pay the required storage deposits.
969
969
  **/
970
- StorageDepositNotEnoughFunds: GenericPalletError<Rv>;
970
+ StorageDepositNotEnoughFunds: GenericPalletError;
971
971
  /**
972
972
  * More storage was created than allowed by the storage deposit limit.
973
973
  **/
974
- StorageDepositLimitExhausted: GenericPalletError<Rv>;
974
+ StorageDepositLimitExhausted: GenericPalletError;
975
975
  /**
976
976
  * Code removal was denied because the code is still in use by at least one contract.
977
977
  **/
978
- CodeInUse: GenericPalletError<Rv>;
978
+ CodeInUse: GenericPalletError;
979
979
  /**
980
980
  * The contract ran to completion but decided to revert its storage changes.
981
981
  * Please note that this error is only returned from extrinsics. When called directly
982
982
  * or via RPC an `Ok` will be returned. In this case the caller needs to inspect the flags
983
983
  * to determine whether a reversion has taken place.
984
984
  **/
985
- ContractReverted: GenericPalletError<Rv>;
985
+ ContractReverted: GenericPalletError;
986
986
  /**
987
987
  * The contract's code was found to be invalid during validation.
988
988
  *
@@ -993,43 +993,43 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
993
993
  * A more detailed error can be found on the node console if debug messages are enabled
994
994
  * by supplying `-lruntime::contracts=debug`.
995
995
  **/
996
- CodeRejected: GenericPalletError<Rv>;
996
+ CodeRejected: GenericPalletError;
997
997
  /**
998
998
  * An indeterministic code was used in a context where this is not permitted.
999
999
  **/
1000
- Indeterministic: GenericPalletError<Rv>;
1000
+ Indeterministic: GenericPalletError;
1001
1001
  /**
1002
1002
  * A pending migration needs to complete before the extrinsic can be called.
1003
1003
  **/
1004
- MigrationInProgress: GenericPalletError<Rv>;
1004
+ MigrationInProgress: GenericPalletError;
1005
1005
  /**
1006
1006
  * Migrate dispatch call was attempted but no migration was performed.
1007
1007
  **/
1008
- NoMigrationPerformed: GenericPalletError<Rv>;
1008
+ NoMigrationPerformed: GenericPalletError;
1009
1009
  /**
1010
1010
  * The contract has reached its maximum number of delegate dependencies.
1011
1011
  **/
1012
- MaxDelegateDependenciesReached: GenericPalletError<Rv>;
1012
+ MaxDelegateDependenciesReached: GenericPalletError;
1013
1013
  /**
1014
1014
  * The dependency was not found in the contract's delegate dependencies.
1015
1015
  **/
1016
- DelegateDependencyNotFound: GenericPalletError<Rv>;
1016
+ DelegateDependencyNotFound: GenericPalletError;
1017
1017
  /**
1018
1018
  * The contract already depends on the given delegate dependency.
1019
1019
  **/
1020
- DelegateDependencyAlreadyExists: GenericPalletError<Rv>;
1020
+ DelegateDependencyAlreadyExists: GenericPalletError;
1021
1021
  /**
1022
1022
  * Can not add a delegate dependency to the code hash of the contract itself.
1023
1023
  **/
1024
- CannotAddSelfAsDelegateDependency: GenericPalletError<Rv>;
1024
+ CannotAddSelfAsDelegateDependency: GenericPalletError;
1025
1025
  /**
1026
1026
  * Can not add more data to transient storage.
1027
1027
  **/
1028
- OutOfTransientStorage: GenericPalletError<Rv>;
1028
+ OutOfTransientStorage: GenericPalletError;
1029
1029
  /**
1030
1030
  * Generic pallet error
1031
1031
  **/
1032
- [error: string]: GenericPalletError<Rv>;
1032
+ [error: string]: GenericPalletError;
1033
1033
  };
1034
1034
  /**
1035
1035
  * Pallet `Sudo`'s errors
@@ -1038,11 +1038,11 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1038
1038
  /**
1039
1039
  * Sender must be the Sudo account.
1040
1040
  **/
1041
- RequireSudo: GenericPalletError<Rv>;
1041
+ RequireSudo: GenericPalletError;
1042
1042
  /**
1043
1043
  * Generic pallet error
1044
1044
  **/
1045
- [error: string]: GenericPalletError<Rv>;
1045
+ [error: string]: GenericPalletError;
1046
1046
  };
1047
1047
  /**
1048
1048
  * Pallet `ImOnline`'s errors
@@ -1051,15 +1051,15 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1051
1051
  /**
1052
1052
  * Non existent public key.
1053
1053
  **/
1054
- InvalidKey: GenericPalletError<Rv>;
1054
+ InvalidKey: GenericPalletError;
1055
1055
  /**
1056
1056
  * Duplicated heartbeat.
1057
1057
  **/
1058
- DuplicatedHeartbeat: GenericPalletError<Rv>;
1058
+ DuplicatedHeartbeat: GenericPalletError;
1059
1059
  /**
1060
1060
  * Generic pallet error
1061
1061
  **/
1062
- [error: string]: GenericPalletError<Rv>;
1062
+ [error: string]: GenericPalletError;
1063
1063
  };
1064
1064
  /**
1065
1065
  * Pallet `Identity`'s errors
@@ -1068,128 +1068,128 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1068
1068
  /**
1069
1069
  * Too many subs-accounts.
1070
1070
  **/
1071
- TooManySubAccounts: GenericPalletError<Rv>;
1071
+ TooManySubAccounts: GenericPalletError;
1072
1072
  /**
1073
1073
  * Account isn't found.
1074
1074
  **/
1075
- NotFound: GenericPalletError<Rv>;
1075
+ NotFound: GenericPalletError;
1076
1076
  /**
1077
1077
  * Account isn't named.
1078
1078
  **/
1079
- NotNamed: GenericPalletError<Rv>;
1079
+ NotNamed: GenericPalletError;
1080
1080
  /**
1081
1081
  * Empty index.
1082
1082
  **/
1083
- EmptyIndex: GenericPalletError<Rv>;
1083
+ EmptyIndex: GenericPalletError;
1084
1084
  /**
1085
1085
  * Fee is changed.
1086
1086
  **/
1087
- FeeChanged: GenericPalletError<Rv>;
1087
+ FeeChanged: GenericPalletError;
1088
1088
  /**
1089
1089
  * No identity found.
1090
1090
  **/
1091
- NoIdentity: GenericPalletError<Rv>;
1091
+ NoIdentity: GenericPalletError;
1092
1092
  /**
1093
1093
  * Sticky judgement.
1094
1094
  **/
1095
- StickyJudgement: GenericPalletError<Rv>;
1095
+ StickyJudgement: GenericPalletError;
1096
1096
  /**
1097
1097
  * Judgement given.
1098
1098
  **/
1099
- JudgementGiven: GenericPalletError<Rv>;
1099
+ JudgementGiven: GenericPalletError;
1100
1100
  /**
1101
1101
  * Invalid judgement.
1102
1102
  **/
1103
- InvalidJudgement: GenericPalletError<Rv>;
1103
+ InvalidJudgement: GenericPalletError;
1104
1104
  /**
1105
1105
  * The index is invalid.
1106
1106
  **/
1107
- InvalidIndex: GenericPalletError<Rv>;
1107
+ InvalidIndex: GenericPalletError;
1108
1108
  /**
1109
1109
  * The target is invalid.
1110
1110
  **/
1111
- InvalidTarget: GenericPalletError<Rv>;
1111
+ InvalidTarget: GenericPalletError;
1112
1112
  /**
1113
1113
  * Maximum amount of registrars reached. Cannot add any more.
1114
1114
  **/
1115
- TooManyRegistrars: GenericPalletError<Rv>;
1115
+ TooManyRegistrars: GenericPalletError;
1116
1116
  /**
1117
1117
  * Account ID is already named.
1118
1118
  **/
1119
- AlreadyClaimed: GenericPalletError<Rv>;
1119
+ AlreadyClaimed: GenericPalletError;
1120
1120
  /**
1121
1121
  * Sender is not a sub-account.
1122
1122
  **/
1123
- NotSub: GenericPalletError<Rv>;
1123
+ NotSub: GenericPalletError;
1124
1124
  /**
1125
1125
  * Sub-account isn't owned by sender.
1126
1126
  **/
1127
- NotOwned: GenericPalletError<Rv>;
1127
+ NotOwned: GenericPalletError;
1128
1128
  /**
1129
1129
  * The provided judgement was for a different identity.
1130
1130
  **/
1131
- JudgementForDifferentIdentity: GenericPalletError<Rv>;
1131
+ JudgementForDifferentIdentity: GenericPalletError;
1132
1132
  /**
1133
1133
  * Error that occurs when there is an issue paying for judgement.
1134
1134
  **/
1135
- JudgementPaymentFailed: GenericPalletError<Rv>;
1135
+ JudgementPaymentFailed: GenericPalletError;
1136
1136
  /**
1137
1137
  * The provided suffix is too long.
1138
1138
  **/
1139
- InvalidSuffix: GenericPalletError<Rv>;
1139
+ InvalidSuffix: GenericPalletError;
1140
1140
  /**
1141
1141
  * The sender does not have permission to issue a username.
1142
1142
  **/
1143
- NotUsernameAuthority: GenericPalletError<Rv>;
1143
+ NotUsernameAuthority: GenericPalletError;
1144
1144
  /**
1145
1145
  * The authority cannot allocate any more usernames.
1146
1146
  **/
1147
- NoAllocation: GenericPalletError<Rv>;
1147
+ NoAllocation: GenericPalletError;
1148
1148
  /**
1149
1149
  * The signature on a username was not valid.
1150
1150
  **/
1151
- InvalidSignature: GenericPalletError<Rv>;
1151
+ InvalidSignature: GenericPalletError;
1152
1152
  /**
1153
1153
  * Setting this username requires a signature, but none was provided.
1154
1154
  **/
1155
- RequiresSignature: GenericPalletError<Rv>;
1155
+ RequiresSignature: GenericPalletError;
1156
1156
  /**
1157
1157
  * The username does not meet the requirements.
1158
1158
  **/
1159
- InvalidUsername: GenericPalletError<Rv>;
1159
+ InvalidUsername: GenericPalletError;
1160
1160
  /**
1161
1161
  * The username is already taken.
1162
1162
  **/
1163
- UsernameTaken: GenericPalletError<Rv>;
1163
+ UsernameTaken: GenericPalletError;
1164
1164
  /**
1165
1165
  * The requested username does not exist.
1166
1166
  **/
1167
- NoUsername: GenericPalletError<Rv>;
1167
+ NoUsername: GenericPalletError;
1168
1168
  /**
1169
1169
  * The username cannot be forcefully removed because it can still be accepted.
1170
1170
  **/
1171
- NotExpired: GenericPalletError<Rv>;
1171
+ NotExpired: GenericPalletError;
1172
1172
  /**
1173
1173
  * The username cannot be removed because it's still in the grace period.
1174
1174
  **/
1175
- TooEarly: GenericPalletError<Rv>;
1175
+ TooEarly: GenericPalletError;
1176
1176
  /**
1177
1177
  * The username cannot be removed because it is not unbinding.
1178
1178
  **/
1179
- NotUnbinding: GenericPalletError<Rv>;
1179
+ NotUnbinding: GenericPalletError;
1180
1180
  /**
1181
1181
  * The username cannot be unbound because it is already unbinding.
1182
1182
  **/
1183
- AlreadyUnbinding: GenericPalletError<Rv>;
1183
+ AlreadyUnbinding: GenericPalletError;
1184
1184
  /**
1185
1185
  * The action cannot be performed because of insufficient privileges (e.g. authority
1186
1186
  * trying to unbind a username provided by the system).
1187
1187
  **/
1188
- InsufficientPrivileges: GenericPalletError<Rv>;
1188
+ InsufficientPrivileges: GenericPalletError;
1189
1189
  /**
1190
1190
  * Generic pallet error
1191
1191
  **/
1192
- [error: string]: GenericPalletError<Rv>;
1192
+ [error: string]: GenericPalletError;
1193
1193
  };
1194
1194
  /**
1195
1195
  * Pallet `Society`'s errors
@@ -1198,135 +1198,135 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1198
1198
  /**
1199
1199
  * User is not a member.
1200
1200
  **/
1201
- NotMember: GenericPalletError<Rv>;
1201
+ NotMember: GenericPalletError;
1202
1202
  /**
1203
1203
  * User is already a member.
1204
1204
  **/
1205
- AlreadyMember: GenericPalletError<Rv>;
1205
+ AlreadyMember: GenericPalletError;
1206
1206
  /**
1207
1207
  * User is suspended.
1208
1208
  **/
1209
- Suspended: GenericPalletError<Rv>;
1209
+ Suspended: GenericPalletError;
1210
1210
  /**
1211
1211
  * User is not suspended.
1212
1212
  **/
1213
- NotSuspended: GenericPalletError<Rv>;
1213
+ NotSuspended: GenericPalletError;
1214
1214
  /**
1215
1215
  * Nothing to payout.
1216
1216
  **/
1217
- NoPayout: GenericPalletError<Rv>;
1217
+ NoPayout: GenericPalletError;
1218
1218
  /**
1219
1219
  * Society already founded.
1220
1220
  **/
1221
- AlreadyFounded: GenericPalletError<Rv>;
1221
+ AlreadyFounded: GenericPalletError;
1222
1222
  /**
1223
1223
  * Not enough in pot to accept candidate.
1224
1224
  **/
1225
- InsufficientPot: GenericPalletError<Rv>;
1225
+ InsufficientPot: GenericPalletError;
1226
1226
  /**
1227
1227
  * Member is already vouching or banned from vouching again.
1228
1228
  **/
1229
- AlreadyVouching: GenericPalletError<Rv>;
1229
+ AlreadyVouching: GenericPalletError;
1230
1230
  /**
1231
1231
  * Member is not vouching.
1232
1232
  **/
1233
- NotVouchingOnBidder: GenericPalletError<Rv>;
1233
+ NotVouchingOnBidder: GenericPalletError;
1234
1234
  /**
1235
1235
  * Cannot remove the head of the chain.
1236
1236
  **/
1237
- Head: GenericPalletError<Rv>;
1237
+ Head: GenericPalletError;
1238
1238
  /**
1239
1239
  * Cannot remove the founder.
1240
1240
  **/
1241
- Founder: GenericPalletError<Rv>;
1241
+ Founder: GenericPalletError;
1242
1242
  /**
1243
1243
  * User has already made a bid.
1244
1244
  **/
1245
- AlreadyBid: GenericPalletError<Rv>;
1245
+ AlreadyBid: GenericPalletError;
1246
1246
  /**
1247
1247
  * User is already a candidate.
1248
1248
  **/
1249
- AlreadyCandidate: GenericPalletError<Rv>;
1249
+ AlreadyCandidate: GenericPalletError;
1250
1250
  /**
1251
1251
  * User is not a candidate.
1252
1252
  **/
1253
- NotCandidate: GenericPalletError<Rv>;
1253
+ NotCandidate: GenericPalletError;
1254
1254
  /**
1255
1255
  * Too many members in the society.
1256
1256
  **/
1257
- MaxMembers: GenericPalletError<Rv>;
1257
+ MaxMembers: GenericPalletError;
1258
1258
  /**
1259
1259
  * The caller is not the founder.
1260
1260
  **/
1261
- NotFounder: GenericPalletError<Rv>;
1261
+ NotFounder: GenericPalletError;
1262
1262
  /**
1263
1263
  * The caller is not the head.
1264
1264
  **/
1265
- NotHead: GenericPalletError<Rv>;
1265
+ NotHead: GenericPalletError;
1266
1266
  /**
1267
1267
  * The membership cannot be claimed as the candidate was not clearly approved.
1268
1268
  **/
1269
- NotApproved: GenericPalletError<Rv>;
1269
+ NotApproved: GenericPalletError;
1270
1270
  /**
1271
1271
  * The candidate cannot be kicked as the candidate was not clearly rejected.
1272
1272
  **/
1273
- NotRejected: GenericPalletError<Rv>;
1273
+ NotRejected: GenericPalletError;
1274
1274
  /**
1275
1275
  * The candidacy cannot be dropped as the candidate was clearly approved.
1276
1276
  **/
1277
- Approved: GenericPalletError<Rv>;
1277
+ Approved: GenericPalletError;
1278
1278
  /**
1279
1279
  * The candidacy cannot be bestowed as the candidate was clearly rejected.
1280
1280
  **/
1281
- Rejected: GenericPalletError<Rv>;
1281
+ Rejected: GenericPalletError;
1282
1282
  /**
1283
1283
  * The candidacy cannot be concluded as the voting is still in progress.
1284
1284
  **/
1285
- InProgress: GenericPalletError<Rv>;
1285
+ InProgress: GenericPalletError;
1286
1286
  /**
1287
1287
  * The candidacy cannot be pruned until a full additional intake period has passed.
1288
1288
  **/
1289
- TooEarly: GenericPalletError<Rv>;
1289
+ TooEarly: GenericPalletError;
1290
1290
  /**
1291
1291
  * The skeptic already voted.
1292
1292
  **/
1293
- Voted: GenericPalletError<Rv>;
1293
+ Voted: GenericPalletError;
1294
1294
  /**
1295
1295
  * The skeptic need not vote on candidates from expired rounds.
1296
1296
  **/
1297
- Expired: GenericPalletError<Rv>;
1297
+ Expired: GenericPalletError;
1298
1298
  /**
1299
1299
  * User is not a bidder.
1300
1300
  **/
1301
- NotBidder: GenericPalletError<Rv>;
1301
+ NotBidder: GenericPalletError;
1302
1302
  /**
1303
1303
  * There is no defender currently.
1304
1304
  **/
1305
- NoDefender: GenericPalletError<Rv>;
1305
+ NoDefender: GenericPalletError;
1306
1306
  /**
1307
1307
  * Group doesn't exist.
1308
1308
  **/
1309
- NotGroup: GenericPalletError<Rv>;
1309
+ NotGroup: GenericPalletError;
1310
1310
  /**
1311
1311
  * The member is already elevated to this rank.
1312
1312
  **/
1313
- AlreadyElevated: GenericPalletError<Rv>;
1313
+ AlreadyElevated: GenericPalletError;
1314
1314
  /**
1315
1315
  * The skeptic has already been punished for this offence.
1316
1316
  **/
1317
- AlreadyPunished: GenericPalletError<Rv>;
1317
+ AlreadyPunished: GenericPalletError;
1318
1318
  /**
1319
1319
  * Funds are insufficient to pay off society debts.
1320
1320
  **/
1321
- InsufficientFunds: GenericPalletError<Rv>;
1321
+ InsufficientFunds: GenericPalletError;
1322
1322
  /**
1323
1323
  * The candidate/defender has no stale votes to remove.
1324
1324
  **/
1325
- NoVotes: GenericPalletError<Rv>;
1325
+ NoVotes: GenericPalletError;
1326
1326
  /**
1327
1327
  * Generic pallet error
1328
1328
  **/
1329
- [error: string]: GenericPalletError<Rv>;
1329
+ [error: string]: GenericPalletError;
1330
1330
  };
1331
1331
  /**
1332
1332
  * Pallet `Recovery`'s errors
@@ -1335,71 +1335,71 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1335
1335
  /**
1336
1336
  * User is not allowed to make a call on behalf of this account
1337
1337
  **/
1338
- NotAllowed: GenericPalletError<Rv>;
1338
+ NotAllowed: GenericPalletError;
1339
1339
  /**
1340
1340
  * Threshold must be greater than zero
1341
1341
  **/
1342
- ZeroThreshold: GenericPalletError<Rv>;
1342
+ ZeroThreshold: GenericPalletError;
1343
1343
  /**
1344
1344
  * Friends list must be greater than zero and threshold
1345
1345
  **/
1346
- NotEnoughFriends: GenericPalletError<Rv>;
1346
+ NotEnoughFriends: GenericPalletError;
1347
1347
  /**
1348
1348
  * Friends list must be less than max friends
1349
1349
  **/
1350
- MaxFriends: GenericPalletError<Rv>;
1350
+ MaxFriends: GenericPalletError;
1351
1351
  /**
1352
1352
  * Friends list must be sorted and free of duplicates
1353
1353
  **/
1354
- NotSorted: GenericPalletError<Rv>;
1354
+ NotSorted: GenericPalletError;
1355
1355
  /**
1356
1356
  * This account is not set up for recovery
1357
1357
  **/
1358
- NotRecoverable: GenericPalletError<Rv>;
1358
+ NotRecoverable: GenericPalletError;
1359
1359
  /**
1360
1360
  * This account is already set up for recovery
1361
1361
  **/
1362
- AlreadyRecoverable: GenericPalletError<Rv>;
1362
+ AlreadyRecoverable: GenericPalletError;
1363
1363
  /**
1364
1364
  * A recovery process has already started for this account
1365
1365
  **/
1366
- AlreadyStarted: GenericPalletError<Rv>;
1366
+ AlreadyStarted: GenericPalletError;
1367
1367
  /**
1368
1368
  * A recovery process has not started for this rescuer
1369
1369
  **/
1370
- NotStarted: GenericPalletError<Rv>;
1370
+ NotStarted: GenericPalletError;
1371
1371
  /**
1372
1372
  * This account is not a friend who can vouch
1373
1373
  **/
1374
- NotFriend: GenericPalletError<Rv>;
1374
+ NotFriend: GenericPalletError;
1375
1375
  /**
1376
1376
  * The friend must wait until the delay period to vouch for this recovery
1377
1377
  **/
1378
- DelayPeriod: GenericPalletError<Rv>;
1378
+ DelayPeriod: GenericPalletError;
1379
1379
  /**
1380
1380
  * This user has already vouched for this recovery
1381
1381
  **/
1382
- AlreadyVouched: GenericPalletError<Rv>;
1382
+ AlreadyVouched: GenericPalletError;
1383
1383
  /**
1384
1384
  * The threshold for recovering this account has not been met
1385
1385
  **/
1386
- Threshold: GenericPalletError<Rv>;
1386
+ Threshold: GenericPalletError;
1387
1387
  /**
1388
1388
  * There are still active recovery attempts that need to be closed
1389
1389
  **/
1390
- StillActive: GenericPalletError<Rv>;
1390
+ StillActive: GenericPalletError;
1391
1391
  /**
1392
1392
  * This account is already set up for recovery
1393
1393
  **/
1394
- AlreadyProxy: GenericPalletError<Rv>;
1394
+ AlreadyProxy: GenericPalletError;
1395
1395
  /**
1396
1396
  * Some internal state is broken.
1397
1397
  **/
1398
- BadState: GenericPalletError<Rv>;
1398
+ BadState: GenericPalletError;
1399
1399
  /**
1400
1400
  * Generic pallet error
1401
1401
  **/
1402
- [error: string]: GenericPalletError<Rv>;
1402
+ [error: string]: GenericPalletError;
1403
1403
  };
1404
1404
  /**
1405
1405
  * Pallet `Vesting`'s errors
@@ -1408,28 +1408,28 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1408
1408
  /**
1409
1409
  * The account given is not vesting.
1410
1410
  **/
1411
- NotVesting: GenericPalletError<Rv>;
1411
+ NotVesting: GenericPalletError;
1412
1412
  /**
1413
1413
  * The account already has `MaxVestingSchedules` count of schedules and thus
1414
1414
  * cannot add another one. Consider merging existing schedules in order to add another.
1415
1415
  **/
1416
- AtMaxVestingSchedules: GenericPalletError<Rv>;
1416
+ AtMaxVestingSchedules: GenericPalletError;
1417
1417
  /**
1418
1418
  * Amount being transferred is too low to create a vesting schedule.
1419
1419
  **/
1420
- AmountLow: GenericPalletError<Rv>;
1420
+ AmountLow: GenericPalletError;
1421
1421
  /**
1422
1422
  * An index was out of bounds of the vesting schedules.
1423
1423
  **/
1424
- ScheduleIndexOutOfBounds: GenericPalletError<Rv>;
1424
+ ScheduleIndexOutOfBounds: GenericPalletError;
1425
1425
  /**
1426
1426
  * Failed to create a new schedule because some parameter was invalid.
1427
1427
  **/
1428
- InvalidScheduleParams: GenericPalletError<Rv>;
1428
+ InvalidScheduleParams: GenericPalletError;
1429
1429
  /**
1430
1430
  * Generic pallet error
1431
1431
  **/
1432
- [error: string]: GenericPalletError<Rv>;
1432
+ [error: string]: GenericPalletError;
1433
1433
  };
1434
1434
  /**
1435
1435
  * Pallet `Scheduler`'s errors
@@ -1438,27 +1438,27 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1438
1438
  /**
1439
1439
  * Failed to schedule a call
1440
1440
  **/
1441
- FailedToSchedule: GenericPalletError<Rv>;
1441
+ FailedToSchedule: GenericPalletError;
1442
1442
  /**
1443
1443
  * Cannot find the scheduled call.
1444
1444
  **/
1445
- NotFound: GenericPalletError<Rv>;
1445
+ NotFound: GenericPalletError;
1446
1446
  /**
1447
1447
  * Given target block number is in the past.
1448
1448
  **/
1449
- TargetBlockNumberInPast: GenericPalletError<Rv>;
1449
+ TargetBlockNumberInPast: GenericPalletError;
1450
1450
  /**
1451
1451
  * Reschedule failed because it does not change scheduled time.
1452
1452
  **/
1453
- RescheduleNoChange: GenericPalletError<Rv>;
1453
+ RescheduleNoChange: GenericPalletError;
1454
1454
  /**
1455
1455
  * Attempt to use a non-named function on a named task.
1456
1456
  **/
1457
- Named: GenericPalletError<Rv>;
1457
+ Named: GenericPalletError;
1458
1458
  /**
1459
1459
  * Generic pallet error
1460
1460
  **/
1461
- [error: string]: GenericPalletError<Rv>;
1461
+ [error: string]: GenericPalletError;
1462
1462
  };
1463
1463
  /**
1464
1464
  * Pallet `Glutton`'s errors
@@ -1469,15 +1469,15 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1469
1469
  *
1470
1470
  * Set `witness_count` to `Some` to bypass this error.
1471
1471
  **/
1472
- AlreadyInitialized: GenericPalletError<Rv>;
1472
+ AlreadyInitialized: GenericPalletError;
1473
1473
  /**
1474
1474
  * The limit was over [`crate::RESOURCE_HARD_LIMIT`].
1475
1475
  **/
1476
- InsaneLimit: GenericPalletError<Rv>;
1476
+ InsaneLimit: GenericPalletError;
1477
1477
  /**
1478
1478
  * Generic pallet error
1479
1479
  **/
1480
- [error: string]: GenericPalletError<Rv>;
1480
+ [error: string]: GenericPalletError;
1481
1481
  };
1482
1482
  /**
1483
1483
  * Pallet `Preimage`'s errors
@@ -1486,39 +1486,39 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1486
1486
  /**
1487
1487
  * Preimage is too large to store on-chain.
1488
1488
  **/
1489
- TooBig: GenericPalletError<Rv>;
1489
+ TooBig: GenericPalletError;
1490
1490
  /**
1491
1491
  * Preimage has already been noted on-chain.
1492
1492
  **/
1493
- AlreadyNoted: GenericPalletError<Rv>;
1493
+ AlreadyNoted: GenericPalletError;
1494
1494
  /**
1495
1495
  * The user is not authorized to perform this action.
1496
1496
  **/
1497
- NotAuthorized: GenericPalletError<Rv>;
1497
+ NotAuthorized: GenericPalletError;
1498
1498
  /**
1499
1499
  * The preimage cannot be removed since it has not yet been noted.
1500
1500
  **/
1501
- NotNoted: GenericPalletError<Rv>;
1501
+ NotNoted: GenericPalletError;
1502
1502
  /**
1503
1503
  * A preimage may not be removed when there are outstanding requests.
1504
1504
  **/
1505
- Requested: GenericPalletError<Rv>;
1505
+ Requested: GenericPalletError;
1506
1506
  /**
1507
1507
  * The preimage request cannot be removed since no outstanding requests exist.
1508
1508
  **/
1509
- NotRequested: GenericPalletError<Rv>;
1509
+ NotRequested: GenericPalletError;
1510
1510
  /**
1511
1511
  * More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once.
1512
1512
  **/
1513
- TooMany: GenericPalletError<Rv>;
1513
+ TooMany: GenericPalletError;
1514
1514
  /**
1515
1515
  * Too few hashes were requested to be upgraded (i.e. zero).
1516
1516
  **/
1517
- TooFew: GenericPalletError<Rv>;
1517
+ TooFew: GenericPalletError;
1518
1518
  /**
1519
1519
  * Generic pallet error
1520
1520
  **/
1521
- [error: string]: GenericPalletError<Rv>;
1521
+ [error: string]: GenericPalletError;
1522
1522
  };
1523
1523
  /**
1524
1524
  * Pallet `Proxy`'s errors
@@ -1527,39 +1527,39 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1527
1527
  /**
1528
1528
  * There are too many proxies registered or too many announcements pending.
1529
1529
  **/
1530
- TooMany: GenericPalletError<Rv>;
1530
+ TooMany: GenericPalletError;
1531
1531
  /**
1532
1532
  * Proxy registration not found.
1533
1533
  **/
1534
- NotFound: GenericPalletError<Rv>;
1534
+ NotFound: GenericPalletError;
1535
1535
  /**
1536
1536
  * Sender is not a proxy of the account to be proxied.
1537
1537
  **/
1538
- NotProxy: GenericPalletError<Rv>;
1538
+ NotProxy: GenericPalletError;
1539
1539
  /**
1540
1540
  * A call which is incompatible with the proxy type's filter was attempted.
1541
1541
  **/
1542
- Unproxyable: GenericPalletError<Rv>;
1542
+ Unproxyable: GenericPalletError;
1543
1543
  /**
1544
1544
  * Account is already a proxy.
1545
1545
  **/
1546
- Duplicate: GenericPalletError<Rv>;
1546
+ Duplicate: GenericPalletError;
1547
1547
  /**
1548
1548
  * Call may not be made by proxy because it may escalate its privileges.
1549
1549
  **/
1550
- NoPermission: GenericPalletError<Rv>;
1550
+ NoPermission: GenericPalletError;
1551
1551
  /**
1552
1552
  * Announcement, if made at all, was made too recently.
1553
1553
  **/
1554
- Unannounced: GenericPalletError<Rv>;
1554
+ Unannounced: GenericPalletError;
1555
1555
  /**
1556
1556
  * Cannot add self as proxy.
1557
1557
  **/
1558
- NoSelfProxy: GenericPalletError<Rv>;
1558
+ NoSelfProxy: GenericPalletError;
1559
1559
  /**
1560
1560
  * Generic pallet error
1561
1561
  **/
1562
- [error: string]: GenericPalletError<Rv>;
1562
+ [error: string]: GenericPalletError;
1563
1563
  };
1564
1564
  /**
1565
1565
  * Pallet `Multisig`'s errors
@@ -1568,64 +1568,64 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1568
1568
  /**
1569
1569
  * Threshold must be 2 or greater.
1570
1570
  **/
1571
- MinimumThreshold: GenericPalletError<Rv>;
1571
+ MinimumThreshold: GenericPalletError;
1572
1572
  /**
1573
1573
  * Call is already approved by this signatory.
1574
1574
  **/
1575
- AlreadyApproved: GenericPalletError<Rv>;
1575
+ AlreadyApproved: GenericPalletError;
1576
1576
  /**
1577
1577
  * Call doesn't need any (more) approvals.
1578
1578
  **/
1579
- NoApprovalsNeeded: GenericPalletError<Rv>;
1579
+ NoApprovalsNeeded: GenericPalletError;
1580
1580
  /**
1581
1581
  * There are too few signatories in the list.
1582
1582
  **/
1583
- TooFewSignatories: GenericPalletError<Rv>;
1583
+ TooFewSignatories: GenericPalletError;
1584
1584
  /**
1585
1585
  * There are too many signatories in the list.
1586
1586
  **/
1587
- TooManySignatories: GenericPalletError<Rv>;
1587
+ TooManySignatories: GenericPalletError;
1588
1588
  /**
1589
1589
  * The signatories were provided out of order; they should be ordered.
1590
1590
  **/
1591
- SignatoriesOutOfOrder: GenericPalletError<Rv>;
1591
+ SignatoriesOutOfOrder: GenericPalletError;
1592
1592
  /**
1593
1593
  * The sender was contained in the other signatories; it shouldn't be.
1594
1594
  **/
1595
- SenderInSignatories: GenericPalletError<Rv>;
1595
+ SenderInSignatories: GenericPalletError;
1596
1596
  /**
1597
1597
  * Multisig operation not found in storage.
1598
1598
  **/
1599
- NotFound: GenericPalletError<Rv>;
1599
+ NotFound: GenericPalletError;
1600
1600
  /**
1601
1601
  * Only the account that originally created the multisig is able to cancel it or update
1602
1602
  * its deposits.
1603
1603
  **/
1604
- NotOwner: GenericPalletError<Rv>;
1604
+ NotOwner: GenericPalletError;
1605
1605
  /**
1606
1606
  * No timepoint was given, yet the multisig operation is already underway.
1607
1607
  **/
1608
- NoTimepoint: GenericPalletError<Rv>;
1608
+ NoTimepoint: GenericPalletError;
1609
1609
  /**
1610
1610
  * A different timepoint was given to the multisig operation that is underway.
1611
1611
  **/
1612
- WrongTimepoint: GenericPalletError<Rv>;
1612
+ WrongTimepoint: GenericPalletError;
1613
1613
  /**
1614
1614
  * A timepoint was given, yet no multisig operation is underway.
1615
1615
  **/
1616
- UnexpectedTimepoint: GenericPalletError<Rv>;
1616
+ UnexpectedTimepoint: GenericPalletError;
1617
1617
  /**
1618
1618
  * The maximum weight information provided was too low.
1619
1619
  **/
1620
- MaxWeightTooLow: GenericPalletError<Rv>;
1620
+ MaxWeightTooLow: GenericPalletError;
1621
1621
  /**
1622
1622
  * The data to be stored is already stored.
1623
1623
  **/
1624
- AlreadyStored: GenericPalletError<Rv>;
1624
+ AlreadyStored: GenericPalletError;
1625
1625
  /**
1626
1626
  * Generic pallet error
1627
1627
  **/
1628
- [error: string]: GenericPalletError<Rv>;
1628
+ [error: string]: GenericPalletError;
1629
1629
  };
1630
1630
  /**
1631
1631
  * Pallet `Bounties`'s errors
@@ -1634,52 +1634,52 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1634
1634
  /**
1635
1635
  * Proposer's balance is too low.
1636
1636
  **/
1637
- InsufficientProposersBalance: GenericPalletError<Rv>;
1637
+ InsufficientProposersBalance: GenericPalletError;
1638
1638
  /**
1639
1639
  * No proposal or bounty at that index.
1640
1640
  **/
1641
- InvalidIndex: GenericPalletError<Rv>;
1641
+ InvalidIndex: GenericPalletError;
1642
1642
  /**
1643
1643
  * The reason given is just too big.
1644
1644
  **/
1645
- ReasonTooBig: GenericPalletError<Rv>;
1645
+ ReasonTooBig: GenericPalletError;
1646
1646
  /**
1647
1647
  * The bounty status is unexpected.
1648
1648
  **/
1649
- UnexpectedStatus: GenericPalletError<Rv>;
1649
+ UnexpectedStatus: GenericPalletError;
1650
1650
  /**
1651
1651
  * Require bounty curator.
1652
1652
  **/
1653
- RequireCurator: GenericPalletError<Rv>;
1653
+ RequireCurator: GenericPalletError;
1654
1654
  /**
1655
1655
  * Invalid bounty value.
1656
1656
  **/
1657
- InvalidValue: GenericPalletError<Rv>;
1657
+ InvalidValue: GenericPalletError;
1658
1658
  /**
1659
1659
  * Invalid bounty fee.
1660
1660
  **/
1661
- InvalidFee: GenericPalletError<Rv>;
1661
+ InvalidFee: GenericPalletError;
1662
1662
  /**
1663
1663
  * A bounty payout is pending.
1664
1664
  * To cancel the bounty, you must unassign and slash the curator.
1665
1665
  **/
1666
- PendingPayout: GenericPalletError<Rv>;
1666
+ PendingPayout: GenericPalletError;
1667
1667
  /**
1668
1668
  * The bounties cannot be claimed/closed because it's still in the countdown period.
1669
1669
  **/
1670
- Premature: GenericPalletError<Rv>;
1670
+ Premature: GenericPalletError;
1671
1671
  /**
1672
1672
  * The bounty cannot be closed because it has active child bounties.
1673
1673
  **/
1674
- HasActiveChildBounty: GenericPalletError<Rv>;
1674
+ HasActiveChildBounty: GenericPalletError;
1675
1675
  /**
1676
1676
  * Too many approvals are already queued.
1677
1677
  **/
1678
- TooManyQueued: GenericPalletError<Rv>;
1678
+ TooManyQueued: GenericPalletError;
1679
1679
  /**
1680
1680
  * Generic pallet error
1681
1681
  **/
1682
- [error: string]: GenericPalletError<Rv>;
1682
+ [error: string]: GenericPalletError;
1683
1683
  };
1684
1684
  /**
1685
1685
  * Pallet `Tips`'s errors
@@ -1688,35 +1688,35 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1688
1688
  /**
1689
1689
  * The reason given is just too big.
1690
1690
  **/
1691
- ReasonTooBig: GenericPalletError<Rv>;
1691
+ ReasonTooBig: GenericPalletError;
1692
1692
  /**
1693
1693
  * The tip was already found/started.
1694
1694
  **/
1695
- AlreadyKnown: GenericPalletError<Rv>;
1695
+ AlreadyKnown: GenericPalletError;
1696
1696
  /**
1697
1697
  * The tip hash is unknown.
1698
1698
  **/
1699
- UnknownTip: GenericPalletError<Rv>;
1699
+ UnknownTip: GenericPalletError;
1700
1700
  /**
1701
1701
  * The tip given was too generous.
1702
1702
  **/
1703
- MaxTipAmountExceeded: GenericPalletError<Rv>;
1703
+ MaxTipAmountExceeded: GenericPalletError;
1704
1704
  /**
1705
1705
  * The account attempting to retract the tip is not the finder of the tip.
1706
1706
  **/
1707
- NotFinder: GenericPalletError<Rv>;
1707
+ NotFinder: GenericPalletError;
1708
1708
  /**
1709
1709
  * The tip cannot be claimed/closed because there are not enough tippers yet.
1710
1710
  **/
1711
- StillOpen: GenericPalletError<Rv>;
1711
+ StillOpen: GenericPalletError;
1712
1712
  /**
1713
1713
  * The tip cannot be claimed/closed because it's still in the countdown period.
1714
1714
  **/
1715
- Premature: GenericPalletError<Rv>;
1715
+ Premature: GenericPalletError;
1716
1716
  /**
1717
1717
  * Generic pallet error
1718
1718
  **/
1719
- [error: string]: GenericPalletError<Rv>;
1719
+ [error: string]: GenericPalletError;
1720
1720
  };
1721
1721
  /**
1722
1722
  * Pallet `Assets`'s errors
@@ -1725,102 +1725,102 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1725
1725
  /**
1726
1726
  * Account balance must be greater than or equal to the transfer amount.
1727
1727
  **/
1728
- BalanceLow: GenericPalletError<Rv>;
1728
+ BalanceLow: GenericPalletError;
1729
1729
  /**
1730
1730
  * The account to alter does not exist.
1731
1731
  **/
1732
- NoAccount: GenericPalletError<Rv>;
1732
+ NoAccount: GenericPalletError;
1733
1733
  /**
1734
1734
  * The signing account has no permission to do the operation.
1735
1735
  **/
1736
- NoPermission: GenericPalletError<Rv>;
1736
+ NoPermission: GenericPalletError;
1737
1737
  /**
1738
1738
  * The given asset ID is unknown.
1739
1739
  **/
1740
- Unknown: GenericPalletError<Rv>;
1740
+ Unknown: GenericPalletError;
1741
1741
  /**
1742
1742
  * The origin account is frozen.
1743
1743
  **/
1744
- Frozen: GenericPalletError<Rv>;
1744
+ Frozen: GenericPalletError;
1745
1745
  /**
1746
1746
  * The asset ID is already taken.
1747
1747
  **/
1748
- InUse: GenericPalletError<Rv>;
1748
+ InUse: GenericPalletError;
1749
1749
  /**
1750
1750
  * Invalid witness data given.
1751
1751
  **/
1752
- BadWitness: GenericPalletError<Rv>;
1752
+ BadWitness: GenericPalletError;
1753
1753
  /**
1754
1754
  * Minimum balance should be non-zero.
1755
1755
  **/
1756
- MinBalanceZero: GenericPalletError<Rv>;
1756
+ MinBalanceZero: GenericPalletError;
1757
1757
  /**
1758
1758
  * Unable to increment the consumer reference counters on the account. Either no provider
1759
1759
  * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
1760
1760
  * fewer then the maximum number of consumers has been reached.
1761
1761
  **/
1762
- UnavailableConsumer: GenericPalletError<Rv>;
1762
+ UnavailableConsumer: GenericPalletError;
1763
1763
  /**
1764
1764
  * Invalid metadata given.
1765
1765
  **/
1766
- BadMetadata: GenericPalletError<Rv>;
1766
+ BadMetadata: GenericPalletError;
1767
1767
  /**
1768
1768
  * No approval exists that would allow the transfer.
1769
1769
  **/
1770
- Unapproved: GenericPalletError<Rv>;
1770
+ Unapproved: GenericPalletError;
1771
1771
  /**
1772
1772
  * The source account would not survive the transfer and it needs to stay alive.
1773
1773
  **/
1774
- WouldDie: GenericPalletError<Rv>;
1774
+ WouldDie: GenericPalletError;
1775
1775
  /**
1776
1776
  * The asset-account already exists.
1777
1777
  **/
1778
- AlreadyExists: GenericPalletError<Rv>;
1778
+ AlreadyExists: GenericPalletError;
1779
1779
  /**
1780
1780
  * The asset-account doesn't have an associated deposit.
1781
1781
  **/
1782
- NoDeposit: GenericPalletError<Rv>;
1782
+ NoDeposit: GenericPalletError;
1783
1783
  /**
1784
1784
  * The operation would result in funds being burned.
1785
1785
  **/
1786
- WouldBurn: GenericPalletError<Rv>;
1786
+ WouldBurn: GenericPalletError;
1787
1787
  /**
1788
1788
  * The asset is a live asset and is actively being used. Usually emit for operations such
1789
1789
  * as `start_destroy` which require the asset to be in a destroying state.
1790
1790
  **/
1791
- LiveAsset: GenericPalletError<Rv>;
1791
+ LiveAsset: GenericPalletError;
1792
1792
  /**
1793
1793
  * The asset is not live, and likely being destroyed.
1794
1794
  **/
1795
- AssetNotLive: GenericPalletError<Rv>;
1795
+ AssetNotLive: GenericPalletError;
1796
1796
  /**
1797
1797
  * The asset status is not the expected status.
1798
1798
  **/
1799
- IncorrectStatus: GenericPalletError<Rv>;
1799
+ IncorrectStatus: GenericPalletError;
1800
1800
  /**
1801
1801
  * The asset should be frozen before the given operation.
1802
1802
  **/
1803
- NotFrozen: GenericPalletError<Rv>;
1803
+ NotFrozen: GenericPalletError;
1804
1804
  /**
1805
1805
  * Callback action resulted in error
1806
1806
  **/
1807
- CallbackFailed: GenericPalletError<Rv>;
1807
+ CallbackFailed: GenericPalletError;
1808
1808
  /**
1809
1809
  * The asset ID must be equal to the [`NextAssetId`].
1810
1810
  **/
1811
- BadAssetId: GenericPalletError<Rv>;
1811
+ BadAssetId: GenericPalletError;
1812
1812
  /**
1813
1813
  * The asset cannot be destroyed because some accounts for this asset contain freezes.
1814
1814
  **/
1815
- ContainsFreezes: GenericPalletError<Rv>;
1815
+ ContainsFreezes: GenericPalletError;
1816
1816
  /**
1817
1817
  * The asset cannot be destroyed because some accounts for this asset contain holds.
1818
1818
  **/
1819
- ContainsHolds: GenericPalletError<Rv>;
1819
+ ContainsHolds: GenericPalletError;
1820
1820
  /**
1821
1821
  * Generic pallet error
1822
1822
  **/
1823
- [error: string]: GenericPalletError<Rv>;
1823
+ [error: string]: GenericPalletError;
1824
1824
  };
1825
1825
  /**
1826
1826
  * Pallet `PoolAssets`'s errors
@@ -1829,102 +1829,102 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1829
1829
  /**
1830
1830
  * Account balance must be greater than or equal to the transfer amount.
1831
1831
  **/
1832
- BalanceLow: GenericPalletError<Rv>;
1832
+ BalanceLow: GenericPalletError;
1833
1833
  /**
1834
1834
  * The account to alter does not exist.
1835
1835
  **/
1836
- NoAccount: GenericPalletError<Rv>;
1836
+ NoAccount: GenericPalletError;
1837
1837
  /**
1838
1838
  * The signing account has no permission to do the operation.
1839
1839
  **/
1840
- NoPermission: GenericPalletError<Rv>;
1840
+ NoPermission: GenericPalletError;
1841
1841
  /**
1842
1842
  * The given asset ID is unknown.
1843
1843
  **/
1844
- Unknown: GenericPalletError<Rv>;
1844
+ Unknown: GenericPalletError;
1845
1845
  /**
1846
1846
  * The origin account is frozen.
1847
1847
  **/
1848
- Frozen: GenericPalletError<Rv>;
1848
+ Frozen: GenericPalletError;
1849
1849
  /**
1850
1850
  * The asset ID is already taken.
1851
1851
  **/
1852
- InUse: GenericPalletError<Rv>;
1852
+ InUse: GenericPalletError;
1853
1853
  /**
1854
1854
  * Invalid witness data given.
1855
1855
  **/
1856
- BadWitness: GenericPalletError<Rv>;
1856
+ BadWitness: GenericPalletError;
1857
1857
  /**
1858
1858
  * Minimum balance should be non-zero.
1859
1859
  **/
1860
- MinBalanceZero: GenericPalletError<Rv>;
1860
+ MinBalanceZero: GenericPalletError;
1861
1861
  /**
1862
1862
  * Unable to increment the consumer reference counters on the account. Either no provider
1863
1863
  * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
1864
1864
  * fewer then the maximum number of consumers has been reached.
1865
1865
  **/
1866
- UnavailableConsumer: GenericPalletError<Rv>;
1866
+ UnavailableConsumer: GenericPalletError;
1867
1867
  /**
1868
1868
  * Invalid metadata given.
1869
1869
  **/
1870
- BadMetadata: GenericPalletError<Rv>;
1870
+ BadMetadata: GenericPalletError;
1871
1871
  /**
1872
1872
  * No approval exists that would allow the transfer.
1873
1873
  **/
1874
- Unapproved: GenericPalletError<Rv>;
1874
+ Unapproved: GenericPalletError;
1875
1875
  /**
1876
1876
  * The source account would not survive the transfer and it needs to stay alive.
1877
1877
  **/
1878
- WouldDie: GenericPalletError<Rv>;
1878
+ WouldDie: GenericPalletError;
1879
1879
  /**
1880
1880
  * The asset-account already exists.
1881
1881
  **/
1882
- AlreadyExists: GenericPalletError<Rv>;
1882
+ AlreadyExists: GenericPalletError;
1883
1883
  /**
1884
1884
  * The asset-account doesn't have an associated deposit.
1885
1885
  **/
1886
- NoDeposit: GenericPalletError<Rv>;
1886
+ NoDeposit: GenericPalletError;
1887
1887
  /**
1888
1888
  * The operation would result in funds being burned.
1889
1889
  **/
1890
- WouldBurn: GenericPalletError<Rv>;
1890
+ WouldBurn: GenericPalletError;
1891
1891
  /**
1892
1892
  * The asset is a live asset and is actively being used. Usually emit for operations such
1893
1893
  * as `start_destroy` which require the asset to be in a destroying state.
1894
1894
  **/
1895
- LiveAsset: GenericPalletError<Rv>;
1895
+ LiveAsset: GenericPalletError;
1896
1896
  /**
1897
1897
  * The asset is not live, and likely being destroyed.
1898
1898
  **/
1899
- AssetNotLive: GenericPalletError<Rv>;
1899
+ AssetNotLive: GenericPalletError;
1900
1900
  /**
1901
1901
  * The asset status is not the expected status.
1902
1902
  **/
1903
- IncorrectStatus: GenericPalletError<Rv>;
1903
+ IncorrectStatus: GenericPalletError;
1904
1904
  /**
1905
1905
  * The asset should be frozen before the given operation.
1906
1906
  **/
1907
- NotFrozen: GenericPalletError<Rv>;
1907
+ NotFrozen: GenericPalletError;
1908
1908
  /**
1909
1909
  * Callback action resulted in error
1910
1910
  **/
1911
- CallbackFailed: GenericPalletError<Rv>;
1911
+ CallbackFailed: GenericPalletError;
1912
1912
  /**
1913
1913
  * The asset ID must be equal to the [`NextAssetId`].
1914
1914
  **/
1915
- BadAssetId: GenericPalletError<Rv>;
1915
+ BadAssetId: GenericPalletError;
1916
1916
  /**
1917
1917
  * The asset cannot be destroyed because some accounts for this asset contain freezes.
1918
1918
  **/
1919
- ContainsFreezes: GenericPalletError<Rv>;
1919
+ ContainsFreezes: GenericPalletError;
1920
1920
  /**
1921
1921
  * The asset cannot be destroyed because some accounts for this asset contain holds.
1922
1922
  **/
1923
- ContainsHolds: GenericPalletError<Rv>;
1923
+ ContainsHolds: GenericPalletError;
1924
1924
  /**
1925
1925
  * Generic pallet error
1926
1926
  **/
1927
- [error: string]: GenericPalletError<Rv>;
1927
+ [error: string]: GenericPalletError;
1928
1928
  };
1929
1929
  /**
1930
1930
  * Pallet `Beefy`'s errors
@@ -1933,35 +1933,35 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1933
1933
  /**
1934
1934
  * A key ownership proof provided as part of an equivocation report is invalid.
1935
1935
  **/
1936
- InvalidKeyOwnershipProof: GenericPalletError<Rv>;
1936
+ InvalidKeyOwnershipProof: GenericPalletError;
1937
1937
  /**
1938
1938
  * A double voting proof provided as part of an equivocation report is invalid.
1939
1939
  **/
1940
- InvalidDoubleVotingProof: GenericPalletError<Rv>;
1940
+ InvalidDoubleVotingProof: GenericPalletError;
1941
1941
  /**
1942
1942
  * A fork voting proof provided as part of an equivocation report is invalid.
1943
1943
  **/
1944
- InvalidForkVotingProof: GenericPalletError<Rv>;
1944
+ InvalidForkVotingProof: GenericPalletError;
1945
1945
  /**
1946
1946
  * A future block voting proof provided as part of an equivocation report is invalid.
1947
1947
  **/
1948
- InvalidFutureBlockVotingProof: GenericPalletError<Rv>;
1948
+ InvalidFutureBlockVotingProof: GenericPalletError;
1949
1949
  /**
1950
1950
  * The session of the equivocation proof is invalid
1951
1951
  **/
1952
- InvalidEquivocationProofSession: GenericPalletError<Rv>;
1952
+ InvalidEquivocationProofSession: GenericPalletError;
1953
1953
  /**
1954
1954
  * A given equivocation report is valid but already previously reported.
1955
1955
  **/
1956
- DuplicateOffenceReport: GenericPalletError<Rv>;
1956
+ DuplicateOffenceReport: GenericPalletError;
1957
1957
  /**
1958
1958
  * Submitted configuration is invalid.
1959
1959
  **/
1960
- InvalidConfiguration: GenericPalletError<Rv>;
1960
+ InvalidConfiguration: GenericPalletError;
1961
1961
  /**
1962
1962
  * Generic pallet error
1963
1963
  **/
1964
- [error: string]: GenericPalletError<Rv>;
1964
+ [error: string]: GenericPalletError;
1965
1965
  };
1966
1966
  /**
1967
1967
  * Pallet `Lottery`'s errors
@@ -1970,35 +1970,35 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1970
1970
  /**
1971
1971
  * A lottery has not been configured.
1972
1972
  **/
1973
- NotConfigured: GenericPalletError<Rv>;
1973
+ NotConfigured: GenericPalletError;
1974
1974
  /**
1975
1975
  * A lottery is already in progress.
1976
1976
  **/
1977
- InProgress: GenericPalletError<Rv>;
1977
+ InProgress: GenericPalletError;
1978
1978
  /**
1979
1979
  * A lottery has already ended.
1980
1980
  **/
1981
- AlreadyEnded: GenericPalletError<Rv>;
1981
+ AlreadyEnded: GenericPalletError;
1982
1982
  /**
1983
1983
  * The call is not valid for an open lottery.
1984
1984
  **/
1985
- InvalidCall: GenericPalletError<Rv>;
1985
+ InvalidCall: GenericPalletError;
1986
1986
  /**
1987
1987
  * You are already participating in the lottery with this call.
1988
1988
  **/
1989
- AlreadyParticipating: GenericPalletError<Rv>;
1989
+ AlreadyParticipating: GenericPalletError;
1990
1990
  /**
1991
1991
  * Too many calls for a single lottery.
1992
1992
  **/
1993
- TooManyCalls: GenericPalletError<Rv>;
1993
+ TooManyCalls: GenericPalletError;
1994
1994
  /**
1995
1995
  * Failed to encode calls
1996
1996
  **/
1997
- EncodingFailed: GenericPalletError<Rv>;
1997
+ EncodingFailed: GenericPalletError;
1998
1998
  /**
1999
1999
  * Generic pallet error
2000
2000
  **/
2001
- [error: string]: GenericPalletError<Rv>;
2001
+ [error: string]: GenericPalletError;
2002
2002
  };
2003
2003
  /**
2004
2004
  * Pallet `Nis`'s errors
@@ -2007,68 +2007,68 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2007
2007
  /**
2008
2008
  * The duration of the bid is less than one.
2009
2009
  **/
2010
- DurationTooSmall: GenericPalletError<Rv>;
2010
+ DurationTooSmall: GenericPalletError;
2011
2011
  /**
2012
2012
  * The duration is the bid is greater than the number of queues.
2013
2013
  **/
2014
- DurationTooBig: GenericPalletError<Rv>;
2014
+ DurationTooBig: GenericPalletError;
2015
2015
  /**
2016
2016
  * The amount of the bid is less than the minimum allowed.
2017
2017
  **/
2018
- AmountTooSmall: GenericPalletError<Rv>;
2018
+ AmountTooSmall: GenericPalletError;
2019
2019
  /**
2020
2020
  * The queue for the bid's duration is full and the amount bid is too low to get in
2021
2021
  * through replacing an existing bid.
2022
2022
  **/
2023
- BidTooLow: GenericPalletError<Rv>;
2023
+ BidTooLow: GenericPalletError;
2024
2024
  /**
2025
2025
  * Receipt index is unknown.
2026
2026
  **/
2027
- UnknownReceipt: GenericPalletError<Rv>;
2027
+ UnknownReceipt: GenericPalletError;
2028
2028
  /**
2029
2029
  * Not the owner of the receipt.
2030
2030
  **/
2031
- NotOwner: GenericPalletError<Rv>;
2031
+ NotOwner: GenericPalletError;
2032
2032
  /**
2033
2033
  * Bond not yet at expiry date.
2034
2034
  **/
2035
- NotExpired: GenericPalletError<Rv>;
2035
+ NotExpired: GenericPalletError;
2036
2036
  /**
2037
2037
  * The given bid for retraction is not found.
2038
2038
  **/
2039
- UnknownBid: GenericPalletError<Rv>;
2039
+ UnknownBid: GenericPalletError;
2040
2040
  /**
2041
2041
  * The portion supplied is beyond the value of the receipt.
2042
2042
  **/
2043
- PortionTooBig: GenericPalletError<Rv>;
2043
+ PortionTooBig: GenericPalletError;
2044
2044
  /**
2045
2045
  * Not enough funds are held to pay out.
2046
2046
  **/
2047
- Unfunded: GenericPalletError<Rv>;
2047
+ Unfunded: GenericPalletError;
2048
2048
  /**
2049
2049
  * There are enough funds for what is required.
2050
2050
  **/
2051
- AlreadyFunded: GenericPalletError<Rv>;
2051
+ AlreadyFunded: GenericPalletError;
2052
2052
  /**
2053
2053
  * The thaw throttle has been reached for this period.
2054
2054
  **/
2055
- Throttled: GenericPalletError<Rv>;
2055
+ Throttled: GenericPalletError;
2056
2056
  /**
2057
2057
  * The operation would result in a receipt worth an insignificant value.
2058
2058
  **/
2059
- MakesDust: GenericPalletError<Rv>;
2059
+ MakesDust: GenericPalletError;
2060
2060
  /**
2061
2061
  * The receipt is already communal.
2062
2062
  **/
2063
- AlreadyCommunal: GenericPalletError<Rv>;
2063
+ AlreadyCommunal: GenericPalletError;
2064
2064
  /**
2065
2065
  * The receipt is already private.
2066
2066
  **/
2067
- AlreadyPrivate: GenericPalletError<Rv>;
2067
+ AlreadyPrivate: GenericPalletError;
2068
2068
  /**
2069
2069
  * Generic pallet error
2070
2070
  **/
2071
- [error: string]: GenericPalletError<Rv>;
2071
+ [error: string]: GenericPalletError;
2072
2072
  };
2073
2073
  /**
2074
2074
  * Pallet `Uniques`'s errors
@@ -2077,79 +2077,79 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2077
2077
  /**
2078
2078
  * The signing account has no permission to do the operation.
2079
2079
  **/
2080
- NoPermission: GenericPalletError<Rv>;
2080
+ NoPermission: GenericPalletError;
2081
2081
  /**
2082
2082
  * The given item ID is unknown.
2083
2083
  **/
2084
- UnknownCollection: GenericPalletError<Rv>;
2084
+ UnknownCollection: GenericPalletError;
2085
2085
  /**
2086
2086
  * The item ID has already been used for an item.
2087
2087
  **/
2088
- AlreadyExists: GenericPalletError<Rv>;
2088
+ AlreadyExists: GenericPalletError;
2089
2089
  /**
2090
2090
  * The owner turned out to be different to what was expected.
2091
2091
  **/
2092
- WrongOwner: GenericPalletError<Rv>;
2092
+ WrongOwner: GenericPalletError;
2093
2093
  /**
2094
2094
  * Invalid witness data given.
2095
2095
  **/
2096
- BadWitness: GenericPalletError<Rv>;
2096
+ BadWitness: GenericPalletError;
2097
2097
  /**
2098
2098
  * The item ID is already taken.
2099
2099
  **/
2100
- InUse: GenericPalletError<Rv>;
2100
+ InUse: GenericPalletError;
2101
2101
  /**
2102
2102
  * The item or collection is frozen.
2103
2103
  **/
2104
- Frozen: GenericPalletError<Rv>;
2104
+ Frozen: GenericPalletError;
2105
2105
  /**
2106
2106
  * The delegate turned out to be different to what was expected.
2107
2107
  **/
2108
- WrongDelegate: GenericPalletError<Rv>;
2108
+ WrongDelegate: GenericPalletError;
2109
2109
  /**
2110
2110
  * There is no delegate approved.
2111
2111
  **/
2112
- NoDelegate: GenericPalletError<Rv>;
2112
+ NoDelegate: GenericPalletError;
2113
2113
  /**
2114
2114
  * No approval exists that would allow the transfer.
2115
2115
  **/
2116
- Unapproved: GenericPalletError<Rv>;
2116
+ Unapproved: GenericPalletError;
2117
2117
  /**
2118
2118
  * The named owner has not signed ownership of the collection is acceptable.
2119
2119
  **/
2120
- Unaccepted: GenericPalletError<Rv>;
2120
+ Unaccepted: GenericPalletError;
2121
2121
  /**
2122
2122
  * The item is locked.
2123
2123
  **/
2124
- Locked: GenericPalletError<Rv>;
2124
+ Locked: GenericPalletError;
2125
2125
  /**
2126
2126
  * All items have been minted.
2127
2127
  **/
2128
- MaxSupplyReached: GenericPalletError<Rv>;
2128
+ MaxSupplyReached: GenericPalletError;
2129
2129
  /**
2130
2130
  * The max supply has already been set.
2131
2131
  **/
2132
- MaxSupplyAlreadySet: GenericPalletError<Rv>;
2132
+ MaxSupplyAlreadySet: GenericPalletError;
2133
2133
  /**
2134
2134
  * The provided max supply is less to the amount of items a collection already has.
2135
2135
  **/
2136
- MaxSupplyTooSmall: GenericPalletError<Rv>;
2136
+ MaxSupplyTooSmall: GenericPalletError;
2137
2137
  /**
2138
2138
  * The given item ID is unknown.
2139
2139
  **/
2140
- UnknownItem: GenericPalletError<Rv>;
2140
+ UnknownItem: GenericPalletError;
2141
2141
  /**
2142
2142
  * Item is not for sale.
2143
2143
  **/
2144
- NotForSale: GenericPalletError<Rv>;
2144
+ NotForSale: GenericPalletError;
2145
2145
  /**
2146
2146
  * The provided bid is too low.
2147
2147
  **/
2148
- BidTooLow: GenericPalletError<Rv>;
2148
+ BidTooLow: GenericPalletError;
2149
2149
  /**
2150
2150
  * Generic pallet error
2151
2151
  **/
2152
- [error: string]: GenericPalletError<Rv>;
2152
+ [error: string]: GenericPalletError;
2153
2153
  };
2154
2154
  /**
2155
2155
  * Pallet `Nfts`'s errors
@@ -2158,187 +2158,187 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2158
2158
  /**
2159
2159
  * The signing account has no permission to do the operation.
2160
2160
  **/
2161
- NoPermission: GenericPalletError<Rv>;
2161
+ NoPermission: GenericPalletError;
2162
2162
  /**
2163
2163
  * The given item ID is unknown.
2164
2164
  **/
2165
- UnknownCollection: GenericPalletError<Rv>;
2165
+ UnknownCollection: GenericPalletError;
2166
2166
  /**
2167
2167
  * The item ID has already been used for an item.
2168
2168
  **/
2169
- AlreadyExists: GenericPalletError<Rv>;
2169
+ AlreadyExists: GenericPalletError;
2170
2170
  /**
2171
2171
  * The approval had a deadline that expired, so the approval isn't valid anymore.
2172
2172
  **/
2173
- ApprovalExpired: GenericPalletError<Rv>;
2173
+ ApprovalExpired: GenericPalletError;
2174
2174
  /**
2175
2175
  * The owner turned out to be different to what was expected.
2176
2176
  **/
2177
- WrongOwner: GenericPalletError<Rv>;
2177
+ WrongOwner: GenericPalletError;
2178
2178
  /**
2179
2179
  * The witness data given does not match the current state of the chain.
2180
2180
  **/
2181
- BadWitness: GenericPalletError<Rv>;
2181
+ BadWitness: GenericPalletError;
2182
2182
  /**
2183
2183
  * Collection ID is already taken.
2184
2184
  **/
2185
- CollectionIdInUse: GenericPalletError<Rv>;
2185
+ CollectionIdInUse: GenericPalletError;
2186
2186
  /**
2187
2187
  * Items within that collection are non-transferable.
2188
2188
  **/
2189
- ItemsNonTransferable: GenericPalletError<Rv>;
2189
+ ItemsNonTransferable: GenericPalletError;
2190
2190
  /**
2191
2191
  * The provided account is not a delegate.
2192
2192
  **/
2193
- NotDelegate: GenericPalletError<Rv>;
2193
+ NotDelegate: GenericPalletError;
2194
2194
  /**
2195
2195
  * The delegate turned out to be different to what was expected.
2196
2196
  **/
2197
- WrongDelegate: GenericPalletError<Rv>;
2197
+ WrongDelegate: GenericPalletError;
2198
2198
  /**
2199
2199
  * No approval exists that would allow the transfer.
2200
2200
  **/
2201
- Unapproved: GenericPalletError<Rv>;
2201
+ Unapproved: GenericPalletError;
2202
2202
  /**
2203
2203
  * The named owner has not signed ownership acceptance of the collection.
2204
2204
  **/
2205
- Unaccepted: GenericPalletError<Rv>;
2205
+ Unaccepted: GenericPalletError;
2206
2206
  /**
2207
2207
  * The item is locked (non-transferable).
2208
2208
  **/
2209
- ItemLocked: GenericPalletError<Rv>;
2209
+ ItemLocked: GenericPalletError;
2210
2210
  /**
2211
2211
  * Item's attributes are locked.
2212
2212
  **/
2213
- LockedItemAttributes: GenericPalletError<Rv>;
2213
+ LockedItemAttributes: GenericPalletError;
2214
2214
  /**
2215
2215
  * Collection's attributes are locked.
2216
2216
  **/
2217
- LockedCollectionAttributes: GenericPalletError<Rv>;
2217
+ LockedCollectionAttributes: GenericPalletError;
2218
2218
  /**
2219
2219
  * Item's metadata is locked.
2220
2220
  **/
2221
- LockedItemMetadata: GenericPalletError<Rv>;
2221
+ LockedItemMetadata: GenericPalletError;
2222
2222
  /**
2223
2223
  * Collection's metadata is locked.
2224
2224
  **/
2225
- LockedCollectionMetadata: GenericPalletError<Rv>;
2225
+ LockedCollectionMetadata: GenericPalletError;
2226
2226
  /**
2227
2227
  * All items have been minted.
2228
2228
  **/
2229
- MaxSupplyReached: GenericPalletError<Rv>;
2229
+ MaxSupplyReached: GenericPalletError;
2230
2230
  /**
2231
2231
  * The max supply is locked and can't be changed.
2232
2232
  **/
2233
- MaxSupplyLocked: GenericPalletError<Rv>;
2233
+ MaxSupplyLocked: GenericPalletError;
2234
2234
  /**
2235
2235
  * The provided max supply is less than the number of items a collection already has.
2236
2236
  **/
2237
- MaxSupplyTooSmall: GenericPalletError<Rv>;
2237
+ MaxSupplyTooSmall: GenericPalletError;
2238
2238
  /**
2239
2239
  * The given item ID is unknown.
2240
2240
  **/
2241
- UnknownItem: GenericPalletError<Rv>;
2241
+ UnknownItem: GenericPalletError;
2242
2242
  /**
2243
2243
  * Swap doesn't exist.
2244
2244
  **/
2245
- UnknownSwap: GenericPalletError<Rv>;
2245
+ UnknownSwap: GenericPalletError;
2246
2246
  /**
2247
2247
  * The given item has no metadata set.
2248
2248
  **/
2249
- MetadataNotFound: GenericPalletError<Rv>;
2249
+ MetadataNotFound: GenericPalletError;
2250
2250
  /**
2251
2251
  * The provided attribute can't be found.
2252
2252
  **/
2253
- AttributeNotFound: GenericPalletError<Rv>;
2253
+ AttributeNotFound: GenericPalletError;
2254
2254
  /**
2255
2255
  * Item is not for sale.
2256
2256
  **/
2257
- NotForSale: GenericPalletError<Rv>;
2257
+ NotForSale: GenericPalletError;
2258
2258
  /**
2259
2259
  * The provided bid is too low.
2260
2260
  **/
2261
- BidTooLow: GenericPalletError<Rv>;
2261
+ BidTooLow: GenericPalletError;
2262
2262
  /**
2263
2263
  * The item has reached its approval limit.
2264
2264
  **/
2265
- ReachedApprovalLimit: GenericPalletError<Rv>;
2265
+ ReachedApprovalLimit: GenericPalletError;
2266
2266
  /**
2267
2267
  * The deadline has already expired.
2268
2268
  **/
2269
- DeadlineExpired: GenericPalletError<Rv>;
2269
+ DeadlineExpired: GenericPalletError;
2270
2270
  /**
2271
2271
  * The duration provided should be less than or equal to `MaxDeadlineDuration`.
2272
2272
  **/
2273
- WrongDuration: GenericPalletError<Rv>;
2273
+ WrongDuration: GenericPalletError;
2274
2274
  /**
2275
2275
  * The method is disabled by system settings.
2276
2276
  **/
2277
- MethodDisabled: GenericPalletError<Rv>;
2277
+ MethodDisabled: GenericPalletError;
2278
2278
  /**
2279
2279
  * The provided setting can't be set.
2280
2280
  **/
2281
- WrongSetting: GenericPalletError<Rv>;
2281
+ WrongSetting: GenericPalletError;
2282
2282
  /**
2283
2283
  * Item's config already exists and should be equal to the provided one.
2284
2284
  **/
2285
- InconsistentItemConfig: GenericPalletError<Rv>;
2285
+ InconsistentItemConfig: GenericPalletError;
2286
2286
  /**
2287
2287
  * Config for a collection or an item can't be found.
2288
2288
  **/
2289
- NoConfig: GenericPalletError<Rv>;
2289
+ NoConfig: GenericPalletError;
2290
2290
  /**
2291
2291
  * Some roles were not cleared.
2292
2292
  **/
2293
- RolesNotCleared: GenericPalletError<Rv>;
2293
+ RolesNotCleared: GenericPalletError;
2294
2294
  /**
2295
2295
  * Mint has not started yet.
2296
2296
  **/
2297
- MintNotStarted: GenericPalletError<Rv>;
2297
+ MintNotStarted: GenericPalletError;
2298
2298
  /**
2299
2299
  * Mint has already ended.
2300
2300
  **/
2301
- MintEnded: GenericPalletError<Rv>;
2301
+ MintEnded: GenericPalletError;
2302
2302
  /**
2303
2303
  * The provided Item was already used for claiming.
2304
2304
  **/
2305
- AlreadyClaimed: GenericPalletError<Rv>;
2305
+ AlreadyClaimed: GenericPalletError;
2306
2306
  /**
2307
2307
  * The provided data is incorrect.
2308
2308
  **/
2309
- IncorrectData: GenericPalletError<Rv>;
2309
+ IncorrectData: GenericPalletError;
2310
2310
  /**
2311
2311
  * The extrinsic was sent by the wrong origin.
2312
2312
  **/
2313
- WrongOrigin: GenericPalletError<Rv>;
2313
+ WrongOrigin: GenericPalletError;
2314
2314
  /**
2315
2315
  * The provided signature is incorrect.
2316
2316
  **/
2317
- WrongSignature: GenericPalletError<Rv>;
2317
+ WrongSignature: GenericPalletError;
2318
2318
  /**
2319
2319
  * The provided metadata might be too long.
2320
2320
  **/
2321
- IncorrectMetadata: GenericPalletError<Rv>;
2321
+ IncorrectMetadata: GenericPalletError;
2322
2322
  /**
2323
2323
  * Can't set more attributes per one call.
2324
2324
  **/
2325
- MaxAttributesLimitReached: GenericPalletError<Rv>;
2325
+ MaxAttributesLimitReached: GenericPalletError;
2326
2326
  /**
2327
2327
  * The provided namespace isn't supported in this call.
2328
2328
  **/
2329
- WrongNamespace: GenericPalletError<Rv>;
2329
+ WrongNamespace: GenericPalletError;
2330
2330
  /**
2331
2331
  * Can't delete non-empty collections.
2332
2332
  **/
2333
- CollectionNotEmpty: GenericPalletError<Rv>;
2333
+ CollectionNotEmpty: GenericPalletError;
2334
2334
  /**
2335
2335
  * The witness data should be provided.
2336
2336
  **/
2337
- WitnessRequired: GenericPalletError<Rv>;
2337
+ WitnessRequired: GenericPalletError;
2338
2338
  /**
2339
2339
  * Generic pallet error
2340
2340
  **/
2341
- [error: string]: GenericPalletError<Rv>;
2341
+ [error: string]: GenericPalletError;
2342
2342
  };
2343
2343
  /**
2344
2344
  * Pallet `NftFractionalization`'s errors
@@ -2347,23 +2347,23 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2347
2347
  /**
2348
2348
  * Asset ID does not correspond to locked NFT.
2349
2349
  **/
2350
- IncorrectAssetId: GenericPalletError<Rv>;
2350
+ IncorrectAssetId: GenericPalletError;
2351
2351
  /**
2352
2352
  * The signing account has no permission to do the operation.
2353
2353
  **/
2354
- NoPermission: GenericPalletError<Rv>;
2354
+ NoPermission: GenericPalletError;
2355
2355
  /**
2356
2356
  * NFT doesn't exist.
2357
2357
  **/
2358
- NftNotFound: GenericPalletError<Rv>;
2358
+ NftNotFound: GenericPalletError;
2359
2359
  /**
2360
2360
  * NFT has not yet been fractionalised.
2361
2361
  **/
2362
- NftNotFractionalized: GenericPalletError<Rv>;
2362
+ NftNotFractionalized: GenericPalletError;
2363
2363
  /**
2364
2364
  * Generic pallet error
2365
2365
  **/
2366
- [error: string]: GenericPalletError<Rv>;
2366
+ [error: string]: GenericPalletError;
2367
2367
  };
2368
2368
  /**
2369
2369
  * Pallet `Salary`'s errors
@@ -2372,60 +2372,60 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2372
2372
  /**
2373
2373
  * The salary system has already been started.
2374
2374
  **/
2375
- AlreadyStarted: GenericPalletError<Rv>;
2375
+ AlreadyStarted: GenericPalletError;
2376
2376
  /**
2377
2377
  * The account is not a ranked member.
2378
2378
  **/
2379
- NotMember: GenericPalletError<Rv>;
2379
+ NotMember: GenericPalletError;
2380
2380
  /**
2381
2381
  * The account is already inducted.
2382
2382
  **/
2383
- AlreadyInducted: GenericPalletError<Rv>;
2384
- NotInducted: GenericPalletError<Rv>;
2383
+ AlreadyInducted: GenericPalletError;
2384
+ NotInducted: GenericPalletError;
2385
2385
  /**
2386
2386
  * The member does not have a current valid claim.
2387
2387
  **/
2388
- NoClaim: GenericPalletError<Rv>;
2388
+ NoClaim: GenericPalletError;
2389
2389
  /**
2390
2390
  * The member's claim is zero.
2391
2391
  **/
2392
- ClaimZero: GenericPalletError<Rv>;
2392
+ ClaimZero: GenericPalletError;
2393
2393
  /**
2394
2394
  * Current cycle's registration period is over.
2395
2395
  **/
2396
- TooLate: GenericPalletError<Rv>;
2396
+ TooLate: GenericPalletError;
2397
2397
  /**
2398
2398
  * Current cycle's payment period is not yet begun.
2399
2399
  **/
2400
- TooEarly: GenericPalletError<Rv>;
2400
+ TooEarly: GenericPalletError;
2401
2401
  /**
2402
2402
  * Cycle is not yet over.
2403
2403
  **/
2404
- NotYet: GenericPalletError<Rv>;
2404
+ NotYet: GenericPalletError;
2405
2405
  /**
2406
2406
  * The payout cycles have not yet started.
2407
2407
  **/
2408
- NotStarted: GenericPalletError<Rv>;
2408
+ NotStarted: GenericPalletError;
2409
2409
  /**
2410
2410
  * There is no budget left for the payout.
2411
2411
  **/
2412
- Bankrupt: GenericPalletError<Rv>;
2412
+ Bankrupt: GenericPalletError;
2413
2413
  /**
2414
2414
  * There was some issue with the mechanism of payment.
2415
2415
  **/
2416
- PayError: GenericPalletError<Rv>;
2416
+ PayError: GenericPalletError;
2417
2417
  /**
2418
2418
  * The payment has neither failed nor succeeded yet.
2419
2419
  **/
2420
- Inconclusive: GenericPalletError<Rv>;
2420
+ Inconclusive: GenericPalletError;
2421
2421
  /**
2422
2422
  * The cycle is after that in which the payment was made.
2423
2423
  **/
2424
- NotCurrent: GenericPalletError<Rv>;
2424
+ NotCurrent: GenericPalletError;
2425
2425
  /**
2426
2426
  * Generic pallet error
2427
2427
  **/
2428
- [error: string]: GenericPalletError<Rv>;
2428
+ [error: string]: GenericPalletError;
2429
2429
  };
2430
2430
  /**
2431
2431
  * Pallet `CoreFellowship`'s errors
@@ -2434,45 +2434,45 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2434
2434
  /**
2435
2435
  * Member's rank is too low.
2436
2436
  **/
2437
- Unranked: GenericPalletError<Rv>;
2437
+ Unranked: GenericPalletError;
2438
2438
  /**
2439
2439
  * Member's rank is not zero.
2440
2440
  **/
2441
- Ranked: GenericPalletError<Rv>;
2441
+ Ranked: GenericPalletError;
2442
2442
  /**
2443
2443
  * Member's rank is not as expected - generally means that the rank provided to the call
2444
2444
  * does not agree with the state of the system.
2445
2445
  **/
2446
- UnexpectedRank: GenericPalletError<Rv>;
2446
+ UnexpectedRank: GenericPalletError;
2447
2447
  /**
2448
2448
  * The given rank is invalid - this generally means it's not between 1 and `RANK_COUNT`.
2449
2449
  **/
2450
- InvalidRank: GenericPalletError<Rv>;
2450
+ InvalidRank: GenericPalletError;
2451
2451
  /**
2452
2452
  * The origin does not have enough permission to do this operation.
2453
2453
  **/
2454
- NoPermission: GenericPalletError<Rv>;
2454
+ NoPermission: GenericPalletError;
2455
2455
  /**
2456
2456
  * No work needs to be done at present for this member.
2457
2457
  **/
2458
- NothingDoing: GenericPalletError<Rv>;
2458
+ NothingDoing: GenericPalletError;
2459
2459
  /**
2460
2460
  * The candidate has already been inducted. This should never happen since it would
2461
2461
  * require a candidate (rank 0) to already be tracked in the pallet.
2462
2462
  **/
2463
- AlreadyInducted: GenericPalletError<Rv>;
2463
+ AlreadyInducted: GenericPalletError;
2464
2464
  /**
2465
2465
  * The candidate has not been inducted, so cannot be offboarded from this pallet.
2466
2466
  **/
2467
- NotTracked: GenericPalletError<Rv>;
2467
+ NotTracked: GenericPalletError;
2468
2468
  /**
2469
2469
  * Operation cannot be done yet since not enough time has passed.
2470
2470
  **/
2471
- TooSoon: GenericPalletError<Rv>;
2471
+ TooSoon: GenericPalletError;
2472
2472
  /**
2473
2473
  * Generic pallet error
2474
2474
  **/
2475
- [error: string]: GenericPalletError<Rv>;
2475
+ [error: string]: GenericPalletError;
2476
2476
  };
2477
2477
  /**
2478
2478
  * Pallet `TransactionStorage`'s errors
@@ -2481,55 +2481,55 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2481
2481
  /**
2482
2482
  * Invalid configuration.
2483
2483
  **/
2484
- NotConfigured: GenericPalletError<Rv>;
2484
+ NotConfigured: GenericPalletError;
2485
2485
  /**
2486
2486
  * Renewed extrinsic is not found.
2487
2487
  **/
2488
- RenewedNotFound: GenericPalletError<Rv>;
2488
+ RenewedNotFound: GenericPalletError;
2489
2489
  /**
2490
2490
  * Attempting to store empty transaction
2491
2491
  **/
2492
- EmptyTransaction: GenericPalletError<Rv>;
2492
+ EmptyTransaction: GenericPalletError;
2493
2493
  /**
2494
2494
  * Proof was not expected in this block.
2495
2495
  **/
2496
- UnexpectedProof: GenericPalletError<Rv>;
2496
+ UnexpectedProof: GenericPalletError;
2497
2497
  /**
2498
2498
  * Proof failed verification.
2499
2499
  **/
2500
- InvalidProof: GenericPalletError<Rv>;
2500
+ InvalidProof: GenericPalletError;
2501
2501
  /**
2502
2502
  * Missing storage proof.
2503
2503
  **/
2504
- MissingProof: GenericPalletError<Rv>;
2504
+ MissingProof: GenericPalletError;
2505
2505
  /**
2506
2506
  * Unable to verify proof because state data is missing.
2507
2507
  **/
2508
- MissingStateData: GenericPalletError<Rv>;
2508
+ MissingStateData: GenericPalletError;
2509
2509
  /**
2510
2510
  * Double proof check in the block.
2511
2511
  **/
2512
- DoubleCheck: GenericPalletError<Rv>;
2512
+ DoubleCheck: GenericPalletError;
2513
2513
  /**
2514
2514
  * Storage proof was not checked in the block.
2515
2515
  **/
2516
- ProofNotChecked: GenericPalletError<Rv>;
2516
+ ProofNotChecked: GenericPalletError;
2517
2517
  /**
2518
2518
  * Transaction is too large.
2519
2519
  **/
2520
- TransactionTooLarge: GenericPalletError<Rv>;
2520
+ TransactionTooLarge: GenericPalletError;
2521
2521
  /**
2522
2522
  * Too many transactions in the block.
2523
2523
  **/
2524
- TooManyTransactions: GenericPalletError<Rv>;
2524
+ TooManyTransactions: GenericPalletError;
2525
2525
  /**
2526
2526
  * Attempted to call `store` outside of block execution.
2527
2527
  **/
2528
- BadContext: GenericPalletError<Rv>;
2528
+ BadContext: GenericPalletError;
2529
2529
  /**
2530
2530
  * Generic pallet error
2531
2531
  **/
2532
- [error: string]: GenericPalletError<Rv>;
2532
+ [error: string]: GenericPalletError;
2533
2533
  };
2534
2534
  /**
2535
2535
  * Pallet `VoterList`'s errors
@@ -2538,11 +2538,11 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2538
2538
  /**
2539
2539
  * A error in the list interface implementation.
2540
2540
  **/
2541
- List: GenericPalletError<Rv>;
2541
+ List: GenericPalletError;
2542
2542
  /**
2543
2543
  * Generic pallet error
2544
2544
  **/
2545
- [error: string]: GenericPalletError<Rv>;
2545
+ [error: string]: GenericPalletError;
2546
2546
  };
2547
2547
  /**
2548
2548
  * Pallet `StateTrieMigration`'s errors
@@ -2551,7 +2551,7 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2551
2551
  /**
2552
2552
  * Max signed limits not respected.
2553
2553
  **/
2554
- MaxSignedLimits: GenericPalletError<Rv>;
2554
+ MaxSignedLimits: GenericPalletError;
2555
2555
  /**
2556
2556
  * A key was longer than the configured maximum.
2557
2557
  *
@@ -2561,27 +2561,27 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2561
2561
  * The value should only be increased to avoid a storage migration for the currently
2562
2562
  * stored [`crate::Progress::LastKey`].
2563
2563
  **/
2564
- KeyTooLong: GenericPalletError<Rv>;
2564
+ KeyTooLong: GenericPalletError;
2565
2565
  /**
2566
2566
  * submitter does not have enough funds.
2567
2567
  **/
2568
- NotEnoughFunds: GenericPalletError<Rv>;
2568
+ NotEnoughFunds: GenericPalletError;
2569
2569
  /**
2570
2570
  * Bad witness data provided.
2571
2571
  **/
2572
- BadWitness: GenericPalletError<Rv>;
2572
+ BadWitness: GenericPalletError;
2573
2573
  /**
2574
2574
  * Signed migration is not allowed because the maximum limit is not set yet.
2575
2575
  **/
2576
- SignedMigrationNotAllowed: GenericPalletError<Rv>;
2576
+ SignedMigrationNotAllowed: GenericPalletError;
2577
2577
  /**
2578
2578
  * Bad child root provided.
2579
2579
  **/
2580
- BadChildRoot: GenericPalletError<Rv>;
2580
+ BadChildRoot: GenericPalletError;
2581
2581
  /**
2582
2582
  * Generic pallet error
2583
2583
  **/
2584
- [error: string]: GenericPalletError<Rv>;
2584
+ [error: string]: GenericPalletError;
2585
2585
  };
2586
2586
  /**
2587
2587
  * Pallet `ChildBounties`'s errors
@@ -2590,19 +2590,19 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2590
2590
  /**
2591
2591
  * The parent bounty is not in active state.
2592
2592
  **/
2593
- ParentBountyNotActive: GenericPalletError<Rv>;
2593
+ ParentBountyNotActive: GenericPalletError;
2594
2594
  /**
2595
2595
  * The bounty balance is not enough to add new child-bounty.
2596
2596
  **/
2597
- InsufficientBountyBalance: GenericPalletError<Rv>;
2597
+ InsufficientBountyBalance: GenericPalletError;
2598
2598
  /**
2599
2599
  * Number of child bounties exceeds limit `MaxActiveChildBountyCount`.
2600
2600
  **/
2601
- TooManyChildBounties: GenericPalletError<Rv>;
2601
+ TooManyChildBounties: GenericPalletError;
2602
2602
  /**
2603
2603
  * Generic pallet error
2604
2604
  **/
2605
- [error: string]: GenericPalletError<Rv>;
2605
+ [error: string]: GenericPalletError;
2606
2606
  };
2607
2607
  /**
2608
2608
  * Pallet `Referenda`'s errors
@@ -2611,63 +2611,63 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2611
2611
  /**
2612
2612
  * Referendum is not ongoing.
2613
2613
  **/
2614
- NotOngoing: GenericPalletError<Rv>;
2614
+ NotOngoing: GenericPalletError;
2615
2615
  /**
2616
2616
  * Referendum's decision deposit is already paid.
2617
2617
  **/
2618
- HasDeposit: GenericPalletError<Rv>;
2618
+ HasDeposit: GenericPalletError;
2619
2619
  /**
2620
2620
  * The track identifier given was invalid.
2621
2621
  **/
2622
- BadTrack: GenericPalletError<Rv>;
2622
+ BadTrack: GenericPalletError;
2623
2623
  /**
2624
2624
  * There are already a full complement of referenda in progress for this track.
2625
2625
  **/
2626
- Full: GenericPalletError<Rv>;
2626
+ Full: GenericPalletError;
2627
2627
  /**
2628
2628
  * The queue of the track is empty.
2629
2629
  **/
2630
- QueueEmpty: GenericPalletError<Rv>;
2630
+ QueueEmpty: GenericPalletError;
2631
2631
  /**
2632
2632
  * The referendum index provided is invalid in this context.
2633
2633
  **/
2634
- BadReferendum: GenericPalletError<Rv>;
2634
+ BadReferendum: GenericPalletError;
2635
2635
  /**
2636
2636
  * There was nothing to do in the advancement.
2637
2637
  **/
2638
- NothingToDo: GenericPalletError<Rv>;
2638
+ NothingToDo: GenericPalletError;
2639
2639
  /**
2640
2640
  * No track exists for the proposal origin.
2641
2641
  **/
2642
- NoTrack: GenericPalletError<Rv>;
2642
+ NoTrack: GenericPalletError;
2643
2643
  /**
2644
2644
  * Any deposit cannot be refunded until after the decision is over.
2645
2645
  **/
2646
- Unfinished: GenericPalletError<Rv>;
2646
+ Unfinished: GenericPalletError;
2647
2647
  /**
2648
2648
  * The deposit refunder is not the depositor.
2649
2649
  **/
2650
- NoPermission: GenericPalletError<Rv>;
2650
+ NoPermission: GenericPalletError;
2651
2651
  /**
2652
2652
  * The deposit cannot be refunded since none was made.
2653
2653
  **/
2654
- NoDeposit: GenericPalletError<Rv>;
2654
+ NoDeposit: GenericPalletError;
2655
2655
  /**
2656
2656
  * The referendum status is invalid for this operation.
2657
2657
  **/
2658
- BadStatus: GenericPalletError<Rv>;
2658
+ BadStatus: GenericPalletError;
2659
2659
  /**
2660
2660
  * The preimage does not exist.
2661
2661
  **/
2662
- PreimageNotExist: GenericPalletError<Rv>;
2662
+ PreimageNotExist: GenericPalletError;
2663
2663
  /**
2664
2664
  * The preimage is stored with a different length than the one provided.
2665
2665
  **/
2666
- PreimageStoredWithDifferentLength: GenericPalletError<Rv>;
2666
+ PreimageStoredWithDifferentLength: GenericPalletError;
2667
2667
  /**
2668
2668
  * Generic pallet error
2669
2669
  **/
2670
- [error: string]: GenericPalletError<Rv>;
2670
+ [error: string]: GenericPalletError;
2671
2671
  };
2672
2672
  /**
2673
2673
  * Pallet `Remark`'s errors
@@ -2676,15 +2676,15 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2676
2676
  /**
2677
2677
  * Attempting to store empty data.
2678
2678
  **/
2679
- Empty: GenericPalletError<Rv>;
2679
+ Empty: GenericPalletError;
2680
2680
  /**
2681
2681
  * Attempted to call `store` outside of block execution.
2682
2682
  **/
2683
- BadContext: GenericPalletError<Rv>;
2683
+ BadContext: GenericPalletError;
2684
2684
  /**
2685
2685
  * Generic pallet error
2686
2686
  **/
2687
- [error: string]: GenericPalletError<Rv>;
2687
+ [error: string]: GenericPalletError;
2688
2688
  };
2689
2689
  /**
2690
2690
  * Pallet `ConvictionVoting`'s errors
@@ -2693,56 +2693,56 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2693
2693
  /**
2694
2694
  * Poll is not ongoing.
2695
2695
  **/
2696
- NotOngoing: GenericPalletError<Rv>;
2696
+ NotOngoing: GenericPalletError;
2697
2697
  /**
2698
2698
  * The given account did not vote on the poll.
2699
2699
  **/
2700
- NotVoter: GenericPalletError<Rv>;
2700
+ NotVoter: GenericPalletError;
2701
2701
  /**
2702
2702
  * The actor has no permission to conduct the action.
2703
2703
  **/
2704
- NoPermission: GenericPalletError<Rv>;
2704
+ NoPermission: GenericPalletError;
2705
2705
  /**
2706
2706
  * The actor has no permission to conduct the action right now but will do in the future.
2707
2707
  **/
2708
- NoPermissionYet: GenericPalletError<Rv>;
2708
+ NoPermissionYet: GenericPalletError;
2709
2709
  /**
2710
2710
  * The account is already delegating.
2711
2711
  **/
2712
- AlreadyDelegating: GenericPalletError<Rv>;
2712
+ AlreadyDelegating: GenericPalletError;
2713
2713
  /**
2714
2714
  * The account currently has votes attached to it and the operation cannot succeed until
2715
2715
  * these are removed through `remove_vote`.
2716
2716
  **/
2717
- AlreadyVoting: GenericPalletError<Rv>;
2717
+ AlreadyVoting: GenericPalletError;
2718
2718
  /**
2719
2719
  * Too high a balance was provided that the account cannot afford.
2720
2720
  **/
2721
- InsufficientFunds: GenericPalletError<Rv>;
2721
+ InsufficientFunds: GenericPalletError;
2722
2722
  /**
2723
2723
  * The account is not currently delegating.
2724
2724
  **/
2725
- NotDelegating: GenericPalletError<Rv>;
2725
+ NotDelegating: GenericPalletError;
2726
2726
  /**
2727
2727
  * Delegation to oneself makes no sense.
2728
2728
  **/
2729
- Nonsense: GenericPalletError<Rv>;
2729
+ Nonsense: GenericPalletError;
2730
2730
  /**
2731
2731
  * Maximum number of votes reached.
2732
2732
  **/
2733
- MaxVotesReached: GenericPalletError<Rv>;
2733
+ MaxVotesReached: GenericPalletError;
2734
2734
  /**
2735
2735
  * The class must be supplied since it is not easily determinable from the state.
2736
2736
  **/
2737
- ClassNeeded: GenericPalletError<Rv>;
2737
+ ClassNeeded: GenericPalletError;
2738
2738
  /**
2739
2739
  * The class ID supplied is invalid.
2740
2740
  **/
2741
- BadClass: GenericPalletError<Rv>;
2741
+ BadClass: GenericPalletError;
2742
2742
  /**
2743
2743
  * Generic pallet error
2744
2744
  **/
2745
- [error: string]: GenericPalletError<Rv>;
2745
+ [error: string]: GenericPalletError;
2746
2746
  };
2747
2747
  /**
2748
2748
  * Pallet `Whitelist`'s errors
@@ -2751,27 +2751,27 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2751
2751
  /**
2752
2752
  * The preimage of the call hash could not be loaded.
2753
2753
  **/
2754
- UnavailablePreImage: GenericPalletError<Rv>;
2754
+ UnavailablePreImage: GenericPalletError;
2755
2755
  /**
2756
2756
  * The call could not be decoded.
2757
2757
  **/
2758
- UndecodableCall: GenericPalletError<Rv>;
2758
+ UndecodableCall: GenericPalletError;
2759
2759
  /**
2760
2760
  * The weight of the decoded call was higher than the witness.
2761
2761
  **/
2762
- InvalidCallWeightWitness: GenericPalletError<Rv>;
2762
+ InvalidCallWeightWitness: GenericPalletError;
2763
2763
  /**
2764
2764
  * The call was not whitelisted.
2765
2765
  **/
2766
- CallIsNotWhitelisted: GenericPalletError<Rv>;
2766
+ CallIsNotWhitelisted: GenericPalletError;
2767
2767
  /**
2768
2768
  * The call was already whitelisted; No-Op.
2769
2769
  **/
2770
- CallAlreadyWhitelisted: GenericPalletError<Rv>;
2770
+ CallAlreadyWhitelisted: GenericPalletError;
2771
2771
  /**
2772
2772
  * Generic pallet error
2773
2773
  **/
2774
- [error: string]: GenericPalletError<Rv>;
2774
+ [error: string]: GenericPalletError;
2775
2775
  };
2776
2776
  /**
2777
2777
  * Pallet `AllianceMotion`'s errors
@@ -2780,55 +2780,55 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2780
2780
  /**
2781
2781
  * Account is not a member
2782
2782
  **/
2783
- NotMember: GenericPalletError<Rv>;
2783
+ NotMember: GenericPalletError;
2784
2784
  /**
2785
2785
  * Duplicate proposals not allowed
2786
2786
  **/
2787
- DuplicateProposal: GenericPalletError<Rv>;
2787
+ DuplicateProposal: GenericPalletError;
2788
2788
  /**
2789
2789
  * Proposal must exist
2790
2790
  **/
2791
- ProposalMissing: GenericPalletError<Rv>;
2791
+ ProposalMissing: GenericPalletError;
2792
2792
  /**
2793
2793
  * Mismatched index
2794
2794
  **/
2795
- WrongIndex: GenericPalletError<Rv>;
2795
+ WrongIndex: GenericPalletError;
2796
2796
  /**
2797
2797
  * Duplicate vote ignored
2798
2798
  **/
2799
- DuplicateVote: GenericPalletError<Rv>;
2799
+ DuplicateVote: GenericPalletError;
2800
2800
  /**
2801
2801
  * Members are already initialized!
2802
2802
  **/
2803
- AlreadyInitialized: GenericPalletError<Rv>;
2803
+ AlreadyInitialized: GenericPalletError;
2804
2804
  /**
2805
2805
  * The close call was made too early, before the end of the voting.
2806
2806
  **/
2807
- TooEarly: GenericPalletError<Rv>;
2807
+ TooEarly: GenericPalletError;
2808
2808
  /**
2809
2809
  * There can only be a maximum of `MaxProposals` active proposals.
2810
2810
  **/
2811
- TooManyProposals: GenericPalletError<Rv>;
2811
+ TooManyProposals: GenericPalletError;
2812
2812
  /**
2813
2813
  * The given weight bound for the proposal was too low.
2814
2814
  **/
2815
- WrongProposalWeight: GenericPalletError<Rv>;
2815
+ WrongProposalWeight: GenericPalletError;
2816
2816
  /**
2817
2817
  * The given length bound for the proposal was too low.
2818
2818
  **/
2819
- WrongProposalLength: GenericPalletError<Rv>;
2819
+ WrongProposalLength: GenericPalletError;
2820
2820
  /**
2821
2821
  * Prime account is not a member
2822
2822
  **/
2823
- PrimeAccountNotMember: GenericPalletError<Rv>;
2823
+ PrimeAccountNotMember: GenericPalletError;
2824
2824
  /**
2825
2825
  * Proposal is still active.
2826
2826
  **/
2827
- ProposalActive: GenericPalletError<Rv>;
2827
+ ProposalActive: GenericPalletError;
2828
2828
  /**
2829
2829
  * Generic pallet error
2830
2830
  **/
2831
- [error: string]: GenericPalletError<Rv>;
2831
+ [error: string]: GenericPalletError;
2832
2832
  };
2833
2833
  /**
2834
2834
  * Pallet `Alliance`'s errors
@@ -2837,104 +2837,104 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2837
2837
  /**
2838
2838
  * The Alliance has not been initialized yet, therefore accounts cannot join it.
2839
2839
  **/
2840
- AllianceNotYetInitialized: GenericPalletError<Rv>;
2840
+ AllianceNotYetInitialized: GenericPalletError;
2841
2841
  /**
2842
2842
  * The Alliance has been initialized, therefore cannot be initialized again.
2843
2843
  **/
2844
- AllianceAlreadyInitialized: GenericPalletError<Rv>;
2844
+ AllianceAlreadyInitialized: GenericPalletError;
2845
2845
  /**
2846
2846
  * Account is already a member.
2847
2847
  **/
2848
- AlreadyMember: GenericPalletError<Rv>;
2848
+ AlreadyMember: GenericPalletError;
2849
2849
  /**
2850
2850
  * Account is not a member.
2851
2851
  **/
2852
- NotMember: GenericPalletError<Rv>;
2852
+ NotMember: GenericPalletError;
2853
2853
  /**
2854
2854
  * Account is not an ally.
2855
2855
  **/
2856
- NotAlly: GenericPalletError<Rv>;
2856
+ NotAlly: GenericPalletError;
2857
2857
  /**
2858
2858
  * Account does not have voting rights.
2859
2859
  **/
2860
- NoVotingRights: GenericPalletError<Rv>;
2860
+ NoVotingRights: GenericPalletError;
2861
2861
  /**
2862
2862
  * Account is already an elevated (fellow) member.
2863
2863
  **/
2864
- AlreadyElevated: GenericPalletError<Rv>;
2864
+ AlreadyElevated: GenericPalletError;
2865
2865
  /**
2866
2866
  * Item is already listed as unscrupulous.
2867
2867
  **/
2868
- AlreadyUnscrupulous: GenericPalletError<Rv>;
2868
+ AlreadyUnscrupulous: GenericPalletError;
2869
2869
  /**
2870
2870
  * Account has been deemed unscrupulous by the Alliance and is not welcome to join or be
2871
2871
  * nominated.
2872
2872
  **/
2873
- AccountNonGrata: GenericPalletError<Rv>;
2873
+ AccountNonGrata: GenericPalletError;
2874
2874
  /**
2875
2875
  * Item has not been deemed unscrupulous.
2876
2876
  **/
2877
- NotListedAsUnscrupulous: GenericPalletError<Rv>;
2877
+ NotListedAsUnscrupulous: GenericPalletError;
2878
2878
  /**
2879
2879
  * The number of unscrupulous items exceeds `MaxUnscrupulousItems`.
2880
2880
  **/
2881
- TooManyUnscrupulousItems: GenericPalletError<Rv>;
2881
+ TooManyUnscrupulousItems: GenericPalletError;
2882
2882
  /**
2883
2883
  * Length of website URL exceeds `MaxWebsiteUrlLength`.
2884
2884
  **/
2885
- TooLongWebsiteUrl: GenericPalletError<Rv>;
2885
+ TooLongWebsiteUrl: GenericPalletError;
2886
2886
  /**
2887
2887
  * Balance is insufficient for the required deposit.
2888
2888
  **/
2889
- InsufficientFunds: GenericPalletError<Rv>;
2889
+ InsufficientFunds: GenericPalletError;
2890
2890
  /**
2891
2891
  * The account's identity does not have display field and website field.
2892
2892
  **/
2893
- WithoutRequiredIdentityFields: GenericPalletError<Rv>;
2893
+ WithoutRequiredIdentityFields: GenericPalletError;
2894
2894
  /**
2895
2895
  * The account's identity has no good judgement.
2896
2896
  **/
2897
- WithoutGoodIdentityJudgement: GenericPalletError<Rv>;
2897
+ WithoutGoodIdentityJudgement: GenericPalletError;
2898
2898
  /**
2899
2899
  * The proposal hash is not found.
2900
2900
  **/
2901
- MissingProposalHash: GenericPalletError<Rv>;
2901
+ MissingProposalHash: GenericPalletError;
2902
2902
  /**
2903
2903
  * The announcement is not found.
2904
2904
  **/
2905
- MissingAnnouncement: GenericPalletError<Rv>;
2905
+ MissingAnnouncement: GenericPalletError;
2906
2906
  /**
2907
2907
  * Number of members exceeds `MaxMembersCount`.
2908
2908
  **/
2909
- TooManyMembers: GenericPalletError<Rv>;
2909
+ TooManyMembers: GenericPalletError;
2910
2910
  /**
2911
2911
  * Number of announcements exceeds `MaxAnnouncementsCount`.
2912
2912
  **/
2913
- TooManyAnnouncements: GenericPalletError<Rv>;
2913
+ TooManyAnnouncements: GenericPalletError;
2914
2914
  /**
2915
2915
  * Invalid witness data given.
2916
2916
  **/
2917
- BadWitness: GenericPalletError<Rv>;
2917
+ BadWitness: GenericPalletError;
2918
2918
  /**
2919
2919
  * Account already gave retirement notice
2920
2920
  **/
2921
- AlreadyRetiring: GenericPalletError<Rv>;
2921
+ AlreadyRetiring: GenericPalletError;
2922
2922
  /**
2923
2923
  * Account did not give a retirement notice required to retire.
2924
2924
  **/
2925
- RetirementNoticeNotGiven: GenericPalletError<Rv>;
2925
+ RetirementNoticeNotGiven: GenericPalletError;
2926
2926
  /**
2927
2927
  * Retirement period has not passed.
2928
2928
  **/
2929
- RetirementPeriodNotPassed: GenericPalletError<Rv>;
2929
+ RetirementPeriodNotPassed: GenericPalletError;
2930
2930
  /**
2931
2931
  * Fellows must be provided to initialize the Alliance.
2932
2932
  **/
2933
- FellowsMissing: GenericPalletError<Rv>;
2933
+ FellowsMissing: GenericPalletError;
2934
2934
  /**
2935
2935
  * Generic pallet error
2936
2936
  **/
2937
- [error: string]: GenericPalletError<Rv>;
2937
+ [error: string]: GenericPalletError;
2938
2938
  };
2939
2939
  /**
2940
2940
  * Pallet `NominationPools`'s errors
@@ -2943,37 +2943,37 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2943
2943
  /**
2944
2944
  * A (bonded) pool id does not exist.
2945
2945
  **/
2946
- PoolNotFound: GenericPalletError<Rv>;
2946
+ PoolNotFound: GenericPalletError;
2947
2947
  /**
2948
2948
  * An account is not a member.
2949
2949
  **/
2950
- PoolMemberNotFound: GenericPalletError<Rv>;
2950
+ PoolMemberNotFound: GenericPalletError;
2951
2951
  /**
2952
2952
  * A reward pool does not exist. In all cases this is a system logic error.
2953
2953
  **/
2954
- RewardPoolNotFound: GenericPalletError<Rv>;
2954
+ RewardPoolNotFound: GenericPalletError;
2955
2955
  /**
2956
2956
  * A sub pool does not exist.
2957
2957
  **/
2958
- SubPoolsNotFound: GenericPalletError<Rv>;
2958
+ SubPoolsNotFound: GenericPalletError;
2959
2959
  /**
2960
2960
  * An account is already delegating in another pool. An account may only belong to one
2961
2961
  * pool at a time.
2962
2962
  **/
2963
- AccountBelongsToOtherPool: GenericPalletError<Rv>;
2963
+ AccountBelongsToOtherPool: GenericPalletError;
2964
2964
  /**
2965
2965
  * The member is fully unbonded (and thus cannot access the bonded and reward pool
2966
2966
  * anymore to, for example, collect rewards).
2967
2967
  **/
2968
- FullyUnbonding: GenericPalletError<Rv>;
2968
+ FullyUnbonding: GenericPalletError;
2969
2969
  /**
2970
2970
  * The member cannot unbond further chunks due to reaching the limit.
2971
2971
  **/
2972
- MaxUnbondingLimit: GenericPalletError<Rv>;
2972
+ MaxUnbondingLimit: GenericPalletError;
2973
2973
  /**
2974
2974
  * None of the funds can be withdrawn yet because the bonding duration has not passed.
2975
2975
  **/
2976
- CannotWithdrawAny: GenericPalletError<Rv>;
2976
+ CannotWithdrawAny: GenericPalletError;
2977
2977
  /**
2978
2978
  * The amount does not meet the minimum bond to either join or create a pool.
2979
2979
  *
@@ -2981,130 +2981,130 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2981
2981
  * caller does not have nominating permissions for the pool. Members can never unbond to a
2982
2982
  * value below `MinJoinBond`.
2983
2983
  **/
2984
- MinimumBondNotMet: GenericPalletError<Rv>;
2984
+ MinimumBondNotMet: GenericPalletError;
2985
2985
  /**
2986
2986
  * The transaction could not be executed due to overflow risk for the pool.
2987
2987
  **/
2988
- OverflowRisk: GenericPalletError<Rv>;
2988
+ OverflowRisk: GenericPalletError;
2989
2989
  /**
2990
2990
  * A pool must be in [`PoolState::Destroying`] in order for the depositor to unbond or for
2991
2991
  * other members to be permissionlessly unbonded.
2992
2992
  **/
2993
- NotDestroying: GenericPalletError<Rv>;
2993
+ NotDestroying: GenericPalletError;
2994
2994
  /**
2995
2995
  * The caller does not have nominating permissions for the pool.
2996
2996
  **/
2997
- NotNominator: GenericPalletError<Rv>;
2997
+ NotNominator: GenericPalletError;
2998
2998
  /**
2999
2999
  * Either a) the caller cannot make a valid kick or b) the pool is not destroying.
3000
3000
  **/
3001
- NotKickerOrDestroying: GenericPalletError<Rv>;
3001
+ NotKickerOrDestroying: GenericPalletError;
3002
3002
  /**
3003
3003
  * The pool is not open to join
3004
3004
  **/
3005
- NotOpen: GenericPalletError<Rv>;
3005
+ NotOpen: GenericPalletError;
3006
3006
  /**
3007
3007
  * The system is maxed out on pools.
3008
3008
  **/
3009
- MaxPools: GenericPalletError<Rv>;
3009
+ MaxPools: GenericPalletError;
3010
3010
  /**
3011
3011
  * Too many members in the pool or system.
3012
3012
  **/
3013
- MaxPoolMembers: GenericPalletError<Rv>;
3013
+ MaxPoolMembers: GenericPalletError;
3014
3014
  /**
3015
3015
  * The pools state cannot be changed.
3016
3016
  **/
3017
- CanNotChangeState: GenericPalletError<Rv>;
3017
+ CanNotChangeState: GenericPalletError;
3018
3018
  /**
3019
3019
  * The caller does not have adequate permissions.
3020
3020
  **/
3021
- DoesNotHavePermission: GenericPalletError<Rv>;
3021
+ DoesNotHavePermission: GenericPalletError;
3022
3022
  /**
3023
3023
  * Metadata exceeds [`Config::MaxMetadataLen`]
3024
3024
  **/
3025
- MetadataExceedsMaxLen: GenericPalletError<Rv>;
3025
+ MetadataExceedsMaxLen: GenericPalletError;
3026
3026
  /**
3027
3027
  * Some error occurred that should never happen. This should be reported to the
3028
3028
  * maintainers.
3029
3029
  **/
3030
- Defensive: GenericPalletError<Rv>;
3030
+ Defensive: GenericPalletError;
3031
3031
  /**
3032
3032
  * Partial unbonding now allowed permissionlessly.
3033
3033
  **/
3034
- PartialUnbondNotAllowedPermissionlessly: GenericPalletError<Rv>;
3034
+ PartialUnbondNotAllowedPermissionlessly: GenericPalletError;
3035
3035
  /**
3036
3036
  * The pool's max commission cannot be set higher than the existing value.
3037
3037
  **/
3038
- MaxCommissionRestricted: GenericPalletError<Rv>;
3038
+ MaxCommissionRestricted: GenericPalletError;
3039
3039
  /**
3040
3040
  * The supplied commission exceeds the max allowed commission.
3041
3041
  **/
3042
- CommissionExceedsMaximum: GenericPalletError<Rv>;
3042
+ CommissionExceedsMaximum: GenericPalletError;
3043
3043
  /**
3044
3044
  * The supplied commission exceeds global maximum commission.
3045
3045
  **/
3046
- CommissionExceedsGlobalMaximum: GenericPalletError<Rv>;
3046
+ CommissionExceedsGlobalMaximum: GenericPalletError;
3047
3047
  /**
3048
3048
  * Not enough blocks have surpassed since the last commission update.
3049
3049
  **/
3050
- CommissionChangeThrottled: GenericPalletError<Rv>;
3050
+ CommissionChangeThrottled: GenericPalletError;
3051
3051
  /**
3052
3052
  * The submitted changes to commission change rate are not allowed.
3053
3053
  **/
3054
- CommissionChangeRateNotAllowed: GenericPalletError<Rv>;
3054
+ CommissionChangeRateNotAllowed: GenericPalletError;
3055
3055
  /**
3056
3056
  * There is no pending commission to claim.
3057
3057
  **/
3058
- NoPendingCommission: GenericPalletError<Rv>;
3058
+ NoPendingCommission: GenericPalletError;
3059
3059
  /**
3060
3060
  * No commission current has been set.
3061
3061
  **/
3062
- NoCommissionCurrentSet: GenericPalletError<Rv>;
3062
+ NoCommissionCurrentSet: GenericPalletError;
3063
3063
  /**
3064
3064
  * Pool id currently in use.
3065
3065
  **/
3066
- PoolIdInUse: GenericPalletError<Rv>;
3066
+ PoolIdInUse: GenericPalletError;
3067
3067
  /**
3068
3068
  * Pool id provided is not correct/usable.
3069
3069
  **/
3070
- InvalidPoolId: GenericPalletError<Rv>;
3070
+ InvalidPoolId: GenericPalletError;
3071
3071
  /**
3072
3072
  * Bonding extra is restricted to the exact pending reward amount.
3073
3073
  **/
3074
- BondExtraRestricted: GenericPalletError<Rv>;
3074
+ BondExtraRestricted: GenericPalletError;
3075
3075
  /**
3076
3076
  * No imbalance in the ED deposit for the pool.
3077
3077
  **/
3078
- NothingToAdjust: GenericPalletError<Rv>;
3078
+ NothingToAdjust: GenericPalletError;
3079
3079
  /**
3080
3080
  * No slash pending that can be applied to the member.
3081
3081
  **/
3082
- NothingToSlash: GenericPalletError<Rv>;
3082
+ NothingToSlash: GenericPalletError;
3083
3083
  /**
3084
3084
  * The slash amount is too low to be applied.
3085
3085
  **/
3086
- SlashTooLow: GenericPalletError<Rv>;
3086
+ SlashTooLow: GenericPalletError;
3087
3087
  /**
3088
3088
  * The pool or member delegation has already migrated to delegate stake.
3089
3089
  **/
3090
- AlreadyMigrated: GenericPalletError<Rv>;
3090
+ AlreadyMigrated: GenericPalletError;
3091
3091
  /**
3092
3092
  * The pool or member delegation has not migrated yet to delegate stake.
3093
3093
  **/
3094
- NotMigrated: GenericPalletError<Rv>;
3094
+ NotMigrated: GenericPalletError;
3095
3095
  /**
3096
3096
  * This call is not allowed in the current state of the pallet.
3097
3097
  **/
3098
- NotSupported: GenericPalletError<Rv>;
3098
+ NotSupported: GenericPalletError;
3099
3099
  /**
3100
3100
  * Account is restricted from participation in pools. This may happen if the account is
3101
3101
  * staking in another way already.
3102
3102
  **/
3103
- Restricted: GenericPalletError<Rv>;
3103
+ Restricted: GenericPalletError;
3104
3104
  /**
3105
3105
  * Generic pallet error
3106
3106
  **/
3107
- [error: string]: GenericPalletError<Rv>;
3107
+ [error: string]: GenericPalletError;
3108
3108
  };
3109
3109
  /**
3110
3110
  * Pallet `RankedPolls`'s errors
@@ -3113,63 +3113,63 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
3113
3113
  /**
3114
3114
  * Referendum is not ongoing.
3115
3115
  **/
3116
- NotOngoing: GenericPalletError<Rv>;
3116
+ NotOngoing: GenericPalletError;
3117
3117
  /**
3118
3118
  * Referendum's decision deposit is already paid.
3119
3119
  **/
3120
- HasDeposit: GenericPalletError<Rv>;
3120
+ HasDeposit: GenericPalletError;
3121
3121
  /**
3122
3122
  * The track identifier given was invalid.
3123
3123
  **/
3124
- BadTrack: GenericPalletError<Rv>;
3124
+ BadTrack: GenericPalletError;
3125
3125
  /**
3126
3126
  * There are already a full complement of referenda in progress for this track.
3127
3127
  **/
3128
- Full: GenericPalletError<Rv>;
3128
+ Full: GenericPalletError;
3129
3129
  /**
3130
3130
  * The queue of the track is empty.
3131
3131
  **/
3132
- QueueEmpty: GenericPalletError<Rv>;
3132
+ QueueEmpty: GenericPalletError;
3133
3133
  /**
3134
3134
  * The referendum index provided is invalid in this context.
3135
3135
  **/
3136
- BadReferendum: GenericPalletError<Rv>;
3136
+ BadReferendum: GenericPalletError;
3137
3137
  /**
3138
3138
  * There was nothing to do in the advancement.
3139
3139
  **/
3140
- NothingToDo: GenericPalletError<Rv>;
3140
+ NothingToDo: GenericPalletError;
3141
3141
  /**
3142
3142
  * No track exists for the proposal origin.
3143
3143
  **/
3144
- NoTrack: GenericPalletError<Rv>;
3144
+ NoTrack: GenericPalletError;
3145
3145
  /**
3146
3146
  * Any deposit cannot be refunded until after the decision is over.
3147
3147
  **/
3148
- Unfinished: GenericPalletError<Rv>;
3148
+ Unfinished: GenericPalletError;
3149
3149
  /**
3150
3150
  * The deposit refunder is not the depositor.
3151
3151
  **/
3152
- NoPermission: GenericPalletError<Rv>;
3152
+ NoPermission: GenericPalletError;
3153
3153
  /**
3154
3154
  * The deposit cannot be refunded since none was made.
3155
3155
  **/
3156
- NoDeposit: GenericPalletError<Rv>;
3156
+ NoDeposit: GenericPalletError;
3157
3157
  /**
3158
3158
  * The referendum status is invalid for this operation.
3159
3159
  **/
3160
- BadStatus: GenericPalletError<Rv>;
3160
+ BadStatus: GenericPalletError;
3161
3161
  /**
3162
3162
  * The preimage does not exist.
3163
3163
  **/
3164
- PreimageNotExist: GenericPalletError<Rv>;
3164
+ PreimageNotExist: GenericPalletError;
3165
3165
  /**
3166
3166
  * The preimage is stored with a different length than the one provided.
3167
3167
  **/
3168
- PreimageStoredWithDifferentLength: GenericPalletError<Rv>;
3168
+ PreimageStoredWithDifferentLength: GenericPalletError;
3169
3169
  /**
3170
3170
  * Generic pallet error
3171
3171
  **/
3172
- [error: string]: GenericPalletError<Rv>;
3172
+ [error: string]: GenericPalletError;
3173
3173
  };
3174
3174
  /**
3175
3175
  * Pallet `RankedCollective`'s errors
@@ -3178,51 +3178,51 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
3178
3178
  /**
3179
3179
  * Account is already a member.
3180
3180
  **/
3181
- AlreadyMember: GenericPalletError<Rv>;
3181
+ AlreadyMember: GenericPalletError;
3182
3182
  /**
3183
3183
  * Account is not a member.
3184
3184
  **/
3185
- NotMember: GenericPalletError<Rv>;
3185
+ NotMember: GenericPalletError;
3186
3186
  /**
3187
3187
  * The given poll index is unknown or has closed.
3188
3188
  **/
3189
- NotPolling: GenericPalletError<Rv>;
3189
+ NotPolling: GenericPalletError;
3190
3190
  /**
3191
3191
  * The given poll is still ongoing.
3192
3192
  **/
3193
- Ongoing: GenericPalletError<Rv>;
3193
+ Ongoing: GenericPalletError;
3194
3194
  /**
3195
3195
  * There are no further records to be removed.
3196
3196
  **/
3197
- NoneRemaining: GenericPalletError<Rv>;
3197
+ NoneRemaining: GenericPalletError;
3198
3198
  /**
3199
3199
  * Unexpected error in state.
3200
3200
  **/
3201
- Corruption: GenericPalletError<Rv>;
3201
+ Corruption: GenericPalletError;
3202
3202
  /**
3203
3203
  * The member's rank is too low to vote.
3204
3204
  **/
3205
- RankTooLow: GenericPalletError<Rv>;
3205
+ RankTooLow: GenericPalletError;
3206
3206
  /**
3207
3207
  * The information provided is incorrect.
3208
3208
  **/
3209
- InvalidWitness: GenericPalletError<Rv>;
3209
+ InvalidWitness: GenericPalletError;
3210
3210
  /**
3211
3211
  * The origin is not sufficiently privileged to do the operation.
3212
3212
  **/
3213
- NoPermission: GenericPalletError<Rv>;
3213
+ NoPermission: GenericPalletError;
3214
3214
  /**
3215
3215
  * The new member to exchange is the same as the old member
3216
3216
  **/
3217
- SameMember: GenericPalletError<Rv>;
3217
+ SameMember: GenericPalletError;
3218
3218
  /**
3219
3219
  * The max member count for the rank has been reached.
3220
3220
  **/
3221
- TooManyMembers: GenericPalletError<Rv>;
3221
+ TooManyMembers: GenericPalletError;
3222
3222
  /**
3223
3223
  * Generic pallet error
3224
3224
  **/
3225
- [error: string]: GenericPalletError<Rv>;
3225
+ [error: string]: GenericPalletError;
3226
3226
  };
3227
3227
  /**
3228
3228
  * Pallet `AssetConversion`'s errors
@@ -3231,102 +3231,102 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
3231
3231
  /**
3232
3232
  * Provided asset pair is not supported for pool.
3233
3233
  **/
3234
- InvalidAssetPair: GenericPalletError<Rv>;
3234
+ InvalidAssetPair: GenericPalletError;
3235
3235
  /**
3236
3236
  * Pool already exists.
3237
3237
  **/
3238
- PoolExists: GenericPalletError<Rv>;
3238
+ PoolExists: GenericPalletError;
3239
3239
  /**
3240
3240
  * Desired amount can't be zero.
3241
3241
  **/
3242
- WrongDesiredAmount: GenericPalletError<Rv>;
3242
+ WrongDesiredAmount: GenericPalletError;
3243
3243
  /**
3244
3244
  * Provided amount should be greater than or equal to the existential deposit/asset's
3245
3245
  * minimal amount.
3246
3246
  **/
3247
- AmountOneLessThanMinimal: GenericPalletError<Rv>;
3247
+ AmountOneLessThanMinimal: GenericPalletError;
3248
3248
  /**
3249
3249
  * Provided amount should be greater than or equal to the existential deposit/asset's
3250
3250
  * minimal amount.
3251
3251
  **/
3252
- AmountTwoLessThanMinimal: GenericPalletError<Rv>;
3252
+ AmountTwoLessThanMinimal: GenericPalletError;
3253
3253
  /**
3254
3254
  * Reserve needs to always be greater than or equal to the existential deposit/asset's
3255
3255
  * minimal amount.
3256
3256
  **/
3257
- ReserveLeftLessThanMinimal: GenericPalletError<Rv>;
3257
+ ReserveLeftLessThanMinimal: GenericPalletError;
3258
3258
  /**
3259
3259
  * Desired amount can't be equal to the pool reserve.
3260
3260
  **/
3261
- AmountOutTooHigh: GenericPalletError<Rv>;
3261
+ AmountOutTooHigh: GenericPalletError;
3262
3262
  /**
3263
3263
  * The pool doesn't exist.
3264
3264
  **/
3265
- PoolNotFound: GenericPalletError<Rv>;
3265
+ PoolNotFound: GenericPalletError;
3266
3266
  /**
3267
3267
  * An overflow happened.
3268
3268
  **/
3269
- Overflow: GenericPalletError<Rv>;
3269
+ Overflow: GenericPalletError;
3270
3270
  /**
3271
3271
  * The minimal amount requirement for the first token in the pair wasn't met.
3272
3272
  **/
3273
- AssetOneDepositDidNotMeetMinimum: GenericPalletError<Rv>;
3273
+ AssetOneDepositDidNotMeetMinimum: GenericPalletError;
3274
3274
  /**
3275
3275
  * The minimal amount requirement for the second token in the pair wasn't met.
3276
3276
  **/
3277
- AssetTwoDepositDidNotMeetMinimum: GenericPalletError<Rv>;
3277
+ AssetTwoDepositDidNotMeetMinimum: GenericPalletError;
3278
3278
  /**
3279
3279
  * The minimal amount requirement for the first token in the pair wasn't met.
3280
3280
  **/
3281
- AssetOneWithdrawalDidNotMeetMinimum: GenericPalletError<Rv>;
3281
+ AssetOneWithdrawalDidNotMeetMinimum: GenericPalletError;
3282
3282
  /**
3283
3283
  * The minimal amount requirement for the second token in the pair wasn't met.
3284
3284
  **/
3285
- AssetTwoWithdrawalDidNotMeetMinimum: GenericPalletError<Rv>;
3285
+ AssetTwoWithdrawalDidNotMeetMinimum: GenericPalletError;
3286
3286
  /**
3287
3287
  * Optimal calculated amount is less than desired.
3288
3288
  **/
3289
- OptimalAmountLessThanDesired: GenericPalletError<Rv>;
3289
+ OptimalAmountLessThanDesired: GenericPalletError;
3290
3290
  /**
3291
3291
  * Insufficient liquidity minted.
3292
3292
  **/
3293
- InsufficientLiquidityMinted: GenericPalletError<Rv>;
3293
+ InsufficientLiquidityMinted: GenericPalletError;
3294
3294
  /**
3295
3295
  * Requested liquidity can't be zero.
3296
3296
  **/
3297
- ZeroLiquidity: GenericPalletError<Rv>;
3297
+ ZeroLiquidity: GenericPalletError;
3298
3298
  /**
3299
3299
  * Amount can't be zero.
3300
3300
  **/
3301
- ZeroAmount: GenericPalletError<Rv>;
3301
+ ZeroAmount: GenericPalletError;
3302
3302
  /**
3303
3303
  * Calculated amount out is less than provided minimum amount.
3304
3304
  **/
3305
- ProvidedMinimumNotSufficientForSwap: GenericPalletError<Rv>;
3305
+ ProvidedMinimumNotSufficientForSwap: GenericPalletError;
3306
3306
  /**
3307
3307
  * Provided maximum amount is not sufficient for swap.
3308
3308
  **/
3309
- ProvidedMaximumNotSufficientForSwap: GenericPalletError<Rv>;
3309
+ ProvidedMaximumNotSufficientForSwap: GenericPalletError;
3310
3310
  /**
3311
3311
  * The provided path must consists of 2 assets at least.
3312
3312
  **/
3313
- InvalidPath: GenericPalletError<Rv>;
3313
+ InvalidPath: GenericPalletError;
3314
3314
  /**
3315
3315
  * The provided path must consists of unique assets.
3316
3316
  **/
3317
- NonUniquePath: GenericPalletError<Rv>;
3317
+ NonUniquePath: GenericPalletError;
3318
3318
  /**
3319
3319
  * It was not possible to get or increment the Id of the pool.
3320
3320
  **/
3321
- IncorrectPoolAssetId: GenericPalletError<Rv>;
3321
+ IncorrectPoolAssetId: GenericPalletError;
3322
3322
  /**
3323
3323
  * The destination account cannot exist with the swapped funds.
3324
3324
  **/
3325
- BelowMinimum: GenericPalletError<Rv>;
3325
+ BelowMinimum: GenericPalletError;
3326
3326
  /**
3327
3327
  * Generic pallet error
3328
3328
  **/
3329
- [error: string]: GenericPalletError<Rv>;
3329
+ [error: string]: GenericPalletError;
3330
3330
  };
3331
3331
  /**
3332
3332
  * Pallet `FastUnstake`'s errors
@@ -3337,31 +3337,31 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
3337
3337
  *
3338
3338
  * This means that the given account is not bonded.
3339
3339
  **/
3340
- NotController: GenericPalletError<Rv>;
3340
+ NotController: GenericPalletError;
3341
3341
  /**
3342
3342
  * The bonded account has already been queued.
3343
3343
  **/
3344
- AlreadyQueued: GenericPalletError<Rv>;
3344
+ AlreadyQueued: GenericPalletError;
3345
3345
  /**
3346
3346
  * The bonded account has active unlocking chunks.
3347
3347
  **/
3348
- NotFullyBonded: GenericPalletError<Rv>;
3348
+ NotFullyBonded: GenericPalletError;
3349
3349
  /**
3350
3350
  * The provided un-staker is not in the `Queue`.
3351
3351
  **/
3352
- NotQueued: GenericPalletError<Rv>;
3352
+ NotQueued: GenericPalletError;
3353
3353
  /**
3354
3354
  * The provided un-staker is already in Head, and cannot deregister.
3355
3355
  **/
3356
- AlreadyHead: GenericPalletError<Rv>;
3356
+ AlreadyHead: GenericPalletError;
3357
3357
  /**
3358
3358
  * The call is not allowed at this point because the pallet is not active.
3359
3359
  **/
3360
- CallNotAllowed: GenericPalletError<Rv>;
3360
+ CallNotAllowed: GenericPalletError;
3361
3361
  /**
3362
3362
  * Generic pallet error
3363
3363
  **/
3364
- [error: string]: GenericPalletError<Rv>;
3364
+ [error: string]: GenericPalletError;
3365
3365
  };
3366
3366
  /**
3367
3367
  * Pallet `MessageQueue`'s errors
@@ -3371,48 +3371,48 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
3371
3371
  * Page is not reapable because it has items remaining to be processed and is not old
3372
3372
  * enough.
3373
3373
  **/
3374
- NotReapable: GenericPalletError<Rv>;
3374
+ NotReapable: GenericPalletError;
3375
3375
  /**
3376
3376
  * Page to be reaped does not exist.
3377
3377
  **/
3378
- NoPage: GenericPalletError<Rv>;
3378
+ NoPage: GenericPalletError;
3379
3379
  /**
3380
3380
  * The referenced message could not be found.
3381
3381
  **/
3382
- NoMessage: GenericPalletError<Rv>;
3382
+ NoMessage: GenericPalletError;
3383
3383
  /**
3384
3384
  * The message was already processed and cannot be processed again.
3385
3385
  **/
3386
- AlreadyProcessed: GenericPalletError<Rv>;
3386
+ AlreadyProcessed: GenericPalletError;
3387
3387
  /**
3388
3388
  * The message is queued for future execution.
3389
3389
  **/
3390
- Queued: GenericPalletError<Rv>;
3390
+ Queued: GenericPalletError;
3391
3391
  /**
3392
3392
  * There is temporarily not enough weight to continue servicing messages.
3393
3393
  **/
3394
- InsufficientWeight: GenericPalletError<Rv>;
3394
+ InsufficientWeight: GenericPalletError;
3395
3395
  /**
3396
3396
  * This message is temporarily unprocessable.
3397
3397
  *
3398
3398
  * Such errors are expected, but not guaranteed, to resolve themselves eventually through
3399
3399
  * retrying.
3400
3400
  **/
3401
- TemporarilyUnprocessable: GenericPalletError<Rv>;
3401
+ TemporarilyUnprocessable: GenericPalletError;
3402
3402
  /**
3403
3403
  * The queue is paused and no message can be executed from it.
3404
3404
  *
3405
3405
  * This can change at any time and may resolve in the future by re-trying.
3406
3406
  **/
3407
- QueuePaused: GenericPalletError<Rv>;
3407
+ QueuePaused: GenericPalletError;
3408
3408
  /**
3409
3409
  * Another call is in progress and needs to finish before this call can happen.
3410
3410
  **/
3411
- RecursiveDisallowed: GenericPalletError<Rv>;
3411
+ RecursiveDisallowed: GenericPalletError;
3412
3412
  /**
3413
3413
  * Generic pallet error
3414
3414
  **/
3415
- [error: string]: GenericPalletError<Rv>;
3415
+ [error: string]: GenericPalletError;
3416
3416
  };
3417
3417
  /**
3418
3418
  * Pallet `TxPause`'s errors
@@ -3421,20 +3421,20 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
3421
3421
  /**
3422
3422
  * The call is paused.
3423
3423
  **/
3424
- IsPaused: GenericPalletError<Rv>;
3424
+ IsPaused: GenericPalletError;
3425
3425
  /**
3426
3426
  * The call is unpaused.
3427
3427
  **/
3428
- IsUnpaused: GenericPalletError<Rv>;
3428
+ IsUnpaused: GenericPalletError;
3429
3429
  /**
3430
3430
  * The call is whitelisted and cannot be paused.
3431
3431
  **/
3432
- Unpausable: GenericPalletError<Rv>;
3433
- NotFound: GenericPalletError<Rv>;
3432
+ Unpausable: GenericPalletError;
3433
+ NotFound: GenericPalletError;
3434
3434
  /**
3435
3435
  * Generic pallet error
3436
3436
  **/
3437
- [error: string]: GenericPalletError<Rv>;
3437
+ [error: string]: GenericPalletError;
3438
3438
  };
3439
3439
  /**
3440
3440
  * Pallet `SafeMode`'s errors
@@ -3443,35 +3443,35 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
3443
3443
  /**
3444
3444
  * The safe-mode is (already or still) entered.
3445
3445
  **/
3446
- Entered: GenericPalletError<Rv>;
3446
+ Entered: GenericPalletError;
3447
3447
  /**
3448
3448
  * The safe-mode is (already or still) exited.
3449
3449
  **/
3450
- Exited: GenericPalletError<Rv>;
3450
+ Exited: GenericPalletError;
3451
3451
  /**
3452
3452
  * This functionality of the pallet is disabled by the configuration.
3453
3453
  **/
3454
- NotConfigured: GenericPalletError<Rv>;
3454
+ NotConfigured: GenericPalletError;
3455
3455
  /**
3456
3456
  * There is no balance reserved.
3457
3457
  **/
3458
- NoDeposit: GenericPalletError<Rv>;
3458
+ NoDeposit: GenericPalletError;
3459
3459
  /**
3460
3460
  * The account already has a deposit reserved and can therefore not enter or extend again.
3461
3461
  **/
3462
- AlreadyDeposited: GenericPalletError<Rv>;
3462
+ AlreadyDeposited: GenericPalletError;
3463
3463
  /**
3464
3464
  * This deposit cannot be released yet.
3465
3465
  **/
3466
- CannotReleaseYet: GenericPalletError<Rv>;
3466
+ CannotReleaseYet: GenericPalletError;
3467
3467
  /**
3468
3468
  * An error from the underlying `Currency`.
3469
3469
  **/
3470
- CurrencyError: GenericPalletError<Rv>;
3470
+ CurrencyError: GenericPalletError;
3471
3471
  /**
3472
3472
  * Generic pallet error
3473
3473
  **/
3474
- [error: string]: GenericPalletError<Rv>;
3474
+ [error: string]: GenericPalletError;
3475
3475
  };
3476
3476
  /**
3477
3477
  * Pallet `MultiBlockMigrations`'s errors
@@ -3480,11 +3480,11 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
3480
3480
  /**
3481
3481
  * The operation cannot complete since some MBMs are ongoing.
3482
3482
  **/
3483
- Ongoing: GenericPalletError<Rv>;
3483
+ Ongoing: GenericPalletError;
3484
3484
  /**
3485
3485
  * Generic pallet error
3486
3486
  **/
3487
- [error: string]: GenericPalletError<Rv>;
3487
+ [error: string]: GenericPalletError;
3488
3488
  };
3489
3489
  /**
3490
3490
  * Pallet `Broker`'s errors
@@ -3493,159 +3493,159 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
3493
3493
  /**
3494
3494
  * The given region identity is not known.
3495
3495
  **/
3496
- UnknownRegion: GenericPalletError<Rv>;
3496
+ UnknownRegion: GenericPalletError;
3497
3497
  /**
3498
3498
  * The owner of the region is not the origin.
3499
3499
  **/
3500
- NotOwner: GenericPalletError<Rv>;
3500
+ NotOwner: GenericPalletError;
3501
3501
  /**
3502
3502
  * The pivot point of the partition at or after the end of the region.
3503
3503
  **/
3504
- PivotTooLate: GenericPalletError<Rv>;
3504
+ PivotTooLate: GenericPalletError;
3505
3505
  /**
3506
3506
  * The pivot point of the partition at the beginning of the region.
3507
3507
  **/
3508
- PivotTooEarly: GenericPalletError<Rv>;
3508
+ PivotTooEarly: GenericPalletError;
3509
3509
  /**
3510
3510
  * The pivot mask for the interlacing is not contained within the region's interlace mask.
3511
3511
  **/
3512
- ExteriorPivot: GenericPalletError<Rv>;
3512
+ ExteriorPivot: GenericPalletError;
3513
3513
  /**
3514
3514
  * The pivot mask for the interlacing is void (and therefore unschedulable).
3515
3515
  **/
3516
- VoidPivot: GenericPalletError<Rv>;
3516
+ VoidPivot: GenericPalletError;
3517
3517
  /**
3518
3518
  * The pivot mask for the interlacing is complete (and therefore not a strict subset).
3519
3519
  **/
3520
- CompletePivot: GenericPalletError<Rv>;
3520
+ CompletePivot: GenericPalletError;
3521
3521
  /**
3522
3522
  * The workplan of the pallet's state is invalid. This indicates a state corruption.
3523
3523
  **/
3524
- CorruptWorkplan: GenericPalletError<Rv>;
3524
+ CorruptWorkplan: GenericPalletError;
3525
3525
  /**
3526
3526
  * There is no sale happening currently.
3527
3527
  **/
3528
- NoSales: GenericPalletError<Rv>;
3528
+ NoSales: GenericPalletError;
3529
3529
  /**
3530
3530
  * The price limit is exceeded.
3531
3531
  **/
3532
- Overpriced: GenericPalletError<Rv>;
3532
+ Overpriced: GenericPalletError;
3533
3533
  /**
3534
3534
  * There are no cores available.
3535
3535
  **/
3536
- Unavailable: GenericPalletError<Rv>;
3536
+ Unavailable: GenericPalletError;
3537
3537
  /**
3538
3538
  * The sale limit has been reached.
3539
3539
  **/
3540
- SoldOut: GenericPalletError<Rv>;
3540
+ SoldOut: GenericPalletError;
3541
3541
  /**
3542
3542
  * The renewal operation is not valid at the current time (it may become valid in the next
3543
3543
  * sale).
3544
3544
  **/
3545
- WrongTime: GenericPalletError<Rv>;
3545
+ WrongTime: GenericPalletError;
3546
3546
  /**
3547
3547
  * Invalid attempt to renew.
3548
3548
  **/
3549
- NotAllowed: GenericPalletError<Rv>;
3549
+ NotAllowed: GenericPalletError;
3550
3550
  /**
3551
3551
  * This pallet has not yet been initialized.
3552
3552
  **/
3553
- Uninitialized: GenericPalletError<Rv>;
3553
+ Uninitialized: GenericPalletError;
3554
3554
  /**
3555
3555
  * The purchase cannot happen yet as the sale period is yet to begin.
3556
3556
  **/
3557
- TooEarly: GenericPalletError<Rv>;
3557
+ TooEarly: GenericPalletError;
3558
3558
  /**
3559
3559
  * There is no work to be done.
3560
3560
  **/
3561
- NothingToDo: GenericPalletError<Rv>;
3561
+ NothingToDo: GenericPalletError;
3562
3562
  /**
3563
3563
  * The maximum amount of reservations has already been reached.
3564
3564
  **/
3565
- TooManyReservations: GenericPalletError<Rv>;
3565
+ TooManyReservations: GenericPalletError;
3566
3566
  /**
3567
3567
  * The maximum amount of leases has already been reached.
3568
3568
  **/
3569
- TooManyLeases: GenericPalletError<Rv>;
3569
+ TooManyLeases: GenericPalletError;
3570
3570
  /**
3571
3571
  * The lease does not exist.
3572
3572
  **/
3573
- LeaseNotFound: GenericPalletError<Rv>;
3573
+ LeaseNotFound: GenericPalletError;
3574
3574
  /**
3575
3575
  * The revenue for the Instantaneous Core Sales of this period is not (yet) known and thus
3576
3576
  * this operation cannot proceed.
3577
3577
  **/
3578
- UnknownRevenue: GenericPalletError<Rv>;
3578
+ UnknownRevenue: GenericPalletError;
3579
3579
  /**
3580
3580
  * The identified contribution to the Instantaneous Core Pool is unknown.
3581
3581
  **/
3582
- UnknownContribution: GenericPalletError<Rv>;
3582
+ UnknownContribution: GenericPalletError;
3583
3583
  /**
3584
3584
  * The workload assigned for renewal is incomplete. This is unexpected and indicates a
3585
3585
  * logic error.
3586
3586
  **/
3587
- IncompleteAssignment: GenericPalletError<Rv>;
3587
+ IncompleteAssignment: GenericPalletError;
3588
3588
  /**
3589
3589
  * An item cannot be dropped because it is still valid.
3590
3590
  **/
3591
- StillValid: GenericPalletError<Rv>;
3591
+ StillValid: GenericPalletError;
3592
3592
  /**
3593
3593
  * The history item does not exist.
3594
3594
  **/
3595
- NoHistory: GenericPalletError<Rv>;
3595
+ NoHistory: GenericPalletError;
3596
3596
  /**
3597
3597
  * No reservation of the given index exists.
3598
3598
  **/
3599
- UnknownReservation: GenericPalletError<Rv>;
3599
+ UnknownReservation: GenericPalletError;
3600
3600
  /**
3601
3601
  * The renewal record cannot be found.
3602
3602
  **/
3603
- UnknownRenewal: GenericPalletError<Rv>;
3603
+ UnknownRenewal: GenericPalletError;
3604
3604
  /**
3605
3605
  * The lease expiry time has already passed.
3606
3606
  **/
3607
- AlreadyExpired: GenericPalletError<Rv>;
3607
+ AlreadyExpired: GenericPalletError;
3608
3608
  /**
3609
3609
  * The configuration could not be applied because it is invalid.
3610
3610
  **/
3611
- InvalidConfig: GenericPalletError<Rv>;
3611
+ InvalidConfig: GenericPalletError;
3612
3612
  /**
3613
3613
  * The revenue must be claimed for 1 or more timeslices.
3614
3614
  **/
3615
- NoClaimTimeslices: GenericPalletError<Rv>;
3615
+ NoClaimTimeslices: GenericPalletError;
3616
3616
  /**
3617
3617
  * The caller doesn't have the permission to enable or disable auto-renewal.
3618
3618
  **/
3619
- NoPermission: GenericPalletError<Rv>;
3619
+ NoPermission: GenericPalletError;
3620
3620
  /**
3621
3621
  * We reached the limit for auto-renewals.
3622
3622
  **/
3623
- TooManyAutoRenewals: GenericPalletError<Rv>;
3623
+ TooManyAutoRenewals: GenericPalletError;
3624
3624
  /**
3625
3625
  * Only cores which are assigned to a task can be auto-renewed.
3626
3626
  **/
3627
- NonTaskAutoRenewal: GenericPalletError<Rv>;
3627
+ NonTaskAutoRenewal: GenericPalletError;
3628
3628
  /**
3629
3629
  * Failed to get the sovereign account of a task.
3630
3630
  **/
3631
- SovereignAccountNotFound: GenericPalletError<Rv>;
3631
+ SovereignAccountNotFound: GenericPalletError;
3632
3632
  /**
3633
3633
  * Attempted to disable auto-renewal for a core that didn't have it enabled.
3634
3634
  **/
3635
- AutoRenewalNotEnabled: GenericPalletError<Rv>;
3635
+ AutoRenewalNotEnabled: GenericPalletError;
3636
3636
  /**
3637
3637
  * Attempted to force remove an assignment that doesn't exist.
3638
3638
  **/
3639
- AssignmentNotFound: GenericPalletError<Rv>;
3639
+ AssignmentNotFound: GenericPalletError;
3640
3640
  /**
3641
3641
  * Needed to prevent spam attacks.The amount of credits the user attempted to purchase is
3642
3642
  * below `T::MinimumCreditPurchase`.
3643
3643
  **/
3644
- CreditPurchaseTooSmall: GenericPalletError<Rv>;
3644
+ CreditPurchaseTooSmall: GenericPalletError;
3645
3645
  /**
3646
3646
  * Generic pallet error
3647
3647
  **/
3648
- [error: string]: GenericPalletError<Rv>;
3648
+ [error: string]: GenericPalletError;
3649
3649
  };
3650
3650
  /**
3651
3651
  * Pallet `TasksExample`'s errors
@@ -3654,11 +3654,11 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
3654
3654
  /**
3655
3655
  * The referenced task was not found.
3656
3656
  **/
3657
- NotFound: GenericPalletError<Rv>;
3657
+ NotFound: GenericPalletError;
3658
3658
  /**
3659
3659
  * Generic pallet error
3660
3660
  **/
3661
- [error: string]: GenericPalletError<Rv>;
3661
+ [error: string]: GenericPalletError;
3662
3662
  };
3663
3663
  /**
3664
3664
  * Pallet `AssetConversionMigration`'s errors
@@ -3667,23 +3667,23 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
3667
3667
  /**
3668
3668
  * Provided asset pair is not supported for pool.
3669
3669
  **/
3670
- InvalidAssetPair: GenericPalletError<Rv>;
3670
+ InvalidAssetPair: GenericPalletError;
3671
3671
  /**
3672
3672
  * The pool doesn't exist.
3673
3673
  **/
3674
- PoolNotFound: GenericPalletError<Rv>;
3674
+ PoolNotFound: GenericPalletError;
3675
3675
  /**
3676
3676
  * Pool's balance cannot be zero.
3677
3677
  **/
3678
- ZeroBalance: GenericPalletError<Rv>;
3678
+ ZeroBalance: GenericPalletError;
3679
3679
  /**
3680
3680
  * Indicates a partial transfer of balance to the new account during a migration.
3681
3681
  **/
3682
- PartialTransfer: GenericPalletError<Rv>;
3682
+ PartialTransfer: GenericPalletError;
3683
3683
  /**
3684
3684
  * Generic pallet error
3685
3685
  **/
3686
- [error: string]: GenericPalletError<Rv>;
3686
+ [error: string]: GenericPalletError;
3687
3687
  };
3688
3688
  /**
3689
3689
  * Pallet `Revive`'s errors
@@ -3692,216 +3692,216 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
3692
3692
  /**
3693
3693
  * Invalid schedule supplied, e.g. with zero weight of a basic operation.
3694
3694
  **/
3695
- InvalidSchedule: GenericPalletError<Rv>;
3695
+ InvalidSchedule: GenericPalletError;
3696
3696
  /**
3697
3697
  * Invalid combination of flags supplied to `seal_call` or `seal_delegate_call`.
3698
3698
  **/
3699
- InvalidCallFlags: GenericPalletError<Rv>;
3699
+ InvalidCallFlags: GenericPalletError;
3700
3700
  /**
3701
3701
  * The executed contract exhausted its gas limit.
3702
3702
  **/
3703
- OutOfGas: GenericPalletError<Rv>;
3703
+ OutOfGas: GenericPalletError;
3704
3704
  /**
3705
3705
  * Performing the requested transfer failed. Probably because there isn't enough
3706
3706
  * free balance in the sender's account.
3707
3707
  **/
3708
- TransferFailed: GenericPalletError<Rv>;
3708
+ TransferFailed: GenericPalletError;
3709
3709
  /**
3710
3710
  * Performing a call was denied because the calling depth reached the limit
3711
3711
  * of what is specified in the schedule.
3712
3712
  **/
3713
- MaxCallDepthReached: GenericPalletError<Rv>;
3713
+ MaxCallDepthReached: GenericPalletError;
3714
3714
  /**
3715
3715
  * No contract was found at the specified address.
3716
3716
  **/
3717
- ContractNotFound: GenericPalletError<Rv>;
3717
+ ContractNotFound: GenericPalletError;
3718
3718
  /**
3719
3719
  * No code could be found at the supplied code hash.
3720
3720
  **/
3721
- CodeNotFound: GenericPalletError<Rv>;
3721
+ CodeNotFound: GenericPalletError;
3722
3722
  /**
3723
3723
  * No code info could be found at the supplied code hash.
3724
3724
  **/
3725
- CodeInfoNotFound: GenericPalletError<Rv>;
3725
+ CodeInfoNotFound: GenericPalletError;
3726
3726
  /**
3727
3727
  * A buffer outside of sandbox memory was passed to a contract API function.
3728
3728
  **/
3729
- OutOfBounds: GenericPalletError<Rv>;
3729
+ OutOfBounds: GenericPalletError;
3730
3730
  /**
3731
3731
  * Input passed to a contract API function failed to decode as expected type.
3732
3732
  **/
3733
- DecodingFailed: GenericPalletError<Rv>;
3733
+ DecodingFailed: GenericPalletError;
3734
3734
  /**
3735
3735
  * Contract trapped during execution.
3736
3736
  **/
3737
- ContractTrapped: GenericPalletError<Rv>;
3737
+ ContractTrapped: GenericPalletError;
3738
3738
  /**
3739
3739
  * The size defined in `T::MaxValueSize` was exceeded.
3740
3740
  **/
3741
- ValueTooLarge: GenericPalletError<Rv>;
3741
+ ValueTooLarge: GenericPalletError;
3742
3742
  /**
3743
3743
  * Termination of a contract is not allowed while the contract is already
3744
3744
  * on the call stack. Can be triggered by `seal_terminate`.
3745
3745
  **/
3746
- TerminatedWhileReentrant: GenericPalletError<Rv>;
3746
+ TerminatedWhileReentrant: GenericPalletError;
3747
3747
  /**
3748
3748
  * `seal_call` forwarded this contracts input. It therefore is no longer available.
3749
3749
  **/
3750
- InputForwarded: GenericPalletError<Rv>;
3750
+ InputForwarded: GenericPalletError;
3751
3751
  /**
3752
3752
  * The amount of topics passed to `seal_deposit_events` exceeds the limit.
3753
3753
  **/
3754
- TooManyTopics: GenericPalletError<Rv>;
3754
+ TooManyTopics: GenericPalletError;
3755
3755
  /**
3756
3756
  * The chain does not provide a chain extension. Calling the chain extension results
3757
3757
  * in this error. Note that this usually shouldn't happen as deploying such contracts
3758
3758
  * is rejected.
3759
3759
  **/
3760
- NoChainExtension: GenericPalletError<Rv>;
3760
+ NoChainExtension: GenericPalletError;
3761
3761
  /**
3762
3762
  * Failed to decode the XCM program.
3763
3763
  **/
3764
- XcmDecodeFailed: GenericPalletError<Rv>;
3764
+ XcmDecodeFailed: GenericPalletError;
3765
3765
  /**
3766
3766
  * A contract with the same AccountId already exists.
3767
3767
  **/
3768
- DuplicateContract: GenericPalletError<Rv>;
3768
+ DuplicateContract: GenericPalletError;
3769
3769
  /**
3770
3770
  * A contract self destructed in its constructor.
3771
3771
  *
3772
3772
  * This can be triggered by a call to `seal_terminate`.
3773
3773
  **/
3774
- TerminatedInConstructor: GenericPalletError<Rv>;
3774
+ TerminatedInConstructor: GenericPalletError;
3775
3775
  /**
3776
3776
  * A call tried to invoke a contract that is flagged as non-reentrant.
3777
3777
  **/
3778
- ReentranceDenied: GenericPalletError<Rv>;
3778
+ ReentranceDenied: GenericPalletError;
3779
3779
  /**
3780
3780
  * A contract called into the runtime which then called back into this pallet.
3781
3781
  **/
3782
- ReenteredPallet: GenericPalletError<Rv>;
3782
+ ReenteredPallet: GenericPalletError;
3783
3783
  /**
3784
3784
  * A contract attempted to invoke a state modifying API while being in read-only mode.
3785
3785
  **/
3786
- StateChangeDenied: GenericPalletError<Rv>;
3786
+ StateChangeDenied: GenericPalletError;
3787
3787
  /**
3788
3788
  * Origin doesn't have enough balance to pay the required storage deposits.
3789
3789
  **/
3790
- StorageDepositNotEnoughFunds: GenericPalletError<Rv>;
3790
+ StorageDepositNotEnoughFunds: GenericPalletError;
3791
3791
  /**
3792
3792
  * More storage was created than allowed by the storage deposit limit.
3793
3793
  **/
3794
- StorageDepositLimitExhausted: GenericPalletError<Rv>;
3794
+ StorageDepositLimitExhausted: GenericPalletError;
3795
3795
  /**
3796
3796
  * Code removal was denied because the code is still in use by at least one contract.
3797
3797
  **/
3798
- CodeInUse: GenericPalletError<Rv>;
3798
+ CodeInUse: GenericPalletError;
3799
3799
  /**
3800
3800
  * The contract ran to completion but decided to revert its storage changes.
3801
3801
  * Please note that this error is only returned from extrinsics. When called directly
3802
3802
  * or via RPC an `Ok` will be returned. In this case the caller needs to inspect the flags
3803
3803
  * to determine whether a reversion has taken place.
3804
3804
  **/
3805
- ContractReverted: GenericPalletError<Rv>;
3805
+ ContractReverted: GenericPalletError;
3806
3806
  /**
3807
3807
  * The contract failed to compile or is missing the correct entry points.
3808
3808
  *
3809
3809
  * A more detailed error can be found on the node console if debug messages are enabled
3810
3810
  * by supplying `-lruntime::revive=debug`.
3811
3811
  **/
3812
- CodeRejected: GenericPalletError<Rv>;
3812
+ CodeRejected: GenericPalletError;
3813
3813
  /**
3814
3814
  * The code blob supplied is larger than [`limits::code::BLOB_BYTES`].
3815
3815
  **/
3816
- BlobTooLarge: GenericPalletError<Rv>;
3816
+ BlobTooLarge: GenericPalletError;
3817
3817
  /**
3818
3818
  * The static memory consumption of the blob will be larger than
3819
3819
  * [`limits::code::STATIC_MEMORY_BYTES`].
3820
3820
  **/
3821
- StaticMemoryTooLarge: GenericPalletError<Rv>;
3821
+ StaticMemoryTooLarge: GenericPalletError;
3822
3822
  /**
3823
3823
  * The program contains a basic block that is larger than allowed.
3824
3824
  **/
3825
- BasicBlockTooLarge: GenericPalletError<Rv>;
3825
+ BasicBlockTooLarge: GenericPalletError;
3826
3826
  /**
3827
3827
  * The program contains an invalid instruction.
3828
3828
  **/
3829
- InvalidInstruction: GenericPalletError<Rv>;
3829
+ InvalidInstruction: GenericPalletError;
3830
3830
  /**
3831
3831
  * The contract has reached its maximum number of delegate dependencies.
3832
3832
  **/
3833
- MaxDelegateDependenciesReached: GenericPalletError<Rv>;
3833
+ MaxDelegateDependenciesReached: GenericPalletError;
3834
3834
  /**
3835
3835
  * The dependency was not found in the contract's delegate dependencies.
3836
3836
  **/
3837
- DelegateDependencyNotFound: GenericPalletError<Rv>;
3837
+ DelegateDependencyNotFound: GenericPalletError;
3838
3838
  /**
3839
3839
  * The contract already depends on the given delegate dependency.
3840
3840
  **/
3841
- DelegateDependencyAlreadyExists: GenericPalletError<Rv>;
3841
+ DelegateDependencyAlreadyExists: GenericPalletError;
3842
3842
  /**
3843
3843
  * Can not add a delegate dependency to the code hash of the contract itself.
3844
3844
  **/
3845
- CannotAddSelfAsDelegateDependency: GenericPalletError<Rv>;
3845
+ CannotAddSelfAsDelegateDependency: GenericPalletError;
3846
3846
  /**
3847
3847
  * Can not add more data to transient storage.
3848
3848
  **/
3849
- OutOfTransientStorage: GenericPalletError<Rv>;
3849
+ OutOfTransientStorage: GenericPalletError;
3850
3850
  /**
3851
3851
  * The contract tried to call a syscall which does not exist (at its current api level).
3852
3852
  **/
3853
- InvalidSyscall: GenericPalletError<Rv>;
3853
+ InvalidSyscall: GenericPalletError;
3854
3854
  /**
3855
3855
  * Invalid storage flags were passed to one of the storage syscalls.
3856
3856
  **/
3857
- InvalidStorageFlags: GenericPalletError<Rv>;
3857
+ InvalidStorageFlags: GenericPalletError;
3858
3858
  /**
3859
3859
  * PolkaVM failed during code execution. Probably due to a malformed program.
3860
3860
  **/
3861
- ExecutionFailed: GenericPalletError<Rv>;
3861
+ ExecutionFailed: GenericPalletError;
3862
3862
  /**
3863
3863
  * Failed to convert a U256 to a Balance.
3864
3864
  **/
3865
- BalanceConversionFailed: GenericPalletError<Rv>;
3865
+ BalanceConversionFailed: GenericPalletError;
3866
3866
  /**
3867
3867
  * Failed to convert an EVM balance to a native balance.
3868
3868
  **/
3869
- DecimalPrecisionLoss: GenericPalletError<Rv>;
3869
+ DecimalPrecisionLoss: GenericPalletError;
3870
3870
  /**
3871
3871
  * Immutable data can only be set during deploys and only be read during calls.
3872
3872
  * Additionally, it is only valid to set the data once and it must not be empty.
3873
3873
  **/
3874
- InvalidImmutableAccess: GenericPalletError<Rv>;
3874
+ InvalidImmutableAccess: GenericPalletError;
3875
3875
  /**
3876
3876
  * An `AccountID32` account tried to interact with the pallet without having a mapping.
3877
3877
  *
3878
3878
  * Call [`Pallet::map_account`] in order to create a mapping for the account.
3879
3879
  **/
3880
- AccountUnmapped: GenericPalletError<Rv>;
3880
+ AccountUnmapped: GenericPalletError;
3881
3881
  /**
3882
3882
  * Tried to map an account that is already mapped.
3883
3883
  **/
3884
- AccountAlreadyMapped: GenericPalletError<Rv>;
3884
+ AccountAlreadyMapped: GenericPalletError;
3885
3885
  /**
3886
3886
  * The transaction used to dry-run a contract is invalid.
3887
3887
  **/
3888
- InvalidGenericTransaction: GenericPalletError<Rv>;
3888
+ InvalidGenericTransaction: GenericPalletError;
3889
3889
  /**
3890
3890
  * The refcount of a code either over or underflowed.
3891
3891
  **/
3892
- RefcountOverOrUnderflow: GenericPalletError<Rv>;
3892
+ RefcountOverOrUnderflow: GenericPalletError;
3893
3893
  /**
3894
3894
  * Unsupported precompile address
3895
3895
  **/
3896
- UnsupportedPrecompileAddress: GenericPalletError<Rv>;
3896
+ UnsupportedPrecompileAddress: GenericPalletError;
3897
3897
  /**
3898
3898
  * Precompile Error
3899
3899
  **/
3900
- PrecompileFailure: GenericPalletError<Rv>;
3900
+ PrecompileFailure: GenericPalletError;
3901
3901
  /**
3902
3902
  * Generic pallet error
3903
3903
  **/
3904
- [error: string]: GenericPalletError<Rv>;
3904
+ [error: string]: GenericPalletError;
3905
3905
  };
3906
3906
  /**
3907
3907
  * Pallet `DelegatedStaking`'s errors
@@ -3910,15 +3910,15 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
3910
3910
  /**
3911
3911
  * The account cannot perform this operation.
3912
3912
  **/
3913
- NotAllowed: GenericPalletError<Rv>;
3913
+ NotAllowed: GenericPalletError;
3914
3914
  /**
3915
3915
  * An existing staker cannot perform this action.
3916
3916
  **/
3917
- AlreadyStaking: GenericPalletError<Rv>;
3917
+ AlreadyStaking: GenericPalletError;
3918
3918
  /**
3919
3919
  * Reward Destination cannot be same as `Agent` account.
3920
3920
  **/
3921
- InvalidRewardDestination: GenericPalletError<Rv>;
3921
+ InvalidRewardDestination: GenericPalletError;
3922
3922
  /**
3923
3923
  * Delegation conditions are not met.
3924
3924
  *
@@ -3926,43 +3926,43 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
3926
3926
  * 1) Cannot delegate to self,
3927
3927
  * 2) Cannot delegate to multiple delegates.
3928
3928
  **/
3929
- InvalidDelegation: GenericPalletError<Rv>;
3929
+ InvalidDelegation: GenericPalletError;
3930
3930
  /**
3931
3931
  * The account does not have enough funds to perform the operation.
3932
3932
  **/
3933
- NotEnoughFunds: GenericPalletError<Rv>;
3933
+ NotEnoughFunds: GenericPalletError;
3934
3934
  /**
3935
3935
  * Not an existing `Agent` account.
3936
3936
  **/
3937
- NotAgent: GenericPalletError<Rv>;
3937
+ NotAgent: GenericPalletError;
3938
3938
  /**
3939
3939
  * Not a Delegator account.
3940
3940
  **/
3941
- NotDelegator: GenericPalletError<Rv>;
3941
+ NotDelegator: GenericPalletError;
3942
3942
  /**
3943
3943
  * Some corruption in internal state.
3944
3944
  **/
3945
- BadState: GenericPalletError<Rv>;
3945
+ BadState: GenericPalletError;
3946
3946
  /**
3947
3947
  * Unapplied pending slash restricts operation on `Agent`.
3948
3948
  **/
3949
- UnappliedSlash: GenericPalletError<Rv>;
3949
+ UnappliedSlash: GenericPalletError;
3950
3950
  /**
3951
3951
  * `Agent` has no pending slash to be applied.
3952
3952
  **/
3953
- NothingToSlash: GenericPalletError<Rv>;
3953
+ NothingToSlash: GenericPalletError;
3954
3954
  /**
3955
3955
  * Failed to withdraw amount from Core Staking.
3956
3956
  **/
3957
- WithdrawFailed: GenericPalletError<Rv>;
3957
+ WithdrawFailed: GenericPalletError;
3958
3958
  /**
3959
3959
  * Operation not supported by this pallet.
3960
3960
  **/
3961
- NotSupported: GenericPalletError<Rv>;
3961
+ NotSupported: GenericPalletError;
3962
3962
  /**
3963
3963
  * Generic pallet error
3964
3964
  **/
3965
- [error: string]: GenericPalletError<Rv>;
3965
+ [error: string]: GenericPalletError;
3966
3966
  };
3967
3967
  /**
3968
3968
  * Pallet `AssetRewards`'s errors
@@ -3971,47 +3971,47 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
3971
3971
  /**
3972
3972
  * The staker does not have enough tokens to perform the operation.
3973
3973
  **/
3974
- NotEnoughTokens: GenericPalletError<Rv>;
3974
+ NotEnoughTokens: GenericPalletError;
3975
3975
  /**
3976
3976
  * An operation was attempted on a non-existent pool.
3977
3977
  **/
3978
- NonExistentPool: GenericPalletError<Rv>;
3978
+ NonExistentPool: GenericPalletError;
3979
3979
  /**
3980
3980
  * An operation was attempted for a non-existent staker.
3981
3981
  **/
3982
- NonExistentStaker: GenericPalletError<Rv>;
3982
+ NonExistentStaker: GenericPalletError;
3983
3983
  /**
3984
3984
  * An operation was attempted with a non-existent asset.
3985
3985
  **/
3986
- NonExistentAsset: GenericPalletError<Rv>;
3986
+ NonExistentAsset: GenericPalletError;
3987
3987
  /**
3988
3988
  * There was an error converting a block number.
3989
3989
  **/
3990
- BlockNumberConversionError: GenericPalletError<Rv>;
3990
+ BlockNumberConversionError: GenericPalletError;
3991
3991
  /**
3992
3992
  * The expiry block must be in the future.
3993
3993
  **/
3994
- ExpiryBlockMustBeInTheFuture: GenericPalletError<Rv>;
3994
+ ExpiryBlockMustBeInTheFuture: GenericPalletError;
3995
3995
  /**
3996
3996
  * Insufficient funds to create the freeze.
3997
3997
  **/
3998
- InsufficientFunds: GenericPalletError<Rv>;
3998
+ InsufficientFunds: GenericPalletError;
3999
3999
  /**
4000
4000
  * The expiry block can be only extended.
4001
4001
  **/
4002
- ExpiryCut: GenericPalletError<Rv>;
4002
+ ExpiryCut: GenericPalletError;
4003
4003
  /**
4004
4004
  * The reward rate per block can be only increased.
4005
4005
  **/
4006
- RewardRateCut: GenericPalletError<Rv>;
4006
+ RewardRateCut: GenericPalletError;
4007
4007
  /**
4008
4008
  * The pool still has staked tokens or rewards.
4009
4009
  **/
4010
- NonEmptyPool: GenericPalletError<Rv>;
4010
+ NonEmptyPool: GenericPalletError;
4011
4011
  /**
4012
4012
  * Generic pallet error
4013
4013
  **/
4014
- [error: string]: GenericPalletError<Rv>;
4014
+ [error: string]: GenericPalletError;
4015
4015
  };
4016
4016
  /**
4017
4017
  * Pallet `AssetsFreezer`'s errors
@@ -4020,11 +4020,11 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
4020
4020
  /**
4021
4021
  * Number of freezes on an account would exceed `MaxFreezes`.
4022
4022
  **/
4023
- TooManyFreezes: GenericPalletError<Rv>;
4023
+ TooManyFreezes: GenericPalletError;
4024
4024
  /**
4025
4025
  * Generic pallet error
4026
4026
  **/
4027
- [error: string]: GenericPalletError<Rv>;
4027
+ [error: string]: GenericPalletError;
4028
4028
  };
4029
4029
  /**
4030
4030
  * Pallet `MetaTx`'s errors
@@ -4033,30 +4033,30 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
4033
4033
  /**
4034
4034
  * Invalid proof (e.g. signature).
4035
4035
  **/
4036
- BadProof: GenericPalletError<Rv>;
4036
+ BadProof: GenericPalletError;
4037
4037
  /**
4038
4038
  * The meta transaction is not yet valid (e.g. nonce too high).
4039
4039
  **/
4040
- Future: GenericPalletError<Rv>;
4040
+ Future: GenericPalletError;
4041
4041
  /**
4042
4042
  * The meta transaction is outdated (e.g. nonce too low).
4043
4043
  **/
4044
- Stale: GenericPalletError<Rv>;
4044
+ Stale: GenericPalletError;
4045
4045
  /**
4046
4046
  * The meta transactions's birth block is ancient.
4047
4047
  **/
4048
- AncientBirthBlock: GenericPalletError<Rv>;
4048
+ AncientBirthBlock: GenericPalletError;
4049
4049
  /**
4050
4050
  * The transaction extension did not authorize any origin.
4051
4051
  **/
4052
- UnknownOrigin: GenericPalletError<Rv>;
4052
+ UnknownOrigin: GenericPalletError;
4053
4053
  /**
4054
4054
  * The meta transaction is invalid.
4055
4055
  **/
4056
- Invalid: GenericPalletError<Rv>;
4056
+ Invalid: GenericPalletError;
4057
4057
  /**
4058
4058
  * Generic pallet error
4059
4059
  **/
4060
- [error: string]: GenericPalletError<Rv>;
4060
+ [error: string]: GenericPalletError;
4061
4061
  };
4062
4062
  }