+ {routeInfo && routeInfo.priceImpact.toNumber() > 5 && (
+
+ Your trade's price impact exceeds 5%. Please review the Summary before submitting the
+ transaction.
+
)}
- >
-
-
-
- {isUpdatingLiquidationPrice ? (
-
- ) : liquidationPrice === null || liquidationPrice === 0 ? (
- '-'
- ) : (
-
- )}
-
-
-
- {isMargin && (
- <>
-
-
-
-
- {formatPercent(borrowRate || 0)}
-
-
- >
- )}
- {routeInfo && (
-
+ {routeInfo && slippage * 100 > 1 && (
+
+ Your slippage exceeds 1%. Please review the Summary before submitting the transaction or
+ change your Slippage in the
+
+
+
+ )}
+
+
+
+
+ {isUpdatingLiquidationPrice ? (
+
+ ) : liquidationPrice === null || liquidationPrice === 0 ? (
+ '-'
+ ) : (
+
+ )}
+
+
+
+ {isMargin && (
+ <>
+
+
+
+
+ {formatPercent(borrowRate || 0)}
+
+
+ >
+ )}
+ {routeInfo && (
+
+ )}
+
+
-
)
}
diff --git a/src/constants/defaultSettings.ts b/src/constants/defaultSettings.ts
index 0d8b191fb..4a8083746 100644
--- a/src/constants/defaultSettings.ts
+++ b/src/constants/defaultSettings.ts
@@ -11,7 +11,7 @@ export const getDefaultChainSettings = (chainConfig: ChainConfig) => {
tradingPairSimple: chainConfig.defaultTradingPair,
tradingPairAdvanced: chainConfig.defaultTradingPair,
displayCurrency: ORACLE_DENOM,
- slippage: 0.02,
+ slippage: 0.01,
tutorial: true,
migrationBanner: true,
perpsAsset: '',