-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph.yaml
53 lines (53 loc) · 1.89 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
specVersion: 1.0.0
indexerHints:
prune: auto
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: PoolManager
network: sepolia
source:
address: "0xf7a031A182aFB3061881156df520FE7912A51617"
abi: PoolManager
startBlock: 5411755
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Approval
- DynamicSwapFeeUpdated
- Initialize
- ModifyLiquidity
- OperatorSet
- OwnerChanged
- ProtocolFeeControllerUpdated
- ProtocolFeeUpdated
- Swap
- Transfer
abis:
- name: PoolManager
file: ./abis/PoolManager.json
eventHandlers:
- event: Approval(indexed address,indexed address,indexed uint256,uint256)
handler: handleApproval
- event: DynamicSwapFeeUpdated(indexed bytes32,uint24)
handler: handleDynamicSwapFeeUpdated
- event: Initialize(indexed bytes32,indexed address,indexed address,uint24,int24,address)
handler: handleInitialize
- event: ModifyLiquidity(indexed bytes32,indexed address,int24,int24,int256)
handler: handleModifyLiquidity
- event: OperatorSet(indexed address,indexed address,bool)
handler: handleOperatorSet
- event: OwnerChanged(indexed address,indexed address)
handler: handleOwnerChanged
- event: ProtocolFeeControllerUpdated(address)
handler: handleProtocolFeeControllerUpdated
- event: ProtocolFeeUpdated(indexed bytes32,uint16)
handler: handleProtocolFeeUpdated
- event: Swap(indexed bytes32,indexed address,int128,int128,uint160,uint128,int24,uint24)
handler: handleSwap
- event: Transfer(address,indexed address,indexed address,indexed uint256,uint256)
handler: handleTransfer
file: ./src/pool-manager.ts