Skip to content

Commit

Permalink
Deploy API Backend, Sync Subgraphs and Update Query link for Gnosis
Browse files Browse the repository at this point in the history
  • Loading branch information
Rashmi-278 committed Aug 23, 2023
1 parent 55fb067 commit 4369a97
Show file tree
Hide file tree
Showing 8 changed files with 8,797 additions and 5,765 deletions.
4 changes: 4 additions & 0 deletions Implementations/API/cdk.context.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,9 @@
"hosted-zone:account=395914241380:domainName=services.daostar.org:region=us-east-1": {
"Id": "/hostedzone/Z02877671PLIIMUOU6SQ2",
"Name": "services.daostar.org."
},
"hosted-zone:account=836240692170:domainName=services.daostar.org:region=us-east-1": {
"Id": "/hostedzone/Z0072475BFZIXNSR4F6S",
"Name": "services.daostar.org."
}
}
11,562 changes: 7,336 additions & 4,226 deletions Implementations/API/package-lock.json

Large diffs are not rendered by default.

2,970 changes: 1,441 additions & 1,529 deletions Implementations/API/yarn.lock

Large diffs are not rendered by default.

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: optimism-goerli
network: gnosis
source:
abi: EIP4824Registration
mapping:
Expand All @@ -25,11 +25,11 @@ templates:
dataSources:
- kind: ethereum
name: EIP4824Index
network: optimism-goerli
network: gnosis
source:
abi: EIP4824Index
address: "0x9Aff4e5e7A7Ae449B89162EF4798b2Bb60DC92c0"
startBlock: 13115254
address: "0x8180cbfBFFe59F54BF3Ea5d7DdbaE1232e2bB298"
startBlock: 27702194
mapping:
kind: ethereum/events
apiVersion: 0.0.6
Expand Down
6 changes: 6 additions & 0 deletions Implementations/Subgraph/daostar/networks.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,11 @@
"address": "0x9Aff4e5e7A7Ae449B89162EF4798b2Bb60DC92c0",
"startBlock": 13115254
}
},
"mainnet": {
"EIP4824Index": {
"address": "0x4f2c9028fE7107d9f1A8a9CFf34aa2d3F28600fa",
"startBlock": 17874753
}
}
}
2 changes: 1 addition & 1 deletion Implementations/Subgraph/daostar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"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/ mrutsavg/daostar-gnosis",
"deploy:gnosis": "graph deploy --node https://api.thegraph.com/deploy/ rashmi-278/daostar-gnosis",
"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: optimism-goerli
network: gnosis
source:
abi: EIP4824Registration
mapping:
Expand All @@ -25,11 +25,11 @@ templates:
dataSources:
- kind: ethereum
name: EIP4824Index
network: optimism-goerli
network: gnosis
source:
abi: EIP4824Index
address: "0x9Aff4e5e7A7Ae449B89162EF4798b2Bb60DC92c0"
startBlock: 13115254
address: "0x8180cbfBFFe59F54BF3Ea5d7DdbaE1232e2bB298"
startBlock: 27702194
mapping:
kind: ethereum/events
apiVersion: 0.0.6
Expand Down
2 changes: 1 addition & 1 deletion daostar-website/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const client = new ApolloClient({
goerli: `https://api.thegraph.com/subgraphs/name/ipatka/daostar-goerli`,
optimismGoerli: `https://api.thegraph.com/subgraphs/name/rashmi-278/daostar-optimism-goerli`,
mainnet: `https://api.thegraph.com/subgraphs/name/ipatka/daostar`,
gnosis: `https://api.thegraph.com/subgraphs/name/mrutsavg/daostar-gnosis`,
gnosis: `https://api.thegraph.com/subgraphs/name/rashmi-278/daostar-gnosis`,
},
// defaultEndpoint: 'https://api.thegraph.com/subgraphs/name/ipatka/daostar',
httpSuffix: "",
Expand Down

0 comments on commit 4369a97

Please sign in to comment.