MEV: Prevention

Learn how to improve contract design, using private mempools, and implementing slippage protection against MEV bots.

Solidity Developer

Smart Contract Security

1. Introduction
We're introduced to the section with Patrick and encouraged to strength our skills through consistent practice. Duration: 1min
2. Perseverance
Patrick explains why Vault Guardians won't be covered together and encourages community collaboration! Duration: 3min
3. MEV: Introduction
Patrick introduces and details the concept of MEV and MEV bots. Duration: 4min
4. MEV: Minimized
Patrick discusses examples of MEV vulnerabilities as detailed in the sc-exploits-minimized repo. Duration: 1min
5. MEV: Puppy Raffle
MEV Vulnerabilities in Puppy Raffle discussed! Duration: 2min
6. MEV: TSwap
MEV Vulnerabilities in TSwap discussed! Duration: 2min
7. MEV: ThunderLoan
MEV Vulnerabilities in Thunder Loan discussed! Duration: 2min
8. MEV: BossBridge
MEV Vulnerabilities in Boss Bridge discussed! Duration: 1min
9. MEV: LIVE
Patrick demonstrates himself getting front ran in a recording of a live example. Duration: 12min
10. MEV: Live AGAIN
Patrick highlights the ability of MEV bots to bypass attempts at blocking them, even with added complexity or obscurity in a smart contract. Duration: 6min
11. Case Study: Pashov
The legendary Pashov walks us through a case study of MEV Exploitation. Duration: 24min
12. MEV: Prevention
Learn how to improve contract design, using private mempools, and implementing slippage protection against MEV bots. Duration: 4min
13. MEV: Recap
Patrick focuses on prevention and mitigation in this lesson on MEV vulnerabilities. Duration: 2min
14. Governance Attack: Intro
Guest speaker Juliette Chavalier introduces us to the mechanisms of a governance attack. Duration: 7min
15. Case Study: Bean
Patrick walks us through the Beanstalk case study wherein a flashloan was leveraged in a governance attack. Duration: 20min
16. End Part 1
A final recap and congratulations for completion of Part 1 of the Security Course! Well done! Duration: 9min

Testimonials

Students Reviews

Read what our students have to say about this course.

Chainlink

Chainlink

Chainlink

Gustavo Gonzalez

Gustavo Gonzalez

Solutions Engineer at OpenZeppelin

Francesco Andreoli

Francesco Andreoli

Lead Devrel at Metamask

Albert Hu

Albert Hu

DeForm Founding Engineer

Radek

Radek

Senior Developer Advocate at Ceramic

Boidushya

Boidushya

WalletConnect

Idris

Idris

Developer Relations Engineer at Axelar

Cyfrin
Updraft
CodeHawks
Solodit
Resources