+
+
+
+
+ Tangle Liquid Staking
+
+
+
+ Get Liquid Staking Tokens (LSTs) to earn & unleash restaking on
+ Tangle Mainnet via delegation.
+
+
+
+
+
+
+
+
+
setIsStaking(true)}>
Stake
@@ -66,19 +97,38 @@ const LiquidStakingTokenPage: FC = () => {
{isStaking ? : }
-
- {isStaking ? (
- isParachainChain ? (
-
- ) : (
-
- )
- ) : (
-
- )}
-
+
+
+ {/* Tabs List on the left */}
+
+ {Object.values(Tab).map((tab, idx) => {
+ return (
+
+
+ {tab}
+
+
+ );
+ })}
+
+
+
+ {/* Tabs Content */}
+
+
+
+
+
+
+
+
);
};
-export default LiquidStakingTokenPage;
+export default LiquidStakingPage;
diff --git a/apps/tangle-dapp/app/liquid-staking/useVaults.ts b/apps/tangle-dapp/app/liquid-staking/useVaults.ts
deleted file mode 100644
index f30e4edee..000000000
--- a/apps/tangle-dapp/app/liquid-staking/useVaults.ts
+++ /dev/null
@@ -1,259 +0,0 @@
-'use client';
-
-import { LiquidStakingToken } from '../../types/liquidStaking';
-import { Vault } from '../../types/liquidStaking';
-
-export default function useVaults(): Vault[] {
- return [
- {
- lstToken: LiquidStakingToken.DOT,
- name: 'Tangle Liquid Polkadot',
- tvl: {
- value: 2000,
- valueInUSD: 20000,
- },
- derivativeTokens: 5,
- myStake: {
- value: 1000,
- valueInUSD: 10000,
- },
- assets: [
- {
- id: '31234',
- token: 'tgDOT_A',
- tvl: 5588.23,
- apy: 10.12,
- myStake: 10.12,
- },
- {
- id: '31235',
- token: 'tgDOT_B',
- tvl: 2044.12,
- apy: 0,
- myStake: 0,
- },
- {
- id: '31236',
- token: 'tgDOT_C',
- tvl: 123.12,
- apy: 16,
- myStake: 16,
- },
- {
- id: '31237',
- token: 'tgDOT_D',
- tvl: 6938.87,
- apy: 100,
- myStake: 100,
- },
- {
- id: '31238',
- token: 'tgDOT_E',
- tvl: 0,
- apy: 0,
- myStake: 0,
- },
- ],
- },
- {
- lstToken: LiquidStakingToken.ASTR,
- name: 'Tangle Liquid Astar',
- tvl: {
- value: 48,
- valueInUSD: 480,
- },
- derivativeTokens: 10,
- myStake: {
- value: 23.34,
- valueInUSD: 233.4,
- },
- assets: [
- {
- id: '31234',
- token: 'tgDOT_A',
- tvl: 5588.23,
- apy: 10.12,
- myStake: 10.12,
- },
- {
- id: '31235',
- token: 'tgDOT_B',
- tvl: 2044.12,
- apy: 0,
- myStake: 0,
- },
- {
- id: '31236',
- token: 'tgDOT_C',
- tvl: 123.12,
- apy: 16,
- myStake: 16,
- },
- {
- id: '31237',
- token: 'tgDOT_D',
- tvl: 6938.87,
- apy: 100,
- myStake: 100,
- },
- {
- id: '31238',
- token: 'tgDOT_E',
- tvl: 0,
- apy: 0,
- myStake: 0,
- },
- ],
- },
- {
- lstToken: LiquidStakingToken.PHA,
- name: 'Tangle Liquid Phala',
- tvl: {
- value: 60.13,
- valueInUSD: 601.3,
- },
- derivativeTokens: 7,
- myStake: {
- value: 50,
- valueInUSD: 500,
- },
- assets: [
- {
- id: '31234',
- token: 'tgDOT_A',
- tvl: 5588.23,
- apy: 10.12,
- myStake: 10.12,
- },
- {
- id: '31235',
- token: 'tgDOT_B',
- tvl: 2044.12,
- apy: 0,
- myStake: 0,
- },
- {
- id: '31236',
- token: 'tgDOT_C',
- tvl: 123.12,
- apy: 16,
- myStake: 16,
- },
- {
- id: '31237',
- token: 'tgDOT_D',
- tvl: 6938.87,
- apy: 100,
- myStake: 100,
- },
- {
- id: '31238',
- token: 'tgDOT_E',
- tvl: 0,
- apy: 0,
- myStake: 0,
- },
- ],
- },
- {
- lstToken: LiquidStakingToken.GLMR,
- name: 'Tangle Liquid Glimmer',
- tvl: {
- value: 0,
- valueInUSD: 0,
- },
- derivativeTokens: 0,
- myStake: {
- value: 0,
- valueInUSD: 0,
- },
- assets: [
- {
- id: '31234',
- token: 'tgDOT_A',
- tvl: 5588.23,
- apy: 10.12,
- myStake: 10.12,
- },
- {
- id: '31235',
- token: 'tgDOT_B',
- tvl: 2044.12,
- apy: 0,
- myStake: 0,
- },
- {
- id: '31236',
- token: 'tgDOT_C',
- tvl: 123.12,
- apy: 16,
- myStake: 16,
- },
- {
- id: '31237',
- token: 'tgDOT_D',
- tvl: 6938.87,
- apy: 100,
- myStake: 100,
- },
- {
- id: '31238',
- token: 'tgDOT_E',
- tvl: 0,
- apy: 0,
- myStake: 0,
- },
- ],
- },
- {
- lstToken: LiquidStakingToken.MANTA,
- name: 'Tangle Liquid Manta',
- tvl: {
- value: 0,
- valueInUSD: 0,
- },
- derivativeTokens: 0,
- myStake: {
- value: 0,
- valueInUSD: 0,
- },
- assets: [
- {
- id: '31234',
- token: 'tgDOT_A',
- tvl: 5588.23,
- apy: 10.12,
- myStake: 10.12,
- },
- {
- id: '31235',
- token: 'tgDOT_B',
- tvl: 2044.12,
- apy: 0,
- myStake: 0,
- },
- {
- id: '31236',
- token: 'tgDOT_C',
- tvl: 123.12,
- apy: 16,
- myStake: 16,
- },
- {
- id: '31237',
- token: 'tgDOT_D',
- tvl: 6938.87,
- apy: 100,
- myStake: 100,
- },
- {
- id: '31238',
- token: 'tgDOT_E',
- tvl: 0,
- apy: 0,
- myStake: 0,
- },
- ],
- },
- ];
-}
diff --git a/apps/tangle-dapp/components/Breadcrumbs/utils.tsx b/apps/tangle-dapp/components/Breadcrumbs/utils.tsx
index 49f1c4776..c104c9f7c 100644
--- a/apps/tangle-dapp/components/Breadcrumbs/utils.tsx
+++ b/apps/tangle-dapp/components/Breadcrumbs/utils.tsx
@@ -29,7 +29,6 @@ const BREADCRUMB_ICONS: Record
JSX.Element> = {
[PagePath.RESTAKE_OPERATOR]: TokenSwapFill,
[PagePath.BRIDGE]: ShuffleLine,
[PagePath.LIQUID_STAKING]: WaterDropletIcon,
- [PagePath.LIQUID_STAKING_OVERVIEW]: WaterDropletIcon,
};
const BREADCRUMB_LABELS: Partial> = {
diff --git a/apps/tangle-dapp/components/LiquidStaking/stakeAndUnstake/LsInput.tsx b/apps/tangle-dapp/components/LiquidStaking/stakeAndUnstake/LsInput.tsx
index a6b04a836..25827ef7f 100644
--- a/apps/tangle-dapp/components/LiquidStaking/stakeAndUnstake/LsInput.tsx
+++ b/apps/tangle-dapp/components/LiquidStaking/stakeAndUnstake/LsInput.tsx
@@ -16,6 +16,7 @@ import useInputAmount from '../../../hooks/useInputAmount';
import formatBn from '../../../utils/formatBn';
import NetworkSelector from './NetworkSelector';
import ProtocolSelector from './ProtocolSelector';
+import SelectedPoolIndicator from './SelectedPoolIndicator';
export type LsInputProps = {
id: string;
@@ -132,6 +133,8 @@ const LsInput: FC = ({
setProtocolId={setProtocolId}
isDerivativeVariant={isDerivativeVariant}
/>
+
+