CloneMetadata stores the metadata that are not included by foundry.toml but necessary for a
cloned contract. The metadata can be serialized to a metadata file in the cloned project root.
EtherscanClient is a trait that defines the methods to interact with Etherscan.
It is defined as a wrapper of the foundry_block_explorers::Client to allow mocking.
Dump the contract sources to the root directory.
The sources are dumped to the src directory.
IO errors may be returned.
A list of remappings is returned
Update the configuration file with the metadata.
This function will update the configuration file with the metadata from the contract.
It will update the following fields: