Example of the price manipulation with the use of flashloan. Recreation of the past incident - Twitter
This repo is only for the educational purpose.
-
Follow the instructions to install Foundry.
-
Clone repo and install dependencies:
forge install
-
Compile contracts:
forge build
-
For testing use this command (with different levels of verbosity - 'v'):
forge test -vvv