-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph.yaml
30 lines (30 loc) · 879 Bytes
/
subgraph.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
specVersion: 0.0.2
description: Loan Dapp Starter Kit
repository: https://github.com/graphprotocol/example-subgraph
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum/contract
name: ZKERC20
network: development
source:
abi: ZKERC20
startBlock: 2565153
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
file: ./mappings/ZKERC20.ts
entities:
- Note
User
abis:
- name: ZKERC20
file: ../contracts/aztec/build/contracts/ZKERC20.json
eventHandlers:
- event: CreateNote(indexed address,indexed bytes32,bytes)
handler: createNote
- event: DestroyNote(indexed address,indexed bytes32)
handler: destroyNote
- event: SetEncryptionPK(indexed address,bytes,bytes)
handler: setEncryptionPK