Skip to content

Commit 7c8e2bc

Browse files
authored
Merge pull request #68 from balancer/sonic-manifest-fix
fix reclamm template
2 parents 5b6c8bd + 54d45a4 commit 7c8e2bc

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

subgraphs/v3-pools/subgraph.sonic.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,3 +186,26 @@ dataSources:
186186
- event: PoolCreated(indexed address)
187187
handler: handleQuantAMMWeightedPoolCreated
188188
file: ./src/mappings/quantamm.ts
189+
- kind: ethereum
190+
name: ReClammPoolV2Factory
191+
network: sonic
192+
source:
193+
abi: BasePoolFactory
194+
address: "0x99c13B259138a8ad8badbBfB87A4074591310De0"
195+
startBlock: 38897147
196+
mapping:
197+
kind: ethereum/events
198+
apiVersion: 0.0.7
199+
language: wasm/assemblyscript
200+
entities:
201+
- Factory
202+
- Pool
203+
abis:
204+
- name: ReClammPool
205+
file: ./abis/ReClammPool.json
206+
- name: BasePoolFactory
207+
file: ./abis/BasePoolFactory.json
208+
eventHandlers:
209+
- event: PoolCreated(indexed address)
210+
handler: handleReClammPoolV2Created
211+
file: ./src/mappings/reclamm.ts

subgraphs/v3-pools/template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ dataSources:
277277
handler: handleReClammPoolV2Created
278278
file: ./src/mappings/reclamm.ts
279279
{{/if}}
280-
{{#if ReClammPoolFactory}}
280+
{{#if ReClammPoolV2Factory}}
281281
templates:
282282
- kind: ethereum/contract
283283
name: ReClammPool

0 commit comments

Comments
 (0)