-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph.yaml
32 lines (32 loc) · 932 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
31
32
specVersion: 0.0.5
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: Web3RSVP
network: mumbai
source:
address: "0xEc08e97C5003370CAd1dFe732270F71cfF34cd13"
abi: Web3RSVP
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- ConfirmedAttendee
- DepositsPaidOut
- NewEventCreated
- NewRSVP
abis:
- name: Web3RSVP
file: ./abis/Web3RSVP.json
eventHandlers:
- event: ConfirmedAttendee(bytes32,address)
handler: handleConfirmedAttendee
- event: DepositsPaidOut(bytes32)
handler: handleDepositsPaidOut
- event: NewEventCreated(bytes32,address,uint256,uint256,uint256,string)
handler: handleNewEventCreated
- event: NewRSVP(bytes32,address)
handler: handleNewRSVP
file: ./src/web-3-rsvp.ts