-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph.yaml
64 lines (64 loc) · 1.9 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
specVersion: 0.0.4
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: ENS
network: mainnet
source:
address: "0x57f1887a8BF19b14fC0dF6Fd9B2acc9Af147eA85"
abi: ENS
startBlock: 15581665
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Approval
- ApprovalForAll
- ControllerAdded
- ControllerRemoved
- NameMigrated
- NameRegistered
- NameRenewed
- OwnershipTransferred
- Transfer
abis:
- name: ENS
file: ./abis/ENS.json
eventHandlers:
- event: NameRegistered(indexed uint256,indexed address,uint256)
handler: handleNameRegistered
- event: NameRenewed(indexed uint256,uint256)
handler: handleNameRenewed
- event: OwnershipTransferred(indexed address,indexed address)
handler: handleOwnershipTransferred
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleTransfer
file: ./src/ens.ts
- kind: ethereum
name: EthRegistrarController
network: mainnet
source:
address: "0x283Af0B28c62C092C9727F1Ee09c02CA627EB7F5"
abi: EthRegistrarController
startBlock: 15972741
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- NameRegistered
- NameRenewed
- NewPriceOracle
- OwnershipTransferred
abis:
- name: EthRegistrarController
file: ./abis/EthRegistrarController.json
eventHandlers:
- event: NameRegistered(string,indexed bytes32,indexed
address,uint256,uint256)
handler: handleNameRegistered
- event: NameRenewed(string,indexed bytes32,uint256,uint256)
handler: handleNameRenewed
file: ./src/eth-registrar-controller.ts