Type Alias ethers_solc::artifacts::FileToContractsMap
source · pub type FileToContractsMap<T> = BTreeMap<String, BTreeMap<String, T>>;
Expand description
Solidity files are made up of multiple source units
, a solidity contract is such a source unit
, therefore a solidity file can contain multiple contracts: (1-N*) relationship.
This types represents this mapping as file name -> (contract name -> T)
, where the generic is
intended to represent contract specific information, like Contract
itself, See Contracts
Aliased Type§
struct FileToContractsMap<T> { /* private fields */ }