arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2207.02517cs.CRcs.LO
收藏

智能合约的交易监控

Transaction Monitoring of Smart Contracts

Margarita Capretto, Martin Ceresa, Cesar Sanchez

摘要:

区块链是现代分布式系统,提供分散的金融能力和可信赖的保证。智能合约是用专门的程序设计语言编写的程序,运行在区块链上,并管理如何发送和接收令牌和加密货币。智能合约可以在执行外部用户发起的交易期间调用其他合约。一旦部署,智能合约就无法修改,它们的陷阱可能会导致故障和损失,例如来自恶意用户的攻击。身份验证是一种非常有吸引力的技术,可以提高智能合约的可靠性。一种方法包括指定不需要的执行(从不声明)和动态检测违反规范的行为。这可以通过扩展智能合约来实现,其中包含与监控指定属性相对应的额外指令,从而产生链上监控方法。在本文中,我们研究的事务监控,包括检测违反完整的事务执行,而不是个别的交易中的操作。我们的主要贡献是证明交易监控在大多数区块链中是不可能的,并提出了不同的执行机制来实现交易监控。

英文摘要:

Blockchains are modern distributed systems that provide decentralized financial capabilities with trustable guarantees. Smart contracts are programs written in specialized programming languages running on a blockchain and govern how tokens and cryptocurrency are sent and received. Smart contracts can invoke other contracts during the execution of transactions initiated by external users. Once deployed, smart contracts cannot be modified and their pitfalls can cause malfunctions and losses, for example by attacks from malicious users. Runtime verification is a very appealing technique to improve the reliability of smart contracts. One approach consists of specifying undesired executions (never claims) and detecting violations of the specification on the fly. This can be done by extending smart contracts with additional instructions corresponding to monitor specified properties, resulting in an onchain monitoring approach. In this paper, we study transaction monitoring that consists of detecting violations of complete transaction executions and not of individual operations within transactions. Our main contributions are to show that transaction monitoring is not possible in most blockchains and propose different execution mechanisms that would enable transaction monitoring.

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

↑