@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.
- package/README.md +327 -175
- package/dist/abi/CLProofVerifier.js +279 -0
- package/dist/abi/CLProofVerifier.js.map +1 -0
- package/dist/abi/Dashboard.js +1060 -942
- package/dist/abi/Dashboard.js.map +1 -1
- package/dist/abi/Delegation.js +1260 -1129
- package/dist/abi/Delegation.js.map +1 -1
- package/dist/abi/LidoLocator.js +311 -270
- package/dist/abi/LidoLocator.js.map +1 -1
- package/dist/abi/PredepositGuarantee.js +1733 -0
- package/dist/abi/PredepositGuarantee.js.map +1 -0
- package/dist/abi/StakingVault.js +723 -528
- package/dist/abi/StakingVault.js.map +1 -1
- package/dist/abi/VaultFactory.js +164 -144
- package/dist/abi/VaultFactory.js.map +1 -1
- package/dist/abi/VaultHubViewer.js +297 -0
- package/dist/abi/VaultHubViewer.js.map +1 -0
- package/dist/abi/index.js +12 -9
- package/dist/abi/index.js.map +1 -1
- package/dist/command/index.js +3 -17
- package/dist/command/index.js.map +1 -1
- package/dist/contracts/clProofVerifier.js +29 -0
- package/dist/contracts/clProofVerifier.js.map +1 -0
- package/dist/contracts/dashboard.js.map +1 -1
- package/dist/contracts/index.js +12 -9
- package/dist/contracts/index.js.map +1 -1
- package/dist/contracts/locator.js +2 -2
- package/dist/contracts/locator.js.map +1 -1
- package/dist/contracts/pdg.js +17 -0
- package/dist/contracts/pdg.js.map +1 -0
- package/dist/contracts/vault-factory.js +5 -9
- package/dist/contracts/vault-factory.js.map +1 -1
- package/dist/contracts/vault-hub-viewer.js +14 -0
- package/dist/contracts/vault-hub-viewer.js.map +1 -0
- package/dist/features/dashboard-delegation.js +4 -1
- package/dist/features/dashboard-delegation.js.map +1 -1
- package/dist/features/vault-factory.js +6 -10
- package/dist/features/vault-factory.js.map +1 -1
- package/dist/features/voting.js +6 -14
- package/dist/features/voting.js.map +1 -1
- package/dist/index.js +6 -3
- package/dist/index.js.map +1 -1
- package/dist/programs/account.js +29 -0
- package/dist/programs/account.js.map +1 -0
- package/dist/programs/dashboard/config.js +65 -0
- package/dist/programs/dashboard/config.js.map +1 -0
- package/dist/programs/dashboard/index.js +4 -0
- package/dist/programs/dashboard/index.js.map +1 -0
- package/dist/programs/dashboard/main.js +12 -0
- package/dist/programs/dashboard/main.js.map +1 -0
- package/dist/programs/dashboard/read.js +25 -0
- package/dist/programs/dashboard/read.js.map +1 -0
- package/dist/programs/{dashboard.js → dashboard/write.js} +79 -137
- package/dist/programs/dashboard/write.js.map +1 -0
- package/dist/programs/delegation/config.js +33 -0
- package/dist/programs/delegation/config.js.map +1 -0
- package/dist/programs/delegation/index.js +4 -0
- package/dist/programs/delegation/index.js.map +1 -0
- package/dist/programs/delegation/main.js +12 -0
- package/dist/programs/delegation/main.js.map +1 -0
- package/dist/programs/delegation/read.js +98 -0
- package/dist/programs/delegation/read.js.map +1 -0
- package/dist/programs/delegation/write.js +327 -0
- package/dist/programs/delegation/write.js.map +1 -0
- package/dist/programs/index.js +8 -4
- package/dist/programs/index.js.map +1 -1
- package/dist/programs/pdg/config.js +2 -0
- package/dist/programs/pdg/config.js.map +1 -0
- package/dist/programs/pdg/index.js +4 -0
- package/dist/programs/pdg/index.js.map +1 -0
- package/dist/programs/pdg/main.js +12 -0
- package/dist/programs/pdg/main.js.map +1 -0
- package/dist/programs/pdg/read.js +7 -0
- package/dist/programs/pdg/read.js.map +1 -0
- package/dist/programs/pdg/write.js +64 -0
- package/dist/programs/pdg/write.js.map +1 -0
- package/dist/programs/predeposit-guarantee.js +73 -0
- package/dist/programs/predeposit-guarantee.js.map +1 -0
- package/dist/programs/vault/config.js +66 -0
- package/dist/programs/vault/config.js.map +1 -0
- package/dist/programs/vault/index.js +4 -0
- package/dist/programs/vault/index.js.map +1 -0
- package/dist/programs/vault/main.js +10 -0
- package/dist/programs/vault/main.js.map +1 -0
- package/dist/programs/vault/read.js +53 -0
- package/dist/programs/vault/read.js.map +1 -0
- package/dist/programs/vault/write.js +123 -0
- package/dist/programs/vault/write.js.map +1 -0
- package/dist/programs/vault-factory/config.js +2 -0
- package/dist/programs/vault-factory/config.js.map +1 -0
- package/dist/programs/vault-factory/index.js +4 -0
- package/dist/programs/vault-factory/index.js.map +1 -0
- package/dist/programs/vault-factory/main.js +12 -0
- package/dist/programs/vault-factory/main.js.map +1 -0
- package/dist/programs/vault-factory/read.js +26 -0
- package/dist/programs/vault-factory/read.js.map +1 -0
- package/dist/programs/{vault-factory.js → vault-factory/write.js} +22 -37
- package/dist/programs/vault-factory/write.js.map +1 -0
- package/dist/programs/vault-hub-viewer.js +52 -0
- package/dist/programs/vault-hub-viewer.js.map +1 -0
- package/dist/programs/vault-hub.js +20 -52
- package/dist/programs/vault-hub.js.map +1 -1
- package/dist/programs/voting.js +11 -33
- package/dist/programs/voting.js.map +1 -1
- package/dist/providers/wallet.js +1 -3
- package/dist/providers/wallet.js.map +1 -1
- package/dist/utils/contract.js +98 -0
- package/dist/utils/contract.js.map +1 -0
- package/dist/utils/get-commands.js +11 -0
- package/dist/utils/get-commands.js.map +1 -0
- package/dist/utils/index.js +11 -6
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/prompts/default.js +17 -0
- package/dist/utils/prompts/default.js.map +1 -0
- package/dist/utils/prompts/delegation-dashboard.js +29 -0
- package/dist/utils/prompts/delegation-dashboard.js.map +1 -0
- package/dist/utils/prompts/index.js +4 -0
- package/dist/utils/prompts/index.js.map +1 -0
- package/dist/utils/prompts/predeposit-guarantee.js +25 -0
- package/dist/utils/prompts/predeposit-guarantee.js.map +1 -0
- package/dist/utils/proof/create-proof.js +62 -0
- package/dist/utils/proof/create-proof.js.map +1 -0
- package/dist/utils/proof/first-validator-gindex.js +26 -0
- package/dist/utils/proof/first-validator-gindex.js.map +1 -0
- package/dist/utils/proof/index.js +4 -0
- package/dist/utils/proof/index.js.map +1 -0
- package/dist/utils/proof/merkle-utils.js +131 -0
- package/dist/utils/proof/merkle-utils.js.map +1 -0
- package/dist/utils/proof/proofs.js +52 -0
- package/dist/utils/proof/proofs.js.map +1 -0
- package/dist/utils/read-programs-by-abi.js +83 -0
- package/dist/utils/read-programs-by-abi.js.map +1 -0
- package/dist/utils/spinner/index.js +2 -0
- package/dist/utils/spinner/index.js.map +1 -0
- package/dist/utils/spinner/spinners.js +16 -0
- package/dist/utils/spinner/spinners.js.map +1 -0
- package/dist/utils/spinner/spinners.json +119 -0
- package/dist/version/index.js +1 -0
- package/dist/version/index.js.map +1 -0
- package/package.json +14 -8
- package/dist/programs/dashboard.js.map +0 -1
- package/dist/programs/delegation.js +0 -581
- package/dist/programs/delegation.js.map +0 -1
- package/dist/programs/vault-factory.js.map +0 -1
- package/dist/programs/vault.js +0 -383
- package/dist/programs/vault.js.map +0 -1
- package/dist/utils/call-contract.js +0 -30
- package/dist/utils/call-contract.js.map +0 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Lido Staking Vault CLI
|
|
2
2
|
|
|
3
|
-
A command-line interface (CLI) tool for managing
|
|
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
|
-
- [
|
|
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
|
|
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
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
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
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
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
|
|
100
|
+
lsv-cli hub constants
|
|
100
101
|
```
|
|
101
102
|
|
|
102
103
|
**Count of all vaults**
|
|
103
104
|
|
|
104
105
|
```bash
|
|
105
|
-
lsv-cli
|
|
106
|
+
lsv-cli hub v-count
|
|
106
107
|
```
|
|
107
108
|
|
|
108
|
-
##
|
|
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
|
-
|
|
130
|
-
|
|
131
|
-
|
|
|
132
|
-
|
|
|
133
|
-
|
|
|
134
|
-
|
|
|
135
|
-
|
|
|
136
|
-
|
|
|
137
|
-
| v-
|
|
138
|
-
| v-
|
|
139
|
-
| v-role-
|
|
140
|
-
| v-role-member
|
|
141
|
-
| v-role-
|
|
142
|
-
| v-
|
|
143
|
-
| v-
|
|
144
|
-
| v-
|
|
145
|
-
| v-
|
|
146
|
-
| v-bbv-
|
|
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
|
|
166
|
-
|
|
167
|
-
|
|
|
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
|
-
|
|
202
|
-
|
|
203
|
-
|
|
|
204
|
-
|
|
|
205
|
-
|
|
|
206
|
-
|
|
|
207
|
-
|
|
|
208
|
-
|
|
|
209
|
-
|
|
|
210
|
-
|
|
|
211
|
-
|
|
|
212
|
-
|
|
|
213
|
-
|
|
|
214
|
-
|
|
|
215
|
-
|
|
|
216
|
-
|
|
|
217
|
-
|
|
|
218
|
-
|
|
|
219
|
-
|
|
|
220
|
-
|
|
|
221
|
-
|
|
|
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
|
|
239
|
-
|
|
240
|
-
|
|
|
241
|
-
|
|
|
242
|
-
|
|
|
243
|
-
|
|
|
244
|
-
|
|
|
245
|
-
|
|
|
246
|
-
|
|
|
247
|
-
|
|
|
248
|
-
|
|
|
249
|
-
|
|
|
250
|
-
|
|
|
251
|
-
|
|
|
252
|
-
|
|
|
253
|
-
|
|
|
254
|
-
|
|
|
255
|
-
|
|
|
256
|
-
|
|
|
257
|
-
|
|
|
258
|
-
|
|
|
259
|
-
|
|
|
260
|
-
|
|
|
261
|
-
|
|
|
262
|
-
|
|
|
263
|
-
|
|
|
264
|
-
|
|
|
265
|
-
|
|
|
266
|
-
|
|
|
267
|
-
|
|
|
268
|
-
|
|
|
269
|
-
|
|
|
270
|
-
|
|
|
271
|
-
|
|
|
272
|
-
|
|
|
273
|
-
|
|
|
274
|
-
|
|
|
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
|
-
|
|
|
316
|
-
|
|
|
317
|
-
|
|
|
318
|
-
|
|
|
319
|
-
|
|
|
320
|
-
|
|
|
321
|
-
|
|
|
322
|
-
|
|
|
323
|
-
|
|
|
324
|
-
|
|
|
325
|
-
|
|
|
326
|
-
|
|
|
327
|
-
|
|
|
328
|
-
|
|
|
329
|
-
|
|
|
330
|
-
|
|
|
331
|
-
|
|
|
332
|
-
|
|
|
333
|
-
|
|
|
334
|
-
|
|
|
335
|
-
|
|
|
336
|
-
|
|
|
337
|
-
|
|
|
338
|
-
|
|
|
339
|
-
|
|
|
340
|
-
|
|
|
341
|
-
|
|
|
342
|
-
|
|
|
343
|
-
|
|
|
344
|
-
|
|
|
345
|
-
|
|
|
346
|
-
|
|
|
347
|
-
|
|
|
348
|
-
|
|
|
349
|
-
|
|
|
350
|
-
|
|
|
351
|
-
|
|
|
352
|
-
|
|
|
353
|
-
|
|
|
354
|
-
|
|
|
355
|
-
|
|
|
356
|
-
|
|
|
357
|
-
|
|
|
358
|
-
|
|
|
359
|
-
|
|
|
360
|
-
|
|
|
361
|
-
|
|
|
362
|
-
|
|
|
363
|
-
|
|
|
364
|
-
|
|
|
365
|
-
|
|
|
366
|
-
|
|
|
367
|
-
|
|
|
368
|
-
|
|
|
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
|
|