diff --git a/packages/doc/package.json b/packages/doc/package.json index 5059bdfc..e5cc8e5e 100644 --- a/packages/doc/package.json +++ b/packages/doc/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "@babel/runtime": "^7.17.0", - "@dodoex/components": "^3.0.1", + "@dodoex/components": "^3.0.1-beta.1", "@dodoex/widgets": "^3.0.1", "@emotion/styled": "^11.10.0", "@storybook/addon-docs": "^8.3.5", diff --git a/packages/dodoex-components/package.json b/packages/dodoex-components/package.json index f2d4e599..3dfe2e20 100644 --- a/packages/dodoex-components/package.json +++ b/packages/dodoex-components/package.json @@ -1,6 +1,6 @@ { "name": "@dodoex/components", - "version": "3.0.1", + "version": "3.0.1-beta.1", "description": "UI component library", "source": "src/index.ts", "types": "dist/types/index.d.ts", diff --git a/packages/dodoex-components/src/Button/Button.tsx b/packages/dodoex-components/src/Button/Button.tsx index 3db90381..cde54731 100644 --- a/packages/dodoex-components/src/Button/Button.tsx +++ b/packages/dodoex-components/src/Button/Button.tsx @@ -112,10 +112,8 @@ const buttonStyles = ( case Variant.outlined: result = { ...result, - border: `solid 1px ${ - danger ? theme.palette.error.main : theme.palette.primary.main - }`, - color: danger ? 'error.main' : 'primary.main', + border: `solid 1px ${danger ? theme.palette.error.main : '#000'}`, + color: danger ? 'error.main' : '#000', '&[disabled]': { color: 'text.disabled', borderColor: 'border.disabled', @@ -123,7 +121,7 @@ const buttonStyles = ( [hoverLabel]: { background: danger ? alpha(theme.palette.error.main, 0.1) - : alpha(theme.palette.primary.main, 0.1), + : 'background.paper', }, }; break; diff --git a/packages/dodoex-components/src/Modal/WidgetModal.tsx b/packages/dodoex-components/src/Modal/WidgetModal.tsx index 203d5e70..f6f10a6e 100644 --- a/packages/dodoex-components/src/Modal/WidgetModal.tsx +++ b/packages/dodoex-components/src/Modal/WidgetModal.tsx @@ -38,6 +38,7 @@ const StyledBackdrop = styled(Backdrop)` left: 0; background-color: ${({ theme }) => theme.palette.background.backdrop}; -webkit-tap-highlight-color: transparent; + backdrop-filter: blur(5px); `; export const WIDGET_MODAL_CLASS = 'dodo-widget-modal'; diff --git a/packages/dodoex-components/src/Radio/index.tsx b/packages/dodoex-components/src/Radio/index.tsx index 2e02622b..17f5c54c 100644 --- a/packages/dodoex-components/src/Radio/index.tsx +++ b/packages/dodoex-components/src/Radio/index.tsx @@ -1,5 +1,6 @@ import React from 'react'; import { Box, BoxProps } from '../Box'; +import { useTheme } from '../theme'; type RadioProps = { sx?: BoxProps['sx']; @@ -21,6 +22,7 @@ export const Radio = React.forwardRef(function Radio( }: RadioProps, ref, ) { + const theme = useTheme(); const size = sizeProps ?? 20; const checkedIconSize = checkedIconSizeProps ?? size / 2 + 2; return ( @@ -35,9 +37,12 @@ export const Radio = React.forwardRef(function Radio( position: 'relative', borderRadius: '50%', border: '1px solid', - borderColor: other.checked ? 'primary.main' : 'text.secondary', + borderColor: other.checked ? '#34CA50' : 'text.secondary', cursor: 'pointer', ...sx, + [theme.breakpoints.up('tablet')]: { + borderColor: other.checked ? '#000' : 'text.secondary', + }, }} > )} diff --git a/packages/dodoex-components/src/theme/config.tsx b/packages/dodoex-components/src/theme/config.tsx index e9cb3c3f..a9b7f2e0 100644 --- a/packages/dodoex-components/src/theme/config.tsx +++ b/packages/dodoex-components/src/theme/config.tsx @@ -121,12 +121,12 @@ export const darkPalette: PaletteOptions = { }, background: { default: '#252831', - paper: '#33363F', + paper: '#000', paperContrast: '#41454F', paperDarkContrast: alpha('#FFF', 0.1), backdrop: alpha('#000', 0.9), input: '#252831', - tag: alpha('#FFF', 0.04), + tag: alpha('#FFF', 0.2), }, text: { primary: '#FFF', diff --git a/packages/dodoex-widgets/package.json b/packages/dodoex-widgets/package.json index 3a0f8e1d..a832321d 100644 --- a/packages/dodoex-widgets/package.json +++ b/packages/dodoex-widgets/package.json @@ -1,6 +1,6 @@ { "name": "@dodoex/widgets", - "version": "3.0.1", + "version": "3.0.2-neox.1", "description": "DODO Widgets", "source": "src/index.tsx", "types": "dist/types/index.d.ts", @@ -59,7 +59,7 @@ "dependencies": { "@babel/runtime": "^7.17.0", "@dodoex/api": "3.0.2", - "@dodoex/components": "^3.0.1", + "@dodoex/components": "^3.0.1-beta.1", "@dodoex/contract-request": "^1.3.0", "@dodoex/dodo-contract-request": "^1.8.0", "@dodoex/icons": "^2.0.2", diff --git a/packages/dodoex-widgets/src/components/Swap/components/TokenCard/index.tsx b/packages/dodoex-widgets/src/components/Swap/components/TokenCard/index.tsx index 88f519f9..4f4a660c 100644 --- a/packages/dodoex-widgets/src/components/Swap/components/TokenCard/index.tsx +++ b/packages/dodoex-widgets/src/components/Swap/components/TokenCard/index.tsx @@ -335,6 +335,7 @@ export function TokenCard({ ...(title ? { backgroundColor: theme.palette.background.paper } : {}), + ...inputSx, }} /> ))} diff --git a/packages/dodoex-widgets/src/components/TokenSelect.tsx b/packages/dodoex-widgets/src/components/TokenSelect.tsx index 5d8ab182..b75d6ef7 100644 --- a/packages/dodoex-widgets/src/components/TokenSelect.tsx +++ b/packages/dodoex-widgets/src/components/TokenSelect.tsx @@ -1,4 +1,4 @@ -import { Box, ButtonBase, useTheme } from '@dodoex/components'; +import { alpha, Box, ButtonBase, useTheme } from '@dodoex/components'; import { TokenInfo } from '../hooks/Token/type'; import { chainListMap } from '../constants/chainList'; import { selectTokenBtn } from '../constants/testId'; @@ -24,7 +24,7 @@ export default function TokenSelect({ notTokenPickerModal, border, px = 20, - py = 8, + py = 12, highlightDefault, onTokenClick, onTokenChange, @@ -62,7 +62,7 @@ export default function TokenSelect({ alignItems: 'center', justifyContent: 'space-between', gap: 8, - color: theme.palette.text.primary, + color: '#1A1A1B', typography: showChainName ? 'body2' : 'body1', fontWeight: 600, px, @@ -71,15 +71,15 @@ export default function TokenSelect({ opacity: 0.5, }, ...(!!border && { - border: `solid 1px ${theme.palette.border.main}`, - borderRadius: 8, + borderRadius: 12, + backgroundColor: theme.palette.background.paper, '&:hover': { - backgroundColor: theme.palette.hover.default, + backgroundColor: alpha(theme.palette.background.paper, 0.8), }, }), ...(!!(highlightDefault && !token) && { - backgroundColor: theme.palette.primary.main, - color: theme.palette.primary.contrastText, + backgroundColor: '#00D555', + color: '#000', '&:hover': { opacity: 0.8, }, diff --git a/packages/dodoex-widgets/src/components/WidgetDialog.tsx b/packages/dodoex-widgets/src/components/WidgetDialog.tsx index 3e9892ec..6c193efc 100644 --- a/packages/dodoex-widgets/src/components/WidgetDialog.tsx +++ b/packages/dodoex-widgets/src/components/WidgetDialog.tsx @@ -69,6 +69,7 @@ export default function WidgetDialog({ minHeight: 200, maxHeight: '80%', borderRadius: 16, + boxShadow: '0px 2px 12px 0px rgba(0, 0, 0, 0.15)', }), }} data-testid={testId} diff --git a/packages/dodoex-widgets/src/locales/en-US.js b/packages/dodoex-widgets/src/locales/en-US.js index ca179d41..1526591c 100644 --- a/packages/dodoex-widgets/src/locales/en-US.js +++ b/packages/dodoex-widgets/src/locales/en-US.js @@ -1 +1 @@ -/*eslint-disable*/module.exports={messages:JSON.parse("{\"+/wf6Z\":\"The smaller the slippage coefficient, the lower the slippage for traders, and the deeper the market depth.\",\"+Jkdiu\":\"Transaction Time:\",\"+uZnU3\":\"Cross Chain\",\"/+c6tU\":\"99% Default\",\"//95jS\":[\"The current slippage protection coefficient set exceeds \",[\"maxSlippageWarning\"],\"%, which may result in losses.\"],\"/6L4mj\":\"Your position is empty\",\"/Ak0Fw\":[\"Opening \",[\"0\"],\"...\"],\"/BbUJ6\":\"Total Number of Traders\",\"/cF7Rs\":\"Volume\",\"/jQctM\":\"To\",\"/k7Ttv\":[\"Receive \",[\"0\"]],\"/nzjSF\":[[\"0\"],\" pending\"],\"0+31GV\":\"Removing\",\"0O1wzf\":[\"Traders sold ‪\",[\"0\"],\"‬ \",[\"1\"],\", price in the pool increased to \",[\"2\"]],\"0QDjxt\":\"Balance:\",\"0RrIzN\":\"Select token\",\"0S8v3W\":\"The start time cannot be in the past\",\"0Sw1gZ\":\"Staking Rules\",\"0YxDPW\":\"Loading info...\",\"0b0AkA\":\"* Please note that the Fee Rate cannot be modified after the pool is created\",\"1+P9RR\":[\"Switch to \",[\"0\"]],\"1/LP4K\":[[\"tokenB\"],\" per \",[\"tokenA\"]],\"14s9LL\":\"Create Liquidity Mining\",\"1ABiXc\":[\"By adding liquidity you’ll earn <0>\",[\"0\"],\" of all trades on this pair proportional to your share of the pool. Fees are added to the pool, accrue in real time and can be claimed by withdrawing your liquidity.\"],\"1PQRWr\":\"Start Time\",\"1QfxQT\":\"Dismiss\",\"1Qz63U\":\"Pool Type\",\"1gWStS\":\"Unstaking\",\"1yHVE+\":\"Adding\",\"22Xs8M\":\"Deposit Ratio\",\"237hSL\":\"Ended\",\"2IZBPB\":\"The end time must be later than the start time.\",\"2vjOqX\":\"Pools with lower transaction fees will attract more traders.\",\"34w3mT\":\"Single-Token\",\"3CsYwD\":\"Select Pool\",\"3U+Oti\":\"he slippage coefficient needs to be greater than or equal to 0, and less than or equal to 1.\",\"3VUfrF\":\"Selected Range\",\"3WdxUv\":\"Do not remind again\",\"3XBvkd\":\"Remove Liquidity\",\"3dP8Wx\":\"Search by address\",\"3ggd2j\":\"Asset ratio within the pool\",\"4cJ0hF\":\"Rewards\",\"4fL/V7\":\"Pay\",\"4kY4C4\":\"Due to the market condition, market price and estimated price may have a slight difference\",\"4nzwq3\":\"Search by token or pool address\",\"4ogEAw\":\"Pegged Exchange Rate\",\"4vKwIV\":\"Private Pool\",\"4xbbt/\":[[\"0\"],\" confirmed\"],\"52uNwk\":\"Creation Time\",\"54ffaC\":\"The current network is inconsistent with the wallet - please switch in wallet\",\"5CZbyC\":\"Set price range\",\"5IHTSS\":\"Full range\",\"5Nb8LL\":\"*Depending on the block time, the real amount of Daily Rewards may deviate slightly.\",\"5OKrbq\":\"Since this pool uses the PMM algorithm, which is different from the normal AMM pool mechanism, the initial price calculation is also different from AMM.\",\"5Pxzb6\":[\"Expected to start at block \",[\"0\"],\" and end at block \",[\"1\"],\". There may be slight differences between actual and expected block numbers.\"],\"5QDjef\":\"The token amount is calculated by initial price.\",\"5etEUX\":\"Max price\",\"5nL2hY\":\"Staked Tokens\",\"6+mYrD\":\"Current price impact\",\"6UYTy8\":\"Minute\",\"6V3Ea3\":\"Copied\",\"6XYkjc\":\"Edit Parameter Settings\",\"6XgEPi\":\"Hour\",\"6lss/t\":\"Pricing Model\",\"6y2TB3\":\"Liquidity\",\"70wH1Q\":\"APR\",\"72/M0o\":\"Enter the token symbol or address\",\"79D0qY\":\"Liquidity data not available.\",\"7Bj3x9\":\"Failed\",\"7C/BwI\":\"Community Treasury\",\"7IKPTP\":\"Fee includes: Cross Chain fees + Swap fees. Gas fee not included.\",\"7VpPHA\":\"Confirm\",\"7X+IbB\":\"Powered by DODO protocol\",\"7X40pG\":\"Fees (24H)\",\"7Z4WfS\":[[\"0\"],\" per \",[\"1\"]],\"7m5+6j\":\"Initial Tokens\",\"7rpoXw\":\"This token is on\",\"88dol0\":\"Success Rate\",\"8OiU8L\":\"Pool Creation\",\"8Tg/JR\":\"Custom\",\"8XNsbx\":\"Higher than dynamic slippage\",\"8Z29ZO\":\"Estimated service provider fees\",\"93m8jT\":\"Basic Fee\",\"97jlEV\":\"LP Balance\",\"9D2g7k\":\"The liquidity of DODO is continuous, which is different from the discrete liquidity of UniV3. The ticks shown in the illustration are for demonstration purposes only.\",\"9QjAGB\":\"FeeRevenue\",\"A1taO8\":\"Search\",\"AOhRo6\":\"DODO provides a variety of pool versions to suit your needs.\",\"APR\":\"APR\",\"APR = Reward Token Value per Year / TVL\":\"APR = Reward Token Value per Year / TVL\",\"Active\":\"Active\",\"AeZIvT\":\"You will receive\",\"AghcDJ\":\"Price impact exceeds the slippage tolerance you set. Try increasing the slippage tolerance.\",\"All Mining\":\"All Mining\",\"Amount of token rewards\":\"Amount of token rewards\",\"AxPAXW\":\"No results found\",\"AxdOHo\":\"Pair\",\"B0/2ea\":\"s\",\"B0YDoE\":\"Yes, I am sure\",\"B3mhDR\":\"Add liquidity to obtain LP tokens for mining\",\"BRi+RY\":\"Add more liquidity\",\"C1mcuF\":\"This CP has been settled by other addrs\",\"C1qIFl\":\"Liquidity Supplied\",\"CK1KXz\":\"Max\",\"CKyk7Q\":\"Go back\",\"CMHmbm\":\"Slippage\",\"Calculation = current rewards for a single block × number of blocks in 24h\":\"Calculation = current rewards for a single block × number of blocks in 24h\",\"CeLrge\":\"Mid Price\",\"CkfzUf\":[\"Insufficient funds - Please retry after depositing more \",[\"EtherTokenSymbol\"],\" into your wallet\"],\"CmoOxM\":\"Mining Pool Setup\",\"Copied\":\"Copied\",\"D1bhHv\":\"The pool’s market-making price is fixed\",\"D87pha\":\"Closed\",\"DPfwMq\":\"Done\",\"DPi/hO\":\"Results in a relatively fixed price.\",\"DTFrUE\":[\"Approving \",[\"0\"],\"...\"],\"DWd30U\":\"Current price\",\"DZULmp\":\"Swap Rate\",\"Da1+Da\":\"Pool not found. Please switch to another network and retry.\",\"Daily Rewards\":\"Daily Rewards\",\"Dt4Hc3\":\"Token Pair Mining\",\"Du6bPw\":\"Address\",\"DuVAxN\":[\"The area of the chart indicates the buy/sell volume of \",[\"baseSymbol\"],\" that can be carried by the market when the current price changes to the hover price.\"],\"DupCvC\":\"Added successful\",\"E4LM3N\":\"Add Initial Liquidity\",\"E6MqGy\":\"Add liquidity\",\"EQs1sJ\":\"Min price\",\"ESQO1L\":\"Pool address\",\"EU3wU4\":\"Fee tier\",\"EUBGvH\":\"Are you sure swapping to another chain?\",\"EatqP4\":\"Swaps\",\"Edit\":\"Edit\",\"Eif7f6\":\"PMM Pool\",\"End Time\":\"End Time\",\"Ended\":\"Ended\",\"Enslfm\":\"Destination\",\"EpjpP9\":\"Released Rewards\",\"Ew+VGo\":\"The newly created mining pool can start counting APR after depositing any liquidity.\",\"F+sxb9\":\"Unapproved\",\"F18WP3\":\"Parameters\",\"F2vX4t\":[\"Users buy \",[\"0\"],\" amount:\"],\"F8yRdq\":\"More trade settings\",\"F9xwHA\":[\"Insufficient cross-chain fees, need at least \",[\"0\"],\" \",[\"1\"]],\"FHKsZF\":\"TVL\",\"FQ4aT9\":\"Add Position\",\"FQfStS\":\"Emulator\",\"FRBvjQ\":\"Transaction Pending\",\"Fdp03t\":\"on\",\"FrP5tr\":\"Suitable for stablecoins with price fluctuations within 2%\",\"GAypnX\":\"High slippage tolerance will increase the success rate of transaction, but might not get the best quote.\",\"GGPOuT\":\"set current mid price\",\"GGWsTU\":\"Canceled\",\"GSt7YT\":\"The fee rate must be between 0.01% to 10%\",\"Go back\":\"Go back\",\"Gr2anW\":\"Traders (24H)\",\"Gs02OK\":\"My Positions\",\"H7OUPr\":\"Day\",\"H9HlDe\":\"minutes\",\"HGf8fG\":\"You can set the minimum selling price for single-token pools.\",\"HXBqgG\":\"Invalid price input\",\"HuVZMK\":\"Days\",\"I0LXan\":[\"Price Impact: \",[\"0\"]],\"I0yi1d\":\"Deposit ratio is determined by the current assets ratio in the pool. The ratio does not represent the exchange price\",\"Insufficient market depth to capture the dollar value of [ {{symbols}} ]\":[\"Insufficient market depth to capture the dollar value of [ {\",[\"symbols\"],\"} ]\"],\"Invite\":\"Invite\",\"IwiTcw\":\"The price of this pool is outside of your selected range. Your position is not currently earning fees.\",\"J/hVSQ\":[[\"0\"]],\"J28zul\":\"Connecting...\",\"J39pAJ\":\"Additional Fee\",\"J7M/DA\":\"Pegged\",\"JR7wWw\":\"Equilibrium target\",\"JRgkmT\":\"End release time before adjustment\",\"JYKRJS\":\"Stake\",\"JaeUyE\":[\"Price discrepancy \",[\"lqAndDodoCompareText\"],\" between liquidity pool and the quote price on DODO.\"],\"JdNn1Y\":\"Fetching best price...\",\"Jh223O\":\"Invalid range selected. The min price must be lower than the max price.\",\"JlIjZf\":\"Liquidity Provider\",\"Joa5Dk\":\"*Collecting fees will withdraw currently available fees for you.\",\"JuzN3b\":\"Related CrowdPooling\",\"K/Ay/d\":\"Review Swap\",\"K/PgcA\":\"Select Cross Chain\",\"K8rjE/\":\"Daily rewards before adjustment\",\"KAbREa\":\"*Deflationary tokens are not supported\",\"KAbcm2\":\"Succeeded\",\"KAmxpM\":\"Attention: High slippage tolerance will increase the success rate of transaction, but might not get the best quote.\",\"KRnA5J\":\"Set pool parameters\",\"Kb3KaW\":\"Any Ratio\",\"KkjUUb\":\"Once created, you can adjust the pool’s market-making price at any time. This option is suitable for assets with fluctuating pegged prices. Adjusting the pool’s market-making price allows for more competitive quotes.\",\"KlvBGJ\":\"Select Tokens\",\"KsqhWn\":\"Staking\",\"KvG1xW\":\"Claiming\",\"L37FfW\":\"Create AMM V2 Position\",\"L4nQwl\":\"Suitable for stablecoins with price fluctuations within 0.5%\",\"LDprZB\":\"The slippage coefficient needs to be greater than 0, and less than 0.1.\",\"LHxwaD\":[\"The fee tier should greater than \",[\"0\"],\"%\"],\"LQU+Dm\":\"Risk Disclaimer\",\"LVzIav\":\"The pool’s market-making price can be adjusted\",\"Lfkqg7\":\"Stake tokens to receive mining rewards.\",\"LhMjLm\":\"Time\",\"LtI9AS\":\"Owner\",\"M9dIDb\":\"The pegged exchange rate refers to the exchange rate between two token assets where one's value is pegged/fixed by the other. For example, the pegged exchange rate between the US Dollar and USDT is 1.\",\"MU9s7M\":\"Deposit amounts\",\"MXQodB\":\"Disable Indirect Routing\",\"MZPP7t\":\"Your position has 0 liquidity, and is not earning fees.\",\"Mining Pool\":\"Mining Pool\",\"MvFS/h\":\"No pools yet? Create one!\",\"My Mining\":\"My Mining\",\"My Pools\":\"My Pools\",\"NEQTCn\":\"Share Of Pool\",\"NSCBTb\":\"The setting has been switched to swap mode\",\"NVAuTg\":\"Quote not available\",\"NXZdrO\":\"My pool share\",\"NgeSlx\":\"Learn More\",\"NjdGps\":\"Use the recommended ratio\",\"Nk6ddN\":\"Stake LP tokens and receive mining rewards.\",\"No LP pools match your criteria\":\"No LP pools match your criteria\",\"O6RUgz\":\"Fee rate\",\"OBdohg\":\"Add Liquidity\",\"OFjZGo\":\"Unstake\",\"OJOe+K\":\"Set the fee to the same as most other pools\",\"OKZP2O\":\"If there are no participants before the end, the rewards cannot be taken out anymore.\",\"OZUH85\":\"Your position will appear here.\",\"OauUE6\":\"Fetching Price...\",\"OfhWJH\":\"Reset\",\"OgKD6h\":\"Best offer\",\"OjaWXx\":\"Fresh Mining\",\"OnDEky\":\"LP Fee\",\"OuSseo\":\"Ratio Settings\",\"P+K/3O\":\"Confirming\",\"P4iKEj\":[\"The initial price needs to be greater than \",[\"min\"],\" and less than 100,000,000\"],\"PIYEqF\":\"Quantity model\",\"PLUB/s\":\"Fee\",\"PPqGw9\":\"Applicable to pegged assets with a fixed price and no fluctuation\",\"PVa3KL\":\"Position on\",\"PZqJog\":\"Confirm Cross Chain\",\"Price impact reaches <0>{priceImpact}%, accept the quote\":[\"Price impact reaches <0>\",[\"priceImpact\"],\"%, accept the quote\"],\"Q8W3SC\":\"Volume (1D)\",\"QNWt8A\":\"Estimated Time\",\"QNrpkx\":\"Classical AMM-like pool. Suitable for most assets.\",\"QR4/RH\":\"Swap summary\",\"QoOu4H\":\"You will also claim all rewards from this pool.\",\"QtgfjM\":\"The creator of the liquidity pool can adjust the liquidity distribution by modifying the market-making price parameters. <0>Learn more\",\"R7D79P\":\"Invalid pair\",\"R9Khdg\":\"Auto\",\"Remaining rewards/Total\":\"Remaining rewards/Total\",\"Rewards\":\"Rewards\",\"RtKKbA\":\"Last\",\"RvYEUJ\":\"Suitable for synthetic assets. The liquidity is super concentrated at some price like Curve Finance.\",\"RxHSET\":\"LP Balance:\",\"S3piC2\":\"Tx\",\"S8G1qk\":\"Single\",\"SXnevP\":\"Review Cross Chain\",\"SbBMxj\":\"Share of pool\",\"Search by address\":\"Search by address\",\"Sta9CR\":\"Enter a percent\",\"Staked\":\"Staked\",\"Start Time\":\"Start Time\",\"Sti4vy\":\"Mining\",\"T+qgFw\":\"Price Impact\",\"T0Y2+3\":\"Select a token\",\"TFOxRM\":\"Mins\",\"TGi+jm\":\"Doc\",\"TJBHlP\":\"Standard\",\"TP9/K5\":\"Token\",\"TTlkRL\":\"Lower than dynamic slippage\",\"TVL\":\"TVL\",\"TY5fM3\":\"LP Tokens\",\"TaScUS\":[\"Users sell \",[\"0\"],\" amount:\"],\"TizaRy\":\"Wallet incompatibility\",\"TvH4Ym\":[\"Bought \",[\"0\"],\" \",[\"1\"],\", price in the pool decreased to \",[\"2\"]],\"Tz0i8g\":\"Settings\",\"UE2beD\":\"Creator\",\"UN0Nip\":\"Reward Rules\",\"UPXmW+\":\"Trader\",\"URmyfc\":\"Details\",\"UbRKMZ\":\"Pending\",\"Upcoming\":\"Upcoming\",\"Users\":\"Users\",\"Uzr1HF\":[\"Connect to your \",[\"0\"],\" Wallet\"],\"V+rJKF\":\"Seconds\",\"V38hNQ\":\"Single-Token Stake Mining\",\"VXTSOE\":\"Suitable for most situations.\",\"Vmw6BM\":\"Something went wrong…<0>Refresh again\",\"WI3lQ1\":\"SELECT\",\"WKj93T\":\"Select Token\",\"WYqq5A\":\"End mining\",\"WgTuci\":[\"Your position will be 100% composed of \",[\"0\"],\" at this price\"],\"When adding rewards, the number of rewards for a single block may be adjusted\":\"When adding rewards, the number of rewards for a single block may be adjusted\",\"X6T02b\":\"This pool must be initialized before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount. Gas fees will be higher than usual due to the initialization transaction.\",\"XPiFIY\":\"Can the pool price be adjusted?\",\"XeovX3\":\"Swap Detail\",\"Xpkm7d\":\"No ForceStop access\",\"Y0Knz4\":\"Checking this option means that the routing algorithm will only route to liquidity pools between the two tokens in the trading pair and will ignore routes with any intermediary tokens.\",\"Y7rVy0\":\"Fee Rate\",\"Y9QDtD\":\"You are making changes to the liquidity of a private pool. This is a highly discretionary operation that may cause substantial inflows/outflows of funds and changes in market prices. Please make sure you are fully aware of the implications of each parameter modification.\",\"YA4hwj\":\"Price Range\",\"YG004A\":[[\"0\"],\" deposited\"],\"YHc3B+\":\"My Liquidity\",\"YHpbe1\":\"For\",\"YUyuNp\":[[\"lqAndDodoCompareText\"],\" Price Difference\"],\"You are not currently providing liquidity for any LP pools.\":\"You are not currently providing liquidity for any LP pools.\",\"You have not create any mining\":\"You have not create any mining\",\"YvXHDU\":[\"The area of the chart indicates the buy/sell volume of \",[\"0\"],\" that can be carried by the market when the current price changes to the hover price.\"],\"Z033WN\":\"Total Swap Fee\",\"Z5HWHd\":\"On\",\"Z7ZXbT\":\"Approve\",\"Z8lGw6\":\"Share\",\"ZXvy7b\":\"Additional routing fees set by the Widget user\",\"ZgtZpB\":\"The start time is too soon, please set a later time\",\"ZhEBp4\":\"Current liquidity pool token price\",\"ZlKTEh\":[\"Reward \",[\"0\"]],\"ZlQ83E\":[\"<0>\",[\"lostRatio\"],\" of the initial liquidity you provide will be burned. <1/>The closer the provided asset ratio is to the recommended ratio (\",[\"recommendRatioText\"],\"), the smaller the portion burned.\"],\"Zm56FI\":\"Maximum slippage do not exceed 50%\",\"a1AzKr\":\"For those who are looking to sell tokens and only need ask-side liquidity.\",\"a7u1N9\":\"Price\",\"aIvv/z\":\"The price of this pool is within your selected range. Your position is currently earning fees.\",\"aM1tos\":\"You are creating a pool\",\"ab98Hp\":[\"Created by \",[\"0\"]],\"agPptk\":\"Medium\",\"agRWc1\":\"Minutes\",\"az8lvo\":\"Off\",\"b+KjnH\":\"Your position will not earn fees or be used in trades until the market price moves into your range.\",\"b2jAb+\":\"per\",\"bC0iyq\":\"Suitable for stablecoins with price fluctuations within 10%\",\"bEsfUQ\":\"Confirm submission\",\"bQ3cKo\":\"Select pool by tokens\",\"bUUVED\":\"Asset\",\"bwSQI0\":\"Supply\",\"c4miqE\":\"Pool share\",\"c6TMm0\":\"Mining Type\",\"cDWXuq\":\"Settler\",\"cJtosk\":\"Remove liquidity\",\"cOvZFM\":\"Dynamic\",\"cmUrtC\":\"SEE HOW IT WORKS\",\"cnGeoo\":\"Delete\",\"cnbRVW\":[\"Initial Price \",[\"0\"],\" \",[\"1\"],\" = \",[\"2\"],\" \",[\"3\"]],\"d2CZvA\":\"Initial Price\",\"d8YnVj\":\"Guide Price\",\"dEgA5A\":\"Cancel\",\"dI46oG\":\"Auto switch network\",\"dJqd5x\":[\"Get \",[\"tokenSymbol\"]],\"dUdltF\":\"One-Click Claim\",\"dmiCGN\":\"Select Token Pair\",\"dqWPbT\":\"I have read, understand, and agree to the <0>Terms of Service.\",\"dzV+zO\":\"Modify Confirmation\",\"e38JNU\":\"Tips:\",\"eE0JZ4\":\"Version\",\"eK0eiF\":\"Initial asset ratio\",\"eK6I8d\":\"V2 & PMM\",\"ePK91l\":\"Edit\",\"eTUF28\":\"Min\",\"eVZ7bY\":\"Hide TVL=0 pools\",\"em6LzM\":\"Transaction rejected.\",\"evmVGu\":[\"\\\"Created by \",[\"0\"]],\"fKYdE9\":\"Results in a more volatile price.\",\"fSFt4a\":\"Token Pair\",\"fZ5Vnu\":\"Received\",\"fZFkP1\":\"My Pools\",\"fgGids\":[\"Approve \",[\"0\"]],\"fqDzSu\":\"Rate\",\"fsBGk0\":\"Balance\",\"fxRyGG\":\"fee tier\",\"g3x+cF\":\"Service update, please wait and try again\",\"gz+9Rb\":\"Gas price is too low, please adjust in your wallet and try again\",\"h3PbRN\":\"My Pool Share\",\"h4RLFN\":\"RPC node data exception\",\"h5FVz1\":\"Estimated transaction time\",\"h5pjuM\":\"Collect fees\",\"h7LgzN\":\"Connect to your wallet\",\"hCBYHP\":\"Total Fee Revenue\",\"hXzOVo\":\"Next\",\"hYgDIe\":\"Create\",\"hcNa1G\":\"Token Amount\",\"hdIg7i\":\"Select Pool Version\",\"hom7qf\":\"Claim\",\"i3Z+/Z\":\"Out of range\",\"iDGO1l\":\"Disclaimer\",\"iH8pgl\":\"Back\",\"iLj1a9\":[\"Dynamic slippage is \",[\"recommendSlippage\"],\"%,the current slippage setting is higher than the dynamic slippage, which means you are willing to accept a worse final execution price.\"],\"iPMIoT\":\"Enter an amount\",\"iaocTt\":\"Ratio\",\"j2Uisd\":\"Approving\",\"jMam5g\":[[\"0\"],\" Balance\"],\"jjuKOj\":\"Min Price\",\"juypHV\":\"Liquidity Providers\",\"kAC8rT\":\"High price\",\"kNeEXg\":\"Current Price\",\"kdzjmC\":[\"The mid price needs to be greater than \",[\"min\"],\" and less than 100,000,000\"],\"kf83Ld\":\"Something went wrong.\",\"kj3p6e\":\"Daily Rewards\",\"ku//5b\":\"Second\",\"l4Za6X\":\"Total Swap Volume\",\"lDgVWA\":\"Receive\",\"lJvbHq\":\"Select Network\",\"lNYomJ\":\"AMM V2 Position\",\"lQ6r7x\":\"Confirm swap\",\"lgE483\":\"Once created, the price cannot be changed. This option applies to assets like ETH-WETH.\",\"lqTDfd\":\"Slippage Tolerance\",\"lsg9Mi\":\"Parameter Settings\",\"lt8yMa\":\"Send to:\",\"luOvdJ\":\"My Staked\",\"m16xKo\":\"Add\",\"m6RmA/\":[\"Insufficient \",[\"0\"],\" balance\"],\"m8r/Yx\":\"AMM V3\",\"mFXnIs\":\"The dynamic slippage is provided by DODO team through analyzing historical transactions.\",\"mObS+5\":\"Failed to get price of the token\",\"mYGY3B\":\"Date\",\"mZ4SrP\":\"Liquidity Pool\",\"me2dmq\":\"Value (USD)\",\"n25Lml\":\"Depth\",\"nIrcQi\":\"No matching pool found\",\"nTWWCZ\":\"Low\",\"nxRg31\":\"Select pair\",\"o/5/4c\":\"Once Mining has started, it cannot be stopped.\",\"o8aMNm\":\"Select a liquidity pool\",\"om+Yr9\":\"Do not select non-standard ERC20 tokens as this may lead to unknown errors!\",\"p2jbcE\":\"Create Pool\",\"p3607o\":\"Managing\",\"p7/w10\":\"Volume (24H)\",\"pHQq+U\":\"Pool Setup\",\"pKjCsP\":\"100% use your own funds and enjoy the maximum degree of flexibility.\",\"pQJBKk\":[\"The closer the provided asset ratio is to the recommended ratio (\",[\"recommendRatioText\"],\"), the smaller the portion burned.\"],\"pSQ1lM\":\"MT Fee\",\"pY/ok7\":\"All chains\",\"pdZiL7\":\"Current Market Price:\",\"peTryP\":[[\"0\"],\"-\",[\"1\"],\" is not supported. Please select another pair.\"],\"pwUZo2\":\"Confirming...\",\"q+Q952\":[\"Users pay \",[\"0\"],\" \",[\"1\"],\" and receive \",[\"2\"],\" \",[\"3\"],\"\\\\nPrice \",[\"4\"],\" (\",[\"5\"],\"%)\"],\"qDhDFK\":\"Traders\",\"qK7wuW\":\"Unable to SETTLE during the cooling-off period\",\"qLkska\":\"The setting has been switched to cross chain mode\",\"qiOIiY\":\"Buy\",\"qmYDVk\":\"Total Rewards\",\"r7ScnQ\":\"Connect to a wallet\",\"rAx5u1\":\"End Time\",\"rH6vg9\":\"There is no liquidity data.\",\"rQ9c+8\":[\"Output is estimated. If the price changes by more than \",[\"0\"],\" your transaction will revert.\"],\"rRDi3Y\":\"Detail\",\"rSayea\":\"APY\",\"rbsyJM\":\"AMM V2\",\"rdUucN\":\"Preview\",\"sCUx8G\":\"Select Platform\",\"sIPJGT\":\"SELECT TOKEN\",\"sNaLCG\":\"Add Token\",\"sTnImq\":\"Total Liquidity\",\"sVlqoo\":\"AMM V3 Position\",\"sjn3tj\":\"Slippage Coefficient\",\"sxkWRg\":\"Advanced\",\"syToc5\":[[\"0\"],\"/\",[\"1\"],\" Pool Tokens\"],\"t+LmjM\":\"Initial Price Alert\",\"t/YqKh\":\"Remove\",\"t3d3/V\":\"ratio is 0\",\"tKE4Ak\":\"Cross Chain Summary\",\"tMMG40\":[[\"0\"],\"% fee tier\"],\"tMVAXL\":\"SafeERC20: low-level call failed. Please contact the DODO team.\",\"tnRI9r\":\"Pool Creation Confirmation\",\"tu/fxg\":\"Claim fees\",\"tyGEMJ\":\"Amounts\",\"u1tnst\":\"Create One\",\"uAQUqI\":\"Status\",\"uEoBVI\":\"Low price\",\"uaKP0s\":[\"differs from the price quoted by DODO by \",[\"lqAndDodoCompareText\"]],\"ubzjDN\":\"Real Time\",\"udsWDJ\":\"Unsupported network - switch to trade\",\"uiuMDr\":\"Enter parameters to view the yield curve\",\"ukTFO0\":\"Description of this type of pool\",\"v4nCHK\":\"Paid\",\"v4wgrk\":\"Failed to add\",\"vH2C/2\":\"Swap\",\"vLyv1R\":\"Hide\",\"vOyUlD\":\"In range\",\"vXvgFK\":\"There is risk of being arbitraged if adding this liquidity.\",\"vxHMzr\":\"address\",\"wSpNR+\":\"This trading pair does not have enough historical data and has used the default dynamic slippage.\",\"wckWOP\":\"Manage\",\"wdxz7K\":\"Source\",\"wmCrk7\":\"You may modify the transaction deadline, the maximum time allowed for a trade to be processed on-chain. However, please note that this may lead to your trade executing at a subpar price, as the market price may change during that time.\",\"wtjDAR\":[[\"0\"],\" Approval Pending\"],\"x3muNy\":\"Liquidity Burn Ratio\",\"x4QVeW\":\"Percentage to remove\",\"x6GJ4a\":\"Max Slippage\",\"xEbi+8\":\"User denied transaction signature.\",\"y1eoq1\":\"Copy link\",\"y4kfSV\":\"WARNING\",\"yM82Jw\":\"ForceStop exception\",\"yQ2kGp\":\"Load more\",\"yQE2r9\":\"Loading\",\"yXm1vH\":\"The initial price is different from the current market price, which may cause your pool to be arbitraged\",\"yY8wAv\":\"Hours\",\"yoR+O6\":\"V3\",\"yq+Q9s\":[\"Dynamic slippage is \",[\"recommendSlippage\"],\"% , the current slippage setting may increase the failure rate of transactions.\"],\"yx/fMc\":\"High\",\"yz7wBu\":\"Close\",\"yzjPpo\":\"Fees will be the same as in most other pools.\",\"z9t6jM\":\"Mining Pool\",\"zA6/Yq\":\"To avoid loss of rewards, please ensure that at least 1 or more participating users exist.\",\"zABfk1\":\"https://blog.dodoex.io/introducing-the-dodo-smart-slippage-3d32d13a4fef\",\"zSMRJ/\":\"Transaction Deadline\",\"zXCpR0\":\"Claim Rewards\",\"zcVtwU\":\"My Pools (PMM)\",\"zeSosD\":\"Starting price\",\"zkFuIm\":\"Total Rewards=Daily Rewards*Duration\",\"znqB4T\":\"Insufficient balance\",\"zwBp5t\":\"Private\",\"zwWKhA\":\"Learn more\"}")}; \ No newline at end of file +/*eslint-disable*/module.exports={messages:JSON.parse("{\"+/wf6Z\":\"The smaller the slippage coefficient, the lower the slippage for traders, and the deeper the market depth.\",\"+Jkdiu\":\"Transaction Time:\",\"+uZnU3\":\"Cross Chain\",\"/+c6tU\":\"99% Default\",\"//95jS\":[\"The current slippage protection coefficient set exceeds \",[\"maxSlippageWarning\"],\"%, which may result in losses.\"],\"/6L4mj\":\"Your position is empty\",\"/Ak0Fw\":[\"Opening \",[\"0\"],\"...\"],\"/BbUJ6\":\"Total Number of Traders\",\"/cF7Rs\":\"Volume\",\"/jQctM\":\"To\",\"/k7Ttv\":[\"Receive \",[\"0\"]],\"/nzjSF\":[[\"0\"],\" pending\"],\"0+31GV\":\"Removing\",\"0O1wzf\":[\"Traders sold ‪\",[\"0\"],\"‬ \",[\"1\"],\", price in the pool increased to \",[\"2\"]],\"0QDjxt\":\"Balance:\",\"0RrIzN\":\"Select token\",\"0S8v3W\":\"The start time cannot be in the past\",\"0Sw1gZ\":\"Staking Rules\",\"0YxDPW\":\"Loading info...\",\"0b0AkA\":\"* Please note that the Fee Rate cannot be modified after the pool is created\",\"1+P9RR\":[\"Switch to \",[\"0\"]],\"1/LP4K\":[[\"tokenB\"],\" per \",[\"tokenA\"]],\"14s9LL\":\"Create Liquidity Mining\",\"1ABiXc\":[\"By adding liquidity you’ll earn <0>\",[\"0\"],\" of all trades on this pair proportional to your share of the pool. Fees are added to the pool, accrue in real time and can be claimed by withdrawing your liquidity.\"],\"1PQRWr\":\"Start Time\",\"1QfxQT\":\"Dismiss\",\"1Qz63U\":\"Pool Type\",\"1gWStS\":\"Unstaking\",\"1yHVE+\":\"Adding\",\"22Xs8M\":\"Deposit Ratio\",\"237hSL\":\"Ended\",\"2IZBPB\":\"The end time must be later than the start time.\",\"2vjOqX\":\"Pools with lower transaction fees will attract more traders.\",\"34w3mT\":\"Single-Token\",\"3CsYwD\":\"Select Pool\",\"3U+Oti\":\"he slippage coefficient needs to be greater than or equal to 0, and less than or equal to 1.\",\"3VUfrF\":\"Selected Range\",\"3WdxUv\":\"Do not remind again\",\"3XBvkd\":\"Remove Liquidity\",\"3dP8Wx\":\"Search by address\",\"3ggd2j\":\"Asset ratio within the pool\",\"4cJ0hF\":\"Rewards\",\"4fL/V7\":\"Pay\",\"4kY4C4\":\"Due to the market condition, market price and estimated price may have a slight difference\",\"4nzwq3\":\"Search by token or pool address\",\"4ogEAw\":\"Pegged Exchange Rate\",\"4vKwIV\":\"Private Pool\",\"4xbbt/\":[[\"0\"],\" confirmed\"],\"52uNwk\":\"Creation Time\",\"54ffaC\":\"The current network is inconsistent with the wallet - please switch in wallet\",\"5CZbyC\":\"Set price range\",\"5IHTSS\":\"Full range\",\"5Nb8LL\":\"*Depending on the block time, the real amount of Daily Rewards may deviate slightly.\",\"5OKrbq\":\"Since this pool uses the PMM algorithm, which is different from the normal AMM pool mechanism, the initial price calculation is also different from AMM.\",\"5Pxzb6\":[\"Expected to start at block \",[\"0\"],\" and end at block \",[\"1\"],\". There may be slight differences between actual and expected block numbers.\"],\"5QDjef\":\"The token amount is calculated by initial price.\",\"5etEUX\":\"Max price\",\"5nL2hY\":\"Staked Tokens\",\"6+mYrD\":\"Current price impact\",\"6UYTy8\":\"Minute\",\"6V3Ea3\":\"Copied\",\"6XYkjc\":\"Edit Parameter Settings\",\"6XgEPi\":\"Hour\",\"6lss/t\":\"Pricing Model\",\"6y2TB3\":\"Liquidity\",\"70wH1Q\":\"APR\",\"72/M0o\":\"Enter the token symbol or address\",\"79D0qY\":\"Liquidity data not available.\",\"7Bj3x9\":\"Failed\",\"7C/BwI\":\"Community Treasury\",\"7IKPTP\":\"Fee includes: Cross Chain fees + Swap fees. Gas fee not included.\",\"7VpPHA\":\"Confirm\",\"7X40pG\":\"Fees (24H)\",\"7Z4WfS\":[[\"0\"],\" per \",[\"1\"]],\"7m5+6j\":\"Initial Tokens\",\"7rpoXw\":\"This token is on\",\"88dol0\":\"Success Rate\",\"8OiU8L\":\"Pool Creation\",\"8Tg/JR\":\"Custom\",\"8XNsbx\":\"Higher than dynamic slippage\",\"8Z29ZO\":\"Estimated service provider fees\",\"93m8jT\":\"Basic Fee\",\"97jlEV\":\"LP Balance\",\"9D2g7k\":\"The liquidity of DODO is continuous, which is different from the discrete liquidity of UniV3. The ticks shown in the illustration are for demonstration purposes only.\",\"9QjAGB\":\"FeeRevenue\",\"A1taO8\":\"Search\",\"AOhRo6\":\"DODO provides a variety of pool versions to suit your needs.\",\"APR\":\"APR\",\"APR = Reward Token Value per Year / TVL\":\"APR = Reward Token Value per Year / TVL\",\"Active\":\"Active\",\"AeZIvT\":\"You will receive\",\"AghcDJ\":\"Price impact exceeds the slippage tolerance you set. Try increasing the slippage tolerance.\",\"All Mining\":\"All Mining\",\"Amount of token rewards\":\"Amount of token rewards\",\"AxPAXW\":\"No results found\",\"AxdOHo\":\"Pair\",\"B0/2ea\":\"s\",\"B0YDoE\":\"Yes, I am sure\",\"B3mhDR\":\"Add liquidity to obtain LP tokens for mining\",\"BRi+RY\":\"Add more liquidity\",\"C1mcuF\":\"This CP has been settled by other addrs\",\"C1qIFl\":\"Liquidity Supplied\",\"CK1KXz\":\"Max\",\"CKyk7Q\":\"Go back\",\"CMHmbm\":\"Slippage\",\"Calculation = current rewards for a single block × number of blocks in 24h\":\"Calculation = current rewards for a single block × number of blocks in 24h\",\"CeLrge\":\"Mid Price\",\"CkfzUf\":[\"Insufficient funds - Please retry after depositing more \",[\"EtherTokenSymbol\"],\" into your wallet\"],\"CmoOxM\":\"Mining Pool Setup\",\"Copied\":\"Copied\",\"D1bhHv\":\"The pool’s market-making price is fixed\",\"D87pha\":\"Closed\",\"DPfwMq\":\"Done\",\"DPi/hO\":\"Results in a relatively fixed price.\",\"DTFrUE\":[\"Approving \",[\"0\"],\"...\"],\"DWd30U\":\"Current price\",\"DZULmp\":\"Swap Rate\",\"Da1+Da\":\"Pool not found. Please switch to another network and retry.\",\"Daily Rewards\":\"Daily Rewards\",\"Dt4Hc3\":\"Token Pair Mining\",\"Du6bPw\":\"Address\",\"DuVAxN\":[\"The area of the chart indicates the buy/sell volume of \",[\"baseSymbol\"],\" that can be carried by the market when the current price changes to the hover price.\"],\"DupCvC\":\"Added successful\",\"E4LM3N\":\"Add Initial Liquidity\",\"E6MqGy\":\"Add liquidity\",\"EQs1sJ\":\"Min price\",\"ESQO1L\":\"Pool address\",\"EU3wU4\":\"Fee tier\",\"EUBGvH\":\"Are you sure swapping to another chain?\",\"EatqP4\":\"Swaps\",\"Edit\":\"Edit\",\"Eif7f6\":\"PMM Pool\",\"End Time\":\"End Time\",\"Ended\":\"Ended\",\"Enslfm\":\"Destination\",\"EpjpP9\":\"Released Rewards\",\"Ew+VGo\":\"The newly created mining pool can start counting APR after depositing any liquidity.\",\"F+sxb9\":\"Unapproved\",\"F18WP3\":\"Parameters\",\"F2vX4t\":[\"Users buy \",[\"0\"],\" amount:\"],\"F8yRdq\":\"More trade settings\",\"F9xwHA\":[\"Insufficient cross-chain fees, need at least \",[\"0\"],\" \",[\"1\"]],\"FHKsZF\":\"TVL\",\"FQ4aT9\":\"Add Position\",\"FQfStS\":\"Emulator\",\"FRBvjQ\":\"Transaction Pending\",\"Fdp03t\":\"on\",\"FrP5tr\":\"Suitable for stablecoins with price fluctuations within 2%\",\"GAypnX\":\"High slippage tolerance will increase the success rate of transaction, but might not get the best quote.\",\"GGPOuT\":\"set current mid price\",\"GGWsTU\":\"Canceled\",\"GSt7YT\":\"The fee rate must be between 0.01% to 10%\",\"Go back\":\"Go back\",\"Gr2anW\":\"Traders (24H)\",\"Gs02OK\":\"My Positions\",\"H7OUPr\":\"Day\",\"H9HlDe\":\"minutes\",\"HGf8fG\":\"You can set the minimum selling price for single-token pools.\",\"HXBqgG\":\"Invalid price input\",\"HuVZMK\":\"Days\",\"I0LXan\":[\"Price Impact: \",[\"0\"]],\"I0yi1d\":\"Deposit ratio is determined by the current assets ratio in the pool. The ratio does not represent the exchange price\",\"Insufficient market depth to capture the dollar value of [ {{symbols}} ]\":[\"Insufficient market depth to capture the dollar value of [ {\",[\"symbols\"],\"} ]\"],\"Invite\":\"Invite\",\"IwiTcw\":\"The price of this pool is outside of your selected range. Your position is not currently earning fees.\",\"J/hVSQ\":[[\"0\"]],\"J28zul\":\"Connecting...\",\"J39pAJ\":\"Additional Fee\",\"J7M/DA\":\"Pegged\",\"JR7wWw\":\"Equilibrium target\",\"JRgkmT\":\"End release time before adjustment\",\"JYKRJS\":\"Stake\",\"JaeUyE\":[\"Price discrepancy \",[\"lqAndDodoCompareText\"],\" between liquidity pool and the quote price on DODO.\"],\"JdNn1Y\":\"Fetching best price...\",\"Jh223O\":\"Invalid range selected. The min price must be lower than the max price.\",\"JlIjZf\":\"Liquidity Provider\",\"Joa5Dk\":\"*Collecting fees will withdraw currently available fees for you.\",\"JuzN3b\":\"Related CrowdPooling\",\"K/Ay/d\":\"Review Swap\",\"K/PgcA\":\"Select Cross Chain\",\"K8rjE/\":\"Daily rewards before adjustment\",\"KAbREa\":\"*Deflationary tokens are not supported\",\"KAbcm2\":\"Succeeded\",\"KAmxpM\":\"Attention: High slippage tolerance will increase the success rate of transaction, but might not get the best quote.\",\"KRnA5J\":\"Set pool parameters\",\"Kb3KaW\":\"Any Ratio\",\"KkjUUb\":\"Once created, you can adjust the pool’s market-making price at any time. This option is suitable for assets with fluctuating pegged prices. Adjusting the pool’s market-making price allows for more competitive quotes.\",\"KlvBGJ\":\"Select Tokens\",\"KsqhWn\":\"Staking\",\"KvG1xW\":\"Claiming\",\"L37FfW\":\"Create AMM V2 Position\",\"L4nQwl\":\"Suitable for stablecoins with price fluctuations within 0.5%\",\"LDprZB\":\"The slippage coefficient needs to be greater than 0, and less than 0.1.\",\"LHxwaD\":[\"The fee tier should greater than \",[\"0\"],\"%\"],\"LQU+Dm\":\"Risk Disclaimer\",\"LVzIav\":\"The pool’s market-making price can be adjusted\",\"Lfkqg7\":\"Stake tokens to receive mining rewards.\",\"LhMjLm\":\"Time\",\"LtI9AS\":\"Owner\",\"M9dIDb\":\"The pegged exchange rate refers to the exchange rate between two token assets where one's value is pegged/fixed by the other. For example, the pegged exchange rate between the US Dollar and USDT is 1.\",\"MU9s7M\":\"Deposit amounts\",\"MXQodB\":\"Disable Indirect Routing\",\"MZPP7t\":\"Your position has 0 liquidity, and is not earning fees.\",\"Mining Pool\":\"Mining Pool\",\"MvFS/h\":\"No pools yet? Create one!\",\"My Mining\":\"My Mining\",\"My Pools\":\"My Pools\",\"NEQTCn\":\"Share Of Pool\",\"NVAuTg\":\"Quote not available\",\"NXZdrO\":\"My pool share\",\"NgeSlx\":\"Learn More\",\"NjdGps\":\"Use the recommended ratio\",\"Nk6ddN\":\"Stake LP tokens and receive mining rewards.\",\"No LP pools match your criteria\":\"No LP pools match your criteria\",\"O6RUgz\":\"Fee rate\",\"OBdohg\":\"Add Liquidity\",\"OFjZGo\":\"Unstake\",\"OJOe+K\":\"Set the fee to the same as most other pools\",\"OKZP2O\":\"If there are no participants before the end, the rewards cannot be taken out anymore.\",\"OZUH85\":\"Your position will appear here.\",\"OauUE6\":\"Fetching Price...\",\"OfhWJH\":\"Reset\",\"OgKD6h\":\"Best offer\",\"OjaWXx\":\"Fresh Mining\",\"OnDEky\":\"LP Fee\",\"OuSseo\":\"Ratio Settings\",\"P+K/3O\":\"Confirming\",\"P4iKEj\":[\"The initial price needs to be greater than \",[\"min\"],\" and less than 100,000,000\"],\"PIYEqF\":\"Quantity model\",\"PLUB/s\":\"Fee\",\"PPqGw9\":\"Applicable to pegged assets with a fixed price and no fluctuation\",\"PVa3KL\":\"Position on\",\"PZqJog\":\"Confirm Cross Chain\",\"Price impact reaches <0>{priceImpact}%, accept the quote\":[\"Price impact reaches <0>\",[\"priceImpact\"],\"%, accept the quote\"],\"Q8W3SC\":\"Volume (1D)\",\"QNWt8A\":\"Estimated Time\",\"QNrpkx\":\"Classical AMM-like pool. Suitable for most assets.\",\"QR4/RH\":\"Swap summary\",\"QoOu4H\":\"You will also claim all rewards from this pool.\",\"QtgfjM\":\"The creator of the liquidity pool can adjust the liquidity distribution by modifying the market-making price parameters. <0>Learn more\",\"R7D79P\":\"Invalid pair\",\"R9Khdg\":\"Auto\",\"Remaining rewards/Total\":\"Remaining rewards/Total\",\"Rewards\":\"Rewards\",\"RtKKbA\":\"Last\",\"RvYEUJ\":\"Suitable for synthetic assets. The liquidity is super concentrated at some price like Curve Finance.\",\"RxHSET\":\"LP Balance:\",\"S3piC2\":\"Tx\",\"S8G1qk\":\"Single\",\"SXnevP\":\"Review Cross Chain\",\"SbBMxj\":\"Share of pool\",\"Search by address\":\"Search by address\",\"Sta9CR\":\"Enter a percent\",\"Staked\":\"Staked\",\"Start Time\":\"Start Time\",\"Sti4vy\":\"Mining\",\"T+qgFw\":\"Price Impact\",\"T0Y2+3\":\"Select a token\",\"TFOxRM\":\"Mins\",\"TGi+jm\":\"Doc\",\"TJBHlP\":\"Standard\",\"TP9/K5\":\"Token\",\"TTlkRL\":\"Lower than dynamic slippage\",\"TVL\":\"TVL\",\"TY5fM3\":\"LP Tokens\",\"TaScUS\":[\"Users sell \",[\"0\"],\" amount:\"],\"TizaRy\":\"Wallet incompatibility\",\"TvH4Ym\":[\"Bought \",[\"0\"],\" \",[\"1\"],\", price in the pool decreased to \",[\"2\"]],\"Tz0i8g\":\"Settings\",\"UE2beD\":\"Creator\",\"UN0Nip\":\"Reward Rules\",\"UPXmW+\":\"Trader\",\"URmyfc\":\"Details\",\"UbRKMZ\":\"Pending\",\"Upcoming\":\"Upcoming\",\"Users\":\"Users\",\"Uzr1HF\":[\"Connect to your \",[\"0\"],\" Wallet\"],\"V+rJKF\":\"Seconds\",\"V38hNQ\":\"Single-Token Stake Mining\",\"VXTSOE\":\"Suitable for most situations.\",\"Vmw6BM\":\"Something went wrong…<0>Refresh again\",\"WI3lQ1\":\"SELECT\",\"WKj93T\":\"Select Token\",\"WYqq5A\":\"End mining\",\"WgTuci\":[\"Your position will be 100% composed of \",[\"0\"],\" at this price\"],\"When adding rewards, the number of rewards for a single block may be adjusted\":\"When adding rewards, the number of rewards for a single block may be adjusted\",\"X6T02b\":\"This pool must be initialized before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount. Gas fees will be higher than usual due to the initialization transaction.\",\"XPiFIY\":\"Can the pool price be adjusted?\",\"XeovX3\":\"Swap Detail\",\"Xpkm7d\":\"No ForceStop access\",\"Y0Knz4\":\"Checking this option means that the routing algorithm will only route to liquidity pools between the two tokens in the trading pair and will ignore routes with any intermediary tokens.\",\"Y7rVy0\":\"Fee Rate\",\"Y9QDtD\":\"You are making changes to the liquidity of a private pool. This is a highly discretionary operation that may cause substantial inflows/outflows of funds and changes in market prices. Please make sure you are fully aware of the implications of each parameter modification.\",\"YA4hwj\":\"Price Range\",\"YG004A\":[[\"0\"],\" deposited\"],\"YHc3B+\":\"My Liquidity\",\"YHpbe1\":\"For\",\"YUyuNp\":[[\"lqAndDodoCompareText\"],\" Price Difference\"],\"You are not currently providing liquidity for any LP pools.\":\"You are not currently providing liquidity for any LP pools.\",\"You have not create any mining\":\"You have not create any mining\",\"YvXHDU\":[\"The area of the chart indicates the buy/sell volume of \",[\"0\"],\" that can be carried by the market when the current price changes to the hover price.\"],\"Z033WN\":\"Total Swap Fee\",\"Z5HWHd\":\"On\",\"Z7ZXbT\":\"Approve\",\"Z8lGw6\":\"Share\",\"ZXvy7b\":\"Additional routing fees set by the Widget user\",\"ZgtZpB\":\"The start time is too soon, please set a later time\",\"ZhEBp4\":\"Current liquidity pool token price\",\"ZlKTEh\":[\"Reward \",[\"0\"]],\"ZlQ83E\":[\"<0>\",[\"lostRatio\"],\" of the initial liquidity you provide will be burned. <1/>The closer the provided asset ratio is to the recommended ratio (\",[\"recommendRatioText\"],\"), the smaller the portion burned.\"],\"Zm56FI\":\"Maximum slippage do not exceed 50%\",\"a1AzKr\":\"For those who are looking to sell tokens and only need ask-side liquidity.\",\"a7u1N9\":\"Price\",\"aIvv/z\":\"The price of this pool is within your selected range. Your position is currently earning fees.\",\"aM1tos\":\"You are creating a pool\",\"ab98Hp\":[\"Created by \",[\"0\"]],\"agPptk\":\"Medium\",\"agRWc1\":\"Minutes\",\"az8lvo\":\"Off\",\"b+KjnH\":\"Your position will not earn fees or be used in trades until the market price moves into your range.\",\"b2jAb+\":\"per\",\"bC0iyq\":\"Suitable for stablecoins with price fluctuations within 10%\",\"bEsfUQ\":\"Confirm submission\",\"bQ3cKo\":\"Select pool by tokens\",\"bUUVED\":\"Asset\",\"bwSQI0\":\"Supply\",\"c4miqE\":\"Pool share\",\"c6TMm0\":\"Mining Type\",\"cDWXuq\":\"Settler\",\"cJtosk\":\"Remove liquidity\",\"cOvZFM\":\"Dynamic\",\"cmUrtC\":\"SEE HOW IT WORKS\",\"cnGeoo\":\"Delete\",\"cnbRVW\":[\"Initial Price \",[\"0\"],\" \",[\"1\"],\" = \",[\"2\"],\" \",[\"3\"]],\"d2CZvA\":\"Initial Price\",\"d8YnVj\":\"Guide Price\",\"dEgA5A\":\"Cancel\",\"dI46oG\":\"Auto switch network\",\"dJqd5x\":[\"Get \",[\"tokenSymbol\"]],\"dUdltF\":\"One-Click Claim\",\"dmiCGN\":\"Select Token Pair\",\"dqWPbT\":\"I have read, understand, and agree to the <0>Terms of Service.\",\"dzV+zO\":\"Modify Confirmation\",\"e38JNU\":\"Tips:\",\"eE0JZ4\":\"Version\",\"eK0eiF\":\"Initial asset ratio\",\"eK6I8d\":\"V2 & PMM\",\"ePK91l\":\"Edit\",\"eTUF28\":\"Min\",\"eVZ7bY\":\"Hide TVL=0 pools\",\"em6LzM\":\"Transaction rejected.\",\"evmVGu\":[\"\\\"Created by \",[\"0\"]],\"fKYdE9\":\"Results in a more volatile price.\",\"fSFt4a\":\"Token Pair\",\"fZ5Vnu\":\"Received\",\"fZFkP1\":\"My Pools\",\"fgGids\":[\"Approve \",[\"0\"]],\"fqDzSu\":\"Rate\",\"fsBGk0\":\"Balance\",\"fxRyGG\":\"fee tier\",\"g3x+cF\":\"Service update, please wait and try again\",\"gz+9Rb\":\"Gas price is too low, please adjust in your wallet and try again\",\"h3PbRN\":\"My Pool Share\",\"h4RLFN\":\"RPC node data exception\",\"h5FVz1\":\"Estimated transaction time\",\"h5pjuM\":\"Collect fees\",\"h7LgzN\":\"Connect to your wallet\",\"hCBYHP\":\"Total Fee Revenue\",\"hXzOVo\":\"Next\",\"hYgDIe\":\"Create\",\"hcNa1G\":\"Token Amount\",\"hdIg7i\":\"Select Pool Version\",\"hom7qf\":\"Claim\",\"i3Z+/Z\":\"Out of range\",\"iDGO1l\":\"Disclaimer\",\"iH8pgl\":\"Back\",\"iLj1a9\":[\"Dynamic slippage is \",[\"recommendSlippage\"],\"%,the current slippage setting is higher than the dynamic slippage, which means you are willing to accept a worse final execution price.\"],\"iPMIoT\":\"Enter an amount\",\"iaocTt\":\"Ratio\",\"j2Uisd\":\"Approving\",\"jMam5g\":[[\"0\"],\" Balance\"],\"jjuKOj\":\"Min Price\",\"juypHV\":\"Liquidity Providers\",\"kAC8rT\":\"High price\",\"kNeEXg\":\"Current Price\",\"kdzjmC\":[\"The mid price needs to be greater than \",[\"min\"],\" and less than 100,000,000\"],\"kf83Ld\":\"Something went wrong.\",\"kj3p6e\":\"Daily Rewards\",\"ku//5b\":\"Second\",\"l4Za6X\":\"Total Swap Volume\",\"lDgVWA\":\"Receive\",\"lJvbHq\":\"Select Network\",\"lNYomJ\":\"AMM V2 Position\",\"lQ6r7x\":\"Confirm swap\",\"lgE483\":\"Once created, the price cannot be changed. This option applies to assets like ETH-WETH.\",\"lqTDfd\":\"Slippage Tolerance\",\"lsg9Mi\":\"Parameter Settings\",\"lt8yMa\":\"Send to:\",\"luOvdJ\":\"My Staked\",\"m16xKo\":\"Add\",\"m6RmA/\":[\"Insufficient \",[\"0\"],\" balance\"],\"m8r/Yx\":\"AMM V3\",\"mFXnIs\":\"The dynamic slippage is provided by DODO team through analyzing historical transactions.\",\"mObS+5\":\"Failed to get price of the token\",\"mYGY3B\":\"Date\",\"mZ4SrP\":\"Liquidity Pool\",\"me2dmq\":\"Value (USD)\",\"n25Lml\":\"Depth\",\"nIrcQi\":\"No matching pool found\",\"nTWWCZ\":\"Low\",\"nxRg31\":\"Select pair\",\"o/5/4c\":\"Once Mining has started, it cannot be stopped.\",\"o8aMNm\":\"Select a liquidity pool\",\"om+Yr9\":\"Do not select non-standard ERC20 tokens as this may lead to unknown errors!\",\"p2jbcE\":\"Create Pool\",\"p3607o\":\"Managing\",\"p7/w10\":\"Volume (24H)\",\"pHQq+U\":\"Pool Setup\",\"pKjCsP\":\"100% use your own funds and enjoy the maximum degree of flexibility.\",\"pQJBKk\":[\"The closer the provided asset ratio is to the recommended ratio (\",[\"recommendRatioText\"],\"), the smaller the portion burned.\"],\"pSQ1lM\":\"MT Fee\",\"pY/ok7\":\"All chains\",\"pdZiL7\":\"Current Market Price:\",\"peTryP\":[[\"0\"],\"-\",[\"1\"],\" is not supported. Please select another pair.\"],\"pwUZo2\":\"Confirming...\",\"q+Q952\":[\"Users pay \",[\"0\"],\" \",[\"1\"],\" and receive \",[\"2\"],\" \",[\"3\"],\"\\\\nPrice \",[\"4\"],\" (\",[\"5\"],\"%)\"],\"qDhDFK\":\"Traders\",\"qK7wuW\":\"Unable to SETTLE during the cooling-off period\",\"qiOIiY\":\"Buy\",\"qmYDVk\":\"Total Rewards\",\"r7ScnQ\":\"Connect to a wallet\",\"rAx5u1\":\"End Time\",\"rH6vg9\":\"There is no liquidity data.\",\"rQ9c+8\":[\"Output is estimated. If the price changes by more than \",[\"0\"],\" your transaction will revert.\"],\"rRDi3Y\":\"Detail\",\"rSayea\":\"APY\",\"rbsyJM\":\"AMM V2\",\"rdUucN\":\"Preview\",\"sCUx8G\":\"Select Platform\",\"sIPJGT\":\"SELECT TOKEN\",\"sNaLCG\":\"Add Token\",\"sTnImq\":\"Total Liquidity\",\"sVlqoo\":\"AMM V3 Position\",\"sjn3tj\":\"Slippage Coefficient\",\"sxkWRg\":\"Advanced\",\"syToc5\":[[\"0\"],\"/\",[\"1\"],\" Pool Tokens\"],\"t+LmjM\":\"Initial Price Alert\",\"t/YqKh\":\"Remove\",\"t3d3/V\":\"ratio is 0\",\"tKE4Ak\":\"Cross Chain Summary\",\"tMMG40\":[[\"0\"],\"% fee tier\"],\"tMVAXL\":\"SafeERC20: low-level call failed. Please contact the DODO team.\",\"tnRI9r\":\"Pool Creation Confirmation\",\"tu/fxg\":\"Claim fees\",\"tyGEMJ\":\"Amounts\",\"u1tnst\":\"Create One\",\"uAQUqI\":\"Status\",\"uEoBVI\":\"Low price\",\"uaKP0s\":[\"differs from the price quoted by DODO by \",[\"lqAndDodoCompareText\"]],\"ubzjDN\":\"Real Time\",\"udsWDJ\":\"Unsupported network - switch to trade\",\"uiuMDr\":\"Enter parameters to view the yield curve\",\"ukTFO0\":\"Description of this type of pool\",\"v4nCHK\":\"Paid\",\"v4wgrk\":\"Failed to add\",\"vH2C/2\":\"Swap\",\"vLyv1R\":\"Hide\",\"vOyUlD\":\"In range\",\"vXvgFK\":\"There is risk of being arbitraged if adding this liquidity.\",\"vxHMzr\":\"address\",\"wSpNR+\":\"This trading pair does not have enough historical data and has used the default dynamic slippage.\",\"wckWOP\":\"Manage\",\"wdxz7K\":\"Source\",\"wmCrk7\":\"You may modify the transaction deadline, the maximum time allowed for a trade to be processed on-chain. However, please note that this may lead to your trade executing at a subpar price, as the market price may change during that time.\",\"wtjDAR\":[[\"0\"],\" Approval Pending\"],\"x3muNy\":\"Liquidity Burn Ratio\",\"x4QVeW\":\"Percentage to remove\",\"x6GJ4a\":\"Max Slippage\",\"xEbi+8\":\"User denied transaction signature.\",\"y1eoq1\":\"Copy link\",\"y4kfSV\":\"WARNING\",\"yM82Jw\":\"ForceStop exception\",\"yQ2kGp\":\"Load more\",\"yQE2r9\":\"Loading\",\"yXm1vH\":\"The initial price is different from the current market price, which may cause your pool to be arbitraged\",\"yY8wAv\":\"Hours\",\"yoR+O6\":\"V3\",\"yq+Q9s\":[\"Dynamic slippage is \",[\"recommendSlippage\"],\"% , the current slippage setting may increase the failure rate of transactions.\"],\"yx/fMc\":\"High\",\"yz7wBu\":\"Close\",\"yzjPpo\":\"Fees will be the same as in most other pools.\",\"z9t6jM\":\"Mining Pool\",\"zA6/Yq\":\"To avoid loss of rewards, please ensure that at least 1 or more participating users exist.\",\"zABfk1\":\"https://blog.dodoex.io/introducing-the-dodo-smart-slippage-3d32d13a4fef\",\"zSMRJ/\":\"Transaction Deadline\",\"zXCpR0\":\"Claim Rewards\",\"zcVtwU\":\"My Pools (PMM)\",\"zeSosD\":\"Starting price\",\"zkFuIm\":\"Total Rewards=Daily Rewards*Duration\",\"znqB4T\":\"Insufficient balance\",\"zwBp5t\":\"Private\",\"zwWKhA\":\"Learn more\"}")}; \ No newline at end of file diff --git a/packages/dodoex-widgets/src/locales/en-US.po b/packages/dodoex-widgets/src/locales/en-US.po index 942c0984..5cd2da6c 100644 --- a/packages/dodoex-widgets/src/locales/en-US.po +++ b/packages/dodoex-widgets/src/locales/en-US.po @@ -30,7 +30,7 @@ msgstr "Cross Chain" msgid "99% Default" msgstr "99% Default" -#: src/components/Swap/index.tsx:518 +#: src/components/Swap/index.tsx:526 msgid "The current slippage protection coefficient set exceeds {maxSlippageWarning}%, which may result in losses." msgstr "The current slippage protection coefficient set exceeds {maxSlippageWarning}%, which may result in losses." @@ -54,7 +54,7 @@ msgstr "Volume" msgid "To" msgstr "To" -#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:411 +#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:436 msgid "Receive {0}" msgstr "Receive {0}" @@ -62,9 +62,9 @@ msgstr "Receive {0}" msgid "{0} pending" msgstr "{0} pending" -#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:447 -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:343 -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:711 +#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:461 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:351 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:744 msgid "Removing" msgstr "Removing" @@ -72,7 +72,7 @@ msgstr "Removing" msgid "Traders sold ‪{0}‬ {1}, price in the pool increased to {2}" msgstr "Traders sold ‪{0}‬ {1}, price in the pool increased to {2}" -#: src/components/Swap/components/TokenCard/BalanceText.tsx:52 +#: src/components/Swap/components/TokenCard/BalanceText.tsx:61 #: src/widgets/MiningWidget/MiningCreate/operate-widgets/RewardForm.tsx:248 msgid "Balance:" msgstr "Balance:" @@ -111,7 +111,7 @@ msgstr "{tokenB} per {tokenA}" msgid "Create Liquidity Mining" msgstr "Create Liquidity Mining" -#: src/widgets/PoolWidget/AMMV2Create/index.tsx:343 +#: src/widgets/PoolWidget/AMMV2Create/index.tsx:352 #: src/widgets/PoolWidget/PoolOperate/components/LiquidityInfo.tsx:336 msgid "By adding liquidity you’ll earn <0>{0} of all trades on this pair proportional to your share of the pool. Fees are added to the pool, accrue in real time and can be claimed by withdrawing your liquidity." msgstr "By adding liquidity you’ll earn <0>{0} of all trades on this pair proportional to your share of the pool. Fees are added to the pool, accrue in real time and can be claimed by withdrawing your liquidity." @@ -127,10 +127,10 @@ msgstr "Start Time" msgid "Dismiss" msgstr "Dismiss" -#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:248 -#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:390 -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:288 -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:597 +#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:243 +#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:404 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:284 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:630 msgid "Pool Type" msgstr "Pool Type" @@ -139,9 +139,9 @@ msgstr "Pool Type" msgid "Unstaking" msgstr "Unstaking" -#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:450 -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:346 -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:714 +#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:464 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:354 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:747 msgid "Adding" msgstr "Adding" @@ -187,7 +187,7 @@ msgid "Do not remind again" msgstr "Do not remind again" #: src/widgets/PoolWidget/AMMV3/AMMV3PositionManage.tsx:370 -#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:261 +#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:268 msgid "Remove Liquidity" msgstr "Remove Liquidity" @@ -196,7 +196,7 @@ msgid "Search by address" msgstr "Search by address" #: src/widgets/PoolWidget/PoolCreate/components/StepTitle.tsx:45 -#: src/widgets/PoolWidget/PoolCreate/index.tsx:335 +#: src/widgets/PoolWidget/PoolCreate/index.tsx:378 msgid "Asset ratio within the pool" msgstr "Asset ratio within the pool" @@ -208,12 +208,12 @@ msgstr "Asset ratio within the pool" msgid "Rewards" msgstr "Rewards" -#: src/components/Swap/SwapOrderHistory/index.tsx:72 +#: src/components/Swap/SwapOrderHistory/index.tsx:73 msgid "Pay" msgstr "Pay" -#: src/components/Swap/components/ReviewDialog.tsx:337 -#: src/components/Swap/index.tsx:443 +#: src/components/Swap/components/ReviewDialog.tsx:342 +#: src/components/Swap/index.tsx:444 msgid "Due to the market condition, market price and estimated price may have a slight difference" msgstr "Due to the market condition, market price and estimated price may have a slight difference" @@ -238,7 +238,7 @@ msgstr "{0} confirmed" msgid "Creation Time" msgstr "Creation Time" -#: src/components/Swap/index.tsx:550 +#: src/components/Swap/index.tsx:558 msgid "The current network is inconsistent with the wallet - please switch in wallet" msgstr "The current network is inconsistent with the wallet - please switch in wallet" @@ -263,7 +263,7 @@ msgid "Expected to start at block {0} and end at block {1}. There may be slight msgstr "Expected to start at block {0} and end at block {1}. There may be slight differences between actual and expected block numbers." #: src/components/chart/i18n.ts:19 -#: src/widgets/PoolWidget/PoolCreate/index.tsx:184 +#: src/widgets/PoolWidget/PoolCreate/index.tsx:193 msgid "The token amount is calculated by initial price." msgstr "The token amount is calculated by initial price." @@ -275,7 +275,7 @@ msgstr "Max price" msgid "Staked Tokens" msgstr "Staked Tokens" -#: src/components/Swap/index.tsx:451 +#: src/components/Swap/index.tsx:452 msgid "Current price impact" msgstr "Current price impact" @@ -297,12 +297,12 @@ msgstr "Hour" #: src/widgets/PoolWidget/PoolCreate/components/ConfirmInfoDialog.tsx:169 #: src/widgets/PoolWidget/PoolCreate/components/StepTitle.tsx:28 -#: src/widgets/PoolWidget/PoolCreate/index.tsx:305 +#: src/widgets/PoolWidget/PoolCreate/index.tsx:348 msgid "Pricing Model" msgstr "Pricing Model" #: src/widgets/PoolWidget/PoolCreate/components/DepthAndLiquidityChart.tsx:74 -#: src/widgets/PoolWidget/PoolList/index.tsx:177 +#: src/widgets/PoolWidget/PoolList/index.tsx:218 #: src/widgets/PoolWidget/PoolOperate/hooks/usePoolOrMiningTabs.ts:17 msgid "Liquidity" msgstr "Liquidity" @@ -347,10 +347,6 @@ msgstr "Fee includes: Cross Chain fees + Swap fees. Gas fee not included." msgid "Confirm" msgstr "Confirm" -#: src/components/Swap/index.tsx:1017 -msgid "Powered by DODO protocol" -msgstr "Powered by DODO protocol" - #: src/widgets/PoolWidget/PoolDetail/components/Overview.tsx:73 msgid "Fees (24H)" msgstr "Fees (24H)" @@ -379,7 +375,7 @@ msgid "Pool Creation" msgstr "Pool Creation" #: src/components/Swap/components/SwapSettingsDialog/SlippageSetting.tsx:411 -#: src/widgets/PoolWidget/AMMV2Create/FeeEdit.tsx:198 +#: src/widgets/PoolWidget/AMMV2Create/FeeEdit.tsx:221 #: src/widgets/PoolWidget/PoolCreate/components/SelectAndInput.tsx:52 msgid "Custom" msgstr "Custom" @@ -388,11 +384,11 @@ msgstr "Custom" msgid "Higher than dynamic slippage" msgstr "Higher than dynamic slippage" -#: src/components/Swap/components/ReviewDialog.tsx:272 +#: src/components/Swap/components/ReviewDialog.tsx:277 msgid "Estimated service provider fees" msgstr "Estimated service provider fees" -#: src/components/Swap/components/ReviewDialog.tsx:270 +#: src/components/Swap/components/ReviewDialog.tsx:275 msgid "Basic Fee" msgstr "Basic Fee" @@ -455,9 +451,9 @@ msgstr "Amount of token rewards" msgid "No results found" msgstr "No results found" -#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:386 -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:297 -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:593 +#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:400 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:305 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:626 msgid "Pair" msgstr "Pair" @@ -485,7 +481,7 @@ msgstr "This CP has been settled by other addrs" msgid "Liquidity Supplied" msgstr "Liquidity Supplied" -#: src/components/Swap/components/TokenCard/BalanceText.tsx:84 +#: src/components/Swap/components/TokenCard/BalanceText.tsx:93 msgid "Max" msgstr "Max" @@ -494,7 +490,7 @@ msgid "Go back" msgstr "Go back" #: src/components/Bridge/BridgeSummaryDialog/BridgeSummaryDetail.tsx:276 -#: src/components/Swap/components/ReviewDialog.tsx:357 +#: src/components/Swap/components/ReviewDialog.tsx:362 #: src/components/Swap/components/SwapSettingsDialog/SlippageCurveChart/index.tsx:123 msgid "Slippage" msgstr "Slippage" @@ -555,7 +551,7 @@ msgstr "Current price" msgid "Swap Rate" msgstr "Swap Rate" -#: src/widgets/PoolWidget/PoolDetail/index.tsx:155 +#: src/widgets/PoolWidget/PoolDetail/index.tsx:162 #: src/widgets/PoolWidget/PoolModify/index.tsx:436 msgid "Pool not found. Please switch to another network and retry." msgstr "Pool not found. Please switch to another network and retry." @@ -584,11 +580,11 @@ msgstr "The area of the chart indicates the buy/sell volume of {baseSymbol} that msgid "Added successful" msgstr "Added successful" -#: src/widgets/PoolWidget/PoolCreate/index.tsx:485 +#: src/widgets/PoolWidget/PoolCreate/index.tsx:528 msgid "Add Initial Liquidity" msgstr "Add Initial Liquidity" -#: src/widgets/PoolWidget/AMMV2Create/index.tsx:207 +#: src/widgets/PoolWidget/AMMV2Create/index.tsx:202 #: src/widgets/PoolWidget/AMMV3/AddLiquidityV3.tsx:333 #: src/widgets/PoolWidget/AMMV3/AMMV3PositionManage.tsx:479 #: src/widgets/PoolWidget/AMMV3/components/ReviewModal.tsx:40 @@ -623,7 +619,7 @@ msgstr "Swaps" msgid "Edit" msgstr "Edit" -#: src/widgets/PoolWidget/PoolList/components/CreatePoolBtn.tsx:109 +#: src/widgets/PoolWidget/PoolList/components/CreatePoolBtn.tsx:136 msgid "PMM Pool" msgstr "PMM Pool" @@ -670,13 +666,13 @@ msgstr "More trade settings" msgid "Insufficient cross-chain fees, need at least {0} {1}" msgstr "Insufficient cross-chain fees, need at least {0} {1}" -#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:301 -#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:394 +#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:308 +#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:408 #: src/widgets/PoolWidget/PoolList/components/LoadingCard.tsx:77 -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:199 -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:300 -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:343 -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:602 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:208 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:308 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:357 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:635 msgid "TVL" msgstr "TVL" @@ -690,7 +686,7 @@ msgstr "Add Position" msgid "Emulator" msgstr "Emulator" -#: src/components/Swap/index.tsx:706 +#: src/components/Swap/index.tsx:728 msgid "Transaction Pending" msgstr "Transaction Pending" @@ -705,7 +701,7 @@ msgstr "on" msgid "Suitable for stablecoins with price fluctuations within 2%" msgstr "Suitable for stablecoins with price fluctuations within 2%" -#: src/components/Swap/components/ReviewDialog.tsx:360 +#: src/components/Swap/components/ReviewDialog.tsx:365 msgid "High slippage tolerance will increase the success rate of transaction, but might not get the best quote." msgstr "High slippage tolerance will increase the success rate of transaction, but might not get the best quote." @@ -738,7 +734,7 @@ msgstr "My Positions" msgid "Day" msgstr "Day" -#: src/components/Swap/components/SwapSettingsDialog/index.tsx:128 +#: src/components/Swap/components/SwapSettingsDialog/index.tsx:132 msgid "minutes" msgstr "minutes" @@ -776,7 +772,7 @@ msgstr "Invite" msgid "The price of this pool is outside of your selected range. Your position is not currently earning fees." msgstr "The price of this pool is outside of your selected range. Your position is not currently earning fees." -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:559 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:592 msgid "{0}" msgstr "{0}" @@ -784,7 +780,7 @@ msgstr "{0}" msgid "Connecting..." msgstr "Connecting..." -#: src/components/Swap/components/ReviewDialog.tsx:300 +#: src/components/Swap/components/ReviewDialog.tsx:305 msgid "Additional Fee" msgstr "Additional Fee" @@ -813,13 +809,13 @@ msgstr "End release time before adjustment" msgid "Stake" msgstr "Stake" -#: src/widgets/PoolWidget/PoolOperate/AddPoolOperate.tsx:265 -#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:563 +#: src/widgets/PoolWidget/PoolOperate/AddPoolOperate.tsx:278 +#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:588 msgid "Price discrepancy {lqAndDodoCompareText} between liquidity pool and the quote price on DODO." msgstr "Price discrepancy {lqAndDodoCompareText} between liquidity pool and the quote price on DODO." -#: src/components/Swap/components/TokenPairPriceWithToggle.tsx:52 -#: src/components/Swap/index.tsx:571 +#: src/components/Swap/components/TokenPairPriceWithToggle.tsx:66 +#: src/components/Swap/index.tsx:579 msgid "Fetching best price..." msgstr "Fetching best price..." @@ -839,7 +835,7 @@ msgstr "*Collecting fees will withdraw currently available fees for you." msgid "Related CrowdPooling" msgstr "Related CrowdPooling" -#: src/components/Swap/index.tsx:795 +#: src/components/Swap/index.tsx:848 msgid "Review Swap" msgstr "Review Swap" @@ -876,7 +872,7 @@ msgstr "Any Ratio" msgid "Once created, you can adjust the pool’s market-making price at any time. This option is suitable for assets with fluctuating pegged prices. Adjusting the pool’s market-making price allows for more competitive quotes." msgstr "Once created, you can adjust the pool’s market-making price at any time. This option is suitable for assets with fluctuating pegged prices. Adjusting the pool’s market-making price allows for more competitive quotes." -#: src/components/Swap/index.tsx:713 +#: src/components/Swap/index.tsx:741 msgid "Select Tokens" msgstr "Select Tokens" @@ -902,7 +898,7 @@ msgstr "Suitable for stablecoins with price fluctuations within 0.5%" msgid "The slippage coefficient needs to be greater than 0, and less than 0.1." msgstr "The slippage coefficient needs to be greater than 0, and less than 0.1." -#: src/widgets/PoolWidget/AMMV2Create/FeeEdit.tsx:233 +#: src/widgets/PoolWidget/AMMV2Create/FeeEdit.tsx:256 msgid "The fee tier should greater than {0}%" msgstr "The fee tier should greater than {0}%" @@ -931,12 +927,12 @@ msgstr "Owner" msgid "The pegged exchange rate refers to the exchange rate between two token assets where one's value is pegged/fixed by the other. For example, the pegged exchange rate between the US Dollar and USDT is 1." msgstr "The pegged exchange rate refers to the exchange rate between two token assets where one's value is pegged/fixed by the other. For example, the pegged exchange rate between the US Dollar and USDT is 1." -#: src/widgets/PoolWidget/AMMV2Create/index.tsx:278 +#: src/widgets/PoolWidget/AMMV2Create/index.tsx:272 #: src/widgets/PoolWidget/AMMV3/AddLiquidityV3.tsx:591 msgid "Deposit amounts" msgstr "Deposit amounts" -#: src/components/Swap/components/SwapSettingsDialog/index.tsx:177 +#: src/components/Swap/components/SwapSettingsDialog/index.tsx:181 msgid "Disable Indirect Routing" msgstr "Disable Indirect Routing" @@ -967,17 +963,13 @@ msgstr "My Pools" msgid "Share Of Pool" msgstr "Share Of Pool" -#: src/components/Swap/index.tsx:893 -msgid "The setting has been switched to swap mode" -msgstr "The setting has been switched to swap mode" - -#: src/components/Swap/components/TokenPairPriceWithToggle.tsx:61 -#: src/components/Swap/index.tsx:626 -#: src/components/Swap/index.tsx:755 +#: src/components/Swap/components/TokenPairPriceWithToggle.tsx:75 +#: src/components/Swap/index.tsx:634 +#: src/components/Swap/index.tsx:802 msgid "Quote not available" msgstr "Quote not available" -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:980 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:1054 msgid "My pool share" msgstr "My pool share" @@ -986,7 +978,7 @@ msgstr "My pool share" msgid "Learn More" msgstr "Learn More" -#: src/widgets/PoolWidget/PoolCreate/operate-widgets/RatioSetting.tsx:349 +#: src/widgets/PoolWidget/PoolCreate/operate-widgets/RatioSetting.tsx:350 msgid "Use the recommended ratio" msgstr "Use the recommended ratio" @@ -999,16 +991,16 @@ msgstr "Stake LP tokens and receive mining rewards." msgid "No LP pools match your criteria" msgstr "No LP pools match your criteria" -#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:218 -#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:555 -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:258 -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:814 +#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:213 +#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:582 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:254 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:866 msgid "Fee rate" msgstr "Fee rate" #: src/widgets/PoolWidget/AMMV3/AMMV3PositionManage.tsx:303 -#: src/widgets/PoolWidget/PoolList/hooks/usePoolListTabs.ts:25 -#: src/widgets/PoolWidget/PoolOperate/AddPoolOperate.tsx:124 +#: src/widgets/PoolWidget/PoolList/hooks/usePoolListTabs.tsx:51 +#: src/widgets/PoolWidget/PoolOperate/AddPoolOperate.tsx:125 msgid "Add Liquidity" msgstr "Add Liquidity" @@ -1036,7 +1028,7 @@ msgstr "If there are no participants before the end, the rewards cannot be taken msgid "Your position will appear here." msgstr "Your position will appear here." -#: src/components/Swap/index.tsx:740 +#: src/components/Swap/index.tsx:782 msgid "Fetching Price..." msgstr "Fetching Price..." @@ -1058,12 +1050,12 @@ msgstr "Fresh Mining" msgid "LP Fee" msgstr "LP Fee" -#: src/widgets/PoolWidget/PoolCreate/operate-widgets/RatioSetting.tsx:208 +#: src/widgets/PoolWidget/PoolCreate/operate-widgets/RatioSetting.tsx:209 msgid "Ratio Settings" msgstr "Ratio Settings" #: src/components/Bridge/BridgeSummaryDialog/index.tsx:147 -#: src/components/Swap/components/ReviewDialog.tsx:443 +#: src/components/Swap/components/ReviewDialog.tsx:448 #: src/widgets/MiningWidget/MiningCreate/operate-widgets/BottomButtonGroup.tsx:367 msgid "Confirming" msgstr "Confirming" @@ -1094,12 +1086,12 @@ msgid "Confirm Cross Chain" msgstr "Confirm Cross Chain" #. js-lingui-explicit-id -#: src/components/Swap/components/ReviewDialog.tsx:421 +#: src/components/Swap/components/ReviewDialog.tsx:426 msgid "Price impact reaches <0>{priceImpact}%, accept the quote" msgstr "Price impact reaches <0>{priceImpact}%, accept the quote" -#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:322 -#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:401 +#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:336 +#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:415 msgid "Volume (1D)" msgstr "Volume (1D)" @@ -1108,7 +1100,7 @@ msgid "Estimated Time" msgstr "Estimated Time" #: src/widgets/PoolWidget/PoolCreate/hooks/useVersionList.ts:19 -#: src/widgets/PoolWidget/PoolList/index.tsx:178 +#: src/widgets/PoolWidget/PoolList/index.tsx:219 msgid "Classical AMM-like pool. Suitable for most assets." msgstr "Classical AMM-like pool. Suitable for most assets." @@ -1124,7 +1116,7 @@ msgstr "You will also claim all rewards from this pool." msgid "The creator of the liquidity pool can adjust the liquidity distribution by modifying the market-making price parameters. <0>Learn more" msgstr "The creator of the liquidity pool can adjust the liquidity distribution by modifying the market-making price parameters. <0>Learn more" -#: src/widgets/PoolWidget/AMMV2Create/index.tsx:389 +#: src/widgets/PoolWidget/AMMV2Create/index.tsx:398 #: src/widgets/PoolWidget/AMMV3/hooks/useV3DerivedMintInfo.tsx:523 msgid "Invalid pair" msgstr "Invalid pair" @@ -1168,7 +1160,7 @@ msgstr "Tx" msgid "Single" msgstr "Single" -#: src/components/Swap/index.tsx:785 +#: src/components/Swap/index.tsx:836 msgid "Review Cross Chain" msgstr "Review Cross Chain" @@ -1196,15 +1188,15 @@ msgstr "Staked" msgid "Start Time" msgstr "Start Time" -#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:174 -#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:605 -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:214 -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:868 +#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:181 +#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:647 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:222 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:935 #: src/widgets/PoolWidget/PoolOperate/hooks/usePoolOrMiningTabs.ts:20 msgid "Mining" msgstr "Mining" -#: src/components/Swap/components/ReviewDialog.tsx:334 +#: src/components/Swap/components/ReviewDialog.tsx:339 msgid "Price Impact" msgstr "Price Impact" @@ -1238,7 +1230,7 @@ msgstr "Lower than dynamic slippage" msgid "TVL" msgstr "TVL" -#: src/widgets/PoolWidget/PoolOperate/index.tsx:114 +#: src/widgets/PoolWidget/PoolOperate/index.tsx:115 msgid "LP Tokens" msgstr "LP Tokens" @@ -1272,8 +1264,8 @@ msgstr "Reward Rules" msgid "Trader" msgstr "Trader" -#: src/components/Swap/SwapOrderHistory/index.tsx:113 -#: src/components/Swap/SwapOrderHistory/SameOrderCard.tsx:55 +#: src/components/Swap/SwapOrderHistory/index.tsx:114 +#: src/components/Swap/SwapOrderHistory/SameOrderCard.tsx:54 #: src/widgets/MiningWidget/OperateArea/AssociateMine.tsx:269 #: src/widgets/PoolWidget/AMMV3/components/PositionAmountPreview.tsx:195 #: src/widgets/PoolWidget/PoolOperate/components/LiquidityInfo.tsx:400 @@ -1347,7 +1339,7 @@ msgstr "This pool must be initialized before you can add liquidity. To initializ msgid "Can the pool price be adjusted?" msgstr "Can the pool price be adjusted?" -#: src/components/Swap/components/ReviewDialog.tsx:243 +#: src/components/Swap/components/ReviewDialog.tsx:248 msgid "Swap Detail" msgstr "Swap Detail" @@ -1355,7 +1347,7 @@ msgstr "Swap Detail" msgid "No ForceStop access" msgstr "No ForceStop access" -#: src/components/Swap/components/SwapSettingsDialog/index.tsx:180 +#: src/components/Swap/components/SwapSettingsDialog/index.tsx:184 msgid "Checking this option means that the routing algorithm will only route to liquidity pools between the two tokens in the trading pair and will ignore routes with any intermediary tokens." msgstr "Checking this option means that the routing algorithm will only route to liquidity pools between the two tokens in the trading pair and will ignore routes with any intermediary tokens." @@ -1363,7 +1355,7 @@ msgstr "Checking this option means that the routing algorithm will only route to #: src/widgets/PoolWidget/PoolCreate/components/FeeRateCard.tsx:57 #: src/widgets/PoolWidget/PoolCreate/components/StepTitle.tsx:30 #: src/widgets/PoolWidget/PoolCreate/components/StepTitle.tsx:38 -#: src/widgets/PoolWidget/PoolCreate/index.tsx:323 +#: src/widgets/PoolWidget/PoolCreate/index.tsx:366 #: src/widgets/PoolWidget/PoolDetail/components/MoreDetail/ParametersTable.tsx:582 #: src/widgets/PoolWidget/PoolDetail/components/MoreDetail/SwapsTable.tsx:187 #: src/widgets/PoolWidget/PoolModify/index.tsx:260 @@ -1376,8 +1368,8 @@ msgstr "Fee Rate" msgid "You are making changes to the liquidity of a private pool. This is a highly discretionary operation that may cause substantial inflows/outflows of funds and changes in market prices. Please make sure you are fully aware of the implications of each parameter modification." msgstr "You are making changes to the liquidity of a private pool. This is a highly discretionary operation that may cause substantial inflows/outflows of funds and changes in market prices. Please make sure you are fully aware of the implications of each parameter modification." -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:515 -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:616 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:547 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:649 msgid "Price Range" msgstr "Price Range" @@ -1386,11 +1378,11 @@ msgstr "Price Range" msgid "{0} deposited" msgstr "{0} deposited" -#: src/widgets/PoolWidget/AMMV2Create/MyLiqidity.tsx:64 +#: src/widgets/PoolWidget/AMMV2Create/MyLiqidity.tsx:68 #: src/widgets/PoolWidget/AMMV3/components/PositionAmountPreview.tsx:222 -#: src/widgets/PoolWidget/PoolList/hooks/usePoolListTabs.ts:28 -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:452 -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:611 +#: src/widgets/PoolWidget/PoolList/hooks/usePoolListTabs.tsx:76 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:478 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:644 #: src/widgets/PoolWidget/PoolOperate/components/LiquidityInfo.tsx:430 msgid "My Liquidity" msgstr "My Liquidity" @@ -1428,7 +1420,7 @@ msgstr "Total Swap Fee" msgid "On" msgstr "On" -#: src/components/Swap/index.tsx:723 +#: src/components/Swap/index.tsx:753 #: src/hooks/Token/useGetTokenStatus.ts:60 #: src/hooks/Token/useTokenStatus.ts:134 msgid "Approve" @@ -1438,7 +1430,7 @@ msgstr "Approve" msgid "Share" msgstr "Share" -#: src/components/Swap/components/ReviewDialog.tsx:303 +#: src/components/Swap/components/ReviewDialog.tsx:308 msgid "Additional routing fees set by the Widget user" msgstr "Additional routing fees set by the Widget user" @@ -1455,7 +1447,7 @@ msgstr "Current liquidity pool token price" msgid "Reward {0}" msgstr "Reward {0}" -#: src/widgets/PoolWidget/PoolCreate/operate-widgets/RatioSetting.tsx:320 +#: src/widgets/PoolWidget/PoolCreate/operate-widgets/RatioSetting.tsx:321 msgid "<0>{lostRatio} of the initial liquidity you provide will be burned. <1/>The closer the provided asset ratio is to the recommended ratio ({recommendRatioText}), the smaller the portion burned." msgstr "<0>{lostRatio} of the initial liquidity you provide will be burned. <1/>The closer the provided asset ratio is to the recommended ratio ({recommendRatioText}), the smaller the portion burned." @@ -1508,8 +1500,8 @@ msgstr "per" msgid "Suitable for stablecoins with price fluctuations within 10%" msgstr "Suitable for stablecoins with price fluctuations within 10%" -#: src/widgets/PoolWidget/PoolOperate/AddPoolOperate.tsx:259 -#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:557 +#: src/widgets/PoolWidget/PoolOperate/AddPoolOperate.tsx:272 +#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:582 msgid "Confirm submission" msgstr "Confirm submission" @@ -1521,12 +1513,12 @@ msgstr "Select pool by tokens" msgid "Asset" msgstr "Asset" -#: src/widgets/PoolWidget/AMMV2Create/index.tsx:391 -#: src/widgets/PoolWidget/PoolOperate/AddPoolOperate.tsx:106 +#: src/widgets/PoolWidget/AMMV2Create/index.tsx:400 +#: src/widgets/PoolWidget/PoolOperate/AddPoolOperate.tsx:107 msgid "Supply" msgstr "Supply" -#: src/widgets/PoolWidget/AMMV2Create/MyLiqidity.tsx:152 +#: src/widgets/PoolWidget/AMMV2Create/MyLiqidity.tsx:156 msgid "Pool share" msgstr "Pool share" @@ -1606,7 +1598,7 @@ msgstr "I have read, understand, and agree to the <0>Terms of Service." msgid "Modify Confirmation" msgstr "Modify Confirmation" -#: src/widgets/PoolWidget/AMMV2Create/index.tsx:341 +#: src/widgets/PoolWidget/AMMV2Create/index.tsx:350 #: src/widgets/PoolWidget/PoolOperate/components/LiquidityInfo.tsx:334 msgid "Tips:" msgstr "Tips:" @@ -1624,11 +1616,11 @@ msgstr "Initial asset ratio" msgid "V2 & PMM" msgstr "V2 & PMM" -#: src/widgets/PoolWidget/AMMV2Create/FeeEdit.tsx:81 +#: src/widgets/PoolWidget/AMMV2Create/FeeEdit.tsx:88 #: src/widgets/PoolWidget/AMMV3/components/FeeSelector.tsx:66 #: src/widgets/PoolWidget/PoolDetail/components/TitleInfo.tsx:146 -#: src/widgets/PoolWidget/PoolDetail/index.tsx:187 -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:460 +#: src/widgets/PoolWidget/PoolDetail/index.tsx:194 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:476 #: src/widgets/PoolWidget/PoolModify/operate-widgets/FeeRateSetting.tsx:84 msgid "Edit" msgstr "Edit" @@ -1637,7 +1629,7 @@ msgstr "Edit" msgid "Min" msgstr "Min" -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:669 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:713 msgid "Hide TVL=0 pools" msgstr "Hide TVL=0 pools" @@ -1665,7 +1657,7 @@ msgid "Received" msgstr "Received" #: src/widgets/MiningWidget/MiningCreate/components/PoolPicker.tsx:90 -#: src/widgets/PoolWidget/PoolList/hooks/usePoolListTabs.ts:34 +#: src/widgets/PoolWidget/PoolList/hooks/usePoolListTabs.tsx:103 msgid "My Pools" msgstr "My Pools" @@ -1673,7 +1665,7 @@ msgstr "My Pools" msgid "Approve {0}" msgstr "Approve {0}" -#: src/components/Swap/SwapOrderHistory/index.tsx:105 +#: src/components/Swap/SwapOrderHistory/index.tsx:106 #: src/widgets/PoolWidget/AMMV2Create/ConfirmDialog.tsx:203 msgid "Rate" msgstr "Rate" @@ -1695,7 +1687,7 @@ msgstr "Service update, please wait and try again" msgid "Gas price is too low, please adjust in your wallet and try again" msgstr "Gas price is too low, please adjust in your wallet and try again" -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:366 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:386 msgid "My Pool Share" msgstr "My Pool Share" @@ -1716,8 +1708,8 @@ msgstr "Collect fees" msgid "Connect to your wallet" msgstr "Connect to your wallet" -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:228 -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:303 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:235 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:311 msgid "Total Fee Revenue" msgstr "Total Fee Revenue" @@ -1743,7 +1735,7 @@ msgid "Token Amount" msgstr "Token Amount" #: src/widgets/PoolWidget/PoolCreate/components/StepTitle.tsx:20 -#: src/widgets/PoolWidget/PoolCreate/index.tsx:246 +#: src/widgets/PoolWidget/PoolCreate/index.tsx:289 #: src/widgets/PoolWidget/PoolModify/index.tsx:237 msgid "Select Pool Version" msgstr "Select Pool Version" @@ -1774,7 +1766,7 @@ msgstr "Back" msgid "Dynamic slippage is {recommendSlippage}%,the current slippage setting is higher than the dynamic slippage, which means you are willing to accept a worse final execution price." msgstr "Dynamic slippage is {recommendSlippage}%,the current slippage setting is higher than the dynamic slippage, which means you are willing to accept a worse final execution price." -#: src/components/Swap/index.tsx:729 +#: src/components/Swap/index.tsx:765 #: src/widgets/PoolWidget/AMMV3/hooks/useV3DerivedMintInfo.tsx:534 msgid "Enter an amount" msgstr "Enter an amount" @@ -1783,7 +1775,7 @@ msgstr "Enter an amount" msgid "Ratio" msgstr "Ratio" -#: src/components/Swap/index.tsx:723 +#: src/components/Swap/index.tsx:753 #: src/components/TokenPairStatusButton.tsx:45 #: src/components/TokenStatusButton.tsx:31 msgid "Approving" @@ -1832,8 +1824,8 @@ msgstr "Second" msgid "Total Swap Volume" msgstr "Total Swap Volume" -#: src/components/Swap/SwapOrderHistory/index.tsx:99 -#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:453 +#: src/components/Swap/SwapOrderHistory/index.tsx:100 +#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:478 msgid "Receive" msgstr "Receive" @@ -1842,11 +1834,11 @@ msgstr "Receive" msgid "Select Network" msgstr "Select Network" -#: src/widgets/PoolWidget/PoolList/components/CreatePoolBtn.tsx:120 +#: src/widgets/PoolWidget/PoolList/components/CreatePoolBtn.tsx:148 msgid "AMM V2 Position" msgstr "AMM V2 Position" -#: src/components/Swap/components/ReviewDialog.tsx:445 +#: src/components/Swap/components/ReviewDialog.tsx:450 msgid "Confirm swap" msgstr "Confirm swap" @@ -1861,7 +1853,7 @@ msgid "Slippage Tolerance" msgstr "Slippage Tolerance" #: src/widgets/PoolWidget/PoolCreate/components/StepTitle.tsx:24 -#: src/widgets/PoolWidget/PoolCreate/index.tsx:257 +#: src/widgets/PoolWidget/PoolCreate/index.tsx:300 #: src/widgets/PoolWidget/PoolModify/index.tsx:244 msgid "Parameter Settings" msgstr "Parameter Settings" @@ -1877,13 +1869,13 @@ msgstr "My Staked" #: src/widgets/MiningWidget/MiningCreate/operate-widgets/RewardForm.tsx:478 #: src/widgets/PoolWidget/AMMV3/components/ReviewModal.tsx:79 -#: src/widgets/PoolWidget/PoolDetail/index.tsx:205 -#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:346 -#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:677 -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:269 -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:563 -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:1105 -#: src/widgets/PoolWidget/PoolOperate/AddPoolOperate.tsx:106 +#: src/widgets/PoolWidget/PoolDetail/index.tsx:212 +#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:361 +#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:744 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:277 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:605 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:1196 +#: src/widgets/PoolWidget/PoolOperate/AddPoolOperate.tsx:107 #: src/widgets/PoolWidget/PoolOperate/hooks/usePoolOperateTabs.ts:15 msgid "Add" msgstr "Add" @@ -1902,7 +1894,7 @@ msgstr "AMM V3" msgid "The dynamic slippage is provided by DODO team through analyzing historical transactions." msgstr "The dynamic slippage is provided by DODO team through analyzing historical transactions." -#: src/widgets/PoolWidget/PoolCreate/operate-widgets/InitPriceSetting.tsx:265 +#: src/widgets/PoolWidget/PoolCreate/operate-widgets/InitPriceSetting.tsx:266 msgid "Failed to get price of the token" msgstr "Failed to get price of the token" @@ -1933,7 +1925,7 @@ msgstr "No matching pool found" msgid "Low" msgstr "Low" -#: src/widgets/PoolWidget/AMMV2Create/index.tsx:225 +#: src/widgets/PoolWidget/AMMV2Create/index.tsx:219 #: src/widgets/PoolWidget/AMMV3/AddLiquidityV3.tsx:369 msgid "Select pair" msgstr "Select pair" @@ -1951,14 +1943,14 @@ msgstr "Select a liquidity pool" msgid "Do not select non-standard ERC20 tokens as this may lead to unknown errors!" msgstr "Do not select non-standard ERC20 tokens as this may lead to unknown errors!" -#: src/widgets/PoolWidget/PoolList/components/CreatePoolBtn.tsx:156 -#: src/widgets/PoolWidget/PoolList/components/CreatePoolBtn.tsx:160 -#: src/widgets/PoolWidget/PoolList/components/CreatePoolBtn.tsx:205 -#: src/widgets/PoolWidget/PoolList/components/CreatePoolBtn.tsx:230 +#: src/widgets/PoolWidget/PoolList/components/CreatePoolBtn.tsx:185 +#: src/widgets/PoolWidget/PoolList/components/CreatePoolBtn.tsx:189 +#: src/widgets/PoolWidget/PoolList/components/CreatePoolBtn.tsx:235 +#: src/widgets/PoolWidget/PoolList/components/CreatePoolBtn.tsx:260 msgid "Create Pool" msgstr "Create Pool" -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:702 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:735 msgid "Managing" msgstr "Managing" @@ -1966,7 +1958,7 @@ msgstr "Managing" msgid "Volume (24H)" msgstr "Volume (24H)" -#: src/widgets/PoolWidget/PoolCreate/index.tsx:242 +#: src/widgets/PoolWidget/PoolCreate/index.tsx:258 #: src/widgets/PoolWidget/PoolModify/index.tsx:234 msgid "Pool Setup" msgstr "Pool Setup" @@ -1975,7 +1967,7 @@ msgstr "Pool Setup" msgid "100% use your own funds and enjoy the maximum degree of flexibility." msgstr "100% use your own funds and enjoy the maximum degree of flexibility." -#: src/widgets/PoolWidget/PoolCreate/operate-widgets/RatioSetting.tsx:315 +#: src/widgets/PoolWidget/PoolCreate/operate-widgets/RatioSetting.tsx:316 msgid "The closer the provided asset ratio is to the recommended ratio ({recommendRatioText}), the smaller the portion burned." msgstr "The closer the provided asset ratio is to the recommended ratio ({recommendRatioText}), the smaller the portion burned." @@ -1989,7 +1981,7 @@ msgstr "MT Fee" msgid "All chains" msgstr "All chains" -#: src/widgets/PoolWidget/PoolCreate/operate-widgets/InitPriceSetting.tsx:261 +#: src/widgets/PoolWidget/PoolCreate/operate-widgets/InitPriceSetting.tsx:262 msgid "Current Market Price:" msgstr "Current Market Price:" @@ -2014,11 +2006,7 @@ msgstr "Traders" msgid "Unable to SETTLE during the cooling-off period" msgstr "Unable to SETTLE during the cooling-off period" -#: src/components/Swap/index.tsx:891 -msgid "The setting has been switched to cross chain mode" -msgstr "The setting has been switched to cross chain mode" - -#: src/components/Swap/components/TokenCard/index.tsx:284 +#: src/components/Swap/components/TokenCard/index.tsx:328 msgid "Buy" msgstr "Buy" @@ -2055,12 +2043,12 @@ msgid "Detail" msgstr "Detail" #: src/widgets/PoolWidget/PoolDetail/components/TitleInfo.tsx:225 -#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:271 -#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:397 +#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:272 +#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:411 #: src/widgets/PoolWidget/PoolList/components/LoadingCard.tsx:57 #: src/widgets/PoolWidget/PoolList/components/TokenListPoolItem.tsx:102 -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:313 -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:607 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:318 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:640 msgid "APY" msgstr "APY" @@ -2076,7 +2064,7 @@ msgstr "Preview" msgid "Select Platform" msgstr "Select Platform" -#: src/components/Swap/components/TokenCard/TokenLogoCollapse.tsx:64 +#: src/components/Swap/components/TokenCard/TokenLogoCollapse.tsx:71 #: src/components/TokenSelect.tsx:124 #: src/widgets/MiningWidget/MiningCreate/components/PoolPicker.tsx:356 #: src/widgets/MiningWidget/MiningCreate/components/PoolPicker.tsx:414 @@ -2093,7 +2081,7 @@ msgstr "Add Token" msgid "Total Liquidity" msgstr "Total Liquidity" -#: src/widgets/PoolWidget/PoolList/components/CreatePoolBtn.tsx:131 +#: src/widgets/PoolWidget/PoolList/components/CreatePoolBtn.tsx:160 msgid "AMM V3 Position" msgstr "AMM V3 Position" @@ -2119,18 +2107,18 @@ msgid "Initial Price Alert" msgstr "Initial Price Alert" #: src/widgets/PoolWidget/AMMV3/components/RemoveButton.tsx:32 -#: src/widgets/PoolWidget/PoolDetail/index.tsx:198 -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:254 -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:551 -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:544 -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:1093 +#: src/widgets/PoolWidget/PoolDetail/index.tsx:205 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:261 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:593 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:576 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:1184 #: src/widgets/PoolWidget/PoolOperate/hooks/usePoolOperateTabs.ts:16 -#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:228 +#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:235 msgid "Remove" msgstr "Remove" -#: src/widgets/PoolWidget/PoolCreate/index.tsx:137 -#: src/widgets/PoolWidget/PoolCreate/index.tsx:183 +#: src/widgets/PoolWidget/PoolCreate/index.tsx:140 +#: src/widgets/PoolWidget/PoolCreate/index.tsx:192 msgid "ratio is 0" msgstr "ratio is 0" @@ -2138,7 +2126,7 @@ msgstr "ratio is 0" msgid "Cross Chain Summary" msgstr "Cross Chain Summary" -#: src/widgets/PoolWidget/AMMV2Create/FeeEdit.tsx:61 +#: src/widgets/PoolWidget/AMMV2Create/FeeEdit.tsx:68 msgid "{0}% fee tier" msgstr "{0}% fee tier" @@ -2162,7 +2150,7 @@ msgstr "Amounts" msgid "Create One" msgstr "Create One" -#: src/components/Swap/SwapOrderHistory/index.tsx:102 +#: src/components/Swap/SwapOrderHistory/index.tsx:103 msgid "Status" msgstr "Status" @@ -2178,7 +2166,7 @@ msgstr "differs from the price quoted by DODO by {lqAndDodoCompareText}" msgid "Real Time" msgstr "Real Time" -#: src/components/Swap/index.tsx:587 +#: src/components/Swap/index.tsx:595 msgid "Unsupported network - switch to trade" msgstr "Unsupported network - switch to trade" @@ -2186,9 +2174,9 @@ msgstr "Unsupported network - switch to trade" msgid "Enter parameters to view the yield curve" msgstr "Enter parameters to view the yield curve" -#: src/widgets/PoolWidget/PoolList/components/CreatePoolBtn.tsx:110 -#: src/widgets/PoolWidget/PoolList/components/CreatePoolBtn.tsx:121 -#: src/widgets/PoolWidget/PoolList/components/CreatePoolBtn.tsx:132 +#: src/widgets/PoolWidget/PoolList/components/CreatePoolBtn.tsx:137 +#: src/widgets/PoolWidget/PoolList/components/CreatePoolBtn.tsx:149 +#: src/widgets/PoolWidget/PoolList/components/CreatePoolBtn.tsx:161 msgid "Description of this type of pool" msgstr "Description of this type of pool" @@ -2200,12 +2188,11 @@ msgstr "Paid" msgid "Failed to add" msgstr "Failed to add" -#: src/components/Swap/index.tsx:886 #: src/hooks/Swap/useExecuteSwap.ts:60 msgid "Swap" msgstr "Swap" -#: src/widgets/PoolWidget/AMMV2Create/FeeEdit.tsx:81 +#: src/widgets/PoolWidget/AMMV2Create/FeeEdit.tsx:88 #: src/widgets/PoolWidget/AMMV3/components/FeeSelector.tsx:66 msgid "Hide" msgstr "Hide" @@ -2215,8 +2202,8 @@ msgstr "Hide" msgid "In range" msgstr "In range" -#: src/widgets/PoolWidget/PoolOperate/AddPoolOperate.tsx:268 -#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:566 +#: src/widgets/PoolWidget/PoolOperate/AddPoolOperate.tsx:281 +#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:591 msgid "There is risk of being arbitraged if adding this liquidity." msgstr "There is risk of being arbitraged if adding this liquidity." @@ -2229,7 +2216,7 @@ msgid "This trading pair does not have enough historical data and has used the d msgstr "This trading pair does not have enough historical data and has used the default dynamic slippage." #: src/widgets/PoolWidget/AMMV3/components/PositionViewCard.tsx:248 -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:1105 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:1196 msgid "Manage" msgstr "Manage" @@ -2237,7 +2224,7 @@ msgstr "Manage" msgid "Source" msgstr "Source" -#: src/components/Swap/components/SwapSettingsDialog/index.tsx:90 +#: src/components/Swap/components/SwapSettingsDialog/index.tsx:94 msgid "You may modify the transaction deadline, the maximum time allowed for a trade to be processed on-chain. However, please note that this may lead to your trade executing at a subpar price, as the market price may change during that time." msgstr "You may modify the transaction deadline, the maximum time allowed for a trade to be processed on-chain. However, please note that this may lead to your trade executing at a subpar price, as the market price may change during that time." @@ -2245,7 +2232,7 @@ msgstr "You may modify the transaction deadline, the maximum time allowed for a msgid "{0} Approval Pending" msgstr "{0} Approval Pending" -#: src/widgets/PoolWidget/PoolCreate/operate-widgets/RatioSetting.tsx:297 +#: src/widgets/PoolWidget/PoolCreate/operate-widgets/RatioSetting.tsx:298 msgid "Liquidity Burn Ratio" msgstr "Liquidity Burn Ratio" @@ -2274,10 +2261,10 @@ msgstr "WARNING" msgid "ForceStop exception" msgstr "ForceStop exception" -#: src/components/LoadMore.tsx:50 +#: src/components/LoadMore.tsx:47 #: src/widgets/PoolWidget/PoolDetail/components/MoreDetail/LiquidityProvidersTable.tsx:222 #: src/widgets/PoolWidget/PoolDetail/components/MoreDetail/SwapsTable.tsx:317 -#: src/widgets/PoolWidget/PoolList/components/LiquidityTable.tsx:101 +#: src/widgets/PoolWidget/PoolList/components/LiquidityTable.tsx:90 msgid "Load more" msgstr "Load more" @@ -2327,7 +2314,7 @@ msgstr "To avoid loss of rewards, please ensure that at least 1 or more particip msgid "https://blog.dodoex.io/introducing-the-dodo-smart-slippage-3d32d13a4fef" msgstr "https://blog.dodoex.io/introducing-the-dodo-smart-slippage-3d32d13a4fef" -#: src/components/Swap/components/SwapSettingsDialog/index.tsx:87 +#: src/components/Swap/components/SwapSettingsDialog/index.tsx:91 msgid "Transaction Deadline" msgstr "Transaction Deadline" @@ -2336,7 +2323,7 @@ msgstr "Transaction Deadline" msgid "Claim Rewards" msgstr "Claim Rewards" -#: src/widgets/PoolWidget/PoolList/hooks/usePoolListTabs.ts:34 +#: src/widgets/PoolWidget/PoolList/hooks/usePoolListTabs.tsx:103 msgid "My Pools (PMM)" msgstr "My Pools (PMM)" @@ -2348,10 +2335,10 @@ msgstr "Starting price" msgid "Total Rewards=Daily Rewards*Duration" msgstr "Total Rewards=Daily Rewards*Duration" -#: src/components/Swap/index.tsx:766 +#: src/components/Swap/index.tsx:815 #: src/components/TokenStatusButton.tsx:18 -#: src/widgets/PoolWidget/PoolOperate/AddPoolOperate.tsx:108 -#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:228 +#: src/widgets/PoolWidget/PoolOperate/AddPoolOperate.tsx:109 +#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:235 msgid "Insufficient balance" msgstr "Insufficient balance" diff --git a/packages/dodoex-widgets/src/locales/zh-CN.js b/packages/dodoex-widgets/src/locales/zh-CN.js index a505ebea..31af562a 100644 --- a/packages/dodoex-widgets/src/locales/zh-CN.js +++ b/packages/dodoex-widgets/src/locales/zh-CN.js @@ -1 +1 @@ -/*eslint-disable*/module.exports={messages:JSON.parse("{\"+/wf6Z\":\"The smaller the slippage coefficient, the lower the slippage for traders, and the deeper the market depth.\",\"+Jkdiu\":\"交易时长:\",\"+uZnU3\":\"跨链桥\",\"/+c6tU\":\"99% Default\",\"//95jS\":[\"当前滑点保护系数设置超过\",[\"maxSlippageWarning\"],\"%,可能会造成损失。\"],\"/6L4mj\":\"Your position is empty\",\"/Ak0Fw\":[\"连接 \",[\"0\"],\"...\"],\"/BbUJ6\":\"Total Number of Traders\",\"/cF7Rs\":\"Volume\",\"/jQctM\":\"至\",\"/k7Ttv\":[\"Receive \",[\"0\"]],\"/nzjSF\":[[\"0\"],\" 等待中\"],\"0+31GV\":\"Removing\",\"0O1wzf\":[\"Traders sold ‪\",[\"0\"],\"‬ \",[\"1\"],\", price in the pool increased to \",[\"2\"]],\"0QDjxt\":\"余额:\",\"0RrIzN\":\"Select token\",\"0S8v3W\":\"The start time cannot be in the past\",\"0Sw1gZ\":\"Staking Rules\",\"0YxDPW\":\"Loading info...\",\"0b0AkA\":\"* Please note that the Fee Rate cannot be modified after the pool is created\",\"1+P9RR\":[\"Switch to \",[\"0\"]],\"1/LP4K\":[[\"tokenB\"],\" per \",[\"tokenA\"]],\"14s9LL\":\"Create Liquidity Mining\",\"1ABiXc\":[\"By adding liquidity you’ll earn <0>\",[\"0\"],\" of all trades on this pair proportional to your share of the pool. Fees are added to the pool, accrue in real time and can be claimed by withdrawing your liquidity.\"],\"1PQRWr\":\"Start Time\",\"1QfxQT\":\"忽略\",\"1Qz63U\":\"Pool Type\",\"1gWStS\":\"Unstaking\",\"1yHVE+\":\"Adding\",\"22Xs8M\":\"Deposit Ratio\",\"237hSL\":\"Ended\",\"2IZBPB\":\"The end time must be later than the start time.\",\"2vjOqX\":\"Pools with lower transaction fees will attract more traders.\",\"34w3mT\":\"Single-Token\",\"3CsYwD\":\"Select Pool\",\"3U+Oti\":\"he slippage coefficient needs to be greater than or equal to 0, and less than or equal to 1.\",\"3VUfrF\":\"Selected Range\",\"3WdxUv\":\"Do not remind again\",\"3XBvkd\":\"Remove Liquidity\",\"3dP8Wx\":\"Search by address\",\"3ggd2j\":\"Asset ratio within the pool\",\"4cJ0hF\":\"Rewards\",\"4fL/V7\":\"Pay\",\"4kY4C4\":\"由于市场情况不同,市场价格与估算价格可能略有差异。\",\"4nzwq3\":\"Search by token or pool address\",\"4ogEAw\":\"Pegged Exchange Rate\",\"4vKwIV\":\"Private Pool\",\"4xbbt/\":[[\"0\"],\" 已确认\"],\"52uNwk\":\"Creation Time\",\"54ffaC\":\"当前网络与钱包不一致,请在钱包中切换\",\"5CZbyC\":\"Set price range\",\"5IHTSS\":\"Full range\",\"5Nb8LL\":\"*Depending on the block time, the real amount of Daily Rewards may deviate slightly.\",\"5OKrbq\":\"Since this pool uses the PMM algorithm, which is different from the normal AMM pool mechanism, the initial price calculation is also different from AMM.\",\"5Pxzb6\":[\"Expected to start at block \",[\"0\"],\" and end at block \",[\"1\"],\". There may be slight differences between actual and expected block numbers.\"],\"5QDjef\":\"The token amount is calculated by initial price.\",\"5etEUX\":\"Max price\",\"5nL2hY\":\"Staked Tokens\",\"6+mYrD\":\"当前价格冲击\",\"6UYTy8\":\"分钟\",\"6V3Ea3\":\"Copied\",\"6XYkjc\":\"Edit Parameter Settings\",\"6XgEPi\":\"小时\",\"6lss/t\":\"Pricing Model\",\"6y2TB3\":\"Liquidity\",\"70wH1Q\":\"APR\",\"72/M0o\":\"输入代币符号或地址\",\"79D0qY\":\"Liquidity data not available.\",\"7Bj3x9\":\"Failed\",\"7C/BwI\":\"Community Treasury\",\"7IKPTP\":\"费用包括过跨链桥和交易的手续费,不包括 gas 费。\",\"7VpPHA\":\"确认\",\"7X+IbB\":\"Powered by DODO protocol\",\"7X40pG\":\"Fees (24H)\",\"7Z4WfS\":[[\"0\"],\" per \",[\"1\"]],\"7m5+6j\":\"Initial Tokens\",\"7rpoXw\":\"该代币在\",\"88dol0\":\"Success Rate\",\"8OiU8L\":\"Pool Creation\",\"8Tg/JR\":\"Custom\",\"8XNsbx\":\"Higher than dynamic slippage\",\"8Z29ZO\":\"预计服务供应商费用\",\"93m8jT\":\"基础手续费\",\"97jlEV\":\"LP Balance\",\"9D2g7k\":\"The liquidity of DODO is continuous, which is different from the discrete liquidity of UniV3. The ticks shown in the illustration are for demonstration purposes only.\",\"9QjAGB\":\"FeeRevenue\",\"A1taO8\":\"Search\",\"AOhRo6\":\"DODO provides a variety of pool versions to suit your needs.\",\"APR\":\"APR\",\"APR = Reward Token Value per Year / TVL\":\"APR = Reward Token Value per Year / TVL\",\"Active\":\"Active\",\"AeZIvT\":\"You will receive\",\"AghcDJ\":\"价格冲击超过了你设置的滑点, 请提高滑点后重试\",\"All Mining\":\"All Mining\",\"Amount of token rewards\":\"Amount of token rewards\",\"AxPAXW\":\"No results found\",\"AxdOHo\":\"Pair\",\"B0/2ea\":\"秒\",\"B0YDoE\":\"Yes, I am sure\",\"B3mhDR\":\"Add liquidity to obtain LP tokens for mining\",\"BRi+RY\":\"Add more liquidity\",\"C1mcuF\":\"此众筹池已被其他地址结算\",\"C1qIFl\":\"Liquidity Supplied\",\"CK1KXz\":\"全部\",\"CKyk7Q\":\"Go back\",\"CMHmbm\":\"滑点\",\"Calculation = current rewards for a single block × number of blocks in 24h\":\"Calculation = current rewards for a single block × number of blocks in 24h\",\"CeLrge\":\"Mid Price\",\"CkfzUf\":[\"余额不足 - 请在钱包充值\",[\"EtherTokenSymbol\"],\"后重试\"],\"CmoOxM\":\"Mining Pool Setup\",\"Copied\":\"Copied\",\"D1bhHv\":\"The pool’s market-making price is fixed\",\"D87pha\":\"Closed\",\"DPfwMq\":\"Done\",\"DPi/hO\":\"Results in a relatively fixed price.\",\"DTFrUE\":[\"Approving \",[\"0\"],\"...\"],\"DWd30U\":\"Current price\",\"DZULmp\":\"Swap Rate\",\"Da1+Da\":\"Pool not found. Please switch to another network and retry.\",\"Daily Rewards\":\"Daily Rewards\",\"Dt4Hc3\":\"Token Pair Mining\",\"Du6bPw\":\"Address\",\"DuVAxN\":[\"The area of the chart indicates the buy/sell volume of \",[\"baseSymbol\"],\" that can be carried by the market when the current price changes to the hover price.\"],\"DupCvC\":\"Added successful\",\"E4LM3N\":\"Add Initial Liquidity\",\"E6MqGy\":\"Add liquidity\",\"EQs1sJ\":\"Min price\",\"ESQO1L\":\"Pool address\",\"EU3wU4\":\"Fee tier\",\"EUBGvH\":\"是否确认切换到另一个链?\",\"EatqP4\":\"Swaps\",\"Edit\":\"Edit\",\"Eif7f6\":\"PMM Pool\",\"End Time\":\"End Time\",\"Ended\":\"Ended\",\"Enslfm\":\"目标\",\"EpjpP9\":\"Released Rewards\",\"Ew+VGo\":\"The newly created mining pool can start counting APR after depositing any liquidity.\",\"F+sxb9\":\"未授权\",\"F18WP3\":\"Parameters\",\"F2vX4t\":[\"Users buy \",[\"0\"],\" amount:\"],\"F8yRdq\":\"More trade settings\",\"F9xwHA\":[\"跨链费用不足,至少需要 \",[\"0\"],\" \",[\"1\"],\" \"],\"FHKsZF\":\"TVL\",\"FQ4aT9\":\"Add Position\",\"FQfStS\":\"Emulator\",\"FRBvjQ\":\"交易进行中\",\"Fdp03t\":\"在\",\"FrP5tr\":\"Suitable for stablecoins with price fluctuations within 2%\",\"GAypnX\":\"滑点越高,交易的成功率越高,但是交易的价格可能不会是最好的市场价格。请谨慎调整滑点。\",\"GGPOuT\":\"set current mid price\",\"GGWsTU\":\"Canceled\",\"GSt7YT\":\"The fee rate must be between 0.01% to 10%\",\"Go back\":\"Go back\",\"Gr2anW\":\"Traders (24H)\",\"Gs02OK\":\"My Positions\",\"H7OUPr\":\"天\",\"H9HlDe\":\"minutes\",\"HGf8fG\":\"You can set the minimum selling price for single-token pools.\",\"HXBqgG\":\"Invalid price input\",\"HuVZMK\":\"天\",\"I0LXan\":[\"Price Impact: \",[\"0\"]],\"I0yi1d\":\"Deposit ratio is determined by the current assets ratio in the pool. The ratio does not represent the exchange price\",\"Insufficient market depth to capture the dollar value of [ {{symbols}} ]\":[\"Insufficient market depth to capture the dollar value of [ {\",[\"symbols\"],\"} ]\"],\"Invite\":\"Invite\",\"IwiTcw\":\"The price of this pool is outside of your selected range. Your position is not currently earning fees.\",\"J/hVSQ\":[[\"0\"]],\"J28zul\":\"连接中...\",\"J39pAJ\":\"额外手续费\",\"J7M/DA\":\"Pegged\",\"JR7wWw\":\"Equilibrium target\",\"JRgkmT\":\"End release time before adjustment\",\"JYKRJS\":\"Stake\",\"JaeUyE\":[\"Price discrepancy \",[\"lqAndDodoCompareText\"],\" between liquidity pool and the quote price on DODO.\"],\"JdNn1Y\":\"获取最优价格中...\",\"Jh223O\":\"Invalid range selected. The min price must be lower than the max price.\",\"JlIjZf\":\"Liquidity Provider\",\"Joa5Dk\":\"*Collecting fees will withdraw currently available fees for you.\",\"JuzN3b\":\"Related CrowdPooling\",\"K/Ay/d\":\"预览交易\",\"K/PgcA\":\"选择跨链桥\",\"K8rjE/\":\"Daily rewards before adjustment\",\"KAbREa\":\"*Deflationary tokens are not supported\",\"KAbcm2\":\"Succeeded\",\"KAmxpM\":\"注意:滑点越高,交易的成功率越高,但是交易的价格可能不会是最好的市场价格。请谨慎调整滑点。\",\"KRnA5J\":\"Set pool parameters\",\"Kb3KaW\":\"Any Ratio\",\"KkjUUb\":\"Once created, you can adjust the pool’s market-making price at any time. This option is suitable for assets with fluctuating pegged prices. Adjusting the pool’s market-making price allows for more competitive quotes.\",\"KlvBGJ\":\"选择代币\",\"KsqhWn\":\"Staking\",\"KvG1xW\":\"Claiming\",\"L37FfW\":\"Create AMM V2 Position\",\"L4nQwl\":\"Suitable for stablecoins with price fluctuations within 0.5%\",\"LDprZB\":\"The slippage coefficient needs to be greater than 0, and less than 0.1.\",\"LHxwaD\":[\"The fee tier should greater than \",[\"0\"],\"%\"],\"LQU+Dm\":\"Risk Disclaimer\",\"LVzIav\":\"The pool’s market-making price can be adjusted\",\"Lfkqg7\":\"Stake tokens to receive mining rewards.\",\"LhMjLm\":\"Time\",\"LtI9AS\":\"Owner\",\"M9dIDb\":\"The pegged exchange rate refers to the exchange rate between two token assets where one's value is pegged/fixed by the other. For example, the pegged exchange rate between the US Dollar and USDT is 1.\",\"MU9s7M\":\"Deposit amounts\",\"MXQodB\":\"Disable Indirect Routing\",\"MZPP7t\":\"Your position has 0 liquidity, and is not earning fees.\",\"Mining Pool\":\"Mining Pool\",\"MvFS/h\":\"No pools yet? Create one!\",\"My Mining\":\"My Mining\",\"My Pools\":\"My Pools\",\"NEQTCn\":\"Share Of Pool\",\"NSCBTb\":\"设置已切换至闪兑模式\",\"NVAuTg\":\"没有报价\",\"NXZdrO\":\"My pool share\",\"NgeSlx\":\"Learn More\",\"NjdGps\":\"Use the recommended ratio\",\"Nk6ddN\":\"Stake LP tokens and receive mining rewards.\",\"No LP pools match your criteria\":\"No LP pools match your criteria\",\"O6RUgz\":\"Fee rate\",\"OBdohg\":\"Add Liquidity\",\"OFjZGo\":\"Unstake\",\"OJOe+K\":\"Set the fee to the same as most other pools\",\"OKZP2O\":\"If there are no participants before the end, the rewards cannot be taken out anymore.\",\"OZUH85\":\"Your position will appear here.\",\"OauUE6\":\"获取价格中...\",\"OfhWJH\":\"重置\",\"OgKD6h\":\"最优价格\",\"OjaWXx\":\"Fresh Mining\",\"OnDEky\":\"LP Fee\",\"OuSseo\":\"Ratio Settings\",\"P+K/3O\":\"确认中\",\"P4iKEj\":[\"The initial price needs to be greater than \",[\"min\"],\" and less than 100,000,000\"],\"PIYEqF\":\"Quantity model\",\"PLUB/s\":\"手续费\",\"PPqGw9\":\"Applicable to pegged assets with a fixed price and no fluctuation\",\"PVa3KL\":\"Position on\",\"PZqJog\":\"确认跨链交易\",\"Price impact reaches <0>{priceImpact}%, accept the quote\":[\"价格冲击为<0>\",[\"priceImpact\"],\"%, 仍接受此报价\"],\"Q8W3SC\":\"Volume (1D)\",\"QNWt8A\":\"预计时间\",\"QNrpkx\":\"Classical AMM-like pool. Suitable for most assets.\",\"QR4/RH\":\"交易预览\",\"QoOu4H\":\"You will also claim all rewards from this pool.\",\"QtgfjM\":\"The creator of the liquidity pool can adjust the liquidity distribution by modifying the market-making price parameters. <0>Learn more\",\"R7D79P\":\"Invalid pair\",\"R9Khdg\":\"Auto\",\"Remaining rewards/Total\":\"Remaining rewards/Total\",\"Rewards\":\"Rewards\",\"RtKKbA\":\"Last\",\"RvYEUJ\":\"Suitable for synthetic assets. The liquidity is super concentrated at some price like Curve Finance.\",\"RxHSET\":\"LP Balance:\",\"S3piC2\":\"交易哈希:\",\"S8G1qk\":\"Single\",\"SXnevP\":\"预览跨链交易\",\"SbBMxj\":\"Share of pool\",\"Search by address\":\"Search by address\",\"Sta9CR\":\"Enter a percent\",\"Staked\":\"Staked\",\"Start Time\":\"Start Time\",\"Sti4vy\":\"Mining\",\"T+qgFw\":\"价格冲击\",\"T0Y2+3\":\"选择代币\",\"TFOxRM\":\"分钟\",\"TGi+jm\":\"Doc\",\"TJBHlP\":\"Standard\",\"TP9/K5\":\"Token\",\"TTlkRL\":\"Lower than dynamic slippage\",\"TVL\":\"TVL\",\"TY5fM3\":\"LP Tokens\",\"TaScUS\":[\"Users sell \",[\"0\"],\" amount:\"],\"TizaRy\":\"钱包不兼容\",\"TvH4Ym\":[\"Bought \",[\"0\"],\" \",[\"1\"],\", price in the pool decreased to \",[\"2\"]],\"Tz0i8g\":\"设置\",\"UE2beD\":\"Creator\",\"UN0Nip\":\"Reward Rules\",\"UPXmW+\":\"Trader\",\"URmyfc\":\"Details\",\"UbRKMZ\":\"Pending\",\"Upcoming\":\"Upcoming\",\"Users\":\"Users\",\"Uzr1HF\":[\"连接你的\",[\"0\"],\"钱包\"],\"V+rJKF\":\"秒\",\"V38hNQ\":\"Single-Token Stake Mining\",\"VXTSOE\":\"Suitable for most situations.\",\"Vmw6BM\":\"Something went wrong…<0>Refresh again\",\"WI3lQ1\":\"SELECT\",\"WKj93T\":\"Select Token\",\"WYqq5A\":\"End mining\",\"WgTuci\":[\"Your position will be 100% composed of \",[\"0\"],\" at this price\"],\"When adding rewards, the number of rewards for a single block may be adjusted\":\"When adding rewards, the number of rewards for a single block may be adjusted\",\"X6T02b\":\"This pool must be initialized before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount. Gas fees will be higher than usual due to the initialization transaction.\",\"XPiFIY\":\"Can the pool price be adjusted?\",\"XeovX3\":\"交易详情\",\"Xpkm7d\":\"No ForceStop access\",\"Y0Knz4\":\"Checking this option means that the routing algorithm will only route to liquidity pools between the two tokens in the trading pair and will ignore routes with any intermediary tokens.\",\"Y7rVy0\":\"Fee Rate\",\"Y9QDtD\":\"You are making changes to the liquidity of a private pool. This is a highly discretionary operation that may cause substantial inflows/outflows of funds and changes in market prices. Please make sure you are fully aware of the implications of each parameter modification.\",\"YA4hwj\":\"Price Range\",\"YG004A\":[[\"0\"],\" deposited\"],\"YHc3B+\":\"My Liquidity\",\"YHpbe1\":\"对于\",\"YUyuNp\":[[\"lqAndDodoCompareText\"],\" Price Difference\"],\"You are not currently providing liquidity for any LP pools.\":\"You are not currently providing liquidity for any LP pools.\",\"You have not create any mining\":\"You have not create any mining\",\"YvXHDU\":[\"The area of the chart indicates the buy/sell volume of \",[\"0\"],\" that can be carried by the market when the current price changes to the hover price.\"],\"Z033WN\":\"Total Swap Fee\",\"Z5HWHd\":\"在\",\"Z7ZXbT\":\"代币授权\",\"Z8lGw6\":\"Share\",\"ZXvy7b\":\"由 Widget 设置的额外路由费用\",\"ZgtZpB\":\"The start time is too soon, please set a later time\",\"ZhEBp4\":\"Current liquidity pool token price\",\"ZlKTEh\":[\"Reward \",[\"0\"]],\"ZlQ83E\":[\"<0>\",[\"lostRatio\"],\" of the initial liquidity you provide will be burned. <1/>The closer the provided asset ratio is to the recommended ratio (\",[\"recommendRatioText\"],\"), the smaller the portion burned.\"],\"Zm56FI\":\"最大滑点不能超过50%\",\"a1AzKr\":\"For those who are looking to sell tokens and only need ask-side liquidity.\",\"a7u1N9\":\"Price\",\"aIvv/z\":\"The price of this pool is within your selected range. Your position is currently earning fees.\",\"aM1tos\":\"You are creating a pool\",\"ab98Hp\":[\"Created by \",[\"0\"]],\"agPptk\":\"Medium\",\"agRWc1\":\"分钟\",\"az8lvo\":\"Off\",\"b+KjnH\":\"Your position will not earn fees or be used in trades until the market price moves into your range.\",\"b2jAb+\":\"per\",\"bC0iyq\":\"Suitable for stablecoins with price fluctuations within 10%\",\"bEsfUQ\":\"Confirm submission\",\"bQ3cKo\":\"Select pool by tokens\",\"bUUVED\":\"Asset\",\"bwSQI0\":\"Supply\",\"c4miqE\":\"Pool share\",\"c6TMm0\":\"Mining Type\",\"cDWXuq\":\"Settler\",\"cJtosk\":\"Remove liquidity\",\"cOvZFM\":\"Dynamic\",\"cmUrtC\":\"SEE HOW IT WORKS\",\"cnGeoo\":\"Delete\",\"cnbRVW\":[\"Initial Price \",[\"0\"],\" \",[\"1\"],\" = \",[\"2\"],\" \",[\"3\"]],\"d2CZvA\":\"Initial Price\",\"d8YnVj\":\"Guide Price\",\"dEgA5A\":\"取消\",\"dI46oG\":\"自动切换网络\",\"dJqd5x\":[\"Get \",[\"tokenSymbol\"]],\"dUdltF\":\"One-Click Claim\",\"dmiCGN\":\"Select Token Pair\",\"dqWPbT\":\"I have read, understand, and agree to the <0>Terms of Service.\",\"dzV+zO\":\"Modify Confirmation\",\"e38JNU\":\"Tips:\",\"eE0JZ4\":\"Version\",\"eK0eiF\":\"Initial asset ratio\",\"eK6I8d\":\"V2 & PMM\",\"ePK91l\":\"Edit\",\"eTUF28\":\"分钟\",\"eVZ7bY\":\"Hide TVL=0 pools\",\"em6LzM\":\"交易被拒绝.\",\"evmVGu\":[\"\\\"Created by \",[\"0\"]],\"fKYdE9\":\"Results in a more volatile price.\",\"fSFt4a\":\"Token Pair\",\"fZ5Vnu\":\"Received\",\"fZFkP1\":\"My Pools\",\"fgGids\":[\"Approve \",[\"0\"]],\"fqDzSu\":\"Rate\",\"fsBGk0\":\"Balance\",\"fxRyGG\":\"fee tier\",\"g3x+cF\":\"服务升级中, 请等待或重试\",\"gz+9Rb\":\"Gas 价格过低, 请调整后重试\",\"h3PbRN\":\"My Pool Share\",\"h4RLFN\":\"RPC节点异常\",\"h5FVz1\":\"预计交易时长\",\"h5pjuM\":\"Collect fees\",\"h7LgzN\":\"连接钱包\",\"hCBYHP\":\"Total Fee Revenue\",\"hXzOVo\":\"Next\",\"hYgDIe\":\"Create\",\"hcNa1G\":\"Token Amount\",\"hdIg7i\":\"Select Pool Version\",\"hom7qf\":\"Claim\",\"i3Z+/Z\":\"Out of range\",\"iDGO1l\":\"Disclaimer\",\"iH8pgl\":\"Back\",\"iLj1a9\":[\"Dynamic slippage is \",[\"recommendSlippage\"],\"%,the current slippage setting is higher than the dynamic slippage, which means you are willing to accept a worse final execution price.\"],\"iPMIoT\":\"输入代币数量\",\"iaocTt\":\"Ratio\",\"j2Uisd\":\"授权中\",\"jMam5g\":[[\"0\"],\" Balance\"],\"jjuKOj\":\"Min Price\",\"juypHV\":\"Liquidity Providers\",\"kAC8rT\":\"High price\",\"kNeEXg\":\"Current Price\",\"kdzjmC\":[\"The mid price needs to be greater than \",[\"min\"],\" and less than 100,000,000\"],\"kf83Ld\":\"发生异常错误.\",\"kj3p6e\":\"Daily Rewards\",\"ku//5b\":\"秒\",\"l4Za6X\":\"Total Swap Volume\",\"lDgVWA\":\"Receive\",\"lJvbHq\":\"Select Network\",\"lNYomJ\":\"AMM V2 Position\",\"lQ6r7x\":\"确认交易\",\"lgE483\":\"Once created, the price cannot be changed. This option applies to assets like ETH-WETH.\",\"lqTDfd\":\"滑点\",\"lsg9Mi\":\"Parameter Settings\",\"lt8yMa\":\"发送至:\",\"luOvdJ\":\"My Staked\",\"m16xKo\":\"Add\",\"m6RmA/\":[\"Insufficient \",[\"0\"],\" balance\"],\"m8r/Yx\":\"AMM V3\",\"mFXnIs\":\"The dynamic slippage is provided by DODO team through analyzing historical transactions.\",\"mObS+5\":\"Failed to get price of the token\",\"mYGY3B\":\"Date\",\"mZ4SrP\":\"Liquidity Pool\",\"me2dmq\":\"Value (USD)\",\"n25Lml\":\"Depth\",\"nIrcQi\":\"No matching pool found\",\"nTWWCZ\":\"Low\",\"nxRg31\":\"Select pair\",\"o/5/4c\":\"Once Mining has started, it cannot be stopped.\",\"o8aMNm\":\"Select a liquidity pool\",\"om+Yr9\":\"Do not select non-standard ERC20 tokens as this may lead to unknown errors!\",\"p2jbcE\":\"Create Pool\",\"p3607o\":\"Managing\",\"p7/w10\":\"Volume (24H)\",\"pHQq+U\":\"Pool Setup\",\"pKjCsP\":\"100% use your own funds and enjoy the maximum degree of flexibility.\",\"pQJBKk\":[\"The closer the provided asset ratio is to the recommended ratio (\",[\"recommendRatioText\"],\"), the smaller the portion burned.\"],\"pSQ1lM\":\"MT Fee\",\"pY/ok7\":\"All chains\",\"pdZiL7\":\"Current Market Price:\",\"peTryP\":[[\"0\"],\"-\",[\"1\"],\" is not supported. Please select another pair.\"],\"pwUZo2\":\"Confirming...\",\"q+Q952\":[\"Users pay \",[\"0\"],\" \",[\"1\"],\" and receive \",[\"2\"],\" \",[\"3\"],\"\\\\nPrice \",[\"4\"],\" (\",[\"5\"],\"%)\"],\"qDhDFK\":\"Traders\",\"qK7wuW\":\"在冷静期无法进行清算\",\"qLkska\":\"设置已切换到跨链桥交易模式\",\"qiOIiY\":\"Buy\",\"qmYDVk\":\"Total Rewards\",\"r7ScnQ\":\"连接钱包\",\"rAx5u1\":\"End Time\",\"rH6vg9\":\"There is no liquidity data.\",\"rQ9c+8\":[\"Output is estimated. If the price changes by more than \",[\"0\"],\" your transaction will revert.\"],\"rRDi3Y\":\"详情\",\"rSayea\":\"APY\",\"rbsyJM\":\"AMM V2\",\"rdUucN\":\"Preview\",\"sCUx8G\":\"Select Platform\",\"sIPJGT\":\"选择代币\",\"sNaLCG\":\"Add Token\",\"sTnImq\":\"Total Liquidity\",\"sVlqoo\":\"AMM V3 Position\",\"sjn3tj\":\"Slippage Coefficient\",\"sxkWRg\":\"Advanced\",\"syToc5\":[[\"0\"],\"/\",[\"1\"],\" Pool Tokens\"],\"t+LmjM\":\"Initial Price Alert\",\"t/YqKh\":\"Remove\",\"t3d3/V\":\"ratio is 0\",\"tKE4Ak\":\"跨链桥概览\",\"tMMG40\":[[\"0\"],\"% fee tier\"],\"tMVAXL\":\"SafeERC20:low-level call failed,请联系DODO团队解决。\",\"tnRI9r\":\"Pool Creation Confirmation\",\"tu/fxg\":\"Claim fees\",\"tyGEMJ\":\"Amounts\",\"u1tnst\":\"Create One\",\"uAQUqI\":\"Status\",\"uEoBVI\":\"Low price\",\"uaKP0s\":[\"differs from the price quoted by DODO by \",[\"lqAndDodoCompareText\"]],\"ubzjDN\":\"Real Time\",\"udsWDJ\":\"未支持网络 - 请切换后进行交易\",\"uiuMDr\":\"Enter parameters to view the yield curve\",\"ukTFO0\":\"Description of this type of pool\",\"v4nCHK\":\"Paid\",\"v4wgrk\":\"Failed to add\",\"vH2C/2\":\"交易\",\"vLyv1R\":\"Hide\",\"vOyUlD\":\"In range\",\"vXvgFK\":\"There is risk of being arbitraged if adding this liquidity.\",\"vxHMzr\":\"address\",\"wSpNR+\":\"This trading pair does not have enough historical data and has used the default dynamic slippage.\",\"wckWOP\":\"Manage\",\"wdxz7K\":\"源\",\"wmCrk7\":\"You may modify the transaction deadline, the maximum time allowed for a trade to be processed on-chain. However, please note that this may lead to your trade executing at a subpar price, as the market price may change during that time.\",\"wtjDAR\":[[\"0\"],\" Approval Pending\"],\"x3muNy\":\"Liquidity Burn Ratio\",\"x4QVeW\":\"Percentage to remove\",\"x6GJ4a\":\"Max Slippage\",\"xEbi+8\":\"用户拒绝交易签名.\",\"y1eoq1\":\"Copy link\",\"y4kfSV\":\"WARNING\",\"yM82Jw\":\"ForceStop 异常\",\"yQ2kGp\":\"Load more\",\"yQE2r9\":\"Loading\",\"yXm1vH\":\"The initial price is different from the current market price, which may cause your pool to be arbitraged\",\"yY8wAv\":\"小时\",\"yoR+O6\":\"V3\",\"yq+Q9s\":[\"Dynamic slippage is \",[\"recommendSlippage\"],\"% , the current slippage setting may increase the failure rate of transactions.\"],\"yx/fMc\":\"High\",\"yz7wBu\":\"关闭\",\"yzjPpo\":\"Fees will be the same as in most other pools.\",\"z9t6jM\":\"Mining Pool\",\"zA6/Yq\":\"To avoid loss of rewards, please ensure that at least 1 or more participating users exist.\",\"zABfk1\":\"https://blog.dodoex.io/introducing-the-dodo-smart-slippage-3d32d13a4fef\",\"zSMRJ/\":\"交易截止时间\",\"zXCpR0\":\"Claim Rewards\",\"zcVtwU\":\"My Pools (PMM)\",\"zeSosD\":\"Starting price\",\"zkFuIm\":\"Total Rewards=Daily Rewards*Duration\",\"znqB4T\":\"余额不足\",\"zwBp5t\":\"Private\",\"zwWKhA\":\"Learn more\"}")}; \ No newline at end of file +/*eslint-disable*/module.exports={messages:JSON.parse("{\"+/wf6Z\":\"The smaller the slippage coefficient, the lower the slippage for traders, and the deeper the market depth.\",\"+Jkdiu\":\"交易时长:\",\"+uZnU3\":\"跨链桥\",\"/+c6tU\":\"99% Default\",\"//95jS\":[\"当前滑点保护系数设置超过\",[\"maxSlippageWarning\"],\"%,可能会造成损失。\"],\"/6L4mj\":\"Your position is empty\",\"/Ak0Fw\":[\"连接 \",[\"0\"],\"...\"],\"/BbUJ6\":\"Total Number of Traders\",\"/cF7Rs\":\"Volume\",\"/jQctM\":\"至\",\"/k7Ttv\":[\"Receive \",[\"0\"]],\"/nzjSF\":[[\"0\"],\" 等待中\"],\"0+31GV\":\"Removing\",\"0O1wzf\":[\"Traders sold ‪\",[\"0\"],\"‬ \",[\"1\"],\", price in the pool increased to \",[\"2\"]],\"0QDjxt\":\"余额:\",\"0RrIzN\":\"Select token\",\"0S8v3W\":\"The start time cannot be in the past\",\"0Sw1gZ\":\"Staking Rules\",\"0YxDPW\":\"Loading info...\",\"0b0AkA\":\"* Please note that the Fee Rate cannot be modified after the pool is created\",\"1+P9RR\":[\"Switch to \",[\"0\"]],\"1/LP4K\":[[\"tokenB\"],\" per \",[\"tokenA\"]],\"14s9LL\":\"Create Liquidity Mining\",\"1ABiXc\":[\"By adding liquidity you’ll earn <0>\",[\"0\"],\" of all trades on this pair proportional to your share of the pool. Fees are added to the pool, accrue in real time and can be claimed by withdrawing your liquidity.\"],\"1PQRWr\":\"Start Time\",\"1QfxQT\":\"忽略\",\"1Qz63U\":\"Pool Type\",\"1gWStS\":\"Unstaking\",\"1yHVE+\":\"Adding\",\"22Xs8M\":\"Deposit Ratio\",\"237hSL\":\"Ended\",\"2IZBPB\":\"The end time must be later than the start time.\",\"2vjOqX\":\"Pools with lower transaction fees will attract more traders.\",\"34w3mT\":\"Single-Token\",\"3CsYwD\":\"Select Pool\",\"3U+Oti\":\"he slippage coefficient needs to be greater than or equal to 0, and less than or equal to 1.\",\"3VUfrF\":\"Selected Range\",\"3WdxUv\":\"Do not remind again\",\"3XBvkd\":\"Remove Liquidity\",\"3dP8Wx\":\"Search by address\",\"3ggd2j\":\"Asset ratio within the pool\",\"4cJ0hF\":\"Rewards\",\"4fL/V7\":\"Pay\",\"4kY4C4\":\"由于市场情况不同,市场价格与估算价格可能略有差异。\",\"4nzwq3\":\"Search by token or pool address\",\"4ogEAw\":\"Pegged Exchange Rate\",\"4vKwIV\":\"Private Pool\",\"4xbbt/\":[[\"0\"],\" 已确认\"],\"52uNwk\":\"Creation Time\",\"54ffaC\":\"当前网络与钱包不一致,请在钱包中切换\",\"5CZbyC\":\"Set price range\",\"5IHTSS\":\"Full range\",\"5Nb8LL\":\"*Depending on the block time, the real amount of Daily Rewards may deviate slightly.\",\"5OKrbq\":\"Since this pool uses the PMM algorithm, which is different from the normal AMM pool mechanism, the initial price calculation is also different from AMM.\",\"5Pxzb6\":[\"Expected to start at block \",[\"0\"],\" and end at block \",[\"1\"],\". There may be slight differences between actual and expected block numbers.\"],\"5QDjef\":\"The token amount is calculated by initial price.\",\"5etEUX\":\"Max price\",\"5nL2hY\":\"Staked Tokens\",\"6+mYrD\":\"当前价格冲击\",\"6UYTy8\":\"分钟\",\"6V3Ea3\":\"Copied\",\"6XYkjc\":\"Edit Parameter Settings\",\"6XgEPi\":\"小时\",\"6lss/t\":\"Pricing Model\",\"6y2TB3\":\"Liquidity\",\"70wH1Q\":\"APR\",\"72/M0o\":\"输入代币符号或地址\",\"79D0qY\":\"Liquidity data not available.\",\"7Bj3x9\":\"Failed\",\"7C/BwI\":\"Community Treasury\",\"7IKPTP\":\"费用包括过跨链桥和交易的手续费,不包括 gas 费。\",\"7VpPHA\":\"确认\",\"7X40pG\":\"Fees (24H)\",\"7Z4WfS\":[[\"0\"],\" per \",[\"1\"]],\"7m5+6j\":\"Initial Tokens\",\"7rpoXw\":\"该代币在\",\"88dol0\":\"Success Rate\",\"8OiU8L\":\"Pool Creation\",\"8Tg/JR\":\"Custom\",\"8XNsbx\":\"Higher than dynamic slippage\",\"8Z29ZO\":\"预计服务供应商费用\",\"93m8jT\":\"基础手续费\",\"97jlEV\":\"LP Balance\",\"9D2g7k\":\"The liquidity of DODO is continuous, which is different from the discrete liquidity of UniV3. The ticks shown in the illustration are for demonstration purposes only.\",\"9QjAGB\":\"FeeRevenue\",\"A1taO8\":\"Search\",\"AOhRo6\":\"DODO provides a variety of pool versions to suit your needs.\",\"APR\":\"APR\",\"APR = Reward Token Value per Year / TVL\":\"APR = Reward Token Value per Year / TVL\",\"Active\":\"Active\",\"AeZIvT\":\"You will receive\",\"AghcDJ\":\"价格冲击超过了你设置的滑点, 请提高滑点后重试\",\"All Mining\":\"All Mining\",\"Amount of token rewards\":\"Amount of token rewards\",\"AxPAXW\":\"No results found\",\"AxdOHo\":\"Pair\",\"B0/2ea\":\"秒\",\"B0YDoE\":\"Yes, I am sure\",\"B3mhDR\":\"Add liquidity to obtain LP tokens for mining\",\"BRi+RY\":\"Add more liquidity\",\"C1mcuF\":\"此众筹池已被其他地址结算\",\"C1qIFl\":\"Liquidity Supplied\",\"CK1KXz\":\"全部\",\"CKyk7Q\":\"Go back\",\"CMHmbm\":\"滑点\",\"Calculation = current rewards for a single block × number of blocks in 24h\":\"Calculation = current rewards for a single block × number of blocks in 24h\",\"CeLrge\":\"Mid Price\",\"CkfzUf\":[\"余额不足 - 请在钱包充值\",[\"EtherTokenSymbol\"],\"后重试\"],\"CmoOxM\":\"Mining Pool Setup\",\"Copied\":\"Copied\",\"D1bhHv\":\"The pool’s market-making price is fixed\",\"D87pha\":\"Closed\",\"DPfwMq\":\"Done\",\"DPi/hO\":\"Results in a relatively fixed price.\",\"DTFrUE\":[\"Approving \",[\"0\"],\"...\"],\"DWd30U\":\"Current price\",\"DZULmp\":\"Swap Rate\",\"Da1+Da\":\"Pool not found. Please switch to another network and retry.\",\"Daily Rewards\":\"Daily Rewards\",\"Dt4Hc3\":\"Token Pair Mining\",\"Du6bPw\":\"Address\",\"DuVAxN\":[\"The area of the chart indicates the buy/sell volume of \",[\"baseSymbol\"],\" that can be carried by the market when the current price changes to the hover price.\"],\"DupCvC\":\"Added successful\",\"E4LM3N\":\"Add Initial Liquidity\",\"E6MqGy\":\"Add liquidity\",\"EQs1sJ\":\"Min price\",\"ESQO1L\":\"Pool address\",\"EU3wU4\":\"Fee tier\",\"EUBGvH\":\"是否确认切换到另一个链?\",\"EatqP4\":\"Swaps\",\"Edit\":\"Edit\",\"Eif7f6\":\"PMM Pool\",\"End Time\":\"End Time\",\"Ended\":\"Ended\",\"Enslfm\":\"目标\",\"EpjpP9\":\"Released Rewards\",\"Ew+VGo\":\"The newly created mining pool can start counting APR after depositing any liquidity.\",\"F+sxb9\":\"未授权\",\"F18WP3\":\"Parameters\",\"F2vX4t\":[\"Users buy \",[\"0\"],\" amount:\"],\"F8yRdq\":\"More trade settings\",\"F9xwHA\":[\"跨链费用不足,至少需要 \",[\"0\"],\" \",[\"1\"],\" \"],\"FHKsZF\":\"TVL\",\"FQ4aT9\":\"Add Position\",\"FQfStS\":\"Emulator\",\"FRBvjQ\":\"交易进行中\",\"Fdp03t\":\"在\",\"FrP5tr\":\"Suitable for stablecoins with price fluctuations within 2%\",\"GAypnX\":\"滑点越高,交易的成功率越高,但是交易的价格可能不会是最好的市场价格。请谨慎调整滑点。\",\"GGPOuT\":\"set current mid price\",\"GGWsTU\":\"Canceled\",\"GSt7YT\":\"The fee rate must be between 0.01% to 10%\",\"Go back\":\"Go back\",\"Gr2anW\":\"Traders (24H)\",\"Gs02OK\":\"My Positions\",\"H7OUPr\":\"天\",\"H9HlDe\":\"minutes\",\"HGf8fG\":\"You can set the minimum selling price for single-token pools.\",\"HXBqgG\":\"Invalid price input\",\"HuVZMK\":\"天\",\"I0LXan\":[\"Price Impact: \",[\"0\"]],\"I0yi1d\":\"Deposit ratio is determined by the current assets ratio in the pool. The ratio does not represent the exchange price\",\"Insufficient market depth to capture the dollar value of [ {{symbols}} ]\":[\"Insufficient market depth to capture the dollar value of [ {\",[\"symbols\"],\"} ]\"],\"Invite\":\"Invite\",\"IwiTcw\":\"The price of this pool is outside of your selected range. Your position is not currently earning fees.\",\"J/hVSQ\":[[\"0\"]],\"J28zul\":\"连接中...\",\"J39pAJ\":\"额外手续费\",\"J7M/DA\":\"Pegged\",\"JR7wWw\":\"Equilibrium target\",\"JRgkmT\":\"End release time before adjustment\",\"JYKRJS\":\"Stake\",\"JaeUyE\":[\"Price discrepancy \",[\"lqAndDodoCompareText\"],\" between liquidity pool and the quote price on DODO.\"],\"JdNn1Y\":\"获取最优价格中...\",\"Jh223O\":\"Invalid range selected. The min price must be lower than the max price.\",\"JlIjZf\":\"Liquidity Provider\",\"Joa5Dk\":\"*Collecting fees will withdraw currently available fees for you.\",\"JuzN3b\":\"Related CrowdPooling\",\"K/Ay/d\":\"预览交易\",\"K/PgcA\":\"选择跨链桥\",\"K8rjE/\":\"Daily rewards before adjustment\",\"KAbREa\":\"*Deflationary tokens are not supported\",\"KAbcm2\":\"Succeeded\",\"KAmxpM\":\"注意:滑点越高,交易的成功率越高,但是交易的价格可能不会是最好的市场价格。请谨慎调整滑点。\",\"KRnA5J\":\"Set pool parameters\",\"Kb3KaW\":\"Any Ratio\",\"KkjUUb\":\"Once created, you can adjust the pool’s market-making price at any time. This option is suitable for assets with fluctuating pegged prices. Adjusting the pool’s market-making price allows for more competitive quotes.\",\"KlvBGJ\":\"选择代币\",\"KsqhWn\":\"Staking\",\"KvG1xW\":\"Claiming\",\"L37FfW\":\"Create AMM V2 Position\",\"L4nQwl\":\"Suitable for stablecoins with price fluctuations within 0.5%\",\"LDprZB\":\"The slippage coefficient needs to be greater than 0, and less than 0.1.\",\"LHxwaD\":[\"The fee tier should greater than \",[\"0\"],\"%\"],\"LQU+Dm\":\"Risk Disclaimer\",\"LVzIav\":\"The pool’s market-making price can be adjusted\",\"Lfkqg7\":\"Stake tokens to receive mining rewards.\",\"LhMjLm\":\"Time\",\"LtI9AS\":\"Owner\",\"M9dIDb\":\"The pegged exchange rate refers to the exchange rate between two token assets where one's value is pegged/fixed by the other. For example, the pegged exchange rate between the US Dollar and USDT is 1.\",\"MU9s7M\":\"Deposit amounts\",\"MXQodB\":\"Disable Indirect Routing\",\"MZPP7t\":\"Your position has 0 liquidity, and is not earning fees.\",\"Mining Pool\":\"Mining Pool\",\"MvFS/h\":\"No pools yet? Create one!\",\"My Mining\":\"My Mining\",\"My Pools\":\"My Pools\",\"NEQTCn\":\"Share Of Pool\",\"NVAuTg\":\"没有报价\",\"NXZdrO\":\"My pool share\",\"NgeSlx\":\"Learn More\",\"NjdGps\":\"Use the recommended ratio\",\"Nk6ddN\":\"Stake LP tokens and receive mining rewards.\",\"No LP pools match your criteria\":\"No LP pools match your criteria\",\"O6RUgz\":\"Fee rate\",\"OBdohg\":\"Add Liquidity\",\"OFjZGo\":\"Unstake\",\"OJOe+K\":\"Set the fee to the same as most other pools\",\"OKZP2O\":\"If there are no participants before the end, the rewards cannot be taken out anymore.\",\"OZUH85\":\"Your position will appear here.\",\"OauUE6\":\"获取价格中...\",\"OfhWJH\":\"重置\",\"OgKD6h\":\"最优价格\",\"OjaWXx\":\"Fresh Mining\",\"OnDEky\":\"LP Fee\",\"OuSseo\":\"Ratio Settings\",\"P+K/3O\":\"确认中\",\"P4iKEj\":[\"The initial price needs to be greater than \",[\"min\"],\" and less than 100,000,000\"],\"PIYEqF\":\"Quantity model\",\"PLUB/s\":\"手续费\",\"PPqGw9\":\"Applicable to pegged assets with a fixed price and no fluctuation\",\"PVa3KL\":\"Position on\",\"PZqJog\":\"确认跨链交易\",\"Price impact reaches <0>{priceImpact}%, accept the quote\":[\"价格冲击为<0>\",[\"priceImpact\"],\"%, 仍接受此报价\"],\"Q8W3SC\":\"Volume (1D)\",\"QNWt8A\":\"预计时间\",\"QNrpkx\":\"Classical AMM-like pool. Suitable for most assets.\",\"QR4/RH\":\"交易预览\",\"QoOu4H\":\"You will also claim all rewards from this pool.\",\"QtgfjM\":\"The creator of the liquidity pool can adjust the liquidity distribution by modifying the market-making price parameters. <0>Learn more\",\"R7D79P\":\"Invalid pair\",\"R9Khdg\":\"Auto\",\"Remaining rewards/Total\":\"Remaining rewards/Total\",\"Rewards\":\"Rewards\",\"RtKKbA\":\"Last\",\"RvYEUJ\":\"Suitable for synthetic assets. The liquidity is super concentrated at some price like Curve Finance.\",\"RxHSET\":\"LP Balance:\",\"S3piC2\":\"交易哈希:\",\"S8G1qk\":\"Single\",\"SXnevP\":\"预览跨链交易\",\"SbBMxj\":\"Share of pool\",\"Search by address\":\"Search by address\",\"Sta9CR\":\"Enter a percent\",\"Staked\":\"Staked\",\"Start Time\":\"Start Time\",\"Sti4vy\":\"Mining\",\"T+qgFw\":\"价格冲击\",\"T0Y2+3\":\"选择代币\",\"TFOxRM\":\"分钟\",\"TGi+jm\":\"Doc\",\"TJBHlP\":\"Standard\",\"TP9/K5\":\"Token\",\"TTlkRL\":\"Lower than dynamic slippage\",\"TVL\":\"TVL\",\"TY5fM3\":\"LP Tokens\",\"TaScUS\":[\"Users sell \",[\"0\"],\" amount:\"],\"TizaRy\":\"钱包不兼容\",\"TvH4Ym\":[\"Bought \",[\"0\"],\" \",[\"1\"],\", price in the pool decreased to \",[\"2\"]],\"Tz0i8g\":\"设置\",\"UE2beD\":\"Creator\",\"UN0Nip\":\"Reward Rules\",\"UPXmW+\":\"Trader\",\"URmyfc\":\"Details\",\"UbRKMZ\":\"Pending\",\"Upcoming\":\"Upcoming\",\"Users\":\"Users\",\"Uzr1HF\":[\"连接你的\",[\"0\"],\"钱包\"],\"V+rJKF\":\"秒\",\"V38hNQ\":\"Single-Token Stake Mining\",\"VXTSOE\":\"Suitable for most situations.\",\"Vmw6BM\":\"Something went wrong…<0>Refresh again\",\"WI3lQ1\":\"SELECT\",\"WKj93T\":\"Select Token\",\"WYqq5A\":\"End mining\",\"WgTuci\":[\"Your position will be 100% composed of \",[\"0\"],\" at this price\"],\"When adding rewards, the number of rewards for a single block may be adjusted\":\"When adding rewards, the number of rewards for a single block may be adjusted\",\"X6T02b\":\"This pool must be initialized before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount. Gas fees will be higher than usual due to the initialization transaction.\",\"XPiFIY\":\"Can the pool price be adjusted?\",\"XeovX3\":\"交易详情\",\"Xpkm7d\":\"No ForceStop access\",\"Y0Knz4\":\"Checking this option means that the routing algorithm will only route to liquidity pools between the two tokens in the trading pair and will ignore routes with any intermediary tokens.\",\"Y7rVy0\":\"Fee Rate\",\"Y9QDtD\":\"You are making changes to the liquidity of a private pool. This is a highly discretionary operation that may cause substantial inflows/outflows of funds and changes in market prices. Please make sure you are fully aware of the implications of each parameter modification.\",\"YA4hwj\":\"Price Range\",\"YG004A\":[[\"0\"],\" deposited\"],\"YHc3B+\":\"My Liquidity\",\"YHpbe1\":\"对于\",\"YUyuNp\":[[\"lqAndDodoCompareText\"],\" Price Difference\"],\"You are not currently providing liquidity for any LP pools.\":\"You are not currently providing liquidity for any LP pools.\",\"You have not create any mining\":\"You have not create any mining\",\"YvXHDU\":[\"The area of the chart indicates the buy/sell volume of \",[\"0\"],\" that can be carried by the market when the current price changes to the hover price.\"],\"Z033WN\":\"Total Swap Fee\",\"Z5HWHd\":\"在\",\"Z7ZXbT\":\"代币授权\",\"Z8lGw6\":\"Share\",\"ZXvy7b\":\"由 Widget 设置的额外路由费用\",\"ZgtZpB\":\"The start time is too soon, please set a later time\",\"ZhEBp4\":\"Current liquidity pool token price\",\"ZlKTEh\":[\"Reward \",[\"0\"]],\"ZlQ83E\":[\"<0>\",[\"lostRatio\"],\" of the initial liquidity you provide will be burned. <1/>The closer the provided asset ratio is to the recommended ratio (\",[\"recommendRatioText\"],\"), the smaller the portion burned.\"],\"Zm56FI\":\"最大滑点不能超过50%\",\"a1AzKr\":\"For those who are looking to sell tokens and only need ask-side liquidity.\",\"a7u1N9\":\"Price\",\"aIvv/z\":\"The price of this pool is within your selected range. Your position is currently earning fees.\",\"aM1tos\":\"You are creating a pool\",\"ab98Hp\":[\"Created by \",[\"0\"]],\"agPptk\":\"Medium\",\"agRWc1\":\"分钟\",\"az8lvo\":\"Off\",\"b+KjnH\":\"Your position will not earn fees or be used in trades until the market price moves into your range.\",\"b2jAb+\":\"per\",\"bC0iyq\":\"Suitable for stablecoins with price fluctuations within 10%\",\"bEsfUQ\":\"Confirm submission\",\"bQ3cKo\":\"Select pool by tokens\",\"bUUVED\":\"Asset\",\"bwSQI0\":\"Supply\",\"c4miqE\":\"Pool share\",\"c6TMm0\":\"Mining Type\",\"cDWXuq\":\"Settler\",\"cJtosk\":\"Remove liquidity\",\"cOvZFM\":\"Dynamic\",\"cmUrtC\":\"SEE HOW IT WORKS\",\"cnGeoo\":\"Delete\",\"cnbRVW\":[\"Initial Price \",[\"0\"],\" \",[\"1\"],\" = \",[\"2\"],\" \",[\"3\"]],\"d2CZvA\":\"Initial Price\",\"d8YnVj\":\"Guide Price\",\"dEgA5A\":\"取消\",\"dI46oG\":\"自动切换网络\",\"dJqd5x\":[\"Get \",[\"tokenSymbol\"]],\"dUdltF\":\"One-Click Claim\",\"dmiCGN\":\"Select Token Pair\",\"dqWPbT\":\"I have read, understand, and agree to the <0>Terms of Service.\",\"dzV+zO\":\"Modify Confirmation\",\"e38JNU\":\"Tips:\",\"eE0JZ4\":\"Version\",\"eK0eiF\":\"Initial asset ratio\",\"eK6I8d\":\"V2 & PMM\",\"ePK91l\":\"Edit\",\"eTUF28\":\"分钟\",\"eVZ7bY\":\"Hide TVL=0 pools\",\"em6LzM\":\"交易被拒绝.\",\"evmVGu\":[\"\\\"Created by \",[\"0\"]],\"fKYdE9\":\"Results in a more volatile price.\",\"fSFt4a\":\"Token Pair\",\"fZ5Vnu\":\"Received\",\"fZFkP1\":\"My Pools\",\"fgGids\":[\"Approve \",[\"0\"]],\"fqDzSu\":\"Rate\",\"fsBGk0\":\"Balance\",\"fxRyGG\":\"fee tier\",\"g3x+cF\":\"服务升级中, 请等待或重试\",\"gz+9Rb\":\"Gas 价格过低, 请调整后重试\",\"h3PbRN\":\"My Pool Share\",\"h4RLFN\":\"RPC节点异常\",\"h5FVz1\":\"预计交易时长\",\"h5pjuM\":\"Collect fees\",\"h7LgzN\":\"连接钱包\",\"hCBYHP\":\"Total Fee Revenue\",\"hXzOVo\":\"Next\",\"hYgDIe\":\"Create\",\"hcNa1G\":\"Token Amount\",\"hdIg7i\":\"Select Pool Version\",\"hom7qf\":\"Claim\",\"i3Z+/Z\":\"Out of range\",\"iDGO1l\":\"Disclaimer\",\"iH8pgl\":\"Back\",\"iLj1a9\":[\"Dynamic slippage is \",[\"recommendSlippage\"],\"%,the current slippage setting is higher than the dynamic slippage, which means you are willing to accept a worse final execution price.\"],\"iPMIoT\":\"输入代币数量\",\"iaocTt\":\"Ratio\",\"j2Uisd\":\"授权中\",\"jMam5g\":[[\"0\"],\" Balance\"],\"jjuKOj\":\"Min Price\",\"juypHV\":\"Liquidity Providers\",\"kAC8rT\":\"High price\",\"kNeEXg\":\"Current Price\",\"kdzjmC\":[\"The mid price needs to be greater than \",[\"min\"],\" and less than 100,000,000\"],\"kf83Ld\":\"发生异常错误.\",\"kj3p6e\":\"Daily Rewards\",\"ku//5b\":\"秒\",\"l4Za6X\":\"Total Swap Volume\",\"lDgVWA\":\"Receive\",\"lJvbHq\":\"Select Network\",\"lNYomJ\":\"AMM V2 Position\",\"lQ6r7x\":\"确认交易\",\"lgE483\":\"Once created, the price cannot be changed. This option applies to assets like ETH-WETH.\",\"lqTDfd\":\"滑点\",\"lsg9Mi\":\"Parameter Settings\",\"lt8yMa\":\"发送至:\",\"luOvdJ\":\"My Staked\",\"m16xKo\":\"Add\",\"m6RmA/\":[\"Insufficient \",[\"0\"],\" balance\"],\"m8r/Yx\":\"AMM V3\",\"mFXnIs\":\"The dynamic slippage is provided by DODO team through analyzing historical transactions.\",\"mObS+5\":\"Failed to get price of the token\",\"mYGY3B\":\"Date\",\"mZ4SrP\":\"Liquidity Pool\",\"me2dmq\":\"Value (USD)\",\"n25Lml\":\"Depth\",\"nIrcQi\":\"No matching pool found\",\"nTWWCZ\":\"Low\",\"nxRg31\":\"Select pair\",\"o/5/4c\":\"Once Mining has started, it cannot be stopped.\",\"o8aMNm\":\"Select a liquidity pool\",\"om+Yr9\":\"Do not select non-standard ERC20 tokens as this may lead to unknown errors!\",\"p2jbcE\":\"Create Pool\",\"p3607o\":\"Managing\",\"p7/w10\":\"Volume (24H)\",\"pHQq+U\":\"Pool Setup\",\"pKjCsP\":\"100% use your own funds and enjoy the maximum degree of flexibility.\",\"pQJBKk\":[\"The closer the provided asset ratio is to the recommended ratio (\",[\"recommendRatioText\"],\"), the smaller the portion burned.\"],\"pSQ1lM\":\"MT Fee\",\"pY/ok7\":\"All chains\",\"pdZiL7\":\"Current Market Price:\",\"peTryP\":[[\"0\"],\"-\",[\"1\"],\" is not supported. Please select another pair.\"],\"pwUZo2\":\"Confirming...\",\"q+Q952\":[\"Users pay \",[\"0\"],\" \",[\"1\"],\" and receive \",[\"2\"],\" \",[\"3\"],\"\\\\nPrice \",[\"4\"],\" (\",[\"5\"],\"%)\"],\"qDhDFK\":\"Traders\",\"qK7wuW\":\"在冷静期无法进行清算\",\"qiOIiY\":\"Buy\",\"qmYDVk\":\"Total Rewards\",\"r7ScnQ\":\"连接钱包\",\"rAx5u1\":\"End Time\",\"rH6vg9\":\"There is no liquidity data.\",\"rQ9c+8\":[\"Output is estimated. If the price changes by more than \",[\"0\"],\" your transaction will revert.\"],\"rRDi3Y\":\"详情\",\"rSayea\":\"APY\",\"rbsyJM\":\"AMM V2\",\"rdUucN\":\"Preview\",\"sCUx8G\":\"Select Platform\",\"sIPJGT\":\"选择代币\",\"sNaLCG\":\"Add Token\",\"sTnImq\":\"Total Liquidity\",\"sVlqoo\":\"AMM V3 Position\",\"sjn3tj\":\"Slippage Coefficient\",\"sxkWRg\":\"Advanced\",\"syToc5\":[[\"0\"],\"/\",[\"1\"],\" Pool Tokens\"],\"t+LmjM\":\"Initial Price Alert\",\"t/YqKh\":\"Remove\",\"t3d3/V\":\"ratio is 0\",\"tKE4Ak\":\"跨链桥概览\",\"tMMG40\":[[\"0\"],\"% fee tier\"],\"tMVAXL\":\"SafeERC20:low-level call failed,请联系DODO团队解决。\",\"tnRI9r\":\"Pool Creation Confirmation\",\"tu/fxg\":\"Claim fees\",\"tyGEMJ\":\"Amounts\",\"u1tnst\":\"Create One\",\"uAQUqI\":\"Status\",\"uEoBVI\":\"Low price\",\"uaKP0s\":[\"differs from the price quoted by DODO by \",[\"lqAndDodoCompareText\"]],\"ubzjDN\":\"Real Time\",\"udsWDJ\":\"未支持网络 - 请切换后进行交易\",\"uiuMDr\":\"Enter parameters to view the yield curve\",\"ukTFO0\":\"Description of this type of pool\",\"v4nCHK\":\"Paid\",\"v4wgrk\":\"Failed to add\",\"vH2C/2\":\"交易\",\"vLyv1R\":\"Hide\",\"vOyUlD\":\"In range\",\"vXvgFK\":\"There is risk of being arbitraged if adding this liquidity.\",\"vxHMzr\":\"address\",\"wSpNR+\":\"This trading pair does not have enough historical data and has used the default dynamic slippage.\",\"wckWOP\":\"Manage\",\"wdxz7K\":\"源\",\"wmCrk7\":\"You may modify the transaction deadline, the maximum time allowed for a trade to be processed on-chain. However, please note that this may lead to your trade executing at a subpar price, as the market price may change during that time.\",\"wtjDAR\":[[\"0\"],\" Approval Pending\"],\"x3muNy\":\"Liquidity Burn Ratio\",\"x4QVeW\":\"Percentage to remove\",\"x6GJ4a\":\"Max Slippage\",\"xEbi+8\":\"用户拒绝交易签名.\",\"y1eoq1\":\"Copy link\",\"y4kfSV\":\"WARNING\",\"yM82Jw\":\"ForceStop 异常\",\"yQ2kGp\":\"Load more\",\"yQE2r9\":\"Loading\",\"yXm1vH\":\"The initial price is different from the current market price, which may cause your pool to be arbitraged\",\"yY8wAv\":\"小时\",\"yoR+O6\":\"V3\",\"yq+Q9s\":[\"Dynamic slippage is \",[\"recommendSlippage\"],\"% , the current slippage setting may increase the failure rate of transactions.\"],\"yx/fMc\":\"High\",\"yz7wBu\":\"关闭\",\"yzjPpo\":\"Fees will be the same as in most other pools.\",\"z9t6jM\":\"Mining Pool\",\"zA6/Yq\":\"To avoid loss of rewards, please ensure that at least 1 or more participating users exist.\",\"zABfk1\":\"https://blog.dodoex.io/introducing-the-dodo-smart-slippage-3d32d13a4fef\",\"zSMRJ/\":\"交易截止时间\",\"zXCpR0\":\"Claim Rewards\",\"zcVtwU\":\"My Pools (PMM)\",\"zeSosD\":\"Starting price\",\"zkFuIm\":\"Total Rewards=Daily Rewards*Duration\",\"znqB4T\":\"余额不足\",\"zwBp5t\":\"Private\",\"zwWKhA\":\"Learn more\"}")}; \ No newline at end of file diff --git a/packages/dodoex-widgets/src/locales/zh-CN.po b/packages/dodoex-widgets/src/locales/zh-CN.po index 18864b62..321a096e 100644 --- a/packages/dodoex-widgets/src/locales/zh-CN.po +++ b/packages/dodoex-widgets/src/locales/zh-CN.po @@ -30,7 +30,7 @@ msgstr "跨链桥" msgid "99% Default" msgstr "" -#: src/components/Swap/index.tsx:518 +#: src/components/Swap/index.tsx:526 msgid "The current slippage protection coefficient set exceeds {maxSlippageWarning}%, which may result in losses." msgstr "当前滑点保护系数设置超过{maxSlippageWarning}%,可能会造成损失。" @@ -54,7 +54,7 @@ msgstr "" msgid "To" msgstr "至" -#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:411 +#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:436 msgid "Receive {0}" msgstr "" @@ -62,9 +62,9 @@ msgstr "" msgid "{0} pending" msgstr "{0} 等待中" -#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:447 -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:343 -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:711 +#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:461 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:351 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:744 msgid "Removing" msgstr "" @@ -72,7 +72,7 @@ msgstr "" msgid "Traders sold ‪{0}‬ {1}, price in the pool increased to {2}" msgstr "" -#: src/components/Swap/components/TokenCard/BalanceText.tsx:52 +#: src/components/Swap/components/TokenCard/BalanceText.tsx:61 #: src/widgets/MiningWidget/MiningCreate/operate-widgets/RewardForm.tsx:248 msgid "Balance:" msgstr "余额:" @@ -111,7 +111,7 @@ msgstr "" msgid "Create Liquidity Mining" msgstr "" -#: src/widgets/PoolWidget/AMMV2Create/index.tsx:343 +#: src/widgets/PoolWidget/AMMV2Create/index.tsx:352 #: src/widgets/PoolWidget/PoolOperate/components/LiquidityInfo.tsx:336 msgid "By adding liquidity you’ll earn <0>{0} of all trades on this pair proportional to your share of the pool. Fees are added to the pool, accrue in real time and can be claimed by withdrawing your liquidity." msgstr "" @@ -127,10 +127,10 @@ msgstr "" msgid "Dismiss" msgstr "忽略" -#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:248 -#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:390 -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:288 -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:597 +#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:243 +#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:404 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:284 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:630 msgid "Pool Type" msgstr "" @@ -139,9 +139,9 @@ msgstr "" msgid "Unstaking" msgstr "" -#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:450 -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:346 -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:714 +#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:464 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:354 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:747 msgid "Adding" msgstr "" @@ -187,7 +187,7 @@ msgid "Do not remind again" msgstr "" #: src/widgets/PoolWidget/AMMV3/AMMV3PositionManage.tsx:370 -#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:261 +#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:268 msgid "Remove Liquidity" msgstr "" @@ -196,7 +196,7 @@ msgid "Search by address" msgstr "" #: src/widgets/PoolWidget/PoolCreate/components/StepTitle.tsx:45 -#: src/widgets/PoolWidget/PoolCreate/index.tsx:335 +#: src/widgets/PoolWidget/PoolCreate/index.tsx:378 msgid "Asset ratio within the pool" msgstr "" @@ -208,12 +208,12 @@ msgstr "" msgid "Rewards" msgstr "" -#: src/components/Swap/SwapOrderHistory/index.tsx:72 +#: src/components/Swap/SwapOrderHistory/index.tsx:73 msgid "Pay" msgstr "" -#: src/components/Swap/components/ReviewDialog.tsx:337 -#: src/components/Swap/index.tsx:443 +#: src/components/Swap/components/ReviewDialog.tsx:342 +#: src/components/Swap/index.tsx:444 msgid "Due to the market condition, market price and estimated price may have a slight difference" msgstr "由于市场情况不同,市场价格与估算价格可能略有差异。" @@ -238,7 +238,7 @@ msgstr "{0} 已确认" msgid "Creation Time" msgstr "" -#: src/components/Swap/index.tsx:550 +#: src/components/Swap/index.tsx:558 msgid "The current network is inconsistent with the wallet - please switch in wallet" msgstr "当前网络与钱包不一致,请在钱包中切换" @@ -263,7 +263,7 @@ msgid "Expected to start at block {0} and end at block {1}. There may be slight msgstr "" #: src/components/chart/i18n.ts:19 -#: src/widgets/PoolWidget/PoolCreate/index.tsx:184 +#: src/widgets/PoolWidget/PoolCreate/index.tsx:193 msgid "The token amount is calculated by initial price." msgstr "" @@ -275,7 +275,7 @@ msgstr "" msgid "Staked Tokens" msgstr "" -#: src/components/Swap/index.tsx:451 +#: src/components/Swap/index.tsx:452 msgid "Current price impact" msgstr "当前价格冲击" @@ -297,12 +297,12 @@ msgstr "小时" #: src/widgets/PoolWidget/PoolCreate/components/ConfirmInfoDialog.tsx:169 #: src/widgets/PoolWidget/PoolCreate/components/StepTitle.tsx:28 -#: src/widgets/PoolWidget/PoolCreate/index.tsx:305 +#: src/widgets/PoolWidget/PoolCreate/index.tsx:348 msgid "Pricing Model" msgstr "" #: src/widgets/PoolWidget/PoolCreate/components/DepthAndLiquidityChart.tsx:74 -#: src/widgets/PoolWidget/PoolList/index.tsx:177 +#: src/widgets/PoolWidget/PoolList/index.tsx:218 #: src/widgets/PoolWidget/PoolOperate/hooks/usePoolOrMiningTabs.ts:17 msgid "Liquidity" msgstr "" @@ -347,10 +347,6 @@ msgstr "费用包括过跨链桥和交易的手续费,不包括 gas 费。" msgid "Confirm" msgstr "确认" -#: src/components/Swap/index.tsx:1017 -msgid "Powered by DODO protocol" -msgstr "Powered by DODO protocol" - #: src/widgets/PoolWidget/PoolDetail/components/Overview.tsx:73 msgid "Fees (24H)" msgstr "" @@ -379,7 +375,7 @@ msgid "Pool Creation" msgstr "" #: src/components/Swap/components/SwapSettingsDialog/SlippageSetting.tsx:411 -#: src/widgets/PoolWidget/AMMV2Create/FeeEdit.tsx:198 +#: src/widgets/PoolWidget/AMMV2Create/FeeEdit.tsx:221 #: src/widgets/PoolWidget/PoolCreate/components/SelectAndInput.tsx:52 msgid "Custom" msgstr "" @@ -388,11 +384,11 @@ msgstr "" msgid "Higher than dynamic slippage" msgstr "" -#: src/components/Swap/components/ReviewDialog.tsx:272 +#: src/components/Swap/components/ReviewDialog.tsx:277 msgid "Estimated service provider fees" msgstr "预计服务供应商费用" -#: src/components/Swap/components/ReviewDialog.tsx:270 +#: src/components/Swap/components/ReviewDialog.tsx:275 msgid "Basic Fee" msgstr "基础手续费" @@ -455,9 +451,9 @@ msgstr "" msgid "No results found" msgstr "" -#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:386 -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:297 -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:593 +#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:400 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:305 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:626 msgid "Pair" msgstr "" @@ -485,7 +481,7 @@ msgstr "此众筹池已被其他地址结算" msgid "Liquidity Supplied" msgstr "" -#: src/components/Swap/components/TokenCard/BalanceText.tsx:84 +#: src/components/Swap/components/TokenCard/BalanceText.tsx:93 msgid "Max" msgstr "全部" @@ -494,7 +490,7 @@ msgid "Go back" msgstr "" #: src/components/Bridge/BridgeSummaryDialog/BridgeSummaryDetail.tsx:276 -#: src/components/Swap/components/ReviewDialog.tsx:357 +#: src/components/Swap/components/ReviewDialog.tsx:362 #: src/components/Swap/components/SwapSettingsDialog/SlippageCurveChart/index.tsx:123 msgid "Slippage" msgstr "滑点" @@ -555,7 +551,7 @@ msgstr "" msgid "Swap Rate" msgstr "" -#: src/widgets/PoolWidget/PoolDetail/index.tsx:155 +#: src/widgets/PoolWidget/PoolDetail/index.tsx:162 #: src/widgets/PoolWidget/PoolModify/index.tsx:436 msgid "Pool not found. Please switch to another network and retry." msgstr "" @@ -584,11 +580,11 @@ msgstr "" msgid "Added successful" msgstr "" -#: src/widgets/PoolWidget/PoolCreate/index.tsx:485 +#: src/widgets/PoolWidget/PoolCreate/index.tsx:528 msgid "Add Initial Liquidity" msgstr "" -#: src/widgets/PoolWidget/AMMV2Create/index.tsx:207 +#: src/widgets/PoolWidget/AMMV2Create/index.tsx:202 #: src/widgets/PoolWidget/AMMV3/AddLiquidityV3.tsx:333 #: src/widgets/PoolWidget/AMMV3/AMMV3PositionManage.tsx:479 #: src/widgets/PoolWidget/AMMV3/components/ReviewModal.tsx:40 @@ -623,7 +619,7 @@ msgstr "" msgid "Edit" msgstr "" -#: src/widgets/PoolWidget/PoolList/components/CreatePoolBtn.tsx:109 +#: src/widgets/PoolWidget/PoolList/components/CreatePoolBtn.tsx:136 msgid "PMM Pool" msgstr "" @@ -670,13 +666,13 @@ msgstr "" msgid "Insufficient cross-chain fees, need at least {0} {1}" msgstr "跨链费用不足,至少需要 {0} {1} " -#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:301 -#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:394 +#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:308 +#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:408 #: src/widgets/PoolWidget/PoolList/components/LoadingCard.tsx:77 -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:199 -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:300 -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:343 -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:602 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:208 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:308 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:357 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:635 msgid "TVL" msgstr "" @@ -690,7 +686,7 @@ msgstr "" msgid "Emulator" msgstr "" -#: src/components/Swap/index.tsx:706 +#: src/components/Swap/index.tsx:728 msgid "Transaction Pending" msgstr "交易进行中" @@ -705,7 +701,7 @@ msgstr "在" msgid "Suitable for stablecoins with price fluctuations within 2%" msgstr "" -#: src/components/Swap/components/ReviewDialog.tsx:360 +#: src/components/Swap/components/ReviewDialog.tsx:365 msgid "High slippage tolerance will increase the success rate of transaction, but might not get the best quote." msgstr "滑点越高,交易的成功率越高,但是交易的价格可能不会是最好的市场价格。请谨慎调整滑点。" @@ -738,7 +734,7 @@ msgstr "" msgid "Day" msgstr "天" -#: src/components/Swap/components/SwapSettingsDialog/index.tsx:128 +#: src/components/Swap/components/SwapSettingsDialog/index.tsx:132 msgid "minutes" msgstr "" @@ -776,7 +772,7 @@ msgstr "" msgid "The price of this pool is outside of your selected range. Your position is not currently earning fees." msgstr "" -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:559 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:592 msgid "{0}" msgstr "" @@ -784,7 +780,7 @@ msgstr "" msgid "Connecting..." msgstr "连接中..." -#: src/components/Swap/components/ReviewDialog.tsx:300 +#: src/components/Swap/components/ReviewDialog.tsx:305 msgid "Additional Fee" msgstr "额外手续费" @@ -813,13 +809,13 @@ msgstr "" msgid "Stake" msgstr "" -#: src/widgets/PoolWidget/PoolOperate/AddPoolOperate.tsx:265 -#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:563 +#: src/widgets/PoolWidget/PoolOperate/AddPoolOperate.tsx:278 +#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:588 msgid "Price discrepancy {lqAndDodoCompareText} between liquidity pool and the quote price on DODO." msgstr "" -#: src/components/Swap/components/TokenPairPriceWithToggle.tsx:52 -#: src/components/Swap/index.tsx:571 +#: src/components/Swap/components/TokenPairPriceWithToggle.tsx:66 +#: src/components/Swap/index.tsx:579 msgid "Fetching best price..." msgstr "获取最优价格中..." @@ -839,7 +835,7 @@ msgstr "" msgid "Related CrowdPooling" msgstr "" -#: src/components/Swap/index.tsx:795 +#: src/components/Swap/index.tsx:848 msgid "Review Swap" msgstr "预览交易" @@ -876,7 +872,7 @@ msgstr "" msgid "Once created, you can adjust the pool’s market-making price at any time. This option is suitable for assets with fluctuating pegged prices. Adjusting the pool’s market-making price allows for more competitive quotes." msgstr "" -#: src/components/Swap/index.tsx:713 +#: src/components/Swap/index.tsx:741 msgid "Select Tokens" msgstr "选择代币" @@ -902,7 +898,7 @@ msgstr "" msgid "The slippage coefficient needs to be greater than 0, and less than 0.1." msgstr "" -#: src/widgets/PoolWidget/AMMV2Create/FeeEdit.tsx:233 +#: src/widgets/PoolWidget/AMMV2Create/FeeEdit.tsx:256 msgid "The fee tier should greater than {0}%" msgstr "" @@ -931,12 +927,12 @@ msgstr "" msgid "The pegged exchange rate refers to the exchange rate between two token assets where one's value is pegged/fixed by the other. For example, the pegged exchange rate between the US Dollar and USDT is 1." msgstr "" -#: src/widgets/PoolWidget/AMMV2Create/index.tsx:278 +#: src/widgets/PoolWidget/AMMV2Create/index.tsx:272 #: src/widgets/PoolWidget/AMMV3/AddLiquidityV3.tsx:591 msgid "Deposit amounts" msgstr "" -#: src/components/Swap/components/SwapSettingsDialog/index.tsx:177 +#: src/components/Swap/components/SwapSettingsDialog/index.tsx:181 msgid "Disable Indirect Routing" msgstr "" @@ -967,17 +963,13 @@ msgstr "" msgid "Share Of Pool" msgstr "" -#: src/components/Swap/index.tsx:893 -msgid "The setting has been switched to swap mode" -msgstr "设置已切换至闪兑模式" - -#: src/components/Swap/components/TokenPairPriceWithToggle.tsx:61 -#: src/components/Swap/index.tsx:626 -#: src/components/Swap/index.tsx:755 +#: src/components/Swap/components/TokenPairPriceWithToggle.tsx:75 +#: src/components/Swap/index.tsx:634 +#: src/components/Swap/index.tsx:802 msgid "Quote not available" msgstr "没有报价" -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:980 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:1054 msgid "My pool share" msgstr "" @@ -986,7 +978,7 @@ msgstr "" msgid "Learn More" msgstr "" -#: src/widgets/PoolWidget/PoolCreate/operate-widgets/RatioSetting.tsx:349 +#: src/widgets/PoolWidget/PoolCreate/operate-widgets/RatioSetting.tsx:350 msgid "Use the recommended ratio" msgstr "" @@ -999,16 +991,16 @@ msgstr "" msgid "No LP pools match your criteria" msgstr "" -#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:218 -#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:555 -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:258 -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:814 +#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:213 +#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:582 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:254 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:866 msgid "Fee rate" msgstr "" #: src/widgets/PoolWidget/AMMV3/AMMV3PositionManage.tsx:303 -#: src/widgets/PoolWidget/PoolList/hooks/usePoolListTabs.ts:25 -#: src/widgets/PoolWidget/PoolOperate/AddPoolOperate.tsx:124 +#: src/widgets/PoolWidget/PoolList/hooks/usePoolListTabs.tsx:51 +#: src/widgets/PoolWidget/PoolOperate/AddPoolOperate.tsx:125 msgid "Add Liquidity" msgstr "" @@ -1036,7 +1028,7 @@ msgstr "" msgid "Your position will appear here." msgstr "" -#: src/components/Swap/index.tsx:740 +#: src/components/Swap/index.tsx:782 msgid "Fetching Price..." msgstr "获取价格中..." @@ -1058,12 +1050,12 @@ msgstr "" msgid "LP Fee" msgstr "" -#: src/widgets/PoolWidget/PoolCreate/operate-widgets/RatioSetting.tsx:208 +#: src/widgets/PoolWidget/PoolCreate/operate-widgets/RatioSetting.tsx:209 msgid "Ratio Settings" msgstr "" #: src/components/Bridge/BridgeSummaryDialog/index.tsx:147 -#: src/components/Swap/components/ReviewDialog.tsx:443 +#: src/components/Swap/components/ReviewDialog.tsx:448 #: src/widgets/MiningWidget/MiningCreate/operate-widgets/BottomButtonGroup.tsx:367 msgid "Confirming" msgstr "确认中" @@ -1094,12 +1086,12 @@ msgid "Confirm Cross Chain" msgstr "确认跨链交易" #. js-lingui-explicit-id -#: src/components/Swap/components/ReviewDialog.tsx:421 +#: src/components/Swap/components/ReviewDialog.tsx:426 msgid "Price impact reaches <0>{priceImpact}%, accept the quote" msgstr "价格冲击为<0>{priceImpact}%, 仍接受此报价" -#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:322 -#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:401 +#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:336 +#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:415 msgid "Volume (1D)" msgstr "" @@ -1108,7 +1100,7 @@ msgid "Estimated Time" msgstr "预计时间" #: src/widgets/PoolWidget/PoolCreate/hooks/useVersionList.ts:19 -#: src/widgets/PoolWidget/PoolList/index.tsx:178 +#: src/widgets/PoolWidget/PoolList/index.tsx:219 msgid "Classical AMM-like pool. Suitable for most assets." msgstr "" @@ -1124,7 +1116,7 @@ msgstr "" msgid "The creator of the liquidity pool can adjust the liquidity distribution by modifying the market-making price parameters. <0>Learn more" msgstr "" -#: src/widgets/PoolWidget/AMMV2Create/index.tsx:389 +#: src/widgets/PoolWidget/AMMV2Create/index.tsx:398 #: src/widgets/PoolWidget/AMMV3/hooks/useV3DerivedMintInfo.tsx:523 msgid "Invalid pair" msgstr "" @@ -1168,7 +1160,7 @@ msgstr "交易哈希:" msgid "Single" msgstr "" -#: src/components/Swap/index.tsx:785 +#: src/components/Swap/index.tsx:836 msgid "Review Cross Chain" msgstr "预览跨链交易" @@ -1196,15 +1188,15 @@ msgstr "" msgid "Start Time" msgstr "" -#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:174 -#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:605 -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:214 -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:868 +#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:181 +#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:647 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:222 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:935 #: src/widgets/PoolWidget/PoolOperate/hooks/usePoolOrMiningTabs.ts:20 msgid "Mining" msgstr "" -#: src/components/Swap/components/ReviewDialog.tsx:334 +#: src/components/Swap/components/ReviewDialog.tsx:339 msgid "Price Impact" msgstr "价格冲击" @@ -1238,7 +1230,7 @@ msgstr "" msgid "TVL" msgstr "" -#: src/widgets/PoolWidget/PoolOperate/index.tsx:114 +#: src/widgets/PoolWidget/PoolOperate/index.tsx:115 msgid "LP Tokens" msgstr "" @@ -1272,8 +1264,8 @@ msgstr "" msgid "Trader" msgstr "" -#: src/components/Swap/SwapOrderHistory/index.tsx:113 -#: src/components/Swap/SwapOrderHistory/SameOrderCard.tsx:55 +#: src/components/Swap/SwapOrderHistory/index.tsx:114 +#: src/components/Swap/SwapOrderHistory/SameOrderCard.tsx:54 #: src/widgets/MiningWidget/OperateArea/AssociateMine.tsx:269 #: src/widgets/PoolWidget/AMMV3/components/PositionAmountPreview.tsx:195 #: src/widgets/PoolWidget/PoolOperate/components/LiquidityInfo.tsx:400 @@ -1347,7 +1339,7 @@ msgstr "" msgid "Can the pool price be adjusted?" msgstr "" -#: src/components/Swap/components/ReviewDialog.tsx:243 +#: src/components/Swap/components/ReviewDialog.tsx:248 msgid "Swap Detail" msgstr "交易详情" @@ -1355,7 +1347,7 @@ msgstr "交易详情" msgid "No ForceStop access" msgstr "No ForceStop access" -#: src/components/Swap/components/SwapSettingsDialog/index.tsx:180 +#: src/components/Swap/components/SwapSettingsDialog/index.tsx:184 msgid "Checking this option means that the routing algorithm will only route to liquidity pools between the two tokens in the trading pair and will ignore routes with any intermediary tokens." msgstr "" @@ -1363,7 +1355,7 @@ msgstr "" #: src/widgets/PoolWidget/PoolCreate/components/FeeRateCard.tsx:57 #: src/widgets/PoolWidget/PoolCreate/components/StepTitle.tsx:30 #: src/widgets/PoolWidget/PoolCreate/components/StepTitle.tsx:38 -#: src/widgets/PoolWidget/PoolCreate/index.tsx:323 +#: src/widgets/PoolWidget/PoolCreate/index.tsx:366 #: src/widgets/PoolWidget/PoolDetail/components/MoreDetail/ParametersTable.tsx:582 #: src/widgets/PoolWidget/PoolDetail/components/MoreDetail/SwapsTable.tsx:187 #: src/widgets/PoolWidget/PoolModify/index.tsx:260 @@ -1376,8 +1368,8 @@ msgstr "" msgid "You are making changes to the liquidity of a private pool. This is a highly discretionary operation that may cause substantial inflows/outflows of funds and changes in market prices. Please make sure you are fully aware of the implications of each parameter modification." msgstr "" -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:515 -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:616 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:547 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:649 msgid "Price Range" msgstr "" @@ -1386,11 +1378,11 @@ msgstr "" msgid "{0} deposited" msgstr "" -#: src/widgets/PoolWidget/AMMV2Create/MyLiqidity.tsx:64 +#: src/widgets/PoolWidget/AMMV2Create/MyLiqidity.tsx:68 #: src/widgets/PoolWidget/AMMV3/components/PositionAmountPreview.tsx:222 -#: src/widgets/PoolWidget/PoolList/hooks/usePoolListTabs.ts:28 -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:452 -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:611 +#: src/widgets/PoolWidget/PoolList/hooks/usePoolListTabs.tsx:76 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:478 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:644 #: src/widgets/PoolWidget/PoolOperate/components/LiquidityInfo.tsx:430 msgid "My Liquidity" msgstr "" @@ -1428,7 +1420,7 @@ msgstr "" msgid "On" msgstr "在" -#: src/components/Swap/index.tsx:723 +#: src/components/Swap/index.tsx:753 #: src/hooks/Token/useGetTokenStatus.ts:60 #: src/hooks/Token/useTokenStatus.ts:134 msgid "Approve" @@ -1438,7 +1430,7 @@ msgstr "代币授权" msgid "Share" msgstr "" -#: src/components/Swap/components/ReviewDialog.tsx:303 +#: src/components/Swap/components/ReviewDialog.tsx:308 msgid "Additional routing fees set by the Widget user" msgstr "由 Widget 设置的额外路由费用" @@ -1455,7 +1447,7 @@ msgstr "" msgid "Reward {0}" msgstr "" -#: src/widgets/PoolWidget/PoolCreate/operate-widgets/RatioSetting.tsx:320 +#: src/widgets/PoolWidget/PoolCreate/operate-widgets/RatioSetting.tsx:321 msgid "<0>{lostRatio} of the initial liquidity you provide will be burned. <1/>The closer the provided asset ratio is to the recommended ratio ({recommendRatioText}), the smaller the portion burned." msgstr "" @@ -1508,8 +1500,8 @@ msgstr "" msgid "Suitable for stablecoins with price fluctuations within 10%" msgstr "" -#: src/widgets/PoolWidget/PoolOperate/AddPoolOperate.tsx:259 -#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:557 +#: src/widgets/PoolWidget/PoolOperate/AddPoolOperate.tsx:272 +#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:582 msgid "Confirm submission" msgstr "" @@ -1521,12 +1513,12 @@ msgstr "" msgid "Asset" msgstr "" -#: src/widgets/PoolWidget/AMMV2Create/index.tsx:391 -#: src/widgets/PoolWidget/PoolOperate/AddPoolOperate.tsx:106 +#: src/widgets/PoolWidget/AMMV2Create/index.tsx:400 +#: src/widgets/PoolWidget/PoolOperate/AddPoolOperate.tsx:107 msgid "Supply" msgstr "" -#: src/widgets/PoolWidget/AMMV2Create/MyLiqidity.tsx:152 +#: src/widgets/PoolWidget/AMMV2Create/MyLiqidity.tsx:156 msgid "Pool share" msgstr "" @@ -1606,7 +1598,7 @@ msgstr "" msgid "Modify Confirmation" msgstr "" -#: src/widgets/PoolWidget/AMMV2Create/index.tsx:341 +#: src/widgets/PoolWidget/AMMV2Create/index.tsx:350 #: src/widgets/PoolWidget/PoolOperate/components/LiquidityInfo.tsx:334 msgid "Tips:" msgstr "" @@ -1624,11 +1616,11 @@ msgstr "" msgid "V2 & PMM" msgstr "" -#: src/widgets/PoolWidget/AMMV2Create/FeeEdit.tsx:81 +#: src/widgets/PoolWidget/AMMV2Create/FeeEdit.tsx:88 #: src/widgets/PoolWidget/AMMV3/components/FeeSelector.tsx:66 #: src/widgets/PoolWidget/PoolDetail/components/TitleInfo.tsx:146 -#: src/widgets/PoolWidget/PoolDetail/index.tsx:187 -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:460 +#: src/widgets/PoolWidget/PoolDetail/index.tsx:194 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:476 #: src/widgets/PoolWidget/PoolModify/operate-widgets/FeeRateSetting.tsx:84 msgid "Edit" msgstr "" @@ -1637,7 +1629,7 @@ msgstr "" msgid "Min" msgstr "分钟" -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:669 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:713 msgid "Hide TVL=0 pools" msgstr "" @@ -1665,7 +1657,7 @@ msgid "Received" msgstr "" #: src/widgets/MiningWidget/MiningCreate/components/PoolPicker.tsx:90 -#: src/widgets/PoolWidget/PoolList/hooks/usePoolListTabs.ts:34 +#: src/widgets/PoolWidget/PoolList/hooks/usePoolListTabs.tsx:103 msgid "My Pools" msgstr "" @@ -1673,7 +1665,7 @@ msgstr "" msgid "Approve {0}" msgstr "" -#: src/components/Swap/SwapOrderHistory/index.tsx:105 +#: src/components/Swap/SwapOrderHistory/index.tsx:106 #: src/widgets/PoolWidget/AMMV2Create/ConfirmDialog.tsx:203 msgid "Rate" msgstr "" @@ -1695,7 +1687,7 @@ msgstr "服务升级中, 请等待或重试" msgid "Gas price is too low, please adjust in your wallet and try again" msgstr "Gas 价格过低, 请调整后重试" -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:366 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:386 msgid "My Pool Share" msgstr "" @@ -1716,8 +1708,8 @@ msgstr "" msgid "Connect to your wallet" msgstr "连接钱包" -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:228 -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:303 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:235 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:311 msgid "Total Fee Revenue" msgstr "" @@ -1743,7 +1735,7 @@ msgid "Token Amount" msgstr "" #: src/widgets/PoolWidget/PoolCreate/components/StepTitle.tsx:20 -#: src/widgets/PoolWidget/PoolCreate/index.tsx:246 +#: src/widgets/PoolWidget/PoolCreate/index.tsx:289 #: src/widgets/PoolWidget/PoolModify/index.tsx:237 msgid "Select Pool Version" msgstr "" @@ -1774,7 +1766,7 @@ msgstr "" msgid "Dynamic slippage is {recommendSlippage}%,the current slippage setting is higher than the dynamic slippage, which means you are willing to accept a worse final execution price." msgstr "" -#: src/components/Swap/index.tsx:729 +#: src/components/Swap/index.tsx:765 #: src/widgets/PoolWidget/AMMV3/hooks/useV3DerivedMintInfo.tsx:534 msgid "Enter an amount" msgstr "输入代币数量" @@ -1783,7 +1775,7 @@ msgstr "输入代币数量" msgid "Ratio" msgstr "" -#: src/components/Swap/index.tsx:723 +#: src/components/Swap/index.tsx:753 #: src/components/TokenPairStatusButton.tsx:45 #: src/components/TokenStatusButton.tsx:31 msgid "Approving" @@ -1832,8 +1824,8 @@ msgstr "秒" msgid "Total Swap Volume" msgstr "" -#: src/components/Swap/SwapOrderHistory/index.tsx:99 -#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:453 +#: src/components/Swap/SwapOrderHistory/index.tsx:100 +#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:478 msgid "Receive" msgstr "" @@ -1842,11 +1834,11 @@ msgstr "" msgid "Select Network" msgstr "" -#: src/widgets/PoolWidget/PoolList/components/CreatePoolBtn.tsx:120 +#: src/widgets/PoolWidget/PoolList/components/CreatePoolBtn.tsx:148 msgid "AMM V2 Position" msgstr "" -#: src/components/Swap/components/ReviewDialog.tsx:445 +#: src/components/Swap/components/ReviewDialog.tsx:450 msgid "Confirm swap" msgstr "确认交易" @@ -1861,7 +1853,7 @@ msgid "Slippage Tolerance" msgstr "滑点" #: src/widgets/PoolWidget/PoolCreate/components/StepTitle.tsx:24 -#: src/widgets/PoolWidget/PoolCreate/index.tsx:257 +#: src/widgets/PoolWidget/PoolCreate/index.tsx:300 #: src/widgets/PoolWidget/PoolModify/index.tsx:244 msgid "Parameter Settings" msgstr "" @@ -1877,13 +1869,13 @@ msgstr "" #: src/widgets/MiningWidget/MiningCreate/operate-widgets/RewardForm.tsx:478 #: src/widgets/PoolWidget/AMMV3/components/ReviewModal.tsx:79 -#: src/widgets/PoolWidget/PoolDetail/index.tsx:205 -#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:346 -#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:677 -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:269 -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:563 -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:1105 -#: src/widgets/PoolWidget/PoolOperate/AddPoolOperate.tsx:106 +#: src/widgets/PoolWidget/PoolDetail/index.tsx:212 +#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:361 +#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:744 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:277 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:605 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:1196 +#: src/widgets/PoolWidget/PoolOperate/AddPoolOperate.tsx:107 #: src/widgets/PoolWidget/PoolOperate/hooks/usePoolOperateTabs.ts:15 msgid "Add" msgstr "" @@ -1902,7 +1894,7 @@ msgstr "" msgid "The dynamic slippage is provided by DODO team through analyzing historical transactions." msgstr "" -#: src/widgets/PoolWidget/PoolCreate/operate-widgets/InitPriceSetting.tsx:265 +#: src/widgets/PoolWidget/PoolCreate/operate-widgets/InitPriceSetting.tsx:266 msgid "Failed to get price of the token" msgstr "" @@ -1933,7 +1925,7 @@ msgstr "" msgid "Low" msgstr "" -#: src/widgets/PoolWidget/AMMV2Create/index.tsx:225 +#: src/widgets/PoolWidget/AMMV2Create/index.tsx:219 #: src/widgets/PoolWidget/AMMV3/AddLiquidityV3.tsx:369 msgid "Select pair" msgstr "" @@ -1951,14 +1943,14 @@ msgstr "" msgid "Do not select non-standard ERC20 tokens as this may lead to unknown errors!" msgstr "" -#: src/widgets/PoolWidget/PoolList/components/CreatePoolBtn.tsx:156 -#: src/widgets/PoolWidget/PoolList/components/CreatePoolBtn.tsx:160 -#: src/widgets/PoolWidget/PoolList/components/CreatePoolBtn.tsx:205 -#: src/widgets/PoolWidget/PoolList/components/CreatePoolBtn.tsx:230 +#: src/widgets/PoolWidget/PoolList/components/CreatePoolBtn.tsx:185 +#: src/widgets/PoolWidget/PoolList/components/CreatePoolBtn.tsx:189 +#: src/widgets/PoolWidget/PoolList/components/CreatePoolBtn.tsx:235 +#: src/widgets/PoolWidget/PoolList/components/CreatePoolBtn.tsx:260 msgid "Create Pool" msgstr "" -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:702 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:735 msgid "Managing" msgstr "" @@ -1966,7 +1958,7 @@ msgstr "" msgid "Volume (24H)" msgstr "" -#: src/widgets/PoolWidget/PoolCreate/index.tsx:242 +#: src/widgets/PoolWidget/PoolCreate/index.tsx:258 #: src/widgets/PoolWidget/PoolModify/index.tsx:234 msgid "Pool Setup" msgstr "" @@ -1975,7 +1967,7 @@ msgstr "" msgid "100% use your own funds and enjoy the maximum degree of flexibility." msgstr "" -#: src/widgets/PoolWidget/PoolCreate/operate-widgets/RatioSetting.tsx:315 +#: src/widgets/PoolWidget/PoolCreate/operate-widgets/RatioSetting.tsx:316 msgid "The closer the provided asset ratio is to the recommended ratio ({recommendRatioText}), the smaller the portion burned." msgstr "" @@ -1989,7 +1981,7 @@ msgstr "" msgid "All chains" msgstr "" -#: src/widgets/PoolWidget/PoolCreate/operate-widgets/InitPriceSetting.tsx:261 +#: src/widgets/PoolWidget/PoolCreate/operate-widgets/InitPriceSetting.tsx:262 msgid "Current Market Price:" msgstr "" @@ -2014,11 +2006,7 @@ msgstr "" msgid "Unable to SETTLE during the cooling-off period" msgstr "在冷静期无法进行清算" -#: src/components/Swap/index.tsx:891 -msgid "The setting has been switched to cross chain mode" -msgstr "设置已切换到跨链桥交易模式" - -#: src/components/Swap/components/TokenCard/index.tsx:284 +#: src/components/Swap/components/TokenCard/index.tsx:328 msgid "Buy" msgstr "" @@ -2055,12 +2043,12 @@ msgid "Detail" msgstr "详情" #: src/widgets/PoolWidget/PoolDetail/components/TitleInfo.tsx:225 -#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:271 -#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:397 +#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:272 +#: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:411 #: src/widgets/PoolWidget/PoolList/components/LoadingCard.tsx:57 #: src/widgets/PoolWidget/PoolList/components/TokenListPoolItem.tsx:102 -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:313 -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:607 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:318 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:640 msgid "APY" msgstr "" @@ -2076,7 +2064,7 @@ msgstr "" msgid "Select Platform" msgstr "" -#: src/components/Swap/components/TokenCard/TokenLogoCollapse.tsx:64 +#: src/components/Swap/components/TokenCard/TokenLogoCollapse.tsx:71 #: src/components/TokenSelect.tsx:124 #: src/widgets/MiningWidget/MiningCreate/components/PoolPicker.tsx:356 #: src/widgets/MiningWidget/MiningCreate/components/PoolPicker.tsx:414 @@ -2093,7 +2081,7 @@ msgstr "" msgid "Total Liquidity" msgstr "" -#: src/widgets/PoolWidget/PoolList/components/CreatePoolBtn.tsx:131 +#: src/widgets/PoolWidget/PoolList/components/CreatePoolBtn.tsx:160 msgid "AMM V3 Position" msgstr "" @@ -2119,18 +2107,18 @@ msgid "Initial Price Alert" msgstr "" #: src/widgets/PoolWidget/AMMV3/components/RemoveButton.tsx:32 -#: src/widgets/PoolWidget/PoolDetail/index.tsx:198 -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:254 -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:551 -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:544 -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:1093 +#: src/widgets/PoolWidget/PoolDetail/index.tsx:205 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:261 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:593 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:576 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:1184 #: src/widgets/PoolWidget/PoolOperate/hooks/usePoolOperateTabs.ts:16 -#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:228 +#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:235 msgid "Remove" msgstr "" -#: src/widgets/PoolWidget/PoolCreate/index.tsx:137 -#: src/widgets/PoolWidget/PoolCreate/index.tsx:183 +#: src/widgets/PoolWidget/PoolCreate/index.tsx:140 +#: src/widgets/PoolWidget/PoolCreate/index.tsx:192 msgid "ratio is 0" msgstr "" @@ -2138,7 +2126,7 @@ msgstr "" msgid "Cross Chain Summary" msgstr "跨链桥概览" -#: src/widgets/PoolWidget/AMMV2Create/FeeEdit.tsx:61 +#: src/widgets/PoolWidget/AMMV2Create/FeeEdit.tsx:68 msgid "{0}% fee tier" msgstr "" @@ -2162,7 +2150,7 @@ msgstr "" msgid "Create One" msgstr "" -#: src/components/Swap/SwapOrderHistory/index.tsx:102 +#: src/components/Swap/SwapOrderHistory/index.tsx:103 msgid "Status" msgstr "" @@ -2178,7 +2166,7 @@ msgstr "" msgid "Real Time" msgstr "" -#: src/components/Swap/index.tsx:587 +#: src/components/Swap/index.tsx:595 msgid "Unsupported network - switch to trade" msgstr "未支持网络 - 请切换后进行交易" @@ -2186,9 +2174,9 @@ msgstr "未支持网络 - 请切换后进行交易" msgid "Enter parameters to view the yield curve" msgstr "" -#: src/widgets/PoolWidget/PoolList/components/CreatePoolBtn.tsx:110 -#: src/widgets/PoolWidget/PoolList/components/CreatePoolBtn.tsx:121 -#: src/widgets/PoolWidget/PoolList/components/CreatePoolBtn.tsx:132 +#: src/widgets/PoolWidget/PoolList/components/CreatePoolBtn.tsx:137 +#: src/widgets/PoolWidget/PoolList/components/CreatePoolBtn.tsx:149 +#: src/widgets/PoolWidget/PoolList/components/CreatePoolBtn.tsx:161 msgid "Description of this type of pool" msgstr "" @@ -2200,12 +2188,11 @@ msgstr "" msgid "Failed to add" msgstr "" -#: src/components/Swap/index.tsx:886 #: src/hooks/Swap/useExecuteSwap.ts:60 msgid "Swap" msgstr "交易" -#: src/widgets/PoolWidget/AMMV2Create/FeeEdit.tsx:81 +#: src/widgets/PoolWidget/AMMV2Create/FeeEdit.tsx:88 #: src/widgets/PoolWidget/AMMV3/components/FeeSelector.tsx:66 msgid "Hide" msgstr "" @@ -2215,8 +2202,8 @@ msgstr "" msgid "In range" msgstr "" -#: src/widgets/PoolWidget/PoolOperate/AddPoolOperate.tsx:268 -#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:566 +#: src/widgets/PoolWidget/PoolOperate/AddPoolOperate.tsx:281 +#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:591 msgid "There is risk of being arbitraged if adding this liquidity." msgstr "" @@ -2229,7 +2216,7 @@ msgid "This trading pair does not have enough historical data and has used the d msgstr "" #: src/widgets/PoolWidget/AMMV3/components/PositionViewCard.tsx:248 -#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:1105 +#: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:1196 msgid "Manage" msgstr "" @@ -2237,7 +2224,7 @@ msgstr "" msgid "Source" msgstr "源" -#: src/components/Swap/components/SwapSettingsDialog/index.tsx:90 +#: src/components/Swap/components/SwapSettingsDialog/index.tsx:94 msgid "You may modify the transaction deadline, the maximum time allowed for a trade to be processed on-chain. However, please note that this may lead to your trade executing at a subpar price, as the market price may change during that time." msgstr "" @@ -2245,7 +2232,7 @@ msgstr "" msgid "{0} Approval Pending" msgstr "" -#: src/widgets/PoolWidget/PoolCreate/operate-widgets/RatioSetting.tsx:297 +#: src/widgets/PoolWidget/PoolCreate/operate-widgets/RatioSetting.tsx:298 msgid "Liquidity Burn Ratio" msgstr "" @@ -2274,10 +2261,10 @@ msgstr "" msgid "ForceStop exception" msgstr "ForceStop 异常" -#: src/components/LoadMore.tsx:50 +#: src/components/LoadMore.tsx:47 #: src/widgets/PoolWidget/PoolDetail/components/MoreDetail/LiquidityProvidersTable.tsx:222 #: src/widgets/PoolWidget/PoolDetail/components/MoreDetail/SwapsTable.tsx:317 -#: src/widgets/PoolWidget/PoolList/components/LiquidityTable.tsx:101 +#: src/widgets/PoolWidget/PoolList/components/LiquidityTable.tsx:90 msgid "Load more" msgstr "" @@ -2327,7 +2314,7 @@ msgstr "" msgid "https://blog.dodoex.io/introducing-the-dodo-smart-slippage-3d32d13a4fef" msgstr "" -#: src/components/Swap/components/SwapSettingsDialog/index.tsx:87 +#: src/components/Swap/components/SwapSettingsDialog/index.tsx:91 msgid "Transaction Deadline" msgstr "交易截止时间" @@ -2336,7 +2323,7 @@ msgstr "交易截止时间" msgid "Claim Rewards" msgstr "" -#: src/widgets/PoolWidget/PoolList/hooks/usePoolListTabs.ts:34 +#: src/widgets/PoolWidget/PoolList/hooks/usePoolListTabs.tsx:103 msgid "My Pools (PMM)" msgstr "" @@ -2348,10 +2335,10 @@ msgstr "" msgid "Total Rewards=Daily Rewards*Duration" msgstr "" -#: src/components/Swap/index.tsx:766 +#: src/components/Swap/index.tsx:815 #: src/components/TokenStatusButton.tsx:18 -#: src/widgets/PoolWidget/PoolOperate/AddPoolOperate.tsx:108 -#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:228 +#: src/widgets/PoolWidget/PoolOperate/AddPoolOperate.tsx:109 +#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:235 msgid "Insufficient balance" msgstr "余额不足" diff --git a/packages/dodoex-widgets/src/widgets/PoolWidget/AMMV2Create/FeeEdit.tsx b/packages/dodoex-widgets/src/widgets/PoolWidget/AMMV2Create/FeeEdit.tsx index b01d5b6c..6b95260e 100644 --- a/packages/dodoex-widgets/src/widgets/PoolWidget/AMMV2Create/FeeEdit.tsx +++ b/packages/dodoex-widgets/src/widgets/PoolWidget/AMMV2Create/FeeEdit.tsx @@ -45,6 +45,10 @@ export default function FeeEdit({ sx={{ opacity: disabled ? 0.3 : undefined, fontWeight: 600, + borderRadius: isMobile ? 0 : 12, + backgroundColor: isMobile + ? 'transparent' + : theme.palette.background.paper, }} > @@ -85,7 +92,9 @@ export default function FeeEdit({ <> @@ -146,10 +163,16 @@ export default function FeeEdit({ py: 12, borderWidth: 1, borderRadius: 12, + backgroundColor: isMobile + ? theme.palette.background.paper + : 'rgba(26, 26, 27, 0.10)', cursor: 'pointer', color: isLessFee ? theme.palette.error.main : 'text.primary', ...(isCustom && { - borderColor: theme.palette.primary.main, + borderColor: theme.palette.border.main, + backgroundColor: isMobile + ? theme.palette.background.paper + : '#00D555', }), }} onClick={() => { diff --git a/packages/dodoex-widgets/src/widgets/PoolWidget/AMMV2Create/MyLiqidity.tsx b/packages/dodoex-widgets/src/widgets/PoolWidget/AMMV2Create/MyLiqidity.tsx index 1e421792..cc681d15 100644 --- a/packages/dodoex-widgets/src/widgets/PoolWidget/AMMV2Create/MyLiqidity.tsx +++ b/packages/dodoex-widgets/src/widgets/PoolWidget/AMMV2Create/MyLiqidity.tsx @@ -11,6 +11,7 @@ import { HoverOpacity, LoadingSkeleton, Tooltip, + useTheme, } from '@dodoex/components'; import { Trans } from '@lingui/macro'; import { TokenLogoPair } from '../../../components/TokenLogoPair'; @@ -26,6 +27,7 @@ export default function MyLiquidity({ pair?: Pair | null; pairAddress?: string; }) { + const theme = useTheme(); const { isBalanceLoading, isDepositedLoading, @@ -52,6 +54,8 @@ export default function MyLiquidity({ px: 20, py: 12, borderWidth: 1, + borderColor: theme.palette.border.main, + borderStyle: 'solid', borderRadius: 8, }} > diff --git a/packages/dodoex-widgets/src/widgets/PoolWidget/AMMV2Create/index.tsx b/packages/dodoex-widgets/src/widgets/PoolWidget/AMMV2Create/index.tsx index 6896aa8c..ba5d2304 100644 --- a/packages/dodoex-widgets/src/widgets/PoolWidget/AMMV2Create/index.tsx +++ b/packages/dodoex-widgets/src/widgets/PoolWidget/AMMV2Create/index.tsx @@ -36,8 +36,10 @@ import { getUniswapV2Router02FixedFeeContractAddressByChainId, } from '@dodoex/dodo-contract-request'; import { getIsAMMV2DynamicFeeContractByChainId } from '../utils'; +import { useTheme } from '@dodoex/components'; export default function AMMV2Create() { + const theme = useTheme(); const [fee, setFee] = React.useState(0.003); const feeList = [0.0001, 0.0005, 0.003]; const [baseToken, setBaseToken] = React.useState(); @@ -160,53 +162,45 @@ export default function AMMV2Create() { }); return ( - + - {isMobile ? ( - - - - ) : ( + - - Add liquidity - - )} + onClick={back} + /> + Add liquidity + (reducer, { currentStep: 0, @@ -158,6 +161,12 @@ export default function PoolCreate() { }); } } + sx={{ + backgroundColor: theme.palette.background.paper, + }} + inputSx={{ + backgroundColor: 'transparent', + }} /> ); + const back = () => { + useRouterStore.getState().push({ + type: PageType.Pool, + }); + }; + return ( - + + + + Pool Setup + + - - - - Pool Setup - - @@ -110,6 +111,9 @@ export default function PoolDetail({ sx={{ flex: 1, overflow: 'hidden', + padding: 20, + borderRadius: 20, + backgroundColor: 'background.default', }} > @@ -129,6 +133,9 @@ export default function PoolDetail({ onClose={() => { setOperateType(undefined); }} + sx={{ + backgroundColor: 'background.default', + }} /> ) : ( - - - {baseToken && quoteToken ? ( - - ) : ( - '' - )} - - - {`${baseToken?.symbol}/${quoteToken?.symbol}`} - - - { - useRouterStore.getState().push({ - type: PageType.PoolDetail, - params: { - chainId: item.chainId as ChainId, - address: item.id as string, - }, - }); - }} - /> - - - - {supportAMM && ( + + + {baseToken && quoteToken ? ( + + ) : ( + '' + )} + + + {`${baseToken?.symbol}/${quoteToken?.symbol}`} + + + { + useRouterStore.getState().push({ + type: PageType.PoolDetail, + params: { + chainId: item.chainId as ChainId, + address: item.id as string, + }, + }); + }} + /> + + + + {supportAMM && ( + - {poolType} - - Fee rate}> - {isAMMV3 - ? (FEE_AMOUNT_DETAIL[item.lpFeeRate as FeeAmount] - ?.label ?? '-') - : formatPercentageNumber({ - input: new BigNumber(item.lpFeeRate ?? 0).plus( - item.mtFeeRate - ? byWei(item.mtFeeRate, isAMMV2 ? 4 : 18) - : 0, - ), - })} + {poolType} - + Fee rate}> + + {isAMMV3 + ? (FEE_AMOUNT_DETAIL[item.lpFeeRate as FeeAmount] + ?.label ?? '-') + : formatPercentageNumber({ + input: new BigNumber(item.lpFeeRate ?? 0).plus( + item.mtFeeRate + ? byWei(item.mtFeeRate, isAMMV2 ? 4 : 18) + : 0, + ), + })} + + + + + )} + + + ${formatExponentialNotation(new BigNumber(item.tvl))} - )} - - - ${formatExponentialNotation(new BigNumber(item.tvl))} - - - - - {hasMining ? ( - + + + {hasMining ? ( + + + ✨{' '} + + + ) : ( + '' + )} + - ✨{' '} + {baseApy} + {quoteApy ? `/${quoteApy}` : ''} - - ) : ( - '' - )} - + + + + {supportAMM && ( + - {baseApy} - {quoteApy ? `/${quoteApy}` : ''} + ${formatReadableNumber({ input: item.volume24H || 0 })} - - - - {supportAMM && ( + + )} - ${formatReadableNumber({ input: item.volume24H || 0 })} + {supportAMM && poolType === 'PMM' && ( + + )} + {operateBtnText ? ( + setOperatePool(null)} + /> + ) : ( + + )} - )} - - - {supportAMM && poolType === 'PMM' && ( - - )} - {operateBtnText ? ( - setOperatePool(null)} - /> - ) : ( - - )} - - + ); })} diff --git a/packages/dodoex-widgets/src/widgets/PoolWidget/PoolList/MyCreated.tsx b/packages/dodoex-widgets/src/widgets/PoolWidget/PoolList/MyCreated.tsx index 383dedd4..95033e12 100644 --- a/packages/dodoex-widgets/src/widgets/PoolWidget/PoolList/MyCreated.tsx +++ b/packages/dodoex-widgets/src/widgets/PoolWidget/PoolList/MyCreated.tsx @@ -5,7 +5,9 @@ import { Checkbox, HoverAddBackground, HoverAddUnderLine, + ThemeProvider, alpha, + createTheme, useTheme, } from '@dodoex/components'; import { PoolApi, PoolType, ChainId } from '@dodoex/api'; @@ -356,247 +358,258 @@ function TableList({ const hoverBg = theme.palette.background.tag; const mt = 6; const mb = 6; + const currentTheme = createTheme({ + mode: operateBtnText ? 'dark' : 'light', + theme: undefined, + lang: 'en-US', + }); return ( - - - - {baseToken && quoteToken ? ( - - ) : ( - '' - )} - - - + + + + {baseToken && quoteToken ? ( + + ) : ( + '' + )} + + - { - router.push({ - type: PageType.PoolDetail, - params: { - chainId, - address: pairAddress, - }, - }); - }} - > - {truncatePoolAddress(pairAddress)} - - - - {isDpp ? ( - { - router.push({ - type: PageType.ModifyPool, - params: { - chainId, - address: pairAddress, - }, - }); + className="truncate-address-link" + sx={{ + display: 'flex', + alignItems: 'center', }} > - Edit - - ) : ( - '' - )} - - - {typeLabel} + { + router.push({ + type: PageType.PoolDetail, + params: { + chainId, + address: pairAddress, + }, + }); + }} + > + {truncatePoolAddress(pairAddress)} + + + + {isDpp ? ( + { + router.push({ + type: PageType.ModifyPool, + params: { + chainId, + address: pairAddress, + }, + }); + }} + > + Edit + + ) : ( + '' + )} + + + {typeLabel} + - - - - $ - {item.tvl - ? formatExponentialNotation(new BigNumber(item.tvl)) - : '-'} + + + $ + {item.tvl + ? formatExponentialNotation(new BigNumber(item.tvl)) + : '-'} + - - - - $ - {item.totalFee - ? formatExponentialNotation(new BigNumber(item.totalFee)) - : '-'} + + + $ + {item.totalFee + ? formatExponentialNotation(new BigNumber(item.totalFee)) + : '-'} + - - - - {operateBtnText ? ( - setOperatePool(null)} - /> - ) : ( - <> - {!!account && ( + + + {operateBtnText ? ( + setOperatePool(null)} + /> + ) : ( + <> + {!!account && ( + { + evt.stopPropagation(); + setOperatePool({ + operate: OperateTab.Remove, + chainId, + address: pairAddress, + }); + }} + > + Remove + + )} { - evt.stopPropagation(); + onClick={() => { setOperatePool({ - operate: OperateTab.Remove, chainId, address: pairAddress, }); }} > - Remove + {t`Add`} - )} - { - setOperatePool({ - chainId, - address: pairAddress, - }); - }} - > - {t`Add`} - - - )} + + )} + - + ); })} diff --git a/packages/dodoex-widgets/src/widgets/PoolWidget/PoolList/MyLiquidity.tsx b/packages/dodoex-widgets/src/widgets/PoolWidget/PoolList/MyLiquidity.tsx index ab874834..9aa5d01f 100644 --- a/packages/dodoex-widgets/src/widgets/PoolWidget/PoolList/MyLiquidity.tsx +++ b/packages/dodoex-widgets/src/widgets/PoolWidget/PoolList/MyLiquidity.tsx @@ -1,4 +1,12 @@ -import { alpha, Box, Button, useTheme, Tooltip } from '@dodoex/components'; +import { + alpha, + Box, + Button, + useTheme, + Tooltip, + ThemeProvider, + createTheme, +} from '@dodoex/components'; import { PoolApi, PoolType } from '@dodoex/api'; import { useQuery, useQueryClient } from '@tanstack/react-query'; import { @@ -747,107 +755,101 @@ function TableList({ const mt = 6; const mb = 6; + const currentTheme = createTheme({ + mode: operateBtnText ? 'dark' : 'light', + theme: undefined, + lang: 'en-US', + }); + const backgroundColor = currentTheme.palette.background.paper; return ( - - - - {baseToken && quoteToken ? ( - - ) : ( - '' - )} - - - {`${baseToken?.symbol}/${quoteToken?.symbol}`} - - - { - useRouterStore.getState().push({ - type: PageType.PoolDetail, - params: { - chainId: item.chainId as ChainId, - address: item.id as string, - }, - }); - }} - sx={{ - typography: 'h6', - color: 'text.secondary', - }} - /> - - - - {supportAMM && ( + + {baseToken && quoteToken ? ( + + ) : ( + '' + )} + + + {`${baseToken?.symbol}/${quoteToken?.symbol}`} + + + { + useRouterStore.getState().push({ + type: PageType.PoolDetail, + params: { + chainId: item.chainId as ChainId, + address: item.id as string, + }, + }); + }} + sx={{ + typography: 'h6', + color: 'text.secondary', + }} + /> + + + + {supportAMM && ( + - {poolType} - - Fee rate}> - {isAMMV3 - ? (FEE_AMOUNT_DETAIL[item.lpFeeRate as FeeAmount] - ?.label ?? '-') - : formatPercentageNumber({ - input: new BigNumber(item.lpFeeRate ?? 0).plus( - item.mtFeeRate - ? byWei(item.mtFeeRate, isAMMV2 ? 4 : 18) - : 0, - ), - })} + {poolType} - + Fee rate}> + + {isAMMV3 + ? (FEE_AMOUNT_DETAIL[item.lpFeeRate as FeeAmount] + ?.label ?? '-') + : formatPercentageNumber({ + input: new BigNumber(item.lpFeeRate ?? 0).plus( + item.mtFeeRate + ? byWei(item.mtFeeRate, isAMMV2 ? 4 : 18) + : 0, + ), + })} + + + - - )} - {isAMMV3 ? null : ( - - - ${formatExponentialNotation(new BigNumber(item.tvl || 0))} + )} + {isAMMV3 ? null : ( + + + ${formatExponentialNotation(new BigNumber(item.tvl || 0))} + - - )} + )} + + {isAMMV3 ? null : ( + + + {hasMining ? ( + + + ✨{' '} + + + ) : ( + '' + )} + + + {baseApy || '0%'} + {quoteApy ? `/${quoteApy}` : ''} + + + + + )} - {isAMMV3 ? null : ( - {hasMining ? ( - - - ✨{' '} - - - ) : ( - '' - )} - - - {baseApy || '0%'} - {quoteApy ? `/${quoteApy}` : ''} - - - - - )} - - - - {isAMMV3 ? ( - position?.liquidityUSD ? ( - `$${formatTokenAmountNumber({ - input: position.liquidityUSD, - decimals: 2, - })}` - ) : ( - '-' - ) - ) : ( - <> - {singleSideLp ? ( - + {isAMMV3 ? ( + position?.liquidityUSD ? ( + `$${formatTokenAmountNumber({ + input: position.liquidityUSD, + decimals: 2, + })}` ) : ( - - )} - {baseLpTokenBalance - ? formatReadableNumber({ - input: baseLpTokenBalance, - }) - : '-'} - {singleSideLp && ( - <> - {' / '} + '-' + ) + ) : ( + <> + {singleSideLp ? ( - {quoteLpTokenBalance - ? formatReadableNumber({ - input: quoteLpTokenBalance, - }) - : '0'} + ) : ( + + )} + {baseLpTokenBalance + ? formatReadableNumber({ + input: baseLpTokenBalance, + }) + : '-'} + {singleSideLp && ( + <> + {' / '} + + {quoteLpTokenBalance + ? formatReadableNumber({ + input: quoteLpTokenBalance, + }) + : '0'} + + )} + {isAMMV2 && ( + My pool share}> + + {formatPercentageNumber({ + input: lq.liquidityPositions?.[0]?.poolShare, + })} + + + )} + + )} + + + + {onlyV3 ? ( + + + + + <> + + {formatTickPrice({ + price: position?.priceRange?.token0LowerPrice, + atLimit: {}, + direction: Bound.LOWER, + })} +   + + {baseToken?.symbol} - )} - {isAMMV2 && ( - My pool share}> - - {formatPercentageNumber({ - input: lq.liquidityPositions?.[0]?.poolShare, + + + + + + <> + + {formatTickPrice({ + price: position?.priceRange?.token0UpperPrice, + atLimit: {}, + direction: Bound.UPPER, })} - - - )} - - )} - - +   + + {baseToken?.symbol} + + + + + ) : null} - {onlyV3 ? ( - - - <> - - {formatTickPrice({ - price: position?.priceRange?.token0LowerPrice, - atLimit: {}, - direction: Bound.LOWER, - })} -   - - {baseToken?.symbol} - - - - - - + )} + {operateBtnText ? ( + setOperatePool(null)} + /> + ) : ( <> - - {formatTickPrice({ - price: position?.priceRange?.token0UpperPrice, - atLimit: {}, - direction: Bound.UPPER, - })} -   - - {baseToken?.symbol} + {isAMMV3 + ? null + : !!account && ( + { + evt.stopPropagation(); + setOperatePool({ + operate: OperateTab.Remove, + pool: convertFetchMyLiquidityToOperateData( + lq, + ), + hasMining, + }); + }} + > + Remove + + )} + { + setOperatePool({ + pool: convertFetchMyLiquidityToOperateData(lq), + hasMining, + }); + }} + > + {isAMMV3 ? t`Manage` : t`Add`} + - + )} - ) : null} - - - - {supportAMM && poolType === 'PMM' && ( - - )} - {operateBtnText ? ( - setOperatePool(null)} - /> - ) : ( - <> - {isAMMV3 - ? null - : !!account && ( - { - evt.stopPropagation(); - setOperatePool({ - operate: OperateTab.Remove, - pool: convertFetchMyLiquidityToOperateData( - lq, - ), - hasMining, - }); - }} - > - Remove - - )} - { - setOperatePool({ - pool: convertFetchMyLiquidityToOperateData(lq), - hasMining, - }); - }} - > - {isAMMV3 ? t`Manage` : t`Add`} - - - )} - - + ); })} diff --git a/packages/dodoex-widgets/src/widgets/PoolWidget/PoolList/components/AddingOrRemovingBtn.tsx b/packages/dodoex-widgets/src/widgets/PoolWidget/PoolList/components/AddingOrRemovingBtn.tsx index 021dd6c9..e5bf0a58 100644 --- a/packages/dodoex-widgets/src/widgets/PoolWidget/PoolList/components/AddingOrRemovingBtn.tsx +++ b/packages/dodoex-widgets/src/widgets/PoolWidget/PoolList/components/AddingOrRemovingBtn.tsx @@ -18,7 +18,8 @@ export default function AddingOrRemovingBtn({ p: theme.spacing(0, 4, 0, 8), width: 'max-content', height: 32, - backgroundColor: 'hover.default', + color: '#FFF', + backgroundColor: 'rgba(255, 255, 255, 0.20)', borderWidth: 1, borderRadius: 8, cursor: 'pointer', diff --git a/packages/dodoex-widgets/src/widgets/PoolWidget/PoolList/components/GoPoolDetailBtn.tsx b/packages/dodoex-widgets/src/widgets/PoolWidget/PoolList/components/GoPoolDetailBtn.tsx index 859eb5f0..3cd45134 100644 --- a/packages/dodoex-widgets/src/widgets/PoolWidget/PoolList/components/GoPoolDetailBtn.tsx +++ b/packages/dodoex-widgets/src/widgets/PoolWidget/PoolList/components/GoPoolDetailBtn.tsx @@ -43,7 +43,7 @@ export default function GoPoolDetailBtn({ } : { width: 40, - backgroundColor: 'transparent', + backgroundColor: '#FFFFFF', borderWidth: 1, }), }} diff --git a/packages/dodoex-widgets/src/widgets/PoolWidget/PoolList/index.tsx b/packages/dodoex-widgets/src/widgets/PoolWidget/PoolList/index.tsx index 1ba896d4..3e57b6cd 100644 --- a/packages/dodoex-widgets/src/widgets/PoolWidget/PoolList/index.tsx +++ b/packages/dodoex-widgets/src/widgets/PoolWidget/PoolList/index.tsx @@ -252,6 +252,9 @@ export default function PoolList({ account={account} onClose={() => setOperatePool(null)} modal={isMobile} + sx={{ + backgroundColor: 'background.default', + }} {...operatePool} /> ) : ( @@ -263,7 +266,7 @@ export default function PoolList({ sx={{ width: 375, height: 'max-content', - backgroundColor: 'background.paper', + backgroundColor: 'background.default', borderRadius: 16, overflow: 'hidden', }} diff --git a/packages/dodoex-widgets/src/widgets/PoolWidget/PoolOperate/AddPoolOperate.tsx b/packages/dodoex-widgets/src/widgets/PoolWidget/PoolOperate/AddPoolOperate.tsx index 4acdd724..a3e3e396 100644 --- a/packages/dodoex-widgets/src/widgets/PoolWidget/PoolOperate/AddPoolOperate.tsx +++ b/packages/dodoex-widgets/src/widgets/PoolWidget/PoolOperate/AddPoolOperate.tsx @@ -1,5 +1,5 @@ import { PoolApi } from '@dodoex/api'; -import { Box, Button, LoadingSkeleton } from '@dodoex/components'; +import { Box, Button, LoadingSkeleton, useTheme } from '@dodoex/components'; import { useWeb3React } from '@web3-react/core'; import React from 'react'; import { @@ -38,6 +38,7 @@ export function AddPoolOperate({ pool?: OperatePool; balanceInfo: ReturnType; }) { + const theme = useTheme(); const { account } = useWeb3React(); const { baseAmount, @@ -165,6 +166,12 @@ export function AddPoolOperate({ showPercentage onInputChange={handleChangeBaseAmount} readOnly={balanceInfo.loading || !canOperate} + sx={{ + backgroundColor: theme.palette.background.paper, + }} + inputSx={{ + backgroundColor: 'transparent', + }} /> )} {onlyShowSide ? '' : } @@ -178,6 +185,12 @@ export function AddPoolOperate({ showPercentage onInputChange={handleChangeQuoteAmount} readOnly={balanceInfo.loading || !canOperate || isSinglePool} + sx={{ + backgroundColor: theme.palette.background.paper, + }} + inputSx={{ + backgroundColor: 'transparent', + }} /> )} {isShowCompare && ( diff --git a/packages/dodoex-widgets/src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx b/packages/dodoex-widgets/src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx index 9a810c00..9a859358 100644 --- a/packages/dodoex-widgets/src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx +++ b/packages/dodoex-widgets/src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx @@ -1,5 +1,11 @@ import { basicTokenMap, ChainId, PoolApi } from '@dodoex/api'; -import { Box, Button, LoadingSkeleton, Select } from '@dodoex/components'; +import { + Box, + Button, + LoadingSkeleton, + Select, + useTheme, +} from '@dodoex/components'; import { useWeb3React } from '@web3-react/core'; import React from 'react'; import { @@ -46,6 +52,7 @@ export function RemovePoolOperate({ pool?: OperatePool; balanceInfo: ReturnType; }) { + const theme = useTheme(); const { account } = useWeb3React(); const baseOverride = balanceInfo.userBaseLpToTokenBalance; const quoteOverride = balanceInfo.userQuoteLpToTokenBalance; @@ -346,6 +353,12 @@ export function RemovePoolOperate({ readOnly={balanceInfo.loading || !canOperate} overrideBalance={isBase ? baseOverride : quoteOverride} overrideBalanceLoading={overrideBalanceLoading} + sx={{ + backgroundColor: theme.palette.background.paper, + }} + inputSx={{ + backgroundColor: 'transparent', + }} /> ) : ( <> @@ -358,6 +371,12 @@ export function RemovePoolOperate({ readOnly={balanceInfo.loading || !canOperate} overrideBalance={baseOverride} overrideBalanceLoading={overrideBalanceLoading} + sx={{ + backgroundColor: theme.palette.background.paper, + }} + inputSx={{ + backgroundColor: 'transparent', + }} /> {onlyShowSide ? '' : } {onlyShowSide === 'base' ? ( @@ -372,6 +391,12 @@ export function RemovePoolOperate({ readOnly={balanceInfo.loading || !canOperate || isSinglePool} overrideBalance={quoteOverride} overrideBalanceLoading={overrideBalanceLoading} + sx={{ + backgroundColor: theme.palette.background.paper, + }} + inputSx={{ + backgroundColor: 'transparent', + }} /> )} @@ -508,7 +533,7 @@ export function RemovePoolOperate({ borderStyle: 'solid', borderWidth: '1px 0 0', borderColor: 'border.main', - backgroundColor: 'background.paper', + backgroundColor: 'background.default', }} > {isShowCompare && ( diff --git a/packages/dodoex-widgets/src/widgets/PoolWidget/PoolOperate/components/SliderPercentageCard.tsx b/packages/dodoex-widgets/src/widgets/PoolWidget/PoolOperate/components/SliderPercentageCard.tsx index 1a7179a8..87f133d3 100644 --- a/packages/dodoex-widgets/src/widgets/PoolWidget/PoolOperate/components/SliderPercentageCard.tsx +++ b/packages/dodoex-widgets/src/widgets/PoolWidget/PoolOperate/components/SliderPercentageCard.tsx @@ -39,7 +39,7 @@ export function SliderPercentageCard({ } sx={{ + backgroundColor: 'transparent', mt: 12, '& input': { pl: 0, diff --git a/packages/dodoex-widgets/src/widgets/PoolWidget/PoolOperate/index.tsx b/packages/dodoex-widgets/src/widgets/PoolWidget/PoolOperate/index.tsx index e6c8b289..59940d19 100644 --- a/packages/dodoex-widgets/src/widgets/PoolWidget/PoolOperate/index.tsx +++ b/packages/dodoex-widgets/src/widgets/PoolWidget/PoolOperate/index.tsx @@ -104,8 +104,9 @@ export function PoolOperate({