Crate ethcontract_generate[][src]

Expand description

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.


pub use crate::source::Source;


Convenience re-imports so that you don’t have to add ethcontract-common as a dependency.

Allows loading serialized artifacts from various sources.


An entity that contains compiled contracts.

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.

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

A wrapper that allows mutating contract but doesn’t allow changing its name.

Result of inserting a nre contract into an artifact.


Parses the given address string