diff --git a/src/components/incentives/IncentivesTooltipContent.tsx b/src/components/incentives/IncentivesTooltipContent.tsx index ce77fc87e5..04032b827d 100644 --- a/src/components/incentives/IncentivesTooltipContent.tsx +++ b/src/components/incentives/IncentivesTooltipContent.tsx @@ -43,6 +43,11 @@ const IncentivesSymbolMap: { symbol: 'aUSDT', aToken: true, }, + aAvaSAVAX: { + tokenIconSymbol: 'sAVAX', + symbol: 'asAVAX', + aToken: true, + }, }; interface IncentivesTooltipContentProps { diff --git a/src/hooks/useMeritIncentives.ts b/src/hooks/useMeritIncentives.ts index 68e77297d7..2c50d45cc8 100644 --- a/src/hooks/useMeritIncentives.ts +++ b/src/hooks/useMeritIncentives.ts @@ -1,6 +1,6 @@ import { ProtocolAction } from '@aave/contract-helpers'; import { ReserveIncentiveResponse } from '@aave/math-utils/dist/esm/formatters/incentive/calculate-reserve-incentives'; -import { AaveV3Base, AaveV3Ethereum } from '@bgd-labs/aave-address-book'; +import { AaveV3Avalanche, AaveV3Base, AaveV3Ethereum } from '@bgd-labs/aave-address-book'; import { useQuery } from '@tanstack/react-query'; import { CustomMarket } from 'src/ui-config/marketsConfig'; @@ -11,6 +11,10 @@ export enum MeritAction { BASE_SUPPLY_CBBTC = 'base-supply-cbbtc', BASE_SUPPLY_USDC = 'base-supply-usdc', BASE_BORROW_USDC = 'base-borrow-usdc', + AVALANCHE_SUPPLY_BTCB = 'avalanche-supply-btcb', + AVALANCHE_SUPPLY_USDC = 'avalanche-supply-usdc', + AVALANCHE_SUPPLY_USDT = 'avalanche-supply-usdt', + AVALANCHE_SUPPLY_SAVAX = 'avalanche-supply-savax', } type MeritIncentives = { @@ -105,6 +109,40 @@ const MERIT_DATA_MAP: Record }, ], }, + [CustomMarket.proto_avalanche_v3]: { + ['BTC.b']: [ + { + action: MeritAction.AVALANCHE_SUPPLY_BTCB, + rewardTokenAddress: AaveV3Avalanche.ASSETS.BTCb.A_TOKEN, + rewardTokenSymbol: 'aAvaSAVAX', + protocolAction: ProtocolAction.supply, + }, + ], + USDC: [ + { + action: MeritAction.AVALANCHE_SUPPLY_USDC, + rewardTokenAddress: AaveV3Avalanche.ASSETS.USDC.A_TOKEN, + rewardTokenSymbol: 'aAvaSAVAX', + protocolAction: ProtocolAction.supply, + }, + ], + USDt: [ + { + action: MeritAction.AVALANCHE_SUPPLY_USDT, + rewardTokenAddress: AaveV3Avalanche.ASSETS.USDt.A_TOKEN, + rewardTokenSymbol: 'aAvaSAVAX', + protocolAction: ProtocolAction.supply, + }, + ], + sAVAX: [ + { + action: MeritAction.AVALANCHE_SUPPLY_SAVAX, + rewardTokenAddress: AaveV3Avalanche.ASSETS.sAVAX.A_TOKEN, + rewardTokenSymbol: 'aAvaSAVAX', + protocolAction: ProtocolAction.supply, + }, + ], + }, }; export const useMeritIncentives = ({