@lidofinance/lsv-cli 1.0.0-alpha.21 → 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.
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,469 +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
- - [PredepositGuarantee](#predepositguarantee)
119
- - [VaultViewer](#vaultviewer)
120
-
121
- ### Account
122
-
123
- #### Command
124
-
125
- ```bash
126
- lsv-cli account [arguments] [-options]
127
- ```
128
-
129
- #### Account commands list
130
-
131
- ```bash
132
- lsv-cli account -h
133
- ```
134
-
135
- #### API
136
-
137
- | Command | Description |
138
- | ------- | -------------------- |
139
- | info | general account info |
140
-
141
- ### VaultHub
142
-
143
- #### Command
144
-
145
- ```bash
146
- lsv-cli hub [arguments] [-options]
147
- ```
148
-
149
- #### VaultHub commands list
150
-
151
- ```bash
152
- lsv-cli hub -h
153
- ```
154
-
155
- #### API
156
-
157
- | Command | Description |
158
- | -------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
159
- | constants | get vault hub constants |
160
- | dar | get default admin role |
161
- | lido | get lido address |
162
- | ll | get lido locator address |
163
- | pi | get pause infinitely |
164
- | pr | get pause role |
165
- | rr | get resume role |
166
- | vm-role | get vault master role |
167
- | vr-role | get vault registry role |
168
- | 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 |
169
- | calc-v-rebase \<v-vals> \<pre-t-shares> \<pre-t-pe> \<post-i-shares> \<post-i-ether> \<s-mlc-fees> | get calculated vaults rebase |
170
- | getResumeSinceTimestamp | Calls the read-only function "getResumeSinceTimestamp" on the contract. |
171
- | getRoleAdmin \<role> | Calls the read-only function "getRoleAdmin" on the contract. |
172
- | getRoleMember \<role> \<index> | Calls the read-only function "getRoleMember" on the contract. |
173
- | getRoleMemberCount \<role> | Calls the read-only function "getRoleMemberCount" on the contract. |
174
- | getRoleMembers \<role> | Calls the read-only function "getRoleMembers" on the contract. |
175
- | hasRole \<role> \<account> | Calls the read-only function "hasRole" on the contract. |
176
- | is-paused | get is paused boolean |
177
- | is-v-h \<\_vault> | get is vault healthy boolean |
178
- | supportsInterface \<interfaceId> | Calls the read-only function "supportsInterface" on the contract. |
179
- | vault \<\_index> | Calls the read-only function "vault" on the contract. |
180
- | vaultSocket \<\_index> | Calls the read-only function "vaultSocket" on the contract. |
181
- | vaultSocket_vault \<\_vault> | Calls the read-only function "vaultSocket" on the contract. |
182
- | v-count | get connected vaults count |
183
- | vi \<index> | get vault and vault socket by index |
184
- | add-codehash \<codehash> | add vault proxy codehash to allowed list |
185
- | v-connect \<address> \<shareLimit> \<reserveRatio> \<reserveRatioThreshold> \<treasuryFeeBP> | connects a vault to the hub (vault master role needed) |
186
- | v-update-share-limit \<address> \<shareLimit> | updates share limit for the vault |
187
- | v-disconnect \<address> | force disconnects a vault from the hub |
188
- | v-owner-disconnect \<address> | disconnects a vault from the hub, msg.sender should be vault's owner |
189
- | v-mint \<address> \<recipient> \<amountOfShares> | mint StETH shares backed by vault external balance to the receiver address |
190
- | v-burn \<address> \<amountOfShares> | burn steth shares from the balance of the VaultHub contract |
191
- | v-transfer-and-burn \<address> \<amountOfShares> | separate burn function for EOA vault owners; requires vaultHub to be approved to transfer stETH |
192
- | v-force-rebalance \<address> | force rebalance of the vault to have sufficient reserve ratio |
193
-
194
- ### VaultFactory
195
-
196
- #### Command
197
-
198
- ```bash
199
- lsv-cli factory [arguments] [-options]
200
- ```
201
-
202
- #### VaultFactory commands list
203
-
204
- ```bash
205
- lsv-cli factory -h
206
- ```
207
-
208
- #### API
209
-
210
- | Command | Description |
211
- | ------------------------------------------------------------- | --------------------------------------------------------------- |
212
- | constants | get vault factory constants info |
213
- | BEACON \<address> | Calls the read-only function "BEACON" on the contract. |
214
- | DELEGATION_IMPL \<address> | Calls the read-only function "DELEGATION_IMPL" on the contract. |
215
- | create-vault \<curatorFeeBP> \<nodeOperatorFeeBP> \<quantity> | create vault contract |
216
-
217
- Note: \[quantity] is optional argument, default 1
218
- **[options]**
219
-
220
- | Option | Description |
221
- | ------------------------------------------------------ | --------------------------------- |
222
- | -a, --defaultAdmin \<defaultAdmin> | default admin address |
223
- | -f, --funder \<funder> | funder role address |
224
- | -w, --withdrawer \<withdrawer> | withdrawer role address |
225
- | -m, --minter \<minter> | minter role address |
226
- | -b, --burner \<burner> | burner role address |
227
- | -r, --rebalancer \<rebalancer> | rebalancer role address |
228
- | -p, --depositPauser \<depositPauser> | depositPauser role address |
229
- | -d, --depositResumer \<depositResumer> | depositResumer role address |
230
- | -e, --exitRequester \<exitRequester> | exitRequester role address |
231
- | -u, --disconnecter \<disconnecter> | disconnecter role address |
232
- | -c, --curator \<curator> | curator address |
233
- | -n, --nodeOperatorManager \<nodeOperatorManager> | node operator manager address |
234
- | -o, --nodeOperatorFeeClaimer \<nodeOperatorFeeClaimer> | node operator fee claimer address |
235
-
236
- ### Vault
237
-
238
- #### Command
239
-
240
- ```bash
241
- lsv-cli vault [arguments] [-options]
242
- ```
243
-
244
- #### Vault commands list
245
-
246
- ```bash
247
- lsv-cli vault -h
248
- ```
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)
249
124
 
250
- #### API
251
-
252
- | Command | Description |
253
- | ----------------------------------------------------------------------------------------- | --------------------------------------------------------------------- |
254
- | deposit-contract \<address> | get vault deposit contract |
255
- | PUBLIC_KEY_LENGTH \<address> | Calls the read-only function "PUBLIC_KEY_LENGTH" on the contract. |
256
- | is-paused \<address> | get whether deposits are paused by the vault owner |
257
- | validator-w-fee \<address> \<numberOfKeys> | get calculated withdrawal fee for a validator |
258
- | depositor \<address> | Calls the read-only function "depositor" on the contract. |
259
- | getInitializedVersion \<address> | Calls the read-only function "getInitializedVersion" on the contract. |
260
- | delta \<address> | get the net difference between deposits and withdrawals |
261
- | l-report \<address> | get latest vault report |
262
- | locked \<address> | get vault locked |
263
- | no \<address> | get vault node operator |
264
- | owner \<address> | get vault owner |
265
- | unlocked \<address> | get vault unlocked |
266
- | valuation \<address> | get vault valuation |
267
- | vault-hub \<address> | get vault hub |
268
- | version \<address> | get vault version |
269
- | wc \<address> | get vault withdrawal credentials |
270
- | info \<address> | get vault base info |
271
- | fund | fund vault |
272
- | withdraw \<address> \<recipient> \<wei> | withdraw from vault |
273
- | no-deposit-beacon \<address> \<amountOfDeposit> \<pubkey> \<signature> \<depositDataRoot> | deposit to beacon chain |
274
- | no-val-exit \<address> \<validatorPublicKey> | request to exit validator |
275
- | bc-resume \<address> | Resumes deposits to beacon chain |
276
- | bc-pause \<address> | Pauses deposits to beacon chain |
277
- | report \<address> \<valuation> \<inOutDelta> \<locked> | Submits a report containing valuation, inOutDelta, and locked amount |
278
- | rebalance \<address> \<amount> | Rebalances the vault |
279
- | trigger-v-w \<address> \<pubkeys> \<amounts> \<refundRecipient> | Trigger validator withdrawal |
280
-
281
- ### Dashboard
282
-
283
- #### Command
284
-
285
- ```bash
286
- lsv-cli dashboard [arguments] [-options]
287
- ```
288
-
289
- #### Dashboard commands list
290
-
291
- ```bash
292
- lsv-cli dashboard -h
293
- ```
294
-
295
- #### API
296
-
297
- | Command | Description |
298
- | -------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
299
- | ASSET_RECOVERY_ROLE \<address> | Calls the read-only function "ASSET_RECOVERY_ROLE" on the contract. |
300
- | BURN_ROLE \<address> | Calls the read-only function "BURN_ROLE" on the contract. |
301
- | DEFAULT_ADMIN_ROLE \<address> | Calls the read-only function "DEFAULT_ADMIN_ROLE" on the contract. |
302
- | ETH \<address> | Calls the read-only function "ETH" on the contract. |
303
- | FUND_ROLE \<address> | Calls the read-only function "FUND_ROLE" on the contract. |
304
- | MAX_CONFIRM_EXPIRY \<address> | Calls the read-only function "MAX_CONFIRM_EXPIRY" on the contract. |
305
- | MINT_ROLE \<address> | Calls the read-only function "MINT_ROLE" on the contract. |
306
- | MIN_CONFIRM_EXPIRY \<address> | Calls the read-only function "MIN_CONFIRM_EXPIRY" on the contract. |
307
- | PAUSE_BEACON_CHAIN_DEPOSITS_ROLE \<address> | Calls the read-only function "PAUSE_BEACON_CHAIN_DEPOSITS_ROLE" on the contract. |
308
- | PDG_WITHDRAWAL_ROLE \<address> | Calls the read-only function "PDG_WITHDRAWAL_ROLE" on the contract. |
309
- | REBALANCE_ROLE \<address> | Calls the read-only function "REBALANCE_ROLE" on the contract. |
310
- | REQUEST_VALIDATOR_EXIT_ROLE \<address> | Calls the read-only function "REQUEST_VALIDATOR_EXIT_ROLE" on the contract. |
311
- | RESUME_BEACON_CHAIN_DEPOSITS_ROLE \<address> | Calls the read-only function "RESUME_BEACON_CHAIN_DEPOSITS_ROLE" on the contract. |
312
- | STETH \<address> | Calls the read-only function "STETH" on the contract. |
313
- | TRIGGER_VALIDATOR_WITHDRAWAL_ROLE \<address> | Calls the read-only function "TRIGGER_VALIDATOR_WITHDRAWAL_ROLE" on the contract. |
314
- | VOLUNTARY_DISCONNECT_ROLE \<address> | Calls the read-only function "VOLUNTARY_DISCONNECT_ROLE" on the contract. |
315
- | WETH \<address> | Calls the read-only function "WETH" on the contract. |
316
- | WITHDRAW_ROLE \<address> | Calls the read-only function "WITHDRAW_ROLE" on the contract. |
317
- | WSTETH \<address> | Calls the read-only function "WSTETH" on the contract. |
318
- | confirmations \<address> \<callData> \<role> | Calls the read-only function "confirmations" on the contract. |
319
- | confirmingRoles \<address> | Calls the read-only function "confirmingRoles" on the contract. |
320
- | getConfirmExpiry \<address> | Calls the read-only function "getConfirmExpiry" on the contract. |
321
- | getRoleAdmin \<address> \<role> | Calls the read-only function "getRoleAdmin" on the contract. |
322
- | getRoleMember \<address> \<role> \<index> | Calls the read-only function "getRoleMember" on the contract. |
323
- | getRoleMemberCount \<address> \<role> | Calls the read-only function "getRoleMemberCount" on the contract. |
324
- | getRoleMembers \<address> \<role> | Calls the read-only function "getRoleMembers" on the contract. |
325
- | has-role \<address> \<role> \<account> | get has role by role and account |
326
- | initialized \<address> | Calls the read-only function "initialized" on the contract. |
327
- | projected-new-mintable-shares \<address> \<etherToFund> | get projected new mintable shares |
328
- | r-threshold \<address> | get rebalance threshold in basis points |
329
- | reserve-ratio \<address> | get reserve ratio in basis points |
330
- | s-limit \<address> | get share limit |
331
- | s-minted \<address> | get shares minted |
332
- | vault \<address> | get staking vault address |
333
- | supports-interface \<address> \<interfaceId> | get supports interface by id |
334
- | total-mintable-shares \<address> | get total of shares that can be minted on the vault |
335
- | t-fee \<address> | get treasury fee in basis points |
336
- | valuation \<address> | get vault valuation |
337
- | hub \<address> | get vaultHub address |
338
- | socket \<address> | get vault socket |
339
- | w-ether \<address> | get amount of ether that can be withdrawn from the staking vault |
340
- | info | get dashboard base info |
341
- | ownership \<address> \<newOwner> | transfers ownership of the staking vault to a new owner |
342
- | disconnect \<address> | disconnects the staking vault from the vault hub |
343
- | fund | funds the staking vault with ether |
344
- | fund-weth \<address> \<wethAmount> | funds the staking vault with wrapped ether |
345
- | withdraw \<address> \<recipient> \<wei> | withdraws ether from the staking vault to a recipient |
346
- | withdraw-weth \<address> \<recipient> \<ether> | withdraws stETH tokens from the staking vault to wrapped ether |
347
- | exit \<address> \<validatorPubKey> | requests the exit of a validator from the staking vault |
348
- | trigger-validator-withdrawal \<address> \<pubkeys> \<amounts> \<recipient> | triggers the withdrawal of a validator from the staking vault |
349
- | mint-shares \<address> \<recipient> \<amountOfShares> | mints stETH tokens backed by the vault to a recipient |
350
- | mint-steth \<address> \<recipient> \<amountOfShares> | mints stETH tokens backed by the vault to a recipient |
351
- | mint-wsteth \<address> \<recipient> \<tokens> | mints wstETH tokens backed by the vault to a recipient |
352
- | burn-shares \<address> \<amountOfShares> | Burns stETH shares from the sender backed by the vault. Expects corresponding amount of stETH approved to this contract |
353
- | burn-steth \<address> \<amountOfShares> | Burns stETH shares from the sender backed by the vault. Expects stETH amount approved to this contract. |
354
- | burn-wsteth \<address> \<tokens> | burn wstETH tokens from the sender backed by the vault |
355
- | burn-shares-permit \<address> \<tokens> \<permitJSON> | Burns stETH tokens (in shares) backed by the vault from the sender using permit (with value in stETH). |
356
- | burn-steth-permit \<address> \<tokens> \<permitJSON> | Burns stETH tokens backed by the vault from the sender using permit. |
357
- | burn-wsteth-permit \<address> \<tokens> \<permitJSON> | burn wstETH tokens from the sender backed by the vault using EIP-2612 Permit |
358
- | rebalance \<address> \<ether> | rebalance the vault by transferring ether |
359
- | recover-erc20 \<address> \<token> \<recipient> \<amount> | recovers ERC20 tokens or ether from the dashboard contract to sender |
360
- | recover-erc721 \<address> \<token> \<tokenId> \<recipient> | Transfers a given token_id of an ERC721-compatible NFT (defined by the token contract address) |
361
- | deposit-pause \<address> | Pauses beacon chain deposits on the staking vault. |
362
- | deposit-resume \<address> | Mass-grants multiple roles to multiple accounts. |
363
- | role-grant \<address> \<roleAssignmentJSON> | Mass-revokes multiple roles from multiple accounts. |
364
- | role-revoke \<address> \<roleAssignmentJSON> | Resumes beacon chain deposits on the staking vault. |
365
- | compensate-disproven-predeposit \<address> \<pubkey> \<recipient> | Compensates a disproven predeposit from the Predeposit Guarantee contract. |
366
-
367
- **\<permitJSON>**
368
-
369
- ```json
370
- {
371
- "value": number as bigint;
372
- "deadline": number as bigint;
373
- "v": number;
374
- "r": string as Address;
375
- "s": string as Address;
376
- }
377
- ```
378
-
379
- **\<roleAssignmentJSON>**
380
-
381
- ```json
382
- [{
383
- "account": string as Address;
384
- "role": string as `0x${string}`;
385
- }]
386
- ```
387
-
388
- ### Delegation
389
-
390
- #### Command
391
-
392
- ```bash
393
- lsv-cli delegation [arguments] [-options]
394
- ```
395
-
396
- #### Delegation commands list
397
-
398
- ```bash
399
- lsv-cli delegation -h
400
- ```
401
-
402
- #### API
403
-
404
- | Command | Description |
405
- | ---------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
406
- | ASSET_RECOVERY_ROLE \<address> | Calls the read-only function "ASSET_RECOVERY_ROLE" on the contract. |
407
- | BURN_ROLE \<address> | Calls the read-only function "BURN_ROLE" on the contract. |
408
- | CURATOR_FEE_CLAIM_ROLE \<address> | Calls the read-only function "CURATOR_FEE_CLAIM_ROLE" on the contract. |
409
- | CURATOR_FEE_SET_ROLE \<address> | Calls the read-only function "CURATOR_FEE_SET_ROLE" on the contract. |
410
- | DEFAULT_ADMIN_ROLE \<address> | Calls the read-only function "DEFAULT_ADMIN_ROLE" on the contract. |
411
- | ETH \<address> | Calls the read-only function "ETH" on the contract. |
412
- | FUND_ROLE \<address> | Calls the read-only function "FUND_ROLE" on the contract. |
413
- | MAX_CONFIRM_EXPIRY \<address> | Calls the read-only function "MAX_CONFIRM_EXPIRY" on the contract. |
414
- | MINT_ROLE \<address> | Calls the read-only function "MINT_ROLE" on the contract. |
415
- | MIN_CONFIRM_EXPIRY \<address> | Calls the read-only function "MIN_CONFIRM_EXPIRY" on the contract. |
416
- | NODE_OPERATOR_FEE_CLAIM_ROLE \<address> | Calls the read-only function "NODE_OPERATOR_FEE_CLAIM_ROLE" on the contract. |
417
- | NODE_OPERATOR_MANAGER_ROLE \<address> | Calls the read-only function "NODE_OPERATOR_MANAGER_ROLE" on the contract. |
418
- | PAUSE_BEACON_CHAIN_DEPOSITS_ROLE \<address> | Calls the read-only function "PAUSE_BEACON_CHAIN_DEPOSITS_ROLE" on the contract. |
419
- | PDG_WITHDRAWAL_ROLE \<address> | Calls the read-only function "PDG_WITHDRAWAL_ROLE" on the contract. |
420
- | REBALANCE_ROLE \<address> | Calls the read-only function "REBALANCE_ROLE" on the contract. |
421
- | REQUEST_VALIDATOR_EXIT_ROLE \<address> | Calls the read-only function "REQUEST_VALIDATOR_EXIT_ROLE" on the contract. |
422
- | RESUME_BEACON_CHAIN_DEPOSITS_ROLE \<address> | Calls the read-only function "RESUME_BEACON_CHAIN_DEPOSITS_ROLE" on the contract. |
423
- | STETH \<address> | Calls the read-only function "STETH" on the contract. |
424
- | TRIGGER_VALIDATOR_WITHDRAWAL_ROLE \<address> | Calls the read-only function "TRIGGER_VALIDATOR_WITHDRAWAL_ROLE" on the contract. |
425
- | VOLUNTARY_DISCONNECT_ROLE \<address> | Calls the read-only function "VOLUNTARY_DISCONNECT_ROLE" on the contract. |
426
- | WETH \<address> | Calls the read-only function "WETH" on the contract. |
427
- | WITHDRAW_ROLE \<address> | Calls the read-only function "WITHDRAW_ROLE" on the contract. |
428
- | WSTETH \<address> | Calls the read-only function "WSTETH" on the contract. |
429
- | confirmations \<address> \<callData> \<role> | Calls the read-only function "confirmations" on the contract. |
430
- | confirmingRoles \<address> | Calls the read-only function "confirmingRoles" on the contract. |
431
- | curatorFeeBP \<address> | Calls the read-only function "curatorFeeBP" on the contract. |
432
- | curatorFeeClaimedReport \<address> | Calls the read-only function "curatorFeeClaimedReport" on the contract. |
433
- | cf-unclaimed \<address> | Returns the accumulated unclaimed curator fee in ether |
434
- | getConfirmExpiry \<address> | Calls the read-only function "getConfirmExpiry" on the contract. |
435
- | getRoleAdmin \<address> \<role> | Calls the read-only function "getRoleAdmin" on the contract. |
436
- | getRoleMember \<address> \<role> \<index> | Calls the read-only function "getRoleMember" on the contract. |
437
- | getRoleMemberCount \<address> \<role> | Calls the read-only function "getRoleMemberCount" on the contract. |
438
- | getRoleMembers \<address> \<role> | Calls the read-only function "getRoleMembers" on the contract. |
439
- | has-role \<address> \<role> \<account> | get has role by role and account |
440
- | initialized \<address> | Calls the read-only function "initialized" on the contract. |
441
- | no-fee \<address> | get node operator fee in basis points |
442
- | no-fee-report \<address> | get node operator fee claimed report |
443
- | no-unclaimed-fee \<address> | Returns the accumulated unclaimed node operator fee in ether |
444
- | projected-new-mintable-shares \<address> \<etherToFund> | get projected new mintable shares |
445
- | r-threshold \<address> | get rebalance threshold in basis points |
446
- | reserve-ratio \<address> | get reserve ratio in basis points |
447
- | s-limit \<address> | get share limit |
448
- | s-minted \<address> | get shares minted |
449
- | vault \<address> | get staking vault address |
450
- | supports-interface \<address> \<interfaceId> | get supports interface by id |
451
- | total-mintable-shares \<address> | get total of shares that can be minted on the vault |
452
- | t-fee \<address> | get treasury fee in basis points |
453
- | unreserved \<address> | Calls the read-only function "unreserved" on the contract. |
454
- | valuation \<address> | get vault valuation |
455
- | hub \<address> | get vaultHub address |
456
- | socket \<address> | get vault socket |
457
- | w-ether \<address> | get amount of ether that can be withdrawn from the staking vault |
458
- | roles \<address> | get delegation contract roles info |
459
- | base-info \<address> | get delegation base info |
460
- | is-healthy \<address> | get vault healthy info |
461
- | cf-set \<address> \<newCuratorFee> | sets the curator fee |
462
- | cf-claim \<address> \<recipient> | claims the curator fee |
463
- | nof-set \<address> \<newNodeOperatorFeeBP> | sets the node operator fee |
464
- | nof-claim \<address> \<recipient> | claims the node operator fee |
465
- | fund \<address> \<wei> | funds the StakingVault with ether |
466
- | withdraw \<address> \<recipient> \<wei> | withdraws ether from the StakingVault |
467
- | rebalance \<address> \<ether> | rebalances the StakingVault with a given amount of ether |
468
- | t-ownership \<address> \<newOwner> | transfers the ownership of the StakingVault |
469
- | disconnect \<address> | voluntarily disconnects a StakingVault from VaultHub |
470
- | deposit-pause \<address> | Pauses deposits to beacon chain from the StakingVault. |
471
- | deposit-resume \<address> | Resumes deposits to beacon chain from the StakingVault. |
472
- | fund-weth \<address> \<wethAmount> | funds the staking vault with wrapped ether |
473
- | withdraw-weth \<address> \<recipient> \<ether> | withdraws stETH tokens from the staking vault to wrapped ether |
474
- | exit \<address> \<validatorPubKey> | requests the exit of a validator from the staking vault |
475
- | mint-shares \<address> \<recipient> \<amountOfShares> | mints stETH tokens backed by the vault to a recipient |
476
- | mint-steth \<address> \<recipient> \<amountOfShares> | mints stETH tokens backed by the vault to a recipient |
477
- | mint-wsteth \<address> \<recipient> \<tokens> | mints wstETH tokens backed by the vault to a recipient |
478
- | burn-shares \<address> \<amountOfShares> | Burns stETH shares from the sender backed by the vault. Expects corresponding amount of stETH approved to this contract |
479
- | burn-steth \<address> \<amountOfShares> | Burns stETH shares from the sender backed by the vault. Expects stETH amount approved to this contract. |
480
- | burn-wsteth \<address> \<tokens> | burn wstETH tokens from the sender backed by the vault |
481
- | burn-shares-permit \<address> \<tokens> \<permitJSON> | Burns stETH tokens (in shares) backed by the vault from the sender using permit (with value in stETH). |
482
- | burn-steth-permit \<address> \<tokens> \<permitJSON> | Burns stETH tokens backed by the vault from the sender using permit. |
483
- | burn-wsteth-permit \<address> \<tokens> \<permitJSON> | burn wstETH tokens from the sender backed by the vault using EIP-2612 Permit |
484
- | recover-erc20 \<address> \<token> \<recipient> \<amount> | recovers ERC20 tokens or ether from the delegation contract to sender |
485
- | recover-erc721 \<address> \<token> \<tokenId> \<recipient> | Transfers a given token_id of an ERC721-compatible NFT (defined by the token contract address) |
486
- | role-grant \<address> \<roleAssignmentJSON> | Mass-revokes multiple roles from multiple accounts. |
487
- | role-revoke \<address> \<roleAssignmentJSON> | Resumes beacon chain deposits on the staking vault. |
488
- | set-confirm-expiry \<address> \<newConfirmExpiry> | set the confirmation expiry |
489
-
490
- ### PredepositGuarantee
491
-
492
- #### Command
493
-
494
- ```bash
495
- lsv-cli pdg [arguments] [-options]
496
- ```
497
-
498
- #### Delegation commands list
499
-
500
- ```bash
501
- lsv-cli pdg -h
502
- ```
503
-
504
- #### API
505
-
506
- | Command | Description |
507
- | -------------------------------------------- | ------------------------------------------------------------------------------- |
508
- | BEACON_ROOTS | Calls the read-only function "BEACON_ROOTS" on the contract. |
509
- | DEFAULT_ADMIN_ROLE | Calls the read-only function "DEFAULT_ADMIN_ROLE" on the contract. |
510
- | GI_FIRST_VALIDATOR | Calls the read-only function "GI_FIRST_VALIDATOR" on the contract. |
511
- | GI_FIRST_VALIDATOR_AFTER_CHANGE | Calls the read-only function "GI_FIRST_VALIDATOR_AFTER_CHANGE" on the contract. |
512
- | GI_PUBKEY_WC_PARENT | Calls the read-only function "GI_PUBKEY_WC_PARENT" on the contract. |
513
- | GI_STATE_ROOT | Calls the read-only function "GI_STATE_ROOT" on the contract. |
514
- | MAX_SUPPORTED_WC_VERSION | Calls the read-only function "MAX_SUPPORTED_WC_VERSION" on the contract. |
515
- | MIN_SUPPORTED_WC_VERSION | Calls the read-only function "MIN_SUPPORTED_WC_VERSION" on the contract. |
516
- | PAUSE_INFINITELY | Calls the read-only function "PAUSE_INFINITELY" on the contract. |
517
- | PAUSE_ROLE | Calls the read-only function "PAUSE_ROLE" on the contract. |
518
- | PREDEPOSIT_AMOUNT | Calls the read-only function "PREDEPOSIT_AMOUNT" on the contract. |
519
- | RESUME_ROLE | Calls the read-only function "RESUME_ROLE" on the contract. |
520
- | SLOT_CHANGE_GI_FIRST_VALIDATOR | Calls the read-only function "SLOT_CHANGE_GI_FIRST_VALIDATOR" on the contract. |
521
- | STATE_ROOT_DEPTH | Calls the read-only function "STATE_ROOT_DEPTH" on the contract. |
522
- | STATE_ROOT_POSITION | Calls the read-only function "STATE_ROOT_POSITION" on the contract. |
523
- | WC_PUBKEY_PARENT_DEPTH | Calls the read-only function "WC_PUBKEY_PARENT_DEPTH" on the contract. |
524
- | WC_PUBKEY_PARENT_POSITION | Calls the read-only function "WC_PUBKEY_PARENT_POSITION" on the contract. |
525
- | claimableRefund \<\_guarantor> | Calls the read-only function "claimableRefund" on the contract. |
526
- | getResumeSinceTimestamp | Calls the read-only function "getResumeSinceTimestamp" on the contract. |
527
- | getRoleAdmin \<role> | Calls the read-only function "getRoleAdmin" on the contract. |
528
- | getRoleMember \<role> \<index> | Calls the read-only function "getRoleMember" on the contract. |
529
- | getRoleMemberCount \<role> | Calls the read-only function "getRoleMemberCount" on the contract. |
530
- | getRoleMembers \<role> | Calls the read-only function "getRoleMembers" on the contract. |
531
- | hasRole \<role> \<account> | Calls the read-only function "hasRole" on the contract. |
532
- | isPaused | Calls the read-only function "isPaused" on the contract. |
533
- | nodeOperatorBalance \<\_nodeOperator> | Calls the read-only function "nodeOperatorBalance" on the contract. |
534
- | nodeOperatorGuarantor \<\_nodeOperator> | Calls the read-only function "nodeOperatorGuarantor" on the contract. |
535
- | supportsInterface \<interfaceId> | Calls the read-only function "supportsInterface" on the contract. |
536
- | unlockedBalance \<\_nodeOperator> | Calls the read-only function "unlockedBalance" on the contract. |
537
- | validatorStatus \<\_validatorPubkey> | Calls the read-only function "validatorStatus" on the contract. |
538
- | predeposit \<vault> \<deposits> | predeposit |
539
- | create-proof-and-prove \<index> | create proof and prove |
540
- | deposit-to-beacon-chain \<vault> \<deposits> | deposit to beacon chain |
541
-
542
- ### VaultViewer
543
-
544
- #### Command
545
-
546
- ```bash
547
- lsv-cli vv [arguments] [-options]
548
- ```
549
-
550
- #### Delegation commands list
551
-
552
- ```bash
553
- lsv-cli vv -h
554
- ```
125
+ ## Documentation
555
126
 
556
- #### API
557
-
558
- | Command | Description |
559
- | ------------------------------------------- | ------------------------------------------------------------------ |
560
- | DEFAULT_ADMIN_ROLE | Calls the read-only function "DEFAULT_ADMIN_ROLE" on the contract. |
561
- | hasRole \<vault> \<\_member> \<\_role> | Calls the read-only function "hasRole" on the contract. |
562
- | isContract \<account> | Calls the read-only function "isContract" on the contract. |
563
- | isOwner \<vault> \<\_owner> | Calls the read-only function "isOwner" on the contract. |
564
- | vaultHub | Calls the read-only function "vaultHub" on the contract. |
565
- | by-owner \<owner> | get vaults by owner |
566
- | by-owner-bound \<owner> \<from> \<to> | get vaults by owner - bound |
567
- | by-ra \<role> \<member> | get vaults by role and address |
568
- | by-ra-bound \<role> \<member> \<from> \<to> | get vaults by role and address - bound |
569
- | connected | get vaults connected to vault hub |
570
- | connected-bound \<from> \<to> | get vaults connected to vault hub - bound |
571
- | my | get my vaults |
572
- | my-bound \<from> \<to> | get my vaults - bound |
573
- | my-by-role \<role> | get my vaults by role |
574
- | my-by-role-bound \<role> \<from> \<to> | get my vaults by role - bound |
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/).
575
128
 
