This paper presents EDSC, a novel smart contract platform design based on the event-driven execution model as opposed to the traditionally employed transaction-driven execution model. We reason that such a design is a better fit for many emerging smart contract applications and is better positioned to address the scalability and performance challenges plaguing the smart contract ecosystem. We propose EDSC's design under the Ethereum framework, and the design can be easily adapted for other existing smart contract platforms. We have conducted implementation using Ethereum client and experiments where performance modeling results show on average 2.2 to 4.6 times reduced total latency of event triggered smart contracts, which demonstrates its effectiveness for supporting contracts that demand timely execution based on events. In addition, we discuss example use cases to demonstrate the design's utility and comment on its potential security dynamics.
翻译:本文介绍了EDSC, 这是一种基于事件驱动执行模式而不是传统上使用的交易驱动执行模式的新颖的智能合同平台设计,我们认为,这种设计更适合许多新出现的智能合同应用,更适合应对影响智能合同生态系统的可缩缩性和性能挑战。我们建议Etheum框架下EdeemSC的设计,设计可以很容易地适用于其他现有的智能合同平台。我们利用Etheem客户和实验进行了实施,在实验中,性能建模结果显示,触发的智能合同事件的总时间平均减少2.2至4.6倍,这表明它支持要求根据事件及时执行的合同的有效性。此外,我们讨论实例,以展示设计的有效性,并评论其潜在的安全动态。