Skip to content
This repository was archived by the owner on Jan 18, 2023. It is now read-only.

Commit f1bd67f

Browse files
committed
Add deployments for matic, arbitrum, and avalanche staging subgraphs
1 parent f31a905 commit f1bd67f

File tree

3 files changed

+28
-3
lines changed

3 files changed

+28
-3
lines changed

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,17 @@ Steps:
1717
2. `yarn install`
1818
3. `yarn gen-deployment <NETWORK_NAME>` hardhat or mainnet
1919
4. (If deploying to hosted service) `yarn graph auth https://api.thegraph.com/deploy/ <ACCESS_TOKEN>`
20-
5. `graph deploy --product hosted-service justinkchen/set-protocol-v2-matic`
21-
20+
5. `graph deploy --product hosted-service justinkchen/set-protocol-v2-matic` (replace set-protocol-v2-matic with whatever graph is being deployed)
21+
22+
Current subgraphs:
23+
- justinkchen/set-protocol-v2 (Ethereum Mainnet)
24+
- justinkchen/set-protocol-v2-staging (Ethereum Mainnet)
25+
- justinkchen/set-protocol-v2-matic (Matic)
26+
- justinkchen/set-protocol-v2-matic-staging (Matic)
27+
- justinkchen/set-protocol-v2-arbitrum (Arbitrum)
28+
- justinkchen/set-protocol-v2-arbitrum-staging (Arbitrum)
29+
- justinkchen/set-protocol-v2-avalanche (Avalanche)
30+
- justinkchen/set-protocol-v2-avax-staging (Avalanche)
2231

2332
Using Graph Subgraph Studio
2433
1. `graph auth --studio <API KEY>` (see more at https://thegraph.com/studio/subgraph/set-protocol-v2/)

deployments.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,20 @@
3333
"network": "mainnet",
3434
"startBlock": 10819027,
3535
"SetTokenCreator": "0x026d25C2B70Ddbb8D759f1f38d6fD6e23b60B6DF"
36+
},
37+
"matic-staging-mainnet": {
38+
"network": "matic",
39+
"startBlock": 16655167,
40+
"SetTokenCreator": "0x2907206b253665eef4776b8e684d61afd957b974"
41+
},
42+
"arbitrum-staging-mainnet": {
43+
"network": "arbitrum-one",
44+
"startBlock": 1168154,
45+
"SetTokenCreator": "0xCF786472d37f557A80fE6daFF6f2672bfDa728a3"
46+
},
47+
"avalanche-staging-mainnet": {
48+
"network": "avalanche",
49+
"startBlock": 6097319,
50+
"SetTokenCreator": "0xE99447aBbD5A7730b26D2D16fCcB2086319e4bC3"
3651
}
37-
}
52+
}

templates/subgraph.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Updating comment here can help bump version for indexers to pick up changes ideally v1.0.0
12
specVersion: 0.0.3
23
description: Set Protocol V2
34
repository: https://github.com/Desert-Defi/set-protocol-v2-subgraph

0 commit comments

Comments
 (0)