Crate zink_abi_macro

Source

Macrosยง

import
The import! macro generates a Rust struct and implementation for interacting with an Ethereum smart contract based on its ABI (Application Binary Interface) and deploys the corresponding contract.

Structsยง

AbiFunction ๐Ÿ”’
A struct to represent the function in an ERC ABI
AbiParameter ๐Ÿ”’
A struct to represent a parameter in an ERC ABI
EthereumAbi ๐Ÿ”’
Represents an Ethereum ABI

Functionsยง

generate_function_implementation ๐Ÿ”’
Generate the implementation for a contract function
generate_function_signature ๐Ÿ”’
Generate a function signature for an ABI function
map_type_to_rust_and_encode ๐Ÿ”’
Maps Solidity types to Rust types and handles encoding/decoding