An exploratory study of smart contracts in the Ethereum blockchain platformJournal-First
Thu 27 May 2021 03:10 - 03:30 at Blended Sessions Room 4 - 2.3.4. Smart Contracts
Ethereum is a blockchain platform that supports smart contracts. Smart contracts are pieces of code that perform general-purpose computations. For instance, smart contracts have been used to implement crowdfunding initiatives that raised a total of US$ 6.2 billion from January to June of 2018. In this paper, we conduct an exploratory study of smart contracts. Differently from prior studies that focused on particular aspects of a subset of smart contracts, our goal is to have a broader understanding of all contracts that are currently deployed in Ethereum. In particular, we elucidate how frequently used the contracts are (activity level), what they do (category), and how complex they are (source code complexity). To conduct this study, we mined and cross-linked data from four sources: Ethereum dataset on the Google BigData platform, Etherscan, State of the DApps, and CoinMarketCap. Our study period runs from July 2015 (inception of Ethereum) until September 2018. With regards to activity level, we notice that it is concentrated on a very small subset of the contracts. More specifically, only 0.05% of the smart contracts are the target of 80% of the transactions that are sent to contracts. New solutions to cope with Ethereum’s limited scalability should take such an activity imbalance into consideration. With regards to categories, we highlight that the new and widely advertised rich programming model of smart contracts is currently being used to develop very simple applications that tend to be token-centric (e.g., ICOs, Crowdsales, etc). Finally, with regards to code complexity, we observe that the source code of high-activity verified contracts is small, with at most 211 instructions in 80% of the cases. These contracts also commonly include at least two subcontracts and libraries in their source code. The comment ratio of these contracts is also significantly higher than that of GitHub top-starred projects written in Java, C++, and C#. Hence, the source code of high-activity verified smart contracts exhibit particular complexity characteristics compared to other popular programming languages. Further studies are necessary to uncover the actual reasons behind such differences. Finally, based on our findings, we propose an open research agenda to drive and foster future studies in the area.
Wed 26 MayDisplayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change
14:30 - 15:30 | 2.3.4. Smart ContractsJournal-First Papers / Technical Track at Blended Sessions Room 4 +12h Chair(s): Oscar Pastor Universitat Politecnica de Valencia | ||
14:30 20mPaper | Defining Smart Contract Defects on EthereumJournal-First Journal-First Papers Jiachi Chen Monash University, Xin Xia Huawei Software Engineering Application Technology Lab, David Lo Singapore Management University, John Grundy Monash University, Xiapu Luo The Hong Kong Polytechnic University, Ting Chen University of Electronic Science and Technology of China DOI Pre-print Media Attached | ||
14:50 20mPaper | Smart Contract Security: a Practitioners’ PerspectiveTechnical Track Technical Track Zhiyuan Wan Zhejiang University, Xin Xia Huawei Software Engineering Application Technology Lab, David Lo Singapore Management University, Jiachi Chen Monash University, Xiapu Luo The Hong Kong Polytechnic University, Xiaohu Yang Zhejiang University Pre-print Media Attached | ||
15:10 20mPaper | An exploratory study of smart contracts in the Ethereum blockchain platformJournal-First Journal-First Papers Gustavo A. Oliva Queen's University, Ahmed E. Hassan School of Computing, Queen's University, Zhen Ming (Jack) Jiang York University Link to publication DOI Pre-print Media Attached |
Thu 27 MayDisplayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change
02:30 - 03:30 | |||
02:30 20mPaper | Defining Smart Contract Defects on EthereumJournal-First Journal-First Papers Jiachi Chen Monash University, Xin Xia Huawei Software Engineering Application Technology Lab, David Lo Singapore Management University, John Grundy Monash University, Xiapu Luo The Hong Kong Polytechnic University, Ting Chen University of Electronic Science and Technology of China DOI Pre-print Media Attached | ||
02:50 20mPaper | Smart Contract Security: a Practitioners’ PerspectiveTechnical Track Technical Track Zhiyuan Wan Zhejiang University, Xin Xia Huawei Software Engineering Application Technology Lab, David Lo Singapore Management University, Jiachi Chen Monash University, Xiapu Luo The Hong Kong Polytechnic University, Xiaohu Yang Zhejiang University Pre-print Media Attached | ||
03:10 20mPaper | An exploratory study of smart contracts in the Ethereum blockchain platformJournal-First Journal-First Papers Gustavo A. Oliva Queen's University, Ahmed E. Hassan School of Computing, Queen's University, Zhen Ming (Jack) Jiang York University Link to publication DOI Pre-print Media Attached |