Cargando…
A Generalized Formal Semantic Framework for Smart Contracts
Smart contracts can be regarded as one of the most popular blockchain-based applications. The decentralized nature of the blockchain introduces vulnerabilities absent in other programs. Furthermore, it is very difficult, if not impossible, to patch a smart contract after it has been deployed. Theref...
Autores principales: | , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
2020
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7418134/ http://dx.doi.org/10.1007/978-3-030-45234-6_4 |
_version_ | 1783569632869744640 |
---|---|
author | Jiao, Jiao Lin, Shang-Wei Sun, Jun |
author_facet | Jiao, Jiao Lin, Shang-Wei Sun, Jun |
author_sort | Jiao, Jiao |
collection | PubMed |
description | Smart contracts can be regarded as one of the most popular blockchain-based applications. The decentralized nature of the blockchain introduces vulnerabilities absent in other programs. Furthermore, it is very difficult, if not impossible, to patch a smart contract after it has been deployed. Therefore, smart contracts must be formally verified before they are deployed on the blockchain to avoid attacks exploiting these vulnerabilities. There is a recent surge of interest in analyzing and verifying smart contracts. While most of the existing works either focus on EVM bytecode or translate Solidity contracts into programs in intermediate languages for analysis and verification, we believe that a direct executable formal semantics of the high-level programming language of smart contracts is necessary to guarantee the validity of the verification. In this work, we propose a generalized formal semantic framework based on a general semantic model of smart contracts. Furthermore, this framework can directly handle smart contracts written in different high-level programming languages through semantic extensions and facilitates the formal verification of security properties with the generated semantics. |
format | Online Article Text |
id | pubmed-7418134 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2020 |
record_format | MEDLINE/PubMed |
spelling | pubmed-74181342020-08-11 A Generalized Formal Semantic Framework for Smart Contracts Jiao, Jiao Lin, Shang-Wei Sun, Jun Fundamental Approaches to Software Engineering Article Smart contracts can be regarded as one of the most popular blockchain-based applications. The decentralized nature of the blockchain introduces vulnerabilities absent in other programs. Furthermore, it is very difficult, if not impossible, to patch a smart contract after it has been deployed. Therefore, smart contracts must be formally verified before they are deployed on the blockchain to avoid attacks exploiting these vulnerabilities. There is a recent surge of interest in analyzing and verifying smart contracts. While most of the existing works either focus on EVM bytecode or translate Solidity contracts into programs in intermediate languages for analysis and verification, we believe that a direct executable formal semantics of the high-level programming language of smart contracts is necessary to guarantee the validity of the verification. In this work, we propose a generalized formal semantic framework based on a general semantic model of smart contracts. Furthermore, this framework can directly handle smart contracts written in different high-level programming languages through semantic extensions and facilitates the formal verification of security properties with the generated semantics. 2020-03-13 /pmc/articles/PMC7418134/ http://dx.doi.org/10.1007/978-3-030-45234-6_4 Text en © The Author(s) 2020 Open Access This chapter is licensed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license and indicate if changes were made. The images or other third party material in this chapter are included in the chapter's Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the chapter's Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. |
spellingShingle | Article Jiao, Jiao Lin, Shang-Wei Sun, Jun A Generalized Formal Semantic Framework for Smart Contracts |
title | A Generalized Formal Semantic Framework for Smart Contracts |
title_full | A Generalized Formal Semantic Framework for Smart Contracts |
title_fullStr | A Generalized Formal Semantic Framework for Smart Contracts |
title_full_unstemmed | A Generalized Formal Semantic Framework for Smart Contracts |
title_short | A Generalized Formal Semantic Framework for Smart Contracts |
title_sort | generalized formal semantic framework for smart contracts |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7418134/ http://dx.doi.org/10.1007/978-3-030-45234-6_4 |
work_keys_str_mv | AT jiaojiao ageneralizedformalsemanticframeworkforsmartcontracts AT linshangwei ageneralizedformalsemanticframeworkforsmartcontracts AT sunjun ageneralizedformalsemanticframeworkforsmartcontracts AT jiaojiao generalizedformalsemanticframeworkforsmartcontracts AT linshangwei generalizedformalsemanticframeworkforsmartcontracts AT sunjun generalizedformalsemanticframeworkforsmartcontracts |