@dedot/chaintypes 0.194.0 → 0.196.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (187) hide show
  1. package/aleph/consts.d.ts +2 -2
  2. package/aleph/errors.d.ts +228 -228
  3. package/aleph/events.d.ts +122 -226
  4. package/aleph/index.d.ts +15 -17
  5. package/aleph/json-rpc.d.ts +3 -3
  6. package/aleph/query.d.ts +171 -207
  7. package/aleph/runtime.d.ts +47 -63
  8. package/aleph/tx.d.ts +377 -550
  9. package/aleph/view-functions.d.ts +2 -2
  10. package/astar/consts.d.ts +2 -2
  11. package/astar/errors.d.ts +431 -431
  12. package/astar/events.d.ts +232 -401
  13. package/astar/index.d.ts +15 -17
  14. package/astar/json-rpc.d.ts +3 -3
  15. package/astar/query.d.ts +243 -289
  16. package/astar/runtime.d.ts +59 -87
  17. package/astar/tx.d.ts +671 -980
  18. package/astar/view-functions.d.ts +2 -2
  19. package/basilisk/consts.d.ts +2 -2
  20. package/basilisk/errors.d.ts +489 -489
  21. package/basilisk/events.d.ts +187 -408
  22. package/basilisk/index.d.ts +15 -17
  23. package/basilisk/json-rpc.d.ts +3 -3
  24. package/basilisk/query.d.ts +213 -272
  25. package/basilisk/runtime.d.ts +27 -28
  26. package/basilisk/tx.d.ts +579 -842
  27. package/basilisk/view-functions.d.ts +2 -2
  28. package/hydration/consts.d.ts +47 -14
  29. package/hydration/errors.d.ts +827 -737
  30. package/hydration/events.d.ts +639 -527
  31. package/hydration/index.d.ts +16 -18
  32. package/hydration/json-rpc.d.ts +3 -3
  33. package/hydration/query.d.ts +530 -396
  34. package/hydration/runtime.d.ts +181 -89
  35. package/hydration/tx.d.ts +1130 -1167
  36. package/hydration/types.d.ts +889 -42
  37. package/hydration/view-functions.d.ts +2 -2
  38. package/kusama/consts.d.ts +2 -2
  39. package/kusama/errors.d.ts +571 -571
  40. package/kusama/events.d.ts +216 -477
  41. package/kusama/index.d.ts +15 -17
  42. package/kusama/json-rpc.d.ts +3 -3
  43. package/kusama/query.d.ts +360 -502
  44. package/kusama/runtime.d.ts +82 -131
  45. package/kusama/tx.d.ts +851 -1246
  46. package/kusama/view-functions.d.ts +7 -12
  47. package/kusama-asset-hub/consts.d.ts +2 -2
  48. package/kusama-asset-hub/errors.d.ts +653 -653
  49. package/kusama-asset-hub/events.d.ts +286 -629
  50. package/kusama-asset-hub/index.d.ts +16 -17
  51. package/kusama-asset-hub/json-rpc.d.ts +3 -3
  52. package/kusama-asset-hub/query.d.ts +316 -448
  53. package/kusama-asset-hub/runtime.d.ts +74 -111
  54. package/kusama-asset-hub/tx.d.ts +1059 -1558
  55. package/kusama-asset-hub/view-functions.d.ts +7 -9
  56. package/kusama-people/consts.d.ts +2 -2
  57. package/kusama-people/errors.d.ts +160 -160
  58. package/kusama-people/events.d.ts +89 -176
  59. package/kusama-people/index.d.ts +15 -17
  60. package/kusama-people/json-rpc.d.ts +3 -3
  61. package/kusama-people/query.d.ts +114 -145
  62. package/kusama-people/runtime.d.ts +45 -65
  63. package/kusama-people/tx.d.ts +246 -356
  64. package/kusama-people/view-functions.d.ts +3 -5
  65. package/moonbeam/consts.d.ts +2 -2
  66. package/moonbeam/errors.d.ts +478 -478
  67. package/moonbeam/events.d.ts +182 -426
  68. package/moonbeam/index.d.ts +15 -17
  69. package/moonbeam/json-rpc.d.ts +11 -3
  70. package/moonbeam/query.d.ts +234 -294
  71. package/moonbeam/runtime.d.ts +61 -89
  72. package/moonbeam/tx.d.ts +618 -901
  73. package/moonbeam/view-functions.d.ts +2 -2
  74. package/package.json +6 -3
  75. package/paseo/consts.d.ts +2 -2
  76. package/paseo/errors.d.ts +513 -513
  77. package/paseo/events.d.ts +197 -430
  78. package/paseo/index.d.ts +16 -18
  79. package/paseo/json-rpc.d.ts +3 -3
  80. package/paseo/query.d.ts +329 -450
  81. package/paseo/runtime.d.ts +107 -131
  82. package/paseo/tx.d.ts +787 -1151
  83. package/paseo/types.d.ts +7 -0
  84. package/paseo/view-functions.d.ts +7 -12
  85. package/paseo-asset-hub/consts.d.ts +2 -2
  86. package/paseo-asset-hub/errors.d.ts +605 -605
  87. package/paseo-asset-hub/events.d.ts +268 -600
  88. package/paseo-asset-hub/index.d.ts +17 -18
  89. package/paseo-asset-hub/json-rpc.d.ts +3 -3
  90. package/paseo-asset-hub/query.d.ts +293 -413
  91. package/paseo-asset-hub/runtime.d.ts +96 -104
  92. package/paseo-asset-hub/tx.d.ts +997 -1466
  93. package/paseo-asset-hub/types.d.ts +7 -0
  94. package/paseo-asset-hub/view-functions.d.ts +7 -9
  95. package/paseo-hydration/consts.d.ts +13 -3
  96. package/paseo-hydration/errors.d.ts +756 -745
  97. package/paseo-hydration/events.d.ts +277 -554
  98. package/paseo-hydration/index.d.ts +16 -18
  99. package/paseo-hydration/json-rpc.d.ts +3 -3
  100. package/paseo-hydration/query.d.ts +321 -411
  101. package/paseo-hydration/runtime.d.ts +95 -106
  102. package/paseo-hydration/tx.d.ts +923 -1226
  103. package/paseo-hydration/types.d.ts +91 -50
  104. package/paseo-hydration/view-functions.d.ts +2 -2
  105. package/paseo-people/consts.d.ts +2 -2
  106. package/paseo-people/errors.d.ts +162 -162
  107. package/paseo-people/events.d.ts +91 -181
  108. package/paseo-people/index.d.ts +16 -18
  109. package/paseo-people/json-rpc.d.ts +3 -3
  110. package/paseo-people/query.d.ts +116 -143
  111. package/paseo-people/runtime.d.ts +70 -65
  112. package/paseo-people/tx.d.ts +257 -372
  113. package/paseo-people/types.d.ts +7 -0
  114. package/paseo-people/view-functions.d.ts +3 -5
  115. package/polkadot/consts.d.ts +2 -2
  116. package/polkadot/errors.d.ts +501 -501
  117. package/polkadot/events.d.ts +195 -426
  118. package/polkadot/index.d.ts +15 -17
  119. package/polkadot/json-rpc.d.ts +3 -3
  120. package/polkadot/query.d.ts +329 -450
  121. package/polkadot/runtime.d.ts +83 -133
  122. package/polkadot/tx.d.ts +765 -1119
  123. package/polkadot/view-functions.d.ts +7 -12
  124. package/polkadot-asset-hub/consts.d.ts +2 -2
  125. package/polkadot-asset-hub/errors.d.ts +554 -554
  126. package/polkadot-asset-hub/events.d.ts +261 -585
  127. package/polkadot-asset-hub/index.d.ts +16 -17
  128. package/polkadot-asset-hub/json-rpc.d.ts +3 -3
  129. package/polkadot-asset-hub/query.d.ts +279 -396
  130. package/polkadot-asset-hub/runtime.d.ts +65 -93
  131. package/polkadot-asset-hub/tx.d.ts +952 -1400
  132. package/polkadot-asset-hub/view-functions.d.ts +7 -9
  133. package/polkadot-people/consts.d.ts +2 -2
  134. package/polkadot-people/errors.d.ts +160 -160
  135. package/polkadot-people/events.d.ts +89 -176
  136. package/polkadot-people/index.d.ts +15 -17
  137. package/polkadot-people/json-rpc.d.ts +3 -3
  138. package/polkadot-people/query.d.ts +114 -145
  139. package/polkadot-people/runtime.d.ts +46 -67
  140. package/polkadot-people/tx.d.ts +246 -356
  141. package/polkadot-people/view-functions.d.ts +3 -5
  142. package/substrate/consts.d.ts +2 -2
  143. package/substrate/errors.d.ts +909 -909
  144. package/substrate/events.d.ts +389 -794
  145. package/substrate/index.d.ts +16 -17
  146. package/substrate/json-rpc.d.ts +3 -3
  147. package/substrate/query.d.ts +458 -572
  148. package/substrate/runtime.d.ts +82 -126
  149. package/substrate/tx.d.ts +1317 -1936
  150. package/substrate/view-functions.d.ts +2 -2
  151. package/vara/consts.d.ts +9 -37
  152. package/vara/errors.d.ts +402 -382
  153. package/vara/events.d.ts +172 -310
  154. package/vara/index.d.ts +16 -18
  155. package/vara/json-rpc.d.ts +7 -3
  156. package/vara/query.d.ts +299 -331
  157. package/vara/runtime.d.ts +61 -79
  158. package/vara/tx.d.ts +573 -754
  159. package/vara/types.d.ts +71 -26
  160. package/vara/view-functions.d.ts +2 -2
  161. package/westend/consts.d.ts +2 -2
  162. package/westend/errors.d.ts +532 -532
  163. package/westend/events.d.ts +205 -462
  164. package/westend/index.d.ts +15 -17
  165. package/westend/json-rpc.d.ts +3 -3
  166. package/westend/query.d.ts +312 -434
  167. package/westend/runtime.d.ts +83 -135
  168. package/westend/tx.d.ts +807 -1179
  169. package/westend/view-functions.d.ts +7 -12
  170. package/westend-asset-hub/consts.d.ts +2 -2
  171. package/westend-asset-hub/errors.d.ts +605 -605
  172. package/westend-asset-hub/events.d.ts +265 -614
  173. package/westend-asset-hub/index.d.ts +16 -17
  174. package/westend-asset-hub/json-rpc.d.ts +3 -3
  175. package/westend-asset-hub/query.d.ts +293 -418
  176. package/westend-asset-hub/runtime.d.ts +83 -123
  177. package/westend-asset-hub/tx.d.ts +918 -1348
  178. package/westend-asset-hub/view-functions.d.ts +8 -13
  179. package/westend-people/consts.d.ts +2 -2
  180. package/westend-people/errors.d.ts +160 -160
  181. package/westend-people/events.d.ts +93 -186
  182. package/westend-people/index.d.ts +15 -17
  183. package/westend-people/json-rpc.d.ts +3 -3
  184. package/westend-people/query.d.ts +114 -145
  185. package/westend-people/runtime.d.ts +46 -67
  186. package/westend-people/tx.d.ts +251 -363
  187. package/westend-people/view-functions.d.ts +3 -5
@@ -1,8 +1,8 @@
1
1
  // Generated by dedot cli
2
2
 
3
- import type { GenericChainErrors, GenericPalletError, RpcVersion } from 'dedot/types';
3
+ import type { GenericChainErrors, GenericPalletError } from 'dedot/types';
4
4
 
5
- export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<Rv> {
5
+ export interface ChainErrors extends GenericChainErrors {
6
6
  /**
7
7
  * Pallet `System`'s errors
8
8
  **/
@@ -11,55 +11,55 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
11
11
  * The name of specification does not match between the current runtime
12
12
  * and the new runtime.
13
13
  **/
14
- InvalidSpecName: GenericPalletError<Rv>;
14
+ InvalidSpecName: GenericPalletError;
15
15
 
16
16
  /**
17
17
  * The specification version is not allowed to decrease between the current runtime
18
18
  * and the new runtime.
19
19
  **/
20
- SpecVersionNeedsToIncrease: GenericPalletError<Rv>;
20
+ SpecVersionNeedsToIncrease: GenericPalletError;
21
21
 
22
22
  /**
23
23
  * Failed to extract the runtime version from the new runtime.
24
24
  *
25
25
  * Either calling `Core_version` or decoding `RuntimeVersion` failed.
26
26
  **/
27
- FailedToExtractRuntimeVersion: GenericPalletError<Rv>;
27
+ FailedToExtractRuntimeVersion: GenericPalletError;
28
28
 
29
29
  /**
30
30
  * Suicide called when the account has non-default composite data.
31
31
  **/
32
- NonDefaultComposite: GenericPalletError<Rv>;
32
+ NonDefaultComposite: GenericPalletError;
33
33
 
34
34
  /**
35
35
  * There is a non-zero reference count preventing the account from being purged.
36
36
  **/
37
- NonZeroRefCount: GenericPalletError<Rv>;
37
+ NonZeroRefCount: GenericPalletError;
38
38
 
39
39
  /**
40
40
  * The origin filter prevent the call to be dispatched.
41
41
  **/
42
- CallFiltered: GenericPalletError<Rv>;
42
+ CallFiltered: GenericPalletError;
43
43
 
44
44
  /**
45
45
  * A multi-block migration is ongoing and prevents the current code from being replaced.
46
46
  **/
47
- MultiBlockMigrationsOngoing: GenericPalletError<Rv>;
47
+ MultiBlockMigrationsOngoing: GenericPalletError;
48
48
 
49
49
  /**
50
50
  * No upgrade authorized.
51
51
  **/
52
- NothingAuthorized: GenericPalletError<Rv>;
52
+ NothingAuthorized: GenericPalletError;
53
53
 
54
54
  /**
55
55
  * The submitted code is not authorized.
56
56
  **/
57
- Unauthorized: GenericPalletError<Rv>;
57
+ Unauthorized: GenericPalletError;
58
58
 
59
59
  /**
60
60
  * Generic pallet error
61
61
  **/
62
- [error: string]: GenericPalletError<Rv>;
62
+ [error: string]: GenericPalletError;
63
63
  };
64
64
  /**
65
65
  * Pallet `ParachainSystem`'s errors
@@ -68,38 +68,38 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
68
68
  /**
69
69
  * Attempt to upgrade validation function while existing upgrade pending.
70
70
  **/
71
- OverlappingUpgrades: GenericPalletError<Rv>;
71
+ OverlappingUpgrades: GenericPalletError;
72
72
 
73
73
  /**
74
74
  * Polkadot currently prohibits this parachain from upgrading its validation function.
75
75
  **/
76
- ProhibitedByPolkadot: GenericPalletError<Rv>;
76
+ ProhibitedByPolkadot: GenericPalletError;
77
77
 
78
78
  /**
79
79
  * The supplied validation function has compiled into a blob larger than Polkadot is
80
80
  * willing to run.
81
81
  **/
82
- TooBig: GenericPalletError<Rv>;
82
+ TooBig: GenericPalletError;
83
83
 
84
84
  /**
85
85
  * The inherent which supplies the validation data did not run this block.
86
86
  **/
87
- ValidationDataNotAvailable: GenericPalletError<Rv>;
87
+ ValidationDataNotAvailable: GenericPalletError;
88
88
 
89
89
  /**
90
90
  * The inherent which supplies the host configuration did not run this block.
91
91
  **/
92
- HostConfigurationNotAvailable: GenericPalletError<Rv>;
92
+ HostConfigurationNotAvailable: GenericPalletError;
93
93
 
94
94
  /**
95
95
  * No validation function upgrade is currently scheduled.
96
96
  **/
97
- NotScheduled: GenericPalletError<Rv>;
97
+ NotScheduled: GenericPalletError;
98
98
 
99
99
  /**
100
100
  * Generic pallet error
101
101
  **/
102
- [error: string]: GenericPalletError<Rv>;
102
+ [error: string]: GenericPalletError;
103
103
  };
104
104
  /**
105
105
  * Pallet `MultiBlockMigrations`'s errors
@@ -108,12 +108,12 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
108
108
  /**
109
109
  * The operation cannot complete since some MBMs are ongoing.
110
110
  **/
111
- Ongoing: GenericPalletError<Rv>;
111
+ Ongoing: GenericPalletError;
112
112
 
113
113
  /**
114
114
  * Generic pallet error
115
115
  **/
116
- [error: string]: GenericPalletError<Rv>;
116
+ [error: string]: GenericPalletError;
117
117
  };
118
118
  /**
119
119
  * Pallet `Preimage`'s errors
@@ -122,47 +122,47 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
122
122
  /**
123
123
  * Preimage is too large to store on-chain.
124
124
  **/
125
- TooBig: GenericPalletError<Rv>;
125
+ TooBig: GenericPalletError;
126
126
 
127
127
  /**
128
128
  * Preimage has already been noted on-chain.
129
129
  **/
130
- AlreadyNoted: GenericPalletError<Rv>;
130
+ AlreadyNoted: GenericPalletError;
131
131
 
132
132
  /**
133
133
  * The user is not authorized to perform this action.
134
134
  **/
135
- NotAuthorized: GenericPalletError<Rv>;
135
+ NotAuthorized: GenericPalletError;
136
136
 
137
137
  /**
138
138
  * The preimage cannot be removed since it has not yet been noted.
139
139
  **/
140
- NotNoted: GenericPalletError<Rv>;
140
+ NotNoted: GenericPalletError;
141
141
 
142
142
  /**
143
143
  * A preimage may not be removed when there are outstanding requests.
144
144
  **/
145
- Requested: GenericPalletError<Rv>;
145
+ Requested: GenericPalletError;
146
146
 
147
147
  /**
148
148
  * The preimage request cannot be removed since no outstanding requests exist.
149
149
  **/
150
- NotRequested: GenericPalletError<Rv>;
150
+ NotRequested: GenericPalletError;
151
151
 
152
152
  /**
153
153
  * More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once.
154
154
  **/
155
- TooMany: GenericPalletError<Rv>;
155
+ TooMany: GenericPalletError;
156
156
 
157
157
  /**
158
158
  * Too few hashes were requested to be upgraded (i.e. zero).
159
159
  **/
160
- TooFew: GenericPalletError<Rv>;
160
+ TooFew: GenericPalletError;
161
161
 
162
162
  /**
163
163
  * Generic pallet error
164
164
  **/
165
- [error: string]: GenericPalletError<Rv>;
165
+ [error: string]: GenericPalletError;
166
166
  };
167
167
  /**
168
168
  * Pallet `Scheduler`'s errors
@@ -171,32 +171,32 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
171
171
  /**
172
172
  * Failed to schedule a call
173
173
  **/
174
- FailedToSchedule: GenericPalletError<Rv>;
174
+ FailedToSchedule: GenericPalletError;
175
175
 
176
176
  /**
177
177
  * Cannot find the scheduled call.
178
178
  **/
179
- NotFound: GenericPalletError<Rv>;
179
+ NotFound: GenericPalletError;
180
180
 
181
181
  /**
182
182
  * Given target block number is in the past.
183
183
  **/
184
- TargetBlockNumberInPast: GenericPalletError<Rv>;
184
+ TargetBlockNumberInPast: GenericPalletError;
185
185
 
186
186
  /**
187
187
  * Reschedule failed because it does not change scheduled time.
188
188
  **/
189
- RescheduleNoChange: GenericPalletError<Rv>;
189
+ RescheduleNoChange: GenericPalletError;
190
190
 
191
191
  /**
192
192
  * Attempt to use a non-named function on a named task.
193
193
  **/
194
- Named: GenericPalletError<Rv>;
194
+ Named: GenericPalletError;
195
195
 
196
196
  /**
197
197
  * Generic pallet error
198
198
  **/
199
- [error: string]: GenericPalletError<Rv>;
199
+ [error: string]: GenericPalletError;
200
200
  };
201
201
  /**
202
202
  * Pallet `Sudo`'s errors
@@ -205,12 +205,12 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
205
205
  /**
206
206
  * Sender must be the Sudo account.
207
207
  **/
208
- RequireSudo: GenericPalletError<Rv>;
208
+ RequireSudo: GenericPalletError;
209
209
 
210
210
  /**
211
211
  * Generic pallet error
212
212
  **/
213
- [error: string]: GenericPalletError<Rv>;
213
+ [error: string]: GenericPalletError;
214
214
  };
215
215
  /**
216
216
  * Pallet `Balances`'s errors
@@ -219,67 +219,67 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
219
219
  /**
220
220
  * Vesting balance too high to send value.
221
221
  **/
