@dedot/chaintypes 0.0.1-alpha.26 → 0.0.1-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (277) hide show
  1. package/aleph/consts.d.ts +528 -590
  2. package/aleph/consts.js +2 -0
  3. package/aleph/errors.d.ts +818 -981
  4. package/aleph/errors.js +2 -0
  5. package/aleph/events.d.ts +937 -924
  6. package/aleph/events.js +2 -0
  7. package/aleph/index.d.ts +8 -11
  8. package/aleph/index.js +3 -0
  9. package/aleph/query.d.ts +1268 -1477
  10. package/aleph/query.js +2 -0
  11. package/aleph/rpc.d.ts +573 -725
  12. package/aleph/rpc.js +2 -0
  13. package/aleph/runtime.d.ts +406 -541
  14. package/aleph/runtime.js +2 -0
  15. package/aleph/tx.d.ts +2202 -2664
  16. package/aleph/tx.js +2 -0
  17. package/aleph/types.d.ts +5294 -3380
  18. package/aleph/types.js +2 -0
  19. package/astar/consts.d.ts +674 -753
  20. package/astar/consts.js +2 -0
  21. package/astar/errors.d.ts +1313 -1576
  22. package/astar/errors.js +2 -0
  23. package/astar/events.d.ts +1628 -1709
  24. package/astar/events.js +2 -0
  25. package/astar/index.d.ts +8 -11
  26. package/astar/index.js +3 -0
  27. package/astar/query.d.ts +1471 -1756
  28. package/astar/query.js +2 -0
  29. package/astar/rpc.d.ts +773 -972
  30. package/astar/rpc.js +2 -0
  31. package/astar/runtime.d.ts +258 -310
  32. package/astar/runtime.js +2 -0
  33. package/astar/tx.d.ts +4806 -5474
  34. package/astar/tx.js +2 -0
  35. package/astar/types.d.ts +12053 -8793
  36. package/astar/types.js +2 -0
  37. package/cjs/aleph/consts.js +3 -0
  38. package/cjs/aleph/errors.js +3 -0
  39. package/cjs/aleph/events.js +3 -0
  40. package/cjs/aleph/index.js +19 -0
  41. package/cjs/aleph/query.js +3 -0
  42. package/cjs/aleph/rpc.js +3 -0
  43. package/cjs/aleph/runtime.js +3 -0
  44. package/cjs/aleph/tx.js +3 -0
  45. package/cjs/aleph/types.js +3 -0
  46. package/cjs/astar/consts.js +3 -0
  47. package/cjs/astar/errors.js +3 -0
  48. package/cjs/astar/events.js +3 -0
  49. package/cjs/astar/index.js +19 -0
  50. package/cjs/astar/query.js +3 -0
  51. package/cjs/astar/rpc.js +3 -0
  52. package/cjs/astar/runtime.js +3 -0
  53. package/cjs/astar/tx.js +3 -0
  54. package/cjs/astar/types.js +3 -0
  55. package/cjs/index.js +2 -0
  56. package/cjs/kusama/consts.js +3 -0
  57. package/cjs/kusama/errors.js +3 -0
  58. package/cjs/kusama/events.js +3 -0
  59. package/cjs/kusama/index.js +19 -0
  60. package/cjs/kusama/query.js +3 -0
  61. package/cjs/kusama/rpc.js +3 -0
  62. package/cjs/kusama/runtime.js +3 -0
  63. package/cjs/kusama/tx.js +3 -0
  64. package/cjs/kusama/types.js +3 -0
  65. package/cjs/kusamaAssetHub/consts.js +3 -0
  66. package/cjs/kusamaAssetHub/errors.js +3 -0
  67. package/cjs/kusamaAssetHub/events.js +3 -0
  68. package/cjs/kusamaAssetHub/index.js +19 -0
  69. package/cjs/kusamaAssetHub/query.js +3 -0
  70. package/cjs/kusamaAssetHub/rpc.js +3 -0
  71. package/cjs/kusamaAssetHub/runtime.js +3 -0
  72. package/cjs/kusamaAssetHub/tx.js +3 -0
  73. package/cjs/kusamaAssetHub/types.js +3 -0
  74. package/cjs/moonbeam/consts.js +3 -0
  75. package/cjs/moonbeam/errors.js +3 -0
  76. package/cjs/moonbeam/events.js +3 -0
  77. package/cjs/moonbeam/index.js +19 -0
  78. package/cjs/moonbeam/query.js +3 -0
  79. package/cjs/moonbeam/rpc.js +3 -0
  80. package/cjs/moonbeam/runtime.js +3 -0
  81. package/cjs/moonbeam/tx.js +3 -0
  82. package/cjs/moonbeam/types.js +3 -0
  83. package/cjs/package.json +1 -0
  84. package/cjs/packageInfo.js +5 -0
  85. package/cjs/polkadot/consts.js +3 -0
  86. package/cjs/polkadot/errors.js +3 -0
  87. package/cjs/polkadot/events.js +3 -0
  88. package/cjs/polkadot/index.js +19 -0
  89. package/cjs/polkadot/query.js +3 -0
  90. package/cjs/polkadot/rpc.js +3 -0
  91. package/cjs/polkadot/runtime.js +3 -0
  92. package/cjs/polkadot/tx.js +3 -0
  93. package/cjs/polkadot/types.js +3 -0
  94. package/cjs/polkadotAssetHub/consts.js +3 -0
  95. package/cjs/polkadotAssetHub/errors.js +3 -0
  96. package/cjs/polkadotAssetHub/events.js +3 -0
  97. package/cjs/polkadotAssetHub/index.js +19 -0
  98. package/cjs/polkadotAssetHub/query.js +3 -0
  99. package/cjs/polkadotAssetHub/rpc.js +3 -0
  100. package/cjs/polkadotAssetHub/runtime.js +3 -0
  101. package/cjs/polkadotAssetHub/tx.js +3 -0
  102. package/cjs/polkadotAssetHub/types.js +3 -0
  103. package/cjs/rococoAssetHub/consts.js +3 -0
  104. package/cjs/rococoAssetHub/errors.js +3 -0
  105. package/cjs/rococoAssetHub/events.js +3 -0
  106. package/cjs/rococoAssetHub/index.js +19 -0
  107. package/cjs/rococoAssetHub/query.js +3 -0
  108. package/cjs/rococoAssetHub/rpc.js +3 -0
  109. package/cjs/rococoAssetHub/runtime.js +3 -0
  110. package/cjs/rococoAssetHub/tx.js +3 -0
  111. package/cjs/rococoAssetHub/types.js +3 -0
  112. package/cjs/substrate/consts.js +3 -0
  113. package/cjs/substrate/errors.js +3 -0
  114. package/cjs/substrate/events.js +3 -0
  115. package/cjs/substrate/index.js +19 -0
  116. package/cjs/substrate/query.js +3 -0
  117. package/cjs/substrate/rpc.js +3 -0
  118. package/cjs/substrate/runtime.js +3 -0
  119. package/cjs/substrate/tx.js +3 -0
  120. package/cjs/substrate/types.js +3 -0
  121. package/cjs/westendAssetHub/consts.js +3 -0
  122. package/cjs/westendAssetHub/errors.js +3 -0
  123. package/cjs/westendAssetHub/events.js +3 -0
  124. package/cjs/westendAssetHub/index.js +19 -0
  125. package/cjs/westendAssetHub/query.js +3 -0
  126. package/cjs/westendAssetHub/rpc.js +3 -0
  127. package/cjs/westendAssetHub/runtime.js +3 -0
  128. package/cjs/westendAssetHub/tx.js +3 -0
  129. package/cjs/westendAssetHub/types.js +3 -0
  130. package/kusama/consts.d.ts +1422 -1573
  131. package/kusama/consts.js +2 -0
  132. package/kusama/errors.d.ts +2490 -2995
  133. package/kusama/errors.js +2 -0
  134. package/kusama/events.d.ts +2723 -2996
  135. package/kusama/events.js +2 -0
  136. package/kusama/index.d.ts +8 -11
  137. package/kusama/index.js +3 -0
  138. package/kusama/query.d.ts +3248 -3828
  139. package/kusama/query.js +2 -0
  140. package/kusama/rpc.d.ts +724 -902
  141. package/kusama/rpc.js +2 -0
  142. package/kusama/runtime.d.ts +840 -1130
  143. package/kusama/runtime.js +2 -0
  144. package/kusama/tx.d.ts +6010 -7073
  145. package/kusama/tx.js +2 -0
  146. package/kusama/types.d.ts +15336 -10143
  147. package/kusama/types.js +2 -0
  148. package/kusamaAssetHub/consts.d.ts +627 -714
  149. package/kusamaAssetHub/consts.js +2 -0
  150. package/kusamaAssetHub/errors.d.ts +1160 -1405
  151. package/kusamaAssetHub/errors.js +2 -0
  152. package/kusamaAssetHub/events.d.ts +2060 -2149
  153. package/kusamaAssetHub/events.js +2 -0
  154. package/kusamaAssetHub/index.d.ts +8 -11
  155. package/kusamaAssetHub/index.js +3 -0
  156. package/kusamaAssetHub/query.d.ts +1298 -1551
  157. package/kusamaAssetHub/query.js +2 -0
  158. package/kusamaAssetHub/rpc.d.ts +588 -744
  159. package/kusamaAssetHub/rpc.js +2 -0
  160. package/kusamaAssetHub/runtime.d.ts +398 -510
  161. package/kusamaAssetHub/runtime.js +2 -0
  162. package/kusamaAssetHub/tx.d.ts +4212 -5050
  163. package/kusamaAssetHub/tx.js +2 -0
  164. package/kusamaAssetHub/types.d.ts +9997 -5964
  165. package/kusamaAssetHub/types.js +2 -0
  166. package/moonbeam/consts.d.ts +956 -1075
  167. package/moonbeam/consts.js +2 -0
  168. package/moonbeam/errors.d.ts +1793 -2131
  169. package/moonbeam/errors.js +2 -0
  170. package/moonbeam/events.d.ts +2681 -2932
  171. package/moonbeam/events.js +2 -0
  172. package/moonbeam/index.d.ts +8 -11
  173. package/moonbeam/index.js +3 -0
  174. package/moonbeam/query.d.ts +2024 -2391
  175. package/moonbeam/query.js +2 -0
  176. package/moonbeam/rpc.d.ts +807 -1013
  177. package/moonbeam/rpc.js +2 -0
  178. package/moonbeam/runtime.d.ts +502 -665
  179. package/moonbeam/runtime.js +2 -0
  180. package/moonbeam/tx.d.ts +5201 -6152
  181. package/moonbeam/tx.js +2 -0
  182. package/moonbeam/types.d.ts +12035 -7731
  183. package/moonbeam/types.js +2 -0
  184. package/package.json +8 -9
  185. package/packageInfo.js +1 -2
  186. package/polkadot/consts.d.ts +1155 -1272
  187. package/polkadot/consts.js +2 -0
  188. package/polkadot/errors.d.ts +2016 -2420
  189. package/polkadot/errors.js +2 -0
  190. package/polkadot/events.d.ts +2092 -2314
  191. package/polkadot/events.js +2 -0
  192. package/polkadot/index.d.ts +8 -11
  193. package/polkadot/index.js +3 -0
  194. package/polkadot/query.d.ts +2808 -3319
  195. package/polkadot/query.js +2 -0
  196. package/polkadot/rpc.d.ts +724 -902
  197. package/polkadot/rpc.js +2 -0
  198. package/polkadot/runtime.d.ts +840 -1130
  199. package/polkadot/runtime.js +2 -0
  200. package/polkadot/tx.d.ts +5005 -5909
  201. package/polkadot/tx.js +2 -0
  202. package/polkadot/types.d.ts +13402 -8854
  203. package/polkadot/types.js +2 -0
  204. package/polkadotAssetHub/consts.d.ts +519 -586
  205. package/polkadotAssetHub/consts.js +2 -0
  206. package/polkadotAssetHub/errors.d.ts +921 -1115
  207. package/polkadotAssetHub/errors.js +2 -0
  208. package/polkadotAssetHub/events.d.ts +1782 -1850
  209. package/polkadotAssetHub/events.js +2 -0
  210. package/polkadotAssetHub/index.d.ts +8 -11
  211. package/polkadotAssetHub/index.js +3 -0
  212. package/polkadotAssetHub/query.d.ts +1219 -1457
  213. package/polkadotAssetHub/query.js +2 -0
  214. package/polkadotAssetHub/rpc.d.ts +588 -744
  215. package/polkadotAssetHub/rpc.js +2 -0
  216. package/polkadotAssetHub/runtime.d.ts +355 -447
  217. package/polkadotAssetHub/runtime.js +2 -0
  218. package/polkadotAssetHub/tx.d.ts +3487 -4184
  219. package/polkadotAssetHub/tx.js +2 -0
  220. package/polkadotAssetHub/types.d.ts +8891 -5266
  221. package/polkadotAssetHub/types.js +2 -0
  222. package/rococoAssetHub/consts.d.ts +653 -745
  223. package/rococoAssetHub/consts.js +2 -0
  224. package/rococoAssetHub/errors.d.ts +1227 -1490
  225. package/rococoAssetHub/errors.js +2 -0
  226. package/rococoAssetHub/events.d.ts +2047 -2127
  227. package/rococoAssetHub/events.js +2 -0
  228. package/rococoAssetHub/index.d.ts +8 -11
  229. package/rococoAssetHub/index.js +3 -0
  230. package/rococoAssetHub/query.d.ts +1266 -1513
  231. package/rococoAssetHub/query.js +2 -0
  232. package/rococoAssetHub/rpc.d.ts +588 -744
  233. package/rococoAssetHub/rpc.js +2 -0
  234. package/rococoAssetHub/runtime.d.ts +424 -538
  235. package/rococoAssetHub/runtime.js +2 -0
  236. package/rococoAssetHub/tx.d.ts +4302 -5164
  237. package/rococoAssetHub/tx.js +2 -0
  238. package/rococoAssetHub/types.d.ts +10610 -6295
  239. package/rococoAssetHub/types.js +2 -0
  240. package/substrate/consts.d.ts +1966 -2218
  241. package/substrate/consts.js +2 -0
  242. package/substrate/errors.d.ts +3333 -4019
  243. package/substrate/errors.js +2 -0
  244. package/substrate/events.d.ts +4255 -4585
  245. package/substrate/events.js +2 -0
  246. package/substrate/index.d.ts +8 -11
  247. package/substrate/index.js +3 -0
  248. package/substrate/query.d.ts +3347 -3887
  249. package/substrate/query.js +2 -0
  250. package/substrate/rpc.d.ts +716 -892
  251. package/substrate/rpc.js +2 -0
  252. package/substrate/runtime.d.ts +704 -937
  253. package/substrate/runtime.js +2 -0
  254. package/substrate/tx.d.ts +8796 -10387
  255. package/substrate/tx.js +2 -0
  256. package/substrate/types.d.ts +19843 -12891
  257. package/substrate/types.js +2 -0
  258. package/westendAssetHub/consts.d.ts +653 -745
  259. package/westendAssetHub/consts.js +2 -0
  260. package/westendAssetHub/errors.d.ts +1227 -1490
  261. package/westendAssetHub/errors.js +2 -0
  262. package/westendAssetHub/events.d.ts +2047 -2127
  263. package/westendAssetHub/events.js +2 -0
  264. package/westendAssetHub/index.d.ts +8 -11
  265. package/westendAssetHub/index.js +3 -0
  266. package/westendAssetHub/query.d.ts +1266 -1513
  267. package/westendAssetHub/query.js +2 -0
  268. package/westendAssetHub/rpc.d.ts +588 -744
  269. package/westendAssetHub/rpc.js +2 -0
  270. package/westendAssetHub/runtime.d.ts +452 -577
  271. package/westendAssetHub/runtime.js +2 -0
  272. package/westendAssetHub/tx.d.ts +4302 -5164
  273. package/westendAssetHub/tx.js +2 -0
  274. package/westendAssetHub/types.d.ts +10614 -6302
  275. package/westendAssetHub/types.js +2 -0
  276. package/index.ts +0 -10
  277. package/packageInfo.ts +0 -3
@@ -1,750 +1,658 @@
1
- // Generated by @dedot/codegen
2
-
3
1
  import type { GenericChainConsts } from '@dedot/types';
4
2
  import type { RuntimeVersion, Bytes, Permill } from '@dedot/codecs';
5
- import type {
6
- FrameSystemLimitsBlockWeights,
7
- FrameSystemLimitsBlockLength,
8
- SpWeightsRuntimeDbWeight,
9
- SpWeightsWeightV2Weight,
10
- PalletNftsBitFlagsPalletFeature,
11
- FrameSupportPalletId,
12
- StagingXcmV3MultilocationMultiLocation,
13
- } from './types';
14
-
3
+ import type { FrameSystemLimitsBlockWeights, FrameSystemLimitsBlockLength, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, PalletNftsBitFlagsPalletFeature, FrameSupportPalletId, StagingXcmV3MultilocationMultiLocation } from './types';
15
4
  export interface ChainConsts extends GenericChainConsts {
16
- /**
17
- * Pallet `System`'s constants
18
- **/
19
- system: {
20
5
  /**
21
- * Block & extrinsics weights: base values and limits.
22
- **/
23
- blockWeights: FrameSystemLimitsBlockWeights;
24
-
25
- /**
26
- * The maximum length of a block (in bytes).
27
- **/
28
- blockLength: FrameSystemLimitsBlockLength;
29
-
30
- /**
31
- * Maximum number of block number to block hash mappings to keep (oldest pruned first).
32
- **/
33
- blockHashCount: number;
34
-
35
- /**
36
- * The weight of runtime database operations the runtime can invoke.
37
- **/
38
- dbWeight: SpWeightsRuntimeDbWeight;
39
-
40
- /**
41
- * Get the chain's current version.
42
- **/
43
- version: RuntimeVersion;
44
-
45
- /**
46
- * The designated SS58 prefix of this chain.
47
- *
48
- * This replaces the "ss58Format" property declared in the chain spec. Reason is
49
- * that the runtime should know about the prefix in order to make use of it as
50
- * an identifier of the chain.
51
- **/
52
- ss58Prefix: number;
53
-
54
- /**
55
- * Generic pallet constant
56
- **/
57
- [name: string]: any;
58
- };
59
- /**
60
- * Pallet `ParachainSystem`'s constants
61
- **/
62
- parachainSystem: {
63
- /**
64
- * Generic pallet constant
65
- **/
66
- [name: string]: any;
67
- };
68
- /**
69
- * Pallet `Timestamp`'s constants
70
- **/
71
- timestamp: {
72
- /**
73
- * The minimum period between blocks.
74
- *
75
- * Be aware that this is different to the *expected* period that the block production
76
- * apparatus provides. Your chosen consensus system will generally work with this to
77
- * determine a sensible block time. For example, in the Aura pallet it will be double this
78
- * period on default settings.
79
- **/
80
- minimumPeriod: bigint;
81
-
82
- /**
83
- * Generic pallet constant
84
- **/
85
- [name: string]: any;
86
- };
87
- /**
88
- * Pallet `ParachainInfo`'s constants
89
- **/
90
- parachainInfo: {
91
- /**
92
- * Generic pallet constant
93
- **/
94
- [name: string]: any;
95
- };
96
- /**
97
- * Pallet `Balances`'s constants
98
- **/
99
- balances: {
100
- /**
101
- * The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!
102
- *
103
- * If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for
104
- * this pallet. However, you do so at your own risk: this will open up a major DoS vector.
105
- * In case you have multiple sources of provider references, you may also get unexpected
106
- * behaviour if you set this to zero.
107
- *
108
- * Bottom line: Do yourself a favour and make it at least one!
109
- **/
110
- existentialDeposit: bigint;
111
-
112
- /**
113
- * The maximum number of locks that should exist on an account.
114
- * Not strictly enforced, but used for weight estimation.
115
- **/
116
- maxLocks: number;
117
-
118
- /**
119
- * The maximum number of named reserves that can exist on an account.
120
- **/
121
- maxReserves: number;
122
-
123
- /**
124
- * The maximum number of individual freeze locks that can exist on an account at any time.
125
- **/
126
- maxFreezes: number;
127
-
128
- /**
129
- * Generic pallet constant
130
- **/
131
- [name: string]: any;
132
- };
133
- /**
134
- * Pallet `TransactionPayment`'s constants
135
- **/
136
- transactionPayment: {
137
- /**
138
- * A fee multiplier for `Operational` extrinsics to compute "virtual tip" to boost their
139
- * `priority`
140
- *
141
- * This value is multiplied by the `final_fee` to obtain a "virtual tip" that is later
142
- * added to a tip component in regular `priority` calculations.
143
- * It means that a `Normal` transaction can front-run a similarly-sized `Operational`
144
- * extrinsic (with no tip), by including a tip value greater than the virtual tip.
145
- *
146
- * ```rust,ignore
147
- * // For `Normal`
148
- * let priority = priority_calc(tip);
149
- *
150
- * // For `Operational`
151
- * let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier;
152
- * let priority = priority_calc(tip + virtual_tip);
153
- * ```
154
- *
155
- * Note that since we use `final_fee` the multiplier applies also to the regular `tip`
156
- * sent with the transaction. So, not only does the transaction get a priority bump based
157
- * on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational`
158
- * transactions.
159
- **/
160
- operationalFeeMultiplier: number;
161
-
162
- /**
163
- * Generic pallet constant
164
- **/
165
- [name: string]: any;
166
- };
167
- /**
168
- * Pallet `AssetTxPayment`'s constants
169
- **/
170
- assetTxPayment: {
171
- /**
172
- * Generic pallet constant
173
- **/
174
- [name: string]: any;
175
- };
176
- /**
177
- * Pallet `Authorship`'s constants
178
- **/
179
- authorship: {
180
- /**
181
- * Generic pallet constant
182
- **/
183
- [name: string]: any;
184
- };
185
- /**
186
- * Pallet `CollatorSelection`'s constants
187
- **/
188
- collatorSelection: {
189
- /**
190
- * Generic pallet constant
191
- **/
192
- [name: string]: any;
193
- };
194
- /**
195
- * Pallet `Session`'s constants
196
- **/
197
- session: {
198
- /**
199
- * Generic pallet constant
200
- **/
201
- [name: string]: any;
202
- };
203
- /**
204
- * Pallet `Aura`'s constants
205
- **/
206
- aura: {
207
- /**
208
- * Generic pallet constant
209
- **/
210
- [name: string]: any;
211
- };
212
- /**
213
- * Pallet `AuraExt`'s constants
214
- **/
215
- auraExt: {
216
- /**
217
- * Generic pallet constant
218
- **/
219
- [name: string]: any;
220
- };
221
- /**
222
- * Pallet `XcmpQueue`'s constants
223
- **/
224
- xcmpQueue: {
225
- /**
226
- * The maximum number of inbound XCMP channels that can be suspended simultaneously.
227
- *
228
- * Any further channel suspensions will fail and messages may get dropped without further
229
- * notice. Choosing a high value (1000) is okay; the trade-off that is described in
230
- * [`InboundXcmpSuspended`] still applies at that scale.
231
- **/
232
- maxInboundSuspended: number;
233
-
234
- /**
235
- * Generic pallet constant
236
- **/
237
- [name: string]: any;
238
- };
239
- /**
240
- * Pallet `PolkadotXcm`'s constants
241
- **/
242
- polkadotXcm: {
243
- /**
244
- * Generic pallet constant
245
- **/
246
- [name: string]: any;
247
- };
248
- /**
249
- * Pallet `CumulusXcm`'s constants
250
- **/
251
- cumulusXcm: {
252
- /**
253
- * Generic pallet constant
254
- **/
255
- [name: string]: any;
256
- };
257
- /**
258
- * Pallet `ToRococoXcmRouter`'s constants
259
- **/
260
- toRococoXcmRouter: {
261
- /**
262
- * Generic pallet constant
263
- **/
264
- [name: string]: any;
265
- };
266
- /**
267
- * Pallet `MessageQueue`'s constants
268
- **/
269
- messageQueue: {
270
- /**
271
- * The size of the page; this implies the maximum message size which can be sent.
272
- *
273
- * A good value depends on the expected message sizes, their weights, the weight that is
274
- * available for processing them and the maximal needed message size. The maximal message
275
- * size is slightly lower than this as defined by [`MaxMessageLenOf`].
276
- **/
277
- heapSize: number;
278
-
279
- /**
280
- * The maximum number of stale pages (i.e. of overweight messages) allowed before culling
281
- * can happen. Once there are more stale pages than this, then historical pages may be
282
- * dropped, even if they contain unprocessed overweight messages.
283
- **/
284
- maxStale: number;
285
-
286
- /**
287
- * The amount of weight (if any) which should be provided to the message queue for
288
- * servicing enqueued items.
289
- *
290
- * This may be legitimately `None` in the case that you will call
291
- * `ServiceQueues::service_queues` manually.
292
- **/
293
- serviceWeight: SpWeightsWeightV2Weight | undefined;
294
-
295
- /**
296
- * Generic pallet constant
297
- **/
298
- [name: string]: any;
299
- };
300
- /**
301
- * Pallet `Utility`'s constants
302
- **/
303
- utility: {
304
- /**
305
- * The limit on the number of batched calls.
306
- **/
307
- batchedCallsLimit: number;
308
-
309
- /**
310
- * Generic pallet constant
311
- **/
312
- [name: string]: any;
313
- };
314
- /**
315
- * Pallet `Multisig`'s constants
316
- **/
317
- multisig: {
318
- /**
319
- * The base amount of currency needed to reserve for creating a multisig execution or to
320
- * store a dispatch call for later.
321
- *
322
- * This is held for an additional storage item whose value size is
323
- * `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is
324
- * `32 + sizeof(AccountId)` bytes.
325
- **/
326
- depositBase: bigint;
327
-
328
- /**
329
- * The amount of currency needed per unit threshold when creating a multisig execution.
330
- *
331
- * This is held for adding 32 bytes more into a pre-existing storage value.
332
- **/
333
- depositFactor: bigint;
334
-
335
- /**
336
- * The maximum amount of signatories allowed in the multisig.
337
- **/
338
- maxSignatories: number;
339
-
340
- /**
341
- * Generic pallet constant
342
- **/
343
- [name: string]: any;
344
- };
345
- /**
346
- * Pallet `Proxy`'s constants
347
- **/
348
- proxy: {
349
- /**
350
- * The base amount of currency needed to reserve for creating a proxy.
351
- *
352
- * This is held for an additional storage item whose value size is
353
- * `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes.
354
- **/
355
- proxyDepositBase: bigint;
356
-
357
- /**
358
- * The amount of currency needed per proxy added.
359
- *
360
- * This is held for adding 32 bytes plus an instance of `ProxyType` more into a
361
- * pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take
362
- * into account `32 + proxy_type.encode().len()` bytes of data.
363
- **/
364
- proxyDepositFactor: bigint;
365
-
366
- /**
367
- * The maximum amount of proxies allowed for a single account.
368
- **/
369
- maxProxies: number;
370
-
371
- /**
372
- * The maximum amount of time-delayed announcements that are allowed to be pending.
373
- **/
374
- maxPending: number;
375
-
376
- /**
377
- * The base amount of currency needed to reserve for creating an announcement.
378
- *
379
- * This is held when a new storage item holding a `Balance` is created (typically 16
380
- * bytes).
381
- **/
382
- announcementDepositBase: bigint;
383
-
384
- /**
385
- * The amount of currency needed per announcement made.
386
- *
387
- * This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes)
388
- * into a pre-existing storage value.
389
- **/
390
- announcementDepositFactor: bigint;
391
-
392
- /**
393
- * Generic pallet constant
394
- **/
395
- [name: string]: any;
396
- };
397
- /**
398
- * Pallet `Assets`'s constants
399
- **/
400
- assets: {
401
- /**
402
- * Max number of items to destroy per `destroy_accounts` and `destroy_approvals` call.
403
- *
404
- * Must be configured to result in a weight that makes each call fit in a block.
405
- **/
406
- removeItemsLimit: number;
407
-
408
- /**
409
- * The basic amount of funds that must be reserved for an asset.
410
- **/
411
- assetDeposit: bigint;
412
-
413
- /**
414
- * The amount of funds that must be reserved for a non-provider asset account to be
415
- * maintained.
416
- **/
417
- assetAccountDeposit: bigint;
418
-
419
- /**
420
- * The basic amount of funds that must be reserved when adding metadata to your asset.
421
- **/
422
- metadataDepositBase: bigint;
423
-
424
- /**
425
- * The additional funds that must be reserved for the number of bytes you store in your
426
- * metadata.
427
- **/
428
- metadataDepositPerByte: bigint;
429
-
430
- /**
431
- * The amount of funds that must be reserved when creating a new approval.
432
- **/
433
- approvalDeposit: bigint;
434
-
435
- /**
436
- * The maximum length of a name or symbol stored on-chain.
437
- **/
438
- stringLimit: number;
439
-
440
- /**
441
- * Generic pallet constant
442
- **/
443
- [name: string]: any;
444
- };
445
- /**
446
- * Pallet `Uniques`'s constants
447
- **/
448
- uniques: {
449
- /**
450
- * The basic amount of funds that must be reserved for collection.
451
- **/
452
- collectionDeposit: bigint;
453
-
454
- /**
455
- * The basic amount of funds that must be reserved for an item.
456
- **/
457
- itemDeposit: bigint;
458
-
459
- /**
460
- * The basic amount of funds that must be reserved when adding metadata to your item.
461
- **/
462
- metadataDepositBase: bigint;
463
-
464
- /**
465
- * The basic amount of funds that must be reserved when adding an attribute to an item.
466
- **/
467
- attributeDepositBase: bigint;
468
-
469
- /**
470
- * The additional funds that must be reserved for the number of bytes store in metadata,
471
- * either "normal" metadata or attribute metadata.
472
- **/
473
- depositPerByte: bigint;
474
-
475
- /**
476
- * The maximum length of data stored on-chain.
477
- **/
478
- stringLimit: number;
479
-
480
- /**
481
- * The maximum length of an attribute key.
482
- **/
483
- keyLimit: number;
484
-
485
- /**
486
- * The maximum length of an attribute value.
487
- **/
488
- valueLimit: number;
489
-
490
- /**
491
- * Generic pallet constant
492
- **/
493
- [name: string]: any;
494
- };
495
- /**
496
- * Pallet `Nfts`'s constants
497
- **/
498
- nfts: {
499
- /**
500
- * The basic amount of funds that must be reserved for collection.
501
- **/
502
- collectionDeposit: bigint;
503
-
504
- /**
505
- * The basic amount of funds that must be reserved for an item.
506
- **/
507
- itemDeposit: bigint;
508
-
509
- /**
510
- * The basic amount of funds that must be reserved when adding metadata to your item.
511
- **/
512
- metadataDepositBase: bigint;
513
-
514
- /**
515
- * The basic amount of funds that must be reserved when adding an attribute to an item.
516
- **/
517
- attributeDepositBase: bigint;
518
-
519
- /**
520
- * The additional funds that must be reserved for the number of bytes store in metadata,
521
- * either "normal" metadata or attribute metadata.
522
- **/
523
- depositPerByte: bigint;
524
-
525
- /**
526
- * The maximum length of data stored on-chain.
527
- **/
528
- stringLimit: number;
529
-
530
- /**
531
- * The maximum length of an attribute key.
532
- **/
533
- keyLimit: number;
534
-
535
- /**
536
- * The maximum length of an attribute value.
537
- **/
538
- valueLimit: number;
539
-
540
- /**
541
- * The maximum approvals an item could have.
542
- **/
543
- approvalsLimit: number;
544
-
545
- /**
546
- * The maximum attributes approvals an item could have.
547
- **/
548
- itemAttributesApprovalsLimit: number;
549
-
550
- /**
551
- * The max number of tips a user could send.
552
- **/
553
- maxTips: number;
554
-
555
- /**
556
- * The max duration in blocks for deadlines.
557
- **/
558
- maxDeadlineDuration: number;
559
-
560
- /**
561
- * The max number of attributes a user could set per call.
562
- **/
563
- maxAttributesPerCall: number;
564
-
565
- /**
566
- * Disables some of pallet's features.
567
- **/
568
- features: PalletNftsBitFlagsPalletFeature;
569
-
570
- /**
571
- * Generic pallet constant
572
- **/
573
- [name: string]: any;
574
- };
575
- /**
576
- * Pallet `ForeignAssets`'s constants
577
- **/
578
- foreignAssets: {
579
- /**
580
- * Max number of items to destroy per `destroy_accounts` and `destroy_approvals` call.
581
- *
582
- * Must be configured to result in a weight that makes each call fit in a block.
583
- **/
584
- removeItemsLimit: number;
585
-
586
- /**
587
- * The basic amount of funds that must be reserved for an asset.
588
- **/
589
- assetDeposit: bigint;
590
-
591
- /**
592
- * The amount of funds that must be reserved for a non-provider asset account to be
593
- * maintained.
594
- **/
595
- assetAccountDeposit: bigint;
596
-
597
- /**
598
- * The basic amount of funds that must be reserved when adding metadata to your asset.
599
- **/
600
- metadataDepositBase: bigint;
601
-
602
- /**
603
- * The additional funds that must be reserved for the number of bytes you store in your
604
- * metadata.
605
- **/
606
- metadataDepositPerByte: bigint;
607
-
608
- /**
609
- * The amount of funds that must be reserved when creating a new approval.
610
- **/
611
- approvalDeposit: bigint;
612
-
613
- /**
614
- * The maximum length of a name or symbol stored on-chain.
615
- **/
616
- stringLimit: number;
617
-
618
- /**
619
- * Generic pallet constant
620
- **/
621
- [name: string]: any;
622
- };
623
- /**
624
- * Pallet `NftFractionalization`'s constants
625
- **/
626
- nftFractionalization: {
627
- /**
628
- * The deposit paid by the user locking an NFT. The deposit is returned to the original NFT
629
- * owner when the asset is unified and the NFT is unlocked.
630
- **/
631
- deposit: bigint;
632
-
633
- /**
634
- * The pallet's id, used for deriving its sovereign account ID.
635
- **/
636
- palletId: FrameSupportPalletId;
637
-
638
- /**
639
- * The newly created asset's symbol.
640
- **/
641
- newAssetSymbol: Bytes;
642
-
643
- /**
644
- * The newly created asset's name.
645
- **/
646
- newAssetName: Bytes;
647
-
648
- /**
649
- * The maximum length of a name or symbol stored on-chain.
650
- **/
651
- stringLimit: number;
652
-
653
- /**
654
- * Generic pallet constant
655
- **/
656
- [name: string]: any;
657
- };
658
- /**
659
- * Pallet `PoolAssets`'s constants
660
- **/
661
- poolAssets: {
662
- /**
663
- * Max number of items to destroy per `destroy_accounts` and `destroy_approvals` call.
664
- *
665
- * Must be configured to result in a weight that makes each call fit in a block.
666
- **/
667
- removeItemsLimit: number;
668
-
669
- /**
670
- * The basic amount of funds that must be reserved for an asset.
671
- **/
672
- assetDeposit: bigint;
673
-
674
- /**
675
- * The amount of funds that must be reserved for a non-provider asset account to be
676
- * maintained.
677
- **/
678
- assetAccountDeposit: bigint;
679
-
680
- /**
681
- * The basic amount of funds that must be reserved when adding metadata to your asset.
682
- **/
683
- metadataDepositBase: bigint;
684
-
685
- /**
686
- * The additional funds that must be reserved for the number of bytes you store in your
687
- * metadata.
688
- **/
689
- metadataDepositPerByte: bigint;
690
-
691
- /**
692
- * The amount of funds that must be reserved when creating a new approval.
693
- **/
694
- approvalDeposit: bigint;
695
-
696
- /**
697
- * The maximum length of a name or symbol stored on-chain.
698
- **/
699
- stringLimit: number;
700
-
701
- /**
702
- * Generic pallet constant
703
- **/
704
- [name: string]: any;
705
- };
706
- /**
707
- * Pallet `AssetConversion`'s constants
708
- **/
709
- assetConversion: {
710
- /**
711
- * A % the liquidity providers will take of every swap. Represents 10ths of a percent.
712
- **/
713
- lpFee: number;
714
-
715
- /**
716
- * A one-time fee to setup the pool.
717
- **/
718
- poolSetupFee: bigint;
719
-
720
- /**
721
- * Asset class from [`Config::Assets`] used to pay the [`Config::PoolSetupFee`].
722
- **/
723
- poolSetupFeeAsset: StagingXcmV3MultilocationMultiLocation;
724
-
725
- /**
726
- * A fee to withdraw the liquidity.
727
- **/
728
- liquidityWithdrawalFee: Permill;
729
-
730
- /**
731
- * The minimum LP token amount that could be minted. Ameliorates rounding errors.
732
- **/
733
- mintMinLiquidity: bigint;
734
-
735
- /**
736
- * The max number of hops in a swap.
737
- **/
738
- maxSwapPathLength: number;
739
-
740
- /**
741
- * The pallet's id, used for deriving its sovereign account ID.
742
- **/
743
- palletId: FrameSupportPalletId;
744
-
745
- /**
746
- * Generic pallet constant
747
- **/
748
- [name: string]: any;
749
- };
6
+ * Pallet `System`'s constants
7
+ **/
8
+ system: {
9
+ /**
10
+ * Block & extrinsics weights: base values and limits.
11
+ **/
12
+ blockWeights: FrameSystemLimitsBlockWeights;
13
+ /**
14
+ * The maximum length of a block (in bytes).
15
+ **/
16
+ blockLength: FrameSystemLimitsBlockLength;
17
+ /**
18
+ * Maximum number of block number to block hash mappings to keep (oldest pruned first).
19
+ **/
20
+ blockHashCount: number;
21
+ /**
22
+ * The weight of runtime database operations the runtime can invoke.
23
+ **/
24
+ dbWeight: SpWeightsRuntimeDbWeight;
25
+ /**
26
+ * Get the chain's current version.
27
+ **/
28
+ version: RuntimeVersion;
29
+ /**
30
+ * The designated SS58 prefix of this chain.
31
+ *
32
+ * This replaces the "ss58Format" property declared in the chain spec. Reason is
33
+ * that the runtime should know about the prefix in order to make use of it as
34
+ * an identifier of the chain.
35
+ **/
36
+ ss58Prefix: number;
37
+ /**
38
+ * Generic pallet constant
39
+ **/
40
+ [name: string]: any;
41
+ };
42
+ /**
43
+ * Pallet `ParachainSystem`'s constants
44
+ **/
45
+ parachainSystem: {
46
+ /**
47
+ * Generic pallet constant
48
+ **/
49
+ [name: string]: any;
50
+ };
51
+ /**
52
+ * Pallet `Timestamp`'s constants
53
+ **/
54
+ timestamp: {
55
+ /**
56
+ * The minimum period between blocks.
57
+ *
58
+ * Be aware that this is different to the *expected* period that the block production
59
+ * apparatus provides. Your chosen consensus system will generally work with this to
60
+ * determine a sensible block time. For example, in the Aura pallet it will be double this
61
+ * period on default settings.
62
+ **/
63
+ minimumPeriod: bigint;
64
+ /**
65
+ * Generic pallet constant
66
+ **/
67
+ [name: string]: any;
68
+ };
69
+ /**
70
+ * Pallet `ParachainInfo`'s constants
71
+ **/
72
+ parachainInfo: {
73
+ /**
74
+ * Generic pallet constant
75
+ **/
76
+ [name: string]: any;
77
+ };
78
+ /**
79
+ * Pallet `Balances`'s constants
80
+ **/
81
+ balances: {
82
+ /**
83
+ * The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!
84
+ *
85
+ * If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for
86
+ * this pallet. However, you do so at your own risk: this will open up a major DoS vector.
87
+ * In case you have multiple sources of provider references, you may also get unexpected
88
+ * behaviour if you set this to zero.
89
+ *
90
+ * Bottom line: Do yourself a favour and make it at least one!
91
+ **/
92
+ existentialDeposit: bigint;
93
+ /**
94
+ * The maximum number of locks that should exist on an account.
95
+ * Not strictly enforced, but used for weight estimation.
96
+ **/
97
+ maxLocks: number;
98
+ /**
99
+ * The maximum number of named reserves that can exist on an account.
100
+ **/
101
+ maxReserves: number;
102
+ /**
103
+ * The maximum number of individual freeze locks that can exist on an account at any time.
104
+ **/
105
+ maxFreezes: number;
106
+ /**
107
+ * Generic pallet constant
108
+ **/
109
+ [name: string]: any;
110
+ };
111
+ /**
112
+ * Pallet `TransactionPayment`'s constants
113
+ **/
114
+ transactionPayment: {
115
+ /**
116
+ * A fee multiplier for `Operational` extrinsics to compute "virtual tip" to boost their
117
+ * `priority`
118
+ *
119
+ * This value is multiplied by the `final_fee` to obtain a "virtual tip" that is later
120
+ * added to a tip component in regular `priority` calculations.
121
+ * It means that a `Normal` transaction can front-run a similarly-sized `Operational`
122
+ * extrinsic (with no tip), by including a tip value greater than the virtual tip.
123
+ *
124
+ * ```rust,ignore
125
+ * // For `Normal`
126
+ * let priority = priority_calc(tip);
127
+ *
128
+ * // For `Operational`
129
+ * let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier;
130
+ * let priority = priority_calc(tip + virtual_tip);
131
+ * ```
132
+ *
133
+ * Note that since we use `final_fee` the multiplier applies also to the regular `tip`
134
+ * sent with the transaction. So, not only does the transaction get a priority bump based
135
+ * on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational`
136
+ * transactions.
137
+ **/
138
+ operationalFeeMultiplier: number;
139
+ /**
140
+ * Generic pallet constant
141
+ **/
142
+ [name: string]: any;
143
+ };
144
+ /**
145
+ * Pallet `AssetTxPayment`'s constants
146
+ **/
147
+ assetTxPayment: {
148
+ /**
149
+ * Generic pallet constant
150
+ **/
151
+ [name: string]: any;
152
+ };
153
+ /**
154
+ * Pallet `Authorship`'s constants
155
+ **/
156
+ authorship: {
157
+ /**
158
+ * Generic pallet constant
159
+ **/
160
+ [name: string]: any;
161
+ };
162
+ /**
163
+ * Pallet `CollatorSelection`'s constants
164
+ **/
165
+ collatorSelection: {
166
+ /**
167
+ * Generic pallet constant
168
+ **/
169
+ [name: string]: any;
170
+ };
171
+ /**
172
+ * Pallet `Session`'s constants
173
+ **/
174
+ session: {
175
+ /**
176
+ * Generic pallet constant
177
+ **/
178
+ [name: string]: any;
179
+ };
180
+ /**
181
+ * Pallet `Aura`'s constants
182
+ **/
183
+ aura: {
184
+ /**
185
+ * Generic pallet constant
186
+ **/
187
+ [name: string]: any;
188
+ };
189
+ /**
190
+ * Pallet `AuraExt`'s constants
191
+ **/
192
+ auraExt: {
193
+ /**
194
+ * Generic pallet constant
195
+ **/
196
+ [name: string]: any;
197
+ };
198
+ /**
199
+ * Pallet `XcmpQueue`'s constants
200
+ **/
201
+ xcmpQueue: {
202
+ /**
203
+ * The maximum number of inbound XCMP channels that can be suspended simultaneously.
204
+ *
205
+ * Any further channel suspensions will fail and messages may get dropped without further
206
+ * notice. Choosing a high value (1000) is okay; the trade-off that is described in
207
+ * [`InboundXcmpSuspended`] still applies at that scale.
208
+ **/
209
+ maxInboundSuspended: number;
210
+ /**
211
+ * Generic pallet constant
212
+ **/
213
+ [name: string]: any;
214
+ };
215
+ /**
216
+ * Pallet `PolkadotXcm`'s constants
217
+ **/
218
+ polkadotXcm: {
219
+ /**
220
+ * Generic pallet constant
221
+ **/
222
+ [name: string]: any;
223
+ };
224
+ /**
225
+ * Pallet `CumulusXcm`'s constants
226
+ **/
227
+ cumulusXcm: {
228
+ /**
229
+ * Generic pallet constant
230
+ **/
231
+ [name: string]: any;
232
+ };
233
+ /**
234
+ * Pallet `ToRococoXcmRouter`'s constants
235
+ **/
236
+ toRococoXcmRouter: {
237
+ /**
238
+ * Generic pallet constant
239
+ **/
240
+ [name: string]: any;
241
+ };
242
+ /**
243
+ * Pallet `MessageQueue`'s constants
244
+ **/
245
+ messageQueue: {
246
+ /**
247
+ * The size of the page; this implies the maximum message size which can be sent.
248
+ *
249
+ * A good value depends on the expected message sizes, their weights, the weight that is
250
+ * available for processing them and the maximal needed message size. The maximal message
251
+ * size is slightly lower than this as defined by [`MaxMessageLenOf`].
252
+ **/
253
+ heapSize: number;
254
+ /**
255
+ * The maximum number of stale pages (i.e. of overweight messages) allowed before culling
256
+ * can happen. Once there are more stale pages than this, then historical pages may be
257
+ * dropped, even if they contain unprocessed overweight messages.
258
+ **/
259
+ maxStale: number;
260
+ /**
261
+ * The amount of weight (if any) which should be provided to the message queue for
262
+ * servicing enqueued items.
263
+ *
264
+ * This may be legitimately `None` in the case that you will call
265
+ * `ServiceQueues::service_queues` manually.
266
+ **/
267
+ serviceWeight: SpWeightsWeightV2Weight | undefined;
268
+ /**
269
+ * Generic pallet constant
270
+ **/
271
+ [name: string]: any;
272
+ };
273
+ /**
274
+ * Pallet `Utility`'s constants
275
+ **/
276
+ utility: {
277
+ /**
278
+ * The limit on the number of batched calls.
279
+ **/
280
+ batchedCallsLimit: number;
281
+ /**
282
+ * Generic pallet constant
283
+ **/
284
+ [name: string]: any;
285
+ };
286
+ /**
287
+ * Pallet `Multisig`'s constants
288
+ **/
289
+ multisig: {
290
+ /**
291
+ * The base amount of currency needed to reserve for creating a multisig execution or to
292
+ * store a dispatch call for later.
293
+ *
294
+ * This is held for an additional storage item whose value size is
295
+ * `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is
296
+ * `32 + sizeof(AccountId)` bytes.
297
+ **/
298
+ depositBase: bigint;
299
+ /**
300
+ * The amount of currency needed per unit threshold when creating a multisig execution.
301
+ *
302
+ * This is held for adding 32 bytes more into a pre-existing storage value.
303
+ **/
304
+ depositFactor: bigint;
305
+ /**
306
+ * The maximum amount of signatories allowed in the multisig.
307
+ **/
308
+ maxSignatories: number;
309
+ /**
310
+ * Generic pallet constant
311
+ **/
312
+ [name: string]: any;
313
+ };
314
+ /**
315
+ * Pallet `Proxy`'s constants
316
+ **/
317
+ proxy: {
318
+ /**
319
+ * The base amount of currency needed to reserve for creating a proxy.
320
+ *
321
+ * This is held for an additional storage item whose value size is
322
+ * `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes.
323
+ **/
324
+ proxyDepositBase: bigint;
325
+ /**
326
+ * The amount of currency needed per proxy added.
327
+ *
328
+ * This is held for adding 32 bytes plus an instance of `ProxyType` more into a
329
+ * pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take
330
+ * into account `32 + proxy_type.encode().len()` bytes of data.
331
+ **/
332
+ proxyDepositFactor: bigint;
333
+ /**
334
+ * The maximum amount of proxies allowed for a single account.
335
+ **/
336
+ maxProxies: number;
337
+ /**
338
+ * The maximum amount of time-delayed announcements that are allowed to be pending.
339
+ **/
340
+ maxPending: number;
341
+ /**
342
+ * The base amount of currency needed to reserve for creating an announcement.
343
+ *
344
+ * This is held when a new storage item holding a `Balance` is created (typically 16
345
+ * bytes).
346
+ **/
347
+ announcementDepositBase: bigint;
348
+ /**
349
+ * The amount of currency needed per announcement made.
350
+ *
351
+ * This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes)
352
+ * into a pre-existing storage value.
353
+ **/
354
+ announcementDepositFactor: bigint;
355
+ /**
356
+ * Generic pallet constant
357
+ **/
358
+ [name: string]: any;
359
+ };
360
+ /**
361
+ * Pallet `Assets`'s constants
362
+ **/
363
+ assets: {
364
+ /**
365
+ * Max number of items to destroy per `destroy_accounts` and `destroy_approvals` call.
366
+ *
367
+ * Must be configured to result in a weight that makes each call fit in a block.
368
+ **/
369
+ removeItemsLimit: number;
370
+ /**
371
+ * The basic amount of funds that must be reserved for an asset.
372
+ **/
373
+ assetDeposit: bigint;
374
+ /**
375
+ * The amount of funds that must be reserved for a non-provider asset account to be
376
+ * maintained.
377
+ **/
378
+ assetAccountDeposit: bigint;
379
+ /**
380
+ * The basic amount of funds that must be reserved when adding metadata to your asset.
381
+ **/
382
+ metadataDepositBase: bigint;
383
+ /**
384
+ * The additional funds that must be reserved for the number of bytes you store in your
385
+ * metadata.
386
+ **/
387
+ metadataDepositPerByte: bigint;
388
+ /**
389
+ * The amount of funds that must be reserved when creating a new approval.
390
+ **/
391
+ approvalDeposit: bigint;
392
+ /**
393
+ * The maximum length of a name or symbol stored on-chain.
394
+ **/
395
+ stringLimit: number;
396
+ /**
397
+ * Generic pallet constant
398
+ **/
399
+ [name: string]: any;
400
+ };
401
+ /**
402
+ * Pallet `Uniques`'s constants
403
+ **/
404
+ uniques: {
405
+ /**
406
+ * The basic amount of funds that must be reserved for collection.
407
+ **/
408
+ collectionDeposit: bigint;
409
+ /**
410
+ * The basic amount of funds that must be reserved for an item.
411
+ **/
412
+ itemDeposit: bigint;
413
+ /**
414
+ * The basic amount of funds that must be reserved when adding metadata to your item.
415
+ **/
416
+ metadataDepositBase: bigint;
417
+ /**
418
+ * The basic amount of funds that must be reserved when adding an attribute to an item.
419
+ **/
420
+ attributeDepositBase: bigint;
421
+ /**
422
+ * The additional funds that must be reserved for the number of bytes store in metadata,
423
+ * either "normal" metadata or attribute metadata.
424
+ **/
425
+ depositPerByte: bigint;
426
+ /**
427
+ * The maximum length of data stored on-chain.
428
+ **/
429
+ stringLimit: number;
430
+ /**
431
+ * The maximum length of an attribute key.
432
+ **/
433
+ keyLimit: number;
434
+ /**
435
+ * The maximum length of an attribute value.
436
+ **/
437
+ valueLimit: number;
438
+ /**
439
+ * Generic pallet constant
440
+ **/
441
+ [name: string]: any;
442
+ };
443
+ /**
444
+ * Pallet `Nfts`'s constants
445
+ **/
446
+ nfts: {
447
+ /**
448
+ * The basic amount of funds that must be reserved for collection.
449
+ **/
450
+ collectionDeposit: bigint;
451
+ /**
452
+ * The basic amount of funds that must be reserved for an item.
453
+ **/
454
+ itemDeposit: bigint;
455
+ /**
456
+ * The basic amount of funds that must be reserved when adding metadata to your item.
457
+ **/
458
+ metadataDepositBase: bigint;
459
+ /**
460
+ * The basic amount of funds that must be reserved when adding an attribute to an item.
461
+ **/
462
+ attributeDepositBase: bigint;
463
+ /**
464
+ * The additional funds that must be reserved for the number of bytes store in metadata,
465
+ * either "normal" metadata or attribute metadata.
466
+ **/
467
+ depositPerByte: bigint;
468
+ /**
469
+ * The maximum length of data stored on-chain.
470
+ **/
471
+ stringLimit: number;
472
+ /**
473
+ * The maximum length of an attribute key.
474
+ **/
475
+ keyLimit: number;
476
+ /**
477
+ * The maximum length of an attribute value.
478
+ **/
479
+ valueLimit: number;
480
+ /**
481
+ * The maximum approvals an item could have.
482
+ **/
483
+ approvalsLimit: number;
484
+ /**
485
+ * The maximum attributes approvals an item could have.
486
+ **/
487
+ itemAttributesApprovalsLimit: number;
488
+ /**
489
+ * The max number of tips a user could send.
490
+ **/
491
+ maxTips: number;
492
+ /**
493
+ * The max duration in blocks for deadlines.
494
+ **/
495
+ maxDeadlineDuration: number;
496
+ /**
497
+ * The max number of attributes a user could set per call.
498
+ **/
499
+ maxAttributesPerCall: number;
500
+ /**
501
+ * Disables some of pallet's features.
502
+ **/
503
+ features: PalletNftsBitFlagsPalletFeature;
504
+ /**
505
+ * Generic pallet constant
506
+ **/
507
+ [name: string]: any;
508
+ };
509
+ /**
510
+ * Pallet `ForeignAssets`'s constants
511
+ **/
512
+ foreignAssets: {
513
+ /**
514
+ * Max number of items to destroy per `destroy_accounts` and `destroy_approvals` call.
515
+ *
516
+ * Must be configured to result in a weight that makes each call fit in a block.
517
+ **/
518
+ removeItemsLimit: number;
519
+ /**
520
+ * The basic amount of funds that must be reserved for an asset.
521
+ **/
522
+ assetDeposit: bigint;
523
+ /**
524
+ * The amount of funds that must be reserved for a non-provider asset account to be
525
+ * maintained.
526
+ **/
527
+ assetAccountDeposit: bigint;
528
+ /**
529
+ * The basic amount of funds that must be reserved when adding metadata to your asset.
530
+ **/
531
+ metadataDepositBase: bigint;
532
+ /**
533
+ * The additional funds that must be reserved for the number of bytes you store in your
534
+ * metadata.
535
+ **/
536
+ metadataDepositPerByte: bigint;
537
+ /**
538
+ * The amount of funds that must be reserved when creating a new approval.
539
+ **/
540
+ approvalDeposit: bigint;
541
+ /**
542
+ * The maximum length of a name or symbol stored on-chain.
543
+ **/
544
+ stringLimit: number;
545
+ /**
546
+ * Generic pallet constant
547
+ **/
548
+ [name: string]: any;
549
+ };
550
+ /**
551
+ * Pallet `NftFractionalization`'s constants
552
+ **/
553
+ nftFractionalization: {
554
+ /**
555
+ * The deposit paid by the user locking an NFT. The deposit is returned to the original NFT
556
+ * owner when the asset is unified and the NFT is unlocked.
557
+ **/
558
+ deposit: bigint;
559
+ /**
560
+ * The pallet's id, used for deriving its sovereign account ID.
561
+ **/
562
+ palletId: FrameSupportPalletId;
563
+ /**
564
+ * The newly created asset's symbol.
565
+ **/
566
+ newAssetSymbol: Bytes;
567
+ /**
568
+ * The newly created asset's name.
569
+ **/
570
+ newAssetName: Bytes;
571
+ /**
572
+ * The maximum length of a name or symbol stored on-chain.
573
+ **/
574
+ stringLimit: number;
575
+ /**
576
+ * Generic pallet constant
577
+ **/
578
+ [name: string]: any;
579
+ };
580
+ /**
581
+ * Pallet `PoolAssets`'s constants
582
+ **/
583
+ poolAssets: {
584
+ /**
585
+ * Max number of items to destroy per `destroy_accounts` and `destroy_approvals` call.
586
+ *
587
+ * Must be configured to result in a weight that makes each call fit in a block.
588
+ **/
589
+ removeItemsLimit: number;
590
+ /**
591
+ * The basic amount of funds that must be reserved for an asset.
592
+ **/
593
+ assetDeposit: bigint;
594
+ /**
595
+ * The amount of funds that must be reserved for a non-provider asset account to be
596
+ * maintained.
597
+ **/
598
+ assetAccountDeposit: bigint;
599
+ /**
600
+ * The basic amount of funds that must be reserved when adding metadata to your asset.
601
+ **/
602
+ metadataDepositBase: bigint;
603
+ /**
604
+ * The additional funds that must be reserved for the number of bytes you store in your
605
+ * metadata.
606
+ **/
607
+ metadataDepositPerByte: bigint;
608
+ /**
609
+ * The amount of funds that must be reserved when creating a new approval.
610
+ **/
611
+ approvalDeposit: bigint;
612
+ /**
613
+ * The maximum length of a name or symbol stored on-chain.
614
+ **/
615
+ stringLimit: number;
616
+ /**
617
+ * Generic pallet constant
618
+ **/
619
+ [name: string]: any;
620
+ };
621
+ /**
622
+ * Pallet `AssetConversion`'s constants
623
+ **/
624
+ assetConversion: {
625
+ /**
626
+ * A % the liquidity providers will take of every swap. Represents 10ths of a percent.
627
+ **/
628
+ lpFee: number;
629
+ /**
630
+ * A one-time fee to setup the pool.
631
+ **/
632
+ poolSetupFee: bigint;
633
+ /**
634
+ * Asset class from [`Config::Assets`] used to pay the [`Config::PoolSetupFee`].
635
+ **/
636
+ poolSetupFeeAsset: StagingXcmV3MultilocationMultiLocation;
637
+ /**
638
+ * A fee to withdraw the liquidity.
639
+ **/
640
+ liquidityWithdrawalFee: Permill;
641
+ /**
642
+ * The minimum LP token amount that could be minted. Ameliorates rounding errors.
643
+ **/
644
+ mintMinLiquidity: bigint;
645
+ /**
646
+ * The max number of hops in a swap.
647
+ **/
648
+ maxSwapPathLength: number;
649
+ /**
650
+ * The pallet's id, used for deriving its sovereign account ID.
651
+ **/
652
+ palletId: FrameSupportPalletId;
653
+ /**
654
+ * Generic pallet constant
655
+ **/
656
+ [name: string]: any;
657
+ };
750
658
  }