Skip to content

Commit

Permalink
Merge pull request #137 from metagov/feat/arbitrum_bnb_test_network
Browse files Browse the repository at this point in the history
feat: add arbitrum and bnb test network subgraph.
  • Loading branch information
Rashmi-278 committed Sep 3, 2023
2 parents e369086 + e68b4aa commit 4f115f0
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 8 deletions.
8 changes: 4 additions & 4 deletions Implementations/Subgraph/daostar/build/subgraph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ features:
templates:
- name: EIP4824Registration
kind: ethereum/contract
network: gnosis
network: chapel
source:
abi: EIP4824Registration
mapping:
Expand All @@ -25,11 +25,11 @@ templates:
dataSources:
- kind: ethereum
name: EIP4824Index
network: gnosis
network: chapel
source:
abi: EIP4824Index
address: "0x8180cbfBFFe59F54BF3Ea5d7DdbaE1232e2bB298"
startBlock: 27702194
address: "0x18CbB356cd64193b1a0CA49911fc72CB3D02a5E4"
startBlock: 32947350
mapping:
kind: ethereum/events
apiVersion: 0.0.6
Expand Down
12 changes: 12 additions & 0 deletions Implementations/Subgraph/daostar/networks.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,17 @@
"address": "0x4f2c9028fE7107d9f1A8a9CFf34aa2d3F28600fa",
"startBlock": 17874753
}
},
"arbitrum-goerli": {
"EIP4824Index": {
"address": "0x18CbB356cd64193b1a0CA49911fc72CB3D02a5E4",
"startBlock": 38043712
}
},
"chapel": {
"EIP4824Index": {
"address": "0x18CbB356cd64193b1a0CA49911fc72CB3D02a5E4",
"startBlock": 32947350
}
}
}
4 changes: 4 additions & 0 deletions Implementations/Subgraph/daostar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,16 @@
"build:goerli": "graph codegen && graph build --network goerli",
"build:gnosis": "graph codegen && graph build --network gnosis",
"build:optimism-goerli": "graph codegen && graph build --network optimism-goerli",
"build:arbitrum-goerli": "graph codegen && graph build --network arbitrum-goerli",
"build:bnb-bruno": "graph codegen && graph build --network chapel",
"codegen": "graph codegen",
"build": "graph build",
"deploy:mainnet": "graph deploy --node https://api.thegraph.com/deploy/ ipatka/daostar",
"deploy:goerli": "graph deploy --node https://api.thegraph.com/deploy/ ipatka/daostar-goerli",
"deploy:optimism-goerli": "graph deploy --node https://api.thegraph.com/deploy/ rashmi-278/daostar-optimism-goerli",
"deploy:gnosis": "graph deploy --node https://api.thegraph.com/deploy/ rashmi-278/daostar-gnosis",
"deploy:arbitrum-goerli": "graph deploy --node https://api.thegraph.com/deploy/ crazyyuan/daostar-arbitrum-goerli",
"deploy:bnb-bruno": "graph deploy --node https://api.thegraph.com/deploy/ crazyyuan/daostar-bnb-bruno",
"deploy:all": "yarn build:optimism-goerli && yarn deploy:optimism-goerli && yarn build:goerli && yarn deploy:goerli && yarn build:mainnet && yarn deploy:mainnet && yarn build:gnosis && yarn deploy:gnosis",
"create-local": "graph create --node http://localhost:8020/ ipatka/daostar",
"remove-local": "graph remove --node http://localhost:8020/ ipatka/daostar",
Expand Down
8 changes: 4 additions & 4 deletions Implementations/Subgraph/daostar/subgraph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ features:
templates:
- name: EIP4824Registration
kind: ethereum/contract
network: gnosis
network: chapel
source:
abi: EIP4824Registration
mapping:
Expand All @@ -25,11 +25,11 @@ templates:
dataSources:
- kind: ethereum
name: EIP4824Index
network: gnosis
network: chapel
source:
abi: EIP4824Index
address: "0x8180cbfBFFe59F54BF3Ea5d7DdbaE1232e2bB298"
startBlock: 27702194
address: "0x18CbB356cd64193b1a0CA49911fc72CB3D02a5E4"
startBlock: 32947350
mapping:
kind: ethereum/events
apiVersion: 0.0.6
Expand Down

0 comments on commit 4f115f0

Please sign in to comment.