This technology is a classification device and method that extracts key features from smart contract code patterns by category, generalizes them into sequence diagrams, and creates query trees. It then determines the category of any given smart contract based on the user's sequential responses.
Since the advent of Ethereum, the number of smart contracts has increased rapidly, but the functions and types of publicly available contract code are not readily apparent. Developers have faced the time-consuming and laborious task of reading and analyzing code one by one to find suitable examples for reference or reuse.
This technology is designed to provide classification results by asking a few questions based on a selected category's query tree, allowing users to identify the type of contract by understanding its general flow without needing to decode the entire codebase. It can be applied to contract search and recommendation features in blockchain development platforms or code repository management tools, enabling much faster discovery and reuse of smart contracts in desired fields.
This invention was developed with the support of the Ministry of Science and ICT for the development of adaptive blockchain platform technology and the training of professional personnel.