From b86aaedae3804d73157f7bae2f06ea16e8b59521 Mon Sep 17 00:00:00 2001 From: midas-myth Date: Tue, 10 Sep 2024 12:38:23 +0000 Subject: [PATCH 1/7] Add TBTC market --- .../Synthetics/BridgingInfo/BridgingInfo.tsx | 40 ++++--- .../MarketStatsWithComposition.tsx | 2 +- .../components/CompositionTable.tsx | 7 +- src/config/{bridging.ts => bridging.tsx} | 22 +++- src/config/events.tsx | 17 +++ src/config/static/markets.ts | 11 +- src/config/tokens.ts | 10 ++ src/img/ic_tbtc_24.svg | 6 + src/img/ic_tbtc_40.svg | 6 + src/locales/de/messages.po | 110 +----------------- src/locales/en/messages.po | 110 +----------------- src/locales/es/messages.po | 110 +----------------- src/locales/fr/messages.po | 110 +----------------- src/locales/ja/messages.po | 110 +----------------- src/locales/ko/messages.po | 110 +----------------- src/locales/pseudo/messages.po | 110 +----------------- src/locales/ru/messages.po | 110 +----------------- src/locales/zh/messages.po | 110 +----------------- src/prebuilt/hashedMarketConfigKeys.json | 50 ++++++++ src/prebuilt/hashedMarketValuesKeys.json | 15 +++ 20 files changed, 202 insertions(+), 974 deletions(-) rename src/config/{bridging.ts => bridging.tsx} (74%) create mode 100644 src/img/ic_tbtc_24.svg create mode 100644 src/img/ic_tbtc_40.svg diff --git a/src/components/Synthetics/BridgingInfo/BridgingInfo.tsx b/src/components/Synthetics/BridgingInfo/BridgingInfo.tsx index 0e8fe6aadc..93a38b606b 100644 --- a/src/components/Synthetics/BridgingInfo/BridgingInfo.tsx +++ b/src/components/Synthetics/BridgingInfo/BridgingInfo.tsx @@ -17,19 +17,29 @@ export function BridgingInfo(props: Props) { if (!tokenSymbol || !bridgingOptions) return null; - return ( -

- - Bridge {tokenSymbol} to {chainName} with - {" "} - {bridgingOptions.map((option, i) => { - const bridgeLink = option.generateLink(chainId); - return ( - - {option?.name} - - ); - })} -

- ); + return bridgingOptions.map((option, i) => { + if (option.render) { + return ( +

+ {option.render()} +

+ ); + } + + if (!option.generateLink) { + return null; + } + + const bridgeLink = option.generateLink(chainId); + return ( +

+ + Bridge {tokenSymbol} to {chainName} with + {" "} + + {option?.name} + +

+ ); + }); } diff --git a/src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx b/src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx index 0952c7651b..edfc8aed3f 100644 --- a/src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx +++ b/src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx @@ -456,7 +456,7 @@ export function MarketStatsWithComposition(p: Props) {
- + {!marketInfo?.isSameCollaterals && }
0 ? (bigintToNumber(longPoolAmountUsd ?? 0n, USD_DECIMALS) * 100) / sum : 0; + const compShort = sum > 0 ? (bigintToNumber(shortPoolAmountUsd ?? 0n, USD_DECIMALS) * 100) / sum : 0; + return { type: "gm", data: [ { token: longToken, amount: longPoolAmount, - comp: longPoolAmountUsd !== undefined ? (bigintToNumber(longPoolAmountUsd, USD_DECIMALS) * 100) / sum : 0, + comp: compLong, prefix: "Long", }, { token: shortToken, amount: shortPoolAmount, - comp: shortPoolAmountUsd !== undefined ? (bigintToNumber(shortPoolAmountUsd, USD_DECIMALS) * 100) / sum : 0, + comp: compShort, prefix: "Short", }, ], diff --git a/src/config/bridging.ts b/src/config/bridging.tsx similarity index 74% rename from src/config/bridging.ts rename to src/config/bridging.tsx index 261f9c0a94..daf96bb1da 100644 --- a/src/config/bridging.ts +++ b/src/config/bridging.tsx @@ -1,7 +1,12 @@ +import { Trans } from "@lingui/macro"; +import ExternalLink from "components/ExternalLink/ExternalLink"; + type BridgingOption = { name: string; - generateLink: (chainId: number) => string; + render?: () => JSX.Element; + generateLink?: (chainId: number) => string; }; + const BRIDGING_OPTIONS: { [symbol: string]: BridgingOption[] } = { SOL: [ { @@ -58,6 +63,21 @@ const BRIDGING_OPTIONS: { [symbol: string]: BridgingOption[] } = { generateLink: () => "https://bridge.arbitrum.io/?destinationChain=arbitrum-one&sourceChain=ethereum", }, ], + TBTC: [ + { + name: "Portalbridge", + generateLink: () => "https://portalbridge.com/", + }, + { + name: "Threshold", + render: () => ( + + Mint TBTC using BTC with{" "} + Threshold + + ), + }, + ], }; export function getBridgingOptionsForToken(tokenSymbol?: string): BridgingOption[] | undefined { diff --git a/src/config/events.tsx b/src/config/events.tsx index 4be6569c59..2a87417f26 100644 --- a/src/config/events.tsx +++ b/src/config/events.tsx @@ -32,6 +32,23 @@ export type EventData = { export const homeEventsData: EventData[] = []; export const appEventsData: EventData[] = [ + { + id: "tbtc-market-arbitrum", + title: "BTC/USD [TBTC] market added on Arbitrum", + isActive: true, + startDate: "11 Sep 2024, 00:00", + endDate: "25 Sep 2024, 00:00", + bodyText: ( + <> + Trade + /USD, or{" "} + + provide liquidity + {" "} + to this pool by using . + + ), + }, { id: "btc-glv-market", title: "GLV [BTC-USDC] is live", diff --git a/src/config/static/markets.ts b/src/config/static/markets.ts index e26b3d931f..a6146a3143 100644 --- a/src/config/static/markets.ts +++ b/src/config/static/markets.ts @@ -1,4 +1,4 @@ -/* +/* This files is used to pre-build data during the build process. Avoid adding client-side code here, as it can break the build process. @@ -294,6 +294,15 @@ export const MARKETS: Record> = { longTokenAddress: "0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f", shortTokenAddress: "0xaf88d065e77c8cC2239327C5EDb3A432268e5831", }, + // BTC/USD [TBTC] + "0xd62068697bCc92AF253225676D618B0C9f17C663": { + enabled: true, + listingDate: p("11 Sep 2024"), + marketTokenAddress: "0xd62068697bCc92AF253225676D618B0C9f17C663", + indexTokenAddress: "0x47904963fc8b2340414262125aF798B9655E58Cd", + longTokenAddress: "0x6c84a8f1c29108F47a79964b5Fe888D4f4D0dE40", + shortTokenAddress: "0x6c84a8f1c29108F47a79964b5Fe888D4f4D0dE40", + }, }, [AVALANCHE]: { // BTC/USD [BTC-USDC] diff --git a/src/config/tokens.ts b/src/config/tokens.ts index d693044987..211379d8d9 100644 --- a/src/config/tokens.ts +++ b/src/config/tokens.ts @@ -345,6 +345,15 @@ export const TOKENS: { [chainId: number]: Token[] } = { coingeckoUrl: "https://www.coingecko.com/en/coins/shiba-inu", isSynthetic: true, }, + { + name: "tBTC", + symbol: "TBTC", + address: "0x6c84a8f1c29108F47a79964b5Fe888D4f4D0dE40", + decimals: 18, + imageUrl: + "https://assets.coingecko.com/coins/images/11224/standard/0x18084fba666a33d37592fa2633fd49a74dd93a88.png?1696511155", + coingeckoUrl: "https://www.coingecko.com/en/coins/tbtc", + }, { name: "GMX LP", symbol: "GLP", @@ -1042,6 +1051,7 @@ export const TOKEN_COLOR_MAP = { LTC: "#16182e", OP: "#ff0421", DOT: "#e6007a", + TBTC: "#000000", TEST: "#2d3ed7", default: "#6062a6", }; diff --git a/src/img/ic_tbtc_24.svg b/src/img/ic_tbtc_24.svg new file mode 100644 index 0000000000..d936619f31 --- /dev/null +++ b/src/img/ic_tbtc_24.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/img/ic_tbtc_40.svg b/src/img/ic_tbtc_40.svg new file mode 100644 index 0000000000..028344d4ac --- /dev/null +++ b/src/img/ic_tbtc_40.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/locales/de/messages.po b/src/locales/de/messages.po index 41dbdd3ff5..cbe3ffa0fa 100644 --- a/src/locales/de/messages.po +++ b/src/locales/de/messages.po @@ -82,10 +82,6 @@ msgstr "Position Gebühr" msgid "What would have made your rating a 9 or 10?" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "Rebalance Frequency" -#~ msgstr "" - #: src/components/Synthetics/StatusNotification/SubaccountNotification.tsx msgid "Subaccount generation failed" msgstr "" @@ -195,10 +191,6 @@ msgstr "" msgid "GMX transfers not yet enabled" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "day" -#~ msgstr "" - #: src/domain/synthetics/common/incentivesAirdropMessages.ts #: src/pages/LeaderboardPage/components/LeaderboardNavigation.tsx msgid "EIP-4844, 13-20 Mar" @@ -443,10 +435,6 @@ msgstr "" msgid "Discord account: <0>@gmx_feedback" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "{hours} hours" -#~ msgstr "" - #: src/pages/BuyGMX/BuyGMX.tsx msgid "You can transfer ETH from other networks to Arbitrum using any of the below options:" msgstr "Du kannst ETH von anderen Netzwerken zu Arbitrum transferieren, indem du eine der folgenden Optionen nutzt:" @@ -459,10 +447,6 @@ msgstr "" msgid "Created limit order for {0} {1}: {2} USD!" msgstr "Erstellte Limit Order für {0} {1}: {2} USD!" -#: src/components/Synthetics/TradeboxPoolWarnings/TradeboxPoolWarnings.tsx -#~ msgid "You can get {0} better open cost and a {1} / 1h better net rate in the {2} market pool.<0><1>Switch to {3} market pool." -#~ msgstr "" - #: src/pages/OrdersOverview/OrdersOverview.jsx msgid "Invalid token fromToken: \"{0}\" toToken: \"{toTokenAddress}\"" msgstr "Ungültiger Token von Token: \"{0}\" zu Token: \"{toTokenAddress}\"" @@ -1004,10 +988,6 @@ msgstr "" msgid "Collateral" msgstr "Kollateral" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "week" -#~ msgstr "" - #: src/components/AprInfo/AprInfo.tsx msgid "Base APY" msgstr "" @@ -1289,10 +1269,6 @@ msgstr "Wenn du eine bestehende Position hast, wird die Position für {0} USD ge msgid "Transfer Submitted" msgstr "Transfer übermittelt" -#: src/components/Synthetics/TradeboxPoolWarnings/TradeboxPoolWarnings.tsx -#~ msgid ", zero price impact" -#~ msgstr "" - #: src/components/Synthetics/GmSwap/GmSwapBox/GmShiftBox/useShiftSubmitState.tsx #: src/components/Synthetics/GmSwap/GmSwapBox/GmSwapBox.tsx #: src/components/Synthetics/GmSwap/GmSwapBox/GmSwapBox.tsx @@ -1818,10 +1794,6 @@ msgstr "" msgid "Max allowed actions" msgstr "" -#: src/lib/dates.ts -#~ msgid "Every" -#~ msgstr "" - #: src/pages/Stake/StakeV2.tsx msgid "Convert esGMX tokens to GMX tokens.<0/>Please read the <1>vesting details before using the vaults." msgstr "" @@ -2499,6 +2471,10 @@ msgstr "" msgid "Requested decrease of {0} {longOrShortText} by {sizeDeltaUsd} USD." msgstr "" +#: src/config/bridging.tsx +msgid "Mint tBTC using BTC with <0>Threshold" +msgstr "" + #: src/components/Exchange/NoLiquidityErrorModal.tsx msgid "You need to select {swapTokenSymbol} as the \"Pay\" token to use it for collateral to initiate this trade." msgstr "Du musst {swapTokenSymbol} als \"Bezahlen\"-Token auswählen, um es als Kollateral für die Einleitung dieses Trades zu verwenden." @@ -3125,10 +3101,6 @@ msgstr "Markterhöhungsanfrage" msgid "Edit {0}" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "hour" -#~ msgstr "" - #: src/pages/ClaimEsGmx/ClaimEsGmx.jsx msgid "Vest with GMX on Arbitrum" msgstr "Vesting mit GMX auf Arbitrum" @@ -3321,10 +3293,6 @@ msgstr "" msgid "For trades on V1, this discount will be airdropped to your account every Wednesday. On V2, discounts are applied automatically and will reduce your fees when you make a trade." msgstr "" -#: src/domain/synthetics/trade/utils/validation.ts -#~ msgid "The buyable cap for the pool GM: {0} in GLV: {1} [{2}] has been reached. Please reduce the buy size, pick a different GM token, or shift the GM tokens to a different pool and try again." -#~ msgstr "" - #: src/domain/synthetics/orders/utils.tsx msgid "Swap {fromTokenText} for {toTokenText}" msgstr "" @@ -3636,10 +3604,6 @@ msgstr "" msgid "Vesting Status" msgstr "" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Error submitting deposit" -#~ msgstr "" - #: src/components/Exchange/ConfirmationBox.jsx msgid "You have an active Limit Order to Increase {longOrShortText} {sizeInToken} {0} (${1}) at price ${2}" msgstr "Du hast eine aktive Limit-Order zur Erhöhung von {longOrShortText} {sizeInToken} {0} (${1}) zum Preis von ${2}" @@ -3887,11 +3851,6 @@ msgstr "" msgid "PnL Analysis" msgstr "" -#: src/components/Synthetics/MarketStats/components/CompositionTable.tsx -#: src/components/Synthetics/MarketStats/components/CompositionTable.tsx -#~ msgid "COMP" -#~ msgstr "" - #: src/components/Synthetics/TableMarketFilter/MarketFilterLongShort.tsx #: src/components/Synthetics/TableMarketFilter/MarketFilterLongShort.tsx msgid "Longs" @@ -3951,10 +3910,6 @@ msgstr "Preisimpact" msgid "Select a token" msgstr "" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Error submitting shift" -#~ msgstr "" - #: src/components/Synthetics/GmSwap/GmFees/GmFees.tsx #: src/components/Synthetics/PositionItem/PositionItem.tsx #: src/components/Synthetics/TradeFeesRow/TradeFeesRow.tsx @@ -4030,10 +3985,6 @@ msgstr "Strategien für dezentralisierte Optionen" msgid "Address copied to your clipboard" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "{days} days" -#~ msgstr "" - #: src/components/Header/AppHeaderLinks.tsx #: src/components/NetworkDropdown/NetworkDropdown.tsx #: src/components/NetworkDropdown/NetworkDropdown.tsx @@ -4054,10 +4005,6 @@ msgstr "" msgid "Insufficient {0} liquidity" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "{seconds} seconds" -#~ msgstr "" - #: src/pages/Ecosystem/Ecosystem.jsx #: src/pages/Ecosystem/Ecosystem.jsx msgid "Creator" @@ -4517,10 +4464,6 @@ msgstr "Orderupdate übermittelt!" msgid "You will be short {indexSymbol} from your short position, while being long {collateralSymbol} from your {collateralSymbol} collateral. The liquidation price will vary based on the price of {collateralSymbol}." msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "{weeks} weeks" -#~ msgstr "" - #: src/components/Synthetics/TradeBox/TradeBoxRows/OneClickTrading.tsx msgid "The previously authorized maximum number of actions has been reached for One-Click Trading." msgstr "" @@ -4690,10 +4633,6 @@ msgstr "Ausführungspreis für die Order." msgid "wstETH APR" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "second" -#~ msgstr "" - #: src/pages/Ecosystem/Ecosystem.jsx msgid "Telegram Group" msgstr "Telegram Gruppe" @@ -4889,10 +4828,6 @@ msgstr "" msgid "Close {longOrShortText} {0}" msgstr "" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Buying GM..." -#~ msgstr "" - #: src/pages/Stake/StakeV2.tsx msgid "Deposited!" msgstr "" @@ -4945,10 +4880,6 @@ msgstr "Supply" msgid "LONG LIQ." msgstr "" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Error submitting withdrawal" -#~ msgstr "" - #: src/components/Exchange/PositionsList.jsx #: src/components/Exchange/PositionsList.jsx #: src/components/Synthetics/PositionList/PositionList.tsx @@ -5954,10 +5885,6 @@ msgstr "" msgid "Buy / Sell GLP" msgstr "GLP Kaufen / Verkaufen" -#: src/domain/synthetics/trade/utils/validation.ts -#~ msgid "Max GM mintable amount exceeded" -#~ msgstr "" - #: src/pages/Dashboard/AssetDropdown.tsx msgid "Open {0} in Explorer" msgstr "" @@ -6774,10 +6701,6 @@ msgstr "GMX-Dashboards und -Analysen." msgid "Position" msgstr "Position" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Selling GM..." -#~ msgstr "" - #: src/components/Synthetics/TradeFeesRow/TradeFeesRow.tsx msgid "Bonus Rebate" msgstr "" @@ -6932,10 +6855,6 @@ msgstr "" msgid "{ordersText} cancelled" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "{minutes} minutes" -#~ msgstr "" - #: src/components/Synthetics/TradeBox/hooks/useTradeButtonState.tsx msgid "Limit price below Mark Price" msgstr "" @@ -7037,10 +6956,6 @@ msgstr "" msgid "Referral Terms" msgstr "Referralbedingungen" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Shifting GM..." -#~ msgstr "" - #: src/components/Synthetics/ChartTokenSelector/ChartTokenSelector.tsx #: src/components/Synthetics/MarketTokenSelector/MarketTokenSelector.tsx msgid "No markets matched." @@ -7071,10 +6986,6 @@ msgstr "Markt Swap fehlgeschlagen" msgid "Error occurred. Please try again" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "minute" -#~ msgstr "" - #: src/components/Referrals/referralsHelper.js msgid "Only letters, numbers and underscores are allowed." msgstr "Es sind nur Buchstaben, Zahlen und Unterstriche erlaubt." @@ -7207,11 +7118,6 @@ msgstr "Escrowed GMX APR" msgid "Compound completed!" msgstr "" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Confirm {operationText}" -#~ msgstr "" - #: src/components/Exchange/TradeHistory.jsx msgid "Initial collateral" msgstr "Ursprüngliches Kollateral" @@ -7767,10 +7673,6 @@ msgstr "Stop-Loss-Order aktualisieren" msgid "Continue" msgstr "Weiter" -#: src/components/Synthetics/TradeboxPoolWarnings/TradeboxPoolWarnings.tsx -#~ msgid "You can get {0} better open cost in the {1} market pool.<0><1>Switch to {2} market pool." -#~ msgstr "" - #: src/pages/AccountDashboard/DailyAndCumulativePnL.tsx msgid "Daily and Cumulative PnL" msgstr "" @@ -7804,10 +7706,6 @@ msgstr "Ich bin mir der Trigger-Orders bewusst" msgid "{count, plural, one {Order} other {# Orders}}" msgstr "" -#: src/domain/synthetics/trade/utils/validation.ts -#~ msgid "The buyable cap for the pool GM: {0} in GLV: {1} [{2}] has been reached. Please choose a different pool or reduce the buy size." -#~ msgstr "" - #: src/components/Referrals/AffiliatesStats.tsx msgid "Volume on V1" msgstr "" diff --git a/src/locales/en/messages.po b/src/locales/en/messages.po index 1a4d80f020..d550dcccd3 100644 --- a/src/locales/en/messages.po +++ b/src/locales/en/messages.po @@ -82,10 +82,6 @@ msgstr "Position Fee" msgid "What would have made your rating a 9 or 10?" msgstr "What would have made your rating a 9 or 10?" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "Rebalance Frequency" -#~ msgstr "Rebalance Frequency" - #: src/components/Synthetics/StatusNotification/SubaccountNotification.tsx msgid "Subaccount generation failed" msgstr "Subaccount generation failed" @@ -195,10 +191,6 @@ msgstr "V2 Arbitrum" msgid "GMX transfers not yet enabled" msgstr "GMX transfers not yet enabled" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "day" -#~ msgstr "day" - #: src/domain/synthetics/common/incentivesAirdropMessages.ts #: src/pages/LeaderboardPage/components/LeaderboardNavigation.tsx msgid "EIP-4844, 13-20 Mar" @@ -443,10 +435,6 @@ msgstr "Realized PnL" msgid "Discord account: <0>@gmx_feedback" msgstr "Discord account: <0>@gmx_feedback" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "{hours} hours" -#~ msgstr "{hours} hours" - #: src/pages/BuyGMX/BuyGMX.tsx msgid "You can transfer ETH from other networks to Arbitrum using any of the below options:" msgstr "You can transfer ETH from other networks to Arbitrum using any of the below options:" @@ -459,10 +447,6 @@ msgstr "Subaccount deactivated" msgid "Created limit order for {0} {1}: {2} USD!" msgstr "Created limit order for {0} {1}: {2} USD!" -#: src/components/Synthetics/TradeboxPoolWarnings/TradeboxPoolWarnings.tsx -#~ msgid "You can get {0} better open cost and a {1} / 1h better net rate in the {2} market pool.<0><1>Switch to {3} market pool." -#~ msgstr "You can get {0} better open cost and a {1} / 1h better net rate in the {2} market pool.<0><1>Switch to {3} market pool." - #: src/pages/OrdersOverview/OrdersOverview.jsx msgid "Invalid token fromToken: \"{0}\" toToken: \"{toTokenAddress}\"" msgstr "Invalid token fromToken: \"{0}\" toToken: \"{toTokenAddress}\"" @@ -1004,10 +988,6 @@ msgstr "Avalanche Max. APY: {0}" msgid "Collateral" msgstr "Collateral" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "week" -#~ msgstr "week" - #: src/components/AprInfo/AprInfo.tsx msgid "Base APY" msgstr "Base APY" @@ -1289,10 +1269,6 @@ msgstr "If you have an existing position, the position will be closed at {0} USD msgid "Transfer Submitted" msgstr "Transfer Submitted" -#: src/components/Synthetics/TradeboxPoolWarnings/TradeboxPoolWarnings.tsx -#~ msgid ", zero price impact" -#~ msgstr ", zero price impact" - #: src/components/Synthetics/GmSwap/GmSwapBox/GmShiftBox/useShiftSubmitState.tsx #: src/components/Synthetics/GmSwap/GmSwapBox/GmSwapBox.tsx #: src/components/Synthetics/GmSwap/GmSwapBox/GmSwapBox.tsx @@ -1818,10 +1794,6 @@ msgstr "Affiliates" msgid "Max allowed actions" msgstr "Max allowed actions" -#: src/lib/dates.ts -#~ msgid "Every" -#~ msgstr "Every" - #: src/pages/Stake/StakeV2.tsx msgid "Convert esGMX tokens to GMX tokens.<0/>Please read the <1>vesting details before using the vaults." msgstr "Convert esGMX tokens to GMX tokens.<0/>Please read the <1>vesting details before using the vaults." @@ -2499,6 +2471,10 @@ msgstr "Funding Fee Rate" msgid "Requested decrease of {0} {longOrShortText} by {sizeDeltaUsd} USD." msgstr "Requested decrease of {0} {longOrShortText} by {sizeDeltaUsd} USD." +#: src/config/bridging.tsx +msgid "Mint tBTC using BTC with <0>Threshold" +msgstr "Mint tBTC using BTC with <0>Threshold" + #: src/components/Exchange/NoLiquidityErrorModal.tsx msgid "You need to select {swapTokenSymbol} as the \"Pay\" token to use it for collateral to initiate this trade." msgstr "You need to select {swapTokenSymbol} as the \"Pay\" token to use it for collateral to initiate this trade." @@ -3125,10 +3101,6 @@ msgstr "Request Market Increase" msgid "Edit {0}" msgstr "Edit {0}" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "hour" -#~ msgstr "hour" - #: src/pages/ClaimEsGmx/ClaimEsGmx.jsx msgid "Vest with GMX on Arbitrum" msgstr "Vest with GMX on Arbitrum" @@ -3321,10 +3293,6 @@ msgstr "GMX V2 {networkName} actions for all accounts." msgid "For trades on V1, this discount will be airdropped to your account every Wednesday. On V2, discounts are applied automatically and will reduce your fees when you make a trade." msgstr "For trades on V1, this discount will be airdropped to your account every Wednesday. On V2, discounts are applied automatically and will reduce your fees when you make a trade." -#: src/domain/synthetics/trade/utils/validation.ts -#~ msgid "The buyable cap for the pool GM: {0} in GLV: {1} [{2}] has been reached. Please reduce the buy size, pick a different GM token, or shift the GM tokens to a different pool and try again." -#~ msgstr "The buyable cap for the pool GM: {0} in GLV: {1} [{2}] has been reached. Please reduce the buy size, pick a different GM token, or shift the GM tokens to a different pool and try again." - #: src/domain/synthetics/orders/utils.tsx msgid "Swap {fromTokenText} for {toTokenText}" msgstr "Swap {fromTokenText} for {toTokenText}" @@ -3639,10 +3607,6 @@ msgstr "" msgid "Vesting Status" msgstr "Vesting Status" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Error submitting deposit" -#~ msgstr "Error submitting deposit" - #: src/components/Exchange/ConfirmationBox.jsx msgid "You have an active Limit Order to Increase {longOrShortText} {sizeInToken} {0} (${1}) at price ${2}" msgstr "You have an active Limit Order to Increase {longOrShortText} {sizeInToken} {0} (${1}) at price ${2}" @@ -3890,11 +3854,6 @@ msgstr "Accrued Borrow Fee" msgid "PnL Analysis" msgstr "PnL Analysis" -#: src/components/Synthetics/MarketStats/components/CompositionTable.tsx -#: src/components/Synthetics/MarketStats/components/CompositionTable.tsx -#~ msgid "COMP" -#~ msgstr "COMP" - #: src/components/Synthetics/TableMarketFilter/MarketFilterLongShort.tsx #: src/components/Synthetics/TableMarketFilter/MarketFilterLongShort.tsx msgid "Longs" @@ -3954,10 +3913,6 @@ msgstr "Price Impact" msgid "Select a token" msgstr "Select a token" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Error submitting shift" -#~ msgstr "Error submitting shift" - #: src/components/Synthetics/GmSwap/GmFees/GmFees.tsx #: src/components/Synthetics/PositionItem/PositionItem.tsx #: src/components/Synthetics/TradeFeesRow/TradeFeesRow.tsx @@ -4033,10 +3988,6 @@ msgstr "Decentralized Options Strategies" msgid "Address copied to your clipboard" msgstr "Address copied to your clipboard" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "{days} days" -#~ msgstr "{days} days" - #: src/components/Header/AppHeaderLinks.tsx #: src/components/NetworkDropdown/NetworkDropdown.tsx #: src/components/NetworkDropdown/NetworkDropdown.tsx @@ -4057,10 +4008,6 @@ msgstr "Close submitted!" msgid "Insufficient {0} liquidity" msgstr "Insufficient {0} liquidity" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "{seconds} seconds" -#~ msgstr "{seconds} seconds" - #: src/pages/Ecosystem/Ecosystem.jsx #: src/pages/Ecosystem/Ecosystem.jsx msgid "Creator" @@ -4520,10 +4467,6 @@ msgstr "Order updated!" msgid "You will be short {indexSymbol} from your short position, while being long {collateralSymbol} from your {collateralSymbol} collateral. The liquidation price will vary based on the price of {collateralSymbol}." msgstr "You will be short {indexSymbol} from your short position, while being long {collateralSymbol} from your {collateralSymbol} collateral. The liquidation price will vary based on the price of {collateralSymbol}." -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "{weeks} weeks" -#~ msgstr "{weeks} weeks" - #: src/components/Synthetics/TradeBox/TradeBoxRows/OneClickTrading.tsx msgid "The previously authorized maximum number of actions has been reached for One-Click Trading." msgstr "The previously authorized maximum number of actions has been reached for One-Click Trading." @@ -4693,10 +4636,6 @@ msgstr "Execution price for the order." msgid "wstETH APR" msgstr "wstETH APR" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "second" -#~ msgstr "second" - #: src/pages/Ecosystem/Ecosystem.jsx msgid "Telegram Group" msgstr "Telegram Group" @@ -4892,10 +4831,6 @@ msgstr "Acknowledge high Swap Price Impact" msgid "Close {longOrShortText} {0}" msgstr "Close {longOrShortText} {0}" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Buying GM..." -#~ msgstr "Buying GM..." - #: src/pages/Stake/StakeV2.tsx msgid "Deposited!" msgstr "Deposited!" @@ -4948,10 +4883,6 @@ msgstr "Supply" msgid "LONG LIQ." msgstr "LONG LIQ." -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Error submitting withdrawal" -#~ msgstr "Error submitting withdrawal" - #: src/components/Exchange/PositionsList.jsx #: src/components/Exchange/PositionsList.jsx #: src/components/Synthetics/PositionList/PositionList.tsx @@ -5960,10 +5891,6 @@ msgstr "Maximum auto top-up amount is required" msgid "Buy / Sell GLP" msgstr "Buy / Sell GLP" -#: src/domain/synthetics/trade/utils/validation.ts -#~ msgid "Max GM mintable amount exceeded" -#~ msgstr "Max GM mintable amount exceeded" - #: src/pages/Dashboard/AssetDropdown.tsx msgid "Open {0} in Explorer" msgstr "Open {0} in Explorer" @@ -6780,10 +6707,6 @@ msgstr "GMX dashboards and analytics." msgid "Position" msgstr "Position" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Selling GM..." -#~ msgstr "Selling GM..." - #: src/components/Synthetics/TradeFeesRow/TradeFeesRow.tsx msgid "Bonus Rebate" msgstr "Bonus Rebate" @@ -6938,10 +6861,6 @@ msgstr "Traders" msgid "{ordersText} cancelled" msgstr "{ordersText} cancelled" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "{minutes} minutes" -#~ msgstr "{minutes} minutes" - #: src/components/Synthetics/TradeBox/hooks/useTradeButtonState.tsx msgid "Limit price below Mark Price" msgstr "Limit price below Mark Price" @@ -7043,10 +6962,6 @@ msgstr "GLP Vault" msgid "Referral Terms" msgstr "Referral Terms" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Shifting GM..." -#~ msgstr "Shifting GM..." - #: src/components/Synthetics/ChartTokenSelector/ChartTokenSelector.tsx #: src/components/Synthetics/MarketTokenSelector/MarketTokenSelector.tsx msgid "No markets matched." @@ -7077,10 +6992,6 @@ msgstr "Failed Market Swap" msgid "Error occurred. Please try again" msgstr "Error occurred. Please try again" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "minute" -#~ msgstr "minute" - #: src/components/Referrals/referralsHelper.js msgid "Only letters, numbers and underscores are allowed." msgstr "Only letters, numbers and underscores are allowed." @@ -7213,11 +7124,6 @@ msgstr "Escrowed GMX APR" msgid "Compound completed!" msgstr "Compound completed!" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Confirm {operationText}" -#~ msgstr "Confirm {operationText}" - #: src/components/Exchange/TradeHistory.jsx msgid "Initial collateral" msgstr "Initial collateral" @@ -7773,10 +7679,6 @@ msgstr "Update Stop-Loss Order" msgid "Continue" msgstr "Continue" -#: src/components/Synthetics/TradeboxPoolWarnings/TradeboxPoolWarnings.tsx -#~ msgid "You can get {0} better open cost in the {1} market pool.<0><1>Switch to {2} market pool." -#~ msgstr "You can get {0} better open cost in the {1} market pool.<0><1>Switch to {2} market pool." - #: src/pages/AccountDashboard/DailyAndCumulativePnL.tsx msgid "Daily and Cumulative PnL" msgstr "Daily and Cumulative PnL" @@ -7810,10 +7712,6 @@ msgstr "I am aware of the trigger orders" msgid "{count, plural, one {Order} other {# Orders}}" msgstr "{count, plural, one {Order} other {# Orders}}" -#: src/domain/synthetics/trade/utils/validation.ts -#~ msgid "The buyable cap for the pool GM: {0} in GLV: {1} [{2}] has been reached. Please choose a different pool or reduce the buy size." -#~ msgstr "The buyable cap for the pool GM: {0} in GLV: {1} [{2}] has been reached. Please choose a different pool or reduce the buy size." - #: src/components/Referrals/AffiliatesStats.tsx msgid "Volume on V1" msgstr "Volume on V1" diff --git a/src/locales/es/messages.po b/src/locales/es/messages.po index 12242950d2..1cd11ab625 100644 --- a/src/locales/es/messages.po +++ b/src/locales/es/messages.po @@ -82,10 +82,6 @@ msgstr "Comisión de Posición" msgid "What would have made your rating a 9 or 10?" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "Rebalance Frequency" -#~ msgstr "" - #: src/components/Synthetics/StatusNotification/SubaccountNotification.tsx msgid "Subaccount generation failed" msgstr "" @@ -195,10 +191,6 @@ msgstr "" msgid "GMX transfers not yet enabled" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "day" -#~ msgstr "" - #: src/domain/synthetics/common/incentivesAirdropMessages.ts #: src/pages/LeaderboardPage/components/LeaderboardNavigation.tsx msgid "EIP-4844, 13-20 Mar" @@ -443,10 +435,6 @@ msgstr "" msgid "Discord account: <0>@gmx_feedback" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "{hours} hours" -#~ msgstr "" - #: src/pages/BuyGMX/BuyGMX.tsx msgid "You can transfer ETH from other networks to Arbitrum using any of the below options:" msgstr "Puedes transferir ETH desde otras redes a Arbitrum usando cualquiera de las siguientes opciones:" @@ -459,10 +447,6 @@ msgstr "" msgid "Created limit order for {0} {1}: {2} USD!" msgstr "Orden límite creada para {0} {1}: {2} USD!" -#: src/components/Synthetics/TradeboxPoolWarnings/TradeboxPoolWarnings.tsx -#~ msgid "You can get {0} better open cost and a {1} / 1h better net rate in the {2} market pool.<0><1>Switch to {3} market pool." -#~ msgstr "" - #: src/pages/OrdersOverview/OrdersOverview.jsx msgid "Invalid token fromToken: \"{0}\" toToken: \"{toTokenAddress}\"" msgstr "Token inválido de token: \"{0}\" a token: \"{toTokenAddress}\"" @@ -1004,10 +988,6 @@ msgstr "" msgid "Collateral" msgstr "Garantía" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "week" -#~ msgstr "" - #: src/components/AprInfo/AprInfo.tsx msgid "Base APY" msgstr "" @@ -1289,10 +1269,6 @@ msgstr "Si tienes una posición existente, la posición se cerrará a {0} USD.<0 msgid "Transfer Submitted" msgstr "Transferencia Enviada" -#: src/components/Synthetics/TradeboxPoolWarnings/TradeboxPoolWarnings.tsx -#~ msgid ", zero price impact" -#~ msgstr "" - #: src/components/Synthetics/GmSwap/GmSwapBox/GmShiftBox/useShiftSubmitState.tsx #: src/components/Synthetics/GmSwap/GmSwapBox/GmSwapBox.tsx #: src/components/Synthetics/GmSwap/GmSwapBox/GmSwapBox.tsx @@ -1818,10 +1794,6 @@ msgstr "" msgid "Max allowed actions" msgstr "" -#: src/lib/dates.ts -#~ msgid "Every" -#~ msgstr "" - #: src/pages/Stake/StakeV2.tsx msgid "Convert esGMX tokens to GMX tokens.<0/>Please read the <1>vesting details before using the vaults." msgstr "" @@ -2499,6 +2471,10 @@ msgstr "" msgid "Requested decrease of {0} {longOrShortText} by {sizeDeltaUsd} USD." msgstr "" +#: src/config/bridging.tsx +msgid "Mint tBTC using BTC with <0>Threshold" +msgstr "" + #: src/components/Exchange/NoLiquidityErrorModal.tsx msgid "You need to select {swapTokenSymbol} as the \"Pay\" token to use it for collateral to initiate this trade." msgstr "Tienes que seleccionar {swapTokenSymbol} como el token de \"Pagar\" para usar como garantía para iniciar esta operación." @@ -3125,10 +3101,6 @@ msgstr "Solicitar incremento del mercado" msgid "Edit {0}" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "hour" -#~ msgstr "" - #: src/pages/ClaimEsGmx/ClaimEsGmx.jsx msgid "Vest with GMX on Arbitrum" msgstr "Adquiera con GMX en Arbitrum" @@ -3321,10 +3293,6 @@ msgstr "" msgid "For trades on V1, this discount will be airdropped to your account every Wednesday. On V2, discounts are applied automatically and will reduce your fees when you make a trade." msgstr "" -#: src/domain/synthetics/trade/utils/validation.ts -#~ msgid "The buyable cap for the pool GM: {0} in GLV: {1} [{2}] has been reached. Please reduce the buy size, pick a different GM token, or shift the GM tokens to a different pool and try again." -#~ msgstr "" - #: src/domain/synthetics/orders/utils.tsx msgid "Swap {fromTokenText} for {toTokenText}" msgstr "" @@ -3636,10 +3604,6 @@ msgstr "" msgid "Vesting Status" msgstr "" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Error submitting deposit" -#~ msgstr "" - #: src/components/Exchange/ConfirmationBox.jsx msgid "You have an active Limit Order to Increase {longOrShortText} {sizeInToken} {0} (${1}) at price ${2}" msgstr "Tienes una Orden Límite para Incrementar {longOrShortText} {sizeInToken} {0} (${1}) al precio ${2}" @@ -3887,11 +3851,6 @@ msgstr "" msgid "PnL Analysis" msgstr "" -#: src/components/Synthetics/MarketStats/components/CompositionTable.tsx -#: src/components/Synthetics/MarketStats/components/CompositionTable.tsx -#~ msgid "COMP" -#~ msgstr "" - #: src/components/Synthetics/TableMarketFilter/MarketFilterLongShort.tsx #: src/components/Synthetics/TableMarketFilter/MarketFilterLongShort.tsx msgid "Longs" @@ -3951,10 +3910,6 @@ msgstr "Impacto de Precio" msgid "Select a token" msgstr "" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Error submitting shift" -#~ msgstr "" - #: src/components/Synthetics/GmSwap/GmFees/GmFees.tsx #: src/components/Synthetics/PositionItem/PositionItem.tsx #: src/components/Synthetics/TradeFeesRow/TradeFeesRow.tsx @@ -4030,10 +3985,6 @@ msgstr "Estrategias de Opciones Descentralizadas" msgid "Address copied to your clipboard" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "{days} days" -#~ msgstr "" - #: src/components/Header/AppHeaderLinks.tsx #: src/components/NetworkDropdown/NetworkDropdown.tsx #: src/components/NetworkDropdown/NetworkDropdown.tsx @@ -4054,10 +4005,6 @@ msgstr "" msgid "Insufficient {0} liquidity" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "{seconds} seconds" -#~ msgstr "" - #: src/pages/Ecosystem/Ecosystem.jsx #: src/pages/Ecosystem/Ecosystem.jsx msgid "Creator" @@ -4517,10 +4464,6 @@ msgstr "¡Orden actualizada!" msgid "You will be short {indexSymbol} from your short position, while being long {collateralSymbol} from your {collateralSymbol} collateral. The liquidation price will vary based on the price of {collateralSymbol}." msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "{weeks} weeks" -#~ msgstr "" - #: src/components/Synthetics/TradeBox/TradeBoxRows/OneClickTrading.tsx msgid "The previously authorized maximum number of actions has been reached for One-Click Trading." msgstr "" @@ -4690,10 +4633,6 @@ msgstr "Precio de ejecución para la orden." msgid "wstETH APR" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "second" -#~ msgstr "" - #: src/pages/Ecosystem/Ecosystem.jsx msgid "Telegram Group" msgstr "Grupo de Telegram" @@ -4889,10 +4828,6 @@ msgstr "" msgid "Close {longOrShortText} {0}" msgstr "" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Buying GM..." -#~ msgstr "" - #: src/pages/Stake/StakeV2.tsx msgid "Deposited!" msgstr "" @@ -4945,10 +4880,6 @@ msgstr "Suministros" msgid "LONG LIQ." msgstr "" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Error submitting withdrawal" -#~ msgstr "" - #: src/components/Exchange/PositionsList.jsx #: src/components/Exchange/PositionsList.jsx #: src/components/Synthetics/PositionList/PositionList.tsx @@ -5954,10 +5885,6 @@ msgstr "" msgid "Buy / Sell GLP" msgstr "Comprar / Vender GLP" -#: src/domain/synthetics/trade/utils/validation.ts -#~ msgid "Max GM mintable amount exceeded" -#~ msgstr "" - #: src/pages/Dashboard/AssetDropdown.tsx msgid "Open {0} in Explorer" msgstr "" @@ -6774,10 +6701,6 @@ msgstr "Paneles y análisis de GMX." msgid "Position" msgstr "Posición" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Selling GM..." -#~ msgstr "" - #: src/components/Synthetics/TradeFeesRow/TradeFeesRow.tsx msgid "Bonus Rebate" msgstr "" @@ -6932,10 +6855,6 @@ msgstr "" msgid "{ordersText} cancelled" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "{minutes} minutes" -#~ msgstr "" - #: src/components/Synthetics/TradeBox/hooks/useTradeButtonState.tsx msgid "Limit price below Mark Price" msgstr "" @@ -7037,10 +6956,6 @@ msgstr "" msgid "Referral Terms" msgstr "Términos de Referido" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Shifting GM..." -#~ msgstr "" - #: src/components/Synthetics/ChartTokenSelector/ChartTokenSelector.tsx #: src/components/Synthetics/MarketTokenSelector/MarketTokenSelector.tsx msgid "No markets matched." @@ -7071,10 +6986,6 @@ msgstr "Intercambio de Mercado Fallido" msgid "Error occurred. Please try again" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "minute" -#~ msgstr "" - #: src/components/Referrals/referralsHelper.js msgid "Only letters, numbers and underscores are allowed." msgstr "Solo letras, números y guiones bajos están permitidos" @@ -7207,11 +7118,6 @@ msgstr "Escrowed GMX APR" msgid "Compound completed!" msgstr "" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Confirm {operationText}" -#~ msgstr "" - #: src/components/Exchange/TradeHistory.jsx msgid "Initial collateral" msgstr "Garantía inicial" @@ -7767,10 +7673,6 @@ msgstr "Actualizar orden de stop-loss" msgid "Continue" msgstr "Continuar" -#: src/components/Synthetics/TradeboxPoolWarnings/TradeboxPoolWarnings.tsx -#~ msgid "You can get {0} better open cost in the {1} market pool.<0><1>Switch to {2} market pool." -#~ msgstr "" - #: src/pages/AccountDashboard/DailyAndCumulativePnL.tsx msgid "Daily and Cumulative PnL" msgstr "" @@ -7804,10 +7706,6 @@ msgstr "Soy consciente de las órdenes de activación" msgid "{count, plural, one {Order} other {# Orders}}" msgstr "" -#: src/domain/synthetics/trade/utils/validation.ts -#~ msgid "The buyable cap for the pool GM: {0} in GLV: {1} [{2}] has been reached. Please choose a different pool or reduce the buy size." -#~ msgstr "" - #: src/components/Referrals/AffiliatesStats.tsx msgid "Volume on V1" msgstr "" diff --git a/src/locales/fr/messages.po b/src/locales/fr/messages.po index f60d319bfe..e41eee9690 100644 --- a/src/locales/fr/messages.po +++ b/src/locales/fr/messages.po @@ -82,10 +82,6 @@ msgstr "Frais de position" msgid "What would have made your rating a 9 or 10?" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "Rebalance Frequency" -#~ msgstr "" - #: src/components/Synthetics/StatusNotification/SubaccountNotification.tsx msgid "Subaccount generation failed" msgstr "" @@ -195,10 +191,6 @@ msgstr "" msgid "GMX transfers not yet enabled" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "day" -#~ msgstr "" - #: src/domain/synthetics/common/incentivesAirdropMessages.ts #: src/pages/LeaderboardPage/components/LeaderboardNavigation.tsx msgid "EIP-4844, 13-20 Mar" @@ -443,10 +435,6 @@ msgstr "" msgid "Discord account: <0>@gmx_feedback" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "{hours} hours" -#~ msgstr "" - #: src/pages/BuyGMX/BuyGMX.tsx msgid "You can transfer ETH from other networks to Arbitrum using any of the below options:" msgstr "Vous pouvez transférer ETH provenant d'autres réseaux vers Arbitrum en utilisant l'une des options ci-dessous:" @@ -459,10 +447,6 @@ msgstr "" msgid "Created limit order for {0} {1}: {2} USD!" msgstr "Ordre limite créé pour {0} {1}: {2} USD!" -#: src/components/Synthetics/TradeboxPoolWarnings/TradeboxPoolWarnings.tsx -#~ msgid "You can get {0} better open cost and a {1} / 1h better net rate in the {2} market pool.<0><1>Switch to {3} market pool." -#~ msgstr "" - #: src/pages/OrdersOverview/OrdersOverview.jsx msgid "Invalid token fromToken: \"{0}\" toToken: \"{toTokenAddress}\"" msgstr "Token invalide duToken:: \"{0}\" àToken: \"{toTokenAddress}\"" @@ -1004,10 +988,6 @@ msgstr "" msgid "Collateral" msgstr "Collatéral" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "week" -#~ msgstr "" - #: src/components/AprInfo/AprInfo.tsx msgid "Base APY" msgstr "" @@ -1289,10 +1269,6 @@ msgstr "Si vous avez une position existante, la position sera fermée à {0} USD msgid "Transfer Submitted" msgstr "Transfert soumis" -#: src/components/Synthetics/TradeboxPoolWarnings/TradeboxPoolWarnings.tsx -#~ msgid ", zero price impact" -#~ msgstr "" - #: src/components/Synthetics/GmSwap/GmSwapBox/GmShiftBox/useShiftSubmitState.tsx #: src/components/Synthetics/GmSwap/GmSwapBox/GmSwapBox.tsx #: src/components/Synthetics/GmSwap/GmSwapBox/GmSwapBox.tsx @@ -1818,10 +1794,6 @@ msgstr "" msgid "Max allowed actions" msgstr "" -#: src/lib/dates.ts -#~ msgid "Every" -#~ msgstr "" - #: src/pages/Stake/StakeV2.tsx msgid "Convert esGMX tokens to GMX tokens.<0/>Please read the <1>vesting details before using the vaults." msgstr "" @@ -2499,6 +2471,10 @@ msgstr "" msgid "Requested decrease of {0} {longOrShortText} by {sizeDeltaUsd} USD." msgstr "" +#: src/config/bridging.tsx +msgid "Mint tBTC using BTC with <0>Threshold" +msgstr "" + #: src/components/Exchange/NoLiquidityErrorModal.tsx msgid "You need to select {swapTokenSymbol} as the \"Pay\" token to use it for collateral to initiate this trade." msgstr "Vous devez sélectionner {swapTokenSymbol} comme token \"Payer\" pour l'utiliser comme collatéral pour initier cette transaction." @@ -3125,10 +3101,6 @@ msgstr "Demander une augmentation du marché" msgid "Edit {0}" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "hour" -#~ msgstr "" - #: src/pages/ClaimEsGmx/ClaimEsGmx.jsx msgid "Vest with GMX on Arbitrum" msgstr "Vester avec GMX sur Arbitrum" @@ -3321,10 +3293,6 @@ msgstr "" msgid "For trades on V1, this discount will be airdropped to your account every Wednesday. On V2, discounts are applied automatically and will reduce your fees when you make a trade." msgstr "" -#: src/domain/synthetics/trade/utils/validation.ts -#~ msgid "The buyable cap for the pool GM: {0} in GLV: {1} [{2}] has been reached. Please reduce the buy size, pick a different GM token, or shift the GM tokens to a different pool and try again." -#~ msgstr "" - #: src/domain/synthetics/orders/utils.tsx msgid "Swap {fromTokenText} for {toTokenText}" msgstr "" @@ -3636,10 +3604,6 @@ msgstr "" msgid "Vesting Status" msgstr "" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Error submitting deposit" -#~ msgstr "" - #: src/components/Exchange/ConfirmationBox.jsx msgid "You have an active Limit Order to Increase {longOrShortText} {sizeInToken} {0} (${1}) at price ${2}" msgstr "Vous avez un ordre limite actif à augmenter {longOrShortText} {sizeInToken} {0} (${1}) au prix ${2}" @@ -3887,11 +3851,6 @@ msgstr "" msgid "PnL Analysis" msgstr "" -#: src/components/Synthetics/MarketStats/components/CompositionTable.tsx -#: src/components/Synthetics/MarketStats/components/CompositionTable.tsx -#~ msgid "COMP" -#~ msgstr "" - #: src/components/Synthetics/TableMarketFilter/MarketFilterLongShort.tsx #: src/components/Synthetics/TableMarketFilter/MarketFilterLongShort.tsx msgid "Longs" @@ -3951,10 +3910,6 @@ msgstr "Impact sur le prix" msgid "Select a token" msgstr "" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Error submitting shift" -#~ msgstr "" - #: src/components/Synthetics/GmSwap/GmFees/GmFees.tsx #: src/components/Synthetics/PositionItem/PositionItem.tsx #: src/components/Synthetics/TradeFeesRow/TradeFeesRow.tsx @@ -4030,10 +3985,6 @@ msgstr "Stratégies d'options décentralisées" msgid "Address copied to your clipboard" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "{days} days" -#~ msgstr "" - #: src/components/Header/AppHeaderLinks.tsx #: src/components/NetworkDropdown/NetworkDropdown.tsx #: src/components/NetworkDropdown/NetworkDropdown.tsx @@ -4054,10 +4005,6 @@ msgstr "" msgid "Insufficient {0} liquidity" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "{seconds} seconds" -#~ msgstr "" - #: src/pages/Ecosystem/Ecosystem.jsx #: src/pages/Ecosystem/Ecosystem.jsx msgid "Creator" @@ -4517,10 +4464,6 @@ msgstr "Ordre actualisé !" msgid "You will be short {indexSymbol} from your short position, while being long {collateralSymbol} from your {collateralSymbol} collateral. The liquidation price will vary based on the price of {collateralSymbol}." msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "{weeks} weeks" -#~ msgstr "" - #: src/components/Synthetics/TradeBox/TradeBoxRows/OneClickTrading.tsx msgid "The previously authorized maximum number of actions has been reached for One-Click Trading." msgstr "" @@ -4690,10 +4633,6 @@ msgstr "Prix d'exécution pour l'ordre." msgid "wstETH APR" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "second" -#~ msgstr "" - #: src/pages/Ecosystem/Ecosystem.jsx msgid "Telegram Group" msgstr "Groupe Telegram" @@ -4889,10 +4828,6 @@ msgstr "" msgid "Close {longOrShortText} {0}" msgstr "" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Buying GM..." -#~ msgstr "" - #: src/pages/Stake/StakeV2.tsx msgid "Deposited!" msgstr "" @@ -4945,10 +4880,6 @@ msgstr "Donner" msgid "LONG LIQ." msgstr "" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Error submitting withdrawal" -#~ msgstr "" - #: src/components/Exchange/PositionsList.jsx #: src/components/Exchange/PositionsList.jsx #: src/components/Synthetics/PositionList/PositionList.tsx @@ -5954,10 +5885,6 @@ msgstr "" msgid "Buy / Sell GLP" msgstr "Acheter / Vendre GLP" -#: src/domain/synthetics/trade/utils/validation.ts -#~ msgid "Max GM mintable amount exceeded" -#~ msgstr "" - #: src/pages/Dashboard/AssetDropdown.tsx msgid "Open {0} in Explorer" msgstr "" @@ -6774,10 +6701,6 @@ msgstr "Tableaux de bord et analyses GMX." msgid "Position" msgstr "Position" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Selling GM..." -#~ msgstr "" - #: src/components/Synthetics/TradeFeesRow/TradeFeesRow.tsx msgid "Bonus Rebate" msgstr "" @@ -6932,10 +6855,6 @@ msgstr "" msgid "{ordersText} cancelled" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "{minutes} minutes" -#~ msgstr "" - #: src/components/Synthetics/TradeBox/hooks/useTradeButtonState.tsx msgid "Limit price below Mark Price" msgstr "" @@ -7037,10 +6956,6 @@ msgstr "" msgid "Referral Terms" msgstr "Termes de parrainage" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Shifting GM..." -#~ msgstr "" - #: src/components/Synthetics/ChartTokenSelector/ChartTokenSelector.tsx #: src/components/Synthetics/MarketTokenSelector/MarketTokenSelector.tsx msgid "No markets matched." @@ -7071,10 +6986,6 @@ msgstr "Échange de marché échoué" msgid "Error occurred. Please try again" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "minute" -#~ msgstr "" - #: src/components/Referrals/referralsHelper.js msgid "Only letters, numbers and underscores are allowed." msgstr "Les lettres, les chiffres et les caractères de soulignement sont autorisés." @@ -7207,11 +7118,6 @@ msgstr "Taux de rendement annuels GMX sous séquestre" msgid "Compound completed!" msgstr "" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Confirm {operationText}" -#~ msgstr "" - #: src/components/Exchange/TradeHistory.jsx msgid "Initial collateral" msgstr "Collatéral initial" @@ -7767,10 +7673,6 @@ msgstr "Mettre à jour l'ordre stop-loss" msgid "Continue" msgstr "Continuer" -#: src/components/Synthetics/TradeboxPoolWarnings/TradeboxPoolWarnings.tsx -#~ msgid "You can get {0} better open cost in the {1} market pool.<0><1>Switch to {2} market pool." -#~ msgstr "" - #: src/pages/AccountDashboard/DailyAndCumulativePnL.tsx msgid "Daily and Cumulative PnL" msgstr "" @@ -7804,10 +7706,6 @@ msgstr "Je suis conscient des ordres de déclenchement" msgid "{count, plural, one {Order} other {# Orders}}" msgstr "" -#: src/domain/synthetics/trade/utils/validation.ts -#~ msgid "The buyable cap for the pool GM: {0} in GLV: {1} [{2}] has been reached. Please choose a different pool or reduce the buy size." -#~ msgstr "" - #: src/components/Referrals/AffiliatesStats.tsx msgid "Volume on V1" msgstr "" diff --git a/src/locales/ja/messages.po b/src/locales/ja/messages.po index d3a97be9c3..ae457a8fb3 100644 --- a/src/locales/ja/messages.po +++ b/src/locales/ja/messages.po @@ -82,10 +82,6 @@ msgstr "ポジション手数料" msgid "What would have made your rating a 9 or 10?" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "Rebalance Frequency" -#~ msgstr "" - #: src/components/Synthetics/StatusNotification/SubaccountNotification.tsx msgid "Subaccount generation failed" msgstr "" @@ -195,10 +191,6 @@ msgstr "" msgid "GMX transfers not yet enabled" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "day" -#~ msgstr "" - #: src/domain/synthetics/common/incentivesAirdropMessages.ts #: src/pages/LeaderboardPage/components/LeaderboardNavigation.tsx msgid "EIP-4844, 13-20 Mar" @@ -443,10 +435,6 @@ msgstr "" msgid "Discord account: <0>@gmx_feedback" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "{hours} hours" -#~ msgstr "" - #: src/pages/BuyGMX/BuyGMX.tsx msgid "You can transfer ETH from other networks to Arbitrum using any of the below options:" msgstr "以下の選択肢のいずれかを使い、ETHを他のネットワークからArbitrumへ送ることができます。" @@ -459,10 +447,6 @@ msgstr "" msgid "Created limit order for {0} {1}: {2} USD!" msgstr "{0} {1}: {2} USDの指値注文の作成完了!" -#: src/components/Synthetics/TradeboxPoolWarnings/TradeboxPoolWarnings.tsx -#~ msgid "You can get {0} better open cost and a {1} / 1h better net rate in the {2} market pool.<0><1>Switch to {3} market pool." -#~ msgstr "" - #: src/pages/OrdersOverview/OrdersOverview.jsx msgid "Invalid token fromToken: \"{0}\" toToken: \"{toTokenAddress}\"" msgstr "無効なトークン fromToken: \"{0}\" toToken: \"{toTokenAddress}\"" @@ -1004,10 +988,6 @@ msgstr "" msgid "Collateral" msgstr "担保" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "week" -#~ msgstr "" - #: src/components/AprInfo/AprInfo.tsx msgid "Base APY" msgstr "" @@ -1289,10 +1269,6 @@ msgstr "もし現在ポジションがある場合、そのポジションは{0} msgid "Transfer Submitted" msgstr "移転申し込み完了" -#: src/components/Synthetics/TradeboxPoolWarnings/TradeboxPoolWarnings.tsx -#~ msgid ", zero price impact" -#~ msgstr "" - #: src/components/Synthetics/GmSwap/GmSwapBox/GmShiftBox/useShiftSubmitState.tsx #: src/components/Synthetics/GmSwap/GmSwapBox/GmSwapBox.tsx #: src/components/Synthetics/GmSwap/GmSwapBox/GmSwapBox.tsx @@ -1818,10 +1794,6 @@ msgstr "" msgid "Max allowed actions" msgstr "" -#: src/lib/dates.ts -#~ msgid "Every" -#~ msgstr "" - #: src/pages/Stake/StakeV2.tsx msgid "Convert esGMX tokens to GMX tokens.<0/>Please read the <1>vesting details before using the vaults." msgstr "" @@ -2499,6 +2471,10 @@ msgstr "" msgid "Requested decrease of {0} {longOrShortText} by {sizeDeltaUsd} USD." msgstr "" +#: src/config/bridging.tsx +msgid "Mint tBTC using BTC with <0>Threshold" +msgstr "" + #: src/components/Exchange/NoLiquidityErrorModal.tsx msgid "You need to select {swapTokenSymbol} as the \"Pay\" token to use it for collateral to initiate this trade." msgstr "この取引を始めるには担保用に{swapTokenSymbol}を\"支払い\"トークンとして選択する必要があります。" @@ -3125,10 +3101,6 @@ msgstr "市場増加リクエスト" msgid "Edit {0}" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "hour" -#~ msgstr "" - #: src/pages/ClaimEsGmx/ClaimEsGmx.jsx msgid "Vest with GMX on Arbitrum" msgstr "ArbitrumでGMXを使ってべスティングする" @@ -3321,10 +3293,6 @@ msgstr "" msgid "For trades on V1, this discount will be airdropped to your account every Wednesday. On V2, discounts are applied automatically and will reduce your fees when you make a trade." msgstr "" -#: src/domain/synthetics/trade/utils/validation.ts -#~ msgid "The buyable cap for the pool GM: {0} in GLV: {1} [{2}] has been reached. Please reduce the buy size, pick a different GM token, or shift the GM tokens to a different pool and try again." -#~ msgstr "" - #: src/domain/synthetics/orders/utils.tsx msgid "Swap {fromTokenText} for {toTokenText}" msgstr "" @@ -3636,10 +3604,6 @@ msgstr "" msgid "Vesting Status" msgstr "" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Error submitting deposit" -#~ msgstr "" - #: src/components/Exchange/ConfirmationBox.jsx msgid "You have an active Limit Order to Increase {longOrShortText} {sizeInToken} {0} (${1}) at price ${2}" msgstr "{longOrShortText} {sizeInToken} {0} (${1})を${2}の価格で増額するアクティブなリミット注文があります" @@ -3887,11 +3851,6 @@ msgstr "" msgid "PnL Analysis" msgstr "" -#: src/components/Synthetics/MarketStats/components/CompositionTable.tsx -#: src/components/Synthetics/MarketStats/components/CompositionTable.tsx -#~ msgid "COMP" -#~ msgstr "" - #: src/components/Synthetics/TableMarketFilter/MarketFilterLongShort.tsx #: src/components/Synthetics/TableMarketFilter/MarketFilterLongShort.tsx msgid "Longs" @@ -3951,10 +3910,6 @@ msgstr "価格インパクト" msgid "Select a token" msgstr "" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Error submitting shift" -#~ msgstr "" - #: src/components/Synthetics/GmSwap/GmFees/GmFees.tsx #: src/components/Synthetics/PositionItem/PositionItem.tsx #: src/components/Synthetics/TradeFeesRow/TradeFeesRow.tsx @@ -4030,10 +3985,6 @@ msgstr "分散型オプションストラテジー" msgid "Address copied to your clipboard" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "{days} days" -#~ msgstr "" - #: src/components/Header/AppHeaderLinks.tsx #: src/components/NetworkDropdown/NetworkDropdown.tsx #: src/components/NetworkDropdown/NetworkDropdown.tsx @@ -4054,10 +4005,6 @@ msgstr "" msgid "Insufficient {0} liquidity" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "{seconds} seconds" -#~ msgstr "" - #: src/pages/Ecosystem/Ecosystem.jsx #: src/pages/Ecosystem/Ecosystem.jsx msgid "Creator" @@ -4517,10 +4464,6 @@ msgstr "注文更新完了!" msgid "You will be short {indexSymbol} from your short position, while being long {collateralSymbol} from your {collateralSymbol} collateral. The liquidation price will vary based on the price of {collateralSymbol}." msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "{weeks} weeks" -#~ msgstr "" - #: src/components/Synthetics/TradeBox/TradeBoxRows/OneClickTrading.tsx msgid "The previously authorized maximum number of actions has been reached for One-Click Trading." msgstr "" @@ -4690,10 +4633,6 @@ msgstr "注文の執行価格" msgid "wstETH APR" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "second" -#~ msgstr "" - #: src/pages/Ecosystem/Ecosystem.jsx msgid "Telegram Group" msgstr "Telegramグループ" @@ -4889,10 +4828,6 @@ msgstr "" msgid "Close {longOrShortText} {0}" msgstr "" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Buying GM..." -#~ msgstr "" - #: src/pages/Stake/StakeV2.tsx msgid "Deposited!" msgstr "" @@ -4945,10 +4880,6 @@ msgstr "供給量" msgid "LONG LIQ." msgstr "" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Error submitting withdrawal" -#~ msgstr "" - #: src/components/Exchange/PositionsList.jsx #: src/components/Exchange/PositionsList.jsx #: src/components/Synthetics/PositionList/PositionList.tsx @@ -5954,10 +5885,6 @@ msgstr "" msgid "Buy / Sell GLP" msgstr "GLPの購入/売却" -#: src/domain/synthetics/trade/utils/validation.ts -#~ msgid "Max GM mintable amount exceeded" -#~ msgstr "" - #: src/pages/Dashboard/AssetDropdown.tsx msgid "Open {0} in Explorer" msgstr "" @@ -6774,10 +6701,6 @@ msgstr "GMXのダッシュボードと分析" msgid "Position" msgstr "ポジション" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Selling GM..." -#~ msgstr "" - #: src/components/Synthetics/TradeFeesRow/TradeFeesRow.tsx msgid "Bonus Rebate" msgstr "" @@ -6932,10 +6855,6 @@ msgstr "" msgid "{ordersText} cancelled" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "{minutes} minutes" -#~ msgstr "" - #: src/components/Synthetics/TradeBox/hooks/useTradeButtonState.tsx msgid "Limit price below Mark Price" msgstr "" @@ -7037,10 +6956,6 @@ msgstr "" msgid "Referral Terms" msgstr "紹介の規約" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Shifting GM..." -#~ msgstr "" - #: src/components/Synthetics/ChartTokenSelector/ChartTokenSelector.tsx #: src/components/Synthetics/MarketTokenSelector/MarketTokenSelector.tsx msgid "No markets matched." @@ -7071,10 +6986,6 @@ msgstr "マーケットスワップ失敗" msgid "Error occurred. Please try again" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "minute" -#~ msgstr "" - #: src/components/Referrals/referralsHelper.js msgid "Only letters, numbers and underscores are allowed." msgstr "英数字とアンダースコア記号のみ使用できます。" @@ -7207,11 +7118,6 @@ msgstr "esGMXのAPR(実質年利)" msgid "Compound completed!" msgstr "" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Confirm {operationText}" -#~ msgstr "" - #: src/components/Exchange/TradeHistory.jsx msgid "Initial collateral" msgstr "最初の担保" @@ -7767,10 +7673,6 @@ msgstr "ストップロス注文を更新する" msgid "Continue" msgstr "続ける" -#: src/components/Synthetics/TradeboxPoolWarnings/TradeboxPoolWarnings.tsx -#~ msgid "You can get {0} better open cost in the {1} market pool.<0><1>Switch to {2} market pool." -#~ msgstr "" - #: src/pages/AccountDashboard/DailyAndCumulativePnL.tsx msgid "Daily and Cumulative PnL" msgstr "" @@ -7804,10 +7706,6 @@ msgstr "トリガー注文について承知しています" msgid "{count, plural, one {Order} other {# Orders}}" msgstr "" -#: src/domain/synthetics/trade/utils/validation.ts -#~ msgid "The buyable cap for the pool GM: {0} in GLV: {1} [{2}] has been reached. Please choose a different pool or reduce the buy size." -#~ msgstr "" - #: src/components/Referrals/AffiliatesStats.tsx msgid "Volume on V1" msgstr "" diff --git a/src/locales/ko/messages.po b/src/locales/ko/messages.po index cc3b412e07..34def0ef24 100644 --- a/src/locales/ko/messages.po +++ b/src/locales/ko/messages.po @@ -82,10 +82,6 @@ msgstr "포지션 수수료" msgid "What would have made your rating a 9 or 10?" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "Rebalance Frequency" -#~ msgstr "" - #: src/components/Synthetics/StatusNotification/SubaccountNotification.tsx msgid "Subaccount generation failed" msgstr "" @@ -195,10 +191,6 @@ msgstr "" msgid "GMX transfers not yet enabled" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "day" -#~ msgstr "" - #: src/domain/synthetics/common/incentivesAirdropMessages.ts #: src/pages/LeaderboardPage/components/LeaderboardNavigation.tsx msgid "EIP-4844, 13-20 Mar" @@ -443,10 +435,6 @@ msgstr "" msgid "Discord account: <0>@gmx_feedback" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "{hours} hours" -#~ msgstr "" - #: src/pages/BuyGMX/BuyGMX.tsx msgid "You can transfer ETH from other networks to Arbitrum using any of the below options:" msgstr "아래의 옵션중 하나를 사용해, ETH를 Arbitrum에 보낼 수 있습니다." @@ -459,10 +447,6 @@ msgstr "" msgid "Created limit order for {0} {1}: {2} USD!" msgstr "{0} {1}: {2} USD의 지정가 주문을 생성하였습니다!" -#: src/components/Synthetics/TradeboxPoolWarnings/TradeboxPoolWarnings.tsx -#~ msgid "You can get {0} better open cost and a {1} / 1h better net rate in the {2} market pool.<0><1>Switch to {3} market pool." -#~ msgstr "" - #: src/pages/OrdersOverview/OrdersOverview.jsx msgid "Invalid token fromToken: \"{0}\" toToken: \"{toTokenAddress}\"" msgstr "유요하지 않은 fromToken: \"{0}\" toToken: \"{toTokenAddress}\"" @@ -1004,10 +988,6 @@ msgstr "" msgid "Collateral" msgstr "담보" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "week" -#~ msgstr "" - #: src/components/AprInfo/AprInfo.tsx msgid "Base APY" msgstr "" @@ -1289,10 +1269,6 @@ msgstr "포지션이 이미 존재한다면, 해당 포지션은 {0} USD에 종 msgid "Transfer Submitted" msgstr "전송 제출 완료" -#: src/components/Synthetics/TradeboxPoolWarnings/TradeboxPoolWarnings.tsx -#~ msgid ", zero price impact" -#~ msgstr "" - #: src/components/Synthetics/GmSwap/GmSwapBox/GmShiftBox/useShiftSubmitState.tsx #: src/components/Synthetics/GmSwap/GmSwapBox/GmSwapBox.tsx #: src/components/Synthetics/GmSwap/GmSwapBox/GmSwapBox.tsx @@ -1818,10 +1794,6 @@ msgstr "" msgid "Max allowed actions" msgstr "" -#: src/lib/dates.ts -#~ msgid "Every" -#~ msgstr "" - #: src/pages/Stake/StakeV2.tsx msgid "Convert esGMX tokens to GMX tokens.<0/>Please read the <1>vesting details before using the vaults." msgstr "" @@ -2499,6 +2471,10 @@ msgstr "" msgid "Requested decrease of {0} {longOrShortText} by {sizeDeltaUsd} USD." msgstr "" +#: src/config/bridging.tsx +msgid "Mint tBTC using BTC with <0>Threshold" +msgstr "" + #: src/components/Exchange/NoLiquidityErrorModal.tsx msgid "You need to select {swapTokenSymbol} as the \"Pay\" token to use it for collateral to initiate this trade." msgstr "해당 트레이드를 시작하기위해 담보로 {swapTokenSymbol}을 \"지불\" 토큰으로서 선택할 필요가 있습니다." @@ -3125,10 +3101,6 @@ msgstr "마켓 증가 요청" msgid "Edit {0}" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "hour" -#~ msgstr "" - #: src/pages/ClaimEsGmx/ClaimEsGmx.jsx msgid "Vest with GMX on Arbitrum" msgstr "Arbitrum에서 GMX로 베스팅하기" @@ -3321,10 +3293,6 @@ msgstr "" msgid "For trades on V1, this discount will be airdropped to your account every Wednesday. On V2, discounts are applied automatically and will reduce your fees when you make a trade." msgstr "" -#: src/domain/synthetics/trade/utils/validation.ts -#~ msgid "The buyable cap for the pool GM: {0} in GLV: {1} [{2}] has been reached. Please reduce the buy size, pick a different GM token, or shift the GM tokens to a different pool and try again." -#~ msgstr "" - #: src/domain/synthetics/orders/utils.tsx msgid "Swap {fromTokenText} for {toTokenText}" msgstr "" @@ -3636,10 +3604,6 @@ msgstr "" msgid "Vesting Status" msgstr "" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Error submitting deposit" -#~ msgstr "" - #: src/components/Exchange/ConfirmationBox.jsx msgid "You have an active Limit Order to Increase {longOrShortText} {sizeInToken} {0} (${1}) at price ${2}" msgstr "{longOrShortText} {sizeInToken} {0} (${1})를 ${2} 가격에서 증가시키는 액티브한 지정가 주문이 존재합니다." @@ -3887,11 +3851,6 @@ msgstr "" msgid "PnL Analysis" msgstr "" -#: src/components/Synthetics/MarketStats/components/CompositionTable.tsx -#: src/components/Synthetics/MarketStats/components/CompositionTable.tsx -#~ msgid "COMP" -#~ msgstr "" - #: src/components/Synthetics/TableMarketFilter/MarketFilterLongShort.tsx #: src/components/Synthetics/TableMarketFilter/MarketFilterLongShort.tsx msgid "Longs" @@ -3951,10 +3910,6 @@ msgstr "가격 영향" msgid "Select a token" msgstr "" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Error submitting shift" -#~ msgstr "" - #: src/components/Synthetics/GmSwap/GmFees/GmFees.tsx #: src/components/Synthetics/PositionItem/PositionItem.tsx #: src/components/Synthetics/TradeFeesRow/TradeFeesRow.tsx @@ -4030,10 +3985,6 @@ msgstr "탈중앙화 옵션 전략" msgid "Address copied to your clipboard" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "{days} days" -#~ msgstr "" - #: src/components/Header/AppHeaderLinks.tsx #: src/components/NetworkDropdown/NetworkDropdown.tsx #: src/components/NetworkDropdown/NetworkDropdown.tsx @@ -4054,10 +4005,6 @@ msgstr "" msgid "Insufficient {0} liquidity" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "{seconds} seconds" -#~ msgstr "" - #: src/pages/Ecosystem/Ecosystem.jsx #: src/pages/Ecosystem/Ecosystem.jsx msgid "Creator" @@ -4517,10 +4464,6 @@ msgstr "주문 업데이트됨!" msgid "You will be short {indexSymbol} from your short position, while being long {collateralSymbol} from your {collateralSymbol} collateral. The liquidation price will vary based on the price of {collateralSymbol}." msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "{weeks} weeks" -#~ msgstr "" - #: src/components/Synthetics/TradeBox/TradeBoxRows/OneClickTrading.tsx msgid "The previously authorized maximum number of actions has been reached for One-Click Trading." msgstr "" @@ -4690,10 +4633,6 @@ msgstr "주문의 실행 가격입니다." msgid "wstETH APR" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "second" -#~ msgstr "" - #: src/pages/Ecosystem/Ecosystem.jsx msgid "Telegram Group" msgstr "텔레그램 그룹" @@ -4889,10 +4828,6 @@ msgstr "" msgid "Close {longOrShortText} {0}" msgstr "" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Buying GM..." -#~ msgstr "" - #: src/pages/Stake/StakeV2.tsx msgid "Deposited!" msgstr "" @@ -4945,10 +4880,6 @@ msgstr "공급량" msgid "LONG LIQ." msgstr "" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Error submitting withdrawal" -#~ msgstr "" - #: src/components/Exchange/PositionsList.jsx #: src/components/Exchange/PositionsList.jsx #: src/components/Synthetics/PositionList/PositionList.tsx @@ -5954,10 +5885,6 @@ msgstr "" msgid "Buy / Sell GLP" msgstr "GLP 구매 / 판매" -#: src/domain/synthetics/trade/utils/validation.ts -#~ msgid "Max GM mintable amount exceeded" -#~ msgstr "" - #: src/pages/Dashboard/AssetDropdown.tsx msgid "Open {0} in Explorer" msgstr "" @@ -6774,10 +6701,6 @@ msgstr "GMX 대시보드 및 통계" msgid "Position" msgstr "포지션" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Selling GM..." -#~ msgstr "" - #: src/components/Synthetics/TradeFeesRow/TradeFeesRow.tsx msgid "Bonus Rebate" msgstr "" @@ -6932,10 +6855,6 @@ msgstr "" msgid "{ordersText} cancelled" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "{minutes} minutes" -#~ msgstr "" - #: src/components/Synthetics/TradeBox/hooks/useTradeButtonState.tsx msgid "Limit price below Mark Price" msgstr "" @@ -7037,10 +6956,6 @@ msgstr "" msgid "Referral Terms" msgstr "추천 약관" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Shifting GM..." -#~ msgstr "" - #: src/components/Synthetics/ChartTokenSelector/ChartTokenSelector.tsx #: src/components/Synthetics/MarketTokenSelector/MarketTokenSelector.tsx msgid "No markets matched." @@ -7071,10 +6986,6 @@ msgstr "시장 스왑 실패" msgid "Error occurred. Please try again" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "minute" -#~ msgstr "" - #: src/components/Referrals/referralsHelper.js msgid "Only letters, numbers and underscores are allowed." msgstr "문자, 숫자 및 언더스코어만 가능합니다" @@ -7207,11 +7118,6 @@ msgstr "esGMX APR" msgid "Compound completed!" msgstr "" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Confirm {operationText}" -#~ msgstr "" - #: src/components/Exchange/TradeHistory.jsx msgid "Initial collateral" msgstr "최초 담보" @@ -7767,10 +7673,6 @@ msgstr "손절 주문 업데이트" msgid "Continue" msgstr "계속하기" -#: src/components/Synthetics/TradeboxPoolWarnings/TradeboxPoolWarnings.tsx -#~ msgid "You can get {0} better open cost in the {1} market pool.<0><1>Switch to {2} market pool." -#~ msgstr "" - #: src/pages/AccountDashboard/DailyAndCumulativePnL.tsx msgid "Daily and Cumulative PnL" msgstr "" @@ -7804,10 +7706,6 @@ msgstr "트리거 주문에 대해 충분히 인지하고 있습니다." msgid "{count, plural, one {Order} other {# Orders}}" msgstr "" -#: src/domain/synthetics/trade/utils/validation.ts -#~ msgid "The buyable cap for the pool GM: {0} in GLV: {1} [{2}] has been reached. Please choose a different pool or reduce the buy size." -#~ msgstr "" - #: src/components/Referrals/AffiliatesStats.tsx msgid "Volume on V1" msgstr "" diff --git a/src/locales/pseudo/messages.po b/src/locales/pseudo/messages.po index d539034899..6388854ea2 100644 --- a/src/locales/pseudo/messages.po +++ b/src/locales/pseudo/messages.po @@ -82,10 +82,6 @@ msgstr "" msgid "What would have made your rating a 9 or 10?" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "Rebalance Frequency" -#~ msgstr "" - #: src/components/Synthetics/StatusNotification/SubaccountNotification.tsx msgid "Subaccount generation failed" msgstr "" @@ -195,10 +191,6 @@ msgstr "" msgid "GMX transfers not yet enabled" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "day" -#~ msgstr "" - #: src/domain/synthetics/common/incentivesAirdropMessages.ts #: src/pages/LeaderboardPage/components/LeaderboardNavigation.tsx msgid "EIP-4844, 13-20 Mar" @@ -443,10 +435,6 @@ msgstr "" msgid "Discord account: <0>@gmx_feedback" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "{hours} hours" -#~ msgstr "" - #: src/pages/BuyGMX/BuyGMX.tsx msgid "You can transfer ETH from other networks to Arbitrum using any of the below options:" msgstr "" @@ -459,10 +447,6 @@ msgstr "" msgid "Created limit order for {0} {1}: {2} USD!" msgstr "" -#: src/components/Synthetics/TradeboxPoolWarnings/TradeboxPoolWarnings.tsx -#~ msgid "You can get {0} better open cost and a {1} / 1h better net rate in the {2} market pool.<0><1>Switch to {3} market pool." -#~ msgstr "" - #: src/pages/OrdersOverview/OrdersOverview.jsx msgid "Invalid token fromToken: \"{0}\" toToken: \"{toTokenAddress}\"" msgstr "" @@ -1004,10 +988,6 @@ msgstr "" msgid "Collateral" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "week" -#~ msgstr "" - #: src/components/AprInfo/AprInfo.tsx msgid "Base APY" msgstr "" @@ -1289,10 +1269,6 @@ msgstr "" msgid "Transfer Submitted" msgstr "" -#: src/components/Synthetics/TradeboxPoolWarnings/TradeboxPoolWarnings.tsx -#~ msgid ", zero price impact" -#~ msgstr "" - #: src/components/Synthetics/GmSwap/GmSwapBox/GmShiftBox/useShiftSubmitState.tsx #: src/components/Synthetics/GmSwap/GmSwapBox/GmSwapBox.tsx #: src/components/Synthetics/GmSwap/GmSwapBox/GmSwapBox.tsx @@ -1818,10 +1794,6 @@ msgstr "" msgid "Max allowed actions" msgstr "" -#: src/lib/dates.ts -#~ msgid "Every" -#~ msgstr "" - #: src/pages/Stake/StakeV2.tsx msgid "Convert esGMX tokens to GMX tokens.<0/>Please read the <1>vesting details before using the vaults." msgstr "" @@ -2499,6 +2471,10 @@ msgstr "" msgid "Requested decrease of {0} {longOrShortText} by {sizeDeltaUsd} USD." msgstr "" +#: src/config/bridging.tsx +msgid "Mint tBTC using BTC with <0>Threshold" +msgstr "" + #: src/components/Exchange/NoLiquidityErrorModal.tsx msgid "You need to select {swapTokenSymbol} as the \"Pay\" token to use it for collateral to initiate this trade." msgstr "" @@ -3125,10 +3101,6 @@ msgstr "" msgid "Edit {0}" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "hour" -#~ msgstr "" - #: src/pages/ClaimEsGmx/ClaimEsGmx.jsx msgid "Vest with GMX on Arbitrum" msgstr "" @@ -3321,10 +3293,6 @@ msgstr "" msgid "For trades on V1, this discount will be airdropped to your account every Wednesday. On V2, discounts are applied automatically and will reduce your fees when you make a trade." msgstr "" -#: src/domain/synthetics/trade/utils/validation.ts -#~ msgid "The buyable cap for the pool GM: {0} in GLV: {1} [{2}] has been reached. Please reduce the buy size, pick a different GM token, or shift the GM tokens to a different pool and try again." -#~ msgstr "" - #: src/domain/synthetics/orders/utils.tsx msgid "Swap {fromTokenText} for {toTokenText}" msgstr "" @@ -3636,10 +3604,6 @@ msgstr "" msgid "Vesting Status" msgstr "" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Error submitting deposit" -#~ msgstr "" - #: src/components/Exchange/ConfirmationBox.jsx msgid "You have an active Limit Order to Increase {longOrShortText} {sizeInToken} {0} (${1}) at price ${2}" msgstr "" @@ -3887,11 +3851,6 @@ msgstr "" msgid "PnL Analysis" msgstr "" -#: src/components/Synthetics/MarketStats/components/CompositionTable.tsx -#: src/components/Synthetics/MarketStats/components/CompositionTable.tsx -#~ msgid "COMP" -#~ msgstr "" - #: src/components/Synthetics/TableMarketFilter/MarketFilterLongShort.tsx #: src/components/Synthetics/TableMarketFilter/MarketFilterLongShort.tsx msgid "Longs" @@ -3951,10 +3910,6 @@ msgstr "" msgid "Select a token" msgstr "" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Error submitting shift" -#~ msgstr "" - #: src/components/Synthetics/GmSwap/GmFees/GmFees.tsx #: src/components/Synthetics/PositionItem/PositionItem.tsx #: src/components/Synthetics/TradeFeesRow/TradeFeesRow.tsx @@ -4030,10 +3985,6 @@ msgstr "" msgid "Address copied to your clipboard" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "{days} days" -#~ msgstr "" - #: src/components/Header/AppHeaderLinks.tsx #: src/components/NetworkDropdown/NetworkDropdown.tsx #: src/components/NetworkDropdown/NetworkDropdown.tsx @@ -4054,10 +4005,6 @@ msgstr "" msgid "Insufficient {0} liquidity" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "{seconds} seconds" -#~ msgstr "" - #: src/pages/Ecosystem/Ecosystem.jsx #: src/pages/Ecosystem/Ecosystem.jsx msgid "Creator" @@ -4517,10 +4464,6 @@ msgstr "" msgid "You will be short {indexSymbol} from your short position, while being long {collateralSymbol} from your {collateralSymbol} collateral. The liquidation price will vary based on the price of {collateralSymbol}." msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "{weeks} weeks" -#~ msgstr "" - #: src/components/Synthetics/TradeBox/TradeBoxRows/OneClickTrading.tsx msgid "The previously authorized maximum number of actions has been reached for One-Click Trading." msgstr "" @@ -4690,10 +4633,6 @@ msgstr "" msgid "wstETH APR" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "second" -#~ msgstr "" - #: src/pages/Ecosystem/Ecosystem.jsx msgid "Telegram Group" msgstr "" @@ -4889,10 +4828,6 @@ msgstr "" msgid "Close {longOrShortText} {0}" msgstr "" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Buying GM..." -#~ msgstr "" - #: src/pages/Stake/StakeV2.tsx msgid "Deposited!" msgstr "" @@ -4945,10 +4880,6 @@ msgstr "" msgid "LONG LIQ." msgstr "" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Error submitting withdrawal" -#~ msgstr "" - #: src/components/Exchange/PositionsList.jsx #: src/components/Exchange/PositionsList.jsx #: src/components/Synthetics/PositionList/PositionList.tsx @@ -5954,10 +5885,6 @@ msgstr "" msgid "Buy / Sell GLP" msgstr "" -#: src/domain/synthetics/trade/utils/validation.ts -#~ msgid "Max GM mintable amount exceeded" -#~ msgstr "" - #: src/pages/Dashboard/AssetDropdown.tsx msgid "Open {0} in Explorer" msgstr "" @@ -6774,10 +6701,6 @@ msgstr "" msgid "Position" msgstr "" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Selling GM..." -#~ msgstr "" - #: src/components/Synthetics/TradeFeesRow/TradeFeesRow.tsx msgid "Bonus Rebate" msgstr "" @@ -6932,10 +6855,6 @@ msgstr "" msgid "{ordersText} cancelled" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "{minutes} minutes" -#~ msgstr "" - #: src/components/Synthetics/TradeBox/hooks/useTradeButtonState.tsx msgid "Limit price below Mark Price" msgstr "" @@ -7037,10 +6956,6 @@ msgstr "" msgid "Referral Terms" msgstr "" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Shifting GM..." -#~ msgstr "" - #: src/components/Synthetics/ChartTokenSelector/ChartTokenSelector.tsx #: src/components/Synthetics/MarketTokenSelector/MarketTokenSelector.tsx msgid "No markets matched." @@ -7071,10 +6986,6 @@ msgstr "" msgid "Error occurred. Please try again" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "minute" -#~ msgstr "" - #: src/components/Referrals/referralsHelper.js msgid "Only letters, numbers and underscores are allowed." msgstr "" @@ -7207,11 +7118,6 @@ msgstr "" msgid "Compound completed!" msgstr "" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Confirm {operationText}" -#~ msgstr "" - #: src/components/Exchange/TradeHistory.jsx msgid "Initial collateral" msgstr "" @@ -7767,10 +7673,6 @@ msgstr "" msgid "Continue" msgstr "" -#: src/components/Synthetics/TradeboxPoolWarnings/TradeboxPoolWarnings.tsx -#~ msgid "You can get {0} better open cost in the {1} market pool.<0><1>Switch to {2} market pool." -#~ msgstr "" - #: src/pages/AccountDashboard/DailyAndCumulativePnL.tsx msgid "Daily and Cumulative PnL" msgstr "" @@ -7804,10 +7706,6 @@ msgstr "" msgid "{count, plural, one {Order} other {# Orders}}" msgstr "" -#: src/domain/synthetics/trade/utils/validation.ts -#~ msgid "The buyable cap for the pool GM: {0} in GLV: {1} [{2}] has been reached. Please choose a different pool or reduce the buy size." -#~ msgstr "" - #: src/components/Referrals/AffiliatesStats.tsx msgid "Volume on V1" msgstr "" diff --git a/src/locales/ru/messages.po b/src/locales/ru/messages.po index a8c8aef8b7..9d41650b97 100644 --- a/src/locales/ru/messages.po +++ b/src/locales/ru/messages.po @@ -82,10 +82,6 @@ msgstr "Комиссия за позицию" msgid "What would have made your rating a 9 or 10?" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "Rebalance Frequency" -#~ msgstr "" - #: src/components/Synthetics/StatusNotification/SubaccountNotification.tsx msgid "Subaccount generation failed" msgstr "" @@ -195,10 +191,6 @@ msgstr "" msgid "GMX transfers not yet enabled" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "day" -#~ msgstr "" - #: src/domain/synthetics/common/incentivesAirdropMessages.ts #: src/pages/LeaderboardPage/components/LeaderboardNavigation.tsx msgid "EIP-4844, 13-20 Mar" @@ -443,10 +435,6 @@ msgstr "" msgid "Discord account: <0>@gmx_feedback" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "{hours} hours" -#~ msgstr "" - #: src/pages/BuyGMX/BuyGMX.tsx msgid "You can transfer ETH from other networks to Arbitrum using any of the below options:" msgstr "Вы можете перевести ETH в Arbitrum, используя любой из приведенных ниже вариантов." @@ -459,10 +447,6 @@ msgstr "" msgid "Created limit order for {0} {1}: {2} USD!" msgstr "Создан лимитный ордер на {0} {1}: {2} USD!" -#: src/components/Synthetics/TradeboxPoolWarnings/TradeboxPoolWarnings.tsx -#~ msgid "You can get {0} better open cost and a {1} / 1h better net rate in the {2} market pool.<0><1>Switch to {3} market pool." -#~ msgstr "" - #: src/pages/OrdersOverview/OrdersOverview.jsx msgid "Invalid token fromToken: \"{0}\" toToken: \"{toTokenAddress}\"" msgstr "Неверный токен отТокен:: \"{0}\" кТокен: \"{toTokenAddress}\"" @@ -1004,10 +988,6 @@ msgstr "" msgid "Collateral" msgstr "Залог" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "week" -#~ msgstr "" - #: src/components/AprInfo/AprInfo.tsx msgid "Base APY" msgstr "" @@ -1289,10 +1269,6 @@ msgstr "Если у вас есть существующая позиция, п msgid "Transfer Submitted" msgstr "Перевод Подтверждён" -#: src/components/Synthetics/TradeboxPoolWarnings/TradeboxPoolWarnings.tsx -#~ msgid ", zero price impact" -#~ msgstr "" - #: src/components/Synthetics/GmSwap/GmSwapBox/GmShiftBox/useShiftSubmitState.tsx #: src/components/Synthetics/GmSwap/GmSwapBox/GmSwapBox.tsx #: src/components/Synthetics/GmSwap/GmSwapBox/GmSwapBox.tsx @@ -1818,10 +1794,6 @@ msgstr "" msgid "Max allowed actions" msgstr "" -#: src/lib/dates.ts -#~ msgid "Every" -#~ msgstr "" - #: src/pages/Stake/StakeV2.tsx msgid "Convert esGMX tokens to GMX tokens.<0/>Please read the <1>vesting details before using the vaults." msgstr "" @@ -2499,6 +2471,10 @@ msgstr "" msgid "Requested decrease of {0} {longOrShortText} by {sizeDeltaUsd} USD." msgstr "" +#: src/config/bridging.tsx +msgid "Mint tBTC using BTC with <0>Threshold" +msgstr "" + #: src/components/Exchange/NoLiquidityErrorModal.tsx msgid "You need to select {swapTokenSymbol} as the \"Pay\" token to use it for collateral to initiate this trade." msgstr "Вам необходимо выбрать {swapTokenSymbol} в качестве \"Оплата\" токена, чтобы использовать его в качестве залога для инициирования этой сделки." @@ -3125,10 +3101,6 @@ msgstr "Запрос на рыночное увеличение" msgid "Edit {0}" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "hour" -#~ msgstr "" - #: src/pages/ClaimEsGmx/ClaimEsGmx.jsx msgid "Vest with GMX on Arbitrum" msgstr "Вестинг GMX на Arbitrum" @@ -3321,10 +3293,6 @@ msgstr "" msgid "For trades on V1, this discount will be airdropped to your account every Wednesday. On V2, discounts are applied automatically and will reduce your fees when you make a trade." msgstr "" -#: src/domain/synthetics/trade/utils/validation.ts -#~ msgid "The buyable cap for the pool GM: {0} in GLV: {1} [{2}] has been reached. Please reduce the buy size, pick a different GM token, or shift the GM tokens to a different pool and try again." -#~ msgstr "" - #: src/domain/synthetics/orders/utils.tsx msgid "Swap {fromTokenText} for {toTokenText}" msgstr "" @@ -3636,10 +3604,6 @@ msgstr "" msgid "Vesting Status" msgstr "<<<<<<< HEAD" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Error submitting deposit" -#~ msgstr "" - #: src/components/Exchange/ConfirmationBox.jsx msgid "You have an active Limit Order to Increase {longOrShortText} {sizeInToken} {0} (${1}) at price ${2}" msgstr "У вас есть активный Лимитный Ордер на увеличение {longOrShortText} {sizeInToken} {0} (${1}) по цене ${2}" @@ -3887,11 +3851,6 @@ msgstr "" msgid "PnL Analysis" msgstr "" -#: src/components/Synthetics/MarketStats/components/CompositionTable.tsx -#: src/components/Synthetics/MarketStats/components/CompositionTable.tsx -#~ msgid "COMP" -#~ msgstr "" - #: src/components/Synthetics/TableMarketFilter/MarketFilterLongShort.tsx #: src/components/Synthetics/TableMarketFilter/MarketFilterLongShort.tsx msgid "Longs" @@ -3951,10 +3910,6 @@ msgstr "Влияние цены" msgid "Select a token" msgstr "" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Error submitting shift" -#~ msgstr "" - #: src/components/Synthetics/GmSwap/GmFees/GmFees.tsx #: src/components/Synthetics/PositionItem/PositionItem.tsx #: src/components/Synthetics/TradeFeesRow/TradeFeesRow.tsx @@ -4030,10 +3985,6 @@ msgstr "Децентрализованные Опционные Стратеги msgid "Address copied to your clipboard" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "{days} days" -#~ msgstr "" - #: src/components/Header/AppHeaderLinks.tsx #: src/components/NetworkDropdown/NetworkDropdown.tsx #: src/components/NetworkDropdown/NetworkDropdown.tsx @@ -4054,10 +4005,6 @@ msgstr "" msgid "Insufficient {0} liquidity" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "{seconds} seconds" -#~ msgstr "" - #: src/pages/Ecosystem/Ecosystem.jsx #: src/pages/Ecosystem/Ecosystem.jsx msgid "Creator" @@ -4517,10 +4464,6 @@ msgstr "Ордер обновлён!" msgid "You will be short {indexSymbol} from your short position, while being long {collateralSymbol} from your {collateralSymbol} collateral. The liquidation price will vary based on the price of {collateralSymbol}." msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "{weeks} weeks" -#~ msgstr "" - #: src/components/Synthetics/TradeBox/TradeBoxRows/OneClickTrading.tsx msgid "The previously authorized maximum number of actions has been reached for One-Click Trading." msgstr "" @@ -4690,10 +4633,6 @@ msgstr "Цена исполнения ордера." msgid "wstETH APR" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "second" -#~ msgstr "" - #: src/pages/Ecosystem/Ecosystem.jsx msgid "Telegram Group" msgstr "Группа в Телеграмме" @@ -4889,10 +4828,6 @@ msgstr "" msgid "Close {longOrShortText} {0}" msgstr "" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Buying GM..." -#~ msgstr "" - #: src/pages/Stake/StakeV2.tsx msgid "Deposited!" msgstr "" @@ -4945,10 +4880,6 @@ msgstr "Обеспечение" msgid "LONG LIQ." msgstr "<<<<<<< HEAD" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Error submitting withdrawal" -#~ msgstr "" - #: src/components/Exchange/PositionsList.jsx #: src/components/Exchange/PositionsList.jsx #: src/components/Synthetics/PositionList/PositionList.tsx @@ -5954,10 +5885,6 @@ msgstr "" msgid "Buy / Sell GLP" msgstr "Купить / Продать GLP" -#: src/domain/synthetics/trade/utils/validation.ts -#~ msgid "Max GM mintable amount exceeded" -#~ msgstr "" - #: src/pages/Dashboard/AssetDropdown.tsx msgid "Open {0} in Explorer" msgstr "Открыть {0} в Explorer" @@ -6774,10 +6701,6 @@ msgstr "Панели управления GMX и аналитика." msgid "Position" msgstr "Позиция" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Selling GM..." -#~ msgstr "" - #: src/components/Synthetics/TradeFeesRow/TradeFeesRow.tsx msgid "Bonus Rebate" msgstr "" @@ -6932,10 +6855,6 @@ msgstr "" msgid "{ordersText} cancelled" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "{minutes} minutes" -#~ msgstr "" - #: src/components/Synthetics/TradeBox/hooks/useTradeButtonState.tsx msgid "Limit price below Mark Price" msgstr "" @@ -7037,10 +6956,6 @@ msgstr "" msgid "Referral Terms" msgstr "Реферальные Условия" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Shifting GM..." -#~ msgstr "" - #: src/components/Synthetics/ChartTokenSelector/ChartTokenSelector.tsx #: src/components/Synthetics/MarketTokenSelector/MarketTokenSelector.tsx msgid "No markets matched." @@ -7071,10 +6986,6 @@ msgstr "Рыночный обмен не удался" msgid "Error occurred. Please try again" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "minute" -#~ msgstr "" - #: src/components/Referrals/referralsHelper.js msgid "Only letters, numbers and underscores are allowed." msgstr "Допускаются только буквы, цифры и знаки подчеркивания." @@ -7207,11 +7118,6 @@ msgstr "Эскроуированный GMX APR" msgid "Compound completed!" msgstr "" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Confirm {operationText}" -#~ msgstr "" - #: src/components/Exchange/TradeHistory.jsx msgid "Initial collateral" msgstr "Первоначальный залог" @@ -7767,10 +7673,6 @@ msgstr "Обновление стоп-лосс ордера" msgid "Continue" msgstr "Продолжить" -#: src/components/Synthetics/TradeboxPoolWarnings/TradeboxPoolWarnings.tsx -#~ msgid "You can get {0} better open cost in the {1} market pool.<0><1>Switch to {2} market pool." -#~ msgstr "" - #: src/pages/AccountDashboard/DailyAndCumulativePnL.tsx msgid "Daily and Cumulative PnL" msgstr "" @@ -7804,10 +7706,6 @@ msgstr "Я осведомлён о запуске ордера" msgid "{count, plural, one {Order} other {# Orders}}" msgstr "" -#: src/domain/synthetics/trade/utils/validation.ts -#~ msgid "The buyable cap for the pool GM: {0} in GLV: {1} [{2}] has been reached. Please choose a different pool or reduce the buy size." -#~ msgstr "" - #: src/components/Referrals/AffiliatesStats.tsx msgid "Volume on V1" msgstr "" diff --git a/src/locales/zh/messages.po b/src/locales/zh/messages.po index 97bcb3e7fb..99617cbc41 100644 --- a/src/locales/zh/messages.po +++ b/src/locales/zh/messages.po @@ -82,10 +82,6 @@ msgstr "仓位费用" msgid "What would have made your rating a 9 or 10?" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "Rebalance Frequency" -#~ msgstr "" - #: src/components/Synthetics/StatusNotification/SubaccountNotification.tsx msgid "Subaccount generation failed" msgstr "" @@ -195,10 +191,6 @@ msgstr "" msgid "GMX transfers not yet enabled" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "day" -#~ msgstr "" - #: src/domain/synthetics/common/incentivesAirdropMessages.ts #: src/pages/LeaderboardPage/components/LeaderboardNavigation.tsx msgid "EIP-4844, 13-20 Mar" @@ -443,10 +435,6 @@ msgstr "" msgid "Discord account: <0>@gmx_feedback" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "{hours} hours" -#~ msgstr "" - #: src/pages/BuyGMX/BuyGMX.tsx msgid "You can transfer ETH from other networks to Arbitrum using any of the below options:" msgstr "您可以使用以下任何一种方式将ETH从其他网络转移到Arbitrum:" @@ -459,10 +447,6 @@ msgstr "" msgid "Created limit order for {0} {1}: {2} USD!" msgstr "为{0} {1}: {2} USD!创建限量的指令" -#: src/components/Synthetics/TradeboxPoolWarnings/TradeboxPoolWarnings.tsx -#~ msgid "You can get {0} better open cost and a {1} / 1h better net rate in the {2} market pool.<0><1>Switch to {3} market pool." -#~ msgstr "" - #: src/pages/OrdersOverview/OrdersOverview.jsx msgid "Invalid token fromToken: \"{0}\" toToken: \"{toTokenAddress}\"" msgstr "无效代币从代币: \"{0}\" 代币: \"{toTokenAddress}\\" @@ -1004,10 +988,6 @@ msgstr "" msgid "Collateral" msgstr "抵押品" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "week" -#~ msgstr "" - #: src/components/AprInfo/AprInfo.tsx msgid "Base APY" msgstr "" @@ -1289,10 +1269,6 @@ msgstr "如果你有一个现有的头寸,它将在{0}美元被关闭。<0/><1 msgid "Transfer Submitted" msgstr "送出转移" -#: src/components/Synthetics/TradeboxPoolWarnings/TradeboxPoolWarnings.tsx -#~ msgid ", zero price impact" -#~ msgstr "" - #: src/components/Synthetics/GmSwap/GmSwapBox/GmShiftBox/useShiftSubmitState.tsx #: src/components/Synthetics/GmSwap/GmSwapBox/GmSwapBox.tsx #: src/components/Synthetics/GmSwap/GmSwapBox/GmSwapBox.tsx @@ -1818,10 +1794,6 @@ msgstr "" msgid "Max allowed actions" msgstr "" -#: src/lib/dates.ts -#~ msgid "Every" -#~ msgstr "" - #: src/pages/Stake/StakeV2.tsx msgid "Convert esGMX tokens to GMX tokens.<0/>Please read the <1>vesting details before using the vaults." msgstr "" @@ -2499,6 +2471,10 @@ msgstr "" msgid "Requested decrease of {0} {longOrShortText} by {sizeDeltaUsd} USD." msgstr "" +#: src/config/bridging.tsx +msgid "Mint tBTC using BTC with <0>Threshold" +msgstr "" + #: src/components/Exchange/NoLiquidityErrorModal.tsx msgid "You need to select {swapTokenSymbol} as the \"Pay\" token to use it for collateral to initiate this trade." msgstr "你需要选择 {swapTokenSymbol} 作为 \"Pay\" 代币 以将它作为抵押品来启动这个交易" @@ -3125,10 +3101,6 @@ msgstr "要求市场增加" msgid "Edit {0}" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "hour" -#~ msgstr "" - #: src/pages/ClaimEsGmx/ClaimEsGmx.jsx msgid "Vest with GMX on Arbitrum" msgstr "在Arbitrum上授权GMX" @@ -3321,10 +3293,6 @@ msgstr "" msgid "For trades on V1, this discount will be airdropped to your account every Wednesday. On V2, discounts are applied automatically and will reduce your fees when you make a trade." msgstr "" -#: src/domain/synthetics/trade/utils/validation.ts -#~ msgid "The buyable cap for the pool GM: {0} in GLV: {1} [{2}] has been reached. Please reduce the buy size, pick a different GM token, or shift the GM tokens to a different pool and try again." -#~ msgstr "" - #: src/domain/synthetics/orders/utils.tsx msgid "Swap {fromTokenText} for {toTokenText}" msgstr "" @@ -3636,10 +3604,6 @@ msgstr "" msgid "Vesting Status" msgstr "<<<<<<< HEAD" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Error submitting deposit" -#~ msgstr "" - #: src/components/Exchange/ConfirmationBox.jsx msgid "You have an active Limit Order to Increase {longOrShortText} {sizeInToken} {0} (${1}) at price ${2}" msgstr "您有一个有效的限价订单,{longOrShortText} {sizeInToken} {0} (${1}) 以{2}美元的价格增加" @@ -3887,11 +3851,6 @@ msgstr "" msgid "PnL Analysis" msgstr "" -#: src/components/Synthetics/MarketStats/components/CompositionTable.tsx -#: src/components/Synthetics/MarketStats/components/CompositionTable.tsx -#~ msgid "COMP" -#~ msgstr "" - #: src/components/Synthetics/TableMarketFilter/MarketFilterLongShort.tsx #: src/components/Synthetics/TableMarketFilter/MarketFilterLongShort.tsx msgid "Longs" @@ -3951,10 +3910,6 @@ msgstr "价格影响" msgid "Select a token" msgstr "" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Error submitting shift" -#~ msgstr "" - #: src/components/Synthetics/GmSwap/GmFees/GmFees.tsx #: src/components/Synthetics/PositionItem/PositionItem.tsx #: src/components/Synthetics/TradeFeesRow/TradeFeesRow.tsx @@ -4030,10 +3985,6 @@ msgstr "去中心化选策略" msgid "Address copied to your clipboard" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "{days} days" -#~ msgstr "" - #: src/components/Header/AppHeaderLinks.tsx #: src/components/NetworkDropdown/NetworkDropdown.tsx #: src/components/NetworkDropdown/NetworkDropdown.tsx @@ -4054,10 +4005,6 @@ msgstr "" msgid "Insufficient {0} liquidity" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "{seconds} seconds" -#~ msgstr "" - #: src/pages/Ecosystem/Ecosystem.jsx #: src/pages/Ecosystem/Ecosystem.jsx msgid "Creator" @@ -4517,10 +4464,6 @@ msgstr "指令已更新" msgid "You will be short {indexSymbol} from your short position, while being long {collateralSymbol} from your {collateralSymbol} collateral. The liquidation price will vary based on the price of {collateralSymbol}." msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "{weeks} weeks" -#~ msgstr "" - #: src/components/Synthetics/TradeBox/TradeBoxRows/OneClickTrading.tsx msgid "The previously authorized maximum number of actions has been reached for One-Click Trading." msgstr "" @@ -4690,10 +4633,6 @@ msgstr "指令的执行价格" msgid "wstETH APR" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "second" -#~ msgstr "" - #: src/pages/Ecosystem/Ecosystem.jsx msgid "Telegram Group" msgstr "电报群" @@ -4889,10 +4828,6 @@ msgstr "" msgid "Close {longOrShortText} {0}" msgstr "" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Buying GM..." -#~ msgstr "" - #: src/pages/Stake/StakeV2.tsx msgid "Deposited!" msgstr "" @@ -4945,10 +4880,6 @@ msgstr "供应" msgid "LONG LIQ." msgstr "<<<<<<< HEAD" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Error submitting withdrawal" -#~ msgstr "" - #: src/components/Exchange/PositionsList.jsx #: src/components/Exchange/PositionsList.jsx #: src/components/Synthetics/PositionList/PositionList.tsx @@ -5954,10 +5885,6 @@ msgstr "" msgid "Buy / Sell GLP" msgstr "购买/出售GLP" -#: src/domain/synthetics/trade/utils/validation.ts -#~ msgid "Max GM mintable amount exceeded" -#~ msgstr "" - #: src/pages/Dashboard/AssetDropdown.tsx msgid "Open {0} in Explorer" msgstr "" @@ -6774,10 +6701,6 @@ msgstr "GMX信息板和分析" msgid "Position" msgstr "仓位" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Selling GM..." -#~ msgstr "" - #: src/components/Synthetics/TradeFeesRow/TradeFeesRow.tsx msgid "Bonus Rebate" msgstr "" @@ -6932,10 +6855,6 @@ msgstr "" msgid "{ordersText} cancelled" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "{minutes} minutes" -#~ msgstr "" - #: src/components/Synthetics/TradeBox/hooks/useTradeButtonState.tsx msgid "Limit price below Mark Price" msgstr "" @@ -7037,10 +6956,6 @@ msgstr "" msgid "Referral Terms" msgstr "推荐条款" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Shifting GM..." -#~ msgstr "" - #: src/components/Synthetics/ChartTokenSelector/ChartTokenSelector.tsx #: src/components/Synthetics/MarketTokenSelector/MarketTokenSelector.tsx msgid "No markets matched." @@ -7071,10 +6986,6 @@ msgstr "市场交换失败" msgid "Error occurred. Please try again" msgstr "" -#: src/components/Synthetics/MarketStats/MarketStatsWithComposition.tsx -#~ msgid "minute" -#~ msgstr "" - #: src/components/Referrals/referralsHelper.js msgid "Only letters, numbers and underscores are allowed." msgstr "只允许使用字母、数字和下底线" @@ -7207,11 +7118,6 @@ msgstr "托管的GMX年利率" msgid "Compound completed!" msgstr "" -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#: src/components/Synthetics/GmSwap/GmConfirmationBox/GmConfirmationBox.tsx -#~ msgid "Confirm {operationText}" -#~ msgstr "" - #: src/components/Exchange/TradeHistory.jsx msgid "Initial collateral" msgstr "初始抵押品" @@ -7767,10 +7673,6 @@ msgstr "更新止损指令" msgid "Continue" msgstr "继续" -#: src/components/Synthetics/TradeboxPoolWarnings/TradeboxPoolWarnings.tsx -#~ msgid "You can get {0} better open cost in the {1} market pool.<0><1>Switch to {2} market pool." -#~ msgstr "" - #: src/pages/AccountDashboard/DailyAndCumulativePnL.tsx msgid "Daily and Cumulative PnL" msgstr "" @@ -7804,10 +7706,6 @@ msgstr "我了解触发的指令" msgid "{count, plural, one {Order} other {# Orders}}" msgstr "" -#: src/domain/synthetics/trade/utils/validation.ts -#~ msgid "The buyable cap for the pool GM: {0} in GLV: {1} [{2}] has been reached. Please choose a different pool or reduce the buy size." -#~ msgstr "" - #: src/components/Referrals/AffiliatesStats.tsx msgid "Volume on V1" msgstr "" diff --git a/src/prebuilt/hashedMarketConfigKeys.json b/src/prebuilt/hashedMarketConfigKeys.json index 4f41393325..ffe1c41485 100644 --- a/src/prebuilt/hashedMarketConfigKeys.json +++ b/src/prebuilt/hashedMarketConfigKeys.json @@ -1499,6 +1499,56 @@ "virtualMarketId": "0xee0116ab2f3ff5a9baf77133e43fe02da8321a8490c5ac205369bace02758d51", "virtualLongTokenId": "0xa59040b7efb6b7122a74cb318a192ebc6732849dff5332ee3ba40b90dfa0a04f", "virtualShortTokenId": "0xd5258cb84f0039be58306488e8df941c05f3cf4f219e92aacb6561c736bbb960" + }, + "0xd62068697bCc92AF253225676D618B0C9f17C663": { + "isDisabled": "0x2f906f6a298abd28f726c37379be0c5def1d85abfb7ba70ce572754acd0c5a08", + "maxLongPoolAmount": "0x7aad45d57c12171f54e3aa0c319db8d017d36cbeb01198a290ff417d1a466324", + "maxShortPoolAmount": "0x7aad45d57c12171f54e3aa0c319db8d017d36cbeb01198a290ff417d1a466324", + "maxLongPoolUsdForDeposit": "0x600ad826951026922c214cf85b12616d8105bf5f28bfdf78be2b080c71c3b1fb", + "maxShortPoolUsdForDeposit": "0x600ad826951026922c214cf85b12616d8105bf5f28bfdf78be2b080c71c3b1fb", + "longPoolAmountAdjustment": "0xb2046a6ddb04fb47b3d1beec1696671fa693b81734820dc61322f0952b470d6f", + "shortPoolAmountAdjustment": "0xb2046a6ddb04fb47b3d1beec1696671fa693b81734820dc61322f0952b470d6f", + "reserveFactorLong": "0x336907c3530dacf62d7f844a0fc0a625aac8976e3098f365f341b73a0e3d4f5e", + "reserveFactorShort": "0x92303b878a586fbd13bfcb31b380a27039b9045afbe1c33ea79a37765230ca92", + "openInterestReserveFactorLong": "0xb52d55ed32e6329e2ebd8f07be29f2c119551217cf6f7a70511c2c9c07de004f", + "openInterestReserveFactorShort": "0x57620b33d2928b54b36f19c94d391a35a024779b7dc8e86b6d330047da0e38af", + "maxOpenInterestLong": "0xf7f3d1346e2dbb7c21a54e1c5c8fd9531e9e84367be069b9f329ca8bfcc36434", + "maxOpenInterestShort": "0x8bf23a572846549e36dea23e29538ce21f9b835ae554d9db823548b8b24d5513", + "minPositionImpactPoolAmount": "0x20ba9b8274778be0ce4ab70e3ff1319148d0feefed8953fb93f9ef3697f9bb5b", + "positionImpactPoolDistributionRate": "0xf35ae1e742dc12217266520f7cb37fc483079e5594e9c75bea18a6edc6116fc5", + "borrowingFactorLong": "0x76b2af1c89bf4aff6be4791940ab674cf2d596b08674c5406e54bf6bbe0cb5a1", + "borrowingFactorShort": "0x780159c680f686e528c893488334517389b8296da7c22bc1eaa00b3cc463e5c0", + "borrowingExponentFactorLong": "0xb28a03154df5f7389c980f07233bbe0de96d083e14c4a0083664e9a8a676fac5", + "borrowingExponentFactorShort": "0x169821057f56a0c57b34f37c8ba0e3074e9c7d6bb1091628846ad667adea1867", + "fundingFactor": "0x3f30d900894de92f1e4e4c3c21501c3690c5b1c683a776956ede9916dc41b599", + "fundingExponentFactor": "0x0c61e2515a46ceeb0831a7e2113c0cb3826fb23e2c7811ab9bcca8339875919c", + "fundingIncreaseFactorPerSecond": "0x4e9007874ede478cc16e789f15d14bf6285efd7eb2643c99fee7d1a14635ae3c", + "fundingDecreaseFactorPerSecond": "0xa4c64f1750a32e1513c3efb7ebc7fa9a8c956491628286f2d5137a3a548c85d7", + "thresholdForStableFunding": "0xa179e9efabb6207e96c49544e7195316bb60a36612bc3514f053b1f5f6bf1bca", + "thresholdForDecreaseFunding": "0x4589a4db90238d7af374f67e2a99f25773d5eddbebb17c7c835f6266789e881c", + "minFundingFactorPerSecond": "0x490f7b7028281e3aaf771890cf538c0491670095e144ca224891a60a636d6804", + "maxFundingFactorPerSecond": "0xaea060ad5c01b6855a8ba41c879877ad9e7c0d89d22c24b2d808dfca154c3192", + "maxPnlFactorForTradersLong": "0x0cca8f43022acf6faf517d0057db8de6c50145c84c4c178375f32c525504e162", + "maxPnlFactorForTradersShort": "0xa5db5e8014020874226641a8db0eb55033824863e8c3218a983672ff9962d866", + "positionFeeFactorForPositiveImpact": "0x4a1f770da272d53d04cf31e8c4a04ef9fe459681c1ec5278abb1fab151d7ec92", + "positionFeeFactorForNegativeImpact": "0x8f7d93c1516186baf16daaaed34af81384d055695f0fc0c143cbee3bbd8e73ec", + "positionImpactFactorPositive": "0xe30ca65f7576e63a00ad697a68075c47c69ba27e489fafd76ff29fb752b6a091", + "positionImpactFactorNegative": "0xb375b763eff4f0763ada21285731c4887d417d372dd7464b74a29c8bc3fdf350", + "maxPositionImpactFactorPositive": "0xfe35d1068a4bf727664f3683964a8585efa69f42b3fa05eb9bf95678e5fd0e9e", + "maxPositionImpactFactorNegative": "0x8559fb313fda3675ef298adde1583c8eed97bc729c3f1797b4238c7e0b169ec8", + "maxPositionImpactFactorForLiquidations": "0xf224c1634c4a4f1e74b27f1f86b940b3848610a8742fe6e05a979282184a8320", + "minCollateralFactor": "0x9796d33d6fd886b0f785e0e524e2b25f1e7c291b682ece47fe5ae62611e448cc", + "minCollateralFactorForOpenInterestLong": "0x1677f8025e1e4279b5a1db64264a79835c58c80818191018a56890aa23e9416d", + "minCollateralFactorForOpenInterestShort": "0xc62d3cca1c3f6cf4e2770239bc3db387c22a0874a46b28bd8d86bea5d0fd882b", + "positionImpactExponentFactor": "0x8d37091394262b6981015a549871fe3c908943afaa10321a82aabd7fdca918d3", + "swapFeeFactorForPositiveImpact": "0x5cb96b68635c2011b20c1a103f94a8fae1fd3a1a31f929db520a540f3521a224", + "swapFeeFactorForNegativeImpact": "0x3af0747e232c7341bb056cedc52a023be289515396288b8bea2867bd132efe38", + "swapImpactFactorPositive": "0x7c0dcaa54ea81581befa553bf6ad5d1ed18aa7ad80bd7b80fcd6ef9b1615bd43", + "swapImpactFactorNegative": "0xd9536a29966ec9255729ded57ca8f7dddb0c0b9af89354db014171689595efc0", + "swapImpactExponentFactor": "0xc0af564625767bd4c8d5c3450753dfc573b1e93682d4989afd2f90ef459922e1", + "virtualMarketId": "0x679bde52b07e75dc728418cd095c199a7defdfe74368c391b3ea89e729e49b63", + "virtualLongTokenId": "0x4586a40f82486304a403813a3e4506085f44f379287675806f0d785961e1f46c", + "virtualShortTokenId": "0x4586a40f82486304a403813a3e4506085f44f379287675806f0d785961e1f46c" } }, "43113": { diff --git a/src/prebuilt/hashedMarketValuesKeys.json b/src/prebuilt/hashedMarketValuesKeys.json index ebf75f3912..1f66155f1d 100644 --- a/src/prebuilt/hashedMarketValuesKeys.json +++ b/src/prebuilt/hashedMarketValuesKeys.json @@ -449,6 +449,21 @@ "longInterestInTokensUsingShortToken": "0x2e3aa54e81fa3c628dfd8af28f2c8bddaa2a804d15b6c375b41e589adf74dae4", "shortInterestInTokensUsingLongToken": "0x7cd23eb1c52098a226c7678616a4b37e4276b494b97538fa169810c6c6ece557", "shortInterestInTokensUsingShortToken": "0xd4be88008fb454ad3f3fe07227290c707925b2e3e992031d4a15227950557b52" + }, + "0xd62068697bCc92AF253225676D618B0C9f17C663": { + "longPoolAmount": "0x09aabdc916a85210badba72e4a1bf40333708c59fd142e47b40a6b1995e142e1", + "shortPoolAmount": "0x09aabdc916a85210badba72e4a1bf40333708c59fd142e47b40a6b1995e142e1", + "positionImpactPoolAmount": "0x7ea5b4e1f07764767511a4f8eb213ba871423a2c5bf4ecc534ed3d3767ca0ad5", + "swapImpactPoolAmountLong": "0x87e7757ca7d1ee8cbe360a68cabb7637c918fb908dd67c43db3a4eb652941c23", + "swapImpactPoolAmountShort": "0x87e7757ca7d1ee8cbe360a68cabb7637c918fb908dd67c43db3a4eb652941c23", + "longInterestUsingLongToken": "0x176ec1006792838a8311d4f317c2fac1754db701e2ca747df1ab17ff5989ebec", + "longInterestUsingShortToken": "0x176ec1006792838a8311d4f317c2fac1754db701e2ca747df1ab17ff5989ebec", + "shortInterestUsingLongToken": "0xa29e87105f64b3a77aa412e5319bf66d5f80647432a31b7e2142483fb755c0a3", + "shortInterestUsingShortToken": "0xa29e87105f64b3a77aa412e5319bf66d5f80647432a31b7e2142483fb755c0a3", + "longInterestInTokensUsingLongToken": "0xb046cd5a60e7f57c9a0d9c052d1b5addefceffe9cc742beed71b973ce31d4d66", + "longInterestInTokensUsingShortToken": "0xb046cd5a60e7f57c9a0d9c052d1b5addefceffe9cc742beed71b973ce31d4d66", + "shortInterestInTokensUsingLongToken": "0xabca42c4b216559a8e99b1217eace0cbd2e9d60969e32f343d09fda2ecb3571f", + "shortInterestInTokensUsingShortToken": "0xabca42c4b216559a8e99b1217eace0cbd2e9d60969e32f343d09fda2ecb3571f" } }, "43113": { From bcb0a08a75fa5827f4cfee79d6d9af920b223194 Mon Sep 17 00:00:00 2001 From: midas-myth Date: Tue, 10 Sep 2024 12:44:06 +0000 Subject: [PATCH 2/7] Update start date for TBTC market on Arbitrum --- src/config/events.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/events.tsx b/src/config/events.tsx index 2a87417f26..686a21f717 100644 --- a/src/config/events.tsx +++ b/src/config/events.tsx @@ -36,7 +36,7 @@ export const appEventsData: EventData[] = [ id: "tbtc-market-arbitrum", title: "BTC/USD [TBTC] market added on Arbitrum", isActive: true, - startDate: "11 Sep 2024, 00:00", + startDate: "10 Sep 2024, 00:00", endDate: "25 Sep 2024, 00:00", bodyText: ( <> From 51b44cf6c1f4bb3eda52d87d36731e5861f9705f Mon Sep 17 00:00:00 2001 From: midas-myth Date: Tue, 10 Sep 2024 12:51:45 +0000 Subject: [PATCH 3/7] Sync translations --- src/locales/de/messages.po | 8 ++++---- src/locales/en/messages.po | 8 ++++---- src/locales/es/messages.po | 8 ++++---- src/locales/fr/messages.po | 8 ++++---- src/locales/ja/messages.po | 8 ++++---- src/locales/ko/messages.po | 8 ++++---- src/locales/pseudo/messages.po | 8 ++++---- src/locales/ru/messages.po | 8 ++++---- src/locales/zh/messages.po | 8 ++++---- 9 files changed, 36 insertions(+), 36 deletions(-) diff --git a/src/locales/de/messages.po b/src/locales/de/messages.po index cbe3ffa0fa..ec1ebfe368 100644 --- a/src/locales/de/messages.po +++ b/src/locales/de/messages.po @@ -2471,10 +2471,6 @@ msgstr "" msgid "Requested decrease of {0} {longOrShortText} by {sizeDeltaUsd} USD." msgstr "" -#: src/config/bridging.tsx -msgid "Mint tBTC using BTC with <0>Threshold" -msgstr "" - #: src/components/Exchange/NoLiquidityErrorModal.tsx msgid "You need to select {swapTokenSymbol} as the \"Pay\" token to use it for collateral to initiate this trade." msgstr "Du musst {swapTokenSymbol} als \"Bezahlen\"-Token auswählen, um es als Kollateral für die Einleitung dieses Trades zu verwenden." @@ -7068,6 +7064,10 @@ msgstr "" msgid "Give us your feedback on GMX." msgstr "" +#: src/config/bridging.tsx +msgid "Mint TBTC using BTC with <0>Threshold" +msgstr "" + #: src/components/Synthetics/PositionItem/PositionItem.tsx msgid "Current Borrow Fee / Day" msgstr "" diff --git a/src/locales/en/messages.po b/src/locales/en/messages.po index d550dcccd3..32d42d4dfe 100644 --- a/src/locales/en/messages.po +++ b/src/locales/en/messages.po @@ -2471,10 +2471,6 @@ msgstr "Funding Fee Rate" msgid "Requested decrease of {0} {longOrShortText} by {sizeDeltaUsd} USD." msgstr "Requested decrease of {0} {longOrShortText} by {sizeDeltaUsd} USD." -#: src/config/bridging.tsx -msgid "Mint tBTC using BTC with <0>Threshold" -msgstr "Mint tBTC using BTC with <0>Threshold" - #: src/components/Exchange/NoLiquidityErrorModal.tsx msgid "You need to select {swapTokenSymbol} as the \"Pay\" token to use it for collateral to initiate this trade." msgstr "You need to select {swapTokenSymbol} as the \"Pay\" token to use it for collateral to initiate this trade." @@ -7074,6 +7070,10 @@ msgstr "Open {0} {longOrShortText}" msgid "Give us your feedback on GMX." msgstr "Give us your feedback on GMX." +#: src/config/bridging.tsx +msgid "Mint TBTC using BTC with <0>Threshold" +msgstr "Mint TBTC using BTC with <0>Threshold" + #: src/components/Synthetics/PositionItem/PositionItem.tsx msgid "Current Borrow Fee / Day" msgstr "Current Borrow Fee / Day" diff --git a/src/locales/es/messages.po b/src/locales/es/messages.po index 1cd11ab625..8796e9a844 100644 --- a/src/locales/es/messages.po +++ b/src/locales/es/messages.po @@ -2471,10 +2471,6 @@ msgstr "" msgid "Requested decrease of {0} {longOrShortText} by {sizeDeltaUsd} USD." msgstr "" -#: src/config/bridging.tsx -msgid "Mint tBTC using BTC with <0>Threshold" -msgstr "" - #: src/components/Exchange/NoLiquidityErrorModal.tsx msgid "You need to select {swapTokenSymbol} as the \"Pay\" token to use it for collateral to initiate this trade." msgstr "Tienes que seleccionar {swapTokenSymbol} como el token de \"Pagar\" para usar como garantía para iniciar esta operación." @@ -7068,6 +7064,10 @@ msgstr "" msgid "Give us your feedback on GMX." msgstr "" +#: src/config/bridging.tsx +msgid "Mint TBTC using BTC with <0>Threshold" +msgstr "" + #: src/components/Synthetics/PositionItem/PositionItem.tsx msgid "Current Borrow Fee / Day" msgstr "" diff --git a/src/locales/fr/messages.po b/src/locales/fr/messages.po index e41eee9690..a67b20085d 100644 --- a/src/locales/fr/messages.po +++ b/src/locales/fr/messages.po @@ -2471,10 +2471,6 @@ msgstr "" msgid "Requested decrease of {0} {longOrShortText} by {sizeDeltaUsd} USD." msgstr "" -#: src/config/bridging.tsx -msgid "Mint tBTC using BTC with <0>Threshold" -msgstr "" - #: src/components/Exchange/NoLiquidityErrorModal.tsx msgid "You need to select {swapTokenSymbol} as the \"Pay\" token to use it for collateral to initiate this trade." msgstr "Vous devez sélectionner {swapTokenSymbol} comme token \"Payer\" pour l'utiliser comme collatéral pour initier cette transaction." @@ -7068,6 +7064,10 @@ msgstr "" msgid "Give us your feedback on GMX." msgstr "" +#: src/config/bridging.tsx +msgid "Mint TBTC using BTC with <0>Threshold" +msgstr "" + #: src/components/Synthetics/PositionItem/PositionItem.tsx msgid "Current Borrow Fee / Day" msgstr "" diff --git a/src/locales/ja/messages.po b/src/locales/ja/messages.po index ae457a8fb3..4e2a76d35a 100644 --- a/src/locales/ja/messages.po +++ b/src/locales/ja/messages.po @@ -2471,10 +2471,6 @@ msgstr "" msgid "Requested decrease of {0} {longOrShortText} by {sizeDeltaUsd} USD." msgstr "" -#: src/config/bridging.tsx -msgid "Mint tBTC using BTC with <0>Threshold" -msgstr "" - #: src/components/Exchange/NoLiquidityErrorModal.tsx msgid "You need to select {swapTokenSymbol} as the \"Pay\" token to use it for collateral to initiate this trade." msgstr "この取引を始めるには担保用に{swapTokenSymbol}を\"支払い\"トークンとして選択する必要があります。" @@ -7068,6 +7064,10 @@ msgstr "" msgid "Give us your feedback on GMX." msgstr "" +#: src/config/bridging.tsx +msgid "Mint TBTC using BTC with <0>Threshold" +msgstr "" + #: src/components/Synthetics/PositionItem/PositionItem.tsx msgid "Current Borrow Fee / Day" msgstr "" diff --git a/src/locales/ko/messages.po b/src/locales/ko/messages.po index 34def0ef24..ce43148f2b 100644 --- a/src/locales/ko/messages.po +++ b/src/locales/ko/messages.po @@ -2471,10 +2471,6 @@ msgstr "" msgid "Requested decrease of {0} {longOrShortText} by {sizeDeltaUsd} USD." msgstr "" -#: src/config/bridging.tsx -msgid "Mint tBTC using BTC with <0>Threshold" -msgstr "" - #: src/components/Exchange/NoLiquidityErrorModal.tsx msgid "You need to select {swapTokenSymbol} as the \"Pay\" token to use it for collateral to initiate this trade." msgstr "해당 트레이드를 시작하기위해 담보로 {swapTokenSymbol}을 \"지불\" 토큰으로서 선택할 필요가 있습니다." @@ -7068,6 +7064,10 @@ msgstr "" msgid "Give us your feedback on GMX." msgstr "" +#: src/config/bridging.tsx +msgid "Mint TBTC using BTC with <0>Threshold" +msgstr "" + #: src/components/Synthetics/PositionItem/PositionItem.tsx msgid "Current Borrow Fee / Day" msgstr "" diff --git a/src/locales/pseudo/messages.po b/src/locales/pseudo/messages.po index 6388854ea2..a3f9cfdb17 100644 --- a/src/locales/pseudo/messages.po +++ b/src/locales/pseudo/messages.po @@ -2471,10 +2471,6 @@ msgstr "" msgid "Requested decrease of {0} {longOrShortText} by {sizeDeltaUsd} USD." msgstr "" -#: src/config/bridging.tsx -msgid "Mint tBTC using BTC with <0>Threshold" -msgstr "" - #: src/components/Exchange/NoLiquidityErrorModal.tsx msgid "You need to select {swapTokenSymbol} as the \"Pay\" token to use it for collateral to initiate this trade." msgstr "" @@ -7068,6 +7064,10 @@ msgstr "" msgid "Give us your feedback on GMX." msgstr "" +#: src/config/bridging.tsx +msgid "Mint TBTC using BTC with <0>Threshold" +msgstr "" + #: src/components/Synthetics/PositionItem/PositionItem.tsx msgid "Current Borrow Fee / Day" msgstr "" diff --git a/src/locales/ru/messages.po b/src/locales/ru/messages.po index 9d41650b97..242dd50aa4 100644 --- a/src/locales/ru/messages.po +++ b/src/locales/ru/messages.po @@ -2471,10 +2471,6 @@ msgstr "" msgid "Requested decrease of {0} {longOrShortText} by {sizeDeltaUsd} USD." msgstr "" -#: src/config/bridging.tsx -msgid "Mint tBTC using BTC with <0>Threshold" -msgstr "" - #: src/components/Exchange/NoLiquidityErrorModal.tsx msgid "You need to select {swapTokenSymbol} as the \"Pay\" token to use it for collateral to initiate this trade." msgstr "Вам необходимо выбрать {swapTokenSymbol} в качестве \"Оплата\" токена, чтобы использовать его в качестве залога для инициирования этой сделки." @@ -7068,6 +7064,10 @@ msgstr "" msgid "Give us your feedback on GMX." msgstr "" +#: src/config/bridging.tsx +msgid "Mint TBTC using BTC with <0>Threshold" +msgstr "" + #: src/components/Synthetics/PositionItem/PositionItem.tsx msgid "Current Borrow Fee / Day" msgstr "" diff --git a/src/locales/zh/messages.po b/src/locales/zh/messages.po index 99617cbc41..465c0044bd 100644 --- a/src/locales/zh/messages.po +++ b/src/locales/zh/messages.po @@ -2471,10 +2471,6 @@ msgstr "" msgid "Requested decrease of {0} {longOrShortText} by {sizeDeltaUsd} USD." msgstr "" -#: src/config/bridging.tsx -msgid "Mint tBTC using BTC with <0>Threshold" -msgstr "" - #: src/components/Exchange/NoLiquidityErrorModal.tsx msgid "You need to select {swapTokenSymbol} as the \"Pay\" token to use it for collateral to initiate this trade." msgstr "你需要选择 {swapTokenSymbol} 作为 \"Pay\" 代币 以将它作为抵押品来启动这个交易" @@ -7068,6 +7064,10 @@ msgstr "" msgid "Give us your feedback on GMX." msgstr "" +#: src/config/bridging.tsx +msgid "Mint TBTC using BTC with <0>Threshold" +msgstr "" + #: src/components/Synthetics/PositionItem/PositionItem.tsx msgid "Current Borrow Fee / Day" msgstr "" From 98e27150a7b0b8d31ec46606d72544fe1a57e06e Mon Sep 17 00:00:00 2001 From: midas-myth Date: Tue, 10 Sep 2024 18:02:07 +0000 Subject: [PATCH 4/7] No swap path edge case --- src/components/Button/Button.scss | 1 - .../Synthetics/BridgingInfo/BridgingInfo.tsx | 7 +- .../PositionSeller/PositionSeller.tsx | 10 +- .../Synthetics/TradeBox/TradeBox.tsx | 94 ++++++++++++------- src/components/Tooltip/Tooltip.tsx | 2 +- src/config/links.ts | 5 + .../selectors/positionSellerSelectors.ts | 33 ++++++- .../selectors/tradeSelectors.ts | 2 +- .../__tests__/routing/swapPath.spec.ts | 83 +++++++++++++++- .../synthetics/trade/utils/swapRouting.ts | 41 +++++++- .../synthetics/trade/utils/validation.ts | 4 +- src/locales/de/messages.po | 13 ++- src/locales/en/messages.po | 13 ++- src/locales/es/messages.po | 13 ++- src/locales/fr/messages.po | 13 ++- src/locales/ja/messages.po | 13 ++- src/locales/ko/messages.po | 13 ++- src/locales/pseudo/messages.po | 13 ++- src/locales/ru/messages.po | 13 ++- src/locales/zh/messages.po | 13 ++- 20 files changed, 306 insertions(+), 93 deletions(-) diff --git a/src/components/Button/Button.scss b/src/components/Button/Button.scss index f6144f2479..64605b42a2 100644 --- a/src/components/Button/Button.scss +++ b/src/components/Button/Button.scss @@ -3,7 +3,6 @@ font-size: var(--font-sm); display: inline-flex; align-items: center; - text-decoration: none; font-weight: normal; padding: 1.1rem 1.6rem; border: none; diff --git a/src/components/Synthetics/BridgingInfo/BridgingInfo.tsx b/src/components/Synthetics/BridgingInfo/BridgingInfo.tsx index 93a38b606b..9cef5125b3 100644 --- a/src/components/Synthetics/BridgingInfo/BridgingInfo.tsx +++ b/src/components/Synthetics/BridgingInfo/BridgingInfo.tsx @@ -8,10 +8,11 @@ import ExternalLink from "components/ExternalLink/ExternalLink"; type Props = { chainId: number; tokenSymbol?: string; + textOpaque?: boolean; }; export function BridgingInfo(props: Props) { - const { chainId, tokenSymbol } = props; + const { chainId, tokenSymbol, textOpaque } = props; const chainName = getChainName(chainId); const bridgingOptions = getBridgingOptionsForToken(tokenSymbol); @@ -20,7 +21,7 @@ export function BridgingInfo(props: Props) { return bridgingOptions.map((option, i) => { if (option.render) { return ( -

+

{option.render()}

); @@ -32,7 +33,7 @@ export function BridgingInfo(props: Props) { const bridgeLink = option.generateLink(chainId); return ( -

+

Bridge {tokenSymbol} to {chainName} with {" "} diff --git a/src/components/Synthetics/PositionSeller/PositionSeller.tsx b/src/components/Synthetics/PositionSeller/PositionSeller.tsx index c6ede67fcc..8954b64c81 100644 --- a/src/components/Synthetics/PositionSeller/PositionSeller.tsx +++ b/src/components/Synthetics/PositionSeller/PositionSeller.tsx @@ -12,6 +12,7 @@ import Modal from "components/Modal/Modal"; import Tab from "components/Tab/Tab"; import TokenSelector from "components/TokenSelector/TokenSelector"; import { ValueTransition } from "components/ValueTransition/ValueTransition"; +import { USD_DECIMALS } from "config/factors"; import { convertTokenAddress } from "config/tokens"; import { useSubaccount } from "context/SubaccountContext/SubaccountContext"; import { useSyntheticsEvents } from "context/SyntheticsEvents"; @@ -32,15 +33,14 @@ import { OrderOption } from "domain/synthetics/trade/usePositionSellerState"; import { usePriceImpactWarningState } from "domain/synthetics/trade/usePriceImpactWarningState"; import { getCommonError, getDecreaseError } from "domain/synthetics/trade/utils/validation"; import { useChainId } from "lib/chains"; -import { USD_DECIMALS } from "config/factors"; import { formatAmount, formatAmountFree, formatTokenAmountWithUsd, formatUsd, parseValue } from "lib/numbers"; -import { EMPTY_ARRAY } from "lib/objects"; import { useDebouncedInputValue } from "lib/useDebouncedInputValue"; import useWallet from "lib/wallets/useWallet"; import { HighPriceImpactWarning } from "../HighPriceImpactWarning/HighPriceImpactWarning"; import { useSettings } from "context/SettingsContext/SettingsContextProvider"; import { + selectPositionSellerAvailableReceiveTokens, selectPositionSellerDecreaseAmounts, selectPositionSellerExecutionPrice, selectPositionSellerFees, @@ -67,14 +67,15 @@ import { PositionSellerAdvancedRows } from "./PositionSellerAdvancedDisplayRows" import { makeSelectMarketPriceDecimals } from "context/SyntheticsStateContext/selectors/statsSelectors"; import { helperToast } from "lib/helperToast"; import { + initDecreaseOrderMetricData, makeTxnErrorMetricsHandler, makeTxnSentMetricsHandler, - initDecreaseOrderMetricData, sendOrderSubmittedMetric, sendTxnValidationErrorMetric, } from "lib/metrics/utils"; import { NetworkFeeRow } from "../NetworkFeeRow/NetworkFeeRow"; import { TradeFeesRow } from "../TradeFeesRow/TradeFeesRow"; + import "./PositionSeller.scss"; export type Props = { @@ -94,6 +95,7 @@ export function PositionSeller(p: Props) { setClosingPositionKey(undefined); }, [setClosingPositionKey]); const availableTokensOptions = useSelector(selectTradeboxAvailableTokensOptions); + const availableReceiveTokens = useSelector(selectPositionSellerAvailableReceiveTokens); const tokensData = useTokensData(); const { chainId } = useChainId(); const { signer, account } = useWallet(); @@ -508,7 +510,7 @@ export function PositionSeller(p: Props) { infoTokens={availableTokensOptions?.infoTokens} tokenAddress={receiveToken.address} onSelectToken={setReceiveTokenManually} - tokens={availableTokensOptions?.swapTokens || EMPTY_ARRAY} + tokens={availableReceiveTokens} showTokenImgInDropdown={true} selectedTokenLabel={ diff --git a/src/components/Synthetics/TradeBox/TradeBox.tsx b/src/components/Synthetics/TradeBox/TradeBox.tsx index fc921a36ef..bbb6725b80 100644 --- a/src/components/Synthetics/TradeBox/TradeBox.tsx +++ b/src/components/Synthetics/TradeBox/TradeBox.tsx @@ -5,23 +5,13 @@ import { IoMdSwap } from "react-icons/io"; import { useHistory } from "react-router-dom"; import { useKey, useLatest, usePrevious } from "react-use"; -import Button from "components/Button/Button"; -import BuyInputSection from "components/BuyInputSection/BuyInputSection"; -import { ExchangeInfo } from "components/Exchange/ExchangeInfo"; -import ExchangeInfoRow from "components/Exchange/ExchangeInfoRow"; -import ExternalLink from "components/ExternalLink/ExternalLink"; -import { LeverageSlider } from "components/LeverageSlider/LeverageSlider"; -import { MarketSelector } from "components/MarketSelector/MarketSelector"; -import Tab from "components/Tab/Tab"; -import ToggleSwitch from "components/ToggleSwitch/ToggleSwitch"; -import TokenWithIcon from "components/TokenIcon/TokenWithIcon"; -import TokenSelector from "components/TokenSelector/TokenSelector"; -import Tooltip from "components/Tooltip/Tooltip"; -import { ValueTransition } from "components/ValueTransition/ValueTransition"; -import { BASIS_POINTS_DIVISOR } from "config/factors"; +import { getBridgingOptionsForToken } from "config/bridging"; +import { BASIS_POINTS_DIVISOR, USD_DECIMALS } from "config/factors"; +import { get1InchSwapUrlFromAddresses } from "config/links"; import { NATIVE_TOKEN_ADDRESS } from "config/tokens"; import { MAX_METAMASK_MOBILE_DECIMALS } from "config/ui"; import { useSettings } from "context/SettingsContext/SettingsContextProvider"; +import { useSubaccount } from "context/SubaccountContext/SubaccountContext"; import { useMarketsInfoData, usePositionsConstants, @@ -31,6 +21,7 @@ import { } from "context/SyntheticsStateContext/hooks/globalsHooks"; import { selectChainId } from "context/SyntheticsStateContext/selectors/globalSelectors"; import { selectSavedAcceptablePriceImpactBuffer } from "context/SyntheticsStateContext/selectors/settingsSelectors"; +import { selectSelectedMarketPriceDecimals } from "context/SyntheticsStateContext/selectors/statsSelectors"; import { selectTradeboxAllowedSlippage, selectTradeboxAvailableTokensOptions, @@ -85,7 +76,8 @@ import { } from "domain/synthetics/trade/utils/validation"; import { Token, getMinResidualAmount } from "domain/tokens"; import { numericBinarySearch } from "lib/binarySearch"; -import { USD_DECIMALS } from "config/factors"; +import { helperToast } from "lib/helperToast"; +import { useLocalizedMap } from "lib/i18n"; import { formatAmount, formatAmountFree, @@ -97,7 +89,9 @@ import { parseValue, } from "lib/numbers"; import { EMPTY_ARRAY, getByKey } from "lib/objects"; +import { sleep } from "lib/sleep"; import { mustNeverExist } from "lib/types"; +import { useCursorInside } from "lib/useCursorInside"; import useIsMetamaskMobile from "lib/wallets/useIsMetamaskMobile"; import useWallet from "lib/wallets/useWallet"; @@ -109,20 +103,6 @@ import { TradeFeesRow } from "../TradeFeesRow/TradeFeesRow"; import { MarketPoolSelectorRow } from "./MarketPoolSelectorRow"; import { CollateralSelectorRow } from "./TradeBoxRows/CollateralSelectorRow"; -import { useSubaccount } from "context/SubaccountContext/SubaccountContext"; -import { helperToast } from "lib/helperToast"; -import { useLocalizedMap } from "lib/i18n"; -import { useCursorInside } from "lib/useCursorInside"; - -import LongIcon from "img/long.svg?react"; -import ShortIcon from "img/short.svg?react"; -import SwapIcon from "img/swap.svg?react"; -import { TradeBoxAdvancedGroups } from "./TradeBoxRows/AdvancedDisplayRows"; -import { LimitAndTPSLGroup } from "./TradeBoxRows/LimitAndTPSLRows"; -import { LimitPriceRow } from "./TradeBoxRows/LimitPriceRow"; -import { MinReceiveRow } from "./TradeBoxRows/MinReceiveRow"; -import { TradeBoxOneClickTrading } from "./TradeBoxRows/OneClickTrading"; - import { useRequiredActions } from "./hooks/useRequiredActions"; import { useTPSLSummaryExecutionFee } from "./hooks/useTPSLSummaryExecutionFee"; import { useTradeboxButtonState } from "./hooks/useTradeButtonState"; @@ -132,11 +112,33 @@ import { useTradeboxTPSLReset } from "./hooks/useTradeboxTPSLReset"; import { useTradeboxTransactions } from "./hooks/useTradeboxTransactions"; import { useTriggerOrdersConsent } from "./hooks/useTriggerOrdersConsent"; -import { selectSelectedMarketPriceDecimals } from "context/SyntheticsStateContext/selectors/statsSelectors"; import { AlertInfo } from "components/AlertInfo/AlertInfo"; +import Button from "components/Button/Button"; +import BuyInputSection from "components/BuyInputSection/BuyInputSection"; +import { ExchangeInfo } from "components/Exchange/ExchangeInfo"; +import ExchangeInfoRow from "components/Exchange/ExchangeInfoRow"; +import ExternalLink from "components/ExternalLink/ExternalLink"; +import { LeverageSlider } from "components/LeverageSlider/LeverageSlider"; +import { MarketSelector } from "components/MarketSelector/MarketSelector"; +import { BridgingInfo } from "components/Synthetics/BridgingInfo/BridgingInfo"; +import Tab from "components/Tab/Tab"; +import ToggleSwitch from "components/ToggleSwitch/ToggleSwitch"; +import TokenWithIcon from "components/TokenIcon/TokenWithIcon"; +import TokenSelector from "components/TokenSelector/TokenSelector"; +import Tooltip from "components/Tooltip/Tooltip"; +import { ValueTransition } from "components/ValueTransition/ValueTransition"; + +import { TradeBoxAdvancedGroups } from "./TradeBoxRows/AdvancedDisplayRows"; +import { LimitAndTPSLGroup } from "./TradeBoxRows/LimitAndTPSLRows"; +import { LimitPriceRow } from "./TradeBoxRows/LimitPriceRow"; +import { MinReceiveRow } from "./TradeBoxRows/MinReceiveRow"; +import { TradeBoxOneClickTrading } from "./TradeBoxRows/OneClickTrading"; + +import LongIcon from "img/long.svg?react"; +import ShortIcon from "img/short.svg?react"; +import SwapIcon from "img/swap.svg?react"; import "./TradeBox.scss"; -import { sleep } from "lib/sleep"; export type Props = { setPendingTxns: (txns: any) => void; @@ -519,6 +521,34 @@ export function TradeBox(p: Props) { ); break; + case "noSwapPath": + tooltipContent = ( + <> + + {collateralToken?.assetSymbol ?? collateralToken?.symbol} is required for collateral. +
+
+ There is no swap path found for {fromToken?.assetSymbol ?? fromToken?.symbol} to{" "} + {collateralToken?.assetSymbol ?? collateralToken?.symbol} within GMX. +
+
+ + You can buy {collateralToken?.assetSymbol ?? collateralToken?.symbol} on 1inch. + +
+ {getBridgingOptionsForToken(collateralToken?.symbol) && ( + <> +
+
+ + + )} + + ); + break; + default: mustNeverExist(tooltipName); } @@ -1222,7 +1252,7 @@ export function TradeBox(p: Props) {