Skip to content

[Parser] Implement Ethereum ABI to JSON Translator #2

@mijinummi

Description

@mijinummi

Title: [Parser] Implement Ethereum ABI to JSON Translator in libs/parsers

📝 Description

The core of SpecDoc is its ability to "read" contracts. We need a utility that takes a standard Ethereum JSON ABI and converts it into our internal SpecDocSchema format.

🎯 Goal

Develop a parser that extracts function names, input types, and output types from a standard ABI.

✅ Requirements

  • Create a solidity.parser.ts file.
  • Correctly identify read vs. write functions.
  • Map standard Solidity types (uint256, address) to human-readable labels.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions