Crate ethers_contract_derive
source ·Expand description
Procedural macros for generating type-safe bindings to an Ethereum smart contract.
Macros
- Generates type-safe bindings to an Ethereum smart contract from its ABI.
Derive Macros
- Derives the
Eip712trait for the labeled type. - Derives the
AbiTypeand allTokenizabletraits for the labeled type. - Derives the
EthCallandTokenizeabletrait for the labeled type. - Derives the
Displaytrait on structs by formatting each field based on its Ethereum type. - Derives the
EthErrorandTokenizeabletrait for the labeled type. - Derives the
EthEventandTokenizabletraits for the labeled type.