Smart contracts are pieces of software stored on the blockchain that control the transfer of assets between parties under certain conditions. In this paper we analyze the bahaviour of smart contracts and the interaction with external actors in order to maximize objective functions. We define a core language of programs with a minimal set of smart contract primitives and we describe the whole system as a parallel composition of smart contracts and users. We therefore express the system behaviour as a first logic formula in Presburger arithmetics and study the maximum profit for each actor by solving arithmetic constraints.

Laneve, C., Coen, C.S., Veschetti, A. (2019). On the Prediction of Smart Contracts’ Behaviours. Springer Verlag [10.1007/978-3-030-30985-5_23].

On the Prediction of Smart Contracts’ Behaviours

Laneve, Cosimo
;
Coen, Claudio Sacerdoti
;
Veschetti, Adele
2019

Abstract

Smart contracts are pieces of software stored on the blockchain that control the transfer of assets between parties under certain conditions. In this paper we analyze the bahaviour of smart contracts and the interaction with external actors in order to maximize objective functions. We define a core language of programs with a minimal set of smart contract primitives and we describe the whole system as a parallel composition of smart contracts and users. We therefore express the system behaviour as a first logic formula in Presburger arithmetics and study the maximum profit for each actor by solving arithmetic constraints.
2019
From Software Engineering to Formal Methods and Tools, and Back Essays Dedicated to Stefania Gnesi on the Occasion of Her 65th Birthday
397
415
Laneve, C., Coen, C.S., Veschetti, A. (2019). On the Prediction of Smart Contracts’ Behaviours. Springer Verlag [10.1007/978-3-030-30985-5_23].
Laneve, Cosimo; Coen, Claudio Sacerdoti; Veschetti, Adele
File in questo prodotto:
File Dimensione Formato  
accepted_manuscript.pdf

accesso aperto

Tipo: Postprint
Licenza: Licenza per accesso libero gratuito
Dimensione 1.25 MB
Formato Adobe PDF
1.25 MB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11585/701791
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 8
  • ???jsp.display-item.citation.isi??? ND
social impact