<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by cloque.finance on Medium]]></title>
        <description><![CDATA[Stories by cloque.finance on Medium]]></description>
        <link>https://medium.com/@cloque.finance?source=rss-9a80d7e8b53c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*vtxQkea1MFwv-nhPCTdejg.png</url>
            <title>Stories by cloque.finance on Medium</title>
            <link>https://medium.com/@cloque.finance?source=rss-9a80d7e8b53c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 17:42:40 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@cloque.finance/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The Dark Forest isn’t far from Chicago (Part 1)]]></title>
            <link>https://medium.com/cloque-finance/the-dark-forest-isnt-far-from-chicago-part-1-1c3d95f1b85e?source=rss-9a80d7e8b53c------2</link>
            <guid isPermaLink="false">https://medium.com/p/1c3d95f1b85e</guid>
            <category><![CDATA[mev]]></category>
            <category><![CDATA[miner-extractable-value]]></category>
            <dc:creator><![CDATA[cloque.finance]]></dc:creator>
            <pubDate>Fri, 26 Feb 2021 13:12:59 GMT</pubDate>
            <atom:updated>2021-02-26T14:46:31.361Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MxumKif2ZVjBDAZzV6qgJw.png" /></figure><p><a href="https://ethresear.ch/t/mev-auction-auctioning-transaction-ordering-rights-as-a-solution-to-miner-extractable-value/6788">Miner-Extractable Value</a> (MEV) has been gaining <a href="https://twitter.com/_charlienoyes/status/1357859330175889410?s=21">attention</a> lately especially with increasing DeFi activity on Ethereum. It is estimated that MEV can far surpass usual transaction fees which in itself is close to block rewards these days. Consequently, there are growing concerns of miners trying to maximize MEV extraction from arbitrages and liquidations leading to high gas prices and network congestion. Moreover, transaction elision (selectively excluding transactions) and transaction reordering provide miners incentives for chain reorganizations threatening the stability and hence existence of Ethereum.</p><p>In this two-part introductory post, we first draw out similarities between MEV in Ethereum’s <a href="https://medium.com/@danrobinson/ethereum-is-a-dark-forest-ecc5f0505dff">Dark Forest</a> and similar parasitic activities, particularly frontrunning by High-Frequency Trading firms commonly based out of Chicago, in TradFi. After a brief overview of the problem space, in a follow-up post, we suggest a block space market called Cloque as a solution to aligning the incentives of miners, traders and users to mitigate the adverse effects of MEV.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*S4SgC_Jjg6j9C2ub" /><figcaption>A recent <a href="https://medium.com/flashbots/quantifying-mev-introducing-mev-explore-v0-5ccbee0f6d02">study</a> found that at least USD 314.2M has been extracted in the form of MEV since the last year and is growing exponentially. In fact, these numbers are considered to be far lower than the actual MEV extracted due to limitations in tooling, identifying non-trivial MEV opportunities and protocols studied. Furthermore, the actual MEV extracted today is very likely a small subcomponent of what can theoretically be extracted illustrating the gravity of the problem.</figcaption></figure><p><strong>A simple example: Frontrunning</strong></p><p>Ever since Michael Lewis’ book <a href="https://www.amazon.com/Flash-Boys-Wall-Street-Revolt/dp/0393351599"><em>Flash Boys</em></a><em> </em>came out, speculators, investors and regulators alike have been fascinated by how high-frequency traders have been using sophisticated algorithms and low-latency infrastructure to frontrun trades.</p><p>Frontrunning is the practice of using the knowledge of a large impending trade to take a favorable position in the market before that trade is executed. It is considered a parasitic affair since it generates profits at the expense of other traders without providing any benefit in return. They do not make markets more liquid or prices more informative and are simply considered to be zero-sum games where users end up paying a higher price with the additional inconvenience of several failed orders.</p><p>It wouldn’t be incorrect to think of frontrunners as concert <a href="https://en.wikipedia.org/wiki/Ticket_resale">ticket hoarders</a> who purchase tickets in bulk as soon as sales go live and then immediately list them for resale to other concert goers at a premium. Similarly, a frontrunner preys on other traders by using knowledge of a large order to buy and immediately relist that particular asset at a higher price before the original order is executed resulting in the original purchaser having to buy that asset at a higher price from the frontrunner.</p><p><strong>Systemic issues that lead to frontrunning</strong></p><p>Frontrunning in stock markets is often attributed to the Regulation National Market System (NMS) which requires:</p><p>(i) consolidated market data: all registered exchanges must make their best bids and offers available to all market participants via a consolidated data feed called the Securities Information Processor (SIP) which collates the national best bid and offer (NBBO);</p><p>(ii) order protection: all registered exchanges must fulfil any order at NBBO even if it requires rerouting orders to another exchange.</p><p>The top 3 stock exchanges (Nasdaq, NYSE and BATS) comprise only 44% of the total trading volume. HFTs pay exchanges hefty sums to colocate their servers and receive raw order data via direct feeds. As a result, even though the law mandates that exchanges transmit quotes to the SIP before anyone else, HFTs are able to aggregate raw data from the direct feeds at least 10ms before the slower SIP infrastructure can make the consolidated feed available to retail participants.</p><p>HFTs use this performance advantage in various ways:</p><p>(i) A large order that can’t be fulfilled by an exchange at NBBO is partially filled and forwarded to another exchange. HFTs detect the partial fill and frontrun the remaining order at the other exchanges.</p><p>(ii) A broker might slice his order into smaller orders. HFTs use pattern recognition algorithms in addition to determining the identity of the broker (using latency tables and measuring the time differences between which orders reach the different exchanges) to estimate the order’s characteristics and front-run it.</p><p>(iii) Some brokers use dark pools which are not required to make quotes available to the SIP until they are matched. HFTs place hundreds of small orders per second to detect such hidden orders and then front-run them. This technique is also called sniping.</p><p>Such activities despite harming an exchange’s other users are still encouraged by them since they account for as much as 50–70% of their trading volumes and also pay a rent for colocation and ultra low-latency connectivity.</p><p>As we show below, such interactions and circumstances albeit with different market participants are no different in DeFi.</p><p><strong>Parasitic bots on Ethereum</strong></p><p>Not unlike HFT, frontrunning in DeFi is automated via bots which listen for transactions in the mempool and react by making new transactions when they find interesting opportunities.</p><p>Decentralized exchanges built on Ethereum have three characteristic differences when compared to stock markets:</p><p>(i) There’s no single location of a DEX or its order book. The control of the matching engine changes every block to a randomly chosen block producer.</p><p>(ii) As a result, transactions are normally gossiped amongst all nodes in the P2P network in contrast to sending them directly to a centralized exchange.</p><p>(iii) While stock exchanges and brokers are barred from trading based on the knowledge of trades that pass through it, there’s no such restriction on block producers.</p><p>These dissimilarities have led to some interesting consequences on Ethereum resembling HFT’s repercussions in TradFi.</p><p><em>Generalized frontrunner</em></p><p>Since orders are transparent in a blockchain mempool, bots try to frontrun other traders by paying a higher gas price. This results in users getting a worse exchange rate than they otherwise would have, similar to the invisible tax HFT extracts from stock traders.</p><p>Bots are usually coded with protocol-specific strategies which require innate knowledge of the mechanics of the concerned protocol. However, off late, there’s evidence of bots employing generalized strategies which work across protocols replicating profitable transactions in the mempool and only replacing address fields to correspond to their own. Think of a blackhat frontrunning a whitehat’s <a href="https://medium.com/@danrobinson/ethereum-is-a-dark-forest-ecc5f0505dff">attempt</a> to extract funds from a vulnerable contract. Such strategies vastly expand the scope and competition in MEV extraction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*XEKviFqHygRAaDnv" /><figcaption>Transaction fees now account for ~50% of miner revenue</figcaption></figure><p><em>Priority Gas Auctions (PGAs)</em></p><p>In a competitive market, several bots compete with one another to take advantage of such opportunities. This leads to gas price wars where bots incrementally increase gas price to prioritize their transactions over the rest.</p><p>Such actions bloat the chain as well as the P2P network with several failed transactions. Not only do winning bots lose a major part of their profits to gas fees with losing traders paying such fees without any gain, but so do users with no involvement in these activities who end up paying a high gas fee to get their transaction included. The network congestion is similar to sniping described above where HFTs bombard exchanges with thousands of transactions occasionally leading to fines for quote stuffing as was faced by <a href="https://www.nasdaqtrader.com/content/marketregulation/NASDAQ/DisciplinaryActions/CDRG_NQ_2014.pdf">Citadel</a>.</p><p><em>Private mempools</em></p><p>While a fee market is embedded in the design of blockchains to prioritize insertion of transactions, some traders try to gain direct access to mining pools for transaction prioritization. <a href="https://www.rekt.news/return-to-the-dark-forest/">Bloxroute</a> and SparkPool’s <a href="https://samczsun.com/escaping-the-dark-forest/">Taichi Network</a> provide such services which are akin to trading venues sharing specialized order types solely with HFTs that prioritize their transactions over other users. UBS was fined by the SEC for such <a href="https://www.sec.gov/litigation/admin/2015/33-9697.pdf">violations</a> by a dark pool it operated.</p><p><strong>Beyond frontrunning</strong></p><p>While we have limited our focus to frontrunning, a number of other techniques such sandwiching and tailgating are used by arbitrageurs and liquidators. Heck, frontrunning itself can also be used for participation in Initial Coin Offerings (ICOs) or first come, first serve (FCFS) auctions such as that of low edition NFTs. In fact, being a general compute platform, complex interactions between smart contracts on Ethereum only increases opportunities for MEV leading most to believe that it is impossible to eliminate them without limiting the functionality of Ethereum itself.</p><p>Employment of these tactics requires technical understanding of various protocols with modified Geth installations and tools to quickly simulate the impact of transactions in the mempool on the blockchain state. While colocation is not an option given the random and distributed nature of matching engines in decentralized settings, optimized connectivity to mining pools as provided by <a href="https://www.marlin.pro/">Marlin</a> or running multiple servers around the globe provide some alternatives.</p><p>These factors together ensure that professional bot operators have an edge over the rest similar to how direct data feeds provide HFTs an unfair advantage over other market participants using the consolidated data feed. Moreover, there’s a certain amount of risk involved with such activities due to loss of gas fees when transactions fail. A significant chunk of profits from winning trades are also lost to gas making indulgence in such acts worthwhile only for entities who do the same professionally.</p><p>Asymmetric access to information, high technical barriers, financial risks and profits that only make sense when done in scale create the same divide of haves and have nots that exist in traditional markets.</p><p><strong>The house always wins</strong></p><p>Unsurprisingly, miners have quietly emerged as the primary beneficiaries of this extremely competitive activity. Ultimately, it is them who decide whether a transaction is included or excluded from a block and more so their relative order of execution. This ability to dictate inclusion as well as set ordering gives them the privilege to include their <a href="https://oko.palkeo.com/11708078/https://oko.palkeo.com/11708078/">own transactions</a> at preferential positions for 0 fees, take transactional commissions or negotiate off-band <a href="https://twitter.com/bantg/status/1349470728320659456?s=20">compensation</a> from traders to convey their choices. The PGAs that such trades result in lead to high gas prices in general, increasing transaction fee revenue for miners irrespective of the nature of the transaction. In fact, there are certain forms of MEV that only miners can extract due to their unique monopoly.</p><p>Such misaligned incentives damage user experience and more so their faith in the system due to the systemic unfairness they bring along. Particularly in the case of Ethereum, such opportunities in the face of reducing block rewards pose the risk of time-bandit attacks where it makes sense for rational miners to reorg the chain to reassign MEV in past blocks. Moreover, non-DeFi savvy miners are put at a disadvantage as compared to ones who exploit MEV opportunities directly risking miner centralization. HFTs have been threatening the financial world in a similar way often being accused of flash crashes and market instability.</p><p><strong>All hope’s not lost</strong></p><p>Bringing structure to unstructured randomized networks has been the cornerstone of the scalability debate. Whilst enhancing performance, they trade-off security and decentralization. As it stands today, it is clear that the lack of coordination is doing more harm than good as far as MEV-related issues are concerned. A number of projects including KeeperDAO, ArcherDAO, Marlin, B-Protocol and FlashBots are working on democratizing access to MEV opportunities and/or regulating activities of different actors making different assumptions and trade-offs along the road. The common goal is to reduce the negative externalities of MEV (block and network congestion) and redistributing its profits (which is currently scattered amongst bots and miners) for the common good.</p><p>We’ll be exploring various approaches, including ours, and showing where they all lie in a spectrum of trade-offs in the upcoming post. Once again, most of these approaches have parallels to proposals made to reduce the influence of HFTs in traditional markets.</p><p><strong>Join us</strong></p><p>We’re thrilled to make <a href="https://www.cloque.finance/">Cloque</a> the largest block space market to support the DeFi ecosystem and maintain the sanctity of blockchains against MEV-led vulnerabilities. We invite quant funds, traders, exchanges, miners and validators to join us in our journey.</p><p>Follow us on <a href="https://twitter.com/CloqueFinance">Twitter</a> and join us on <a href="https://t.me/CloqueFinanceAnn">Telegram</a> to stay on top of latest developments.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1c3d95f1b85e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/cloque-finance/the-dark-forest-isnt-far-from-chicago-part-1-1c3d95f1b85e">The Dark Forest isn’t far from Chicago (Part 1)</a> was originally published in <a href="https://medium.com/cloque-finance">Cloque Finance</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>