Add codegen config used to generate the watcher
This commit is contained in:
parent
a34f089fb5
commit
7f4535f3ac
35
codegen-config.yml
Normal file
35
codegen-config.yml
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user