Re-exportsยง
use alloy_json_abi::ContractObject;๐use alloy_json_abi::InternalType;๐use alloy_json_abi::JsonAbi;๐use alloy_json_abi::Param;๐use alloy_json_abi::ToSolConfig;๐use alloy_primitives::Address;๐use alloy_primitives::map::HashMap;๐use alloy_primitives::map::HashSet;๐use clap::Parser;๐use eyre::Context;๐use eyre::Result;๐use forge_fmt::FormatterConfig;๐use foundry_cli::json::print_json_object;๐use foundry_cli::opts::EtherscanOpts;๐use foundry_cli::utils::LoadConfig;๐use foundry_cli::utils::fetch_abi_from_etherscan;๐use foundry_common::ContractsByArtifact;๐use foundry_common::compile::PathOrContractInfo;๐use foundry_common::compile::ProjectCompiler;๐use foundry_common::compile::compile_abi_project;๐use foundry_common::find_target_path;๐use foundry_common::fs;๐use foundry_common::shell;๐use foundry_config::load_config;๐use itertools::Itertools;๐use serde_json::Value;๐use std::path::PathBuf;๐use std::str::FromStr;๐
Structsยง
- Interface
Args - CLI arguments for
cast interface.
Functionsยง
- load_
abi_ ๐from_ artifact - Load the ABI and name from the artifact of a locally compiled contract.
- load_
abi_ ๐from_ file - Load the ABI from a file.
- unique_
declaration_ ๐name - Reserves a declaration name across all generated interfaces and libraries.
- visit_
abi_ ๐types - Visits internal types, including nested tuples, in every ABI parameter.
- visit_
param_ ๐types