alloy-rs / core

High-performance, well-tested & documented core libraries for Ethereum, in Rust
https://alloy.rs
Apache License 2.0
786 stars 149 forks source link

[Feature] Trait-based expansions for `SolInput` items #568

Open prestwich opened 8 months ago

prestwich commented 8 months ago

Component

sol! macro

Describe the feature you would like

Depends on #567.

Add a trait that consumes an iterator of sol items to produce an expansion, in a way that can be composed with other expanders

Additional context

No response