rubic-sdk 4.28.1 → 4.28.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/rubic-sdk.min.js +2 -2
- package/dist/rubic-sdk.min.js.map +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/xy-dex-abstract/xy-dex-abstract-provider.js +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/xy-dex-abstract/xy-dex-abstract-provider.js.map +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/xy-dex-abstract/xy-dex-trade.js +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/xy-dex-abstract/xy-dex-trade.js.map +1 -1
- package/package.json +1 -1
package/dist/rubic-sdk.min.js
CHANGED
|
@@ -238270,7 +238270,7 @@ class XyDexAbstractProvider extends evm_on_chain_provider_1.EvmOnChainProvider {
|
|
|
238270
238270
|
srcQuoteTokenAmount: from.stringWeiAmount,
|
|
238271
238271
|
dstChainId: chainId,
|
|
238272
238272
|
dstQuoteTokenAddress,
|
|
238273
|
-
slippage: options.slippageTolerance
|
|
238273
|
+
slippage: options.slippageTolerance * 100
|
|
238274
238274
|
};
|
|
238275
238275
|
const trade = await this.httpClient.get(`${XyDexAbstractProvider.apiUrl}quote`, {
|
|
238276
238276
|
params: { ...quoteTradeParams }
|
|
@@ -238382,7 +238382,7 @@ class XyDexTrade extends evm_on_chain_trade_1.EvmOnChainTrade {
|
|
|
238382
238382
|
srcQuoteTokenAmount: this.from.stringWeiAmount,
|
|
238383
238383
|
dstChainId: chainId,
|
|
238384
238384
|
dstQuoteTokenAddress,
|
|
238385
|
-
slippage: this.slippageTolerance,
|
|
238385
|
+
slippage: this.slippageTolerance * 100,
|
|
238386
238386
|
receiver,
|
|
238387
238387
|
srcSwapProvider: this.provider
|
|
238388
238388
|
};
|