Module cmd

Source

Structs§

TraceResult
A slimmed down return from the executor used for returning minimal trace + gas metering info

Traits§

LoadConfig
Helpers for loading configuration.

Functions§

cache_local_signatures
Traverse the artifacts in the project to generate local signatures and merge them into the cache file.
emit_warnings 🔒
ensure_clean_constructor
Returns error if constructor has arguments.
eta_key
get_cached_entry_by_name
Helper function for finding a contract by ContractName
handle_traces
labels the traces, conditionally prints them or opens the debugger
has_batch_support
True if it supports broadcasting in batches.
has_different_gas_calc
True if the network calculates gas costs differently.
init_progress
needs_setup
print_traces
read_constructor_args_file
Read contract constructor arguments from the given file.
remove_contract
Given a Project’s output, removes the matching ABI, Bytecode and Runtime Bytecode of the given contract.