(&self, artifacts_dir: &Path)
| 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> { |