-
Notifications
You must be signed in to change notification settings - Fork 1
/
substreams.clickhouse.yaml
59 lines (51 loc) · 1.53 KB
/
substreams.clickhouse.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
specVersion: v0.1.0
package:
name: rescue_name
version: v0.1.0
imports:
sql: https://github.com/streamingfast/substreams-sink-sql/releases/download/protodefs-v1.0.7/substreams-sink-sql-protodefs-v1.0.7.spkg
graph: https://github.com/streamingfast/substreams-sink-subgraph/releases/download/v0.1.0/substreams-sink-subgraph-protodefs-v0.1.0.spkg
database_change: https://github.com/streamingfast/substreams-sink-database-changes/releases/download/v1.2.1/substreams-database-change-v1.2.1.spkg
entity: https://github.com/streamingfast/substreams-entity-change/releases/download/v1.1.0/substreams-entity-change-v1.1.0.spkg
protobuf:
files:
- contract.proto
importPaths:
- ./proto
binaries:
default:
type: wasm/rust-v1
file: ./target/wasm32-unknown-unknown/release/substreams.wasm
modules:
- name: map_events
kind: map
initialBlock: 6023772
inputs:
- source: sf.ethereum.type.v2.Block
output:
type: proto:contract.v1.Events
- name: db_out
kind: map
initialBlock: 6023772
inputs:
- map: map_events
output:
type: proto:sf.substreams.sink.database.v1.DatabaseChanges
- name: graph_out
kind: map
initialBlock: 6023772
inputs:
- map: map_events
output:
type: proto:sf.substreams.entity.v1.EntityChanges
network: sepolia
sink:
module: db_out
type: sf.substreams.sink.sql.v1.Service
config:
schema: "./schema.clickhouse.sql"
engine: clickhouse
postgraphile_frontend:
enabled: false
rest_frontend:
enabled: false