-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsubgraph.yaml
63 lines (63 loc) · 1.95 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
specVersion: 0.0.4
schema:
file: ./schema.graphql
description: ...
dataSources:
- kind: ethereum/contract
name: Airstack
network: mainnet
source:
abi: Airstack
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
file: ./src/mapping.ts
entities:
- AirMeta
- AirBlock
- AirEntityCounter
- AirAccount
- AirToken
- AirNftTransaction
- AirNftSaleRoyalty
- AirTokenMetadata
- AirExtraData
abis:
- name: Airstack
file: ./abis/Airstack.json
- name: ERC721MetaData
file: ./abis/Prices/ERC721.json
- name: ERC20
file: ./abis/Prices/ERC20.json
- name: CurveRegistry
file: ./abis/Prices/Curve/Registry.json
- name: CurvePoolRegistry
file: ./abis/Prices/Curve/PoolRegistry.json
- name: CalculationsCurve
file: ./abis/Prices/Calculations/Curve.json
- name: YearnLensContract
file: ./abis/Prices/YearnLens.json
- name: ChainlinkOracle
file: ./abis/Prices//Chainlink.json
- name: ChainLinkContract
file: ./abis/Prices/Chainlink.json
- name: UniswapRouter
file: ./abis/Prices/Uniswap/Router.json
- name: UniswapFeeRouter
file: ./abis/Prices/Uniswap/FeeRouter.json
- name: UniswapFactory
file: ./abis/Prices/Uniswap/Factory.json
- name: UniswapPair
file: ./abis/Prices/Uniswap/Pair.json
- name: SushiSwapRouter
file: ./abis/Prices/SushiSwap/Router.json
- name: SushiSwapFactory
file: ./abis/Prices/SushiSwap/Factory.json
- name: SushiSwapPair
file: ./abis/Prices/SushiSwap/Pair.json
- name: CalculationsSushiSwap
file: ./abis/Prices/Calculations/SushiSwap.json
eventHandlers:
- event: _DummyAirstackEvent()
handler: handle