@dedot/chaintypes 0.0.1-alpha.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (280) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +3 -0
  3. package/aleph/consts.d.ts +533 -0
  4. package/aleph/consts.js +2 -0
  5. package/aleph/errors.d.ts +822 -0
  6. package/aleph/errors.js +2 -0
  7. package/aleph/events.d.ts +997 -0
  8. package/aleph/events.js +2 -0
  9. package/aleph/index.d.ts +19 -0
  10. package/aleph/index.js +3 -0
  11. package/aleph/query.d.ts +1271 -0
  12. package/aleph/query.js +2 -0
  13. package/aleph/rpc.d.ts +575 -0
  14. package/aleph/rpc.js +2 -0
  15. package/aleph/runtime.d.ts +410 -0
  16. package/aleph/runtime.js +2 -0
  17. package/aleph/tx.d.ts +2206 -0
  18. package/aleph/tx.js +2 -0
  19. package/aleph/types.d.ts +5560 -0
  20. package/aleph/types.js +2 -0
  21. package/astar/consts.d.ts +679 -0
  22. package/astar/consts.js +2 -0
  23. package/astar/errors.d.ts +1317 -0
  24. package/astar/errors.js +2 -0
  25. package/astar/events.d.ts +1707 -0
  26. package/astar/events.js +2 -0
  27. package/astar/index.d.ts +19 -0
  28. package/astar/index.js +3 -0
  29. package/astar/query.d.ts +1474 -0
  30. package/astar/query.js +2 -0
  31. package/astar/rpc.d.ts +775 -0
  32. package/astar/rpc.js +2 -0
  33. package/astar/runtime.d.ts +262 -0
  34. package/astar/runtime.js +2 -0
  35. package/astar/tx.d.ts +4810 -0
  36. package/astar/tx.js +2 -0
  37. package/astar/types.d.ts +12338 -0
  38. package/astar/types.js +2 -0
  39. package/cjs/aleph/consts.js +3 -0
  40. package/cjs/aleph/errors.js +3 -0
  41. package/cjs/aleph/events.js +3 -0
  42. package/cjs/aleph/index.js +19 -0
  43. package/cjs/aleph/query.js +3 -0
  44. package/cjs/aleph/rpc.js +3 -0
  45. package/cjs/aleph/runtime.js +3 -0
  46. package/cjs/aleph/tx.js +3 -0
  47. package/cjs/aleph/types.js +3 -0
  48. package/cjs/astar/consts.js +3 -0
  49. package/cjs/astar/errors.js +3 -0
  50. package/cjs/astar/events.js +3 -0
  51. package/cjs/astar/index.js +19 -0
  52. package/cjs/astar/query.js +3 -0
  53. package/cjs/astar/rpc.js +3 -0
  54. package/cjs/astar/runtime.js +3 -0
  55. package/cjs/astar/tx.js +3 -0
  56. package/cjs/astar/types.js +3 -0
  57. package/cjs/index.js +2 -0
  58. package/cjs/kusama/consts.js +3 -0
  59. package/cjs/kusama/errors.js +3 -0
  60. package/cjs/kusama/events.js +3 -0
  61. package/cjs/kusama/index.js +19 -0
  62. package/cjs/kusama/query.js +3 -0
  63. package/cjs/kusama/rpc.js +3 -0
  64. package/cjs/kusama/runtime.js +3 -0
  65. package/cjs/kusama/tx.js +3 -0
  66. package/cjs/kusama/types.js +3 -0
  67. package/cjs/kusamaAssetHub/consts.js +3 -0
  68. package/cjs/kusamaAssetHub/errors.js +3 -0
  69. package/cjs/kusamaAssetHub/events.js +3 -0
  70. package/cjs/kusamaAssetHub/index.js +19 -0
  71. package/cjs/kusamaAssetHub/query.js +3 -0
  72. package/cjs/kusamaAssetHub/rpc.js +3 -0
  73. package/cjs/kusamaAssetHub/runtime.js +3 -0
  74. package/cjs/kusamaAssetHub/tx.js +3 -0
  75. package/cjs/kusamaAssetHub/types.js +3 -0
  76. package/cjs/moonbeam/consts.js +3 -0
  77. package/cjs/moonbeam/errors.js +3 -0
  78. package/cjs/moonbeam/events.js +3 -0
  79. package/cjs/moonbeam/index.js +19 -0
  80. package/cjs/moonbeam/query.js +3 -0
  81. package/cjs/moonbeam/rpc.js +3 -0
  82. package/cjs/moonbeam/runtime.js +3 -0
  83. package/cjs/moonbeam/tx.js +3 -0
  84. package/cjs/moonbeam/types.js +3 -0
  85. package/cjs/package.json +1 -0
  86. package/cjs/packageInfo.js +5 -0
  87. package/cjs/polkadot/consts.js +3 -0
  88. package/cjs/polkadot/errors.js +3 -0
  89. package/cjs/polkadot/events.js +3 -0
  90. package/cjs/polkadot/index.js +19 -0
  91. package/cjs/polkadot/query.js +3 -0
  92. package/cjs/polkadot/rpc.js +3 -0
  93. package/cjs/polkadot/runtime.js +3 -0
  94. package/cjs/polkadot/tx.js +3 -0
  95. package/cjs/polkadot/types.js +3 -0
  96. package/cjs/polkadotAssetHub/consts.js +3 -0
  97. package/cjs/polkadotAssetHub/errors.js +3 -0
  98. package/cjs/polkadotAssetHub/events.js +3 -0
  99. package/cjs/polkadotAssetHub/index.js +19 -0
  100. package/cjs/polkadotAssetHub/query.js +3 -0
  101. package/cjs/polkadotAssetHub/rpc.js +3 -0
  102. package/cjs/polkadotAssetHub/runtime.js +3 -0
  103. package/cjs/polkadotAssetHub/tx.js +3 -0
  104. package/cjs/polkadotAssetHub/types.js +3 -0
  105. package/cjs/rococoAssetHub/consts.js +3 -0
  106. package/cjs/rococoAssetHub/errors.js +3 -0
  107. package/cjs/rococoAssetHub/events.js +3 -0
  108. package/cjs/rococoAssetHub/index.js +19 -0
  109. package/cjs/rococoAssetHub/query.js +3 -0
  110. package/cjs/rococoAssetHub/rpc.js +3 -0
  111. package/cjs/rococoAssetHub/runtime.js +3 -0
  112. package/cjs/rococoAssetHub/tx.js +3 -0
  113. package/cjs/rococoAssetHub/types.js +3 -0
  114. package/cjs/substrate/consts.js +3 -0
  115. package/cjs/substrate/errors.js +3 -0
  116. package/cjs/substrate/events.js +3 -0
  117. package/cjs/substrate/index.js +19 -0
  118. package/cjs/substrate/query.js +3 -0
  119. package/cjs/substrate/rpc.js +3 -0
  120. package/cjs/substrate/runtime.js +3 -0
  121. package/cjs/substrate/tx.js +3 -0
  122. package/cjs/substrate/types.js +3 -0
  123. package/cjs/westendAssetHub/consts.js +3 -0
  124. package/cjs/westendAssetHub/errors.js +3 -0
  125. package/cjs/westendAssetHub/events.js +3 -0
  126. package/cjs/westendAssetHub/index.js +19 -0
  127. package/cjs/westendAssetHub/query.js +3 -0
  128. package/cjs/westendAssetHub/rpc.js +3 -0
  129. package/cjs/westendAssetHub/runtime.js +3 -0
  130. package/cjs/westendAssetHub/tx.js +3 -0
  131. package/cjs/westendAssetHub/types.js +3 -0
  132. package/index.d.ts +5 -0
  133. package/index.js +1 -0
  134. package/kusama/consts.d.ts +1427 -0
  135. package/kusama/consts.js +2 -0
  136. package/kusama/errors.d.ts +2494 -0
  137. package/kusama/errors.js +2 -0
  138. package/kusama/events.d.ts +2960 -0
  139. package/kusama/events.js +2 -0
  140. package/kusama/index.d.ts +19 -0
  141. package/kusama/index.js +3 -0
  142. package/kusama/query.d.ts +3251 -0
  143. package/kusama/query.js +2 -0
  144. package/kusama/rpc.d.ts +726 -0
  145. package/kusama/rpc.js +2 -0
  146. package/kusama/runtime.d.ts +844 -0
  147. package/kusama/runtime.js +2 -0
  148. package/kusama/tx.d.ts +6014 -0
  149. package/kusama/tx.js +2 -0
  150. package/kusama/types.d.ts +15903 -0
  151. package/kusama/types.js +2 -0
  152. package/kusamaAssetHub/consts.d.ts +632 -0
  153. package/kusamaAssetHub/consts.js +2 -0
  154. package/kusamaAssetHub/errors.d.ts +1164 -0
  155. package/kusamaAssetHub/errors.js +2 -0
  156. package/kusamaAssetHub/events.d.ts +2162 -0
  157. package/kusamaAssetHub/events.js +2 -0
  158. package/kusamaAssetHub/index.d.ts +19 -0
  159. package/kusamaAssetHub/index.js +3 -0
  160. package/kusamaAssetHub/query.d.ts +1301 -0
  161. package/kusamaAssetHub/query.js +2 -0
  162. package/kusamaAssetHub/rpc.d.ts +590 -0
  163. package/kusamaAssetHub/rpc.js +2 -0
  164. package/kusamaAssetHub/runtime.d.ts +402 -0
  165. package/kusamaAssetHub/runtime.js +2 -0
  166. package/kusamaAssetHub/tx.d.ts +4217 -0
  167. package/kusamaAssetHub/tx.js +2 -0
  168. package/kusamaAssetHub/types.d.ts +10418 -0
  169. package/kusamaAssetHub/types.js +2 -0
  170. package/moonbeam/consts.d.ts +961 -0
  171. package/moonbeam/consts.js +2 -0
  172. package/moonbeam/errors.d.ts +1797 -0
  173. package/moonbeam/errors.js +2 -0
  174. package/moonbeam/events.d.ts +2840 -0
  175. package/moonbeam/events.js +2 -0
  176. package/moonbeam/index.d.ts +19 -0
  177. package/moonbeam/index.js +3 -0
  178. package/moonbeam/query.d.ts +2027 -0
  179. package/moonbeam/query.js +2 -0
  180. package/moonbeam/rpc.d.ts +809 -0
  181. package/moonbeam/rpc.js +2 -0
  182. package/moonbeam/runtime.d.ts +506 -0
  183. package/moonbeam/runtime.js +2 -0
  184. package/moonbeam/tx.d.ts +5205 -0
  185. package/moonbeam/tx.js +2 -0
  186. package/moonbeam/types.d.ts +12349 -0
  187. package/moonbeam/types.js +2 -0
  188. package/package.json +33 -0
  189. package/packageInfo.d.ts +4 -0
  190. package/packageInfo.js +3 -0
  191. package/polkadot/consts.d.ts +1160 -0
  192. package/polkadot/consts.js +2 -0
  193. package/polkadot/errors.d.ts +2020 -0
  194. package/polkadot/errors.js +2 -0
  195. package/polkadot/events.d.ts +2235 -0
  196. package/polkadot/events.js +2 -0
  197. package/polkadot/index.d.ts +19 -0
  198. package/polkadot/index.js +3 -0
  199. package/polkadot/query.d.ts +2811 -0
  200. package/polkadot/query.js +2 -0
  201. package/polkadot/rpc.d.ts +726 -0
  202. package/polkadot/rpc.js +2 -0
  203. package/polkadot/runtime.d.ts +844 -0
  204. package/polkadot/runtime.js +2 -0
  205. package/polkadot/tx.d.ts +5009 -0
  206. package/polkadot/tx.js +2 -0
  207. package/polkadot/types.d.ts +13729 -0
  208. package/polkadot/types.js +2 -0
  209. package/polkadotAssetHub/consts.d.ts +524 -0
  210. package/polkadotAssetHub/consts.js +2 -0
  211. package/polkadotAssetHub/errors.d.ts +925 -0
  212. package/polkadotAssetHub/errors.js +2 -0
  213. package/polkadotAssetHub/events.d.ts +1787 -0
  214. package/polkadotAssetHub/events.js +2 -0
  215. package/polkadotAssetHub/index.d.ts +19 -0
  216. package/polkadotAssetHub/index.js +3 -0
  217. package/polkadotAssetHub/query.d.ts +1222 -0
  218. package/polkadotAssetHub/query.js +2 -0
  219. package/polkadotAssetHub/rpc.d.ts +590 -0
  220. package/polkadotAssetHub/rpc.js +2 -0
  221. package/polkadotAssetHub/runtime.d.ts +359 -0
  222. package/polkadotAssetHub/runtime.js +2 -0
  223. package/polkadotAssetHub/tx.d.ts +3492 -0
  224. package/polkadotAssetHub/tx.js +2 -0
  225. package/polkadotAssetHub/types.d.ts +9164 -0
  226. package/polkadotAssetHub/types.js +2 -0
  227. package/rococoAssetHub/consts.d.ts +658 -0
  228. package/rococoAssetHub/consts.js +2 -0
  229. package/rococoAssetHub/errors.d.ts +1231 -0
  230. package/rococoAssetHub/errors.js +2 -0
  231. package/rococoAssetHub/events.d.ts +2172 -0
  232. package/rococoAssetHub/events.js +2 -0
  233. package/rococoAssetHub/index.d.ts +19 -0
  234. package/rococoAssetHub/index.js +3 -0
  235. package/rococoAssetHub/query.d.ts +1269 -0
  236. package/rococoAssetHub/query.js +2 -0
  237. package/rococoAssetHub/rpc.d.ts +590 -0
  238. package/rococoAssetHub/rpc.js +2 -0
  239. package/rococoAssetHub/runtime.d.ts +428 -0
  240. package/rococoAssetHub/runtime.js +2 -0
  241. package/rococoAssetHub/tx.d.ts +4307 -0
  242. package/rococoAssetHub/tx.js +2 -0
  243. package/rococoAssetHub/types.d.ts +11066 -0
  244. package/rococoAssetHub/types.js +2 -0
  245. package/substrate/consts.d.ts +1971 -0
  246. package/substrate/consts.js +2 -0
  247. package/substrate/errors.d.ts +3337 -0
  248. package/substrate/errors.js +2 -0
  249. package/substrate/events.d.ts +4777 -0
  250. package/substrate/events.js +2 -0
  251. package/substrate/index.d.ts +19 -0
  252. package/substrate/index.js +3 -0
  253. package/substrate/query.d.ts +3350 -0
  254. package/substrate/query.js +2 -0
  255. package/substrate/rpc.d.ts +718 -0
  256. package/substrate/rpc.js +2 -0
  257. package/substrate/runtime.d.ts +708 -0
  258. package/substrate/runtime.js +2 -0
  259. package/substrate/tx.d.ts +8800 -0
  260. package/substrate/tx.js +2 -0
  261. package/substrate/types.d.ts +20332 -0
  262. package/substrate/types.js +2 -0
  263. package/westendAssetHub/consts.d.ts +658 -0
  264. package/westendAssetHub/consts.js +2 -0
  265. package/westendAssetHub/errors.d.ts +1231 -0
  266. package/westendAssetHub/errors.js +2 -0
  267. package/westendAssetHub/events.d.ts +2172 -0
  268. package/westendAssetHub/events.js +2 -0
  269. package/westendAssetHub/index.d.ts +19 -0
  270. package/westendAssetHub/index.js +3 -0
  271. package/westendAssetHub/query.d.ts +1269 -0
  272. package/westendAssetHub/query.js +2 -0
  273. package/westendAssetHub/rpc.d.ts +590 -0
  274. package/westendAssetHub/rpc.js +2 -0
  275. package/westendAssetHub/runtime.d.ts +456 -0
  276. package/westendAssetHub/runtime.js +2 -0
  277. package/westendAssetHub/tx.d.ts +4307 -0
  278. package/westendAssetHub/tx.js +2 -0
  279. package/westendAssetHub/types.d.ts +11062 -0
  280. package/westendAssetHub/types.js +2 -0
@@ -0,0 +1,1160 @@
1
+ import type { GenericChainConsts } from '@dedot/types';
2
+ import type { RuntimeVersion, Permill, Bytes, Perbill } from '@dedot/codecs';
3
+ import type { FrameSystemLimitsBlockWeights, FrameSystemLimitsBlockLength, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, FrameSupportPalletId, PalletReferendaTrackInfo } from './types';
4
+ export interface ChainConsts extends GenericChainConsts {
5
+ /**
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 `Scheduler`'s constants
44
+ **/
45
+ scheduler: {
46
+ /**
47
+ * The maximum weight that may be scheduled per block for any dispatchables.
48
+ **/
49
+ maximumWeight: SpWeightsWeightV2Weight;
50
+ /**
51
+ * The maximum number of scheduled calls in the queue for a single block.
52
+ *
53
+ * NOTE:
54
+ * + Dependent pallets' benchmarks might require a higher limit for the setting. Set a
55
+ * higher limit under `runtime-benchmarks` feature.
56
+ **/
57
+ maxScheduledPerBlock: number;
58
+ /**
59
+ * Generic pallet constant
60
+ **/
61
+ [name: string]: any;
62
+ };
63
+ /**
64
+ * Pallet `Preimage`'s constants
65
+ **/
66
+ preimage: {
67
+ /**
68
+ * Generic pallet constant
69
+ **/
70
+ [name: string]: any;
71
+ };
72
+ /**
73
+ * Pallet `Babe`'s constants
74
+ **/
75
+ babe: {
76
+ /**
77
+ * The amount of time, in slots, that each epoch should last.
78
+ * NOTE: Currently it is not possible to change the epoch duration after
79
+ * the chain has started. Attempting to do so will brick block production.
80
+ **/
81
+ epochDuration: bigint;
82
+ /**
83
+ * The expected average block time at which BABE should be creating
84
+ * blocks. Since BABE is probabilistic it is not trivial to figure out
85
+ * what the expected average block time should be based on the slot
86
+ * duration and the security parameter `c` (where `1 - c` represents
87
+ * the probability of a slot being empty).
88
+ **/
89
+ expectedBlockTime: bigint;
90
+ /**
91
+ * Max number of authorities allowed
92
+ **/
93
+ maxAuthorities: number;
94
+ /**
95
+ * The maximum number of nominators for each validator.
96
+ **/
97
+ maxNominators: number;
98
+ /**
99
+ * Generic pallet constant
100
+ **/
101
+ [name: string]: any;
102
+ };
103
+ /**
104
+ * Pallet `Timestamp`'s constants
105
+ **/
106
+ timestamp: {
107
+ /**
108
+ * The minimum period between blocks.
109
+ *
110
+ * Be aware that this is different to the *expected* period that the block production
111
+ * apparatus provides. Your chosen consensus system will generally work with this to
112
+ * determine a sensible block time. For example, in the Aura pallet it will be double this
113
+ * period on default settings.
114
+ **/
115
+ minimumPeriod: bigint;
116
+ /**
117
+ * Generic pallet constant
118
+ **/
119
+ [name: string]: any;
120
+ };
121
+ /**
122
+ * Pallet `Indices`'s constants
123
+ **/
124
+ indices: {
125
+ /**
126
+ * The deposit needed for reserving an index.
127
+ **/
128
+ deposit: bigint;
129
+ /**
130
+ * Generic pallet constant
131
+ **/
132
+ [name: string]: any;
133
+ };
134
+ /**
135
+ * Pallet `Balances`'s constants
136
+ **/
137
+ balances: {
138
+ /**
139
+ * The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!
140
+ *
141
+ * If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for
142
+ * this pallet. However, you do so at your own risk: this will open up a major DoS vector.
143
+ * In case you have multiple sources of provider references, you may also get unexpected
144
+ * behaviour if you set this to zero.
145
+ *
146
+ * Bottom line: Do yourself a favour and make it at least one!
147
+ **/
148
+ existentialDeposit: bigint;
149
+ /**
150
+ * The maximum number of locks that should exist on an account.
151
+ * Not strictly enforced, but used for weight estimation.
152
+ **/
153
+ maxLocks: number;
154
+ /**
155
+ * The maximum number of named reserves that can exist on an account.
156
+ **/
157
+ maxReserves: number;
158
+ /**
159
+ * The maximum number of holds that can exist on an account at any time.
160
+ **/
161
+ maxHolds: number;
162
+ /**
163
+ * The maximum number of individual freeze locks that can exist on an account at any time.
164
+ **/
165
+ maxFreezes: number;
166
+ /**
167
+ * Generic pallet constant
168
+ **/
169
+ [name: string]: any;
170
+ };
171
+ /**
172
+ * Pallet `TransactionPayment`'s constants
173
+ **/
174
+ transactionPayment: {
175
+ /**
176
+ * A fee mulitplier for `Operational` extrinsics to compute "virtual tip" to boost their
177
+ * `priority`
178
+ *
179
+ * This value is multipled by the `final_fee` to obtain a "virtual tip" that is later
180
+ * added to a tip component in regular `priority` calculations.
181
+ * It means that a `Normal` transaction can front-run a similarly-sized `Operational`
182
+ * extrinsic (with no tip), by including a tip value greater than the virtual tip.
183
+ *
184
+ * ```rust,ignore
185
+ * // For `Normal`
186
+ * let priority = priority_calc(tip);
187
+ *
188
+ * // For `Operational`
189
+ * let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier;
190
+ * let priority = priority_calc(tip + virtual_tip);
191
+ * ```
192
+ *
193
+ * Note that since we use `final_fee` the multiplier applies also to the regular `tip`
194
+ * sent with the transaction. So, not only does the transaction get a priority bump based
195
+ * on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational`
196
+ * transactions.
197
+ **/
198
+ operationalFeeMultiplier: number;
199
+ /**
200
+ * Generic pallet constant
201
+ **/
202
+ [name: string]: any;
203
+ };
204
+ /**
205
+ * Pallet `Authorship`'s constants
206
+ **/
207
+ authorship: {
208
+ /**
209
+ * Generic pallet constant
210
+ **/
211
+ [name: string]: any;
212
+ };
213
+ /**
214
+ * Pallet `Staking`'s constants
215
+ **/
216
+ staking: {
217
+ /**
218
+ * Number of eras to keep in history.
219
+ *
220
+ * Following information is kept for eras in `[current_era -
221
+ * HistoryDepth, current_era]`: `ErasStakers`, `ErasStakersClipped`,
222
+ * `ErasValidatorPrefs`, `ErasValidatorReward`, `ErasRewardPoints`,
223
+ * `ErasTotalStake`, `ErasStartSessionIndex`,
224
+ * `StakingLedger.claimed_rewards`.
225
+ *
226
+ * Must be more than the number of eras delayed by session.
227
+ * I.e. active era must always be in history. I.e. `active_era >
228
+ * current_era - history_depth` must be guaranteed.
229
+ *
230
+ * If migrating an existing pallet from storage value to config value,
231
+ * this should be set to same value or greater as in storage.
232
+ *
233
+ * Note: `HistoryDepth` is used as the upper bound for the `BoundedVec`
234
+ * item `StakingLedger.claimed_rewards`. Setting this value lower than
235
+ * the existing value can lead to inconsistencies in the
236
+ * `StakingLedger` and will need to be handled properly in a migration.
237
+ * The test `reducing_history_depth_abrupt` shows this effect.
238
+ **/
239
+ historyDepth: number;
240
+ /**
241
+ * Number of sessions per era.
242
+ **/
243
+ sessionsPerEra: number;
244
+ /**
245
+ * Number of eras that staked funds must remain bonded for.
246
+ **/
247
+ bondingDuration: number;
248
+ /**
249
+ * Number of eras that slashes are deferred by, after computation.
250
+ *
251
+ * This should be less than the bonding duration. Set to 0 if slashes
252
+ * should be applied immediately, without opportunity for intervention.
253
+ **/
254
+ slashDeferDuration: number;
255
+ /**
256
+ * The maximum number of nominators rewarded for each validator.
257
+ *
258
+ * For each validator only the `$MaxNominatorRewardedPerValidator` biggest stakers can
259
+ * claim their reward. This used to limit the i/o cost for the nominator payout.
260
+ **/
261
+ maxNominatorRewardedPerValidator: number;
262
+ /**
263
+ * The maximum number of `unlocking` chunks a [`StakingLedger`] can
264
+ * have. Effectively determines how many unique eras a staker may be
265
+ * unbonding in.
266
+ *
267
+ * Note: `MaxUnlockingChunks` is used as the upper bound for the
268
+ * `BoundedVec` item `StakingLedger.unlocking`. Setting this value
269
+ * lower than the existing value can lead to inconsistencies in the
270
+ * `StakingLedger` and will need to be handled properly in a runtime
271
+ * migration. The test `reducing_max_unlocking_chunks_abrupt` shows
272
+ * this effect.
273
+ **/
274
+ maxUnlockingChunks: number;
275
+ /**
276
+ * Generic pallet constant
277
+ **/
278
+ [name: string]: any;
279
+ };
280
+ /**
281
+ * Pallet `Offences`'s constants
282
+ **/
283
+ offences: {
284
+ /**
285
+ * Generic pallet constant
286
+ **/
287
+ [name: string]: any;
288
+ };
289
+ /**
290
+ * Pallet `Historical`'s constants
291
+ **/
292
+ historical: {
293
+ /**
294
+ * Generic pallet constant
295
+ **/
296
+ [name: string]: any;
297
+ };
298
+ /**
299
+ * Pallet `Session`'s constants
300
+ **/
301
+ session: {
302
+ /**
303
+ * Generic pallet constant
304
+ **/
305
+ [name: string]: any;
306
+ };
307
+ /**
308
+ * Pallet `Grandpa`'s constants
309
+ **/
310
+ grandpa: {
311
+ /**
312
+ * Max Authorities in use
313
+ **/
314
+ maxAuthorities: number;
315
+ /**
316
+ * The maximum number of nominators for each validator.
317
+ **/
318
+ maxNominators: number;
319
+ /**
320
+ * The maximum number of entries to keep in the set id to session index mapping.
321
+ *
322
+ * Since the `SetIdSession` map is only used for validating equivocations this
323
+ * value should relate to the bonding duration of whatever staking system is
324
+ * being used (if any). If equivocation handling is not enabled then this value
325
+ * can be zero.
326
+ **/
327
+ maxSetIdSessionEntries: bigint;
328
+ /**
329
+ * Generic pallet constant
330
+ **/
331
+ [name: string]: any;
332
+ };
333
+ /**
334
+ * Pallet `ImOnline`'s constants
335
+ **/
336
+ imOnline: {
337
+ /**
338
+ * A configuration for base priority of unsigned transactions.
339
+ *
340
+ * This is exposed so that it can be tuned for particular runtime, when
341
+ * multiple pallets send unsigned transactions.
342
+ **/
343
+ unsignedPriority: bigint;
344
+ /**
345
+ * Generic pallet constant
346
+ **/
347
+ [name: string]: any;
348
+ };
349
+ /**
350
+ * Pallet `AuthorityDiscovery`'s constants
351
+ **/
352
+ authorityDiscovery: {
353
+ /**
354
+ * Generic pallet constant
355
+ **/
356
+ [name: string]: any;
357
+ };
358
+ /**
359
+ * Pallet `Treasury`'s constants
360
+ **/
361
+ treasury: {
362
+ /**
363
+ * Fraction of a proposal's value that should be bonded in order to place the proposal.
364
+ * An accepted proposal gets these back. A rejected proposal does not.
365
+ **/
366
+ proposalBond: Permill;
367
+ /**
368
+ * Minimum amount of funds that should be placed in a deposit for making a proposal.
369
+ **/
370
+ proposalBondMinimum: bigint;
371
+ /**
372
+ * Maximum amount of funds that should be placed in a deposit for making a proposal.
373
+ **/
374
+ proposalBondMaximum: bigint | undefined;
375
+ /**
376
+ * Period between successive spends.
377
+ **/
378
+ spendPeriod: number;
379
+ /**
380
+ * Percentage of spare funds (if any) that are burnt per spend period.
381
+ **/
382
+ burn: Permill;
383
+ /**
384
+ * The treasury's pallet id, used for deriving its sovereign account ID.
385
+ **/
386
+ palletId: FrameSupportPalletId;
387
+ /**
388
+ * The maximum number of approvals that can wait in the spending queue.
389
+ *
390
+ * NOTE: This parameter is also used within the Bounties Pallet extension if enabled.
391
+ **/
392
+ maxApprovals: number;
393
+ /**
394
+ * The period during which an approved treasury spend has to be claimed.
395
+ **/
396
+ payoutPeriod: number;
397
+ /**
398
+ * Generic pallet constant
399
+ **/
400
+ [name: string]: any;
401
+ };
402
+ /**
403
+ * Pallet `ConvictionVoting`'s constants
404
+ **/
405
+ convictionVoting: {
406
+ /**
407
+ * The maximum number of concurrent votes an account may have.
408
+ *
409
+ * Also used to compute weight, an overly large value can lead to extrinsics with large
410
+ * weight estimation: see `delegate` for instance.
411
+ **/
412
+ maxVotes: number;
413
+ /**
414
+ * The minimum period of vote locking.
415
+ *
416
+ * It should be no shorter than enactment period to ensure that in the case of an approval,
417
+ * those successful voters are locked into the consequences that their votes entail.
418
+ **/
419
+ voteLockingPeriod: number;
420
+ /**
421
+ * Generic pallet constant
422
+ **/
423
+ [name: string]: any;
424
+ };
425
+ /**
426
+ * Pallet `Referenda`'s constants
427
+ **/
428
+ referenda: {
429
+ /**
430
+ * The minimum amount to be used as a deposit for a public referendum proposal.
431
+ **/
432
+ submissionDeposit: bigint;
433
+ /**
434
+ * Maximum size of the referendum queue for a single track.
435
+ **/
436
+ maxQueued: number;
437
+ /**
438
+ * The number of blocks after submission that a referendum must begin being decided by.
439
+ * Once this passes, then anyone may cancel the referendum.
440
+ **/
441
+ undecidingTimeout: number;
442
+ /**
443
+ * Quantization level for the referendum wakeup scheduler. A higher number will result in
444
+ * fewer storage reads/writes needed for smaller voters, but also result in delays to the
445
+ * automatic referendum status changes. Explicit servicing instructions are unaffected.
446
+ **/
447
+ alarmInterval: number;
448
+ /**
449
+ * Information concerning the different referendum tracks.
450
+ **/
451
+ tracks: Array<[number, PalletReferendaTrackInfo]>;
452
+ /**
453
+ * Generic pallet constant
454
+ **/
455
+ [name: string]: any;
456
+ };
457
+ /**
458
+ * Pallet `Whitelist`'s constants
459
+ **/
460
+ whitelist: {
461
+ /**
462
+ * Generic pallet constant
463
+ **/
464
+ [name: string]: any;
465
+ };
466
+ /**
467
+ * Pallet `Claims`'s constants
468
+ **/
469
+ claims: {
470
+ prefix: Bytes;
471
+ /**
472
+ * Generic pallet constant
473
+ **/
474
+ [name: string]: any;
475
+ };
476
+ /**
477
+ * Pallet `Vesting`'s constants
478
+ **/
479
+ vesting: {
480
+ /**
481
+ * The minimum amount transferred to call `vested_transfer`.
482
+ **/
483
+ minVestedTransfer: bigint;
484
+ maxVestingSchedules: number;
485
+ /**
486
+ * Generic pallet constant
487
+ **/
488
+ [name: string]: any;
489
+ };
490
+ /**
491
+ * Pallet `Utility`'s constants
492
+ **/
493
+ utility: {
494
+ /**
495
+ * The limit on the number of batched calls.
496
+ **/
497
+ batchedCallsLimit: number;
498
+ /**
499
+ * Generic pallet constant
500
+ **/
501
+ [name: string]: any;
502
+ };
503
+ /**
504
+ * Pallet `Identity`'s constants
505
+ **/
506
+ identity: {
507
+ /**
508
+ * The amount held on deposit for a registered identity
509
+ **/
510
+ basicDeposit: bigint;
511
+ /**
512
+ * The amount held on deposit per additional field for a registered identity.
513
+ **/
514
+ fieldDeposit: bigint;
515
+ /**
516
+ * The amount held on deposit for a registered subaccount. This should account for the fact
517
+ * that one storage item's value will increase by the size of an account ID, and there will
518
+ * be another trie item whose value is the size of an account ID plus 32 bytes.
519
+ **/
520
+ subAccountDeposit: bigint;
521
+ /**
522
+ * The maximum number of sub-accounts allowed per identified account.
523
+ **/
524
+ maxSubAccounts: number;
525
+ /**
526
+ * Maximum number of additional fields that may be stored in an ID. Needed to bound the I/O
527
+ * required to access an identity, but can be pretty high.
528
+ **/
529
+ maxAdditionalFields: number;
530
+ /**
531
+ * Maxmimum number of registrars allowed in the system. Needed to bound the complexity
532
+ * of, e.g., updating judgements.
533
+ **/
534
+ maxRegistrars: number;
535
+ /**
536
+ * Generic pallet constant
537
+ **/
538
+ [name: string]: any;
539
+ };
540
+ /**
541
+ * Pallet `Proxy`'s constants
542
+ **/
543
+ proxy: {
544
+ /**
545
+ * The base amount of currency needed to reserve for creating a proxy.
546
+ *
547
+ * This is held for an additional storage item whose value size is
548
+ * `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes.
549
+ **/
550
+ proxyDepositBase: bigint;
551
+ /**
552
+ * The amount of currency needed per proxy added.
553
+ *
554
+ * This is held for adding 32 bytes plus an instance of `ProxyType` more into a
555
+ * pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take
556
+ * into account `32 + proxy_type.encode().len()` bytes of data.
557
+ **/
558
+ proxyDepositFactor: bigint;
559
+ /**
560
+ * The maximum amount of proxies allowed for a single account.
561
+ **/
562
+ maxProxies: number;
563
+ /**
564
+ * The maximum amount of time-delayed announcements that are allowed to be pending.
565
+ **/
566
+ maxPending: number;
567
+ /**
568
+ * The base amount of currency needed to reserve for creating an announcement.
569
+ *
570
+ * This is held when a new storage item holding a `Balance` is created (typically 16
571
+ * bytes).
572
+ **/
573
+ announcementDepositBase: bigint;
574
+ /**
575
+ * The amount of currency needed per announcement made.
576
+ *
577
+ * This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes)
578
+ * into a pre-existing storage value.
579
+ **/
580
+ announcementDepositFactor: bigint;
581
+ /**
582
+ * Generic pallet constant
583
+ **/
584
+ [name: string]: any;
585
+ };
586
+ /**
587
+ * Pallet `Multisig`'s constants
588
+ **/
589
+ multisig: {
590
+ /**
591
+ * The base amount of currency needed to reserve for creating a multisig execution or to
592
+ * store a dispatch call for later.
593
+ *
594
+ * This is held for an additional storage item whose value size is
595
+ * `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is
596
+ * `32 + sizeof(AccountId)` bytes.
597
+ **/
598
+ depositBase: bigint;
599
+ /**
600
+ * The amount of currency needed per unit threshold when creating a multisig execution.
601
+ *
602
+ * This is held for adding 32 bytes more into a pre-existing storage value.
603
+ **/
604
+ depositFactor: bigint;
605
+ /**
606
+ * The maximum amount of signatories allowed in the multisig.
607
+ **/
608
+ maxSignatories: number;
609
+ /**
610
+ * Generic pallet constant
611
+ **/
612
+ [name: string]: any;
613
+ };
614
+ /**
615
+ * Pallet `Bounties`'s constants
616
+ **/
617
+ bounties: {
618
+ /**
619
+ * The amount held on deposit for placing a bounty proposal.
620
+ **/
621
+ bountyDepositBase: bigint;
622
+ /**
623
+ * The delay period for which a bounty beneficiary need to wait before claim the payout.
624
+ **/
625
+ bountyDepositPayoutDelay: number;
626
+ /**
627
+ * Bounty duration in blocks.
628
+ **/
629
+ bountyUpdatePeriod: number;
630
+ /**
631
+ * The curator deposit is calculated as a percentage of the curator fee.
632
+ *
633
+ * This deposit has optional upper and lower bounds with `CuratorDepositMax` and
634
+ * `CuratorDepositMin`.
635
+ **/
636
+ curatorDepositMultiplier: Permill;
637
+ /**
638
+ * Maximum amount of funds that should be placed in a deposit for making a proposal.
639
+ **/
640
+ curatorDepositMax: bigint | undefined;
641
+ /**
642
+ * Minimum amount of funds that should be placed in a deposit for making a proposal.
643
+ **/
644
+ curatorDepositMin: bigint | undefined;
645
+ /**
646
+ * Minimum value for a bounty.
647
+ **/
648
+ bountyValueMinimum: bigint;
649
+ /**
650
+ * The amount held on deposit per byte within the tip report reason or bounty description.
651
+ **/
652
+ dataDepositPerByte: bigint;
653
+ /**
654
+ * Maximum acceptable reason length.
655
+ *
656
+ * Benchmarks depend on this value, be sure to update weights file when changing this value
657
+ **/
658
+ maximumReasonLength: number;
659
+ /**
660
+ * Generic pallet constant
661
+ **/
662
+ [name: string]: any;
663
+ };
664
+ /**
665
+ * Pallet `ChildBounties`'s constants
666
+ **/
667
+ childBounties: {
668
+ /**
669
+ * Maximum number of child bounties that can be added to a parent bounty.
670
+ **/
671
+ maxActiveChildBountyCount: number;
672
+ /**
673
+ * Minimum value for a child-bounty.
674
+ **/
675
+ childBountyValueMinimum: bigint;
676
+ /**
677
+ * Generic pallet constant
678
+ **/
679
+ [name: string]: any;
680
+ };
681
+ /**
682
+ * Pallet `ElectionProviderMultiPhase`'s constants
683
+ **/
684
+ electionProviderMultiPhase: {
685
+ /**
686
+ * Duration of the unsigned phase.
687
+ **/
688
+ unsignedPhase: number;
689
+ /**
690
+ * Duration of the signed phase.
691
+ **/
692
+ signedPhase: number;
693
+ /**
694
+ * The minimum amount of improvement to the solution score that defines a solution as
695
+ * "better" in the Signed phase.
696
+ **/
697
+ betterSignedThreshold: Perbill;
698
+ /**
699
+ * The minimum amount of improvement to the solution score that defines a solution as
700
+ * "better" in the Unsigned phase.
701
+ **/
702
+ betterUnsignedThreshold: Perbill;
703
+ /**
704
+ * The repeat threshold of the offchain worker.
705
+ *
706
+ * For example, if it is 5, that means that at least 5 blocks will elapse between attempts
707
+ * to submit the worker's solution.
708
+ **/
709
+ offchainRepeat: number;
710
+ /**
711
+ * The priority of the unsigned transaction submitted in the unsigned-phase
712
+ **/
713
+ minerTxPriority: bigint;
714
+ /**
715
+ * Maximum number of signed submissions that can be queued.
716
+ *
717
+ * It is best to avoid adjusting this during an election, as it impacts downstream data
718
+ * structures. In particular, `SignedSubmissionIndices<T>` is bounded on this value. If you
719
+ * update this value during an election, you _must_ ensure that
720
+ * `SignedSubmissionIndices.len()` is less than or equal to the new value. Otherwise,
721
+ * attempts to submit new solutions may cause a runtime panic.
722
+ **/
723
+ signedMaxSubmissions: number;
724
+ /**
725
+ * Maximum weight of a signed solution.
726
+ *
727
+ * If [`Config::MinerConfig`] is being implemented to submit signed solutions (outside of
728
+ * this pallet), then [`MinerConfig::solution_weight`] is used to compare against
729
+ * this value.
730
+ **/
731
+ signedMaxWeight: SpWeightsWeightV2Weight;
732
+ /**
733
+ * The maximum amount of unchecked solutions to refund the call fee for.
734
+ **/
735
+ signedMaxRefunds: number;
736
+ /**
737
+ * Base reward for a signed solution
738
+ **/
739
+ signedRewardBase: bigint;
740
+ /**
741
+ * Per-byte deposit for a signed solution.
742
+ **/
743
+ signedDepositByte: bigint;
744
+ /**
745
+ * Per-weight deposit for a signed solution.
746
+ **/
747
+ signedDepositWeight: bigint;
748
+ /**
749
+ * The maximum number of winners that can be elected by this `ElectionProvider`
750
+ * implementation.
751
+ *
752
+ * Note: This must always be greater or equal to `T::DataProvider::desired_targets()`.
753
+ **/
754
+ maxWinners: number;
755
+ minerMaxLength: number;
756
+ minerMaxWeight: SpWeightsWeightV2Weight;
757
+ minerMaxVotesPerVoter: number;
758
+ minerMaxWinners: number;
759
+ /**
760
+ * Generic pallet constant
761
+ **/
762
+ [name: string]: any;
763
+ };
764
+ /**
765
+ * Pallet `VoterList`'s constants
766
+ **/
767
+ voterList: {
768
+ /**
769
+ * The list of thresholds separating the various bags.
770
+ *
771
+ * Ids are separated into unsorted bags according to their score. This specifies the
772
+ * thresholds separating the bags. An id's bag is the largest bag for which the id's score
773
+ * is less than or equal to its upper threshold.
774
+ *
775
+ * When ids are iterated, higher bags are iterated completely before lower bags. This means
776
+ * that iteration is _semi-sorted_: ids of higher score tend to come before ids of lower
777
+ * score, but peer ids within a particular bag are sorted in insertion order.
778
+ *
779
+ * # Expressing the constant
780
+ *
781
+ * This constant must be sorted in strictly increasing order. Duplicate items are not
782
+ * permitted.
783
+ *
784
+ * There is an implied upper limit of `Score::MAX`; that value does not need to be
785
+ * specified within the bag. For any two threshold lists, if one ends with
786
+ * `Score::MAX`, the other one does not, and they are otherwise equal, the two
787
+ * lists will behave identically.
788
+ *
789
+ * # Calculation
790
+ *
791
+ * It is recommended to generate the set of thresholds in a geometric series, such that
792
+ * there exists some constant ratio such that `threshold[k + 1] == (threshold[k] *
793
+ * constant_ratio).max(threshold[k] + 1)` for all `k`.
794
+ *
795
+ * The helpers in the `/utils/frame/generate-bags` module can simplify this calculation.
796
+ *
797
+ * # Examples
798
+ *
799
+ * - If `BagThresholds::get().is_empty()`, then all ids are put into the same bag, and
800
+ * iteration is strictly in insertion order.
801
+ * - If `BagThresholds::get().len() == 64`, and the thresholds are determined according to
802
+ * the procedure given above, then the constant ratio is equal to 2.
803
+ * - If `BagThresholds::get().len() == 200`, and the thresholds are determined according to
804
+ * the procedure given above, then the constant ratio is approximately equal to 1.248.
805
+ * - If the threshold list begins `[1, 2, 3, ...]`, then an id with score 0 or 1 will fall
806
+ * into bag 0, an id with score 2 will fall into bag 1, etc.
807
+ *
808
+ * # Migration
809
+ *
810
+ * In the event that this list ever changes, a copy of the old bags list must be retained.
811
+ * With that `List::migrate` can be called, which will perform the appropriate migration.
812
+ **/
813
+ bagThresholds: Array<bigint>;
814
+ /**
815
+ * Generic pallet constant
816
+ **/
817
+ [name: string]: any;
818
+ };
819
+ /**
820
+ * Pallet `NominationPools`'s constants
821
+ **/
822
+ nominationPools: {
823
+ /**
824
+ * The nomination pool's pallet id.
825
+ **/
826
+ palletId: FrameSupportPalletId;
827
+ /**
828
+ * The maximum pool points-to-balance ratio that an `open` pool can have.
829
+ *
830
+ * This is important in the event slashing takes place and the pool's points-to-balance
831
+ * ratio becomes disproportional.
832
+ *
833
+ * Moreover, this relates to the `RewardCounter` type as well, as the arithmetic operations
834
+ * are a function of number of points, and by setting this value to e.g. 10, you ensure
835
+ * that the total number of points in the system are at most 10 times the total_issuance of
836
+ * the chain, in the absolute worse case.
837
+ *
838
+ * For a value of 10, the threshold would be a pool points-to-balance ratio of 10:1.
839
+ * Such a scenario would also be the equivalent of the pool being 90% slashed.
840
+ **/
841
+ maxPointsToBalance: number;
842
+ /**
843
+ * Generic pallet constant
844
+ **/
845
+ [name: string]: any;
846
+ };
847
+ /**
848
+ * Pallet `FastUnstake`'s constants
849
+ **/
850
+ fastUnstake: {
851
+ /**
852
+ * Deposit to take for unstaking, to make sure we're able to slash the it in order to cover
853
+ * the costs of resources on unsuccessful unstake.
854
+ **/
855
+ deposit: bigint;
856
+ /**
857
+ * Generic pallet constant
858
+ **/
859
+ [name: string]: any;
860
+ };
861
+ /**
862
+ * Pallet `ParachainsOrigin`'s constants
863
+ **/
864
+ parachainsOrigin: {
865
+ /**
866
+ * Generic pallet constant
867
+ **/
868
+ [name: string]: any;
869
+ };
870
+ /**
871
+ * Pallet `Configuration`'s constants
872
+ **/
873
+ configuration: {
874
+ /**
875
+ * Generic pallet constant
876
+ **/
877
+ [name: string]: any;
878
+ };
879
+ /**
880
+ * Pallet `ParasShared`'s constants
881
+ **/
882
+ parasShared: {
883
+ /**
884
+ * Generic pallet constant
885
+ **/
886
+ [name: string]: any;
887
+ };
888
+ /**
889
+ * Pallet `ParaInclusion`'s constants
890
+ **/
891
+ paraInclusion: {
892
+ /**
893
+ * Generic pallet constant
894
+ **/
895
+ [name: string]: any;
896
+ };
897
+ /**
898
+ * Pallet `ParaInherent`'s constants
899
+ **/
900
+ paraInherent: {
901
+ /**
902
+ * Generic pallet constant
903
+ **/
904
+ [name: string]: any;
905
+ };
906
+ /**
907
+ * Pallet `ParaScheduler`'s constants
908
+ **/
909
+ paraScheduler: {
910
+ /**
911
+ * Generic pallet constant
912
+ **/
913
+ [name: string]: any;
914
+ };
915
+ /**
916
+ * Pallet `Paras`'s constants
917
+ **/
918
+ paras: {
919
+ unsignedPriority: bigint;
920
+ /**
921
+ * Generic pallet constant
922
+ **/
923
+ [name: string]: any;
924
+ };
925
+ /**
926
+ * Pallet `Initializer`'s constants
927
+ **/
928
+ initializer: {
929
+ /**
930
+ * Generic pallet constant
931
+ **/
932
+ [name: string]: any;
933
+ };
934
+ /**
935
+ * Pallet `Dmp`'s constants
936
+ **/
937
+ dmp: {
938
+ /**
939
+ * Generic pallet constant
940
+ **/
941
+ [name: string]: any;
942
+ };
943
+ /**
944
+ * Pallet `Hrmp`'s constants
945
+ **/
946
+ hrmp: {
947
+ /**
948
+ * Generic pallet constant
949
+ **/
950
+ [name: string]: any;
951
+ };
952
+ /**
953
+ * Pallet `ParaSessionInfo`'s constants
954
+ **/
955
+ paraSessionInfo: {
956
+ /**
957
+ * Generic pallet constant
958
+ **/
959
+ [name: string]: any;
960
+ };
961
+ /**
962
+ * Pallet `ParasDisputes`'s constants
963
+ **/
964
+ parasDisputes: {
965
+ /**
966
+ * Generic pallet constant
967
+ **/
968
+ [name: string]: any;
969
+ };
970
+ /**
971
+ * Pallet `ParasSlashing`'s constants
972
+ **/
973
+ parasSlashing: {
974
+ /**
975
+ * Generic pallet constant
976
+ **/
977
+ [name: string]: any;
978
+ };
979
+ /**
980
+ * Pallet `ParaAssignmentProvider`'s constants
981
+ **/
982
+ paraAssignmentProvider: {
983
+ /**
984
+ * Generic pallet constant
985
+ **/
986
+ [name: string]: any;
987
+ };
988
+ /**
989
+ * Pallet `Registrar`'s constants
990
+ **/
991
+ registrar: {
992
+ /**
993
+ * The deposit to be paid to run a on-demand parachain.
994
+ * This should include the cost for storing the genesis head and validation code.
995
+ **/
996
+ paraDeposit: bigint;
997
+ /**
998
+ * The deposit to be paid per byte stored on chain.
999
+ **/
1000
+ dataDepositPerByte: bigint;
1001
+ /**
1002
+ * Generic pallet constant
1003
+ **/
1004
+ [name: string]: any;
1005
+ };
1006
+ /**
1007
+ * Pallet `Slots`'s constants
1008
+ **/
1009
+ slots: {
1010
+ /**
1011
+ * The number of blocks over which a single period lasts.
1012
+ **/
1013
+ leasePeriod: number;
1014
+ /**
1015
+ * The number of blocks to offset each lease period by.
1016
+ **/
1017
+ leaseOffset: number;
1018
+ /**
1019
+ * Generic pallet constant
1020
+ **/
1021
+ [name: string]: any;
1022
+ };
1023
+ /**
1024
+ * Pallet `Auctions`'s constants
1025
+ **/
1026
+ auctions: {
1027
+ /**
1028
+ * The number of blocks over which an auction may be retroactively ended.
1029
+ **/
1030
+ endingPeriod: number;
1031
+ /**
1032
+ * The length of each sample to take during the ending period.
1033
+ *
1034
+ * `EndingPeriod` / `SampleLength` = Total # of Samples
1035
+ **/
1036
+ sampleLength: number;
1037
+ slotRangeCount: number;
1038
+ leasePeriodsPerSlot: number;
1039
+ /**
1040
+ * Generic pallet constant
1041
+ **/
1042
+ [name: string]: any;
1043
+ };
1044
+ /**
1045
+ * Pallet `Crowdloan`'s constants
1046
+ **/
1047
+ crowdloan: {
1048
+ /**
1049
+ * `PalletId` for the crowdloan pallet. An appropriate value could be
1050
+ * `PalletId(*b"py/cfund")`
1051
+ **/
1052
+ palletId: FrameSupportPalletId;
1053
+ /**
1054
+ * The minimum amount that may be contributed into a crowdloan. Should almost certainly be
1055
+ * at least `ExistentialDeposit`.
1056
+ **/
1057
+ minContribution: bigint;
1058
+ /**
1059
+ * Max number of storage keys to remove per extrinsic call.
1060
+ **/
1061
+ removeKeysLimit: number;
1062
+ /**
1063
+ * Generic pallet constant
1064
+ **/
1065
+ [name: string]: any;
1066
+ };
1067
+ /**
1068
+ * Pallet `XcmPallet`'s constants
1069
+ **/
1070
+ xcmPallet: {
1071
+ /**
1072
+ * Generic pallet constant
1073
+ **/
1074
+ [name: string]: any;
1075
+ };
1076
+ /**
1077
+ * Pallet `MessageQueue`'s constants
1078
+ **/
1079
+ messageQueue: {
1080
+ /**
1081
+ * The size of the page; this implies the maximum message size which can be sent.
1082
+ *
1083
+ * A good value depends on the expected message sizes, their weights, the weight that is
1084
+ * available for processing them and the maximal needed message size. The maximal message
1085
+ * size is slightly lower than this as defined by [`MaxMessageLenOf`].
1086
+ **/
1087
+ heapSize: number;
1088
+ /**
1089
+ * The maximum number of stale pages (i.e. of overweight messages) allowed before culling
1090
+ * can happen. Once there are more stale pages than this, then historical pages may be
1091
+ * dropped, even if they contain unprocessed overweight messages.
1092
+ **/
1093
+ maxStale: number;
1094
+ /**
1095
+ * The amount of weight (if any) which should be provided to the message queue for
1096
+ * servicing enqueued items.
1097
+ *
1098
+ * This may be legitimately `None` in the case that you will call
1099
+ * `ServiceQueues::service_queues` manually.
1100
+ **/
1101
+ serviceWeight: SpWeightsWeightV2Weight | undefined;
1102
+ /**
1103
+ * Generic pallet constant
1104
+ **/
1105
+ [name: string]: any;
1106
+ };
1107
+ /**
1108
+ * Pallet `AssetRate`'s constants
1109
+ **/
1110
+ assetRate: {
1111
+ /**
1112
+ * Generic pallet constant
1113
+ **/
1114
+ [name: string]: any;
1115
+ };
1116
+ /**
1117
+ * Pallet `Beefy`'s constants
1118
+ **/
1119
+ beefy: {
1120
+ /**
1121
+ * The maximum number of authorities that can be added.
1122
+ **/
1123
+ maxAuthorities: number;
1124
+ /**
1125
+ * The maximum number of nominators for each validator.
1126
+ **/
1127
+ maxNominators: number;
1128
+ /**
1129
+ * The maximum number of entries to keep in the set id to session index mapping.
1130
+ *
1131
+ * Since the `SetIdSession` map is only used for validating equivocations this
1132
+ * value should relate to the bonding duration of whatever staking system is
1133
+ * being used (if any). If equivocation handling is not enabled then this value
1134
+ * can be zero.
1135
+ **/
1136
+ maxSetIdSessionEntries: bigint;
1137
+ /**
1138
+ * Generic pallet constant
1139
+ **/
1140
+ [name: string]: any;
1141
+ };
1142
+ /**
1143
+ * Pallet `Mmr`'s constants
1144
+ **/
1145
+ mmr: {
1146
+ /**
1147
+ * Generic pallet constant
1148
+ **/
1149
+ [name: string]: any;
1150
+ };
1151
+ /**
1152
+ * Pallet `BeefyMmrLeaf`'s constants
1153
+ **/
1154
+ beefyMmrLeaf: {
1155
+ /**
1156
+ * Generic pallet constant
1157
+ **/
1158
+ [name: string]: any;
1159
+ };
1160
+ }