Don't Let MEV Slip: The Costs of Swapping on the Uniswap Protocol

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Adams, Austin, Chan, Benjamin Y, Markovich, Sarit, Wan, Xin
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917642167648256
author Adams, Austin
Chan, Benjamin Y
Markovich, Sarit
Wan, Xin
author_facet Adams, Austin
Chan, Benjamin Y
Markovich, Sarit
Wan, Xin
contents We present the first in-depth empirical characterization of the costs of trading on a decentralized exchange (DEX). Using quoted prices from the Uniswap Labs interface for two pools -- USDC-ETH (5bps) and PEPE-ETH (30bps) -- we evaluate the efficiency of trading on DEXs. Our main tool is slippage -- the difference between the realized execution price of a trade, and its quoted price -- which we breakdown into its benign and adversarial components. We also present an alternative way to quantify and identify slippage due to adversarial reordering of transactions, which we call reordering slippage, that does not require quoted prices or mempool data to calculate. We find that the composition of transaction costs varies tremendously with the trade's characteristics. Specifically, while for small swaps, gas costs dominate costs, for large swaps price-impact and slippage account for the majority of it. Moreover, when trading PEPE, a popular 'memecoin', the probability of adversarial slippage is about 80% higher than when trading a mature asset like USDC. Overall, our results provide preliminary evidence that DEXs offer a compelling trust-less alternative to centralized exchanges for trading digital assets.
format Preprint
id arxiv_https___arxiv_org_abs_2309_13648
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Don't Let MEV Slip: The Costs of Swapping on the Uniswap Protocol
Adams, Austin
Chan, Benjamin Y
Markovich, Sarit
Wan, Xin
Cryptography and Security
Trading and Market Microstructure
We present the first in-depth empirical characterization of the costs of trading on a decentralized exchange (DEX). Using quoted prices from the Uniswap Labs interface for two pools -- USDC-ETH (5bps) and PEPE-ETH (30bps) -- we evaluate the efficiency of trading on DEXs. Our main tool is slippage -- the difference between the realized execution price of a trade, and its quoted price -- which we breakdown into its benign and adversarial components. We also present an alternative way to quantify and identify slippage due to adversarial reordering of transactions, which we call reordering slippage, that does not require quoted prices or mempool data to calculate. We find that the composition of transaction costs varies tremendously with the trade's characteristics. Specifically, while for small swaps, gas costs dominate costs, for large swaps price-impact and slippage account for the majority of it. Moreover, when trading PEPE, a popular 'memecoin', the probability of adversarial slippage is about 80% higher than when trading a mature asset like USDC. Overall, our results provide preliminary evidence that DEXs offer a compelling trust-less alternative to centralized exchanges for trading digital assets.
title Don't Let MEV Slip: The Costs of Swapping on the Uniswap Protocol
topic Cryptography and Security
Trading and Market Microstructure
url https://arxiv.org/abs/2309.13648