@dedot/chaintypes 0.0.1-alpha.26 → 0.0.1-alpha.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 +528 -590
  2. package/aleph/consts.js +2 -0
  3. package/aleph/errors.d.ts +818 -981
  4. package/aleph/errors.js +2 -0
  5. package/aleph/events.d.ts +937 -924
  6. package/aleph/events.js +2 -0
  7. package/aleph/index.d.ts +8 -11
  8. package/aleph/index.js +3 -0
  9. package/aleph/query.d.ts +1268 -1477
  10. package/aleph/query.js +2 -0
  11. package/aleph/rpc.d.ts +573 -725
  12. package/aleph/rpc.js +2 -0
  13. package/aleph/runtime.d.ts +406 -541
  14. package/aleph/runtime.js +2 -0
  15. package/aleph/tx.d.ts +2202 -2664
  16. package/aleph/tx.js +2 -0
  17. package/aleph/types.d.ts +5294 -3380
  18. package/aleph/types.js +2 -0
  19. package/astar/consts.d.ts +674 -753
  20. package/astar/consts.js +2 -0
  21. package/astar/errors.d.ts +1313 -1576
  22. package/astar/errors.js +2 -0
  23. package/astar/events.d.ts +1628 -1709
  24. package/astar/events.js +2 -0
  25. package/astar/index.d.ts +8 -11
  26. package/astar/index.js +3 -0
  27. package/astar/query.d.ts +1471 -1756
  28. package/astar/query.js +2 -0
  29. package/astar/rpc.d.ts +773 -972
  30. package/astar/rpc.js +2 -0
  31. package/astar/runtime.d.ts +258 -310
  32. package/astar/runtime.js +2 -0
  33. package/astar/tx.d.ts +4806 -5474
  34. package/astar/tx.js +2 -0
  35. package/astar/types.d.ts +12053 -8793
  36. package/astar/types.js +2 -0
  37. package/cjs/aleph/consts.js +3 -0
  38. package/cjs/aleph/errors.js +3 -0
  39. package/cjs/aleph/events.js +3 -0
  40. package/cjs/aleph/index.js +19 -0
  41. package/cjs/aleph/query.js +3 -0
  42. package/cjs/aleph/rpc.js +3 -0
  43. package/cjs/aleph/runtime.js +3 -0
  44. package/cjs/aleph/tx.js +3 -0
  45. package/cjs/aleph/types.js +3 -0
  46. package/cjs/astar/consts.js +3 -0
  47. package/cjs/astar/errors.js +3 -0
  48. package/cjs/astar/events.js +3 -0
  49. package/cjs/astar/index.js +19 -0
  50. package/cjs/astar/query.js +3 -0
  51. package/cjs/astar/rpc.js +3 -0
  52. package/cjs/astar/runtime.js +3 -0
  53. package/cjs/astar/tx.js +3 -0
  54. package/cjs/astar/types.js +3 -0
  55. package/cjs/index.js +2 -0
  56. package/cjs/kusama/consts.js +3 -0
  57. package/cjs/kusama/errors.js +3 -0
  58. package/cjs/kusama/events.js +3 -0
  59. package/cjs/kusama/index.js +19 -0
  60. package/cjs/kusama/query.js +3 -0
  61. package/cjs/kusama/rpc.js +3 -0
  62. package/cjs/kusama/runtime.js +3 -0
  63. package/cjs/kusama/tx.js +3 -0
  64. package/cjs/kusama/types.js +3 -0
  65. package/cjs/kusamaAssetHub/consts.js +3 -0
  66. package/cjs/kusamaAssetHub/errors.js +3 -0
  67. package/cjs/kusamaAssetHub/events.js +3 -0
  68. package/cjs/kusamaAssetHub/index.js +19 -0
  69. package/cjs/kusamaAssetHub/query.js +3 -0
  70. package/cjs/kusamaAssetHub/rpc.js +3 -0
  71. package/cjs/kusamaAssetHub/runtime.js +3 -0
  72. package/cjs/kusamaAssetHub/tx.js +3 -0
  73. package/cjs/kusamaAssetHub/types.js +3 -0
  74. package/cjs/moonbeam/consts.js +3 -0
  75. package/cjs/moonbeam/errors.js +3 -0
  76. package/cjs/moonbeam/events.js +3 -0
  77. package/cjs/moonbeam/index.js +19 -0
  78. package/cjs/moonbeam/query.js +3 -0
  79. package/cjs/moonbeam/rpc.js +3 -0
  80. package/cjs/moonbeam/runtime.js +3 -0
  81. package/cjs/moonbeam/tx.js +3 -0
  82. package/cjs/moonbeam/types.js +3 -0
  83. package/cjs/package.json +1 -0
  84. package/cjs/packageInfo.js +5 -0
  85. package/cjs/polkadot/consts.js +3 -0
  86. package/cjs/polkadot/errors.js +3 -0
  87. package/cjs/polkadot/events.js +3 -0
  88. package/cjs/polkadot/index.js +19 -0
  89. package/cjs/polkadot/query.js +3 -0
  90. package/cjs/polkadot/rpc.js +3 -0
  91. package/cjs/polkadot/runtime.js +3 -0
  92. package/cjs/polkadot/tx.js +3 -0
  93. package/cjs/polkadot/types.js +3 -0
  94. package/cjs/polkadotAssetHub/consts.js +3 -0
  95. package/cjs/polkadotAssetHub/errors.js +3 -0
  96. package/cjs/polkadotAssetHub/events.js +3 -0
  97. package/cjs/polkadotAssetHub/index.js +19 -0
  98. package/cjs/polkadotAssetHub/query.js +3 -0
  99. package/cjs/polkadotAssetHub/rpc.js +3 -0
  100. package/cjs/polkadotAssetHub/runtime.js +3 -0
  101. package/cjs/polkadotAssetHub/tx.js +3 -0
  102. package/cjs/polkadotAssetHub/types.js +3 -0
  103. package/cjs/rococoAssetHub/consts.js +3 -0
  104. package/cjs/rococoAssetHub/errors.js +3 -0
  105. package/cjs/rococoAssetHub/events.js +3 -0
  106. package/cjs/rococoAssetHub/index.js +19 -0
  107. package/cjs/rococoAssetHub/query.js +3 -0
  108. package/cjs/rococoAssetHub/rpc.js +3 -0
  109. package/cjs/rococoAssetHub/runtime.js +3 -0
  110. package/cjs/rococoAssetHub/tx.js +3 -0
  111. package/cjs/rococoAssetHub/types.js +3 -0
  112. package/cjs/substrate/consts.js +3 -0
  113. package/cjs/substrate/errors.js +3 -0
  114. package/cjs/substrate/events.js +3 -0
  115. package/cjs/substrate/index.js +19 -0
  116. package/cjs/substrate/query.js +3 -0
  117. package/cjs/substrate/rpc.js +3 -0
  118. package/cjs/substrate/runtime.js +3 -0
  119. package/cjs/substrate/tx.js +3 -0
  120. package/cjs/substrate/types.js +3 -0
  121. package/cjs/westendAssetHub/consts.js +3 -0
  122. package/cjs/westendAssetHub/errors.js +3 -0
  123. package/cjs/westendAssetHub/events.js +3 -0
  124. package/cjs/westendAssetHub/index.js +19 -0
  125. package/cjs/westendAssetHub/query.js +3 -0
  126. package/cjs/westendAssetHub/rpc.js +3 -0
  127. package/cjs/westendAssetHub/runtime.js +3 -0
  128. package/cjs/westendAssetHub/tx.js +3 -0
  129. package/cjs/westendAssetHub/types.js +3 -0
  130. package/kusama/consts.d.ts +1422 -1573
  131. package/kusama/consts.js +2 -0
  132. package/kusama/errors.d.ts +2490 -2995
  133. package/kusama/errors.js +2 -0
  134. package/kusama/events.d.ts +2723 -2996
  135. package/kusama/events.js +2 -0
  136. package/kusama/index.d.ts +8 -11
  137. package/kusama/index.js +3 -0
  138. package/kusama/query.d.ts +3248 -3828
  139. package/kusama/query.js +2 -0
  140. package/kusama/rpc.d.ts +724 -902
  141. package/kusama/rpc.js +2 -0
  142. package/kusama/runtime.d.ts +840 -1130
  143. package/kusama/runtime.js +2 -0
  144. package/kusama/tx.d.ts +6010 -7073
  145. package/kusama/tx.js +2 -0
  146. package/kusama/types.d.ts +15336 -10143
  147. package/kusama/types.js +2 -0
  148. package/kusamaAssetHub/consts.d.ts +627 -714
  149. package/kusamaAssetHub/consts.js +2 -0
  150. package/kusamaAssetHub/errors.d.ts +1160 -1405
  151. package/kusamaAssetHub/errors.js +2 -0
  152. package/kusamaAssetHub/events.d.ts +2060 -2149
  153. package/kusamaAssetHub/events.js +2 -0
  154. package/kusamaAssetHub/index.d.ts +8 -11
  155. package/kusamaAssetHub/index.js +3 -0
  156. package/kusamaAssetHub/query.d.ts +1298 -1551
  157. package/kusamaAssetHub/query.js +2 -0
  158. package/kusamaAssetHub/rpc.d.ts +588 -744
  159. package/kusamaAssetHub/rpc.js +2 -0
  160. package/kusamaAssetHub/runtime.d.ts +398 -510
  161. package/kusamaAssetHub/runtime.js +2 -0
  162. package/kusamaAssetHub/tx.d.ts +4212 -5050
  163. package/kusamaAssetHub/tx.js +2 -0
  164. package/kusamaAssetHub/types.d.ts +9997 -5964
  165. package/kusamaAssetHub/types.js +2 -0
  166. package/moonbeam/consts.d.ts +956 -1075
  167. package/moonbeam/consts.js +2 -0
  168. package/moonbeam/errors.d.ts +1793 -2131
  169. package/moonbeam/errors.js +2 -0
  170. package/moonbeam/events.d.ts +2681 -2932
  171. package/moonbeam/events.js +2 -0
  172. package/moonbeam/index.d.ts +8 -11
  173. package/moonbeam/index.js +3 -0
  174. package/moonbeam/query.d.ts +2024 -2391
  175. package/moonbeam/query.js +2 -0
  176. package/moonbeam/rpc.d.ts +807 -1013
  177. package/moonbeam/rpc.js +2 -0
  178. package/moonbeam/runtime.d.ts +502 -665
  179. package/moonbeam/runtime.js +2 -0
  180. package/moonbeam/tx.d.ts +5201 -6152
  181. package/moonbeam/tx.js +2 -0
  182. package/moonbeam/types.d.ts +12035 -7731
  183. package/moonbeam/types.js +2 -0
  184. package/package.json +8 -9
  185. package/packageInfo.js +1 -2
  186. package/polkadot/consts.d.ts +1155 -1272
  187. package/polkadot/consts.js +2 -0
  188. package/polkadot/errors.d.ts +2016 -2420
  189. package/polkadot/errors.js +2 -0
  190. package/polkadot/events.d.ts +2092 -2314
  191. package/polkadot/events.js +2 -0
  192. package/polkadot/index.d.ts +8 -11
  193. package/polkadot/index.js +3 -0
  194. package/polkadot/query.d.ts +2808 -3319
  195. package/polkadot/query.js +2 -0
  196. package/polkadot/rpc.d.ts +724 -902
  197. package/polkadot/rpc.js +2 -0
  198. package/polkadot/runtime.d.ts +840 -1130
  199. package/polkadot/runtime.js +2 -0
  200. package/polkadot/tx.d.ts +5005 -5909
  201. package/polkadot/tx.js +2 -0
  202. package/polkadot/types.d.ts +13402 -8854
  203. package/polkadot/types.js +2 -0
  204. package/polkadotAssetHub/consts.d.ts +519 -586
  205. package/polkadotAssetHub/consts.js +2 -0
  206. package/polkadotAssetHub/errors.d.ts +921 -1115
  207. package/polkadotAssetHub/errors.js +2 -0
  208. package/polkadotAssetHub/events.d.ts +1782 -1850
  209. package/polkadotAssetHub/events.js +2 -0
  210. package/polkadotAssetHub/index.d.ts +8 -11
  211. package/polkadotAssetHub/index.js +3 -0
  212. package/polkadotAssetHub/query.d.ts +1219 -1457
  213. package/polkadotAssetHub/query.js +2 -0
  214. package/polkadotAssetHub/rpc.d.ts +588 -744
  215. package/polkadotAssetHub/rpc.js +2 -0
  216. package/polkadotAssetHub/runtime.d.ts +355 -447
  217. package/polkadotAssetHub/runtime.js +2 -0
  218. package/polkadotAssetHub/tx.d.ts +3487 -4184
  219. package/polkadotAssetHub/tx.js +2 -0
  220. package/polkadotAssetHub/types.d.ts +8891 -5266
  221. package/polkadotAssetHub/types.js +2 -0
  222. package/rococoAssetHub/consts.d.ts +653 -745
  223. package/rococoAssetHub/consts.js +2 -0
  224. package/rococoAssetHub/errors.d.ts +1227 -1490
  225. package/rococoAssetHub/errors.js +2 -0
  226. package/rococoAssetHub/events.d.ts +2047 -2127
  227. package/rococoAssetHub/events.js +2 -0
  228. package/rococoAssetHub/index.d.ts +8 -11
  229. package/rococoAssetHub/index.js +3 -0
  230. package/rococoAssetHub/query.d.ts +1266 -1513
  231. package/rococoAssetHub/query.js +2 -0
  232. package/rococoAssetHub/rpc.d.ts +588 -744
  233. package/rococoAssetHub/rpc.js +2 -0
  234. package/rococoAssetHub/runtime.d.ts +424 -538
  235. package/rococoAssetHub/runtime.js +2 -0
  236. package/rococoAssetHub/tx.d.ts +4302 -5164
  237. package/rococoAssetHub/tx.js +2 -0
  238. package/rococoAssetHub/types.d.ts +10610 -6295
  239. package/rococoAssetHub/types.js +2 -0
  240. package/substrate/consts.d.ts +1966 -2218
  241. package/substrate/consts.js +2 -0
  242. package/substrate/errors.d.ts +3333 -4019
  243. package/substrate/errors.js +2 -0
  244. package/substrate/events.d.ts +4255 -4585
  245. package/substrate/events.js +2 -0
  246. package/substrate/index.d.ts +8 -11
  247. package/substrate/index.js +3 -0
  248. package/substrate/query.d.ts +3347 -3887
  249. package/substrate/query.js +2 -0
  250. package/substrate/rpc.d.ts +716 -892
  251. package/substrate/rpc.js +2 -0
  252. package/substrate/runtime.d.ts +704 -937
  253. package/substrate/runtime.js +2 -0
  254. package/substrate/tx.d.ts +8796 -10387
  255. package/substrate/tx.js +2 -0
  256. package/substrate/types.d.ts +19843 -12891
  257. package/substrate/types.js +2 -0
  258. package/westendAssetHub/consts.d.ts +653 -745
  259. package/westendAssetHub/consts.js +2 -0
  260. package/westendAssetHub/errors.d.ts +1227 -1490
  261. package/westendAssetHub/errors.js +2 -0
  262. package/westendAssetHub/events.d.ts +2047 -2127
  263. package/westendAssetHub/events.js +2 -0
  264. package/westendAssetHub/index.d.ts +8 -11
  265. package/westendAssetHub/index.js +3 -0
  266. package/westendAssetHub/query.d.ts +1266 -1513
  267. package/westendAssetHub/query.js +2 -0
  268. package/westendAssetHub/rpc.d.ts +588 -744
  269. package/westendAssetHub/rpc.js +2 -0
  270. package/westendAssetHub/runtime.d.ts +452 -577
  271. package/westendAssetHub/runtime.js +2 -0
  272. package/westendAssetHub/tx.d.ts +4302 -5164
  273. package/westendAssetHub/tx.js +2 -0
  274. package/westendAssetHub/types.d.ts +10614 -6302
  275. package/westendAssetHub/types.js +2 -0
  276. package/index.ts +0 -10
  277. package/packageInfo.ts +0 -3
package/astar/consts.d.ts CHANGED
@@ -1,758 +1,679 @@
1
- // Generated by @dedot/codegen
2
-
3
1
  import type { GenericChainConsts } from '@dedot/types';
4
2
  import type { RuntimeVersion } from '@dedot/codecs';
5
- import type {
6
- FrameSystemLimitsBlockWeights,
7
- FrameSystemLimitsBlockLength,
8
- SpWeightsRuntimeDbWeight,
9
- XcmV3MultilocationMultiLocation,
10
- SpWeightsWeightV2Weight,
11
- PalletContractsSchedule,
12
- FrameSupportPalletId,
13
- } from './types';
14
-
3
+ import type { FrameSystemLimitsBlockWeights, FrameSystemLimitsBlockLength, SpWeightsRuntimeDbWeight, XcmV3MultilocationMultiLocation, SpWeightsWeightV2Weight, PalletContractsSchedule, FrameSupportPalletId } from './types';
15
4
  export interface ChainConsts extends GenericChainConsts {
16
- /**
17
- * Pallet `System`'s constants
18
- **/
19
- system: {
20
5
  /**
21
- * Block & extrinsics weights: base values and limits.
22
- **/
23
- blockWeights: FrameSystemLimitsBlockWeights;
24
-
25
- /**
26
- * The maximum length of a block (in bytes).
27
- **/
28
- blockLength: FrameSystemLimitsBlockLength;
29
-
30
- /**
31
- * Maximum number of block number to block hash mappings to keep (oldest pruned first).
32
- **/
33
- blockHashCount: number;
34
-
35
- /**
36
- * The weight of runtime database operations the runtime can invoke.
37
- **/
38
- dbWeight: SpWeightsRuntimeDbWeight;
39
-
40
- /**
41
- * Get the chain's current version.
42
- **/
43
- version: RuntimeVersion;
44
-
45
- /**
46
- * The designated SS58 prefix of this chain.
47
- *
48
- * This replaces the "ss58Format" property declared in the chain spec. Reason is
49
- * that the runtime should know about the prefix in order to make use of it as
50
- * an identifier of the chain.
51
- **/
52
- ss58Prefix: number;
53
-
54
- /**
55
- * Generic pallet constant
56
- **/
57
- [name: string]: any;
58
- };
59
- /**
60
- * Pallet `Utility`'s constants
61
- **/
62
- utility: {
63
- /**
64
- * The limit on the number of batched calls.
65
- **/
66
- batchedCallsLimit: number;
67
-
68
- /**
69
- * Generic pallet constant
70
- **/
71
- [name: string]: any;
72
- };
73
- /**
74
- * Pallet `Identity`'s constants
75
- **/
76
- identity: {
77
- /**
78
- * The amount held on deposit for a registered identity
79
- **/
80
- basicDeposit: bigint;
81
-
82
- /**
83
- * The amount held on deposit per additional field for a registered identity.
84
- **/
85
- fieldDeposit: bigint;
86
-
87
- /**
88
- * The amount held on deposit for a registered subaccount. This should account for the fact
89
- * that one storage item's value will increase by the size of an account ID, and there will
90
- * be another trie item whose value is the size of an account ID plus 32 bytes.
91
- **/
92
- subAccountDeposit: bigint;
93
-
94
- /**
95
- * The maximum number of sub-accounts allowed per identified account.
96
- **/
97
- maxSubAccounts: number;
98
-
99
- /**
100
- * Maximum number of additional fields that may be stored in an ID. Needed to bound the I/O
101
- * required to access an identity, but can be pretty high.
102
- **/
103
- maxAdditionalFields: number;
104
-
105
- /**
106
- * Maxmimum number of registrars allowed in the system. Needed to bound the complexity
107
- * of, e.g., updating judgements.
108
- **/
109
- maxRegistrars: number;
110
-
111
- /**
112
- * Generic pallet constant
113
- **/
114
- [name: string]: any;
115
- };
116
- /**
117
- * Pallet `Timestamp`'s constants
118
- **/
119
- timestamp: {
120
- /**
121
- * The minimum period between blocks. Beware that this is different to the *expected*
122
- * period that the block production apparatus provides. Your chosen consensus system will
123
- * generally work with this to determine a sensible block time. e.g. For Aura, it will be
124
- * double this period on default settings.
125
- **/
126
- minimumPeriod: bigint;
127
-
128
- /**
129
- * Generic pallet constant
130
- **/
131
- [name: string]: any;
132
- };
133
- /**
134
- * Pallet `Multisig`'s constants
135
- **/
136
- multisig: {
137
- /**
138
- * The base amount of currency needed to reserve for creating a multisig execution or to
139
- * store a dispatch call for later.
140
- *
141
- * This is held for an additional storage item whose value size is
142
- * `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is
143
- * `32 + sizeof(AccountId)` bytes.
144
- **/
145
- depositBase: bigint;
146
-
147
- /**
148
- * The amount of currency needed per unit threshold when creating a multisig execution.
149
- *
150
- * This is held for adding 32 bytes more into a pre-existing storage value.
151
- **/
152
- depositFactor: bigint;
153
-
154
- /**
155
- * The maximum amount of signatories allowed in the multisig.
156
- **/
157
- maxSignatories: number;
158
-
159
- /**
160
- * Generic pallet constant
161
- **/
162
- [name: string]: any;
163
- };
164
- /**
165
- * Pallet `Proxy`'s constants
166
- **/
167
- proxy: {
168
- /**
169
- * The base amount of currency needed to reserve for creating a proxy.
170
- *
171
- * This is held for an additional storage item whose value size is
172
- * `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes.
173
- **/
174
- proxyDepositBase: bigint;
175
-
176
- /**
177
- * The amount of currency needed per proxy added.
178
- *
179
- * This is held for adding 32 bytes plus an instance of `ProxyType` more into a
180
- * pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take
181
- * into account `32 + proxy_type.encode().len()` bytes of data.
182
- **/
183
- proxyDepositFactor: bigint;
184
-
185
- /**
186
- * The maximum amount of proxies allowed for a single account.
187
- **/
188
- maxProxies: number;
189
-
190
- /**
191
- * The maximum amount of time-delayed announcements that are allowed to be pending.
192
- **/
193
- maxPending: number;
194
-
195
- /**
196
- * The base amount of currency needed to reserve for creating an announcement.
197
- *
198
- * This is held when a new storage item holding a `Balance` is created (typically 16
199
- * bytes).
200
- **/
201
- announcementDepositBase: bigint;
202
-
203
- /**
204
- * The amount of currency needed per announcement made.
205
- *
206
- * This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes)
207
- * into a pre-existing storage value.
208
- **/
209
- announcementDepositFactor: bigint;
210
-
211
- /**
212
- * Generic pallet constant
213
- **/
214
- [name: string]: any;
215
- };
216
- /**
217
- * Pallet `ParachainSystem`'s constants
218
- **/
219
- parachainSystem: {
220
- /**
221
- * Generic pallet constant
222
- **/
223
- [name: string]: any;
224
- };
225
- /**
226
- * Pallet `ParachainInfo`'s constants
227
- **/
228
- parachainInfo: {
229
- /**
230
- * Generic pallet constant
231
- **/
232
- [name: string]: any;
233
- };
234
- /**
235
- * Pallet `TransactionPayment`'s constants
236
- **/
237
- transactionPayment: {
238
- /**
239
- * A fee mulitplier for `Operational` extrinsics to compute "virtual tip" to boost their
240
- * `priority`
241
- *
242
- * This value is multipled by the `final_fee` to obtain a "virtual tip" that is later
243
- * added to a tip component in regular `priority` calculations.
244
- * It means that a `Normal` transaction can front-run a similarly-sized `Operational`
245
- * extrinsic (with no tip), by including a tip value greater than the virtual tip.
246
- *
247
- * ```rust,ignore
248
- * // For `Normal`
249
- * let priority = priority_calc(tip);
250
- *
251
- * // For `Operational`
252
- * let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier;
253
- * let priority = priority_calc(tip + virtual_tip);
254
- * ```
255
- *
256
- * Note that since we use `final_fee` the multiplier applies also to the regular `tip`
257
- * sent with the transaction. So, not only does the transaction get a priority bump based
258
- * on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational`
259
- * transactions.
260
- **/
261
- operationalFeeMultiplier: number;
262
-
263
- /**
264
- * Generic pallet constant
265
- **/
266
- [name: string]: any;
267
- };
268
- /**
269
- * Pallet `Balances`'s constants
270
- **/
271
- balances: {
272
- /**
273
- * The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!
274
- *
275
- * If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for
276
- * this pallet. However, you do so at your own risk: this will open up a major DoS vector.
277
- * In case you have multiple sources of provider references, you may also get unexpected
278
- * behaviour if you set this to zero.
279
- *
280
- * Bottom line: Do yourself a favour and make it at least one!
281
- **/
282
- existentialDeposit: bigint;
283
-
284
- /**
285
- * The maximum number of locks that should exist on an account.
286
- * Not strictly enforced, but used for weight estimation.
287
- **/
288
- maxLocks: number;
289
-
290
- /**
291
- * The maximum number of named reserves that can exist on an account.
292
- **/
293
- maxReserves: number;
294
-
295
- /**
296
- * The maximum number of holds that can exist on an account at any time.
297
- **/
298
- maxHolds: number;
299
-
300
- /**
301
- * The maximum number of individual freeze locks that can exist on an account at any time.
302
- **/
303
- maxFreezes: number;
304
-
305
- /**
306
- * Generic pallet constant
307
- **/
308
- [name: string]: any;
309
- };
310
- /**
311
- * Pallet `Vesting`'s constants
312
- **/
313
- vesting: {
314
- /**
315
- * The minimum amount transferred to call `vested_transfer`.
316
- **/
317
- minVestedTransfer: bigint;
318
- maxVestingSchedules: number;
319
-
320
- /**
321
- * Generic pallet constant
322
- **/
323
- [name: string]: any;
324
- };
325
- /**
326
- * Pallet `Inflation`'s constants
327
- **/
328
- inflation: {
329
- /**
330
- * Generic pallet constant
331
- **/
332
- [name: string]: any;
333
- };
334
- /**
335
- * Pallet `DappStaking`'s constants
336
- **/
337
- dappStaking: {
338
- /**
339
- * Maximum length of a single era reward span length entry.
340
- **/
341
- eraRewardSpanLength: number;
342
-
343
- /**
344
- * Number of periods for which we keep rewards available for claiming.
345
- * After that period, they are no longer claimable.
346
- **/
347
- rewardRetentionInPeriods: number;
348
-
349
- /**
350
- * Maximum number of contracts that can be integrated into dApp staking at once.
351
- **/
352
- maxNumberOfContracts: number;
353
-
354
- /**
355
- * Maximum number of unlocking chunks that can exist per account at a time.
356
- **/
357
- maxUnlockingChunks: number;
358
-
359
- /**
360
- * Minimum amount an account has to lock in dApp staking in order to participate.
361
- **/
362
- minimumLockedAmount: bigint;
363
-
364
- /**
365
- * Number of standard eras that need to pass before unlocking chunk can be claimed.
366
- * Even though it's expressed in 'eras', it's actually measured in number of blocks.
367
- **/
368
- unlockingPeriod: number;
369
-
370
- /**
371
- * Maximum amount of stake contract entries an account is allowed to have at once.
372
- **/
373
- maxNumberOfStakedContracts: number;
374
-
375
- /**
376
- * Minimum amount staker can stake on a contract.
377
- **/
378
- minimumStakeAmount: bigint;
379
-
380
- /**
381
- * Number of different tiers.
382
- **/
383
- numberOfTiers: number;
384
-
385
- /**
386
- * Generic pallet constant
387
- **/
388
- [name: string]: any;
389
- };
390
- /**
391
- * Pallet `Assets`'s constants
392
- **/
393
- assets: {
394
- /**
395
- * Max number of items to destroy per `destroy_accounts` and `destroy_approvals` call.
396
- *
397
- * Must be configured to result in a weight that makes each call fit in a block.
398
- **/
399
- removeItemsLimit: number;
400
-
401
- /**
402
- * The basic amount of funds that must be reserved for an asset.
403
- **/
404
- assetDeposit: bigint;
405
-
406
- /**
407
- * The amount of funds that must be reserved for a non-provider asset account to be
408
- * maintained.
409
- **/
410
- assetAccountDeposit: bigint;
411
-
412
- /**
413
- * The basic amount of funds that must be reserved when adding metadata to your asset.
414
- **/
415
- metadataDepositBase: bigint;
416
-
417
- /**
418
- * The additional funds that must be reserved for the number of bytes you store in your
419
- * metadata.
420
- **/
421
- metadataDepositPerByte: bigint;
422
-
423
- /**
424
- * The amount of funds that must be reserved when creating a new approval.
425
- **/
426
- approvalDeposit: bigint;
427
-
428
- /**
429
- * The maximum length of a name or symbol stored on-chain.
430
- **/
431
- stringLimit: number;
432
-
433
- /**
434
- * Generic pallet constant
435
- **/
436
- [name: string]: any;
437
- };
438
- /**
439
- * Pallet `Authorship`'s constants
440
- **/
441
- authorship: {
442
- /**
443
- * Generic pallet constant
444
- **/
445
- [name: string]: any;
446
- };
447
- /**
448
- * Pallet `CollatorSelection`'s constants
449
- **/
450
- collatorSelection: {
451
- /**
452
- * Generic pallet constant
453
- **/
454
- [name: string]: any;
455
- };
456
- /**
457
- * Pallet `Session`'s constants
458
- **/
459
- session: {
460
- /**
461
- * Generic pallet constant
462
- **/
463
- [name: string]: any;
464
- };
465
- /**
466
- * Pallet `Aura`'s constants
467
- **/
468
- aura: {
469
- /**
470
- * Generic pallet constant
471
- **/
472
- [name: string]: any;
473
- };
474
- /**
475
- * Pallet `AuraExt`'s constants
476
- **/
477
- auraExt: {
478
- /**
479
- * Generic pallet constant
480
- **/
481
- [name: string]: any;
482
- };
483
- /**
484
- * Pallet `XcmpQueue`'s constants
485
- **/
486
- xcmpQueue: {
487
- /**
488
- * Generic pallet constant
489
- **/
490
- [name: string]: any;
491
- };
492
- /**
493
- * Pallet `PolkadotXcm`'s constants
494
- **/
495
- polkadotXcm: {
496
- /**
497
- * Generic pallet constant
498
- **/
499
- [name: string]: any;
500
- };
501
- /**
502
- * Pallet `CumulusXcm`'s constants
503
- **/
504
- cumulusXcm: {
505
- /**
506
- * Generic pallet constant
507
- **/
508
- [name: string]: any;
509
- };
510
- /**
511
- * Pallet `DmpQueue`'s constants
512
- **/
513
- dmpQueue: {
514
- /**
515
- * Generic pallet constant
516
- **/
517
- [name: string]: any;
518
- };
519
- /**
520
- * Pallet `XcAssetConfig`'s constants
521
- **/
522
- xcAssetConfig: {
523
- /**
524
- * Generic pallet constant
525
- **/
526
- [name: string]: any;
527
- };
528
- /**
529
- * Pallet `XTokens`'s constants
530
- **/
531
- xTokens: {
532
- /**
533
- * Self chain location.
534
- **/
535
- selfLocation: XcmV3MultilocationMultiLocation;
536
-
537
- /**
538
- * Base XCM weight.
539
- *
540
- * The actually weight for an XCM message is `T::BaseXcmWeight +
541
- * T::Weigher::weight(&msg)`.
542
- **/
543
- baseXcmWeight: SpWeightsWeightV2Weight;
544
-
545
- /**
546
- * Generic pallet constant
547
- **/
548
- [name: string]: any;
549
- };
550
- /**
551
- * Pallet `EVM`'s constants
552
- **/
553
- eVM: {
554
- /**
555
- * Generic pallet constant
556
- **/
557
- [name: string]: any;
558
- };
559
- /**
560
- * Pallet `Ethereum`'s constants
561
- **/
562
- ethereum: {
563
- /**
564
- * Generic pallet constant
565
- **/
566
- [name: string]: any;
567
- };
568
- /**
569
- * Pallet `DynamicEvmBaseFee`'s constants
570
- **/
571
- dynamicEvmBaseFee: {
572
- /**
573
- * Generic pallet constant
574
- **/
575
- [name: string]: any;
576
- };
577
- /**
578
- * Pallet `Contracts`'s constants
579
- **/
580
- contracts: {
581
- /**
582
- * Cost schedule and limits.
583
- **/
584
- schedule: PalletContractsSchedule;
585
-
586
- /**
587
- * The amount of balance a caller has to pay for each byte of storage.
588
- *
589
- * # Note
590
- *
591
- * Changing this value for an existing chain might need a storage migration.
592
- **/
593
- depositPerByte: bigint;
594
-
595
- /**
596
- * Fallback value to limit the storage deposit if it's not being set by the caller.
597
- **/
598
- defaultDepositLimit: bigint;
599
-
600
- /**
601
- * The amount of balance a caller has to pay for each storage item.
602
- *
603
- * # Note
604
- *
605
- * Changing this value for an existing chain might need a storage migration.
606
- **/
607
- depositPerItem: bigint;
608
-
609
- /**
610
- * The maximum length of a contract code in bytes. This limit applies to the instrumented
611
- * version of the code. Therefore `instantiate_with_code` can fail even when supplying
612
- * a wasm binary below this maximum size.
613
- *
614
- * The value should be chosen carefully taking into the account the overall memory limit
615
- * your runtime has, as well as the [maximum allowed callstack
616
- * depth](#associatedtype.CallStack). Look into the `integrity_test()` for some insights.
617
- **/
618
- maxCodeLen: number;
619
-
620
- /**
621
- * The maximum allowable length in bytes for storage keys.
622
- **/
623
- maxStorageKeyLen: number;
624
-
625
- /**
626
- * Make contract callable functions marked as `#[unstable]` available.
627
- *
628
- * Contracts that use `#[unstable]` functions won't be able to be uploaded unless
629
- * this is set to `true`. This is only meant for testnets and dev nodes in order to
630
- * experiment with new features.
631
- *
632
- * # Warning
633
- *
634
- * Do **not** set to `true` on productions chains.
635
- **/
636
- unsafeUnstableInterface: boolean;
637
-
638
- /**
639
- * The maximum length of the debug buffer in bytes.
640
- **/
641
- maxDebugBufferLen: number;
642
-
643
- /**
644
- * Generic pallet constant
645
- **/
646
- [name: string]: any;
647
- };
648
- /**
649
- * Pallet `Sudo`'s constants
650
- **/
651
- sudo: {
652
- /**
653
- * Generic pallet constant
654
- **/
655
- [name: string]: any;
656
- };
657
- /**
658
- * Pallet `StaticPriceProvider`'s constants
659
- **/
660
- staticPriceProvider: {
661
- /**
662
- * Generic pallet constant
663
- **/
664
- [name: string]: any;
665
- };
666
- /**
667
- * Pallet `DappStakingMigration`'s constants
668
- **/
669
- dappStakingMigration: {
670
- /**
671
- * Generic pallet constant
672
- **/
673
- [name: string]: any;
674
- };
675
- /**
676
- * Pallet `DappsStaking`'s constants
677
- **/
678
- dappsStaking: {
679
- /**
680
- * Number of blocks per era.
681
- **/
682
- blockPerEra: number;
683
-
684
- /**
685
- * Deposit that will be reserved as part of new contract registration.
686
- **/
687
- registerDeposit: bigint;
688
-
689
- /**
690
- * Maximum number of unique stakers per contract.
691
- **/
692
- maxNumberOfStakersPerContract: number;
693
-
694
- /**
695
- * Minimum amount user must have staked on contract.
696
- * User can stake less if they already have the minimum staking amount staked on that particular contract.
697
- **/
698
- minimumStakingAmount: bigint;
699
-
700
- /**
701
- * Dapps staking pallet Id
702
- **/
703
- palletId: FrameSupportPalletId;
704
-
705
- /**
706
- * Minimum amount that should be left on staker account after staking.
707
- * Serves as a safeguard to prevent users from locking their entire free balance.
708
- **/
709
- minimumRemainingAmount: bigint;
710
-
711
- /**
712
- * Max number of unlocking chunks per account Id <-> contract Id pairing.
713
- * If value is zero, unlocking becomes impossible.
714
- **/
715
- maxUnlockingChunks: number;
716
-
717
- /**
718
- * Number of eras that need to pass until unstaked value can be withdrawn.
719
- * Current era is always counted as full era (regardless how much blocks are remaining).
720
- * When set to `0`, it's equal to having no unbonding period.
721
- **/
722
- unbondingPeriod: number;
723
-
724
- /**
725
- * Max number of unique `EraStake` values that can exist for a `(staker, contract)` pairing.
726
- * When stakers claims rewards, they will either keep the number of `EraStake` values the same or they will reduce them by one.
727
- * Stakers cannot add an additional `EraStake` value by calling `bond&stake` or `unbond&unstake` if they've reached the max number of values.
728
- *
729
- * This ensures that history doesn't grow indefinitely - if there are too many chunks, stakers should first claim their former rewards
730
- * before adding additional `EraStake` values.
731
- **/
732
- maxEraStakeValues: number;
733
-
734
- /**
735
- * Number of eras that need to pass until dApp rewards for the unregistered contracts can be burned.
736
- * Developer can still claim rewards after this period has passed, iff it hasn't been burned yet.
737
- *
738
- * For example, if retention is set to `2` and current era is `10`, it means that all unclaimed rewards bellow era `8` can be burned.
739
- **/
740
- unregisteredDappRewardRetention: number;
741
-
742
- /**
743
- * Can be used to force pallet into permanent maintenance mode.
744
- **/
745
- forcePalletDisabled: boolean;
746
-
747
- /**
748
- * The fee that will be charged for claiming rewards on behalf of a staker.
749
- * This amount will be transferred from the staker over to the caller.
750
- **/
751
- delegateClaimFee: bigint;
752
-
753
- /**
754
- * Generic pallet constant
755
- **/
756
- [name: string]: any;
757
- };
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 `Identity`'s constants
57
+ **/
58
+ identity: {
59
+ /**
60
+ * The amount held on deposit for a registered identity
61
+ **/
62
+ basicDeposit: bigint;
63
+ /**
64
+ * The amount held on deposit per additional field for a registered identity.
65
+ **/
66
+ fieldDeposit: bigint;
67
+ /**
68
+ * The amount held on deposit for a registered subaccount. This should account for the fact
69
+ * that one storage item's value will increase by the size of an account ID, and there will
70
+ * be another trie item whose value is the size of an account ID plus 32 bytes.
71
+ **/
72
+ subAccountDeposit: bigint;
73
+ /**
74
+ * The maximum number of sub-accounts allowed per identified account.
75
+ **/
76
+ maxSubAccounts: number;
77
+ /**
78
+ * Maximum number of additional fields that may be stored in an ID. Needed to bound the I/O
79
+ * required to access an identity, but can be pretty high.
80
+ **/
81
+ maxAdditionalFields: number;
82
+ /**
83
+ * Maxmimum number of registrars allowed in the system. Needed to bound the complexity
84
+ * of, e.g., updating judgements.
85
+ **/
86
+ maxRegistrars: number;
87
+ /**
88
+ * Generic pallet constant
89
+ **/
90
+ [name: string]: any;
91
+ };
92
+ /**
93
+ * Pallet `Timestamp`'s constants
94
+ **/
95
+ timestamp: {
96
+ /**
97
+ * The minimum period between blocks. Beware that this is different to the *expected*
98
+ * period that the block production apparatus provides. Your chosen consensus system will
99
+ * generally work with this to determine a sensible block time. e.g. For Aura, it will be
100
+ * double this period on default settings.
101
+ **/
102
+ minimumPeriod: bigint;
103
+ /**
104
+ * Generic pallet constant
105
+ **/
106
+ [name: string]: any;
107
+ };
108
+ /**
109
+ * Pallet `Multisig`'s constants
110
+ **/
111
+ multisig: {
112
+ /**
113
+ * The base amount of currency needed to reserve for creating a multisig execution or to
114
+ * store a dispatch call for later.
115
+ *
116
+ * This is held for an additional storage item whose value size is
117
+ * `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is
118
+ * `32 + sizeof(AccountId)` bytes.
119
+ **/
120
+ depositBase: bigint;
121
+ /**
122
+ * The amount of currency needed per unit threshold when creating a multisig execution.
123
+ *
124
+ * This is held for adding 32 bytes more into a pre-existing storage value.
125
+ **/
126
+ depositFactor: bigint;
127
+ /**
128
+ * The maximum amount of signatories allowed in the multisig.
129
+ **/
130
+ maxSignatories: number;
131
+ /**
132
+ * Generic pallet constant
133
+ **/
134
+ [name: string]: any;
135
+ };
136
+ /**
137
+ * Pallet `Proxy`'s constants
138
+ **/
139
+ proxy: {
140
+ /**
141
+ * The base amount of currency needed to reserve for creating a proxy.
142
+ *
143
+ * This is held for an additional storage item whose value size is
144
+ * `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes.
145
+ **/
146
+ proxyDepositBase: bigint;
147
+ /**
148
+ * The amount of currency needed per proxy added.
149
+ *
150
+ * This is held for adding 32 bytes plus an instance of `ProxyType` more into a
151
+ * pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take
152
+ * into account `32 + proxy_type.encode().len()` bytes of data.
153
+ **/
154
+ proxyDepositFactor: bigint;
155
+ /**
156
+ * The maximum amount of proxies allowed for a single account.
157
+ **/
158
+ maxProxies: number;
159
+ /**
160
+ * The maximum amount of time-delayed announcements that are allowed to be pending.
161
+ **/
162
+ maxPending: number;
163
+ /**
164
+ * The base amount of currency needed to reserve for creating an announcement.
165
+ *
166
+ * This is held when a new storage item holding a `Balance` is created (typically 16
167
+ * bytes).
168
+ **/
169
+ announcementDepositBase: bigint;
170
+ /**
171
+ * The amount of currency needed per announcement made.
172
+ *
173
+ * This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes)
174
+ * into a pre-existing storage value.
175
+ **/
176
+ announcementDepositFactor: bigint;
177
+ /**
178
+ * Generic pallet constant
179
+ **/
180
+ [name: string]: any;
181
+ };
182
+ /**
183
+ * Pallet `ParachainSystem`'s constants
184
+ **/
185
+ parachainSystem: {
186
+ /**
187
+ * Generic pallet constant
188
+ **/
189
+ [name: string]: any;
190
+ };
191
+ /**
192
+ * Pallet `ParachainInfo`'s constants
193
+ **/
194
+ parachainInfo: {
195
+ /**
196
+ * Generic pallet constant
197
+ **/
198
+ [name: string]: any;
199
+ };
200
+ /**
201
+ * Pallet `TransactionPayment`'s constants
202
+ **/
203
+ transactionPayment: {
204
+ /**
205
+ * A fee mulitplier for `Operational` extrinsics to compute "virtual tip" to boost their
206
+ * `priority`
207
+ *
208
+ * This value is multipled by the `final_fee` to obtain a "virtual tip" that is later
209
+ * added to a tip component in regular `priority` calculations.
210
+ * It means that a `Normal` transaction can front-run a similarly-sized `Operational`
211
+ * extrinsic (with no tip), by including a tip value greater than the virtual tip.
212
+ *
213
+ * ```rust,ignore
214
+ * // For `Normal`
215
+ * let priority = priority_calc(tip);
216
+ *
217
+ * // For `Operational`
218
+ * let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier;
219
+ * let priority = priority_calc(tip + virtual_tip);
220
+ * ```
221
+ *
222
+ * Note that since we use `final_fee` the multiplier applies also to the regular `tip`
223
+ * sent with the transaction. So, not only does the transaction get a priority bump based
224
+ * on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational`
225
+ * transactions.
226
+ **/
227
+ operationalFeeMultiplier: number;
228
+ /**
229
+ * Generic pallet constant
230
+ **/
231
+ [name: string]: any;
232
+ };
233
+ /**
234
+ * Pallet `Balances`'s constants
235
+ **/
236
+ balances: {
237
+ /**
238
+ * The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!
239
+ *
240
+ * If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for
241
+ * this pallet. However, you do so at your own risk: this will open up a major DoS vector.
242
+ * In case you have multiple sources of provider references, you may also get unexpected
243
+ * behaviour if you set this to zero.
244
+ *
245
+ * Bottom line: Do yourself a favour and make it at least one!
246
+ **/
247
+ existentialDeposit: bigint;
248
+ /**
249
+ * The maximum number of locks that should exist on an account.
250
+ * Not strictly enforced, but used for weight estimation.
251
+ **/
252
+ maxLocks: number;
253
+ /**
254
+ * The maximum number of named reserves that can exist on an account.
255
+ **/
256
+ maxReserves: number;
257
+ /**
258
+ * The maximum number of holds that can exist on an account at any time.
259
+ **/
260
+ maxHolds: number;
261
+ /**
262
+ * The maximum number of individual freeze locks that can exist on an account at any time.
263
+ **/
264
+ maxFreezes: number;
265
+ /**
266
+ * Generic pallet constant
267
+ **/
268
+ [name: string]: any;
269
+ };
270
+ /**
271
+ * Pallet `Vesting`'s constants
272
+ **/
273
+ vesting: {
274
+ /**
275
+ * The minimum amount transferred to call `vested_transfer`.
276
+ **/
277
+ minVestedTransfer: bigint;
278
+ maxVestingSchedules: number;
279
+ /**
280
+ * Generic pallet constant
281
+ **/
282
+ [name: string]: any;
283
+ };
284
+ /**
285
+ * Pallet `Inflation`'s constants
286
+ **/
287
+ inflation: {
288
+ /**
289
+ * Generic pallet constant
290
+ **/
291
+ [name: string]: any;
292
+ };
293
+ /**
294
+ * Pallet `DappStaking`'s constants
295
+ **/
296
+ dappStaking: {
297
+ /**
298
+ * Maximum length of a single era reward span length entry.
299
+ **/
300
+ eraRewardSpanLength: number;
301
+ /**
302
+ * Number of periods for which we keep rewards available for claiming.
303
+ * After that period, they are no longer claimable.
304
+ **/
305
+ rewardRetentionInPeriods: number;
306
+ /**
307
+ * Maximum number of contracts that can be integrated into dApp staking at once.
308
+ **/
309
+ maxNumberOfContracts: number;
310
+ /**
311
+ * Maximum number of unlocking chunks that can exist per account at a time.
312
+ **/
313
+ maxUnlockingChunks: number;
314
+ /**
315
+ * Minimum amount an account has to lock in dApp staking in order to participate.
316
+ **/
317
+ minimumLockedAmount: bigint;
318
+ /**
319
+ * Number of standard eras that need to pass before unlocking chunk can be claimed.
320
+ * Even though it's expressed in 'eras', it's actually measured in number of blocks.
321
+ **/
322
+ unlockingPeriod: number;
323
+ /**
324
+ * Maximum amount of stake contract entries an account is allowed to have at once.
325
+ **/
326
+ maxNumberOfStakedContracts: number;
327
+ /**
328
+ * Minimum amount staker can stake on a contract.
329
+ **/
330
+ minimumStakeAmount: bigint;
331
+ /**
332
+ * Number of different tiers.
333
+ **/
334
+ numberOfTiers: number;
335
+ /**
336
+ * Generic pallet constant
337
+ **/
338
+ [name: string]: any;
339
+ };
340
+ /**
341
+ * Pallet `Assets`'s constants
342
+ **/
343
+ assets: {
344
+ /**
345
+ * Max number of items to destroy per `destroy_accounts` and `destroy_approvals` call.
346
+ *
347
+ * Must be configured to result in a weight that makes each call fit in a block.
348
+ **/
349
+ removeItemsLimit: number;
350
+ /**
351
+ * The basic amount of funds that must be reserved for an asset.
352
+ **/
353
+ assetDeposit: bigint;
354
+ /**
355
+ * The amount of funds that must be reserved for a non-provider asset account to be
356
+ * maintained.
357
+ **/
358
+ assetAccountDeposit: bigint;
359
+ /**
360
+ * The basic amount of funds that must be reserved when adding metadata to your asset.
361
+ **/
362
+ metadataDepositBase: bigint;
363
+ /**
364
+ * The additional funds that must be reserved for the number of bytes you store in your
365
+ * metadata.
366
+ **/
367
+ metadataDepositPerByte: bigint;
368
+ /**
369
+ * The amount of funds that must be reserved when creating a new approval.
370
+ **/
371
+ approvalDeposit: bigint;
372
+ /**
373
+ * The maximum length of a name or symbol stored on-chain.
374
+ **/
375
+ stringLimit: number;
376
+ /**
377
+ * Generic pallet constant
378
+ **/
379
+ [name: string]: any;
380
+ };
381
+ /**
382
+ * Pallet `Authorship`'s constants
383
+ **/
384
+ authorship: {
385
+ /**
386
+ * Generic pallet constant
387
+ **/
388
+ [name: string]: any;
389
+ };
390
+ /**
391
+ * Pallet `CollatorSelection`'s constants
392
+ **/
393
+ collatorSelection: {
394
+ /**
395
+ * Generic pallet constant
396
+ **/
397
+ [name: string]: any;
398
+ };
399
+ /**
400
+ * Pallet `Session`'s constants
401
+ **/
402
+ session: {
403
+ /**
404
+ * Generic pallet constant
405
+ **/
406
+ [name: string]: any;
407
+ };
408
+ /**
409
+ * Pallet `Aura`'s constants
410
+ **/
411
+ aura: {
412
+ /**
413
+ * Generic pallet constant
414
+ **/
415
+ [name: string]: any;
416
+ };
417
+ /**
418
+ * Pallet `AuraExt`'s constants
419
+ **/
420
+ auraExt: {
421
+ /**
422
+ * Generic pallet constant
423
+ **/
424
+ [name: string]: any;
425
+ };
426
+ /**
427
+ * Pallet `XcmpQueue`'s constants
428
+ **/
429
+ xcmpQueue: {
430
+ /**
431
+ * Generic pallet constant
432
+ **/
433
+ [name: string]: any;
434
+ };
435
+ /**
436
+ * Pallet `PolkadotXcm`'s constants
437
+ **/
438
+ polkadotXcm: {
439
+ /**
440
+ * Generic pallet constant
441
+ **/
442
+ [name: string]: any;
443
+ };
444
+ /**
445
+ * Pallet `CumulusXcm`'s constants
446
+ **/
447
+ cumulusXcm: {
448
+ /**
449
+ * Generic pallet constant
450
+ **/
451
+ [name: string]: any;
452
+ };
453
+ /**
454
+ * Pallet `DmpQueue`'s constants
455
+ **/
456
+ dmpQueue: {
457
+ /**
458
+ * Generic pallet constant
459
+ **/
460
+ [name: string]: any;
461
+ };
462
+ /**
463
+ * Pallet `XcAssetConfig`'s constants
464
+ **/
465
+ xcAssetConfig: {
466
+ /**
467
+ * Generic pallet constant
468
+ **/
469
+ [name: string]: any;
470
+ };
471
+ /**
472
+ * Pallet `XTokens`'s constants
473
+ **/
474
+ xTokens: {
475
+ /**
476
+ * Self chain location.
477
+ **/
478
+ selfLocation: XcmV3MultilocationMultiLocation;
479
+ /**
480
+ * Base XCM weight.
481
+ *
482
+ * The actually weight for an XCM message is `T::BaseXcmWeight +
483
+ * T::Weigher::weight(&msg)`.
484
+ **/
485
+ baseXcmWeight: SpWeightsWeightV2Weight;
486
+ /**
487
+ * Generic pallet constant
488
+ **/
489
+ [name: string]: any;
490
+ };
491
+ /**
492
+ * Pallet `EVM`'s constants
493
+ **/
494
+ eVM: {
495
+ /**
496
+ * Generic pallet constant
497
+ **/
498
+ [name: string]: any;
499
+ };
500
+ /**
501
+ * Pallet `Ethereum`'s constants
502
+ **/
503
+ ethereum: {
504
+ /**
505
+ * Generic pallet constant
506
+ **/
507
+ [name: string]: any;
508
+ };
509
+ /**
510
+ * Pallet `DynamicEvmBaseFee`'s constants
511
+ **/
512
+ dynamicEvmBaseFee: {
513
+ /**
514
+ * Generic pallet constant
515
+ **/
516
+ [name: string]: any;
517
+ };
518
+ /**
519
+ * Pallet `Contracts`'s constants
520
+ **/
521
+ contracts: {
522
+ /**
523
+ * Cost schedule and limits.
524
+ **/
525
+ schedule: PalletContractsSchedule;
526
+ /**
527
+ * The amount of balance a caller has to pay for each byte of storage.
528
+ *
529
+ * # Note
530
+ *
531
+ * Changing this value for an existing chain might need a storage migration.
532
+ **/
533
+ depositPerByte: bigint;
534
+ /**
535
+ * Fallback value to limit the storage deposit if it's not being set by the caller.
536
+ **/
537
+ defaultDepositLimit: bigint;
538
+ /**
539
+ * The amount of balance a caller has to pay for each storage item.
540
+ *
541
+ * # Note
542
+ *
543
+ * Changing this value for an existing chain might need a storage migration.
544
+ **/
545
+ depositPerItem: bigint;
546
+ /**
547
+ * The maximum length of a contract code in bytes. This limit applies to the instrumented
548
+ * version of the code. Therefore `instantiate_with_code` can fail even when supplying
549
+ * a wasm binary below this maximum size.
550
+ *
551
+ * The value should be chosen carefully taking into the account the overall memory limit
552
+ * your runtime has, as well as the [maximum allowed callstack
553
+ * depth](#associatedtype.CallStack). Look into the `integrity_test()` for some insights.
554
+ **/
555
+ maxCodeLen: number;
556
+ /**
557
+ * The maximum allowable length in bytes for storage keys.
558
+ **/
559
+ maxStorageKeyLen: number;
560
+ /**
561
+ * Make contract callable functions marked as `#[unstable]` available.
562
+ *
563
+ * Contracts that use `#[unstable]` functions won't be able to be uploaded unless
564
+ * this is set to `true`. This is only meant for testnets and dev nodes in order to
565
+ * experiment with new features.
566
+ *
567
+ * # Warning
568
+ *
569
+ * Do **not** set to `true` on productions chains.
570
+ **/
571
+ unsafeUnstableInterface: boolean;
572
+ /**
573
+ * The maximum length of the debug buffer in bytes.
574
+ **/
575
+ maxDebugBufferLen: number;
576
+ /**
577
+ * Generic pallet constant
578
+ **/
579
+ [name: string]: any;
580
+ };
581
+ /**
582
+ * Pallet `Sudo`'s constants
583
+ **/
584
+ sudo: {
585
+ /**
586
+ * Generic pallet constant
587
+ **/
588
+ [name: string]: any;
589
+ };
590
+ /**
591
+ * Pallet `StaticPriceProvider`'s constants
592
+ **/
593
+ staticPriceProvider: {
594
+ /**
595
+ * Generic pallet constant
596
+ **/
597
+ [name: string]: any;
598
+ };
599
+ /**
600
+ * Pallet `DappStakingMigration`'s constants
601
+ **/
602
+ dappStakingMigration: {
603
+ /**
604
+ * Generic pallet constant
605
+ **/
606
+ [name: string]: any;
607
+ };
608
+ /**
609
+ * Pallet `DappsStaking`'s constants
610
+ **/
611
+ dappsStaking: {
612
+ /**
613
+ * Number of blocks per era.
614
+ **/
615
+ blockPerEra: number;
616
+ /**
617
+ * Deposit that will be reserved as part of new contract registration.
618
+ **/
619
+ registerDeposit: bigint;
620
+ /**
621
+ * Maximum number of unique stakers per contract.
622
+ **/
623
+ maxNumberOfStakersPerContract: number;
624
+ /**
625
+ * Minimum amount user must have staked on contract.
626
+ * User can stake less if they already have the minimum staking amount staked on that particular contract.
627
+ **/
628
+ minimumStakingAmount: bigint;
629
+ /**
630
+ * Dapps staking pallet Id
631
+ **/
632
+ palletId: FrameSupportPalletId;
633
+ /**
634
+ * Minimum amount that should be left on staker account after staking.
635
+ * Serves as a safeguard to prevent users from locking their entire free balance.
636
+ **/
637
+ minimumRemainingAmount: bigint;
638
+ /**
639
+ * Max number of unlocking chunks per account Id <-> contract Id pairing.
640
+ * If value is zero, unlocking becomes impossible.
641
+ **/
642
+ maxUnlockingChunks: number;
643
+ /**
644
+ * Number of eras that need to pass until unstaked value can be withdrawn.
645
+ * Current era is always counted as full era (regardless how much blocks are remaining).
646
+ * When set to `0`, it's equal to having no unbonding period.
647
+ **/
648
+ unbondingPeriod: number;
649
+ /**
650
+ * Max number of unique `EraStake` values that can exist for a `(staker, contract)` pairing.
651
+ * When stakers claims rewards, they will either keep the number of `EraStake` values the same or they will reduce them by one.
652
+ * Stakers cannot add an additional `EraStake` value by calling `bond&stake` or `unbond&unstake` if they've reached the max number of values.
653
+ *
654
+ * This ensures that history doesn't grow indefinitely - if there are too many chunks, stakers should first claim their former rewards
655
+ * before adding additional `EraStake` values.
656
+ **/
657
+ maxEraStakeValues: number;
658
+ /**
659
+ * Number of eras that need to pass until dApp rewards for the unregistered contracts can be burned.
660
+ * Developer can still claim rewards after this period has passed, iff it hasn't been burned yet.
661
+ *
662
+ * For example, if retention is set to `2` and current era is `10`, it means that all unclaimed rewards bellow era `8` can be burned.
663
+ **/
664
+ unregisteredDappRewardRetention: number;
665
+ /**
666
+ * Can be used to force pallet into permanent maintenance mode.
667
+ **/
668
+ forcePalletDisabled: boolean;
669
+ /**
670
+ * The fee that will be charged for claiming rewards on behalf of a staker.
671
+ * This amount will be transferred from the staker over to the caller.
672
+ **/
673
+ delegateClaimFee: bigint;
674
+ /**
675
+ * Generic pallet constant
676
+ **/
677
+ [name: string]: any;
678
+ };
758
679
  }