-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsubstreams.yaml
41 lines (36 loc) · 989 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
specVersion: v0.1.0
package:
name: contract_creation
url: https://github.com/pinax-network/subgraph-contract-creation
version: v0.3.0
image: logo.png
imports:
entity_change: https://github.com/streamingfast/substreams-sink-entity-changes/releases/download/v2.0.0/substreams-entity-change-v2.0.0.spkg
block_index: ./block-index/contract-creation-block-index-v0.3.0.spkg
protobuf:
files:
- contract_creation.proto
importPaths:
- ./proto
excludePaths:
- sf/substreams
- google
- sf/ethereum
binaries:
default:
type: wasm/rust-v1
file: ./target/wasm32-unknown-unknown/release/contract_creation.wasm
modules:
- name: map_contract_creation
kind: map
inputs:
- source: sf.substreams.v1.Clock
- map: block_index:map_block_index
output :
type: proto:contract_creation.v1.Events
- name: graph_out
kind: map
inputs:
- map: map_contract_creation
output:
type: proto:sf.substreams.sink.entity.v1.EntityChanges