-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsubgraph.yaml
More file actions
197 lines (197 loc) · 6.35 KB
/
subgraph.yaml
File metadata and controls
197 lines (197 loc) · 6.35 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
specVersion: 0.0.4
description: Hyperpie Point System
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum/contract
name: HyperpieStaking
network: hyperevm
source:
address: "0x509b9D74a1Fc259ab5BC5585a9814bA661096c06"
abi: HyperpieStaking
startBlock: 457571
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- StakingUserData
- ReferralData
- StakingPointStatus
- AssetDeposit
- UserReferralData
abis:
- name: HyperpieStaking
file: ./abis/hyperpieStaking.json
- name: mHype
file: ./abis/mHype.json
eventHandlers:
- event: AssetDeposited(indexed address,indexed address,uint256,uint256,indexed address)
handler: handleAssetDeposit
file: ./src/mHypeStaking.ts
- kind: ethereum/contract
name: mHype
network: hyperevm
source:
address: "0xdabb040c428436d41cecd0fb06bcfdbaad3a9aa8"
abi: mHype
startBlock: 457571
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- AssetTransfer
abis:
- name: mHype
file: ./abis/mHype.json
eventHandlers:
- event: Transfer(indexed address,indexed address,uint256)
handler: handleTransfer
file: ./src/mHypeStaking.ts
- kind: ethereum/contract
name: KittenSwapLpToken
network: hyperevm
source:
address: "0xB44a07a32EA7B18642e93Fd73D27D7021CA4D653"
abi: LpToken
startBlock: 1600000
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- KittenSwapUserData
abis:
- name: LpToken
file: ./abis/LpToken.json
eventHandlers:
- event: Transfer(indexed address,indexed address,uint256)
handler: handleKittenSwapLpTokenTransfer
file: ./src/kittenswap.ts
- kind: ethereum/contract
name: HyperSwapLpToken
network: hyperevm
source:
address: "0x88cdc924f194e573e508b64551532980273b3fdc"
abi: LpToken
startBlock: 2000000
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- HyperSwapUserData
abis:
- name: LpToken
file: ./abis/LpToken.json
eventHandlers:
- event: Transfer(indexed address,indexed address,uint256)
handler: handleHyperSwapLpTokenTransfer
file: ./src/hyperswap.ts
- kind: ethereum/contract
name: KittenSwapV3
network: hyperevm
source:
address: "0xb9201e89f94a01ff13ad4caecf43a2e232513754"
abi: NonFungibleTokenPositionManager
startBlock: 2000000
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- KittenSwapUserData
- KittenSwapNFT
abis:
- name: NonFungibleTokenPositionManager
file: ./abis/KittenSwapNFT.json
- name: HypeMHypeV3Pool
file: ./abis/KittenSwapCLPool.json
eventHandlers:
- event: IncreaseLiquidity(indexed uint256,uint128,uint256,uint256)
handler: handleKittenSwapV3IncreaseLiquidity
- event: DecreaseLiquidity(indexed uint256,uint128,uint256,uint256)
handler: handleKittenSwapV3DecreaseLiquidity
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleKittenSwapNFTTransfer
file: ./src/kittenswap.ts
- kind: ethereum/contract
name: HyperSwapV3
network: hyperevm
source:
address: "0x6eda206207c09e5428f281761ddc0d300851fbc8"
abi: NonFungibleTokenPositionManager
startBlock: 24000
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- HyperSwapUserData
- HyperSwapNFT
abis:
- name: NonFungibleTokenPositionManager
file: ./abis/HyperSwapNFT.json
- name: HypeMHypeV3Pool
file: ./abis/HyperSwapCLPool.json
eventHandlers:
- event: IncreaseLiquidity(indexed uint256,uint128,uint256,uint256)
handler: handleHyperSwapV3IncreaseLiquidity
- event: DecreaseLiquidity(indexed uint256,uint128,uint256,uint256)
handler: handleHyperSwapV3DecreaseLiquidity
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleHyperSwapNFTTransfer
file: ./src/hyperswap.ts
- kind: ethereum/contract
name: HypurrfiLpToken
network: hyperevm
source:
address: "0xE4847Cb23dAd9311b9907497EF8B39d00AC1DE14"
abi: HypurrfiLpToken
startBlock: 3500000
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- HypurrfiUserData
- HypurrfiPointStatus
abis:
- name: HypurrfiLpToken
file: ./abis/HypurrfiLpToken.json
eventHandlers:
- event: Transfer(indexed address,indexed address,uint256)
handler: handleHypurrfiTransfer
- event: AddCollateral(indexed address,indexed address,uint256)
handler: handleHypurrfiAddCollateral
- event: RemoveCollateral(indexed address,uint256,indexed address,indexed address)
handler: handleHypurrfiRemoveCollateral
- event: BorrowAsset(indexed address,indexed address,uint256,uint256)
handler: handleHypurrfiBorrowAsset
- event: RepayAsset(indexed address,indexed address,uint256,uint256)
handler: handleHypurrfiRepayAsset
- event: RepayAssetWithCollateral(indexed address,address,uint256,uint256,uint256)
handler: handleHypurrfiRepayAssetWithCollateral
file: ./src/hypurrFi.ts
- kind: ethereum/contract
name: KeikoVaultOperation
network: hyperevm
source:
address: "0x67e70761E88C77ffF2174d5a4EaD42B44Df3F64a"
abi: KeikoVaultOperation
startBlock: 78700
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- KeikoUserData
- KeikoPointStatus
abis:
- name: KeikoVaultOperation
file: ./abis/KeikoVaultOperation.json
eventHandlers:
- event: OwnershipTransferred(indexed address,indexed address)
handler: handleKeikoVaultOperationOwnershipTransferred
file: ./src/keiko.ts