diff --git a/apps/web/src/containers/App/AppLayoutRoute.tsx b/apps/web/src/containers/App/AppLayoutRoute.tsx
index 1158c8fe1..41f8e393a 100644
--- a/apps/web/src/containers/App/AppLayoutRoute.tsx
+++ b/apps/web/src/containers/App/AppLayoutRoute.tsx
@@ -3,7 +3,7 @@ import { ThemeProvider } from '@mui/material/styles';
import {
FeatureLoader,
Footer,
- CustomBanner,
+ // CustomBanner,
} from '@notional-finance/shared-web';
import {
Header,
@@ -58,7 +58,7 @@ const AppLayoutRoute = ({
)}
-
+ {/* */}
diff --git a/packages/features/portfolio/src/containers/portfolio-holdings/use-detailed-holdings.tsx b/packages/features/portfolio/src/containers/portfolio-holdings/use-detailed-holdings.tsx
index 2c1996fd8..51e73a51e 100644
--- a/packages/features/portfolio/src/containers/portfolio-holdings/use-detailed-holdings.tsx
+++ b/packages/features/portfolio/src/containers/portfolio-holdings/use-detailed-holdings.tsx
@@ -1,14 +1,13 @@
import { TokenBalance } from '@notional-finance/core-entities';
import {
- checkStarterBoostToken,
formatCryptoWithFiat,
formatNumberAsPercent,
formatNumberAsPercentWithUndefined,
formatTokenType,
getHoldingsSortOrder,
} from '@notional-finance/helpers';
-import { H4, LinkText } from '@notional-finance/mui';
-import { LaunchIcon, RocketIcon } from '@notional-finance/icons';
+import { H4 } from '@notional-finance/mui';
+import { RocketIcon } from '@notional-finance/icons';
import {
useFiatToken,
useNOTE,
@@ -16,13 +15,12 @@ import {
usePendingPnLCalculation,
usePortfolioHoldings,
useSelectedNetwork,
- useNotionalContext,
} from '@notional-finance/notionable-hooks';
import {
- boostEndDate,
+ getDateString,
Network,
PORTFOLIO_ACTIONS,
- RATE_PRECISION,
+ starterBoostDistributionDate,
TXN_HISTORY_TYPE,
} from '@notional-finance/util';
import { useMemo } from 'react';
@@ -34,9 +32,6 @@ export function useDetailedHoldingsTable() {
const network = useSelectedNetwork();
const holdings = usePortfolioHoldings(network);
const theme = useTheme();
- const {
- globalState: { isStarterBoostUser },
- } = useNotionalContext();
const pendingTokens = usePendingPnLCalculation(network).flatMap(
({ tokens }) => tokens
);
@@ -116,10 +111,6 @@ export function useDetailedHoldingsTable() {
const isDebt = b.isNegative();
const { icon, formattedTitle, titleWithMaturity, title } =
formatTokenType(b.token, isDebt, true);
- const isStarterBoost = checkStarterBoostToken(
- b.underlying.symbol,
- isStarterBoostUser
- );
const marketApy = marketYield?.totalAPY;
const noteIncentives = marketYield?.noteIncentives?.incentiveAPY;
const secondaryIncentives =
@@ -151,57 +142,30 @@ export function useDetailedHoldingsTable() {
},
];
- if (isStarterBoost && !isDebt) {
- const boostValue = s?.accumulatedCostRealized?.mulInRatePrecision(
- Math.floor((0.05 / 52) * RATE_PRECISION)
- );
- const currentDate = new Date();
-
+ // NOTE: Temporary hashKey check for one new user boost user
+ if (
+ b.hashKey ===
+ '0x5ae5b2bb9c4eb5945c56ae69f4d891fd2e498407b18a3b0e3028e4d6e1b35857'
+ ) {
subRowData.push({
label: (
),
- value:
- currentDate >= boostEndDate ? (
-
-
-
-
-
+
+
+
-
- ) : (
-
-
-
- {boostValue?.toDisplayStringWithSymbol() || '-'}
-
-
- ),
+
+
+ ),
});
}
diff --git a/packages/shared/web/src/header/header.tsx b/packages/shared/web/src/header/header.tsx
index 624de4c80..0202f4b30 100644
--- a/packages/shared/web/src/header/header.tsx
+++ b/packages/shared/web/src/header/header.tsx
@@ -43,7 +43,7 @@ export function Header({ children }: HeaderProps) {
: appTheme;
const { navLinks } = useNavLinks(false, theme);
const {
- globalState: { networkAccounts, isStarterBoostUser },
+ globalState: { networkAccounts },
} = useNotionalContext();
const subGraphError =
@@ -71,11 +71,7 @@ export function Header({ children }: HeaderProps) {
return (
-
+
= {