@reown/appkit-cdn 1.0.3 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{W3MFrameProviderSingleton-CRF_1us_.js → W3MFrameProviderSingleton-CTR1y-dm.js} +8388 -8122
- package/dist/{W3MFrameProviderSingleton-EQdqCGSY.cjs → W3MFrameProviderSingleton-EBSNGCyS.cjs} +587 -400
- package/dist/ethers.cjs +1 -1
- package/dist/ethers.js +693 -690
- package/dist/{hooks.module-Bo49CUkD.js → hooks.module-D-0zdEoH.js} +200 -201
- package/dist/hooks.module-DQotueVv.cjs +1 -0
- package/dist/{index-DwRBfwIO.cjs → index-B-asGkmO.cjs} +1 -1
- package/dist/{index-h3CAtOy2.cjs → index-BbRGsaWd.cjs} +1 -1
- package/dist/{index-CG2NGIOC.js → index-Bc0ITjWJ.js} +14 -15
- package/dist/{index-DH3qaBPp.cjs → index-BpyGhSL5.cjs} +1 -1
- package/dist/{index-CHb2nMaf.js → index-C4sAe8r2.js} +2 -2
- package/dist/{index-BuOJ8QNL.cjs → index-CGiwEmEs.cjs} +2 -2
- package/dist/{index-CLxU5hsA.cjs → index-CHnv57sx.cjs} +1 -1
- package/dist/{index-DVFjsAEF.js → index-CUklmSgy.js} +2 -2
- package/dist/{index-CKVZVFq_.cjs → index-CarL80dX.cjs} +1 -1
- package/dist/{index-C2gFFabd.js → index-Cb7ygkgK.js} +9 -9
- package/dist/{index-CcTeiaz4.cjs → index-ChpiA38q.cjs} +1 -1
- package/dist/{index-CeQNoxrU.cjs → index-Cj_t8zKv.cjs} +1 -1
- package/dist/{index-CQRSLm_m.js → index-DHINf06o.js} +1 -1
- package/dist/{index-B4aMSR4c.js → index-DPxKz8jH.js} +78 -77
- package/dist/{index-hXCH-znD.js → index-T8ir_D3p.js} +2 -2
- package/dist/{index-ByE-R0E1.js → index-W7CfpcrR.js} +2 -2
- package/dist/{index.es-bcU603NI.js → index.es-iazRHZcQ.js} +249 -249
- package/dist/{index.es-DnJzv0Jm.cjs → index.es-uCwCuHj3.cjs} +2 -2
- package/dist/{metamask-sdk-my5l20D3.cjs → metamask-sdk-BR0UffTG.cjs} +1 -1
- package/dist/{metamask-sdk-CXJHRcL2.js → metamask-sdk-CWejtgv4.js} +1 -1
- package/dist/{native-AlGArcwp.cjs → native-BQEvKOnP.cjs} +1 -1
- package/dist/{native-CAgUwsyb.js → native-Cu9ENMNS.js} +1 -1
- package/dist/{w3m-modal-BNjtW4Kj.js → w3m-modal-C48bKG7t.js} +11 -10
- package/dist/{w3m-modal-BC3zgDJa.cjs → w3m-modal-D71FClnT.cjs} +5 -4
- package/dist/{wagmi-BSo7cFxV.js → wagmi-BW31my6S.js} +2410 -2409
- package/dist/{wagmi-D-vZdxZZ.cjs → wagmi-BydfAFoJ.cjs} +4 -4
- package/dist/wagmi.cjs +1 -1
- package/dist/wagmi.js +2 -2
- package/package.json +5 -5
- package/dist/hooks.module-Dv1obaBy.cjs +0 -1
package/dist/ethers.js
CHANGED
|
@@ -17,8 +17,8 @@ var Fi = (r, e, t, n) => ({
|
|
|
17
17
|
return u(r, e, n);
|
|
18
18
|
}
|
|
19
19
|
}), I = (r, e, t) => (kc(r, e, "access private method"), t);
|
|
20
|
-
import { C as F, P as gt, b as ca,
|
|
21
|
-
import { j as
|
|
20
|
+
import { C as F, P as gt, b as ca, o as Aa, i as Bp, B as ne, s as Lp, p as dt, q as Mp, H as bu, j as On, a as Tn, r as Dp, k as He, g as Tt, h as _t, f as Au, N as Eu, l as xc, m as Up, c as Fp, A as Hp, d as Gp, n as Kp } from "./W3MFrameProviderSingleton-CTR1y-dm.js";
|
|
21
|
+
import { j as jp, r as rd, a as sd, b as Vp } from "./hooks.module-D-0zdEoH.js";
|
|
22
22
|
const Pc = {
|
|
23
23
|
ERROR_CODE_UNRECOGNIZED_CHAIN_ID: 4902,
|
|
24
24
|
ERROR_CODE_DEFAULT: 5e3
|
|
@@ -76,8 +76,8 @@ const Pc = {
|
|
|
76
76
|
]
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
|
-
},
|
|
80
|
-
function
|
|
79
|
+
}, Wp = "6.13.2";
|
|
80
|
+
function Qp(r, e, t) {
|
|
81
81
|
const n = e.split("|").map((i) => i.trim());
|
|
82
82
|
for (let i = 0; i < n.length; i++)
|
|
83
83
|
switch (e) {
|
|
@@ -101,7 +101,7 @@ function U(r, e, t) {
|
|
|
101
101
|
for (let n in e) {
|
|
102
102
|
let s = e[n];
|
|
103
103
|
const i = t ? t[n] : null;
|
|
104
|
-
i &&
|
|
104
|
+
i && Qp(s, i, n), Object.defineProperty(r, n, { enumerable: !0, value: s, writable: !1 });
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
function Es(r) {
|
|
@@ -155,7 +155,7 @@ function re(r, e, t) {
|
|
|
155
155
|
i.push(o + "=" + Es(a));
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
|
-
i.push(`code=${e}`), i.push(`version=${
|
|
158
|
+
i.push(`code=${e}`), i.push(`version=${Wp}`), i.length && (r += " (" + i.join(", ") + ")");
|
|
159
159
|
}
|
|
160
160
|
let s;
|
|
161
161
|
switch (e) {
|
|
@@ -267,7 +267,7 @@ function ad(r, e, t) {
|
|
|
267
267
|
function Zr(r, e) {
|
|
268
268
|
return ad(r, e, !0);
|
|
269
269
|
}
|
|
270
|
-
function
|
|
270
|
+
function zp(r, e) {
|
|
271
271
|
return ad(r, e, !1);
|
|
272
272
|
}
|
|
273
273
|
const Wa = BigInt(0), St = BigInt(1), Cs = 9007199254740991;
|
|
@@ -358,7 +358,7 @@ function H(r, e) {
|
|
|
358
358
|
}
|
|
359
359
|
y(!1, "invalid numeric value", e || "value", r);
|
|
360
360
|
}
|
|
361
|
-
function
|
|
361
|
+
function Jp(r) {
|
|
362
362
|
return H(za(r));
|
|
363
363
|
}
|
|
364
364
|
function ar(r, e) {
|
|
@@ -398,7 +398,7 @@ function vs(r) {
|
|
|
398
398
|
const Iu = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";
|
|
399
399
|
BigInt(0);
|
|
400
400
|
const Nu = BigInt(58);
|
|
401
|
-
function
|
|
401
|
+
function qp(r) {
|
|
402
402
|
const e = W(r);
|
|
403
403
|
let t = za(e), n = "";
|
|
404
404
|
for (; t; )
|
|
@@ -407,14 +407,14 @@ function zp(r) {
|
|
|
407
407
|
n = Iu[0] + n;
|
|
408
408
|
return n;
|
|
409
409
|
}
|
|
410
|
-
function
|
|
410
|
+
function Zp(r) {
|
|
411
411
|
r = atob(r);
|
|
412
412
|
const e = new Uint8Array(r.length);
|
|
413
413
|
for (let t = 0; t < r.length; t++)
|
|
414
414
|
e[t] = r.charCodeAt(t);
|
|
415
415
|
return W(e);
|
|
416
416
|
}
|
|
417
|
-
function
|
|
417
|
+
function $p(r) {
|
|
418
418
|
const e = W(r);
|
|
419
419
|
let t = "";
|
|
420
420
|
for (let n = 0; n < e.length; n++)
|
|
@@ -447,7 +447,7 @@ class ld {
|
|
|
447
447
|
}
|
|
448
448
|
}
|
|
449
449
|
Ms = new WeakMap();
|
|
450
|
-
function
|
|
450
|
+
function Yp(r, e, t, n, s) {
|
|
451
451
|
y(!1, `invalid codepoint at offset ${e}; ${r}`, "bytes", t);
|
|
452
452
|
}
|
|
453
453
|
function ud(r, e, t, n, s) {
|
|
@@ -459,16 +459,16 @@ function ud(r, e, t, n, s) {
|
|
|
459
459
|
}
|
|
460
460
|
return r === "OVERRUN" ? t.length - e - 1 : 0;
|
|
461
461
|
}
|
|
462
|
-
function
|
|
462
|
+
function Xp(r, e, t, n, s) {
|
|
463
463
|
return r === "OVERLONG" ? (y(typeof s == "number", "invalid bad code point for replacement", "badCodepoint", s), n.push(s), 0) : (n.push(65533), ud(r, e, t));
|
|
464
464
|
}
|
|
465
|
-
const
|
|
466
|
-
error:
|
|
465
|
+
const eg = Object.freeze({
|
|
466
|
+
error: Yp,
|
|
467
467
|
ignore: ud,
|
|
468
|
-
replace:
|
|
468
|
+
replace: Xp
|
|
469
469
|
});
|
|
470
|
-
function
|
|
471
|
-
e == null && (e =
|
|
470
|
+
function tg(r, e) {
|
|
471
|
+
e == null && (e = eg.error);
|
|
472
472
|
const t = W(r, "bytes"), n = [];
|
|
473
473
|
let s = 0;
|
|
474
474
|
for (; s < t.length; ) {
|
|
@@ -539,11 +539,11 @@ function qt(r, e) {
|
|
|
539
539
|
}
|
|
540
540
|
return new Uint8Array(t);
|
|
541
541
|
}
|
|
542
|
-
function
|
|
542
|
+
function ng(r) {
|
|
543
543
|
return r.map((e) => e <= 65535 ? String.fromCharCode(e) : (e -= 65536, String.fromCharCode((e >> 10 & 1023) + 55296, (e & 1023) + 56320))).join("");
|
|
544
544
|
}
|
|
545
545
|
function Ca(r, e) {
|
|
546
|
-
return
|
|
546
|
+
return ng(tg(r, e));
|
|
547
547
|
}
|
|
548
548
|
function hd(r) {
|
|
549
549
|
async function e(t, n) {
|
|
@@ -589,18 +589,18 @@ function hd(r) {
|
|
|
589
589
|
}
|
|
590
590
|
return e;
|
|
591
591
|
}
|
|
592
|
-
const
|
|
592
|
+
const rg = 12, sg = 250;
|
|
593
593
|
let Su = hd();
|
|
594
|
-
const
|
|
594
|
+
const ig = new RegExp("^data:([^;:]*)?(;base64)?,(.*)$", "i"), og = new RegExp("^ipfs://(ipfs/)?(.*)$", "i");
|
|
595
595
|
let Rc = !1;
|
|
596
596
|
async function dd(r, e) {
|
|
597
597
|
try {
|
|
598
|
-
const t = r.match(
|
|
598
|
+
const t = r.match(ig);
|
|
599
599
|
if (!t)
|
|
600
600
|
throw new Error("invalid data");
|
|
601
601
|
return new or(200, "OK", {
|
|
602
602
|
"content-type": t[1] || "text/plain"
|
|
603
|
-
}, t[2] ?
|
|
603
|
+
}, t[2] ? Zp(t[3]) : cg(t[3]));
|
|
604
604
|
} catch {
|
|
605
605
|
return new or(599, "BAD REQUEST (invalid data: URI)", {}, null, new Yt(r));
|
|
606
606
|
}
|
|
@@ -608,7 +608,7 @@ async function dd(r, e) {
|
|
|
608
608
|
function fd(r) {
|
|
609
609
|
async function e(t, n) {
|
|
610
610
|
try {
|
|
611
|
-
const s = t.match(
|
|
611
|
+
const s = t.match(og);
|
|
612
612
|
if (!s)
|
|
613
613
|
throw new Error("invalid link");
|
|
614
614
|
return new Yt(`${r}${s[2]}`);
|
|
@@ -623,7 +623,7 @@ const Qo = {
|
|
|
623
623
|
ipfs: fd("https://gateway.ipfs.io/ipfs/")
|
|
624
624
|
}, pd = /* @__PURE__ */ new WeakMap();
|
|
625
625
|
var vr, Hn;
|
|
626
|
-
class
|
|
626
|
+
class ag {
|
|
627
627
|
constructor(e) {
|
|
628
628
|
b(this, vr, void 0);
|
|
629
629
|
b(this, Hn, void 0);
|
|
@@ -683,8 +683,8 @@ const Da = class Da {
|
|
|
683
683
|
b(this, At, void 0);
|
|
684
684
|
b(this, Gn, void 0);
|
|
685
685
|
p(this, Hs, String(e)), p(this, Ds, !1), p(this, Us, !0), p(this, bt, {}), p(this, ln, ""), p(this, Fs, 3e5), p(this, At, {
|
|
686
|
-
slotInterval:
|
|
687
|
-
maxAttempts:
|
|
686
|
+
slotInterval: sg,
|
|
687
|
+
maxAttempts: rg
|
|
688
688
|
}), p(this, Gn, null);
|
|
689
689
|
}
|
|
690
690
|
/**
|
|
@@ -758,7 +758,7 @@ const Da = class Da {
|
|
|
758
758
|
*/
|
|
759
759
|
get headers() {
|
|
760
760
|
const e = Object.assign({}, u(this, bt));
|
|
761
|
-
return u(this, un) && (e.authorization = `Basic ${
|
|
761
|
+
return u(this, un) && (e.authorization = `Basic ${$p(qt(u(this, un)))}`), this.allowGzip && (e["accept-encoding"] = "gzip"), e["content-type"] == null && u(this, Ze) && (e["content-type"] = u(this, Ze)), this.body && (e["content-length"] = String(this.body.length)), e;
|
|
762
762
|
}
|
|
763
763
|
/**
|
|
764
764
|
* Get the header for %%key%%, ignoring case.
|
|
@@ -912,7 +912,7 @@ const Da = class Da {
|
|
|
912
912
|
* Resolves to the response by sending the request.
|
|
913
913
|
*/
|
|
914
914
|
send() {
|
|
915
|
-
return v(u(this, Dt) == null, "request already sent", "UNSUPPORTED_OPERATION", { operation: "fetchRequest.send" }), p(this, Dt, new
|
|
915
|
+
return v(u(this, Dt) == null, "request already sent", "UNSUPPORTED_OPERATION", { operation: "fetchRequest.send" }), p(this, Dt, new ag(this)), I(this, kr, Vi).call(this, 0, ku() + this.timeout, 0, this, new or(0, "", {}, null, this));
|
|
916
916
|
}
|
|
917
917
|
/**
|
|
918
918
|
* Cancels the inflight response, causing a ``CANCELLED``
|
|
@@ -1030,7 +1030,7 @@ Ds = new WeakMap(), Us = new WeakMap(), bt = new WeakMap(), ln = new WeakMap(),
|
|
|
1030
1030
|
operation: "request.send",
|
|
1031
1031
|
reason: "timeout",
|
|
1032
1032
|
request: s
|
|
1033
|
-
}), n > 0 && await
|
|
1033
|
+
}), n > 0 && await lg(n);
|
|
1034
1034
|
let o = this.clone();
|
|
1035
1035
|
const a = (o.url.split(":")[0] || "").toLowerCase();
|
|
1036
1036
|
if (a in Qo) {
|
|
@@ -1240,13 +1240,13 @@ let or = fu;
|
|
|
1240
1240
|
function ku() {
|
|
1241
1241
|
return (/* @__PURE__ */ new Date()).getTime();
|
|
1242
1242
|
}
|
|
1243
|
-
function
|
|
1243
|
+
function cg(r) {
|
|
1244
1244
|
return qt(r.replace(/%([0-9a-f][0-9a-f])/gi, (e, t) => String.fromCharCode(parseInt(t, 16))));
|
|
1245
1245
|
}
|
|
1246
|
-
function
|
|
1246
|
+
function lg(r) {
|
|
1247
1247
|
return new Promise((e) => setTimeout(e, r));
|
|
1248
1248
|
}
|
|
1249
|
-
const
|
|
1249
|
+
const ug = BigInt(-1), mt = BigInt(0), Is = BigInt(1), hg = BigInt(5), us = {};
|
|
1250
1250
|
let Rs = "0000";
|
|
1251
1251
|
for (; Rs.length < 80; )
|
|
1252
1252
|
Rs += Rs;
|
|
@@ -1294,9 +1294,9 @@ function Oc(r) {
|
|
|
1294
1294
|
const s = (e ? "" : "u") + "fixed" + String(t) + "x" + String(n);
|
|
1295
1295
|
return { signed: e, width: t, decimals: n, name: s };
|
|
1296
1296
|
}
|
|
1297
|
-
function
|
|
1297
|
+
function dg(r, e) {
|
|
1298
1298
|
let t = "";
|
|
1299
|
-
r < mt && (t = "-", r *=
|
|
1299
|
+
r < mt && (t = "-", r *= ug);
|
|
1300
1300
|
let n = r.toString();
|
|
1301
1301
|
if (e === 0)
|
|
1302
1302
|
return t + n;
|
|
@@ -1340,7 +1340,7 @@ const Fn = class Fn {
|
|
|
1340
1340
|
*/
|
|
1341
1341
|
A(this, "_value");
|
|
1342
1342
|
Lo(e, us, "FixedNumber"), p(this, Z, t), p(this, Et, n);
|
|
1343
|
-
const s =
|
|
1343
|
+
const s = dg(t, n.decimals);
|
|
1344
1344
|
U(this, { format: n.name, _value: s }), p(this, Re, ur(n.decimals));
|
|
1345
1345
|
}
|
|
1346
1346
|
/**
|
|
@@ -1531,7 +1531,7 @@ const Fn = class Fn {
|
|
|
1531
1531
|
round(e) {
|
|
1532
1532
|
if (e == null && (e = 0), e >= this.decimals)
|
|
1533
1533
|
return this;
|
|
1534
|
-
const t = this.decimals - e, n =
|
|
1534
|
+
const t = this.decimals - e, n = hg * ur(t - 1);
|
|
1535
1535
|
let s = this.value + n;
|
|
1536
1536
|
const i = ur(t);
|
|
1537
1537
|
return s = s / i * i, Hi(s, u(this, Et), "round"), new Fn(us, s, u(this, Et));
|
|
@@ -1648,7 +1648,7 @@ Et = new WeakMap(), Z = new WeakMap(), Re = new WeakMap(), hn = new WeakSet(), h
|
|
|
1648
1648
|
}), I(this, hn, hr).call(this, e), I(this, Ct, nn).call(this, u(this, Z) * u(this, Re) / u(e, Z), t);
|
|
1649
1649
|
};
|
|
1650
1650
|
let va = Fn;
|
|
1651
|
-
function
|
|
1651
|
+
function fg(r) {
|
|
1652
1652
|
let e = r.toString(16);
|
|
1653
1653
|
for (; e.length < 2; )
|
|
1654
1654
|
e = "0" + e;
|
|
@@ -1706,7 +1706,7 @@ function gd(r, e) {
|
|
|
1706
1706
|
const s = O(r.slice(e + 1, e + 1 + n));
|
|
1707
1707
|
return { consumed: 1 + n, result: s };
|
|
1708
1708
|
}
|
|
1709
|
-
return { consumed: 1, result:
|
|
1709
|
+
return { consumed: 1, result: fg(r[e]) };
|
|
1710
1710
|
}
|
|
1711
1711
|
function Ja(r) {
|
|
1712
1712
|
const e = W(r, "data"), t = gd(e, 0);
|
|
@@ -1761,7 +1761,7 @@ function wd(r, e) {
|
|
|
1761
1761
|
e != null && (t = H(e, "unit"));
|
|
1762
1762
|
return va.fromValue(r, t, { decimals: t, width: 512 }).toString();
|
|
1763
1763
|
}
|
|
1764
|
-
function
|
|
1764
|
+
function pg(r, e) {
|
|
1765
1765
|
y(typeof r == "string", "value must be a string", "value", r);
|
|
1766
1766
|
let t = 18;
|
|
1767
1767
|
if (typeof e == "string") {
|
|
@@ -1771,10 +1771,10 @@ function dg(r, e) {
|
|
|
1771
1771
|
e != null && (t = H(e, "unit"));
|
|
1772
1772
|
return va.fromString(r, { decimals: t, width: 512 }).value;
|
|
1773
1773
|
}
|
|
1774
|
-
function
|
|
1774
|
+
function gg(r) {
|
|
1775
1775
|
return wd(r, 18);
|
|
1776
1776
|
}
|
|
1777
|
-
const De = 32, il = new Uint8Array(De),
|
|
1777
|
+
const De = 32, il = new Uint8Array(De), mg = ["then"], Jo = {}, bd = /* @__PURE__ */ new WeakMap();
|
|
1778
1778
|
function fr(r) {
|
|
1779
1779
|
return bd.get(r);
|
|
1780
1780
|
}
|
|
@@ -1825,7 +1825,7 @@ const Ss = class Ss extends Array {
|
|
|
1825
1825
|
const w = l[g];
|
|
1826
1826
|
return w instanceof Error && Gi(`index ${g}`, w), w;
|
|
1827
1827
|
}
|
|
1828
|
-
if (
|
|
1828
|
+
if (mg.indexOf(h) >= 0)
|
|
1829
1829
|
return Reflect.get(l, h, d);
|
|
1830
1830
|
const f = l[h];
|
|
1831
1831
|
if (f instanceof Function)
|
|
@@ -2038,7 +2038,7 @@ const pu = class pu {
|
|
|
2038
2038
|
return za(this.readBytes(De));
|
|
2039
2039
|
}
|
|
2040
2040
|
readIndex() {
|
|
2041
|
-
return
|
|
2041
|
+
return Jp(this.readBytes(De));
|
|
2042
2042
|
}
|
|
2043
2043
|
};
|
|
2044
2044
|
Ge = new WeakMap(), Ye = new WeakMap(), Rr = new WeakMap(), Or = new WeakMap(), Kn = new WeakMap(), wo = new WeakSet(), ll = function(e) {
|
|
@@ -2073,7 +2073,7 @@ function Fl(r, ...e) {
|
|
|
2073
2073
|
if (e.length > 0 && !e.includes(r.length))
|
|
2074
2074
|
throw new Error(`Expected Uint8Array of length ${e}, not of length=${r.length}`);
|
|
2075
2075
|
}
|
|
2076
|
-
function
|
|
2076
|
+
function yg(r) {
|
|
2077
2077
|
if (typeof r != "function" || typeof r.create != "function")
|
|
2078
2078
|
throw new Error("Hash should be wrapped by utils.wrapConstructor");
|
|
2079
2079
|
Ia(r.outputLen), Ia(r.blockLen);
|
|
@@ -2092,20 +2092,20 @@ function Ed(r, e) {
|
|
|
2092
2092
|
}
|
|
2093
2093
|
const Tc = typeof globalThis == "object" && "crypto" in globalThis ? globalThis.crypto : void 0;
|
|
2094
2094
|
/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
2095
|
-
const Cd = (r) => r instanceof Uint8Array,
|
|
2096
|
-
if (!
|
|
2095
|
+
const Cd = (r) => r instanceof Uint8Array, wg = (r) => new Uint32Array(r.buffer, r.byteOffset, Math.floor(r.byteLength / 4)), _c = (r) => new DataView(r.buffer, r.byteOffset, r.byteLength), Bt = (r, e) => r << 32 - e | r >>> e, bg = new Uint8Array(new Uint32Array([287454020]).buffer)[0] === 68;
|
|
2096
|
+
if (!bg)
|
|
2097
2097
|
throw new Error("Non little-endian hardware is not supported");
|
|
2098
|
-
function
|
|
2098
|
+
function Ag(r) {
|
|
2099
2099
|
if (typeof r != "string")
|
|
2100
2100
|
throw new Error(`utf8ToBytes expected string, got ${typeof r}`);
|
|
2101
2101
|
return new Uint8Array(new TextEncoder().encode(r));
|
|
2102
2102
|
}
|
|
2103
2103
|
function qa(r) {
|
|
2104
|
-
if (typeof r == "string" && (r =
|
|
2104
|
+
if (typeof r == "string" && (r = Ag(r)), !Cd(r))
|
|
2105
2105
|
throw new Error(`expected Uint8Array, got ${typeof r}`);
|
|
2106
2106
|
return r;
|
|
2107
2107
|
}
|
|
2108
|
-
function
|
|
2108
|
+
function Eg(...r) {
|
|
2109
2109
|
const e = new Uint8Array(r.reduce((n, s) => n + s.length, 0));
|
|
2110
2110
|
let t = 0;
|
|
2111
2111
|
return r.forEach((n) => {
|
|
@@ -2124,14 +2124,14 @@ function Gl(r) {
|
|
|
2124
2124
|
const e = (n) => r().update(qa(n)).digest(), t = r();
|
|
2125
2125
|
return e.outputLen = t.outputLen, e.blockLen = t.blockLen, e.create = () => r(), e;
|
|
2126
2126
|
}
|
|
2127
|
-
function
|
|
2127
|
+
function Cg(r = 32) {
|
|
2128
2128
|
if (Tc && typeof Tc.getRandomValues == "function")
|
|
2129
2129
|
return Tc.getRandomValues(new Uint8Array(r));
|
|
2130
2130
|
throw new Error("crypto.getRandomValues must be defined");
|
|
2131
2131
|
}
|
|
2132
2132
|
class vd extends Hl {
|
|
2133
2133
|
constructor(e, t) {
|
|
2134
|
-
super(), this.finished = !1, this.destroyed = !1,
|
|
2134
|
+
super(), this.finished = !1, this.destroyed = !1, yg(e);
|
|
2135
2135
|
const n = qa(t);
|
|
2136
2136
|
if (this.iHash = e.create(), typeof this.iHash.update != "function")
|
|
2137
2137
|
throw new Error("Expected instance of class which extends utils.Hash");
|
|
@@ -2166,7 +2166,7 @@ class vd extends Hl {
|
|
|
2166
2166
|
}
|
|
2167
2167
|
const Id = (r, e, t) => new vd(r, e).update(t).digest();
|
|
2168
2168
|
Id.create = (r, e) => new vd(r, e);
|
|
2169
|
-
function
|
|
2169
|
+
function vg(r, e, t, n) {
|
|
2170
2170
|
if (typeof r.setBigUint64 == "function")
|
|
2171
2171
|
return r.setBigUint64(e, t, n);
|
|
2172
2172
|
const s = BigInt(32), i = BigInt(4294967295), o = Number(t >> s & i), a = Number(t & i), c = n ? 4 : 0, l = n ? 0 : 4;
|
|
@@ -2200,7 +2200,7 @@ class Nd extends Hl {
|
|
|
2200
2200
|
t[o++] = 128, this.buffer.subarray(o).fill(0), this.padOffset > s - o && (this.process(n, 0), o = 0);
|
|
2201
2201
|
for (let d = o; d < s; d++)
|
|
2202
2202
|
t[d] = 0;
|
|
2203
|
-
|
|
2203
|
+
vg(n, s - 8, BigInt(this.length * 8), i), this.process(n, 0);
|
|
2204
2204
|
const a = _c(e), c = this.outputLen;
|
|
2205
2205
|
if (c % 4)
|
|
2206
2206
|
throw new Error("_sha2: outputLen should be aligned to 32bit");
|
|
@@ -2222,7 +2222,7 @@ class Nd extends Hl {
|
|
|
2222
2222
|
return e.length = s, e.pos = a, e.finished = i, e.destroyed = o, s % t && e.buffer.set(n), e;
|
|
2223
2223
|
}
|
|
2224
2224
|
}
|
|
2225
|
-
const
|
|
2225
|
+
const Ig = (r, e, t) => r & e ^ ~r & t, Ng = (r, e, t) => r & e ^ r & t ^ e & t, Sg = /* @__PURE__ */ new Uint32Array([
|
|
2226
2226
|
1116352408,
|
|
2227
2227
|
1899447441,
|
|
2228
2228
|
3049323471,
|
|
@@ -2297,7 +2297,7 @@ const Cg = (r, e, t) => r & e ^ ~r & t, vg = (r, e, t) => r & e ^ r & t ^ e & t,
|
|
|
2297
2297
|
528734635,
|
|
2298
2298
|
1541459225
|
|
2299
2299
|
]), Bn = /* @__PURE__ */ new Uint32Array(64);
|
|
2300
|
-
class
|
|
2300
|
+
class kg extends Nd {
|
|
2301
2301
|
constructor() {
|
|
2302
2302
|
super(64, 32, 8, !1), this.A = _n[0] | 0, this.B = _n[1] | 0, this.C = _n[2] | 0, this.D = _n[3] | 0, this.E = _n[4] | 0, this.F = _n[5] | 0, this.G = _n[6] | 0, this.H = _n[7] | 0;
|
|
2303
2303
|
}
|
|
@@ -2318,7 +2318,7 @@ class Ng extends Nd {
|
|
|
2318
2318
|
}
|
|
2319
2319
|
let { A: n, B: s, C: i, D: o, E: a, F: c, G: l, H: h } = this;
|
|
2320
2320
|
for (let d = 0; d < 64; d++) {
|
|
2321
|
-
const f = Bt(a, 6) ^ Bt(a, 11) ^ Bt(a, 25), g = h + f +
|
|
2321
|
+
const f = Bt(a, 6) ^ Bt(a, 11) ^ Bt(a, 25), g = h + f + Ig(a, c, l) + Sg[d] + Bn[d] | 0, m = (Bt(n, 2) ^ Bt(n, 13) ^ Bt(n, 22)) + Ng(n, s, i) | 0;
|
|
2322
2322
|
h = l, l = c, c = a, a = o + g | 0, o = i, i = s, s = n, n = g + m | 0;
|
|
2323
2323
|
}
|
|
2324
2324
|
n = n + this.A | 0, s = s + this.B | 0, i = i + this.C | 0, o = o + this.D | 0, a = a + this.E | 0, c = c + this.F | 0, l = l + this.G | 0, h = h + this.H | 0, this.set(n, s, i, o, a, c, l, h);
|
|
@@ -2330,7 +2330,7 @@ class Ng extends Nd {
|
|
|
2330
2330
|
this.set(0, 0, 0, 0, 0, 0, 0, 0), this.buffer.fill(0);
|
|
2331
2331
|
}
|
|
2332
2332
|
}
|
|
2333
|
-
const Sd = /* @__PURE__ */ Gl(() => new
|
|
2333
|
+
const Sd = /* @__PURE__ */ Gl(() => new kg()), qo = /* @__PURE__ */ BigInt(2 ** 32 - 1), ul = /* @__PURE__ */ BigInt(32);
|
|
2334
2334
|
function kd(r, e = !1) {
|
|
2335
2335
|
return e ? { h: Number(r & qo), l: Number(r >> ul & qo) } : { h: Number(r >> ul & qo) | 0, l: Number(r & qo) | 0 };
|
|
2336
2336
|
}
|
|
@@ -2342,35 +2342,35 @@ function xd(r, e = !1) {
|
|
|
2342
2342
|
}
|
|
2343
2343
|
return [t, n];
|
|
2344
2344
|
}
|
|
2345
|
-
const
|
|
2346
|
-
function
|
|
2345
|
+
const xg = (r, e) => BigInt(r >>> 0) << ul | BigInt(e >>> 0), Pg = (r, e, t) => r >>> t, Rg = (r, e, t) => r << 32 - t | e >>> t, Og = (r, e, t) => r >>> t | e << 32 - t, Tg = (r, e, t) => r << 32 - t | e >>> t, _g = (r, e, t) => r << 64 - t | e >>> t - 32, Bg = (r, e, t) => r >>> t - 32 | e << 64 - t, Lg = (r, e) => e, Mg = (r, e) => r, Pd = (r, e, t) => r << t | e >>> 32 - t, Rd = (r, e, t) => e << t | r >>> 32 - t, Od = (r, e, t) => e << t - 32 | r >>> 64 - t, Td = (r, e, t) => r << t - 32 | e >>> 64 - t;
|
|
2346
|
+
function Dg(r, e, t, n) {
|
|
2347
2347
|
const s = (e >>> 0) + (n >>> 0);
|
|
2348
2348
|
return { h: r + t + (s / 2 ** 32 | 0) | 0, l: s | 0 };
|
|
2349
2349
|
}
|
|
2350
|
-
const
|
|
2350
|
+
const Ug = (r, e, t) => (r >>> 0) + (e >>> 0) + (t >>> 0), Fg = (r, e, t, n) => e + t + n + (r / 2 ** 32 | 0) | 0, Hg = (r, e, t, n) => (r >>> 0) + (e >>> 0) + (t >>> 0) + (n >>> 0), Gg = (r, e, t, n, s) => e + t + n + s + (r / 2 ** 32 | 0) | 0, Kg = (r, e, t, n, s) => (r >>> 0) + (e >>> 0) + (t >>> 0) + (n >>> 0) + (s >>> 0), jg = (r, e, t, n, s, i) => e + t + n + s + i + (r / 2 ** 32 | 0) | 0, G = {
|
|
2351
2351
|
fromBig: kd,
|
|
2352
2352
|
split: xd,
|
|
2353
|
-
toBig:
|
|
2354
|
-
shrSH:
|
|
2355
|
-
shrSL:
|
|
2356
|
-
rotrSH:
|
|
2357
|
-
rotrSL:
|
|
2358
|
-
rotrBH:
|
|
2359
|
-
rotrBL:
|
|
2360
|
-
rotr32H:
|
|
2361
|
-
rotr32L:
|
|
2353
|
+
toBig: xg,
|
|
2354
|
+
shrSH: Pg,
|
|
2355
|
+
shrSL: Rg,
|
|
2356
|
+
rotrSH: Og,
|
|
2357
|
+
rotrSL: Tg,
|
|
2358
|
+
rotrBH: _g,
|
|
2359
|
+
rotrBL: Bg,
|
|
2360
|
+
rotr32H: Lg,
|
|
2361
|
+
rotr32L: Mg,
|
|
2362
2362
|
rotlSH: Pd,
|
|
2363
2363
|
rotlSL: Rd,
|
|
2364
2364
|
rotlBH: Od,
|
|
2365
2365
|
rotlBL: Td,
|
|
2366
|
-
add:
|
|
2367
|
-
add3L:
|
|
2368
|
-
add3H:
|
|
2369
|
-
add4L:
|
|
2370
|
-
add4H:
|
|
2371
|
-
add5H:
|
|
2372
|
-
add5L:
|
|
2373
|
-
}, [
|
|
2366
|
+
add: Dg,
|
|
2367
|
+
add3L: Ug,
|
|
2368
|
+
add3H: Fg,
|
|
2369
|
+
add4L: Hg,
|
|
2370
|
+
add4H: Gg,
|
|
2371
|
+
add5H: jg,
|
|
2372
|
+
add5L: Kg
|
|
2373
|
+
}, [Vg, Wg] = G.split([
|
|
2374
2374
|
"0x428a2f98d728ae22",
|
|
2375
2375
|
"0x7137449123ef65cd",
|
|
2376
2376
|
"0xb5c0fbcfec4d3b2f",
|
|
@@ -2452,7 +2452,7 @@ const Mg = (r, e, t) => (r >>> 0) + (e >>> 0) + (t >>> 0), Dg = (r, e, t, n) =>
|
|
|
2452
2452
|
"0x5fcb6fab3ad6faec",
|
|
2453
2453
|
"0x6c44198c4a475817"
|
|
2454
2454
|
].map((r) => BigInt(r))), Ln = /* @__PURE__ */ new Uint32Array(80), Mn = /* @__PURE__ */ new Uint32Array(80);
|
|
2455
|
-
class
|
|
2455
|
+
class Qg extends Nd {
|
|
2456
2456
|
constructor() {
|
|
2457
2457
|
super(128, 64, 16, !1), this.Ah = 1779033703, this.Al = -205731576, this.Bh = -1150833019, this.Bl = -2067093701, this.Ch = 1013904242, this.Cl = -23791573, this.Dh = -1521486534, this.Dl = 1595750129, this.Eh = 1359893119, this.El = -1377402159, this.Fh = -1694144372, this.Fl = 725511199, this.Gh = 528734635, this.Gl = -79577749, this.Hh = 1541459225, this.Hl = 327033209;
|
|
2458
2458
|
}
|
|
@@ -2474,7 +2474,7 @@ class Vg extends Nd {
|
|
|
2474
2474
|
}
|
|
2475
2475
|
let { Ah: n, Al: s, Bh: i, Bl: o, Ch: a, Cl: c, Dh: l, Dl: h, Eh: d, El: f, Fh: g, Fl: w, Gh: m, Gl: E, Hh: C, Hl: S } = this;
|
|
2476
2476
|
for (let N = 0; N < 80; N++) {
|
|
2477
|
-
const _ = G.rotrSH(d, f, 14) ^ G.rotrSH(d, f, 18) ^ G.rotrBH(d, f, 41), x = G.rotrSL(d, f, 14) ^ G.rotrSL(d, f, 18) ^ G.rotrBL(d, f, 41), P = d & g ^ ~d & m, M = f & w ^ ~f & E, D = G.add5L(S, x, M,
|
|
2477
|
+
const _ = G.rotrSH(d, f, 14) ^ G.rotrSH(d, f, 18) ^ G.rotrBH(d, f, 41), x = G.rotrSL(d, f, 14) ^ G.rotrSL(d, f, 18) ^ G.rotrBL(d, f, 41), P = d & g ^ ~d & m, M = f & w ^ ~f & E, D = G.add5L(S, x, M, Wg[N], Mn[N]), q = G.add5H(D, C, _, P, Vg[N], Ln[N]), Q = D | 0, z = G.rotrSH(n, s, 28) ^ G.rotrBH(n, s, 34) ^ G.rotrBH(n, s, 39), fe = G.rotrSL(n, s, 28) ^ G.rotrBL(n, s, 34) ^ G.rotrBL(n, s, 39), be = n & i ^ n & a ^ i & a, Ot = s & o ^ s & c ^ o & c;
|
|
2478
2478
|
C = m | 0, S = E | 0, m = g | 0, E = w | 0, g = d | 0, w = f | 0, { h: d, l: f } = G.add(l | 0, h | 0, q | 0, Q | 0), l = a | 0, h = c | 0, a = i | 0, c = o | 0, i = n | 0, o = s | 0;
|
|
2479
2479
|
const k = G.add3L(Q, fe, Ot);
|
|
2480
2480
|
n = G.add3H(k, q, z, be), s = k | 0;
|
|
@@ -2488,8 +2488,8 @@ class Vg extends Nd {
|
|
|
2488
2488
|
this.buffer.fill(0), this.set(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
|
2489
2489
|
}
|
|
2490
2490
|
}
|
|
2491
|
-
const
|
|
2492
|
-
function
|
|
2491
|
+
const zg = /* @__PURE__ */ Gl(() => new Qg());
|
|
2492
|
+
function Jg() {
|
|
2493
2493
|
if (typeof self < "u")
|
|
2494
2494
|
return self;
|
|
2495
2495
|
if (typeof window < "u")
|
|
@@ -2498,27 +2498,27 @@ function Qg() {
|
|
|
2498
2498
|
return Aa;
|
|
2499
2499
|
throw new Error("unable to locate global object");
|
|
2500
2500
|
}
|
|
2501
|
-
const Bu =
|
|
2501
|
+
const Bu = Jg();
|
|
2502
2502
|
Bu.crypto || Bu.msCrypto;
|
|
2503
|
-
function
|
|
2503
|
+
function qg(r) {
|
|
2504
2504
|
switch (r) {
|
|
2505
2505
|
case "sha256":
|
|
2506
2506
|
return Sd.create();
|
|
2507
2507
|
case "sha512":
|
|
2508
|
-
return
|
|
2508
|
+
return zg.create();
|
|
2509
2509
|
}
|
|
2510
2510
|
y(!1, "invalid hashing algorithm name", "algorithm", r);
|
|
2511
2511
|
}
|
|
2512
|
-
const [_d, Bd, Ld] = [[], [], []],
|
|
2512
|
+
const [_d, Bd, Ld] = [[], [], []], Zg = /* @__PURE__ */ BigInt(0), Ki = /* @__PURE__ */ BigInt(1), $g = /* @__PURE__ */ BigInt(2), Yg = /* @__PURE__ */ BigInt(7), Xg = /* @__PURE__ */ BigInt(256), e0 = /* @__PURE__ */ BigInt(113);
|
|
2513
2513
|
for (let r = 0, e = Ki, t = 1, n = 0; r < 24; r++) {
|
|
2514
2514
|
[t, n] = [n, (2 * t + 3 * n) % 5], _d.push(2 * (5 * n + t)), Bd.push((r + 1) * (r + 2) / 2 % 64);
|
|
2515
|
-
let s =
|
|
2515
|
+
let s = Zg;
|
|
2516
2516
|
for (let i = 0; i < 7; i++)
|
|
2517
|
-
e = (e << Ki ^ (e >>
|
|
2517
|
+
e = (e << Ki ^ (e >> Yg) * e0) % Xg, e & $g && (s ^= Ki << (Ki << /* @__PURE__ */ BigInt(i)) - Ki);
|
|
2518
2518
|
Ld.push(s);
|
|
2519
2519
|
}
|
|
2520
|
-
const [
|
|
2521
|
-
function
|
|
2520
|
+
const [t0, n0] = /* @__PURE__ */ xd(Ld, !0), Lu = (r, e, t) => t > 32 ? Od(r, e, t) : Pd(r, e, t), Mu = (r, e, t) => t > 32 ? Td(r, e, t) : Rd(r, e, t);
|
|
2521
|
+
function r0(r, e = 24) {
|
|
2522
2522
|
const t = new Uint32Array(10);
|
|
2523
2523
|
for (let n = 24 - e; n < 24; n++) {
|
|
2524
2524
|
for (let o = 0; o < 10; o++)
|
|
@@ -2539,7 +2539,7 @@ function t0(r, e = 24) {
|
|
|
2539
2539
|
for (let a = 0; a < 10; a++)
|
|
2540
2540
|
r[o + a] ^= ~t[(a + 2) % 10] & t[(a + 4) % 10];
|
|
2541
2541
|
}
|
|
2542
|
-
r[0] ^=
|
|
2542
|
+
r[0] ^= t0[n], r[1] ^= n0[n];
|
|
2543
2543
|
}
|
|
2544
2544
|
t.fill(0);
|
|
2545
2545
|
}
|
|
@@ -2548,10 +2548,10 @@ class Kl extends Hl {
|
|
|
2548
2548
|
constructor(e, t, n, s = !1, i = 24) {
|
|
2549
2549
|
if (super(), this.blockLen = e, this.suffix = t, this.outputLen = n, this.enableXOF = s, this.rounds = i, this.pos = 0, this.posOut = 0, this.finished = !1, this.destroyed = !1, Ia(n), 0 >= this.blockLen || this.blockLen >= 200)
|
|
2550
2550
|
throw new Error("Sha3 supports only keccak-f1600 function");
|
|
2551
|
-
this.state = new Uint8Array(200), this.state32 =
|
|
2551
|
+
this.state = new Uint8Array(200), this.state32 = wg(this.state);
|
|
2552
2552
|
}
|
|
2553
2553
|
keccak() {
|
|
2554
|
-
|
|
2554
|
+
r0(this.state32, this.rounds), this.posOut = 0, this.pos = 0;
|
|
2555
2555
|
}
|
|
2556
2556
|
update(e) {
|
|
2557
2557
|
ki(this);
|
|
@@ -2607,10 +2607,10 @@ class Kl extends Hl {
|
|
|
2607
2607
|
return e || (e = new Kl(t, n, s, o, i)), e.state32.set(this.state32), e.pos = this.pos, e.posOut = this.posOut, e.finished = this.finished, e.rounds = i, e.suffix = n, e.outputLen = s, e.enableXOF = o, e.destroyed = this.destroyed, e;
|
|
2608
2608
|
}
|
|
2609
2609
|
}
|
|
2610
|
-
const
|
|
2610
|
+
const s0 = (r, e, t) => Gl(() => new Kl(e, r, t)), i0 = /* @__PURE__ */ s0(1, 136, 256 / 8);
|
|
2611
2611
|
let Md = !1;
|
|
2612
2612
|
const Dd = function(r) {
|
|
2613
|
-
return
|
|
2613
|
+
return i0(r);
|
|
2614
2614
|
};
|
|
2615
2615
|
let Ud = Dd;
|
|
2616
2616
|
function he(r) {
|
|
@@ -2628,7 +2628,7 @@ he.register = function(r) {
|
|
|
2628
2628
|
};
|
|
2629
2629
|
Object.freeze(he);
|
|
2630
2630
|
const Fd = function(r) {
|
|
2631
|
-
return
|
|
2631
|
+
return qg("sha256").update(r).digest();
|
|
2632
2632
|
};
|
|
2633
2633
|
let Hd = Fd, Gd = !1;
|
|
2634
2634
|
function Mi(r) {
|
|
@@ -2647,13 +2647,13 @@ Mi.register = function(r) {
|
|
|
2647
2647
|
Object.freeze(Mi);
|
|
2648
2648
|
Object.freeze(Mi);
|
|
2649
2649
|
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
2650
|
-
const Kd = BigInt(0), Za = BigInt(1),
|
|
2650
|
+
const Kd = BigInt(0), Za = BigInt(1), o0 = BigInt(2), $a = (r) => r instanceof Uint8Array, a0 = /* @__PURE__ */ Array.from({ length: 256 }, (r, e) => e.toString(16).padStart(2, "0"));
|
|
2651
2651
|
function xi(r) {
|
|
2652
2652
|
if (!$a(r))
|
|
2653
2653
|
throw new Error("Uint8Array expected");
|
|
2654
2654
|
let e = "";
|
|
2655
2655
|
for (let t = 0; t < r.length; t++)
|
|
2656
|
-
e +=
|
|
2656
|
+
e += a0[r[t]];
|
|
2657
2657
|
return e;
|
|
2658
2658
|
}
|
|
2659
2659
|
function jd(r) {
|
|
@@ -2694,7 +2694,7 @@ function Ri(r, e) {
|
|
|
2694
2694
|
function Wl(r, e) {
|
|
2695
2695
|
return Ri(r, e).reverse();
|
|
2696
2696
|
}
|
|
2697
|
-
function
|
|
2697
|
+
function c0(r) {
|
|
2698
2698
|
return Pi(jd(r));
|
|
2699
2699
|
}
|
|
2700
2700
|
function wt(r, e, t) {
|
|
@@ -2723,7 +2723,7 @@ function Xi(...r) {
|
|
|
2723
2723
|
e.set(n, t), t += n.length;
|
|
2724
2724
|
}), e;
|
|
2725
2725
|
}
|
|
2726
|
-
function
|
|
2726
|
+
function l0(r, e) {
|
|
2727
2727
|
if (r.length !== e.length)
|
|
2728
2728
|
return !1;
|
|
2729
2729
|
for (let t = 0; t < r.length; t++)
|
|
@@ -2731,21 +2731,21 @@ function a0(r, e) {
|
|
|
2731
2731
|
return !1;
|
|
2732
2732
|
return !0;
|
|
2733
2733
|
}
|
|
2734
|
-
function
|
|
2734
|
+
function u0(r) {
|
|
2735
2735
|
if (typeof r != "string")
|
|
2736
2736
|
throw new Error(`utf8ToBytes expected string, got ${typeof r}`);
|
|
2737
2737
|
return new Uint8Array(new TextEncoder().encode(r));
|
|
2738
2738
|
}
|
|
2739
|
-
function
|
|
2739
|
+
function h0(r) {
|
|
2740
2740
|
let e;
|
|
2741
2741
|
for (e = 0; r > Kd; r >>= Za, e += 1)
|
|
2742
2742
|
;
|
|
2743
2743
|
return e;
|
|
2744
2744
|
}
|
|
2745
|
-
function
|
|
2745
|
+
function d0(r, e) {
|
|
2746
2746
|
return r >> BigInt(e) & Za;
|
|
2747
2747
|
}
|
|
2748
|
-
const
|
|
2748
|
+
const f0 = (r, e, t) => r | (t ? Za : Kd) << BigInt(e), Ql = (r) => (o0 << BigInt(r - 1)) - Za, Bc = (r) => new Uint8Array(r), Du = (r) => Uint8Array.from(r);
|
|
2749
2749
|
function Vd(r, e, t) {
|
|
2750
2750
|
if (typeof r != "number" || r < 2)
|
|
2751
2751
|
throw new Error("hashLen must be a number");
|
|
@@ -2778,7 +2778,7 @@ function Vd(r, e, t) {
|
|
|
2778
2778
|
return o(), g;
|
|
2779
2779
|
};
|
|
2780
2780
|
}
|
|
2781
|
-
const
|
|
2781
|
+
const p0 = {
|
|
2782
2782
|
bigint: (r) => typeof r == "bigint",
|
|
2783
2783
|
function: (r) => typeof r == "function",
|
|
2784
2784
|
boolean: (r) => typeof r == "boolean",
|
|
@@ -2791,7 +2791,7 @@ const d0 = {
|
|
|
2791
2791
|
};
|
|
2792
2792
|
function Mo(r, e, t = {}) {
|
|
2793
2793
|
const n = (s, i, o) => {
|
|
2794
|
-
const a =
|
|
2794
|
+
const a = p0[i];
|
|
2795
2795
|
if (typeof a != "function")
|
|
2796
2796
|
throw new Error(`Invalid validator "${i}", expected function`);
|
|
2797
2797
|
const c = r[s];
|
|
@@ -2804,37 +2804,37 @@ function Mo(r, e, t = {}) {
|
|
|
2804
2804
|
n(s, i, !0);
|
|
2805
2805
|
return r;
|
|
2806
2806
|
}
|
|
2807
|
-
const
|
|
2807
|
+
const g0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2808
2808
|
__proto__: null,
|
|
2809
|
-
bitGet:
|
|
2810
|
-
bitLen:
|
|
2809
|
+
bitGet: d0,
|
|
2810
|
+
bitLen: h0,
|
|
2811
2811
|
bitMask: Ql,
|
|
2812
|
-
bitSet:
|
|
2812
|
+
bitSet: f0,
|
|
2813
2813
|
bytesToHex: xi,
|
|
2814
2814
|
bytesToNumberBE: Jr,
|
|
2815
2815
|
bytesToNumberLE: Vl,
|
|
2816
2816
|
concatBytes: Xi,
|
|
2817
2817
|
createHmacDrbg: Vd,
|
|
2818
2818
|
ensureBytes: wt,
|
|
2819
|
-
equalBytes:
|
|
2819
|
+
equalBytes: l0,
|
|
2820
2820
|
hexToBytes: Pi,
|
|
2821
2821
|
hexToNumber: jl,
|
|
2822
2822
|
numberToBytesBE: Ri,
|
|
2823
2823
|
numberToBytesLE: Wl,
|
|
2824
2824
|
numberToHexUnpadded: jd,
|
|
2825
|
-
numberToVarBytesBE:
|
|
2826
|
-
utf8ToBytes:
|
|
2825
|
+
numberToVarBytesBE: c0,
|
|
2826
|
+
utf8ToBytes: u0,
|
|
2827
2827
|
validateObject: Mo
|
|
2828
2828
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2829
2829
|
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
2830
|
-
const we = BigInt(0), ce = BigInt(1), pr = BigInt(2),
|
|
2830
|
+
const we = BigInt(0), ce = BigInt(1), pr = BigInt(2), m0 = BigInt(3), hl = BigInt(4), Uu = BigInt(5), Fu = BigInt(8);
|
|
2831
2831
|
BigInt(9);
|
|
2832
2832
|
BigInt(16);
|
|
2833
2833
|
function je(r, e) {
|
|
2834
2834
|
const t = r % e;
|
|
2835
2835
|
return t >= we ? t : e + t;
|
|
2836
2836
|
}
|
|
2837
|
-
function
|
|
2837
|
+
function y0(r, e, t) {
|
|
2838
2838
|
if (t <= we || e < we)
|
|
2839
2839
|
throw new Error("Expected power/modulo > 0");
|
|
2840
2840
|
if (t === ce)
|
|
@@ -2862,12 +2862,12 @@ function dl(r, e) {
|
|
|
2862
2862
|
throw new Error("invert: does not exist");
|
|
2863
2863
|
return je(s, e);
|
|
2864
2864
|
}
|
|
2865
|
-
function
|
|
2865
|
+
function w0(r) {
|
|
2866
2866
|
const e = (r - ce) / pr;
|
|
2867
2867
|
let t, n, s;
|
|
2868
2868
|
for (t = r - ce, n = 0; t % pr === we; t /= pr, n++)
|
|
2869
2869
|
;
|
|
2870
|
-
for (s = pr; s < r &&
|
|
2870
|
+
for (s = pr; s < r && y0(s, e, r) !== r - ce; s++)
|
|
2871
2871
|
;
|
|
2872
2872
|
if (n === 1) {
|
|
2873
2873
|
const o = (r + ce) / hl;
|
|
@@ -2895,8 +2895,8 @@ function m0(r) {
|
|
|
2895
2895
|
return d;
|
|
2896
2896
|
};
|
|
2897
2897
|
}
|
|
2898
|
-
function
|
|
2899
|
-
if (r % hl ===
|
|
2898
|
+
function b0(r) {
|
|
2899
|
+
if (r % hl === m0) {
|
|
2900
2900
|
const e = (r + ce) / hl;
|
|
2901
2901
|
return function(n, s) {
|
|
2902
2902
|
const i = n.pow(s, e);
|
|
@@ -2914,9 +2914,9 @@ function y0(r) {
|
|
|
2914
2914
|
return l;
|
|
2915
2915
|
};
|
|
2916
2916
|
}
|
|
2917
|
-
return
|
|
2917
|
+
return w0(r);
|
|
2918
2918
|
}
|
|
2919
|
-
const
|
|
2919
|
+
const A0 = [
|
|
2920
2920
|
"create",
|
|
2921
2921
|
"isValid",
|
|
2922
2922
|
"is0",
|
|
@@ -2935,16 +2935,16 @@ const w0 = [
|
|
|
2935
2935
|
"mulN",
|
|
2936
2936
|
"sqrN"
|
|
2937
2937
|
];
|
|
2938
|
-
function
|
|
2938
|
+
function E0(r) {
|
|
2939
2939
|
const e = {
|
|
2940
2940
|
ORDER: "bigint",
|
|
2941
2941
|
MASK: "bigint",
|
|
2942
2942
|
BYTES: "isSafeInteger",
|
|
2943
2943
|
BITS: "isSafeInteger"
|
|
2944
|
-
}, t =
|
|
2944
|
+
}, t = A0.reduce((n, s) => (n[s] = "function", n), e);
|
|
2945
2945
|
return Mo(r, t);
|
|
2946
2946
|
}
|
|
2947
|
-
function
|
|
2947
|
+
function C0(r, e, t) {
|
|
2948
2948
|
if (t < we)
|
|
2949
2949
|
throw new Error("Expected power > 0");
|
|
2950
2950
|
if (t === we)
|
|
@@ -2956,7 +2956,7 @@ function A0(r, e, t) {
|
|
|
2956
2956
|
t & ce && (n = r.mul(n, s)), s = r.sqr(s), t >>= ce;
|
|
2957
2957
|
return n;
|
|
2958
2958
|
}
|
|
2959
|
-
function
|
|
2959
|
+
function v0(r, e) {
|
|
2960
2960
|
const t = new Array(e.length), n = e.reduce((i, o, a) => r.is0(o) ? i : (t[a] = i, r.mul(i, o)), r.ONE), s = r.inv(n);
|
|
2961
2961
|
return e.reduceRight((i, o, a) => r.is0(o) ? i : (t[a] = r.mul(i, t[a]), r.mul(i, o)), s), t;
|
|
2962
2962
|
}
|
|
@@ -2964,13 +2964,13 @@ function Wd(r, e) {
|
|
|
2964
2964
|
const t = e !== void 0 ? e : r.toString(2).length, n = Math.ceil(t / 8);
|
|
2965
2965
|
return { nBitLength: t, nByteLength: n };
|
|
2966
2966
|
}
|
|
2967
|
-
function
|
|
2967
|
+
function I0(r, e, t = !1, n = {}) {
|
|
2968
2968
|
if (r <= we)
|
|
2969
2969
|
throw new Error(`Expected Field ORDER > 0, got ${r}`);
|
|
2970
2970
|
const { nBitLength: s, nByteLength: i } = Wd(r, e);
|
|
2971
2971
|
if (i > 2048)
|
|
2972
2972
|
throw new Error("Field lengths over 2048 bytes are not supported");
|
|
2973
|
-
const o =
|
|
2973
|
+
const o = b0(r), a = Object.freeze({
|
|
2974
2974
|
ORDER: r,
|
|
2975
2975
|
BITS: s,
|
|
2976
2976
|
BYTES: i,
|
|
@@ -2991,7 +2991,7 @@ function C0(r, e, t = !1, n = {}) {
|
|
|
2991
2991
|
add: (c, l) => je(c + l, r),
|
|
2992
2992
|
sub: (c, l) => je(c - l, r),
|
|
2993
2993
|
mul: (c, l) => je(c * l, r),
|
|
2994
|
-
pow: (c, l) =>
|
|
2994
|
+
pow: (c, l) => C0(a, c, l),
|
|
2995
2995
|
div: (c, l) => je(c * dl(l, r), r),
|
|
2996
2996
|
// Same as above, but doesn't normalize
|
|
2997
2997
|
sqrN: (c) => c * c,
|
|
@@ -3000,7 +3000,7 @@ function C0(r, e, t = !1, n = {}) {
|
|
|
3000
3000
|
mulN: (c, l) => c * l,
|
|
3001
3001
|
inv: (c) => dl(c, r),
|
|
3002
3002
|
sqrt: n.sqrt || ((c) => o(a, c)),
|
|
3003
|
-
invertBatch: (c) =>
|
|
3003
|
+
invertBatch: (c) => v0(a, c),
|
|
3004
3004
|
// TODO: do we really need constant cmov?
|
|
3005
3005
|
// We don't have const-time bigints anyway, so probably will be not very useful
|
|
3006
3006
|
cmov: (c, l, h) => h ? l : c,
|
|
@@ -3023,7 +3023,7 @@ function zd(r) {
|
|
|
3023
3023
|
const e = Qd(r);
|
|
3024
3024
|
return e + Math.ceil(e / 2);
|
|
3025
3025
|
}
|
|
3026
|
-
function
|
|
3026
|
+
function N0(r, e, t = !1) {
|
|
3027
3027
|
const n = r.length, s = Qd(e), i = zd(e);
|
|
3028
3028
|
if (n < 16 || n < i || n > 1024)
|
|
3029
3029
|
throw new Error(`expected ${i}-1024 bytes of input, got ${n}`);
|
|
@@ -3031,8 +3031,8 @@ function v0(r, e, t = !1) {
|
|
|
3031
3031
|
return t ? Wl(a, s) : Ri(a, s);
|
|
3032
3032
|
}
|
|
3033
3033
|
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
3034
|
-
const
|
|
3035
|
-
function
|
|
3034
|
+
const S0 = BigInt(0), Lc = BigInt(1);
|
|
3035
|
+
function k0(r, e) {
|
|
3036
3036
|
const t = (s, i) => {
|
|
3037
3037
|
const o = i.negate();
|
|
3038
3038
|
return s ? o : i;
|
|
@@ -3045,7 +3045,7 @@ function N0(r, e) {
|
|
|
3045
3045
|
// non-const time multiplication ladder
|
|
3046
3046
|
unsafeLadder(s, i) {
|
|
3047
3047
|
let o = r.ZERO, a = s;
|
|
3048
|
-
for (; i >
|
|
3048
|
+
for (; i > S0; )
|
|
3049
3049
|
i & Lc && (o = o.add(a)), a = a.double(), i >>= Lc;
|
|
3050
3050
|
return o;
|
|
3051
3051
|
},
|
|
@@ -3098,7 +3098,7 @@ function N0(r, e) {
|
|
|
3098
3098
|
};
|
|
3099
3099
|
}
|
|
3100
3100
|
function Jd(r) {
|
|
3101
|
-
return
|
|
3101
|
+
return E0(r.Fp), Mo(r, {
|
|
3102
3102
|
n: "bigint",
|
|
3103
3103
|
h: "bigint",
|
|
3104
3104
|
Gx: "field",
|
|
@@ -3113,7 +3113,7 @@ function Jd(r) {
|
|
|
3113
3113
|
});
|
|
3114
3114
|
}
|
|
3115
3115
|
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
3116
|
-
function
|
|
3116
|
+
function x0(r) {
|
|
3117
3117
|
const e = Jd(r);
|
|
3118
3118
|
Mo(e, {
|
|
3119
3119
|
a: "field",
|
|
@@ -3136,7 +3136,7 @@ function S0(r) {
|
|
|
3136
3136
|
}
|
|
3137
3137
|
return Object.freeze({ ...e });
|
|
3138
3138
|
}
|
|
3139
|
-
const { bytesToNumberBE:
|
|
3139
|
+
const { bytesToNumberBE: P0, hexToBytes: R0 } = g0, Ar = {
|
|
3140
3140
|
// asn.1 DER encoding utils
|
|
3141
3141
|
Err: class extends Error {
|
|
3142
3142
|
constructor(e = "") {
|
|
@@ -3154,10 +3154,10 @@ const { bytesToNumberBE: k0, hexToBytes: x0 } = f0, Ar = {
|
|
|
3154
3154
|
throw new e("Invalid signature integer: negative");
|
|
3155
3155
|
if (n[0] === 0 && !(n[1] & 128))
|
|
3156
3156
|
throw new e("Invalid signature integer: unnecessary leading zero");
|
|
3157
|
-
return { d:
|
|
3157
|
+
return { d: P0(n), l: r.subarray(t + 2) };
|
|
3158
3158
|
},
|
|
3159
3159
|
toSig(r) {
|
|
3160
|
-
const { Err: e } = Ar, t = typeof r == "string" ?
|
|
3160
|
+
const { Err: e } = Ar, t = typeof r == "string" ? R0(r) : r;
|
|
3161
3161
|
if (!(t instanceof Uint8Array))
|
|
3162
3162
|
throw new Error("ui8a expected");
|
|
3163
3163
|
let n = t.length;
|
|
@@ -3181,8 +3181,8 @@ const { bytesToNumberBE: k0, hexToBytes: x0 } = f0, Ar = {
|
|
|
3181
3181
|
BigInt(2);
|
|
3182
3182
|
const Hu = BigInt(3);
|
|
3183
3183
|
BigInt(4);
|
|
3184
|
-
function
|
|
3185
|
-
const e =
|
|
3184
|
+
function O0(r) {
|
|
3185
|
+
const e = x0(r), { Fp: t } = e, n = e.toBytes || ((w, m, E) => {
|
|
3186
3186
|
const C = m.toAffine();
|
|
3187
3187
|
return Xi(Uint8Array.from([4]), t.toBytes(C.x), t.toBytes(C.y));
|
|
3188
3188
|
}), s = e.fromBytes || ((w) => {
|
|
@@ -3430,7 +3430,7 @@ function P0(r) {
|
|
|
3430
3430
|
}
|
|
3431
3431
|
}
|
|
3432
3432
|
d.BASE = new d(e.Gx, e.Gy, t.ONE), d.ZERO = new d(t.ZERO, t.ONE, t.ZERO);
|
|
3433
|
-
const f = e.nBitLength, g =
|
|
3433
|
+
const f = e.nBitLength, g = k0(d, e.endo ? Math.ceil(f / 2) : f);
|
|
3434
3434
|
return {
|
|
3435
3435
|
CURVE: e,
|
|
3436
3436
|
ProjectivePoint: d,
|
|
@@ -3439,7 +3439,7 @@ function P0(r) {
|
|
|
3439
3439
|
isWithinCurveOrder: o
|
|
3440
3440
|
};
|
|
3441
3441
|
}
|
|
3442
|
-
function
|
|
3442
|
+
function T0(r) {
|
|
3443
3443
|
const e = Jd(r);
|
|
3444
3444
|
return Mo(e, {
|
|
3445
3445
|
hash: "hash",
|
|
@@ -3451,8 +3451,8 @@ function R0(r) {
|
|
|
3451
3451
|
lowS: "boolean"
|
|
3452
3452
|
}), Object.freeze({ lowS: !0, ...e });
|
|
3453
3453
|
}
|
|
3454
|
-
function
|
|
3455
|
-
const e =
|
|
3454
|
+
function _0(r) {
|
|
3455
|
+
const e = T0(r), { Fp: t, n } = e, s = t.BYTES + 1, i = 2 * t.BYTES + 1;
|
|
3456
3456
|
function o(k) {
|
|
3457
3457
|
return Cn < k && k < t.ORDER;
|
|
3458
3458
|
}
|
|
@@ -3462,7 +3462,7 @@ function O0(r) {
|
|
|
3462
3462
|
function c(k) {
|
|
3463
3463
|
return dl(k, n);
|
|
3464
3464
|
}
|
|
3465
|
-
const { ProjectivePoint: l, normPrivateKeyToScalar: h, weierstrassEquation: d, isWithinCurveOrder: f } =
|
|
3465
|
+
const { ProjectivePoint: l, normPrivateKeyToScalar: h, weierstrassEquation: d, isWithinCurveOrder: f } = O0({
|
|
3466
3466
|
...e,
|
|
3467
3467
|
toBytes(k, B, K) {
|
|
3468
3468
|
const ee = B.toAffine(), Y = t.toBytes(ee.x), pe = Xi;
|
|
@@ -3566,7 +3566,7 @@ function O0(r) {
|
|
|
3566
3566
|
*/
|
|
3567
3567
|
randomPrivateKey: () => {
|
|
3568
3568
|
const k = zd(e.n);
|
|
3569
|
-
return
|
|
3569
|
+
return N0(e.randomBytes(k), e.n);
|
|
3570
3570
|
},
|
|
3571
3571
|
/**
|
|
3572
3572
|
* Creates precompute table for an arbitrary EC point. Makes point "cached".
|
|
@@ -3685,26 +3685,26 @@ function O0(r) {
|
|
|
3685
3685
|
};
|
|
3686
3686
|
}
|
|
3687
3687
|
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
3688
|
-
function
|
|
3688
|
+
function B0(r) {
|
|
3689
3689
|
return {
|
|
3690
3690
|
hash: r,
|
|
3691
|
-
hmac: (e, ...t) => Id(r, e,
|
|
3692
|
-
randomBytes:
|
|
3691
|
+
hmac: (e, ...t) => Id(r, e, Eg(...t)),
|
|
3692
|
+
randomBytes: Cg
|
|
3693
3693
|
};
|
|
3694
3694
|
}
|
|
3695
|
-
function
|
|
3696
|
-
const t = (n) =>
|
|
3695
|
+
function L0(r, e) {
|
|
3696
|
+
const t = (n) => _0({ ...r, ...B0(n) });
|
|
3697
3697
|
return Object.freeze({ ...t(e), create: t });
|
|
3698
3698
|
}
|
|
3699
3699
|
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
3700
|
-
const qd = BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"), Gu = BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),
|
|
3701
|
-
function
|
|
3700
|
+
const qd = BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"), Gu = BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"), M0 = BigInt(1), fl = BigInt(2), Ku = (r, e) => (r + e / fl) / e;
|
|
3701
|
+
function D0(r) {
|
|
3702
3702
|
const e = qd, t = BigInt(3), n = BigInt(6), s = BigInt(11), i = BigInt(22), o = BigInt(23), a = BigInt(44), c = BigInt(88), l = r * r * r % e, h = l * l * r % e, d = tt(h, t, e) * h % e, f = tt(d, t, e) * h % e, g = tt(f, fl, e) * l % e, w = tt(g, s, e) * g % e, m = tt(w, i, e) * w % e, E = tt(m, a, e) * m % e, C = tt(E, c, e) * E % e, S = tt(C, a, e) * m % e, N = tt(S, t, e) * h % e, _ = tt(N, o, e) * w % e, x = tt(_, n, e) * l % e, P = tt(x, fl, e);
|
|
3703
3703
|
if (!pl.eql(pl.sqr(P), r))
|
|
3704
3704
|
throw new Error("Cannot find square root");
|
|
3705
3705
|
return P;
|
|
3706
3706
|
}
|
|
3707
|
-
const pl =
|
|
3707
|
+
const pl = I0(qd, void 0, void 0, { sqrt: D0 }), Un = L0({
|
|
3708
3708
|
a: BigInt(0),
|
|
3709
3709
|
b: BigInt(7),
|
|
3710
3710
|
Fp: pl,
|
|
@@ -3723,7 +3723,7 @@ const pl = C0(qd, void 0, void 0, { sqrt: L0 }), Un = _0({
|
|
|
3723
3723
|
endo: {
|
|
3724
3724
|
beta: BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),
|
|
3725
3725
|
splitScalar: (r) => {
|
|
3726
|
-
const e = Gu, t = BigInt("0x3086d221a7d46bcde86c90e49284eb15"), n = -
|
|
3726
|
+
const e = Gu, t = BigInt("0x3086d221a7d46bcde86c90e49284eb15"), n = -M0 * BigInt("0xe4437ed6010e88286f547fa90abfe4c3"), s = BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"), i = t, o = BigInt("0x100000000000000000000000000000000"), a = Ku(i * r, e), c = Ku(-n * r, e);
|
|
3727
3727
|
let l = je(r - a * t - c * s, e), h = je(-a * n - c * i, e);
|
|
3728
3728
|
const d = l > o, f = h > o;
|
|
3729
3729
|
if (d && (l = e - l), f && (h = e - h), l > o || h > o)
|
|
@@ -4136,7 +4136,7 @@ const mr = class mr {
|
|
|
4136
4136
|
};
|
|
4137
4137
|
fn = new WeakMap();
|
|
4138
4138
|
let to = mr;
|
|
4139
|
-
const
|
|
4139
|
+
const U0 = BigInt(0), F0 = BigInt(36);
|
|
4140
4140
|
function Zu(r) {
|
|
4141
4141
|
r = r.toLowerCase();
|
|
4142
4142
|
const e = r.substring(2).split(""), t = new Uint8Array(40);
|
|
@@ -4153,7 +4153,7 @@ for (let r = 0; r < 10; r++)
|
|
|
4153
4153
|
for (let r = 0; r < 26; r++)
|
|
4154
4154
|
zl[String.fromCharCode(65 + r)] = String(10 + r);
|
|
4155
4155
|
const $u = 15;
|
|
4156
|
-
function
|
|
4156
|
+
function H0(r) {
|
|
4157
4157
|
r = r.toUpperCase(), r = r.substring(4) + r.substring(0, 2) + "00";
|
|
4158
4158
|
let e = r.split("").map((n) => zl[n]).join("");
|
|
4159
4159
|
for (; e.length >= $u; ) {
|
|
@@ -4165,7 +4165,7 @@ function U0(r) {
|
|
|
4165
4165
|
t = "0" + t;
|
|
4166
4166
|
return t;
|
|
4167
4167
|
}
|
|
4168
|
-
const
|
|
4168
|
+
const G0 = function() {
|
|
4169
4169
|
const r = {};
|
|
4170
4170
|
for (let e = 0; e < 36; e++) {
|
|
4171
4171
|
const t = "0123456789abcdefghijklmnopqrstuvwxyz"[e];
|
|
@@ -4173,11 +4173,11 @@ const F0 = function() {
|
|
|
4173
4173
|
}
|
|
4174
4174
|
return r;
|
|
4175
4175
|
}();
|
|
4176
|
-
function
|
|
4176
|
+
function K0(r) {
|
|
4177
4177
|
r = r.toLowerCase();
|
|
4178
|
-
let e =
|
|
4178
|
+
let e = U0;
|
|
4179
4179
|
for (let t = 0; t < r.length; t++)
|
|
4180
|
-
e = e *
|
|
4180
|
+
e = e * F0 + G0[r[t]];
|
|
4181
4181
|
return e;
|
|
4182
4182
|
}
|
|
4183
4183
|
function $(r) {
|
|
@@ -4187,15 +4187,15 @@ function $(r) {
|
|
|
4187
4187
|
return y(!r.match(/([A-F].*[a-f])|([a-f].*[A-F])/) || e === r, "bad address checksum", "address", r), e;
|
|
4188
4188
|
}
|
|
4189
4189
|
if (r.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)) {
|
|
4190
|
-
y(r.substring(2, 4) ===
|
|
4191
|
-
let e =
|
|
4190
|
+
y(r.substring(2, 4) === H0(r), "bad icap checksum", "address", r);
|
|
4191
|
+
let e = K0(r.substring(4)).toString(16);
|
|
4192
4192
|
for (; e.length < 40; )
|
|
4193
4193
|
e = "0" + e;
|
|
4194
4194
|
return Zu("0x" + e);
|
|
4195
4195
|
}
|
|
4196
4196
|
y(!1, "invalid address", "address", r);
|
|
4197
4197
|
}
|
|
4198
|
-
function
|
|
4198
|
+
function j0(r) {
|
|
4199
4199
|
const e = $(r.from);
|
|
4200
4200
|
let n = T(r.nonce, "tx.nonce").toString(16);
|
|
4201
4201
|
return n === "0" ? n = "0x" : n.length % 2 ? n = "0x0" + n : n = "0x" + n, $(ie(he($r([e, n])), 12));
|
|
@@ -4974,7 +4974,7 @@ const sn = class sn {
|
|
|
4974
4974
|
};
|
|
4975
4975
|
_r = new WeakMap();
|
|
4976
4976
|
let Pe = sn;
|
|
4977
|
-
class
|
|
4977
|
+
class V0 extends kn {
|
|
4978
4978
|
constructor(e) {
|
|
4979
4979
|
super("address", "address", e, !1);
|
|
4980
4980
|
}
|
|
@@ -4994,7 +4994,7 @@ class K0 extends kn {
|
|
|
4994
4994
|
return $(ar(e.readValue(), 20));
|
|
4995
4995
|
}
|
|
4996
4996
|
}
|
|
4997
|
-
class
|
|
4997
|
+
class W0 extends kn {
|
|
4998
4998
|
constructor(t) {
|
|
4999
4999
|
super(t.name, t.type, "_", t.dynamic);
|
|
5000
5000
|
A(this, "coder");
|
|
@@ -5067,7 +5067,7 @@ function Yd(r, e) {
|
|
|
5067
5067
|
t.push(o), n.push(i.localName || null);
|
|
5068
5068
|
}), Si.fromItems(t, n);
|
|
5069
5069
|
}
|
|
5070
|
-
class
|
|
5070
|
+
class Q0 extends kn {
|
|
5071
5071
|
constructor(t, n, s) {
|
|
5072
5072
|
const i = t.type + "[" + (n >= 0 ? n : "") + "]", o = n === -1 || t.dynamic;
|
|
5073
5073
|
super("array", i, s, o);
|
|
@@ -5096,11 +5096,11 @@ class V0 extends kn {
|
|
|
5096
5096
|
n === -1 && (n = t.readIndex(), v(n * De <= t.dataLength, "insufficient data length", "BUFFER_OVERRUN", { buffer: t.bytes, offset: n * De, length: t.dataLength }));
|
|
5097
5097
|
let s = [];
|
|
5098
5098
|
for (let i = 0; i < n; i++)
|
|
5099
|
-
s.push(new
|
|
5099
|
+
s.push(new W0(this.coder));
|
|
5100
5100
|
return Yd(t, s);
|
|
5101
5101
|
}
|
|
5102
5102
|
}
|
|
5103
|
-
class
|
|
5103
|
+
class z0 extends kn {
|
|
5104
5104
|
constructor(e) {
|
|
5105
5105
|
super("bool", "bool", e, !1);
|
|
5106
5106
|
}
|
|
@@ -5131,7 +5131,7 @@ class Xd extends kn {
|
|
|
5131
5131
|
return e.readBytes(e.readIndex(), !0);
|
|
5132
5132
|
}
|
|
5133
5133
|
}
|
|
5134
|
-
class
|
|
5134
|
+
class J0 extends Xd {
|
|
5135
5135
|
constructor(e) {
|
|
5136
5136
|
super("bytes", e);
|
|
5137
5137
|
}
|
|
@@ -5139,7 +5139,7 @@ class Q0 extends Xd {
|
|
|
5139
5139
|
return O(super.decode(e));
|
|
5140
5140
|
}
|
|
5141
5141
|
}
|
|
5142
|
-
class
|
|
5142
|
+
class q0 extends kn {
|
|
5143
5143
|
constructor(t, n) {
|
|
5144
5144
|
let s = "bytes" + String(t);
|
|
5145
5145
|
super(s, s, n, !1);
|
|
@@ -5157,8 +5157,8 @@ class z0 extends kn {
|
|
|
5157
5157
|
return O(t.readBytes(this.size));
|
|
5158
5158
|
}
|
|
5159
5159
|
}
|
|
5160
|
-
const
|
|
5161
|
-
class
|
|
5160
|
+
const Z0 = new Uint8Array([]);
|
|
5161
|
+
class $0 extends kn {
|
|
5162
5162
|
constructor(e) {
|
|
5163
5163
|
super("null", "", e, !1);
|
|
5164
5164
|
}
|
|
@@ -5166,14 +5166,14 @@ class q0 extends kn {
|
|
|
5166
5166
|
return null;
|
|
5167
5167
|
}
|
|
5168
5168
|
encode(e, t) {
|
|
5169
|
-
return t != null && this._throwError("not null", t), e.writeBytes(
|
|
5169
|
+
return t != null && this._throwError("not null", t), e.writeBytes(Z0);
|
|
5170
5170
|
}
|
|
5171
5171
|
decode(e) {
|
|
5172
5172
|
return e.readBytes(0), null;
|
|
5173
5173
|
}
|
|
5174
5174
|
}
|
|
5175
|
-
const
|
|
5176
|
-
class
|
|
5175
|
+
const Y0 = BigInt(0), X0 = BigInt(1), em = BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");
|
|
5176
|
+
class tm extends kn {
|
|
5177
5177
|
constructor(t, n, s) {
|
|
5178
5178
|
const i = (n ? "int" : "uint") + t * 8;
|
|
5179
5179
|
super(i, i, s, !1);
|
|
@@ -5185,12 +5185,12 @@ class X0 extends kn {
|
|
|
5185
5185
|
return 0;
|
|
5186
5186
|
}
|
|
5187
5187
|
encode(t, n) {
|
|
5188
|
-
let s = T(Pe.dereference(n, this.type)), i = br(
|
|
5188
|
+
let s = T(Pe.dereference(n, this.type)), i = br(em, De * 8);
|
|
5189
5189
|
if (this.signed) {
|
|
5190
5190
|
let o = br(i, this.size * 8 - 1);
|
|
5191
|
-
(s > o || s < -(o +
|
|
5191
|
+
(s > o || s < -(o + X0)) && this._throwError("value out-of-bounds", n), s = cd(s, 8 * De);
|
|
5192
5192
|
} else
|
|
5193
|
-
(s <
|
|
5193
|
+
(s < Y0 || s > br(i, this.size * 8)) && this._throwError("value out-of-bounds", n);
|
|
5194
5194
|
return t.writeValue(s);
|
|
5195
5195
|
}
|
|
5196
5196
|
decode(t) {
|
|
@@ -5198,7 +5198,7 @@ class X0 extends kn {
|
|
|
5198
5198
|
return this.signed && (n = Ea(n, this.size * 8)), n;
|
|
5199
5199
|
}
|
|
5200
5200
|
}
|
|
5201
|
-
class
|
|
5201
|
+
class nm extends Xd {
|
|
5202
5202
|
constructor(e) {
|
|
5203
5203
|
super("string", e);
|
|
5204
5204
|
}
|
|
@@ -5249,9 +5249,9 @@ class $o extends kn {
|
|
|
5249
5249
|
function Yr(r) {
|
|
5250
5250
|
return he(qt(r));
|
|
5251
5251
|
}
|
|
5252
|
-
var tm = "AEEUdwmgDS8BxQKKAP4BOgDjATAAngDUAIMAoABoAOAAagCOAEQAhABMAHIAOwA9ACsANgAmAGIAHgAuACgAJwAXAC0AGgAjAB8ALwAUACkAEgAeAAkAGwARABkAFgA5ACgALQArADcAFQApABAAHgAiABAAGgAeABMAGAUhBe8BFxREN8sF2wC5AK5HAW8ArQkDzQCuhzc3NzcBP68NEfMABQdHBuw5BV8FYAA9MzkI9r4ZBg7QyQAWA9CeOwLNCjcCjqkChuA/lm+RAsXTAoP6ASfnEQDytQFJAjWVCkeXAOsA6godAB/cwdAUE0WlBCN/AQUCQRjFD/MRBjHxDQSJbw0jBzUAswBxme+tnIcAYwabAysG8QAjAEMMmxcDqgPKQyDXCMMxA7kUQwD3NXOrAKmFIAAfBC0D3x4BJQDBGdUFAhEgVD8JnwmQJiNWYUzrg0oAGwAUAB0AFnNcACkAFgBP9h3gPfsDOWDKneY2ChglX1UDYD30ABsAFAAdABZzIGRAnwDD8wAjAEEMzRbDqgMB2sAFYwXqAtCnAsS4AwpUJKRtFHsadUz9AMMVbwLpABM1NJEX0ZkCgYMBEyMAxRVvAukAEzUBUFAtmUwSAy4DBTER33EftQHfSwB5MxJ/AjkWKQLzL8E/cwBB6QH9LQDPDtO9ASNriQC5DQANAwCK21EFI91zHwCoL9kBqQcHBwcHKzUDowBvAQohPvU3fAQgHwCyAc8CKQMA5zMSezr7ULgFmDp/LzVQBgEGAi8FYQVgt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W2FlWfZFQUwk867EdLYKk9VG6JgEnBiBxkY7LMo4YLQJJlAo9l/oTvJkSARDF/XtyAzM8O2t3eT/iXa6wDN3WewNmQHdPfsxChU/KtLG2Mn8i4ZqKdSlIaBZadxJmRzVS/o4yA65RTSViq60oa395Lqw0pzY4SipwE0SXXsKV+GZraGSkr/RW08wPRvqvSUkYBMA9lPx4m24az+IHmCbXA+0faxTRE9wuGeO06DIXa6QlKJ3puIyiuAVfPr736vzo2pBirS+Vxel3TMm3JKhz9o2ZoRvaFVpIkykb0Hcm4oHFBMcNSNj7/4GJt43ogonY2Vg4nsDQIWxAcorpXACzgBqQPjYsE/VUpXpwNManEru4NwMCFPkXvMoqvoeLN3qyu/N1eWEHttMD65v19l/0kH2mR35iv/FI+yjoHJ9gPMz67af3Mq/BoWXqu3rphiWMXVkmnPSEkpGpUI2h1MThideGFEOK6YZHPwYzMBvpNC7+ZHxPb7epfefGyIB4JzO9DTNEYnDLVVHdQyvOEVefrk6Uv5kTQYVYWWdqrdcIl7yljwwIWdfQ/y+2QB3eR/qxYObuYyB4gTbo2in4PzarU1sO9nETkmj9/AoxDA+JM3GMqQtJR4jtduHtnoCLxd1gQUscHRB/MoRYIEsP2pDZ9KvHgtlk1iTbWWbHhohwFEYX7y51fUV2nuUmnoUcqnWIQAAgl9LTVX+Bc0QGNEhChxHR4YjfE51PUdGfsSFE6ck7BL3/hTf9jLq4G1IafINxOLKeAtO7quulYvH5YOBc+zX7CrMgWnW47/jfRsWnJjYYoE7xMfWV2HN2iyIqLI";
|
|
5253
5253
|
const Xu = /* @__PURE__ */ new Map([[8217, "apostrophe"], [8260, "fraction slash"], [12539, "middle dot"]]), eh = 4;
|
|
5254
|
-
function
|
|
5254
|
+
function sm(r) {
|
|
5255
5255
|
let e = 0;
|
|
5256
5256
|
function t() {
|
|
5257
5257
|
return r[e++] << 8 | r[e++];
|
|
@@ -5300,14 +5300,14 @@ function nm(r) {
|
|
|
5300
5300
|
}
|
|
5301
5301
|
});
|
|
5302
5302
|
}
|
|
5303
|
-
function
|
|
5303
|
+
function im(r) {
|
|
5304
5304
|
let e = 0;
|
|
5305
5305
|
return () => r[e++];
|
|
5306
5306
|
}
|
|
5307
5307
|
function ef(r) {
|
|
5308
|
-
return
|
|
5308
|
+
return im(sm(om(r)));
|
|
5309
5309
|
}
|
|
5310
|
-
function
|
|
5310
|
+
function om(r) {
|
|
5311
5311
|
let e = [];
|
|
5312
5312
|
[..."ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"].forEach((s, i) => e[s.charCodeAt(0)] = i);
|
|
5313
5313
|
let t = r.length, n = new Uint8Array(6 * t >> 3);
|
|
@@ -5315,13 +5315,13 @@ function sm(r) {
|
|
|
5315
5315
|
a = a << 6 | e[r.charCodeAt(s)], o += 6, o >= 8 && (n[i++] = a >> (o -= 8));
|
|
5316
5316
|
return n;
|
|
5317
5317
|
}
|
|
5318
|
-
function
|
|
5318
|
+
function am(r) {
|
|
5319
5319
|
return r & 1 ? ~r >> 1 : r >> 1;
|
|
5320
5320
|
}
|
|
5321
|
-
function
|
|
5321
|
+
function cm(r, e) {
|
|
5322
5322
|
let t = Array(r);
|
|
5323
5323
|
for (let n = 0, s = 0; n < r; n++)
|
|
5324
|
-
t[n] = s +=
|
|
5324
|
+
t[n] = s += am(e());
|
|
5325
5325
|
return t;
|
|
5326
5326
|
}
|
|
5327
5327
|
function no(r, e = 0) {
|
|
@@ -5350,13 +5350,13 @@ function nf(r) {
|
|
|
5350
5350
|
let t = r();
|
|
5351
5351
|
if (t == 0)
|
|
5352
5352
|
break;
|
|
5353
|
-
e.push(
|
|
5353
|
+
e.push(lm(t, r));
|
|
5354
5354
|
}
|
|
5355
5355
|
for (; ; ) {
|
|
5356
5356
|
let t = r() - 1;
|
|
5357
5357
|
if (t < 0)
|
|
5358
5358
|
break;
|
|
5359
|
-
e.push(
|
|
5359
|
+
e.push(um(t, r));
|
|
5360
5360
|
}
|
|
5361
5361
|
return e.flat();
|
|
5362
5362
|
}
|
|
@@ -5373,10 +5373,10 @@ function ro(r) {
|
|
|
5373
5373
|
function rf(r, e, t) {
|
|
5374
5374
|
let n = Array(r).fill().map(() => []);
|
|
5375
5375
|
for (let s = 0; s < e; s++)
|
|
5376
|
-
|
|
5376
|
+
cm(r, t).forEach((i, o) => n[o].push(i));
|
|
5377
5377
|
return n;
|
|
5378
5378
|
}
|
|
5379
|
-
function
|
|
5379
|
+
function lm(r, e) {
|
|
5380
5380
|
let t = 1 + e(), n = e(), s = ro(e);
|
|
5381
5381
|
return rf(s.length, 1 + r, e).flatMap((o, a) => {
|
|
5382
5382
|
let [c, ...l] = o;
|
|
@@ -5386,11 +5386,11 @@ function am(r, e) {
|
|
|
5386
5386
|
});
|
|
5387
5387
|
});
|
|
5388
5388
|
}
|
|
5389
|
-
function
|
|
5389
|
+
function um(r, e) {
|
|
5390
5390
|
let t = 1 + e();
|
|
5391
5391
|
return rf(t, 1 + r, e).map((s) => [s[0], s.slice(1)]);
|
|
5392
5392
|
}
|
|
5393
|
-
function
|
|
5393
|
+
function hm(r) {
|
|
5394
5394
|
let e = [], t = no(r);
|
|
5395
5395
|
return s(n([]), []), e;
|
|
5396
5396
|
function n(i) {
|
|
@@ -5410,13 +5410,13 @@ function lm(r) {
|
|
|
5410
5410
|
}
|
|
5411
5411
|
}
|
|
5412
5412
|
}
|
|
5413
|
-
function
|
|
5413
|
+
function dm(r) {
|
|
5414
5414
|
return r.toString(16).toUpperCase().padStart(2, "0");
|
|
5415
5415
|
}
|
|
5416
5416
|
function sf(r) {
|
|
5417
|
-
return `{${
|
|
5417
|
+
return `{${dm(r)}}`;
|
|
5418
5418
|
}
|
|
5419
|
-
function
|
|
5419
|
+
function fm(r) {
|
|
5420
5420
|
let e = [];
|
|
5421
5421
|
for (let t = 0, n = r.length; t < n; ) {
|
|
5422
5422
|
let s = r.codePointAt(t);
|
|
@@ -5433,14 +5433,14 @@ function Oi(r) {
|
|
|
5433
5433
|
n.push(String.fromCodePoint(...r.slice(s, s += 4096)));
|
|
5434
5434
|
return n.join("");
|
|
5435
5435
|
}
|
|
5436
|
-
function
|
|
5436
|
+
function pm(r, e) {
|
|
5437
5437
|
let t = r.length, n = t - e.length;
|
|
5438
5438
|
for (let s = 0; n == 0 && s < t; s++)
|
|
5439
5439
|
n = r[s] - e[s];
|
|
5440
5440
|
return n;
|
|
5441
5441
|
}
|
|
5442
|
-
var
|
|
5443
|
-
const so = 44032, Na = 4352, Sa = 4449, ka = 4519, of = 19, af = 21, Ti = 28, xa = af * Ti,
|
|
5442
|
+
var gm = "AEUDTAHBCFQATQDRADAAcgAgADQAFAAsABQAHwAOACQADQARAAoAFwAHABIACAAPAAUACwAFAAwABAAQAAMABwAEAAoABQAIAAIACgABAAQAFAALAAIACwABAAIAAQAHAAMAAwAEAAsADAAMAAwACgANAA0AAwAKAAkABAAdAAYAZwDSAdsDJgC0CkMB8xhZAqfoC190UGcThgBurwf7PT09Pb09AjgJum8OjDllxHYUKXAPxzq6tABAxgK8ysUvWAgMPT09PT09PSs6LT2HcgWXWwFLoSMEEEl5RFVMKvO0XQ8ExDdJMnIgsj26PTQyy8FfEQ8AY8IPAGcEbwRwBHEEcgRzBHQEdQR2BHcEeAR6BHsEfAR+BIAEgfndBQoBYgULAWIFDAFiBNcE2ATZBRAFEQUvBdALFAsVDPcNBw13DYcOMA4xDjMB4BllHI0B2grbAMDpHLkQ7QHVAPRNQQFnGRUEg0yEB2uaJF8AJpIBpob5AERSMAKNoAXqaQLUBMCzEiACnwRZEkkVsS7tANAsBG0RuAQLEPABv9HICTUBXigPZwRBApMDOwAamhtaABqEAY8KvKx3LQ4ArAB8UhwEBAVSagD8AEFZADkBIadVj2UMUgx5Il4ANQC9AxIB1BlbEPMAs30CGxlXAhwZKQIECBc6EbsCoxngzv7UzRQA8M0BawL6ZwkN7wABAD33OQRcsgLJCjMCjqUChtw/km+NAsXPAoP2BT84PwURAK0RAvptb6cApQS/OMMey5HJS84UdxpxTPkCogV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51259GgNcJbCmlvrdjtoTW7rChm1wyCKzpCTwozUUEOIcWLneRLgMXh+SjGSFkAllzbGS5HK7LlfCMRNRDSvbQPjcXaenNYxCvu2Qyznz6StuxVj66SgI0T8B6/sfHAJYZaZ78thjOSIFumNWLQbeZixDCCC+v0YBtkxiBB3jefHqZ/dFHU+crbj6OvS1x/JDD7vlm7zOVPwpUC01nhxZuY/63E7g";
|
|
5443
|
+
const so = 44032, Na = 4352, Sa = 4449, ka = 4519, of = 19, af = 21, Ti = 28, xa = af * Ti, mm = of * xa, ym = so + mm, wm = Na + of, bm = Sa + af, Am = ka + Ti;
|
|
5444
5444
|
function Wi(r) {
|
|
5445
5445
|
return r >> 24 & 255;
|
|
5446
5446
|
}
|
|
@@ -5448,8 +5448,8 @@ function cf(r) {
|
|
|
5448
5448
|
return r & 16777215;
|
|
5449
5449
|
}
|
|
5450
5450
|
let gl, th, ml, ua;
|
|
5451
|
-
function
|
|
5452
|
-
let r = ef(
|
|
5451
|
+
function Em() {
|
|
5452
|
+
let r = ef(gm);
|
|
5453
5453
|
gl = new Map(tf(r).flatMap((e, t) => e.map((n) => [n, t + 1 << 24]))), th = new Set(no(r)), ml = /* @__PURE__ */ new Map(), ua = /* @__PURE__ */ new Map();
|
|
5454
5454
|
for (let [e, t] of nf(r)) {
|
|
5455
5455
|
if (!th.has(e) && t.length == 2) {
|
|
@@ -5460,12 +5460,12 @@ function bm() {
|
|
|
5460
5460
|
}
|
|
5461
5461
|
}
|
|
5462
5462
|
function lf(r) {
|
|
5463
|
-
return r >= so && r <
|
|
5463
|
+
return r >= so && r < ym;
|
|
5464
5464
|
}
|
|
5465
|
-
function
|
|
5466
|
-
if (r >= Na && r <
|
|
5465
|
+
function Cm(r, e) {
|
|
5466
|
+
if (r >= Na && r < wm && e >= Sa && e < bm)
|
|
5467
5467
|
return so + (r - Na) * xa + (e - Sa) * Ti;
|
|
5468
|
-
if (lf(r) && e > ka && e <
|
|
5468
|
+
if (lf(r) && e > ka && e < Am && (r - so) % Ti == 0)
|
|
5469
5469
|
return r + (e - ka);
|
|
5470
5470
|
{
|
|
5471
5471
|
let t = ua.get(r);
|
|
@@ -5473,7 +5473,7 @@ function Am(r, e) {
|
|
|
5473
5473
|
}
|
|
5474
5474
|
}
|
|
5475
5475
|
function uf(r) {
|
|
5476
|
-
gl ||
|
|
5476
|
+
gl || Em();
|
|
5477
5477
|
let e = [], t = [], n = !1;
|
|
5478
5478
|
function s(i) {
|
|
5479
5479
|
let o = gl.get(i);
|
|
@@ -5513,7 +5513,7 @@ function uf(r) {
|
|
|
5513
5513
|
}
|
|
5514
5514
|
return e;
|
|
5515
5515
|
}
|
|
5516
|
-
function
|
|
5516
|
+
function vm(r) {
|
|
5517
5517
|
let e = [], t = [], n = -1, s = 0;
|
|
5518
5518
|
for (let i of r) {
|
|
5519
5519
|
let o = Wi(i), a = cf(i);
|
|
@@ -5522,7 +5522,7 @@ function Em(r) {
|
|
|
5522
5522
|
else if (s > 0 && s >= o)
|
|
5523
5523
|
o == 0 ? (e.push(n, ...t), t.length = 0, n = a) : t.push(a), s = o;
|
|
5524
5524
|
else {
|
|
5525
|
-
let c =
|
|
5525
|
+
let c = Cm(n, a);
|
|
5526
5526
|
c >= 0 ? n = c : s == 0 && o == 0 ? (e.push(n), n = a) : (t.push(a), s = o);
|
|
5527
5527
|
}
|
|
5528
5528
|
}
|
|
@@ -5531,14 +5531,14 @@ function Em(r) {
|
|
|
5531
5531
|
function hf(r) {
|
|
5532
5532
|
return uf(r).map(cf);
|
|
5533
5533
|
}
|
|
5534
|
-
function
|
|
5535
|
-
return
|
|
5534
|
+
function Im(r) {
|
|
5535
|
+
return vm(uf(r));
|
|
5536
5536
|
}
|
|
5537
5537
|
const nh = 45, df = ".", ff = 65039, pf = 1, Pa = (r) => Array.from(r);
|
|
5538
5538
|
function io(r, e) {
|
|
5539
5539
|
return r.P.has(e) || r.Q.has(e);
|
|
5540
5540
|
}
|
|
5541
|
-
class
|
|
5541
|
+
class Nm extends Array {
|
|
5542
5542
|
get is_emoji() {
|
|
5543
5543
|
return !0;
|
|
5544
5544
|
}
|
|
@@ -5548,7 +5548,7 @@ let yl, gf, Er, wl, mf, Os, Dc, ws, dr, rh, bl;
|
|
|
5548
5548
|
function Jl() {
|
|
5549
5549
|
if (yl)
|
|
5550
5550
|
return;
|
|
5551
|
-
let r = ef(
|
|
5551
|
+
let r = ef(rm);
|
|
5552
5552
|
const e = () => no(r), t = () => new Set(e()), n = (h, d) => d.forEach((f) => h.add(f));
|
|
5553
5553
|
yl = new Map(nf(r)), gf = t(), Er = e(), wl = new Set(e().map((h) => Er[h])), Er = new Set(Er), mf = t(), t();
|
|
5554
5554
|
let s = tf(r), i = r();
|
|
@@ -5594,7 +5594,7 @@ function Jl() {
|
|
|
5594
5594
|
}
|
|
5595
5595
|
for (let h of dr)
|
|
5596
5596
|
!ws.has(h) && !c.has(h) && ws.set(h, pf);
|
|
5597
|
-
n(dr, hf(dr)), rh =
|
|
5597
|
+
n(dr, hf(dr)), rh = hm(r).map((h) => Nm.from(h)).sort(pm), bl = /* @__PURE__ */ new Map();
|
|
5598
5598
|
for (let h of rh) {
|
|
5599
5599
|
let d = [bl];
|
|
5600
5600
|
for (let f of h) {
|
|
@@ -5614,16 +5614,16 @@ function ql(r) {
|
|
|
5614
5614
|
function Zl(r) {
|
|
5615
5615
|
return `"${r}"`;
|
|
5616
5616
|
}
|
|
5617
|
-
function
|
|
5617
|
+
function Sm(r) {
|
|
5618
5618
|
if (r.length >= 4 && r[2] == nh && r[3] == nh)
|
|
5619
5619
|
throw new Error(`invalid label extension: "${Oi(r.slice(0, 4))}"`);
|
|
5620
5620
|
}
|
|
5621
|
-
function
|
|
5621
|
+
function km(r) {
|
|
5622
5622
|
for (let t = r.lastIndexOf(95); t > 0; )
|
|
5623
5623
|
if (r[--t] !== 95)
|
|
5624
5624
|
throw new Error("underscore allowed only at start");
|
|
5625
5625
|
}
|
|
5626
|
-
function
|
|
5626
|
+
function xm(r) {
|
|
5627
5627
|
let e = r[0], t = Xu.get(e);
|
|
5628
5628
|
if (t)
|
|
5629
5629
|
throw Zi(`leading ${t}`);
|
|
@@ -5642,7 +5642,7 @@ function Sm(r) {
|
|
|
5642
5642
|
}
|
|
5643
5643
|
function Ya(r, e = 1 / 0, t = sf) {
|
|
5644
5644
|
let n = [];
|
|
5645
|
-
|
|
5645
|
+
Pm(r[0]) && n.push("◌"), r.length > e && (e >>= 1, r = [...r.slice(0, e), 8230, ...r.slice(-e)]);
|
|
5646
5646
|
let s = 0, i = r.length;
|
|
5647
5647
|
for (let o = 0; o < i; o++) {
|
|
5648
5648
|
let a = r[o];
|
|
@@ -5650,34 +5650,34 @@ function Ya(r, e = 1 / 0, t = sf) {
|
|
|
5650
5650
|
}
|
|
5651
5651
|
return n.push(Oi(r.slice(s, i))), n.join("");
|
|
5652
5652
|
}
|
|
5653
|
-
function
|
|
5653
|
+
function Pm(r) {
|
|
5654
5654
|
return Jl(), Er.has(r);
|
|
5655
5655
|
}
|
|
5656
5656
|
function yf(r) {
|
|
5657
5657
|
return Jl(), mf.has(r);
|
|
5658
5658
|
}
|
|
5659
|
-
function
|
|
5660
|
-
return
|
|
5659
|
+
function Rm(r) {
|
|
5660
|
+
return Bm(Om(r, Im, Dm));
|
|
5661
5661
|
}
|
|
5662
|
-
function
|
|
5662
|
+
function Om(r, e, t) {
|
|
5663
5663
|
if (!r)
|
|
5664
5664
|
return [];
|
|
5665
5665
|
Jl();
|
|
5666
5666
|
let n = 0;
|
|
5667
5667
|
return r.split(df).map((s) => {
|
|
5668
|
-
let i =
|
|
5668
|
+
let i = fm(s), o = {
|
|
5669
5669
|
input: i,
|
|
5670
5670
|
offset: n
|
|
5671
5671
|
// codepoint, not substring!
|
|
5672
5672
|
};
|
|
5673
5673
|
n += i.length + 1;
|
|
5674
5674
|
try {
|
|
5675
|
-
let a = o.tokens =
|
|
5675
|
+
let a = o.tokens = Mm(i, e, t), c = a.length, l;
|
|
5676
5676
|
if (!c)
|
|
5677
5677
|
throw new Error("empty label");
|
|
5678
5678
|
let h = o.output = a.flat();
|
|
5679
|
-
if (
|
|
5680
|
-
|
|
5679
|
+
if (km(h), !(o.emoji = c > 1 || a[0].is_emoji) && h.every((f) => f < 128))
|
|
5680
|
+
Sm(h), l = "ASCII";
|
|
5681
5681
|
else {
|
|
5682
5682
|
let f = a.flatMap((g) => g.is_emoji ? [] : g);
|
|
5683
5683
|
if (!f.length)
|
|
@@ -5690,9 +5690,9 @@ function Pm(r, e, t) {
|
|
|
5690
5690
|
if (!E.is_emoji && Er.has(E[0]))
|
|
5691
5691
|
throw Zi(`emoji + combining mark: "${Oi(a[m - 1])} + ${Ya([E[0]])}"`);
|
|
5692
5692
|
}
|
|
5693
|
-
|
|
5694
|
-
let g = Pa(new Set(f)), [w] =
|
|
5695
|
-
|
|
5693
|
+
xm(h);
|
|
5694
|
+
let g = Pa(new Set(f)), [w] = _m(g);
|
|
5695
|
+
Lm(w, f), Tm(w, g), l = w.N;
|
|
5696
5696
|
}
|
|
5697
5697
|
}
|
|
5698
5698
|
o.type = l;
|
|
@@ -5702,7 +5702,7 @@ function Pm(r, e, t) {
|
|
|
5702
5702
|
return o;
|
|
5703
5703
|
});
|
|
5704
5704
|
}
|
|
5705
|
-
function
|
|
5705
|
+
function Tm(r, e) {
|
|
5706
5706
|
let t, n = [];
|
|
5707
5707
|
for (let s of e) {
|
|
5708
5708
|
let i = ws.get(s);
|
|
@@ -5721,7 +5721,7 @@ function Rm(r, e) {
|
|
|
5721
5721
|
throw new Error(`whole-script confusable: ${r.N}/${s.N}`);
|
|
5722
5722
|
}
|
|
5723
5723
|
}
|
|
5724
|
-
function
|
|
5724
|
+
function _m(r) {
|
|
5725
5725
|
let e = Os;
|
|
5726
5726
|
for (let t of r) {
|
|
5727
5727
|
let n = e.filter((s) => io(s, t));
|
|
@@ -5732,7 +5732,7 @@ function Om(r) {
|
|
|
5732
5732
|
}
|
|
5733
5733
|
return e;
|
|
5734
5734
|
}
|
|
5735
|
-
function
|
|
5735
|
+
function Bm(r) {
|
|
5736
5736
|
return r.map(({ input: e, error: t, output: n }) => {
|
|
5737
5737
|
if (t) {
|
|
5738
5738
|
let s = t.message;
|
|
@@ -5751,7 +5751,7 @@ function bf(r, e) {
|
|
|
5751
5751
|
function Zi(r) {
|
|
5752
5752
|
return new Error(`illegal placement: ${r}`);
|
|
5753
5753
|
}
|
|
5754
|
-
function
|
|
5754
|
+
function Lm(r, e) {
|
|
5755
5755
|
for (let t of e)
|
|
5756
5756
|
if (!io(r, t))
|
|
5757
5757
|
throw bf(r, t);
|
|
@@ -5770,10 +5770,10 @@ function _m(r, e) {
|
|
|
5770
5770
|
}
|
|
5771
5771
|
}
|
|
5772
5772
|
}
|
|
5773
|
-
function
|
|
5773
|
+
function Mm(r, e, t) {
|
|
5774
5774
|
let n = [], s = [];
|
|
5775
5775
|
for (r = r.slice().reverse(); r.length; ) {
|
|
5776
|
-
let i =
|
|
5776
|
+
let i = Um(r);
|
|
5777
5777
|
if (i)
|
|
5778
5778
|
s.length && (n.push(e(s)), s = []), n.push(t(i));
|
|
5779
5779
|
else {
|
|
@@ -5791,10 +5791,10 @@ function Bm(r, e, t) {
|
|
|
5791
5791
|
}
|
|
5792
5792
|
return s.length && n.push(e(s)), n;
|
|
5793
5793
|
}
|
|
5794
|
-
function
|
|
5794
|
+
function Dm(r) {
|
|
5795
5795
|
return r.filter((e) => e != ff);
|
|
5796
5796
|
}
|
|
5797
|
-
function
|
|
5797
|
+
function Um(r, e) {
|
|
5798
5798
|
let t = bl, n, s = r.length;
|
|
5799
5799
|
for (; s && (t = t.get(r[--s]), !!t); ) {
|
|
5800
5800
|
let { V: i } = t;
|
|
@@ -5808,7 +5808,7 @@ function sh(r) {
|
|
|
5808
5808
|
return y(r.length !== 0, "invalid ENS name; empty component", "comp", r), r;
|
|
5809
5809
|
}
|
|
5810
5810
|
function Ef(r) {
|
|
5811
|
-
const e = qt(
|
|
5811
|
+
const e = qt(Fm(r)), t = [];
|
|
5812
5812
|
if (r.length === 0)
|
|
5813
5813
|
return t;
|
|
5814
5814
|
let n = 0;
|
|
@@ -5816,11 +5816,11 @@ function Ef(r) {
|
|
|
5816
5816
|
e[s] === 46 && (t.push(sh(e.slice(n, s))), n = s + 1);
|
|
5817
5817
|
return y(n < e.length, "invalid ENS name; empty component", "name", r), t.push(sh(e.slice(n))), t;
|
|
5818
5818
|
}
|
|
5819
|
-
function
|
|
5819
|
+
function Fm(r) {
|
|
5820
5820
|
try {
|
|
5821
5821
|
if (r.length === 0)
|
|
5822
5822
|
throw new Error("empty label");
|
|
5823
|
-
return
|
|
5823
|
+
return Rm(r);
|
|
5824
5824
|
} catch (e) {
|
|
5825
5825
|
y(!1, `invalid ENS name (${e.message})`, "name", r);
|
|
5826
5826
|
}
|
|
@@ -5833,7 +5833,7 @@ function Al(r) {
|
|
|
5833
5833
|
e = he(ue([e, he(t.pop())]));
|
|
5834
5834
|
return O(e);
|
|
5835
5835
|
}
|
|
5836
|
-
function
|
|
5836
|
+
function Hm(r, e) {
|
|
5837
5837
|
const t = e;
|
|
5838
5838
|
return y(t <= 255, "DNS encoded label cannot exceed 255", "length", t), O(ue(Ef(r).map((n) => {
|
|
5839
5839
|
y(n.length <= t, `label ${JSON.stringify(r)} exceeds ${t} bytes`, "name", r);
|
|
@@ -5857,14 +5857,14 @@ function rs(r) {
|
|
|
5857
5857
|
});
|
|
5858
5858
|
return e.sort((t, n) => t.address.localeCompare(n.address)), e;
|
|
5859
5859
|
}
|
|
5860
|
-
function
|
|
5860
|
+
function Gm(r) {
|
|
5861
5861
|
let e;
|
|
5862
5862
|
return typeof r == "string" ? e = to.computePublicKey(r, !1) : e = r.publicKey, $(he("0x" + e.substring(4)).substring(26));
|
|
5863
5863
|
}
|
|
5864
|
-
function
|
|
5865
|
-
return
|
|
5864
|
+
function Km(r, e) {
|
|
5865
|
+
return Gm(to.recoverPublicKey(r, e));
|
|
5866
5866
|
}
|
|
5867
|
-
const ye = BigInt(0),
|
|
5867
|
+
const ye = BigInt(0), jm = BigInt(2), Vm = BigInt(27), Wm = BigInt(28), Qm = BigInt(35), zm = BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"), Fc = 4096 * 32;
|
|
5868
5868
|
function ih(r, e) {
|
|
5869
5869
|
let t = r.toString(16);
|
|
5870
5870
|
for (; t.length < 2; )
|
|
@@ -5888,7 +5888,7 @@ function le(r, e) {
|
|
|
5888
5888
|
if (r === "0x")
|
|
5889
5889
|
return ye;
|
|
5890
5890
|
const t = T(r, e);
|
|
5891
|
-
return y(t <=
|
|
5891
|
+
return y(t <= zm, "value exceeds uint size", e, t), t;
|
|
5892
5892
|
}
|
|
5893
5893
|
function te(r, e) {
|
|
5894
5894
|
const t = T(r, "value"), n = Me(t);
|
|
@@ -5897,13 +5897,13 @@ function te(r, e) {
|
|
|
5897
5897
|
function Yl(r) {
|
|
5898
5898
|
return rs(r).map((e) => [e.address, e.storageKeys]);
|
|
5899
5899
|
}
|
|
5900
|
-
function
|
|
5900
|
+
function Jm(r, e) {
|
|
5901
5901
|
y(Array.isArray(r), `invalid ${e}`, "value", r);
|
|
5902
5902
|
for (let t = 0; t < r.length; t++)
|
|
5903
5903
|
y(X(r[t], 32), "invalid ${ param } hash", `value[${t}]`, r[t]);
|
|
5904
5904
|
return r;
|
|
5905
5905
|
}
|
|
5906
|
-
function
|
|
5906
|
+
function qm(r) {
|
|
5907
5907
|
const e = Ja(r);
|
|
5908
5908
|
y(Array.isArray(e) && (e.length === 9 || e.length === 6), "invalid field count for legacy transaction", "data", r);
|
|
5909
5909
|
const t = {
|
|
@@ -5922,8 +5922,8 @@ function zm(r) {
|
|
|
5922
5922
|
if (s === ye && i === ye)
|
|
5923
5923
|
t.chainId = n;
|
|
5924
5924
|
else {
|
|
5925
|
-
let o = (n -
|
|
5926
|
-
o < ye && (o = ye), t.chainId = o, y(o !== ye || n ===
|
|
5925
|
+
let o = (n - Qm) / jm;
|
|
5926
|
+
o < ye && (o = ye), t.chainId = o, y(o !== ye || n === Vm || n === Wm, "non-canonical legacy v", "v", e[6]), t.signature = xt.from({
|
|
5927
5927
|
r: Zr(e[7], 32),
|
|
5928
5928
|
s: Zr(e[8], 32),
|
|
5929
5929
|
v: n
|
|
@@ -5931,7 +5931,7 @@ function zm(r) {
|
|
|
5931
5931
|
}
|
|
5932
5932
|
return t;
|
|
5933
5933
|
}
|
|
5934
|
-
function
|
|
5934
|
+
function Zm(r, e) {
|
|
5935
5935
|
const t = [
|
|
5936
5936
|
te(r.nonce, "nonce"),
|
|
5937
5937
|
te(r.gasPrice || 0, "gasPrice"),
|
|
@@ -5963,7 +5963,7 @@ function Xl(r, e) {
|
|
|
5963
5963
|
const n = Zr(e[1], 32), s = Zr(e[2], 32), i = xt.from({ r: n, s, yParity: t });
|
|
5964
5964
|
r.signature = i;
|
|
5965
5965
|
}
|
|
5966
|
-
function
|
|
5966
|
+
function $m(r) {
|
|
5967
5967
|
const e = Ja(W(r).slice(1));
|
|
5968
5968
|
y(Array.isArray(e) && (e.length === 9 || e.length === 12), "invalid field count for transaction type: 2", "data", O(r));
|
|
5969
5969
|
const t = {
|
|
@@ -5981,7 +5981,7 @@ function qm(r) {
|
|
|
5981
5981
|
};
|
|
5982
5982
|
return e.length === 9 || Xl(t, e.slice(9)), t;
|
|
5983
5983
|
}
|
|
5984
|
-
function
|
|
5984
|
+
function Ym(r, e) {
|
|
5985
5985
|
const t = [
|
|
5986
5986
|
te(r.chainId, "chainId"),
|
|
5987
5987
|
te(r.nonce, "nonce"),
|
|
@@ -5995,7 +5995,7 @@ function Zm(r, e) {
|
|
|
5995
5995
|
];
|
|
5996
5996
|
return e && (t.push(te(e.yParity, "yParity")), t.push(Me(e.r)), t.push(Me(e.s))), ue(["0x02", $r(t)]);
|
|
5997
5997
|
}
|
|
5998
|
-
function
|
|
5998
|
+
function Xm(r) {
|
|
5999
5999
|
const e = Ja(W(r).slice(1));
|
|
6000
6000
|
y(Array.isArray(e) && (e.length === 8 || e.length === 11), "invalid field count for transaction type: 1", "data", O(r));
|
|
6001
6001
|
const t = {
|
|
@@ -6011,7 +6011,7 @@ function $m(r) {
|
|
|
6011
6011
|
};
|
|
6012
6012
|
return e.length === 8 || Xl(t, e.slice(8)), t;
|
|
6013
6013
|
}
|
|
6014
|
-
function
|
|
6014
|
+
function ey(r, e) {
|
|
6015
6015
|
const t = [
|
|
6016
6016
|
te(r.chainId, "chainId"),
|
|
6017
6017
|
te(r.nonce, "nonce"),
|
|
@@ -6024,7 +6024,7 @@ function Ym(r, e) {
|
|
|
6024
6024
|
];
|
|
6025
6025
|
return e && (t.push(te(e.yParity, "recoveryParam")), t.push(Me(e.r)), t.push(Me(e.s))), ue(["0x01", $r(t)]);
|
|
6026
6026
|
}
|
|
6027
|
-
function
|
|
6027
|
+
function ty(r) {
|
|
6028
6028
|
let e = Ja(W(r).slice(1)), t = "3", n = null;
|
|
6029
6029
|
if (e.length === 4 && Array.isArray(e[0])) {
|
|
6030
6030
|
t = "3 (network format)";
|
|
@@ -6059,7 +6059,7 @@ function Xm(r) {
|
|
|
6059
6059
|
y(X(s.blobVersionedHashes[i], 32), `invalid blobVersionedHash at index ${i}: must be length 32`, "data", r);
|
|
6060
6060
|
return e.length === 11 || Xl(s, e.slice(11)), s;
|
|
6061
6061
|
}
|
|
6062
|
-
function
|
|
6062
|
+
function ny(r, e, t) {
|
|
6063
6063
|
const n = [
|
|
6064
6064
|
te(r.chainId, "chainId"),
|
|
6065
6065
|
te(r.nonce, "nonce"),
|
|
@@ -6071,7 +6071,7 @@ function ey(r, e, t) {
|
|
|
6071
6071
|
r.data,
|
|
6072
6072
|
Yl(r.accessList || []),
|
|
6073
6073
|
te(r.maxFeePerBlobGas || 0, "maxFeePerBlobGas"),
|
|
6074
|
-
|
|
6074
|
+
Jm(r.blobVersionedHashes || [], "blobVersionedHashes")
|
|
6075
6075
|
];
|
|
6076
6076
|
return e && (n.push(te(e.yParity, "yParity")), n.push(Me(e.r)), n.push(Me(e.s)), t) ? ue([
|
|
6077
6077
|
"0x03",
|
|
@@ -6390,7 +6390,7 @@ const on = class on {
|
|
|
6390
6390
|
* The sending address, if signed. Otherwise, ``null``.
|
|
6391
6391
|
*/
|
|
6392
6392
|
get from() {
|
|
6393
|
-
return this.signature == null ? null :
|
|
6393
|
+
return this.signature == null ? null : Km(this.unsignedHash, this.signature);
|
|
6394
6394
|
}
|
|
6395
6395
|
/**
|
|
6396
6396
|
* The public key of the sender, if signed. Otherwise, ``null``.
|
|
@@ -6520,14 +6520,14 @@ const on = class on {
|
|
|
6520
6520
|
if (typeof e == "string") {
|
|
6521
6521
|
const n = W(e);
|
|
6522
6522
|
if (n[0] >= 127)
|
|
6523
|
-
return on.from(
|
|
6523
|
+
return on.from(qm(n));
|
|
6524
6524
|
switch (n[0]) {
|
|
6525
6525
|
case 1:
|
|
6526
|
-
return on.from(
|
|
6526
|
+
return on.from(Xm(n));
|
|
6527
6527
|
case 2:
|
|
6528
|
-
return on.from(
|
|
6528
|
+
return on.from($m(n));
|
|
6529
6529
|
case 3:
|
|
6530
|
-
return on.from(
|
|
6530
|
+
return on.from(ty(n));
|
|
6531
6531
|
}
|
|
6532
6532
|
v(!1, "unsupported transaction type", "UNSUPPORTED_OPERATION", { operation: "from" });
|
|
6533
6533
|
}
|
|
@@ -6540,25 +6540,25 @@ Ut = new WeakMap(), zs = new WeakMap(), Js = new WeakMap(), qs = new WeakMap(),
|
|
|
6540
6540
|
const n = e ? this.signature : null;
|
|
6541
6541
|
switch (this.inferType()) {
|
|
6542
6542
|
case 0:
|
|
6543
|
-
return
|
|
6543
|
+
return Zm(this, n);
|
|
6544
6544
|
case 1:
|
|
6545
|
-
return
|
|
6545
|
+
return ey(this, n);
|
|
6546
6546
|
case 2:
|
|
6547
|
-
return
|
|
6547
|
+
return Ym(this, n);
|
|
6548
6548
|
case 3:
|
|
6549
|
-
return
|
|
6549
|
+
return ny(this, n, t ? this.blobs : null);
|
|
6550
6550
|
}
|
|
6551
6551
|
v(!1, "unsupported transaction type", "UNSUPPORTED_OPERATION", { operation: ".serialized" });
|
|
6552
6552
|
};
|
|
6553
6553
|
let Ra = on;
|
|
6554
6554
|
const Cf = new Uint8Array(32);
|
|
6555
6555
|
Cf.fill(0);
|
|
6556
|
-
const
|
|
6557
|
-
function
|
|
6556
|
+
const ry = BigInt(-1), vf = BigInt(0), If = BigInt(1), sy = BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");
|
|
6557
|
+
function iy(r) {
|
|
6558
6558
|
const e = W(r), t = e.length % 32;
|
|
6559
6559
|
return t ? ue([e, Cf.slice(t)]) : O(e);
|
|
6560
6560
|
}
|
|
6561
|
-
const
|
|
6561
|
+
const oy = ar(If, 32), ay = ar(vf, 32), oh = {
|
|
6562
6562
|
name: "string",
|
|
6563
6563
|
version: "string",
|
|
6564
6564
|
chainId: "uint256",
|
|
@@ -6576,7 +6576,7 @@ function ah(r) {
|
|
|
6576
6576
|
return y(typeof e == "string", `invalid domain value for ${JSON.stringify(r)}`, `domain.${r}`, e), e;
|
|
6577
6577
|
};
|
|
6578
6578
|
}
|
|
6579
|
-
const
|
|
6579
|
+
const cy = {
|
|
6580
6580
|
name: ah("name"),
|
|
6581
6581
|
version: ah("version"),
|
|
6582
6582
|
chainId: function(r) {
|
|
@@ -6601,7 +6601,7 @@ function Gc(r) {
|
|
|
6601
6601
|
if (e) {
|
|
6602
6602
|
const t = e[1] === "", n = parseInt(e[2]);
|
|
6603
6603
|
y(n % 8 === 0 && n !== 0 && n <= 256 && e[2] === String(n), "invalid numeric width", "type", r);
|
|
6604
|
-
const s = br(
|
|
6604
|
+
const s = br(sy, t ? n - 1 : n), i = t ? (s + If) * ry : vf;
|
|
6605
6605
|
return function(o) {
|
|
6606
6606
|
const a = T(o, "value");
|
|
6607
6607
|
return y(a >= i && a <= s, `value out-of-bounds for ${r}`, "value", a), ar(t ? cd(a, 256) : a, 32);
|
|
@@ -6614,7 +6614,7 @@ function Gc(r) {
|
|
|
6614
6614
|
const t = parseInt(e[1]);
|
|
6615
6615
|
return y(t !== 0 && t <= 32 && e[1] === String(t), "invalid bytes width", "type", r), function(n) {
|
|
6616
6616
|
const s = W(n);
|
|
6617
|
-
return y(s.length === t, `invalid length for ${r}`, "value", n),
|
|
6617
|
+
return y(s.length === t, `invalid length for ${r}`, "value", n), iy(n);
|
|
6618
6618
|
};
|
|
6619
6619
|
}
|
|
6620
6620
|
}
|
|
@@ -6625,7 +6625,7 @@ function Gc(r) {
|
|
|
6625
6625
|
};
|
|
6626
6626
|
case "bool":
|
|
6627
6627
|
return function(e) {
|
|
6628
|
-
return e ?
|
|
6628
|
+
return e ? oy : ay;
|
|
6629
6629
|
};
|
|
6630
6630
|
case "bytes":
|
|
6631
6631
|
return function(e) {
|
|
@@ -6851,7 +6851,7 @@ const rt = class rt {
|
|
|
6851
6851
|
const s = {}, i = [];
|
|
6852
6852
|
Hc.forEach((c) => {
|
|
6853
6853
|
const l = e[c];
|
|
6854
|
-
l != null && (s[c] =
|
|
6854
|
+
l != null && (s[c] = cy[c](l), i.push({ name: c, type: oh[c] }));
|
|
6855
6855
|
});
|
|
6856
6856
|
const o = rt.from(t);
|
|
6857
6857
|
t = o.types;
|
|
@@ -6911,14 +6911,14 @@ function Fe(r) {
|
|
|
6911
6911
|
const e = /* @__PURE__ */ new Set();
|
|
6912
6912
|
return r.forEach((t) => e.add(t)), Object.freeze(e);
|
|
6913
6913
|
}
|
|
6914
|
-
const
|
|
6914
|
+
const ly = "external public payable override", uy = Fe(ly.split(" ")), Sf = "constant external internal payable private public pure view override", hy = Fe(Sf.split(" ")), kf = "constructor error event fallback function receive struct", xf = Fe(kf.split(" ")), Pf = "calldata memory storage payable indexed", dy = Fe(Pf.split(" ")), fy = "tuple returns", py = [kf, Pf, fy, Sf].join(" "), gy = Fe(py.split(" ")), my = {
|
|
6915
6915
|
"(": "OPEN_PAREN",
|
|
6916
6916
|
")": "CLOSE_PAREN",
|
|
6917
6917
|
"[": "OPEN_BRACKET",
|
|
6918
6918
|
"]": "CLOSE_BRACKET",
|
|
6919
6919
|
",": "COMMA",
|
|
6920
6920
|
"@": "AT"
|
|
6921
|
-
},
|
|
6921
|
+
}, yy = new RegExp("^(\\s*)"), wy = new RegExp("^([0-9]+)"), by = new RegExp("^([a-zA-Z$_][a-zA-Z0-9$_]*)"), Rf = new RegExp("^([a-zA-Z$_][a-zA-Z0-9$_]*)$"), Of = new RegExp("^(address|bool|bytes([0-9]*)|string|u?int([0-9]*))$");
|
|
6922
6922
|
var Ee, vt, Ao, El;
|
|
6923
6923
|
const Ha = class Ha {
|
|
6924
6924
|
constructor(e) {
|
|
@@ -7021,11 +7021,11 @@ function cr(r) {
|
|
|
7021
7021
|
};
|
|
7022
7022
|
let n = [], s = [], i = 0;
|
|
7023
7023
|
for (; i < r.length; ) {
|
|
7024
|
-
let o = r.substring(i), a = o.match(
|
|
7024
|
+
let o = r.substring(i), a = o.match(yy);
|
|
7025
7025
|
a && (i += a[1].length, o = r.substring(i));
|
|
7026
7026
|
const c = { depth: n.length, linkBack: -1, linkNext: -1, match: -1, type: "", text: "", offset: i, value: -1 };
|
|
7027
7027
|
e.push(c);
|
|
7028
|
-
let l =
|
|
7028
|
+
let l = my[o[0]] || "";
|
|
7029
7029
|
if (l) {
|
|
7030
7030
|
if (c.type = l, c.text = o[0], i++, l === "OPEN_PAREN")
|
|
7031
7031
|
n.push(e.length - 1), s.push(e.length - 1);
|
|
@@ -7047,8 +7047,8 @@ function cr(r) {
|
|
|
7047
7047
|
}
|
|
7048
7048
|
continue;
|
|
7049
7049
|
}
|
|
7050
|
-
if (a = o.match(
|
|
7051
|
-
if (c.text = a[1], i += c.text.length,
|
|
7050
|
+
if (a = o.match(by), a) {
|
|
7051
|
+
if (c.text = a[1], i += c.text.length, gy.has(c.text)) {
|
|
7052
7052
|
c.type = "KEYWORD";
|
|
7053
7053
|
continue;
|
|
7054
7054
|
}
|
|
@@ -7059,7 +7059,7 @@ function cr(r) {
|
|
|
7059
7059
|
c.type = "ID";
|
|
7060
7060
|
continue;
|
|
7061
7061
|
}
|
|
7062
|
-
if (a = o.match(
|
|
7062
|
+
if (a = o.match(wy), a) {
|
|
7063
7063
|
c.text = a[1], c.type = "NUMBER", i += c.text.length;
|
|
7064
7064
|
continue;
|
|
7065
7065
|
}
|
|
@@ -7095,7 +7095,7 @@ function Nn(r, e) {
|
|
|
7095
7095
|
return Object.freeze(t);
|
|
7096
7096
|
}
|
|
7097
7097
|
function Tf(r) {
|
|
7098
|
-
let e = Nn(r,
|
|
7098
|
+
let e = Nn(r, hy);
|
|
7099
7099
|
return lh(e, Fe("constant payable nonpayable".split(" "))), lh(e, Fe("pure view payable nonpayable".split(" "))), e.has("view") ? "view" : e.has("pure") ? "pure" : e.has("payable") ? "payable" : e.has("nonpayable") ? "nonpayable" : e.has("constant") ? "view" : "nonpayable";
|
|
7100
7100
|
}
|
|
7101
7101
|
function In(r, e) {
|
|
@@ -7113,7 +7113,7 @@ function Xr(r) {
|
|
|
7113
7113
|
if (r.length)
|
|
7114
7114
|
throw new Error(`unexpected tokens at offset ${r.offset}: ${r.toString()}`);
|
|
7115
7115
|
}
|
|
7116
|
-
const
|
|
7116
|
+
const Ay = new RegExp(/^(.*)\[([0-9]*)\]$/);
|
|
7117
7117
|
function uh(r) {
|
|
7118
7118
|
const e = r.match(Of);
|
|
7119
7119
|
if (y(e, "invalid type", "type", r), r === "uint")
|
|
@@ -7308,7 +7308,7 @@ const st = class st {
|
|
|
7308
7308
|
h = new st(se, "", a, c, null, l, d, h), d = m.value, a += m.text, c = "array", l = null;
|
|
7309
7309
|
}
|
|
7310
7310
|
let f = null;
|
|
7311
|
-
if (Nn(e,
|
|
7311
|
+
if (Nn(e, dy).has("indexed")) {
|
|
7312
7312
|
if (!t)
|
|
7313
7313
|
throw new Error("");
|
|
7314
7314
|
f = !0;
|
|
@@ -7322,7 +7322,7 @@ const st = class st {
|
|
|
7322
7322
|
y(!n || typeof n == "string" && n.match(Rf), "invalid name", "obj.name", n);
|
|
7323
7323
|
let s = e.indexed;
|
|
7324
7324
|
s != null && (y(t, "parameter cannot be indexed", "obj.indexed", e.indexed), s = !!s);
|
|
7325
|
-
let i = e.type, o = i.match(
|
|
7325
|
+
let i = e.type, o = i.match(Ay);
|
|
7326
7326
|
if (o) {
|
|
7327
7327
|
const a = parseInt(o[2] || "-1"), c = st.from({
|
|
7328
7328
|
type: o[1],
|
|
@@ -7665,7 +7665,7 @@ class vn extends es {
|
|
|
7665
7665
|
}
|
|
7666
7666
|
else if (t instanceof Pt) {
|
|
7667
7667
|
Nn(t, Fe(["constructor"]));
|
|
7668
|
-
const n = In(t), s = !!Nn(t,
|
|
7668
|
+
const n = In(t), s = !!Nn(t, uy).has("payable"), i = _f(t);
|
|
7669
7669
|
return Xr(t), new vn(se, "constructor", n, s, i);
|
|
7670
7670
|
}
|
|
7671
7671
|
return new vn(se, "constructor", t.inputs ? t.inputs.map(ve.from) : [], !!t.payable, t.gas != null ? t.gas : null);
|
|
@@ -7879,9 +7879,9 @@ Rt.set(49, "STACK_UNDERFLOW");
|
|
|
7879
7879
|
Rt.set(50, "ARRAY_RANGE_ERROR");
|
|
7880
7880
|
Rt.set(65, "OUT_OF_MEMORY");
|
|
7881
7881
|
Rt.set(81, "UNINITIALIZED_FUNCTION_CALL");
|
|
7882
|
-
const
|
|
7882
|
+
const Ey = new RegExp(/^bytes([0-9]*)$/), Cy = new RegExp(/^(u?int)([0-9]*)$/);
|
|
7883
7883
|
let Kc = null, wh = 1024;
|
|
7884
|
-
function
|
|
7884
|
+
function vy(r, e, t, n) {
|
|
7885
7885
|
let s = "missing revert data", i = null;
|
|
7886
7886
|
const o = null;
|
|
7887
7887
|
let a = null;
|
|
@@ -7982,39 +7982,39 @@ const Ga = class Ga {
|
|
|
7982
7982
|
* the Transaction %%tx%%.
|
|
7983
7983
|
*/
|
|
7984
7984
|
static getBuiltinCallException(e, t, n) {
|
|
7985
|
-
return
|
|
7985
|
+
return vy(e, t, n, Ga.defaultAbiCoder());
|
|
7986
7986
|
}
|
|
7987
7987
|
};
|
|
7988
7988
|
Wn = new WeakSet(), bs = function(e) {
|
|
7989
7989
|
if (e.isArray())
|
|
7990
|
-
return new
|
|
7990
|
+
return new Q0(I(this, Wn, bs).call(this, e.arrayChildren), e.arrayLength, e.name);
|
|
7991
7991
|
if (e.isTuple())
|
|
7992
7992
|
return new $o(e.components.map((n) => I(this, Wn, bs).call(this, n)), e.name);
|
|
7993
7993
|
switch (e.baseType) {
|
|
7994
7994
|
case "address":
|
|
7995
|
-
return new
|
|
7995
|
+
return new V0(e.name);
|
|
7996
7996
|
case "bool":
|
|
7997
|
-
return new
|
|
7997
|
+
return new z0(e.name);
|
|
7998
7998
|
case "string":
|
|
7999
|
-
return new
|
|
7999
|
+
return new nm(e.name);
|
|
8000
8000
|
case "bytes":
|
|
8001
|
-
return new
|
|
8001
|
+
return new J0(e.name);
|
|
8002
8002
|
case "":
|
|
8003
|
-
return new
|
|
8003
|
+
return new $0(e.name);
|
|
8004
8004
|
}
|
|
8005
|
-
let t = e.type.match(
|
|
8005
|
+
let t = e.type.match(Cy);
|
|
8006
8006
|
if (t) {
|
|
8007
8007
|
let n = parseInt(t[2] || "256");
|
|
8008
|
-
return y(n !== 0 && n <= 256 && n % 8 === 0, "invalid " + t[1] + " bit length", "param", e), new
|
|
8008
|
+
return y(n !== 0 && n <= 256 && n % 8 === 0, "invalid " + t[1] + " bit length", "param", e), new tm(n / 8, t[1] === "int", e.name);
|
|
8009
8009
|
}
|
|
8010
|
-
if (t = e.type.match(
|
|
8010
|
+
if (t = e.type.match(Ey), t) {
|
|
8011
8011
|
let n = parseInt(t[1]);
|
|
8012
|
-
return y(n !== 0 && n <= 32, "invalid bytes length", "param", e), new
|
|
8012
|
+
return y(n !== 0 && n <= 32, "invalid bytes length", "param", e), new q0(n, e.name);
|
|
8013
8013
|
}
|
|
8014
8014
|
y(!1, "invalid type", "type", e.type);
|
|
8015
8015
|
};
|
|
8016
8016
|
let ao = Ga;
|
|
8017
|
-
class
|
|
8017
|
+
class Iy {
|
|
8018
8018
|
/**
|
|
8019
8019
|
* @_ignore:
|
|
8020
8020
|
*/
|
|
@@ -8049,7 +8049,7 @@ class Cy {
|
|
|
8049
8049
|
});
|
|
8050
8050
|
}
|
|
8051
8051
|
}
|
|
8052
|
-
class
|
|
8052
|
+
class Ny {
|
|
8053
8053
|
/**
|
|
8054
8054
|
* @_ignore:
|
|
8055
8055
|
*/
|
|
@@ -8089,7 +8089,7 @@ class vy {
|
|
|
8089
8089
|
});
|
|
8090
8090
|
}
|
|
8091
8091
|
}
|
|
8092
|
-
class
|
|
8092
|
+
class Sy {
|
|
8093
8093
|
/**
|
|
8094
8094
|
* @_ignore:
|
|
8095
8095
|
*/
|
|
@@ -8621,7 +8621,7 @@ const yr = class yr {
|
|
|
8621
8621
|
v(t.length <= e.inputs.length, `too many arguments for ${e.format()}`, "UNEXPECTED_ARGUMENT", { count: t.length, expectedCount: e.inputs.length });
|
|
8622
8622
|
const n = [];
|
|
8623
8623
|
e.anonymous || n.push(e.topicHash);
|
|
8624
|
-
const s = (i, o) => i.type === "string" ? Yr(o) : i.type === "bytes" ? he(O(o)) : (i.type === "bool" && typeof o == "boolean" ? o = o ? "0x01" : "0x00" : i.type.match(/^u?int/) ? o = ar(o) : i.type.match(/^bytes/) ? o =
|
|
8624
|
+
const s = (i, o) => i.type === "string" ? Yr(o) : i.type === "bytes" ? he(O(o)) : (i.type === "bool" && typeof o == "boolean" ? o = o ? "0x01" : "0x00" : i.type.match(/^u?int/) ? o = ar(o) : i.type.match(/^bytes/) ? o = zp(o, 32) : i.type === "address" && u(this, Ie).encode(["address"], [o]), Zr(O(o), 32));
|
|
8625
8625
|
for (t.forEach((i, o) => {
|
|
8626
8626
|
const a = e.inputs[o];
|
|
8627
8627
|
if (!a.indexed) {
|
|
@@ -8707,7 +8707,7 @@ const yr = class yr {
|
|
|
8707
8707
|
if (!s)
|
|
8708
8708
|
return null;
|
|
8709
8709
|
const i = u(this, Ie).decode(s.inputs, t.slice(4));
|
|
8710
|
-
return new
|
|
8710
|
+
return new Ny(s, s.selector, i, n);
|
|
8711
8711
|
}
|
|
8712
8712
|
parseCallResult(e) {
|
|
8713
8713
|
throw new Error("@TODO");
|
|
@@ -8720,7 +8720,7 @@ const yr = class yr {
|
|
|
8720
8720
|
*/
|
|
8721
8721
|
parseLog(e) {
|
|
8722
8722
|
const t = this.getEvent(e.topics[0]);
|
|
8723
|
-
return !t || t.anonymous ? null : new
|
|
8723
|
+
return !t || t.anonymous ? null : new Iy(t, t.topicHash, this.decodeEventLog(t, e.data, e.topics));
|
|
8724
8724
|
}
|
|
8725
8725
|
/**
|
|
8726
8726
|
* Parses a revert data, finding the matching error and extracts
|
|
@@ -8733,7 +8733,7 @@ const yr = class yr {
|
|
|
8733
8733
|
if (!n)
|
|
8734
8734
|
return null;
|
|
8735
8735
|
const s = u(this, Ie).decode(n.inputs, ie(t, 4));
|
|
8736
|
-
return new
|
|
8736
|
+
return new Sy(n, n.selector, s);
|
|
8737
8737
|
}
|
|
8738
8738
|
/**
|
|
8739
8739
|
* Creates a new [[Interface]] from the ABI %%value%%.
|
|
@@ -8909,7 +8909,7 @@ function Ta(r) {
|
|
|
8909
8909
|
return r.accessList && (e.accessList = rs(r.accessList)), "blockTag" in r && (e.blockTag = r.blockTag), "enableCcipRead" in r && (e.enableCcipRead = !!r.enableCcipRead), "customData" in r && (e.customData = r.customData), "blobVersionedHashes" in r && r.blobVersionedHashes && (e.blobVersionedHashes = r.blobVersionedHashes.slice()), "kzg" in r && (e.kzg = r.kzg), "blobs" in r && r.blobs && (e.blobs = r.blobs.map((s) => Ul(s) ? O(s) : Object.assign({}, s))), e;
|
|
8910
8910
|
}
|
|
8911
8911
|
var mn;
|
|
8912
|
-
class
|
|
8912
|
+
class ky {
|
|
8913
8913
|
/**
|
|
8914
8914
|
* Create a new **Block** object.
|
|
8915
8915
|
*
|
|
@@ -9167,7 +9167,7 @@ class Ny {
|
|
|
9167
9167
|
orphanedEvent() {
|
|
9168
9168
|
if (!this.isMined())
|
|
9169
9169
|
throw new Error("");
|
|
9170
|
-
return
|
|
9170
|
+
return xy(this);
|
|
9171
9171
|
}
|
|
9172
9172
|
}
|
|
9173
9173
|
mn = new WeakMap();
|
|
@@ -9288,7 +9288,7 @@ class Uo {
|
|
|
9288
9288
|
* @_ignore:
|
|
9289
9289
|
*/
|
|
9290
9290
|
removedEvent() {
|
|
9291
|
-
return
|
|
9291
|
+
return Py(this);
|
|
9292
9292
|
}
|
|
9293
9293
|
}
|
|
9294
9294
|
var Eo;
|
|
@@ -9923,7 +9923,7 @@ const gu = class gu {
|
|
|
9923
9923
|
};
|
|
9924
9924
|
Qn = new WeakMap();
|
|
9925
9925
|
let co = gu;
|
|
9926
|
-
function
|
|
9926
|
+
function xy(r) {
|
|
9927
9927
|
return { orphan: "drop-block", hash: r.hash, number: r.number };
|
|
9928
9928
|
}
|
|
9929
9929
|
function Mf(r, e) {
|
|
@@ -9932,7 +9932,7 @@ function Mf(r, e) {
|
|
|
9932
9932
|
function Df(r) {
|
|
9933
9933
|
return { orphan: "drop-transaction", tx: r };
|
|
9934
9934
|
}
|
|
9935
|
-
function
|
|
9935
|
+
function Py(r) {
|
|
9936
9936
|
return { orphan: "drop-log", log: {
|
|
9937
9937
|
transactionHash: r.transactionHash,
|
|
9938
9938
|
blockHash: r.blockHash,
|
|
@@ -9991,7 +9991,7 @@ class Uf extends Uo {
|
|
|
9991
9991
|
}
|
|
9992
9992
|
}
|
|
9993
9993
|
var li;
|
|
9994
|
-
class
|
|
9994
|
+
class Ry extends Lf {
|
|
9995
9995
|
/**
|
|
9996
9996
|
* @_ignore:
|
|
9997
9997
|
*/
|
|
@@ -10039,7 +10039,7 @@ class tu extends co {
|
|
|
10039
10039
|
*/
|
|
10040
10040
|
async wait(t, n) {
|
|
10041
10041
|
const s = await super.wait(t, n);
|
|
10042
|
-
return s == null ? null : new
|
|
10042
|
+
return s == null ? null : new Ry(u(this, Co), this.provider, s);
|
|
10043
10043
|
}
|
|
10044
10044
|
}
|
|
10045
10045
|
Co = new WeakMap();
|
|
@@ -10074,7 +10074,7 @@ class Ff extends ld {
|
|
|
10074
10074
|
return await this.log.getTransactionReceipt();
|
|
10075
10075
|
}
|
|
10076
10076
|
}
|
|
10077
|
-
class
|
|
10077
|
+
class Oy extends Ff {
|
|
10078
10078
|
/**
|
|
10079
10079
|
* @_ignore:
|
|
10080
10080
|
*/
|
|
@@ -10118,7 +10118,7 @@ function jf(r) {
|
|
|
10118
10118
|
}
|
|
10119
10119
|
}
|
|
10120
10120
|
var vo;
|
|
10121
|
-
class
|
|
10121
|
+
class Ty {
|
|
10122
10122
|
constructor(e, t, n) {
|
|
10123
10123
|
b(this, vo, void 0);
|
|
10124
10124
|
A(this, "fragment");
|
|
@@ -10147,11 +10147,11 @@ async function Vf(r, e) {
|
|
|
10147
10147
|
const n = Ta(t);
|
|
10148
10148
|
return y(n.to == null || (e || []).indexOf("to") >= 0, "cannot override to", "overrides.to", n.to), y(n.data == null || (e || []).indexOf("data") >= 0, "cannot override data", "overrides.data", n.data), n.from && (n.from = n.from), n;
|
|
10149
10149
|
}
|
|
10150
|
-
async function
|
|
10150
|
+
async function _y(r, e, t) {
|
|
10151
10151
|
const n = ts(r, "resolveName"), s = nc(n) ? n : null;
|
|
10152
10152
|
return await Promise.all(e.map((i, o) => i.walkAsync(t[o], (a, c) => (c = Pe.dereference(c, a), a === "address" ? Ue(c, s) : c))));
|
|
10153
10153
|
}
|
|
10154
|
-
function
|
|
10154
|
+
function By(r) {
|
|
10155
10155
|
const e = async function(o) {
|
|
10156
10156
|
const a = await Vf(o, ["data"]);
|
|
10157
10157
|
a.to = await r.getAddress(), a.from && (a.from = await Ue(a.from, jf(r.runner)));
|
|
@@ -10185,7 +10185,7 @@ function Ty(r) {
|
|
|
10185
10185
|
staticCall: t
|
|
10186
10186
|
}), i;
|
|
10187
10187
|
}
|
|
10188
|
-
function
|
|
10188
|
+
function Ly(r, e) {
|
|
10189
10189
|
const t = function(...l) {
|
|
10190
10190
|
const h = r.interface.getFunction(e, l);
|
|
10191
10191
|
return v(h, "no matching fragment", "UNSUPPORTED_OPERATION", {
|
|
@@ -10197,7 +10197,7 @@ function _y(r, e) {
|
|
|
10197
10197
|
let d = {};
|
|
10198
10198
|
if (h.inputs.length + 1 === l.length && (d = await Vf(l.pop()), d.from && (d.from = await Ue(d.from, jf(r.runner)))), h.inputs.length !== l.length)
|
|
10199
10199
|
throw new Error("internal error: fragment inputs doesn't match arguments; should not happen");
|
|
10200
|
-
const f = await
|
|
10200
|
+
const f = await _y(r.runner, h.inputs, l);
|
|
10201
10201
|
return Object.assign({}, d, await _e({
|
|
10202
10202
|
to: r.getAddress(),
|
|
10203
10203
|
data: r.interface.encodeFunctionData(h, f)
|
|
@@ -10248,7 +10248,7 @@ function _y(r, e) {
|
|
|
10248
10248
|
}
|
|
10249
10249
|
}), c;
|
|
10250
10250
|
}
|
|
10251
|
-
function
|
|
10251
|
+
function My(r, e) {
|
|
10252
10252
|
const t = function(...s) {
|
|
10253
10253
|
const i = r.interface.getEvent(e, s);
|
|
10254
10254
|
return v(i, "no matching fragment", "UNSUPPORTED_OPERATION", {
|
|
@@ -10256,7 +10256,7 @@ function By(r, e) {
|
|
|
10256
10256
|
info: { key: e, args: s }
|
|
10257
10257
|
}), i;
|
|
10258
10258
|
}, n = function(...s) {
|
|
10259
|
-
return new
|
|
10259
|
+
return new Ty(r, t(...s), s);
|
|
10260
10260
|
};
|
|
10261
10261
|
return U(n, {
|
|
10262
10262
|
name: r.interface.getEventName(e),
|
|
@@ -10276,13 +10276,13 @@ function By(r, e) {
|
|
|
10276
10276
|
}), n;
|
|
10277
10277
|
}
|
|
10278
10278
|
const _a = Symbol.for("_ethersInternal_contract"), Wf = /* @__PURE__ */ new WeakMap();
|
|
10279
|
-
function
|
|
10279
|
+
function Dy(r, e) {
|
|
10280
10280
|
Wf.set(r[_a], e);
|
|
10281
10281
|
}
|
|
10282
10282
|
function qe(r) {
|
|
10283
10283
|
return Wf.get(r[_a]);
|
|
10284
10284
|
}
|
|
10285
|
-
function
|
|
10285
|
+
function Uy(r) {
|
|
10286
10286
|
return r && typeof r == "object" && "getTopicFilter" in r && typeof r.getTopicFilter == "function" && r.fragment;
|
|
10287
10287
|
}
|
|
10288
10288
|
async function nu(r, e) {
|
|
@@ -10296,7 +10296,7 @@ async function nu(r, e) {
|
|
|
10296
10296
|
};
|
|
10297
10297
|
t = e.map((o) => o == null ? null : Array.isArray(o) ? o.map(i) : i(o));
|
|
10298
10298
|
} else
|
|
10299
|
-
e === "*" ? t = [null] : typeof e == "string" ? X(e, 32) ? t = [e] : (n = r.interface.getEvent(e), y(n, "unknown fragment", "event", e), t = [n.topicHash]) :
|
|
10299
|
+
e === "*" ? t = [null] : typeof e == "string" ? X(e, 32) ? t = [e] : (n = r.interface.getEvent(e), y(n, "unknown fragment", "event", e), t = [n.topicHash]) : Uy(e) ? t = await e.getTopicFilter() : "fragment" in e ? (n = e.fragment, t = [n.topicHash]) : y(!1, "unknown event name", "event", e);
|
|
10300
10300
|
t = t.map((i) => {
|
|
10301
10301
|
if (i == null)
|
|
10302
10302
|
return null;
|
|
@@ -10328,7 +10328,7 @@ async function Ih(r, e, t) {
|
|
|
10328
10328
|
}
|
|
10329
10329
|
if (C) {
|
|
10330
10330
|
const S = C, N = s ? r.interface.decodeEventLog(s, E.data, E.topics) : [];
|
|
10331
|
-
Il(r, t, N, (_) => new
|
|
10331
|
+
Il(r, t, N, (_) => new Oy(r, _, t, S, E));
|
|
10332
10332
|
} else
|
|
10333
10333
|
Il(r, t, [], (S) => new Ff(r, S, t, E));
|
|
10334
10334
|
};
|
|
@@ -10345,7 +10345,7 @@ async function Ih(r, e, t) {
|
|
|
10345
10345
|
return l;
|
|
10346
10346
|
}
|
|
10347
10347
|
let vl = Promise.resolve();
|
|
10348
|
-
async function
|
|
10348
|
+
async function Fy(r, e, t, n) {
|
|
10349
10349
|
await vl;
|
|
10350
10350
|
const s = await Qi(r, e);
|
|
10351
10351
|
if (!s)
|
|
@@ -10366,11 +10366,11 @@ async function Il(r, e, t, n) {
|
|
|
10366
10366
|
await vl;
|
|
10367
10367
|
} catch {
|
|
10368
10368
|
}
|
|
10369
|
-
const s =
|
|
10369
|
+
const s = Fy(r, e, t, n);
|
|
10370
10370
|
return vl = s, await s;
|
|
10371
10371
|
}
|
|
10372
10372
|
const Xo = ["then"];
|
|
10373
|
-
var
|
|
10373
|
+
var EA;
|
|
10374
10374
|
const Yi = class Yi {
|
|
10375
10375
|
/**
|
|
10376
10376
|
* Creates a new contract connected to %%target%% with the %%abi%% and
|
|
@@ -10405,7 +10405,7 @@ const Yi = class Yi {
|
|
|
10405
10405
|
/**
|
|
10406
10406
|
* @_ignore:
|
|
10407
10407
|
*/
|
|
10408
|
-
A(this,
|
|
10408
|
+
A(this, EA);
|
|
10409
10409
|
/**
|
|
10410
10410
|
* The fallback or receive function if any.
|
|
10411
10411
|
*/
|
|
@@ -10442,7 +10442,7 @@ const Yi = class Yi {
|
|
|
10442
10442
|
throw new Error("TODO");
|
|
10443
10443
|
return qe(this).addr = d, d;
|
|
10444
10444
|
});
|
|
10445
|
-
|
|
10445
|
+
Dy(this, { addrPromise: o, addr: a, deployTx: c, subs: l });
|
|
10446
10446
|
const h = new Proxy({}, {
|
|
10447
10447
|
get: (d, f, g) => {
|
|
10448
10448
|
if (typeof f == "symbol" || Xo.indexOf(f) >= 0)
|
|
@@ -10457,7 +10457,7 @@ const Yi = class Yi {
|
|
|
10457
10457
|
has: (d, f) => Xo.indexOf(f) >= 0 ? Reflect.has(d, f) : Reflect.has(d, f) || this.interface.hasEvent(String(f))
|
|
10458
10458
|
});
|
|
10459
10459
|
return U(this, { filters: h }), U(this, {
|
|
10460
|
-
fallback: i.receive || i.fallback ?
|
|
10460
|
+
fallback: i.receive || i.fallback ? By(this) : null
|
|
10461
10461
|
}), new Proxy(this, {
|
|
10462
10462
|
get: (d, f, g) => {
|
|
10463
10463
|
if (typeof f == "symbol" || f in d || Xo.indexOf(f) >= 0)
|
|
@@ -10540,7 +10540,7 @@ const Yi = class Yi {
|
|
|
10540
10540
|
* when using a Contract programatically.
|
|
10541
10541
|
*/
|
|
10542
10542
|
getFunction(e) {
|
|
10543
|
-
return typeof e != "string" && (e = e.format()),
|
|
10543
|
+
return typeof e != "string" && (e = e.format()), Ly(this, e);
|
|
10544
10544
|
}
|
|
10545
10545
|
/**
|
|
10546
10546
|
* Return the event for a given name. This is useful when a contract
|
|
@@ -10548,7 +10548,7 @@ const Yi = class Yi {
|
|
|
10548
10548
|
* when using a Contract programatically.
|
|
10549
10549
|
*/
|
|
10550
10550
|
getEvent(e) {
|
|
10551
|
-
return typeof e != "string" && (e = e.format()),
|
|
10551
|
+
return typeof e != "string" && (e = e.format()), My(this, e);
|
|
10552
10552
|
}
|
|
10553
10553
|
/**
|
|
10554
10554
|
* @_ignore:
|
|
@@ -10709,17 +10709,17 @@ const Yi = class Yi {
|
|
|
10709
10709
|
return n == null && (n = null), new this(e, t, n);
|
|
10710
10710
|
}
|
|
10711
10711
|
};
|
|
10712
|
-
|
|
10712
|
+
EA = _a;
|
|
10713
10713
|
let Nl = Yi;
|
|
10714
|
-
function
|
|
10714
|
+
function Hy() {
|
|
10715
10715
|
return Nl;
|
|
10716
10716
|
}
|
|
10717
|
-
class _s extends
|
|
10717
|
+
class _s extends Hy() {
|
|
10718
10718
|
}
|
|
10719
10719
|
function jc(r) {
|
|
10720
10720
|
return r.match(/^ipfs:\/\/ipfs\//i) ? r = r.substring(12) : r.match(/^ipfs:\/\//i) ? r = r.substring(7) : y(!1, "unsupported IPFS format", "link", r), `https://gateway.ipfs.io/ipfs/${r}`;
|
|
10721
10721
|
}
|
|
10722
|
-
class
|
|
10722
|
+
class Gy {
|
|
10723
10723
|
/**
|
|
10724
10724
|
* Creates a new **MulticoinProviderPluing** for %%name%%.
|
|
10725
10725
|
*/
|
|
@@ -10822,7 +10822,7 @@ const ks = class ks {
|
|
|
10822
10822
|
}
|
|
10823
10823
|
let t = null;
|
|
10824
10824
|
for (const i of this.provider.plugins)
|
|
10825
|
-
if (i instanceof
|
|
10825
|
+
if (i instanceof Gy && i.supportsCoinType(e)) {
|
|
10826
10826
|
t = i;
|
|
10827
10827
|
break;
|
|
10828
10828
|
}
|
|
@@ -10858,7 +10858,7 @@ const ks = class ks {
|
|
|
10858
10858
|
if (t) {
|
|
10859
10859
|
const s = t[1] === "e3010170" ? "ipfs" : "ipns", i = parseInt(t[4], 16);
|
|
10860
10860
|
if (t[5].length === i * 2)
|
|
10861
|
-
return `${s}://${
|
|
10861
|
+
return `${s}://${qp("0x" + t[2])}`;
|
|
10862
10862
|
}
|
|
10863
10863
|
const n = e.match(/^0xe40101fa011b20([0-9a-f]*)$/);
|
|
10864
10864
|
if (n && n[1].length === 64)
|
|
@@ -11007,7 +11007,7 @@ zn = new WeakMap(), Lr = new WeakMap(), Jn = new WeakSet(), As = async function(
|
|
|
11007
11007
|
await this.supportsWildcard() && (s = n.getFunction(e), v(s, "missing fragment", "UNKNOWN_ERROR", {
|
|
11008
11008
|
info: { funcName: e }
|
|
11009
11009
|
}), t = [
|
|
11010
|
-
|
|
11010
|
+
Hm(this.name, 255),
|
|
11011
11011
|
n.encodeFunctionData(s, t)
|
|
11012
11012
|
], e = "resolve(bytes,bytes)"), t.push({
|
|
11013
11013
|
enableCcipRead: !0
|
|
@@ -11073,7 +11073,7 @@ function Fo(r, e) {
|
|
|
11073
11073
|
return n;
|
|
11074
11074
|
};
|
|
11075
11075
|
}
|
|
11076
|
-
function
|
|
11076
|
+
function Ky(r) {
|
|
11077
11077
|
switch (r) {
|
|
11078
11078
|
case !0:
|
|
11079
11079
|
case "true":
|
|
@@ -11090,23 +11090,23 @@ function _i(r) {
|
|
|
11090
11090
|
function Ce(r) {
|
|
11091
11091
|
return y(X(r, 32), "invalid hash", "value", r), r;
|
|
11092
11092
|
}
|
|
11093
|
-
const
|
|
11093
|
+
const jy = Fo({
|
|
11094
11094
|
address: $,
|
|
11095
11095
|
blockHash: Ce,
|
|
11096
11096
|
blockNumber: H,
|
|
11097
11097
|
data: _i,
|
|
11098
11098
|
index: H,
|
|
11099
|
-
removed: V(
|
|
11099
|
+
removed: V(Ky, !1),
|
|
11100
11100
|
topics: rc(Ce),
|
|
11101
11101
|
transactionHash: Ce,
|
|
11102
11102
|
transactionIndex: H
|
|
11103
11103
|
}, {
|
|
11104
11104
|
index: ["logIndex"]
|
|
11105
11105
|
});
|
|
11106
|
-
function
|
|
11107
|
-
return
|
|
11106
|
+
function Vy(r) {
|
|
11107
|
+
return jy(r);
|
|
11108
11108
|
}
|
|
11109
|
-
const
|
|
11109
|
+
const Wy = Fo({
|
|
11110
11110
|
hash: V(Ce),
|
|
11111
11111
|
parentHash: Ce,
|
|
11112
11112
|
parentBeaconBlockRoot: V(Ce, null),
|
|
@@ -11127,11 +11127,11 @@ const jy = Fo({
|
|
|
11127
11127
|
}, {
|
|
11128
11128
|
prevRandao: ["mixHash"]
|
|
11129
11129
|
});
|
|
11130
|
-
function
|
|
11131
|
-
const e =
|
|
11130
|
+
function Qy(r) {
|
|
11131
|
+
const e = Wy(r);
|
|
11132
11132
|
return e.transactions = r.transactions.map((t) => typeof t == "string" ? t : Jf(t)), e;
|
|
11133
11133
|
}
|
|
11134
|
-
const
|
|
11134
|
+
const zy = Fo({
|
|
11135
11135
|
transactionIndex: H,
|
|
11136
11136
|
blockNumber: H,
|
|
11137
11137
|
transactionHash: Ce,
|
|
@@ -11143,10 +11143,10 @@ const Wy = Fo({
|
|
|
11143
11143
|
}, {
|
|
11144
11144
|
index: ["logIndex"]
|
|
11145
11145
|
});
|
|
11146
|
-
function
|
|
11147
|
-
return
|
|
11146
|
+
function Jy(r) {
|
|
11147
|
+
return zy(r);
|
|
11148
11148
|
}
|
|
11149
|
-
const
|
|
11149
|
+
const qy = Fo({
|
|
11150
11150
|
to: V($, null),
|
|
11151
11151
|
from: V($, null),
|
|
11152
11152
|
contractAddress: V($, null),
|
|
@@ -11158,7 +11158,7 @@ const zy = Fo({
|
|
|
11158
11158
|
logsBloom: V(_i),
|
|
11159
11159
|
blockHash: Ce,
|
|
11160
11160
|
hash: Ce,
|
|
11161
|
-
logs: rc(
|
|
11161
|
+
logs: rc(Jy),
|
|
11162
11162
|
blockNumber: H,
|
|
11163
11163
|
//confirmations: allowNull(getNumber, null),
|
|
11164
11164
|
cumulativeGasUsed: T,
|
|
@@ -11171,8 +11171,8 @@ const zy = Fo({
|
|
|
11171
11171
|
hash: ["transactionHash"],
|
|
11172
11172
|
index: ["transactionIndex"]
|
|
11173
11173
|
});
|
|
11174
|
-
function
|
|
11175
|
-
return
|
|
11174
|
+
function Zy(r) {
|
|
11175
|
+
return qy(r);
|
|
11176
11176
|
}
|
|
11177
11177
|
function Jf(r) {
|
|
11178
11178
|
r.to && T(r.to) === Sh && (r.to = "0x0000000000000000000000000000000000000000");
|
|
@@ -11204,13 +11204,13 @@ function Jf(r) {
|
|
|
11204
11204
|
gasLimit: ["gas"],
|
|
11205
11205
|
index: ["transactionIndex"]
|
|
11206
11206
|
})(r);
|
|
11207
|
-
if (e.to == null && e.creates == null && (e.creates =
|
|
11207
|
+
if (e.to == null && e.creates == null && (e.creates = j0(e)), (r.type === 1 || r.type === 2) && r.accessList == null && (e.accessList = []), r.signature ? e.signature = xt.from(r.signature) : e.signature = xt.from(r), e.chainId == null) {
|
|
11208
11208
|
const t = e.signature.legacyChainId;
|
|
11209
11209
|
t != null && (e.chainId = t);
|
|
11210
11210
|
}
|
|
11211
11211
|
return e.blockHash && T(e.blockHash) === Sh && (e.blockHash = null), e;
|
|
11212
11212
|
}
|
|
11213
|
-
const
|
|
11213
|
+
const $y = "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
|
|
11214
11214
|
class Ho {
|
|
11215
11215
|
/**
|
|
11216
11216
|
* Creates a new **NetworkPlugin**.
|
|
@@ -11300,7 +11300,7 @@ class ic extends Ho {
|
|
|
11300
11300
|
*/
|
|
11301
11301
|
A(this, "targetNetwork");
|
|
11302
11302
|
U(this, {
|
|
11303
|
-
address: t ||
|
|
11303
|
+
address: t || $y,
|
|
11304
11304
|
targetNetwork: n ?? 1
|
|
11305
11305
|
});
|
|
11306
11306
|
}
|
|
@@ -11309,7 +11309,7 @@ class ic extends Ho {
|
|
|
11309
11309
|
}
|
|
11310
11310
|
}
|
|
11311
11311
|
var Io, No;
|
|
11312
|
-
class
|
|
11312
|
+
class Yy extends Ho {
|
|
11313
11313
|
/**
|
|
11314
11314
|
* Creates a new **FetchUrlFeeDataNetworkPlugin** which will
|
|
11315
11315
|
* be used when computing the fee data for the network.
|
|
@@ -11475,7 +11475,7 @@ const xs = class xs {
|
|
|
11475
11475
|
* Returns a new Network for the %%network%% name or chainId.
|
|
11476
11476
|
*/
|
|
11477
11477
|
static from(e) {
|
|
11478
|
-
if (
|
|
11478
|
+
if (Xy(), e == null)
|
|
11479
11479
|
return xs.from("mainnet");
|
|
11480
11480
|
if (typeof e == "number" && (e = BigInt(e)), typeof e == "string" || typeof e == "bigint") {
|
|
11481
11481
|
const t = Vc.get(e);
|
|
@@ -11522,7 +11522,7 @@ function kh(r, e) {
|
|
|
11522
11522
|
return BigInt(n[0] + n[1]);
|
|
11523
11523
|
}
|
|
11524
11524
|
function xh(r) {
|
|
11525
|
-
return new
|
|
11525
|
+
return new Yy(r, async (e, t, n) => {
|
|
11526
11526
|
n.setHeader("User-Agent", "ethers");
|
|
11527
11527
|
let s;
|
|
11528
11528
|
try {
|
|
@@ -11543,7 +11543,7 @@ function xh(r) {
|
|
|
11543
11543
|
});
|
|
11544
11544
|
}
|
|
11545
11545
|
let Ph = !1;
|
|
11546
|
-
function
|
|
11546
|
+
function Xy() {
|
|
11547
11547
|
if (Ph)
|
|
11548
11548
|
return;
|
|
11549
11549
|
Ph = !0;
|
|
@@ -11579,7 +11579,7 @@ function Sl(r) {
|
|
|
11579
11579
|
return JSON.parse(JSON.stringify(r));
|
|
11580
11580
|
}
|
|
11581
11581
|
var yn, it, Zn, Kt, di, ga;
|
|
11582
|
-
class
|
|
11582
|
+
class ew {
|
|
11583
11583
|
/**
|
|
11584
11584
|
* Create a new **PollingBlockSubscriber** attached to %%provider%%.
|
|
11585
11585
|
*/
|
|
@@ -11668,7 +11668,7 @@ class ru {
|
|
|
11668
11668
|
}
|
|
11669
11669
|
Mr = new WeakMap(), Dr = new WeakMap(), $n = new WeakMap();
|
|
11670
11670
|
var fi, wn;
|
|
11671
|
-
class
|
|
11671
|
+
class tw extends ru {
|
|
11672
11672
|
constructor(t, n) {
|
|
11673
11673
|
super(t);
|
|
11674
11674
|
b(this, fi, void 0);
|
|
@@ -11685,7 +11685,7 @@ class Xy extends ru {
|
|
|
11685
11685
|
}
|
|
11686
11686
|
fi = new WeakMap(), wn = new WeakMap();
|
|
11687
11687
|
var ja;
|
|
11688
|
-
class
|
|
11688
|
+
class nw extends ru {
|
|
11689
11689
|
constructor(t, n) {
|
|
11690
11690
|
super(t);
|
|
11691
11691
|
b(this, ja, void 0);
|
|
@@ -11697,7 +11697,7 @@ class ew extends ru {
|
|
|
11697
11697
|
}
|
|
11698
11698
|
ja = new WeakMap();
|
|
11699
11699
|
var pi;
|
|
11700
|
-
class
|
|
11700
|
+
class rw extends ru {
|
|
11701
11701
|
/**
|
|
11702
11702
|
* Create a new **PollingTransactionSubscriber** attached to
|
|
11703
11703
|
* %%provider%%, listening for %%hash%%.
|
|
@@ -11758,7 +11758,7 @@ bn = new WeakMap(), gi = new WeakMap(), mi = new WeakMap(), Yn = new WeakMap(),
|
|
|
11758
11758
|
for (const s of n)
|
|
11759
11759
|
u(this, bn).emit(u(this, gi), s), p(this, ot, s.blockNumber);
|
|
11760
11760
|
};
|
|
11761
|
-
const
|
|
11761
|
+
const sw = BigInt(2), iw = 10;
|
|
11762
11762
|
function ea(r) {
|
|
11763
11763
|
return r && typeof r.then == "function";
|
|
11764
11764
|
}
|
|
@@ -11797,7 +11797,7 @@ class La {
|
|
|
11797
11797
|
resume() {
|
|
11798
11798
|
}
|
|
11799
11799
|
}
|
|
11800
|
-
function
|
|
11800
|
+
function ow(r) {
|
|
11801
11801
|
return JSON.parse(JSON.stringify(r));
|
|
11802
11802
|
}
|
|
11803
11803
|
function kl(r) {
|
|
@@ -11823,7 +11823,7 @@ async function Wc(r, e) {
|
|
|
11823
11823
|
}
|
|
11824
11824
|
if (r.orphan) {
|
|
11825
11825
|
const t = r;
|
|
11826
|
-
return { type: "orphan", tag: ma("orphan", t), filter:
|
|
11826
|
+
return { type: "orphan", tag: ma("orphan", t), filter: ow(t) };
|
|
11827
11827
|
}
|
|
11828
11828
|
if (r.address || r.topics) {
|
|
11829
11829
|
const t = r, n = {
|
|
@@ -11844,12 +11844,12 @@ async function Wc(r, e) {
|
|
|
11844
11844
|
function Qc() {
|
|
11845
11845
|
return (/* @__PURE__ */ new Date()).getTime();
|
|
11846
11846
|
}
|
|
11847
|
-
const
|
|
11847
|
+
const aw = {
|
|
11848
11848
|
cacheTimeout: 250,
|
|
11849
11849
|
pollingInterval: 4e3
|
|
11850
11850
|
};
|
|
11851
11851
|
var Ne, Xn, Se, yi, Xe, Ur, er, An, So, at, wi, bi, Oe, Je, ko, xl, xo, Pl, Fr, zi, Po, Rl, Hr, Ji, Ai, ya;
|
|
11852
|
-
class
|
|
11852
|
+
class cw {
|
|
11853
11853
|
/**
|
|
11854
11854
|
* Create a new **AbstractProvider** connected to %%network%%, or
|
|
11855
11855
|
* use the various network detection capabilities to discover the
|
|
@@ -11879,7 +11879,7 @@ class ow {
|
|
|
11879
11879
|
b(this, at, void 0);
|
|
11880
11880
|
b(this, wi, void 0);
|
|
11881
11881
|
b(this, bi, void 0);
|
|
11882
|
-
if (p(this, bi, Object.assign({},
|
|
11882
|
+
if (p(this, bi, Object.assign({}, aw, t || {})), e === "any")
|
|
11883
11883
|
p(this, Ur, !0), p(this, Xe, null);
|
|
11884
11884
|
else if (e) {
|
|
11885
11885
|
const n = kt.from(e);
|
|
@@ -11963,7 +11963,7 @@ class ow {
|
|
|
11963
11963
|
* sub-class of [[Block]].
|
|
11964
11964
|
*/
|
|
11965
11965
|
_wrapBlock(e, t) {
|
|
11966
|
-
return new
|
|
11966
|
+
return new ky(Qy(e), this);
|
|
11967
11967
|
}
|
|
11968
11968
|
/**
|
|
11969
11969
|
* Provides the opportunity for a sub-class to wrap a log before
|
|
@@ -11971,7 +11971,7 @@ class ow {
|
|
|
11971
11971
|
* sub-class of [[Log]].
|
|
11972
11972
|
*/
|
|
11973
11973
|
_wrapLog(e, t) {
|
|
11974
|
-
return new Uo(
|
|
11974
|
+
return new Uo(Vy(e), this);
|
|
11975
11975
|
}
|
|
11976
11976
|
/**
|
|
11977
11977
|
* Provides the opportunity for a sub-class to wrap a transaction
|
|
@@ -11979,7 +11979,7 @@ class ow {
|
|
|
11979
11979
|
* alternate sub-class of [[TransactionReceipt]].
|
|
11980
11980
|
*/
|
|
11981
11981
|
_wrapTransactionReceipt(e, t) {
|
|
11982
|
-
return new Lf(
|
|
11982
|
+
return new Lf(Zy(e), this);
|
|
11983
11983
|
}
|
|
11984
11984
|
/**
|
|
11985
11985
|
* Provides the opportunity for a sub-class to wrap a transaction
|
|
@@ -12149,7 +12149,7 @@ class ow {
|
|
|
12149
12149
|
});
|
|
12150
12150
|
let a = null, c = null;
|
|
12151
12151
|
const l = this._wrapBlock(s, e);
|
|
12152
|
-
return l && l.baseFeePerGas && (c = o ?? BigInt("1000000000"), a = l.baseFeePerGas *
|
|
12152
|
+
return l && l.baseFeePerGas && (c = o ?? BigInt("1000000000"), a = l.baseFeePerGas * sw + c), new Ch(i, a, c);
|
|
12153
12153
|
}, n = e.getPlugin("org.ethers.plugins.network.FetchUrlFeeDataPlugin");
|
|
12154
12154
|
if (n) {
|
|
12155
12155
|
const s = new Yt(n.url), i = await n.processFunc(t, this, s);
|
|
@@ -12354,18 +12354,18 @@ class ow {
|
|
|
12354
12354
|
case "network":
|
|
12355
12355
|
return new La(e.type);
|
|
12356
12356
|
case "block": {
|
|
12357
|
-
const t = new
|
|
12357
|
+
const t = new ew(this);
|
|
12358
12358
|
return t.pollingInterval = this.pollingInterval, t;
|
|
12359
12359
|
}
|
|
12360
12360
|
case "safe":
|
|
12361
12361
|
case "finalized":
|
|
12362
|
-
return new
|
|
12362
|
+
return new tw(this, e.type);
|
|
12363
12363
|
case "event":
|
|
12364
12364
|
return new su(this, e.filter);
|
|
12365
12365
|
case "transaction":
|
|
12366
|
-
return new
|
|
12366
|
+
return new rw(this, e.hash);
|
|
12367
12367
|
case "orphan":
|
|
12368
|
-
return new
|
|
12368
|
+
return new nw(this, e.filter);
|
|
12369
12369
|
}
|
|
12370
12370
|
throw new Error(`unsupported event: ${e.type}`);
|
|
12371
12371
|
}
|
|
@@ -12533,7 +12533,7 @@ Ne = new WeakMap(), Xn = new WeakMap(), Se = new WeakMap(), yi = new WeakMap(),
|
|
|
12533
12533
|
u(this, er).get(n) === s && u(this, er).delete(n);
|
|
12534
12534
|
}, t)), await s;
|
|
12535
12535
|
}, ko = new WeakSet(), xl = async function(e, t, n) {
|
|
12536
|
-
v(n <
|
|
12536
|
+
v(n < iw, "CCIP read exceeded maximum redirections", "OFFCHAIN_FAULT", {
|
|
12537
12537
|
reason: "TOO_MANY_REDIRECTS",
|
|
12538
12538
|
transaction: Object.assign({}, e, { blockTag: t, enableCcipRead: !0 })
|
|
12539
12539
|
});
|
|
@@ -12545,7 +12545,7 @@ Ne = new WeakMap(), Xn = new WeakMap(), Se = new WeakMap(), yi = new WeakMap(),
|
|
|
12545
12545
|
const o = i.data, a = await Ue(s.to, this);
|
|
12546
12546
|
let c;
|
|
12547
12547
|
try {
|
|
12548
|
-
c =
|
|
12548
|
+
c = fw(ie(i.data, 4));
|
|
12549
12549
|
} catch (d) {
|
|
12550
12550
|
v(!1, d.message, "OFFCHAIN_FAULT", {
|
|
12551
12551
|
reason: "BAD_DATA",
|
|
@@ -12573,7 +12573,7 @@ Ne = new WeakMap(), Xn = new WeakMap(), Se = new WeakMap(), yi = new WeakMap(),
|
|
|
12573
12573
|
});
|
|
12574
12574
|
const h = {
|
|
12575
12575
|
to: a,
|
|
12576
|
-
data: ue([c.selector,
|
|
12576
|
+
data: ue([c.selector, dw([l, c.extraData])])
|
|
12577
12577
|
};
|
|
12578
12578
|
this.emit("debug", { action: "sendCcipReadCall", transaction: h });
|
|
12579
12579
|
try {
|
|
@@ -12615,7 +12615,7 @@ Ne = new WeakMap(), Xn = new WeakMap(), Se = new WeakMap(), yi = new WeakMap(),
|
|
|
12615
12615
|
let s = u(this, Ne).get(n);
|
|
12616
12616
|
return s || (s = { subscriber: this._getSubscriber(t), tag: n, addressableMap: /* @__PURE__ */ new WeakMap(), nameMap: /* @__PURE__ */ new Map(), started: !1, listeners: [] }, u(this, Ne).set(n, s)), s;
|
|
12617
12617
|
};
|
|
12618
|
-
function
|
|
12618
|
+
function lw(r, e) {
|
|
12619
12619
|
try {
|
|
12620
12620
|
const t = Ol(r, e);
|
|
12621
12621
|
if (t)
|
|
@@ -12641,26 +12641,26 @@ function Rh(r) {
|
|
|
12641
12641
|
const t = new Uint8Array(32);
|
|
12642
12642
|
return t.set(e, 32 - e.length), t;
|
|
12643
12643
|
}
|
|
12644
|
-
function
|
|
12644
|
+
function uw(r) {
|
|
12645
12645
|
if (r.length % 32 === 0)
|
|
12646
12646
|
return r;
|
|
12647
12647
|
const e = new Uint8Array(Math.ceil(r.length / 32) * 32);
|
|
12648
12648
|
return e.set(r), e;
|
|
12649
12649
|
}
|
|
12650
|
-
const
|
|
12651
|
-
function
|
|
12650
|
+
const hw = new Uint8Array([]);
|
|
12651
|
+
function dw(r) {
|
|
12652
12652
|
const e = [];
|
|
12653
12653
|
let t = 0;
|
|
12654
12654
|
for (let n = 0; n < r.length; n++)
|
|
12655
|
-
e.push(
|
|
12655
|
+
e.push(hw), t += 32;
|
|
12656
12656
|
for (let n = 0; n < r.length; n++) {
|
|
12657
12657
|
const s = W(r[n]);
|
|
12658
|
-
e[n] = Rh(t), e.push(Rh(s.length)), e.push(
|
|
12658
|
+
e[n] = Rh(t), e.push(Rh(s.length)), e.push(uw(s)), t += 32 + Math.ceil(s.length / 32) * 32;
|
|
12659
12659
|
}
|
|
12660
12660
|
return ue(e);
|
|
12661
12661
|
}
|
|
12662
12662
|
const Oh = "0x0000000000000000000000000000000000000000000000000000000000000000";
|
|
12663
|
-
function
|
|
12663
|
+
function fw(r) {
|
|
12664
12664
|
const e = {
|
|
12665
12665
|
sender: "",
|
|
12666
12666
|
urls: [],
|
|
@@ -12679,7 +12679,7 @@ function hw(r) {
|
|
|
12679
12679
|
try {
|
|
12680
12680
|
const n = [], s = H(ie(r, 32, 64)), i = H(ie(r, s, s + 32)), o = ie(r, s + 32);
|
|
12681
12681
|
for (let a = 0; a < i; a++) {
|
|
12682
|
-
const c =
|
|
12682
|
+
const c = lw(o, a * 32);
|
|
12683
12683
|
if (c == null)
|
|
12684
12684
|
throw new Error("abort");
|
|
12685
12685
|
n.push(c);
|
|
@@ -12732,7 +12732,7 @@ async function Th(r, e) {
|
|
|
12732
12732
|
t.from = r.getAddress();
|
|
12733
12733
|
return await _e(t);
|
|
12734
12734
|
}
|
|
12735
|
-
class
|
|
12735
|
+
class pw {
|
|
12736
12736
|
/**
|
|
12737
12737
|
* Creates a new Signer connected to %%provider%%.
|
|
12738
12738
|
*/
|
|
@@ -12803,10 +12803,10 @@ class dw {
|
|
|
12803
12803
|
}
|
|
12804
12804
|
}
|
|
12805
12805
|
const _h = /* @__PURE__ */ new Set();
|
|
12806
|
-
function
|
|
12806
|
+
function gw(r) {
|
|
12807
12807
|
_h.has(r) || (_h.add(r), console.log("========= NOTICE ========="), console.log(`Request-Rate Exceeded for ${r} (this message will not be repeated)`), console.log(""), console.log("The default API keys for each service are provided as a highly-throttled,"), console.log("community resource for low-traffic projects and early prototyping."), console.log(""), console.log("While your application will continue to function, we highly recommended"), console.log("signing up for your own API keys to improve performance, increase your"), console.log("request rate/limit and enable other perks, such as metrics and advanced APIs."), console.log(""), console.log("For more details: https://docs.ethers.org/api-keys/"), console.log("=========================="));
|
|
12808
12808
|
}
|
|
12809
|
-
function
|
|
12809
|
+
function mw(r) {
|
|
12810
12810
|
return JSON.parse(JSON.stringify(r));
|
|
12811
12811
|
}
|
|
12812
12812
|
var Te, jt, Gr, tr, Kr, Ei, Ro, Tl, Oo, _l;
|
|
@@ -12890,7 +12890,7 @@ Te = new WeakMap(), jt = new WeakMap(), Gr = new WeakMap(), tr = new WeakMap(),
|
|
|
12890
12890
|
}));
|
|
12891
12891
|
};
|
|
12892
12892
|
var jr;
|
|
12893
|
-
class
|
|
12893
|
+
class yw extends Zf {
|
|
12894
12894
|
/**
|
|
12895
12895
|
* Creates a new **FilterIdEventSubscriber** attached to %%provider%%
|
|
12896
12896
|
* listening for %%filter%%.
|
|
@@ -12898,7 +12898,7 @@ class gw extends Zf {
|
|
|
12898
12898
|
constructor(t, n) {
|
|
12899
12899
|
super(t);
|
|
12900
12900
|
b(this, jr, void 0);
|
|
12901
|
-
p(this, jr,
|
|
12901
|
+
p(this, jr, mw(n));
|
|
12902
12902
|
}
|
|
12903
12903
|
_recover(t) {
|
|
12904
12904
|
return new su(t, u(this, jr));
|
|
@@ -12912,7 +12912,7 @@ class gw extends Zf {
|
|
|
12912
12912
|
}
|
|
12913
12913
|
}
|
|
12914
12914
|
jr = new WeakMap();
|
|
12915
|
-
class
|
|
12915
|
+
class ww extends Zf {
|
|
12916
12916
|
async _subscribe(e) {
|
|
12917
12917
|
return await e.send("eth_newPendingTransactionFilter", []);
|
|
12918
12918
|
}
|
|
@@ -12921,9 +12921,9 @@ class mw extends Zf {
|
|
|
12921
12921
|
e.emit("pending", n);
|
|
12922
12922
|
}
|
|
12923
12923
|
}
|
|
12924
|
-
const
|
|
12924
|
+
const bw = "bigint,boolean,function,number,string,symbol".split(/,/g);
|
|
12925
12925
|
function wa(r) {
|
|
12926
|
-
if (r == null ||
|
|
12926
|
+
if (r == null || bw.indexOf(typeof r) >= 0 || typeof r.getAddress == "function")
|
|
12927
12927
|
return r;
|
|
12928
12928
|
if (Array.isArray(r))
|
|
12929
12929
|
return r.map(wa);
|
|
@@ -12931,7 +12931,7 @@ function wa(r) {
|
|
|
12931
12931
|
return Object.keys(r).reduce((e, t) => (e[t] = r[t], e), {});
|
|
12932
12932
|
throw new Error(`should not happen: ${r} (${typeof r})`);
|
|
12933
12933
|
}
|
|
12934
|
-
function
|
|
12934
|
+
function Aw(r) {
|
|
12935
12935
|
return new Promise((e) => {
|
|
12936
12936
|
setTimeout(e, r);
|
|
12937
12937
|
});
|
|
@@ -12951,7 +12951,7 @@ const $f = {
|
|
|
12951
12951
|
cacheTimeout: 250,
|
|
12952
12952
|
pollingInterval: 4e3
|
|
12953
12953
|
};
|
|
12954
|
-
class Bs extends
|
|
12954
|
+
class Bs extends pw {
|
|
12955
12955
|
constructor(t, n) {
|
|
12956
12956
|
super(t);
|
|
12957
12957
|
A(this, "address");
|
|
@@ -13067,7 +13067,7 @@ class Bs extends dw {
|
|
|
13067
13067
|
}
|
|
13068
13068
|
}
|
|
13069
13069
|
var Vr, Ci, En, Vt, It, ct, Ke, To, Bl;
|
|
13070
|
-
class Yf extends
|
|
13070
|
+
class Yf extends cw {
|
|
13071
13071
|
constructor(t, n) {
|
|
13072
13072
|
super(t, n);
|
|
13073
13073
|
b(this, To);
|
|
@@ -13181,7 +13181,7 @@ class Yf extends ow {
|
|
|
13181
13181
|
} catch (t) {
|
|
13182
13182
|
if (this.destroyed)
|
|
13183
13183
|
break;
|
|
13184
|
-
console.log("JsonRpcProvider failed to detect network and cannot start up; retry in 1s (perhaps the URL is wrong or the node is not started)"), this.emit("error", re("failed to bootstrap network detection", "NETWORK_ERROR", { event: "initial-network-discovery", info: { error: t } })), await
|
|
13184
|
+
console.log("JsonRpcProvider failed to detect network and cannot start up; retry in 1s (perhaps the URL is wrong or the node is not started)"), this.emit("error", re("failed to bootstrap network detection", "NETWORK_ERROR", { event: "initial-network-discovery", info: { error: t } })), await Aw(1e3);
|
|
13185
13185
|
}
|
|
13186
13186
|
I(this, To, Bl).call(this);
|
|
13187
13187
|
})());
|
|
@@ -13202,7 +13202,7 @@ class Yf extends ow {
|
|
|
13202
13202
|
* subscription management.
|
|
13203
13203
|
*/
|
|
13204
13204
|
_getSubscriber(t) {
|
|
13205
|
-
return t.type === "pending" ? new
|
|
13205
|
+
return t.type === "pending" ? new ww(this) : t.type === "event" ? this._getOption("polling") ? new su(this, t.filter) : new yw(this, t.filter) : t.type === "orphan" && t.filter.orphan === "drop-log" ? new La("orphan") : super._getSubscriber(t);
|
|
13206
13206
|
}
|
|
13207
13207
|
/**
|
|
13208
13208
|
* Returns true only if the [[_start]] has been called.
|
|
@@ -13326,7 +13326,7 @@ class Yf extends ow {
|
|
|
13326
13326
|
const c = Ll(i), l = ao.getBuiltinCallException(s === "eth_call" ? "call" : "estimateGas", t.params[0], c ? c.data : null);
|
|
13327
13327
|
return l.info = { error: i, payload: t }, l;
|
|
13328
13328
|
}
|
|
13329
|
-
const o = JSON.stringify(
|
|
13329
|
+
const o = JSON.stringify(Ew(i));
|
|
13330
13330
|
if (typeof i.message == "string" && i.message.match(/user denied|ethers-user-denied/i))
|
|
13331
13331
|
return re("user rejected action", "ACTION_REJECTED", {
|
|
13332
13332
|
action: {
|
|
@@ -13562,11 +13562,11 @@ function Ml(r, e) {
|
|
|
13562
13562
|
}
|
|
13563
13563
|
}
|
|
13564
13564
|
}
|
|
13565
|
-
function
|
|
13565
|
+
function Ew(r) {
|
|
13566
13566
|
const e = [];
|
|
13567
13567
|
return Ml(r, e), e;
|
|
13568
13568
|
}
|
|
13569
|
-
function
|
|
13569
|
+
function Cw() {
|
|
13570
13570
|
if (typeof self < "u")
|
|
13571
13571
|
return self;
|
|
13572
13572
|
if (typeof window < "u")
|
|
@@ -13575,7 +13575,7 @@ function Aw() {
|
|
|
13575
13575
|
return Aa;
|
|
13576
13576
|
throw new Error("unable to locate global object");
|
|
13577
13577
|
}
|
|
13578
|
-
const
|
|
13578
|
+
const vw = Cw().WebSocket;
|
|
13579
13579
|
var Wt, _o, rr, Wr, sr;
|
|
13580
13580
|
class iu {
|
|
13581
13581
|
/**
|
|
@@ -13634,7 +13634,7 @@ class iu {
|
|
|
13634
13634
|
}
|
|
13635
13635
|
}
|
|
13636
13636
|
Wt = new WeakMap(), _o = new WeakMap(), rr = new WeakMap(), Wr = new WeakMap(), sr = new WeakMap();
|
|
13637
|
-
class
|
|
13637
|
+
class Iw extends iu {
|
|
13638
13638
|
/**
|
|
13639
13639
|
* @_ignore:
|
|
13640
13640
|
*/
|
|
@@ -13645,7 +13645,7 @@ class Cw extends iu {
|
|
|
13645
13645
|
e.emit("block", parseInt(t.number));
|
|
13646
13646
|
}
|
|
13647
13647
|
}
|
|
13648
|
-
class
|
|
13648
|
+
class Nw extends iu {
|
|
13649
13649
|
/**
|
|
13650
13650
|
* @_ignore:
|
|
13651
13651
|
*/
|
|
@@ -13657,7 +13657,7 @@ class vw extends iu {
|
|
|
13657
13657
|
}
|
|
13658
13658
|
}
|
|
13659
13659
|
var Bo;
|
|
13660
|
-
class
|
|
13660
|
+
class Sw extends iu {
|
|
13661
13661
|
/**
|
|
13662
13662
|
* @_ignore:
|
|
13663
13663
|
*/
|
|
@@ -13678,7 +13678,7 @@ class Iw extends iu {
|
|
|
13678
13678
|
}
|
|
13679
13679
|
Bo = new WeakMap();
|
|
13680
13680
|
var Qr, Ii, ir;
|
|
13681
|
-
class
|
|
13681
|
+
class kw extends Yf {
|
|
13682
13682
|
/**
|
|
13683
13683
|
* Creates a new **SocketProvider** connected to %%network%%.
|
|
13684
13684
|
*
|
|
@@ -13710,11 +13710,11 @@ class Nw extends Yf {
|
|
|
13710
13710
|
case "close":
|
|
13711
13711
|
return new La("close");
|
|
13712
13712
|
case "block":
|
|
13713
|
-
return new
|
|
13713
|
+
return new Iw(this);
|
|
13714
13714
|
case "pending":
|
|
13715
|
-
return new
|
|
13715
|
+
return new Nw(this);
|
|
13716
13716
|
case "event":
|
|
13717
|
-
return new
|
|
13717
|
+
return new Sw(this, t.filter);
|
|
13718
13718
|
case "orphan":
|
|
13719
13719
|
if (t.filter.orphan === "drop-log")
|
|
13720
13720
|
return new La("drop-log");
|
|
@@ -13797,12 +13797,12 @@ class Nw extends Yf {
|
|
|
13797
13797
|
}
|
|
13798
13798
|
Qr = new WeakMap(), Ii = new WeakMap(), ir = new WeakMap();
|
|
13799
13799
|
var zr, Nt;
|
|
13800
|
-
class
|
|
13800
|
+
class xw extends kw {
|
|
13801
13801
|
constructor(t, n, s) {
|
|
13802
13802
|
super(n, s);
|
|
13803
13803
|
b(this, zr, void 0);
|
|
13804
13804
|
b(this, Nt, void 0);
|
|
13805
|
-
typeof t == "string" ? (p(this, zr, () => new
|
|
13805
|
+
typeof t == "string" ? (p(this, zr, () => new vw(t)), p(this, Nt, u(this, zr).call(this))) : typeof t == "function" ? (p(this, zr, t), p(this, Nt, t())) : (p(this, zr, null), p(this, Nt, t)), this.websocket.onopen = async () => {
|
|
13806
13806
|
try {
|
|
13807
13807
|
await this._start(), this.resume();
|
|
13808
13808
|
} catch (i) {
|
|
@@ -13826,7 +13826,7 @@ class Sw extends Nw {
|
|
|
13826
13826
|
}
|
|
13827
13827
|
zr = new WeakMap(), Nt = new WeakMap();
|
|
13828
13828
|
const qi = "84842078b09946638c03157f83405213";
|
|
13829
|
-
function
|
|
13829
|
+
function Pw(r) {
|
|
13830
13830
|
switch (r) {
|
|
13831
13831
|
case "mainnet":
|
|
13832
13832
|
return "mainnet.infura.io";
|
|
@@ -13871,7 +13871,7 @@ function kw(r) {
|
|
|
13871
13871
|
}
|
|
13872
13872
|
y(!1, "unsupported network", "network", r);
|
|
13873
13873
|
}
|
|
13874
|
-
class
|
|
13874
|
+
class Rw extends xw {
|
|
13875
13875
|
/**
|
|
13876
13876
|
* Creates a new **InfuraWebSocketProvider**.
|
|
13877
13877
|
*/
|
|
@@ -13937,7 +13937,7 @@ class ns extends ep {
|
|
|
13937
13937
|
* Creates a new **InfuraWebSocketProvider**.
|
|
13938
13938
|
*/
|
|
13939
13939
|
static getWebSocketProvider(t, n) {
|
|
13940
|
-
return new
|
|
13940
|
+
return new Rw(t, n);
|
|
13941
13941
|
}
|
|
13942
13942
|
/**
|
|
13943
13943
|
* Returns a prepared request for connecting to %%network%%
|
|
@@ -13945,8 +13945,8 @@ class ns extends ep {
|
|
|
13945
13945
|
*/
|
|
13946
13946
|
static getRequest(t, n, s) {
|
|
13947
13947
|
n == null && (n = qi), s == null && (s = null);
|
|
13948
|
-
const i = new Yt(`https://${
|
|
13949
|
-
return i.allowGzip = !0, s && i.setCredentials("", s), n === qi && (i.retryFunc = async (o, a, c) => (
|
|
13948
|
+
const i = new Yt(`https://${Pw(t.name)}/v3/${n}`);
|
|
13949
|
+
return i.allowGzip = !0, s && i.setCredentials("", s), n === qi && (i.retryFunc = async (o, a, c) => (gw("InfuraProvider"), !0)), i;
|
|
13950
13950
|
}
|
|
13951
13951
|
}
|
|
13952
13952
|
var Ni;
|
|
@@ -14084,13 +14084,13 @@ const Dn = {
|
|
|
14084
14084
|
}
|
|
14085
14085
|
},
|
|
14086
14086
|
getEnsAvatar: async (r, e) => e === 1 && await new ns("mainnet").getAvatar(r) || !1,
|
|
14087
|
-
parseUnits:
|
|
14087
|
+
parseUnits: pg,
|
|
14088
14088
|
formatUnits: wd
|
|
14089
14089
|
};
|
|
14090
14090
|
var tp = {}, lo = {}, oc = {};
|
|
14091
14091
|
Object.defineProperty(oc, "__esModule", { value: !0 });
|
|
14092
14092
|
oc.walletLogo = void 0;
|
|
14093
|
-
const
|
|
14093
|
+
const Ow = (r, e) => {
|
|
14094
14094
|
let t;
|
|
14095
14095
|
switch (r) {
|
|
14096
14096
|
case "standard":
|
|
@@ -14109,7 +14109,7 @@ const Pw = (r, e) => {
|
|
|
14109
14109
|
return t = e, `data:image/svg+xml,%3Csvg width='${e}' height='${t}' viewBox='0 0 1024 1024' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Crect width='1024' height='1024' fill='%230052FF'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M152 512C152 710.823 313.177 872 512 872C710.823 872 872 710.823 872 512C872 313.177 710.823 152 512 152C313.177 152 152 313.177 152 512ZM420 396C406.745 396 396 406.745 396 420V604C396 617.255 406.745 628 420 628H604C617.255 628 628 617.255 628 604V420C628 406.745 617.255 396 604 396H420Z' fill='white'/%3E %3C/svg%3E `;
|
|
14110
14110
|
}
|
|
14111
14111
|
};
|
|
14112
|
-
oc.walletLogo =
|
|
14112
|
+
oc.walletLogo = Ow;
|
|
14113
14113
|
var ac = {}, Xt = {}, Sn = {};
|
|
14114
14114
|
Object.defineProperty(Sn, "__esModule", { value: !0 });
|
|
14115
14115
|
Sn.errorValues = Sn.standardErrorCodes = void 0;
|
|
@@ -14341,12 +14341,12 @@ class ip extends sp {
|
|
|
14341
14341
|
* `code` must be an integer in the 1000 <= 4999 range.
|
|
14342
14342
|
*/
|
|
14343
14343
|
constructor(e, t, n) {
|
|
14344
|
-
if (!
|
|
14344
|
+
if (!Tw(e))
|
|
14345
14345
|
throw new Error('"code" must be an integer such that: 1000 <= code <= 4999');
|
|
14346
14346
|
super(e, t, n);
|
|
14347
14347
|
}
|
|
14348
14348
|
}
|
|
14349
|
-
function
|
|
14349
|
+
function Tw(r) {
|
|
14350
14350
|
return Number.isInteger(r) && r >= 1e3 && r <= 4999;
|
|
14351
14351
|
}
|
|
14352
14352
|
(function(r) {
|
|
@@ -14363,33 +14363,33 @@ function Rw(r) {
|
|
|
14363
14363
|
var lc = {}, Di = {};
|
|
14364
14364
|
Object.defineProperty(Di, "__esModule", { value: !0 });
|
|
14365
14365
|
Di.isErrorResponse = void 0;
|
|
14366
|
-
function
|
|
14366
|
+
function _w(r) {
|
|
14367
14367
|
return r.errorMessage !== void 0;
|
|
14368
14368
|
}
|
|
14369
|
-
Di.isErrorResponse =
|
|
14369
|
+
Di.isErrorResponse = _w;
|
|
14370
14370
|
var ss = {};
|
|
14371
14371
|
Object.defineProperty(ss, "__esModule", { value: !0 });
|
|
14372
14372
|
ss.LIB_VERSION = void 0;
|
|
14373
14373
|
ss.LIB_VERSION = "4.0.3";
|
|
14374
14374
|
Object.defineProperty(lc, "__esModule", { value: !0 });
|
|
14375
14375
|
lc.serializeError = void 0;
|
|
14376
|
-
const
|
|
14377
|
-
function
|
|
14378
|
-
const t = (0,
|
|
14376
|
+
const Bw = Di, Lw = ss, Mw = Sn, Dw = ou;
|
|
14377
|
+
function Uw(r, e) {
|
|
14378
|
+
const t = (0, Dw.serialize)(Fw(r), {
|
|
14379
14379
|
shouldIncludeStack: !0
|
|
14380
14380
|
}), n = new URL("https://docs.cloud.coinbase.com/wallet-sdk/docs/errors");
|
|
14381
|
-
n.searchParams.set("version",
|
|
14382
|
-
const s =
|
|
14381
|
+
n.searchParams.set("version", Lw.LIB_VERSION), n.searchParams.set("code", t.code.toString());
|
|
14382
|
+
const s = Hw(t.data, e);
|
|
14383
14383
|
return s && n.searchParams.set("method", s), n.searchParams.set("message", t.message), Object.assign(Object.assign({}, t), { docUrl: n.href });
|
|
14384
14384
|
}
|
|
14385
|
-
lc.serializeError =
|
|
14386
|
-
function
|
|
14385
|
+
lc.serializeError = Uw;
|
|
14386
|
+
function Fw(r) {
|
|
14387
14387
|
return typeof r == "string" ? {
|
|
14388
14388
|
message: r,
|
|
14389
|
-
code:
|
|
14390
|
-
} : (0,
|
|
14389
|
+
code: Mw.standardErrorCodes.rpc.internal
|
|
14390
|
+
} : (0, Bw.isErrorResponse)(r) ? Object.assign(Object.assign({}, r), { message: r.errorMessage, code: r.errorCode, data: { method: r.method } }) : r;
|
|
14391
14391
|
}
|
|
14392
|
-
function
|
|
14392
|
+
function Hw(r, e) {
|
|
14393
14393
|
const t = r == null ? void 0 : r.method;
|
|
14394
14394
|
if (t)
|
|
14395
14395
|
return t;
|
|
@@ -14413,44 +14413,44 @@ ke.OpaqueType = Go;
|
|
|
14413
14413
|
ke.HexString = Go();
|
|
14414
14414
|
ke.AddressString = Go();
|
|
14415
14415
|
ke.BigIntString = Go();
|
|
14416
|
-
function
|
|
14416
|
+
function Gw(r) {
|
|
14417
14417
|
return Math.floor(r);
|
|
14418
14418
|
}
|
|
14419
|
-
ke.IntNumber =
|
|
14419
|
+
ke.IntNumber = Gw;
|
|
14420
14420
|
ke.RegExpString = Go();
|
|
14421
14421
|
var L = {};
|
|
14422
14422
|
Object.defineProperty(L, "__esModule", { value: !0 });
|
|
14423
14423
|
L.areAddressArraysEqual = L.getFavicon = L.range = L.isBigNumber = L.ensureParsedJSONObject = L.ensureBigInt = L.ensureRegExpString = L.ensureIntNumber = L.ensureBuffer = L.ensureAddressString = L.ensureEvenLengthHexString = L.ensureHexString = L.isHexString = L.prepend0x = L.strip0x = L.has0xPrefix = L.hexStringFromIntNumber = L.intNumberFromHexString = L.bigIntStringFromBigInt = L.hexStringFromBuffer = L.hexStringToUint8Array = L.uint8ArrayToHex = L.randomBytesHex = void 0;
|
|
14424
14424
|
const is = Xt, ht = ke, op = /^[0-9]*$/, ap = /^[a-f0-9]*$/;
|
|
14425
|
-
function
|
|
14425
|
+
function Kw(r) {
|
|
14426
14426
|
return cp(crypto.getRandomValues(new Uint8Array(r)));
|
|
14427
14427
|
}
|
|
14428
|
-
L.randomBytesHex =
|
|
14428
|
+
L.randomBytesHex = Kw;
|
|
14429
14429
|
function cp(r) {
|
|
14430
14430
|
return [...r].map((e) => e.toString(16).padStart(2, "0")).join("");
|
|
14431
14431
|
}
|
|
14432
14432
|
L.uint8ArrayToHex = cp;
|
|
14433
|
-
function
|
|
14433
|
+
function jw(r) {
|
|
14434
14434
|
return new Uint8Array(r.match(/.{1,2}/g).map((e) => parseInt(e, 16)));
|
|
14435
14435
|
}
|
|
14436
|
-
L.hexStringToUint8Array =
|
|
14437
|
-
function
|
|
14436
|
+
L.hexStringToUint8Array = jw;
|
|
14437
|
+
function Vw(r, e = !1) {
|
|
14438
14438
|
const t = r.toString("hex");
|
|
14439
14439
|
return (0, ht.HexString)(e ? `0x${t}` : t);
|
|
14440
14440
|
}
|
|
14441
|
-
L.hexStringFromBuffer =
|
|
14442
|
-
function
|
|
14441
|
+
L.hexStringFromBuffer = Vw;
|
|
14442
|
+
function Ww(r) {
|
|
14443
14443
|
return (0, ht.BigIntString)(r.toString(10));
|
|
14444
14444
|
}
|
|
14445
|
-
L.bigIntStringFromBigInt =
|
|
14446
|
-
function
|
|
14445
|
+
L.bigIntStringFromBigInt = Ww;
|
|
14446
|
+
function Qw(r) {
|
|
14447
14447
|
return (0, ht.IntNumber)(Number(BigInt(jo(r, !0))));
|
|
14448
14448
|
}
|
|
14449
|
-
L.intNumberFromHexString =
|
|
14450
|
-
function
|
|
14449
|
+
L.intNumberFromHexString = Qw;
|
|
14450
|
+
function zw(r) {
|
|
14451
14451
|
return (0, ht.HexString)(`0x${BigInt(r).toString(16)}`);
|
|
14452
14452
|
}
|
|
14453
|
-
L.hexStringFromIntNumber =
|
|
14453
|
+
L.hexStringFromIntNumber = zw;
|
|
14454
14454
|
function au(r) {
|
|
14455
14455
|
return r.startsWith("0x") || r.startsWith("0X");
|
|
14456
14456
|
}
|
|
@@ -14484,7 +14484,7 @@ function jo(r, e = !1) {
|
|
|
14484
14484
|
return t.length % 2 === 1 && (t = (0, ht.HexString)(`0${t}`)), e ? (0, ht.HexString)(`0x${t}`) : t;
|
|
14485
14485
|
}
|
|
14486
14486
|
L.ensureEvenLengthHexString = jo;
|
|
14487
|
-
function
|
|
14487
|
+
function Jw(r) {
|
|
14488
14488
|
if (typeof r == "string") {
|
|
14489
14489
|
const e = uc(r).toLowerCase();
|
|
14490
14490
|
if (Ko(e) && e.length === 40)
|
|
@@ -14492,8 +14492,8 @@ function Qw(r) {
|
|
|
14492
14492
|
}
|
|
14493
14493
|
throw is.standardErrors.rpc.invalidParams(`Invalid Ethereum address: ${String(r)}`);
|
|
14494
14494
|
}
|
|
14495
|
-
L.ensureAddressString =
|
|
14496
|
-
function
|
|
14495
|
+
L.ensureAddressString = Jw;
|
|
14496
|
+
function qw(r) {
|
|
14497
14497
|
if (ne.isBuffer(r))
|
|
14498
14498
|
return r;
|
|
14499
14499
|
if (typeof r == "string") {
|
|
@@ -14505,7 +14505,7 @@ function zw(r) {
|
|
|
14505
14505
|
}
|
|
14506
14506
|
throw is.standardErrors.rpc.invalidParams(`Not binary data: ${String(r)}`);
|
|
14507
14507
|
}
|
|
14508
|
-
L.ensureBuffer =
|
|
14508
|
+
L.ensureBuffer = qw;
|
|
14509
14509
|
function hp(r) {
|
|
14510
14510
|
if (typeof r == "number" && Number.isInteger(r))
|
|
14511
14511
|
return (0, ht.IntNumber)(r);
|
|
@@ -14518,13 +14518,13 @@ function hp(r) {
|
|
|
14518
14518
|
throw is.standardErrors.rpc.invalidParams(`Not an integer: ${String(r)}`);
|
|
14519
14519
|
}
|
|
14520
14520
|
L.ensureIntNumber = hp;
|
|
14521
|
-
function
|
|
14521
|
+
function Zw(r) {
|
|
14522
14522
|
if (r instanceof RegExp)
|
|
14523
14523
|
return (0, ht.RegExpString)(r.toString());
|
|
14524
14524
|
throw is.standardErrors.rpc.invalidParams(`Not a RegExp: ${String(r)}`);
|
|
14525
14525
|
}
|
|
14526
|
-
L.ensureRegExpString =
|
|
14527
|
-
function
|
|
14526
|
+
L.ensureRegExpString = Zw;
|
|
14527
|
+
function $w(r) {
|
|
14528
14528
|
if (r !== null && (typeof r == "bigint" || dp(r)))
|
|
14529
14529
|
return BigInt(r.toString(10));
|
|
14530
14530
|
if (typeof r == "number")
|
|
@@ -14537,15 +14537,15 @@ function qw(r) {
|
|
|
14537
14537
|
}
|
|
14538
14538
|
throw is.standardErrors.rpc.invalidParams(`Not an integer: ${String(r)}`);
|
|
14539
14539
|
}
|
|
14540
|
-
L.ensureBigInt =
|
|
14541
|
-
function
|
|
14540
|
+
L.ensureBigInt = $w;
|
|
14541
|
+
function Yw(r) {
|
|
14542
14542
|
if (typeof r == "string")
|
|
14543
14543
|
return JSON.parse(r);
|
|
14544
14544
|
if (typeof r == "object")
|
|
14545
14545
|
return r;
|
|
14546
14546
|
throw is.standardErrors.rpc.invalidParams(`Not a JSON string or an object: ${String(r)}`);
|
|
14547
14547
|
}
|
|
14548
|
-
L.ensureParsedJSONObject =
|
|
14548
|
+
L.ensureParsedJSONObject = Yw;
|
|
14549
14549
|
function dp(r) {
|
|
14550
14550
|
if (r == null || typeof r.constructor != "function")
|
|
14551
14551
|
return !1;
|
|
@@ -14553,31 +14553,31 @@ function dp(r) {
|
|
|
14553
14553
|
return typeof e.config == "function" && typeof e.EUCLID == "number";
|
|
14554
14554
|
}
|
|
14555
14555
|
L.isBigNumber = dp;
|
|
14556
|
-
function
|
|
14556
|
+
function Xw(r, e) {
|
|
14557
14557
|
return Array.from({ length: e - r }, (t, n) => r + n);
|
|
14558
14558
|
}
|
|
14559
|
-
L.range =
|
|
14560
|
-
function
|
|
14559
|
+
L.range = Xw;
|
|
14560
|
+
function eb() {
|
|
14561
14561
|
const r = document.querySelector('link[sizes="192x192"]') || document.querySelector('link[sizes="180x180"]') || document.querySelector('link[rel="icon"]') || document.querySelector('link[rel="shortcut icon"]'), { protocol: e, host: t } = document.location, n = r ? r.getAttribute("href") : null;
|
|
14562
14562
|
return !n || n.startsWith("javascript:") || n.startsWith("vbscript:") ? null : n.startsWith("http://") || n.startsWith("https://") || n.startsWith("data:") ? n : n.startsWith("//") ? e + n : `${e}//${t}${n}`;
|
|
14563
14563
|
}
|
|
14564
|
-
L.getFavicon =
|
|
14565
|
-
function
|
|
14564
|
+
L.getFavicon = eb;
|
|
14565
|
+
function tb(r, e) {
|
|
14566
14566
|
return r.length === e.length && r.every((t, n) => t === e[n]);
|
|
14567
14567
|
}
|
|
14568
|
-
L.areAddressArraysEqual =
|
|
14568
|
+
L.areAddressArraysEqual = tb;
|
|
14569
14569
|
var Jt = {}, hc = {}, dc = {}, de = {};
|
|
14570
14570
|
Object.defineProperty(de, "__esModule", { value: !0 });
|
|
14571
14571
|
de.decryptContent = de.encryptContent = de.importKeyFromHexString = de.exportKeyToHexString = de.decrypt = de.encrypt = de.deriveSharedSecret = de.generateKeyPair = void 0;
|
|
14572
14572
|
const fp = L;
|
|
14573
|
-
async function
|
|
14573
|
+
async function nb() {
|
|
14574
14574
|
return crypto.subtle.generateKey({
|
|
14575
14575
|
name: "ECDH",
|
|
14576
14576
|
namedCurve: "P-256"
|
|
14577
14577
|
}, !0, ["deriveKey"]);
|
|
14578
14578
|
}
|
|
14579
|
-
de.generateKeyPair =
|
|
14580
|
-
async function
|
|
14579
|
+
de.generateKeyPair = nb;
|
|
14580
|
+
async function rb(r, e) {
|
|
14581
14581
|
return crypto.subtle.deriveKey({
|
|
14582
14582
|
name: "ECDH",
|
|
14583
14583
|
public: e
|
|
@@ -14586,7 +14586,7 @@ async function tb(r, e) {
|
|
|
14586
14586
|
length: 256
|
|
14587
14587
|
}, !1, ["encrypt", "decrypt"]);
|
|
14588
14588
|
}
|
|
14589
|
-
de.deriveSharedSecret =
|
|
14589
|
+
de.deriveSharedSecret = rb;
|
|
14590
14590
|
async function pp(r, e) {
|
|
14591
14591
|
const t = crypto.getRandomValues(new Uint8Array(12)), n = await crypto.subtle.encrypt({
|
|
14592
14592
|
name: "AES-GCM",
|
|
@@ -14611,20 +14611,20 @@ function mp(r) {
|
|
|
14611
14611
|
return "pkcs8";
|
|
14612
14612
|
}
|
|
14613
14613
|
}
|
|
14614
|
-
async function
|
|
14614
|
+
async function sb(r, e) {
|
|
14615
14615
|
const t = mp(r), n = await crypto.subtle.exportKey(t, e);
|
|
14616
14616
|
return (0, fp.uint8ArrayToHex)(new Uint8Array(n));
|
|
14617
14617
|
}
|
|
14618
|
-
de.exportKeyToHexString =
|
|
14619
|
-
async function
|
|
14618
|
+
de.exportKeyToHexString = sb;
|
|
14619
|
+
async function ib(r, e) {
|
|
14620
14620
|
const t = mp(r), n = (0, fp.hexStringToUint8Array)(e).buffer;
|
|
14621
14621
|
return await crypto.subtle.importKey(t, n, {
|
|
14622
14622
|
name: "ECDH",
|
|
14623
14623
|
namedCurve: "P-256"
|
|
14624
14624
|
}, !0, r === "private" ? ["deriveKey"] : []);
|
|
14625
14625
|
}
|
|
14626
|
-
de.importKeyFromHexString =
|
|
14627
|
-
async function
|
|
14626
|
+
de.importKeyFromHexString = ib;
|
|
14627
|
+
async function ob(r, e) {
|
|
14628
14628
|
const t = JSON.stringify(r, (n, s) => {
|
|
14629
14629
|
if (!(s instanceof Error))
|
|
14630
14630
|
return s;
|
|
@@ -14633,11 +14633,11 @@ async function sb(r, e) {
|
|
|
14633
14633
|
});
|
|
14634
14634
|
return pp(e, t);
|
|
14635
14635
|
}
|
|
14636
|
-
de.encryptContent =
|
|
14637
|
-
async function
|
|
14636
|
+
de.encryptContent = ob;
|
|
14637
|
+
async function ab(r, e) {
|
|
14638
14638
|
return JSON.parse(await gp(e, r));
|
|
14639
14639
|
}
|
|
14640
|
-
de.decryptContent =
|
|
14640
|
+
de.decryptContent = ab;
|
|
14641
14641
|
var en = {};
|
|
14642
14642
|
Object.defineProperty(en, "__esModule", { value: !0 });
|
|
14643
14643
|
en.ScopedLocalStorage = void 0;
|
|
@@ -14672,7 +14672,7 @@ class Ma {
|
|
|
14672
14672
|
en.ScopedLocalStorage = Ma;
|
|
14673
14673
|
Object.defineProperty(dc, "__esModule", { value: !0 });
|
|
14674
14674
|
dc.SCWKeyManager = void 0;
|
|
14675
|
-
const ta = de,
|
|
14675
|
+
const ta = de, cb = en, Jc = {
|
|
14676
14676
|
storageKey: "ownPrivateKey",
|
|
14677
14677
|
keyType: "private"
|
|
14678
14678
|
}, qc = {
|
|
@@ -14682,9 +14682,9 @@ const ta = de, ob = en, Jc = {
|
|
|
14682
14682
|
storageKey: "peerPublicKey",
|
|
14683
14683
|
keyType: "public"
|
|
14684
14684
|
};
|
|
14685
|
-
class
|
|
14685
|
+
class lb {
|
|
14686
14686
|
constructor() {
|
|
14687
|
-
this.storage = new
|
|
14687
|
+
this.storage = new cb.ScopedLocalStorage("CBWSDK", "SCWKeyManager"), this.ownPrivateKey = null, this.ownPublicKey = null, this.peerPublicKey = null, this.sharedSecret = null;
|
|
14688
14688
|
}
|
|
14689
14689
|
async getOwnPublicKey() {
|
|
14690
14690
|
return await this.loadKeysIfNeeded(), this.ownPublicKey;
|
|
@@ -14720,12 +14720,12 @@ class ab {
|
|
|
14720
14720
|
this.storage.setItem(e.storageKey, n);
|
|
14721
14721
|
}
|
|
14722
14722
|
}
|
|
14723
|
-
dc.SCWKeyManager =
|
|
14723
|
+
dc.SCWKeyManager = lb;
|
|
14724
14724
|
var fc = {};
|
|
14725
14725
|
Object.defineProperty(fc, "__esModule", { value: !0 });
|
|
14726
14726
|
fc.SCWStateManager = void 0;
|
|
14727
|
-
const
|
|
14728
|
-
class
|
|
14727
|
+
const ub = en, Lh = "accounts", Mh = "activeChain", Dh = "availableChains", Uh = "walletCapabilities";
|
|
14728
|
+
class hb {
|
|
14729
14729
|
get accounts() {
|
|
14730
14730
|
return this._accounts;
|
|
14731
14731
|
}
|
|
@@ -14737,7 +14737,7 @@ class lb {
|
|
|
14737
14737
|
}
|
|
14738
14738
|
constructor(e) {
|
|
14739
14739
|
var t, n;
|
|
14740
|
-
this.storage = new
|
|
14740
|
+
this.storage = new ub.ScopedLocalStorage("CBWSDK", "SCWStateManager"), this.updateListener = e.updateListener, this.availableChains = this.loadItemFromStorage(Dh), this._walletCapabilities = this.loadItemFromStorage(Uh);
|
|
14741
14741
|
const s = this.loadItemFromStorage(Lh), i = this.loadItemFromStorage(Mh);
|
|
14742
14742
|
s && this.updateListener.onAccountsUpdate({
|
|
14743
14743
|
accounts: s,
|
|
@@ -14781,13 +14781,13 @@ class lb {
|
|
|
14781
14781
|
this.storage.clear();
|
|
14782
14782
|
}
|
|
14783
14783
|
}
|
|
14784
|
-
fc.SCWStateManager =
|
|
14784
|
+
fc.SCWStateManager = hb;
|
|
14785
14785
|
Object.defineProperty(hc, "__esModule", { value: !0 });
|
|
14786
14786
|
hc.SCWSigner = void 0;
|
|
14787
|
-
const
|
|
14788
|
-
class
|
|
14787
|
+
const db = dc, fb = fc, na = Xt, Fh = L, ra = de;
|
|
14788
|
+
class pb {
|
|
14789
14789
|
constructor(e) {
|
|
14790
|
-
this.metadata = e.metadata, this.communicator = e.communicator, this.keyManager = new
|
|
14790
|
+
this.metadata = e.metadata, this.communicator = e.communicator, this.keyManager = new db.SCWKeyManager(), this.stateManager = new fb.SCWStateManager({
|
|
14791
14791
|
appChainIds: this.metadata.appChainIds,
|
|
14792
14792
|
updateListener: e.updateListener
|
|
14793
14793
|
}), this.handshake = this.handshake.bind(this), this.request = this.request.bind(this), this.createRequestMessage = this.createRequestMessage.bind(this), this.decryptResponseMessage = this.decryptResponseMessage.bind(this);
|
|
@@ -14900,13 +14900,13 @@ class db {
|
|
|
14900
14900
|
}
|
|
14901
14901
|
}
|
|
14902
14902
|
}
|
|
14903
|
-
hc.SCWSigner =
|
|
14903
|
+
hc.SCWSigner = pb;
|
|
14904
14904
|
var pc = {};
|
|
14905
|
-
const
|
|
14905
|
+
const gb = jp;
|
|
14906
14906
|
function yp(r) {
|
|
14907
14907
|
return ne.allocUnsafe(r).fill(0);
|
|
14908
14908
|
}
|
|
14909
|
-
function
|
|
14909
|
+
function mb(r) {
|
|
14910
14910
|
return r.toString(2).length;
|
|
14911
14911
|
}
|
|
14912
14912
|
function wp(r, e) {
|
|
@@ -14917,7 +14917,7 @@ function wp(r, e) {
|
|
|
14917
14917
|
n.unshift(0);
|
|
14918
14918
|
return ne.from(n);
|
|
14919
14919
|
}
|
|
14920
|
-
function
|
|
14920
|
+
function yb(r, e) {
|
|
14921
14921
|
const t = r < 0n;
|
|
14922
14922
|
let n;
|
|
14923
14923
|
if (t) {
|
|
@@ -14931,7 +14931,7 @@ function bp(r, e, t) {
|
|
|
14931
14931
|
const n = yp(e);
|
|
14932
14932
|
return r = gc(r), t ? r.length < e ? (r.copy(n), n) : r.slice(0, e) : r.length < e ? (r.copy(n, e - r.length), n) : r.slice(-e);
|
|
14933
14933
|
}
|
|
14934
|
-
function
|
|
14934
|
+
function wb(r, e) {
|
|
14935
14935
|
return bp(r, e, !0);
|
|
14936
14936
|
}
|
|
14937
14937
|
function gc(r) {
|
|
@@ -14939,7 +14939,7 @@ function gc(r) {
|
|
|
14939
14939
|
if (Array.isArray(r))
|
|
14940
14940
|
r = ne.from(r);
|
|
14941
14941
|
else if (typeof r == "string")
|
|
14942
|
-
Ap(r) ? r = ne.from(
|
|
14942
|
+
Ap(r) ? r = ne.from(Eb(Ep(r)), "hex") : r = ne.from(r);
|
|
14943
14943
|
else if (typeof r == "number")
|
|
14944
14944
|
r = intToBuffer(r);
|
|
14945
14945
|
else if (r == null)
|
|
@@ -14952,13 +14952,13 @@ function gc(r) {
|
|
|
14952
14952
|
throw new Error("invalid type");
|
|
14953
14953
|
return r;
|
|
14954
14954
|
}
|
|
14955
|
-
function
|
|
14955
|
+
function bb(r) {
|
|
14956
14956
|
return r = gc(r), "0x" + r.toString("hex");
|
|
14957
14957
|
}
|
|
14958
|
-
function
|
|
14959
|
-
return r = gc(r), e || (e = 256),
|
|
14958
|
+
function Ab(r, e) {
|
|
14959
|
+
return r = gc(r), e || (e = 256), gb("keccak" + e).update(r).digest();
|
|
14960
14960
|
}
|
|
14961
|
-
function
|
|
14961
|
+
function Eb(r) {
|
|
14962
14962
|
return r.length % 2 ? "0" + r : r;
|
|
14963
14963
|
}
|
|
14964
14964
|
function Ap(r) {
|
|
@@ -14970,15 +14970,15 @@ function Ep(r) {
|
|
|
14970
14970
|
var Cp = {
|
|
14971
14971
|
zeros: yp,
|
|
14972
14972
|
setLength: bp,
|
|
14973
|
-
setLengthRight:
|
|
14973
|
+
setLengthRight: wb,
|
|
14974
14974
|
isHexString: Ap,
|
|
14975
14975
|
stripHexPrefix: Ep,
|
|
14976
14976
|
toBuffer: gc,
|
|
14977
|
-
bufferToHex:
|
|
14978
|
-
keccak:
|
|
14979
|
-
bitLengthFromBigInt:
|
|
14977
|
+
bufferToHex: bb,
|
|
14978
|
+
keccak: Ab,
|
|
14979
|
+
bitLengthFromBigInt: mb,
|
|
14980
14980
|
bufferBEFromBigInt: wp,
|
|
14981
|
-
twosFromBigInt:
|
|
14981
|
+
twosFromBigInt: yb
|
|
14982
14982
|
};
|
|
14983
14983
|
const Be = Cp;
|
|
14984
14984
|
function vp(r) {
|
|
@@ -15011,7 +15011,7 @@ function Lt(r, e) {
|
|
|
15011
15011
|
return Lt("uint8", e ? 1 : 0);
|
|
15012
15012
|
if (r === "string")
|
|
15013
15013
|
return Lt("bytes", new ne(e, "utf8"));
|
|
15014
|
-
if (
|
|
15014
|
+
if (vb(r)) {
|
|
15015
15015
|
if (typeof e.length > "u")
|
|
15016
15016
|
throw new Error("Not an array?");
|
|
15017
15017
|
if (t = Ip(r), t !== "dynamic" && t !== 0 && e.length > t)
|
|
@@ -15059,17 +15059,17 @@ function Lt(r, e) {
|
|
|
15059
15059
|
}
|
|
15060
15060
|
throw new Error("Unsupported or invalid type: " + r);
|
|
15061
15061
|
}
|
|
15062
|
-
function
|
|
15062
|
+
function Cb(r) {
|
|
15063
15063
|
return r === "string" || r === "bytes" || Ip(r) === "dynamic";
|
|
15064
15064
|
}
|
|
15065
|
-
function
|
|
15065
|
+
function vb(r) {
|
|
15066
15066
|
return r.lastIndexOf("]") === r.length - 1;
|
|
15067
15067
|
}
|
|
15068
|
-
function
|
|
15068
|
+
function Ib(r, e) {
|
|
15069
15069
|
var t = [], n = [], s = 32 * r.length;
|
|
15070
15070
|
for (var i in r) {
|
|
15071
15071
|
var o = vp(r[i]), a = e[i], c = Lt(o, a);
|
|
15072
|
-
|
|
15072
|
+
Cb(o) ? (t.push(Lt("uint256", s)), n.push(c), s += c.length) : t.push(c);
|
|
15073
15073
|
}
|
|
15074
15074
|
return ne.concat(t.concat(n));
|
|
15075
15075
|
}
|
|
@@ -15112,15 +15112,15 @@ function Np(r, e) {
|
|
|
15112
15112
|
}
|
|
15113
15113
|
return ne.concat(s);
|
|
15114
15114
|
}
|
|
15115
|
-
function
|
|
15115
|
+
function Nb(r, e) {
|
|
15116
15116
|
return Be.keccak(Np(r, e));
|
|
15117
15117
|
}
|
|
15118
|
-
var
|
|
15119
|
-
rawEncode:
|
|
15118
|
+
var Sb = {
|
|
15119
|
+
rawEncode: Ib,
|
|
15120
15120
|
solidityPack: Np,
|
|
15121
|
-
soliditySHA3:
|
|
15121
|
+
soliditySHA3: Nb
|
|
15122
15122
|
};
|
|
15123
|
-
const pt = Cp, $i =
|
|
15123
|
+
const pt = Cp, $i = Sb, Sp = {
|
|
15124
15124
|
type: "object",
|
|
15125
15125
|
properties: {
|
|
15126
15126
|
types: {
|
|
@@ -15272,11 +15272,11 @@ const pt = Cp, $i = Ib, Sp = {
|
|
|
15272
15272
|
return n.push(this.hashStruct("EIP712Domain", t.domain, t.types, e)), t.primaryType !== "EIP712Domain" && n.push(this.hashStruct(t.primaryType, t.message, t.types, e)), pt.keccak(ne.concat(n));
|
|
15273
15273
|
}
|
|
15274
15274
|
};
|
|
15275
|
-
var
|
|
15275
|
+
var kb = {
|
|
15276
15276
|
TYPED_MESSAGE_SCHEMA: Sp,
|
|
15277
15277
|
TypedDataUtils: $c,
|
|
15278
15278
|
hashForSignTypedDataLegacy: function(r) {
|
|
15279
|
-
return
|
|
15279
|
+
return xb(r.data);
|
|
15280
15280
|
},
|
|
15281
15281
|
hashForSignTypedData_v3: function(r) {
|
|
15282
15282
|
return $c.hash(r.data, !1);
|
|
@@ -15285,7 +15285,7 @@ var Nb = {
|
|
|
15285
15285
|
return $c.hash(r.data);
|
|
15286
15286
|
}
|
|
15287
15287
|
};
|
|
15288
|
-
function
|
|
15288
|
+
function xb(r) {
|
|
15289
15289
|
const e = new Error("Expect argument to be non-empty array");
|
|
15290
15290
|
if (typeof r != "object" || !r.length)
|
|
15291
15291
|
throw e;
|
|
@@ -15315,23 +15315,23 @@ Zt.APP_VERSION_KEY = "AppVersion";
|
|
|
15315
15315
|
var Vo = {};
|
|
15316
15316
|
Object.defineProperty(Vo, "__esModule", { value: !0 });
|
|
15317
15317
|
Vo.RelayEventManager = void 0;
|
|
15318
|
-
const
|
|
15319
|
-
class
|
|
15318
|
+
const Pb = L;
|
|
15319
|
+
class Rb {
|
|
15320
15320
|
constructor() {
|
|
15321
15321
|
this._nextRequestId = 0, this.callbacks = /* @__PURE__ */ new Map();
|
|
15322
15322
|
}
|
|
15323
15323
|
makeRequestId() {
|
|
15324
15324
|
this._nextRequestId = (this._nextRequestId + 1) % 2147483647;
|
|
15325
|
-
const e = this._nextRequestId, t = (0,
|
|
15325
|
+
const e = this._nextRequestId, t = (0, Pb.prepend0x)(e.toString(16));
|
|
15326
15326
|
return this.callbacks.get(t) && this.callbacks.delete(t), e;
|
|
15327
15327
|
}
|
|
15328
15328
|
}
|
|
15329
|
-
Vo.RelayEventManager =
|
|
15329
|
+
Vo.RelayEventManager = Rb;
|
|
15330
15330
|
var mc = {}, yc = {}, wc = {};
|
|
15331
15331
|
Object.defineProperty(wc, "__esModule", { value: !0 });
|
|
15332
15332
|
wc.WalletLinkCipher = void 0;
|
|
15333
15333
|
const sa = L;
|
|
15334
|
-
class
|
|
15334
|
+
class Ob {
|
|
15335
15335
|
// @param secret hex representation of 32-byte secret
|
|
15336
15336
|
constructor(e) {
|
|
15337
15337
|
this.secret = e;
|
|
@@ -15378,11 +15378,11 @@ class Pb {
|
|
|
15378
15378
|
});
|
|
15379
15379
|
}
|
|
15380
15380
|
}
|
|
15381
|
-
wc.WalletLinkCipher =
|
|
15381
|
+
wc.WalletLinkCipher = Ob;
|
|
15382
15382
|
var bc = {};
|
|
15383
15383
|
Object.defineProperty(bc, "__esModule", { value: !0 });
|
|
15384
15384
|
bc.WalletLinkHTTP = void 0;
|
|
15385
|
-
class
|
|
15385
|
+
class Tb {
|
|
15386
15386
|
constructor(e, t, n) {
|
|
15387
15387
|
this.linkAPIUrl = e, this.sessionId = t;
|
|
15388
15388
|
const s = `${t}:${n}`;
|
|
@@ -15420,7 +15420,7 @@ class Rb {
|
|
|
15420
15420
|
throw new Error(`Check unseen events failed: ${t.status}`);
|
|
15421
15421
|
}
|
|
15422
15422
|
}
|
|
15423
|
-
bc.WalletLinkHTTP =
|
|
15423
|
+
bc.WalletLinkHTTP = Tb;
|
|
15424
15424
|
var Bi = {};
|
|
15425
15425
|
Object.defineProperty(Bi, "__esModule", { value: !0 });
|
|
15426
15426
|
Bi.WalletLinkWebSocket = Bi.ConnectionState = void 0;
|
|
@@ -15428,7 +15428,7 @@ var Ns;
|
|
|
15428
15428
|
(function(r) {
|
|
15429
15429
|
r[r.DISCONNECTED = 0] = "DISCONNECTED", r[r.CONNECTING = 1] = "CONNECTING", r[r.CONNECTED = 2] = "CONNECTED";
|
|
15430
15430
|
})(Ns || (Bi.ConnectionState = Ns = {}));
|
|
15431
|
-
class
|
|
15431
|
+
class _b {
|
|
15432
15432
|
setConnectionStateListener(e) {
|
|
15433
15433
|
this.connectionStateListener = e;
|
|
15434
15434
|
}
|
|
@@ -15511,11 +15511,11 @@ class Ob {
|
|
|
15511
15511
|
e && (this.webSocket = null, e.onclose = null, e.onerror = null, e.onmessage = null, e.onopen = null);
|
|
15512
15512
|
}
|
|
15513
15513
|
}
|
|
15514
|
-
Bi.WalletLinkWebSocket =
|
|
15514
|
+
Bi.WalletLinkWebSocket = _b;
|
|
15515
15515
|
Object.defineProperty(yc, "__esModule", { value: !0 });
|
|
15516
15516
|
yc.WalletLinkConnection = void 0;
|
|
15517
|
-
const Gh = Zt,
|
|
15518
|
-
class
|
|
15517
|
+
const Gh = Zt, Bb = wc, Lb = bc, ia = Bi, gs = ke, Kh = 1e4, Mb = 6e4;
|
|
15518
|
+
class Db {
|
|
15519
15519
|
/**
|
|
15520
15520
|
* Constructor
|
|
15521
15521
|
* @param session Session
|
|
@@ -15565,7 +15565,7 @@ class Lb {
|
|
|
15565
15565
|
const l = await this.cipher.decrypt(o), h = await this.cipher.decrypt(a);
|
|
15566
15566
|
(c = this.listener) === null || c === void 0 || c.chainUpdated(l, h);
|
|
15567
15567
|
}
|
|
15568
|
-
}, this.session = e, this.cipher = new
|
|
15568
|
+
}, this.session = e, this.cipher = new Bb.WalletLinkCipher(e.secret), this.listener = n;
|
|
15569
15569
|
const i = new ia.WalletLinkWebSocket(`${t}/rpc`, s);
|
|
15570
15570
|
i.setConnectionStateListener(async (o) => {
|
|
15571
15571
|
let a = !1;
|
|
@@ -15616,7 +15616,7 @@ class Lb {
|
|
|
15616
15616
|
}
|
|
15617
15617
|
}
|
|
15618
15618
|
o.id !== void 0 && ((a = this.requestResolutions.get(o.id)) === null || a === void 0 || a(o));
|
|
15619
|
-
}), this.ws = i, this.http = new
|
|
15619
|
+
}), this.ws = i, this.http = new Lb.WalletLinkHTTP(t, e.id, e.key);
|
|
15620
15620
|
}
|
|
15621
15621
|
/**
|
|
15622
15622
|
* Make a connection to the server
|
|
@@ -15746,7 +15746,7 @@ class Lb {
|
|
|
15746
15746
|
} catch {
|
|
15747
15747
|
}
|
|
15748
15748
|
}
|
|
15749
|
-
async makeRequest(e, t =
|
|
15749
|
+
async makeRequest(e, t = Mb) {
|
|
15750
15750
|
const n = e.id;
|
|
15751
15751
|
this.sendData(e);
|
|
15752
15752
|
let s;
|
|
@@ -15790,14 +15790,14 @@ class Lb {
|
|
|
15790
15790
|
this.sendData(e);
|
|
15791
15791
|
}
|
|
15792
15792
|
}
|
|
15793
|
-
yc.WalletLinkConnection =
|
|
15793
|
+
yc.WalletLinkConnection = Db;
|
|
15794
15794
|
var Ac = {};
|
|
15795
15795
|
Object.defineProperty(Ac, "__esModule", { value: !0 });
|
|
15796
15796
|
Ac.WalletLinkSession = void 0;
|
|
15797
|
-
const
|
|
15797
|
+
const Ub = Lp, jh = L, Vh = "session:id", Wh = "session:secret", Qh = "session:linked";
|
|
15798
15798
|
class cu {
|
|
15799
15799
|
constructor(e, t, n, s) {
|
|
15800
|
-
this._storage = e, this._id = t || (0, jh.randomBytesHex)(16), this._secret = n || (0, jh.randomBytesHex)(32), this._key = new
|
|
15800
|
+
this._storage = e, this._id = t || (0, jh.randomBytesHex)(16), this._secret = n || (0, jh.randomBytesHex)(32), this._key = new Ub.sha256().update(`${this._id}, ${this._secret} WalletLink`).digest("hex"), this._linked = !!s;
|
|
15801
15801
|
}
|
|
15802
15802
|
static load(e) {
|
|
15803
15803
|
const t = e.getItem(Vh), n = e.getItem(Qh), s = e.getItem(Wh);
|
|
@@ -15829,7 +15829,7 @@ Ac.WalletLinkSession = cu;
|
|
|
15829
15829
|
var et = {};
|
|
15830
15830
|
Object.defineProperty(et, "__esModule", { value: !0 });
|
|
15831
15831
|
et.isDarkMode = et.isMobileWeb = et.getLocation = et.createQrUrl = void 0;
|
|
15832
|
-
function
|
|
15832
|
+
function Fb(r, e, t, n, s, i) {
|
|
15833
15833
|
const o = n ? "parent-id" : "id", a = new URLSearchParams({
|
|
15834
15834
|
[o]: r,
|
|
15835
15835
|
secret: e,
|
|
@@ -15839,46 +15839,46 @@ function Db(r, e, t, n, s, i) {
|
|
|
15839
15839
|
}).toString();
|
|
15840
15840
|
return `${t}/#/link?${a}`;
|
|
15841
15841
|
}
|
|
15842
|
-
et.createQrUrl =
|
|
15843
|
-
function
|
|
15842
|
+
et.createQrUrl = Fb;
|
|
15843
|
+
function Hb() {
|
|
15844
15844
|
try {
|
|
15845
15845
|
return window.frameElement !== null;
|
|
15846
15846
|
} catch {
|
|
15847
15847
|
return !1;
|
|
15848
15848
|
}
|
|
15849
15849
|
}
|
|
15850
|
-
function
|
|
15850
|
+
function Gb() {
|
|
15851
15851
|
try {
|
|
15852
|
-
return
|
|
15852
|
+
return Hb() && window.top ? window.top.location : window.location;
|
|
15853
15853
|
} catch {
|
|
15854
15854
|
return window.location;
|
|
15855
15855
|
}
|
|
15856
15856
|
}
|
|
15857
|
-
et.getLocation =
|
|
15858
|
-
function
|
|
15857
|
+
et.getLocation = Gb;
|
|
15858
|
+
function Kb() {
|
|
15859
15859
|
var r;
|
|
15860
15860
|
return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test((r = window == null ? void 0 : window.navigator) === null || r === void 0 ? void 0 : r.userAgent);
|
|
15861
15861
|
}
|
|
15862
|
-
et.isMobileWeb =
|
|
15863
|
-
function
|
|
15862
|
+
et.isMobileWeb = Kb;
|
|
15863
|
+
function jb() {
|
|
15864
15864
|
var r, e;
|
|
15865
15865
|
return (e = (r = window == null ? void 0 : window.matchMedia) === null || r === void 0 ? void 0 : r.call(window, "(prefers-color-scheme: dark)").matches) !== null && e !== void 0 ? e : !1;
|
|
15866
15866
|
}
|
|
15867
|
-
et.isDarkMode =
|
|
15867
|
+
et.isDarkMode = jb;
|
|
15868
15868
|
var Ec = {}, Wo = {}, lu = {};
|
|
15869
15869
|
Object.defineProperty(lu, "__esModule", { value: !0 });
|
|
15870
15870
|
lu.default = '@namespace svg "http://www.w3.org/2000/svg";.-cbwsdk-css-reset,.-cbwsdk-css-reset *{animation:none;animation-delay:0;animation-direction:normal;animation-duration:0;animation-fill-mode:none;animation-iteration-count:1;animation-name:none;animation-play-state:running;animation-timing-function:ease;backface-visibility:visible;background:0;background-attachment:scroll;background-clip:border-box;background-color:rgba(0,0,0,0);background-image:none;background-origin:padding-box;background-position:0 0;background-position-x:0;background-position-y:0;background-repeat:repeat;background-size:auto auto;border:0;border-style:none;border-width:medium;border-color:inherit;border-bottom:0;border-bottom-color:inherit;border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-style:none;border-bottom-width:medium;border-collapse:separate;border-image:none;border-left:0;border-left-color:inherit;border-left-style:none;border-left-width:medium;border-radius:0;border-right:0;border-right-color:inherit;border-right-style:none;border-right-width:medium;border-spacing:0;border-top:0;border-top-color:inherit;border-top-left-radius:0;border-top-right-radius:0;border-top-style:none;border-top-width:medium;box-shadow:none;box-sizing:border-box;caption-side:top;clear:none;clip:auto;color:inherit;columns:auto;column-count:auto;column-fill:balance;column-gap:normal;column-rule:medium none currentColor;column-rule-color:currentColor;column-rule-style:none;column-rule-width:none;column-span:1;column-width:auto;counter-increment:none;counter-reset:none;direction:ltr;empty-cells:show;float:none;font:normal;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Arial,sans-serif;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;height:auto;hyphens:none;letter-spacing:normal;line-height:normal;list-style:none;list-style-image:none;list-style-position:outside;list-style-type:disc;margin:0;margin-bottom:0;margin-left:0;margin-right:0;margin-top:0;opacity:1;orphans:0;outline:0;outline-color:invert;outline-style:none;outline-width:medium;overflow:visible;overflow-x:visible;overflow-y:visible;padding:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;page-break-after:auto;page-break-before:auto;page-break-inside:auto;perspective:none;perspective-origin:50% 50%;pointer-events:auto;position:static;quotes:"\\201C" "\\201D" "\\2018" "\\2019";tab-size:8;table-layout:auto;text-align:inherit;text-align-last:auto;text-decoration:none;text-decoration-color:inherit;text-decoration-line:none;text-decoration-style:solid;text-indent:0;text-shadow:none;text-transform:none;transform:none;transform-style:flat;transition:none;transition-delay:0s;transition-duration:0s;transition-property:none;transition-timing-function:ease;unicode-bidi:normal;vertical-align:baseline;visibility:visible;white-space:normal;widows:0;word-spacing:normal;z-index:auto}.-cbwsdk-css-reset strong{font-weight:bold}.-cbwsdk-css-reset *{box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Arial,sans-serif;line-height:1}.-cbwsdk-css-reset [class*=container]{margin:0;padding:0}.-cbwsdk-css-reset style{display:none}';
|
|
15871
|
-
var
|
|
15871
|
+
var Vb = dt && dt.__importDefault || function(r) {
|
|
15872
15872
|
return r && r.__esModule ? r : { default: r };
|
|
15873
15873
|
};
|
|
15874
15874
|
Object.defineProperty(Wo, "__esModule", { value: !0 });
|
|
15875
15875
|
Wo.injectCssReset = void 0;
|
|
15876
|
-
const
|
|
15877
|
-
function
|
|
15876
|
+
const Wb = Vb(lu);
|
|
15877
|
+
function Qb() {
|
|
15878
15878
|
const r = document.createElement("style");
|
|
15879
|
-
r.type = "text/css", r.appendChild(document.createTextNode(
|
|
15879
|
+
r.type = "text/css", r.appendChild(document.createTextNode(Wb.default)), document.documentElement.appendChild(r);
|
|
15880
15880
|
}
|
|
15881
|
-
Wo.injectCssReset =
|
|
15881
|
+
Wo.injectCssReset = Qb;
|
|
15882
15882
|
var uu = {}, hu = {};
|
|
15883
15883
|
Object.defineProperty(hu, "__esModule", { value: !0 });
|
|
15884
15884
|
hu.default = ".-cbwsdk-css-reset .-gear-container{margin-left:16px !important;margin-right:9px !important;display:flex;align-items:center;justify-content:center;width:24px;height:24px;transition:opacity .25s}.-cbwsdk-css-reset .-gear-container *{user-select:none}.-cbwsdk-css-reset .-gear-container svg{opacity:0;position:absolute}.-cbwsdk-css-reset .-gear-icon{height:12px;width:12px;z-index:10000}.-cbwsdk-css-reset .-cbwsdk-snackbar{align-items:flex-end;display:flex;flex-direction:column;position:fixed;right:0;top:0;z-index:2147483647}.-cbwsdk-css-reset .-cbwsdk-snackbar *{user-select:none}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance{display:flex;flex-direction:column;margin:8px 16px 0 16px;overflow:visible;text-align:left;transform:translateX(0);transition:opacity .25s,transform .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header:hover .-gear-container svg{opacity:1}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header{display:flex;align-items:center;background:#fff;overflow:hidden;border:1px solid #e7ebee;box-sizing:border-box;border-radius:8px;cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header-cblogo{margin:8px 8px 8px 8px}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header *{cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header-message{color:#000;font-size:13px;line-height:1.5;user-select:none}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu{background:#fff;transition:opacity .25s ease-in-out,transform .25s linear,visibility 0s;visibility:hidden;border:1px solid #e7ebee;box-sizing:border-box;border-radius:8px;opacity:0;flex-direction:column;padding-left:8px;padding-right:8px}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item:last-child{margin-bottom:8px !important}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item:hover{background:#f5f7f8;border-radius:6px;transition:background .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item:hover span{color:#050f19;transition:color .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item:hover svg path{fill:#000;transition:fill .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item{visibility:inherit;height:35px;margin-top:8px;margin-bottom:0;display:flex;flex-direction:row;align-items:center;padding:8px;cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item *{visibility:inherit;cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-is-red:hover{background:rgba(223,95,103,.2);transition:background .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-is-red:hover *{cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-is-red:hover svg path{fill:#df5f67;transition:fill .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-is-red:hover span{color:#df5f67;transition:color .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-info{color:#aaa;font-size:13px;margin:0 8px 0 32px;position:absolute}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-hidden{opacity:0;text-align:left;transform:translateX(25%);transition:opacity .5s linear}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-expanded .-cbwsdk-snackbar-instance-menu{opacity:1;display:flex;transform:translateY(8px);visibility:visible}";
|
|
@@ -15887,7 +15887,7 @@ hu.default = ".-cbwsdk-css-reset .-gear-container{margin-left:16px !important;ma
|
|
|
15887
15887
|
return f && f.__esModule ? f : { default: f };
|
|
15888
15888
|
};
|
|
15889
15889
|
Object.defineProperty(r, "__esModule", { value: !0 }), r.SnackbarInstance = r.SnackbarContainer = r.Snackbar = void 0;
|
|
15890
|
-
const t = e(rd), n = sd, s =
|
|
15890
|
+
const t =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892
|
constructor() {
|
|
15893
15893
|
this.items = /* @__PURE__ */ new Map(), this.nextItemKey = 0, this.root = null, this.darkMode = (0, i.isDarkMode)();
|
|
@@ -15974,16 +15974,16 @@ hu.default = ".-cbwsdk-css-reset .-gear-container{margin-left:16px !important;ma
|
|
|
15974
15974
|
})(uu);
|
|
15975
15975
|
Object.defineProperty(Ec, "__esModule", { value: !0 });
|
|
15976
15976
|
Ec.WalletLinkRelayUI = void 0;
|
|
15977
|
-
const
|
|
15978
|
-
class
|
|
15977
|
+
const zb = Wo, Jb = uu;
|
|
15978
|
+
class qb {
|
|
15979
15979
|
constructor() {
|
|
15980
|
-
this.attached = !1, this.snackbar = new
|
|
15980
|
+
this.attached = !1, this.snackbar = new Jb.Snackbar();
|
|
15981
15981
|
}
|
|
15982
15982
|
attach() {
|
|
15983
15983
|
if (this.attached)
|
|
15984
15984
|
throw new Error("Coinbase Wallet SDK UI is already attached");
|
|
15985
15985
|
const e = document.documentElement, t = document.createElement("div");
|
|
15986
|
-
t.className = "-cbwsdk-css-reset", e.appendChild(t), this.snackbar.attach(t), this.attached = !0, (0,
|
|
15986
|
+
t.className = "-cbwsdk-css-reset", e.appendChild(t), this.snackbar.attach(t), this.attached = !0, (0, zb.injectCssReset)();
|
|
15987
15987
|
}
|
|
15988
15988
|
showConnecting(e) {
|
|
15989
15989
|
let t;
|
|
@@ -16029,7 +16029,7 @@ class zb {
|
|
|
16029
16029
|
}, this.snackbar.presentItem(t);
|
|
16030
16030
|
}
|
|
16031
16031
|
}
|
|
16032
|
-
Ec.WalletLinkRelayUI =
|
|
16032
|
+
Ec.WalletLinkRelayUI = qb;
|
|
16033
16033
|
var Cc = {}, vc = {}, du = {};
|
|
16034
16034
|
Object.defineProperty(du, "__esModule", { value: !0 });
|
|
16035
16035
|
du.default = ".-cbwsdk-css-reset .-cbwsdk-redirect-dialog-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;transition:opacity .25s;background-color:rgba(10,11,13,.5)}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-backdrop-hidden{opacity:0}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box{display:block;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%);padding:20px;border-radius:8px;background-color:#fff;color:#0a0b0d}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box p{display:block;font-weight:400;font-size:14px;line-height:20px;padding-bottom:12px;color:#5b636e}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box button{appearance:none;border:none;background:none;color:#0052ff;padding:0;text-decoration:none;display:block;font-weight:600;font-size:16px;line-height:24px}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box.dark{background-color:#0a0b0d;color:#fff}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box.dark button{color:#0052ff}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box.light{background-color:#fff;color:#0a0b0d}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box.light button{color:#0052ff}";
|
|
@@ -16038,14 +16038,14 @@ var kp = dt && dt.__importDefault || function(r) {
|
|
|
16038
16038
|
};
|
|
16039
16039
|
Object.defineProperty(vc, "__esModule", { value: !0 });
|
|
16040
16040
|
vc.RedirectDialog = void 0;
|
|
16041
|
-
const
|
|
16042
|
-
class
|
|
16041
|
+
const Zb = kp(rd), Mt = sd, $b = Wo, Yb = uu, Xb = et, e1 = kp(du);
|
|
16042
|
+
class t1 {
|
|
16043
16043
|
constructor() {
|
|
16044
|
-
this.root = null, this.darkMode = (0,
|
|
16044
|
+
this.root = null, this.darkMode = (0, Xb.isDarkMode)();
|
|
16045
16045
|
}
|
|
16046
16046
|
attach() {
|
|
16047
16047
|
const e = document.documentElement;
|
|
16048
|
-
this.root = document.createElement("div"), this.root.className = "-cbwsdk-css-reset", e.appendChild(this.root), (0,
|
|
16048
|
+
this.root = document.createElement("div"), this.root.className = "-cbwsdk-css-reset", e.appendChild(this.root), (0, $b.injectCssReset)();
|
|
16049
16049
|
}
|
|
16050
16050
|
present(e) {
|
|
16051
16051
|
this.render(e);
|
|
@@ -16054,25 +16054,25 @@ class Xb {
|
|
|
16054
16054
|
this.render(null);
|
|
16055
16055
|
}
|
|
16056
16056
|
render(e) {
|
|
16057
|
-
this.root && ((0, Mt.render)(null, this.root), e && (0, Mt.render)((0, Mt.h)(
|
|
16057
|
+
this.root && ((0, Mt.render)(null, this.root), e && (0, Mt.render)((0, Mt.h)(n1, Object.assign({}, e, { onDismiss: () => {
|
|
16058
16058
|
this.clear();
|
|
16059
16059
|
}, darkMode: this.darkMode })), this.root));
|
|
16060
16060
|
}
|
|
16061
16061
|
}
|
|
16062
|
-
vc.RedirectDialog =
|
|
16063
|
-
const
|
|
16062
|
+
vc.RedirectDialog = t1;
|
|
16063
|
+
const n1 = ({ title: r, buttonText: e, darkMode: t, onButtonClick: n, onDismiss: s }) => {
|
|
16064
16064
|
const i = t ? "dark" : "light";
|
|
16065
16065
|
return (0, Mt.h)(
|
|
16066
|
-
|
|
16066
|
+
Yb.SnackbarContainer,
|
|
16067
16067
|
{ darkMode: t },
|
|
16068
16068
|
(0, Mt.h)(
|
|
16069
16069
|
"div",
|
|
16070
16070
|
{ class: "-cbwsdk-redirect-dialog" },
|
|
16071
|
-
(0, Mt.h)("style", null,
|
|
16071
|
+
(0, Mt.h)("style", null, e1.default),
|
|
16072
16072
|
(0, Mt.h)("div", { class: "-cbwsdk-redirect-dialog-backdrop", onClick: s }),
|
|
16073
16073
|
(0, Mt.h)(
|
|
16074
16074
|
"div",
|
|
16075
|
-
{ class: (0,
|
|
16075
|
+
{ class: (0, Zb.default)("-cbwsdk-redirect-dialog-box", i) },
|
|
16076
16076
|
(0, Mt.h)("p", null, r),
|
|
16077
16077
|
(0, Mt.h)("button", { onClick: n }, e)
|
|
16078
16078
|
)
|
|
@@ -16087,10 +16087,10 @@ $t.WALLETLINK_URL = "https://www.walletlink.org";
|
|
|
16087
16087
|
$t.CBW_MOBILE_DEEPLINK_URL = "https://go.cb-w.com/walletlink";
|
|
16088
16088
|
Object.defineProperty(Cc, "__esModule", { value: !0 });
|
|
16089
16089
|
Cc.WLMobileRelayUI = void 0;
|
|
16090
|
-
const
|
|
16091
|
-
class
|
|
16090
|
+
const r1 = vc, s1 = et, i1 = $t;
|
|
16091
|
+
class o1 {
|
|
16092
16092
|
constructor() {
|
|
16093
|
-
this.attached = !1, this.redirectDialog = new
|
|
16093
|
+
this.attached = !1, this.redirectDialog = new r1.RedirectDialog();
|
|
16094
16094
|
}
|
|
16095
16095
|
attach() {
|
|
16096
16096
|
if (this.attached)
|
|
@@ -16098,8 +16098,8 @@ class s1 {
|
|
|
16098
16098
|
this.redirectDialog.attach(), this.attached = !0;
|
|
16099
16099
|
}
|
|
16100
16100
|
redirectToCoinbaseWallet(e) {
|
|
16101
|
-
const t = new URL(
|
|
16102
|
-
t.searchParams.append("redirect_url", (0,
|
|
16101
|
+
const t = new URL(i1.CBW_MOBILE_DEEPLINK_URL);
|
|
16102
|
+
t.searchParams.append("redirect_url", (0, s1.getLocation)().href), e && t.searchParams.append("wl_url", e);
|
|
16103
16103
|
const n = document.createElement("a");
|
|
16104
16104
|
n.target = "cbw-opener", n.href = t.href, n.rel = "noreferrer noopener", n.click();
|
|
16105
16105
|
}
|
|
@@ -16120,15 +16120,15 @@ class s1 {
|
|
|
16120
16120
|
};
|
|
16121
16121
|
}
|
|
16122
16122
|
}
|
|
16123
|
-
Cc.WLMobileRelayUI =
|
|
16123
|
+
Cc.WLMobileRelayUI = o1;
|
|
16124
16124
|
Object.defineProperty(mc, "__esModule", { value: !0 });
|
|
16125
16125
|
mc.WalletLinkRelay = void 0;
|
|
16126
|
-
const
|
|
16126
|
+
const a1 = yc, c1 = Zt, l1 = Vo, Yc = Ac, ms = Di, u1 = et, h1 = Ec, zh = Cc, d1 = Xt, oe = L, f1 = en;
|
|
16127
16127
|
class cn {
|
|
16128
16128
|
constructor(e) {
|
|
16129
|
-
this.accountsCallback = null, this.chainCallbackParams = { chainId: "", jsonRpcUrl: "" }, this.chainCallback = null, this.dappDefaultChain = 1, this.isMobileWeb = (0,
|
|
16129
|
+
this.accountsCallback = null, this.chainCallbackParams = { chainId: "", jsonRpcUrl: "" }, this.chainCallback = null, this.dappDefaultChain = 1, this.isMobileWeb = (0, u1.isMobileWeb)(), this.appName = "", this.appLogoUrl = null, this.linkedUpdated = (i) => {
|
|
16130
16130
|
this.isLinked = i;
|
|
16131
|
-
const o = this.storage.getItem(
|
|
16131
|
+
const o = this.storage.getItem(c1.LOCAL_STORAGE_ADDRESSES_KEY);
|
|
16132
16132
|
if (i && (this._session.linked = i), this.isUnlinkedErrorState = !1, o) {
|
|
16133
16133
|
const a = o.split(" "), c = this.storage.getItem("IsStandaloneSigning") === "true";
|
|
16134
16134
|
a[0] !== "" && !i && this._session.linked && !c && (this.isUnlinkedErrorState = !0);
|
|
@@ -16154,14 +16154,14 @@ class cn {
|
|
|
16154
16154
|
}), cn.accountRequestCallbackIds.clear());
|
|
16155
16155
|
}, this.resetAndReload = this.resetAndReload.bind(this), this.linkAPIUrl = e.linkAPIUrl, this.storage = e.storage;
|
|
16156
16156
|
const { session: t, ui: n, connection: s } = this.subscribe();
|
|
16157
|
-
this._session = t, this.connection = s, this.relayEventManager = new
|
|
16157
|
+
this._session = t, this.connection = s, this.relayEventManager = new l1.RelayEventManager(), this.ui = n;
|
|
16158
16158
|
}
|
|
16159
16159
|
subscribe() {
|
|
16160
|
-
const e = Yc.WalletLinkSession.load(this.storage) || new Yc.WalletLinkSession(this.storage).save(), { linkAPIUrl: t } = this, n = new
|
|
16160
|
+
const e = Yc.WalletLinkSession.load(this.storage) || new Yc.WalletLinkSession(this.storage).save(), { linkAPIUrl: t } = this, n = new a1.WalletLinkConnection({
|
|
16161
16161
|
session: e,
|
|
16162
16162
|
linkAPIUrl: t,
|
|
16163
16163
|
listener: this
|
|
16164
|
-
}), s = this.isMobileWeb ? new zh.WLMobileRelayUI() : new
|
|
16164
|
+
}), s = this.isMobileWeb ? new zh.WLMobileRelayUI() : new h1.WalletLinkRelayUI();
|
|
16165
16165
|
return n.connect(), { session: e, ui: s, connection: n };
|
|
16166
16166
|
}
|
|
16167
16167
|
attachUI() {
|
|
@@ -16174,7 +16174,7 @@ class cn {
|
|
|
16174
16174
|
]).then(() => {
|
|
16175
16175
|
this.connection.destroy();
|
|
16176
16176
|
const e = Yc.WalletLinkSession.load(this.storage);
|
|
16177
|
-
(e == null ? void 0 : e.id) === this._session.id &&
|
|
16177
|
+
(e == null ? void 0 : e.id) === this._session.id && f1.ScopedLocalStorage.clearAll(), document.location.reload();
|
|
16178
16178
|
}).catch((e) => {
|
|
16179
16179
|
});
|
|
16180
16180
|
}
|
|
@@ -16451,7 +16451,7 @@ class cn {
|
|
|
16451
16451
|
return new Promise((i, o) => {
|
|
16452
16452
|
this.relayEventManager.callbacks.set(s, (a) => {
|
|
16453
16453
|
if ((0, ms.isErrorResponse)(a) && a.errorCode)
|
|
16454
|
-
return o(
|
|
16454
|
+
return o(d1.standardErrors.provider.custom({
|
|
16455
16455
|
code: a.errorCode,
|
|
16456
16456
|
message: "Unrecognized chain ID. Try adding the chain using addEthereumChain first."
|
|
16457
16457
|
}));
|
|
@@ -16464,18 +16464,18 @@ class cn {
|
|
|
16464
16464
|
}
|
|
16465
16465
|
mc.WalletLinkRelay = cn;
|
|
16466
16466
|
cn.accountRequestCallbackIds = /* @__PURE__ */ new Set();
|
|
16467
|
-
var
|
|
16467
|
+
var p1 = dt && dt.__importDefault || function(r) {
|
|
16468
16468
|
return r && r.__esModule ? r : { default: r };
|
|
16469
16469
|
};
|
|
16470
16470
|
Object.defineProperty(pc, "__esModule", { value: !0 });
|
|
16471
16471
|
pc.WalletLinkSigner = void 0;
|
|
16472
|
-
const Xc =
|
|
16473
|
-
class
|
|
16472
|
+
const Xc = p1(kb), Jh = Zt, g1 = Vo, tn = Di, m1 = mc, qh = $t, ge = Xt, j = L, y1 = en, el = "DefaultChainId", Zh = "DefaultJsonRpcUrl";
|
|
16473
|
+
class w1 {
|
|
16474
16474
|
constructor(e) {
|
|
16475
16475
|
var t, n;
|
|
16476
16476
|
this._relay = null, this._addresses = [], this.hasMadeFirstChainChangedEmission = !1;
|
|
16477
16477
|
const { appName: s, appLogoUrl: i } = e.metadata;
|
|
16478
|
-
this._appName = s, this._appLogoUrl = i, this._storage = new
|
|
16478
|
+
this._appName = s, this._appLogoUrl = i, this._storage = new y1.ScopedLocalStorage("walletlink", qh.WALLETLINK_URL), this.updateListener = e.updateListener, this._relayEventManager = new g1.RelayEventManager(), this._jsonRpcUrlFromOpts = "";
|
|
16479
16479
|
const o = this._storage.getItem(Jh.LOCAL_STORAGE_ADDRESSES_KEY);
|
|
16480
16480
|
if (o) {
|
|
16481
16481
|
const c = o.split(" ");
|
|
@@ -16863,7 +16863,7 @@ class m1 {
|
|
|
16863
16863
|
}
|
|
16864
16864
|
initializeRelay() {
|
|
16865
16865
|
if (!this._relay) {
|
|
16866
|
-
const e = new
|
|
16866
|
+
const e = new m1.WalletLinkRelay({
|
|
16867
16867
|
linkAPIUrl: qh.WALLETLINK_URL,
|
|
16868
16868
|
storage: this._storage
|
|
16869
16869
|
});
|
|
@@ -16874,12 +16874,12 @@ class m1 {
|
|
|
16874
16874
|
return this._relay;
|
|
16875
16875
|
}
|
|
16876
16876
|
}
|
|
16877
|
-
pc.WalletLinkSigner =
|
|
16877
|
+
pc.WalletLinkSigner = w1;
|
|
16878
16878
|
var ut = {};
|
|
16879
16879
|
Object.defineProperty(ut, "__esModule", { value: !0 });
|
|
16880
16880
|
ut.checkErrorForInvalidRequestArgs = ut.getCoinbaseInjectedProvider = ut.getCoinbaseInjectedSigner = ut.fetchRPCRequest = void 0;
|
|
16881
|
-
const
|
|
16882
|
-
async function
|
|
16881
|
+
const b1 = ss, ba = Xt;
|
|
16882
|
+
async function A1(r, e) {
|
|
16883
16883
|
if (!e.rpcUrl)
|
|
16884
16884
|
throw ba.standardErrors.rpc.internal("No RPC URL set for chain");
|
|
16885
16885
|
const t = Object.assign(Object.assign({}, r), { jsonrpc: "2.0", id: crypto.randomUUID() });
|
|
@@ -16887,15 +16887,15 @@ async function w1(r, e) {
|
|
|
16887
16887
|
method: "POST",
|
|
16888
16888
|
body: JSON.stringify(t),
|
|
16889
16889
|
mode: "cors",
|
|
16890
|
-
headers: { "Content-Type": "application/json", "X-Cbw-Sdk-Version":
|
|
16890
|
+
headers: { "Content-Type": "application/json", "X-Cbw-Sdk-Version": b1.LIB_VERSION }
|
|
16891
16891
|
})).json()).result;
|
|
16892
16892
|
}
|
|
16893
|
-
ut.fetchRPCRequest =
|
|
16893
|
+
ut.fetchRPCRequest = A1;
|
|
16894
16894
|
function xp() {
|
|
16895
16895
|
return globalThis.coinbaseWalletSigner;
|
|
16896
16896
|
}
|
|
16897
16897
|
ut.getCoinbaseInjectedSigner = xp;
|
|
16898
|
-
function
|
|
16898
|
+
function E1({ metadata: r, preference: e }) {
|
|
16899
16899
|
var t, n, s;
|
|
16900
16900
|
const i = globalThis;
|
|
16901
16901
|
if (e.options !== "smartWalletOnly") {
|
|
@@ -16911,8 +16911,8 @@ function b1({ metadata: r, preference: e }) {
|
|
|
16911
16911
|
if (o != null && o.isCoinbaseBrowser)
|
|
16912
16912
|
return o;
|
|
16913
16913
|
}
|
|
16914
|
-
ut.getCoinbaseInjectedProvider =
|
|
16915
|
-
function
|
|
16914
|
+
ut.getCoinbaseInjectedProvider = E1;
|
|
16915
|
+
function C1(r) {
|
|
16916
16916
|
if (!r || typeof r != "object" || Array.isArray(r))
|
|
16917
16917
|
return ba.standardErrors.rpc.invalidParams({
|
|
16918
16918
|
message: "Expected a single, non-array, object argument.",
|
|
@@ -16930,21 +16930,21 @@ function A1(r) {
|
|
|
16930
16930
|
data: r
|
|
16931
16931
|
});
|
|
16932
16932
|
}
|
|
16933
|
-
ut.checkErrorForInvalidRequestArgs =
|
|
16933
|
+
ut.checkErrorForInvalidRequestArgs = C1;
|
|
16934
16934
|
Object.defineProperty(Jt, "__esModule", { value: !0 });
|
|
16935
16935
|
Jt.createSigner = Jt.fetchSignerType = Jt.storeSignerType = Jt.loadSignerType = void 0;
|
|
16936
|
-
const
|
|
16937
|
-
function
|
|
16936
|
+
const v1 = hc, Pp = pc, I1 = Xt, N1 = ut, S1 = en, Rp = "SignerType", Op = new S1.ScopedLocalStorage("CBWSDK", "SignerConfigurator");
|
|
16937
|
+
function k1() {
|
|
16938
16938
|
return Op.getItem(Rp);
|
|
16939
16939
|
}
|
|
16940
|
-
Jt.loadSignerType =
|
|
16941
|
-
function
|
|
16940
|
+
Jt.loadSignerType = k1;
|
|
16941
|
+
function x1(r) {
|
|
16942
16942
|
Op.setItem(Rp, r);
|
|
16943
16943
|
}
|
|
16944
|
-
Jt.storeSignerType =
|
|
16945
|
-
async function
|
|
16944
|
+
Jt.storeSignerType = x1;
|
|
16945
|
+
async function P1(r) {
|
|
16946
16946
|
const { communicator: e, metadata: t } = r;
|
|
16947
|
-
|
|
16947
|
+
O1(e, t).catch(() => {
|
|
16948
16948
|
});
|
|
16949
16949
|
const n = {
|
|
16950
16950
|
id: crypto.randomUUID(),
|
|
@@ -16953,12 +16953,12 @@ async function k1(r) {
|
|
|
16953
16953
|
}, { data: s } = await e.postRequestAndWaitForResponse(n);
|
|
16954
16954
|
return s;
|
|
16955
16955
|
}
|
|
16956
|
-
Jt.fetchSignerType =
|
|
16957
|
-
function
|
|
16956
|
+
Jt.fetchSignerType = P1;
|
|
16957
|
+
function R1(r) {
|
|
16958
16958
|
const { signerType: e, metadata: t, communicator: n, updateListener: s } = r;
|
|
16959
16959
|
switch (e) {
|
|
16960
16960
|
case "scw":
|
|
16961
|
-
return new
|
|
16961
|
+
return new v1.SCWSigner({
|
|
16962
16962
|
metadata: t,
|
|
16963
16963
|
updateListener: s,
|
|
16964
16964
|
communicator: n
|
|
@@ -16969,15 +16969,15 @@ function x1(r) {
|
|
|
16969
16969
|
updateListener: s
|
|
16970
16970
|
});
|
|
16971
16971
|
case "extension": {
|
|
16972
|
-
const i = (0,
|
|
16972
|
+
const i = (0, N1.getCoinbaseInjectedSigner)();
|
|
16973
16973
|
if (!i)
|
|
16974
|
-
throw
|
|
16974
|
+
throw I1.standardErrors.rpc.internal("injected signer not found");
|
|
16975
16975
|
return i;
|
|
16976
16976
|
}
|
|
16977
16977
|
}
|
|
16978
16978
|
}
|
|
16979
|
-
Jt.createSigner =
|
|
16980
|
-
async function
|
|
16979
|
+
Jt.createSigner = R1;
|
|
16980
|
+
async function O1(r, e) {
|
|
16981
16981
|
await r.onMessage(({ event: n }) => n === "WalletLinkSessionRequest");
|
|
16982
16982
|
const t = new Pp.WalletLinkSigner({
|
|
16983
16983
|
metadata: e
|
|
@@ -16993,23 +16993,23 @@ async function P1(r, e) {
|
|
|
16993
16993
|
var Ic = {}, Li = {};
|
|
16994
16994
|
Object.defineProperty(Li, "__esModule", { value: !0 });
|
|
16995
16995
|
Li.closePopup = Li.openPopup = void 0;
|
|
16996
|
-
const
|
|
16997
|
-
function
|
|
16996
|
+
const T1 = Xt, $h = 420, Yh = 540;
|
|
16997
|
+
function _1(r) {
|
|
16998
16998
|
const e = (window.innerWidth - $h) / 2 + window.screenX, t = (window.innerHeight - Yh) / 2 + window.screenY, n = window.open(r, "Smart Wallet", `width=${$h}, height=${Yh}, left=${e}, top=${t}`);
|
|
16999
16999
|
if (n == null || n.focus(), !n)
|
|
17000
|
-
throw
|
|
17000
|
+
throw T1.standardErrors.rpc.internal("Pop up window failed to open");
|
|
17001
17001
|
return n;
|
|
17002
17002
|
}
|
|
17003
|
-
Li.openPopup =
|
|
17004
|
-
function
|
|
17003
|
+
Li.openPopup = _1;
|
|
17004
|
+
function B1(r) {
|
|
17005
17005
|
r && !r.closed && r.close();
|
|
17006
17006
|
}
|
|
17007
|
-
Li.closePopup =
|
|
17007
|
+
Li.closePopup = B1;
|
|
17008
17008
|
Object.defineProperty(Ic, "__esModule", { value: !0 });
|
|
17009
17009
|
Ic.Communicator = void 0;
|
|
17010
|
-
const
|
|
17011
|
-
class
|
|
17012
|
-
constructor(e =
|
|
17010
|
+
const L1 = ss, Xh = Li, M1 = $t, ed = Xt;
|
|
17011
|
+
class D1 {
|
|
17012
|
+
constructor(e = M1.CB_KEYS_URL) {
|
|
17013
17013
|
this.popup = null, this.listeners = /* @__PURE__ */ new Map(), this.postMessage = async (t) => {
|
|
17014
17014
|
(await this.waitForPopupLoaded()).postMessage(t, this.url.origin);
|
|
17015
17015
|
}, this.postRequestAndWaitForResponse = async (t) => {
|
|
@@ -17031,7 +17031,7 @@ class L1 {
|
|
|
17031
17031
|
}), this.onMessage(({ event: t }) => t === "PopupLoaded").then((t) => {
|
|
17032
17032
|
this.postMessage({
|
|
17033
17033
|
requestId: t.id,
|
|
17034
|
-
data: { version:
|
|
17034
|
+
data: { version: L1.LIB_VERSION }
|
|
17035
17035
|
});
|
|
17036
17036
|
}).then(() => {
|
|
17037
17037
|
if (!this.popup)
|
|
@@ -17040,7 +17040,7 @@ class L1 {
|
|
|
17040
17040
|
})), this.url = new URL(e);
|
|
17041
17041
|
}
|
|
17042
17042
|
}
|
|
17043
|
-
Ic.Communicator =
|
|
17043
|
+
Ic.Communicator = D1;
|
|
17044
17044
|
var Nc = {};
|
|
17045
17045
|
Object.defineProperty(Nc, "__esModule", { value: !0 });
|
|
17046
17046
|
Nc.determineMethodCategory = void 0;
|
|
@@ -17074,15 +17074,15 @@ const td = {
|
|
|
17074
17074
|
unsupported: ["eth_subscribe", "eth_unsubscribe"],
|
|
17075
17075
|
fetch: []
|
|
17076
17076
|
};
|
|
17077
|
-
function
|
|
17077
|
+
function U1(r) {
|
|
17078
17078
|
for (const e in td) {
|
|
17079
17079
|
const t = e;
|
|
17080
17080
|
if (td[t].includes(r))
|
|
17081
17081
|
return t;
|
|
17082
17082
|
}
|
|
17083
17083
|
}
|
|
17084
|
-
Nc.determineMethodCategory =
|
|
17085
|
-
var
|
|
17084
|
+
Nc.determineMethodCategory = U1;
|
|
17085
|
+
var F1 = dt && dt.__rest || function(r, e) {
|
|
17086
17086
|
var t = {};
|
|
17087
17087
|
for (var n in r)
|
|
17088
17088
|
Object.prototype.hasOwnProperty.call(r, n) && e.indexOf(n) < 0 && (t[n] = r[n]);
|
|
@@ -17090,15 +17090,15 @@ var D1 = dt && dt.__rest || function(r, e) {
|
|
|
17090
17090
|
for (var s = 0, n = Object.getOwnPropertySymbols(r); s < n.length; s++)
|
|
17091
17091
|
e.indexOf(n[s]) < 0 && Object.prototype.propertyIsEnumerable.call(r, n[s]) && (t[n[s]] = r[n[s]]);
|
|
17092
17092
|
return t;
|
|
17093
|
-
},
|
|
17093
|
+
}, H1 = dt && dt.__importDefault || function(r) {
|
|
17094
17094
|
return r && r.__esModule ? r : { default: r };
|
|
17095
17095
|
};
|
|
17096
17096
|
Object.defineProperty(ac, "__esModule", { value: !0 });
|
|
17097
17097
|
ac.CoinbaseWalletProvider = void 0;
|
|
17098
|
-
const
|
|
17099
|
-
class
|
|
17098
|
+
const G1 = H1(Mp), ys = Xt, K1 = lc, oa = ke, ji = L, aa = Jt, nd = ut, j1 = Ic, V1 = Nc, W1 = en;
|
|
17099
|
+
class Q1 extends G1.default {
|
|
17100
17100
|
constructor(e) {
|
|
17101
|
-
var t, n, { metadata: s } = e, i = e.preference, { keysUrl: o } = i, a =
|
|
17101
|
+
var t, n, { metadata: s } = e, i = e.preference, { keysUrl: o } = i, a = F1(i, ["keysUrl"]);
|
|
17102
17102
|
super(), this.accounts = [], this.handlers = {
|
|
17103
17103
|
// eth_requestAccounts
|
|
17104
17104
|
handshake: async (l) => {
|
|
@@ -17153,7 +17153,7 @@ class V1 extends F1.default {
|
|
|
17153
17153
|
onChainUpdate: ({ chain: l, source: h }) => {
|
|
17154
17154
|
l.id === this.chain.id && l.rpcUrl === this.chain.rpcUrl || (this.chain = l, h !== "storage" && this.emit("chainChanged", (0, ji.hexStringFromIntNumber)((0, oa.IntNumber)(l.id))));
|
|
17155
17155
|
}
|
|
17156
|
-
}, this.metadata = s, this.preference = a, this.communicator = new
|
|
17156
|
+
}, this.metadata = s, this.preference = a, this.communicator = new j1.Communicator(o), this.chain = {
|
|
17157
17157
|
id: (n = (t = s.appChainIds) === null || t === void 0 ? void 0 : t[0]) !== null && n !== void 0 ? n : 1
|
|
17158
17158
|
};
|
|
17159
17159
|
const c = (0, aa.loadSignerType)();
|
|
@@ -17168,10 +17168,10 @@ class V1 extends F1.default {
|
|
|
17168
17168
|
const n = (0, nd.checkErrorForInvalidRequestArgs)(e);
|
|
17169
17169
|
if (n)
|
|
17170
17170
|
throw n;
|
|
17171
|
-
const s = (t = (0,
|
|
17171
|
+
const s = (t = (0, V1.determineMethodCategory)(e.method)) !== null && t !== void 0 ? t : "fetch";
|
|
17172
17172
|
return this.handlers[s](e);
|
|
17173
17173
|
} catch (n) {
|
|
17174
|
-
return Promise.reject((0,
|
|
17174
|
+
return Promise.reject((0, K1.serializeError)(n, e.method));
|
|
17175
17175
|
}
|
|
17176
17176
|
}
|
|
17177
17177
|
handleUnauthorizedError(e) {
|
|
@@ -17184,7 +17184,7 @@ class V1 extends F1.default {
|
|
|
17184
17184
|
});
|
|
17185
17185
|
}
|
|
17186
17186
|
async disconnect() {
|
|
17187
|
-
this.accounts = [], this.chain = { id: 1 },
|
|
17187
|
+
this.accounts = [], this.chain = { id: 1 }, W1.ScopedLocalStorage.clearAll(), this.emit("disconnect", ys.standardErrors.provider.disconnected("User initiated disconnection"));
|
|
17188
17188
|
}
|
|
17189
17189
|
requestSignerSelection() {
|
|
17190
17190
|
return (0, aa.fetchSignerType)({
|
|
@@ -17202,22 +17202,22 @@ class V1 extends F1.default {
|
|
|
17202
17202
|
});
|
|
17203
17203
|
}
|
|
17204
17204
|
}
|
|
17205
|
-
ac.CoinbaseWalletProvider =
|
|
17205
|
+
ac.CoinbaseWalletProvider = Q1;
|
|
17206
17206
|
Object.defineProperty(lo, "__esModule", { value: !0 });
|
|
17207
17207
|
lo.CoinbaseWalletSDK = void 0;
|
|
17208
|
-
const
|
|
17209
|
-
class
|
|
17208
|
+
const z1 = oc, J1 = ac, q1 = en, Z1 = ss, $1 = L, Y1 = ut;
|
|
17209
|
+
class X1 {
|
|
17210
17210
|
constructor(e) {
|
|
17211
17211
|
this.metadata = {
|
|
17212
17212
|
appName: e.appName || "Dapp",
|
|
17213
|
-
appLogoUrl: e.appLogoUrl || (0,
|
|
17213
|
+
appLogoUrl: e.appLogoUrl || (0, $1.getFavicon)(),
|
|
17214
17214
|
appChainIds: e.appChainIds || []
|
|
17215
17215
|
}, this.storeLatestVersion();
|
|
17216
17216
|
}
|
|
17217
17217
|
makeWeb3Provider(e = { options: "all" }) {
|
|
17218
17218
|
var t;
|
|
17219
17219
|
const n = { metadata: this.metadata, preference: e };
|
|
17220
|
-
return (t = (0,
|
|
17220
|
+
return (t = (0, Y1.getCoinbaseInjectedProvider)(n)) !== null && t !== void 0 ? t : new J1.CoinbaseWalletProvider(n);
|
|
17221
17221
|
}
|
|
17222
17222
|
/**
|
|
17223
17223
|
* Official Coinbase Wallet logo for developers to use on their frontend
|
|
@@ -17226,13 +17226,13 @@ class $1 {
|
|
|
17226
17226
|
* @returns SVG Data URI
|
|
17227
17227
|
*/
|
|
17228
17228
|
getCoinbaseWalletLogo(e, t = 240) {
|
|
17229
|
-
return (0,
|
|
17229
|
+
return (0, z1.walletLogo)(e, t);
|
|
17230
17230
|
}
|
|
17231
17231
|
storeLatestVersion() {
|
|
17232
|
-
new
|
|
17232
|
+
new q1.ScopedLocalStorage("CBWSDK").setItem("VERSION", Z1.LIB_VERSION);
|
|
17233
17233
|
}
|
|
17234
17234
|
}
|
|
17235
|
-
lo.CoinbaseWalletSDK =
|
|
17235
|
+
lo.CoinbaseWalletSDK = X1;
|
|
17236
17236
|
(function(r) {
|
|
17237
17237
|
Object.defineProperty(r, "__esModule", { value: !0 }), r.CoinbaseWalletSDK = void 0;
|
|
17238
17238
|
const e = lo;
|
|
@@ -17242,7 +17242,7 @@ lo.CoinbaseWalletSDK = $1;
|
|
|
17242
17242
|
return t.CoinbaseWalletSDK;
|
|
17243
17243
|
} });
|
|
17244
17244
|
})(tp);
|
|
17245
|
-
class
|
|
17245
|
+
class eA {
|
|
17246
17246
|
createEthersConfig(e) {
|
|
17247
17247
|
if (!e.metadata)
|
|
17248
17248
|
return;
|
|
@@ -17287,8 +17287,6 @@ class Y1 {
|
|
|
17287
17287
|
}
|
|
17288
17288
|
construct(e, t) {
|
|
17289
17289
|
var i, o, a, c, l, h, d;
|
|
17290
|
-
if (!t.projectId)
|
|
17291
|
-
throw new Error("appkit:ethers-client:initialize - projectId is undefined");
|
|
17292
17290
|
this.appKit = e, this.options = t, this.caipNetworks = t.networks, this.defaultCaipNetwork = t.defaultNetwork || t.networks[0], this.tokens = bu.getCaipTokens(t.tokens), this.ethersConfig = this.createEthersConfig(t), this.networkControllerClient = {
|
|
17293
17291
|
switchCaipNetwork: async (f) => {
|
|
17294
17292
|
if (f != null && f.chainId)
|
|
@@ -17354,7 +17352,7 @@ class Y1 {
|
|
|
17354
17352
|
var E, C, S, N, _;
|
|
17355
17353
|
const f = He.getProvider("eip155"), g = He.state.providerIds.eip155;
|
|
17356
17354
|
if ((E = this.appKit) == null || E.setClientId(null), (N = (S = (C = this.options) == null ? void 0 : C.siweConfig) == null ? void 0 : S.options) != null && N.signOutOnDisconnect) {
|
|
17357
|
-
const { SIWEController: x } = await import("./index-
|
|
17355
|
+
const { SIWEController: x } = await import("./index-T8ir_D3p.js");
|
|
17358
17356
|
await x.signOut();
|
|
17359
17357
|
}
|
|
17360
17358
|
const m = {
|
|
@@ -17598,12 +17596,12 @@ class Y1 {
|
|
|
17598
17596
|
}
|
|
17599
17597
|
}
|
|
17600
17598
|
async syncAccount({ address: e, caipNetwork: t }) {
|
|
17601
|
-
var
|
|
17602
|
-
const n = t || ((
|
|
17603
|
-
e ? i && ((
|
|
17599
|
+
var a, c, l, h, d, f, g, w, m;
|
|
17600
|
+
const n = t || ((a = this.appKit) == null ? void 0 : a.getCaipNetwork()), s = (c = this.appKit) == null ? void 0 : c.getPreferredAccountType(), i = (n == null ? void 0 : n.chainNamespace) === ca.CHAIN.EVM, o = n == null ? void 0 : n.id;
|
|
17601
|
+
e ? i && ((l = this.appKit) == null || l.setPreferredAccountType(s, this.chainNamespace), (h = this.appKit) == null || h.setCaipAddress(`${o}:${e}`, this.chainNamespace), this.syncConnectedWalletInfo(), this.ethersConfig && this.checkActiveProviders(this.ethersConfig), n != null && n.explorerUrl && ((d = this.appKit) == null || d.setAddressExplorerUrl(`${n.explorerUrl}/address/${e}`, this.chainNamespace)), await Promise.all([
|
|
17604
17602
|
this.syncProfile(e),
|
|
17605
|
-
(
|
|
17606
|
-
])) : ((
|
|
17603
|
+
(f = this.appKit) == null ? void 0 : f.setApprovedCaipNetworksData(this.chainNamespace)
|
|
17604
|
+
])) : ((g = this.appKit) == null || g.resetWcConnection(), (w = this.appKit) == null || w.resetNetwork(), (m = this.appKit) == null || m.setAllAccounts([], this.chainNamespace));
|
|
17607
17605
|
}
|
|
17608
17606
|
async syncProfile(e) {
|
|
17609
17607
|
var n, s, i, o, a, c, l;
|
|
@@ -17630,7 +17628,7 @@ class Y1 {
|
|
|
17630
17628
|
name: t.name
|
|
17631
17629
|
});
|
|
17632
17630
|
if (a) {
|
|
17633
|
-
const c = await a.getBalance(e), l =
|
|
17631
|
+
const c = await a.getBalance(e), l = gg(c);
|
|
17634
17632
|
(o = this.appKit) == null || o.setBalance(l, t.currency, this.chainNamespace);
|
|
17635
17633
|
}
|
|
17636
17634
|
}
|
|
@@ -17737,7 +17735,12 @@ class Y1 {
|
|
|
17737
17735
|
async syncAuthConnector(e, t = !1) {
|
|
17738
17736
|
var n, s, i, o;
|
|
17739
17737
|
if (t || typeof window < "u") {
|
|
17740
|
-
this.authProvider = Fp.getInstance(
|
|
17738
|
+
this.authProvider = Fp.getInstance({
|
|
17739
|
+
projectId: e,
|
|
17740
|
+
onTimeout: () => {
|
|
17741
|
+
Hp.open(Gp.ALERT_ERRORS.INVALID_APP_CONFIGURATION_SOCIALS, "error");
|
|
17742
|
+
}
|
|
17743
|
+
}), (n = this.appKit) == null || n.addConnector({
|
|
17741
17744
|
id: F.AUTH_CONNECTOR_ID,
|
|
17742
17745
|
type: "AUTH",
|
|
17743
17746
|
name: "Auth",
|
|
@@ -17782,10 +17785,10 @@ class Y1 {
|
|
|
17782
17785
|
}
|
|
17783
17786
|
}
|
|
17784
17787
|
}
|
|
17785
|
-
const
|
|
17788
|
+
const tA = "@reown/appkit-ethers", nA = "1.0.5", rA = "module", sA = "./dist/esm/exports/index.js", iA = "./dist/types/exports/index.d.ts", oA = [
|
|
17786
17789
|
"dist",
|
|
17787
17790
|
"!tsconfig.tsbuildinfo"
|
|
17788
|
-
],
|
|
17791
|
+
], aA = {
|
|
17789
17792
|
".": {
|
|
17790
17793
|
types: "./dist/types/exports/index.d.ts",
|
|
17791
17794
|
import: "./dist/esm/exports/index.js",
|
|
@@ -17801,7 +17804,7 @@ const X1 = "@reown/appkit-ethers", eA = "1.0.3", tA = "module", nA = "./dist/esm
|
|
|
17801
17804
|
import: "./dist/esm/exports/vue.js",
|
|
17802
17805
|
default: "./dist/esm/exports/vue.js"
|
|
17803
17806
|
}
|
|
17804
|
-
},
|
|
17807
|
+
}, cA = {
|
|
17805
17808
|
"*": {
|
|
17806
17809
|
react: [
|
|
17807
17810
|
"./dist/types/exports/react.d.ts"
|
|
@@ -17810,13 +17813,13 @@ const X1 = "@reown/appkit-ethers", eA = "1.0.3", tA = "module", nA = "./dist/esm
|
|
|
17810
17813
|
"./dist/types/exports/vue.d.ts"
|
|
17811
17814
|
]
|
|
17812
17815
|
}
|
|
17813
|
-
},
|
|
17816
|
+
}, lA = {
|
|
17814
17817
|
"build:clean": "rm -rf dist",
|
|
17815
17818
|
build: "tsc --build",
|
|
17816
17819
|
watch: "tsc --watch",
|
|
17817
17820
|
typecheck: "tsc --noEmit",
|
|
17818
17821
|
lint: "eslint . --ext .js,.jsx,.ts,.tsx"
|
|
17819
|
-
},
|
|
17822
|
+
}, uA = {
|
|
17820
17823
|
"@coinbase/wallet-sdk": "4.0.3",
|
|
17821
17824
|
"@walletconnect/utils": "2.16.1",
|
|
17822
17825
|
"@reown/appkit": "workspace:*",
|
|
@@ -17827,16 +17830,16 @@ const X1 = "@reown/appkit-ethers", eA = "1.0.3", tA = "module", nA = "./dist/esm
|
|
|
17827
17830
|
"@reown/appkit-utils": "workspace:*",
|
|
17828
17831
|
"@reown/appkit-siwe": "workspace:*",
|
|
17829
17832
|
valtio: "1.11.2"
|
|
17830
|
-
},
|
|
17833
|
+
}, hA = {
|
|
17831
17834
|
ethers: ">=6.0.0",
|
|
17832
17835
|
react: ">=17",
|
|
17833
17836
|
"react-dom": ">=17",
|
|
17834
17837
|
vue: ">=3"
|
|
17835
|
-
},
|
|
17838
|
+
}, dA = {
|
|
17836
17839
|
react: "18.2.0",
|
|
17837
17840
|
"react-dom": "18.2.0",
|
|
17838
17841
|
vue: "3.4.3"
|
|
17839
|
-
},
|
|
17842
|
+
}, fA = {
|
|
17840
17843
|
react: {
|
|
17841
17844
|
optional: !0
|
|
17842
17845
|
},
|
|
@@ -17846,43 +17849,43 @@ const X1 = "@reown/appkit-ethers", eA = "1.0.3", tA = "module", nA = "./dist/esm
|
|
|
17846
17849
|
vue: {
|
|
17847
17850
|
optional: !0
|
|
17848
17851
|
}
|
|
17849
|
-
},
|
|
17852
|
+
}, pA = "Reown <support@reown.com> (https://reown.com)", gA = "Apache-2.0", mA = "https://github.com/WalletConnect/web3modal", yA = {
|
|
17850
17853
|
type: "git",
|
|
17851
17854
|
url: "git+https://github.com/WalletConnect/web3modal.git"
|
|
17852
|
-
},
|
|
17855
|
+
}, wA = {
|
|
17853
17856
|
url: "https://github.com/WalletConnect/web3modal/issues"
|
|
17854
|
-
},
|
|
17855
|
-
name:
|
|
17856
|
-
version:
|
|
17857
|
-
type:
|
|
17858
|
-
main:
|
|
17859
|
-
types:
|
|
17860
|
-
files:
|
|
17861
|
-
exports:
|
|
17862
|
-
typesVersions:
|
|
17863
|
-
scripts:
|
|
17864
|
-
dependencies:
|
|
17865
|
-
peerDependencies:
|
|
17866
|
-
devDependencies:
|
|
17867
|
-
peerDependenciesMeta:
|
|
17868
|
-
author:
|
|
17869
|
-
license:
|
|
17870
|
-
homepage:
|
|
17871
|
-
repository:
|
|
17872
|
-
bugs:
|
|
17857
|
+
}, bA = {
|
|
17858
|
+
name: tA,
|
|
17859
|
+
version: nA,
|
|
17860
|
+
type: rA,
|
|
17861
|
+
main: sA,
|
|
17862
|
+
types: iA,
|
|
17863
|
+
files: oA,
|
|
17864
|
+
exports: aA,
|
|
17865
|
+
typesVersions: cA,
|
|
17866
|
+
scripts: lA,
|
|
17867
|
+
dependencies: uA,
|
|
17868
|
+
peerDependencies: hA,
|
|
17869
|
+
devDependencies: dA,
|
|
17870
|
+
peerDependenciesMeta: fA,
|
|
17871
|
+
author: pA,
|
|
17872
|
+
license: gA,
|
|
17873
|
+
homepage: mA,
|
|
17874
|
+
repository: yA,
|
|
17875
|
+
bugs: wA
|
|
17873
17876
|
};
|
|
17874
|
-
function
|
|
17875
|
-
const e = new
|
|
17876
|
-
return new
|
|
17877
|
+
function AA(r) {
|
|
17878
|
+
const e = new eA();
|
|
17879
|
+
return new Kp({
|
|
17877
17880
|
...r,
|
|
17878
|
-
sdkVersion: `html-ethers-${
|
|
17881
|
+
sdkVersion: `html-ethers-${bA.version}`,
|
|
17879
17882
|
adapters: [e]
|
|
17880
17883
|
});
|
|
17881
17884
|
}
|
|
17882
|
-
const
|
|
17885
|
+
const SA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
17883
17886
|
__proto__: null,
|
|
17884
|
-
createAppKit:
|
|
17887
|
+
createAppKit: AA
|
|
17885
17888
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
17886
17889
|
export {
|
|
17887
|
-
|
|
17890
|
+
SA as AppKit
|
|
17888
17891
|
};
|