222
- VestingBalance: GenericPalletError<Rv>;
222
+ VestingBalance: GenericPalletError;
223
223
 
224
224
  /**
225
225
  * Account liquidity restrictions prevent withdrawal.
226
226
  **/
227
- LiquidityRestrictions: GenericPalletError<Rv>;
227
+ LiquidityRestrictions: GenericPalletError;
228
228
 
229
229
  /**
230
230
  * Balance too low to send value.
231
231
  **/
232
- InsufficientBalance: GenericPalletError<Rv>;
232
+ InsufficientBalance: GenericPalletError;
233
233
 
234
234
  /**
235
235
  * Value too low to create account due to existential deposit.
236
236
  **/
237
- ExistentialDeposit: GenericPalletError<Rv>;
237
+ ExistentialDeposit: GenericPalletError;
238
238
 
239
239
  /**
240
240
  * Transfer/payment would kill account.
241
241
  **/
242
- Expendability: GenericPalletError<Rv>;
242
+ Expendability: GenericPalletError;
243
243
 
244
244
  /**
245
245
  * A vesting schedule already exists for this account.
246
246
  **/
247
- ExistingVestingSchedule: GenericPalletError<Rv>;
247
+ ExistingVestingSchedule: GenericPalletError;
248
248
 
249
249
  /**
250
250
  * Beneficiary account must pre-exist.
251
251
  **/
252
- DeadAccount: GenericPalletError<Rv>;
252
+ DeadAccount: GenericPalletError;
253
253
 
254
254
  /**
255
255
  * Number of named reserves exceed `MaxReserves`.
256
256
  **/
257
- TooManyReserves: GenericPalletError<Rv>;
257
+ TooManyReserves: GenericPalletError;
258
258
 
259
259
  /**
260
260
  * Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
261
261
  **/
262
- TooManyHolds: GenericPalletError<Rv>;
262
+ TooManyHolds: GenericPalletError;
263
263
 
264
264
  /**
265
265
  * Number of freezes exceed `MaxFreezes`.
266
266
  **/
267
- TooManyFreezes: GenericPalletError<Rv>;
267
+ TooManyFreezes: GenericPalletError;
268
268
 
269
269
  /**
270
270
  * The issuance cannot be modified since it is already deactivated.
271
271
  **/
272
- IssuanceDeactivated: GenericPalletError<Rv>;
272
+ IssuanceDeactivated: GenericPalletError;
273
273
 
274
274
  /**
275
275
  * The delta cannot be zero.
276
276
  **/
277
- DeltaZero: GenericPalletError<Rv>;
277
+ DeltaZero: GenericPalletError;
278
278
 
279
279
  /**
280
280
  * Generic pallet error
281
281
  **/
282
- [error: string]: GenericPalletError<Rv>;
282
+ [error: string]: GenericPalletError;
283
283
  };
284
284
  /**
285
285
  * Pallet `Vesting`'s errors
@@ -288,33 +288,33 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
288
288
  /**
289
289
  * The account given is not vesting.
290
290
  **/
291
- NotVesting: GenericPalletError<Rv>;
291
+ NotVesting: GenericPalletError;
292
292
 
293
293
  /**
294
294
  * The account already has `MaxVestingSchedules` count of schedules and thus
295
295
  * cannot add another one. Consider merging existing schedules in order to add another.
296
296
  **/
297
- AtMaxVestingSchedules: GenericPalletError<Rv>;
297
+ AtMaxVestingSchedules: GenericPalletError;
298
298
 
299
299
  /**
300
300
  * Amount being transferred is too low to create a vesting schedule.
301
301
  **/
302
- AmountLow: GenericPalletError<Rv>;
302
+ AmountLow: GenericPalletError;
303
303
 
304
304
  /**
305
305
  * An index was out of bounds of the vesting schedules.
306
306
  **/
307
- ScheduleIndexOutOfBounds: GenericPalletError<Rv>;
307
+ ScheduleIndexOutOfBounds: GenericPalletError;
308
308
 
309
309
  /**
310
310
  * Failed to create a new schedule because some parameter was invalid.
311
311
  **/
312
- InvalidScheduleParams: GenericPalletError<Rv>;
312
+ InvalidScheduleParams: GenericPalletError;
313
313
 
314
314
  /**
315
315
  * Generic pallet error
316
316
  **/
317
- [error: string]: GenericPalletError<Rv>;
317
+ [error: string]: GenericPalletError;
318
318
  };
319
319
  /**
320
320
  * Pallet `CollatorSelection`'s errors
@@ -323,92 +323,92 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
323
323
  /**
324
324
  * The pallet has too many candidates.
325
325
  **/
326
- TooManyCandidates: GenericPalletError<Rv>;
326
+ TooManyCandidates: GenericPalletError;
327
327
 
328
328
  /**
329
329
  * Leaving would result in too few candidates.
330
330
  **/
331
- TooFewEligibleCollators: GenericPalletError<Rv>;
331
+ TooFewEligibleCollators: GenericPalletError;
332
332
 
333
333
  /**
334
334
  * Account is already a candidate.
335
335
  **/
336
- AlreadyCandidate: GenericPalletError<Rv>;
336
+ AlreadyCandidate: GenericPalletError;
337
337
 
338
338
  /**
339
339
  * Account is not a candidate.
340
340
  **/
341
- NotCandidate: GenericPalletError<Rv>;
341
+ NotCandidate: GenericPalletError;
342
342
 
343
343
  /**
344
344
  * There are too many Invulnerables.
345
345
  **/
346
- TooManyInvulnerables: GenericPalletError<Rv>;
346
+ TooManyInvulnerables: GenericPalletError;
347
347
 
348
348
  /**
349
349
  * Account is already an Invulnerable.
350
350
  **/
351
- AlreadyInvulnerable: GenericPalletError<Rv>;
351
+ AlreadyInvulnerable: GenericPalletError;
352
352
 
353
353
  /**
354
354
  * Account is not an Invulnerable.
355
355
  **/
356
- NotInvulnerable: GenericPalletError<Rv>;
356
+ NotInvulnerable: GenericPalletError;
357
357
 
358
358
  /**
359
359
  * Account has no associated validator ID.
360
360
  **/
361
- NoAssociatedValidatorId: GenericPalletError<Rv>;
361
+ NoAssociatedValidatorId: GenericPalletError;
362
362
 
363
363
  /**
364
364
  * Validator ID is not yet registered.
365
365
  **/
366
- ValidatorNotRegistered: GenericPalletError<Rv>;
366
+ ValidatorNotRegistered: GenericPalletError;
367
367
 
368
368
  /**
369
369
  * Could not insert in the candidate list.
370
370
  **/
371
- InsertToCandidateListFailed: GenericPalletError<Rv>;
371
+ InsertToCandidateListFailed: GenericPalletError;
372
372
 
373
373
  /**
374
374
  * Could not remove from the candidate list.
375
375
  **/
376
- RemoveFromCandidateListFailed: GenericPalletError<Rv>;
376
+ RemoveFromCandidateListFailed: GenericPalletError;
377
377
 
378
378
  /**
379
379
  * New deposit amount would be below the minimum candidacy bond.
380
380
  **/
381
- DepositTooLow: GenericPalletError<Rv>;
381
+ DepositTooLow: GenericPalletError;
382
382
 
383
383
  /**
384
384
  * Could not update the candidate list.
385
385
  **/
386
- UpdateCandidateListFailed: GenericPalletError<Rv>;
386
+ UpdateCandidateListFailed: GenericPalletError;
387
387
 
388
388
  /**
389
389
  * Deposit amount is too low to take the target's slot in the candidate list.
390
390
  **/
391
- InsufficientBond: GenericPalletError<Rv>;
391
+ InsufficientBond: GenericPalletError;
392
392
 
393
393
  /**
394
394
  * The target account to be replaced in the candidate list is not a candidate.
395
395
  **/
396
- TargetIsNotCandidate: GenericPalletError<Rv>;
396
+ TargetIsNotCandidate: GenericPalletError;
397
397
 
398
398
  /**
399
399
  * The updated deposit amount is equal to the amount already reserved.
400
400
  **/
401
- IdenticalDeposit: GenericPalletError<Rv>;
401
+ IdenticalDeposit: GenericPalletError;
402
402
 
403
403
  /**
404
404
  * Cannot lower candidacy bond while occupying a future collator slot in the list.
405
405
  **/
406
- InvalidUnreserve: GenericPalletError<Rv>;
406
+ InvalidUnreserve: GenericPalletError;
407
407
 
408
408
  /**
409
409
  * Generic pallet error
410
410
  **/
411
- [error: string]: GenericPalletError<Rv>;
411
+ [error: string]: GenericPalletError;
412
412
  };
413
413
  /**
414
414
  * Pallet `Session`'s errors
@@ -417,32 +417,32 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
417
417
  /**
418
418
  * Invalid ownership proof.
419
419
  **/
420
- InvalidProof: GenericPalletError<Rv>;
420
+ InvalidProof: GenericPalletError;
421
421
 
422
422
  /**
423
423
  * No associated validator ID for account.
424
424
  **/
425
- NoAssociatedValidatorId: GenericPalletError<Rv>;
425
+ NoAssociatedValidatorId: GenericPalletError;
426
426
 
427
427
  /**
428
428
  * Registered duplicate key.
429
429
  **/
430
- DuplicatedKey: GenericPalletError<Rv>;
430
+ DuplicatedKey: GenericPalletError;
431
431
 
432
432
  /**
433
433
  * No keys are associated with this account.
434
434
  **/
435
- NoKeys: GenericPalletError<Rv>;
435
+ NoKeys: GenericPalletError;
436
436
 
437
437
  /**
438
438
  * Key setting account is not live, so it's impossible to associate keys.
439
439
  **/
440
- NoAccount: GenericPalletError<Rv>;
440
+ NoAccount: GenericPalletError;
441
441
 
442
442
  /**
443
443
  * Generic pallet error
444
444
  **/
445
- [error: string]: GenericPalletError<Rv>;
445
+ [error: string]: GenericPalletError;
446
446
  };
447
447
  /**
448
448
  * Pallet `XcmpQueue`'s errors
@@ -451,32 +451,32 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
451
451
  /**
452
452
  * Setting the queue config failed since one of its values was invalid.
453
453
  **/
454
- BadQueueConfig: GenericPalletError<Rv>;
454
+ BadQueueConfig: GenericPalletError;
455
455
 
456
456
  /**
457
457
  * The execution is already suspended.
458
458
  **/
459
- AlreadySuspended: GenericPalletError<Rv>;
459
+ AlreadySuspended: GenericPalletError;
460
460
 
461
461
  /**
462
462
  * The execution is already resumed.
463
463
  **/
464
- AlreadyResumed: GenericPalletError<Rv>;
464
+ AlreadyResumed: GenericPalletError;
465
465
 
466
466
  /**
467
467
  * There are too many active outbound channels.
468
468
  **/
469
- TooManyActiveOutboundChannels: GenericPalletError<Rv>;
469
+ TooManyActiveOutboundChannels: GenericPalletError;
470
470
 
471
471
  /**
472
472
  * The message is too big.
473
473
  **/
474
- TooBig: GenericPalletError<Rv>;
474
+ TooBig: GenericPalletError;
475
475
 
476
476
  /**
477
477
  * Generic pallet error
478
478
  **/
479
- [error: string]: GenericPalletError<Rv>;
479
+ [error: string]: GenericPalletError;
480
480
  };
481
481
  /**
482
482
  * Pallet `PolkadotXcm`'s errors
@@ -486,152 +486,152 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
486
486
  * The desired destination was unreachable, generally because there is a no way of routing
487
487
  * to it.
488
488
  **/
489
- Unreachable: GenericPalletError<Rv>;
489
+ Unreachable: GenericPalletError;
490
490
 
491
491
  /**
492
492
  * There was some other issue (i.e. not to do with routing) in sending the message.
493
493
  * Perhaps a lack of space for buffering the message.
494
494
  **/
495
- SendFailure: GenericPalletError<Rv>;
495
+ SendFailure: GenericPalletError;
496
496
 
497
497
  /**
498
498
  * The message execution fails the filter.
499
499
  **/
500
- Filtered: GenericPalletError<Rv>;
500
+ Filtered: GenericPalletError;
501
501
 
502
502
  /**
503
503
  * The message's weight could not be determined.
504
504
  **/
505
- UnweighableMessage: GenericPalletError<Rv>;
505
+ UnweighableMessage: GenericPalletError;
506
506
 
507
507
  /**
508
508
  * The destination `Location` provided cannot be inverted.
509
509
  **/
510
- DestinationNotInvertible: GenericPalletError<Rv>;
510
+ DestinationNotInvertible: GenericPalletError;
511
511
 
512
512
  /**
513
513
  * The assets to be sent are empty.
514
514
  **/
515
- Empty: GenericPalletError<Rv>;
515
+ Empty: GenericPalletError;
516
516
 
517
517
  /**
518
518
  * Could not re-anchor the assets to declare the fees for the destination chain.
519
519
  **/
520
- CannotReanchor: GenericPalletError<Rv>;
520
+ CannotReanchor: GenericPalletError;
521
521
 
522
522
  /**
523
523
  * Too many assets have been attempted for transfer.
524
524
  **/
525
- TooManyAssets: GenericPalletError<Rv>;
525
+ TooManyAssets: GenericPalletError;
526
526
 
527
527
  /**
528
528
  * Origin is invalid for sending.
529
529
  **/
530
- InvalidOrigin: GenericPalletError<Rv>;
530
+ InvalidOrigin: GenericPalletError;
531
531
 
532
532
  /**
533
533
  * The version of the `Versioned` value used is not able to be interpreted.
534
534
  **/
535
- BadVersion: GenericPalletError<Rv>;
535
+ BadVersion: GenericPalletError;
536
536
 
537
537
  /**
538
538
  * The given location could not be used (e.g. because it cannot be expressed in the
539
539
  * desired version of XCM).
540
540
  **/
541
- BadLocation: GenericPalletError<Rv>;
541
+ BadLocation: GenericPalletError;
542
542
 
543
543
  /**
544
544
  * The referenced subscription could not be found.
545
545
  **/
546
- NoSubscription: GenericPalletError<Rv>;
546
+ NoSubscription: GenericPalletError;
547
547
 
548
548
  /**
549
549
  * The location is invalid since it already has a subscription from us.
550
550
  **/
551
- AlreadySubscribed: GenericPalletError<Rv>;
551
+ AlreadySubscribed: GenericPalletError;
552
552
 
553
553
  /**
554
554
  * Could not check-out the assets for teleportation to the destination chain.
555
555
  **/
556
- CannotCheckOutTeleport: GenericPalletError<Rv>;
556
+ CannotCheckOutTeleport: GenericPalletError;
557
557
 
558
558
  /**
559
559
  * The owner does not own (all) of the asset that they wish to do the operation on.
560
560
  **/
561
- LowBalance: GenericPalletError<Rv>;
561
+ LowBalance: GenericPalletError;
562
562
 
563
563
  /**
564
564
  * The asset owner has too many locks on the asset.
565
565
  **/
566
- TooManyLocks: GenericPalletError<Rv>;
566
+ TooManyLocks: GenericPalletError;
567
567
 
568
568
  /**
569
569
  * The given account is not an identifiable sovereign account for any location.
570
570
  **/
571
- AccountNotSovereign: GenericPalletError<Rv>;
571
+ AccountNotSovereign: GenericPalletError;
572
572
 
573
573
  /**
574
574
  * The operation required fees to be paid which the initiator could not meet.
575
575
  **/
576
- FeesNotMet: GenericPalletError<Rv>;
576
+ FeesNotMet: GenericPalletError;
577
577
 
578
578
  /**
579
579
  * A remote lock with the corresponding data could not be found.
580
580
  **/
581
- LockNotFound: GenericPalletError<Rv>;
581
+ LockNotFound: GenericPalletError;
582
582
 
583
583
  /**
584
584
  * The unlock operation cannot succeed because there are still consumers of the lock.
585
585
  **/
586
- InUse: GenericPalletError<Rv>;
586
+ InUse: GenericPalletError;
587
587
 
588
588
  /**
589
589
  * Invalid asset, reserve chain could not be determined for it.
590
590
  **/
591
- InvalidAssetUnknownReserve: GenericPalletError<Rv>;
591
+ InvalidAssetUnknownReserve: GenericPalletError;
592
592
 
593
593
  /**
594
594
  * Invalid asset, do not support remote asset reserves with different fees reserves.
595
595
  **/
596
- InvalidAssetUnsupportedReserve: GenericPalletError<Rv>;
596
+ InvalidAssetUnsupportedReserve: GenericPalletError;
597
597
 
598
598
  /**
599
599
  * Too many assets with different reserve locations have been attempted for transfer.
600
600
  **/
601
- TooManyReserves: GenericPalletError<Rv>;
601
+ TooManyReserves: GenericPalletError;
602
602
 
603
603
  /**
604
604
  * Local XCM execution incomplete.
605
605
  **/
606
- LocalExecutionIncomplete: GenericPalletError<Rv>;
606
+ LocalExecutionIncomplete: GenericPalletError;
607
607
 
608
608
  /**
609
609
  * Too many locations authorized to alias origin.
610
610
  *
611
611
  * @deprecated Use `LocalExecutionIncompleteWithError` instead (since 20.0.0)
612
612
  **/
613
- TooManyAuthorizedAliases: GenericPalletError<Rv>;
613
+ TooManyAuthorizedAliases: GenericPalletError;
614
614
 
615
615
  /**
616
616
  * Expiry block number is in the past.
617
617
  **/
618
- ExpiresInPast: GenericPalletError<Rv>;
618
+ ExpiresInPast: GenericPalletError;
619
619
 
620
620
  /**
621
621
  * The alias to remove authorization for was not found.
622
622
  **/
623
- AliasNotFound: GenericPalletError<Rv>;
623
+ AliasNotFound: GenericPalletError;
624
624
 
625
625
  /**
626
626
  * Local XCM execution incomplete with the actual XCM error and the index of the
627
627
  * instruction that caused the error.
628
628
  **/
629
- LocalExecutionIncompleteWithError: GenericPalletError<Rv>;
629
+ LocalExecutionIncompleteWithError: GenericPalletError;
630
630
 
631
631
  /**
632
632
  * Generic pallet error
633
633
  **/
634
- [error: string]: GenericPalletError<Rv>;
634
+ [error: string]: GenericPalletError;
635
635
  };
636
636
  /**
637
637
  * Pallet `MessageQueue`'s errors
@@ -641,32 +641,32 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
641
641
  * Page is not reapable because it has items remaining to be processed and is not old
642
642
  * enough.
643
643
  **/
644
- NotReapable: GenericPalletError<Rv>;
644
+ NotReapable: GenericPalletError;
645
645
 
646
646
  /**
647
647
  * Page to be reaped does not exist.
648
648
  **/
649
- NoPage: GenericPalletError<Rv>;
649
+ NoPage: GenericPalletError;
650
650
 
651
651
  /**
652
652
  * The referenced message could not be found.
653
653
  **/
654
- NoMessage: GenericPalletError<Rv>;
654
+ NoMessage: GenericPalletError;
655
655
 
656
656
  /**
657
657
  * The message was already processed and cannot be processed again.
658
658
  **/
659
- AlreadyProcessed: GenericPalletError<Rv>;
659
+ AlreadyProcessed: GenericPalletError;
660
660
 
661
661
  /**
662
662
  * The message is queued for future execution.
663
663
  **/
664
- Queued: GenericPalletError<Rv>;
664
+ Queued: GenericPalletError;
665
665
 
666
666
  /**
667
667
  * There is temporarily not enough weight to continue servicing messages.
668
668
  **/
669
- InsufficientWeight: GenericPalletError<Rv>;
669
+ InsufficientWeight: GenericPalletError;
670
670
 
671
671
  /**
672
672
  * This message is temporarily unprocessable.
@@ -674,24 +674,24 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
674
674
  * Such errors are expected, but not guaranteed, to resolve themselves eventually through
675
675
  * retrying.
676
676
  **/
677
- TemporarilyUnprocessable: GenericPalletError<Rv>;
677
+ TemporarilyUnprocessable: GenericPalletError;
678
678
 
679
679
  /**
680
680
  * The queue is paused and no message can be executed from it.
681
681
  *
682
682
  * This can change at any time and may resolve in the future by re-trying.
683
683
  **/
684
- QueuePaused: GenericPalletError<Rv>;
684
+ QueuePaused: GenericPalletError;
685
685
 
686
686
  /**
687
687
  * Another call is in progress and needs to finish before this call can happen.
688
688
  **/
