yearn.finance v2

Andre Cronje
Jul 24, 2020 · 2 min read

In the next 3~4 days we will be launching the UI for yearn.finance v2

6 months ago yield farming was as simple as “who has the highest APR, switch funds to them”. There was a lot more nuanced logic involved, but lets keep it simple.

Today, yield farming is becoming more and more complex. The sheer amount of knowledge required to know the intricacies of different systems in itself has taken us months to learn and comprehend.

The other problem we had with v1, it was rigid. If a new lender was added with higher rates, we could not include it in v1.

So, we derived a new way of approaching the problem, a lot of what we describe now, we have been doing manually for months, and the components are finally automated to the point that we are happy to start trials on it.

The system is comprised out of 3 main components;

  • yVaults
  • Controller
  • Strategies

yVaults are simple token containers and function like y Tokens. They track your share of an ever growing pool.

One exception is delegated yVaults. As an example; instead of providing DAI, you can provide LINK. You then assign your credit line to the system, which in turns generates yDAI for you. This then farms based on the most optimum strategies available, without needing to lose your exposure. Delegated yVaults support LINK, LEND, REN, SNX, and wBTC.

Controller is, as its name suggest, the control mechanism, since yield farming strategies have become reliant on understanding the value of external assets, this has led us to have the controller managed by governance. A subset of governance selected to manage will assign the highest yield strategies on a per vault basis.

Strategies are simplistic containers, they specify what they “want”, and their job is to maximize returns on that asset however they can, in a lossless way.

The system is designed to be gas efficient for small yield farmers, allowing deposits and withdraws as low as ~$2 even at 100 gwei.

Strategies can be submitted by anyone, we do have a predefined list of strategies we consider to be the current optimum in the market. A strategy can receive rewards from any additional sources other than its core function (DAI => aDAI for example).

These additional rewards are split between the governance ecosystem, the yield farmers, and the strategy creator. So if your strategy is selected as the highest performing strategy, you receive funds every time the system receives rewards.

So if you ever find this ecosystem too complex, or too time consuming, or simply too expensive (gas fees), then you can use yearn.finance v2

We’ll take care of everything for you, you simply check in and see your portfolio grow.

yearn.finance

yearn.finance defi made simple

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store