Capturing Smart Contract Design with DCR Graphs
Paper i proceeding, 2023

Smart contracts manage blockchain assets and embody business processes. However, mainstream smart contract programming languages such as Solidity lack explicit notions of roles, action dependencies, and time. Instead, these concepts are implemented in program code. This makes it very hard to design and analyze smart contracts. We argue that DCR graphs are a suitable formalization tool for smart contracts because they explicitly and visually capture the mentioned features. We utilize this expressiveness to show that many common high-level design patterns representing the underlying business processes in smart-contract applications can be naturally modeled this way. Applying these patterns shows that DCR graphs facilitate the development and analysis of correct and reliable smart contracts by providing a clear and easy-to-understand specification.

Smart Contract Modelling

DCR Graphs

Design Patterns

Författare

Mojtaba Eshghie

Kungliga Tekniska Högskolan (KTH)

Wolfgang Ahrendt

Chalmers, Data- och informationsteknik, Formella metoder

Cyrille Artho

Kungliga Tekniska Högskolan (KTH)

Thomas Troels Hildebrandt

Köpenhamns universitet

Gerardo Schneider

Göteborgs universitet

Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)

03029743 (ISSN) 16113349 (eISSN)

Vol. 14323 LNCS 106-125
9783031471148 (ISBN)

21st International Conference on Software Engineering and Formal Methods, SEFM 2023
Eindhoven, Netherlands,

Ämneskategorier

Data- och informationsvetenskap

DOI

10.1007/978-3-031-47115-5_7

Mer information

Senast uppdaterat

2023-12-05