Can We Effectively Use Smart Contracts to Stipulate Time Constraints?

T. Eichinger, Marcel Ebermann
{"title":"Can We Effectively Use Smart Contracts to Stipulate Time Constraints?","authors":"T. Eichinger, Marcel Ebermann","doi":"10.1109/DAPPS55202.2022.00010","DOIUrl":null,"url":null,"abstract":"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 intervalconstrained 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. We demonstrate how time constraints can be effectively stipulated on the basis of execution accuracy measurements.","PeriodicalId":273975,"journal":{"name":"2022 IEEE International Conference on Decentralized Applications and Infrastructures (DAPPS)","volume":"18 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-07-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 IEEE International Conference on Decentralized Applications and Infrastructures (DAPPS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/DAPPS55202.2022.00010","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

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 intervalconstrained 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. We demonstrate how time constraints can be effectively stipulated on the basis of execution accuracy measurements.
我们可以有效地使用智能合约来规定时间限制吗?
智能合约提供了在相互不信任的组织之间制定互动规则的手段。它们在源代码的基础上对合同协议进行编码,否则就需要用自然语言对合同进行具体化。虽然通过智能合约调解合同协议在理论上是无缝的,但它要求在区块链中准确地提供交互条件。时间就是这样一个突出的条件。在手头的论文中,我们根据交互的时间及其在区块链中可能不准确的表示,经验地衡量智能合约的一致性,以产生相同的结果。我们提出了一个称为执行精度的新度量来度量这种一致性。我们专门测量了一个时间间隔约束的智能合约的执行准确性,该合约在某个约束间隔内或没有约束间隔内执行不同的逻辑。我们对本地Ganache和Quorum以及公共的Görli和Rinkeby以太坊区块链进行了实验。我们的实验证实了我们的直觉,即执行精度在区间边界附近下降。我们提出的度量标准的新颖之处在于它量化这种减少的能力。我们演示了如何在执行精度测量的基础上有效地规定时间约束。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书