Returns the contract source path for a given contract name (e.g. "MyContract.sol").
(name: &str)
| 15 | |
| 16 | /// Returns the contract source path for a given contract name (e.g. "MyContract.sol"). |
| 17 | pub fn contract_src(name: &str) -> PathBuf { |
| 18 | PathBuf::from(format!("{name}.sol")) |
| 19 | } |
| 20 | |
| 21 | /// Collects library and top-level contracts. |
| 22 | /// Returns a tuple containing a vector of library contracts (with their source paths) |
no outgoing calls
no test coverage detected