Skip to content

Commit

Permalink
added BSC endpoint and deployed
Browse files Browse the repository at this point in the history
  • Loading branch information
Aodhgan committed Jul 23, 2021
1 parent da7829e commit 87b25f3
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ subgraph.ropsten.yaml
subgraph.rinkeby.yaml
subgraph.mainnet.yaml
subgraph.polygon.yaml
subgraph.bsc.yaml
networks/local.json
generated
generated/schema.ts
27 changes: 27 additions & 0 deletions networks/bsc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"network": "bsc",
"compoundPrizePoolProxyFactory": {
"address": "0xaFcEa072BcBad91029A2bA0b37bAC8269dd4f5E6",
"startBlock": "9218895"
},
"controlledTokenProxyFactory": {
"address": "0x317625b28Acb3C0540DB00b179D84D9b804277f7",
"startBlock": "9218902"
},
"multipleWinnersProxyFactory": {
"address": "0x53A2E4F8BFe581bC28e0d1d30808ffB163E53A46",
"startBlock": "9218912"
},
"ticketProxyFactory": {
"address": "0x72Edd573E230C7d68274Bf718A4C6aD82b5d5f90",
"startBlock": "9218905"
},
"stakePrizePoolProxyFactory": {
"address": "0x5effa0823e486A5ED1D49d88A1374Fc337e1f9F4",
"startBlock": "9218909"
},
"yieldSourcePrizePoolProxyFactory": {
"address": "0xdc488E6e8c55a11d20032997cd1fF7c4951401df",
"startBlock": "9218898"
}
}
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "pooltogether",
"license": "MIT",
"version": "3.4.0",
"version": "3.4.3",
"scripts": {
"reinstall": "rm -rf node_modules/ && yarn",
"clean": "rm -rf build/ generated/",
Expand All @@ -12,24 +12,30 @@
"prepare:mainnet": "mustache networks/mainnet.json subgraph.template.yaml subgraph.mainnet.yaml",
"prepare:rinkeby": "mustache networks/rinkeby.json subgraph.template.yaml subgraph.rinkeby.yaml",
"prepare:polygon": "mustache networks/polygon.json subgraph.template.yaml subgraph.polygon.yaml",
"prepare:bsc": "mustache networks/bsc.json subgraph.template.yaml subgraph.bsc.yaml",
"gen:mainnet": "graph codegen subgraph.mainnet.yaml",
"gen:rinkeby": "graph codegen subgraph.rinkeby.yaml",
"gen:polygon": "graph codegen subgraph.polygon.yaml",
"gen:bsc": "graph codegen subgraph.bsc.yaml",
"gen:local": "graph codegen subgraph.local.yaml",
"deploy:mainnet": "graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ pooltogether/pooltogether-v3_4_3 subgraph.mainnet.yaml",
"deploy:mainnet-stg": "graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ pooltogether/pooltogether-staging-v3_4_3 subgraph.mainnet.yaml",
"deploy:rinkeby": "graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ pooltogether/rinkeby-v3_4_3 subgraph.rinkeby.yaml",
"deploy:rinkeby-stg": "graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ pooltogether/rinkeby-staging-v3_3_8 subgraph.rinkeby.yaml",
"deploy:polygon": "graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ pooltogether/polygon-v3_4_3 subgraph.polygon.yaml",
"deploy:polygon-stg": "graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ pooltogether/polygon-staging-v3_4_3 subgraph.polygon.yaml",
"deploy:bsc": "graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ pooltogether/bsc-v3_4_3 subgraph.bsc.yaml",
"deploy:bsc-stg": "graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ pooltogether/bsc-staging-v3_4_3 subgraph.bsc.yaml",
"deploy:local": "graph deploy --node http://127.0.0.1:8020 --ipfs http://localhost:5001 pooltogether/ptv3-subgraph subgraph.local.yaml",
"all-local": "yarn clean && yarn prepare:local && yarn gen:local && yarn deploy:local",
"all-rinkeby-stg": "yarn clean && yarn prepare:rinkeby && yarn gen:rinkeby && yarn deploy:rinkeby-stg",
"all-rinkeby": "yarn clean && yarn prepare:rinkeby && yarn gen:rinkeby && yarn deploy:rinkeby",
"all-polygon": "yarn clean && yarn prepare:polygon && yarn gen:polygon && yarn deploy:polygon",
"all-bsc": "yarn clean && yarn prepare:bsc && yarn gen:bsc && yarn deploy:bsc",
"all-mainnet": "yarn clean && yarn prepare:mainnet && yarn gen:mainnet && yarn deploy:mainnet",
"all-mainnet-stg": "yarn clean && yarn prepare:mainnet && yarn gen:mainnet && yarn deploy:mainnet-stg",
"all-polygon-stg": "yarn clean && yarn prepare:polygon && yarn gen:polygon && yarn deploy:polygon-stg",
"all-bsc-stg": "yarn clean && yarn prepare:bsc && yarn gen:bsc && yarn deploy:bsc-stg",
"codegen": "graph codegen",
"build:mainnet": "graph build subgraph.mainnet.yaml",
"build:rinkeby": "graph build subgraph.rinkeby.yaml",
Expand Down

0 comments on commit 87b25f3

Please sign in to comment.