-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsubgraph.yaml
35 lines (35 loc) · 968 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.4
features:
- ipfsOnEthereumContracts
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: Web3RSVP
network: mumbai
source:
address: "0x1ce25B0230331FB8cB9438124343B4392fF55A37"
abi: Web3RSVP
startBlock: 26833573
mapping:
kind: ethereum/events
apiVersion: 0.0.5
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/mapping.ts