Journal of Applied Sciences ›› 2025, Vol. 43 ›› Issue (2): 195-207.doi: 10.3969/j.issn.0255-8297.2025.02.001

• Communication Engineering • Previous Articles    

Correctness Verification for Interactive Smart Contracts at Runtime

WANG Jiacheng, JIANG Jiajia, LI Dan, ZHANG Yushu   

  1. College of Computer Science and Technology/College of Software, Nanjing University of Aeronautics and Astronautics, Nanjing 211106, Jiangsu, China
  • Received:2023-08-31 Published:2025-04-03

Abstract: Compared with a single smart contract, interactive smart contracts have more complex interactions such as mutual calling. However, existing smart contract detection and verification methods primarily consider the problems existing in a single smart contract, and the correctness of interactive smart contracts cannot be guaranteed. To address this limitation, this paper proposes a method for verifying the correctness of interactive smart contracts, where behavior interaction priority (BIP) modeling is built for interactive smart contract systems and Solidity deployment diagram (SDD) is introduced to describe contract interactions. By employing formal verification techniques, the proposed approach ensures the correctness of the interactive smart contracts and realizes their reconstruction. Experimental results show that the proposed method can effectively verify the correctness of interactive contract systems.

Key words: blockchain, interactive smart contract, correctness determination, code generation

CLC Number: