-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsubgraph.yaml
55 lines (55 loc) · 1.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
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: AuctionRegistrar
network: mainnet
source:
address: '0x6090a6e47849629b7245dfa1ca21d94cd15878ef'
abi: AuctionRegistrar
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
file: ./src/auctionRegistrar.ts
entities:
- Account
- AuctionedName
- Deed
abis:
- name: AuctionRegistrar
file: ./abis/AuctionRegistrar.json
eventHandlers:
- event: AuctionStarted(indexed bytes32,uint256)
handler: auctionStarted
- event: BidRevealed(indexed bytes32,indexed address,uint256,uint8)
handler: bidRevealed
- event: HashRegistered(indexed bytes32,indexed address,uint256,uint256)
handler: hashRegistered
- event: HashInvalidated(indexed bytes32,indexed string,uint256,uint256)
handler: hashInvalidated
- event: HashReleased(indexed bytes32,uint256)
handler: hashReleased
- kind: ethereum/contract
name: Deed
network: mainnet
source:
abi: Deed
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
file: ./src/auctionRegistrar.ts
entities:
- AuctionedName
abis:
- name: Deed
file: ./abis/Deed.json
eventHandlers:
- event: OwnerChanged(address)
handler: deedTransferred
- event: DeedClosed()
handler: deedClosed