Formalizing smart contract design patterns with DCR graphs

Abstract Smart contracts manage blockchain assets and embody business processes. Yet, mainstream languages lack explicit support for process concepts such as roles, action dependencies, and time constraints, leading to increased implementation complexity and analysis challenges. To address this, we use Dynamic Condition Response (DCR) graphs, a formal business process modeling language, to formalize the semantics of smart contract business logic. Modeling smart contracts in DCR graphs involves translating their underlying behavioral logic into a declarative visual model using DCR’s explicit constructs for events, roles, data, time, and inter-event relationships. Furthermore, we systematically model 15 common high-level smart contract design patterns , representing recurring solutions to business logic-level problems. These formalizations reduce ambiguity compared to informal descriptions and serve as language-independent specifications. We demonstrate the modeling process through three complete smart contract case studies that combine six design patterns. Our modeling methodology, formalizations, and correspondence between smart contract semantics and DCR graphs enable future automated analysis and verification.

Authors

Institutions

Publication Details

Journal
Software & Systems Modeling
Published
2026-05-21
DOI
https://doi.org/10.1007/s10270-026-01366-w
Citations
1
Primary Topic
Business Process Modeling and Analysis
Type
article
Field-Weighted Citation Impact
31.33

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Formalizing smart contract design patterns with DCR graphs

Gerardo Schneider, Mojtaba Eshghie, Thomas Hildebrandt, Wolfgang Ahrendt et al.
1 citations
Software & Systems Modeling
Business Process Modeling and Analysis
31.33
article

Formalizing smart contract design patterns with DCR graphs

Gerardo Schneider, Mojtaba Eshghie, Thomas Hildebrandt, Wolfgang Ahrendt, Cyrille Artho
article en
1 citations

Abstract

Abstract Smart contracts manage blockchain assets and embody business processes. Yet, mainstream languages lack explicit support for process concepts such as roles, action dependencies, and time constraints, leading to increased implementation complexity and analysis challenges. To address this, we use Dynamic Condition Response (DCR) graphs, a formal business process modeling language, to formalize the semantics of smart contract business logic. Modeling smart contracts in DCR graphs involves translating their underlying behavioral logic into a declarative visual model using DCR’s explicit constructs for events, roles, data, time, and inter-event relationships. Furthermore, we systematically model 15 common high-level smart contract design patterns , representing recurring solutions to business logic-level problems. These formalizations reduce ambiguity compared to informal descriptions and serve as language-independent specifications. We demonstrate the modeling process through three complete smart contract case studies that combine six design patterns. Our modeling methodology, formalizations, and correspondence between smart contract semantics and DCR graphs enable future automated analysis and verification.

Software & Systems Modeling
University of Copenhagen (DK), Chalmers University of Technology (SE), KTH Royal Institute of Technology (SE), University of Gothenburg (SE)
Kungliga Tekniska Högskolan, Vetenskapsrådet
Openalex Percentile: Top 0%
Business Process Modeling and Analysis
31.33
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.