Skip to content

Commit ec68991

Browse files
authored
feat: add Masiv Avalanche borrow USDC campaign (#2591)
1 parent 05df57b commit ec68991

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

src/hooks/useMeritIncentives.ts

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ export enum MeritAction {
5050
AVALANCHE_SUPPLY_SAVAX = 'avalanche-supply-savax',
5151
AVALANCHE_SUPPLY_AUSD = 'avalanche-supply-ausd',
5252
AVALANCHE_SUPPLY_GHO = 'avalanche-supply-gho',
53+
AVALANCHE_BORROW_USDC = 'avalanche-borrow-usdc',
5354
SONIC_SUPPLY_USDCE = 'sonic-supply-usdce',
5455
SONIC_SUPPLY_STS_BORROW_WS = 'sonic-supply-sts-borrow-ws',
5556
GNOSIS_BORROW_EURE = 'gnosis-borrow-eure',
@@ -143,7 +144,7 @@ const eurcForumLink =
143144
const AusdRenewalForumLink =
144145
'https://governance.aave.com/t/arfc-set-aci-as-emission-manager-for-liquidity-mining-programs/17898/88';
145146
const AvalancheRenewalForumLink =
146-
'https://governance.aave.com/t/arfc-set-aci-as-emission-manager-for-liquidity-mining-programs/17898/89';
147+
'https://governance.aave.com/t/arfc-set-aci-as-emission-manager-for-liquidity-mining-programs/17898/146';
147148

148149
const lbtcCbbtcForumLink =
149150
'https://governance.aave.com/t/arfc-set-aci-as-emission-manager-for-liquidity-mining-programs/17898/91';
@@ -490,7 +491,7 @@ export const MERIT_DATA_MAP: Record<string, Record<string, MeritReserveIncentive
490491
['BTC.b']: [
491492
{
492493
action: MeritAction.AVALANCHE_SUPPLY_BTCB,
493-
rewardTokenAddress: AaveV3Avalanche.ASSETS.BTCb.A_TOKEN,
494+
rewardTokenAddress: AaveV3Avalanche.ASSETS.sAVAX.A_TOKEN,
494495
rewardTokenSymbol: 'aAvaSAVAX',
495496
protocolAction: ProtocolAction.supply,
496497
customMessage: antiLoopMessage,
@@ -500,17 +501,25 @@ export const MERIT_DATA_MAP: Record<string, Record<string, MeritReserveIncentive
500501
USDC: [
501502
{
502503
action: MeritAction.AVALANCHE_SUPPLY_USDC,
503-
rewardTokenAddress: AaveV3Avalanche.ASSETS.USDC.A_TOKEN,
504+
rewardTokenAddress: AaveV3Avalanche.ASSETS.sAVAX.A_TOKEN,
504505
rewardTokenSymbol: 'aAvaSAVAX',
505506
protocolAction: ProtocolAction.supply,
506507
customMessage: antiLoopMessage,
507508
customForumLink: AvalancheRenewalForumLink,
508509
},
510+
{
511+
action: MeritAction.AVALANCHE_BORROW_USDC,
512+
rewardTokenAddress: AaveV3Avalanche.ASSETS.sAVAX.A_TOKEN,
513+
rewardTokenSymbol: 'aAvaSAVAX',
514+
protocolAction: ProtocolAction.borrow,
515+
customMessage: antiLoopBorrowMessage,
516+
customForumLink: AvalancheRenewalForumLink,
517+
},
509518
],
510519
USDt: [
511520
{
512521
action: MeritAction.AVALANCHE_SUPPLY_USDT,
513-
rewardTokenAddress: AaveV3Avalanche.ASSETS.USDt.A_TOKEN,
522+
rewardTokenAddress: AaveV3Avalanche.ASSETS.sAVAX.A_TOKEN,
514523
rewardTokenSymbol: 'aAvaSAVAX',
515524
protocolAction: ProtocolAction.supply,
516525
customMessage: antiLoopMessage,
@@ -530,7 +539,7 @@ export const MERIT_DATA_MAP: Record<string, Record<string, MeritReserveIncentive
530539
AUSD: [
531540
{
532541
action: MeritAction.AVALANCHE_SUPPLY_AUSD,
533-
rewardTokenAddress: AaveV3Avalanche.ASSETS.AUSD.A_TOKEN,
542+
rewardTokenAddress: AaveV3Avalanche.ASSETS.sAVAX.A_TOKEN,
534543
rewardTokenSymbol: 'aAvaSAVAX',
535544
protocolAction: ProtocolAction.supply,
536545
customMessage: antiLoopMessage,
@@ -540,7 +549,7 @@ export const MERIT_DATA_MAP: Record<string, Record<string, MeritReserveIncentive
540549
GHO: [
541550
{
542551
action: MeritAction.AVALANCHE_SUPPLY_GHO,
543-
rewardTokenAddress: AaveV3Avalanche.ASSETS.GHO.A_TOKEN,
552+
rewardTokenAddress: AaveV3Avalanche.ASSETS.sAVAX.A_TOKEN,
544553
rewardTokenSymbol: 'aAvaSAVAX',
545554
protocolAction: ProtocolAction.supply,
546555
customMessage: antiLoopMessage,

0 commit comments

Comments
 (0)