Skip to content

Commit

Permalink
feat: add borrow gho Ethena incentive (#2370)
Browse files Browse the repository at this point in the history
  • Loading branch information
NandyBa authored Feb 20, 2025
1 parent 4f4fe06 commit da6ac23
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/incentives/GhoIncentivesCard.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { AaveV3Ethereum } from '@bgd-labs/aave-address-book';
import { Trans } from '@lingui/macro';
import { Box, Tooltip, Typography, TypographyProps } from '@mui/material';
import { useAppDataContext } from 'src/hooks/app-data-provider/useAppDataProvider';
Expand All @@ -8,6 +9,7 @@ import { FormattedNumber } from '../primitives/FormattedNumber';
import { Link } from '../primitives/Link';
import { NoData } from '../primitives/NoData';
import { TokenIcon } from '../primitives/TokenIcon';
import { EthenaIncentivesButton } from './IncentivesButton';

export interface GhoIncentivesCardProps {
value: string | number;
Expand Down Expand Up @@ -131,6 +133,7 @@ export const GhoIncentivesCard = ({
) : (
<NoData variant="secondary14" color="text.secondary" />
)}
<EthenaIncentivesButton rewardedAsset={AaveV3Ethereum.ASSETS.GHO.V_TOKEN} />
</Box>
);
};
2 changes: 2 additions & 0 deletions src/hooks/useEthenaIncentives.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ const ETHENA_DATA_MAP: Map<string, number> = new Map([
[AaveV3Ethereum.ASSETS.USDe.A_TOKEN, 25],
[AaveV3Ethereum.ASSETS.sUSDe.A_TOKEN, 5],
[AaveV3EthereumLido.ASSETS.sUSDe.A_TOKEN, 5],
[AaveV3Ethereum.ASSETS.GHO.V_TOKEN, 5],
[AaveV3EthereumLido.ASSETS.GHO.V_TOKEN, 5],
]);

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

1 comment on commit da6ac23

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit was deployed on ipfs

Please sign in to comment.