Add codegen config

This commit is contained in:
Prathamesh Musale 2024-06-13 15:48:46 +05:30
parent 82392425b4
commit e3c1af739a

23
codegen-config.yml Normal file
View File

@ -0,0 +1,23 @@
# 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/secured-finance/secured-finance-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:
# Network configuration to use from the networks config file (optional)
buildPath: /home/user/cerc-io/secured-finance/secured-finance-subgraph/build