Automatic Code and Test Generation of Smart Contracts from Coordination Models
We propose a formal approach for specifying and implementing coordination logic in distributed systems, with a focus on smart contracts. Our model captures dynamic roles, data-driven transitions, and external coordination interfaces, enabling high-level reasoning about decentralized workflows. We implement a toolchain that supports formal model validation, code generation for Solidity (our framework is extendable to other smart contracts languages), and automated test synthesis. Although our implementation targets blockchain platforms, the methodology is platform-agnostic and may generalize to other service-oriented and distributed architectures.
We demonstrate the expressiveness and practicality of the approach by modeling and realising some coordination patterns in smart contracts.
Fri 3 JulDisplayed time zone: Brussels, Copenhagen, Madrid, Paris change
14:00 - 15:30 | Security & Smart ContractsTechnical Papers at I.2.03 Chair(s): Alejandro Russo Chalmers University of Technology; University of Gothenburg | ||
14:00 22mTalk | Proof-of-Theft: Dynamic Graph-based Fingerprinting of In-browser Cryptomining Technical Papers Tanapoom Sermchaiwong The Hong Kong University of Science and Technology, Jiasi Shen The Hong Kong University of Science and Technology | ||
14:22 22mTalk | Automatic Code and Test Generation of Smart Contracts from Coordination Models Technical Papers Elvis Konjoh Selabi Gran Sasso Science Institute and University of Camerino, Maurizio Murgia Gran Sasso Science Institute, António Ravara Nova University of Lisbon, Emilio Tuosto Gran Sasso Science Institute, L'Aquila, Italy | ||
14:45 22mTalk | Typing Fallback Functions: A Semantic Approach to Type Safe Smart Contracts Technical Papers Stian Lybech Reykjavik University, Daniele Gorla Department of Computer Science, Sapienza University of Rome, Luca Aceto Reykjavik University | ||
15:07 22mTalk | Efficient Symbolic Execution of Software under Fault Attacks Technical Papers Yuzhou Fang University of Southern California, Chenyu Zhou University of Southern California, Jingbo Wang Purdue University, Chao Wang University of Southern California | ||