基本信息来源于合作网站,原文需代理用户跳转至来源网站获取       
摘要:
Ethereum blockchain is a new internetware with tens of millions of smart contracts running on it.Different from general programs,smart contracts are decentralized,tamper-resistant and permanently running.Moreover,to avoid resource abuse,Ethereum charges users for deploying and invoking smart contracts according to the size of contract and the operations executed by contracts.It is necessary to optimize smart contracts to save money.However,since developers are not familiar with the operating environment of smart contracts(i.e.,Ethereum virtual machine)or do not pay attention to resource consumption during development,there are many optimization opportunities for smart contracts.To fill this gap,this paper defines six gas-inefficient patterns from more than 25 000 posts and proposes an optimization approach at the source code level to let users know clearly where the contract is optimized.To evaluate the prevalence and economic benefits of gas-inefficient patterns,this paper conducts an empirical study on more than 160 000 real smart contracts.The promising experimental results demonstrate that 52.75%of contracts contain at least one gas-inefficient pattern proposed in this paper.If these patterns are removed from the contract,at least $0.30 can be saved per contract.
推荐文章
The partitioning patterns of nutrients between pods and seeds of Zanthoxylum fruits impacted by envi
Partitioning pattern
Nutritional quality
C:N ratio
Zanthoxylum fruits
Mean annual temperature
Mean annual precipitation
Concentration-discharge patterns of weathering products from global rivers
Concentration-discharge
Rivers
Silicate weathering
Solutes
奔驰Smart电动皮卡概念车
电动
概念车
皮卡
奔驰
乘坐空间
舒适性
零排放
路线
浅议U-GAS炉气化工艺设计
流化床气化炉
煤粉气化
灰团聚
碳转化率
方案
内容分析
关键词云
关键词热度
相关文献总数  
(/次)
(/年)
文献信息
篇名 Characterizing and Detecting Gas-Inefficient Patterns in Smart Contracts
来源期刊 计算机科学技术学报(英文版) 学科
关键词
年,卷(期) 2022,(1) 所属期刊栏目 Theme:Internetware and Beyond
研究方向 页码范围 67-82
页数 16页 分类号
字数 语种 英文
DOI
五维指标
传播情况
(/次)
(/年)
引文网络
引文网络
二级参考文献  (0)
共引文献  (0)
参考文献  (0)
节点文献
引证文献  (0)
同被引文献  (0)
二级引证文献  (0)
2022(0)
  • 参考文献(0)
  • 二级参考文献(0)
  • 引证文献(0)
  • 二级引证文献(0)
引文网络交叉学科
相关学者/机构
期刊影响力
计算机科学技术学报(英文版)
双月刊
1000-9000
11-2296/TP
16开
北京中关村科学院南路6号 《计算机科学技术学报(英)》编辑部
1986
eng
出版文献量(篇)
2207
总下载数(次)
1
总被引数(次)
12378
  • 期刊分类
  • 期刊(年)
  • 期刊(期)
  • 期刊推荐
论文1v1指导