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

in SteemitCryptoAcademy3 years ago

Hello everyone and welcome to my assignment this week for @imagen. Let's start;


Trading Crypto With Ichimoku-kinko-hyo Indicator - Part 1.png

Image from canva

line.png

Describe the differences between Staking and Yield Farming

Staking and yield farming are easily confused for each other especially by people who are new to DeFi. I’ll be talking about both below;

Staking is an attribute of Proof of Stake based crypto currencies. In staking, members of a POS based network stake (lock up) coins they have of that network as a mining method to stand a chance to be chosen as a validator. The staked tokens are collateral.
Staking is important in proof of stake based networks as this is how transactions are validated and new blocks are mined thereby securing the network. Only members who stake their coins in that network stand a chance to get chosen to validate transaction. Members who stake their coins in the network get some portion of the network’s token as rewards if chosen to validate a transaction.

Yield farming on the other hand, is lending your crypto tokens to a DeFi network via liquidity pools thereby providing liquidity to the pools and earning yields for lending these tokens like the typical interest collected when you lend a person money.
Usually, investors lend tokens to these pools most of which operate on the Ethereum network using smart contracts and they lend them out and earn interest rates which are distributed to farmers. If the token should also increase in value during that period, the liquidity provider’s profit could also soar.
Example of yield farming protocols includes Compound and Uniswap.

Differences

  1. Mechanism: Staking can only be done on cryptocurrencies based on proof of stake mechanism. You can stake individually or as a member of a staking pool. In staking, members of the network stake so they can be selected to validate transactions and secure the network. Usually, members with higher stakes have higher chances of being selected. In yield farming, there’s nothing like random selection and it involves smart contracts and DeFi protocols. Yield Farmers lend crypto tokens to liquidity pools and earn rewards.
  2. Security: In yield farming, money borrowed is locked using smart contracts which are automated. Since this is essentially software there could be glitches or an error during programming. Hackers could also successfully hack it and cart liquidity providers funds and all your money could be liquidated instantly. Also, farmers who got in at the beginning usually hold large stakes. Sometimes, they decide to sell when the value of token appreciates and it could lead to huge crash in the value of the token. In staking however, the major risk could be a malicious validator and this is highly improbable as validators usually have higher stakes in the network and stand to lose more if the network crashes. Validators could also stand the risk of having their staked coins slashed.
  3. Rewards: In staking members with higher stake in the network have higher chances of being selected as validators and hence earn rewards usually in the form of native token. The rewards percentage however could be of way lower percentage when compared to yield farming. In staking, one could earn an APY of between 5-15% depending on the network and it depends on being chosen as a validator.
    In yield farming however, yield farmers could earn up to 100% APY and even more. This is a very wide margin.

line.png

Login to Yearn Finance. Fully explore the platform and indicate its functions. Describe the process for trading on the platform

Using the link, https://yearn.finance/#/home were taken to the platform where we can see;

“Home”: This is a general overview of your yearn finance account. On the dash board, you can see your balance and earnings as well as yearly yield. Here is a screenshot below;


Screenshot (2).png

Image from source

“Wallet”: When you click on wallet, the wallet interface opens and your available balance is displayed above. In my case, this is $0.00


Screenshot (17).png

Image from source

The wallet shows available balance in dollars so a user can easily view his balance.
To connect one’s wallet, one would have to click on the connect button in the screenshot below to connect his wallet. You can connect any wallet hosted on the Ethereum network such as trust wallet or Metamask.

“vaults”: Here is a screenshot of the vaults interface below;


Screenshot (18).png

Image from source

The vault is used by yearn users to deposit tokens in pool options and earn tokens and maximized yields. The vault interface shows “Dashborad”, “Holdings” and “Yearly Yield”. We can also see the highest APY displayed.

To deposit funds, you click on a vault you want to deposit to and enter the amount you wish to deposit. You approve and then deposit.

“Labs”: This contains the newest and riskier options. Here, we can see dashboard showing holdings and APY.


Screenshot (19).png

Image from source

“Iron Bank”: This is particularly useful for users who are not sure where to lend their crypto assets to and can’t decide on an option in the vault. You can borrow and keep your borrowed asset in the iron bank and still earn.

“Settings”: You can customize your slippage tolerance, themes and language here.


Screenshot (20).png

Image from source

“Settings”: You can customize your slippage tolerance, themes and language here.


Screenshot (21).png

Image from source

line.png

What is collateralization in Yield Farming? What is its function?

Collateralization, just as the name suggests, has to do with collateral one uses in order to successfully borrow tokens from a liquidity pool, just the way you provide collateral when borrowing from a traditional bank. For you to successfully borrow from a liquidity pool, you must put up a token as collateral to hold you accountable. The collateral value can always be verified and if the borrower fails to repay, his collateral is liquidated.

What is its function?

Collateralization helps to protect interest of the liquidity providers so they still earn interest whether the borrower repays or not.
Usually, different DeFi protocols demand for different collateralization ratios, usually way higher than the amount being borrowed. Some require you collaterize up to 300% value of borrowed tokens or even more. Different assets could also require different collateral ratios. This is advised to prevent your collateral from getting liquidated if market goes sideways and collateral drops below collateralization threshold of that platform.
You can always check your collateralization ratio and top up on your collateral from time to time. Over collateralization is always encouraged in yield farming to be on the safer side.

