arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1901.01292cs.CRcs.SE
收藏

VeriSolid:以太坊设计正确的智能合约

VeriSolid: Correct-by-Design Smart Contracts for Ethereum

Anastasia Mavridou, Aron Laszka, Emmanouela Stachtiari, Abhishek Dubey

摘要:

基于区块链的分布式账本的采用正在快速增长,因为它们能够在没有可信实体的情况下提供可靠性,完整性和可验证性。这些新兴平台的关键功能之一是创建自我执行的智能合约的能力。然而,智能合约的开发在实践中被证明是容易出错的,因此,部署在公共平台上的合约往往充满了安全漏洞。这些平台的设计加剧了这个问题,这些平台禁止更新合约代码和回滚恶意交易。有鉴于此,在部署智能合约并将其与大量加密货币一起信任之前,确保智能合约是安全的至关重要。为此,我们引入了VeriSolid框架的形式化验证合同,指定使用一个过渡系统为基础的模型,严格的操作语义。我们基于模型的方法允许开发人员在高抽象级别上推理和验证合约行为。VeriSolid允许从已验证的模型中生成Solidity代码,从而实现智能合约的正确设计开发。

英文摘要:

The adoption of blockchain based distributed ledgers is growing fast due to their ability to provide reliability, integrity, and auditability without trusted entities. One of the key capabilities of these emerging platforms is the ability to create self-enforcing smart contracts. However, the development of smart contracts has proven to be error-prone in practice, and as a result, contracts deployed on public platforms are often riddled with security vulnerabilities. This issue is exacerbated by the design of these platforms, which forbids updating contract code and rolling back malicious transactions. In light of this, it is crucial to ensure that a smart contract is secure before deploying it and trusting it with significant amounts of cryptocurrency. To this end, we introduce the VeriSolid framework for the formal verification of contracts that are specified using a transition-system based model with rigorous operational semantics. Our model-based approach allows developers to reason about and verify contract behavior at a high level of abstraction. VeriSolid allows the generation of Solidity code from the verified models, which enables the correct-by-design development of smart contracts.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