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

Method artifacts_path

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

Source from the content-addressed store, hash-verified

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