@dedot/chaintypes 0.193.0 → 0.195.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 +13 -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 +13 -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 +13 -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 +14 -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 +13 -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 +14 -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 +13 -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 +13 -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 +14 -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 +15 -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 +14 -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 +14 -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 +13 -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 +14 -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 +13 -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 +14 -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 +14 -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 +13 -17
  165. package/westend/json-rpc.d.ts +3 -4
  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 +14 -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 +13 -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 `Balances`'s errors
@@ -68,67 +68,67 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
68
68
  /**
69
69
  * Vesting balance too high to send value.
70
70
  **/
71
- VestingBalance: GenericPalletError<Rv>;
71
+ VestingBalance: GenericPalletError;
72
72
 
73
73
  /**
74
74
  * Account liquidity restrictions prevent withdrawal.
75
75
  **/
76
- LiquidityRestrictions: GenericPalletError<Rv>;
76
+ LiquidityRestrictions: GenericPalletError;
77
77
 
78
78
  /**
79
79
  * Balance too low to send value.
80
80
  **/
81
- InsufficientBalance: GenericPalletError<Rv>;
81
+ InsufficientBalance: GenericPalletError;
82
82
 
83
83
  /**
84
84
  * Value too low to create account due to existential deposit.
85
85
  **/
86
- ExistentialDeposit: GenericPalletError<Rv>;
86
+ ExistentialDeposit: GenericPalletError;
87
87
 
88
88
  /**
89
89
  * Transfer/payment would kill account.
90
90
  **/
91
- Expendability: GenericPalletError<Rv>;
91
+ Expendability: GenericPalletError;
92
92
 
93
93
  /**
94
94
  * A vesting schedule already exists for this account.
95
95
  **/
96
- ExistingVestingSchedule: GenericPalletError<Rv>;
96
+ ExistingVestingSchedule: GenericPalletError;
97
97
 
98
98
  /**
99
99
  * Beneficiary account must pre-exist.
100
100
  **/
101
- DeadAccount: GenericPalletError<Rv>;
101
+ DeadAccount: GenericPalletError;
102
102
 
103
103
  /**
104
104
  * Number of named reserves exceed `MaxReserves`.
105
105
  **/
106
- TooManyReserves: GenericPalletError<Rv>;
106
+ TooManyReserves: GenericPalletError;
107
107
 
108
108
  /**
109
109
  * Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
110
110
  **/
111
- TooManyHolds: GenericPalletError<Rv>;
111
+ TooManyHolds: GenericPalletError;
112
112
 
113
113
  /**
114
114
  * Number of freezes exceed `MaxFreezes`.
115
115
  **/
116
- TooManyFreezes: GenericPalletError<Rv>;
116
+ TooManyFreezes: GenericPalletError;
117
117
 
118
118
  /**
119
119
  * The issuance cannot be modified since it is already deactivated.
120
120
  **/
121
- IssuanceDeactivated: GenericPalletError<Rv>;
121
+ IssuanceDeactivated: GenericPalletError;
122
122
 
123
123
  /**
124
124
  * The delta cannot be zero.
125
125
  **/
126
- DeltaZero: GenericPalletError<Rv>;
126
+ DeltaZero: GenericPalletError;
127
127
 
128
128
  /**
129
129
  * Generic pallet error
130
130
  **/
131
- [error: string]: GenericPalletError<Rv>;
131
+ [error: string]: GenericPalletError;
132
132
  };
133
133
  /**
134
134
  * Pallet `MultiTransactionPayment`'s errors
@@ -137,67 +137,67 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
137
137
  /**
138
138
  * Selected currency is not supported.
139
139
  **/
140
- UnsupportedCurrency: GenericPalletError<Rv>;
140
+ UnsupportedCurrency: GenericPalletError;
141
141
 
142
142
  /**
143
143
  * Account balance should be non-zero.
144
144
  **/
145
- ZeroBalance: GenericPalletError<Rv>;
145
+ ZeroBalance: GenericPalletError;
146
146
 
147
147
  /**
148
148
  * Currency is already in the list of accepted currencies.
149
149
  **/
150
- AlreadyAccepted: GenericPalletError<Rv>;
150
+ AlreadyAccepted: GenericPalletError;
151
151
 
152
152
  /**
153
153
  * It is not allowed to add Core Asset as accepted currency. Core asset is accepted by design.
154
154
  **/
155
- CoreAssetNotAllowed: GenericPalletError<Rv>;
155
+ CoreAssetNotAllowed: GenericPalletError;
156
156
 
157
157
  /**
158
158
  * Fallback price cannot be zero.
159
159
  **/
160
- ZeroPrice: GenericPalletError<Rv>;
160
+ ZeroPrice: GenericPalletError;
161
161
 
162
162
  /**
163
163
  * Fallback price was not found.
164
164
  **/
165
- FallbackPriceNotFound: GenericPalletError<Rv>;
165
+ FallbackPriceNotFound: GenericPalletError;
166
166
 
167
167
  /**
168
168
  * Math overflow
169
169
  **/
170
- Overflow: GenericPalletError<Rv>;
170
+ Overflow: GenericPalletError;
171
171
 
172
172
  /**
173
173
  * It is not allowed to change payment currency of an EVM account.
174
174
  **/
175
- EvmAccountNotAllowed: GenericPalletError<Rv>;
175
+ EvmAccountNotAllowed: GenericPalletError;
176
176
 
177
177
  /**
178
178
  * EVM permit expired.
179
179
  **/
180
- EvmPermitExpired: GenericPalletError<Rv>;
180
+ EvmPermitExpired: GenericPalletError;
181
181
 
182
182
  /**
183
183
  * EVM permit is invalid.
184
184
  **/
185
- EvmPermitInvalid: GenericPalletError<Rv>;
185
+ EvmPermitInvalid: GenericPalletError;
186
186
 
187
187
  /**
188
188
  * EVM permit call failed.
189
189
  **/
190
- EvmPermitCallExecutionError: GenericPalletError<Rv>;
190
+ EvmPermitCallExecutionError: GenericPalletError;
191
191
 
192
192
  /**
193
193
  * EVM permit call failed.
194
194
  **/
195
- EvmPermitRunnerError: GenericPalletError<Rv>;
195
+ EvmPermitRunnerError: GenericPalletError;
196
196
 
197
197
  /**
198
198
  * Generic pallet error
199
199
  **/
200
- [error: string]: GenericPalletError<Rv>;
200
+ [error: string]: GenericPalletError;
201
201
  };
202
202
  /**
203
203
  * Pallet `Treasury`'s errors
@@ -206,63 +206,63 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
206
206
  /**
207
207
  * No proposal, bounty or spend at that index.
208
208
  **/
209
- InvalidIndex: GenericPalletError<Rv>;
209
+ InvalidIndex: GenericPalletError;
210
210
 
211
211
  /**
212
212
  * Too many approvals in the queue.
213
213
  **/
214
- TooManyApprovals: GenericPalletError<Rv>;
214
+ TooManyApprovals: GenericPalletError;
215
215
 
216
216
  /**
217
217
  * The spend origin is valid but the amount it is allowed to spend is lower than the
218
218
  * amount to be spent.
219
219
  **/
220
- InsufficientPermission: GenericPalletError<Rv>;
220
+ InsufficientPermission: GenericPalletError;
221
221
 
222
222
  /**
223
223
  * Proposal has not been approved.
224
224
  **/
225
- ProposalNotApproved: GenericPalletError<Rv>;
225
+ ProposalNotApproved: GenericPalletError;
226
226
 
227
227
  /**
228
228
  * The balance of the asset kind is not convertible to the balance of the native asset.
229
229
  **/
230
- FailedToConvertBalance: GenericPalletError<Rv>;
230
+ FailedToConvertBalance: GenericPalletError;
231
231
 
232
232
  /**
233
233
  * The spend has expired and cannot be claimed.
234
234
  **/
235
- SpendExpired: GenericPalletError<Rv>;
235
+ SpendExpired: GenericPalletError;
236
236
 
237
237
  /**
238
238
  * The spend is not yet eligible for payout.
239
239
  **/
240
- EarlyPayout: GenericPalletError<Rv>;
240
+ EarlyPayout: GenericPalletError;
241
241
 
242
242
  /**
243
243
  * The payment has already been attempted.
244
244
  **/
245
- AlreadyAttempted: GenericPalletError<Rv>;
245
+ AlreadyAttempted: GenericPalletError;
246
246
 
247
247
  /**
248
248
  * There was some issue with the mechanism of payment.
249
249
  **/
250
- PayoutError: GenericPalletError<Rv>;
250
+ PayoutError: GenericPalletError;
251
251
 
252
252
  /**
253
253
  * The payout was not yet attempted/claimed.
254
254
  **/
255
- NotAttempted: GenericPalletError<Rv>;
255
+ NotAttempted: GenericPalletError;
256
256
 
257
257
  /**
258
258
  * The payment has neither failed nor succeeded yet.
259
259
  **/
260
- Inconclusive: GenericPalletError<Rv>;
260
+ Inconclusive: GenericPalletError;
261
261
 
262
262
  /**
263
263
  * Generic pallet error
264
264
  **/
265
- [error: string]: GenericPalletError<Rv>;
265
+ [error: string]: GenericPalletError;
266
266
  };
267
267
  /**
268
268
  * Pallet `Utility`'s errors
@@ -271,12 +271,12 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
271
271
  /**
272
272
  * Too many calls batched.
273
273
  **/
274
- TooManyCalls: GenericPalletError<Rv>;
274
+ TooManyCalls: GenericPalletError;
275
275
 
276
276
  /**
277
277
  * Generic pallet error
278
278
  **/
279
- [error: string]: GenericPalletError<Rv>;
279
+ [error: string]: GenericPalletError;
280
280
  };
281
281
  /**
282
282
  * Pallet `Preimage`'s errors
@@ -285,47 +285,47 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
285
285
  /**
286
286
  * Preimage is too large to store on-chain.
287
287
  **/
288
- TooBig: GenericPalletError<Rv>;
288
+ TooBig: GenericPalletError;
289
289
 
290
290
  /**
291
291
  * Preimage has already been noted on-chain.
292
292
  **/
293
- AlreadyNoted: GenericPalletError<Rv>;
293
+ AlreadyNoted: GenericPalletError;
294
294
 
295
295
  /**
296
296
  * The user is not authorized to perform this action.
297
297
  **/
298
- NotAuthorized: GenericPalletError<Rv>;
298
+ NotAuthorized: GenericPalletError;
299
299
 
300
300
  /**
301
301
  * The preimage cannot be removed since it has not yet been noted.
302
302
  **/
303
- NotNoted: GenericPalletError<Rv>;
303
+ NotNoted: GenericPalletError;
304
304
 
305
305
  /**
306
306
  * A preimage may not be removed when there are outstanding requests.
307
307
  **/
308
- Requested: GenericPalletError<Rv>;
308
+ Requested: GenericPalletError;
309
309
 
310
310
  /**
311
311
  * The preimage request cannot be removed since no outstanding requests exist.
312
312
  **/
313
- NotRequested: GenericPalletError<Rv>;
313
+ NotRequested: GenericPalletError;
314
314
 
315
315
  /**
316
316
  * More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once.
317
317
  **/
318
- TooMany: GenericPalletError<Rv>;
318
+ TooMany: GenericPalletError;
319
319
 
320
320
  /**
321
321
  * Too few hashes were requested to be upgraded (i.e. zero).
322
322
  **/
323
- TooFew: GenericPalletError<Rv>;
323
+ TooFew: GenericPalletError;
324
324
 
325
325
  /**
326
326
  * Generic pallet error
327
327
  **/
328
- [error: string]: GenericPalletError<Rv>;
328
+ [error: string]: GenericPalletError;
329
329
  };
330
330
  /**
331
331
  * Pallet `Identity`'s errors
@@ -334,137 +334,137 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
334
334
  /**
335
335
  * Too many subs-accounts.
336
336
  **/
337
- TooManySubAccounts: GenericPalletError<Rv>;
337
+ TooManySubAccounts: GenericPalletError;
338
338
 
339
339
  /**
340
340
  * Account isn't found.
341
341
  **/
342
- NotFound: GenericPalletError<Rv>;
342
+ NotFound: GenericPalletError;
343
343
 
344
344
  /**
345
345
  * Account isn't named.
346
346
  **/
347
- NotNamed: GenericPalletError<Rv>;
347
+ NotNamed: GenericPalletError;
348
348
 
349
349
  /**
350
350
  * Empty index.
351
351
  **/
352
- EmptyIndex: GenericPalletError<Rv>;
352
+ EmptyIndex: GenericPalletError;
353
353
 
354
354
  /**
355
355
  * Fee is changed.
356
356
  **/
357
- FeeChanged: GenericPalletError<Rv>;
357
+ FeeChanged: GenericPalletError;
358
358
 
359
359
  /**
360
360
  * No identity found.
361
361
  **/
362
- NoIdentity: GenericPalletError<Rv>;
362
+ NoIdentity: GenericPalletError;
363
363
 
364
364
  /**
365
365
  * Sticky judgement.
366
366
  **/
367
- StickyJudgement: GenericPalletError<Rv>;
367
+ StickyJudgement: GenericPalletError;
368
368
 
369
369
  /**
370
370
  * Judgement given.
371
371
  **/
372
- JudgementGiven: GenericPalletError<Rv>;
372
+ JudgementGiven: GenericPalletError;
373
373
 
374
374
  /**
375
375
  * Invalid judgement.
376
376
  **/
377
- InvalidJudgement: GenericPalletError<Rv>;
377
+ InvalidJudgement: GenericPalletError;
378
378
 
379
379
  /**
380
380
  * The index is invalid.
381
381
  **/
382
- InvalidIndex: GenericPalletError<Rv>;
382
+ InvalidIndex: GenericPalletError;
383
383
 
384
384
  /**
385
385
  * The target is invalid.
386
386
  **/
387
- InvalidTarget: GenericPalletError<Rv>;
387
+ InvalidTarget: GenericPalletError;
388
388
 
389
389
  /**
390
390
  * Maximum amount of registrars reached. Cannot add any more.
391
391
  **/
392
- TooManyRegistrars: GenericPalletError<Rv>;
392
+ TooManyRegistrars: GenericPalletError;
393
393
 
394
394
  /**
395
395
  * Account ID is already named.
396
396
  **/
397
- AlreadyClaimed: GenericPalletError<Rv>;
397
+ AlreadyClaimed: GenericPalletError;
398
398
 
399
399
  /**
400
400
  * Sender is not a sub-account.
401
401
  **/
402
- NotSub: GenericPalletError<Rv>;
402
+ NotSub: GenericPalletError;
403
403
 
404
404
  /**
405
405
  * Sub-account isn't owned by sender.
406
406
  **/
407
- NotOwned: GenericPalletError<Rv>;
407
+ NotOwned: GenericPalletError;
408
408
 
409
409
  /**
410
410
  * The provided judgement was for a different identity.
411
411
  **/
412
- JudgementForDifferentIdentity: GenericPalletError<Rv>;
412
+ JudgementForDifferentIdentity: GenericPalletError;
413
413
 
414
414
  /**
415
415
  * Error that occurs when there is an issue paying for judgement.
416
416
  **/
417
- JudgementPaymentFailed: GenericPalletError<Rv>;
417
+ JudgementPaymentFailed: GenericPalletError;
418
418
 
419
419
  /**
420
420
  * The provided suffix is too long.
421
421
  **/
422
- InvalidSuffix: GenericPalletError<Rv>;
422
+ InvalidSuffix: GenericPalletError;
423
423
 
424
424
  /**
425
425
  * The sender does not have permission to issue a username.
426
426
  **/
427
- NotUsernameAuthority: GenericPalletError<Rv>;
427
+ NotUsernameAuthority: GenericPalletError;
428
428
 
429
429
  /**
430
430
  * The authority cannot allocate any more usernames.
431
431
  **/
432
- NoAllocation: GenericPalletError<Rv>;
432
+ NoAllocation: GenericPalletError;
433
433
 
434
434
  /**
435
435
  * The signature on a username was not valid.
436
436
  **/
437
- InvalidSignature: GenericPalletError<Rv>;
437
+ InvalidSignature: GenericPalletError;
438
438
 
439
439
  /**
440
440
  * Setting this username requires a signature, but none was provided.
441
441
  **/
442
- RequiresSignature: GenericPalletError<Rv>;
442
+ RequiresSignature: GenericPalletError;
443
443
 
444
444
  /**
445
445
  * The username does not meet the requirements.
446
446
  **/
447
- InvalidUsername: GenericPalletError<Rv>;
447
+ InvalidUsername: GenericPalletError;
448
448
 
449
449
  /**
450
450
  * The username is already taken.
451
451
  **/
452
- UsernameTaken: GenericPalletError<Rv>;
452
+ UsernameTaken: GenericPalletError;
453
453
 
454
454
  /**
455
455
  * The requested username does not exist.
456
456
  **/
457
- NoUsername: GenericPalletError<Rv>;
457
+ NoUsername: GenericPalletError;
458
458
 
459
459
  /**
460
460
  * The username cannot be forcefully removed because it can still be accepted.
461
461
  **/
462
- NotExpired: GenericPalletError<Rv>;
462
+ NotExpired: GenericPalletError;
463
463
 
464
464
  /**
465
465
  * Generic pallet error
466
466
  **/
467
- [error: string]: GenericPalletError<Rv>;
467
+ [error: string]: GenericPalletError;
468
468
  };
469
469
  /**
470
470
  * Pallet `Democracy`'s errors
@@ -473,128 +473,128 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
473
473
  /**
474
474
  * Value too low
475
475
  **/
476
- ValueLow: GenericPalletError<Rv>;
476
+ ValueLow: GenericPalletError;
477
477
 
478
478
  /**
479
479
  * Proposal does not exist
480
480
  **/
481
- ProposalMissing: GenericPalletError<Rv>;
481
+ ProposalMissing: GenericPalletError;
482
482
 
483
483
  /**
484
484
  * Cannot cancel the same proposal twice
485
485
  **/
486
- AlreadyCanceled: GenericPalletError<Rv>;
486
+ AlreadyCanceled: GenericPalletError;
487
487
 
488
488
  /**
489
489
  * Proposal already made
490
490
  **/
491
- DuplicateProposal: GenericPalletError<Rv>;
491
+ DuplicateProposal: GenericPalletError;
492
492
 
493
493
  /**
494
494
  * Proposal still blacklisted
495
495
  **/
496
- ProposalBlacklisted: GenericPalletError<Rv>;
496
+ ProposalBlacklisted: GenericPalletError;
497
497
 
498
498
  /**
499
499
  * Next external proposal not simple majority
500
500
  **/
501
- NotSimpleMajority: GenericPalletError<Rv>;
501
+ NotSimpleMajority: GenericPalletError;
502
502
 
503
503
  /**
504
504
  * Invalid hash
505
505
  **/
506
- InvalidHash: GenericPalletError<Rv>;
506
+ InvalidHash: GenericPalletError;
507
507
 
508
508
  /**
509
509
  * No external proposal
510
510
  **/
511
- NoProposal: GenericPalletError<Rv>;
511
+ NoProposal: GenericPalletError;
512
512
 
513
513
  /**
514
514
  * Identity may not veto a proposal twice
515
515
  **/
516
- AlreadyVetoed: GenericPalletError<Rv>;
516
+ AlreadyVetoed: GenericPalletError;
517
517
 
518
518
  /**
519
519
  * Vote given for invalid referendum
520
520
  **/
521
- ReferendumInvalid: GenericPalletError<Rv>;
521
+ ReferendumInvalid: GenericPalletError;
522
522
 
523
523
  /**
524
524
  * No proposals waiting
525
525
  **/
526
- NoneWaiting: GenericPalletError<Rv>;
526
+ NoneWaiting: GenericPalletError;
527
527
 
528
528
  /**
529
529
  * The given account did not vote on the referendum.
530
530
  **/
531
- NotVoter: GenericPalletError<Rv>;
531
+ NotVoter: GenericPalletError;
532
532
 
533
533
  /**
534
534
  * The actor has no permission to conduct the action.
535
535
  **/
536
- NoPermission: GenericPalletError<Rv>;
536
+ NoPermission: GenericPalletError;
537
537
 
538
538
  /**
539
539
  * The account is already delegating.
540
540
  **/
541
- AlreadyDelegating: GenericPalletError<Rv>;
541
+ AlreadyDelegating: GenericPalletError;
542
542
 
543
543
  /**
544
544
  * Too high a balance was provided that the account cannot afford.
545
545
  **/
546
- InsufficientFunds: GenericPalletError<Rv>;
546
+ InsufficientFunds: GenericPalletError;
547
547
 
548
548
  /**
549
549
  * The account is not currently delegating.
550
550
  **/
551
- NotDelegating: GenericPalletError<Rv>;
551
+ NotDelegating: GenericPalletError;
552
552
 
553
553
  /**
554
554
  * The account currently has votes attached to it and the operation cannot succeed until
555
555
  * these are removed, either through `unvote` or `reap_vote`.
556
556
  **/
557
- VotesExist: GenericPalletError<Rv>;
557
+ VotesExist: GenericPalletError;
558
558
 
559
559
  /**
560
560
  * The instant referendum origin is currently disallowed.
561
561
  **/
562
- InstantNotAllowed: GenericPalletError<Rv>;
562
+ InstantNotAllowed: GenericPalletError;
563
563
 
564
564
  /**
565
565
  * Delegation to oneself makes no sense.
566
566
  **/
567
- Nonsense: GenericPalletError<Rv>;
567
+ Nonsense: GenericPalletError;
568
568
 
569
569
  /**
570
570
  * Invalid upper bound.
571
571
  **/
572
- WrongUpperBound: GenericPalletError<Rv>;
572
+ WrongUpperBound: GenericPalletError;
573
573
 
574
574
  /**
575
575
  * Maximum number of votes reached.
576
576
  **/
577
- MaxVotesReached: GenericPalletError<Rv>;
577
+ MaxVotesReached: GenericPalletError;
578
578
 
579
579
  /**
580
580
  * Maximum number of items reached.
581
581
  **/
582
- TooMany: GenericPalletError<Rv>;
582
+ TooMany: GenericPalletError;
583
583
 
584
584
  /**
585
585
  * Voting period too low
586
586
  **/
587
- VotingPeriodLow: GenericPalletError<Rv>;
587
+ VotingPeriodLow: GenericPalletError;
588
588
 
589
589
  /**
590
590
  * The preimage does not exist.
591
591
  **/
592
- PreimageNotExist: GenericPalletError<Rv>;
592
+ PreimageNotExist: GenericPalletError;
593
593
 
594
594
  /**
595
595
  * Generic pallet error
596
596
  **/
597
- [error: string]: GenericPalletError<Rv>;
597
+ [error: string]: GenericPalletError;
598
598
  };
599
599
  /**
600
600
  * Pallet `TechnicalCommittee`'s errors
@@ -603,62 +603,62 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
603
603
  /**
604
604
  * Account is not a member
605
605
  **/
606
- NotMember: GenericPalletError<Rv>;
606
+ NotMember: GenericPalletError;
607
607
 
608
608
  /**
609
609
  * Duplicate proposals not allowed
610
610
  **/
611
- DuplicateProposal: GenericPalletError<Rv>;
611
+ DuplicateProposal: GenericPalletError;
612
612
 
613
613
  /**
614
614
  * Proposal must exist
615
615
  **/
616
- ProposalMissing: GenericPalletError<Rv>;
616
+ ProposalMissing: GenericPalletError;
617
617
 
618
618
  /**
619
619
  * Mismatched index
620
620
  **/
621
- WrongIndex: GenericPalletError<Rv>;
621
+ WrongIndex: GenericPalletError;
622
622
 
623
623
  /**
624
624
  * Duplicate vote ignored
625
625
  **/
626
- DuplicateVote: GenericPalletError<Rv>;
626
+ DuplicateVote: GenericPalletError;
627
627
 
628
628
  /**
629
629
  * Members are already initialized!
630
630
  **/
631
- AlreadyInitialized: GenericPalletError<Rv>;
631
+ AlreadyInitialized: GenericPalletError;
632
632
 
633
633
  /**
634
634
  * The close call was made too early, before the end of the voting.
635
635
  **/
636
- TooEarly: GenericPalletError<Rv>;
636
+ TooEarly: GenericPalletError;
637
637
 
638
638
  /**
639
639
  * There can only be a maximum of `MaxProposals` active proposals.
640
640
  **/
641
- TooManyProposals: GenericPalletError<Rv>;
641
+ TooManyProposals: GenericPalletError;
642
642
 
643
643
  /**
644
644
  * The given weight bound for the proposal was too low.
645
645
  **/
646
- WrongProposalWeight: GenericPalletError<Rv>;
646
+ WrongProposalWeight: GenericPalletError;
647
647
 
648
648
  /**
649
649
  * The given length bound for the proposal was too low.
650
650
  **/
651
- WrongProposalLength: GenericPalletError<Rv>;
651
+ WrongProposalLength: GenericPalletError;
652
652
 
653
653
  /**
654
654
  * Prime account is not a member
655
655
  **/
656
- PrimeAccountNotMember: GenericPalletError<Rv>;
656
+ PrimeAccountNotMember: GenericPalletError;
657
657
 
658
658
  /**
659
659
  * Generic pallet error
660
660
  **/
661
- [error: string]: GenericPalletError<Rv>;
661
+ [error: string]: GenericPalletError;
662
662
  };
663
663
  /**
664
664
  * Pallet `Proxy`'s errors
@@ -667,47 +667,47 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
667
667
  /**
668
668
  * There are too many proxies registered or too many announcements pending.
669
669
  **/
670
- TooMany: GenericPalletError<Rv>;
670
+ TooMany: GenericPalletError;
671
671
 
672
672
  /**
673
673
  * Proxy registration not found.
674
674
  **/
675
- NotFound: GenericPalletError<Rv>;
675
+ NotFound: GenericPalletError;
676
676
 
677
677
  /**
678
678
  * Sender is not a proxy of the account to be proxied.
679
679
  **/
680
- NotProxy: GenericPalletError<Rv>;
680
+ NotProxy: GenericPalletError;
681
681
 
682
682
  /**
683
683
  * A call which is incompatible with the proxy type's filter was attempted.
684
684
  **/
685
- Unproxyable: GenericPalletError<Rv>;
685
+ Unproxyable: GenericPalletError;
686
686
 
687
687
  /**
688
688
  * Account is already a proxy.
689
689
  **/
690
- Duplicate: GenericPalletError<Rv>;
690
+ Duplicate: GenericPalletError;
691
691
 
692
692
  /**
693
693
  * Call may not be made by proxy because it may escalate its privileges.
694
694
  **/
695
- NoPermission: GenericPalletError<Rv>;
695
+ NoPermission: GenericPalletError;
696
696
 
697
697
  /**
698
698
  * Announcement, if made at all, was made too recently.
699
699
  **/
700
- Unannounced: GenericPalletError<Rv>;
700
+ Unannounced: GenericPalletError;
701
701
 
702
702
  /**
703
703
  * Cannot add self as proxy.
704
704
  **/
705
- NoSelfProxy: GenericPalletError<Rv>;
705
+ NoSelfProxy: GenericPalletError;
706
706
 
707
707
  /**
708
708
  * Generic pallet error
709
709
  **/
710
- [error: string]: GenericPalletError<Rv>;
710
+ [error: string]: GenericPalletError;
711
711
  };
712
712
  /**
713
713
  * Pallet `Multisig`'s errors
@@ -716,77 +716,77 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
716
716
  /**
717
717
  * Threshold must be 2 or greater.
718
718
  **/
719
- MinimumThreshold: GenericPalletError<Rv>;
719
+ MinimumThreshold: GenericPalletError;
720
720
 
721
721
  /**
722
722
  * Call is already approved by this signatory.
723
723
  **/
724
- AlreadyApproved: GenericPalletError<Rv>;
724
+ AlreadyApproved: GenericPalletError;
725
725
 
726
726
  /**
727
727
  * Call doesn't need any (more) approvals.
728
728
  **/
729
- NoApprovalsNeeded: GenericPalletError<Rv>;
729
+ NoApprovalsNeeded: GenericPalletError;
730
730
 
731
731
  /**
732
732
  * There are too few signatories in the list.
733
733
  **/
734
- TooFewSignatories: GenericPalletError<Rv>;
734
+ TooFewSignatories: GenericPalletError;
735
735
 
736
736
  /**
737
737
  * There are too many signatories in the list.
738
738
  **/
739
- TooManySignatories: GenericPalletError<Rv>;
739
+ TooManySignatories: GenericPalletError;
740
740
 
741
741
  /**
742
742
  * The signatories were provided out of order; they should be ordered.
743
743
  **/
744
- SignatoriesOutOfOrder: GenericPalletError<Rv>;
744
+ SignatoriesOutOfOrder: GenericPalletError;
745
745
 
746
746
  /**
747
747
  * The sender was contained in the other signatories; it shouldn't be.
748
748
  **/
749
- SenderInSignatories: GenericPalletError<Rv>;
749
+ SenderInSignatories: GenericPalletError;
750
750
 
751
751
  /**
752
752
  * Multisig operation not found when attempting to cancel.
753
753
  **/
754
- NotFound: GenericPalletError<Rv>;
754
+ NotFound: GenericPalletError;
755
755
 
756
756
  /**
757
757
  * Only the account that originally created the multisig is able to cancel it.
758
758
  **/
759
- NotOwner: GenericPalletError<Rv>;
759
+ NotOwner: GenericPalletError;
760
760
 
761
761
  /**
762
762
  * No timepoint was given, yet the multisig operation is already underway.
763
763
  **/
764
- NoTimepoint: GenericPalletError<Rv>;
764
+ NoTimepoint: GenericPalletError;
765
765
 
766
766
  /**
767
767
  * A different timepoint was given to the multisig operation that is underway.
768
768
  **/
769
- WrongTimepoint: GenericPalletError<Rv>;
769
+ WrongTimepoint: GenericPalletError;
770
770
 
771
771
  /**
772
772
  * A timepoint was given, yet no multisig operation is underway.
773
773
  **/
774
- UnexpectedTimepoint: GenericPalletError<Rv>;
774
+ UnexpectedTimepoint: GenericPalletError;
775
775
 
776
776
  /**
777
777
  * The maximum weight information provided was too low.
778
778
  **/
779
- MaxWeightTooLow: GenericPalletError<Rv>;
779
+ MaxWeightTooLow: GenericPalletError;
780
780
 
781
781
  /**
782
782
  * The data to be stored is already stored.
783
783
  **/
784
- AlreadyStored: GenericPalletError<Rv>;
784
+ AlreadyStored: GenericPalletError;
785
785
 
786
786
  /**
787
787
  * Generic pallet error
788
788
  **/
789
- [error: string]: GenericPalletError<Rv>;
789
+ [error: string]: GenericPalletError;
790
790
  };
791
791
  /**
792
792
  * Pallet `Uniques`'s errors
@@ -795,97 +795,97 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
795
795
  /**
796
796
  * The signing account has no permission to do the operation.
797
797
  **/
798
- NoPermission: GenericPalletError<Rv>;
798
+ NoPermission: GenericPalletError;
799
799
 
800
800
  /**
801
801
  * The given item ID is unknown.
802
802
  **/
803
- UnknownCollection: GenericPalletError<Rv>;
803
+ UnknownCollection: GenericPalletError;
804
804
 
805
805
  /**
806
806
  * The item ID has already been used for an item.
807
807
  **/
808
- AlreadyExists: GenericPalletError<Rv>;
808
+ AlreadyExists: GenericPalletError;
809
809
 
810
810
  /**
811
811
  * The owner turned out to be different to what was expected.
812
812
  **/
813
- WrongOwner: GenericPalletError<Rv>;
813
+ WrongOwner: GenericPalletError;
814
814
 
815
815
  /**
816
816
  * Invalid witness data given.
817
817
  **/
818
- BadWitness: GenericPalletError<Rv>;
818
+ BadWitness: GenericPalletError;
819
819
 
820
820
  /**
821
821
  * The item ID is already taken.
822
822
  **/
823
- InUse: GenericPalletError<Rv>;
823
+ InUse: GenericPalletError;
824
824
 
825
825
  /**
826
826
  * The item or collection is frozen.
827
827
  **/
828
- Frozen: GenericPalletError<Rv>;
828
+ Frozen: GenericPalletError;
829
829
 
830
830
  /**
831
831
  * The delegate turned out to be different to what was expected.
832
832
  **/
833
- WrongDelegate: GenericPalletError<Rv>;
833
+ WrongDelegate: GenericPalletError;
834
834
 
835
835
  /**
836
836
  * There is no delegate approved.
837
837
  **/
838
- NoDelegate: GenericPalletError<Rv>;
838
+ NoDelegate: GenericPalletError;
839
839
 
840
840
  /**
841
841
  * No approval exists that would allow the transfer.
842
842
  **/
843
- Unapproved: GenericPalletError<Rv>;
843
+ Unapproved: GenericPalletError;
844
844
 
845
845
  /**
846
846
  * The named owner has not signed ownership of the collection is acceptable.
847
847
  **/
848
- Unaccepted: GenericPalletError<Rv>;
848
+ Unaccepted: GenericPalletError;
849
849
 
850
850
  /**
851
851
  * The item is locked.
852
852
  **/
853
- Locked: GenericPalletError<Rv>;
853
+ Locked: GenericPalletError;
854
854
 
855
855
  /**
856
856
  * All items have been minted.
857
857
  **/
858
- MaxSupplyReached: GenericPalletError<Rv>;
858
+ MaxSupplyReached: GenericPalletError;
859
859
 
860
860
  /**
861
861
  * The max supply has already been set.
862
862
  **/
863
- MaxSupplyAlreadySet: GenericPalletError<Rv>;
863
+ MaxSupplyAlreadySet: GenericPalletError;
864
864
 
865
865
  /**
866
866
  * The provided max supply is less to the amount of items a collection already has.
867
867
  **/
868
- MaxSupplyTooSmall: GenericPalletError<Rv>;
868
+ MaxSupplyTooSmall: GenericPalletError;
869
869
 
870
870
  /**
871
871
  * The given item ID is unknown.
872
872
  **/
873
- UnknownItem: GenericPalletError<Rv>;
873
+ UnknownItem: GenericPalletError;
874
874
 
875
875
  /**
876
876
  * Item is not for sale.
877
877
  **/
878
- NotForSale: GenericPalletError<Rv>;
878
+ NotForSale: GenericPalletError;
879
879
 
880
880
  /**
881
881
  * The provided bid is too low.
882
882
  **/
883
- BidTooLow: GenericPalletError<Rv>;
883
+ BidTooLow: GenericPalletError;
884
884
 
885
885
  /**
886
886
  * Generic pallet error
887
887
  **/
888
- [error: string]: GenericPalletError<Rv>;
888
+ [error: string]: GenericPalletError;
889
889
  };
890
890
  /**
891
891
  * Pallet `StateTrieMigration`'s errors
@@ -894,7 +894,7 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
894
894
  /**
895
895
  * Max signed limits not respected.
896
896
  **/
897
- MaxSignedLimits: GenericPalletError<Rv>;
897
+ MaxSignedLimits: GenericPalletError;
898
898
 
899
899
  /**
900
900
  * A key was longer than the configured maximum.
@@ -905,32 +905,32 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
905
905
  * The value should only be increased to avoid a storage migration for the currently
906
906
  * stored [`crate::Progress::LastKey`].
907
907
  **/
908
- KeyTooLong: GenericPalletError<Rv>;
908
+ KeyTooLong: GenericPalletError;
909
909
 
910
910
  /**
911
911
  * submitter does not have enough funds.
912
912
  **/
913
- NotEnoughFunds: GenericPalletError<Rv>;
913
+ NotEnoughFunds: GenericPalletError;
914
914
 
915
915
  /**
916
916
  * Bad witness data provided.
917
917
  **/
918
- BadWitness: GenericPalletError<Rv>;
918
+ BadWitness: GenericPalletError;
919
919
 
920
920
  /**
921
921
  * Signed migration is not allowed because the maximum limit is not set yet.
922
922
  **/
923
- SignedMigrationNotAllowed: GenericPalletError<Rv>;
923
+ SignedMigrationNotAllowed: GenericPalletError;
924
924
 
925
925
  /**
926
926
  * Bad child root provided.
927
927
  **/
928
- BadChildRoot: GenericPalletError<Rv>;
928
+ BadChildRoot: GenericPalletError;
929
929
 
930
930
  /**
931
931
  * Generic pallet error
932
932
  **/
933
- [error: string]: GenericPalletError<Rv>;
933
+ [error: string]: GenericPalletError;
934
934
  };
935
935
  /**
936
936
  * Pallet `ConvictionVoting`'s errors
@@ -939,68 +939,68 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
939
939
  /**
940
940
  * Poll is not ongoing.
941
941
  **/
942
- NotOngoing: GenericPalletError<Rv>;
942
+ NotOngoing: GenericPalletError;
943
943
 
944
944
  /**
945
945
  * The given account did not vote on the poll.
946
946
  **/
947
- NotVoter: GenericPalletError<Rv>;
947
+ NotVoter: GenericPalletError;
948
948
 
949
949
  /**
950
950
  * The actor has no permission to conduct the action.
951
951
  **/
952
- NoPermission: GenericPalletError<Rv>;
952
+ NoPermission: GenericPalletError;
953
953
 
954
954
  /**
955
955
  * The actor has no permission to conduct the action right now but will do in the future.
956
956
  **/
957
- NoPermissionYet: GenericPalletError<Rv>;
957
+ NoPermissionYet: GenericPalletError;
958
958
 
959
959
  /**
960
960
  * The account is already delegating.
961
961
  **/
962
- AlreadyDelegating: GenericPalletError<Rv>;
962
+ AlreadyDelegating: GenericPalletError;
963
963
 
964
964
  /**
965
965
  * The account currently has votes attached to it and the operation cannot succeed until
966
966
  * these are removed through `remove_vote`.
967
967
  **/
968
- AlreadyVoting: GenericPalletError<Rv>;
968
+ AlreadyVoting: GenericPalletError;
969
969
 
970
970
  /**
971
971
  * Too high a balance was provided that the account cannot afford.
972
972
  **/
973
- InsufficientFunds: GenericPalletError<Rv>;
973
+ InsufficientFunds: GenericPalletError;
974
974
 
975
975
  /**
976
976
  * The account is not currently delegating.
977
977
  **/
978
- NotDelegating: GenericPalletError<Rv>;
978
+ NotDelegating: GenericPalletError;
979
979
 
980
980
  /**
981
981
  * Delegation to oneself makes no sense.
982
982
  **/
983
- Nonsense: GenericPalletError<Rv>;
983
+ Nonsense: GenericPalletError;
984
984
 
985
985
  /**
986
986
  * Maximum number of votes reached.
987
987
  **/
988
- MaxVotesReached: GenericPalletError<Rv>;
988
+ MaxVotesReached: GenericPalletError;
989
989
 
990
990
  /**
991
991
  * The class must be supplied since it is not easily determinable from the state.
992
992
  **/
993
- ClassNeeded: GenericPalletError<Rv>;
993
+ ClassNeeded: GenericPalletError;
994
994
 
995
995
  /**
996
996
  * The class ID supplied is invalid.
997
997
  **/
998
- BadClass: GenericPalletError<Rv>;
998
+ BadClass: GenericPalletError;
999
999
 
1000
1000
  /**
1001
1001
  * Generic pallet error
1002
1002
  **/
1003
- [error: string]: GenericPalletError<Rv>;
1003
+ [error: string]: GenericPalletError;
1004
1004
  };
1005
1005
  /**
1006
1006
  * Pallet `Referenda`'s errors
@@ -1009,77 +1009,77 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1009
1009
  /**
1010
1010
  * Referendum is not ongoing.
1011
1011
  **/
1012
- NotOngoing: GenericPalletError<Rv>;
1012
+ NotOngoing: GenericPalletError;
1013
1013
 
1014
1014
  /**
1015
1015
  * Referendum's decision deposit is already paid.
1016
1016
  **/
1017
- HasDeposit: GenericPalletError<Rv>;
1017
+ HasDeposit: GenericPalletError;
1018
1018
 
1019
1019
  /**
1020
1020
  * The track identifier given was invalid.
1021
1021
  **/
1022
- BadTrack: GenericPalletError<Rv>;
1022
+ BadTrack: GenericPalletError;
1023
1023
 
1024
1024
  /**
1025
1025
  * There are already a full complement of referenda in progress for this track.
1026
1026
  **/
1027
- Full: GenericPalletError<Rv>;
1027
+ Full: GenericPalletError;
1028
1028
 
1029
1029
  /**
1030
1030
  * The queue of the track is empty.
1031
1031
  **/
1032
- QueueEmpty: GenericPalletError<Rv>;
1032
+ QueueEmpty: GenericPalletError;
1033
1033
 
1034
1034
  /**
1035
1035
  * The referendum index provided is invalid in this context.
1036
1036
  **/
1037
- BadReferendum: GenericPalletError<Rv>;
1037
+ BadReferendum: GenericPalletError;
1038
1038
 
1039
1039
  /**
1040
1040
  * There was nothing to do in the advancement.
1041
1041
  **/
1042
- NothingToDo: GenericPalletError<Rv>;
1042
+ NothingToDo: GenericPalletError;
1043
1043
 
1044
1044
  /**
1045
1045
  * No track exists for the proposal origin.
1046
1046
  **/
1047
- NoTrack: GenericPalletError<Rv>;
1047
+ NoTrack: GenericPalletError;
1048
1048
 
1049
1049
  /**
1050
1050
  * Any deposit cannot be refunded until after the decision is over.
1051
1051
  **/
1052
- Unfinished: GenericPalletError<Rv>;
1052
+ Unfinished: GenericPalletError;
1053
1053
 
1054
1054
  /**
1055
1055
  * The deposit refunder is not the depositor.
1056
1056
  **/
1057
- NoPermission: GenericPalletError<Rv>;
1057
+ NoPermission: GenericPalletError;
1058
1058
 
1059
1059
  /**
1060
1060
  * The deposit cannot be refunded since none was made.
1061
1061
  **/
1062
- NoDeposit: GenericPalletError<Rv>;
1062
+ NoDeposit: GenericPalletError;
1063
1063
 
1064
1064
  /**
1065
1065
  * The referendum status is invalid for this operation.
1066
1066
  **/
1067
- BadStatus: GenericPalletError<Rv>;
1067
+ BadStatus: GenericPalletError;
1068
1068
 
1069
1069
  /**
1070
1070
  * The preimage does not exist.
1071
1071
  **/
1072
- PreimageNotExist: GenericPalletError<Rv>;
1072
+ PreimageNotExist: GenericPalletError;
1073
1073
 
1074
1074
  /**
1075
1075
  * The preimage is stored with a different length than the one provided.
1076
1076
  **/
1077
- PreimageStoredWithDifferentLength: GenericPalletError<Rv>;
1077
+ PreimageStoredWithDifferentLength: GenericPalletError;
1078
1078
 
1079
1079
  /**
1080
1080
  * Generic pallet error
1081
1081
  **/
1082
- [error: string]: GenericPalletError<Rv>;
1082
+ [error: string]: GenericPalletError;
1083
1083
  };
1084
1084
  /**
1085
1085
  * Pallet `Whitelist`'s errors
@@ -1088,32 +1088,32 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1088
1088
  /**
1089
1089
  * The preimage of the call hash could not be loaded.
1090
1090
  **/
1091
- UnavailablePreImage: GenericPalletError<Rv>;
1091
+ UnavailablePreImage: GenericPalletError;
1092
1092
 
1093
1093
  /**
1094
1094
  * The call could not be decoded.
1095
1095
  **/
1096
- UndecodableCall: GenericPalletError<Rv>;
1096
+ UndecodableCall: GenericPalletError;
1097
1097
 
1098
1098
  /**
1099
1099
  * The weight of the decoded call was higher than the witness.
1100
1100
  **/
1101
- InvalidCallWeightWitness: GenericPalletError<Rv>;
1101
+ InvalidCallWeightWitness: GenericPalletError;
1102
1102
 
1103
1103
  /**
1104
1104
  * The call was not whitelisted.
1105
1105
  **/
1106
- CallIsNotWhitelisted: GenericPalletError<Rv>;
1106
+ CallIsNotWhitelisted: GenericPalletError;
1107
1107
 
1108
1108
  /**
1109
1109
  * The call was already whitelisted; No-Op.
1110
1110
  **/
1111
- CallAlreadyWhitelisted: GenericPalletError<Rv>;
1111
+ CallAlreadyWhitelisted: GenericPalletError;
1112
1112
 
1113
1113
  /**
1114
1114
  * Generic pallet error
1115
1115
  **/
1116
- [error: string]: GenericPalletError<Rv>;
1116
+ [error: string]: GenericPalletError;
1117
1117
  };
1118
1118
  /**
1119
1119
  * Pallet `Dispatcher`'s errors
@@ -1123,17 +1123,17 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1123
1123
  * The EVM call execution failed. This happens when the EVM returns an exit reason
1124
1124
  * other than `ExitSucceed(Returned)` or `ExitSucceed(Stopped)`.
1125
1125
  **/
1126
- EvmCallFailed: GenericPalletError<Rv>;
1126
+ EvmCallFailed: GenericPalletError;
1127
1127
 
1128
1128
  /**
1129
1129
  * The provided call is not an EVM call. This extrinsic only accepts `pallet_evm::Call::call`.
1130
1130
  **/
1131
- NotEvmCall: GenericPalletError<Rv>;
1131
+ NotEvmCall: GenericPalletError;
1132
1132
 
1133
1133
  /**
1134
1134
  * Generic pallet error
1135
1135
  **/
1136
- [error: string]: GenericPalletError<Rv>;
1136
+ [error: string]: GenericPalletError;
1137
1137
  };
1138
1138
  /**
1139
1139
  * Pallet `AssetRegistry`'s errors
@@ -1142,82 +1142,82 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1142
1142
  /**
1143
1143
  * Asset ID is not available. This only happens when it reaches the MAX value of given id type.
1144
1144
  **/
1145
- NoIdAvailable: GenericPalletError<Rv>;
1145
+ NoIdAvailable: GenericPalletError;
1146
1146
 
1147
1147
  /**
1148
1148
  * Invalid asset name or symbol.
1149
1149
  **/
1150
- AssetNotFound: GenericPalletError<Rv>;
1150
+ AssetNotFound: GenericPalletError;
1151
1151
 
1152
1152
  /**
1153
1153
  * Length of name or symbol is less than min. length.
1154
1154
  **/
1155
- TooShort: GenericPalletError<Rv>;
1155
+ TooShort: GenericPalletError;
1156
1156
 
1157
1157
  /**
1158
1158
  * Asset's symbol can't contain whitespace characters .
1159
1159
  **/
1160
- InvalidSymbol: GenericPalletError<Rv>;
1160
+ InvalidSymbol: GenericPalletError;
1161
1161
 
1162
1162
  /**
1163
1163
  * Asset ID is not registered in the asset-registry.
1164
1164
  **/
1165
- AssetNotRegistered: GenericPalletError<Rv>;
1165
+ AssetNotRegistered: GenericPalletError;
1166
1166
 
1167
1167
  /**
1168
1168
  * Asset is already registered.
1169
1169
  **/
1170
- AssetAlreadyRegistered: GenericPalletError<Rv>;
1170
+ AssetAlreadyRegistered: GenericPalletError;
1171
1171
 
1172
1172
  /**
1173
1173
  * Incorrect number of assets provided to create shared asset.
1174
1174
  **/
1175
- InvalidSharedAssetLen: GenericPalletError<Rv>;
1175
+ InvalidSharedAssetLen: GenericPalletError;
1176
1176
 
1177
1177
  /**
1178
1178
  * Cannot update asset location.
1179
1179
  **/
1180
- CannotUpdateLocation: GenericPalletError<Rv>;
1180
+ CannotUpdateLocation: GenericPalletError;
1181
1181
 
1182
1182
  /**
1183
1183
  * Selected asset id is out of reserved range.
1184
1184
  **/
1185
- NotInReservedRange: GenericPalletError<Rv>;
1185
+ NotInReservedRange: GenericPalletError;
1186
1186
 
1187
1187
  /**
1188
1188
  * Location already registered with different asset.
1189
1189
  **/
1190
- LocationAlreadyRegistered: GenericPalletError<Rv>;
1190
+ LocationAlreadyRegistered: GenericPalletError;
1191
1191
 
1192
1192
  /**
1193
1193
  * Origin is forbidden to set/update value.
1194
1194
  **/
1195
- Forbidden: GenericPalletError<Rv>;
1195
+ Forbidden: GenericPalletError;
1196
1196
 
1197
1197
  /**
1198
1198
  * Balance too low.
1199
1199
  **/
1200
- InsufficientBalance: GenericPalletError<Rv>;
1200
+ InsufficientBalance: GenericPalletError;
1201
1201
 
1202
1202
  /**
1203
1203
  * Sufficient assets can't be changed to insufficient.
1204
1204
  **/
1205
- ForbiddenSufficiencyChange: GenericPalletError<Rv>;
1205
+ ForbiddenSufficiencyChange: GenericPalletError;
1206
1206
 
1207
1207
  /**
1208
1208
  * Asset is already banned.
1209
1209
  **/
1210
- AssetAlreadyBanned: GenericPalletError<Rv>;
1210
+ AssetAlreadyBanned: GenericPalletError;
1211
1211
 
1212
1212
  /**
1213
1213
  * Asset is not banned.
1214
1214
  **/
1215
- AssetNotBanned: GenericPalletError<Rv>;
1215
+ AssetNotBanned: GenericPalletError;
1216
1216
 
1217
1217
  /**
1218
1218
  * Generic pallet error
1219
1219
  **/
1220
- [error: string]: GenericPalletError<Rv>;
1220
+ [error: string]: GenericPalletError;
1221
1221
  };
1222
1222
  /**
1223
1223
  * Pallet `Claims`'s errors
@@ -1226,22 +1226,22 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1226
1226
  /**
1227
1227
  * Ethereum signature is not valid
1228
1228
  **/
1229
- InvalidEthereumSignature: GenericPalletError<Rv>;
1229
+ InvalidEthereumSignature: GenericPalletError;
1230
1230
 
1231
1231
  /**
1232
1232
  * Claim is not valid
1233
1233
  **/
1234
- NoClaimOrAlreadyClaimed: GenericPalletError<Rv>;
1234
+ NoClaimOrAlreadyClaimed: GenericPalletError;
1235
1235
 
1236
1236
  /**
1237
1237
  * Value reached maximum and cannot be incremented further
1238
1238
  **/
1239
- BalanceOverflow: GenericPalletError<Rv>;
1239
+ BalanceOverflow: GenericPalletError;
1240
1240
 
1241
1241
  /**
1242
1242
  * Generic pallet error
1243
1243
  **/
1244
- [error: string]: GenericPalletError<Rv>;
1244
+ [error: string]: GenericPalletError;
1245
1245
  };
1246
1246
  /**
1247
1247
  * Pallet `CollatorRewards`'s errors
@@ -1250,7 +1250,7 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1250
1250
  /**
1251
1251
  * Generic pallet error
1252
1252
  **/
1253
- [error: string]: GenericPalletError<Rv>;
1253
+ [error: string]: GenericPalletError;
1254
1254
  };
1255
1255
  /**
1256
1256
  * Pallet `Omnipool`'s errors
@@ -1259,167 +1259,167 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1259
1259
  /**
1260
1260
  * Balance too low
1261
1261
  **/
1262
- InsufficientBalance: GenericPalletError<Rv>;
1262
+ InsufficientBalance: GenericPalletError;
1263
1263
 
1264
1264
  /**
1265
1265
  * Asset is already in omnipool
1266
1266
  **/
1267
- AssetAlreadyAdded: GenericPalletError<Rv>;
1267
+ AssetAlreadyAdded: GenericPalletError;
1268
1268
 
1269
1269
  /**
1270
1270
  * Asset is not in omnipool
1271
1271
  **/
1272
- AssetNotFound: GenericPalletError<Rv>;
1272
+ AssetNotFound: GenericPalletError;
1273
1273
 
1274
1274
  /**
1275
1275
  * Failed to add token to Omnipool due to insufficient initial liquidity.
1276
1276
  **/
1277
- MissingBalance: GenericPalletError<Rv>;
1277
+ MissingBalance: GenericPalletError;
1278
1278
 
1279
1279
  /**
1280
1280
  * Invalid initial asset price.
1281
1281
  **/
1282
- InvalidInitialAssetPrice: GenericPalletError<Rv>;
1282
+ InvalidInitialAssetPrice: GenericPalletError;
1283
1283
 
1284
1284
  /**
1285
1285
  * Slippage protection - minimum limit has not been reached.
1286
1286
  **/
1287
- BuyLimitNotReached: GenericPalletError<Rv>;
1287
+ BuyLimitNotReached: GenericPalletError;
1288
1288
 
1289
1289
  /**
1290
1290
  * Slippage protection - maximum limit has been exceeded.
1291
1291
  **/
1292
- SellLimitExceeded: GenericPalletError<Rv>;
1292
+ SellLimitExceeded: GenericPalletError;
1293
1293
 
1294
1294
  /**
1295
1295
  * Position has not been found.
1296
1296
  **/
1297
- PositionNotFound: GenericPalletError<Rv>;
1297
+ PositionNotFound: GenericPalletError;
1298
1298
 
1299
1299
  /**
1300
1300
  * Insufficient shares in position
1301
1301
  **/
1302
- InsufficientShares: GenericPalletError<Rv>;
1302
+ InsufficientShares: GenericPalletError;
1303
1303
 
1304
1304
  /**
1305
1305
  * Asset is not allowed to be traded.
1306
1306
  **/
1307
- NotAllowed: GenericPalletError<Rv>;
1307
+ NotAllowed: GenericPalletError;
1308
1308
 
1309
1309
  /**
1310
1310
  * Signed account is not owner of position instance.
1311
1311
  **/
1312
- Forbidden: GenericPalletError<Rv>;
1312
+ Forbidden: GenericPalletError;
1313
1313
 
1314
1314
  /**
1315
1315
  * Asset weight cap has been exceeded.
1316
1316
  **/
1317
- AssetWeightCapExceeded: GenericPalletError<Rv>;
1317
+ AssetWeightCapExceeded: GenericPalletError;
1318
1318
 
1319
1319
  /**
1320
1320
  * Asset is not registered in asset registry
1321
1321
  **/
1322
- AssetNotRegistered: GenericPalletError<Rv>;
1322
+ AssetNotRegistered: GenericPalletError;
1323
1323
 
1324
1324
  /**
1325
1325
  * Provided liquidity is below minimum allowed limit
1326
1326
  **/
1327
- InsufficientLiquidity: GenericPalletError<Rv>;
1327
+ InsufficientLiquidity: GenericPalletError;
1328
1328
 
1329
1329
  /**
1330
1330
  * Traded amount is below minimum allowed limit
1331
1331
  **/
1332
- InsufficientTradingAmount: GenericPalletError<Rv>;
1332
+ InsufficientTradingAmount: GenericPalletError;
1333
1333
 
1334
1334
  /**
1335
1335
  * Sell or buy with same asset ids is not allowed.
1336
1336
  **/
1337
- SameAssetTradeNotAllowed: GenericPalletError<Rv>;
1337
+ SameAssetTradeNotAllowed: GenericPalletError;
1338
1338
 
1339
1339
  /**
1340
1340
  * LRNA update after trade results in positive value.
1341
1341
  **/
1342
- HubAssetUpdateError: GenericPalletError<Rv>;
1342
+ HubAssetUpdateError: GenericPalletError;
1343
1343
 
1344
1344
  /**
1345
1345
  * Amount of shares provided cannot be 0.
1346
1346
  **/
1347
- InvalidSharesAmount: GenericPalletError<Rv>;
1347
+ InvalidSharesAmount: GenericPalletError;
1348
1348
 
1349
1349
  /**
1350
1350
  * Hub asset is only allowed to be sold.
1351
1351
  **/
1352
- InvalidHubAssetTradableState: GenericPalletError<Rv>;
1352
+ InvalidHubAssetTradableState: GenericPalletError;
1353
1353
 
1354
1354
  /**
1355
1355
  * Asset is not allowed to be refunded.
1356
1356
  **/
1357
- AssetRefundNotAllowed: GenericPalletError<Rv>;
1357
+ AssetRefundNotAllowed: GenericPalletError;
1358
1358
 
1359
1359
  /**
1360
1360
  * Max fraction of asset to buy has been exceeded.
1361
1361
  **/
1362
- MaxOutRatioExceeded: GenericPalletError<Rv>;
1362
+ MaxOutRatioExceeded: GenericPalletError;
1363
1363
 
1364
1364
  /**
1365
1365
  * Max fraction of asset to sell has been exceeded.
1366
1366
  **/
1367
- MaxInRatioExceeded: GenericPalletError<Rv>;
1367
+ MaxInRatioExceeded: GenericPalletError;
1368
1368
 
1369
1369
  /**
1370
1370
  * Max allowed price difference has been exceeded.
1371
1371
  **/
1372
- PriceDifferenceTooHigh: GenericPalletError<Rv>;
1372
+ PriceDifferenceTooHigh: GenericPalletError;
1373
1373
 
1374
1374
  /**
1375
1375
  * Invalid oracle price - division by zero.
1376
1376
  **/
1377
- InvalidOraclePrice: GenericPalletError<Rv>;
1377
+ InvalidOraclePrice: GenericPalletError;
1378
1378
 
1379
1379
  /**
1380
1380
  * Failed to calculate withdrawal fee.
1381
1381
  **/
1382
- InvalidWithdrawalFee: GenericPalletError<Rv>;
1382
+ InvalidWithdrawalFee: GenericPalletError;
1383
1383
 
1384
1384
  /**
1385
1385
  * More than allowed amount of fee has been transferred.
1386
1386
  **/
1387
- FeeOverdraft: GenericPalletError<Rv>;
1387
+ FeeOverdraft: GenericPalletError;
1388
1388
 
1389
1389
  /**
1390
1390
  * Token cannot be removed from Omnipool due to shares still owned by other users.
1391
1391
  **/
1392
- SharesRemaining: GenericPalletError<Rv>;
1392
+ SharesRemaining: GenericPalletError;
1393
1393
 
1394
1394
  /**
1395
1395
  * Token cannot be removed from Omnipool because asset is not frozen.
1396
1396
  **/
1397
- AssetNotFrozen: GenericPalletError<Rv>;
1397
+ AssetNotFrozen: GenericPalletError;
1398
1398
 
1399
1399
  /**
1400
1400
  * Calculated amount out from sell trade is zero.
1401
1401
  **/
1402
- ZeroAmountOut: GenericPalletError<Rv>;
1402
+ ZeroAmountOut: GenericPalletError;
1403
1403
 
1404
1404
  /**
1405
1405
  * Existential deposit of asset is not available.
1406
1406
  **/
1407
- ExistentialDepositNotAvailable: GenericPalletError<Rv>;
1407
+ ExistentialDepositNotAvailable: GenericPalletError;
1408
1408
 
1409
1409
  /**
1410
1410
  * Slippage protection
1411
1411
  **/
1412
- SlippageLimit: GenericPalletError<Rv>;
1412
+ SlippageLimit: GenericPalletError;
1413
1413
 
1414
1414
  /**
1415
1415
  * Extra protocol fee has not been consumed.
1416
1416
  **/
1417
- ProtocolFeeNotConsumed: GenericPalletError<Rv>;
1417
+ ProtocolFeeNotConsumed: GenericPalletError;
1418
1418
 
1419
1419
  /**
1420
1420
  * Generic pallet error
1421
1421
  **/
1422
- [error: string]: GenericPalletError<Rv>;
1422
+ [error: string]: GenericPalletError;
1423
1423
  };
1424
1424
  /**
1425
1425
  * Pallet `TransactionPause`'s errors
@@ -1428,22 +1428,22 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1428
1428
  /**
1429
1429
  * can not pause
1430
1430
  **/
1431
- CannotPause: GenericPalletError<Rv>;
1431
+ CannotPause: GenericPalletError;
1432
1432
 
1433
1433
  /**
1434
1434
  * invalid character encoding
1435
1435
  **/
1436
- InvalidCharacter: GenericPalletError<Rv>;
1436
+ InvalidCharacter: GenericPalletError;
1437
1437
 
1438
1438
  /**
1439
1439
  * pallet name or function name is too long
1440
1440
  **/
1441
- NameTooLong: GenericPalletError<Rv>;
1441
+ NameTooLong: GenericPalletError;
1442
1442
 
1443
1443
  /**
1444
1444
  * Generic pallet error
1445
1445
  **/
1446
- [error: string]: GenericPalletError<Rv>;
1446
+ [error: string]: GenericPalletError;
1447
1447
  };
1448
1448
  /**
1449
1449
  * Pallet `Duster`'s errors
@@ -1452,37 +1452,37 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1452
1452
  /**
1453
1453
  * Account is excluded from dusting.
1454
1454
  **/
1455
- AccountWhitelisted: GenericPalletError<Rv>;
1455
+ AccountWhitelisted: GenericPalletError;
1456
1456
 
1457
1457
  /**
1458
1458
  * Account is not present in the non-dustable list.
1459
1459
  **/
1460
- AccountNotWhitelisted: GenericPalletError<Rv>;
1460
+ AccountNotWhitelisted: GenericPalletError;
1461
1461
 
1462
1462
  /**
1463
1463
  * The balance is zero.
1464
1464
  **/
1465
- ZeroBalance: GenericPalletError<Rv>;
1465
+ ZeroBalance: GenericPalletError;
1466
1466
 
1467
1467
  /**
1468
1468
  * The balance was not fully dusted, there is some leftover on the account. Normally, it should never happen.
1469
1469
  **/
1470
- NonZeroBalance: GenericPalletError<Rv>;
1470
+ NonZeroBalance: GenericPalletError;
1471
1471
 
1472
1472
  /**
1473
1473
  * The balance is sufficient to keep account open.
1474
1474
  **/
1475
- BalanceSufficient: GenericPalletError<Rv>;
1475
+ BalanceSufficient: GenericPalletError;
1476
1476
 
1477
1477
  /**
1478
1478
  * Reserve account is not set.
1479
1479
  **/
1480
- ReserveAccountNotSet: GenericPalletError<Rv>;
1480
+ ReserveAccountNotSet: GenericPalletError;
1481
1481
 
1482
1482
  /**
1483
1483
  * Generic pallet error
1484
1484
  **/
1485
- [error: string]: GenericPalletError<Rv>;
1485
+ [error: string]: GenericPalletError;
1486
1486
  };
1487
1487
  /**
1488
1488
  * Pallet `OmnipoolWarehouseLM`'s errors
@@ -1491,154 +1491,154 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1491
1491
  /**
1492
1492
  * Global farm does not exist.
1493
1493
  **/
1494
- GlobalFarmNotFound: GenericPalletError<Rv>;
1494
+ GlobalFarmNotFound: GenericPalletError;
1495
1495
 
1496
1496
  /**
1497
1497
  * Yield farm does not exist.
1498
1498
  **/
1499
- YieldFarmNotFound: GenericPalletError<Rv>;
1499
+ YieldFarmNotFound: GenericPalletError;
1500
1500
 
1501
1501
  /**
1502
1502
  * Multiple claims in the same period is not allowed.
1503
1503
  **/
1504
- DoubleClaimInPeriod: GenericPalletError<Rv>;
1504
+ DoubleClaimInPeriod: GenericPalletError;
1505
1505
 
1506
1506
  /**
1507
1507
  * Liquidity mining is canceled.
1508
1508
  **/
1509
- LiquidityMiningCanceled: GenericPalletError<Rv>;
1509
+ LiquidityMiningCanceled: GenericPalletError;
1510
1510
 
1511
1511
  /**
1512
1512
  * Liquidity mining is not canceled.
1513
1513
  **/
1514
- LiquidityMiningIsActive: GenericPalletError<Rv>;
1514
+ LiquidityMiningIsActive: GenericPalletError;
1515
1515
 
1516
1516
  /**
1517
1517
  * Liquidity mining is in `active` or `terminated` state and action cannot be completed.
1518
1518
  **/
1519
- LiquidityMiningIsNotStopped: GenericPalletError<Rv>;
1519
+ LiquidityMiningIsNotStopped: GenericPalletError;
1520
1520
 
1521
1521
  /**
1522
1522
  * Account is not allowed to perform action.
1523
1523
  **/
1524
- Forbidden: GenericPalletError<Rv>;
1524
+ Forbidden: GenericPalletError;
1525
1525
 
1526
1526
  /**
1527
1527
  * Yield farm multiplier can't be 0.
1528
1528
  **/
1529
- InvalidMultiplier: GenericPalletError<Rv>;
1529
+ InvalidMultiplier: GenericPalletError;
1530
1530
 
1531
1531
  /**
1532
1532
  * Yield farm with given `amm_pool_id` already exists in global farm.
1533
1533
  **/
1534
- YieldFarmAlreadyExists: GenericPalletError<Rv>;
1534
+ YieldFarmAlreadyExists: GenericPalletError;
1535
1535
 
1536
1536
  /**
1537
1537
  * Loyalty curve's initial reward percentage is not valid. Valid range is: [0, 1).
1538
1538
  **/
1539
- InvalidInitialRewardPercentage: GenericPalletError<Rv>;
1539
+ InvalidInitialRewardPercentage: GenericPalletError;
1540
1540
 
1541
1541
  /**
1542
1542
  * One or more yield farms exist in global farm.
1543
1543
  **/
1544
- GlobalFarmIsNotEmpty: GenericPalletError<Rv>;
1544
+ GlobalFarmIsNotEmpty: GenericPalletError;
1545
1545
 
1546
1546
  /**
1547
1547
  * Farm's `incentivized_asset` is missing in provided asset pair.
1548
1548
  **/
1549
- MissingIncentivizedAsset: GenericPalletError<Rv>;
1549
+ MissingIncentivizedAsset: GenericPalletError;
1550
1550
 
1551
1551
  /**
1552
1552
  * Reward currency balance is not sufficient.
1553
1553
  **/
1554
- InsufficientRewardCurrencyBalance: GenericPalletError<Rv>;
1554
+ InsufficientRewardCurrencyBalance: GenericPalletError;
1555
1555
 
1556
1556
  /**
1557
1557
  * Blocks per period can't be 0.
1558
1558
  **/
1559
- InvalidBlocksPerPeriod: GenericPalletError<Rv>;
1559
+ InvalidBlocksPerPeriod: GenericPalletError;
1560
1560
 
1561
1561
  /**
1562
1562
  * Yield per period can't be 0.
1563
1563
  **/
1564
- InvalidYieldPerPeriod: GenericPalletError<Rv>;
1564
+ InvalidYieldPerPeriod: GenericPalletError;
1565
1565
 
1566
1566
  /**
1567
1567
  * Total rewards is less than `MinTotalFarmRewards`.
1568
1568
  **/
1569
- InvalidTotalRewards: GenericPalletError<Rv>;
1569
+ InvalidTotalRewards: GenericPalletError;
1570
1570
 
1571
1571
  /**
1572
1572
  * Planned yielding periods is less than `MinPlannedYieldingPeriods`.
1573
1573
  **/
1574
- InvalidPlannedYieldingPeriods: GenericPalletError<Rv>;
1574
+ InvalidPlannedYieldingPeriods: GenericPalletError;
1575
1575
 
1576
1576
  /**
1577
1577
  * Maximum number of locks reached for deposit.
1578
1578
  **/
1579
- MaxEntriesPerDeposit: GenericPalletError<Rv>;
1579
+ MaxEntriesPerDeposit: GenericPalletError;
1580
1580
 
1581
1581
  /**
1582
1582
  * Trying to lock LP shares into already locked yield farm.
1583
1583
  **/
1584
- DoubleLock: GenericPalletError<Rv>;
1584
+ DoubleLock: GenericPalletError;
1585
1585
 
1586
1586
  /**
1587
1587
  * Yield farm entry doesn't exist for given deposit.
1588
1588
  **/
1589
- YieldFarmEntryNotFound: GenericPalletError<Rv>;
1589
+ YieldFarmEntryNotFound: GenericPalletError;
1590
1590
 
1591
1591
  /**
1592
1592
  * Max number of yield farms in global farm was reached. Global farm can't accept new
1593
1593
  * yield farms until some yield farm is not removed from storage.
1594
1594
  **/
1595
- GlobalFarmIsFull: GenericPalletError<Rv>;
1595
+ GlobalFarmIsFull: GenericPalletError;
1596
1596
 
1597
1597
  /**
1598
1598
  * Invalid min. deposit was set for global farm.
1599
1599
  **/
1600
- InvalidMinDeposit: GenericPalletError<Rv>;
1600
+ InvalidMinDeposit: GenericPalletError;
1601
1601
 
1602
1602
  /**
1603
1603
  * Price adjustment multiplier can't be 0.
1604
1604
  **/
1605
- InvalidPriceAdjustment: GenericPalletError<Rv>;
1605
+ InvalidPriceAdjustment: GenericPalletError;
1606
1606
 
1607
1607
  /**
1608
1608
  * Account creation from id failed.
1609
1609
  **/
1610
- ErrorGetAccountId: GenericPalletError<Rv>;
1610
+ ErrorGetAccountId: GenericPalletError;
1611
1611
 
1612
1612
  /**
1613
1613
  * Value of deposited shares amount in reward currency is bellow min. limit.
1614
1614
  **/
1615
- IncorrectValuedShares: GenericPalletError<Rv>;
1615
+ IncorrectValuedShares: GenericPalletError;
1616
1616
 
1617
1617
  /**
1618
1618
  * `reward_currency` is not registered in asset registry.
1619
1619
  **/
1620
- RewardCurrencyNotRegistered: GenericPalletError<Rv>;
1620
+ RewardCurrencyNotRegistered: GenericPalletError;
1621
1621
 
1622
1622
  /**
1623
1623
  * `incentivized_asset` is not registered in asset registry.
1624
1624
  **/
1625
- IncentivizedAssetNotRegistered: GenericPalletError<Rv>;
1625
+ IncentivizedAssetNotRegistered: GenericPalletError;
1626
1626
 
1627
1627
  /**
1628
1628
  * Provided `amm_pool_id` doesn't match deposit's `amm_pool_id`.
1629
1629
  **/
1630
- AmmPoolIdMismatch: GenericPalletError<Rv>;
1630
+ AmmPoolIdMismatch: GenericPalletError;
1631
1631
 
1632
1632
  /**
1633
1633
  * Action cannot be completed because unexpected error has occurred. This should be reported
1634
1634
  * to protocol maintainers.
1635
1635
  **/
1636
- InconsistentState: GenericPalletError<Rv>;
1636
+ InconsistentState: GenericPalletError;
1637
1637
 
1638
1638
  /**
1639
1639
  * Generic pallet error
1640
1640
  **/
1641
- [error: string]: GenericPalletError<Rv>;
1641
+ [error: string]: GenericPalletError;
1642
1642
  };
1643
1643
  /**
1644
1644
  * Pallet `OmnipoolLiquidityMining`'s errors
@@ -1647,43 +1647,43 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1647
1647
  /**
1648
1648
  * Asset is not in the omnipool.
1649
1649
  **/
1650
- AssetNotFound: GenericPalletError<Rv>;
1650
+ AssetNotFound: GenericPalletError;
1651
1651
 
1652
1652
  /**
1653
1653
  * Signed account is not owner of the deposit.
1654
1654
  **/
1655
- Forbidden: GenericPalletError<Rv>;
1655
+ Forbidden: GenericPalletError;
1656
1656
 
1657
1657
  /**
1658
1658
  * Rewards to claim are 0.
1659
1659
  **/
1660
- ZeroClaimedRewards: GenericPalletError<Rv>;
1660
+ ZeroClaimedRewards: GenericPalletError;
1661
1661
 
1662
1662
  /**
1663
1663
  * Action cannot be completed because unexpected error has occurred. This should be reported
1664
1664
  * to protocol maintainers.
1665
1665
  **/
1666
- InconsistentState: GenericPalletError<Rv>;
1666
+ InconsistentState: GenericPalletError;
1667
1667
 
1668
1668
  /**
1669
1669
  * Oracle could not be found for requested assets.
1670
1670
  **/
1671
- OracleNotAvailable: GenericPalletError<Rv>;
1671
+ OracleNotAvailable: GenericPalletError;
1672
1672
 
1673
1673
  /**
1674
1674
  * Oracle providing `price_adjustment` could not be found for requested assets.
1675
1675
  **/
1676
- PriceAdjustmentNotAvailable: GenericPalletError<Rv>;
1676
+ PriceAdjustmentNotAvailable: GenericPalletError;
1677
1677
 
1678
1678
  /**
1679
1679
  * No farms specified to join
1680
1680
  **/
1681
- NoFarmEntriesSpecified: GenericPalletError<Rv>;
1681
+ NoFarmEntriesSpecified: GenericPalletError;
1682
1682
 
1683
1683
  /**
1684
1684
  * Generic pallet error
1685
1685
  **/
1686
- [error: string]: GenericPalletError<Rv>;
1686
+ [error: string]: GenericPalletError;
1687
1687
  };
1688
1688
  /**
1689
1689
  * Pallet `OTC`'s errors
@@ -1692,49 +1692,49 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1692
1692
  /**
1693
1693
  * Asset does not exist in registry
1694
1694
  **/
1695
- AssetNotRegistered: GenericPalletError<Rv>;
1695
+ AssetNotRegistered: GenericPalletError;
1696
1696
 
1697
1697
  /**
1698
1698
  * Order cannot be found
1699
1699
  **/
1700
- OrderNotFound: GenericPalletError<Rv>;
1700
+ OrderNotFound: GenericPalletError;
1701
1701
 
1702
1702
  /**
1703
1703
  * Size of order ID exceeds the bound
1704
1704
  **/
1705
- OrderIdOutOfBound: GenericPalletError<Rv>;
1705
+ OrderIdOutOfBound: GenericPalletError;
1706
1706
 
1707
1707
  /**
1708
1708
  * Cannot partially fill an order which is not partially fillable
1709
1709
  **/
1710
- OrderNotPartiallyFillable: GenericPalletError<Rv>;
1710
+ OrderNotPartiallyFillable: GenericPalletError;
1711
1711
 
1712
1712
  /**
1713
1713
  * Order amount_in and amount_out must at all times be greater than the existential deposit
1714
1714
  * for the asset multiplied by the ExistentialDepositMultiplier.
1715
1715
  * A fill order may not leave behind amounts smaller than this.
1716
1716
  **/
1717
- OrderAmountTooSmall: GenericPalletError<Rv>;
1717
+ OrderAmountTooSmall: GenericPalletError;
1718
1718
 
1719
1719
  /**
1720
1720
  * Error with math calculations
1721
1721
  **/
1722
- MathError: GenericPalletError<Rv>;
1722
+ MathError: GenericPalletError;
1723
1723
 
1724
1724
  /**
1725
1725
  * The caller does not have permission to complete the action
1726
1726
  **/
1727
- Forbidden: GenericPalletError<Rv>;
1727
+ Forbidden: GenericPalletError;
1728
1728
 
1729
1729
  /**
1730
1730
  * Reserved amount not sufficient.
1731
1731
  **/
1732
- InsufficientReservedAmount: GenericPalletError<Rv>;
1732
+ InsufficientReservedAmount: GenericPalletError;
1733
1733
 
1734
1734
  /**
1735
1735
  * Generic pallet error
1736
1736
  **/
1737
- [error: string]: GenericPalletError<Rv>;
1737
+ [error: string]: GenericPalletError;
1738
1738
  };
1739
1739
  /**
1740
1740
  * Pallet `CircuitBreaker`'s errors
@@ -1743,54 +1743,54 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1743
1743
  /**
1744
1744
  * Invalid value for a limit. Limit must be non-zero.
1745
1745
  **/
1746
- InvalidLimitValue: GenericPalletError<Rv>;
1746
+ InvalidLimitValue: GenericPalletError;
1747
1747
 
1748
1748
  /**
1749
1749
  * Allowed liquidity limit is not stored for asset
1750
1750
  **/
1751
- LiquidityLimitNotStoredForAsset: GenericPalletError<Rv>;
1751
+ LiquidityLimitNotStoredForAsset: GenericPalletError;
1752
1752
 
1753
1753
  /**
1754
1754
  * Token trade outflow per block has been reached
1755
1755
  **/
1756
- TokenOutflowLimitReached: GenericPalletError<Rv>;
1756
+ TokenOutflowLimitReached: GenericPalletError;
1757
1757
 
1758
1758
  /**
1759
1759
  * Token trade influx per block has been reached
1760
1760
  **/
1761
- TokenInfluxLimitReached: GenericPalletError<Rv>;
1761
+ TokenInfluxLimitReached: GenericPalletError;
1762
1762
 
1763
1763
  /**
1764
1764
  * Maximum pool's liquidity limit per block has been reached
1765
1765
  **/
1766
- MaxLiquidityLimitPerBlockReached: GenericPalletError<Rv>;
1766
+ MaxLiquidityLimitPerBlockReached: GenericPalletError;
1767
1767
 
1768
1768
  /**
1769
1769
  * Asset is not allowed to have a limit
1770
1770
  **/
1771
- NotAllowed: GenericPalletError<Rv>;
1771
+ NotAllowed: GenericPalletError;
1772
1772
 
1773
1773
  /**
1774
1774
  * Asset still in lockdown as it reached the allowed deposit limit for the period
1775
1775
  * Query the `asset_lockdown_state` storage to determine until which block the asset is locked,
1776
1776
  * so that the deposit can be released afterward.
1777
1777
  **/
1778
- AssetInLockdown: GenericPalletError<Rv>;
1778
+ AssetInLockdown: GenericPalletError;
1779
1779
 
1780
1780
  /**
1781
1781
  * Asset is not in a lockdown
1782
1782
  **/
1783
- AssetNotInLockdown: GenericPalletError<Rv>;
1783
+ AssetNotInLockdown: GenericPalletError;
1784
1784
 
1785
1785
  /**
1786
1786
  * Invalid amount to save deposit
1787
1787
  **/
1788
- InvalidAmount: GenericPalletError<Rv>;
1788
+ InvalidAmount: GenericPalletError;
1789
1789
 
1790
1790
  /**
1791
1791
  * Generic pallet error
1792
1792
  **/
1793
- [error: string]: GenericPalletError<Rv>;
1793
+ [error: string]: GenericPalletError;
1794
1794
  };
1795
1795
  /**
1796
1796
  * Pallet `Router`'s errors
@@ -1799,57 +1799,57 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1799
1799
  /**
1800
1800
  * The trading limit has been reached
1801
1801
  **/
1802
- TradingLimitReached: GenericPalletError<Rv>;
1802
+ TradingLimitReached: GenericPalletError;
1803
1803
 
1804
1804
  /**
1805
1805
  * The the max number of trades limit is reached
1806
1806
  **/
1807
- MaxTradesExceeded: GenericPalletError<Rv>;
1807
+ MaxTradesExceeded: GenericPalletError;
1808
1808
 
1809
1809
  /**
1810
1810
  * The AMM pool is not supported for executing trades
1811
1811
  **/
1812
- PoolNotSupported: GenericPalletError<Rv>;
1812
+ PoolNotSupported: GenericPalletError;
1813
1813
 
1814
1814
  /**
1815
1815
  * The user has not enough balance to execute the trade
1816
1816
  **/
1817
- InsufficientBalance: GenericPalletError<Rv>;
1817
+ InsufficientBalance: GenericPalletError;
1818
1818
 
1819
1819
  /**
1820
1820
  * The calculation of route trade amounts failed in the underlying AMM
1821
1821
  **/
1822
- RouteCalculationFailed: GenericPalletError<Rv>;
1822
+ RouteCalculationFailed: GenericPalletError;
1823
1823
 
1824
1824
  /**
1825
1825
  * The route is invalid
1826
1826
  **/
1827
- InvalidRoute: GenericPalletError<Rv>;
1827
+ InvalidRoute: GenericPalletError;
1828
1828
 
1829
1829
  /**
1830
1830
  * The route update was not successful
1831
1831
  **/
1832
- RouteUpdateIsNotSuccessful: GenericPalletError<Rv>;
1832
+ RouteUpdateIsNotSuccessful: GenericPalletError;
1833
1833
 
1834
1834
  /**
1835
1835
  * Route contains assets that has no oracle data
1836
1836
  **/
1837
- RouteHasNoOracle: GenericPalletError<Rv>;
1837
+ RouteHasNoOracle: GenericPalletError;
1838
1838
 
1839
1839
  /**
1840
1840
  * The route execution failed in the underlying AMM
1841
1841
  **/
1842
- InvalidRouteExecution: GenericPalletError<Rv>;
1842
+ InvalidRouteExecution: GenericPalletError;
1843
1843
 
1844
1844
  /**
1845
1845
  * Trading same assets is not allowed.
1846
1846
  **/
1847
- NotAllowed: GenericPalletError<Rv>;
1847
+ NotAllowed: GenericPalletError;
1848
1848
 
1849
1849
  /**
1850
1850
  * Generic pallet error
1851
1851
  **/
1852
- [error: string]: GenericPalletError<Rv>;
1852
+ [error: string]: GenericPalletError;
1853
1853
  };
1854
1854
  /**
1855
1855
  * Pallet `DynamicFees`'s errors
@@ -1858,12 +1858,12 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1858
1858
  /**
1859
1859
  * Invalid fee parameters provided
1860
1860
  **/
1861
- InvalidFeeParameters: GenericPalletError<Rv>;
1861
+ InvalidFeeParameters: GenericPalletError;
1862
1862
 
1863
1863
  /**
1864
1864
  * Generic pallet error
1865
1865
  **/
1866
- [error: string]: GenericPalletError<Rv>;
1866
+ [error: string]: GenericPalletError;
1867
1867
  };
1868
1868
  /**
1869
1869
  * Pallet `Staking`'s errors
@@ -1872,73 +1872,73 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1872
1872
  /**
1873
1873
  * Balance is too low.
1874
1874
  **/
1875
- InsufficientBalance: GenericPalletError<Rv>;
1875
+ InsufficientBalance: GenericPalletError;
1876
1876
 
1877
1877
  /**
1878
1878
  * Staked amount is too low.
1879
1879
  **/
1880
- InsufficientStake: GenericPalletError<Rv>;
1880
+ InsufficientStake: GenericPalletError;
1881
1881
 
1882
1882
  /**
1883
1883
  * Staking position has not been found.
1884
1884
  **/
1885
- PositionNotFound: GenericPalletError<Rv>;
1885
+ PositionNotFound: GenericPalletError;
1886
1886
 
1887
1887
  /**
1888
1888
  * Maximum amount of votes were reached for staking position.
1889
1889
  **/
1890
- MaxVotesReached: GenericPalletError<Rv>;
1890
+ MaxVotesReached: GenericPalletError;
1891
1891
 
1892
1892
  /**
1893
1893
  * Staking is not initialized.
1894
1894
  **/
1895
- NotInitialized: GenericPalletError<Rv>;
1895
+ NotInitialized: GenericPalletError;
1896
1896
 
1897
1897
  /**
1898
1898
  * Staking is already initialized.
1899
1899
  **/
1900
- AlreadyInitialized: GenericPalletError<Rv>;
1900
+ AlreadyInitialized: GenericPalletError;
1901
1901
 
1902
1902
  /**
1903
1903
  * Arithmetic error.
1904
1904
  **/
1905
- Arithmetic: GenericPalletError<Rv>;
1905
+ Arithmetic: GenericPalletError;
1906
1906
 
1907
1907
  /**
1908
1908
  * Pot's balance is zero.
1909
1909
  **/
1910
- MissingPotBalance: GenericPalletError<Rv>;
1910
+ MissingPotBalance: GenericPalletError;
1911
1911
 
1912
1912
  /**
1913
1913
  * Account's position already exists.
1914
1914
  **/
1915
- PositionAlreadyExists: GenericPalletError<Rv>;
1915
+ PositionAlreadyExists: GenericPalletError;
1916
1916
 
1917
1917
  /**
1918
1918
  * Signer is not an owner of the staking position.
1919
1919
  **/
1920
- Forbidden: GenericPalletError<Rv>;
1920
+ Forbidden: GenericPalletError;
1921
1921
 
1922
1922
  /**
1923
1923
  * Position contains registered votes.
1924
1924
  **/
1925
- ExistingVotes: GenericPalletError<Rv>;
1925
+ ExistingVotes: GenericPalletError;
1926
1926
 
1927
1927
  /**
1928
1928
  * Position contains processed votes. Removed these votes first before increasing stake or claiming.
1929
1929
  **/
1930
- ExistingProcessedVotes: GenericPalletError<Rv>;
1930
+ ExistingProcessedVotes: GenericPalletError;
1931
1931
 
1932
1932
  /**
1933
1933
  * Action cannot be completed because unexpected error has occurred. This should be reported
1934
1934
  * to protocol maintainers.
1935
1935
  **/
1936
- InconsistentState: GenericPalletError<Rv>;
1936
+ InconsistentState: GenericPalletError;
1937
1937
 
1938
1938
  /**
1939
1939
  * Generic pallet error
1940
1940
  **/
1941
- [error: string]: GenericPalletError<Rv>;
1941
+ [error: string]: GenericPalletError;
1942
1942
  };
1943
1943
  /**
1944
1944
  * Pallet `Stableswap`'s errors
@@ -1947,147 +1947,147 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1947
1947
  /**
1948
1948
  * Creating a pool with same assets or less than 2 assets is not allowed.
1949
1949
  **/
1950
- IncorrectAssets: GenericPalletError<Rv>;
1950
+ IncorrectAssets: GenericPalletError;
1951
1951
 
1952
1952
  /**
1953
1953
  * Maximum number of assets has been exceeded.
1954
1954
  **/
1955
- MaxAssetsExceeded: GenericPalletError<Rv>;
1955
+ MaxAssetsExceeded: GenericPalletError;
1956
1956
 
1957
1957
  /**
1958
1958
  * A pool with given assets does not exist.
1959
1959
  **/
1960
- PoolNotFound: GenericPalletError<Rv>;
1960
+ PoolNotFound: GenericPalletError;
1961
1961
 
1962
1962
  /**
1963
1963
  * A pool with given assets already exists.
1964
1964
  **/
1965
- PoolExists: GenericPalletError<Rv>;
1965
+ PoolExists: GenericPalletError;
1966
1966
 
1967
1967
  /**
1968
1968
  * Asset is not in the pool.
1969
1969
  **/
1970
- AssetNotInPool: GenericPalletError<Rv>;
1970
+ AssetNotInPool: GenericPalletError;
1971
1971
 
1972
1972
  /**
1973
1973
  * Share asset is not registered in Registry.
1974
1974
  **/
1975
- ShareAssetNotRegistered: GenericPalletError<Rv>;
1975
+ ShareAssetNotRegistered: GenericPalletError;
1976
1976
 
1977
1977
  /**
1978
1978
  * Share asset is amount assets when creating a pool.
1979
1979
  **/
1980
- ShareAssetInPoolAssets: GenericPalletError<Rv>;
1980
+ ShareAssetInPoolAssets: GenericPalletError;
1981
1981
 
1982
1982
  /**
1983
1983
  * One or more assets are not registered in AssetRegistry
1984
1984
  **/
1985
- AssetNotRegistered: GenericPalletError<Rv>;
1985
+ AssetNotRegistered: GenericPalletError;
1986
1986
 
1987
1987
  /**
1988
1988
  * Invalid asset amount provided. Amount must be greater than zero.
1989
1989
  **/
1990
- InvalidAssetAmount: GenericPalletError<Rv>;
1990
+ InvalidAssetAmount: GenericPalletError;
1991
1991
 
1992
1992
  /**
1993
1993
  * Balance of an asset is not sufficient to perform a trade.
1994
1994
  **/
1995
- InsufficientBalance: GenericPalletError<Rv>;
1995
+ InsufficientBalance: GenericPalletError;
1996
1996
 
1997
1997
  /**
1998
1998
  * Balance of a share asset is not sufficient to withdraw liquidity.
1999
1999
  **/
2000
- InsufficientShares: GenericPalletError<Rv>;
2000
+ InsufficientShares: GenericPalletError;
2001
2001
 
2002
2002
  /**
2003
2003
  * Liquidity has not reached the required minimum.
2004
2004
  **/
2005
- InsufficientLiquidity: GenericPalletError<Rv>;
2005
+ InsufficientLiquidity: GenericPalletError;
2006
2006
 
2007
2007
  /**
2008
2008
  * Insufficient liquidity left in the pool after withdrawal.
2009
2009
  **/
2010
- InsufficientLiquidityRemaining: GenericPalletError<Rv>;
2010
+ InsufficientLiquidityRemaining: GenericPalletError;
2011
2011
 
2012
2012
  /**
2013
2013
  * Amount is less than the minimum trading amount configured.
2014
2014
  **/
2015
- InsufficientTradingAmount: GenericPalletError<Rv>;
2015
+ InsufficientTradingAmount: GenericPalletError;
2016
2016
 
2017
2017
  /**
2018
2018
  * Minimum limit has not been reached during trade.
2019
2019
  **/
2020
- BuyLimitNotReached: GenericPalletError<Rv>;
2020
+ BuyLimitNotReached: GenericPalletError;
2021
2021
 
2022
2022
  /**
2023
2023
  * Maximum limit has been exceeded during trade.
2024
2024
  **/
2025
- SellLimitExceeded: GenericPalletError<Rv>;
2025
+ SellLimitExceeded: GenericPalletError;
2026
2026
 
2027
2027
  /**
2028
2028
  * Initial liquidity of asset must be > 0.
2029
2029
  **/
2030
- InvalidInitialLiquidity: GenericPalletError<Rv>;
2030
+ InvalidInitialLiquidity: GenericPalletError;
2031
2031
 
2032
2032
  /**
2033
2033
  * Amplification is outside configured range.
2034
2034
  **/
2035
- InvalidAmplification: GenericPalletError<Rv>;
2035
+ InvalidAmplification: GenericPalletError;
2036
2036
 
2037
2037
  /**
2038
2038
  * Remaining balance of share asset is below asset's existential deposit.
2039
2039
  **/
2040
- InsufficientShareBalance: GenericPalletError<Rv>;
2040
+ InsufficientShareBalance: GenericPalletError;
2041
2041
 
2042
2042
  /**
2043
2043
  * Not allowed to perform an operation on given asset.
2044
2044
  **/
2045
- NotAllowed: GenericPalletError<Rv>;
2045
+ NotAllowed: GenericPalletError;
2046
2046
 
2047
2047
  /**
2048
2048
  * Future block number is in the past.
2049
2049
  **/
2050
- PastBlock: GenericPalletError<Rv>;
2050
+ PastBlock: GenericPalletError;
2051
2051
 
2052
2052
  /**
2053
2053
  * New amplification is equal to the previous value.
2054
2054
  **/
2055
- SameAmplification: GenericPalletError<Rv>;
2055
+ SameAmplification: GenericPalletError;
2056
2056
 
2057
2057
  /**
2058
2058
  * Slippage protection.
2059
2059
  **/
2060
- SlippageLimit: GenericPalletError<Rv>;
2060
+ SlippageLimit: GenericPalletError;
2061
2061
 
2062
2062
  /**
2063
2063
  * Failed to retrieve asset decimals.
2064
2064
  **/
2065
- UnknownDecimals: GenericPalletError<Rv>;
2065
+ UnknownDecimals: GenericPalletError;
2066
2066
 
2067
2067
  /**
2068
2068
  * List of provided pegs is incorrect.
2069
2069
  **/
2070
- IncorrectInitialPegs: GenericPalletError<Rv>;
2070
+ IncorrectInitialPegs: GenericPalletError;
2071
2071
 
2072
2072
  /**
2073
2073
  * Failed to retrieve oracle entry.
2074
2074
  **/
2075
- MissingTargetPegOracle: GenericPalletError<Rv>;
2075
+ MissingTargetPegOracle: GenericPalletError;
2076
2076
 
2077
2077
  /**
2078
2078
  * Creating pool with pegs is not allowed for asset with different decimals.
2079
2079
  **/
2080
- IncorrectAssetDecimals: GenericPalletError<Rv>;
2080
+ IncorrectAssetDecimals: GenericPalletError;
2081
2081
 
2082
2082
  /**
2083
2083
  * Pool does not have pegs configured.
2084
2084
  **/
2085
- NoPegSource: GenericPalletError<Rv>;
2085
+ NoPegSource: GenericPalletError;
2086
2086
 
2087
2087
  /**
2088
2088
  * Generic pallet error
2089
2089
  **/
2090
- [error: string]: GenericPalletError<Rv>;
2090
+ [error: string]: GenericPalletError;
2091
2091
  };
2092
2092
  /**
2093
2093
  * Pallet `Bonds`'s errors
@@ -2096,42 +2096,42 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2096
2096
  /**
2097
2097
  * Bond not registered
2098
2098
  **/
2099
- NotRegistered: GenericPalletError<Rv>;
2099
+ NotRegistered: GenericPalletError;
2100
2100
 
2101
2101
  /**
2102
2102
  * Bond is not mature
2103
2103
  **/
2104
- NotMature: GenericPalletError<Rv>;
2104
+ NotMature: GenericPalletError;
2105
2105
 
2106
2106
  /**
2107
2107
  * Maturity not long enough
2108
2108
  **/
2109
- InvalidMaturity: GenericPalletError<Rv>;
2109
+ InvalidMaturity: GenericPalletError;
2110
2110
 
2111
2111
  /**
2112
2112
  * Asset type not allowed for underlying asset
2113
2113
  **/
2114
- DisallowedAsset: GenericPalletError<Rv>;
2114
+ DisallowedAsset: GenericPalletError;
2115
2115
 
2116
2116
  /**
2117
2117
  * Asset is not registered in `AssetRegistry`
2118
2118
  **/
2119
- AssetNotFound: GenericPalletError<Rv>;
2119
+ AssetNotFound: GenericPalletError;
2120
2120
 
2121
2121
  /**
2122
2122
  * Generated name is not valid.
2123
2123
  **/
2124
- InvalidBondName: GenericPalletError<Rv>;
2124
+ InvalidBondName: GenericPalletError;
2125
2125
 
2126
2126
  /**
2127
2127
  * Bond's name parsing was now successful
2128
2128
  **/
2129
- FailToParseName: GenericPalletError<Rv>;
2129
+ FailToParseName: GenericPalletError;
2130
2130
 
2131
2131
  /**
2132
2132
  * Generic pallet error
2133
2133
  **/
2134
- [error: string]: GenericPalletError<Rv>;
2134
+ [error: string]: GenericPalletError;
2135
2135
  };
2136
2136
  /**
2137
2137
  * Pallet `OtcSettlements`'s errors
@@ -2140,42 +2140,42 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2140
2140
  /**
2141
2141
  * Otc order not found
2142
2142
  **/
2143
- OrderNotFound: GenericPalletError<Rv>;
2143
+ OrderNotFound: GenericPalletError;
2144
2144
 
2145
2145
  /**
2146
2146
  * OTC order is not partially fillable
2147
2147
  **/
2148
- NotPartiallyFillable: GenericPalletError<Rv>;
2148
+ NotPartiallyFillable: GenericPalletError;
2149
2149
 
2150
2150
  /**
2151
2151
  * Provided route doesn't match the existing route
2152
2152
  **/
2153
- InvalidRoute: GenericPalletError<Rv>;
2153
+ InvalidRoute: GenericPalletError;
2154
2154
 
2155
2155
  /**
2156
2156
  * Initial and final balance are different
2157
2157
  **/
2158
- BalanceInconsistency: GenericPalletError<Rv>;
2158
+ BalanceInconsistency: GenericPalletError;
2159
2159
 
2160
2160
  /**
2161
2161
  * Trade amount higher than necessary
2162
2162
  **/
2163
- TradeAmountTooHigh: GenericPalletError<Rv>;
2163
+ TradeAmountTooHigh: GenericPalletError;
2164
2164
 
2165
2165
  /**
2166
2166
  * Trade amount lower than necessary
2167
2167
  **/
2168
- TradeAmountTooLow: GenericPalletError<Rv>;
2168
+ TradeAmountTooLow: GenericPalletError;
2169
2169
 
2170
2170
  /**
2171
2171
  * Price for a route is not available
2172
2172
  **/
2173
- PriceNotAvailable: GenericPalletError<Rv>;
2173
+ PriceNotAvailable: GenericPalletError;
2174
2174
 
2175
2175
  /**
2176
2176
  * Generic pallet error
2177
2177
  **/
2178
- [error: string]: GenericPalletError<Rv>;
2178
+ [error: string]: GenericPalletError;
2179
2179
  };
2180
2180
  /**
2181
2181
  * Pallet `LBP`'s errors
@@ -2184,122 +2184,122 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2184
2184
  /**
2185
2185
  * Pool assets can not be the same
2186
2186
  **/
2187
- CannotCreatePoolWithSameAssets: GenericPalletError<Rv>;
2187
+ CannotCreatePoolWithSameAssets: GenericPalletError;
2188
2188
 
2189
2189
  /**
2190
2190
  * Account is not a pool owner
2191
2191
  **/
2192
- NotOwner: GenericPalletError<Rv>;
2192
+ NotOwner: GenericPalletError;
2193
2193
 
2194
2194
  /**
2195
2195
  * Sale already started
2196
2196
  **/
2197
- SaleStarted: GenericPalletError<Rv>;
2197
+ SaleStarted: GenericPalletError;
2198
2198
 
2199
2199
  /**
2200
2200
  * Sale is still in progress
2201
2201
  **/
2202
- SaleNotEnded: GenericPalletError<Rv>;
2202
+ SaleNotEnded: GenericPalletError;
2203
2203
 
2204
2204
  /**
2205
2205
  * Sale is not running
2206
2206
  **/
2207
- SaleIsNotRunning: GenericPalletError<Rv>;
2207
+ SaleIsNotRunning: GenericPalletError;
2208
2208
 
2209
2209
  /**
2210
2210
  * Sale duration is too long
2211
2211
  **/
2212
- MaxSaleDurationExceeded: GenericPalletError<Rv>;
2212
+ MaxSaleDurationExceeded: GenericPalletError;
2213
2213
 
2214
2214
  /**
2215
2215
  * Liquidity being added should not be zero
2216
2216
  **/
2217
- CannotAddZeroLiquidity: GenericPalletError<Rv>;
2217
+ CannotAddZeroLiquidity: GenericPalletError;
2218
2218
 
2219
2219
  /**
2220
2220
  * Asset balance too low
2221
2221
  **/
2222
- InsufficientAssetBalance: GenericPalletError<Rv>;
2222
+ InsufficientAssetBalance: GenericPalletError;
2223
2223
 
2224
2224
  /**
2225
2225
  * Pool does not exist
2226
2226
  **/
2227
- PoolNotFound: GenericPalletError<Rv>;
2227
+ PoolNotFound: GenericPalletError;
2228
2228
 
2229
2229
  /**
2230
2230
  * Pool has been already created
2231
2231
  **/
2232
- PoolAlreadyExists: GenericPalletError<Rv>;
2232
+ PoolAlreadyExists: GenericPalletError;
2233
2233
 
2234
2234
  /**
2235
2235
  * Invalid block range
2236
2236
  **/
2237
- InvalidBlockRange: GenericPalletError<Rv>;
2237
+ InvalidBlockRange: GenericPalletError;
2238
2238
 
2239
2239
  /**
2240
2240
  * Calculation error
2241
2241
  **/
2242
- WeightCalculationError: GenericPalletError<Rv>;
2242
+ WeightCalculationError: GenericPalletError;
2243
2243
 
2244
2244
  /**
2245
2245
  * Weight set is out of range
2246
2246
  **/
2247
- InvalidWeight: GenericPalletError<Rv>;
2247
+ InvalidWeight: GenericPalletError;
2248
2248
 
2249
2249
  /**
2250
2250
  * Can not perform a trade with zero amount
2251
2251
  **/
2252
- ZeroAmount: GenericPalletError<Rv>;
2252
+ ZeroAmount: GenericPalletError;
2253
2253
 
2254
2254
  /**
2255
2255
  * Trade amount is too high
2256
2256
  **/
2257
- MaxInRatioExceeded: GenericPalletError<Rv>;
2257
+ MaxInRatioExceeded: GenericPalletError;
2258
2258
 
2259
2259
  /**
2260
2260
  * Trade amount is too high
2261
2261
  **/
2262
- MaxOutRatioExceeded: GenericPalletError<Rv>;
2262
+ MaxOutRatioExceeded: GenericPalletError;
2263
2263
 
2264
2264
  /**
2265
2265
  * Invalid fee amount
2266
2266
  **/
2267
- FeeAmountInvalid: GenericPalletError<Rv>;
2267
+ FeeAmountInvalid: GenericPalletError;
2268
2268
 
2269
2269
  /**
2270
2270
  * Trading limit reached
2271
2271
  **/
2272
- TradingLimitReached: GenericPalletError<Rv>;
2272
+ TradingLimitReached: GenericPalletError;
2273
2273
 
2274
2274
  /**
2275
2275
  * An unexpected integer overflow occurred
2276
2276
  **/
2277
- Overflow: GenericPalletError<Rv>;
2277
+ Overflow: GenericPalletError;
2278
2278
 
2279
2279
  /**
2280
2280
  * Nothing to update
2281
2281
  **/
2282
- NothingToUpdate: GenericPalletError<Rv>;
2282
+ NothingToUpdate: GenericPalletError;
2283
2283
 
2284
2284
  /**
2285
2285
  * Liquidity has not reached the required minimum.
2286
2286
  **/
2287
- InsufficientLiquidity: GenericPalletError<Rv>;
2287
+ InsufficientLiquidity: GenericPalletError;
2288
2288
 
2289
2289
  /**
2290
2290
  * Amount is less than minimum trading limit.
2291
2291
  **/
2292
- InsufficientTradingAmount: GenericPalletError<Rv>;
2292
+ InsufficientTradingAmount: GenericPalletError;
2293
2293
 
2294
2294
  /**
2295
2295
  * Not more than one fee collector per asset id
2296
2296
  **/
2297
- FeeCollectorWithAssetAlreadyUsed: GenericPalletError<Rv>;
2297
+ FeeCollectorWithAssetAlreadyUsed: GenericPalletError;
2298
2298
 
2299
2299
  /**
2300
2300
  * Generic pallet error
2301
2301
  **/
2302
- [error: string]: GenericPalletError<Rv>;
2302
+ [error: string]: GenericPalletError;
2303
2303
  };
2304
2304
  /**
2305
2305
  * Pallet `XYK`'s errors
@@ -2308,139 +2308,139 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2308
2308
  /**
2309
2309
  * It is not allowed to create a pool between same assets.
2310
2310
  **/
2311
- CannotCreatePoolWithSameAssets: GenericPalletError<Rv>;
2311
+ CannotCreatePoolWithSameAssets: GenericPalletError;
2312
2312
 
2313
2313
  /**
2314
2314
  * Liquidity has not reached the required minimum.
2315
2315
  **/
2316
- InsufficientLiquidity: GenericPalletError<Rv>;
2316
+ InsufficientLiquidity: GenericPalletError;
2317
2317
 
2318
2318
  /**
2319
2319
  * Amount is less than min trading limit.
2320
2320
  **/
2321
- InsufficientTradingAmount: GenericPalletError<Rv>;
2321
+ InsufficientTradingAmount: GenericPalletError;
2322
2322
 
2323
2323
  /**
2324
2324
  * Liquidity is zero.
2325
2325
  **/
2326
- ZeroLiquidity: GenericPalletError<Rv>;
2326
+ ZeroLiquidity: GenericPalletError;
2327
2327
 
2328
2328
  /**
2329
2329
  * It is not allowed to create a pool with zero initial price.
2330
2330
  * Not used, kept for backward compatibility
2331
2331
  **/
2332
- ZeroInitialPrice: GenericPalletError<Rv>;
2332
+ ZeroInitialPrice: GenericPalletError;
2333
2333
 
2334
2334
  /**
2335
2335
  * Overflow
2336
2336
  * Not used, kept for backward compatibility
2337
2337
  **/
2338
- CreatePoolAssetAmountInvalid: GenericPalletError<Rv>;
2338
+ CreatePoolAssetAmountInvalid: GenericPalletError;
2339
2339
 
2340
2340
  /**
2341
2341
  * Overflow
2342
2342
  **/
2343
- InvalidMintedLiquidity: GenericPalletError<Rv>;
2343
+ InvalidMintedLiquidity: GenericPalletError;
2344
2344
 
2345
2345
  /**
2346
2346
  * Overflow
2347
2347
  **/
2348
- InvalidLiquidityAmount: GenericPalletError<Rv>;
2348
+ InvalidLiquidityAmount: GenericPalletError;
2349
2349
 
2350
2350
  /**
2351
2351
  * Asset amount has exceeded given limit.
2352
2352
  **/
2353
- AssetAmountExceededLimit: GenericPalletError<Rv>;
2353
+ AssetAmountExceededLimit: GenericPalletError;
2354
2354
 
2355
2355
  /**
2356
2356
  * Asset amount has not reached given limit.
2357
2357
  **/
2358
- AssetAmountNotReachedLimit: GenericPalletError<Rv>;
2358
+ AssetAmountNotReachedLimit: GenericPalletError;
2359
2359
 
2360
2360
  /**
2361
2361
  * Asset balance is not sufficient.
2362
2362
  **/
2363
- InsufficientAssetBalance: GenericPalletError<Rv>;
2363
+ InsufficientAssetBalance: GenericPalletError;
2364
2364
 
2365
2365
  /**
2366
2366
  * Not enough asset liquidity in the pool.
2367
2367
  **/
2368
- InsufficientPoolAssetBalance: GenericPalletError<Rv>;
2368
+ InsufficientPoolAssetBalance: GenericPalletError;
2369
2369
 
2370
2370
  /**
2371
2371
  * Not enough core asset liquidity in the pool.
2372
2372
  **/
2373
- InsufficientNativeCurrencyBalance: GenericPalletError<Rv>;
2373
+ InsufficientNativeCurrencyBalance: GenericPalletError;
2374
2374
 
2375
2375
  /**
2376
2376
  * Liquidity pool for given assets does not exist.
2377
2377
  **/
2378
- TokenPoolNotFound: GenericPalletError<Rv>;
2378
+ TokenPoolNotFound: GenericPalletError;
2379
2379
 
2380
2380
  /**
2381
2381
  * Liquidity pool for given assets already exists.
2382
2382
  **/
2383
- TokenPoolAlreadyExists: GenericPalletError<Rv>;
2383
+ TokenPoolAlreadyExists: GenericPalletError;
2384
2384
 
2385
2385
  /**
2386
2386
  * Overflow
2387
2387
  **/
2388
- AddAssetAmountInvalid: GenericPalletError<Rv>;
2388
+ AddAssetAmountInvalid: GenericPalletError;
2389
2389
 
2390
2390
  /**
2391
2391
  * Overflow
2392
2392
  **/
2393
- RemoveAssetAmountInvalid: GenericPalletError<Rv>;
2393
+ RemoveAssetAmountInvalid: GenericPalletError;
2394
2394
 
2395
2395
  /**
2396
2396
  * Overflow
2397
2397
  **/
2398
- SellAssetAmountInvalid: GenericPalletError<Rv>;
2398
+ SellAssetAmountInvalid: GenericPalletError;
2399
2399
 
2400
2400
  /**
2401
2401
  * Overflow
2402
2402
  **/
2403
- BuyAssetAmountInvalid: GenericPalletError<Rv>;
2403
+ BuyAssetAmountInvalid: GenericPalletError;
2404
2404
 
2405
2405
  /**
2406
2406
  * Overflow
2407
2407
  **/
2408
- FeeAmountInvalid: GenericPalletError<Rv>;
2408
+ FeeAmountInvalid: GenericPalletError;
2409
2409
 
2410
2410
  /**
2411
2411
  * Overflow
2412
2412
  **/
2413
- CannotApplyDiscount: GenericPalletError<Rv>;
2413
+ CannotApplyDiscount: GenericPalletError;
2414
2414
 
2415
2415
  /**
2416
2416
  * Max fraction of pool to buy in single transaction has been exceeded.
2417
2417
  **/
2418
- MaxOutRatioExceeded: GenericPalletError<Rv>;
2418
+ MaxOutRatioExceeded: GenericPalletError;
2419
2419
 
2420
2420
  /**
2421
2421
  * Max fraction of pool to sell in single transaction has been exceeded.
2422
2422
  **/
2423
- MaxInRatioExceeded: GenericPalletError<Rv>;
2423
+ MaxInRatioExceeded: GenericPalletError;
2424
2424
 
2425
2425
  /**
2426
2426
  * Overflow
2427
2427
  **/
2428
- Overflow: GenericPalletError<Rv>;
2428
+ Overflow: GenericPalletError;
2429
2429
 
2430
2430
  /**
2431
2431
  * Pool cannot be created due to outside factors.
2432
2432
  **/
2433
- CannotCreatePool: GenericPalletError<Rv>;
2433
+ CannotCreatePool: GenericPalletError;
2434
2434
 
2435
2435
  /**
2436
2436
  * Slippage protection.
2437
2437
  **/
2438
- SlippageLimit: GenericPalletError<Rv>;
2438
+ SlippageLimit: GenericPalletError;
2439
2439
 
2440
2440
  /**
2441
2441
  * Generic pallet error
2442
2442
  **/
2443
- [error: string]: GenericPalletError<Rv>;
2443
+ [error: string]: GenericPalletError;
2444
2444
  };
2445
2445
  /**
2446
2446
  * Pallet `Referrals`'s errors
@@ -2449,77 +2449,77 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2449
2449
  /**
2450
2450
  * Referral code is too long.
2451
2451
  **/
2452
- TooLong: GenericPalletError<Rv>;
2452
+ TooLong: GenericPalletError;
2453
2453
 
2454
2454
  /**
2455
2455
  * Referral code is too short.
2456
2456
  **/
2457
- TooShort: GenericPalletError<Rv>;
2457
+ TooShort: GenericPalletError;
2458
2458
 
2459
2459
  /**
2460
2460
  * Referral code contains invalid character. Only alphanumeric characters are allowed.
2461
2461
  **/
2462
- InvalidCharacter: GenericPalletError<Rv>;
2462
+ InvalidCharacter: GenericPalletError;
2463
2463
 
2464
2464
  /**
2465
2465
  * Referral code already exists.
2466
2466
  **/
2467
- AlreadyExists: GenericPalletError<Rv>;
2467
+ AlreadyExists: GenericPalletError;
2468
2468
 
2469
2469
  /**
2470
2470
  * Provided referral code is invalid. Either does not exist or is too long.
2471
2471
  **/
2472
- InvalidCode: GenericPalletError<Rv>;
2472
+ InvalidCode: GenericPalletError;
2473
2473
 
2474
2474
  /**
2475
2475
  * Account is already linked to another referral account.
2476
2476
  **/
2477
- AlreadyLinked: GenericPalletError<Rv>;
2477
+ AlreadyLinked: GenericPalletError;
2478
2478
 
2479
2479
  /**
2480
2480
  * Nothing in the referral pot account for the asset.
2481
2481
  **/
2482
- ZeroAmount: GenericPalletError<Rv>;
2482
+ ZeroAmount: GenericPalletError;
2483
2483
 
2484
2484
  /**
2485
2485
  * Linking an account to the same referral account is not allowed.
2486
2486
  **/
2487
- LinkNotAllowed: GenericPalletError<Rv>;
2487
+ LinkNotAllowed: GenericPalletError;
2488
2488
 
2489
2489
  /**
2490
2490
  * Calculated rewards are more than the fee amount. This can happen if percentages are incorrectly set.
2491
2491
  **/
2492
- IncorrectRewardCalculation: GenericPalletError<Rv>;
2492
+ IncorrectRewardCalculation: GenericPalletError;
2493
2493
 
2494
2494
  /**
2495
2495
  * Given referrer and trader percentages exceeds 100% percent.
2496
2496
  **/
2497
- IncorrectRewardPercentage: GenericPalletError<Rv>;
2497
+ IncorrectRewardPercentage: GenericPalletError;
2498
2498
 
2499
2499
  /**
2500
2500
  * The account has already a code registered.
2501
2501
  **/
2502
- AlreadyRegistered: GenericPalletError<Rv>;
2502
+ AlreadyRegistered: GenericPalletError;
2503
2503
 
2504
2504
  /**
2505
2505
  * Price for given asset pair not found.
2506
2506
  **/
2507
- PriceNotFound: GenericPalletError<Rv>;
2507
+ PriceNotFound: GenericPalletError;
2508
2508
 
2509
2509
  /**
2510
2510
  * Minimum trading amount for conversion has not been reached.
2511
2511
  **/
2512
- ConversionMinTradingAmountNotReached: GenericPalletError<Rv>;
2512
+ ConversionMinTradingAmountNotReached: GenericPalletError;
2513
2513
 
2514
2514
  /**
2515
2515
  * Zero amount received from conversion.
2516
2516
  **/
2517
- ConversionZeroAmountReceived: GenericPalletError<Rv>;
2517
+ ConversionZeroAmountReceived: GenericPalletError;
2518
2518
 
2519
2519
  /**
2520
2520
  * Generic pallet error
2521
2521
  **/
2522
- [error: string]: GenericPalletError<Rv>;
2522
+ [error: string]: GenericPalletError;
2523
2523
  };
2524
2524
  /**
2525
2525
  * Pallet `Liquidation`'s errors
@@ -2528,37 +2528,37 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2528
2528
  /**
2529
2529
  * AssetId to EVM address conversion failed
2530
2530
  **/
2531
- AssetConversionFailed: GenericPalletError<Rv>;
2531
+ AssetConversionFailed: GenericPalletError;
2532
2532
 
2533
2533
  /**
2534
2534
  * Liquidation call failed
2535
2535
  **/
2536
- LiquidationCallFailed: GenericPalletError<Rv>;
2536
+ LiquidationCallFailed: GenericPalletError;
2537
2537
 
2538
2538
  /**
2539
2539
  * Provided route doesn't match the existing route
2540
2540
  **/
2541
- InvalidRoute: GenericPalletError<Rv>;
2541
+ InvalidRoute: GenericPalletError;
2542
2542
 
2543
2543
  /**
2544
2544
  * Liquidation was not profitable enough to repay flash loan
2545
2545
  **/
2546
- NotProfitable: GenericPalletError<Rv>;
2546
+ NotProfitable: GenericPalletError;
2547
2547
 
2548
2548
  /**
2549
2549
  * Flash minter contract address not set. It is required for Hollar liquidations.
2550
2550
  **/
2551
- FlashMinterNotSet: GenericPalletError<Rv>;
2551
+ FlashMinterNotSet: GenericPalletError;
2552
2552
 
2553
2553
  /**
2554
2554
  * Invalid liquidation data provided
2555
2555
  **/
2556
- InvalidLiquidationData: GenericPalletError<Rv>;
2556
+ InvalidLiquidationData: GenericPalletError;
2557
2557
 
2558
2558
  /**
2559
2559
  * Generic pallet error
2560
2560
  **/
2561
- [error: string]: GenericPalletError<Rv>;
2561
+ [error: string]: GenericPalletError;
2562
2562
  };
2563
2563
  /**
2564
2564
  * Pallet `HSM`'s errors
@@ -2569,146 +2569,146 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2569
2569
  *
2570
2570
  * The operation attempted to use an asset that is not registered as an approved collateral.
2571
2571
  **/
2572
- AssetNotApproved: GenericPalletError<Rv>;
2572
+ AssetNotApproved: GenericPalletError;
2573
2573
 
2574
2574
  /**
2575
2575
  * Asset is already approved as collateral
2576
2576
  *
2577
2577
  * Attempted to add an asset that is already registered as a collateral.
2578
2578
  **/
2579
- AssetAlreadyApproved: GenericPalletError<Rv>;
2579
+ AssetAlreadyApproved: GenericPalletError;
2580
2580
 
2581
2581
  /**
2582
2582
  * Another asset from the same pool is already approved
2583
2583
  *
2584
2584
  * Only one asset from each StableSwap pool can be used as collateral.
2585
2585
  **/
2586
- PoolAlreadyHasCollateral: GenericPalletError<Rv>;
2586
+ PoolAlreadyHasCollateral: GenericPalletError;
2587
2587
 
2588
2588
  /**
2589
2589
  * Invalid asset pair, must be Hollar and approved collateral
2590
2590
  *
2591
2591
  * The asset pair for buy/sell operations must include Hollar as one side and an approved collateral as the other.
2592
2592
  **/
