-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph.yaml
55 lines (55 loc) · 1.68 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
specVersion: 0.0.5
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum/contract
name: CheckInSummonerV2
network: gnosis
source:
address: "0xCa5E25E9beDd936f0d6FA157517781ee2Ceca376"
abi: CheckInSummonerV2
startBlock: 26046944
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- CheckInShaman
abis:
- name: CheckInSummonerV2
file: ./abis/CheckInSummonerV2.json
eventHandlers:
- event: CheckInSummonComplete(indexed address,indexed address,indexed address,address,bool,uint256,uint256,uint32[5],bool,string)
handler: handleCheckInSummonComplete
file: ./src/check-in-summoner-v-2.ts
templates:
- kind: ethereum/contract
name: CheckInTemplate
network: gnosis
source:
abi: CheckInShaman
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
file: ./src/check-in-shaman.ts
entities:
- TimelineEvent
abis:
- name: CheckInShaman
file: "./abis/CheckInShaman.json"
eventHandlers:
- event: Claim(indexed address,uint256,uint256,uint64,uint64[],uint8[],string)
handler: claim
- event: Lock(bool)
handler: lock
- event: Mutiny(address,address)
handler: mutiny
- event: UpdatePercs(uint32[5],uint32[5])
handler: updatePercs
- event: UpdateTokenPerSecond(uint256,uint256)
handler: updateTokenPerSecond
- event: UpdateInterval(uint256,uint256)
handler: updateInterval
# - event: Post(address,string,string)
# handler: post