-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsubstreams.yaml
50 lines (44 loc) · 1.04 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
specVersion: v0.1.0
package:
name: "enzyme"
version: v0.1.0
protobuf:
files:
- vaults.proto
importPaths:
- ./proto
binaries:
default:
type: wasm/rust-v1
file: ../target/wasm32-unknown-unknown/release/vaults.wasm
modules:
- name: map_vault_creations
kind: map
initialBlock: 11681281
inputs:
- source: sf.ethereum.type.v2.Block
output:
type: proto:enzyme.vaults.v1.Vaults
- name: store_vault_proxies
kind: store
initialBlock: 11681281
updatePolicy: set
valueType: string
inputs:
- map: map_vault_creations
- name: map_vault_share_transfers
kind: map
initialBlock: 11681281
inputs:
- source: sf.ethereum.type.v2.Block
- store: store_vault_proxies
output:
type: proto:enzyme.vaults.v1.VaultShareTransfers
- name: map_vault_asset_transfers
kind: map
initialBlock: 11681281
inputs:
- source: sf.ethereum.type.v2.Block
- store: store_vault_proxies
output:
type: proto:enzyme.vaults.v1.VaultAssetTransfers