Skip to content

Files

Latest commit

7c80a5f · Feb 28, 2023

History

History
16 lines (14 loc) · 430 Bytes

README.md

File metadata and controls

16 lines (14 loc) · 430 Bytes

SourceGraphExtractor

AutoExtractGraph.py

  • All functions in the smart contract code are automatically split and stored.
  • Find the relationships between functions.
  • Extract all smart contracts source code into the corresponding contract graph consisting of nodes and edges.
python3 AutoExtractGraph.py

graph2vec.py

  • Feature ablation.
  • Convert contract graph into vectors.
python3 graph2vec.py