Skip to content

🥪 Analyzing frequency of sandwich attacks on Uniswap V3 pools 🥪

Notifications You must be signed in to change notification settings

punwai/sandwich_analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🥪 sandwich_analysis 🥪

Intro

This repo analyzes the number of sandwich attacks that are present in UniswapV3 pools.

Extracting Data

Download data from Ethereum ETL, and save the CSV files to the output directory. Save the names of each of your files (blocks, transactions, logs) in the constant of analysis.py To convert CSV into parquet, add the following flags when executing the program: -lb = Load Blocks -ltt = Load Token Transfers -lt = Load Transactions -lr = Load Receipts -llogs = Load Logs

Running Program

To start the program, run the following script: python3 analysis.py N_BLOCKS

Where N_BLOCKS is the number of latest blocks that you will be analysing.

About

🥪 Analyzing frequency of sandwich attacks on Uniswap V3 pools 🥪

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages