diff --git a/src/components-v2/InfluenceVault/InfluenceVaultSpecs.tsx b/src/components-v2/InfluenceVault/InfluenceVaultSpecs.tsx index cf60efc4e..bc8b9475f 100644 --- a/src/components-v2/InfluenceVault/InfluenceVaultSpecs.tsx +++ b/src/components-v2/InfluenceVault/InfluenceVaultSpecs.tsx @@ -38,6 +38,11 @@ const useStyles = makeStyles((theme) => ({ paddingBottom: theme.spacing(0.15), fontSize: '1.25rem', }, + specName: { + fontSize: 12, + marginTop: 4, + lineHeight: '1.66', + }, })); const InfluenceVaultSpecs = ({ vault, config }: Props): JSX.Element => { @@ -88,6 +93,9 @@ const InfluenceVaultSpecs = ({ vault, config }: Props): JSX.Element => { + + Fees are not included in APY estimates + diff --git a/src/components-v2/VaultApyInformation/index.tsx b/src/components-v2/VaultApyInformation/index.tsx index 6021ddff2..ab2a7ad3b 100644 --- a/src/components-v2/VaultApyInformation/index.tsx +++ b/src/components-v2/VaultApyInformation/index.tsx @@ -53,7 +53,7 @@ const useStyles = makeStyles((theme) => ({ padding: '0px 36px 27px 36px', }, button: { - marginTop: 34, + marginTop: 17, }, historicAPY: { paddingBottom: 10, @@ -105,6 +105,10 @@ const useStyles = makeStyles((theme) => ({ flexWrap: 'wrap', }, }, + feeDisclaimer: { + fontSize: 12, + color: 'rgba(255,255,255,0.6)', + }, })); interface Props { @@ -169,6 +173,7 @@ const VaultApyInformation = ({ open, onClose, boost, vault, projectedBoost }: Pr event.stopPropagation(); onClose(); }; + const useHistoricAPY = projectedBoost === null || isInfluenceVault(vault.address); const vaultApySources = useHistoricAPY ? sources.map(yieldToValueSource) : totalCurrentSources; const yieldBearingRewardsList = vaultApySources.reduce((list: YieldBearingVaultSource[], source) => { @@ -388,7 +393,11 @@ const VaultApyInformation = ({ open, onClose, boost, vault, projectedBoost }: Pr ))} )} - + + + Fees are not included in APY estimates. See the vault details page for fee information. + + @@ -399,7 +399,7 @@ exports[`Landing Renders correctly 1`] = ` @@ -434,7 +434,7 @@ exports[`Landing Renders correctly 1`] = ` CLEAR ALL @@ -473,7 +473,7 @@ exports[`Landing Renders correctly 1`] = ` /> @@ -501,7 +501,7 @@ exports[`Landing Renders correctly 1`] = ` /> @@ -529,7 +529,7 @@ exports[`Landing Renders correctly 1`] = ` /> @@ -557,7 +557,7 @@ exports[`Landing Renders correctly 1`] = ` /> @@ -634,7 +634,7 @@ exports[`Landing Renders correctly 1`] = ` class="MuiGrid-root-42 MuiGrid-container-43 MuiGrid-item-44 MuiGrid-justify-content-xs-flex-end-61 MuiGrid-grid-xs-true-76" >

cvxCRV logo

@@ -733,10 +733,10 @@ exports[`Landing Renders correctly 1`] = ` class="MuiGrid-root-42 MuiGrid-container-43 MuiGrid-item-44 MuiGrid-align-items-xs-center-51 MuiGrid-justify-content-xs-flex-end-61 MuiGrid-grid-xs-true-76" >

AURA logo

@@ -828,10 +828,10 @@ exports[`Landing Renders correctly 1`] = ` class="MuiGrid-root-42 MuiGrid-container-43 MuiGrid-item-44 MuiGrid-align-items-xs-center-51 MuiGrid-justify-content-xs-flex-end-61 MuiGrid-grid-xs-true-76" >

auraBAL logo

@@ -936,10 +936,10 @@ exports[`Landing Renders correctly 1`] = ` class="MuiGrid-root-42 MuiGrid-container-43 MuiGrid-item-44 MuiGrid-align-items-xs-center-51 MuiGrid-justify-content-xs-flex-end-61 MuiGrid-grid-xs-true-76" >

auraBAL logo graviAURA logo WETH logo

@@ -1051,10 +1051,10 @@ exports[`Landing Renders correctly 1`] = ` class="MuiGrid-root-42 MuiGrid-container-43 MuiGrid-item-44 MuiGrid-align-items-xs-center-51 MuiGrid-justify-content-xs-flex-end-61 MuiGrid-grid-xs-true-76" >

WBTC logo BADGER logo

@@ -1161,10 +1161,10 @@ exports[`Landing Renders correctly 1`] = ` class="MuiGrid-root-42 MuiGrid-container-43 MuiGrid-item-44 MuiGrid-align-items-xs-center-51 MuiGrid-justify-content-xs-flex-end-61 MuiGrid-grid-xs-true-76" >

WBTC logo DIGG logo graviAURA logo

@@ -1276,10 +1276,10 @@ exports[`Landing Renders correctly 1`] = ` class="MuiGrid-root-42 MuiGrid-container-43 MuiGrid-item-44 MuiGrid-align-items-xs-center-51 MuiGrid-justify-content-xs-flex-end-61 MuiGrid-grid-xs-true-76" >

CVX logo bveCVX logo

@@ -1386,10 +1386,10 @@ exports[`Landing Renders correctly 1`] = ` class="MuiGrid-root-42 MuiGrid-container-43 MuiGrid-item-44 MuiGrid-align-items-xs-center-51 MuiGrid-justify-content-xs-flex-end-61 MuiGrid-grid-xs-true-76" >

wibBTC logo crvRenWSBTC logo

@@ -1499,10 +1499,10 @@ exports[`Landing Renders correctly 1`] = ` class="MuiGrid-root-42 MuiGrid-container-43 MuiGrid-item-44 MuiGrid-align-items-xs-center-51 MuiGrid-justify-content-xs-flex-end-61 MuiGrid-grid-xs-true-76" >

BADGER logo WBTC logo

@@ -1599,10 +1599,10 @@ exports[`Landing Renders correctly 1`] = ` class="MuiGrid-root-42 MuiGrid-container-43 MuiGrid-item-44 MuiGrid-align-items-xs-center-51 MuiGrid-justify-content-xs-flex-end-61 MuiGrid-grid-xs-true-76" >

WBTC logo BADGER logo

@@ -1699,10 +1699,10 @@ exports[`Landing Renders correctly 1`] = ` class="MuiGrid-root-42 MuiGrid-container-43 MuiGrid-item-44 MuiGrid-align-items-xs-center-51 MuiGrid-justify-content-xs-flex-end-61 MuiGrid-grid-xs-true-76" >

WBTC logo

@@ -1794,10 +1794,10 @@ exports[`Landing Renders correctly 1`] = ` class="MuiGrid-root-42 MuiGrid-container-43 MuiGrid-item-44 MuiGrid-align-items-xs-center-51 MuiGrid-justify-content-xs-flex-end-61 MuiGrid-grid-xs-true-76" >

WBTC logo WETH logo

@@ -1894,10 +1894,10 @@ exports[`Landing Renders correctly 1`] = ` class="MuiGrid-root-42 MuiGrid-container-43 MuiGrid-item-44 MuiGrid-align-items-xs-center-51 MuiGrid-justify-content-xs-flex-end-61 MuiGrid-grid-xs-true-76" >

bb-a-USDT logo bb-a-DAI logo bb-a-USDC logo

@@ -1999,10 +1999,10 @@ exports[`Landing Renders correctly 1`] = ` class="MuiGrid-root-42 MuiGrid-container-43 MuiGrid-item-44 MuiGrid-align-items-xs-center-51 MuiGrid-justify-content-xs-flex-end-61 MuiGrid-grid-xs-true-76" >

renBTC logo WBTC logo

@@ -2109,10 +2109,10 @@ exports[`Landing Renders correctly 1`] = ` class="MuiGrid-root-42 MuiGrid-container-43 MuiGrid-item-44 MuiGrid-align-items-xs-center-51 MuiGrid-justify-content-xs-flex-end-61 MuiGrid-grid-xs-true-76" >

USDT logo WBTC logo WETH logo

@@ -2214,10 +2214,10 @@ exports[`Landing Renders correctly 1`] = ` class="MuiGrid-root-42 MuiGrid-container-43 MuiGrid-item-44 MuiGrid-align-items-xs-center-51 MuiGrid-justify-content-xs-flex-end-61 MuiGrid-grid-xs-true-76" >

@@ -2387,7 +2387,7 @@ exports[`Landing Renders mobile version correctly 1`] = ` />
@@ -2415,7 +2415,7 @@ exports[`Landing Renders mobile version correctly 1`] = ` />
@@ -2443,7 +2443,7 @@ exports[`Landing Renders mobile version correctly 1`] = ` />
@@ -2471,14 +2471,14 @@ exports[`Landing Renders mobile version correctly 1`] = ` />
CVX logo
bveCVX

cvxCRV logo
cvxCRV

AURA logo
graviAURA

auraBAL logo
auraBAL

auraBAL logo graviAURA logo WETH logo
graviAURA/auraBAL/WETH

WBTC logo BADGER logo
BADGER/WBTC

WBTC logo DIGG logo graviAURA logo
graviAURA/DIGG/WBTC

CVX logo bveCVX logo
CVX/bveCVX

wibBTC logo crvRenWSBTC logo
ibBTC/crvsBTC

BADGER logo WBTC logo
BADGER/WBTC

WBTC logo BADGER logo
wBTC/Badger

WBTC logo
wBTC

WBTC logo WETH logo
wBTC/wETH

bb-a-USDT logo bb-a-DAI logo bb-a-USDC logo
bb-a-USD

renBTC logo WBTC logo
renBTC/wBTC

USDT logo WBTC logo WETH logo
Tricrypto2

@@ -4253,7 +4253,7 @@ exports[`Landing Renders tablet version correctly 1`] = ` />
@@ -4281,7 +4281,7 @@ exports[`Landing Renders tablet version correctly 1`] = ` />
@@ -4309,7 +4309,7 @@ exports[`Landing Renders tablet version correctly 1`] = ` />
@@ -4337,14 +4337,14 @@ exports[`Landing Renders tablet version correctly 1`] = ` />
CVX logo
bveCVX

cvxCRV logo
cvxCRV

AURA logo
graviAURA

auraBAL logo
auraBAL

auraBAL logo graviAURA logo WETH logo
graviAURA/auraBAL/WETH

WBTC logo BADGER logo
BADGER/WBTC

WBTC logo DIGG logo graviAURA logo
graviAURA/DIGG/WBTC

CVX logo bveCVX logo
CVX/bveCVX

wibBTC logo crvRenWSBTC logo
ibBTC/crvsBTC

BADGER logo WBTC logo
BADGER/WBTC

WBTC logo BADGER logo
wBTC/Badger

WBTC logo
wBTC

WBTC logo WETH logo
wBTC/wETH

bb-a-USDT logo bb-a-DAI logo bb-a-USDC logo
bb-a-USD

renBTC logo WBTC logo
renBTC/wBTC

USDT logo WBTC logo WETH logo
Tricrypto2

@@ -371,7 +371,7 @@ exports[`VaultListDisplay uses default sort criteria by default 1`] = ` />
@@ -399,7 +399,7 @@ exports[`VaultListDisplay uses default sort criteria by default 1`] = ` />
@@ -427,7 +427,7 @@ exports[`VaultListDisplay uses default sort criteria by default 1`] = ` />
@@ -517,7 +517,7 @@ exports[`VaultListDisplay uses default sort criteria by default 1`] = ` class="MuiGrid-root-13 MuiGrid-container-14 MuiGrid-item-15 MuiGrid-justify-content-xs-flex-end-32 MuiGrid-grid-xs-true-47" >

CVX logo

@@ -590,10 +590,10 @@ exports[`VaultListDisplay uses default sort criteria by default 1`] = ` class="MuiGrid-root-13 MuiGrid-container-14 MuiGrid-item-15 MuiGrid-align-items-xs-center-22 MuiGrid-justify-content-xs-flex-end-32 MuiGrid-grid-xs-true-47" >

AURA logo

@@ -685,10 +685,10 @@ exports[`VaultListDisplay uses default sort criteria by default 1`] = ` class="MuiGrid-root-13 MuiGrid-container-14 MuiGrid-item-15 MuiGrid-align-items-xs-center-22 MuiGrid-justify-content-xs-flex-end-32 MuiGrid-grid-xs-true-47" >

auraBAL logo

@@ -793,10 +793,10 @@ exports[`VaultListDisplay uses default sort criteria by default 1`] = ` class="MuiGrid-root-13 MuiGrid-container-14 MuiGrid-item-15 MuiGrid-align-items-xs-center-22 MuiGrid-justify-content-xs-flex-end-32 MuiGrid-grid-xs-true-47" >

auraBAL logo graviAURA logo WETH logo

@@ -908,10 +908,10 @@ exports[`VaultListDisplay uses default sort criteria by default 1`] = ` class="MuiGrid-root-13 MuiGrid-container-14 MuiGrid-item-15 MuiGrid-align-items-xs-center-22 MuiGrid-justify-content-xs-flex-end-32 MuiGrid-grid-xs-true-47" >

WBTC logo BADGER logo

@@ -1018,10 +1018,10 @@ exports[`VaultListDisplay uses default sort criteria by default 1`] = ` class="MuiGrid-root-13 MuiGrid-container-14 MuiGrid-item-15 MuiGrid-align-items-xs-center-22 MuiGrid-justify-content-xs-flex-end-32 MuiGrid-grid-xs-true-47" >

WBTC logo DIGG logo graviAURA logo

@@ -1133,10 +1133,10 @@ exports[`VaultListDisplay uses default sort criteria by default 1`] = ` class="MuiGrid-root-13 MuiGrid-container-14 MuiGrid-item-15 MuiGrid-align-items-xs-center-22 MuiGrid-justify-content-xs-flex-end-32 MuiGrid-grid-xs-true-47" >

CVX logo bveCVX logo

@@ -1243,10 +1243,10 @@ exports[`VaultListDisplay uses default sort criteria by default 1`] = ` class="MuiGrid-root-13 MuiGrid-container-14 MuiGrid-item-15 MuiGrid-align-items-xs-center-22 MuiGrid-justify-content-xs-flex-end-32 MuiGrid-grid-xs-true-47" >

cvxCRV logo

@@ -1364,10 +1364,10 @@ exports[`VaultListDisplay uses default sort criteria by default 1`] = ` class="MuiGrid-root-13 MuiGrid-container-14 MuiGrid-item-15 MuiGrid-align-items-xs-center-22 MuiGrid-justify-content-xs-flex-end-32 MuiGrid-grid-xs-true-47" >

wibBTC logo crvRenWSBTC logo

@@ -1477,10 +1477,10 @@ exports[`VaultListDisplay uses default sort criteria by default 1`] = ` class="MuiGrid-root-13 MuiGrid-container-14 MuiGrid-item-15 MuiGrid-align-items-xs-center-22 MuiGrid-justify-content-xs-flex-end-32 MuiGrid-grid-xs-true-47" >

BADGER logo WBTC logo

@@ -1577,10 +1577,10 @@ exports[`VaultListDisplay uses default sort criteria by default 1`] = ` class="MuiGrid-root-13 MuiGrid-container-14 MuiGrid-item-15 MuiGrid-align-items-xs-center-22 MuiGrid-justify-content-xs-flex-end-32 MuiGrid-grid-xs-true-47" >

WBTC logo BADGER logo

@@ -1677,10 +1677,10 @@ exports[`VaultListDisplay uses default sort criteria by default 1`] = ` class="MuiGrid-root-13 MuiGrid-container-14 MuiGrid-item-15 MuiGrid-align-items-xs-center-22 MuiGrid-justify-content-xs-flex-end-32 MuiGrid-grid-xs-true-47" >

WBTC logo

@@ -1772,10 +1772,10 @@ exports[`VaultListDisplay uses default sort criteria by default 1`] = ` class="MuiGrid-root-13 MuiGrid-container-14 MuiGrid-item-15 MuiGrid-align-items-xs-center-22 MuiGrid-justify-content-xs-flex-end-32 MuiGrid-grid-xs-true-47" >

WBTC logo WETH logo

@@ -1872,10 +1872,10 @@ exports[`VaultListDisplay uses default sort criteria by default 1`] = ` class="MuiGrid-root-13 MuiGrid-container-14 MuiGrid-item-15 MuiGrid-align-items-xs-center-22 MuiGrid-justify-content-xs-flex-end-32 MuiGrid-grid-xs-true-47" >

bb-a-USDT logo bb-a-DAI logo bb-a-USDC logo

@@ -1977,10 +1977,10 @@ exports[`VaultListDisplay uses default sort criteria by default 1`] = ` class="MuiGrid-root-13 MuiGrid-container-14 MuiGrid-item-15 MuiGrid-align-items-xs-center-22 MuiGrid-justify-content-xs-flex-end-32 MuiGrid-grid-xs-true-47" >

renBTC logo WBTC logo

@@ -2087,10 +2087,10 @@ exports[`VaultListDisplay uses default sort criteria by default 1`] = ` class="MuiGrid-root-13 MuiGrid-container-14 MuiGrid-item-15 MuiGrid-align-items-xs-center-22 MuiGrid-justify-content-xs-flex-end-32 MuiGrid-grid-xs-true-47" >

USDT logo WBTC logo WETH logo

@@ -2192,10 +2192,10 @@ exports[`VaultListDisplay uses default sort criteria by default 1`] = ` class="MuiGrid-root-13 MuiGrid-container-14 MuiGrid-item-15 MuiGrid-align-items-xs-center-22 MuiGrid-justify-content-xs-flex-end-32 MuiGrid-grid-xs-true-47" >