diff --git a/src/components/incentives/IncentivesTooltipContent.tsx b/src/components/incentives/IncentivesTooltipContent.tsx index 6d911b8159..3f7535bb02 100644 --- a/src/components/incentives/IncentivesTooltipContent.tsx +++ b/src/components/incentives/IncentivesTooltipContent.tsx @@ -93,6 +93,11 @@ const IncentivesSymbolMap: { symbol: 'aweETH', aToken: true, }, + aCelCELO: { + tokenIconSymbol: 'CELO', + symbol: 'aCELO', + aToken: true, + }, aGnoEURe: { tokenIconSymbol: 'EURe', symbol: 'aEURe', diff --git a/src/hooks/useMeritIncentives.ts b/src/hooks/useMeritIncentives.ts index ae7a80e9b5..ce5490935d 100644 --- a/src/hooks/useMeritIncentives.ts +++ b/src/hooks/useMeritIncentives.ts @@ -4,6 +4,7 @@ import { AaveV3Arbitrum, AaveV3Avalanche, AaveV3Base, + AaveV3Celo, AaveV3Ethereum, AaveV3EthereumLido, AaveV3Gnosis, @@ -42,6 +43,14 @@ export enum MeritAction { AVALANCHE_SUPPLY_AUSD = 'avalanche-supply-ausd', SONIC_SUPPLY_USDCE = 'sonic-supply-usdce', GNOSIS_BORROW_EURE = 'gnosis-borrow-eure', + 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 = { @@ -434,6 +443,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 = ({