Skip to content

Commit 7e1fd66

Browse files
committed
curve: fix base tvl
1 parent e89f353 commit 7e1fd66

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

projects/curve/index.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,12 @@ const blacklistedPools = {
5353
'0xc528b0571D0BE4153AEb8DdB8cCeEE63C3Dd7760',
5454
'0x8272E1A3dBef607C04AA6e5BD3a1A134c8ac063B'
5555
],
56+
base: [ ]
57+
}
58+
59+
const globalBlacklistedTokens = {
5660
base: [
57-
'0x302A94E3C28c290EAF2a4605FC52e11Eb915f378', // superOETH
61+
'0xdbfefd2e8460a6ee4955a68582f85708baea60a3', // superOETHb
5862
]
5963
}
6064

@@ -197,7 +201,7 @@ async function unwrapPools({ poolList, registry, chain, block }) {
197201
let calls = aggregateBalanceCalls({ coins, nCoins, wrapped });
198202
const allTokens = getUniqueAddresses(calls.map(i => i[0]))
199203
const tokenNames = await getNames(chain, allTokens)
200-
const blacklistedTokens = [...blacklist, ...(Object.values(metapoolBases))]
204+
const blacklistedTokens = [...blacklist, ...(Object.values(metapoolBases)), ...(globalBlacklistedTokens[chain] ?? [])]
201205
Object.entries(tokenNames).forEach(([token, name]) => {
202206
if ((name ?? '').startsWith('Curve.fi ')) {
203207
sdk.log(chain, 'blacklisting', name)

0 commit comments

Comments
 (0)