-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfig.yaml
281 lines (281 loc) · 10.6 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
# 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: 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
handler: src/EventHandlers/NFPM.ts
events:
- event: Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
- 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
handler: src/EventHandlers/Voter/Voter.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 bribeVotingReward, address feeVotingReward, address gauge, address creator)
- event: WhitelistToken(address indexed whitelister, address indexed token, bool indexed _bool)
- 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: Gauge
handler: src/EventHandlers/Gauge.ts
events:
- event: NotifyReward(address indexed from, uint256 amount)
- 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
networks:
- id: 10 # Optimism
start_block: 0
contracts:
- name: VeNFT
address:
- 0xFAf8FD17D9840595845582fCB047DF13f006787d
- name: NFPM
address:
- 0x416b433906b1b72fa758e166e239c43d68dc6f29
- name: PoolFactory
address:
- 0xF1046053aa5682b4F9a81b5481394DA16BE5FF5a
- name: SuperchainPoolFactory
address:
- 0x31832f2a97Fd20664D76Cc421207669b55CE4BC0
- name: CLFactory
address:
- 0xCc0bDDB707055e04e497aB22a59c2aF4391cd12F
- name: SuperchainCLFactory
address:
- 0x04625B046C69577EfC40e6c0Bb83CDBAfab5a55F
- name: Pool
address:
- name: Voter
address:
- 0x41C914ee0c7E1A5edCD0295623e6dC557B5aBf3C
- 0x09236cfF45047DBee6B921e00704bed6D6B8Cf7e
- name: VotingReward
address:
- name: CLPool
address:
- name: ALMDeployFactory
address:
- 0xE46EC96906fc6dEC53De25F013639969Fe10180d
- name: ALMCore
address:
- 0x0000000cE42D4981513060aB7E50B9e5e2D19AF1
- name: ALMLPWrapper
address:
- id: 8453 # Base
start_block: 0
contracts:
- name: VeNFT
address:
- 0xeBf418Fe2512e7E6bd9b87a8F0f294aCDC67e6B4
- name: NFPM
address:
- 0x827922686190790b37229fd06084350e74485b72
- 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:
- id: 1863 # Soneium
hypersync_config:
url: https://soneium.hypersync.xyz
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:
- id: 57073 # Ink
hypersync_config:
url: https://ink.hypersync.xyz
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:
- id: 34443 # Mode
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:
- id: 1135 # Lisk
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:
- id: 252 # Fraxtal
hypersync_config:
url: https://fraxtal.hypersync.xyz
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: