-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsubgraph.yaml
42 lines (42 loc) · 1.35 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
specVersion: 1.0.0
indexerHints:
prune: auto
schema:
file: ./schema.graphql
features:
- nonFatalErrors
dataSources:
- kind: ethereum
name: AutoListingsRegistry
network: 'chapel'
source:
address: '0x8d7ba93b86927b5795ed4368c2fb557f769fccbd'
abi: AutoListingsRegistry
startBlock: 44379512
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- TokenListed
abis:
- name: AutoListingsRegistry
file: ./abis/AutoListingsRegistry.json
- name: AutoListing
file: ./abis/AutoListing.json
- name: ERC20andERC223
file: ./abis/ERC20andERC223.json
- name: ERC20andERC223SymbolBytes
file: ./abis/ERC20andERC223SymbolBytes.json
- name: ERC20andERC223NameBytes
file: ./abis/ERC20andERC223NameBytes.json
- name: TokenConverter
file: ./abis/TokenConverter.json
eventHandlers:
- event: TokenListed(indexed address,indexed address,indexed address)
handler: handleTokenListed
- event: ListingContractUpdated(indexed address,address,string,bytes)
handler: handleListingContractUpdated
- event: ListingPrice(indexed address,indexed address,uint256)
handler: handleListingPrice
file: ./src/auto-listings-registry.ts