STAN: Towards Describing Bytecodes of Smart Contract
Xiaoqi Li, Ting Chen, Xiapu Luo, Tao Zhang, Le Yu, Zhou Xu

TL;DR
STAN is a novel system that generates detailed, accurate, and readable natural language descriptions of smart contract bytecodes, aiding user understanding of contract functionalities and mechanisms.
Contribution
This paper introduces STAN, the first system to generate semantic descriptions of smart contract bytecodes using symbolic execution and NLP techniques.
Findings
STAN produces accurate and readable descriptions.
The system demonstrates practical value for user comprehension.
Extensive experiments validate the effectiveness of STAN.
Abstract
More than eight million smart contracts have been deployed into Ethereum, which is the most popular blockchain that supports smart contract. However, less than 1% of deployed smart contracts are open-source, and it is difficult for users to understand the functionality and internal mechanism of those closed-source contracts. Although a few decompilers for smart contracts have been recently proposed, it is still not easy for users to grasp the semantic information of the contract, not to mention the potential misleading due to decompilation errors. In this paper, we propose the first system named STAN to generate descriptions for the bytecodes of smart contracts to help users comprehend them. In particular, for each interface in a smart contract, STAN can generate four categories of descriptions, including functionality description, usage description, behavior description, and payment…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsBlockchain Technology Applications and Security · FinTech, Crowdfunding, Digital Finance · Advanced Malware Detection Techniques
