@dedot/chaintypes 0.194.0 → 0.195.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 -3
  166. package/westend/query.d.ts +312 -434
  167. package/westend/runtime.d.ts +83 -135
  168. package/westend/tx.d.ts +807 -1179
  169. package/westend/view-functions.d.ts +7 -12
  170. package/westend-asset-hub/consts.d.ts +2 -2
  171. package/westend-asset-hub/errors.d.ts +605 -605
  172. package/westend-asset-hub/events.d.ts +265 -614
  173. package/westend-asset-hub/index.d.ts +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
package/aleph/errors.d.ts CHANGED
@@ -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,50 +11,50 @@ 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
  * No upgrade authorized.
46
46
  **/
47
- NothingAuthorized: GenericPalletError<Rv>;
47
+ NothingAuthorized: GenericPalletError;
48
48
 
49
49
  /**
50
50
  * The submitted code is not authorized.
51
51
  **/
52
- Unauthorized: GenericPalletError<Rv>;
52
+ Unauthorized: GenericPalletError;
53
53
 
54
54
  /**
55
55
  * Generic pallet error
56
56
  **/
57
- [error: string]: GenericPalletError<Rv>;
57
+ [error: string]: GenericPalletError;
58
58
  };
59
59
  /**
60
60
  * Pallet `Scheduler`'s errors
@@ -63,32 +63,32 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
63
63
  /**
64
64
  * Failed to schedule a call
65
65
  **/
66
- FailedToSchedule: GenericPalletError<Rv>;
66
+ FailedToSchedule: GenericPalletError;
67
67
 
68
68
  /**
69
69
  * Cannot find the scheduled call.
70
70
  **/
71
- NotFound: GenericPalletError<Rv>;
71
+ NotFound: GenericPalletError;
72
72
 
73
73
  /**
74
74
  * Given target block number is in the past.
75
75
  **/
76
- TargetBlockNumberInPast: GenericPalletError<Rv>;
76
+ TargetBlockNumberInPast: GenericPalletError;
77
77
 
78
78
  /**
79
79
  * Reschedule failed because it does not change scheduled time.
80
80
  **/
81
- RescheduleNoChange: GenericPalletError<Rv>;
81
+ RescheduleNoChange: GenericPalletError;
82
82
 
83
83
  /**
84
84
  * Attempt to use a non-named function on a named task.
85
85
  **/
86
- Named: GenericPalletError<Rv>;
86
+ Named: GenericPalletError;
87
87
 
88
88
  /**
89
89
  * Generic pallet error
90
90
  **/
91
- [error: string]: GenericPalletError<Rv>;
91
+ [error: string]: GenericPalletError;
92
92
  };
93
93
  /**
94
94
  * Pallet `Balances`'s errors
@@ -97,57 +97,57 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
97
97
  /**
98
98
  * Vesting balance too high to send value.
99
99
  **/
100
- VestingBalance: GenericPalletError<Rv>;
100
+ VestingBalance: GenericPalletError;
101
101
 
102
102
  /**
103
103
  * Account liquidity restrictions prevent withdrawal.
104
104
  **/
105
- LiquidityRestrictions: GenericPalletError<Rv>;
105
+ LiquidityRestrictions: GenericPalletError;
106
106
 
107
107
  /**
108
108
  * Balance too low to send value.
109
109
  **/
110
- InsufficientBalance: GenericPalletError<Rv>;
110
+ InsufficientBalance: GenericPalletError;
111
111
 
112
112
  /**
113
113
  * Value too low to create account due to existential deposit.
114
114
  **/
115
- ExistentialDeposit: GenericPalletError<Rv>;
115
+ ExistentialDeposit: GenericPalletError;
116
116
 
117
117
  /**
118
118
  * Transfer/payment would kill account.
119
119
  **/
120
- Expendability: GenericPalletError<Rv>;
120
+ Expendability: GenericPalletError;
121
121
 
122
122
  /**
123
123
  * A vesting schedule already exists for this account.
124
124
  **/
125
- ExistingVestingSchedule: GenericPalletError<Rv>;
125
+ ExistingVestingSchedule: GenericPalletError;
126
126
 
127
127
  /**
128
128
  * Beneficiary account must pre-exist.
129
129
  **/
130
- DeadAccount: GenericPalletError<Rv>;
130
+ DeadAccount: GenericPalletError;
131
131
 
132
132
  /**
133
133
  * Number of named reserves exceed `MaxReserves`.
134
134
  **/
135
- TooManyReserves: GenericPalletError<Rv>;
135
+ TooManyReserves: GenericPalletError;
136
136
 
137
137
  /**
138
138
  * Number of holds exceed `MaxHolds`.
139
139
  **/
140
- TooManyHolds: GenericPalletError<Rv>;
140
+ TooManyHolds: GenericPalletError;
141
141
 
142
142
  /**
143
143
  * Number of freezes exceed `MaxFreezes`.
144
144
  **/
145
- TooManyFreezes: GenericPalletError<Rv>;
145
+ TooManyFreezes: GenericPalletError;
146
146
 
147
147
  /**
148
148
  * Generic pallet error
149
149
  **/
150
- [error: string]: GenericPalletError<Rv>;
150
+ [error: string]: GenericPalletError;
151
151
  };
152
152
  /**
153
153
  * Pallet `Staking`'s errors
@@ -156,146 +156,146 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
156
156
  /**
157
157
  * Not a controller account.
158
158
  **/
159
- NotController: GenericPalletError<Rv>;
159
+ NotController: GenericPalletError;
160
160
 
161
161
  /**
162
162
  * Not a stash account.
163
163
  **/
164
- NotStash: GenericPalletError<Rv>;
164
+ NotStash: GenericPalletError;
165
165
 
166
166
  /**
167
167
  * Stash is already bonded.
168
168
  **/
169
- AlreadyBonded: GenericPalletError<Rv>;
169
+ AlreadyBonded: GenericPalletError;
170
170
 
171
171
  /**
172
172
  * Controller is already paired.
173
173
  **/
174
- AlreadyPaired: GenericPalletError<Rv>;
174
+ AlreadyPaired: GenericPalletError;
175
175
 
176
176
  /**
177
177
  * Targets cannot be empty.
178
178
  **/
179
- EmptyTargets: GenericPalletError<Rv>;
179
+ EmptyTargets: GenericPalletError;
180
180
 
181
181
  /**
182
182
  * Duplicate index.
183
183
  **/
184
- DuplicateIndex: GenericPalletError<Rv>;
184
+ DuplicateIndex: GenericPalletError;
185
185
 
186
186
  /**
187
187
  * Slash record index out of bounds.
188
188
  **/
189
- InvalidSlashIndex: GenericPalletError<Rv>;
189
+ InvalidSlashIndex: GenericPalletError;
190
190
 
