-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsubstreams.yaml
68 lines (59 loc) · 1.75 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
specVersion: v0.1.0
package:
name: antelope_oracles
version: v0.0.7
url: https://github.com/pinax-network/substreams
doc: Antelope `eosio.token` based action traces & database operations.
imports:
entities: https://github.com/streamingfast/substreams-sink-entity-changes/releases/download/v1.3.0/substreams-sink-entity-changes-v1.3.0.spkg
kv: https://github.com/streamingfast/substreams-sink-kv/releases/download/v0.1.2/substreams-sink-kv-v0.1.2.spkg
database_change: https://github.com/streamingfast/substreams-database-change/releases/download/v1.0.0/substreams-database-change-v1.0.0.spkg
binaries:
default:
type: wasm/rust-v1
file: ../target/wasm32-unknown-unknown/release/antelope_oracles.wasm
protobuf:
files:
- antelope.oracles.proto
importPaths:
- ./proto/v1
modules:
- name: store_pairs
kind: store
updatePolicy: set_if_not_exists
valueType: proto:antelope.oracles.v1.Pairs
inputs:
- source: sf.antelope.type.v1.Block
- name: map_prices
kind: map
inputs:
- params: string
- source: sf.antelope.type.v1.Block
output:
type: proto:antelope.oracles.v1.Prices
- name: map_quotes
kind: map
inputs:
- params: string
- source: sf.antelope.type.v1.Block
output:
type: proto:antelope.oracles.v1.Quotes
- name: kv_out
kind: map
inputs:
- map: map_quotes
- source: sf.substreams.v1.Clock
output:
type: proto:sf.substreams.sink.kv.v1.KVOperations
- name: db_out
kind: map
inputs:
- map: map_quotes
output:
type: proto:sf.substreams.sink.database.v1.DatabaseChanges
- name: graph_out
kind: map
inputs:
- map: map_quotes
output:
type: proto:sf.substreams.sink.entity.v1.EntityChanges