Formal Analysis of Composable DeFi Protocols

Palina Tolmach, Yi Li, Shang-Wei Lin, Yang Liu
2/28/2021
cs.CR

Official code: palinatolmach/DeFi-csp-models (9 stars, C#, last commit 2021-01-18).

Abstract

Decentralized finance (DeFi) has become one of the most successful applications of blockchain and smart contracts. The DeFi ecosystem enables a wide range of crypto-financial activities, while the underlying smart contracts often contain bugs, with many vulnerabilities arising from the unforeseen consequences of composing DeFi protocols together.

Show full abstract

In this paper, we propose a formal process-algebraic technique that models DeFi protocols in a compositional manner to allow for efficient property verification. We also conduct a case study to demonstrate the proposed approach in analyzing the composition of two interacting DeFi protocols, namely, Curve and Compound. Finally, we discuss how the proposed modeling and verification approach can be used to analyze financial and security properties of interest.

View on arXivView PDF

Code Implementations(1)

93C#Jan 15, 20215 years ago

Similar Papers

Cite this paper

@article{tolmach2021formal,
  title  = {Formal Analysis of Composable DeFi Protocols},
  author = {Palina Tolmach and Yi Li and Shang-Wei Lin and Yang Liu},
  year   = {2021},
  eprint = {2103.00540},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.00540}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2103.00540.svg)](https://codeofpaper.com/paper/2103.00540)

Discussion