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

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