MCPcopy Create free account
hub / github.com/consensus-shipyard/ipc / contract_src

Function contract_src

fendermint/eth/deployer/src/utils.rs:17–19  ·  view source on GitHub ↗

Returns the contract source path for a given contract name (e.g. "MyContract.sol").

(name: &str)

Source from the content-addressed store, hash-verified

15
16/// Returns the contract source path for a given contract name (e.g. "MyContract.sol").
17pub 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)

Callers 4

collect_contractsFunction · 0.85
collect_facetsFunction · 0.85
deploy_contractMethod · 0.85
deploy_contractMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected