@dedot/chaintypes 0.0.1-alpha.8 → 0.0.1-next.3

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 (277) hide show
  1. package/aleph/consts.d.ts +590 -528
  2. package/aleph/errors.d.ts +981 -818
  3. package/aleph/events.d.ts +924 -937
  4. package/aleph/index.d.ts +11 -8
  5. package/aleph/query.d.ts +1477 -1268
  6. package/aleph/rpc.d.ts +725 -573
  7. package/aleph/runtime.d.ts +541 -406
  8. package/aleph/tx.d.ts +2664 -2202
  9. package/aleph/types.d.ts +3474 -5388
  10. package/astar/consts.d.ts +753 -674
  11. package/astar/errors.d.ts +1576 -1313
  12. package/astar/events.d.ts +1709 -1628
  13. package/astar/index.d.ts +11 -8
  14. package/astar/query.d.ts +1756 -1471
  15. package/astar/rpc.d.ts +972 -773
  16. package/astar/runtime.d.ts +310 -258
  17. package/astar/tx.d.ts +5474 -4806
  18. package/astar/types.d.ts +8848 -12108
  19. package/index.ts +10 -0
  20. package/kusama/consts.d.ts +1573 -1422
  21. package/kusama/errors.d.ts +2995 -2490
  22. package/kusama/events.d.ts +2996 -2723
  23. package/kusama/index.d.ts +11 -8
  24. package/kusama/query.d.ts +3828 -3248
  25. package/kusama/rpc.d.ts +902 -724
  26. package/kusama/runtime.d.ts +1130 -840
  27. package/kusama/tx.d.ts +7073 -6010
  28. package/kusama/types.d.ts +10151 -15344
  29. package/kusamaAssetHub/consts.d.ts +714 -627
  30. package/kusamaAssetHub/errors.d.ts +1405 -1160
  31. package/kusamaAssetHub/events.d.ts +2149 -2060
  32. package/kusamaAssetHub/index.d.ts +11 -8
  33. package/kusamaAssetHub/query.d.ts +1551 -1298
  34. package/kusamaAssetHub/rpc.d.ts +744 -588
  35. package/kusamaAssetHub/runtime.d.ts +510 -398
  36. package/kusamaAssetHub/tx.d.ts +5050 -4212
  37. package/kusamaAssetHub/types.d.ts +5976 -10009
  38. package/moonbeam/consts.d.ts +1075 -956
  39. package/moonbeam/errors.d.ts +2131 -1793
  40. package/moonbeam/events.d.ts +2932 -2681
  41. package/moonbeam/index.d.ts +11 -8
  42. package/moonbeam/query.d.ts +2391 -2024
  43. package/moonbeam/rpc.d.ts +1013 -807
  44. package/moonbeam/runtime.d.ts +665 -502
  45. package/moonbeam/tx.d.ts +6152 -5201
  46. package/moonbeam/types.d.ts +7731 -12035
  47. package/package.json +9 -8
  48. package/packageInfo.js +1 -1
  49. package/packageInfo.ts +3 -0
  50. package/polkadot/consts.d.ts +1272 -1155
  51. package/polkadot/errors.d.ts +2420 -2016
  52. package/polkadot/events.d.ts +2314 -2092
  53. package/polkadot/index.d.ts +11 -8
  54. package/polkadot/query.d.ts +3319 -2808
  55. package/polkadot/rpc.d.ts +902 -724
  56. package/polkadot/runtime.d.ts +1130 -840
  57. package/polkadot/tx.d.ts +5909 -5005
  58. package/polkadot/types.d.ts +8742 -13290
  59. package/polkadotAssetHub/consts.d.ts +586 -519
  60. package/polkadotAssetHub/errors.d.ts +1115 -921
  61. package/polkadotAssetHub/events.d.ts +1850 -1782
  62. package/polkadotAssetHub/index.d.ts +11 -8
  63. package/polkadotAssetHub/query.d.ts +1457 -1219
  64. package/polkadotAssetHub/rpc.d.ts +744 -588
  65. package/polkadotAssetHub/runtime.d.ts +447 -355
  66. package/polkadotAssetHub/tx.d.ts +4184 -3487
  67. package/polkadotAssetHub/types.d.ts +5183 -8808
  68. package/rococoAssetHub/consts.d.ts +745 -653
  69. package/rococoAssetHub/errors.d.ts +1490 -1227
  70. package/rococoAssetHub/events.d.ts +2127 -2047
  71. package/rococoAssetHub/index.d.ts +11 -8
  72. package/rococoAssetHub/query.d.ts +1513 -1266
  73. package/rococoAssetHub/rpc.d.ts +744 -588
  74. package/rococoAssetHub/runtime.d.ts +538 -424
  75. package/rococoAssetHub/tx.d.ts +5164 -4302
  76. package/rococoAssetHub/types.d.ts +6321 -10636
  77. package/substrate/consts.d.ts +2218 -1966
  78. package/substrate/errors.d.ts +4019 -3333
  79. package/substrate/events.d.ts +4585 -4255
  80. package/substrate/index.d.ts +11 -8
  81. package/substrate/query.d.ts +3887 -3347
  82. package/substrate/rpc.d.ts +892 -716
  83. package/substrate/runtime.d.ts +937 -704
  84. package/substrate/tx.d.ts +10387 -8796
  85. package/substrate/types.d.ts +12809 -19761
  86. package/westendAssetHub/consts.d.ts +745 -653
  87. package/westendAssetHub/errors.d.ts +1490 -1227
  88. package/westendAssetHub/events.d.ts +2127 -2047
  89. package/westendAssetHub/index.d.ts +11 -8
  90. package/westendAssetHub/query.d.ts +1513 -1266
  91. package/westendAssetHub/rpc.d.ts +744 -588
  92. package/westendAssetHub/runtime.d.ts +577 -452
  93. package/westendAssetHub/tx.d.ts +5164 -4302
  94. package/westendAssetHub/types.d.ts +6321 -10633
  95. package/aleph/consts.js +0 -2
  96. package/aleph/errors.js +0 -2
  97. package/aleph/events.js +0 -2
  98. package/aleph/index.js +0 -3
  99. package/aleph/query.js +0 -2
  100. package/aleph/rpc.js +0 -2
  101. package/aleph/runtime.js +0 -2
  102. package/aleph/tx.js +0 -2
  103. package/aleph/types.js +0 -2
  104. package/astar/consts.js +0 -2
  105. package/astar/errors.js +0 -2
  106. package/astar/events.js +0 -2
  107. package/astar/index.js +0 -3
  108. package/astar/query.js +0 -2
  109. package/astar/rpc.js +0 -2
  110. package/astar/runtime.js +0 -2
  111. package/astar/tx.js +0 -2
  112. package/astar/types.js +0 -2
  113. package/cjs/aleph/consts.js +0 -3
  114. package/cjs/aleph/errors.js +0 -3
  115. package/cjs/aleph/events.js +0 -3
  116. package/cjs/aleph/index.js +0 -19
  117. package/cjs/aleph/query.js +0 -3
  118. package/cjs/aleph/rpc.js +0 -3
  119. package/cjs/aleph/runtime.js +0 -3
  120. package/cjs/aleph/tx.js +0 -3
  121. package/cjs/aleph/types.js +0 -3
  122. package/cjs/astar/consts.js +0 -3
  123. package/cjs/astar/errors.js +0 -3
  124. package/cjs/astar/events.js +0 -3
  125. package/cjs/astar/index.js +0 -19
  126. package/cjs/astar/query.js +0 -3
  127. package/cjs/astar/rpc.js +0 -3
  128. package/cjs/astar/runtime.js +0 -3
  129. package/cjs/astar/tx.js +0 -3
  130. package/cjs/astar/types.js +0 -3
  131. package/cjs/index.js +0 -2
  132. package/cjs/kusama/consts.js +0 -3
  133. package/cjs/kusama/errors.js +0 -3
  134. package/cjs/kusama/events.js +0 -3
  135. package/cjs/kusama/index.js +0 -19
  136. package/cjs/kusama/query.js +0 -3
  137. package/cjs/kusama/rpc.js +0 -3
  138. package/cjs/kusama/runtime.js +0 -3
  139. package/cjs/kusama/tx.js +0 -3
  140. package/cjs/kusama/types.js +0 -3
  141. package/cjs/kusamaAssetHub/consts.js +0 -3
  142. package/cjs/kusamaAssetHub/errors.js +0 -3
  143. package/cjs/kusamaAssetHub/events.js +0 -3
  144. package/cjs/kusamaAssetHub/index.js +0 -19
  145. package/cjs/kusamaAssetHub/query.js +0 -3
  146. package/cjs/kusamaAssetHub/rpc.js +0 -3
  147. package/cjs/kusamaAssetHub/runtime.js +0 -3
  148. package/cjs/kusamaAssetHub/tx.js +0 -3
  149. package/cjs/kusamaAssetHub/types.js +0 -3
  150. package/cjs/moonbeam/consts.js +0 -3
  151. package/cjs/moonbeam/errors.js +0 -3
  152. package/cjs/moonbeam/events.js +0 -3
  153. package/cjs/moonbeam/index.js +0 -19
  154. package/cjs/moonbeam/query.js +0 -3
  155. package/cjs/moonbeam/rpc.js +0 -3
  156. package/cjs/moonbeam/runtime.js +0 -3
  157. package/cjs/moonbeam/tx.js +0 -3
  158. package/cjs/moonbeam/types.js +0 -3
  159. package/cjs/package.json +0 -1
  160. package/cjs/packageInfo.js +0 -5
  161. package/cjs/polkadot/consts.js +0 -3
  162. package/cjs/polkadot/errors.js +0 -3
  163. package/cjs/polkadot/events.js +0 -3
  164. package/cjs/polkadot/index.js +0 -19
  165. package/cjs/polkadot/query.js +0 -3
  166. package/cjs/polkadot/rpc.js +0 -3
  167. package/cjs/polkadot/runtime.js +0 -3
  168. package/cjs/polkadot/tx.js +0 -3
  169. package/cjs/polkadot/types.js +0 -3
  170. package/cjs/polkadotAssetHub/consts.js +0 -3
  171. package/cjs/polkadotAssetHub/errors.js +0 -3
  172. package/cjs/polkadotAssetHub/events.js +0 -3
  173. package/cjs/polkadotAssetHub/index.js +0 -19
  174. package/cjs/polkadotAssetHub/query.js +0 -3
  175. package/cjs/polkadotAssetHub/rpc.js +0 -3
  176. package/cjs/polkadotAssetHub/runtime.js +0 -3
  177. package/cjs/polkadotAssetHub/tx.js +0 -3
  178. package/cjs/polkadotAssetHub/types.js +0 -3
  179. package/cjs/rococoAssetHub/consts.js +0 -3
  180. package/cjs/rococoAssetHub/errors.js +0 -3
  181. package/cjs/rococoAssetHub/events.js +0 -3
  182. package/cjs/rococoAssetHub/index.js +0 -19
  183. package/cjs/rococoAssetHub/query.js +0 -3
  184. package/cjs/rococoAssetHub/rpc.js +0 -3
  185. package/cjs/rococoAssetHub/runtime.js +0 -3
  186. package/cjs/rococoAssetHub/tx.js +0 -3
  187. package/cjs/rococoAssetHub/types.js +0 -3
  188. package/cjs/substrate/consts.js +0 -3
  189. package/cjs/substrate/errors.js +0 -3
  190. package/cjs/substrate/events.js +0 -3
  191. package/cjs/substrate/index.js +0 -19
  192. package/cjs/substrate/query.js +0 -3
  193. package/cjs/substrate/rpc.js +0 -3
  194. package/cjs/substrate/runtime.js +0 -3
  195. package/cjs/substrate/tx.js +0 -3
  196. package/cjs/substrate/types.js +0 -3
  197. package/cjs/westendAssetHub/consts.js +0 -3
  198. package/cjs/westendAssetHub/errors.js +0 -3
  199. package/cjs/westendAssetHub/events.js +0 -3
  200. package/cjs/westendAssetHub/index.js +0 -19
  201. package/cjs/westendAssetHub/query.js +0 -3
  202. package/cjs/westendAssetHub/rpc.js +0 -3
  203. package/cjs/westendAssetHub/runtime.js +0 -3
  204. package/cjs/westendAssetHub/tx.js +0 -3
  205. package/cjs/westendAssetHub/types.js +0 -3
  206. package/kusama/consts.js +0 -2
  207. package/kusama/errors.js +0 -2
  208. package/kusama/events.js +0 -2
  209. package/kusama/index.js +0 -3
  210. package/kusama/query.js +0 -2
  211. package/kusama/rpc.js +0 -2
  212. package/kusama/runtime.js +0 -2
  213. package/kusama/tx.js +0 -2
  214. package/kusama/types.js +0 -2
  215. package/kusamaAssetHub/consts.js +0 -2
  216. package/kusamaAssetHub/errors.js +0 -2
  217. package/kusamaAssetHub/events.js +0 -2
  218. package/kusamaAssetHub/index.js +0 -3
  219. package/kusamaAssetHub/query.js +0 -2
  220. package/kusamaAssetHub/rpc.js +0 -2
  221. package/kusamaAssetHub/runtime.js +0 -2
  222. package/kusamaAssetHub/tx.js +0 -2
  223. package/kusamaAssetHub/types.js +0 -2
  224. package/moonbeam/consts.js +0 -2
  225. package/moonbeam/errors.js +0 -2
  226. package/moonbeam/events.js +0 -2
  227. package/moonbeam/index.js +0 -3
  228. package/moonbeam/query.js +0 -2
  229. package/moonbeam/rpc.js +0 -2
  230. package/moonbeam/runtime.js +0 -2
  231. package/moonbeam/tx.js +0 -2
  232. package/moonbeam/types.js +0 -2
  233. package/polkadot/consts.js +0 -2
  234. package/polkadot/errors.js +0 -2
  235. package/polkadot/events.js +0 -2
  236. package/polkadot/index.js +0 -3
  237. package/polkadot/query.js +0 -2
  238. package/polkadot/rpc.js +0 -2
  239. package/polkadot/runtime.js +0 -2
  240. package/polkadot/tx.js +0 -2
  241. package/polkadot/types.js +0 -2
  242. package/polkadotAssetHub/consts.js +0 -2
  243. package/polkadotAssetHub/errors.js +0 -2
  244. package/polkadotAssetHub/events.js +0 -2
  245. package/polkadotAssetHub/index.js +0 -3
  246. package/polkadotAssetHub/query.js +0 -2
  247. package/polkadotAssetHub/rpc.js +0 -2
  248. package/polkadotAssetHub/runtime.js +0 -2
  249. package/polkadotAssetHub/tx.js +0 -2
  250. package/polkadotAssetHub/types.js +0 -2
  251. package/rococoAssetHub/consts.js +0 -2
  252. package/rococoAssetHub/errors.js +0 -2
  253. package/rococoAssetHub/events.js +0 -2
  254. package/rococoAssetHub/index.js +0 -3
  255. package/rococoAssetHub/query.js +0 -2
  256. package/rococoAssetHub/rpc.js +0 -2
  257. package/rococoAssetHub/runtime.js +0 -2
  258. package/rococoAssetHub/tx.js +0 -2
  259. package/rococoAssetHub/types.js +0 -2
  260. package/substrate/consts.js +0 -2
  261. package/substrate/errors.js +0 -2
  262. package/substrate/events.js +0 -2
  263. package/substrate/index.js +0 -3
  264. package/substrate/query.js +0 -2
  265. package/substrate/rpc.js +0 -2
  266. package/substrate/runtime.js +0 -2
  267. package/substrate/tx.js +0 -2
  268. package/substrate/types.js +0 -2
  269. package/westendAssetHub/consts.js +0 -2
  270. package/westendAssetHub/errors.js +0 -2
  271. package/westendAssetHub/events.js +0 -2
  272. package/westendAssetHub/index.js +0 -3
  273. package/westendAssetHub/query.js +0 -2
  274. package/westendAssetHub/rpc.js +0 -2
  275. package/westendAssetHub/runtime.js +0 -2
  276. package/westendAssetHub/tx.js +0 -2
  277. package/westendAssetHub/types.js +0 -2
