Skip to content

Commit

Permalink
add yield page
Browse files Browse the repository at this point in the history
  • Loading branch information
vfat committed Jan 4, 2024
1 parent 377a8c3 commit f685829
Show file tree
Hide file tree
Showing 10 changed files with 62 additions and 6 deletions.
Binary file added img/yield/action_menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/yield/harvest.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/yield/position_view.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/yield/quick_deposit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/yield/route_view.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/yield/yield_view.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
label: Welcome
---

# vfat.io Documentation

![](img/vfat_bird-modified.png)
Expand Down
7 changes: 6 additions & 1 deletion portfolio.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# Portfolio view
---
label: Portfolio
order: 101
---

# Portfolio View

![Main view](img/portfolio/main_view.png)
After connecting your wallet, or entering a 0x address or ENS name, you are shown that wallet's positions on all chains. You can see the balance, current price and $ total for each position.
Expand Down
11 changes: 6 additions & 5 deletions retype.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
input: .
output: .retype
url: # Add your website address here
url: docs.vfat.io
branding:
title: Project Name
title: vfat.io
label: Docs
logo: img/vfat_bird-modified.png
links:
- text: Getting Started
link: https://retype.com/guides/getting-started/
- text: Getting Started
link: https://retype.com/guides/getting-started/
footer:
copyright: "© Copyright {{ year }}. All rights reserved."
copyright: "© Copyright {{ year }}. All rights reserved."
46 changes: 46 additions & 0 deletions yield.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
label: Yield
order: 101
---

# Yield View

Compare yield products across DeFi, enter and exit positions, compound your earnings in 1 click. All from one interface.

vfat.io lets you choose from a plethora of DeFi products, and offers intuitive and seamless interaction. No more convoluted series of transactions such as swapping, adding liquidity and staking needed to start earning yield. No more having to use 3 or 4 websites and getting a PhD in invariants to accomplish the above. Simply choose the pool you want and click Deposit.

![Yield View](img/yield/yield_view.png)

At launch two projects are supported, [Velodrome](https://velodrome.finance/) on Optimism and [Aerodrome](https://aerodrome.finance/) on Base.

Each pool in these projects is comprised of two tokens, and can be either stable (token prices should be similar) or volatile (all other pools). The total value locked (TVL), chain, and APR are shown for each pool.

After connecting your wallet and choosing a pool you want to enter, you can do so in one click by using the Deposit button at the end of the row. There is a pre-selected amount of ETH to quick deposit, which can be adjusted by the drop-down menu:

![Quick Deposit](img/yield/quick_deposit.png)

Alternatively by clicking anywhere on a pool row, it is loaded into the action menu:

![Action Menu](img/yield/action_menu.png)

There you can enter a custom ETH amount to deposit, or choose a different token to deposit with. Select your preferred slippage, and view the route taken by expanding the Deposit details box.

![Route View](img/yield/route_view.png)

After depositing, you can also view your position in the Deposits tab at the top:

![Position View](img/yield/position_view.png)

The quick actions on the right allow you to Compound your earnings, or Exit back to ETH. Selecting the row brings up more options such as withdrawing to a different token, or harvesting any earnings and optionally converting them to ETH or a different token.

![Harvest](img/yield/harvest.png)

### Contract Infrastructure

[vfat.io Yield](https://vfat.io/yield) is powered by Sickle, a self-custodied contract that is deployed on each chain when making your first deposit. Sickle can perform complex actions in a single transaction, as defined in Strategy contracts, such as the inaugural Aerodrome Strategy.

Contracts have been audited by [yAudit](https://reports.yaudit.dev/reports/10-2023-Sickle-Update/). Please note smart contracts bear risk regardless of audits, and there is always the underlying risk of the pool entered.

### Fee Structure

Sickle charges 9 basis points (0.09%) on deposits and withdrawals, and 90 bps (0.9%) on compounds and harvests.

0 comments on commit f685829

Please sign in to comment.