zink_
abi_
macro
0.1.11
All Items
Crate Items
Macros
Structs
Functions
Crate
zink_abi_macro
Copy item path
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
Ethereum
Abi
๐
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