Flash Boys 2.0: Frontrunning in Decentralized Exchanges, Miner Extractable Value, and Consensus Instability

被引:183
|
作者
Daian, Philip [1 ]
Goldfeder, Steven [1 ]
Kell, Tyler [1 ]
Li, Yunqi [2 ]
Zhao, Xueyuan [3 ]
Bentov, Iddo [1 ]
Breidenbach, Lorenz [4 ]
Juels, Ari [1 ]
机构
[1] Cornell Tech, New York, NY 10044 USA
[2] UIUC, Chicago, IL USA
[3] CMU, Pittsburgh, PA USA
[4] Swiss Fed Inst Technol, Zurich, Switzerland
基金
美国国家科学基金会;
关键词
MANIPULATION; GAMES;
D O I
10.1109/SP40000.2020.00040
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Blockchains, and specifically smart contracts, have promised to create fair and transparent trading ecosystems. Unfortunately, we show that this promise has not been met. We document and quantify the widespread and rising deployment of arbitrage bots in blockchain systems, specifically in decentralized exchanges (or "DEXes"). Like high-frequency traders on Wall Street, these bots exploit inefficiencies in DEXes, paying high transaction fees and optimizing network latency to frontrun, i.e., anticipate and exploit, ordinary users' DEX trades. We study the breadth of DEX arbitrage bots in a subset of transactions that yield quantifiable revenue to these bots. We also study bots' profit-making strategies, with a focus on blockchains-pecific elements. We observe bots engage in what we call priority gas auctions (PGAs), competitively bidding up transaction fees in order to obtain priority ordering, i.e., early block position and execution, for their transactions. PGAs present an interesting and complex new continuous-time, partial-information, gametheoretic model that we formalize and study. We release an interactive web portal, frontrun.me, to provide the community with real-time data on PGAs. We additionally show that high fees paid for priority transaction ordering poses a systemic risk to consensus-layer security. We explain that such fees are just one form of a general phenomenon in DEXes and beyond-what we call miner extractable value (MEV)-that poses concrete, measurable, consensus-layer security risks. We show empirically that MEV poses a realistic threat to Ethereum today. Our work highlights the large, complex risks created by transaction-ordering dependencies in smart contracts and the ways in which traditional forms of financial-market exploitation are adapting to and penetrating blockchain economies.
引用
收藏
页码:910 / 927
页数:18
相关论文
empty
未找到相关数据