Skip to content

Commit c52acc8

Browse files
authored
feat: add aUSDe address to whitelist (#2961)
1 parent 62c88e2 commit c52acc8

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎src/hooks/useMerklIncentives.ts‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,10 @@ type WhitelistApiResponse = {
146146
const MERKL_ENDPOINT =
147147
'https://api.merkl.xyz/v4/opportunities?mainProtocolId=aave&items=100&status=LIVE'; // Merkl API
148148
const WHITELIST_ENDPOINT = 'https://apps.aavechan.com/api/aave/merkl/whitelist-token-list'; // Endpoint to fetch whitelisted tokens
149-
const EXTRA_WHITELIST_TOKENS = ['0xE3190143Eb552456F88464662f0c0C4aC67A77eB'.toLowerCase()];
149+
const EXTRA_WHITELIST_TOKENS = [
150+
'0xE3190143Eb552456F88464662f0c0C4aC67A77eB'.toLowerCase(),
151+
'0x78f2cB75D664d6f71433174056c25A5958B4016F'.toLowerCase(),
152+
]; // Extra tokens to whitelist
150153
const AAVE_NET_APR_DISTRIBUTION_TYPE = 'AAVE_NET_APR';
151154
const convertApyToApr = (apy: number) => 12 * ((1 + apy) ** (1 / 12) - 1);
152155

@@ -291,7 +294,6 @@ export const useMerklIncentives = ({
291294
}, 0);
292295

293296
const merklIncentivesAPY = convertAprToApy(totalMerklAPR);
294-
console.log('Total Merkl APR:', totalMerklAPR, '=> APY:', merklIncentivesAPY);
295297
const aprsBreakdowns = whitelistedOpportunities.flatMap((opp) => opp.aprRecord.breakdowns);
296298
const breakdownTokens = whitelistedOpportunities.flatMap((opp) => {
297299
return opp.rewardsRecord.breakdowns;

0 commit comments

Comments
 (0)