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

feat: add arbitrum and bnb test network subgraph. #137

Merged
merged 1 commit into from
Sep 3, 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
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