-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph.yaml
96 lines (96 loc) · 2.75 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
specVersion: 0.0.2
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum/contract
name: LinkToken
network: mainnet
source:
address: "0x514910771af9ca656af840dff83e8264ecf986ca"
abi: LinkToken
startBlock: 4281611
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
entities:
- Transfer
- Approval
abis:
- name: LinkToken
file: ./abis/LinkToken.json
eventHandlers:
- event: Transfer(indexed address,indexed address,uint256)
handler: handleLinkTransfer
- event: Approval(indexed address,indexed address,uint256)
handler: handleLinkApproval
file: ./src/link-mapping.ts
- kind: ethereum/contract
name: DIAToken
network: mainnet
source:
address: "0x84cA8bc7997272c7CfB4D0Cd3D55cd942B3c9419"
abi: DIAToken
startBlock: 9010514
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
entities:
- Transfer
- Approval
abis:
- name: DIAToken
file: ./abis/DIAToken.json
eventHandlers:
- event: Transfer(indexed address,indexed address,uint256)
handler: handleDIATransfer
- event: Approval(indexed address,indexed address,uint256)
handler: handleDIAApproval
file: ./src/dia-mapping.ts
- kind: ethereum/contract
name: BandToken
network: mainnet
source:
address: "0xBA11D00c5f74255f56a5E366F4F77f5A186d7f55"
abi: BandToken
startBlock: 8514296
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
entities:
- Transfer
- Approval
abis:
- name: BandToken
file: ./abis/BandToken.json
eventHandlers:
- event: Transfer(indexed address,indexed address,uint256)
handler: handleBandTransfer
- event: Approval(indexed address,indexed address,uint256)
handler: handleBandApproval
file: ./src/band-mapping.ts
- kind: ethereum/contract
name: TellorMaster
network: mainnet
source:
address: "0x0Ba45A8b5d5575935B8158a88C631E9F9C95a2e5"
abi: TellorMaster
startBlock: 8265522
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
entities:
- Transfer
- Approval
abis:
- name: TellorMaster
file: ./abis/TellorMaster.json
eventHandlers:
- event: Transfer(indexed address,indexed address,uint256)
handler: handleTellorTransfer
- event: Approval(indexed address,indexed address,uint256)
handler: handleTellorApproval
file: ./src/tellor-mapping.ts