首页> 外文期刊>Programming and Computer Software >Debugging Smart Contract's Business Logic Using Symbolic Model Checking
【24h】

Debugging Smart Contract's Business Logic Using Symbolic Model Checking

机译:使用符号模型检查调试智能合同的业务逻辑

获取原文
获取原文并翻译 | 示例

摘要

Smart contracts are a special type of programs running inside a blockchain. Immutable and transparent, they provide means to implement fault-tolerant and censorship-resistant services. Unfortunately, its immutability causes a serious challenge of ensuring that a business logic and implementation is correct upfront, before publishing in a blockchain. Several big accidents have indeed shown that users of this technology need special tools to verify smart contract correctness. Existing automated checkers are able to detect only well known implementation bugs, leaving the question of business logic correctness far aside. In this work, we present a symbolic model-checking technique along with a formal specification method for a subset of Solidity programming language that is able to express both state properties and trace properties; the latter constitutes a weak analogy of temporal properties. We evaluate the proposed technique on the MiniDAO smart contract, a young brother of notorious TheDAO. Our Proof-of-Concept was able to detect a non-trivial error in the business logic of this smart contract in a few seconds.
机译:智能合同是在区块链内运行的特殊程序。他们提供了实现容错和审查服务的手段。不幸的是,它的不断的可能性导致严重挑战,确保在区块链中出版之前,确保业务逻辑和实施是正确的前期。一些大型事故确实表明,该技术的用户需要特殊的工具来验证智能合同正确性。现有的自动检查器只能检测到众所周知的实施错误,留下了宽度的业务逻辑正确性问题。在这项工作中,我们呈现了一种符号模型检查技术,以及用于稳定性编程语言子集的正式规范方法,该方法能够表达句子属性和跟踪属性;后者构成了时间特性的弱类。我们评估了Minidao Smart合同的建议技术,这是一个臭名昭着的臭名昭着的兄弟。我们的概念证据能够在几秒钟内检测此智能合同的业务逻辑中的非琐碎错误。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号