@glacislabs/stablegenie-zerodelta 4.1.1 → 4.2.1
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/{chunk-MQ4XLBVF.js → chunk-FDCSZ3OY.js} +76 -9
- package/dist/{chunk-6BYXMDVN.js → chunk-OOESQYM3.js} +43 -33
- package/dist/core/index.cjs +79 -8
- package/dist/core/index.d.cts +29 -3
- package/dist/core/index.d.ts +29 -3
- package/dist/core/index.js +1 -1
- package/dist/index.cjs +117 -40
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/{mount-CoLgvvsE.d.ts → mount-Bver3O2z.d.ts} +1 -1
- package/dist/{mount-Dz9LffFx.d.cts → mount-Dtbtdry1.d.cts} +1 -1
- package/dist/mount.cjs +117 -40
- package/dist/mount.d.cts +2 -2
- package/dist/mount.d.ts +2 -2
- package/dist/mount.js +2 -2
- package/dist/standalone.global.js +6 -6
- package/dist/{verify-Bdw8-YWZ.d.cts → verify-57gjg_dM.d.cts} +20 -0
- package/dist/{verify-Bdw8-YWZ.d.ts → verify-57gjg_dM.d.ts} +20 -0
- package/package.json +1 -1
package/dist/mount.cjs
CHANGED
|
@@ -481,6 +481,29 @@ function applyLayerZeroBuffer(quote, option = {}) {
|
|
|
481
481
|
return gas * (10000n + LZ_FEE_BUFFER_BPS) / 10000n;
|
|
482
482
|
}
|
|
483
483
|
|
|
484
|
+
// src/core/ticker.ts
|
|
485
|
+
var DISPLAY_SAFE = /^[\p{L}\p{N}\p{Sc}.+_-]{1,16}$/u;
|
|
486
|
+
function foldTicker(value) {
|
|
487
|
+
return String(value ?? "").replace(/₮/g, "T").toUpperCase();
|
|
488
|
+
}
|
|
489
|
+
function safeTicker(ticker, symbol) {
|
|
490
|
+
const value = String(ticker ?? "").trim();
|
|
491
|
+
if (!value || !DISPLAY_SAFE.test(value)) return "";
|
|
492
|
+
const asset = foldTicker(symbol).trim();
|
|
493
|
+
if (!asset || !foldTicker(value).startsWith(asset)) return "";
|
|
494
|
+
return value;
|
|
495
|
+
}
|
|
496
|
+
function tokenTicker(token) {
|
|
497
|
+
if (!token) return "";
|
|
498
|
+
return safeTicker(token.displaySymbol, token.symbol) || String(token.symbol ?? "");
|
|
499
|
+
}
|
|
500
|
+
function tickerOn(tokens, chainId, symbol) {
|
|
501
|
+
if (!symbol || !chainId || !tokens?.length) return symbol;
|
|
502
|
+
const key = symbolKey(symbol);
|
|
503
|
+
const deployment = tokens.find((t) => Number(t.chainId) === Number(chainId) && symbolKey(t.symbol) === key);
|
|
504
|
+
return deployment ? tokenTicker(deployment) : symbol;
|
|
505
|
+
}
|
|
506
|
+
|
|
484
507
|
// src/core/availability.ts
|
|
485
508
|
function assetClassOf(symbol) {
|
|
486
509
|
const key = symbolKey(symbol);
|
|
@@ -661,6 +684,7 @@ function buildPayOptions({ invoiceAsset, invoiceChainId, tokens, routes, chains,
|
|
|
661
684
|
options.push({
|
|
662
685
|
symbol: token.symbol,
|
|
663
686
|
symbolKey: payKey,
|
|
687
|
+
ticker: tokenTicker(token),
|
|
664
688
|
name: token.name || token.symbol,
|
|
665
689
|
chainId,
|
|
666
690
|
chainName: chainNameOf(chainId, chains),
|
|
@@ -1337,10 +1361,13 @@ function routeDeltaLabel(result, quote) {
|
|
|
1337
1361
|
if (quote.feeBps) return `${quote.feeBps} bps fee`;
|
|
1338
1362
|
return "~0";
|
|
1339
1363
|
}
|
|
1364
|
+
function optionTicker(option) {
|
|
1365
|
+
return option.ticker || option.symbol;
|
|
1366
|
+
}
|
|
1340
1367
|
function routeLabelFor(option, destinationToken, result) {
|
|
1341
1368
|
if (result.directTransfer) return "Direct transfer: asset and chain already match.";
|
|
1342
1369
|
const bridge = result.quote.bridge ? ` via ${result.quote.bridge}` : "";
|
|
1343
|
-
return `Swap ${option
|
|
1370
|
+
return `Swap ${optionTicker(option)} to ${tokenTicker(destinationToken)} and settle on ZeroDelta${bridge}.`;
|
|
1344
1371
|
}
|
|
1345
1372
|
function tokenAt(tokens, chainId, address) {
|
|
1346
1373
|
const wanted = normalizeAddress(address);
|
|
@@ -1359,6 +1386,7 @@ function buildLegs(orders, ctx) {
|
|
|
1359
1386
|
const legs = [];
|
|
1360
1387
|
let fromChainId = ctx.option.chainId;
|
|
1361
1388
|
let fromAsset = ctx.option.symbol;
|
|
1389
|
+
let fromTicker = optionTicker(ctx.option);
|
|
1362
1390
|
let fromDecimals = ctx.option.decimals;
|
|
1363
1391
|
for (let index = 0; index < orders.length; index += 1) {
|
|
1364
1392
|
const order = orders[index];
|
|
@@ -1366,15 +1394,18 @@ function buildLegs(orders, ctx) {
|
|
|
1366
1394
|
const toChainId = Number(order.destinationChainId);
|
|
1367
1395
|
const askToken = isLast ? ctx.destinationToken : tokenAt(ctx.tokens, toChainId, order.askToken);
|
|
1368
1396
|
const toAsset = isLast ? ctx.destinationToken.symbol : askToken?.symbol ?? "";
|
|
1397
|
+
const toTicker = askToken ? tokenTicker(askToken) : "";
|
|
1369
1398
|
const toDecimals = askToken ? assetDecimals(askToken) : void 0;
|
|
1370
1399
|
const executionChainId = Number(order.executionChainId);
|
|
1371
1400
|
legs.push({
|
|
1372
1401
|
index: index + 1,
|
|
1373
1402
|
fromAsset,
|
|
1403
|
+
fromTicker,
|
|
1374
1404
|
fromChainId,
|
|
1375
1405
|
fromChainName: chainNameOf(fromChainId, ctx.chains),
|
|
1376
1406
|
fromAmount: legAmount(order.bidTokenAmount, fromDecimals),
|
|
1377
1407
|
toAsset,
|
|
1408
|
+
toTicker,
|
|
1378
1409
|
toChainId,
|
|
1379
1410
|
toChainName: chainNameOf(toChainId, ctx.chains),
|
|
1380
1411
|
toAmount: legAmount(order.askTokenAmount, toDecimals),
|
|
@@ -1383,6 +1414,7 @@ function buildLegs(orders, ctx) {
|
|
|
1383
1414
|
});
|
|
1384
1415
|
fromChainId = toChainId;
|
|
1385
1416
|
fromAsset = toAsset;
|
|
1417
|
+
fromTicker = toTicker;
|
|
1386
1418
|
fromDecimals = toDecimals;
|
|
1387
1419
|
}
|
|
1388
1420
|
return legs;
|
|
@@ -1411,6 +1443,7 @@ async function buildRoute({
|
|
|
1411
1443
|
state: "DIRECT",
|
|
1412
1444
|
source: {
|
|
1413
1445
|
asset: option.symbol,
|
|
1446
|
+
ticker: optionTicker(option),
|
|
1414
1447
|
chainId: option.chainId,
|
|
1415
1448
|
chainName: option.chainName,
|
|
1416
1449
|
tokenAddress: option.address,
|
|
@@ -1420,6 +1453,7 @@ async function buildRoute({
|
|
|
1420
1453
|
},
|
|
1421
1454
|
receive: {
|
|
1422
1455
|
asset: destinationToken.symbol,
|
|
1456
|
+
ticker: tokenTicker(destinationToken),
|
|
1423
1457
|
chainId: Number(destination.chainId),
|
|
1424
1458
|
chainName: chainNameOf(Number(destination.chainId), chains),
|
|
1425
1459
|
tokenAddress: destinationToken.address,
|
|
@@ -1434,10 +1468,12 @@ async function buildRoute({
|
|
|
1434
1468
|
{
|
|
1435
1469
|
index: 1,
|
|
1436
1470
|
fromAsset: option.symbol,
|
|
1471
|
+
fromTicker: optionTicker(option),
|
|
1437
1472
|
fromChainId: option.chainId,
|
|
1438
1473
|
fromChainName: option.chainName,
|
|
1439
1474
|
fromAmount: sourceAmount,
|
|
1440
1475
|
toAsset: destinationToken.symbol,
|
|
1476
|
+
toTicker: tokenTicker(destinationToken),
|
|
1441
1477
|
toChainId: Number(destination.chainId),
|
|
1442
1478
|
toChainName: chainNameOf(Number(destination.chainId), chains),
|
|
1443
1479
|
toAmount: receiveAmount,
|
|
@@ -1449,7 +1485,7 @@ async function buildRoute({
|
|
|
1449
1485
|
{
|
|
1450
1486
|
id: "transfer",
|
|
1451
1487
|
kind: "transfer",
|
|
1452
|
-
label: `Transfer ${destinationToken
|
|
1488
|
+
label: `Transfer ${tokenTicker(destinationToken)}`,
|
|
1453
1489
|
chainId: option.chainId,
|
|
1454
1490
|
to: option.address,
|
|
1455
1491
|
data: encodeTransfer(destination.address, result.youPayRaw),
|
|
@@ -1501,6 +1537,7 @@ async function buildRoute({
|
|
|
1501
1537
|
state: result.meetsTarget ? "ROUTE" : "SHORT",
|
|
1502
1538
|
source: {
|
|
1503
1539
|
asset: option.symbol,
|
|
1540
|
+
ticker: optionTicker(option),
|
|
1504
1541
|
chainId: option.chainId,
|
|
1505
1542
|
chainName: option.chainName,
|
|
1506
1543
|
tokenAddress: option.address,
|
|
@@ -1510,6 +1547,7 @@ async function buildRoute({
|
|
|
1510
1547
|
},
|
|
1511
1548
|
receive: {
|
|
1512
1549
|
asset: destinationToken.symbol,
|
|
1550
|
+
ticker: tokenTicker(destinationToken),
|
|
1513
1551
|
chainId: Number(destination.chainId),
|
|
1514
1552
|
chainName: chainNameOf(Number(destination.chainId), chains),
|
|
1515
1553
|
tokenAddress: destinationToken.address,
|
|
@@ -1523,7 +1561,7 @@ async function buildRoute({
|
|
|
1523
1561
|
{
|
|
1524
1562
|
id: "approve",
|
|
1525
1563
|
kind: "approve",
|
|
1526
|
-
label: `Approve ${option
|
|
1564
|
+
label: `Approve ${optionTicker(option)}`,
|
|
1527
1565
|
chainId: option.chainId,
|
|
1528
1566
|
to: option.address,
|
|
1529
1567
|
data: encodeApprove(escrow, order.bidTokenAmount),
|
|
@@ -1621,6 +1659,8 @@ function isTransientQuoteError(error) {
|
|
|
1621
1659
|
function wait(ms) {
|
|
1622
1660
|
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
1623
1661
|
}
|
|
1662
|
+
var PAGE_LIMIT = 500;
|
|
1663
|
+
var MAX_PAGES = 10;
|
|
1624
1664
|
function createApiClient(cfg) {
|
|
1625
1665
|
const cache = {
|
|
1626
1666
|
chains: null,
|
|
@@ -1632,7 +1672,7 @@ function createApiClient(cfg) {
|
|
|
1632
1672
|
const screenCache = /* @__PURE__ */ new Map();
|
|
1633
1673
|
const screenInflight = /* @__PURE__ */ new Map();
|
|
1634
1674
|
const apiBase = cfg.apiBase.replace(/\/$/, "");
|
|
1635
|
-
async function
|
|
1675
|
+
async function requestJson(path, init = {}) {
|
|
1636
1676
|
const apiKey = await cfg.getApiKey();
|
|
1637
1677
|
const headers = { "Content-Type": "application/json", ...init.headers || {} };
|
|
1638
1678
|
if (apiKey) headers["x-api-key"] = apiKey;
|
|
@@ -1668,8 +1708,30 @@ function createApiClient(cfg) {
|
|
|
1668
1708
|
reasons: json?.error?.reasons || json?.reasons
|
|
1669
1709
|
});
|
|
1670
1710
|
}
|
|
1711
|
+
return json;
|
|
1712
|
+
}
|
|
1713
|
+
async function apiRequest(path, init = {}) {
|
|
1714
|
+
const json = await requestJson(path, init);
|
|
1671
1715
|
return json?.data ?? json;
|
|
1672
1716
|
}
|
|
1717
|
+
async function requestAllPages(path) {
|
|
1718
|
+
const rows = [];
|
|
1719
|
+
let firstRow = "";
|
|
1720
|
+
for (let page = 0; page < MAX_PAGES; page += 1) {
|
|
1721
|
+
const json = await requestJson(`${path}${toQuery({ limit: PAGE_LIMIT, offset: rows.length || void 0 })}`);
|
|
1722
|
+
const envelope = json && !Array.isArray(json) ? json : {};
|
|
1723
|
+
const data = Array.isArray(json) ? json : envelope.data;
|
|
1724
|
+
const pageRows = Array.isArray(data) ? data : [];
|
|
1725
|
+
const head = pageRows.length ? JSON.stringify(pageRows[0]) : "";
|
|
1726
|
+
if (page === 0) firstRow = head;
|
|
1727
|
+
else if (head && head === firstRow) throw apiError(`ZeroDelta paging ignored the offset (${path}, offset ${rows.length}).`, { code: "bad_response" });
|
|
1728
|
+
rows.push(...pageRows);
|
|
1729
|
+
const total = envelope.meta?.totalCount;
|
|
1730
|
+
if (!envelope.paging?.next || typeof total === "number" && rows.length >= total) return rows;
|
|
1731
|
+
if (!pageRows.length) throw apiError(`ZeroDelta paging did not advance (${path}, offset ${rows.length}).`, { code: "bad_response" });
|
|
1732
|
+
}
|
|
1733
|
+
throw apiError(`ZeroDelta still had rows after ${MAX_PAGES} pages (${path}).`, { code: "bad_response" });
|
|
1734
|
+
}
|
|
1673
1735
|
async function fetchChains() {
|
|
1674
1736
|
if (nowFresh(cache.chains)) return cache.chains.value;
|
|
1675
1737
|
const chains = await apiRequest(`/chains${toQuery({ enabledOnly: true, limit: 500 })}`);
|
|
@@ -1682,16 +1744,15 @@ function createApiClient(cfg) {
|
|
|
1682
1744
|
}
|
|
1683
1745
|
async function fetchTokens() {
|
|
1684
1746
|
if (nowFresh(cache.tokens)) return cache.tokens.value;
|
|
1685
|
-
const tokens = await
|
|
1686
|
-
const normalized =
|
|
1747
|
+
const tokens = await requestAllPages("/tokens");
|
|
1748
|
+
const normalized = tokens.map((token) => ({ ...token, chainId: Number(token.chainId) }));
|
|
1687
1749
|
cache.tokens = { at: Date.now(), value: normalized };
|
|
1688
1750
|
return normalized;
|
|
1689
1751
|
}
|
|
1690
1752
|
async function fetchRoutes() {
|
|
1691
1753
|
if (nowFresh(cache.routes)) return cache.routes.value;
|
|
1692
1754
|
try {
|
|
1693
|
-
const
|
|
1694
|
-
const normalized = Array.isArray(routes) ? routes : [];
|
|
1755
|
+
const normalized = await requestAllPages("/routes");
|
|
1695
1756
|
cache.routes = { at: Date.now(), value: normalized };
|
|
1696
1757
|
return normalized;
|
|
1697
1758
|
} catch {
|
|
@@ -1990,6 +2051,7 @@ async function buildSwapPlan(api, swap, payer, wallet = {}) {
|
|
|
1990
2051
|
const option = {
|
|
1991
2052
|
symbol: sourceToken.symbol,
|
|
1992
2053
|
symbolKey: symbolKey(sourceToken.symbol),
|
|
2054
|
+
ticker: tokenTicker(sourceToken),
|
|
1993
2055
|
name: sourceToken.name || sourceToken.symbol,
|
|
1994
2056
|
chainId: v.fromChainId,
|
|
1995
2057
|
chainName: chainNameOf(v.fromChainId, chains),
|
|
@@ -2361,13 +2423,16 @@ function sanitizeLegs(legs) {
|
|
|
2361
2423
|
if (!Array.isArray(legs) || !legs.length) return void 0;
|
|
2362
2424
|
const text = (v, max) => String(v ?? "").slice(0, max);
|
|
2363
2425
|
const chain = (v) => Number(v) || 0;
|
|
2426
|
+
const ticker = (value, asset) => safeTicker(value, asset) || void 0;
|
|
2364
2427
|
return legs.slice(0, 8).map((leg, i) => ({
|
|
2365
2428
|
index: Number(leg?.index) || i + 1,
|
|
2366
2429
|
fromAsset: text(leg?.fromAsset, 12),
|
|
2430
|
+
fromTicker: ticker(leg?.fromTicker, text(leg?.fromAsset, 12)),
|
|
2367
2431
|
fromChainId: chain(leg?.fromChainId),
|
|
2368
2432
|
fromChainName: text(leg?.fromChainName, 40),
|
|
2369
2433
|
fromAmount: text(leg?.fromAmount, 40),
|
|
2370
2434
|
toAsset: text(leg?.toAsset, 12),
|
|
2435
|
+
toTicker: ticker(leg?.toTicker, text(leg?.toAsset, 12)),
|
|
2371
2436
|
toChainId: chain(leg?.toChainId),
|
|
2372
2437
|
toChainName: text(leg?.toChainName, 40),
|
|
2373
2438
|
toAmount: text(leg?.toAmount, 40),
|
|
@@ -2384,6 +2449,8 @@ function sanitizeTxEntry(entry) {
|
|
|
2384
2449
|
chainName: String(entry.chainName || "").slice(0, 40),
|
|
2385
2450
|
fromAsset: String(entry.fromAsset || "").slice(0, 10),
|
|
2386
2451
|
toAsset: String(entry.toAsset || "").slice(0, 10),
|
|
2452
|
+
fromTicker: safeTicker(entry.fromTicker, String(entry.fromAsset || "").slice(0, 10)) || void 0,
|
|
2453
|
+
toTicker: safeTicker(entry.toTicker, String(entry.toAsset || "").slice(0, 10)) || void 0,
|
|
2387
2454
|
payAmount: String(entry.payAmount || "").slice(0, 40),
|
|
2388
2455
|
receiveAmount: String(entry.receiveAmount || "").slice(0, 40),
|
|
2389
2456
|
account: isAddress(entry.account) ? normalizeAddress(entry.account) : "",
|
|
@@ -2885,6 +2952,8 @@ function useFlow(args) {
|
|
|
2885
2952
|
chainName: route.source.chainName,
|
|
2886
2953
|
fromAsset: route.source.asset,
|
|
2887
2954
|
toAsset: route.receive.asset,
|
|
2955
|
+
fromTicker: route.source.ticker,
|
|
2956
|
+
toTicker: route.receive.ticker,
|
|
2888
2957
|
payAmount: route.source.payAmount,
|
|
2889
2958
|
receiveAmount: route.receive.amount,
|
|
2890
2959
|
account,
|
|
@@ -4222,7 +4291,7 @@ function ChevronGlyph() {
|
|
|
4222
4291
|
return /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m9 18 6-6-6-6" }) });
|
|
4223
4292
|
}
|
|
4224
4293
|
function TokenTile(props) {
|
|
4225
|
-
const shown = props.token
|
|
4294
|
+
const shown = props.token ? tokenTicker(props.token) : props.pick?.symbol ?? "";
|
|
4226
4295
|
const glyph = props.pick ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
4227
4296
|
/* @__PURE__ */ jsxRuntime.jsx(TokenGlyph, { symbol: props.pick.symbol, logoUrl: props.token?.logoUrl, chainId: props.pick.chainId }),
|
|
4228
4297
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-tile-text", children: [
|
|
@@ -4296,7 +4365,8 @@ function TokenSelect(props) {
|
|
|
4296
4365
|
const q = query.trim().toLowerCase();
|
|
4297
4366
|
const filtered = props.tokens.filter((t) => chainFilter == null ? true : Number(t.chainId) === chainFilter).filter((t) => {
|
|
4298
4367
|
if (!q) return true;
|
|
4299
|
-
return String(t.symbol || "").toLowerCase().includes(q) ||
|
|
4368
|
+
return String(t.symbol || "").toLowerCase().includes(q) || // The chain's own ticker too, with `₮` read as `T`: "usdt0" finds USD₮0.
|
|
4369
|
+
foldTicker(tokenTicker(t)).includes(foldTicker(q)) || String(t.name || "").toLowerCase().includes(q) || String(t.address || "").toLowerCase().includes(q) || // Chain name too (2026-09-08): with ~37 destination chains most have no bundled mark and
|
|
4300
4370
|
// show a three-letter badge, so "Katana" or "Berachain" has to be findable by typing it.
|
|
4301
4371
|
String(CHAIN_LABELS[Number(t.chainId)] || "").toLowerCase().includes(q);
|
|
4302
4372
|
});
|
|
@@ -4348,7 +4418,7 @@ function TokenSelect(props) {
|
|
|
4348
4418
|
children: [
|
|
4349
4419
|
/* @__PURE__ */ jsxRuntime.jsx(TokenGlyph, { symbol: t.symbol, logoUrl: t.logoUrl, chainId }),
|
|
4350
4420
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-tokrow-main", children: [
|
|
4351
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokrow-sym", children: t
|
|
4421
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokrow-sym", children: tokenTicker(t) }),
|
|
4352
4422
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokrow-name", children: t.name || t.symbol })
|
|
4353
4423
|
] }),
|
|
4354
4424
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-tokrow-end", children: [
|
|
@@ -4421,10 +4491,12 @@ function legsOf(entry) {
|
|
|
4421
4491
|
const leg = {
|
|
4422
4492
|
index: 1,
|
|
4423
4493
|
fromAsset: entry.fromAsset,
|
|
4494
|
+
fromTicker: entry.fromTicker,
|
|
4424
4495
|
fromChainId: entry.chainId ?? 0,
|
|
4425
4496
|
fromChainName: entry.chainName,
|
|
4426
4497
|
fromAmount: entry.payAmount,
|
|
4427
4498
|
toAsset: entry.toAsset,
|
|
4499
|
+
toTicker: entry.toTicker,
|
|
4428
4500
|
toChainId: 0,
|
|
4429
4501
|
toChainName: "",
|
|
4430
4502
|
toAmount: entry.receiveAmount,
|
|
@@ -4453,9 +4525,9 @@ function TxLegs(props) {
|
|
|
4453
4525
|
multi ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-leg-n", "aria-hidden": "true", children: leg.index }) : null,
|
|
4454
4526
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-leg-body", children: [
|
|
4455
4527
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-leg-line", children: [
|
|
4456
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-mono", children: `${leg.fromAmount ? `${leg.fromAmount} ` : ""}${leg.fromAsset || "\u2014"}` }),
|
|
4528
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-mono", children: `${leg.fromAmount ? `${leg.fromAmount} ` : ""}${leg.fromTicker || leg.fromAsset || "\u2014"}` }),
|
|
4457
4529
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-leg-arrow", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx(LegArrowGlyph, {}) }),
|
|
4458
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-mono", children: `${leg.toAmount ? `${leg.toAmount} ` : ""}${leg.toAsset || "\u2014"}` })
|
|
4530
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-mono", children: `${leg.toAmount ? `${leg.toAmount} ` : ""}${leg.toTicker || leg.toAsset || "\u2014"}` })
|
|
4459
4531
|
] }),
|
|
4460
4532
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-leg-sub", children: [
|
|
4461
4533
|
chainName(leg.fromChainId, leg.fromChainName),
|
|
@@ -4501,10 +4573,10 @@ function TxPairGlyphs(props) {
|
|
|
4501
4573
|
function TxPair(props) {
|
|
4502
4574
|
const e = props.entry;
|
|
4503
4575
|
return /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-txrow-pair", children: [
|
|
4504
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-txrow-side sg-mono", children: `${e.payAmount} ${e.fromAsset}` }),
|
|
4576
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-txrow-side sg-mono", children: `${e.payAmount} ${e.fromTicker || e.fromAsset}` }),
|
|
4505
4577
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-txrow-side sg-mono", children: [
|
|
4506
4578
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-txrow-arrow", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx(LegArrowGlyph, {}) }),
|
|
4507
|
-
`${e.receiveAmount} ${e.toAsset}`
|
|
4579
|
+
`${e.receiveAmount} ${e.toTicker || e.toAsset}`
|
|
4508
4580
|
] })
|
|
4509
4581
|
] });
|
|
4510
4582
|
}
|
|
@@ -4568,7 +4640,7 @@ function TxDetail(props) {
|
|
|
4568
4640
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-anchor sg-mono", children: [
|
|
4569
4641
|
e.receiveAmount,
|
|
4570
4642
|
" ",
|
|
4571
|
-
e.toAsset
|
|
4643
|
+
e.toTicker || e.toAsset
|
|
4572
4644
|
] }),
|
|
4573
4645
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-anchor-sub", children: [
|
|
4574
4646
|
e.kind === "payment" ? "Payment" : "Swap",
|
|
@@ -4585,7 +4657,7 @@ function TxDetail(props) {
|
|
|
4585
4657
|
/* @__PURE__ */ jsxRuntime.jsxs("b", { className: "sg-mono", children: [
|
|
4586
4658
|
e.payAmount,
|
|
4587
4659
|
" ",
|
|
4588
|
-
e.fromAsset
|
|
4660
|
+
e.fromTicker || e.fromAsset
|
|
4589
4661
|
] })
|
|
4590
4662
|
] }),
|
|
4591
4663
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-meta-row", children: [
|
|
@@ -5034,7 +5106,7 @@ function PaymentIsland(props) {
|
|
|
5034
5106
|
zero = false;
|
|
5035
5107
|
}
|
|
5036
5108
|
if (zero) map[key] = { disabled: true, reason: "no-balance", hint: "No balance on this chain" };
|
|
5037
|
-
else if (a.affordable === false) map[key] = { disabled: true, reason: "insufficient", hint: `Need ${a.route.source.payAmount} ${a.route.source.asset}` };
|
|
5109
|
+
else if (a.affordable === false) map[key] = { disabled: true, reason: "insufficient", hint: `Need ${a.route.source.payAmount} ${a.route.source.ticker || a.route.source.asset}` };
|
|
5038
5110
|
else map[key] = { disabled: false };
|
|
5039
5111
|
}
|
|
5040
5112
|
return map;
|
|
@@ -5105,7 +5177,7 @@ function PaymentIsland(props) {
|
|
|
5105
5177
|
if (verdict === "available") continue;
|
|
5106
5178
|
states[key] = {
|
|
5107
5179
|
disabled: true,
|
|
5108
|
-
reason: verdict === "hub-only" ? `${token
|
|
5180
|
+
reason: verdict === "hub-only" ? `${tokenTicker(token)} cannot be delivered on this chain.` : "ZeroDelta cannot deliver this asset here.",
|
|
5109
5181
|
hint: verdict === "hub-only" ? "Not here" : "Unavailable"
|
|
5110
5182
|
};
|
|
5111
5183
|
}
|
|
@@ -5123,6 +5195,7 @@ function PaymentIsland(props) {
|
|
|
5123
5195
|
list.push(
|
|
5124
5196
|
reg ?? {
|
|
5125
5197
|
symbol: r.source.asset,
|
|
5198
|
+
displaySymbol: r.source.ticker,
|
|
5126
5199
|
name: r.source.asset,
|
|
5127
5200
|
chainId: r.source.chainId,
|
|
5128
5201
|
address: r.source.tokenAddress ?? "",
|
|
@@ -5255,10 +5328,11 @@ function PaymentIsland(props) {
|
|
|
5255
5328
|
const selBal = sel ? holdings.balances[balanceKey(sel.source.chainId, sel.source.tokenAddress)] : void 0;
|
|
5256
5329
|
const lastTxOwned = Boolean(flow.lastTxEntry?.hash && wallet.account && flow.lastTxEntry.account === wallet.account.toLowerCase());
|
|
5257
5330
|
const mismatch = flow.status === "error" && flow.verdict?.status === "mismatch";
|
|
5258
|
-
const
|
|
5331
|
+
const destTicker = isPay ? tickerOn(registryTokens, props.toChainId, props.toAsset ?? "") : exToToken ? tokenTicker(exToToken) : exToAsset ?? "";
|
|
5332
|
+
const exFromTicker = exFromToken ? tokenTicker(exFromToken) : exFromAsset ?? "";
|
|
5259
5333
|
const anchorAmount = sel?.receive.amount ?? (flow.status === "loading" ? "\u2026" : "\u2014");
|
|
5260
5334
|
const successAmount = isPay ? props.amount : sel?.receive.amount;
|
|
5261
|
-
const money = props.moneyDisplay ?? (isPay ? props.amount ? `${props.amount} ${
|
|
5335
|
+
const money = props.moneyDisplay ?? (isPay ? props.amount ? `${props.amount} ${destTicker}` : "" : exAmount ? `${exAmount} ${exFromTicker}`.trim() : "");
|
|
5262
5336
|
const verb = isPay ? { present: "Pay", gerund: "Paying", past: "Paid" } : kind === "swap" ? { present: "Swap", gerund: "Swapping", past: "Swapped" } : { present: "Exchange", gerund: "Exchanging", past: "Exchanged" };
|
|
5263
5337
|
const paid = flow.status === "success";
|
|
5264
5338
|
const settling = flow.status === "pending";
|
|
@@ -5313,7 +5387,7 @@ function PaymentIsland(props) {
|
|
|
5313
5387
|
const liveMsg = flow.status === "loading" ? isPay ? "Finding the best way to pay." : "Finding the best route." : flow.status === "submitting" ? `${activeStep?.label ?? (isPay ? "Processing your payment" : `Processing your ${verb.present.toLowerCase()}`)} \u2014 in progress.` : flow.status === "success" || flow.status === "pending" ? flow.verdict?.status === "confirmed" ? isPay ? "Payment confirmed on-chain \u2014 the merchant has been settled." : `${verb.past} \u2014 confirmed on-chain.` : isPay ? "Payment sent \u2014 confirmation is still pending." : "Submitted \u2014 confirmation is still pending." : "";
|
|
5314
5388
|
const loading = flow.status === "loading";
|
|
5315
5389
|
const payReady = isPay ? Boolean(sel && selectedVisible) : Boolean(sel);
|
|
5316
|
-
const ctaLabel = submitting ? isPay ? "Paying\u2026" : kind === "swap" ? "Swapping\u2026" : "Exchanging\u2026" : flow.insufficient ? "Insufficient balance" : flow.nativeShortfall ? flow.nativeShortfall : loading ? "Getting a price\u2026" : isPay ? sel && selectedVisible ? `Pay ${sel.source.payAmount} ${sel.source.asset}` : "Pay" : kind === "swap" ? "Swap" : "Exchange";
|
|
5390
|
+
const ctaLabel = submitting ? isPay ? "Paying\u2026" : kind === "swap" ? "Swapping\u2026" : "Exchanging\u2026" : flow.insufficient ? "Insufficient balance" : flow.nativeShortfall ? flow.nativeShortfall : loading ? "Getting a price\u2026" : isPay ? sel && selectedVisible ? `Pay ${sel.source.payAmount} ${sel.source.ticker || sel.source.asset}` : "Pay" : kind === "swap" ? "Swap" : "Exchange";
|
|
5317
5391
|
const exPct = (p) => {
|
|
5318
5392
|
if (!exFromBal || !exFromToken) return;
|
|
5319
5393
|
const raw = BigInt(exFromBal.raw);
|
|
@@ -5335,7 +5409,7 @@ function PaymentIsland(props) {
|
|
|
5335
5409
|
"Balance: ",
|
|
5336
5410
|
exFromBal.formatted,
|
|
5337
5411
|
" ",
|
|
5338
|
-
|
|
5412
|
+
exFromTicker
|
|
5339
5413
|
] }) : null,
|
|
5340
5414
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-pct-row", role: "group", "aria-label": "Amount shortcuts", children: [25, 50, 75, 100].map((p) => /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", className: "sg-pct", disabled: !exFromBal || submitting, onClick: () => exPct(p), children: p === 100 ? "MAX" : `${p}%` }, p)) })
|
|
5341
5415
|
] })
|
|
@@ -5401,7 +5475,7 @@ function PaymentIsland(props) {
|
|
|
5401
5475
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-label", children: "You receive (estimated)" }),
|
|
5402
5476
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-anchor sg-mono", children: [
|
|
5403
5477
|
"\u2014 ",
|
|
5404
|
-
|
|
5478
|
+
destTicker
|
|
5405
5479
|
] }),
|
|
5406
5480
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-anchor-sub", children: "Connect your wallet to see the estimated receive amount." })
|
|
5407
5481
|
] })
|
|
@@ -5421,7 +5495,7 @@ function PaymentIsland(props) {
|
|
|
5421
5495
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-receipt-amt sg-mono", children: [
|
|
5422
5496
|
successAmount,
|
|
5423
5497
|
" ",
|
|
5424
|
-
|
|
5498
|
+
destTicker
|
|
5425
5499
|
] }),
|
|
5426
5500
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-receipt-sub", children: [
|
|
5427
5501
|
confirmed ? "Confirmed on-chain" : "Confirmation pending",
|
|
@@ -5473,7 +5547,7 @@ function PaymentIsland(props) {
|
|
|
5473
5547
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-anchor sg-mono", children: [
|
|
5474
5548
|
anchorAmount,
|
|
5475
5549
|
" ",
|
|
5476
|
-
|
|
5550
|
+
destTicker
|
|
5477
5551
|
] })
|
|
5478
5552
|
] })
|
|
5479
5553
|
] }),
|
|
@@ -5517,7 +5591,7 @@ function PaymentIsland(props) {
|
|
|
5517
5591
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-anchor sg-mono", children: [
|
|
5518
5592
|
sel.source.payAmount,
|
|
5519
5593
|
" ",
|
|
5520
|
-
sel.source.asset
|
|
5594
|
+
sel.source.ticker || sel.source.asset
|
|
5521
5595
|
] }),
|
|
5522
5596
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-anchor-sub", children: [
|
|
5523
5597
|
"on ",
|
|
@@ -5530,7 +5604,7 @@ function PaymentIsland(props) {
|
|
|
5530
5604
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-anchor sg-mono", children: [
|
|
5531
5605
|
sel.source.payAmount,
|
|
5532
5606
|
" ",
|
|
5533
|
-
sel.source.asset
|
|
5607
|
+
sel.source.ticker || sel.source.asset
|
|
5534
5608
|
] }),
|
|
5535
5609
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-anchor-sub", children: [
|
|
5536
5610
|
"on ",
|
|
@@ -5685,7 +5759,7 @@ function StableGeniePay(props) {
|
|
|
5685
5759
|
if (zero) {
|
|
5686
5760
|
map[key] = { disabled: true, reason: "no-balance", hint: "No balance on this chain" };
|
|
5687
5761
|
} else if (a.affordable === false) {
|
|
5688
|
-
map[key] = { disabled: true, reason: "insufficient", hint: `Need ${a.route.source.payAmount} ${a.route.source.asset}` };
|
|
5762
|
+
map[key] = { disabled: true, reason: "insufficient", hint: `Need ${a.route.source.payAmount} ${a.route.source.ticker || a.route.source.asset}` };
|
|
5689
5763
|
} else {
|
|
5690
5764
|
map[key] = { disabled: false };
|
|
5691
5765
|
}
|
|
@@ -5719,6 +5793,7 @@ function StableGeniePay(props) {
|
|
|
5719
5793
|
list.push(
|
|
5720
5794
|
reg ?? {
|
|
5721
5795
|
symbol: r.source.asset,
|
|
5796
|
+
displaySymbol: r.source.ticker,
|
|
5722
5797
|
name: r.source.asset,
|
|
5723
5798
|
chainId: r.source.chainId,
|
|
5724
5799
|
address: r.source.tokenAddress ?? "",
|
|
@@ -5792,12 +5867,12 @@ function StableGeniePay(props) {
|
|
|
5792
5867
|
const sel = flow.selected;
|
|
5793
5868
|
const selectedVisible = Boolean(sel && visibleRoutes.some((r) => r.id === sel.id));
|
|
5794
5869
|
const selBal = sel ? holdings.balances[balanceKey(sel.source.chainId, sel.source.tokenAddress)] : void 0;
|
|
5795
|
-
const why = parked ? "" : sel && selectedVisible ? sel.state === "DIRECT" ? `Direct ${sel.source.asset} transfer on ${CHAIN_LABELS[sel.source.chainId] || sel.source.chainName} \xB7 lowest cost` : (
|
|
5870
|
+
const why = parked ? "" : sel && selectedVisible ? sel.state === "DIRECT" ? `Direct ${sel.source.ticker || sel.source.asset} transfer on ${CHAIN_LABELS[sel.source.chainId] || sel.source.chainName} \xB7 lowest cost` : (
|
|
5796
5871
|
// Deliberately does NOT restate the destination amount — that is merchant config, not a payer fact.
|
|
5797
5872
|
`Routed through ZeroDelta \xB7 the extra covers the network cost`
|
|
5798
5873
|
) : "Pay with USDC, USDT, or USDE from your wallet.";
|
|
5799
5874
|
const comingSoon = method === "card" ? "Card payments are coming soon. Today StableGenie pays from your connected wallet." : "Bank transfers are coming soon.";
|
|
5800
|
-
const payLabel = parked ? method === "card" ? "Card \u2014 coming soon" : "Bank \u2014 coming soon" : submitting ? "Paying\u2026" : flow.insufficient ? "Insufficient balance" : flow.nativeShortfall ? flow.nativeShortfall : sel && selectedVisible ? `Pay ${sel.source.payAmount} ${sel.source.asset}` : "Pay";
|
|
5875
|
+
const payLabel = parked ? method === "card" ? "Card \u2014 coming soon" : "Bank \u2014 coming soon" : submitting ? "Paying\u2026" : flow.insufficient ? "Insufficient balance" : flow.nativeShortfall ? flow.nativeShortfall : sel && selectedVisible ? `Pay ${sel.source.payAmount} ${sel.source.ticker || sel.source.asset}` : "Pay";
|
|
5801
5876
|
const walletSlot = wallet.account ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-head-tools", children: [
|
|
5802
5877
|
/* @__PURE__ */ jsxRuntime.jsx(HistoryButton, { btnRef: histBtnRef, disabled: submitting, onClick: () => setHist({}) }),
|
|
5803
5878
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-brand", children: [
|
|
@@ -5826,7 +5901,7 @@ function StableGeniePay(props) {
|
|
|
5826
5901
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-success-amt sg-mono", children: [
|
|
5827
5902
|
props.amount,
|
|
5828
5903
|
" ",
|
|
5829
|
-
props.toAsset
|
|
5904
|
+
tickerOn(registryTokens, props.toChainId, props.toAsset)
|
|
5830
5905
|
] }),
|
|
5831
5906
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-success-sub", children: [
|
|
5832
5907
|
flow.verdict?.status === "confirmed" ? "Confirmed on-chain" : "Submitted \u2014 awaiting confirmation",
|
|
@@ -5862,7 +5937,7 @@ function StableGeniePay(props) {
|
|
|
5862
5937
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-anchor sg-mono", children: [
|
|
5863
5938
|
sel.source.payAmount,
|
|
5864
5939
|
" ",
|
|
5865
|
-
sel.source.asset
|
|
5940
|
+
sel.source.ticker || sel.source.asset
|
|
5866
5941
|
] }),
|
|
5867
5942
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-anchor-sub", children: [
|
|
5868
5943
|
"on ",
|
|
@@ -5988,7 +6063,7 @@ function StableGenieSwap(props) {
|
|
|
5988
6063
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-success-amt sg-mono", children: [
|
|
5989
6064
|
receive,
|
|
5990
6065
|
" ",
|
|
5991
|
-
toAsset
|
|
6066
|
+
tickerOn(registryTokens, toChainId, toAsset)
|
|
5992
6067
|
] }),
|
|
5993
6068
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-success-sub", children: [
|
|
5994
6069
|
flow.verdict?.status === "confirmed" ? "Confirmed on-chain" : "Submitted \u2014 awaiting confirmation",
|
|
@@ -6106,6 +6181,8 @@ function StableGenieExchange(props) {
|
|
|
6106
6181
|
const fromToken = react.useMemo(() => from ? findToken(tokens, from.chainId, from.symbol) : null, [tokens, from]);
|
|
6107
6182
|
const toToken = react.useMemo(() => to ? findToken(tokens, to.chainId, to.symbol) : null, [tokens, to]);
|
|
6108
6183
|
const toSymbol = toToken?.symbol ?? to?.symbol ?? "";
|
|
6184
|
+
const fromTicker = fromToken ? tokenTicker(fromToken) : from?.symbol ?? "";
|
|
6185
|
+
const toTicker = toToken ? tokenTicker(toToken) : toSymbol;
|
|
6109
6186
|
const fromPickerTokens = react.useMemo(() => product === "rwa" ? counterpartTokens(sourceTokens, toToken) : sourceTokens, [product, sourceTokens, toToken]);
|
|
6110
6187
|
const toPickerTokens = react.useMemo(() => product === "rwa" ? counterpartTokens(tokens, fromToken) : tokens, [product, tokens, fromToken]);
|
|
6111
6188
|
const rwaSeeded = react.useRef(false);
|
|
@@ -6133,7 +6210,7 @@ function StableGenieExchange(props) {
|
|
|
6133
6210
|
if (verdict === "available") continue;
|
|
6134
6211
|
states[key] = {
|
|
6135
6212
|
disabled: true,
|
|
6136
|
-
reason: verdict === "hub-only" ? `${token
|
|
6213
|
+
reason: verdict === "hub-only" ? `${tokenTicker(token)} cannot be delivered on this chain \u2014 choose an execution chain.` : "ZeroDelta cannot deliver this asset here.",
|
|
6137
6214
|
hint: verdict === "hub-only" ? "Not here" : "Unavailable"
|
|
6138
6215
|
};
|
|
6139
6216
|
}
|
|
@@ -6255,7 +6332,7 @@ function StableGenieExchange(props) {
|
|
|
6255
6332
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-success-amt sg-mono", children: [
|
|
6256
6333
|
receive,
|
|
6257
6334
|
" ",
|
|
6258
|
-
|
|
6335
|
+
toTicker
|
|
6259
6336
|
] }),
|
|
6260
6337
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-success-sub", children: [
|
|
6261
6338
|
flow.verdict?.status === "confirmed" ? "Confirmed on-chain" : "Submitted \u2014 awaiting confirmation",
|
|
@@ -6284,7 +6361,7 @@ function StableGenieExchange(props) {
|
|
|
6284
6361
|
"Balance: ",
|
|
6285
6362
|
fromBal.formatted,
|
|
6286
6363
|
" ",
|
|
6287
|
-
|
|
6364
|
+
fromTicker
|
|
6288
6365
|
] }) : null,
|
|
6289
6366
|
mode !== "onramp" ? (
|
|
6290
6367
|
// a11y note: <fieldset> carries UA styling that would
|
|
@@ -6296,7 +6373,7 @@ function StableGenieExchange(props) {
|
|
|
6296
6373
|
!rampMode && quoteError && !wide ? /* @__PURE__ */ jsxRuntime.jsx(StatusPanel, { tone: "error", children: quoteError }) : null,
|
|
6297
6374
|
!rampMode && !wide && quotable && !quoteError ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-panel", style: { marginTop: 12 }, children: [
|
|
6298
6375
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-label", children: "You receive (estimated)" }),
|
|
6299
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-anchor sg-mono", children: quoting ? "\u2026" : receive ? `${receive} ${
|
|
6376
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-anchor sg-mono", children: quoting ? "\u2026" : receive ? `${receive} ${toTicker}` : "\u2014" }),
|
|
6300
6377
|
meta && !quoting ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-recv-sub", children: [
|
|
6301
6378
|
"via ",
|
|
6302
6379
|
meta.bridge,
|
|
@@ -6345,7 +6422,7 @@ function StableGenieExchange(props) {
|
|
|
6345
6422
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-recv-amt sg-mono", children: [
|
|
6346
6423
|
receive,
|
|
6347
6424
|
" ",
|
|
6348
|
-
|
|
6425
|
+
toTicker
|
|
6349
6426
|
] }),
|
|
6350
6427
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-recv-sub", children: [
|
|
6351
6428
|
"on ",
|
|
@@ -6357,7 +6434,7 @@ function StableGenieExchange(props) {
|
|
|
6357
6434
|
/* @__PURE__ */ jsxRuntime.jsxs("b", { className: "sg-mono", children: [
|
|
6358
6435
|
normalizedAmount,
|
|
6359
6436
|
" ",
|
|
6360
|
-
|
|
6437
|
+
fromTicker
|
|
6361
6438
|
] })
|
|
6362
6439
|
] }),
|
|
6363
6440
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-meta-row", children: [
|
package/dist/mount.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { M as MountConfig, r as mount } from './mount-
|
|
1
|
+
export { M as MountConfig, r as mount } from './mount-Dtbtdry1.cjs';
|
|
2
2
|
import 'react';
|
|
3
|
-
import './verify-
|
|
3
|
+
import './verify-57gjg_dM.cjs';
|
package/dist/mount.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { M as MountConfig, r as mount } from './mount-
|
|
1
|
+
export { M as MountConfig, r as mount } from './mount-Bver3O2z.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import './verify-
|
|
3
|
+
import './verify-57gjg_dM.js';
|
package/dist/mount.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { mount } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { mount } from './chunk-OOESQYM3.js';
|
|
2
|
+
import './chunk-FDCSZ3OY.js';
|