@dedot/chaintypes 0.0.1-alpha.4 → 0.0.1-alpha.40

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