-
Notifications
You must be signed in to change notification settings - Fork 53
Expand file tree
/
Copy pathsubgraph.yaml
More file actions
92 lines (92 loc) · 2.97 KB
/
Copy pathsubgraph.yaml
File metadata and controls
92 lines (92 loc) · 2.97 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
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
graft:
base: QmS1ehFzXTD9eA1f1EgjZvdyAj2EHtVNMrEN91H3pLuHMy
block: 33415500
dataSources:
- kind: ethereum/contract
name: PoolManager
network: base
source:
abi: PoolManager
address: "0x498581fF718922c3f8e6A244956aF099B2652b2b"
startBlock: 25350988
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
file: ./src/mappings/index.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
- kind: ethereum/contract
name: PositionManager
network: base
source:
abi: PositionManager
address: "0x7C5f5A4bBd8fD63184577525326123B519429bDc"
startBlock: 25350993
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
file: ./src/mappings/index.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
# - kind: ethereum/contract
# name: EulerSwapFactory
# network: mainnet
# source:
# abi: EulerSwapFactory
# address: "0xb013be1D0D380C13B58e889f412895970A2Cf228"
# startBlock: 22676162
# mapping:
# kind: ethereum/events
# apiVersion: 0.0.7
# language: wasm/assemblyscript
# file: ./src/mappings/index.ts
# entities:
# - Position
# abis:
# - name: EulerSwapFactory
# file: ./abis/EulerSwapFactory.json
# eventHandlers:
# - event: PoolDeployed(indexed address,indexed address,indexed address,address)
# handler: handleHookDeployed
# - event: PoolUninstalled(indexed address,indexed address,indexed address,address)
# handler: handleHookUninstalled