576
129
  ## License
577
130
 
@@ -51,6 +51,57 @@ pdg
51
51
  printError(err, 'Error when creating proof');
52
52
  }
53
53
  });
54
+ pdg
55
+ .command('prove-and-deposit')
56
+ .description('prove and deposit')
57
+ .argument('<indexes>', 'validator indexes')
58
+ .argument('<vault>', 'vault address')
59
+ .argument('<deposits>', 'deposits')
60
+ .action(async (indexes, vault, deposits) => {
61
+ const pdgContract = await getPredepositGuaranteeContract();
62
+ const indexesArray = indexes.split(',').map(BigInt);
63
+ const parsedDeposits = parseObjectsArray(deposits);
64
+ const witnesses = [];
65
+ for (const index of indexesArray) {
66
+ const validatorIndex = await confirmCreateProof(index);
67
+ if (!validatorIndex)
68
+ return;
69
+ const hideSpinner = showSpinner({
70
+ type: 'bouncingBar',
71
+ message: 'Creating proof...',
72
+ });
73
+ try {
74
+ const packageProof = await createPDGProof(Number(validatorIndex));
75
+ hideSpinner();
76
+ const { proof, pubkey, childBlockTimestamp, withdrawalCredentials } = packageProof;
77
+ witnesses.push({
78
+ proof,
79
+ pubkey,
80
+ validatorIndex,
81
+ childBlockTimestamp,
82
+ });
83
+ console.info('----------------------proof----------------------');
84
+ console.info(proof);
85
+ console.info('---------------------pubkey---------------------');
86
+ console.table(pubkey);
87
+ console.info('---------------childBlockTimestamp---------------');
88
+ console.table(childBlockTimestamp);
89
+ console.info('--------------withdrawalCredentials--------------');
90
+ console.table(withdrawalCredentials);
91
+ console.info('------------------------------------------------');
92
+ console.info('-----------------------end-----------------------');
93
+ }
94
+ catch (err) {
95
+ hideSpinner();
96
+ printError(err, 'Error when creating proof');
97
+ }
98
+ }
99
+ await callWriteMethodWithReceipt(pdgContract, 'proveAndDeposit', [
100
+ witnesses,
101
+ parsedDeposits,
102
+ vault,
103
+ ]);
104
+ });
54
105
  pdg
55
106
  .command('deposit-to-beacon-chain')
56
107
  .description('deposit to beacon chain')
@@ -111,4 +162,87 @@ pdg
111
162
  printError(err, 'Error when proving unknown validator');
112
163
  }
113
164
  });
165
+ pdg
166
+ .command('prove-invalid-validator-wc')
167
+ .description('prove invalid validator withdrawal credentials')
168
+ .argument('<index>', 'validator index')
169
+ .argument('<invalidWithdrawalCredentials>', 'invalid withdrawal credentials')
170
+ .action(async (index, invalidWithdrawalCredentials) => {
171
+ const pdgContract = await getPredepositGuaranteeContract();
172
+ const validatorIndex = await confirmCreateProof(index);
173
+ if (!validatorIndex)
174
+ return;
175
+ const hideSpinner = showSpinner({
176
+ type: 'bouncingBar',
177
+ message: 'Creating proof...',
178
+ });
179
+ try {
180
+ const packageProof = await createPDGProof(Number(validatorIndex));
181
+ hideSpinner();
182
+ const { proof, pubkey, childBlockTimestamp, withdrawalCredentials } = packageProof;
183
+ console.info('----------------------proof----------------------');
184
+ console.info(proof);
185
+ console.info('---------------------pubkey---------------------');
186
+ console.table(pubkey);
187
+ console.info('---------------childBlockTimestamp---------------');
188
+ console.table(childBlockTimestamp);
189
+ console.info('--------------withdrawalCredentials--------------');
190
+ console.table(withdrawalCredentials);
191
+ console.info('------------------------------------------------');
192
+ console.info('invalid withdrawal credentials');
193
+ console.table(invalidWithdrawalCredentials);
194
+ console.info('-----------------------end-----------------------');
195
+ if (withdrawalCredentials !== invalidWithdrawalCredentials) {
196
+ console.info('withdrawal credentials are valid. Operation cancelled');
197
+ return;
198
+ }
199
+ await callWriteMethodWithReceipt(pdgContract, 'proveInvalidValidatorWC', [
200
+ { proof, pubkey, validatorIndex, childBlockTimestamp },
201
+ invalidWithdrawalCredentials,
202
+ ]);
203
+ }
204
+ catch (err) {
205
+ hideSpinner();
206
+ printError(err, 'Error when creating proof');
207
+ }
208
+ });
209
+ pdg
210
+ .command('withdraw-no-balance')
211
+ .description('withdraw node operator balance')
212
+ .argument('<nodeOperator>', 'node operator address')
213
+ .argument('<amount>', 'amount in wei')
214
+ .argument('<recipient>', 'recipient address')
215
+ .action(async (nodeOperator, amount, recipient) => {
216
+ const pdgContract = await getPredepositGuaranteeContract();
217
+ await callWriteMethodWithReceipt(pdgContract, 'withdrawNodeOperatorBalance', [nodeOperator, BigInt(amount), recipient]);
218
+ });
219
+ pdg
220
+ .command('set-no-g')
221
+ .description('set node operator guarantor')
222
+ .argument('<guarantor>', 'new guarantor address')
223
+ .action(async (guarantor) => {
224
+ const pdgContract = await getPredepositGuaranteeContract();
225
+ await callWriteMethodWithReceipt(pdgContract, 'setNodeOperatorGuarantor', [
226
+ guarantor,
227
+ ]);
228
+ });
229
+ pdg
230
+ .command('claim-g-refund')
231
+ .description('claim guarantor refund')
232
+ .argument('<recipient>', 'recipient address')
233
+ .action(async (recipient) => {
234
+ const pdgContract = await getPredepositGuaranteeContract();
235
+ await callWriteMethodWithReceipt(pdgContract, 'claimGuarantorRefund', [
236
+ recipient,
237
+ ]);
238
+ });
239
+ pdg
240
+ .command('compensate-disproven-predeposit')
241
+ .description('compensate disproven predeposit')
242
+ .argument('<pubkey>', 'validator pubkey')
243
+ .argument('<recipient>', 'recipient address')
244
+ .action(async (pubkey, recipient) => {
245
+ const pdgContract = await getPredepositGuaranteeContract();
246
+ await callWriteMethodWithReceipt(pdgContract, 'compensateDisprovenPredeposit', [pubkey, recipient]);
247
+ });
114
248
  //# sourceMappingURL=write.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"write.js","sourceRoot":"","sources":["../../../programs/pdg/write.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,UAAU,EAAE,MAAM,MAAM,CAAC;AAEhD,OAAO,EAAE,8BAA8B,EAAE,MAAM,WAAW,CAAC;AAC3D,OAAO,EACL,0BAA0B,EAC1B,kBAAkB,EAClB,cAAc,EACd,WAAW,EACX,UAAU,EACV,iBAAiB,GAClB,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAShC,GAAG;KACA,OAAO,CAAC,YAAY,CAAC;KACrB,WAAW,CAAC,YAAY,CAAC;KACzB,QAAQ,CAAC,SAAS,EAAE,eAAe,CAAC;KACpC,QAAQ,CAAC,YAAY,EAAE,UAAU,CAAC;KAClC,MAAM,CAAC,KAAK,EAAE,KAAc,EAAE,QAAgB,EAAE,EAAE;IACjD,MAAM,WAAW,GAAG,MAAM,8BAA8B,EAAE,CAAC;IAC3D,MAAM,cAAc,GAAG,iBAAiB,CAAC,QAAQ,CAAc,CAAC;IAEhE,MAAM,0BAA0B,CAAC,WAAW,EAAE,YAAY,EAAE;QAC1D,KAAK;QACL,cAAc;KACf,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEL,GAAG;KACA,OAAO,CAAC,wBAAwB,CAAC;KACjC,WAAW,CAAC,wBAAwB,CAAC;KACrC,QAAQ,CAAC,SAAS,EAAE,iBAAiB,CAAC;KACtC,MAAM,CAAC,KAAK,EAAE,KAAa,EAAE,EAAE;IAC9B,MAAM,WAAW,GAAG,MAAM,8BAA8B,EAAE,CAAC;IAE3D,MAAM,cAAc,GAAG,MAAM,kBAAkB,CAAC,KAAK,CAAC,CAAC;IACvD,IAAI,CAAC,cAAc;QAAE,OAAO;IAE5B,M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BAA0B,CAAC,WAAW,EAAE,0BAA0B,EAAE;QACxE,SAAS;KACV,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEL,GAAG;KACA,OAAO,CAAC,gBAAgB,CAAC;KACzB,WAAW,CAAC,wBAAwB,CAAC;KACrC,QAAQ,CAAC,aAAa,EAAE,mBAAmB,CAAC;KAC5C,MAAM,CAAC,KAAK,EAAE,SAAkB,EAAE,EAAE;IACnC,MAAM,WAAW,GAAG,MAAM,8BAA8B,EAAE,CAAC;IAE3D,MAAM,0BAA0B,CAAC,WAAW,EAAE,sBAAsB,EAAE;QACpE,SAAS;KACV,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEL,GAAG;KACA,OAAO,CAAC,iCAAiC,CAAC;KAC1C,WAAW,CAAC,iCAAiC,CAAC;KAC9C,QAAQ,CAAC,UAAU,EAAE,kBAAkB,CAAC;KACxC,QAAQ,CAAC,aAAa,EAAE,mBAAmB,CAAC;KAC5C,MAAM,CAAC,KAAK,EAAE,MAAW,EAAE,SAAkB,EAAE,EAAE;IAChD,MAAM,WAAW,GAAG,MAAM,8BAA8B,EAAE,CAAC;IAE3D,MAAM,0BAA0B,CAC9B,WAAW,EACX,+BAA+B,EAC/B,CAAC,MAAM,EAAE,SAAS,CAAC,CACpB,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -1 +1 @@
1
- export const version = 'v1.0.0-alpha.21'
1
+ export const version = 'v1.0.0-alpha.22'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lidofinance/lsv-cli",
3
- "version": "1.0.0-alpha.21",
3
+ "version": "1.0.0-alpha.22",
4
4
  "main": "dist/index.js",
5
5
  "files": [
6
6
  "dist"