Re-exportsยง
use crate::bytecode::VerifyBytecodeArgs;๐use crate::types::VerificationType;๐use alloy_dyn_abi::DynSolValue;๐use alloy_dyn_abi::JsonAbiExt;๐use alloy_network::AnyNetwork;๐use alloy_network::AnyRpcBlock;๐use alloy_network::TransactionBuilder;๐use alloy_primitives::Address;๐use alloy_primitives::B256;๐use alloy_primitives::Bytes;๐use alloy_primitives::ChainId;๐use alloy_primitives::TxKind;๐use alloy_primitives::U256;๐use alloy_provider::Provider;๐use alloy_provider::network::BlockResponse;๐use alloy_rpc_types::BlockId;๐use clap::ValueEnum;๐use evm2::bytecode::Bytecode;๐use eyre::OptionExt;๐use eyre::Result;๐use foundry_block_explorers::contract::ContractCreationData;๐use foundry_block_explorers::contract::ContractMetadata;๐use foundry_block_explorers::contract::Metadata;๐use foundry_block_explorers::errors::EtherscanError;๐use foundry_block_explorers::utils::lookup_compiler_version;๐use foundry_cli::utils::LoadConfig;๐use foundry_common::FoundryTransactionBuilder;๐use foundry_common::abi::encode_args;๐use foundry_common::compile::ProjectCompiler;๐use foundry_common::find_matching_contract_artifact;๐use foundry_common::ignore_metadata_hash;๐use foundry_common::shell;๐use foundry_compilers::Graph;๐use foundry_compilers::artifacts::BytecodeHash;๐use foundry_compilers::artifacts::CompactContractBytecode;๐use foundry_compilers::compilers::ParsedSource;๐use foundry_compilers::multi::MultiCompilerLanguage;๐use foundry_compilers::multi::MultiCompilerParser;๐use foundry_compilers::utils::canonicalize;๐use foundry_config::Config;๐use foundry_evm::constants::DEFAULT_CREATE2_DEPLOYER;๐use foundry_evm::core::decode::RevertDecoder;๐use foundry_evm::core::evm::ChainFor;๐use foundry_evm::core::evm::EvmEnvFor;๐use foundry_evm::core::evm::FoundryEvmNetwork;๐use foundry_evm::core::evm::FoundryTxConversion;๐use foundry_evm::core::evm::TransactionRequestFor;๐use foundry_evm::core::evm::TypesFor;๐use foundry_evm::executors::ExecutorBuilder;๐use foundry_evm::executors::TracingExecutor;๐use foundry_evm::opts::EvmOpts;๐use foundry_evm::traces::TraceRequirements;๐use foundry_evm::utils::apply_chain_and_block_specific_env_changes_for_chain;๐use foundry_evm::utils::block_env_from_header;๐use foundry_evm_networks::NetworkConfigs;๐use reqwest::Url;๐use semver::BuildMetadata;๐use semver::Version;๐use serde::Deserialize;๐use serde::Deserialize;๐use serde::Serialize;๐use serde::Serialize;๐use yansi::Paint;๐
Structsยง
Enumsยง
- Bytecode
Type - Enum to represent the type of bytecode being verified
Functionsยง
- build_
project - check_
and_ encode_ args - check_
args_ len - check_
explorer_ args - configure_
env_ block - creation_
call - Returns the kind and input of the call that deploys the contract: the first call of a Tempo AA transaction, or the transaction itself.
- deploy_
contract - Executes the creation
tx(converted fromrequest) withevm_envandextor extension state prepared for it, and returns the address of the contract it deployed. - ensure_
solc_ build_ metadata - Given any solc Version return a Version with build metadata
- find_
mismatch_ ๐in_ settings - get_
runtime_ codes - get_
tracing_ executor - is_
host_ only - Returns
trueif the URL only consists of host. - is_
partial_ ๐match - load_
fork_ config_ and_ evm_ opts - match_
bytecodes - maybe_
predeploy_ contract - print_
result - try_
extract_ ๐and_ compare_ bytecode - validate_
encoded_ constructor_ args - wrap_
verifier_ url_ error - Wraps a failed verification error with guidance when
--verifier-urllooks misconfigured for the Etherscan provider. Returnserruntouched when no hint applies.