arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.08348cs.PL
收藏

通过验证编译实现智能合约的基础化验证

Foundational Verification of Smart Contracts through Verified Compilation

Vilhelm Sjöberg, Kinnari Dave, Daniel Britten, Maria A Schett, Xinyuan Sun, Qinshi Wang, Sean Noble Anderson, Steve Reeves, Zhong Shao

AI总结:

针对智能合约的高正确性需求,研究提出面向以太坊的DeepSEA基础验证系统,含适配验证的DeepSEA语言与经验证的编译器,可实现端到端验证,并通过DeFi、众筹两个案例验证了可用性。

摘要:

在区块链上执行的程序——即智能合约——涉及高额金融利益,其正确性至关重要。我们认为,这种正确性需要具备基础可靠性:必须以执行环境的操作语义为正确性的依据。本研究提出了一套面向以太坊(Ethereum)区块链的基础化系统DeepSEA系统,以太坊是目前最大的智能合约平台。DeepSEA系统包含一门规模小但表达能力足够丰富、适用于验证的编程语言DeepSEA语言,以及一个经过验证的DeepSEA编译器。二者结合可实现智能合约真正的端到端验证。我们通过两个案例研究验证了其可用性:一个符合实际应用的去中心化金融(Decentralized Finance)合约,以及一个众筹合约。

英文摘要:

Programs executed on a blockchain - smart contracts - have high financial stakes; their correctness is crucial. We argue, that this correctness needs to be foundational: correctness needs to be based on the operational semantics of their execution environment. In this work we present a foundational system - the DeepSEA system - targeting the Ethereum blockchain as the largest smart contract platform. The DeepSEA system has a small but sufficiently rich programming language amenable for verification, the DeepSEA language, and a verified DeepSEA compiler. Together they enable true end-to-end verification for smart contracts. We demonstrate usability through two case studies: a realistic contract for Decentralized Finance and contract for crowdfunding.

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

↑