Paper 2021/1101

Differential Privacy in Constant Function Market Makers

Tarun Chitra, Guillermo Angeris, and Alex Evans

Abstract

Constant function market makers (CFMMs) are the most popular mechanism for facilitating decentralized trading. While these mechanisms have facilitated hundreds of billions of dollars of trades, they provide users with little to no privacy. Recent work illustrates that privacy cannot be achieved in CFMMs without forcing worse pricing and/or latency on end users. This paper more precisely quantifies the trade-off between pricing and privacy in CFMMs. We analyze a simple privacy-enhancing mechanism called Uniform Random Execution and prove that it provides $(\epsilon, \delta)$-differential privacy. The privacy parameter $\epsilon$ depends on the curvature of the CFMM trading function and the number of trades executed. This mechanism can be implemented in any blockchain system that allows smart contracts to access a verifiable random function. We also investigate the worst case complexity over all private CFMM mechanisms using recent results from private PAC learning. These results suggest that one cannot do much better than Uniform Random Execution in CFMMs with non-zero curvature. Our results provide an optimistic outlook on providing partial privacy in CFMMs.

Metadata
Available format(s)
PDF
Category
Applications
Publication info
Preprint. MINOR revision.
Keywords
decentralized exchangesdifferential privacy
Contact author(s)
tarun @ gauntlet network
History
2021-08-26: received
Short URL
https://ia.cr/2021/1101
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2021/1101,
      author = {Tarun Chitra and Guillermo Angeris and Alex Evans},
      title = {Differential Privacy in Constant Function Market Makers},
      howpublished = {Cryptology {ePrint} Archive, Paper 2021/1101},
      year = {2021},
      url = {https://eprint.iacr.org/2021/1101}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.