This application gathers and compares liquidity pool data from the Polygon network's Uniswap v2 pools. It identifies discrepancies between pool reserves data retrieved via getReserves and balanceOf, presenting the findings in a detailed JSON format for each pool, highlighting any inconsistencies.
RPC NODE can return archived data
mv .env.example .env
Run with load actual pools from cache
cargo run
Run with fetching actual pools from the network
cargo run --release
Output will be stored in output folder.
cargo test