Verified Smart Contract Code Comments
收藏Figshare2023-08-21 更新2026-04-08 收录
下载链接:
https://figshare.com/articles/dataset/Verified_Smart_Contract_Code_Comments/20780878/2
下载链接
链接失效反馈官方服务:
资源简介:
<b>Artifact Description</b>Verified Smart Contracts Code Comments is a dataset of real Ethereum smart contract functions, containing "code, comment" pairs of both Solidity and Vyper source code. The dataset is based on every deployed Ethereum smart contract as of 1st of April 2022, whose been verified on Etherscan and has a least one transaction. A total of 1,541,370 smart contract functions are provided, parsed from 186,397 unique smart contracts, filtered down from 2,217,692 smart contracts.The dataset contains three folders: "train", "validation" and "test". Each folder contains several enumerated files in the Apache Parquet data file format.<b>Environment Setup</b>The Pandas library for Python is required to load the dataset. Both Unix-based and Windows systems are supported.<b>Getting Started</b>The following code snippet demonstrates how to load the dataset into a Pandas DataFrame.<br><br>>>> import pandas as pd<br>>>> df = pd.read_parquet("path/to/data")<b>License</b>All Smart Contracts in the dataset are publicly available, obtained by using Etherscan APIs, and subject to their own original licenses.
提供机构:
Storhaug, André
创建时间:
2023-08-21



