-
Notifications
You must be signed in to change notification settings - Fork 2
/
subgraph-goerli.yaml
48 lines (48 loc) · 1.37 KB
/
subgraph-goerli.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
36
37
38
39
40
41
42
43
44
45
46
47
48
specVersion: 0.0.4
schema:
file: ./schema.graphql
dataSources:
# (Chronos) Traveler
- kind: ethereum
name: Traveler
network: goerli
source:
address: "0x450c91d1fe9f3d57b91218f6ff96f7994eec4d32"
abi: ChronosTraveler
startBlock: 8099655
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Nft
abis:
- name: ChronosTraveler
file: ./abis/ChronosTraveler.json
eventHandlers:
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleTravelerTransfer
file: ./src/chronos/traveler/handler.ts
# (Chronos) Wrapped Traveler
- kind: ethereum
name: WTraveler
network: goerli
source:
address: "0xcc062bcdddf43559be5289289b94ba6b3cb326a4"
abi: WChronosTraveler
startBlock: 8099655
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Nft
abis:
- name: WChronosTraveler
file: ./abis/WChronosTraveler.json
eventHandlers:
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleWTravelerTransfer
- event: UpdateUser(indexed uint256,indexed address,uint64)
handler: handleUpdateUser
file: ./src/chronos/wTraveler/index.ts