监控智能合约的未来
Monitoring the Future of Smart Contracts
AI总结:
针对智能合约交易提交后不可撤销的问题,本文借鉴 optimistic rollups 的延迟机制,提出支持有界未来监控器的计算模型,并证明其兼容遗留交易、可保证进展且能正确实现多交易闪电贷。
摘要:
区块链是提供可信执行保证的去中心化系统。智能合约是用专门编程语言编写、运行在区块链上的程序,用于管理代币和加密货币的发送与接收。在始终由外部用户发起的交易执行过程中,智能合约可以调用其他智能合约。智能合约一旦部署便无法修改,因此运行时验证等技术对于提升其可靠性极具吸引力。然而,智能合约的传统计算模型是事务性的:操作一旦提交,其影响就是永久的且无法撤销。本文提出未来监控器的概念,使监控器能够持续等待未来交易发生,然后再提交或中止。该概念受 optimistic rollups 启发;optimistic rollups 是通过延迟交易影响来提高效率并降低成本的现代区块链实现。我们利用这种延迟提出一种允许(有界)未来监控器的计算模型。我们展示了监控器如何正确尊重遗留交易、如何实现未来有界监控器,以及它们如何保证进展。我们还举例说明如何使用未来有界监控器正确实现多交易闪电贷。
英文摘要:
Blockchains are decentralized systems that provide trustable execution guarantees. Smart contracts are programs written in specialized programming languages running on blockchains that govern how tokens and cryptocurrency are sent and received. Smart contracts can invoke other smart contracts during the execution of transactions always initiated by external users. Once deployed, smart contracts cannot be modified, so techniques like runtime verification are very appealing for improving their reliability. However, the conventional model of computation of smart contracts is transactional: once operations commit, their effects are permanent and cannot be undone. In this paper, we proposed the concept of future monitors which allows monitors to remain waiting for future transactions to occur before committing or aborting. This is inspired by optimistic rollups, which are modern blockchain implementations that increase efficiency (and reduce cost) by delaying transaction effects. We exploit this delay to propose a model of computation that allows (bounded) future monitors. We show our monitors correct respect of legacy transactions, how they implement future bounded monitors and how they guarantee progress. We illustrate the use of future bounded monitors to implement correctly multi-transaction flash loans.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。