Struct ethers_solc::hh::HardhatArtifacts [−][src]
pub struct HardhatArtifacts;
Expand description
Hardhat style artifacts handler
Trait Implementations
type Artifact = HardhatArtifact
type Artifact = HardhatArtifact
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 HardhatArtifacts
impl Send for HardhatArtifacts
impl Sync for HardhatArtifacts
impl Unpin for HardhatArtifacts
impl UnwindSafe for HardhatArtifacts
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