Talks and Poster Presentations (with Proceedings-Entry):
M. Di Angelo, G. Salzer:
"Assessing the Similarity of Smart Contracts by Clustering their Interfaces";
Talk: 19th International Conference on Trust, Security and Privacy in Computing and Communications (TrustCom),
- 2021-01-01; in: "19th International Conference on Trust, Security and Privacy in Computing and Communications (TrustCom)",
Like most programs, smart contracts offer their functionality via entry points that constitute the interface. Interface standards, e.g. for tokens contracts, foster interoperability. Ethereum is the most prominent platform for smart contracts. The number of contract deployments approaches 30 million, corresponding to roughly 300000 distinct contract codes. In view of these numbers, it is necessary to develop automated methods for classifying contracts regarding their purpose, if one aims at a qualitative and quantitative understanding of what blockchain applications are used for at large.
We approach the task by considering contracts as similar if their interfaces are. We encode interfaces and their interrelationships as graphs and explore several algorithms regarding their ability to find clusters of functionally similar contracts. Our evaluation of the quality of clustering relies on a ground truth of token and wallet contracts identified in earlier work. Our analysis is based on the bytecodes deployed on the main chain of Ethereum up to block 10.5 million, mined on July 21, 2020.
blockchain analysis, clustering, EVM bytecode, semantics, code similarity, smart contract
"Official" electronic version of the publication (accessed through its Digital Object Identifier - DOI)
Electronic version of the publication:
Created from the Publication Database of the Vienna University of Technology.