arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.07371cs.CR
收藏

A2MM:减轻去中心化交易所中的前沿、交易重排序和共识不稳定性

A2MM: Mitigating Frontrunning, Transaction Reordering and Consensus Instability in Decentralized Exchanges

Liyi Zhou, Kaihua Qin, Arthur Gervais

摘要:

自自动做市商(AMM)出现以来,基于区块链的交易所(DEX)的资产交易量大幅增加。然而,AMM及其分支在同一个区块链上竞争,通过吸引三明治攻击者和套利竞争,导致不必要的网络和块空间开销。此外,从概念上讲,区块链是一个数据库,我们没有理由将这个数据库划分为多个竞争的交易所,然后必然需要通过套利实现价格同步。本文表明,DEX套利和类似AMM之间的交易路由可以在智能合约中高效地、原子地在链上执行。这些见解引导我们创建一个新的AMM设计,一个自动套利做市商,短A2MM DEX。A2MM旨在联合多个AMM,以减少管理费用,成本并提高区块链安全性。关于Miner可提取值(MEV),A2MM作为一种分散的设计,供用户原子地收集MEV,减轻了集中式MEV中继服务的危险。我们表明,A2MM提供了基本的安全优势。首先,A2MM通过减少MEV的竞争性利用来加强区块链共识安全性,从而降低共识分叉的风险。A2MM减少了竞争性交易的网络层开销,改善了网络传播,从而减少了过时的区块,提高了区块链的安全性。通过交易路由,A2MM通过利用最小的有利可图的受害者投入来降低三明治攻击的掠夺性风险。A2MM还为交易者提供经济利益。来自竞争性交易的失败掉期交易占据了宝贵的区块空间,这意味着交易费用的上涨压力。我们的评估显示,A2MM释放了32.8%的AMM相关交易的块空间。预计A2MM的收入可以将掉期费用降低90%。

英文摘要:

The asset trading volume on blockchain-based exchanges (DEX) increased substantially since the advent of Automated Market Makers (AMM). Yet, AMMs and their forks compete on the same blockchain, incurring unnecessary network and block-space overhead, by attracting sandwich attackers and arbitrage competitions. Moreover, conceptually speaking, a blockchain is one database, and we find little reason to partition this database into multiple competing exchanges, which then necessarily require price synchronization through arbitrage. This paper shows that DEX arbitrage and trade routing among similar AMMs can be performed efficiently and atomically on-chain within smart contracts. These insights lead us to create a new AMM design, an Automated Arbitrage Market Maker, short A2MM DEX. A2MM aims to unite multiple AMMs to reduce overheads, costs and increase blockchain security. With respect to Miner Extractable Value (MEV), A2MM serves as a decentralized design for users to atomically collect MEV, mitigating the dangers of centralized MEV relay services. We show that A2MM offers essential security benefits. First, A2MM strengthens the blockchain consensus security by mitigating the competitive exploitation of MEV, therefore reducing the risks of consensus forks. A2MM reduces the network layer overhead of competitive transactions, improves network propagation, leading to less stale blocks and better blockchain security. Through trade routing, A2MM reduces the predatory risks of sandwich attacks by taking advantage of the minimum profitable victim input. A2MM also offers financial benefits to traders. Failed swap transactions from competitive trading occupy valuable block space, implying an upward pressure on transaction fees. Our evaluations shows that A2MM frees up 32.8% block-space of AMM-related transactions. In expectation, A2MM's revenue allows to reduce swap fees by 90%.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