@dedot/chaintypes 0.0.1-alpha.8 → 0.0.1-next.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (277) hide show
  1. package/aleph/consts.d.ts +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 +753 -674
  11. package/astar/errors.d.ts +1576 -1313
  12. package/astar/events.d.ts +1709 -1628
  13. package/astar/index.d.ts +11 -8
  14. package/astar/query.d.ts +1756 -1471
  15. package/astar/rpc.d.ts +972 -773
  16. package/astar/runtime.d.ts +310 -258
  17. package/astar/tx.d.ts +5474 -4806
  18. package/astar/types.d.ts +8848 -12108
  19. package/index.ts +10 -0
  20. package/kusama/consts.d.ts +1573 -1422
  21. package/kusama/errors.d.ts +2995 -2490
  22. package/kusama/events.d.ts +2996 -2723
  23. package/kusama/index.d.ts +11 -8
  24. package/kusama/query.d.ts +3828 -3248
  25. package/kusama/rpc.d.ts +902 -724
  26. package/kusama/runtime.d.ts +1130 -840
  27. package/kusama/tx.d.ts +7073 -6010
  28. package/kusama/types.d.ts +10151 -15344
  29. package/kusamaAssetHub/consts.d.ts +714 -627
  30. package/kusamaAssetHub/errors.d.ts +1405 -1160
  31. package/kusamaAssetHub/events.d.ts +2149 -2060
  32. package/kusamaAssetHub/index.d.ts +11 -8
  33. package/kusamaAssetHub/query.d.ts +1551 -1298
  34. package/kusamaAssetHub/rpc.d.ts +744 -588
  35. package/kusamaAssetHub/runtime.d.ts +510 -398
  36. package/kusamaAssetHub/tx.d.ts +5050 -4212
  37. package/kusamaAssetHub/types.d.ts +5976 -10009
  38. package/moonbeam/consts.d.ts +1075 -956
  39. package/moonbeam/errors.d.ts +2131 -1793
  40. package/moonbeam/events.d.ts +2932 -2681
  41. package/moonbeam/index.d.ts +11 -8
  42. package/moonbeam/query.d.ts +2391 -2024
  43. package/moonbeam/rpc.d.ts +1013 -807
  44. package/moonbeam/runtime.d.ts +665 -502
  45. package/moonbeam/tx.d.ts +6152 -5201
  46. package/moonbeam/types.d.ts +7731 -12035
  47. package/package.json +9 -8
  48. package/packageInfo.js +1 -1
  49. package/packageInfo.ts +3 -0
  50. package/polkadot/consts.d.ts +1272 -1155
  51. package/polkadot/errors.d.ts +2420 -2016
  52. package/polkadot/events.d.ts +2314 -2092
  53. package/polkadot/index.d.ts +11 -8
  54. package/polkadot/query.d.ts +3319 -2808
  55. package/polkadot/rpc.d.ts +902 -724
  56. package/polkadot/runtime.d.ts +1130 -840
  57. package/polkadot/tx.d.ts +5909 -5005
  58. package/polkadot/types.d.ts +8742 -13290
  59. package/polkadotAssetHub/consts.d.ts +586 -519
  60. package/polkadotAssetHub/errors.d.ts +1115 -921
  61. package/polkadotAssetHub/events.d.ts +1850 -1782
  62. package/polkadotAssetHub/index.d.ts +11 -8
  63. package/polkadotAssetHub/query.d.ts +1457 -1219
  64. package/polkadotAssetHub/rpc.d.ts +744 -588
  65. package/polkadotAssetHub/runtime.d.ts +447 -355
  66. package/polkadotAssetHub/tx.d.ts +4184 -3487
  67. package/polkadotAssetHub/types.d.ts +5183 -8808
  68. package/rococoAssetHub/consts.d.ts +745 -653
  69. package/rococoAssetHub/errors.d.ts +1490 -1227
  70. package/rococoAssetHub/events.d.ts +2127 -2047
  71. package/rococoAssetHub/index.d.ts +11 -8
  72. package/rococoAssetHub/query.d.ts +1513 -1266
  73. package/rococoAssetHub/rpc.d.ts +744 -588
  74. package/rococoAssetHub/runtime.d.ts +538 -424
  75. package/rococoAssetHub/tx.d.ts +5164 -4302
  76. package/rococoAssetHub/types.d.ts +6321 -10636
  77. package/substrate/consts.d.ts +2218 -1966
  78. package/substrate/errors.d.ts +4019 -3333
  79. package/substrate/events.d.ts +4585 -4255
  80. package/substrate/index.d.ts +11 -8
  81. package/substrate/query.d.ts +3887 -3347
  82. package/substrate/rpc.d.ts +892 -716
  83. package/substrate/runtime.d.ts +937 -704
  84. package/substrate/tx.d.ts +10387 -8796
  85. package/substrate/types.d.ts +12809 -19761
  86. package/westendAssetHub/consts.d.ts +745 -653
  87. package/westendAssetHub/errors.d.ts +1490 -1227
  88. package/westendAssetHub/events.d.ts +2127 -2047
  89. package/westendAssetHub/index.d.ts +11 -8
  90. package/westendAssetHub/query.d.ts +1513 -1266
  91. package/westendAssetHub/rpc.d.ts +744 -588
  92. package/westendAssetHub/runtime.d.ts +577 -452
  93. package/westendAssetHub/tx.d.ts +5164 -4302
  94. package/westendAssetHub/types.d.ts +6321 -10633
  95. package/aleph/consts.js +0 -2
  96. package/aleph/errors.js +0 -2
  97. package/aleph/events.js +0 -2
  98. package/aleph/index.js +0 -3
  99. package/aleph/query.js +0 -2
  100. package/aleph/rpc.js +0 -2
  101. package/aleph/runtime.js +0 -2
  102. package/aleph/tx.js +0 -2
  103. package/aleph/types.js +0 -2
  104. package/astar/consts.js +0 -2
  105. package/astar/errors.js +0 -2
  106. package/astar/events.js +0 -2
  107. package/astar/index.js +0 -3
  108. package/astar/query.js +0 -2
  109. package/astar/rpc.js +0 -2
  110. package/astar/runtime.js +0 -2
  111. package/astar/tx.js +0 -2
  112. package/astar/types.js +0 -2
  113. package/cjs/aleph/consts.js +0 -3
  114. package/cjs/aleph/errors.js +0 -3
  115. package/cjs/aleph/events.js +0 -3
  116. package/cjs/aleph/index.js +0 -19
  117. package/cjs/aleph/query.js +0 -3
  118. package/cjs/aleph/rpc.js +0 -3
  119. package/cjs/aleph/runtime.js +0 -3
  120. package/cjs/aleph/tx.js +0 -3
  121. package/cjs/aleph/types.js +0 -3
  122. package/cjs/astar/consts.js +0 -3
  123. package/cjs/astar/errors.js +0 -3
  124. package/cjs/astar/events.js +0 -3
  125. package/cjs/astar/index.js +0 -19
  126. package/cjs/astar/query.js +0 -3
  127. package/cjs/astar/rpc.js +0 -3
  128. package/cjs/astar/runtime.js +0 -3
  129. package/cjs/astar/tx.js +0 -3
  130. package/cjs/astar/types.js +0 -3
  131. package/cjs/index.js +0 -2
  132. package/cjs/kusama/consts.js +0 -3
  133. package/cjs/kusama/errors.js +0 -3
  134. package/cjs/kusama/events.js +0 -3
  135. package/cjs/kusama/index.js +0 -19
  136. package/cjs/kusama/query.js +0 -3
  137. package/cjs/kusama/rpc.js +0 -3
  138. package/cjs/kusama/runtime.js +0 -3
  139. package/cjs/kusama/tx.js +0 -3
  140. package/cjs/kusama/types.js +0 -3
  141. package/cjs/kusamaAssetHub/consts.js +0 -3
  142. package/cjs/kusamaAssetHub/errors.js +0 -3
  143. package/cjs/kusamaAssetHub/events.js +0 -3
  144. package/cjs/kusamaAssetHub/index.js +0 -19
  145. package/cjs/kusamaAssetHub/query.js +0 -3
  146. package/cjs/kusamaAssetHub/rpc.js +0 -3
  147. package/cjs/kusamaAssetHub/runtime.js +0 -3
  148. package/cjs/kusamaAssetHub/tx.js +0 -3
  149. package/cjs/kusamaAssetHub/types.js +0 -3
  150. package/cjs/moonbeam/consts.js +0 -3
  151. package/cjs/moonbeam/errors.js +0 -3
  152. package/cjs/moonbeam/events.js +0 -3
  153. package/cjs/moonbeam/index.js +0 -19
  154. package/cjs/moonbeam/query.js +0 -3
  155. package/cjs/moonbeam/rpc.js +0 -3
  156. package/cjs/moonbeam/runtime.js +0 -3
  157. package/cjs/moonbeam/tx.js +0 -3
  158. package/cjs/moonbeam/types.js +0 -3
  159. package/cjs/package.json +0 -1
  160. package/cjs/packageInfo.js +0 -5
  161. package/cjs/polkadot/consts.js +0 -3
  162. package/cjs/polkadot/errors.js +0 -3
  163. package/cjs/polkadot/events.js +0 -3
  164. package/cjs/polkadot/index.js +0 -19
  165. package/cjs/polkadot/query.js +0 -3
  166. package/cjs/polkadot/rpc.js +0 -3
  167. package/cjs/polkadot/runtime.js +0 -3
  168. package/cjs/polkadot/tx.js +0 -3
  169. package/cjs/polkadot/types.js +0 -3
  170. package/cjs/polkadotAssetHub/consts.js +0 -3
  171. package/cjs/polkadotAssetHub/errors.js +0 -3
  172. package/cjs/polkadotAssetHub/events.js +0 -3
  173. package/cjs/polkadotAssetHub/index.js +0 -19
  174. package/cjs/polkadotAssetHub/query.js +0 -3
  175. package/cjs/polkadotAssetHub/rpc.js +0 -3
  176. package/cjs/polkadotAssetHub/runtime.js +0 -3
  177. package/cjs/polkadotAssetHub/tx.js +0 -3
  178. package/cjs/polkadotAssetHub/types.js +0 -3
  179. package/cjs/rococoAssetHub/consts.js +0 -3
  180. package/cjs/rococoAssetHub/errors.js +0 -3
  181. package/cjs/rococoAssetHub/events.js +0 -3
  182. package/cjs/rococoAssetHub/index.js +0 -19
  183. package/cjs/rococoAssetHub/query.js +0 -3
  184. package/cjs/rococoAssetHub/rpc.js +0 -3
  185. package/cjs/rococoAssetHub/runtime.js +0 -3
  186. package/cjs/rococoAssetHub/tx.js +0 -3
  187. package/cjs/rococoAssetHub/types.js +0 -3
  188. package/cjs/substrate/consts.js +0 -3
  189. package/cjs/substrate/errors.js +0 -3
  190. package/cjs/substrate/events.js +0 -3
  191. package/cjs/substrate/index.js +0 -19
  192. package/cjs/substrate/query.js +0 -3
  193. package/cjs/substrate/rpc.js +0 -3
  194. package/cjs/substrate/runtime.js +0 -3
  195. package/cjs/substrate/tx.js +0 -3
  196. package/cjs/substrate/types.js +0 -3
  197. package/cjs/westendAssetHub/consts.js +0 -3
  198. package/cjs/westendAssetHub/errors.js +0 -3
  199. package/cjs/westendAssetHub/events.js +0 -3
  200. package/cjs/westendAssetHub/index.js +0 -19
  201. package/cjs/westendAssetHub/query.js +0 -3
  202. package/cjs/westendAssetHub/rpc.js +0 -3
  203. package/cjs/westendAssetHub/runtime.js +0 -3
  204. package/cjs/westendAssetHub/tx.js +0 -3
  205. package/cjs/westendAssetHub/types.js +0 -3
  206. package/kusama/consts.js +0 -2
  207. package/kusama/errors.js +0 -2
  208. package/kusama/events.js +0 -2
  209. package/kusama/index.js +0 -3
  210. package/kusama/query.js +0 -2
  211. package/kusama/rpc.js +0 -2
  212. package/kusama/runtime.js +0 -2
  213. package/kusama/tx.js +0 -2
  214. package/kusama/types.js +0 -2
  215. package/kusamaAssetHub/consts.js +0 -2
  216. package/kusamaAssetHub/errors.js +0 -2
  217. package/kusamaAssetHub/events.js +0 -2
  218. package/kusamaAssetHub/index.js +0 -3
  219. package/kusamaAssetHub/query.js +0 -2
  220. package/kusamaAssetHub/rpc.js +0 -2
  221. package/kusamaAssetHub/runtime.js +0 -2
  222. package/kusamaAssetHub/tx.js +0 -2
  223. package/kusamaAssetHub/types.js +0 -2
  224. package/moonbeam/consts.js +0 -2
  225. package/moonbeam/errors.js +0 -2
  226. package/moonbeam/events.js +0 -2
  227. package/moonbeam/index.js +0 -3
  228. package/moonbeam/query.js +0 -2
  229. package/moonbeam/rpc.js +0 -2
  230. package/moonbeam/runtime.js +0 -2
  231. package/moonbeam/tx.js +0 -2
  232. package/moonbeam/types.js +0 -2
  233. package/polkadot/consts.js +0 -2
  234. package/polkadot/errors.js +0 -2
  235. package/polkadot/events.js +0 -2
  236. package/polkadot/index.js +0 -3
  237. package/polkadot/query.js +0 -2
  238. package/polkadot/rpc.js +0 -2
  239. package/polkadot/runtime.js +0 -2
  240. package/polkadot/tx.js +0 -2
  241. package/polkadot/types.js +0 -2
  242. package/polkadotAssetHub/consts.js +0 -2
  243. package/polkadotAssetHub/errors.js +0 -2
  244. package/polkadotAssetHub/events.js +0 -2
  245. package/polkadotAssetHub/index.js +0 -3
  246. package/polkadotAssetHub/query.js +0 -2
  247. package/polkadotAssetHub/rpc.js +0 -2
  248. package/polkadotAssetHub/runtime.js +0 -2
  249. package/polkadotAssetHub/tx.js +0 -2
  250. package/polkadotAssetHub/types.js +0 -2
  251. package/rococoAssetHub/consts.js +0 -2
  252. package/rococoAssetHub/errors.js +0 -2
  253. package/rococoAssetHub/events.js +0 -2
  254. package/rococoAssetHub/index.js +0 -3
  255. package/rococoAssetHub/query.js +0 -2
  256. package/rococoAssetHub/rpc.js +0 -2
  257. package/rococoAssetHub/runtime.js +0 -2
  258. package/rococoAssetHub/tx.js +0 -2
  259. package/rococoAssetHub/types.js +0 -2
  260. package/substrate/consts.js +0 -2
  261. package/substrate/errors.js +0 -2
  262. package/substrate/events.js +0 -2
  263. package/substrate/index.js +0 -3
  264. package/substrate/query.js +0 -2
  265. package/substrate/rpc.js +0 -2
  266. package/substrate/runtime.js +0 -2
  267. package/substrate/tx.js +0 -2
  268. package/substrate/types.js +0 -2
  269. package/westendAssetHub/consts.js +0 -2
  270. package/westendAssetHub/errors.js +0 -2
  271. package/westendAssetHub/events.js +0 -2
  272. package/westendAssetHub/index.js +0 -3
  273. package/westendAssetHub/query.js +0 -2
  274. package/westendAssetHub/rpc.js +0 -2
  275. package/westendAssetHub/runtime.js +0 -2
  276. package/westendAssetHub/tx.js +0 -2
  277. package/westendAssetHub/types.js +0 -2
package/aleph/consts.d.ts CHANGED
@@ -1,533 +1,595 @@
1
+ // Generated by @dedot/codegen
2
+
1
3
  import type { GenericChainConsts } from '@dedot/types';
2
4
  import type { RuntimeVersion, Permill } from '@dedot/codecs';
3
- import type { FrameSystemLimitsBlockWeights, FrameSystemLimitsBlockLength, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, FrameSupportPalletId, PalletContractsSchedule } from './types';
5
+ import type {
6
+ FrameSystemLimitsBlockWeights,
7
+ FrameSystemLimitsBlockLength,
8
+ SpWeightsRuntimeDbWeight,
9
+ SpWeightsWeightV2Weight,
10
+ FrameSupportPalletId,
11
+ PalletContractsSchedule,
12
+ } from './types';
13
+
4
14
  export interface ChainConsts extends GenericChainConsts {
15
+ /**
16
+ * Pallet `System`'s constants
17
+ **/
18
+ system: {
5
19
  /**
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 `RandomnessCollectiveFlip`'s constants
44
- **/
45
- randomnessCollectiveFlip: {
46
- /**
47
- * Generic pallet constant
48
- **/
49
- [name: string]: any;
50
- };
51
- /**
52
- * Pallet `Scheduler`'s constants
53
- **/
54
- scheduler: {
55
- /**
56
- * The maximum weight that may be scheduled per block for any dispatchables.
57
- **/
58
- maximumWeight: SpWeightsWeightV2Weight;
59
- /**
60
- * The maximum number of scheduled calls in the queue for a single block.
61
- *
62
- * NOTE:
63
- * + Dependent pallets' benchmarks might require a higher limit for the setting. Set a
64
- * higher limit under `runtime-benchmarks` feature.
65
- **/
66
- maxScheduledPerBlock: number;
67
- /**
68
- * Generic pallet constant
69
- **/
70
- [name: string]: any;
71
- };
72
- /**
73
- * Pallet `Aura`'s constants
74
- **/
75
- aura: {
76
- /**
77
- * Generic pallet constant
78
- **/
79
- [name: string]: any;
80
- };
81
- /**
82
- * Pallet `Timestamp`'s constants
83
- **/
84
- timestamp: {
85
- /**
86
- * The minimum period between blocks. Beware that this is different to the *expected*
87
- * period that the block production apparatus provides. Your chosen consensus system will
88
- * generally work with this to determine a sensible block time. e.g. For Aura, it will be
89
- * double this period on default settings.
90
- **/
91
- minimumPeriod: bigint;
92
- /**
93
- * Generic pallet constant
94
- **/
95
- [name: string]: any;
96
- };
97
- /**
98
- * Pallet `Balances`'s constants
99
- **/
100
- balances: {
101
- /**
102
- * The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!
103
- *
104
- * If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for
105
- * this pallet. However, you do so at your own risk: this will open up a major DoS vector.
106
- * In case you have multiple sources of provider references, you may also get unexpected
107
- * behaviour if you set this to zero.
108
- *
109
- * Bottom line: Do yourself a favour and make it at least one!
110
- **/
111
- existentialDeposit: bigint;
112
- /**
113
- * The maximum number of locks that should exist on an account.
114
- * Not strictly enforced, but used for weight estimation.
115
- **/
116
- maxLocks: number;
117
- /**
118
- * The maximum number of named reserves that can exist on an account.
119
- **/
120
- maxReserves: number;
121
- /**
122
- * The maximum number of holds that can exist on an account at any time.
123
- **/
124
- maxHolds: number;
125
- /**
126
- * The maximum number of individual freeze locks that can exist on an account at any time.
127
- **/
128
- maxFreezes: number;
129
- /**
130
- * Generic pallet constant
131
- **/
132
- [name: string]: any;
133
- };
134
- /**
135
- * Pallet `TransactionPayment`'s constants
136
- **/
137
- transactionPayment: {
138
- /**
139
- * A fee mulitplier for `Operational` extrinsics to compute "virtual tip" to boost their
140
- * `priority`
141
- *
142
- * This value is multipled by the `final_fee` to obtain a "virtual tip" that is later
143
- * added to a tip component in regular `priority` calculations.
144
- * It means that a `Normal` transaction can front-run a similarly-sized `Operational`
145
- * extrinsic (with no tip), by including a tip value greater than the virtual tip.
146
- *
147
- * ```rust,ignore
148
- * // For `Normal`
149
- * let priority = priority_calc(tip);
150
- *
151
- * // For `Operational`
152
- * let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier;
153
- * let priority = priority_calc(tip + virtual_tip);
154
- * ```
155
- *
156
- * Note that since we use `final_fee` the multiplier applies also to the regular `tip`
157
- * sent with the transaction. So, not only does the transaction get a priority bump based
158
- * on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational`
159
- * transactions.
160
- **/
161
- operationalFeeMultiplier: number;
162
- /**
163
- * Generic pallet constant
164
- **/
165
- [name: string]: any;
166
- };
167
- /**
168
- * Pallet `Authorship`'s constants
169
- **/
170
- authorship: {
171
- /**
172
- * Generic pallet constant
173
- **/
174
- [name: string]: any;
175
- };
176
- /**
177
- * Pallet `Staking`'s constants
178
- **/
179
- staking: {
180
- /**
181
- * Maximum number of nominations per nominator.
182
- **/
183
- maxNominations: number;
184
- /**
185
- * Number of eras to keep in history.
186
- *
187
- * Following information is kept for eras in `[current_era -
188
- * HistoryDepth, current_era]`: `ErasStakers`, `ErasStakersClipped`,
189
- * `ErasValidatorPrefs`, `ErasValidatorReward`, `ErasRewardPoints`,
190
- * `ErasTotalStake`, `ErasStartSessionIndex`,
191
- * `StakingLedger.claimed_rewards`.
192
- *
193
- * Must be more than the number of eras delayed by session.
194
- * I.e. active era must always be in history. I.e. `active_era >
195
- * current_era - history_depth` must be guaranteed.
196
- *
197
- * If migrating an existing pallet from storage value to config value,
198
- * this should be set to same value or greater as in storage.
199
- *
200
- * Note: `HistoryDepth` is used as the upper bound for the `BoundedVec`
201
- * item `StakingLedger.claimed_rewards`. Setting this value lower than
202
- * the existing value can lead to inconsistencies in the
203
- * `StakingLedger` and will need to be handled properly in a migration.
204
- * The test `reducing_history_depth_abrupt` shows this effect.
205
- **/
206
- historyDepth: number;
207
- /**
208
- * Number of sessions per era.
209
- **/
210
- sessionsPerEra: number;
211
- /**
212
- * Number of eras that staked funds must remain bonded for.
213
- **/
214
- bondingDuration: number;
215
- /**
216
- * Number of eras that slashes are deferred by, after computation.
217
- *
218
- * This should be less than the bonding duration. Set to 0 if slashes
219
- * should be applied immediately, without opportunity for intervention.
220
- **/
221
- slashDeferDuration: number;
222
- /**
223
- * The maximum number of nominators rewarded for each validator.
224
- *
225
- * For each validator only the `$MaxNominatorRewardedPerValidator` biggest stakers can
226
- * claim their reward. This used to limit the i/o cost for the nominator payout.
227
- **/
228
- maxNominatorRewardedPerValidator: number;
229
- /**
230
- * The maximum number of `unlocking` chunks a [`StakingLedger`] can
231
- * have. Effectively determines how many unique eras a staker may be
232
- * unbonding in.
233
- *
234
- * Note: `MaxUnlockingChunks` is used as the upper bound for the
235
- * `BoundedVec` item `StakingLedger.unlocking`. Setting this value
236
- * lower than the existing value can lead to inconsistencies in the
237
- * `StakingLedger` and will need to be handled properly in a runtime
238
- * migration. The test `reducing_max_unlocking_chunks_abrupt` shows
239
- * this effect.
240
- **/
241
- maxUnlockingChunks: number;
242
- /**
243
- * Generic pallet constant
244
- **/
245
- [name: string]: any;
246
- };
247
- /**
248
- * Pallet `History`'s constants
249
- **/
250
- history: {
251
- /**
252
- * Generic pallet constant
253
- **/
254
- [name: string]: any;
255
- };
256
- /**
257
- * Pallet `Session`'s constants
258
- **/
259
- session: {
260
- /**
261
- * Generic pallet constant
262
- **/
263
- [name: string]: any;
264
- };
265
- /**
266
- * Pallet `Aleph`'s constants
267
- **/
268
- aleph: {
269
- /**
270
- * Generic pallet constant
271
- **/
272
- [name: string]: any;
273
- };
274
- /**
275
- * Pallet `Elections`'s constants
276
- **/
277
- elections: {
278
- /**
279
- * The maximum number of winners that can be elected by this `ElectionProvider`
280
- * implementation.
281
- *
282
- * Note: This must always be greater or equal to `T::DataProvider::desired_targets()`.
283
- **/
284
- maxWinners: number;
285
- /**
286
- * Generic pallet constant
287
- **/
288
- [name: string]: any;
289
- };
290
- /**
291
- * Pallet `Treasury`'s constants
292
- **/
293
- treasury: {
294
- /**
295
- * Fraction of a proposal's value that should be bonded in order to place the proposal.
296
- * An accepted proposal gets these back. A rejected proposal does not.
297
- **/
298
- proposalBond: Permill;
299
- /**
300
- * Minimum amount of funds that should be placed in a deposit for making a proposal.
301
- **/
302
- proposalBondMinimum: bigint;
303
- /**
304
- * Maximum amount of funds that should be placed in a deposit for making a proposal.
305
- **/
306
- proposalBondMaximum: bigint | undefined;
307
- /**
308
- * Period between successive spends.
309
- **/
310
- spendPeriod: number;
311
- /**
312
- * Percentage of spare funds (if any) that are burnt per spend period.
313
- **/
314
- burn: Permill;
315
- /**
316
- * The treasury's pallet id, used for deriving its sovereign account ID.
317
- **/
318
- palletId: FrameSupportPalletId;
319
- /**
320
- * The maximum number of approvals that can wait in the spending queue.
321
- *
322
- * NOTE: This parameter is also used within the Bounties Pallet extension if enabled.
323
- **/
324
- maxApprovals: number;
325
- /**
326
- * Generic pallet constant
327
- **/
328
- [name: string]: any;
329
- };
330
- /**
331
- * Pallet `Vesting`'s constants
332
- **/
333
- vesting: {
334
- /**
335
- * The minimum amount transferred to call `vested_transfer`.
336
- **/
337
- minVestedTransfer: bigint;
338
- maxVestingSchedules: number;
339
- /**
340
- * Generic pallet constant
341
- **/
342
- [name: string]: any;
343
- };
344
- /**
345
- * Pallet `Utility`'s constants
346
- **/
347
- utility: {
348
- /**
349
- * The limit on the number of batched calls.
350
- **/
351
- batchedCallsLimit: number;
352
- /**
353
- * Generic pallet constant
354
- **/
355
- [name: string]: any;
356
- };
357
- /**
358
- * Pallet `Multisig`'s constants
359
- **/
360
- multisig: {
361
- /**
362
- * The base amount of currency needed to reserve for creating a multisig execution or to
363
- * store a dispatch call for later.
364
- *
365
- * This is held for an additional storage item whose value size is
366
- * `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is
367
- * `32 + sizeof(AccountId)` bytes.
368
- **/
369
- depositBase: bigint;
370
- /**
371
- * The amount of currency needed per unit threshold when creating a multisig execution.
372
- *
373
- * This is held for adding 32 bytes more into a pre-existing storage value.
374
- **/
375
- depositFactor: bigint;
376
- /**
377
- * The maximum amount of signatories allowed in the multisig.
378
- **/
379
- maxSignatories: number;
380
- /**
381
- * Generic pallet constant
382
- **/
383
- [name: string]: any;
384
- };
385
- /**
386
- * Pallet `Sudo`'s constants
387
- **/
388
- sudo: {
389
- /**
390
- * Generic pallet constant
391
- **/
392
- [name: string]: any;
393
- };
394
- /**
395
- * Pallet `Contracts`'s constants
396
- **/
397
- contracts: {
398
- /**
399
- * Cost schedule and limits.
400
- **/
401
- schedule: PalletContractsSchedule;
402
- /**
403
- * The amount of balance a caller has to pay for each byte of storage.
404
- *
405
- * # Note
406
- *
407
- * Changing this value for an existing chain might need a storage migration.
408
- **/
409
- depositPerByte: bigint;
410
- /**
411
- * Fallback value to limit the storage deposit if it's not being set by the caller.
412
- **/
413
- defaultDepositLimit: bigint;
414
- /**
415
- * The amount of balance a caller has to pay for each storage item.
416
- *
417
- * # Note
418
- *
419
- * Changing this value for an existing chain might need a storage migration.
420
- **/
421
- depositPerItem: bigint;
422
- /**
423
- * The maximum length of a contract code in bytes.
424
- *
425
- * The value should be chosen carefully taking into the account the overall memory limit
426
- * your runtime has, as well as the [maximum allowed callstack
427
- * depth](#associatedtype.CallStack). Look into the `integrity_test()` for some insights.
428
- **/
429
- maxCodeLen: number;
430
- /**
431
- * The maximum allowable length in bytes for storage keys.
432
- **/
433
- maxStorageKeyLen: number;
434
- /**
435
- * Make contract callable functions marked as `#[unstable]` available.
436
- *
437
- * Contracts that use `#[unstable]` functions won't be able to be uploaded unless
438
- * this is set to `true`. This is only meant for testnets and dev nodes in order to
439
- * experiment with new features.
440
- *
441
- * # Warning
442
- *
443
- * Do **not** set to `true` on productions chains.
444
- **/
445
- unsafeUnstableInterface: boolean;
446
- /**
447
- * The maximum length of the debug buffer in bytes.
448
- **/
449
- maxDebugBufferLen: number;
450
- /**
451
- * Generic pallet constant
452
- **/
453
- [name: string]: any;
454
- };
455
- /**
456
- * Pallet `NominationPools`'s constants
457
- **/
458
- nominationPools: {
459
- /**
460
- * The nomination pool's pallet id.
461
- **/
462
- palletId: FrameSupportPalletId;
463
- /**
464
- * The maximum pool points-to-balance ratio that an `open` pool can have.
465
- *
466
- * This is important in the event slashing takes place and the pool's points-to-balance
467
- * ratio becomes disproportional.
468
- *
469
- * Moreover, this relates to the `RewardCounter` type as well, as the arithmetic operations
470
- * are a function of number of points, and by setting this value to e.g. 10, you ensure
471
- * that the total number of points in the system are at most 10 times the total_issuance of
472
- * the chain, in the absolute worse case.
473
- *
474
- * For a value of 10, the threshold would be a pool points-to-balance ratio of 10:1.
475
- * Such a scenario would also be the equivalent of the pool being 90% slashed.
476
- **/
477
- maxPointsToBalance: number;
478
- /**
479
- * Generic pallet constant
480
- **/
481
- [name: string]: any;
482
- };
483
- /**
484
- * Pallet `Identity`'s constants
485
- **/
486
- identity: {
487
- /**
488
- * The amount held on deposit for a registered identity
489
- **/
490
- basicDeposit: bigint;
491
- /**
492
- * The amount held on deposit per additional field for a registered identity.
493
- **/
494
- fieldDeposit: bigint;
495
- /**
496
- * The amount held on deposit for a registered subaccount. This should account for the fact
497
- * that one storage item's value will increase by the size of an account ID, and there will
498
- * be another trie item whose value is the size of an account ID plus 32 bytes.
499
- **/
500
- subAccountDeposit: bigint;
501
- /**
502
- * The maximum number of sub-accounts allowed per identified account.
503
- **/
504
- maxSubAccounts: number;
505
- /**
506
- * Maximum number of additional fields that may be stored in an ID. Needed to bound the I/O
507
- * required to access an identity, but can be pretty high.
508
- **/
509
- maxAdditionalFields: number;
510
- /**
511
- * Maxmimum number of registrars allowed in the system. Needed to bound the complexity
512
- * of, e.g., updating judgements.
513
- **/
514
- maxRegistrars: number;
515
- /**
516
- * Generic pallet constant
517
- **/
518
- [name: string]: any;
519
- };
520
- /**
521
- * Pallet `CommitteeManagement`'s constants
522
- **/
523
- committeeManagement: {
524
- /**
525
- * Nr of blocks in the session.
526
- **/
527
- sessionPeriod: number;
528
- /**
529
- * Generic pallet constant
530
- **/
531
- [name: string]: any;
532
- };
20
+ * Block & extrinsics weights: base values and limits.
21
+ **/
22
+ blockWeights: FrameSystemLimitsBlockWeights;
23
+
24
+ /**
25
+ * The maximum length of a block (in bytes).
26
+ **/
27
+ blockLength: FrameSystemLimitsBlockLength;
28
+
29
+ /**
30
+ * Maximum number of block number to block hash mappings to keep (oldest pruned first).
31
+ **/
32
+ blockHashCount: number;
33
+
34
+ /**
35
+ * The weight of runtime database operations the runtime can invoke.
36
+ **/
37
+ dbWeight: SpWeightsRuntimeDbWeight;
38
+
39
+ /**
40
+ * Get the chain's current version.
41
+ **/
42
+ version: RuntimeVersion;
43
+
44
+ /**
45
+ * The designated SS58 prefix of this chain.
46
+ *
47
+ * This replaces the "ss58Format" property declared in the chain spec. Reason is
48
+ * that the runtime should know about the prefix in order to make use of it as
49
+ * an identifier of the chain.
50
+ **/
51
+ ss58Prefix: number;
52
+
53
+ /**
54
+ * Generic pallet constant
55
+ **/
56
+ [name: string]: any;
57
+ };
58
+ /**
59
+ * Pallet `RandomnessCollectiveFlip`'s constants
60
+ **/
61
+ randomnessCollectiveFlip: {
62
+ /**
63
+ * Generic pallet constant
64
+ **/
65
+ [name: string]: any;
66
+ };
67
+ /**
68
+ * Pallet `Scheduler`'s constants
69
+ **/
70
+ scheduler: {
71
+ /**
72
+ * The maximum weight that may be scheduled per block for any dispatchables.
73
+ **/
74
+ maximumWeight: SpWeightsWeightV2Weight;
75
+
76
+ /**
77
+ * The maximum number of scheduled calls in the queue for a single block.
78
+ *
79
+ * NOTE:
80
+ * + Dependent pallets' benchmarks might require a higher limit for the setting. Set a
81
+ * higher limit under `runtime-benchmarks` feature.
82
+ **/
83
+ maxScheduledPerBlock: number;
84
+
85
+ /**
86
+ * Generic pallet constant
87
+ **/
88
+ [name: string]: any;
89
+ };
90
+ /**
91
+ * Pallet `Aura`'s constants
92
+ **/
93
+ aura: {
94
+ /**
95
+ * Generic pallet constant
96
+ **/
97
+ [name: string]: any;
98
+ };
99
+ /**
100
+ * Pallet `Timestamp`'s constants
101
+ **/
102
+ timestamp: {
103
+ /**
104
+ * The minimum period between blocks. Beware that this is different to the *expected*
105
+ * period that the block production apparatus provides. Your chosen consensus system will
106
+ * generally work with this to determine a sensible block time. e.g. For Aura, it will be
107
+ * double this period on default settings.
108
+ **/
109
+ minimumPeriod: bigint;
110
+
111
+ /**
112
+ * Generic pallet constant
113
+ **/
114
+ [name: string]: any;
115
+ };
116
+ /**
117
+ * Pallet `Balances`'s constants
118
+ **/
119
+ balances: {
120
+ /**
121
+ * The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!
122
+ *
123
+ * If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for
124
+ * this pallet. However, you do so at your own risk: this will open up a major DoS vector.
125
+ * In case you have multiple sources of provider references, you may also get unexpected
126
+ * behaviour if you set this to zero.
127
+ *
128
+ * Bottom line: Do yourself a favour and make it at least one!
129
+ **/
130
+ existentialDeposit: bigint;
131
+
132
+ /**
133
+ * The maximum number of locks that should exist on an account.
134
+ * Not strictly enforced, but used for weight estimation.
135
+ **/
136
+ maxLocks: number;
137
+
138
+ /**
139
+ * The maximum number of named reserves that can exist on an account.
140
+ **/
141
+ maxReserves: number;
142
+
143
+ /**
144
+ * The maximum number of holds that can exist on an account at any time.
145
+ **/
146
+ maxHolds: number;
147
+
148
+ /**
149
+ * The maximum number of individual freeze locks that can exist on an account at any time.
150
+ **/
151
+ maxFreezes: number;
152
+
153
+ /**
154
+ * Generic pallet constant
155
+ **/
156
+ [name: string]: any;
157
+ };
158
+ /**
159
+ * Pallet `TransactionPayment`'s constants
160
+ **/
161
+ transactionPayment: {
162
+ /**
163
+ * A fee mulitplier for `Operational` extrinsics to compute "virtual tip" to boost their
164
+ * `priority`
165
+ *
166
+ * This value is multipled by the `final_fee` to obtain a "virtual tip" that is later
167
+ * added to a tip component in regular `priority` calculations.
168
+ * It means that a `Normal` transaction can front-run a similarly-sized `Operational`
169
+ * extrinsic (with no tip), by including a tip value greater than the virtual tip.
170
+ *
171
+ * ```rust,ignore
172
+ * // For `Normal`
173
+ * let priority = priority_calc(tip);
174
+ *
175
+ * // For `Operational`
176
+ * let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier;
177
+ * let priority = priority_calc(tip + virtual_tip);
178
+ * ```
179
+ *
180
+ * Note that since we use `final_fee` the multiplier applies also to the regular `tip`
181
+ * sent with the transaction. So, not only does the transaction get a priority bump based
182
+ * on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational`
183
+ * transactions.
184
+ **/
185
+ operationalFeeMultiplier: number;
186
+
187
+ /**
188
+ * Generic pallet constant
189
+ **/
190
+ [name: string]: any;
191
+ };
192
+ /**
193
+ * Pallet `Authorship`'s constants
194
+ **/
195
+ authorship: {
196
+ /**
197
+ * Generic pallet constant
198
+ **/
199
+ [name: string]: any;
200
+ };
201
+ /**
202
+ * Pallet `Staking`'s constants
203
+ **/
204
+ staking: {
205
+ /**
206
+ * Maximum number of nominations per nominator.
207
+ **/
208
+ maxNominations: number;
209
+
210
+ /**
211
+ * Number of eras to keep in history.
212
+ *
213
+ * Following information is kept for eras in `[current_era -
214
+ * HistoryDepth, current_era]`: `ErasStakers`, `ErasStakersClipped`,
215
+ * `ErasValidatorPrefs`, `ErasValidatorReward`, `ErasRewardPoints`,
216
+ * `ErasTotalStake`, `ErasStartSessionIndex`,
217
+ * `StakingLedger.claimed_rewards`.
218
+ *
219
+ * Must be more than the number of eras delayed by session.
220
+ * I.e. active era must always be in history. I.e. `active_era >
221
+ * current_era - history_depth` must be guaranteed.
222
+ *
223
+ * If migrating an existing pallet from storage value to config value,
224
+ * this should be set to same value or greater as in storage.
225
+ *
226
+ * Note: `HistoryDepth` is used as the upper bound for the `BoundedVec`
227
+ * item `StakingLedger.claimed_rewards`. Setting this value lower than
228
+ * the existing value can lead to inconsistencies in the
229
+ * `StakingLedger` and will need to be handled properly in a migration.
230
+ * The test `reducing_history_depth_abrupt` shows this effect.
231
+ **/
232
+ historyDepth: number;
233
+
234
+ /**
235
+ * Number of sessions per era.
236
+ **/
237
+ sessionsPerEra: number;
238
+
239
+ /**
240
+ * Number of eras that staked funds must remain bonded for.
241
+ **/
242
+ bondingDuration: number;
243
+
244
+ /**
245
+ * Number of eras that slashes are deferred by, after computation.
246
+ *
247
+ * This should be less than the bonding duration. Set to 0 if slashes
248
+ * should be applied immediately, without opportunity for intervention.
249
+ **/
250
+ slashDeferDuration: number;
251
+
252
+ /**
253
+ * The maximum number of nominators rewarded for each validator.
254
+ *
255
+ * For each validator only the `$MaxNominatorRewardedPerValidator` biggest stakers can
256
+ * claim their reward. This used to limit the i/o cost for the nominator payout.
257
+ **/
258
+ maxNominatorRewardedPerValidator: number;
259
+
260
+ /**
261
+ * The maximum number of `unlocking` chunks a [`StakingLedger`] can
262
+ * have. Effectively determines how many unique eras a staker may be
263
+ * unbonding in.
264
+ *
265
+ * Note: `MaxUnlockingChunks` is used as the upper bound for the
266
+ * `BoundedVec` item `StakingLedger.unlocking`. Setting this value
267
+ * lower than the existing value can lead to inconsistencies in the
268
+ * `StakingLedger` and will need to be handled properly in a runtime
269
+ * migration. The test `reducing_max_unlocking_chunks_abrupt` shows
270
+ * this effect.
271
+ **/
272
+ maxUnlockingChunks: number;
273
+
274
+ /**
275
+ * Generic pallet constant
276
+ **/
277
+ [name: string]: any;
278
+ };
279
+ /**
280
+ * Pallet `History`'s constants
281
+ **/
282
+ history: {
283
+ /**
284
+ * Generic pallet constant
285
+ **/
286
+ [name: string]: any;
287
+ };
288
+ /**
289
+ * Pallet `Session`'s constants
290
+ **/
291
+ session: {
292
+ /**
293
+ * Generic pallet constant
294
+ **/
295
+ [name: string]: any;
296
+ };
297
+ /**
298
+ * Pallet `Aleph`'s constants
299
+ **/
300
+ aleph: {
301
+ /**
302
+ * Generic pallet constant
303
+ **/
304
+ [name: string]: any;
305
+ };
306
+ /**
307
+ * Pallet `Elections`'s constants
308
+ **/
309
+ elections: {
310
+ /**
311
+ * The maximum number of winners that can be elected by this `ElectionProvider`
312
+ * implementation.
313
+ *
314
+ * Note: This must always be greater or equal to `T::DataProvider::desired_targets()`.
315
+ **/
316
+ maxWinners: number;
317
+
318
+ /**
319
+ * Generic pallet constant
320
+ **/
321
+ [name: string]: any;
322
+ };
323
+ /**
324
+ * Pallet `Treasury`'s constants
325
+ **/
326
+ treasury: {
327
+ /**
328
+ * Fraction of a proposal's value that should be bonded in order to place the proposal.
329
+ * An accepted proposal gets these back. A rejected proposal does not.
330
+ **/
331
+ proposalBond: Permill;
332
+
333
+ /**
334
+ * Minimum amount of funds that should be placed in a deposit for making a proposal.
335
+ **/
336
+ proposalBondMinimum: bigint;
337
+
338
+ /**
339
+ * Maximum amount of funds that should be placed in a deposit for making a proposal.
340
+ **/
341
+ proposalBondMaximum: bigint | undefined;
342
+
343
+ /**
344
+ * Period between successive spends.
345
+ **/
346
+ spendPeriod: number;
347
+
348
+ /**
349
+ * Percentage of spare funds (if any) that are burnt per spend period.
350
+ **/
351
+ burn: Permill;
352
+
353
+ /**
354
+ * The treasury's pallet id, used for deriving its sovereign account ID.
355
+ **/
356
+ palletId: FrameSupportPalletId;
357
+
358
+ /**
359
+ * The maximum number of approvals that can wait in the spending queue.
360
+ *
361
+ * NOTE: This parameter is also used within the Bounties Pallet extension if enabled.
362
+ **/
363
+ maxApprovals: number;
364
+
365
+ /**
366
+ * Generic pallet constant
367
+ **/
368
+ [name: string]: any;
369
+ };
370
+ /**
371
+ * Pallet `Vesting`'s constants
372
+ **/
373
+ vesting: {
374
+ /**
375
+ * The minimum amount transferred to call `vested_transfer`.
376
+ **/
377
+ minVestedTransfer: bigint;
378
+ maxVestingSchedules: number;
379
+
380
+ /**
381
+ * Generic pallet constant
382
+ **/
383
+ [name: string]: any;
384
+ };
385
+ /**
386
+ * Pallet `Utility`'s constants
387
+ **/
388
+ utility: {
389
+ /**
390
+ * The limit on the number of batched calls.
391
+ **/
392
+ batchedCallsLimit: number;
393
+
394
+ /**
395
+ * Generic pallet constant
396
+ **/
397
+ [name: string]: any;
398
+ };
399
+ /**
400
+ * Pallet `Multisig`'s constants
401
+ **/
402
+ multisig: {
403
+ /**
404
+ * The base amount of currency needed to reserve for creating a multisig execution or to
405
+ * store a dispatch call for later.
406
+ *
407
+ * This is held for an additional storage item whose value size is
408
+ * `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is
409
+ * `32 + sizeof(AccountId)` bytes.
410
+ **/
411
+ depositBase: bigint;
412
+
413
+ /**
414
+ * The amount of currency needed per unit threshold when creating a multisig execution.
415
+ *
416
+ * This is held for adding 32 bytes more into a pre-existing storage value.
417
+ **/
418
+ depositFactor: bigint;
419
+
420
+ /**
421
+ * The maximum amount of signatories allowed in the multisig.
422
+ **/
423
+ maxSignatories: number;
424
+
425
+ /**
426
+ * Generic pallet constant
427
+ **/
428
+ [name: string]: any;
429
+ };
430
+ /**
431
+ * Pallet `Sudo`'s constants
432
+ **/
433
+ sudo: {
434
+ /**
435
+ * Generic pallet constant
436
+ **/
437
+ [name: string]: any;
438
+ };
439
+ /**
440
+ * Pallet `Contracts`'s constants
441
+ **/
442
+ contracts: {
443
+ /**
444
+ * Cost schedule and limits.
445
+ **/
446
+ schedule: PalletContractsSchedule;
447
+
448
+ /**
449
+ * The amount of balance a caller has to pay for each byte of storage.
450
+ *
451
+ * # Note
452
+ *
453
+ * Changing this value for an existing chain might need a storage migration.
454
+ **/
455
+ depositPerByte: bigint;
456
+
457
+ /**
458
+ * Fallback value to limit the storage deposit if it's not being set by the caller.
459
+ **/
460
+ defaultDepositLimit: bigint;
461
+
462
+ /**
463
+ * The amount of balance a caller has to pay for each storage item.
464
+ *
465
+ * # Note
466
+ *
467
+ * Changing this value for an existing chain might need a storage migration.
468
+ **/
469
+ depositPerItem: bigint;
470
+
471
+ /**
472
+ * The maximum length of a contract code in bytes.
473
+ *
474
+ * The value should be chosen carefully taking into the account the overall memory limit
475
+ * your runtime has, as well as the [maximum allowed callstack
476
+ * depth](#associatedtype.CallStack). Look into the `integrity_test()` for some insights.
477
+ **/
478
+ maxCodeLen: number;
479
+
480
+ /**
481
+ * The maximum allowable length in bytes for storage keys.
482
+ **/
483
+ maxStorageKeyLen: number;
484
+
485
+ /**
486
+ * Make contract callable functions marked as `#[unstable]` available.
487
+ *
488
+ * Contracts that use `#[unstable]` functions won't be able to be uploaded unless
489
+ * this is set to `true`. This is only meant for testnets and dev nodes in order to
490
+ * experiment with new features.
491
+ *
492
+ * # Warning
493
+ *
494
+ * Do **not** set to `true` on productions chains.
495
+ **/
496
+ unsafeUnstableInterface: boolean;
497
+
498
+ /**
499
+ * The maximum length of the debug buffer in bytes.
500
+ **/
501
+ maxDebugBufferLen: number;
502
+
503
+ /**
504
+ * Generic pallet constant
505
+ **/
506
+ [name: string]: any;
507
+ };
508
+ /**
509
+ * Pallet `NominationPools`'s constants
510
+ **/
511
+ nominationPools: {
512
+ /**
513
+ * The nomination pool's pallet id.
514
+ **/
515
+ palletId: FrameSupportPalletId;
516
+
517
+ /**
518
+ * The maximum pool points-to-balance ratio that an `open` pool can have.
519
+ *
520
+ * This is important in the event slashing takes place and the pool's points-to-balance
521
+ * ratio becomes disproportional.
522
+ *
523
+ * Moreover, this relates to the `RewardCounter` type as well, as the arithmetic operations
524
+ * are a function of number of points, and by setting this value to e.g. 10, you ensure
525
+ * that the total number of points in the system are at most 10 times the total_issuance of
526
+ * the chain, in the absolute worse case.
527
+ *
528
+ * For a value of 10, the threshold would be a pool points-to-balance ratio of 10:1.
529
+ * Such a scenario would also be the equivalent of the pool being 90% slashed.
530
+ **/
531
+ maxPointsToBalance: number;
532
+
533
+ /**
534
+ * Generic pallet constant
535
+ **/
536
+ [name: string]: any;
537
+ };
538
+ /**
539
+ * Pallet `Identity`'s constants
540
+ **/
541
+ identity: {
542
+ /**
543
+ * The amount held on deposit for a registered identity
544
+ **/
545
+ basicDeposit: bigint;
546
+
547
+ /**
548
+ * The amount held on deposit per additional field for a registered identity.
549
+ **/
550
+ fieldDeposit: bigint;
551
+
552
+ /**
553
+ * The amount held on deposit for a registered subaccount. This should account for the fact
554
+ * that one storage item's value will increase by the size of an account ID, and there will
555
+ * be another trie item whose value is the size of an account ID plus 32 bytes.
556
+ **/
557
+ subAccountDeposit: bigint;
558
+
559
+ /**
560
+ * The maximum number of sub-accounts allowed per identified account.
561
+ **/
562
+ maxSubAccounts: number;
563
+
564
+ /**
565
+ * Maximum number of additional fields that may be stored in an ID. Needed to bound the I/O
566
+ * required to access an identity, but can be pretty high.
567
+ **/
568
+ maxAdditionalFields: number;
569
+
570
+ /**
571
+ * Maxmimum number of registrars allowed in the system. Needed to bound the complexity
572
+ * of, e.g., updating judgements.
573
+ **/
574
+ maxRegistrars: number;
575
+
576
+ /**
577
+ * Generic pallet constant
578
+ **/
579
+ [name: string]: any;
580
+ };
581
+ /**
582
+ * Pallet `CommitteeManagement`'s constants
583
+ **/
584
+ committeeManagement: {
585
+ /**
586
+ * Nr of blocks in the session.
587
+ **/
588
+ sessionPeriod: number;
589
+
590
+ /**
591
+ * Generic pallet constant
592
+ **/
593
+ [name: string]: any;
594
+ };
533
595
  }