利用 Symboleo2SC 根据法律合同规范自动生成智能合约代码

IF 2 3区 计算机科学 Q3 COMPUTER SCIENCE, SOFTWARE ENGINEERING
Aidin Rasti, Amal Ahmed Anda, Sofana Alfuhaid, Alireza Parvizimosaed, Daniel Amyot, Marco Roveri, Luigi Logrippo, John Mylopoulos
{"title":"利用 Symboleo2SC 根据法律合同规范自动生成智能合约代码","authors":"Aidin Rasti, Amal Ahmed Anda, Sofana Alfuhaid, Alireza Parvizimosaed, Daniel Amyot, Marco Roveri, Luigi Logrippo, John Mylopoulos","doi":"10.1007/s10270-024-01187-9","DOIUrl":null,"url":null,"abstract":"<p>Smart contracts (SCs) are software systems that monitor and partially control the execution of legal contracts to ensure compliance with the contracts’ terms and conditions, which essentially are sets of obligations and powers, triggered by events. Such systems often exploit Internet-of-Things technologies to support their monitoring functions and blockchain technology to ensure the integrity of their data. Enterprise-level blockchain platforms (such as Hyperledger Fabric) and public ones (such as Ethereum) are popular choices for SC development. However, usually, legal experts are not able to directly encode contract requirements into SCs. <span>Symboleo</span> is a formal specification language for legal contracts that was introduced to address this issue. <span>Symboleo</span> uses an ontology that defines legal concepts such as parties, obligations, powers, and assets, with semantics expressed with state machines. This paper proposes a tool that automatically translates <span>Symboleo</span> specifications into smart contract code for Hyperledger Fabric. Towards this end, we have extended the current <span>Symboleo</span> IDE, implemented the ontology and semantics by using the modelling language Umple, and created a reusable library. The resulting <span>Symboleo2SC</span> tool generates Hyperledger Fabric code exploiting this library. This code is a complete translation and does not require further development. <span>Symboleo2SC</span> was evaluated with five sample contracts. These were converted to SCs for contract monitoring and control purposes. <span>Symboleo2SC</span> helps simplify the SC development process, saves development effort, and helps reduce risks of coding errors.</p>","PeriodicalId":49507,"journal":{"name":"Software and Systems Modeling","volume":"59 1","pages":""},"PeriodicalIF":2.0000,"publicationDate":"2024-06-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Automated generation of smart contract code from legal contract specifications with Symboleo2SC\",\"authors\":\"Aidin Rasti, Amal Ahmed Anda, Sofana Alfuhaid, Alireza Parvizimosaed, Daniel Amyot, Marco Roveri, Luigi Logrippo, John Mylopoulos\",\"doi\":\"10.1007/s10270-024-01187-9\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<p>Smart contracts (SCs) are software systems that monitor and partially control the execution of legal contracts to ensure compliance with the contracts’ terms and conditions, which essentially are sets of obligations and powers, triggered by events. Such systems often exploit Internet-of-Things technologies to support their monitoring functions and blockchain technology to ensure the integrity of their data. Enterprise-level blockchain platforms (such as Hyperledger Fabric) and public ones (such as Ethereum) are popular choices for SC development. However, usually, legal experts are not able to directly encode contract requirements into SCs. <span>Symboleo</span> is a formal specification language for legal contracts that was introduced to address this issue. <span>Symboleo</span> uses an ontology that defines legal concepts such as parties, obligations, powers, and assets, with semantics expressed with state machines. This paper proposes a tool that automatically translates <span>Symboleo</span> specifications into smart contract code for Hyperledger Fabric. Towards this end, we have extended the current <span>Symboleo</span> IDE, implemented the ontology and semantics by using the modelling language Umple, and created a reusable library. The resulting <span>Symboleo2SC</span> tool generates Hyperledger Fabric code exploiting this library. This code is a complete translation and does not require further development. <span>Symboleo2SC</span> was evaluated with five sample contracts. These were converted to SCs for contract monitoring and control purposes. <span>Symboleo2SC</span> helps simplify the SC development process, saves development effort, and helps reduce risks of coding errors.</p>\",\"PeriodicalId\":49507,\"journal\":{\"name\":\"Software and Systems Modeling\",\"volume\":\"59 1\",\"pages\":\"\"},\"PeriodicalIF\":2.0000,\"publicationDate\":\"2024-06-29\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Software and Systems Modeling\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://doi.org/10.1007/s10270-024-01187-9\",\"RegionNum\":3,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q3\",\"JCRName\":\"COMPUTER SCIENCE, SOFTWARE ENGINEERING\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Software and Systems Modeling","FirstCategoryId":"94","ListUrlMain":"https://doi.org/10.1007/s10270-024-01187-9","RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, SOFTWARE ENGINEERING","Score":null,"Total":0}
引用次数: 0

