-
Notifications
You must be signed in to change notification settings - Fork 0
/
substreams.yaml
executable file
·41 lines (37 loc) · 1.5 KB
/
substreams.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
specVersion: v0.1.0
package:
name: erc20_substreams
version: v0.0.2
url: https://github.com/pinax-network/substreams-erc20-substreams
doc: ERC-20
imports:
sql: https://github.com/streamingfast/substreams-sink-sql/releases/download/protodefs-v1.0.7/substreams-sink-sql-protodefs-v1.0.7.spkg
database_change: https://github.com/streamingfast/substreams-sink-database-changes/releases/download/v1.3.1/substreams-database-change-v1.3.1.spkg
transfers: https://github.com/pinax-network/substreams-erc20-transfers/releases/download/v0.1.4/erc20Transfers-v0.1.4.spkg
supply: https://github.com/pinax-network/substreams-erc20-supply/releases/download/v0.1.8/erc20-supply-v0.1.8.spkg
contracts: https://github.com/pinax-network/substreams-erc20-contracts/releases/download/v0.1.7/erc20-contracts-v0.1.7.spkg
balance_changes: https://github.com/pinax-network/substreams-erc20-balance-changes/releases/download/v1.3/erc20-balance-changes-v1.3.spkg
binaries:
default:
type: wasm/rust-v1
file: ./target/wasm32-unknown-unknown/release/erc20_substreams.wasm
modules:
- name: db_out
kind: map
initialBlock: 1
inputs:
- map: transfers:db_out
- map: supply:db_out
- map: contracts:db_out
- map: balance_changes:db_out
output:
type: proto:sf.substreams.sink.database.v1.DatabaseChanges
network: mainnet
sink:
module: db_out
type: sf.substreams.sink.sql.v1.Service
config:
schema: "./schema.sql"
engine: clickhouse
postgraphile_frontend:
enabled: false