2593
- InvalidAssetPair: GenericPalletError<Rv>;
2593
+ InvalidAssetPair: GenericPalletError;
2594
2594
 
2595
2595
  /**
2596
2596
  * Max buy price exceeded
2597
2597
  *
2598
2598
  * The calculated buy price exceeds the maximum allowed buy price for the collateral.
2599
2599
  **/
2600
- MaxBuyPriceExceeded: GenericPalletError<Rv>;
2600
+ MaxBuyPriceExceeded: GenericPalletError;
2601
2601
 
2602
2602
  /**
2603
2603
  * Max buy back amount in single block exceeded
2604
2604
  *
2605
2605
  * The amount of Hollar being sold to HSM exceeds the maximum allowed in a single block for this collateral.
2606
2606
  **/
2607
- MaxBuyBackExceeded: GenericPalletError<Rv>;
2607
+ MaxBuyBackExceeded: GenericPalletError;
2608
2608
 
2609
2609
  /**
2610
2610
  * Max holding amount for collateral exceeded
2611
2611
  *
2612
2612
  * The operation would cause the HSM to hold more of the collateral than the configured maximum.
2613
2613
  **/
2614
- MaxHoldingExceeded: GenericPalletError<Rv>;
2614
+ MaxHoldingExceeded: GenericPalletError;
2615
2615
 
2616
2616
  /**
2617
2617
  * Slippage limit exceeded
2618
2618
  *
2619
2619
  * The calculated amount is worse than the provided slippage limit.
2620
2620
  **/
2621
- SlippageLimitExceeded: GenericPalletError<Rv>;
2621
+ SlippageLimitExceeded: GenericPalletError;
2622
2622
 
2623
2623
  /**
2624
2624
  * Invalid EVM contract interaction
2625
2625
  *
2626
2626
  * The call to the EVM contract (GHO Hollar token) failed.
2627
2627
  **/
2628
- InvalidEVMInteraction: GenericPalletError<Rv>;
2628
+ InvalidEVMInteraction: GenericPalletError;
2629
2629
 
2630
2630
  /**
2631
2631
  * Decimal retrieval failed
2632
2632
  *
2633
2633
  * Failed to retrieve the decimal information for an asset.
2634
2634
  **/
2635
- DecimalRetrievalFailed: GenericPalletError<Rv>;
2635
+ DecimalRetrievalFailed: GenericPalletError;
2636
2636
 
2637
2637
  /**
2638
2638
  * No arbitrage opportunity
2639
2639
  *
2640
2640
  * There is no profitable arbitrage opportunity for the specified collateral.
2641
2641
  **/
2642
- NoArbitrageOpportunity: GenericPalletError<Rv>;
2642
+ NoArbitrageOpportunity: GenericPalletError;
2643
2643
 
2644
2644
  /**
2645
2645
  * Asset not in the pool
2646
2646
  *
2647
2647
  * The specified asset was not found in the pool.
2648
2648
  **/
2649
- AssetNotFound: GenericPalletError<Rv>;
2649
+ AssetNotFound: GenericPalletError;
2650
2650
 
2651
2651
  /**
2652
2652
  * Provided pool state is invalid
2653
2653
  *
2654
2654
  * The retrieved pool state has inconsistent or invalid data.
2655
2655
  **/
2656
- InvalidPoolState: GenericPalletError<Rv>;
2656
+ InvalidPoolState: GenericPalletError;
2657
2657
 
2658
2658
  /**
2659
2659
  * Collateral is not empty
2660
2660
  *
2661
2661
  * Cannot remove a collateral asset that still has a non-zero balance in the HSM account.
2662
2662
  **/
2663
- CollateralNotEmpty: GenericPalletError<Rv>;
2663
+ CollateralNotEmpty: GenericPalletError;
2664
2664
 
2665
2665
  /**
2666
2666
  * Asset not in the pool
2667
2667
  *
2668
2668
  * The collateral asset is not present in the specified pool.
2669
2669
  **/
2670
- AssetNotInPool: GenericPalletError<Rv>;
2670
+ AssetNotInPool: GenericPalletError;
2671
2671
 
2672
2672
  /**
2673
2673
  * Hollar is not in the pool
2674
2674
  *
2675
2675
  * The Hollar asset is not present in the specified pool.
2676
2676
  **/
2677
- HollarNotInPool: GenericPalletError<Rv>;
2677
+ HollarNotInPool: GenericPalletError;
2678
2678
 
2679
2679
  /**
2680
2680
  * Insufficient collateral balance
2681
2681
  *
2682
2682
  * The HSM does not have enough of the collateral asset to complete the operation.
2683
2683
  **/
2684
- InsufficientCollateralBalance: GenericPalletError<Rv>;
2684
+ InsufficientCollateralBalance: GenericPalletError;
2685
2685
 
2686
2686
  /**
2687
2687
  * GHO Contract address not found
2688
2688
  *
2689
2689
  * The EVM address for the GHO (Hollar) token contract was not found.
2690
2690
  **/
2691
- HollarContractAddressNotFound: GenericPalletError<Rv>;
2691
+ HollarContractAddressNotFound: GenericPalletError;
2692
2692
 
2693
2693
  /**
2694
2694
  * HSM contains maximum number of allowed collateral assets.
2695
2695
  **/
2696
- MaxNumberOfCollateralsReached: GenericPalletError<Rv>;
2696
+ MaxNumberOfCollateralsReached: GenericPalletError;
2697
2697
 
2698
2698
  /**
2699
2699
  * Flash minter address not set
2700
2700
  **/
2701
- FlashMinterNotSet: GenericPalletError<Rv>;
2701
+ FlashMinterNotSet: GenericPalletError;
2702
2702
 
2703
2703
  /**
2704
2704
  * Provided arbitrage data is invalid
2705
2705
  **/
2706
- InvalidArbitrageData: GenericPalletError<Rv>;
2706
+ InvalidArbitrageData: GenericPalletError;
2707
2707
 
2708
2708
  /**
2709
2709
  * Generic pallet error
2710
2710
  **/
2711
- [error: string]: GenericPalletError<Rv>;
2711
+ [error: string]: GenericPalletError;
2712
2712
  };
2713
2713
  /**
2714
2714
  * Pallet `Tokens`'s errors
@@ -2717,43 +2717,43 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2717
2717
  /**
2718
2718
  * The balance is too low
2719
2719
  **/
2720
- BalanceTooLow: GenericPalletError<Rv>;
2720
+ BalanceTooLow: GenericPalletError;
2721
2721
 
2722
2722
  /**
2723
2723
  * Cannot convert Amount into Balance type
2724
2724
  **/
2725
- AmountIntoBalanceFailed: GenericPalletError<Rv>;
2725
+ AmountIntoBalanceFailed: GenericPalletError;
2726
2726
 
2727
2727
  /**
2728
2728
  * Failed because liquidity restrictions due to locking
2729
2729
  **/
2730
- LiquidityRestrictions: GenericPalletError<Rv>;
2730
+ LiquidityRestrictions: GenericPalletError;
2731
2731
 
2732
2732
  /**
2733
2733
  * Failed because the maximum locks was exceeded
2734
2734
  **/
2735
- MaxLocksExceeded: GenericPalletError<Rv>;
2735
+ MaxLocksExceeded: GenericPalletError;
2736
2736
 
2737
2737
  /**
2738
2738
  * Transfer/payment would kill account
2739
2739
  **/
2740
- KeepAlive: GenericPalletError<Rv>;
2740
+ KeepAlive: GenericPalletError;
2741
2741
 
2742
2742
  /**
2743
2743
  * Value too low to create account due to existential deposit
2744
2744
  **/
2745
- ExistentialDeposit: GenericPalletError<Rv>;
2745
+ ExistentialDeposit: GenericPalletError;
2746
2746
 
2747
2747
  /**
2748
2748
  * Beneficiary account must pre-exist
2749
2749
  **/
2750
- DeadAccount: GenericPalletError<Rv>;
2751
- TooManyReserves: GenericPalletError<Rv>;
2750
+ DeadAccount: GenericPalletError;
2751
+ TooManyReserves: GenericPalletError;
2752
2752
 
2753
2753
  /**
2754
2754
  * Generic pallet error
2755
2755
  **/
2756
- [error: string]: GenericPalletError<Rv>;
2756
+ [error: string]: GenericPalletError;
2757
2757
  };
2758
2758
  /**
2759
2759
  * Pallet `Currencies`'s errors
@@ -2762,27 +2762,27 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2762
2762
  /**
2763
2763
  * Unable to convert the Amount type into Balance.
2764
2764
  **/
2765
- AmountIntoBalanceFailed: GenericPalletError<Rv>;
2765
+ AmountIntoBalanceFailed: GenericPalletError;
2766
2766
 
2767
2767
  /**
2768
2768
  * Balance is too low.
2769
2769
  **/
2770
- BalanceTooLow: GenericPalletError<Rv>;
2770
+ BalanceTooLow: GenericPalletError;
2771
2771
 
2772
2772
  /**
2773
2773
  * Deposit result is not expected
2774
2774
  **/
2775
- DepositFailed: GenericPalletError<Rv>;
2775
+ DepositFailed: GenericPalletError;
2776
2776
 
2777
2777
  /**
2778
2778
  * Operation is not supported for this currency
2779
2779
  **/
2780
- NotSupported: GenericPalletError<Rv>;
2780
+ NotSupported: GenericPalletError;
2781
2781
 
2782
2782
  /**
2783
2783
  * Generic pallet error
2784
2784
  **/
2785
- [error: string]: GenericPalletError<Rv>;
2785
+ [error: string]: GenericPalletError;
2786
2786
  };
2787
2787
  /**
2788
2788
  * Pallet `Vesting`'s errors
@@ -2791,37 +2791,37 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2791
2791
  /**
2792
2792
  * Vesting period is zero
2793
2793
  **/
2794
- ZeroVestingPeriod: GenericPalletError<Rv>;
2794
+ ZeroVestingPeriod: GenericPalletError;
2795
2795
 
2796
2796
  /**
2797
2797
  * Number of vests is zero
2798
2798
  **/
2799
- ZeroVestingPeriodCount: GenericPalletError<Rv>;
2799
+ ZeroVestingPeriodCount: GenericPalletError;
2800
2800
 
2801
2801
  /**
2802
2802
  * Insufficient amount of balance to lock
2803
2803
  **/
2804
- InsufficientBalanceToLock: GenericPalletError<Rv>;
2804
+ InsufficientBalanceToLock: GenericPalletError;
2805
2805
 
2806
2806
  /**
2807
2807
  * This account have too many vesting schedules
2808
2808
  **/
2809
- TooManyVestingSchedules: GenericPalletError<Rv>;
2809
+ TooManyVestingSchedules: GenericPalletError;
2810
2810
 
2811
2811
  /**
2812
2812
  * The vested transfer amount is too low
2813
2813
  **/
2814
- AmountLow: GenericPalletError<Rv>;
2814
+ AmountLow: GenericPalletError;
2815
2815
 
2816
2816
  /**
2817
2817
  * Failed because the maximum vesting schedules was exceeded
2818
2818
  **/
2819
- MaxVestingSchedulesExceeded: GenericPalletError<Rv>;
2819
+ MaxVestingSchedulesExceeded: GenericPalletError;
2820
2820
 
2821
2821
  /**
2822
2822
  * Generic pallet error
2823
2823
  **/
2824
- [error: string]: GenericPalletError<Rv>;
2824
+ [error: string]: GenericPalletError;
2825
2825
  };
2826
2826
  /**
2827
2827
  * Pallet `EVM`'s errors
@@ -2830,72 +2830,72 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2830
2830
  /**
2831
2831
  * Not enough balance to perform action
2832
2832
  **/
2833
- BalanceLow: GenericPalletError<Rv>;
2833
+ BalanceLow: GenericPalletError;
2834
2834
 
2835
2835
  /**
2836
2836
  * Calculating total fee overflowed
2837
2837
  **/
2838
- FeeOverflow: GenericPalletError<Rv>;
2838
+ FeeOverflow: GenericPalletError;
2839
2839
 
2840
2840
  /**
2841
2841
  * Calculating total payment overflowed
2842
2842
  **/
2843
- PaymentOverflow: GenericPalletError<Rv>;
2843
+ PaymentOverflow: GenericPalletError;
2844
2844
 
2845
2845
  /**
2846
2846
  * Withdraw fee failed
2847
2847
  **/
2848
- WithdrawFailed: GenericPalletError<Rv>;
2848
+ WithdrawFailed: GenericPalletError;
2849
2849
 
2850
2850
  /**
2851
2851
  * Gas price is too low.
2852
2852
  **/
2853
- GasPriceTooLow: GenericPalletError<Rv>;
2853
+ GasPriceTooLow: GenericPalletError;
2854
2854
 
2855
2855
  /**
2856
2856
  * Nonce is invalid
2857
2857
  **/
2858
- InvalidNonce: GenericPalletError<Rv>;
2858
+ InvalidNonce: GenericPalletError;
2859
2859
 
2860
2860
  /**
2861
2861
  * Gas limit is too low.
2862
2862
  **/
2863
- GasLimitTooLow: GenericPalletError<Rv>;
2863
+ GasLimitTooLow: GenericPalletError;
2864
2864
 
2865
2865
  /**
2866
2866
  * Gas limit is too high.
2867
2867
  **/
2868
- GasLimitTooHigh: GenericPalletError<Rv>;
2868
+ GasLimitTooHigh: GenericPalletError;
2869
2869
 
2870
2870
  /**
2871
2871
  * The chain id is invalid.
2872
2872
  **/
2873
- InvalidChainId: GenericPalletError<Rv>;
2873
+ InvalidChainId: GenericPalletError;
2874
2874
 
2875
2875
  /**
2876
2876
  * the signature is invalid.
2877
2877
  **/
2878
- InvalidSignature: GenericPalletError<Rv>;
2878
+ InvalidSignature: GenericPalletError;
2879
2879
 
2880
2880
  /**
2881
2881
  * EVM reentrancy
2882
2882
  **/
2883
- Reentrancy: GenericPalletError<Rv>;
2883
+ Reentrancy: GenericPalletError;
2884
2884
 
2885
2885
  /**
2886
2886
  * EIP-3607,
2887
2887
  **/
2888
- TransactionMustComeFromEOA: GenericPalletError<Rv>;
2888
+ TransactionMustComeFromEOA: GenericPalletError;
2889
2889
 
2890
2890
  /**
2891
2891
  * Undefined error.
2892
2892
  **/
2893
- Undefined: GenericPalletError<Rv>;
2893
+ Undefined: GenericPalletError;
2894
2894
 
2895
2895
  /**
2896
2896
  * Generic pallet error
2897
2897
  **/
2898
- [error: string]: GenericPalletError<Rv>;
2898
+ [error: string]: GenericPalletError;
2899
2899
  };
2900
2900
  /**
2901
2901
  * Pallet `Ethereum`'s errors
@@ -2904,17 +2904,17 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2904
2904
  /**
2905
2905
  * Signature is invalid.
2906
2906
  **/
2907
- InvalidSignature: GenericPalletError<Rv>;
2907
+ InvalidSignature: GenericPalletError;
2908
2908
 
2909
2909
  /**
2910
2910
  * Pre-log is present, therefore transact is not allowed.
2911
2911
  **/
2912
- PreLogExists: GenericPalletError<Rv>;
2912
+ PreLogExists: GenericPalletError;
2913
2913
 
2914
2914
  /**
2915
2915
  * Generic pallet error
2916
2916
  **/
2917
- [error: string]: GenericPalletError<Rv>;
2917
+ [error: string]: GenericPalletError;
2918
2918
  };
2919
2919
  /**
2920
2920
  * Pallet `EVMAccounts`'s errors
@@ -2923,27 +2923,27 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2923
2923
  /**
2924
2924
  * Active EVM account cannot be bound
2925
2925
  **/
2926
- TruncatedAccountAlreadyUsed: GenericPalletError<Rv>;
2926
+ TruncatedAccountAlreadyUsed: GenericPalletError;
2927
2927
 
2928
2928
  /**
2929
2929
  * Address is already bound
2930
2930
  **/
2931
- AddressAlreadyBound: GenericPalletError<Rv>;
2931
+ AddressAlreadyBound: GenericPalletError;
2932
2932
 
2933
2933
  /**
2934
2934
  * Bound address cannot be used
2935
2935
  **/
2936
- BoundAddressCannotBeUsed: GenericPalletError<Rv>;
2936
+ BoundAddressCannotBeUsed: GenericPalletError;
2937
2937
 
2938
2938
  /**
2939
2939
  * Address not whitelisted
2940
2940
  **/
2941
- AddressNotWhitelisted: GenericPalletError<Rv>;
2941
+ AddressNotWhitelisted: GenericPalletError;
2942
2942
 
2943
2943
  /**
2944
2944
  * Generic pallet error
2945
2945
  **/
2946
- [error: string]: GenericPalletError<Rv>;
2946
+ [error: string]: GenericPalletError;
2947
2947
  };
2948
2948
  /**
2949
2949
  * Pallet `XYKLiquidityMining`'s errors
@@ -2952,72 +2952,72 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
2952
2952
  /**
2953
2953
  * Nft pallet didn't return an owner.
2954
2954
  **/
2955
- CantFindDepositOwner: GenericPalletError<Rv>;
2955
+ CantFindDepositOwner: GenericPalletError;
2956
2956
 
2957
2957
  /**
2958
2958
  * Account balance of XYK pool shares is not sufficient.
2959
2959
  **/
2960
- InsufficientXykSharesBalance: GenericPalletError<Rv>;
2960
+ InsufficientXykSharesBalance: GenericPalletError;
2961
2961
 
2962
2962
  /**
2963
2963
  * XYK pool does not exist
2964
2964
  **/
2965
- XykPoolDoesntExist: GenericPalletError<Rv>;
2965
+ XykPoolDoesntExist: GenericPalletError;
2966
2966
 
2967
2967
  /**
2968
2968
  * Account is not deposit owner.
2969
2969
  **/
2970
- NotDepositOwner: GenericPalletError<Rv>;
2970
+ NotDepositOwner: GenericPalletError;
2971
2971
 
2972
2972
  /**
2973
2973
  * XYK did not return assets for given pool id
2974
2974
  **/
2975
- CantGetXykAssets: GenericPalletError<Rv>;
2975
+ CantGetXykAssets: GenericPalletError;
2976
2976
 
2977
2977
  /**
2978
2978
  * Deposit data not found
2979
2979
  **/
2980
- DepositDataNotFound: GenericPalletError<Rv>;
2980
+ DepositDataNotFound: GenericPalletError;
2981
2981
 
2982
2982
  /**
2983
2983
  * Calculated reward to claim is 0.
2984
2984
  **/
2985
- ZeroClaimedRewards: GenericPalletError<Rv>;
2985
+ ZeroClaimedRewards: GenericPalletError;
2986
2986
 
2987
2987
  /**
2988
2988
  * Asset is not in the `AssetPair`.
2989
2989
  **/
2990
- AssetNotInAssetPair: GenericPalletError<Rv>;
2990
+ AssetNotInAssetPair: GenericPalletError;
2991
2991
 
2992
2992
  /**
2993
2993
  * Provided `AssetPair` is not used by the deposit.
2994
2994
  **/
2995
- InvalidAssetPair: GenericPalletError<Rv>;
2995
+ InvalidAssetPair: GenericPalletError;
2996
2996
 
2997
2997
  /**
2998
2998
  * Asset is not registered in asset registry.
2999
2999
  **/
3000
- AssetNotRegistered: GenericPalletError<Rv>;
3000
+ AssetNotRegistered: GenericPalletError;
3001
3001
 
3002
3002
  /**
3003
3003
  * Failed to calculate `pot`'s account.
3004
3004
  **/
3005
- FailToGetPotId: GenericPalletError<Rv>;
3005
+ FailToGetPotId: GenericPalletError;
3006
3006
 
3007
3007
  /**
3008
3008
  * No global farm - yield farm pairs specified to join
3009
3009
  **/
3010
- NoFarmsSpecified: GenericPalletError<Rv>;
3010
+ NoFarmsSpecified: GenericPalletError;
3011
3011
 
3012
3012
  /**
3013
3013
  * Failed to calculate value of xyk shares
3014
3014
  **/
3015
- FailedToValueShares: GenericPalletError<Rv>;
3015
+ FailedToValueShares: 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 `XYKWarehouseLM`'s errors
@@ -3026,154 +3026,154 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
3026
3026
  /**
3027
3027
  * Global farm does not exist.
3028
3028
  **/
3029
- GlobalFarmNotFound: GenericPalletError<Rv>;
3029
+ GlobalFarmNotFound: GenericPalletError;
3030
3030
 
3031
3031
  /**
3032
3032
  * Yield farm does not exist.
3033
3033
  **/
3034
- YieldFarmNotFound: GenericPalletError<Rv>;
3034
+ YieldFarmNotFound: GenericPalletError;
3035
3035
 
3036
3036
  /**
3037
3037
  * Multiple claims in the same period is not allowed.
3038
3038
  **/
3039
- DoubleClaimInPeriod: GenericPalletError<Rv>;
3039
+ DoubleClaimInPeriod: GenericPalletError;
3040
3040
 
3041
3041
  /**
3042
3042
  * Liquidity mining is canceled.
3043
3043
  **/
3044
- LiquidityMiningCanceled: GenericPalletError<Rv>;
3044
+ LiquidityMiningCanceled: GenericPalletError;
3045
3045
 
3046
3046
  /**
3047
3047
  * Liquidity mining is not canceled.
3048
3048
  **/
3049
- LiquidityMiningIsActive: GenericPalletError<Rv>;
3049
+ LiquidityMiningIsActive: GenericPalletError;
3050
3050
 
3051
3051
  /**
3052
3052
  * Liquidity mining is in `active` or `terminated` state and action cannot be completed.
3053
3053
  **/
3054
- LiquidityMiningIsNotStopped: GenericPalletError<Rv>;
3054
+ LiquidityMiningIsNotStopped: GenericPalletError;
3055
3055
 
3056
3056
  /**
3057
3057
  * Account is not allowed to perform action.
3058
3058
  **/
3059
- Forbidden: GenericPalletError<Rv>;
3059
+ Forbidden: GenericPalletError;
3060
3060
 
3061
3061
  /**
3062
3062
  * Yield farm multiplier can't be 0.
3063
3063
  **/
3064
- InvalidMultiplier: GenericPalletError<Rv>;
3064
+ InvalidMultiplier: GenericPalletError;
3065
3065
 
3066
3066
  /**
3067
3067
  * Yield farm with given `amm_pool_id` already exists in global farm.
3068
3068
  **/
3069
- YieldFarmAlreadyExists: GenericPalletError<Rv>;
3069
+ YieldFarmAlreadyExists: GenericPalletError;
3070
3070
 
3071
3071
  /**
3072
3072
  * Loyalty curve's initial reward percentage is not valid. Valid range is: [0, 1).
3073
3073
  **/
3074
- InvalidInitialRewardPercentage: GenericPalletError<Rv>;
3074
+ InvalidInitialRewardPercentage: GenericPalletError;
3075
3075
 
3076
3076
  /**
3077
3077
  * One or more yield farms exist in global farm.
3078
3078
  **/
3079
- GlobalFarmIsNotEmpty: GenericPalletError<Rv>;
3079
+ GlobalFarmIsNotEmpty: GenericPalletError;
3080
3080
 