689
- RecursiveDisallowed: GenericPalletError<Rv>;
689
+ RecursiveDisallowed: GenericPalletError;
690
690
 
691
691
  /**
692
692
  * Generic pallet error
693
693
  **/
694
- [error: string]: GenericPalletError<Rv>;
694
+ [error: string]: GenericPalletError;
695
695
  };
696
696
  /**
697
697
  * Pallet `SnowbridgeSystemFrontend`'s errors
@@ -700,73 +700,73 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
700
700
  /**
701
701
  * Convert versioned location failure
702
702
  **/
703
- UnsupportedLocationVersion: GenericPalletError<Rv>;
703
+ UnsupportedLocationVersion: GenericPalletError;
704
704
 
705
705
  /**
706
706
  * Check location failure, should start from the dispatch origin as owner
707
707
  **/
708
- InvalidAssetOwner: GenericPalletError<Rv>;
708
+ InvalidAssetOwner: GenericPalletError;
709
709
 
710
710
  /**
711
711
  * Send xcm message failure
712
712
  **/
713
- SendFailure: GenericPalletError<Rv>;
713
+ SendFailure: GenericPalletError;
714
714
 
715
715
  /**
716
716
  * Withdraw fee asset failure
717
717
  **/
718
- FeesNotMet: GenericPalletError<Rv>;
718
+ FeesNotMet: GenericPalletError;
719
719
 
720
720
  /**
721
721
  * Convert to reanchored location failure
722
722
  **/
723
- LocationConversionFailed: GenericPalletError<Rv>;
723
+ LocationConversionFailed: GenericPalletError;
724
724
 
725
725
  /**
726
726
  * Message export is halted
727
727
  **/
728
- Halted: GenericPalletError<Rv>;
728
+ Halted: GenericPalletError;
729
729
 
730
730
  /**
731
731
  * The desired destination was unreachable, generally because there is a no way of routing
732
732
  * to it.
733
733
  **/
734
- Unreachable: GenericPalletError<Rv>;
734
+ Unreachable: GenericPalletError;
735
735
 
736
736
  /**
737
737
  * The asset provided for the tip is unsupported.
738
738
  **/
739
- UnsupportedAsset: GenericPalletError<Rv>;
739
+ UnsupportedAsset: GenericPalletError;
740
740
 
741
741
  /**
742
742
  * Unable to withdraw asset.
743
743
  **/
744
- WithdrawError: GenericPalletError<Rv>;
744
+ WithdrawError: GenericPalletError;
745
745
 
746
746
  /**
747
747
  * Account could not be converted to a location.
748
748
  **/
749
- InvalidAccount: GenericPalletError<Rv>;
749
+ InvalidAccount: GenericPalletError;
750
750
 
751
751
  /**
752
752
  * Provided tip asset could not be swapped for ether.
753
753
  **/
754
- SwapError: GenericPalletError<Rv>;
754
+ SwapError: GenericPalletError;
755
755
 
756
756
  /**
757
757
  * Ether could not be burned.
758
758
  **/
759
- BurnError: GenericPalletError<Rv>;
759
+ BurnError: GenericPalletError;
760
760
 
761
761
  /**
762
762
  * The tip provided is zero.
763
763
  **/
764
- TipAmountZero: GenericPalletError<Rv>;
764
+ TipAmountZero: GenericPalletError;
765
765
 
766
766
  /**
767
767
  * Generic pallet error
768
768
  **/
769
- [error: string]: GenericPalletError<Rv>;
769
+ [error: string]: GenericPalletError;
770
770
  };
771
771
  /**
772
772
  * Pallet `Utility`'s errors
@@ -775,12 +775,12 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
775
775
  /**
776
776
  * Too many calls batched.
777
777
  **/
778
- TooManyCalls: GenericPalletError<Rv>;
778
+ TooManyCalls: GenericPalletError;
779
779
 
780
780
  /**
781
781
  * Generic pallet error
782
782
  **/
783
- [error: string]: GenericPalletError<Rv>;
783
+ [error: string]: GenericPalletError;
784
784
  };
785
785
  /**
786
786
  * Pallet `Multisig`'s errors
@@ -789,78 +789,78 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
789
789
  /**
790
790
  * Threshold must be 2 or greater.
791
791
  **/
792
- MinimumThreshold: GenericPalletError<Rv>;
792
+ MinimumThreshold: GenericPalletError;
793
793
 
794
794
  /**
795
795
  * Call is already approved by this signatory.
796
796
  **/
797
- AlreadyApproved: GenericPalletError<Rv>;
797
+ AlreadyApproved: GenericPalletError;
798
798
 
799
799
  /**
800
800
  * Call doesn't need any (more) approvals.
801
801
  **/
802
- NoApprovalsNeeded: GenericPalletError<Rv>;
802
+ NoApprovalsNeeded: GenericPalletError;
803
803
 
804
804
  /**
805
805
  * There are too few signatories in the list.
806
806
  **/
807
- TooFewSignatories: GenericPalletError<Rv>;
807
+ TooFewSignatories: GenericPalletError;
808
808
 
809
809
  /**
810
810
  * There are too many signatories in the list.
811
811
  **/
812
- TooManySignatories: GenericPalletError<Rv>;
812
+ TooManySignatories: GenericPalletError;
813
813
 
814
814
  /**
815
815
  * The signatories were provided out of order; they should be ordered.
816
816
  **/
817
- SignatoriesOutOfOrder: GenericPalletError<Rv>;
817
+ SignatoriesOutOfOrder: GenericPalletError;
818
818
 
819
819
  /**
820
820
  * The sender was contained in the other signatories; it shouldn't be.
821
821
  **/
822
- SenderInSignatories: GenericPalletError<Rv>;
822
+ SenderInSignatories: GenericPalletError;
823
823
 
824
824
  /**
825
825
  * Multisig operation not found in storage.
826
826
  **/
827
- NotFound: GenericPalletError<Rv>;
827
+ NotFound: GenericPalletError;
828
828
 
829
829
  /**
830
830
  * Only the account that originally created the multisig is able to cancel it or update
831
831
  * its deposits.
832
832
  **/
833
- NotOwner: GenericPalletError<Rv>;
833
+ NotOwner: GenericPalletError;
834
834
 
835
835
  /**
836
836
  * No timepoint was given, yet the multisig operation is already underway.
837
837
  **/
838
- NoTimepoint: GenericPalletError<Rv>;
838
+ NoTimepoint: GenericPalletError;
839
839
 
840
840
  /**
841
841
  * A different timepoint was given to the multisig operation that is underway.
842
842
  **/
843
- WrongTimepoint: GenericPalletError<Rv>;
843
+ WrongTimepoint: GenericPalletError;
844
844
 
845
845
  /**
846
846
  * A timepoint was given, yet no multisig operation is underway.
847
847
  **/
848
- UnexpectedTimepoint: GenericPalletError<Rv>;
848
+ UnexpectedTimepoint: GenericPalletError;
849
849
 
850
850
  /**
851
851
  * The maximum weight information provided was too low.
852
852
  **/
853
- MaxWeightTooLow: GenericPalletError<Rv>;
853
+ MaxWeightTooLow: GenericPalletError;
854
854
 
855
855
  /**
856
856
  * The data to be stored is already stored.
857
857
  **/
858
- AlreadyStored: GenericPalletError<Rv>;
858
+ AlreadyStored: GenericPalletError;
859
859
 
860
860
  /**
861
861
  * Generic pallet error
862
862
  **/
863
- [error: string]: GenericPalletError<Rv>;
863
+ [error: string]: GenericPalletError;
864
864
  };
865
865
  /**
866
866
  * Pallet `Proxy`'s errors
@@ -869,47 +869,47 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
869
869
  /**
870
870
  * There are too many proxies registered or too many announcements pending.
871
871
  **/
872
- TooMany: GenericPalletError<Rv>;
872
+ TooMany: GenericPalletError;
873
873
 
874
874
  /**
875
875
  * Proxy registration not found.
876
876
  **/
877
- NotFound: GenericPalletError<Rv>;
877
+ NotFound: GenericPalletError;
878
878
 
879
879
  /**
880
880
  * Sender is not a proxy of the account to be proxied.
881
881
  **/
882
- NotProxy: GenericPalletError<Rv>;
882
+ NotProxy: GenericPalletError;
883
883
 
884
884
  /**
885
885
  * A call which is incompatible with the proxy type's filter was attempted.
886
886
  **/
887
- Unproxyable: GenericPalletError<Rv>;
887
+ Unproxyable: GenericPalletError;
888
888
 
889
889
  /**
890
890
  * Account is already a proxy.
891
891
  **/
892
- Duplicate: GenericPalletError<Rv>;
892
+ Duplicate: GenericPalletError;
893
893
 
894
894
  /**
895
895
  * Call may not be made by proxy because it may escalate its privileges.
896
896
  **/
897
- NoPermission: GenericPalletError<Rv>;
897
+ NoPermission: GenericPalletError;
898
898
 
899
899
  /**
900
900
  * Announcement, if made at all, was made too recently.
901
901
  **/
902
- Unannounced: GenericPalletError<Rv>;
902
+ Unannounced: GenericPalletError;
903
903
 
904
904
  /**
905
905
  * Cannot add self as proxy.
906
906
  **/
907
- NoSelfProxy: GenericPalletError<Rv>;
907
+ NoSelfProxy: GenericPalletError;
908
908
 
909
909
  /**
910
910
  * Generic pallet error
911
911
  **/
912
- [error: string]: GenericPalletError<Rv>;
912
+ [error: string]: GenericPalletError;
913
913
  };
914
914
  /**
915
915
  * Pallet `Indices`'s errors
@@ -918,32 +918,32 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
918
918
  /**
919
919
  * The index was not already assigned.
920
920
  **/
921
- NotAssigned: GenericPalletError<Rv>;
921
+ NotAssigned: GenericPalletError;
922
922
 
923
923
  /**
924
924
  * The index is assigned to another account.
925
925
  **/
926
- NotOwner: GenericPalletError<Rv>;
926
+ NotOwner: GenericPalletError;
927
927
 
928
928
  /**
929
929
  * The index was not available.
930
930
  **/
931
- InUse: GenericPalletError<Rv>;
931
+ InUse: GenericPalletError;
932
932
 
933
933
  /**
934
934
  * The source and destination accounts are identical.
935
935
  **/
936
- NotTransfer: GenericPalletError<Rv>;
936
+ NotTransfer: GenericPalletError;
937
937
 
938
938
  /**
939
939
  * The index is permanent and may not be freed/changed.
940
940
  **/
941
- Permanent: GenericPalletError<Rv>;
941
+ Permanent: GenericPalletError;
942
942
 
943
943
  /**
944
944
  * Generic pallet error
945
945
  **/
946
- [error: string]: GenericPalletError<Rv>;
946
+ [error: string]: GenericPalletError;
947
947
  };
948
948
  /**
949
949
  * Pallet `Assets`'s errors
@@ -952,125 +952,125 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
952
952
  /**
953
953
  * Account balance must be greater than or equal to the transfer amount.
954
954
  **/
955
- BalanceLow: GenericPalletError<Rv>;
955
+ BalanceLow: GenericPalletError;
956
956
 
957
957
  /**
958
958
  * The account to alter does not exist.
959
959
  **/
960
- NoAccount: GenericPalletError<Rv>;
960
+ NoAccount: GenericPalletError;
961
961
 
962
962
  /**
963
963
  * The signing account has no permission to do the operation.
964
964
  **/
965
- NoPermission: GenericPalletError<Rv>;
965
+ NoPermission: GenericPalletError;
966
966
 
967
967
  /**
968
968
  * The given asset ID is unknown.
969
969
  **/
970
- Unknown: GenericPalletError<Rv>;
970
+ Unknown: GenericPalletError;
971
971
 
972
972
  /**
973
973
  * The origin account is frozen.
974
974
  **/
975
- Frozen: GenericPalletError<Rv>;
975
+ Frozen: GenericPalletError;
976
976
 
977
977
  /**
978
978
  * The asset ID is already taken.
979
979
  **/
980
- InUse: GenericPalletError<Rv>;
980
+ InUse: GenericPalletError;
981
981
 
982
982
  /**
983
983
  * Invalid witness data given.
984
984
  **/
985
- BadWitness: GenericPalletError<Rv>;
985
+ BadWitness: GenericPalletError;
986
986
 
987
987
  /**
988
988
  * Minimum balance should be non-zero.
989
989
  **/
990
- MinBalanceZero: GenericPalletError<Rv>;
990
+ MinBalanceZero: GenericPalletError;
991
991
 
992
992
  /**
993
993
  * Unable to increment the consumer reference counters on the account. Either no provider
994
994
  * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
995
995
  * fewer then the maximum number of consumers has been reached.
996
996
  **/
997
- UnavailableConsumer: GenericPalletError<Rv>;
997
+ UnavailableConsumer: GenericPalletError;
998
998
 
999
999
  /**
1000
1000
  * Invalid metadata given.
1001
1001
  **/
1002
- BadMetadata: GenericPalletError<Rv>;
1002
+ BadMetadata: GenericPalletError;
1003
1003
 
1004
1004
  /**
1005
1005
  * No approval exists that would allow the transfer.
1006
1006
  **/
1007
- Unapproved: GenericPalletError<Rv>;
1007
+ Unapproved: GenericPalletError;
1008
1008
 
1009
1009
  /**
1010
1010
  * The source account would not survive the transfer and it needs to stay alive.
1011
1011
  **/
1012
- WouldDie: GenericPalletError<Rv>;
1012
+ WouldDie: GenericPalletError;
1013
1013
 
1014
1014
  /**
1015
1015
  * The asset-account already exists.
1016
1016
  **/
1017
- AlreadyExists: GenericPalletError<Rv>;
1017
+ AlreadyExists: GenericPalletError;
1018
1018
 
1019
1019
  /**
1020
1020
  * The asset-account doesn't have an associated deposit.
1021
1021
  **/
1022
- NoDeposit: GenericPalletError<Rv>;
1022
+ NoDeposit: GenericPalletError;
1023
1023
 
1024
1024
  /**
1025
1025
  * The operation would result in funds being burned.
1026
1026
  **/
1027
- WouldBurn: GenericPalletError<Rv>;
1027
+ WouldBurn: GenericPalletError;
1028
1028
 
1029
1029
  /**
1030
1030
  * The asset is a live asset and is actively being used. Usually emit for operations such
1031
1031
  * as `start_destroy` which require the asset to be in a destroying state.
1032
1032
  **/
1033
- LiveAsset: GenericPalletError<Rv>;
1033
+ LiveAsset: GenericPalletError;
1034
1034
 
1035
1035
  /**
1036
1036
  * The asset is not live, and likely being destroyed.
1037
1037
  **/
1038
- AssetNotLive: GenericPalletError<Rv>;
1038
+ AssetNotLive: GenericPalletError;
1039
1039
 
1040
1040
  /**
1041
1041
  * The asset status is not the expected status.
1042
1042
  **/
1043
- IncorrectStatus: GenericPalletError<Rv>;
1043
+ IncorrectStatus: GenericPalletError;
1044
1044
 
1045
1045
  /**
1046
1046
  * The asset should be frozen before the given operation.
1047
1047
  **/
1048
- NotFrozen: GenericPalletError<Rv>;
1048
+ NotFrozen: GenericPalletError;
1049
1049
 
1050
1050
  /**
1051
1051
  * Callback action resulted in error
1052
1052
  **/
1053
- CallbackFailed: GenericPalletError<Rv>;
1053
+ CallbackFailed: GenericPalletError;
1054
1054
 
1055
1055
  /**
1056
1056
  * The asset ID must be equal to the [`NextAssetId`].
1057
1057
  **/
1058
- BadAssetId: GenericPalletError<Rv>;
1058
+ BadAssetId: GenericPalletError;
1059
1059
 
1060
1060
  /**
1061
1061
  * The asset cannot be destroyed because some accounts for this asset contain freezes.
1062
1062
  **/
1063
- ContainsFreezes: GenericPalletError<Rv>;
1063
+ ContainsFreezes: GenericPalletError;
1064
1064
 
1065
1065
  /**
1066
1066
  * The asset cannot be destroyed because some accounts for this asset contain holds.
1067
1067
  **/
1068
- ContainsHolds: GenericPalletError<Rv>;
1068
+ ContainsHolds: GenericPalletError;
1069
1069
 
1070
1070
  /**
1071
1071
  * Generic pallet error
1072
1072
  **/
1073
- [error: string]: GenericPalletError<Rv>;
1073
+ [error: string]: GenericPalletError;
1074
1074
  };
1075
1075
  /**
1076
1076
  * Pallet `Uniques`'s errors
@@ -1079,117 +1079,117 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1079
1079
  /**
1080
1080
  * The signing account has no permission to do the operation.
1081
1081
  **/
1082
- NoPermission: GenericPalletError<Rv>;
1082
+ NoPermission: GenericPalletError;
1083
1083
 
1084
1084
  /**
1085
1085
  * The given item ID is unknown.
1086
1086
  **/
1087
- UnknownCollection: GenericPalletError<Rv>;
1087
+ UnknownCollection: GenericPalletError;
1088
1088
 
1089
1089
  /**
1090
1090
  * The item ID has already been used for an item.
1091
1091
  **/
1092
- AlreadyExists: GenericPalletError<Rv>;
1092
+ AlreadyExists: GenericPalletError;
1093
1093
 
1094
1094
  /**
1095
1095
  * The owner turned out to be different to what was expected.
1096
1096
  **/
1097
- WrongOwner: GenericPalletError<Rv>;
1097
+ WrongOwner: GenericPalletError;
1098
1098
 
1099
1099
  /**
1100
1100
  * Invalid witness data given.
1101
1101
  **/
1102
- BadWitness: GenericPalletError<Rv>;
1102
+ BadWitness: GenericPalletError;
1103
1103
 
1104
1104
  /**
1105
1105
  * The item ID is already taken.
1106
1106
  **/
1107
- InUse: GenericPalletError<Rv>;
1107
+ InUse: GenericPalletError;
1108
1108
 
1109
1109
  /**
1110
1110
  * The item or collection is frozen.
1111
1111
  **/
1112
- Frozen: GenericPalletError<Rv>;
1112
+ Frozen: GenericPalletError;
1113
1113
 
1114
1114
  /**
1115
1115
  * The delegate turned out to be different to what was expected.
1116
1116
  **/
1117
- WrongDelegate: GenericPalletError<Rv>;
1117
+ WrongDelegate: GenericPalletError;
1118
1118
 
1119
1119
  /**
1120
1120
  * There is no delegate approved.
1121
1121
  **/
1122
- NoDelegate: GenericPalletError<Rv>;
1122
+ NoDelegate: GenericPalletError;
1123
1123
 
1124
1124
  /**
1125
1125
  * No approval exists that would allow the transfer.
1126
1126
  **/
1127
- Unapproved: GenericPalletError<Rv>;
1127
+ Unapproved: GenericPalletError;
1128
1128
 
1129
1129
  /**
1130
1130
  * The named owner has not signed ownership of the collection is acceptable.
1131
1131
  **/
1132
- Unaccepted: GenericPalletError<Rv>;
1132
+ Unaccepted: GenericPalletError;
1133
1133
 
1134
1134
  /**
1135
1135
  * The item is locked.
1136
1136
  **/
1137
- Locked: GenericPalletError<Rv>;
1137
+ Locked: GenericPalletError;
1138
1138
 
1139
1139
  /**
1140
1140
  * All items have been minted.
1141
1141
  **/
1142
- MaxSupplyReached: GenericPalletError<Rv>;
1142
+ MaxSupplyReached: GenericPalletError;
1143
1143
 
1144
1144
  /**
1145
1145
  * The max supply has already been set.
1146
1146
  **/
1147
- MaxSupplyAlreadySet: GenericPalletError<Rv>;
1147
+ MaxSupplyAlreadySet: GenericPalletError;
1148
1148
 
1149
1149
  /**
1150
1150
  * The provided max supply is less to the amount of items a collection already has.
1151
1151
  **/
1152
- MaxSupplyTooSmall: GenericPalletError<Rv>;
1152
+ MaxSupplyTooSmall: GenericPalletError;
1153
1153
 
1154
1154
  /**
1155
1155
  * The given item ID is unknown.
1156
1156
  **/
1157
- UnknownItem: GenericPalletError<Rv>;
1157
+ UnknownItem: GenericPalletError;
1158
1158
 
1159
1159
  /**
1160
1160
  * Item is not for sale.
1161
1161
  **/
