-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph.yaml
69 lines (69 loc) · 1.79 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
specVersion: 0.0.4
description: YeeterDhUiV2
repository: 'https://github.com/0xBootleggers/yeeter-subgraph'
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum/contract
name: summoner
network: goerli
source:
address: '0x7e988A9db2F8597735fc68D21060Daed948a3e8C'
abi: summoner
startBlock: 10249301
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Dao
abis:
- name: summoner
file: ./abis/summoner.json
eventHandlers:
- event: >-
SummonBaal(indexed address,indexed address,indexed
address,address,address,uint256)
handler: handleSummonBaal
file: ./src/summoner-mapping.ts
templates:
- kind: ethereum/contract
name: BaalTemplate
network: goerli
source:
abi: Baal
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
file: ./src/baal-mapping.ts
entities:
- Dao
abis:
- name: Baal
file: ./abis/baal.json
- name: YeeterShaman
file: ./abis/yeeterShaman.json
eventHandlers:
- event: 'ShamanSet(indexed address,uint256)'
handler: handleShamanSet
- kind: ethereum/contract
name: YeeterShamanTemplate
network: goerli
source:
abi: YeeterShaman
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
file: ./src/yeeter-mapping.ts
entities:
- Dao
- Yeeter
- Yeets
abis:
- name: YeeterShaman
file: ./abis/yeeterShaman.json
eventHandlers:
- event: 'OnReceived(indexed address,uint256,uint256,address,address,string)'
handler: handleOnReceived