3081
3081
  /**
3082
3082
  * Farm's `incentivized_asset` is missing in provided asset pair.
3083
3083
  **/
3084
- MissingIncentivizedAsset: GenericPalletError<Rv>;
3084
+ MissingIncentivizedAsset: GenericPalletError;
3085
3085
 
3086
3086
  /**
3087
3087
  * Reward currency balance is not sufficient.
3088
3088
  **/
3089
- InsufficientRewardCurrencyBalance: GenericPalletError<Rv>;
3089
+ InsufficientRewardCurrencyBalance: GenericPalletError;
3090
3090
 
3091
3091
  /**
3092
3092
  * Blocks per period can't be 0.
3093
3093
  **/
3094
- InvalidBlocksPerPeriod: GenericPalletError<Rv>;
3094
+ InvalidBlocksPerPeriod: GenericPalletError;
3095
3095
 
3096
3096
  /**
3097
3097
  * Yield per period can't be 0.
3098
3098
  **/
3099
- InvalidYieldPerPeriod: GenericPalletError<Rv>;
3099
+ InvalidYieldPerPeriod: GenericPalletError;
3100
3100
 
3101
3101
  /**
3102
3102
  * Total rewards is less than `MinTotalFarmRewards`.
3103
3103
  **/
3104
- InvalidTotalRewards: GenericPalletError<Rv>;
3104
+ InvalidTotalRewards: GenericPalletError;
3105
3105
 
3106
3106
  /**
3107
3107
  * Planned yielding periods is less than `MinPlannedYieldingPeriods`.
3108
3108
  **/
3109
- InvalidPlannedYieldingPeriods: GenericPalletError<Rv>;
3109
+ InvalidPlannedYieldingPeriods: GenericPalletError;
3110
3110
 
3111
3111
  /**
3112
3112
  * Maximum number of locks reached for deposit.
3113
3113
  **/
3114
- MaxEntriesPerDeposit: GenericPalletError<Rv>;
3114
+ MaxEntriesPerDeposit: GenericPalletError;
3115
3115
 
3116
3116
  /**
3117
3117
  * Trying to lock LP shares into already locked yield farm.
3118
3118
  **/
3119
- DoubleLock: GenericPalletError<Rv>;
3119
+ DoubleLock: GenericPalletError;
3120
3120
 
3121
3121
  /**
3122
3122
  * Yield farm entry doesn't exist for given deposit.
3123
3123
  **/
3124
- YieldFarmEntryNotFound: GenericPalletError<Rv>;
3124
+ YieldFarmEntryNotFound: GenericPalletError;
3125
3125
 
3126
3126
  /**
3127
3127
  * Max number of yield farms in global farm was reached. Global farm can't accept new
3128
3128
  * yield farms until some yield farm is not removed from storage.
3129
3129
  **/
3130
- GlobalFarmIsFull: GenericPalletError<Rv>;
3130
+ GlobalFarmIsFull: GenericPalletError;
3131
3131
 
3132
3132
  /**
3133
3133
  * Invalid min. deposit was set for global farm.
3134
3134
  **/
3135
- InvalidMinDeposit: GenericPalletError<Rv>;
3135
+ InvalidMinDeposit: GenericPalletError;
3136
3136
 
3137
3137
  /**
3138
3138
  * Price adjustment multiplier can't be 0.
3139
3139
  **/
3140
- InvalidPriceAdjustment: GenericPalletError<Rv>;
3140
+ InvalidPriceAdjustment: GenericPalletError;
3141
3141
 
3142
3142
  /**
3143
3143
  * Account creation from id failed.
3144
3144
  **/
3145
- ErrorGetAccountId: GenericPalletError<Rv>;
3145
+ ErrorGetAccountId: GenericPalletError;
3146
3146
 
3147
3147
  /**
3148
3148
  * Value of deposited shares amount in reward currency is bellow min. limit.
3149
3149
  **/
3150
- IncorrectValuedShares: GenericPalletError<Rv>;
3150
+ IncorrectValuedShares: GenericPalletError;
3151
3151
 
3152
3152
  /**
3153
3153
  * `reward_currency` is not registered in asset registry.
3154
3154
  **/
3155
- RewardCurrencyNotRegistered: GenericPalletError<Rv>;
3155
+ RewardCurrencyNotRegistered: GenericPalletError;
3156
3156
 
3157
3157
  /**
3158
3158
  * `incentivized_asset` is not registered in asset registry.
3159
3159
  **/
3160
- IncentivizedAssetNotRegistered: GenericPalletError<Rv>;
3160
+ IncentivizedAssetNotRegistered: GenericPalletError;
3161
3161
 
3162
3162
  /**
3163
3163
  * Provided `amm_pool_id` doesn't match deposit's `amm_pool_id`.
3164
3164
  **/
3165
- AmmPoolIdMismatch: GenericPalletError<Rv>;
3165
+ AmmPoolIdMismatch: GenericPalletError;
3166
3166
 
3167
3167
  /**
3168
3168
  * Action cannot be completed because unexpected error has occurred. This should be reported
3169
3169
  * to protocol maintainers.
3170
3170
  **/
3171
- InconsistentState: GenericPalletError<Rv>;
3171
+ InconsistentState: GenericPalletError;
3172
3172
 
3173
3173
  /**
3174
3174
  * Generic pallet error
3175
3175
  **/
3176
- [error: string]: GenericPalletError<Rv>;
3176
+ [error: string]: GenericPalletError;
3177
3177
  };
3178
3178
  /**
3179
3179
  * Pallet `RelayChainInfo`'s errors
@@ -3182,7 +3182,7 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
3182
3182
  /**
3183
3183
  * Generic pallet error
3184
3184
  **/
3185
- [error: string]: GenericPalletError<Rv>;
3185
+ [error: string]: GenericPalletError;
3186
3186
  };
3187
3187
  /**
3188
3188
  * Pallet `DCA`'s errors
@@ -3191,107 +3191,107 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
3191
3191
  /**
3192
3192
  * Schedule not exist
3193
3193
  **/
3194
- ScheduleNotFound: GenericPalletError<Rv>;
3194
+ ScheduleNotFound: GenericPalletError;
3195
3195
 
3196
3196
  /**
3197
3197
  * The min trade amount is not reached
3198
3198
  **/
3199
- MinTradeAmountNotReached: GenericPalletError<Rv>;
3199
+ MinTradeAmountNotReached: GenericPalletError;
3200
3200
 
3201
3201
  /**
3202
3202
  * Forbidden as the user is not the owner of the schedule
3203
3203
  **/
3204
- Forbidden: GenericPalletError<Rv>;
3204
+ Forbidden: GenericPalletError;
3205
3205
 
3206
3206
  /**
3207
3207
  * The next execution block number is not in the future
3208
3208
  **/
3209
- BlockNumberIsNotInFuture: GenericPalletError<Rv>;
3209
+ BlockNumberIsNotInFuture: GenericPalletError;
3210
3210
 
3211
3211
  /**
3212
3212
  * Price is unstable as price change from oracle data is bigger than max allowed
3213
3213
  **/
3214
- PriceUnstable: GenericPalletError<Rv>;
3214
+ PriceUnstable: GenericPalletError;
3215
3215
 
3216
3216
  /**
3217
3217
  * Order was randomly rescheduled to next block
3218
3218
  **/
3219
- Bumped: GenericPalletError<Rv>;
3219
+ Bumped: GenericPalletError;
3220
3220
 
3221
3221
  /**
3222
3222
  * Error occurred when calculating price
3223
3223
  **/
3224
- CalculatingPriceError: GenericPalletError<Rv>;
3224
+ CalculatingPriceError: GenericPalletError;
3225
3225
 
3226
3226
  /**
3227
3227
  * The total amount to be reserved is smaller than min budget
3228
3228
  **/
3229
- TotalAmountIsSmallerThanMinBudget: GenericPalletError<Rv>;
3229
+ TotalAmountIsSmallerThanMinBudget: GenericPalletError;
3230
3230
 
3231
3231
  /**
3232
3232
  * The budget is too low for executing at least two orders
3233
3233
  **/
3234
- BudgetTooLow: GenericPalletError<Rv>;
3234
+ BudgetTooLow: GenericPalletError;
3235
3235
 
3236
3236
  /**
3237
3237
  * There is no free block found to plan DCA execution
3238
3238
  **/
3239
- NoFreeBlockFound: GenericPalletError<Rv>;
3239
+ NoFreeBlockFound: GenericPalletError;
3240
3240
 
3241
3241
  /**
3242
3242
  * The DCA schedule has been manually terminated
3243
3243
  **/
3244
- ManuallyTerminated: GenericPalletError<Rv>;
3244
+ ManuallyTerminated: GenericPalletError;
3245
3245
 
3246
3246
  /**
3247
3247
  * Max number of retries reached for schedule
3248
3248
  **/
3249
- MaxRetryReached: GenericPalletError<Rv>;
3249
+ MaxRetryReached: GenericPalletError;
3250
3250
 
3251
3251
  /**
3252
3252
  * Absolutely trade limit reached, leading to retry
3253
3253
  **/
3254
- TradeLimitReached: GenericPalletError<Rv>;
3254
+ TradeLimitReached: GenericPalletError;
3255
3255
 
3256
3256
  /**
3257
3257
  * Slippage limit calculated from oracle is reached, leading to retry
3258
3258
  **/
3259
- SlippageLimitReached: GenericPalletError<Rv>;
3259
+ SlippageLimitReached: GenericPalletError;
3260
3260
 
3261
3261
  /**
3262
3262
  * No parent hash has been found from relay chain
3263
3263
  **/
3264
- NoParentHashFound: GenericPalletError<Rv>;
3264
+ NoParentHashFound: GenericPalletError;
3265
3265
 
3266
3266
  /**
3267
3267
  * Error that should not really happen only in case of invalid state of the schedule storage entries
3268
3268
  **/
3269
- InvalidState: GenericPalletError<Rv>;
3269
+ InvalidState: GenericPalletError;
3270
3270
 
3271
3271
  /**
3272
3272
  * Period should be longer than 5 blocks
3273
3273
  **/
3274
- PeriodTooShort: GenericPalletError<Rv>;
3274
+ PeriodTooShort: GenericPalletError;
3275
3275
 
3276
3276
  /**
3277
3277
  * Stability threshold cannot be higher than `MaxConfigurablePriceDifferenceBetweenBlock`
3278
3278
  **/
3279
- StabilityThresholdTooHigh: GenericPalletError<Rv>;
3279
+ StabilityThresholdTooHigh: GenericPalletError;
3280
3280
 
3281
3281
  /**
3282
3282
  * User still has active DCA schedules and cannot unlock reserves
3283
3283
  **/
3284
- HasActiveSchedules: GenericPalletError<Rv>;
3284
+ HasActiveSchedules: GenericPalletError;
3285
3285
 
3286
3286
  /**
3287
3287
  * No reserves are locked for the user for the given asset
3288
3288
  **/
3289
- NoReservesLocked: GenericPalletError<Rv>;
3289
+ NoReservesLocked: GenericPalletError;
3290
3290
 
3291
3291
  /**
3292
3292
  * Generic pallet error
3293
3293
  **/
3294
- [error: string]: GenericPalletError<Rv>;
3294
+ [error: string]: GenericPalletError;
3295
3295
  };
3296
3296
  /**
3297
3297
  * Pallet `Scheduler`'s errors
@@ -3300,32 +3300,32 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
3300
3300
  /**
3301
3301
  * Failed to schedule a call
3302
3302
  **/
3303
- FailedToSchedule: GenericPalletError<Rv>;
3303
+ FailedToSchedule: GenericPalletError;
3304
3304
 
3305
3305
  /**
3306
3306
  * Cannot find the scheduled call.
3307
3307
  **/
3308
- NotFound: GenericPalletError<Rv>;
3308
+ NotFound: GenericPalletError;
3309
3309
 
3310
3310
  /**
3311
3311
  * Given target block number is in the past.
3312
3312
  **/
3313
- TargetBlockNumberInPast: GenericPalletError<Rv>;
3313
+ TargetBlockNumberInPast: GenericPalletError;
3314
3314
 
3315
3315
  /**
3316
3316
  * Reschedule failed because it does not change scheduled time.
3317
3317
  **/
3318
- RescheduleNoChange: GenericPalletError<Rv>;
3318
+ RescheduleNoChange: GenericPalletError;
3319
3319
 
3320
3320
  /**
3321
3321
  * Attempt to use a non-named function on a named task.
3322
3322
  **/
3323
- Named: GenericPalletError<Rv>;
3323
+ Named: GenericPalletError;
3324
3324
 
3325
3325
  /**
3326
3326
  * Generic pallet error
3327
3327
  **/
3328
- [error: string]: GenericPalletError<Rv>;
3328
+ [error: string]: GenericPalletError;
3329
3329
  };
3330
3330
  /**
3331
3331
  * Pallet `ParachainSystem`'s errors
@@ -3334,48 +3334,48 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
3334
3334
  /**
3335
3335
  * Attempt to upgrade validation function while existing upgrade pending.
3336
3336
  **/
3337
- OverlappingUpgrades: GenericPalletError<Rv>;
3337
+ OverlappingUpgrades: GenericPalletError;
3338
3338
 
3339
3339
  /**
3340
3340
  * Polkadot currently prohibits this parachain from upgrading its validation function.
3341
3341
  **/
3342
- ProhibitedByPolkadot: GenericPalletError<Rv>;
3342
+ ProhibitedByPolkadot: GenericPalletError;
3343
3343
 
3344
3344
  /**
3345
3345
  * The supplied validation function has compiled into a blob larger than Polkadot is
3346
3346
  * willing to run.
3347
3347
  **/
3348
- TooBig: GenericPalletError<Rv>;
3348
+ TooBig: GenericPalletError;
3349
3349
 
3350
3350
  /**
3351
3351
  * The inherent which supplies the validation data did not run this block.
3352
3352
  **/
3353
- ValidationDataNotAvailable: GenericPalletError<Rv>;
3353
+ ValidationDataNotAvailable: GenericPalletError;
3354
3354
 
3355
3355
  /**
3356
3356
  * The inherent which supplies the host configuration did not run this block.
3357
3357
  **/
3358
- HostConfigurationNotAvailable: GenericPalletError<Rv>;
3358
+ HostConfigurationNotAvailable: GenericPalletError;
3359
3359
 
3360
3360
  /**
3361
3361
  * No validation function upgrade is currently scheduled.
3362
3362
  **/
3363
- NotScheduled: GenericPalletError<Rv>;
3363
+ NotScheduled: GenericPalletError;
3364
3364
 
3365
3365
  /**
3366
3366
  * No code upgrade has been authorized.
3367
3367
  **/
3368
- NothingAuthorized: GenericPalletError<Rv>;
3368
+ NothingAuthorized: GenericPalletError;
3369
3369
 
3370
3370
  /**
3371
3371
  * The given code upgrade has not been authorized.
3372
3372
  **/
3373
- Unauthorized: GenericPalletError<Rv>;
3373
+ Unauthorized: GenericPalletError;
3374
3374
 
3375
3375
  /**
3376
3376
  * Generic pallet error
3377
3377
  **/
3378
- [error: string]: GenericPalletError<Rv>;
3378
+ [error: string]: GenericPalletError;
3379
3379
  };
3380
3380
  /**
3381
3381
  * Pallet `PolkadotXcm`'s errors
@@ -3385,129 +3385,129 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
3385
3385
  * The desired destination was unreachable, generally because there is a no way of routing
3386
3386
  * to it.
3387
3387
  **/
3388
- Unreachable: GenericPalletError<Rv>;
3388
+ Unreachable: GenericPalletError;
3389
3389
 
3390
3390
  /**
3391
3391
  * There was some other issue (i.e. not to do with routing) in sending the message.
3392
3392
  * Perhaps a lack of space for buffering the message.
3393
3393
  **/
3394
- SendFailure: GenericPalletError<Rv>;
3394
+ SendFailure: GenericPalletError;
3395
3395
 
3396
3396
  /**
3397
3397
  * The message execution fails the filter.
3398
3398
  **/
3399
- Filtered: GenericPalletError<Rv>;
3399
+ Filtered: GenericPalletError;
3400
3400
 
3401
3401
  /**
3402
3402
  * The message's weight could not be determined.
3403
3403
  **/
3404
- UnweighableMessage: GenericPalletError<Rv>;
3404
+ UnweighableMessage: GenericPalletError;
3405
3405
 
3406
3406
  /**
3407
3407
  * The destination `Location` provided cannot be inverted.
3408
3408
  **/
3409
- DestinationNotInvertible: GenericPalletError<Rv>;
3409
+ DestinationNotInvertible: GenericPalletError;
3410
3410
 
3411
3411
  /**
3412
3412
  * The assets to be sent are empty.
3413
3413
  **/
3414
- Empty: GenericPalletError<Rv>;
3414
+ Empty: GenericPalletError;
3415
3415
 
3416
3416
  /**
3417
3417
  * Could not re-anchor the assets to declare the fees for the destination chain.
3418
3418
  **/
3419
- CannotReanchor: GenericPalletError<Rv>;
3419
+ CannotReanchor: GenericPalletError;
3420
3420
 
3421
3421
  /**
3422
3422
  * Too many assets have been attempted for transfer.
3423
3423
  **/
3424
- TooManyAssets: GenericPalletError<Rv>;
3424
+ TooManyAssets: GenericPalletError;
3425
3425
 
3426
3426
  /**
3427
3427
  * Origin is invalid for sending.
3428
3428
  **/
3429
- InvalidOrigin: GenericPalletError<Rv>;
3429
+ InvalidOrigin: GenericPalletError;
3430
3430
 
3431
3431
  /**
3432
3432
  * The version of the `Versioned` value used is not able to be interpreted.
3433
3433
  **/
3434
- BadVersion: GenericPalletError<Rv>;
3434
+ BadVersion: GenericPalletError;
3435
3435
 
3436
3436
  /**
3437
3437
  * The given location could not be used (e.g. because it cannot be expressed in the
3438
3438
  * desired version of XCM).
3439
3439
  **/
3440
- BadLocation: GenericPalletError<Rv>;
3440
+ BadLocation: GenericPalletError;
3441
3441
 
3442
3442
  /**
3443
3443
  * The referenced subscription could not be found.
3444
3444
  **/
3445
- NoSubscription: GenericPalletError<Rv>;
3445
+ NoSubscription: GenericPalletError;
3446
3446
 
3447
3447
  /**
3448
3448
  * The location is invalid since it already has a subscription from us.
3449
3449
  **/
3450
- AlreadySubscribed: GenericPalletError<Rv>;
3450
+ AlreadySubscribed: GenericPalletError;
3451
3451
 
3452
3452
  /**
3453
3453
  * Could not check-out the assets for teleportation to the destination chain.
3454
3454
  **/
3455
- CannotCheckOutTeleport: GenericPalletError<Rv>;
3455
+ CannotCheckOutTeleport: GenericPalletError;
3456
3456
 
3457
3457
  /**
3458
3458
  * The owner does not own (all) of the asset that they wish to do the operation on.
3459
3459
  **/
3460
- LowBalance: GenericPalletError<Rv>;
3460
+ LowBalance: GenericPalletError;
3461
3461
 
3462
3462
  /**
3463
3463
  * The asset owner has too many locks on the asset.
3464
3464
  **/
3465
- TooManyLocks: GenericPalletError<Rv>;
3465
+ TooManyLocks: GenericPalletError;
3466
3466
 
3467
3467
  /**
3468
3468
  * The given account is not an identifiable sovereign account for any location.
3469
3469
  **/
3470
- AccountNotSovereign: GenericPalletError<Rv>;
3470
+ AccountNotSovereign: GenericPalletError;
3471
3471
 
3472
3472
  /**
3473
3473
  * The operation required fees to be paid which the initiator could not meet.
3474
3474
  **/
3475
- FeesNotMet: GenericPalletError<Rv>;
3475
+ FeesNotMet: GenericPalletError;
3476
3476
 
3477
3477
  /**
3478
3478
  * A remote lock with the corresponding data could not be found.
3479
3479
  **/
3480
- LockNotFound: GenericPalletError<Rv>;
3480
+ LockNotFound: GenericPalletError;
3481
3481
 
3482
3482
  /**
3483
3483
  * The unlock operation cannot succeed because there are still consumers of the lock.
3484
3484
  **/
3485
- InUse: GenericPalletError<Rv>;
3485
+ InUse: GenericPalletError;
3486
3486
 
3487
3487
  /**
3488
3488
  * Invalid asset, reserve chain could not be determined for it.
3489
3489
  **/
3490
- InvalidAssetUnknownReserve: GenericPalletError<Rv>;
3490
+ InvalidAssetUnknownReserve: GenericPalletError;
3491
3491
 
3492
3492
  /**
3493
3493
  * Invalid asset, do not support remote asset reserves with different fees reserves.
3494
3494
  **/
3495
- InvalidAssetUnsupportedReserve: GenericPalletError<Rv>;
3495
+ InvalidAssetUnsupportedReserve: GenericPalletError;
3496
3496
 
3497
3497
  /**
3498
3498
  * Too many assets with different reserve locations have been attempted for transfer.
3499
3499
  **/
3500
- TooManyReserves: GenericPalletError<Rv>;
3500
+ TooManyReserves: GenericPalletError;
3501
3501
 
3502
3502
  /**
3503
3503
  * Local XCM execution incomplete.
3504
3504
  **/
3505
- LocalExecutionIncomplete: GenericPalletError<Rv>;
3505
+ LocalExecutionIncomplete: GenericPalletError;
3506
3506
 
3507
3507
  /**
3508
3508
  * Generic pallet error
3509
3509
  **/
3510
- [error: string]: GenericPalletError<Rv>;
3510
+ [error: string]: GenericPalletError;
3511
3511
  };
3512
3512
  /**
3513
3513
  * Pallet `XcmpQueue`'s errors
@@ -3516,32 +3516,32 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
3516
3516
  /**
3517
3517
  * Setting the queue config failed since one of its values was invalid.
3518
3518
  **/
3519
- BadQueueConfig: GenericPalletError<Rv>;
3519
+ BadQueueConfig: GenericPalletError;
3520
3520
 
3521
3521
  /**
3522
3522
  * The execution is already suspended.
3523
3523
  **/
3524
- AlreadySuspended: GenericPalletError<Rv>;
3524
+ AlreadySuspended: GenericPalletError;
3525
3525
 
3526
3526
  /**
3527
3527
  * The execution is already resumed.
3528
3528
  **/
3529
- AlreadyResumed: GenericPalletError<Rv>;
3529
+ AlreadyResumed: GenericPalletError;
3530
3530
 
3531
3531
  /**
3532
3532
  * There are too many active outbound channels.
3533
3533
  **/
3534
- TooManyActiveOutboundChannels: GenericPalletError<Rv>;
3534
+ TooManyActiveOutboundChannels: GenericPalletError;
3535
3535
 
3536
3536
  /**
3537
3537
  * The message is too big.
3538
3538
  **/
3539
- TooBig: GenericPalletError<Rv>;
3539
+ TooBig: GenericPalletError;
3540
3540
 
3541
3541
  /**
3542
3542
  * Generic pallet error
3543
3543
  **/
3544
- [error: string]: GenericPalletError<Rv>;
3544
+ [error: string]: GenericPalletError;
3545
3545
  };
3546
3546
  /**
3547
3547
  * Pallet `MessageQueue`'s errors
@@ -3551,32 +3551,32 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
3551
3551
  * Page is not reapable because it has items remaining to be processed and is not old
3552
3552
  * enough.
3553
3553
  **/
