论文标题

智能合约合成模型超专业

Smart Contract Synthesis Modulo Hyperproperties

论文作者

Coenen, Norine, Finkbeiner, Bernd, Hofmann, Jana, Tillman, Julia

论文摘要

智能合约是小规模但高度安全的关键计划,可以实现区块链上的钱包,代币系统,拍卖,人群资助系统,选举以及其他多方交易。已经开发了广泛的方法来确保智能合约在功能上是正确的。但是,智能合约通常还需要满足某些超专业,例如对称性,确定性或信息流策略。在本文中,我们展示了智能合约的综合方法如何确保合同满足其所需的超版权。我们以时间逻辑TSL中的规格为基于最近开发的合成方法。我们提出Hypersl,这是TSL的扩展,用于规范无限状态软件的超专业。作为一个预处理步骤,我们展示了如何检测HyperProperty是否具有等效公式为(较简单)的跟踪属性。最后,我们描述了如何完善合成合同以遵守其高血压规范。

Smart contracts are small but highly security-critical programs that implement wallets, token systems, auctions, crowd funding systems, elections, and other multi-party transactions on the blockchain. A broad range of methods has been developed to ensure that a smart contract is functionally correct. However, smart contracts often additionally need to satisfy certain hyperproperties, such as symmetry, determinism, or an information flow policy. In this paper, we show how a synthesis method for smart contracts can ensure that the contract satisfies its desired hyperproperties. We build on top of a recently developed synthesis approach from specifications in the temporal logic TSL. We present HyperTSL, an extension of TSL for the specification of hyperproperties of infinite-state software. As a preprocessing step, we show how to detect if a hyperproperty has an equivalent formulation as a (simpler) trace property. Finally, we describe how to refine a synthesized contract to adhere to its HyperTSL specification.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源