Repository logo

From Formal SYMBOLEO Specifications to Secure and Interactive Smart Contract Code

dc.contributor.authorAlfuhaid, Sofana
dc.contributor.supervisorAmyot, Daniel
dc.contributor.supervisorMylopoulos, John
dc.contributor.supervisorAnda, Amal
dc.date.accessioned2026-05-14T19:30:26Z
dc.date.available2026-05-14T19:30:26Z
dc.date.issued2026-05-14
dc.description.abstractContext: Legal contracts have served as the bedrock of business transactions for millennia. They are core to modern supply chains, and their execution can now be automated through the use of i) smart contracts, supported by blockchain technology that safeguards data integrity, and ii) Internet-of-Things technologies to support their monitoring functions. Symboleo is a specification language used to formalize legal contracts, enable property analysis, and generate smart contracts for a permissioned blockchain platform (Hyperledger Fabric). However, automation around resulting smart contracts poses security challenges, particularly regarding who should have access to operate on contract elements. Additionally, how such smart contract should interact with their Cyber-Physical System (CPS) environment, including IoT devices, remains challenging. Purpose: The thesis proposes an architecture to integrate smart contracts, Complex Event Processing (CEP), message brokers, and a blockchain platform (namely Hyperledger Fabric) to support end-to-end Cyber-Physical Smart Contracts (CPSCs). This architecture makes it possible to connect IoT devices with smart contracts (generated using Symboleo) through a CEP engine and a message broker. Additionally, this thesis proposes an access control model, treating all contract elements as resources and ensuring regulated access by designated parties. This model extends the Symboleo ontology and language for legal contracts with new modeling concepts inspired by Role-Based Access Control (RBAC), tailored for the legal contract domain, resulting in SymboleoAC (Symboleo Access Control). SymboleoAC also extends the Symboleo language to handle dynamic contract execution scenario. Methodology: This research follows a Design Science Research methodology, which guides the development and evaluation of the research artifacts. This research is conducted in several iterative steps that are divided into two main phases, one that focuses on theoretical aspects and the other on the design, demonstration, and evaluation of the research artifacts. Contributions: The contributions of this thesis are: • An architectural framework for CPSCs that leverages complementary aspects of CPS and smart contracts; • SymboleoAC, an access control ontology for Symboleo; • An extension of the current Symboleo specification language (syntax and semantics) that supports smart contract requirements, including automation and control actions, access control, and CPS components; • An implementation of the SymboleoAC ontology and semantics into a reusable JavaScript library (SymboleoACJS), together with a tool, SymboleoAC2SC, that generates JavaScript smart contract code with security aspects for a designated platform (Hyperledger Fabric); and • A secure and event-driven SymboleoAC Application Programming Interface (API) that orchestrates the runtime ecosystem connecting IoT sensors, the message broker, the CEP engine, and the blockchain platform. Through extensive and the evaluation of multiple variations of two contract case studies, SymboleoAC (architecture, ontology, and language), along with its associated tools, is shown to be an effective environment for CPSCs, simplifying the design of secure smart contracts and their connections to message brokers, CEP engines, and IoT devices.
dc.identifier.urihttp://hdl.handle.net/10393/51657
dc.identifier.urihttps://doi.org/10.20381/ruor-31955
dc.language.isoen
dc.publisherUniversité d'Ottawa | University of Ottawa
dc.subjectAccess control
dc.subjectLegal contracts
dc.subjectModel-driven engineering
dc.subjectOntology
dc.subjectRBAC
dc.subjectSmart contracts
dc.subjectSymboleo
dc.titleFrom Formal SYMBOLEO Specifications to Secure and Interactive Smart Contract Code
dc.typeThesisen
thesis.degree.disciplineGénie / Engineering
thesis.degree.levelDoctoral
thesis.degree.namePhD
uottawa.departmentInnovation et transformation numérique / Digital Transformation and Innovation

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail ImageThumbnail Image
Name:
Alfuhaid_Sofana_2026_thesis.pdf
Size:
17.21 MB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail ImageThumbnail Image
Name:
license.txt
Size:
2.51 KB
Format:
Item-specific license agreed upon to submission
Description: