-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsubgraph.yaml
40 lines (40 loc) · 1.03 KB
/
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
31
32
33
34
35
36
37
38
39
40
specVersion: 0.0.5
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: Interests
network: sepolia
source:
address: "0xEEA22585F28aed481612E36080fcE6CE6c8520b6"
abi: Interests
startBlock: 4531171
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- InterestsAdded
- OwnerSet
abis:
- name: Interests
file: ./abis/Interests.json
eventHandlers:
- event: InterestsAdded(indexed uint256,string)
handler: handleInterestsAdded
- event: OwnerSet(indexed address,indexed address)
handler: handleOwnerSet
file: ./src/interests.ts
templates:
- kind: file/arweave
name: InterestsMetaDataTemplate
mapping:
apiVersion: 0.0.7
language: wasm/assemblyscript
file: ./src/interests.ts
handler: handleInterestsMetaData
entities:
- InterestsMetaData
abis:
- name: Interests
file: ./abis/Interests.json