@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,1164 @@
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 `ParachainSystem`'s errors
42
+ **/
43
+ parachainSystem: {
44
+ /**
45
+ * Attempt to upgrade validation function while existing upgrade pending.
46
+ **/
47
+ OverlappingUpgrades: GenericPalletError;
48
+ /**
49
+ * Polkadot currently prohibits this parachain from upgrading its validation function.
50
+ **/
51
+ ProhibitedByPolkadot: GenericPalletError;
52
+ /**
53
+ * The supplied validation function has compiled into a blob larger than Polkadot is
54
+ * willing to run.
55
+ **/
56
+ TooBig: GenericPalletError;
57
+ /**
58
+ * The inherent which supplies the validation data did not run this block.
59
+ **/
60
+ ValidationDataNotAvailable: GenericPalletError;
61
+ /**
62
+ * The inherent which supplies the host configuration did not run this block.
63
+ **/
64
+ HostConfigurationNotAvailable: GenericPalletError;
65
+ /**
66
+ * No validation function upgrade is currently scheduled.
67
+ **/
68
+ NotScheduled: GenericPalletError;
69
+ /**
70
+ * No code upgrade has been authorized.
71
+ **/
72
+ NothingAuthorized: GenericPalletError;
73
+ /**
74
+ * The given code upgrade has not been authorized.
75
+ **/
76
+ Unauthorized: GenericPalletError;
77
+ /**
78
+ * Generic pallet error
79
+ **/
80
+ [error: string]: GenericPalletError;
81
+ };
82
+ /**
83
+ * Pallet `Balances`'s errors
84
+ **/
85
+ balances: {
86
+ /**
87
+ * Vesting balance too high to send value.
88
+ **/
89
+ VestingBalance: GenericPalletError;
90
+ /**
91
+ * Account liquidity restrictions prevent withdrawal.
92
+ **/
93
+ LiquidityRestrictions: GenericPalletError;
94
+ /**
95
+ * Balance too low to send value.
96
+ **/
97
+ InsufficientBalance: GenericPalletError;
98
+ /**
99
+ * Value too low to create account due to existential deposit.
100
+ **/
101
+ ExistentialDeposit: GenericPalletError;
102
+ /**
103
+ * Transfer/payment would kill account.
104
+ **/
105
+ Expendability: GenericPalletError;
106
+ /**
107
+ * A vesting schedule already exists for this account.
108
+ **/
109
+ ExistingVestingSchedule: GenericPalletError;
110
+ /**
111
+ * Beneficiary account must pre-exist.
112
+ **/
113
+ DeadAccount: GenericPalletError;
114
+ /**
115
+ * Number of named reserves exceed `MaxReserves`.
116
+ **/
117
+ TooManyReserves: GenericPalletError;
118
+ /**
119
+ * Number of holds exceed `MaxHolds`.
120
+ **/
121
+ TooManyHolds: GenericPalletError;
122
+ /**
123
+ * Number of freezes exceed `MaxFreezes`.
124
+ **/
125
+ TooManyFreezes: GenericPalletError;
126
+ /**
127
+ * Generic pallet error
128
+ **/
129
+ [error: string]: GenericPalletError;
130
+ };
131
+ /**
132
+ * Pallet `CollatorSelection`'s errors
133
+ **/
134
+ collatorSelection: {
135
+ /**
136
+ * The pallet has too many candidates.
137
+ **/
138
+ TooManyCandidates: GenericPalletError;
139
+ /**
140
+ * Leaving would result in too few candidates.
141
+ **/
142
+ TooFewEligibleCollators: GenericPalletError;
143
+ /**
144
+ * Account is already a candidate.
145
+ **/
146
+ AlreadyCandidate: GenericPalletError;
147
+ /**
148
+ * Account is not a candidate.
149
+ **/
150
+ NotCandidate: GenericPalletError;
151
+ /**
152
+ * There are too many Invulnerables.
153
+ **/
154
+ TooManyInvulnerables: GenericPalletError;
155
+ /**
156
+ * Account is already an Invulnerable.
157
+ **/
158
+ AlreadyInvulnerable: GenericPalletError;
159
+ /**
160
+ * Account is not an Invulnerable.
161
+ **/
162
+ NotInvulnerable: GenericPalletError;
163
+ /**
164
+ * Account has no associated validator ID.
165
+ **/
166
+ NoAssociatedValidatorId: GenericPalletError;
167
+ /**
168
+ * Validator ID is not yet registered.
169
+ **/
170
+ ValidatorNotRegistered: GenericPalletError;
171
+ /**
172
+ * Generic pallet error
173
+ **/
174
+ [error: string]: GenericPalletError;
175
+ };
176
+ /**
177
+ * Pallet `Session`'s errors
178
+ **/
179
+ session: {
180
+ /**
181
+ * Invalid ownership proof.
182
+ **/
183
+ InvalidProof: GenericPalletError;
184
+ /**
185
+ * No associated validator ID for account.
186
+ **/
187
+ NoAssociatedValidatorId: GenericPalletError;
188
+ /**
189
+ * Registered duplicate key.
190
+ **/
191
+ DuplicatedKey: GenericPalletError;
192
+ /**
193
+ * No keys are associated with this account.
194
+ **/
195
+ NoKeys: GenericPalletError;
196
+ /**
197
+ * Key setting account is not live, so it's impossible to associate keys.
198
+ **/
199
+ NoAccount: GenericPalletError;
200
+ /**
201
+ * Generic pallet error
202
+ **/
203
+ [error: string]: GenericPalletError;
204
+ };
205
+ /**
206
+ * Pallet `XcmpQueue`'s errors
207
+ **/
208
+ xcmpQueue: {
209
+ /**
210
+ * Failed to send XCM message.
211
+ **/
212
+ FailedToSend: GenericPalletError;
213
+ /**
214
+ * Bad XCM origin.
215
+ **/
216
+ BadXcmOrigin: GenericPalletError;
217
+ /**
218
+ * Bad XCM data.
219
+ **/
220
+ BadXcm: GenericPalletError;
221
+ /**
222
+ * Bad overweight index.
223
+ **/
224
+ BadOverweightIndex: GenericPalletError;
225
+ /**
226
+ * Provided weight is possibly not enough to execute the message.
227
+ **/
228
+ WeightOverLimit: GenericPalletError;
229
+ /**
230
+ * Generic pallet error
231
+ **/
232
+ [error: string]: GenericPalletError;
233
+ };
234
+ /**
235
+ * Pallet `PolkadotXcm`'s errors
236
+ **/
237
+ polkadotXcm: {
238
+ /**
239
+ * The desired destination was unreachable, generally because there is a no way of routing
240
+ * to it.
241
+ **/
242
+ Unreachable: GenericPalletError;
243
+ /**
244
+ * There was some other issue (i.e. not to do with routing) in sending the message.
245
+ * Perhaps a lack of space for buffering the message.
246
+ **/
247
+ SendFailure: GenericPalletError;
248
+ /**
249
+ * The message execution fails the filter.
250
+ **/
251
+ Filtered: GenericPalletError;
252
+ /**
253
+ * The message's weight could not be determined.
254
+ **/
255
+ UnweighableMessage: GenericPalletError;
256
+ /**
257
+ * The destination `MultiLocation` provided cannot be inverted.
258
+ **/
259
+ DestinationNotInvertible: GenericPalletError;
260
+ /**
261
+ * The assets to be sent are empty.
262
+ **/
263
+ Empty: GenericPalletError;
264
+ /**
265
+ * Could not re-anchor the assets to declare the fees for the destination chain.
266
+ **/
267
+ CannotReanchor: GenericPalletError;
268
+ /**
269
+ * Too many assets have been attempted for transfer.
270
+ **/
271
+ TooManyAssets: GenericPalletError;
272
+ /**
273
+ * Origin is invalid for sending.
274
+ **/
275
+ InvalidOrigin: GenericPalletError;
276
+ /**
277
+ * The version of the `Versioned` value used is not able to be interpreted.
278
+ **/
279
+ BadVersion: GenericPalletError;
280
+ /**
281
+ * The given location could not be used (e.g. because it cannot be expressed in the
282
+ * desired version of XCM).
283
+ **/
284
+ BadLocation: GenericPalletError;
285
+ /**
286
+ * The referenced subscription could not be found.
287
+ **/
288
+ NoSubscription: GenericPalletError;
289
+ /**
290
+ * The location is invalid since it already has a subscription from us.
291
+ **/
292
+ AlreadySubscribed: GenericPalletError;
293
+ /**
294
+ * Invalid asset for the operation.
295
+ **/
296
+ InvalidAsset: GenericPalletError;
297
+ /**
298
+ * The owner does not own (all) of the asset that they wish to do the operation on.
299
+ **/
300
+ LowBalance: GenericPalletError;
301
+ /**
302
+ * The asset owner has too many locks on the asset.
303
+ **/
304
+ TooManyLocks: GenericPalletError;
305
+ /**
306
+ * The given account is not an identifiable sovereign account for any location.
307
+ **/
308
+ AccountNotSovereign: GenericPalletError;
309
+ /**
310
+ * The operation required fees to be paid which the initiator could not meet.
311
+ **/
312
+ FeesNotMet: GenericPalletError;
313
+ /**
314
+ * A remote lock with the corresponding data could not be found.
315
+ **/
316
+ LockNotFound: GenericPalletError;
317
+ /**
318
+ * The unlock operation cannot succeed because there are still consumers of the lock.
319
+ **/
320
+ InUse: GenericPalletError;
321
+ /**
322
+ * Generic pallet error
323
+ **/
324
+ [error: string]: GenericPalletError;
325
+ };
326
+ /**
327
+ * Pallet `CumulusXcm`'s errors
328
+ **/
329
+ cumulusXcm: {
330
+ /**
331
+ * Generic pallet error
332
+ **/
333
+ [error: string]: GenericPalletError;
334
+ };
335
+ /**
336
+ * Pallet `DmpQueue`'s errors
337
+ **/
338
+ dmpQueue: {
339
+ /**
340
+ * The message index given is unknown.
341
+ **/
342
+ Unknown: GenericPalletError;
343
+ /**
344
+ * The amount of weight given is possibly not enough for executing the message.
345
+ **/
346
+ OverLimit: GenericPalletError;
347
+ /**
348
+ * Generic pallet error
349
+ **/
350
+ [error: string]: GenericPalletError;
351
+ };
352
+ /**
353
+ * Pallet `Utility`'s errors
354
+ **/
355
+ utility: {
356
+ /**
357
+ * Too many calls batched.
358
+ **/
359
+ TooManyCalls: GenericPalletError;
360
+ /**
361
+ * Generic pallet error
362
+ **/
363
+ [error: string]: GenericPalletError;
364
+ };
365
+ /**
366
+ * Pallet `Multisig`'s errors
367
+ **/
368
+ multisig: {
369
+ /**
370
+ * Threshold must be 2 or greater.
371
+ **/
372
+ MinimumThreshold: GenericPalletError;
373
+ /**
374
+ * Call is already approved by this signatory.
375
+ **/
376
+ AlreadyApproved: GenericPalletError;
377
+ /**
378
+ * Call doesn't need any (more) approvals.
379
+ **/
380
+ NoApprovalsNeeded: GenericPalletError;
381
+ /**
382
+ * There are too few signatories in the list.
383
+ **/
384
+ TooFewSignatories: GenericPalletError;
385
+ /**
386
+ * There are too many signatories in the list.
387
+ **/
388
+ TooManySignatories: GenericPalletError;
389
+ /**
390
+ * The signatories were provided out of order; they should be ordered.
391
+ **/
392
+ SignatoriesOutOfOrder: GenericPalletError;
393
+ /**
394
+ * The sender was contained in the other signatories; it shouldn't be.
395
+ **/
396
+ SenderInSignatories: GenericPalletError;
397
+ /**
398
+ * Multisig operation not found when attempting to cancel.
399
+ **/
400
+ NotFound: GenericPalletError;
401
+ /**
402
+ * Only the account that originally created the multisig is able to cancel it.
403
+ **/
404
+ NotOwner: GenericPalletError;
405
+ /**
406
+ * No timepoint was given, yet the multisig operation is already underway.
407
+ **/
408
+ NoTimepoint: GenericPalletError;
409
+ /**
410
+ * A different timepoint was given to the multisig operation that is underway.
411
+ **/
412
+ WrongTimepoint: GenericPalletError;
413
+ /**
414
+ * A timepoint was given, yet no multisig operation is underway.
415
+ **/
416
+ UnexpectedTimepoint: GenericPalletError;
417
+ /**
418
+ * The maximum weight information provided was too low.
419
+ **/
420
+ MaxWeightTooLow: GenericPalletError;
421
+ /**
422
+ * The data to be stored is already stored.
423
+ **/
424
+ AlreadyStored: GenericPalletError;
425
+ /**
426
+ * Generic pallet error
427
+ **/
428
+ [error: string]: GenericPalletError;
429
+ };
430
+ /**
431
+ * Pallet `Proxy`'s errors
432
+ **/
433
+ proxy: {
434
+ /**
435
+ * There are too many proxies registered or too many announcements pending.
436
+ **/
437
+ TooMany: GenericPalletError;
438
+ /**
439
+ * Proxy registration not found.
440
+ **/
441
+ NotFound: GenericPalletError;
442
+ /**
443
+ * Sender is not a proxy of the account to be proxied.
444
+ **/
445
+ NotProxy: GenericPalletError;
446
+ /**
447
+ * A call which is incompatible with the proxy type's filter was attempted.
448
+ **/
449
+ Unproxyable: GenericPalletError;
450
+ /**
451
+ * Account is already a proxy.
452
+ **/
453
+ Duplicate: GenericPalletError;
454
+ /**
455
+ * Call may not be made by proxy because it may escalate its privileges.
456
+ **/
457
+ NoPermission: GenericPalletError;
458
+ /**
459
+ * Announcement, if made at all, was made too recently.
460
+ **/
461
+ Unannounced: GenericPalletError;
462
+ /**
463
+ * Cannot add self as proxy.
464
+ **/
465
+ NoSelfProxy: GenericPalletError;
466
+ /**
467
+ * Generic pallet error
468
+ **/
469
+ [error: string]: GenericPalletError;
470
+ };
471
+ /**
472
+ * Pallet `Assets`'s errors
473
+ **/
474
+ assets: {
475
+ /**
476
+ * Account balance must be greater than or equal to the transfer amount.
477
+ **/
478
+ BalanceLow: GenericPalletError;
479
+ /**
480
+ * The account to alter does not exist.
481
+ **/
482
+ NoAccount: GenericPalletError;
483
+ /**
484
+ * The signing account has no permission to do the operation.
485
+ **/
486
+ NoPermission: GenericPalletError;
487
+ /**
488
+ * The given asset ID is unknown.
489
+ **/
490
+ Unknown: GenericPalletError;
491
+ /**
492
+ * The origin account is frozen.
493
+ **/
494
+ Frozen: GenericPalletError;
495
+ /**
496
+ * The asset ID is already taken.
497
+ **/
498
+ InUse: GenericPalletError;
499
+ /**
500
+ * Invalid witness data given.
501
+ **/
502
+ BadWitness: GenericPalletError;
503
+ /**
504
+ * Minimum balance should be non-zero.
505
+ **/
506
+ MinBalanceZero: GenericPalletError;
507
+ /**
508
+ * Unable to increment the consumer reference counters on the account. Either no provider
509
+ * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
510
+ * fewer then the maximum number of consumers has been reached.
511
+ **/
512
+ UnavailableConsumer: GenericPalletError;
513
+ /**
514
+ * Invalid metadata given.
515
+ **/
516
+ BadMetadata: GenericPalletError;
517
+ /**
518
+ * No approval exists that would allow the transfer.
519
+ **/
520
+ Unapproved: GenericPalletError;
521
+ /**
522
+ * The source account would not survive the transfer and it needs to stay alive.
523
+ **/
524
+ WouldDie: GenericPalletError;
525
+ /**
526
+ * The asset-account already exists.
527
+ **/
528
+ AlreadyExists: GenericPalletError;
529
+ /**
530
+ * The asset-account doesn't have an associated deposit.
531
+ **/
532
+ NoDeposit: GenericPalletError;
533
+ /**
534
+ * The operation would result in funds being burned.
535
+ **/
536
+ WouldBurn: GenericPalletError;
537
+ /**
538
+ * The asset is a live asset and is actively being used. Usually emit for operations such
539
+ * as `start_destroy` which require the asset to be in a destroying state.
540
+ **/
541
+ LiveAsset: GenericPalletError;
542
+ /**
543
+ * The asset is not live, and likely being destroyed.
544
+ **/
545
+ AssetNotLive: GenericPalletError;
546
+ /**
547
+ * The asset status is not the expected status.
548
+ **/
549
+ IncorrectStatus: GenericPalletError;
550
+ /**
551
+ * The asset should be frozen before the given operation.
552
+ **/
553
+ NotFrozen: GenericPalletError;
554
+ /**
555
+ * Callback action resulted in error
556
+ **/
557
+ CallbackFailed: GenericPalletError;
558
+ /**
559
+ * Generic pallet error
560
+ **/
561
+ [error: string]: GenericPalletError;
562
+ };
563
+ /**
564
+ * Pallet `Uniques`'s errors
565
+ **/
566
+ uniques: {
567
+ /**
568
+ * The signing account has no permission to do the operation.
569
+ **/
570
+ NoPermission: GenericPalletError;
571
+ /**
572
+ * The given item ID is unknown.
573
+ **/
574
+ UnknownCollection: GenericPalletError;
575
+ /**
576
+ * The item ID has already been used for an item.
577
+ **/
578
+ AlreadyExists: GenericPalletError;
579
+ /**
580
+ * The owner turned out to be different to what was expected.
581
+ **/
582
+ WrongOwner: GenericPalletError;
583
+ /**
584
+ * Invalid witness data given.
585
+ **/
586
+ BadWitness: GenericPalletError;
587
+ /**
588
+ * The item ID is already taken.
589
+ **/
590
+ InUse: GenericPalletError;
591
+ /**
592
+ * The item or collection is frozen.
593
+ **/
594
+ Frozen: GenericPalletError;
595
+ /**
596
+ * The delegate turned out to be different to what was expected.
597
+ **/
598
+ WrongDelegate: GenericPalletError;
599
+ /**
600
+ * There is no delegate approved.
601
+ **/
602
+ NoDelegate: GenericPalletError;
603
+ /**
604
+ * No approval exists that would allow the transfer.
605
+ **/
606
+ Unapproved: GenericPalletError;
607
+ /**
608
+ * The named owner has not signed ownership of the collection is acceptable.
609
+ **/
610
+ Unaccepted: GenericPalletError;
611
+ /**
612
+ * The item is locked.
613
+ **/
614
+ Locked: GenericPalletError;
615
+ /**
616
+ * All items have been minted.
617
+ **/
618
+ MaxSupplyReached: GenericPalletError;
619
+ /**
620
+ * The max supply has already been set.
621
+ **/
622
+ MaxSupplyAlreadySet: GenericPalletError;
623
+ /**
624
+ * The provided max supply is less to the amount of items a collection already has.
625
+ **/
626
+ MaxSupplyTooSmall: GenericPalletError;
627
+ /**
628
+ * The given item ID is unknown.
629
+ **/
630
+ UnknownItem: GenericPalletError;
631
+ /**
632
+ * Item is not for sale.
633
+ **/
634
+ NotForSale: GenericPalletError;
635
+ /**
636
+ * The provided bid is too low.
637
+ **/
638
+ BidTooLow: GenericPalletError;
639
+ /**
640
+ * Generic pallet error
641
+ **/
642
+ [error: string]: GenericPalletError;
643
+ };
644
+ /**
645
+ * Pallet `Nfts`'s errors
646
+ **/
647
+ nfts: {
648
+ /**
649
+ * The signing account has no permission to do the operation.
650
+ **/
651
+ NoPermission: GenericPalletError;
652
+ /**
653
+ * The given item ID is unknown.
654
+ **/
655
+ UnknownCollection: GenericPalletError;
656
+ /**
657
+ * The item ID has already been used for an item.
658
+ **/
659
+ AlreadyExists: GenericPalletError;
660
+ /**
661
+ * The approval had a deadline that expired, so the approval isn't valid anymore.
662
+ **/
663
+ ApprovalExpired: GenericPalletError;
664
+ /**
665
+ * The owner turned out to be different to what was expected.
666
+ **/
667
+ WrongOwner: GenericPalletError;
668
+ /**
669
+ * The witness data given does not match the current state of the chain.
670
+ **/
671
+ BadWitness: GenericPalletError;
672
+ /**
673
+ * Collection ID is already taken.
674
+ **/
675
+ CollectionIdInUse: GenericPalletError;
676
+ /**
677
+ * Items within that collection are non-transferable.
678
+ **/
679
+ ItemsNonTransferable: GenericPalletError;
680
+ /**
681
+ * The provided account is not a delegate.
682
+ **/
683
+ NotDelegate: GenericPalletError;
684
+ /**
685
+ * The delegate turned out to be different to what was expected.
686
+ **/
687
+ WrongDelegate: GenericPalletError;
688
+ /**
689
+ * No approval exists that would allow the transfer.
690
+ **/
691
+ Unapproved: GenericPalletError;
692
+ /**
693
+ * The named owner has not signed ownership acceptance of the collection.
694
+ **/
695
+ Unaccepted: GenericPalletError;
696
+ /**
697
+ * The item is locked (non-transferable).
698
+ **/
699
+ ItemLocked: GenericPalletError;
700
+ /**
701
+ * Item's attributes are locked.
702
+ **/
703
+ LockedItemAttributes: GenericPalletError;
704
+ /**
705
+ * Collection's attributes are locked.
706
+ **/
707
+ LockedCollectionAttributes: GenericPalletError;
708
+ /**
709
+ * Item's metadata is locked.
710
+ **/
711
+ LockedItemMetadata: GenericPalletError;
712
+ /**
713
+ * Collection's metadata is locked.
714
+ **/
715
+ LockedCollectionMetadata: GenericPalletError;
716
+ /**
717
+ * All items have been minted.
718
+ **/
719
+ MaxSupplyReached: GenericPalletError;
720
+ /**
721
+ * The max supply is locked and can't be changed.
722
+ **/
723
+ MaxSupplyLocked: GenericPalletError;
724
+ /**
725
+ * The provided max supply is less than the number of items a collection already has.
726
+ **/
727
+ MaxSupplyTooSmall: GenericPalletError;
728
+ /**
729
+ * The given item ID is unknown.
730
+ **/
731
+ UnknownItem: GenericPalletError;
732
+ /**
733
+ * Swap doesn't exist.
734
+ **/
735
+ UnknownSwap: GenericPalletError;
736
+ /**
737
+ * The given item has no metadata set.
738
+ **/
739
+ MetadataNotFound: GenericPalletError;
740
+ /**
741
+ * The provided attribute can't be found.
742
+ **/
743
+ AttributeNotFound: GenericPalletError;
744
+ /**
745
+ * Item is not for sale.
746
+ **/
747
+ NotForSale: GenericPalletError;
748
+ /**
749
+ * The provided bid is too low.
750
+ **/
751
+ BidTooLow: GenericPalletError;
752
+ /**
753
+ * The item has reached its approval limit.
754
+ **/
755
+ ReachedApprovalLimit: GenericPalletError;
756
+ /**
757
+ * The deadline has already expired.
758
+ **/
759
+ DeadlineExpired: GenericPalletError;
760
+ /**
761
+ * The duration provided should be less than or equal to `MaxDeadlineDuration`.
762
+ **/
763
+ WrongDuration: GenericPalletError;
764
+ /**
765
+ * The method is disabled by system settings.
766
+ **/
767
+ MethodDisabled: GenericPalletError;
768
+ /**
769
+ * The provided setting can't be set.
770
+ **/
771
+ WrongSetting: GenericPalletError;
772
+ /**
773
+ * Item's config already exists and should be equal to the provided one.
774
+ **/
775
+ InconsistentItemConfig: GenericPalletError;
776
+ /**
777
+ * Config for a collection or an item can't be found.
778
+ **/
779
+ NoConfig: GenericPalletError;
780
+ /**
781
+ * Some roles were not cleared.
782
+ **/
783
+ RolesNotCleared: GenericPalletError;
784
+ /**
785
+ * Mint has not started yet.
786
+ **/
787
+ MintNotStarted: GenericPalletError;
788
+ /**
789
+ * Mint has already ended.
790
+ **/
791
+ MintEnded: GenericPalletError;
792
+ /**
793
+ * The provided Item was already used for claiming.
794
+ **/
795
+ AlreadyClaimed: GenericPalletError;
796
+ /**
797
+ * The provided data is incorrect.
798
+ **/
799
+ IncorrectData: GenericPalletError;
800
+ /**
801
+ * The extrinsic was sent by the wrong origin.
802
+ **/
803
+ WrongOrigin: GenericPalletError;
804
+ /**
805
+ * The provided signature is incorrect.
806
+ **/
807
+ WrongSignature: GenericPalletError;
808
+ /**
809
+ * The provided metadata might be too long.
810
+ **/
811
+ IncorrectMetadata: GenericPalletError;
812
+ /**
813
+ * Can't set more attributes per one call.
814
+ **/
815
+ MaxAttributesLimitReached: GenericPalletError;
816
+ /**
817
+ * The provided namespace isn't supported in this call.
818
+ **/
819
+ WrongNamespace: GenericPalletError;
820
+ /**
821
+ * Can't delete non-empty collections.
822
+ **/
823
+ CollectionNotEmpty: GenericPalletError;
824
+ /**
825
+ * The witness data should be provided.
826
+ **/
827
+ WitnessRequired: GenericPalletError;
828
+ /**
829
+ * Generic pallet error
830
+ **/
831
+ [error: string]: GenericPalletError;
832
+ };
833
+ /**
834
+ * Pallet `ForeignAssets`'s errors
835
+ **/
836
+ foreignAssets: {
837
+ /**
838
+ * Account balance must be greater than or equal to the transfer amount.
839
+ **/
840
+ BalanceLow: GenericPalletError;
841
+ /**
842
+ * The account to alter does not exist.
843
+ **/
844
+ NoAccount: GenericPalletError;
845
+ /**
846
+ * The signing account has no permission to do the operation.
847
+ **/
848
+ NoPermission: GenericPalletError;
849
+ /**
850
+ * The given asset ID is unknown.
851
+ **/
852
+ Unknown: GenericPalletError;
853
+ /**
854
+ * The origin account is frozen.
855
+ **/
856
+ Frozen: GenericPalletError;
857
+ /**
858
+ * The asset ID is already taken.
859
+ **/
860
+ InUse: GenericPalletError;
861
+ /**
862
+ * Invalid witness data given.
863
+ **/
864
+ BadWitness: GenericPalletError;
865
+ /**
866
+ * Minimum balance should be non-zero.
867
+ **/
868
+ MinBalanceZero: GenericPalletError;
869
+ /**
870
+ * Unable to increment the consumer reference counters on the account. Either no provider
871
+ * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
872
+ * fewer then the maximum number of consumers has been reached.
873
+ **/
874
+ UnavailableConsumer: GenericPalletError;
875
+ /**
876
+ * Invalid metadata given.
877
+ **/
878
+ BadMetadata: GenericPalletError;
879
+ /**
880
+ * No approval exists that would allow the transfer.
881
+ **/
882
+ Unapproved: GenericPalletError;
883
+ /**
884
+ * The source account would not survive the transfer and it needs to stay alive.
885
+ **/
886
+ WouldDie: GenericPalletError;
887
+ /**
888
+ * The asset-account already exists.
889
+ **/
890
+ AlreadyExists: GenericPalletError;
891
+ /**
892
+ * The asset-account doesn't have an associated deposit.
893
+ **/
894
+ NoDeposit: GenericPalletError;
895
+ /**
896
+ * The operation would result in funds being burned.
897
+ **/
898
+ WouldBurn: GenericPalletError;
899
+ /**
900
+ * The asset is a live asset and is actively being used. Usually emit for operations such
901
+ * as `start_destroy` which require the asset to be in a destroying state.
902
+ **/
903
+ LiveAsset: GenericPalletError;
904
+ /**
905
+ * The asset is not live, and likely being destroyed.
906
+ **/
907
+ AssetNotLive: GenericPalletError;
908
+ /**
909
+ * The asset status is not the expected status.
910
+ **/
911
+ IncorrectStatus: GenericPalletError;
912
+ /**
913
+ * The asset should be frozen before the given operation.
914
+ **/
915
+ NotFrozen: GenericPalletError;
916
+ /**
917
+ * Callback action resulted in error
918
+ **/
919
+ CallbackFailed: GenericPalletError;
920
+ /**
921
+ * Generic pallet error
922
+ **/
923
+ [error: string]: GenericPalletError;
924
+ };
925
+ /**
926
+ * Pallet `NftFractionalization`'s errors
927
+ **/
928
+ nftFractionalization: {
929
+ /**
930
+ * Asset ID does not correspond to locked NFT.
931
+ **/
932
+ IncorrectAssetId: GenericPalletError;
933
+ /**
934
+ * The signing account has no permission to do the operation.
935
+ **/
936
+ NoPermission: GenericPalletError;
937
+ /**
938
+ * NFT doesn't exist.
939
+ **/
940
+ NftNotFound: GenericPalletError;
941
+ /**
942
+ * NFT has not yet been fractionalised.
943
+ **/
944
+ NftNotFractionalized: GenericPalletError;
945
+ /**
946
+ * Generic pallet error
947
+ **/
948
+ [error: string]: GenericPalletError;
949
+ };
950
+ /**
951
+ * Pallet `PoolAssets`'s errors
952
+ **/
953
+ poolAssets: {
954
+ /**
955
+ * Account balance must be greater than or equal to the transfer amount.
956
+ **/
957
+ BalanceLow: GenericPalletError;
958
+ /**
959
+ * The account to alter does not exist.
960
+ **/
961
+ NoAccount: GenericPalletError;
962
+ /**
963
+ * The signing account has no permission to do the operation.
964
+ **/
965
+ NoPermission: GenericPalletError;
966
+ /**
967
+ * The given asset ID is unknown.
968
+ **/
969
+ Unknown: GenericPalletError;
970
+ /**
971
+ * The origin account is frozen.
972
+ **/
973
+ Frozen: GenericPalletError;
974
+ /**
975
+ * The asset ID is already taken.
976
+ **/
977
+ InUse: GenericPalletError;
978
+ /**
979
+ * Invalid witness data given.
980
+ **/
981
+ BadWitness: GenericPalletError;
982
+ /**
983
+ * Minimum balance should be non-zero.
984
+ **/
985
+ MinBalanceZero: GenericPalletError;
986
+ /**
987
+ * Unable to increment the consumer reference counters on the account. Either no provider
988
+ * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
989
+ * fewer then the maximum number of consumers has been reached.
990
+ **/
991
+ UnavailableConsumer: GenericPalletError;
992
+ /**
993
+ * Invalid metadata given.
994
+ **/
995
+ BadMetadata: GenericPalletError;
996
+ /**
997
+ * No approval exists that would allow the transfer.
998
+ **/
999
+ Unapproved: GenericPalletError;
1000
+ /**
1001
+ * The source account would not survive the transfer and it needs to stay alive.
1002
+ **/
1003
+ WouldDie: GenericPalletError;
1004
+ /**
1005
+ * The asset-account already exists.
1006
+ **/
1007
+ AlreadyExists: GenericPalletError;
1008
+ /**
1009
+ * The asset-account doesn't have an associated deposit.
1010
+ **/
1011
+ NoDeposit: GenericPalletError;
1012
+ /**
1013
+ * The operation would result in funds being burned.
1014
+ **/
1015
+ WouldBurn: GenericPalletError;
1016
+ /**
1017
+ * The asset is a live asset and is actively being used. Usually emit for operations such
1018
+ * as `start_destroy` which require the asset to be in a destroying state.
1019
+ **/
1020
+ LiveAsset: GenericPalletError;
1021
+ /**
1022
+ * The asset is not live, and likely being destroyed.
1023
+ **/
1024
+ AssetNotLive: GenericPalletError;
1025
+ /**
1026
+ * The asset status is not the expected status.
1027
+ **/
1028
+ IncorrectStatus: GenericPalletError;
1029
+ /**
1030
+ * The asset should be frozen before the given operation.
1031
+ **/
1032
+ NotFrozen: GenericPalletError;
1033
+ /**
1034
+ * Callback action resulted in error
1035
+ **/
1036
+ CallbackFailed: GenericPalletError;
1037
+ /**
1038
+ * Generic pallet error
1039
+ **/
1040
+ [error: string]: GenericPalletError;
1041
+ };
1042
+ /**
1043
+ * Pallet `AssetConversion`'s errors
1044
+ **/
1045
+ assetConversion: {
1046
+ /**
1047
+ * Provided assets are equal.
1048
+ **/
1049
+ EqualAssets: GenericPalletError;
1050
+ /**
1051
+ * Provided asset is not supported for pool.
1052
+ **/
1053
+ UnsupportedAsset: GenericPalletError;
1054
+ /**
1055
+ * Pool already exists.
1056
+ **/
1057
+ PoolExists: GenericPalletError;
1058
+ /**
1059
+ * Desired amount can't be zero.
1060
+ **/
1061
+ WrongDesiredAmount: GenericPalletError;
1062
+ /**
1063
+ * Provided amount should be greater than or equal to the existential deposit/asset's
1064
+ * minimal amount.
1065
+ **/
1066
+ AmountOneLessThanMinimal: GenericPalletError;
1067
+ /**
1068
+ * Provided amount should be greater than or equal to the existential deposit/asset's
1069
+ * minimal amount.
1070
+ **/
1071
+ AmountTwoLessThanMinimal: GenericPalletError;
1072
+ /**
1073
+ * Reserve needs to always be greater than or equal to the existential deposit/asset's
1074
+ * minimal amount.
1075
+ **/
1076
+ ReserveLeftLessThanMinimal: GenericPalletError;
1077
+ /**
1078
+ * Desired amount can't be equal to the pool reserve.
1079
+ **/
1080
+ AmountOutTooHigh: GenericPalletError;
1081
+ /**
1082
+ * The pool doesn't exist.
1083
+ **/
1084
+ PoolNotFound: GenericPalletError;
1085
+ /**
1086
+ * An overflow happened.
1087
+ **/
1088
+ Overflow: GenericPalletError;
1089
+ /**
1090
+ * The minimal amount requirement for the first token in the pair wasn't met.
1091
+ **/
1092
+ AssetOneDepositDidNotMeetMinimum: GenericPalletError;
1093
+ /**
1094
+ * The minimal amount requirement for the second token in the pair wasn't met.
1095
+ **/
1096
+ AssetTwoDepositDidNotMeetMinimum: GenericPalletError;
1097
+ /**
1098
+ * The minimal amount requirement for the first token in the pair wasn't met.
1099
+ **/
1100
+ AssetOneWithdrawalDidNotMeetMinimum: GenericPalletError;
1101
+ /**
1102
+ * The minimal amount requirement for the second token in the pair wasn't met.
1103
+ **/
1104
+ AssetTwoWithdrawalDidNotMeetMinimum: GenericPalletError;
1105
+ /**
1106
+ * Optimal calculated amount is less than desired.
1107
+ **/
1108
+ OptimalAmountLessThanDesired: GenericPalletError;
1109
+ /**
1110
+ * Insufficient liquidity minted.
1111
+ **/
1112
+ InsufficientLiquidityMinted: GenericPalletError;
1113
+ /**
1114
+ * Requested liquidity can't be zero.
1115
+ **/
1116
+ ZeroLiquidity: GenericPalletError;
1117
+ /**
1118
+ * Amount can't be zero.
1119
+ **/
1120
+ ZeroAmount: GenericPalletError;
1121
+ /**
1122
+ * Insufficient liquidity in the pool.
1123
+ **/
1124
+ InsufficientLiquidity: GenericPalletError;
1125
+ /**
1126
+ * Calculated amount out is less than provided minimum amount.
1127
+ **/
1128
+ ProvidedMinimumNotSufficientForSwap: GenericPalletError;
1129
+ /**
1130
+ * Provided maximum amount is not sufficient for swap.
1131
+ **/
1132
+ ProvidedMaximumNotSufficientForSwap: GenericPalletError;
1133
+ /**
1134
+ * Only pools with native on one side are valid.
1135
+ **/
1136
+ PoolMustContainNativeCurrency: GenericPalletError;
1137
+ /**
1138
+ * The provided path must consists of 2 assets at least.
1139
+ **/
1140
+ InvalidPath: GenericPalletError;
1141
+ /**
1142
+ * It was not possible to calculate path data.
1143
+ **/
1144
+ PathError: GenericPalletError;
1145
+ /**
1146
+ * The provided path must consists of unique assets.
1147
+ **/
1148
+ NonUniquePath: GenericPalletError;
1149
+ /**
1150
+ * It was not possible to get or increment the Id of the pool.
1151
+ **/
1152
+ IncorrectPoolAssetId: GenericPalletError;
1153
+ /**
1154
+ * Unable to find an element in an array/vec that should have one-to-one correspondence
1155
+ * with another. For example, an array of assets constituting a `path` should have a
1156
+ * corresponding array of `amounts` along the path.
1157
+ **/
1158
+ CorrespondenceError: GenericPalletError;
1159
+ /**
1160
+ * Generic pallet error
1161
+ **/
1162
+ [error: string]: GenericPalletError;
1163
+ };
1164
+ }