Crate ethers_contract_derive[][src]

Expand description

Implementation of procedural macro for generating type-safe bindings to an ethereum smart contract.

Macros

Proc macro to generate type-safe bindings to a contract(s). This macro accepts one or more Ethereum contract ABI or a path. Note that this path is rooted in the crate’s root CARGO_MANIFEST_DIR.

Derive Macros

Derives the Tokenizable trait for the labeled type.

Derives the EthCall and Tokenizeable trait for the labeled type.

Derives fmt::Display trait and generates a convenient format for all the underlying primitive types/tokens.

Derives the EthEvent and Tokenizeable trait for the labeled type.