3554
- NotReapable: GenericPalletError<Rv>;
3554
+ NotReapable: GenericPalletError;
3555
3555
 
3556
3556
  /**
3557
3557
  * Page to be reaped does not exist.
3558
3558
  **/
3559
- NoPage: GenericPalletError<Rv>;
3559
+ NoPage: GenericPalletError;
3560
3560
 
3561
3561
  /**
3562
3562
  * The referenced message could not be found.
3563
3563
  **/
3564
- NoMessage: GenericPalletError<Rv>;
3564
+ NoMessage: GenericPalletError;
3565
3565
 
3566
3566
  /**
3567
3567
  * The message was already processed and cannot be processed again.
3568
3568
  **/
3569
- AlreadyProcessed: GenericPalletError<Rv>;
3569
+ AlreadyProcessed: GenericPalletError;
3570
3570
 
3571
3571
  /**
3572
3572
  * The message is queued for future execution.
3573
3573
  **/
3574
- Queued: GenericPalletError<Rv>;
3574
+ Queued: GenericPalletError;
3575
3575
 
3576
3576
  /**
3577
3577
  * There is temporarily not enough weight to continue servicing messages.
3578
3578
  **/
3579
- InsufficientWeight: GenericPalletError<Rv>;
3579
+ InsufficientWeight: GenericPalletError;
3580
3580
 
3581
3581
  /**
3582
3582
  * This message is temporarily unprocessable.
@@ -3584,24 +3584,24 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
3584
3584
  * Such errors are expected, but not guaranteed, to resolve themselves eventually through
3585
3585
  * retrying.
3586
3586
  **/
3587
- TemporarilyUnprocessable: GenericPalletError<Rv>;
3587
+ TemporarilyUnprocessable: GenericPalletError;
3588
3588
 
3589
3589
  /**
3590
3590
  * The queue is paused and no message can be executed from it.
3591
3591
  *
3592
3592
  * This can change at any time and may resolve in the future by re-trying.
3593
3593
  **/
3594
- QueuePaused: GenericPalletError<Rv>;
3594
+ QueuePaused: GenericPalletError;
3595
3595
 
3596
3596
  /**
3597
3597
  * Another call is in progress and needs to finish before this call can happen.
3598
3598
  **/
3599
- RecursiveDisallowed: GenericPalletError<Rv>;
3599
+ RecursiveDisallowed: GenericPalletError;
3600
3600
 
3601
3601
  /**
3602
3602
  * Generic pallet error
3603
3603
  **/
3604
- [error: string]: GenericPalletError<Rv>;
3604
+ [error: string]: GenericPalletError;
3605
3605
  };
3606
3606
  /**
3607
3607
  * Pallet `OrmlXcm`'s errors
@@ -3611,24 +3611,24 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
3611
3611
  * The message and destination combination was not recognized as being
3612
3612
  * reachable.
3613
3613
  **/
3614
- Unreachable: GenericPalletError<Rv>;
3614
+ Unreachable: GenericPalletError;
3615
3615
 
3616
3616
  /**
3617
3617
  * The message and destination was recognized as being reachable but
3618
3618
  * the operation could not be completed.
3619
3619
  **/
3620
- SendFailure: GenericPalletError<Rv>;
3620
+ SendFailure: GenericPalletError;
3621
3621
 
3622
3622
  /**
3623
3623
  * The version of the `Versioned` value used is not able to be
3624
3624
  * interpreted.
3625
3625
  **/
3626
- BadVersion: GenericPalletError<Rv>;
3626
+ BadVersion: GenericPalletError;
3627
3627
 
3628
3628
  /**
3629
3629
  * Generic pallet error
3630
3630
  **/
3631
- [error: string]: GenericPalletError<Rv>;
3631
+ [error: string]: GenericPalletError;
3632
3632
  };
3633
3633
  /**
3634
3634
  * Pallet `XTokens`'s errors
@@ -3637,110 +3637,110 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
3637
3637
  /**
3638
3638
  * Asset has no reserve location.
3639
3639
  **/
3640
- AssetHasNoReserve: GenericPalletError<Rv>;
3640
+ AssetHasNoReserve: GenericPalletError;
3641
3641
 
3642
3642
  /**
3643
3643
  * Not cross-chain transfer.
3644
3644
  **/
3645
- NotCrossChainTransfer: GenericPalletError<Rv>;
3645
+ NotCrossChainTransfer: GenericPalletError;
3646
3646
 
3647
3647
  /**
3648
3648
  * Invalid transfer destination.
3649
3649
  **/
3650
- InvalidDest: GenericPalletError<Rv>;
3650
+ InvalidDest: GenericPalletError;
3651
3651
 
3652
3652
  /**
3653
3653
  * Currency is not cross-chain transferable.
3654
3654
  **/
3655
- NotCrossChainTransferableCurrency: GenericPalletError<Rv>;
3655
+ NotCrossChainTransferableCurrency: GenericPalletError;
3656
3656
 
3657
3657
  /**
3658
3658
  * The message's weight could not be determined.
3659
3659
  **/
3660
- UnweighableMessage: GenericPalletError<Rv>;
3660
+ UnweighableMessage: GenericPalletError;
3661
3661
 
3662
3662
  /**
3663
3663
  * XCM execution failed.
3664
3664
  **/
3665
- XcmExecutionFailed: GenericPalletError<Rv>;
3665
+ XcmExecutionFailed: GenericPalletError;
3666
3666
 
3667
3667
  /**
3668
3668
  * Could not re-anchor the assets to declare the fees for the
3669
3669
  * destination chain.
3670
3670
  **/
3671
- CannotReanchor: GenericPalletError<Rv>;
3671
+ CannotReanchor: GenericPalletError;
3672
3672
 
3673
3673
  /**
3674
3674
  * Could not get ancestry of asset reserve location.
3675
3675
  **/
3676
- InvalidAncestry: GenericPalletError<Rv>;
3676
+ InvalidAncestry: GenericPalletError;
3677
3677
 
3678
3678
  /**
3679
3679
  * The Asset is invalid.
3680
3680
  **/
3681
- InvalidAsset: GenericPalletError<Rv>;
3681
+ InvalidAsset: GenericPalletError;
3682
3682
 
3683
3683
  /**
3684
3684
  * The destination `Location` provided cannot be inverted.
3685
3685
  **/
3686
- DestinationNotInvertible: GenericPalletError<Rv>;
3686
+ DestinationNotInvertible: GenericPalletError;
3687
3687
 
3688
3688
  /**
3689
3689
  * The version of the `Versioned` value used is not able to be
3690
3690
  * interpreted.
3691
3691
  **/
3692
- BadVersion: GenericPalletError<Rv>;
3692
+ BadVersion: GenericPalletError;
3693
3693
 
3694
3694
  /**
3695
3695
  * We tried sending distinct asset and fee but they have different
3696
3696
  * reserve chains.
3697
3697
  **/
3698
- DistinctReserveForAssetAndFee: GenericPalletError<Rv>;
3698
+ DistinctReserveForAssetAndFee: GenericPalletError;
3699
3699
 
3700
3700
  /**
3701
3701
  * The fee is zero.
3702
3702
  **/
3703
- ZeroFee: GenericPalletError<Rv>;
3703
+ ZeroFee: GenericPalletError;
3704
3704
 
3705
3705
  /**
3706
3706
  * The transfering asset amount is zero.
3707
3707
  **/
3708
- ZeroAmount: GenericPalletError<Rv>;
3708
+ ZeroAmount: GenericPalletError;
3709
3709
 
3710
3710
  /**
3711
3711
  * The number of assets to be sent is over the maximum.
3712
3712
  **/
3713
- TooManyAssetsBeingSent: GenericPalletError<Rv>;
3713
+ TooManyAssetsBeingSent: GenericPalletError;
3714
3714
 
3715
3715
  /**
3716
3716
  * The specified index does not exist in a Assets struct.
3717
3717
  **/
3718
- AssetIndexNonExistent: GenericPalletError<Rv>;
3718
+ AssetIndexNonExistent: GenericPalletError;
3719
3719
 
3720
3720
  /**
3721
3721
  * Fee is not enough.
3722
3722
  **/
3723
- FeeNotEnough: GenericPalletError<Rv>;
3723
+ FeeNotEnough: GenericPalletError;
3724
3724
 
3725
3725
  /**
3726
3726
  * Not supported Location
3727
3727
  **/
3728
- NotSupportedLocation: GenericPalletError<Rv>;
3728
+ NotSupportedLocation: GenericPalletError;
3729
3729
 
3730
3730
  /**
3731
3731
  * MinXcmFee not registered for certain reserve location
3732
3732
  **/
3733
- MinXcmFeeNotDefined: GenericPalletError<Rv>;
3733
+ MinXcmFeeNotDefined: GenericPalletError;
3734
3734
 
3735
3735
  /**
3736
3736
  * Asset transfer is limited by RateLimiter.
3737
3737
  **/
3738
- RateLimited: GenericPalletError<Rv>;
3738
+ RateLimited: GenericPalletError;
3739
3739
 
3740
3740
  /**
3741
3741
  * Generic pallet error
3742
3742
  **/
3743
- [error: string]: GenericPalletError<Rv>;
3743
+ [error: string]: GenericPalletError;
3744
3744
  };
3745
3745
  /**
3746
3746
  * Pallet `UnknownTokens`'s errors
@@ -3749,22 +3749,22 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
3749
3749
  /**
3750
3750
  * The balance is too low.
3751
3751
  **/
3752
- BalanceTooLow: GenericPalletError<Rv>;
3752
+ BalanceTooLow: GenericPalletError;
3753
3753
 
3754
3754
  /**
3755
3755
  * The operation will cause balance to overflow.
3756
3756
  **/
3757
- BalanceOverflow: GenericPalletError<Rv>;
3757
+ BalanceOverflow: GenericPalletError;
3758
3758
 
3759
3759
  /**
3760
3760
  * Unhandled asset.
3761
3761
  **/
3762
- UnhandledAsset: GenericPalletError<Rv>;
3762
+ UnhandledAsset: GenericPalletError;
3763
3763
 
3764
3764
  /**
3765
3765
  * Generic pallet error
3766
3766
  **/
3767
- [error: string]: GenericPalletError<Rv>;
3767
+ [error: string]: GenericPalletError;
3768
3768
  };
3769
3769
  /**
3770
3770
  * Pallet `CollatorSelection`'s errors
@@ -3773,92 +3773,92 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
3773
3773
  /**
3774
3774
  * The pallet has too many candidates.
3775
3775
  **/
3776
- TooManyCandidates: GenericPalletError<Rv>;
3776
+ TooManyCandidates: GenericPalletError;
3777
3777
 
3778
3778
  /**
3779
3779
  * Leaving would result in too few candidates.
3780
3780
  **/
3781
- TooFewEligibleCollators: GenericPalletError<Rv>;
3781
+ TooFewEligibleCollators: GenericPalletError;
3782
3782
 
3783
3783
  /**
3784
3784
  * Account is already a candidate.
3785
3785
  **/
3786
- AlreadyCandidate: GenericPalletError<Rv>;
3786
+ AlreadyCandidate: GenericPalletError;
3787
3787
 
3788
3788
  /**
3789
3789
  * Account is not a candidate.
3790
3790
  **/
3791
- NotCandidate: GenericPalletError<Rv>;
3791
+ NotCandidate: GenericPalletError;
3792
3792
 
3793
3793
  /**
3794
3794
  * There are too many Invulnerables.
3795
3795
  **/
3796
- TooManyInvulnerables: GenericPalletError<Rv>;
3796
+ TooManyInvulnerables: GenericPalletError;
3797
3797
 
3798
3798
  /**
3799
3799
  * Account is already an Invulnerable.
3800
3800
  **/
3801
- AlreadyInvulnerable: GenericPalletError<Rv>;
3801
+ AlreadyInvulnerable: GenericPalletError;
3802
3802
 
3803
3803
  /**
3804
3804
  * Account is not an Invulnerable.
3805
3805
  **/
3806
- NotInvulnerable: GenericPalletError<Rv>;
3806
+ NotInvulnerable: GenericPalletError;
3807
3807
 
3808
3808
  /**
3809
3809
  * Account has no associated validator ID.
3810
3810
  **/
3811
- NoAssociatedValidatorId: GenericPalletError<Rv>;
3811
+ NoAssociatedValidatorId: GenericPalletError;
3812
3812
 
3813
3813
  /**
3814
3814
  * Validator ID is not yet registered.
3815
3815
  **/
3816
- ValidatorNotRegistered: GenericPalletError<Rv>;
3816
+ ValidatorNotRegistered: GenericPalletError;
3817
3817
 
3818
3818
  /**
3819
3819
  * Could not insert in the candidate list.
3820
3820
  **/
3821
- InsertToCandidateListFailed: GenericPalletError<Rv>;
3821
+ InsertToCandidateListFailed: GenericPalletError;
3822
3822
 
3823
3823
  /**
3824
3824
  * Could not remove from the candidate list.
3825
3825
  **/
3826
- RemoveFromCandidateListFailed: GenericPalletError<Rv>;
3826
+ RemoveFromCandidateListFailed: GenericPalletError;
3827
3827
 
3828
3828
  /**
3829
3829
  * New deposit amount would be below the minimum candidacy bond.
3830
3830
  **/
3831
- DepositTooLow: GenericPalletError<Rv>;
3831
+ DepositTooLow: GenericPalletError;
3832
3832
 
3833
3833
  /**
3834
3834
  * Could not update the candidate list.
3835
3835
  **/
3836
- UpdateCandidateListFailed: GenericPalletError<Rv>;
3836
+ UpdateCandidateListFailed: GenericPalletError;
3837
3837
 
3838
3838
  /**
3839
3839
  * Deposit amount is too low to take the target's slot in the candidate list.
3840
3840
  **/
3841
- InsufficientBond: GenericPalletError<Rv>;
3841
+ InsufficientBond: GenericPalletError;
3842
3842
 
3843
3843
  /**
3844
3844
  * The target account to be replaced in the candidate list is not a candidate.
3845
3845
  **/
3846
- TargetIsNotCandidate: GenericPalletError<Rv>;
3846
+ TargetIsNotCandidate: GenericPalletError;
3847
3847
 
3848
3848
  /**
3849
3849
  * The updated deposit amount is equal to the amount already reserved.
3850
3850
  **/
3851
- IdenticalDeposit: GenericPalletError<Rv>;
3851
+ IdenticalDeposit: GenericPalletError;
3852
3852
 
3853
3853
  /**
3854
3854
  * Cannot lower candidacy bond while occupying a future collator slot in the list.
3855
3855
  **/
3856
- InvalidUnreserve: GenericPalletError<Rv>;
3856
+ InvalidUnreserve: GenericPalletError;
3857
3857
 
3858
3858
  /**
3859
3859
  * Generic pallet error
3860
3860
  **/
3861
- [error: string]: GenericPalletError<Rv>;
3861
+ [error: string]: GenericPalletError;
3862
3862
  };
3863
3863
  /**
3864
3864
  * Pallet `Session`'s errors
@@ -3867,32 +3867,32 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
3867
3867
  /**
3868
3868
  * Invalid ownership proof.
3869
3869
  **/
3870
- InvalidProof: GenericPalletError<Rv>;
3870
+ InvalidProof: GenericPalletError;
3871
3871
 
3872
3872
  /**
3873
3873
  * No associated validator ID for account.
3874
3874
  **/
3875
- NoAssociatedValidatorId: GenericPalletError<Rv>;
3875
+ NoAssociatedValidatorId: GenericPalletError;
3876
3876
 
3877
3877
  /**
3878
3878
  * Registered duplicate key.
3879
3879
  **/
3880
- DuplicatedKey: GenericPalletError<Rv>;
3880
+ DuplicatedKey: GenericPalletError;
3881
3881
 
3882
3882
  /**
3883
3883
  * No keys are associated with this account.
3884
3884
  **/
3885
- NoKeys: GenericPalletError<Rv>;
3885
+ NoKeys: GenericPalletError;
3886
3886
 
3887
3887
  /**
3888
3888
  * Key setting account is not live, so it's impossible to associate keys.
3889
3889
  **/
3890
- NoAccount: GenericPalletError<Rv>;
3890
+ NoAccount: GenericPalletError;
3891
3891
 
3892
3892
  /**
3893
3893
  * Generic pallet error
3894
3894
  **/
3895
- [error: string]: GenericPalletError<Rv>;
3895
+ [error: string]: GenericPalletError;
3896
3896
  };
3897
3897
  /**
3898
3898
  * Pallet `Ismp`'s errors
@@ -3901,32 +3901,32 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
3901
3901
  /**
3902
3902
  * Invalid ISMP message
3903
3903
  **/
3904
- InvalidMessage: GenericPalletError<Rv>;
3904
+ InvalidMessage: GenericPalletError;
3905
3905
 
3906
3906
  /**
3907
3907
  * Requested message was not found
3908
3908
  **/
3909
- MessageNotFound: GenericPalletError<Rv>;
3909
+ MessageNotFound: GenericPalletError;
3910
3910
 
3911
3911
  /**
3912
3912
  * Encountered an error while creating the consensus client.
3913
3913
  **/
3914
- ConsensusClientCreationFailed: GenericPalletError<Rv>;
3914
+ ConsensusClientCreationFailed: GenericPalletError;
3915
3915
 
3916
3916
  /**
3917
3917
  * Couldn't update unbonding period
3918
3918
  **/
3919
- UnbondingPeriodUpdateFailed: GenericPalletError<Rv>;
3919
+ UnbondingPeriodUpdateFailed: GenericPalletError;
3920
3920
 
3921
3921
  /**
3922
3922
  * Couldn't update challenge period
3923
3923
  **/
3924
- ChallengePeriodUpdateFailed: GenericPalletError<Rv>;
3924
+ ChallengePeriodUpdateFailed: GenericPalletError;
3925
3925
 
3926
3926
  /**
3927
3927
  * Generic pallet error
3928
3928
  **/
3929
- [error: string]: GenericPalletError<Rv>;
3929
+ [error: string]: GenericPalletError;
3930
3930
  };
3931
3931
  /**
3932
3932
  * Pallet `Hyperbridge`'s errors
@@ -3935,7 +3935,7 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
3935
3935
  /**
3936
3936
  * Generic pallet error
3937
3937
  **/
3938
- [error: string]: GenericPalletError<Rv>;
3938
+ [error: string]: GenericPalletError;
3939
3939
  };
3940
3940
  /**
3941
3941
  * Pallet `TokenGateway`'s errors
@@ -3944,75 +3944,86 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
3944
3944
  /**
3945
3945
  * A asset that has not been registered
3946
3946
  **/
3947
- UnregisteredAsset: GenericPalletError<Rv>;
3947
+ UnregisteredAsset: GenericPalletError;
3948
3948
 
3949
3949
  /**
3950
3950
  * Error while teleporting asset
3951
3951
  **/
3952
- AssetTeleportError: GenericPalletError<Rv>;
3952
+ AssetTeleportError: GenericPalletError;
3953
3953
 
3954
3954
  /**
3955
3955
  * Coprocessor was not configured in the runtime
3956
3956
  **/
3957
- CoprocessorNotConfigured: GenericPalletError<Rv>;
3957
+ CoprocessorNotConfigured: GenericPalletError;
3958
3958
 
3959
3959
  /**
3960
3960
  * Asset or update Dispatch Error
3961
3961
  **/
3962
- DispatchError: GenericPalletError<Rv>;
3962
+ DispatchError: GenericPalletError;
3963
3963
 
3964
3964
  /**
3965
3965
  * Asset Id creation failed
3966
3966
  **/
3967
- AssetCreationError: GenericPalletError<Rv>;
3967
+ AssetCreationError: GenericPalletError;
3968
3968
 
3969
3969
  /**
3970
3970
  * Asset decimals not found
3971
3971
  **/
3972
- AssetDecimalsNotFound: GenericPalletError<Rv>;
3972
+ AssetDecimalsNotFound: GenericPalletError;
3973
3973
 
3974
3974
  /**
3975
3975
  * Protocol Params have not been initialized
3976
3976
  **/
3977
- NotInitialized: GenericPalletError<Rv>;
3977
+ NotInitialized: GenericPalletError;
3978
3978
 
3979
3979
  /**
3980
3980
  * Unknown Asset
3981
3981
  **/
3982
- UnknownAsset: GenericPalletError<Rv>;
3982
+ UnknownAsset: GenericPalletError;
3983
3983
 
3984
3984
  /**
3985
3985
  * Only root or asset owner can update asset
3986
3986
  **/
3987
- NotAssetOwner: GenericPalletError<Rv>;
3987
+ NotAssetOwner: GenericPalletError;
3988
3988
 
3989
3989
  /**
3990
3990
  * Generic pallet error
3991
3991
  **/
3992
- [error: string]: GenericPalletError<Rv>;
3992
+ [error: string]: GenericPalletError;
3993
+ };
3994
+ /**
3995
+ * Pallet `IsmpOracle`'s errors
3996
+ **/
3997
+ ismpOracle: {
3998
+ GetRequestFailed: GenericPalletError;
3999
+
4000
+ /**
4001
+ * Generic pallet error
4002
+ **/
4003
+ [error: string]: GenericPalletError;
3993
4004
  };
3994
4005
  /**
3995
4006
  * Pallet `EmaOracle`'s errors
3996
4007
  **/
3997
4008
  emaOracle: {
3998
- TooManyUniqueEntries: GenericPalletError<Rv>;
3999
- OnTradeValueZero: GenericPalletError<Rv>;
4000
- OracleNotFound: GenericPalletError<Rv>;
4009
+ TooManyUniqueEntries: GenericPalletError;
4010
+ OnTradeValueZero: GenericPalletError;
4011
+ OracleNotFound: GenericPalletError;
4001
4012
 
4002
4013
  /**
4003
4014
  * Asset not found
4004
4015
  **/
4005
- AssetNotFound: GenericPalletError<Rv>;
4016
+ AssetNotFound: GenericPalletError;
4006
4017
 
4007
4018
  /**
4008
4019
  * The new price is outside the max allowed range
4009
4020
  **/
4010
- PriceOutsideAllowedRange: GenericPalletError<Rv>;
4021
+ PriceOutsideAllowedRange: GenericPalletError;
4011
4022
 
4012
4023
  /**
4013
4024
  * Generic pallet error
4014
4025
  **/
4015
- [error: string]: GenericPalletError<Rv>;
4026
+ [error: string]: GenericPalletError;
4016
4027
  };
4017
4028
  /**
4018
4029
  * Pallet `Broadcast`'s errors
@@ -4021,16 +4032,16 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
4021
4032
  /**
4022
4033
  * The execution context call stack has reached its maximum size
4023
4034
  **/
4024
- ExecutionCallStackOverflow: GenericPalletError<Rv>;
4035
+ ExecutionCallStackOverflow: GenericPalletError;
4025
4036
 
4026
4037
  /**
4027
4038
  * The execution context call stack is empty, unable to decrease level
4028
4039
  **/
4029
- ExecutionCallStackUnderflow: GenericPalletError<Rv>;
4040
+ ExecutionCallStackUnderflow: GenericPalletError;
4030
4041
 
4031
4042
  /**
4032
4043
  * Generic pallet error
4033
4044
  **/
4034
- [error: string]: GenericPalletError<Rv>;
4045
+ [error: string]: GenericPalletError;
4035
4046
  };
4036
4047
  }