A theory of Automated Market Makers in DeFi

M. Bartoletti]Massimo Bartoletti
University of Cagliari, Cagliari, Italy

J. Chiang]James Hsin-yu Chiang
Technical University of Denmark, DTU Compute, Copenhagen, Denmark

A. Lluch-Lafuente]Alberto Lluch-Lafuente
Technical University of Denmark, DTU Compute, Copenhagen, Denmark

[1]
Guillermo Angeris and Tarun Chitra.
Improved price oracles: Constant function market makers.
In ACM Conference on Advances in Financial Technologies
(AFT), pages 80–91. ACM, 2020.

[2]
Guillermo Angeris, Alex Evans, and Tarun Chitra.
When does the tail wag the dog? curvature and market making.
arXiv preprint arXiv:2012.08040, 2020.

[3]
Guillermo Angeris, Hsien-Tang Kao, Rei Chiang, Charlie Noyes, and Tarun Chitra.
An analysis of Uniswap markets.
Cryptoeconomic Systems, 1(1), 2021.

[4]
Balancer whitepaper, 2019.
<https://balancer.finance/whitepaper/ >.

[5]
Massimo Bartoletti, James Hsin-yu Chiang, and Alberto Lluch-Lafuente.
SoK: Lending pools in decentralized finance.
In Financial Cryptography Workshops, volume 12676 of LNCS, pages 553–578. Springer, 2021.

[6]
Massimo Bartoletti, James Hsin-yu Chiang, and Alberto Lluch-Lafuente.
A Theory of Automated Market Makers in DeFi.
In Coordination Models and Languages, volume 12717 of LNCS, pages 168–187. Springer, 2021.

[7]
Massimo Bartoletti, James Hsin-yu Chiang, and Alberto Lluch-Lafuente.
Towards a theory of decentralized finance.
In Financial Cryptography Workshops, volume 12676 of LNCS, pages 227–232. Springer, 2021.

[8]
Massimo Bartoletti, James Hsin-yu Chiang, and Alberto Lluch-Lafuente.
Maximizing extractable value from Automated Market Makers.
In Financial Cryptography, LNCS. Springer, 2022.
To appear.

[9]
Carsten Baum, James Hsin yu Chiang, Bernardo David, Tore Kasper Frederiksen,
and Lorenzo Gentile.
SoK: Mitigation of front-running in decentralized finance.
Cryptology ePrint Archive, Report 2021/1628, 2021.

[10]
Tarun Chitra, Guillermo Angeris, and Alex Evans.
Differential privacy in constant function market makers.
To appear.

[11]
Curve statistics, 2020.

[12]
Curve computation of invariant constant, 2021.

[13]
Curve token pair implementation, 2021.

[14]
Documented timeline of DeFi exploits, 2021.

[15]
P. Daian, S. Goldfeder, T. Kell, Y. Li, X. Zhao, I. Bentov,
L. Breidenbach, and A. Juels.
Flash boys 2.0: Frontrunning in decentralized exchanges, miner
extractable value, and consensus instability.
In IEEE Symposium on Security and Privacy, pages 910–927.
IEEE, 2020.

[16]
Vincent Danos, Hamza El Khalloufi, and Julien Prat.
Global order routing on exchange networks.
In Financial Cryptography Workshops, volume 12676 of LNCS, pages 207–226. Springer, 2021.

[17]
Alex Evans, Guillermo Angeris, and Tarun Chitra.
Optimal fees for geometric mean market makers.
In Financial Cryptography Workshops, volume 12676 of LNCS, pages 65–79. Springer, 2021.

[18]
Michael Egorov.
Stableswap - efficient mechanism for stablecoin, 2019.

[19]
Shayan Eskandari, Seyedehmahsa Moosavi, and Jeremy Clark.
SoK: Transparent Dishonesty: Front-Running Attacks on Blockchain.
In Financial Cryptography, pages 170–189, Cham, 2020. Springer
International Publishing.

[20]
Uniswap Documentation: Understanding Returns, 2020.

[21]
Bhaskar Krishnamachari, Qi Feng, and Eugenio Grippo.
Dynamic curves for decentralized autonomous cryptocurrency exchanges.
arXiv preprint arXiv:2101.02778, 2021.

[22]
Makerdao website, 2020.

[23]
Antoni W. Mazurkiewicz.
Basic notions of trace theory.
In Linear Time, Branching Time and Partial Order in Logics and
Models for Concurrency, volume 354 of LNCS, pages 285–363. Springer,

[24]
Mooniswap implementation, 2020.

[25]
Mooniswap whitepaper, 2020.

[26]
Kaihua Qin, Liyi Zhou, and Arthur Gervais.
Quantifying blockchain extractable value: How dark is the forest?

[27]
Kaihua Qin, Liyi Zhou, Benjamin Livshits, and Arthur Gervais.
Attacking the DeFi ecosystem with flash loans for fun and profit.
In Financial Cryptography, volume 12674 of LNCS, pages
3–32. Springer, 2021.

[28]
Formal specification of constant product market maker model & implementation,

[29]
SushiSwap token pair implementation, 2021.

[30]
Tinyman: Official announcement about the incidents of 01.01.2022, 2022.

[31]
Uniswap flash loan implementation, 2020.

[32]
Uniswap oracle template, 2020.

[33]
Uniswap statistics, 2020.

[34]
Uniswap token pair implementation, 2021.

[35]
Improving frontrunning resistance of x*y=k market makers, 2018.

[36]
Sam M. Werner, Daniel Perez, Lewis Gudgeon, Ariah Klages-Mundt, Dominik Harz,
and William J. Knottenbelt.
Sok: Decentralized finance (defi), 2021.

[37]
Dabao Wang, Siwei Wu, Ziling Lin, Lei Wu, Xingliang Yuan, Yajin Zhou, Haoyu
Wang, and Kui Ren.
Towards understanding flash loan and its applications in DeFi
arXiv preprint arXiv:2010.12252, 2020.

[38]
Liyi Zhou, Kaihua Qin, Christof Ferreira Torres, Duc V Le, and Arthur Gervais.
High-Frequency Trading on Decentralized On-Chain Exchanges.
arXiv preprint arXiv:2009.14021, 2020.