mirror of
https://github.com/zhigang1992/xverse-web-extension.git
synced 2026-01-12 09:43:44 +08:00
Prevent broken ME swaps
This commit is contained in:
@@ -329,7 +329,7 @@ export default function QuoteSummary({
|
||||
<Callout
|
||||
titleText={t('SWAP_SCREEN.BAD_QUOTE_WARNING_TITLE')}
|
||||
bodyText={
|
||||
quote.slippageSupported && BigNumber(toTokenFiatValue).isGreaterThan(0)
|
||||
BigNumber(toTokenFiatValue).isGreaterThan(0)
|
||||
? t('SWAP_SCREEN.BAD_QUOTE_WARNING_DESC', {
|
||||
percentage: valueLossPercentage,
|
||||
})
|
||||
|
||||
@@ -1626,7 +1626,7 @@
|
||||
"LIST_YOUR_RUNES": "List your Runes on a marketplace",
|
||||
"SLIPPAGE_WARNING": "Your transaction may be frontrun and result in an unfavorable trade",
|
||||
"BAD_QUOTE_WARNING_TITLE": "The quote you are receiving may result in significant value loss.",
|
||||
"BAD_QUOTE_WARNING_DESC": "The minimum amount you will receive will result in a loss of over {{percentage}}% of your trade’s value. This is due to low liquidity in the pool, causing discrepancies in pricing. Please review the details carefully before proceeding with the swap.",
|
||||
"BAD_QUOTE_WARNING_DESC": "The minimum amount you will receive will result in a loss of over {{percentage}}% of your trade’s value. This could be due to low liquidity in the pool or other provider issues. Please review the details carefully before proceeding with the swap.",
|
||||
"UNKNOWN_QUOTE_VALUE_WARNING_DESC": "The market value of the token you will receive is unknown. Review details carefully before proceeding with the swap."
|
||||
},
|
||||
"SWAP_CONFIRM_SCREEN": {
|
||||
|
||||
Reference in New Issue
Block a user