191
191
  /**
192
192
  * Cannot have a validator or nominator role, with value less than the minimum defined by
193
193
  * governance (see `MinValidatorBond` and `MinNominatorBond`). If unbonding is the
194
194
  * intention, `chill` first to remove one's role as validator/nominator.
195
195
  **/
196
- InsufficientBond: GenericPalletError<Rv>;
196
+ InsufficientBond: GenericPalletError;
197
197
 
198
198
  /**
199
199
  * Can not schedule more unlock chunks.
200
200
  **/
201
- NoMoreChunks: GenericPalletError<Rv>;
201
+ NoMoreChunks: GenericPalletError;
202
202
 
203
203
  /**
204
204
  * Can not rebond without unlocking chunks.
205
205
  **/
206
- NoUnlockChunk: GenericPalletError<Rv>;
206
+ NoUnlockChunk: GenericPalletError;
207
207
 
208
208
  /**
209
209
  * Attempting to target a stash that still has funds.
210
210
  **/
211
- FundedTarget: GenericPalletError<Rv>;
211
+ FundedTarget: GenericPalletError;
212
212
 
213
213
  /**
214
214
  * Invalid era to reward.
215
215
  **/
216
- InvalidEraToReward: GenericPalletError<Rv>;
216
+ InvalidEraToReward: GenericPalletError;
217
217
 
218
218
  /**
219
219
  * Invalid number of nominations.
220
220
  **/
221
- InvalidNumberOfNominations: GenericPalletError<Rv>;
221
+ InvalidNumberOfNominations: GenericPalletError;
222
222
 
223
223
  /**
224
224
  * Items are not sorted and unique.
225
225
  **/
226
- NotSortedAndUnique: GenericPalletError<Rv>;
226
+ NotSortedAndUnique: GenericPalletError;
227
227
 
228
228
  /**
229
229
  * Rewards for this era have already been claimed for this validator.
230
230
  **/
231
- AlreadyClaimed: GenericPalletError<Rv>;
231
+ AlreadyClaimed: GenericPalletError;
232
232
 
233
233
  /**
234
234
  * No nominators exist on this page.
235
235
  **/
236
- InvalidPage: GenericPalletError<Rv>;
236
+ InvalidPage: GenericPalletError;
237
237
 
238
238
  /**
239
239
  * Incorrect previous history depth input provided.
240
240
  **/
241
- IncorrectHistoryDepth: GenericPalletError<Rv>;
241
+ IncorrectHistoryDepth: GenericPalletError;
242
242
 
243
243
  /**
244
244
  * Incorrect number of slashing spans provided.
245
245
  **/
246
- IncorrectSlashingSpans: GenericPalletError<Rv>;
246
+ IncorrectSlashingSpans: GenericPalletError;
247
247
 
248
248
  /**
249
249
  * Internal state has become somehow corrupted and the operation cannot continue.
250
250
  **/
251
- BadState: GenericPalletError<Rv>;
251
+ BadState: GenericPalletError;
252
252
 
253
253
  /**
254
254
  * Too many nomination targets supplied.
255
255
  **/
256
- TooManyTargets: GenericPalletError<Rv>;
256
+ TooManyTargets: GenericPalletError;
257
257
 
258
258
  /**
259
259
  * A nomination target was supplied that was blocked or otherwise not a validator.
260
260
  **/
261
- BadTarget: GenericPalletError<Rv>;
261
+ BadTarget: GenericPalletError;
262
262
 
263
263
  /**
264
264
  * The user has enough bond and thus cannot be chilled forcefully by an external person.
265
265
  **/
266
- CannotChillOther: GenericPalletError<Rv>;
266
+ CannotChillOther: GenericPalletError;
267
267
 
268
268
  /**
269
269
  * There are too many nominators in the system. Governance needs to adjust the staking
270
270
  * settings to keep things safe for the runtime.
271
271
  **/
272
- TooManyNominators: GenericPalletError<Rv>;
272
+ TooManyNominators: GenericPalletError;
273
273
 
274
274
  /**
275
275
  * There are too many validator candidates in the system. Governance needs to adjust the
276
276
  * staking settings to keep things safe for the runtime.
277
277
  **/
278
- TooManyValidators: GenericPalletError<Rv>;
278
+ TooManyValidators: GenericPalletError;
279
279
 
280
280
  /**
281
281
  * Commission is too low. Must be at least `MinCommission`.
282
282
  **/
283
- CommissionTooLow: GenericPalletError<Rv>;
283
+ CommissionTooLow: GenericPalletError;
284
284
 
285
285
  /**
286
286
  * Some bound is not met.
287
287
  **/
288
- BoundNotMet: GenericPalletError<Rv>;
288
+ BoundNotMet: GenericPalletError;
289
289
 
290
290
  /**
291
291
  * Used when attempting to use deprecated controller account logic.
292
292
  **/
293
- ControllerDeprecated: GenericPalletError<Rv>;
293
+ ControllerDeprecated: GenericPalletError;
294
294
 
295
295
  /**
296
296
  * Generic pallet error
297
297
  **/
298
- [error: string]: GenericPalletError<Rv>;
298
+ [error: string]: GenericPalletError;
299
299
  };
300
300
  /**
301
301
  * Pallet `Session`'s errors
@@ -304,47 +304,47 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
304
304
  /**
305
305
  * Invalid ownership proof.
306
306
  **/
307
- InvalidProof: GenericPalletError<Rv>;
307
+ InvalidProof: GenericPalletError;
308
308
 
309
309
  /**
310
310
  * No associated validator ID for account.
311
311
  **/
312
- NoAssociatedValidatorId: GenericPalletError<Rv>;
312
+ NoAssociatedValidatorId: GenericPalletError;
313
313
 
314
314
  /**
315
315
  * Registered duplicate key.
316
316
  **/
317
- DuplicatedKey: GenericPalletError<Rv>;
317
+ DuplicatedKey: GenericPalletError;
318
318
 
319
319
  /**
320
320
  * No keys are associated with this account.
321
321
  **/
322
- NoKeys: GenericPalletError<Rv>;
322
+ NoKeys: GenericPalletError;
323
323
 
324
324
  /**
325
325
  * Key setting account is not live, so it's impossible to associate keys.
326
326
  **/
327
- NoAccount: GenericPalletError<Rv>;
327
+ NoAccount: GenericPalletError;
328
328
 
329
329
  /**
330
330
  * Generic pallet error
331
331
  **/
332
- [error: string]: GenericPalletError<Rv>;
332
+ [error: string]: GenericPalletError;
333
333
  };
334
334
  /**
335
335
  * Pallet `Elections`'s errors
336
336
  **/
