@dedot/chaintypes 0.0.1-alpha.22

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 (280) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +3 -0
  3. package/aleph/consts.d.ts +533 -0
  4. package/aleph/consts.js +2 -0
  5. package/aleph/errors.d.ts +822 -0
  6. package/aleph/errors.js +2 -0
  7. package/aleph/events.d.ts +997 -0
  8. package/aleph/events.js +2 -0
  9. package/aleph/index.d.ts +19 -0
  10. package/aleph/index.js +3 -0
  11. package/aleph/query.d.ts +1271 -0
  12. package/aleph/query.js +2 -0
  13. package/aleph/rpc.d.ts +575 -0
  14. package/aleph/rpc.js +2 -0
  15. package/aleph/runtime.d.ts +410 -0
  16. package/aleph/runtime.js +2 -0
  17. package/aleph/tx.d.ts +2206 -0
  18. package/aleph/tx.js +2 -0
  19. package/aleph/types.d.ts +5560 -0
  20. package/aleph/types.js +2 -0
  21. package/astar/consts.d.ts +679 -0
  22. package/astar/consts.js +2 -0
  23. package/astar/errors.d.ts +1317 -0
  24. package/astar/errors.js +2 -0
  25. package/astar/events.d.ts +1707 -0
  26. package/astar/events.js +2 -0
  27. package/astar/index.d.ts +19 -0
  28. package/astar/index.js +3 -0
  29. package/astar/query.d.ts +1474 -0
  30. package/astar/query.js +2 -0
  31. package/astar/rpc.d.ts +775 -0
  32. package/astar/rpc.js +2 -0
  33. package/astar/runtime.d.ts +262 -0
  34. package/astar/runtime.js +2 -0
  35. package/astar/tx.d.ts +4810 -0
  36. package/astar/tx.js +2 -0
  37. package/astar/types.d.ts +12338 -0
  38. package/astar/types.js +2 -0
  39. package/cjs/aleph/consts.js +3 -0
  40. package/cjs/aleph/errors.js +3 -0
  41. package/cjs/aleph/events.js +3 -0
  42. package/cjs/aleph/index.js +19 -0
  43. package/cjs/aleph/query.js +3 -0
  44. package/cjs/aleph/rpc.js +3 -0
  45. package/cjs/aleph/runtime.js +3 -0
  46. package/cjs/aleph/tx.js +3 -0
  47. package/cjs/aleph/types.js +3 -0
  48. package/cjs/astar/consts.js +3 -0
  49. package/cjs/astar/errors.js +3 -0
  50. package/cjs/astar/events.js +3 -0
  51. package/cjs/astar/index.js +19 -0
  52. package/cjs/astar/query.js +3 -0
  53. package/cjs/astar/rpc.js +3 -0
  54. package/cjs/astar/runtime.js +3 -0
  55. package/cjs/astar/tx.js +3 -0
  56. package/cjs/astar/types.js +3 -0
  57. package/cjs/index.js +2 -0
  58. package/cjs/kusama/consts.js +3 -0
  59. package/cjs/kusama/errors.js +3 -0
  60. package/cjs/kusama/events.js +3 -0
  61. package/cjs/kusama/index.js +19 -0
  62. package/cjs/kusama/query.js +3 -0
  63. package/cjs/kusama/rpc.js +3 -0
  64. package/cjs/kusama/runtime.js +3 -0
  65. package/cjs/kusama/tx.js +3 -0
  66. package/cjs/kusama/types.js +3 -0
  67. package/cjs/kusamaAssetHub/consts.js +3 -0
  68. package/cjs/kusamaAssetHub/errors.js +3 -0
  69. package/cjs/kusamaAssetHub/events.js +3 -0
  70. package/cjs/kusamaAssetHub/index.js +19 -0
  71. package/cjs/kusamaAssetHub/query.js +3 -0
  72. package/cjs/kusamaAssetHub/rpc.js +3 -0
  73. package/cjs/kusamaAssetHub/runtime.js +3 -0
  74. package/cjs/kusamaAssetHub/tx.js +3 -0
  75. package/cjs/kusamaAssetHub/types.js +3 -0
  76. package/cjs/moonbeam/consts.js +3 -0
  77. package/cjs/moonbeam/errors.js +3 -0
  78. package/cjs/moonbeam/events.js +3 -0
  79. package/cjs/moonbeam/index.js +19 -0
  80. package/cjs/moonbeam/query.js +3 -0
  81. package/cjs/moonbeam/rpc.js +3 -0
  82. package/cjs/moonbeam/runtime.js +3 -0
  83. package/cjs/moonbeam/tx.js +3 -0
  84. package/cjs/moonbeam/types.js +3 -0
  85. package/cjs/package.json +1 -0
  86. package/cjs/packageInfo.js +5 -0
  87. package/cjs/polkadot/consts.js +3 -0
  88. package/cjs/polkadot/errors.js +3 -0
  89. package/cjs/polkadot/events.js +3 -0
  90. package/cjs/polkadot/index.js +19 -0
  91. package/cjs/polkadot/query.js +3 -0
  92. package/cjs/polkadot/rpc.js +3 -0
  93. package/cjs/polkadot/runtime.js +3 -0
  94. package/cjs/polkadot/tx.js +3 -0
  95. package/cjs/polkadot/types.js +3 -0
  96. package/cjs/polkadotAssetHub/consts.js +3 -0
  97. package/cjs/polkadotAssetHub/errors.js +3 -0
  98. package/cjs/polkadotAssetHub/events.js +3 -0
  99. package/cjs/polkadotAssetHub/index.js +19 -0
  100. package/cjs/polkadotAssetHub/query.js +3 -0
  101. package/cjs/polkadotAssetHub/rpc.js +3 -0
  102. package/cjs/polkadotAssetHub/runtime.js +3 -0
  103. package/cjs/polkadotAssetHub/tx.js +3 -0
  104. package/cjs/polkadotAssetHub/types.js +3 -0
  105. package/cjs/rococoAssetHub/consts.js +3 -0
  106. package/cjs/rococoAssetHub/errors.js +3 -0
  107. package/cjs/rococoAssetHub/events.js +3 -0
  108. package/cjs/rococoAssetHub/index.js +19 -0
  109. package/cjs/rococoAssetHub/query.js +3 -0
  110. package/cjs/rococoAssetHub/rpc.js +3 -0
  111. package/cjs/rococoAssetHub/runtime.js +3 -0
  112. package/cjs/rococoAssetHub/tx.js +3 -0
  113. package/cjs/rococoAssetHub/types.js +3 -0
  114. package/cjs/substrate/consts.js +3 -0
  115. package/cjs/substrate/errors.js +3 -0
  116. package/cjs/substrate/events.js +3 -0
  117. package/cjs/substrate/index.js +19 -0
  118. package/cjs/substrate/query.js +3 -0
  119. package/cjs/substrate/rpc.js +3 -0
  120. package/cjs/substrate/runtime.js +3 -0
  121. package/cjs/substrate/tx.js +3 -0
  122. package/cjs/substrate/types.js +3 -0
  123. package/cjs/westendAssetHub/consts.js +3 -0
  124. package/cjs/westendAssetHub/errors.js +3 -0
  125. package/cjs/westendAssetHub/events.js +3 -0
  126. package/cjs/westendAssetHub/index.js +19 -0
  127. package/cjs/westendAssetHub/query.js +3 -0
  128. package/cjs/westendAssetHub/rpc.js +3 -0
  129. package/cjs/westendAssetHub/runtime.js +3 -0
  130. package/cjs/westendAssetHub/tx.js +3 -0
  131. package/cjs/westendAssetHub/types.js +3 -0
  132. package/index.d.ts +5 -0
  133. package/index.js +1 -0
  134. package/kusama/consts.d.ts +1427 -0
  135. package/kusama/consts.js +2 -0
  136. package/kusama/errors.d.ts +2494 -0
  137. package/kusama/errors.js +2 -0
  138. package/kusama/events.d.ts +2960 -0
  139. package/kusama/events.js +2 -0
  140. package/kusama/index.d.ts +19 -0
  141. package/kusama/index.js +3 -0
  142. package/kusama/query.d.ts +3251 -0
  143. package/kusama/query.js +2 -0
  144. package/kusama/rpc.d.ts +726 -0
  145. package/kusama/rpc.js +2 -0
  146. package/kusama/runtime.d.ts +844 -0
  147. package/kusama/runtime.js +2 -0
  148. package/kusama/tx.d.ts +6014 -0
  149. package/kusama/tx.js +2 -0
  150. package/kusama/types.d.ts +15903 -0
  151. package/kusama/types.js +2 -0
  152. package/kusamaAssetHub/consts.d.ts +632 -0
  153. package/kusamaAssetHub/consts.js +2 -0
  154. package/kusamaAssetHub/errors.d.ts +1164 -0
  155. package/kusamaAssetHub/errors.js +2 -0
  156. package/kusamaAssetHub/events.d.ts +2162 -0
  157. package/kusamaAssetHub/events.js +2 -0
  158. package/kusamaAssetHub/index.d.ts +19 -0
  159. package/kusamaAssetHub/index.js +3 -0
  160. package/kusamaAssetHub/query.d.ts +1301 -0
  161. package/kusamaAssetHub/query.js +2 -0
  162. package/kusamaAssetHub/rpc.d.ts +590 -0
  163. package/kusamaAssetHub/rpc.js +2 -0
  164. package/kusamaAssetHub/runtime.d.ts +402 -0
  165. package/kusamaAssetHub/runtime.js +2 -0
  166. package/kusamaAssetHub/tx.d.ts +4217 -0
  167. package/kusamaAssetHub/tx.js +2 -0
  168. package/kusamaAssetHub/types.d.ts +10418 -0
  169. package/kusamaAssetHub/types.js +2 -0
  170. package/moonbeam/consts.d.ts +961 -0
  171. package/moonbeam/consts.js +2 -0
  172. package/moonbeam/errors.d.ts +1797 -0
  173. package/moonbeam/errors.js +2 -0
  174. package/moonbeam/events.d.ts +2840 -0
  175. package/moonbeam/events.js +2 -0
  176. package/moonbeam/index.d.ts +19 -0
  177. package/moonbeam/index.js +3 -0
  178. package/moonbeam/query.d.ts +2027 -0
  179. package/moonbeam/query.js +2 -0
  180. package/moonbeam/rpc.d.ts +809 -0
  181. package/moonbeam/rpc.js +2 -0
  182. package/moonbeam/runtime.d.ts +506 -0
  183. package/moonbeam/runtime.js +2 -0
  184. package/moonbeam/tx.d.ts +5205 -0
  185. package/moonbeam/tx.js +2 -0
  186. package/moonbeam/types.d.ts +12349 -0
  187. package/moonbeam/types.js +2 -0
  188. package/package.json +33 -0
  189. package/packageInfo.d.ts +4 -0
  190. package/packageInfo.js +3 -0
  191. package/polkadot/consts.d.ts +1160 -0
  192. package/polkadot/consts.js +2 -0
  193. package/polkadot/errors.d.ts +2020 -0
  194. package/polkadot/errors.js +2 -0
  195. package/polkadot/events.d.ts +2235 -0
  196. package/polkadot/events.js +2 -0
  197. package/polkadot/index.d.ts +19 -0
  198. package/polkadot/index.js +3 -0
  199. package/polkadot/query.d.ts +2811 -0
  200. package/polkadot/query.js +2 -0
  201. package/polkadot/rpc.d.ts +726 -0
  202. package/polkadot/rpc.js +2 -0
  203. package/polkadot/runtime.d.ts +844 -0
  204. package/polkadot/runtime.js +2 -0
  205. package/polkadot/tx.d.ts +5009 -0
  206. package/polkadot/tx.js +2 -0
  207. package/polkadot/types.d.ts +13729 -0
  208. package/polkadot/types.js +2 -0
  209. package/polkadotAssetHub/consts.d.ts +524 -0
  210. package/polkadotAssetHub/consts.js +2 -0
  211. package/polkadotAssetHub/errors.d.ts +925 -0
  212. package/polkadotAssetHub/errors.js +2 -0
  213. package/polkadotAssetHub/events.d.ts +1787 -0
  214. package/polkadotAssetHub/events.js +2 -0
  215. package/polkadotAssetHub/index.d.ts +19 -0
  216. package/polkadotAssetHub/index.js +3 -0
  217. package/polkadotAssetHub/query.d.ts +1222 -0
  218. package/polkadotAssetHub/query.js +2 -0
  219. package/polkadotAssetHub/rpc.d.ts +590 -0
  220. package/polkadotAssetHub/rpc.js +2 -0
  221. package/polkadotAssetHub/runtime.d.ts +359 -0
  222. package/polkadotAssetHub/runtime.js +2 -0
  223. package/polkadotAssetHub/tx.d.ts +3492 -0
  224. package/polkadotAssetHub/tx.js +2 -0
  225. package/polkadotAssetHub/types.d.ts +9164 -0
  226. package/polkadotAssetHub/types.js +2 -0
  227. package/rococoAssetHub/consts.d.ts +658 -0
  228. package/rococoAssetHub/consts.js +2 -0
  229. package/rococoAssetHub/errors.d.ts +1231 -0
  230. package/rococoAssetHub/errors.js +2 -0
  231. package/rococoAssetHub/events.d.ts +2172 -0
  232. package/rococoAssetHub/events.js +2 -0
  233. package/rococoAssetHub/index.d.ts +19 -0
  234. package/rococoAssetHub/index.js +3 -0
  235. package/rococoAssetHub/query.d.ts +1269 -0
  236. package/rococoAssetHub/query.js +2 -0
  237. package/rococoAssetHub/rpc.d.ts +590 -0
  238. package/rococoAssetHub/rpc.js +2 -0
  239. package/rococoAssetHub/runtime.d.ts +428 -0
  240. package/rococoAssetHub/runtime.js +2 -0
  241. package/rococoAssetHub/tx.d.ts +4307 -0
  242. package/rococoAssetHub/tx.js +2 -0
  243. package/rococoAssetHub/types.d.ts +11066 -0
  244. package/rococoAssetHub/types.js +2 -0
  245. package/substrate/consts.d.ts +1971 -0
  246. package/substrate/consts.js +2 -0
  247. package/substrate/errors.d.ts +3337 -0
  248. package/substrate/errors.js +2 -0
  249. package/substrate/events.d.ts +4777 -0
  250. package/substrate/events.js +2 -0
  251. package/substrate/index.d.ts +19 -0
  252. package/substrate/index.js +3 -0
  253. package/substrate/query.d.ts +3350 -0
  254. package/substrate/query.js +2 -0
  255. package/substrate/rpc.d.ts +718 -0
  256. package/substrate/rpc.js +2 -0
  257. package/substrate/runtime.d.ts +708 -0
  258. package/substrate/runtime.js +2 -0
  259. package/substrate/tx.d.ts +8800 -0
  260. package/substrate/tx.js +2 -0
  261. package/substrate/types.d.ts +20332 -0
  262. package/substrate/types.js +2 -0
  263. package/westendAssetHub/consts.d.ts +658 -0
  264. package/westendAssetHub/consts.js +2 -0
  265. package/westendAssetHub/errors.d.ts +1231 -0
  266. package/westendAssetHub/errors.js +2 -0
  267. package/westendAssetHub/events.d.ts +2172 -0
  268. package/westendAssetHub/events.js +2 -0
  269. package/westendAssetHub/index.d.ts +19 -0
  270. package/westendAssetHub/index.js +3 -0
  271. package/westendAssetHub/query.d.ts +1269 -0
  272. package/westendAssetHub/query.js +2 -0
  273. package/westendAssetHub/rpc.d.ts +590 -0
  274. package/westendAssetHub/rpc.js +2 -0
  275. package/westendAssetHub/runtime.d.ts +456 -0
  276. package/westendAssetHub/runtime.js +2 -0
  277. package/westendAssetHub/tx.d.ts +4307 -0
  278. package/westendAssetHub/tx.js +2 -0
  279. package/westendAssetHub/types.d.ts +11062 -0
  280. package/westendAssetHub/types.js +2 -0
@@ -0,0 +1,3337 @@
1
+ import type { GenericChainErrors, GenericPalletError } from '@dedot/types';
2
+ export interface ChainErrors extends GenericChainErrors {
3
+ /**
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 `Utility`'s errors
42
+ **/
43
+ utility: {
44
+ /**
45
+ * Too many calls batched.
46
+ **/
47
+ TooManyCalls: GenericPalletError;
48
+ /**
49
+ * Generic pallet error
50
+ **/
51
+ [error: string]: GenericPalletError;
52
+ };
53
+ /**
54
+ * Pallet `Babe`'s errors
55
+ **/
56
+ babe: {
57
+ /**
58
+ * An equivocation proof provided as part of an equivocation report is invalid.
59
+ **/
60
+ InvalidEquivocationProof: GenericPalletError;
61
+ /**
62
+ * A key ownership proof provided as part of an equivocation report is invalid.
63
+ **/
64
+ InvalidKeyOwnershipProof: GenericPalletError;
65
+ /**
66
+ * A given equivocation report is valid but already previously reported.
67
+ **/
68
+ DuplicateOffenceReport: GenericPalletError;
69
+ /**
70
+ * Submitted configuration is invalid.
71
+ **/
72
+ InvalidConfiguration: GenericPalletError;
73
+ /**
74
+ * Generic pallet error
75
+ **/
76
+ [error: string]: GenericPalletError;
77
+ };
78
+ /**
79
+ * Pallet `Indices`'s errors
80
+ **/
81
+ indices: {
82
+ /**
83
+ * The index was not already assigned.
84
+ **/
85
+ NotAssigned: GenericPalletError;
86
+ /**
87
+ * The index is assigned to another account.
88
+ **/
89
+ NotOwner: GenericPalletError;
90
+ /**
91
+ * The index was not available.
92
+ **/
93
+ InUse: GenericPalletError;
94
+ /**
95
+ * The source and destination accounts are identical.
96
+ **/
97
+ NotTransfer: GenericPalletError;
98
+ /**
99
+ * The index is permanent and may not be freed/changed.
100
+ **/
101
+ Permanent: GenericPalletError;
102
+ /**
103
+ * Generic pallet error
104
+ **/
105
+ [error: string]: GenericPalletError;
106
+ };
107
+ /**
108
+ * Pallet `Balances`'s errors
109
+ **/
110
+ balances: {
111
+ /**
112
+ * Vesting balance too high to send value.
113
+ **/
114
+ VestingBalance: GenericPalletError;
115
+ /**
116
+ * Account liquidity restrictions prevent withdrawal.
117
+ **/
118
+ LiquidityRestrictions: GenericPalletError;
119
+ /**
120
+ * Balance too low to send value.
121
+ **/
122
+ InsufficientBalance: GenericPalletError;
123
+ /**
124
+ * Value too low to create account due to existential deposit.
125
+ **/
126
+ ExistentialDeposit: GenericPalletError;
127
+ /**
128
+ * Transfer/payment would kill account.
129
+ **/
130
+ Expendability: GenericPalletError;
131
+ /**
132
+ * A vesting schedule already exists for this account.
133
+ **/
134
+ ExistingVestingSchedule: GenericPalletError;
135
+ /**
136
+ * Beneficiary account must pre-exist.
137
+ **/
138
+ DeadAccount: GenericPalletError;
139
+ /**
140
+ * Number of named reserves exceed `MaxReserves`.
141
+ **/
142
+ TooManyReserves: GenericPalletError;
143
+ /**
144
+ * Number of holds exceed `MaxHolds`.
145
+ **/
146
+ TooManyHolds: GenericPalletError;
147
+ /**
148
+ * Number of freezes exceed `MaxFreezes`.
149
+ **/
150
+ TooManyFreezes: GenericPalletError;
151
+ /**
152
+ * Generic pallet error
153
+ **/
154
+ [error: string]: GenericPalletError;
155
+ };
156
+ /**
157
+ * Pallet `ElectionProviderMultiPhase`'s errors
158
+ **/
159
+ electionProviderMultiPhase: {
160
+ /**
161
+ * Submission was too early.
162
+ **/
163
+ PreDispatchEarlySubmission: GenericPalletError;
164
+ /**
165
+ * Wrong number of winners presented.
166
+ **/
167
+ PreDispatchWrongWinnerCount: GenericPalletError;
168
+ /**
169
+ * Submission was too weak, score-wise.
170
+ **/
171
+ PreDispatchWeakSubmission: GenericPalletError;
172
+ /**
173
+ * The queue was full, and the solution was not better than any of the existing ones.
174
+ **/
175
+ SignedQueueFull: GenericPalletError;
176
+ /**
177
+ * The origin failed to pay the deposit.
178
+ **/
179
+ SignedCannotPayDeposit: GenericPalletError;
180
+ /**
181
+ * Witness data to dispatchable is invalid.
182
+ **/
183
+ SignedInvalidWitness: GenericPalletError;
184
+ /**
185
+ * The signed submission consumes too much weight
186
+ **/
187
+ SignedTooMuchWeight: GenericPalletError;
188
+ /**
189
+ * OCW submitted solution for wrong round
190
+ **/
191
+ OcwCallWrongEra: GenericPalletError;
192
+ /**
193
+ * Snapshot metadata should exist but didn't.
194
+ **/
195
+ MissingSnapshotMetadata: GenericPalletError;
196
+ /**
197
+ * `Self::insert_submission` returned an invalid index.
198
+ **/
199
+ InvalidSubmissionIndex: GenericPalletError;
200
+ /**
201
+ * The call is not allowed at this point.
202
+ **/
203
+ CallNotAllowed: GenericPalletError;
204
+ /**
205
+ * The fallback failed
206
+ **/
207
+ FallbackFailed: GenericPalletError;
208
+ /**
209
+ * Some bound not met
210
+ **/
211
+ BoundNotMet: GenericPalletError;
212
+ /**
213
+ * Submitted solution has too many winners
214
+ **/
215
+ TooManyWinners: GenericPalletError;
216
+ /**
217
+ * Generic pallet error
218
+ **/
219
+ [error: string]: GenericPalletError;
220
+ };
221
+ /**
222
+ * Pallet `Staking`'s errors
223
+ **/
224
+ staking: {
225
+ /**
226
+ * Not a controller account.
227
+ **/
228
+ NotController: GenericPalletError;
229
+ /**
230
+ * Not a stash account.
231
+ **/
232
+ NotStash: GenericPalletError;
233
+ /**
234
+ * Stash is already bonded.
235
+ **/
236
+ AlreadyBonded: GenericPalletError;
237
+ /**
238
+ * Controller is already paired.
239
+ **/
240
+ AlreadyPaired: GenericPalletError;
241
+ /**
242
+ * Targets cannot be empty.
243
+ **/
244
+ EmptyTargets: GenericPalletError;
245
+ /**
246
+ * Duplicate index.
247
+ **/
248
+ DuplicateIndex: GenericPalletError;
249
+ /**
250
+ * Slash record index out of bounds.
251
+ **/
252
+ InvalidSlashIndex: GenericPalletError;
253
+ /**
254
+ * Cannot have a validator or nominator role, with value less than the minimum defined by
255
+ * governance (see `MinValidatorBond` and `MinNominatorBond`). If unbonding is the
256
+ * intention, `chill` first to remove one's role as validator/nominator.
257
+ **/
258
+ InsufficientBond: GenericPalletError;
259
+ /**
260
+ * Can not schedule more unlock chunks.
261
+ **/
262
+ NoMoreChunks: GenericPalletError;
263
+ /**
264
+ * Can not rebond without unlocking chunks.
265
+ **/
266
+ NoUnlockChunk: GenericPalletError;
267
+ /**
268
+ * Attempting to target a stash that still has funds.
269
+ **/
270
+ FundedTarget: GenericPalletError;
271
+ /**
272
+ * Invalid era to reward.
273
+ **/
274
+ InvalidEraToReward: GenericPalletError;
275
+ /**
276
+ * Invalid number of nominations.
277
+ **/
278
+ InvalidNumberOfNominations: GenericPalletError;
279
+ /**
280
+ * Items are not sorted and unique.
281
+ **/
282
+ NotSortedAndUnique: GenericPalletError;
283
+ /**
284
+ * Rewards for this era have already been claimed for this validator.
285
+ **/
286
+ AlreadyClaimed: GenericPalletError;
287
+ /**
288
+ * Incorrect previous history depth input provided.
289
+ **/
290
+ IncorrectHistoryDepth: GenericPalletError;
291
+ /**
292
+ * Incorrect number of slashing spans provided.
293
+ **/
294
+ IncorrectSlashingSpans: GenericPalletError;
295
+ /**
296
+ * Internal state has become somehow corrupted and the operation cannot continue.
297
+ **/
298
+ BadState: GenericPalletError;
299
+ /**
300
+ * Too many nomination targets supplied.
301
+ **/
302
+ TooManyTargets: GenericPalletError;
303
+ /**
304
+ * A nomination target was supplied that was blocked or otherwise not a validator.
305
+ **/
306
+ BadTarget: GenericPalletError;
307
+ /**
308
+ * The user has enough bond and thus cannot be chilled forcefully by an external person.
309
+ **/
310
+ CannotChillOther: GenericPalletError;
311
+ /**
312
+ * There are too many nominators in the system. Governance needs to adjust the staking
313
+ * settings to keep things safe for the runtime.
314
+ **/
315
+ TooManyNominators: GenericPalletError;
316
+ /**
317
+ * There are too many validator candidates in the system. Governance needs to adjust the
318
+ * staking settings to keep things safe for the runtime.
319
+ **/
320
+ TooManyValidators: GenericPalletError;
321
+ /**
322
+ * Commission is too low. Must be at least `MinCommission`.
323
+ **/
324
+ CommissionTooLow: GenericPalletError;
325
+ /**
326
+ * Some bound is not met.
327
+ **/
328
+ BoundNotMet: GenericPalletError;
329
+ /**
330
+ * Generic pallet error
331
+ **/
332
+ [error: string]: GenericPalletError;
333
+ };
334
+ /**
335
+ * Pallet `Session`'s errors
336
+ **/
337
+ session: {
338
+ /**
339
+ * Invalid ownership proof.
340
+ **/
341
+ InvalidProof: GenericPalletError;
342
+ /**
343
+ * No associated validator ID for account.
344
+ **/
345
+ NoAssociatedValidatorId: GenericPalletError;
346
+ /**
347
+ * Registered duplicate key.
348
+ **/
349
+ DuplicatedKey: GenericPalletError;
350
+ /**
351
+ * No keys are associated with this account.
352
+ **/
353
+ NoKeys: GenericPalletError;
354
+ /**
355
+ * Key setting account is not live, so it's impossible to associate keys.
356
+ **/
357
+ NoAccount: GenericPalletError;
358
+ /**
359
+ * Generic pallet error
360
+ **/
361
+ [error: string]: GenericPalletError;
362
+ };
363
+ /**
364
+ * Pallet `Democracy`'s errors
365
+ **/
366
+ democracy: {
367
+ /**
368
+ * Value too low
369
+ **/
370
+ ValueLow: GenericPalletError;
371
+ /**
372
+ * Proposal does not exist
373
+ **/
374
+ ProposalMissing: GenericPalletError;
375
+ /**
376
+ * Cannot cancel the same proposal twice
377
+ **/
378
+ AlreadyCanceled: GenericPalletError;
379
+ /**
380
+ * Proposal already made
381
+ **/
382
+ DuplicateProposal: GenericPalletError;
383
+ /**
384
+ * Proposal still blacklisted
385
+ **/
386
+ ProposalBlacklisted: GenericPalletError;
387
+ /**
388
+ * Next external proposal not simple majority
389
+ **/
390
+ NotSimpleMajority: GenericPalletError;
391
+ /**
392
+ * Invalid hash
393
+ **/
394
+ InvalidHash: GenericPalletError;
395
+ /**
396
+ * No external proposal
397
+ **/
398
+ NoProposal: GenericPalletError;
399
+ /**
400
+ * Identity may not veto a proposal twice
401
+ **/
402
+ AlreadyVetoed: GenericPalletError;
403
+ /**
404
+ * Vote given for invalid referendum
405
+ **/
406
+ ReferendumInvalid: GenericPalletError;
407
+ /**
408
+ * No proposals waiting
409
+ **/
410
+ NoneWaiting: GenericPalletError;
411
+ /**
412
+ * The given account did not vote on the referendum.
413
+ **/
414
+ NotVoter: GenericPalletError;
415
+ /**
416
+ * The actor has no permission to conduct the action.
417
+ **/
418
+ NoPermission: GenericPalletError;
419
+ /**
420
+ * The account is already delegating.
421
+ **/
422
+ AlreadyDelegating: GenericPalletError;
423
+ /**
424
+ * Too high a balance was provided that the account cannot afford.
425
+ **/
426
+ InsufficientFunds: GenericPalletError;
427
+ /**
428
+ * The account is not currently delegating.
429
+ **/
430
+ NotDelegating: GenericPalletError;
431
+ /**
432
+ * The account currently has votes attached to it and the operation cannot succeed until
433
+ * these are removed, either through `unvote` or `reap_vote`.
434
+ **/
435
+ VotesExist: GenericPalletError;
436
+ /**
437
+ * The instant referendum origin is currently disallowed.
438
+ **/
439
+ InstantNotAllowed: GenericPalletError;
440
+ /**
441
+ * Delegation to oneself makes no sense.
442
+ **/
443
+ Nonsense: GenericPalletError;
444
+ /**
445
+ * Invalid upper bound.
446
+ **/
447
+ WrongUpperBound: GenericPalletError;
448
+ /**
449
+ * Maximum number of votes reached.
450
+ **/
451
+ MaxVotesReached: GenericPalletError;
452
+ /**
453
+ * Maximum number of items reached.
454
+ **/
455
+ TooMany: GenericPalletError;
456
+ /**
457
+ * Voting period too low
458
+ **/
459
+ VotingPeriodLow: GenericPalletError;
460
+ /**
461
+ * The preimage does not exist.
462
+ **/
463
+ PreimageNotExist: GenericPalletError;
464
+ /**
465
+ * Generic pallet error
466
+ **/
467
+ [error: string]: GenericPalletError;
468
+ };
469
+ /**
470
+ * Pallet `Council`'s errors
471
+ **/
472
+ council: {
473
+ /**
474
+ * Account is not a member
475
+ **/
476
+ NotMember: GenericPalletError;
477
+ /**
478
+ * Duplicate proposals not allowed
479
+ **/
480
+ DuplicateProposal: GenericPalletError;
481
+ /**
482
+ * Proposal must exist
483
+ **/
484
+ ProposalMissing: GenericPalletError;
485
+ /**
486
+ * Mismatched index
487
+ **/
488
+ WrongIndex: GenericPalletError;
489
+ /**
490
+ * Duplicate vote ignored
491
+ **/
492
+ DuplicateVote: GenericPalletError;
493
+ /**
494
+ * Members are already initialized!
495
+ **/
496
+ AlreadyInitialized: GenericPalletError;
497
+ /**
498
+ * The close call was made too early, before the end of the voting.
499
+ **/
500
+ TooEarly: GenericPalletError;
501
+ /**
502
+ * There can only be a maximum of `MaxProposals` active proposals.
503
+ **/
504
+ TooManyProposals: GenericPalletError;
505
+ /**
506
+ * The given weight bound for the proposal was too low.
507
+ **/
508
+ WrongProposalWeight: GenericPalletError;
509
+ /**
510
+ * The given length bound for the proposal was too low.
511
+ **/
512
+ WrongProposalLength: GenericPalletError;
513
+ /**
514
+ * Prime account is not a member
515
+ **/
516
+ PrimeAccountNotMember: GenericPalletError;
517
+ /**
518
+ * Generic pallet error
519
+ **/
520
+ [error: string]: GenericPalletError;
521
+ };
522
+ /**
523
+ * Pallet `TechnicalCommittee`'s errors
524
+ **/
525
+ technicalCommittee: {
526
+ /**
527
+ * Account is not a member
528
+ **/
529
+ NotMember: GenericPalletError;
530
+ /**
531
+ * Duplicate proposals not allowed
532
+ **/
533
+ DuplicateProposal: GenericPalletError;
534
+ /**
535
+ * Proposal must exist
536
+ **/
537
+ ProposalMissing: GenericPalletError;
538
+ /**
539
+ * Mismatched index
540
+ **/
541
+ WrongIndex: GenericPalletError;
542
+ /**
543
+ * Duplicate vote ignored
544
+ **/
545
+ DuplicateVote: GenericPalletError;
546
+ /**
547
+ * Members are already initialized!
548
+ **/
549
+ AlreadyInitialized: GenericPalletError;
550
+ /**
551
+ * The close call was made too early, before the end of the voting.
552
+ **/
553
+ TooEarly: GenericPalletError;
554
+ /**
555
+ * There can only be a maximum of `MaxProposals` active proposals.
556
+ **/
557
+ TooManyProposals: GenericPalletError;
558
+ /**
559
+ * The given weight bound for the proposal was too low.
560
+ **/
561
+ WrongProposalWeight: GenericPalletError;
562
+ /**
563
+ * The given length bound for the proposal was too low.
564
+ **/
565
+ WrongProposalLength: GenericPalletError;
566
+ /**
567
+ * Prime account is not a member
568
+ **/
569
+ PrimeAccountNotMember: GenericPalletError;
570
+ /**
571
+ * Generic pallet error
572
+ **/
573
+ [error: string]: GenericPalletError;
574
+ };
575
+ /**
576
+ * Pallet `Elections`'s errors
577
+ **/
578
+ elections: {
579
+ /**
580
+ * Cannot vote when no candidates or members exist.
581
+ **/
582
+ UnableToVote: GenericPalletError;
583
+ /**
584
+ * Must vote for at least one candidate.
585
+ **/
586
+ NoVotes: GenericPalletError;
587
+ /**
588
+ * Cannot vote more than candidates.
589
+ **/
590
+ TooManyVotes: GenericPalletError;
591
+ /**
592
+ * Cannot vote more than maximum allowed.
593
+ **/
594
+ MaximumVotesExceeded: GenericPalletError;
595
+ /**
596
+ * Cannot vote with stake less than minimum balance.
597
+ **/
598
+ LowBalance: GenericPalletError;
599
+ /**
600
+ * Voter can not pay voting bond.
601
+ **/
602
+ UnableToPayBond: GenericPalletError;
603
+ /**
604
+ * Must be a voter.
605
+ **/
606
+ MustBeVoter: GenericPalletError;
607
+ /**
608
+ * Duplicated candidate submission.
609
+ **/
610
+ DuplicatedCandidate: GenericPalletError;
611
+ /**
612
+ * Too many candidates have been created.
613
+ **/
614
+ TooManyCandidates: GenericPalletError;
615
+ /**
616
+ * Member cannot re-submit candidacy.
617
+ **/
618
+ MemberSubmit: GenericPalletError;
619
+ /**
620
+ * Runner cannot re-submit candidacy.
621
+ **/
622
+ RunnerUpSubmit: GenericPalletError;
623
+ /**
624
+ * Candidate does not have enough funds.
625
+ **/
626
+ InsufficientCandidateFunds: GenericPalletError;
627
+ /**
628
+ * Not a member.
629
+ **/
630
+ NotMember: GenericPalletError;
631
+ /**
632
+ * The provided count of number of candidates is incorrect.
633
+ **/
634
+ InvalidWitnessData: GenericPalletError;
635
+ /**
636
+ * The provided count of number of votes is incorrect.
637
+ **/
638
+ InvalidVoteCount: GenericPalletError;
639
+ /**
640
+ * The renouncing origin presented a wrong `Renouncing` parameter.
641
+ **/
642
+ InvalidRenouncing: GenericPalletError;
643
+ /**
644
+ * Prediction regarding replacement after member removal is wrong.
645
+ **/
646
+ InvalidReplacement: GenericPalletError;
647
+ /**
648
+ * Generic pallet error
649
+ **/
650
+ [error: string]: GenericPalletError;
651
+ };
652
+ /**
653
+ * Pallet `TechnicalMembership`'s errors
654
+ **/
655
+ technicalMembership: {
656
+ /**
657
+ * Already a member.
658
+ **/
659
+ AlreadyMember: GenericPalletError;
660
+ /**
661
+ * Not a member.
662
+ **/
663
+ NotMember: GenericPalletError;
664
+ /**
665
+ * Too many members.
666
+ **/
667
+ TooManyMembers: GenericPalletError;
668
+ /**
669
+ * Generic pallet error
670
+ **/
671
+ [error: string]: GenericPalletError;
672
+ };
673
+ /**
674
+ * Pallet `Grandpa`'s errors
675
+ **/
676
+ grandpa: {
677
+ /**
678
+ * Attempt to signal GRANDPA pause when the authority set isn't live
679
+ * (either paused or already pending pause).
680
+ **/
681
+ PauseFailed: GenericPalletError;
682
+ /**
683
+ * Attempt to signal GRANDPA resume when the authority set isn't paused
684
+ * (either live or already pending resume).
685
+ **/
686
+ ResumeFailed: GenericPalletError;
687
+ /**
688
+ * Attempt to signal GRANDPA change with one already pending.
689
+ **/
690
+ ChangePending: GenericPalletError;
691
+ /**
692
+ * Cannot signal forced change so soon after last.
693
+ **/
694
+ TooSoon: GenericPalletError;
695
+ /**
696
+ * A key ownership proof provided as part of an equivocation report is invalid.
697
+ **/
698
+ InvalidKeyOwnershipProof: GenericPalletError;
699
+ /**
700
+ * An equivocation proof provided as part of an equivocation report is invalid.
701
+ **/
702
+ InvalidEquivocationProof: GenericPalletError;
703
+ /**
704
+ * A given equivocation report is valid but already previously reported.
705
+ **/
706
+ DuplicateOffenceReport: GenericPalletError;
707
+ /**
708
+ * Generic pallet error
709
+ **/
710
+ [error: string]: GenericPalletError;
711
+ };
712
+ /**
713
+ * Pallet `Treasury`'s errors
714
+ **/
715
+ treasury: {
716
+ /**
717
+ * Proposer's balance is too low.
718
+ **/
719
+ InsufficientProposersBalance: GenericPalletError;
720
+ /**
721
+ * No proposal or bounty at that index.
722
+ **/
723
+ InvalidIndex: GenericPalletError;
724
+ /**
725
+ * Too many approvals in the queue.
726
+ **/
727
+ TooManyApprovals: GenericPalletError;
728
+ /**
729
+ * The spend origin is valid but the amount it is allowed to spend is lower than the
730
+ * amount to be spent.
731
+ **/
732
+ InsufficientPermission: GenericPalletError;
733
+ /**
734
+ * Proposal has not been approved.
735
+ **/
736
+ ProposalNotApproved: GenericPalletError;
737
+ /**
738
+ * Generic pallet error
739
+ **/
740
+ [error: string]: GenericPalletError;
741
+ };
742
+ /**
743
+ * Pallet `AssetRate`'s errors
744
+ **/
745
+ assetRate: {
746
+ /**
747
+ * The given asset ID is unknown.
748
+ **/
749
+ UnknownAssetKind: GenericPalletError;
750
+ /**
751
+ * The given asset ID already has an assigned conversion rate and cannot be re-created.
752
+ **/
753
+ AlreadyExists: GenericPalletError;
754
+ /**
755
+ * Generic pallet error
756
+ **/
757
+ [error: string]: GenericPalletError;
758
+ };
759
+ /**
760
+ * Pallet `Contracts`'s errors
761
+ **/
762
+ contracts: {
763
+ /**
764
+ * Invalid schedule supplied, e.g. with zero weight of a basic operation.
765
+ **/
766
+ InvalidSchedule: GenericPalletError;
767
+ /**
768
+ * Invalid combination of flags supplied to `seal_call` or `seal_delegate_call`.
769
+ **/
770
+ InvalidCallFlags: GenericPalletError;
771
+ /**
772
+ * The executed contract exhausted its gas limit.
773
+ **/
774
+ OutOfGas: GenericPalletError;
775
+ /**
776
+ * The output buffer supplied to a contract API call was too small.
777
+ **/
778
+ OutputBufferTooSmall: GenericPalletError;
779
+ /**
780
+ * Performing the requested transfer failed. Probably because there isn't enough
781
+ * free balance in the sender's account.
782
+ **/
783
+ TransferFailed: GenericPalletError;
784
+ /**
785
+ * Performing a call was denied because the calling depth reached the limit
786
+ * of what is specified in the schedule.
787
+ **/
788
+ MaxCallDepthReached: GenericPalletError;
789
+ /**
790
+ * No contract was found at the specified address.
791
+ **/
792
+ ContractNotFound: GenericPalletError;
793
+ /**
794
+ * The code supplied to `instantiate_with_code` exceeds the limit specified in the
795
+ * current schedule.
796
+ **/
797
+ CodeTooLarge: GenericPalletError;
798
+ /**
799
+ * No code could be found at the supplied code hash.
800
+ **/
801
+ CodeNotFound: GenericPalletError;
802
+ /**
803
+ * No code info could be found at the supplied code hash.
804
+ **/
805
+ CodeInfoNotFound: GenericPalletError;
806
+ /**
807
+ * A buffer outside of sandbox memory was passed to a contract API function.
808
+ **/
809
+ OutOfBounds: GenericPalletError;
810
+ /**
811
+ * Input passed to a contract API function failed to decode as expected type.
812
+ **/
813
+ DecodingFailed: GenericPalletError;
814
+ /**
815
+ * Contract trapped during execution.
816
+ **/
817
+ ContractTrapped: GenericPalletError;
818
+ /**
819
+ * The size defined in `T::MaxValueSize` was exceeded.
820
+ **/
821
+ ValueTooLarge: GenericPalletError;
822
+ /**
823
+ * Termination of a contract is not allowed while the contract is already
824
+ * on the call stack. Can be triggered by `seal_terminate`.
825
+ **/
826
+ TerminatedWhileReentrant: GenericPalletError;
827
+ /**
828
+ * `seal_call` forwarded this contracts input. It therefore is no longer available.
829
+ **/
830
+ InputForwarded: GenericPalletError;
831
+ /**
832
+ * The subject passed to `seal_random` exceeds the limit.
833
+ **/
834
+ RandomSubjectTooLong: GenericPalletError;
835
+ /**
836
+ * The amount of topics passed to `seal_deposit_events` exceeds the limit.
837
+ **/
838
+ TooManyTopics: GenericPalletError;
839
+ /**
840
+ * The chain does not provide a chain extension. Calling the chain extension results
841
+ * in this error. Note that this usually shouldn't happen as deploying such contracts
842
+ * is rejected.
843
+ **/
844
+ NoChainExtension: GenericPalletError;
845
+ /**
846
+ * A contract with the same AccountId already exists.
847
+ **/
848
+ DuplicateContract: GenericPalletError;
849
+ /**
850
+ * A contract self destructed in its constructor.
851
+ *
852
+ * This can be triggered by a call to `seal_terminate`.
853
+ **/
854
+ TerminatedInConstructor: GenericPalletError;
855
+ /**
856
+ * A call tried to invoke a contract that is flagged as non-reentrant.
857
+ * The only other cause is that a call from a contract into the runtime tried to call back
858
+ * into `pallet-contracts`. This would make the whole pallet reentrant with regard to
859
+ * contract code execution which is not supported.
860
+ **/
861
+ ReentranceDenied: GenericPalletError;
862
+ /**
863
+ * Origin doesn't have enough balance to pay the required storage deposits.
864
+ **/
865
+ StorageDepositNotEnoughFunds: GenericPalletError;
866
+ /**
867
+ * More storage was created than allowed by the storage deposit limit.
868
+ **/
869
+ StorageDepositLimitExhausted: GenericPalletError;
870
+ /**
871
+ * Code removal was denied because the code is still in use by at least one contract.
872
+ **/
873
+ CodeInUse: GenericPalletError;
874
+ /**
875
+ * The contract ran to completion but decided to revert its storage changes.
876
+ * Please note that this error is only returned from extrinsics. When called directly
877
+ * or via RPC an `Ok` will be returned. In this case the caller needs to inspect the flags
878
+ * to determine whether a reversion has taken place.
879
+ **/
880
+ ContractReverted: GenericPalletError;
881
+ /**
882
+ * The contract's code was found to be invalid during validation.
883
+ *
884
+ * The most likely cause of this is that an API was used which is not supported by the
885
+ * node. This happens if an older node is used with a new version of ink!. Try updating
886
+ * your node to the newest available version.
887
+ *
888
+ * A more detailed error can be found on the node console if debug messages are enabled
889
+ * by supplying `-lruntime::contracts=debug`.
890
+ **/
891
+ CodeRejected: GenericPalletError;
892
+ /**
893
+ * An indetermistic code was used in a context where this is not permitted.
894
+ **/
895
+ Indeterministic: GenericPalletError;
896
+ /**
897
+ * A pending migration needs to complete before the extrinsic can be called.
898
+ **/
899
+ MigrationInProgress: GenericPalletError;
900
+ /**
901
+ * Migrate dispatch call was attempted but no migration was performed.
902
+ **/
903
+ NoMigrationPerformed: GenericPalletError;
904
+ /**
905
+ * The contract has reached its maximum number of delegate dependencies.
906
+ **/
907
+ MaxDelegateDependenciesReached: GenericPalletError;
908
+ /**
909
+ * The dependency was not found in the contract's delegate dependencies.
910
+ **/
911
+ DelegateDependencyNotFound: GenericPalletError;
912
+ /**
913
+ * The contract already depends on the given delegate dependency.
914
+ **/
915
+ DelegateDependencyAlreadyExists: GenericPalletError;
916
+ /**
917
+ * Can not add a delegate dependency to the code hash of the contract itself.
918
+ **/
919
+ CannotAddSelfAsDelegateDependency: GenericPalletError;
920
+ /**
921
+ * Generic pallet error
922
+ **/
923
+ [error: string]: GenericPalletError;
924
+ };
925
+ /**
926
+ * Pallet `Sudo`'s errors
927
+ **/
928
+ sudo: {
929
+ /**
930
+ * Sender must be the Sudo account
931
+ **/
932
+ RequireSudo: GenericPalletError;
933
+ /**
934
+ * Generic pallet error
935
+ **/
936
+ [error: string]: GenericPalletError;
937
+ };
938
+ /**
939
+ * Pallet `ImOnline`'s errors
940
+ **/
941
+ imOnline: {
942
+ /**
943
+ * Non existent public key.
944
+ **/
945
+ InvalidKey: GenericPalletError;
946
+ /**
947
+ * Duplicated heartbeat.
948
+ **/
949
+ DuplicatedHeartbeat: GenericPalletError;
950
+ /**
951
+ * Generic pallet error
952
+ **/
953
+ [error: string]: GenericPalletError;
954
+ };
955
+ /**
956
+ * Pallet `Identity`'s errors
957
+ **/
958
+ identity: {
959
+ /**
960
+ * Too many subs-accounts.
961
+ **/
962
+ TooManySubAccounts: GenericPalletError;
963
+ /**
964
+ * Account isn't found.
965
+ **/
966
+ NotFound: GenericPalletError;
967
+ /**
968
+ * Account isn't named.
969
+ **/
970
+ NotNamed: GenericPalletError;
971
+ /**
972
+ * Empty index.
973
+ **/
974
+ EmptyIndex: GenericPalletError;
975
+ /**
976
+ * Fee is changed.
977
+ **/
978
+ FeeChanged: GenericPalletError;
979
+ /**
980
+ * No identity found.
981
+ **/
982
+ NoIdentity: GenericPalletError;
983
+ /**
984
+ * Sticky judgement.
985
+ **/
986
+ StickyJudgement: GenericPalletError;
987
+ /**
988
+ * Judgement given.
989
+ **/
990
+ JudgementGiven: GenericPalletError;
991
+ /**
992
+ * Invalid judgement.
993
+ **/
994
+ InvalidJudgement: GenericPalletError;
995
+ /**
996
+ * The index is invalid.
997
+ **/
998
+ InvalidIndex: GenericPalletError;
999
+ /**
1000
+ * The target is invalid.
1001
+ **/
1002
+ InvalidTarget: GenericPalletError;
1003
+ /**
1004
+ * Too many additional fields.
1005
+ **/
1006
+ TooManyFields: GenericPalletError;
1007
+ /**
1008
+ * Maximum amount of registrars reached. Cannot add any more.
1009
+ **/
1010
+ TooManyRegistrars: GenericPalletError;
1011
+ /**
1012
+ * Account ID is already named.
1013
+ **/
1014
+ AlreadyClaimed: GenericPalletError;
1015
+ /**
1016
+ * Sender is not a sub-account.
1017
+ **/
1018
+ NotSub: GenericPalletError;
1019
+ /**
1020
+ * Sub-account isn't owned by sender.
1021
+ **/
1022
+ NotOwned: GenericPalletError;
1023
+ /**
1024
+ * The provided judgement was for a different identity.
1025
+ **/
1026
+ JudgementForDifferentIdentity: GenericPalletError;
1027
+ /**
1028
+ * Error that occurs when there is an issue paying for judgement.
1029
+ **/
1030
+ JudgementPaymentFailed: GenericPalletError;
1031
+ /**
1032
+ * Generic pallet error
1033
+ **/
1034
+ [error: string]: GenericPalletError;
1035
+ };
1036
+ /**
1037
+ * Pallet `Society`'s errors
1038
+ **/
1039
+ society: {
1040
+ /**
1041
+ * User is not a member.
1042
+ **/
1043
+ NotMember: GenericPalletError;
1044
+ /**
1045
+ * User is already a member.
1046
+ **/
1047
+ AlreadyMember: GenericPalletError;
1048
+ /**
1049
+ * User is suspended.
1050
+ **/
1051
+ Suspended: GenericPalletError;
1052
+ /**
1053
+ * User is not suspended.
1054
+ **/
1055
+ NotSuspended: GenericPalletError;
1056
+ /**
1057
+ * Nothing to payout.
1058
+ **/
1059
+ NoPayout: GenericPalletError;
1060
+ /**
1061
+ * Society already founded.
1062
+ **/
1063
+ AlreadyFounded: GenericPalletError;
1064
+ /**
1065
+ * Not enough in pot to accept candidate.
1066
+ **/
1067
+ InsufficientPot: GenericPalletError;
1068
+ /**
1069
+ * Member is already vouching or banned from vouching again.
1070
+ **/
1071
+ AlreadyVouching: GenericPalletError;
1072
+ /**
1073
+ * Member is not vouching.
1074
+ **/
1075
+ NotVouchingOnBidder: GenericPalletError;
1076
+ /**
1077
+ * Cannot remove the head of the chain.
1078
+ **/
1079
+ Head: GenericPalletError;
1080
+ /**
1081
+ * Cannot remove the founder.
1082
+ **/
1083
+ Founder: GenericPalletError;
1084
+ /**
1085
+ * User has already made a bid.
1086
+ **/
1087
+ AlreadyBid: GenericPalletError;
1088
+ /**
1089
+ * User is already a candidate.
1090
+ **/
1091
+ AlreadyCandidate: GenericPalletError;
1092
+ /**
1093
+ * User is not a candidate.
1094
+ **/
1095
+ NotCandidate: GenericPalletError;
1096
+ /**
1097
+ * Too many members in the society.
1098
+ **/
1099
+ MaxMembers: GenericPalletError;
1100
+ /**
1101
+ * The caller is not the founder.
1102
+ **/
1103
+ NotFounder: GenericPalletError;
1104
+ /**
1105
+ * The caller is not the head.
1106
+ **/
1107
+ NotHead: GenericPalletError;
1108
+ /**
1109
+ * The membership cannot be claimed as the candidate was not clearly approved.
1110
+ **/
1111
+ NotApproved: GenericPalletError;
1112
+ /**
1113
+ * The candidate cannot be kicked as the candidate was not clearly rejected.
1114
+ **/
1115
+ NotRejected: GenericPalletError;
1116
+ /**
1117
+ * The candidacy cannot be dropped as the candidate was clearly approved.
1118
+ **/
1119
+ Approved: GenericPalletError;
1120
+ /**
1121
+ * The candidacy cannot be bestowed as the candidate was clearly rejected.
1122
+ **/
1123
+ Rejected: GenericPalletError;
1124
+ /**
1125
+ * The candidacy cannot be concluded as the voting is still in progress.
1126
+ **/
1127
+ InProgress: GenericPalletError;
1128
+ /**
1129
+ * The candidacy cannot be pruned until a full additional intake period has passed.
1130
+ **/
1131
+ TooEarly: GenericPalletError;
1132
+ /**
1133
+ * The skeptic already voted.
1134
+ **/
1135
+ Voted: GenericPalletError;
1136
+ /**
1137
+ * The skeptic need not vote on candidates from expired rounds.
1138
+ **/
1139
+ Expired: GenericPalletError;
1140
+ /**
1141
+ * User is not a bidder.
1142
+ **/
1143
+ NotBidder: GenericPalletError;
1144
+ /**
1145
+ * There is no defender currently.
1146
+ **/
1147
+ NoDefender: GenericPalletError;
1148
+ /**
1149
+ * Group doesn't exist.
1150
+ **/
1151
+ NotGroup: GenericPalletError;
1152
+ /**
1153
+ * The member is already elevated to this rank.
1154
+ **/
1155
+ AlreadyElevated: GenericPalletError;
1156
+ /**
1157
+ * The skeptic has already been punished for this offence.
1158
+ **/
1159
+ AlreadyPunished: GenericPalletError;
1160
+ /**
1161
+ * Funds are insufficient to pay off society debts.
1162
+ **/
1163
+ InsufficientFunds: GenericPalletError;
1164
+ /**
1165
+ * The candidate/defender has no stale votes to remove.
1166
+ **/
1167
+ NoVotes: GenericPalletError;
1168
+ /**
1169
+ * Generic pallet error
1170
+ **/
1171
+ [error: string]: GenericPalletError;
1172
+ };
1173
+ /**
1174
+ * Pallet `Recovery`'s errors
1175
+ **/
1176
+ recovery: {
1177
+ /**
1178
+ * User is not allowed to make a call on behalf of this account
1179
+ **/
1180
+ NotAllowed: GenericPalletError;
1181
+ /**
1182
+ * Threshold must be greater than zero
1183
+ **/
1184
+ ZeroThreshold: GenericPalletError;
1185
+ /**
1186
+ * Friends list must be greater than zero and threshold
1187
+ **/
1188
+ NotEnoughFriends: GenericPalletError;
1189
+ /**
1190
+ * Friends list must be less than max friends
1191
+ **/
1192
+ MaxFriends: GenericPalletError;
1193
+ /**
1194
+ * Friends list must be sorted and free of duplicates
1195
+ **/
1196
+ NotSorted: GenericPalletError;
1197
+ /**
1198
+ * This account is not set up for recovery
1199
+ **/
1200
+ NotRecoverable: GenericPalletError;
1201
+ /**
1202
+ * This account is already set up for recovery
1203
+ **/
1204
+ AlreadyRecoverable: GenericPalletError;
1205
+ /**
1206
+ * A recovery process has already started for this account
1207
+ **/
1208
+ AlreadyStarted: GenericPalletError;
1209
+ /**
1210
+ * A recovery process has not started for this rescuer
1211
+ **/
1212
+ NotStarted: GenericPalletError;
1213
+ /**
1214
+ * This account is not a friend who can vouch
1215
+ **/
1216
+ NotFriend: GenericPalletError;
1217
+ /**
1218
+ * The friend must wait until the delay period to vouch for this recovery
1219
+ **/
1220
+ DelayPeriod: GenericPalletError;
1221
+ /**
1222
+ * This user has already vouched for this recovery
1223
+ **/
1224
+ AlreadyVouched: GenericPalletError;
1225
+ /**
1226
+ * The threshold for recovering this account has not been met
1227
+ **/
1228
+ Threshold: GenericPalletError;
1229
+ /**
1230
+ * There are still active recovery attempts that need to be closed
1231
+ **/
1232
+ StillActive: GenericPalletError;
1233
+ /**
1234
+ * This account is already set up for recovery
1235
+ **/
1236
+ AlreadyProxy: GenericPalletError;
1237
+ /**
1238
+ * Some internal state is broken.
1239
+ **/
1240
+ BadState: GenericPalletError;
1241
+ /**
1242
+ * Generic pallet error
1243
+ **/
1244
+ [error: string]: GenericPalletError;
1245
+ };
1246
+ /**
1247
+ * Pallet `Vesting`'s errors
1248
+ **/
1249
+ vesting: {
1250
+ /**
1251
+ * The account given is not vesting.
1252
+ **/
1253
+ NotVesting: GenericPalletError;
1254
+ /**
1255
+ * The account already has `MaxVestingSchedules` count of schedules and thus
1256
+ * cannot add another one. Consider merging existing schedules in order to add another.
1257
+ **/
1258
+ AtMaxVestingSchedules: GenericPalletError;
1259
+ /**
1260
+ * Amount being transferred is too low to create a vesting schedule.
1261
+ **/
1262
+ AmountLow: GenericPalletError;
1263
+ /**
1264
+ * An index was out of bounds of the vesting schedules.
1265
+ **/
1266
+ ScheduleIndexOutOfBounds: GenericPalletError;
1267
+ /**
1268
+ * Failed to create a new schedule because some parameter was invalid.
1269
+ **/
1270
+ InvalidScheduleParams: GenericPalletError;
1271
+ /**
1272
+ * Generic pallet error
1273
+ **/
1274
+ [error: string]: GenericPalletError;
1275
+ };
1276
+ /**
1277
+ * Pallet `Scheduler`'s errors
1278
+ **/
1279
+ scheduler: {
1280
+ /**
1281
+ * Failed to schedule a call
1282
+ **/
1283
+ FailedToSchedule: GenericPalletError;
1284
+ /**
1285
+ * Cannot find the scheduled call.
1286
+ **/
1287
+ NotFound: GenericPalletError;
1288
+ /**
1289
+ * Given target block number is in the past.
1290
+ **/
1291
+ TargetBlockNumberInPast: GenericPalletError;
1292
+ /**
1293
+ * Reschedule failed because it does not change scheduled time.
1294
+ **/
1295
+ RescheduleNoChange: GenericPalletError;
1296
+ /**
1297
+ * Attempt to use a non-named function on a named task.
1298
+ **/
1299
+ Named: GenericPalletError;
1300
+ /**
1301
+ * Generic pallet error
1302
+ **/
1303
+ [error: string]: GenericPalletError;
1304
+ };
1305
+ /**
1306
+ * Pallet `Glutton`'s errors
1307
+ **/
1308
+ glutton: {
1309
+ /**
1310
+ * The pallet was already initialized.
1311
+ *
1312
+ * Set `witness_count` to `Some` to bypass this error.
1313
+ **/
1314
+ AlreadyInitialized: GenericPalletError;
1315
+ /**
1316
+ * The limit was over [`crate::RESOURCE_HARD_LIMIT`].
1317
+ **/
1318
+ InsaneLimit: GenericPalletError;
1319
+ /**
1320
+ * Generic pallet error
1321
+ **/
1322
+ [error: string]: GenericPalletError;
1323
+ };
1324
+ /**
1325
+ * Pallet `Preimage`'s errors
1326
+ **/
1327
+ preimage: {
1328
+ /**
1329
+ * Preimage is too large to store on-chain.
1330
+ **/
1331
+ TooBig: GenericPalletError;
1332
+ /**
1333
+ * Preimage has already been noted on-chain.
1334
+ **/
1335
+ AlreadyNoted: GenericPalletError;
1336
+ /**
1337
+ * The user is not authorized to perform this action.
1338
+ **/
1339
+ NotAuthorized: GenericPalletError;
1340
+ /**
1341
+ * The preimage cannot be removed since it has not yet been noted.
1342
+ **/
1343
+ NotNoted: GenericPalletError;
1344
+ /**
1345
+ * A preimage may not be removed when there are outstanding requests.
1346
+ **/
1347
+ Requested: GenericPalletError;
1348
+ /**
1349
+ * The preimage request cannot be removed since no outstanding requests exist.
1350
+ **/
1351
+ NotRequested: GenericPalletError;
1352
+ /**
1353
+ * Generic pallet error
1354
+ **/
1355
+ [error: string]: GenericPalletError;
1356
+ };
1357
+ /**
1358
+ * Pallet `Proxy`'s errors
1359
+ **/
1360
+ proxy: {
1361
+ /**
1362
+ * There are too many proxies registered or too many announcements pending.
1363
+ **/
1364
+ TooMany: GenericPalletError;
1365
+ /**
1366
+ * Proxy registration not found.
1367
+ **/
1368
+ NotFound: GenericPalletError;
1369
+ /**
1370
+ * Sender is not a proxy of the account to be proxied.
1371
+ **/
1372
+ NotProxy: GenericPalletError;
1373
+ /**
1374
+ * A call which is incompatible with the proxy type's filter was attempted.
1375
+ **/
1376
+ Unproxyable: GenericPalletError;
1377
+ /**
1378
+ * Account is already a proxy.
1379
+ **/
1380
+ Duplicate: GenericPalletError;
1381
+ /**
1382
+ * Call may not be made by proxy because it may escalate its privileges.
1383
+ **/
1384
+ NoPermission: GenericPalletError;
1385
+ /**
1386
+ * Announcement, if made at all, was made too recently.
1387
+ **/
1388
+ Unannounced: GenericPalletError;
1389
+ /**
1390
+ * Cannot add self as proxy.
1391
+ **/
1392
+ NoSelfProxy: GenericPalletError;
1393
+ /**
1394
+ * Generic pallet error
1395
+ **/
1396
+ [error: string]: GenericPalletError;
1397
+ };
1398
+ /**
1399
+ * Pallet `Multisig`'s errors
1400
+ **/
1401
+ multisig: {
1402
+ /**
1403
+ * Threshold must be 2 or greater.
1404
+ **/
1405
+ MinimumThreshold: GenericPalletError;
1406
+ /**
1407
+ * Call is already approved by this signatory.
1408
+ **/
1409
+ AlreadyApproved: GenericPalletError;
1410
+ /**
1411
+ * Call doesn't need any (more) approvals.
1412
+ **/
1413
+ NoApprovalsNeeded: GenericPalletError;
1414
+ /**
1415
+ * There are too few signatories in the list.
1416
+ **/
1417
+ TooFewSignatories: GenericPalletError;
1418
+ /**
1419
+ * There are too many signatories in the list.
1420
+ **/
1421
+ TooManySignatories: GenericPalletError;
1422
+ /**
1423
+ * The signatories were provided out of order; they should be ordered.
1424
+ **/
1425
+ SignatoriesOutOfOrder: GenericPalletError;
1426
+ /**
1427
+ * The sender was contained in the other signatories; it shouldn't be.
1428
+ **/
1429
+ SenderInSignatories: GenericPalletError;
1430
+ /**
1431
+ * Multisig operation not found when attempting to cancel.
1432
+ **/
1433
+ NotFound: GenericPalletError;
1434
+ /**
1435
+ * Only the account that originally created the multisig is able to cancel it.
1436
+ **/
1437
+ NotOwner: GenericPalletError;
1438
+ /**
1439
+ * No timepoint was given, yet the multisig operation is already underway.
1440
+ **/
1441
+ NoTimepoint: GenericPalletError;
1442
+ /**
1443
+ * A different timepoint was given to the multisig operation that is underway.
1444
+ **/
1445
+ WrongTimepoint: GenericPalletError;
1446
+ /**
1447
+ * A timepoint was given, yet no multisig operation is underway.
1448
+ **/
1449
+ UnexpectedTimepoint: GenericPalletError;
1450
+ /**
1451
+ * The maximum weight information provided was too low.
1452
+ **/
1453
+ MaxWeightTooLow: GenericPalletError;
1454
+ /**
1455
+ * The data to be stored is already stored.
1456
+ **/
1457
+ AlreadyStored: GenericPalletError;
1458
+ /**
1459
+ * Generic pallet error
1460
+ **/
1461
+ [error: string]: GenericPalletError;
1462
+ };
1463
+ /**
1464
+ * Pallet `Bounties`'s errors
1465
+ **/
1466
+ bounties: {
1467
+ /**
1468
+ * Proposer's balance is too low.
1469
+ **/
1470
+ InsufficientProposersBalance: GenericPalletError;
1471
+ /**
1472
+ * No proposal or bounty at that index.
1473
+ **/
1474
+ InvalidIndex: GenericPalletError;
1475
+ /**
1476
+ * The reason given is just too big.
1477
+ **/
1478
+ ReasonTooBig: GenericPalletError;
1479
+ /**
1480
+ * The bounty status is unexpected.
1481
+ **/
1482
+ UnexpectedStatus: GenericPalletError;
1483
+ /**
1484
+ * Require bounty curator.
1485
+ **/
1486
+ RequireCurator: GenericPalletError;
1487
+ /**
1488
+ * Invalid bounty value.
1489
+ **/
1490
+ InvalidValue: GenericPalletError;
1491
+ /**
1492
+ * Invalid bounty fee.
1493
+ **/
1494
+ InvalidFee: GenericPalletError;
1495
+ /**
1496
+ * A bounty payout is pending.
1497
+ * To cancel the bounty, you must unassign and slash the curator.
1498
+ **/
1499
+ PendingPayout: GenericPalletError;
1500
+ /**
1501
+ * The bounties cannot be claimed/closed because it's still in the countdown period.
1502
+ **/
1503
+ Premature: GenericPalletError;
1504
+ /**
1505
+ * The bounty cannot be closed because it has active child bounties.
1506
+ **/
1507
+ HasActiveChildBounty: GenericPalletError;
1508
+ /**
1509
+ * Too many approvals are already queued.
1510
+ **/
1511
+ TooManyQueued: GenericPalletError;
1512
+ /**
1513
+ * Generic pallet error
1514
+ **/
1515
+ [error: string]: GenericPalletError;
1516
+ };
1517
+ /**
1518
+ * Pallet `Tips`'s errors
1519
+ **/
1520
+ tips: {
1521
+ /**
1522
+ * The reason given is just too big.
1523
+ **/
1524
+ ReasonTooBig: GenericPalletError;
1525
+ /**
1526
+ * The tip was already found/started.
1527
+ **/
1528
+ AlreadyKnown: GenericPalletError;
1529
+ /**
1530
+ * The tip hash is unknown.
1531
+ **/
1532
+ UnknownTip: GenericPalletError;
1533
+ /**
1534
+ * The account attempting to retract the tip is not the finder of the tip.
1535
+ **/
1536
+ NotFinder: GenericPalletError;
1537
+ /**
1538
+ * The tip cannot be claimed/closed because there are not enough tippers yet.
1539
+ **/
1540
+ StillOpen: GenericPalletError;
1541
+ /**
1542
+ * The tip cannot be claimed/closed because it's still in the countdown period.
1543
+ **/
1544
+ Premature: GenericPalletError;
1545
+ /**
1546
+ * Generic pallet error
1547
+ **/
1548
+ [error: string]: GenericPalletError;
1549
+ };
1550
+ /**
1551
+ * Pallet `Assets`'s errors
1552
+ **/
1553
+ assets: {
1554
+ /**
1555
+ * Account balance must be greater than or equal to the transfer amount.
1556
+ **/
1557
+ BalanceLow: GenericPalletError;
1558
+ /**
1559
+ * The account to alter does not exist.
1560
+ **/
1561
+ NoAccount: GenericPalletError;
1562
+ /**
1563
+ * The signing account has no permission to do the operation.
1564
+ **/
1565
+ NoPermission: GenericPalletError;
1566
+ /**
1567
+ * The given asset ID is unknown.
1568
+ **/
1569
+ Unknown: GenericPalletError;
1570
+ /**
1571
+ * The origin account is frozen.
1572
+ **/
1573
+ Frozen: GenericPalletError;
1574
+ /**
1575
+ * The asset ID is already taken.
1576
+ **/
1577
+ InUse: GenericPalletError;
1578
+ /**
1579
+ * Invalid witness data given.
1580
+ **/
1581
+ BadWitness: GenericPalletError;
1582
+ /**
1583
+ * Minimum balance should be non-zero.
1584
+ **/
1585
+ MinBalanceZero: GenericPalletError;
1586
+ /**
1587
+ * Unable to increment the consumer reference counters on the account. Either no provider
1588
+ * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
1589
+ * fewer then the maximum number of consumers has been reached.
1590
+ **/
1591
+ UnavailableConsumer: GenericPalletError;
1592
+ /**
1593
+ * Invalid metadata given.
1594
+ **/
1595
+ BadMetadata: GenericPalletError;
1596
+ /**
1597
+ * No approval exists that would allow the transfer.
1598
+ **/
1599
+ Unapproved: GenericPalletError;
1600
+ /**
1601
+ * The source account would not survive the transfer and it needs to stay alive.
1602
+ **/
1603
+ WouldDie: GenericPalletError;
1604
+ /**
1605
+ * The asset-account already exists.
1606
+ **/
1607
+ AlreadyExists: GenericPalletError;
1608
+ /**
1609
+ * The asset-account doesn't have an associated deposit.
1610
+ **/
1611
+ NoDeposit: GenericPalletError;
1612
+ /**
1613
+ * The operation would result in funds being burned.
1614
+ **/
1615
+ WouldBurn: GenericPalletError;
1616
+ /**
1617
+ * The asset is a live asset and is actively being used. Usually emit for operations such
1618
+ * as `start_destroy` which require the asset to be in a destroying state.
1619
+ **/
1620
+ LiveAsset: GenericPalletError;
1621
+ /**
1622
+ * The asset is not live, and likely being destroyed.
1623
+ **/
1624
+ AssetNotLive: GenericPalletError;
1625
+ /**
1626
+ * The asset status is not the expected status.
1627
+ **/
1628
+ IncorrectStatus: GenericPalletError;
1629
+ /**
1630
+ * The asset should be frozen before the given operation.
1631
+ **/
1632
+ NotFrozen: GenericPalletError;
1633
+ /**
1634
+ * Callback action resulted in error
1635
+ **/
1636
+ CallbackFailed: GenericPalletError;
1637
+ /**
1638
+ * Generic pallet error
1639
+ **/
1640
+ [error: string]: GenericPalletError;
1641
+ };
1642
+ /**
1643
+ * Pallet `PoolAssets`'s errors
1644
+ **/
1645
+ poolAssets: {
1646
+ /**
1647
+ * Account balance must be greater than or equal to the transfer amount.
1648
+ **/
1649
+ BalanceLow: GenericPalletError;
1650
+ /**
1651
+ * The account to alter does not exist.
1652
+ **/
1653
+ NoAccount: GenericPalletError;
1654
+ /**
1655
+ * The signing account has no permission to do the operation.
1656
+ **/
1657
+ NoPermission: GenericPalletError;
1658
+ /**
1659
+ * The given asset ID is unknown.
1660
+ **/
1661
+ Unknown: GenericPalletError;
1662
+ /**
1663
+ * The origin account is frozen.
1664
+ **/
1665
+ Frozen: GenericPalletError;
1666
+ /**
1667
+ * The asset ID is already taken.
1668
+ **/
1669
+ InUse: GenericPalletError;
1670
+ /**
1671
+ * Invalid witness data given.
1672
+ **/
1673
+ BadWitness: GenericPalletError;
1674
+ /**
1675
+ * Minimum balance should be non-zero.
1676
+ **/
1677
+ MinBalanceZero: GenericPalletError;
1678
+ /**
1679
+ * Unable to increment the consumer reference counters on the account. Either no provider
1680
+ * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
1681
+ * fewer then the maximum number of consumers has been reached.
1682
+ **/
1683
+ UnavailableConsumer: GenericPalletError;
1684
+ /**
1685
+ * Invalid metadata given.
1686
+ **/
1687
+ BadMetadata: GenericPalletError;
1688
+ /**
1689
+ * No approval exists that would allow the transfer.
1690
+ **/
1691
+ Unapproved: GenericPalletError;
1692
+ /**
1693
+ * The source account would not survive the transfer and it needs to stay alive.
1694
+ **/
1695
+ WouldDie: GenericPalletError;
1696
+ /**
1697
+ * The asset-account already exists.
1698
+ **/
1699
+ AlreadyExists: GenericPalletError;
1700
+ /**
1701
+ * The asset-account doesn't have an associated deposit.
1702
+ **/
1703
+ NoDeposit: GenericPalletError;
1704
+ /**
1705
+ * The operation would result in funds being burned.
1706
+ **/
1707
+ WouldBurn: GenericPalletError;
1708
+ /**
1709
+ * The asset is a live asset and is actively being used. Usually emit for operations such
1710
+ * as `start_destroy` which require the asset to be in a destroying state.
1711
+ **/
1712
+ LiveAsset: GenericPalletError;
1713
+ /**
1714
+ * The asset is not live, and likely being destroyed.
1715
+ **/
1716
+ AssetNotLive: GenericPalletError;
1717
+ /**
1718
+ * The asset status is not the expected status.
1719
+ **/
1720
+ IncorrectStatus: GenericPalletError;
1721
+ /**
1722
+ * The asset should be frozen before the given operation.
1723
+ **/
1724
+ NotFrozen: GenericPalletError;
1725
+ /**
1726
+ * Callback action resulted in error
1727
+ **/
1728
+ CallbackFailed: GenericPalletError;
1729
+ /**
1730
+ * Generic pallet error
1731
+ **/
1732
+ [error: string]: GenericPalletError;
1733
+ };
1734
+ /**
1735
+ * Pallet `Lottery`'s errors
1736
+ **/
1737
+ lottery: {
1738
+ /**
1739
+ * A lottery has not been configured.
1740
+ **/
1741
+ NotConfigured: GenericPalletError;
1742
+ /**
1743
+ * A lottery is already in progress.
1744
+ **/
1745
+ InProgress: GenericPalletError;
1746
+ /**
1747
+ * A lottery has already ended.
1748
+ **/
1749
+ AlreadyEnded: GenericPalletError;
1750
+ /**
1751
+ * The call is not valid for an open lottery.
1752
+ **/
1753
+ InvalidCall: GenericPalletError;
1754
+ /**
1755
+ * You are already participating in the lottery with this call.
1756
+ **/
1757
+ AlreadyParticipating: GenericPalletError;
1758
+ /**
1759
+ * Too many calls for a single lottery.
1760
+ **/
1761
+ TooManyCalls: GenericPalletError;
1762
+ /**
1763
+ * Failed to encode calls
1764
+ **/
1765
+ EncodingFailed: GenericPalletError;
1766
+ /**
1767
+ * Generic pallet error
1768
+ **/
1769
+ [error: string]: GenericPalletError;
1770
+ };
1771
+ /**
1772
+ * Pallet `Nis`'s errors
1773
+ **/
1774
+ nis: {
1775
+ /**
1776
+ * The duration of the bid is less than one.
1777
+ **/
1778
+ DurationTooSmall: GenericPalletError;
1779
+ /**
1780
+ * The duration is the bid is greater than the number of queues.
1781
+ **/
1782
+ DurationTooBig: GenericPalletError;
1783
+ /**
1784
+ * The amount of the bid is less than the minimum allowed.
1785
+ **/
1786
+ AmountTooSmall: GenericPalletError;
1787
+ /**
1788
+ * The queue for the bid's duration is full and the amount bid is too low to get in
1789
+ * through replacing an existing bid.
1790
+ **/
1791
+ BidTooLow: GenericPalletError;
1792
+ /**
1793
+ * Receipt index is unknown.
1794
+ **/
1795
+ UnknownReceipt: GenericPalletError;
1796
+ /**
1797
+ * Not the owner of the receipt.
1798
+ **/
1799
+ NotOwner: GenericPalletError;
1800
+ /**
1801
+ * Bond not yet at expiry date.
1802
+ **/
1803
+ NotExpired: GenericPalletError;
1804
+ /**
1805
+ * The given bid for retraction is not found.
1806
+ **/
1807
+ UnknownBid: GenericPalletError;
1808
+ /**
1809
+ * The portion supplied is beyond the value of the receipt.
1810
+ **/
1811
+ PortionTooBig: GenericPalletError;
1812
+ /**
1813
+ * Not enough funds are held to pay out.
1814
+ **/
1815
+ Unfunded: GenericPalletError;
1816
+ /**
1817
+ * There are enough funds for what is required.
1818
+ **/
1819
+ AlreadyFunded: GenericPalletError;
1820
+ /**
1821
+ * The thaw throttle has been reached for this period.
1822
+ **/
1823
+ Throttled: GenericPalletError;
1824
+ /**
1825
+ * The operation would result in a receipt worth an insignficant value.
1826
+ **/
1827
+ MakesDust: GenericPalletError;
1828
+ /**
1829
+ * The receipt is already communal.
1830
+ **/
1831
+ AlreadyCommunal: GenericPalletError;
1832
+ /**
1833
+ * The receipt is already private.
1834
+ **/
1835
+ AlreadyPrivate: GenericPalletError;
1836
+ /**
1837
+ * Generic pallet error
1838
+ **/
1839
+ [error: string]: GenericPalletError;
1840
+ };
1841
+ /**
1842
+ * Pallet `Uniques`'s errors
1843
+ **/
1844
+ uniques: {
1845
+ /**
1846
+ * The signing account has no permission to do the operation.
1847
+ **/
1848
+ NoPermission: GenericPalletError;
1849
+ /**
1850
+ * The given item ID is unknown.
1851
+ **/
1852
+ UnknownCollection: GenericPalletError;
1853
+ /**
1854
+ * The item ID has already been used for an item.
1855
+ **/
1856
+ AlreadyExists: GenericPalletError;
1857
+ /**
1858
+ * The owner turned out to be different to what was expected.
1859
+ **/
1860
+ WrongOwner: GenericPalletError;
1861
+ /**
1862
+ * Invalid witness data given.
1863
+ **/
1864
+ BadWitness: GenericPalletError;
1865
+ /**
1866
+ * The item ID is already taken.
1867
+ **/
1868
+ InUse: GenericPalletError;
1869
+ /**
1870
+ * The item or collection is frozen.
1871
+ **/
1872
+ Frozen: GenericPalletError;
1873
+ /**
1874
+ * The delegate turned out to be different to what was expected.
1875
+ **/
1876
+ WrongDelegate: GenericPalletError;
1877
+ /**
1878
+ * There is no delegate approved.
1879
+ **/
1880
+ NoDelegate: GenericPalletError;
1881
+ /**
1882
+ * No approval exists that would allow the transfer.
1883
+ **/
1884
+ Unapproved: GenericPalletError;
1885
+ /**
1886
+ * The named owner has not signed ownership of the collection is acceptable.
1887
+ **/
1888
+ Unaccepted: GenericPalletError;
1889
+ /**
1890
+ * The item is locked.
1891
+ **/
1892
+ Locked: GenericPalletError;
1893
+ /**
1894
+ * All items have been minted.
1895
+ **/
1896
+ MaxSupplyReached: GenericPalletError;
1897
+ /**
1898
+ * The max supply has already been set.
1899
+ **/
1900
+ MaxSupplyAlreadySet: GenericPalletError;
1901
+ /**
1902
+ * The provided max supply is less to the amount of items a collection already has.
1903
+ **/
1904
+ MaxSupplyTooSmall: GenericPalletError;
1905
+ /**
1906
+ * The given item ID is unknown.
1907
+ **/
1908
+ UnknownItem: GenericPalletError;
1909
+ /**
1910
+ * Item is not for sale.
1911
+ **/
1912
+ NotForSale: GenericPalletError;
1913
+ /**
1914
+ * The provided bid is too low.
1915
+ **/
1916
+ BidTooLow: GenericPalletError;
1917
+ /**
1918
+ * Generic pallet error
1919
+ **/
1920
+ [error: string]: GenericPalletError;
1921
+ };
1922
+ /**
1923
+ * Pallet `Nfts`'s errors
1924
+ **/
1925
+ nfts: {
1926
+ /**
1927
+ * The signing account has no permission to do the operation.
1928
+ **/
1929
+ NoPermission: GenericPalletError;
1930
+ /**
1931
+ * The given item ID is unknown.
1932
+ **/
1933
+ UnknownCollection: GenericPalletError;
1934
+ /**
1935
+ * The item ID has already been used for an item.
1936
+ **/
1937
+ AlreadyExists: GenericPalletError;
1938
+ /**
1939
+ * The approval had a deadline that expired, so the approval isn't valid anymore.
1940
+ **/
1941
+ ApprovalExpired: GenericPalletError;
1942
+ /**
1943
+ * The owner turned out to be different to what was expected.
1944
+ **/
1945
+ WrongOwner: GenericPalletError;
1946
+ /**
1947
+ * The witness data given does not match the current state of the chain.
1948
+ **/
1949
+ BadWitness: GenericPalletError;
1950
+ /**
1951
+ * Collection ID is already taken.
1952
+ **/
1953
+ CollectionIdInUse: GenericPalletError;
1954
+ /**
1955
+ * Items within that collection are non-transferable.
1956
+ **/
1957
+ ItemsNonTransferable: GenericPalletError;
1958
+ /**
1959
+ * The provided account is not a delegate.
1960
+ **/
1961
+ NotDelegate: GenericPalletError;
1962
+ /**
1963
+ * The delegate turned out to be different to what was expected.
1964
+ **/
1965
+ WrongDelegate: GenericPalletError;
1966
+ /**
1967
+ * No approval exists that would allow the transfer.
1968
+ **/
1969
+ Unapproved: GenericPalletError;
1970
+ /**
1971
+ * The named owner has not signed ownership acceptance of the collection.
1972
+ **/
1973
+ Unaccepted: GenericPalletError;
1974
+ /**
1975
+ * The item is locked (non-transferable).
1976
+ **/
1977
+ ItemLocked: GenericPalletError;
1978
+ /**
1979
+ * Item's attributes are locked.
1980
+ **/
1981
+ LockedItemAttributes: GenericPalletError;
1982
+ /**
1983
+ * Collection's attributes are locked.
1984
+ **/
1985
+ LockedCollectionAttributes: GenericPalletError;
1986
+ /**
1987
+ * Item's metadata is locked.
1988
+ **/
1989
+ LockedItemMetadata: GenericPalletError;
1990
+ /**
1991
+ * Collection's metadata is locked.
1992
+ **/
1993
+ LockedCollectionMetadata: GenericPalletError;
1994
+ /**
1995
+ * All items have been minted.
1996
+ **/
1997
+ MaxSupplyReached: GenericPalletError;
1998
+ /**
1999
+ * The max supply is locked and can't be changed.
2000
+ **/
2001
+ MaxSupplyLocked: GenericPalletError;
2002
+ /**
2003
+ * The provided max supply is less than the number of items a collection already has.
2004
+ **/
2005
+ MaxSupplyTooSmall: GenericPalletError;
2006
+ /**
2007
+ * The given item ID is unknown.
2008
+ **/
2009
+ UnknownItem: GenericPalletError;
2010
+ /**
2011
+ * Swap doesn't exist.
2012
+ **/
2013
+ UnknownSwap: GenericPalletError;
2014
+ /**
2015
+ * The given item has no metadata set.
2016
+ **/
2017
+ MetadataNotFound: GenericPalletError;
2018
+ /**
2019
+ * The provided attribute can't be found.
2020
+ **/
2021
+ AttributeNotFound: GenericPalletError;
2022
+ /**
2023
+ * Item is not for sale.
2024
+ **/
2025
+ NotForSale: GenericPalletError;
2026
+ /**
2027
+ * The provided bid is too low.
2028
+ **/
2029
+ BidTooLow: GenericPalletError;
2030
+ /**
2031
+ * The item has reached its approval limit.
2032
+ **/
2033
+ ReachedApprovalLimit: GenericPalletError;
2034
+ /**
2035
+ * The deadline has already expired.
2036
+ **/
2037
+ DeadlineExpired: GenericPalletError;
2038
+ /**
2039
+ * The duration provided should be less than or equal to `MaxDeadlineDuration`.
2040
+ **/
2041
+ WrongDuration: GenericPalletError;
2042
+ /**
2043
+ * The method is disabled by system settings.
2044
+ **/
2045
+ MethodDisabled: GenericPalletError;
2046
+ /**
2047
+ * The provided setting can't be set.
2048
+ **/
2049
+ WrongSetting: GenericPalletError;
2050
+ /**
2051
+ * Item's config already exists and should be equal to the provided one.
2052
+ **/
2053
+ InconsistentItemConfig: GenericPalletError;
2054
+ /**
2055
+ * Config for a collection or an item can't be found.
2056
+ **/
2057
+ NoConfig: GenericPalletError;
2058
+ /**
2059
+ * Some roles were not cleared.
2060
+ **/
2061
+ RolesNotCleared: GenericPalletError;
2062
+ /**
2063
+ * Mint has not started yet.
2064
+ **/
2065
+ MintNotStarted: GenericPalletError;
2066
+ /**
2067
+ * Mint has already ended.
2068
+ **/
2069
+ MintEnded: GenericPalletError;
2070
+ /**
2071
+ * The provided Item was already used for claiming.
2072
+ **/
2073
+ AlreadyClaimed: GenericPalletError;
2074
+ /**
2075
+ * The provided data is incorrect.
2076
+ **/
2077
+ IncorrectData: GenericPalletError;
2078
+ /**
2079
+ * The extrinsic was sent by the wrong origin.
2080
+ **/
2081
+ WrongOrigin: GenericPalletError;
2082
+ /**
2083
+ * The provided signature is incorrect.
2084
+ **/
2085
+ WrongSignature: GenericPalletError;
2086
+ /**
2087
+ * The provided metadata might be too long.
2088
+ **/
2089
+ IncorrectMetadata: GenericPalletError;
2090
+ /**
2091
+ * Can't set more attributes per one call.
2092
+ **/
2093
+ MaxAttributesLimitReached: GenericPalletError;
2094
+ /**
2095
+ * The provided namespace isn't supported in this call.
2096
+ **/
2097
+ WrongNamespace: GenericPalletError;
2098
+ /**
2099
+ * Can't delete non-empty collections.
2100
+ **/
2101
+ CollectionNotEmpty: GenericPalletError;
2102
+ /**
2103
+ * The witness data should be provided.
2104
+ **/
2105
+ WitnessRequired: GenericPalletError;
2106
+ /**
2107
+ * Generic pallet error
2108
+ **/
2109
+ [error: string]: GenericPalletError;
2110
+ };
2111
+ /**
2112
+ * Pallet `NftFractionalization`'s errors
2113
+ **/
2114
+ nftFractionalization: {
2115
+ /**
2116
+ * Asset ID does not correspond to locked NFT.
2117
+ **/
2118
+ IncorrectAssetId: GenericPalletError;
2119
+ /**
2120
+ * The signing account has no permission to do the operation.
2121
+ **/
2122
+ NoPermission: GenericPalletError;
2123
+ /**
2124
+ * NFT doesn't exist.
2125
+ **/
2126
+ NftNotFound: GenericPalletError;
2127
+ /**
2128
+ * NFT has not yet been fractionalised.
2129
+ **/
2130
+ NftNotFractionalized: GenericPalletError;
2131
+ /**
2132
+ * Generic pallet error
2133
+ **/
2134
+ [error: string]: GenericPalletError;
2135
+ };
2136
+ /**
2137
+ * Pallet `Salary`'s errors
2138
+ **/
2139
+ salary: {
2140
+ /**
2141
+ * The salary system has already been started.
2142
+ **/
2143
+ AlreadyStarted: GenericPalletError;
2144
+ /**
2145
+ * The account is not a ranked member.
2146
+ **/
2147
+ NotMember: GenericPalletError;
2148
+ /**
2149
+ * The account is already inducted.
2150
+ **/
2151
+ AlreadyInducted: GenericPalletError;
2152
+ NotInducted: GenericPalletError;
2153
+ /**
2154
+ * The member does not have a current valid claim.
2155
+ **/
2156
+ NoClaim: GenericPalletError;
2157
+ /**
2158
+ * The member's claim is zero.
2159
+ **/
2160
+ ClaimZero: GenericPalletError;
2161
+ /**
2162
+ * Current cycle's registration period is over.
2163
+ **/
2164
+ TooLate: GenericPalletError;
2165
+ /**
2166
+ * Current cycle's payment period is not yet begun.
2167
+ **/
2168
+ TooEarly: GenericPalletError;
2169
+ /**
2170
+ * Cycle is not yet over.
2171
+ **/
2172
+ NotYet: GenericPalletError;
2173
+ /**
2174
+ * The payout cycles have not yet started.
2175
+ **/
2176
+ NotStarted: GenericPalletError;
2177
+ /**
2178
+ * There is no budget left for the payout.
2179
+ **/
2180
+ Bankrupt: GenericPalletError;
2181
+ /**
2182
+ * There was some issue with the mechanism of payment.
2183
+ **/
2184
+ PayError: GenericPalletError;
2185
+ /**
2186
+ * The payment has neither failed nor succeeded yet.
2187
+ **/
2188
+ Inconclusive: GenericPalletError;
2189
+ /**
2190
+ * The cycle is after that in which the payment was made.
2191
+ **/
2192
+ NotCurrent: GenericPalletError;
2193
+ /**
2194
+ * Generic pallet error
2195
+ **/
2196
+ [error: string]: GenericPalletError;
2197
+ };
2198
+ /**
2199
+ * Pallet `CoreFellowship`'s errors
2200
+ **/
2201
+ coreFellowship: {
2202
+ /**
2203
+ * Member's rank is too low.
2204
+ **/
2205
+ Unranked: GenericPalletError;
2206
+ /**
2207
+ * Member's rank is not zero.
2208
+ **/
2209
+ Ranked: GenericPalletError;
2210
+ /**
2211
+ * Member's rank is not as expected - generally means that the rank provided to the call
2212
+ * does not agree with the state of the system.
2213
+ **/
2214
+ UnexpectedRank: GenericPalletError;
2215
+ /**
2216
+ * The given rank is invalid - this generally means it's not between 1 and `RANK_COUNT`.
2217
+ **/
2218
+ InvalidRank: GenericPalletError;
2219
+ /**
2220
+ * The origin does not have enough permission to do this operation.
2221
+ **/
2222
+ NoPermission: GenericPalletError;
2223
+ /**
2224
+ * No work needs to be done at present for this member.
2225
+ **/
2226
+ NothingDoing: GenericPalletError;
2227
+ /**
2228
+ * The candidate has already been inducted. This should never happen since it would
2229
+ * require a candidate (rank 0) to already be tracked in the pallet.
2230
+ **/
2231
+ AlreadyInducted: GenericPalletError;
2232
+ /**
2233
+ * The candidate has not been inducted, so cannot be offboarded from this pallet.
2234
+ **/
2235
+ NotTracked: GenericPalletError;
2236
+ /**
2237
+ * Operation cannot be done yet since not enough time has passed.
2238
+ **/
2239
+ TooSoon: GenericPalletError;
2240
+ /**
2241
+ * Generic pallet error
2242
+ **/
2243
+ [error: string]: GenericPalletError;
2244
+ };
2245
+ /**
2246
+ * Pallet `TransactionStorage`'s errors
2247
+ **/
2248
+ transactionStorage: {
2249
+ /**
2250
+ * Insufficient account balance.
2251
+ **/
2252
+ InsufficientFunds: GenericPalletError;
2253
+ /**
2254
+ * Invalid configuration.
2255
+ **/
2256
+ NotConfigured: GenericPalletError;
2257
+ /**
2258
+ * Renewed extrinsic is not found.
2259
+ **/
2260
+ RenewedNotFound: GenericPalletError;
2261
+ /**
2262
+ * Attempting to store empty transaction
2263
+ **/
2264
+ EmptyTransaction: GenericPalletError;
2265
+ /**
2266
+ * Proof was not expected in this block.
2267
+ **/
2268
+ UnexpectedProof: GenericPalletError;
2269
+ /**
2270
+ * Proof failed verification.
2271
+ **/
2272
+ InvalidProof: GenericPalletError;
2273
+ /**
2274
+ * Missing storage proof.
2275
+ **/
2276
+ MissingProof: GenericPalletError;
2277
+ /**
2278
+ * Unable to verify proof becasue state data is missing.
2279
+ **/
2280
+ MissingStateData: GenericPalletError;
2281
+ /**
2282
+ * Double proof check in the block.
2283
+ **/
2284
+ DoubleCheck: GenericPalletError;
2285
+ /**
2286
+ * Storage proof was not checked in the block.
2287
+ **/
2288
+ ProofNotChecked: GenericPalletError;
2289
+ /**
2290
+ * Transaction is too large.
2291
+ **/
2292
+ TransactionTooLarge: GenericPalletError;
2293
+ /**
2294
+ * Too many transactions in the block.
2295
+ **/
2296
+ TooManyTransactions: GenericPalletError;
2297
+ /**
2298
+ * Attempted to call `store` outside of block execution.
2299
+ **/
2300
+ BadContext: GenericPalletError;
2301
+ /**
2302
+ * Generic pallet error
2303
+ **/
2304
+ [error: string]: GenericPalletError;
2305
+ };
2306
+ /**
2307
+ * Pallet `VoterList`'s errors
2308
+ **/
2309
+ voterList: {
2310
+ /**
2311
+ * A error in the list interface implementation.
2312
+ **/
2313
+ List: GenericPalletError;
2314
+ /**
2315
+ * Generic pallet error
2316
+ **/
2317
+ [error: string]: GenericPalletError;
2318
+ };
2319
+ /**
2320
+ * Pallet `StateTrieMigration`'s errors
2321
+ **/
2322
+ stateTrieMigration: {
2323
+ /**
2324
+ * Max signed limits not respected.
2325
+ **/
2326
+ MaxSignedLimits: GenericPalletError;
2327
+ /**
2328
+ * A key was longer than the configured maximum.
2329
+ *
2330
+ * This means that the migration halted at the current [`Progress`] and
2331
+ * can be resumed with a larger [`crate::Config::MaxKeyLen`] value.
2332
+ * Retrying with the same [`crate::Config::MaxKeyLen`] value will not work.
2333
+ * The value should only be increased to avoid a storage migration for the currently
2334
+ * stored [`crate::Progress::LastKey`].
2335
+ **/
2336
+ KeyTooLong: GenericPalletError;
2337
+ /**
2338
+ * submitter does not have enough funds.
2339
+ **/
2340
+ NotEnoughFunds: GenericPalletError;
2341
+ /**
2342
+ * Bad witness data provided.
2343
+ **/
2344
+ BadWitness: GenericPalletError;
2345
+ /**
2346
+ * Signed migration is not allowed because the maximum limit is not set yet.
2347
+ **/
2348
+ SignedMigrationNotAllowed: GenericPalletError;
2349
+ /**
2350
+ * Bad child root provided.
2351
+ **/
2352
+ BadChildRoot: GenericPalletError;
2353
+ /**
2354
+ * Generic pallet error
2355
+ **/
2356
+ [error: string]: GenericPalletError;
2357
+ };
2358
+ /**
2359
+ * Pallet `ChildBounties`'s errors
2360
+ **/
2361
+ childBounties: {
2362
+ /**
2363
+ * The parent bounty is not in active state.
2364
+ **/
2365
+ ParentBountyNotActive: GenericPalletError;
2366
+ /**
2367
+ * The bounty balance is not enough to add new child-bounty.
2368
+ **/
2369
+ InsufficientBountyBalance: GenericPalletError;
2370
+ /**
2371
+ * Number of child bounties exceeds limit `MaxActiveChildBountyCount`.
2372
+ **/
2373
+ TooManyChildBounties: GenericPalletError;
2374
+ /**
2375
+ * Generic pallet error
2376
+ **/
2377
+ [error: string]: GenericPalletError;
2378
+ };
2379
+ /**
2380
+ * Pallet `Referenda`'s errors
2381
+ **/
2382
+ referenda: {
2383
+ /**
2384
+ * Referendum is not ongoing.
2385
+ **/
2386
+ NotOngoing: GenericPalletError;
2387
+ /**
2388
+ * Referendum's decision deposit is already paid.
2389
+ **/
2390
+ HasDeposit: GenericPalletError;
2391
+ /**
2392
+ * The track identifier given was invalid.
2393
+ **/
2394
+ BadTrack: GenericPalletError;
2395
+ /**
2396
+ * There are already a full complement of referenda in progress for this track.
2397
+ **/
2398
+ Full: GenericPalletError;
2399
+ /**
2400
+ * The queue of the track is empty.
2401
+ **/
2402
+ QueueEmpty: GenericPalletError;
2403
+ /**
2404
+ * The referendum index provided is invalid in this context.
2405
+ **/
2406
+ BadReferendum: GenericPalletError;
2407
+ /**
2408
+ * There was nothing to do in the advancement.
2409
+ **/
2410
+ NothingToDo: GenericPalletError;
2411
+ /**
2412
+ * No track exists for the proposal origin.
2413
+ **/
2414
+ NoTrack: GenericPalletError;
2415
+ /**
2416
+ * Any deposit cannot be refunded until after the decision is over.
2417
+ **/
2418
+ Unfinished: GenericPalletError;
2419
+ /**
2420
+ * The deposit refunder is not the depositor.
2421
+ **/
2422
+ NoPermission: GenericPalletError;
2423
+ /**
2424
+ * The deposit cannot be refunded since none was made.
2425
+ **/
2426
+ NoDeposit: GenericPalletError;
2427
+ /**
2428
+ * The referendum status is invalid for this operation.
2429
+ **/
2430
+ BadStatus: GenericPalletError;
2431
+ /**
2432
+ * The preimage does not exist.
2433
+ **/
2434
+ PreimageNotExist: GenericPalletError;
2435
+ /**
2436
+ * Generic pallet error
2437
+ **/
2438
+ [error: string]: GenericPalletError;
2439
+ };
2440
+ /**
2441
+ * Pallet `Remark`'s errors
2442
+ **/
2443
+ remark: {
2444
+ /**
2445
+ * Attempting to store empty data.
2446
+ **/
2447
+ Empty: GenericPalletError;
2448
+ /**
2449
+ * Attempted to call `store` outside of block execution.
2450
+ **/
2451
+ BadContext: GenericPalletError;
2452
+ /**
2453
+ * Generic pallet error
2454
+ **/
2455
+ [error: string]: GenericPalletError;
2456
+ };
2457
+ /**
2458
+ * Pallet `ConvictionVoting`'s errors
2459
+ **/
2460
+ convictionVoting: {
2461
+ /**
2462
+ * Poll is not ongoing.
2463
+ **/
2464
+ NotOngoing: GenericPalletError;
2465
+ /**
2466
+ * The given account did not vote on the poll.
2467
+ **/
2468
+ NotVoter: GenericPalletError;
2469
+ /**
2470
+ * The actor has no permission to conduct the action.
2471
+ **/
2472
+ NoPermission: GenericPalletError;
2473
+ /**
2474
+ * The actor has no permission to conduct the action right now but will do in the future.
2475
+ **/
2476
+ NoPermissionYet: GenericPalletError;
2477
+ /**
2478
+ * The account is already delegating.
2479
+ **/
2480
+ AlreadyDelegating: GenericPalletError;
2481
+ /**
2482
+ * The account currently has votes attached to it and the operation cannot succeed until
2483
+ * these are removed, either through `unvote` or `reap_vote`.
2484
+ **/
2485
+ AlreadyVoting: GenericPalletError;
2486
+ /**
2487
+ * Too high a balance was provided that the account cannot afford.
2488
+ **/
2489
+ InsufficientFunds: GenericPalletError;
2490
+ /**
2491
+ * The account is not currently delegating.
2492
+ **/
2493
+ NotDelegating: GenericPalletError;
2494
+ /**
2495
+ * Delegation to oneself makes no sense.
2496
+ **/
2497
+ Nonsense: GenericPalletError;
2498
+ /**
2499
+ * Maximum number of votes reached.
2500
+ **/
2501
+ MaxVotesReached: GenericPalletError;
2502
+ /**
2503
+ * The class must be supplied since it is not easily determinable from the state.
2504
+ **/
2505
+ ClassNeeded: GenericPalletError;
2506
+ /**
2507
+ * The class ID supplied is invalid.
2508
+ **/
2509
+ BadClass: GenericPalletError;
2510
+ /**
2511
+ * Generic pallet error
2512
+ **/
2513
+ [error: string]: GenericPalletError;
2514
+ };
2515
+ /**
2516
+ * Pallet `Whitelist`'s errors
2517
+ **/
2518
+ whitelist: {
2519
+ /**
2520
+ * The preimage of the call hash could not be loaded.
2521
+ **/
2522
+ UnavailablePreImage: GenericPalletError;
2523
+ /**
2524
+ * The call could not be decoded.
2525
+ **/
2526
+ UndecodableCall: GenericPalletError;
2527
+ /**
2528
+ * The weight of the decoded call was higher than the witness.
2529
+ **/
2530
+ InvalidCallWeightWitness: GenericPalletError;
2531
+ /**
2532
+ * The call was not whitelisted.
2533
+ **/
2534
+ CallIsNotWhitelisted: GenericPalletError;
2535
+ /**
2536
+ * The call was already whitelisted; No-Op.
2537
+ **/
2538
+ CallAlreadyWhitelisted: GenericPalletError;
2539
+ /**
2540
+ * Generic pallet error
2541
+ **/
2542
+ [error: string]: GenericPalletError;
2543
+ };
2544
+ /**
2545
+ * Pallet `AllianceMotion`'s errors
2546
+ **/
2547
+ allianceMotion: {
2548
+ /**
2549
+ * Account is not a member
2550
+ **/
2551
+ NotMember: GenericPalletError;
2552
+ /**
2553
+ * Duplicate proposals not allowed
2554
+ **/
2555
+ DuplicateProposal: GenericPalletError;
2556
+ /**
2557
+ * Proposal must exist
2558
+ **/
2559
+ ProposalMissing: GenericPalletError;
2560
+ /**
2561
+ * Mismatched index
2562
+ **/
2563
+ WrongIndex: GenericPalletError;
2564
+ /**
2565
+ * Duplicate vote ignored
2566
+ **/
2567
+ DuplicateVote: GenericPalletError;
2568
+ /**
2569
+ * Members are already initialized!
2570
+ **/
2571
+ AlreadyInitialized: GenericPalletError;
2572
+ /**
2573
+ * The close call was made too early, before the end of the voting.
2574
+ **/
2575
+ TooEarly: GenericPalletError;
2576
+ /**
2577
+ * There can only be a maximum of `MaxProposals` active proposals.
2578
+ **/
2579
+ TooManyProposals: GenericPalletError;
2580
+ /**
2581
+ * The given weight bound for the proposal was too low.
2582
+ **/
2583
+ WrongProposalWeight: GenericPalletError;
2584
+ /**
2585
+ * The given length bound for the proposal was too low.
2586
+ **/
2587
+ WrongProposalLength: GenericPalletError;
2588
+ /**
2589
+ * Prime account is not a member
2590
+ **/
2591
+ PrimeAccountNotMember: GenericPalletError;
2592
+ /**
2593
+ * Generic pallet error
2594
+ **/
2595
+ [error: string]: GenericPalletError;
2596
+ };
2597
+ /**
2598
+ * Pallet `Alliance`'s errors
2599
+ **/
2600
+ alliance: {
2601
+ /**
2602
+ * The Alliance has not been initialized yet, therefore accounts cannot join it.
2603
+ **/
2604
+ AllianceNotYetInitialized: GenericPalletError;
2605
+ /**
2606
+ * The Alliance has been initialized, therefore cannot be initialized again.
2607
+ **/
2608
+ AllianceAlreadyInitialized: GenericPalletError;
2609
+ /**
2610
+ * Account is already a member.
2611
+ **/
2612
+ AlreadyMember: GenericPalletError;
2613
+ /**
2614
+ * Account is not a member.
2615
+ **/
2616
+ NotMember: GenericPalletError;
2617
+ /**
2618
+ * Account is not an ally.
2619
+ **/
2620
+ NotAlly: GenericPalletError;
2621
+ /**
2622
+ * Account does not have voting rights.
2623
+ **/
2624
+ NoVotingRights: GenericPalletError;
2625
+ /**
2626
+ * Account is already an elevated (fellow) member.
2627
+ **/
2628
+ AlreadyElevated: GenericPalletError;
2629
+ /**
2630
+ * Item is already listed as unscrupulous.
2631
+ **/
2632
+ AlreadyUnscrupulous: GenericPalletError;
2633
+ /**
2634
+ * Account has been deemed unscrupulous by the Alliance and is not welcome to join or be
2635
+ * nominated.
2636
+ **/
2637
+ AccountNonGrata: GenericPalletError;
2638
+ /**
2639
+ * Item has not been deemed unscrupulous.
2640
+ **/
2641
+ NotListedAsUnscrupulous: GenericPalletError;
2642
+ /**
2643
+ * The number of unscrupulous items exceeds `MaxUnscrupulousItems`.
2644
+ **/
2645
+ TooManyUnscrupulousItems: GenericPalletError;
2646
+ /**
2647
+ * Length of website URL exceeds `MaxWebsiteUrlLength`.
2648
+ **/
2649
+ TooLongWebsiteUrl: GenericPalletError;
2650
+ /**
2651
+ * Balance is insufficient for the required deposit.
2652
+ **/
2653
+ InsufficientFunds: GenericPalletError;
2654
+ /**
2655
+ * The account's identity does not have display field and website field.
2656
+ **/
2657
+ WithoutIdentityDisplayAndWebsite: GenericPalletError;
2658
+ /**
2659
+ * The account's identity has no good judgement.
2660
+ **/
2661
+ WithoutGoodIdentityJudgement: GenericPalletError;
2662
+ /**
2663
+ * The proposal hash is not found.
2664
+ **/
2665
+ MissingProposalHash: GenericPalletError;
2666
+ /**
2667
+ * The announcement is not found.
2668
+ **/
2669
+ MissingAnnouncement: GenericPalletError;
2670
+ /**
2671
+ * Number of members exceeds `MaxMembersCount`.
2672
+ **/
2673
+ TooManyMembers: GenericPalletError;
2674
+ /**
2675
+ * Number of announcements exceeds `MaxAnnouncementsCount`.
2676
+ **/
2677
+ TooManyAnnouncements: GenericPalletError;
2678
+ /**
2679
+ * Invalid witness data given.
2680
+ **/
2681
+ BadWitness: GenericPalletError;
2682
+ /**
2683
+ * Account already gave retirement notice
2684
+ **/
2685
+ AlreadyRetiring: GenericPalletError;
2686
+ /**
2687
+ * Account did not give a retirement notice required to retire.
2688
+ **/
2689
+ RetirementNoticeNotGiven: GenericPalletError;
2690
+ /**
2691
+ * Retirement period has not passed.
2692
+ **/
2693
+ RetirementPeriodNotPassed: GenericPalletError;
2694
+ /**
2695
+ * Fellows must be provided to initialize the Alliance.
2696
+ **/
2697
+ FellowsMissing: GenericPalletError;
2698
+ /**
2699
+ * Generic pallet error
2700
+ **/
2701
+ [error: string]: GenericPalletError;
2702
+ };
2703
+ /**
2704
+ * Pallet `NominationPools`'s errors
2705
+ **/
2706
+ nominationPools: {
2707
+ /**
2708
+ * A (bonded) pool id does not exist.
2709
+ **/
2710
+ PoolNotFound: GenericPalletError;
2711
+ /**
2712
+ * An account is not a member.
2713
+ **/
2714
+ PoolMemberNotFound: GenericPalletError;
2715
+ /**
2716
+ * A reward pool does not exist. In all cases this is a system logic error.
2717
+ **/
2718
+ RewardPoolNotFound: GenericPalletError;
2719
+ /**
2720
+ * A sub pool does not exist.
2721
+ **/
2722
+ SubPoolsNotFound: GenericPalletError;
2723
+ /**
2724
+ * An account is already delegating in another pool. An account may only belong to one
2725
+ * pool at a time.
2726
+ **/
2727
+ AccountBelongsToOtherPool: GenericPalletError;
2728
+ /**
2729
+ * The member is fully unbonded (and thus cannot access the bonded and reward pool
2730
+ * anymore to, for example, collect rewards).
2731
+ **/
2732
+ FullyUnbonding: GenericPalletError;
2733
+ /**
2734
+ * The member cannot unbond further chunks due to reaching the limit.
2735
+ **/
2736
+ MaxUnbondingLimit: GenericPalletError;
2737
+ /**
2738
+ * None of the funds can be withdrawn yet because the bonding duration has not passed.
2739
+ **/
2740
+ CannotWithdrawAny: GenericPalletError;
2741
+ /**
2742
+ * The amount does not meet the minimum bond to either join or create a pool.
2743
+ *
2744
+ * The depositor can never unbond to a value less than
2745
+ * `Pallet::depositor_min_bond`. The caller does not have nominating
2746
+ * permissions for the pool. Members can never unbond to a value below `MinJoinBond`.
2747
+ **/
2748
+ MinimumBondNotMet: GenericPalletError;
2749
+ /**
2750
+ * The transaction could not be executed due to overflow risk for the pool.
2751
+ **/
2752
+ OverflowRisk: GenericPalletError;
2753
+ /**
2754
+ * A pool must be in [`PoolState::Destroying`] in order for the depositor to unbond or for
2755
+ * other members to be permissionlessly unbonded.
2756
+ **/
2757
+ NotDestroying: GenericPalletError;
2758
+ /**
2759
+ * The caller does not have nominating permissions for the pool.
2760
+ **/
2761
+ NotNominator: GenericPalletError;
2762
+ /**
2763
+ * Either a) the caller cannot make a valid kick or b) the pool is not destroying.
2764
+ **/
2765
+ NotKickerOrDestroying: GenericPalletError;
2766
+ /**
2767
+ * The pool is not open to join
2768
+ **/
2769
+ NotOpen: GenericPalletError;
2770
+ /**
2771
+ * The system is maxed out on pools.
2772
+ **/
2773
+ MaxPools: GenericPalletError;
2774
+ /**
2775
+ * Too many members in the pool or system.
2776
+ **/
2777
+ MaxPoolMembers: GenericPalletError;
2778
+ /**
2779
+ * The pools state cannot be changed.
2780
+ **/
2781
+ CanNotChangeState: GenericPalletError;
2782
+ /**
2783
+ * The caller does not have adequate permissions.
2784
+ **/
2785
+ DoesNotHavePermission: GenericPalletError;
2786
+ /**
2787
+ * Metadata exceeds [`Config::MaxMetadataLen`]
2788
+ **/
2789
+ MetadataExceedsMaxLen: GenericPalletError;
2790
+ /**
2791
+ * Some error occurred that should never happen. This should be reported to the
2792
+ * maintainers.
2793
+ **/
2794
+ Defensive: GenericPalletError;
2795
+ /**
2796
+ * Partial unbonding now allowed permissionlessly.
2797
+ **/
2798
+ PartialUnbondNotAllowedPermissionlessly: GenericPalletError;
2799
+ /**
2800
+ * The pool's max commission cannot be set higher than the existing value.
2801
+ **/
2802
+ MaxCommissionRestricted: GenericPalletError;
2803
+ /**
2804
+ * The supplied commission exceeds the max allowed commission.
2805
+ **/
2806
+ CommissionExceedsMaximum: GenericPalletError;
2807
+ /**
2808
+ * The supplied commission exceeds global maximum commission.
2809
+ **/
2810
+ CommissionExceedsGlobalMaximum: GenericPalletError;
2811
+ /**
2812
+ * Not enough blocks have surpassed since the last commission update.
2813
+ **/
2814
+ CommissionChangeThrottled: GenericPalletError;
2815
+ /**
2816
+ * The submitted changes to commission change rate are not allowed.
2817
+ **/
2818
+ CommissionChangeRateNotAllowed: GenericPalletError;
2819
+ /**
2820
+ * There is no pending commission to claim.
2821
+ **/
2822
+ NoPendingCommission: GenericPalletError;
2823
+ /**
2824
+ * No commission current has been set.
2825
+ **/
2826
+ NoCommissionCurrentSet: GenericPalletError;
2827
+ /**
2828
+ * Pool id currently in use.
2829
+ **/
2830
+ PoolIdInUse: GenericPalletError;
2831
+ /**
2832
+ * Pool id provided is not correct/usable.
2833
+ **/
2834
+ InvalidPoolId: GenericPalletError;
2835
+ /**
2836
+ * Bonding extra is restricted to the exact pending reward amount.
2837
+ **/
2838
+ BondExtraRestricted: GenericPalletError;
2839
+ /**
2840
+ * Generic pallet error
2841
+ **/
2842
+ [error: string]: GenericPalletError;
2843
+ };
2844
+ /**
2845
+ * Pallet `RankedPolls`'s errors
2846
+ **/
2847
+ rankedPolls: {
2848
+ /**
2849
+ * Referendum is not ongoing.
2850
+ **/
2851
+ NotOngoing: GenericPalletError;
2852
+ /**
2853
+ * Referendum's decision deposit is already paid.
2854
+ **/
2855
+ HasDeposit: GenericPalletError;
2856
+ /**
2857
+ * The track identifier given was invalid.
2858
+ **/
2859
+ BadTrack: GenericPalletError;
2860
+ /**
2861
+ * There are already a full complement of referenda in progress for this track.
2862
+ **/
2863
+ Full: GenericPalletError;
2864
+ /**
2865
+ * The queue of the track is empty.
2866
+ **/
2867
+ QueueEmpty: GenericPalletError;
2868
+ /**
2869
+ * The referendum index provided is invalid in this context.
2870
+ **/
2871
+ BadReferendum: GenericPalletError;
2872
+ /**
2873
+ * There was nothing to do in the advancement.
2874
+ **/
2875
+ NothingToDo: GenericPalletError;
2876
+ /**
2877
+ * No track exists for the proposal origin.
2878
+ **/
2879
+ NoTrack: GenericPalletError;
2880
+ /**
2881
+ * Any deposit cannot be refunded until after the decision is over.
2882
+ **/
2883
+ Unfinished: GenericPalletError;
2884
+ /**
2885
+ * The deposit refunder is not the depositor.
2886
+ **/
2887
+ NoPermission: GenericPalletError;
2888
+ /**
2889
+ * The deposit cannot be refunded since none was made.
2890
+ **/
2891
+ NoDeposit: GenericPalletError;
2892
+ /**
2893
+ * The referendum status is invalid for this operation.
2894
+ **/
2895
+ BadStatus: GenericPalletError;
2896
+ /**
2897
+ * The preimage does not exist.
2898
+ **/
2899
+ PreimageNotExist: GenericPalletError;
2900
+ /**
2901
+ * Generic pallet error
2902
+ **/
2903
+ [error: string]: GenericPalletError;
2904
+ };
2905
+ /**
2906
+ * Pallet `RankedCollective`'s errors
2907
+ **/
2908
+ rankedCollective: {
2909
+ /**
2910
+ * Account is already a member.
2911
+ **/
2912
+ AlreadyMember: GenericPalletError;
2913
+ /**
2914
+ * Account is not a member.
2915
+ **/
2916
+ NotMember: GenericPalletError;
2917
+ /**
2918
+ * The given poll index is unknown or has closed.
2919
+ **/
2920
+ NotPolling: GenericPalletError;
2921
+ /**
2922
+ * The given poll is still ongoing.
2923
+ **/
2924
+ Ongoing: GenericPalletError;
2925
+ /**
2926
+ * There are no further records to be removed.
2927
+ **/
2928
+ NoneRemaining: GenericPalletError;
2929
+ /**
2930
+ * Unexpected error in state.
2931
+ **/
2932
+ Corruption: GenericPalletError;
2933
+ /**
2934
+ * The member's rank is too low to vote.
2935
+ **/
2936
+ RankTooLow: GenericPalletError;
2937
+ /**
2938
+ * The information provided is incorrect.
2939
+ **/
2940
+ InvalidWitness: GenericPalletError;
2941
+ /**
2942
+ * The origin is not sufficiently privileged to do the operation.
2943
+ **/
2944
+ NoPermission: GenericPalletError;
2945
+ /**
2946
+ * Generic pallet error
2947
+ **/
2948
+ [error: string]: GenericPalletError;
2949
+ };
2950
+ /**
2951
+ * Pallet `AssetConversion`'s errors
2952
+ **/
2953
+ assetConversion: {
2954
+ /**
2955
+ * Provided assets are equal.
2956
+ **/
2957
+ EqualAssets: GenericPalletError;
2958
+ /**
2959
+ * Provided asset is not supported for pool.
2960
+ **/
2961
+ UnsupportedAsset: GenericPalletError;
2962
+ /**
2963
+ * Pool already exists.
2964
+ **/
2965
+ PoolExists: GenericPalletError;
2966
+ /**
2967
+ * Desired amount can't be zero.
2968
+ **/
2969
+ WrongDesiredAmount: GenericPalletError;
2970
+ /**
2971
+ * Provided amount should be greater than or equal to the existential deposit/asset's
2972
+ * minimal amount.
2973
+ **/
2974
+ AmountOneLessThanMinimal: GenericPalletError;
2975
+ /**
2976
+ * Provided amount should be greater than or equal to the existential deposit/asset's
2977
+ * minimal amount.
2978
+ **/
2979
+ AmountTwoLessThanMinimal: GenericPalletError;
2980
+ /**
2981
+ * Reserve needs to always be greater than or equal to the existential deposit/asset's
2982
+ * minimal amount.
2983
+ **/
2984
+ ReserveLeftLessThanMinimal: GenericPalletError;
2985
+ /**
2986
+ * Desired amount can't be equal to the pool reserve.
2987
+ **/
2988
+ AmountOutTooHigh: GenericPalletError;
2989
+ /**
2990
+ * The pool doesn't exist.
2991
+ **/
2992
+ PoolNotFound: GenericPalletError;
2993
+ /**
2994
+ * An overflow happened.
2995
+ **/
2996
+ Overflow: GenericPalletError;
2997
+ /**
2998
+ * The minimal amount requirement for the first token in the pair wasn't met.
2999
+ **/
3000
+ AssetOneDepositDidNotMeetMinimum: GenericPalletError;
3001
+ /**
3002
+ * The minimal amount requirement for the second token in the pair wasn't met.
3003
+ **/
3004
+ AssetTwoDepositDidNotMeetMinimum: GenericPalletError;
3005
+ /**
3006
+ * The minimal amount requirement for the first token in the pair wasn't met.
3007
+ **/
3008
+ AssetOneWithdrawalDidNotMeetMinimum: GenericPalletError;
3009
+ /**
3010
+ * The minimal amount requirement for the second token in the pair wasn't met.
3011
+ **/
3012
+ AssetTwoWithdrawalDidNotMeetMinimum: GenericPalletError;
3013
+ /**
3014
+ * Optimal calculated amount is less than desired.
3015
+ **/
3016
+ OptimalAmountLessThanDesired: GenericPalletError;
3017
+ /**
3018
+ * Insufficient liquidity minted.
3019
+ **/
3020
+ InsufficientLiquidityMinted: GenericPalletError;
3021
+ /**
3022
+ * Requested liquidity can't be zero.
3023
+ **/
3024
+ ZeroLiquidity: GenericPalletError;
3025
+ /**
3026
+ * Amount can't be zero.
3027
+ **/
3028
+ ZeroAmount: GenericPalletError;
3029
+ /**
3030
+ * Insufficient liquidity in the pool.
3031
+ **/
3032
+ InsufficientLiquidity: GenericPalletError;
3033
+ /**
3034
+ * Calculated amount out is less than provided minimum amount.
3035
+ **/
3036
+ ProvidedMinimumNotSufficientForSwap: GenericPalletError;
3037
+ /**
3038
+ * Provided maximum amount is not sufficient for swap.
3039
+ **/
3040
+ ProvidedMaximumNotSufficientForSwap: GenericPalletError;
3041
+ /**
3042
+ * Only pools with native on one side are valid.
3043
+ **/
3044
+ PoolMustContainNativeCurrency: GenericPalletError;
3045
+ /**
3046
+ * The provided path must consists of 2 assets at least.
3047
+ **/
3048
+ InvalidPath: GenericPalletError;
3049
+ /**
3050
+ * It was not possible to calculate path data.
3051
+ **/
3052
+ PathError: GenericPalletError;
3053
+ /**
3054
+ * The provided path must consists of unique assets.
3055
+ **/
3056
+ NonUniquePath: GenericPalletError;
3057
+ /**
3058
+ * It was not possible to get or increment the Id of the pool.
3059
+ **/
3060
+ IncorrectPoolAssetId: GenericPalletError;
3061
+ /**
3062
+ * Unable to find an element in an array/vec that should have one-to-one correspondence
3063
+ * with another. For example, an array of assets constituting a `path` should have a
3064
+ * corresponding array of `amounts` along the path.
3065
+ **/
3066
+ CorrespondenceError: GenericPalletError;
3067
+ /**
3068
+ * Generic pallet error
3069
+ **/
3070
+ [error: string]: GenericPalletError;
3071
+ };
3072
+ /**
3073
+ * Pallet `FastUnstake`'s errors
3074
+ **/
3075
+ fastUnstake: {
3076
+ /**
3077
+ * The provided Controller account was not found.
3078
+ *
3079
+ * This means that the given account is not bonded.
3080
+ **/
3081
+ NotController: GenericPalletError;
3082
+ /**
3083
+ * The bonded account has already been queued.
3084
+ **/
3085
+ AlreadyQueued: GenericPalletError;
3086
+ /**
3087
+ * The bonded account has active unlocking chunks.
3088
+ **/
3089
+ NotFullyBonded: GenericPalletError;
3090
+ /**
3091
+ * The provided un-staker is not in the `Queue`.
3092
+ **/
3093
+ NotQueued: GenericPalletError;
3094
+ /**
3095
+ * The provided un-staker is already in Head, and cannot deregister.
3096
+ **/
3097
+ AlreadyHead: GenericPalletError;
3098
+ /**
3099
+ * The call is not allowed at this point because the pallet is not active.
3100
+ **/
3101
+ CallNotAllowed: GenericPalletError;
3102
+ /**
3103
+ * Generic pallet error
3104
+ **/
3105
+ [error: string]: GenericPalletError;
3106
+ };
3107
+ /**
3108
+ * Pallet `MessageQueue`'s errors
3109
+ **/
3110
+ messageQueue: {
3111
+ /**
3112
+ * Page is not reapable because it has items remaining to be processed and is not old
3113
+ * enough.
3114
+ **/
3115
+ NotReapable: GenericPalletError;
3116
+ /**
3117
+ * Page to be reaped does not exist.
3118
+ **/
3119
+ NoPage: GenericPalletError;
3120
+ /**
3121
+ * The referenced message could not be found.
3122
+ **/
3123
+ NoMessage: GenericPalletError;
3124
+ /**
3125
+ * The message was already processed and cannot be processed again.
3126
+ **/
3127
+ AlreadyProcessed: GenericPalletError;
3128
+ /**
3129
+ * The message is queued for future execution.
3130
+ **/
3131
+ Queued: GenericPalletError;
3132
+ /**
3133
+ * There is temporarily not enough weight to continue servicing messages.
3134
+ **/
3135
+ InsufficientWeight: GenericPalletError;
3136
+ /**
3137
+ * This message is temporarily unprocessable.
3138
+ *
3139
+ * Such errors are expected, but not guaranteed, to resolve themselves eventually through
3140
+ * retrying.
3141
+ **/
3142
+ TemporarilyUnprocessable: GenericPalletError;
3143
+ /**
3144
+ * The queue is paused and no message can be executed from it.
3145
+ *
3146
+ * This can change at any time and may resolve in the future by re-trying.
3147
+ **/
3148
+ QueuePaused: GenericPalletError;
3149
+ /**
3150
+ * Generic pallet error
3151
+ **/
3152
+ [error: string]: GenericPalletError;
3153
+ };
3154
+ /**
3155
+ * Pallet `TxPause`'s errors
3156
+ **/
3157
+ txPause: {
3158
+ /**
3159
+ * The call is paused.
3160
+ **/
3161
+ IsPaused: GenericPalletError;
3162
+ /**
3163
+ * The call is unpaused.
3164
+ **/
3165
+ IsUnpaused: GenericPalletError;
3166
+ /**
3167
+ * The call is whitelisted and cannot be paused.
3168
+ **/
3169
+ Unpausable: GenericPalletError;
3170
+ NotFound: GenericPalletError;
3171
+ /**
3172
+ * Generic pallet error
3173
+ **/
3174
+ [error: string]: GenericPalletError;
3175
+ };
3176
+ /**
3177
+ * Pallet `SafeMode`'s errors
3178
+ **/
3179
+ safeMode: {
3180
+ /**
3181
+ * The safe-mode is (already or still) entered.
3182
+ **/
3183
+ Entered: GenericPalletError;
3184
+ /**
3185
+ * The safe-mode is (already or still) exited.
3186
+ **/
3187
+ Exited: GenericPalletError;
3188
+ /**
3189
+ * This functionality of the pallet is disabled by the configuration.
3190
+ **/
3191
+ NotConfigured: GenericPalletError;
3192
+ /**
3193
+ * There is no balance reserved.
3194
+ **/
3195
+ NoDeposit: GenericPalletError;
3196
+ /**
3197
+ * The account already has a deposit reserved and can therefore not enter or extend again.
3198
+ **/
3199
+ AlreadyDeposited: GenericPalletError;
3200
+ /**
3201
+ * This deposit cannot be released yet.
3202
+ **/
3203
+ CannotReleaseYet: GenericPalletError;
3204
+ /**
3205
+ * An error from the underlying `Currency`.
3206
+ **/
3207
+ CurrencyError: GenericPalletError;
3208
+ /**
3209
+ * Generic pallet error
3210
+ **/
3211
+ [error: string]: GenericPalletError;
3212
+ };
3213
+ /**
3214
+ * Pallet `Broker`'s errors
3215
+ **/
3216
+ broker: {
3217
+ /**
3218
+ * The given region identity is not known.
3219
+ **/
3220
+ UnknownRegion: GenericPalletError;
3221
+ /**
3222
+ * The owner of the region is not the origin.
3223
+ **/
3224
+ NotOwner: GenericPalletError;
3225
+ /**
3226
+ * The pivot point of the partition at or after the end of the region.
3227
+ **/
3228
+ PivotTooLate: GenericPalletError;
3229
+ /**
3230
+ * The pivot point of the partition at the beginning of the region.
3231
+ **/
3232
+ PivotTooEarly: GenericPalletError;
3233
+ /**
3234
+ * The pivot mask for the interlacing is not contained within the region's interlace mask.
3235
+ **/
3236
+ ExteriorPivot: GenericPalletError;
3237
+ /**
3238
+ * The pivot mask for the interlacing is void (and therefore unschedulable).
3239
+ **/
3240
+ VoidPivot: GenericPalletError;
3241
+ /**
3242
+ * The pivot mask for the interlacing is complete (and therefore not a strict subset).
3243
+ **/
3244
+ CompletePivot: GenericPalletError;
3245
+ /**
3246
+ * The workplan of the pallet's state is invalid. This indicates a state corruption.
3247
+ **/
3248
+ CorruptWorkplan: GenericPalletError;
3249
+ /**
3250
+ * There is no sale happening currently.
3251
+ **/
3252
+ NoSales: GenericPalletError;
3253
+ /**
3254
+ * The price limit is exceeded.
3255
+ **/
3256
+ Overpriced: GenericPalletError;
3257
+ /**
3258
+ * There are no cores available.
3259
+ **/
3260
+ Unavailable: GenericPalletError;
3261
+ /**
3262
+ * The sale limit has been reached.
3263
+ **/
3264
+ SoldOut: GenericPalletError;
3265
+ /**
3266
+ * The renewal operation is not valid at the current time (it may become valid in the next
3267
+ * sale).
3268
+ **/
3269
+ WrongTime: GenericPalletError;
3270
+ /**
3271
+ * Invalid attempt to renew.
3272
+ **/
3273
+ NotAllowed: GenericPalletError;
3274
+ /**
3275
+ * This pallet has not yet been initialized.
3276
+ **/
3277
+ Uninitialized: GenericPalletError;
3278
+ /**
3279
+ * The purchase cannot happen yet as the sale period is yet to begin.
3280
+ **/
3281
+ TooEarly: GenericPalletError;
3282
+ /**
3283
+ * There is no work to be done.
3284
+ **/
3285
+ NothingToDo: GenericPalletError;
3286
+ /**
3287
+ * The maximum amount of reservations has already been reached.
3288
+ **/
3289
+ TooManyReservations: GenericPalletError;
3290
+ /**
3291
+ * The maximum amount of leases has already been reached.
3292
+ **/
3293
+ TooManyLeases: GenericPalletError;
3294
+ /**
3295
+ * The revenue for the Instantaneous Core Sales of this period is not (yet) known and thus
3296
+ * this operation cannot proceed.
3297
+ **/
3298
+ UnknownRevenue: GenericPalletError;
3299
+ /**
3300
+ * The identified contribution to the Instantaneous Core Pool is unknown.
3301
+ **/
3302
+ UnknownContribution: GenericPalletError;
3303
+ /**
3304
+ * The workload assigned for renewal is incomplete. This is unexpected and indicates a
3305
+ * logic error.
3306
+ **/
3307
+ IncompleteAssignment: GenericPalletError;
3308
+ /**
3309
+ * An item cannot be dropped because it is still valid.
3310
+ **/
3311
+ StillValid: GenericPalletError;
3312
+ /**
3313
+ * The history item does not exist.
3314
+ **/
3315
+ NoHistory: GenericPalletError;
3316
+ /**
3317
+ * No reservation of the given index exists.
3318
+ **/
3319
+ UnknownReservation: GenericPalletError;
3320
+ /**
3321
+ * The renewal record cannot be found.
3322
+ **/
3323
+ UnknownRenewal: GenericPalletError;
3324
+ /**
3325
+ * The lease expiry time has already passed.
3326
+ **/
3327
+ AlreadyExpired: GenericPalletError;
3328
+ /**
3329
+ * The configuration could not be applied because it is invalid.
3330
+ **/
3331
+ InvalidConfig: GenericPalletError;
3332
+ /**
3333
+ * Generic pallet error
3334
+ **/
3335
+ [error: string]: GenericPalletError;
3336
+ };
3337
+ }