Skip to main content

Module build

Module build 

Source

Re-exportsยง

use crate::ScriptArgs; ๐Ÿ”’
use crate::ScriptConfig; ๐Ÿ”’
use crate::broadcast::BundledState; ๐Ÿ”’
use crate::broadcast::refused_after_revert; ๐Ÿ”’
use crate::broadcast::remaining_operation_indices; ๐Ÿ”’
use crate::broadcast::remaining_unsigned_transactions_for_recovery; ๐Ÿ”’
use crate::execute::LinkedState; ๐Ÿ”’
use crate::multi_sequence::MultiChainSequence; ๐Ÿ”’
use crate::progress::ScriptProgress; ๐Ÿ”’
use crate::receipts::is_mined_receipt_for; ๐Ÿ”’
use crate::recovery::recovery_exists; ๐Ÿ”’
use crate::sequence::DelegatedResolution; ๐Ÿ”’
use crate::sequence::ScriptSequenceKind; ๐Ÿ”’
use crate::sequence::blocked_pending; ๐Ÿ”’
use crate::session::SignerScope; ๐Ÿ”’
use crate::session::script_session_expected_sender_if_configured; ๐Ÿ”’
use alloy_network::AnyNetwork; ๐Ÿ”’
use alloy_network::ReceiptResponse; ๐Ÿ”’
use alloy_primitives::Address; ๐Ÿ”’
use alloy_primitives::B256; ๐Ÿ”’
use alloy_provider::Provider; ๐Ÿ”’
use alloy_rpc_types::BlockId; ๐Ÿ”’
use alloy_signer::Signer; ๐Ÿ”’
use eyre::ContextCompat; ๐Ÿ”’
use eyre::OptionExt; ๐Ÿ”’
use eyre::Result; ๐Ÿ”’
use forge_script_sequence::ScriptSequence; ๐Ÿ”’
use foundry_cheatcodes::Wallets; ๐Ÿ”’
use foundry_cli::opts::TempoOpts; ๐Ÿ”’
use foundry_common::ContractData; ๐Ÿ”’
use foundry_common::ContractsByArtifact; ๐Ÿ”’
use foundry_common::ContractsByArtifactBuilder; ๐Ÿ”’
use foundry_common::compile::ProjectCompiler; ๐Ÿ”’
use foundry_common::external_compiler::is_builtin_compiler_source; ๐Ÿ”’
use foundry_common::fs::canonicalize_path; ๐Ÿ”’
use foundry_common::namespaced_storage; ๐Ÿ”’
use foundry_common::provider::ProviderBuilder; ๐Ÿ”’
use foundry_common::tempo::configurable_account::detect_configurable_account; ๐Ÿ”’
use foundry_common::tempo::configurable_account::parse_config; ๐Ÿ”’
use foundry_common::tempo::configurable_account::reaches_threshold; ๐Ÿ”’
use foundry_common::tempo::configurable_account::stored_owner_keys; ๐Ÿ”’
use foundry_compilers::ArtifactId; ๐Ÿ”’
use foundry_compilers::ProjectCompileOutput; ๐Ÿ”’
use foundry_compilers::artifacts::BytecodeObject; ๐Ÿ”’
use foundry_compilers::artifacts::Libraries; ๐Ÿ”’
use foundry_compilers::compilers::Language; ๐Ÿ”’
use foundry_compilers::compilers::multi::MultiCompilerLanguage; ๐Ÿ”’
use foundry_compilers::info::ContractInfo; ๐Ÿ”’
use foundry_compilers::utils::source_files_iter; ๐Ÿ”’
use foundry_evm::core::evm::FoundryEvmNetwork; ๐Ÿ”’
use foundry_evm::traces::CallTraceDecoder; ๐Ÿ”’
use foundry_evm::traces::debug::ContractSources; ๐Ÿ”’
use foundry_linking::Linker; ๐Ÿ”’
use foundry_wallets::MultiWalletOpts; ๐Ÿ”’
use foundry_wallets::wallet_browser::signer::BrowserSigner; ๐Ÿ”’
use itertools::Itertools; ๐Ÿ”’
use std::path::Path; ๐Ÿ”’
use std::path::PathBuf; ๐Ÿ”’
use std::str::FromStr; ๐Ÿ”’
use std::sync::Arc; ๐Ÿ”’
use tempo_alloy::TempoNetwork; ๐Ÿ”’

Structsยง

BuildData
Container for the compiled contracts.
CompiledState
State after we have determined and compiled target contract to be executed.
LinkedBuildData
Container for the linked contracts and their dependencies
PreprocessedState
First state basically containing only inputs of the user.

Enumsยง

ScriptPredeployLibraries

Functionsยง

compatibility_progress_exists ๐Ÿ”’
configurable_account_signers_available ๐Ÿ”’
Returns whether broadcast can sign every remaining transaction without running the script, given whether the wallets, sessions and access keys cover every sender (available).
has_available_script_signers ๐Ÿ”’
Returns whether every scoped signer needed for resume is already available: a wallet of the sender, or the session in session_scope.
progress_exists ๐Ÿ”’
script_session_scope ๐Ÿ”’
Returns the sender and chain that the selected Tempo session signs for, if any. The session is not resolved when no transaction remains.