We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5169336 commit e667fe5Copy full SHA for e667fe5
aggregators/haiku/index.ts
@@ -45,7 +45,7 @@ const prefetch = async (options: FetchOptions): Promise<any> => {
45
AND (
46
tx."from" = tokenstf."from" OR tx."from" = tokenstf."to"
47
)
48
- WHERE log.contract_address = 0x24ac999ff132b32c5b3956973b6213b0d07eb2c7
+ WHERE log.contract_address = ${HaikuChainConfig[chain].id.toLowerCase()}
49
AND log.topic0 = 0x8b3a3eb535e3217f5718db4d1c134d3447f392bcb89955537208f4677860e213
50
AND log.block_date >= from_unixtime(${options.startTimestamp})
51
AND log.block_date < from_unixtime(${options.endTimestamp})
0 commit comments