
1
Reap the Harvest on Blockchain:
A Survey of Yield Farming Protocols
Jiahua Xu and Yebo Feng
Abstract—Yield farming represents an immensely popular
asset management activity in decentralized finance (DeFi). It
involves supplying, borrowing, or staking crypto assets to earn
an income in forms of transaction fees, interest, or participa-
tion rewards at different DeFi marketplaces. In this systematic
survey, we present yield farming protocols as an aggregation-
layer constituent of the wider DeFi ecosystem that interact with
primitive-layer protocols such as decentralized exchanges (DEXs)
and protocols for loanable funds (PLFs). We examine the yield
farming mechanism by first studying the operations encoded in
the yield farming smart contracts, and then performing stylized,
parameterized simulations on various yield farming strategies.
We conduct a thorough literature review on related work, and
establish a framework for yield farming protocols that takes into
account pool structure, accepted token types, and implemented
strategies. Using our framework, we characterize major yield
aggregators in the market including Yearn Finance, Beefy, and
Badger DAO. Moreover, we discuss anecdotal attacks against
yield aggregators and generalize a number of risks associated
with yield farming.
Keywords—Decentralized Finance (DeFi), yield farming, yield
aggregator, simulation, blockchain
I. INTRODUCTION
YIELD farming protocols are deemed as the decentralized
asset managers on blockchain. After having absorbed
crypto assets from users—including both retail and institu-
tional investors, yield farming protocols algorithmically deploy
those funds into one or more revenue generating services such
as lending and market making. Yield farming protocols have
become immensely popular as they seem to create a win-win-
win situation: users can earn return on their idle funds through
an automated process; yield farming protocols can charge a
management fee; other DeFi services can gain more liquidity.
The concept of yield farming was first popularized in mid
2020 by the leading PLF Compound with the introduction
of its governance token COMP [92]. Compound participants
get rewarded with newly-minted COMP tokens through both
lending and borrowing activities, which lead to offsetting
some loan costs for borrowers and increasing the return for
lenders. This incentive scheme was quickly adopted by other
protocols such as Uniswap [121] and Yearn Finance [70])
to attract liquidity and participation. As such, on top of
the inherently designed benefit that users get for providing
liquidity in different kinds of pools (e.g. interest in the
case of lending protocols, or fees in the case of providing
Jiahua Xu is with the Computer Science Department, University College
London, UK. Email: jiahua.xu@ucl.ac.uk.
Yebo Feng is the corresponding author. He is with the Computer
and Information Science Department, University of Oregon, USA. Email:
yebof@uoregon.edu.
Table I: Top yield aggregators - market share information.
Yield aggregators Governance token TVL (m USD) MCap (m USD) Time established Tokenholders
Yearn Finance YFI 652.07 354.96 07/2020 49,668
Beefy BIFI 302.95 39.00 09/2020 25,737
Badger DAO BADGER 107.22 47.83 11/2020 30,757
Idle Finance IDLE 94.17 1.38 11/2020 3,728
Yield Yak YAK 72.13 3.56 09/2021 2,208
Autofarm AUTO 64.99 26.52 02/2021 65,074
Flamincome FLAG 59.55 06/2020 43
Rari Capital RGT 47.03 64.27 07/2020 6,438
Vesper VSP 42.62 4.35 02/2021 8,690
Spool Protocol SPOOL 39.42 3.99 12/2021 522
Harvest Finance FARM 32.74 37.39 09/2020 13,867
ACryptoS ACS 30.09 2.06 12/2020 8,078
Reaper Farm OATH 18.21 9.25 07/2021 2,993
Pickle Finance PICKLE 14.20 1.49 09/2020 8,161
OnX Finance ONX 4.63 1.41 03/2021 2,941
Waterfall DeFi WTF 4.08 1.74 11/2021 852
Solidex SEX 3.86 0.19 02/2022 9,389
Robo-Vault 3.81 07/2021
Magik Farm MAGIK 3.57 01/2022 2,110
Data fetched on 14/08/2022 from https://defillama.com/ - Yield Aggregators.
liquidity in automated market maker (AMM) pools), additional
governance tokens are rewarded to users to further encourage
their participation in the issuing platform during the early stage
of adoption. The basic yield farming idea was born: the search
for opportunities in the DeFi ecosystem to generate returns on
otherwise dormant crypto assets.
As a reaction to the creation of a multitude of platforms
returning interests, fees and token rewards, yield aggregators—
represented by Yearn Finance, Beefy, and Badger DAO (Ta-
ble I)—dedicated to farming yield through DeFi primitives
emerged. At the beginning 2021, the total value locked (TVL)
of DeFi yield aggregators was still shy of 1 billion USD; by
May 2021, however, this value grew exponentially to 8 billion
USD (illustrated in Figure 1).
In this paper, we present a systemic examination of yield
farming protocols. We first inspect yield farming protocols
from the perspective of DeFi architecture and posit them
as an aggregation-level component that interact with lower-
level primitives in DeFi (see §II). We then synthesize an
action-state framework of yield farming operations, and extract
yield farming protocols’ features such as pool structure and
accepted token types as well as their variations (see §III). With
our established model framework, we characterize top yield
farming protocols such as Yearn Finance, Harvest Finance and
Pickle Finance. We argue that yield farming protocols are still
associated with both security and economic risks (see §IV)
and provide a through literature review for interested readers
(see §V). In Appendix, we present simulations on three typical
yield farming strategies in §A, and describe the workings of
top yield aggregators comparatively in §B. Of a particular note
here is that this paper is an updated and extended version of
work published in [69].
arXiv:2210.04194v2 [q-fin.PM] 14 Dec 2022