Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: graph cli deps #234

Merged
merged 3 commits into from
Sep 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 16.x

- name: Get yarn cache directory path
id: yarn-cache-dir-path
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 16.x

- name: Get yarn cache directory path
id: yarn-cache-dir-path
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 16.x

- name: Get yarn cache directory path
id: yarn-cache-dir-path
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ Currently, there are multiple subgraphs, but additional subgraphs can be added t
- GOR https://thegraph.com/hosted-service/subgraph/pancakeswap/masterchef-v3-goerli
- Polygon zkEVM https://api.studio.thegraph.com/query/45376/masterchef-v3-polygon-zkevm/version/latest
- Polygon zkEVM testnet https://api.studio.thegraph.com/query/45376/masterchef-v3-zkevm-testnet/version/latest
- ARB TODO
- zkSync TODO
- ARB https://api.thegraph.com/subgraphs/name/pancakeswap/masterchef-v3-arb
- zkSync https://api.studio.thegraph.com/query/45376/masterchef-v3-zksync/version/latest

16. **Exchange (v3)**: Tracks all PancakeSwap V3 Exchange data with price, volume, liquidity
- BSC https://thegraph.com/hosted-service/subgraph/pancakeswap/exchange-v3-bsc
Expand Down
4 changes: 4 additions & 0 deletions config/arbitrum.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,8 @@ module.exports = {
"0xda10009cbd5d07dd0cecc66161fc93d7c9000da1", // DAI
],
},
masterChefV3: {
masterChefAddress: "0x5e09acf80c0296740ec5d6f643005a4ef8daa694",
startBlock: 105053701,
},
};
4 changes: 4 additions & 0 deletions config/zksync-era.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,8 @@ module.exports = {
"0xbbeb516fb02a01611cbbe0453fe3c580d7281011", // WBTC
],
},
masterChefV3: {
masterChefAddress: "0x4c615e78c5fca1ad31e4d66eb0d8688d84307463",
startBlock: 8792225,
},
};
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
"lint": "eslint '*/**/*.{js,ts}'",
"prepare": "husky install"
},
"resolutions": {
"gluegun": "github:edgeandnode/gluegun#b34b9003d7bf556836da41b57ef36eb21570620a",
"assemblyscript": "github:AssemblyScript/assemblyscript#3ed76a97f05335504166fce1653da75f4face28f"
},
"devDependencies": {
"mustache": "^4.2.0",
"@commitlint/cli": "^13.1.0",
Expand Down
6 changes: 3 additions & 3 deletions subgraphs/masterchef-v3/subgraph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ schema:
dataSources:
- kind: ethereum/contract
name: MasterChefV3
network: polygon-zkevm-testnet
network: zksync-era
source:
address: "0xb66b07590b30d4e6e22e45ddc83b06bb018a7b44"
address: "0x4c615e78c5fca1ad31e4d66eb0d8688d84307463"
abi: MasterChefV3
startBlock: 1097428
startBlock: 8792225
mapping:
kind: ethereum/events
apiVersion: 0.0.4
Expand Down
1,824 changes: 652 additions & 1,172 deletions yarn.lock

Large diffs are not rendered by default.

Loading