337
337
  elections: {
338
- NotEnoughValidators: GenericPalletError<Rv>;
339
- NotEnoughReservedValidators: GenericPalletError<Rv>;
340
- NotEnoughNonReservedValidators: GenericPalletError<Rv>;
341
- NonUniqueListOfValidators: GenericPalletError<Rv>;
342
- NonReservedFinalitySeatsLargerThanNonReservedSeats: GenericPalletError<Rv>;
338
+ NotEnoughValidators: GenericPalletError;
339
+ NotEnoughReservedValidators: GenericPalletError;
340
+ NotEnoughNonReservedValidators: GenericPalletError;
341
+ NonUniqueListOfValidators: GenericPalletError;
342
+ NonReservedFinalitySeatsLargerThanNonReservedSeats: GenericPalletError;
343
343
 
344
344
  /**
345
345
  * Generic pallet error
346
346
  **/
347
- [error: string]: GenericPalletError<Rv>;
347
+ [error: string]: GenericPalletError;
348
348
  };
349
349
  /**
350
350
  * Pallet `Treasury`'s errors
@@ -353,68 +353,68 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
353
353
  /**
354
354
  * Proposer's balance is too low.
355
355
  **/
356
- InsufficientProposersBalance: GenericPalletError<Rv>;
356
+ InsufficientProposersBalance: GenericPalletError;
357
357
 
358
358
  /**
359
359
  * No proposal, bounty or spend at that index.
360
360
  **/
361
- InvalidIndex: GenericPalletError<Rv>;
361
+ InvalidIndex: GenericPalletError;
362
362
 
363
363
  /**
364
364
  * Too many approvals in the queue.
365
365
  **/
366
- TooManyApprovals: GenericPalletError<Rv>;
366
+ TooManyApprovals: GenericPalletError;
367
367
 
368
368
  /**
369
369
  * The spend origin is valid but the amount it is allowed to spend is lower than the
370
370
  * amount to be spent.
371
371
  **/
372
- InsufficientPermission: GenericPalletError<Rv>;
372
+ InsufficientPermission: GenericPalletError;
373
373
 
374
374
  /**
375
375
  * Proposal has not been approved.
376
376
  **/
377
- ProposalNotApproved: GenericPalletError<Rv>;
377
+ ProposalNotApproved: GenericPalletError;
378
378
 
379
379
  /**
380
380
  * The balance of the asset kind is not convertible to the balance of the native asset.
381
381
  **/
382
- FailedToConvertBalance: GenericPalletError<Rv>;
382
+ FailedToConvertBalance: GenericPalletError;
383
383
 
384
384
  /**
385
385
  * The spend has expired and cannot be claimed.
386
386
  **/
387
- SpendExpired: GenericPalletError<Rv>;
387
+ SpendExpired: GenericPalletError;
388
388
 
389
389
  /**
390
390
  * The spend is not yet eligible for payout.
391
391
  **/
392
- EarlyPayout: GenericPalletError<Rv>;
392
+ EarlyPayout: GenericPalletError;
393
393
 
394
394
  /**
395
395
  * The payment has already been attempted.
396
396
  **/
397
- AlreadyAttempted: GenericPalletError<Rv>;
397
+ AlreadyAttempted: GenericPalletError;
398
398
 
399
399
  /**
400
400
  * There was some issue with the mechanism of payment.
401
401
  **/
402
- PayoutError: GenericPalletError<Rv>;
402
+ PayoutError: GenericPalletError;
403
403
 
404
404
  /**
405
405
  * The payout was not yet attempted/claimed.
406
406
  **/
407
- NotAttempted: GenericPalletError<Rv>;
407
+ NotAttempted: GenericPalletError;
408
408
 
409
409
  /**
410
410
  * The payment has neither failed nor succeeded yet.
411
411
  **/
412
- Inconclusive: GenericPalletError<Rv>;
412
+ Inconclusive: GenericPalletError;
413
413
 
414
414
  /**
415
415
  * Generic pallet error
416
416
  **/
417
- [error: string]: GenericPalletError<Rv>;
417
+ [error: string]: GenericPalletError;
418
418
  };
419
419
  /**
420
420
  * Pallet `Vesting`'s errors
@@ -423,33 +423,33 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
423
423
  /**
424
424
  * The account given is not vesting.
425
425
  **/
426
- NotVesting: GenericPalletError<Rv>;
426
+ NotVesting: GenericPalletError;
427
427
 
428
428
  /**
429
429
  * The account already has `MaxVestingSchedules` count of schedules and thus
430
430
  * cannot add another one. Consider merging existing schedules in order to add another.
431
431
  **/
432
- AtMaxVestingSchedules: GenericPalletError<Rv>;
432
+ AtMaxVestingSchedules: GenericPalletError;
433
433
 
434
434
  /**
435
435
  * Amount being transferred is too low to create a vesting schedule.
436
436
  **/
437
- AmountLow: GenericPalletError<Rv>;
437
+ AmountLow: GenericPalletError;
438
438
 
439
439
  /**
440
440
  * An index was out of bounds of the vesting schedules.
441
441
  **/
442
- ScheduleIndexOutOfBounds: GenericPalletError<Rv>;
442
+ ScheduleIndexOutOfBounds: GenericPalletError;
443
443
 
444
444
  /**
445
445
  * Failed to create a new schedule because some parameter was invalid.
446
446
  **/
447
- InvalidScheduleParams: GenericPalletError<Rv>;
447
+ InvalidScheduleParams: GenericPalletError;
448
448
 
449
449
  /**
450
450
  * Generic pallet error
451
451
  **/
452
- [error: string]: GenericPalletError<Rv>;
452
+ [error: string]: GenericPalletError;
453
453
  };
454
454
  /**
455
455
  * Pallet `Utility`'s errors
@@ -458,12 +458,12 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
458
458
  /**
459
459
  * Too many calls batched.
460
460
  **/
461
- TooManyCalls: GenericPalletError<Rv>;
461
+ TooManyCalls: GenericPalletError;
462
462
 
463
463
  /**
464
464
  * Generic pallet error
465
465
  **/
466
- [error: string]: GenericPalletError<Rv>;
466
+ [error: string]: GenericPalletError;
467
467
  };
468
468
  /**
469
469
  * Pallet `Multisig`'s errors
@@ -472,77 +472,77 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
472
472
  /**
473
473
  * Threshold must be 2 or greater.
474
474
  **/
475
- MinimumThreshold: GenericPalletError<Rv>;
475
+ MinimumThreshold: GenericPalletError;
476
476
 
477
477
  /**
478
478
  * Call is already approved by this signatory.
479
479
  **/
480
- AlreadyApproved: GenericPalletError<Rv>;
480
+ AlreadyApproved: GenericPalletError;
481
481
 
482
482
  /**
483
483
  * Call doesn't need any (more) approvals.
484
484
  **/
485
- NoApprovalsNeeded: GenericPalletError<Rv>;
485
+ NoApprovalsNeeded: GenericPalletError;
486
486
 
487
487
  /**
488
488
  * There are too few signatories in the list.
489
489
  **/
490
- TooFewSignatories: GenericPalletError<Rv>;
490
+ TooFewSignatories: GenericPalletError;
491
491
 
