forked from ensdomains/ens-subgraph
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsubgraph-hardhat.yaml
437 lines (437 loc) · 14.1 KB
/
subgraph-hardhat.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
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
specVersion: 0.0.3
description: >-
A secure & decentralized way to address resources on and off the blockchain
using simple, human-readable names. Access domains and transfer history.
repository: 'https://github.com/ensdomains/ens-subgraph'
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum/contract
name: ENSRegistry
network: amber
source:
address: '0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512'
abi: EnsRegistry
startBlock: 2
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
file: ./src/ensRegistry.ts
entities:
- Domain
- Account
- Resolver
abis:
- name: EnsRegistry
file: ./abis/Registry.json
eventHandlers:
- event: 'Transfer(indexed bytes32,address)'
handler: handleTransfer
- event: 'NewOwner(indexed bytes32,indexed bytes32,address)'
handler: handleNewOwner
- event: 'NewResolver(indexed bytes32,address)'
handler: handleNewResolver
- event: 'NewTTL(indexed bytes32,uint64)'
handler: handleNewTTL
- kind: ethereum/contract
name: ENSRegistryOld
network: amber
source:
address: '0x5FbDB2315678afecb367f032d93F642f64180aa3'
abi: EnsRegistry
startBlock: 1
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
file: ./src/ensRegistry.ts
entities:
- Domain
- Account
- Resolver
abis:
- name: EnsRegistry
file: ./abis/Registry.json
eventHandlers:
- event: 'Transfer(indexed bytes32,address)'
handler: handleTransferOldRegistry
- event: 'NewOwner(indexed bytes32,indexed bytes32,address)'
handler: handleNewOwnerOldRegistry
- event: 'NewResolver(indexed bytes32,address)'
handler: handleNewResolverOldRegistry
- event: 'NewTTL(indexed bytes32,uint64)'
handler: handleNewTTLOldRegistry
- kind: ethereum/contract
name: Resolver
network: amber
source:
address: '0xDc64a140Aa3E981100a9becA4E685f962f0cF6C9'
abi: Resolver
startBlock: 5
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
file: ./src/resolver.ts
entities:
- AddrChanged
- MulticoinAddrChanged
- NameChanged
- AbiChanged
- PubkeyChanged
- Textchanged
- ContenthashChanged
- InterfaceChanged
- AuthorisationChanged
abis:
- name: Resolver
file: ./abis/PublicResolver.json
eventHandlers:
- event: 'ABIChanged(indexed bytes32,indexed uint256)'
handler: handleABIChanged
- event: 'AddrChanged(indexed bytes32,address)'
handler: handleAddrChanged
- event: 'AddressChanged(indexed bytes32,uint256,bytes)'
handler: handleMulticoinAddrChanged
- event: >-
AuthorisationChanged(indexed bytes32,indexed address,indexed
address,bool)
handler: handleAuthorisationChanged
- event: 'ContenthashChanged(indexed bytes32,bytes)'
handler: handleContentHashChanged
- event: 'InterfaceChanged(indexed bytes32,indexed bytes4,address)'
handler: handleInterfaceChanged
- event: 'NameChanged(indexed bytes32,string)'
handler: handleNameChanged
- event: 'PubkeyChanged(indexed bytes32,bytes32,bytes32)'
handler: handlePubkeyChanged
- event: 'TextChanged(indexed bytes32,indexed string,string)'
handler: handleTextChanged
- kind: ethereum/contract
name: EthBaseRegistrar
network: amber
source:
address: '0x5FC8d32690cc91D4c39d9d3abcBD16989F875707'
abi: BaseRegistrar
startBlock: 6
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
file: ./src/ethRegistrar.ts
entities:
- Registration
- NameRegistered
- NameRenewed
- NameTransferred
abis:
- name: BaseRegistrar
file: ./abis/BaseRegistrar.json
eventHandlers:
- event: 'NameRegistered(indexed uint256,indexed address,uint256)'
handler: handleNameRegistered
- event: 'NameRenewed(indexed uint256,uint256)'
handler: handleNameRenewed
- event: 'Transfer(indexed address,indexed address,indexed uint256)'
handler: handleNameTransferred
- kind: ethereum/contract
name: EthRegistrarController
network: amber
source:
address: '0x2279B7A0a67DB372996a5FaB50D91eAA73d2eBe6'
abi: EthRegistrarController
startBlock: 9
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
file: ./src/ethRegistrar.ts
entities:
- Registration
abis:
- name: EthRegistrarController
file: ./abis/EthRegistrarController.json
eventHandlers:
- event: >-
NameRegistered(string,indexed bytes32,indexed
address,uint256,uint256)
handler: handleNameRegisteredByController
- event: 'NameRenewed(string,indexed bytes32,uint256,uint256)'
handler: handleNameRenewedByController
- kind: ethereum/contract
name: BchBaseRegistrar
network: amber
source:
address: '0x3347B4d90ebe72BeFb30444C9966B2B990aE9FcB'
abi: BaseRegistrar
startBlock: 117
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
file: ./src/bchRegistrar.ts
entities:
- Registration
- NameRegistered
- NameRenewed
- NameTransferred
abis:
- name: BaseRegistrar
file: ./abis/BaseRegistrar.json
eventHandlers:
- event: 'NameRegistered(indexed uint256,indexed address,uint256)'
handler: handleNameRegistered
- event: 'NameRenewed(indexed uint256,uint256)'
handler: handleNameRenewed
- event: 'Transfer(indexed address,indexed address,indexed uint256)'
handler: handleNameTransferred
- kind: ethereum/contract
name: BchRegistrarController
network: amber
source:
address: '0xffa7CA1AEEEbBc30C874d32C7e22F052BbEa0429'
abi: EthRegistrarController
startBlock: 120
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
file: ./src/bchRegistrar.ts
entities:
- Registration
abis:
- name: EthRegistrarController
file: ./abis/EthRegistrarController.json
eventHandlers:
- event: >-
NameRegistered(string,indexed bytes32,indexed
address,uint256,uint256)
handler: handleNameRegisteredByController
- event: 'NameRenewed(string,indexed bytes32,uint256,uint256)'
handler: handleNameRenewedByController
- kind: ethereum/contract
name: DogeBaseRegistrar
network: dogechain
source:
address: '0x9d4454B023096f34B160D6B654540c56A1F81688'
abi: BaseRegistrar
startBlock: 46
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
file: ./src/dogeRegistrar.ts
entities:
- Registration
- NameRegistered
- NameRenewed
- NameTransferred
abis:
- name: BaseRegistrar
file: ./abis/BaseRegistrar.json
eventHandlers:
- event: 'NameRegistered(indexed uint256,indexed address,uint256)'
handler: handleNameRegistered
- event: 'NameRenewed(indexed uint256,uint256)'
handler: handleNameRenewed
- event: 'Transfer(indexed address,indexed address,indexed uint256)'
handler: handleNameTransferred
- kind: ethereum/contract
name: DogeRegistrarController
network: dogechain
source:
address: '0x809d550fca64d94Bd9F66E60752A544199cfAC3D'
abi: EthRegistrarController
startBlock: 49
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
file: ./src/dogeRegistrar.ts
entities:
- Registration
abis:
- name: EthRegistrarController
file: ./abis/EthRegistrarController.json
eventHandlers:
- event: >-
NameRegistered(string,indexed bytes32,indexed
address,uint256,uint256)
handler: handleNameRegisteredByController
- event: 'NameRenewed(string,indexed bytes32,uint256,uint256)'
handler: handleNameRenewedByController
- kind: ethereum/contract
name: DogePromoRegistrarController
network: dogechain
source:
address: '0x412c48685d7E16a9e3450b3Ca568690Da0585838'
abi: EthRegistrarController
startBlock: 1434534
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
file: ./src/dogeRegistrar.ts
entities:
- Registration
abis:
- name: EthRegistrarController
file: ./abis/EthRegistrarController.json
eventHandlers:
- event: >-
NameRegistered(string,indexed bytes32,indexed
address,uint256,uint256)
handler: handleNameRegisteredByController
- event: 'NameRenewed(string,indexed bytes32,uint256,uint256)'
handler: handleNameRenewedByController
- kind: ethereum/contract
name: DcBaseRegistrar
network: dogechain
source:
address: '0xdbC43Ba45381e02825b14322cDdd15eC4B3164E6'
abi: BaseRegistrar
startBlock: 68
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
file: ./src/dcRegistrar.ts
entities:
- Registration
- NameRegistered
- NameRenewed
- NameTransferred
abis:
- name: BaseRegistrar
file: ./abis/BaseRegistrar.json
eventHandlers:
- event: 'NameRegistered(indexed uint256,indexed address,uint256)'
handler: handleNameRegistered
- event: 'NameRenewed(indexed uint256,uint256)'
handler: handleNameRenewed
- event: 'Transfer(indexed address,indexed address,indexed uint256)'
handler: handleNameTransferred
- kind: ethereum/contract
name: DcRegistrarController
network: dogechain
source:
address: '0x21dF544947ba3E8b3c32561399E88B52Dc8b2823'
abi: EthRegistrarController
startBlock: 71
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
file: ./src/dcRegistrar.ts
entities:
- Registration
abis:
- name: EthRegistrarController
file: ./abis/EthRegistrarController.json
eventHandlers:
- event: >-
NameRegistered(string,indexed bytes32,indexed
address,uint256,uint256)
handler: handleNameRegisteredByController
- event: 'NameRenewed(string,indexed bytes32,uint256,uint256)'
handler: handleNameRenewedByController
- kind: ethereum/contract
name: DcPromoRegistrarController
network: dogechain
source:
address: '0xBEc49fA140aCaA83533fB00A2BB19bDdd0290f25'
abi: EthRegistrarController
startBlock: 83
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
file: ./src/dcRegistrar.ts
entities:
- Registration
abis:
- name: EthRegistrarController
file: ./abis/EthRegistrarController.json
eventHandlers:
- event: >-
NameRegistered(string,indexed bytes32,indexed
address,uint256,uint256)
handler: handleNameRegisteredByController
- event: 'NameRenewed(string,indexed bytes32,uint256,uint256)'
handler: handleNameRenewedByController
- kind: ethereum/contract
name: EthwBaseRegistrar
network: ethpow
source:
address: '0xE6E340D132b5f46d1e472DebcD681B2aBc16e57E'
abi: BaseRegistrar
startBlock: 31
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
file: ./src/dogeRegistrar.ts
entities:
- Registration
- NameRegistered
- NameRenewed
- NameTransferred
abis:
- name: BaseRegistrar
file: ./abis/BaseRegistrar.json
eventHandlers:
- event: 'NameRegistered(indexed uint256,indexed address,uint256)'
handler: handleNameRegistered
- event: 'NameRenewed(indexed uint256,uint256)'
handler: handleNameRenewed
- event: 'Transfer(indexed address,indexed address,indexed uint256)'
handler: handleNameTransferred
- kind: ethereum/contract
name: EthwNFTRegistrarController
network: ethpow
source:
address: '0x9E545E3C0baAB3E08CdfD552C960A1050f373042'
abi: EthRegistrarController
startBlock: 34
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
file: ./src/ethwRegistrar.ts
entities:
- Registration
abis:
- name: EthRegistrarController
file: ./abis/EthRegistrarController.json
eventHandlers:
- event: >-
NameRegistered(string,indexed bytes32,indexed
address,uint256,uint256)
handler: handleNameRegisteredByController
- event: 'NameRenewed(string,indexed bytes32,uint256,uint256)'
handler: handleNameRenewedByController
- kind: ethereum/contract
name: EthwPromoRegistrarController
network: ethpow
source:
address: '0x9d4454B023096f34B160D6B654540c56A1F81688'
abi: EthRegistrarController
startBlock: 46
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
file: ./src/ethwRegistrar.ts
entities:
- Registration
abis:
- name: EthRegistrarController
file: ./abis/EthRegistrarController.json
eventHandlers:
- event: >-
NameRegistered(string,indexed bytes32,indexed
address,uint256,uint256)
handler: handleNameRegisteredByController
- event: 'NameRenewed(string,indexed bytes32,uint256,uint256)'
handler: handleNameRenewedByController