Skip to main content
Log in

Calling relationship investigation and application on Ethereum Blockchain System

  • Published:
Empirical Software Engineering Aims and scope Submit manuscript

Abstract

Blockchain technologies are increasingly applied to build secure and efficient trustworthy software systems. As the core of the blockchain, large numbers of smart contracts are created and deployed on chain so that end users can call smart contracts to perform various operations in these systems. Such calling relationships between users and smart contracts construct the blockchain network. In order to analyze user behaviors and optimize blockchain systems, it is necessary to understand the calling relationships between blockchain end users and smart contracts in details. Therefore, this paper adopts the famous public blockchain platform Ethereum as a case to investigate the calling relationships. In particular, we conduct an empirical study on Ethereum based on more than 764 million smart contract calling records on 13.25 million blocks from August 2015 to September 2021. Four research questions are proposed and answered: (1) We draw an overall picture of calling behaviors on Ethereum by using four overview indices, which are new user, active user, user retention and user attrition. (2) We categorize users by constructing RFM models based on three user indices, which are last call interval, call frequency and service charge. (3) We categorize smart contracts by constructing BCG matrices with two contract indices including market share and gas growth. (4) We conduct ETH price prediction and smart contract recommendation by employing the analysis results. Our observations and implications aim to provide some inspirations on further researches and applications for enhancing the activeness of Ethereum and improving the efficiency of smart contracts.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15
Fig. 16
Fig. 17
Fig. 18

Similar content being viewed by others

Data Availability

The datasets analysed during the current study are available on XBlock, which is a blockchain data platform in the academic community, https://xblock.pro/.

Notes

  1. https://xblock.pro/#/dataset/14

