-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph.yaml
33 lines (33 loc) · 959 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
33
specVersion: 0.0.5
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: Web3RSVP
network: mumbai
source:
address: "0x805dD2181E8d5e3a07E0D1e9dc0B16F05aCAa008"
abi: Web3RSVP
startBlock: 44154525
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