Toward the Ontological Modeling of Smart Contracts: A Solidity Use Case

被引:11
|
作者
Cano-Benito, Juan [1 ]
Cimmino, Andrea [1 ]
Garcia-Castro, Raul [1 ]
机构
[1] Univ Politecn Madrid UPM, Ontol Engn Grp, Madrid 28660, Spain
基金
欧盟地平线“2020”;
关键词
Ontologies; Smart contracts; Blockchains; Contracts; Codes; !text type='Java']Java[!/text; Standards; Ontology; smart contracts; solidity; blockchain; BLOCKCHAIN;
D O I
10.1109/ACCESS.2021.3115577
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Blockchain has become a pervasive technology in a wide number of sectors like industry, research, and academy. With the emergence of blockchain, new solutions with this technology to existing problems were devised, leading to the introduction of smart contracts. Smart contracts are similar to traditional contracts with the benefits provided by blockchain, such as immutability, privacy, and decentralisation. These contracts are usually defined based on a specific domain, and this domain knowledge can be represented through an ontology. Researches have explored the benefits of using domain ontologies with smart contracts, such as code generation, discovering other contracts in the network, or interaction with other contracts. Notwithstanding, the representation of smart contract languages themselves has not been studied. In this paper, we present an ontology for a well-known smart contract language, Solidity, defining all entities needed to cover the whole language and aligning it to other standardised ontologies such as EthOn, in a way to improve the knowledge of the ontology developed. Furthermore, the ontology has also been validated with already deployed contracts in the Ethereum blockchain. Thus, Solidity will be able to benefit from the advantages provided by ontologies, such as interoperability and the use of semantic web technologies.
引用
收藏
页码:140156 / 140172
页数:17
相关论文
共 50 条
  • [1] SSCalc: A Calculus for Solidity Smart Contracts
    Marmsoler, Diego
    Thornton, Billy
    [J]. SOFTWARE ENGINEERING AND FORMAL METHODS, SEFM 2023, 2023, 14323 : 184 - 204
  • [2] Profiling gas consumption in solidity smart contracts
    Di Sorbo, Andrea
    Laudanna, Sonia
    Vacca, Anna
    Visaggio, Corrado A.
    Canfora, Gerardo
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2022, 186
  • [3] Characterizing Efficiency Optimizations in Solidity Smart Contracts
    Brandstaetter, Tamara
    Schulte, Stefan
    Cito, Juergen
    Borkowski, Michael
    [J]. 2020 IEEE INTERNATIONAL CONFERENCE ON BLOCKCHAIN (BLOCKCHAIN 2020), 2020, : 281 - 290
  • [4] SmartBugs: A Framework to Analyze Solidity Smart Contracts
    Ferreira, Joao F.
    Cruz, Pedro
    Durieux, Thomas
    Abreu, Rui
    [J]. 2020 35TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE 2020), 2020, : 1349 - 1352
  • [5] A Study of Inline Assembly in Solidity Smart Contracts
    Chaliasos, Stefanos
    Gervais, Arthur
    Livshits, Benjamin
    [J]. PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2022, 6 (OOPSLA):
  • [6] Investigation on Vulnerabilities Location in Solidity Smart Contracts
    Staderini, Mirko
    Bondavalli, Andrea
    [J]. BLOCKCHAIN AND APPLICATIONS, 2022, 320 : 199 - 211
  • [7] Statically Checking Missing Input Validations in Solidity Smart Contracts - A Case Study
    Munir, Sundas
    Baig, Mirza Samna Iqbal
    Noor, Mali
    Murad, Syeda Nina
    [J]. 2023 IEEE INTERNATIONAL CONFERENCE ON BLOCKCHAIN, BLOCKCHAIN, 2023, : 47 - 54
  • [8] SynTest-Solidity: Automated Test Case Generation and Fuzzing for Smart Contracts
    Olsthoorn, Mitchell
    Stallenberg, Dimitri
    Van Deursen, Arie
    Panichella, Annibale
    [J]. 2022 ACM/IEEE 44TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: COMPANION PROCEEDINGS (ICSE-COMPANION 2022), 2022, : 202 - 206
  • [9] SuMo: A Mutation Testing Strategy for Solidity Smart Contracts
    Barboni, Morena
    Morichetta, Andrea
    Polini, Andrea
    [J]. 2021 IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATION OF SOFTWARE TEST (AST 2021), 2021, : 50 - 59
  • [10] Demystifying the Composition and Code Reuse in Solidity Smart Contracts
    Sun, Kairan
    Xu, Zhengzi
    Liu, Chengwei
    Li, Kaixuan
    Liu, Yang
    [J]. PROCEEDINGS OF THE 31ST ACM JOINT MEETING EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, ESEC/FSE 2023, 2023, : 796 - 807