From 7f4535f3acbf88c65cae73ab4076f478e94837b1 Mon Sep 17 00:00:00 2001
From: Prathamesh Musale <prathamesh.musale0@gmail.com>
Date: Thu, 18 Apr 2024 15:43:51 +0530
Subject: [PATCH] Add codegen config used to generate the watcher

---
 codegen-config.yml | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 codegen-config.yml

diff --git a/codegen-config.yml b/codegen-config.yml
new file mode 100644
index 0000000..60708a6
--- /dev/null
+++ b/codegen-config.yml
@@ -0,0 +1,35 @@
+# Contracts to watch (required).
+# Can pass empty array ([]) when using subgraphPath.
+contracts: []
+
+# Output folder path (logs output using `stdout` if not provided).
+outputFolder: /home/user/cerc-io/ajna-watcher-ts
+
+# Code generation mode [eth_call | storage | all | none] (default: none).
+mode: none
+
+# Kind of watcher [lazy | active] (default: active).
+kind: active
+
+# Watcher server port (default: 3008).
+port: 3008
+
+# Flatten the input contract file(s) [true | false] (default: true).
+flatten: true
+
+# Config for subgraph
+subgraph:
+  # Path to subgraph repo directory containing package.json
+  directory: /home/user/cerc-io/ajna-subgraph
+
+  # Package manager that is used in subgraph repo for dependencies
+  packageManager: yarn
+
+  # Path to subgraph manifest/config file
+  configFile: /home/user/cerc-io/ajna-subgraph/subgraph.yaml
+
+  # Networks config file path used when building subgraph (optional)
+  networkFilePath: /home/user/cerc-io/ajna-subgraph/networks.json
+
+  # Network configuration to use from the networks config file (optional)
+  network: filecoin