Skip to main content

Module create

Module create 

Source

Re-exportsยง

use alloy_chains::Chain; ๐Ÿ”’
use alloy_consensus::SignableTransaction; ๐Ÿ”’
use alloy_consensus::Signed; ๐Ÿ”’
use alloy_dyn_abi::DynSolValue; ๐Ÿ”’
use alloy_dyn_abi::JsonAbiExt; ๐Ÿ”’
use alloy_json_abi::JsonAbi; ๐Ÿ”’
use alloy_network::Ethereum; ๐Ÿ”’
use alloy_network::EthereumWallet; ๐Ÿ”’
use alloy_network::Network; ๐Ÿ”’
use alloy_network::ReceiptResponse; ๐Ÿ”’
use alloy_network::TransactionBuilder; ๐Ÿ”’
use alloy_primitives::Address; ๐Ÿ”’
use alloy_primitives::Bytes; ๐Ÿ”’
use alloy_primitives::U256; ๐Ÿ”’
use alloy_primitives::hex; ๐Ÿ”’
use alloy_primitives::hex; ๐Ÿ”’
use alloy_provider::PendingTransactionError; ๐Ÿ”’
use alloy_provider::Provider; ๐Ÿ”’
use alloy_provider::ProviderBuilder as AlloyProviderBuilder; ๐Ÿ”’
use alloy_signer::Signature; ๐Ÿ”’
use alloy_signer::Signer; ๐Ÿ”’
use alloy_transport::TransportError; ๐Ÿ”’
use clap::Parser; ๐Ÿ”’
use clap::ValueHint; ๐Ÿ”’
use eyre::Context; ๐Ÿ”’
use eyre::ContextCompat; ๐Ÿ”’
use eyre::Result; ๐Ÿ”’
use forge_verify::RetryArgs; ๐Ÿ”’
use forge_verify::VerifierArgs; ๐Ÿ”’
use forge_verify::VerifyArgs; ๐Ÿ”’
use forge_verify::parse_etherscan_license_type; ๐Ÿ”’
use foundry_cli::opts::BuildOpts; ๐Ÿ”’
use foundry_cli::opts::EthereumOpts; ๐Ÿ”’
use foundry_cli::opts::EtherscanOpts; ๐Ÿ”’
use foundry_cli::opts::TransactionOpts; ๐Ÿ”’
use foundry_cli::utils::LoadConfig; ๐Ÿ”’
use foundry_cli::utils::ResolvedLane; ๐Ÿ”’
use foundry_cli::utils::apply_gas_estimate_multiplier; ๐Ÿ”’
use foundry_cli::utils::find_contract_artifacts; ๐Ÿ”’
use foundry_cli::utils::maybe_print_resolved_lane; ๐Ÿ”’
use foundry_cli::utils::parse_constructor_args; ๐Ÿ”’
use foundry_cli::utils::read_constructor_args_file; ๐Ÿ”’
use foundry_cli::utils::resolve_lane; ๐Ÿ”’
use foundry_common::FoundryTransactionBuilder; ๐Ÿ”’
use foundry_common::compile; ๐Ÿ”’
use foundry_common::provider::ProviderBuilder; ๐Ÿ”’
use foundry_common::provider::fee::estimate_eip1559_fees; ๐Ÿ”’
use foundry_common::provider::fee::resolve_broadcast_eip1559_fees; ๐Ÿ”’
use foundry_common::shell; ๐Ÿ”’
use foundry_common::tempo::maybe_print_fee_token; ๐Ÿ”’
use foundry_common::tempo::resolve_and_set_fee_token; ๐Ÿ”’
use foundry_compilers::ArtifactId; ๐Ÿ”’
use foundry_compilers::artifacts::BytecodeObject; ๐Ÿ”’
use foundry_compilers::info::ContractInfo; ๐Ÿ”’
use foundry_compilers::utils::canonicalize; ๐Ÿ”’
use foundry_config::Config; ๐Ÿ”’
use foundry_config::Eip1559FeeEstimatePreset; ๐Ÿ”’
use foundry_config::figment; ๐Ÿ”’
use foundry_config::figment::Metadata; ๐Ÿ”’
use foundry_config::figment::Profile; ๐Ÿ”’
use foundry_config::figment::value::Dict; ๐Ÿ”’
use foundry_config::figment::value::Map; ๐Ÿ”’
use foundry_config::merge_impl_figment_convert; ๐Ÿ”’
use foundry_wallets::BrowserWalletOpts; ๐Ÿ”’
use foundry_wallets::TempoAccountsWallet; ๐Ÿ”’
use foundry_wallets::WalletSigner; ๐Ÿ”’
use foundry_wallets::wallet_browser::signer::BrowserSigner; ๐Ÿ”’
use serde_json::json; ๐Ÿ”’
use std::borrow::Borrow; ๐Ÿ”’
use std::marker::PhantomData; ๐Ÿ”’
use std::path::PathBuf; ๐Ÿ”’
use std::sync::Arc; ๐Ÿ”’
use std::time::Duration; ๐Ÿ”’
use tempo_alloy::TempoNetwork; ๐Ÿ”’

Structsยง

ContractDeploymentTx
Helper which manages the deployment transaction of a smart contract. It wraps a deployment transaction, and retrieves the contract address output by it.
CreateArgs
CLI arguments for forge create.
Deployer
Helper which manages the deployment transaction of a smart contract
DeploymentTxFactory
To deploy a contract to the Ethereum network, a DeploymentTxFactory can be created which manages the Contract bytecode and Application Binary Interface (ABI), usually generated from the Solidity compiler.

Enumsยง

ContractDeploymentError
An Error which is thrown when interacting with a smart contract