@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,1971 @@
1
+ import type { GenericChainConsts } from '@dedot/types';
2
+ import type { RuntimeVersion, Perbill, FixedBytes, Permill, Percent, Perquintill, Bytes } from '@dedot/codecs';
3
+ import type { FrameSystemLimitsBlockWeights, FrameSystemLimitsBlockLength, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, FrameSupportPalletId, PalletContractsSchedule, PalletContractsEnvironment, PalletNftsBitFlagsPalletFeature, 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 `Utility`'s constants
44
+ **/
45
+ utility: {
46
+ /**
47
+ * The limit on the number of batched calls.
48
+ **/
49
+ batchedCallsLimit: number;
50
+ /**
51
+ * Generic pallet constant
52
+ **/
53
+ [name: string]: any;
54
+ };
55
+ /**
56
+ * Pallet `Babe`'s constants
57
+ **/
58
+ babe: {
59
+ /**
60
+ * The amount of time, in slots, that each epoch should last.
61
+ * NOTE: Currently it is not possible to change the epoch duration after
62
+ * the chain has started. Attempting to do so will brick block production.
63
+ **/
64
+ epochDuration: bigint;
65
+ /**
66
+ * The expected average block time at which BABE should be creating
67
+ * blocks. Since BABE is probabilistic it is not trivial to figure out
68
+ * what the expected average block time should be based on the slot
69
+ * duration and the security parameter `c` (where `1 - c` represents
70
+ * the probability of a slot being empty).
71
+ **/
72
+ expectedBlockTime: bigint;
73
+ /**
74
+ * Max number of authorities allowed
75
+ **/
76
+ maxAuthorities: number;
77
+ /**
78
+ * The maximum number of nominators for each validator.
79
+ **/
80
+ maxNominators: number;
81
+ /**
82
+ * Generic pallet constant
83
+ **/
84
+ [name: string]: any;
85
+ };
86
+ /**
87
+ * Pallet `Timestamp`'s constants
88
+ **/
89
+ timestamp: {
90
+ /**
91
+ * The minimum period between blocks. Beware that this is different to the *expected*
92
+ * period that the block production apparatus provides. Your chosen consensus system will
93
+ * generally work with this to determine a sensible block time. e.g. For Aura, it will be
94
+ * double this period on default settings.
95
+ **/
96
+ minimumPeriod: bigint;
97
+ /**
98
+ * Generic pallet constant
99
+ **/
100
+ [name: string]: any;
101
+ };
102
+ /**
103
+ * Pallet `Authorship`'s constants
104
+ **/
105
+ authorship: {
106
+ /**
107
+ * Generic pallet constant
108
+ **/
109
+ [name: string]: any;
110
+ };
111
+ /**
112
+ * Pallet `Indices`'s constants
113
+ **/
114
+ indices: {
115
+ /**
116
+ * The deposit needed for reserving an index.
117
+ **/
118
+ deposit: bigint;
119
+ /**
120
+ * Generic pallet constant
121
+ **/
122
+ [name: string]: any;
123
+ };
124
+ /**
125
+ * Pallet `Balances`'s constants
126
+ **/
127
+ balances: {
128
+ /**
129
+ * The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!
130
+ *
131
+ * If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for
132
+ * this pallet. However, you do so at your own risk: this will open up a major DoS vector.
133
+ * In case you have multiple sources of provider references, you may also get unexpected
134
+ * behaviour if you set this to zero.
135
+ *
136
+ * Bottom line: Do yourself a favour and make it at least one!
137
+ **/
138
+ existentialDeposit: bigint;
139
+ /**
140
+ * The maximum number of locks that should exist on an account.
141
+ * Not strictly enforced, but used for weight estimation.
142
+ **/
143
+ maxLocks: number;
144
+ /**
145
+ * The maximum number of named reserves that can exist on an account.
146
+ **/
147
+ maxReserves: number;
148
+ /**
149
+ * The maximum number of holds that can exist on an account at any time.
150
+ **/
151
+ maxHolds: number;
152
+ /**
153
+ * The maximum number of individual freeze locks that can exist on an account at any time.
154
+ **/
155
+ maxFreezes: number;
156
+ /**
157
+ * Generic pallet constant
158
+ **/
159
+ [name: string]: any;
160
+ };
161
+ /**
162
+ * Pallet `TransactionPayment`'s constants
163
+ **/
164
+ transactionPayment: {
165
+ /**
166
+ * A fee mulitplier for `Operational` extrinsics to compute "virtual tip" to boost their
167
+ * `priority`
168
+ *
169
+ * This value is multipled by the `final_fee` to obtain a "virtual tip" that is later
170
+ * added to a tip component in regular `priority` calculations.
171
+ * It means that a `Normal` transaction can front-run a similarly-sized `Operational`
172
+ * extrinsic (with no tip), by including a tip value greater than the virtual tip.
173
+ *
174
+ * ```rust,ignore
175
+ * // For `Normal`
176
+ * let priority = priority_calc(tip);
177
+ *
178
+ * // For `Operational`
179
+ * let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier;
180
+ * let priority = priority_calc(tip + virtual_tip);
181
+ * ```
182
+ *
183
+ * Note that since we use `final_fee` the multiplier applies also to the regular `tip`
184
+ * sent with the transaction. So, not only does the transaction get a priority bump based
185
+ * on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational`
186
+ * transactions.
187
+ **/
188
+ operationalFeeMultiplier: number;
189
+ /**
190
+ * Generic pallet constant
191
+ **/
192
+ [name: string]: any;
193
+ };
194
+ /**
195
+ * Pallet `AssetTxPayment`'s constants
196
+ **/
197
+ assetTxPayment: {
198
+ /**
199
+ * Generic pallet constant
200
+ **/
201
+ [name: string]: any;
202
+ };
203
+ /**
204
+ * Pallet `AssetConversionTxPayment`'s constants
205
+ **/
206
+ assetConversionTxPayment: {
207
+ /**
208
+ * Generic pallet constant
209
+ **/
210
+ [name: string]: any;
211
+ };
212
+ /**
213
+ * Pallet `ElectionProviderMultiPhase`'s constants
214
+ **/
215
+ electionProviderMultiPhase: {
216
+ /**
217
+ * Duration of the unsigned phase.
218
+ **/
219
+ unsignedPhase: number;
220
+ /**
221
+ * Duration of the signed phase.
222
+ **/
223
+ signedPhase: number;
224
+ /**
225
+ * The minimum amount of improvement to the solution score that defines a solution as
226
+ * "better" in the Signed phase.
227
+ **/
228
+ betterSignedThreshold: Perbill;
229
+ /**
230
+ * The minimum amount of improvement to the solution score that defines a solution as
231
+ * "better" in the Unsigned phase.
232
+ **/
233
+ betterUnsignedThreshold: Perbill;
234
+ /**
235
+ * The repeat threshold of the offchain worker.
236
+ *
237
+ * For example, if it is 5, that means that at least 5 blocks will elapse between attempts
238
+ * to submit the worker's solution.
239
+ **/
240
+ offchainRepeat: number;
241
+ /**
242
+ * The priority of the unsigned transaction submitted in the unsigned-phase
243
+ **/
244
+ minerTxPriority: bigint;
245
+ /**
246
+ * Maximum number of signed submissions that can be queued.
247
+ *
248
+ * It is best to avoid adjusting this during an election, as it impacts downstream data
249
+ * structures. In particular, `SignedSubmissionIndices<T>` is bounded on this value. If you
250
+ * update this value during an election, you _must_ ensure that
251
+ * `SignedSubmissionIndices.len()` is less than or equal to the new value. Otherwise,
252
+ * attempts to submit new solutions may cause a runtime panic.
253
+ **/
254
+ signedMaxSubmissions: number;
255
+ /**
256
+ * Maximum weight of a signed solution.
257
+ *
258
+ * If [`Config::MinerConfig`] is being implemented to submit signed solutions (outside of
259
+ * this pallet), then [`MinerConfig::solution_weight`] is used to compare against
260
+ * this value.
261
+ **/
262
+ signedMaxWeight: SpWeightsWeightV2Weight;
263
+ /**
264
+ * The maximum amount of unchecked solutions to refund the call fee for.
265
+ **/
266
+ signedMaxRefunds: number;
267
+ /**
268
+ * Base reward for a signed solution
269
+ **/
270
+ signedRewardBase: bigint;
271
+ /**
272
+ * Base deposit for a signed solution.
273
+ **/
274
+ signedDepositBase: bigint;
275
+ /**
276
+ * Per-byte deposit for a signed solution.
277
+ **/
278
+ signedDepositByte: bigint;
279
+ /**
280
+ * Per-weight deposit for a signed solution.
281
+ **/
282
+ signedDepositWeight: bigint;
283
+ /**
284
+ * The maximum number of winners that can be elected by this `ElectionProvider`
285
+ * implementation.
286
+ *
287
+ * Note: This must always be greater or equal to `T::DataProvider::desired_targets()`.
288
+ **/
289
+ maxWinners: number;
290
+ minerMaxLength: number;
291
+ minerMaxWeight: SpWeightsWeightV2Weight;
292
+ minerMaxVotesPerVoter: number;
293
+ minerMaxWinners: number;
294
+ /**
295
+ * Generic pallet constant
296
+ **/
297
+ [name: string]: any;
298
+ };
299
+ /**
300
+ * Pallet `Staking`'s constants
301
+ **/
302
+ staking: {
303
+ /**
304
+ * Number of eras to keep in history.
305
+ *
306
+ * Following information is kept for eras in `[current_era -
307
+ * HistoryDepth, current_era]`: `ErasStakers`, `ErasStakersClipped`,
308
+ * `ErasValidatorPrefs`, `ErasValidatorReward`, `ErasRewardPoints`,
309
+ * `ErasTotalStake`, `ErasStartSessionIndex`,
310
+ * `StakingLedger.claimed_rewards`.
311
+ *
312
+ * Must be more than the number of eras delayed by session.
313
+ * I.e. active era must always be in history. I.e. `active_era >
314
+ * current_era - history_depth` must be guaranteed.
315
+ *
316
+ * If migrating an existing pallet from storage value to config value,
317
+ * this should be set to same value or greater as in storage.
318
+ *
319
+ * Note: `HistoryDepth` is used as the upper bound for the `BoundedVec`
320
+ * item `StakingLedger.claimed_rewards`. Setting this value lower than
321
+ * the existing value can lead to inconsistencies in the
322
+ * `StakingLedger` and will need to be handled properly in a migration.
323
+ * The test `reducing_history_depth_abrupt` shows this effect.
324
+ **/
325
+ historyDepth: number;
326
+ /**
327
+ * Number of sessions per era.
328
+ **/
329
+ sessionsPerEra: number;
330
+ /**
331
+ * Number of eras that staked funds must remain bonded for.
332
+ **/
333
+ bondingDuration: number;
334
+ /**
335
+ * Number of eras that slashes are deferred by, after computation.
336
+ *
337
+ * This should be less than the bonding duration. Set to 0 if slashes
338
+ * should be applied immediately, without opportunity for intervention.
339
+ **/
340
+ slashDeferDuration: number;
341
+ /**
342
+ * The maximum number of nominators rewarded for each validator.
343
+ *
344
+ * For each validator only the `$MaxNominatorRewardedPerValidator` biggest stakers can
345
+ * claim their reward. This used to limit the i/o cost for the nominator payout.
346
+ **/
347
+ maxNominatorRewardedPerValidator: number;
348
+ /**
349
+ * The maximum number of `unlocking` chunks a [`StakingLedger`] can
350
+ * have. Effectively determines how many unique eras a staker may be
351
+ * unbonding in.
352
+ *
353
+ * Note: `MaxUnlockingChunks` is used as the upper bound for the
354
+ * `BoundedVec` item `StakingLedger.unlocking`. Setting this value
355
+ * lower than the existing value can lead to inconsistencies in the
356
+ * `StakingLedger` and will need to be handled properly in a runtime
357
+ * migration. The test `reducing_max_unlocking_chunks_abrupt` shows
358
+ * this effect.
359
+ **/
360
+ maxUnlockingChunks: number;
361
+ /**
362
+ * Generic pallet constant
363
+ **/
364
+ [name: string]: any;
365
+ };
366
+ /**
367
+ * Pallet `Session`'s constants
368
+ **/
369
+ session: {
370
+ /**
371
+ * Generic pallet constant
372
+ **/
373
+ [name: string]: any;
374
+ };
375
+ /**
376
+ * Pallet `Democracy`'s constants
377
+ **/
378
+ democracy: {
379
+ /**
380
+ * The period between a proposal being approved and enacted.
381
+ *
382
+ * It should generally be a little more than the unstake period to ensure that
383
+ * voting stakers have an opportunity to remove themselves from the system in the case
384
+ * where they are on the losing side of a vote.
385
+ **/
386
+ enactmentPeriod: number;
387
+ /**
388
+ * How often (in blocks) new public referenda are launched.
389
+ **/
390
+ launchPeriod: number;
391
+ /**
392
+ * How often (in blocks) to check for new votes.
393
+ **/
394
+ votingPeriod: number;
395
+ /**
396
+ * The minimum period of vote locking.
397
+ *
398
+ * It should be no shorter than enactment period to ensure that in the case of an approval,
399
+ * those successful voters are locked into the consequences that their votes entail.
400
+ **/
401
+ voteLockingPeriod: number;
402
+ /**
403
+ * The minimum amount to be used as a deposit for a public referendum proposal.
404
+ **/
405
+ minimumDeposit: bigint;
406
+ /**
407
+ * Indicator for whether an emergency origin is even allowed to happen. Some chains may
408
+ * want to set this permanently to `false`, others may want to condition it on things such
409
+ * as an upgrade having happened recently.
410
+ **/
411
+ instantAllowed: boolean;
412
+ /**
413
+ * Minimum voting period allowed for a fast-track referendum.
414
+ **/
415
+ fastTrackVotingPeriod: number;
416
+ /**
417
+ * Period in blocks where an external proposal may not be re-submitted after being vetoed.
418
+ **/
419
+ cooloffPeriod: number;
420
+ /**
421
+ * The maximum number of votes for an account.
422
+ *
423
+ * Also used to compute weight, an overly big value can
424
+ * lead to extrinsic with very big weight: see `delegate` for instance.
425
+ **/
426
+ maxVotes: number;
427
+ /**
428
+ * The maximum number of public proposals that can exist at any time.
429
+ **/
430
+ maxProposals: number;
431
+ /**
432
+ * The maximum number of deposits a public proposal may have at any time.
433
+ **/
434
+ maxDeposits: number;
435
+ /**
436
+ * The maximum number of items which can be blacklisted.
437
+ **/
438
+ maxBlacklisted: number;
439
+ /**
440
+ * Generic pallet constant
441
+ **/
442
+ [name: string]: any;
443
+ };
444
+ /**
445
+ * Pallet `Council`'s constants
446
+ **/
447
+ council: {
448
+ /**
449
+ * The maximum weight of a dispatch call that can be proposed and executed.
450
+ **/
451
+ maxProposalWeight: SpWeightsWeightV2Weight;
452
+ /**
453
+ * Generic pallet constant
454
+ **/
455
+ [name: string]: any;
456
+ };
457
+ /**
458
+ * Pallet `TechnicalCommittee`'s constants
459
+ **/
460
+ technicalCommittee: {
461
+ /**
462
+ * The maximum weight of a dispatch call that can be proposed and executed.
463
+ **/
464
+ maxProposalWeight: SpWeightsWeightV2Weight;
465
+ /**
466
+ * Generic pallet constant
467
+ **/
468
+ [name: string]: any;
469
+ };
470
+ /**
471
+ * Pallet `Elections`'s constants
472
+ **/
473
+ elections: {
474
+ /**
475
+ * Identifier for the elections-phragmen pallet's lock
476
+ **/
477
+ palletId: FixedBytes<8>;
478
+ /**
479
+ * How much should be locked up in order to submit one's candidacy.
480
+ **/
481
+ candidacyBond: bigint;
482
+ /**
483
+ * Base deposit associated with voting.
484
+ *
485
+ * This should be sensibly high to economically ensure the pallet cannot be attacked by
486
+ * creating a gigantic number of votes.
487
+ **/
488
+ votingBondBase: bigint;
489
+ /**
490
+ * The amount of bond that need to be locked for each vote (32 bytes).
491
+ **/
492
+ votingBondFactor: bigint;
493
+ /**
494
+ * Number of members to elect.
495
+ **/
496
+ desiredMembers: number;
497
+ /**
498
+ * Number of runners_up to keep.
499
+ **/
500
+ desiredRunnersUp: number;
501
+ /**
502
+ * How long each seat is kept. This defines the next block number at which an election
503
+ * round will happen. If set to zero, no elections are ever triggered and the module will
504
+ * be in passive mode.
505
+ **/
506
+ termDuration: number;
507
+ /**
508
+ * The maximum number of candidates in a phragmen election.
509
+ *
510
+ * Warning: This impacts the size of the election which is run onchain. Chose wisely, and
511
+ * consider how it will impact `T::WeightInfo::election_phragmen`.
512
+ *
513
+ * When this limit is reached no more candidates are accepted in the election.
514
+ **/
515
+ maxCandidates: number;
516
+ /**
517
+ * The maximum number of voters to allow in a phragmen election.
518
+ *
519
+ * Warning: This impacts the size of the election which is run onchain. Chose wisely, and
520
+ * consider how it will impact `T::WeightInfo::election_phragmen`.
521
+ *
522
+ * When the limit is reached the new voters are ignored.
523
+ **/
524
+ maxVoters: number;
525
+ /**
526
+ * Maximum numbers of votes per voter.
527
+ *
528
+ * Warning: This impacts the size of the election which is run onchain. Chose wisely, and
529
+ * consider how it will impact `T::WeightInfo::election_phragmen`.
530
+ **/
531
+ maxVotesPerVoter: number;
532
+ /**
533
+ * Generic pallet constant
534
+ **/
535
+ [name: string]: any;
536
+ };
537
+ /**
538
+ * Pallet `TechnicalMembership`'s constants
539
+ **/
540
+ technicalMembership: {
541
+ /**
542
+ * Generic pallet constant
543
+ **/
544
+ [name: string]: any;
545
+ };
546
+ /**
547
+ * Pallet `Grandpa`'s constants
548
+ **/
549
+ grandpa: {
550
+ /**
551
+ * Max Authorities in use
552
+ **/
553
+ maxAuthorities: number;
554
+ /**
555
+ * The maximum number of nominators for each validator.
556
+ **/
557
+ maxNominators: number;
558
+ /**
559
+ * The maximum number of entries to keep in the set id to session index mapping.
560
+ *
561
+ * Since the `SetIdSession` map is only used for validating equivocations this
562
+ * value should relate to the bonding duration of whatever staking system is
563
+ * being used (if any). If equivocation handling is not enabled then this value
564
+ * can be zero.
565
+ **/
566
+ maxSetIdSessionEntries: bigint;
567
+ /**
568
+ * Generic pallet constant
569
+ **/
570
+ [name: string]: any;
571
+ };
572
+ /**
573
+ * Pallet `Treasury`'s constants
574
+ **/
575
+ treasury: {
576
+ /**
577
+ * Fraction of a proposal's value that should be bonded in order to place the proposal.
578
+ * An accepted proposal gets these back. A rejected proposal does not.
579
+ **/
580
+ proposalBond: Permill;
581
+ /**
582
+ * Minimum amount of funds that should be placed in a deposit for making a proposal.
583
+ **/
584
+ proposalBondMinimum: bigint;
585
+ /**
586
+ * Maximum amount of funds that should be placed in a deposit for making a proposal.
587
+ **/
588
+ proposalBondMaximum: bigint | undefined;
589
+ /**
590
+ * Period between successive spends.
591
+ **/
592
+ spendPeriod: number;
593
+ /**
594
+ * Percentage of spare funds (if any) that are burnt per spend period.
595
+ **/
596
+ burn: Permill;
597
+ /**
598
+ * The treasury's pallet id, used for deriving its sovereign account ID.
599
+ **/
600
+ palletId: FrameSupportPalletId;
601
+ /**
602
+ * The maximum number of approvals that can wait in the spending queue.
603
+ *
604
+ * NOTE: This parameter is also used within the Bounties Pallet extension if enabled.
605
+ **/
606
+ maxApprovals: number;
607
+ /**
608
+ * Generic pallet constant
609
+ **/
610
+ [name: string]: any;
611
+ };
612
+ /**
613
+ * Pallet `AssetRate`'s constants
614
+ **/
615
+ assetRate: {
616
+ /**
617
+ * Generic pallet constant
618
+ **/
619
+ [name: string]: any;
620
+ };
621
+ /**
622
+ * Pallet `Contracts`'s constants
623
+ **/
624
+ contracts: {
625
+ /**
626
+ * Cost schedule and limits.
627
+ **/
628
+ schedule: PalletContractsSchedule;
629
+ /**
630
+ * The amount of balance a caller has to pay for each byte of storage.
631
+ *
632
+ * # Note
633
+ *
634
+ * Changing this value for an existing chain might need a storage migration.
635
+ **/
636
+ depositPerByte: bigint;
637
+ /**
638
+ * Fallback value to limit the storage deposit if it's not being set by the caller.
639
+ **/
640
+ defaultDepositLimit: bigint;
641
+ /**
642
+ * The amount of balance a caller has to pay for each storage item.
643
+ *
644
+ * # Note
645
+ *
646
+ * Changing this value for an existing chain might need a storage migration.
647
+ **/
648
+ depositPerItem: bigint;
649
+ /**
650
+ * The percentage of the storage deposit that should be held for using a code hash.
651
+ * Instantiating a contract, or calling [`chain_extension::Ext::add_delegate_dependency`]
652
+ * protects the code from being removed. In order to prevent abuse these actions are
653
+ * protected with a percentage of the code deposit.
654
+ **/
655
+ codeHashLockupDepositPercent: Perbill;
656
+ /**
657
+ * The maximum length of a contract code in bytes.
658
+ *
659
+ * The value should be chosen carefully taking into the account the overall memory limit
660
+ * your runtime has, as well as the [maximum allowed callstack
661
+ * depth](#associatedtype.CallStack). Look into the `integrity_test()` for some insights.
662
+ **/
663
+ maxCodeLen: number;
664
+ /**
665
+ * The maximum allowable length in bytes for storage keys.
666
+ **/
667
+ maxStorageKeyLen: number;
668
+ /**
669
+ * The maximum number of delegate_dependencies that a contract can lock with
670
+ * [`chain_extension::Ext::add_delegate_dependency`].
671
+ **/
672
+ maxDelegateDependencies: number;
673
+ /**
674
+ * Make contract callable functions marked as `#[unstable]` available.
675
+ *
676
+ * Contracts that use `#[unstable]` functions won't be able to be uploaded unless
677
+ * this is set to `true`. This is only meant for testnets and dev nodes in order to
678
+ * experiment with new features.
679
+ *
680
+ * # Warning
681
+ *
682
+ * Do **not** set to `true` on productions chains.
683
+ **/
684
+ unsafeUnstableInterface: boolean;
685
+ /**
686
+ * The maximum length of the debug buffer in bytes.
687
+ **/
688
+ maxDebugBufferLen: number;
689
+ /**
690
+ * Type that bundles together all the runtime configurable interface types.
691
+ *
692
+ * This is not a real config. We just mention the type here as constant so that
693
+ * its type appears in the metadata. Only valid value is `()`.
694
+ **/
695
+ environment: PalletContractsEnvironment;
696
+ /**
697
+ * Generic pallet constant
698
+ **/
699
+ [name: string]: any;
700
+ };
701
+ /**
702
+ * Pallet `Sudo`'s constants
703
+ **/
704
+ sudo: {
705
+ /**
706
+ * Generic pallet constant
707
+ **/
708
+ [name: string]: any;
709
+ };
710
+ /**
711
+ * Pallet `ImOnline`'s constants
712
+ **/
713
+ imOnline: {
714
+ /**
715
+ * A configuration for base priority of unsigned transactions.
716
+ *
717
+ * This is exposed so that it can be tuned for particular runtime, when
718
+ * multiple pallets send unsigned transactions.
719
+ **/
720
+ unsignedPriority: bigint;
721
+ /**
722
+ * Generic pallet constant
723
+ **/
724
+ [name: string]: any;
725
+ };
726
+ /**
727
+ * Pallet `AuthorityDiscovery`'s constants
728
+ **/
729
+ authorityDiscovery: {
730
+ /**
731
+ * Generic pallet constant
732
+ **/
733
+ [name: string]: any;
734
+ };
735
+ /**
736
+ * Pallet `Offences`'s constants
737
+ **/
738
+ offences: {
739
+ /**
740
+ * Generic pallet constant
741
+ **/
742
+ [name: string]: any;
743
+ };
744
+ /**
745
+ * Pallet `Historical`'s constants
746
+ **/
747
+ historical: {
748
+ /**
749
+ * Generic pallet constant
750
+ **/
751
+ [name: string]: any;
752
+ };
753
+ /**
754
+ * Pallet `RandomnessCollectiveFlip`'s constants
755
+ **/
756
+ randomnessCollectiveFlip: {
757
+ /**
758
+ * Generic pallet constant
759
+ **/
760
+ [name: string]: any;
761
+ };
762
+ /**
763
+ * Pallet `Identity`'s constants
764
+ **/
765
+ identity: {
766
+ /**
767
+ * The amount held on deposit for a registered identity
768
+ **/
769
+ basicDeposit: bigint;
770
+ /**
771
+ * The amount held on deposit per additional field for a registered identity.
772
+ **/
773
+ fieldDeposit: bigint;
774
+ /**
775
+ * The amount held on deposit for a registered subaccount. This should account for the fact
776
+ * that one storage item's value will increase by the size of an account ID, and there will
777
+ * be another trie item whose value is the size of an account ID plus 32 bytes.
778
+ **/
779
+ subAccountDeposit: bigint;
780
+ /**
781
+ * The maximum number of sub-accounts allowed per identified account.
782
+ **/
783
+ maxSubAccounts: number;
784
+ /**
785
+ * Maximum number of additional fields that may be stored in an ID. Needed to bound the I/O
786
+ * required to access an identity, but can be pretty high.
787
+ **/
788
+ maxAdditionalFields: number;
789
+ /**
790
+ * Maxmimum number of registrars allowed in the system. Needed to bound the complexity
791
+ * of, e.g., updating judgements.
792
+ **/
793
+ maxRegistrars: number;
794
+ /**
795
+ * Generic pallet constant
796
+ **/
797
+ [name: string]: any;
798
+ };
799
+ /**
800
+ * Pallet `Society`'s constants
801
+ **/
802
+ society: {
803
+ /**
804
+ * The societies's pallet id
805
+ **/
806
+ palletId: FrameSupportPalletId;
807
+ /**
808
+ * The maximum number of strikes before a member gets funds slashed.
809
+ **/
810
+ graceStrikes: number;
811
+ /**
812
+ * The amount of incentive paid within each period. Doesn't include VoterTip.
813
+ **/
814
+ periodSpend: bigint;
815
+ /**
816
+ * The number of blocks on which new candidates should be voted on. Together with
817
+ * `ClaimPeriod`, this sums to the number of blocks between candidate intake periods.
818
+ **/
819
+ votingPeriod: number;
820
+ /**
821
+ * The number of blocks on which new candidates can claim their membership and be the
822
+ * named head.
823
+ **/
824
+ claimPeriod: number;
825
+ /**
826
+ * The maximum duration of the payout lock.
827
+ **/
828
+ maxLockDuration: number;
829
+ /**
830
+ * The number of blocks between membership challenges.
831
+ **/
832
+ challengePeriod: number;
833
+ /**
834
+ * The maximum number of payouts a member may have waiting unclaimed.
835
+ **/
836
+ maxPayouts: number;
837
+ /**
838
+ * The maximum number of bids at once.
839
+ **/
840
+ maxBids: number;
841
+ /**
842
+ * Generic pallet constant
843
+ **/
844
+ [name: string]: any;
845
+ };
846
+ /**
847
+ * Pallet `Recovery`'s constants
848
+ **/
849
+ recovery: {
850
+ /**
851
+ * The base amount of currency needed to reserve for creating a recovery configuration.
852
+ *
853
+ * This is held for an additional storage item whose value size is
854
+ * `2 + sizeof(BlockNumber, Balance)` bytes.
855
+ **/
856
+ configDepositBase: bigint;
857
+ /**
858
+ * The amount of currency needed per additional user when creating a recovery
859
+ * configuration.
860
+ *
861
+ * This is held for adding `sizeof(AccountId)` bytes more into a pre-existing storage
862
+ * value.
863
+ **/
864
+ friendDepositFactor: bigint;
865
+ /**
866
+ * The maximum amount of friends allowed in a recovery configuration.
867
+ *
868
+ * NOTE: The threshold programmed in this Pallet uses u16, so it does
869
+ * not really make sense to have a limit here greater than u16::MAX.
870
+ * But also, that is a lot more than you should probably set this value
871
+ * to anyway...
872
+ **/
873
+ maxFriends: number;
874
+ /**
875
+ * The base amount of currency needed to reserve for starting a recovery.
876
+ *
877
+ * This is primarily held for deterring malicious recovery attempts, and should
878
+ * have a value large enough that a bad actor would choose not to place this
879
+ * deposit. It also acts to fund additional storage item whose value size is
880
+ * `sizeof(BlockNumber, Balance + T * AccountId)` bytes. Where T is a configurable
881
+ * threshold.
882
+ **/
883
+ recoveryDeposit: bigint;
884
+ /**
885
+ * Generic pallet constant
886
+ **/
887
+ [name: string]: any;
888
+ };
889
+ /**
890
+ * Pallet `Vesting`'s constants
891
+ **/
892
+ vesting: {
893
+ /**
894
+ * The minimum amount transferred to call `vested_transfer`.
895
+ **/
896
+ minVestedTransfer: bigint;
897
+ maxVestingSchedules: number;
898
+ /**
899
+ * Generic pallet constant
900
+ **/
901
+ [name: string]: any;
902
+ };
903
+ /**
904
+ * Pallet `Scheduler`'s constants
905
+ **/
906
+ scheduler: {
907
+ /**
908
+ * The maximum weight that may be scheduled per block for any dispatchables.
909
+ **/
910
+ maximumWeight: SpWeightsWeightV2Weight;
911
+ /**
912
+ * The maximum number of scheduled calls in the queue for a single block.
913
+ *
914
+ * NOTE:
915
+ * + Dependent pallets' benchmarks might require a higher limit for the setting. Set a
916
+ * higher limit under `runtime-benchmarks` feature.
917
+ **/
918
+ maxScheduledPerBlock: number;
919
+ /**
920
+ * Generic pallet constant
921
+ **/
922
+ [name: string]: any;
923
+ };
924
+ /**
925
+ * Pallet `Glutton`'s constants
926
+ **/
927
+ glutton: {
928
+ /**
929
+ * Generic pallet constant
930
+ **/
931
+ [name: string]: any;
932
+ };
933
+ /**
934
+ * Pallet `Preimage`'s constants
935
+ **/
936
+ preimage: {
937
+ /**
938
+ * Generic pallet constant
939
+ **/
940
+ [name: string]: any;
941
+ };
942
+ /**
943
+ * Pallet `Proxy`'s constants
944
+ **/
945
+ proxy: {
946
+ /**
947
+ * The base amount of currency needed to reserve for creating a proxy.
948
+ *
949
+ * This is held for an additional storage item whose value size is
950
+ * `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes.
951
+ **/
952
+ proxyDepositBase: bigint;
953
+ /**
954
+ * The amount of currency needed per proxy added.
955
+ *
956
+ * This is held for adding 32 bytes plus an instance of `ProxyType` more into a
957
+ * pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take
958
+ * into account `32 + proxy_type.encode().len()` bytes of data.
959
+ **/
960
+ proxyDepositFactor: bigint;
961
+ /**
962
+ * The maximum amount of proxies allowed for a single account.
963
+ **/
964
+ maxProxies: number;
965
+ /**
966
+ * The maximum amount of time-delayed announcements that are allowed to be pending.
967
+ **/
968
+ maxPending: number;
969
+ /**
970
+ * The base amount of currency needed to reserve for creating an announcement.
971
+ *
972
+ * This is held when a new storage item holding a `Balance` is created (typically 16
973
+ * bytes).
974
+ **/
975
+ announcementDepositBase: bigint;
976
+ /**
977
+ * The amount of currency needed per announcement made.
978
+ *
979
+ * This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes)
980
+ * into a pre-existing storage value.
981
+ **/
982
+ announcementDepositFactor: bigint;
983
+ /**
984
+ * Generic pallet constant
985
+ **/
986
+ [name: string]: any;
987
+ };
988
+ /**
989
+ * Pallet `Multisig`'s constants
990
+ **/
991
+ multisig: {
992
+ /**
993
+ * The base amount of currency needed to reserve for creating a multisig execution or to
994
+ * store a dispatch call for later.
995
+ *
996
+ * This is held for an additional storage item whose value size is
997
+ * `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is
998
+ * `32 + sizeof(AccountId)` bytes.
999
+ **/
1000
+ depositBase: bigint;
1001
+ /**
1002
+ * The amount of currency needed per unit threshold when creating a multisig execution.
1003
+ *
1004
+ * This is held for adding 32 bytes more into a pre-existing storage value.
1005
+ **/
1006
+ depositFactor: bigint;
1007
+ /**
1008
+ * The maximum amount of signatories allowed in the multisig.
1009
+ **/
1010
+ maxSignatories: number;
1011
+ /**
1012
+ * Generic pallet constant
1013
+ **/
1014
+ [name: string]: any;
1015
+ };
1016
+ /**
1017
+ * Pallet `Bounties`'s constants
1018
+ **/
1019
+ bounties: {
1020
+ /**
1021
+ * The amount held on deposit for placing a bounty proposal.
1022
+ **/
1023
+ bountyDepositBase: bigint;
1024
+ /**
1025
+ * The delay period for which a bounty beneficiary need to wait before claim the payout.
1026
+ **/
1027
+ bountyDepositPayoutDelay: number;
1028
+ /**
1029
+ * Bounty duration in blocks.
1030
+ **/
1031
+ bountyUpdatePeriod: number;
1032
+ /**
1033
+ * The curator deposit is calculated as a percentage of the curator fee.
1034
+ *
1035
+ * This deposit has optional upper and lower bounds with `CuratorDepositMax` and
1036
+ * `CuratorDepositMin`.
1037
+ **/
1038
+ curatorDepositMultiplier: Permill;
1039
+ /**
1040
+ * Maximum amount of funds that should be placed in a deposit for making a proposal.
1041
+ **/
1042
+ curatorDepositMax: bigint | undefined;
1043
+ /**
1044
+ * Minimum amount of funds that should be placed in a deposit for making a proposal.
1045
+ **/
1046
+ curatorDepositMin: bigint | undefined;
1047
+ /**
1048
+ * Minimum value for a bounty.
1049
+ **/
1050
+ bountyValueMinimum: bigint;
1051
+ /**
1052
+ * The amount held on deposit per byte within the tip report reason or bounty description.
1053
+ **/
1054
+ dataDepositPerByte: bigint;
1055
+ /**
1056
+ * Maximum acceptable reason length.
1057
+ *
1058
+ * Benchmarks depend on this value, be sure to update weights file when changing this value
1059
+ **/
1060
+ maximumReasonLength: number;
1061
+ /**
1062
+ * Generic pallet constant
1063
+ **/
1064
+ [name: string]: any;
1065
+ };
1066
+ /**
1067
+ * Pallet `Tips`'s constants
1068
+ **/
1069
+ tips: {
1070
+ /**
1071
+ * Maximum acceptable reason length.
1072
+ *
1073
+ * Benchmarks depend on this value, be sure to update weights file when changing this value
1074
+ **/
1075
+ maximumReasonLength: number;
1076
+ /**
1077
+ * The amount held on deposit per byte within the tip report reason or bounty description.
1078
+ **/
1079
+ dataDepositPerByte: bigint;
1080
+ /**
1081
+ * The period for which a tip remains open after is has achieved threshold tippers.
1082
+ **/
1083
+ tipCountdown: number;
1084
+ /**
1085
+ * The percent of the final tip which goes to the original reporter of the tip.
1086
+ **/
1087
+ tipFindersFee: Percent;
1088
+ /**
1089
+ * The amount held on deposit for placing a tip report.
1090
+ **/
1091
+ tipReportDepositBase: bigint;
1092
+ /**
1093
+ * Generic pallet constant
1094
+ **/
1095
+ [name: string]: any;
1096
+ };
1097
+ /**
1098
+ * Pallet `Assets`'s constants
1099
+ **/
1100
+ assets: {
1101
+ /**
1102
+ * Max number of items to destroy per `destroy_accounts` and `destroy_approvals` call.
1103
+ *
1104
+ * Must be configured to result in a weight that makes each call fit in a block.
1105
+ **/
1106
+ removeItemsLimit: number;
1107
+ /**
1108
+ * The basic amount of funds that must be reserved for an asset.
1109
+ **/
1110
+ assetDeposit: bigint;
1111
+ /**
1112
+ * The amount of funds that must be reserved for a non-provider asset account to be
1113
+ * maintained.
1114
+ **/
1115
+ assetAccountDeposit: bigint;
1116
+ /**
1117
+ * The basic amount of funds that must be reserved when adding metadata to your asset.
1118
+ **/
1119
+ metadataDepositBase: bigint;
1120
+ /**
1121
+ * The additional funds that must be reserved for the number of bytes you store in your
1122
+ * metadata.
1123
+ **/
1124
+ metadataDepositPerByte: bigint;
1125
+ /**
1126
+ * The amount of funds that must be reserved when creating a new approval.
1127
+ **/
1128
+ approvalDeposit: bigint;
1129
+ /**
1130
+ * The maximum length of a name or symbol stored on-chain.
1131
+ **/
1132
+ stringLimit: number;
1133
+ /**
1134
+ * Generic pallet constant
1135
+ **/
1136
+ [name: string]: any;
1137
+ };
1138
+ /**
1139
+ * Pallet `PoolAssets`'s constants
1140
+ **/
1141
+ poolAssets: {
1142
+ /**
1143
+ * Max number of items to destroy per `destroy_accounts` and `destroy_approvals` call.
1144
+ *
1145
+ * Must be configured to result in a weight that makes each call fit in a block.
1146
+ **/
1147
+ removeItemsLimit: number;
1148
+ /**
1149
+ * The basic amount of funds that must be reserved for an asset.
1150
+ **/
1151
+ assetDeposit: bigint;
1152
+ /**
1153
+ * The amount of funds that must be reserved for a non-provider asset account to be
1154
+ * maintained.
1155
+ **/
1156
+ assetAccountDeposit: bigint;
1157
+ /**
1158
+ * The basic amount of funds that must be reserved when adding metadata to your asset.
1159
+ **/
1160
+ metadataDepositBase: bigint;
1161
+ /**
1162
+ * The additional funds that must be reserved for the number of bytes you store in your
1163
+ * metadata.
1164
+ **/
1165
+ metadataDepositPerByte: bigint;
1166
+ /**
1167
+ * The amount of funds that must be reserved when creating a new approval.
1168
+ **/
1169
+ approvalDeposit: bigint;
1170
+ /**
1171
+ * The maximum length of a name or symbol stored on-chain.
1172
+ **/
1173
+ stringLimit: number;
1174
+ /**
1175
+ * Generic pallet constant
1176
+ **/
1177
+ [name: string]: any;
1178
+ };
1179
+ /**
1180
+ * Pallet `Mmr`'s constants
1181
+ **/
1182
+ mmr: {
1183
+ /**
1184
+ * Generic pallet constant
1185
+ **/
1186
+ [name: string]: any;
1187
+ };
1188
+ /**
1189
+ * Pallet `Lottery`'s constants
1190
+ **/
1191
+ lottery: {
1192
+ /**
1193
+ * The Lottery's pallet id
1194
+ **/
1195
+ palletId: FrameSupportPalletId;
1196
+ /**
1197
+ * The max number of calls available in a single lottery.
1198
+ **/
1199
+ maxCalls: number;
1200
+ /**
1201
+ * Number of time we should try to generate a random number that has no modulo bias.
1202
+ * The larger this number, the more potential computation is used for picking the winner,
1203
+ * but also the more likely that the chosen winner is done fairly.
1204
+ **/
1205
+ maxGenerateRandom: number;
1206
+ /**
1207
+ * Generic pallet constant
1208
+ **/
1209
+ [name: string]: any;
1210
+ };
1211
+ /**
1212
+ * Pallet `Nis`'s constants
1213
+ **/
1214
+ nis: {
1215
+ /**
1216
+ * The treasury's pallet id, used for deriving its sovereign account ID.
1217
+ **/
1218
+ palletId: FrameSupportPalletId;
1219
+ /**
1220
+ * Number of duration queues in total. This sets the maximum duration supported, which is
1221
+ * this value multiplied by `Period`.
1222
+ **/
1223
+ queueCount: number;
1224
+ /**
1225
+ * Maximum number of items that may be in each duration queue.
1226
+ *
1227
+ * Must be larger than zero.
1228
+ **/
1229
+ maxQueueLen: number;
1230
+ /**
1231
+ * Portion of the queue which is free from ordering and just a FIFO.
1232
+ *
1233
+ * Must be no greater than `MaxQueueLen`.
1234
+ **/
1235
+ fifoQueueLen: number;
1236
+ /**
1237
+ * The base period for the duration queues. This is the common multiple across all
1238
+ * supported freezing durations that can be bid upon.
1239
+ **/
1240
+ basePeriod: number;
1241
+ /**
1242
+ * The minimum amount of funds that may be placed in a bid. Note that this
1243
+ * does not actually limit the amount which may be represented in a receipt since bids may
1244
+ * be split up by the system.
1245
+ *
1246
+ * It should be at least big enough to ensure that there is no possible storage spam attack
1247
+ * or queue-filling attack.
1248
+ **/
1249
+ minBid: bigint;
1250
+ /**
1251
+ * The minimum amount of funds which may intentionally be left remaining under a single
1252
+ * receipt.
1253
+ **/
1254
+ minReceipt: Perquintill;
1255
+ /**
1256
+ * The number of blocks between consecutive attempts to dequeue bids and create receipts.
1257
+ *
1258
+ * A larger value results in fewer storage hits each block, but a slower period to get to
1259
+ * the target.
1260
+ **/
1261
+ intakePeriod: number;
1262
+ /**
1263
+ * The maximum amount of bids that can consolidated into receipts in a single intake. A
1264
+ * larger value here means less of the block available for transactions should there be a
1265
+ * glut of bids.
1266
+ **/
1267
+ maxIntakeWeight: SpWeightsWeightV2Weight;
1268
+ /**
1269
+ * The maximum proportion which may be thawed and the period over which it is reset.
1270
+ **/
1271
+ thawThrottle: [Perquintill, number];
1272
+ /**
1273
+ * Generic pallet constant
1274
+ **/
1275
+ [name: string]: any;
1276
+ };
1277
+ /**
1278
+ * Pallet `Uniques`'s constants
1279
+ **/
1280
+ uniques: {
1281
+ /**
1282
+ * The basic amount of funds that must be reserved for collection.
1283
+ **/
1284
+ collectionDeposit: bigint;
1285
+ /**
1286
+ * The basic amount of funds that must be reserved for an item.
1287
+ **/
1288
+ itemDeposit: bigint;
1289
+ /**
1290
+ * The basic amount of funds that must be reserved when adding metadata to your item.
1291
+ **/
1292
+ metadataDepositBase: bigint;
1293
+ /**
1294
+ * The basic amount of funds that must be reserved when adding an attribute to an item.
1295
+ **/
1296
+ attributeDepositBase: bigint;
1297
+ /**
1298
+ * The additional funds that must be reserved for the number of bytes store in metadata,
1299
+ * either "normal" metadata or attribute metadata.
1300
+ **/
1301
+ depositPerByte: bigint;
1302
+ /**
1303
+ * The maximum length of data stored on-chain.
1304
+ **/
1305
+ stringLimit: number;
1306
+ /**
1307
+ * The maximum length of an attribute key.
1308
+ **/
1309
+ keyLimit: number;
1310
+ /**
1311
+ * The maximum length of an attribute value.
1312
+ **/
1313
+ valueLimit: number;
1314
+ /**
1315
+ * Generic pallet constant
1316
+ **/
1317
+ [name: string]: any;
1318
+ };
1319
+ /**
1320
+ * Pallet `Nfts`'s constants
1321
+ **/
1322
+ nfts: {
1323
+ /**
1324
+ * The basic amount of funds that must be reserved for collection.
1325
+ **/
1326
+ collectionDeposit: bigint;
1327
+ /**
1328
+ * The basic amount of funds that must be reserved for an item.
1329
+ **/
1330
+ itemDeposit: bigint;
1331
+ /**
1332
+ * The basic amount of funds that must be reserved when adding metadata to your item.
1333
+ **/
1334
+ metadataDepositBase: bigint;
1335
+ /**
1336
+ * The basic amount of funds that must be reserved when adding an attribute to an item.
1337
+ **/
1338
+ attributeDepositBase: bigint;
1339
+ /**
1340
+ * The additional funds that must be reserved for the number of bytes store in metadata,
1341
+ * either "normal" metadata or attribute metadata.
1342
+ **/
1343
+ depositPerByte: bigint;
1344
+ /**
1345
+ * The maximum length of data stored on-chain.
1346
+ **/
1347
+ stringLimit: number;
1348
+ /**
1349
+ * The maximum length of an attribute key.
1350
+ **/
1351
+ keyLimit: number;
1352
+ /**
1353
+ * The maximum length of an attribute value.
1354
+ **/
1355
+ valueLimit: number;
1356
+ /**
1357
+ * The maximum approvals an item could have.
1358
+ **/
1359
+ approvalsLimit: number;
1360
+ /**
1361
+ * The maximum attributes approvals an item could have.
1362
+ **/
1363
+ itemAttributesApprovalsLimit: number;
1364
+ /**
1365
+ * The max number of tips a user could send.
1366
+ **/
1367
+ maxTips: number;
1368
+ /**
1369
+ * The max duration in blocks for deadlines.
1370
+ **/
1371
+ maxDeadlineDuration: number;
1372
+ /**
1373
+ * The max number of attributes a user could set per call.
1374
+ **/
1375
+ maxAttributesPerCall: number;
1376
+ /**
1377
+ * Disables some of pallet's features.
1378
+ **/
1379
+ features: PalletNftsBitFlagsPalletFeature;
1380
+ /**
1381
+ * Generic pallet constant
1382
+ **/
1383
+ [name: string]: any;
1384
+ };
1385
+ /**
1386
+ * Pallet `NftFractionalization`'s constants
1387
+ **/
1388
+ nftFractionalization: {
1389
+ /**
1390
+ * The deposit paid by the user locking an NFT. The deposit is returned to the original NFT
1391
+ * owner when the asset is unified and the NFT is unlocked.
1392
+ **/
1393
+ deposit: bigint;
1394
+ /**
1395
+ * The pallet's id, used for deriving its sovereign account ID.
1396
+ **/
1397
+ palletId: FrameSupportPalletId;
1398
+ /**
1399
+ * The newly created asset's symbol.
1400
+ **/
1401
+ newAssetSymbol: Bytes;
1402
+ /**
1403
+ * The newly created asset's name.
1404
+ **/
1405
+ newAssetName: Bytes;
1406
+ /**
1407
+ * The maximum length of a name or symbol stored on-chain.
1408
+ **/
1409
+ stringLimit: number;
1410
+ /**
1411
+ * Generic pallet constant
1412
+ **/
1413
+ [name: string]: any;
1414
+ };
1415
+ /**
1416
+ * Pallet `Salary`'s constants
1417
+ **/
1418
+ salary: {
1419
+ /**
1420
+ * The number of blocks within a cycle which accounts have to register their intent to
1421
+ * claim.
1422
+ *
1423
+ * The number of blocks between sequential payout cycles is the sum of this and
1424
+ * `PayoutPeriod`.
1425
+ **/
1426
+ registrationPeriod: number;
1427
+ /**
1428
+ * The number of blocks within a cycle which accounts have to claim the payout.
1429
+ *
1430
+ * The number of blocks between sequential payout cycles is the sum of this and
1431
+ * `RegistrationPeriod`.
1432
+ **/
1433
+ payoutPeriod: number;
1434
+ /**
1435
+ * The total budget per cycle.
1436
+ *
1437
+ * This may change over the course of a cycle without any problem.
1438
+ **/
1439
+ budget: bigint;
1440
+ /**
1441
+ * Generic pallet constant
1442
+ **/
1443
+ [name: string]: any;
1444
+ };
1445
+ /**
1446
+ * Pallet `CoreFellowship`'s constants
1447
+ **/
1448
+ coreFellowship: {
1449
+ /**
1450
+ * The maximum size in bytes submitted evidence is allowed to be.
1451
+ **/
1452
+ evidenceSize: number;
1453
+ /**
1454
+ * Generic pallet constant
1455
+ **/
1456
+ [name: string]: any;
1457
+ };
1458
+ /**
1459
+ * Pallet `TransactionStorage`'s constants
1460
+ **/
1461
+ transactionStorage: {
1462
+ /**
1463
+ * Generic pallet constant
1464
+ **/
1465
+ [name: string]: any;
1466
+ };
1467
+ /**
1468
+ * Pallet `VoterList`'s constants
1469
+ **/
1470
+ voterList: {
1471
+ /**
1472
+ * The list of thresholds separating the various bags.
1473
+ *
1474
+ * Ids are separated into unsorted bags according to their score. This specifies the
1475
+ * thresholds separating the bags. An id's bag is the largest bag for which the id's score
1476
+ * is less than or equal to its upper threshold.
1477
+ *
1478
+ * When ids are iterated, higher bags are iterated completely before lower bags. This means
1479
+ * that iteration is _semi-sorted_: ids of higher score tend to come before ids of lower
1480
+ * score, but peer ids within a particular bag are sorted in insertion order.
1481
+ *
1482
+ * # Expressing the constant
1483
+ *
1484
+ * This constant must be sorted in strictly increasing order. Duplicate items are not
1485
+ * permitted.
1486
+ *
1487
+ * There is an implied upper limit of `Score::MAX`; that value does not need to be
1488
+ * specified within the bag. For any two threshold lists, if one ends with
1489
+ * `Score::MAX`, the other one does not, and they are otherwise equal, the two
1490
+ * lists will behave identically.
1491
+ *
1492
+ * # Calculation
1493
+ *
1494
+ * It is recommended to generate the set of thresholds in a geometric series, such that
1495
+ * there exists some constant ratio such that `threshold[k + 1] == (threshold[k] *
1496
+ * constant_ratio).max(threshold[k] + 1)` for all `k`.
1497
+ *
1498
+ * The helpers in the `/utils/frame/generate-bags` module can simplify this calculation.
1499
+ *
1500
+ * # Examples
1501
+ *
1502
+ * - If `BagThresholds::get().is_empty()`, then all ids are put into the same bag, and
1503
+ * iteration is strictly in insertion order.
1504
+ * - If `BagThresholds::get().len() == 64`, and the thresholds are determined according to
1505
+ * the procedure given above, then the constant ratio is equal to 2.
1506
+ * - If `BagThresholds::get().len() == 200`, and the thresholds are determined according to
1507
+ * the procedure given above, then the constant ratio is approximately equal to 1.248.
1508
+ * - If the threshold list begins `[1, 2, 3, ...]`, then an id with score 0 or 1 will fall
1509
+ * into bag 0, an id with score 2 will fall into bag 1, etc.
1510
+ *
1511
+ * # Migration
1512
+ *
1513
+ * In the event that this list ever changes, a copy of the old bags list must be retained.
1514
+ * With that `List::migrate` can be called, which will perform the appropriate migration.
1515
+ **/
1516
+ bagThresholds: Array<bigint>;
1517
+ /**
1518
+ * Generic pallet constant
1519
+ **/
1520
+ [name: string]: any;
1521
+ };
1522
+ /**
1523
+ * Pallet `StateTrieMigration`'s constants
1524
+ **/
1525
+ stateTrieMigration: {
1526
+ /**
1527
+ * Maximal number of bytes that a key can have.
1528
+ *
1529
+ * FRAME itself does not limit the key length.
1530
+ * The concrete value must therefore depend on your storage usage.
1531
+ * A [`frame_support::storage::StorageNMap`] for example can have an arbitrary number of
1532
+ * keys which are then hashed and concatenated, resulting in arbitrarily long keys.
1533
+ *
1534
+ * Use the *state migration RPC* to retrieve the length of the longest key in your
1535
+ * storage: <https://github.com/paritytech/substrate/issues/11642>
1536
+ *
1537
+ * The migration will halt with a `Halted` event if this value is too small.
1538
+ * Since there is no real penalty from over-estimating, it is advised to use a large
1539
+ * value. The default is 512 byte.
1540
+ *
1541
+ * Some key lengths for reference:
1542
+ * - [`frame_support::storage::StorageValue`]: 32 byte
1543
+ * - [`frame_support::storage::StorageMap`]: 64 byte
1544
+ * - [`frame_support::storage::StorageDoubleMap`]: 96 byte
1545
+ *
1546
+ * For more info see
1547
+ * <https://www.shawntabrizi.com/substrate/querying-substrate-storage-via-rpc/>
1548
+ **/
1549
+ maxKeyLen: number;
1550
+ /**
1551
+ * Generic pallet constant
1552
+ **/
1553
+ [name: string]: any;
1554
+ };
1555
+ /**
1556
+ * Pallet `ChildBounties`'s constants
1557
+ **/
1558
+ childBounties: {
1559
+ /**
1560
+ * Maximum number of child bounties that can be added to a parent bounty.
1561
+ **/
1562
+ maxActiveChildBountyCount: number;
1563
+ /**
1564
+ * Minimum value for a child-bounty.
1565
+ **/
1566
+ childBountyValueMinimum: bigint;
1567
+ /**
1568
+ * Generic pallet constant
1569
+ **/
1570
+ [name: string]: any;
1571
+ };
1572
+ /**
1573
+ * Pallet `Referenda`'s constants
1574
+ **/
1575
+ referenda: {
1576
+ /**
1577
+ * The minimum amount to be used as a deposit for a public referendum proposal.
1578
+ **/
1579
+ submissionDeposit: bigint;
1580
+ /**
1581
+ * Maximum size of the referendum queue for a single track.
1582
+ **/
1583
+ maxQueued: number;
1584
+ /**
1585
+ * The number of blocks after submission that a referendum must begin being decided by.
1586
+ * Once this passes, then anyone may cancel the referendum.
1587
+ **/
1588
+ undecidingTimeout: number;
1589
+ /**
1590
+ * Quantization level for the referendum wakeup scheduler. A higher number will result in
1591
+ * fewer storage reads/writes needed for smaller voters, but also result in delays to the
1592
+ * automatic referendum status changes. Explicit servicing instructions are unaffected.
1593
+ **/
1594
+ alarmInterval: number;
1595
+ /**
1596
+ * Information concerning the different referendum tracks.
1597
+ **/
1598
+ tracks: Array<[number, PalletReferendaTrackInfo]>;
1599
+ /**
1600
+ * Generic pallet constant
1601
+ **/
1602
+ [name: string]: any;
1603
+ };
1604
+ /**
1605
+ * Pallet `Remark`'s constants
1606
+ **/
1607
+ remark: {
1608
+ /**
1609
+ * Generic pallet constant
1610
+ **/
1611
+ [name: string]: any;
1612
+ };
1613
+ /**
1614
+ * Pallet `RootTesting`'s constants
1615
+ **/
1616
+ rootTesting: {
1617
+ /**
1618
+ * Generic pallet constant
1619
+ **/
1620
+ [name: string]: any;
1621
+ };
1622
+ /**
1623
+ * Pallet `ConvictionVoting`'s constants
1624
+ **/
1625
+ convictionVoting: {
1626
+ /**
1627
+ * The maximum number of concurrent votes an account may have.
1628
+ *
1629
+ * Also used to compute weight, an overly large value can lead to extrinsics with large
1630
+ * weight estimation: see `delegate` for instance.
1631
+ **/
1632
+ maxVotes: number;
1633
+ /**
1634
+ * The minimum period of vote locking.
1635
+ *
1636
+ * It should be no shorter than enactment period to ensure that in the case of an approval,
1637
+ * those successful voters are locked into the consequences that their votes entail.
1638
+ **/
1639
+ voteLockingPeriod: number;
1640
+ /**
1641
+ * Generic pallet constant
1642
+ **/
1643
+ [name: string]: any;
1644
+ };
1645
+ /**
1646
+ * Pallet `Whitelist`'s constants
1647
+ **/
1648
+ whitelist: {
1649
+ /**
1650
+ * Generic pallet constant
1651
+ **/
1652
+ [name: string]: any;
1653
+ };
1654
+ /**
1655
+ * Pallet `AllianceMotion`'s constants
1656
+ **/
1657
+ allianceMotion: {
1658
+ /**
1659
+ * The maximum weight of a dispatch call that can be proposed and executed.
1660
+ **/
1661
+ maxProposalWeight: SpWeightsWeightV2Weight;
1662
+ /**
1663
+ * Generic pallet constant
1664
+ **/
1665
+ [name: string]: any;
1666
+ };
1667
+ /**
1668
+ * Pallet `Alliance`'s constants
1669
+ **/
1670
+ alliance: {
1671
+ /**
1672
+ * The maximum number of the unscrupulous items supported by the pallet.
1673
+ **/
1674
+ maxUnscrupulousItems: number;
1675
+ /**
1676
+ * The maximum length of a website URL.
1677
+ **/
1678
+ maxWebsiteUrlLength: number;
1679
+ /**
1680
+ * The deposit required for submitting candidacy.
1681
+ **/
1682
+ allyDeposit: bigint;
1683
+ /**
1684
+ * The maximum number of announcements.
1685
+ **/
1686
+ maxAnnouncementsCount: number;
1687
+ /**
1688
+ * The maximum number of members per member role.
1689
+ **/
1690
+ maxMembersCount: number;
1691
+ /**
1692
+ * Generic pallet constant
1693
+ **/
1694
+ [name: string]: any;
1695
+ };
1696
+ /**
1697
+ * Pallet `NominationPools`'s constants
1698
+ **/
1699
+ nominationPools: {
1700
+ /**
1701
+ * The nomination pool's pallet id.
1702
+ **/
1703
+ palletId: FrameSupportPalletId;
1704
+ /**
1705
+ * The maximum pool points-to-balance ratio that an `open` pool can have.
1706
+ *
1707
+ * This is important in the event slashing takes place and the pool's points-to-balance
1708
+ * ratio becomes disproportional.
1709
+ *
1710
+ * Moreover, this relates to the `RewardCounter` type as well, as the arithmetic operations
1711
+ * are a function of number of points, and by setting this value to e.g. 10, you ensure
1712
+ * that the total number of points in the system are at most 10 times the total_issuance of
1713
+ * the chain, in the absolute worse case.
1714
+ *
1715
+ * For a value of 10, the threshold would be a pool points-to-balance ratio of 10:1.
1716
+ * Such a scenario would also be the equivalent of the pool being 90% slashed.
1717
+ **/
1718
+ maxPointsToBalance: number;
1719
+ /**
1720
+ * Generic pallet constant
1721
+ **/
1722
+ [name: string]: any;
1723
+ };
1724
+ /**
1725
+ * Pallet `RankedPolls`'s constants
1726
+ **/
1727
+ rankedPolls: {
1728
+ /**
1729
+ * The minimum amount to be used as a deposit for a public referendum proposal.
1730
+ **/
1731
+ submissionDeposit: bigint;
1732
+ /**
1733
+ * Maximum size of the referendum queue for a single track.
1734
+ **/
1735
+ maxQueued: number;
1736
+ /**
1737
+ * The number of blocks after submission that a referendum must begin being decided by.
1738
+ * Once this passes, then anyone may cancel the referendum.
1739
+ **/
1740
+ undecidingTimeout: number;
1741
+ /**
1742
+ * Quantization level for the referendum wakeup scheduler. A higher number will result in
1743
+ * fewer storage reads/writes needed for smaller voters, but also result in delays to the
1744
+ * automatic referendum status changes. Explicit servicing instructions are unaffected.
1745
+ **/
1746
+ alarmInterval: number;
1747
+ /**
1748
+ * Information concerning the different referendum tracks.
1749
+ **/
1750
+ tracks: Array<[number, PalletReferendaTrackInfo]>;
1751
+ /**
1752
+ * Generic pallet constant
1753
+ **/
1754
+ [name: string]: any;
1755
+ };
1756
+ /**
1757
+ * Pallet `RankedCollective`'s constants
1758
+ **/
1759
+ rankedCollective: {
1760
+ /**
1761
+ * Generic pallet constant
1762
+ **/
1763
+ [name: string]: any;
1764
+ };
1765
+ /**
1766
+ * Pallet `AssetConversion`'s constants
1767
+ **/
1768
+ assetConversion: {
1769
+ /**
1770
+ * A % the liquidity providers will take of every swap. Represents 10ths of a percent.
1771
+ **/
1772
+ lpFee: number;
1773
+ /**
1774
+ * A one-time fee to setup the pool.
1775
+ **/
1776
+ poolSetupFee: bigint;
1777
+ /**
1778
+ * A fee to withdraw the liquidity.
1779
+ **/
1780
+ liquidityWithdrawalFee: Permill;
1781
+ /**
1782
+ * The minimum LP token amount that could be minted. Ameliorates rounding errors.
1783
+ **/
1784
+ mintMinLiquidity: bigint;
1785
+ /**
1786
+ * The max number of hops in a swap.
1787
+ **/
1788
+ maxSwapPathLength: number;
1789
+ /**
1790
+ * The pallet's id, used for deriving its sovereign account ID.
1791
+ **/
1792
+ palletId: FrameSupportPalletId;
1793
+ /**
1794
+ * A setting to allow creating pools with both non-native assets.
1795
+ **/
1796
+ allowMultiAssetPools: boolean;
1797
+ /**
1798
+ * Generic pallet constant
1799
+ **/
1800
+ [name: string]: any;
1801
+ };
1802
+ /**
1803
+ * Pallet `FastUnstake`'s constants
1804
+ **/
1805
+ fastUnstake: {
1806
+ /**
1807
+ * Deposit to take for unstaking, to make sure we're able to slash the it in order to cover
1808
+ * the costs of resources on unsuccessful unstake.
1809
+ **/
1810
+ deposit: bigint;
1811
+ /**
1812
+ * Generic pallet constant
1813
+ **/
1814
+ [name: string]: any;
1815
+ };
1816
+ /**
1817
+ * Pallet `MessageQueue`'s constants
1818
+ **/
1819
+ messageQueue: {
1820
+ /**
1821
+ * The size of the page; this implies the maximum message size which can be sent.
1822
+ *
1823
+ * A good value depends on the expected message sizes, their weights, the weight that is
1824
+ * available for processing them and the maximal needed message size. The maximal message
1825
+ * size is slightly lower than this as defined by [`MaxMessageLenOf`].
1826
+ **/
1827
+ heapSize: number;
1828
+ /**
1829
+ * The maximum number of stale pages (i.e. of overweight messages) allowed before culling
1830
+ * can happen. Once there are more stale pages than this, then historical pages may be
1831
+ * dropped, even if they contain unprocessed overweight messages.
1832
+ **/
1833
+ maxStale: number;
1834
+ /**
1835
+ * The amount of weight (if any) which should be provided to the message queue for
1836
+ * servicing enqueued items.
1837
+ *
1838
+ * This may be legitimately `None` in the case that you will call
1839
+ * `ServiceQueues::service_queues` manually.
1840
+ **/
1841
+ serviceWeight: SpWeightsWeightV2Weight | undefined;
1842
+ /**
1843
+ * Generic pallet constant
1844
+ **/
1845
+ [name: string]: any;
1846
+ };
1847
+ /**
1848
+ * Pallet `Pov`'s constants
1849
+ **/
1850
+ pov: {
1851
+ /**
1852
+ * Generic pallet constant
1853
+ **/
1854
+ [name: string]: any;
1855
+ };
1856
+ /**
1857
+ * Pallet `TxPause`'s constants
1858
+ **/
1859
+ txPause: {
1860
+ /**
1861
+ * Maximum length for pallet name and call name SCALE encoded string names.
1862
+ *
1863
+ * TOO LONG NAMES WILL BE TREATED AS PAUSED.
1864
+ **/
1865
+ maxNameLen: number;
1866
+ /**
1867
+ * Generic pallet constant
1868
+ **/
1869
+ [name: string]: any;
1870
+ };
1871
+ /**
1872
+ * Pallet `SafeMode`'s constants
1873
+ **/
1874
+ safeMode: {
1875
+ /**
1876
+ * For how many blocks the safe-mode will be entered by [`Pallet::enter`].
1877
+ **/
1878
+ enterDuration: number;
1879
+ /**
1880
+ * For how many blocks the safe-mode can be extended by each [`Pallet::extend`] call.
1881
+ *
1882
+ * This does not impose a hard limit as the safe-mode can be extended multiple times.
1883
+ **/
1884
+ extendDuration: number;
1885
+ /**
1886
+ * The amount that will be reserved upon calling [`Pallet::enter`].
1887
+ *
1888
+ * `None` disallows permissionlessly enabling the safe-mode and is a sane default.
1889
+ **/
1890
+ enterDepositAmount: bigint | undefined;
1891
+ /**
1892
+ * The amount that will be reserved upon calling [`Pallet::extend`].
1893
+ *
1894
+ * `None` disallows permissionlessly extending the safe-mode and is a sane default.
1895
+ **/
1896
+ extendDepositAmount: bigint | undefined;
1897
+ /**
1898
+ * The minimal duration a deposit will remain reserved after safe-mode is entered or
1899
+ * extended, unless [`Pallet::force_release_deposit`] is successfully called sooner.
1900
+ *
1901
+ * Every deposit is tied to a specific activation or extension, thus each deposit can be
1902
+ * released independently after the delay for it has passed.
1903
+ *
1904
+ * `None` disallows permissionlessly releasing the safe-mode deposits and is a sane
1905
+ * default.
1906
+ **/
1907
+ releaseDelay: number | undefined;
1908
+ /**
1909
+ * Generic pallet constant
1910
+ **/
1911
+ [name: string]: any;
1912
+ };
1913
+ /**
1914
+ * Pallet `Statement`'s constants
1915
+ **/
1916
+ statement: {
1917
+ /**
1918
+ * Min balance for priority statements.
1919
+ **/
1920
+ statementCost: bigint;
1921
+ /**
1922
+ * Cost of data byte used for priority calculation.
1923
+ **/
1924
+ byteCost: bigint;
1925
+ /**
1926
+ * Minimum number of statements allowed per account.
1927
+ **/
1928
+ minAllowedStatements: number;
1929
+ /**
1930
+ * Maximum number of statements allowed per account.
1931
+ **/
1932
+ maxAllowedStatements: number;
1933
+ /**
1934
+ * Minimum data bytes allowed per account.
1935
+ **/
1936
+ minAllowedBytes: number;
1937
+ /**
1938
+ * Maximum data bytes allowed per account.
1939
+ **/
1940
+ maxAllowedBytes: number;
1941
+ /**
1942
+ * Generic pallet constant
1943
+ **/
1944
+ [name: string]: any;
1945
+ };
1946
+ /**
1947
+ * Pallet `Broker`'s constants
1948
+ **/
1949
+ broker: {
1950
+ /**
1951
+ * Identifier from which the internal Pot is generated.
1952
+ **/
1953
+ palletId: FrameSupportPalletId;
1954
+ /**
1955
+ * Number of Relay-chain blocks per timeslice.
1956
+ **/
1957
+ timeslicePeriod: number;
1958
+ /**
1959
+ * Maximum number of legacy leases.
1960
+ **/
1961
+ maxLeasedCores: number;
1962
+ /**
1963
+ * Maximum number of system cores.
1964
+ **/
1965
+ maxReservedCores: number;
1966
+ /**
1967
+ * Generic pallet constant
1968
+ **/
1969
+ [name: string]: any;
1970
+ };
1971
+ }