@lidofinance/lsv-cli 1.0.0-alpha.11 → 1.0.0-alpha.14

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 (148) hide show
  1. package/README.md +327 -175
  2. package/dist/abi/CLProofVerifier.js +279 -0
  3. package/dist/abi/CLProofVerifier.js.map +1 -0
  4. package/dist/abi/Dashboard.js +1060 -942
  5. package/dist/abi/Dashboard.js.map +1 -1
  6. package/dist/abi/Delegation.js +1260 -1129
  7. package/dist/abi/Delegation.js.map +1 -1
  8. package/dist/abi/LidoLocator.js +311 -270
  9. package/dist/abi/LidoLocator.js.map +1 -1
  10. package/dist/abi/PredepositGuarantee.js +1733 -0
  11. package/dist/abi/PredepositGuarantee.js.map +1 -0
  12. package/dist/abi/StakingVault.js +723 -528
  13. package/dist/abi/StakingVault.js.map +1 -1
  14. package/dist/abi/VaultFactory.js +164 -144
  15. package/dist/abi/VaultFactory.js.map +1 -1
  16. package/dist/abi/VaultHubViewer.js +297 -0
  17. package/dist/abi/VaultHubViewer.js.map +1 -0
  18. package/dist/abi/index.js +12 -9
  19. package/dist/abi/index.js.map +1 -1
  20. package/dist/command/index.js +3 -17
  21. package/dist/command/index.js.map +1 -1
  22. package/dist/contracts/clProofVerifier.js +29 -0
  23. package/dist/contracts/clProofVerifier.js.map +1 -0
  24. package/dist/contracts/dashboard.js.map +1 -1
  25. package/dist/contracts/index.js +12 -9
  26. package/dist/contracts/index.js.map +1 -1
  27. package/dist/contracts/locator.js +2 -2
  28. package/dist/contracts/locator.js.map +1 -1
  29. package/dist/contracts/pdg.js +17 -0
  30. package/dist/contracts/pdg.js.map +1 -0
  31. package/dist/contracts/vault-factory.js +5 -9
  32. package/dist/contracts/vault-factory.js.map +1 -1
  33. package/dist/contracts/vault-hub-viewer.js +14 -0
  34. package/dist/contracts/vault-hub-viewer.js.map +1 -0
  35. package/dist/features/dashboard-delegation.js +4 -1
  36. package/dist/features/dashboard-delegation.js.map +1 -1
  37. package/dist/features/vault-factory.js +6 -10
  38. package/dist/features/vault-factory.js.map +1 -1
  39. package/dist/features/voting.js +6 -14
  40. package/dist/features/voting.js.map +1 -1
  41. package/dist/index.js +6 -3
  42. package/dist/index.js.map +1 -1
  43. package/dist/programs/account.js +29 -0
  44. package/dist/programs/account.js.map +1 -0
  45. package/dist/programs/dashboard/config.js +65 -0
  46. package/dist/programs/dashboard/config.js.map +1 -0
  47. package/dist/programs/dashboard/index.js +4 -0
  48. package/dist/programs/dashboard/index.js.map +1 -0
  49. package/dist/programs/dashboard/main.js +12 -0
  50. package/dist/programs/dashboard/main.js.map +1 -0
  51. package/dist/programs/dashboard/read.js +25 -0
  52. package/dist/programs/dashboard/read.js.map +1 -0
  53. package/dist/programs/{dashboard.js → dashboard/write.js} +79 -137
  54. package/dist/programs/dashboard/write.js.map +1 -0
  55. package/dist/programs/delegation/config.js +33 -0
  56. package/dist/programs/delegation/config.js.map +1 -0
  57. package/dist/programs/delegation/index.js +4 -0
  58. package/dist/programs/delegation/index.js.map +1 -0
  59. package/dist/programs/delegation/main.js +12 -0
  60. package/dist/programs/delegation/main.js.map +1 -0
  61. package/dist/programs/delegation/read.js +98 -0
  62. package/dist/programs/delegation/read.js.map +1 -0
  63. package/dist/programs/delegation/write.js +327 -0
  64. package/dist/programs/delegation/write.js.map +1 -0
  65. package/dist/programs/index.js +8 -4
  66. package/dist/programs/index.js.map +1 -1
  67. package/dist/programs/pdg/config.js +2 -0
  68. package/dist/programs/pdg/config.js.map +1 -0
  69. package/dist/programs/pdg/index.js +4 -0
  70. package/dist/programs/pdg/index.js.map +1 -0
  71. package/dist/programs/pdg/main.js +12 -0
  72. package/dist/programs/pdg/main.js.map +1 -0
  73. package/dist/programs/pdg/read.js +7 -0
  74. package/dist/programs/pdg/read.js.map +1 -0
  75. package/dist/programs/pdg/write.js +64 -0
  76. package/dist/programs/pdg/write.js.map +1 -0
  77. package/dist/programs/predeposit-guarantee.js +73 -0
  78. package/dist/programs/predeposit-guarantee.js.map +1 -0
  79. package/dist/programs/vault/config.js +66 -0
  80. package/dist/programs/vault/config.js.map +1 -0
  81. package/dist/programs/vault/index.js +4 -0
  82. package/dist/programs/vault/index.js.map +1 -0
  83. package/dist/programs/vault/main.js +10 -0
  84. package/dist/programs/vault/main.js.map +1 -0
  85. package/dist/programs/vault/read.js +53 -0
  86. package/dist/programs/vault/read.js.map +1 -0
  87. package/dist/programs/vault/write.js +123 -0
  88. package/dist/programs/vault/write.js.map +1 -0
  89. package/dist/programs/vault-factory/config.js +2 -0
  90. package/dist/programs/vault-factory/config.js.map +1 -0
  91. package/dist/programs/vault-factory/index.js +4 -0
  92. package/dist/programs/vault-factory/index.js.map +1 -0
  93. package/dist/programs/vault-factory/main.js +12 -0
  94. package/dist/programs/vault-factory/main.js.map +1 -0
  95. package/dist/programs/vault-factory/read.js +26 -0
  96. package/dist/programs/vault-factory/read.js.map +1 -0
  97. package/dist/programs/{vault-factory.js → vault-factory/write.js} +22 -37
  98. package/dist/programs/vault-factory/write.js.map +1 -0
  99. package/dist/programs/vault-hub-viewer.js +52 -0
  100. package/dist/programs/vault-hub-viewer.js.map +1 -0
  101. package/dist/programs/vault-hub.js +20 -52
  102. package/dist/programs/vault-hub.js.map +1 -1
  103. package/dist/programs/voting.js +11 -33
  104. package/dist/programs/voting.js.map +1 -1
  105. package/dist/providers/wallet.js +1 -3
  106. package/dist/providers/wallet.js.map +1 -1
  107. package/dist/utils/contract.js +98 -0
  108. package/dist/utils/contract.js.map +1 -0
  109. package/dist/utils/get-commands.js +11 -0
  110. package/dist/utils/get-commands.js.map +1 -0
  111. package/dist/utils/index.js +11 -6
  112. package/dist/utils/index.js.map +1 -1
  113. package/dist/utils/prompts/default.js +17 -0
  114. package/dist/utils/prompts/default.js.map +1 -0
  115. package/dist/utils/prompts/delegation-dashboard.js +29 -0
  116. package/dist/utils/prompts/delegation-dashboard.js.map +1 -0
  117. package/dist/utils/prompts/index.js +4 -0
  118. package/dist/utils/prompts/index.js.map +1 -0
  119. package/dist/utils/prompts/predeposit-guarantee.js +25 -0
  120. package/dist/utils/prompts/predeposit-guarantee.js.map +1 -0
  121. package/dist/utils/proof/create-proof.js +62 -0
  122. package/dist/utils/proof/create-proof.js.map +1 -0
  123. package/dist/utils/proof/first-validator-gindex.js +26 -0
  124. package/dist/utils/proof/first-validator-gindex.js.map +1 -0
  125. package/dist/utils/proof/index.js +4 -0
  126. package/dist/utils/proof/index.js.map +1 -0
  127. package/dist/utils/proof/merkle-utils.js +131 -0
  128. package/dist/utils/proof/merkle-utils.js.map +1 -0
  129. package/dist/utils/proof/proofs.js +52 -0
  130. package/dist/utils/proof/proofs.js.map +1 -0
  131. package/dist/utils/read-programs-by-abi.js +83 -0
  132. package/dist/utils/read-programs-by-abi.js.map +1 -0
  133. package/dist/utils/spinner/index.js +2 -0
  134. package/dist/utils/spinner/index.js.map +1 -0
  135. package/dist/utils/spinner/spinners.js +16 -0
  136. package/dist/utils/spinner/spinners.js.map +1 -0
  137. package/dist/utils/spinner/spinners.json +119 -0
  138. package/dist/version/index.js +1 -0
  139. package/dist/version/index.js.map +1 -0
  140. package/package.json +14 -8
  141. package/dist/programs/dashboard.js.map +0 -1
  142. package/dist/programs/delegation.js +0 -581
  143. package/dist/programs/delegation.js.map +0 -1
  144. package/dist/programs/vault-factory.js.map +0 -1
  145. package/dist/programs/vault.js +0 -383
  146. package/dist/programs/vault.js.map +0 -1
  147. package/dist/utils/call-contract.js +0 -30
  148. package/dist/utils/call-contract.js.map +0 -1
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # Liquid Staking Vault CLI
1
+ # Lido Staking Vault CLI
2
2
 
3
- A command-line interface (CLI) tool for managing liquid staking vaults. Simplify your staking operations with intuitive commands and streamlined workflows.
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
5
  ## Table of Contents
6
6
 
@@ -10,7 +10,7 @@ A command-line interface (CLI) tool for managing liquid staking vaults. Simplify
10
10
  - [Configuration](#configuration)
11
11
  - [Usage](#usage)
12
12
  - [Examples](#examples)
13
- - [Contracts](#contracts)
13
+ - [Programs](#programs)
14
14
  - [License](#license)
15
15
 
16
16
  ## Features
@@ -26,7 +26,7 @@ A command-line interface (CLI) tool for managing liquid staking vaults. Simplify
26
26
 
27
27
  ## Installation
28
28
 
29
- Install the Liquid Staking Vault CLI globally using npm:
29
+ Install the Lido Staking Vault CLI globally using npm:
30
30
 
31
31
  ```bash
32
32
  npm install -g @lidofinance/lsv-cli
@@ -55,29 +55,30 @@ PRIVATE_KEY_1=0x...
55
55
  PRIVATE_KEY_17000=0x...
56
56
 
57
57
  ```
58
+
58
59
  Application supported a few ways to adding or combine different settings
59
60
 
60
61
  - #### 1st step
61
- You can pass link to json file with address of deployed contacts into **DEPLOYED** variable. If you want use
62
- devnet the all needed addresses of the contracts like VaultHub, VaultFactory etc already passed as example in configs/deployed-holesky-vaults-devnet-1.json.
63
- Also at near future this feature will be changed to resolving contracts addresses by LIDO locator and link to json
64
- file will no longer be necessary
62
+ You can pass link to json file with address of deployed contacts into **DEPLOYED** variable. If you want use
63
+ devnet the all needed addresses of the contracts like VaultHub, VaultFactory etc already passed as example in configs/deployed-holesky-vaults-devnet-1.json.
64
+ Also at near future this feature will be changed to resolving contracts addresses by LIDO locator and link to json
65
+ file will no longer be necessary
65
66
  - #### 2nd step
66
- You need to pass link to json config file into **CONFIG** variable. The structure of a config file has to be like
67
- ```javascript
68
- {
69
- "rpcLink": "https://link_to_rpc",
70
- "privateKey": "some_key",
71
- "chainId": 1, // or another number of chain id
72
- "lidoLocator": "LIDO locator address", // take LIDO locator address in paticular chainId
73
- "accounting": "LIDO accountind address" // take LIDO accounting address in paticular chainId
74
- }
75
- ```
76
- If you plan to manage contracts the **privateKey** is required property for this type of operations.
77
- For using rpcLink in a right way be attentive to match rpc resolver link and its chain ID.
78
- Also, You can pass rpc link as env variable into RPC_URL_(chainID)
79
- where chainID is current chain ID, chainId basically takes from config file, but also you can
80
- pass it to deployed file and process env CHAIN_ID variable.
67
+ You need to pass link to json config file into **CONFIG** variable. The structure of a config file has to be like
68
+ ```javascript
69
+ {
70
+ "rpcLink": "https://link_to_rpc",
71
+ "privateKey": "some_key",
72
+ "chainId": 1, // or another number of chain id
73
+ "lidoLocator": "LIDO locator address", // take LIDO locator address in paticular chainId
74
+ "accounting": "LIDO accountind address" // take LIDO accounting address in paticular chainId
75
+ }
76
+ ```
77
+ If you plan to manage contracts the **privateKey** is required property for this type of operations.
78
+ For using rpcLink in a right way be attentive to match rpc resolver link and its chain ID.
79
+ Also, You can pass rpc link as env variable into RPC*URL*(chainID)
80
+ where chainID is current chain ID, chainId basically takes from config file, but also you can
81
+ pass it to deployed file and process env CHAIN_ID variable.
81
82
 
82
83
  ## Usage
83
84
 
@@ -96,23 +97,46 @@ lsv-cli -h
96
97
  **VaultHub constants**
97
98
 
98
99
  ```bash
99
- lsv-cli vh constants
100
+ lsv-cli hub constants
100
101
  ```
101
102
 
102
103
  **Count of all vaults**
103
104
 
104
105
  ```bash
105
- lsv-cli vh v-count
106
+ lsv-cli hub v-count
106
107
  ```
107
108
 
108
- ## Contracts
109
+ ## Programs
110
+
111
+ - [Account](#Account)
109
112
  - [VaultHub](#vaulthub)
110
113
  - [VaultFactory](#vaultfactory)
111
114
  - [Vault](#vault)
112
115
  - [Dashboard](#dashboard)
113
116
  - [Delegation](#delegation)
114
117
 
118
+ ### Account
119
+
120
+ #### Command
121
+
122
+ ```bash
123
+ lsv-cli account [arguments] [-options]
124
+ ```
125
+
126
+ #### Account commands list
127
+
128
+ ```bash
129
+ lsv-cli account -h
130
+ ```
131
+
132
+ #### API
133
+
134
+ | Command | Description |
135
+ | ------- | -------------------- |
136
+ | info | general account info |
137
+
115
138
  ### VaultHub
139
+
116
140
  #### Command
117
141
 
118
142
  ```bash
@@ -126,24 +150,25 @@ lsv-cli hub -h
126
150
  ```
127
151
 
128
152
  #### API
129
- | Command | Description |
130
- |----------------------------------------------------------------------------------------------|-------------|
131
- | constants | get vault hub constants |
132
- | add-codehash \<codehash> | add vault proxy codehash to allowed list |
133
- | v-count | get connected vaults number |
134
- | vi \<index> | get vault and vault socket by index |
135
- | va \<address> | get vault socket by address |
136
- | v-connect \<address> \<shareLimit> \<reserveRatio> \<reserveRatioThreshold> \<treasuryFeeBP> | connects a vault to the hub (vault master role needed) |
137
- | v-force-rebalance \<address> | force rebalance of the vault to have sufficient reserve ratio |
138
- | v-role-admin \<role> | returns the admin role that controls role |
139
- | v-role-member \<role> \<index> | returns one of the accounts that have role |
140
- | v-role-member-count \<role> | returns the number of accounts that have role |
141
- | v-role-has \<role> \<account> | returns true if account has been granted role |
142
- | v-update-share-limit \<address> \<shareLimit> | updates share limit for the vault |
143
- | v-disconnect \<address> | force disconnects a vault from the hub |
144
- | v-owner-disconnect \<address> | disconnects a vault from the hub, msg.sender should be vault's owner |
145
- | v-bbv-mint \<address> \<recipient> \<amountOfShares> | mint StETH shares backed by vault external balance to the receiver address |
146
- | v-bbv-burn \<address> \<amountOfShares> | burn steth shares from the balance of the VaultHub contract |
153
+
154
+ | Command | Description |
155
+ | -------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
156
+ | constants | get vault hub constants |
157
+ | add-codehash \<codehash> | add vault proxy codehash to allowed list |
158
+ | v-count | get connected vaults number |
159
+ | vi \<index> | get vault and vault socket by index |
160
+ | va \<address> | get vault socket by address |
161
+ | v-connect \<address> \<shareLimit> \<reserveRatio> \<reserveRatioThreshold> \<treasuryFeeBP> | connects a vault to the hub (vault master role needed) |
162
+ | v-force-rebalance \<address> | force rebalance of the vault to have sufficient reserve ratio |
163
+ | v-role-admin \<role> | returns the admin role that controls role |
164
+ | v-role-member \<role> \<index> | returns one of the accounts that have role |
165
+ | v-role-member-count \<role> | returns the number of accounts that have role |
166
+ | v-role-has \<role> \<account> | returns true if account has been granted role |
167
+ | v-update-share-limit \<address> \<shareLimit> | updates share limit for the vault |
168
+ | v-disconnect \<address> | force disconnects a vault from the hub |
169
+ | v-owner-disconnect \<address> | disconnects a vault from the hub, msg.sender should be vault's owner |
170
+ | v-bbv-mint \<address> \<recipient> \<amountOfShares> | mint StETH shares backed by vault external balance to the receiver address |
171
+ | v-bbv-burn \<address> \<amountOfShares> | burn steth shares from the balance of the VaultHub contract |
147
172
  | v-bbv-transfer \<address> \<amountOfShares> | separate burn function for EOA vault owners; requires vaultHub to be approved to transfer stETH |
148
173
 
149
174
  ### VaultFactory
@@ -162,29 +187,34 @@ lsv-cli factory -h
162
187
 
163
188
  #### API
164
189
 
165
- | Command | Description |
166
- |----------------------------------------------------------------------|-----------------------------|
167
- | create-vault \[-options] \<managerFee> \<performanceFee> \[quantity] | create vault contract |
190
+ | Command | Description |
191
+ | ------------------------------------------------------------- | --------------------------------------------------------------- |
192
+ | constants | get vault factory constants info |
193
+ | BEACON \<address> | Calls the read-only function "BEACON" on the contract. |
194
+ | DELEGATION_IMPL \<address> | Calls the read-only function "DELEGATION_IMPL" on the contract. |
195
+ | create-vault \<curatorFeeBP> \<nodeOperatorFeeBP> \<quantity> | create vault contract |
196
+
168
197
  Note: \[quantity] is optional argument, default 1
169
198
  **[options]**
170
199
 
171
- | Option | Description |
172
- |--------------------------------------------------------|--------------------------------------|
173
- | -a, --defaultAdmin \<defaultAdmin> | default admin address |
174
- | -f, --funder \<funder> | funder role address |
175
- | -w, --withdrawer \<withdrawer> | withdrawer role address |
176
- | -m, --minter \<minter> | minter role address |
177
- | -b, --burner \<burner> | burner role address |
178
- | -r, --rebalancer \<rebalancer> | rebalancer role address |
179
- | -p, --depositPauser \<depositPauser> | depositPauser role address |
180
- | -d, --depositResumer \<depositResumer> | depositResumer role address |
181
- | -e, --exitRequester \<exitRequester> | exitRequester role address |
182
- | -u, --disconnecter \<disconnecter> | disconnecter role address |
183
- | -c, --curator \<curator> | curator address |
184
- | -n, --nodeOperatorManager \<nodeOperatorManager> | node operator manager address |
200
+ | Option | Description |
201
+ | ------------------------------------------------------ | --------------------------------- |
202
+ | -a, --defaultAdmin \<defaultAdmin> | default admin address |
203
+ | -f, --funder \<funder> | funder role address |
204
+ | -w, --withdrawer \<withdrawer> | withdrawer role address |
205
+ | -m, --minter \<minter> | minter role address |
206
+ | -b, --burner \<burner> | burner role address |
207
+ | -r, --rebalancer \<rebalancer> | rebalancer role address |
208
+ | -p, --depositPauser \<depositPauser> | depositPauser role address |
209
+ | -d, --depositResumer \<depositResumer> | depositResumer role address |
210
+ | -e, --exitRequester \<exitRequester> | exitRequester role address |
211
+ | -u, --disconnecter \<disconnecter> | disconnecter role address |
212
+ | -c, --curator \<curator> | curator address |
213
+ | -n, --nodeOperatorManager \<nodeOperatorManager> | node operator manager address |
185
214
  | -o, --nodeOperatorFeeClaimer \<nodeOperatorFeeClaimer> | node operator fee claimer address |
186
215
 
187
216
  ### Vault
217
+
188
218
  #### Command
189
219
 
190
220
  ```bash
@@ -198,29 +228,38 @@ lsv-cli vault -h
198
228
  ```
199
229
 
200
230
  #### API
201
- | Command | Description |
202
- |--------------------------------------------------------------------------------------|-------------|
203
- | info \<address> | get vault base info |
204
- | l-report \<address> | get latest vault report |
205
- | is-balanced \<address> | returns whether vault is balanced, i.e. its valuation is greater than the locked amount |
206
- | node-operator \<address> | returns the address of the node operator |
207
- | valuation \<address> | get vault valuation |
208
- | unlocked \<address> | get vault unlocked |
209
- | locked \<address> | get vault locked |
210
- | withdrawal-c \<address> | get vault withdrawal credentials |
211
- | fund \<address> \<amount> | fund vault |
212
- | withdraw \<address> \<recipient> \<amount> | withdraw from vault |
213
- | rebalance \<address> \<amount> | rebalance vault |
214
- | no-deposit-beacon \<address> \<numberOfDeposits> \<pubkeys> \<signatures> | deposit to beacon chain |
215
- | no-val-exit \<address> \<validatorPublicKey> | request to exit validator |
216
- | delta \<address> | the net difference between deposits and withdrawals |
217
- | is-paused \<address> | Returns whether deposits are paused by the vault owner |
218
- | bc-resume \<address> | Resumes deposits to beacon chain |
219
- | bc-pause \<address> | Pauses deposits to beacon chain |
220
- | report \<address> \<valuation> \<inOutDelta> \<locked> | Submits a report containing valuation, inOutDelta, and locked amount |
221
- | compute-deposit \<address> \<pubkey> \<withdrawalCredentials> \<signature> \<amount> | Computes the deposit data root for a validator deposit |
231
+
232
+ | Command | Description |
233
+ | ----------------------------------------------------------------------------------------- | --------------------------------------------------------------------- |
234
+ | deposit-contract \<address> | get vault deposit contract |
235
+ | PUBLIC_KEY_LENGTH \<address> | Calls the read-only function "PUBLIC_KEY_LENGTH" on the contract. |
236
+ | is-paused \<address> | get whether deposits are paused by the vault owner |
237
+ | validator-w-fee \<address> \<numberOfKeys> | get calculated withdrawal fee for a validator |
238
+ | depositor \<address> | Calls the read-only function "depositor" on the contract. |
239
+ | getInitializedVersion \<address> | Calls the read-only function "getInitializedVersion" on the contract. |
240
+ | delta \<address> | get the net difference between deposits and withdrawals |
241
+ | l-report \<address> | get latest vault report |
242
+ | locked \<address> | get vault locked |
243
+ | no \<address> | get vault node operator |
244
+ | owner \<address> | get vault owner |
245
+ | unlocked \<address> | get vault unlocked |
246
+ | valuation \<address> | get vault valuation |
247
+ | vault-hub \<address> | get vault hub |
248
+ | version \<address> | get vault version |
249
+ | wc \<address> | get vault withdrawal credentials |
250
+ | info \<address> | get vault base info |
251
+ | fund | fund vault |
252
+ | withdraw \<address> \<recipient> \<wei> | withdraw from vault |
253
+ | no-deposit-beacon \<address> \<amountOfDeposit> \<pubkey> \<signature> \<depositDataRoot> | deposit to beacon chain |
254
+ | no-val-exit \<address> \<validatorPublicKey> | request to exit validator |
255
+ | bc-resume \<address> | Resumes deposits to beacon chain |
256
+ | bc-pause \<address> | Pauses deposits to beacon chain |
257
+ | report \<address> \<valuation> \<inOutDelta> \<locked> | Submits a report containing valuation, inOutDelta, and locked amount |
258
+ | rebalance \<address> \<amount> | Rebalances the vault |
259
+ | trigger-v-w \<address> \<pubkeys> \<amounts> \<refundRecipient> | Trigger validator withdrawal |
222
260
 
223
261
  ### Dashboard
262
+
224
263
  #### Command
225
264
 
226
265
  ```bash
@@ -235,43 +274,75 @@ lsv-cli dashboard -h
235
274
 
236
275
  #### API
237
276
 
238
- | Command | Description |
239
- |----------------------------------------------------|------------------------------------------------------------------------------|
240
- | info \<address> | Get dashboard base info |
241
- | committee \<address> | Voting committee info |
242
- | vault \<address> | Vault info |
243
- | s-limit \<address> | Shares limit |
244
- | s-minted \<address> | Shares minted |
245
- | reserve-ratio \<address> | Vault reserve ratio of the vault |
246
- | t-reserve-ratio \<address> | Threshold reserve ratio of the vault |
247
- | t-fee \<address> | Treasury fee basis points |
248
- | valuation \<address> | Valuation of the vault in ether |
249
- | t-shares \<address> | Total of shares that can be minted on the vault |
250
- | get-shares \<address> \<ether> | Maximum number of shares that can be minted with deposited ether |
251
- | withdrawable-eth \<address> | Amount of ether that can be withdrawn from the staking vault |
252
- | ownership \<address> \<newOwner> | Transfers ownership of the staking vault to a new owner |
253
- | disconnect \<address> | Disconnects the staking vault from the vault hub |
254
- | fund \<address> \<ether> | Funds the staking vault with ether |
255
- | fund-weth \<address> \<wethAmount> | Funds the staking vault with wrapped ether |
256
- | withdraw \<address> \<recipient> \<ether> | Withdraws ether from the staking vault to a recipient |
257
- | withdraw-weth \<address> \<recipient> \<ether> | Withdraws stETH tokens from the staking vault to wrapped ether |
258
- | exit \<address> \<validatorPubKey> | Requests the exit of a validator from the staking vault |
259
- | mint-shares \<address> \<recipient> \<amountOfShares> | Mints stETH tokens backed by the vault to a recipient |
260
- | mint-steth \<address> \<recipient> \<amountOfShares> | Mints stETH tokens backed by the vault to a recipient |
261
- | mint-wsteth \<address> \<recipient> \<tokens> | Mints wstETH tokens backed by the vault to a recipient |
262
- | burn-shares \<address> \<amountOfShares> | Burns stETH shares from sender (requires approved stETH) |
263
- | burn-steth \<address> \<amountOfShares> | Burns stETH shares from sender (requires approved stETH) |
264
- | burn-wsteth \<address> \<tokens> | Burn wstETH tokens from sender backed by vault |
265
- | burn-shares-permit \<address> \<tokens> \<permitJSON> | Burns stETH tokens using permit (value in stETH) |
266
- | burn-steth-permit \<address> \<tokens> \<permitJSON> | Burns stETH tokens using permit |
267
- | burn-wsteth-permit \<address> \<tokens> \<permitJSON> | Burn wstETH tokens using EIP-2612 Permit |
268
- | rebalance \<address> \<ether> | Rebalance the vault by transferring ether |
269
- | recover-erc20 \<address> \<token> \<recipient> \<amount> | Recovers ERC20 tokens or ether from dashboard contract |
270
- | recover-erc721 \<address> \<token> \<tokenId> \<recipient> | Transfers ERC721 NFT by token ID |
271
- | deposit-pause \<address> | Pauses beacon chain deposits on staking vault |
272
- | deposit-resume \<address> | Mass-grants multiple roles to multiple accounts |
273
- | role-grant \<address> \<roleAssignmentJSON> | Mass-revokes multiple roles from multiple accounts |
274
- | role-revoke \<address> \<roleAssignmentJSON> | Resumes beacon chain deposits on staking vault |
277
+ | Command | Description |
278
+ | -------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
279
+ | ASSET_RECOVERY_ROLE \<address> | Calls the read-only function "ASSET_RECOVERY_ROLE" on the contract. |
280
+ | BURN_ROLE \<address> | Calls the read-only function "BURN_ROLE" on the contract. |
281
+ | DEFAULT_ADMIN_ROLE \<address> | Calls the read-only function "DEFAULT_ADMIN_ROLE" on the contract. |
282
+ | ETH \<address> | Calls the read-only function "ETH" on the contract. |
283
+ | FUND_ROLE \<address> | Calls the read-only function "FUND_ROLE" on the contract. |
284
+ | MAX_CONFIRM_EXPIRY \<address> | Calls the read-only function "MAX_CONFIRM_EXPIRY" on the contract. |
285
+ | MINT_ROLE \<address> | Calls the read-only function "MINT_ROLE" on the contract. |
286
+ | MIN_CONFIRM_EXPIRY \<address> | Calls the read-only function "MIN_CONFIRM_EXPIRY" on the contract. |
287
+ | PAUSE_BEACON_CHAIN_DEPOSITS_ROLE \<address> | Calls the read-only function "PAUSE_BEACON_CHAIN_DEPOSITS_ROLE" on the contract. |
288
+ | PDG_WITHDRAWAL_ROLE \<address> | Calls the read-only function "PDG_WITHDRAWAL_ROLE" on the contract. |
289
+ | REBALANCE_ROLE \<address> | Calls the read-only function "REBALANCE_ROLE" on the contract. |
290
+ | REQUEST_VALIDATOR_EXIT_ROLE \<address> | Calls the read-only function "REQUEST_VALIDATOR_EXIT_ROLE" on the contract. |
291
+ | RESUME_BEACON_CHAIN_DEPOSITS_ROLE \<address> | Calls the read-only function "RESUME_BEACON_CHAIN_DEPOSITS_ROLE" on the contract. |
292
+ | STETH \<address> | Calls the read-only function "STETH" on the contract. |
293
+ | TRIGGER_VALIDATOR_WITHDRAWAL_ROLE \<address> | Calls the read-only function "TRIGGER_VALIDATOR_WITHDRAWAL_ROLE" on the contract. |
294
+ | VOLUNTARY_DISCONNECT_ROLE \<address> | Calls the read-only function "VOLUNTARY_DISCONNECT_ROLE" on the contract. |
295
+ | WETH \<address> | Calls the read-only function "WETH" on the contract. |
296
+ | WITHDRAW_ROLE \<address> | Calls the read-only function "WITHDRAW_ROLE" on the contract. |
297
+ | WSTETH \<address> | Calls the read-only function "WSTETH" on the contract. |
298
+ | confirmations \<address> \<callData> \<role> | Calls the read-only function "confirmations" on the contract. |
299
+ | confirmingRoles \<address> | Calls the read-only function "confirmingRoles" on the contract. |
300
+ | getConfirmExpiry \<address> | Calls the read-only function "getConfirmExpiry" on the contract. |
301
+ | getRoleAdmin \<address> \<role> | Calls the read-only function "getRoleAdmin" on the contract. |
302
+ | getRoleMember \<address> \<role> \<index> | Calls the read-only function "getRoleMember" on the contract. |
303
+ | getRoleMemberCount \<address> \<role> | Calls the read-only function "getRoleMemberCount" on the contract. |
304
+ | getRoleMembers \<address> \<role> | Calls the read-only function "getRoleMembers" on the contract. |
305
+ | has-role \<address> \<role> \<account> | get has role by role and account |
306
+ | initialized \<address> | Calls the read-only function "initialized" on the contract. |
307
+ | projected-new-mintable-shares \<address> \<etherToFund> | get projected new mintable shares |
308
+ | r-threshold \<address> | get rebalance threshold in basis points |
309
+ | reserve-ratio \<address> | get reserve ratio in basis points |
310
+ | s-limit \<address> | get share limit |
311
+ | s-minted \<address> | get shares minted |
312
+ | vault \<address> | get staking vault address |
313
+ | supports-interface \<address> \<interfaceId> | get supports interface by id |
314
+ | total-mintable-shares \<address> | get total of shares that can be minted on the vault |
315
+ | t-fee \<address> | get treasury fee in basis points |
316
+ | valuation \<address> | get vault valuation |
317
+ | hub \<address> | get vaultHub address |
318
+ | socket \<address> | get vault socket |
319
+ | w-ether \<address> | get amount of ether that can be withdrawn from the staking vault |
320
+ | info | get dashboard base info |
321
+ | ownership \<address> \<newOwner> | transfers ownership of the staking vault to a new owner |
322
+ | disconnect \<address> | disconnects the staking vault from the vault hub |
323
+ | fund | funds the staking vault with ether |
324
+ | fund-weth \<address> \<wethAmount> | funds the staking vault with wrapped ether |
325
+ | withdraw \<address> \<recipient> \<wei> | withdraws ether from the staking vault to a recipient |
326
+ | withdraw-weth \<address> \<recipient> \<ether> | withdraws stETH tokens from the staking vault to wrapped ether |
327
+ | exit \<address> \<validatorPubKey> | requests the exit of a validator from the staking vault |
328
+ | trigger-validator-withdrawal \<address> \<pubkeys> \<amounts> \<recipient> | triggers the withdrawal of a validator from the staking vault |
329
+ | mint-shares \<address> \<recipient> \<amountOfShares> | mints stETH tokens backed by the vault to a recipient |
330
+ | mint-steth \<address> \<recipient> \<amountOfShares> | mints stETH tokens backed by the vault to a recipient |
331
+ | mint-wsteth \<address> \<recipient> \<tokens> | mints wstETH tokens backed by the vault to a recipient |
332
+ | burn-shares \<address> \<amountOfShares> | Burns stETH shares from the sender backed by the vault. Expects corresponding amount of stETH approved to this contract |
333
+ | burn-steth \<address> \<amountOfShares> | Burns stETH shares from the sender backed by the vault. Expects stETH amount approved to this contract. |
334
+ | burn-wsteth \<address> \<tokens> | burn wstETH tokens from the sender backed by the vault |
335
+ | burn-shares-permit \<address> \<tokens> \<permitJSON> | Burns stETH tokens (in shares) backed by the vault from the sender using permit (with value in stETH). |
336
+ | burn-steth-permit \<address> \<tokens> \<permitJSON> | Burns stETH tokens backed by the vault from the sender using permit. |
337
+ | burn-wsteth-permit \<address> \<tokens> \<permitJSON> | burn wstETH tokens from the sender backed by the vault using EIP-2612 Permit |
338
+ | rebalance \<address> \<ether> | rebalance the vault by transferring ether |
339
+ | recover-erc20 \<address> \<token> \<recipient> \<amount> | recovers ERC20 tokens or ether from the dashboard contract to sender |
340
+ | recover-erc721 \<address> \<token> \<tokenId> \<recipient> | Transfers a given token_id of an ERC721-compatible NFT (defined by the token contract address) |
341
+ | deposit-pause \<address> | Pauses beacon chain deposits on the staking vault. |
342
+ | deposit-resume \<address> | Mass-grants multiple roles to multiple accounts. |
343
+ | role-grant \<address> \<roleAssignmentJSON> | Mass-revokes multiple roles from multiple accounts. |
344
+ | role-revoke \<address> \<roleAssignmentJSON> | Resumes beacon chain deposits on the staking vault. |
345
+ | compensate-disproven-predeposit \<address> \<pubkey> \<recipient> | Compensates a disproven predeposit from the Predeposit Guarantee contract. |
275
346
 
276
347
  **\<permitJSON>**
277
348
 
@@ -310,62 +381,143 @@ lsv-cli delegation -h
310
381
 
311
382
  #### API
312
383
 
313
- | Command | Description |
314
- |------------------------------------------------------------|-----------------------------------------------------------------------------|
315
- | roles \<address> | Get delegation contract roles info |
316
- | base-info \<address> | Get delegation base info |
317
- | voting-lifetime \<address> | Get committee's voting lifetime period |
318
- | is-healthy \<address> | Get vault healthy info |
319
- | voting-info \<address> \<callId> \<role> | Get committee votes |
320
- | cf \<address> | Curator fee in basis points |
321
- | cf-report \<address> | The last report for which curator fee was claimed. Updated on each claim |
322
- | cf-unclaimed \<address> | Returns accumulated unclaimed curator fee in ether (U = (R * F) / T) |
323
- | cf-set \<address> \<newCuratorFee> | Sets the curator fee |
324
- | cf-claim \<address> \<recipient> | Claims the curator fee |
325
- | nof \<address> | Node operator fee in basis points |
326
- | nof-report \<address> | The last report for which node operator fee was claimed. Updated on claim |
327
- | nof-unclaimed \<address> | Returns accumulated unclaimed node operator fee in ether (U = (R * F) / T) |
328
- | nof-set \<address> \<newNodeOperatorFeeBP> | Sets the node operator fee |
329
- | nof-claim \<address> \<recipient> | Claims the node operator fee |
330
- | unreserved \<address> | Returns the unreserved amount of ether |
331
- | vc \<address> | Returns the voting committee |
332
- | fund \<address> \<ether> | Funds the StakingVault with ether |
333
- | withdraw \<address> \<recipient> \<ether> | Withdraws ether from the StakingVault |
334
- | mint \<address> \<recipient> \<amountOfShares> | Mints shares for a given recipient |
335
- | burn \<address> \<amountOfShares> | Burns shares for a given recipient |
336
- | rebalance \<address> \<ether> | Rebalances the StakingVault with a given amount of ether |
337
- | set-vote-lt \<address> \<newVoteLifetime> | Sets the vote lifetime |
338
- | t-ownership \<address> \<newOwner> | Transfers the ownership of the StakingVault |
339
- | disconnect \<address> | Voluntarily disconnects a StakingVault from VaultHub |
340
- | deposit-pause \<address> | Pauses deposits to beacon chain from the StakingVault |
341
- | deposit-resume \<address> | Resumes deposits to beacon chain from the StakingVault |
342
- | vault \<address> | Vault info |
343
- | s-limit \<address> | Shares limit |
344
- | s-minted \<address> | Shares minted |
345
- | reserve-ratio \<address> | Vault reserve ratio of the vault |
346
- | t-reserve-ratio \<address> | Threshold reserve ratio of the vault |
347
- | t-fee \<address> | Treasury fee basis points |
348
- | valuation \<address> | Valuation of the vault in ether |
349
- | t-shares \<address> | Total of shares that can be minted on the vault |
350
- | get-shares \<address> \<ether> | Maximum number of shares that can be minted with deposited ether |
351
- | withdrawable-eth \<address> | Amount of ether that can be withdrawn from the staking vault |
352
- | ownership \<address> \<newOwner> | Transfers ownership of the staking vault to a new owner |
353
- | fund-weth \<address> \<wethAmount> | Funds the staking vault with wrapped ether |
354
- | withdraw-weth \<address> \<recipient> \<ether> | Withdraws stETH tokens from the staking vault to wrapped ether |
355
- | exit \<address> \<validatorPubKey> | Requests the exit of a validator from the staking vault |
356
- | mint-shares \<address> \<recipient> \<amountOfShares> | Mints stETH tokens backed by the vault to a recipient |
357
- | mint-steth \<address> \<recipient> \<amountOfShares> | Mints stETH tokens backed by the vault to a recipient |
358
- | mint-wsteth \<address> \<recipient> \<tokens> | Mints wstETH tokens backed by the vault to a recipient |
359
- | burn-shares \<address> \<amountOfShares> | Burns stETH shares (requires approved stETH amount) |
360
- | burn-steth \<address> \<amountOfShares> | Burns stETH shares (requires approved stETH amount) |
361
- | burn-wsteth \<address> \<tokens> | Burn wstETH tokens backed by the vault |
362
- | burn-shares-permit \<address> \<tokens> \<permitJSON> | Burns stETH tokens using permit (value in stETH) |
363
- | burn-steth-permit \<address> \<tokens> \<permitJSON> | Burns stETH tokens using permit |
364
- | burn-wsteth-permit \<address> \<tokens> \<permitJSON> | Burn wstETH tokens using EIP-2612 Permit |
365
- | recover-erc20 \<address> \<token> \<recipient> \<amount> | Recovers ERC20 tokens or ether from the delegation contract |
366
- | recover-erc721 \<address> \<token> \<tokenId> \<recipient> | Transfers ERC721 NFT by token ID |
367
- | role-grant \<address> \<roleAssignmentJSON> | Mass-revokes multiple roles from multiple accounts |
368
- | role-revoke \<address> \<roleAssignmentJSON> | Resumes beacon chain deposits on the staking vault |
384
+ | Command | Description |
385
+ | ---------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
386
+ | ASSET_RECOVERY_ROLE \<address> | Calls the read-only function "ASSET_RECOVERY_ROLE" on the contract. |
387
+ | BURN_ROLE \<address> | Calls the read-only function "BURN_ROLE" on the contract. |
388
+ | CURATOR_FEE_CLAIM_ROLE \<address> | Calls the read-only function "CURATOR_FEE_CLAIM_ROLE" on the contract. |
389
+ | CURATOR_FEE_SET_ROLE \<address> | Calls the read-only function "CURATOR_FEE_SET_ROLE" on the contract. |
390
+ | DEFAULT_ADMIN_ROLE \<address> | Calls the read-only function "DEFAULT_ADMIN_ROLE" on the contract. |
391
+ | ETH \<address> | Calls the read-only function "ETH" on the contract. |
392
+ | FUND_ROLE \<address> | Calls the read-only function "FUND_ROLE" on the contract. |
393
+ | MAX_CONFIRM_EXPIRY \<address> | Calls the read-only function "MAX_CONFIRM_EXPIRY" on the contract. |
394
+ | MINT_ROLE \<address> | Calls the read-only function "MINT_ROLE" on the contract. |
395
+ | MIN_CONFIRM_EXPIRY \<address> | Calls the read-only function "MIN_CONFIRM_EXPIRY" on the contract. |
396
+ | NODE_OPERATOR_FEE_CLAIM_ROLE \<address> | Calls the read-only function "NODE_OPERATOR_FEE_CLAIM_ROLE" on the contract. |
397
+ | NODE_OPERATOR_MANAGER_ROLE \<address> | Calls the read-only function "NODE_OPERATOR_MANAGER_ROLE" on the contract. |
398
+ | PAUSE_BEACON_CHAIN_DEPOSITS_ROLE \<address> | Calls the read-only function "PAUSE_BEACON_CHAIN_DEPOSITS_ROLE" on the contract. |
399
+ | PDG_WITHDRAWAL_ROLE \<address> | Calls the read-only function "PDG_WITHDRAWAL_ROLE" on the contract. |
400
+ | REBALANCE_ROLE \<address> | Calls the read-only function "REBALANCE_ROLE" on the contract. |
401
+ | REQUEST_VALIDATOR_EXIT_ROLE \<address> | Calls the read-only function "REQUEST_VALIDATOR_EXIT_ROLE" on the contract. |
402
+ | RESUME_BEACON_CHAIN_DEPOSITS_ROLE \<address> | Calls the read-only function "RESUME_BEACON_CHAIN_DEPOSITS_ROLE" on the contract. |
403
+ | STETH \<address> | Calls the read-only function "STETH" on the contract. |
404
+ | TRIGGER_VALIDATOR_WITHDRAWAL_ROLE \<address> | Calls the read-only function "TRIGGER_VALIDATOR_WITHDRAWAL_ROLE" on the contract. |
405
+ | VOLUNTARY_DISCONNECT_ROLE \<address> | Calls the read-only function "VOLUNTARY_DISCONNECT_ROLE" on the contract. |
406
+ | WETH \<address> | Calls the read-only function "WETH" on the contract. |
407
+ | WITHDRAW_ROLE \<address> | Calls the read-only function "WITHDRAW_ROLE" on the contract. |
408
+ | WSTETH \<address> | Calls the read-only function "WSTETH" on the contract. |
409
+ | confirmations \<address> \<callData> \<role> | Calls the read-only function "confirmations" on the contract. |
410
+ | confirmingRoles \<address> | Calls the read-only function "confirmingRoles" on the contract. |
411
+ | curatorFeeBP \<address> | Calls the read-only function "curatorFeeBP" on the contract. |
412
+ | curatorFeeClaimedReport \<address> | Calls the read-only function "curatorFeeClaimedReport" on the contract. |
413
+ | cf-unclaimed \<address> | Returns the accumulated unclaimed curator fee in ether |
414
+ | getConfirmExpiry \<address> | Calls the read-only function "getConfirmExpiry" on the contract. |
415
+ | getRoleAdmin \<address> \<role> | Calls the read-only function "getRoleAdmin" on the contract. |
416
+ | getRoleMember \<address> \<role> \<index> | Calls the read-only function "getRoleMember" on the contract. |
417
+ | getRoleMemberCount \<address> \<role> | Calls the read-only function "getRoleMemberCount" on the contract. |
418
+ | getRoleMembers \<address> \<role> | Calls the read-only function "getRoleMembers" on the contract. |
419
+ | has-role \<address> \<role> \<account> | get has role by role and account |
420
+ | initialized \<address> | Calls the read-only function "initialized" on the contract. |
421
+ | no-fee \<address> | get node operator fee in basis points |
422
+ | no-fee-report \<address> | get node operator fee claimed report |
423
+ | no-unclaimed-fee \<address> | Returns the accumulated unclaimed node operator fee in ether |
424
+ | projected-new-mintable-shares \<address> \<etherToFund> | get projected new mintable shares |
425
+ | r-threshold \<address> | get rebalance threshold in basis points |
426
+ | reserve-ratio \<address> | get reserve ratio in basis points |
427
+ | s-limit \<address> | get share limit |
428
+ | s-minted \<address> | get shares minted |
429
+ | vault \<address> | get staking vault address |
430
+ | supports-interface \<address> \<interfaceId> | get supports interface by id |
431
+ | total-mintable-shares \<address> | get total of shares that can be minted on the vault |
432
+ | t-fee \<address> | get treasury fee in basis points |
433
+ | unreserved \<address> | Calls the read-only function "unreserved" on the contract. |
434
+ | valuation \<address> | get vault valuation |
435
+ | hub \<address> | get vaultHub address |
436
+ | socket \<address> | get vault socket |
437
+ | w-ether \<address> | get amount of ether that can be withdrawn from the staking vault |
438
+ | roles \<address> | get delegation contract roles info |
439
+ | base-info \<address> | get delegation base info |
440
+ | is-healthy \<address> | get vault healthy info |
441
+ | cf-set \<address> \<newCuratorFee> | sets the curator fee |
442
+ | cf-claim \<address> \<recipient> | claims the curator fee |
443
+ | nof-set \<address> \<newNodeOperatorFeeBP> | sets the node operator fee |
444
+ | nof-claim \<address> \<recipient> | claims the node operator fee |
445
+ | fund \<address> \<wei> | funds the StakingVault with ether |
446
+ | withdraw \<address> \<recipient> \<wei> | withdraws ether from the StakingVault |
447
+ | rebalance \<address> \<ether> | rebalances the StakingVault with a given amount of ether |
448
+ | t-ownership \<address> \<newOwner> | transfers the ownership of the StakingVault |
449
+ | disconnect \<address> | voluntarily disconnects a StakingVault from VaultHub |
450
+ | deposit-pause \<address> | Pauses deposits to beacon chain from the StakingVault. |
451
+ | deposit-resume \<address> | Resumes deposits to beacon chain from the StakingVault. |
452
+ | fund-weth \<address> \<wethAmount> | funds the staking vault with wrapped ether |
453
+ | withdraw-weth \<address> \<recipient> \<ether> | withdraws stETH tokens from the staking vault to wrapped ether |
454
+ | exit \<address> \<validatorPubKey> | requests the exit of a validator from the staking vault |
455
+ | mint-shares \<address> \<recipient> \<amountOfShares> | mints stETH tokens backed by the vault to a recipient |
456
+ | mint-steth \<address> \<recipient> \<amountOfShares> | mints stETH tokens backed by the vault to a recipient |
457
+ | mint-wsteth \<address> \<recipient> \<tokens> | mints wstETH tokens backed by the vault to a recipient |
458
+ | burn-shares \<address> \<amountOfShares> | Burns stETH shares from the sender backed by the vault. Expects corresponding amount of stETH approved to this contract |
459
+ | burn-steth \<address> \<amountOfShares> | Burns stETH shares from the sender backed by the vault. Expects stETH amount approved to this contract. |
460
+ | burn-wsteth \<address> \<tokens> | burn wstETH tokens from the sender backed by the vault |
461
+ | burn-shares-permit \<address> \<tokens> \<permitJSON> | Burns stETH tokens (in shares) backed by the vault from the sender using permit (with value in stETH). |
462
+ | burn-steth-permit \<address> \<tokens> \<permitJSON> | Burns stETH tokens backed by the vault from the sender using permit. |
463
+ | burn-wsteth-permit \<address> \<tokens> \<permitJSON> | burn wstETH tokens from the sender backed by the vault using EIP-2612 Permit |
464
+ | recover-erc20 \<address> \<token> \<recipient> \<amount> | recovers ERC20 tokens or ether from the delegation contract to sender |
465
+ | recover-erc721 \<address> \<token> \<tokenId> \<recipient> | Transfers a given token_id of an ERC721-compatible NFT (defined by the token contract address) |
466
+ | role-grant \<address> \<roleAssignmentJSON> | Mass-revokes multiple roles from multiple accounts. |
467
+ | role-revoke \<address> \<roleAssignmentJSON> | Resumes beacon chain deposits on the staking vault. |
468
+ | set-confirm-expiry \<address> \<newConfirmExpiry> | set the confirmation expiry |
469
+
470
+ ### PredepositGuarantee
471
+
472
+ #### Command
473
+
474
+ ```bash
475
+ lsv-cli pdg [arguments] [-options]
476
+ ```
477
+
478
+ #### Delegation commands list
479
+
480
+ ```bash
481
+ lsv-cli pdg -h
482
+ ```
483
+
484
+ #### API
485
+
486
+ | Command | Description |
487
+ | -------------------------------------------- | ------------------------------------------------------------------------------- |
488
+ | BEACON_ROOTS | Calls the read-only function "BEACON_ROOTS" on the contract. |
489
+ | DEFAULT_ADMIN_ROLE | Calls the read-only function "DEFAULT_ADMIN_ROLE" on the contract. |
490
+ | GI_FIRST_VALIDATOR | Calls the read-only function "GI_FIRST_VALIDATOR" on the contract. |
491
+ | GI_FIRST_VALIDATOR_AFTER_CHANGE | Calls the read-only function "GI_FIRST_VALIDATOR_AFTER_CHANGE" on the contract. |
492
+ | GI_PUBKEY_WC_PARENT | Calls the read-only function "GI_PUBKEY_WC_PARENT" on the contract. |
493
+ | GI_STATE_ROOT | Calls the read-only function "GI_STATE_ROOT" on the contract. |
494
+ | MAX_SUPPORTED_WC_VERSION | Calls the read-only function "MAX_SUPPORTED_WC_VERSION" on the contract. |
495
+ | MIN_SUPPORTED_WC_VERSION | Calls the read-only function "MIN_SUPPORTED_WC_VERSION" on the contract. |
496
+ | PAUSE_INFINITELY | Calls the read-only function "PAUSE_INFINITELY" on the contract. |
497
+ | PAUSE_ROLE | Calls the read-only function "PAUSE_ROLE" on the contract. |
498
+ | PREDEPOSIT_AMOUNT | Calls the read-only function "PREDEPOSIT_AMOUNT" on the contract. |
499
+ | RESUME_ROLE | Calls the read-only function "RESUME_ROLE" on the contract. |
500
+ | SLOT_CHANGE_GI_FIRST_VALIDATOR | Calls the read-only function "SLOT_CHANGE_GI_FIRST_VALIDATOR" on the contract. |
501
+ | STATE_ROOT_DEPTH | Calls the read-only function "STATE_ROOT_DEPTH" on the contract. |
502
+ | STATE_ROOT_POSITION | Calls the read-only function "STATE_ROOT_POSITION" on the contract. |
503
+ | WC_PUBKEY_PARENT_DEPTH | Calls the read-only function "WC_PUBKEY_PARENT_DEPTH" on the contract. |
504
+ | WC_PUBKEY_PARENT_POSITION | Calls the read-only function "WC_PUBKEY_PARENT_POSITION" on the contract. |
505
+ | claimableRefund \<\_guarantor> | Calls the read-only function "claimableRefund" on the contract. |
506
+ | getResumeSinceTimestamp | Calls the read-only function "getResumeSinceTimestamp" on the contract. |
507
+ | getRoleAdmin \<role> | Calls the read-only function "getRoleAdmin" on the contract. |
508
+ | getRoleMember \<role> \<index> | Calls the read-only function "getRoleMember" on the contract. |
509
+ | getRoleMemberCount \<role> | Calls the read-only function "getRoleMemberCount" on the contract. |
510
+ | getRoleMembers \<role> | Calls the read-only function "getRoleMembers" on the contract. |
511
+ | hasRole \<role> \<account> | Calls the read-only function "hasRole" on the contract. |
512
+ | isPaused | Calls the read-only function "isPaused" on the contract. |
513
+ | nodeOperatorBalance \<\_nodeOperator> | Calls the read-only function "nodeOperatorBalance" on the contract. |
514
+ | nodeOperatorGuarantor \<\_nodeOperator> | Calls the read-only function "nodeOperatorGuarantor" on the contract. |
515
+ | supportsInterface \<interfaceId> | Calls the read-only function "supportsInterface" on the contract. |
516
+ | unlockedBalance \<\_nodeOperator> | Calls the read-only function "unlockedBalance" on the contract. |
517
+ | validatorStatus \<\_validatorPubkey> | Calls the read-only function "validatorStatus" on the contract. |
518
+ | predeposit \<vault> \<deposits> | predeposit |
519
+ | create-proof-and-prove \<index> | create proof and prove |
520
+ | deposit-to-beacon-chain \<vault> \<deposits> | deposit to beacon chain |
369
521
 
370
522
  ## License
371
523