Expand description
Procedural macros for generating type-safe bindings to an Ethereum smart contract.
Macros§
- abigen
- Generates type-safe bindings to an Ethereum smart contract from its ABI.
Derive Macros§
- Eip712
- Derives the
Eip712trait for the labeled type. - EthAbi
Codec - Derives the
AbiEncodeandAbiDecodetraits for the labeled type. - EthAbi
Type - Derives the
AbiTypeand allTokenizabletraits for the labeled type. - EthCall
- Derives the
EthCallandTokenizeabletrait for the labeled type. - EthDisplay
- Derives the
Displaytrait on structs by formatting each field based on its Ethereum type. - EthError
- Derives the
EthErrorandTokenizeabletrait for the labeled type. - EthEvent
- Derives the
EthEventandTokenizabletraits for the labeled type.