-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph.yaml
30 lines (30 loc) · 907 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.4
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: DappStopRegistry
network: mumbai
source:
address: "0x6e95ab8Ac7FB84baA9B54ad81D1E5b9Ea3dc19D8"
abi: DappStopRegistry
startBlock: 28516020
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
entities:
- Bought
- Registered
- Updated
abis:
- name: DappStopRegistry
file: ./abis/DappStopRegistry.json
eventHandlers:
- event: Bought(indexed address,indexed uint256)
handler: handleBought
- event: Registered(indexed address,indexed uint256,(address,string,string,uint256))
handler: handleRegistered
- event: Updated(indexed uint256,(address,string,string,uint256))
handler: handleUpdated
file: ./src/dapp-stop-registry.ts