What Drives Liquidity on Decentralized Exchanges? Evidence from the Uniswap Protocol

Brian Z. Zhu,Dingyue Liu,Xin Wan,Gordon Liao,Ciamac C. Moallemi,Brad Bachu
2024-10-25
Abstract:We empirically study liquidity and market depth on decentralized exchanges (DEXs), identifying factors at the blockchain, token pair, and pool levels that predict future effective spreads for fixed trade sizes on Uniswap v3 pools. Introducing the v2 counterfactual spread metric, a novel criterion that assesses the degree of liquidity concentration in pools using the ``concentrated liquidity'' mechanism, we decompose the effect of each factor on market depth into two channels: total value locked (TVL) and concentration. We further explore how external liquidity from competing DEXs and fillers with private inventory on DEX aggregators influence market depth. We find, for moderately-sized swaps, that (i) gas prices, returns, and volatility affect spreads primarily through concentration, (ii) internalization of swaps by private liquidity sources affects spreads primarily through TVL, and (iii) fee revenue, markout, and DEX competition affect spreads through both channels.
Trading and Market Microstructure
What problem does this paper attempt to address?
### What problems does this paper attempt to solve? This paper aims to explore the liquidity in decentralized exchanges (DEXs) and the driving factors of their market depth, especially in the Uniswap protocol. Specifically, the author attempts to answer the following questions: 1. **Identify predictors affecting liquidity**: Research which factors (such as blockchain - level, token - pair - level, and pool - level factors) can predict the effective spread of a fixed - size trade in the Uniswap v3 pool in the future. 2. **Introduce new evaluation metrics**: Propose a new metric - the v2 counterfactual spread metric - to evaluate the impact of liquidity concentration in the pool. Through this new method, the author is able to decompose the impact of each factor on market depth into two channels: Total Value Locked (TVL) and concentration. 3. **The impact of external liquidity**: Explore how the external liquidity provided by other competitive DEXs and market makers (fillers) using private inventories affects market depth. In particular, study whether and how these external liquidity sources affect on - chain liquidity. ### Main contributions of the paper 1. **Identify liquidity predictors**: The author finds that variables such as gas price, token - pair yield and volatility, in - pool fee income, and marked bid have significant explanatory power for future liquidity. 2. **Introduce a new method for evaluating liquidity concentration**: By developing the v2 counterfactual spread metric, a novel method is provided to evaluate the liquidity concentration in the Uniswap v3 pool. 3. **Understand the impact of external liquidity**: Research shows that increased competition and the volume of transactions internalized by private market makers will negatively affect the on - chain liquidity of the Uniswap v3 pool, indicating that liquidity is dispersed among different DEXs. ### Research background and significance With the continuous development of the decentralized finance (DeFi) ecosystem, understanding the dynamic changes in liquidity in DEXs is crucial not only for traders and investors, but also for the development of the broader DeFi infrastructure. Liquidity research in traditional finance (TradFi) is quite mature, but the liquidity supply mechanism in DeFi is unique and more research is urgently needed to fill this gap. Through this research, the author hopes to provide valuable insights for the academic and practical fields, helping to better understand and optimize the liquidity supply mechanism in decentralized exchanges.