Re-exportsยง
use crate::ScriptArgs;๐use crate::ScriptConfig;๐use crate::build::LinkedBuildData;๐use crate::sequence::ScriptSequenceKind;๐use crate::sequence::get_commit_hash;๐use alloy_network::Network;๐use alloy_network::ReceiptResponse;๐use alloy_primitives::Address;๐use alloy_primitives::TxHash;๐use alloy_primitives::hex;๐use alloy_primitives::hex;๐use eyre::Result;๐use eyre::eyre;๐use forge_script_sequence::AdditionalContract;๐use forge_script_sequence::ScriptSequence;๐use forge_verify::RetryArgs;๐use forge_verify::VerifierArgs;๐use forge_verify::VerifyArgs;๐use forge_verify::provider::ExternalVerificationContext;๐use forge_verify::sourcify::SOURCIFY_URL;๐use forge_verify::verify::sourcify_api_url;๐use foundry_cli::opts::EtherscanOpts;๐use foundry_cli::opts::ProjectPathOpts;๐use foundry_common::ContractsByArtifact;๐use foundry_common::FoundryReceiptResponse;๐use foundry_compilers::Project;๐use foundry_compilers::artifacts::EvmVersion;๐use foundry_compilers::info::ContractInfo;๐use foundry_config::Chain;๐use foundry_config::Config;๐use foundry_evm::core::evm::FoundryEvmNetwork;๐use itertools::Itertools;๐use semver::Version;๐use external::ExternalResolver;๐use external::MAX_PROVENANCE_ADDRESSES;๐use external::MatchResult;๐use external::match_candidates;๐
Modulesยง
- external ๐
- Acquisition, compilation, and matching of external Solidity sources.
Structsยง
- Broadcasted
State - State after we have broadcasted the script. It is assumed that at this point BroadcastedState::sequence contains receipts for all broadcasted transactions.
- Verify
Bundle - Data struct to help
ScriptSequenceverify contracts onetherscan.
Enumsยง
- Verification
Job ๐
Constantsยง
- MAX_
EXTERNAL_ ๐JOBS
Functionsยง
- check_
unverified ๐ - concise ๐
- ensure_
verification_ ๐complete - external_
job ๐ - same_
endpoint ๐ - source_
api_ ๐key - take_
matching_ ๐index - verify_
contracts ๐ - Given the broadcast log, it matches transactions with receipts, and tries to verify any created contract on etherscan.