@stableflow/core 3.1.0 → 3.1.1-beta-a6a26eeb19-20260721

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/index.d.mts CHANGED
@@ -91,7 +91,7 @@ declare enum SendType {
91
91
  /**
92
92
  * @deprecated Please use Service instead
93
93
  */
94
- type ServiceType = "oneclick" | "usdt0" | "cctp" | "fraxzero" | "fraxzero-oneclick" | "oneclick-fraxzero" | "usdt0-oneclick" | "oneclick-usdt0" | "native";
94
+ type ServiceType = "oneclick" | "usdt0" | "cctp" | "fraxzero" | "fraxzero-oneclick" | "oneclick-fraxzero" | "usdt0-oneclick" | "oneclick-usdt0" | "cctp-oneclick" | "oneclick-cctp" | "native";
95
95
  declare const Service: {
96
96
  readonly OneClick: "oneclick";
97
97
  readonly Usdt0: "usdt0";
@@ -101,6 +101,8 @@ declare const Service: {
101
101
  readonly OneClickFraxZero: "oneclick-fraxzero";
102
102
  readonly Usdt0OneClick: "usdt0-oneclick";
103
103
  readonly OneClickUsdt0: "oneclick-usdt0";
104
+ readonly CCTPOneClick: "cctp-oneclick";
105
+ readonly OneClickCCTP: "oneclick-cctp";
104
106
  readonly Native: "native";
105
107
  };
106
108
  type Service = (typeof Service)[keyof typeof Service];
@@ -114,8 +116,16 @@ declare const enum ServiceProject {
114
116
  OneClickFraxZero = 8,
115
117
  Usdt0OneClick = 3,
116
118
  OneClickUsdt0 = 4,
117
- Native = 5
119
+ Native = 5,
120
+ CCTPOneClick = 9,
121
+ OneClickCCTP = 10
118
122
  }
123
+ declare const OneClickSwapType: {
124
+ readonly Input: "EXACT_INPUT";
125
+ readonly Output: "EXACT_OUTPUT";
126
+ readonly Flex: "FLEX_INPUT";
127
+ };
128
+ type OneClickSwapType = (typeof OneClickSwapType)[keyof typeof OneClickSwapType];
119
129
 
120
130
  type AppFee = {
121
131
  /**
@@ -614,9 +624,9 @@ type TokenResponse = {
614
624
  */
615
625
  decimals: number;
616
626
  /**
617
- * Blockchain associated with the token
627
+ * Blockchain associated with the token (API chain key, e.g. eth, arb, tron, pharos)
618
628
  */
619
- blockchain: TokenResponse.blockchain;
629
+ blockchain: string;
620
630
  /**
621
631
  * Token symbol (e.g. BTC, ETH)
622
632
  */
@@ -634,32 +644,6 @@ type TokenResponse = {
634
644
  */
635
645
  contractAddress?: string;
636
646
  };
637
- declare namespace TokenResponse {
638
- /**
639
- * Blockchain associated with the token
640
- */
641
- enum blockchain {
642
- NEAR = "near",
643
- ETH = "eth",
644
- BASE = "base",
645
- ARB = "arb",
646
- BTC = "btc",
647
- SOL = "sol",
648
- TON = "ton",
649
- DOGE = "doge",
650
- XRP = "xrp",
651
- ZEC = "zec",
652
- GNOSIS = "gnosis",
653
- BERA = "bera",
654
- BSC = "bsc",
655
- POL = "pol",
656
- TRON = "tron",
657
- SUI = "sui",
658
- OP = "op",
659
- AVAX = "avax",
660
- CARDANO = "cardano"
661
- }
662
- }
663
647
 
664
648
  interface ChainConfig {
665
649
  chainName: string;
@@ -769,6 +753,8 @@ declare const tokens: TokenConfig[];
769
753
  declare const usdtTokens: TokenConfig[];
770
754
  declare const usdcTokens: TokenConfig[];
771
755
  declare const frxusdTokens: TokenConfig[];
756
+ declare const eureTokens: TokenConfig[];
757
+ declare const isStableToken: (token: TokenConfig) => boolean;
772
758
 
773
759
  declare const usdtChains: Record<string, TokenConfig>;
774
760
 
@@ -776,6 +762,15 @@ declare const usdcChains: Record<string, TokenConfig>;
776
762
 
777
763
  declare const frxusdChains: Record<string, TokenConfig>;
778
764
 
765
+ declare const eureChains: Record<string, TokenConfig>;
766
+ declare const eureEvm: {
767
+ chains: TokenConfig[];
768
+ symbol: string;
769
+ decimals: number;
770
+ icon: string;
771
+ name: string;
772
+ };
773
+
779
774
  declare const usdt0Chains: Record<string, TokenConfig>;
780
775
 
781
776
  declare const NetworkRpcUrlsMap: Record<string, string[]>;
@@ -851,4 +846,4 @@ declare const getRouteStatus: (service: Service, disabledServices?: Service[]) =
851
846
  disabled: boolean;
852
847
  };
853
848
 
854
- export { ApiError, type AppFee, type BadRequestResponse, CancelError, CancelablePromise, type ChainType, Csl, DefaultAddresses, ExecTime, type GetExecutionStatusResponse, type GetStatusParams, type GetStatusStableflowResponse, LayerZeroStatus, NetworkRpcUrlsMap, OneClickStatus, OpenAPI, type OpenAPIConfig, type Quote, QuoteRequest, type QuoteResponse, SFA, SendType, Service, ServiceBackend, type ServiceType, StableflowStatus, type SubmitDepositTxRequest, type SubmitDepositTxResponse, type SwapDetails, type TokenConfig, TokenResponse, type TransactionDetails, TransactionStatus, type WalletConfig, _default as erc20Abi, frxusdChains, frxusdTokens, getChainRpcUrl, getPrice, getRequest, getRouteStatus, getRpcUrls, numberRemoveEndZero, postRequest, request, setRpcUrls, tokens, usdcChains, usdcTokens, usdt0Chains, usdtChains, usdtTokens };
849
+ export { ApiError, type AppFee, type BadRequestResponse, CancelError, CancelablePromise, type ChainType, Csl, DefaultAddresses, ExecTime, type GetExecutionStatusResponse, type GetStatusParams, type GetStatusStableflowResponse, LayerZeroStatus, NetworkRpcUrlsMap, OneClickStatus, OneClickSwapType, OpenAPI, type OpenAPIConfig, type Quote, QuoteRequest, type QuoteResponse, SFA, SendType, Service, ServiceBackend, type ServiceType, StableflowStatus, type SubmitDepositTxRequest, type SubmitDepositTxResponse, type SwapDetails, type TokenConfig, type TokenResponse, type TransactionDetails, TransactionStatus, type WalletConfig, _default as erc20Abi, eureChains, eureEvm, eureTokens, frxusdChains, frxusdTokens, getChainRpcUrl, getPrice, getRequest, getRouteStatus, getRpcUrls, isStableToken, numberRemoveEndZero, postRequest, request, setRpcUrls, tokens, usdcChains, usdcTokens, usdt0Chains, usdtChains, usdtTokens };
package/dist/index.d.ts CHANGED
@@ -91,7 +91,7 @@ declare enum SendType {
91
91
  /**
92
92
  * @deprecated Please use Service instead
93
93
  */
94
- type ServiceType = "oneclick" | "usdt0" | "cctp" | "fraxzero" | "fraxzero-oneclick" | "oneclick-fraxzero" | "usdt0-oneclick" | "oneclick-usdt0" | "native";
94
+ type ServiceType = "oneclick" | "usdt0" | "cctp" | "fraxzero" | "fraxzero-oneclick" | "oneclick-fraxzero" | "usdt0-oneclick" | "oneclick-usdt0" | "cctp-oneclick" | "oneclick-cctp" | "native";
95
95
  declare const Service: {
96
96
  readonly OneClick: "oneclick";
97
97
  readonly Usdt0: "usdt0";
@@ -101,6 +101,8 @@ declare const Service: {
101
101
  readonly OneClickFraxZero: "oneclick-fraxzero";
102
102
  readonly Usdt0OneClick: "usdt0-oneclick";
103
103
  readonly OneClickUsdt0: "oneclick-usdt0";
104
+ readonly CCTPOneClick: "cctp-oneclick";
105
+ readonly OneClickCCTP: "oneclick-cctp";
104
106
  readonly Native: "native";
105
107
  };
106
108
  type Service = (typeof Service)[keyof typeof Service];
@@ -114,8 +116,16 @@ declare const enum ServiceProject {
114
116
  OneClickFraxZero = 8,
115
117
  Usdt0OneClick = 3,
116
118
  OneClickUsdt0 = 4,
117
- Native = 5
119
+ Native = 5,
120
+ CCTPOneClick = 9,
121
+ OneClickCCTP = 10
118
122
  }
123
+ declare const OneClickSwapType: {
124
+ readonly Input: "EXACT_INPUT";
125
+ readonly Output: "EXACT_OUTPUT";
126
+ readonly Flex: "FLEX_INPUT";
127
+ };
128
+ type OneClickSwapType = (typeof OneClickSwapType)[keyof typeof OneClickSwapType];
119
129
 
120
130
  type AppFee = {
121
131
  /**
@@ -614,9 +624,9 @@ type TokenResponse = {
614
624
  */
615
625
  decimals: number;
616
626
  /**
617
- * Blockchain associated with the token
627
+ * Blockchain associated with the token (API chain key, e.g. eth, arb, tron, pharos)
618
628
  */
619
- blockchain: TokenResponse.blockchain;
629
+ blockchain: string;
620
630
  /**
621
631
  * Token symbol (e.g. BTC, ETH)
622
632
  */
@@ -634,32 +644,6 @@ type TokenResponse = {
634
644
  */
635
645
  contractAddress?: string;
636
646
  };
637
- declare namespace TokenResponse {
638
- /**
639
- * Blockchain associated with the token
640
- */
641
- enum blockchain {
642
- NEAR = "near",
643
- ETH = "eth",
644
- BASE = "base",
645
- ARB = "arb",
646
- BTC = "btc",
647
- SOL = "sol",
648
- TON = "ton",
649
- DOGE = "doge",
650
- XRP = "xrp",
651
- ZEC = "zec",
652
- GNOSIS = "gnosis",
653
- BERA = "bera",
654
- BSC = "bsc",
655
- POL = "pol",
656
- TRON = "tron",
657
- SUI = "sui",
658
- OP = "op",
659
- AVAX = "avax",
660
- CARDANO = "cardano"
661
- }
662
- }
663
647
 
664
648
  interface ChainConfig {
665
649
  chainName: string;
@@ -769,6 +753,8 @@ declare const tokens: TokenConfig[];
769
753
  declare const usdtTokens: TokenConfig[];
770
754
  declare const usdcTokens: TokenConfig[];
771
755
  declare const frxusdTokens: TokenConfig[];
756
+ declare const eureTokens: TokenConfig[];
757
+ declare const isStableToken: (token: TokenConfig) => boolean;
772
758
 
773
759
  declare const usdtChains: Record<string, TokenConfig>;
774
760
 
@@ -776,6 +762,15 @@ declare const usdcChains: Record<string, TokenConfig>;
776
762
 
777
763
  declare const frxusdChains: Record<string, TokenConfig>;
778
764
 
765
+ declare const eureChains: Record<string, TokenConfig>;
766
+ declare const eureEvm: {
767
+ chains: TokenConfig[];
768
+ symbol: string;
769
+ decimals: number;
770
+ icon: string;
771
+ name: string;
772
+ };
773
+
779
774
  declare const usdt0Chains: Record<string, TokenConfig>;
780
775
 
781
776
  declare const NetworkRpcUrlsMap: Record<string, string[]>;
@@ -851,4 +846,4 @@ declare const getRouteStatus: (service: Service, disabledServices?: Service[]) =
851
846
  disabled: boolean;
852
847
  };
853
848
 
854
- export { ApiError, type AppFee, type BadRequestResponse, CancelError, CancelablePromise, type ChainType, Csl, DefaultAddresses, ExecTime, type GetExecutionStatusResponse, type GetStatusParams, type GetStatusStableflowResponse, LayerZeroStatus, NetworkRpcUrlsMap, OneClickStatus, OpenAPI, type OpenAPIConfig, type Quote, QuoteRequest, type QuoteResponse, SFA, SendType, Service, ServiceBackend, type ServiceType, StableflowStatus, type SubmitDepositTxRequest, type SubmitDepositTxResponse, type SwapDetails, type TokenConfig, TokenResponse, type TransactionDetails, TransactionStatus, type WalletConfig, _default as erc20Abi, frxusdChains, frxusdTokens, getChainRpcUrl, getPrice, getRequest, getRouteStatus, getRpcUrls, numberRemoveEndZero, postRequest, request, setRpcUrls, tokens, usdcChains, usdcTokens, usdt0Chains, usdtChains, usdtTokens };
849
+ export { ApiError, type AppFee, type BadRequestResponse, CancelError, CancelablePromise, type ChainType, Csl, DefaultAddresses, ExecTime, type GetExecutionStatusResponse, type GetStatusParams, type GetStatusStableflowResponse, LayerZeroStatus, NetworkRpcUrlsMap, OneClickStatus, OneClickSwapType, OpenAPI, type OpenAPIConfig, type Quote, QuoteRequest, type QuoteResponse, SFA, SendType, Service, ServiceBackend, type ServiceType, StableflowStatus, type SubmitDepositTxRequest, type SubmitDepositTxResponse, type SwapDetails, type TokenConfig, type TokenResponse, type TransactionDetails, TransactionStatus, type WalletConfig, _default as erc20Abi, eureChains, eureEvm, eureTokens, frxusdChains, frxusdTokens, getChainRpcUrl, getPrice, getRequest, getRouteStatus, getRpcUrls, isStableToken, numberRemoveEndZero, postRequest, request, setRpcUrls, tokens, usdcChains, usdcTokens, usdt0Chains, usdtChains, usdtTokens };
package/dist/index.js CHANGED
@@ -632,6 +632,8 @@ var Service = {
632
632
  OneClickFraxZero: "oneclick-fraxzero",
633
633
  Usdt0OneClick: "usdt0-oneclick",
634
634
  OneClickUsdt0: "oneclick-usdt0",
635
+ CCTPOneClick: "cctp-oneclick",
636
+ OneClickCCTP: "oneclick-cctp",
635
637
  Native: "native"
636
638
  };
637
639
  var ServiceBackend = {
@@ -643,6 +645,8 @@ var ServiceBackend = {
643
645
  [Service.OneClickFraxZero]: "intentfraxzero",
644
646
  [Service.Usdt0OneClick]: "zerointent",
645
647
  [Service.OneClickUsdt0]: "intentzero",
648
+ [Service.CCTPOneClick]: "cctpintent",
649
+ [Service.OneClickCCTP]: "intentcctp",
646
650
  [Service.Native]: "native"
647
651
  };
648
652
  ({
@@ -654,8 +658,15 @@ var ServiceBackend = {
654
658
  [8 /* OneClickFraxZero */]: { service: Service.OneClickFraxZero },
655
659
  [3 /* Usdt0OneClick */]: { service: Service.Usdt0OneClick },
656
660
  [4 /* OneClickUsdt0 */]: { service: Service.OneClickUsdt0 },
657
- [5 /* Native */]: { service: Service.Native }
661
+ [5 /* Native */]: { service: Service.Native },
662
+ [9 /* CCTPOneClick */]: { service: Service.CCTPOneClick },
663
+ [10 /* OneClickCCTP */]: { service: Service.OneClickCCTP }
658
664
  });
665
+ var OneClickSwapType = {
666
+ Input: "EXACT_INPUT",
667
+ Output: "EXACT_OUTPUT",
668
+ Flex: "FLEX_INPUT"
669
+ };
659
670
 
660
671
  // src/models/ServiceStatus.ts
661
672
  var OneClickStatus = /* @__PURE__ */ ((OneClickStatus2) => {
@@ -717,32 +728,6 @@ exports.QuoteRequest = void 0;
717
728
  })(QuoteRequest2.recipientType || (QuoteRequest2.recipientType = {}));
718
729
  })(exports.QuoteRequest || (exports.QuoteRequest = {}));
719
730
 
720
- // src/models/TokenResponse.ts
721
- exports.TokenResponse = void 0;
722
- ((TokenResponse2) => {
723
- ((blockchain2) => {
724
- blockchain2["NEAR"] = "near";
725
- blockchain2["ETH"] = "eth";
726
- blockchain2["BASE"] = "base";
727
- blockchain2["ARB"] = "arb";
728
- blockchain2["BTC"] = "btc";
729
- blockchain2["SOL"] = "sol";
730
- blockchain2["TON"] = "ton";
731
- blockchain2["DOGE"] = "doge";
732
- blockchain2["XRP"] = "xrp";
733
- blockchain2["ZEC"] = "zec";
734
- blockchain2["GNOSIS"] = "gnosis";
735
- blockchain2["BERA"] = "bera";
736
- blockchain2["BSC"] = "bsc";
737
- blockchain2["POL"] = "pol";
738
- blockchain2["TRON"] = "tron";
739
- blockchain2["SUI"] = "sui";
740
- blockchain2["OP"] = "op";
741
- blockchain2["AVAX"] = "avax";
742
- blockchain2["CARDANO"] = "cardano";
743
- })(TokenResponse2.blockchain || (TokenResponse2.blockchain = {}));
744
- })(exports.TokenResponse || (exports.TokenResponse = {}));
745
-
746
731
  // src/models/Status.ts
747
732
  var TransactionStatus = /* @__PURE__ */ ((TransactionStatus2) => {
748
733
  TransactionStatus2["Pending"] = "pending";
@@ -817,7 +802,8 @@ var NetworkRpcUrlsMap = {
817
802
  "frax": ["https://rpc.frax.com"],
818
803
  "ton": ["https://toncenter.com/api/v2/jsonRPC"],
819
804
  "sui": ["https://fullnode.mainnet.sui.io:443"],
820
- "katana": ["https://rpc.katana.network", "https://katana.drpc.org"]
805
+ "katana": ["https://rpc.katana.network", "https://katana.drpc.org"],
806
+ "pharos": ["https://rpc.pharos.xyz"]
821
807
  };
822
808
  var getRpcUrls = (blockchain) => {
823
809
  return NetworkRpcUrlsMap[blockchain] || [];
@@ -991,6 +977,19 @@ var chains = {
991
977
  ...getChainRpcUrl("pol")
992
978
  },
993
979
  gnosis: {
980
+ chainName: "Gnosis",
981
+ blockchain: "gnosis",
982
+ chainIcon: getStableflowChainLogo("Gnosis"),
983
+ chainIconGray: getStableflowChainLogo("Gnosis-gray"),
984
+ chainType: chainTypes.evm.value,
985
+ chainId: 100,
986
+ blockExplorerUrl: "https://gnosisscan.io/tx",
987
+ blockExplorerUrls: ["https://gnosisscan.io"],
988
+ primaryColor: "#285230",
989
+ nativeToken: {
990
+ symbol: "XDAI",
991
+ decimals: 18
992
+ },
994
993
  ...getChainRpcUrl("gnosis")
995
994
  },
996
995
  op: {
@@ -1260,6 +1259,22 @@ var chains = {
1260
1259
  decimals: 18
1261
1260
  },
1262
1261
  ...getChainRpcUrl("katana")
1262
+ },
1263
+ pharos: {
1264
+ chainName: "Pharos",
1265
+ blockchain: "pharos",
1266
+ chainIcon: getStableflowChainLogo("Pharos"),
1267
+ chainIconGray: getStableflowChainLogo("Pharos-gray"),
1268
+ chainType: chainTypes.evm.value,
1269
+ chainId: 1672,
1270
+ blockExplorerUrl: "https://www.pharosscan.xyz/tx",
1271
+ blockExplorerUrls: ["https://www.pharosscan.xyz"],
1272
+ primaryColor: "#0066FF",
1273
+ nativeToken: {
1274
+ symbol: "PROS",
1275
+ decimals: 18
1276
+ },
1277
+ ...getChainRpcUrl("pharos")
1263
1278
  }
1264
1279
  };
1265
1280
  var chains_default = chains;
@@ -1582,6 +1597,13 @@ var usdcChains = {
1582
1597
  contractAddress: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC",
1583
1598
  ...chains_default.sui,
1584
1599
  services: [Service.OneClick]
1600
+ },
1601
+ pharos: {
1602
+ ...usdc,
1603
+ assetId: "",
1604
+ contractAddress: "0xC879C018dB60520F4355C26eD1a6D572cdAC1815",
1605
+ ...chains_default.pharos,
1606
+ services: [Service.CCTP]
1585
1607
  }
1586
1608
  };
1587
1609
  ({
@@ -1706,16 +1728,42 @@ var frxusdChains = {
1706
1728
  chains: Object.values(frxusdChains).filter((chain) => chain.chainType === "evm")
1707
1729
  });
1708
1730
 
1731
+ // src/wallets/config/eure.ts
1732
+ var eure = {
1733
+ symbol: "EURe",
1734
+ decimals: 18,
1735
+ icon: "/eure.png",
1736
+ name: "Monerium EURe"
1737
+ };
1738
+ var eureChains = {
1739
+ gnosis: {
1740
+ ...eure,
1741
+ assetId: "nep141:gnosis-0x420ca0f9b9b604ce0fd9c18ef134c705e5fa3430.omft.near",
1742
+ contractAddress: "0x420ca0f9b9b604ce0fd9c18ef134c705e5fa3430",
1743
+ ...chains_default.gnosis,
1744
+ services: [Service.OneClick]
1745
+ }
1746
+ };
1747
+ var eureEvm = {
1748
+ ...eure,
1749
+ chains: Object.values(eureChains).filter((chain) => chain.chainType === "evm")
1750
+ };
1751
+
1709
1752
  // src/wallets/config/tokens.ts
1710
1753
  var tokens = [
1711
1754
  ...Object.values(usdtChains),
1712
1755
  ...Object.values(usdcChains),
1713
1756
  ...Object.values(usdt0Chains),
1714
- ...Object.values(frxusdChains)
1757
+ ...Object.values(frxusdChains),
1758
+ ...Object.values(eureChains)
1715
1759
  ];
1716
1760
  var usdtTokens = [...Object.values(usdtChains), ...Object.values(usdt0Chains)];
1717
1761
  var usdcTokens = Object.values(usdcChains);
1718
1762
  var frxusdTokens = Object.values(frxusdChains);
1763
+ var eureTokens = Object.values(eureChains);
1764
+ var isStableToken = (token) => {
1765
+ return !["EURe"].includes(token.symbol);
1766
+ };
1719
1767
 
1720
1768
  // src/wallets/config/addresses.ts
1721
1769
  var DefaultAddresses = {
@@ -1885,6 +1933,8 @@ var getRouteStatus = (service, disabledServices) => {
1885
1933
  const IS_PAUSE_ONECLICK_USDT0 = disabledServices.includes(Service.OneClickUsdt0);
1886
1934
  const IS_PAUSE_FRAXZERO_ONECLICK = disabledServices.includes(Service.FraxZeroOneClick);
1887
1935
  const IS_PAUSE_ONECLICK_FRAXZERO = disabledServices.includes(Service.OneClickFraxZero);
1936
+ const IS_PAUSE_CCTP_ONECLICK = disabledServices.includes(Service.CCTPOneClick);
1937
+ const IS_PAUSE_ONECLICK_CCTP = disabledServices.includes(Service.OneClickCCTP);
1888
1938
  const IS_PAUSE_ALL = IS_PAUSE_ONECLICK && IS_PAUSE_USDT0 && IS_PAUSE_CCTP && IS_PAUSE_FRAXZERO && IS_PAUSE_NATIVE;
1889
1939
  if (IS_PAUSE_ALL) {
1890
1940
  result.disabled = true;
@@ -1896,6 +1946,12 @@ var getRouteStatus = (service, disabledServices) => {
1896
1946
  return result;
1897
1947
  }
1898
1948
  }
1949
+ if ([Service.CCTPOneClick, Service.OneClickCCTP].includes(service)) {
1950
+ if (IS_PAUSE_ONECLICK || IS_PAUSE_CCTP) {
1951
+ result.disabled = true;
1952
+ return result;
1953
+ }
1954
+ }
1899
1955
  if (service === Service.FraxZero) {
1900
1956
  if (IS_PAUSE_FRAXZERO) {
1901
1957
  result.disabled = true;
@@ -1956,6 +2012,18 @@ var getRouteStatus = (service, disabledServices) => {
1956
2012
  return result;
1957
2013
  }
1958
2014
  }
2015
+ if (service === Service.CCTPOneClick) {
2016
+ if (IS_PAUSE_CCTP_ONECLICK) {
2017
+ result.disabled = true;
2018
+ return result;
2019
+ }
2020
+ }
2021
+ if (service === Service.OneClickCCTP) {
2022
+ if (IS_PAUSE_ONECLICK_CCTP) {
2023
+ result.disabled = true;
2024
+ return result;
2025
+ }
2026
+ }
1959
2027
  return result;
1960
2028
  };
1961
2029
 
@@ -1968,6 +2036,7 @@ exports.ExecTime = ExecTime;
1968
2036
  exports.LayerZeroStatus = LayerZeroStatus;
1969
2037
  exports.NetworkRpcUrlsMap = NetworkRpcUrlsMap;
1970
2038
  exports.OneClickStatus = OneClickStatus;
2039
+ exports.OneClickSwapType = OneClickSwapType;
1971
2040
  exports.OpenAPI = OpenAPI;
1972
2041
  exports.SFA = SFA;
1973
2042
  exports.SendType = SendType;
@@ -1976,6 +2045,9 @@ exports.ServiceBackend = ServiceBackend;
1976
2045
  exports.StableflowStatus = StableflowStatus;
1977
2046
  exports.TransactionStatus = TransactionStatus;
1978
2047
  exports.erc20Abi = erc20_default;
2048
+ exports.eureChains = eureChains;
2049
+ exports.eureEvm = eureEvm;
2050
+ exports.eureTokens = eureTokens;
1979
2051
  exports.frxusdChains = frxusdChains;
1980
2052
  exports.frxusdTokens = frxusdTokens;
1981
2053
  exports.getChainRpcUrl = getChainRpcUrl;
@@ -1983,6 +2055,7 @@ exports.getPrice = getPrice;
1983
2055
  exports.getRequest = getRequest;
1984
2056
  exports.getRouteStatus = getRouteStatus;
1985
2057
  exports.getRpcUrls = getRpcUrls;
2058
+ exports.isStableToken = isStableToken;
1986
2059
  exports.numberRemoveEndZero = numberRemoveEndZero;
1987
2060
  exports.postRequest = postRequest;
1988
2061
  exports.request = request;