Yield Farming - Yearn Finance - Crypto Academy S5W3 - Homework Post for @imagen

in SteemitCryptoAcademy3 years ago

Greetings to fellow users of this platform. It is great to have you all in the 3rd week of Crypto Academy Season 5.

This lesson is mainly based on yield farming. I have read the lesson post and hence, would tackle the given tasks.

Yield Farming.jpg


C3TZR1g81UNaPs7vzNXHueW5ZM76DSHWEY7onmfLxcK2iQHSwbRLQhAJnn1Rq47VEsGENvLfeFFQfbqGBnTRNq3H3b3QiczV4vnCy9H8vWhfVEZCG64DAaz.png

Yield Farming

Yield farming is one of the popular methods of generating passive income with cryptocurrency.

Yield Farming is a process whereby investors (called liquidity providers) contribute their assets in a liquidity pool for the sole purpose of obtaining interests over a period of time.

The interests obtained from locked assets can either be the same crypto asset that has been locked, or an addition of other crypto assets.

The interest yield mechanism of yield farming platforms is based on the APY, and this yields compound interest on the assets staked.

Examples of platforms that offer yield farming are:

  • Aave
  • Compound Finance
  • Synthetic
  • Uniswap, etc


C3TZR1g81UNaPs7vzNXHueW5ZM76DSHWEY7onmfLxcK2iQHSwbRLQhAJnn1Rq47VEsGENvLfeFFQfbqGBnTRNq3H3b3QiczV4vnCy9H8vWhfVEZCG64DAaz.png

Staking

Staking is a consensus algorithm that is used in the mining process of certain cryptocurrencies.

Staking involves the locking up of cryptocurrencies in a pool, which would act as nodes for the validation of blocks. On validation of a block, a reward is given to the node that is responsible for the block validation. The reward is always the cryptocurrency staked in the protocol.

Staking has proven to be a better alternative to the traditional Proof of Work mechanism which requires sophisticated devices with large computational power. Large computational power would result to great energy consumption for the mining process

The chances of validating a block to obtain rewards are improved by the amount of assets that are locked up by an individual.


C3TZR1g81UNaPs7vzNXHueW5ZM76DSHWEY7onmfLxcK2iQHSwbRLQhAJnn1Rq47VEsGENvLfeFFQfbqGBnTRNq3H3b3QiczV4vnCy9H8vWhfVEZCG64DAaz.png

Differences Between Yield Farming and Staking

Although yield farming and staking are greatly interchanged and confused in speaking, they are two different concepts.

Yield FarmingStaking
The sole purpose of yield farming is to generate income by receiving interests on locked assetsThe sole purpose of staking is for contribution to the validation of blocks in a network.
APY rates can reach up to 100%, therefore yeild farming is seen as a more profitable ventureAPY rate is between 5% to 15% , making it a less profitable venture
Platforms that offer yield farming make use of Automated Market Maker as the technology for its interest mechanismStaking is possible for networks that make use of the Proof of Stake consensus algorithm for its validation and security.


C3TZR1g81UNaPs7vzNXHueW5ZM76DSHWEY7onmfLxcK2iQHSwbRLQhAJnn1Rq47VEsGENvLfeFFQfbqGBnTRNq3H3b3QiczV4vnCy9H8vWhfVEZCG64DAaz.png

Yearn Finance

Yearn Finance is a project built on the Ethereum network that offers lending and trading services.

The project has the following features:

Dashboard

This displays the value of assets in USD owned by a user.

Snapchat-1286104653.jpg

source


Wallet

This is used in storing assets that are not being put to use.

Snapchat-97482337_1.jpg

source


Vaults

This offers pools where assets can be locked to generate income. The pools are ranked from the greatest to the least according to their APY rates.

Snapchat-55949813.jpg

source


Lab

This feature gives first-hand information on the latest opportunities in the platform.

Snapchat-1050175695.jpg

source


Iron Bank

This feature allows users to borrow from the pool and also supply to the pool. Also, assets can be kept in the iron bank if a user doesn't find a suitable pool. The assets locked in the iron bank would also yield interests.

Snapchat-932654332.jpg

source



C3TZR1g81UNaPs7vzNXHueW5ZM76DSHWEY7onmfLxcK2iQHSwbRLQhAJnn1Rq47VEsGENvLfeFFQfbqGBnTRNq3H3b3QiczV4vnCy9H8vWhfVEZCG64DAaz.png

Wallet Connect on Yearn Finance

Step 1: For mobile devices, open the Yearn Finance site on a wallet with a web 3.0 browser. For my illustration, I used Trust Wallet.


Step 2: Select "Connect Wallet".

Snapchat-1440363692_1.jpg


Step 3: Select Trust Wallet.

Snapchat-102113052.jpg


Step 4: Wallet Connect successful.

Snapchat-1977376986.jpg


To transfer funds to Yearn Finance after wallet connect, simply transfer funds to the wallet address of the connected wallet. All funds would be deposited to the platform as long as the wallet is connected.



Locking Assets

Step 1: Select preferred pool for locking assets.

Snapchat-1889039314.jpg


Step 2: Approve.

Snapchat-261802423.jpg


Step 3: Approve smart contract on wallet. In my illustration, I have insufficient balance. Therefore, I can't approve the smart contract.

Snapchat-59887973.jpg


Step 4: After approval, proceed to deposit into the desired pool.



