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
Eip712
trait for the labeled type. - EthAbi
Codec - Derives the
AbiEncode
andAbiDecode
traits for the labeled type. - EthAbi
Type - Derives the
AbiType
and allTokenizable
traits for the labeled type. - EthCall
- Derives the
EthCall
andTokenizeable
trait for the labeled type. - EthDisplay
- Derives the
Display
trait on structs by formatting each field based on its Ethereum type. - EthError
- Derives the
EthError
andTokenizeable
trait for the labeled type. - EthEvent
- Derives the
EthEvent
andTokenizable
traits for the labeled type.