[][src]Crate ethcontract_generate

Crate for generating type-safe bindings to Ethereum smart contracts. This crate is intended to be used either indirectly with the ethcontract crate's contract procedural macro or directly from a build script.

Structs

Builder

Builder for generating contract code. Note that no code is generated until the builder is finalized with generate or output.

ContractBindings

Type-safe contract bindings generated by a Builder. This type can be either written to file or into a token stream for use in a procedural macro.