MCPcopy Create free account
hub / github.com/cowprotocol/services / artifacts_path

Method artifacts_path

contracts/src/codegen.rs:264–266  ·  view source on GitHub ↗
(&self, artifacts_dir: &Path)

Source from the content-addressed store, hash-verified

262 }
263
264 fn artifacts_path(&self, artifacts_dir: &Path) -> PathBuf {
265 artifacts_dir.join(&self.name).with_extension("json")
266 }
267
268 /// Generate the Rust code for this contract's bindings.
269 fn generate_code(&self, artifacts_dir: &Path) -> Result<TokenStream> {

Callers 1

generate_codeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected