Computer Science > Formal Languages and Automata Theory
[Submitted on 22 Feb 2021 (v1), last revised 16 Dec 2022 (this version, v7)]
Title:A theory of Automated Market Makers in DeFi
View PDFAbstract:Automated market makers (AMMs) are one of the most prominent decentralized finance (DeFi) applications. AMMs allow users to trade different types of crypto-tokens, without the need to find a counter-party. There are several implementations and models for AMMs, featuring a variety of sophisticated economic mechanisms. We present a theory of AMMs. The core of our theory is an abstract operational model of the interactions between users and AMMs, which can be concretised by instantiating the economic mechanisms. We exploit our theory to formally prove a set of fundamental properties of AMMs, characterizing both structural and economic aspects. We do this by abstracting from the actual economic mechanisms used in implementations, and identifying sufficient conditions which ensure the relevant properties. Notably, we devise a general solution to the arbitrage problem, the main game-theoretic foundation behind the economic mechanisms of AMMs.
Submission history
From: Massimo Bartoletti [view email] [via Logical Methods In Computer Science as proxy][v1] Mon, 22 Feb 2021 20:44:52 UTC (122 KB)
[v2] Sat, 24 Apr 2021 13:12:46 UTC (124 KB)
[v3] Wed, 12 Jan 2022 16:55:19 UTC (71 KB)
[v4] Tue, 1 Feb 2022 22:12:11 UTC (71 KB)
[v5] Mon, 8 Aug 2022 16:17:20 UTC (81 KB)
[v6] Thu, 1 Dec 2022 16:09:20 UTC (99 KB)
[v7] Fri, 16 Dec 2022 12:54:06 UTC (100 KB)
References & Citations
Bibliographic and Citation Tools
Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)
Code, Data and Media Associated with this Article
alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.