Skip to content

Commit 29309ac

Browse files
authored
Revert "feat: add pyusd Merit campaign (#2265)"
This reverts commit e14f31b.
1 parent b4d46e1 commit 29309ac

File tree

5 files changed

+5
-30
lines changed

5 files changed

+5
-30
lines changed

src/components/incentives/IncentivesTooltipContent.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,6 @@ const IncentivesSymbolMap: {
4343
symbol: 'aUSDT',
4444
aToken: true,
4545
},
46-
aEthPYUSD: {
47-
tokenIconSymbol: 'PYUSD',
48-
symbol: 'aPYUSD',
49-
aToken: true,
50-
},
5146
};
5247

5348
interface IncentivesTooltipContentProps {

src/components/incentives/MeritIncentivesTooltipContent.tsx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export const MeritIncentivesTooltipContent = ({
2727
}}
2828
>
2929
<Typography variant="caption" color="text.primary" mb={3}>
30-
<Trans>Eligible for the Merit program.</Trans>
30+
<Trans>Eligible for the merit program.</Trans>
3131
</Typography>
3232

3333
<Typography variant="caption" color="text.secondary" mb={3}>
@@ -36,11 +36,7 @@ export const MeritIncentivesTooltipContent = ({
3636
does not guarantee the program and accepts no liability.
3737
</Trans>{' '}
3838
<Link
39-
href={
40-
meritIncentives.customForumLink
41-
? meritIncentives.customForumLink
42-
: 'https://governance.aave.com/t/arfc-merit-a-new-aave-alignment-user-reward-system/16646'
43-
}
39+
href="https://governance.aave.com/t/arfc-merit-a-new-aave-alignment-user-reward-system/16646"
4440
sx={{ textDecoration: 'underline' }}
4541
variant="caption"
4642
color="text.secondary"

src/hooks/useMeritIncentives.ts

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import { CustomMarket } from 'src/ui-config/marketsConfig';
66

77
export enum MeritAction {
88
ETHEREUM_STKGHO = 'ethereum-stkgho',
9-
ETHEREUM_SUPPLY_PYUSD = 'ethereum-supply-pyusd',
109
SUPPLY_CBBTC_BORROW_USDC = 'ethereum-supply-cbbtc-borrow-usdc',
1110
SUPPLY_WBTC_BORROW_USDT = 'ethereum-supply-wbtc-borrow-usdt',
1211
BASE_SUPPLY_CBBTC = 'base-supply-cbbtc',
@@ -23,7 +22,6 @@ type MeritIncentives = {
2322

2423
export type ExtendedReserveIncentiveResponse = ReserveIncentiveResponse & {
2524
customMessage: string;
26-
customForumLink: string;
2725
};
2826

2927
const url = 'https://apps.aavechan.com/api/merit/aprs';
@@ -32,7 +30,6 @@ export type MeritReserveIncentiveData = Omit<ReserveIncentiveResponse, 'incentiv
3230
action: MeritAction;
3331
protocolAction?: ProtocolAction;
3432
customMessage?: string;
35-
customForumLink?: string;
3633
};
3734

3835
const getMeritData = (market: string, symbol: string): MeritReserveIncentiveData[] | undefined =>
@@ -83,18 +80,6 @@ const MERIT_DATA_MAP: Record<string, Record<string, MeritReserveIncentiveData[]>
8380
customMessage: 'You must supply wBTC and borrow USDT in order to receive merit rewards.',
8481
},
8582
],
86-
PYUSD: [
87-
{
88-
action: MeritAction.ETHEREUM_SUPPLY_PYUSD,
89-
rewardTokenAddress: AaveV3Ethereum.ASSETS.PYUSD.A_TOKEN,
90-
rewardTokenSymbol: 'aEthPYUSD',
91-
protocolAction: ProtocolAction.supply,
92-
customForumLink:
93-
'https://governance.aave.com/t/arfc-pyusd-reserve-configuration-update-incentive-campaign/19573',
94-
customMessage:
95-
'Borrowing of some assets may impact the amount of rewards you are eligible for. Please check the forum post for the full eligibility criteria.'
96-
},
97-
],
9883
},
9984
[CustomMarket.proto_base_v3]: {
10085
cbBTC: [
@@ -161,7 +146,6 @@ export const useMeritIncentives = ({
161146
rewardTokenAddress: incentive.rewardTokenAddress,
162147
rewardTokenSymbol: incentive.rewardTokenSymbol,
163148
customMessage: incentive.customMessage,
164-
customForumLink: incentive.customForumLink,
165149
} as ExtendedReserveIncentiveResponse;
166150
},
167151
});

src/locales/en/messages.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/locales/en/messages.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1001,8 +1001,8 @@ msgid "Efficiency mode (E-Mode)"
10011001
msgstr "Efficiency mode (E-Mode)"
10021002

10031003
#: src/components/incentives/MeritIncentivesTooltipContent.tsx
1004-
msgid "Eligible for the Merit program."
1005-
msgstr "Eligible for the Merit program."
1004+
msgid "Eligible for the merit program."
1005+
msgstr "Eligible for the merit program."
10061006

10071007
#: src/layouts/FeedbackDialog.tsx
10081008
msgid "Email"

0 commit comments

Comments
 (0)