Prathamesh Musale
5a1728c371
Part of [Generate ajna-finance subgraph watcher with codegen](https://www.notion.so/Generate-ajna-finance-subgraph-watcher-with-codegen-5b80ac149b3f449fb138f5d92cc5485e) Reviewed-on: #3 Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com> Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
36 lines
1.0 KiB
YAML
36 lines
1.0 KiB
YAML
# 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
|