@skip-go/widget 3.1.5-alpha.0 → 3.1.5
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/build/index.js +705 -498
- package/package.json +2 -2
package/build/index.js
CHANGED
|
@@ -7,9 +7,9 @@ import { ErrorBoundary as ji } from "react-error-boundary";
|
|
|
7
7
|
import { atom as $, useSetAtom as X, useAtomValue as L, useAtom as he } from "jotai";
|
|
8
8
|
import { SkipClient as Em, ChainType as R } from "@skip-go/client";
|
|
9
9
|
import { atomWithQuery as so, atomWithMutation as Pm } from "jotai-tanstack-query";
|
|
10
|
-
import { getWallet as kn, WalletType as De, useAccount as Kr, useActiveWalletType as Fm, useDisconnect as
|
|
10
|
+
import { getWallet as kn, WalletType as De, useAccount as Kr, useActiveWalletType as Fm, useDisconnect as Mm, checkWallet as Bm, isWalletConnect as zm, connect as yt, getChainInfo as Sm, GrazProvider as qm } from "graz";
|
|
11
11
|
import { createClient as jm, custom as Im, walletActions as Hm, defineChain as Tm, http as ae, createPublicClient as Nm, isAddress as Vm } from "viem";
|
|
12
|
-
import { createConfig as Lm, createStorage as Rm, useAccount as ct, useConnectors as Xr, useConnect as
|
|
12
|
+
import { createConfig as Lm, createStorage as Rm, useAccount as ct, useConnectors as Xr, useConnect as Om, WagmiProvider as Wm } from "wagmi";
|
|
13
13
|
import { BackpackWalletAdapter as Um } from "@solana/wallet-adapter-backpack";
|
|
14
14
|
import { CoinbaseWalletAdapter as Gm } from "@solana/wallet-adapter-coinbase";
|
|
15
15
|
import { LedgerWalletAdapter as Km } from "@solana/wallet-adapter-ledger";
|
|
@@ -31,7 +31,7 @@ function cp(e) {
|
|
|
31
31
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
32
32
|
}
|
|
33
33
|
var Qr = { exports: {} }, Ee = Qr.exports = {}, un, dn;
|
|
34
|
-
function
|
|
34
|
+
function Wt() {
|
|
35
35
|
throw new Error("setTimeout has not been defined");
|
|
36
36
|
}
|
|
37
37
|
function Ut() {
|
|
@@ -39,9 +39,9 @@ function Ut() {
|
|
|
39
39
|
}
|
|
40
40
|
(function() {
|
|
41
41
|
try {
|
|
42
|
-
typeof setTimeout == "function" ? un = setTimeout : un =
|
|
42
|
+
typeof setTimeout == "function" ? un = setTimeout : un = Wt;
|
|
43
43
|
} catch {
|
|
44
|
-
un =
|
|
44
|
+
un = Wt;
|
|
45
45
|
}
|
|
46
46
|
try {
|
|
47
47
|
typeof clearTimeout == "function" ? dn = clearTimeout : dn = Ut;
|
|
@@ -52,7 +52,7 @@ function Ut() {
|
|
|
52
52
|
function _r(e) {
|
|
53
53
|
if (un === setTimeout)
|
|
54
54
|
return setTimeout(e, 0);
|
|
55
|
-
if ((un ===
|
|
55
|
+
if ((un === Wt || !un) && setTimeout)
|
|
56
56
|
return un = setTimeout, setTimeout(e, 0);
|
|
57
57
|
try {
|
|
58
58
|
return un(e, 0);
|
|
@@ -590,7 +590,7 @@ function ss(e, n, o) {
|
|
|
590
590
|
}
|
|
591
591
|
return e;
|
|
592
592
|
}
|
|
593
|
-
function
|
|
593
|
+
function Oi(e, n) {
|
|
594
594
|
for (var o = "", i = 0; i < e.length; i++)
|
|
595
595
|
o += n(e[i], i, e, n) || "";
|
|
596
596
|
return o;
|
|
@@ -605,13 +605,13 @@ function Fp(e, n, o, i) {
|
|
|
605
605
|
case os:
|
|
606
606
|
return "";
|
|
607
607
|
case is:
|
|
608
|
-
return e.return = e.value + "{" +
|
|
608
|
+
return e.return = e.value + "{" + Oi(e.children, i) + "}";
|
|
609
609
|
case at:
|
|
610
610
|
if (!Dn(e.value = e.props.join(","))) return "";
|
|
611
611
|
}
|
|
612
|
-
return Dn(o =
|
|
612
|
+
return Dn(o = Oi(e.children, i)) ? e.return = e.value + "{" + o + "}" : "";
|
|
613
613
|
}
|
|
614
|
-
function
|
|
614
|
+
function Mp(e) {
|
|
615
615
|
var n = as(e);
|
|
616
616
|
return function(o, i, t, c) {
|
|
617
617
|
for (var a = "", r = 0; r < n; r++)
|
|
@@ -619,7 +619,7 @@ function Bp(e) {
|
|
|
619
619
|
return a;
|
|
620
620
|
};
|
|
621
621
|
}
|
|
622
|
-
function
|
|
622
|
+
function Bp(e) {
|
|
623
623
|
return function(n) {
|
|
624
624
|
n.root || (n = n.return) && e(n);
|
|
625
625
|
};
|
|
@@ -631,7 +631,7 @@ function zp(e, n, o, i) {
|
|
|
631
631
|
e.return = ss(e.value, e.length, o);
|
|
632
632
|
return;
|
|
633
633
|
case is:
|
|
634
|
-
return
|
|
634
|
+
return Oi([jn(e, { value: ne(e.value, "@", "@" + re) })], i);
|
|
635
635
|
case at:
|
|
636
636
|
if (e.length)
|
|
637
637
|
return gp(o = e.props, function(t) {
|
|
@@ -697,7 +697,7 @@ var Sp = {
|
|
|
697
697
|
strokeOpacity: 1,
|
|
698
698
|
strokeWidth: 1
|
|
699
699
|
}, io = typeof te < "u" && te.env !== void 0 && (te.env.REACT_APP_SC_ATTR || te.env.SC_ATTR) || "data-styled", ls = "active", ms = "data-styled-version", mt = "6.1.13", Pc = `/*!sc*/
|
|
700
|
-
`,
|
|
700
|
+
`, Wi = typeof window < "u" && "HTMLElement" in window, qp = !!(typeof SC_DISABLE_SPEEDY == "boolean" ? SC_DISABLE_SPEEDY : typeof te < "u" && te.env !== void 0 && te.env.REACT_APP_SC_DISABLE_SPEEDY !== void 0 && te.env.REACT_APP_SC_DISABLE_SPEEDY !== "" ? te.env.REACT_APP_SC_DISABLE_SPEEDY !== "false" && te.env.REACT_APP_SC_DISABLE_SPEEDY : typeof te < "u" && te.env !== void 0 && te.env.SC_DISABLE_SPEEDY !== void 0 && te.env.SC_DISABLE_SPEEDY !== "" ? te.env.SC_DISABLE_SPEEDY !== "false" && te.env.SC_DISABLE_SPEEDY : te.env.NODE_ENV !== "production"), xa = /invalid hook call/i, wi = /* @__PURE__ */ new Set(), jp = function(e, n) {
|
|
701
701
|
if (te.env.NODE_ENV !== "production") {
|
|
702
702
|
var o = n ? ' with the id of "'.concat(n, '"') : "", i = "The component ".concat(e).concat(o, ` has been created dynamically.
|
|
703
703
|
`) + `You may see this warning because you've called styled inside another component.
|
|
@@ -745,12 +745,12 @@ function ds(e) {
|
|
|
745
745
|
function Pt(e) {
|
|
746
746
|
return typeof e == "string" && (te.env.NODE_ENV === "production" || e.charAt(0) === e.charAt(0).toLowerCase());
|
|
747
747
|
}
|
|
748
|
-
var Ds = typeof Symbol == "function" && Symbol.for, xs = Ds ? Symbol.for("react.memo") : 60115, Vp = Ds ? Symbol.for("react.forward_ref") : 60112, Lp = { childContextTypes: !0, contextType: !0, contextTypes: !0, defaultProps: !0, displayName: !0, getDefaultProps: !0, getDerivedStateFromError: !0, getDerivedStateFromProps: !0, mixins: !0, propTypes: !0, type: !0 }, Rp = { name: !0, length: !0, prototype: !0, caller: !0, callee: !0, arguments: !0, arity: !0 }, gs = { $$typeof: !0, compare: !0, defaultProps: !0, displayName: !0, propTypes: !0, type: !0 },
|
|
748
|
+
var Ds = typeof Symbol == "function" && Symbol.for, xs = Ds ? Symbol.for("react.memo") : 60115, Vp = Ds ? Symbol.for("react.forward_ref") : 60112, Lp = { childContextTypes: !0, contextType: !0, contextTypes: !0, defaultProps: !0, displayName: !0, getDefaultProps: !0, getDerivedStateFromError: !0, getDerivedStateFromProps: !0, mixins: !0, propTypes: !0, type: !0 }, Rp = { name: !0, length: !0, prototype: !0, caller: !0, callee: !0, arguments: !0, arity: !0 }, gs = { $$typeof: !0, compare: !0, defaultProps: !0, displayName: !0, propTypes: !0, type: !0 }, Op = ((Et = {})[Vp] = { $$typeof: !0, render: !0, defaultProps: !0, displayName: !0, propTypes: !0 }, Et[xs] = gs, Et);
|
|
749
749
|
function ba(e) {
|
|
750
|
-
return ("type" in (n = e) && n.type.$$typeof) === xs ? gs : "$$typeof" in e ?
|
|
750
|
+
return ("type" in (n = e) && n.type.$$typeof) === xs ? gs : "$$typeof" in e ? Op[e.$$typeof] : Lp;
|
|
751
751
|
var n;
|
|
752
752
|
}
|
|
753
|
-
var
|
|
753
|
+
var Wp = Object.defineProperty, Up = Object.getOwnPropertyNames, Aa = Object.getOwnPropertySymbols, Gp = Object.getOwnPropertyDescriptor, Kp = Object.getPrototypeOf, Ca = Object.prototype;
|
|
754
754
|
function fs(e, n, o) {
|
|
755
755
|
if (typeof n != "string") {
|
|
756
756
|
if (Ca) {
|
|
@@ -764,7 +764,7 @@ function fs(e, n, o) {
|
|
|
764
764
|
if (!(s in Rp || o && o[s] || a && s in a || c && s in c)) {
|
|
765
765
|
var l = Gp(n, s);
|
|
766
766
|
try {
|
|
767
|
-
|
|
767
|
+
Wp(e, s, l);
|
|
768
768
|
} catch {
|
|
769
769
|
}
|
|
770
770
|
}
|
|
@@ -795,7 +795,7 @@ function Qt(e, n, o) {
|
|
|
795
795
|
else if (yo(n)) for (var i in n) e[i] = Qt(e[i], n[i]);
|
|
796
796
|
return e;
|
|
797
797
|
}
|
|
798
|
-
function
|
|
798
|
+
function Mc(e, n) {
|
|
799
799
|
Object.defineProperty(e, "toString", { value: n });
|
|
800
800
|
}
|
|
801
801
|
var Xp = te.env.NODE_ENV !== "production" ? { 1: `Cannot create styled-component for component: %s.
|
|
@@ -964,11 +964,11 @@ var bs = function(e) {
|
|
|
964
964
|
}, e.prototype.getRule = function(n) {
|
|
965
965
|
return n < this.length ? this.rules[n] : "";
|
|
966
966
|
}, e;
|
|
967
|
-
}(), wa =
|
|
967
|
+
}(), wa = Wi, ah = { isServer: !Wi, useCSSOMInjection: !qp }, As = function() {
|
|
968
968
|
function e(n, o, i) {
|
|
969
969
|
n === void 0 && (n = wo), o === void 0 && (o = {});
|
|
970
970
|
var t = this;
|
|
971
|
-
this.options = Ie(Ie({}, ah), n), this.gs = o, this.names = new Map(i), this.server = !!n.isServer, !this.server &&
|
|
971
|
+
this.options = Ie(Ie({}, ah), n), this.gs = o, this.names = new Map(i), this.server = !!n.isServer, !this.server && Wi && wa && (wa = !1, ka(this)), Mc(this, function() {
|
|
972
972
|
return function(c) {
|
|
973
973
|
for (var a = c.getTag(), r = a.length, s = "", l = function(h) {
|
|
974
974
|
var D = function(T) {
|
|
@@ -989,7 +989,7 @@ var bs = function(e) {
|
|
|
989
989
|
return e.registerId = function(n) {
|
|
990
990
|
return vi(n);
|
|
991
991
|
}, e.prototype.rehydrate = function() {
|
|
992
|
-
!this.server &&
|
|
992
|
+
!this.server && Wi && ka(this);
|
|
993
993
|
}, e.prototype.reconstructWithOptions = function(n, o) {
|
|
994
994
|
return o === void 0 && (o = !0), new e(Ie(Ie({}, this.options), n), this.gs, o && this.names || void 0);
|
|
995
995
|
}, e.prototype.allocateGSInstance = function(n) {
|
|
@@ -1037,7 +1037,7 @@ function ks(e) {
|
|
|
1037
1037
|
var F = D.replace(sh, ""), T = Ep(w || x ? "".concat(w, " ").concat(x, " { ").concat(F, " }") : F);
|
|
1038
1038
|
a.namespace && (T = Cs(T, a.namespace));
|
|
1039
1039
|
var A = [];
|
|
1040
|
-
return
|
|
1040
|
+
return Oi(T, Mp(p.concat(Bp(function(C) {
|
|
1041
1041
|
return A.push(C);
|
|
1042
1042
|
})))), A;
|
|
1043
1043
|
};
|
|
@@ -1045,11 +1045,11 @@ function ks(e) {
|
|
|
1045
1045
|
return x.name || gn(15), Jn(D, x.name);
|
|
1046
1046
|
}, ps).toString() : "", h;
|
|
1047
1047
|
}
|
|
1048
|
-
var lh = new As(), _t = ks(),
|
|
1049
|
-
|
|
1048
|
+
var lh = new As(), _t = ks(), Bc = rn.createContext({ shouldForwardProp: void 0, styleSheet: lh, stylis: _t });
|
|
1049
|
+
Bc.Consumer;
|
|
1050
1050
|
var mh = rn.createContext(void 0);
|
|
1051
1051
|
function $t() {
|
|
1052
|
-
return kc(
|
|
1052
|
+
return kc(Bc);
|
|
1053
1053
|
}
|
|
1054
1054
|
function ph(e) {
|
|
1055
1055
|
var n = ue(e.stylisPlugins), o = n[0], i = n[1], t = $t().styleSheet, c = U(function() {
|
|
@@ -1064,7 +1064,7 @@ function ph(e) {
|
|
|
1064
1064
|
var r = U(function() {
|
|
1065
1065
|
return { shouldForwardProp: e.shouldForwardProp, styleSheet: c, stylis: a };
|
|
1066
1066
|
}, [e.shouldForwardProp, c, a]);
|
|
1067
|
-
return rn.createElement(
|
|
1067
|
+
return rn.createElement(Bc.Provider, { value: r }, rn.createElement(mh.Provider, { value: a }, e.children));
|
|
1068
1068
|
}
|
|
1069
1069
|
var ec = function() {
|
|
1070
1070
|
function e(n, o) {
|
|
@@ -1073,7 +1073,7 @@ var ec = function() {
|
|
|
1073
1073
|
c === void 0 && (c = _t);
|
|
1074
1074
|
var a = i.name + c.hash;
|
|
1075
1075
|
t.hasNameForId(i.id, a) || t.insertRules(i.id, a, c(i.rules, a, "@keyframes"));
|
|
1076
|
-
}, this.name = n, this.id = "sc-keyframes-".concat(n), this.rules = o,
|
|
1076
|
+
}, this.name = n, this.id = "sc-keyframes-".concat(n), this.rules = o, Mc(this, function() {
|
|
1077
1077
|
throw gn(12, String(i.name));
|
|
1078
1078
|
});
|
|
1079
1079
|
}
|
|
@@ -1196,23 +1196,23 @@ function gh(e, n, o) {
|
|
|
1196
1196
|
var T = new Dh(o, D, i ? t.componentStyle : void 0);
|
|
1197
1197
|
function A(S, I) {
|
|
1198
1198
|
return function(j, q, u) {
|
|
1199
|
-
var d = j.attrs, f = j.componentStyle, P = j.defaultProps, g = j.foldedComponentIds, b = j.styledComponentId, E = j.target, k = rn.useContext(ti), y = $t(),
|
|
1199
|
+
var d = j.attrs, f = j.componentStyle, P = j.defaultProps, g = j.foldedComponentIds, b = j.styledComponentId, E = j.target, k = rn.useContext(ti), y = $t(), B = j.shouldForwardProp || y.shouldForwardProp;
|
|
1200
1200
|
te.env.NODE_ENV !== "production" && pa(b);
|
|
1201
|
-
var
|
|
1201
|
+
var M = Ip(q, k, P) || wo, H = function(Y, ee, le) {
|
|
1202
1202
|
for (var on, tn = Ie(Ie({}, ee), { className: void 0, theme: le }), Kn = 0; Kn < Y.length; Kn += 1) {
|
|
1203
1203
|
var Ne = to(on = Y[Kn]) ? on(tn) : on;
|
|
1204
1204
|
for (var Le in Ne) tn[Le] = Le === "className" ? _n(tn[Le], Ne[Le]) : Le === "style" ? Ie(Ie({}, tn[Le]), Ne[Le]) : Ne[Le];
|
|
1205
1205
|
}
|
|
1206
1206
|
return ee.className && (tn.className = _n(tn.className, ee.className)), tn;
|
|
1207
|
-
}(d, q,
|
|
1208
|
-
for (var J in H) H[J] === void 0 || J[0] === "$" || J === "as" || J === "theme" && H.theme ===
|
|
1207
|
+
}(d, q, M), O = H.as || E, W = {};
|
|
1208
|
+
for (var J in H) H[J] === void 0 || J[0] === "$" || J === "as" || J === "theme" && H.theme === M || (J === "forwardedAs" ? W.as = H.forwardedAs : B && !B(J, O) || (W[J] = H[J], B || te.env.NODE_ENV !== "development" || ns(J) || va.has(J) || !Zt.has(O) || (va.add(J), console.warn('styled-components: it looks like an unknown prop "'.concat(J, '" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));
|
|
1209
1209
|
var G = function(Y, ee) {
|
|
1210
1210
|
var le = $t(), on = Y.generateAndInjectStyles(ee, le.styleSheet, le.stylis);
|
|
1211
1211
|
return te.env.NODE_ENV !== "production" && pa(on), on;
|
|
1212
1212
|
}(f, H);
|
|
1213
1213
|
te.env.NODE_ENV !== "production" && j.warnTooManyClasses && j.warnTooManyClasses(G);
|
|
1214
1214
|
var ce = _n(g, b);
|
|
1215
|
-
return G && (ce += " " + G), H.className && (ce += " " + H.className),
|
|
1215
|
+
return G && (ce += " " + G), H.className && (ce += " " + H.className), W[Pt(O) && !Zt.has(O) ? "class" : "className"] = ce, W.ref = u, Am(O, W);
|
|
1216
1216
|
}(C, S, I);
|
|
1217
1217
|
}
|
|
1218
1218
|
A.displayName = h;
|
|
@@ -1242,7 +1242,7 @@ Example:
|
|
|
1242
1242
|
<Component />`), q = !0, j = {};
|
|
1243
1243
|
}
|
|
1244
1244
|
};
|
|
1245
|
-
}(h, D)),
|
|
1245
|
+
}(h, D)), Mc(C, function() {
|
|
1246
1246
|
return ".".concat(C.styledComponentId);
|
|
1247
1247
|
}), c && fs(C, e, { attrs: !0, componentStyle: !0, displayName: !0, foldedComponentIds: !0, shouldForwardProp: !0, styledComponentId: !0, target: !0 }), C;
|
|
1248
1248
|
}
|
|
@@ -1468,12 +1468,12 @@ function oc(e, n) {
|
|
|
1468
1468
|
return (Ph ? "production" : void 0) !== "production" && this.debugLabel ? o + ":" + this.debugLabel : o;
|
|
1469
1469
|
}
|
|
1470
1470
|
};
|
|
1471
|
-
return typeof e == "function" ? i.read = e : (i.init = e, i.read =
|
|
1471
|
+
return typeof e == "function" ? i.read = e : (i.init = e, i.read = Mh, i.write = Bh), n && (i.write = n), i;
|
|
1472
1472
|
}
|
|
1473
|
-
function
|
|
1473
|
+
function Mh(e) {
|
|
1474
1474
|
return e(this);
|
|
1475
1475
|
}
|
|
1476
|
-
function
|
|
1476
|
+
function Bh(e, n, o) {
|
|
1477
1477
|
return n(
|
|
1478
1478
|
this,
|
|
1479
1479
|
typeof o == "function" ? o(e(this)) : o
|
|
@@ -1580,7 +1580,7 @@ var Pe = /* @__PURE__ */ ((e) => (e[e.AuthFailed = 0] = "AuthFailed", e[e.Timeou
|
|
|
1580
1580
|
const ic = "https://go.skip.build", Ih = {
|
|
1581
1581
|
getRpcEndpointForChain: async (e) => `${ic}/api/rpc/${e}`,
|
|
1582
1582
|
getRestEndpointForChain: async (e) => `${ic}/api/rest/${e}`
|
|
1583
|
-
}, Hh = `${ic}/api/skip`,
|
|
1583
|
+
}, Hh = `${ic}/api/skip`, Ms = $({
|
|
1584
1584
|
options: {
|
|
1585
1585
|
projectId: "ff1b9e9bd6329cfb07642bd7f4d11a8c",
|
|
1586
1586
|
name: "Skip Go"
|
|
@@ -1596,7 +1596,7 @@ const ic = "https://go.skip.build", Ih = {
|
|
|
1596
1596
|
"dimension_37-1",
|
|
1597
1597
|
"haqq_11235-1",
|
|
1598
1598
|
"shido_9008-1"
|
|
1599
|
-
],
|
|
1599
|
+
], Bs = $(), ht = $(), zs = "2.21.55";
|
|
1600
1600
|
let Ko = {
|
|
1601
1601
|
getDocsUrl: ({ docsBaseUrl: e, docsPath: n = "", docsSlug: o }) => n ? `${e ?? "https://viem.sh"}${n}${o ? `#${o}` : ""}` : void 0,
|
|
1602
1602
|
version: `viem@${zs}`
|
|
@@ -1675,7 +1675,7 @@ class qs extends oe {
|
|
|
1675
1675
|
}
|
|
1676
1676
|
}
|
|
1677
1677
|
function To(e, { dir: n, size: o = 32 } = {}) {
|
|
1678
|
-
return typeof e == "string" ? Rh(e, { dir: n, size: o }) :
|
|
1678
|
+
return typeof e == "string" ? Rh(e, { dir: n, size: o }) : Oh(e, { dir: n, size: o });
|
|
1679
1679
|
}
|
|
1680
1680
|
function Rh(e, { dir: n, size: o = 32 } = {}) {
|
|
1681
1681
|
if (o === null)
|
|
@@ -1689,7 +1689,7 @@ function Rh(e, { dir: n, size: o = 32 } = {}) {
|
|
|
1689
1689
|
});
|
|
1690
1690
|
return `0x${i[n === "right" ? "padEnd" : "padStart"](o * 2, "0")}`;
|
|
1691
1691
|
}
|
|
1692
|
-
function
|
|
1692
|
+
function Oh(e, { dir: n, size: o = 32 } = {}) {
|
|
1693
1693
|
if (o === null)
|
|
1694
1694
|
return e;
|
|
1695
1695
|
if (e.length > o)
|
|
@@ -1717,7 +1717,7 @@ function Eo(e, { dir: n = "left" } = {}) {
|
|
|
1717
1717
|
i++;
|
|
1718
1718
|
return o = n === "left" ? o.slice(i) : o.slice(0, o.length - i), typeof e == "string" ? (o.length === 1 && n === "right" && (o = `${o}0`), `0x${o.length % 2 === 1 ? `0${o}` : o}`) : o;
|
|
1719
1719
|
}
|
|
1720
|
-
const
|
|
1720
|
+
const Wh = /* @__PURE__ */ new TextEncoder();
|
|
1721
1721
|
function js(e, n = {}) {
|
|
1722
1722
|
return typeof e == "number" || typeof e == "bigint" ? Gh(e, n) : typeof e == "boolean" ? Uh(e, n) : ui(e) ? co(e, n) : Is(e, n);
|
|
1723
1723
|
}
|
|
@@ -1756,11 +1756,11 @@ function co(e, n = {}) {
|
|
|
1756
1756
|
return c;
|
|
1757
1757
|
}
|
|
1758
1758
|
function Gh(e, n) {
|
|
1759
|
-
const o =
|
|
1759
|
+
const o = Oe(e, n);
|
|
1760
1760
|
return co(o);
|
|
1761
1761
|
}
|
|
1762
1762
|
function Is(e, n = {}) {
|
|
1763
|
-
const o =
|
|
1763
|
+
const o = Wh.encode(e);
|
|
1764
1764
|
return typeof n.size == "number" ? (No(o, { size: n.size }), To(o, { dir: "right", size: n.size })) : o;
|
|
1765
1765
|
}
|
|
1766
1766
|
function No(e, { size: n }) {
|
|
@@ -1784,20 +1784,20 @@ function Ki(e, n = {}) {
|
|
|
1784
1784
|
}
|
|
1785
1785
|
const Kh = /* @__PURE__ */ Array.from({ length: 256 }, (e, n) => n.toString(16).padStart(2, "0"));
|
|
1786
1786
|
function Q(e, n = {}) {
|
|
1787
|
-
return typeof e == "number" || typeof e == "bigint" ?
|
|
1787
|
+
return typeof e == "number" || typeof e == "bigint" ? Oe(e, n) : typeof e == "string" ? Jh(e, n) : typeof e == "boolean" ? Xh(e, n) : Mn(e, n);
|
|
1788
1788
|
}
|
|
1789
1789
|
function Xh(e, n = {}) {
|
|
1790
1790
|
const o = `0x${Number(e)}`;
|
|
1791
1791
|
return typeof n.size == "number" ? (No(o, { size: n.size }), To(o, { size: n.size })) : o;
|
|
1792
1792
|
}
|
|
1793
|
-
function
|
|
1793
|
+
function Mn(e, n = {}) {
|
|
1794
1794
|
let o = "";
|
|
1795
1795
|
for (let t = 0; t < e.length; t++)
|
|
1796
1796
|
o += Kh[e[t]];
|
|
1797
1797
|
const i = `0x${o}`;
|
|
1798
1798
|
return typeof n.size == "number" ? (No(i, { size: n.size }), To(i, { dir: "right", size: n.size })) : i;
|
|
1799
1799
|
}
|
|
1800
|
-
function
|
|
1800
|
+
function Oe(e, n = {}) {
|
|
1801
1801
|
const { signed: o, size: i } = n, t = BigInt(e);
|
|
1802
1802
|
let c;
|
|
1803
1803
|
i ? o ? c = (1n << BigInt(i) * 8n - 1n) - 1n : c = 2n ** (BigInt(i) * 8n) - 1n : typeof e == "number" && (c = BigInt(Number.MAX_SAFE_INTEGER));
|
|
@@ -1818,7 +1818,7 @@ function We(e, n = {}) {
|
|
|
1818
1818
|
const Zh = /* @__PURE__ */ new TextEncoder();
|
|
1819
1819
|
function Jh(e, n = {}) {
|
|
1820
1820
|
const o = Zh.encode(e);
|
|
1821
|
-
return
|
|
1821
|
+
return Mn(o, n);
|
|
1822
1822
|
}
|
|
1823
1823
|
function Vo(e) {
|
|
1824
1824
|
return `0x${e.reduce((n, o) => n + o.replace("0x", ""), "")}`;
|
|
@@ -1855,7 +1855,7 @@ class Hs extends Map {
|
|
|
1855
1855
|
return this;
|
|
1856
1856
|
}
|
|
1857
1857
|
}
|
|
1858
|
-
function
|
|
1858
|
+
function Ma(e) {
|
|
1859
1859
|
if (!Number.isSafeInteger(e) || e < 0)
|
|
1860
1860
|
throw new Error("positive integer expected, got " + e);
|
|
1861
1861
|
}
|
|
@@ -1880,9 +1880,9 @@ function Ts(e, n) {
|
|
|
1880
1880
|
if (e.length < o)
|
|
1881
1881
|
throw new Error("digestInto() expects output buffer of length at least " + o);
|
|
1882
1882
|
}
|
|
1883
|
-
const Pi = /* @__PURE__ */ BigInt(2 ** 32 - 1),
|
|
1883
|
+
const Pi = /* @__PURE__ */ BigInt(2 ** 32 - 1), Ba = /* @__PURE__ */ BigInt(32);
|
|
1884
1884
|
function Qh(e, n = !1) {
|
|
1885
|
-
return n ? { h: Number(e & Pi), l: Number(e >>
|
|
1885
|
+
return n ? { h: Number(e & Pi), l: Number(e >> Ba & Pi) } : { h: Number(e >> Ba & Pi) | 0, l: Number(e & Pi) | 0 };
|
|
1886
1886
|
}
|
|
1887
1887
|
function _h(e, n = !1) {
|
|
1888
1888
|
let o = new Uint32Array(e.length), i = new Uint32Array(e.length);
|
|
@@ -1894,7 +1894,7 @@ function _h(e, n = !1) {
|
|
|
1894
1894
|
}
|
|
1895
1895
|
const $h = (e, n, o) => e << o | n >>> 32 - o, eu = (e, n, o) => n << o | e >>> 32 - o, nu = (e, n, o) => n << o - 32 | e >>> 64 - o, ou = (e, n, o) => e << o - 32 | n >>> 64 - o;
|
|
1896
1896
|
/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
1897
|
-
const iu = (e) => new Uint32Array(e.buffer, e.byteOffset, Math.floor(e.byteLength / 4)),
|
|
1897
|
+
const iu = (e) => new Uint32Array(e.buffer, e.byteOffset, Math.floor(e.byteLength / 4)), Mt = (e) => new DataView(e.buffer, e.byteOffset, e.byteLength), hn = (e, n) => e << 32 - n | e >>> n, za = new Uint8Array(new Uint32Array([287454020]).buffer)[0] === 68, tu = (e) => e << 24 & 4278190080 | e << 8 & 16711680 | e >>> 8 & 65280 | e >>> 24 & 255;
|
|
1898
1898
|
function Sa(e) {
|
|
1899
1899
|
for (let n = 0; n < e.length; n++)
|
|
1900
1900
|
e[n] = tu(e[n]);
|
|
@@ -1917,15 +1917,15 @@ function Vs(e) {
|
|
|
1917
1917
|
const n = (i) => e().update(Vc(i)).digest(), o = e();
|
|
1918
1918
|
return n.outputLen = o.outputLen, n.blockLen = o.blockLen, n.create = () => e(), n;
|
|
1919
1919
|
}
|
|
1920
|
-
const Ls = [], Rs = [],
|
|
1920
|
+
const Ls = [], Rs = [], Os = [], au = /* @__PURE__ */ BigInt(0), Xo = /* @__PURE__ */ BigInt(1), ru = /* @__PURE__ */ BigInt(2), su = /* @__PURE__ */ BigInt(7), lu = /* @__PURE__ */ BigInt(256), mu = /* @__PURE__ */ BigInt(113);
|
|
1921
1921
|
for (let e = 0, n = Xo, o = 1, i = 0; e < 24; e++) {
|
|
1922
1922
|
[o, i] = [i, (2 * o + 3 * i) % 5], Ls.push(2 * (5 * i + o)), Rs.push((e + 1) * (e + 2) / 2 % 64);
|
|
1923
1923
|
let t = au;
|
|
1924
1924
|
for (let c = 0; c < 7; c++)
|
|
1925
1925
|
n = (n << Xo ^ (n >> su) * mu) % lu, n & ru && (t ^= Xo << (Xo << /* @__PURE__ */ BigInt(c)) - Xo);
|
|
1926
|
-
|
|
1926
|
+
Os.push(t);
|
|
1927
1927
|
}
|
|
1928
|
-
const [pu, hu] = /* @__PURE__ */ _h(
|
|
1928
|
+
const [pu, hu] = /* @__PURE__ */ _h(Os, !0), qa = (e, n, o) => o > 32 ? nu(e, n, o) : $h(e, n, o), ja = (e, n, o) => o > 32 ? ou(e, n, o) : eu(e, n, o);
|
|
1929
1929
|
function uu(e, n = 24) {
|
|
1930
1930
|
const o = new Uint32Array(10);
|
|
1931
1931
|
for (let i = 24 - n; i < 24; i++) {
|
|
@@ -1954,7 +1954,7 @@ function uu(e, n = 24) {
|
|
|
1954
1954
|
class Lc extends Ns {
|
|
1955
1955
|
// NOTE: we accept arguments in bytes instead of bits here.
|
|
1956
1956
|
constructor(n, o, i, t = !1, c = 24) {
|
|
1957
|
-
if (super(), this.blockLen = n, this.suffix = o, this.outputLen = i, this.enableXOF = t, this.rounds = c, this.pos = 0, this.posOut = 0, this.finished = !1, this.destroyed = !1,
|
|
1957
|
+
if (super(), this.blockLen = n, this.suffix = o, this.outputLen = i, this.enableXOF = t, this.rounds = c, this.pos = 0, this.posOut = 0, this.finished = !1, this.destroyed = !1, Ma(i), 0 >= this.blockLen || this.blockLen >= 200)
|
|
1958
1958
|
throw new Error("Sha3 supports only keccak-f1600 function");
|
|
1959
1959
|
this.state = new Uint8Array(200), this.state32 = iu(this.state);
|
|
1960
1960
|
}
|
|
@@ -1997,7 +1997,7 @@ class Lc extends Ns {
|
|
|
1997
1997
|
return this.writeInto(n);
|
|
1998
1998
|
}
|
|
1999
1999
|
xof(n) {
|
|
2000
|
-
return
|
|
2000
|
+
return Ma(n), this.xofInto(new Uint8Array(n));
|
|
2001
2001
|
}
|
|
2002
2002
|
digestInto(n) {
|
|
2003
2003
|
if (Ts(n, this), this.finished)
|
|
@@ -2019,27 +2019,27 @@ const du = (e, n, o) => Vs(() => new Lc(n, e, o)), Du = /* @__PURE__ */ du(1, 13
|
|
|
2019
2019
|
function xu(e, n) {
|
|
2020
2020
|
return Du(ui(e, { strict: !1 }) ? js(e) : e);
|
|
2021
2021
|
}
|
|
2022
|
-
const
|
|
2023
|
-
function
|
|
2024
|
-
if (
|
|
2025
|
-
return
|
|
2022
|
+
const Bt = /* @__PURE__ */ new Hs(8192);
|
|
2023
|
+
function Ws(e, n) {
|
|
2024
|
+
if (Bt.has(`${e}.${n}`))
|
|
2025
|
+
return Bt.get(`${e}.${n}`);
|
|
2026
2026
|
const o = e.substring(2).toLowerCase(), i = xu(Is(o)), t = o.split("");
|
|
2027
2027
|
for (let a = 0; a < 40; a += 2)
|
|
2028
2028
|
i[a >> 1] >> 4 >= 8 && t[a] && (t[a] = t[a].toUpperCase()), (i[a >> 1] & 15) >= 8 && t[a + 1] && (t[a + 1] = t[a + 1].toUpperCase());
|
|
2029
2029
|
const c = `0x${t.join("")}`;
|
|
2030
|
-
return
|
|
2030
|
+
return Bt.set(`${e}.${n}`, c), c;
|
|
2031
2031
|
}
|
|
2032
2032
|
function gu(e, n) {
|
|
2033
2033
|
if (!_e(e, { strict: !1 }))
|
|
2034
2034
|
throw new sn({ address: e });
|
|
2035
|
-
return
|
|
2035
|
+
return Ws(e, n);
|
|
2036
2036
|
}
|
|
2037
2037
|
const fu = /^0x[a-fA-F0-9]{40}$/, zt = /* @__PURE__ */ new Hs(8192);
|
|
2038
2038
|
function _e(e, n) {
|
|
2039
2039
|
const { strict: o = !0 } = n ?? {}, i = `${e}.${o}`;
|
|
2040
2040
|
if (zt.has(i))
|
|
2041
2041
|
return zt.get(i);
|
|
2042
|
-
const t = fu.test(e) ? e.toLowerCase() === e ? !0 : o ?
|
|
2042
|
+
const t = fu.test(e) ? e.toLowerCase() === e ? !0 : o ? Ws(e) === e : !0 : !1;
|
|
2043
2043
|
return zt.set(i, t), t;
|
|
2044
2044
|
}
|
|
2045
2045
|
function bu(e, n, o, { strict: i } = {}) {
|
|
@@ -2226,7 +2226,7 @@ function Gs(e, { recursiveReadLimit: n = 8192 } = {}) {
|
|
|
2226
2226
|
}
|
|
2227
2227
|
function Tn(e, n = "hex") {
|
|
2228
2228
|
const o = Ks(e), i = Gs(new Uint8Array(o.length));
|
|
2229
|
-
return o.encode(i), n === "hex" ?
|
|
2229
|
+
return o.encode(i), n === "hex" ? Mn(i.bytes) : i.bytes;
|
|
2230
2230
|
}
|
|
2231
2231
|
function Ks(e) {
|
|
2232
2232
|
return Array.isArray(e) ? Eu(e.map((n) => Ks(n))) : Pu(e);
|
|
@@ -2270,7 +2270,7 @@ class di extends oe {
|
|
|
2270
2270
|
const Fu = {
|
|
2271
2271
|
gwei: 9,
|
|
2272
2272
|
wei: 18
|
|
2273
|
-
},
|
|
2273
|
+
}, Mu = {
|
|
2274
2274
|
ether: -9,
|
|
2275
2275
|
wei: 9
|
|
2276
2276
|
};
|
|
@@ -2285,7 +2285,7 @@ function Zs(e, n) {
|
|
|
2285
2285
|
return c = c.replace(/(0+)$/, ""), `${i ? "-" : ""}${t || "0"}${c ? `.${c}` : ""}`;
|
|
2286
2286
|
}
|
|
2287
2287
|
function no(e, n = "wei") {
|
|
2288
|
-
return Zs(e,
|
|
2288
|
+
return Zs(e, Mu[n]);
|
|
2289
2289
|
}
|
|
2290
2290
|
class uo extends oe {
|
|
2291
2291
|
constructor({ cause: n, message: o } = {}) {
|
|
@@ -2468,7 +2468,7 @@ class Js extends oe {
|
|
|
2468
2468
|
});
|
|
2469
2469
|
}
|
|
2470
2470
|
}
|
|
2471
|
-
function
|
|
2471
|
+
function Bu(e, n = "wei") {
|
|
2472
2472
|
return Zs(e, Fu[n]);
|
|
2473
2473
|
}
|
|
2474
2474
|
function Ys(e) {
|
|
@@ -2577,7 +2577,7 @@ const Tu = {
|
|
|
2577
2577
|
};
|
|
2578
2578
|
function Qs(e) {
|
|
2579
2579
|
const n = {};
|
|
2580
|
-
return typeof e.authorizationList < "u" && (n.authorizationList = Vu(e.authorizationList)), typeof e.accessList < "u" && (n.accessList = e.accessList), typeof e.blobVersionedHashes < "u" && (n.blobVersionedHashes = e.blobVersionedHashes), typeof e.blobs < "u" && (typeof e.blobs[0] != "string" ? n.blobs = e.blobs.map((o) =>
|
|
2580
|
+
return typeof e.authorizationList < "u" && (n.authorizationList = Vu(e.authorizationList)), typeof e.accessList < "u" && (n.accessList = e.accessList), typeof e.blobVersionedHashes < "u" && (n.blobVersionedHashes = e.blobVersionedHashes), typeof e.blobs < "u" && (typeof e.blobs[0] != "string" ? n.blobs = e.blobs.map((o) => Mn(o)) : n.blobs = e.blobs), typeof e.data < "u" && (n.data = e.data), typeof e.from < "u" && (n.from = e.from), typeof e.gas < "u" && (n.gas = Oe(e.gas)), typeof e.gasPrice < "u" && (n.gasPrice = Oe(e.gasPrice)), typeof e.maxFeePerBlobGas < "u" && (n.maxFeePerBlobGas = Oe(e.maxFeePerBlobGas)), typeof e.maxFeePerGas < "u" && (n.maxFeePerGas = Oe(e.maxFeePerGas)), typeof e.maxPriorityFeePerGas < "u" && (n.maxPriorityFeePerGas = Oe(e.maxPriorityFeePerGas)), typeof e.nonce < "u" && (n.nonce = Oe(e.nonce)), typeof e.to < "u" && (n.to = e.to), typeof e.type < "u" && (n.type = Tu[e.type]), typeof e.value < "u" && (n.value = Oe(e.value)), n;
|
|
2581
2581
|
}
|
|
2582
2582
|
const Nu = /* @__PURE__ */ dt("transactionRequest", Qs);
|
|
2583
2583
|
function Vu(e) {
|
|
@@ -2585,10 +2585,10 @@ function Vu(e) {
|
|
|
2585
2585
|
address: n.contractAddress,
|
|
2586
2586
|
r: n.r,
|
|
2587
2587
|
s: n.s,
|
|
2588
|
-
chainId:
|
|
2589
|
-
nonce:
|
|
2590
|
-
...typeof n.yParity < "u" ? { yParity:
|
|
2591
|
-
...typeof n.v < "u" && typeof n.yParity > "u" ? { v:
|
|
2588
|
+
chainId: Oe(n.chainId),
|
|
2589
|
+
nonce: Oe(n.nonce),
|
|
2590
|
+
...typeof n.yParity < "u" ? { yParity: Oe(n.yParity) } : {},
|
|
2591
|
+
...typeof n.v < "u" && typeof n.yParity > "u" ? { v: Oe(n.v) } : {}
|
|
2592
2592
|
}));
|
|
2593
2593
|
}
|
|
2594
2594
|
const Di = 2n ** 256n - 1n;
|
|
@@ -2655,7 +2655,7 @@ function Ru(e) {
|
|
|
2655
2655
|
yParity: Number(n.yParity)
|
|
2656
2656
|
}));
|
|
2657
2657
|
}
|
|
2658
|
-
function
|
|
2658
|
+
function Ou(e) {
|
|
2659
2659
|
const n = (e.transactions ?? []).map((o) => typeof o == "string" ? o : Dt(o));
|
|
2660
2660
|
return {
|
|
2661
2661
|
...e,
|
|
@@ -2675,12 +2675,12 @@ function Wu(e) {
|
|
|
2675
2675
|
totalDifficulty: e.totalDifficulty ? BigInt(e.totalDifficulty) : null
|
|
2676
2676
|
};
|
|
2677
2677
|
}
|
|
2678
|
-
const el = /* @__PURE__ */ dt("block",
|
|
2678
|
+
const el = /* @__PURE__ */ dt("block", Ou);
|
|
2679
2679
|
function Ha(e) {
|
|
2680
2680
|
return e.reduce((n, { slot: o, value: i }) => `${n} ${o}: ${i}
|
|
2681
2681
|
`, "");
|
|
2682
2682
|
}
|
|
2683
|
-
function
|
|
2683
|
+
function Wu(e) {
|
|
2684
2684
|
return e.reduce((n, { address: o, ...i }) => {
|
|
2685
2685
|
let t = `${n} ${o}:
|
|
2686
2686
|
`;
|
|
@@ -2697,7 +2697,7 @@ function nl(e) {
|
|
|
2697
2697
|
const { kzg: n } = e, o = e.to ?? (typeof e.blobs[0] == "string" ? "hex" : "bytes"), i = typeof e.blobs[0] == "string" ? e.blobs.map((c) => co(c)) : e.blobs, t = [];
|
|
2698
2698
|
for (const c of i)
|
|
2699
2699
|
t.push(Uint8Array.from(n.blobToKzgCommitment(c)));
|
|
2700
|
-
return o === "bytes" ? t : t.map((c) =>
|
|
2700
|
+
return o === "bytes" ? t : t.map((c) => Mn(c));
|
|
2701
2701
|
}
|
|
2702
2702
|
function ol(e) {
|
|
2703
2703
|
const { kzg: n } = e, o = e.to ?? (typeof e.blobs[0] == "string" ? "hex" : "bytes"), i = typeof e.blobs[0] == "string" ? e.blobs.map((a) => co(a)) : e.blobs, t = typeof e.commitments[0] == "string" ? e.commitments.map((a) => co(a)) : e.commitments, c = [];
|
|
@@ -2705,7 +2705,7 @@ function ol(e) {
|
|
|
2705
2705
|
const r = i[a], s = t[a];
|
|
2706
2706
|
c.push(Uint8Array.from(n.computeBlobKzgProof(r, s)));
|
|
2707
2707
|
}
|
|
2708
|
-
return o === "bytes" ? c : c.map((a) =>
|
|
2708
|
+
return o === "bytes" ? c : c.map((a) => Mn(a));
|
|
2709
2709
|
}
|
|
2710
2710
|
function Uu(e, n, o, i) {
|
|
2711
2711
|
if (typeof e.setBigUint64 == "function")
|
|
@@ -2716,7 +2716,7 @@ function Uu(e, n, o, i) {
|
|
|
2716
2716
|
const Gu = (e, n, o) => e & n ^ ~e & o, Ku = (e, n, o) => e & n ^ e & o ^ n & o;
|
|
2717
2717
|
class Xu extends Ns {
|
|
2718
2718
|
constructor(n, o, i, t) {
|
|
2719
|
-
super(), this.blockLen = n, this.outputLen = o, this.padOffset = i, this.isLE = t, this.finished = !1, this.length = 0, this.pos = 0, this.destroyed = !1, this.buffer = new Uint8Array(n), this.view =
|
|
2719
|
+
super(), this.blockLen = n, this.outputLen = o, this.padOffset = i, this.isLE = t, this.finished = !1, this.length = 0, this.pos = 0, this.destroyed = !1, this.buffer = new Uint8Array(n), this.view = Mt(this.buffer);
|
|
2720
2720
|
}
|
|
2721
2721
|
update(n) {
|
|
2722
2722
|
Xi(this);
|
|
@@ -2726,7 +2726,7 @@ class Xu extends Ns {
|
|
|
2726
2726
|
for (let a = 0; a < c; ) {
|
|
2727
2727
|
const r = Math.min(t - this.pos, c - a);
|
|
2728
2728
|
if (r === t) {
|
|
2729
|
-
const s =
|
|
2729
|
+
const s = Mt(n);
|
|
2730
2730
|
for (; t <= c - a; a += t)
|
|
2731
2731
|
this.process(s, a);
|
|
2732
2732
|
continue;
|
|
@@ -2743,7 +2743,7 @@ class Xu extends Ns {
|
|
|
2743
2743
|
for (let h = a; h < t; h++)
|
|
2744
2744
|
o[h] = 0;
|
|
2745
2745
|
Uu(i, t - 8, BigInt(this.length * 8), c), this.process(i, 0);
|
|
2746
|
-
const r =
|
|
2746
|
+
const r = Mt(n), s = this.outputLen;
|
|
2747
2747
|
if (s % 4)
|
|
2748
2748
|
throw new Error("_sha2: outputLen should be aligned to 32bit");
|
|
2749
2749
|
const l = s / 4, p = this.get();
|
|
@@ -2878,7 +2878,7 @@ function Qu(e, n) {
|
|
|
2878
2878
|
}
|
|
2879
2879
|
function _u(e) {
|
|
2880
2880
|
const { commitment: n, version: o = 1 } = e, i = e.to ?? (typeof n == "string" ? "hex" : "bytes"), t = Qu(n);
|
|
2881
|
-
return t.set([o], 0), i === "bytes" ? t :
|
|
2881
|
+
return t.set([o], 0), i === "bytes" ? t : Mn(t);
|
|
2882
2882
|
}
|
|
2883
2883
|
function $u(e) {
|
|
2884
2884
|
const { commitments: n, version: o } = e, i = e.to ?? (typeof n[0] == "string" ? "hex" : "bytes"), t = [];
|
|
@@ -2949,7 +2949,7 @@ function id(e) {
|
|
|
2949
2949
|
}
|
|
2950
2950
|
t.push(r);
|
|
2951
2951
|
}
|
|
2952
|
-
return n === "bytes" ? t.map((r) => r.bytes) : t.map((r) =>
|
|
2952
|
+
return n === "bytes" ? t.map((r) => r.bytes) : t.map((r) => Mn(r.bytes));
|
|
2953
2953
|
}
|
|
2954
2954
|
function td(e) {
|
|
2955
2955
|
const { data: n, kzg: o, to: i } = e, t = e.blobs ?? id({ data: n, to: i }), c = e.commitments ?? nl({ blobs: t, kzg: o, to: i }), a = e.proofs ?? ol({ blobs: t, commitments: c, kzg: o, to: i }), r = [];
|
|
@@ -2981,7 +2981,7 @@ class ad extends oe {
|
|
|
2981
2981
|
let v = Ys({
|
|
2982
2982
|
from: w == null ? void 0 : w.address,
|
|
2983
2983
|
to: h,
|
|
2984
|
-
value: typeof D < "u" && `${
|
|
2984
|
+
value: typeof D < "u" && `${Bu(D)} ${((F = t == null ? void 0 : t.nativeCurrency) == null ? void 0 : F.symbol) || "ETH"}`,
|
|
2985
2985
|
data: c,
|
|
2986
2986
|
gas: a,
|
|
2987
2987
|
gasPrice: typeof r < "u" && `${no(r)} gwei`,
|
|
@@ -2990,7 +2990,7 @@ class ad extends oe {
|
|
|
2990
2990
|
nonce: p
|
|
2991
2991
|
});
|
|
2992
2992
|
x && (v += `
|
|
2993
|
-
${
|
|
2993
|
+
${Wu(x)}`), super(n.shortMessage, {
|
|
2994
2994
|
cause: n,
|
|
2995
2995
|
docsPath: i,
|
|
2996
2996
|
metaMessages: [
|
|
@@ -3067,7 +3067,7 @@ function hd(e) {
|
|
|
3067
3067
|
if (t < 0)
|
|
3068
3068
|
throw new di({ chainId: t });
|
|
3069
3069
|
}
|
|
3070
|
-
|
|
3070
|
+
Oc(e);
|
|
3071
3071
|
}
|
|
3072
3072
|
function ud(e) {
|
|
3073
3073
|
const { blobVersionedHashes: n } = e;
|
|
@@ -3085,9 +3085,9 @@ function ud(e) {
|
|
|
3085
3085
|
});
|
|
3086
3086
|
}
|
|
3087
3087
|
}
|
|
3088
|
-
|
|
3088
|
+
Oc(e);
|
|
3089
3089
|
}
|
|
3090
|
-
function
|
|
3090
|
+
function Oc(e) {
|
|
3091
3091
|
const { chainId: n, maxPriorityFeePerGas: o, maxFeePerGas: i, to: t } = e;
|
|
3092
3092
|
if (n <= 0)
|
|
3093
3093
|
throw new di({ chainId: n });
|
|
@@ -3180,7 +3180,7 @@ function bd(e, n) {
|
|
|
3180
3180
|
ud(e);
|
|
3181
3181
|
let D = e.blobVersionedHashes, x = e.sidecars;
|
|
3182
3182
|
if (e.blobs && (typeof D > "u" || typeof x > "u")) {
|
|
3183
|
-
const C = typeof e.blobs[0] == "string" ? e.blobs : e.blobs.map((j) =>
|
|
3183
|
+
const C = typeof e.blobs[0] == "string" ? e.blobs : e.blobs.map((j) => Mn(j)), S = e.kzg, I = nl({
|
|
3184
3184
|
blobs: C,
|
|
3185
3185
|
kzg: S
|
|
3186
3186
|
});
|
|
@@ -3218,7 +3218,7 @@ function bd(e, n) {
|
|
|
3218
3218
|
}
|
|
3219
3219
|
function Ad(e, n) {
|
|
3220
3220
|
const { chainId: o, gas: i, nonce: t, to: c, value: a, maxFeePerGas: r, maxPriorityFeePerGas: s, accessList: l, data: p } = e;
|
|
3221
|
-
|
|
3221
|
+
Oc(e);
|
|
3222
3222
|
const h = xi(l), D = [
|
|
3223
3223
|
Q(o),
|
|
3224
3224
|
t ? Q(t) : "0x",
|
|
@@ -3414,7 +3414,7 @@ class Fd extends ao {
|
|
|
3414
3414
|
});
|
|
3415
3415
|
}
|
|
3416
3416
|
}
|
|
3417
|
-
async function
|
|
3417
|
+
async function Md(e, n = {}) {
|
|
3418
3418
|
let o;
|
|
3419
3419
|
if (n.connector) {
|
|
3420
3420
|
const { connector: l } = n;
|
|
@@ -3456,8 +3456,8 @@ async function Bd(e, n = {}) {
|
|
|
3456
3456
|
transport: (l) => Im(s)({ ...l, retryCount: 0 })
|
|
3457
3457
|
});
|
|
3458
3458
|
}
|
|
3459
|
-
async function
|
|
3460
|
-
return (await
|
|
3459
|
+
async function Bd(e, n = {}) {
|
|
3460
|
+
return (await Md(e, n)).extend(Hm);
|
|
3461
3461
|
}
|
|
3462
3462
|
const ll = {
|
|
3463
3463
|
gasPriceOracle: { address: "0x420000000000000000000000000000000000000F" },
|
|
@@ -3612,7 +3612,7 @@ const Vn = {
|
|
|
3612
3612
|
blockCreated: 11907934
|
|
3613
3613
|
}
|
|
3614
3614
|
}
|
|
3615
|
-
}),
|
|
3615
|
+
}), Oa = /* @__PURE__ */ pe({
|
|
3616
3616
|
id: 43113,
|
|
3617
3617
|
name: "Avalanche Fuji",
|
|
3618
3618
|
nativeCurrency: {
|
|
@@ -3637,7 +3637,7 @@ const Vn = {
|
|
|
3637
3637
|
}
|
|
3638
3638
|
},
|
|
3639
3639
|
testnet: !0
|
|
3640
|
-
}), Zo = 1,
|
|
3640
|
+
}), Zo = 1, Wa = /* @__PURE__ */ pe({
|
|
3641
3641
|
...Vn,
|
|
3642
3642
|
id: 8453,
|
|
3643
3643
|
name: "Base",
|
|
@@ -3885,7 +3885,7 @@ function Rd(e) {
|
|
|
3885
3885
|
function hl(e) {
|
|
3886
3886
|
return e.type === "cip64" ? !0 : Rd(e) && ni(e.feeCurrency);
|
|
3887
3887
|
}
|
|
3888
|
-
const
|
|
3888
|
+
const Od = {
|
|
3889
3889
|
block: /* @__PURE__ */ el({
|
|
3890
3890
|
format(e) {
|
|
3891
3891
|
var o;
|
|
@@ -3922,11 +3922,11 @@ const Wd = {
|
|
|
3922
3922
|
}
|
|
3923
3923
|
})
|
|
3924
3924
|
};
|
|
3925
|
-
function
|
|
3925
|
+
function Wd(e, n) {
|
|
3926
3926
|
return hl(e) ? Gd(e, n) : ml(e, n);
|
|
3927
3927
|
}
|
|
3928
3928
|
const Ud = {
|
|
3929
|
-
transaction:
|
|
3929
|
+
transaction: Wd
|
|
3930
3930
|
};
|
|
3931
3931
|
function Gd(e, n) {
|
|
3932
3932
|
Xd(e);
|
|
@@ -3968,7 +3968,7 @@ function Xd(e) {
|
|
|
3968
3968
|
}
|
|
3969
3969
|
const Zd = {
|
|
3970
3970
|
contracts: ll,
|
|
3971
|
-
formatters:
|
|
3971
|
+
formatters: Od,
|
|
3972
3972
|
serializers: Ud,
|
|
3973
3973
|
fees: Nd
|
|
3974
3974
|
}, Ja = /* @__PURE__ */ pe({
|
|
@@ -4156,7 +4156,7 @@ async function Jd(e, n) {
|
|
|
4156
4156
|
throw new ku();
|
|
4157
4157
|
const i = ut(o);
|
|
4158
4158
|
try {
|
|
4159
|
-
const { accessList: r, blockNumber: s, blockTag: l, data: p, gas: h, gasPrice: D, maxFeePerGas: x, maxPriorityFeePerGas: w, nonce: v, to: F, value: T, ...A } = n, S = (s ?
|
|
4159
|
+
const { accessList: r, blockNumber: s, blockTag: l, data: p, gas: h, gasPrice: D, maxFeePerGas: x, maxPriorityFeePerGas: w, nonce: v, to: F, value: T, ...A } = n, S = (s ? Oe(s) : void 0) || l;
|
|
4160
4160
|
Lu(n);
|
|
4161
4161
|
const I = (a = (c = (t = e.chain) == null ? void 0 : t.formatters) == null ? void 0 : c.transactionRequest) == null ? void 0 : a.format, q = (I || Qs)({
|
|
4162
4162
|
// Pick out extra data that might exist on the chain's transaction request type.
|
|
@@ -4583,11 +4583,11 @@ const ir = /* @__PURE__ */ pe({
|
|
|
4583
4583
|
}
|
|
4584
4584
|
},
|
|
4585
4585
|
testnet: !0
|
|
4586
|
-
}),
|
|
4586
|
+
}), Wc = Lm({
|
|
4587
4587
|
chains: [
|
|
4588
4588
|
Va,
|
|
4589
4589
|
Ra,
|
|
4590
|
-
|
|
4590
|
+
Wa,
|
|
4591
4591
|
Xa,
|
|
4592
4592
|
Ja,
|
|
4593
4593
|
Ya,
|
|
@@ -4601,7 +4601,7 @@ const ir = /* @__PURE__ */ pe({
|
|
|
4601
4601
|
pr,
|
|
4602
4602
|
hr,
|
|
4603
4603
|
ur,
|
|
4604
|
-
|
|
4604
|
+
Oa,
|
|
4605
4605
|
Ua,
|
|
4606
4606
|
mr,
|
|
4607
4607
|
La,
|
|
@@ -4619,7 +4619,7 @@ const ir = /* @__PURE__ */ pe({
|
|
|
4619
4619
|
transports: {
|
|
4620
4620
|
[Va.id]: ae(),
|
|
4621
4621
|
[Ra.id]: ae(),
|
|
4622
|
-
[
|
|
4622
|
+
[Wa.id]: ae(),
|
|
4623
4623
|
[Xa.id]: ae(),
|
|
4624
4624
|
[Ja.id]: ae(),
|
|
4625
4625
|
[Ya.id]: ae(),
|
|
@@ -4633,7 +4633,7 @@ const ir = /* @__PURE__ */ pe({
|
|
|
4633
4633
|
[pr.id]: ae(),
|
|
4634
4634
|
[hr.id]: ae(),
|
|
4635
4635
|
[ur.id]: ae(),
|
|
4636
|
-
[
|
|
4636
|
+
[Oa.id]: ae(),
|
|
4637
4637
|
[Ua.id]: ae(),
|
|
4638
4638
|
[mr.id]: ae(),
|
|
4639
4639
|
[La.id]: ae(),
|
|
@@ -4673,8 +4673,8 @@ const ir = /* @__PURE__ */ pe({
|
|
|
4673
4673
|
}, Gc = $({
|
|
4674
4674
|
apiURL: Yi.apiUrl,
|
|
4675
4675
|
endpointOptions: Yi.endpointOptions
|
|
4676
|
-
}), Dl = $(Gi),
|
|
4677
|
-
const n = e(Gc), o = e(Tc), i = e(
|
|
4676
|
+
}), Dl = $(Gi), Bn = $((e) => {
|
|
4677
|
+
const n = e(Gc), o = e(Tc), i = e(Bs);
|
|
4678
4678
|
return new Em({
|
|
4679
4679
|
...n,
|
|
4680
4680
|
getCosmosSigner: async (t) => {
|
|
@@ -4687,7 +4687,7 @@ const ir = /* @__PURE__ */ pe({
|
|
|
4687
4687
|
throw new Error("getCosmosSigner error: wallet not found");
|
|
4688
4688
|
return (await c.getKey(t)).isNanoLedger ? c.getOfflineSignerOnlyAmino(t) : c.getOfflineSigner(t);
|
|
4689
4689
|
},
|
|
4690
|
-
getEVMSigner: async (t) => i != null && i.getEVMSigner ? i.getEVMSigner(t) : await
|
|
4690
|
+
getEVMSigner: async (t) => i != null && i.getEVMSigner ? i.getEVMSigner(t) : await Bd(Wc, {
|
|
4691
4691
|
chainId: parseInt(t)
|
|
4692
4692
|
}),
|
|
4693
4693
|
getSVMSigner: async () => {
|
|
@@ -4715,7 +4715,7 @@ const ir = /* @__PURE__ */ pe({
|
|
|
4715
4715
|
});
|
|
4716
4716
|
return o;
|
|
4717
4717
|
}, gi = $(void 0), fn = so((e) => {
|
|
4718
|
-
const n = e(
|
|
4718
|
+
const n = e(Bn), o = e(Be), i = e(gi);
|
|
4719
4719
|
return {
|
|
4720
4720
|
queryKey: ["skipAssets", i],
|
|
4721
4721
|
queryFn: async () => n.assets({
|
|
@@ -4725,8 +4725,8 @@ const ir = /* @__PURE__ */ pe({
|
|
|
4725
4725
|
onlyTestnets: i
|
|
4726
4726
|
}).then((t) => Qd(t, o.data))
|
|
4727
4727
|
};
|
|
4728
|
-
}),
|
|
4729
|
-
const n = e(
|
|
4728
|
+
}), Be = so((e) => {
|
|
4729
|
+
const n = e(Bn), o = e(gi);
|
|
4730
4730
|
return {
|
|
4731
4731
|
queryKey: ["skipChains", o],
|
|
4732
4732
|
queryFn: async () => n.chains({
|
|
@@ -4736,13 +4736,13 @@ const ir = /* @__PURE__ */ pe({
|
|
|
4736
4736
|
})
|
|
4737
4737
|
};
|
|
4738
4738
|
}), _d = so((e) => {
|
|
4739
|
-
const n = e(
|
|
4739
|
+
const n = e(Bn);
|
|
4740
4740
|
return {
|
|
4741
4741
|
queryKey: ["skipBridges"],
|
|
4742
4742
|
queryFn: async () => n.bridges()
|
|
4743
4743
|
};
|
|
4744
4744
|
}), Kc = so((e) => {
|
|
4745
|
-
const n = e(
|
|
4745
|
+
const n = e(Bn), o = e(gi);
|
|
4746
4746
|
return {
|
|
4747
4747
|
queryKey: ["skipSwapVenue", o],
|
|
4748
4748
|
queryFn: async () => n.venues(o)
|
|
@@ -5307,16 +5307,16 @@ const ci = {
|
|
|
5307
5307
|
${bi}
|
|
5308
5308
|
cursor: pointer;
|
|
5309
5309
|
letter-spacing: 0.01em;
|
|
5310
|
-
`,
|
|
5310
|
+
`, Me = N(K)`
|
|
5311
5311
|
color: ${(e) => e.theme.primary.text.normal};
|
|
5312
5312
|
font-size: 20px;
|
|
5313
5313
|
font-weight: 500;
|
|
5314
5314
|
letter-spacing: 0;
|
|
5315
5315
|
${Al}
|
|
5316
|
-
`, gr = N(
|
|
5316
|
+
`, gr = N(Me).attrs({ as: "button" })`
|
|
5317
5317
|
${bi}
|
|
5318
5318
|
cursor: pointer;
|
|
5319
|
-
`,
|
|
5319
|
+
`, Wn = ({
|
|
5320
5320
|
title: e,
|
|
5321
5321
|
description: n,
|
|
5322
5322
|
textColor: o,
|
|
@@ -5336,7 +5336,7 @@ const ci = {
|
|
|
5336
5336
|
padding: 16,
|
|
5337
5337
|
children: [
|
|
5338
5338
|
/* @__PURE__ */ m(a, { backgroundColor: o, color: i, height: 40, width: 40 }),
|
|
5339
|
-
typeof e == "string" ? /* @__PURE__ */ m(
|
|
5339
|
+
typeof e == "string" ? /* @__PURE__ */ m(Me, { fontSize: 20, color: o, textAlign: "center", children: e }) : e,
|
|
5340
5340
|
typeof n == "string" ? /* @__PURE__ */ m(D0, { children: /* @__PURE__ */ m(K, { color: o, textAlign: "center", style: {
|
|
5341
5341
|
wordWrap: "break-word"
|
|
5342
5342
|
}, children: n }) }) : n
|
|
@@ -5404,7 +5404,7 @@ const ci = {
|
|
|
5404
5404
|
o ? /* @__PURE__ */ z(V, { align: "center", gap: 10, children: [
|
|
5405
5405
|
/* @__PURE__ */ m(x, { backgroundColor: h, color: i }),
|
|
5406
5406
|
/* @__PURE__ */ m(
|
|
5407
|
-
|
|
5407
|
+
Me,
|
|
5408
5408
|
{
|
|
5409
5409
|
fontWeight: "bold",
|
|
5410
5410
|
fontSize: 24,
|
|
@@ -5415,7 +5415,7 @@ const ci = {
|
|
|
5415
5415
|
children: e
|
|
5416
5416
|
}
|
|
5417
5417
|
)
|
|
5418
|
-
] }) : /* @__PURE__ */ m(
|
|
5418
|
+
] }) : /* @__PURE__ */ m(Me, { fontWeight: "bold", capitalize: !0, fontSize: 24, color: h, mainButtonColor: i, letterSpacing: "-0.015em", children: e }),
|
|
5419
5419
|
/* @__PURE__ */ m(D, { backgroundColor: h, color: i })
|
|
5420
5420
|
]
|
|
5421
5421
|
}
|
|
@@ -5442,7 +5442,7 @@ const ci = {
|
|
|
5442
5442
|
padding: 20,
|
|
5443
5443
|
backgroundColor: n,
|
|
5444
5444
|
children: [
|
|
5445
|
-
/* @__PURE__ */ m(
|
|
5445
|
+
/* @__PURE__ */ m(Me, { fontWeight: "bold", fontSize: 24, style: { opacity: 0.5 }, letterSpacing: "-0.015em", children: e }),
|
|
5446
5446
|
o && /* @__PURE__ */ z(b0, { align: "center", justify: "center", children: [
|
|
5447
5447
|
t,
|
|
5448
5448
|
/* @__PURE__ */ z(K, { children: [
|
|
@@ -5559,70 +5559,70 @@ function kl(e) {
|
|
|
5559
5559
|
suffix: ""
|
|
5560
5560
|
}, F = "0123456789abcdefghijklmnopqrstuvwxyz", T = !0;
|
|
5561
5561
|
function A(u, d) {
|
|
5562
|
-
var f, P, g, b, E, k, y,
|
|
5563
|
-
if (!(
|
|
5562
|
+
var f, P, g, b, E, k, y, B, M = this;
|
|
5563
|
+
if (!(M instanceof A)) return new A(u, d);
|
|
5564
5564
|
if (d == null) {
|
|
5565
5565
|
if (u && u._isBigNumber === !0) {
|
|
5566
|
-
|
|
5566
|
+
M.s = u.s, !u.c || u.e > h ? M.c = M.e = null : u.e < p ? M.c = [M.e = 0] : (M.e = u.e, M.c = u.c.slice());
|
|
5567
5567
|
return;
|
|
5568
5568
|
}
|
|
5569
5569
|
if ((k = typeof u == "number") && u * 0 == 0) {
|
|
5570
|
-
if (
|
|
5570
|
+
if (M.s = 1 / u < 0 ? (u = -u, -1) : 1, u === ~~u) {
|
|
5571
5571
|
for (b = 0, E = u; E >= 10; E /= 10, b++) ;
|
|
5572
|
-
b > h ?
|
|
5572
|
+
b > h ? M.c = M.e = null : (M.e = b, M.c = [u]);
|
|
5573
5573
|
return;
|
|
5574
5574
|
}
|
|
5575
|
-
|
|
5575
|
+
B = String(u);
|
|
5576
5576
|
} else {
|
|
5577
|
-
if (!k0.test(
|
|
5578
|
-
|
|
5577
|
+
if (!k0.test(B = String(u))) return i(M, B, k);
|
|
5578
|
+
M.s = B.charCodeAt(0) == 45 ? (B = B.slice(1), -1) : 1;
|
|
5579
5579
|
}
|
|
5580
|
-
(b =
|
|
5580
|
+
(b = B.indexOf(".")) > -1 && (B = B.replace(".", "")), (E = B.search(/e/i)) > 0 ? (b < 0 && (b = E), b += +B.slice(E + 1), B = B.substring(0, E)) : b < 0 && (b = B.length);
|
|
5581
5581
|
} else {
|
|
5582
5582
|
if (Ce(d, 2, F.length, "Base"), d == 10 && T)
|
|
5583
|
-
return
|
|
5584
|
-
if (
|
|
5585
|
-
if (u * 0 != 0) return i(
|
|
5586
|
-
if (
|
|
5583
|
+
return M = new A(u), j(M, a + M.e + 1, r);
|
|
5584
|
+
if (B = String(u), k = typeof u == "number") {
|
|
5585
|
+
if (u * 0 != 0) return i(M, B, k, d);
|
|
5586
|
+
if (M.s = 1 / u < 0 ? (B = B.slice(1), -1) : 1, A.DEBUG && B.replace(/^0\.0*|\./, "").length > 15)
|
|
5587
5587
|
throw Error(br + u);
|
|
5588
5588
|
} else
|
|
5589
|
-
|
|
5590
|
-
for (f = F.slice(0, d), b = E = 0, y =
|
|
5591
|
-
if (f.indexOf(P =
|
|
5589
|
+
M.s = B.charCodeAt(0) === 45 ? (B = B.slice(1), -1) : 1;
|
|
5590
|
+
for (f = F.slice(0, d), b = E = 0, y = B.length; E < y; E++)
|
|
5591
|
+
if (f.indexOf(P = B.charAt(E)) < 0) {
|
|
5592
5592
|
if (P == ".") {
|
|
5593
5593
|
if (E > b) {
|
|
5594
5594
|
b = y;
|
|
5595
5595
|
continue;
|
|
5596
5596
|
}
|
|
5597
|
-
} else if (!g && (
|
|
5597
|
+
} else if (!g && (B == B.toUpperCase() && (B = B.toLowerCase()) || B == B.toLowerCase() && (B = B.toUpperCase()))) {
|
|
5598
5598
|
g = !0, E = -1, b = 0;
|
|
5599
5599
|
continue;
|
|
5600
5600
|
}
|
|
5601
|
-
return i(
|
|
5601
|
+
return i(M, String(u), k, d);
|
|
5602
5602
|
}
|
|
5603
|
-
k = !1,
|
|
5603
|
+
k = !1, B = o(B, d, 10, M.s), (b = B.indexOf(".")) > -1 ? B = B.replace(".", "") : b = B.length;
|
|
5604
5604
|
}
|
|
5605
|
-
for (E = 0;
|
|
5606
|
-
for (y =
|
|
5607
|
-
if (
|
|
5605
|
+
for (E = 0; B.charCodeAt(E) === 48; E++) ;
|
|
5606
|
+
for (y = B.length; B.charCodeAt(--y) === 48; ) ;
|
|
5607
|
+
if (B = B.slice(E, ++y)) {
|
|
5608
5608
|
if (y -= E, k && A.DEBUG && y > 15 && (u > qt || u !== Ke(u)))
|
|
5609
|
-
throw Error(br +
|
|
5609
|
+
throw Error(br + M.s * u);
|
|
5610
5610
|
if ((b = b - E - 1) > h)
|
|
5611
|
-
|
|
5611
|
+
M.c = M.e = null;
|
|
5612
5612
|
else if (b < p)
|
|
5613
|
-
|
|
5613
|
+
M.c = [M.e = 0];
|
|
5614
5614
|
else {
|
|
5615
|
-
if (
|
|
5616
|
-
for (E &&
|
|
5617
|
-
|
|
5618
|
-
E = _ - (
|
|
5615
|
+
if (M.e = b, M.c = [], E = (b + 1) % _, b < 0 && (E += _), E < y) {
|
|
5616
|
+
for (E && M.c.push(+B.slice(0, E)), y -= _; E < y; )
|
|
5617
|
+
M.c.push(+B.slice(E, E += _));
|
|
5618
|
+
E = _ - (B = B.slice(E)).length;
|
|
5619
5619
|
} else
|
|
5620
5620
|
E -= y;
|
|
5621
|
-
for (; E--;
|
|
5622
|
-
|
|
5621
|
+
for (; E--; B += "0") ;
|
|
5622
|
+
M.c.push(+B);
|
|
5623
5623
|
}
|
|
5624
5624
|
} else
|
|
5625
|
-
|
|
5625
|
+
M.c = [M.e = 0];
|
|
5626
5626
|
}
|
|
5627
5627
|
A.clone = kl, A.ROUND_UP = 0, A.ROUND_DOWN = 1, A.ROUND_CEIL = 2, A.ROUND_FLOOR = 3, A.ROUND_HALF_UP = 4, A.ROUND_HALF_DOWN = 5, A.ROUND_HALF_EVEN = 6, A.ROUND_HALF_CEIL = 7, A.ROUND_HALF_FLOOR = 8, A.EUCLID = 9, A.config = A.set = function(u) {
|
|
5628
5628
|
var d, f;
|
|
@@ -5697,30 +5697,30 @@ function kl(e) {
|
|
|
5697
5697
|
return (Math.random() * 1073741824 | 0) * 8388608 + (Math.random() * 8388608 | 0);
|
|
5698
5698
|
};
|
|
5699
5699
|
return function(f) {
|
|
5700
|
-
var P, g, b, E, k, y = 0,
|
|
5700
|
+
var P, g, b, E, k, y = 0, B = [], M = new A(c);
|
|
5701
5701
|
if (f == null ? f = a : Ce(f, 0, qe), E = St(f / _), D)
|
|
5702
5702
|
if (crypto.getRandomValues) {
|
|
5703
5703
|
for (P = crypto.getRandomValues(new Uint32Array(E *= 2)); y < E; )
|
|
5704
|
-
k = P[y] * 131072 + (P[y + 1] >>> 11), k >= 9e15 ? (g = crypto.getRandomValues(new Uint32Array(2)), P[y] = g[0], P[y + 1] = g[1]) : (
|
|
5704
|
+
k = P[y] * 131072 + (P[y + 1] >>> 11), k >= 9e15 ? (g = crypto.getRandomValues(new Uint32Array(2)), P[y] = g[0], P[y + 1] = g[1]) : (B.push(k % 1e14), y += 2);
|
|
5705
5705
|
y = E / 2;
|
|
5706
5706
|
} else if (crypto.randomBytes) {
|
|
5707
5707
|
for (P = crypto.randomBytes(E *= 7); y < E; )
|
|
5708
|
-
k = (P[y] & 31) * 281474976710656 + P[y + 1] * 1099511627776 + P[y + 2] * 4294967296 + P[y + 3] * 16777216 + (P[y + 4] << 16) + (P[y + 5] << 8) + P[y + 6], k >= 9e15 ? crypto.randomBytes(7).copy(P, y) : (
|
|
5708
|
+
k = (P[y] & 31) * 281474976710656 + P[y + 1] * 1099511627776 + P[y + 2] * 4294967296 + P[y + 3] * 16777216 + (P[y + 4] << 16) + (P[y + 5] << 8) + P[y + 6], k >= 9e15 ? crypto.randomBytes(7).copy(P, y) : (B.push(k % 1e14), y += 7);
|
|
5709
5709
|
y = E / 7;
|
|
5710
5710
|
} else
|
|
5711
5711
|
throw D = !1, Error(Re + "crypto unavailable");
|
|
5712
5712
|
if (!D)
|
|
5713
5713
|
for (; y < E; )
|
|
5714
|
-
k = d(), k < 9e15 && (
|
|
5715
|
-
for (E =
|
|
5714
|
+
k = d(), k < 9e15 && (B[y++] = k % 1e14);
|
|
5715
|
+
for (E = B[--y], f %= _, E && f && (k = jt[_ - f], B[y] = Ke(E / k) * k); B[y] === 0; B.pop(), y--) ;
|
|
5716
5716
|
if (y < 0)
|
|
5717
|
-
|
|
5717
|
+
B = [b = 0];
|
|
5718
5718
|
else {
|
|
5719
|
-
for (b = -1;
|
|
5720
|
-
for (y = 1, k =
|
|
5719
|
+
for (b = -1; B[0] === 0; B.splice(0, 1), b -= _) ;
|
|
5720
|
+
for (y = 1, k = B[0]; k >= 10; k /= 10, y++) ;
|
|
5721
5721
|
y < _ && (b -= _ - y);
|
|
5722
5722
|
}
|
|
5723
|
-
return
|
|
5723
|
+
return M.e = b, M.c = B, M;
|
|
5724
5724
|
};
|
|
5725
5725
|
}(), A.sum = function() {
|
|
5726
5726
|
for (var u = 1, d = arguments, f = new A(d[0]); u < d.length; ) f = f.plus(d[u++]);
|
|
@@ -5728,40 +5728,40 @@ function kl(e) {
|
|
|
5728
5728
|
}, o = /* @__PURE__ */ function() {
|
|
5729
5729
|
var u = "0123456789";
|
|
5730
5730
|
function d(f, P, g, b) {
|
|
5731
|
-
for (var E, k = [0], y,
|
|
5731
|
+
for (var E, k = [0], y, B = 0, M = f.length; B < M; ) {
|
|
5732
5732
|
for (y = k.length; y--; k[y] *= P) ;
|
|
5733
|
-
for (k[0] += b.indexOf(f.charAt(
|
|
5733
|
+
for (k[0] += b.indexOf(f.charAt(B++)), E = 0; E < k.length; E++)
|
|
5734
5734
|
k[E] > g - 1 && (k[E + 1] == null && (k[E + 1] = 0), k[E + 1] += k[E] / g | 0, k[E] %= g);
|
|
5735
5735
|
}
|
|
5736
5736
|
return k.reverse();
|
|
5737
5737
|
}
|
|
5738
5738
|
return function(f, P, g, b, E) {
|
|
5739
|
-
var k, y,
|
|
5740
|
-
for (G >= 0 && (
|
|
5741
|
-
Cn(Ge(
|
|
5739
|
+
var k, y, B, M, H, O, W, J, G = f.indexOf("."), ce = a, Y = r;
|
|
5740
|
+
for (G >= 0 && (M = w, w = 0, f = f.replace(".", ""), J = new A(P), O = J.pow(f.length - G), w = M, J.c = d(
|
|
5741
|
+
Cn(Ge(O.c), O.e, "0"),
|
|
5742
5742
|
10,
|
|
5743
5743
|
g,
|
|
5744
5744
|
u
|
|
5745
|
-
), J.e = J.c.length),
|
|
5746
|
-
if (!
|
|
5747
|
-
if (G < 0 ? --
|
|
5745
|
+
), J.e = J.c.length), W = d(f, P, g, E ? (k = F, u) : (k = u, F)), B = M = W.length; W[--M] == 0; W.pop()) ;
|
|
5746
|
+
if (!W[0]) return k.charAt(0);
|
|
5747
|
+
if (G < 0 ? --B : (O.c = W, O.e = B, O.s = b, O = n(O, J, ce, Y, g), W = O.c, H = O.r, B = O.e), y = B + ce + 1, G = W[y], M = g / 2, H = H || y < 0 || W[y + 1] != null, H = Y < 4 ? (G != null || H) && (Y == 0 || Y == (O.s < 0 ? 3 : 2)) : G > M || G == M && (Y == 4 || H || Y == 6 && W[y - 1] & 1 || Y == (O.s < 0 ? 8 : 7)), y < 1 || !W[0])
|
|
5748
5748
|
f = H ? Cn(k.charAt(1), -ce, k.charAt(0)) : k.charAt(0);
|
|
5749
5749
|
else {
|
|
5750
|
-
if (
|
|
5751
|
-
for (--g; ++
|
|
5752
|
-
|
|
5753
|
-
for (
|
|
5754
|
-
for (G = 0, f = ""; G <=
|
|
5755
|
-
f = Cn(f,
|
|
5750
|
+
if (W.length = y, H)
|
|
5751
|
+
for (--g; ++W[--y] > g; )
|
|
5752
|
+
W[y] = 0, y || (++B, W = [1].concat(W));
|
|
5753
|
+
for (M = W.length; !W[--M]; ) ;
|
|
5754
|
+
for (G = 0, f = ""; G <= M; f += k.charAt(W[G++])) ;
|
|
5755
|
+
f = Cn(f, B, k.charAt(0));
|
|
5756
5756
|
}
|
|
5757
5757
|
return f;
|
|
5758
5758
|
};
|
|
5759
5759
|
}(), n = /* @__PURE__ */ function() {
|
|
5760
5760
|
function u(P, g, b) {
|
|
5761
|
-
var E, k, y,
|
|
5761
|
+
var E, k, y, B, M = 0, H = P.length, O = g % qn, W = g / qn | 0;
|
|
5762
5762
|
for (P = P.slice(); H--; )
|
|
5763
|
-
y = P[H] % qn,
|
|
5764
|
-
return
|
|
5763
|
+
y = P[H] % qn, B = P[H] / qn | 0, E = W * y + B * O, k = O * y + E % qn * qn + M, M = (k / b | 0) + (E / qn | 0) + W * B, P[H] = k % b;
|
|
5764
|
+
return M && (P = [M].concat(P)), P;
|
|
5765
5765
|
}
|
|
5766
5766
|
function d(P, g, b, E) {
|
|
5767
5767
|
var k, y;
|
|
@@ -5781,7 +5781,7 @@ function kl(e) {
|
|
|
5781
5781
|
for (; !P[0] && P.length > 1; P.splice(0, 1)) ;
|
|
5782
5782
|
}
|
|
5783
5783
|
return function(P, g, b, E, k) {
|
|
5784
|
-
var y,
|
|
5784
|
+
var y, B, M, H, O, W, J, G, ce, Y, ee, le, on, tn, Kn, Ne, Le, Ue = P.s == g.s ? 1 : -1, Ve = P.c, we = g.c;
|
|
5785
5785
|
if (!Ve || !Ve[0] || !we || !we[0])
|
|
5786
5786
|
return new A(
|
|
5787
5787
|
// Return NaN if either NaN, or both Infinity or 0.
|
|
@@ -5790,32 +5790,32 @@ function kl(e) {
|
|
|
5790
5790
|
Ve && Ve[0] == 0 || !we ? Ue * 0 : Ue / 0
|
|
5791
5791
|
)
|
|
5792
5792
|
);
|
|
5793
|
-
for (G = new A(Ue), ce = G.c = [],
|
|
5794
|
-
if (we[
|
|
5793
|
+
for (G = new A(Ue), ce = G.c = [], B = P.e - g.e, Ue = b + B + 1, k || (k = cn, B = Xe(P.e / _) - Xe(g.e / _), Ue = Ue / _ | 0), M = 0; we[M] == (Ve[M] || 0); M++) ;
|
|
5794
|
+
if (we[M] > (Ve[M] || 0) && B--, Ue < 0)
|
|
5795
5795
|
ce.push(1), H = !0;
|
|
5796
5796
|
else {
|
|
5797
|
-
for (tn = Ve.length, Ne = we.length,
|
|
5797
|
+
for (tn = Ve.length, Ne = we.length, M = 0, Ue += 2, O = Ke(k / (we[0] + 1)), O > 1 && (we = u(we, O, k), Ve = u(Ve, O, k), Ne = we.length, tn = Ve.length), on = Ne, Y = Ve.slice(0, Ne), ee = Y.length; ee < Ne; Y[ee++] = 0) ;
|
|
5798
5798
|
Le = we.slice(), Le = [0].concat(Le), Kn = we[0], we[1] >= k / 2 && Kn++;
|
|
5799
5799
|
do {
|
|
5800
|
-
if (
|
|
5801
|
-
if (le = Y[0], Ne != ee && (le = le * k + (Y[1] || 0)),
|
|
5802
|
-
for (
|
|
5803
|
-
|
|
5800
|
+
if (O = 0, y = d(we, Y, Ne, ee), y < 0) {
|
|
5801
|
+
if (le = Y[0], Ne != ee && (le = le * k + (Y[1] || 0)), O = Ke(le / Kn), O > 1)
|
|
5802
|
+
for (O >= k && (O = k - 1), W = u(we, O, k), J = W.length, ee = Y.length; d(W, Y, J, ee) == 1; )
|
|
5803
|
+
O--, f(W, Ne < J ? Le : we, J, k), J = W.length, y = 1;
|
|
5804
5804
|
else
|
|
5805
|
-
|
|
5806
|
-
if (J < ee && (
|
|
5805
|
+
O == 0 && (y = O = 1), W = we.slice(), J = W.length;
|
|
5806
|
+
if (J < ee && (W = [0].concat(W)), f(Y, W, ee, k), ee = Y.length, y == -1)
|
|
5807
5807
|
for (; d(we, Y, Ne, ee) < 1; )
|
|
5808
|
-
|
|
5809
|
-
} else y === 0 && (
|
|
5810
|
-
ce[
|
|
5808
|
+
O++, f(Y, Ne < ee ? Le : we, ee, k), ee = Y.length;
|
|
5809
|
+
} else y === 0 && (O++, Y = [0]);
|
|
5810
|
+
ce[M++] = O, Y[0] ? Y[ee++] = Ve[on] || 0 : (Y = [Ve[on]], ee = 1);
|
|
5811
5811
|
} while ((on++ < tn || Y[0] != null) && Ue--);
|
|
5812
5812
|
H = Y[0] != null, ce[0] || ce.splice(0, 1);
|
|
5813
5813
|
}
|
|
5814
5814
|
if (k == cn) {
|
|
5815
|
-
for (
|
|
5816
|
-
j(G, b + (G.e =
|
|
5815
|
+
for (M = 1, Ue = ce[0]; Ue >= 10; Ue /= 10, M++) ;
|
|
5816
|
+
j(G, b + (G.e = M + B * _ - 1) + 1, E, H);
|
|
5817
5817
|
} else
|
|
5818
|
-
G.e =
|
|
5818
|
+
G.e = B, G.r = +H;
|
|
5819
5819
|
return G;
|
|
5820
5820
|
};
|
|
5821
5821
|
}();
|
|
@@ -5823,10 +5823,10 @@ function kl(e) {
|
|
|
5823
5823
|
var g, b, E, k, y;
|
|
5824
5824
|
if (f == null ? f = r : Ce(f, 0, 8), !u.c) return u.toString();
|
|
5825
5825
|
if (g = u.c[0], E = u.e, d == null)
|
|
5826
|
-
y = Ge(u.c), y = P == 1 || P == 2 && (E <= s || E >= l) ?
|
|
5826
|
+
y = Ge(u.c), y = P == 1 || P == 2 && (E <= s || E >= l) ? Mi(y, E) : Cn(y, E, "0");
|
|
5827
5827
|
else if (u = j(new A(u), d, f), b = u.e, y = Ge(u.c), k = y.length, P == 1 || P == 2 && (d <= b || b <= s)) {
|
|
5828
5828
|
for (; k < d; y += "0", k++) ;
|
|
5829
|
-
y =
|
|
5829
|
+
y = Mi(y, b);
|
|
5830
5830
|
} else if (d -= E, y = Cn(y, b, "0"), b + 1 > k) {
|
|
5831
5831
|
if (--d > 0) for (y += "."; d--; y += "0") ;
|
|
5832
5832
|
} else if (d += b - k, d > 0)
|
|
@@ -5846,14 +5846,14 @@ function kl(e) {
|
|
|
5846
5846
|
i = /* @__PURE__ */ function() {
|
|
5847
5847
|
var u = /^(-?)0([xbo])(?=\w[\w.]*$)/i, d = /^([^.]+)\.$/, f = /^\.([^.]+)$/, P = /^-?(Infinity|NaN)$/, g = /^\s*\+(?=[\w.])|^\s+|\s+$/g;
|
|
5848
5848
|
return function(b, E, k, y) {
|
|
5849
|
-
var
|
|
5850
|
-
if (P.test(
|
|
5851
|
-
b.s = isNaN(
|
|
5849
|
+
var B, M = k ? E : E.replace(g, "");
|
|
5850
|
+
if (P.test(M))
|
|
5851
|
+
b.s = isNaN(M) ? null : M < 0 ? -1 : 1;
|
|
5852
5852
|
else {
|
|
5853
|
-
if (!k && (
|
|
5854
|
-
return
|
|
5855
|
-
}), y && (
|
|
5856
|
-
return new A(
|
|
5853
|
+
if (!k && (M = M.replace(u, function(H, O, W) {
|
|
5854
|
+
return B = (W = W.toLowerCase()) == "x" ? 16 : W == "b" ? 2 : 8, !y || y == B ? O : H;
|
|
5855
|
+
}), y && (B = y, M = M.replace(d, "$1").replace(f, "0.$1")), E != M))
|
|
5856
|
+
return new A(M, B);
|
|
5857
5857
|
if (A.DEBUG)
|
|
5858
5858
|
throw Error(Re + "Not a" + (y ? " base " + y : "") + " number: " + E);
|
|
5859
5859
|
b.s = null;
|
|
@@ -5862,38 +5862,38 @@ function kl(e) {
|
|
|
5862
5862
|
};
|
|
5863
5863
|
}();
|
|
5864
5864
|
function j(u, d, f, P) {
|
|
5865
|
-
var g, b, E, k, y,
|
|
5865
|
+
var g, b, E, k, y, B, M, H = u.c, O = jt;
|
|
5866
5866
|
if (H) {
|
|
5867
5867
|
e: {
|
|
5868
5868
|
for (g = 1, k = H[0]; k >= 10; k /= 10, g++) ;
|
|
5869
5869
|
if (b = d - g, b < 0)
|
|
5870
|
-
b += _, E = d, y = H[
|
|
5871
|
-
else if (
|
|
5870
|
+
b += _, E = d, y = H[B = 0], M = Ke(y / O[g - E - 1] % 10);
|
|
5871
|
+
else if (B = St((b + 1) / _), B >= H.length)
|
|
5872
5872
|
if (P) {
|
|
5873
|
-
for (; H.length <=
|
|
5874
|
-
y =
|
|
5873
|
+
for (; H.length <= B; H.push(0)) ;
|
|
5874
|
+
y = M = 0, g = 1, b %= _, E = b - _ + 1;
|
|
5875
5875
|
} else
|
|
5876
5876
|
break e;
|
|
5877
5877
|
else {
|
|
5878
|
-
for (y = k = H[
|
|
5879
|
-
b %= _, E = b - _ + g,
|
|
5878
|
+
for (y = k = H[B], g = 1; k >= 10; k /= 10, g++) ;
|
|
5879
|
+
b %= _, E = b - _ + g, M = E < 0 ? 0 : Ke(y / O[g - E - 1] % 10);
|
|
5880
5880
|
}
|
|
5881
5881
|
if (P = P || d < 0 || // Are there any non-zero digits after the rounding digit?
|
|
5882
5882
|
// The expression n % pows10[d - j - 1] returns all digits of n to the right
|
|
5883
5883
|
// of the digit at j, e.g. if n is 908714 and j is 2, the expression gives 714.
|
|
5884
|
-
H[
|
|
5885
|
-
(b > 0 ? E > 0 ? y /
|
|
5886
|
-
return H.length = 0, P ? (d -= u.e + 1, H[0] =
|
|
5887
|
-
if (b == 0 ? (H.length =
|
|
5884
|
+
H[B + 1] != null || (E < 0 ? y : y % O[g - E - 1]), P = f < 4 ? (M || P) && (f == 0 || f == (u.s < 0 ? 3 : 2)) : M > 5 || M == 5 && (f == 4 || P || f == 6 && // Check whether the digit to the left of the rounding digit is odd.
|
|
5885
|
+
(b > 0 ? E > 0 ? y / O[g - E] : 0 : H[B - 1]) % 10 & 1 || f == (u.s < 0 ? 8 : 7)), d < 1 || !H[0])
|
|
5886
|
+
return H.length = 0, P ? (d -= u.e + 1, H[0] = O[(_ - d % _) % _], u.e = -d || 0) : H[0] = u.e = 0, u;
|
|
5887
|
+
if (b == 0 ? (H.length = B, k = 1, B--) : (H.length = B + 1, k = O[_ - b], H[B] = E > 0 ? Ke(y / O[g - E] % O[E]) * k : 0), P)
|
|
5888
5888
|
for (; ; )
|
|
5889
|
-
if (
|
|
5889
|
+
if (B == 0) {
|
|
5890
5890
|
for (b = 1, E = H[0]; E >= 10; E /= 10, b++) ;
|
|
5891
5891
|
for (E = H[0] += k, k = 1; E >= 10; E /= 10, k++) ;
|
|
5892
5892
|
b != k && (u.e++, H[0] == cn && (H[0] = 1));
|
|
5893
5893
|
break;
|
|
5894
5894
|
} else {
|
|
5895
|
-
if (H[
|
|
5896
|
-
H[
|
|
5895
|
+
if (H[B] += k, H[B] != cn) break;
|
|
5896
|
+
H[B--] = 0, k = 1;
|
|
5897
5897
|
}
|
|
5898
5898
|
for (b = H.length; H[--b] === 0; H.pop()) ;
|
|
5899
5899
|
}
|
|
@@ -5903,7 +5903,7 @@ function kl(e) {
|
|
|
5903
5903
|
}
|
|
5904
5904
|
function q(u) {
|
|
5905
5905
|
var d, f = u.e;
|
|
5906
|
-
return f === null ? u.toString() : (d = Ge(u.c), d = f <= s || f >= l ?
|
|
5906
|
+
return f === null ? u.toString() : (d = Ge(u.c), d = f <= s || f >= l ? Mi(d, f) : Cn(d, f, "0"), u.s < 0 ? "-" + d : d);
|
|
5907
5907
|
}
|
|
5908
5908
|
return t.absoluteValue = t.abs = function() {
|
|
5909
5909
|
var u = new A(this);
|
|
@@ -5922,11 +5922,11 @@ function kl(e) {
|
|
|
5922
5922
|
}, t.dividedToIntegerBy = t.idiv = function(u, d) {
|
|
5923
5923
|
return n(this, new A(u, d), 0, 1);
|
|
5924
5924
|
}, t.exponentiatedBy = t.pow = function(u, d) {
|
|
5925
|
-
var f, P, g, b, E, k, y,
|
|
5925
|
+
var f, P, g, b, E, k, y, B, M, H = this;
|
|
5926
5926
|
if (u = new A(u), u.c && !u.isInteger())
|
|
5927
5927
|
throw Error(Re + "Exponent not an integer: " + q(u));
|
|
5928
5928
|
if (d != null && (d = new A(d)), k = u.e > 14, !H.c || !H.c[0] || H.c[0] == 1 && !H.e && H.c.length == 1 || !u.c || !u.c[0])
|
|
5929
|
-
return
|
|
5929
|
+
return M = new A(Math.pow(+q(H), k ? u.s * (2 - Fi(u)) : +q(u))), d ? M.mod(d) : M;
|
|
5930
5930
|
if (y = u.s < 0, d) {
|
|
5931
5931
|
if (d.c ? !d.c[0] : !d.s) return new A(NaN);
|
|
5932
5932
|
P = !y && H.isInteger() && d.isInteger(), P && (H = H.mod(d));
|
|
@@ -5935,23 +5935,23 @@ function kl(e) {
|
|
|
5935
5935
|
return b = H.s < 0 && Fi(u) ? -0 : 0, H.e > -1 && (b = 1 / b), new A(y ? 1 / b : b);
|
|
5936
5936
|
w && (b = St(w / _ + 2));
|
|
5937
5937
|
}
|
|
5938
|
-
for (k ? (f = new A(0.5), y && (u.s = 1),
|
|
5939
|
-
if (
|
|
5940
|
-
if (
|
|
5941
|
-
b ?
|
|
5938
|
+
for (k ? (f = new A(0.5), y && (u.s = 1), B = Fi(u)) : (g = Math.abs(+q(u)), B = g % 2), M = new A(c); ; ) {
|
|
5939
|
+
if (B) {
|
|
5940
|
+
if (M = M.times(H), !M.c) break;
|
|
5941
|
+
b ? M.c.length > b && (M.c.length = b) : P && (M = M.mod(d));
|
|
5942
5942
|
}
|
|
5943
5943
|
if (g) {
|
|
5944
5944
|
if (g = Ke(g / 2), g === 0) break;
|
|
5945
|
-
|
|
5945
|
+
B = g % 2;
|
|
5946
5946
|
} else if (u = u.times(f), j(u, u.e + 1, 1), u.e > 14)
|
|
5947
|
-
|
|
5947
|
+
B = Fi(u);
|
|
5948
5948
|
else {
|
|
5949
5949
|
if (g = +q(u), g === 0) break;
|
|
5950
|
-
|
|
5950
|
+
B = g % 2;
|
|
5951
5951
|
}
|
|
5952
5952
|
H = H.times(H), b ? H.c && H.c.length > b && (H.c.length = b) : P && (H = H.mod(d));
|
|
5953
5953
|
}
|
|
5954
|
-
return P ?
|
|
5954
|
+
return P ? M : (y && (M = c.div(M)), d ? M.mod(d) : b ? j(M, w, r, E) : M);
|
|
5955
5955
|
}, t.integerValue = function(u) {
|
|
5956
5956
|
var d = new A(this);
|
|
5957
5957
|
return u == null ? u = r : Ce(u, 0, 8), j(d, d.e + 1, u);
|
|
@@ -5982,45 +5982,45 @@ function kl(e) {
|
|
|
5982
5982
|
if (u = new A(u, d), d = u.s, !k || !d) return new A(NaN);
|
|
5983
5983
|
if (k != d)
|
|
5984
5984
|
return u.s = -d, E.plus(u);
|
|
5985
|
-
var y = E.e / _,
|
|
5986
|
-
if (!y || !
|
|
5987
|
-
if (!
|
|
5988
|
-
if (!
|
|
5989
|
-
return H[0] ? (u.s = -d, u) : new A(
|
|
5985
|
+
var y = E.e / _, B = u.e / _, M = E.c, H = u.c;
|
|
5986
|
+
if (!y || !B) {
|
|
5987
|
+
if (!M || !H) return M ? (u.s = -d, u) : new A(H ? E : NaN);
|
|
5988
|
+
if (!M[0] || !H[0])
|
|
5989
|
+
return H[0] ? (u.s = -d, u) : new A(M[0] ? E : (
|
|
5990
5990
|
// IEEE 754 (2008) 6.3: n - n = -0 when rounding to -Infinity
|
|
5991
5991
|
r == 3 ? -0 : 0
|
|
5992
5992
|
));
|
|
5993
5993
|
}
|
|
5994
|
-
if (y = Xe(y),
|
|
5995
|
-
for ((b = k < 0) ? (k = -k, g =
|
|
5994
|
+
if (y = Xe(y), B = Xe(B), M = M.slice(), k = y - B) {
|
|
5995
|
+
for ((b = k < 0) ? (k = -k, g = M) : (B = y, g = H), g.reverse(), d = k; d--; g.push(0)) ;
|
|
5996
5996
|
g.reverse();
|
|
5997
5997
|
} else
|
|
5998
|
-
for (P = (b = (k =
|
|
5999
|
-
if (
|
|
6000
|
-
b =
|
|
5998
|
+
for (P = (b = (k = M.length) < (d = H.length)) ? k : d, k = d = 0; d < P; d++)
|
|
5999
|
+
if (M[d] != H[d]) {
|
|
6000
|
+
b = M[d] < H[d];
|
|
6001
6001
|
break;
|
|
6002
6002
|
}
|
|
6003
|
-
if (b && (g =
|
|
6003
|
+
if (b && (g = M, M = H, H = g, u.s = -u.s), d = (P = H.length) - (f = M.length), d > 0) for (; d--; M[f++] = 0) ;
|
|
6004
6004
|
for (d = cn - 1; P > k; ) {
|
|
6005
|
-
if (
|
|
6006
|
-
for (f = P; f && !
|
|
6007
|
-
--
|
|
6005
|
+
if (M[--P] < H[P]) {
|
|
6006
|
+
for (f = P; f && !M[--f]; M[f] = d) ;
|
|
6007
|
+
--M[f], M[P] += cn;
|
|
6008
6008
|
}
|
|
6009
|
-
|
|
6009
|
+
M[P] -= H[P];
|
|
6010
6010
|
}
|
|
6011
|
-
for (;
|
|
6012
|
-
return
|
|
6011
|
+
for (; M[0] == 0; M.splice(0, 1), --B) ;
|
|
6012
|
+
return M[0] ? I(u, M, B) : (u.s = r == 3 ? -1 : 1, u.c = [u.e = 0], u);
|
|
6013
6013
|
}, t.modulo = t.mod = function(u, d) {
|
|
6014
6014
|
var f, P, g = this;
|
|
6015
6015
|
return u = new A(u, d), !g.c || !u.s || u.c && !u.c[0] ? new A(NaN) : !u.c || g.c && !g.c[0] ? new A(g) : (x == 9 ? (P = u.s, u.s = 1, f = n(g, u, 0, 3), u.s = P, f.s *= P) : f = n(g, u, 0, x), u = g.minus(f.times(u)), !u.c[0] && x == 1 && (u.s = g.s), u);
|
|
6016
6016
|
}, t.multipliedBy = t.times = function(u, d) {
|
|
6017
|
-
var f, P, g, b, E, k, y,
|
|
6017
|
+
var f, P, g, b, E, k, y, B, M, H, O, W, J, G, ce, Y = this, ee = Y.c, le = (u = new A(u, d)).c;
|
|
6018
6018
|
if (!ee || !le || !ee[0] || !le[0])
|
|
6019
6019
|
return !Y.s || !u.s || ee && !ee[0] && !le || le && !le[0] && !ee ? u.c = u.e = u.s = null : (u.s *= Y.s, !ee || !le ? u.c = u.e = null : (u.c = [0], u.e = 0)), u;
|
|
6020
6020
|
for (P = Xe(Y.e / _) + Xe(u.e / _), u.s *= Y.s, y = ee.length, H = le.length, y < H && (J = ee, ee = le, le = J, g = y, y = H, H = g), g = y + H, J = []; g--; J.push(0)) ;
|
|
6021
6021
|
for (G = cn, ce = qn, g = H; --g >= 0; ) {
|
|
6022
|
-
for (f = 0,
|
|
6023
|
-
|
|
6022
|
+
for (f = 0, O = le[g] % ce, W = le[g] / ce | 0, E = y, b = g + E; b > g; )
|
|
6023
|
+
B = ee[--E] % ce, M = ee[E] / ce | 0, k = W * B + M * O, B = O * B + k % ce * ce + J[b] + f, f = (B / G | 0) + (k / ce | 0) + W * M, J[b--] = B % G;
|
|
6024
6024
|
J[b] = f;
|
|
6025
6025
|
}
|
|
6026
6026
|
return f ? ++P : J.splice(0, 1), I(u, J, P);
|
|
@@ -6057,18 +6057,18 @@ function kl(e) {
|
|
|
6057
6057
|
}, t.shiftedBy = function(u) {
|
|
6058
6058
|
return Ce(u, -qt, qt), this.times("1e" + u);
|
|
6059
6059
|
}, t.squareRoot = t.sqrt = function() {
|
|
6060
|
-
var u, d, f, P, g, b = this, E = b.c, k = b.s, y = b.e,
|
|
6060
|
+
var u, d, f, P, g, b = this, E = b.c, k = b.s, y = b.e, B = a + 4, M = new A("0.5");
|
|
6061
6061
|
if (k !== 1 || !E || !E[0])
|
|
6062
6062
|
return new A(!k || k < 0 && (!E || E[0]) ? NaN : E ? b : 1 / 0);
|
|
6063
6063
|
if (k = Math.sqrt(+q(b)), k == 0 || k == 1 / 0 ? (d = Ge(E), (d.length + y) % 2 == 0 && (d += "0"), k = Math.sqrt(+d), y = Xe((y + 1) / 2) - (y < 0 || y % 2), k == 1 / 0 ? d = "5e" + y : (d = k.toExponential(), d = d.slice(0, d.indexOf("e") + 1) + y), f = new A(d)) : f = new A(k + ""), f.c[0]) {
|
|
6064
|
-
for (y = f.e, k = y +
|
|
6065
|
-
if (g = f, f =
|
|
6064
|
+
for (y = f.e, k = y + B, k < 3 && (k = 0); ; )
|
|
6065
|
+
if (g = f, f = M.times(g.plus(n(b, g, B, 1))), Ge(g.c).slice(0, k) === (d = Ge(f.c)).slice(0, k))
|
|
6066
6066
|
if (f.e < y && --k, d = d.slice(k - 3, k + 1), d == "9999" || !P && d == "4999") {
|
|
6067
6067
|
if (!P && (j(g, g.e + a + 2, 0), g.times(g).eq(b))) {
|
|
6068
6068
|
f = g;
|
|
6069
6069
|
break;
|
|
6070
6070
|
}
|
|
6071
|
-
|
|
6071
|
+
B += 4, k += 4, P = 1;
|
|
6072
6072
|
} else {
|
|
6073
6073
|
(!+d || !+d.slice(1) && d.charAt(0) == "5") && (j(f, f.e + a + 2, 1), u = !f.times(f).eq(b));
|
|
6074
6074
|
break;
|
|
@@ -6086,34 +6086,34 @@ function kl(e) {
|
|
|
6086
6086
|
else if (typeof f != "object")
|
|
6087
6087
|
throw Error(Re + "Argument not an object: " + f);
|
|
6088
6088
|
if (P = g.toFixed(u, d), g.c) {
|
|
6089
|
-
var b, E = P.split("."), k = +f.groupSize, y = +f.secondaryGroupSize,
|
|
6089
|
+
var b, E = P.split("."), k = +f.groupSize, y = +f.secondaryGroupSize, B = f.groupSeparator || "", M = E[0], H = E[1], O = g.s < 0, W = O ? M.slice(1) : M, J = W.length;
|
|
6090
6090
|
if (y && (b = k, k = y, y = b, J -= b), k > 0 && J > 0) {
|
|
6091
|
-
for (b = J % k || k,
|
|
6092
|
-
y > 0 && (
|
|
6091
|
+
for (b = J % k || k, M = W.substr(0, b); b < J; b += k) M += B + W.substr(b, k);
|
|
6092
|
+
y > 0 && (M += B + W.slice(b)), O && (M = "-" + M);
|
|
6093
6093
|
}
|
|
6094
|
-
P = H ?
|
|
6094
|
+
P = H ? M + (f.decimalSeparator || "") + ((y = +f.fractionGroupSize) ? H.replace(
|
|
6095
6095
|
new RegExp("\\d{" + y + "}\\B", "g"),
|
|
6096
6096
|
"$&" + (f.fractionGroupSeparator || "")
|
|
6097
|
-
) : H) :
|
|
6097
|
+
) : H) : M;
|
|
6098
6098
|
}
|
|
6099
6099
|
return (f.prefix || "") + P + (f.suffix || "");
|
|
6100
6100
|
}, t.toFraction = function(u) {
|
|
6101
|
-
var d, f, P, g, b, E, k, y,
|
|
6101
|
+
var d, f, P, g, b, E, k, y, B, M, H, O, W = this, J = W.c;
|
|
6102
6102
|
if (u != null && (k = new A(u), !k.isInteger() && (k.c || k.s !== 1) || k.lt(c)))
|
|
6103
6103
|
throw Error(Re + "Argument " + (k.isInteger() ? "out of range: " : "not an integer: ") + q(k));
|
|
6104
|
-
if (!J) return new A(
|
|
6105
|
-
for (d = new A(c),
|
|
6106
|
-
f = P, P = g,
|
|
6107
|
-
return g = n(u.minus(f), P, 0, 1), y = y.plus(g.times(
|
|
6108
|
-
n(y, f, b, r).minus(
|
|
6109
|
-
) < 1 ? [
|
|
6104
|
+
if (!J) return new A(W);
|
|
6105
|
+
for (d = new A(c), B = f = new A(c), P = y = new A(c), O = Ge(J), b = d.e = O.length - W.e - 1, d.c[0] = jt[(E = b % _) < 0 ? _ + E : E], u = !u || k.comparedTo(d) > 0 ? b > 0 ? d : B : k, E = h, h = 1 / 0, k = new A(O), y.c[0] = 0; M = n(k, d, 0, 1), g = f.plus(M.times(P)), g.comparedTo(u) != 1; )
|
|
6106
|
+
f = P, P = g, B = y.plus(M.times(g = B)), y = g, d = k.minus(M.times(g = d)), k = g;
|
|
6107
|
+
return g = n(u.minus(f), P, 0, 1), y = y.plus(g.times(B)), f = f.plus(g.times(P)), y.s = B.s = W.s, b = b * 2, H = n(B, P, b, r).minus(W).abs().comparedTo(
|
|
6108
|
+
n(y, f, b, r).minus(W).abs()
|
|
6109
|
+
) < 1 ? [B, P] : [y, f], h = E, H;
|
|
6110
6110
|
}, t.toNumber = function() {
|
|
6111
6111
|
return +q(this);
|
|
6112
6112
|
}, t.toPrecision = function(u, d) {
|
|
6113
6113
|
return u != null && Ce(u, 1, qe), C(this, u, d, 2);
|
|
6114
6114
|
}, t.toString = function(u) {
|
|
6115
6115
|
var d, f = this, P = f.s, g = f.e;
|
|
6116
|
-
return g === null ? P ? (d = "Infinity", P < 0 && (d = "-" + d)) : d = "NaN" : (u == null ? d = g <= s || g >= l ?
|
|
6116
|
+
return g === null ? P ? (d = "Infinity", P < 0 && (d = "-" + d)) : d = "NaN" : (u == null ? d = g <= s || g >= l ? Mi(Ge(f.c), g) : Cn(Ge(f.c), g, "0") : u === 10 && T ? (f = j(new A(f), a + g + 1, r), d = Cn(Ge(f.c), f.e, "0")) : (Ce(u, 2, F.length, "Base"), d = o(Cn(Ge(f.c), g, "0"), 10, u, P, !0)), P < 0 && f.c[0] && (d = "-" + d)), d;
|
|
6117
6117
|
}, t.valueOf = t.toJSON = function() {
|
|
6118
6118
|
return q(this);
|
|
6119
6119
|
}, t._isBigNumber = !0, t[Symbol.toStringTag] = "BigNumber", t[Symbol.for("nodejs.util.inspect.custom")] = t.valueOf, e != null && A.set(e), A;
|
|
@@ -6148,7 +6148,7 @@ function Fi(e) {
|
|
|
6148
6148
|
var n = e.c.length - 1;
|
|
6149
6149
|
return Xe(e.e / _) == n && e.c[n] % 2 != 0;
|
|
6150
6150
|
}
|
|
6151
|
-
function
|
|
6151
|
+
function Mi(e, n) {
|
|
6152
6152
|
return (e.length > 1 ? e.charAt(0) + "." + e.slice(1) : e) + (n < 0 ? "e" : "e+") + n;
|
|
6153
6153
|
}
|
|
6154
6154
|
function Cn(e, n, o) {
|
|
@@ -6178,7 +6178,7 @@ const In = (e, n = ri) => (typeof e == "string" && (e = parseFloat(e)), new ke(e
|
|
|
6178
6178
|
tokenAmount: o,
|
|
6179
6179
|
chainId: i
|
|
6180
6180
|
}) => {
|
|
6181
|
-
const [{ data: t }] = he(fn), [{ data: c }] = he(
|
|
6181
|
+
const [{ data: t }] = he(fn), [{ data: c }] = he(Be), a = U(
|
|
6182
6182
|
() => {
|
|
6183
6183
|
if (!(!e || !i) && t)
|
|
6184
6184
|
return t.find((x) => x.denom === e && x.chainID === i);
|
|
@@ -6215,7 +6215,7 @@ function w0(e) {
|
|
|
6215
6215
|
function It(e) {
|
|
6216
6216
|
return e.toString().replace(/,/g, "");
|
|
6217
6217
|
}
|
|
6218
|
-
const
|
|
6218
|
+
const Mo = (e) => e === "0" ? e : e == null ? void 0 : e.replace(/0+$/, "").replace(/\.$/, "");
|
|
6219
6219
|
function si(e, n = ri) {
|
|
6220
6220
|
if (e === void 0) return "";
|
|
6221
6221
|
if (typeof e == "string") {
|
|
@@ -6360,7 +6360,7 @@ const uc = (e) => {
|
|
|
6360
6360
|
}
|
|
6361
6361
|
),
|
|
6362
6362
|
/* @__PURE__ */ m(
|
|
6363
|
-
|
|
6363
|
+
Wn,
|
|
6364
6364
|
{
|
|
6365
6365
|
title: `Warning: Bad trade (-${D})`,
|
|
6366
6366
|
description: /* @__PURE__ */ z(be, { children: [
|
|
@@ -6427,7 +6427,7 @@ const uc = (e) => {
|
|
|
6427
6427
|
}
|
|
6428
6428
|
),
|
|
6429
6429
|
/* @__PURE__ */ m(
|
|
6430
|
-
|
|
6430
|
+
Wn,
|
|
6431
6431
|
{
|
|
6432
6432
|
title: "Transaction failed",
|
|
6433
6433
|
description: "User rejected authentication request",
|
|
@@ -6492,7 +6492,7 @@ const bn = $(
|
|
|
6492
6492
|
}
|
|
6493
6493
|
),
|
|
6494
6494
|
/* @__PURE__ */ m(
|
|
6495
|
-
|
|
6495
|
+
Wn,
|
|
6496
6496
|
{
|
|
6497
6497
|
title: "Transaction failed",
|
|
6498
6498
|
description: /* @__PURE__ */ z(be, { children: [
|
|
@@ -6545,7 +6545,7 @@ const bn = $(
|
|
|
6545
6545
|
}
|
|
6546
6546
|
),
|
|
6547
6547
|
/* @__PURE__ */ m(
|
|
6548
|
-
|
|
6548
|
+
Wn,
|
|
6549
6549
|
{
|
|
6550
6550
|
title: "An unexpected error has occurred",
|
|
6551
6551
|
description: e == null ? void 0 : e.message,
|
|
@@ -6566,7 +6566,7 @@ const bn = $(
|
|
|
6566
6566
|
] });
|
|
6567
6567
|
};
|
|
6568
6568
|
var ye = /* @__PURE__ */ ((e) => (e.swap = "swap", e.evmSwap = "evmSwap", e.transfer = "transfer", e.axelarTransfer = "axelarTransfer", e.cctpTransfer = "cctpTransfer", e.hyperlaneTransfer = "hyperlaneTransfer", e.opInitTransfer = "opInitTransfer", e.bankSend = "bankSend", e.goFastTransfer = "goFastTransfer", e.stargateTransfer = "stargateTransfer", e))(ye || {});
|
|
6569
|
-
function
|
|
6569
|
+
function M0(e) {
|
|
6570
6570
|
const n = e;
|
|
6571
6571
|
let o = {
|
|
6572
6572
|
details: {},
|
|
@@ -6595,8 +6595,8 @@ function B0(e) {
|
|
|
6595
6595
|
}
|
|
6596
6596
|
}), o;
|
|
6597
6597
|
}
|
|
6598
|
-
function
|
|
6599
|
-
const { details: n, type: o } =
|
|
6598
|
+
function B0(e) {
|
|
6599
|
+
const { details: n, type: o } = M0(e);
|
|
6600
6600
|
return {
|
|
6601
6601
|
type: o,
|
|
6602
6602
|
...n,
|
|
@@ -6610,11 +6610,11 @@ function M0(e) {
|
|
|
6610
6610
|
]
|
|
6611
6611
|
};
|
|
6612
6612
|
}
|
|
6613
|
-
function
|
|
6613
|
+
function Oo(e) {
|
|
6614
6614
|
if (!e) return [];
|
|
6615
6615
|
let n = 0;
|
|
6616
6616
|
return e.map((o, i, t) => {
|
|
6617
|
-
const c = t[i - 1], a = i === 0 ? !1 : o.txIndex > c.txIndex, r =
|
|
6617
|
+
const c = t[i - 1], a = i === 0 ? !1 : o.txIndex > c.txIndex, r = B0(o), s = r.type === "swap" || r.type === "evmSwap", l = {
|
|
6618
6618
|
...r,
|
|
6619
6619
|
transferIndex: n,
|
|
6620
6620
|
signRequired: a,
|
|
@@ -6704,7 +6704,7 @@ const $c = ({
|
|
|
6704
6704
|
txsRequired: n,
|
|
6705
6705
|
enabled: o
|
|
6706
6706
|
}) => {
|
|
6707
|
-
const i = L(
|
|
6707
|
+
const i = L(Bn), [t, c] = ue(!1), [a, r] = ue(void 0), s = U(
|
|
6708
6708
|
() => ["txs-status", n, e],
|
|
6709
6709
|
[e, n]
|
|
6710
6710
|
);
|
|
@@ -6763,7 +6763,7 @@ function vl(e = 250) {
|
|
|
6763
6763
|
};
|
|
6764
6764
|
}
|
|
6765
6765
|
const {
|
|
6766
|
-
debouncedValueAtom:
|
|
6766
|
+
debouncedValueAtom: Wo,
|
|
6767
6767
|
valueInitialized: I0,
|
|
6768
6768
|
clearTimeoutAtom: H0
|
|
6769
6769
|
} = vl(), {
|
|
@@ -6779,7 +6779,7 @@ const {
|
|
|
6779
6779
|
return ((n = e(ve)) == null ? void 0 : n.amount) ?? "";
|
|
6780
6780
|
},
|
|
6781
6781
|
(e, n, o) => {
|
|
6782
|
-
n(ve, (i) => ({ ...i, amount: o })), n(
|
|
6782
|
+
n(ve, (i) => ({ ...i, amount: o })), n(Wo, o), n(Ln, "swap-in"), o === "" && (n(ln, (i) => ({ ...i, amount: o })), n(Uo, o, void 0, !0));
|
|
6783
6783
|
}
|
|
6784
6784
|
), ln = fi(
|
|
6785
6785
|
"destinationAsset",
|
|
@@ -6790,12 +6790,12 @@ const {
|
|
|
6790
6790
|
return ((n = e(ln)) == null ? void 0 : n.amount) ?? "";
|
|
6791
6791
|
},
|
|
6792
6792
|
(e, n, o, i) => {
|
|
6793
|
-
n(ln, (t) => ({ ...t, amount: o })), n(Uo, o, i), n(Ln, "swap-out"), o === "" && (n(ve, (t) => ({ ...t, amount: o })), n(
|
|
6793
|
+
n(ln, (t) => ({ ...t, amount: o })), n(Uo, o, i), n(Ln, "swap-out"), o === "" && (n(ve, (t) => ({ ...t, amount: o })), n(Wo, o, void 0, !0));
|
|
6794
6794
|
}
|
|
6795
6795
|
), El = $(null, (e, n) => {
|
|
6796
|
-
n(ve, (o) => ({ ...o, amount: "" })), n(
|
|
6796
|
+
n(ve, (o) => ({ ...o, amount: "" })), n(Wo, "", void 0, !0), n(ln, (o) => ({ ...o, amount: "" })), n(Uo, "", void 0, !0);
|
|
6797
6797
|
}), V0 = $((e) => {
|
|
6798
|
-
const n = e(Ci), o = e(gt), i = e(
|
|
6798
|
+
const n = e(Ci), o = e(gt), i = e(Wo), t = e(Uo), { isLoading: c } = e(Go), a = e(Ln), r = n !== i, s = o !== t;
|
|
6799
6799
|
if (a === "swap-in")
|
|
6800
6800
|
return r || c;
|
|
6801
6801
|
if (a === "swap-out")
|
|
@@ -6821,18 +6821,18 @@ const {
|
|
|
6821
6821
|
const i = e(En);
|
|
6822
6822
|
n(En, { ...i, slippage: o });
|
|
6823
6823
|
}
|
|
6824
|
-
),
|
|
6824
|
+
), O0 = $(
|
|
6825
6825
|
(e) => e(En).routePreference,
|
|
6826
6826
|
(e, n, o) => {
|
|
6827
6827
|
const i = e(En);
|
|
6828
6828
|
n(En, { ...i, routePreference: o }), n(na, (t) => ({ ...t, goFast: o === ai.FASTEST }));
|
|
6829
6829
|
}
|
|
6830
|
-
),
|
|
6830
|
+
), W0 = Jr((e, n) => {
|
|
6831
6831
|
const o = e(ve), i = e(ln), t = e(I0), c = e(T0);
|
|
6832
|
-
o != null && o.amount && !t && n(
|
|
6832
|
+
o != null && o.amount && !t && n(Wo, o.amount), i != null && i.amount && !c && n(Uo, i.amount);
|
|
6833
6833
|
}), U0 = $((e) => {
|
|
6834
|
-
const n = e(ve), o = e(ln), i = e(Ln), t = e(
|
|
6835
|
-
return e(
|
|
6834
|
+
const n = e(ve), o = e(ln), i = e(Ln), t = e(Wo), c = e(Uo);
|
|
6835
|
+
return e(W0), !(n != null && n.chainID) || !n.denom || !(o != null && o.chainID) || !o.denom ? void 0 : {
|
|
6836
6836
|
...i === "swap-in" ? {
|
|
6837
6837
|
amountIn: In(
|
|
6838
6838
|
t ?? "0",
|
|
@@ -6872,7 +6872,7 @@ const {
|
|
|
6872
6872
|
}
|
|
6873
6873
|
};
|
|
6874
6874
|
}, K0 = so((e) => {
|
|
6875
|
-
const n = e(
|
|
6875
|
+
const n = e(Bn), o = e(U0), i = e(bn), t = e($i), c = e(He), a = e(na), r = o !== void 0 && (Number(o.amountIn) > 0 || Number(o.amountOut) > 0) && !t && i === Te.SwapPage && c === void 0;
|
|
6876
6876
|
return {
|
|
6877
6877
|
queryKey: ["skipRoute", o, a],
|
|
6878
6878
|
queryFn: async () => {
|
|
@@ -6928,7 +6928,7 @@ const {
|
|
|
6928
6928
|
}
|
|
6929
6929
|
);
|
|
6930
6930
|
so((e) => {
|
|
6931
|
-
const n = e(
|
|
6931
|
+
const n = e(Bn), o = e(Rn), i = o.find(
|
|
6932
6932
|
(t) => t.status !== "completed" && t.status !== "failed"
|
|
6933
6933
|
);
|
|
6934
6934
|
return {
|
|
@@ -7876,6 +7876,11 @@ const J0 = [
|
|
|
7876
7876
|
coinDenom: "flix",
|
|
7877
7877
|
coinMinimalDenom: "ibc/FF39851E73089ACBD0B09BDF62FA3C67FBD77A2CD97CD159DBCE9C770561F8AF",
|
|
7878
7878
|
coinDecimals: 6
|
|
7879
|
+
},
|
|
7880
|
+
{
|
|
7881
|
+
coinDenom: "Sherpa",
|
|
7882
|
+
coinMinimalDenom: "ibc/02EE50AB3A4B7540FA001B24CB75E688016F65547CABE885EA184338440080B2",
|
|
7883
|
+
coinDecimals: 6
|
|
7879
7884
|
}
|
|
7880
7885
|
],
|
|
7881
7886
|
rest: "https://rest.getbze.com",
|
|
@@ -8898,6 +8903,11 @@ const J0 = [
|
|
|
8898
8903
|
coinDenom: "whale",
|
|
8899
8904
|
coinMinimalDenom: "ibc/FA7112322CE7656DC84D441E49BAEAB9DC0AB3C7618A178A212CDE8B3F17C70B",
|
|
8900
8905
|
coinDecimals: 6
|
|
8906
|
+
},
|
|
8907
|
+
{
|
|
8908
|
+
coinDenom: "Chihuahua",
|
|
8909
|
+
coinMinimalDenom: "factory/chihuahua1mzcfzh4ufk2cta59pm9a6wdyvv8c4v5epqzj46/Chihuahua",
|
|
8910
|
+
coinDecimals: 6
|
|
8901
8911
|
}
|
|
8902
8912
|
],
|
|
8903
8913
|
rest: "https://api.chihuahua.wtf",
|
|
@@ -13857,9 +13867,9 @@ const J0 = [
|
|
|
13857
13867
|
coinMinimalDenom: "ibc/16065EE5282C5217685C8F084FC44864C25C706AC37356B0D62811D50B96920F",
|
|
13858
13868
|
coinDecimals: 6,
|
|
13859
13869
|
gasPriceStep: {
|
|
13860
|
-
low:
|
|
13861
|
-
average:
|
|
13862
|
-
high:
|
|
13870
|
+
low: 25e-4,
|
|
13871
|
+
average: 3e-3,
|
|
13872
|
+
high: 35e-4
|
|
13863
13873
|
}
|
|
13864
13874
|
},
|
|
13865
13875
|
{
|
|
@@ -13867,9 +13877,9 @@ const J0 = [
|
|
|
13867
13877
|
coinMinimalDenom: "ibc/6C349F0EB135C5FA99301758F35B87DB88403D690E5E314AB080401FEE4066E5",
|
|
13868
13878
|
coinDecimals: 6,
|
|
13869
13879
|
gasPriceStep: {
|
|
13870
|
-
low:
|
|
13871
|
-
average:
|
|
13872
|
-
high:
|
|
13880
|
+
low: 25e-4,
|
|
13881
|
+
average: 3e-3,
|
|
13882
|
+
high: 35e-4
|
|
13873
13883
|
}
|
|
13874
13884
|
},
|
|
13875
13885
|
{
|
|
@@ -13877,9 +13887,9 @@ const J0 = [
|
|
|
13877
13887
|
coinMinimalDenom: "ibc/8D4FC51F696E03711B9B37A5787FB89BD2DDBAF788813478B002D552A12F9157",
|
|
13878
13888
|
coinDecimals: 6,
|
|
13879
13889
|
gasPriceStep: {
|
|
13880
|
-
low:
|
|
13881
|
-
average:
|
|
13882
|
-
high:
|
|
13890
|
+
low: 25e-4,
|
|
13891
|
+
average: 3e-3,
|
|
13892
|
+
high: 35e-4
|
|
13883
13893
|
}
|
|
13884
13894
|
},
|
|
13885
13895
|
{
|
|
@@ -13887,9 +13897,9 @@ const J0 = [
|
|
|
13887
13897
|
coinMinimalDenom: "ibc/F1183DB3D428313A6FD329DF18219F9D6B83257D07D292EA9EC1D877E89EC2B0",
|
|
13888
13898
|
coinDecimals: 6,
|
|
13889
13899
|
gasPriceStep: {
|
|
13890
|
-
low:
|
|
13891
|
-
average:
|
|
13892
|
-
high:
|
|
13900
|
+
low: 25e-4,
|
|
13901
|
+
average: 3e-3,
|
|
13902
|
+
high: 35e-4
|
|
13893
13903
|
}
|
|
13894
13904
|
}
|
|
13895
13905
|
],
|
|
@@ -14268,6 +14278,21 @@ const J0 = [
|
|
|
14268
14278
|
coinDenom: "JSD",
|
|
14269
14279
|
coinMinimalDenom: "factory/neutron1mdy5fhtwdjagp5eallsdhlx6gxylm8rxqk72wjzg6y5d5kt44ysqprkduw/JSD",
|
|
14270
14280
|
coinDecimals: 6
|
|
14281
|
+
},
|
|
14282
|
+
{
|
|
14283
|
+
coinDenom: "FUEL",
|
|
14284
|
+
coinMinimalDenom: "factory/neutron1zl2htquajn50vxu5ltz0y5hf2qzvkgnjaaza2rssef268xplq6vsjuruxm/fuel",
|
|
14285
|
+
coinDecimals: 6
|
|
14286
|
+
},
|
|
14287
|
+
{
|
|
14288
|
+
coinDenom: "bglUSDC",
|
|
14289
|
+
coinMinimalDenom: "factory/neutron16ue9kysgneyqktmjxdfshajgvlrcx9rehxz8x9th7g8fgtnlxwuqvg9mgp/bglUSDC",
|
|
14290
|
+
coinDecimals: 6
|
|
14291
|
+
},
|
|
14292
|
+
{
|
|
14293
|
+
coinDenom: "dTIA",
|
|
14294
|
+
coinMinimalDenom: "factory/neutron1ut4c6pv4u6vyu97yw48y8g7mle0cat54848v6m97k977022lzxtsaqsgmq/udtia",
|
|
14295
|
+
coinDecimals: 6
|
|
14271
14296
|
}
|
|
14272
14297
|
],
|
|
14273
14298
|
rest: "https://api.novel.remedy.tm.p2p.org",
|
|
@@ -17545,6 +17570,11 @@ const J0 = [
|
|
|
17545
17570
|
coinDenom: "icp",
|
|
17546
17571
|
coinMinimalDenom: "factory/osmo10c4y9csfs8q7mtvfg4p9gd8d0acx0hpc2mte9xqzthd7rd3348tsfhaesm/sICP-native-ICP",
|
|
17547
17572
|
coinDecimals: 8
|
|
17573
|
+
},
|
|
17574
|
+
{
|
|
17575
|
+
coinDenom: "AARON",
|
|
17576
|
+
coinMinimalDenom: "ibc/BE2B0A9FC3A122C92883D3258098D7C6BB02F8F887E8A0BDE58609E7CA2649B2",
|
|
17577
|
+
coinDecimals: 6
|
|
17548
17578
|
}
|
|
17549
17579
|
],
|
|
17550
17580
|
rest: "https://lcd.osmosis.zone/",
|
|
@@ -18013,6 +18043,11 @@ const J0 = [
|
|
|
18013
18043
|
coinMinimalDenom: "p:uatom:31Dec2024",
|
|
18014
18044
|
coinDecimals: 6
|
|
18015
18045
|
},
|
|
18046
|
+
{
|
|
18047
|
+
coinDenom: "pATOM31Mar2025",
|
|
18048
|
+
coinMinimalDenom: "p:uatom:31Mar2025",
|
|
18049
|
+
coinDecimals: 6
|
|
18050
|
+
},
|
|
18016
18051
|
{
|
|
18017
18052
|
coinDenom: "pATOM31Dec2025",
|
|
18018
18053
|
coinMinimalDenom: "p:uatom:31Dec2025",
|
|
@@ -18033,6 +18068,11 @@ const J0 = [
|
|
|
18033
18068
|
coinMinimalDenom: "p:uosmo:31Dec2024",
|
|
18034
18069
|
coinDecimals: 6
|
|
18035
18070
|
},
|
|
18071
|
+
{
|
|
18072
|
+
coinDenom: "pOSMO31Mar2025",
|
|
18073
|
+
coinMinimalDenom: "p:uosmo:31Mar2025",
|
|
18074
|
+
coinDecimals: 6
|
|
18075
|
+
},
|
|
18036
18076
|
{
|
|
18037
18077
|
coinDenom: "pOSMO31Dec2025",
|
|
18038
18078
|
coinMinimalDenom: "p:uosmo:31Dec2025",
|
|
@@ -18053,6 +18093,11 @@ const J0 = [
|
|
|
18053
18093
|
coinMinimalDenom: "p:inj:31Dec2024",
|
|
18054
18094
|
coinDecimals: 18
|
|
18055
18095
|
},
|
|
18096
|
+
{
|
|
18097
|
+
coinDenom: "pINJ31Mar2025",
|
|
18098
|
+
coinMinimalDenom: "p:inj:31Mar2025",
|
|
18099
|
+
coinDecimals: 18
|
|
18100
|
+
},
|
|
18056
18101
|
{
|
|
18057
18102
|
coinDenom: "pINJ31Dec2025",
|
|
18058
18103
|
coinMinimalDenom: "p:inj:31Dec2025",
|
|
@@ -18074,8 +18119,8 @@ const J0 = [
|
|
|
18074
18119
|
coinDecimals: 6
|
|
18075
18120
|
},
|
|
18076
18121
|
{
|
|
18077
|
-
coinDenom: "
|
|
18078
|
-
coinMinimalDenom: "p:uluna:
|
|
18122
|
+
coinDenom: "pLUNA31Mar2025",
|
|
18123
|
+
coinMinimalDenom: "p:uluna:31Mar2025",
|
|
18079
18124
|
coinDecimals: 6
|
|
18080
18125
|
},
|
|
18081
18126
|
{
|
|
@@ -18083,6 +18128,11 @@ const J0 = [
|
|
|
18083
18128
|
coinMinimalDenom: "p:uluna:31Dec2025",
|
|
18084
18129
|
coinDecimals: 6
|
|
18085
18130
|
},
|
|
18131
|
+
{
|
|
18132
|
+
coinDenom: "pLUNA31Dec2026",
|
|
18133
|
+
coinMinimalDenom: "p:uluna:31Dec2026",
|
|
18134
|
+
coinDecimals: 6
|
|
18135
|
+
},
|
|
18086
18136
|
{
|
|
18087
18137
|
coinDenom: "pAUUU30Sep2024",
|
|
18088
18138
|
coinMinimalDenom: "p:uauuu:30Sep2024",
|
|
@@ -18113,6 +18163,11 @@ const J0 = [
|
|
|
18113
18163
|
coinMinimalDenom: "p:stutia:31Dec2024",
|
|
18114
18164
|
coinDecimals: 6
|
|
18115
18165
|
},
|
|
18166
|
+
{
|
|
18167
|
+
coinDenom: "pstTIA31Mar2025",
|
|
18168
|
+
coinMinimalDenom: "p:stutia:31Mar2025",
|
|
18169
|
+
coinDecimals: 6
|
|
18170
|
+
},
|
|
18116
18171
|
{
|
|
18117
18172
|
coinDenom: "pstTIA31Dec2025",
|
|
18118
18173
|
coinMinimalDenom: "p:stutia:31Dec2025",
|
|
@@ -18133,6 +18188,11 @@ const J0 = [
|
|
|
18133
18188
|
coinMinimalDenom: "p:stadydx:31Dec2024",
|
|
18134
18189
|
coinDecimals: 18
|
|
18135
18190
|
},
|
|
18191
|
+
{
|
|
18192
|
+
coinDenom: "pstDYDX31Mar2025",
|
|
18193
|
+
coinMinimalDenom: "p:stadydx:31Mar2025",
|
|
18194
|
+
coinDecimals: 18
|
|
18195
|
+
},
|
|
18136
18196
|
{
|
|
18137
18197
|
coinDenom: "pstDYDX31Dec2025",
|
|
18138
18198
|
coinMinimalDenom: "p:stadydx:31Dec2025",
|
|
@@ -18148,6 +18208,11 @@ const J0 = [
|
|
|
18148
18208
|
coinMinimalDenom: "p:udatom:31Dec2024",
|
|
18149
18209
|
coinDecimals: 6
|
|
18150
18210
|
},
|
|
18211
|
+
{
|
|
18212
|
+
coinDenom: "pdATOM31Mar2025",
|
|
18213
|
+
coinMinimalDenom: "p:udatom:31Mar2025",
|
|
18214
|
+
coinDecimals: 6
|
|
18215
|
+
},
|
|
18151
18216
|
{
|
|
18152
18217
|
coinDenom: "pdATOM30Jun2025",
|
|
18153
18218
|
coinMinimalDenom: "p:udatom:30Jun2025",
|
|
@@ -18168,6 +18233,11 @@ const J0 = [
|
|
|
18168
18233
|
coinMinimalDenom: "p:utia:31Dec2024",
|
|
18169
18234
|
coinDecimals: 6
|
|
18170
18235
|
},
|
|
18236
|
+
{
|
|
18237
|
+
coinDenom: "pTIA31Mar2025",
|
|
18238
|
+
coinMinimalDenom: "p:utia:31Mar2025",
|
|
18239
|
+
coinDecimals: 6
|
|
18240
|
+
},
|
|
18171
18241
|
{
|
|
18172
18242
|
coinDenom: "pTIA31Dec2025",
|
|
18173
18243
|
coinMinimalDenom: "p:utia:31Dec2025",
|
|
@@ -18188,6 +18258,11 @@ const J0 = [
|
|
|
18188
18258
|
coinMinimalDenom: "y:uatom:31Dec2024",
|
|
18189
18259
|
coinDecimals: 6
|
|
18190
18260
|
},
|
|
18261
|
+
{
|
|
18262
|
+
coinDenom: "yATOM31Mar2025",
|
|
18263
|
+
coinMinimalDenom: "y:uatom:31Mar2025",
|
|
18264
|
+
coinDecimals: 6
|
|
18265
|
+
},
|
|
18191
18266
|
{
|
|
18192
18267
|
coinDenom: "yATOM31Dec2025",
|
|
18193
18268
|
coinMinimalDenom: "y:uatom:31Dec2025",
|
|
@@ -18208,6 +18283,11 @@ const J0 = [
|
|
|
18208
18283
|
coinMinimalDenom: "y:uosmo:31Dec2024",
|
|
18209
18284
|
coinDecimals: 6
|
|
18210
18285
|
},
|
|
18286
|
+
{
|
|
18287
|
+
coinDenom: "yOSMO31Mar2025",
|
|
18288
|
+
coinMinimalDenom: "y:uosmo:31Mar2025",
|
|
18289
|
+
coinDecimals: 6
|
|
18290
|
+
},
|
|
18211
18291
|
{
|
|
18212
18292
|
coinDenom: "yOSMO31Dec2025",
|
|
18213
18293
|
coinMinimalDenom: "y:uosmo:31Dec2025",
|
|
@@ -18228,6 +18308,11 @@ const J0 = [
|
|
|
18228
18308
|
coinMinimalDenom: "y:inj:31Dec2024",
|
|
18229
18309
|
coinDecimals: 18
|
|
18230
18310
|
},
|
|
18311
|
+
{
|
|
18312
|
+
coinDenom: "yINJ31Mar2025",
|
|
18313
|
+
coinMinimalDenom: "y:inj:31Mar2025",
|
|
18314
|
+
coinDecimals: 18
|
|
18315
|
+
},
|
|
18231
18316
|
{
|
|
18232
18317
|
coinDenom: "yINJ31Dec2025",
|
|
18233
18318
|
coinMinimalDenom: "y:inj:31Dec2025",
|
|
@@ -18248,6 +18333,11 @@ const J0 = [
|
|
|
18248
18333
|
coinMinimalDenom: "y:uluna:31Dec2024",
|
|
18249
18334
|
coinDecimals: 6
|
|
18250
18335
|
},
|
|
18336
|
+
{
|
|
18337
|
+
coinDenom: "yLUNA31Mar2025",
|
|
18338
|
+
coinMinimalDenom: "y:uluna:31Mar2025",
|
|
18339
|
+
coinDecimals: 6
|
|
18340
|
+
},
|
|
18251
18341
|
{
|
|
18252
18342
|
coinDenom: "yLUNA31Dec2025",
|
|
18253
18343
|
coinMinimalDenom: "y:uluna:31Dec2025",
|
|
@@ -18288,6 +18378,11 @@ const J0 = [
|
|
|
18288
18378
|
coinMinimalDenom: "y:stutia:31Dec2024",
|
|
18289
18379
|
coinDecimals: 6
|
|
18290
18380
|
},
|
|
18381
|
+
{
|
|
18382
|
+
coinDenom: "ystTIA31Mar2025",
|
|
18383
|
+
coinMinimalDenom: "y:stutia:31Mar2025",
|
|
18384
|
+
coinDecimals: 6
|
|
18385
|
+
},
|
|
18291
18386
|
{
|
|
18292
18387
|
coinDenom: "ystTIA31Dec2025",
|
|
18293
18388
|
coinMinimalDenom: "y:stutia:31Dec2025",
|
|
@@ -18308,6 +18403,11 @@ const J0 = [
|
|
|
18308
18403
|
coinMinimalDenom: "y:stadydx:31Dec2024",
|
|
18309
18404
|
coinDecimals: 18
|
|
18310
18405
|
},
|
|
18406
|
+
{
|
|
18407
|
+
coinDenom: "ystDYDX31Mar2025",
|
|
18408
|
+
coinMinimalDenom: "y:stadydx:31Mar2025",
|
|
18409
|
+
coinDecimals: 6
|
|
18410
|
+
},
|
|
18311
18411
|
{
|
|
18312
18412
|
coinDenom: "ystDYDX31Dec2025",
|
|
18313
18413
|
coinMinimalDenom: "y:stadydx:31Dec2025",
|
|
@@ -18323,6 +18423,11 @@ const J0 = [
|
|
|
18323
18423
|
coinMinimalDenom: "y:udatom:31Dec2024",
|
|
18324
18424
|
coinDecimals: 6
|
|
18325
18425
|
},
|
|
18426
|
+
{
|
|
18427
|
+
coinDenom: "ydATOM31Mar2025",
|
|
18428
|
+
coinMinimalDenom: "y:udatom:31Mar2025",
|
|
18429
|
+
coinDecimals: 6
|
|
18430
|
+
},
|
|
18326
18431
|
{
|
|
18327
18432
|
coinDenom: "ydATOM30Jun2025",
|
|
18328
18433
|
coinMinimalDenom: "y:udatom:30Jun2025",
|
|
@@ -18343,6 +18448,11 @@ const J0 = [
|
|
|
18343
18448
|
coinMinimalDenom: "y:utia:31Dec2024",
|
|
18344
18449
|
coinDecimals: 6
|
|
18345
18450
|
},
|
|
18451
|
+
{
|
|
18452
|
+
coinDenom: "yTIA31Mar2025",
|
|
18453
|
+
coinMinimalDenom: "y:utia:31Mar2025",
|
|
18454
|
+
coinDecimals: 6
|
|
18455
|
+
},
|
|
18346
18456
|
{
|
|
18347
18457
|
coinDenom: "yTIA31Dec2025",
|
|
18348
18458
|
coinMinimalDenom: "y:utia:31Dec2025",
|
|
@@ -20027,12 +20137,12 @@ const J0 = [
|
|
|
20027
20137
|
coinDecimals: 6
|
|
20028
20138
|
},
|
|
20029
20139
|
{
|
|
20030
|
-
coinDenom: "
|
|
20140
|
+
coinDenom: "OLDbglSTARS",
|
|
20031
20141
|
coinMinimalDenom: "factory/stars1ur79p98rmpn456esgzjernaxy7v25mlwqsv8uhymzxahfw77427syk2h9j/bglSTARS",
|
|
20032
20142
|
coinDecimals: 6
|
|
20033
20143
|
},
|
|
20034
20144
|
{
|
|
20035
|
-
coinDenom: "
|
|
20145
|
+
coinDenom: "OLDbglUSDC",
|
|
20036
20146
|
coinMinimalDenom: "factory/stars1ur79p98rmpn456esgzjernaxy7v25mlwqsv8uhymzxahfw77427syk2h9j/bglUSDC",
|
|
20037
20147
|
coinDecimals: 6
|
|
20038
20148
|
},
|
|
@@ -22602,6 +22712,47 @@ const J0 = [
|
|
|
22602
22712
|
coinType: 60
|
|
22603
22713
|
}
|
|
22604
22714
|
},
|
|
22715
|
+
{
|
|
22716
|
+
chainId: "diamond-1",
|
|
22717
|
+
currencies: [
|
|
22718
|
+
{
|
|
22719
|
+
coinDenom: "rock",
|
|
22720
|
+
coinMinimalDenom: "urock",
|
|
22721
|
+
coinDecimals: 6
|
|
22722
|
+
}
|
|
22723
|
+
],
|
|
22724
|
+
rest: "https://api.diamond.zenrocklabs.io/",
|
|
22725
|
+
rpc: "https://rpc.diamond.zenrocklabs.io/",
|
|
22726
|
+
bech32Config: {
|
|
22727
|
+
bech32PrefixAccAddr: "zen",
|
|
22728
|
+
bech32PrefixAccPub: "zenpub",
|
|
22729
|
+
bech32PrefixValAddr: "zenvaloper",
|
|
22730
|
+
bech32PrefixValPub: "zenvaloperpub",
|
|
22731
|
+
bech32PrefixConsAddr: "zenvalcons",
|
|
22732
|
+
bech32PrefixConsPub: "zenvalconspub"
|
|
22733
|
+
},
|
|
22734
|
+
chainName: "zenrock",
|
|
22735
|
+
feeCurrencies: [
|
|
22736
|
+
{
|
|
22737
|
+
coinDenom: "rock",
|
|
22738
|
+
coinMinimalDenom: "urock",
|
|
22739
|
+
coinDecimals: 6,
|
|
22740
|
+
gasPriceStep: {
|
|
22741
|
+
low: 0.5,
|
|
22742
|
+
average: 0.55,
|
|
22743
|
+
high: 0.6
|
|
22744
|
+
}
|
|
22745
|
+
}
|
|
22746
|
+
],
|
|
22747
|
+
stakeCurrency: {
|
|
22748
|
+
coinDenom: "rock",
|
|
22749
|
+
coinMinimalDenom: "urock",
|
|
22750
|
+
coinDecimals: 6
|
|
22751
|
+
},
|
|
22752
|
+
bip44: {
|
|
22753
|
+
coinType: 118
|
|
22754
|
+
}
|
|
22755
|
+
},
|
|
22605
22756
|
{
|
|
22606
22757
|
chainId: "zetachain_7000-1",
|
|
22607
22758
|
currencies: [
|
|
@@ -23734,14 +23885,9 @@ const J0 = [
|
|
|
23734
23885
|
coinDecimals: 18
|
|
23735
23886
|
},
|
|
23736
23887
|
{
|
|
23737
|
-
coinDenom: "
|
|
23738
|
-
coinMinimalDenom: "ibc/
|
|
23739
|
-
coinDecimals:
|
|
23740
|
-
},
|
|
23741
|
-
{
|
|
23742
|
-
coinDenom: "mand",
|
|
23743
|
-
coinMinimalDenom: "ibc/5A26C8DC8DA66F4DD94326E67F94510188F5F7AFE2DB3933A0C823670E56EABF",
|
|
23744
|
-
coinDecimals: 18
|
|
23888
|
+
coinDenom: "usdc",
|
|
23889
|
+
coinMinimalDenom: "ibc/E1E753928DE8EF6034F987F9E9C5F71ACF6AE7F5E221933D477BF745995B338B",
|
|
23890
|
+
coinDecimals: 6
|
|
23745
23891
|
}
|
|
23746
23892
|
],
|
|
23747
23893
|
rest: "https://api-dym-migration-test-2.mzonder.com",
|
|
@@ -23754,7 +23900,7 @@ const J0 = [
|
|
|
23754
23900
|
bech32PrefixConsAddr: "dymvalcons",
|
|
23755
23901
|
bech32PrefixConsPub: "dymvalconspub"
|
|
23756
23902
|
},
|
|
23757
|
-
chainName: "
|
|
23903
|
+
chainName: "dymensiontestnet1",
|
|
23758
23904
|
feeCurrencies: [
|
|
23759
23905
|
{
|
|
23760
23906
|
coinDenom: "dym",
|
|
@@ -24843,7 +24989,7 @@ const J0 = [
|
|
|
24843
24989
|
}
|
|
24844
24990
|
},
|
|
24845
24991
|
{
|
|
24846
|
-
chainId: "manifest-ledger-
|
|
24992
|
+
chainId: "manifest-ledger-testnet",
|
|
24847
24993
|
currencies: [
|
|
24848
24994
|
{
|
|
24849
24995
|
coinDenom: "mfx",
|
|
@@ -24856,8 +25002,8 @@ const J0 = [
|
|
|
24856
25002
|
coinDecimals: 6
|
|
24857
25003
|
}
|
|
24858
25004
|
],
|
|
24859
|
-
rest: "https://nodes.
|
|
24860
|
-
rpc: "https://nodes.
|
|
25005
|
+
rest: "https://nodes.liftedinit.tech/manifest/testnet/api",
|
|
25006
|
+
rpc: "https://nodes.liftedinit.tech/manifest/testnet/rpc",
|
|
24861
25007
|
bech32Config: {
|
|
24862
25008
|
bech32PrefixAccAddr: "manifest",
|
|
24863
25009
|
bech32PrefixAccPub: "manifestpub",
|
|
@@ -26705,7 +26851,7 @@ const J0 = [
|
|
|
26705
26851
|
}
|
|
26706
26852
|
},
|
|
26707
26853
|
{
|
|
26708
|
-
chainId: "symphony-testnet-
|
|
26854
|
+
chainId: "symphony-testnet-4",
|
|
26709
26855
|
currencies: [
|
|
26710
26856
|
{
|
|
26711
26857
|
coinDenom: "mld",
|
|
@@ -26946,6 +27092,11 @@ const J0 = [
|
|
|
26946
27092
|
coinDenom: "usdc",
|
|
26947
27093
|
coinMinimalDenom: "ibc/7C0807A56073C4A27B0DE1C21BA3EB75DF75FD763F4AD37BC159917FC01145F0",
|
|
26948
27094
|
coinDecimals: 6
|
|
27095
|
+
},
|
|
27096
|
+
{
|
|
27097
|
+
coinDenom: "btc",
|
|
27098
|
+
coinMinimalDenom: "factory/titan1uvt40rsp68wtas0y75w34qdn5h0g5eyefy5gmvzftdnupyv7q7vq7jfynw/w-btc",
|
|
27099
|
+
coinDecimals: 8
|
|
26949
27100
|
}
|
|
26950
27101
|
],
|
|
26951
27102
|
rest: "https://titan-testnet-lcd.titanlab.io:443",
|
|
@@ -27335,12 +27486,12 @@ const J0 = [
|
|
|
27335
27486
|
rest: "https://api.gardia.zenrocklabs.io/",
|
|
27336
27487
|
rpc: "https://rpc.gardia.zenrocklabs.io/",
|
|
27337
27488
|
bech32Config: {
|
|
27338
|
-
bech32PrefixAccAddr: "
|
|
27339
|
-
bech32PrefixAccPub: "
|
|
27340
|
-
bech32PrefixValAddr: "
|
|
27341
|
-
bech32PrefixValPub: "
|
|
27342
|
-
bech32PrefixConsAddr: "
|
|
27343
|
-
bech32PrefixConsPub: "
|
|
27489
|
+
bech32PrefixAccAddr: "zen",
|
|
27490
|
+
bech32PrefixAccPub: "zenpub",
|
|
27491
|
+
bech32PrefixValAddr: "zenvaloper",
|
|
27492
|
+
bech32PrefixValPub: "zenvaloperpub",
|
|
27493
|
+
bech32PrefixConsAddr: "zenvalcons",
|
|
27494
|
+
bech32PrefixConsPub: "zenvalconspub"
|
|
27344
27495
|
},
|
|
27345
27496
|
chainName: "zenrocktestnet",
|
|
27346
27497
|
feeCurrencies: [
|
|
@@ -27607,6 +27758,12 @@ const J0 = [
|
|
|
27607
27758
|
{
|
|
27608
27759
|
chainId: "aaronetwork",
|
|
27609
27760
|
explorers: [
|
|
27761
|
+
{
|
|
27762
|
+
kind: "Ping.pub",
|
|
27763
|
+
url: "https://ping.pub/Aaron%20Network",
|
|
27764
|
+
tx_page: "https://ping.pub/Aaron%20Network/tx/${txHash}",
|
|
27765
|
+
account_page: "https://ping.pub/Aaron%20Network/account/${accountAddress}"
|
|
27766
|
+
},
|
|
27610
27767
|
{
|
|
27611
27768
|
kind: "Aaron Network",
|
|
27612
27769
|
url: "https://explorer.aaronetwork.xyz",
|
|
@@ -27618,6 +27775,12 @@ const J0 = [
|
|
|
27618
27775
|
url: "https://explorer.whenmoonwhenlambo.money/aaronetwork",
|
|
27619
27776
|
tx_page: "https://explorer.whenmoonwhenlambo.money/aaronetwork/tx/${txHash}",
|
|
27620
27777
|
account_page: "https://explorer.whenmoonwhenlambo.money/aaronetwork/account/${accountAddress}"
|
|
27778
|
+
},
|
|
27779
|
+
{
|
|
27780
|
+
kind: "NodesHub",
|
|
27781
|
+
url: "https://explorer.nodeshub.online/aaron",
|
|
27782
|
+
tx_page: "https://explorer.nodeshub.online/aaron/tx/${txHash}",
|
|
27783
|
+
account_page: "https://explorer.nodeshub.online/aaron/${accountAddress}"
|
|
27621
27784
|
}
|
|
27622
27785
|
]
|
|
27623
27786
|
},
|
|
@@ -28925,6 +29088,11 @@ const J0 = [
|
|
|
28925
29088
|
url: "https://mainnet.whispernode.com/picasso",
|
|
28926
29089
|
tx_page: "https://mainnet.whispernode.com/picasso/tx/${txHash}",
|
|
28927
29090
|
account_page: "https://mainnet.whispernode.com/picasso/account/${accountAddress}"
|
|
29091
|
+
},
|
|
29092
|
+
{
|
|
29093
|
+
kind: "Moonbridge",
|
|
29094
|
+
url: "https://explorer.moonbridge.org/picasso",
|
|
29095
|
+
tx_page: "https://explorer.moonbridge.org/picasso/tx/${txHash}"
|
|
28928
29096
|
}
|
|
28929
29097
|
]
|
|
28930
29098
|
},
|
|
@@ -29556,6 +29724,24 @@ const J0 = [
|
|
|
29556
29724
|
url: "https://mainnet.itrocket.net/elys",
|
|
29557
29725
|
tx_page: "https://mainnet.itrocket.net/elys/staking/tx/${txHash}",
|
|
29558
29726
|
account_page: "https://mainnet.itrocket.net/elys/account/${accountAddress}"
|
|
29727
|
+
},
|
|
29728
|
+
{
|
|
29729
|
+
kind: "🔥STAVR🔥",
|
|
29730
|
+
url: "https://explorer.stavr.tech/Elys-Mainnet",
|
|
29731
|
+
tx_page: "https://explorer.stavr.tech/Elys-Mainnet/tx/${txHash}",
|
|
29732
|
+
account_page: "https://explorer.stavr.tech/Elys-Mainnet/account/${accountAddress}"
|
|
29733
|
+
},
|
|
29734
|
+
{
|
|
29735
|
+
kind: "Moonbridge",
|
|
29736
|
+
url: "https://explorer.moonbridge.org/elys",
|
|
29737
|
+
tx_page: "https://explorer.moonbridge.org/elys/tx/${txHash}",
|
|
29738
|
+
account_page: "https://explorer.moonbridge.org/elys/account/${accountAddress}"
|
|
29739
|
+
},
|
|
29740
|
+
{
|
|
29741
|
+
kind: "🚀 WHEN MOON 🌕 WHEN LAMBO 🔥",
|
|
29742
|
+
url: "https://explorer.whenmoonwhenlambo.money/elys",
|
|
29743
|
+
tx_page: "https://explorer.whenmoonwhenlambo.money/elys/tx/${txHash}",
|
|
29744
|
+
account_page: "https://explorer.whenmoonwhenlambo.money/elys/account/${accountAddress}"
|
|
29559
29745
|
}
|
|
29560
29746
|
]
|
|
29561
29747
|
},
|
|
@@ -29619,6 +29805,12 @@ const J0 = [
|
|
|
29619
29805
|
url: "https://mainnet.whispernode.com/empowerchain",
|
|
29620
29806
|
tx_page: "https://mainnet.whispernode.com/empowerchain/tx/${txHash}",
|
|
29621
29807
|
account_page: "https://mainnet.whispernode.com/empowerchain/account/${accountAddress}"
|
|
29808
|
+
},
|
|
29809
|
+
{
|
|
29810
|
+
kind: "Moonbridge",
|
|
29811
|
+
url: "https://explorer.moonbridge.org/empower",
|
|
29812
|
+
tx_page: "https://explorer.moonbridge.org/empower/tx/${txHash}",
|
|
29813
|
+
account_page: "https://explorer.moonbridge.org/empower/account/${accountAddress}"
|
|
29622
29814
|
}
|
|
29623
29815
|
]
|
|
29624
29816
|
},
|
|
@@ -30006,9 +30198,9 @@ const J0 = [
|
|
|
30006
30198
|
},
|
|
30007
30199
|
{
|
|
30008
30200
|
kind: "Moonbridge",
|
|
30009
|
-
url: "https://explorer.moonbridge.
|
|
30010
|
-
tx_page: "https://explorer.moonbridge.
|
|
30011
|
-
account_page: "https://explorer.moonbridge.
|
|
30201
|
+
url: "https://explorer.moonbridge.org/gitopia",
|
|
30202
|
+
tx_page: "https://explorer.moonbridge.org/gitopia/tx/${txHash}",
|
|
30203
|
+
account_page: "https://explorer.moonbridge.org/gitopia/account/${accountAddress}"
|
|
30012
30204
|
},
|
|
30013
30205
|
{
|
|
30014
30206
|
kind: "KonsorTech",
|
|
@@ -30772,15 +30964,21 @@ const J0 = [
|
|
|
30772
30964
|
},
|
|
30773
30965
|
{
|
|
30774
30966
|
kind: "Moonbridge Explorer",
|
|
30775
|
-
url: "https://explorer.moonbridge.
|
|
30776
|
-
tx_page: "https://explorer.moonbridge.
|
|
30777
|
-
account_page: "https://explorer.moonbridge.
|
|
30967
|
+
url: "https://explorer.moonbridge.org/kopi",
|
|
30968
|
+
tx_page: "https://explorer.moonbridge.org/kopi/txs/${txHash}",
|
|
30969
|
+
account_page: "https://explorer.moonbridge.org/kopi/account/${accountAddress}"
|
|
30778
30970
|
},
|
|
30779
30971
|
{
|
|
30780
30972
|
kind: "Cosmoscan Explorer",
|
|
30781
30973
|
url: "https://cosmoscan.com/kopi",
|
|
30782
30974
|
tx_page: "https://cosmoscan.com/kopi/txs/${txHash}",
|
|
30783
30975
|
account_page: "https://cosmoscan.com/kopi/account/${accountAddress}"
|
|
30976
|
+
},
|
|
30977
|
+
{
|
|
30978
|
+
kind: "NodeStake Explorer",
|
|
30979
|
+
url: "https://explorer.nodestake.org/kopi/",
|
|
30980
|
+
tx_page: "https://explorer.nodestake.org/kopi/txs/${txHash}",
|
|
30981
|
+
account_page: "https://explorer.nodestake.org/kopi/account/${accountAddress}"
|
|
30784
30982
|
}
|
|
30785
30983
|
]
|
|
30786
30984
|
},
|
|
@@ -31191,6 +31389,12 @@ const J0 = [
|
|
|
31191
31389
|
url: "https://atomscan.com/frontier/medasdigital",
|
|
31192
31390
|
tx_page: "https://atomscan.com/frontier/medasdigital/transactions/${txHash}",
|
|
31193
31391
|
account_page: "https://atomscan.com/frontier/medasdigital/accounts/${accountAddress}"
|
|
31392
|
+
},
|
|
31393
|
+
{
|
|
31394
|
+
kind: "🚀 WHEN MOON 🌕 WHEN LAMBO 🔥",
|
|
31395
|
+
url: "https://explorer.whenmoonwhenlambo.money/medasdigital",
|
|
31396
|
+
tx_page: "https://explorer.whenmoonwhenlambo.money/medasdigital/tx/${txHash}",
|
|
31397
|
+
account_page: "https://explorer.whenmoonwhenlambo.money/medasdigital/account/${accountAddress}"
|
|
31194
31398
|
}
|
|
31195
31399
|
]
|
|
31196
31400
|
},
|
|
@@ -32342,6 +32546,12 @@ const J0 = [
|
|
|
32342
32546
|
url: "https://explorer.whenmoonwhenlambo.money/realio",
|
|
32343
32547
|
tx_page: "https://explorer.whenmoonwhenlambo.money/realio/tx/${txHash}",
|
|
32344
32548
|
account_page: "https://explorer.whenmoonwhenlambo.money/realio/account/${accountAddress}"
|
|
32549
|
+
},
|
|
32550
|
+
{
|
|
32551
|
+
kind: "Moonbridge",
|
|
32552
|
+
url: "https://explorer.moonbridge.org/realio",
|
|
32553
|
+
tx_page: "https://explorer.moonbridge.org/realio/tx/${txHash}",
|
|
32554
|
+
account_page: "https://explorer.moonbridge.org/realio/account/${accountAddress}"
|
|
32345
32555
|
}
|
|
32346
32556
|
]
|
|
32347
32557
|
},
|
|
@@ -33088,10 +33298,10 @@ const J0 = [
|
|
|
33088
33298
|
account_page: "https://exp.nodeist.net/source/accounts/${accountAddress}"
|
|
33089
33299
|
},
|
|
33090
33300
|
{
|
|
33091
|
-
kind: "
|
|
33092
|
-
url: "https://explorer.moonbridge.
|
|
33093
|
-
tx_page: "https://explorer.moonbridge.
|
|
33094
|
-
account_page: "https://explorer.moonbridge.
|
|
33301
|
+
kind: "Moonbridge",
|
|
33302
|
+
url: "https://explorer.moonbridge.org/source",
|
|
33303
|
+
tx_page: "https://explorer.moonbridge.org/source/tx/${txHash}",
|
|
33304
|
+
account_page: "https://explorer.moonbridge.org/source/accounts/${accountAddress}"
|
|
33095
33305
|
},
|
|
33096
33306
|
{
|
|
33097
33307
|
kind: "NodeStake",
|
|
@@ -33842,12 +34052,6 @@ const J0 = [
|
|
|
33842
34052
|
tx_page: "https://explorer.burnt.com/xion-mainnet-1/tx/${txHash}",
|
|
33843
34053
|
account_page: "https://explorer.burnt.com/xion-mainnet-1/account/${accountAddress}"
|
|
33844
34054
|
},
|
|
33845
|
-
{
|
|
33846
|
-
kind: "🚀 WHEN MOON 🌕 WHEN LAMBO 🔥",
|
|
33847
|
-
url: "https://explorer.whenmoonwhenlambo.money/xion",
|
|
33848
|
-
tx_page: "https://explorer.whenmoonwhenlambo.money/xion/tx/${txHash}",
|
|
33849
|
-
account_page: "https://explorer.whenmoonwhenlambo.money/xion/account/${accountAddress}"
|
|
33850
|
-
},
|
|
33851
34055
|
{
|
|
33852
34056
|
kind: "staking-explorer.com",
|
|
33853
34057
|
url: "https://staking-explorer.com/explorer/xion",
|
|
@@ -33906,6 +34110,9 @@ const J0 = [
|
|
|
33906
34110
|
}
|
|
33907
34111
|
]
|
|
33908
34112
|
},
|
|
34113
|
+
{
|
|
34114
|
+
chainId: "diamond-1"
|
|
34115
|
+
},
|
|
33909
34116
|
{
|
|
33910
34117
|
chainId: "zetachain_7000-1",
|
|
33911
34118
|
explorers: [
|
|
@@ -34727,12 +34934,12 @@ const J0 = [
|
|
|
34727
34934
|
]
|
|
34728
34935
|
},
|
|
34729
34936
|
{
|
|
34730
|
-
chainId: "manifest-ledger-
|
|
34937
|
+
chainId: "manifest-ledger-testnet",
|
|
34731
34938
|
explorers: [
|
|
34732
34939
|
{
|
|
34733
34940
|
kind: "Default Explorer",
|
|
34734
|
-
url: "https://manifest
|
|
34735
|
-
tx_page: "https://manifest
|
|
34941
|
+
url: "https://testnet.manifest.explorers.guru/",
|
|
34942
|
+
tx_page: "https://testnet.manifest.explorers.guru/transactions"
|
|
34736
34943
|
}
|
|
34737
34944
|
]
|
|
34738
34945
|
},
|
|
@@ -35294,7 +35501,7 @@ const J0 = [
|
|
|
35294
35501
|
]
|
|
35295
35502
|
},
|
|
35296
35503
|
{
|
|
35297
|
-
chainId: "symphony-testnet-
|
|
35504
|
+
chainId: "symphony-testnet-4"
|
|
35298
35505
|
},
|
|
35299
35506
|
{
|
|
35300
35507
|
chainId: "amber-2",
|
|
@@ -35572,7 +35779,7 @@ const J0 = [
|
|
|
35572
35779
|
return (c = l == null ? void 0 : l.tx_page) == null ? void 0 : c.replace("${txHash}", n);
|
|
35573
35780
|
}
|
|
35574
35781
|
case R.EVM: {
|
|
35575
|
-
const r =
|
|
35782
|
+
const r = Wc.chains.find((l) => l.id === Number(e)), s = (a = r == null ? void 0 : r.blockExplorers) == null ? void 0 : a.default.url;
|
|
35576
35783
|
return s ? `${s}/tx/${n}` : void 0;
|
|
35577
35784
|
}
|
|
35578
35785
|
case R.SVM:
|
|
@@ -35580,7 +35787,7 @@ const J0 = [
|
|
|
35580
35787
|
default:
|
|
35581
35788
|
return;
|
|
35582
35789
|
}
|
|
35583
|
-
}, ki = $(), Un = $({}),
|
|
35790
|
+
}, ki = $(), Un = $({}), We = fi(
|
|
35584
35791
|
"swapExecutionState",
|
|
35585
35792
|
{
|
|
35586
35793
|
route: void 0,
|
|
@@ -35591,17 +35798,17 @@ const J0 = [
|
|
|
35591
35798
|
isValidatingGasBalance: void 0
|
|
35592
35799
|
}
|
|
35593
35800
|
), Yn = $(null, (e, n, o) => {
|
|
35594
|
-
n(
|
|
35801
|
+
n(We, (i) => ({ ...i, overallStatus: o }));
|
|
35595
35802
|
}), eD = $(null, (e, n) => {
|
|
35596
|
-
const { data: o } = e(Go), { data: i } = e(
|
|
35597
|
-
o && (n(
|
|
35803
|
+
const { data: o } = e(Go), { data: i } = e(Be), t = e(Rn), c = e(ki), a = t.length;
|
|
35804
|
+
o && (n(We, {
|
|
35598
35805
|
userAddresses: [],
|
|
35599
35806
|
transactionDetailsArray: [],
|
|
35600
35807
|
route: o,
|
|
35601
35808
|
transactionHistoryIndex: a,
|
|
35602
35809
|
overallStatus: "unconfirmed",
|
|
35603
35810
|
isValidatingGasBalance: void 0
|
|
35604
|
-
}), n(
|
|
35811
|
+
}), n(Ml, {
|
|
35605
35812
|
onTransactionUpdated: (r) => {
|
|
35606
35813
|
var s;
|
|
35607
35814
|
((s = r.status) == null ? void 0 : s.status) !== "STATE_COMPLETED" && n(wr, r, a);
|
|
@@ -35664,17 +35871,17 @@ const J0 = [
|
|
|
35664
35871
|
}
|
|
35665
35872
|
}));
|
|
35666
35873
|
}), nD = $(null, (e, n, o) => {
|
|
35667
|
-
n(
|
|
35874
|
+
n(We, (i) => ({ ...i, isValidatingGasBalance: o }));
|
|
35668
35875
|
}), wr = $(
|
|
35669
35876
|
null,
|
|
35670
35877
|
(e, n, o, i) => {
|
|
35671
|
-
const t = e(
|
|
35878
|
+
const t = e(We), { transactionDetailsArray: c, route: a } = t, r = c, s = r.findIndex(
|
|
35672
35879
|
(l) => l.txHash.toLowerCase() === o.txHash.toLowerCase()
|
|
35673
35880
|
);
|
|
35674
35881
|
s !== -1 ? r[s] = {
|
|
35675
35882
|
...r[s],
|
|
35676
35883
|
...o
|
|
35677
|
-
} : r.push(o), n(
|
|
35884
|
+
} : r.push(o), n(We, {
|
|
35678
35885
|
...t,
|
|
35679
35886
|
transactionDetailsArray: r
|
|
35680
35887
|
}), n(Pl, i, {
|
|
@@ -35693,11 +35900,11 @@ const J0 = [
|
|
|
35693
35900
|
chainID: c.chainID,
|
|
35694
35901
|
address: c.address
|
|
35695
35902
|
}));
|
|
35696
|
-
n(
|
|
35903
|
+
n(We, (c) => ({
|
|
35697
35904
|
...c,
|
|
35698
35905
|
userAddresses: t
|
|
35699
35906
|
}));
|
|
35700
|
-
}),
|
|
35907
|
+
}), Ml = $(), iD = $((e) => {
|
|
35701
35908
|
var o;
|
|
35702
35909
|
const n = (o = e(Kc)) == null ? void 0 : o.data;
|
|
35703
35910
|
return async (i, t) => {
|
|
@@ -35705,8 +35912,8 @@ const J0 = [
|
|
|
35705
35912
|
const c = (n == null ? void 0 : n.some((r) => r.chainID === i)) ?? !1, a = Math.ceil(c ? ii.SWAP : ii.DEFAULT);
|
|
35706
35913
|
return i === "carbon-1" ? ii.CARBON : a;
|
|
35707
35914
|
};
|
|
35708
|
-
}),
|
|
35709
|
-
const n = e(
|
|
35915
|
+
}), Bl = Pm((e) => {
|
|
35916
|
+
const n = e(Bn), { route: o, userAddresses: i, transactionDetailsArray: t } = e(We), c = e(Ml), a = e(En), r = e(iD);
|
|
35710
35917
|
return {
|
|
35711
35918
|
gcTime: 1 / 0,
|
|
35712
35919
|
mutationFn: async () => {
|
|
@@ -35733,12 +35940,12 @@ const J0 = [
|
|
|
35733
35940
|
}
|
|
35734
35941
|
};
|
|
35735
35942
|
}), zl = (e) => U(() => {
|
|
35736
|
-
const n =
|
|
35943
|
+
const n = Oo(e == null ? void 0 : e.operations);
|
|
35737
35944
|
return (n == null ? void 0 : n.some(
|
|
35738
35945
|
(o) => o.type === ye.goFastTransfer
|
|
35739
35946
|
)) ?? !1;
|
|
35740
35947
|
}, [e == null ? void 0 : e.operations]), tD = (e) => U(() => {
|
|
35741
|
-
const n = [ye.swap, ye.evmSwap], o =
|
|
35948
|
+
const n = [ye.swap, ye.evmSwap], o = Oo(e == null ? void 0 : e.operations);
|
|
35742
35949
|
return (o == null ? void 0 : o.some(
|
|
35743
35950
|
(i) => n.includes(i.type)
|
|
35744
35951
|
)) ?? !1;
|
|
@@ -35750,7 +35957,7 @@ const J0 = [
|
|
|
35750
35957
|
const i = de(), [t, c] = he(He), a = X(bn), {
|
|
35751
35958
|
route: r,
|
|
35752
35959
|
transactionDetailsArray: s
|
|
35753
|
-
} = L(
|
|
35960
|
+
} = L(We), l = zl(r), { data: p } = $c({
|
|
35754
35961
|
txsRequired: r == null ? void 0 : r.txsRequired,
|
|
35755
35962
|
txs: s
|
|
35756
35963
|
});
|
|
@@ -35770,7 +35977,7 @@ const J0 = [
|
|
|
35770
35977
|
}
|
|
35771
35978
|
),
|
|
35772
35979
|
/* @__PURE__ */ m(
|
|
35773
|
-
|
|
35980
|
+
Wn,
|
|
35774
35981
|
{
|
|
35775
35982
|
title: "Sorry, your transaction is taking longer than usual.",
|
|
35776
35983
|
description: /* @__PURE__ */ z(be, { children: [
|
|
@@ -35825,7 +36032,7 @@ const J0 = [
|
|
|
35825
36032
|
}
|
|
35826
36033
|
),
|
|
35827
36034
|
/* @__PURE__ */ m(
|
|
35828
|
-
|
|
36035
|
+
Wn,
|
|
35829
36036
|
{
|
|
35830
36037
|
title: "This transaction requires additional signing steps",
|
|
35831
36038
|
description: /* @__PURE__ */ z(K, { textWrap: "balance", textAlign: "center", color: i.warning.text, children: [
|
|
@@ -35879,7 +36086,7 @@ const J0 = [
|
|
|
35879
36086
|
}
|
|
35880
36087
|
),
|
|
35881
36088
|
/* @__PURE__ */ m(
|
|
35882
|
-
|
|
36089
|
+
Wn,
|
|
35883
36090
|
{
|
|
35884
36091
|
title: "Action Required",
|
|
35885
36092
|
description: /* @__PURE__ */ z(be, { children: [
|
|
@@ -35953,7 +36160,7 @@ const J0 = [
|
|
|
35953
36160
|
}
|
|
35954
36161
|
),
|
|
35955
36162
|
/* @__PURE__ */ m(
|
|
35956
|
-
|
|
36163
|
+
Wn,
|
|
35957
36164
|
{
|
|
35958
36165
|
title: "Warning: Ledger not supported",
|
|
35959
36166
|
description: /* @__PURE__ */ m(be, { children: /* @__PURE__ */ m(K, { color: n.error.text, textAlign: "center", textWrap: "balance", children: "Ledger isn't currently supported on Ethermint chains (such as Injective, Dymension, EVMOS, and similar networks)." }) }),
|
|
@@ -36378,7 +36585,7 @@ const J0 = [
|
|
|
36378
36585
|
imgSrc: "https://raw.githubusercontent.com/graz-sh/graz/dev/example/starter/public/assets/wallet-icon-compass.png"
|
|
36379
36586
|
}
|
|
36380
36587
|
}, jl = (e) => dD[e], Gn = () => {
|
|
36381
|
-
const e = L(Tc), [n, o] = he(jc), [i, t] = he(Ic), [c, a] = he(Hc), r = L(ht), { data: s } = L(
|
|
36588
|
+
const e = L(Tc), [n, o] = he(jc), [i, t] = he(Ic), [c, a] = he(Hc), r = L(ht), { data: s } = L(Be), { data: l, walletType: p } = Kr({
|
|
36382
36589
|
multiChain: !0
|
|
36383
36590
|
}), h = Uc.find(
|
|
36384
36591
|
(v) => {
|
|
@@ -36648,7 +36855,7 @@ const J0 = [
|
|
|
36648
36855
|
children: /* @__PURE__ */ z(V, { align: "center", justify: "space-between", children: [
|
|
36649
36856
|
/* @__PURE__ */ z(me, { children: [
|
|
36650
36857
|
/* @__PURE__ */ z(V, { gap: 5, align: "center", children: [
|
|
36651
|
-
/* @__PURE__ */ m(CD, { normalTextColor: !0, title: D == null ? void 0 : D.amount, children:
|
|
36858
|
+
/* @__PURE__ */ m(CD, { normalTextColor: !0, title: D == null ? void 0 : D.amount, children: Mo(D == null ? void 0 : D.amount) }),
|
|
36652
36859
|
/* @__PURE__ */ m(gD, { normalTextColor: !0, children: D == null ? void 0 : D.symbol }),
|
|
36653
36860
|
/* @__PURE__ */ z(
|
|
36654
36861
|
kD,
|
|
@@ -36767,7 +36974,7 @@ const J0 = [
|
|
|
36767
36974
|
overflow: hidden;
|
|
36768
36975
|
white-space: nowrap;
|
|
36769
36976
|
`;
|
|
36770
|
-
function
|
|
36977
|
+
function On(e) {
|
|
36771
36978
|
const n = typeof e == "string" ? parseFloat(e) : e;
|
|
36772
36979
|
return wD.format(n);
|
|
36773
36980
|
}
|
|
@@ -36775,7 +36982,7 @@ const wD = new Intl.NumberFormat("en-US", {
|
|
|
36775
36982
|
style: "currency",
|
|
36776
36983
|
currency: "USD",
|
|
36777
36984
|
maximumFractionDigits: 2
|
|
36778
|
-
}),
|
|
36985
|
+
}), Mr = ({
|
|
36779
36986
|
denom: e,
|
|
36780
36987
|
tokenAmount: n,
|
|
36781
36988
|
usdValue: o,
|
|
@@ -36806,7 +37013,7 @@ const wD = new Intl.NumberFormat("en-US", {
|
|
|
36806
37013
|
};
|
|
36807
37014
|
}
|
|
36808
37015
|
}
|
|
36809
|
-
}, [x == null ? void 0 : x.address, x == null ? void 0 : x.wallet.logo, h, r]), v = U(() =>
|
|
37016
|
+
}, [x == null ? void 0 : x.address, x == null ? void 0 : x.wallet.logo, h, r]), v = U(() => Mo(si(p.amount)), [p.amount]), F = U(() => {
|
|
36810
37017
|
if (a)
|
|
36811
37018
|
return l ? /* @__PURE__ */ m(yl, { href: a, target: "_blank", children: /* @__PURE__ */ m(Pn, {}) }) : /* @__PURE__ */ m(_i, { href: a, target: "_blank", children: /* @__PURE__ */ m(Pn, {}) });
|
|
36812
37019
|
}, [a, l]);
|
|
@@ -36836,7 +37043,7 @@ const wD = new Intl.NumberFormat("en-US", {
|
|
|
36836
37043
|
" ",
|
|
36837
37044
|
p == null ? void 0 : p.symbol
|
|
36838
37045
|
] }),
|
|
36839
|
-
o && /* @__PURE__ */ m(K, { children:
|
|
37046
|
+
o && /* @__PURE__ */ m(K, { children: On(o) }),
|
|
36840
37047
|
/* @__PURE__ */ z(V, { align: "center", gap: 5, children: [
|
|
36841
37048
|
/* @__PURE__ */ z(ED, { normalTextColor: !0, textWrap: "nowrap", children: [
|
|
36842
37049
|
"on ",
|
|
@@ -36866,7 +37073,7 @@ const wD = new Intl.NumberFormat("en-US", {
|
|
|
36866
37073
|
] })
|
|
36867
37074
|
] })
|
|
36868
37075
|
] });
|
|
36869
|
-
}, yD = N(
|
|
37076
|
+
}, yD = N(Me)`
|
|
36870
37077
|
font-size: 24px;
|
|
36871
37078
|
max-width: 325px;
|
|
36872
37079
|
overflow: hidden;
|
|
@@ -36914,7 +37121,7 @@ const wD = new Intl.NumberFormat("en-US", {
|
|
|
36914
37121
|
swapExecutionState: i
|
|
36915
37122
|
}) => {
|
|
36916
37123
|
var v, F, T, A;
|
|
36917
|
-
const t = de(), { route: c } = L(
|
|
37124
|
+
const t = de(), { route: c } = L(We), a = e[0], r = e[e.length - 1], s = n == null ? void 0 : n.transferEvents, l = i === xe.confirmed ? "completed" : (v = s == null ? void 0 : s[a.transferIndex]) == null ? void 0 : v.status, p = i === xe.confirmed ? "completed" : (F = s == null ? void 0 : s[r.transferIndex]) == null ? void 0 : F.status, h = {
|
|
36918
37125
|
denom: a.denomIn,
|
|
36919
37126
|
tokenAmount: a.amountIn,
|
|
36920
37127
|
chainId: a.fromChainID ?? a.chainID,
|
|
@@ -36925,9 +37132,9 @@ const wD = new Intl.NumberFormat("en-US", {
|
|
|
36925
37132
|
chainId: r.toChainID ?? r.chainID,
|
|
36926
37133
|
usdValue: c == null ? void 0 : c.usdAmountOut
|
|
36927
37134
|
}, x = (T = s == null ? void 0 : s[a.transferIndex]) == null ? void 0 : T.fromExplorerLink, w = (A = s == null ? void 0 : s[r.transferIndex]) == null ? void 0 : A.toExplorerLink;
|
|
36928
|
-
return /* @__PURE__ */ z(
|
|
37135
|
+
return /* @__PURE__ */ z(MD, { justify: "space-between", children: [
|
|
36929
37136
|
/* @__PURE__ */ m(
|
|
36930
|
-
|
|
37137
|
+
Mr,
|
|
36931
37138
|
{
|
|
36932
37139
|
...h,
|
|
36933
37140
|
status: l,
|
|
@@ -36937,7 +37144,7 @@ const wD = new Intl.NumberFormat("en-US", {
|
|
|
36937
37144
|
),
|
|
36938
37145
|
/* @__PURE__ */ m(FD, { color: t.primary.text.normal }),
|
|
36939
37146
|
/* @__PURE__ */ m(
|
|
36940
|
-
|
|
37147
|
+
Mr,
|
|
36941
37148
|
{
|
|
36942
37149
|
...D,
|
|
36943
37150
|
icon: Z.pen,
|
|
@@ -36951,7 +37158,7 @@ const wD = new Intl.NumberFormat("en-US", {
|
|
|
36951
37158
|
}, FD = N(Il)`
|
|
36952
37159
|
height: 18px;
|
|
36953
37160
|
width: 54px;
|
|
36954
|
-
`,
|
|
37161
|
+
`, MD = N(me)`
|
|
36955
37162
|
padding: 30px;
|
|
36956
37163
|
background-color: ${({ theme: e }) => e.primary.background.normal};
|
|
36957
37164
|
border-radius: 25px;
|
|
@@ -36976,7 +37183,7 @@ const wD = new Intl.NumberFormat("en-US", {
|
|
|
36976
37183
|
}
|
|
36977
37184
|
)
|
|
36978
37185
|
}
|
|
36979
|
-
),
|
|
37186
|
+
), BD = ({
|
|
36980
37187
|
color: e = "currentColor",
|
|
36981
37188
|
...n
|
|
36982
37189
|
}) => /* @__PURE__ */ z(
|
|
@@ -37007,7 +37214,7 @@ const wD = new Intl.NumberFormat("en-US", {
|
|
|
37007
37214
|
)
|
|
37008
37215
|
]
|
|
37009
37216
|
}
|
|
37010
|
-
),
|
|
37217
|
+
), Br = ({
|
|
37011
37218
|
color: e = "currentColor",
|
|
37012
37219
|
...n
|
|
37013
37220
|
}) => /* @__PURE__ */ m(
|
|
@@ -37029,8 +37236,8 @@ const wD = new Intl.NumberFormat("en-US", {
|
|
|
37029
37236
|
}
|
|
37030
37237
|
), zD = {
|
|
37031
37238
|
// swap icon
|
|
37032
|
-
[ye.swap]: /* @__PURE__ */ m(
|
|
37033
|
-
[ye.evmSwap]: /* @__PURE__ */ m(
|
|
37239
|
+
[ye.swap]: /* @__PURE__ */ m(Br, { width: 34 }),
|
|
37240
|
+
[ye.evmSwap]: /* @__PURE__ */ m(Br, { width: 34 }),
|
|
37034
37241
|
// bridge icon
|
|
37035
37242
|
[ye.transfer]: /* @__PURE__ */ m(Zn, { width: 34 }),
|
|
37036
37243
|
[ye.axelarTransfer]: /* @__PURE__ */ m(Zn, { width: 34 }),
|
|
@@ -37040,7 +37247,7 @@ const wD = new Intl.NumberFormat("en-US", {
|
|
|
37040
37247
|
[ye.goFastTransfer]: /* @__PURE__ */ m(Zn, { width: 34 }),
|
|
37041
37248
|
[ye.stargateTransfer]: /* @__PURE__ */ m(Zn, { width: 34 }),
|
|
37042
37249
|
// send icon
|
|
37043
|
-
[ye.bankSend]: /* @__PURE__ */ m(
|
|
37250
|
+
[ye.bankSend]: /* @__PURE__ */ m(BD, { width: 34 })
|
|
37044
37251
|
}, SD = {
|
|
37045
37252
|
swap: "Swapped",
|
|
37046
37253
|
evmSwap: "Swapped",
|
|
@@ -37086,8 +37293,8 @@ const wD = new Intl.NumberFormat("en-US", {
|
|
|
37086
37293
|
e.map((v, F) => {
|
|
37087
37294
|
var u, d, f;
|
|
37088
37295
|
const T = SD[v.type], C = (() => {
|
|
37089
|
-
var y,
|
|
37090
|
-
const P = (
|
|
37296
|
+
var y, B;
|
|
37297
|
+
const P = (B = (y = v.swapVenues) == null ? void 0 : y[0]) == null ? void 0 : B.chainID, g = v.bridgeID, b = c == null ? void 0 : c.find((M) => M.id === g), E = t == null ? void 0 : t.find((M) => M.chainID === P);
|
|
37091
37298
|
return {
|
|
37092
37299
|
name: (b == null ? void 0 : b.name) ?? (E == null ? void 0 : E.name),
|
|
37093
37300
|
image: (b == null ? void 0 : b.logoURI) ?? (E == null ? void 0 : E.logoUri)
|
|
@@ -37319,26 +37526,26 @@ const Ll = {
|
|
|
37319
37526
|
penumbravalid: 32,
|
|
37320
37527
|
penumbrawalletid: 32,
|
|
37321
37528
|
plpid: 32
|
|
37322
|
-
},
|
|
37529
|
+
}, OD = (e, n) => Ol({
|
|
37323
37530
|
bechLib: Hl,
|
|
37324
37531
|
bData: e,
|
|
37325
37532
|
prefix: n,
|
|
37326
37533
|
expectLength: Ll[n],
|
|
37327
37534
|
expectBytes: Rl[n]
|
|
37328
|
-
}),
|
|
37535
|
+
}), WD = (e, n) => Ol({
|
|
37329
37536
|
bechLib: Vl,
|
|
37330
37537
|
bData: e,
|
|
37331
37538
|
prefix: n,
|
|
37332
37539
|
expectLength: Ll[n],
|
|
37333
37540
|
expectBytes: Rl[n]
|
|
37334
|
-
}),
|
|
37541
|
+
}), Ol = ({ bechLib: e, bData: n, prefix: o, expectLength: i, expectBytes: t }) => {
|
|
37335
37542
|
if (n.length !== t)
|
|
37336
37543
|
throw new TypeError(`Invalid data length: expected ${t}, got ${n.length}`);
|
|
37337
37544
|
const c = e.encode(o, e.toWords(n), i);
|
|
37338
37545
|
if (c.length !== i)
|
|
37339
37546
|
throw new TypeError("Unexpected string length");
|
|
37340
37547
|
return c;
|
|
37341
|
-
},
|
|
37548
|
+
}, Wl = {
|
|
37342
37549
|
passet: "inner",
|
|
37343
37550
|
pauctid: "inner",
|
|
37344
37551
|
penumbra: "inner",
|
|
@@ -37360,17 +37567,17 @@ const Ll = {
|
|
|
37360
37567
|
penumbravalid: "penumbravalid",
|
|
37361
37568
|
penumbrawalletid: "penumbrawalletid",
|
|
37362
37569
|
plpid: "plpid"
|
|
37363
|
-
}, UD =
|
|
37570
|
+
}, UD = Wl.penumbra, GD = Ul.penumbra, Sr = ({ [UD]: e }) => OD(e, GD), KD = Wl.penumbracompat1, XD = Ul.penumbracompat1, ZD = ({ [KD]: e }) => WD(e, XD), JD = typeof window < "u" && typeof window.navigator < "u";
|
|
37364
37571
|
function xc() {
|
|
37365
37572
|
return JD ? window.matchMedia("(pointer:coarse)").matches || !!window.navigator.userAgent.match(/Android|webOS|iPhone|iPad|iPod|BlackBerry|Opera Mini/u) : !1;
|
|
37366
37573
|
}
|
|
37367
37574
|
const Gl = () => {
|
|
37368
|
-
const { data: e } = L(
|
|
37575
|
+
const { data: e } = L(Be), { data: n } = L(fn), o = X(Ic), i = X(ve), t = L(ki), { walletType: c } = Fm(), { data: a, isConnected: r } = Kr({
|
|
37369
37576
|
multiChain: !0
|
|
37370
|
-
}), { disconnectAsync: s } =
|
|
37577
|
+
}), { disconnectAsync: s } = Mm();
|
|
37371
37578
|
return { createCosmosWallets: ze(
|
|
37372
37579
|
(p) => {
|
|
37373
|
-
const h = xc(), D =
|
|
37580
|
+
const h = xc(), D = Bm(De.COSMIFRAME), x = [
|
|
37374
37581
|
De.KEPLR,
|
|
37375
37582
|
De.LEAP,
|
|
37376
37583
|
De.COSMOSTATION,
|
|
@@ -37537,9 +37744,9 @@ const Gl = () => {
|
|
|
37537
37744
|
await u();
|
|
37538
37745
|
const y = Object.fromEntries(
|
|
37539
37746
|
await Promise.all(
|
|
37540
|
-
q.map(async (
|
|
37541
|
-
|
|
37542
|
-
(await kn(C).getKey(
|
|
37747
|
+
q.map(async (B) => [
|
|
37748
|
+
B,
|
|
37749
|
+
(await kn(C).getKey(B)).bech32Address
|
|
37543
37750
|
])
|
|
37544
37751
|
)
|
|
37545
37752
|
);
|
|
@@ -37632,12 +37839,12 @@ const Gl = () => {
|
|
|
37632
37839
|
type: "function"
|
|
37633
37840
|
}
|
|
37634
37841
|
], Kl = () => {
|
|
37635
|
-
const { data: e } = L(
|
|
37842
|
+
const { data: e } = L(Be), { data: n } = L(fn), o = X(ve), i = X(jc), t = L(ki), {
|
|
37636
37843
|
connector: c,
|
|
37637
37844
|
address: a,
|
|
37638
37845
|
isConnected: r,
|
|
37639
37846
|
chainId: s
|
|
37640
|
-
} = ct(), { connectAsync: l } =
|
|
37847
|
+
} = ct(), { connectAsync: l } = Om(), p = Xr(), h = p.find(
|
|
37641
37848
|
(x) => x.id === (c == null ? void 0 : c.id)
|
|
37642
37849
|
);
|
|
37643
37850
|
return { createEvmWallets: ze(
|
|
@@ -37787,7 +37994,7 @@ const Gl = () => {
|
|
|
37787
37994
|
]
|
|
37788
37995
|
) };
|
|
37789
37996
|
}, Xl = () => {
|
|
37790
|
-
const { data: e } = L(
|
|
37997
|
+
const { data: e } = L(Be), { data: n } = L(fn), o = X(ve), i = X(Hc), t = L(ki);
|
|
37791
37998
|
return { createSolanaWallets: ze(() => {
|
|
37792
37999
|
const a = [];
|
|
37793
38000
|
for (const r of Uc) {
|
|
@@ -37879,8 +38086,8 @@ const Gl = () => {
|
|
|
37879
38086
|
gap: 16,
|
|
37880
38087
|
style: i,
|
|
37881
38088
|
children: [
|
|
37882
|
-
typeof e == "string" ? /* @__PURE__ */ m(
|
|
37883
|
-
typeof n == "string" ? /* @__PURE__ */ m(
|
|
38089
|
+
typeof e == "string" ? /* @__PURE__ */ m(Me, { fontSize: 20, children: e }) : e,
|
|
38090
|
+
typeof n == "string" ? /* @__PURE__ */ m(Me, { fontSize: 20, children: n }) : n
|
|
37884
38091
|
]
|
|
37885
38092
|
}
|
|
37886
38093
|
), $D = N(V)`
|
|
@@ -38010,15 +38217,15 @@ const Gl = () => {
|
|
|
38010
38217
|
`, tx = N(Yc)`
|
|
38011
38218
|
opacity: 0.2;
|
|
38012
38219
|
transform: rotate(180deg);
|
|
38013
|
-
`, cx = N(
|
|
38220
|
+
`, cx = N(Me)`
|
|
38014
38221
|
position: absolute;
|
|
38015
38222
|
left: 50%;
|
|
38016
38223
|
transform: translateX(-50%);
|
|
38017
38224
|
margin: 0;
|
|
38018
38225
|
`;
|
|
38019
|
-
var Yl = {},
|
|
38020
|
-
Object.defineProperty(
|
|
38021
|
-
|
|
38226
|
+
var Yl = {}, Bo = {};
|
|
38227
|
+
Object.defineProperty(Bo, "__esModule", { value: !0 });
|
|
38228
|
+
Bo.fromAscii = Bo.toAscii = void 0;
|
|
38022
38229
|
function ax(e) {
|
|
38023
38230
|
const n = (o) => o.split("").map((i) => {
|
|
38024
38231
|
const t = i.charCodeAt(0);
|
|
@@ -38028,7 +38235,7 @@ function ax(e) {
|
|
|
38028
38235
|
});
|
|
38029
38236
|
return Uint8Array.from(n(e));
|
|
38030
38237
|
}
|
|
38031
|
-
|
|
38238
|
+
Bo.toAscii = ax;
|
|
38032
38239
|
function rx(e) {
|
|
38033
38240
|
return ((o) => o.map((i) => {
|
|
38034
38241
|
if (i < 32 || i > 126)
|
|
@@ -38036,7 +38243,7 @@ function rx(e) {
|
|
|
38036
38243
|
return String.fromCharCode(i);
|
|
38037
38244
|
}))(Array.from(e)).join("");
|
|
38038
38245
|
}
|
|
38039
|
-
|
|
38246
|
+
Bo.fromAscii = rx;
|
|
38040
38247
|
var zo = {}, At = {};
|
|
38041
38248
|
At.byteLength = mx;
|
|
38042
38249
|
At.toByteArray = hx;
|
|
@@ -38117,10 +38324,10 @@ function Ax(e) {
|
|
|
38117
38324
|
}
|
|
38118
38325
|
zo.fromBase64 = Ax;
|
|
38119
38326
|
var Hn = {}, ot = "qpzry9x8gf2tvdw0s3jn54khce6mua7l", gc = {};
|
|
38120
|
-
for (var
|
|
38121
|
-
var Tt = ot.charAt(
|
|
38327
|
+
for (var Bi = 0; Bi < ot.length; Bi++) {
|
|
38328
|
+
var Tt = ot.charAt(Bi);
|
|
38122
38329
|
if (gc[Tt] !== void 0) throw new TypeError(Tt + " is ambiguous");
|
|
38123
|
-
gc[Tt] =
|
|
38330
|
+
gc[Tt] = Bi;
|
|
38124
38331
|
}
|
|
38125
38332
|
function Ao(e) {
|
|
38126
38333
|
var n = e >> 25;
|
|
@@ -38223,7 +38430,7 @@ var Fx = {
|
|
|
38223
38430
|
toWords: vx,
|
|
38224
38431
|
fromWordsUnsafe: Ex,
|
|
38225
38432
|
fromWords: Px
|
|
38226
|
-
},
|
|
38433
|
+
}, Mx = Ye && Ye.__createBinding || (Object.create ? function(e, n, o, i) {
|
|
38227
38434
|
i === void 0 && (i = o);
|
|
38228
38435
|
var t = Object.getOwnPropertyDescriptor(n, o);
|
|
38229
38436
|
(!t || ("get" in t ? !n.__esModule : t.writable || t.configurable)) && (t = { enumerable: !0, get: function() {
|
|
@@ -38231,15 +38438,15 @@ var Fx = {
|
|
|
38231
38438
|
} }), Object.defineProperty(e, i, t);
|
|
38232
38439
|
} : function(e, n, o, i) {
|
|
38233
38440
|
i === void 0 && (i = o), e[i] = n[o];
|
|
38234
|
-
}),
|
|
38441
|
+
}), Bx = Ye && Ye.__setModuleDefault || (Object.create ? function(e, n) {
|
|
38235
38442
|
Object.defineProperty(e, "default", { enumerable: !0, value: n });
|
|
38236
38443
|
} : function(e, n) {
|
|
38237
38444
|
e.default = n;
|
|
38238
38445
|
}), zx = Ye && Ye.__importStar || function(e) {
|
|
38239
38446
|
if (e && e.__esModule) return e;
|
|
38240
38447
|
var n = {};
|
|
38241
|
-
if (e != null) for (var o in e) o !== "default" && Object.prototype.hasOwnProperty.call(e, o) &&
|
|
38242
|
-
return
|
|
38448
|
+
if (e != null) for (var o in e) o !== "default" && Object.prototype.hasOwnProperty.call(e, o) && Mx(n, e, o);
|
|
38449
|
+
return Bx(n, e), n;
|
|
38243
38450
|
};
|
|
38244
38451
|
Object.defineProperty(Hn, "__esModule", { value: !0 });
|
|
38245
38452
|
Hn.normalizeBech32 = Hn.fromBech32 = Hn.toBech32 = void 0;
|
|
@@ -38321,7 +38528,7 @@ function Vx(e, n = !1) {
|
|
|
38321
38528
|
jo.fromUtf8 = Vx;
|
|
38322
38529
|
(function(e) {
|
|
38323
38530
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.toUtf8 = e.fromUtf8 = e.toRfc3339 = e.fromRfc3339 = e.toHex = e.fromHex = e.toBech32 = e.normalizeBech32 = e.fromBech32 = e.toBase64 = e.fromBase64 = e.toAscii = e.fromAscii = void 0;
|
|
38324
|
-
var n =
|
|
38531
|
+
var n = Bo;
|
|
38325
38532
|
Object.defineProperty(e, "fromAscii", { enumerable: !0, get: function() {
|
|
38326
38533
|
return n.fromAscii;
|
|
38327
38534
|
} }), Object.defineProperty(e, "toAscii", { enumerable: !0, get: function() {
|
|
@@ -38391,7 +38598,7 @@ const Lx = ({
|
|
|
38391
38598
|
}
|
|
38392
38599
|
}, ra = ({ chainID: e, destinationWalletList: n, chainType: o }) => {
|
|
38393
38600
|
var p;
|
|
38394
|
-
const { createCosmosWallets: i } = Gl(), { createEvmWallets: t } = Kl(), { createSolanaWallets: c } = Xl(), { data: a } = L(
|
|
38601
|
+
const { createCosmosWallets: i } = Gl(), { createEvmWallets: t } = Kl(), { createSolanaWallets: c } = Xl(), { data: a } = L(Be), r = e ? (p = a == null ? void 0 : a.find((h) => h.chainID === e)) == null ? void 0 : p.chainType : o, s = n && e === "pacific-1" ? "sei" : r;
|
|
38395
38602
|
return U(() => {
|
|
38396
38603
|
switch (s) {
|
|
38397
38604
|
case "sei": {
|
|
@@ -38412,7 +38619,7 @@ const Lx = ({
|
|
|
38412
38619
|
var Do = /* @__PURE__ */ ((e) => (e.Input = "input", e.Wallet = "wallet", e.Injected = "injected", e))(Do || {});
|
|
38413
38620
|
const Rx = Ro((e) => {
|
|
38414
38621
|
var j, q;
|
|
38415
|
-
const n = pn(), { chainId: o, chainAddressIndex: i } = e, t = de(), { data: c } = L(
|
|
38622
|
+
const n = pn(), { chainId: o, chainAddressIndex: i } = e, t = de(), { data: c } = L(Be), a = c == null ? void 0 : c.find((u) => u.chainID === o), r = a == null ? void 0 : a.prettyName, s = a == null ? void 0 : a.logoURI, [l, p] = ue(!1), [h, D] = ue(""), x = ra({ chainID: o, destinationWalletList: !0 }), [w, v] = he(Un), F = new Set(Object.values(w).map(({ chainID: u }) => u)).size > 1, T = [
|
|
38416
38623
|
...x,
|
|
38417
38624
|
{
|
|
38418
38625
|
onSelect: () => p(!0),
|
|
@@ -38476,11 +38683,11 @@ const Rx = Ro((e) => {
|
|
|
38476
38683
|
{
|
|
38477
38684
|
title: n ? "Enter an address" : `Enter a ${r} address`,
|
|
38478
38685
|
onClickBackButton: () => p(!1),
|
|
38479
|
-
rightContent: () => /* @__PURE__ */ m(
|
|
38686
|
+
rightContent: () => /* @__PURE__ */ m(Wx, { align: "center", justify: "center", children: /* @__PURE__ */ m("img", { width: "25px", height: "25px", src: s }) })
|
|
38480
38687
|
}
|
|
38481
38688
|
),
|
|
38482
38689
|
F && /* @__PURE__ */ m(K, { color: (j = t == null ? void 0 : t.error) == null ? void 0 : j.text, textAlign: "center", children: "Avoid transfers to centralized exchanges. Your assets may be lost." }),
|
|
38483
|
-
/* @__PURE__ */ z(
|
|
38690
|
+
/* @__PURE__ */ z(Ox, { children: [
|
|
38484
38691
|
/* @__PURE__ */ m(
|
|
38485
38692
|
Gx,
|
|
38486
38693
|
{
|
|
@@ -38504,7 +38711,7 @@ const Rx = Ro((e) => {
|
|
|
38504
38711
|
disabled: !C,
|
|
38505
38712
|
onClick: I,
|
|
38506
38713
|
children: /* @__PURE__ */ m(
|
|
38507
|
-
|
|
38714
|
+
Me,
|
|
38508
38715
|
{
|
|
38509
38716
|
mainButtonColor: C === !0 ? t == null ? void 0 : t.brandColor : void 0,
|
|
38510
38717
|
opacity: C ? 1 : 0.5,
|
|
@@ -38526,9 +38733,9 @@ const Rx = Ro((e) => {
|
|
|
38526
38733
|
chainAddressIndex: i
|
|
38527
38734
|
}
|
|
38528
38735
|
) });
|
|
38529
|
-
}),
|
|
38736
|
+
}), Ox = N.div`
|
|
38530
38737
|
position: relative;
|
|
38531
|
-
`,
|
|
38738
|
+
`, Wx = N(V)`
|
|
38532
38739
|
width: 40px;
|
|
38533
38740
|
height: 40px;
|
|
38534
38741
|
border-radius: 10px;
|
|
@@ -38634,7 +38841,7 @@ const Rx = Ro((e) => {
|
|
|
38634
38841
|
leftContent: /* @__PURE__ */ z(V, { style: { width: "100%" }, align: "center", justify: "space-between", children: [
|
|
38635
38842
|
/* @__PURE__ */ z(V, { align: "center", gap: 10, children: [
|
|
38636
38843
|
u,
|
|
38637
|
-
/* @__PURE__ */ m(
|
|
38844
|
+
/* @__PURE__ */ m(Me, { children: C })
|
|
38638
38845
|
] }),
|
|
38639
38846
|
j !== void 0 && /* @__PURE__ */ m(K, { children: j ? "Installed" : "Not Installed" })
|
|
38640
38847
|
] }),
|
|
@@ -38667,13 +38874,13 @@ const Rx = Ro((e) => {
|
|
|
38667
38874
|
)
|
|
38668
38875
|
}
|
|
38669
38876
|
),
|
|
38670
|
-
/* @__PURE__ */ z(
|
|
38877
|
+
/* @__PURE__ */ z(Me, { color: s.primary.text.lowContrast, children: [
|
|
38671
38878
|
I,
|
|
38672
38879
|
" ",
|
|
38673
38880
|
(S = D.variables) == null ? void 0 : S.walletPrettyName
|
|
38674
38881
|
] }),
|
|
38675
38882
|
D.error && /* @__PURE__ */ m(
|
|
38676
|
-
|
|
38883
|
+
Me,
|
|
38677
38884
|
{
|
|
38678
38885
|
textAlign: "center",
|
|
38679
38886
|
fontSize: 14,
|
|
@@ -38872,8 +39079,8 @@ const Rx = Ro((e) => {
|
|
|
38872
39079
|
}
|
|
38873
39080
|
);
|
|
38874
39081
|
}, Qx = ({ chainId: e }) => {
|
|
38875
|
-
const n = de(), { data: o } = L(
|
|
38876
|
-
return /* @__PURE__ */ m(
|
|
39082
|
+
const n = de(), { data: o } = L(Be), i = o == null ? void 0 : o.find((t) => t.chainID === e);
|
|
39083
|
+
return /* @__PURE__ */ m(Me, { fontSize: 12, color: n.primary.text.lowContrast, children: i == null ? void 0 : i.prettyName });
|
|
38877
39084
|
}, _x = ({ color: e = "currentColor" }) => /* @__PURE__ */ m(
|
|
38878
39085
|
"svg",
|
|
38879
39086
|
{
|
|
@@ -38916,7 +39123,7 @@ const Rx = Ro((e) => {
|
|
|
38916
39123
|
return {
|
|
38917
39124
|
assetAmount: Number(r),
|
|
38918
39125
|
formattedAssetAmount: `${r} ${o[0].originAsset.symbol}`,
|
|
38919
|
-
formattedUsdAmount: `${
|
|
39126
|
+
formattedUsdAmount: `${On(c)}`
|
|
38920
39127
|
};
|
|
38921
39128
|
}, am = ({ color: e = "currentColor", ...n }) => /* @__PURE__ */ m(
|
|
38922
39129
|
"svg",
|
|
@@ -39103,7 +39310,7 @@ const Rx = Ro((e) => {
|
|
|
39103
39310
|
color: ${hi(n.brandColor)};
|
|
39104
39311
|
`}
|
|
39105
39312
|
`, l2 = () => {
|
|
39106
|
-
const [e, n] = ue(!1), [o, i] = he(
|
|
39313
|
+
const [e, n] = ue(!1), [o, i] = he(O0);
|
|
39107
39314
|
return /* @__PURE__ */ z(m2, { children: [
|
|
39108
39315
|
/* @__PURE__ */ z(p2, { align: "center", children: [
|
|
39109
39316
|
"Route Preference",
|
|
@@ -39159,9 +39366,9 @@ const Rx = Ro((e) => {
|
|
|
39159
39366
|
width: 100%;
|
|
39160
39367
|
}
|
|
39161
39368
|
`, d2 = Ro(() => {
|
|
39162
|
-
const e = de(), { data: n } = L(Go), { data: o } = L(
|
|
39369
|
+
const e = de(), { data: n } = L(Go), { data: o } = L(Be), i = U(() => n == null ? void 0 : n.chainIDs.map(
|
|
39163
39370
|
(s) => o == null ? void 0 : o.find((l) => l.chainID === s)
|
|
39164
|
-
), [n, o]), t =
|
|
39371
|
+
), [n, o]), t = Oo(n == null ? void 0 : n.operations), c = U(() => t ? t.filter(
|
|
39165
39372
|
(s) => [
|
|
39166
39373
|
ye.axelarTransfer,
|
|
39167
39374
|
ye.hyperlaneTransfer,
|
|
@@ -39187,7 +39394,7 @@ const Rx = Ro((e) => {
|
|
|
39187
39394
|
return {
|
|
39188
39395
|
assetAmount: Number(C),
|
|
39189
39396
|
formattedAssetAmount: `${C} ${p.symbol}`,
|
|
39190
|
-
formattedUsdAmount:
|
|
39397
|
+
formattedUsdAmount: On(A.toString())
|
|
39191
39398
|
};
|
|
39192
39399
|
} else {
|
|
39193
39400
|
const { feeAmount: l, feeAsset: p, usdFeeAmount: h } = s;
|
|
@@ -39199,7 +39406,7 @@ const Rx = Ro((e) => {
|
|
|
39199
39406
|
return {
|
|
39200
39407
|
assetAmount: Number(D),
|
|
39201
39408
|
formattedAssetAmount: `${D} ${p.symbol}`,
|
|
39202
|
-
formattedUsdAmount: h ?
|
|
39409
|
+
formattedUsdAmount: h ? On(h) : void 0
|
|
39203
39410
|
};
|
|
39204
39411
|
}
|
|
39205
39412
|
}, r = U(() => {
|
|
@@ -39290,7 +39497,7 @@ const Rx = Ro((e) => {
|
|
|
39290
39497
|
`, x2 = N(bc)`
|
|
39291
39498
|
border-radius: 50%;
|
|
39292
39499
|
`, rm = $(void 0), sa = so((e) => {
|
|
39293
|
-
const n = e(
|
|
39500
|
+
const n = e(Bn), o = e(rm), i = e($i), t = o && Object.keys(o).length > 0 && !i;
|
|
39294
39501
|
return {
|
|
39295
39502
|
queryKey: ["skipBalances", o],
|
|
39296
39503
|
queryFn: async () => {
|
|
@@ -39340,7 +39547,7 @@ const Rx = Ro((e) => {
|
|
|
39340
39547
|
searchQuery: n = "",
|
|
39341
39548
|
context: o
|
|
39342
39549
|
}) => {
|
|
39343
|
-
const { data: i } = L(
|
|
39550
|
+
const { data: i } = L(Be), t = L(ea), c = kt();
|
|
39344
39551
|
return U(() => {
|
|
39345
39552
|
if (!e || !i) return;
|
|
39346
39553
|
const s = e.assets.filter((l) => !sm.some(
|
|
@@ -39374,7 +39581,7 @@ const Rx = Ro((e) => {
|
|
|
39374
39581
|
onSelect: i,
|
|
39375
39582
|
context: t
|
|
39376
39583
|
}) => {
|
|
39377
|
-
const { isLoading: c } = L(
|
|
39584
|
+
const { isLoading: c } = L(Be), a = kt();
|
|
39378
39585
|
if (!e || c) return o;
|
|
39379
39586
|
if (Ac(e))
|
|
39380
39587
|
return /* @__PURE__ */ m(
|
|
@@ -39385,7 +39592,7 @@ const Rx = Ro((e) => {
|
|
|
39385
39592
|
leftContent: /* @__PURE__ */ m(b2, { item: e, context: t }),
|
|
39386
39593
|
rightContent: Number(e.totalAmount) > 0 && /* @__PURE__ */ z(me, { align: "flex-end", children: [
|
|
39387
39594
|
/* @__PURE__ */ m(K, { normalTextColor: !0, children: parseFloat(e.totalAmount.toFixed(8)) }),
|
|
39388
|
-
Number(e.totalUsd) > 0 && /* @__PURE__ */ m(K, { children:
|
|
39595
|
+
Number(e.totalUsd) > 0 && /* @__PURE__ */ m(K, { children: On(e.totalUsd) })
|
|
39389
39596
|
] })
|
|
39390
39597
|
},
|
|
39391
39598
|
`${n}${e.id}`
|
|
@@ -39407,7 +39614,7 @@ const Rx = Ro((e) => {
|
|
|
39407
39614
|
}
|
|
39408
39615
|
),
|
|
39409
39616
|
/* @__PURE__ */ z(V, { align: "baseline", gap: 8, children: [
|
|
39410
|
-
/* @__PURE__ */ m(
|
|
39617
|
+
/* @__PURE__ */ m(Me, { children: e.prettyName }),
|
|
39411
39618
|
/* @__PURE__ */ m(K, { lineHeight: "22px", children: e.chainID })
|
|
39412
39619
|
] })
|
|
39413
39620
|
] }),
|
|
@@ -39416,7 +39623,7 @@ const Rx = Ro((e) => {
|
|
|
39416
39623
|
r.amount,
|
|
39417
39624
|
r.decimals
|
|
39418
39625
|
) }),
|
|
39419
|
-
r.valueUSD && /* @__PURE__ */ m(K, { children:
|
|
39626
|
+
r.valueUSD && /* @__PURE__ */ m(K, { children: On(r.valueUSD) })
|
|
39420
39627
|
] })
|
|
39421
39628
|
},
|
|
39422
39629
|
e.chainID
|
|
@@ -39441,7 +39648,7 @@ const Rx = Ro((e) => {
|
|
|
39441
39648
|
}
|
|
39442
39649
|
),
|
|
39443
39650
|
/* @__PURE__ */ z(V, { align: "baseline", gap: 8, children: [
|
|
39444
|
-
/* @__PURE__ */ m(
|
|
39651
|
+
/* @__PURE__ */ m(Me, { children: e.assets[0].recommendedSymbol }),
|
|
39445
39652
|
o.length > 1 ? /* @__PURE__ */ m(K, { lineHeight: "22px", children: `${o.length} networks` }) : o.map((c, a) => /* @__PURE__ */ m(V, { align: "center", gap: 6, children: /* @__PURE__ */ m(K, { children: c.chainName }) }, a))
|
|
39446
39653
|
] })
|
|
39447
39654
|
] });
|
|
@@ -39585,10 +39792,10 @@ const Rx = Ro((e) => {
|
|
|
39585
39792
|
/* @__PURE__ */ z(nn, { onClick: t, gap: 5, children: [
|
|
39586
39793
|
w != null && w.assetImage && w.symbol ? /* @__PURE__ */ z(la, { align: "center", justify: "center", gap: 7, children: [
|
|
39587
39794
|
/* @__PURE__ */ m(E2, { src: w.assetImage }),
|
|
39588
|
-
/* @__PURE__ */ m(
|
|
39795
|
+
/* @__PURE__ */ m(Me, { children: w.symbol }),
|
|
39589
39796
|
D && /* @__PURE__ */ m(Lt, { width: "13px", height: "8px", color: l.primary.text.normal, noBackground: !0 })
|
|
39590
39797
|
] }) : /* @__PURE__ */ z(v2, { align: "center", justify: "center", gap: 7, children: [
|
|
39591
|
-
/* @__PURE__ */ m(
|
|
39798
|
+
/* @__PURE__ */ m(Me, { mainButtonColor: l.brandColor, children: "Select asset" }),
|
|
39592
39799
|
D && /* @__PURE__ */ m(Lt, { width: "13px", height: "8px", color: l.primary.background.normal, noBackground: !0 })
|
|
39593
39800
|
] }),
|
|
39594
39801
|
!D && /* @__PURE__ */ m(
|
|
@@ -39608,7 +39815,7 @@ const Rx = Ro((e) => {
|
|
|
39608
39815
|
color: s ? l.error.text : void 0,
|
|
39609
39816
|
onMouseEnter: () => h(!0),
|
|
39610
39817
|
onMouseLeave: () => h(!1),
|
|
39611
|
-
children: n &&
|
|
39818
|
+
children: n && On(n)
|
|
39612
39819
|
}
|
|
39613
39820
|
),
|
|
39614
39821
|
/* @__PURE__ */ m(
|
|
@@ -39623,7 +39830,7 @@ const Rx = Ro((e) => {
|
|
|
39623
39830
|
a,
|
|
39624
39831
|
"%"
|
|
39625
39832
|
] })
|
|
39626
|
-
] }) : /* @__PURE__ */ m(K, { children: n &&
|
|
39833
|
+
] }) : /* @__PURE__ */ m(K, { children: n && On(n) }),
|
|
39627
39834
|
w != null && w.chainName ? /* @__PURE__ */ m(
|
|
39628
39835
|
ro,
|
|
39629
39836
|
{
|
|
@@ -39709,11 +39916,11 @@ const Rx = Ro((e) => {
|
|
|
39709
39916
|
}, [e, r, s]), /* @__PURE__ */ z(z2, { align: "center", gap: 5, children: [
|
|
39710
39917
|
e ? /* @__PURE__ */ z(be, { children: [
|
|
39711
39918
|
/* @__PURE__ */ m(nn, { onClick: o, children: /* @__PURE__ */ m(F2, { color: a.primary.text.normal }) }),
|
|
39712
|
-
/* @__PURE__ */ z(
|
|
39919
|
+
/* @__PURE__ */ z(M2, { gap: 5, align: "center", justify: "center", children: [
|
|
39713
39920
|
/* @__PURE__ */ m("img", { src: e.logoURI, width: 20, height: 20 }),
|
|
39714
|
-
/* @__PURE__ */ m(
|
|
39921
|
+
/* @__PURE__ */ m(Me, { children: e == null ? void 0 : e.recommendedSymbol })
|
|
39715
39922
|
] })
|
|
39716
|
-
] }) : /* @__PURE__ */ m(
|
|
39923
|
+
] }) : /* @__PURE__ */ m(B2, { color: a.primary.text.normal }),
|
|
39717
39924
|
/* @__PURE__ */ m(
|
|
39718
39925
|
S2,
|
|
39719
39926
|
{
|
|
@@ -39736,9 +39943,9 @@ const Rx = Ro((e) => {
|
|
|
39736
39943
|
width: 25px;
|
|
39737
39944
|
opacity: 0.5;
|
|
39738
39945
|
transform: rotate(180deg);
|
|
39739
|
-
`,
|
|
39946
|
+
`, M2 = N(la)`
|
|
39740
39947
|
height: auto;
|
|
39741
|
-
`,
|
|
39948
|
+
`, B2 = N(C2)`
|
|
39742
39949
|
position: absolute;
|
|
39743
39950
|
width: 20px;
|
|
39744
39951
|
height: 20px;
|
|
@@ -39746,7 +39953,7 @@ const Rx = Ro((e) => {
|
|
|
39746
39953
|
padding: 6px 10px;
|
|
39747
39954
|
height: 50px;
|
|
39748
39955
|
position: relative;
|
|
39749
|
-
`, S2 = N(
|
|
39956
|
+
`, S2 = N(Me).attrs({
|
|
39750
39957
|
as: "input"
|
|
39751
39958
|
})`
|
|
39752
39959
|
height: 40px;
|
|
@@ -39812,7 +40019,7 @@ const Rx = Ro((e) => {
|
|
|
39812
40019
|
}, [t, o]);
|
|
39813
40020
|
}, Vr = 65, Lr = 5, j2 = Ro(
|
|
39814
40021
|
(e) => {
|
|
39815
|
-
const n = yc(), { onSelect: o, selectedAsset: i, selectChain: t, context: c } = e, { data: a, isLoading: r } = L(fn), { isLoading: s } = L(
|
|
40022
|
+
const n = yc(), { onSelect: o, selectedAsset: i, selectChain: t, context: c } = e, { data: a, isLoading: r } = L(fn), { isLoading: s } = L(Be), l = r || s, [p, h] = ue(!0), [D, x] = ue(""), [w, v] = ue(null), F = Zl(Vr + Lr), T = () => {
|
|
39816
40023
|
x("");
|
|
39817
40024
|
}, A = ze(
|
|
39818
40025
|
(g) => {
|
|
@@ -39897,9 +40104,9 @@ const Rx = Ro((e) => {
|
|
|
39897
40104
|
};
|
|
39898
40105
|
var se = /* @__PURE__ */ ((e) => (e.AssetAndChainSelectorModal = "AssetAndChainSelectorModal", e.ConnectedWalletModal = "ConnectedWalletModal", e.SetAddressModal = "SetAddressModal", e.SwapSettingsDrawer = "SwapSettingsDrawer", e.WalletSelectorModal = "WalletSelectorModal", e))(se || {});
|
|
39899
40106
|
const T2 = () => {
|
|
39900
|
-
const [e, n] = he(Un), { route: o } = L(
|
|
40107
|
+
const [e, n] = he(Un), { route: o } = L(We), i = o == null ? void 0 : o.requiredChainAddresses, { data: t } = L(Be), c = L(Tc);
|
|
39901
40108
|
he(oD);
|
|
39902
|
-
const { createCosmosWallets: a } = Gl(), { createEvmWallets: r } = Kl(), { createSolanaWallets: s } = Xl(), l = L(ht), p = U(() => o != null && o.operations ?
|
|
40109
|
+
const { createCosmosWallets: a } = Gl(), { createEvmWallets: r } = Kl(), { createSolanaWallets: s } = Xl(), l = L(ht), p = U(() => o != null && o.operations ? Oo(o.operations).filter((w) => w.signRequired).map((w) => w.fromChainID) : void 0, [o == null ? void 0 : o.operations]);
|
|
39903
40110
|
Ae(() => {
|
|
39904
40111
|
var x;
|
|
39905
40112
|
const D = {};
|
|
@@ -40102,7 +40309,7 @@ const T2 = () => {
|
|
|
40102
40309
|
}), { connectRequiredChains: h };
|
|
40103
40310
|
}, N2 = (e) => {
|
|
40104
40311
|
const { route: n, transactionDetailsArray: o } = L(
|
|
40105
|
-
|
|
40312
|
+
We
|
|
40106
40313
|
), i = X(He), t = X(Yn), [c, a] = ue();
|
|
40107
40314
|
Ae(() => {
|
|
40108
40315
|
if (!(!(n != null && n.estimatedRouteDurationSeconds) || !(n != null && n.txsRequired))) {
|
|
@@ -40140,7 +40347,7 @@ const T2 = () => {
|
|
|
40140
40347
|
transactionDetailsArray: c,
|
|
40141
40348
|
overallStatus: a,
|
|
40142
40349
|
transactionHistoryIndex: r
|
|
40143
|
-
} = L(
|
|
40350
|
+
} = L(We), s = X(Pl), { isPending: l } = L(Bl), p = U(() => t != null && t.operations ? Oo(t.operations) : [], [t == null ? void 0 : t.operations]), h = U(() => {
|
|
40144
40351
|
if (!(!(t != null && t.operations) || !(t != null && t.txsRequired))) {
|
|
40145
40352
|
if ((e == null ? void 0 : e.lastTxStatus) === "pending")
|
|
40146
40353
|
return l && i("pending"), "pending";
|
|
@@ -40223,9 +40430,9 @@ const R2 = () => {
|
|
|
40223
40430
|
color: o.brandColor
|
|
40224
40431
|
}
|
|
40225
40432
|
),
|
|
40226
|
-
e && /* @__PURE__ */ m(
|
|
40433
|
+
e && /* @__PURE__ */ m(O2, { children: "Powered by Skip:Go Fast" })
|
|
40227
40434
|
] });
|
|
40228
|
-
},
|
|
40435
|
+
}, O2 = N(K).attrs({
|
|
40229
40436
|
normalTextColor: !0
|
|
40230
40437
|
})`
|
|
40231
40438
|
position: absolute;
|
|
@@ -40237,7 +40444,7 @@ const R2 = () => {
|
|
|
40237
40444
|
top: 15px;
|
|
40238
40445
|
width: 180px;
|
|
40239
40446
|
z-index: 1;
|
|
40240
|
-
`,
|
|
40447
|
+
`, W2 = ({
|
|
40241
40448
|
swapExecutionState: e,
|
|
40242
40449
|
route: n,
|
|
40243
40450
|
signaturesRemaining: o,
|
|
@@ -40357,8 +40564,8 @@ const U2 = () => {
|
|
|
40357
40564
|
overallStatus: o,
|
|
40358
40565
|
transactionDetailsArray: i,
|
|
40359
40566
|
isValidatingGasBalance: t
|
|
40360
|
-
} = L(
|
|
40361
|
-
|
|
40567
|
+
} = L(We), c = L(Un), { connectRequiredChains: a } = T2(), [r, s] = ue(!0), { mutate: l } = L(
|
|
40568
|
+
Bl
|
|
40362
40569
|
), p = (n == null ? void 0 : n.txsRequired) && n.txsRequired > 1, h = p ? n.txsRequired - ((i == null ? void 0 : i.length) ?? 0) : 0, { data: D } = $c({
|
|
40363
40570
|
txsRequired: n == null ? void 0 : n.txsRequired,
|
|
40364
40571
|
txs: i
|
|
@@ -40366,7 +40573,7 @@ const U2 = () => {
|
|
|
40366
40573
|
V2({
|
|
40367
40574
|
statusData: D
|
|
40368
40575
|
});
|
|
40369
|
-
const x = U(() => n != null && n.operations ?
|
|
40576
|
+
const x = U(() => n != null && n.operations ? Oo(n.operations) : [], [n == null ? void 0 : n.operations]), w = x[x.length - 1], v = L2({
|
|
40370
40577
|
chainAddresses: c,
|
|
40371
40578
|
route: n,
|
|
40372
40579
|
overallStatus: o,
|
|
@@ -40425,7 +40632,7 @@ const U2 = () => {
|
|
|
40425
40632
|
}
|
|
40426
40633
|
),
|
|
40427
40634
|
/* @__PURE__ */ m(
|
|
40428
|
-
|
|
40635
|
+
W2,
|
|
40429
40636
|
{
|
|
40430
40637
|
swapExecutionState: v,
|
|
40431
40638
|
route: n,
|
|
@@ -40565,7 +40772,7 @@ const pm = () => {
|
|
|
40565
40772
|
}
|
|
40566
40773
|
};
|
|
40567
40774
|
}, hm = (e) => {
|
|
40568
|
-
const n = kt(), { data: o } = L(
|
|
40775
|
+
const n = kt(), { data: o } = L(Be), { data: i } = L(Kc);
|
|
40569
40776
|
return U(() => {
|
|
40570
40777
|
var a;
|
|
40571
40778
|
if (!e) return;
|
|
@@ -40640,7 +40847,7 @@ const pm = () => {
|
|
|
40640
40847
|
e && n(e);
|
|
40641
40848
|
};
|
|
40642
40849
|
}, $2 = () => {
|
|
40643
|
-
const e = wt(), [n] = he(ve), [{ data: o }] = he(
|
|
40850
|
+
const e = wt(), [n] = he(ve), [{ data: o }] = he(Be), i = Y2();
|
|
40644
40851
|
if (!(n != null && n.amount)) return !1;
|
|
40645
40852
|
if (!e) return !0;
|
|
40646
40853
|
const t = o == null ? void 0 : o.find((c) => c.chainID === (n == null ? void 0 : n.chainID));
|
|
@@ -40683,7 +40890,7 @@ const pm = () => {
|
|
|
40683
40890
|
var h;
|
|
40684
40891
|
const l = i != null && i.symbol ? ` ${i == null ? void 0 : i.symbol}` : "";
|
|
40685
40892
|
return (h = t == null ? void 0 : t.error) != null && h.message ? "--" : t === void 0 ? void 0 : si(
|
|
40686
|
-
|
|
40893
|
+
Mo(t == null ? void 0 : t.formattedAmount)
|
|
40687
40894
|
) + l;
|
|
40688
40895
|
}, [t, i == null ? void 0 : i.symbol]);
|
|
40689
40896
|
return o ? /* @__PURE__ */ z(
|
|
@@ -40749,7 +40956,7 @@ const pm = () => {
|
|
|
40749
40956
|
}
|
|
40750
40957
|
) : null;
|
|
40751
40958
|
}, o1 = () => {
|
|
40752
|
-
const e = Gn(), { data: n } = L(fn), o = X(rm), { data: i } = L(
|
|
40959
|
+
const e = Gn(), { data: n } = L(fn), o = X(rm), { data: i } = L(Be), t = L(ht), c = U(() => {
|
|
40753
40960
|
if (!t) return;
|
|
40754
40961
|
const l = Object.keys(t).find((p) => {
|
|
40755
40962
|
const h = i == null ? void 0 : i.find((D) => D.chainID === p);
|
|
@@ -40804,10 +41011,10 @@ const pm = () => {
|
|
|
40804
41011
|
);
|
|
40805
41012
|
n === "swap-in" && s ? c((p) => ({
|
|
40806
41013
|
...p,
|
|
40807
|
-
amount:
|
|
41014
|
+
amount: Mo(si(a))
|
|
40808
41015
|
})) : n === "swap-out" && l && i((p) => ({
|
|
40809
41016
|
...p,
|
|
40810
|
-
amount:
|
|
41017
|
+
amount: Mo(si(r))
|
|
40811
41018
|
}));
|
|
40812
41019
|
}, [
|
|
40813
41020
|
e.data,
|
|
@@ -40819,7 +41026,7 @@ const pm = () => {
|
|
|
40819
41026
|
]);
|
|
40820
41027
|
}, c1 = () => {
|
|
40821
41028
|
var t;
|
|
40822
|
-
const { data: e } = L(
|
|
41029
|
+
const { data: e } = L(Be), n = L(ve), o = (t = e == null ? void 0 : e.find((c) => c.chainID === (n == null ? void 0 : n.chainID))) == null ? void 0 : t.chainType, i = Gn();
|
|
40823
41030
|
return U(() => {
|
|
40824
41031
|
if (o !== R.Cosmos) return !1;
|
|
40825
41032
|
const c = i(n == null ? void 0 : n.chainID);
|
|
@@ -40831,7 +41038,7 @@ const pm = () => {
|
|
|
40831
41038
|
]);
|
|
40832
41039
|
}, a1 = () => {
|
|
40833
41040
|
var J;
|
|
40834
|
-
const [e, n] = ue(), [o, i] = ue(!1), { data: t } = L(
|
|
41041
|
+
const [e, n] = ue(), [o, i] = ue(!1), { data: t } = L(Be), [c, a] = he(ve), r = X(Ci), s = X(gt), [l] = he(V0), [p, h] = he(ln), [D] = he(Ln), [{ data: x }] = he(fn), w = X(bn), v = $2(), F = X(eD), T = X(He), { isLoading: A } = L(sa), {
|
|
40835
41042
|
data: C,
|
|
40836
41043
|
isError: S,
|
|
40837
41044
|
error: I
|
|
@@ -40867,7 +41074,7 @@ const pm = () => {
|
|
|
40867
41074
|
s,
|
|
40868
41075
|
a,
|
|
40869
41076
|
r
|
|
40870
|
-
]),
|
|
41077
|
+
]), B = ze(() => {
|
|
40871
41078
|
ie.show(se.AssetAndChainSelectorModal, {
|
|
40872
41079
|
context: "source",
|
|
40873
41080
|
onSelect: (G) => {
|
|
@@ -40891,7 +41098,7 @@ const pm = () => {
|
|
|
40891
41098
|
a,
|
|
40892
41099
|
c == null ? void 0 : c.chainID,
|
|
40893
41100
|
c == null ? void 0 : c.denom
|
|
40894
|
-
]),
|
|
41101
|
+
]), M = ze(() => {
|
|
40895
41102
|
ie.show(se.AssetAndChainSelectorModal, {
|
|
40896
41103
|
context: "destination",
|
|
40897
41104
|
onSelect: (G) => {
|
|
@@ -40921,7 +41128,7 @@ const pm = () => {
|
|
|
40921
41128
|
p == null ? void 0 : p.denom,
|
|
40922
41129
|
k,
|
|
40923
41130
|
h
|
|
40924
|
-
]),
|
|
41131
|
+
]), O = U(() => d != null && d.address ? c != null && c.chainID ? p != null && p.chainID ? !(c != null && c.amount) && !(p != null && p.amount) ? /* @__PURE__ */ m(
|
|
40925
41132
|
ge,
|
|
40926
41133
|
{
|
|
40927
41134
|
label: "Please enter a valid amount",
|
|
@@ -41004,7 +41211,7 @@ const pm = () => {
|
|
|
41004
41211
|
w,
|
|
41005
41212
|
F,
|
|
41006
41213
|
T
|
|
41007
|
-
]),
|
|
41214
|
+
]), W = U(() => {
|
|
41008
41215
|
if (!(!(C != null && C.usdAmountIn) || !(C != null && C.usdAmountOut) || l))
|
|
41009
41216
|
return wl(C.usdAmountIn, C.usdAmountOut);
|
|
41010
41217
|
}, [l, C == null ? void 0 : C.usdAmountIn, C == null ? void 0 : C.usdAmountOut]);
|
|
@@ -41034,7 +41241,7 @@ const pm = () => {
|
|
|
41034
41241
|
{
|
|
41035
41242
|
selectedAsset: c,
|
|
41036
41243
|
handleChangeAsset: y,
|
|
41037
|
-
handleChangeChain:
|
|
41244
|
+
handleChangeChain: B,
|
|
41038
41245
|
isWaitingToUpdateInputValue: D === "swap-out" && l,
|
|
41039
41246
|
value: c == null ? void 0 : c.amount,
|
|
41040
41247
|
usdValue: C == null ? void 0 : C.usdAmountIn,
|
|
@@ -41046,18 +41253,18 @@ const pm = () => {
|
|
|
41046
41253
|
Nr,
|
|
41047
41254
|
{
|
|
41048
41255
|
selectedAsset: p,
|
|
41049
|
-
handleChangeAsset:
|
|
41256
|
+
handleChangeAsset: M,
|
|
41050
41257
|
handleChangeChain: H,
|
|
41051
41258
|
isWaitingToUpdateInputValue: D === "swap-in" && l,
|
|
41052
41259
|
usdValue: C == null ? void 0 : C.usdAmountOut,
|
|
41053
41260
|
value: p == null ? void 0 : p.amount,
|
|
41054
|
-
priceChangePercentage: Number(
|
|
41261
|
+
priceChangePercentage: Number(W),
|
|
41055
41262
|
badPriceWarning: ((J = C == null ? void 0 : C.warning) == null ? void 0 : J.type) === "BAD_PRICE_WARNING",
|
|
41056
41263
|
onChangeValue: s
|
|
41057
41264
|
}
|
|
41058
41265
|
)
|
|
41059
41266
|
] }),
|
|
41060
|
-
|
|
41267
|
+
O,
|
|
41061
41268
|
/* @__PURE__ */ m(
|
|
41062
41269
|
ia,
|
|
41063
41270
|
{
|
|
@@ -41316,7 +41523,7 @@ var u1 = {
|
|
|
41316
41523
|
var t, c = u1[n];
|
|
41317
41524
|
return typeof c == "string" ? t = c : o === 1 ? t = c.one : t = c.other.replace("{{count}}", o.toString()), i != null && i.addSuffix ? i.comparison && i.comparison > 0 ? "in " + t : t + " ago" : t;
|
|
41318
41525
|
};
|
|
41319
|
-
function
|
|
41526
|
+
function Ot(e) {
|
|
41320
41527
|
return function() {
|
|
41321
41528
|
var n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, o = n.width ? String(n.width) : e.defaultWidth, i = e.formats[o] || e.formats[e.defaultWidth];
|
|
41322
41529
|
return i;
|
|
@@ -41338,15 +41545,15 @@ var D1 = {
|
|
|
41338
41545
|
medium: "{{date}}, {{time}}",
|
|
41339
41546
|
short: "{{date}}, {{time}}"
|
|
41340
41547
|
}, f1 = {
|
|
41341
|
-
date:
|
|
41548
|
+
date: Ot({
|
|
41342
41549
|
formats: D1,
|
|
41343
41550
|
defaultWidth: "full"
|
|
41344
41551
|
}),
|
|
41345
|
-
time:
|
|
41552
|
+
time: Ot({
|
|
41346
41553
|
formats: x1,
|
|
41347
41554
|
defaultWidth: "full"
|
|
41348
41555
|
}),
|
|
41349
|
-
dateTime:
|
|
41556
|
+
dateTime: Ot({
|
|
41350
41557
|
formats: g1,
|
|
41351
41558
|
defaultWidth: "full"
|
|
41352
41559
|
})
|
|
@@ -41498,9 +41705,9 @@ function $o(e) {
|
|
|
41498
41705
|
var o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = o.width, t = i && e.matchPatterns[i] || e.matchPatterns[e.defaultMatchWidth], c = n.match(t);
|
|
41499
41706
|
if (!c)
|
|
41500
41707
|
return null;
|
|
41501
|
-
var a = c[0], r = i && e.parsePatterns[i] || e.parsePatterns[e.defaultParseWidth], s = Array.isArray(r) ?
|
|
41708
|
+
var a = c[0], r = i && e.parsePatterns[i] || e.parsePatterns[e.defaultParseWidth], s = Array.isArray(r) ? B1(r, function(h) {
|
|
41502
41709
|
return h.test(a);
|
|
41503
|
-
}) :
|
|
41710
|
+
}) : M1(r, function(h) {
|
|
41504
41711
|
return h.test(a);
|
|
41505
41712
|
}), l;
|
|
41506
41713
|
l = e.valueCallback ? e.valueCallback(s) : s, l = o.valueCallback ? o.valueCallback(l) : l;
|
|
@@ -41511,12 +41718,12 @@ function $o(e) {
|
|
|
41511
41718
|
};
|
|
41512
41719
|
};
|
|
41513
41720
|
}
|
|
41514
|
-
function
|
|
41721
|
+
function M1(e, n) {
|
|
41515
41722
|
for (var o in e)
|
|
41516
41723
|
if (e.hasOwnProperty(o) && n(e[o]))
|
|
41517
41724
|
return o;
|
|
41518
41725
|
}
|
|
41519
|
-
function
|
|
41726
|
+
function B1(e, n) {
|
|
41520
41727
|
for (var o = 0; o < e.length; o++)
|
|
41521
41728
|
if (n(e[o]))
|
|
41522
41729
|
return o;
|
|
@@ -41563,10 +41770,10 @@ var S1 = /^(\d+)(th|st|nd|rd)?/i, q1 = /\d+/i, j1 = {
|
|
|
41563
41770
|
}, R1 = {
|
|
41564
41771
|
narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
|
|
41565
41772
|
any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
|
|
41566
|
-
},
|
|
41773
|
+
}, O1 = {
|
|
41567
41774
|
narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
|
|
41568
41775
|
any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
|
|
41569
|
-
},
|
|
41776
|
+
}, W1 = {
|
|
41570
41777
|
any: {
|
|
41571
41778
|
am: /^a/i,
|
|
41572
41779
|
pm: /^p/i,
|
|
@@ -41613,9 +41820,9 @@ var S1 = /^(\d+)(th|st|nd|rd)?/i, q1 = /\d+/i, j1 = {
|
|
|
41613
41820
|
defaultParseWidth: "any"
|
|
41614
41821
|
}),
|
|
41615
41822
|
dayPeriod: $o({
|
|
41616
|
-
matchPatterns:
|
|
41823
|
+
matchPatterns: O1,
|
|
41617
41824
|
defaultMatchWidth: "any",
|
|
41618
|
-
parsePatterns:
|
|
41825
|
+
parsePatterns: W1,
|
|
41619
41826
|
defaultParseWidth: "any"
|
|
41620
41827
|
})
|
|
41621
41828
|
}, G1 = {
|
|
@@ -41640,7 +41847,7 @@ function dm(e, n) {
|
|
|
41640
41847
|
function K1(e) {
|
|
41641
41848
|
return dm({}, e);
|
|
41642
41849
|
}
|
|
41643
|
-
var
|
|
41850
|
+
var Or = 1e3 * 60, tt = 60 * 24, Wr = tt * 30, Ur = tt * 365;
|
|
41644
41851
|
function X1(e, n, o) {
|
|
41645
41852
|
var i, t, c;
|
|
41646
41853
|
ma(2, arguments);
|
|
@@ -41664,8 +41871,8 @@ function X1(e, n, o) {
|
|
|
41664
41871
|
x = Math.round;
|
|
41665
41872
|
else
|
|
41666
41873
|
throw new RangeError("roundingMethod must be 'floor', 'ceil' or 'round'");
|
|
41667
|
-
var w = h.getTime() - p.getTime(), v = w /
|
|
41668
|
-
if (A ? C = String(A) : v < 1 ? C = "second" : v < 60 ? C = "minute" : v < tt ? C = "hour" : T <
|
|
41874
|
+
var w = h.getTime() - p.getTime(), v = w / Or, F = Rr(h) - Rr(p), T = (w - F) / Or, A = o == null ? void 0 : o.unit, C;
|
|
41875
|
+
if (A ? C = String(A) : v < 1 ? C = "second" : v < 60 ? C = "minute" : v < tt ? C = "hour" : T < Wr ? C = "day" : T < Ur ? C = "month" : C = "year", C === "second") {
|
|
41669
41876
|
var S = x(w / 1e3);
|
|
41670
41877
|
return r.formatDistance("xSeconds", S, l);
|
|
41671
41878
|
} else if (C === "minute") {
|
|
@@ -41678,7 +41885,7 @@ function X1(e, n, o) {
|
|
|
41678
41885
|
var q = x(T / tt);
|
|
41679
41886
|
return r.formatDistance("xDays", q, l);
|
|
41680
41887
|
} else if (C === "month") {
|
|
41681
|
-
var u = x(T /
|
|
41888
|
+
var u = x(T / Wr);
|
|
41682
41889
|
return u === 12 && A !== "month" ? r.formatDistance("xYears", 1, l) : r.formatDistance("xMonths", u, l);
|
|
41683
41890
|
} else if (C === "year") {
|
|
41684
41891
|
var d = x(T / Ur);
|
|
@@ -41815,7 +42022,7 @@ const Z1 = (e) => {
|
|
|
41815
42022
|
const i = pn();
|
|
41816
42023
|
return /* @__PURE__ */ z(be, { children: [
|
|
41817
42024
|
/* @__PURE__ */ m("img", { height: 20, width: 20, src: o }),
|
|
41818
|
-
/* @__PURE__ */ m(K, { normalTextColor: !0, title: e, children:
|
|
42025
|
+
/* @__PURE__ */ m(K, { normalTextColor: !0, title: e, children: Mo(e) }),
|
|
41819
42026
|
!i && /* @__PURE__ */ m(K, { normalTextColor: !0, children: (n == null ? void 0 : n.recommendedSymbol) ?? (n == null ? void 0 : n.symbol) })
|
|
41820
42027
|
] });
|
|
41821
42028
|
}, Q1 = N(me)`
|
|
@@ -41932,7 +42139,7 @@ const Z1 = (e) => {
|
|
|
41932
42139
|
children: e
|
|
41933
42140
|
}) => {
|
|
41934
42141
|
var i, t;
|
|
41935
|
-
const n = L(gi), o = L(
|
|
42142
|
+
const n = L(gi), o = L(Ms);
|
|
41936
42143
|
return /* @__PURE__ */ m(qm, { grazOptions: {
|
|
41937
42144
|
chains: n ? Fl : oa,
|
|
41938
42145
|
autoReconnect: !1,
|
|
@@ -41956,9 +42163,9 @@ const Z1 = (e) => {
|
|
|
41956
42163
|
children: e,
|
|
41957
42164
|
wagmiConfig: n
|
|
41958
42165
|
}) => /* @__PURE__ */ m(
|
|
41959
|
-
|
|
42166
|
+
Wm,
|
|
41960
42167
|
{
|
|
41961
|
-
config: n ||
|
|
42168
|
+
config: n || Wc,
|
|
41962
42169
|
reconnectOnMount: !0,
|
|
41963
42170
|
children: e
|
|
41964
42171
|
},
|
|
@@ -41993,7 +42200,7 @@ const Z1 = (e) => {
|
|
|
41993
42200
|
}, gm = (e) => {
|
|
41994
42201
|
var h;
|
|
41995
42202
|
cg(e.defaultRoute), ag(e);
|
|
41996
|
-
const n = X(Gc), o = X(Dl), i = X(En), t = X(na), c = X(ea), a = X(gi), r = X(
|
|
42203
|
+
const n = X(Gc), o = X(Dl), i = X(En), t = X(na), c = X(ea), a = X(gi), r = X(Ms), s = X(ki), l = U(() => {
|
|
41997
42204
|
const { apiUrl: D, chainIdsToAffiliates: x, endpointOptions: w } = e, v = {
|
|
41998
42205
|
apiUrl: D,
|
|
41999
42206
|
chainIdsToAffiliates: x,
|
|
@@ -42050,7 +42257,7 @@ const Z1 = (e) => {
|
|
|
42050
42257
|
s
|
|
42051
42258
|
]), { theme: p };
|
|
42052
42259
|
}, ag = (e) => {
|
|
42053
|
-
const n = X(
|
|
42260
|
+
const n = X(Bs), o = X(ht);
|
|
42054
42261
|
Ae(() => {
|
|
42055
42262
|
o(e.connectedAddresses);
|
|
42056
42263
|
}, [e.connectedAddresses, o]), Ae(() => {
|