You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: run-on-lido/stvaults/building-guides/basic-stvault.md
+19-18Lines changed: 19 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,6 @@
2
2
sidebar_position: 1
3
3
---
4
4
5
-
import Tabs from '@theme/Tabs';
6
-
import TabItem from '@theme/TabItem';
7
-
8
5
# Basic stVault with optional liquidity
9
6
10
7
## Intro
@@ -49,7 +46,7 @@ Creating an stVault is permissionless. There are two main ways to do it:
49
46
1.**Node Operator address** — a unique, immutable identifier of the Node Operator within stVaults, used in protocol logic such as calculating per-operator stETH minting terms and limits. It designates the Node Operator that provides validation services for the stVault and also manages ETH deposits from the stVault balance to validators, as well as handling validator exits when required.
50
47
2.**Node Operator Manager address**. One of the two administrative roles in an stVault. From the Node Operator perspective, this role manages permissions and can update key vault parameters. Multiple addresses are supported.
51
48
3.**Vault Owner address**. One of the two administrative roles in an stVault. From the Vault Owner (Staker) perspective, this role manages permissions and can update key vault parameters. Multiple addresses are supported.
52
-
4.**Node Operator Fee**. The share of gross staking rewards that the Node Operator charges for providing validation services. Expressed in basis points [0 (0%) .. 10'000 (100%)].
49
+
4.**Node Operator Fee**. The share of gross staking rewards that the Node Operator charges for providing validation services. Expressed in basis points [0 (0%) .. 10,000 (100%)].
53
50
5.**Confirmation Lifetime**. The key parameter of the multi-role confirmation mechanism. It defines the maximum time interval between proposal and confirmation. This mechanism is used to update certain stVault parameters by requiring consensus between the two stVault representatives: the Vault Owner and the Node Operator Manager. Measured in seconds [86,400 sec (24 hours) .. 25,920,000 sec (30 days)]. For security reasons, it is strongly recommended to keep it as short as possible, ideally the minimum 86,400 sec.
54
51
55
52
#### 1. Two-step process (recommended)
@@ -121,7 +118,7 @@ This is a permissioned operation. By default, this permission belongs to the Vau
121
118
-`TierID`: the ID of the tier to which the stVault will be connected.
122
119
-`RequestedShareLimit`: the requested absolute stETH minting limit for the stVault, expressed in shares. This value cannot exceed the tier’s stETH limit.
123
120
-`payableAmount`: the amount of ETH to supply in the same transaction; minimum is **1 ETH**.
124
-
-`currentSettledGrowth` the amount of unaccounted growth accrued on the vault while it was disconnected. 0 for newly created vaults via create withoutconnecting method. Settled growth is the part of the total growth that has already been charged by the node operator or is not subject to fee (exempted), such as unguaranteed or side deposits, and consolidations accrued while the vault was disconnected.
121
+
-`currentSettledGrowth`: the amount of unaccounted growth accrued on the vault while it was disconnected; 0 for newly created vaults via the create-without-connecting method. Settled growth is the part of the total growth that has already been charged by the node operator or is not subject to fee (exempted), such as unguaranteed or side deposits, and consolidations accrued while the vault was disconnected.
125
122
126
123
127
124
<details>
@@ -130,8 +127,8 @@ This is a permissioned operation. By default, this permission belongs to the Vau
130
127
131
128
2. Connect wallet on the "My Vaults" page.
132
129
133
-
3. Open an stVault overview page by the URL ```https://<domain>/vaults/<StakingVault_address>```
134
-
130
+
3. Open an stVault overview page at `https://<domain>/vaults/<StakingVaultAddress>`
131
+
135
132

136
133
137
134
4. Review parameters and click "Approve and supply 1 ETH".
@@ -156,8 +153,8 @@ This is a permissioned operation. By default, this permission belongs to the Vau
156
153
3. Open the **Contract** tab → **Write as Proxy**.
157
154
4. Click **Connect to Web3** and connect your wallet in the dialog window.
158
155
5. Find the `connectAndAcceptTier` method in the list, fill out the fields, and click **Write**.
159
-
- fill out the `payableAmount` field with '1' to supply `1 ETH` in the same transaction.
160
-
- set the `_currentSettledGrowth` field to '0' for newly created vault like in this scenario (if the stVault is newly created but had side deposits before connecting, settled growth must be set accordingly before the connection).
156
+
- fill out the `payableAmount` field with '1' to supply `1 ETH` in the same transaction.
157
+
- set the `_currentSettledGrowth` field to '0' for a newly created vault like in this scenario (if the stVault is newly created but had side deposits before connecting, settled growth must be set accordingly before the connection).
161
158
6. Sign the transaction in your wallet.
162
159
7. Click **View your transaction** and wait for it to be executed.
yarn start vo w change-tier -v <vaultAddress> -r <requestedShareLimit> <tierId>
255
252
```
256
253
257
-
On behalf of the Node Operator ([details and examples](https://lidofinance.github.io/lido-staking-vault-cli/commands/vault-operations/#change-tier-by-no-ct-no))::
254
+
On behalf of the Node Operator ([details and examples](https://lidofinance.github.io/lido-staking-vault-cli/commands/vault-operations/#change-tier-by-no-ct-no)):
258
255
259
256
```bash
260
257
yarn start vo w change-tier-by-no -v <vaultAddress> -r <requestedShareLimit> <tierId>
@@ -337,8 +334,8 @@ yarn start vo w withdraw <amount>
337
334
3. Open the **Contract** tab → **Write as Proxy**.
338
335
4. Click **Connect to Web3** and connect your wallet in the dialog window.
339
336
5. Find the required method in the list, fill out the fields, and click **Write**:
340
-
- `fund` to supply (fund) ETH into the stVault;
341
-
- `withdraw` to withdraw ETH from the stVault balance. (accepts wei for amount)
337
+
- `fund` to supply (fund) ETH into the stVault.
338
+
- `withdraw` to withdraw ETH from the stVault balance (accepts wei for amount).
342
339
6. Sign the transaction in your wallet.
343
340
7. Click **View your transaction** and wait for it to be executed.
The key stVault metrics that the Vault Owner should monitor and control are:
441
438
442
-
-**Utilization ratio** -- the share of the stETH minting capacity currently used by the Vault Owner. [Learn more](../parameters-and-metrics)
443
-
-**Health Factor** -- a metric that reflects the economic state of the vault. It shows how the stETH liability is collateralized by the Total Value. A Health Factor of 100% corresponds to the Forced Rebalance Threshold, meaning that if the Health Factor falls below 100%, the stVault becomes subject to forced rebalancing. [Learn more](../parameters-and-metrics)
439
+
-**Utilization ratio** — the share of the stETH minting capacity currently used by the Vault Owner. [Learn more](../parameters-and-metrics)
440
+
-**Health Factor** — a metric that reflects the economic state of the vault. It shows how the stETH liability is collateralized by the Total Value. A Health Factor of 100% corresponds to the Forced Rebalance Threshold, meaning that if the Health Factor falls below 100%, the stVault becomes subject to forced rebalancing. [Learn more](../parameters-and-metrics)
The Health Factor metric may decrease as a result of validator underperformance, penalties, or a slashing event.
446
447
@@ -450,7 +451,7 @@ If this happens, there are three main options available:
450
451
- Repay stETH to reduce stETH liability.
451
452
- Rebalance ETH (optionally combined with a supply in a single transaction).
452
453
453
-
**Rebalancing** involves transferring available ETH from the stVault balance to Lido Core, receiving stETH at a 1:1 ratio, and repaying it back to the stVault. This reduces stETH Liability and thereby increases the Health Factor.
454
+
**Rebalancing** involves transferring available ETH from the stVault balance to Lido Core, receiving stETH at a 1:1 ratio, and repaying it back to the stVault. This reduces stETH liability and thereby increases the Health Factor.
454
455
455
456
Rebalancing is performed in one transaction.
456
457
@@ -485,7 +486,7 @@ The amount of ETH required for rebalancing to bring the Utilization Ratio to 100
Copy file name to clipboardExpand all lines: run-on-lido/stvaults/building-guides/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ The stVaults platform enables the creation of staking products tailored to diffe
7
7
| Staking Product to build | Its Value Proposition | Its Segments |
8
8
| -------- | -------- | -------- |
9
9
|[Basic stVault with optional liquidity](./basic-stvault.md)| A competitive alternative to native staking: users stake with the same Node Operator while gaining optional liquidity through stETH. | Institutional stakers, large individual stakers (32+ ETH), funds, treasuries, builders, integrators, liquidity providers. |
10
-
|**(Coming soon)**Pooled staking product with white-labeled UI and yield-boosting strategy | A DeFi-wrapped stVault with pooling, liquidity, automated yield-boosting strategy, and white-labeled staking UI – all in one customizable no-code/low-code solution. | Retail stakers (< 32 ETH), APR-maximizers, institutional stakers seeking a simple staking UI. |
10
+
|[Pooled staking product with white-labeled UI and yield-boosting strategy](./pooled-staking-product.md)| A DeFi-wrapped stVault with pooling, liquidity, automated yield-boosting strategy, and white-labeled staking UI – all in one customizable no-code/low-code solution. | Retail stakers (<32 ETH), APR-maximizers, institutional stakers seeking a simple staking UI. |
11
11
12
12
:::info
13
13
Have your own custom product in mind? [Contact us](https://tally.so/r/mVrkZa)!
0 commit comments