1162
- NotForSale: GenericPalletError<Rv>;
1162
+ NotForSale: GenericPalletError;
1163
1163
 
1164
1164
  /**
1165
1165
  * The provided bid is too low.
1166
1166
  **/
1167
- BidTooLow: GenericPalletError<Rv>;
1167
+ BidTooLow: GenericPalletError;
1168
1168
 
1169
1169
  /**
1170
1170
  * No metadata is found.
1171
1171
  **/
1172
- NoMetadata: GenericPalletError<Rv>;
1172
+ NoMetadata: GenericPalletError;
1173
1173
 
1174
1174
  /**
1175
1175
  * Wrong metadata key/value bytes supplied.
1176
1176
  **/
1177
- WrongMetadata: GenericPalletError<Rv>;
1177
+ WrongMetadata: GenericPalletError;
1178
1178
 
1179
1179
  /**
1180
1180
  * An attribute is not found.
1181
1181
  **/
1182
- AttributeNotFound: GenericPalletError<Rv>;
1182
+ AttributeNotFound: GenericPalletError;
1183
1183
 
1184
1184
  /**
1185
1185
  * Wrong attribute key/value bytes supplied.
1186
1186
  **/
1187
- WrongAttribute: GenericPalletError<Rv>;
1187
+ WrongAttribute: GenericPalletError;
1188
1188
 
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 `Nfts`'s errors
@@ -1198,232 +1198,232 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1198
1198
  /**
1199
1199
  * The signing account has no permission to do the operation.
1200
1200
  **/
1201
- NoPermission: GenericPalletError<Rv>;
1201
+ NoPermission: GenericPalletError;
1202
1202
 
1203
1203
  /**
1204
1204
  * The given item ID is unknown.
1205
1205
  **/
1206
- UnknownCollection: GenericPalletError<Rv>;
1206
+ UnknownCollection: GenericPalletError;
1207
1207
 
1208
1208
  /**
1209
1209
  * The item ID has already been used for an item.
1210
1210
  **/
1211
- AlreadyExists: GenericPalletError<Rv>;
1211
+ AlreadyExists: GenericPalletError;
1212
1212
 
1213
1213
  /**
1214
1214
  * The approval had a deadline that expired, so the approval isn't valid anymore.
1215
1215
  **/
1216
- ApprovalExpired: GenericPalletError<Rv>;
1216
+ ApprovalExpired: GenericPalletError;
1217
1217
 
1218
1218
  /**
1219
1219
  * The owner turned out to be different to what was expected.
1220
1220
  **/
1221
- WrongOwner: GenericPalletError<Rv>;
1221
+ WrongOwner: GenericPalletError;
1222
1222
 
1223
1223
  /**
1224
1224
  * The witness data given does not match the current state of the chain.
1225
1225
  **/
1226
- BadWitness: GenericPalletError<Rv>;
1226
+ BadWitness: GenericPalletError;
1227
1227
 
1228
1228
  /**
1229
1229
  * Collection ID is already taken.
1230
1230
  **/
1231
- CollectionIdInUse: GenericPalletError<Rv>;
1231
+ CollectionIdInUse: GenericPalletError;
1232
1232
 
1233
1233
  /**
1234
1234
  * Items within that collection are non-transferable.
1235
1235
  **/
1236
- ItemsNonTransferable: GenericPalletError<Rv>;
1236
+ ItemsNonTransferable: GenericPalletError;
1237
1237
 
1238
1238
  /**
1239
1239
  * The provided account is not a delegate.
1240
1240
  **/
1241
- NotDelegate: GenericPalletError<Rv>;
1241
+ NotDelegate: GenericPalletError;
1242
1242
 
1243
1243
  /**
1244
1244
  * The delegate turned out to be different to what was expected.
1245
1245
  **/
1246
- WrongDelegate: GenericPalletError<Rv>;
1246
+ WrongDelegate: GenericPalletError;
1247
1247
 
1248
1248
  /**
1249
1249
  * No approval exists that would allow the transfer.
1250
1250
  **/
1251
- Unapproved: GenericPalletError<Rv>;
1251
+ Unapproved: GenericPalletError;
1252
1252
 
1253
1253
  /**
1254
1254
  * The named owner has not signed ownership acceptance of the collection.
1255
1255
  **/
1256
- Unaccepted: GenericPalletError<Rv>;
1256
+ Unaccepted: GenericPalletError;
1257
1257
 
1258
1258
  /**
1259
1259
  * The item is locked (non-transferable).
1260
1260
  **/
1261
- ItemLocked: GenericPalletError<Rv>;
1261
+ ItemLocked: GenericPalletError;
1262
1262
 
1263
1263
  /**
1264
1264
  * Item's attributes are locked.
1265
1265
  **/
1266
- LockedItemAttributes: GenericPalletError<Rv>;
1266
+ LockedItemAttributes: GenericPalletError;
1267
1267
 
1268
1268
  /**
1269
1269
  * Collection's attributes are locked.
1270
1270
  **/
1271
- LockedCollectionAttributes: GenericPalletError<Rv>;
1271
+ LockedCollectionAttributes: GenericPalletError;
1272
1272
 
1273
1273
  /**
1274
1274
  * Item's metadata is locked.
1275
1275
  **/
1276
- LockedItemMetadata: GenericPalletError<Rv>;
1276
+ LockedItemMetadata: GenericPalletError;
1277
1277
 
1278
1278
  /**
1279
1279
  * Collection's metadata is locked.
1280
1280
  **/
1281
- LockedCollectionMetadata: GenericPalletError<Rv>;
1281
+ LockedCollectionMetadata: GenericPalletError;
1282
1282
 
1283
1283
  /**
1284
1284
  * All items have been minted.
1285
1285
  **/
1286
- MaxSupplyReached: GenericPalletError<Rv>;
1286
+ MaxSupplyReached: GenericPalletError;
1287
1287
 
1288
1288
  /**
1289
1289
  * The max supply is locked and can't be changed.
1290
1290
  **/
1291
- MaxSupplyLocked: GenericPalletError<Rv>;
1291
+ MaxSupplyLocked: GenericPalletError;
1292
1292
 
1293
1293
  /**
1294
1294
  * The provided max supply is less than the number of items a collection already has.
1295
1295
  **/
1296
- MaxSupplyTooSmall: GenericPalletError<Rv>;
1296
+ MaxSupplyTooSmall: GenericPalletError;
1297
1297
 
1298
1298
  /**
1299
1299
  * The given item ID is unknown.
1300
1300
  **/
1301
- UnknownItem: GenericPalletError<Rv>;
1301
+ UnknownItem: GenericPalletError;
1302
1302
 
1303
1303
  /**
1304
1304
  * Swap doesn't exist.
1305
1305
  **/
1306
- UnknownSwap: GenericPalletError<Rv>;
1306
+ UnknownSwap: GenericPalletError;
1307
1307
 
1308
1308
  /**
1309
1309
  * The given item has no metadata set.
1310
1310
  **/
1311
- MetadataNotFound: GenericPalletError<Rv>;
1311
+ MetadataNotFound: GenericPalletError;
1312
1312
 
1313
1313
  /**
1314
1314
  * The provided attribute can't be found.
1315
1315
  **/
1316
- AttributeNotFound: GenericPalletError<Rv>;
1316
+ AttributeNotFound: GenericPalletError;
1317
1317
 
1318
1318
  /**
1319
1319
  * Item is not for sale.
1320
1320
  **/
1321
- NotForSale: GenericPalletError<Rv>;
1321
+ NotForSale: GenericPalletError;
1322
1322
 
1323
1323
  /**
1324
1324
  * The provided bid is too low.
1325
1325
  **/
1326
- BidTooLow: GenericPalletError<Rv>;
1326
+ BidTooLow: GenericPalletError;
1327
1327
 
1328
1328
  /**
1329
1329
  * The item has reached its approval limit.
1330
1330
  **/
1331
- ReachedApprovalLimit: GenericPalletError<Rv>;
1331
+ ReachedApprovalLimit: GenericPalletError;
1332
1332
 
1333
1333
  /**
1334
1334
  * The deadline has already expired.
1335
1335
  **/
1336
- DeadlineExpired: GenericPalletError<Rv>;
1336
+ DeadlineExpired: GenericPalletError;
1337
1337
 
1338
1338
  /**
1339
1339
  * The duration provided should be less than or equal to `MaxDeadlineDuration`.
1340
1340
  **/
1341
- WrongDuration: GenericPalletError<Rv>;
1341
+ WrongDuration: GenericPalletError;
1342
1342
 
1343
1343
  /**
1344
1344
  * The method is disabled by system settings.
1345
1345
  **/
1346
- MethodDisabled: GenericPalletError<Rv>;
1346
+ MethodDisabled: GenericPalletError;
1347
1347
 
1348
1348
  /**
1349
1349
  * The provided setting can't be set.
1350
1350
  **/
1351
- WrongSetting: GenericPalletError<Rv>;
1351
+ WrongSetting: GenericPalletError;
1352
1352
 
1353
1353
  /**
1354
1354
  * Item's config already exists and should be equal to the provided one.
1355
1355
  **/
1356
- InconsistentItemConfig: GenericPalletError<Rv>;
1356
+ InconsistentItemConfig: GenericPalletError;
1357
1357
 
1358
1358
  /**
1359
1359
  * Config for a collection or an item can't be found.
1360
1360
  **/
1361
- NoConfig: GenericPalletError<Rv>;
1361
+ NoConfig: GenericPalletError;
1362
1362
 
1363
1363
  /**
1364
1364
  * Some roles were not cleared.
1365
1365
  **/
1366
- RolesNotCleared: GenericPalletError<Rv>;
1366
+ RolesNotCleared: GenericPalletError;
1367
1367
 
1368
1368
  /**
1369
1369
  * Mint has not started yet.
1370
1370
  **/
1371
- MintNotStarted: GenericPalletError<Rv>;
1371
+ MintNotStarted: GenericPalletError;
1372
1372
 
1373
1373
  /**
1374
1374
  * Mint has already ended.
1375
1375
  **/
1376
- MintEnded: GenericPalletError<Rv>;
1376
+ MintEnded: GenericPalletError;
1377
1377
 
1378
1378
  /**
1379
1379
  * The provided Item was already used for claiming.
1380
1380
  **/
1381
- AlreadyClaimed: GenericPalletError<Rv>;
1381
+ AlreadyClaimed: GenericPalletError;
1382
1382
 
1383
1383
  /**
1384
1384
  * The provided data is incorrect.
1385
1385
  **/
1386
- IncorrectData: GenericPalletError<Rv>;
1386
+ IncorrectData: GenericPalletError;
1387
1387
 
1388
1388
  /**
1389
1389
  * The extrinsic was sent by the wrong origin.
1390
1390
  **/
1391
- WrongOrigin: GenericPalletError<Rv>;
1391
+ WrongOrigin: GenericPalletError;
1392
1392
 
1393
1393
  /**
1394
1394
  * The provided signature is incorrect.
1395
1395
  **/
1396
- WrongSignature: GenericPalletError<Rv>;
1396
+ WrongSignature: GenericPalletError;
1397
1397
 
1398
1398
  /**
1399
1399
  * The provided metadata might be too long.
1400
1400
  **/
1401
- IncorrectMetadata: GenericPalletError<Rv>;
1401
+ IncorrectMetadata: GenericPalletError;
1402
1402
 
1403
1403
  /**
1404
1404
  * Can't set more attributes per one call.
1405
1405
  **/
1406
- MaxAttributesLimitReached: GenericPalletError<Rv>;
1406
+ MaxAttributesLimitReached: GenericPalletError;
1407
1407
 
1408
1408
  /**
1409
1409
  * The provided namespace isn't supported in this call.
1410
1410
  **/
1411
- WrongNamespace: GenericPalletError<Rv>;
1411
+ WrongNamespace: GenericPalletError;
1412
1412
 
1413
1413
  /**
1414
1414
  * Can't delete non-empty collections.
1415
1415
  **/
1416
- CollectionNotEmpty: GenericPalletError<Rv>;
1416
+ CollectionNotEmpty: GenericPalletError;
1417
1417
 
1418
1418
  /**
1419
1419
  * The witness data should be provided.
1420
1420
  **/
1421
- WitnessRequired: GenericPalletError<Rv>;
1421
+ WitnessRequired: GenericPalletError;
1422
1422
 
1423
1423
  /**
1424
1424
  * Generic pallet error
1425
1425
  **/
1426
- [error: string]: GenericPalletError<Rv>;
1426
+ [error: string]: GenericPalletError;
1427
1427
  };
1428
1428
  /**
1429
1429
  * Pallet `ForeignAssets`'s errors
@@ -1432,125 +1432,125 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1432
1432
  /**
1433
1433
  * Account balance must be greater than or equal to the transfer amount.
1434
1434
  **/
1435
- BalanceLow: GenericPalletError<Rv>;
1435
+ BalanceLow: GenericPalletError;
1436
1436
 
1437
1437
  /**
1438
1438
  * The account to alter does not exist.
1439
1439
  **/
1440
- NoAccount: GenericPalletError<Rv>;
1440
+ NoAccount: GenericPalletError;
1441
1441
 
1442
1442
  /**
1443
1443
  * The signing account has no permission to do the operation.
1444
1444
  **/
1445
- NoPermission: GenericPalletError<Rv>;
1445
+ NoPermission: GenericPalletError;
1446
1446
 
1447
1447
  /**
1448
1448
  * The given asset ID is unknown.
1449
1449
  **/
1450
- Unknown: GenericPalletError<Rv>;
1450
+ Unknown: GenericPalletError;
1451
1451
 
1452
1452
  /**
1453
1453
  * The origin account is frozen.
1454
1454
  **/
1455
- Frozen: GenericPalletError<Rv>;
1455
+ Frozen: GenericPalletError;
1456
1456
 
1457
1457
  /**
1458
1458
  * The asset ID is already taken.
1459
1459
  **/
1460
- InUse: GenericPalletError<Rv>;
1460
+ InUse: GenericPalletError;
1461
1461
 
1462
1462
  /**
1463
1463
  * Invalid witness data given.
1464
1464
  **/
1465
- BadWitness: GenericPalletError<Rv>;
1465
+ BadWitness: GenericPalletError;
1466
1466
 
1467
1467
  /**
1468
1468
  * Minimum balance should be non-zero.
1469
1469
  **/
1470
- MinBalanceZero: GenericPalletError<Rv>;
1470
+ MinBalanceZero: GenericPalletError;
1471
1471
 
1472
1472
  /**
1473
1473
  * Unable to increment the consumer reference counters on the account. Either no provider
1474
1474
  * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
1475
1475
  * fewer then the maximum number of consumers has been reached.
1476
1476
  **/
1477
- UnavailableConsumer: GenericPalletError<Rv>;
1477
+ UnavailableConsumer: GenericPalletError;
1478
1478
 
1479
1479
  /**
1480
1480
  * Invalid metadata given.
1481
1481
  **/
1482
- BadMetadata: GenericPalletError<Rv>;
1482
+ BadMetadata: GenericPalletError;
1483
1483
 
1484
1484
  /**
1485
1485
  * No approval exists that would allow the transfer.
1486
1486
  **/
1487
- Unapproved: GenericPalletError<Rv>;
1487
+ Unapproved: GenericPalletError;
1488
1488
 
1489
1489
  /**
1490
1490
  * The source account would not survive the transfer and it needs to stay alive.
1491
1491
  **/
1492
- WouldDie: GenericPalletError<Rv>;
1492
+ WouldDie: GenericPalletError;
1493
1493
 
1494
1494
  /**
1495
1495
  * The asset-account already exists.
1496
1496
  **/
1497
- AlreadyExists: GenericPalletError<Rv>;
1497
+ AlreadyExists: GenericPalletError;
1498
1498
 
1499
1499
  /**
1500
1500
  * The asset-account doesn't have an associated deposit.
1501
1501
  **/
1502
- NoDeposit: GenericPalletError<Rv>;
1502
+ NoDeposit: GenericPalletError;
1503
1503
 
1504
1504
  /**
1505
1505
  * The operation would result in funds being burned.
1506
1506
  **/
1507
- WouldBurn: GenericPalletError<Rv>;
1507
+ WouldBurn: GenericPalletError;
1508
1508
 
1509
1509
  /**
1510
1510
  * The asset is a live asset and is actively being used. Usually emit for operations such
1511
1511
  * as `start_destroy` which require the asset to be in a destroying state.
1512
1512
  **/
1513
- LiveAsset: GenericPalletError<Rv>;
1513
+ LiveAsset: GenericPalletError;
1514
1514
 
1515
1515
  /**
1516
1516
  * The asset is not live, and likely being destroyed.
1517
1517
  **/
1518
- AssetNotLive: GenericPalletError<Rv>;
1518
+ AssetNotLive: GenericPalletError;
1519
1519
 
1520
1520
  /**
1521
1521
  * The asset status is not the expected status.
1522
1522
  **/
1523
- IncorrectStatus: GenericPalletError<Rv>;
1523
+ IncorrectStatus: GenericPalletError;
1524
1524
 
1525
1525
  /**
1526
1526
  * The asset should be frozen before the given operation.
1527
1527
  **/
1528
- NotFrozen: GenericPalletError<Rv>;
1528
+ NotFrozen: GenericPalletError;
1529
1529
 
1530
1530
  /**
1531
1531
  * Callback action resulted in error
1532
1532
  **/
1533
- CallbackFailed: GenericPalletError<Rv>;
1533
+ CallbackFailed: GenericPalletError;
1534
1534
 
1535
1535
  /**
1536
1536
  * The asset ID must be equal to the [`NextAssetId`].
1537
1537
  **/
1538
- BadAssetId: GenericPalletError<Rv>;
1538
+ BadAssetId: GenericPalletError;
1539
1539
 
1540
1540
  /**
1541
1541
  * The asset cannot be destroyed because some accounts for this asset contain freezes.
1542
1542
  **/
1543
- ContainsFreezes: GenericPalletError<Rv>;
1543
+ ContainsFreezes: GenericPalletError;
1544
1544
 
1545
1545
  /**
1546
1546
  * The asset cannot be destroyed because some accounts for this asset contain holds.
1547
1547
  **/
1548
- ContainsHolds: GenericPalletError<Rv>;
1548
+ ContainsHolds: GenericPalletError;
1549
1549
 
1550
1550
  /**
1551
1551
  * Generic pallet error
1552
1552
  **/
1553
- [error: string]: GenericPalletError<Rv>;
1553
+ [error: string]: GenericPalletError;
1554
1554
  };
1555
1555
  /**
1556
1556
  * Pallet `NftFractionalization`'s errors
@@ -1559,27 +1559,27 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1559
1559
  /**
1560
1560
  * Asset ID does not correspond to locked NFT.
1561
1561
  **/
1562
- IncorrectAssetId: GenericPalletError<Rv>;
1562
+ IncorrectAssetId: GenericPalletError;
1563
1563
 
1564
1564
  /**
1565
1565
  * The signing account has no permission to do the operation.
1566
1566
  **/
1567
- NoPermission: GenericPalletError<Rv>;
1567
+ NoPermission: GenericPalletError;
1568
1568
 
1569
1569
  /**
1570
1570
  * NFT doesn't exist.
1571
1571
  **/
1572
- NftNotFound: GenericPalletError<Rv>;
1572
+ NftNotFound: GenericPalletError;
1573
1573
 
1574
1574
  /**
1575
1575
  * NFT has not yet been fractionalised.
1576
1576
  **/
1577
- NftNotFractionalized: GenericPalletError<Rv>;
1577
+ NftNotFractionalized: GenericPalletError;
1578
1578
 
1579
1579
  /**
1580
1580
  * Generic pallet error
1581
1581
  **/
1582
- [error: string]: GenericPalletError<Rv>;
1582
+ [error: string]: GenericPalletError;
1583
1583
  };
1584
1584
  /**
1585
1585
  * Pallet `PoolAssets`'s errors
@@ -1588,125 +1588,125 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1588
1588
  /**
1589
1589
  * Account balance must be greater than or equal to the transfer amount.
1590
1590
  **/
1591
- BalanceLow: GenericPalletError<Rv>;
1591
+ BalanceLow: GenericPalletError;
1592
1592
 
1593
1593
  /**
1594
1594
  * The account to alter does not exist.
1595
1595
  **/
1596
- NoAccount: GenericPalletError<Rv>;
1596
+ NoAccount: GenericPalletError;
1597
1597
 
1598
1598
  /**
1599
1599
  * The signing account has no permission to do the operation.
1600
1600
  **/
