-
Notifications
You must be signed in to change notification settings - Fork 49
Expand file tree
/
Copy pathsubgraph.yaml
More file actions
67 lines (67 loc) · 2.15 KB
/
subgraph.yaml
File metadata and controls
67 lines (67 loc) · 2.15 KB
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
specVersion: 0.0.4
description: Uniswap is a decentralized protocol for automated token exchange on Ethereum.
repository: https://github.com/Uniswap/v4-subgraph
schema:
file: ./schema.graphql
features:
- nonFatalErrors
- grafting
dataSources:
- source:
abi: PoolManager
address: "0x248083fb965359d82b06c1f5322480dcfc1ad857"
startBlock: 28974969
name: PoolManager
network: linea
kind: ethereum/contract
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
file: ./src/mappings/poolManager.mapping.ts
entities:
- Pool
- Token
abis:
- name: ERC20
file: ./abis/ERC20.json
- name: ERC20SymbolBytes
file: ./abis/ERC20SymbolBytes.json
- name: ERC20NameBytes
file: ./abis/ERC20NameBytes.json
- name: PoolManager
file: ./abis/PoolManager.json
eventHandlers:
- event: Initialize(indexed bytes32,indexed address,indexed
address,uint24,int24,address,uint160,int24)
handler: handleInitialize
- event: ModifyLiquidity(indexed bytes32,indexed
address,int24,int24,int256,bytes32)
handler: handleModifyLiquidity
- event: Swap(indexed bytes32,indexed
address,int128,int128,uint160,uint128,int24,uint24)
handler: handleSwap
- source:
abi: PositionManager
address: "0xddcad5775b2816a87495f207731b3571d7ee3c76"
startBlock: 28974972
name: PositionManager
network: linea
kind: ethereum/contract
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
file: ./src/mappings/positionManager.mapping.ts
entities:
- Position
abis:
- name: PositionManager
file: ./abis/PositionManager.json
eventHandlers:
- event: Subscription(indexed uint256,indexed address)
handler: handleSubscription
- event: Unsubscription(indexed uint256,indexed address)
handler: handleUnsubscription
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleTransfer