arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2110.08983cs.PLcs.CR
收藏

智能合约协议的实证研究

An Empirical Study of Protocols in Smart Contracts

Timothy Mou, Michael Coblenz, Jonathan Aldrich

摘要:

智能合约是在区块链上执行的程序。它们已被用于投票,分散金融和供应链管理中的应用。然而,智能合约的漏洞被黑客滥用,导致财务损失。理解智能合约中的状态机协议对于捕捉常见错误、改进文档和优化智能合约非常重要。我们分析了部署在以太坊区块链上的Solidity智能合约,并研究了协议和基于协议的错误的流行程度,以及gas优化的机会。

英文摘要:

Smart contracts are programs that are executed on a blockhain. They have been used for applications in voting, decentralized finance, and supply chain management. However, vulnerabilities in smart contracts have been abused by hackers, leading to financial losses. Understanding state machine protocols in smart contracts has been identified as important to catching common bugs, improving documentation, and optimizing smart contracts. We analyze Solidity smart contracts deployed on the Ethereum blockchain and study the prevalence of protocols and protocol-based bugs, as well as opportunities for gas optimizations.

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

↑