Skip to content

Commit 1f0b8d5

Browse files
authored
feat: add Linea weETH wrapper for incentive (#2600)
1 parent 0cd3d47 commit 1f0b8d5

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/components/incentives/IncentivesTooltipContent.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,11 @@ const IncentivesSymbolMap: {
126126
symbol: 'aUSDtb',
127127
aToken: true,
128128
},
129+
aLinweETH: {
130+
tokenIconSymbol: 'weETH',
131+
symbol: 'aweETH',
132+
aToken: true,
133+
},
129134
aSonstS: {
130135
tokenIconSymbol: 'stS',
131136
symbol: 'astS',

src/hooks/useMerklIncentives.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,12 +161,13 @@ const getUnderlyingAndAToken = (assets: {
161161
const otherTokensWhitelisted = [
162162
'0x04eadd7b10ea9a484c60860aea7a7c0aec09b9f0', // aUSDtb wrapper contract
163163
'0x3a4de44b29995a3d8cd02d46243e1563e55bcc8b', // Aave Ethereum USDe (wrapped)
164+
'0xdcc1bcc6ecd1e63cba178c289bc1da9f757a2ef4', // Aave Line weETH (wrapper)
164165
];
165166

166167
const whitelistedRewardTokens = [
167168
...allAaveAssets.flatMap((assets) => getUnderlyingAndAToken(assets)),
168169
...otherTokensWhitelisted,
169-
];
170+
].map((address) => address.toLowerCase());
170171

171172
const MERKL_ENDPOINT = 'https://api.merkl.xyz/v4/opportunities?mainProtocolId=aave'; // Merkl API
172173

0 commit comments

Comments
 (0)