Verification of Smart Contract Business Logic - Fundamentals of Software Engineering
Conference Papers Year : 2019

Verification of Smart Contract Business Logic

Abstract

Smart contracts have been argued to be a means of building trust between parties by providing a self-executing equivalent of legal contracts. And yet, code does not always perform what it was originally intended to do, which resulted in losses of millions of dollars. Static verification of smart contracts is thus a pressing need. This paper presents an approach to verifying smart contracts written in Solidity by automatically translating Solidity into Java and using KeY, a deductive Java verification tool. In particular, we solve the problem of rolling back the effects of aborted transactions by exploiting KeY’s native support of JavaCard transactions. We apply our approach to a smart contract which automates a casino system, and discuss how the approach addresses a number of known shortcomings of smart contract development in Solidity.
Fichier principal
Vignette du fichier
490001_1_En_16_Chapter.pdf (294.86 Ko) Télécharger le fichier
Origin Files produced by the author(s)

Dates and versions

hal-03769118 , version 1 (05-09-2022)

Licence

Identifiers

Cite

Wolfgang Ahrendt, Richard Bubel, Joshua Ellul, Gordon J. Pace, Raúl Pardo, et al.. Verification of Smart Contract Business Logic. 8th International Conference on Fundamentals of Software Engineering (FSEN), May 2019, Tehran, Iran. pp.228-243, ⟨10.1007/978-3-030-31517-7_16⟩. ⟨hal-03769118⟩
101 View
228 Download

Altmetric

Share

More