-
Notifications
You must be signed in to change notification settings - Fork 1
/
subgraph.yaml
299 lines (299 loc) · 10.3 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
specVersion: 0.0.2
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum/contract
name: ProxyFactory
network: mainnet
source:
address: "0xA26e15C895EFc0616177B7c1e7270A4C7D51C997"
abi: ProxyFactory
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
entities:
- Change
- User
- Proxy
eventHandlers:
- event: Created(indexed address,indexed address,address,address)
handler: handleCreated
abis:
- name: ProxyFactory
file: ./abis/factory.json
file: ./src/mappings/factory.ts
- kind: ethereum/contract
name: Pot
network: mainnet
source:
address: "0x197E90f9FAD81970bA7976f33CbD77088E5D7cf7"
abi: Pot
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
entities:
- Change
- Pot
- User
- Proxy
callHandlers:
- function: drip()
handler: handleDrip
eventHandlers:
- event: LogNote(indexed bytes4,indexed address,indexed bytes32,indexed bytes32,bytes)
topic0: "0x29ae811400000000000000000000000000000000000000000000000000000000"
handler: handleFileEvent
- event: LogNote(indexed bytes4,indexed address,indexed bytes32,indexed bytes32,bytes)
topic0: "0x049878f300000000000000000000000000000000000000000000000000000000"
handler: handleJoinEvent
- event: LogNote(indexed bytes4,indexed address,indexed bytes32,indexed bytes32,bytes)
topic0: "0x7f8661a100000000000000000000000000000000000000000000000000000000"
handler: handleExitEvent
abis:
- name: Pot
file: ./abis/pot.json
file: ./src/mappings/pot.ts
- kind: ethereum/contract
name: Jug
network: mainnet
source:
address: "0x19c0976f590D67707E62397C87829d896Dc0f1F1"
abi: Jug
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
entities:
- Change
- Jug
eventHandlers:
- event: LogNote(indexed bytes4,indexed address,indexed bytes32,indexed bytes32,bytes)
topic0: "0x29ae811400000000000000000000000000000000000000000000000000000000"
handler: handleFile
- event: LogNote(indexed bytes4,indexed address,indexed bytes32,indexed bytes32,bytes)
topic0: "0x1a0b287e00000000000000000000000000000000000000000000000000000000"
handler: handleIlkFile
abis:
- name: Jug
file: ./abis/jug.json
file: ./src/mappings/jug.ts
- kind: ethereum/contract
name: Vat
network: mainnet
source:
address: "0x35D1b3F3D7966A1DFe207aa4514C12a259A0492B"
abi: Vat
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
entities:
- Change
- Vat
eventHandlers:
- event: LogNote(indexed bytes4,indexed bytes32,indexed bytes32,indexed bytes32,bytes)
topic0: "0x3b66319500000000000000000000000000000000000000000000000000000000"
handler: handleInitEvent
- event: LogNote(indexed bytes4,indexed bytes32,indexed bytes32,indexed bytes32,bytes)
topic0: "0x29ae811400000000000000000000000000000000000000000000000000000000"
handler: handleFileEvent
- event: LogNote(indexed bytes4,indexed bytes32,indexed bytes32,indexed bytes32,bytes)
topic0: "0x1a0b287e00000000000000000000000000000000000000000000000000000000"
handler: handleIlkFileEvent
- event: LogNote(indexed bytes4,indexed bytes32,indexed bytes32,indexed bytes32,bytes)
topic0: "0x7cdd3fde00000000000000000000000000000000000000000000000000000000"
handler: handleSlipEvent
- event: LogNote(indexed bytes4,indexed bytes32,indexed bytes32,indexed bytes32,bytes)
topic0: "0x7608870300000000000000000000000000000000000000000000000000000000"
handler: handleFrobEvent
- event: LogNote(indexed bytes4,indexed bytes32,indexed bytes32,indexed bytes32,bytes)
topic0: "0x870c616d00000000000000000000000000000000000000000000000000000000"
handler: handleForkEvent
- event: LogNote(indexed bytes4,indexed bytes32,indexed bytes32,indexed bytes32,bytes)
topic0: "0x7bab3f4000000000000000000000000000000000000000000000000000000000"
handler: handleGrabEvent
- event: LogNote(indexed bytes4,indexed bytes32,indexed bytes32,indexed bytes32,bytes)
topic0: "0xf37ac61c00000000000000000000000000000000000000000000000000000000"
handler: handleHealEvent
- event: LogNote(indexed bytes4,indexed bytes32,indexed bytes32,indexed bytes32,bytes)
topic0: "0xf24e23eb00000000000000000000000000000000000000000000000000000000"
handler: handleSuckEvent
- event: LogNote(indexed bytes4,indexed bytes32,indexed bytes32,indexed bytes32,bytes)
topic0: "0xb65337df00000000000000000000000000000000000000000000000000000000"
handler: handleFoldEvent
abis:
- name: Vat
file: ./abis/vat.json
file: ./src/mappings/vat.ts
- kind: ethereum/contract
name: Spot
network: mainnet
source:
address: "0x65C79fcB50Ca1594B025960e539eD7A9a6D434A3"
abi: Spot
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
entities:
- Change
- Spot
eventHandlers:
- event: LogNote(indexed bytes4,indexed address,indexed bytes32,indexed bytes32,bytes)
topic0: "0x1a0b287e00000000000000000000000000000000000000000000000000000000"
handler: handleFile
abis:
- name: Spot
file: ./abis/spot.json
file: ./src/mappings/spot.ts
- kind: ethereum/contract
name: Vow
network: mainnet
source:
address: "0xA950524441892A31ebddF91d3cEEFa04Bf454466"
abi: Vow
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
entities:
- Change
- Vow
eventHandlers:
- event: LogNote(indexed bytes4,indexed address,indexed bytes32,indexed bytes32,bytes)
topic0: "0x29ae811400000000000000000000000000000000000000000000000000000000"
handler: handleFile
abis:
- name: Vow
file: ./abis/vow.json
file: ./src/mappings/vow.ts
- kind: ethereum/contract
name: Cat
network: mainnet
source:
address: "0x78F2c2AF65126834c51822F56Be0d7469D7A523E"
abi: Cat
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
entities:
- Change
- Cat
eventHandlers:
- event: LogNote(indexed bytes4,indexed address,indexed bytes32,indexed bytes32,bytes)
topic0: "0x1a0b287e00000000000000000000000000000000000000000000000000000000"
handler: handleIlkFile
- event: LogNote(indexed bytes4,indexed address,indexed bytes32,indexed bytes32,bytes)
topic0: "0xebecb39d00000000000000000000000000000000000000000000000000000000"
handler: handleFlipFile
abis:
- name: Cat
file: ./abis/cat.json
file: ./src/mappings/cat.ts
- kind: ethereum/contract
name: Flap
network: mainnet
source:
address: "0xdfE0fb1bE2a52CDBf8FB962D5701d7fd0902db9f"
abi: Flap
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
entities:
- Change
- Flap
eventHandlers:
- event: LogNote(indexed bytes4,indexed address,indexed bytes32,indexed bytes32,bytes)
topic0: "0x29ae811400000000000000000000000000000000000000000000000000000000"
handler: handleFile
abis:
- name: Flap
file: ./abis/flap.json
file: ./src/mappings/flap.ts
- kind: ethereum/contract
name: Flop
network: mainnet
source:
address: "0x4D95A049d5B0b7d32058cd3F2163015747522e99"
abi: Flop
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
entities:
- Change
- Flop
eventHandlers:
- event: LogNote(indexed bytes4,indexed address,indexed bytes32,indexed bytes32,bytes)
topic0: "0x29ae811400000000000000000000000000000000000000000000000000000000"
handler: handleFile
abis:
- name: Flop
file: ./abis/flop.json
file: ./src/mappings/flop.ts
- kind: ethereum/contract
name: Pause
network: mainnet
source:
address: "0xbE286431454714F511008713973d3B053A2d38f3"
abi: Pause
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
entities:
- Change
eventHandlers:
- event: LogNote(indexed bytes4,indexed address,indexed bytes32,indexed bytes32,uint256,bytes)
topic0: "0xe177246e00000000000000000000000000000000000000000000000000000000"
handler: handleSetDelay
abis:
- name: Pause
file: ./abis/pause.json
file: ./src/mappings/pause.ts
- kind: ethereum/contract
name: CdpManager
network: mainnet
source:
address: "0x5ef30b9986345249bc32d8928B7ee64DE9435E39"
abi: CdpManager
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
entities:
- User
eventHandlers:
- event: NewCdp(indexed address,indexed address,indexed uint256)
handler: handleNewCdp
- event: LogNote(indexed bytes4,indexed address,indexed bytes32,indexed bytes32,bytes)
topic0: "0xfcafcc6800000000000000000000000000000000000000000000000000000000"
handler: handleGive
abis:
- name: CdpManager
file: ./abis/cdpManager.json
file: ./src/mappings/cdpManager.ts
templates:
- kind: ethereum/contract
name: Flip
network: mainnet
source:
abi: Flip
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
file: ./src/mappings/flip.ts
entities:
- Change
abis:
- name: Flip
file: ./abis/flip.json
eventHandlers:
- event: LogNote(indexed bytes4,indexed address,indexed bytes32,indexed bytes32,bytes)
topic0: "0x29ae811400000000000000000000000000000000000000000000000000000000"
handler: handleFile