@lidofinance/lsv-cli 1.0.0-alpha.27 → 1.0.0-alpha.29

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 (168) hide show
  1. package/dist/abi/BlsHarness.d.ts +178 -0
  2. package/dist/abi/CLProofVerifier.d.ts +188 -0
  3. package/dist/abi/Dashboard.d.ts +1486 -0
  4. package/dist/abi/LidoLocator.d.ts +330 -0
  5. package/dist/abi/OperatorGrid.d.ts +914 -0
  6. package/dist/abi/PredepositGuarantee.d.ts +1382 -0
  7. package/dist/abi/ReportChecker.d.ts +83 -0
  8. package/dist/abi/StEth.d.ts +372 -0
  9. package/dist/abi/StakingVault.d.ts +864 -0
  10. package/dist/abi/TokenManager.d.ts +577 -0
  11. package/dist/abi/VaultFactory.d.ts +160 -0
  12. package/dist/abi/VaultHub.d.ts +1309 -0
  13. package/dist/abi/VaultViewer.d.ts +223 -0
  14. package/dist/abi/Voting.d.ts +676 -0
  15. package/dist/abi/WstEth.d.ts +362 -0
  16. package/dist/abi/index.d.ts +15 -0
  17. package/dist/command/index.d.ts +2 -0
  18. package/dist/configs/constants.d.ts +36 -0
  19. package/dist/configs/deployed.d.ts +17 -0
  20. package/dist/configs/deployed.js +9 -15
  21. package/dist/configs/deployed.js.map +1 -1
  22. package/dist/configs/envs.d.ts +2 -0
  23. package/dist/configs/index.d.ts +3 -0
  24. package/dist/configs/utils.d.ts +4 -0
  25. package/dist/contracts/blsHarness.d.ts +947 -0
  26. package/dist/contracts/clProofVerifier.d.ts +2647 -0
  27. package/dist/contracts/dashboard.d.ts +4 -0
  28. package/dist/contracts/dashboard.js +1 -1
  29. package/dist/contracts/dashboard.js.map +1 -1
  30. package/dist/contracts/index.d.ts +15 -0
  31. package/dist/contracts/locator.d.ts +6935 -0
  32. package/dist/contracts/operator-grid.d.ts +3 -0
  33. package/dist/contracts/operator-grid.js +1 -1
  34. package/dist/contracts/operator-grid.js.map +1 -1
  35. package/dist/contracts/pdg.d.ts +3 -0
  36. package/dist/contracts/pdg.js +1 -1
  37. package/dist/contracts/pdg.js.map +1 -1
  38. package/dist/contracts/reportChecker.d.ts +758 -0
  39. package/dist/contracts/steth.d.ts +27706 -0
  40. package/dist/contracts/token-manager.d.ts +3 -0
  41. package/dist/contracts/token-manager.js +4 -7
  42. package/dist/contracts/token-manager.js.map +1 -1
  43. package/dist/contracts/vault-factory.d.ts +2678 -0
  44. package/dist/contracts/vault-hub.d.ts +3 -0
  45. package/dist/contracts/vault-hub.js +1 -1
  46. package/dist/contracts/vault-hub.js.map +1 -1
  47. package/dist/contracts/vault-viewer.d.ts +2681 -0
  48. package/dist/contracts/vault.d.ts +3 -0
  49. package/dist/contracts/vault.js +3 -6
  50. package/dist/contracts/vault.js.map +1 -1
  51. package/dist/contracts/voting.d.ts +6 -0
  52. package/dist/contracts/voting.js +1 -1
  53. package/dist/contracts/voting.js.map +1 -1
  54. package/dist/contracts/wsteth.d.ts +24690 -0
  55. package/dist/features/advanced-config.d.ts +5 -0
  56. package/dist/features/dashboard.d.ts +5 -0
  57. package/dist/features/dashboard.js +108 -29
  58. package/dist/features/dashboard.js.map +1 -1
  59. package/dist/features/index.d.ts +8 -0
  60. package/dist/features/operator-grid.d.ts +2 -0
  61. package/dist/features/pdg.d.ts +2 -0
  62. package/dist/features/token-manager.d.ts +1 -0
  63. package/dist/features/vault-factory.d.ts +8 -0
  64. package/dist/features/vault-hub.d.ts +2 -0
  65. package/dist/features/vault.d.ts +2 -0
  66. package/dist/features/voting.d.ts +7 -0
  67. package/dist/index.d.ts +3 -0
  68. package/dist/index.js +1 -0
  69. package/dist/index.js.map +1 -1
  70. package/dist/programs/account.d.ts +1 -0
  71. package/dist/programs/account.js +5 -1
  72. package/dist/programs/account.js.map +1 -1
  73. package/dist/programs/config.d.ts +1 -0
  74. package/dist/programs/dashboard/config.d.ts +2 -0
  75. package/dist/programs/dashboard/index.d.ts +3 -0
  76. package/dist/programs/dashboard/main.d.ts +1 -0
  77. package/dist/programs/dashboard/read.d.ts +1 -0
  78. package/dist/programs/dashboard/read.js +11 -20
  79. package/dist/programs/dashboard/read.js.map +1 -1
  80. package/dist/programs/dashboard/write.d.ts +1 -0
  81. package/dist/programs/hub/config.d.ts +2 -0
  82. package/dist/programs/hub/index.d.ts +3 -0
  83. package/dist/programs/hub/main.d.ts +1 -0
  84. package/dist/programs/hub/read.d.ts +1 -0
  85. package/dist/programs/hub/write.d.ts +1 -0
  86. package/dist/programs/index.d.ts +11 -0
  87. package/dist/programs/operator-grid/config.d.ts +2 -0
  88. package/dist/programs/operator-grid/index.d.ts +3 -0
  89. package/dist/programs/operator-grid/main.d.ts +1 -0
  90. package/dist/programs/operator-grid/read.d.ts +1 -0
  91. package/dist/programs/operator-grid/write.d.ts +1 -0
  92. package/dist/programs/pdg/config.d.ts +2 -0
  93. package/dist/programs/pdg/index.d.ts +3 -0
  94. package/dist/programs/pdg/main.d.ts +1 -0
  95. package/dist/programs/pdg/read.d.ts +1 -0
  96. package/dist/programs/pdg/write.d.ts +1 -0
  97. package/dist/programs/pdg-helpers.d.ts +1 -0
  98. package/dist/programs/report.d.ts +1 -0
  99. package/dist/programs/vault/config.d.ts +2 -0
  100. package/dist/programs/vault/index.d.ts +3 -0
  101. package/dist/programs/vault/main.d.ts +1 -0
  102. package/dist/programs/vault/read.d.ts +1 -0
  103. package/dist/programs/vault/write.d.ts +1 -0
  104. package/dist/programs/vault-factory/config.d.ts +2 -0
  105. package/dist/programs/vault-factory/index.d.ts +3 -0
  106. package/dist/programs/vault-factory/main.d.ts +1 -0
  107. package/dist/programs/vault-factory/read.d.ts +1 -0
  108. package/dist/programs/vault-factory/write.d.ts +1 -0
  109. package/dist/programs/vault-viewer/config.d.ts +2 -0
  110. package/dist/programs/vault-viewer/index.d.ts +2 -0
  111. package/dist/programs/vault-viewer/main.d.ts +1 -0
  112. package/dist/programs/vault-viewer/read.d.ts +1 -0
  113. package/dist/programs/voting.d.ts +1 -0
  114. package/dist/providers/index.d.ts +1 -0
  115. package/dist/providers/wallet.d.ts +6897 -0
  116. package/dist/providers/wallet.js +1 -1
  117. package/dist/providers/wallet.js.map +1 -1
  118. package/dist/types/common.d.ts +31 -0
  119. package/dist/types/config.d.ts +23 -0
  120. package/dist/types/index.d.ts +2 -0
  121. package/dist/utils/arguments.d.ts +13 -0
  122. package/dist/utils/bls.d.ts +21 -0
  123. package/dist/utils/calculate-overview.d.ts +19 -0
  124. package/dist/utils/calculate-overview.js +55 -0
  125. package/dist/utils/calculate-overview.js.map +1 -0
  126. package/dist/utils/commands/dashboard.d.ts +6 -0
  127. package/dist/utils/commands/index.d.ts +1 -0
  128. package/dist/utils/contract.d.ts +25 -0
  129. package/dist/utils/data-validators.d.ts +6 -0
  130. package/dist/utils/data-validators.js +0 -3
  131. package/dist/utils/data-validators.js.map +1 -1
  132. package/dist/utils/error-handler.d.ts +1 -0
  133. package/dist/utils/fetchCL.d.ts +14 -0
  134. package/dist/utils/get-commands.d.ts +2 -0
  135. package/dist/utils/get-deposit-data-root.d.ts +7 -0
  136. package/dist/utils/get-value.d.ts +1 -0
  137. package/dist/utils/health.d.ts +27748 -0
  138. package/dist/utils/health.js +2 -1
  139. package/dist/utils/health.js.map +1 -1
  140. package/dist/utils/index.d.ts +22 -0
  141. package/dist/utils/index.js +1 -0
  142. package/dist/utils/index.js.map +1 -1
  143. package/dist/utils/ipfs.d.ts +6 -0
  144. package/dist/utils/logging/console.d.ts +7 -0
  145. package/dist/utils/logging/constants.d.ts +2 -0
  146. package/dist/utils/logging/index.d.ts +1 -0
  147. package/dist/utils/prompts/dashboard.d.ts +29 -0
  148. package/dist/utils/prompts/default.d.ts +3 -0
  149. package/dist/utils/prompts/index.d.ts +5 -0
  150. package/dist/utils/prompts/operations.d.ts +9 -0
  151. package/dist/utils/prompts/predeposit-guarantee.d.ts +3 -0
  152. package/dist/utils/prompts/vault.d.ts +2 -0
  153. package/dist/utils/proof/create-proof.d.ts +12 -0
  154. package/dist/utils/proof/first-validator-gindex.d.ts +1 -0
  155. package/dist/utils/proof/index.d.ts +4 -0
  156. package/dist/utils/proof/merkle-utils.d.ts +55 -0
  157. package/dist/utils/proof/proofs.d.ts +305 -0
  158. package/dist/utils/proof/report-proof.d.ts +5 -0
  159. package/dist/utils/read-programs-by-abi.d.ts +18 -0
  160. package/dist/utils/report.d.ts +75 -0
  161. package/dist/utils/required-lock.d.ts +5 -0
  162. package/dist/utils/resolve-path.d.ts +1 -0
  163. package/dist/utils/sleep.d.ts +1 -0
  164. package/dist/utils/spinner/index.d.ts +1 -0
  165. package/dist/utils/spinner/spinners.d.ts +7 -0
  166. package/dist/version/index.d.ts +1 -0
  167. package/dist/version/index.js +1 -1
  168. package/package.json +1 -1
@@ -0,0 +1,362 @@
1
+ export declare const WstEthAbi: readonly [{
2
+ readonly inputs: readonly [{
3
+ readonly internalType: "contract IStETH";
4
+ readonly name: "_stETH";
5
+ readonly type: "address";
6
+ }];
7
+ readonly stateMutability: "nonpayable";
8
+ readonly type: "constructor";
9
+ }, {
10
+ readonly anonymous: false;
11
+ readonly inputs: readonly [{
12
+ readonly indexed: true;
13
+ readonly internalType: "address";
14
+ readonly name: "owner";
15
+ readonly type: "address";
16
+ }, {
17
+ readonly indexed: true;
18
+ readonly internalType: "address";
19
+ readonly name: "spender";
20
+ readonly type: "address";
21
+ }, {
22
+ readonly indexed: false;
23
+ readonly internalType: "uint256";
24
+ readonly name: "value";
25
+ readonly type: "uint256";
26
+ }];
27
+ readonly name: "Approval";
28
+ readonly type: "event";
29
+ }, {
30
+ readonly anonymous: false;
31
+ readonly inputs: readonly [{
32
+ readonly indexed: true;
33
+ readonly internalType: "address";
34
+ readonly name: "from";
35
+ readonly type: "address";
36
+ }, {
37
+ readonly indexed: true;
38
+ readonly internalType: "address";
39
+ readonly name: "to";
40
+ readonly type: "address";
41
+ }, {
42
+ readonly indexed: false;
43
+ readonly internalType: "uint256";
44
+ readonly name: "value";
45
+ readonly type: "uint256";
46
+ }];
47
+ readonly name: "Transfer";
48
+ readonly type: "event";
49
+ }, {
50
+ readonly inputs: readonly [];
51
+ readonly name: "DOMAIN_SEPARATOR";
52
+ readonly outputs: readonly [{
53
+ readonly internalType: "bytes32";
54
+ readonly name: "";
55
+ readonly type: "bytes32";
56
+ }];
57
+ readonly stateMutability: "view";
58
+ readonly type: "function";
59
+ }, {
60
+ readonly inputs: readonly [{
61
+ readonly internalType: "address";
62
+ readonly name: "owner";
63
+ readonly type: "address";
64
+ }, {
65
+ readonly internalType: "address";
66
+ readonly name: "spender";
67
+ readonly type: "address";
68
+ }];
69
+ readonly name: "allowance";
70
+ readonly outputs: readonly [{
71
+ readonly internalType: "uint256";
72
+ readonly name: "";
73
+ readonly type: "uint256";
74
+ }];
75
+ readonly stateMutability: "view";
76
+ readonly type: "function";
77
+ }, {
78
+ readonly inputs: readonly [{
79
+ readonly internalType: "address";
80
+ readonly name: "spender";
81
+ readonly type: "address";
82
+ }, {
83
+ readonly internalType: "uint256";
84
+ readonly name: "amount";
85
+ readonly type: "uint256";
86
+ }];
87
+ readonly name: "approve";
88
+ readonly outputs: readonly [{
89
+ readonly internalType: "bool";
90
+ readonly name: "";
91
+ readonly type: "bool";
92
+ }];
93
+ readonly stateMutability: "nonpayable";
94
+ readonly type: "function";
95
+ }, {
96
+ readonly inputs: readonly [{
97
+ readonly internalType: "address";
98
+ readonly name: "account";
99
+ readonly type: "address";
100
+ }];
101
+ readonly name: "balanceOf";
102
+ readonly outputs: readonly [{
103
+ readonly internalType: "uint256";
104
+ readonly name: "";
105
+ readonly type: "uint256";
106
+ }];
107
+ readonly stateMutability: "view";
108
+ readonly type: "function";
109
+ }, {
110
+ readonly inputs: readonly [];
111
+ readonly name: "decimals";
112
+ readonly outputs: readonly [{
113
+ readonly internalType: "uint8";
114
+ readonly name: "";
115
+ readonly type: "uint8";
116
+ }];
117
+ readonly stateMutability: "view";
118
+ readonly type: "function";
119
+ }, {
120
+ readonly inputs: readonly [{
121
+ readonly internalType: "address";
122
+ readonly name: "spender";
123
+ readonly type: "address";
124
+ }, {
125
+ readonly internalType: "uint256";
126
+ readonly name: "subtractedValue";
127
+ readonly type: "uint256";
128
+ }];
129
+ readonly name: "decreaseAllowance";
130
+ readonly outputs: readonly [{
131
+ readonly internalType: "bool";
132
+ readonly name: "";
133
+ readonly type: "bool";
134
+ }];
135
+ readonly stateMutability: "nonpayable";
136
+ readonly type: "function";
137
+ }, {
138
+ readonly inputs: readonly [{
139
+ readonly internalType: "uint256";
140
+ readonly name: "_wstETHAmount";
141
+ readonly type: "uint256";
142
+ }];
143
+ readonly name: "getStETHByWstETH";
144
+ readonly outputs: readonly [{
145
+ readonly internalType: "uint256";
146
+ readonly name: "";
147
+ readonly type: "uint256";
148
+ }];
149
+ readonly stateMutability: "view";
150
+ readonly type: "function";
151
+ }, {
152
+ readonly inputs: readonly [{
153
+ readonly internalType: "uint256";
154
+ readonly name: "_stETHAmount";
155
+ readonly type: "uint256";
156
+ }];
157
+ readonly name: "getWstETHByStETH";
158
+ readonly outputs: readonly [{
159
+ readonly internalType: "uint256";
160
+ readonly name: "";
161
+ readonly type: "uint256";
162
+ }];
163
+ readonly stateMutability: "view";
164
+ readonly type: "function";
165
+ }, {
166
+ readonly inputs: readonly [{
167
+ readonly internalType: "address";
168
+ readonly name: "spender";
169
+ readonly type: "address";
170
+ }, {
171
+ readonly internalType: "uint256";
172
+ readonly name: "addedValue";
173
+ readonly type: "uint256";
174
+ }];
175
+ readonly name: "increaseAllowance";
176
+ readonly outputs: readonly [{
177
+ readonly internalType: "bool";
178
+ readonly name: "";
179
+ readonly type: "bool";
180
+ }];
181
+ readonly stateMutability: "nonpayable";
182
+ readonly type: "function";
183
+ }, {
184
+ readonly inputs: readonly [];
185
+ readonly name: "name";
186
+ readonly outputs: readonly [{
187
+ readonly internalType: "string";
188
+ readonly name: "";
189
+ readonly type: "string";
190
+ }];
191
+ readonly stateMutability: "view";
192
+ readonly type: "function";
193
+ }, {
194
+ readonly inputs: readonly [{
195
+ readonly internalType: "address";
196
+ readonly name: "owner";
197
+ readonly type: "address";
198
+ }];
199
+ readonly name: "nonces";
200
+ readonly outputs: readonly [{
201
+ readonly internalType: "uint256";
202
+ readonly name: "";
203
+ readonly type: "uint256";
204
+ }];
205
+ readonly stateMutability: "view";
206
+ readonly type: "function";
207
+ }, {
208
+ readonly inputs: readonly [{
209
+ readonly internalType: "address";
210
+ readonly name: "owner";
211
+ readonly type: "address";
212
+ }, {
213
+ readonly internalType: "address";
214
+ readonly name: "spender";
215
+ readonly type: "address";
216
+ }, {
217
+ readonly internalType: "uint256";
218
+ readonly name: "value";
219
+ readonly type: "uint256";
220
+ }, {
221
+ readonly internalType: "uint256";
222
+ readonly name: "deadline";
223
+ readonly type: "uint256";
224
+ }, {
225
+ readonly internalType: "uint8";
226
+ readonly name: "v";
227
+ readonly type: "uint8";
228
+ }, {
229
+ readonly internalType: "bytes32";
230
+ readonly name: "r";
231
+ readonly type: "bytes32";
232
+ }, {
233
+ readonly internalType: "bytes32";
234
+ readonly name: "s";
235
+ readonly type: "bytes32";
236
+ }];
237
+ readonly name: "permit";
238
+ readonly outputs: readonly [];
239
+ readonly stateMutability: "nonpayable";
240
+ readonly type: "function";
241
+ }, {
242
+ readonly inputs: readonly [];
243
+ readonly name: "stETH";
244
+ readonly outputs: readonly [{
245
+ readonly internalType: "contract IStETH";
246
+ readonly name: "";
247
+ readonly type: "address";
248
+ }];
249
+ readonly stateMutability: "view";
250
+ readonly type: "function";
251
+ }, {
252
+ readonly inputs: readonly [];
253
+ readonly name: "stEthPerToken";
254
+ readonly outputs: readonly [{
255
+ readonly internalType: "uint256";
256
+ readonly name: "";
257
+ readonly type: "uint256";
258
+ }];
259
+ readonly stateMutability: "view";
260
+ readonly type: "function";
261
+ }, {
262
+ readonly inputs: readonly [];
263
+ readonly name: "symbol";
264
+ readonly outputs: readonly [{
265
+ readonly internalType: "string";
266
+ readonly name: "";
267
+ readonly type: "string";
268
+ }];
269
+ readonly stateMutability: "view";
270
+ readonly type: "function";
271
+ }, {
272
+ readonly inputs: readonly [];
273
+ readonly name: "tokensPerStEth";
274
+ readonly outputs: readonly [{
275
+ readonly internalType: "uint256";
276
+ readonly name: "";
277
+ readonly type: "uint256";
278
+ }];
279
+ readonly stateMutability: "view";
280
+ readonly type: "function";
281
+ }, {
282
+ readonly inputs: readonly [];
283
+ readonly name: "totalSupply";
284
+ readonly outputs: readonly [{
285
+ readonly internalType: "uint256";
286
+ readonly name: "";
287
+ readonly type: "uint256";
288
+ }];
289
+ readonly stateMutability: "view";
290
+ readonly type: "function";
291
+ }, {
292
+ readonly inputs: readonly [{
293
+ readonly internalType: "address";
294
+ readonly name: "recipient";
295
+ readonly type: "address";
296
+ }, {
297
+ readonly internalType: "uint256";
298
+ readonly name: "amount";
299
+ readonly type: "uint256";
300
+ }];
301
+ readonly name: "transfer";
302
+ readonly outputs: readonly [{
303
+ readonly internalType: "bool";
304
+ readonly name: "";
305
+ readonly type: "bool";
306
+ }];
307
+ readonly stateMutability: "nonpayable";
308
+ readonly type: "function";
309
+ }, {
310
+ readonly inputs: readonly [{
311
+ readonly internalType: "address";
312
+ readonly name: "sender";
313
+ readonly type: "address";
314
+ }, {
315
+ readonly internalType: "address";
316
+ readonly name: "recipient";
317
+ readonly type: "address";
318
+ }, {
319
+ readonly internalType: "uint256";
320
+ readonly name: "amount";
321
+ readonly type: "uint256";
322
+ }];
323
+ readonly name: "transferFrom";
324
+ readonly outputs: readonly [{
325
+ readonly internalType: "bool";
326
+ readonly name: "";
327
+ readonly type: "bool";
328
+ }];
329
+ readonly stateMutability: "nonpayable";
330
+ readonly type: "function";
331
+ }, {
332
+ readonly inputs: readonly [{
333
+ readonly internalType: "uint256";
334
+ readonly name: "_wstETHAmount";
335
+ readonly type: "uint256";
336
+ }];
337
+ readonly name: "unwrap";
338
+ readonly outputs: readonly [{
339
+ readonly internalType: "uint256";
340
+ readonly name: "";
341
+ readonly type: "uint256";
342
+ }];
343
+ readonly stateMutability: "nonpayable";
344
+ readonly type: "function";
345
+ }, {
346
+ readonly inputs: readonly [{
347
+ readonly internalType: "uint256";
348
+ readonly name: "_stETHAmount";
349
+ readonly type: "uint256";
350
+ }];
351
+ readonly name: "wrap";
352
+ readonly outputs: readonly [{
353
+ readonly internalType: "uint256";
354
+ readonly name: "";
355
+ readonly type: "uint256";
356
+ }];
357
+ readonly stateMutability: "nonpayable";
358
+ readonly type: "function";
359
+ }, {
360
+ readonly stateMutability: "payable";
361
+ readonly type: "receive";
362
+ }];
@@ -0,0 +1,15 @@
1
+ export * from './StakingVault.js';
2
+ export * from './VaultHub.js';
3
+ export * from './VaultFactory.js';
4
+ export * from './Dashboard.js';
5
+ export * from './StEth.js';
6
+ export * from './LidoLocator.js';
7
+ export * from './TokenManager.js';
8
+ export * from './Voting.js';
9
+ export * from './VaultViewer.js';
10
+ export * from './PredepositGuarantee.js';
11
+ export * from './OperatorGrid.js';
12
+ export * from './WstEth.js';
13
+ export * from './BlsHarness.js';
14
+ export * from './ReportChecker.js';
15
+ export * from './CLProofVerifier.js';
@@ -0,0 +1,2 @@
1
+ import { Command } from 'commander';
2
+ export declare const program: Command;
@@ -0,0 +1,36 @@
1
+ export declare const SUPPORTED_CHAINS_LIST: {
2
+ blockExplorers: {
3
+ readonly default: {
4
+ readonly name: "Etherscan";
5
+ readonly url: "https://hoodi.etherscan.io";
6
+ };
7
+ };
8
+ contracts?: {
9
+ [x: string]: import("viem").ChainContract | {
10
+ [sourceId: number]: import("viem").ChainContract | undefined;
11
+ } | undefined;
12
+ ensRegistry?: import("viem").ChainContract | undefined;
13
+ ensUniversalResolver?: import("viem").ChainContract | undefined;
14
+ multicall3?: import("viem").ChainContract | undefined;
15
+ universalSignatureVerifier?: import("viem").ChainContract | undefined;
16
+ } | undefined;
17
+ ensTlds?: readonly string[] | undefined;
18
+ id: 560048;
19
+ name: "Hoodi";
20
+ nativeCurrency: {
21
+ readonly name: "Hoodi Ether";
22
+ readonly symbol: "ETH";
23
+ readonly decimals: 18;
24
+ };
25
+ rpcUrls: {
26
+ readonly default: {
27
+ readonly http: readonly ["https://rpc.hoodi.ethpandaops.io"];
28
+ };
29
+ };
30
+ sourceId?: number | undefined | undefined;
31
+ testnet: true;
32
+ custom?: Record<string, unknown> | undefined;
33
+ fees?: import("viem").ChainFees<undefined> | undefined;
34
+ formatters?: undefined;
35
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
36
+ }[];
@@ -0,0 +1,17 @@
1
+ import { Chain } from 'viem';
2
+ import { Config } from '../types/index.js';
3
+ export declare const importDeployFile: () => Record<string, any>;
4
+ export declare const importConfigFromEnv: () => Config;
5
+ export declare const getConfig: () => Config;
6
+ export declare const getDeployed: () => Record<string, any>;
7
+ export declare const getChainId: () => number;
8
+ export declare const getChain: () => Chain;
9
+ export declare const getElUrl: () => string;
10
+ export declare const getContracts: () => {
11
+ [x: string]: any;
12
+ };
13
+ export declare const getContractDeploy: (path: string) => unknown;
14
+ export declare const getDeployedAddress: (...contractKeys: string[]) => `0x${string}`;
15
+ export declare const getOptionalDeployedAddress: (...contractKeys: string[]) => `0x${string}`;
16
+ export declare const getAddressMap: () => Record<string, string>;
17
+ export declare const getCachedAddressMap: () => Record<string, string>;
@@ -6,9 +6,6 @@ import { getValueByPath, validateConfig } from '../utils/index.js';
6
6
  import { envs } from './envs.js';
