Skip to content

Commit da6ac23

Browse files
authored
feat: add borrow gho Ethena incentive (#2370)
1 parent 4f4fe06 commit da6ac23

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/components/incentives/GhoIncentivesCard.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { AaveV3Ethereum } from '@bgd-labs/aave-address-book';
12
import { Trans } from '@lingui/macro';
23
import { Box, Tooltip, Typography, TypographyProps } from '@mui/material';
34
import { useAppDataContext } from 'src/hooks/app-data-provider/useAppDataProvider';
@@ -8,6 +9,7 @@ import { FormattedNumber } from '../primitives/FormattedNumber';
89
import { Link } from '../primitives/Link';
910
import { NoData } from '../primitives/NoData';
1011
import { TokenIcon } from '../primitives/TokenIcon';
12+
import { EthenaIncentivesButton } from './IncentivesButton';
1113

1214
export interface GhoIncentivesCardProps {
1315
value: string | number;
@@ -131,6 +133,7 @@ export const GhoIncentivesCard = ({
131133
) : (
132134
<NoData variant="secondary14" color="text.secondary" />
133135
)}
136+
<EthenaIncentivesButton rewardedAsset={AaveV3Ethereum.ASSETS.GHO.V_TOKEN} />
134137
</Box>
135138
);
136139
};

src/hooks/useEthenaIncentives.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ const ETHENA_DATA_MAP: Map<string, number> = new Map([
77
[AaveV3Ethereum.ASSETS.USDe.A_TOKEN, 25],
88
[AaveV3Ethereum.ASSETS.sUSDe.A_TOKEN, 5],
99
[AaveV3EthereumLido.ASSETS.sUSDe.A_TOKEN, 5],
10+
[AaveV3Ethereum.ASSETS.GHO.V_TOKEN, 5],
11+
[AaveV3EthereumLido.ASSETS.GHO.V_TOKEN, 5],
1012
]);
1113

1214
export const useEthenaIncentives = (rewardedAsset?: string) => {

0 commit comments

Comments
 (0)