Formal Verification of Atomicity Requirements for Smart Contracts
Smart contracts are notoriously vulnerable to bugs and loopholes. This is due largely to an unusual combination of features: re-entrant calls, transfer-triggered code execution, the way exceptions are propagated, etc. Numerous validation techniques have been developed to ensure the safety and security of smart contracts. An important class of problems dealt with is related to the atomic performance of actions such as contract calls and state updates. In this paper, we examine the major existing atomicity-related criteria for the safety and security of smart contracts. We then propose an atomicity criterion and argue about its advantages. Furthermore, we develop a Hoare-style program logic that is capable of verifying the fulfillment of safety requirements by smart contracts, including the satisfaction of the proposed criterion. The program logic is developed and proven sound for a core Solidity-like language, which supports reentrant calls, ether transfers, as well as exception handling.
Tue 1 DecDisplayed time zone: Osaka, Sapporo, Tokyo change
10:30 - 12:00 | Program Analysis and VerificationResearch Papers at online Chair(s): Benjamin Delaware Purdue University | ||
10:30 30mTalk | Declarative Stream Runtime Verification (hLola) Research Papers Martin Ceresa UNR - CIFASIS - CONICET, Felipe Gorostiaga IMDEA Software Institute, César Sánchez IMDEA Software Institute | ||
11:00 30mTalk | A Set-Based Context Model for Program Analysis Research Papers Zachary Palmer Swarthmore College, Scott F. Smith The Johns Hopkins University, Leandro Facchinetti The Johns Hopkins University, Ayaka Yorihiro Cornell University, Ke Wu Johns Hopkins University | ||
11:30 30mTalk | Formal Verification of Atomicity Requirements for Smart Contracts Research Papers Ning Han Capital Normal University, Ximeng Li Capital Normal University, Guohui Wang Capital Normal University, Beijing, China, Zhiping Shi Capital Normal University, Yong Guan Capital Normal University, Beijing, China |