chore: adds liquidity fee percentage link
This commit is contained in:
parent
93f92f13cb
commit
e07aafa630
@ -86,6 +86,7 @@ export const DocsLinks = VEGA_DOCS_URL
|
||||
POST_REDUCE_ONLY: `${VEGA_DOCS_URL}/concepts/trading-on-vega/orders#conditional-order-parameters`,
|
||||
QUANTUM: `${VEGA_DOCS_URL}/concepts/assets/asset-framework#quantum`,
|
||||
REFERRALS: `${VEGA_DOCS_URL}/tutorials/proposals/referral-program-proposal`,
|
||||
LIQUIDITY_FEE_PERCENTAGE: `${VEGA_DOCS_URL}/concepts/liquidity/rewards-penalties#determining-the-liquidity-fee-percentage`,
|
||||
}
|
||||
: undefined;
|
||||
|
||||
|
@ -110,6 +110,7 @@
|
||||
"Fills": "Fills",
|
||||
"Final commission rate": "Final commission rate",
|
||||
"Find out more": "Find out more",
|
||||
"Fore more info, visit the documentation": "For more info, visit the documentation",
|
||||
"Free from the risks of real trading, Fairground is a safe and fun place to try out Vega yourself with virtual assets.": "Free from the risks of real trading, Fairground is a safe and fun place to try out Vega yourself with virtual assets.",
|
||||
"From epoch": "From epoch",
|
||||
"Fully decentralised high performance peer-to-network trading.": "Fully decentralised high performance peer-to-network trading.",
|
||||
|
@ -56,6 +56,7 @@ import {
|
||||
TOKEN_PROPOSAL,
|
||||
useEnvironment,
|
||||
useLinks,
|
||||
DocsLinks,
|
||||
} from '@vegaprotocol/environment';
|
||||
import type { Provider } from '../../oracle-schema';
|
||||
import { OracleBasicProfile } from '../../components/oracle-basic-profile';
|
||||
@ -113,29 +114,40 @@ export const CurrentFeesInfoPanel = ({ market }: MarketInfoProps) => {
|
||||
};
|
||||
|
||||
export const LiquidityFeesSettings = ({ market }: MarketInfoProps) => {
|
||||
const t = useT();
|
||||
return (
|
||||
<MarketInfoTable
|
||||
data={{
|
||||
feeConstant: market.fees.liquidityFeeSettings?.feeConstant,
|
||||
method: market.fees.liquidityFeeSettings && (
|
||||
<Tooltip
|
||||
description={
|
||||
LiquidityFeeMethodMappingDescription[
|
||||
market.fees.liquidityFeeSettings?.method
|
||||
]
|
||||
}
|
||||
>
|
||||
<span>
|
||||
{
|
||||
LiquidityFeeMethodMapping[
|
||||
<>
|
||||
<MarketInfoTable
|
||||
data={{
|
||||
feeConstant: market.fees.liquidityFeeSettings?.feeConstant,
|
||||
method: market.fees.liquidityFeeSettings && (
|
||||
<Tooltip
|
||||
description={
|
||||
LiquidityFeeMethodMappingDescription[
|
||||
market.fees.liquidityFeeSettings?.method
|
||||
]
|
||||
}
|
||||
</span>
|
||||
</Tooltip>
|
||||
),
|
||||
}}
|
||||
/>
|
||||
>
|
||||
<span>
|
||||
{
|
||||
LiquidityFeeMethodMapping[
|
||||
market.fees.liquidityFeeSettings?.method
|
||||
]
|
||||
}
|
||||
</span>
|
||||
</Tooltip>
|
||||
),
|
||||
}}
|
||||
/>
|
||||
<p className="text-xs">
|
||||
<ExternalLink
|
||||
href={DocsLinks?.LIQUIDITY_FEE_PERCENTAGE}
|
||||
className="mt-2"
|
||||
>
|
||||
{t('Fore more info, visit the documentation')}
|
||||
</ExternalLink>
|
||||
</p>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user