@mr_enigmaยท2 charts
Dashboard made by : engimadanalyst
Automated Market Maker (AMM): Unichain v2
This dashboard is a starting point for what data analysis we can do with AMM's on-chain data.
Uniswap V2, one of the most popular decentralized exchanges (DEXs) in the DeFi ecosystem, uses an Automated Market Maker (AMM) model to facilitate trading without the need for traditional order books. Instead of matching buy and sell orders, Uniswap V2 relies on liquidity pools, where users provide liquidity and earn fees in return. These pools are governed by a constant product formula, ensuring that assets are always available for trade.
This dashboard focuses on key metrics that help assess the health and performance of liquidity pools on Uniswap V2, particularly Total Value Locked (TVL) with fees and the top pairs by trading volume.
Metrics Calculation
- Liquidity / Total Value Locked (TVL)
This is calculated by adding the token deposits and withdraws to the pool to get the current balances of tokens in the pool, then using the latest USD price for these ERC20 tokens to derive the current USD value of the liquidity pool. --> (+deposit token A - withdraw token A) * USD price of token A + (+deposit token B - withdraw token B) * USD price of token B
- Fees for LP Liquidity Providers (LPs) receive a portion of the fees being charged by the pool as incentives to provide liquidity. 0.3% is charged for transactions. 0.05% goes to the protocol and 0.23% goes to the liquidity provider.
Fees = USD Volume * 0.3% during a specific period
For the volume metric, we can understand how much flows through each pool
TVL with Fees
The Total Value Locked (TVL) is a critical metric for any DeFi protocol, representing the total value of assets currently held in liquidity pools. Higher TVL indicates a more liquid market, which leads to better pricing and less slippage for traders.
Fees are another important aspect for liquidity providers (LPs), as they earn a portion of transaction fees based on their share of the pool. In Uniswap V2, LPs receive a fee of 0.3% per trade, distributed proportionally across the pool.
This visualization provides a comprehensive overview of the TVL in various Uniswap V2 liquidity pools, along with the fees generated in the last 24 hours. By analyzing this data, we can gain insights into which pools are attracting the most liquidity and generating the highest fees.
Top Pairs by Volume
The top pairs by volume represent the most traded token pairs on Uniswap V2. These pairs tend to have the highest liquidity and are critical for active traders. The volume directly correlates with the trading activity and liquidity needs of each pool.
This visualization ranks the top pairs by their USD volume over the last 24 hours, highlighting which pairs are driving the most activity. By analyzing this data, we can identify the market dynamics and trading behavior of the Uniswap V2 ecosystem.