492
492
  /**
493
493
  * There are too many signatories in the list.
494
494
  **/
495
- TooManySignatories: GenericPalletError<Rv>;
495
+ TooManySignatories: GenericPalletError;
496
496
 
497
497
  /**
498
498
  * The signatories were provided out of order; they should be ordered.
499
499
  **/
500
- SignatoriesOutOfOrder: GenericPalletError<Rv>;
500
+ SignatoriesOutOfOrder: GenericPalletError;
501
501
 
502
502
  /**
503
503
  * The sender was contained in the other signatories; it shouldn't be.
504
504
  **/
505
- SenderInSignatories: GenericPalletError<Rv>;
505
+ SenderInSignatories: GenericPalletError;
506
506
 
507
507
  /**
508
508
  * Multisig operation not found when attempting to cancel.
509
509
  **/
510
- NotFound: GenericPalletError<Rv>;
510
+ NotFound: GenericPalletError;
511
511
 
512
512
  /**
513
513
  * Only the account that originally created the multisig is able to cancel it.
514
514
  **/
515
- NotOwner: GenericPalletError<Rv>;
515
+ NotOwner: GenericPalletError;
516
516
 
517
517
  /**
518
518
  * No timepoint was given, yet the multisig operation is already underway.
519
519
  **/
520
- NoTimepoint: GenericPalletError<Rv>;
520
+ NoTimepoint: GenericPalletError;
521
521
 
522
522
  /**
523
523
  * A different timepoint was given to the multisig operation that is underway.
524
524
  **/
525
- WrongTimepoint: GenericPalletError<Rv>;
525
+ WrongTimepoint: GenericPalletError;
526
526
 
527
527
  /**
528
528
  * A timepoint was given, yet no multisig operation is underway.
529
529
  **/
530
- UnexpectedTimepoint: GenericPalletError<Rv>;
530
+ UnexpectedTimepoint: GenericPalletError;
531
531
 
532
532
  /**
533
533
  * The maximum weight information provided was too low.
534
534
  **/
535
- MaxWeightTooLow: GenericPalletError<Rv>;
535
+ MaxWeightTooLow: GenericPalletError;
536
536
 
537
537
  /**
538
538
  * The data to be stored is already stored.
539
539
  **/
540
- AlreadyStored: GenericPalletError<Rv>;
540
+ AlreadyStored: GenericPalletError;
541
541
 
542
542
  /**
543
543
  * Generic pallet error
544
544
  **/
545
- [error: string]: GenericPalletError<Rv>;
545
+ [error: string]: GenericPalletError;
546
546
  };
547
547
  /**
548
548
  * Pallet `Sudo`'s errors
@@ -551,12 +551,12 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
551
551
  /**
552
552
  * Sender must be the Sudo account.
553
553
  **/
554
- RequireSudo: GenericPalletError<Rv>;
554
+ RequireSudo: GenericPalletError;
555
555
 
556
556
  /**
557
557
  * Generic pallet error
558
558
  **/
559
- [error: string]: GenericPalletError<Rv>;
559
+ [error: string]: GenericPalletError;
560
560
  };
561
561
  /**
562
562
  * Pallet `Contracts`'s errors
@@ -565,120 +565,120 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
565
565
  /**
566
566
  * Invalid schedule supplied, e.g. with zero weight of a basic operation.
567
567
  **/
568
- InvalidSchedule: GenericPalletError<Rv>;
568
+ InvalidSchedule: GenericPalletError;
569
569
 
570
570
  /**
571
571
  * Invalid combination of flags supplied to `seal_call` or `seal_delegate_call`.
572
572
  **/
573
- InvalidCallFlags: GenericPalletError<Rv>;
573
+ InvalidCallFlags: GenericPalletError;
574
574
 
575
575
  /**
576
576
  * The executed contract exhausted its gas limit.
577
577
  **/
578
- OutOfGas: GenericPalletError<Rv>;
578
+ OutOfGas: GenericPalletError;
579
579
 
580
580
  /**
581
581
  * The output buffer supplied to a contract API call was too small.
582
582
  **/
583
- OutputBufferTooSmall: GenericPalletError<Rv>;
583
+ OutputBufferTooSmall: GenericPalletError;
584
584
 
585
585
  /**
586
586
  * Performing the requested transfer failed. Probably because there isn't enough
587
587
  * free balance in the sender's account.
588
588
  **/
589
- TransferFailed: GenericPalletError<Rv>;
589
+ TransferFailed: GenericPalletError;
590
590
 
591
591
  /**
592
592
  * Performing a call was denied because the calling depth reached the limit
593
593
  * of what is specified in the schedule.
594
594
  **/
595
- MaxCallDepthReached: GenericPalletError<Rv>;
595
+ MaxCallDepthReached: GenericPalletError;
596
596
 
597
597
  /**
598
598
  * No contract was found at the specified address.
599
599
  **/
600
- ContractNotFound: GenericPalletError<Rv>;
600
+ ContractNotFound: GenericPalletError;
601
601
 
602
602
  /**
603
603
  * The code supplied to `instantiate_with_code` exceeds the limit specified in the
604
604
  * current schedule.
605
605
  **/
606
- CodeTooLarge: GenericPalletError<Rv>;
606
+ CodeTooLarge: GenericPalletError;
607
607
 
608
608
  /**
609
609
  * No code could be found at the supplied code hash.
610
610
  **/
611
- CodeNotFound: GenericPalletError<Rv>;
611
+ CodeNotFound: GenericPalletError;
612
612
 
613
613
  /**
614
614
  * No code info could be found at the supplied code hash.
615
615
  **/
616
- CodeInfoNotFound: GenericPalletError<Rv>;
616
+ CodeInfoNotFound: GenericPalletError;
617
617
 
618
618
  /**
619
619
  * A buffer outside of sandbox memory was passed to a contract API function.
620
620
  **/
621
- OutOfBounds: GenericPalletError<Rv>;
621
+ OutOfBounds: GenericPalletError;
622
622
 
623
623
  /**
624
624
  * Input passed to a contract API function failed to decode as expected type.
625
625
  **/
626
- DecodingFailed: GenericPalletError<Rv>;
626
+ DecodingFailed: GenericPalletError;
627
627
 
628
628
  /**
629
629
  * Contract trapped during execution.
630
630
  **/
631
- ContractTrapped: GenericPalletError<Rv>;
631
+ ContractTrapped: GenericPalletError;
632
632
 
633
633
  /**
634
634
  * The size defined in `T::MaxValueSize` was exceeded.
635
635
  **/
636
- ValueTooLarge: GenericPalletError<Rv>;
636
+ ValueTooLarge: GenericPalletError;
637
637
 
638
638
  /**
639
639
  * Termination of a contract is not allowed while the contract is already
640
640
  * on the call stack. Can be triggered by `seal_terminate`.
641
641
  **/
642
- TerminatedWhileReentrant: GenericPalletError<Rv>;
642
+ TerminatedWhileReentrant: GenericPalletError;
643
643
 
644
644
  /**
645
645
  * `seal_call` forwarded this contracts input. It therefore is no longer available.
646
646
  **/
647
- InputForwarded: GenericPalletError<Rv>;
647
+ InputForwarded: GenericPalletError;
648
648
 
649
649
  /**
650
650
  * The subject passed to `seal_random` exceeds the limit.
651
651
  **/
652
- RandomSubjectTooLong: GenericPalletError<Rv>;
652
+ RandomSubjectTooLong: GenericPalletError;
653
653
 
654
654
  /**
655
655
  * The amount of topics passed to `seal_deposit_events` exceeds the limit.
656
656
  **/
657
- TooManyTopics: GenericPalletError<Rv>;
657
+ TooManyTopics: GenericPalletError;
658
658
 
659
659
  /**
660
660
  * The chain does not provide a chain extension. Calling the chain extension results
661
661
  * in this error. Note that this usually shouldn't happen as deploying such contracts
662
662
  * is rejected.
663
663
  **/
664
- NoChainExtension: GenericPalletError<Rv>;
664
+ NoChainExtension: GenericPalletError;
665
665
 
666
666
  /**
667
667
  * Failed to decode the XCM program.
668
668
  **/
669
- XcmDecodeFailed: GenericPalletError<Rv>;
669
+ XcmDecodeFailed: GenericPalletError;
670
670
 
671
671
  /**
672
672
  * A contract with the same AccountId already exists.
673
673
  **/
674
- DuplicateContract: GenericPalletError<Rv>;
674
+ DuplicateContract: GenericPalletError;
675
675
 
676
676
  /**
677
677
  * A contract self destructed in its constructor.
678
678
  *
679
679
  * This can be triggered by a call to `seal_terminate`.
680
680
  **/
681
- TerminatedInConstructor: GenericPalletError<Rv>;
681
+ TerminatedInConstructor: GenericPalletError;
682
682
 
683
683
  /**
684
684
  * A call tried to invoke a contract that is flagged as non-reentrant.
@@ -686,22 +686,22 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
686
686
  * into `pallet-contracts`. This would make the whole pallet reentrant with regard to
687
687
  * contract code execution which is not supported.
688
688
  **/
689
- ReentranceDenied: GenericPalletError<Rv>;
689
+ ReentranceDenied: GenericPalletError;
690
690
 
691
691
  /**
692
692
  * Origin doesn't have enough balance to pay the required storage deposits.
693
693
  **/
694
- StorageDepositNotEnoughFunds: GenericPalletError<Rv>;
694
+ StorageDepositNotEnoughFunds: GenericPalletError;
695
695
 
696
696
  /**
697
697
  * More storage was created than allowed by the storage deposit limit.
698
698
  **/
699
- StorageDepositLimitExhausted: GenericPalletError<Rv>;
699
+ StorageDepositLimitExhausted: GenericPalletError;
700
700
 
701
701
  /**
702
702
  * Code removal was denied because the code is still in use by at least one contract.
703
703
  **/
704
- CodeInUse: GenericPalletError<Rv>;
704
+ CodeInUse: GenericPalletError;
705
705
 
706
706
  /**
707
707
  * The contract ran to completion but decided to revert its storage changes.
@@ -709,7 +709,7 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
709
709
  * or via RPC an `Ok` will be returned. In this case the caller needs to inspect the flags
710
710
  * to determine whether a reversion has taken place.
711
711
  **/
712
- ContractReverted: GenericPalletError<Rv>;
712
+ ContractReverted: GenericPalletError;
713
713
 
714
714
  /**
715
715
  * The contract's code was found to be invalid during validation.
@@ -721,47 +721,47 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
721
721
  * A more detailed error can be found on the node console if debug messages are enabled
722
722
  * by supplying `-lruntime::contracts=debug`.
723
723
  **/
724
- CodeRejected: GenericPalletError<Rv>;
724
+ CodeRejected: GenericPalletError;
725
725
 
726
726
  /**
727
727
  * An indetermistic code was used in a context where this is not permitted.
728
728
  **/
729
- Indeterministic: GenericPalletError<Rv>;
729
+ Indeterministic: GenericPalletError;
730
730
 
731
731
  /**
732
732
  * A pending migration needs to complete before the extrinsic can be called.
733
733
  **/
734
- MigrationInProgress: GenericPalletError<Rv>;
734
+ MigrationInProgress: GenericPalletError;
735
735
 
736
736
  /**
737
737
  * Migrate dispatch call was attempted but no migration was performed.
738
738
  **/
739
- NoMigrationPerformed: GenericPalletError<Rv>;
739
+ NoMigrationPerformed: GenericPalletError;
740
740
 
741
741
  /**
742
742
  * The contract has reached its maximum number of delegate dependencies.
743
743
  **/
744
- MaxDelegateDependenciesReached: GenericPalletError<Rv>;
744
+ MaxDelegateDependenciesReached: GenericPalletError;
745
745
 
746
746
  /**
747
747
  * The dependency was not found in the contract's delegate dependencies.
748
748
  **/
749
- DelegateDependencyNotFound: GenericPalletError<Rv>;
749
+ DelegateDependencyNotFound: GenericPalletError;
750
750
 
751
751
  /**
752
752
  * The contract already depends on the given delegate dependency.
753
753
  **/
754
- DelegateDependencyAlreadyExists: GenericPalletError<Rv>;
754
+ DelegateDependencyAlreadyExists: GenericPalletError;
755
755
 
756
756
  /**
757
757
  * Can not add a delegate dependency to the code hash of the contract itself.
758
758
  **/
759
- CannotAddSelfAsDelegateDependency: GenericPalletError<Rv>;
759
+ CannotAddSelfAsDelegateDependency: GenericPalletError;
760
760
 
761
761
  /**
762
762
  * Generic pallet error
763
763
  **/
764
- [error: string]: GenericPalletError<Rv>;
764
+ [error: string]: GenericPalletError;
765
765
  };
766
766
  /**
767
767
  * Pallet `NominationPools`'s errors
@@ -770,44 +770,44 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
770
770
  /**
771
771
  * A (bonded) pool id does not exist.
772
772
  **/
773
- PoolNotFound: GenericPalletError<Rv>;
773
+ PoolNotFound: GenericPalletError;
774
774
 
775
775
  /**
776
776
  * An account is not a member.
777
777
  **/
778
- PoolMemberNotFound: GenericPalletError<Rv>;
778
+ PoolMemberNotFound: GenericPalletError;
779
779
 
780
780
  /**
781
781
  * A reward pool does not exist. In all cases this is a system logic error.
782
782
  **/
783
- RewardPoolNotFound: GenericPalletError<Rv>;
783
+ RewardPoolNotFound: GenericPalletError;
784
784
 
785
785
  /**
786
786
  * A sub pool does not exist.
787
787
  **/
