Struct ethers_solc::MinimalCombinedArtifacts [−][src]
pub struct MinimalCombinedArtifacts;
Expand description
An Artifacts implementation that uses a compact representation
Creates a single json artifact with
{
"abi": [],
"bin": "...",
"runtime-bin": "..."
}
Trait Implementations
type Artifact = CompactContract
type Artifact = CompactContract
How Artifacts are stored
Handle the compiler output.
Convert a contract to the artifact type
Returns the file name for the contract’s artifact
Returns the path to the contract’s artifact location based on the contract’s file and name Read more
The inverse of contract_file_name
Read more
Whether the corresponding artifact of the given contract file and name exists
fn read_cached_artifacts<T, I>(
files: I
) -> Result<BTreeMap<PathBuf, Self::Artifact>> where
I: IntoIterator<Item = T>,
T: Into<PathBuf>,
fn read_cached_artifacts<T, I>(
files: I
) -> Result<BTreeMap<PathBuf, Self::Artifact>> where
I: IntoIterator<Item = T>,
T: Into<PathBuf>,
Read the cached artifacts from disk
fn output_to_artifacts(
output: CompilerOutput
) -> BTreeMap<String, BTreeMap<String, Self::Artifact>>
fn output_to_artifacts(
output: CompilerOutput
) -> BTreeMap<String, BTreeMap<String, Self::Artifact>>
Convert the compiler output into a set of artifacts
Auto Trait Implementations
impl RefUnwindSafe for MinimalCombinedArtifacts
impl Send for MinimalCombinedArtifacts
impl Sync for MinimalCombinedArtifacts
impl Unpin for MinimalCombinedArtifacts
impl UnwindSafe for MinimalCombinedArtifacts
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more