This repository contains scripts and logic designed to analyze and compare the efficiency of Balancer pools with Uniswap V2 pools. The goal is to determine which protocol offers better trading experiences in terms of slippage, liquidity utilization, and other relevant metrics.
The insights drawn from this repository will be used in a comprehensive blog post discussing the pros and cons of the Balancer protocol.
Balancer-UniV2-comparison.js: This script contains the logic for calculating slippage, liquidity changes, and other trade-related metrics for both Balancer and Uniswap V2 pools.