As an integral part of the Decentralized Finance (DeFi) ecosystem, Automated Market Maker (AMM) based Decentralized Exchanges (DEXs) have gained massive traction with the revived interest in blockchain and distributed ledger technology in general. Most prominently, the top six AMMs -- Uniswap, Balancer, Curve, DODO, Bancor and Sushiswap -- hold in aggregate 15 billion USD worth of crypto-assets as of March 2021. Instead of matching the buy and sell sides, AMMs employ a peer-to-pool method and determine asset price algorithmically through a so-called conservation function. Compared to centralized exchanges, AMMs exhibit the apparent advantage of decentralization, automation and continuous liquidity. Nonetheless, AMMs typically feature drawbacks such as high slippage for traders and divergence loss for liquidity providers. This work establishes a general AMM framework describing the economics and formalizing the system's state-space representation. We employ our framework to systematically compare the top AMM protocols' mechanics, deriving their slippage and divergence loss functions. We further discuss security and privacy concerns associated with AMM DEXs, and conduct a comprehensive literature review on related work covering both DeFi and conventional market microstructure.
翻译:作为分散化金融(DeFi)生态系统的一个组成部分,基于分散化交易所(DEXs)的自动化市场制造商(AMM)获得了巨大的吸引力,因为对块链和分布式分类账技术的兴趣在总体上恢复了,最显著的是,前六大市场制造商(Uniswap、平衡商、Curve、DODO、Bancor和Sushiswap)在2021年3月之前拥有价值150亿美元的加密资产,总价值为150亿美元。AMM公司没有匹配买卖两面,而是采用同行对齐方法,通过所谓的保护功能对资产价格进行算法分析。与集中化交易所相比,AMM公司展示了权力下放、自动化和持续流动性的明显优势。然而,AMMM公司通常具有一些特征缺陷,如交易商的高度滑坡和流动性提供者的差别损失。这项工作建立了一个总体的AMM公司框架,说明经济情况,并正式确定系统空间代表。我们使用我们的框架,对AMM协议的顶级机械进行系统比较,从而推算出其滑落和亏损功能。我们进一步讨论了与IMEX公司相关的常规工作结构。