DeFi University
Skip to lesson

Exercise 10

Who Gets the Fee on a Big Swap?

About 14 min

Your task

You'll split one large swap's fee among the LPs at the active price, then add a JIT searcher for one block and split it again. You'll work out the searcher's profit, test whether a wider range helps you, and sort LP protections into ones you control and ones you don't.

Time
20 minutes
You'll need
a calculator (or a spreadsheet)
Builds on
Lesson 10

Warm-up

Check yourself

A pool holds $50 million, but only $8 million of it covers the current price. A swap pays $1,000 in fees. Which liquidity shares the $1,000?

Check yourself

Flashbots' MEV-Share returns most of the MEV from a transaction to whoever sent it.[^1] Does that help a passive LP whose pool is traded against?

Members only

This course is for members.

The DeFi University membership on Skool opens all 31 courses here, plus the live calls and community. Private coaching clients have access too. Already a member? Sign in with your Skool email.