-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph.yaml
35 lines (35 loc) · 971 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
34
35
specVersion: 0.0.5
schema:
file: ./schema.graphql
features:
- ipfsOnEthereumContracts
dataSources:
- kind: ethereum
name: Web3RSVP
network: mumbai
source:
address: "0x5A74f8935FE7204553cAa5918858ed8FF335eD4B"
abi: Web3RSVP
startBlock: 35613099
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Event
- Account
- RSVP
- Confirmation
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