Skip to main content

Module opts

Module opts 

Source

ModulesΒ§

build πŸ”’
chain πŸ”’
core
dependency πŸ”’
CLI dependency parsing
evm πŸ”’
CLI arguments for configuring the EVM settings.
global πŸ”’
paths
rpc πŸ”’
rpc_common πŸ”’
Common RPC options shared between RpcOpts and EvmArgs.
session
tempo πŸ”’
tracing πŸ”’
CLI arguments for configuring trace rendering.
transaction πŸ”’
utils

StructsΒ§

BuildOpts
ChainValueParser
Custom Clap value parser for [Chain]s.
CompilerOpts
Dependency
A git dependency which will be installed as a submodule
EnvArgs
Configures the executor environment during tests.
EthereumOpts
EtherscanOpts
EvmArgs
EvmArgs and EnvArgs take the highest precedence in the Config/Figment hierarchy.
GlobalArgs
Global arguments for the CLI.
ProjectPathOpts
Common arguments for a project’s paths.
RpcCommonOpts
Common RPC-related options shared across CLI commands.
RpcOpts
SolarSourceStatus
Describes the Solidity sources encountered while configuring Solar.
TempoOpts
CLI options for Tempo transactions.
TracingArgs
CLI arguments for trace rendering.
TransactionOpts

EnumsΒ§

CliAuthorizationList
CLI helper to parse an EIP-7702 authorization list. Can be either a hex-encoded signed authorization or an address.
DependencyRefKind
An explicitly requested Git ref kind.

ConstantsΒ§

ALIAS_SEPARATOR
COMMON_ORG_ALIASES
Commonly used aliases for solidity repos,
FLASHBOTS_URL
GITHUB
MAX_EXPIRES_SECS
Largest TIP-1009 validity window accepted by any hardfork. The window was 30 seconds before T11; the node enforces the limit of its active hardfork.
TEMPO_SESSION_ID_ENV
Environment variable used to pass a Tempo wallet session to child commands.
VERSION_SEPARATOR

StaticsΒ§

GH_REPO_PREFIX_REGEX
Git repo prefix regex
GH_REPO_REGEX
VERSION_PREFIX_REGEX

FunctionsΒ§

configure_pcx_all_sources
Configures a Solar parsing context with all Solar-compatible project sources.
configure_pcx_all_sources_with_status
Configures a Solar parsing context with all Solar-compatible project sources and reports whether unsupported sources were skipped.
configure_pcx_from_compile_output
Configures a [ParsingContext] from a [ProjectCompileOutput].
configure_pcx_from_solc
Configures a [ParsingContext] from [ProjectPathsConfig] and [SolcVersionedInput].
configure_pcx_from_solc_cli
configure_pcx_with_sources
get_solar_sources_from_compile_output
Extracts Solar-compatible sources from a [ProjectCompileOutput].
id
We have to serialize chain IDs and not names because when extracting an EVM Env, it expects chain_id to be u64.
init_thread_pool
Initialize the global thread pool.
parse_expires_seconds
Parses a seconds value for --tempo.expires, capped at MAX_EXPIRES_SECS.
parse_signature