-
Notifications
You must be signed in to change notification settings - Fork 1
/
subgraph.yaml
38 lines (38 loc) · 1.34 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
specVersion: 0.0.2
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: Yagmi
network: mumbai
source:
address: "0xd96050d4db26423F342E43ea7f77D7D03F7a58Ea"
abi: Yagmi
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
entities:
- goalCreated
- powApproved
- powRejected
- powUpdated
- powNotAttended
- powDue
abis:
- name: Yagmi
file: ./abis/Yagmi.json
eventHandlers:
- event: goalCreated(uint256,string,string,address,address,uint256,uint256,string,string)
handler: handleGoalCreated
- event: powApproved(uint256,string,string,address,address,uint256,uint256,string,string)
handler: handlePowApproved
- event: powRejected(uint256,string,string,address,address,uint256,uint256,string,string)
handler: handlePowRejected
- event: powUpdated(uint256,string,string,address,address,uint256,uint256,string,string)
handler: handlePowUpdated
- event: powNotAttended(uint256,string,string,address,address,uint256,uint256,string,string)
handler: handlePowNotAttended
- event: powDue(uint256,string,string,address,address,uint256,uint256,string,string)
handler: handlePowDue
file: ./src/mapping.ts