diff --git a/libs/environment/src/hooks/use-links.ts b/libs/environment/src/hooks/use-links.ts index bd85af8ad..f3a893156 100644 --- a/libs/environment/src/hooks/use-links.ts +++ b/libs/environment/src/hooks/use-links.ts @@ -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; diff --git a/libs/i18n/src/locales/en/trading.json b/libs/i18n/src/locales/en/trading.json index 82a2e0aea..811aadc77 100644 --- a/libs/i18n/src/locales/en/trading.json +++ b/libs/i18n/src/locales/en/trading.json @@ -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.", diff --git a/libs/markets/src/lib/components/market-info/market-info-panels.tsx b/libs/markets/src/lib/components/market-info/market-info-panels.tsx index 98ec01196..bdda1db01 100644 --- a/libs/markets/src/lib/components/market-info/market-info-panels.tsx +++ b/libs/markets/src/lib/components/market-info/market-info-panels.tsx @@ -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 ( - - - { - LiquidityFeeMethodMapping[ + <> + - - ), - }} - /> + > + + { + LiquidityFeeMethodMapping[ + market.fees.liquidityFeeSettings?.method + ] + } + + + ), + }} + /> +

+ + {t('Fore more info, visit the documentation')} + +

+ ); };