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

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