starknet-abigen-parser-stopgap 0.1.0

parser for generating StarkNet ABI bindings by glihm
Documentation
  • Coverage
  • 49.44%
    44 out of 89 items documented0 out of 30 items with examples
  • Size
  • Source code size: 141.12 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.92 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • ahermida

This crates is about parsing Cairo types from an ABI. Later, this will also be able to parse Cairo type from Cairo code.

The important consideration are the generic type. Indeed, in the ABI there is no information about a type genericity and how exactly the members/variants are following the generic type as everything is flattened.

abi_types is the low level parsing of the types. It supports nested types.

CairoStruct, CairoEnum and CairoFunction are higher level types to resolve the genericity and manage members/variants/inputs/outputs for simpler expansion.