@dedot/chaintypes 0.0.1-alpha.8 → 0.0.1-alpha.80

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 (298) hide show
  1. package/README.md +3 -1
  2. package/aleph/consts.d.ts +675 -532
  3. package/aleph/errors.d.ts +1053 -821
  4. package/aleph/events.d.ts +1144 -940
  5. package/aleph/index.d.ts +19 -11
  6. package/aleph/json-rpc.d.ts +85 -0
  7. package/aleph/query.d.ts +1572 -1270
  8. package/aleph/runtime.d.ts +595 -409
  9. package/aleph/tx.d.ts +3439 -2205
  10. package/aleph/types.d.ts +3756 -5365
  11. package/astar/consts.d.ts +694 -678
  12. package/astar/errors.d.ts +1468 -1316
  13. package/astar/events.d.ts +1745 -1630
  14. package/astar/index.d.ts +19 -11
  15. package/astar/json-rpc.d.ts +82 -0
  16. package/astar/query.d.ts +1761 -1473
  17. package/astar/runtime.d.ts +769 -261
  18. package/astar/tx.d.ts +4423 -4809
  19. package/astar/types.d.ts +6088 -12266
  20. package/index.d.ts +1 -0
  21. package/index.ts +11 -0
  22. package/kusama/consts.d.ts +1577 -1426
  23. package/kusama/errors.d.ts +3151 -2493
  24. package/kusama/events.d.ts +3323 -2704
  25. package/kusama/index.d.ts +19 -11
  26. package/kusama/json-rpc.d.ts +103 -0
  27. package/kusama/query.d.ts +4228 -3250
  28. package/kusama/runtime.d.ts +1195 -843
  29. package/kusama/tx.d.ts +9039 -6013
  30. package/kusama/types.d.ts +10866 -15400
  31. package/kusamaAssetHub/consts.d.ts +758 -631
  32. package/kusamaAssetHub/errors.d.ts +1493 -1163
  33. package/kusamaAssetHub/events.d.ts +2369 -2040
  34. package/kusamaAssetHub/index.d.ts +19 -11
  35. package/kusamaAssetHub/json-rpc.d.ts +89 -0
  36. package/kusamaAssetHub/query.d.ts +1661 -1300
  37. package/kusamaAssetHub/runtime.d.ts +554 -401
  38. package/kusamaAssetHub/tx.d.ts +6191 -4216
  39. package/kusamaAssetHub/types.d.ts +6551 -10138
  40. package/moonbeam/consts.d.ts +1022 -960
  41. package/moonbeam/errors.d.ts +1938 -1796
  42. package/moonbeam/events.d.ts +2832 -2685
  43. package/moonbeam/index.d.ts +19 -11
  44. package/moonbeam/json-rpc.d.ts +137 -0
  45. package/moonbeam/query.d.ts +2396 -2026
  46. package/moonbeam/runtime.d.ts +686 -505
  47. package/moonbeam/tx.d.ts +6368 -5204
  48. package/moonbeam/types.d.ts +7782 -12033
  49. package/package.json +8 -16
  50. package/polkadot/consts.d.ts +1312 -1159
  51. package/polkadot/errors.d.ts +2574 -2019
  52. package/polkadot/events.d.ts +2591 -2069
  53. package/polkadot/index.d.ts +19 -11
  54. package/polkadot/json-rpc.d.ts +103 -0
  55. package/polkadot/query.d.ts +3692 -2810
  56. package/polkadot/runtime.d.ts +1195 -843
  57. package/polkadot/tx.d.ts +7705 -5008
  58. package/polkadot/types.d.ts +9490 -13326
  59. package/polkadotAssetHub/consts.d.ts +723 -523
  60. package/polkadotAssetHub/errors.d.ts +1464 -924
  61. package/polkadotAssetHub/events.d.ts +2346 -1671
  62. package/polkadotAssetHub/index.d.ts +19 -11
  63. package/polkadotAssetHub/json-rpc.d.ts +89 -0
  64. package/polkadotAssetHub/query.d.ts +1639 -1221
  65. package/polkadotAssetHub/runtime.d.ts +557 -358
  66. package/polkadotAssetHub/tx.d.ts +6120 -3491
  67. package/polkadotAssetHub/types.d.ts +6474 -8899
  68. package/rococo/consts.d.ts +1423 -0
  69. package/rococo/errors.d.ts +2783 -0
  70. package/rococo/events.d.ts +3361 -0
  71. package/rococo/index.d.ts +27 -0
  72. package/rococo/json-rpc.d.ts +103 -0
  73. package/rococo/query.d.ts +3535 -0
  74. package/rococo/runtime.d.ts +1217 -0
  75. package/rococo/tx.d.ts +10657 -0
  76. package/rococo/types.d.ts +14776 -0
  77. package/rococoAssetHub/consts.d.ts +820 -657
  78. package/rococoAssetHub/errors.d.ts +1567 -1230
  79. package/rococoAssetHub/events.d.ts +2382 -2040
  80. package/rococoAssetHub/index.d.ts +19 -11
  81. package/rococoAssetHub/json-rpc.d.ts +89 -0
  82. package/rococoAssetHub/query.d.ts +1694 -1268
  83. package/rococoAssetHub/runtime.d.ts +578 -427
  84. package/rococoAssetHub/tx.d.ts +9171 -4306
  85. package/rococoAssetHub/types.d.ts +12252 -10796
  86. package/substrate/consts.d.ts +2222 -1970
  87. package/substrate/errors.d.ts +4022 -3336
  88. package/substrate/events.d.ts +4924 -4271
  89. package/substrate/index.d.ts +19 -11
  90. package/substrate/json-rpc.d.ts +101 -0
  91. package/substrate/query.d.ts +4082 -3349
  92. package/substrate/runtime.d.ts +970 -707
  93. package/substrate/tx.d.ts +12500 -8799
  94. package/substrate/types.d.ts +12809 -19761
  95. package/westendAssetHub/consts.d.ts +786 -657
  96. package/westendAssetHub/errors.d.ts +1522 -1230
  97. package/westendAssetHub/events.d.ts +2345 -2040
  98. package/westendAssetHub/index.d.ts +19 -11
  99. package/westendAssetHub/json-rpc.d.ts +89 -0
  100. package/westendAssetHub/query.d.ts +1655 -1268
  101. package/westendAssetHub/runtime.d.ts +651 -455
  102. package/westendAssetHub/tx.d.ts +8983 -4306
  103. package/westendAssetHub/types.d.ts +12027 -10797
  104. package/aleph/consts.js +0 -2
  105. package/aleph/errors.js +0 -2
  106. package/aleph/events.js +0 -2
  107. package/aleph/index.js +0 -3
  108. package/aleph/query.js +0 -2
  109. package/aleph/rpc.d.ts +0 -575
  110. package/aleph/rpc.js +0 -2
  111. package/aleph/runtime.js +0 -2
  112. package/aleph/tx.js +0 -2
  113. package/aleph/types.js +0 -2
  114. package/astar/consts.js +0 -2
  115. package/astar/errors.js +0 -2
  116. package/astar/events.js +0 -2
  117. package/astar/index.js +0 -3
  118. package/astar/query.js +0 -2
  119. package/astar/rpc.d.ts +0 -775
  120. package/astar/rpc.js +0 -2
  121. package/astar/runtime.js +0 -2
  122. package/astar/tx.js +0 -2
  123. package/astar/types.js +0 -2
  124. package/cjs/aleph/consts.js +0 -3
  125. package/cjs/aleph/errors.js +0 -3
  126. package/cjs/aleph/events.js +0 -3
  127. package/cjs/aleph/index.js +0 -19
  128. package/cjs/aleph/query.js +0 -3
  129. package/cjs/aleph/rpc.js +0 -3
  130. package/cjs/aleph/runtime.js +0 -3
  131. package/cjs/aleph/tx.js +0 -3
  132. package/cjs/aleph/types.js +0 -3
  133. package/cjs/astar/consts.js +0 -3
  134. package/cjs/astar/errors.js +0 -3
  135. package/cjs/astar/events.js +0 -3
  136. package/cjs/astar/index.js +0 -19
  137. package/cjs/astar/query.js +0 -3
  138. package/cjs/astar/rpc.js +0 -3
  139. package/cjs/astar/runtime.js +0 -3
  140. package/cjs/astar/tx.js +0 -3
  141. package/cjs/astar/types.js +0 -3
  142. package/cjs/index.js +0 -2
  143. package/cjs/kusama/consts.js +0 -3
  144. package/cjs/kusama/errors.js +0 -3
  145. package/cjs/kusama/events.js +0 -3
  146. package/cjs/kusama/index.js +0 -19
  147. package/cjs/kusama/query.js +0 -3
  148. package/cjs/kusama/rpc.js +0 -3
  149. package/cjs/kusama/runtime.js +0 -3
  150. package/cjs/kusama/tx.js +0 -3
  151. package/cjs/kusama/types.js +0 -3
  152. package/cjs/kusamaAssetHub/consts.js +0 -3
  153. package/cjs/kusamaAssetHub/errors.js +0 -3
  154. package/cjs/kusamaAssetHub/events.js +0 -3
  155. package/cjs/kusamaAssetHub/index.js +0 -19
  156. package/cjs/kusamaAssetHub/query.js +0 -3
  157. package/cjs/kusamaAssetHub/rpc.js +0 -3
  158. package/cjs/kusamaAssetHub/runtime.js +0 -3
  159. package/cjs/kusamaAssetHub/tx.js +0 -3
  160. package/cjs/kusamaAssetHub/types.js +0 -3
  161. package/cjs/moonbeam/consts.js +0 -3
  162. package/cjs/moonbeam/errors.js +0 -3
  163. package/cjs/moonbeam/events.js +0 -3
  164. package/cjs/moonbeam/index.js +0 -19
  165. package/cjs/moonbeam/query.js +0 -3
  166. package/cjs/moonbeam/rpc.js +0 -3
  167. package/cjs/moonbeam/runtime.js +0 -3
  168. package/cjs/moonbeam/tx.js +0 -3
  169. package/cjs/moonbeam/types.js +0 -3
  170. package/cjs/package.json +0 -1
  171. package/cjs/packageInfo.js +0 -5
  172. package/cjs/polkadot/consts.js +0 -3
  173. package/cjs/polkadot/errors.js +0 -3
  174. package/cjs/polkadot/events.js +0 -3
  175. package/cjs/polkadot/index.js +0 -19
  176. package/cjs/polkadot/query.js +0 -3
  177. package/cjs/polkadot/rpc.js +0 -3
  178. package/cjs/polkadot/runtime.js +0 -3
  179. package/cjs/polkadot/tx.js +0 -3
  180. package/cjs/polkadot/types.js +0 -3
  181. package/cjs/polkadotAssetHub/consts.js +0 -3
  182. package/cjs/polkadotAssetHub/errors.js +0 -3
  183. package/cjs/polkadotAssetHub/events.js +0 -3
  184. package/cjs/polkadotAssetHub/index.js +0 -19
  185. package/cjs/polkadotAssetHub/query.js +0 -3
  186. package/cjs/polkadotAssetHub/rpc.js +0 -3
  187. package/cjs/polkadotAssetHub/runtime.js +0 -3
  188. package/cjs/polkadotAssetHub/tx.js +0 -3
  189. package/cjs/polkadotAssetHub/types.js +0 -3
  190. package/cjs/rococoAssetHub/consts.js +0 -3
  191. package/cjs/rococoAssetHub/errors.js +0 -3
  192. package/cjs/rococoAssetHub/events.js +0 -3
  193. package/cjs/rococoAssetHub/index.js +0 -19
  194. package/cjs/rococoAssetHub/query.js +0 -3
  195. package/cjs/rococoAssetHub/rpc.js +0 -3
  196. package/cjs/rococoAssetHub/runtime.js +0 -3
  197. package/cjs/rococoAssetHub/tx.js +0 -3
  198. package/cjs/rococoAssetHub/types.js +0 -3
  199. package/cjs/substrate/consts.js +0 -3
  200. package/cjs/substrate/errors.js +0 -3
  201. package/cjs/substrate/events.js +0 -3
  202. package/cjs/substrate/index.js +0 -19
  203. package/cjs/substrate/query.js +0 -3
  204. package/cjs/substrate/rpc.js +0 -3
  205. package/cjs/substrate/runtime.js +0 -3
  206. package/cjs/substrate/tx.js +0 -3
  207. package/cjs/substrate/types.js +0 -3
  208. package/cjs/westendAssetHub/consts.js +0 -3
  209. package/cjs/westendAssetHub/errors.js +0 -3
  210. package/cjs/westendAssetHub/events.js +0 -3
  211. package/cjs/westendAssetHub/index.js +0 -19
  212. package/cjs/westendAssetHub/query.js +0 -3
  213. package/cjs/westendAssetHub/rpc.js +0 -3
  214. package/cjs/westendAssetHub/runtime.js +0 -3
  215. package/cjs/westendAssetHub/tx.js +0 -3
  216. package/cjs/westendAssetHub/types.js +0 -3
  217. package/kusama/consts.js +0 -2
  218. package/kusama/errors.js +0 -2
  219. package/kusama/events.js +0 -2
  220. package/kusama/index.js +0 -3
  221. package/kusama/query.js +0 -2
  222. package/kusama/rpc.d.ts +0 -726
  223. package/kusama/rpc.js +0 -2
  224. package/kusama/runtime.js +0 -2
  225. package/kusama/tx.js +0 -2
  226. package/kusama/types.js +0 -2
  227. package/kusamaAssetHub/consts.js +0 -2
  228. package/kusamaAssetHub/errors.js +0 -2
  229. package/kusamaAssetHub/events.js +0 -2
  230. package/kusamaAssetHub/index.js +0 -3
  231. package/kusamaAssetHub/query.js +0 -2
  232. package/kusamaAssetHub/rpc.d.ts +0 -590
  233. package/kusamaAssetHub/rpc.js +0 -2
  234. package/kusamaAssetHub/runtime.js +0 -2
  235. package/kusamaAssetHub/tx.js +0 -2
  236. package/kusamaAssetHub/types.js +0 -2
  237. package/moonbeam/consts.js +0 -2
  238. package/moonbeam/errors.js +0 -2
  239. package/moonbeam/events.js +0 -2
  240. package/moonbeam/index.js +0 -3
  241. package/moonbeam/query.js +0 -2
  242. package/moonbeam/rpc.d.ts +0 -809
  243. package/moonbeam/rpc.js +0 -2
  244. package/moonbeam/runtime.js +0 -2
  245. package/moonbeam/tx.js +0 -2
  246. package/moonbeam/types.js +0 -2
  247. package/packageInfo.d.ts +0 -4
  248. package/packageInfo.js +0 -2
  249. package/polkadot/consts.js +0 -2
  250. package/polkadot/errors.js +0 -2
  251. package/polkadot/events.js +0 -2
  252. package/polkadot/index.js +0 -3
  253. package/polkadot/query.js +0 -2
  254. package/polkadot/rpc.d.ts +0 -726
  255. package/polkadot/rpc.js +0 -2
  256. package/polkadot/runtime.js +0 -2
  257. package/polkadot/tx.js +0 -2
  258. package/polkadot/types.js +0 -2
  259. package/polkadotAssetHub/consts.js +0 -2
  260. package/polkadotAssetHub/errors.js +0 -2
  261. package/polkadotAssetHub/events.js +0 -2
  262. package/polkadotAssetHub/index.js +0 -3
  263. package/polkadotAssetHub/query.js +0 -2
  264. package/polkadotAssetHub/rpc.d.ts +0 -590
  265. package/polkadotAssetHub/rpc.js +0 -2
  266. package/polkadotAssetHub/runtime.js +0 -2
  267. package/polkadotAssetHub/tx.js +0 -2
  268. package/polkadotAssetHub/types.js +0 -2
  269. package/rococoAssetHub/consts.js +0 -2
  270. package/rococoAssetHub/errors.js +0 -2
  271. package/rococoAssetHub/events.js +0 -2
  272. package/rococoAssetHub/index.js +0 -3
  273. package/rococoAssetHub/query.js +0 -2
  274. package/rococoAssetHub/rpc.d.ts +0 -590
  275. package/rococoAssetHub/rpc.js +0 -2
  276. package/rococoAssetHub/runtime.js +0 -2
  277. package/rococoAssetHub/tx.js +0 -2
  278. package/rococoAssetHub/types.js +0 -2
  279. package/substrate/consts.js +0 -2
  280. package/substrate/errors.js +0 -2
  281. package/substrate/events.js +0 -2
  282. package/substrate/index.js +0 -3
  283. package/substrate/query.js +0 -2
  284. package/substrate/rpc.d.ts +0 -718
  285. package/substrate/rpc.js +0 -2
  286. package/substrate/runtime.js +0 -2
  287. package/substrate/tx.js +0 -2
  288. package/substrate/types.js +0 -2
  289. package/westendAssetHub/consts.js +0 -2
  290. package/westendAssetHub/errors.js +0 -2
  291. package/westendAssetHub/events.js +0 -2
  292. package/westendAssetHub/index.js +0 -3
  293. package/westendAssetHub/query.js +0 -2
  294. package/westendAssetHub/rpc.d.ts +0 -590
  295. package/westendAssetHub/rpc.js +0 -2
  296. package/westendAssetHub/runtime.js +0 -2
  297. package/westendAssetHub/tx.js +0 -2
  298. package/westendAssetHub/types.js +0 -2