788
- SubPoolsNotFound: GenericPalletError<Rv>;
788
+ SubPoolsNotFound: GenericPalletError;
789
789
 
790
790
  /**
791
791
  * An account is already delegating in another pool. An account may only belong to one
792
792
  * pool at a time.
793
793
  **/
794
- AccountBelongsToOtherPool: GenericPalletError<Rv>;
794
+ AccountBelongsToOtherPool: GenericPalletError;
795
795
 
796
796
  /**
797
797
  * The member is fully unbonded (and thus cannot access the bonded and reward pool
798
798
  * anymore to, for example, collect rewards).
799
799
  **/
800
- FullyUnbonding: GenericPalletError<Rv>;
800
+ FullyUnbonding: GenericPalletError;
801
801
 
802
802
  /**
803
803
  * The member cannot unbond further chunks due to reaching the limit.
804
804
  **/
805
- MaxUnbondingLimit: GenericPalletError<Rv>;
805
+ MaxUnbondingLimit: GenericPalletError;
806
806
 
807
807
  /**
808
808
  * None of the funds can be withdrawn yet because the bonding duration has not passed.
809
809
  **/
810
- CannotWithdrawAny: GenericPalletError<Rv>;
810
+ CannotWithdrawAny: GenericPalletError;
811
811
 
812
812
  /**
813
813
  * The amount does not meet the minimum bond to either join or create a pool.
@@ -816,129 +816,129 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
816
816
  * caller does not have nominating permissions for the pool. Members can never unbond to a
817
817
  * value below `MinJoinBond`.
818
818
  **/
819
- MinimumBondNotMet: GenericPalletError<Rv>;
819
+ MinimumBondNotMet: GenericPalletError;
820
820
 
821
821
  /**
822
822
  * The transaction could not be executed due to overflow risk for the pool.
823
823
  **/
824
- OverflowRisk: GenericPalletError<Rv>;
824
+ OverflowRisk: GenericPalletError;
825
825
 
826
826
  /**
827
827
  * A pool must be in [`PoolState::Destroying`] in order for the depositor to unbond or for
828
828
  * other members to be permissionlessly unbonded.
829
829
  **/
830
- NotDestroying: GenericPalletError<Rv>;
830
+ NotDestroying: GenericPalletError;
831
831
 
832
832
  /**
833
833
  * The caller does not have nominating permissions for the pool.
834
834
  **/
835
- NotNominator: GenericPalletError<Rv>;
835
+ NotNominator: GenericPalletError;
836
836
 
837
837
  /**
838
838
  * Either a) the caller cannot make a valid kick or b) the pool is not destroying.
839
839
  **/
840
- NotKickerOrDestroying: GenericPalletError<Rv>;
840
+ NotKickerOrDestroying: GenericPalletError;
841
841
 
842
842
  /**
843
843
  * The pool is not open to join
844
844
  **/
845
- NotOpen: GenericPalletError<Rv>;
845
+ NotOpen: GenericPalletError;
846
846
 
847
847
  /**
848
848
  * The system is maxed out on pools.
849
849
  **/
850
- MaxPools: GenericPalletError<Rv>;
850
+ MaxPools: GenericPalletError;
851
851
 
852
852
  /**
853
853
  * Too many members in the pool or system.
854
854
  **/
855
- MaxPoolMembers: GenericPalletError<Rv>;
855
+ MaxPoolMembers: GenericPalletError;
856
856
 
857
857
  /**
858
858
  * The pools state cannot be changed.
859
859
  **/
860
- CanNotChangeState: GenericPalletError<Rv>;
860
+ CanNotChangeState: GenericPalletError;
861
861
 
862
862
  /**
863
863
  * The caller does not have adequate permissions.
864
864
  **/
865
- DoesNotHavePermission: GenericPalletError<Rv>;
865
+ DoesNotHavePermission: GenericPalletError;
866
866
 
867
867
  /**
868
868
  * Metadata exceeds [`Config::MaxMetadataLen`]
869
869
  **/
870
- MetadataExceedsMaxLen: GenericPalletError<Rv>;
870
+ MetadataExceedsMaxLen: GenericPalletError;
871
871
 
872
872
  /**
873
873
  * Some error occurred that should never happen. This should be reported to the
874
874
  * maintainers.
875
875
  **/
876
- Defensive: GenericPalletError<Rv>;
876
+ Defensive: GenericPalletError;
877
877
 
878
878
  /**
879
879
  * Partial unbonding now allowed permissionlessly.
880
880
  **/
881
- PartialUnbondNotAllowedPermissionlessly: GenericPalletError<Rv>;
881
+ PartialUnbondNotAllowedPermissionlessly: GenericPalletError;
882
882
 
883
883
  /**
884
884
  * The pool's max commission cannot be set higher than the existing value.
885
885
  **/
886
- MaxCommissionRestricted: GenericPalletError<Rv>;
886
+ MaxCommissionRestricted: GenericPalletError;
887
887
 
888
888
  /**
889
889
  * The supplied commission exceeds the max allowed commission.
890
890
  **/
891
- CommissionExceedsMaximum: GenericPalletError<Rv>;
891
+ CommissionExceedsMaximum: GenericPalletError;
892
892
 
893
893
  /**
894
894
  * The supplied commission exceeds global maximum commission.
895
895
  **/
896
- CommissionExceedsGlobalMaximum: GenericPalletError<Rv>;
896
+ CommissionExceedsGlobalMaximum: GenericPalletError;
897
897
 
898
898
  /**
899
899
  * Not enough blocks have surpassed since the last commission update.
900
900
  **/
901
- CommissionChangeThrottled: GenericPalletError<Rv>;
901
+ CommissionChangeThrottled: GenericPalletError;
902
902
 
903
903
  /**
904
904
  * The submitted changes to commission change rate are not allowed.
905
905
  **/
906
- CommissionChangeRateNotAllowed: GenericPalletError<Rv>;
906
+ CommissionChangeRateNotAllowed: GenericPalletError;
907
907
 
908
908
  /**
909
909
  * There is no pending commission to claim.
910
910
  **/
911
- NoPendingCommission: GenericPalletError<Rv>;
911
+ NoPendingCommission: GenericPalletError;
912
912
 
913
913
  /**
914
914
  * No commission current has been set.
915
915
  **/
916
- NoCommissionCurrentSet: GenericPalletError<Rv>;
916
+ NoCommissionCurrentSet: GenericPalletError;
917
917
 
918
918
  /**
919
919
  * Pool id currently in use.
920
920
  **/
921
- PoolIdInUse: GenericPalletError<Rv>;
921
+ PoolIdInUse: GenericPalletError;
922
922
 
923
923
  /**
924
924
  * Pool id provided is not correct/usable.
925
925
  **/
926
- InvalidPoolId: GenericPalletError<Rv>;
926
+ InvalidPoolId: GenericPalletError;
927
927
 
