-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph.yaml
59 lines (59 loc) · 1.97 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
specVersion: 1.0.0
indexerHints:
prune: auto
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: lpeth
network: mainnet
source:
address: "0xF3a75E087A92770b4150fFF14c6d36FB07796252"
abi: LpETH
startBlock: 21022294
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- BatchUnlockBought
- BatchUnlockRedeemed
- ClaimWithdrawRequest
- Deposit
- RelayerRewardsClaimed
- Swap
- SwapPool
- SwapPoolDay
- UnlockBought
- UnlockRedeemed
- Upgraded
- Withdraw
- User
- LiquidityPosition
abis:
- name: LpETH
file: ./abis/LpETH.json
- name: UniswapQuoter
file: ./abis/UniswapQuoter.json
eventHandlers:
- event: Initialized(uint64)
handler: handleInitialize
- event: BatchUnlockBought(indexed address,uint256,uint256,uint256,uint256[])
handler: handleBatchUnlockBought
- event: BatchUnlockRedeemed(indexed address,uint256,uint256,uint256,uint256[])
handler: handleBatchUnlockRedeemed
- event: ClaimWithdrawRequest(indexed uint256,indexed address,uint256)
handler: handleClaimWithdrawRequest
- event: Deposit(indexed address,uint256,uint256)
handler: handleDeposit
- event: RelayerRewardsClaimed(indexed address,uint256)
handler: handleRelayerRewardsClaimed
- event: Swap(indexed address,indexed address,uint256,uint256,uint256)
handler: handleSwap
- event: UnlockBought(indexed address,uint256,uint256,uint256,uint256)
handler: handleUnlockBought
- event: UnlockRedeemed(indexed address,uint256,uint256,uint256,uint256)
handler: handleUnlockRedeemed
- event: Withdraw(indexed address,uint256,uint256,uint256)
handler: handleWithdraw
file: ./src/mappings/lpeth.ts