Symbolic MEV Extraction
georgios@paradigm.xyz
@gakonst
Disclaimer: early brainstorm, I’m not a searcher, might be impractical, open-ended discussion
Question: Can we apply techniques used for software security in MEV extraction?
State of MEV Searching (for the most part)
State of MEV Searching (for the most part)
Black vs Grey vs White Box MEV Extraction
In MEV extraction:
But Ethereum is a Dark Forest
Can we build a bot that reliably extracts MEV on arbitrary contracts without knowledge of application logic?
Property-based Testing
Testing kinds:
Two ways to use:
Property-based MEV Extraction
Property-based MEV Extraction
What inputs? Random!?
Symbolic Execution
Symbolic Execution
Symbolic EVM Execution
Symbolic MEV Extraction
Black box, but much better than random because the constraints identify the structure of the problem, which z3 can solve effectively.
..people can get creative
..people can get creative
The Concrete vs Symbolic Searcher
“The Concrete”
THE SYMBOLIC
Rewrites solidity contracts in rust for speed
Looks for alpha
The alpha finds him
Code is 5 years old
Knows every contract inside out
Hasn’t checked the trends in weeks
Writes his properties once
Only does arbs, liqs & top of block
Maintenance takes all his time
Doesn’t know Solidity
Lets the solver do his job
Writes his own bots
Future: Fast Symbolic MEV Extraction
Thank you for your attention!
Q&A?
georgios@paradigm.xyz
@gakonst