928
928
  /**
929
929
  * Bonding extra is restricted to the exact pending reward amount.
930
930
  **/
931
- BondExtraRestricted: GenericPalletError<Rv>;
931
+ BondExtraRestricted: GenericPalletError;
932
932
 
933
933
  /**
934
934
  * No imbalance in the ED deposit for the pool.
935
935
  **/
936
- NothingToAdjust: GenericPalletError<Rv>;
936
+ NothingToAdjust: GenericPalletError;
937
937
 
938
938
  /**
939
939
  * Generic pallet error
940
940
  **/
941
- [error: string]: GenericPalletError<Rv>;
941
+ [error: string]: GenericPalletError;
942
942
  };
943
943
  /**
944
944
  * Pallet `Identity`'s errors
@@ -947,137 +947,137 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
947
947
  /**
948
948
  * Too many subs-accounts.
949
949
  **/
950
- TooManySubAccounts: GenericPalletError<Rv>;
950
+ TooManySubAccounts: GenericPalletError;
951
951
 
952
952
  /**
953
953
  * Account isn't found.
954
954
  **/
955
- NotFound: GenericPalletError<Rv>;
955
+ NotFound: GenericPalletError;
956
956
 
957
957
  /**
958
958
  * Account isn't named.
959
959
  **/
960
- NotNamed: GenericPalletError<Rv>;
960
+ NotNamed: GenericPalletError;
961
961
 
962
962
  /**
963
963
  * Empty index.
964
964
  **/
965
- EmptyIndex: GenericPalletError<Rv>;
965
+ EmptyIndex: GenericPalletError;
966
966
 
967
967
  /**
968
968
  * Fee is changed.
969
969
  **/
970
- FeeChanged: GenericPalletError<Rv>;
970
+ FeeChanged: GenericPalletError;
971
971
 
972
972
  /**
973
973
  * No identity found.
974
974
  **/
975
- NoIdentity: GenericPalletError<Rv>;
975
+ NoIdentity: GenericPalletError;
976
976
 
977
977
  /**
978
978
  * Sticky judgement.
979
979
  **/
980
- StickyJudgement: GenericPalletError<Rv>;
980
+ StickyJudgement: GenericPalletError;
981
981
 
982
982
  /**
983
983
  * Judgement given.
984
984
  **/
985
- JudgementGiven: GenericPalletError<Rv>;
985
+ JudgementGiven: GenericPalletError;
986
986
 
987
987
  /**
988
988
  * Invalid judgement.
989
989
  **/
990
- InvalidJudgement: GenericPalletError<Rv>;
990
+ InvalidJudgement: GenericPalletError;
991
991
 
992
992
  /**
993
993
  * The index is invalid.
994
994
  **/
995
- InvalidIndex: GenericPalletError<Rv>;
995
+ InvalidIndex: GenericPalletError;
996
996
 
997
997
  /**
998
998
  * The target is invalid.
999
999
  **/
1000
- InvalidTarget: GenericPalletError<Rv>;
1000
+ InvalidTarget: GenericPalletError;
1001
1001
 
1002
1002
  /**
1003
1003
  * Maximum amount of registrars reached. Cannot add any more.
1004
1004
  **/
1005
- TooManyRegistrars: GenericPalletError<Rv>;
1005
+ TooManyRegistrars: GenericPalletError;
1006
1006
 
1007
1007
  /**
1008
1008
  * Account ID is already named.
1009
1009
  **/
1010
- AlreadyClaimed: GenericPalletError<Rv>;
1010
+ AlreadyClaimed: GenericPalletError;
1011
1011
 
1012
1012
  /**
1013
1013
  * Sender is not a sub-account.
1014
1014
  **/
1015
- NotSub: GenericPalletError<Rv>;
1015
+ NotSub: GenericPalletError;
1016
1016
 
1017
1017
  /**
1018
1018
  * Sub-account isn't owned by sender.
1019
1019
  **/
1020
- NotOwned: GenericPalletError<Rv>;
1020
+ NotOwned: GenericPalletError;
1021
1021
 
1022
1022
  /**
1023
1023
  * The provided judgement was for a different identity.
1024
1024
  **/
1025
- JudgementForDifferentIdentity: GenericPalletError<Rv>;
1025
+ JudgementForDifferentIdentity: GenericPalletError;
1026
1026
 
1027
1027
  /**
1028
1028
  * Error that occurs when there is an issue paying for judgement.
1029
1029
  **/
1030
- JudgementPaymentFailed: GenericPalletError<Rv>;
1030
+ JudgementPaymentFailed: GenericPalletError;
1031
1031
 
1032
1032
  /**
1033
1033
  * The provided suffix is too long.
1034
1034
  **/
1035
- InvalidSuffix: GenericPalletError<Rv>;
1035
+ InvalidSuffix: GenericPalletError;
1036
1036
 
1037
1037
  /**
1038
1038
  * The sender does not have permission to issue a username.
1039
1039
  **/
1040
- NotUsernameAuthority: GenericPalletError<Rv>;
1040
+ NotUsernameAuthority: GenericPalletError;
1041
1041
 
1042
1042
  /**
1043
1043
  * The authority cannot allocate any more usernames.
1044
1044
  **/
1045
- NoAllocation: GenericPalletError<Rv>;
1045
+ NoAllocation: GenericPalletError;
1046
1046
 
1047
1047
  /**
1048
1048
  * The signature on a username was not valid.
1049
1049
  **/
1050
- InvalidSignature: GenericPalletError<Rv>;
1050
+ InvalidSignature: GenericPalletError;
1051
1051
 
1052
1052
  /**
1053
1053
  * Setting this username requires a signature, but none was provided.
1054
1054
  **/
1055
- RequiresSignature: GenericPalletError<Rv>;
1055
+ RequiresSignature: GenericPalletError;
1056
1056
 
1057
1057
  /**
1058
1058
  * The username does not meet the requirements.
1059
1059
  **/
1060
- InvalidUsername: GenericPalletError<Rv>;
1060
+ InvalidUsername: GenericPalletError;
1061
1061
 
1062
1062
  /**
1063
1063
  * The username is already taken.
1064
1064
  **/
1065
- UsernameTaken: GenericPalletError<Rv>;
1065
+ UsernameTaken: GenericPalletError;
1066
1066
 
1067
1067
  /**
1068
1068
  * The requested username does not exist.
1069
1069
  **/
1070
- NoUsername: GenericPalletError<Rv>;
1070
+ NoUsername: GenericPalletError;
1071
1071
 
1072
1072
  /**
1073
1073
  * The username cannot be forcefully removed because it can still be accepted.
1074
1074
  **/
1075
- NotExpired: GenericPalletError<Rv>;
1075
+ NotExpired: GenericPalletError;
1076
1076
 
1077
1077
  /**
1078
1078
  * Generic pallet error
1079
1079
  **/
1080
- [error: string]: GenericPalletError<Rv>;
1080
+ [error: string]: GenericPalletError;
1081
1081
  };