@@ -1,1164 +1,1494 @@
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
- };
1
+ // Generated by @dedot/codegen
2
+
3
+ import type { GenericChainErrors, GenericPalletError, RpcVersion } from 'dedot/types';
4
+
5
+ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<Rv> {
6
+ /**
7
+ * Pallet `System`'s errors
8
+ **/
9
+ system: {
10
+ /**
11
+ * The name of specification does not match between the current runtime
12
+ * and the new runtime.
13
+ **/
14
+ InvalidSpecName: GenericPalletError<Rv>;
15
+
16
+ /**
17
+ * The specification version is not allowed to decrease between the current runtime
18
+ * and the new runtime.
19
+ **/
20
+ SpecVersionNeedsToIncrease: GenericPalletError<Rv>;
21
+
22
+ /**
23
+ * Failed to extract the runtime version from the new runtime.
24
+ *
25
+ * Either calling `Core_version` or decoding `RuntimeVersion` failed.
26
+ **/
27
+ FailedToExtractRuntimeVersion: GenericPalletError<Rv>;
28
+
29
+ /**
30
+ * Suicide called when the account has non-default composite data.
31
+ **/
32
+ NonDefaultComposite: GenericPalletError<Rv>;
33
+
34
+ /**
35
+ * There is a non-zero reference count preventing the account from being purged.
36
+ **/
37
+ NonZeroRefCount: GenericPalletError<Rv>;
38
+
39
+ /**
40
+ * The origin filter prevent the call to be dispatched.
41
+ **/
42
+ CallFiltered: GenericPalletError<Rv>;
43
+
44
+ /**
45
+ * No upgrade authorized.
46
+ **/
47
+ NothingAuthorized: GenericPalletError<Rv>;
48
+
49
+ /**
50
+ * The submitted code is not authorized.
51
+ **/
52
+ Unauthorized: GenericPalletError<Rv>;
53
+
54
+ /**
55
+ * Generic pallet error
56
+ **/
57
+ [error: string]: GenericPalletError<Rv>;
58
+ };
59
+ /**
60
+ * Pallet `ParachainSystem`'s errors
61
+ **/
62
+ parachainSystem: {
63
+ /**
64
+ * Attempt to upgrade validation function while existing upgrade pending.
65
+ **/
66
+ OverlappingUpgrades: GenericPalletError<Rv>;
67
+
68
+ /**
69
+ * Polkadot currently prohibits this parachain from upgrading its validation function.
70
+ **/
71
+ ProhibitedByPolkadot: GenericPalletError<Rv>;
72
+
73
+ /**
74
+ * The supplied validation function has compiled into a blob larger than Polkadot is
75
+ * willing to run.
76
+ **/
77
+ TooBig: GenericPalletError<Rv>;
78
+
79
+ /**
80
+ * The inherent which supplies the validation data did not run this block.
81
+ **/
82
+ ValidationDataNotAvailable: GenericPalletError<Rv>;
83
+
84
+ /**
85
+ * The inherent which supplies the host configuration did not run this block.
86
+ **/
87
+ HostConfigurationNotAvailable: GenericPalletError<Rv>;
88
+
89
+ /**
90
+ * No validation function upgrade is currently scheduled.
91
+ **/
92
+ NotScheduled: GenericPalletError<Rv>;
93
+
94
+ /**
95
+ * No code upgrade has been authorized.
96
+ **/
97
+ NothingAuthorized: GenericPalletError<Rv>;
98
+
99
+ /**
100
+ * The given code upgrade has not been authorized.
101
+ **/
102
+ Unauthorized: GenericPalletError<Rv>;
103
+
104
+ /**
105
+ * Generic pallet error
106
+ **/
107
+ [error: string]: GenericPalletError<Rv>;
108
+ };
109
+ /**
110
+ * Pallet `Balances`'s errors
111
+ **/
112
+ balances: {
113
+ /**
114
+ * Vesting balance too high to send value.
115
+ **/
116
+ VestingBalance: GenericPalletError<Rv>;
117
+
118
+ /**
119
+ * Account liquidity restrictions prevent withdrawal.
120
+ **/
121
+ LiquidityRestrictions: GenericPalletError<Rv>;
122
+
123
+ /**
124
+ * Balance too low to send value.
125
+ **/
126
+ InsufficientBalance: GenericPalletError<Rv>;
127
+
128
+ /**
129
+ * Value too low to create account due to existential deposit.
130
+ **/
131
+ ExistentialDeposit: GenericPalletError<Rv>;
132
+
133
+ /**
134
+ * Transfer/payment would kill account.
135
+ **/
136
+ Expendability: GenericPalletError<Rv>;
137
+
138
+ /**
139
+ * A vesting schedule already exists for this account.
140
+ **/
141
+ ExistingVestingSchedule: GenericPalletError<Rv>;
142
+
143
+ /**
144
+ * Beneficiary account must pre-exist.
145
+ **/
146
+ DeadAccount: GenericPalletError<Rv>;
147
+
148
+ /**
149
+ * Number of named reserves exceed `MaxReserves`.
150
+ **/
151
+ TooManyReserves: GenericPalletError<Rv>;
152
+
153
+ /**
154
+ * Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
155
+ **/
156
+ TooManyHolds: GenericPalletError<Rv>;
157
+
158
+ /**
159
+ * Number of freezes exceed `MaxFreezes`.
160
+ **/
161
+ TooManyFreezes: GenericPalletError<Rv>;
162
+
163
+ /**
164
+ * The issuance cannot be modified since it is already deactivated.
165
+ **/
166
+ IssuanceDeactivated: GenericPalletError<Rv>;
167
+
168
+ /**
169
+ * The delta cannot be zero.
170
+ **/
171
+ DeltaZero: GenericPalletError<Rv>;
172
+
173
+ /**
174
+ * Generic pallet error
175
+ **/
176
+ [error: string]: GenericPalletError<Rv>;
177
+ };
178
+ /**
179
+ * Pallet `CollatorSelection`'s errors
180
+ **/
181
+ collatorSelection: {
182
+ /**
183
+ * The pallet has too many candidates.
184
+ **/
185
+ TooManyCandidates: GenericPalletError<Rv>;
186
+
187
+ /**
188
+ * Leaving would result in too few candidates.
189
+ **/
190
+ TooFewEligibleCollators: GenericPalletError<Rv>;
191
+
192
+ /**
193
+ * Account is already a candidate.
194
+ **/
195
+ AlreadyCandidate: GenericPalletError<Rv>;
196
+
197
+ /**
198
+ * Account is not a candidate.
199
+ **/
200
+ NotCandidate: GenericPalletError<Rv>;
201
+
202
+ /**
203
+ * There are too many Invulnerables.
204
+ **/
205
+ TooManyInvulnerables: GenericPalletError<Rv>;
206
+
207
+ /**
208
+ * Account is already an Invulnerable.
209
+ **/
210
+ AlreadyInvulnerable: GenericPalletError<Rv>;
211
+
212
+ /**
213
+ * Account is not an Invulnerable.
214
+ **/
215
+ NotInvulnerable: GenericPalletError<Rv>;
216
+
217
+ /**
218
+ * Account has no associated validator ID.
219
+ **/
220
+ NoAssociatedValidatorId: GenericPalletError<Rv>;
221
+
222
+ /**
223
+ * Validator ID is not yet registered.
224
+ **/
225
+ ValidatorNotRegistered: GenericPalletError<Rv>;
226
+
227
+ /**
228
+ * Could not insert in the candidate list.
229
+ **/
230
+ InsertToCandidateListFailed: GenericPalletError<Rv>;
231
+
232
+ /**
233
+ * Could not remove from the candidate list.
234
+ **/
235
+ RemoveFromCandidateListFailed: GenericPalletError<Rv>;
236
+
237
+ /**
238
+ * New deposit amount would be below the minimum candidacy bond.
239
+ **/
240
+ DepositTooLow: GenericPalletError<Rv>;
241
+
242
+ /**
243
+ * Could not update the candidate list.
244
+ **/
245
+ UpdateCandidateListFailed: GenericPalletError<Rv>;
246
+
247
+ /**
248
+ * Deposit amount is too low to take the target's slot in the candidate list.
249
+ **/
250
+ InsufficientBond: GenericPalletError<Rv>;
251
+
252
+ /**
253
+ * The target account to be replaced in the candidate list is not a candidate.
254
+ **/
255
+ TargetIsNotCandidate: GenericPalletError<Rv>;
256
+
257
+ /**
258
+ * The updated deposit amount is equal to the amount already reserved.
259
+ **/
260
+ IdenticalDeposit: GenericPalletError<Rv>;
261
+
262
+ /**
263
+ * Cannot lower candidacy bond while occupying a future collator slot in the list.
264
+ **/
265
+ InvalidUnreserve: GenericPalletError<Rv>;
266
+
267
+ /**
268
+ * Generic pallet error
269
+ **/
270
+ [error: string]: GenericPalletError<Rv>;
271
+ };
272
+ /**
273
+ * Pallet `Session`'s errors
274
+ **/
275
+ session: {
276
+ /**
277
+ * Invalid ownership proof.
278
+ **/
279
+ InvalidProof: GenericPalletError<Rv>;
280
+
281
+ /**
282
+ * No associated validator ID for account.
283
+ **/
284
+ NoAssociatedValidatorId: GenericPalletError<Rv>;
285
+
286
+ /**
287
+ * Registered duplicate key.
288
+ **/
289
+ DuplicatedKey: GenericPalletError<Rv>;
290
+
291
+ /**
292
+ * No keys are associated with this account.
293
+ **/
294
+ NoKeys: GenericPalletError<Rv>;
295
+
296
+ /**
297
+ * Key setting account is not live, so it's impossible to associate keys.
298
+ **/
299
+ NoAccount: GenericPalletError<Rv>;
300
+
301
+ /**
302
+ * Generic pallet error
303
+ **/
304
+ [error: string]: GenericPalletError<Rv>;
305
+ };
306
+ /**
307
+ * Pallet `XcmpQueue`'s errors
308
+ **/
309
+ xcmpQueue: {
310
+ /**
311
+ * Setting the queue config failed since one of its values was invalid.
312
+ **/
313
+ BadQueueConfig: GenericPalletError<Rv>;
314
+
315
+ /**
316
+ * The execution is already suspended.
317
+ **/
318
+ AlreadySuspended: GenericPalletError<Rv>;
319
+
320
+ /**
321
+ * The execution is already resumed.
322
+ **/
323
+ AlreadyResumed: GenericPalletError<Rv>;
324
+
325
+ /**
326
+ * Generic pallet error
327
+ **/
328
+ [error: string]: GenericPalletError<Rv>;
329
+ };
330
+ /**
331
+ * Pallet `PolkadotXcm`'s errors
332
+ **/
333
+ polkadotXcm: {
334
+ /**
335
+ * The desired destination was unreachable, generally because there is a no way of routing
336
+ * to it.
337
+ **/
338
+ Unreachable: GenericPalletError<Rv>;
339
+
340
+ /**
341
+ * There was some other issue (i.e. not to do with routing) in sending the message.
342
+ * Perhaps a lack of space for buffering the message.
343
+ **/
344
+ SendFailure: GenericPalletError<Rv>;
345
+
346
+ /**
347
+ * The message execution fails the filter.
348
+ **/
349
+ Filtered: GenericPalletError<Rv>;
350
+
351
+ /**
352
+ * The message's weight could not be determined.
353
+ **/
354
+ UnweighableMessage: GenericPalletError<Rv>;
355
+
356
+ /**
357
+ * The destination `Location` provided cannot be inverted.
358
+ **/
359
+ DestinationNotInvertible: GenericPalletError<Rv>;
360
+
361
+ /**
362
+ * The assets to be sent are empty.
363
+ **/
364
+ Empty: GenericPalletError<Rv>;
365
+
366
+ /**
367
+ * Could not re-anchor the assets to declare the fees for the destination chain.
368
+ **/
369
+ CannotReanchor: GenericPalletError<Rv>;
370
+
371
+ /**
372
+ * Too many assets have been attempted for transfer.
373
+ **/
374
+ TooManyAssets: GenericPalletError<Rv>;
375
+
376
+ /**
377
+ * Origin is invalid for sending.
378
+ **/
379
+ InvalidOrigin: GenericPalletError<Rv>;
380
+
381
+ /**
382
+ * The version of the `Versioned` value used is not able to be interpreted.
383
+ **/
384
+ BadVersion: GenericPalletError<Rv>;
385
+
386
+ /**
387
+ * The given location could not be used (e.g. because it cannot be expressed in the
388
+ * desired version of XCM).
389
+ **/
390
+ BadLocation: GenericPalletError<Rv>;
391
+
392
+ /**
393
+ * The referenced subscription could not be found.
394
+ **/
395
+ NoSubscription: GenericPalletError<Rv>;
396
+
397
+ /**
398
+ * The location is invalid since it already has a subscription from us.
399
+ **/
400
+ AlreadySubscribed: GenericPalletError<Rv>;
401
+
402
+ /**
403
+ * Could not check-out the assets for teleportation to the destination chain.
404
+ **/
405
+ CannotCheckOutTeleport: GenericPalletError<Rv>;
406
+
407
+ /**
408
+ * The owner does not own (all) of the asset that they wish to do the operation on.
409
+ **/
410
+ LowBalance: GenericPalletError<Rv>;
411
+
412
+ /**
413
+ * The asset owner has too many locks on the asset.
414
+ **/
415
+ TooManyLocks: GenericPalletError<Rv>;
416
+
417
+ /**
418
+ * The given account is not an identifiable sovereign account for any location.
419
+ **/
420
+ AccountNotSovereign: GenericPalletError<Rv>;
421
+
422
+ /**
423
+ * The operation required fees to be paid which the initiator could not meet.
424
+ **/
425
+ FeesNotMet: GenericPalletError<Rv>;
426
+
427
+ /**
428
+ * A remote lock with the corresponding data could not be found.
429
+ **/
430
+ LockNotFound: GenericPalletError<Rv>;
431
+
432
+ /**
433
+ * The unlock operation cannot succeed because there are still consumers of the lock.
434
+ **/
435
+ InUse: GenericPalletError<Rv>;
436
+
437
+ /**
438
+ * Invalid non-concrete asset.
439
+ **/
440
+ InvalidAssetNotConcrete: GenericPalletError<Rv>;
441
+
442
+ /**
443
+ * Invalid asset, reserve chain could not be determined for it.
444
+ **/
445
+ InvalidAssetUnknownReserve: GenericPalletError<Rv>;
446
+
447
+ /**
448
+ * Invalid asset, do not support remote asset reserves with different fees reserves.
449
+ **/
450
+ InvalidAssetUnsupportedReserve: GenericPalletError<Rv>;
451
+
452
+ /**
453
+ * Too many assets with different reserve locations have been attempted for transfer.
454
+ **/
455
+ TooManyReserves: GenericPalletError<Rv>;
456
+
457
+ /**
458
+ * Local XCM execution incomplete.
459
+ **/
460
+ LocalExecutionIncomplete: GenericPalletError<Rv>;
461
+
462
+ /**
463
+ * Generic pallet error
464
+ **/
465
+ [error: string]: GenericPalletError<Rv>;
466
+ };
467
+ /**
468
+ * Pallet `MessageQueue`'s errors
469
+ **/
470
+ messageQueue: {
471
+ /**
472
+ * Page is not reapable because it has items remaining to be processed and is not old
473
+ * enough.
474
+ **/
475
+ NotReapable: GenericPalletError<Rv>;
476
+
477
+ /**
478
+ * Page to be reaped does not exist.
479
+ **/
480
+ NoPage: GenericPalletError<Rv>;
481
+
482
+ /**
483
+ * The referenced message could not be found.
484
+ **/
485
+ NoMessage: GenericPalletError<Rv>;
486
+
487
+ /**
488
+ * The message was already processed and cannot be processed again.
489
+ **/
490
+ AlreadyProcessed: GenericPalletError<Rv>;
491
+
492
+ /**
493
+ * The message is queued for future execution.
494
+ **/
495
+ Queued: GenericPalletError<Rv>;
496
+
497
+ /**
498
+ * There is temporarily not enough weight to continue servicing messages.
499
+ **/
500
+ InsufficientWeight: GenericPalletError<Rv>;
501
+
502
+ /**
503
+ * This message is temporarily unprocessable.
504
+ *
505
+ * Such errors are expected, but not guaranteed, to resolve themselves eventually through
506
+ * retrying.
507
+ **/
508
+ TemporarilyUnprocessable: GenericPalletError<Rv>;
509
+
510
+ /**
511
+ * The queue is paused and no message can be executed from it.
512
+ *
513
+ * This can change at any time and may resolve in the future by re-trying.
514
+ **/
515
+ QueuePaused: GenericPalletError<Rv>;
516
+
517
+ /**
518
+ * Another call is in progress and needs to finish before this call can happen.
519
+ **/
520
+ RecursiveDisallowed: GenericPalletError<Rv>;
521
+
522
+ /**
523
+ * Generic pallet error
524
+ **/
525
+ [error: string]: GenericPalletError<Rv>;
526
+ };
527
+ /**
528
+ * Pallet `Utility`'s errors
529
+ **/
530
+ utility: {
531
+ /**
532
+ * Too many calls batched.
533
+ **/
534
+ TooManyCalls: GenericPalletError<Rv>;
535
+
536
+ /**
537
+ * Generic pallet error
538
+ **/
539
+ [error: string]: GenericPalletError<Rv>;
540
+ };
541
+ /**
542
+ * Pallet `Multisig`'s errors
543
+ **/
544
+ multisig: {
545
+ /**
546
+ * Threshold must be 2 or greater.
547
+ **/
548
+ MinimumThreshold: GenericPalletError<Rv>;
549
+
550
+ /**
551
+ * Call is already approved by this signatory.
552
+ **/
553
+ AlreadyApproved: GenericPalletError<Rv>;
554
+
555
+ /**
556
+ * Call doesn't need any (more) approvals.
557
+ **/
558
+ NoApprovalsNeeded: GenericPalletError<Rv>;
559
+
560
+ /**
561
+ * There are too few signatories in the list.
562
+ **/
563
+ TooFewSignatories: GenericPalletError<Rv>;
564
+
565
+ /**
566
+ * There are too many signatories in the list.
567
+ **/
568
+ TooManySignatories: GenericPalletError<Rv>;
569
+
570
+ /**
571
+ * The signatories were provided out of order; they should be ordered.
572
+ **/
573
+ SignatoriesOutOfOrder: GenericPalletError<Rv>;
574
+
575
+ /**
576
+ * The sender was contained in the other signatories; it shouldn't be.
577
+ **/
578
+ SenderInSignatories: GenericPalletError<Rv>;
579
+
580
+ /**
581
+ * Multisig operation not found when attempting to cancel.
582
+ **/
583
+ NotFound: GenericPalletError<Rv>;
584
+
585
+ /**
586
+ * Only the account that originally created the multisig is able to cancel it.
587
+ **/
588
+ NotOwner: GenericPalletError<Rv>;
589
+
590
+ /**
591
+ * No timepoint was given, yet the multisig operation is already underway.
592
+ **/
593
+ NoTimepoint: GenericPalletError<Rv>;
594
+
595
+ /**
596
+ * A different timepoint was given to the multisig operation that is underway.
597
+ **/
598
+ WrongTimepoint: GenericPalletError<Rv>;
599
+
600
+ /**
601
+ * A timepoint was given, yet no multisig operation is underway.
602
+ **/
603
+ UnexpectedTimepoint: GenericPalletError<Rv>;
604
+
605
+ /**
606
+ * The maximum weight information provided was too low.
607
+ **/
608
+ MaxWeightTooLow: GenericPalletError<Rv>;
609
+
610
+ /**
611
+ * The data to be stored is already stored.
612
+ **/
613
+ AlreadyStored: GenericPalletError<Rv>;
614
+
615
+ /**
616
+ * Generic pallet error
617
+ **/
618
+ [error: string]: GenericPalletError<Rv>;
619
+ };
620
+ /**
621
+ * Pallet `Proxy`'s errors
622
+ **/
623
+ proxy: {
624
+ /**
625
+ * There are too many proxies registered or too many announcements pending.
626
+ **/
627
+ TooMany: GenericPalletError<Rv>;
628
+
629
+ /**
630
+ * Proxy registration not found.
631
+ **/
632
+ NotFound: GenericPalletError<Rv>;
633
+
634
+ /**
635
+ * Sender is not a proxy of the account to be proxied.
636
+ **/
637
+ NotProxy: GenericPalletError<Rv>;
638
+
639
+ /**
640
+ * A call which is incompatible with the proxy type's filter was attempted.
641
+ **/
642
+ Unproxyable: GenericPalletError<Rv>;
643
+
644
+ /**
645
+ * Account is already a proxy.
646
+ **/
647
+ Duplicate: GenericPalletError<Rv>;
648
+
649
+ /**
650
+ * Call may not be made by proxy because it may escalate its privileges.
651
+ **/
652
+ NoPermission: GenericPalletError<Rv>;
653
+
654
+ /**
655
+ * Announcement, if made at all, was made too recently.
656
+ **/
657
+ Unannounced: GenericPalletError<Rv>;
658
+
659
+ /**
660
+ * Cannot add self as proxy.
661
+ **/
662
+ NoSelfProxy: GenericPalletError<Rv>;
663
+
664
+ /**
665
+ * Generic pallet error
666
+ **/
667
+ [error: string]: GenericPalletError<Rv>;
668
+ };
669
+ /**
670
+ * Pallet `Assets`'s errors
671
+ **/
672
+ assets: {
673
+ /**
674
+ * Account balance must be greater than or equal to the transfer amount.
675
+ **/
676
+ BalanceLow: GenericPalletError<Rv>;
677
+
678
+ /**
679
+ * The account to alter does not exist.
680
+ **/
681
+ NoAccount: GenericPalletError<Rv>;
682
+
683
+ /**
684
+ * The signing account has no permission to do the operation.
685
+ **/
686
+ NoPermission: GenericPalletError<Rv>;
687
+
688
+ /**
689
+ * The given asset ID is unknown.
690
+ **/
691
+ Unknown: GenericPalletError<Rv>;
692
+
693
+ /**
694
+ * The origin account is frozen.
695
+ **/
696
+ Frozen: GenericPalletError<Rv>;
697
+
698
+ /**
699
+ * The asset ID is already taken.
700
+ **/
701
+ InUse: GenericPalletError<Rv>;
702
+
703
+ /**
704
+ * Invalid witness data given.
705
+ **/
706
+ BadWitness: GenericPalletError<Rv>;
707
+
708
+ /**
709
+ * Minimum balance should be non-zero.
710
+ **/
711
+ MinBalanceZero: GenericPalletError<Rv>;
712
+
713
+ /**
714
+ * Unable to increment the consumer reference counters on the account. Either no provider
715
+ * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
716
+ * fewer then the maximum number of consumers has been reached.
717
+ **/
718
+ UnavailableConsumer: GenericPalletError<Rv>;
719
+
720
+ /**
721
+ * Invalid metadata given.
722
+ **/
723
+ BadMetadata: GenericPalletError<Rv>;
724
+
725
+ /**
726
+ * No approval exists that would allow the transfer.
727
+ **/
728
+ Unapproved: GenericPalletError<Rv>;
729
+
730
+ /**
731
+ * The source account would not survive the transfer and it needs to stay alive.
732
+ **/
733
+ WouldDie: GenericPalletError<Rv>;
734
+
735
+ /**
736
+ * The asset-account already exists.
737
+ **/
738
+ AlreadyExists: GenericPalletError<Rv>;
739
+
740
+ /**
741
+ * The asset-account doesn't have an associated deposit.
742
+ **/
743
+ NoDeposit: GenericPalletError<Rv>;
744
+
745
+ /**
746
+ * The operation would result in funds being burned.
747
+ **/
748
+ WouldBurn: GenericPalletError<Rv>;
749
+
750
+ /**
751
+ * The asset is a live asset and is actively being used. Usually emit for operations such
752
+ * as `start_destroy` which require the asset to be in a destroying state.
753
+ **/
754
+ LiveAsset: GenericPalletError<Rv>;
755
+
756
+ /**
757
+ * The asset is not live, and likely being destroyed.
758
+ **/
759
+ AssetNotLive: GenericPalletError<Rv>;
760
+
761
+ /**
762
+ * The asset status is not the expected status.
763
+ **/
764
+ IncorrectStatus: GenericPalletError<Rv>;
765
+
766
+ /**
767
+ * The asset should be frozen before the given operation.
768
+ **/
769
+ NotFrozen: GenericPalletError<Rv>;
770
+
771
+ /**
772
+ * Callback action resulted in error
773
+ **/
774
+ CallbackFailed: GenericPalletError<Rv>;
775
+
776
+ /**
777
+ * Generic pallet error
778
+ **/
779
+ [error: string]: GenericPalletError<Rv>;
780
+ };
781
+ /**
782
+ * Pallet `Uniques`'s errors
783
+ **/
784
+ uniques: {
785
+ /**
786
+ * The signing account has no permission to do the operation.
787
+ **/
788
+ NoPermission: GenericPalletError<Rv>;
789
+
790
+ /**
791
+ * The given item ID is unknown.
792
+ **/
793
+ UnknownCollection: GenericPalletError<Rv>;
794
+
795
+ /**
796
+ * The item ID has already been used for an item.
797
+ **/
798
+ AlreadyExists: GenericPalletError<Rv>;
799
+
800
+ /**
801
+ * The owner turned out to be different to what was expected.
802
+ **/
803
+ WrongOwner: GenericPalletError<Rv>;
804
+
805
+ /**
806
+ * Invalid witness data given.
807
+ **/
808
+ BadWitness: GenericPalletError<Rv>;
809
+
810
+ /**
811
+ * The item ID is already taken.
812
+ **/
813
+ InUse: GenericPalletError<Rv>;
814
+
815
+ /**
816
+ * The item or collection is frozen.
817
+ **/
818
+ Frozen: GenericPalletError<Rv>;
819
+
820
+ /**
821
+ * The delegate turned out to be different to what was expected.
822
+ **/
823
+ WrongDelegate: GenericPalletError<Rv>;
824
+
825
+ /**
826
+ * There is no delegate approved.
827
+ **/
828
+ NoDelegate: GenericPalletError<Rv>;
829
+
830
+ /**
831
+ * No approval exists that would allow the transfer.
832
+ **/
833
+ Unapproved: GenericPalletError<Rv>;
834
+
835
+ /**
836
+ * The named owner has not signed ownership of the collection is acceptable.
837
+ **/
838
+ Unaccepted: GenericPalletError<Rv>;
839
+
840
+ /**
841
+ * The item is locked.
842
+ **/
843
+ Locked: GenericPalletError<Rv>;
844
+
845
+ /**
846
+ * All items have been minted.
847
+ **/
848
+ MaxSupplyReached: GenericPalletError<Rv>;
849
+
850
+ /**
851
+ * The max supply has already been set.
852
+ **/
853
+ MaxSupplyAlreadySet: GenericPalletError<Rv>;
854
+
855
+ /**
856
+ * The provided max supply is less to the amount of items a collection already has.
857
+ **/
858
+ MaxSupplyTooSmall: GenericPalletError<Rv>;
859
+
860
+ /**
861
+ * The given item ID is unknown.
862
+ **/
863
+ UnknownItem: GenericPalletError<Rv>;
864
+
865
+ /**
866
+ * Item is not for sale.
867
+ **/
868
+ NotForSale: GenericPalletError<Rv>;
869
+
870
+ /**
871
+ * The provided bid is too low.
872
+ **/
873
+ BidTooLow: GenericPalletError<Rv>;
874
+
875
+ /**
876
+ * Generic pallet error
877
+ **/
878
+ [error: string]: GenericPalletError<Rv>;
879
+ };
880
+ /**
881
+ * Pallet `Nfts`'s errors
882
+ **/
883
+ nfts: {
884
+ /**
885
+ * The signing account has no permission to do the operation.
886
+ **/
887
+ NoPermission: GenericPalletError<Rv>;
888
+
889
+ /**
890
+ * The given item ID is unknown.
891
+ **/
892
+ UnknownCollection: GenericPalletError<Rv>;
893
+
894
+ /**
895
+ * The item ID has already been used for an item.
896
+ **/
897
+ AlreadyExists: GenericPalletError<Rv>;
898
+
899
+ /**
900
+ * The approval had a deadline that expired, so the approval isn't valid anymore.
901
+ **/
902
+ ApprovalExpired: GenericPalletError<Rv>;
903
+
904
+ /**
905
+ * The owner turned out to be different to what was expected.
906
+ **/
907
+ WrongOwner: GenericPalletError<Rv>;
908
+
909
+ /**
910
+ * The witness data given does not match the current state of the chain.
911
+ **/
912
+ BadWitness: GenericPalletError<Rv>;
913
+
914
+ /**
915
+ * Collection ID is already taken.
916
+ **/
917
+ CollectionIdInUse: GenericPalletError<Rv>;
918
+
919
+ /**
920
+ * Items within that collection are non-transferable.
921
+ **/
922
+ ItemsNonTransferable: GenericPalletError<Rv>;
923
+
924
+ /**
925
+ * The provided account is not a delegate.
926
+ **/
927
+ NotDelegate: GenericPalletError<Rv>;
928
+
929
+ /**
930
+ * The delegate turned out to be different to what was expected.
931
+ **/
932
+ WrongDelegate: GenericPalletError<Rv>;
933
+
934
+ /**
935
+ * No approval exists that would allow the transfer.
936
+ **/
937
+ Unapproved: GenericPalletError<Rv>;
938
+
939
+ /**
940
+ * The named owner has not signed ownership acceptance of the collection.
941
+ **/
942
+ Unaccepted: GenericPalletError<Rv>;
943
+
944
+ /**
945
+ * The item is locked (non-transferable).
946
+ **/
947
+ ItemLocked: GenericPalletError<Rv>;
948
+
949
+ /**
950
+ * Item's attributes are locked.
951
+ **/
952
+ LockedItemAttributes: GenericPalletError<Rv>;
953
+
954
+ /**
955
+ * Collection's attributes are locked.
956
+ **/
957
+ LockedCollectionAttributes: GenericPalletError<Rv>;
958
+
959
+ /**
960
+ * Item's metadata is locked.
961
+ **/
962
+ LockedItemMetadata: GenericPalletError<Rv>;
963
+
964
+ /**
965
+ * Collection's metadata is locked.
966
+ **/
967
+ LockedCollectionMetadata: GenericPalletError<Rv>;
968
+
969
+ /**
970
+ * All items have been minted.
971
+ **/
972
+ MaxSupplyReached: GenericPalletError<Rv>;
973
+
974
+ /**
975
+ * The max supply is locked and can't be changed.
976
+ **/
977
+ MaxSupplyLocked: GenericPalletError<Rv>;
978
+
979
+ /**
980
+ * The provided max supply is less than the number of items a collection already has.
981
+ **/
982
+ MaxSupplyTooSmall: GenericPalletError<Rv>;
983
+
984
+ /**
985
+ * The given item ID is unknown.
986
+ **/
987
+ UnknownItem: GenericPalletError<Rv>;
988
+
989
+ /**
990
+ * Swap doesn't exist.
991
+ **/
992
+ UnknownSwap: GenericPalletError<Rv>;
993
+
994
+ /**
995
+ * The given item has no metadata set.
996
+ **/
997
+ MetadataNotFound: GenericPalletError<Rv>;
998
+
999
+ /**
1000
+ * The provided attribute can't be found.
1001
+ **/
1002
+ AttributeNotFound: GenericPalletError<Rv>;
1003
+
1004
+ /**
1005
+ * Item is not for sale.
1006
+ **/
1007
+ NotForSale: GenericPalletError<Rv>;
1008
+
1009
+ /**
1010
+ * The provided bid is too low.
1011
+ **/
1012
+ BidTooLow: GenericPalletError<Rv>;
1013
+
1014
+ /**
1015
+ * The item has reached its approval limit.
1016
+ **/
1017
+ ReachedApprovalLimit: GenericPalletError<Rv>;
1018
+
1019
+ /**
1020
+ * The deadline has already expired.
1021
+ **/
1022
+ DeadlineExpired: GenericPalletError<Rv>;
1023
+
1024
+ /**
1025
+ * The duration provided should be less than or equal to `MaxDeadlineDuration`.
1026
+ **/
1027
+ WrongDuration: GenericPalletError<Rv>;
1028
+
1029
+ /**
1030
+ * The method is disabled by system settings.
1031
+ **/
1032
+ MethodDisabled: GenericPalletError<Rv>;
1033
+
1034
+ /**
1035
+ * The provided setting can't be set.
1036
+ **/
1037
+ WrongSetting: GenericPalletError<Rv>;
1038
+
1039
+ /**
1040
+ * Item's config already exists and should be equal to the provided one.
1041
+ **/
1042
+ InconsistentItemConfig: GenericPalletError<Rv>;
1043
+
1044
+ /**
1045
+ * Config for a collection or an item can't be found.
1046
+ **/
1047
+ NoConfig: GenericPalletError<Rv>;
1048
+
1049
+ /**
1050
+ * Some roles were not cleared.
1051
+ **/
1052
+ RolesNotCleared: GenericPalletError<Rv>;
1053
+
1054
+ /**
1055
+ * Mint has not started yet.
1056
+ **/
1057
+ MintNotStarted: GenericPalletError<Rv>;
1058
+
1059
+ /**
1060
+ * Mint has already ended.
1061
+ **/
1062
+ MintEnded: GenericPalletError<Rv>;
1063
+
1064
+ /**
1065
+ * The provided Item was already used for claiming.
1066
+ **/
1067
+ AlreadyClaimed: GenericPalletError<Rv>;
1068
+
1069
+ /**
1070
+ * The provided data is incorrect.
1071
+ **/
1072
+ IncorrectData: GenericPalletError<Rv>;
1073
+
1074
+ /**
1075
+ * The extrinsic was sent by the wrong origin.
1076
+ **/
1077
+ WrongOrigin: GenericPalletError<Rv>;
1078
+
1079
+ /**
1080
+ * The provided signature is incorrect.
1081
+ **/
1082
+ WrongSignature: GenericPalletError<Rv>;
1083
+
1084
+ /**
1085
+ * The provided metadata might be too long.
1086
+ **/
1087
+ IncorrectMetadata: GenericPalletError<Rv>;
1088
+
1089
+ /**
1090
+ * Can't set more attributes per one call.
1091
+ **/
1092
+ MaxAttributesLimitReached: GenericPalletError<Rv>;
1093
+
1094
+ /**
1095
+ * The provided namespace isn't supported in this call.
1096
+ **/
1097
+ WrongNamespace: GenericPalletError<Rv>;
1098
+
1099
+ /**
1100
+ * Can't delete non-empty collections.
1101
+ **/
1102
+ CollectionNotEmpty: GenericPalletError<Rv>;
1103
+
1104
+ /**
1105
+ * The witness data should be provided.
1106
+ **/
1107
+ WitnessRequired: GenericPalletError<Rv>;
1108
+
1109
+ /**
1110
+ * Generic pallet error
1111
+ **/
1112
+ [error: string]: GenericPalletError<Rv>;
1113
+ };
1114
+ /**
1115
+ * Pallet `ForeignAssets`'s errors
1116
+ **/
1117
+ foreignAssets: {
1118
+ /**
1119
+ * Account balance must be greater than or equal to the transfer amount.
1120
+ **/
1121
+ BalanceLow: GenericPalletError<Rv>;
1122
+
1123
+ /**
1124
+ * The account to alter does not exist.
1125
+ **/
1126
+ NoAccount: GenericPalletError<Rv>;
1127
+
1128
+ /**
1129
+ * The signing account has no permission to do the operation.
1130
+ **/
1131
+ NoPermission: GenericPalletError<Rv>;
1132
+
1133
+ /**
1134
+ * The given asset ID is unknown.
1135
+ **/
1136
+ Unknown: GenericPalletError<Rv>;
1137
+
1138
+ /**
1139
+ * The origin account is frozen.
1140
+ **/
1141
+ Frozen: GenericPalletError<Rv>;
1142
+
1143
+ /**
1144
+ * The asset ID is already taken.
1145
+ **/
1146
+ InUse: GenericPalletError<Rv>;
1147
+
1148
+ /**
1149
+ * Invalid witness data given.
1150
+ **/
1151
+ BadWitness: GenericPalletError<Rv>;
1152
+
1153
+ /**
1154
+ * Minimum balance should be non-zero.
1155
+ **/
1156
+ MinBalanceZero: GenericPalletError<Rv>;
1157
+
1158
+ /**
1159
+ * Unable to increment the consumer reference counters on the account. Either no provider
1160
+ * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
1161
+ * fewer then the maximum number of consumers has been reached.
1162
+ **/
1163
+ UnavailableConsumer: GenericPalletError<Rv>;
1164
+
1165
+ /**
1166
+ * Invalid metadata given.
1167
+ **/
1168
+ BadMetadata: GenericPalletError<Rv>;
1169
+
1170
+ /**
1171
+ * No approval exists that would allow the transfer.
1172
+ **/
1173
+ Unapproved: GenericPalletError<Rv>;
1174
+
1175
+ /**
1176
+ * The source account would not survive the transfer and it needs to stay alive.
1177
+ **/
1178
+ WouldDie: GenericPalletError<Rv>;
1179
+
1180
+ /**
1181
+ * The asset-account already exists.
1182
+ **/
1183
+ AlreadyExists: GenericPalletError<Rv>;
1184
+
1185
+ /**
1186
+ * The asset-account doesn't have an associated deposit.
1187
+ **/
1188
+ NoDeposit: GenericPalletError<Rv>;
1189
+
1190
+ /**
1191
+ * The operation would result in funds being burned.
1192
+ **/
1193
+ WouldBurn: GenericPalletError<Rv>;
1194
+
1195
+ /**
1196
+ * The asset is a live asset and is actively being used. Usually emit for operations such
1197
+ * as `start_destroy` which require the asset to be in a destroying state.
1198
+ **/
1199
+ LiveAsset: GenericPalletError<Rv>;
1200
+
1201
+ /**
1202
+ * The asset is not live, and likely being destroyed.
1203
+ **/
1204
+ AssetNotLive: GenericPalletError<Rv>;
1205
+
1206
+ /**
1207
+ * The asset status is not the expected status.
1208
+ **/
1209
+ IncorrectStatus: GenericPalletError<Rv>;
1210
+
1211
+ /**
1212
+ * The asset should be frozen before the given operation.
1213
+ **/
1214
+ NotFrozen: GenericPalletError<Rv>;
1215
+
1216
+ /**
1217
+ * Callback action resulted in error
1218
+ **/
1219
+ CallbackFailed: GenericPalletError<Rv>;
1220
+
1221
+ /**
1222
+ * Generic pallet error
1223
+ **/
1224
+ [error: string]: GenericPalletError<Rv>;
1225
+ };
1226
+ /**
1227
+ * Pallet `NftFractionalization`'s errors
1228
+ **/
1229
+ nftFractionalization: {
1230
+ /**
1231
+ * Asset ID does not correspond to locked NFT.
1232
+ **/
1233
+ IncorrectAssetId: GenericPalletError<Rv>;
1234
+
1235
+ /**
1236
+ * The signing account has no permission to do the operation.
1237
+ **/
1238
+ NoPermission: GenericPalletError<Rv>;
1239
+
1240
+ /**
1241
+ * NFT doesn't exist.
1242
+ **/
1243
+ NftNotFound: GenericPalletError<Rv>;
1244
+
1245
+ /**
1246
+ * NFT has not yet been fractionalised.
1247
+ **/
1248
+ NftNotFractionalized: GenericPalletError<Rv>;
1249
+
1250
+ /**
1251
+ * Generic pallet error
1252
+ **/
1253
+ [error: string]: GenericPalletError<Rv>;
1254
+ };
1255
+ /**
1256
+ * Pallet `PoolAssets`'s errors
1257
+ **/
1258
+ poolAssets: {
1259
+ /**
1260
+ * Account balance must be greater than or equal to the transfer amount.
1261
+ **/
1262
+ BalanceLow: GenericPalletError<Rv>;
1263
+
1264
+ /**
1265
+ * The account to alter does not exist.
1266
+ **/
1267
+ NoAccount: GenericPalletError<Rv>;
1268
+
1269
+ /**
1270
+ * The signing account has no permission to do the operation.
1271
+ **/
1272
+ NoPermission: GenericPalletError<Rv>;
1273
+
1274
+ /**
1275
+ * The given asset ID is unknown.
1276
+ **/
1277
+ Unknown: GenericPalletError<Rv>;
1278
+
1279
+ /**
1280
+ * The origin account is frozen.
1281
+ **/
1282
+ Frozen: GenericPalletError<Rv>;
1283
+
1284
+ /**
1285
+ * The asset ID is already taken.
1286
+ **/
1287
+ InUse: GenericPalletError<Rv>;
1288
+
1289
+ /**
1290
+ * Invalid witness data given.
1291
+ **/
1292
+ BadWitness: GenericPalletError<Rv>;
1293
+
1294
+ /**
1295
+ * Minimum balance should be non-zero.
1296
+ **/
1297
+ MinBalanceZero: GenericPalletError<Rv>;
1298
+
1299
+ /**
1300
+ * Unable to increment the consumer reference counters on the account. Either no provider
1301
+ * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
1302
+ * fewer then the maximum number of consumers has been reached.
1303
+ **/
1304
+ UnavailableConsumer: GenericPalletError<Rv>;
1305
+
1306
+ /**
1307
+ * Invalid metadata given.
1308
+ **/
1309
+ BadMetadata: GenericPalletError<Rv>;
1310
+
1311
+ /**
1312
+ * No approval exists that would allow the transfer.
1313
+ **/
1314
+ Unapproved: GenericPalletError<Rv>;
1315
+
1316
+ /**
1317
+ * The source account would not survive the transfer and it needs to stay alive.
1318
+ **/
1319
+ WouldDie: GenericPalletError<Rv>;
1320
+
1321
+ /**
1322
+ * The asset-account already exists.
1323
+ **/
1324
+ AlreadyExists: GenericPalletError<Rv>;
1325
+
1326
+ /**
1327
+ * The asset-account doesn't have an associated deposit.
1328
+ **/
1329
+ NoDeposit: GenericPalletError<Rv>;
1330
+
1331
+ /**
1332
+ * The operation would result in funds being burned.
1333
+ **/
1334
+ WouldBurn: GenericPalletError<Rv>;
1335
+
1336
+ /**
1337
+ * The asset is a live asset and is actively being used. Usually emit for operations such
1338
+ * as `start_destroy` which require the asset to be in a destroying state.
1339
+ **/
1340
+ LiveAsset: GenericPalletError<Rv>;
1341
+
1342
+ /**
1343
+ * The asset is not live, and likely being destroyed.
1344
+ **/
1345
+ AssetNotLive: GenericPalletError<Rv>;
1346
+
1347
+ /**
1348
+ * The asset status is not the expected status.
1349
+ **/
1350
+ IncorrectStatus: GenericPalletError<Rv>;
1351
+
1352
+ /**
1353
+ * The asset should be frozen before the given operation.
1354
+ **/
1355
+ NotFrozen: GenericPalletError<Rv>;
1356
+
1357
+ /**
1358
+ * Callback action resulted in error
1359
+ **/
1360
+ CallbackFailed: GenericPalletError<Rv>;
1361
+
1362
+ /**
1363
+ * Generic pallet error
1364
+ **/
1365
+ [error: string]: GenericPalletError<Rv>;
1366
+ };
1367
+ /**
1368
+ * Pallet `AssetConversion`'s errors
1369
+ **/
1370
+ assetConversion: {
1371
+ /**
1372
+ * Provided asset pair is not supported for pool.
1373
+ **/
1374
+ InvalidAssetPair: GenericPalletError<Rv>;
1375
+
1376
+ /**
1377
+ * Pool already exists.
1378
+ **/
1379
+ PoolExists: GenericPalletError<Rv>;
1380
+
1381
+ /**
1382
+ * Desired amount can't be zero.
1383
+ **/
1384
+ WrongDesiredAmount: GenericPalletError<Rv>;
1385
+
1386
+ /**
1387
+ * Provided amount should be greater than or equal to the existential deposit/asset's
1388
+ * minimal amount.
1389
+ **/
1390
+ AmountOneLessThanMinimal: GenericPalletError<Rv>;
1391
+
1392
+ /**
1393
+ * Provided amount should be greater than or equal to the existential deposit/asset's
1394
+ * minimal amount.
1395
+ **/
1396
+ AmountTwoLessThanMinimal: GenericPalletError<Rv>;
1397
+
1398
+ /**
1399
+ * Reserve needs to always be greater than or equal to the existential deposit/asset's
1400
+ * minimal amount.
1401
+ **/
1402
+ ReserveLeftLessThanMinimal: GenericPalletError<Rv>;
1403
+
1404
+ /**
1405
+ * Desired amount can't be equal to the pool reserve.
1406
+ **/
1407
+ AmountOutTooHigh: GenericPalletError<Rv>;
1408
+
1409
+ /**
1410
+ * The pool doesn't exist.
1411
+ **/
1412
+ PoolNotFound: GenericPalletError<Rv>;
1413
+
1414
+ /**
1415
+ * An overflow happened.
1416
+ **/
1417
+ Overflow: GenericPalletError<Rv>;
1418
+
1419
+ /**
1420
+ * The minimal amount requirement for the first token in the pair wasn't met.
1421
+ **/
1422
+ AssetOneDepositDidNotMeetMinimum: GenericPalletError<Rv>;
1423
+
1424
+ /**
1425
+ * The minimal amount requirement for the second token in the pair wasn't met.
1426
+ **/
1427
+ AssetTwoDepositDidNotMeetMinimum: GenericPalletError<Rv>;
1428
+
1429
+ /**
1430
+ * The minimal amount requirement for the first token in the pair wasn't met.
1431
+ **/
1432
+ AssetOneWithdrawalDidNotMeetMinimum: GenericPalletError<Rv>;
1433
+
1434
+ /**
1435
+ * The minimal amount requirement for the second token in the pair wasn't met.
1436
+ **/
1437
+ AssetTwoWithdrawalDidNotMeetMinimum: GenericPalletError<Rv>;
1438
+
1439
+ /**
1440
+ * Optimal calculated amount is less than desired.
1441
+ **/
1442
+ OptimalAmountLessThanDesired: GenericPalletError<Rv>;
1443
+
1444
+ /**
1445
+ * Insufficient liquidity minted.
1446
+ **/
1447
+ InsufficientLiquidityMinted: GenericPalletError<Rv>;
1448
+
1449
+ /**
1450
+ * Requested liquidity can't be zero.
1451
+ **/
1452
+ ZeroLiquidity: GenericPalletError<Rv>;
1453
+
1454
+ /**
1455
+ * Amount can't be zero.
1456
+ **/
1457
+ ZeroAmount: GenericPalletError<Rv>;
1458
+
1459
+ /**
1460
+ * Calculated amount out is less than provided minimum amount.
1461
+ **/
1462
+ ProvidedMinimumNotSufficientForSwap: GenericPalletError<Rv>;
1463
+
1464
+ /**
1465
+ * Provided maximum amount is not sufficient for swap.
1466
+ **/
1467
+ ProvidedMaximumNotSufficientForSwap: GenericPalletError<Rv>;
1468
+
1469
+ /**
1470
+ * The provided path must consists of 2 assets at least.
1471
+ **/
1472
+ InvalidPath: GenericPalletError<Rv>;
1473
+
1474
+ /**
1475
+ * The provided path must consists of unique assets.
1476
+ **/
1477
+ NonUniquePath: GenericPalletError<Rv>;
1478
+
1479
+ /**
1480
+ * It was not possible to get or increment the Id of the pool.
1481
+ **/
1482
+ IncorrectPoolAssetId: GenericPalletError<Rv>;
1483
+
1484
+ /**
1485
+ * The destination account cannot exist with the swapped funds.
1486
+ **/
1487
+ BelowMinimum: GenericPalletError<Rv>;
1488
+
1489
+ /**
1490
+ * Generic pallet error
1491
+ **/
1492
+ [error: string]: GenericPalletError<Rv>;
1493
+ };
1164
1494
  }