@lidofinance/lsv-cli 1.0.0-alpha.20 → 1.0.0-alpha.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/README.md +14 -425
  2. package/dist/abi/{VaultHubViewer.js → VaultViewer.js} +2 -2
  3. package/dist/abi/VaultViewer.js.map +1 -0
  4. package/dist/abi/index.js +1 -1
  5. package/dist/abi/index.js.map +1 -1
  6. package/dist/contracts/index.js +1 -1
  7. package/dist/contracts/index.js.map +1 -1
  8. package/dist/contracts/vault-viewer.js +25 -0
  9. package/dist/contracts/vault-viewer.js.map +1 -0
  10. package/dist/programs/index.js +1 -1
  11. package/dist/programs/index.js.map +1 -1
  12. package/dist/programs/pdg/write.js +134 -0
  13. package/dist/programs/pdg/write.js.map +1 -1
  14. package/dist/programs/pdg-helpers.js +18 -1
  15. package/dist/programs/pdg-helpers.js.map +1 -1
  16. package/dist/programs/vault-viewer/config.js +85 -0
  17. package/dist/programs/vault-viewer/config.js.map +1 -0
  18. package/dist/programs/vault-viewer/index.js +3 -0
  19. package/dist/programs/vault-viewer/index.js.map +1 -0
  20. package/dist/programs/vault-viewer/main.js +10 -0
  21. package/dist/programs/vault-viewer/main.js.map +1 -0
  22. package/dist/programs/vault-viewer/read.js +55 -0
  23. package/dist/programs/vault-viewer/read.js.map +1 -0
  24. package/dist/utils/get-deposit-data-root.js +40 -0
  25. package/dist/utils/get-deposit-data-root.js.map +1 -0
  26. package/dist/utils/index.js +1 -0
  27. package/dist/utils/index.js.map +1 -1
  28. package/dist/utils/proof/merkle-utils.js +30 -0
  29. package/dist/utils/proof/merkle-utils.js.map +1 -1
  30. package/dist/version/index.js +1 -1
  31. package/package.json +1 -1
  32. package/dist/abi/VaultHubViewer.js.map +0 -1
  33. package/dist/contracts/vault-hub-viewer.js +0 -14
  34. package/dist/contracts/vault-hub-viewer.js.map +0 -1
  35. package/dist/programs/vault-hub-viewer.js +0 -52
  36. package/dist/programs/vault-hub-viewer.js.map +0 -1
package/README.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  A command-line interface (CLI) tool for managing lido staking vaults. Simplify your staking operations with intuitive commands and streamlined workflows.
4
4
 
5
+ ## Changelog
6
+
7
+ For changes between versions see [Changelog](./CHANGELOG.md)
8
+
5
9
  ## Table of Contents
6
10
 
7
11
  - [Features](#features)
@@ -109,433 +113,18 @@ lsv-cli hub v-count
109
113
 
110
114
  ## Programs
111
115
 
112
- - [Account](#Account)
113
- - [VaultHub](#vaulthub)
114
- - [VaultFactory](#vaultfactory)
115
- - [Vault](#vault)
116
- - [Dashboard](#dashboard)
117
- - [Delegation](#delegation)
118
-
119
- ### Account
120
-
121
- #### Command
122
-
123
- ```bash
124
- lsv-cli account [arguments] [-options]
125
- ```
126
-
127
- #### Account commands list
128
-
129
- ```bash
130
- lsv-cli account -h
131
- ```
132
-
133
- #### API
134
-
135
- | Command | Description |
136
- | ------- | -------------------- |
137
- | info | general account info |
138
-
139
- ### VaultHub
140
-
141
- #### Command
142
-
143
- ```bash
144
- lsv-cli hub [arguments] [-options]
145
- ```
146
-
147
- #### VaultHub commands list
148
-
149
- ```bash
150
- lsv-cli hub -h
151
- ```
152
-
153
- #### API
154
-
155
- | Command | Description |
156
- | -------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
157
- | constants | get vault hub constants |
158
- | dar | get default admin role |
159
- | lido | get lido address |
160
- | ll | get lido locator address |
161
- | pi | get pause infinitely |
162
- | pr | get pause role |
163
- | rr | get resume role |
164
- | vm-role | get vault master role |
165
- | vr-role | get vault registry role |
166
- | calc-t-fee \<r-val> \<socket> \<pre-t-shares> \<pre-t-pe> \<post-i-shares> \<post-i-ether> \<s-mlc-fees> | get calculated vault treasury fees |
167
- | calc-v-rebase \<v-vals> \<pre-t-shares> \<pre-t-pe> \<post-i-shares> \<post-i-ether> \<s-mlc-fees> | get calculated vaults rebase |
168
- | getResumeSinceTimestamp | Calls the read-only function "getResumeSinceTimestamp" on the contract. |
169
- | getRoleAdmin \<role> | Calls the read-only function "getRoleAdmin" on the contract. |
170
- | getRoleMember \<role> \<index> | Calls the read-only function "getRoleMember" on the contract. |
171
- | getRoleMemberCount \<role> | Calls the read-only function "getRoleMemberCount" on the contract. |
172
- | getRoleMembers \<role> | Calls the read-only function "getRoleMembers" on the contract. |
173
- | hasRole \<role> \<account> | Calls the read-only function "hasRole" on the contract. |
174
- | is-paused | get is paused boolean |
175
- | is-v-h \<\_vault> | get is vault healthy boolean |
176
- | supportsInterface \<interfaceId> | Calls the read-only function "supportsInterface" on the contract. |
177
- | vault \<\_index> | Calls the read-only function "vault" on the contract. |
178
- | vaultSocket \<\_index> | Calls the read-only function "vaultSocket" on the contract. |
179
- | vaultSocket_vault \<\_vault> | Calls the read-only function "vaultSocket" on the contract. |
180
- | v-count | get connected vaults count |
181
- | vi \<index> | get vault and vault socket by index |
182
- | add-codehash \<codehash> | add vault proxy codehash to allowed list |
183
- | v-connect \<address> \<shareLimit> \<reserveRatio> \<reserveRatioThreshold> \<treasuryFeeBP> | connects a vault to the hub (vault master role needed) |
184
- | v-update-share-limit \<address> \<shareLimit> | updates share limit for the vault |
185
- | v-disconnect \<address> | force disconnects a vault from the hub |
186
- | v-owner-disconnect \<address> | disconnects a vault from the hub, msg.sender should be vault's owner |
187
- | v-mint \<address> \<recipient> \<amountOfShares> | mint StETH shares backed by vault external balance to the receiver address |
188
- | v-burn \<address> \<amountOfShares> | burn steth shares from the balance of the VaultHub contract |
189
- | v-transfer-and-burn \<address> \<amountOfShares> | separate burn function for EOA vault owners; requires vaultHub to be approved to transfer stETH |
190
- | v-force-rebalance \<address> | force rebalance of the vault to have sufficient reserve ratio |
191
-
192
- ### VaultFactory
193
-
194
- #### Command
195
-
196
- ```bash
197
- lsv-cli factory [arguments] [-options]
198
- ```
199
-
200
- #### VaultFactory commands list
201
-
202
- ```bash
203
- lsv-cli factory -h
204
- ```
205
-
206
- #### API
207
-
208
- | Command | Description |
209
- | ------------------------------------------------------------- | --------------------------------------------------------------- |
210
- | constants | get vault factory constants info |
211
- | BEACON \<address> | Calls the read-only function "BEACON" on the contract. |
212
- | DELEGATION_IMPL \<address> | Calls the read-only function "DELEGATION_IMPL" on the contract. |
213
- | create-vault \<curatorFeeBP> \<nodeOperatorFeeBP> \<quantity> | create vault contract |
214
-
215
- Note: \[quantity] is optional argument, default 1
216
- **[options]**
217
-
218
- | Option | Description |
219
- | ------------------------------------------------------ | --------------------------------- |
220
- | -a, --defaultAdmin \<defaultAdmin> | default admin address |
221
- | -f, --funder \<funder> | funder role address |
222
- | -w, --withdrawer \<withdrawer> | withdrawer role address |
223
- | -m, --minter \<minter> | minter role address |
224
- | -b, --burner \<burner> | burner role address |
225
- | -r, --rebalancer \<rebalancer> | rebalancer role address |
226
- | -p, --depositPauser \<depositPauser> | depositPauser role address |
227
- | -d, --depositResumer \<depositResumer> | depositResumer role address |
228
- | -e, --exitRequester \<exitRequester> | exitRequester role address |
229
- | -u, --disconnecter \<disconnecter> | disconnecter role address |
230
- | -c, --curator \<curator> | curator address |
231
- | -n, --nodeOperatorManager \<nodeOperatorManager> | node operator manager address |
232
- | -o, --nodeOperatorFeeClaimer \<nodeOperatorFeeClaimer> | node operator fee claimer address |
233
-
234
- ### Vault
235
-
236
- #### Command
237
-
238
- ```bash
239
- lsv-cli vault [arguments] [-options]
240
- ```
116
+ - [Account](https://lidofinance.github.io/lido-staking-vault-cli/commands/account)
117
+ - [VaultHub](https://lidofinance.github.io/lido-staking-vault-cli/commands/vault-hub)
118
+ - [VaultFactory](https://lidofinance.github.io/lido-staking-vault-cli/commands/vault-factory)
119
+ - [Vault](https://lidofinance.github.io/lido-staking-vault-cli/commands/vault)
120
+ - [Dashboard](https://lidofinance.github.io/lido-staking-vault-cli/commands/dashboard)
121
+ - [Delegation](https://lidofinance.github.io/lido-staking-vault-cli/commands/delgatio)
122
+ - [PredepositGuarantee](https://lidofinance.github.io/lido-staking-vault-cli/commands/predeposit-guarantee)
123
+ - [VaultViewer](https://lidofinance.github.io/lido-staking-vault-cli/commands/vault-viewer)
241
124
 
242
- #### Vault commands list
243
-
244
- ```bash
245
- lsv-cli vault -h
246
- ```
247
-
248
- #### API
249
-
250
- | Command | Description |
251
- | ----------------------------------------------------------------------------------------- | --------------------------------------------------------------------- |
252
- | deposit-contract \<address> | get vault deposit contract |
253
- | PUBLIC_KEY_LENGTH \<address> | Calls the read-only function "PUBLIC_KEY_LENGTH" on the contract. |
254
- | is-paused \<address> | get whether deposits are paused by the vault owner |
255
- | validator-w-fee \<address> \<numberOfKeys> | get calculated withdrawal fee for a validator |
256
- | depositor \<address> | Calls the read-only function "depositor" on the contract. |
257
- | getInitializedVersion \<address> | Calls the read-only function "getInitializedVersion" on the contract. |
258
- | delta \<address> | get the net difference between deposits and withdrawals |
259
- | l-report \<address> | get latest vault report |
260
- | locked \<address> | get vault locked |
261
- | no \<address> | get vault node operator |
262
- | owner \<address> | get vault owner |
263
- | unlocked \<address> | get vault unlocked |
264
- | valuation \<address> | get vault valuation |
265
- | vault-hub \<address> | get vault hub |
266
- | version \<address> | get vault version |
267
- | wc \<address> | get vault withdrawal credentials |
268
- | info \<address> | get vault base info |
269
- | fund | fund vault |
270
- | withdraw \<address> \<recipient> \<wei> | withdraw from vault |
271
- | no-deposit-beacon \<address> \<amountOfDeposit> \<pubkey> \<signature> \<depositDataRoot> | deposit to beacon chain |
272
- | no-val-exit \<address> \<validatorPublicKey> | request to exit validator |
273
- | bc-resume \<address> | Resumes deposits to beacon chain |
274
- | bc-pause \<address> | Pauses deposits to beacon chain |
275
- | report \<address> \<valuation> \<inOutDelta> \<locked> | Submits a report containing valuation, inOutDelta, and locked amount |
276
- | rebalance \<address> \<amount> | Rebalances the vault |
277
- | trigger-v-w \<address> \<pubkeys> \<amounts> \<refundRecipient> | Trigger validator withdrawal |
278
-
279
- ### Dashboard
280
-
281
- #### Command
282
-
283
- ```bash
284
- lsv-cli dashboard [arguments] [-options]
285
- ```
286
-
287
- #### Dashboard commands list
288
-
289
- ```bash
290
- lsv-cli dashboard -h
291
- ```
292
-
293
- #### API
294
-
295
- | Command | Description |
296
- | -------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
297
- | ASSET_RECOVERY_ROLE \<address> | Calls the read-only function "ASSET_RECOVERY_ROLE" on the contract. |
298
- | BURN_ROLE \<address> | Calls the read-only function "BURN_ROLE" on the contract. |
299
- | DEFAULT_ADMIN_ROLE \<address> | Calls the read-only function "DEFAULT_ADMIN_ROLE" on the contract. |
300
- | ETH \<address> | Calls the read-only function "ETH" on the contract. |
301
- | FUND_ROLE \<address> | Calls the read-only function "FUND_ROLE" on the contract. |
302
- | MAX_CONFIRM_EXPIRY \<address> | Calls the read-only function "MAX_CONFIRM_EXPIRY" on the contract. |
303
- | MINT_ROLE \<address> | Calls the read-only function "MINT_ROLE" on the contract. |
304
- | MIN_CONFIRM_EXPIRY \<address> | Calls the read-only function "MIN_CONFIRM_EXPIRY" on the contract. |
305
- | PAUSE_BEACON_CHAIN_DEPOSITS_ROLE \<address> | Calls the read-only function "PAUSE_BEACON_CHAIN_DEPOSITS_ROLE" on the contract. |
306
- | PDG_WITHDRAWAL_ROLE \<address> | Calls the read-only function "PDG_WITHDRAWAL_ROLE" on the contract. |
307
- | REBALANCE_ROLE \<address> | Calls the read-only function "REBALANCE_ROLE" on the contract. |
308
- | REQUEST_VALIDATOR_EXIT_ROLE \<address> | Calls the read-only function "REQUEST_VALIDATOR_EXIT_ROLE" on the contract. |
309
- | RESUME_BEACON_CHAIN_DEPOSITS_ROLE \<address> | Calls the read-only function "RESUME_BEACON_CHAIN_DEPOSITS_ROLE" on the contract. |
310
- | STETH \<address> | Calls the read-only function "STETH" on the contract. |
311
- | TRIGGER_VALIDATOR_WITHDRAWAL_ROLE \<address> | Calls the read-only function "TRIGGER_VALIDATOR_WITHDRAWAL_ROLE" on the contract. |
312
- | VOLUNTARY_DISCONNECT_ROLE \<address> | Calls the read-only function "VOLUNTARY_DISCONNECT_ROLE" on the contract. |
313
- | WETH \<address> | Calls the read-only function "WETH" on the contract. |
314
- | WITHDRAW_ROLE \<address> | Calls the read-only function "WITHDRAW_ROLE" on the contract. |
315
- | WSTETH \<address> | Calls the read-only function "WSTETH" on the contract. |
316
- | confirmations \<address> \<callData> \<role> | Calls the read-only function "confirmations" on the contract. |
317
- | confirmingRoles \<address> | Calls the read-only function "confirmingRoles" on the contract. |
318
- | getConfirmExpiry \<address> | Calls the read-only function "getConfirmExpiry" on the contract. |
319
- | getRoleAdmin \<address> \<role> | Calls the read-only function "getRoleAdmin" on the contract. |
320
- | getRoleMember \<address> \<role> \<index> | Calls the read-only function "getRoleMember" on the contract. |
321
- | getRoleMemberCount \<address> \<role> | Calls the read-only function "getRoleMemberCount" on the contract. |
322
- | getRoleMembers \<address> \<role> | Calls the read-only function "getRoleMembers" on the contract. |
323
- | has-role \<address> \<role> \<account> | get has role by role and account |
324
- | initialized \<address> | Calls the read-only function "initialized" on the contract. |
325
- | projected-new-mintable-shares \<address> \<etherToFund> | get projected new mintable shares |
326
- | r-threshold \<address> | get rebalance threshold in basis points |
327
- | reserve-ratio \<address> | get reserve ratio in basis points |
328
- | s-limit \<address> | get share limit |
329
- | s-minted \<address> | get shares minted |
330
- | vault \<address> | get staking vault address |
331
- | supports-interface \<address> \<interfaceId> | get supports interface by id |
332
- | total-mintable-shares \<address> | get total of shares that can be minted on the vault |
333
- | t-fee \<address> | get treasury fee in basis points |
334
- | valuation \<address> | get vault valuation |
335
- | hub \<address> | get vaultHub address |
336
- | socket \<address> | get vault socket |
337
- | w-ether \<address> | get amount of ether that can be withdrawn from the staking vault |
338
- | info | get dashboard base info |
339
- | ownership \<address> \<newOwner> | transfers ownership of the staking vault to a new owner |
340
- | disconnect \<address> | disconnects the staking vault from the vault hub |
341
- | fund | funds the staking vault with ether |
342
- | fund-weth \<address> \<wethAmount> | funds the staking vault with wrapped ether |
343
- | withdraw \<address> \<recipient> \<wei> | withdraws ether from the staking vault to a recipient |
344
- | withdraw-weth \<address> \<recipient> \<ether> | withdraws stETH tokens from the staking vault to wrapped ether |
345
- | exit \<address> \<validatorPubKey> | requests the exit of a validator from the staking vault |
346
- | trigger-validator-withdrawal \<address> \<pubkeys> \<amounts> \<recipient> | triggers the withdrawal of a validator from the staking vault |
347
- | mint-shares \<address> \<recipient> \<amountOfShares> | mints stETH tokens backed by the vault to a recipient |
348
- | mint-steth \<address> \<recipient> \<amountOfShares> | mints stETH tokens backed by the vault to a recipient |
349
- | mint-wsteth \<address> \<recipient> \<tokens> | mints wstETH tokens backed by the vault to a recipient |
350
- | burn-shares \<address> \<amountOfShares> | Burns stETH shares from the sender backed by the vault. Expects corresponding amount of stETH approved to this contract |
351
- | burn-steth \<address> \<amountOfShares> | Burns stETH shares from the sender backed by the vault. Expects stETH amount approved to this contract. |
352
- | burn-wsteth \<address> \<tokens> | burn wstETH tokens from the sender backed by the vault |
353
- | burn-shares-permit \<address> \<tokens> \<permitJSON> | Burns stETH tokens (in shares) backed by the vault from the sender using permit (with value in stETH). |
354
- | burn-steth-permit \<address> \<tokens> \<permitJSON> | Burns stETH tokens backed by the vault from the sender using permit. |
355
- | burn-wsteth-permit \<address> \<tokens> \<permitJSON> | burn wstETH tokens from the sender backed by the vault using EIP-2612 Permit |
356
- | rebalance \<address> \<ether> | rebalance the vault by transferring ether |
357
- | recover-erc20 \<address> \<token> \<recipient> \<amount> | recovers ERC20 tokens or ether from the dashboard contract to sender |
358
- | recover-erc721 \<address> \<token> \<tokenId> \<recipient> | Transfers a given token_id of an ERC721-compatible NFT (defined by the token contract address) |
359
- | deposit-pause \<address> | Pauses beacon chain deposits on the staking vault. |
360
- | deposit-resume \<address> | Mass-grants multiple roles to multiple accounts. |
361
- | role-grant \<address> \<roleAssignmentJSON> | Mass-revokes multiple roles from multiple accounts. |
362
- | role-revoke \<address> \<roleAssignmentJSON> | Resumes beacon chain deposits on the staking vault. |
363
- | compensate-disproven-predeposit \<address> \<pubkey> \<recipient> | Compensates a disproven predeposit from the Predeposit Guarantee contract. |
364
-
365
- **\<permitJSON>**
366
-
367
- ```json
368
- {
369
- "value": number as bigint;
370
- "deadline": number as bigint;
371
- "v": number;
372
- "r": string as Address;
373
- "s": string as Address;
374
- }
375
- ```
376
-
377
- **\<roleAssignmentJSON>**
378
-
379
- ```json
380
- [{
381
- "account": string as Address;
382
- "role": string as `0x${string}`;
383
- }]
384
- ```
385
-
386
- ### Delegation
387
-
388
- #### Command
389
-
390
- ```bash
391
- lsv-cli delegation [arguments] [-options]
392
- ```
393
-
394
- #### Delegation commands list
395
-
396
- ```bash
397
- lsv-cli delegation -h
398
- ```
399
-
400
- #### API
401
-
402
- | Command | Description |
403
- | ---------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
404
- | ASSET_RECOVERY_ROLE \<address> | Calls the read-only function "ASSET_RECOVERY_ROLE" on the contract. |
405
- | BURN_ROLE \<address> | Calls the read-only function "BURN_ROLE" on the contract. |
406
- | CURATOR_FEE_CLAIM_ROLE \<address> | Calls the read-only function "CURATOR_FEE_CLAIM_ROLE" on the contract. |
407
- | CURATOR_FEE_SET_ROLE \<address> | Calls the read-only function "CURATOR_FEE_SET_ROLE" on the contract. |
408
- | DEFAULT_ADMIN_ROLE \<address> | Calls the read-only function "DEFAULT_ADMIN_ROLE" on the contract. |
409
- | ETH \<address> | Calls the read-only function "ETH" on the contract. |
410
- | FUND_ROLE \<address> | Calls the read-only function "FUND_ROLE" on the contract. |
411
- | MAX_CONFIRM_EXPIRY \<address> | Calls the read-only function "MAX_CONFIRM_EXPIRY" on the contract. |
412
- | MINT_ROLE \<address> | Calls the read-only function "MINT_ROLE" on the contract. |
413
- | MIN_CONFIRM_EXPIRY \<address> | Calls the read-only function "MIN_CONFIRM_EXPIRY" on the contract. |
414
- | NODE_OPERATOR_FEE_CLAIM_ROLE \<address> | Calls the read-only function "NODE_OPERATOR_FEE_CLAIM_ROLE" on the contract. |
415
- | NODE_OPERATOR_MANAGER_ROLE \<address> | Calls the read-only function "NODE_OPERATOR_MANAGER_ROLE" on the contract. |
416
- | PAUSE_BEACON_CHAIN_DEPOSITS_ROLE \<address> | Calls the read-only function "PAUSE_BEACON_CHAIN_DEPOSITS_ROLE" on the contract. |
417
- | PDG_WITHDRAWAL_ROLE \<address> | Calls the read-only function "PDG_WITHDRAWAL_ROLE" on the contract. |
418
- | REBALANCE_ROLE \<address> | Calls the read-only function "REBALANCE_ROLE" on the contract. |
419
- | REQUEST_VALIDATOR_EXIT_ROLE \<address> | Calls the read-only function "REQUEST_VALIDATOR_EXIT_ROLE" on the contract. |
420
- | RESUME_BEACON_CHAIN_DEPOSITS_ROLE \<address> | Calls the read-only function "RESUME_BEACON_CHAIN_DEPOSITS_ROLE" on the contract. |
421
- | STETH \<address> | Calls the read-only function "STETH" on the contract. |
422
- | TRIGGER_VALIDATOR_WITHDRAWAL_ROLE \<address> | Calls the read-only function "TRIGGER_VALIDATOR_WITHDRAWAL_ROLE" on the contract. |
423
- | VOLUNTARY_DISCONNECT_ROLE \<address> | Calls the read-only function "VOLUNTARY_DISCONNECT_ROLE" on the contract. |
424
- | WETH \<address> | Calls the read-only function "WETH" on the contract. |
425
- | WITHDRAW_ROLE \<address> | Calls the read-only function "WITHDRAW_ROLE" on the contract. |
426
- | WSTETH \<address> | Calls the read-only function "WSTETH" on the contract. |
427
- | confirmations \<address> \<callData> \<role> | Calls the read-only function "confirmations" on the contract. |
428
- | confirmingRoles \<address> | Calls the read-only function "confirmingRoles" on the contract. |
429
- | curatorFeeBP \<address> | Calls the read-only function "curatorFeeBP" on the contract. |
430
- | curatorFeeClaimedReport \<address> | Calls the read-only function "curatorFeeClaimedReport" on the contract. |
431
- | cf-unclaimed \<address> | Returns the accumulated unclaimed curator fee in ether |
432
- | getConfirmExpiry \<address> | Calls the read-only function "getConfirmExpiry" on the contract. |
433
- | getRoleAdmin \<address> \<role> | Calls the read-only function "getRoleAdmin" on the contract. |
434
- | getRoleMember \<address> \<role> \<index> | Calls the read-only function "getRoleMember" on the contract. |
435
- | getRoleMemberCount \<address> \<role> | Calls the read-only function "getRoleMemberCount" on the contract. |
436
- | getRoleMembers \<address> \<role> | Calls the read-only function "getRoleMembers" on the contract. |
437
- | has-role \<address> \<role> \<account> | get has role by role and account |
438
- | initialized \<address> | Calls the read-only function "initialized" on the contract. |
439
- | no-fee \<address> | get node operator fee in basis points |
440
- | no-fee-report \<address> | get node operator fee claimed report |
441
- | no-unclaimed-fee \<address> | Returns the accumulated unclaimed node operator fee in ether |
442
- | projected-new-mintable-shares \<address> \<etherToFund> | get projected new mintable shares |
443
- | r-threshold \<address> | get rebalance threshold in basis points |
444
- | reserve-ratio \<address> | get reserve ratio in basis points |
445
- | s-limit \<address> | get share limit |
446
- | s-minted \<address> | get shares minted |
447
- | vault \<address> | get staking vault address |
448
- | supports-interface \<address> \<interfaceId> | get supports interface by id |
449
- | total-mintable-shares \<address> | get total of shares that can be minted on the vault |
450
- | t-fee \<address> | get treasury fee in basis points |
451
- | unreserved \<address> | Calls the read-only function "unreserved" on the contract. |
452
- | valuation \<address> | get vault valuation |
453
- | hub \<address> | get vaultHub address |
454
- | socket \<address> | get vault socket |
455
- | w-ether \<address> | get amount of ether that can be withdrawn from the staking vault |
456
- | roles \<address> | get delegation contract roles info |
457
- | base-info \<address> | get delegation base info |
458
- | is-healthy \<address> | get vault healthy info |
459
- | cf-set \<address> \<newCuratorFee> | sets the curator fee |
460
- | cf-claim \<address> \<recipient> | claims the curator fee |
461
- | nof-set \<address> \<newNodeOperatorFeeBP> | sets the node operator fee |
462
- | nof-claim \<address> \<recipient> | claims the node operator fee |
463
- | fund \<address> \<wei> | funds the StakingVault with ether |
464
- | withdraw \<address> \<recipient> \<wei> | withdraws ether from the StakingVault |
465
- | rebalance \<address> \<ether> | rebalances the StakingVault with a given amount of ether |
466
- | t-ownership \<address> \<newOwner> | transfers the ownership of the StakingVault |
467
- | disconnect \<address> | voluntarily disconnects a StakingVault from VaultHub |
468
- | deposit-pause \<address> | Pauses deposits to beacon chain from the StakingVault. |
469
- | deposit-resume \<address> | Resumes deposits to beacon chain from the StakingVault. |
470
- | fund-weth \<address> \<wethAmount> | funds the staking vault with wrapped ether |
471
- | withdraw-weth \<address> \<recipient> \<ether> | withdraws stETH tokens from the staking vault to wrapped ether |
472
- | exit \<address> \<validatorPubKey> | requests the exit of a validator from the staking vault |
473
- | mint-shares \<address> \<recipient> \<amountOfShares> | mints stETH tokens backed by the vault to a recipient |
474
- | mint-steth \<address> \<recipient> \<amountOfShares> | mints stETH tokens backed by the vault to a recipient |
475
- | mint-wsteth \<address> \<recipient> \<tokens> | mints wstETH tokens backed by the vault to a recipient |
476
- | burn-shares \<address> \<amountOfShares> | Burns stETH shares from the sender backed by the vault. Expects corresponding amount of stETH approved to this contract |
477
- | burn-steth \<address> \<amountOfShares> | Burns stETH shares from the sender backed by the vault. Expects stETH amount approved to this contract. |
478
- | burn-wsteth \<address> \<tokens> | burn wstETH tokens from the sender backed by the vault |
479
- | burn-shares-permit \<address> \<tokens> \<permitJSON> | Burns stETH tokens (in shares) backed by the vault from the sender using permit (with value in stETH). |
480
- | burn-steth-permit \<address> \<tokens> \<permitJSON> | Burns stETH tokens backed by the vault from the sender using permit. |
481
- | burn-wsteth-permit \<address> \<tokens> \<permitJSON> | burn wstETH tokens from the sender backed by the vault using EIP-2612 Permit |
482
- | recover-erc20 \<address> \<token> \<recipient> \<amount> | recovers ERC20 tokens or ether from the delegation contract to sender |
483
- | recover-erc721 \<address> \<token> \<tokenId> \<recipient> | Transfers a given token_id of an ERC721-compatible NFT (defined by the token contract address) |
484
- | role-grant \<address> \<roleAssignmentJSON> | Mass-revokes multiple roles from multiple accounts. |
485
- | role-revoke \<address> \<roleAssignmentJSON> | Resumes beacon chain deposits on the staking vault. |
486
- | set-confirm-expiry \<address> \<newConfirmExpiry> | set the confirmation expiry |
487
-
488
- ### PredepositGuarantee
489
-
490
- #### Command
491
-
492
- ```bash
493
- lsv-cli pdg [arguments] [-options]
494
- ```
495
-
496
- #### Delegation commands list
497
-
498
- ```bash
499
- lsv-cli pdg -h
500
- ```
125
+ ## Documentation
501
126
 
502
- #### API
503
-
504
- | Command | Description |
505
- | -------------------------------------------- | ------------------------------------------------------------------------------- |
506
- | BEACON_ROOTS | Calls the read-only function "BEACON_ROOTS" on the contract. |
507
- | DEFAULT_ADMIN_ROLE | Calls the read-only function "DEFAULT_ADMIN_ROLE" on the contract. |
508
- | GI_FIRST_VALIDATOR | Calls the read-only function "GI_FIRST_VALIDATOR" on the contract. |
509
- | GI_FIRST_VALIDATOR_AFTER_CHANGE | Calls the read-only function "GI_FIRST_VALIDATOR_AFTER_CHANGE" on the contract. |
510
- | GI_PUBKEY_WC_PARENT | Calls the read-only function "GI_PUBKEY_WC_PARENT" on the contract. |
511
- | GI_STATE_ROOT | Calls the read-only function "GI_STATE_ROOT" on the contract. |
512
- | MAX_SUPPORTED_WC_VERSION | Calls the read-only function "MAX_SUPPORTED_WC_VERSION" on the contract. |
513
- | MIN_SUPPORTED_WC_VERSION | Calls the read-only function "MIN_SUPPORTED_WC_VERSION" on the contract. |
514
- | PAUSE_INFINITELY | Calls the read-only function "PAUSE_INFINITELY" on the contract. |
515
- | PAUSE_ROLE | Calls the read-only function "PAUSE_ROLE" on the contract. |
516
- | PREDEPOSIT_AMOUNT | Calls the read-only function "PREDEPOSIT_AMOUNT" on the contract. |
517
- | RESUME_ROLE | Calls the read-only function "RESUME_ROLE" on the contract. |
518
- | SLOT_CHANGE_GI_FIRST_VALIDATOR | Calls the read-only function "SLOT_CHANGE_GI_FIRST_VALIDATOR" on the contract. |
519
- | STATE_ROOT_DEPTH | Calls the read-only function "STATE_ROOT_DEPTH" on the contract. |
520
- | STATE_ROOT_POSITION | Calls the read-only function "STATE_ROOT_POSITION" on the contract. |
521
- | WC_PUBKEY_PARENT_DEPTH | Calls the read-only function "WC_PUBKEY_PARENT_DEPTH" on the contract. |
522
- | WC_PUBKEY_PARENT_POSITION | Calls the read-only function "WC_PUBKEY_PARENT_POSITION" on the contract. |
523
- | claimableRefund \<\_guarantor> | Calls the read-only function "claimableRefund" on the contract. |
524
- | getResumeSinceTimestamp | Calls the read-only function "getResumeSinceTimestamp" on the contract. |
525
- | getRoleAdmin \<role> | Calls the read-only function "getRoleAdmin" on the contract. |
526
- | getRoleMember \<role> \<index> | Calls the read-only function "getRoleMember" on the contract. |
527
- | getRoleMemberCount \<role> | Calls the read-only function "getRoleMemberCount" on the contract. |
528
- | getRoleMembers \<role> | Calls the read-only function "getRoleMembers" on the contract. |
529
- | hasRole \<role> \<account> | Calls the read-only function "hasRole" on the contract. |
530
- | isPaused | Calls the read-only function "isPaused" on the contract. |
531
- | nodeOperatorBalance \<\_nodeOperator> | Calls the read-only function "nodeOperatorBalance" on the contract. |
532
- | nodeOperatorGuarantor \<\_nodeOperator> | Calls the read-only function "nodeOperatorGuarantor" on the contract. |
533
- | supportsInterface \<interfaceId> | Calls the read-only function "supportsInterface" on the contract. |
534
- | unlockedBalance \<\_nodeOperator> | Calls the read-only function "unlockedBalance" on the contract. |
535
- | validatorStatus \<\_validatorPubkey> | Calls the read-only function "validatorStatus" on the contract. |
536
- | predeposit \<vault> \<deposits> | predeposit |
537
- | create-proof-and-prove \<index> | create proof and prove |
538
- | deposit-to-beacon-chain \<vault> \<deposits> | deposit to beacon chain |
127
+ For additional information about available methods and functionality, refer to the [the documentation for the Lido Staking Vault CLI](https://lidofinance.github.io/lido-staking-vault-cli/).
539
128
 
540
129
  ## License
541
130
 
@@ -1,4 +1,4 @@
1
- export const VaultHubViewerAbi = [
1
+ export const VaultViewerAbi = [
2
2
  {
3
3
  inputs: [
4
4
  {
@@ -294,4 +294,4 @@ export const VaultHubViewerAbi = [
294
294
  type: 'function',
295
295
  },
296
296
  ];
297
- //# sourceMappingURL=VaultHubViewer.js.map
297
+ //# sourceMappingURL=VaultViewer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VaultViewer.js","sourceRoot":"","sources":["../../abi/VaultViewer.ts"],"names":[],"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ACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,mBAAmB;QACzB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,mBAAmB;gBACjC,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,WAAW;aAClB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,iBAAiB;QACvB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,mBAAmB;gBACjC,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,WAAW;aAClB;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,sBAAsB;QAC5B,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,mBAAmB;gBACjC,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,WAAW;aAClB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;CACO,CAAC"}
package/dist/abi/index.js CHANGED
@@ -7,7 +7,7 @@ export * from './StEth.js';
7
7
  export * from './LidoLocator.js';
8
8
  export * from './TokenManager.js';
9
9
  export * from './Voting.js';
10
- export * from './VaultHubViewer.js';
10
+ export * from './VaultViewer.js';
11
11
  export * from './CLProofVerifier.js';
12
12
  export * from './PredepositGuarantee.js';
13
13
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../abi/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../abi/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC"}
@@ -7,7 +7,7 @@ export * from './steth.js';
7
7
  export * from './locator.js';
8
8
  export * from './token-manager.js';
9
9
  export * from './voting.js';
10
- export * from './vault-hub-viewer.js';
10
+ export * from './vault-viewer.js';
11
11
  export * from './clProofVerifier.js';
12
12
  export * from './pdg.js';
13
13
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../contracts/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../contracts/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,UAAU,CAAC"}
@@ -0,0 +1,25 @@
1
+ import { getContract, createPublicClient, http } from 'viem';
2
+ import { mainnet, sepolia, holesky } from 'viem/chains';
3
+ import { VaultViewerAbi } from '../abi/index.js';
4
+ import { getChain, getRpcUrl } from '../configs/index.js';
5
+ const VaultViewerAddresses = {
6
+ [mainnet.id]: '0x',
7
+ [sepolia.id]: '0xF124672D263BB6e7A5B5cbcF8e6F39b4F6cbe582',
8
+ [holesky.id]: '0x5D73Eec220C7428eEAa26aF0F6d65B4dD1bb95aA',
9
+ };
10
+ export const getVaultViewerContract = () => {
11
+ const chainId = getChain().id;
12
+ const address = VaultViewerAddresses[chainId];
13
+ if (!address) {
14
+ throw new Error(`VaultViewer contract not found for chain ${chainId}`);
15
+ }
16
+ return getContract({
17
+ address,
18
+ abi: VaultViewerAbi,
19
+ client: createPublicClient({
20
+ chain: getChain(),
21
+ transport: http(getRpcUrl()),
22
+ }),
23
+ });
24
+ };
25
+ //# sourceMappingURL=vault-viewer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vault-viewer.js","sourceRoot":"","sources":["../../contracts/vault-viewer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,IAAI,EAAW,MAAM,MAAM,CAAC;AACtE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAExD,OAAO,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAE9C,MAAM,oBAAoB,GAA4B;IACpD,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,IAAI;IAClB,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,4CAA4C;IAC1D,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,4CAA4C;CAC3D,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,EAAE;IACzC,MAAM,OAAO,GAAG,QAAQ,EAAE,CAAC,EAAE,CAAC;IAC9B,MAAM,OAAO,GAAG,oBAAoB,CAAC,OAAO,CAAC,CAAC;IAE9C,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,MAAM,IAAI,KAAK,CAAC,4CAA4C,OAAO,EAAE,CAAC,CAAC;IACzE,CAAC;IAED,OAAO,WAAW,CAAC;QACjB,OAAO;QACP,GAAG,EAAE,cAAc;QACnB,MAAM,EAAE,kBAAkB,CAAC;YACzB,KAAK,EAAE,QAAQ,EAAE;YACjB,SAAS,EAAE,IAAI,CAAC,SAAS,EAAE,CAAC;SAC7B,CAAC;KACH,CAAC,CAAC;AACL,CAAC,CAAC"}
@@ -1,6 +1,5 @@
1
1
  export * from './voting.js';
2
2
  export * from './account.js';
3
- export * from './vault-hub-viewer.js';
4
3
  export * from './pdg-helpers.js';
5
4
  export * from './vault/index.js';
6
5
  export * from './dashboard/index.js';
@@ -8,4 +7,5 @@ export * from './vault-factory/index.js';
8
7
  export * from './delegation/index.js';
9
8
  export * from './pdg/index.js';
10
9
  export * from './hub/index.js';
10
+ export * from './vault-viewer/index.js';
11
11
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../programs/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../programs/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC"}