论文标题

我们可以有效地使用智能合约规定时间限制吗?

Can We Effectively Use Smart Contracts to Stipulate Time Constraints?

论文作者

Eichinger, Tobias, Ebermann, Marcel

论文摘要

智能合约提供了规定互不信任组织之间互动规则的方法。他们根据源代码对合同协议进行编码,源代码还需要以自然语言合同。尽管从理论上讲,通过智能合同的合同协议的调解是无缝的,但它要求在区块链中准确提供互动条件。时间是如此明显的条件。在手头的论文中,我们从经验上衡量了智能合约的一致性,以基于互动时间及其在区块链中的可能不准确表示的基础上产生相等的结果。我们提出了一种称为执行精度的新型指标,以衡量这种一致性。我们专门测量了时间间隔约束的智能合约的执行精度,该合同在内部和没有某些约束间隔内执行不同的逻辑。我们进行了当地的Ganache和Quorum以及公共Görli和Rinkeby以太坊区块链的实验。我们的实验证实了我们的直觉,即执行精度接近间隔范围。我们提出的公制的新颖性在于其量化这种减小的能力,并使其与准确规定时间相反的能力相当。

Smart contracts provide the means to stipulate rules of interaction between mutually distrustful organizations. They encode contractual agreements on the basis of source code, which else need to be contractualized in natural language. While the mediation of contractual agreements via smart contracts is seamless in theory, it requires that the conditions of an interaction are accurately made available in the blockchain. Time is a prominent such condition. In the paper at hand, we empirically measure the consistency of a smart contract to yield equal results on the basis of the time of an interaction and its potentially inaccurate representation in the blockchain. We propose a novel metric called execution accuracy to measure this consistency. We specifically measure the execution accuracy of a time interval-constrained smart contract that executes distinct logic within and without some constraint interval. We run experiments for the local Ganache and Quorum and the public Görli and Rinkeby Ethereum blockchains. Our experiments confirm our intuition that execution accuracy decreases near interval bounds. The novelty of our proposed metric resides in its capacity to quantify this decrease and make distinct blockchains comparable with respect to their capacity to accurately stipulate time contraints.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源