-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfig.yaml
376 lines (376 loc) · 13.1 KB
/
config.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
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
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
# yaml-language-server: $schema=./node_modules/envio/evm.schema.json
name: Velodrome_v2
description: Multi-chain indexer for Velodrome V2 on Optimism and Aerodrome on Base
unordered_multichain_mode: true
rollback_on_reorg: false
event_decoder: hypersync-client
field_selection:
transaction_fields:
- "hash"
contracts:
- name: SuperchainPoolFactory
handler: src/EventHandlers/SuperchainPoolFactory.ts
events:
- event: RootPoolCreated(address indexed token0, address indexed token1, bool indexed stable, address pool, uint256 length)
- name: SuperchainCLFactory
handler: src/EventHandlers/SuperchainCLFactory.ts
events:
- event: RootPoolCreated(address indexed token0, address indexed token1, int24 indexed tickSpacing, uint256 chainid, address pool)
- name: FactoryRegistry
handler: src/EventHandlers/FactoryRegistry.ts
abi_file_path: abis/FactoryRegistry.json
events:
- event: Approve(address indexed poolFactory, address indexed votingRewardsFactory, address indexed gaugeFactory)
- event: Unapprove(address indexed poolFactory, address indexed votingRewardsFactory, address indexed gaugeFactory)
- name: PoolFactory
handler: src/EventHandlers/PoolFactory.ts
events:
- event: PoolCreated(address indexed token0, address indexed token1, bool indexed stable, address pool, uint256 unnamed)
- event: SetCustomFee(address indexed pool, uint256 fee)
- name: CLFactory
handler: src/EventHandlers/CLFactory.ts
events:
- event: PoolCreated(address indexed token0, address indexed token1, int24 indexed tickSpacing, address pool)
- name: CLPool
handler: src/EventHandlers/CLPool.ts
events:
- event: Burn(address indexed owner, int24 indexed tickLower, int24 indexed tickUpper, uint128 amount, uint256 amount0, uint256 amount1)
- event: Collect(address indexed owner, address recipient, int24 indexed tickLower, int24 indexed tickUpper, uint128 amount0, uint128 amount1)
- event: CollectFees(address indexed recipient, uint128 amount0, uint128 amount1)
- event: Flash(address indexed sender, address indexed recipient, uint256 amount0, uint256 amount1, uint256 paid0, uint256 paid1)
- event: IncreaseObservationCardinalityNext(uint16 observationCardinalityNextOld, uint16 observationCardinalityNextNew)
- event: Initialize(uint160 sqrtPriceX96, int24 tick)
- event: Mint(address sender, address indexed owner, int24 indexed tickLower, int24 indexed tickUpper, uint128 amount, uint256 amount0, uint256 amount1)
- event: SetFeeProtocol(uint8 feeProtocol0Old, uint8 feeProtocol1Old, uint8 feeProtocol0New, uint8 feeProtocol1New)
- event: Swap(address indexed sender, address indexed recipient, int256 amount0, int256 amount1, uint160 sqrtPriceX96, uint128 liquidity, int24 tick)
- name: NFPM
abi_file_path: abis/NFPM.json
handler: src/EventHandlers/NFPM.ts
events:
- event: Transfer
- event: IncreaseLiquidity
- event: DecreaseLiquidity
- name: VeNFT
handler: src/EventHandlers/VeNFT.ts
events:
- event: Deposit(address indexed provider, uint256 indexed tokenId, uint8 indexed depositType, uint256 value, uint256 locktime, uint256 ts)
- event: Withdraw(address indexed provider, uint256 indexed tokenId, uint256 value, uint256 ts)
- event: Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
- name: Pool
handler: src/EventHandlers/Pool.ts
events:
- event: Mint(address indexed sender, uint256 amount0, uint256 amount1)
- event: Burn(address indexed sender, address indexed to, uint256 amount0, uint256 amount1)
- event: Fees(address indexed sender, uint256 amount0, uint256 amount1)
- event: Swap(address indexed sender, address indexed to, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out)
- event: Sync(uint256 reserve0, uint256 reserve1)
- name: Voter
abi_file_path: abis/VoterV2.json
handler: src/EventHandlers/Voter/Voter.ts
events:
- event: Voted
- event: DistributeReward
- event: GaugeCreated
- event: GaugeKilled
- event: WhitelistToken
- name: SuperchainLeafVoter
handler: src/EventHandlers/Voter/SuperchainLeafVoter.ts
events:
- event: Voted(address indexed sender, address indexed pool, uint256 indexed tokenId, uint256 weight, uint256 totalWeight, uint256 timestamp)
- event: DistributeReward(address indexed sender, address indexed gauge, uint256 amount)
- event: GaugeCreated(address indexed poolFactory, address indexed votingRewardsFactory, address indexed gaugeFactory, address pool, address incentiveVotingReward, address feeVotingReward, address gauge)
- event: WhitelistToken(address indexed whitelister, address indexed token, bool indexed _bool)
- name: VotingReward
handler: src/EventHandlers/VotingReward.ts
events:
- event: Deposit(address indexed from, uint256 indexed tokenId, uint256 amount)
- event: NotifyReward(address indexed from, address indexed reward, uint256 indexed epoch, uint256 amount)
- event: Withdraw(address indexed from, uint256 indexed tokenId, uint256 amount)
- name: CLGauge
abi_file_path: abis/CLGauge.json
handler: src/EventHandlers/CLGauge.ts
events:
- event: NotifyReward
- event: Deposit
- event: Withdraw
- name: Gauge
abi_file_path: abis/Gauge.json
handler: src/EventHandlers/Gauge.ts
events:
- event: NotifyReward
- event: Deposit
- event: Withdraw
- name: ALMDeployFactory
abi_file_path: abis/ALM/DeployFactory.json
handler: src/EventHandlers/ALM/DeployFactory.ts
events:
- event: StrategyCreated
- name: ALMCore
abi_file_path: abis/ALM/Core.json
handler: src/EventHandlers/ALM/Core.ts
events:
- event: Rebalance
- name: ALMLPWrapper
abi_file_path: abis/ALM/LPWrapper.json
handler: src/EventHandlers/ALM/LPWrapper.ts
events:
- event: Deposit
- event: Withdraw
- event: Transfer
- name: ERC20
abi_file_path: abis/ERC20.json
handler: src/EventHandlers/ERC20.ts
events:
- event: Transfer(address indexed from, address indexed to, uint256 value)
- name: DynamicFeeSwapModule
abi_file_path: abis/DynamicFeeSwapModule.json
handler: src/EventHandlers/DynamicFeeSwapModule.ts
events:
- event: CustomFeeSet
- event: SecondsAgoSet
- event: ScalingFactorSet
- event: FeeCapSet
networks:
- id: 10 # Optimism
start_block: 0
contracts:
- name: DynamicFeeSwapModule
address:
- 0xd9eE4FBeE92970509ec795062cA759F8B52d6720
- name: ERC20
address:
- 0x3c8B650257cFb5f272f799F5e2b4e65093a11a05 # VELO
- 0x9560e827aF36c94D2Ac33a39bCE1Fe78631088Db # VELO v2
- name: VeNFT
address:
- 0xFAf8FD17D9840595845582fCB047DF13f006787d
- name: NFPM
address:
- 0x416b433906b1b72fa758e166e239c43d68dc6f29
- name: FactoryRegistry
address:
- 0xF4c67CdEAaB8360370F41514d06e32CcD8aA1d7B
- name: SuperchainPoolFactory
address:
- 0x31832f2a97Fd20664D76Cc421207669b55CE4BC0
- name: SuperchainCLFactory
address:
- 0x04625B046C69577EfC40e6c0Bb83CDBAfab5a55F
- name: PoolFactory
address:
- 0xF1046053aa5682b4F9a81b5481394DA16BE5FF5a
- name: CLFactory
address:
- 0xCc0bDDB707055e04e497aB22a59c2aF4391cd12F
- name: Pool
address:
- name: Voter
address:
- 0x41C914ee0c7E1A5edCD0295623e6dC557B5aBf3C
- name: VotingReward
address:
- name: CLPool
address:
- name: ALMDeployFactory
address:
- 0xE46EC96906fc6dEC53De25F013639969Fe10180d
- name: ALMCore
address:
- 0x0000000cE42D4981513060aB7E50B9e5e2D19AF1
- name: ALMLPWrapper
address:
- name: CLGauge
address:
- name: Gauge
address:
- id: 8453 # Base
start_block: 0
contracts:
- name: ERC20
address:
- 0x940181a94A35A4569E4529A3CDfB74e38FD98631 # AERO
- name: VeNFT
address:
- 0xeBf418Fe2512e7E6bd9b87a8F0f294aCDC67e6B4
- name: NFPM
address:
- 0x827922686190790b37229fd06084350e74485b72
- name: FactoryRegistry
address:
- 0x5C3F18F06CC09CA1910767A34a20F771039E37C0
- name: PoolFactory
address:
- 0x420DD381b31aEf6683db6B902084cB0FFECe40Da
- name: CLFactory
address:
- 0x5e7BB104d84c7CB9B682AaC2F3d509f5F406809A
- name: Pool
address:
- name: Voter
address:
- 0x16613524e02ad97eDfeF371bC883F2F5d6C480A5
- name: VotingReward
address:
- name: CLPool
address:
- name: ALMDeployFactory
address:
- 0xE46EC96906fc6dEC53De25F013639969Fe10180d
- name: ALMCore
address:
- 0x0000000cE42D4981513060aB7E50B9e5e2D19AF1
- name: ALMLPWrapper
address:
- name: CLGauge
address:
- name: Gauge
address:
- id: 1868 # Soneium
hypersync_config:
url: https://soneium.hypersync.xyz
start_block: 0
contracts:
- name: ERC20
address:
- 0x7f9AdFbd38b669F03d1d11000Bc76b9AaEA28A81 # xVELO
- name: NFPM
address:
- 0x991d5546c4b442b4c5fdc4c8b8b8d131deb24702
- name: PoolFactory
address:
- 0x31832f2a97Fd20664D76Cc421207669b55CE4BC0
- name: CLFactory
address:
- 0x04625B046C69577EfC40e6c0Bb83CDBAfab5a55F
- name: Pool
address:
- name: SuperchainLeafVoter
address:
- 0x97cDBCe21B6fd0585d29E539B1B99dAd328a1123
- name: VotingReward
address:
- name: CLPool
address:
- id: 57073 # Ink
hypersync_config:
url: https://ink.hypersync.xyz
start_block: 0
contracts:
- name: ERC20
address:
- 0x7f9AdFbd38b669F03d1d11000Bc76b9AaEA28A81 # xVELO
- name: NFPM
address:
- 0x991d5546c4b442b4c5fdc4c8b8b8d131deb24702
- name: PoolFactory
address:
- 0x31832f2a97Fd20664D76Cc421207669b55CE4BC0
- name: CLFactory
address:
- 0x04625B046C69577EfC40e6c0Bb83CDBAfab5a55F
- name: Pool
address:
- name: SuperchainLeafVoter
address:
- 0x97cDBCe21B6fd0585d29E539B1B99dAd328a1123
- name: VotingReward
address:
- name: CLPool
address:
- id: 34443 # Mode
start_block: 0
contracts:
- name: ERC20
address:
- 0x7f9AdFbd38b669F03d1d11000Bc76b9AaEA28A81 # xVELO
- name: NFPM
address:
- 0x991d5546c4b442b4c5fdc4c8b8b8d131deb24702
- name: PoolFactory
address:
- 0x31832f2a97Fd20664D76Cc421207669b55CE4BC0
- name: CLFactory
address:
- 0x04625B046C69577EfC40e6c0Bb83CDBAfab5a55F
- name: Pool
address:
- name: SuperchainLeafVoter
address:
- 0x97cDBCe21B6fd0585d29E539B1B99dAd328a1123
- name: VotingReward
address:
- name: CLPool
address:
- id: 1135 # Lisk
start_block: 0
contracts:
- name: ERC20
address:
- 0x7f9AdFbd38b669F03d1d11000Bc76b9AaEA28A81 # xVELO
- name: NFPM
address:
- 0x991d5546C4B442B4c5fdc4c8B8b8d131DEB24702
- name: PoolFactory
address:
- 0x31832f2a97Fd20664D76Cc421207669b55CE4BC0
- name: CLFactory
address:
- 0x04625B046C69577EfC40e6c0Bb83CDBAfab5a55F
- name: Pool
address:
- name: SuperchainLeafVoter
address:
- 0x97cDBCe21B6fd0585d29E539B1B99dAd328a1123
- name: VotingReward
address:
- name: CLPool
address:
- id: 252 # Fraxtal
hypersync_config:
url: https://fraxtal.hypersync.xyz
start_block: 0
contracts:
- name: ERC20
address:
- 0x7f9AdFbd38b669F03d1d11000Bc76b9AaEA28A81 # xVELO
- name: NFPM
address:
- 0x991d5546C4B442B4c5fdc4c8B8b8d131DEB24702
- name: PoolFactory
address:
- 0x31832f2a97Fd20664D76Cc421207669b55CE4BC0
- name: CLFactory
address:
- 0x04625B046C69577EfC40e6c0Bb83CDBAfab5a55F
- name: Pool
address:
- name: SuperchainLeafVoter
address:
- 0x97cDBCe21B6fd0585d29E539B1B99dAd328a1123
- name: VotingReward
address:
- name: CLPool
address:
- id: 1750 # Metal
hypersync_config:
url: https://1750.hypersync.xyz # Metal L2 hypersync address
start_block: 0
contracts:
- name: NFPM
address:
- 0x991d5546C4B442B4c5fdc4c8B8b8d131DEB24702
- name: PoolFactory
address:
- 0x31832f2a97Fd20664D76Cc421207669b55CE4BC0
- name: CLFactory
address:
- 0x04625B046C69577EfC40e6c0Bb83CDBAfab5a55F
- name: Pool
address:
- name: SuperchainLeafVoter
address:
- 0x97cDBCe21B6fd0585d29E539B1B99dAd328a1123
- name: VotingReward
address:
- name: CLPool
address: