Skip to content
This repository has been archived by the owner on May 1, 2023. It is now read-only.

Shortened headers, added deposit/withdraw subsections #606

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions using-yearn.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ First, **Connect your wallet** using the button at the top right corner. Multipl
<img width="1266.75" height="345.75" src="https://i.imgur.com/H0Uc8e8.png">
</p>

## If you **already have the required token** for the vault that you would like to deposit in:
## I have required token

If you **already have the required token** for the vault that you would like to deposit in:

### Depositing required token

1\. Select the vault that you would like to deposit into.

Expand All @@ -34,6 +38,8 @@ First, **Connect your wallet** using the button at the top right corner. Multipl
<img width="928.5" height="93.75" src="https://i.imgur.com/JvNQ3l2.png">
</p>

### Withdraw

When you're ready to withdraw:

1\. Select the vault that you would like to withdraw from.
Expand All @@ -50,7 +56,7 @@ When you're ready to withdraw:

5\. When your transaction succeeds, the tokens will show up in your wallet again.

## If you **don't have the required token** for the vault that you would like to deposit in:
## I don't have a required token

This can be a common occurrence, because many of Yearn's vaults generate yield by using [Curve Finance](http://curve.finance/) liquidity provider (LP) tokens, which are acquired through depositing into a Curve pool.

Expand All @@ -60,6 +66,8 @@ Thankfully, due to Yearn's 'zap' feature, this can all be done in the same trans

**NOTE:** Zapping a token into a vault will require more transactions than depositing the native token. This means you will be paying more in gas and potentially lose value to slippage when the token is swapped or deposited into a pool. Yearn limits slippage to 1% and the transaction will fail if slippage exceeds that, in which case you will have to swap or deposit the tokens manually. See our [zap](https://docs.yearn.finance/yearn-finance/yvaults/overview#zap-in-with-any-asset) section for more details.

### Depositing without required token (zap)

1\. Select the crvSTETH vault.

2\. Click the dropdown box by the 'Approve' or 'Deposit' button.
Expand All @@ -76,6 +84,8 @@ Thankfully, due to Yearn's 'zap' feature, this can all be done in the same trans

6\. When your transaction succeeds, you will see your deposited balance in the vault's interface, which should appear at the top of the vault list.

### Withdraw

When you're ready to withdraw:

1\. Select the crvSTETH vault.
Expand Down