C3TZR1g81UNaPs7vzNXHueW5ZM76DSHWEY7onmfLxcK2iQHSwbRLQhAJnn1Rq47VEsGENvLfeFFQfbqGBnTRNq3H3b3QiczV4vnCy9H8vWhfVEZCG64DAaz.png

Collateralization in Yield Farming

In a real world situation, in order to obtain a loan, an individual or organisation would have to put up a collateral. A collateral is basically physical asset(s) that the lender would obtain if the borrower fails to pay back the loan.

In yield farming, the borrower needs to put up collateral to obtain a loan. The collateral is always higher than the amount to be borrowed in order to avoid liquidation. This concept is known as overcollarterization.

Different platform that offers yield farming set up different collateralization ratios. A collateralization ratio of 500% would imply that for every 100usd supplied to the pool, 20usd can be obtained. This protocol is set up to keep the collateral value above the threshold that has been set by the platform.


C3TZR1g81UNaPs7vzNXHueW5ZM76DSHWEY7onmfLxcK2iQHSwbRLQhAJnn1Rq47VEsGENvLfeFFQfbqGBnTRNq3H3b3QiczV4vnCy9H8vWhfVEZCG64DAaz.png


TVL of the DeFi Ecosystem

The TVL of the DeFi ecosystem is $106.85 billion.

Snapchat-1235901426_1.jpg

source


TVL of the Yearn Finance Potocol

The TVL of Yearn Finance Protocol is $4.31 billion.

Snapchat-55102103_1.jpg

source


Market Cap / TVL ratio of the YFI Token

Market cap = $1,081,993,414.17

TVL of YFI token = $4.31 billion

Therefore, Market Cap / TVL ratio of YFI = $1,081,993,414.17/$4,310,000,000

= 0.25104255549187935034802

≈ 0.25


C3TZR1g81UNaPs7vzNXHueW5ZM76DSHWEY7onmfLxcK2iQHSwbRLQhAJnn1Rq47VEsGENvLfeFFQfbqGBnTRNq3H3b3QiczV4vnCy9H8vWhfVEZCG64DAaz.png

Is the YFI Token Overvalued or Undervalued?

The YFI token is undervalued. Why? First of all, let's take a look at the market cap to TVL ratio. The value of this ratio is 0.25, which is a number less than one. In most cases, if the market cap to TVL ratio of a coin is less than one, then the coin is said to be undervalued. This is one of those cases.

Secondly, the YFI token has a good number of uses cases as the native token of a network that offers yield farming. With it's rising value and the development of the project, the YFI would be more than a token used for providing liquidity in a yield farm. When compared to coins like Bitcoin which is just used as a method of payment and a store of value, the YFI token is greatly undervalued.


C3TZR1g81UNaPs7vzNXHueW5ZM76DSHWEY7onmfLxcK2iQHSwbRLQhAJnn1Rq47VEsGENvLfeFFQfbqGBnTRNq3H3b3QiczV4vnCy9H8vWhfVEZCG64DAaz.png

If on August 1, 2021, you had made an investment of 1000 USD in the purchase of assets: 500 USD in Bitcoin and the remaining 500 USD in the YFI token, what would be the return on your investment in the actuality? Explain the reasons.

From August 1 till date (November 29), Bitcoin has made a +47.05% movement in price and YFI has made a -3.99% movement in price.

Snapchat-1330190389_1.jpg

Snapchat-2093081296_1.jpg

Total Yield from BTC = $500 × 147.05 / 100 = $735.25

Total Yield from YFI = $500 × (100-3.99) /100 = $480.05

∴ Amount after investment period = $735.25 + $480.05 = 1215.30

Net profit = $1215.30 -$1000 = $215.30

∴ ROI = ($215.30/$1000)×100 = 21.53%


C3TZR1g81UNaPs7vzNXHueW5ZM76DSHWEY7onmfLxcK2iQHSwbRLQhAJnn1Rq47VEsGENvLfeFFQfbqGBnTRNq3H3b3QiczV4vnCy9H8vWhfVEZCG64DAaz.png

Risks of Yield Farming

Just like every potential investment, yield farming is also a risky venture. Most of the risks involved in yield farming are as follows:

  • Bugs in the program (smart contract) of the DeFI can lead to loss of assets. Because the DeFi is a program, it is prone to code errors and even attacks that can alter the digital code, causing mass loss of investment across the network.

  • Impairment loss can occur in the network. Impairment loss is a situation where there is a sudden or drastic fall in the price of the asset, which would cause the value of interest and investment to be lower than the initial value of the investment. This creates a heavy loss for investors in the twinkle of an eye.

  • Liquidation is a situation whereby the value of the collateral drops so low that it is insufficient to cover the amount of the loan taken. In this situation, the collateral and loan is lost to cover up for the loan taken. As a result of the problem of liquidation, collateral is usually very much higher than the value of loan taken.


C3TZR1g81UNaPs7vzNXHueW5ZM76DSHWEY7onmfLxcK2iQHSwbRLQhAJnn1Rq47VEsGENvLfeFFQfbqGBnTRNq3H3b3QiczV4vnCy9H8vWhfVEZCG64DAaz.png

Conclusion

Yield farming is a very profitable venture in which investors can earn passive income. Although confused with staking, yield farming is a much more profitable (and risky) business.

It is best to gain sufficient knowledge on yield farming before going into such venture, so that losses would be avoided.

Special thanks to @imagen

Image sources:

Sort:  
Loading...

Coin Marketplace

STEEM 0.18
TRX 0.13
JST 0.030
BTC 58296.60
ETH 3064.91
USDT 1.00
SBD 2.26