-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsubstreams.yaml
44 lines (37 loc) · 1022 Bytes
/
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
specVersion: v0.1.0
package:
name: eosmechanics
version: v0.3.6
url: https://github.com/pinax-network/substreams
doc: Block Producer Benchmarks
# imports:
# prometheus: https://github.com/pinax-network/substreams-sink-prometheus.rs/releases/download/v0.2.0/substreams-sink-prometheus-v0.2.0.spkg
binaries:
default:
type: wasm/rust-v1
file: ../target/wasm32-unknown-unknown/release/eosmechanics.wasm
protobuf:
files:
- eosmechanics.proto
importPaths:
- proto/v1
modules:
- name: map_producer_usage
kind: map
inputs:
- source: sf.antelope.type.v1.Block
output:
type: proto:eosmechanics.v1.ProducerUsage
- name: map_schedule_change
kind: map
inputs:
- source: sf.antelope.type.v1.Block
output:
type: proto:eosmechanics.v1.ScheduleChange
- name: prom_out
kind: map
inputs:
- map: map_producer_usage
- map: map_schedule_change
output:
type: proto:pinax.substreams.sink.prometheus.v1.PrometheusOperations