1601
- NoPermission: GenericPalletError<Rv>;
1601
+ NoPermission: GenericPalletError;
1602
1602
 
1603
1603
  /**
1604
1604
  * The given asset ID is unknown.
1605
1605
  **/
1606
- Unknown: GenericPalletError<Rv>;
1606
+ Unknown: GenericPalletError;
1607
1607
 
1608
1608
  /**
1609
1609
  * The origin account is frozen.
1610
1610
  **/
1611
- Frozen: GenericPalletError<Rv>;
1611
+ Frozen: GenericPalletError;
1612
1612
 
1613
1613
  /**
1614
1614
  * The asset ID is already taken.
1615
1615
  **/
1616
- InUse: GenericPalletError<Rv>;
1616
+ InUse: GenericPalletError;
1617
1617
 
1618
1618
  /**
1619
1619
  * Invalid witness data given.
1620
1620
  **/
1621
- BadWitness: GenericPalletError<Rv>;
1621
+ BadWitness: GenericPalletError;
1622
1622
 
1623
1623
  /**
1624
1624
  * Minimum balance should be non-zero.
1625
1625
  **/
1626
- MinBalanceZero: GenericPalletError<Rv>;
1626
+ MinBalanceZero: GenericPalletError;
1627
1627
 
1628
1628
  /**
1629
1629
  * Unable to increment the consumer reference counters on the account. Either no provider
1630
1630
  * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
1631
1631
  * fewer then the maximum number of consumers has been reached.
1632
1632
  **/
1633
- UnavailableConsumer: GenericPalletError<Rv>;
1633
+ UnavailableConsumer: GenericPalletError;
1634
1634
 
1635
1635
  /**
1636
1636
  * Invalid metadata given.
1637
1637
  **/
1638
- BadMetadata: GenericPalletError<Rv>;
1638
+ BadMetadata: GenericPalletError;
1639
1639
 
1640
1640
  /**
1641
1641
  * No approval exists that would allow the transfer.
1642
1642
  **/
1643
- Unapproved: GenericPalletError<Rv>;
1643
+ Unapproved: GenericPalletError;
1644
1644
 
1645
1645
  /**
1646
1646
  * The source account would not survive the transfer and it needs to stay alive.
1647
1647
  **/
1648
- WouldDie: GenericPalletError<Rv>;
1648
+ WouldDie: GenericPalletError;
1649
1649
 
1650
1650
  /**
1651
1651
  * The asset-account already exists.
1652
1652
  **/
1653
- AlreadyExists: GenericPalletError<Rv>;
1653
+ AlreadyExists: GenericPalletError;
1654
1654
 
1655
1655
  /**
1656
1656
  * The asset-account doesn't have an associated deposit.
1657
1657
  **/
1658
- NoDeposit: GenericPalletError<Rv>;
1658
+ NoDeposit: GenericPalletError;
1659
1659
 
1660
1660
  /**
1661
1661
  * The operation would result in funds being burned.
1662
1662
  **/
1663
- WouldBurn: GenericPalletError<Rv>;
1663
+ WouldBurn: GenericPalletError;
1664
1664
 
1665
1665
  /**
1666
1666
  * The asset is a live asset and is actively being used. Usually emit for operations such
1667
1667
  * as `start_destroy` which require the asset to be in a destroying state.
1668
1668
  **/
1669
- LiveAsset: GenericPalletError<Rv>;
1669
+ LiveAsset: GenericPalletError;
1670
1670
 
1671
1671
  /**
1672
1672
  * The asset is not live, and likely being destroyed.
1673
1673
  **/
1674
- AssetNotLive: GenericPalletError<Rv>;
1674
+ AssetNotLive: GenericPalletError;
1675
1675
 
1676
1676
  /**
1677
1677
  * The asset status is not the expected status.
1678
1678
  **/
1679
- IncorrectStatus: GenericPalletError<Rv>;
1679
+ IncorrectStatus: GenericPalletError;
1680
1680
 
1681
1681
  /**
1682
1682
  * The asset should be frozen before the given operation.
1683
1683
  **/
1684
- NotFrozen: GenericPalletError<Rv>;
1684
+ NotFrozen: GenericPalletError;
1685
1685
 
1686
1686
  /**
1687
1687
  * Callback action resulted in error
1688
1688
  **/
1689
- CallbackFailed: GenericPalletError<Rv>;
1689
+ CallbackFailed: GenericPalletError;
1690
1690
 
1691
1691
  /**
1692
1692
  * The asset ID must be equal to the [`NextAssetId`].
1693
1693
  **/
1694
- BadAssetId: GenericPalletError<Rv>;
1694
+ BadAssetId: GenericPalletError;
1695
1695
 
1696
1696
  /**
1697
1697
  * The asset cannot be destroyed because some accounts for this asset contain freezes.
1698
1698
  **/
1699
- ContainsFreezes: GenericPalletError<Rv>;
1699
+ ContainsFreezes: GenericPalletError;
1700
1700
 
1701
1701
  /**
1702
1702
  * The asset cannot be destroyed because some accounts for this asset contain holds.
1703
1703
  **/
1704
- ContainsHolds: GenericPalletError<Rv>;
1704
+ ContainsHolds: GenericPalletError;
1705
1705
 
1706
1706
  /**
1707
1707
  * Generic pallet error
1708
1708
  **/
1709
- [error: string]: GenericPalletError<Rv>;
1709
+ [error: string]: GenericPalletError;
1710
1710
  };
1711
1711
  /**
1712
1712
  * Pallet `AssetConversion`'s errors
@@ -1715,125 +1715,125 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1715
1715
  /**
1716
1716
  * Provided asset pair is not supported for pool.
1717
1717
  **/
1718
- InvalidAssetPair: GenericPalletError<Rv>;
1718
+ InvalidAssetPair: GenericPalletError;
1719
1719
 
1720
1720
  /**
1721
1721
  * Pool already exists.
1722
1722
  **/
1723
- PoolExists: GenericPalletError<Rv>;
1723
+ PoolExists: GenericPalletError;
1724
1724
 
1725
1725
  /**
1726
1726
  * Desired amount can't be zero.
1727
1727
  **/
1728
- WrongDesiredAmount: GenericPalletError<Rv>;
1728
+ WrongDesiredAmount: GenericPalletError;
1729
1729
 
1730
1730
  /**
1731
1731
  * Provided amount should be greater than or equal to the existential deposit/asset's
1732
1732
  * minimal amount.
1733
1733
  **/
1734
- AmountOneLessThanMinimal: GenericPalletError<Rv>;
1734
+ AmountOneLessThanMinimal: GenericPalletError;
1735
1735
 
1736
1736
  /**
1737
1737
  * Provided amount should be greater than or equal to the existential deposit/asset's
1738
1738
  * minimal amount.
1739
1739
  **/
1740
- AmountTwoLessThanMinimal: GenericPalletError<Rv>;
1740
+ AmountTwoLessThanMinimal: GenericPalletError;
1741
1741
 
1742
1742
  /**
1743
1743
  * Reserve needs to always be greater than or equal to the existential deposit/asset's
1744
1744
  * minimal amount.
1745
1745
  **/
1746
- ReserveLeftLessThanMinimal: GenericPalletError<Rv>;
1746
+ ReserveLeftLessThanMinimal: GenericPalletError;
1747
1747
 
1748
1748
  /**
1749
1749
  * Desired amount can't be equal to the pool reserve.
1750
1750
  **/
1751
- AmountOutTooHigh: GenericPalletError<Rv>;
1751
+ AmountOutTooHigh: GenericPalletError;
1752
1752
 
1753
1753
  /**
1754
1754
  * The pool doesn't exist.
1755
1755
  **/
1756
- PoolNotFound: GenericPalletError<Rv>;
1756
+ PoolNotFound: GenericPalletError;
1757
1757
 
1758
1758
  /**
1759
1759
  * An overflow happened.
1760
1760
  **/
1761
- Overflow: GenericPalletError<Rv>;
1761
+ Overflow: GenericPalletError;
1762
1762
 
1763
1763
  /**
1764
1764
  * The minimal amount requirement for the first token in the pair wasn't met.
1765
1765
  **/
1766
- AssetOneDepositDidNotMeetMinimum: GenericPalletError<Rv>;
1766
+ AssetOneDepositDidNotMeetMinimum: GenericPalletError;
1767
1767
 
1768
1768
  /**
1769
1769
  * The minimal amount requirement for the second token in the pair wasn't met.
1770
1770
  **/
1771
- AssetTwoDepositDidNotMeetMinimum: GenericPalletError<Rv>;
1771
+ AssetTwoDepositDidNotMeetMinimum: GenericPalletError;
1772
1772
 
1773
1773
  /**
1774
1774
  * The minimal amount requirement for the first token in the pair wasn't met.
1775
1775
  **/
1776
- AssetOneWithdrawalDidNotMeetMinimum: GenericPalletError<Rv>;
1776
+ AssetOneWithdrawalDidNotMeetMinimum: GenericPalletError;
1777
1777
 
1778
1778
  /**
1779
1779
  * The minimal amount requirement for the second token in the pair wasn't met.
1780
1780
  **/
1781
- AssetTwoWithdrawalDidNotMeetMinimum: GenericPalletError<Rv>;
1781
+ AssetTwoWithdrawalDidNotMeetMinimum: GenericPalletError;
1782
1782
 
1783
1783
  /**
1784
1784
  * Optimal calculated amount is less than desired.
1785
1785
  **/
1786
- OptimalAmountLessThanDesired: GenericPalletError<Rv>;
1786
+ OptimalAmountLessThanDesired: GenericPalletError;
1787
1787
 
1788
1788
  /**
1789
1789
  * Insufficient liquidity minted.
1790
1790
  **/
1791
- InsufficientLiquidityMinted: GenericPalletError<Rv>;
1791
+ InsufficientLiquidityMinted: GenericPalletError;
1792
1792
 
1793
1793
  /**
1794
1794
  * Requested liquidity can't be zero.
1795
1795
  **/
1796
- ZeroLiquidity: GenericPalletError<Rv>;
1796
+ ZeroLiquidity: GenericPalletError;
1797
1797
 
1798
1798
  /**
1799
1799
  * Amount can't be zero.
1800
1800
  **/
1801
- ZeroAmount: GenericPalletError<Rv>;
1801
+ ZeroAmount: GenericPalletError;
1802
1802
 
1803
1803
  /**
1804
1804
  * Calculated amount out is less than provided minimum amount.
1805
1805
  **/
1806
- ProvidedMinimumNotSufficientForSwap: GenericPalletError<Rv>;
1806
+ ProvidedMinimumNotSufficientForSwap: GenericPalletError;
1807
1807
 
1808
1808
  /**
1809
1809
  * Provided maximum amount is not sufficient for swap.
1810
1810
  **/
1811
- ProvidedMaximumNotSufficientForSwap: GenericPalletError<Rv>;
1811
+ ProvidedMaximumNotSufficientForSwap: GenericPalletError;
1812
1812
 
1813
1813
  /**
1814
1814
  * The provided path must consists of 2 assets at least.
1815
1815
  **/
1816
- InvalidPath: GenericPalletError<Rv>;
1816
+ InvalidPath: GenericPalletError;
1817
1817
 
1818
1818
  /**
1819
1819
  * The provided path must consists of unique assets.
1820
1820
  **/
1821
- NonUniquePath: GenericPalletError<Rv>;
1821
+ NonUniquePath: GenericPalletError;
1822
1822
 
1823
1823
  /**
1824
1824
  * It was not possible to get or increment the Id of the pool.
1825
1825
  **/
1826
- IncorrectPoolAssetId: GenericPalletError<Rv>;
1826
+ IncorrectPoolAssetId: GenericPalletError;
1827
1827
 
1828
1828
  /**
1829
1829
  * The destination account cannot exist with the swapped funds.
1830
1830
  **/
1831
- BelowMinimum: GenericPalletError<Rv>;
1831
+ BelowMinimum: GenericPalletError;
1832
1832
 
1833
1833
  /**
1834
1834
  * Generic pallet error
1835
1835
  **/
1836
- [error: string]: GenericPalletError<Rv>;
1836
+ [error: string]: GenericPalletError;
1837
1837
  };
1838
1838
  /**
1839
1839
  * Pallet `AssetsFreezer`'s errors
@@ -1842,12 +1842,12 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1842
1842
  /**
1843
1843
  * Number of freezes on an account would exceed `MaxFreezes`.
1844
1844
  **/
1845
- TooManyFreezes: GenericPalletError<Rv>;
1845
+ TooManyFreezes: GenericPalletError;
1846
1846
 
1847
1847
  /**
1848
1848
  * Generic pallet error
1849
1849
  **/
1850
- [error: string]: GenericPalletError<Rv>;
1850
+ [error: string]: GenericPalletError;
1851
1851
  };
1852
1852
  /**
1853
1853
  * Pallet `ForeignAssetsFreezer`'s errors
@@ -1856,12 +1856,12 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1856
1856
  /**
1857
1857
  * Number of freezes on an account would exceed `MaxFreezes`.
1858
1858
  **/
1859
- TooManyFreezes: GenericPalletError<Rv>;
1859
+ TooManyFreezes: GenericPalletError;
1860
1860
 
1861
1861
  /**
1862
1862
  * Generic pallet error
1863
1863
  **/
1864
- [error: string]: GenericPalletError<Rv>;
1864
+ [error: string]: GenericPalletError;
1865
1865
  };
1866
1866
  /**
1867
1867
  * Pallet `PoolAssetsFreezer`'s errors
@@ -1870,12 +1870,12 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1870
1870
  /**
1871
1871
  * Number of freezes on an account would exceed `MaxFreezes`.
1872
1872
  **/
1873
- TooManyFreezes: GenericPalletError<Rv>;
1873
+ TooManyFreezes: GenericPalletError;
1874
1874
 
1875
1875
  /**
1876
1876
  * Generic pallet error
1877
1877
  **/
1878
- [error: string]: GenericPalletError<Rv>;
1878
+ [error: string]: GenericPalletError;
1879
1879
  };
1880
1880
  /**
1881
1881
  * Pallet `Revive`'s errors
@@ -1884,122 +1884,122 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1884
1884
  /**
1885
1885
  * Invalid schedule supplied, e.g. with zero weight of a basic operation.
1886
1886
  **/
1887
- InvalidSchedule: GenericPalletError<Rv>;
1887
+ InvalidSchedule: GenericPalletError;
1888
1888
 
1889
1889
  /**
1890
1890
  * Invalid combination of flags supplied to `seal_call` or `seal_delegate_call`.
1891
1891
  **/
1892
- InvalidCallFlags: GenericPalletError<Rv>;
1892
+ InvalidCallFlags: GenericPalletError;
1893
1893
 
1894
1894
  /**
1895
1895
  * The executed contract exhausted its gas limit.
1896
1896
  **/
1897
- OutOfGas: GenericPalletError<Rv>;
1897
+ OutOfGas: GenericPalletError;
1898
1898
 
1899
1899
  /**
1900
1900
  * Performing the requested transfer failed. Probably because there isn't enough
1901
1901
  * free balance in the sender's account.
1902
1902
  **/
1903
- TransferFailed: GenericPalletError<Rv>;
1903
+ TransferFailed: GenericPalletError;
1904
1904
 
1905
1905
  /**
1906
1906
  * Performing a call was denied because the calling depth reached the limit
1907
1907
  * of what is specified in the schedule.
1908
1908
  **/
1909
- MaxCallDepthReached: GenericPalletError<Rv>;
1909
+ MaxCallDepthReached: GenericPalletError;
1910
1910
 
1911
1911
  /**
1912
1912
  * No contract was found at the specified address.
1913
1913
  **/
1914
- ContractNotFound: GenericPalletError<Rv>;
1914
+ ContractNotFound: GenericPalletError;
1915
1915
 
1916
1916
  /**
1917
1917
  * No code could be found at the supplied code hash.
1918
1918
  **/
1919
- CodeNotFound: GenericPalletError<Rv>;
1919
+ CodeNotFound: GenericPalletError;
1920
1920
 
1921
1921
  /**
1922
1922
  * No code info could be found at the supplied code hash.
1923
1923
  **/
1924
- CodeInfoNotFound: GenericPalletError<Rv>;
1924
+ CodeInfoNotFound: GenericPalletError;
1925
1925
 
1926
1926
  /**
1927
1927
  * A buffer outside of sandbox memory was passed to a contract API function.
1928
1928
  **/
1929
- OutOfBounds: GenericPalletError<Rv>;
1929
+ OutOfBounds: GenericPalletError;
1930
1930
 
1931
1931
  /**
1932
1932
  * Input passed to a contract API function failed to decode as expected type.
1933
1933
  **/
1934
- DecodingFailed: GenericPalletError<Rv>;
1934
+ DecodingFailed: GenericPalletError;
1935
1935
 
1936
1936
  /**
1937
1937
  * Contract trapped during execution.
1938
1938
  **/
1939
- ContractTrapped: GenericPalletError<Rv>;
1939
+ ContractTrapped: GenericPalletError;
1940
1940
 
1941
1941
  /**
1942
1942
  * Event body or storage item exceeds [`limits::STORAGE_BYTES`].
1943
1943
  **/
1944
- ValueTooLarge: GenericPalletError<Rv>;
1944
+ ValueTooLarge: GenericPalletError;
1945
1945
 
1946
1946
  /**
1947
1947
  * Termination of a contract is not allowed while the contract is already
1948
1948
  * on the call stack. Can be triggered by `seal_terminate`.
1949
1949
  **/
1950
- TerminatedWhileReentrant: GenericPalletError<Rv>;
1950
+ TerminatedWhileReentrant: GenericPalletError;
1951
1951
 
1952
1952
  /**
1953
1953
  * `seal_call` forwarded this contracts input. It therefore is no longer available.
1954
1954
  **/
1955
- InputForwarded: GenericPalletError<Rv>;
1955
+ InputForwarded: GenericPalletError;
1956
1956
 
1957
1957
  /**
1958
1958
  * The amount of topics passed to `seal_deposit_events` exceeds the limit.
1959
1959
  **/
1960
- TooManyTopics: GenericPalletError<Rv>;
1960
+ TooManyTopics: GenericPalletError;
1961
1961
 
1962
1962
  /**
1963
1963
  * A contract with the same AccountId already exists.
1964
1964
  **/
1965
- DuplicateContract: GenericPalletError<Rv>;
1965
+ DuplicateContract: GenericPalletError;
1966
1966
 
1967
1967
  /**
1968
1968
  * A contract self destructed in its constructor.
1969
1969
  *
1970
1970
  * This can be triggered by a call to `seal_terminate`.
1971
1971
  **/
1972
- TerminatedInConstructor: GenericPalletError<Rv>;
1972
+ TerminatedInConstructor: GenericPalletError;
1973
1973
 
1974
1974
  /**
1975
1975
  * A call tried to invoke a contract that is flagged as non-reentrant.
1976
1976
  **/
1977
- ReentranceDenied: GenericPalletError<Rv>;
1977
+ ReentranceDenied: GenericPalletError;
1978
1978
 
1979
1979
  /**
1980
1980
  * A contract called into the runtime which then called back into this pallet.
1981
1981
  **/
1982
- ReenteredPallet: GenericPalletError<Rv>;
1982
+ ReenteredPallet: GenericPalletError;
1983
1983
 
1984
1984
  /**
1985
1985
  * A contract attempted to invoke a state modifying API while being in read-only mode.
1986
1986
  **/
1987
- StateChangeDenied: GenericPalletError<Rv>;
1987
+ StateChangeDenied: GenericPalletError;
1988
1988
 
1989
1989
  /**
1990
1990
  * Origin doesn't have enough balance to pay the required storage deposits.
1991
1991
  **/
1992
- StorageDepositNotEnoughFunds: GenericPalletError<Rv>;
1992
+ StorageDepositNotEnoughFunds: GenericPalletError;
1993
1993
 
1994
1994
  /**
1995
1995
  * More storage was created than allowed by the storage deposit limit.
1996
1996
  **/
1997
- StorageDepositLimitExhausted: GenericPalletError<Rv>;
1997
+ StorageDepositLimitExhausted: GenericPalletError;
1998
1998
 
1999
1999
  /**
2000
2000
  * Code removal was denied because the code is still in use by at least one contract.
2001
2001
  **/
2002
- CodeInUse: GenericPalletError<Rv>;
2002
+ CodeInUse: GenericPalletError;
2003
2003
 
2004
2004
  /**
2005
2005
  * The contract ran to completion but decided to revert its storage changes.
@@ -2007,7 +2007,7 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2007
2007
  * or via RPC an `Ok` will be returned. In this case the caller needs to inspect the flags
2008
2008
  * to determine whether a reversion has taken place.
2009
2009
  **/
