fix: update deploy

This commit is contained in:
Danil Kovtonyuk 2021-11-16 17:56:10 +10:00
parent 1a5f796d30
commit fb3af7014d
No known key found for this signature in database
GPG Key ID: E72A919BF08C3746
2 changed files with 4 additions and 6 deletions

View File

@ -4,10 +4,8 @@
"scripts": {
"codegen": "graph codegen",
"build": "graph build",
"deploy": "graph deploy --node https://api.thegraph.com/deploy/ tornadocash/tornado-pool-subgraph",
"create-local": "graph create --node http://localhost:8020/ tornadocash/tornado-pool-subgraph",
"remove-local": "graph remove --node http://localhost:8020/ tornadocash/tornado-pool-subgraph",
"deploy-local": "graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 tornadocash/tornado-pool-subgraph"
"deploy": "graph deploy --node https://api.thegraph.com/deploy/ --access-token $TOKEN",
"deploy:mainnet": "yarn deploy -- tornadocash/mainnet-tornado-pool-subgraph"
},
"dependencies": {
"@graphprotocol/graph-cli": "0.22.3",

View File

@ -6,9 +6,9 @@ dataSources:
name: BridgeHelper
network: mainnet
source:
address: "0x066D6E8a8968Ab721ee2307acf4cCd2ab6aE6EB0"
address: "0x59c13355ae7b74F51313f2bfF1aFD86E1FFEbefA"
abi: BridgeHelper
startBlock: 13551232
startBlock: 13590277
mapping:
kind: ethereum/events
apiVersion: 0.0.5