@skip-go/widget 3.0.19 → 3.0.21
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.
|
@@ -7,9 +7,9 @@ import { ErrorBoundary as Si } from "react-error-boundary";
|
|
|
7
7
|
import { atom as _, useSetAtom as J, useAtomValue as U, useAtom as ue } from "jotai";
|
|
8
8
|
import { SkipClient as Im } from "@skip-go/client";
|
|
9
9
|
import { atomWithQuery as ao, atomWithMutation as Hm } from "jotai-tanstack-query";
|
|
10
|
-
import { getWallet as
|
|
10
|
+
import { getWallet as Kn, WalletType as xe, useAccount as es, useActiveWalletType as Tm, useDisconnect as Nm, isWalletConnect as Vm, connect as wt, getChainInfo as Lm, GrazProvider as Rm } from "graz";
|
|
11
11
|
import { createClient as Om, custom as Um, walletActions as fa, defineChain as ns, http as ae, createPublicClient as Wm, isAddress as Gm } from "viem";
|
|
12
|
-
import { createConfig as Jm, createStorage as
|
|
12
|
+
import { createConfig as Jm, createStorage as Km, useAccount as ct, useConnectors as os, useConnect as Zm, WagmiProvider as Xm } from "wagmi";
|
|
13
13
|
import { BackpackWalletAdapter as Ym } from "@solana/wallet-adapter-backpack";
|
|
14
14
|
import { CoinbaseWalletAdapter as Qm } from "@solana/wallet-adapter-coinbase";
|
|
15
15
|
import { LedgerWalletAdapter as _m } from "@solana/wallet-adapter-ledger";
|
|
@@ -718,26 +718,26 @@ To resolve this only create new StyledComponents outside of any render method an
|
|
|
718
718
|
function Rp(e, n, o) {
|
|
719
719
|
return o === void 0 && (o = yo), e.theme !== o.theme && e.theme || n || o.theme;
|
|
720
720
|
}
|
|
721
|
-
var
|
|
721
|
+
var Kt = /* @__PURE__ */ new Set(["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "u", "ul", "use", "var", "video", "wbr", "circle", "clipPath", "defs", "ellipse", "foreignObject", "g", "image", "line", "linearGradient", "marker", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "text", "tspan"]), Op = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g, Up = /(^-|-$)/g;
|
|
722
722
|
function ya(e) {
|
|
723
723
|
return e.replace(Op, "-").replace(Up, "");
|
|
724
724
|
}
|
|
725
725
|
var Wp = /(a)(d)/gi, Ai = 52, va = function(e) {
|
|
726
726
|
return String.fromCharCode(e + (e > 25 ? 39 : 97));
|
|
727
727
|
};
|
|
728
|
-
function
|
|
728
|
+
function Zt(e) {
|
|
729
729
|
var n, o = "";
|
|
730
730
|
for (n = Math.abs(e); n > Ai; n = n / Ai | 0) o = va(n % Ai) + o;
|
|
731
731
|
return (va(n % Ai) + o).replace(Wp, "$1-$2");
|
|
732
732
|
}
|
|
733
|
-
var vt, As = 5381,
|
|
733
|
+
var vt, As = 5381, Zn = function(e, n) {
|
|
734
734
|
for (var o = n.length; o; ) e = 33 * e ^ n.charCodeAt(--o);
|
|
735
735
|
return e;
|
|
736
736
|
}, Cs = function(e) {
|
|
737
|
-
return
|
|
737
|
+
return Zn(As, e);
|
|
738
738
|
};
|
|
739
739
|
function ks(e) {
|
|
740
|
-
return
|
|
740
|
+
return Zt(Cs(e) >>> 0);
|
|
741
741
|
}
|
|
742
742
|
function ws(e) {
|
|
743
743
|
return oe.env.NODE_ENV !== "production" && typeof e == "string" && e || e.displayName || e.name || "Component";
|
|
@@ -745,9 +745,9 @@ function ws(e) {
|
|
|
745
745
|
function Et(e) {
|
|
746
746
|
return typeof e == "string" && (oe.env.NODE_ENV === "production" || e.charAt(0) === e.charAt(0).toLowerCase());
|
|
747
747
|
}
|
|
748
|
-
var ys = typeof Symbol == "function" && Symbol.for, vs = ys ? Symbol.for("react.memo") : 60115, Gp = ys ? Symbol.for("react.forward_ref") : 60112, Jp = { childContextTypes: !0, contextType: !0, contextTypes: !0, defaultProps: !0, displayName: !0, getDefaultProps: !0, getDerivedStateFromError: !0, getDerivedStateFromProps: !0, mixins: !0, propTypes: !0, type: !0 },
|
|
748
|
+
var ys = typeof Symbol == "function" && Symbol.for, vs = ys ? Symbol.for("react.memo") : 60115, Gp = ys ? Symbol.for("react.forward_ref") : 60112, Jp = { childContextTypes: !0, contextType: !0, contextTypes: !0, defaultProps: !0, displayName: !0, getDefaultProps: !0, getDerivedStateFromError: !0, getDerivedStateFromProps: !0, mixins: !0, propTypes: !0, type: !0 }, Kp = { name: !0, length: !0, prototype: !0, caller: !0, callee: !0, arguments: !0, arity: !0 }, Es = { $$typeof: !0, compare: !0, defaultProps: !0, displayName: !0, propTypes: !0, type: !0 }, Zp = ((vt = {})[Gp] = { $$typeof: !0, render: !0, defaultProps: !0, displayName: !0, propTypes: !0 }, vt[vs] = Es, vt);
|
|
749
749
|
function Ea(e) {
|
|
750
|
-
return ("type" in (n = e) && n.type.$$typeof) === vs ? Es : "$$typeof" in e ?
|
|
750
|
+
return ("type" in (n = e) && n.type.$$typeof) === vs ? Es : "$$typeof" in e ? Zp[e.$$typeof] : Jp;
|
|
751
751
|
var n;
|
|
752
752
|
}
|
|
753
753
|
var Xp = Object.defineProperty, Yp = Object.getOwnPropertyNames, Pa = Object.getOwnPropertySymbols, Qp = Object.getOwnPropertyDescriptor, _p = Object.getPrototypeOf, Fa = Object.prototype;
|
|
@@ -761,7 +761,7 @@ function Ps(e, n, o) {
|
|
|
761
761
|
Pa && (t = t.concat(Pa(n)));
|
|
762
762
|
for (var c = Ea(e), a = Ea(n), r = 0; r < t.length; ++r) {
|
|
763
763
|
var s = t[r];
|
|
764
|
-
if (!(s in
|
|
764
|
+
if (!(s in Kp || o && o[s] || a && s in a || c && s in c)) {
|
|
765
765
|
var l = Qp(n, s);
|
|
766
766
|
try {
|
|
767
767
|
Xp(e, s, l);
|
|
@@ -1042,7 +1042,7 @@ function zs(e) {
|
|
|
1042
1042
|
})))), C;
|
|
1043
1043
|
};
|
|
1044
1044
|
return u.hash = s.length ? s.reduce(function(d, x) {
|
|
1045
|
-
return x.name || gn(15),
|
|
1045
|
+
return x.name || gn(15), Zn(d, x.name);
|
|
1046
1046
|
}, As).toString() : "", u;
|
|
1047
1047
|
}
|
|
1048
1048
|
var Du = new Bs(), Qt = zs(), Bc = ln.createContext({ shouldForwardProp: void 0, styleSheet: Du, stylis: Qt });
|
|
@@ -1123,13 +1123,13 @@ function bu(e) {
|
|
|
1123
1123
|
}
|
|
1124
1124
|
var Au = Cs(mt), Cu = function() {
|
|
1125
1125
|
function e(n, o, i) {
|
|
1126
|
-
this.rules = n, this.staticRulesId = "", this.isStatic = oe.env.NODE_ENV === "production" && (i === void 0 || i.isStatic) && bu(n), this.componentId = o, this.baseHash =
|
|
1126
|
+
this.rules = n, this.staticRulesId = "", this.isStatic = oe.env.NODE_ENV === "production" && (i === void 0 || i.isStatic) && bu(n), this.componentId = o, this.baseHash = Zn(Au, o), this.baseStyle = i, Bs.registerId(o);
|
|
1127
1127
|
}
|
|
1128
1128
|
return e.prototype.generateAndInjectStyles = function(n, o, i) {
|
|
1129
1129
|
var t = this.baseStyle ? this.baseStyle.generateAndInjectStyles(n, o, i) : "";
|
|
1130
1130
|
if (this.isStatic && !i.hash) if (this.staticRulesId && o.hasNameForId(this.componentId, this.staticRulesId)) t = Qn(t, this.staticRulesId);
|
|
1131
1131
|
else {
|
|
1132
|
-
var c = Xt($n(this.rules, n, o, i)), a =
|
|
1132
|
+
var c = Xt($n(this.rules, n, o, i)), a = Zt(Zn(this.baseHash, c) >>> 0);
|
|
1133
1133
|
if (!o.hasNameForId(this.componentId, a)) {
|
|
1134
1134
|
var r = i(c, ".".concat(a), void 0, this.componentId);
|
|
1135
1135
|
o.insertRules(this.componentId, a, r);
|
|
@@ -1137,16 +1137,16 @@ var Au = Cs(mt), Cu = function() {
|
|
|
1137
1137
|
t = Qn(t, a), this.staticRulesId = a;
|
|
1138
1138
|
}
|
|
1139
1139
|
else {
|
|
1140
|
-
for (var s =
|
|
1140
|
+
for (var s = Zn(this.baseHash, i.hash), l = "", p = 0; p < this.rules.length; p++) {
|
|
1141
1141
|
var u = this.rules[p];
|
|
1142
|
-
if (typeof u == "string") l += u, oe.env.NODE_ENV !== "production" && (s =
|
|
1142
|
+
if (typeof u == "string") l += u, oe.env.NODE_ENV !== "production" && (s = Zn(s, u));
|
|
1143
1143
|
else if (u) {
|
|
1144
1144
|
var d = Xt($n(u, n, o, i));
|
|
1145
|
-
s =
|
|
1145
|
+
s = Zn(s, d + p), l += d;
|
|
1146
1146
|
}
|
|
1147
1147
|
}
|
|
1148
1148
|
if (l) {
|
|
1149
|
-
var x =
|
|
1149
|
+
var x = Zt(s >>> 0);
|
|
1150
1150
|
o.hasNameForId(this.componentId, x) || o.insertRules(this.componentId, x, i(l, ".".concat(x), void 0, this.componentId)), t = Qn(t, x);
|
|
1151
1151
|
}
|
|
1152
1152
|
}
|
|
@@ -1205,14 +1205,14 @@ function wu(e, n, o) {
|
|
|
1205
1205
|
}
|
|
1206
1206
|
return $.className && (cn.className = Qn(cn.className, $.className)), cn;
|
|
1207
1207
|
}(D, T, F), R = I.as || S, O = {};
|
|
1208
|
-
for (var V in I) I[V] === void 0 || V[0] === "$" || V === "as" || V === "theme" && I.theme === F || (V === "forwardedAs" ? O.as = I.forwardedAs : z && !z(V, R) || (O[V] = I[V], z || oe.env.NODE_ENV !== "development" || ms(V) || qa.has(V) || !
|
|
1208
|
+
for (var V in I) I[V] === void 0 || V[0] === "$" || V === "as" || V === "theme" && I.theme === F || (V === "forwardedAs" ? O.as = I.forwardedAs : z && !z(V, R) || (O[V] = I[V], z || oe.env.NODE_ENV !== "development" || ms(V) || qa.has(V) || !Kt.has(R) || (qa.add(V), console.warn('styled-components: it looks like an unknown prop "'.concat(V, '" 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 ie = function(Y, $) {
|
|
1210
1210
|
var ke = _t(), tn = Y.generateAndInjectStyles($, ke.styleSheet, ke.stylis);
|
|
1211
1211
|
return oe.env.NODE_ENV !== "production" && ga(tn), tn;
|
|
1212
1212
|
}(g, I);
|
|
1213
1213
|
oe.env.NODE_ENV !== "production" && j.warnTooManyClasses && j.warnTooManyClasses(ie);
|
|
1214
1214
|
var ce = Qn(b, y);
|
|
1215
|
-
return ie && (ce += " " + ie), I.className && (ce += " " + I.className), O[Et(R) && !
|
|
1215
|
+
return ie && (ce += " " + ie), I.className && (ce += " " + I.className), O[Et(R) && !Kt.has(R) ? "class" : "className"] = ce, O.ref = h, Mm(R, O);
|
|
1216
1216
|
}(A, M, E);
|
|
1217
1217
|
}
|
|
1218
1218
|
C.displayName = u;
|
|
@@ -1274,7 +1274,7 @@ function ec(e, n, o) {
|
|
|
1274
1274
|
var js = function(e) {
|
|
1275
1275
|
return ec(wu, e);
|
|
1276
1276
|
}, N = js;
|
|
1277
|
-
|
|
1277
|
+
Kt.forEach(function(e) {
|
|
1278
1278
|
N[e] = js(e);
|
|
1279
1279
|
});
|
|
1280
1280
|
function Vo(e) {
|
|
@@ -1593,7 +1593,7 @@ const oc = "https://go.skip.build", Ru = {
|
|
|
1593
1593
|
let wi = {
|
|
1594
1594
|
getDocsUrl: ({ docsBaseUrl: e, docsPath: n = "", docsSlug: o }) => n ? `${e ?? "https://viem.sh"}${n}${o ? `#${o}` : ""}` : void 0,
|
|
1595
1595
|
version: Vs
|
|
1596
|
-
},
|
|
1596
|
+
}, K = class ic extends Error {
|
|
1597
1597
|
constructor(n, o = {}) {
|
|
1598
1598
|
var r;
|
|
1599
1599
|
const i = (() => {
|
|
@@ -1647,33 +1647,33 @@ let wi = {
|
|
|
1647
1647
|
function Ls(e, n) {
|
|
1648
1648
|
return n != null && n(e) ? e : e && typeof e == "object" && "cause" in e ? Ls(e.cause, n) : n ? null : e;
|
|
1649
1649
|
}
|
|
1650
|
-
class Uu extends
|
|
1650
|
+
class Uu extends K {
|
|
1651
1651
|
constructor({ max: n, min: o, signed: i, size: t, value: c }) {
|
|
1652
1652
|
super(`Number "${c}" is not in safe ${t ? `${t * 8}-bit ${i ? "signed" : "unsigned"} ` : ""}integer range ${n ? `(${o} to ${n})` : `(above ${o})`}`, { name: "IntegerOutOfRangeError" });
|
|
1653
1653
|
}
|
|
1654
1654
|
}
|
|
1655
|
-
class Wu extends
|
|
1655
|
+
class Wu extends K {
|
|
1656
1656
|
constructor({ givenSize: n, maxSize: o }) {
|
|
1657
1657
|
super(`Size cannot exceed ${o} bytes. Given size: ${n} bytes.`, { name: "SizeOverflowError" });
|
|
1658
1658
|
}
|
|
1659
1659
|
}
|
|
1660
|
-
class Gu extends
|
|
1660
|
+
class Gu extends K {
|
|
1661
1661
|
constructor({ offset: n, position: o, size: i }) {
|
|
1662
1662
|
super(`Slice ${o === "start" ? "starting" : "ending"} at offset "${n}" is out-of-bounds (size: ${i}).`, { name: "SliceOffsetOutOfBoundsError" });
|
|
1663
1663
|
}
|
|
1664
1664
|
}
|
|
1665
|
-
class Rs extends
|
|
1665
|
+
class Rs extends K {
|
|
1666
1666
|
constructor({ size: n, targetSize: o, type: i }) {
|
|
1667
1667
|
super(`${i.charAt(0).toUpperCase()}${i.slice(1).toLowerCase()} size (${n}) exceeds padding size (${o}).`, { name: "SizeExceedsPaddingSizeError" });
|
|
1668
1668
|
}
|
|
1669
1669
|
}
|
|
1670
|
-
class Ia extends
|
|
1670
|
+
class Ia extends K {
|
|
1671
1671
|
constructor({ size: n, targetSize: o, type: i }) {
|
|
1672
1672
|
super(`${i.charAt(0).toUpperCase()}${i.slice(1).toLowerCase()} is expected to be ${o} ${i} long, but is ${n} ${i} long.`, { name: "InvalidBytesLengthError" });
|
|
1673
1673
|
}
|
|
1674
1674
|
}
|
|
1675
1675
|
function Lo(e, { dir: n, size: o = 32 } = {}) {
|
|
1676
|
-
return typeof e == "string" ? Ju(e, { dir: n, size: o }) :
|
|
1676
|
+
return typeof e == "string" ? Ju(e, { dir: n, size: o }) : Ku(e, { dir: n, size: o });
|
|
1677
1677
|
}
|
|
1678
1678
|
function Ju(e, { dir: n, size: o = 32 } = {}) {
|
|
1679
1679
|
if (o === null)
|
|
@@ -1687,7 +1687,7 @@ function Ju(e, { dir: n, size: o = 32 } = {}) {
|
|
|
1687
1687
|
});
|
|
1688
1688
|
return `0x${i[n === "right" ? "padEnd" : "padStart"](o * 2, "0")}`;
|
|
1689
1689
|
}
|
|
1690
|
-
function
|
|
1690
|
+
function Ku(e, { dir: n, size: o = 32 } = {}) {
|
|
1691
1691
|
if (o === null)
|
|
1692
1692
|
return e;
|
|
1693
1693
|
if (e.length > o)
|
|
@@ -1715,7 +1715,7 @@ function Po(e, { dir: n = "left" } = {}) {
|
|
|
1715
1715
|
i++;
|
|
1716
1716
|
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;
|
|
1717
1717
|
}
|
|
1718
|
-
const
|
|
1718
|
+
const Zu = /* @__PURE__ */ new TextEncoder();
|
|
1719
1719
|
function Os(e, n = {}) {
|
|
1720
1720
|
return typeof e == "number" || typeof e == "bigint" ? Yu(e, n) : typeof e == "boolean" ? Xu(e, n) : io(e) ? Vn(e, n) : Us(e, n);
|
|
1721
1721
|
}
|
|
@@ -1748,7 +1748,7 @@ function Vn(e, n = {}) {
|
|
|
1748
1748
|
for (let a = 0, r = 0; a < t; a++) {
|
|
1749
1749
|
const s = Ha(i.charCodeAt(r++)), l = Ha(i.charCodeAt(r++));
|
|
1750
1750
|
if (s === void 0 || l === void 0)
|
|
1751
|
-
throw new
|
|
1751
|
+
throw new K(`Invalid byte sequence ("${i[r - 2]}${i[r - 1]}" in "${i}").`);
|
|
1752
1752
|
c[a] = s * 16 + l;
|
|
1753
1753
|
}
|
|
1754
1754
|
return c;
|
|
@@ -1758,7 +1758,7 @@ function Yu(e, n) {
|
|
|
1758
1758
|
return Vn(o);
|
|
1759
1759
|
}
|
|
1760
1760
|
function Us(e, n = {}) {
|
|
1761
|
-
const o =
|
|
1761
|
+
const o = Zu.encode(e);
|
|
1762
1762
|
return typeof n.size == "number" ? (Ro(o, { size: n.size }), Lo(o, { dir: "right", size: n.size })) : o;
|
|
1763
1763
|
}
|
|
1764
1764
|
function Ro(e, { size: n }) {
|
|
@@ -1781,7 +1781,7 @@ function to(e, n = {}) {
|
|
|
1781
1781
|
return Number(Ye(e, n));
|
|
1782
1782
|
}
|
|
1783
1783
|
const Qu = /* @__PURE__ */ Array.from({ length: 256 }, (e, n) => n.toString(16).padStart(2, "0"));
|
|
1784
|
-
function
|
|
1784
|
+
function Z(e, n = {}) {
|
|
1785
1785
|
return typeof e == "number" || typeof e == "bigint" ? fe(e, n) : typeof e == "string" ? eh(e, n) : typeof e == "boolean" ? _u(e, n) : zn(e, n);
|
|
1786
1786
|
}
|
|
1787
1787
|
function _u(e, n = {}) {
|
|
@@ -1821,7 +1821,7 @@ function eh(e, n = {}) {
|
|
|
1821
1821
|
function ro(e) {
|
|
1822
1822
|
return `0x${e.reduce((n, o) => n + o.replace("0x", ""), "")}`;
|
|
1823
1823
|
}
|
|
1824
|
-
class $e extends
|
|
1824
|
+
class $e extends K {
|
|
1825
1825
|
constructor({ address: n }) {
|
|
1826
1826
|
super(`Address "${n}" is invalid.`, {
|
|
1827
1827
|
metaMessages: [
|
|
@@ -1866,7 +1866,7 @@ function ut(e, ...n) {
|
|
|
1866
1866
|
if (n.length > 0 && !n.includes(e.length))
|
|
1867
1867
|
throw new Error(`Uint8Array expected of length ${n}, not of length=${e.length}`);
|
|
1868
1868
|
}
|
|
1869
|
-
function
|
|
1869
|
+
function e3(e) {
|
|
1870
1870
|
if (typeof e != "function" || typeof e.create != "function")
|
|
1871
1871
|
throw new Error("Hash should be wrapped by utils.wrapConstructor");
|
|
1872
1872
|
Gi(e.outputLen), Gi(e.blockLen);
|
|
@@ -1910,7 +1910,7 @@ function mh(e) {
|
|
|
1910
1910
|
function Tc(e) {
|
|
1911
1911
|
return typeof e == "string" && (e = mh(e)), ut(e), e;
|
|
1912
1912
|
}
|
|
1913
|
-
function
|
|
1913
|
+
function n3(...e) {
|
|
1914
1914
|
let n = 0;
|
|
1915
1915
|
for (let i = 0; i < e.length; i++) {
|
|
1916
1916
|
const t = e[i];
|
|
@@ -1929,18 +1929,18 @@ class Js {
|
|
|
1929
1929
|
return this._cloneInto();
|
|
1930
1930
|
}
|
|
1931
1931
|
}
|
|
1932
|
-
function
|
|
1932
|
+
function Ks(e) {
|
|
1933
1933
|
const n = (i) => e().update(Tc(i)).digest(), o = e();
|
|
1934
1934
|
return n.outputLen = o.outputLen, n.blockLen = o.blockLen, n.create = () => e(), n;
|
|
1935
1935
|
}
|
|
1936
|
-
function
|
|
1936
|
+
function o3(e = 32) {
|
|
1937
1937
|
if (Ft && typeof Ft.getRandomValues == "function")
|
|
1938
1938
|
return Ft.getRandomValues(new Uint8Array(e));
|
|
1939
1939
|
throw new Error("crypto.getRandomValues must be defined");
|
|
1940
1940
|
}
|
|
1941
|
-
const
|
|
1941
|
+
const Zs = [], Xs = [], Ys = [], ph = /* @__PURE__ */ BigInt(0), Xo = /* @__PURE__ */ BigInt(1), uh = /* @__PURE__ */ BigInt(2), hh = /* @__PURE__ */ BigInt(7), dh = /* @__PURE__ */ BigInt(256), Dh = /* @__PURE__ */ BigInt(113);
|
|
1942
1942
|
for (let e = 0, n = Xo, o = 1, i = 0; e < 24; e++) {
|
|
1943
|
-
[o, i] = [i, (2 * o + 3 * i) % 5],
|
|
1943
|
+
[o, i] = [i, (2 * o + 3 * i) % 5], Zs.push(2 * (5 * i + o)), Xs.push((e + 1) * (e + 2) / 2 % 64);
|
|
1944
1944
|
let t = ph;
|
|
1945
1945
|
for (let c = 0; c < 7; c++)
|
|
1946
1946
|
n = (n << Xo ^ (n >> hh) * Dh) % dh, n & uh && (t ^= Xo << (Xo << /* @__PURE__ */ BigInt(c)) - Xo);
|
|
@@ -1959,7 +1959,7 @@ function fh(e, n = 24) {
|
|
|
1959
1959
|
}
|
|
1960
1960
|
let t = e[2], c = e[3];
|
|
1961
1961
|
for (let a = 0; a < 24; a++) {
|
|
1962
|
-
const r = Xs[a], s = La(t, c, r), l = Ra(t, c, r), p =
|
|
1962
|
+
const r = Xs[a], s = La(t, c, r), l = Ra(t, c, r), p = Zs[a];
|
|
1963
1963
|
t = e[p], c = e[p + 1], e[p] = s, e[p + 1] = l;
|
|
1964
1964
|
}
|
|
1965
1965
|
for (let a = 0; a < 50; a += 10) {
|
|
@@ -2036,10 +2036,10 @@ class Nc extends Js {
|
|
|
2036
2036
|
return n || (n = new Nc(o, i, t, a, c)), n.state32.set(this.state32), n.pos = this.pos, n.posOut = this.posOut, n.finished = this.finished, n.rounds = c, n.suffix = i, n.outputLen = t, n.enableXOF = a, n.destroyed = this.destroyed, n;
|
|
2037
2037
|
}
|
|
2038
2038
|
}
|
|
2039
|
-
const bh = (e, n, o) =>
|
|
2039
|
+
const bh = (e, n, o) => Ks(() => new Nc(n, e, o)), Ah = /* @__PURE__ */ bh(1, 136, 256 / 8);
|
|
2040
2040
|
function Vc(e, n) {
|
|
2041
2041
|
const o = n || "hex", i = Ah(io(e, { strict: !1 }) ? Os(e) : e);
|
|
2042
|
-
return o === "bytes" ? i :
|
|
2042
|
+
return o === "bytes" ? i : Z(i);
|
|
2043
2043
|
}
|
|
2044
2044
|
const Mt = /* @__PURE__ */ new Ws(8192);
|
|
2045
2045
|
function Lc(e, n) {
|
|
@@ -2090,7 +2090,7 @@ function vh(e, n, o, { strict: i } = {}) {
|
|
|
2090
2090
|
function Oo(e) {
|
|
2091
2091
|
return typeof e == "string" ? { address: e, type: "json-rpc" } : e;
|
|
2092
2092
|
}
|
|
2093
|
-
class Eh extends
|
|
2093
|
+
class Eh extends K {
|
|
2094
2094
|
constructor({ docsPath: n } = {}) {
|
|
2095
2095
|
super([
|
|
2096
2096
|
"Could not find an Account to execute with this Action.",
|
|
@@ -2108,13 +2108,13 @@ function Ph(e) {
|
|
|
2108
2108
|
return Lc(`0x${n}`);
|
|
2109
2109
|
}
|
|
2110
2110
|
async function Fh({ hash: e, signature: n }) {
|
|
2111
|
-
const o = io(e) ? e :
|
|
2111
|
+
const o = io(e) ? e : Z(e), { secp256k1: i } = await import("./secp256k1-DBgJ0Snm.js");
|
|
2112
2112
|
return `0x${(() => {
|
|
2113
2113
|
if (typeof n == "object" && "r" in n && "s" in n) {
|
|
2114
2114
|
const { r: l, s: p, v: u, yParity: d } = n, x = Number(d ?? u), f = Oa(x);
|
|
2115
2115
|
return new i.Signature(Ye(l), Ye(p)).addRecoveryBit(f);
|
|
2116
2116
|
}
|
|
2117
|
-
const a = io(n) ? n :
|
|
2117
|
+
const a = io(n) ? n : Z(n), r = to(`0x${a.slice(130)}`), s = Oa(r);
|
|
2118
2118
|
return i.Signature.fromCompact(a.substring(2, 130)).addRecoveryBit(s);
|
|
2119
2119
|
})().recoverPublicKey(o.substring(2)).toHex(!1)}`;
|
|
2120
2120
|
}
|
|
@@ -2130,19 +2130,19 @@ function Oa(e) {
|
|
|
2130
2130
|
async function Bh({ hash: e, signature: n }) {
|
|
2131
2131
|
return Ph(await Fh({ hash: e, signature: n }));
|
|
2132
2132
|
}
|
|
2133
|
-
class Ua extends
|
|
2133
|
+
class Ua extends K {
|
|
2134
2134
|
constructor({ offset: n }) {
|
|
2135
2135
|
super(`Offset \`${n}\` cannot be negative.`, {
|
|
2136
2136
|
name: "NegativeOffsetError"
|
|
2137
2137
|
});
|
|
2138
2138
|
}
|
|
2139
2139
|
}
|
|
2140
|
-
class Mh extends
|
|
2140
|
+
class Mh extends K {
|
|
2141
2141
|
constructor({ length: n, position: o }) {
|
|
2142
2142
|
super(`Position \`${o}\` is out of bounds (\`0 < position < ${n}\`).`, { name: "PositionOutOfBoundsError" });
|
|
2143
2143
|
}
|
|
2144
2144
|
}
|
|
2145
|
-
class zh extends
|
|
2145
|
+
class zh extends K {
|
|
2146
2146
|
constructor({ count: n, limit: o }) {
|
|
2147
2147
|
super(`Recursive read limit of \`${o}\` exceeded (recursive read count: \`${n}\`).`, { name: "RecursiveReadLimitExceededError" });
|
|
2148
2148
|
}
|
|
@@ -2309,7 +2309,7 @@ function el(e) {
|
|
|
2309
2309
|
return 3;
|
|
2310
2310
|
if (e < 2 ** 32)
|
|
2311
2311
|
return 4;
|
|
2312
|
-
throw new
|
|
2312
|
+
throw new K("Length is too large.");
|
|
2313
2313
|
}
|
|
2314
2314
|
function Ih(e) {
|
|
2315
2315
|
const { chainId: n, contractAddress: o, nonce: i, to: t } = e, c = Vc(ro([
|
|
@@ -2325,7 +2325,7 @@ async function Hh(e) {
|
|
|
2325
2325
|
signature: o ?? n
|
|
2326
2326
|
});
|
|
2327
2327
|
}
|
|
2328
|
-
class pi extends
|
|
2328
|
+
class pi extends K {
|
|
2329
2329
|
constructor({ chainId: n }) {
|
|
2330
2330
|
super(typeof n == "number" ? `Chain ID "${n}" is invalid.` : "Chain ID is invalid.", { name: "InvalidChainIdError" });
|
|
2331
2331
|
}
|
|
@@ -2350,7 +2350,7 @@ function nl(e, n) {
|
|
|
2350
2350
|
function sn(e, n = "wei") {
|
|
2351
2351
|
return nl(e, Nh[n]);
|
|
2352
2352
|
}
|
|
2353
|
-
class xo extends
|
|
2353
|
+
class xo extends K {
|
|
2354
2354
|
constructor({ cause: n, message: o } = {}) {
|
|
2355
2355
|
var t;
|
|
2356
2356
|
const i = (t = o == null ? void 0 : o.replace("execution reverted: ", "")) == null ? void 0 : t.replace("execution reverted", "");
|
|
@@ -2372,7 +2372,7 @@ Object.defineProperty(xo, "nodeMessage", {
|
|
|
2372
2372
|
writable: !0,
|
|
2373
2373
|
value: /execution reverted/
|
|
2374
2374
|
});
|
|
2375
|
-
class Ln extends
|
|
2375
|
+
class Ln extends K {
|
|
2376
2376
|
constructor({ cause: n, maxFeePerGas: o } = {}) {
|
|
2377
2377
|
super(`The fee cap (\`maxFeePerGas\`${o ? ` = ${sn(o)} gwei` : ""}) cannot be higher than the maximum allowed value (2^256-1).`, {
|
|
2378
2378
|
cause: n,
|
|
@@ -2386,7 +2386,7 @@ Object.defineProperty(Ln, "nodeMessage", {
|
|
|
2386
2386
|
writable: !0,
|
|
2387
2387
|
value: /max fee per gas higher than 2\^256-1|fee cap higher than 2\^256-1/
|
|
2388
2388
|
});
|
|
2389
|
-
class tc extends
|
|
2389
|
+
class tc extends K {
|
|
2390
2390
|
constructor({ cause: n, maxFeePerGas: o } = {}) {
|
|
2391
2391
|
super(`The fee cap (\`maxFeePerGas\`${o ? ` = ${sn(o)}` : ""} gwei) cannot be lower than the block base fee.`, {
|
|
2392
2392
|
cause: n,
|
|
@@ -2400,7 +2400,7 @@ Object.defineProperty(tc, "nodeMessage", {
|
|
|
2400
2400
|
writable: !0,
|
|
2401
2401
|
value: /max fee per gas less than block base fee|fee cap less than block base fee|transaction is outdated/
|
|
2402
2402
|
});
|
|
2403
|
-
class cc extends
|
|
2403
|
+
class cc extends K {
|
|
2404
2404
|
constructor({ cause: n, nonce: o } = {}) {
|
|
2405
2405
|
super(`Nonce provided for the transaction ${o ? `(${o}) ` : ""}is higher than the next one expected.`, { cause: n, name: "NonceTooHighError" });
|
|
2406
2406
|
}
|
|
@@ -2411,7 +2411,7 @@ Object.defineProperty(cc, "nodeMessage", {
|
|
|
2411
2411
|
writable: !0,
|
|
2412
2412
|
value: /nonce too high/
|
|
2413
2413
|
});
|
|
2414
|
-
class ac extends
|
|
2414
|
+
class ac extends K {
|
|
2415
2415
|
constructor({ cause: n, nonce: o } = {}) {
|
|
2416
2416
|
super([
|
|
2417
2417
|
`Nonce provided for the transaction ${o ? `(${o}) ` : ""}is lower than the current nonce of the account.`,
|
|
@@ -2426,7 +2426,7 @@ Object.defineProperty(ac, "nodeMessage", {
|
|
|
2426
2426
|
writable: !0,
|
|
2427
2427
|
value: /nonce too low|transaction already imported|already known/
|
|
2428
2428
|
});
|
|
2429
|
-
class rc extends
|
|
2429
|
+
class rc extends K {
|
|
2430
2430
|
constructor({ cause: n, nonce: o } = {}) {
|
|
2431
2431
|
super(`Nonce provided for the transaction ${o ? `(${o}) ` : ""}exceeds the maximum allowed nonce.`, { cause: n, name: "NonceMaxValueError" });
|
|
2432
2432
|
}
|
|
@@ -2437,7 +2437,7 @@ Object.defineProperty(rc, "nodeMessage", {
|
|
|
2437
2437
|
writable: !0,
|
|
2438
2438
|
value: /nonce has max value/
|
|
2439
2439
|
});
|
|
2440
|
-
class sc extends
|
|
2440
|
+
class sc extends K {
|
|
2441
2441
|
constructor({ cause: n } = {}) {
|
|
2442
2442
|
super([
|
|
2443
2443
|
"The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account."
|
|
@@ -2464,7 +2464,7 @@ Object.defineProperty(sc, "nodeMessage", {
|
|
|
2464
2464
|
writable: !0,
|
|
2465
2465
|
value: /insufficient funds|exceeds transaction sender account balance/
|
|
2466
2466
|
});
|
|
2467
|
-
class lc extends
|
|
2467
|
+
class lc extends K {
|
|
2468
2468
|
constructor({ cause: n, gas: o } = {}) {
|
|
2469
2469
|
super(`The amount of gas ${o ? `(${o}) ` : ""}provided for the transaction exceeds the limit allowed for the block.`, {
|
|
2470
2470
|
cause: n,
|
|
@@ -2478,7 +2478,7 @@ Object.defineProperty(lc, "nodeMessage", {
|
|
|
2478
2478
|
writable: !0,
|
|
2479
2479
|
value: /intrinsic gas too high|gas limit reached/
|
|
2480
2480
|
});
|
|
2481
|
-
class mc extends
|
|
2481
|
+
class mc extends K {
|
|
2482
2482
|
constructor({ cause: n, gas: o } = {}) {
|
|
2483
2483
|
super(`The amount of gas ${o ? `(${o}) ` : ""}provided for the transaction is too low.`, {
|
|
2484
2484
|
cause: n,
|
|
@@ -2492,7 +2492,7 @@ Object.defineProperty(mc, "nodeMessage", {
|
|
|
2492
2492
|
writable: !0,
|
|
2493
2493
|
value: /intrinsic gas too low/
|
|
2494
2494
|
});
|
|
2495
|
-
class pc extends
|
|
2495
|
+
class pc extends K {
|
|
2496
2496
|
constructor({ cause: n }) {
|
|
2497
2497
|
super("The transaction type is not supported for this chain.", {
|
|
2498
2498
|
cause: n,
|
|
@@ -2506,7 +2506,7 @@ Object.defineProperty(pc, "nodeMessage", {
|
|
|
2506
2506
|
writable: !0,
|
|
2507
2507
|
value: /transaction type not valid/
|
|
2508
2508
|
});
|
|
2509
|
-
class Fo extends
|
|
2509
|
+
class Fo extends K {
|
|
2510
2510
|
constructor({ cause: n, maxPriorityFeePerGas: o, maxFeePerGas: i } = {}) {
|
|
2511
2511
|
super([
|
|
2512
2512
|
`The provided tip (\`maxPriorityFeePerGas\`${o ? ` = ${sn(o)} gwei` : ""}) cannot be higher than the fee cap (\`maxFeePerGas\`${i ? ` = ${sn(i)} gwei` : ""}).`
|
|
@@ -2523,7 +2523,7 @@ Object.defineProperty(Fo, "nodeMessage", {
|
|
|
2523
2523
|
writable: !0,
|
|
2524
2524
|
value: /max priority fee per gas higher than max fee per gas|tip higher than fee cap/
|
|
2525
2525
|
});
|
|
2526
|
-
class Rc extends
|
|
2526
|
+
class Rc extends K {
|
|
2527
2527
|
constructor({ cause: n }) {
|
|
2528
2528
|
super(`An error occurred while executing: ${n == null ? void 0 : n.shortMessage}`, {
|
|
2529
2529
|
cause: n,
|
|
@@ -2539,7 +2539,7 @@ function Oc(e) {
|
|
|
2539
2539
|
return n.map(([i, t]) => ` ${`${i}:`.padEnd(o + 1)} ${t}`).join(`
|
|
2540
2540
|
`);
|
|
2541
2541
|
}
|
|
2542
|
-
class Vh extends
|
|
2542
|
+
class Vh extends K {
|
|
2543
2543
|
constructor() {
|
|
2544
2544
|
super([
|
|
2545
2545
|
"Cannot specify both a `gasPrice` and a `maxFeePerGas`/`maxPriorityFeePerGas`.",
|
|
@@ -2548,14 +2548,14 @@ class Vh extends Z {
|
|
|
2548
2548
|
`), { name: "FeeConflictError" });
|
|
2549
2549
|
}
|
|
2550
2550
|
}
|
|
2551
|
-
class Lh extends
|
|
2551
|
+
class Lh extends K {
|
|
2552
2552
|
constructor({ v: n }) {
|
|
2553
2553
|
super(`Invalid \`v\` value "${n}". Expected 27 or 28.`, {
|
|
2554
2554
|
name: "InvalidLegacyVError"
|
|
2555
2555
|
});
|
|
2556
2556
|
}
|
|
2557
2557
|
}
|
|
2558
|
-
class Rh extends
|
|
2558
|
+
class Rh extends K {
|
|
2559
2559
|
constructor({ transaction: n }) {
|
|
2560
2560
|
super("Cannot infer a transaction type from provided transaction.", {
|
|
2561
2561
|
metaMessages: [
|
|
@@ -2576,14 +2576,14 @@ class Rh extends Z {
|
|
|
2576
2576
|
});
|
|
2577
2577
|
}
|
|
2578
2578
|
}
|
|
2579
|
-
class Oh extends
|
|
2579
|
+
class Oh extends K {
|
|
2580
2580
|
constructor({ storageKey: n }) {
|
|
2581
2581
|
super(`Size for storage key "${n}" is invalid. Expected 32 bytes. Got ${Math.floor((n.length - 2) / 2)} bytes.`, { name: "InvalidStorageKeySizeError" });
|
|
2582
2582
|
}
|
|
2583
2583
|
}
|
|
2584
2584
|
function il(e, n) {
|
|
2585
|
-
const o = (e.details || "").toLowerCase(), i = e instanceof
|
|
2586
|
-
return i instanceof
|
|
2585
|
+
const o = (e.details || "").toLowerCase(), i = e instanceof K ? e.walk((t) => t.code === xo.code) : e;
|
|
2586
|
+
return i instanceof K ? new xo({
|
|
2587
2587
|
cause: e,
|
|
2588
2588
|
message: i.details
|
|
2589
2589
|
}) : xo.nodeMessage.test(o) ? new xo({
|
|
@@ -2681,26 +2681,26 @@ async function Jh(e) {
|
|
|
2681
2681
|
}, { dedupe: !0 });
|
|
2682
2682
|
return to(n);
|
|
2683
2683
|
}
|
|
2684
|
-
class
|
|
2684
|
+
class Kh extends K {
|
|
2685
2685
|
constructor() {
|
|
2686
2686
|
super("`baseFeeMultiplier` must be greater than 1.", {
|
|
2687
2687
|
name: "BaseFeeScalarError"
|
|
2688
2688
|
});
|
|
2689
2689
|
}
|
|
2690
2690
|
}
|
|
2691
|
-
class Gc extends
|
|
2691
|
+
class Gc extends K {
|
|
2692
2692
|
constructor() {
|
|
2693
2693
|
super("Chain does not support EIP-1559 fees.", {
|
|
2694
2694
|
name: "Eip1559FeesNotSupportedError"
|
|
2695
2695
|
});
|
|
2696
2696
|
}
|
|
2697
2697
|
}
|
|
2698
|
-
class
|
|
2698
|
+
class Zh extends K {
|
|
2699
2699
|
constructor({ maxPriorityFeePerGas: n }) {
|
|
2700
2700
|
super(`\`maxFeePerGas\` cannot be less than the \`maxPriorityFeePerGas\` (${sn(n)} gwei).`, { name: "MaxFeePerGasTooLowError" });
|
|
2701
2701
|
}
|
|
2702
2702
|
}
|
|
2703
|
-
class Xh extends
|
|
2703
|
+
class Xh extends K {
|
|
2704
2704
|
constructor({ blockHash: n, blockNumber: o }) {
|
|
2705
2705
|
let i = "Block";
|
|
2706
2706
|
n && (i = `Block at hash "${n}"`), o && (i = `Block at number "${o}"`), super(`${i} could not be found.`, { name: "BlockNotFoundError" });
|
|
@@ -2779,7 +2779,7 @@ function rl(e) {
|
|
|
2779
2779
|
};
|
|
2780
2780
|
}
|
|
2781
2781
|
const sl = /* @__PURE__ */ ht("block", rl);
|
|
2782
|
-
async function
|
|
2782
|
+
async function Ki(e, { blockHash: n, blockNumber: o, blockTag: i, includeTransactions: t } = {}) {
|
|
2783
2783
|
var p, u, d;
|
|
2784
2784
|
const c = i ?? "latest", a = t ?? !1, r = o !== void 0 ? fe(o) : void 0;
|
|
2785
2785
|
let s = null;
|
|
@@ -2805,7 +2805,7 @@ async function Qh(e, n) {
|
|
|
2805
2805
|
try {
|
|
2806
2806
|
const r = ((c = i == null ? void 0 : i.fees) == null ? void 0 : c.maxPriorityFeePerGas) ?? ((a = i == null ? void 0 : i.fees) == null ? void 0 : a.defaultPriorityFee);
|
|
2807
2807
|
if (typeof r == "function") {
|
|
2808
|
-
const l = o || await En(e,
|
|
2808
|
+
const l = o || await En(e, Ki, "getBlock")({}), p = await r({
|
|
2809
2809
|
block: l,
|
|
2810
2810
|
client: e,
|
|
2811
2811
|
request: t
|
|
@@ -2822,7 +2822,7 @@ async function Qh(e, n) {
|
|
|
2822
2822
|
return Ye(s);
|
|
2823
2823
|
} catch {
|
|
2824
2824
|
const [r, s] = await Promise.all([
|
|
2825
|
-
o ? Promise.resolve(o) : En(e,
|
|
2825
|
+
o ? Promise.resolve(o) : En(e, Ki, "getBlock")({}),
|
|
2826
2826
|
En(e, ll, "getGasPrice")({})
|
|
2827
2827
|
]);
|
|
2828
2828
|
if (typeof r.baseFeePerGas != "bigint")
|
|
@@ -2842,8 +2842,8 @@ async function Wa(e, n) {
|
|
|
2842
2842
|
}) : ((w = i == null ? void 0 : i.fees) == null ? void 0 : w.baseFeeMultiplier) ?? 1.2;
|
|
2843
2843
|
})();
|
|
2844
2844
|
if (a < 1)
|
|
2845
|
-
throw new
|
|
2846
|
-
const s = 10 ** (((d = a.toString().split(".")[1]) == null ? void 0 : d.length) ?? 0), l = (f) => f * BigInt(Math.ceil(a * s)) / BigInt(s), p = o || await En(e,
|
|
2845
|
+
throw new Kh();
|
|
2846
|
+
const s = 10 ** (((d = a.toString().split(".")[1]) == null ? void 0 : d.length) ?? 0), l = (f) => f * BigInt(Math.ceil(a * s)) / BigInt(s), p = o || await En(e, Ki, "getBlock")({});
|
|
2847
2847
|
if (typeof ((x = i == null ? void 0 : i.fees) == null ? void 0 : x.estimateFeesPerGas) == "function") {
|
|
2848
2848
|
const f = await i.fees.estimateFeesPerGas({
|
|
2849
2849
|
block: o,
|
|
@@ -2872,7 +2872,7 @@ async function Wa(e, n) {
|
|
|
2872
2872
|
gasPrice: (t == null ? void 0 : t.gasPrice) ?? l(await En(e, ll, "getGasPrice")({}))
|
|
2873
2873
|
};
|
|
2874
2874
|
}
|
|
2875
|
-
class _h extends
|
|
2875
|
+
class _h extends K {
|
|
2876
2876
|
constructor(n, { account: o, docsPath: i, chain: t, data: c, gas: a, gasPrice: r, maxFeePerGas: s, maxPriorityFeePerGas: l, nonce: p, to: u, value: d }) {
|
|
2877
2877
|
var f;
|
|
2878
2878
|
const x = Oc({
|
|
@@ -2913,14 +2913,14 @@ function $h(e, { docsPath: n, ...o }) {
|
|
|
2913
2913
|
...o
|
|
2914
2914
|
});
|
|
2915
2915
|
}
|
|
2916
|
-
class ed extends
|
|
2916
|
+
class ed extends K {
|
|
2917
2917
|
constructor({ address: n }) {
|
|
2918
2918
|
super(`State for account "${n}" is set multiple times.`, {
|
|
2919
2919
|
name: "AccountStateConflictError"
|
|
2920
2920
|
});
|
|
2921
2921
|
}
|
|
2922
2922
|
}
|
|
2923
|
-
class nd extends
|
|
2923
|
+
class nd extends K {
|
|
2924
2924
|
constructor() {
|
|
2925
2925
|
super("state and stateDiff are set on the same account.", {
|
|
2926
2926
|
name: "StateAssignmentConflictError"
|
|
@@ -3016,7 +3016,7 @@ async function ad(e, n) {
|
|
|
3016
3016
|
return await Hh({
|
|
3017
3017
|
authorization: s[0]
|
|
3018
3018
|
}).catch(() => {
|
|
3019
|
-
throw new
|
|
3019
|
+
throw new K("`to` is required. Could not infer from `authorizationList`");
|
|
3020
3020
|
});
|
|
3021
3021
|
})();
|
|
3022
3022
|
Wc(n);
|
|
@@ -3078,7 +3078,7 @@ function Jc(e) {
|
|
|
3078
3078
|
t.push(Uint8Array.from(n.blobToKzgCommitment(c)));
|
|
3079
3079
|
return o === "bytes" ? t : t.map((c) => zn(c));
|
|
3080
3080
|
}
|
|
3081
|
-
function
|
|
3081
|
+
function Kc(e) {
|
|
3082
3082
|
const { kzg: n } = e, o = e.to ?? (typeof e.blobs[0] == "string" ? "hex" : "bytes"), i = typeof e.blobs[0] == "string" ? e.blobs.map((a) => Vn(a)) : e.blobs, t = typeof e.commitments[0] == "string" ? e.commitments.map((a) => Vn(a)) : e.commitments, c = [];
|
|
3083
3083
|
for (let a = 0; a < i.length; a++) {
|
|
3084
3084
|
const r = i[a], s = t[a];
|
|
@@ -3251,7 +3251,7 @@ class hd extends pd {
|
|
|
3251
3251
|
this.set(0, 0, 0, 0, 0, 0, 0, 0), this.buffer.fill(0);
|
|
3252
3252
|
}
|
|
3253
3253
|
}
|
|
3254
|
-
const dd = /* @__PURE__ */
|
|
3254
|
+
const dd = /* @__PURE__ */ Ks(() => new hd());
|
|
3255
3255
|
function Dd(e, n) {
|
|
3256
3256
|
return dd(io(e, { strict: !1 }) ? Os(e) : e);
|
|
3257
3257
|
}
|
|
@@ -3269,10 +3269,10 @@ function ml(e) {
|
|
|
3269
3269
|
}));
|
|
3270
3270
|
return t;
|
|
3271
3271
|
}
|
|
3272
|
-
const
|
|
3272
|
+
const Ka = 6, pl = 32, Zc = 4096, ul = pl * Zc, Za = ul * Ka - // terminator byte (0x80).
|
|
3273
3273
|
1 - // zero byte (0x00) appended to each field element.
|
|
3274
|
-
1 *
|
|
3275
|
-
class gd extends
|
|
3274
|
+
1 * Zc * Ka, hl = 1;
|
|
3275
|
+
class gd extends K {
|
|
3276
3276
|
constructor({ maxSize: n, size: o }) {
|
|
3277
3277
|
super("Blob size is too large.", {
|
|
3278
3278
|
metaMessages: [`Max: ${n} bytes`, `Given: ${o} bytes`],
|
|
@@ -3280,12 +3280,12 @@ class gd extends Z {
|
|
|
3280
3280
|
});
|
|
3281
3281
|
}
|
|
3282
3282
|
}
|
|
3283
|
-
class dl extends
|
|
3283
|
+
class dl extends K {
|
|
3284
3284
|
constructor() {
|
|
3285
3285
|
super("Blob data must not be empty.", { name: "EmptyBlobError" });
|
|
3286
3286
|
}
|
|
3287
3287
|
}
|
|
3288
|
-
class fd extends
|
|
3288
|
+
class fd extends K {
|
|
3289
3289
|
constructor({ hash: n, size: o }) {
|
|
3290
3290
|
super(`Versioned hash "${n}" size is invalid.`, {
|
|
3291
3291
|
metaMessages: ["Expected: 32", `Received: ${o}`],
|
|
@@ -3293,7 +3293,7 @@ class fd extends Z {
|
|
|
3293
3293
|
});
|
|
3294
3294
|
}
|
|
3295
3295
|
}
|
|
3296
|
-
class bd extends
|
|
3296
|
+
class bd extends K {
|
|
3297
3297
|
constructor({ hash: n, version: o }) {
|
|
3298
3298
|
super(`Versioned hash "${n}" version is invalid.`, {
|
|
3299
3299
|
metaMessages: [
|
|
@@ -3308,9 +3308,9 @@ function Ad(e) {
|
|
|
3308
3308
|
const n = e.to ?? (typeof e.data == "string" ? "hex" : "bytes"), o = typeof e.data == "string" ? Vn(e.data) : e.data, i = Eo(o);
|
|
3309
3309
|
if (!i)
|
|
3310
3310
|
throw new dl();
|
|
3311
|
-
if (i >
|
|
3311
|
+
if (i > Za)
|
|
3312
3312
|
throw new gd({
|
|
3313
|
-
maxSize:
|
|
3313
|
+
maxSize: Za,
|
|
3314
3314
|
size: i
|
|
3315
3315
|
});
|
|
3316
3316
|
const t = [];
|
|
@@ -3318,7 +3318,7 @@ function Ad(e) {
|
|
|
3318
3318
|
for (; c; ) {
|
|
3319
3319
|
const r = _s(new Uint8Array(ul));
|
|
3320
3320
|
let s = 0;
|
|
3321
|
-
for (; s <
|
|
3321
|
+
for (; s < Zc; ) {
|
|
3322
3322
|
const l = o.slice(a, a + (pl - 1));
|
|
3323
3323
|
if (r.pushByte(0), r.pushBytes(l), l.length < 31) {
|
|
3324
3324
|
r.pushByte(128), c = !1;
|
|
@@ -3331,7 +3331,7 @@ function Ad(e) {
|
|
|
3331
3331
|
return n === "bytes" ? t.map((r) => r.bytes) : t.map((r) => zn(r.bytes));
|
|
3332
3332
|
}
|
|
3333
3333
|
function Dl(e) {
|
|
3334
|
-
const { data: n, kzg: o, to: i } = e, t = e.blobs ?? Ad({ data: n, to: i }), c = e.commitments ?? Jc({ blobs: t, kzg: o, to: i }), a = e.proofs ??
|
|
3334
|
+
const { data: n, kzg: o, to: i } = e, t = e.blobs ?? Ad({ data: n, to: i }), c = e.commitments ?? Jc({ blobs: t, kzg: o, to: i }), a = e.proofs ?? Kc({ blobs: t, commitments: c, kzg: o, to: i }), r = [];
|
|
3335
3335
|
for (let s = 0; s < t.length; s++)
|
|
3336
3336
|
r.push({
|
|
3337
3337
|
blob: t[s],
|
|
@@ -3365,7 +3365,7 @@ async function gl(e, n) {
|
|
|
3365
3365
|
const { account: o = e.account, blobs: i, chain: t, gas: c, kzg: a, nonce: r, nonceManager: s, parameters: l = Cd, type: p } = n, u = o ? Oo(o) : void 0, d = { ...n, ...u ? { from: u == null ? void 0 : u.address } : {} };
|
|
3366
3366
|
let x;
|
|
3367
3367
|
async function f() {
|
|
3368
|
-
return x || (x = await En(e,
|
|
3368
|
+
return x || (x = await En(e, Ki, "getBlock")({ blockTag: "latest" }), x);
|
|
3369
3369
|
}
|
|
3370
3370
|
let w;
|
|
3371
3371
|
async function H() {
|
|
@@ -3381,7 +3381,7 @@ async function gl(e, n) {
|
|
|
3381
3381
|
d.blobVersionedHashes = C;
|
|
3382
3382
|
}
|
|
3383
3383
|
if (l.includes("sidecars")) {
|
|
3384
|
-
const C =
|
|
3384
|
+
const C = Kc({ blobs: i, commitments: B, kzg: a }), A = Dl({
|
|
3385
3385
|
blobs: i,
|
|
3386
3386
|
commitments: B,
|
|
3387
3387
|
proofs: C,
|
|
@@ -3419,7 +3419,7 @@ async function gl(e, n) {
|
|
|
3419
3419
|
request: d
|
|
3420
3420
|
});
|
|
3421
3421
|
if (typeof n.maxPriorityFeePerGas > "u" && n.maxFeePerGas && n.maxFeePerGas < A)
|
|
3422
|
-
throw new
|
|
3422
|
+
throw new Zh({
|
|
3423
3423
|
maxPriorityFeePerGas: A
|
|
3424
3424
|
});
|
|
3425
3425
|
d.maxPriorityFeePerGas = A, d.maxFeePerGas = C;
|
|
@@ -3440,7 +3440,7 @@ async function gl(e, n) {
|
|
|
3440
3440
|
account: u ? { address: u.address, type: "json-rpc" } : void 0
|
|
3441
3441
|
})), Wc(d), delete d.parameters, d;
|
|
3442
3442
|
}
|
|
3443
|
-
class kd extends
|
|
3443
|
+
class kd extends K {
|
|
3444
3444
|
constructor(n, { account: o, docsPath: i, chain: t, data: c, gas: a, gasPrice: r, maxFeePerGas: s, maxPriorityFeePerGas: l, nonce: p, to: u, value: d, stateOverride: x }) {
|
|
3445
3445
|
var H;
|
|
3446
3446
|
const f = o ? Oo(o) : void 0;
|
|
@@ -3571,7 +3571,7 @@ function Md(e) {
|
|
|
3571
3571
|
if (c && !Oe(c))
|
|
3572
3572
|
throw new $e({ address: c });
|
|
3573
3573
|
if (o || t)
|
|
3574
|
-
throw new
|
|
3574
|
+
throw new K("`maxFeePerGas`/`maxPriorityFeePerGas` is not a valid EIP-2930 Transaction attribute.");
|
|
3575
3575
|
if (i && i > ui)
|
|
3576
3576
|
throw new Ln({ maxFeePerGas: i });
|
|
3577
3577
|
}
|
|
@@ -3582,7 +3582,7 @@ function zd(e) {
|
|
|
3582
3582
|
if (typeof n < "u" && n <= 0)
|
|
3583
3583
|
throw new pi({ chainId: n });
|
|
3584
3584
|
if (o || t)
|
|
3585
|
-
throw new
|
|
3585
|
+
throw new K("`maxFeePerGas`/`maxPriorityFeePerGas` is not a valid Legacy Transaction attribute.");
|
|
3586
3586
|
if (i && i > ui)
|
|
3587
3587
|
throw new Ln({ maxFeePerGas: i });
|
|
3588
3588
|
}
|
|
@@ -3593,9 +3593,9 @@ function qd(e) {
|
|
|
3593
3593
|
for (const o of e) {
|
|
3594
3594
|
const { contractAddress: i, chainId: t, nonce: c, ...a } = o;
|
|
3595
3595
|
n.push([
|
|
3596
|
-
|
|
3596
|
+
Z(t),
|
|
3597
3597
|
i,
|
|
3598
|
-
|
|
3598
|
+
Z(c),
|
|
3599
3599
|
...Uo({}, a)
|
|
3600
3600
|
]);
|
|
3601
3601
|
}
|
|
@@ -3627,13 +3627,13 @@ function jd(e, n) {
|
|
|
3627
3627
|
return ro([
|
|
3628
3628
|
"0x04",
|
|
3629
3629
|
Fn([
|
|
3630
|
-
|
|
3631
|
-
c ?
|
|
3632
|
-
l ?
|
|
3633
|
-
s ?
|
|
3634
|
-
t ?
|
|
3630
|
+
Z(i),
|
|
3631
|
+
c ? Z(c) : "0x",
|
|
3632
|
+
l ? Z(l) : "0x",
|
|
3633
|
+
s ? Z(s) : "0x",
|
|
3634
|
+
t ? Z(t) : "0x",
|
|
3635
3635
|
a ?? "0x",
|
|
3636
|
-
r ?
|
|
3636
|
+
r ? Z(r) : "0x",
|
|
3637
3637
|
u ?? "0x",
|
|
3638
3638
|
d,
|
|
3639
3639
|
x,
|
|
@@ -3653,21 +3653,21 @@ function Id(e, n) {
|
|
|
3653
3653
|
if (typeof d > "u" && (d = ml({
|
|
3654
3654
|
commitments: E
|
|
3655
3655
|
})), typeof x > "u") {
|
|
3656
|
-
const j =
|
|
3656
|
+
const j = Kc({ blobs: A, commitments: E, kzg: M });
|
|
3657
3657
|
x = Dl({ blobs: A, commitments: E, proofs: j });
|
|
3658
3658
|
}
|
|
3659
3659
|
}
|
|
3660
3660
|
const f = hi(p), w = [
|
|
3661
|
-
|
|
3662
|
-
t ?
|
|
3663
|
-
l ?
|
|
3664
|
-
s ?
|
|
3665
|
-
i ?
|
|
3661
|
+
Z(o),
|
|
3662
|
+
t ? Z(t) : "0x",
|
|
3663
|
+
l ? Z(l) : "0x",
|
|
3664
|
+
s ? Z(s) : "0x",
|
|
3665
|
+
i ? Z(i) : "0x",
|
|
3666
3666
|
c ?? "0x",
|
|
3667
|
-
a ?
|
|
3667
|
+
a ? Z(a) : "0x",
|
|
3668
3668
|
u ?? "0x",
|
|
3669
3669
|
f,
|
|
3670
|
-
r ?
|
|
3670
|
+
r ? Z(r) : "0x",
|
|
3671
3671
|
d ?? [],
|
|
3672
3672
|
...Uo(e, n)
|
|
3673
3673
|
], H = [], B = [], C = [];
|
|
@@ -3686,13 +3686,13 @@ function Hd(e, n) {
|
|
|
3686
3686
|
const { chainId: o, gas: i, nonce: t, to: c, value: a, maxFeePerGas: r, maxPriorityFeePerGas: s, accessList: l, data: p } = e;
|
|
3687
3687
|
Xc(e);
|
|
3688
3688
|
const u = hi(l), d = [
|
|
3689
|
-
|
|
3690
|
-
t ?
|
|
3691
|
-
s ?
|
|
3692
|
-
r ?
|
|
3693
|
-
i ?
|
|
3689
|
+
Z(o),
|
|
3690
|
+
t ? Z(t) : "0x",
|
|
3691
|
+
s ? Z(s) : "0x",
|
|
3692
|
+
r ? Z(r) : "0x",
|
|
3693
|
+
i ? Z(i) : "0x",
|
|
3694
3694
|
c ?? "0x",
|
|
3695
|
-
a ?
|
|
3695
|
+
a ? Z(a) : "0x",
|
|
3696
3696
|
p ?? "0x",
|
|
3697
3697
|
u,
|
|
3698
3698
|
...Uo(e, n)
|
|
@@ -3706,12 +3706,12 @@ function Td(e, n) {
|
|
|
3706
3706
|
const { chainId: o, gas: i, data: t, nonce: c, to: a, value: r, accessList: s, gasPrice: l } = e;
|
|
3707
3707
|
Md(e);
|
|
3708
3708
|
const p = hi(s), u = [
|
|
3709
|
-
|
|
3710
|
-
c ?
|
|
3711
|
-
l ?
|
|
3712
|
-
i ?
|
|
3709
|
+
Z(o),
|
|
3710
|
+
c ? Z(c) : "0x",
|
|
3711
|
+
l ? Z(l) : "0x",
|
|
3712
|
+
i ? Z(i) : "0x",
|
|
3713
3713
|
a ?? "0x",
|
|
3714
|
-
r ?
|
|
3714
|
+
r ? Z(r) : "0x",
|
|
3715
3715
|
t ?? "0x",
|
|
3716
3716
|
p,
|
|
3717
3717
|
...Uo(e, n)
|
|
@@ -3725,11 +3725,11 @@ function Nd(e, n) {
|
|
|
3725
3725
|
const { chainId: o = 0, gas: i, data: t, nonce: c, to: a, value: r, gasPrice: s } = e;
|
|
3726
3726
|
zd(e);
|
|
3727
3727
|
let l = [
|
|
3728
|
-
c ?
|
|
3729
|
-
s ?
|
|
3730
|
-
i ?
|
|
3728
|
+
c ? Z(c) : "0x",
|
|
3729
|
+
s ? Z(s) : "0x",
|
|
3730
|
+
i ? Z(i) : "0x",
|
|
3731
3731
|
a ?? "0x",
|
|
3732
|
-
r ?
|
|
3732
|
+
r ? Z(r) : "0x",
|
|
3733
3733
|
t ?? "0x"
|
|
3734
3734
|
];
|
|
3735
3735
|
if (n) {
|
|
@@ -3745,13 +3745,13 @@ function Nd(e, n) {
|
|
|
3745
3745
|
})(), u = Po(n.r), d = Po(n.s);
|
|
3746
3746
|
l = [
|
|
3747
3747
|
...l,
|
|
3748
|
-
|
|
3748
|
+
Z(p),
|
|
3749
3749
|
u === "0x00" ? "0x" : u,
|
|
3750
3750
|
d === "0x00" ? "0x" : d
|
|
3751
3751
|
];
|
|
3752
3752
|
} else o > 0 && (l = [
|
|
3753
3753
|
...l,
|
|
3754
|
-
|
|
3754
|
+
Z(o),
|
|
3755
3755
|
"0x",
|
|
3756
3756
|
"0x"
|
|
3757
3757
|
]);
|
|
@@ -3766,14 +3766,14 @@ function Uo(e, n) {
|
|
|
3766
3766
|
if (typeof i > "u" && typeof t > "u")
|
|
3767
3767
|
return [];
|
|
3768
3768
|
const c = Po(o.r), a = Po(o.s);
|
|
3769
|
-
return [typeof t == "number" ? t ?
|
|
3769
|
+
return [typeof t == "number" ? t ? Z(1) : "0x" : i === 0n ? "0x" : i === 1n ? Z(1) : i === 27n ? "0x" : Z(1), c === "0x00" ? "0x" : c, a === "0x00" ? "0x" : a];
|
|
3770
3770
|
}
|
|
3771
3771
|
const Vd = "2.13.4", Ld = () => `@wagmi/core@${Vd}`;
|
|
3772
3772
|
var fl = function(e, n, o, i) {
|
|
3773
3773
|
if (o === "a" && !i) throw new TypeError("Private accessor was defined without a getter");
|
|
3774
3774
|
if (typeof n == "function" ? e !== n || !i : !n.has(e)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
3775
3775
|
return o === "m" ? i : o === "a" ? i.call(e) : i ? i.value : n.get(e);
|
|
3776
|
-
},
|
|
3776
|
+
}, Zi, bl;
|
|
3777
3777
|
class Bo extends Error {
|
|
3778
3778
|
get docsBaseUrl() {
|
|
3779
3779
|
return "https://wagmi.sh/core";
|
|
@@ -3783,7 +3783,7 @@ class Bo extends Error {
|
|
|
3783
3783
|
}
|
|
3784
3784
|
constructor(n, o = {}) {
|
|
3785
3785
|
var c;
|
|
3786
|
-
super(),
|
|
3786
|
+
super(), Zi.add(this), Object.defineProperty(this, "details", {
|
|
3787
3787
|
enumerable: !0,
|
|
3788
3788
|
configurable: !0,
|
|
3789
3789
|
writable: !0,
|
|
@@ -3823,11 +3823,11 @@ class Bo extends Error {
|
|
|
3823
3823
|
`), o.cause && (this.cause = o.cause), this.details = i, this.docsPath = t, this.metaMessages = o.metaMessages, this.shortMessage = n;
|
|
3824
3824
|
}
|
|
3825
3825
|
walk(n) {
|
|
3826
|
-
return fl(this,
|
|
3826
|
+
return fl(this, Zi, "m", bl).call(this, this, n);
|
|
3827
3827
|
}
|
|
3828
3828
|
}
|
|
3829
|
-
|
|
3830
|
-
return o != null && o(n) ? n : n.cause ? fl(this,
|
|
3829
|
+
Zi = /* @__PURE__ */ new WeakSet(), bl = function e(n, o) {
|
|
3830
|
+
return o != null && o(n) ? n : n.cause ? fl(this, Zi, "m", e).call(this, n.cause, o) : n;
|
|
3831
3831
|
};
|
|
3832
3832
|
class Rd extends Bo {
|
|
3833
3833
|
constructor() {
|
|
@@ -3919,7 +3919,7 @@ const Jd = {
|
|
|
3919
3919
|
l2ToL1MessagePasser: {
|
|
3920
3920
|
address: "0x4200000000000000000000000000000000000016"
|
|
3921
3921
|
}
|
|
3922
|
-
},
|
|
3922
|
+
}, Kd = {
|
|
3923
3923
|
block: /* @__PURE__ */ sl({
|
|
3924
3924
|
format(e) {
|
|
3925
3925
|
var o;
|
|
@@ -3954,7 +3954,7 @@ const Jd = {
|
|
|
3954
3954
|
function Al(e, n) {
|
|
3955
3955
|
return Yd(e) ? Xd(e) : Sd(e, n);
|
|
3956
3956
|
}
|
|
3957
|
-
const
|
|
3957
|
+
const Zd = {
|
|
3958
3958
|
transaction: Al
|
|
3959
3959
|
};
|
|
3960
3960
|
function Xd(e) {
|
|
@@ -3963,9 +3963,9 @@ function Xd(e) {
|
|
|
3963
3963
|
n,
|
|
3964
3964
|
i,
|
|
3965
3965
|
r ?? "0x",
|
|
3966
|
-
a ?
|
|
3967
|
-
s ?
|
|
3968
|
-
t ?
|
|
3966
|
+
a ? Z(a) : "0x",
|
|
3967
|
+
s ? Z(s) : "0x",
|
|
3968
|
+
t ? Z(t) : "0x",
|
|
3969
3969
|
c ? "0x1" : "0x",
|
|
3970
3970
|
o ?? "0x"
|
|
3971
3971
|
];
|
|
@@ -3986,8 +3986,8 @@ function Qd(e) {
|
|
|
3986
3986
|
}
|
|
3987
3987
|
const Rn = {
|
|
3988
3988
|
contracts: Jd,
|
|
3989
|
-
formatters:
|
|
3990
|
-
serializers:
|
|
3989
|
+
formatters: Kd,
|
|
3990
|
+
serializers: Zd
|
|
3991
3991
|
}, Xa = /* @__PURE__ */ pe({
|
|
3992
3992
|
id: 42161,
|
|
3993
3993
|
name: "Arbitrum One",
|
|
@@ -4375,13 +4375,13 @@ const a0 = {
|
|
|
4375
4375
|
function r0(e, n) {
|
|
4376
4376
|
l0(e);
|
|
4377
4377
|
const { chainId: o, gas: i, nonce: t, to: c, value: a, maxFeePerGas: r, maxPriorityFeePerGas: s, accessList: l, feeCurrency: p, data: u } = e, d = [
|
|
4378
|
-
|
|
4379
|
-
t ?
|
|
4380
|
-
s ?
|
|
4381
|
-
r ?
|
|
4382
|
-
i ?
|
|
4378
|
+
Z(o),
|
|
4379
|
+
t ? Z(t) : "0x",
|
|
4380
|
+
s ? Z(s) : "0x",
|
|
4381
|
+
r ? Z(r) : "0x",
|
|
4382
|
+
i ? Z(i) : "0x",
|
|
4383
4383
|
c ?? "0x",
|
|
4384
|
-
a ?
|
|
4384
|
+
a ? Z(a) : "0x",
|
|
4385
4385
|
u ?? "0x",
|
|
4386
4386
|
hi(l),
|
|
4387
4387
|
p,
|
|
@@ -4400,15 +4400,15 @@ function l0(e) {
|
|
|
4400
4400
|
if (c && !Oe(c))
|
|
4401
4401
|
throw new $e({ address: c });
|
|
4402
4402
|
if (i)
|
|
4403
|
-
throw new
|
|
4403
|
+
throw new K("`gasPrice` is not a valid CIP-64 Transaction attribute.");
|
|
4404
4404
|
if (oi(t) && t > s0)
|
|
4405
4405
|
throw new Ln({ maxFeePerGas: t });
|
|
4406
4406
|
if (oi(o) && oi(t) && o > t)
|
|
4407
4407
|
throw new Fo({ maxFeePerGas: t, maxPriorityFeePerGas: o });
|
|
4408
4408
|
if (oi(a) && !Oe(a))
|
|
4409
|
-
throw new
|
|
4409
|
+
throw new K("`feeCurrency` MUST be a token address for CIP-64 transactions.");
|
|
4410
4410
|
if (Cl(a))
|
|
4411
|
-
throw new
|
|
4411
|
+
throw new K("`feeCurrency` must be provided for CIP-64 transactions.");
|
|
4412
4412
|
}
|
|
4413
4413
|
const m0 = {
|
|
4414
4414
|
formatters: t0,
|
|
@@ -5091,7 +5091,7 @@ const ur = /* @__PURE__ */ pe({
|
|
|
5091
5091
|
[xr.id]: ae()
|
|
5092
5092
|
},
|
|
5093
5093
|
ssr: !1,
|
|
5094
|
-
storage:
|
|
5094
|
+
storage: Km({
|
|
5095
5095
|
storage: u0 ? localStorage : void 0,
|
|
5096
5096
|
// Use a fallback for SSR
|
|
5097
5097
|
key: "skip-go-widget-wagmi"
|
|
@@ -5116,7 +5116,7 @@ const ur = /* @__PURE__ */ pe({
|
|
|
5116
5116
|
getCosmosSigner: async (i) => {
|
|
5117
5117
|
if (!o.cosmos)
|
|
5118
5118
|
throw new Error("getCosmosSigner error: no cosmos wallet");
|
|
5119
|
-
const t =
|
|
5119
|
+
const t = Kn(o.cosmos.walletName);
|
|
5120
5120
|
if (!t)
|
|
5121
5121
|
throw new Error("getCosmosSigner error: wallet not found");
|
|
5122
5122
|
return (await t.getKey(i)).isNanoLedger ? t.getOfflineSignerOnlyAmino(i) : t.getOfflineSigner(i);
|
|
@@ -5978,9 +5978,9 @@ const bn = _(
|
|
|
5978
5978
|
/* SwapPage */
|
|
5979
5979
|
), T0 = is((e, n) => {
|
|
5980
5980
|
const o = e(Ee), i = e(mn), t = e(R0), c = e(U0);
|
|
5981
|
-
o != null && o.amount && !t && n(Jo, o.amount), i != null && i.amount && !c && n(
|
|
5981
|
+
o != null && o.amount && !t && n(Jo, o.amount), i != null && i.amount && !c && n(Ko, i.amount);
|
|
5982
5982
|
}), N0 = _((e) => {
|
|
5983
|
-
const n = e(Ee), o = e(mn), i = e(On), t = e(Jo), c = e(
|
|
5983
|
+
const n = e(Ee), o = e(mn), i = e(On), t = e(Jo), c = e(Ko);
|
|
5984
5984
|
return e(T0), !(n != null && n.chainID) || !n.denom || !(o != null && o.chainID) || !o.denom ? void 0 : {
|
|
5985
5985
|
...i === "swap-in" ? {
|
|
5986
5986
|
amountIn: Tn(
|
|
@@ -6093,7 +6093,7 @@ const {
|
|
|
6093
6093
|
valueInitialized: R0,
|
|
6094
6094
|
clearTimeoutAtom: O0
|
|
6095
6095
|
} = ql(), {
|
|
6096
|
-
debouncedValueAtom:
|
|
6096
|
+
debouncedValueAtom: Ko,
|
|
6097
6097
|
valueInitialized: U0,
|
|
6098
6098
|
clearTimeoutAtom: W0
|
|
6099
6099
|
} = ql(), Ee = Di(
|
|
@@ -6105,7 +6105,7 @@ const {
|
|
|
6105
6105
|
return ((n = e(Ee)) == null ? void 0 : n.amount) ?? "";
|
|
6106
6106
|
},
|
|
6107
6107
|
(e, n, o) => {
|
|
6108
|
-
n(Ee, (i) => ({ ...i, amount: o })), n(Jo, o), n(On, "swap-in"), o === "" && (n(mn, (i) => ({ ...i, amount: o })), n(
|
|
6108
|
+
n(Ee, (i) => ({ ...i, amount: o })), n(Jo, o), n(On, "swap-in"), o === "" && (n(mn, (i) => ({ ...i, amount: o })), n(Ko, o, void 0, !0));
|
|
6109
6109
|
}
|
|
6110
6110
|
), mn = Di(
|
|
6111
6111
|
"destinationAsset",
|
|
@@ -6116,12 +6116,12 @@ const {
|
|
|
6116
6116
|
return ((n = e(mn)) == null ? void 0 : n.amount) ?? "";
|
|
6117
6117
|
},
|
|
6118
6118
|
(e, n, o, i) => {
|
|
6119
|
-
n(mn, (t) => ({ ...t, amount: o })), n(
|
|
6119
|
+
n(mn, (t) => ({ ...t, amount: o })), n(Ko, o, i), n(On, "swap-out"), o === "" && (n(Ee, (t) => ({ ...t, amount: o })), n(Jo, o, void 0, !0));
|
|
6120
6120
|
}
|
|
6121
6121
|
), Sl = _(null, (e, n) => {
|
|
6122
|
-
n(Ee, (o) => ({ ...o, amount: "" })), n(Jo, "", void 0, !0), n(mn, (o) => ({ ...o, amount: "" })), n(
|
|
6122
|
+
n(Ee, (o) => ({ ...o, amount: "" })), n(Jo, "", void 0, !0), n(mn, (o) => ({ ...o, amount: "" })), n(Ko, "", void 0, !0);
|
|
6123
6123
|
}), G0 = _((e) => {
|
|
6124
|
-
const n = e(fi), o = e(xt), i = e(Jo), t = e(
|
|
6124
|
+
const n = e(fi), o = e(xt), i = e(Jo), t = e(Ko), { isLoading: c } = e(Go), a = e(On), r = n !== i, s = o !== t;
|
|
6125
6125
|
if (a === "swap-in")
|
|
6126
6126
|
return r || c;
|
|
6127
6127
|
if (a === "swap-out")
|
|
@@ -6131,7 +6131,7 @@ const {
|
|
|
6131
6131
|
"swap-in"
|
|
6132
6132
|
), Qi = _(!1), J0 = _(null, (e, n) => {
|
|
6133
6133
|
const o = e(Ee), i = e(mn), t = e(On);
|
|
6134
|
-
n(Qi, !0), n(Ee, { ...i }),
|
|
6134
|
+
n(Qi, !0), n(Ee, { ...i }), n(fi, (i == null ? void 0 : i.amount) ?? ""), n(mn, { ...o }), n(xt, (o == null ? void 0 : o.amount) ?? "", () => {
|
|
6135
6135
|
n(On, t === "swap-in" ? "swap-out" : "swap-in"), n(Qi, !1);
|
|
6136
6136
|
});
|
|
6137
6137
|
}), aa = _();
|
|
@@ -6141,13 +6141,13 @@ const _i = {
|
|
|
6141
6141
|
customGasAmount: 2e5,
|
|
6142
6142
|
routePreference: "Fastest"
|
|
6143
6143
|
/* FASTEST */
|
|
6144
|
-
}, Pn = Di("swapSettingsAtom", _i),
|
|
6144
|
+
}, Pn = Di("swapSettingsAtom", _i), K0 = _(
|
|
6145
6145
|
(e) => e(Pn).slippage,
|
|
6146
6146
|
(e, n, o) => {
|
|
6147
6147
|
const i = e(Pn);
|
|
6148
6148
|
n(Pn, { ...i, slippage: o });
|
|
6149
6149
|
}
|
|
6150
|
-
),
|
|
6150
|
+
), Z0 = _(
|
|
6151
6151
|
(e) => e(Pn).routePreference,
|
|
6152
6152
|
(e, n, o) => {
|
|
6153
6153
|
const i = e(Pn);
|
|
@@ -6397,31 +6397,31 @@ function jl(e) {
|
|
|
6397
6397
|
for (; !v[0] && v.length > 1; v.splice(0, 1)) ;
|
|
6398
6398
|
}
|
|
6399
6399
|
return function(v, b, y, S, k) {
|
|
6400
|
-
var P, z, F, I, R, O, V, ie, ce, Y, $, ke, tn, cn, Gn, Ne, Le, We = v.s == b.s ? 1 : -1, Ve = v.c,
|
|
6401
|
-
if (!Ve || !Ve[0] || !
|
|
6400
|
+
var P, z, F, I, R, O, V, ie, ce, Y, $, ke, tn, cn, Gn, Ne, Le, We = v.s == b.s ? 1 : -1, Ve = v.c, Ae = b.c;
|
|
6401
|
+
if (!Ve || !Ve[0] || !Ae || !Ae[0])
|
|
6402
6402
|
return new C(
|
|
6403
6403
|
// Return NaN if either NaN, or both Infinity or 0.
|
|
6404
|
-
!v.s || !b.s || (Ve ?
|
|
6404
|
+
!v.s || !b.s || (Ve ? Ae && Ve[0] == Ae[0] : !Ae) ? NaN : (
|
|
6405
6405
|
// Return ±0 if x is ±0 or y is ±Infinity, or return ±Infinity as y is ±0.
|
|
6406
|
-
Ve && Ve[0] == 0 || !
|
|
6406
|
+
Ve && Ve[0] == 0 || !Ae ? We * 0 : We / 0
|
|
6407
6407
|
)
|
|
6408
6408
|
);
|
|
6409
|
-
for (ie = new C(We), ce = ie.c = [], z = v.e - b.e, We = y + z + 1, k || (k = an, z =
|
|
6410
|
-
if (
|
|
6409
|
+
for (ie = new C(We), ce = ie.c = [], z = v.e - b.e, We = y + z + 1, k || (k = an, z = Ke(v.e / Q) - Ke(b.e / Q), We = We / Q | 0), F = 0; Ae[F] == (Ve[F] || 0); F++) ;
|
|
6410
|
+
if (Ae[F] > (Ve[F] || 0) && z--, We < 0)
|
|
6411
6411
|
ce.push(1), I = !0;
|
|
6412
6412
|
else {
|
|
6413
|
-
for (cn = Ve.length, Ne =
|
|
6414
|
-
Le =
|
|
6413
|
+
for (cn = Ve.length, Ne = Ae.length, F = 0, We += 2, R = Je(k / (Ae[0] + 1)), R > 1 && (Ae = h(Ae, R, k), Ve = h(Ve, R, k), Ne = Ae.length, cn = Ve.length), tn = Ne, Y = Ve.slice(0, Ne), $ = Y.length; $ < Ne; Y[$++] = 0) ;
|
|
6414
|
+
Le = Ae.slice(), Le = [0].concat(Le), Gn = Ae[0], Ae[1] >= k / 2 && Gn++;
|
|
6415
6415
|
do {
|
|
6416
|
-
if (R = 0, P = D(
|
|
6416
|
+
if (R = 0, P = D(Ae, Y, Ne, $), P < 0) {
|
|
6417
6417
|
if (ke = Y[0], Ne != $ && (ke = ke * k + (Y[1] || 0)), R = Je(ke / Gn), R > 1)
|
|
6418
|
-
for (R >= k && (R = k - 1), O = h(
|
|
6419
|
-
R--, g(O, Ne < V ? Le :
|
|
6418
|
+
for (R >= k && (R = k - 1), O = h(Ae, R, k), V = O.length, $ = Y.length; D(O, Y, V, $) == 1; )
|
|
6419
|
+
R--, g(O, Ne < V ? Le : Ae, V, k), V = O.length, P = 1;
|
|
6420
6420
|
else
|
|
6421
|
-
R == 0 && (P = R = 1), O =
|
|
6421
|
+
R == 0 && (P = R = 1), O = Ae.slice(), V = O.length;
|
|
6422
6422
|
if (V < $ && (O = [0].concat(O)), g(Y, O, $, k), $ = Y.length, P == -1)
|
|
6423
|
-
for (; D(
|
|
6424
|
-
R++, g(Y, Ne < $ ? Le :
|
|
6423
|
+
for (; D(Ae, Y, Ne, $) < 1; )
|
|
6424
|
+
R++, g(Y, Ne < $ ? Le : Ae, $, k), $ = Y.length;
|
|
6425
6425
|
} else P === 0 && (R++, Y = [0]);
|
|
6426
6426
|
ce[F++] = R, Y[0] ? Y[$++] = Ve[tn] || 0 : (Y = [Ve[tn]], $ = 1);
|
|
6427
6427
|
} while ((tn++ < cn || Y[0] != null) && We--);
|
|
@@ -6531,7 +6531,7 @@ function jl(e) {
|
|
|
6531
6531
|
if (h != null)
|
|
6532
6532
|
return ge(h, 0, qe), D == null ? D = r : ge(D, 0, 8), j(new C(y), h + y.e + 1, D);
|
|
6533
6533
|
if (!(g = y.c)) return null;
|
|
6534
|
-
if (v = ((b = g.length - 1) -
|
|
6534
|
+
if (v = ((b = g.length - 1) - Ke(this.e / Q)) * Q, b = g[b]) for (; b % 10 == 0; b /= 10, v--) ;
|
|
6535
6535
|
return v < 0 && (v = 0), v;
|
|
6536
6536
|
}, t.dividedBy = t.div = function(h, D) {
|
|
6537
6537
|
return n(this, new C(h, D), a, r);
|
|
@@ -6580,7 +6580,7 @@ function jl(e) {
|
|
|
6580
6580
|
}, t.isGreaterThanOrEqualTo = t.gte = function(h, D) {
|
|
6581
6581
|
return (D = Jn(this, new C(h, D))) === 1 || D === 0;
|
|
6582
6582
|
}, t.isInteger = function() {
|
|
6583
|
-
return !!this.c &&
|
|
6583
|
+
return !!this.c && Ke(this.e / Q) > this.c.length - 2;
|
|
6584
6584
|
}, t.isLessThan = t.lt = function(h, D) {
|
|
6585
6585
|
return Jn(this, new C(h, D)) < 0;
|
|
6586
6586
|
}, t.isLessThanOrEqualTo = t.lte = function(h, D) {
|
|
@@ -6607,7 +6607,7 @@ function jl(e) {
|
|
|
6607
6607
|
r == 3 ? -0 : 0
|
|
6608
6608
|
));
|
|
6609
6609
|
}
|
|
6610
|
-
if (P =
|
|
6610
|
+
if (P = Ke(P), z = Ke(z), F = F.slice(), k = P - z) {
|
|
6611
6611
|
for ((y = k < 0) ? (k = -k, b = F) : (z = P, b = I), b.reverse(), D = k; D--; b.push(0)) ;
|
|
6612
6612
|
b.reverse();
|
|
6613
6613
|
} else
|
|
@@ -6633,7 +6633,7 @@ function jl(e) {
|
|
|
6633
6633
|
var g, v, b, y, S, k, P, z, F, I, R, O, V, ie, ce, Y = this, $ = Y.c, ke = (h = new C(h, D)).c;
|
|
6634
6634
|
if (!$ || !ke || !$[0] || !ke[0])
|
|
6635
6635
|
return !Y.s || !h.s || $ && !$[0] && !ke || ke && !ke[0] && !$ ? h.c = h.e = h.s = null : (h.s *= Y.s, !$ || !ke ? h.c = h.e = null : (h.c = [0], h.e = 0)), h;
|
|
6636
|
-
for (v =
|
|
6636
|
+
for (v = Ke(Y.e / Q) + Ke(h.e / Q), h.s *= Y.s, P = $.length, I = ke.length, P < I && (V = $, $ = ke, ke = V, b = P, P = I, I = b), b = P + I, V = []; b--; V.push(0)) ;
|
|
6637
6637
|
for (ie = an, ce = In, b = I; --b >= 0; ) {
|
|
6638
6638
|
for (g = 0, R = ke[b] % ce, O = ke[b] / ce | 0, S = P, y = b + S; y > b; )
|
|
6639
6639
|
z = $[--S] % ce, F = $[S] / ce | 0, k = O * z + F * R, z = R * z + k % ce * ce + V[y] + g, g = (z / ie | 0) + (k / ce | 0) + O * F, V[y--] = z % ie;
|
|
@@ -6653,7 +6653,7 @@ function jl(e) {
|
|
|
6653
6653
|
if (!k || !P) return new C(b / 0);
|
|
6654
6654
|
if (!k[0] || !P[0]) return P[0] ? h : new C(k[0] ? v : b * 0);
|
|
6655
6655
|
}
|
|
6656
|
-
if (y =
|
|
6656
|
+
if (y = Ke(y), S = Ke(S), k = k.slice(), b = y - S) {
|
|
6657
6657
|
for (b > 0 ? (S = y, g = P) : (b = -b, g = k), g.reverse(); b--; g.push(0)) ;
|
|
6658
6658
|
g.reverse();
|
|
6659
6659
|
}
|
|
@@ -6676,7 +6676,7 @@ function jl(e) {
|
|
|
6676
6676
|
var h, D, g, v, b, y = this, S = y.c, k = y.s, P = y.e, z = a + 4, F = new C("0.5");
|
|
6677
6677
|
if (k !== 1 || !S || !S[0])
|
|
6678
6678
|
return new C(!k || k < 0 && (!S || S[0]) ? NaN : S ? y : 1 / 0);
|
|
6679
|
-
if (k = Math.sqrt(+T(y)), k == 0 || k == 1 / 0 ? (D = Ge(S), (D.length + P) % 2 == 0 && (D += "0"), k = Math.sqrt(+D), P =
|
|
6679
|
+
if (k = Math.sqrt(+T(y)), k == 0 || k == 1 / 0 ? (D = Ge(S), (D.length + P) % 2 == 0 && (D += "0"), k = Math.sqrt(+D), P = Ke((P + 1) / 2) - (P < 0 || P % 2), k == 1 / 0 ? D = "5e" + P : (D = k.toExponential(), D = D.slice(0, D.indexOf("e") + 1) + P), g = new C(D)) : g = new C(k + ""), g.c[0]) {
|
|
6680
6680
|
for (P = g.e, k = P + z, k < 3 && (k = 0); ; )
|
|
6681
6681
|
if (b = g, g = F.times(b.plus(n(y, b, z, 1))), Ge(b.c).slice(0, k) === (D = Ge(g.c)).slice(0, k))
|
|
6682
6682
|
if (g.e < P && --k, D = D.slice(k - 3, k + 1), D == "9999" || !v && D == "4999") {
|
|
@@ -6734,7 +6734,7 @@ function jl(e) {
|
|
|
6734
6734
|
return T(this);
|
|
6735
6735
|
}, t._isBigNumber = !0, t[Symbol.toStringTag] = "BigNumber", t[Symbol.for("nodejs.util.inspect.custom")] = t.valueOf, e != null && C.set(e), C;
|
|
6736
6736
|
}
|
|
6737
|
-
function
|
|
6737
|
+
function Ke(e) {
|
|
6738
6738
|
var n = e | 0;
|
|
6739
6739
|
return e > 0 || e === n ? n : n - 1;
|
|
6740
6740
|
}
|
|
@@ -6762,7 +6762,7 @@ function ge(e, n, o, i) {
|
|
|
6762
6762
|
}
|
|
6763
6763
|
function Ei(e) {
|
|
6764
6764
|
var n = e.c.length - 1;
|
|
6765
|
-
return
|
|
6765
|
+
return Ke(e.e / Q) == n && e.c[n] % 2 != 0;
|
|
6766
6766
|
}
|
|
6767
6767
|
function Pi(e, n) {
|
|
6768
6768
|
return (e.length > 1 ? e.charAt(0) + "." + e.slice(1) : e) + (n < 0 ? "e" : "e+") + n;
|
|
@@ -6778,14 +6778,14 @@ function wn(e, n, o) {
|
|
|
6778
6778
|
} else n < i && (e = e.slice(0, n) + "." + e.slice(n));
|
|
6779
6779
|
return e;
|
|
6780
6780
|
}
|
|
6781
|
-
var
|
|
6782
|
-
const Tn = (e, n = ai) => (typeof e == "string" && (e = parseFloat(e)), new
|
|
6783
|
-
const i = new
|
|
6781
|
+
var be = jl();
|
|
6782
|
+
const Tn = (e, n = ai) => (typeof e == "string" && (e = parseFloat(e)), new be(e).shiftedBy(n).toFixed(0)), en = (e, n = ai) => e === "" ? "" : (typeof e == "string" && (e = parseFloat(e)), new be(e).shiftedBy(-n).toFixed(n).replace(/(\.\d*?[1-9])(?:0+|\.0*)$/, "$1")), Mo = (e, n) => e ? n ? `${e.slice(0, 6)}…${e.slice(-3)}` : `${e.slice(0, 9)}…${e.slice(-5)}` : "", Mr = (e, n, o) => {
|
|
6783
|
+
const i = new be(e).decimalPlaces(
|
|
6784
6784
|
o,
|
|
6785
|
-
|
|
6786
|
-
), t = new
|
|
6785
|
+
be.ROUND_DOWN
|
|
6786
|
+
), t = new be(n).decimalPlaces(
|
|
6787
6787
|
o,
|
|
6788
|
-
|
|
6788
|
+
be.ROUND_DOWN
|
|
6789
6789
|
);
|
|
6790
6790
|
return !i.eq(t);
|
|
6791
6791
|
}, nn = ({
|
|
@@ -6831,7 +6831,7 @@ function $0(e) {
|
|
|
6831
6831
|
function It(e) {
|
|
6832
6832
|
return e.toString().replace(/,/g, "");
|
|
6833
6833
|
}
|
|
6834
|
-
const zo = (e) => e == null ? void 0 : e.replace(/0+$/, "").replace(/\.$/, "");
|
|
6834
|
+
const zo = (e) => e === "0" ? e : e == null ? void 0 : e.replace(/0+$/, "").replace(/\.$/, "");
|
|
6835
6835
|
function ri(e, n = ai) {
|
|
6836
6836
|
if (e === void 0) return "";
|
|
6837
6837
|
if (typeof e == "string") {
|
|
@@ -6843,7 +6843,7 @@ function ri(e, n = ai) {
|
|
|
6843
6843
|
return (Math.floor(e * o) / o).toString();
|
|
6844
6844
|
}
|
|
6845
6845
|
function Il(e, n, o) {
|
|
6846
|
-
const i =
|
|
6846
|
+
const i = be(e), c = be(n).minus(i).dividedBy(i).multipliedBy(100);
|
|
6847
6847
|
return o ? c.absoluteValue().toFixed(0) : c.toFixed(0);
|
|
6848
6848
|
}
|
|
6849
6849
|
const hc = (e) => {
|
|
@@ -6981,7 +6981,7 @@ const hc = (e) => {
|
|
|
6981
6981
|
title: `Warning: Bad trade (-${d})`,
|
|
6982
6982
|
description: /* @__PURE__ */ q(ve, { children: [
|
|
6983
6983
|
/* @__PURE__ */ q(G, { color: i.error.text, textAlign: "center", textWrap: "balance", children: [
|
|
6984
|
-
"You will lose
|
|
6984
|
+
"You will lose ",
|
|
6985
6985
|
d,
|
|
6986
6986
|
" of your input value with this trade",
|
|
6987
6987
|
/* @__PURE__ */ m("br", {}),
|
|
@@ -6993,7 +6993,7 @@ const hc = (e) => {
|
|
|
6993
6993
|
a,
|
|
6994
6994
|
")",
|
|
6995
6995
|
/* @__PURE__ */ m("br", {}),
|
|
6996
|
-
"Estimated output:
|
|
6996
|
+
"Estimated output: ",
|
|
6997
6997
|
f == null ? void 0 : f.amount,
|
|
6998
6998
|
" ",
|
|
6999
6999
|
f == null ? void 0 : f.symbol,
|
|
@@ -7184,6 +7184,7 @@ function cD(e) {
|
|
|
7184
7184
|
type: void 0
|
|
7185
7185
|
};
|
|
7186
7186
|
return Object.values(we).find((i) => {
|
|
7187
|
+
var c;
|
|
7187
7188
|
const t = n == null ? void 0 : n[i];
|
|
7188
7189
|
if (t) {
|
|
7189
7190
|
switch (i) {
|
|
@@ -7191,6 +7192,9 @@ function cD(e) {
|
|
|
7191
7192
|
case "evmSwap":
|
|
7192
7193
|
t.toChainID = t.fromChainID;
|
|
7193
7194
|
break;
|
|
7195
|
+
case "axelarTransfer":
|
|
7196
|
+
t.denomIn = ((c = t.ibcTransferToAxelar) == null ? void 0 : c.denomIn) ?? t.denomIn;
|
|
7197
|
+
break;
|
|
7194
7198
|
case "bankSend":
|
|
7195
7199
|
t.denomIn = t.denom, t.denomOut = t.denom, t.fromChainID = t.chainID, t.toChainID = t.chainID;
|
|
7196
7200
|
break;
|
|
@@ -7217,7 +7221,7 @@ function aD(e) {
|
|
|
7217
7221
|
]
|
|
7218
7222
|
};
|
|
7219
7223
|
}
|
|
7220
|
-
function
|
|
7224
|
+
function Zo(e) {
|
|
7221
7225
|
if (!e) return [];
|
|
7222
7226
|
let n = 0;
|
|
7223
7227
|
return e.map((o, i, t) => {
|
|
@@ -13308,8 +13312,8 @@ const hD = [
|
|
|
13308
13312
|
coinDecimals: 6
|
|
13309
13313
|
}
|
|
13310
13314
|
],
|
|
13311
|
-
rest: "https://api
|
|
13312
|
-
rpc: "https://rpc
|
|
13315
|
+
rest: "https://api.kyve.network",
|
|
13316
|
+
rpc: "https://rpc.kyve.network",
|
|
13313
13317
|
bech32Config: {
|
|
13314
13318
|
bech32PrefixAccAddr: "kyve",
|
|
13315
13319
|
bech32PrefixAccPub: "kyvepub",
|
|
@@ -13939,6 +13943,11 @@ const hD = [
|
|
|
13939
13943
|
coinDenom: "SYN",
|
|
13940
13944
|
coinMinimalDenom: "ibc/33E97105B5C1F48CB7D6400F4673F9B3699AC59EDB621CCCD57D5D480E0C83B6",
|
|
13941
13945
|
coinDecimals: 6
|
|
13946
|
+
},
|
|
13947
|
+
{
|
|
13948
|
+
coinDenom: "DGN",
|
|
13949
|
+
coinMinimalDenom: "ibc/D8C6D71032EC7CC4C9CCD0FF709CF87D34A7311FE5491E70F7EDE2351D189C10",
|
|
13950
|
+
coinDecimals: 6
|
|
13942
13951
|
}
|
|
13943
13952
|
],
|
|
13944
13953
|
rest: "https://migaloo-api.polkachu.com:443",
|
|
@@ -13973,6 +13982,97 @@ const hD = [
|
|
|
13973
13982
|
coinType: 118
|
|
13974
13983
|
}
|
|
13975
13984
|
},
|
|
13985
|
+
{
|
|
13986
|
+
chainId: "milkyway",
|
|
13987
|
+
currencies: [
|
|
13988
|
+
{
|
|
13989
|
+
coinDenom: "milk",
|
|
13990
|
+
coinMinimalDenom: "umilk",
|
|
13991
|
+
coinDecimals: 6
|
|
13992
|
+
},
|
|
13993
|
+
{
|
|
13994
|
+
coinDenom: "tia",
|
|
13995
|
+
coinMinimalDenom: "ibc/6C349F0EB135C5FA99301758F35B87DB88403D690E5E314AB080401FEE4066E5",
|
|
13996
|
+
coinDecimals: 6
|
|
13997
|
+
},
|
|
13998
|
+
{
|
|
13999
|
+
coinDenom: "milkTIA",
|
|
14000
|
+
coinMinimalDenom: "ibc/16065EE5282C5217685C8F084FC44864C25C706AC37356B0D62811D50B96920F",
|
|
14001
|
+
coinDecimals: 6
|
|
14002
|
+
},
|
|
14003
|
+
{
|
|
14004
|
+
coinDenom: "stTIA",
|
|
14005
|
+
coinMinimalDenom: "ibc/8D4FC51F696E03711B9B37A5787FB89BD2DDBAF788813478B002D552A12F9157",
|
|
14006
|
+
coinDecimals: 6
|
|
14007
|
+
},
|
|
14008
|
+
{
|
|
14009
|
+
coinDenom: "tia",
|
|
14010
|
+
coinMinimalDenom: "ibc/F1183DB3D428313A6FD329DF18219F9D6B83257D07D292EA9EC1D877E89EC2B0",
|
|
14011
|
+
coinDecimals: 6
|
|
14012
|
+
}
|
|
14013
|
+
],
|
|
14014
|
+
rest: "https://lcd.mainnet.milkyway.zone/",
|
|
14015
|
+
rpc: "https://rpc.mainnet.milkyway.zone/",
|
|
14016
|
+
bech32Config: {
|
|
14017
|
+
bech32PrefixAccAddr: "milk",
|
|
14018
|
+
bech32PrefixAccPub: "milkpub",
|
|
14019
|
+
bech32PrefixValAddr: "milkvaloper",
|
|
14020
|
+
bech32PrefixValPub: "milkvaloperpub",
|
|
14021
|
+
bech32PrefixConsAddr: "milkvalcons",
|
|
14022
|
+
bech32PrefixConsPub: "milkvalconspub"
|
|
14023
|
+
},
|
|
14024
|
+
chainName: "milkyway",
|
|
14025
|
+
feeCurrencies: [
|
|
14026
|
+
{
|
|
14027
|
+
coinDenom: "milkTIA",
|
|
14028
|
+
coinMinimalDenom: "ibc/16065EE5282C5217685C8F084FC44864C25C706AC37356B0D62811D50B96920F",
|
|
14029
|
+
coinDecimals: 6,
|
|
14030
|
+
gasPriceStep: {
|
|
14031
|
+
low: 0.025,
|
|
14032
|
+
average: 0.03,
|
|
14033
|
+
high: 0.035
|
|
14034
|
+
}
|
|
14035
|
+
},
|
|
14036
|
+
{
|
|
14037
|
+
coinDenom: "tia",
|
|
14038
|
+
coinMinimalDenom: "ibc/6C349F0EB135C5FA99301758F35B87DB88403D690E5E314AB080401FEE4066E5",
|
|
14039
|
+
coinDecimals: 6,
|
|
14040
|
+
gasPriceStep: {
|
|
14041
|
+
low: 0.025,
|
|
14042
|
+
average: 0.03,
|
|
14043
|
+
high: 0.035
|
|
14044
|
+
}
|
|
14045
|
+
},
|
|
14046
|
+
{
|
|
14047
|
+
coinDenom: "stTIA",
|
|
14048
|
+
coinMinimalDenom: "ibc/8D4FC51F696E03711B9B37A5787FB89BD2DDBAF788813478B002D552A12F9157",
|
|
14049
|
+
coinDecimals: 6,
|
|
14050
|
+
gasPriceStep: {
|
|
14051
|
+
low: 0.025,
|
|
14052
|
+
average: 0.03,
|
|
14053
|
+
high: 0.035
|
|
14054
|
+
}
|
|
14055
|
+
},
|
|
14056
|
+
{
|
|
14057
|
+
coinDenom: "tia",
|
|
14058
|
+
coinMinimalDenom: "ibc/F1183DB3D428313A6FD329DF18219F9D6B83257D07D292EA9EC1D877E89EC2B0",
|
|
14059
|
+
coinDecimals: 6,
|
|
14060
|
+
gasPriceStep: {
|
|
14061
|
+
low: 0.025,
|
|
14062
|
+
average: 0.03,
|
|
14063
|
+
high: 0.035
|
|
14064
|
+
}
|
|
14065
|
+
}
|
|
14066
|
+
],
|
|
14067
|
+
stakeCurrency: {
|
|
14068
|
+
coinDenom: "milk",
|
|
14069
|
+
coinMinimalDenom: "umilk",
|
|
14070
|
+
coinDecimals: 6
|
|
14071
|
+
},
|
|
14072
|
+
bip44: {
|
|
14073
|
+
coinType: 118
|
|
14074
|
+
}
|
|
14075
|
+
},
|
|
13976
14076
|
{
|
|
13977
14077
|
chainId: "mtgbp-1",
|
|
13978
14078
|
currencies: [
|
|
@@ -16803,6 +16903,11 @@ const hD = [
|
|
|
16803
16903
|
coinMinimalDenom: "ibc/63A7CA0B6838AD8CAD6B5103998FF9B9B6A6F06FBB9638BFF51E63E0142339F3",
|
|
16804
16904
|
coinDecimals: 6
|
|
16805
16905
|
},
|
|
16906
|
+
{
|
|
16907
|
+
coinDenom: "allXRP",
|
|
16908
|
+
coinMinimalDenom: "factory/osmo1qnglc04tmhg32uc4kxlxh55a5cmhj88cpa3rmtly484xqu82t79sfv94w0/alloyed/allXRP",
|
|
16909
|
+
coinDecimals: 6
|
|
16910
|
+
},
|
|
16806
16911
|
{
|
|
16807
16912
|
coinDenom: "SEIYAN",
|
|
16808
16913
|
coinMinimalDenom: "ibc/86074B8DF625A75C25D52FA6112E3FD5446BA41FE418880C168CA99D10E22F05",
|
|
@@ -17627,6 +17732,11 @@ const hD = [
|
|
|
17627
17732
|
coinDenom: "earnCDT",
|
|
17628
17733
|
coinMinimalDenom: "factory/osmo1jw6r68y0uhfmqagc7uhtdddctc7wq95pncvrqnvtd47w4hx46p7se9nju5/earn-cdt",
|
|
17629
17734
|
coinDecimals: 6
|
|
17735
|
+
},
|
|
17736
|
+
{
|
|
17737
|
+
coinDenom: "Sherpa",
|
|
17738
|
+
coinMinimalDenom: "factory/osmo1n6asrjy9754q8y9jsxqf557zmsv3s3xa5m9eg5/usherpa",
|
|
17739
|
+
coinDecimals: 6
|
|
17630
17740
|
}
|
|
17631
17741
|
],
|
|
17632
17742
|
rest: "https://lcd.osmosis.zone/",
|
|
@@ -18100,6 +18210,11 @@ const hD = [
|
|
|
18100
18210
|
coinMinimalDenom: "p:uatom:31Dec2025",
|
|
18101
18211
|
coinDecimals: 6
|
|
18102
18212
|
},
|
|
18213
|
+
{
|
|
18214
|
+
coinDenom: "pATOM31Dec2026",
|
|
18215
|
+
coinMinimalDenom: "p:uatom:31Dec2026",
|
|
18216
|
+
coinDecimals: 6
|
|
18217
|
+
},
|
|
18103
18218
|
{
|
|
18104
18219
|
coinDenom: "pOSMO30Sep2024",
|
|
18105
18220
|
coinMinimalDenom: "p:uosmo:30Sep2024",
|
|
@@ -18115,6 +18230,11 @@ const hD = [
|
|
|
18115
18230
|
coinMinimalDenom: "p:uosmo:31Dec2025",
|
|
18116
18231
|
coinDecimals: 6
|
|
18117
18232
|
},
|
|
18233
|
+
{
|
|
18234
|
+
coinDenom: "pOSMO31Dec2026",
|
|
18235
|
+
coinMinimalDenom: "p:uosmo:31Dec2026",
|
|
18236
|
+
coinDecimals: 6
|
|
18237
|
+
},
|
|
18118
18238
|
{
|
|
18119
18239
|
coinDenom: "pINJ30Sep2024",
|
|
18120
18240
|
coinMinimalDenom: "p:inj:30Sep2024",
|
|
@@ -18130,6 +18250,11 @@ const hD = [
|
|
|
18130
18250
|
coinMinimalDenom: "p:inj:31Dec2025",
|
|
18131
18251
|
coinDecimals: 18
|
|
18132
18252
|
},
|
|
18253
|
+
{
|
|
18254
|
+
coinDenom: "pINJ31Dec2026",
|
|
18255
|
+
coinMinimalDenom: "p:inj:31Dec2026",
|
|
18256
|
+
coinDecimals: 18
|
|
18257
|
+
},
|
|
18133
18258
|
{
|
|
18134
18259
|
coinDenom: "pLUNA30Sep2024",
|
|
18135
18260
|
coinMinimalDenom: "p:uluna:30Sep2024",
|
|
@@ -18140,6 +18265,11 @@ const hD = [
|
|
|
18140
18265
|
coinMinimalDenom: "p:uluna:31Dec2024",
|
|
18141
18266
|
coinDecimals: 6
|
|
18142
18267
|
},
|
|
18268
|
+
{
|
|
18269
|
+
coinDenom: "pLUNA31Dec2026",
|
|
18270
|
+
coinMinimalDenom: "p:uluna:31Dec2026",
|
|
18271
|
+
coinDecimals: 6
|
|
18272
|
+
},
|
|
18143
18273
|
{
|
|
18144
18274
|
coinDenom: "pLUNA31Dec2025",
|
|
18145
18275
|
coinMinimalDenom: "p:uluna:31Dec2025",
|
|
@@ -18160,6 +18290,11 @@ const hD = [
|
|
|
18160
18290
|
coinMinimalDenom: "p:uauuu:31Dec2025",
|
|
18161
18291
|
coinDecimals: 6
|
|
18162
18292
|
},
|
|
18293
|
+
{
|
|
18294
|
+
coinDenom: "pAUUU31Dec2026",
|
|
18295
|
+
coinMinimalDenom: "p:uauuu:31Dec2026",
|
|
18296
|
+
coinDecimals: 6
|
|
18297
|
+
},
|
|
18163
18298
|
{
|
|
18164
18299
|
coinDenom: "pstTIA30Sep2024",
|
|
18165
18300
|
coinMinimalDenom: "p:stutia:30Sep2024",
|
|
@@ -18175,6 +18310,11 @@ const hD = [
|
|
|
18175
18310
|
coinMinimalDenom: "p:stutia:31Dec2025",
|
|
18176
18311
|
coinDecimals: 6
|
|
18177
18312
|
},
|
|
18313
|
+
{
|
|
18314
|
+
coinDenom: "pstTIA31Dec2026",
|
|
18315
|
+
coinMinimalDenom: "p:stutia:31Dec2026",
|
|
18316
|
+
coinDecimals: 6
|
|
18317
|
+
},
|
|
18178
18318
|
{
|
|
18179
18319
|
coinDenom: "pstDYDX30Sep2024",
|
|
18180
18320
|
coinMinimalDenom: "p:stadydx:30Sep2024",
|
|
@@ -18190,6 +18330,11 @@ const hD = [
|
|
|
18190
18330
|
coinMinimalDenom: "p:stadydx:31Dec2025",
|
|
18191
18331
|
coinDecimals: 18
|
|
18192
18332
|
},
|
|
18333
|
+
{
|
|
18334
|
+
coinDenom: "pstDYDX31Dec2026",
|
|
18335
|
+
coinMinimalDenom: "p:stadydx:31Dec2026",
|
|
18336
|
+
coinDecimals: 18
|
|
18337
|
+
},
|
|
18193
18338
|
{
|
|
18194
18339
|
coinDenom: "pdATOM31Dec2024",
|
|
18195
18340
|
coinMinimalDenom: "p:udatom:31Dec2024",
|
|
@@ -18205,6 +18350,11 @@ const hD = [
|
|
|
18205
18350
|
coinMinimalDenom: "p:udatom:31Dec2025",
|
|
18206
18351
|
coinDecimals: 6
|
|
18207
18352
|
},
|
|
18353
|
+
{
|
|
18354
|
+
coinDenom: "pdATOM31Dec2026",
|
|
18355
|
+
coinMinimalDenom: "p:udatom:31Dec2026",
|
|
18356
|
+
coinDecimals: 6
|
|
18357
|
+
},
|
|
18208
18358
|
{
|
|
18209
18359
|
coinDenom: "pTIA31Dec2024",
|
|
18210
18360
|
coinMinimalDenom: "p:utia:31Dec2024",
|
|
@@ -18215,6 +18365,11 @@ const hD = [
|
|
|
18215
18365
|
coinMinimalDenom: "p:utia:31Dec2025",
|
|
18216
18366
|
coinDecimals: 6
|
|
18217
18367
|
},
|
|
18368
|
+
{
|
|
18369
|
+
coinDenom: "pTIA31Dec2026",
|
|
18370
|
+
coinMinimalDenom: "p:utia:31Dec2026",
|
|
18371
|
+
coinDecimals: 6
|
|
18372
|
+
},
|
|
18218
18373
|
{
|
|
18219
18374
|
coinDenom: "yATOM30Sep2024",
|
|
18220
18375
|
coinMinimalDenom: "y:uatom:30Sep2024",
|
|
@@ -18230,6 +18385,11 @@ const hD = [
|
|
|
18230
18385
|
coinMinimalDenom: "y:uatom:31Dec2025",
|
|
18231
18386
|
coinDecimals: 6
|
|
18232
18387
|
},
|
|
18388
|
+
{
|
|
18389
|
+
coinDenom: "yATOM31Dec2026",
|
|
18390
|
+
coinMinimalDenom: "y:uatom:31Dec2026",
|
|
18391
|
+
coinDecimals: 6
|
|
18392
|
+
},
|
|
18233
18393
|
{
|
|
18234
18394
|
coinDenom: "yOSMO30Sep2024",
|
|
18235
18395
|
coinMinimalDenom: "y:uosmo:30Sep2024",
|
|
@@ -18245,6 +18405,11 @@ const hD = [
|
|
|
18245
18405
|
coinMinimalDenom: "y:uosmo:31Dec2025",
|
|
18246
18406
|
coinDecimals: 6
|
|
18247
18407
|
},
|
|
18408
|
+
{
|
|
18409
|
+
coinDenom: "yOSMO31Dec2026",
|
|
18410
|
+
coinMinimalDenom: "y:uosmo:31Dec2026",
|
|
18411
|
+
coinDecimals: 6
|
|
18412
|
+
},
|
|
18248
18413
|
{
|
|
18249
18414
|
coinDenom: "yINJ30Sep2024",
|
|
18250
18415
|
coinMinimalDenom: "y:inj:30Sep2024",
|
|
@@ -18260,6 +18425,11 @@ const hD = [
|
|
|
18260
18425
|
coinMinimalDenom: "y:inj:31Dec2025",
|
|
18261
18426
|
coinDecimals: 18
|
|
18262
18427
|
},
|
|
18428
|
+
{
|
|
18429
|
+
coinDenom: "yINJ31Dec2026",
|
|
18430
|
+
coinMinimalDenom: "y:inj:31Dec2026",
|
|
18431
|
+
coinDecimals: 18
|
|
18432
|
+
},
|
|
18263
18433
|
{
|
|
18264
18434
|
coinDenom: "yLUNA30Sep2024",
|
|
18265
18435
|
coinMinimalDenom: "y:uluna:30Sep2024",
|
|
@@ -18275,6 +18445,11 @@ const hD = [
|
|
|
18275
18445
|
coinMinimalDenom: "y:uluna:31Dec2025",
|
|
18276
18446
|
coinDecimals: 6
|
|
18277
18447
|
},
|
|
18448
|
+
{
|
|
18449
|
+
coinDenom: "yLUNA31Dec2026",
|
|
18450
|
+
coinMinimalDenom: "y:uluna:31Dec2026",
|
|
18451
|
+
coinDecimals: 6
|
|
18452
|
+
},
|
|
18278
18453
|
{
|
|
18279
18454
|
coinDenom: "yAUUU30Sep2024",
|
|
18280
18455
|
coinMinimalDenom: "y:uauuu:30Sep2024",
|
|
@@ -18290,6 +18465,11 @@ const hD = [
|
|
|
18290
18465
|
coinMinimalDenom: "y:uauuu:31Dec2025",
|
|
18291
18466
|
coinDecimals: 6
|
|
18292
18467
|
},
|
|
18468
|
+
{
|
|
18469
|
+
coinDenom: "yAUUU31Dec2026",
|
|
18470
|
+
coinMinimalDenom: "y:uauuu:31Dec2026",
|
|
18471
|
+
coinDecimals: 6
|
|
18472
|
+
},
|
|
18293
18473
|
{
|
|
18294
18474
|
coinDenom: "ystTIA30Sep2024",
|
|
18295
18475
|
coinMinimalDenom: "y:stutia:30Sep2024",
|
|
@@ -18305,20 +18485,30 @@ const hD = [
|
|
|
18305
18485
|
coinMinimalDenom: "y:stutia:31Dec2025",
|
|
18306
18486
|
coinDecimals: 6
|
|
18307
18487
|
},
|
|
18488
|
+
{
|
|
18489
|
+
coinDenom: "ystTIA31Dec2026",
|
|
18490
|
+
coinMinimalDenom: "y:stutia:31Dec2026",
|
|
18491
|
+
coinDecimals: 6
|
|
18492
|
+
},
|
|
18308
18493
|
{
|
|
18309
18494
|
coinDenom: "ystDYDX30Sep2024",
|
|
18310
18495
|
coinMinimalDenom: "y:stadydx:30Sep2024",
|
|
18311
|
-
coinDecimals:
|
|
18496
|
+
coinDecimals: 18
|
|
18312
18497
|
},
|
|
18313
18498
|
{
|
|
18314
18499
|
coinDenom: "ystDYDX31Dec2024",
|
|
18315
18500
|
coinMinimalDenom: "y:stadydx:31Dec2024",
|
|
18316
|
-
coinDecimals:
|
|
18501
|
+
coinDecimals: 18
|
|
18317
18502
|
},
|
|
18318
18503
|
{
|
|
18319
18504
|
coinDenom: "ystDYDX31Dec2025",
|
|
18320
18505
|
coinMinimalDenom: "y:stadydx:31Dec2025",
|
|
18321
|
-
coinDecimals:
|
|
18506
|
+
coinDecimals: 18
|
|
18507
|
+
},
|
|
18508
|
+
{
|
|
18509
|
+
coinDenom: "ystDYDX31Dec2026",
|
|
18510
|
+
coinMinimalDenom: "y:stadydx:31Dec2026",
|
|
18511
|
+
coinDecimals: 18
|
|
18322
18512
|
},
|
|
18323
18513
|
{
|
|
18324
18514
|
coinDenom: "ydATOM31Dec2024",
|
|
@@ -18335,6 +18525,11 @@ const hD = [
|
|
|
18335
18525
|
coinMinimalDenom: "y:udatom:31Dec2025",
|
|
18336
18526
|
coinDecimals: 6
|
|
18337
18527
|
},
|
|
18528
|
+
{
|
|
18529
|
+
coinDenom: "ydATOM31Dec2026",
|
|
18530
|
+
coinMinimalDenom: "y:udatom:31Dec2026",
|
|
18531
|
+
coinDecimals: 6
|
|
18532
|
+
},
|
|
18338
18533
|
{
|
|
18339
18534
|
coinDenom: "yTIA31Dec2024",
|
|
18340
18535
|
coinMinimalDenom: "y:utia:31Dec2024",
|
|
@@ -18345,6 +18540,11 @@ const hD = [
|
|
|
18345
18540
|
coinMinimalDenom: "y:utia:31Dec2025",
|
|
18346
18541
|
coinDecimals: 6
|
|
18347
18542
|
},
|
|
18543
|
+
{
|
|
18544
|
+
coinDenom: "yTIA31Dec2026",
|
|
18545
|
+
coinMinimalDenom: "y:utia:31Dec2026",
|
|
18546
|
+
coinDecimals: 6
|
|
18547
|
+
},
|
|
18348
18548
|
{
|
|
18349
18549
|
coinDenom: "lp:6:usdc.axl-usdc",
|
|
18350
18550
|
coinMinimalDenom: "lp:6:uusdc.axl-uusdc",
|
|
@@ -22217,6 +22417,11 @@ const hD = [
|
|
|
22217
22417
|
coinDenom: "COSMO",
|
|
22218
22418
|
coinMinimalDenom: "ibc/4925733868E7999F5822C961ADE9470A7FC5FA4A560BAE1DE102783C3F64C201",
|
|
22219
22419
|
coinDecimals: 6
|
|
22420
|
+
},
|
|
22421
|
+
{
|
|
22422
|
+
coinDenom: "DGN",
|
|
22423
|
+
coinMinimalDenom: "ibc/B2AA4C3CD19954859C3B537EC0705640AFC01075F52993D9AC5E73F07F0386CC",
|
|
22424
|
+
coinDecimals: 6
|
|
22220
22425
|
}
|
|
22221
22426
|
],
|
|
22222
22427
|
rest: "https://lcd-terra.wildsage.io",
|
|
@@ -22502,6 +22707,47 @@ const hD = [
|
|
|
22502
22707
|
coinType: 60
|
|
22503
22708
|
}
|
|
22504
22709
|
},
|
|
22710
|
+
{
|
|
22711
|
+
chainId: "xion-mainnet-1",
|
|
22712
|
+
currencies: [
|
|
22713
|
+
{
|
|
22714
|
+
coinDenom: "XION",
|
|
22715
|
+
coinMinimalDenom: "uxion",
|
|
22716
|
+
coinDecimals: 6
|
|
22717
|
+
}
|
|
22718
|
+
],
|
|
22719
|
+
rest: "https://api.xion-mainnet-1.burnt.com",
|
|
22720
|
+
rpc: "https://rpc.xion-mainnet-1.burnt.com",
|
|
22721
|
+
bech32Config: {
|
|
22722
|
+
bech32PrefixAccAddr: "xion",
|
|
22723
|
+
bech32PrefixAccPub: "xionpub",
|
|
22724
|
+
bech32PrefixValAddr: "xionvaloper",
|
|
22725
|
+
bech32PrefixValPub: "xionvaloperpub",
|
|
22726
|
+
bech32PrefixConsAddr: "xionvalcons",
|
|
22727
|
+
bech32PrefixConsPub: "xionvalconspub"
|
|
22728
|
+
},
|
|
22729
|
+
chainName: "xion",
|
|
22730
|
+
feeCurrencies: [
|
|
22731
|
+
{
|
|
22732
|
+
coinDenom: "XION",
|
|
22733
|
+
coinMinimalDenom: "uxion",
|
|
22734
|
+
coinDecimals: 6,
|
|
22735
|
+
gasPriceStep: {
|
|
22736
|
+
low: 1e-3,
|
|
22737
|
+
average: 1e-3,
|
|
22738
|
+
high: 0.01
|
|
22739
|
+
}
|
|
22740
|
+
}
|
|
22741
|
+
],
|
|
22742
|
+
stakeCurrency: {
|
|
22743
|
+
coinDenom: "XION",
|
|
22744
|
+
coinMinimalDenom: "uxion",
|
|
22745
|
+
coinDecimals: 6
|
|
22746
|
+
},
|
|
22747
|
+
bip44: {
|
|
22748
|
+
coinType: 118
|
|
22749
|
+
}
|
|
22750
|
+
},
|
|
22505
22751
|
{
|
|
22506
22752
|
chainId: "dimension_37-1",
|
|
22507
22753
|
currencies: [
|
|
@@ -23357,8 +23603,8 @@ const hD = [
|
|
|
23357
23603
|
coinDecimals: 6
|
|
23358
23604
|
}
|
|
23359
23605
|
],
|
|
23360
|
-
rest: "https://rest.provider-sentry-01.
|
|
23361
|
-
rpc: "https://rpc.provider-sentry-01.
|
|
23606
|
+
rest: "https://rest.provider-sentry-01.ics-testnet.polypore.xyz",
|
|
23607
|
+
rpc: "https://rpc.provider-sentry-01.ics-testnet.polypore.xyz",
|
|
23362
23608
|
bech32Config: {
|
|
23363
23609
|
bech32PrefixAccAddr: "cosmos",
|
|
23364
23610
|
bech32PrefixAccPub: "cosmospub",
|
|
@@ -24577,8 +24823,8 @@ const hD = [
|
|
|
24577
24823
|
coinDecimals: 6
|
|
24578
24824
|
}
|
|
24579
24825
|
],
|
|
24580
|
-
rest: "https://api
|
|
24581
|
-
rpc: "https://rpc
|
|
24826
|
+
rest: "https://api.kaon.kyve.network",
|
|
24827
|
+
rpc: "https://rpc.kaon.kyve.network",
|
|
24582
24828
|
bech32Config: {
|
|
24583
24829
|
bech32PrefixAccAddr: "kyve",
|
|
24584
24830
|
bech32PrefixAccPub: "kyvepub",
|
|
@@ -25748,6 +25994,47 @@ const hD = [
|
|
|
25748
25994
|
coinType: 60
|
|
25749
25995
|
}
|
|
25750
25996
|
},
|
|
25997
|
+
{
|
|
25998
|
+
chainId: "pocket-beta",
|
|
25999
|
+
currencies: [
|
|
26000
|
+
{
|
|
26001
|
+
coinDenom: "pokt",
|
|
26002
|
+
coinMinimalDenom: "upokt",
|
|
26003
|
+
coinDecimals: 6
|
|
26004
|
+
}
|
|
26005
|
+
],
|
|
26006
|
+
rest: "https://shannon-testnet-grove-api.beta.poktroll.com",
|
|
26007
|
+
rpc: "https://shannon-testnet-grove-rpc.beta.poktroll.com",
|
|
26008
|
+
bech32Config: {
|
|
26009
|
+
bech32PrefixAccAddr: "pokt@",
|
|
26010
|
+
bech32PrefixAccPub: "pokt@pub",
|
|
26011
|
+
bech32PrefixValAddr: "pokt@valoper",
|
|
26012
|
+
bech32PrefixValPub: "pokt@valoperpub",
|
|
26013
|
+
bech32PrefixConsAddr: "pokt@valcons",
|
|
26014
|
+
bech32PrefixConsPub: "pokt@valconspub"
|
|
26015
|
+
},
|
|
26016
|
+
chainName: "pockettestnet",
|
|
26017
|
+
feeCurrencies: [
|
|
26018
|
+
{
|
|
26019
|
+
coinDenom: "pokt",
|
|
26020
|
+
coinMinimalDenom: "upokt",
|
|
26021
|
+
coinDecimals: 6,
|
|
26022
|
+
gasPriceStep: {
|
|
26023
|
+
low: 1e-3,
|
|
26024
|
+
average: 2e-3,
|
|
26025
|
+
high: 25e-4
|
|
26026
|
+
}
|
|
26027
|
+
}
|
|
26028
|
+
],
|
|
26029
|
+
stakeCurrency: {
|
|
26030
|
+
coinDenom: "pokt",
|
|
26031
|
+
coinMinimalDenom: "upokt",
|
|
26032
|
+
coinDecimals: 6
|
|
26033
|
+
},
|
|
26034
|
+
bip44: {
|
|
26035
|
+
coinType: 118
|
|
26036
|
+
}
|
|
26037
|
+
},
|
|
25751
26038
|
{
|
|
25752
26039
|
chainId: "indigo-1",
|
|
25753
26040
|
currencies: [
|
|
@@ -27099,8 +27386,8 @@ const hD = [
|
|
|
27099
27386
|
coinDecimals: 18
|
|
27100
27387
|
}
|
|
27101
27388
|
],
|
|
27102
|
-
rest: "https://testnet-burnt
|
|
27103
|
-
rpc: "https://testnet-burnt
|
|
27389
|
+
rest: "https://api.xion-testnet-1.burnt.com",
|
|
27390
|
+
rpc: "https://rpc.xion-testnet-1.burnt.com",
|
|
27104
27391
|
bech32Config: {
|
|
27105
27392
|
bech32PrefixAccAddr: "xion",
|
|
27106
27393
|
bech32PrefixAccPub: "xionpub",
|
|
@@ -27114,7 +27401,12 @@ const hD = [
|
|
|
27114
27401
|
{
|
|
27115
27402
|
coinDenom: "XION",
|
|
27116
27403
|
coinMinimalDenom: "uxion",
|
|
27117
|
-
coinDecimals: 6
|
|
27404
|
+
coinDecimals: 6,
|
|
27405
|
+
gasPriceStep: {
|
|
27406
|
+
low: 1e-3,
|
|
27407
|
+
average: 1e-3,
|
|
27408
|
+
high: 0.01
|
|
27409
|
+
}
|
|
27118
27410
|
}
|
|
27119
27411
|
],
|
|
27120
27412
|
stakeCurrency: {
|
|
@@ -27692,6 +27984,12 @@ const hD = [
|
|
|
27692
27984
|
url: "https://mainnet.whispernode.com/archway",
|
|
27693
27985
|
tx_page: "https://mainnet.whispernode.com/archway/tx/${txHash}",
|
|
27694
27986
|
account_page: "https://mainnet.whispernode.com/archway/account/${accountAddress}"
|
|
27987
|
+
},
|
|
27988
|
+
{
|
|
27989
|
+
kind: "Chainroot",
|
|
27990
|
+
url: "https://explorer.chainroot.io/archway",
|
|
27991
|
+
tx_page: "https://explorer.chainroot.io/archway/transactions/${txHash}",
|
|
27992
|
+
account_page: "https://explorer.chainroot.io/archway/accounts/${accountAddress}"
|
|
27695
27993
|
}
|
|
27696
27994
|
]
|
|
27697
27995
|
},
|
|
@@ -28697,6 +28995,12 @@ const hD = [
|
|
|
28697
28995
|
url: "https://mainnet.whispernode.com/comdex",
|
|
28698
28996
|
tx_page: "https://mainnet.whispernode.com/comdex/tx/${txHash}",
|
|
28699
28997
|
account_page: "https://mainnet.whispernode.com/comdex/account/${accountAddress}"
|
|
28998
|
+
},
|
|
28999
|
+
{
|
|
29000
|
+
kind: "Chainroot",
|
|
29001
|
+
url: "https://explorer.chainroot.io/comdex",
|
|
29002
|
+
tx_page: "https://explorer.chainroot.io/comdex/transactions/${txHash}",
|
|
29003
|
+
account_page: "https://explorer.chainroot.io/comdex/accounts/${accountAddress}"
|
|
28700
29004
|
}
|
|
28701
29005
|
]
|
|
28702
29006
|
},
|
|
@@ -28820,6 +29124,12 @@ const hD = [
|
|
|
28820
29124
|
url: "https://ezstaking.app/coreum",
|
|
28821
29125
|
tx_page: "https://ezstaking.app/coreum/txs/${txHash}",
|
|
28822
29126
|
account_page: "https://ezstaking.app/coreum/account/${accountAddress}"
|
|
29127
|
+
},
|
|
29128
|
+
{
|
|
29129
|
+
kind: "Chainroot",
|
|
29130
|
+
url: "https://explorer.chainroot.io/coreum",
|
|
29131
|
+
tx_page: "https://explorer.chainroot.io/coreum/transactions/${txHash}",
|
|
29132
|
+
account_page: "https://explorer.chainroot.io/coreum/accounts/${accountAddress}"
|
|
28823
29133
|
}
|
|
28824
29134
|
]
|
|
28825
29135
|
},
|
|
@@ -30384,6 +30694,12 @@ const hD = [
|
|
|
30384
30694
|
url: "https://mainnet.whispernode.com/juno",
|
|
30385
30695
|
tx_page: "https://mainnet.whispernode.com/juno/tx/${txHash}",
|
|
30386
30696
|
account_page: "https://mainnet.whispernode.com/juno/account/${accountAddress}"
|
|
30697
|
+
},
|
|
30698
|
+
{
|
|
30699
|
+
kind: "Chainroot",
|
|
30700
|
+
url: "https://explorer.chainroot.io/juno",
|
|
30701
|
+
tx_page: "https://explorer.chainroot.io/juno/transactions/${txHash}",
|
|
30702
|
+
account_page: "https://explorer.chainroot.io/juno/accounts/${accountAddress}"
|
|
30387
30703
|
}
|
|
30388
30704
|
]
|
|
30389
30705
|
},
|
|
@@ -30591,6 +30907,18 @@ const hD = [
|
|
|
30591
30907
|
url: "https://explorer.whenmoonwhenlambo.money/kyve",
|
|
30592
30908
|
tx_page: "https://explorer.whenmoonwhenlambo.money/kyve/txs/${txHash}",
|
|
30593
30909
|
account_page: "https://explorer.whenmoonwhenlambo.money/kyve/account/${accountAddress}"
|
|
30910
|
+
},
|
|
30911
|
+
{
|
|
30912
|
+
kind: "KYVE Explorer",
|
|
30913
|
+
url: "https://explorer.kyve.network/kyve",
|
|
30914
|
+
tx_page: "https://explorer.kyve.network/kyve/tx/${txHash}",
|
|
30915
|
+
account_page: "https://explorer.kyve.network/kyve/account/${accountAddress}"
|
|
30916
|
+
},
|
|
30917
|
+
{
|
|
30918
|
+
kind: "Viewblock",
|
|
30919
|
+
url: "https://viewblock.io/kyve",
|
|
30920
|
+
tx_page: "https://viewblock.io/kyve/tx/${txHash}",
|
|
30921
|
+
account_page: "https://viewblock.io/kyve/address/${accountAddress}"
|
|
30594
30922
|
}
|
|
30595
30923
|
]
|
|
30596
30924
|
},
|
|
@@ -30984,6 +31312,10 @@ const hD = [
|
|
|
30984
31312
|
}
|
|
30985
31313
|
]
|
|
30986
31314
|
},
|
|
31315
|
+
{
|
|
31316
|
+
chainId: "milkyway",
|
|
31317
|
+
explorers: []
|
|
31318
|
+
},
|
|
30987
31319
|
{
|
|
30988
31320
|
chainId: "mainnet",
|
|
30989
31321
|
explorers: [
|
|
@@ -31537,6 +31869,12 @@ const hD = [
|
|
|
31537
31869
|
url: "https://mainnet.whispernode.com/osmosis",
|
|
31538
31870
|
tx_page: "https://mainnet.whispernode.com/osmosis/tx/${txHash}",
|
|
31539
31871
|
account_page: "https://mainnet.whispernode.com/osmosis/account/${accountAddress}"
|
|
31872
|
+
},
|
|
31873
|
+
{
|
|
31874
|
+
kind: "Chainroot",
|
|
31875
|
+
url: "https://explorer.chainroot.io/osmosis",
|
|
31876
|
+
tx_page: "https://explorer.chainroot.io/osmosis/transactions/${txHash}",
|
|
31877
|
+
account_page: "https://explorer.chainroot.io/osmosis/accounts/${accountAddress}"
|
|
31540
31878
|
}
|
|
31541
31879
|
]
|
|
31542
31880
|
},
|
|
@@ -31569,6 +31907,12 @@ const hD = [
|
|
|
31569
31907
|
kind: "bigdipper",
|
|
31570
31908
|
url: "https://explorer.gopanacea.org",
|
|
31571
31909
|
tx_page: "https://explorer.gopanacea.org/transactions/${txHash}"
|
|
31910
|
+
},
|
|
31911
|
+
{
|
|
31912
|
+
kind: "🚀 WHEN MOON 🌕 WHEN LAMBO 🔥",
|
|
31913
|
+
url: "https://explorer.whenmoonwhenlambo.money/panacea",
|
|
31914
|
+
tx_page: "https://explorer.whenmoonwhenlambo.money/panacea/tx/${txHash}",
|
|
31915
|
+
account_page: "https://explorer.whenmoonwhenlambo.money/panacea/account/${accountAddress}"
|
|
31572
31916
|
}
|
|
31573
31917
|
]
|
|
31574
31918
|
},
|
|
@@ -31864,6 +32208,12 @@ const hD = [
|
|
|
31864
32208
|
url: "https://staking-explorer.com/explorer/pryzm",
|
|
31865
32209
|
tx_page: "https://staking-explorer.com/transaction.php?chain=pryzm&tx=${txHash}",
|
|
31866
32210
|
account_page: "https://staking-explorer.com/account.php?chain=pryzm&addr=${accountAddress}"
|
|
32211
|
+
},
|
|
32212
|
+
{
|
|
32213
|
+
kind: "Chainroot",
|
|
32214
|
+
url: "https://explorer.chainroot.io/pryzm",
|
|
32215
|
+
tx_page: "https://explorer.chainroot.io/pryzm/transactions/${txHash}",
|
|
32216
|
+
account_page: "https://explorer.chainroot.io/pryzm/accounts/${accountAddress}"
|
|
31867
32217
|
}
|
|
31868
32218
|
]
|
|
31869
32219
|
},
|
|
@@ -31931,6 +32281,12 @@ const hD = [
|
|
|
31931
32281
|
url: "https://mainnet.whispernode.com/quasar",
|
|
31932
32282
|
tx_page: "https://mainnet.whispernode.com/quasar/tx/${txHash}",
|
|
31933
32283
|
account_page: "https://mainnet.whispernode.com/quasar/account/${accountAddress}"
|
|
32284
|
+
},
|
|
32285
|
+
{
|
|
32286
|
+
kind: "Chainroot",
|
|
32287
|
+
url: "https://explorer.chainroot.io/quasar",
|
|
32288
|
+
tx_page: "https://explorer.chainroot.io/quasar/transactions/${txHash}",
|
|
32289
|
+
account_page: "https://explorer.chainroot.io/quasar/accounts/${accountAddress}"
|
|
31934
32290
|
}
|
|
31935
32291
|
]
|
|
31936
32292
|
},
|
|
@@ -32223,6 +32579,12 @@ const hD = [
|
|
|
32223
32579
|
url: "https://explorer.nodeshub.online/router/",
|
|
32224
32580
|
tx_page: "https://explorer.nodeshub.online/router/tx/${txHash}",
|
|
32225
32581
|
account_page: "https://explorer.nodeshub.online/router/accounts/${accountAddress}"
|
|
32582
|
+
},
|
|
32583
|
+
{
|
|
32584
|
+
kind: "🚀 WHEN MOON 🌕 WHEN LAMBO 🔥",
|
|
32585
|
+
url: "https://explorer.whenmoonwhenlambo.money/routerchain",
|
|
32586
|
+
tx_page: "https://explorer.whenmoonwhenlambo.money/routerchain/tx/${txHash}",
|
|
32587
|
+
account_page: "https://explorer.whenmoonwhenlambo.money/routerchain/account/${accountAddress}"
|
|
32226
32588
|
}
|
|
32227
32589
|
]
|
|
32228
32590
|
},
|
|
@@ -32252,6 +32614,12 @@ const hD = [
|
|
|
32252
32614
|
url: "https://explorer.nodestake.org/saga",
|
|
32253
32615
|
tx_page: "https://explorer.nodestake.org/saga/tx/${txHash}",
|
|
32254
32616
|
account_page: "https://explorer.nodestake.org/saga/account/${accountAddress}"
|
|
32617
|
+
},
|
|
32618
|
+
{
|
|
32619
|
+
kind: "Chainroot",
|
|
32620
|
+
url: "https://explorer.chainroot.io/saga",
|
|
32621
|
+
tx_page: "https://explorer.chainroot.io/saga/transactions/${txHash}",
|
|
32622
|
+
account_page: "https://explorer.chainroot.io/saga/accounts/${accountAddress}"
|
|
32255
32623
|
}
|
|
32256
32624
|
]
|
|
32257
32625
|
},
|
|
@@ -32630,6 +32998,12 @@ const hD = [
|
|
|
32630
32998
|
kind: "Stakeflow",
|
|
32631
32999
|
url: "https://stakeflow.io/shentu",
|
|
32632
33000
|
account_page: "https://stakeflow.io/shentu/accounts/${accountAddress}"
|
|
33001
|
+
},
|
|
33002
|
+
{
|
|
33003
|
+
kind: "Chainroot",
|
|
33004
|
+
url: "https://explorer.chainroot.io/shentu",
|
|
33005
|
+
tx_page: "https://explorer.chainroot.io/shentu/transactions/${txHash}",
|
|
33006
|
+
account_page: "https://explorer.chainroot.io/shentu/accounts/${accountAddress}"
|
|
32633
33007
|
}
|
|
32634
33008
|
]
|
|
32635
33009
|
},
|
|
@@ -32924,6 +33298,12 @@ const hD = [
|
|
|
32924
33298
|
url: "https://mainnet.whispernode.com/stargaze",
|
|
32925
33299
|
tx_page: "https://mainnet.whispernode.com/stargaze/tx/${txHash}",
|
|
32926
33300
|
account_page: "https://mainnet.whispernode.com/stargaze/account/${accountAddress}"
|
|
33301
|
+
},
|
|
33302
|
+
{
|
|
33303
|
+
kind: "Chainroot",
|
|
33304
|
+
url: "https://explorer.chainroot.io/stargaze",
|
|
33305
|
+
tx_page: "https://explorer.chainroot.io/stargaze/transactions/${txHash}",
|
|
33306
|
+
account_page: "https://explorer.chainroot.io/stargaze/accounts/${accountAddress}"
|
|
32927
33307
|
}
|
|
32928
33308
|
]
|
|
32929
33309
|
},
|
|
@@ -33065,6 +33445,12 @@ const hD = [
|
|
|
33065
33445
|
url: "https://staking-explorer.com/explorer/synternet",
|
|
33066
33446
|
tx_page: "https://staking-explorer.com/transaction.php?chain=synternet&tx=${txHash}",
|
|
33067
33447
|
account_page: "https://staking-explorer.com/account.php?chain=synternet&addr=${accountAddress}"
|
|
33448
|
+
},
|
|
33449
|
+
{
|
|
33450
|
+
kind: "🚀 WHEN MOON 🌕 WHEN LAMBO 🔥",
|
|
33451
|
+
url: "https://explorer.whenmoonwhenlambo.money/synternet",
|
|
33452
|
+
tx_page: "https://explorer.whenmoonwhenlambo.money/synternet/tx/${txHash}",
|
|
33453
|
+
account_page: "https://explorer.whenmoonwhenlambo.money/synternet/account/${accountAddress}"
|
|
33068
33454
|
}
|
|
33069
33455
|
]
|
|
33070
33456
|
},
|
|
@@ -33174,6 +33560,12 @@ const hD = [
|
|
|
33174
33560
|
url: "https://explorer.whenmoonwhenlambo.money/teritori",
|
|
33175
33561
|
tx_page: "https://explorer.whenmoonwhenlambo.money/teritori/tx/${txHash}",
|
|
33176
33562
|
account_page: "https://explorer.whenmoonwhenlambo.money/teritori/account/${accountAddress}"
|
|
33563
|
+
},
|
|
33564
|
+
{
|
|
33565
|
+
kind: "Chainroot",
|
|
33566
|
+
url: "https://explorer.chainroot.io/teritori",
|
|
33567
|
+
tx_page: "https://explorer.chainroot.io/teritori/transactions/${txHash}",
|
|
33568
|
+
account_page: "https://explorer.chainroot.io/teritori/accounts/${accountAddress}"
|
|
33177
33569
|
}
|
|
33178
33570
|
]
|
|
33179
33571
|
},
|
|
@@ -33393,6 +33785,12 @@ const hD = [
|
|
|
33393
33785
|
url: "https://ezstaking.app/umee",
|
|
33394
33786
|
tx_page: "https://ezstaking.app/umee/txs/${txHash}",
|
|
33395
33787
|
account_page: "https://ezstaking.app/umee/account/${accountAddress}"
|
|
33788
|
+
},
|
|
33789
|
+
{
|
|
33790
|
+
kind: "🚀 WHEN MOON 🌕 WHEN LAMBO 🔥",
|
|
33791
|
+
url: "https://explorer.whenmoonwhenlambo.money/umee",
|
|
33792
|
+
tx_page: "https://explorer.whenmoonwhenlambo.money/umee/tx/${txHash}",
|
|
33793
|
+
account_page: "https://explorer.whenmoonwhenlambo.money/umee/account/${accountAddress}"
|
|
33396
33794
|
}
|
|
33397
33795
|
]
|
|
33398
33796
|
},
|
|
@@ -33505,6 +33903,16 @@ const hD = [
|
|
|
33505
33903
|
}
|
|
33506
33904
|
]
|
|
33507
33905
|
},
|
|
33906
|
+
{
|
|
33907
|
+
chainId: "xion-mainnet-1",
|
|
33908
|
+
explorers: [
|
|
33909
|
+
{
|
|
33910
|
+
url: "https://explorer.burnt.com/xion-mainnet-1",
|
|
33911
|
+
tx_page: "https://explorer.burnt.com/xion-mainnet-1/tx/${txHash}",
|
|
33912
|
+
account_page: "https://explorer.burnt.com/xion-mainnet-1/account/${accountAddress}"
|
|
33913
|
+
}
|
|
33914
|
+
]
|
|
33915
|
+
},
|
|
33508
33916
|
{
|
|
33509
33917
|
chainId: "dimension_37-1",
|
|
33510
33918
|
explorers: [
|
|
@@ -33919,8 +34327,8 @@ const hD = [
|
|
|
33919
34327
|
},
|
|
33920
34328
|
{
|
|
33921
34329
|
kind: "Ping.pub",
|
|
33922
|
-
url: "https://explorer.
|
|
33923
|
-
tx_page: "https://explorer.
|
|
34330
|
+
url: "https://explorer.polypore.xyz/provider",
|
|
34331
|
+
tx_page: "https://explorer.polypore.xyz/provider/tx/${txHash}"
|
|
33924
34332
|
}
|
|
33925
34333
|
]
|
|
33926
34334
|
},
|
|
@@ -34280,6 +34688,12 @@ const hD = [
|
|
|
34280
34688
|
url: "https://mintscan.io/kyve-testnet",
|
|
34281
34689
|
tx_page: "https://mintscan.io/kyve-testnet/txs/${txHash}",
|
|
34282
34690
|
account_page: "https://mintscan.io/kyve-testnet/account/${accountAddress}"
|
|
34691
|
+
},
|
|
34692
|
+
{
|
|
34693
|
+
kind: "KYVE Explorer",
|
|
34694
|
+
url: "https://explorer.kyve.network/kaon",
|
|
34695
|
+
tx_page: "https://explorer.kyve.network/kaon/tx/${txHash}",
|
|
34696
|
+
account_page: "https://explorer.kyve.network/kaon/account/${accountAddress}"
|
|
34283
34697
|
}
|
|
34284
34698
|
]
|
|
34285
34699
|
},
|
|
@@ -34638,6 +35052,23 @@ const hD = [
|
|
|
34638
35052
|
}
|
|
34639
35053
|
]
|
|
34640
35054
|
},
|
|
35055
|
+
{
|
|
35056
|
+
chainId: "pocket-beta",
|
|
35057
|
+
explorers: [
|
|
35058
|
+
{
|
|
35059
|
+
kind: "🔍 POKTScan Explorer 🔎",
|
|
35060
|
+
url: "https://shannon-beta.poktscan.com/",
|
|
35061
|
+
tx_page: "https://shannon-beta.poktscan.com/tx/${txHash}",
|
|
35062
|
+
account_page: "https://shannon-beta.poktscan.com/accounts/${accountAddress}"
|
|
35063
|
+
},
|
|
35064
|
+
{
|
|
35065
|
+
kind: "🗺 Shannon Explorer (stakenodes.org) 🗺",
|
|
35066
|
+
url: "https://shannon.beta.testnet.pokt.network/",
|
|
35067
|
+
tx_page: "https://shannon.beta.testnet.pokt.network/poktroll/tx/${txHash}",
|
|
35068
|
+
account_page: "https://shannon.beta.testnet.pokt.network/poktroll/account/${accountAddress}"
|
|
35069
|
+
}
|
|
35070
|
+
]
|
|
35071
|
+
},
|
|
34641
35072
|
{
|
|
34642
35073
|
chainId: "indigo-1",
|
|
34643
35074
|
explorers: [
|
|
@@ -35038,11 +35469,6 @@ const hD = [
|
|
|
35038
35469
|
tx_page: "https://explorer.burnt.com/xion-testnet-1/tx/${txHash}",
|
|
35039
35470
|
account_page: "https://explorer.burnt.com/xion-testnet-1/account/${accountAddress}"
|
|
35040
35471
|
},
|
|
35041
|
-
{
|
|
35042
|
-
url: "https://testnet.xion.explorers.guru",
|
|
35043
|
-
tx_page: "https://testnet.xion.explorers.guru/transaction/${txHash}",
|
|
35044
|
-
account_page: "https://testnet.xion.explorers.guru/account/${accountAddress}"
|
|
35045
|
-
},
|
|
35046
35472
|
{
|
|
35047
35473
|
kind: "ITRocket",
|
|
35048
35474
|
url: "https://testnet.itrocket.net/burnt",
|
|
@@ -35309,12 +35735,12 @@ const hD = [
|
|
|
35309
35735
|
}
|
|
35310
35736
|
};
|
|
35311
35737
|
}), Rl = (e) => W(() => {
|
|
35312
|
-
const n =
|
|
35738
|
+
const n = Zo(e == null ? void 0 : e.operations);
|
|
35313
35739
|
return (n == null ? void 0 : n.some(
|
|
35314
35740
|
(o) => o.type === we.goFastTransfer
|
|
35315
35741
|
)) ?? !1;
|
|
35316
35742
|
}, [e == null ? void 0 : e.operations]), Ol = (e) => W(() => {
|
|
35317
|
-
const n = [we.swap, we.evmSwap], o =
|
|
35743
|
+
const n = [we.swap, we.evmSwap], o = Zo(e == null ? void 0 : e.operations);
|
|
35318
35744
|
return (o == null ? void 0 : o.some(
|
|
35319
35745
|
(i) => n.includes(i.type)
|
|
35320
35746
|
)) ?? !1;
|
|
@@ -35534,8 +35960,7 @@ const hD = [
|
|
|
35534
35960
|
return;
|
|
35535
35961
|
}
|
|
35536
35962
|
}, [e]);
|
|
35537
|
-
|
|
35538
|
-
return /* @__PURE__ */ m(le, { gap: 5, children: n });
|
|
35963
|
+
return (e == null ? void 0 : e.errorType) === void 0 ? null : /* @__PURE__ */ m(le, { gap: 5, children: n });
|
|
35539
35964
|
}, dc = ({ color: e = "currentColor" }) => /* @__PURE__ */ q(
|
|
35540
35965
|
"svg",
|
|
35541
35966
|
{
|
|
@@ -36442,43 +36867,43 @@ const VD = new Intl.NumberFormat("en-US", {
|
|
|
36442
36867
|
onClickEditDestinationWallet: o,
|
|
36443
36868
|
swapExecutionState: i
|
|
36444
36869
|
}) => {
|
|
36445
|
-
var
|
|
36446
|
-
const t = he(), { route: c } = U(Ue), a = U(Cn), r = e[0], s = e[e.length - 1], l = n == null ? void 0 : n.transferEvents, p = i === te.confirmed ? "completed" : (
|
|
36447
|
-
denom:
|
|
36870
|
+
var C, A, M, E;
|
|
36871
|
+
const t = he(), { route: c } = U(Ue), a = U(Cn), r = e[0], s = e[e.length - 1], l = n == null ? void 0 : n.transferEvents, p = i === te.confirmed ? "completed" : (C = l == null ? void 0 : l[r.transferIndex]) == null ? void 0 : C.status, u = i === te.confirmed ? "completed" : (A = l == null ? void 0 : l[s.transferIndex]) == null ? void 0 : A.status, d = {
|
|
36872
|
+
denom: r.denomIn,
|
|
36448
36873
|
tokenAmount: r.amountIn,
|
|
36449
36874
|
chainId: r.fromChainID ?? r.chainID,
|
|
36450
36875
|
usdValue: c == null ? void 0 : c.usdAmountIn
|
|
36451
|
-
},
|
|
36452
|
-
denom:
|
|
36876
|
+
}, x = {
|
|
36877
|
+
denom: s.denomOut,
|
|
36453
36878
|
tokenAmount: s.amountOut,
|
|
36454
36879
|
chainId: s.toChainID ?? s.chainID,
|
|
36455
36880
|
usdValue: c == null ? void 0 : c.usdAmountOut
|
|
36456
|
-
},
|
|
36457
|
-
var
|
|
36458
|
-
if (
|
|
36459
|
-
const
|
|
36460
|
-
if (!(!((
|
|
36881
|
+
}, f = s.signRequired, w = (M = l == null ? void 0 : l[r.transferIndex]) == null ? void 0 : M.fromExplorerLink, H = (E = l == null ? void 0 : l[s.transferIndex]) == null ? void 0 : E.toExplorerLink, B = W(() => {
|
|
36882
|
+
var h;
|
|
36883
|
+
if (f) return;
|
|
36884
|
+
const j = a ? Object.keys(a).length - 1 : 0;
|
|
36885
|
+
if (!(!((h = a == null ? void 0 : a[j]) != null && h.address) || i === te.pending || i === te.waitingForSigning || i === te.validatingGasBalance || i === te.confirmed))
|
|
36461
36886
|
return o;
|
|
36462
|
-
}, [
|
|
36887
|
+
}, [f, a, i, o]);
|
|
36463
36888
|
return /* @__PURE__ */ q(GD, { justify: "space-between", children: [
|
|
36464
36889
|
/* @__PURE__ */ m(
|
|
36465
36890
|
Nr,
|
|
36466
36891
|
{
|
|
36467
|
-
...
|
|
36892
|
+
...d,
|
|
36468
36893
|
status: p,
|
|
36469
36894
|
context: "source",
|
|
36470
|
-
explorerLink:
|
|
36895
|
+
explorerLink: w
|
|
36471
36896
|
}
|
|
36472
36897
|
),
|
|
36473
36898
|
/* @__PURE__ */ m(WD, { color: t.primary.text.normal }),
|
|
36474
36899
|
/* @__PURE__ */ m(
|
|
36475
36900
|
Nr,
|
|
36476
36901
|
{
|
|
36477
|
-
...
|
|
36902
|
+
...x,
|
|
36478
36903
|
icon: X.pen,
|
|
36479
36904
|
status: u,
|
|
36480
|
-
onClickEditDestinationWallet:
|
|
36481
|
-
explorerLink:
|
|
36905
|
+
onClickEditDestinationWallet: B,
|
|
36906
|
+
explorerLink: H,
|
|
36482
36907
|
context: "destination"
|
|
36483
36908
|
}
|
|
36484
36909
|
)
|
|
@@ -36562,7 +36987,7 @@ const VD = new Intl.NumberFormat("en-US", {
|
|
|
36562
36987
|
}
|
|
36563
36988
|
)
|
|
36564
36989
|
}
|
|
36565
|
-
),
|
|
36990
|
+
), KD = {
|
|
36566
36991
|
// swap icon
|
|
36567
36992
|
[we.swap]: /* @__PURE__ */ m(Vr, { width: 34 }),
|
|
36568
36993
|
[we.evmSwap]: /* @__PURE__ */ m(Vr, { width: 34 }),
|
|
@@ -36575,7 +37000,7 @@ const VD = new Intl.NumberFormat("en-US", {
|
|
|
36575
37000
|
[we.goFastTransfer]: /* @__PURE__ */ m(po, { width: 34 }),
|
|
36576
37001
|
// send icon
|
|
36577
37002
|
[we.bankSend]: /* @__PURE__ */ m(JD, { width: 34 })
|
|
36578
|
-
},
|
|
37003
|
+
}, ZD = {
|
|
36579
37004
|
swap: "Swapped",
|
|
36580
37005
|
evmSwap: "Swapped",
|
|
36581
37006
|
transfer: "Bridged",
|
|
@@ -36624,7 +37049,7 @@ const VD = new Intl.NumberFormat("en-US", {
|
|
|
36624
37049
|
),
|
|
36625
37050
|
e.map((A, M) => {
|
|
36626
37051
|
var b, y, S;
|
|
36627
|
-
const E =
|
|
37052
|
+
const E = ZD[A.type], T = (() => {
|
|
36628
37053
|
var R, O;
|
|
36629
37054
|
const k = (O = (R = A.swapVenues) == null ? void 0 : R[0]) == null ? void 0 : O.chainID, P = A.bridgeID, z = c == null ? void 0 : c.find((V) => V.id === P), F = t == null ? void 0 : t.find((V) => V.chainID === k);
|
|
36630
37055
|
return {
|
|
@@ -36644,7 +37069,7 @@ const VD = new Intl.NumberFormat("en-US", {
|
|
|
36644
37069
|
onMouseEnter: () => l(M),
|
|
36645
37070
|
onMouseLeave: () => p(M),
|
|
36646
37071
|
justify: "center",
|
|
36647
|
-
children:
|
|
37072
|
+
children: KD[A.type]
|
|
36648
37073
|
}
|
|
36649
37074
|
),
|
|
36650
37075
|
(r == null ? void 0 : r[M]) && /* @__PURE__ */ q(YD, { children: [
|
|
@@ -36704,11 +37129,11 @@ const VD = new Intl.NumberFormat("en-US", {
|
|
|
36704
37129
|
`;
|
|
36705
37130
|
var si = {};
|
|
36706
37131
|
Object.defineProperty(si, "__esModule", { value: !0 });
|
|
36707
|
-
var
|
|
36708
|
-
const nt = "qpzry9x8gf2tvdw0s3jn54khce6mua7l",
|
|
37132
|
+
var Kl = si.bech32m = Yl = si.bech32 = void 0;
|
|
37133
|
+
const nt = "qpzry9x8gf2tvdw0s3jn54khce6mua7l", Zl = {};
|
|
36709
37134
|
for (let e = 0; e < nt.length; e++) {
|
|
36710
37135
|
const n = nt.charAt(e);
|
|
36711
|
-
|
|
37136
|
+
Zl[n] = e;
|
|
36712
37137
|
}
|
|
36713
37138
|
function Ao(e) {
|
|
36714
37139
|
const n = e >> 25;
|
|
@@ -36807,7 +37232,7 @@ function Xl(e) {
|
|
|
36807
37232
|
return x;
|
|
36808
37233
|
const f = [];
|
|
36809
37234
|
for (let w = 0; w < d.length; ++w) {
|
|
36810
|
-
const H = d.charAt(w), B =
|
|
37235
|
+
const H = d.charAt(w), B = Zl[H];
|
|
36811
37236
|
if (B === void 0)
|
|
36812
37237
|
return "Unknown character " + H;
|
|
36813
37238
|
x = Ao(x) ^ B, !(w + 6 >= d.length) && f.push(B);
|
|
@@ -36835,7 +37260,7 @@ function Xl(e) {
|
|
|
36835
37260
|
};
|
|
36836
37261
|
}
|
|
36837
37262
|
var Yl = si.bech32 = Xl("bech32");
|
|
36838
|
-
|
|
37263
|
+
Kl = si.bech32m = Xl("bech32m");
|
|
36839
37264
|
const Ql = {
|
|
36840
37265
|
passet: 65,
|
|
36841
37266
|
pauctid: 66,
|
|
@@ -36859,7 +37284,7 @@ const Ql = {
|
|
|
36859
37284
|
penumbrawalletid: 32,
|
|
36860
37285
|
plpid: 32
|
|
36861
37286
|
}, tx = (e, n) => $l({
|
|
36862
|
-
bechLib:
|
|
37287
|
+
bechLib: Kl,
|
|
36863
37288
|
bData: e,
|
|
36864
37289
|
prefix: n,
|
|
36865
37290
|
expectLength: Ql[n],
|
|
@@ -36911,7 +37336,7 @@ const om = () => {
|
|
|
36911
37336
|
(l) => {
|
|
36912
37337
|
const p = ux(), u = [xe.KEPLR, xe.LEAP, xe.COSMOSTATION, xe.XDEFI, xe.STATION, xe.VECTIS, xe.WALLETCONNECT], d = [xe.WC_KEPLR_MOBILE], x = [...u, ...d].filter((B) => {
|
|
36913
37338
|
try {
|
|
36914
|
-
return !!
|
|
37339
|
+
return !!Kn(B);
|
|
36915
37340
|
} catch {
|
|
36916
37341
|
return !1;
|
|
36917
37342
|
}
|
|
@@ -37001,16 +37426,16 @@ const om = () => {
|
|
|
37001
37426
|
throw new Error(
|
|
37002
37427
|
`getAddress: Chain info not found for chainID: ${l}`
|
|
37003
37428
|
);
|
|
37004
|
-
!p && !C && await
|
|
37429
|
+
!p && !C && await Kn(B).experimentalSuggestChain(g), M.includes(l) ? await E() : await j(), o({ walletName: B, chainType: "cosmos" });
|
|
37005
37430
|
} else v && a && D && o({ walletName: B, chainType: "cosmos" });
|
|
37006
37431
|
if (!v) {
|
|
37007
37432
|
if (!p && !C) {
|
|
37008
37433
|
if (!g) throw new Error(`getAddress: Chain info not found for chainID: ${l}`);
|
|
37009
|
-
await
|
|
37434
|
+
await Kn(B).experimentalSuggestChain(g);
|
|
37010
37435
|
}
|
|
37011
37436
|
M.includes(l) ? await E() : await j(), o({ walletName: B, chainType: "cosmos" });
|
|
37012
37437
|
}
|
|
37013
|
-
return (await
|
|
37438
|
+
return (await Kn(B).getKey(l)).bech32Address;
|
|
37014
37439
|
}, h = {
|
|
37015
37440
|
walletName: B,
|
|
37016
37441
|
walletPrettyName: A == null ? void 0 : A.name,
|
|
@@ -37035,7 +37460,7 @@ const om = () => {
|
|
|
37035
37460
|
throw new Error(
|
|
37036
37461
|
`connect: Chain info not found for chainID: ${l}`
|
|
37037
37462
|
);
|
|
37038
|
-
!p && !C && await
|
|
37463
|
+
!p && !C && await Kn(B).experimentalSuggestChain(D), M.includes(l) ? await E() : await j(), o({ walletName: B, chainType: "cosmos" }), E();
|
|
37039
37464
|
} catch (D) {
|
|
37040
37465
|
throw console.error(D), D;
|
|
37041
37466
|
}
|
|
@@ -37048,7 +37473,7 @@ const om = () => {
|
|
|
37048
37473
|
isAvailable: (() => {
|
|
37049
37474
|
if (!p)
|
|
37050
37475
|
try {
|
|
37051
|
-
return !!
|
|
37476
|
+
return !!Kn(B);
|
|
37052
37477
|
} catch {
|
|
37053
37478
|
return !1;
|
|
37054
37479
|
}
|
|
@@ -37099,7 +37524,7 @@ const om = () => {
|
|
|
37099
37524
|
address: c,
|
|
37100
37525
|
isConnected: a,
|
|
37101
37526
|
chainId: r
|
|
37102
|
-
} = ct(), { connectAsync: s } =
|
|
37527
|
+
} = ct(), { connectAsync: s } = Zm(), l = os(), p = l.find(
|
|
37103
37528
|
(d) => d.id === (t == null ? void 0 : t.id)
|
|
37104
37529
|
);
|
|
37105
37530
|
return { createEvmWallets: Be(
|
|
@@ -37340,7 +37765,7 @@ const om = () => {
|
|
|
37340
37765
|
var d;
|
|
37341
37766
|
(d = u.current) == null || d.scrollTo(0);
|
|
37342
37767
|
}, 0);
|
|
37343
|
-
}, [e.length]), e.length === 0 ? /* @__PURE__ */ q(fx, { gap: 10, height: n, children: [
|
|
37768
|
+
}, [e.length]), e.length === 0 ? /* @__PURE__ */ q(fx, { gap: 10, height: n ?? p, children: [
|
|
37344
37769
|
a == null ? void 0 : a.icon,
|
|
37345
37770
|
/* @__PURE__ */ m(G, { textAlign: "center", fontSize: 22, children: a == null ? void 0 : a.header }),
|
|
37346
37771
|
/* @__PURE__ */ m(bx, { children: a == null ? void 0 : a.details })
|
|
@@ -37830,7 +38255,7 @@ const om = () => {
|
|
|
37830
38255
|
)
|
|
37831
38256
|
}
|
|
37832
38257
|
), qx = () => {
|
|
37833
|
-
const [e, n] = me(!1), [o, i] = me(!1), [t, c] = me(""), [a, r] = ue(
|
|
38258
|
+
const [e, n] = me(!1), [o, i] = me(!1), [t, c] = me(""), [a, r] = ue(K0), s = !!(a && !Fr.includes(a));
|
|
37834
38259
|
return Ce(() => {
|
|
37835
38260
|
s && c(a == null ? void 0 : a.toString());
|
|
37836
38261
|
}, [a, s]), /* @__PURE__ */ q(Sx, { children: [
|
|
@@ -37995,7 +38420,7 @@ const om = () => {
|
|
|
37995
38420
|
color: ${mi(n.brandColor)};
|
|
37996
38421
|
`}
|
|
37997
38422
|
`, Lx = () => {
|
|
37998
|
-
const [e, n] = me(!1), [o, i] = ue(
|
|
38423
|
+
const [e, n] = me(!1), [o, i] = ue(Z0);
|
|
37999
38424
|
return /* @__PURE__ */ q(Rx, { children: [
|
|
38000
38425
|
/* @__PURE__ */ q(Ox, { align: "center", children: [
|
|
38001
38426
|
"Route Preference",
|
|
@@ -38053,7 +38478,7 @@ const om = () => {
|
|
|
38053
38478
|
`, Gx = Wo(() => {
|
|
38054
38479
|
const e = he(), { data: n } = U(Go), { data: o } = U(ze), i = W(() => n == null ? void 0 : n.chainIDs.map(
|
|
38055
38480
|
(s) => o == null ? void 0 : o.find((l) => l.chainID === s)
|
|
38056
|
-
), [n, o]), t =
|
|
38481
|
+
), [n, o]), t = Zo(n == null ? void 0 : n.operations), c = W(() => t ? t.filter(
|
|
38057
38482
|
(s) => [
|
|
38058
38483
|
we.axelarTransfer,
|
|
38059
38484
|
we.hyperlaneTransfer,
|
|
@@ -38166,7 +38591,6 @@ const om = () => {
|
|
|
38166
38591
|
width: 100%;
|
|
38167
38592
|
padding: 20px;
|
|
38168
38593
|
border-radius: 20px;
|
|
38169
|
-
margin: 0 10px;
|
|
38170
38594
|
background-color: ${(e) => e.theme.primary.background.normal};
|
|
38171
38595
|
`, uo = N(L).attrs({
|
|
38172
38596
|
as: G,
|
|
@@ -38180,10 +38604,10 @@ const om = () => {
|
|
|
38180
38604
|
height: ${n}px;
|
|
38181
38605
|
background-color: ${Mc(o.primary.text.normal ?? "") + Xe(10)};
|
|
38182
38606
|
`};
|
|
38183
|
-
`,
|
|
38607
|
+
`, Kx = N(gc)`
|
|
38184
38608
|
border-radius: 50%;
|
|
38185
38609
|
`;
|
|
38186
|
-
function
|
|
38610
|
+
function Zx(e, n = 500, o = !1) {
|
|
38187
38611
|
const i = _(
|
|
38188
38612
|
void 0
|
|
38189
38613
|
), t = _(e), c = _(!1), a = _(
|
|
@@ -38214,7 +38638,7 @@ function Kx(e, n = 500, o = !1) {
|
|
|
38214
38638
|
debouncedValueAtom: a
|
|
38215
38639
|
};
|
|
38216
38640
|
}
|
|
38217
|
-
const pm =
|
|
38641
|
+
const pm = Zx(void 0), da = ao((e) => {
|
|
38218
38642
|
const n = e(qn), o = e(pm.debouncedValueAtom), i = e(Qi), t = Object.values(o ?? {}).length > 0 && !i;
|
|
38219
38643
|
return {
|
|
38220
38644
|
queryKey: ["skipBalances", o],
|
|
@@ -38349,7 +38773,7 @@ const pm = Kx(void 0), da = ao((e) => {
|
|
|
38349
38773
|
{
|
|
38350
38774
|
style: { margin: "5px 0" },
|
|
38351
38775
|
leftContent: /* @__PURE__ */ q(Qx, { align: "center", gap: 8, children: [
|
|
38352
|
-
/* @__PURE__ */ m(
|
|
38776
|
+
/* @__PURE__ */ m(Kx, { width: 35, height: 35 }),
|
|
38353
38777
|
/* @__PURE__ */ m(gc, { width: 80, height: 20 }),
|
|
38354
38778
|
/* @__PURE__ */ m(gc, { width: 60, height: 16 })
|
|
38355
38779
|
] })
|
|
@@ -38438,14 +38862,14 @@ const pm = Kx(void 0), da = ao((e) => {
|
|
|
38438
38862
|
A.currentTarget.selectionStart === A.currentTarget.selectionEnd && A.currentTarget.select();
|
|
38439
38863
|
return;
|
|
38440
38864
|
case "ArrowUp":
|
|
38441
|
-
A.preventDefault(), M = new
|
|
38865
|
+
A.preventDefault(), M = new be(
|
|
38442
38866
|
It(A.currentTarget.value) || "0"
|
|
38443
|
-
), A.shiftKey ? M = M.plus(10) : A.altKey || A.ctrlKey || A.metaKey ? M = M.plus(0.1) : M = M.plus(1), M.isNegative() && (M = new
|
|
38867
|
+
), A.shiftKey ? M = M.plus(10) : A.altKey || A.ctrlKey || A.metaKey ? M = M.plus(0.1) : M = M.plus(1), M.isNegative() && (M = new be(0)), o(M.toString());
|
|
38444
38868
|
break;
|
|
38445
38869
|
case "ArrowDown":
|
|
38446
|
-
A.preventDefault(), M = new
|
|
38870
|
+
A.preventDefault(), M = new be(
|
|
38447
38871
|
It(A.currentTarget.value) || "0"
|
|
38448
|
-
), A.shiftKey ? M = M.minus(10) : A.altKey || A.ctrlKey || A.metaKey ? M = M.minus(0.1) : M = M.minus(1), M.isNegative() && (M = new
|
|
38872
|
+
), A.shiftKey ? M = M.minus(10) : A.altKey || A.ctrlKey || A.metaKey ? M = M.minus(0.1) : M = M.minus(1), M.isNegative() && (M = new be(0)), o(M.toString());
|
|
38449
38873
|
break;
|
|
38450
38874
|
default:
|
|
38451
38875
|
return;
|
|
@@ -38656,7 +39080,7 @@ const pm = Kx(void 0), da = ao((e) => {
|
|
|
38656
39080
|
}) => W(() => {
|
|
38657
39081
|
if (e)
|
|
38658
39082
|
return cs(e, n, {
|
|
38659
|
-
keys: ["id"]
|
|
39083
|
+
keys: ["id", "name"]
|
|
38660
39084
|
}).sort((i, t) => {
|
|
38661
39085
|
if (i.totalUsd === 0 && t.totalUsd === 0) {
|
|
38662
39086
|
const a = Jr.indexOf(i.id), r = Jr.indexOf(t.id);
|
|
@@ -38703,6 +39127,7 @@ const pm = Kx(void 0), da = ao((e) => {
|
|
|
38703
39127
|
originChainID: s.originChainID
|
|
38704
39128
|
})) : a.push({
|
|
38705
39129
|
id: s.recommendedSymbol || s.symbol || s.denom,
|
|
39130
|
+
name: s.name,
|
|
38706
39131
|
chains: [
|
|
38707
39132
|
{
|
|
38708
39133
|
chainID: s.chainID,
|
|
@@ -38719,9 +39144,9 @@ const pm = Kx(void 0), da = ao((e) => {
|
|
|
38719
39144
|
s.totalAmount = l.totalAmount, s.totalUsd = l.totalUsd;
|
|
38720
39145
|
}), a;
|
|
38721
39146
|
}, [t, o]);
|
|
38722
|
-
},
|
|
39147
|
+
}, Kr = 65, Zr = 5, u2 = Wo(
|
|
38723
39148
|
(e) => {
|
|
38724
|
-
const n = wc(), { onSelect: o, selectedAsset: i, selectChain: t, context: c } = e, { data: a, isLoading: r } = U(fn), { isLoading: s } = U(ze), l = r || s, [p, u] = me(!0), [d, x] = me(""), [f, w] = me(null), H = cm(
|
|
39149
|
+
const n = wc(), { onSelect: o, selectedAsset: i, selectChain: t, context: c } = e, { data: a, isLoading: r } = U(fn), { isLoading: s } = U(ze), l = r || s, [p, u] = me(!0), [d, x] = me(""), [f, w] = me(null), H = cm(Kr + Zr), B = () => {
|
|
38725
39150
|
x("");
|
|
38726
39151
|
}, C = Be(
|
|
38727
39152
|
(b) => {
|
|
@@ -38785,7 +39210,7 @@ const pm = Kx(void 0), da = ao((e) => {
|
|
|
38785
39210
|
pa,
|
|
38786
39211
|
{
|
|
38787
39212
|
listItems: D ?? [],
|
|
38788
|
-
itemHeight:
|
|
39213
|
+
itemHeight: Kr + Zr,
|
|
38789
39214
|
itemKey: (b) => fc(b) ? b.id : `${b.chainID}-${b.asset.denom}`,
|
|
38790
39215
|
renderItem: h,
|
|
38791
39216
|
empty: {
|
|
@@ -38827,11 +39252,11 @@ var jo = {}, At = {};
|
|
|
38827
39252
|
At.byteLength = f2;
|
|
38828
39253
|
At.toByteArray = A2;
|
|
38829
39254
|
At.fromByteArray = w2;
|
|
38830
|
-
var xn = [],
|
|
39255
|
+
var xn = [], Ze = [], x2 = typeof Uint8Array < "u" ? Uint8Array : Array, Nt = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
38831
39256
|
for (var ho = 0, g2 = Nt.length; ho < g2; ++ho)
|
|
38832
|
-
xn[ho] = Nt[ho],
|
|
38833
|
-
|
|
38834
|
-
|
|
39257
|
+
xn[ho] = Nt[ho], Ze[Nt.charCodeAt(ho)] = ho;
|
|
39258
|
+
Ze[45] = 62;
|
|
39259
|
+
Ze[95] = 63;
|
|
38835
39260
|
function Dm(e) {
|
|
38836
39261
|
var n = e.length;
|
|
38837
39262
|
if (n % 4 > 0)
|
|
@@ -38851,8 +39276,8 @@ function b2(e, n, o) {
|
|
|
38851
39276
|
function A2(e) {
|
|
38852
39277
|
var n, o = Dm(e), i = o[0], t = o[1], c = new x2(b2(e, i, t)), a = 0, r = t > 0 ? i - 4 : i, s;
|
|
38853
39278
|
for (s = 0; s < r; s += 4)
|
|
38854
|
-
n =
|
|
38855
|
-
return t === 2 && (n =
|
|
39279
|
+
n = Ze[e.charCodeAt(s)] << 18 | Ze[e.charCodeAt(s + 1)] << 12 | Ze[e.charCodeAt(s + 2)] << 6 | Ze[e.charCodeAt(s + 3)], c[a++] = n >> 16 & 255, c[a++] = n >> 8 & 255, c[a++] = n & 255;
|
|
39280
|
+
return t === 2 && (n = Ze[e.charCodeAt(s)] << 2 | Ze[e.charCodeAt(s + 1)] >> 4, c[a++] = n & 255), t === 1 && (n = Ze[e.charCodeAt(s)] << 10 | Ze[e.charCodeAt(s + 1)] << 4 | Ze[e.charCodeAt(s + 2)] >> 2, c[a++] = n >> 8 & 255, c[a++] = n & 255), c;
|
|
38856
39281
|
}
|
|
38857
39282
|
function C2(e) {
|
|
38858
39283
|
return xn[e >> 18 & 63] + xn[e >> 12 & 63] + xn[e >> 6 & 63] + xn[e & 63];
|
|
@@ -39100,11 +39525,11 @@ function J2(e) {
|
|
|
39100
39525
|
return new TextEncoder().encode(e);
|
|
39101
39526
|
}
|
|
39102
39527
|
To.toUtf8 = J2;
|
|
39103
|
-
function
|
|
39528
|
+
function K2(e, n = !1) {
|
|
39104
39529
|
const o = !n;
|
|
39105
39530
|
return new TextDecoder("utf-8", { fatal: o }).decode(e);
|
|
39106
39531
|
}
|
|
39107
|
-
To.fromUtf8 =
|
|
39532
|
+
To.fromUtf8 = K2;
|
|
39108
39533
|
(function(e) {
|
|
39109
39534
|
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;
|
|
39110
39535
|
var n = So;
|
|
@@ -39146,7 +39571,7 @@ To.fromUtf8 = Z2;
|
|
|
39146
39571
|
return a.toUtf8;
|
|
39147
39572
|
} });
|
|
39148
39573
|
})(dm);
|
|
39149
|
-
const
|
|
39574
|
+
const Z2 = ({
|
|
39150
39575
|
address: e,
|
|
39151
39576
|
chainType: n,
|
|
39152
39577
|
bech32Prefix: o
|
|
@@ -39201,7 +39626,7 @@ const K2 = ({
|
|
|
39201
39626
|
), C = W(() => {
|
|
39202
39627
|
if (!r || d.length === 0) return;
|
|
39203
39628
|
const { chainType: j, bech32Prefix: T } = r;
|
|
39204
|
-
return
|
|
39629
|
+
return Z2({
|
|
39205
39630
|
address: d,
|
|
39206
39631
|
bech32Prefix: T,
|
|
39207
39632
|
chainType: j
|
|
@@ -39334,7 +39759,7 @@ var se = /* @__PURE__ */ ((e) => (e.AssetAndChainSelectorModal = "AssetAndChainS
|
|
|
39334
39759
|
const o1 = () => {
|
|
39335
39760
|
const [e, n] = ue(Cn), { route: o } = U(Ue), i = o == null ? void 0 : o.requiredChainAddresses, { data: t } = U(ze), c = U(Hc);
|
|
39336
39761
|
ue(CD);
|
|
39337
|
-
const { createCosmosWallets: a } = om(), { createEvmWallets: r } = im(), { createSolanaWallets: s } = tm(), l = W(() => o != null && o.operations ?
|
|
39762
|
+
const { createCosmosWallets: a } = om(), { createEvmWallets: r } = im(), { createSolanaWallets: s } = tm(), l = W(() => o != null && o.operations ? Zo(o.operations).filter((x) => x.signRequired).map((x) => x.fromChainID) : void 0, [o == null ? void 0 : o.operations]);
|
|
39338
39763
|
Ce(() => {
|
|
39339
39764
|
var d;
|
|
39340
39765
|
const u = {};
|
|
@@ -39498,7 +39923,13 @@ const o1 = () => {
|
|
|
39498
39923
|
return li({
|
|
39499
39924
|
queryKey: [
|
|
39500
39925
|
"auto-set-address",
|
|
39501
|
-
{
|
|
39926
|
+
{
|
|
39927
|
+
requiredChainAddresses: i,
|
|
39928
|
+
chains: t,
|
|
39929
|
+
sourceWallet: c,
|
|
39930
|
+
signRequiredChains: l,
|
|
39931
|
+
chainAddresses: e
|
|
39932
|
+
}
|
|
39502
39933
|
],
|
|
39503
39934
|
enabled: !!i && !!t && (!!c.cosmos || !!c.evm || !!c.svm),
|
|
39504
39935
|
queryFn: async () => {
|
|
@@ -39548,7 +39979,7 @@ const o1 = () => {
|
|
|
39548
39979
|
transactionDetailsArray: c,
|
|
39549
39980
|
overallStatus: a,
|
|
39550
39981
|
transactionHistoryIndex: r
|
|
39551
|
-
} = U(Ue), s = J(Tl), { isPending: l } = U(Ll), p = W(() => t != null && t.operations ?
|
|
39982
|
+
} = U(Ue), s = J(Tl), { isPending: l } = U(Ll), p = W(() => t != null && t.operations ? Zo(t.operations) : [], [t == null ? void 0 : t.operations]), u = W(() => {
|
|
39552
39983
|
if (!(!(t != null && t.operations) || !(t != null && t.txsRequired))) {
|
|
39553
39984
|
if ((e == null ? void 0 : e.lastTxStatus) === "pending")
|
|
39554
39985
|
return l && i("pending"), "pending";
|
|
@@ -39774,7 +40205,7 @@ const l1 = () => {
|
|
|
39774
40205
|
t1({
|
|
39775
40206
|
statusData: d
|
|
39776
40207
|
});
|
|
39777
|
-
const x = W(() => n != null && n.operations ?
|
|
40208
|
+
const x = W(() => n != null && n.operations ? Zo(n.operations) : [], [n == null ? void 0 : n.operations]), f = x[x.length - 1], w = c1({
|
|
39778
40209
|
chainAddresses: c,
|
|
39779
40210
|
route: n,
|
|
39780
40211
|
overallStatus: o,
|
|
@@ -39974,26 +40405,26 @@ const Cm = () => {
|
|
|
39974
40405
|
const l = (() => {
|
|
39975
40406
|
if (!r.gasPrice) return;
|
|
39976
40407
|
const f = r.gasPrice.average || r.gasPrice.high || r.gasPrice.low;
|
|
39977
|
-
return new lp(sp.fromUserInput(f, 18), r.denom);
|
|
40408
|
+
return new lp(sp.fromUserInput(be(f).toFixed(), 18), r.denom);
|
|
39978
40409
|
})();
|
|
39979
40410
|
if (!l) return;
|
|
39980
40411
|
const p = i == null ? void 0 : i.map((f) => f.chainID).includes(e), d = mp(Math.ceil(parseFloat(String(p ? Q0 : Y0))), l).amount[0].amount;
|
|
39981
40412
|
return {
|
|
39982
40413
|
feeAmount: d,
|
|
39983
40414
|
denom: r.denom,
|
|
39984
|
-
balanceWithFees:
|
|
39985
|
-
isSufficient: s ?
|
|
40415
|
+
balanceWithFees: be(s).minus(d).toString(),
|
|
40416
|
+
isSufficient: s ? be(s).isGreaterThanOrEqualTo(be(d)) : !1
|
|
39986
40417
|
};
|
|
39987
40418
|
}).filter((r) => r);
|
|
39988
40419
|
}, [e, o, n, i]);
|
|
39989
40420
|
}, D1 = () => {
|
|
39990
40421
|
const e = U(Ee), { data: n } = U(fn), o = km(e == null ? void 0 : e.chainID), i = kt(), t = o == null ? void 0 : o.find((s) => s == null ? void 0 : s.isSufficient);
|
|
39991
40422
|
if ((t == null ? void 0 : t.denom) !== (e == null ? void 0 : e.denom))
|
|
39992
|
-
return !(!(e != null && e.amount) ||
|
|
40423
|
+
return !(!(e != null && e.amount) || be(i).isGreaterThanOrEqualTo(be(e == null ? void 0 : e.amount)));
|
|
39993
40424
|
const c = n == null ? void 0 : n.find((s) => s.denom === (t == null ? void 0 : t.denom));
|
|
39994
40425
|
if (!(t != null && t.balanceWithFees)) return !1;
|
|
39995
40426
|
const a = en(t == null ? void 0 : t.balanceWithFees, c == null ? void 0 : c.decimals);
|
|
39996
|
-
return !(e != null && e.amount ?
|
|
40427
|
+
return !(e != null && e.amount ? be(a).isGreaterThanOrEqualTo(be(e == null ? void 0 : e.amount)) : !1);
|
|
39997
40428
|
}, x1 = () => {
|
|
39998
40429
|
var c, a, r, s, l, p, u;
|
|
39999
40430
|
const [e] = ue(Ee), n = nn({
|
|
@@ -40027,7 +40458,7 @@ const Cm = () => {
|
|
|
40027
40458
|
}, kt = () => {
|
|
40028
40459
|
const { data: e } = Cm(), n = x1(), o = e == null ? void 0 : e.amount;
|
|
40029
40460
|
if (n && o) {
|
|
40030
|
-
const i =
|
|
40461
|
+
const i = be(o).minus(n).toString(), t = en(i, e == null ? void 0 : e.decimals);
|
|
40031
40462
|
return Number(t) > 0 ? t : "0";
|
|
40032
40463
|
}
|
|
40033
40464
|
return o && en(String(o), e == null ? void 0 : e.decimals);
|
|
@@ -40041,7 +40472,7 @@ const Cm = () => {
|
|
|
40041
40472
|
if (!(n != null && n.amount)) return !1;
|
|
40042
40473
|
if (!e) return !0;
|
|
40043
40474
|
const t = o == null ? void 0 : o.find((c) => c.chainID === (n == null ? void 0 : n.chainID));
|
|
40044
|
-
return (t == null ? void 0 : t.chainType) === "cosmos" ? i : !
|
|
40475
|
+
return (t == null ? void 0 : t.chainType) === "cosmos" ? i : !be(e).isGreaterThanOrEqualTo(be(n == null ? void 0 : n.amount));
|
|
40045
40476
|
}, b1 = (e) => /* @__PURE__ */ q(
|
|
40046
40477
|
"svg",
|
|
40047
40478
|
{
|
|
@@ -40077,15 +40508,11 @@ const Cm = () => {
|
|
|
40077
40508
|
amount: e == null ? void 0 : e.amount,
|
|
40078
40509
|
chainId: e == null ? void 0 : e.chainID
|
|
40079
40510
|
}), { data: t, isLoading: c } = Cm(), a = g1(), r = kt(), s = W(() => {
|
|
40080
|
-
var
|
|
40511
|
+
var u;
|
|
40081
40512
|
const l = i != null && i.symbol ? ` ${i == null ? void 0 : i.symbol}` : "";
|
|
40082
|
-
|
|
40083
|
-
|
|
40084
|
-
|
|
40085
|
-
let u = t == null ? void 0 : t.formattedAmount;
|
|
40086
|
-
return p === "0" && (u = p), u = ri(
|
|
40087
|
-
zo(u)
|
|
40088
|
-
), u + l;
|
|
40513
|
+
return (u = t == null ? void 0 : t.error) != null && u.message ? "--" : t === void 0 ? void 0 : ri(
|
|
40514
|
+
zo(t == null ? void 0 : t.formattedAmount)
|
|
40515
|
+
) + l;
|
|
40089
40516
|
}, [t, i == null ? void 0 : i.symbol]);
|
|
40090
40517
|
return o ? /* @__PURE__ */ q(
|
|
40091
40518
|
L,
|
|
@@ -40870,9 +41297,9 @@ function ei(e) {
|
|
|
40870
41297
|
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);
|
|
40871
41298
|
if (!c)
|
|
40872
41299
|
return null;
|
|
40873
|
-
var a = c[0], r = i && e.parsePatterns[i] || e.parsePatterns[e.defaultParseWidth], s = Array.isArray(r) ?
|
|
41300
|
+
var a = c[0], r = i && e.parsePatterns[i] || e.parsePatterns[e.defaultParseWidth], s = Array.isArray(r) ? Z1(r, function(u) {
|
|
40874
41301
|
return u.test(a);
|
|
40875
|
-
}) :
|
|
41302
|
+
}) : K1(r, function(u) {
|
|
40876
41303
|
return u.test(a);
|
|
40877
41304
|
}), l;
|
|
40878
41305
|
l = e.valueCallback ? e.valueCallback(s) : s, l = o.valueCallback ? o.valueCallback(l) : l;
|
|
@@ -40883,12 +41310,12 @@ function ei(e) {
|
|
|
40883
41310
|
};
|
|
40884
41311
|
};
|
|
40885
41312
|
}
|
|
40886
|
-
function
|
|
41313
|
+
function K1(e, n) {
|
|
40887
41314
|
for (var o in e)
|
|
40888
41315
|
if (e.hasOwnProperty(o) && n(e[o]))
|
|
40889
41316
|
return o;
|
|
40890
41317
|
}
|
|
40891
|
-
function
|
|
41318
|
+
function Z1(e, n) {
|
|
40892
41319
|
for (var o = 0; o < e.length; o++)
|
|
40893
41320
|
if (n(e[o]))
|
|
40894
41321
|
return o;
|
|
@@ -41359,13 +41786,13 @@ const ug = (e) => {
|
|
|
41359
41786
|
children: e
|
|
41360
41787
|
},
|
|
41361
41788
|
"skip-widget-wagmi-provider"
|
|
41362
|
-
), Em = ({ children: e }) => /* @__PURE__ */ m(kg, { children: /* @__PURE__ */ m(wg, { children: e }) }), Pm = new ip(),
|
|
41789
|
+
), Em = ({ children: e }) => /* @__PURE__ */ m(kg, { children: /* @__PURE__ */ m(wg, { children: e }) }), Pm = new ip(), i3 = (e) => {
|
|
41363
41790
|
const { theme: n } = Bm(e);
|
|
41364
41791
|
return /* @__PURE__ */ m(zc, { theme: n, children: /* @__PURE__ */ m(Em, { children: /* @__PURE__ */ m(ts, { client: Pm, children: /* @__PURE__ */ m(ne.Provider, { children: /* @__PURE__ */ m(Fm, { children: /* @__PURE__ */ m(vm, {}) }) }) }, "skip-widget") }) });
|
|
41365
41792
|
}, yg = (e) => {
|
|
41366
41793
|
const { theme: n } = Bm(e);
|
|
41367
41794
|
return /* @__PURE__ */ m(zc, { theme: n, children: /* @__PURE__ */ m(Em, { children: /* @__PURE__ */ m(ts, { client: Pm, children: /* @__PURE__ */ m(Fm, { children: /* @__PURE__ */ m(vm, {}) }) }, "skip-widget") }) });
|
|
41368
|
-
},
|
|
41795
|
+
}, t3 = ({
|
|
41369
41796
|
button: e = /* @__PURE__ */ m("button", { children: "show widget" }),
|
|
41370
41797
|
...n
|
|
41371
41798
|
}) => {
|
|
@@ -41428,15 +41855,15 @@ const ug = (e) => {
|
|
|
41428
41855
|
`;
|
|
41429
41856
|
export {
|
|
41430
41857
|
Js as H,
|
|
41431
|
-
|
|
41432
|
-
|
|
41858
|
+
t3 as S,
|
|
41859
|
+
i3 as W,
|
|
41433
41860
|
ut as b,
|
|
41434
|
-
|
|
41861
|
+
n3 as c,
|
|
41435
41862
|
Wi as d,
|
|
41436
41863
|
Ji as e,
|
|
41437
|
-
|
|
41864
|
+
e3 as h,
|
|
41438
41865
|
yu as l,
|
|
41439
|
-
|
|
41866
|
+
o3 as r,
|
|
41440
41867
|
dd as s,
|
|
41441
41868
|
Tc as t
|
|
41442
41869
|
};
|