Skip to main navigation Skip to search Skip to main content

Formal verification of smart contracts from the perspective of concurrency

  • Meixun Qu
  • , Xin Huang*
  • , Xu Chen
  • , Yi Wang
  • , Xiaofeng Ma
  • , Dawei Liu
  • *Corresponding author for this work
    • Xi'an Jiaotong-Liverpool University
    • Tongji Blockchain Research Institute
    • Tongji University

    Research output: Chapter in Book or Report/Conference proceeding › Conference Proceeding › peer-review

    19 Citations (Scopus)

    Abstract

    Blockchain is an emerging technology with broad applications. As an important application of the blockchain, smart contracts can formulate trading rules to manage thousands of virtual currencies. Nowadays, the IoT (Internet of Things) combined with blockchain has become a new trend and smart contract can implement different transaction demands for IoT-blockchain systems. Once there exits vulnerability in the smart contract program, the security of the virtual currency will not be guaranteed. However, ensuring the security of smart contracts is never an easy task. On the one hand, existing smart contracts cannot identify fake users or malicious programs, which is difficult to be regulated at present; on the other hand, smart contracts involving in multiple trading users are very similar to shared-memory concurrent programs. To deal with these problems, this study uses formal verification methods, adopting the Communicating Sequence Processes (CSP) theory to formally model concurrent programs. Then the FDR (Failure Divergence Refinement), a refinement checker or model checker for CSP, is utilized to successfully detect the vulnerability regarding concurrency in one smart contract public in Ethereum. The results show the potential advantage of using CSP and FDR tool to check the vulnerability in smart contracts especially from the perspective of concurrency.

    Original languageEnglish
    Title of host publicationSmart Blockchain - 1st International Conference, SmartBlock 2018, Proceedings
    EditorsMeikang Qiu
    PublisherSpringer Verlag
    Pages32-43
    Number of pages12
    ISBN (Print)9783030057633
    DOIs
    Publication statusPublished - 2018
    Event1st International Conference on Smart Blockchain, SmartBlock 2018 - Tokyo, Japan
    Duration: 10 Dec 2018 → 12 Dec 2018

    Publication series

    NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
    Volume11373 LNCS
    ISSN (Print)0302-9743
    ISSN (Electronic)1611-3349

    Conference

    Conference1st International Conference on Smart Blockchain, SmartBlock 2018
    Country/TerritoryJapan
    CityTokyo
    Period10/12/18 → 12/12/18

    Keywords

    • Blockchain
    • CSP theory
    • Concurrency
    • FDR
    • Smart contracts

    Fingerprint

    Dive into the research topics of 'Formal verification of smart contracts from the perspective of concurrency'. Together they form a unique fingerprint.

    Cite this