{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,27]],"date-time":"2026-09-27T10:01:05Z","timestamp":1790503265199,"version":"4.1.0"},"reference-count":73,"publisher":"Association for Computing Machinery (ACM)","issue":"2","license":[{"start":{"date-parts":[[2021,12,24]],"date-time":"2021-12-24T00:00:00Z","timestamp":1640304000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"funder":[{"name":"ARC Laureate Fellowship","award":["FL190100035"],"award-info":[{"award-number":["FL190100035"]}]},{"DOI":"10.13039\/501100001381","name":"National Research Foundation, Singapore","doi-asserted-by":"crossref","id":[{"id":"10.13039\/501100001381","id-type":"DOI","asserted-by":"crossref"}]},{"name":"Industry Alignment Fund\u2014Pre-positioning (IAF-PP) Funding Initiative"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Softw. Eng. Methodol."],"published-print":{"date-parts":[[2022,4,30]]},"abstract":"<jats:p>\n            The\n            <jats:italic>selfdestruct<\/jats:italic>\n            function is provided by Ethereum smart contracts to destroy a contract on the blockchain system. However, it is a double-edged sword for developers. On the one hand, using the\n            <jats:italic>selfdestruct<\/jats:italic>\n            function enables developers to remove\n            <jats:bold>smart contracts<\/jats:bold>\n            (\n            <jats:bold>SCs<\/jats:bold>\n            ) from Ethereum and transfers Ethers when emergency situations happen, e.g., being attacked. On the other hand, this function can increase the complexity for the development and open an attack vector for attackers. To better understand the reasons why SC developers include or exclude the\n            <jats:italic>selfdestruct<\/jats:italic>\n            function in their contracts, we conducted an online survey to collect feedback from them and summarize the key reasons. Their feedback shows that 66.67% of the developers will deploy an updated contract to the Ethereum after destructing the old contract. According to this information, we propose a method to find the self-destructed contracts (also called predecessor contracts) and their updated version (successor contracts) by computing the code similarity. By analyzing the difference between the predecessor contracts and their successor contracts, we found five reasons that led to the death of the contracts; two of them (i.e.,\n            <jats:italic>Unmatched ERC20 Token and Limits of Permission<\/jats:italic>\n            ) might affect the life span of contracts. We developed a tool named\n            <jats:sc>LifeScope<\/jats:sc>\n            to detect these problems.\n            <jats:sc>LifeScope<\/jats:sc>\n            reports 0 false positives or negatives in detecting\n            <jats:italic>Unmatched ERC20 Token<\/jats:italic>\n            . In terms of\n            <jats:italic>Limits of Permission<\/jats:italic>\n            ,\n            <jats:sc>LifeScope<\/jats:sc>\n            achieves 77.89% of F-measure and 0.8673 of AUC in average. According to the feedback of developers who exclude\n            <jats:italic>selfdestruct<\/jats:italic>\n            functions, we propose suggestions to help developers use\n            <jats:italic>selfdestruct<\/jats:italic>\n            functions in Ethereum smart contracts better.\n          <\/jats:p>","DOI":"10.1145\/3488245","type":"journal-article","created":{"date-parts":[[2021,12,24]],"date-time":"2021-12-24T14:22:36Z","timestamp":1640355756000},"page":"1-37","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":36,"title":["Why Do Smart Contracts Self-Destruct? Investigating the Selfdestruct Function on Ethereum"],"prefix":"10.1145","volume":"31","author":[{"given":"Jiachi","family":"Chen","sequence":"first","affiliation":[{"name":"Monash University"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-6302-3256","authenticated-orcid":false,"given":"Xin","family":"Xia","sequence":"additional","affiliation":[{"name":"Monash University"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"David","family":"Lo","sequence":"additional","affiliation":[{"name":"Singapore Management University"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"John","family":"Grundy","sequence":"additional","affiliation":[{"name":"Monash University"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2021,12,24]]},"reference":[{"key":"e_1_3_2_2_2","unstructured":"David Siegel. 2018. Understanding the DAO Attack. (Apr. 2018). Retrieved from https:\/\/www.coindesk.com\/understanding-dao-hack-journalists\/."},{"key":"e_1_3_2_3_2","unstructured":"Wikipedia. 2019. Decentralized Application. (Apr. 2019). https:\/\/en.wikipedia.org\/wiki\/Decentralized_application."},{"key":"e_1_3_2_4_2","unstructured":"Fabian Vogelstelle and Vitalik Buterin. 2018. ERC20. (Apr. 2018). https:\/\/github.com\/ethereum\/EIPs\/blob\/master\/EIPS\/eip-20.md."},{"key":"e_1_3_2_5_2","unstructured":"Consensys. 2019. Ethereum Smart Contract Security Best Practices. (Aug. 2019). https:\/\/consensys.github.io\/smart-contract-best-practices\/."},{"key":"e_1_3_2_6_2","unstructured":"Mythril. 2019. Mythril: Security Analysis Tool for EVM Bytecode. (Aug. 2019). https:\/\/github.com\/ConsenSys\/mythril."},{"key":"e_1_3_2_7_2","unstructured":"Ripple. 2019. Ripple Coin. (Aug. 2019). https:\/\/ripple.com\/."},{"key":"e_1_3_2_8_2","unstructured":"Tomasz Rembacz. 2020. DiffChecker. (Aug. 2020). https:\/\/github.com\/trembacz\/diff-checker."},{"key":"e_1_3_2_9_2","unstructured":"Nick Mudge. 2020. EIP-2535: Diamond Standard. (Dec. 2020). https:\/\/eips.ethereum.org\/EIPS\/eip-2535."},{"key":"e_1_3_2_10_2","unstructured":"Cryptokitties. 2019. Cryptokitties. (Feb. 2019). https:\/\/www.cryptokitties.co\/."},{"key":"e_1_3_2_11_2","unstructured":"Wikipedia. 2019. Ethereum Classic. (Feb. 2019). https:\/\/en.wikipedia.org\/wiki\/Ethereum_Classic."},{"key":"e_1_3_2_12_2","unstructured":"Expanse. 2020. Expanse. (Feb. 2020). https:\/\/coinswitch.co\/info\/expanse\/what-is-expanse."},{"key":"e_1_3_2_13_2","unstructured":"Wikipedia. 2019. Blockchain. (Jan. 2019). https:\/\/en.wikipedia.org\/wiki\/Blockchain."},{"key":"e_1_3_2_14_2","unstructured":"Wikipedia. 2019. Cryptocurrency. (Jan. 2019). https:\/\/en.wikipedia.org\/wiki\/Cryptocurrency."},{"key":"e_1_3_2_15_2","unstructured":"Ethereum. 2019. Ethereum.org. (Jan. 2019). https:\/\/www.ethereum.org\/."},{"key":"e_1_3_2_16_2","unstructured":"Dobrik Eugene Mello and Wijaya Royyan. 2021. GasToken.io. (June 2021). https:\/\/gastoken.io\/."},{"key":"e_1_3_2_17_2","unstructured":"Etherscan. 2018. EtherScan. (Mar. 2018). https:\/\/etherscan.io\/."},{"key":"e_1_3_2_18_2","unstructured":"Gavin Wood C. Reitwiessner A. Beregszaszi and Y. Hirai. 2018. The Solidity Contract-Oriented Programming Language. (Mar. 2018). https:\/\/github.com\/ethereum\/solidity."},{"key":"e_1_3_2_19_2","unstructured":"Solidity. 2018. Solidity Document. (Mar. 2018). http:\/\/solidity.readthedocs.io."},{"key":"e_1_3_2_20_2","unstructured":"Jake Frankenfield and Erika Rasure. 2019. Blockchain Hard Fork. (Oct. 2019). https:\/\/www.investopedia.com\/terms\/h\/hard-fork.asp."},{"key":"e_1_3_2_21_2","unstructured":"Wikipedia. 2019. Camel Case. (Sept. 2019). https:\/\/en.wikipedia.org\/wiki\/Camel_case\/."},{"key":"e_1_3_2_22_2","doi-asserted-by":"publisher","DOI":"10.5555\/553876"},{"key":"e_1_3_2_23_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.future.2019.08.014"},{"key":"e_1_3_2_24_2","doi-asserted-by":"publisher","DOI":"10.1162\/tacl_a_00051"},{"key":"e_1_3_2_25_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-019-09708-7"},{"key":"e_1_3_2_26_2","doi-asserted-by":"publisher","DOI":"10.1145\/3239235.3240298"},{"key":"e_1_3_2_27_2","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2020.2989002"},{"key":"e_1_3_2_28_2","article-title":"Maintaining smart contracts on ethereum: Issues, techniques, and future challenges","author":"Chen Jiachi","year":"2020","unstructured":"Jiachi Chen, Xin Xia, David Lo, John Grundy, and Xiaohu Yang. 2020. Maintaining smart contracts on ethereum: Issues, techniques, and future challenges. arXiv:2007.00286. https:\/\/arxiv.org\/pdf\/2007.00286.pdf.","journal-title":"arXiv:2007.00286"},{"key":"e_1_3_2_29_2","doi-asserted-by":"publisher","DOI":"10.14722\/ndss.2020.24449"},{"key":"e_1_3_2_30_2","doi-asserted-by":"publisher","DOI":"10.1145\/2939672.2939785"},{"key":"e_1_3_2_31_2","doi-asserted-by":"publisher","DOI":"10.1145\/3319535.3345664"},{"key":"e_1_3_2_32_2","doi-asserted-by":"publisher","DOI":"10.1109\/INFOCOM.2018.8486401"},{"key":"e_1_3_2_33_2","doi-asserted-by":"publisher","DOI":"10.1177\/001316446002000104"},{"key":"e_1_3_2_34_2","doi-asserted-by":"publisher","DOI":"10.1145\/3327959.3329537"},{"key":"e_1_3_2_35_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-54455-3_28"},{"key":"e_1_3_2_36_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.procs.2018.01.019"},{"key":"e_1_3_2_37_2","article-title":"The impact of changes mislabeled by SZZ on just-in-time defect prediction","author":"Fan Yuanrui","year":"2019","unstructured":"Yuanrui Fan, Xin Xia, Daniel Alencar da Costa, David Lo, Ahmed E Hassan, and Shanping Li. 2019. The impact of changes mislabeled by SZZ on just-in-time defect prediction. IEEE Transactions on Software Engineering (2019).","journal-title":"IEEE Transactions on Software Engineering"},{"key":"e_1_3_2_38_2","article-title":"Chaff from the wheat: Characterizing and determining valid bug reports","author":"Fan Yuanrui","year":"2018","unstructured":"Yuanrui Fan, Xin Xia, David Lo, and Ahmed E. Hassan. 2018. Chaff from the wheat: Characterizing and determining valid bug reports. IEEE Transactions on Software Engineering (2018).","journal-title":"IEEE Transactions on Software Engineering"},{"key":"e_1_3_2_39_2","doi-asserted-by":"publisher","DOI":"10.1145\/3319535.3363263"},{"key":"e_1_3_2_40_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.ipl.2015.03.006"},{"key":"e_1_3_2_41_2","doi-asserted-by":"publisher","DOI":"10.5555\/311424"},{"key":"e_1_3_2_42_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-32101-7_7"},{"key":"e_1_3_2_43_2","article-title":"SmartEmbed: A tool for clone and bug detection in smart contracts through structural code embedding","author":"Gao Zhipeng","year":"2019","unstructured":"Zhipeng Gao, Vinoj Jayasundara, Lingxiao Jiang, Xin Xia, David Lo, and John Grundy. 2019. SmartEmbed: A tool for clone and bug detection in smart contracts through structural code embedding. In 35th IEEE International Conference on Software Maintenance and Evolution (ICSME\u201919).","journal-title":"35th IEEE International Conference on Software Maintenance and Evolution (ICSME\u201919)"},{"key":"e_1_3_2_44_2","article-title":"Checking smart contracts with structural code embedding","author":"Gao Zhipeng","year":"2020","unstructured":"Zhipeng Gao, Lingxiao Jiang, Xin Xia, David Lo, and John Grundy. 2020. Checking smart contracts with structural code embedding. IEEE Transactions on Software Engineering (2020).","journal-title":"IEEE Transactions on Software Engineering"},{"key":"e_1_3_2_45_2","first-page":"90","volume-title":"Proceedings of the Decentralized Business Review. Security Research Institute, Edith Cowan University","author":"Greene Richard","year":"2018","unstructured":"Richard Greene and Michael N. Johnstone. 2018. An investigation into a denial of service attack on an ethereum network. In Proceedings of the Decentralized Business Review. Security Research Institute, Edith Cowan University, 90\u201396."},{"key":"e_1_3_2_46_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-017-9522-4"},{"key":"e_1_3_2_47_2","doi-asserted-by":"publisher","DOI":"10.1145\/3238147.3238177"},{"key":"e_1_3_2_48_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE.2007.30"},{"key":"e_1_3_2_49_2","volume-title":"25th Annual Network and Distributed System Security Symposium (NDSS\u201918)","author":"Kalra Sukrit","year":"2018","unstructured":"Sukrit Kalra, Seep Goel, Mohan Dhawan, and Subodh Sharma. 2018. ZEUS: Analyzing safety of smart contracts. In 25th Annual Network and Distributed System Security Symposium (NDSS\u201918)."},{"key":"e_1_3_2_50_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-1-84800-044-5_3"},{"key":"e_1_3_2_51_2","article-title":"Detecting standard violation errors in smart contracts","author":"Li Ao","year":"2018","unstructured":"Ao Li and Fan Long. 2018. Detecting standard violation errors in smart contracts. arXiv:1812.07702. https:\/\/arxiv.org\/pdf\/1812.07702.pdf.","journal-title":"arXiv:1812.07702"},{"key":"e_1_3_2_52_2","article-title":"A survey on the security of blockchain systems","author":"Li Xiaoqi","year":"2017","unstructured":"Xiaoqi Li, Peng Jiang, Ting Chen, Xiapu Luo, and Qiaoyan Wen. 2017. A survey on the security of blockchain systems. Future Generation Computer Systems (2017).","journal-title":"Future Generation Computer Systems"},{"key":"e_1_3_2_53_2","doi-asserted-by":"publisher","DOI":"10.1145\/2976749.2978309"},{"key":"e_1_3_2_54_2","doi-asserted-by":"publisher","DOI":"10.1109\/ASE.2019.00133"},{"key":"e_1_3_2_55_2","first-page":"21260","volume-title":"Decentralized Business Review","author":"Nakamoto Satoshi","year":"2008","unstructured":"Satoshi Nakamoto. 2008. Bitcoin: A peer-to-peer electronic cash system. Decentralized Business Review. 21260."},{"key":"e_1_3_2_56_2","doi-asserted-by":"publisher","DOI":"10.3233\/SAT190101"},{"key":"e_1_3_2_57_2","doi-asserted-by":"publisher","DOI":"10.1145\/3274694.3274743"},{"key":"e_1_3_2_58_2","unstructured":"Openzeppelin. 2021. Pausable Documentation. Retrieved June 2021 from https:\/\/docs.openzeppelin.com\/contracts\/2.x\/api\/lifecycle."},{"key":"e_1_3_2_59_2","unstructured":"Openzeppelin. 2021. Pausable Documentation. Retrieved June 2021 from https:\/\/github.com\/OpenZeppelin\/openzeppelin-contracts\/blob\/b0cf6fbb7a70f31527f36579ad644e1cf12fdf4e\/contracts\/security\/Pausable.sol."},{"key":"e_1_3_2_60_2","doi-asserted-by":"crossref","unstructured":"Martin Porter. 1980. An algorithm for suffix stripping. Program 3 14 (1980) 130\u2013137.","DOI":"10.1108\/eb046814"},{"key":"e_1_3_2_61_2","doi-asserted-by":"publisher","DOI":"10.1145\/505282.505283"},{"key":"e_1_3_2_62_2","volume-title":"Card Sorting: Designing Usable Categories","author":"Spencer Donna","year":"2009","unstructured":"Donna Spencer. 2009. Card Sorting: Designing Usable Categories. Rosenfeld Media."},{"key":"e_1_3_2_63_2","doi-asserted-by":"publisher","DOI":"10.1145\/3243734.3243780"},{"key":"e_1_3_2_64_2","doi-asserted-by":"publisher","DOI":"10.1007\/BF02729815"},{"key":"e_1_3_2_65_2","unstructured":"Buterin Vitalik and Swende Martin. 2021. EIP-3298: Removal of refunds. Retrieved June 2021 from. https:\/\/eips.ethereum.org\/EIPS\/eip-3298."},{"key":"e_1_3_2_66_2","unstructured":"Buterin Vitalik and Swende Martin. 2021. EIP-3529: Reduction in refunds. Retrieved June 2021 from https:\/\/eips.ethereum.org\/EIPS\/eip-3529."},{"key":"e_1_3_2_67_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE-NIER.2019.00009"},{"key":"e_1_3_2_68_2","doi-asserted-by":"publisher","DOI":"10.1145\/3178876.3186046"},{"key":"e_1_3_2_69_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE.2019.00098"},{"key":"e_1_3_2_70_2","doi-asserted-by":"publisher","DOI":"10.5555\/645526.657137"},{"key":"e_1_3_2_71_2","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2019.2942301"},{"key":"e_1_3_2_72_2","doi-asserted-by":"publisher","DOI":"10.1007\/s00248-014-0516-0"},{"key":"e_1_3_2_73_2","unstructured":"sklearn. 2021. scikit-learn: Machine Learning in Python. https:\/\/scikit-learn.org\/stable\/."},{"key":"e_1_3_2_74_2","first-page":"1","article-title":"Ethereum: A secure decentralised generalised transaction ledger","volume":"151","author":"Gavin Wood","year":"2014","unstructured":"Wood Gavin, and others. 2014. Ethereum: A secure decentralised generalised transaction ledger. Ethereum Project Yellow Paper 151 (2014), 1\u201332.","journal-title":"Ethereum Project Yellow Paper"}],"container-title":["ACM Transactions on Software Engineering and Methodology"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3488245","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3488245","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,17]],"date-time":"2025-06-17T19:30:23Z","timestamp":1750188623000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3488245"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,12,24]]},"references-count":73,"journal-issue":{"issue":"2","published-print":{"date-parts":[[2022,4,30]]}},"alternative-id":["10.1145\/3488245"],"URL":"https:\/\/doi.org\/10.1145\/3488245","relation":{},"ISSN":["1049-331X","1557-7392"],"issn-type":[{"value":"1049-331X","type":"print"},{"value":"1557-7392","type":"electronic"}],"subject":[],"published":{"date-parts":[[2021,12,24]]},"assertion":[{"value":"2021-02-01","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2021-09-01","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2021-12-24","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}