-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph.yaml
30 lines (30 loc) · 934 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
specVersion: 0.0.5
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: MembershipManager
network: matic
source:
address: "0x47Da765370AEeD06abAf893cD72cE1E997759BD1"
abi: MembershipManager
startBlock: 25836452
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- MembershipRefunded
- MembershipStarted
- OwnershipTransferred
abis:
- name: MembershipManager
file: ./abis/MembershipManager.json
eventHandlers:
- event: MembershipRefunded(address,uint256,uint256)
handler: handleMembershipRefunded
- event: MembershipStarted(address,uint256)
handler: handleMembershipStarted
- event: OwnershipTransferred(indexed address,indexed address)
handler: handleOwnershipTransferred
file: ./src/membership-manager.ts