Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 763 Bytes

EtherFlashLoan.md

File metadata and controls

29 lines (18 loc) · 763 Bytes

Ether Flash Loan

Overview

The Ether Flash Loan contract allows liquidity providers deposit Ether. The Ether in the pool can be lent out in a flash loan. The receiver of the flash loan must expose a payable execute() function. By the end of execute(), the flash loan must be payed back. There is no fee. Your objective is to drain the flash loan pool, despite those pesky reentrancy guards.

Contracts in Scope

EtherFlashLoan.vy

Exploit Contract

EtherFlashLoanExploit.vy

Proof of Concept Script

ether-flash-loan.challenge.js

Execute Test

yarn test:ether-flash-loan

Good Hacking.