Skip to content

Commit 0f546fc

Browse files
committed
try this
1 parent 7804729 commit 0f546fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/v3/mappings/burn.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { BigInt } from '@graphprotocol/graph-ts'
1+
import { Address, BigInt } from '@graphprotocol/graph-ts'
22

33
import { Bundle, Burn, Factory, Pool, Tick, Token } from '../../../generated/schema'
44
import { Burn as BurnEvent } from '../../../generated/templates/Pool/Pool'
@@ -15,7 +15,7 @@ import {
1515
import { loadTransaction } from './utils'
1616

1717
export function handleBurn(event: BurnEvent): void {
18-
const factoryAddress = FACTORY_ADDRESS
18+
const factoryAddress = Address.fromString(FACTORY_ADDRESS)
1919

2020
const bundle = Bundle.load('1')!
2121
const pool = Pool.load(event.address)!

0 commit comments

Comments
 (0)