known_abi_gen

command
v2.5.5+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2023 License: GPL-3.0 Imports: 1 Imported by: 0

README

Known ABI File Generator (WIP)

This tool downloads repositories containing well-known smart contracts, unzips them, compiles .sol files into combined ASTs and parses them to generate slices of types.SimpleFunction. Finally, it marshals the slices into JSON.

TO DO

We switched the tool to use forge (part of Foundry) instead of solc, as forge can automatically detect and fetch different solc versions. However, forge doesn't seem to produce combined AST (just separate AST files for each .sol input). This means that methods defined in contract's dependencies will be missing.

Documentation

Overview

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL