glihm / starknet-abigen-rs

Exploratory work on abigen in rust for Starknet 🦀
Apache License 2.0
15 stars 1 forks source link

Write a macro to auto-generate cairo_type trait for `uintX` and `intX` #5

Closed glihm closed 1 year ago

glihm commented 1 year ago

In this file the implementation of CairoType trait is done manually for each integer types.

Consider writing a macro to auto-generate those, and adding a file for each of the int types.

This issue is about uint8,16,..128 and int8,16....