2010
- ContractReverted: GenericPalletError<Rv>;
2010
+ ContractReverted: GenericPalletError;
2011
2011
 
2012
2012
  /**
2013
2013
  * The contract failed to compile or is missing the correct entry points.
@@ -2015,142 +2015,142 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2015
2015
  * A more detailed error can be found on the node console if debug messages are enabled
2016
2016
  * by supplying `-lruntime::revive=debug`.
2017
2017
  **/
2018
- CodeRejected: GenericPalletError<Rv>;
2018
+ CodeRejected: GenericPalletError;
2019
2019
 
2020
2020
  /**
2021
2021
  * The code blob supplied is larger than [`limits::code::BLOB_BYTES`].
2022
2022
  **/
2023
- BlobTooLarge: GenericPalletError<Rv>;
2023
+ BlobTooLarge: GenericPalletError;
2024
2024
 
2025
2025
  /**
2026
2026
  * The contract declares too much memory (ro + rw + stack).
2027
2027
  **/
2028
- StaticMemoryTooLarge: GenericPalletError<Rv>;
2028
+ StaticMemoryTooLarge: GenericPalletError;
2029
2029
 
2030
2030
  /**
2031
2031
  * The program contains a basic block that is larger than allowed.
2032
2032
  **/
2033
- BasicBlockTooLarge: GenericPalletError<Rv>;
2033
+ BasicBlockTooLarge: GenericPalletError;
2034
2034
 
2035
2035
  /**
2036
2036
  * The program contains an invalid instruction.
2037
2037
  **/
2038
- InvalidInstruction: GenericPalletError<Rv>;
2038
+ InvalidInstruction: GenericPalletError;
2039
2039
 
2040
2040
  /**
2041
2041
  * The contract has reached its maximum number of delegate dependencies.
2042
2042
  **/
2043
- MaxDelegateDependenciesReached: GenericPalletError<Rv>;
2043
+ MaxDelegateDependenciesReached: GenericPalletError;
2044
2044
 
2045
2045
  /**
2046
2046
  * The dependency was not found in the contract's delegate dependencies.
2047
2047
  **/
2048
- DelegateDependencyNotFound: GenericPalletError<Rv>;
2048
+ DelegateDependencyNotFound: GenericPalletError;
2049
2049
 
2050
2050
  /**
2051
2051
  * The contract already depends on the given delegate dependency.
2052
2052
  **/
2053
- DelegateDependencyAlreadyExists: GenericPalletError<Rv>;
2053
+ DelegateDependencyAlreadyExists: GenericPalletError;
2054
2054
 
2055
2055
  /**
2056
2056
  * Can not add a delegate dependency to the code hash of the contract itself.
2057
2057
  **/
2058
- CannotAddSelfAsDelegateDependency: GenericPalletError<Rv>;
2058
+ CannotAddSelfAsDelegateDependency: GenericPalletError;
2059
2059
 
2060
2060
  /**
2061
2061
  * Can not add more data to transient storage.
2062
2062
  **/
2063
- OutOfTransientStorage: GenericPalletError<Rv>;
2063
+ OutOfTransientStorage: GenericPalletError;
2064
2064
 
2065
2065
  /**
2066
2066
  * The contract tried to call a syscall which does not exist (at its current api level).
2067
2067
  **/
2068
- InvalidSyscall: GenericPalletError<Rv>;
2068
+ InvalidSyscall: GenericPalletError;
2069
2069
 
2070
2070
  /**
2071
2071
  * Invalid storage flags were passed to one of the storage syscalls.
2072
2072
  **/
2073
- InvalidStorageFlags: GenericPalletError<Rv>;
2073
+ InvalidStorageFlags: GenericPalletError;
2074
2074
 
2075
2075
  /**
2076
2076
  * PolkaVM failed during code execution. Probably due to a malformed program.
2077
2077
  **/
2078
- ExecutionFailed: GenericPalletError<Rv>;
2078
+ ExecutionFailed: GenericPalletError;
2079
2079
 
2080
2080
  /**
2081
2081
  * Failed to convert a U256 to a Balance.
2082
2082
  **/
2083
- BalanceConversionFailed: GenericPalletError<Rv>;
2083
+ BalanceConversionFailed: GenericPalletError;
2084
2084
 
2085
2085
  /**
2086
2086
  * Immutable data can only be set during deploys and only be read during calls.
2087
2087
  * Additionally, it is only valid to set the data once and it must not be empty.
2088
2088
  **/
2089
- InvalidImmutableAccess: GenericPalletError<Rv>;
2089
+ InvalidImmutableAccess: GenericPalletError;
2090
2090
 
2091
2091
  /**
2092
2092
  * An `AccountID32` account tried to interact with the pallet without having a mapping.
2093
2093
  *
2094
2094
  * Call [`Pallet::map_account`] in order to create a mapping for the account.
2095
2095
  **/
2096
- AccountUnmapped: GenericPalletError<Rv>;
2096
+ AccountUnmapped: GenericPalletError;
2097
2097
 
2098
2098
  /**
2099
2099
  * Tried to map an account that is already mapped.
2100
2100
  **/
2101
- AccountAlreadyMapped: GenericPalletError<Rv>;
2101
+ AccountAlreadyMapped: GenericPalletError;
2102
2102
 
2103
2103
  /**
2104
2104
  * The transaction used to dry-run a contract is invalid.
2105
2105
  **/
2106
- InvalidGenericTransaction: GenericPalletError<Rv>;
2106
+ InvalidGenericTransaction: GenericPalletError;
2107
2107
 
2108
2108
  /**
2109
2109
  * The refcount of a code either over or underflowed.
2110
2110
  **/
2111
- RefcountOverOrUnderflow: GenericPalletError<Rv>;
2111
+ RefcountOverOrUnderflow: GenericPalletError;
2112
2112
 
2113
2113
  /**
2114
2114
  * Unsupported precompile address.
2115
2115
  **/
2116
- UnsupportedPrecompileAddress: GenericPalletError<Rv>;
2116
+ UnsupportedPrecompileAddress: GenericPalletError;
2117
2117
 
2118
2118
  /**
2119
2119
  * The calldata exceeds [`limits::CALLDATA_BYTES`].
2120
2120
  **/
2121
- CallDataTooLarge: GenericPalletError<Rv>;
2121
+ CallDataTooLarge: GenericPalletError;
2122
2122
 
2123
2123
  /**
2124
2124
  * The return data exceeds [`limits::CALLDATA_BYTES`].
2125
2125
  **/
2126
- ReturnDataTooLarge: GenericPalletError<Rv>;
2126
+ ReturnDataTooLarge: GenericPalletError;
2127
2127
 
2128
2128
  /**
2129
2129
  * Invalid jump destination. Dynamic jumps points to invalid not jumpdest opcode.
2130
2130
  **/
2131
- InvalidJump: GenericPalletError<Rv>;
2131
+ InvalidJump: GenericPalletError;
2132
2132
 
2133
2133
  /**
2134
2134
  * Attempting to pop a value from an empty stack.
2135
2135
  **/
2136
- StackUnderflow: GenericPalletError<Rv>;
2136
+ StackUnderflow: GenericPalletError;
2137
2137
 
2138
2138
  /**
2139
2139
  * Attempting to push a value onto a full stack.
2140
2140
  **/
2141
- StackOverflow: GenericPalletError<Rv>;
2141
+ StackOverflow: GenericPalletError;
2142
2142
 
2143
2143
  /**
2144
2144
  * Too much deposit was drawn from the shared txfee and deposit credit.
2145
2145
  *
2146
2146
  * This happens if the passed `gas` inside the ethereum transaction is too low.
2147
2147
  **/
2148
- TxFeeOverdraw: GenericPalletError<Rv>;
2148
+ TxFeeOverdraw: GenericPalletError;
2149
2149
 
2150
2150
  /**
2151
2151
  * Generic pallet error
2152
2152
  **/
2153
- [error: string]: GenericPalletError<Rv>;
2153
+ [error: string]: GenericPalletError;
2154
2154
  };
2155
2155
  /**
2156
2156
  * Pallet `AssetRewards`'s errors
@@ -2159,57 +2159,57 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2159
2159
  /**
2160
2160
  * The staker does not have enough tokens to perform the operation.
2161
2161
  **/
2162
- NotEnoughTokens: GenericPalletError<Rv>;
2162
+ NotEnoughTokens: GenericPalletError;
2163
2163
 
2164
2164
  /**
2165
2165
  * An operation was attempted on a non-existent pool.
2166
2166
  **/
2167
- NonExistentPool: GenericPalletError<Rv>;
2167
+ NonExistentPool: GenericPalletError;
2168
2168
 
2169
2169
  /**
2170
2170
  * An operation was attempted for a non-existent staker.
2171
2171
  **/
2172
- NonExistentStaker: GenericPalletError<Rv>;
2172
+ NonExistentStaker: GenericPalletError;
2173
2173
 
2174
2174
  /**
2175
2175
  * An operation was attempted with a non-existent asset.
2176
2176
  **/
2177
- NonExistentAsset: GenericPalletError<Rv>;
2177
+ NonExistentAsset: GenericPalletError;
2178
2178
 
2179
2179
  /**
2180
2180
  * There was an error converting a block number.
2181
2181
  **/
2182
- BlockNumberConversionError: GenericPalletError<Rv>;
2182
+ BlockNumberConversionError: GenericPalletError;
2183
2183
 
2184
2184
  /**
2185
2185
  * The expiry block must be in the future.
2186
2186
  **/
2187
- ExpiryBlockMustBeInTheFuture: GenericPalletError<Rv>;
2187
+ ExpiryBlockMustBeInTheFuture: GenericPalletError;
2188
2188
 
2189
2189
  /**
2190
2190
  * Insufficient funds to create the freeze.
2191
2191
  **/
2192
- InsufficientFunds: GenericPalletError<Rv>;
2192
+ InsufficientFunds: GenericPalletError;
2193
2193
 
2194
2194
  /**
2195
2195
  * The expiry block can be only extended.
2196
2196
  **/
2197
- ExpiryCut: GenericPalletError<Rv>;
2197
+ ExpiryCut: GenericPalletError;
2198
2198
 
2199
2199
  /**
2200
2200
  * The reward rate per block can be only increased.
2201
2201
  **/
2202
- RewardRateCut: GenericPalletError<Rv>;
2202
+ RewardRateCut: GenericPalletError;
2203
2203
 
2204
2204
  /**
2205
2205
  * The pool still has staked tokens or rewards.
2206
2206
  **/
2207
- NonEmptyPool: GenericPalletError<Rv>;
2207
+ NonEmptyPool: GenericPalletError;
2208
2208
 
2209
2209
  /**
2210
2210
  * Generic pallet error
2211
2211
  **/
2212
- [error: string]: GenericPalletError<Rv>;
2212
+ [error: string]: GenericPalletError;
2213
2213
  };
2214
2214
  /**
2215
2215
  * Pallet `StateTrieMigration`'s errors
@@ -2218,7 +2218,7 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2218
2218
  /**
2219
2219
  * Max signed limits not respected.
2220
2220
  **/
2221
- MaxSignedLimits: GenericPalletError<Rv>;
2221
+ MaxSignedLimits: GenericPalletError;
2222
2222
 
2223
2223
  /**
2224
2224
  * A key was longer than the configured maximum.
@@ -2229,32 +2229,32 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2229
2229
  * The value should only be increased to avoid a storage migration for the currently
2230
2230
  * stored [`crate::Progress::LastKey`].
2231
2231
  **/
2232
- KeyTooLong: GenericPalletError<Rv>;
2232
+ KeyTooLong: GenericPalletError;
2233
2233
 
2234
2234
  /**
2235
2235
  * submitter does not have enough funds.
2236
2236
  **/
2237
- NotEnoughFunds: GenericPalletError<Rv>;
2237
+ NotEnoughFunds: GenericPalletError;
2238
2238
 
2239
2239
  /**
2240
2240
  * Bad witness data provided.
2241
2241
  **/
2242
- BadWitness: GenericPalletError<Rv>;
2242
+ BadWitness: GenericPalletError;
2243
2243
 
2244
2244
  /**
2245
2245
  * Signed migration is not allowed because the maximum limit is not set yet.
2246
2246
  **/
2247
- SignedMigrationNotAllowed: GenericPalletError<Rv>;
2247
+ SignedMigrationNotAllowed: GenericPalletError;
2248
2248
 
2249
2249
  /**
2250
2250
  * Bad child root provided.
2251
2251
  **/
2252
- BadChildRoot: GenericPalletError<Rv>;
2252
+ BadChildRoot: GenericPalletError;
2253
2253
 
2254
2254
  /**
2255
2255
  * Generic pallet error
2256
2256
  **/
2257
- [error: string]: GenericPalletError<Rv>;
2257
+ [error: string]: GenericPalletError;
2258
2258
  };
2259
2259
  /**
2260
2260
  * Pallet `Staking`'s errors
@@ -2263,193 +2263,193 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2263
2263
  /**
2264
2264
  * Not a controller account.
2265
2265
  **/
2266
- NotController: GenericPalletError<Rv>;
2266
+ NotController: GenericPalletError;
2267
2267
 
2268
2268
  /**
2269
2269
  * Not a stash account.
2270
2270
  **/
2271
- NotStash: GenericPalletError<Rv>;
2271
+ NotStash: GenericPalletError;
2272
2272
 
2273
2273
  /**
2274
2274
  * Stash is already bonded.
2275
2275
  **/
2276
- AlreadyBonded: GenericPalletError<Rv>;
2276
+ AlreadyBonded: GenericPalletError;
2277
2277
 
2278
2278
  /**
2279
2279
  * Controller is already paired.
2280
2280
  **/
2281
- AlreadyPaired: GenericPalletError<Rv>;
2281
+ AlreadyPaired: GenericPalletError;
2282
2282
 
2283
2283
  /**
2284
2284
  * Targets cannot be empty.
2285
2285
  **/
2286
- EmptyTargets: GenericPalletError<Rv>;
2286
+ EmptyTargets: GenericPalletError;
2287
2287
 
2288
2288
  /**
2289
2289
  * Duplicate index.
2290
2290
  **/
2291
- DuplicateIndex: GenericPalletError<Rv>;
2291
+ DuplicateIndex: GenericPalletError;
2292
2292
 
2293
2293
  /**
2294
2294
  * Slash record not found.
2295
2295
  **/
2296
- InvalidSlashRecord: GenericPalletError<Rv>;
2296
+ InvalidSlashRecord: GenericPalletError;
2297
2297
 
2298
2298
  /**
2299
2299
  * Cannot bond, nominate or validate with value less than the minimum defined by
2300
2300
  * governance (see `MinValidatorBond` and `MinNominatorBond`). If unbonding is the
2301
2301
  * intention, `chill` first to remove one's role as validator/nominator.
2302
2302
  **/
2303
- InsufficientBond: GenericPalletError<Rv>;
2303
+ InsufficientBond: GenericPalletError;
2304
2304
 
2305
2305
  /**
2306
2306
  * Can not schedule more unlock chunks.
2307
2307
  **/
2308
- NoMoreChunks: GenericPalletError<Rv>;
2308
+ NoMoreChunks: GenericPalletError;
2309
2309
 
2310
2310
  /**
2311
2311
  * Can not rebond without unlocking chunks.
2312
2312
  **/
2313
- NoUnlockChunk: GenericPalletError<Rv>;
2313
+ NoUnlockChunk: GenericPalletError;
2314
2314
 
2315
2315
  /**
2316
2316
  * Attempting to target a stash that still has funds.
2317
2317
  **/
2318
- FundedTarget: GenericPalletError<Rv>;
2318
+ FundedTarget: GenericPalletError;
2319
2319
 
2320
2320
  /**
2321
2321
  * Invalid era to reward.
2322
2322
  **/
2323
- InvalidEraToReward: GenericPalletError<Rv>;
2323
+ InvalidEraToReward: GenericPalletError;
2324
2324
 
2325
2325
  /**
2326
2326
  * Invalid number of nominations.
2327
2327
  **/
2328
- InvalidNumberOfNominations: GenericPalletError<Rv>;
2328
+ InvalidNumberOfNominations: GenericPalletError;
2329
2329
 
2330
2330
  /**
2331
2331
  * Rewards for this era have already been claimed for this validator.
2332
2332
  **/
2333
- AlreadyClaimed: GenericPalletError<Rv>;
2333
+ AlreadyClaimed: GenericPalletError;
2334
2334
 
2335
2335
  /**
2336
2336
  * No nominators exist on this page.
2337
2337
  **/
2338
- InvalidPage: GenericPalletError<Rv>;
2338
+ InvalidPage: GenericPalletError;
2339
2339
 
2340
2340
  /**
2341
2341
  * Incorrect previous history depth input provided.
2342
2342
  **/
2343
- IncorrectHistoryDepth: GenericPalletError<Rv>;
2343
+ IncorrectHistoryDepth: GenericPalletError;
2344
2344
 
2345
2345
  /**
2346
2346
  * Internal state has become somehow corrupted and the operation cannot continue.
2347
2347
  **/
2348
- BadState: GenericPalletError<Rv>;
2348
+ BadState: GenericPalletError;
2349
2349
 
2350
2350
  /**
2351
2351
  * Too many nomination targets supplied.
2352
2352
  **/
2353
- TooManyTargets: GenericPalletError<Rv>;
2353
+ TooManyTargets: GenericPalletError;
2354
2354
 
2355
2355
  /**
2356
2356
  * A nomination target was supplied that was blocked or otherwise not a validator.
2357
2357
  **/
2358
- BadTarget: GenericPalletError<Rv>;
2358
+ BadTarget: GenericPalletError;
2359
2359
 
2360
2360
  /**
2361
2361
  * The user has enough bond and thus cannot be chilled forcefully by an external person.
2362
2362
  **/
2363
- CannotChillOther: GenericPalletError<Rv>;
2363
+ CannotChillOther: GenericPalletError;
2364
2364
 
2365
2365
  /**
2366
2366
  * There are too many nominators in the system. Governance needs to adjust the staking
2367
2367
  * settings to keep things safe for the runtime.
2368
2368
  **/
2369
- TooManyNominators: GenericPalletError<Rv>;
2369
+ TooManyNominators: GenericPalletError;
2370
2370
 
2371
2371
  /**
2372
2372
  * There are too many validator candidates in the system. Governance needs to adjust the
2373
2373
  * staking settings to keep things safe for the runtime.
2374
2374
  **/
2375
- TooManyValidators: GenericPalletError<Rv>;
2375
+ TooManyValidators: GenericPalletError;
2376
2376
 
2377
2377
  /**
2378
2378
  * Commission is too low. Must be at least `MinCommission`.
2379
2379
  **/
2380
- CommissionTooLow: GenericPalletError<Rv>;
2380
+ CommissionTooLow: GenericPalletError;
2381
2381
 
2382
2382
  /**
2383
2383
  * Some bound is not met.
2384
2384
  **/
2385
- BoundNotMet: GenericPalletError<Rv>;
2385
+ BoundNotMet: GenericPalletError;
2386
2386
 
2387
2387
  /**
2388
2388
  * Used when attempting to use deprecated controller account logic.
2389
2389
  **/
2390
- ControllerDeprecated: GenericPalletError<Rv>;
2390
+ ControllerDeprecated: GenericPalletError;
2391
2391
 
2392
2392
  /**
2393
2393
  * Cannot reset a ledger.
2394
2394
  **/
2395
- CannotRestoreLedger: GenericPalletError<Rv>;
2395
+ CannotRestoreLedger: GenericPalletError;
2396
2396
 
2397
2397
  /**
2398
2398
  * Provided reward destination is not allowed.
2399
2399
  **/
2400
- RewardDestinationRestricted: GenericPalletError<Rv>;
2400
+ RewardDestinationRestricted: GenericPalletError;
2401
2401
 
2402
2402
  /**
2403
2403
  * Not enough funds available to withdraw.
2404
2404
  **/
2405
- NotEnoughFunds: GenericPalletError<Rv>;
2405
+ NotEnoughFunds: GenericPalletError;
2406
2406
 
2407
2407
  /**
2408
2408
  * Operation not allowed for virtual stakers.
2409
2409
  **/
2410
- VirtualStakerNotAllowed: GenericPalletError<Rv>;
2410
+ VirtualStakerNotAllowed: GenericPalletError;
2411
2411
 
2412
2412
  /**
2413
2413
  * Stash could not be reaped as other pallet might depend on it.
2414
2414
  **/
2415
- CannotReapStash: GenericPalletError<Rv>;
2415
+ CannotReapStash: GenericPalletError;
2416
2416
 
2417
2417
  /**
2418
2418
  * The stake of this account is already migrated to `Fungible` holds.
2419
2419
  **/
2420
- AlreadyMigrated: GenericPalletError<Rv>;
2420
+ AlreadyMigrated: GenericPalletError;
2421
2421
 
2422
2422
  /**
2423
2423
  * Era not yet started.
2424
2424
  **/
2425
- EraNotStarted: GenericPalletError<Rv>;
2425
+ EraNotStarted: GenericPalletError;
2426
2426
 
2427
2427
  /**
2428
2428
  * Account is restricted from participation in staking. This may happen if the account is
2429
2429
  * staking in another way already, such as via pool.
2430
2430
  **/
2431
- Restricted: GenericPalletError<Rv>;
2431
+ Restricted: GenericPalletError;
2432
2432
 
2433
2433
  /**
2434
2434
  * Unapplied slashes in the recently concluded era is blocking this operation.
2435
2435
  * See `Call::apply_slash` to apply them.
2436
2436
  **/
2437
- UnappliedSlashesInPreviousEra: GenericPalletError<Rv>;
2437
+ UnappliedSlashesInPreviousEra: GenericPalletError;
2438
2438
 
2439
2439
  /**
2440
2440
  * The era is not eligible for pruning.
2441
2441
  **/
2442
- EraNotPrunable: GenericPalletError<Rv>;
2442
+ EraNotPrunable: GenericPalletError;
2443
2443
 
2444
2444
  /**
2445
2445
  * The slash has been cancelled and cannot be applied.
2446
2446
  **/
2447
- CancelledSlash: GenericPalletError<Rv>;
2447
+ CancelledSlash: GenericPalletError;
2448
2448
 
2449
2449
  /**
2450
2450
  * Generic pallet error
2451
2451
  **/
2452
- [error: string]: GenericPalletError<Rv>;
2452
+ [error: string]: GenericPalletError;
2453
2453
  };
2454
2454
  /**
2455
2455
  * Pallet `NominationPools`'s errors
@@ -2458,44 +2458,44 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2458
2458
  /**
2459
2459
  * A (bonded) pool id does not exist.
2460
2460
  **/
2461
- PoolNotFound: GenericPalletError<Rv>;
2461
+ PoolNotFound: GenericPalletError;
2462
2462
 
2463
2463
  /**
2464
2464
  * An account is not a member.
2465
2465
  **/
2466
- PoolMemberNotFound: GenericPalletError<Rv>;
2466
+ PoolMemberNotFound: GenericPalletError;
2467
2467
 
2468
2468
  /**
2469
2469
  * A reward pool does not exist. In all cases this is a system logic error.
2470
2470
  **/
2471
- RewardPoolNotFound: GenericPalletError<Rv>;
2471
+ RewardPoolNotFound: GenericPalletError;
2472
2472
 
2473
2473
  /**
2474
2474
  * A sub pool does not exist.
2475
2475
  **/
2476
- SubPoolsNotFound: GenericPalletError<Rv>;
2476
+ SubPoolsNotFound: GenericPalletError;
2477
2477
 
2478
2478
  /**
2479
2479
  * An account is already delegating in another pool. An account may only belong to one
2480
2480
  * pool at a time.
2481
2481
  **/
2482
- AccountBelongsToOtherPool: GenericPalletError<Rv>;
2482
+ AccountBelongsToOtherPool: GenericPalletError;
2483
2483
 
2484
2484
  /**
2485
2485
  * The member is fully unbonded (and thus cannot access the bonded and reward pool
2486
2486
  * anymore to, for example, collect rewards).
2487
2487
  **/
2488
- FullyUnbonding: GenericPalletError<Rv>;
2488
+ FullyUnbonding: GenericPalletError;
2489
2489
 
2490
2490
  /**
2491
2491
  * The member cannot unbond further chunks due to reaching the limit.
2492
2492
  **/
2493
- MaxUnbondingLimit: GenericPalletError<Rv>;
2493
+ MaxUnbondingLimit: GenericPalletError;
2494
2494
 
2495
2495
  /**
2496
2496
  * None of the funds can be withdrawn yet because the bonding duration has not passed.
2497
2497
  **/
2498
- CannotWithdrawAny: GenericPalletError<Rv>;
2498
+ CannotWithdrawAny: GenericPalletError;
2499
2499
 
2500
2500
  /**
2501
2501
  * The amount does not meet the minimum bond to either join or create a pool.
@@ -2504,160 +2504,160 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2504
2504
  * caller does not have nominating permissions for the pool. Members can never unbond to a
2505
2505
  * value below `MinJoinBond`.
2506
2506
  **/
2507
- MinimumBondNotMet: GenericPalletError<Rv>;
2507
+ MinimumBondNotMet: GenericPalletError;
2508
2508
 
2509
2509
  /**
2510
2510
  * The transaction could not be executed due to overflow risk for the pool.
2511
2511
  **/
2512
- OverflowRisk: GenericPalletError<Rv>;
2512
+ OverflowRisk: GenericPalletError;
2513
2513
 
2514
2514
  /**
2515
2515
  * A pool must be in [`PoolState::Destroying`] in order for the depositor to unbond or for
2516
2516
  * other members to be permissionlessly unbonded.
2517
2517
  **/
2518
- NotDestroying: GenericPalletError<Rv>;
2518
+ NotDestroying: GenericPalletError;
2519
2519
 
2520
2520
  /**
2521
2521
  * The caller does not have nominating permissions for the pool.
2522
2522
  **/
2523
- NotNominator: GenericPalletError<Rv>;
2523
+ NotNominator: GenericPalletError;
2524
2524
 
2525
2525
  /**
2526
2526
  * Either a) the caller cannot make a valid kick or b) the pool is not destroying.
2527
2527
  **/
2528
- NotKickerOrDestroying: GenericPalletError<Rv>;
2528
+ NotKickerOrDestroying: GenericPalletError;
2529
2529
 
2530
2530
  /**
2531
2531
  * The pool is not open to join
2532
2532
  **/
2533
- NotOpen: GenericPalletError<Rv>;
2533
+ NotOpen: GenericPalletError;
2534
2534
 
2535
2535
  /**
2536
2536
  * The system is maxed out on pools.
2537
2537
  **/
2538
- MaxPools: GenericPalletError<Rv>;
2538
+ MaxPools: GenericPalletError;
2539
2539
 
2540
2540
  /**
2541
2541
  * Too many members in the pool or system.
2542
2542
  **/
2543
- MaxPoolMembers: GenericPalletError<Rv>;
2543
+ MaxPoolMembers: GenericPalletError;
2544
2544
 
2545
2545
  /**
2546
2546
  * The pools state cannot be changed.
2547
2547
  **/
2548
- CanNotChangeState: GenericPalletError<Rv>;
2548
+ CanNotChangeState: GenericPalletError;
2549
2549
 
2550
2550
  /**
2551
2551
  * The caller does not have adequate permissions.
2552
2552
  **/
2553
- DoesNotHavePermission: GenericPalletError<Rv>;
2553
+ DoesNotHavePermission: GenericPalletError;
2554
2554
 
2555
2555
  /**
2556
2556
  * Metadata exceeds [`Config::MaxMetadataLen`]
2557
2557
  **/
2558
- MetadataExceedsMaxLen: GenericPalletError<Rv>;
2558
+ MetadataExceedsMaxLen: GenericPalletError;
2559
2559
 
2560
2560
  /**
2561
2561
  * Some error occurred that should never happen. This should be reported to the
2562
2562
  * maintainers.
2563
2563
  **/
2564
- Defensive: GenericPalletError<Rv>;
2564
+ Defensive: GenericPalletError;
2565
2565
 
2566
2566
  /**
2567
2567
  * Partial unbonding now allowed permissionlessly.
2568
2568
  **/
2569
- PartialUnbondNotAllowedPermissionlessly: GenericPalletError<Rv>;
2569
+ PartialUnbondNotAllowedPermissionlessly: GenericPalletError;
2570
2570
 
2571
2571
  /**
2572
2572
  * The pool's max commission cannot be set higher than the existing value.
2573
2573
  **/
2574
- MaxCommissionRestricted: GenericPalletError<Rv>;
2574
+ MaxCommissionRestricted: GenericPalletError;
2575
2575
 
2576
2576
  /**
2577
2577
  * The supplied commission exceeds the max allowed commission.
2578
2578
  **/
2579
- CommissionExceedsMaximum: GenericPalletError<Rv>;
2579
+ CommissionExceedsMaximum: GenericPalletError;
2580
2580
 
2581
2581
  /**
2582
2582
  * The supplied commission exceeds global maximum commission.
2583
2583
  **/
2584
- CommissionExceedsGlobalMaximum: GenericPalletError<Rv>;
2584
+ CommissionExceedsGlobalMaximum: GenericPalletError;
2585
2585
 
2586
2586
  /**
2587
2587
  * Not enough blocks have surpassed since the last commission update.
2588
2588
  **/
2589
- CommissionChangeThrottled: GenericPalletError<Rv>;
2589
+ CommissionChangeThrottled: GenericPalletError;
2590
2590
 
2591
2591
  /**
2592
2592
  * The submitted changes to commission change rate are not allowed.
2593
2593
  **/
2594
- CommissionChangeRateNotAllowed: GenericPalletError<Rv>;
2594
+ CommissionChangeRateNotAllowed: GenericPalletError;
2595
2595
 
2596
2596
  /**
2597
2597
  * There is no pending commission to claim.
2598
2598
  **/
2599
- NoPendingCommission: GenericPalletError<Rv>;
2599
+ NoPendingCommission: GenericPalletError;
2600
2600
 
2601
2601
  /**
2602
2602
  * No commission current has been set.
2603
2603
  **/
2604
- NoCommissionCurrentSet: GenericPalletError<Rv>;
2604
+ NoCommissionCurrentSet: GenericPalletError;
2605
2605
 
2606
2606
  /**
2607
2607
  * Pool id currently in use.
2608
2608
  **/
2609
- PoolIdInUse: GenericPalletError<Rv>;
2609
+ PoolIdInUse: GenericPalletError;
2610
2610
 
2611
2611
  /**
2612
2612
  * Pool id provided is not correct/usable.
2613
2613
  **/
2614
- InvalidPoolId: GenericPalletError<Rv>;
2614
+ InvalidPoolId: GenericPalletError;
2615
2615
 
2616
2616
  /**
2617
2617
  * Bonding extra is restricted to the exact pending reward amount.
2618
2618
  **/
2619
- BondExtraRestricted: GenericPalletError<Rv>;
2619
+ BondExtraRestricted: GenericPalletError;
2620
2620
 
2621
2621
  /**
2622
2622
  * No imbalance in the ED deposit for the pool.
2623
2623
  **/
2624
- NothingToAdjust: GenericPalletError<Rv>;
2624
+ NothingToAdjust: GenericPalletError;
2625
2625
 
2626
2626
  /**
2627
2627
  * No slash pending that can be applied to the member.
2628
2628
  **/
2629
- NothingToSlash: GenericPalletError<Rv>;
2629
+ NothingToSlash: GenericPalletError;
2630
2630
 
2631
2631
  /**
2632
2632
  * The slash amount is too low to be applied.
2633
2633
  **/
2634
- SlashTooLow: GenericPalletError<Rv>;
2634
+ SlashTooLow: GenericPalletError;
2635
2635
 
2636
2636
  /**
2637
2637
  * The pool or member delegation has already migrated to delegate stake.
2638
2638
  **/
2639
- AlreadyMigrated: GenericPalletError<Rv>;
2639
+ AlreadyMigrated: GenericPalletError;
2640
2640
 
2641
2641
  /**
2642
2642
  * The pool or member delegation has not migrated yet to delegate stake.
2643
2643
  **/
2644
- NotMigrated: GenericPalletError<Rv>;
2644
+ NotMigrated: GenericPalletError;
2645
2645
 
2646
2646
  /**
2647
2647
  * This call is not allowed in the current state of the pallet.
2648
2648
  **/
2649
- NotSupported: GenericPalletError<Rv>;
2649
+ NotSupported: GenericPalletError;
2650
2650
 
2651
2651
  /**
2652
2652
  * Account is restricted from participation in pools. This may happen if the account is
2653
2653
  * staking in another way already.
2654
2654
  **/
2655
- Restricted: GenericPalletError<Rv>;
2655
+ Restricted: GenericPalletError;
2656
2656
 
2657
2657
  /**
2658
2658
  * Generic pallet error
2659
2659
  **/
2660
- [error: string]: GenericPalletError<Rv>;
2660
+ [error: string]: GenericPalletError;
2661
2661
  };
2662
2662
  /**
2663
2663
  * Pallet `FastUnstake`'s errors
@@ -2668,37 +2668,37 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2668
2668
  *
2669
2669
  * This means that the given account is not bonded.
2670
2670
  **/
2671
- NotController: GenericPalletError<Rv>;
2671
+ NotController: GenericPalletError;
2672
2672
 
2673
2673
  /**
2674
2674
  * The bonded account has already been queued.
2675
2675
  **/
2676
- AlreadyQueued: GenericPalletError<Rv>;
2676
+ AlreadyQueued: GenericPalletError;
2677
2677
 
2678
2678
  /**
2679
2679
  * The bonded account has active unlocking chunks.
2680
2680
  **/
2681
- NotFullyBonded: GenericPalletError<Rv>;
2681
+ NotFullyBonded: GenericPalletError;
2682
2682
 
2683
2683
  /**
2684
2684
  * The provided un-staker is not in the `Queue`.
2685
2685
  **/
2686
- NotQueued: GenericPalletError<Rv>;
2686
+ NotQueued: GenericPalletError;
2687
2687
 
2688
2688
  /**
2689
2689
  * The provided un-staker is already in Head, and cannot deregister.
2690
2690
  **/
2691
- AlreadyHead: GenericPalletError<Rv>;
2691
+ AlreadyHead: GenericPalletError;
2692
2692
 
2693
2693
  /**
2694
2694
  * The call is not allowed at this point because the pallet is not active.
2695
2695
  **/
2696
- CallNotAllowed: GenericPalletError<Rv>;
2696
+ CallNotAllowed: GenericPalletError;
2697
2697
 
2698
2698
  /**
2699
2699
  * Generic pallet error
2700
2700
  **/
2701
- [error: string]: GenericPalletError<Rv>;
2701
+ [error: string]: GenericPalletError;
2702
2702
  };
2703
2703
  /**
2704
2704
  * Pallet `VoterList`'s errors
@@ -2707,17 +2707,17 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2707
2707
  /**
2708
2708
  * A error in the list interface implementation.
2709
2709
  **/
2710
- List: GenericPalletError<Rv>;
2710
+ List: GenericPalletError;
2711
2711
 
2712
2712
  /**
2713
2713
  * Could not update a node, because the pallet is locked.
2714
2714
  **/
2715
- Locked: GenericPalletError<Rv>;
2715
+ Locked: GenericPalletError;
2716
2716
 
2717
2717
  /**
2718
2718
  * Generic pallet error
2719
2719
  **/
2720
- [error: string]: GenericPalletError<Rv>;
2720
+ [error: string]: GenericPalletError;
2721
2721
  };
2722
2722
  /**
2723
2723
  * Pallet `DelegatedStaking`'s errors
@@ -2726,17 +2726,17 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2726
2726
  /**
2727
2727
  * The account cannot perform this operation.
2728
2728
  **/
2729
- NotAllowed: GenericPalletError<Rv>;
2729
+ NotAllowed: GenericPalletError;
2730
2730
 
2731
2731
  /**
2732
2732
  * An existing staker cannot perform this action.
2733
2733
  **/
2734
- AlreadyStaking: GenericPalletError<Rv>;
2734
+ AlreadyStaking: GenericPalletError;
2735
2735
 
2736
2736
  /**
2737
2737
  * Reward Destination cannot be same as `Agent` account.
2738
2738
  **/
2739
- InvalidRewardDestination: GenericPalletError<Rv>;
2739
+ InvalidRewardDestination: GenericPalletError;
2740
2740
 
2741
2741
  /**
2742
2742
  * Delegation conditions are not met.
@@ -2745,52 +2745,52 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2745
2745
  * 1) Cannot delegate to self,
2746
2746
  * 2) Cannot delegate to multiple delegates.
2747
2747
  **/
2748
- InvalidDelegation: GenericPalletError<Rv>;
2748
+ InvalidDelegation: GenericPalletError;
2749
2749
 
2750
2750
  /**
2751
2751
  * The account does not have enough funds to perform the operation.
2752
2752
  **/
2753
- NotEnoughFunds: GenericPalletError<Rv>;
2753
+ NotEnoughFunds: GenericPalletError;
2754
2754
 
2755
2755
  /**
2756
2756
  * Not an existing `Agent` account.
2757
2757
  **/
2758
- NotAgent: GenericPalletError<Rv>;
2758
+ NotAgent: GenericPalletError;
2759
2759
 
2760
2760
  /**
2761
2761
  * Not a Delegator account.
2762
2762
  **/
2763
- NotDelegator: GenericPalletError<Rv>;
2763
+ NotDelegator: GenericPalletError;
2764
2764
 
2765
2765
  /**
2766
2766
  * Some corruption in internal state.
2767
2767
  **/
2768
- BadState: GenericPalletError<Rv>;
2768
+ BadState: GenericPalletError;
2769
2769
 
2770
2770
  /**
2771
2771
  * Unapplied pending slash restricts operation on `Agent`.
2772
2772
  **/
2773
- UnappliedSlash: GenericPalletError<Rv>;
2773
+ UnappliedSlash: GenericPalletError;
2774
2774
 
2775
2775
  /**
2776
2776
  * `Agent` has no pending slash to be applied.
2777
2777
  **/
2778
- NothingToSlash: GenericPalletError<Rv>;
2778
+ NothingToSlash: GenericPalletError;
2779
2779
 
2780
2780
  /**
2781
2781
  * Failed to withdraw amount from Core Staking.
2782
2782
  **/
2783
- WithdrawFailed: GenericPalletError<Rv>;
2783
+ WithdrawFailed: GenericPalletError;
2784
2784
 
2785
2785
  /**
2786
2786
  * Operation not supported by this pallet.
2787
2787
  **/
2788
- NotSupported: GenericPalletError<Rv>;
2788
+ NotSupported: GenericPalletError;
2789
2789
 
2790
2790
  /**
2791
2791
  * Generic pallet error
2792
2792
  **/
2793
- [error: string]: GenericPalletError<Rv>;
2793
+ [error: string]: GenericPalletError;
2794
2794
  };
2795
2795
  /**
2796
2796
  * Pallet `MultiBlockElection`'s errors
@@ -2799,22 +2799,22 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2799
2799
  /**
2800
2800
  * Triggering the `Fallback` failed.
2801
2801
  **/
2802
- Fallback: GenericPalletError<Rv>;
2802
+ Fallback: GenericPalletError;
2803
2803
 
2804
2804
  /**
2805
2805
  * Unexpected phase
2806
2806
  **/
2807
- UnexpectedPhase: GenericPalletError<Rv>;
2807
+ UnexpectedPhase: GenericPalletError;
2808
2808
 
2809
2809
  /**
2810
2810
  * Snapshot was unavailable.
2811
2811
  **/
2812
- Snapshot: GenericPalletError<Rv>;
2812
+ Snapshot: GenericPalletError;
2813
2813
 
2814
2814
  /**
2815
2815
  * Generic pallet error
2816
2816
  **/
2817
- [error: string]: GenericPalletError<Rv>;
2817
+ [error: string]: GenericPalletError;
2818
2818
  };
2819
2819
  /**
2820
2820
  * Pallet `MultiBlockElectionSigned`'s errors
@@ -2823,52 +2823,52 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2823
2823
  /**
2824
2824
  * The phase is not signed.
2825
2825
  **/
2826
- PhaseNotSigned: GenericPalletError<Rv>;
2826
+ PhaseNotSigned: GenericPalletError;
2827
2827
 
2828
2828
  /**
2829
2829
  * The submission is a duplicate.
2830
2830
  **/
2831
- Duplicate: GenericPalletError<Rv>;
2831
+ Duplicate: GenericPalletError;
2832
2832
 
2833
2833
  /**
2834
2834
  * The queue is full.
2835
2835
  **/
2836
- QueueFull: GenericPalletError<Rv>;
2836
+ QueueFull: GenericPalletError;
2837
2837
 
