并非不可变:以太坊智能合约的可升级性
Not so immutable: Upgradeability of Smart Contracts on Ethereum
摘要:
在合理的情况下,部署到以太坊等区块链系统的智能合约应该是不可变和防篡改的。这既是一个功能(促进完整性和透明度),也是一个错误(阻止安全补丁和功能更新)。现代智能合约使用软件技巧来实现可验证性,提出了如何实现可验证性以及谁有权进行更改的研究问题。本文总结并评价了六种可解释性模式。我们开发了一个测量框架,用于确定以太坊上有多少使用某些突出升级模式的可验证合约。我们发现了140万个代理合同,其中8,225个是唯一可验证的代理合同。我们还测量了它们如何对其可验证性实施访问控制:大约50%由单个外部所有地址(EOA)控制,大约14%由多签名钱包控制,其中有限数量的人可以改变整个合同的逻辑。
英文摘要:
A smart contract that is deployed to a blockchain system like Ethereum is, under reasonable circumstances, expected to be immutable and tamper-proof. This is both a feature (promoting integrity and transparency) and a bug (preventing security patches and feature updates). Modern smart contracts use software tricks to enable upgradeability, raising the research questions of how upgradeability is achieved and who is authorized to make changes. In this paper, we summarize and evaluate six upgradeability patterns. We develop a measurement framework for finding how many upgradeable contracts are on Ethereum that use certain prominent upgrade patters. We find 1.4 million proxy contracts which 8,225 of them are unique upgradeable proxy contracts. We also measure how they implement access control over their upgradeability: about 50% are controlled by a single Externally Owned Address (EOA), and about 14% are controlled by multi-signature wallets in which a limited number of persons can change the whole logic of the contract.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。