diff --git a/src/components/incentives/IncentivesTooltipContent.tsx b/src/components/incentives/IncentivesTooltipContent.tsx index f5f0c0cd70..4492d7162c 100644 --- a/src/components/incentives/IncentivesTooltipContent.tsx +++ b/src/components/incentives/IncentivesTooltipContent.tsx @@ -78,6 +78,11 @@ const IncentivesSymbolMap: { symbol: 'aweETH', aToken: true, }, + aCelCELO: { + tokenIconSymbol: 'CELO', + symbol: 'aCELO', + aToken: true, + }, }; interface IncentivesTooltipContentProps { diff --git a/src/hooks/useMeritIncentives.ts b/src/hooks/useMeritIncentives.ts index e20c128323..d9bd8f7275 100644 --- a/src/hooks/useMeritIncentives.ts +++ b/src/hooks/useMeritIncentives.ts @@ -4,6 +4,7 @@ import { AaveV3Arbitrum, AaveV3Avalanche, AaveV3Base, + AaveV3Celo, AaveV3Ethereum, AaveV3EthereumLido, AaveV3Sonic, @@ -35,6 +36,14 @@ export enum MeritAction { AVALANCHE_SUPPLY_SAVAX = 'avalanche-supply-savax', AVALANCHE_SUPPLY_AUSD = 'avalanche-supply-ausd', SONIC_SUPPLY_USDCE = 'sonic-supply-usdce', + CELO_SUPPLY_CELO = 'celo-supply-celo', + CELO_SUPPLY_USDT = 'celo-supply-usdt', + CELO_SUPPLY_USDC = 'celo-supply-usdc', + CELO_SUPPLY_WETH = 'celo-supply-weth', + CELO_BORROW_CELO = 'celo-borrow-celo', + CELO_BORROW_USDT = 'celo-borrow-usdt', + CELO_BORROW_USDC = 'celo-borrow-usdc', + CELO_BORROW_WETH = 'celo-borrow-weth', } type MeritIncentives = { @@ -67,7 +76,6 @@ const antiLoopMessage = const antiLoopBorrowMessage = 'Supplying of some assets may impact the amount of rewards you are eligible for. Please check the forum post for the full eligibility criteria.'; - const joinedEthCorrelatedIncentiveForumLink = 'https://governance.aave.com/t/arfc-set-aci-as-emission-manager-for-liquidity-mining-programs/17898/56'; @@ -332,6 +340,72 @@ const MERIT_DATA_MAP: Record }, ], }, + [CustomMarket.proto_celo_v3]: { + CELO: [ + { + action: MeritAction.CELO_SUPPLY_CELO, + rewardTokenAddress: AaveV3Celo.ASSETS.CELO.A_TOKEN, + rewardTokenSymbol: 'aCelCELO', + protocolAction: ProtocolAction.supply, + customMessage: antiLoopMessage, + }, + { + action: MeritAction.CELO_BORROW_CELO, + rewardTokenAddress: AaveV3Celo.ASSETS.CELO.A_TOKEN, + rewardTokenSymbol: 'aCelCELO', + protocolAction: ProtocolAction.borrow, + customMessage: antiLoopBorrowMessage, + }, + ], + ['USDâ‚®']: [ + { + action: MeritAction.CELO_SUPPLY_USDT, + rewardTokenAddress: AaveV3Celo.ASSETS.CELO.A_TOKEN, + rewardTokenSymbol: 'aCelCELO', + protocolAction: ProtocolAction.supply, + customMessage: antiLoopMessage, + }, + { + action: MeritAction.CELO_BORROW_USDT, + rewardTokenAddress: AaveV3Celo.ASSETS.CELO.A_TOKEN, + rewardTokenSymbol: 'aCelCELO', + protocolAction: ProtocolAction.borrow, + customMessage: antiLoopBorrowMessage, + }, + ], + USDC: [ + { + action: MeritAction.CELO_SUPPLY_USDC, + rewardTokenAddress: AaveV3Celo.ASSETS.CELO.A_TOKEN, + rewardTokenSymbol: 'aCelCELO', + protocolAction: ProtocolAction.supply, + customMessage: antiLoopMessage, + }, + { + action: MeritAction.CELO_BORROW_USDC, + rewardTokenAddress: AaveV3Celo.ASSETS.CELO.A_TOKEN, + rewardTokenSymbol: 'aCelCELO', + protocolAction: ProtocolAction.borrow, + customMessage: antiLoopBorrowMessage, + }, + ], + WETH: [ + { + action: MeritAction.CELO_SUPPLY_WETH, + rewardTokenAddress: AaveV3Celo.ASSETS.CELO.A_TOKEN, + rewardTokenSymbol: 'aCelCELO', + protocolAction: ProtocolAction.supply, + customMessage: antiLoopMessage, + }, + { + action: MeritAction.CELO_BORROW_WETH, + rewardTokenAddress: AaveV3Celo.ASSETS.CELO.A_TOKEN, + rewardTokenSymbol: 'aCelCELO', + protocolAction: ProtocolAction.borrow, + customMessage: antiLoopBorrowMessage, + }, + ], + }, }; export const useMeritIncentives = ({