The yield farming stack
Yield farming is not one activity. It is a stack, and every layer you add
changes what can go wrong.
The loop itself
The basic cycle is simple:
- Supply assets to a pool and receive a liquidity or receipt token
- Stake that token to earn rewards
- Claim the rewards
- Add them back to the position and repeat
Each pass through the loop compounds the reward token and the underlying
position together. Done carefully, that is how a modest rate turns into a
meaningful balance over months.
What each layer adds
Every step introduces a new failure point:
- Smart contract risk. The pool, the staking wrapper, and the reward
vault are three separate contracts. A bug in any one of them can strand or
destroy funds, independent of the market.
- Reward-token risk. You are often paid in a token whose price you did
not choose. If it falls, the nominal rate looks great while the value you
actually keep shrinks.
- Impermanent loss. The deeper the price moves between your two assets,
the more the pool's rebalancing works against you.
- Compounding amplification. Rolling rewards back in makes every one of
the above risks larger over time, because your exposure grows.
Where it breaks
The stack fails in a predictable order:
- Reward emissions get cut or the reward token dumps, so the rate no longer
covers the risks.
- A volatile side of the pool moves hard, and impermanent loss eats more than
a season of fees.
- Gas costs on the chain exceed the value of a small position, so compounding
stops making sense.
- A contract is exploited, and the losses are not correlated with anything
you did.
How to keep the stack intact
- Prefer pools whose reward token you would hold anyway
- Size positions so a gas spike never forces a loss-making exit
- Track value in a stable unit, not in the reward token's price
- Exit early when the payer of the yield changes or disappears
The takeaway
The stack is farm, roll, compound, repeat. It compounds returns and it
compounds risk in the same motion. Know which layer is carrying the yield,
because that is the layer that will break first.