forked from streamingfast/substreams-erc20-balance-changes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
26e1208
commit 37d65f0
Showing
12 changed files
with
193 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
specVersion: 1.2.0 | ||
description: Tracks ERC-20 token balances & transfers for EVM blockchains. | ||
repository: https://github.com/pinax-network/substreams-erc20 | ||
schema: | ||
file: ../schema.graphql | ||
indexerHints: | ||
prune: auto | ||
dataSources: | ||
- kind: substreams | ||
name: erc20 | ||
network: matic | ||
source: | ||
startBlock: 1 | ||
package: | ||
moduleName: graph_out | ||
file: ../erc20-subgraph-v1.5.0.spkg | ||
mapping: | ||
kind: substreams/graph-entities | ||
apiVersion: 0.0.7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
.PHONY: all | ||
all: | ||
make build | ||
|
||
.PHONY: build | ||
build: | ||
graph build | ||
|
||
.PHONY: deploy | ||
deploy: | ||
graph build | ||
graph create --node=http://localhost:8020 erc20-base | ||
graph deploy --node=http://localhost:8020 erc20-base | ||
|
||
.PHONY: cache | ||
cache: | ||
substreams-sink-noop base.substreams.pinax.network:443 ../ graph_out 1: | ||
|
||
.PHONY: publish | ||
publish: | ||
make build | ||
graph publish --subgraph-id ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
specVersion: 1.2.0 | ||
description: Tracks ERC-20 token balances & transfers for EVM blockchains. | ||
repository: https://github.com/pinax-network/substreams-erc20 | ||
schema: | ||
file: ../schema.graphql | ||
indexerHints: | ||
prune: auto | ||
dataSources: | ||
- kind: substreams | ||
name: erc20 | ||
network: base | ||
source: | ||
startBlock: 1 | ||
package: | ||
moduleName: graph_out | ||
file: ../erc20-subgraph-v1.5.0.spkg | ||
mapping: | ||
kind: substreams/graph-entities | ||
apiVersion: 0.0.7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
.PHONY: all | ||
all: | ||
make build | ||
|
||
.PHONY: build | ||
build: | ||
graph build | ||
|
||
.PHONY: deploy | ||
deploy: | ||
graph build | ||
graph create --node=http://localhost:8020 erc20-bsc | ||
graph deploy --node=http://localhost:8020 erc20-bsc | ||
|
||
.PHONY: cache | ||
cache: | ||
substreams-sink-noop bsc.substreams.pinax.network:443 ../ graph_out 1: | ||
|
||
.PHONY: publish | ||
publish: | ||
make build | ||
graph publish --subgraph-id ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
specVersion: 1.2.0 | ||
description: Tracks ERC-20 token balances & transfers for EVM blockchains. | ||
repository: https://github.com/pinax-network/substreams-erc20 | ||
schema: | ||
file: ../schema.graphql | ||
indexerHints: | ||
prune: auto | ||
dataSources: | ||
- kind: substreams | ||
name: erc20 | ||
network: bsc | ||
source: | ||
startBlock: 1 | ||
package: | ||
moduleName: graph_out | ||
file: ../erc20-subgraph-v1.5.0.spkg | ||
mapping: | ||
kind: substreams/graph-entities | ||
apiVersion: 0.0.7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
.PHONY: all | ||
all: | ||
make build | ||
|
||
.PHONY: build | ||
build: | ||
graph build | ||
|
||
.PHONY: deploy | ||
deploy: | ||
graph build | ||
graph create --node=http://localhost:8020 erc20-optimism | ||
graph deploy --node=http://localhost:8020 erc20-optimism | ||
|
||
.PHONY: cache | ||
cache: | ||
substreams-sink-noop optimism.substreams.pinax.network:443 ../ graph_out 1: | ||
|
||
.PHONY: publish | ||
publish: | ||
make build | ||
graph publish --subgraph-id ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
specVersion: 1.2.0 | ||
description: Tracks ERC-20 token balances & transfers for EVM blockchains. | ||
repository: https://github.com/pinax-network/substreams-erc20 | ||
schema: | ||
file: ../schema.graphql | ||
indexerHints: | ||
prune: auto | ||
dataSources: | ||
- kind: substreams | ||
name: erc20 | ||
network: optimism | ||
source: | ||
startBlock: 1 | ||
package: | ||
moduleName: graph_out | ||
file: ../erc20-subgraph-v1.5.0.spkg | ||
mapping: | ||
kind: substreams/graph-entities | ||
apiVersion: 0.0.7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
.PHONY: all | ||
all: | ||
make build | ||
|
||
.PHONY: build | ||
build: | ||
graph build | ||
|
||
.PHONY: deploy | ||
deploy: | ||
graph build | ||
graph create --node=http://localhost:8020 erc20-matic | ||
graph deploy --node=http://localhost:8020 erc20-matic | ||
|
||
.PHONY: cache | ||
cache: | ||
substreams-sink-noop polygon.substreams.pinax.network:443 ../ graph_out 1: | ||
|
||
.PHONY: publish | ||
publish: | ||
make build | ||
graph publish --subgraph-id ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
specVersion: 1.2.0 | ||
description: Tracks ERC-20 token balances & transfers for EVM blockchains. | ||
repository: https://github.com/pinax-network/substreams-erc20 | ||
schema: | ||
file: ../schema.graphql | ||
indexerHints: | ||
prune: auto | ||
dataSources: | ||
- kind: substreams | ||
name: erc20 | ||
network: matic | ||
source: | ||
startBlock: 1 | ||
package: | ||
moduleName: graph_out | ||
file: ../erc20-subgraph-v1.5.0.spkg | ||
mapping: | ||
kind: substreams/graph-entities | ||
apiVersion: 0.0.7 |