@@ -27,16 +27,14 @@ dataSources:
2727 file : ./abis/TreasuryV2.json
2828 - name : PoolManager
2929 file : ./abis/PoolManager.json
30- - name : ERC20
31- file : ./abis/ERC20.json
3230 - name : Pool
3331 file : ./abis/Pool.json
3432
3533 # ##########################################
3634 # ############# Price Oracle ###############
3735 # ##########################################
3836 # ERC20
39- - name : _ERC20
37+ - name : ERC20
4038 file : ./abis/Prices/ERC20.json
4139 # Curve Contracts
4240 - name : CurvePool
@@ -67,8 +65,6 @@ dataSources:
6765 eventHandlers :
6866 - event : Harvest(indexed address,indexed address,uint256,uint256,uint256,uint256)
6967 handler : handleHarvest
70- - event : RegisterPool(indexed address)
71- handler : handleRegisterPool
7268 file : ./src/mappings/poolManagerMappings.ts
7369
7470{{#treasuryContracts}}
@@ -90,16 +86,14 @@ dataSources:
9086 file : ./abis/TreasuryV2.json
9187 - name : PoolManager
9288 file : ./abis/PoolManager.json
93- - name : ERC20
94- file : ./abis/ERC20.json
9589 - name : Pool
9690 file : ./abis/Pool.json
9791
9892 # ##########################################
9993 # ############# Price Oracle ###############
10094 # ##########################################
10195 # ERC20
102- - name : _ERC20
96+ - name : ERC20
10397 file : ./abis/Prices/ERC20.json
10498 # Curve Contracts
10599 - name : CurvePool
@@ -132,61 +126,3 @@ dataSources:
132126 handler : handleHarvest
133127 file : ./src/mappings/treasuryTokenMappings.ts
134128{{/treasuryContracts}}
135-
136- templates :
137- - kind : ethereum/contract
138- name : Pool
139- network : {{ network }}
140- source :
141- abi : Pool
142- mapping :
143- kind : ethereum/events
144- apiVersion : 0.0.7
145- language : wasm/assemblyscript
146- entities : []
147- abis :
148- - name : Pool
149- file : ./abis/Pool.json
150- - name : TreasuryV2
151- file : ./abis/TreasuryV2.json
152- - name : PoolManager
153- file : ./abis/PoolManager.json
154- - name : ERC20
155- file : ./abis/ERC20.json
156-
157- # ##########################################
158- # ############# Price Oracle ###############
159- # ##########################################
160- # ERC20
161- - name : _ERC20
162- file : ./abis/Prices/ERC20.json
163- # Curve Contracts
164- - name : CurvePool
165- file : ./abis/Prices/Curve/Pool.json
166- - name : CurveRegistry
167- file : ./abis/Prices/Curve/Registry.json
168- - name : CalculationsCurve
169- file : ./abis/Prices/Calculations/Curve.json
170- # YearnLens Contracts
171- - name : YearnLensContract
172- file : ./abis/Prices/YearnLens.json
173- # Aave Oracle Contract
174- - name : AaveOracleContract
175- file : ./abis/Prices/AaveOracle.json
176- # SushiSwap Contracts
177- - name : CalculationsSushiSwap
178- file : ./abis/Prices/Calculations/SushiSwap.json
179- # ChainLink Contracts
180- - name : ChainLinkContract
181- file : ./abis/Prices/ChainLink.json
182- # Uniswap Contracts
183- - name : UniswapRouter
184- file : ./abis/Prices/Uniswap/Router.json
185- - name : UniswapFactory
186- file : ./abis/Prices/Uniswap/Factory.json
187- - name : UniswapPair
188- file : ./abis/Prices/Uniswap/Pair.json
189- eventHandlers :
190- - event : PositionSnapshot(uint256,int16,uint256,uint256,uint256)
191- handler : handlePositionSnapshot
192- file : ./src/mappings/poolMappings.ts
0 commit comments