generated from streamingfast/substreams-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsubstreams.yaml
51 lines (43 loc) · 1.11 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
42
43
44
45
46
47
48
49
50
51
specVersion: v0.1.0
package:
name: "pintxo_stream"
version: v0.1.0
imports:
database_change: https://github.com/streamingfast/substreams-sink-database-changes/releases/download/v1.2.1/substreams-database-change-v1.2.1.spkg
protobuf:
files:
- erc721.proto
- seaport.proto
- seaport_metrics.proto
importPaths:
- ./proto
binaries:
default:
type: wasm/rust-v1
file: ./target/wasm32-unknown-unknown/release/substreams.wasm
modules:
- name: map_seaport_purchases
kind: map
initialBlock: 19170000
inputs:
- source: sf.ethereum.type.v2.Block
output:
type: proto:eth.seaport.v1.SeaportPurchases
- name: store_seaport_activity
kind: store
initialBlock: 19170000
updatePolicy: add
valueType: bigdecimal
inputs:
- source: sf.substreams.v1.Clock
- map: map_seaport_purchases
- name: metrics_out
kind: map
initialBlock: 19170000
inputs:
- source: sf.substreams.v1.Clock
- map: map_seaport_purchases
- store: store_seaport_activity
output:
type: proto:eth.seaport_metrics.v1.Metrics
network: mainnet