2838
2838
  /**
2839
2839
  * The page index is out of bounds.
2840
2840
  **/
2841
- BadPageIndex: GenericPalletError<Rv>;
2841
+ BadPageIndex: GenericPalletError;
2842
2842
 
2843
2843
  /**
2844
2844
  * The account is not registered.
2845
2845
  **/
2846
- NotRegistered: GenericPalletError<Rv>;
2846
+ NotRegistered: GenericPalletError;
2847
2847
 
2848
2848
  /**
2849
2849
  * No submission found.
2850
2850
  **/
2851
- NoSubmission: GenericPalletError<Rv>;
2851
+ NoSubmission: GenericPalletError;
2852
2852
 
2853
2853
  /**
2854
2854
  * Round is not yet over.
2855
2855
  **/
2856
- RoundNotOver: GenericPalletError<Rv>;
2856
+ RoundNotOver: GenericPalletError;
2857
2857
 
2858
2858
  /**
2859
2859
  * Bad witness data provided.
2860
2860
  **/
2861
- BadWitnessData: GenericPalletError<Rv>;
2861
+ BadWitnessData: GenericPalletError;
2862
2862
 
2863
2863
  /**
2864
2864
  * Too many invulnerable accounts are provided,
2865
2865
  **/
2866
- TooManyInvulnerables: GenericPalletError<Rv>;
2866
+ TooManyInvulnerables: GenericPalletError;
2867
2867
 
2868
2868
  /**
2869
2869
  * Generic pallet error
2870
2870
  **/
2871
- [error: string]: GenericPalletError<Rv>;
2871
+ [error: string]: GenericPalletError;
2872
2872
  };
2873
2873
  /**
2874
2874
  * Pallet `ConvictionVoting`'s errors
@@ -2877,68 +2877,68 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2877
2877
  /**
2878
2878
  * Poll is not ongoing.
2879
2879
  **/
2880
- NotOngoing: GenericPalletError<Rv>;
2880
+ NotOngoing: GenericPalletError;
2881
2881
 
2882
2882
  /**
2883
2883
  * The given account did not vote on the poll.
2884
2884
  **/
2885
- NotVoter: GenericPalletError<Rv>;
2885
+ NotVoter: GenericPalletError;
2886
2886
 
2887
2887
  /**
2888
2888
  * The actor has no permission to conduct the action.
2889
2889
  **/
2890
- NoPermission: GenericPalletError<Rv>;
2890
+ NoPermission: GenericPalletError;
2891
2891
 
2892
2892
  /**
2893
2893
  * The actor has no permission to conduct the action right now but will do in the future.
2894
2894
  **/
2895
- NoPermissionYet: GenericPalletError<Rv>;
2895
+ NoPermissionYet: GenericPalletError;
2896
2896
 
2897
2897
  /**
2898
2898
  * The account is already delegating.
2899
2899
  **/
2900
- AlreadyDelegating: GenericPalletError<Rv>;
2900
+ AlreadyDelegating: GenericPalletError;
2901
2901
 
2902
2902
  /**
2903
2903
  * The account currently has votes attached to it and the operation cannot succeed until
2904
2904
  * these are removed through `remove_vote`.
2905
2905
  **/
2906
- AlreadyVoting: GenericPalletError<Rv>;
2906
+ AlreadyVoting: GenericPalletError;
2907
2907
 
2908
2908
  /**
2909
2909
  * Too high a balance was provided that the account cannot afford.
2910
2910
  **/
2911
- InsufficientFunds: GenericPalletError<Rv>;
2911
+ InsufficientFunds: GenericPalletError;
2912
2912
 
2913
2913
  /**
2914
2914
  * The account is not currently delegating.
2915
2915
  **/
2916
- NotDelegating: GenericPalletError<Rv>;
2916
+ NotDelegating: GenericPalletError;
2917
2917
 
2918
2918
  /**
2919
2919
  * Delegation to oneself makes no sense.
2920
2920
  **/
2921
- Nonsense: GenericPalletError<Rv>;
2921
+ Nonsense: GenericPalletError;
2922
2922
 
2923
2923
  /**
2924
2924
  * Maximum number of votes reached.
2925
2925
  **/
2926
- MaxVotesReached: GenericPalletError<Rv>;
2926
+ MaxVotesReached: GenericPalletError;
2927
2927
 
2928
2928
  /**
2929
2929
  * The class must be supplied since it is not easily determinable from the state.
2930
2930
  **/
2931
- ClassNeeded: GenericPalletError<Rv>;
2931
+ ClassNeeded: GenericPalletError;
2932
2932
 
2933
2933
  /**
2934
2934
  * The class ID supplied is invalid.
2935
2935
  **/
2936
- BadClass: GenericPalletError<Rv>;
2936
+ BadClass: GenericPalletError;
2937
2937
 
2938
2938
  /**
2939
2939
  * Generic pallet error
2940
2940
  **/
2941
- [error: string]: GenericPalletError<Rv>;
2941
+ [error: string]: GenericPalletError;
2942
2942
  };
2943
2943
  /**
2944
2944
  * Pallet `Referenda`'s errors
@@ -2947,77 +2947,77 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2947
2947
  /**
2948
2948
  * Referendum is not ongoing.
2949
2949
  **/
2950
- NotOngoing: GenericPalletError<Rv>;
2950
+ NotOngoing: GenericPalletError;
2951
2951
 
2952
2952
  /**
2953
2953
  * Referendum's decision deposit is already paid.
2954
2954
  **/
2955
- HasDeposit: GenericPalletError<Rv>;
2955
+ HasDeposit: GenericPalletError;
2956
2956
 
2957
2957
  /**
2958
2958
  * The track identifier given was invalid.
2959
2959
  **/
2960
- BadTrack: GenericPalletError<Rv>;
2960
+ BadTrack: GenericPalletError;
2961
2961
 
2962
2962
  /**
2963
2963
  * There are already a full complement of referenda in progress for this track.
2964
2964
  **/
2965
- Full: GenericPalletError<Rv>;
2965
+ Full: GenericPalletError;
2966
2966
 
2967
2967
  /**
2968
2968
  * The queue of the track is empty.
2969
2969
  **/
2970
- QueueEmpty: GenericPalletError<Rv>;
2970
+ QueueEmpty: GenericPalletError;
2971
2971
 
2972
2972
  /**
2973
2973
  * The referendum index provided is invalid in this context.
2974
2974
  **/
2975
- BadReferendum: GenericPalletError<Rv>;
2975
+ BadReferendum: GenericPalletError;
2976
2976
 
2977
2977
  /**
2978
2978
  * There was nothing to do in the advancement.
2979
2979
  **/
2980
- NothingToDo: GenericPalletError<Rv>;
2980
+ NothingToDo: GenericPalletError;
2981
2981
 
2982
2982
  /**
2983
2983
  * No track exists for the proposal origin.
2984
2984
  **/
2985
- NoTrack: GenericPalletError<Rv>;
2985
+ NoTrack: GenericPalletError;
2986
2986
 
2987
2987
  /**
2988
2988
  * Any deposit cannot be refunded until after the decision is over.
2989
2989
  **/
2990
- Unfinished: GenericPalletError<Rv>;
2990
+ Unfinished: GenericPalletError;
2991
2991
 
2992
2992
  /**
2993
2993
  * The deposit refunder is not the depositor.
2994
2994
  **/
2995
- NoPermission: GenericPalletError<Rv>;
2995
+ NoPermission: GenericPalletError;
2996
2996
 
2997
2997
  /**
2998
2998
  * The deposit cannot be refunded since none was made.
2999
2999
  **/
3000
- NoDeposit: GenericPalletError<Rv>;
3000
+ NoDeposit: GenericPalletError;
3001
3001
 
3002
3002
  /**
3003
3003
  * The referendum status is invalid for this operation.
3004
3004
  **/
3005
- BadStatus: GenericPalletError<Rv>;
3005
+ BadStatus: GenericPalletError;
3006
3006
 
3007
3007
  /**
3008
3008
  * The preimage does not exist.
3009
3009
  **/
3010
- PreimageNotExist: GenericPalletError<Rv>;
3010
+ PreimageNotExist: GenericPalletError;
3011
3011
 
3012
3012
  /**
3013
3013
  * The preimage is stored with a different length than the one provided.
3014
3014
  **/
3015
- PreimageStoredWithDifferentLength: GenericPalletError<Rv>;
3015
+ PreimageStoredWithDifferentLength: GenericPalletError;
3016
3016
 
3017
3017
  /**
3018
3018
  * Generic pallet error
3019
3019
  **/
3020
- [error: string]: GenericPalletError<Rv>;
3020
+ [error: string]: GenericPalletError;
3021
3021
  };
3022
3022
  /**
3023
3023
  * Pallet `Whitelist`'s errors
@@ -3026,32 +3026,32 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
3026
3026
  /**
3027
3027
  * The preimage of the call hash could not be loaded.
3028
3028
  **/
3029
- UnavailablePreImage: GenericPalletError<Rv>;
3029
+ UnavailablePreImage: GenericPalletError;
3030
3030
 
3031
3031
  /**
3032
3032
  * The call could not be decoded.
3033
3033
  **/
3034
- UndecodableCall: GenericPalletError<Rv>;
3034
+ UndecodableCall: GenericPalletError;
3035
3035
 
3036
3036
  /**
3037
3037
  * The weight of the decoded call was higher than the witness.
3038
3038
  **/
3039
- InvalidCallWeightWitness: GenericPalletError<Rv>;
3039
+ InvalidCallWeightWitness: GenericPalletError;
3040
3040
 
3041
3041
  /**
3042
3042
  * The call was not whitelisted.
3043
3043
  **/
3044
- CallIsNotWhitelisted: GenericPalletError<Rv>;
3044
+ CallIsNotWhitelisted: GenericPalletError;
3045
3045
 
3046
3046
  /**
3047
3047
  * The call was already whitelisted; No-Op.
3048
3048
  **/
3049
- CallAlreadyWhitelisted: GenericPalletError<Rv>;
3049
+ CallAlreadyWhitelisted: GenericPalletError;
3050
3050
 
3051
3051
  /**
3052
3052
  * Generic pallet error
3053
3053
  **/
3054
- [error: string]: GenericPalletError<Rv>;
3054
+ [error: string]: GenericPalletError;
3055
3055
  };
3056
3056
  /**
3057
3057
  * Pallet `Treasury`'s errors
@@ -3060,63 +3060,63 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
3060
3060
  /**
3061
3061
  * No proposal, bounty or spend at that index.
3062
3062
  **/
3063
- InvalidIndex: GenericPalletError<Rv>;
3063
+ InvalidIndex: GenericPalletError;
3064
3064
 
3065
3065
  /**
3066
3066
  * Too many approvals in the queue.
3067
3067
  **/
3068
- TooManyApprovals: GenericPalletError<Rv>;
3068
+ TooManyApprovals: GenericPalletError;
3069
3069
 
3070
3070
  /**
3071
3071
  * The spend origin is valid but the amount it is allowed to spend is lower than the
3072
3072
  * amount to be spent.
3073
3073
  **/
3074
- InsufficientPermission: GenericPalletError<Rv>;
3074
+ InsufficientPermission: GenericPalletError;
3075
3075
 
3076
3076
  /**
3077
3077
  * Proposal has not been approved.
3078
3078
  **/
3079
- ProposalNotApproved: GenericPalletError<Rv>;
3079
+ ProposalNotApproved: GenericPalletError;
3080
3080
 
3081
3081
  /**
3082
3082
  * The balance of the asset kind is not convertible to the balance of the native asset.
3083
3083
  **/
3084
- FailedToConvertBalance: GenericPalletError<Rv>;
3084
+ FailedToConvertBalance: GenericPalletError;
3085
3085
 
3086
3086
  /**
3087
3087
  * The spend has expired and cannot be claimed.
3088
3088
  **/
3089
- SpendExpired: GenericPalletError<Rv>;
3089
+ SpendExpired: GenericPalletError;
3090
3090
 
3091
3091
  /**
3092
3092
  * The spend is not yet eligible for payout.
3093
3093
  **/
3094
- EarlyPayout: GenericPalletError<Rv>;
3094
+ EarlyPayout: GenericPalletError;
3095
3095
 
3096
3096
  /**
3097
3097
  * The payment has already been attempted.
3098
3098
  **/
3099
- AlreadyAttempted: GenericPalletError<Rv>;
3099
+ AlreadyAttempted: GenericPalletError;
3100
3100
 
3101
3101
  /**
3102
3102
  * There was some issue with the mechanism of payment.
3103
3103
  **/
3104
- PayoutError: GenericPalletError<Rv>;
3104
+ PayoutError: GenericPalletError;
3105
3105
 
3106
3106
  /**
3107
3107
  * The payout was not yet attempted/claimed.
3108
3108
  **/
3109
- NotAttempted: GenericPalletError<Rv>;
3109
+ NotAttempted: GenericPalletError;
3110
3110
 
3111
3111
  /**
3112
3112
  * The payment has neither failed nor succeeded yet.
3113
3113
  **/
3114
- Inconclusive: GenericPalletError<Rv>;
3114
+ Inconclusive: GenericPalletError;
3115
3115
 
3116
3116
  /**
3117
3117
  * Generic pallet error
3118
3118
  **/
3119
- [error: string]: GenericPalletError<Rv>;
3119
+ [error: string]: GenericPalletError;
3120
3120
  };
3121
3121
  /**
3122
3122
  * Pallet `AssetRate`'s errors
@@ -3125,22 +3125,22 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
3125
3125
  /**
3126
3126
  * The given asset ID is unknown.
3127
3127
  **/
3128
- UnknownAssetKind: GenericPalletError<Rv>;
3128
+ UnknownAssetKind: GenericPalletError;
3129
3129
 
3130
3130
  /**
3131
3131
  * The given asset ID already has an assigned conversion rate and cannot be re-created.
3132
3132
  **/
3133
- AlreadyExists: GenericPalletError<Rv>;
3133
+ AlreadyExists: GenericPalletError;
3134
3134
 
3135
3135
  /**
3136
3136
  * Overflow ocurred when calculating the inverse rate.
3137
3137
  **/
3138
- Overflow: GenericPalletError<Rv>;
3138
+ Overflow: GenericPalletError;
3139
3139
 
3140
3140
  /**
3141
3141
  * Generic pallet error
3142
3142
  **/
3143
- [error: string]: GenericPalletError<Rv>;
3143
+ [error: string]: GenericPalletError;
3144
3144
  };
3145
3145
  /**
3146
3146
  * Pallet `AssetConversionMigration`'s errors
@@ -3149,27 +3149,27 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
3149
3149
  /**
3150
3150
  * Provided asset pair is not supported for pool.
3151
3151
  **/
3152
- InvalidAssetPair: GenericPalletError<Rv>;
3152
+ InvalidAssetPair: GenericPalletError;
3153
3153
 
3154
3154
  /**
3155
3155
  * The pool doesn't exist.
3156
3156
  **/
3157
- PoolNotFound: GenericPalletError<Rv>;
3157
+ PoolNotFound: GenericPalletError;
3158
3158
 
3159
3159
  /**
3160
3160
  * Pool's balance cannot be zero.
3161
3161
  **/
3162
- ZeroBalance: GenericPalletError<Rv>;
3162
+ ZeroBalance: GenericPalletError;
3163
3163
 
3164
3164
  /**
3165
3165
  * Indicates a partial transfer of balance to the new account during a migration.
3166
3166
  **/
3167
- PartialTransfer: GenericPalletError<Rv>;
3167
+ PartialTransfer: GenericPalletError;
3168
3168
 
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 `AhOps`'s errors
@@ -3178,101 +3178,101 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
3178
3178
  /**
3179
3179
  * Either no lease deposit or already unreserved.
3180
3180
  **/
3181
- NoLeaseReserve: GenericPalletError<Rv>;
3181
+ NoLeaseReserve: GenericPalletError;
3182
3182
 
3183
3183
  /**
3184
3184
  * Either no crowdloan contribution or already withdrawn.
3185
3185
  **/
3186
- NoCrowdloanContribution: GenericPalletError<Rv>;
3186
+ NoCrowdloanContribution: GenericPalletError;
3187
3187
 
3188
3188
  /**
3189
3189
  * Either no crowdloan reserve or already unreserved.
3190
3190
  **/
3191
- NoCrowdloanReserve: GenericPalletError<Rv>;
3191
+ NoCrowdloanReserve: GenericPalletError;
3192
3192
 
3193
3193
  /**
3194
3194
  * Failed to withdraw crowdloan contribution.
3195
3195
  **/
3196
- FailedToWithdrawCrowdloanContribution: GenericPalletError<Rv>;
3196
+ FailedToWithdrawCrowdloanContribution: GenericPalletError;
3197
3197
 
3198
3198
  /**
3199
3199
  * Block number is not yet reached.
3200
3200
  **/
3201
- NotYet: GenericPalletError<Rv>;
3201
+ NotYet: GenericPalletError;
3202
3202
 
3203
3203
  /**
3204
3204
  * Not all contributions are withdrawn.
3205
3205
  **/
3206
- ContributionsRemaining: GenericPalletError<Rv>;
3206
+ ContributionsRemaining: GenericPalletError;
3207
3207
 
3208
3208
  /**
3209
3209
  * Passed account IDs are not matching unmigrated child and sibling accounts.
3210
3210
  **/
3211
- WrongSovereignTranslation: GenericPalletError<Rv>;
3211
+ WrongSovereignTranslation: GenericPalletError;
3212
3212
 
3213
3213
  /**
3214
3214
  * The account is not a derived account.
3215
3215
  **/
3216
- WrongDerivedTranslation: GenericPalletError<Rv>;
3216
+ WrongDerivedTranslation: GenericPalletError;
3217
3217
 
3218
3218
  /**
3219
3219
  * Account cannot be migrated since it is not a sovereign parachain account.
3220
3220
  **/
3221
- NotSovereign: GenericPalletError<Rv>;
3221
+ NotSovereign: GenericPalletError;
3222
3222
 
3223
3223
  /**
3224
3224
  * Internal error, please bug report.
3225
3225
  **/
3226
- InternalError: GenericPalletError<Rv>;
3226
+ InternalError: GenericPalletError;
3227
3227
 
3228
3228
  /**
3229
3229
  * The migrated account would get reaped in the process.
3230
3230
  **/
3231
- WouldReap: GenericPalletError<Rv>;
3231
+ WouldReap: GenericPalletError;
3232
3232
 
3233
3233
  /**
3234
3234
  * Failed to put a hold on an account.
3235
3235
  **/
3236
- FailedToPutHold: GenericPalletError<Rv>;
3236
+ FailedToPutHold: GenericPalletError;
3237
3237
 
3238
3238
  /**
3239
3239
  * Failed to release a hold from an account.
3240
3240
  **/
3241
- FailedToReleaseHold: GenericPalletError<Rv>;
3241
+ FailedToReleaseHold: GenericPalletError;
3242
3242
 
3243
3243
  /**
3244
3244
  * Failed to thaw a frozen balance.
3245
3245
  **/
3246
- FailedToThaw: GenericPalletError<Rv>;
3246
+ FailedToThaw: GenericPalletError;
3247
3247
 
3248
3248
  /**
3249
3249
  * Failed to set a freeze on an account.
3250
3250
  **/
3251
- FailedToSetFreeze: GenericPalletError<Rv>;
3251
+ FailedToSetFreeze: GenericPalletError;
3252
3252
 
3253
3253
  /**
3254
3254
  * Failed to transfer a balance.
3255
3255
  **/
3256
- FailedToTransfer: GenericPalletError<Rv>;
3256
+ FailedToTransfer: GenericPalletError;
3257
3257
 
3258
3258
  /**
3259
3259
  * Failed to reserve a balance.
3260
3260
  **/
3261
- FailedToReserve: GenericPalletError<Rv>;
3261
+ FailedToReserve: GenericPalletError;
3262
3262
 
3263
3263
  /**
3264
3264
  * Failed to unreserve the full balance.
3265
3265
  **/
3266
- CannotUnreserve: GenericPalletError<Rv>;
3266
+ CannotUnreserve: GenericPalletError;
3267
3267
 
3268
3268
  /**
3269
3269
  * The from and to accounts are identical.
3270
3270
  **/
3271
- AccountIdentical: GenericPalletError<Rv>;
3271
+ AccountIdentical: GenericPalletError;
3272
3272
 
3273
3273
  /**
3274
3274
  * Generic pallet error
3275
3275
  **/
3276
- [error: string]: GenericPalletError<Rv>;
3276
+ [error: string]: GenericPalletError;
3277
3277
  };
3278
3278
  }