-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph.yaml
67 lines (67 loc) · 1.84 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
specVersion: 0.0.4
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: nexus_distributor
network: mainnet
source:
address: "0x0000000000000000000000000000000000000000"
abi: IDistributor
startBlock: 13212759
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
entities:
- CoverBought
abis:
- name: IDistributor
file: ./abis/IDistributor.json
eventHandlers:
- event: CoverBought(indexed uint256,indexed address,indexed
address,uint256,uint256)
handler: handleCoverBought
file: ./src/mapping.ts
- kind: ethereum
name: insurace_distributor
network: mainnet
source:
address: "0x98fb0e1191651b6292d3482cebf54e6d35542ca4"
abi: IDistributor
startBlock: 14416212
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
entities:
- CoverBought
abis:
- name: IDistributor
file: ./abis/IDistributor.json
eventHandlers:
- event: CoverBought(indexed uint256,indexed address,indexed
address,uint256,uint256)
handler: handleCoverBought
file: ./src/mapping.ts
- kind: ethereum
name: ease_distributor
network: mainnet
source:
address: "0xF11186032dF1E2723600A253A975fcb3dC7bd419"
abi: IDistributor
startBlock: 15135842
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
entities:
- CoverBought
abis:
- name: IDistributor
file: ./abis/IDistributor.json
eventHandlers:
- event: CoverBought(indexed uint256,indexed address,indexed
address,uint256,uint256)
handler: handleCoverBought
file: ./src/mapping.ts