References

  • Abay NC, Akcora CG, Gel YR, Kantarcioglu M, Thuraisingham B (2019) Chainnet: learning on blockchain graphs with topological features. In: Proceedings of the 2019 IEEE international conference on data mining, pp 946–951

  • Agarwal A, Keerthana S, Reddy R, Moqueem A (2021) Prediction of bitcoin, litecoin and ethereum trends using state-of-art algorithms. In: 2021 IEEE Mysore sub section international conference (mysurucon). IEEE, pp 538–545

  • Akcora CG, Dey AK, Gel YR, Kantarcioglu M (2018) Forecasting bitcoin price with graph chainlets. In: Proceedings of the 2018 Pacific-Asia conference on knowledge discovery and data mining, pp 765–776

  • Amin A, Al-Obeidat F, Shah B, Al Tae M, Khan C, Durrani HUR, Anwar S (2020) Just-in-time customer churn prediction in the telecommunication sector. J Supercomput 76(6):3924–3948

    Article  Google Scholar 

  • Bai Q, Zhang C, Liu N, Chen X, Xu Y, Wang X (2021) Evolution of transaction pattern in ethereum: a temporal graph perspective. IEEE Trans Comput Social Syst 9(3):851–866

    Article  Google Scholar 

  • Bartoletti M, Carta S, Cimoli T, Saia R (2020) Dissecting ponzi schemes on ethereum: identification, analysis, and impact. Futur Gener Comput Syst 102:259–277

    Article  Google Scholar 

  • Berdik D, Otoum S, Schmidt N, Porter D, Jararweh Y (2021) A survey on blockchain for information systems management and security. Inf Process Manag 58(1):102397

    Article  Google Scholar 

  • Bosu A, Iqbal A, Shahriyar R, Chakraborty P (2019) Understanding the motivations, challenges and needs of blockchain software developers: a survey. Empir Softw Eng 24:2636–2673

    Article  Google Scholar 

  • Chatterjee K, Goharshady AK, Velner Y (2018) Quantitative analysis of smart contracts. In: Proceedings of the European symposium on programming, pp 739–767

  • Chen W, Zheng Z (2018) Blockchain data analysis: a review of status trends and challenges. J Comput Res Dev 55(4):1853–1870

    Google Scholar 

  • Chen T, Li X, Luo X, Zhang X (2017) Under-optimized smart contracts devour your money. In: Proceedings of the 2017 IEEE 24th international conference on software analysis, evolution and reengineering, pp 442–446

  • Chen T, Li Z, Zhou H, Chen J, Luo X, Li X, Zhang X (2018a) Towards saving money in using smart contracts. In: Proceedings of the 2018 IEEE/ACM 40th international conference on software engineering: new ideas and emerging technologies results, pp 81–84

  • Chen T, Zhu Y, Li Z, Chen J, Li X, Luo X, Lin X, Zhang X (2018b) Understanding ethereum via graph analysis. In: Proceedings of IEEE INFOCOM 2018—IEEE conference on computer communications, pp 1484–1492

  • Chen W, Zheng Z, Cui J, Ngai E, Zheng P, Zhou Y (2018c) Detecting ponzi schemes on ethereum: towards healthier blockchain technology. In: Proceedings of the 2018 World Wide Web conference, pp 1409–1418

  • Chen W, Wu J, Zheng Z, Chen C, Zhou Y (2019) Market manipulation of bitcoin: evidence from mining the mt. gox transaction network. In: Proceedings of IEEE INFOCOM 2019—IEEE conference on computer communications, pp 964–972

  • Cheng CH, Chen YS (2009) Classifying the segmentation of customer value via rfm model and rs theory. Expert Syst Appl 36(3):4176–4184

    Article  Google Scholar 

  • Di Francesco Maesa D, Marino A, Ricci L (2018) Data-driven analysis of bitcoin properties: exploiting the users graph. Int J Data Sci Anal 6(1):63–80

    Article  Google Scholar 

  • Fan X, Hu Y, Zheng Z, Wang Y, Brézillon P, Chen W (2017) Casr-tse: context-aware web services recommendation for modeling weighted temporal-spatial effectiveness. IEEE Trans Serv Comput 14(1):58–70

    Google Scholar 

  • Ferretti S, D’Angelo G (2020) On the ethereum blockchain structure: a complex networks theory perspective. Concurr Comput Pract Exp 32(12):e5493

    Article  Google Scholar 

  • Fu X, Chen X, Shi YT, Bose I, Cai S (2017) User segmentation for retention management in online social games. Decis Support Syst 101:51–68

    Article  Google Scholar 

  • Gaihre A, Luo Y, Liu H (2019) Do bitcoin users really care about anonymity? An analysis of the bitcoin transaction graph. In: Proceedings of the 2018 IEEE international conference on big data, pp 1198–1207

  • Guo D, Dong J, Wang K (2019) Graph structure and statistical properties of ethereum transaction relationships. Inf Sci 492:58–71

    Article  MathSciNet  Google Scholar 

  • Han Q, Wu J, Zheng Z (2020) Long-range dependence, multi-fractality and volume-return causality of ether market. Chaos: An Interdisciplinary Journal of Nonlinear Science 30(1):011101

    Article  Google Scholar 

  • Harlev MA, Yin HS, Langenheldt KC, Mukkamala R, Vatrapu R (2018) Breaking bad: de-anonymising entity types on the bitcoin blockchain using supervised machine learning. In: Proceedings of the Hawaii international conference on system sciences, pp 3497–3506

  • Huang B, Liu Z, Chen J, Liu A, Liu Q, He Q (2017) Behavior pattern clustering in blockchain networks. Multimed Tools Appl 76(19):20099–20110

    Article  Google Scholar 

  • Huang Y, Kong Q, Jia N, Chen X, Zheng Z (2019) Recommending differentiated code to support smart contract update. In: Proceedings of the 2019 IEEE/ACM 27th international conference on program comprehension, pp 260–270

  • Hughes AM (1994) Strategic database marketing. Probus Publishing Company, Chicago

    Google Scholar 

  • Jiang Z, Zheng Z, Chen K, Luo X, Tang X, Li Y (2022) Exploring smart contract recommendation: towards efficient blockchain development. IEEE Trans Serv Comput 1:1–12

    Google Scholar 

  • Jourdan M, Blandin S, Wynter L, Deshpande P (2018) Characterizing entities in the bitcoin blockchain. In: Proceedings of the 2018 IEEE international conference on data mining workshops, pp 55–62

  • Kalra S, Goel S, Dhawan M, Sharma S (2018) Zeus: analyzing safety of smart contracts. In: Proceedings of the 2018 network and distributed systems security symposium, pp 1–15

  • Kiffer L, Levin D, Mislove A (2018) Analyzing ethereum’s contract topology. In: Proceedings of the internet measurement conference 2018, pp 494–499

  • Kondo M, Oliva GA, Jiang ZMJ, Hassan AE, Mizuno O (2020) Code cloning in smart contracts: a case study on verified contracts from the ethereum blockchain platform. Empir Softw Eng 25:4617–4675

    Article  Google Scholar 

  • Kumar D, Rath S (2020) Predicting the trends of price for ethereum using deep learning techniques. In: Artificial intelligence and evolutionary computations in engineering systems. Springer, pp 103– 114

  • Lee XT, Khan A, Sen Gupta S, Ong YH, Liu X (2020) Measurements, analyses, and insights on the entire ethereum blockchain network. In: Proceedings of the Web conference 2020, pp 155–166

  • Lin D, Wu J, Yuan Q, Zheng Z (2020) Modeling and understanding ethereum transaction records via a complex network approach. IEEE Trans Circuits Syst II: Express Briefs 67(11):2737–2741

    Google Scholar 

  • Luu L, Teutsch J, Kulkarni R, Saxena P (2015) Demystifying incentives in the consensus computer. In: Proceedings of the 22nd ACM SIGSAC conference on computer and communications security. ACM, pp 706–719

  • Maesa DDF, Marino A, Ricci L (2016) An analysis of the bitcoin users graph: inferring unusual behaviours. In: International workshop on complex networks and their applications, pp 749–760

  • Mezquita Y, Gil-González AB, Prieto J, Corchado JM (2021) Cryptocurrencies and price prediction: a survey. In: International congress on blockchain and applications. Springer, pp 339–346

  • Nakamoto S (2008) A peer-to-peer electronic cash system. Bitcoin—https://bitcoinorg/bitcoinpdf

  • Nikolic I, Kolluri A, Sergey I, Saxena P, Hobor A (2018) Finding the greedy, prodigal, and suicidal contracts at scale. In: Proceedings of the 34th annual computer security applications conference , pp 653–663

  • Oliva GA, Hassan AE, Jiang ZMJ (2020) An exploratory study of smart contracts in the ethereum blockchain platform. Empir Softw Eng 25:1864–1904

    Article  Google Scholar 

  • Rathore H, Mohamed A, Guizani M (2020) A survey of blockchain enabled cyber-physical systems. Sensors 20(1):282

    Article  Google Scholar 

  • Reeves M, Moose S, Venema T (2014) Bcg classics revisited: the growth share matrix. Boston Consulting Group

  • Somin S, Gordon G, Altshuler Y (2018) Network analysis of erc20 tokens trading on ethereum blockchain. In: Proceedings of the 2018 international conference on complex systems, pp 439–450

  • Tasca P, Liu S, Hayes A (2018) The evolution of the bitcoin economy: extracting and analyzing the network of payment relationships. SSRN Electron J 19 (2):94–126

    Google Scholar 

  • Tikhomirov S, Voskresenskaya E, Ivanitskiy I, Takhaviev R, Marchenko E, Alexandrov Y (2018) Smartcheck: static analysis of ethereum smart contracts. In: Proceedings of the 2018 IEEE/ACM 1st international workshop on emerging trends in software engineering for blockchain, pp 9–16

  • Wei J, He J, Chen K, Zhou Y, Tang Z (2017) Collaborative filtering and deep learning based recommendation system for cold start items. Expert Syst Appl 69:1339–1351

    Article  Google Scholar 

  • Wu J, Shi L, Lin WP, Tsai SB, Li Y, Yang L, Xu G (2020) An empirical study on customer segmentation by purchase behaviors using a rfm model and k-means algorithm. Math Probl Eng 2020:8884227

    Article  Google Scholar 

  • Wu J, Liu J, Zhao Y, Zheng Z (2021) Analysis of cryptocurrency transactions from a network perspective: an overview. J Netw Comput Appl 190:103139

    Article  Google Scholar 

  • Wu J, Liu J, Chen W, Huang H, Zheng Z, Zhang Y (2022) Detecting mixing services via mining bitcoin transaction network with hybrid motifs. IEEE Trans Syst Man Cybern: Syst 52(4):2237–2249

    Article  Google Scholar 

  • Xie F, Zheng A, Chen L, Zheng Z (2021) Attentive meta-graph embedding for item recommendation in heterogeneous information networks. Knowl-Based Syst 211:106524

    Article  Google Scholar 

  • Xiong R, Wang J, Zhang N, Ma Y (2018) Deep hybrid collaborative filtering for web service recommendation. Expert Syst Appl 110:191–205

    Article  Google Scholar 

  • Yang L, Liu XY, Li X, Li Y (2019) Price prediction of cryptocurrency: an empirical study. In: International conference on smart blockchain. Springer, pp 130–139

  • Yousaf H, Kappos G, Meiklejohn S (2018) Tracing transactions across cryptocurrency ledgers. In: Proceedings of the 28th USENIX security symposium, pp 837–850

  • Zhao Y, Liu J, Han Q, Zheng W, Wu J (2020) Exploring eosio via graph characterization. In: Proceedings of the 2020 international conference on blockchain and trustworthy systems, pp 1–14

  • Zheng P, Zheng Z, Wu J, Hn Dai (2020) Xblock-eth: extracting and exploring blockchain data from ethereum. IEEE Open J Comput Soc 1:95–106

    Article  Google Scholar 

  • Zou W, Lo D, Kochhar PS, D Le XB, Xia X, Feng Y, Chen Z, Xu B (2019) Smart contract development: challenges and opportunities. IEEE Trans Softw Eng 47(10):2084–2106

    Article  Google Scholar 

Download references

Acknowledgements

This work was supported by the National Natural Science Foundation of China (62032025, 62002393), Technology Program of Guangzhou, China (202103050004), and HK ITF Project (GHP05219SZ).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Zibin Zheng.

Ethics declarations

Conflict of Interest

The authors declare that they do not have any financial or non-financial interest that represents a conflict of interest in connection with this work.

Additional information

Communicated by: Massimiliano Di Penta

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Jiang, Z., Tang, X., Zheng, Z. et al. Calling relationship investigation and application on Ethereum Blockchain System. Empir Software Eng 28, 31 (2023). https://doi.org/10.1007/s10664-022-10240-4

Download citation

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s10664-022-10240-4

Keywords

Navigation