Skip to main navigation Skip to search Skip to main content

The Power of Default: Measuring the Effect of Slippage Tolerance in Decentralized Exchanges

  • Nir Chemaya
  • , Dingyue Liu
  • , Robert McLaughlin
  • , Nicola Ruaro
  • , Christopher Kruegel
  • , Giovanni Vigna

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

1 Scopus citations

Abstract

In recent years, we have seen the growth of decentralized finance (DeFi), an ecosystem of financial applications and protocols that enable complex, automated, permissionless financial transactions in blockchains (such as Ethereum). We examine decentralized exchanges (DEX), a key DeFi component that facilitates token swaps. DEX prices update continuously and automatically after each swap, creating price shifts for users as their swaps (trades) wait to execute. Users protect themselves from these price shifts by setting a slippage tolerance, which represents the maximum acceptable price increase. This setting is a double-edged sword: lenient tolerance can be exploited through sandwich attacks, which cost the ecosystem over $100 million annually, but stricter tolerance may cause unnecessary failures. We perform a large-scale measurement of the impact of slippage tolerance settings on the health of the Uniswap and Sushiswap DEX ecosystems. To this end, we examine a recent change in Uniswap’s default slippage setting, which aimed to mitigate sandwich attacks without increasing the likelihood of transaction failures. This change removed the prior, static default – 0.5% – in favor of one dynamically computed for each transaction based on market conditions so that sandwich attacks are less profitable. We find that, overall, Uniswap’s new default slippage setting leads to a substantial reduction in Uniswap traders’ losses, approximately 54.7%. The effect is even more pronounced 90% when we only consider traders who followed the default settings.

Original languageEnglish
Title of host publicationFinancial Cryptography and Data Security - 28th International Conference, FC 2024, Revised Selected Papers
EditorsJeremy Clark, Elaine Shi
PublisherSpringer Science and Business Media Deutschland GmbH
Pages192-208
Number of pages17
ISBN (Print)9783031786754
DOIs
StatePublished - 1 Jan 2025
Externally publishedYes
Event28th International Conference on Financial Cryptography and Data Security, FC 2024 - Willemstad, Netherlands
Duration: 4 Mar 20248 Mar 2024

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume14744 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference28th International Conference on Financial Cryptography and Data Security, FC 2024
Country/TerritoryNetherlands
CityWillemstad
Period4/03/248/03/24

Keywords

  • Automated Market Makers
  • Blockchain
  • DeFi
  • Default Effect

ASJC Scopus subject areas

  • Theoretical Computer Science
  • General Computer Science

Fingerprint

Dive into the research topics of 'The Power of Default: Measuring the Effect of Slippage Tolerance in Decentralized Exchanges'. Together they form a unique fingerprint.

Cite this