Paper 2021/1249 Original: eprint.iacr.org/2021/1249 ↗

Flexible Anonymous Transactions (FLAX): Towards Privacy-Preserving and Composable Decentralized Finance

Wei Dai
Abstract

Decentralized finance (DeFi) refers to interoperable smart contracts running on distributed ledgers offering financial services beyond payments. Recently, there has been an explosion of DeFi applications centered on Ethereum, with close to a hundred billion USD in total assets deposited as of September 2021. These applications provide financial services such as asset management, trading, and lending. The wide adoption of DeFi has raised important concerns, and among them is the key issue of privacy---DeFi applications store account balances in the clear, exposing financial positions to public scrutiny. In this work, we propose a framework of anonymous and composable DeFi on public-state smart contract platforms. First, we define a cryptographic primitive called a flexible anonymous transaction (FLAX) system with two distinctive features: (1) transactions authenticate additional information known as ``associated data'' and (2) transactions can be applied flexibly via a parameter that is determined at processing time, e.g. during the execution time of smart contracts. Second, we design an anonymous token standard (extending ERC20), which admits composable usage of anonymous funds by other contracts. Third, we demonstrate how the FLAX token standard can realize privacy-preserving variants of the Ethereum DeFi ecosystem of today---we show contract designs for asset pools, decentralized exchanges, and lending, covering the largest DeFi projects to date including Curve, Uniswap, Dai stablecoin, Aave, Compound, and Yearn. Lastly, we provide formal security definitions for FLAX and describe instantiations from existing designs of anonymous payments such as Zerocash, RingCT, Quisquis, and Zether.

Metadata
Available format(s)
PDF
Category
Cryptographic protocols
Publication info
Preprint.
History
2022-03-18: last updated
2021-09-20: published
Short URL
https://ia.cr/2021/1249
License
https://creativecommons.org/licenses/by/4.0/

BibTeX

@misc{cryptoeprint:2021/1249,
      author = {Wei Dai},
      title = {Flexible Anonymous Transactions (FLAX): Towards Privacy-Preserving and Composable Decentralized Finance},
      howpublished = {Cryptology {ePrint} Archive, Paper 2021/1249},
      year = {2021},
      url = {https://eprint.iacr.org/2021/1249}
}
Note: In order to protect the privacy of readers, this archive does not use cookies or embedded third party content.