-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph.yaml
48 lines (48 loc) · 1.71 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
specVersion: 0.0.5
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: Contract
network: mainnet
source:
address: "0x88e6A0c2dDD26FEEb64F039a2c41296FcB3f5640"
abi: Contract
startBlock: 12376729
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Burn
- Collect
- CollectProtocol
- Flash
- IncreaseObservationCardinalityNext
- Initialize
- Mint
- SetFeeProtocol
- Swap
abis:
- name: Contract
file: ./abis/Contract.json
eventHandlers:
# - event: Burn(indexed address,indexed int24,indexed int24,uint128,uint256,uint256)
# handler: handleBurn
# - event: Collect(indexed address,address,indexed int24,indexed int24,uint128,uint128)
# handler: handleCollect
# - event: CollectProtocol(indexed address,indexed address,uint128,uint128)
# handler: handleCollectProtocol
# - event: Flash(indexed address,indexed address,uint256,uint256,uint256,uint256)
# handler: handleFlash
# - event: IncreaseObservationCardinalityNext(uint16,uint16)
# handler: handleIncreaseObservationCardinalityNext
# - event: Initialize(uint160,int24)
# handler: handleInitialize
# - event: Mint(address,indexed address,indexed int24,indexed int24,uint128,uint256,uint256)
# handler: handleMint
# - event: SetFeeProtocol(uint8,uint8,uint8,uint8)
# handler: handleSetFeeProtocol
- event: Swap(indexed address,indexed address,int256,int256,uint160,uint128,int24)
handler: handleSwap
file: ./src/contract.ts