Litcius/Paper detail

Demystifying the Composition and Code Reuse in Solidity Smart Contracts

Kairan Sun, Zhengzi Xu, Chengwei Liu, Kaixuan Li, Yang Liu

202324 citationsDOIOpen Access PDF

Abstract

As the development of Solidity smart contracts has increased in popularity, the reliance on external sources such as third-party packages increases to reduce development costs. However, despite the use of external sources bringing flexibility and efficiency to the development, they could also complicate the process of assuring the security of downstream applications due to the lack of package managers for standardized ways and sources. While previous studies have only focused on code clones without considering how the external components are introduced, the compositions of a smart contract and their characteristics still remain puzzling.

Topics & Concepts

SolidityFlexibility (engineering)ReuseComputer scienceCode reusePopularityProcess (computing)Code (set theory)Computer securityComposition (language)Risk analysis (engineering)BusinessSoftware engineeringEngineeringOperating systemEconomicsManagementProgramming languageWaste managementSocial psychologyPhilosophyLinguisticsPsychologySet (abstract data type)Blockchain Technology Applications and SecurityAdvanced Malware Detection TechniquesDigital Rights Management and Security