Expand description
The forge verify-bytecode command.
Re-exportsΒ§
use crate::etherscan::EtherscanVerificationProvider;πuse crate::utils::BytecodeType;πuse crate::utils::JsonResult;πuse crate::utils::check_and_encode_args;πuse crate::utils::check_explorer_args;πuse crate::utils::load_fork_config_and_evm_opts;πuse crate::utils::maybe_predeploy_contract;πuse crate::utils::validate_encoded_constructor_args;πuse crate::verify::VerifierArgs;πuse alloy_consensus::Transaction as ConsensusTransaction;πuse alloy_network::AnyNetwork;πuse alloy_network::AnyRpcBlock;πuse alloy_network::AnyRpcTransaction;πuse alloy_network::TransactionBuilder;πuse alloy_primitives::Address;πuse alloy_primitives::B256;πuse alloy_primitives::Bytes;πuse alloy_primitives::TxKind;πuse alloy_primitives::U256;πuse alloy_primitives::hex;πuse alloy_primitives::hex;πuse alloy_provider::Provider;πuse alloy_provider::ext::TraceApi;πuse alloy_provider::network::BlockResponse;πuse alloy_provider::network::ReceiptResponse;πuse alloy_provider::network::TransactionResponse;πuse alloy_provider::network::primitives::BlockTransactions;πuse alloy_rpc_types::BlockId;πuse alloy_rpc_types::BlockNumberOrTag;πuse alloy_rpc_types::trace::parity::Action;πuse alloy_rpc_types::trace::parity::CreateAction;πuse alloy_rpc_types::trace::parity::CreateOutput;πuse alloy_rpc_types::trace::parity::TraceOutput;πuse clap::Parser;πuse clap::ValueHint;πuse evm2::evm::AccountInfo;πuse eyre::Context;πuse eyre::OptionExt;πuse eyre::Result;πuse foundry_block_explorers::contract::Metadata;πuse foundry_cli::opts::EtherscanOpts;πuse foundry_cli::utils;πuse foundry_cli::utils::LoadConfig;πuse foundry_cli::utils::read_constructor_args_file;πuse foundry_common::FoundryTransactionBuilder;πuse foundry_common::SYSTEM_TRANSACTION_TYPE;πuse foundry_common::is_known_system_sender;πuse foundry_common::provider::RetryProvider;πuse foundry_common::shell;πuse foundry_compilers::info::ContractInfo;πuse foundry_config::Chain;πuse foundry_config::Config;πuse foundry_config::figment;πuse foundry_config::impl_figment_convert;πuse foundry_evm::constants::DEFAULT_CREATE2_DEPLOYER;πuse foundry_evm::core::evm::BlockContext;πuse foundry_evm::core::evm::ChainFor;πuse foundry_evm::core::evm::EthEvmNetwork;πuse foundry_evm::core::evm::EvmEnvFor;πuse foundry_evm::core::evm::EvmFactoryFor;πuse foundry_evm::core::evm::FoundryEvmExt;πuse foundry_evm::core::evm::FoundryEvmFactory;πuse foundry_evm::core::evm::FoundryEvmNetwork;πuse foundry_evm::core::evm::FoundryTxConversion;πuse foundry_evm::core::evm::TempoEvmNetwork;πuse foundry_evm::core::evm::TransactionRequestFor;πuse foundry_evm::core::evm::TypesFor;πuse foundry_evm::core::evm::eth_envelope_from_any_rpc;πuse foundry_evm::executors::Executor;πuse foundry_evm::executors::ExecutorBuilder;πuse foundry_evm::executors::TracingExecutor;πuse foundry_evm::opts::EvmOpts;πuse foundry_evm::opts::ForkEndpointIdentity;πuse foundry_evm::utils::apply_chain_specific_tx_replay_env_changes_for_chain;πuse foundry_evm_networks::NetworkVariant;πuse std::path::PathBuf;πuse foundry_evm::core::evm::BaseEvmNetwork;πbaseuse foundry_evm::core::evm::MonadEvmNetwork;πmonaduse foundry_evm::core::evm::OpEvmNetwork;πoptimism
StructsΒ§
- Runtime
Verification π - Prepared runtime verification, before replaying the creation blockβs prefix.
- Verify
Bytecode Args - CLI arguments for
forge verify-bytecode.
FunctionsΒ§
- monad_
block_ πcontext monad - Fetches the block context Monad needs to reconstruct replay ordering.
- replay_
block_ πtransactions - Replays the transactions preceding
target_hashinblockand returns the extension state prepared for the target, positioned incontextwhen the networkβs execution depends on the block position. - replay_
monad_ πblock_ transactions monad - Replays Monad transactions preceding
target_hashwith their ancestry context.