-
Notifications
You must be signed in to change notification settings - Fork 4
/
config.yaml
167 lines (167 loc) · 7.27 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
# 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: 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)
networks:
- id: 34443 # Mode
start_block: 0
contracts:
- name: NFPM
address:
- 0xB258df2cf2EAd9254Ca31FFa51F456174Ea7a832
- name: PoolFactory
address:
- 0x31832f2a97Fd20664D76Cc421207669b55CE4BC0
- name: CLFactory
address:
- 0x04625B046C69577EfC40e6c0Bb83CDBAfab5a55F
- name: Pool
address:
- name: SuperchainLeafVoter
address:
- 0x97cDBCe21B6fd0585d29E539B1B99dAd328a1123
- name: VotingReward
address:
- name: CLPool
address:
- id: 10 # Optimism
start_block: 0
contracts:
- 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:
- id: 8453 # Base
start_block: 0
contracts:
- 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:
- 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: