@hyperbridge/sdk 1.3.8 → 1.3.9

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.
@@ -11686,11 +11686,14 @@ var IntentGateway = class {
11686
11686
  sourceChainFeeTokenDecimals
11687
11687
  );
11688
11688
  let totalEstimateInSourceFeeToken = fillGasInSourceFeeToken + protocolFeeInSourceFeeToken + relayerFeeInSourceFeeToken;
11689
- if (!filledWithNativeToken) {
11690
- totalEstimateInSourceFeeToken = totalEstimateInSourceFeeToken + totalEstimateInSourceFeeToken * 200n / 10000n;
11691
- }
11692
11689
  let totalNativeTokenAmount = await this.convertFeeTokenToNative(totalEstimateInSourceFeeToken, "source");
11693
- totalNativeTokenAmount = totalNativeTokenAmount + totalNativeTokenAmount * 200n / 10000n;
11690
+ if ([order.destChain, order.sourceChain].includes("EVM-1")) {
11691
+ totalEstimateInSourceFeeToken = totalEstimateInSourceFeeToken + totalEstimateInSourceFeeToken * 3000n / 10000n;
11692
+ totalNativeTokenAmount = totalNativeTokenAmount + totalNativeTokenAmount * 3200n / 10000n;
11693
+ } else {
11694
+ totalEstimateInSourceFeeToken = totalEstimateInSourceFeeToken + totalEstimateInSourceFeeToken * 250n / 10000n;
11695
+ totalNativeTokenAmount = totalNativeTokenAmount + totalNativeTokenAmount * 350n / 10000n;
11696
+ }
11694
11697
  return {
11695
11698
  feeTokenAmount: totalEstimateInSourceFeeToken,
11696
11699
  nativeTokenAmount: totalNativeTokenAmount,