Skip to content

Commit c1aee8d

Browse files
NandyBaMartinGbz
andauthored
feat: Add eurc Base Merit campaigns [skip cypress] (#2413)
Co-authored-by: MartinGbz <[email protected]>
1 parent 911ca50 commit c1aee8d

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

src/components/incentives/IncentivesTooltipContent.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@ const IncentivesSymbolMap: {
6363
symbol: 'awstETH',
6464
aToken: true,
6565
},
66+
aBasEURC: {
67+
tokenIconSymbol: 'EURC',
68+
symbol: 'aEURC',
69+
aToken: true,
70+
},
6671
aAvaSAVAX: {
6772
tokenIconSymbol: 'sAVAX',
6873
symbol: 'asAVAX',

src/hooks/useMeritIncentives.ts

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ export enum MeritAction {
2727
BASE_SUPPLY_WSTETH = 'base-supply-wsteth',
2828
BASE_SUPPLY_WEETH = 'base-supply-weeth',
2929
BASE_SUPPLY_EZETH = 'base-supply-ezeth',
30+
BASE_SUPPLY_EURC = 'base-supply-eurc',
31+
BASE_BORROW_EURC = 'base-borrow-eurc',
3032
BASE_BORROW_USDC = 'base-borrow-usdc',
3133
BASE_BORROW_WSTETH = 'base-borrow-wsteth',
3234
AVALANCHE_SUPPLY_BTCB = 'avalanche-supply-btcb',
@@ -67,13 +69,15 @@ const antiLoopMessage =
6769
const antiLoopBorrowMessage =
6870
'Supplying of some assets may impact the amount of rewards you are eligible for. Please check the forum post for the full eligibility criteria.';
6971

70-
7172
const joinedEthCorrelatedIncentiveForumLink =
7273
'https://governance.aave.com/t/arfc-set-aci-as-emission-manager-for-liquidity-mining-programs/17898/56';
7374

7475
const joinedEthCorrelatedIncentivePhase2ForumLink =
7576
'https://governance.aave.com/t/arfc-set-aci-as-emission-manager-for-liquidity-mining-programs/17898/70';
7677

78+
const eurcForumLink =
79+
'https://governance.aave.com/t/arfc-set-aci-as-emission-manager-for-liquidity-mining-programs/17898/77';
80+
7781
const MERIT_DATA_MAP: Record<string, Record<string, MeritReserveIncentiveData[]>> = {
7882
[CustomMarket.proto_mainnet_v3]: {
7983
GHO: [
@@ -276,6 +280,24 @@ const MERIT_DATA_MAP: Record<string, Record<string, MeritReserveIncentiveData[]>
276280
customForumLink: joinedEthCorrelatedIncentivePhase2ForumLink,
277281
},
278282
],
283+
EURC: [
284+
{
285+
action: MeritAction.BASE_SUPPLY_EURC,
286+
rewardTokenAddress: AaveV3Base.ASSETS.EURC.A_TOKEN,
287+
rewardTokenSymbol: 'aBasEURC',
288+
protocolAction: ProtocolAction.supply,
289+
customMessage: antiLoopMessage,
290+
customForumLink: eurcForumLink,
291+
},
292+
{
293+
action: MeritAction.BASE_BORROW_EURC,
294+
rewardTokenAddress: AaveV3Base.ASSETS.EURC.A_TOKEN,
295+
rewardTokenSymbol: 'aBasEURC',
296+
protocolAction: ProtocolAction.borrow,
297+
customMessage: antiLoopBorrowMessage,
298+
customForumLink: eurcForumLink,
299+
},
300+
],
279301
},
280302
[CustomMarket.proto_avalanche_v3]: {
281303
['BTC.b']: [

0 commit comments

Comments
 (0)