Skip to content

Commit e667fe5

Browse files
use dynamic address in haiku query (#6271)
1 parent 5169336 commit e667fe5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aggregators/haiku/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const prefetch = async (options: FetchOptions): Promise<any> => {
4545
AND (
4646
tx."from" = tokenstf."from" OR tx."from" = tokenstf."to"
4747
)
48-
WHERE log.contract_address = 0x24ac999ff132b32c5b3956973b6213b0d07eb2c7
48+
WHERE log.contract_address = ${HaikuChainConfig[chain].id.toLowerCase()}
4949
AND log.topic0 = 0x8b3a3eb535e3217f5718db4d1c134d3447f392bcb89955537208f4677860e213
5050
AND log.block_date >= from_unixtime(${options.startTimestamp})
5151
AND log.block_date < from_unixtime(${options.endTimestamp})

0 commit comments

Comments
 (0)