diff --git a/packages/blocks-watcher/codegen-config.yml b/packages/blocks-watcher/codegen-config.yml new file mode 100644 index 0000000..a0c82b2 --- /dev/null +++ b/packages/blocks-watcher/codegen-config.yml @@ -0,0 +1,29 @@ +# 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/sushiswap-watcher-ts/packages/blocks-watcher + +# 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/sushiswap-subgraphs/subgraphs/blocks + + # Package manager that is used in subgraph repo for dependencies + packageManager: pnpm + + # Path to subgraph manifest/config file + configFile: /home/user/cerc-io/sushiswap-subgraphs/subgraphs/blocks/subgraph.yaml diff --git a/packages/blocks-watcher/environments/local.toml b/packages/blocks-watcher/environments/local.toml index 3c8c1c5..1b63e38 100644 --- a/packages/blocks-watcher/environments/local.toml +++ b/packages/blocks-watcher/environments/local.toml @@ -10,8 +10,7 @@ checkpointInterval = 2000 # Enable state creation - # CAUTION: Disable only if state creation is not desired or can be filled subsequently - enableState = true + enableState = false subgraphPath = "./subgraph-build" diff --git a/packages/route-processor-watcher/codegen-config.yml b/packages/route-processor-watcher/codegen-config.yml new file mode 100644 index 0000000..5e98e46 --- /dev/null +++ b/packages/route-processor-watcher/codegen-config.yml @@ -0,0 +1,29 @@ +# 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/sushiswap-watcher-ts/packages/route-processor-watcher + +# 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/sushiswap-subgraphs/subgraphs/route-processor + + # Package manager that is used in subgraph repo for dependencies + packageManager: pnpm + + # Path to subgraph manifest/config file + configFile: /home/user/cerc-io/sushiswap-subgraphs/subgraphs/route-processor/subgraph.yaml diff --git a/packages/route-processor-watcher/environments/local.toml b/packages/route-processor-watcher/environments/local.toml index 6c7b896..d839ca4 100644 --- a/packages/route-processor-watcher/environments/local.toml +++ b/packages/route-processor-watcher/environments/local.toml @@ -10,8 +10,7 @@ checkpointInterval = 2000 # Enable state creation - # CAUTION: Disable only if state creation is not desired or can be filled subsequently - enableState = true + enableState = false subgraphPath = "./subgraph-build" diff --git a/packages/sushiswap-watcher/codegen-config.yml b/packages/sushiswap-watcher/codegen-config.yml new file mode 100644 index 0000000..d4dcacb --- /dev/null +++ b/packages/sushiswap-watcher/codegen-config.yml @@ -0,0 +1,29 @@ +# 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/sushiswap-watcher-ts/packages/sushiswap-watcher + +# 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/sushiswap-subgraphs/subgraphs/sushiswap + + # Package manager that is used in subgraph repo for dependencies + packageManager: pnpm + + # Path to subgraph manifest/config file + configFile: /home/user/cerc-io/sushiswap-subgraphs/subgraphs/sushiswap/subgraph.yaml diff --git a/packages/sushiswap-watcher/environments/local.toml b/packages/sushiswap-watcher/environments/local.toml index c5baa72..969395b 100644 --- a/packages/sushiswap-watcher/environments/local.toml +++ b/packages/sushiswap-watcher/environments/local.toml @@ -10,8 +10,7 @@ checkpointInterval = 2000 # Enable state creation - # CAUTION: Disable only if state creation is not desired or can be filled subsequently - enableState = true + enableState = false subgraphPath = "./subgraph-build" diff --git a/packages/v2-watcher/codegen-config.yml b/packages/v2-watcher/codegen-config.yml new file mode 100644 index 0000000..0ab76ec --- /dev/null +++ b/packages/v2-watcher/codegen-config.yml @@ -0,0 +1,29 @@ +# 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/sushiswap-watcher-ts/packages/v2-watcher + +# 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/sushiswap-subgraphs/subgraphs/v2 + + # Package manager that is used in subgraph repo for dependencies + packageManager: pnpm + + # Path to subgraph manifest/config file + configFile: /home/user/cerc-io/sushiswap-subgraphs/subgraphs/v2/subgraph.yaml diff --git a/packages/v2-watcher/environments/local.toml b/packages/v2-watcher/environments/local.toml index c91253a..e90b792 100644 --- a/packages/v2-watcher/environments/local.toml +++ b/packages/v2-watcher/environments/local.toml @@ -10,8 +10,7 @@ checkpointInterval = 2000 # Enable state creation - # CAUTION: Disable only if state creation is not desired or can be filled subsequently - enableState = true + enableState = false subgraphPath = "./subgraph-build" diff --git a/packages/v3-watcher/codegen-config.yml b/packages/v3-watcher/codegen-config.yml new file mode 100644 index 0000000..9abdc29 --- /dev/null +++ b/packages/v3-watcher/codegen-config.yml @@ -0,0 +1,29 @@ +# 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/sushiswap-watcher-ts/packages/v3-watcher + +# 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/sushiswap-subgraphs/subgraphs/v3 + + # Package manager that is used in subgraph repo for dependencies + packageManager: pnpm + + # Path to subgraph manifest/config file + configFile: /home/user/cerc-io/sushiswap-subgraphs/subgraphs/v3/subgraph.yaml diff --git a/packages/v3-watcher/environments/local.toml b/packages/v3-watcher/environments/local.toml index 98254ca..7dd0580 100644 --- a/packages/v3-watcher/environments/local.toml +++ b/packages/v3-watcher/environments/local.toml @@ -10,8 +10,7 @@ checkpointInterval = 2000 # Enable state creation - # CAUTION: Disable only if state creation is not desired or can be filled subsequently - enableState = true + enableState = false subgraphPath = "./subgraph-build"