package/aleph/errors.d.ts CHANGED
@@ -1,822 +1,985 @@
1
+ // Generated by @dedot/codegen
2
+
1
3
  import type { GenericChainErrors, GenericPalletError } from '@dedot/types';
4
+
2
5
  export interface ChainErrors extends GenericChainErrors {
6
+ /**
7
+ * Pallet `System`'s errors
8
+ **/
9
+ system: {
3
10
  /**
4
- * Pallet `System`'s errors
5
- **/
6
- system: {
7
- /**
8
- * The name of specification does not match between the current runtime
9
- * and the new runtime.
10
- **/
11
- InvalidSpecName: GenericPalletError;
12
- /**
13
- * The specification version is not allowed to decrease between the current runtime
14
- * and the new runtime.
15
- **/
16
- SpecVersionNeedsToIncrease: GenericPalletError;
17
- /**
18
- * Failed to extract the runtime version from the new runtime.
19
- *
20
- * Either calling `Core_version` or decoding `RuntimeVersion` failed.
21
- **/
22
- FailedToExtractRuntimeVersion: GenericPalletError;
23
- /**
24
- * Suicide called when the account has non-default composite data.
25
- **/
26
- NonDefaultComposite: GenericPalletError;
27
- /**
28
- * There is a non-zero reference count preventing the account from being purged.
29
- **/
30
- NonZeroRefCount: GenericPalletError;
31
- /**
32
- * The origin filter prevent the call to be dispatched.
33
- **/
34
- CallFiltered: GenericPalletError;
35
- /**
36
- * Generic pallet error
37
- **/
38
- [error: string]: GenericPalletError;
39
- };
40
- /**
41
- * Pallet `Scheduler`'s errors
42
- **/
43
- scheduler: {
44
- /**
45
- * Failed to schedule a call
46
- **/
47
- FailedToSchedule: GenericPalletError;
48
- /**
49
- * Cannot find the scheduled call.
50
- **/
51
- NotFound: GenericPalletError;
52
- /**
53
- * Given target block number is in the past.
54
- **/
55
- TargetBlockNumberInPast: GenericPalletError;
56
- /**
57
- * Reschedule failed because it does not change scheduled time.
58
- **/
59
- RescheduleNoChange: GenericPalletError;
60
- /**
61
- * Attempt to use a non-named function on a named task.
62
- **/
63
- Named: GenericPalletError;
64
- /**
65
- * Generic pallet error
66
- **/
67
- [error: string]: GenericPalletError;
68
- };
69
- /**
70
- * Pallet `Balances`'s errors
71
- **/
72
- balances: {
73
- /**
74
- * Vesting balance too high to send value.
75
- **/
76
- VestingBalance: GenericPalletError;
77
- /**
78
- * Account liquidity restrictions prevent withdrawal.
79
- **/
80
- LiquidityRestrictions: GenericPalletError;
81
- /**
82
- * Balance too low to send value.
83
- **/
84
- InsufficientBalance: GenericPalletError;
85
- /**
86
- * Value too low to create account due to existential deposit.
87
- **/
88
- ExistentialDeposit: GenericPalletError;
89
- /**
90
- * Transfer/payment would kill account.
91
- **/
92
- Expendability: GenericPalletError;
93
- /**
94
- * A vesting schedule already exists for this account.
95
- **/
96
- ExistingVestingSchedule: GenericPalletError;
97
- /**
98
- * Beneficiary account must pre-exist.
99
- **/
100
- DeadAccount: GenericPalletError;
101
- /**
102
- * Number of named reserves exceed `MaxReserves`.
103
- **/
104
- TooManyReserves: GenericPalletError;
105
- /**
106
- * Number of holds exceed `MaxHolds`.
107
- **/
108
- TooManyHolds: GenericPalletError;
109
- /**
110
- * Number of freezes exceed `MaxFreezes`.
111
- **/
112
- TooManyFreezes: GenericPalletError;
113
- /**
114
- * Generic pallet error
115
- **/
116
- [error: string]: GenericPalletError;
117
- };
118
- /**
119
- * Pallet `Staking`'s errors
120
- **/
121
- staking: {
122
- /**
123
- * Not a controller account.
124
- **/
125
- NotController: GenericPalletError;
126
- /**
127
- * Not a stash account.
128
- **/
129
- NotStash: GenericPalletError;
130
- /**
131
- * Stash is already bonded.
132
- **/
133
- AlreadyBonded: GenericPalletError;
134
- /**
135
- * Controller is already paired.
136
- **/
137
- AlreadyPaired: GenericPalletError;
138
- /**
139
- * Targets cannot be empty.
140
- **/
141
- EmptyTargets: GenericPalletError;
142
- /**
143
- * Duplicate index.
144
- **/
145
- DuplicateIndex: GenericPalletError;
146
- /**
147
- * Slash record index out of bounds.
148
- **/
149
- InvalidSlashIndex: GenericPalletError;
150
- /**
151
- * Cannot have a validator or nominator role, with value less than the minimum defined by
152
- * governance (see `MinValidatorBond` and `MinNominatorBond`). If unbonding is the
153
- * intention, `chill` first to remove one's role as validator/nominator.
154
- **/
155
- InsufficientBond: GenericPalletError;
156
- /**
157
- * Can not schedule more unlock chunks.
158
- **/
159
- NoMoreChunks: GenericPalletError;
160
- /**
161
- * Can not rebond without unlocking chunks.
162
- **/
163
- NoUnlockChunk: GenericPalletError;
164
- /**
165
- * Attempting to target a stash that still has funds.
166
- **/
167
- FundedTarget: GenericPalletError;
168
- /**
169
- * Invalid era to reward.
170
- **/
171
- InvalidEraToReward: GenericPalletError;
172
- /**
173
- * Invalid number of nominations.
174
- **/
175
- InvalidNumberOfNominations: GenericPalletError;
176
- /**
177
- * Items are not sorted and unique.
178
- **/
179
- NotSortedAndUnique: GenericPalletError;
180
- /**
181
- * Rewards for this era have already been claimed for this validator.
182
- **/
183
- AlreadyClaimed: GenericPalletError;
184
- /**
185
- * Incorrect previous history depth input provided.
186
- **/
187
- IncorrectHistoryDepth: GenericPalletError;
188
- /**
189
- * Incorrect number of slashing spans provided.
190
- **/
191
- IncorrectSlashingSpans: GenericPalletError;
192
- /**
193
- * Internal state has become somehow corrupted and the operation cannot continue.
194
- **/
195
- BadState: GenericPalletError;
196
- /**
197
- * Too many nomination targets supplied.
198
- **/
199
- TooManyTargets: GenericPalletError;
200
- /**
201
- * A nomination target was supplied that was blocked or otherwise not a validator.
202
- **/
203
- BadTarget: GenericPalletError;
204
- /**
205
- * The user has enough bond and thus cannot be chilled forcefully by an external person.
206
- **/
207
- CannotChillOther: GenericPalletError;
208
- /**
209
- * There are too many nominators in the system. Governance needs to adjust the staking
210
- * settings to keep things safe for the runtime.
211
- **/
212
- TooManyNominators: GenericPalletError;
213
- /**
214
- * There are too many validator candidates in the system. Governance needs to adjust the
215
- * staking settings to keep things safe for the runtime.
216
- **/
217
- TooManyValidators: GenericPalletError;
218
- /**
219
- * Commission is too low. Must be at least `MinCommission`.
220
- **/
221
- CommissionTooLow: GenericPalletError;
222
- /**
223
- * Some bound is not met.
224
- **/
225
- BoundNotMet: GenericPalletError;
226
- /**
227
- * Generic pallet error
228
- **/
229
- [error: string]: GenericPalletError;
230
- };
231
- /**
232
- * Pallet `Session`'s errors
233
- **/
234
- session: {
235
- /**
236
- * Invalid ownership proof.
237
- **/
238
- InvalidProof: GenericPalletError;
239
- /**
240
- * No associated validator ID for account.
241
- **/
242
- NoAssociatedValidatorId: GenericPalletError;
243
- /**
244
- * Registered duplicate key.
245
- **/
246
- DuplicatedKey: GenericPalletError;
247
- /**
248
- * No keys are associated with this account.
249
- **/
250
- NoKeys: GenericPalletError;
251
- /**
252
- * Key setting account is not live, so it's impossible to associate keys.
253
- **/
254
- NoAccount: GenericPalletError;
255
- /**
256
- * Generic pallet error
257
- **/
258
- [error: string]: GenericPalletError;
259
- };
260
- /**
261
- * Pallet `Elections`'s errors
262
- **/
263
- elections: {
264
- NotEnoughValidators: GenericPalletError;
265
- NotEnoughReservedValidators: GenericPalletError;
266
- NotEnoughNonReservedValidators: GenericPalletError;
267
- NonUniqueListOfValidators: GenericPalletError;
268
- NonReservedFinalitySeatsLargerThanNonReservedSeats: GenericPalletError;
269
- /**
270
- * Generic pallet error
271
- **/
272
- [error: string]: GenericPalletError;
273
- };
274
- /**
275
- * Pallet `Treasury`'s errors
276
- **/
277
- treasury: {
278
- /**
279
- * Proposer's balance is too low.
280
- **/
281
- InsufficientProposersBalance: GenericPalletError;
282
- /**
283
- * No proposal or bounty at that index.
284
- **/
285
- InvalidIndex: GenericPalletError;
286
- /**
287
- * Too many approvals in the queue.
288
- **/
289
- TooManyApprovals: GenericPalletError;
290
- /**
291
- * The spend origin is valid but the amount it is allowed to spend is lower than the
292
- * amount to be spent.
293
- **/
294
- InsufficientPermission: GenericPalletError;
295
- /**
296
- * Proposal has not been approved.
297
- **/
298
- ProposalNotApproved: GenericPalletError;
299
- /**
300
- * Generic pallet error
301
- **/
302
- [error: string]: GenericPalletError;
303
- };
304
- /**
305
- * Pallet `Vesting`'s errors
306
- **/
307
- vesting: {
308
- /**
309
- * The account given is not vesting.
310
- **/
311
- NotVesting: GenericPalletError;
312
- /**
313
- * The account already has `MaxVestingSchedules` count of schedules and thus
314
- * cannot add another one. Consider merging existing schedules in order to add another.
315
- **/
316
- AtMaxVestingSchedules: GenericPalletError;
317
- /**
318
- * Amount being transferred is too low to create a vesting schedule.
319
- **/
320
- AmountLow: GenericPalletError;
321
- /**
322
- * An index was out of bounds of the vesting schedules.
323
- **/
324
- ScheduleIndexOutOfBounds: GenericPalletError;
325
- /**
326
- * Failed to create a new schedule because some parameter was invalid.
327
- **/
328
- InvalidScheduleParams: GenericPalletError;
329
- /**
330
- * Generic pallet error
331
- **/
332
- [error: string]: GenericPalletError;
333
- };
334
- /**
335
- * Pallet `Utility`'s errors
336
- **/
337
- utility: {
338
- /**
339
- * Too many calls batched.
340
- **/
341
- TooManyCalls: GenericPalletError;
342
- /**
343
- * Generic pallet error
344
- **/
345
- [error: string]: GenericPalletError;
346
- };
347
- /**
348
- * Pallet `Multisig`'s errors
349
- **/
350
- multisig: {
351
- /**
352
- * Threshold must be 2 or greater.
353
- **/
354
- MinimumThreshold: GenericPalletError;
355
- /**
356
- * Call is already approved by this signatory.
357
- **/
358
- AlreadyApproved: GenericPalletError;
359
- /**
360
- * Call doesn't need any (more) approvals.
361
- **/
362
- NoApprovalsNeeded: GenericPalletError;
363
- /**
364
- * There are too few signatories in the list.
365
- **/
366
- TooFewSignatories: GenericPalletError;
367
- /**
368
- * There are too many signatories in the list.
369
- **/
370
- TooManySignatories: GenericPalletError;
371
- /**
372
- * The signatories were provided out of order; they should be ordered.
373
- **/
374
- SignatoriesOutOfOrder: GenericPalletError;
375
- /**
376
- * The sender was contained in the other signatories; it shouldn't be.
377
- **/
378
- SenderInSignatories: GenericPalletError;
379
- /**
380
- * Multisig operation not found when attempting to cancel.
381
- **/
382
- NotFound: GenericPalletError;
383
- /**
384
- * Only the account that originally created the multisig is able to cancel it.
385
- **/
386
- NotOwner: GenericPalletError;
387
- /**
388
- * No timepoint was given, yet the multisig operation is already underway.
389
- **/
390
- NoTimepoint: GenericPalletError;
391
- /**
392
- * A different timepoint was given to the multisig operation that is underway.
393
- **/
394
- WrongTimepoint: GenericPalletError;
395
- /**
396
- * A timepoint was given, yet no multisig operation is underway.
397
- **/
398
- UnexpectedTimepoint: GenericPalletError;
399
- /**
400
- * The maximum weight information provided was too low.
401
- **/
402
- MaxWeightTooLow: GenericPalletError;
403
- /**
404
- * The data to be stored is already stored.
405
- **/
406
- AlreadyStored: GenericPalletError;
407
- /**
408
- * Generic pallet error
409
- **/
410
- [error: string]: GenericPalletError;
411
- };
412
- /**
413
- * Pallet `Sudo`'s errors
414
- **/
415
- sudo: {
416
- /**
417
- * Sender must be the Sudo account
418
- **/
419
- RequireSudo: GenericPalletError;
420
- /**
421
- * Generic pallet error
422
- **/
423
- [error: string]: GenericPalletError;
424
- };
425
- /**
426
- * Pallet `Contracts`'s errors
427
- **/
428
- contracts: {
429
- /**
430
- * Invalid schedule supplied, e.g. with zero weight of a basic operation.
431
- **/
432
- InvalidSchedule: GenericPalletError;
433
- /**
434
- * Invalid combination of flags supplied to `seal_call` or `seal_delegate_call`.
435
- **/
436
- InvalidCallFlags: GenericPalletError;
437
- /**
438
- * The executed contract exhausted its gas limit.
439
- **/
440
- OutOfGas: GenericPalletError;
441
- /**
442
- * The output buffer supplied to a contract API call was too small.
443
- **/
444
- OutputBufferTooSmall: GenericPalletError;
445
- /**
446
- * Performing the requested transfer failed. Probably because there isn't enough
447
- * free balance in the sender's account.
448
- **/
449
- TransferFailed: GenericPalletError;
450
- /**
451
- * Performing a call was denied because the calling depth reached the limit
452
- * of what is specified in the schedule.
453
- **/
454
- MaxCallDepthReached: GenericPalletError;
455
- /**
456
- * No contract was found at the specified address.
457
- **/
458
- ContractNotFound: GenericPalletError;
459
- /**
460
- * The code supplied to `instantiate_with_code` exceeds the limit specified in the
461
- * current schedule.
462
- **/
463
- CodeTooLarge: GenericPalletError;
464
- /**
465
- * No code could be found at the supplied code hash.
466
- **/
467
- CodeNotFound: GenericPalletError;
468
- /**
469
- * No code info could be found at the supplied code hash.
470
- **/
471
- CodeInfoNotFound: GenericPalletError;
472
- /**
473
- * A buffer outside of sandbox memory was passed to a contract API function.
474
- **/
475
- OutOfBounds: GenericPalletError;
476
- /**
477
- * Input passed to a contract API function failed to decode as expected type.
478
- **/
479
- DecodingFailed: GenericPalletError;
480
- /**
481
- * Contract trapped during execution.
482
- **/
483
- ContractTrapped: GenericPalletError;
484
- /**
485
- * The size defined in `T::MaxValueSize` was exceeded.
486
- **/
487
- ValueTooLarge: GenericPalletError;
488
- /**
489
- * Termination of a contract is not allowed while the contract is already
490
- * on the call stack. Can be triggered by `seal_terminate`.
491
- **/
492
- TerminatedWhileReentrant: GenericPalletError;
493
- /**
494
- * `seal_call` forwarded this contracts input. It therefore is no longer available.
495
- **/
496
- InputForwarded: GenericPalletError;
497
- /**
498
- * The subject passed to `seal_random` exceeds the limit.
499
- **/
500
- RandomSubjectTooLong: GenericPalletError;
501
- /**
502
- * The amount of topics passed to `seal_deposit_events` exceeds the limit.
503
- **/
504
- TooManyTopics: GenericPalletError;
505
- /**
506
- * The chain does not provide a chain extension. Calling the chain extension results
507
- * in this error. Note that this usually shouldn't happen as deploying such contracts
508
- * is rejected.
509
- **/
510
- NoChainExtension: GenericPalletError;
511
- /**
512
- * A contract with the same AccountId already exists.
513
- **/
514
- DuplicateContract: GenericPalletError;
515
- /**
516
- * A contract self destructed in its constructor.
517
- *
518
- * This can be triggered by a call to `seal_terminate`.
519
- **/
520
- TerminatedInConstructor: GenericPalletError;
521
- /**
522
- * A call tried to invoke a contract that is flagged as non-reentrant.
523
- * The only other cause is that a call from a contract into the runtime tried to call back
524
- * into `pallet-contracts`. This would make the whole pallet reentrant with regard to
525
- * contract code execution which is not supported.
526
- **/
527
- ReentranceDenied: GenericPalletError;
528
- /**
529
- * Origin doesn't have enough balance to pay the required storage deposits.
530
- **/
531
- StorageDepositNotEnoughFunds: GenericPalletError;
532
- /**
533
- * More storage was created than allowed by the storage deposit limit.
534
- **/
535
- StorageDepositLimitExhausted: GenericPalletError;
536
- /**
537
- * Code removal was denied because the code is still in use by at least one contract.
538
- **/
539
- CodeInUse: GenericPalletError;
540
- /**
541
- * The contract ran to completion but decided to revert its storage changes.
542
- * Please note that this error is only returned from extrinsics. When called directly
543
- * or via RPC an `Ok` will be returned. In this case the caller needs to inspect the flags
544
- * to determine whether a reversion has taken place.
545
- **/
546
- ContractReverted: GenericPalletError;
547
- /**
548
- * The contract's code was found to be invalid during validation.
549
- *
550
- * The most likely cause of this is that an API was used which is not supported by the
551
- * node. This happens if an older node is used with a new version of ink!. Try updating
552
- * your node to the newest available version.
553
- *
554
- * A more detailed error can be found on the node console if debug messages are enabled
555
- * by supplying `-lruntime::contracts=debug`.
556
- **/
557
- CodeRejected: GenericPalletError;
558
- /**
559
- * An indetermistic code was used in a context where this is not permitted.
560
- **/
561
- Indeterministic: GenericPalletError;
562
- /**
563
- * A pending migration needs to complete before the extrinsic can be called.
564
- **/
565
- MigrationInProgress: GenericPalletError;
566
- /**
567
- * Migrate dispatch call was attempted but no migration was performed.
568
- **/
569
- NoMigrationPerformed: GenericPalletError;
570
- /**
571
- * Generic pallet error
572
- **/
573
- [error: string]: GenericPalletError;
574
- };
575
- /**
576
- * Pallet `NominationPools`'s errors
577
- **/
578
- nominationPools: {
579
- /**
580
- * A (bonded) pool id does not exist.
581
- **/
582
- PoolNotFound: GenericPalletError;
583
- /**
584
- * An account is not a member.
585
- **/
586
- PoolMemberNotFound: GenericPalletError;
587
- /**
588
- * A reward pool does not exist. In all cases this is a system logic error.
589
- **/
590
- RewardPoolNotFound: GenericPalletError;
591
- /**
592
- * A sub pool does not exist.
593
- **/
594
- SubPoolsNotFound: GenericPalletError;
595
- /**
596
- * An account is already delegating in another pool. An account may only belong to one
597
- * pool at a time.
598
- **/
599
- AccountBelongsToOtherPool: GenericPalletError;
600
- /**
601
- * The member is fully unbonded (and thus cannot access the bonded and reward pool
602
- * anymore to, for example, collect rewards).
603
- **/
604
- FullyUnbonding: GenericPalletError;
605
- /**
606
- * The member cannot unbond further chunks due to reaching the limit.
607
- **/
608
- MaxUnbondingLimit: GenericPalletError;
609
- /**
610
- * None of the funds can be withdrawn yet because the bonding duration has not passed.
611
- **/
612
- CannotWithdrawAny: GenericPalletError;
613
- /**
614
- * The amount does not meet the minimum bond to either join or create a pool.
615
- *
616
- * The depositor can never unbond to a value less than
617
- * `Pallet::depositor_min_bond`. The caller does not have nominating
618
- * permissions for the pool. Members can never unbond to a value below `MinJoinBond`.
619
- **/
620
- MinimumBondNotMet: GenericPalletError;
621
- /**
622
- * The transaction could not be executed due to overflow risk for the pool.
623
- **/
624
- OverflowRisk: GenericPalletError;
625
- /**
626
- * A pool must be in [`PoolState::Destroying`] in order for the depositor to unbond or for
627
- * other members to be permissionlessly unbonded.
628
- **/
629
- NotDestroying: GenericPalletError;
630
- /**
631
- * The caller does not have nominating permissions for the pool.
632
- **/
633
- NotNominator: GenericPalletError;
634
- /**
635
- * Either a) the caller cannot make a valid kick or b) the pool is not destroying.
636
- **/
637
- NotKickerOrDestroying: GenericPalletError;
638
- /**
639
- * The pool is not open to join
640
- **/
641
- NotOpen: GenericPalletError;
642
- /**
643
- * The system is maxed out on pools.
644
- **/
645
- MaxPools: GenericPalletError;
646
- /**
647
- * Too many members in the pool or system.
648
- **/
649
- MaxPoolMembers: GenericPalletError;
650
- /**
651
- * The pools state cannot be changed.
652
- **/
653
- CanNotChangeState: GenericPalletError;
654
- /**
655
- * The caller does not have adequate permissions.
656
- **/
657
- DoesNotHavePermission: GenericPalletError;
658
- /**
659
- * Metadata exceeds [`Config::MaxMetadataLen`]
660
- **/
661
- MetadataExceedsMaxLen: GenericPalletError;
662
- /**
663
- * Some error occurred that should never happen. This should be reported to the
664
- * maintainers.
665
- **/
666
- Defensive: GenericPalletError;
667
- /**
668
- * Partial unbonding now allowed permissionlessly.
669
- **/
670
- PartialUnbondNotAllowedPermissionlessly: GenericPalletError;
671
- /**
672
- * The pool's max commission cannot be set higher than the existing value.
673
- **/
674
- MaxCommissionRestricted: GenericPalletError;
675
- /**
676
- * The supplied commission exceeds the max allowed commission.
677
- **/
678
- CommissionExceedsMaximum: GenericPalletError;
679
- /**
680
- * The supplied commission exceeds global maximum commission.
681
- **/
682
- CommissionExceedsGlobalMaximum: GenericPalletError;
683
- /**
684
- * Not enough blocks have surpassed since the last commission update.
685
- **/
686
- CommissionChangeThrottled: GenericPalletError;
687
- /**
688
- * The submitted changes to commission change rate are not allowed.
689
- **/
690
- CommissionChangeRateNotAllowed: GenericPalletError;
691
- /**
692
- * There is no pending commission to claim.
693
- **/
694
- NoPendingCommission: GenericPalletError;
695
- /**
696
- * No commission current has been set.
697
- **/
698
- NoCommissionCurrentSet: GenericPalletError;
699
- /**
700
- * Pool id currently in use.
701
- **/
702
- PoolIdInUse: GenericPalletError;
703
- /**
704
- * Pool id provided is not correct/usable.
705
- **/
706
- InvalidPoolId: GenericPalletError;
707
- /**
708
- * Bonding extra is restricted to the exact pending reward amount.
709
- **/
710
- BondExtraRestricted: GenericPalletError;
711
- /**
712
- * Generic pallet error
713
- **/
714
- [error: string]: GenericPalletError;
715
- };
716
- /**
717
- * Pallet `Identity`'s errors
718
- **/
719
- identity: {
720
- /**
721
- * Too many subs-accounts.
722
- **/
723
- TooManySubAccounts: GenericPalletError;
724
- /**
725
- * Account isn't found.
726
- **/
727
- NotFound: GenericPalletError;
728
- /**
729
- * Account isn't named.
730
- **/
731
- NotNamed: GenericPalletError;
732
- /**
733
- * Empty index.
734
- **/
735
- EmptyIndex: GenericPalletError;
736
- /**
737
- * Fee is changed.
738
- **/
739
- FeeChanged: GenericPalletError;
740
- /**
741
- * No identity found.
742
- **/
743
- NoIdentity: GenericPalletError;
744
- /**
745
- * Sticky judgement.
746
- **/
747
- StickyJudgement: GenericPalletError;
748
- /**
749
- * Judgement given.
750
- **/
751
- JudgementGiven: GenericPalletError;
752
- /**
753
- * Invalid judgement.
754
- **/
755
- InvalidJudgement: GenericPalletError;
756
- /**
757
- * The index is invalid.
758
- **/
759
- InvalidIndex: GenericPalletError;
760
- /**
761
- * The target is invalid.
762
- **/
763
- InvalidTarget: GenericPalletError;
764
- /**
765
- * Too many additional fields.
766
- **/
767
- TooManyFields: GenericPalletError;
768
- /**
769
- * Maximum amount of registrars reached. Cannot add any more.
770
- **/
771
- TooManyRegistrars: GenericPalletError;
772
- /**
773
- * Account ID is already named.
774
- **/
775
- AlreadyClaimed: GenericPalletError;
776
- /**
777
- * Sender is not a sub-account.
778
- **/
779
- NotSub: GenericPalletError;
780
- /**
781
- * Sub-account isn't owned by sender.
782
- **/
783
- NotOwned: GenericPalletError;
784
- /**
785
- * The provided judgement was for a different identity.
786
- **/
787
- JudgementForDifferentIdentity: GenericPalletError;
788
- /**
789
- * Error that occurs when there is an issue paying for judgement.
790
- **/
791
- JudgementPaymentFailed: GenericPalletError;
792
- /**
793
- * Generic pallet error
794
- **/
795
- [error: string]: GenericPalletError;
796
- };
797
- /**
798
- * Pallet `CommitteeManagement`'s errors
799
- **/
800
- committeeManagement: {
801
- /**
802
- * Raised in any scenario [`BanConfig`] is invalid
803
- * * `performance_ratio_threshold` must be a number in range [0; 100]
804
- * * `underperformed_session_count_threshold` must be a positive number,
805
- * * `clean_session_counter_delay` must be a positive number.
806
- **/
807
- InvalidBanConfig: GenericPalletError;
808
- /**
809
- * Ban reason is too big, ie given vector of bytes is greater than
810
- * [`primitives::DEFAULT_BAN_REASON_LENGTH`]
811
- **/
812
- BanReasonTooBig: GenericPalletError;
813
- /**
814
- * Lenient threshold not in [0-100] range
815
- **/
816
- InvalidLenientThreshold: GenericPalletError;
817
- /**
818
- * Generic pallet error
819
- **/
820
- [error: string]: GenericPalletError;
821
- };
11
+ * The name of specification does not match between the current runtime
12
+ * and the new runtime.
13
+ **/
14
+ InvalidSpecName: GenericPalletError;
15
+
16
+ /**
17
+ * The specification version is not allowed to decrease between the current runtime
18
+ * and the new runtime.
19
+ **/
20
+ SpecVersionNeedsToIncrease: GenericPalletError;
21
+
22
+ /**
23
+ * Failed to extract the runtime version from the new runtime.
24
+ *
25
+ * Either calling `Core_version` or decoding `RuntimeVersion` failed.
26
+ **/
27
+ FailedToExtractRuntimeVersion: GenericPalletError;
28
+
29
+ /**
30
+ * Suicide called when the account has non-default composite data.
31
+ **/
32
+ NonDefaultComposite: GenericPalletError;
33
+
34
+ /**
35
+ * There is a non-zero reference count preventing the account from being purged.
36
+ **/
37
+ NonZeroRefCount: GenericPalletError;
38
+
39
+ /**
40
+ * The origin filter prevent the call to be dispatched.
41
+ **/
42
+ CallFiltered: GenericPalletError;
43
+
44
+ /**
45
+ * Generic pallet error
46
+ **/
47
+ [error: string]: GenericPalletError;
48
+ };
49
+ /**
50
+ * Pallet `Scheduler`'s errors
51
+ **/
52
+ scheduler: {
53
+ /**
54
+ * Failed to schedule a call
55
+ **/
56
+ FailedToSchedule: GenericPalletError;
57
+
58
+ /**
59
+ * Cannot find the scheduled call.
60
+ **/
61
+ NotFound: GenericPalletError;
62
+
63
+ /**
64
+ * Given target block number is in the past.
65
+ **/
66
+ TargetBlockNumberInPast: GenericPalletError;
67
+
68
+ /**
69
+ * Reschedule failed because it does not change scheduled time.
70
+ **/
71
+ RescheduleNoChange: GenericPalletError;
72
+
73
+ /**
74
+ * Attempt to use a non-named function on a named task.
75
+ **/
76
+ Named: GenericPalletError;
77
+
78
+ /**
79
+ * Generic pallet error
80
+ **/
81
+ [error: string]: GenericPalletError;
82
+ };
83
+ /**
84
+ * Pallet `Balances`'s errors
85
+ **/
86
+ balances: {
87
+ /**
88
+ * Vesting balance too high to send value.
89
+ **/
90
+ VestingBalance: GenericPalletError;
91
+
92
+ /**
93
+ * Account liquidity restrictions prevent withdrawal.
94
+ **/
95
+ LiquidityRestrictions: GenericPalletError;
96
+
97
+ /**
98
+ * Balance too low to send value.
99
+ **/
100
+ InsufficientBalance: GenericPalletError;
101
+
102
+ /**
103
+ * Value too low to create account due to existential deposit.
104
+ **/
105
+ ExistentialDeposit: GenericPalletError;
106
+
107
+ /**
108
+ * Transfer/payment would kill account.
109
+ **/
110
+ Expendability: GenericPalletError;
111
+
112
+ /**
113
+ * A vesting schedule already exists for this account.
114
+ **/
115
+ ExistingVestingSchedule: GenericPalletError;
116
+
117
+ /**
118
+ * Beneficiary account must pre-exist.
119
+ **/
120
+ DeadAccount: GenericPalletError;
121
+
122
+ /**
123
+ * Number of named reserves exceed `MaxReserves`.
124
+ **/
125
+ TooManyReserves: GenericPalletError;
126
+
127
+ /**
128
+ * Number of holds exceed `MaxHolds`.
129
+ **/
130
+ TooManyHolds: GenericPalletError;
131
+
132
+ /**
133
+ * Number of freezes exceed `MaxFreezes`.
134
+ **/
135
+ TooManyFreezes: GenericPalletError;
136
+
137
+ /**
138
+ * Generic pallet error
139
+ **/
140
+ [error: string]: GenericPalletError;
141
+ };
142
+ /**
143
+ * Pallet `Staking`'s errors
144
+ **/
145
+ staking: {
146
+ /**
147
+ * Not a controller account.
148
+ **/
149
+ NotController: GenericPalletError;
150
+
151
+ /**
152
+ * Not a stash account.
153
+ **/
154
+ NotStash: GenericPalletError;
155
+
156
+ /**
157
+ * Stash is already bonded.
158
+ **/
159
+ AlreadyBonded: GenericPalletError;
160
+
161
+ /**
162
+ * Controller is already paired.
163
+ **/
164
+ AlreadyPaired: GenericPalletError;
165
+
166
+ /**
167
+ * Targets cannot be empty.
168
+ **/
169
+ EmptyTargets: GenericPalletError;
170
+
171
+ /**
172
+ * Duplicate index.
173
+ **/
174
+ DuplicateIndex: GenericPalletError;
175
+
176
+ /**
177
+ * Slash record index out of bounds.
178
+ **/
179
+ InvalidSlashIndex: GenericPalletError;
180
+
181
+ /**
182
+ * Cannot have a validator or nominator role, with value less than the minimum defined by
183
+ * governance (see `MinValidatorBond` and `MinNominatorBond`). If unbonding is the
184
+ * intention, `chill` first to remove one's role as validator/nominator.
185
+ **/
186
+ InsufficientBond: GenericPalletError;
187
+
188
+ /**
189
+ * Can not schedule more unlock chunks.
190
+ **/
191
+ NoMoreChunks: GenericPalletError;
192
+
193
+ /**
194
+ * Can not rebond without unlocking chunks.
195
+ **/
196
+ NoUnlockChunk: GenericPalletError;
197
+
198
+ /**
199
+ * Attempting to target a stash that still has funds.
200
+ **/
201
+ FundedTarget: GenericPalletError;
202
+
203
+ /**
204
+ * Invalid era to reward.
205
+ **/
206
+ InvalidEraToReward: GenericPalletError;
207
+
208
+ /**
209
+ * Invalid number of nominations.
210
+ **/
211
+ InvalidNumberOfNominations: GenericPalletError;
212
+
213
+ /**
214
+ * Items are not sorted and unique.
215
+ **/
216
+ NotSortedAndUnique: GenericPalletError;
217
+
218
+ /**
219
+ * Rewards for this era have already been claimed for this validator.
220
+ **/
221
+ AlreadyClaimed: GenericPalletError;
222
+
223
+ /**
224
+ * Incorrect previous history depth input provided.
225
+ **/
226
+ IncorrectHistoryDepth: GenericPalletError;
227
+
228
+ /**
229
+ * Incorrect number of slashing spans provided.
230
+ **/
231
+ IncorrectSlashingSpans: GenericPalletError;
232
+
233
+ /**
234
+ * Internal state has become somehow corrupted and the operation cannot continue.
235
+ **/
236
+ BadState: GenericPalletError;
237
+
238
+ /**
239
+ * Too many nomination targets supplied.
240
+ **/
241
+ TooManyTargets: GenericPalletError;
242
+
243
+ /**
244
+ * A nomination target was supplied that was blocked or otherwise not a validator.
245
+ **/
246
+ BadTarget: GenericPalletError;
247
+
248
+ /**
249
+ * The user has enough bond and thus cannot be chilled forcefully by an external person.
250
+ **/
251
+ CannotChillOther: GenericPalletError;
252
+
253
+ /**
254
+ * There are too many nominators in the system. Governance needs to adjust the staking
255
+ * settings to keep things safe for the runtime.
256
+ **/
257
+ TooManyNominators: GenericPalletError;
258
+
259
+ /**
260
+ * There are too many validator candidates in the system. Governance needs to adjust the
261
+ * staking settings to keep things safe for the runtime.
262
+ **/
263
+ TooManyValidators: GenericPalletError;
264
+
265
+ /**
266
+ * Commission is too low. Must be at least `MinCommission`.
267
+ **/
268
+ CommissionTooLow: GenericPalletError;
269
+
270
+ /**
271
+ * Some bound is not met.
272
+ **/
273
+ BoundNotMet: GenericPalletError;
274
+
275
+ /**
276
+ * Generic pallet error
277
+ **/
278
+ [error: string]: GenericPalletError;
279
+ };
280
+ /**
281
+ * Pallet `Session`'s errors
282
+ **/
283
+ session: {
284
+ /**
285
+ * Invalid ownership proof.
286
+ **/
287
+ InvalidProof: GenericPalletError;
288
+
289
+ /**
290
+ * No associated validator ID for account.
291
+ **/
292
+ NoAssociatedValidatorId: GenericPalletError;
293
+
294
+ /**
295
+ * Registered duplicate key.
296
+ **/
297
+ DuplicatedKey: GenericPalletError;
298
+
299
+ /**
300
+ * No keys are associated with this account.
301
+ **/
302
+ NoKeys: GenericPalletError;
303
+
304
+ /**
305
+ * Key setting account is not live, so it's impossible to associate keys.
306
+ **/
307
+ NoAccount: GenericPalletError;
308
+
309
+ /**
310
+ * Generic pallet error
311
+ **/
312
+ [error: string]: GenericPalletError;
313
+ };
314
+ /**
315
+ * Pallet `Elections`'s errors
316
+ **/
317
+ elections: {
318
+ NotEnoughValidators: GenericPalletError;
319
+ NotEnoughReservedValidators: GenericPalletError;
320
+ NotEnoughNonReservedValidators: GenericPalletError;
321
+ NonUniqueListOfValidators: GenericPalletError;
322
+ NonReservedFinalitySeatsLargerThanNonReservedSeats: GenericPalletError;
323
+
324
+ /**
325
+ * Generic pallet error
326
+ **/
327
+ [error: string]: GenericPalletError;
328
+ };
329
+ /**
330
+ * Pallet `Treasury`'s errors
331
+ **/
332
+ treasury: {
333
+ /**
334
+ * Proposer's balance is too low.
335
+ **/
336
+ InsufficientProposersBalance: GenericPalletError;
337
+
338
+ /**
339
+ * No proposal or bounty at that index.
340
+ **/
341
+ InvalidIndex: GenericPalletError;
342
+
343
+ /**
344
+ * Too many approvals in the queue.
345
+ **/
346
+ TooManyApprovals: GenericPalletError;
347
+
348
+ /**
349
+ * The spend origin is valid but the amount it is allowed to spend is lower than the
350
+ * amount to be spent.
351
+ **/
352
+ InsufficientPermission: GenericPalletError;
353
+
354
+ /**
355
+ * Proposal has not been approved.
356
+ **/
357
+ ProposalNotApproved: GenericPalletError;
358
+
359
+ /**
360
+ * Generic pallet error
361
+ **/
362
+ [error: string]: GenericPalletError;
363
+ };
364
+ /**
365
+ * Pallet `Vesting`'s errors
366
+ **/
367
+ vesting: {
368
+ /**
369
+ * The account given is not vesting.
370
+ **/
371
+ NotVesting: GenericPalletError;
372
+
373
+ /**
374
+ * The account already has `MaxVestingSchedules` count of schedules and thus
375
+ * cannot add another one. Consider merging existing schedules in order to add another.
376
+ **/
377
+ AtMaxVestingSchedules: GenericPalletError;
378
+
379
+ /**
380
+ * Amount being transferred is too low to create a vesting schedule.
381
+ **/
382
+ AmountLow: GenericPalletError;
383
+
384
+ /**
385
+ * An index was out of bounds of the vesting schedules.
386
+ **/
387
+ ScheduleIndexOutOfBounds: GenericPalletError;
388
+
389
+ /**
390
+ * Failed to create a new schedule because some parameter was invalid.
391
+ **/
392
+ InvalidScheduleParams: GenericPalletError;
393
+
394
+ /**
395
+ * Generic pallet error
396
+ **/
397
+ [error: string]: GenericPalletError;
398
+ };
399
+ /**
400
+ * Pallet `Utility`'s errors
401
+ **/
402
+ utility: {
403
+ /**
404
+ * Too many calls batched.
405
+ **/
406
+ TooManyCalls: GenericPalletError;
407
+
408
+ /**
409
+ * Generic pallet error
410
+ **/
411
+ [error: string]: GenericPalletError;
412
+ };
413
+ /**
414
+ * Pallet `Multisig`'s errors
415
+ **/
416
+ multisig: {
417
+ /**
418
+ * Threshold must be 2 or greater.
419
+ **/
420
+ MinimumThreshold: GenericPalletError;
421
+
422
+ /**
423
+ * Call is already approved by this signatory.
424
+ **/
425
+ AlreadyApproved: GenericPalletError;
426
+
427
+ /**
428
+ * Call doesn't need any (more) approvals.
429
+ **/
430
+ NoApprovalsNeeded: GenericPalletError;
431
+
432
+ /**
433
+ * There are too few signatories in the list.
434
+ **/
435
+ TooFewSignatories: GenericPalletError;
436
+
437
+ /**
438
+ * There are too many signatories in the list.
439
+ **/
440
+ TooManySignatories: GenericPalletError;
441
+
442
+ /**
443
+ * The signatories were provided out of order; they should be ordered.
444
+ **/
445
+ SignatoriesOutOfOrder: GenericPalletError;
446
+
447
+ /**
448
+ * The sender was contained in the other signatories; it shouldn't be.
449
+ **/
450
+ SenderInSignatories: GenericPalletError;
451
+
452
+ /**
453
+ * Multisig operation not found when attempting to cancel.
454
+ **/
455
+ NotFound: GenericPalletError;
456
+
457
+ /**
458
+ * Only the account that originally created the multisig is able to cancel it.
459
+ **/
460
+ NotOwner: GenericPalletError;
461
+
462
+ /**
463
+ * No timepoint was given, yet the multisig operation is already underway.
464
+ **/
465
+ NoTimepoint: GenericPalletError;
466
+
467
+ /**
468
+ * A different timepoint was given to the multisig operation that is underway.
469
+ **/
470
+ WrongTimepoint: GenericPalletError;
471
+
472
+ /**
473
+ * A timepoint was given, yet no multisig operation is underway.
474
+ **/
475
+ UnexpectedTimepoint: GenericPalletError;
476
+
477
+ /**
478
+ * The maximum weight information provided was too low.
479
+ **/
480
+ MaxWeightTooLow: GenericPalletError;
481
+
482
+ /**
483
+ * The data to be stored is already stored.
484
+ **/
485
+ AlreadyStored: GenericPalletError;
486
+
487
+ /**
488
+ * Generic pallet error
489
+ **/
490
+ [error: string]: GenericPalletError;
491
+ };
492
+ /**
493
+ * Pallet `Sudo`'s errors
494
+ **/
495
+ sudo: {
496
+ /**
497
+ * Sender must be the Sudo account
498
+ **/
499
+ RequireSudo: GenericPalletError;
500
+
501
+ /**
502
+ * Generic pallet error
503
+ **/
504
+ [error: string]: GenericPalletError;
505
+ };
506
+ /**
507
+ * Pallet `Contracts`'s errors
508
+ **/
509
+ contracts: {
510
+ /**
511
+ * Invalid schedule supplied, e.g. with zero weight of a basic operation.
512
+ **/
513
+ InvalidSchedule: GenericPalletError;
514
+
515
+ /**
516
+ * Invalid combination of flags supplied to `seal_call` or `seal_delegate_call`.
517
+ **/
518
+ InvalidCallFlags: GenericPalletError;
519
+
520
+ /**
521
+ * The executed contract exhausted its gas limit.
522
+ **/
523
+ OutOfGas: GenericPalletError;
524
+
525
+ /**
526
+ * The output buffer supplied to a contract API call was too small.
527
+ **/
528
+ OutputBufferTooSmall: GenericPalletError;
529
+
530
+ /**
531
+ * Performing the requested transfer failed. Probably because there isn't enough
532
+ * free balance in the sender's account.
533
+ **/
534
+ TransferFailed: GenericPalletError;
535
+
536
+ /**
537
+ * Performing a call was denied because the calling depth reached the limit
538
+ * of what is specified in the schedule.
539
+ **/
540
+ MaxCallDepthReached: GenericPalletError;
541
+
542
+ /**
543
+ * No contract was found at the specified address.
544
+ **/
545
+ ContractNotFound: GenericPalletError;
546
+
547
+ /**
548
+ * The code supplied to `instantiate_with_code` exceeds the limit specified in the
549
+ * current schedule.
550
+ **/
551
+ CodeTooLarge: GenericPalletError;
552
+
553
+ /**
554
+ * No code could be found at the supplied code hash.
555
+ **/
556
+ CodeNotFound: GenericPalletError;
557
+
558
+ /**
559
+ * No code info could be found at the supplied code hash.
560
+ **/
561
+ CodeInfoNotFound: GenericPalletError;
562
+
563
+ /**
564
+ * A buffer outside of sandbox memory was passed to a contract API function.
565
+ **/
566
+ OutOfBounds: GenericPalletError;
567
+
568
+ /**
569
+ * Input passed to a contract API function failed to decode as expected type.
570
+ **/
571
+ DecodingFailed: GenericPalletError;
572
+
573
+ /**
574
+ * Contract trapped during execution.
575
+ **/
576
+ ContractTrapped: GenericPalletError;
577
+
578
+ /**
579
+ * The size defined in `T::MaxValueSize` was exceeded.
580
+ **/
581
+ ValueTooLarge: GenericPalletError;
582
+
583
+ /**
584
+ * Termination of a contract is not allowed while the contract is already
585
+ * on the call stack. Can be triggered by `seal_terminate`.
586
+ **/
587
+ TerminatedWhileReentrant: GenericPalletError;
588
+
589
+ /**
590
+ * `seal_call` forwarded this contracts input. It therefore is no longer available.
591
+ **/
592
+ InputForwarded: GenericPalletError;
593
+
594
+ /**
595
+ * The subject passed to `seal_random` exceeds the limit.
596
+ **/
597
+ RandomSubjectTooLong: GenericPalletError;
598
+
599
+ /**
600
+ * The amount of topics passed to `seal_deposit_events` exceeds the limit.
601
+ **/
602
+ TooManyTopics: GenericPalletError;
603
+
604
+ /**
605
+ * The chain does not provide a chain extension. Calling the chain extension results
606
+ * in this error. Note that this usually shouldn't happen as deploying such contracts
607
+ * is rejected.
608
+ **/
609
+ NoChainExtension: GenericPalletError;
610
+
611
+ /**
612
+ * A contract with the same AccountId already exists.
613
+ **/
614
+ DuplicateContract: GenericPalletError;
615
+
616
+ /**
617
+ * A contract self destructed in its constructor.
618
+ *
619
+ * This can be triggered by a call to `seal_terminate`.
620
+ **/
621
+ TerminatedInConstructor: GenericPalletError;
622
+
623
+ /**
624
+ * A call tried to invoke a contract that is flagged as non-reentrant.
625
+ * The only other cause is that a call from a contract into the runtime tried to call back
626
+ * into `pallet-contracts`. This would make the whole pallet reentrant with regard to
627
+ * contract code execution which is not supported.
628
+ **/
629
+ ReentranceDenied: GenericPalletError;
630
+
631
+ /**
632
+ * Origin doesn't have enough balance to pay the required storage deposits.
633
+ **/
634
+ StorageDepositNotEnoughFunds: GenericPalletError;
635
+
636
+ /**
637
+ * More storage was created than allowed by the storage deposit limit.
638
+ **/
639
+ StorageDepositLimitExhausted: GenericPalletError;
640
+
641
+ /**
642
+ * Code removal was denied because the code is still in use by at least one contract.
643
+ **/
644
+ CodeInUse: GenericPalletError;
645
+
646
+ /**
647
+ * The contract ran to completion but decided to revert its storage changes.
648
+ * Please note that this error is only returned from extrinsics. When called directly
649
+ * or via RPC an `Ok` will be returned. In this case the caller needs to inspect the flags
650
+ * to determine whether a reversion has taken place.
651
+ **/
652
+ ContractReverted: GenericPalletError;
653
+
654
+ /**
655
+ * The contract's code was found to be invalid during validation.
656
+ *
657
+ * The most likely cause of this is that an API was used which is not supported by the
658
+ * node. This happens if an older node is used with a new version of ink!. Try updating
659
+ * your node to the newest available version.
660
+ *
661
+ * A more detailed error can be found on the node console if debug messages are enabled
662
+ * by supplying `-lruntime::contracts=debug`.
663
+ **/
664
+ CodeRejected: GenericPalletError;
665
+
666
+ /**
667
+ * An indetermistic code was used in a context where this is not permitted.
668
+ **/
669
+ Indeterministic: GenericPalletError;
670
+
671
+ /**
672
+ * A pending migration needs to complete before the extrinsic can be called.
673
+ **/
674
+ MigrationInProgress: GenericPalletError;
675
+
676
+ /**
677
+ * Migrate dispatch call was attempted but no migration was performed.
678
+ **/
679
+ NoMigrationPerformed: GenericPalletError;
680
+
681
+ /**
682
+ * Generic pallet error
683
+ **/
684
+ [error: string]: GenericPalletError;
685
+ };
686
+ /**
687
+ * Pallet `NominationPools`'s errors
688
+ **/
689
+ nominationPools: {
690
+ /**
691
+ * A (bonded) pool id does not exist.
692
+ **/
693
+ PoolNotFound: GenericPalletError;
694
+
695
+ /**
696
+ * An account is not a member.
697
+ **/
698
+ PoolMemberNotFound: GenericPalletError;
699
+
700
+ /**
701
+ * A reward pool does not exist. In all cases this is a system logic error.
702
+ **/
703
+ RewardPoolNotFound: GenericPalletError;
704
+
705
+ /**
706
+ * A sub pool does not exist.
707
+ **/
708
+ SubPoolsNotFound: GenericPalletError;
709
+
710
+ /**
711
+ * An account is already delegating in another pool. An account may only belong to one
712
+ * pool at a time.
713
+ **/
714
+ AccountBelongsToOtherPool: GenericPalletError;
715
+
716
+ /**
717
+ * The member is fully unbonded (and thus cannot access the bonded and reward pool
718
+ * anymore to, for example, collect rewards).
719
+ **/
720
+ FullyUnbonding: GenericPalletError;
721
+
722
+ /**
723
+ * The member cannot unbond further chunks due to reaching the limit.
724
+ **/
725
+ MaxUnbondingLimit: GenericPalletError;
726
+
727
+ /**
728
+ * None of the funds can be withdrawn yet because the bonding duration has not passed.
729
+ **/
730
+ CannotWithdrawAny: GenericPalletError;
731
+
732
+ /**
733
+ * The amount does not meet the minimum bond to either join or create a pool.
734
+ *
735
+ * The depositor can never unbond to a value less than
736
+ * `Pallet::depositor_min_bond`. The caller does not have nominating
737
+ * permissions for the pool. Members can never unbond to a value below `MinJoinBond`.
738
+ **/
739
+ MinimumBondNotMet: GenericPalletError;
740
+
741
+ /**
742
+ * The transaction could not be executed due to overflow risk for the pool.
743
+ **/
744
+ OverflowRisk: GenericPalletError;
745
+
746
+ /**
747
+ * A pool must be in [`PoolState::Destroying`] in order for the depositor to unbond or for
748
+ * other members to be permissionlessly unbonded.
749
+ **/
750
+ NotDestroying: GenericPalletError;
751
+
752
+ /**
753
+ * The caller does not have nominating permissions for the pool.
754
+ **/
755
+ NotNominator: GenericPalletError;
756
+
757
+ /**
758
+ * Either a) the caller cannot make a valid kick or b) the pool is not destroying.
759
+ **/
760
+ NotKickerOrDestroying: GenericPalletError;
761
+
762
+ /**
763
+ * The pool is not open to join
764
+ **/
765
+ NotOpen: GenericPalletError;
766
+
767
+ /**
768
+ * The system is maxed out on pools.
769
+ **/
770
+ MaxPools: GenericPalletError;
771
+
772
+ /**
773
+ * Too many members in the pool or system.
774
+ **/
775
+ MaxPoolMembers: GenericPalletError;
776
+
777
+ /**
778
+ * The pools state cannot be changed.
779
+ **/
780
+ CanNotChangeState: GenericPalletError;
781
+
782
+ /**
783
+ * The caller does not have adequate permissions.
784
+ **/
785
+ DoesNotHavePermission: GenericPalletError;
786
+
787
+ /**
788
+ * Metadata exceeds [`Config::MaxMetadataLen`]
789
+ **/
790
+ MetadataExceedsMaxLen: GenericPalletError;
791
+
792
+ /**
793
+ * Some error occurred that should never happen. This should be reported to the
794
+ * maintainers.
795
+ **/
796
+ Defensive: GenericPalletError;
797
+
798
+ /**
799
+ * Partial unbonding now allowed permissionlessly.
800
+ **/
801
+ PartialUnbondNotAllowedPermissionlessly: GenericPalletError;
802
+
803
+ /**
804
+ * The pool's max commission cannot be set higher than the existing value.
805
+ **/
806
+ MaxCommissionRestricted: GenericPalletError;
807
+
808
+ /**
809
+ * The supplied commission exceeds the max allowed commission.
810
+ **/
811
+ CommissionExceedsMaximum: GenericPalletError;
812
+
813
+ /**
814
+ * The supplied commission exceeds global maximum commission.
815
+ **/
816
+ CommissionExceedsGlobalMaximum: GenericPalletError;
817
+
818
+ /**
819
+ * Not enough blocks have surpassed since the last commission update.
820
+ **/
821
+ CommissionChangeThrottled: GenericPalletError;
822
+
823
+ /**
824
+ * The submitted changes to commission change rate are not allowed.
825
+ **/
826
+ CommissionChangeRateNotAllowed: GenericPalletError;
827
+
828
+ /**
829
+ * There is no pending commission to claim.
830
+ **/
831
+ NoPendingCommission: GenericPalletError;
832
+
833
+ /**
834
+ * No commission current has been set.
835
+ **/
836
+ NoCommissionCurrentSet: GenericPalletError;
837
+
838
+ /**
839
+ * Pool id currently in use.
840
+ **/
841
+ PoolIdInUse: GenericPalletError;
842
+
843
+ /**
844
+ * Pool id provided is not correct/usable.
845
+ **/
846
+ InvalidPoolId: GenericPalletError;
847
+
848
+ /**
849
+ * Bonding extra is restricted to the exact pending reward amount.
850
+ **/
851
+ BondExtraRestricted: GenericPalletError;
852
+
853
+ /**
854
+ * Generic pallet error
855
+ **/
856
+ [error: string]: GenericPalletError;
857
+ };
858
+ /**
859
+ * Pallet `Identity`'s errors
860
+ **/
861
+ identity: {
862
+ /**
863
+ * Too many subs-accounts.
864
+ **/
865
+ TooManySubAccounts: GenericPalletError;
866
+
867
+ /**
868
+ * Account isn't found.
869
+ **/
870
+ NotFound: GenericPalletError;
871
+
872
+ /**
873
+ * Account isn't named.
874
+ **/
875
+ NotNamed: GenericPalletError;
876
+
877
+ /**
878
+ * Empty index.
879
+ **/
880
+ EmptyIndex: GenericPalletError;
881
+
882
+ /**
883
+ * Fee is changed.
884
+ **/
885
+ FeeChanged: GenericPalletError;
886
+
887
+ /**
888
+ * No identity found.
889
+ **/
890
+ NoIdentity: GenericPalletError;
891
+
892
+ /**
893
+ * Sticky judgement.
894
+ **/
895
+ StickyJudgement: GenericPalletError;
896
+
897
+ /**
898
+ * Judgement given.
899
+ **/
900
+ JudgementGiven: GenericPalletError;
901
+
902
+ /**
903
+ * Invalid judgement.
904
+ **/
905
+ InvalidJudgement: GenericPalletError;
906
+
907
+ /**
908
+ * The index is invalid.
909
+ **/
910
+ InvalidIndex: GenericPalletError;
911
+
912
+ /**
913
+ * The target is invalid.
914
+ **/
915
+ InvalidTarget: GenericPalletError;
916
+
917
+ /**
918
+ * Too many additional fields.
919
+ **/
920
+ TooManyFields: GenericPalletError;
921
+
922
+ /**
923
+ * Maximum amount of registrars reached. Cannot add any more.
924
+ **/
925
+ TooManyRegistrars: GenericPalletError;
926
+
927
+ /**
928
+ * Account ID is already named.
929
+ **/
930
+ AlreadyClaimed: GenericPalletError;
931
+
932
+ /**
933
+ * Sender is not a sub-account.
934
+ **/
935
+ NotSub: GenericPalletError;
936
+
937
+ /**
938
+ * Sub-account isn't owned by sender.
939
+ **/
940
+ NotOwned: GenericPalletError;
941
+
942
+ /**
943
+ * The provided judgement was for a different identity.
944
+ **/
945
+ JudgementForDifferentIdentity: GenericPalletError;
946
+
947
+ /**
948
+ * Error that occurs when there is an issue paying for judgement.
949
+ **/
950
+ JudgementPaymentFailed: GenericPalletError;
951
+
952
+ /**
953
+ * Generic pallet error
954
+ **/
955
+ [error: string]: GenericPalletError;
956
+ };
957
+ /**
958
+ * Pallet `CommitteeManagement`'s errors
959
+ **/
960
+ committeeManagement: {
961
+ /**
962
+ * Raised in any scenario [`BanConfig`] is invalid
963
+ * * `performance_ratio_threshold` must be a number in range [0; 100]
964
+ * * `underperformed_session_count_threshold` must be a positive number,
965
+ * * `clean_session_counter_delay` must be a positive number.
966
+ **/
967
+ InvalidBanConfig: GenericPalletError;
968
+
969
+ /**
970
+ * Ban reason is too big, ie given vector of bytes is greater than
971
+ * [`primitives::DEFAULT_BAN_REASON_LENGTH`]
972
+ **/
973
+ BanReasonTooBig: GenericPalletError;
974
+
975
+ /**
976
+ * Lenient threshold not in [0-100] range
977
+ **/
978
+ InvalidLenientThreshold: GenericPalletError;
979
+
980
+ /**
981
+ * Generic pallet error
982
+ **/
983
+ [error: string]: GenericPalletError;
984
+ };
822
985
  }