Skip to content

Commit 65002e0

Browse files
committed
update saga univ3
1 parent 2833336 commit 65002e0

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

projects/uniswap/index.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,16 @@ const okuGraphMap = {
106106
nibiru: 'https://omni.v2.icarus.tools/nibiru', // nibiru: { factory: "0x346239972d1fa486FC4a521031BC81bFB7D6e8a4", fromBlock: 23658062 },
107107
saga: 'https://omni.v2.icarus.tools/saga',
108108
sei: 'https://omni.v2.icarus.tools/sei',
109+
saga: 'https://omni.v2.icarus.tools/saga',
109110
// lightlink_phoenix: 'https://omni.v2.icarus.tools/lightlink',
110111
}
111112

112113
Object.keys(okuGraphMap).forEach(chain => {
113-
if (chain === 'saga') return { tvl: () => ({ }) }
114+
let blacklistedTokens = []
115+
if (chain === 'saga') {
116+
blacklistedTokens = ['0xa19377761fed745723b90993988e04d641c2cffe']
117+
}
118+
// if (chain === 'saga') return { tvl: () => ({ }) }
114119
module.exports[chain] = {
115120
tvl: async (api) => {
116121
const ownerTokens = await getConfig('oku-trade/' + chain, undefined, {
@@ -135,7 +140,7 @@ Object.keys(okuGraphMap).forEach(chain => {
135140
return ownerTokens
136141
}
137142
})
138-
return api.sumTokens({ ownerTokens })
143+
return api.sumTokens({ ownerTokens, blacklistedTokens })
139144
}
140145
}
141146
})

0 commit comments

Comments
 (0)