Behavioral Analysis of Smart Contracts Using Supervisory Control Theory
Licentiate thesis, 2026

Smart contracts are programs deployed on blockchains that are typically used to manage distribution of digital assets and cryptocurrencies. Smart contracts are used in applications such as auctions, games, financial services and decentralized applications. It is not possible to change a smart contract after it has been deployed on the blockchain network. Since smart contracts can hold and manage transfer of digital assets, even a small error in their behavior can lead to serious consequences. This thesis explores how smart contracts can be modeled as event driven systems and be analyzed for certain properties. We present a framework for automatically converting Solidity smart contracts into Extended Finite State Machine models that describe the execution of the smart contract. Using these models, we show how non-blocking verification can detect situations where a contract may fail to reach its intended completion. In particular, we study cases where failed transfers may result in funds being locked or prevent the expected progress of the contract. Furthermore, this thesis investigates bias in smart contracts. Bias here refers to an advantage/disadvantage allowed by the behavior of the contract to a user, or a group of users. Such an advantage/disadvantage reveals the ability to force an outcome that either benefits the user(s) or harms others. By analyzing the contract from perspectives of different users, we show how such a bias can be detected.

Formal Verification

Non-Blocking

Behavioral Analysis

Extended Finite State Machines

Smart Contracts

Supervisory Control Theory

ED
Opponent: Prof. Gordon J. Pace

Author

Nishant Parekh

Chalmers, Electrical Engineering, Systems and control

Smart contract denial-of-service analysis using non-blocking verification

Discrete Event Dynamic Systems: Theory and Applications,;Vol. 35(2025)p. 355-387

Journal article

On Bias in User-Centric Discrete-Event Systems

2026 18th International Workshop on Discrete Event Systems Wodes 2026,;(2026)p. 253-258

Paper in proceeding

On Detecting Bias in Smart Contracts Using Supervisor Synthesis

2026 18th International Workshop on Discrete Event Systems Wodes 2026,;(2026)p. 259-264

Paper in proceeding

Areas of Advance

Information and Communication Technology

Subject Categories (SSIF 2025)

Robotics and automation

Formal Methods

Control Engineering

Publisher

Chalmers

ED

Opponent: Prof. Gordon J. Pace

More information

Created

9/8/2026 1