Sezga
English
Sign in

Market history · · 7 min read

DeFi Summer (2020): how the yield farming boom unfolded

DeFi Summer is the name given to the summer months of 2020, when money and attention poured rapidly into decentralized finance applications on Ethereum. The wave was set off by liquidity mining, which spread after the Compound protocol began distributing its COMP token to users in June 2020; within a few months, the total value locked in these applications grew several times over.

Decentralized finance (DeFi) is the umbrella term for applications that let people lend, borrow and swap without an intermediary such as a bank or an exchange. They run on smart contracts, programs on a blockchain that execute automatically according to rules written in advance.

Background: the building blocks were ready

DeFi Summer did not come out of nowhere. Most of the core applications had been developed during the quiet market of 2018 and 2019 and were already live before the summer:

  • Decentralized exchanges: Automated market makers (AMMs) such as Uniswap let people swap tokens against pools that users fund, instead of an order book. Those who deposit tokens into a pool are called liquidity providers, and they earn a share of the trading fees.
  • Lending protocols: Protocols such as Compound, Aave and MakerDAO made it possible to borrow against collateral and to lend in return for interest.
  • Stablecoins: Tokens pegged to the dollar served as a common unit of account across these applications.

The sharp crash of March 2020 had put these applications through a severe stress test. By summer, what was missing was an incentive to draw large numbers of users in.

The spark: COMP and liquidity mining

In June 2020, Compound began distributing COMP to its users in proportion to how much they used the protocol. COMP was a governance token: it gave holders a vote on matters such as the protocol's interest rate model and supported assets. Once the token traded on the market and gained value, lending and borrowing on Compound started to earn an extra reward on top of interest.

At times the value of the rewards exceeded the interest paid, so even borrowing appeared profitable. Users recycled the same collateral again and again in looping borrow positions to collect rewards. Handing out tokens to people for using a protocol became known as liquidity mining, and moving funds between protocols in pursuit of rewards was called yield farming.

Other protocols quickly launched similar programs. Screens began showing annual yields (APY) in the hundreds or even thousands of percent. Most of those figures came not from interest but from the current price of newly minted reward tokens.

The peak of the frenzy: YFI, food tokens and the vampire attack

Yearn.finance (YFI): Launched in July 2020, YFI had no presale and no team allocation; all tokens went to users who provided liquidity to the protocol, and supply was initially capped at 30,000. This "fair launch" model attracted huge interest, and before long the price of a single YFI surpassed the price of a single bitcoin.

Food tokens: A wave of projects named after foods followed. One of them, YAM, collapsed a few days after its launch in August 2020 because of a bug in its smart contract. The project had not been audited, yet it had drawn in a large amount of funds in a very short time.

SushiSwap and the vampire attack: In late August 2020, SushiSwap appeared as a copy of Uniswap's open-source code. It offered SUSHI rewards to Uniswap liquidity providers who deposited the tokens representing their pool shares on SushiSwap. In September, that liquidity was moved en masse from Uniswap to SushiSwap. This tactic of growing by draining a rival's liquidity was dubbed a "vampire attack." Around the same time, the project's anonymous founder sold tokens from the developer fund, sparking a strong backlash; the funds were later returned.

UNI: In September 2020, Uniswap launched its own governance token, UNI, and gave 400 UNI to every address that had used the protocol before. Distributions that reward past users like this are called airdrops. The UNI distribution became a model that many projects copied in later years.

The price of the crowd: fees and risks

The activity clogged the Ethereum network. The network fee (gas) paid for every transaction rose sharply, and farming with small balances stopped making sense because collecting the rewards cost too much. Those who benefited most from the high yields were the ones with enough capital to absorb these fees.

The main risks of the period were:

  • Smart contract bugs: Hastily written, unaudited code could lead to funds being locked or lost.
  • Falling reward tokens: If the yield comes from newly minted tokens, everyone who receives them wants to sell, and the price drops.
  • Impermanent loss: As the prices of the two tokens in a pool drift apart, a liquidity provider can end up worse off than if they had simply held the tokens.
  • Manipulation attacks: Throughout 2020, several protocols were hit by attacks that used uncollateralized loans borrowed and repaid within a single transaction (flash loans) to manipulate prices.
  • Anonymous teams: Some projects saw their teams run off with the funds (a rug pull).

A hypothetical calculation makes the reward token risk concrete. Suppose a pool shows an annual yield of 1,000%. Someone who deposits $10,000 would collect about $8,300 in rewards in a month if the reward token's price stayed flat. But if everyone receiving rewards sells and the token loses 90% of its value within that month, the rewards in hand are worth only about $830. Add impermanent loss and network fees, and the result can even turn into a loss. The number on the screen assumed the token's current price would last.

The end of DeFi Summer and its legacy

By the fall, most food tokens had crashed far below their peaks, and some were forgotten entirely. In the last months of the year, the market's attention largely shifted to the rally in Bitcoin, which surpassed its 2017 peak in December 2020.

Still, the period left lasting marks:

  1. Governance tokens and airdrops became widespread. Attracting users with token rewards became one of the main growth tactics for later projects.
  2. Total value locked (TVL) became a standard metric. The total value of assets deposited in protocols became the most widely used figure for describing the size of DeFi.
  3. The scaling problem became visible. High network fees boosted interest in cheaper layer 2 solutions for Ethereum.
  4. The importance of audits sank in. An audit is not a guarantee, but the cost of running unaudited code was plain to see.
  5. People began to question where yield comes from. Whether returns come from real fee income or from newly minted tokens became a core question in evaluating DeFi.

Key takeaways

  • DeFi Summer refers to the summer months of 2020, when money and attention flowed rapidly into decentralized finance applications on Ethereum.
  • Liquidity mining, which spread with the COMP distribution in June 2020, drew users into protocols with reward tokens.
  • YFI's fair launch, the food tokens, SushiSwap's vampire attack and the UNI airdrop became symbols of the period.
  • Unaudited code, collapsing reward tokens, impermanent loss and high network fees wiped out the gains of many participants.
  • Governance tokens, airdrops and the TVL metric are among the period's lasting legacies.

The Sezga terminal

Live prices, liquidation feed, multilingual news, the Fed calendar, event memory and a paper-trading account on one screen. Access is by invitation.

Sign in

Related articles