1082
1082
  /**
1083
1083
  * Pallet `CommitteeManagement`'s errors
@@ -1089,23 +1089,23 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1089
1089
  * * `underperformed_session_count_threshold` must be a positive number,
1090
1090
  * * `clean_session_counter_delay` must be a positive number.
1091
1091
  **/
1092
- InvalidBanConfig: GenericPalletError<Rv>;
1092
+ InvalidBanConfig: GenericPalletError;
1093
1093
 
1094
1094
  /**
1095
1095
  * Ban reason is too big, ie given vector of bytes is greater than
1096
1096
  * [`primitives::DEFAULT_BAN_REASON_LENGTH`]
1097
1097
  **/
1098
- BanReasonTooBig: GenericPalletError<Rv>;
1098
+ BanReasonTooBig: GenericPalletError;
1099
1099
 
1100
1100
  /**
1101
1101
  * Lenient threshold not in [0-100] range
1102
1102
  **/
1103
- InvalidLenientThreshold: GenericPalletError<Rv>;
1103
+ InvalidLenientThreshold: GenericPalletError;
1104
1104
 
1105
1105
  /**
1106
1106
  * Generic pallet error
1107
1107
  **/
1108
- [error: string]: GenericPalletError<Rv>;
1108
+ [error: string]: GenericPalletError;
1109
1109
  };
1110
1110
  /**
1111
1111
  * Pallet `Proxy`'s errors
@@ -1114,47 +1114,47 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1114
1114
  /**
1115
1115
  * There are too many proxies registered or too many announcements pending.
1116
1116
  **/
1117
- TooMany: GenericPalletError<Rv>;
1117
+ TooMany: GenericPalletError;
1118
1118
 
1119
1119
  /**
1120
1120
  * Proxy registration not found.
1121
1121
  **/
1122
- NotFound: GenericPalletError<Rv>;
1122
+ NotFound: GenericPalletError;
1123
1123
 
1124
1124
  /**
1125
1125
  * Sender is not a proxy of the account to be proxied.
1126
1126
  **/
1127
- NotProxy: GenericPalletError<Rv>;
1127
+ NotProxy: GenericPalletError;
1128
1128
 
1129
1129
  /**
1130
1130
  * A call which is incompatible with the proxy type's filter was attempted.
1131
1131
  **/
1132
- Unproxyable: GenericPalletError<Rv>;
1132
+ Unproxyable: GenericPalletError;
1133
1133
 
1134
1134
  /**
1135
1135
  * Account is already a proxy.
1136
1136
  **/
1137
- Duplicate: GenericPalletError<Rv>;
1137
+ Duplicate: GenericPalletError;
1138
1138
 
1139
1139
  /**
1140
1140
  * Call may not be made by proxy because it may escalate its privileges.
1141
1141
  **/
1142
- NoPermission: GenericPalletError<Rv>;
1142
+ NoPermission: GenericPalletError;
1143
1143
 
1144
1144
  /**
1145
1145
  * Announcement, if made at all, was made too recently.
1146
1146
  **/
1147
- Unannounced: GenericPalletError<Rv>;
1147
+ Unannounced: GenericPalletError;
1148
1148
 
1149
1149
  /**
1150
1150
  * Cannot add self as proxy.
1151
1151
  **/
1152
- NoSelfProxy: GenericPalletError<Rv>;
1152
+ NoSelfProxy: GenericPalletError;
1153
1153
 
1154
1154
  /**
1155
1155
  * Generic pallet error
1156
1156
  **/
1157
- [error: string]: GenericPalletError<Rv>;
1157
+ [error: string]: GenericPalletError;
1158
1158
  };
1159
1159
  /**
1160
1160
  * Pallet `SafeMode`'s errors
@@ -1163,42 +1163,42 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1163
1163
  /**
1164
1164
  * The safe-mode is (already or still) entered.
1165
1165
  **/
1166
- Entered: GenericPalletError<Rv>;
1166
+ Entered: GenericPalletError;
1167
1167
 
1168
1168
  /**
1169
1169
  * The safe-mode is (already or still) exited.
1170
1170
  **/
1171
- Exited: GenericPalletError<Rv>;
1171
+ Exited: GenericPalletError;
1172
1172
 
1173
1173
  /**
1174
1174
  * This functionality of the pallet is disabled by the configuration.
1175
1175
  **/
1176
- NotConfigured: GenericPalletError<Rv>;
1176
+ NotConfigured: GenericPalletError;
1177
1177
 
1178
1178
  /**
1179
1179
  * There is no balance reserved.
1180
1180
  **/
1181
- NoDeposit: GenericPalletError<Rv>;
1181
+ NoDeposit: GenericPalletError;
1182
1182
 
1183
1183
  /**
1184
1184
  * The account already has a deposit reserved and can therefore not enter or extend again.
1185
1185
  **/
1186
- AlreadyDeposited: GenericPalletError<Rv>;
1186
+ AlreadyDeposited: GenericPalletError;
1187
1187
 
1188
1188
  /**
1189
1189
  * This deposit cannot be released yet.
1190
1190
  **/
1191
- CannotReleaseYet: GenericPalletError<Rv>;
1191
+ CannotReleaseYet: GenericPalletError;
1192
1192
 
1193
1193
  /**
1194
1194
  * An error from the underlying `Currency`.
1195
1195
  **/
1196
- CurrencyError: GenericPalletError<Rv>;
1196
+ CurrencyError: GenericPalletError;
1197
1197
 
1198
1198
  /**
1199
1199
  * Generic pallet error
1200
1200
  **/
1201
- [error: string]: GenericPalletError<Rv>;
1201
+ [error: string]: GenericPalletError;
1202
1202
  };
1203
1203
  /**
1204
1204
  * Pallet `TxPause`'s errors
@@ -1207,22 +1207,22 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1207
1207
  /**
1208
1208
  * The call is paused.
1209
1209
  **/
1210
- IsPaused: GenericPalletError<Rv>;
1210
+ IsPaused: GenericPalletError;
1211
1211
 
1212
1212
  /**
1213
1213
  * The call is unpaused.
1214
1214
  **/
1215
- IsUnpaused: GenericPalletError<Rv>;
1215
+ IsUnpaused: GenericPalletError;
1216
1216
 
1217
1217
  /**
1218
1218
  * The call is whitelisted and cannot be paused.
1219
1219
  **/
1220
- Unpausable: GenericPalletError<Rv>;
1221
- NotFound: GenericPalletError<Rv>;
1220
+ Unpausable: GenericPalletError;
1221
+ NotFound: GenericPalletError;
1222
1222
 
1223
1223
  /**
1224
1224
  * Generic pallet error
1225
1225
  **/
1226
- [error: string]: GenericPalletError<Rv>;
1226
+ [error: string]: GenericPalletError;
1227
1227
  };
1228
1228
  }