@rhinestone/deposit-modal 0.0.0-dev-20260811103135 → 0.0.0-dev-20260811161325
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/{DepositModalReown-BUMVIAEZ.mjs → DepositModalReown-KOBUWJVW.mjs} +7 -7
- package/dist/{DepositModalReown-O5NLY2WC.cjs → DepositModalReown-MHRN4CES.cjs} +16 -16
- package/dist/caip-D8aRWdEY.d.cts +40 -0
- package/dist/caip-D8aRWdEY.d.ts +40 -0
- package/dist/{chunk-FBF33G7H.mjs → chunk-3KAWA5RD.mjs} +6 -5
- package/dist/{chunk-QNLLFX6X.mjs → chunk-53IFZGSF.mjs} +18 -3
- package/dist/{chunk-6CM7PV7M.cjs → chunk-A4YFBOIJ.cjs} +83 -80
- package/dist/{chunk-LDSUGF4F.cjs → chunk-IBF4DU7T.cjs} +387 -379
- package/dist/{chunk-LFLZKER5.cjs → chunk-JPRV36DT.cjs} +2 -2
- package/dist/{chunk-4TLMWZ5C.mjs → chunk-JX762JGX.mjs} +11 -8
- package/dist/{chunk-ZJGGLTHS.cjs → chunk-KCAOSDDQ.cjs} +71 -70
- package/dist/{chunk-YBYIGKNG.cjs → chunk-KDP4JGGH.cjs} +3 -3
- package/dist/{chunk-WP6NQ764.mjs → chunk-LQFRCCR5.mjs} +1 -1
- package/dist/{chunk-EBHG4TCS.mjs → chunk-M4PHAPNI.mjs} +1 -1
- package/dist/{chunk-DMTNBUAS.mjs → chunk-MZ53PDIX.mjs} +1 -1
- package/dist/{chunk-DPT7OWNI.cjs → chunk-N4WT3ZKX.cjs} +79 -79
- package/dist/{chunk-FCX7VVMT.cjs → chunk-R5PFN3S4.cjs} +62 -62
- package/dist/{chunk-SVWVI55K.mjs → chunk-R7DYROB4.mjs} +3 -3
- package/dist/{chunk-2RYFHY2A.mjs → chunk-RYHNO7OR.mjs} +4 -4
- package/dist/{chunk-EH3HQG6X.cjs → chunk-TENL4H64.cjs} +19 -4
- package/dist/{chunk-Z3YWA7R6.mjs → chunk-XKMNJLPQ.mjs} +45 -37
- package/dist/{chunk-YQH7E3VN.cjs → chunk-Z4K7ZQMT.cjs} +1 -1
- package/dist/claim.cjs +6 -6
- package/dist/claim.d.cts +3 -2
- package/dist/claim.d.ts +3 -2
- package/dist/claim.mjs +5 -5
- package/dist/{caip-523Zrc3r.d.cts → constants-FuzG3h4m.d.cts} +1 -18
- package/dist/{caip-523Zrc3r.d.ts → constants-FuzG3h4m.d.ts} +1 -18
- package/dist/constants.cjs +5 -3
- package/dist/constants.d.cts +3 -2
- package/dist/constants.d.ts +3 -2
- package/dist/constants.mjs +4 -2
- package/dist/deposit.cjs +8 -8
- package/dist/deposit.d.cts +3 -2
- package/dist/deposit.d.ts +3 -2
- package/dist/deposit.mjs +7 -7
- package/dist/index.cjs +12 -10
- package/dist/index.d.cts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.mjs +11 -9
- package/dist/polymarket.cjs +5 -5
- package/dist/polymarket.mjs +2 -2
- package/dist/{types-C0SGf-21.d.ts → types-C7wag_iL.d.cts} +4 -3
- package/dist/{types-C0SGf-21.d.cts → types-D4b6Cjox.d.ts} +4 -3
- package/dist/withdraw.cjs +6 -6
- package/dist/withdraw.d.cts +3 -2
- package/dist/withdraw.d.ts +3 -2
- package/dist/withdraw.mjs +5 -5
- package/package.json +1 -1
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DepositModalInner
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-XKMNJLPQ.mjs";
|
|
4
|
+
import "./chunk-JX762JGX.mjs";
|
|
5
|
+
import "./chunk-LQFRCCR5.mjs";
|
|
6
6
|
import {
|
|
7
7
|
isUnsupportedChainSwitchError,
|
|
8
8
|
peekRuntimeChains,
|
|
9
9
|
primeRuntimeChains,
|
|
10
10
|
rpcUrlFor
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-3KAWA5RD.mjs";
|
|
12
|
+
import "./chunk-M4PHAPNI.mjs";
|
|
13
|
+
import "./chunk-MZ53PDIX.mjs";
|
|
14
14
|
import {
|
|
15
15
|
SUPPORTED_CHAINS,
|
|
16
16
|
getChainName
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-53IFZGSF.mjs";
|
|
18
18
|
|
|
19
19
|
// src/DepositModalReown.tsx
|
|
20
20
|
import { useCallback, useMemo as useMemo2 } from "react";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
3
|
+
var _chunkIBF4DU7Tcjs = require('./chunk-IBF4DU7T.cjs');
|
|
4
|
+
require('./chunk-A4YFBOIJ.cjs');
|
|
5
|
+
require('./chunk-KDP4JGGH.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
12
|
-
require('./chunk-
|
|
13
|
-
require('./chunk-
|
|
11
|
+
var _chunkKCAOSDDQcjs = require('./chunk-KCAOSDDQ.cjs');
|
|
12
|
+
require('./chunk-Z4K7ZQMT.cjs');
|
|
13
|
+
require('./chunk-JPRV36DT.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkTENL4H64cjs = require('./chunk-TENL4H64.cjs');
|
|
18
18
|
|
|
19
19
|
// src/DepositModalReown.tsx
|
|
20
20
|
var _react = require('react');
|
|
@@ -71,7 +71,7 @@ var APPKIT_NETWORK_BY_ID = {
|
|
|
71
71
|
[_networks.katana.id]: _networks.katana,
|
|
72
72
|
[_networks.hyperEvm.id]: _networks.hyperEvm
|
|
73
73
|
};
|
|
74
|
-
var EVM_NETWORKS =
|
|
74
|
+
var EVM_NETWORKS = _chunkTENL4H64cjs.SUPPORTED_CHAINS.map((chain) => {
|
|
75
75
|
const network = APPKIT_NETWORK_BY_ID[chain.id];
|
|
76
76
|
if (!network) {
|
|
77
77
|
throw new Error(
|
|
@@ -90,14 +90,14 @@ function buildTransports(rpcUrls, networks = EVM_NETWORKS) {
|
|
|
90
90
|
const transports = {};
|
|
91
91
|
for (const network of networks) {
|
|
92
92
|
const id = Number(network.id);
|
|
93
|
-
transports[id] = _viem.http.call(void 0,
|
|
93
|
+
transports[id] = _viem.http.call(void 0, _chunkKCAOSDDQcjs.rpcUrlFor.call(void 0, rpcUrls, id));
|
|
94
94
|
}
|
|
95
95
|
return transports;
|
|
96
96
|
}
|
|
97
97
|
function getEvmRpcFingerprint(rpcUrls, networks) {
|
|
98
98
|
return networks.map((network) => {
|
|
99
99
|
const id = Number(network.id);
|
|
100
|
-
return `${id}=${_nullishCoalesce(
|
|
100
|
+
return `${id}=${_nullishCoalesce(_chunkKCAOSDDQcjs.rpcUrlFor.call(void 0, rpcUrls, id), () => ( ""))}`;
|
|
101
101
|
}).join("|");
|
|
102
102
|
}
|
|
103
103
|
var cachedAdapter = null;
|
|
@@ -163,7 +163,7 @@ function getOrCreateAdapter(projectId, enableSolana, theme, rpcUrls, runtimeChai
|
|
|
163
163
|
function chainDisplayName(chainId) {
|
|
164
164
|
const runtime = runtimeNetworkById.get(chainId);
|
|
165
165
|
if (runtime) return runtime.name;
|
|
166
|
-
return
|
|
166
|
+
return _chunkTENL4H64cjs.getChainName.call(void 0, chainId);
|
|
167
167
|
}
|
|
168
168
|
function resolveAppKitNetwork(chainId) {
|
|
169
169
|
return _nullishCoalesce(getAppKitNetwork(chainId), () => ( runtimeNetworkById.get(chainId)));
|
|
@@ -187,14 +187,14 @@ function ReownWalletProvider({
|
|
|
187
187
|
return out;
|
|
188
188
|
}, [rpcUrls]);
|
|
189
189
|
const [state, setState] = _react.useState.call(void 0, () => {
|
|
190
|
-
const primed =
|
|
190
|
+
const primed = _chunkKCAOSDDQcjs.peekRuntimeChains.call(void 0, backendUrl, overrides);
|
|
191
191
|
return { ready: primed !== null, chains: _nullishCoalesce(primed, () => ( [])) };
|
|
192
192
|
});
|
|
193
193
|
_react.useEffect.call(void 0, () => {
|
|
194
194
|
let active = true;
|
|
195
|
-
const primed =
|
|
195
|
+
const primed = _chunkKCAOSDDQcjs.peekRuntimeChains.call(void 0, backendUrl, overrides);
|
|
196
196
|
setState({ ready: primed !== null, chains: _nullishCoalesce(primed, () => ( [])) });
|
|
197
|
-
|
|
197
|
+
_chunkKCAOSDDQcjs.primeRuntimeChains.call(void 0, backendUrl, overrides).then((chains) => {
|
|
198
198
|
if (active) setState({ ready: true, chains });
|
|
199
199
|
});
|
|
200
200
|
return () => {
|
|
@@ -256,7 +256,7 @@ function useReownWallet() {
|
|
|
256
256
|
await switchChainAsync({ chainId });
|
|
257
257
|
}
|
|
258
258
|
} catch (err) {
|
|
259
|
-
if (
|
|
259
|
+
if (_chunkKCAOSDDQcjs.isUnsupportedChainSwitchError.call(void 0, err)) {
|
|
260
260
|
throw new Error(
|
|
261
261
|
`Switch to ${chainDisplayName(chainId)} in your wallet to continue`
|
|
262
262
|
);
|
|
@@ -290,7 +290,7 @@ function DepositModalWithReown(props) {
|
|
|
290
290
|
reown.disconnect();
|
|
291
291
|
}, [reown.disconnect]);
|
|
292
292
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
293
|
-
|
|
293
|
+
_chunkIBF4DU7Tcjs.DepositModalInner,
|
|
294
294
|
{
|
|
295
295
|
...props,
|
|
296
296
|
reownWallet: reownWithSolana,
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* HyperCore — Hyperliquid's virtual trading L1, settling on HyperEVM (999). It
|
|
3
|
+
* is USDC-only and requires an EOA recipient. It has no node of its own and
|
|
4
|
+
* must never be used as an EVM RPC target.
|
|
5
|
+
*
|
|
6
|
+
* 1337 is the modal's INTERNAL key for HyperCore in the bundled registry, the
|
|
7
|
+
* display tables and the icon map, shared by the source and destination paths.
|
|
8
|
+
* It is not a chain id anyone can dial and it never reaches the backend —
|
|
9
|
+
* `targetChainToCaip2` is the only thing that answers what does.
|
|
10
|
+
*
|
|
11
|
+
* @deprecated as a `targetChain` value. It still works and still derives the
|
|
12
|
+
* same account, but it names the Core L1 rather than the venue a delivery
|
|
13
|
+
* credits; pass {@link HYPERCORE_SPOT_CAIP2} instead.
|
|
14
|
+
*/
|
|
15
|
+
declare const HYPERCORE_CHAIN_ID = 1337;
|
|
16
|
+
/**
|
|
17
|
+
* HyperCore's spot venue — the canonical `targetChain` for a HyperCore
|
|
18
|
+
* delivery, and the only venue this product delivers to.
|
|
19
|
+
*
|
|
20
|
+
* HyperCore is addressed per delivery venue because a credit has to name the
|
|
21
|
+
* account it lands in: spot and perp margin are different balances. Perp
|
|
22
|
+
* (`hypercore:perp`) is deliberately unreachable from here — a managed account
|
|
23
|
+
* cannot sign the perp→spot transfer, so funds delivered there are stranded.
|
|
24
|
+
*/
|
|
25
|
+
declare const HYPERCORE_SPOT_CAIP2: "hypercore:spot";
|
|
26
|
+
/**
|
|
27
|
+
* Every accepted `targetChain` spelling: an EVM chain id, the `"solana"`
|
|
28
|
+
* sentinel, or a HyperCore delivery venue.
|
|
29
|
+
*/
|
|
30
|
+
type TargetChain = number | "solana" | typeof HYPERCORE_SPOT_CAIP2;
|
|
31
|
+
/** Canonical USDC on HyperEVM (999), the HyperCore settlement chain. */
|
|
32
|
+
declare const HYPERCORE_USDC_ADDRESS = "0xb88339CB7199b77E23DB6E890353E22632Ba630f";
|
|
33
|
+
/**
|
|
34
|
+
* USDT0 on HyperEVM (999). HyperCore-origin deposits accept USDC *and* USDT0
|
|
35
|
+
* (both land on HyperEVM and route out via the orchestrator). Destination
|
|
36
|
+
* delivery stays USDC-only, so this is a *source*-token address only.
|
|
37
|
+
*/
|
|
38
|
+
declare const HYPERCORE_USDT0_ADDRESS = "0xB8CE59FC3717ada4C02eaDF9682A9e934F625ebb";
|
|
39
|
+
|
|
40
|
+
export { HYPERCORE_CHAIN_ID as H, type TargetChain as T, HYPERCORE_SPOT_CAIP2 as a, HYPERCORE_USDC_ADDRESS as b, HYPERCORE_USDT0_ADDRESS as c };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* HyperCore — Hyperliquid's virtual trading L1, settling on HyperEVM (999). It
|
|
3
|
+
* is USDC-only and requires an EOA recipient. It has no node of its own and
|
|
4
|
+
* must never be used as an EVM RPC target.
|
|
5
|
+
*
|
|
6
|
+
* 1337 is the modal's INTERNAL key for HyperCore in the bundled registry, the
|
|
7
|
+
* display tables and the icon map, shared by the source and destination paths.
|
|
8
|
+
* It is not a chain id anyone can dial and it never reaches the backend —
|
|
9
|
+
* `targetChainToCaip2` is the only thing that answers what does.
|
|
10
|
+
*
|
|
11
|
+
* @deprecated as a `targetChain` value. It still works and still derives the
|
|
12
|
+
* same account, but it names the Core L1 rather than the venue a delivery
|
|
13
|
+
* credits; pass {@link HYPERCORE_SPOT_CAIP2} instead.
|
|
14
|
+
*/
|
|
15
|
+
declare const HYPERCORE_CHAIN_ID = 1337;
|
|
16
|
+
/**
|
|
17
|
+
* HyperCore's spot venue — the canonical `targetChain` for a HyperCore
|
|
18
|
+
* delivery, and the only venue this product delivers to.
|
|
19
|
+
*
|
|
20
|
+
* HyperCore is addressed per delivery venue because a credit has to name the
|
|
21
|
+
* account it lands in: spot and perp margin are different balances. Perp
|
|
22
|
+
* (`hypercore:perp`) is deliberately unreachable from here — a managed account
|
|
23
|
+
* cannot sign the perp→spot transfer, so funds delivered there are stranded.
|
|
24
|
+
*/
|
|
25
|
+
declare const HYPERCORE_SPOT_CAIP2: "hypercore:spot";
|
|
26
|
+
/**
|
|
27
|
+
* Every accepted `targetChain` spelling: an EVM chain id, the `"solana"`
|
|
28
|
+
* sentinel, or a HyperCore delivery venue.
|
|
29
|
+
*/
|
|
30
|
+
type TargetChain = number | "solana" | typeof HYPERCORE_SPOT_CAIP2;
|
|
31
|
+
/** Canonical USDC on HyperEVM (999), the HyperCore settlement chain. */
|
|
32
|
+
declare const HYPERCORE_USDC_ADDRESS = "0xb88339CB7199b77E23DB6E890353E22632Ba630f";
|
|
33
|
+
/**
|
|
34
|
+
* USDT0 on HyperEVM (999). HyperCore-origin deposits accept USDC *and* USDT0
|
|
35
|
+
* (both land on HyperEVM and route out via the orchestrator). Destination
|
|
36
|
+
* delivery stays USDC-only, so this is a *source*-token address only.
|
|
37
|
+
*/
|
|
38
|
+
declare const HYPERCORE_USDT0_ADDRESS = "0xB8CE59FC3717ada4C02eaDF9682A9e934F625ebb";
|
|
39
|
+
|
|
40
|
+
export { HYPERCORE_CHAIN_ID as H, type TargetChain as T, HYPERCORE_SPOT_CAIP2 as a, HYPERCORE_USDC_ADDRESS as b, HYPERCORE_USDT0_ADDRESS as c };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SERVICE_HEADERS
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-M4PHAPNI.mjs";
|
|
4
4
|
import {
|
|
5
5
|
CHAIN_BY_ID,
|
|
6
6
|
CHAIN_DISPLAY_ORDER,
|
|
@@ -28,8 +28,9 @@ import {
|
|
|
28
28
|
publishShortlistTokens,
|
|
29
29
|
setRuntimeChainMeta,
|
|
30
30
|
setRuntimeTokens,
|
|
31
|
+
toEvmCaip2,
|
|
31
32
|
tokenIconUrl
|
|
32
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-53IFZGSF.mjs";
|
|
33
34
|
|
|
34
35
|
// src/components/ui/Modal.tsx
|
|
35
36
|
import {
|
|
@@ -1326,7 +1327,7 @@ function createDepositService(baseUrl, options) {
|
|
|
1326
1327
|
return { deposits, nextCursor };
|
|
1327
1328
|
},
|
|
1328
1329
|
async checkLiquidity(params) {
|
|
1329
|
-
if (params.destinationChainId === "solana") {
|
|
1330
|
+
if (isSolanaCaip2(params.destinationChainId) || params.destinationChainId === "solana") {
|
|
1330
1331
|
const token = getSolanaTokenByMint(params.destinationToken);
|
|
1331
1332
|
return {
|
|
1332
1333
|
hasLiquidity: true,
|
|
@@ -1337,9 +1338,9 @@ function createDepositService(baseUrl, options) {
|
|
|
1337
1338
|
};
|
|
1338
1339
|
}
|
|
1339
1340
|
const searchParams = new URLSearchParams({
|
|
1340
|
-
sourceChainId:
|
|
1341
|
+
sourceChainId: toEvmCaip2(params.sourceChainId),
|
|
1341
1342
|
sourceToken: params.sourceToken,
|
|
1342
|
-
destinationChainId:
|
|
1343
|
+
destinationChainId: params.destinationChainId,
|
|
1343
1344
|
destinationToken: params.destinationToken,
|
|
1344
1345
|
amount: params.amount
|
|
1345
1346
|
});
|
|
@@ -6,9 +6,13 @@ function toEvmCaip2(chainId) {
|
|
|
6
6
|
}
|
|
7
7
|
function targetChainToCaip2(targetChain) {
|
|
8
8
|
if (targetChain === "solana") return SOLANA_MAINNET_CAIP2;
|
|
9
|
-
if (targetChain
|
|
9
|
+
if (isHyperCoreDestination(targetChain)) return HYPERCORE_SPOT_CAIP2;
|
|
10
10
|
return toEvmCaip2(targetChain);
|
|
11
11
|
}
|
|
12
|
+
function targetChainToAccountKey(targetChain) {
|
|
13
|
+
if (isHyperCoreDestination(targetChain)) return HYPERCORE_MAINNET_CAIP2;
|
|
14
|
+
return targetChainToCaip2(targetChain);
|
|
15
|
+
}
|
|
12
16
|
function parseEvmChainId(value) {
|
|
13
17
|
if (typeof value === "number" && Number.isFinite(value)) {
|
|
14
18
|
return value;
|
|
@@ -27,6 +31,13 @@ function isHyperCoreCaip2(value) {
|
|
|
27
31
|
}
|
|
28
32
|
var HYPERCORE_CHAIN_ID = 1337;
|
|
29
33
|
var HYPERCORE_MAINNET_CAIP2 = "hypercore:mainnet";
|
|
34
|
+
var HYPERCORE_SPOT_CAIP2 = "hypercore:spot";
|
|
35
|
+
function targetChainToChainId(targetChain) {
|
|
36
|
+
return isHyperCoreDestination(targetChain) ? "hypercore" : targetChain;
|
|
37
|
+
}
|
|
38
|
+
function isHyperCoreDestination(targetChain) {
|
|
39
|
+
return targetChain === HYPERCORE_SPOT_CAIP2 || targetChain === HYPERCORE_CHAIN_ID;
|
|
40
|
+
}
|
|
30
41
|
var HYPERCORE_USDC_ADDRESS = "0xb88339CB7199b77E23DB6E890353E22632Ba630f";
|
|
31
42
|
var HYPERCORE_USDT0_ADDRESS = "0xB8CE59FC3717ada4C02eaDF9682A9e934F625ebb";
|
|
32
43
|
var HYPERCORE_SOURCE_TOKENS = [
|
|
@@ -35,7 +46,7 @@ var HYPERCORE_SOURCE_TOKENS = [
|
|
|
35
46
|
];
|
|
36
47
|
var HYPERCORE_MIN_DEPOSIT_USD = 1;
|
|
37
48
|
function isVirtualDestination(targetChain) {
|
|
38
|
-
return targetChain === "solana" || targetChain
|
|
49
|
+
return targetChain === "solana" || isHyperCoreDestination(targetChain);
|
|
39
50
|
}
|
|
40
51
|
|
|
41
52
|
// src/core/solana-tokens.ts
|
|
@@ -802,7 +813,7 @@ function getTargetTokenSymbol(token, chain) {
|
|
|
802
813
|
if (chain === "solana") {
|
|
803
814
|
return getSolanaTokenByMint(String(token))?.symbol ?? "Token";
|
|
804
815
|
}
|
|
805
|
-
return getTokenSymbol(token, chain);
|
|
816
|
+
return getTokenSymbol(token, resolveDisplayChainId(chain));
|
|
806
817
|
}
|
|
807
818
|
function isStablecoinSymbol(symbol) {
|
|
808
819
|
return /^(usdc|usdt|usdt0|dai|usd)$/i.test(symbol);
|
|
@@ -886,11 +897,15 @@ export {
|
|
|
886
897
|
SOLANA_MAINNET_CAIP2,
|
|
887
898
|
toEvmCaip2,
|
|
888
899
|
targetChainToCaip2,
|
|
900
|
+
targetChainToAccountKey,
|
|
889
901
|
parseEvmChainId,
|
|
890
902
|
isSolanaCaip2,
|
|
891
903
|
isHyperCoreCaip2,
|
|
892
904
|
HYPERCORE_CHAIN_ID,
|
|
893
905
|
HYPERCORE_MAINNET_CAIP2,
|
|
906
|
+
HYPERCORE_SPOT_CAIP2,
|
|
907
|
+
targetChainToChainId,
|
|
908
|
+
isHyperCoreDestination,
|
|
894
909
|
HYPERCORE_USDC_ADDRESS,
|
|
895
910
|
HYPERCORE_USDT0_ADDRESS,
|
|
896
911
|
HYPERCORE_SOURCE_TOKENS,
|