摘要

智能合约(SC)是一种软件系统,用于监测和部分控制法律合约的执行,以确保遵守合约的条款和条件,这些条款和条件本质上是由事件触发的一系列义务和权力。这类系统通常利用物联网技术来支持其监控功能,并利用区块链技术来确保其数据的完整性。企业级区块链平台(如 Hyperledger Fabric)和公共平台(如以太坊)是 SC 开发的热门选择。然而,法律专家通常无法直接将合同要求编码到 SC 中。Symboleo 是一种用于法律合同的正式规范语言,就是为了解决这个问题而推出的。Symboleo 使用本体来定义当事人、义务、权力和资产等法律概念,并用状态机来表达语义。本文提出了一种工具,可自动将 Symboleo 规范转化为 Hyperledger Fabric 的智能合约代码。为此,我们扩展了当前的 Symboleo IDE,使用建模语言 Umple 实现了本体和语义,并创建了一个可重复使用的库。由此产生的 Symboleo2SC 工具利用该库生成 Hyperledger Fabric 代码。该代码是一个完整的翻译,不需要进一步开发。Symboleo2SC 通过五个样本合同进行了评估。这些合同被转换为 SC,用于合同监控。Symboleo2SC 有助于简化 SC 开发流程,节省开发工作量,并有助于降低编码错误的风险。
本文章由计算机程序翻译,如有差异,请以英文原文为准。

Automated generation of smart contract code from legal contract specifications with Symboleo2SC

Automated generation of smart contract code from legal contract specifications with Symboleo2SC

Smart contracts (SCs) are software systems that monitor and partially control the execution of legal contracts to ensure compliance with the contracts’ terms and conditions, which essentially are sets of obligations and powers, triggered by events. Such systems often exploit Internet-of-Things technologies to support their monitoring functions and blockchain technology to ensure the integrity of their data. Enterprise-level blockchain platforms (such as Hyperledger Fabric) and public ones (such as Ethereum) are popular choices for SC development. However, usually, legal experts are not able to directly encode contract requirements into SCs. Symboleo is a formal specification language for legal contracts that was introduced to address this issue. Symboleo uses an ontology that defines legal concepts such as parties, obligations, powers, and assets, with semantics expressed with state machines. This paper proposes a tool that automatically translates Symboleo specifications into smart contract code for Hyperledger Fabric. Towards this end, we have extended the current Symboleo IDE, implemented the ontology and semantics by using the modelling language Umple, and created a reusable library. The resulting Symboleo2SC tool generates Hyperledger Fabric code exploiting this library. This code is a complete translation and does not require further development. Symboleo2SC was evaluated with five sample contracts. These were converted to SCs for contract monitoring and control purposes. Symboleo2SC helps simplify the SC development process, saves development effort, and helps reduce risks of coding errors.

求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
Software and Systems Modeling
Software and Systems Modeling 工程技术-计算机:软件工程
CiteScore
6.00
自引率
20.00%
发文量
104
审稿时长
>12 weeks
期刊介绍: We invite authors to submit papers that discuss and analyze research challenges and experiences pertaining to software and system modeling languages, techniques, tools, practices and other facets. The following are some of the topic areas that are of special interest, but the journal publishes on a wide range of software and systems modeling concerns: Domain-specific models and modeling standards; Model-based testing techniques; Model-based simulation techniques; Formal syntax and semantics of modeling languages such as the UML; Rigorous model-based analysis; Model composition, refinement and transformation; Software Language Engineering; Modeling Languages in Science and Engineering; Language Adaptation and Composition; Metamodeling techniques; Measuring quality of models and languages; Ontological approaches to model engineering; Generating test and code artifacts from models; Model synthesis; Methodology; Model development tool environments; Modeling Cyberphysical Systems; Data intensive modeling; Derivation of explicit models from data; Case studies and experience reports with significant modeling lessons learned; Comparative analyses of modeling languages and techniques; Scientific assessment of modeling practices
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信