line.png

At the time of writing your assignment, what is the TVL of the DeFi ecosystem? What is the TVL of the Yearn Finance protocol? What is the Market Cap / TVL ratio of the YFI token?

The TVL stands for Total Value Locked. TVL is to DeFi as Market Capitalization is to Cryptocurrencies.
TVL of the DeFi Ecosystem: $109.07B
TVL of Yearn Finance Protocol: $4.54B


Screenshot (6).png

Image from source


Screenshot (8).png

Image from source

Market Cap/TVL ratio of the YFI token:
According to coinmarketcap, Market Cap is $1,053,393,202

TVL of Yearn Finance Protocol= $4.54B
Market Cap/TVL ratio of the YFI token= 1,053,393,202/4,500,000,000
= 0.2341 (to 4 decimal places)

The YFI token, is it overvalued or undervalued? State the reasons.

The YFI token is undervalued.
The TVL ratio can be used to tell if a DeFi asset is overvalued or undervalued. A ratio below the value of 1 points to the asset being undervalued. In the case of the YFI token, we can see from the calculations above that our ratio is about 0.23, pointing to the fact that the token is undervalued. This means the token still has more potential.
The YFI token is the governance token of Yearn.Finance and can be farmed through different ways like depositing capital into the protocol’s products. It has a market rank of 103 according to www.coinmarketcap.com. Their vault option is a very great option as it helps users maximize yield and its use cases keeps expanding. The Iron bank is another great option too.

It has a maximum supply of 36,666 YFI and a circulating supply of 36,638 YFI source coinmarketcap and with the increasing growth of the DeFi space as a whole, one can see the Importance of holding the governance token and its room for more growth over the years.

line.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

For BTC, using the BTC/USDT chart on www.tradingview.com, we can see that;


Screenshot (26).png

Image from trading view

Screenshot (11).png

Image from trading view

August 1st, price was 41462.00
Right now, price = 56642.11

Clearly, there was an increase.
Percentage increase = [(56642.11 – 41462.00)/ 41462.00 ]100
= (15180.11 / 41462.00) * 100
= 0.36612 * 100
= 36.6121% (4 d.p)
profit on btc = (36.61/100)
500
= 183.06 USD
ROI = 500 +183.06
= 683.06 USD

For the YFI token

Screenshot (13).png

Image from trading view


Screenshot (14).png

Image from trading view

August 1st; 32138.56 32209.49
Right now, price = 28892.98
This showed a decrease in price.
Percentage decrease = [(32209.49 – 28892.98)/28892.98]100
= (3316.51 / 28892.98)
100
= 0.11479 *100
= 11.4786%
Loss = (11.48 / 100) * 500
= 57.4 USD
ROI on YFI = 500 – 57.4
= 442.6 USD
Total ROI = 442.6 USD + 683.06 USD
= 1, 125.66USD

This shows there was a net profit.

line.png

In your personal opinion, what are the risks of Yield Farming? Give reasons for your answer

DeFi Farming though very profitable could be very risky. Some of the risks include;

  • In yield farming, there’s no intermediate to explain things to you or guide you from making mistakes. One could make a mistake and his funds could be gone forever as block chain transactions are irreversible. Also, yield farming requires a lot of strategies and these could change as quickly as the next day. Drop in volatility could cut profit of farmers from arbitrage trading for example. If you’re not quick and up to date, you could lose a lot of money
  • Liquidation of collateral: One has to provide collateral before borrowing from a protocol so borrowers are held accountable. Usually, a certain collateral ratio is demanded. If the market were to suffer and the value of collateral you put in drops to a certain level, your funds could be liquidated immediately
  • Glitches in smart contracts and chances of being hacked: In yield farming, there are no middlemen rather use smart contracts on the blockchain which are essentially software coded by the protocol developers. There could be glitches in this software or hackers could find weak spots in the coding and run away with farmers’ tokens. This could be very terrible especially as blockchain transactions are irreversible. This was the case with Yam token which dropped suddenly from about $167 to about $0.97 in August because of a bug in the coding of the smart contract
  • Impermanent loss: Farmers providing liquidity do so in pairs, so they put in equal value of both pairs into the pool. If the value of one of the pair should drop drastically, the coins in the liquidity pool shifts. Considering how volatile cryptocurrency could pair, this is very likely to happen. This could lead to impermanent loss on the part of the farmer as the value of tokens he put in is different from the value when he received rewards.
  • line.png

    Conclusion

    The concept of yield farming though new, got widespread acceptance and has since seen tremendous growth after Compound came into the picture. Though it could generate very enormous rewards up to 100% yield or more, it is also very risky and requires thorough research and great strategizing as one could lose all his funds in an instant due to reasons such as a bug in the smart contract even. I hope you enjoyed reading this.

    Sort:  
    Loading...

    Coin Marketplace

    STEEM 0.19
    TRX 0.18
    JST 0.033
    BTC 88380.57
    ETH 3082.21
    USDT 1.00
    SBD 2.72