Merge branch 'iv-create-stack-for-v2-watcher' of git.vdb.to:deep-stack/sushiswap-watcher-ts into iv-create-stack-for-v2-watcher
This commit is contained in:
commit
6df7f5897a
10
README.md
10
README.md
@ -1 +1,11 @@
|
||||
# sushiswap-watcher-ts
|
||||
|
||||
Watchers for the [sushiswap-subgraphs](https://github.com/cerc-io/sushiswap-subgraphs/tree/watcher-ts) on Filecoin
|
||||
|
||||
## Setup
|
||||
|
||||
* Run the following command to install required packages:
|
||||
|
||||
```bash
|
||||
yarn && yarn build
|
||||
```
|
||||
|
||||
@ -7,11 +7,7 @@
|
||||
|
||||
## Setup
|
||||
|
||||
* Run the following command to install required packages:
|
||||
|
||||
```bash
|
||||
yarn
|
||||
```
|
||||
* Follow root [README.md setup](../../README.md#setup)
|
||||
|
||||
* Create a postgres12 database for the watcher:
|
||||
|
||||
|
||||
29
packages/blocks-watcher/codegen-config.yml
Normal file
29
packages/blocks-watcher/codegen-config.yml
Normal file
@ -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
|
||||
@ -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"
|
||||
|
||||
|
||||
@ -7,11 +7,7 @@
|
||||
|
||||
## Setup
|
||||
|
||||
* Run the following command to install required packages:
|
||||
|
||||
```bash
|
||||
yarn
|
||||
```
|
||||
* Follow root [README.md setup](../../README.md#setup)
|
||||
|
||||
* Create a postgres12 database for the watcher:
|
||||
|
||||
|
||||
29
packages/route-processor-watcher/codegen-config.yml
Normal file
29
packages/route-processor-watcher/codegen-config.yml
Normal file
@ -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
|
||||
@ -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"
|
||||
|
||||
|
||||
@ -7,11 +7,7 @@
|
||||
|
||||
## Setup
|
||||
|
||||
* Run the following command to install required packages:
|
||||
|
||||
```bash
|
||||
yarn
|
||||
```
|
||||
* Follow root [README.md setup](../../README.md#setup)
|
||||
|
||||
* Create a postgres12 database for the watcher:
|
||||
|
||||
|
||||
29
packages/sushiswap-watcher/codegen-config.yml
Normal file
29
packages/sushiswap-watcher/codegen-config.yml
Normal file
@ -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
|
||||
@ -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"
|
||||
|
||||
|
||||
@ -7,11 +7,7 @@
|
||||
|
||||
## Setup
|
||||
|
||||
* Run the following command to install required packages:
|
||||
|
||||
```bash
|
||||
yarn
|
||||
```
|
||||
* Follow root [README.md setup](../../README.md#setup)
|
||||
|
||||
* Create a postgres12 database for the watcher:
|
||||
|
||||
|
||||
29
packages/v2-watcher/codegen-config.yml
Normal file
29
packages/v2-watcher/codegen-config.yml
Normal file
@ -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
|
||||
@ -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"
|
||||
|
||||
|
||||
@ -7,11 +7,7 @@
|
||||
|
||||
## Setup
|
||||
|
||||
* Run the following command to install required packages:
|
||||
|
||||
```bash
|
||||
yarn
|
||||
```
|
||||
* Follow root [README.md setup](../../README.md#setup)
|
||||
|
||||
* Create a postgres12 database for the watcher:
|
||||
|
||||
|
||||
29
packages/v3-watcher/codegen-config.yml
Normal file
29
packages/v3-watcher/codegen-config.yml
Normal file
@ -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
|
||||
@ -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"
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user