7
7
  import { SUPPORTED_CHAINS_LIST } from './constants.js';
8
8
  export const importDeployFile = () => {
9
- // TODO: make better in the future
10
- if (process.env.SKIP_LSV_CLI_CHECK_CONFIG)
11
- return {};
12
9
  const fullPath = path.resolve('configs', envs?.DEPLOYED ?? '');
13
10
  if (!fullPath) {
14
11
  throw new Error('Deployed contracts file is not set, check .env file');
@@ -26,7 +23,7 @@ export const importConfigFromEnv = () => {
26
23
  config.CHAIN_ID = Number(config.CHAIN_ID);
27
24
  return config;
28
25
  };
29
- export const getConfig = (() => {
26
+ export const getConfig = () => {
30
27
  const config = importConfigFromEnv();
31
28
  const errors = validateConfig(config);
32
29
  const errorKeys = Object.keys(errors);
@@ -34,24 +31,21 @@ export const getConfig = (() => {
34
31
  errorKeys.forEach((key) => console.error(`${errors[key]}`));
35
32
  process.exit(1);
36
33
  }
37
- return () => config;
38
- })();
39
- export const getDeployed = (() => {
34
+ return config;
35
+ };
36
+ export const getDeployed = () => {
40
37
  const deployedJSON = importDeployFile();
41
- return () => deployedJSON;
42
- })();
43
- export const getChainId = (() => {
44
- // TODO: make better in the future
45
- if (process.env.SKIP_LSV_CLI_CHECK_CONFIG)
46
- return () => 0;
38
+ return deployedJSON;
39
+ };
40
+ export const getChainId = () => {
47
41
  const config = getConfig();
48
42
  const deployed = getDeployed();
49
43
  const chainId = config.CHAIN_ID;
50
44
  if (chainId !== deployed.chainId) {
51
45
  throw new Error('ChainId in env and deployed file mismatch');
52
46
  }
53
- return () => chainId;
54
- })();
47
+ return chainId;
48
+ };
55
49
  export const getChain = () => {
56
50
  const chainId = getChainId();
57
51
  const chain = SUPPORTED_CHAINS_LIST.find((chain) => chain.id === chainId);
@@ -1 +1 @@
1
- {"version":3,"file":"deployed.js","sourceRoot":"","sources":["../../configs/deployed.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,IAAI,CAAC;AAC7C,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AACxC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,WAAW,EAAkB,MAAM,MAAM,CAAC;AAEnD,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAGvD,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAEvD,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,EAAE;IACnC,kCAAkC;IAClC,IAAI,OAAO,CAAC,GAAG,CAAC,yBAAyB;QAAE,OAAO,EAAE,CAAC;IAErD,MAAM,QAAQ,GAAG,IAAI,CAAC,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O,CAAC;QACrD,MAAM,UAAU,GAAG,CAAC,cAAc,IAAI,CAAC,KAAK,CAAC;QAE7C,IAAI,KAAK,EAAE,CAAC;YACV,GAAG,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC,GAAG,UAAU,IAAI,GAAG,CAAC;QAC/C,CAAC;QAED,IAAI,cAAc,EAAE,CAAC;YACnB,GAAG,CAAC,cAAc,CAAC,WAAW,EAAE,CAAC,GAAG,mBAAmB,IAAI,GAAG,CAAC;QACjE,CAAC;QAED,IAAI,UAAU,IAAI,KAAK,EAAE,OAAO,EAAE,CAAC;YACjC,GAAG,CAAC,KAAK,EAAE,OAAO,CAAC,WAAW,EAAE,CAAC,GAAG,IAAI,CAAC;QAC3C,CAAC;QAED,OAAO,GAAG,CAAC;IACb,CAAC,EACD,EAA4B,CAC7B,CAAC;AACJ,CAAC,CAAC;AAEF,IAAI,eAAmD,CAAC;AAExD,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,EAAE;IACtC,IAAI,CAAC,eAAe,EAAE,CAAC;QACrB,eAAe,GAAG,aAAa,EAAE,CAAC;IACpC,CAAC;IAED,OAAO,eAAe,CAAC;AACzB,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ import * as dotenv from 'dotenv';
2
+ export declare const envs: dotenv.DotenvParseOutput | undefined;
@@ -0,0 +1,3 @@
1
+ export * from "./deployed.js";
2
+ export * from "./envs.js";
3
+ export * from "./utils.js";
@@ -0,0 +1,4 @@
1
+ import { Address } from 'viem';
2
+ export declare const getLocatorAddress: () => Address;
3
+ export declare const getTokenMasterAddress: () => Address;
4
+ export declare const getVotingAddress: () => Address;