@pufferfinance/puffer-sdk 1.25.1 → 1.25.2
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/api/puffer-client-helpers.cjs +1 -1
- package/dist/api/puffer-client-helpers.js +3 -3
- package/dist/api/puffer-client.cjs +1 -1
- package/dist/api/puffer-client.js +2 -2
- package/dist/{ccip-w5ez1DCx.js → ccip-C76-YhQK.js} +4 -4
- package/dist/{ccip-w5ez1DCx.js.map → ccip-C76-YhQK.js.map} +1 -1
- package/dist/{ccip-FdkpGaX4.cjs → ccip-CEodLZ4s.cjs} +2 -2
- package/dist/{ccip-FdkpGaX4.cjs.map → ccip-CEodLZ4s.cjs.map} +1 -1
- package/dist/chains/constants.cjs +1 -1
- package/dist/chains/constants.d.ts +2 -1
- package/dist/chains/constants.js +1 -1
- package/dist/{constants-BweLzNUt.js → constants-C9YZ6Ewc.js} +302 -274
- package/dist/constants-C9YZ6Ewc.js.map +1 -0
- package/dist/{constants-JN89aXws.cjs → constants-CxSgz27h.cjs} +6 -6
- package/dist/constants-CxSgz27h.cjs.map +1 -0
- package/dist/contracts/addresses.cjs +1 -1
- package/dist/contracts/addresses.js +1 -1
- package/dist/contracts/handlers/carrot-staking-handler.cjs +1 -1
- package/dist/contracts/handlers/carrot-staking-handler.js +2 -2
- package/dist/contracts/handlers/concrete-vault-handler.cjs +1 -1
- package/dist/contracts/handlers/concrete-vault-handler.js +2 -2
- package/dist/contracts/handlers/distributor-handler.cjs +1 -1
- package/dist/contracts/handlers/distributor-handler.js +2 -2
- package/dist/contracts/handlers/erc20-permit-handler.cjs +1 -1
- package/dist/contracts/handlers/erc20-permit-handler.js +3 -3
- package/dist/contracts/handlers/guardian-module-handler.cjs +1 -1
- package/dist/contracts/handlers/guardian-module-handler.js +2 -2
- package/dist/contracts/handlers/institutional-access-manager-handler.cjs +1 -1
- package/dist/contracts/handlers/institutional-access-manager-handler.js +3 -3
- package/dist/contracts/handlers/institutional-vault-handler.cjs +1 -1
- package/dist/contracts/handlers/institutional-vault-handler.js +2 -2
- package/dist/contracts/handlers/l1-reward-manager-handler.cjs +1 -1
- package/dist/contracts/handlers/l1-reward-manager-handler.js +2 -2
- package/dist/contracts/handlers/l2-reward-manager-handler.cjs +1 -1
- package/dist/contracts/handlers/l2-reward-manager-handler.js +2 -2
- package/dist/contracts/handlers/lagoon-vault-handler.cjs +1 -1
- package/dist/contracts/handlers/lagoon-vault-handler.js +2 -2
- package/dist/contracts/handlers/mtw-carrot-handler.cjs +1 -1
- package/dist/contracts/handlers/mtw-carrot-handler.js +2 -2
- package/dist/contracts/handlers/nucleus-accountant-handler.cjs +1 -1
- package/dist/contracts/handlers/nucleus-accountant-handler.js +1 -1
- package/dist/contracts/handlers/nucleus-atomic-queue-handler.cjs +1 -1
- package/dist/contracts/handlers/nucleus-atomic-queue-handler.js +2 -2
- package/dist/contracts/handlers/nucleus-boring-vault-handler.cjs +1 -1
- package/dist/contracts/handlers/nucleus-boring-vault-handler.js +2 -2
- package/dist/contracts/handlers/nucleus-teller-handler.cjs +1 -1
- package/dist/contracts/handlers/nucleus-teller-handler.js +2 -2
- package/dist/contracts/handlers/puf-locker-handler.cjs +1 -1
- package/dist/contracts/handlers/puf-locker-handler.js +2 -2
- package/dist/contracts/handlers/puffer-depositor-handler.cjs +1 -1
- package/dist/contracts/handlers/puffer-depositor-handler.js +2 -2
- package/dist/contracts/handlers/puffer-l2-depositor-handler.cjs +1 -1
- package/dist/contracts/handlers/puffer-l2-depositor-handler.js +2 -2
- package/dist/contracts/handlers/puffer-oracle-v2-handler.cjs +1 -1
- package/dist/contracts/handlers/puffer-oracle-v2-handler.js +2 -2
- package/dist/contracts/handlers/puffer-protocol-handler.cjs +1 -1
- package/dist/contracts/handlers/puffer-protocol-handler.js +2 -2
- package/dist/contracts/handlers/puffer-vault-handler.cjs +1 -1
- package/dist/contracts/handlers/puffer-vault-handler.js +2 -2
- package/dist/contracts/handlers/puffer-withdrawal-manager-handler.cjs +1 -1
- package/dist/contracts/handlers/puffer-withdrawal-manager-handler.js +2 -2
- package/dist/contracts/handlers/validator-ticket-handler.cjs +1 -1
- package/dist/contracts/handlers/validator-ticket-handler.js +2 -2
- package/dist/contracts/tokens.cjs +1 -1
- package/dist/contracts/tokens.js +1 -1
- package/dist/contracts/vaults-addresses.cjs +1 -1
- package/dist/contracts/vaults-addresses.cjs.map +1 -1
- package/dist/contracts/vaults-addresses.d.ts +3 -0
- package/dist/contracts/vaults-addresses.js +4 -1
- package/dist/contracts/vaults-addresses.js.map +1 -1
- package/dist/{createWalletClient-LeyDLKOH.cjs → createWalletClient-Cct6ojqI.cjs} +2 -2
- package/dist/{createWalletClient-LeyDLKOH.cjs.map → createWalletClient-Cct6ojqI.cjs.map} +1 -1
- package/dist/{createWalletClient-CYva1_XM.js → createWalletClient-DAuQCrLq.js} +5 -5
- package/dist/{createWalletClient-CYva1_XM.js.map → createWalletClient-DAuQCrLq.js.map} +1 -1
- package/dist/{getContract-BES7gSby.js → getContract-DEPNMZxg.js} +2 -2
- package/dist/{getContract-BES7gSby.js.map → getContract-DEPNMZxg.js.map} +1 -1
- package/dist/{getContract-F-fd_vf7.cjs → getContract-DUA3M2pm.cjs} +2 -2
- package/dist/{getContract-F-fd_vf7.cjs.map → getContract-DUA3M2pm.cjs.map} +1 -1
- package/dist/{localBatchGatewayRequest-CCdxn5t3.js → localBatchGatewayRequest-C0QtijkB.js} +3 -3
- package/dist/{localBatchGatewayRequest-CCdxn5t3.js.map → localBatchGatewayRequest-C0QtijkB.js.map} +1 -1
- package/dist/{localBatchGatewayRequest-DCWU6kQW.cjs → localBatchGatewayRequest-CKLnLqib.cjs} +2 -2
- package/dist/{localBatchGatewayRequest-DCWU6kQW.cjs.map → localBatchGatewayRequest-CKLnLqib.cjs.map} +1 -1
- package/dist/main.cjs +1 -1
- package/dist/main.js +1 -1
- package/dist/{secp256k1-DGP4Y7VW.js → secp256k1-ClOw2ksU.js} +2 -2
- package/dist/{secp256k1-DGP4Y7VW.js.map → secp256k1-ClOw2ksU.js.map} +1 -1
- package/dist/{secp256k1-QOxLqUEc.cjs → secp256k1-YUzyTLhP.cjs} +2 -2
- package/dist/{secp256k1-QOxLqUEc.cjs.map → secp256k1-YUzyTLhP.cjs.map} +1 -1
- package/dist/utils/version.cjs +1 -1
- package/dist/utils/version.js +1 -1
- package/dist/{writeContract-Cqc9vxbU.cjs → writeContract-BfAYISeL.cjs} +4 -4
- package/dist/{writeContract-Cqc9vxbU.cjs.map → writeContract-BfAYISeL.cjs.map} +1 -1
- package/dist/{writeContract-QAArm5iD.js → writeContract-DkC9wV5p.js} +4 -4
- package/dist/{writeContract-QAArm5iD.js.map → writeContract-DkC9wV5p.js.map} +1 -1
- package/package.json +1 -1
- package/dist/constants-BweLzNUt.js.map +0 -1
- package/dist/constants-JN89aXws.cjs.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
function Y(e, { strict: t = !0 } = {}) {
|
|
2
2
|
return !e || typeof e != "string" ? !1 : t ? /^0x[0-9a-fA-F]*$/.test(e) : e.startsWith("0x");
|
|
3
3
|
}
|
|
4
|
-
function
|
|
4
|
+
function I(e) {
|
|
5
5
|
return Y(e, { strict: !1 }) ? Math.ceil((e.length - 2) / 2) : e.length;
|
|
6
6
|
}
|
|
7
7
|
const Ue = "2.33.1";
|
|
@@ -57,11 +57,11 @@ class u extends Error {
|
|
|
57
57
|
}), this.details = n, this.docsPath = r, this.metaMessages = s.metaMessages, this.name = s.name ?? this.name, this.shortMessage = t, this.version = Ue;
|
|
58
58
|
}
|
|
59
59
|
walk(t) {
|
|
60
|
-
return
|
|
60
|
+
return Fe(this, t);
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
|
-
function
|
|
64
|
-
return t != null && t(e) ? e : e && typeof e == "object" && "cause" in e && e.cause !== void 0 ?
|
|
63
|
+
function Fe(e, t) {
|
|
64
|
+
return t != null && t(e) ? e : e && typeof e == "object" && "cause" in e && e.cause !== void 0 ? Fe(e.cause, t) : t ? null : e;
|
|
65
65
|
}
|
|
66
66
|
class ze extends u {
|
|
67
67
|
constructor({ offset: t, position: s, size: n }) {
|
|
@@ -73,15 +73,15 @@ class ke extends u {
|
|
|
73
73
|
super(`${n.charAt(0).toUpperCase()}${n.slice(1).toLowerCase()} size (${t}) exceeds padding size (${s}).`, { name: "SizeExceedsPaddingSizeError" });
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
class
|
|
76
|
+
class yn extends u {
|
|
77
77
|
constructor({ size: t, targetSize: s, type: n }) {
|
|
78
78
|
super(`${n.charAt(0).toUpperCase()}${n.slice(1).toLowerCase()} is expected to be ${s} ${n} long, but is ${t} ${n} long.`, { name: "InvalidBytesLengthError" });
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
function M(e, { dir: t, size: s = 32 } = {}) {
|
|
82
|
-
return typeof e == "string" ?
|
|
82
|
+
return typeof e == "string" ? Bt(e, { dir: t, size: s }) : Pt(e, { dir: t, size: s });
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function Bt(e, { dir: t, size: s = 32 } = {}) {
|
|
85
85
|
if (s === null)
|
|
86
86
|
return e;
|
|
87
87
|
const n = e.replace("0x", "");
|
|
@@ -93,7 +93,7 @@ function Et(e, { dir: t, size: s = 32 } = {}) {
|
|
|
93
93
|
});
|
|
94
94
|
return `0x${n[t === "right" ? "padEnd" : "padStart"](s * 2, "0")}`;
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function Pt(e, { dir: t, size: s = 32 } = {}) {
|
|
97
97
|
if (s === null)
|
|
98
98
|
return e;
|
|
99
99
|
if (e.length > s)
|
|
@@ -109,12 +109,12 @@ function Bt(e, { dir: t, size: s = 32 } = {}) {
|
|
|
109
109
|
}
|
|
110
110
|
return n;
|
|
111
111
|
}
|
|
112
|
-
class
|
|
112
|
+
class vt extends u {
|
|
113
113
|
constructor({ max: t, min: s, signed: n, size: r, value: i }) {
|
|
114
114
|
super(`Number "${i}" is not in safe ${r ? `${r * 8}-bit ${n ? "signed" : "unsigned"} ` : ""}integer range ${t ? `(${s} to ${t})` : `(above ${s})`}`, { name: "IntegerOutOfRangeError" });
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
|
-
class
|
|
117
|
+
class wn extends u {
|
|
118
118
|
constructor(t) {
|
|
119
119
|
super(`Bytes value "${t}" is not a valid boolean. The bytes array must contain a single byte of either a 0 or 1 value.`, {
|
|
120
120
|
name: "InvalidBytesBooleanError"
|
|
@@ -126,7 +126,7 @@ class It extends u {
|
|
|
126
126
|
super(`Hex value "${t}" is not a valid boolean. The hex value must be "0x0" (false) or "0x1" (true).`, { name: "InvalidHexBooleanError" });
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
|
-
class
|
|
129
|
+
class Tt extends u {
|
|
130
130
|
constructor({ givenSize: t, maxSize: s }) {
|
|
131
131
|
super(`Size cannot exceed ${s} bytes. Given size: ${t} bytes.`, { name: "SizeOverflowError" });
|
|
132
132
|
}
|
|
@@ -138,9 +138,9 @@ function U(e, { dir: t = "left" } = {}) {
|
|
|
138
138
|
return s = t === "left" ? s.slice(n) : s.slice(0, s.length - n), typeof e == "string" ? (s.length === 1 && t === "right" && (s = `${s}0`), `0x${s.length % 2 === 1 ? `0${s}` : s}`) : s;
|
|
139
139
|
}
|
|
140
140
|
function H(e, { size: t }) {
|
|
141
|
-
if (
|
|
142
|
-
throw new
|
|
143
|
-
givenSize:
|
|
141
|
+
if (I(e) > t)
|
|
142
|
+
throw new Tt({
|
|
143
|
+
givenSize: I(e),
|
|
144
144
|
maxSize: t
|
|
145
145
|
});
|
|
146
146
|
}
|
|
@@ -153,7 +153,7 @@ function O(e, t = {}) {
|
|
|
153
153
|
const r = (e.length - 2) / 2, i = (1n << BigInt(r) * 8n - 1n) - 1n;
|
|
154
154
|
return n <= i ? n : n - BigInt(`0x${"f".padStart(r * 2, "f")}`) - 1n;
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function En(e, t = {}) {
|
|
157
157
|
let s = e;
|
|
158
158
|
if (t.size && (H(s, { size: t.size }), s = U(s)), U(s) === "0x00")
|
|
159
159
|
return !1;
|
|
@@ -164,18 +164,18 @@ function wn(e, t = {}) {
|
|
|
164
164
|
function te(e, t = {}) {
|
|
165
165
|
return Number(O(e, t));
|
|
166
166
|
}
|
|
167
|
-
const
|
|
167
|
+
const At = /* @__PURE__ */ Array.from({ length: 256 }, (e, t) => t.toString(16).padStart(2, "0"));
|
|
168
168
|
function N(e, t = {}) {
|
|
169
|
-
return typeof e == "number" || typeof e == "bigint" ? f(e, t) : typeof e == "string" ?
|
|
169
|
+
return typeof e == "number" || typeof e == "bigint" ? f(e, t) : typeof e == "string" ? Ut(e, t) : typeof e == "boolean" ? $t(e, t) : $(e, t);
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function $t(e, t = {}) {
|
|
172
172
|
const s = `0x${Number(e)}`;
|
|
173
173
|
return typeof t.size == "number" ? (H(s, { size: t.size }), M(s, { size: t.size })) : s;
|
|
174
174
|
}
|
|
175
175
|
function $(e, t = {}) {
|
|
176
176
|
let s = "";
|
|
177
177
|
for (let r = 0; r < e.length; r++)
|
|
178
|
-
s +=
|
|
178
|
+
s += At[e[r]];
|
|
179
179
|
const n = `0x${s}`;
|
|
180
180
|
return typeof t.size == "number" ? (H(n, { size: t.size }), M(n, { dir: "right", size: t.size })) : n;
|
|
181
181
|
}
|
|
@@ -186,7 +186,7 @@ function f(e, t = {}) {
|
|
|
186
186
|
const o = typeof i == "bigint" && s ? -i - 1n : 0;
|
|
187
187
|
if (i && r > i || r < o) {
|
|
188
188
|
const c = typeof e == "bigint" ? "n" : "";
|
|
189
|
-
throw new
|
|
189
|
+
throw new vt({
|
|
190
190
|
max: i ? `${i}${c}` : void 0,
|
|
191
191
|
min: `${o}${c}`,
|
|
192
192
|
signed: s,
|
|
@@ -197,16 +197,16 @@ function f(e, t = {}) {
|
|
|
197
197
|
const a = `0x${(s && r < 0 ? (1n << BigInt(n * 8)) + BigInt(r) : r).toString(16)}`;
|
|
198
198
|
return n ? M(a, { size: n }) : a;
|
|
199
199
|
}
|
|
200
|
-
const
|
|
201
|
-
function
|
|
202
|
-
const s =
|
|
200
|
+
const Ct = /* @__PURE__ */ new TextEncoder();
|
|
201
|
+
function Ut(e, t = {}) {
|
|
202
|
+
const s = Ct.encode(e);
|
|
203
203
|
return $(s, t);
|
|
204
204
|
}
|
|
205
|
-
const
|
|
205
|
+
const Ft = /* @__PURE__ */ new TextEncoder();
|
|
206
206
|
function Se(e, t = {}) {
|
|
207
|
-
return typeof e == "number" || typeof e == "bigint" ?
|
|
207
|
+
return typeof e == "number" || typeof e == "bigint" ? kt(e, t) : typeof e == "boolean" ? zt(e, t) : Y(e) ? z(e, t) : He(e, t);
|
|
208
208
|
}
|
|
209
|
-
function
|
|
209
|
+
function zt(e, t = {}) {
|
|
210
210
|
const s = new Uint8Array(1);
|
|
211
211
|
return s[0] = Number(e), typeof t.size == "number" ? (H(s, { size: t.size }), M(s, { size: t.size })) : s;
|
|
212
212
|
}
|
|
@@ -240,30 +240,30 @@ function z(e, t = {}) {
|
|
|
240
240
|
}
|
|
241
241
|
return i;
|
|
242
242
|
}
|
|
243
|
-
function
|
|
243
|
+
function kt(e, t) {
|
|
244
244
|
const s = f(e, t);
|
|
245
245
|
return z(s);
|
|
246
246
|
}
|
|
247
247
|
function He(e, t = {}) {
|
|
248
|
-
const s =
|
|
248
|
+
const s = Ft.encode(e);
|
|
249
249
|
return typeof t.size == "number" ? (H(s, { size: t.size }), M(s, { dir: "right", size: t.size })) : s;
|
|
250
250
|
}
|
|
251
251
|
const ee = /* @__PURE__ */ BigInt(2 ** 32 - 1), Be = /* @__PURE__ */ BigInt(32);
|
|
252
|
-
function
|
|
252
|
+
function St(e, t = !1) {
|
|
253
253
|
return t ? { h: Number(e & ee), l: Number(e >> Be & ee) } : { h: Number(e >> Be & ee) | 0, l: Number(e & ee) | 0 };
|
|
254
254
|
}
|
|
255
|
-
function
|
|
255
|
+
function Ht(e, t = !1) {
|
|
256
256
|
const s = e.length;
|
|
257
257
|
let n = new Uint32Array(s), r = new Uint32Array(s);
|
|
258
258
|
for (let i = 0; i < s; i++) {
|
|
259
|
-
const { h: o, l: a } =
|
|
259
|
+
const { h: o, l: a } = St(e[i], t);
|
|
260
260
|
[n[i], r[i]] = [o, a];
|
|
261
261
|
}
|
|
262
262
|
return [n, r];
|
|
263
263
|
}
|
|
264
|
-
const
|
|
264
|
+
const Lt = (e, t, s) => e << s | t >>> 32 - s, Gt = (e, t, s) => t << s | e >>> 32 - s, Ot = (e, t, s) => t << s - 32 | e >>> 64 - s, Nt = (e, t, s) => e << s - 32 | t >>> 64 - s, G = typeof globalThis == "object" && "crypto" in globalThis ? globalThis.crypto : void 0;
|
|
265
265
|
/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
266
|
-
function
|
|
266
|
+
function Mt(e) {
|
|
267
267
|
return e instanceof Uint8Array || ArrayBuffer.isView(e) && e.constructor.name === "Uint8Array";
|
|
268
268
|
}
|
|
269
269
|
function se(e) {
|
|
@@ -271,12 +271,12 @@ function se(e) {
|
|
|
271
271
|
throw new Error("positive integer expected, got " + e);
|
|
272
272
|
}
|
|
273
273
|
function k(e, ...t) {
|
|
274
|
-
if (!
|
|
274
|
+
if (!Mt(e))
|
|
275
275
|
throw new Error("Uint8Array expected");
|
|
276
276
|
if (t.length > 0 && !t.includes(e.length))
|
|
277
277
|
throw new Error("Uint8Array expected of length " + t + ", got length=" + e.length);
|
|
278
278
|
}
|
|
279
|
-
function
|
|
279
|
+
function Bn(e) {
|
|
280
280
|
if (typeof e != "function" || typeof e.create != "function")
|
|
281
281
|
throw new Error("Hash should be wrapped by utils.createHasher");
|
|
282
282
|
se(e.outputLen), se(e.blockLen);
|
|
@@ -293,7 +293,7 @@ function Le(e, t) {
|
|
|
293
293
|
if (e.length < s)
|
|
294
294
|
throw new Error("digestInto() expects output buffer of length at least " + s);
|
|
295
295
|
}
|
|
296
|
-
function
|
|
296
|
+
function _t(e) {
|
|
297
297
|
return new Uint32Array(e.buffer, e.byteOffset, Math.floor(e.byteLength / 4));
|
|
298
298
|
}
|
|
299
299
|
function Z(...e) {
|
|
@@ -306,26 +306,26 @@ function ae(e) {
|
|
|
306
306
|
function g(e, t) {
|
|
307
307
|
return e << 32 - t | e >>> t;
|
|
308
308
|
}
|
|
309
|
-
const
|
|
310
|
-
function
|
|
309
|
+
const Vt = new Uint8Array(new Uint32Array([287454020]).buffer)[0] === 68;
|
|
310
|
+
function Dt(e) {
|
|
311
311
|
return e << 24 & 4278190080 | e << 8 & 16711680 | e >>> 8 & 65280 | e >>> 24 & 255;
|
|
312
312
|
}
|
|
313
|
-
function
|
|
313
|
+
function Rt(e) {
|
|
314
314
|
for (let t = 0; t < e.length; t++)
|
|
315
|
-
e[t] =
|
|
315
|
+
e[t] = Dt(e[t]);
|
|
316
316
|
return e;
|
|
317
317
|
}
|
|
318
|
-
const Pe =
|
|
319
|
-
function
|
|
318
|
+
const Pe = Vt ? (e) => e : Rt, Ge = /* @ts-ignore */ typeof Uint8Array.from([]).toHex == "function" && typeof Uint8Array.fromHex == "function", jt = /* @__PURE__ */ Array.from({ length: 256 }, (e, t) => t.toString(16).padStart(2, "0"));
|
|
319
|
+
function Pn(e) {
|
|
320
320
|
if (k(e), Ge)
|
|
321
321
|
return e.toHex();
|
|
322
322
|
let t = "";
|
|
323
323
|
for (let s = 0; s < e.length; s++)
|
|
324
|
-
t +=
|
|
324
|
+
t += jt[e[s]];
|
|
325
325
|
return t;
|
|
326
326
|
}
|
|
327
327
|
const w = { _0: 48, _9: 57, A: 65, F: 70, a: 97, f: 102 };
|
|
328
|
-
function
|
|
328
|
+
function ve(e) {
|
|
329
329
|
if (e >= w._0 && e <= w._9)
|
|
330
330
|
return e - w._0;
|
|
331
331
|
if (e >= w.A && e <= w.F)
|
|
@@ -333,7 +333,7 @@ function Ie(e) {
|
|
|
333
333
|
if (e >= w.a && e <= w.f)
|
|
334
334
|
return e - (w.a - 10);
|
|
335
335
|
}
|
|
336
|
-
function
|
|
336
|
+
function vn(e) {
|
|
337
337
|
if (typeof e != "string")
|
|
338
338
|
throw new Error("hex string expected, got " + typeof e);
|
|
339
339
|
if (Ge)
|
|
@@ -343,7 +343,7 @@ function Pn(e) {
|
|
|
343
343
|
throw new Error("hex string expected, got unpadded hex of length " + t);
|
|
344
344
|
const n = new Uint8Array(s);
|
|
345
345
|
for (let r = 0, i = 0; r < s; r++, i += 2) {
|
|
346
|
-
const o =
|
|
346
|
+
const o = ve(e.charCodeAt(i)), a = ve(e.charCodeAt(i + 1));
|
|
347
347
|
if (o === void 0 || a === void 0) {
|
|
348
348
|
const c = e[i] + e[i + 1];
|
|
349
349
|
throw new Error('hex string expected, got non-hex character "' + c + '" at index ' + i);
|
|
@@ -352,13 +352,13 @@ function Pn(e) {
|
|
|
352
352
|
}
|
|
353
353
|
return n;
|
|
354
354
|
}
|
|
355
|
-
function
|
|
355
|
+
function Kt(e) {
|
|
356
356
|
if (typeof e != "string")
|
|
357
357
|
throw new Error("string expected");
|
|
358
358
|
return new Uint8Array(new TextEncoder().encode(e));
|
|
359
359
|
}
|
|
360
360
|
function de(e) {
|
|
361
|
-
return typeof e == "string" && (e =
|
|
361
|
+
return typeof e == "string" && (e = Kt(e)), k(e), e;
|
|
362
362
|
}
|
|
363
363
|
function In(...e) {
|
|
364
364
|
let t = 0;
|
|
@@ -379,35 +379,35 @@ function Ne(e) {
|
|
|
379
379
|
const t = (n) => e().update(de(n)).digest(), s = e();
|
|
380
380
|
return t.outputLen = s.outputLen, t.blockLen = s.blockLen, t.create = () => e(), t;
|
|
381
381
|
}
|
|
382
|
-
function
|
|
382
|
+
function Tn(e = 32) {
|
|
383
383
|
if (G && typeof G.getRandomValues == "function")
|
|
384
384
|
return G.getRandomValues(new Uint8Array(e));
|
|
385
385
|
if (G && typeof G.randomBytes == "function")
|
|
386
386
|
return Uint8Array.from(G.randomBytes(e));
|
|
387
387
|
throw new Error("crypto.getRandomValues must be defined");
|
|
388
388
|
}
|
|
389
|
-
const
|
|
389
|
+
const Wt = BigInt(0), j = BigInt(1), Xt = BigInt(2), qt = BigInt(7), Zt = BigInt(256), Yt = BigInt(113), Me = [], _e = [], Ve = [];
|
|
390
390
|
for (let e = 0, t = j, s = 1, n = 0; e < 24; e++) {
|
|
391
391
|
[s, n] = [n, (2 * s + 3 * n) % 5], Me.push(2 * (5 * n + s)), _e.push((e + 1) * (e + 2) / 2 % 64);
|
|
392
|
-
let r =
|
|
392
|
+
let r = Wt;
|
|
393
393
|
for (let i = 0; i < 7; i++)
|
|
394
|
-
t = (t << j ^ (t >>
|
|
394
|
+
t = (t << j ^ (t >> qt) * Yt) % Zt, t & Xt && (r ^= j << (j << /* @__PURE__ */ BigInt(i)) - j);
|
|
395
395
|
Ve.push(r);
|
|
396
396
|
}
|
|
397
|
-
const De =
|
|
398
|
-
function
|
|
397
|
+
const De = Ht(Ve, !0), Jt = De[0], Qt = De[1], Ie = (e, t, s) => s > 32 ? Ot(e, t, s) : Lt(e, t, s), Te = (e, t, s) => s > 32 ? Nt(e, t, s) : Gt(e, t, s);
|
|
398
|
+
function es(e, t = 24) {
|
|
399
399
|
const s = new Uint32Array(10);
|
|
400
400
|
for (let n = 24 - t; n < 24; n++) {
|
|
401
401
|
for (let o = 0; o < 10; o++)
|
|
402
402
|
s[o] = e[o] ^ e[o + 10] ^ e[o + 20] ^ e[o + 30] ^ e[o + 40];
|
|
403
403
|
for (let o = 0; o < 10; o += 2) {
|
|
404
|
-
const a = (o + 8) % 10, c = (o + 2) % 10, l = s[c], h = s[c + 1], d =
|
|
404
|
+
const a = (o + 8) % 10, c = (o + 2) % 10, l = s[c], h = s[c + 1], d = Ie(l, h, 1) ^ s[a], b = Te(l, h, 1) ^ s[a + 1];
|
|
405
405
|
for (let p = 0; p < 50; p += 10)
|
|
406
406
|
e[o + p] ^= d, e[o + p + 1] ^= b;
|
|
407
407
|
}
|
|
408
408
|
let r = e[2], i = e[3];
|
|
409
409
|
for (let o = 0; o < 24; o++) {
|
|
410
|
-
const a = _e[o], c =
|
|
410
|
+
const a = _e[o], c = Ie(r, i, a), l = Te(r, i, a), h = Me[o];
|
|
411
411
|
r = e[h], i = e[h + 1], e[h] = c, e[h + 1] = l;
|
|
412
412
|
}
|
|
413
413
|
for (let o = 0; o < 50; o += 10) {
|
|
@@ -416,7 +416,7 @@ function Qt(e, t = 24) {
|
|
|
416
416
|
for (let a = 0; a < 10; a++)
|
|
417
417
|
e[o + a] ^= ~s[(a + 2) % 10] & s[(a + 4) % 10];
|
|
418
418
|
}
|
|
419
|
-
e[0] ^=
|
|
419
|
+
e[0] ^= Jt[n], e[1] ^= Qt[n];
|
|
420
420
|
}
|
|
421
421
|
Z(s);
|
|
422
422
|
}
|
|
@@ -425,13 +425,13 @@ class fe extends Oe {
|
|
|
425
425
|
constructor(t, s, n, r = !1, i = 24) {
|
|
426
426
|
if (super(), this.pos = 0, this.posOut = 0, this.finished = !1, this.destroyed = !1, this.enableXOF = !1, this.blockLen = t, this.suffix = s, this.outputLen = n, this.enableXOF = r, this.rounds = i, se(n), !(0 < t && t < 200))
|
|
427
427
|
throw new Error("only keccak-f1600 function is supported");
|
|
428
|
-
this.state = new Uint8Array(200), this.state32 =
|
|
428
|
+
this.state = new Uint8Array(200), this.state32 = _t(this.state);
|
|
429
429
|
}
|
|
430
430
|
clone() {
|
|
431
431
|
return this._cloneInto();
|
|
432
432
|
}
|
|
433
433
|
keccak() {
|
|
434
|
-
Pe(this.state32),
|
|
434
|
+
Pe(this.state32), es(this.state32, this.rounds), Pe(this.state32), this.posOut = 0, this.pos = 0;
|
|
435
435
|
}
|
|
436
436
|
update(t) {
|
|
437
437
|
ne(this), t = de(t), k(t);
|
|
@@ -485,9 +485,9 @@ class fe extends Oe {
|
|
|
485
485
|
return t || (t = new fe(s, n, r, o, i)), t.state32.set(this.state32), t.pos = this.pos, t.posOut = this.posOut, t.finished = this.finished, t.rounds = i, t.suffix = n, t.outputLen = r, t.enableXOF = o, t.destroyed = this.destroyed, t;
|
|
486
486
|
}
|
|
487
487
|
}
|
|
488
|
-
const
|
|
489
|
-
function
|
|
490
|
-
const s = t || "hex", n =
|
|
488
|
+
const ts = (e, t, s) => Ne(() => new fe(t, e, s)), ss = ts(1, 136, 256 / 8);
|
|
489
|
+
function ns(e, t) {
|
|
490
|
+
const s = t || "hex", n = ss(Y(e, { strict: !1 }) ? Se(e) : e);
|
|
491
491
|
return s === "bytes" ? n : N(n);
|
|
492
492
|
}
|
|
493
493
|
class T extends u {
|
|
@@ -526,29 +526,29 @@ const ce = /* @__PURE__ */ new Re(8192);
|
|
|
526
526
|
function je(e, t) {
|
|
527
527
|
if (ce.has(`${e}.${t}`))
|
|
528
528
|
return ce.get(`${e}.${t}`);
|
|
529
|
-
const s = e.substring(2).toLowerCase(), n =
|
|
529
|
+
const s = e.substring(2).toLowerCase(), n = ns(He(s), "bytes"), r = s.split("");
|
|
530
530
|
for (let o = 0; o < 40; o += 2)
|
|
531
531
|
n[o >> 1] >> 4 >= 8 && r[o] && (r[o] = r[o].toUpperCase()), (n[o >> 1] & 15) >= 8 && r[o + 1] && (r[o + 1] = r[o + 1].toUpperCase());
|
|
532
532
|
const i = `0x${r.join("")}`;
|
|
533
533
|
return ce.set(`${e}.${t}`, i), i;
|
|
534
534
|
}
|
|
535
|
-
function
|
|
535
|
+
function An(e, t) {
|
|
536
536
|
if (!A(e, { strict: !1 }))
|
|
537
537
|
throw new T({ address: e });
|
|
538
538
|
return je(e, t);
|
|
539
539
|
}
|
|
540
|
-
const
|
|
540
|
+
const rs = /^0x[a-fA-F0-9]{40}$/, ue = /* @__PURE__ */ new Re(8192);
|
|
541
541
|
function A(e, t) {
|
|
542
542
|
const { strict: s = !0 } = t ?? {}, n = `${e}.${s}`;
|
|
543
543
|
if (ue.has(n))
|
|
544
544
|
return ue.get(n);
|
|
545
|
-
const r =
|
|
545
|
+
const r = rs.test(e) ? e.toLowerCase() === e ? !0 : s ? je(e) === e : !0 : !1;
|
|
546
546
|
return ue.set(n, r), r;
|
|
547
547
|
}
|
|
548
|
-
function
|
|
549
|
-
return typeof e[0] == "string" ? _(e) :
|
|
548
|
+
function $n(e) {
|
|
549
|
+
return typeof e[0] == "string" ? _(e) : is(e);
|
|
550
550
|
}
|
|
551
|
-
function
|
|
551
|
+
function is(e) {
|
|
552
552
|
let t = 0;
|
|
553
553
|
for (const r of e)
|
|
554
554
|
t += r.length;
|
|
@@ -561,35 +561,35 @@ function rs(e) {
|
|
|
561
561
|
function _(e) {
|
|
562
562
|
return `0x${e.reduce((t, s) => t + s.replace("0x", ""), "")}`;
|
|
563
563
|
}
|
|
564
|
-
function
|
|
565
|
-
return Y(e, { strict: !1 }) ?
|
|
564
|
+
function os(e, t, s, { strict: n } = {}) {
|
|
565
|
+
return Y(e, { strict: !1 }) ? cs(e, t, s, {
|
|
566
566
|
strict: n
|
|
567
|
-
}) :
|
|
567
|
+
}) : as(e, t, s, {
|
|
568
568
|
strict: n
|
|
569
569
|
});
|
|
570
570
|
}
|
|
571
571
|
function Ke(e, t) {
|
|
572
|
-
if (typeof t == "number" && t > 0 && t >
|
|
572
|
+
if (typeof t == "number" && t > 0 && t > I(e) - 1)
|
|
573
573
|
throw new ze({
|
|
574
574
|
offset: t,
|
|
575
575
|
position: "start",
|
|
576
|
-
size:
|
|
576
|
+
size: I(e)
|
|
577
577
|
});
|
|
578
578
|
}
|
|
579
579
|
function We(e, t, s) {
|
|
580
|
-
if (typeof t == "number" && typeof s == "number" &&
|
|
580
|
+
if (typeof t == "number" && typeof s == "number" && I(e) !== s - t)
|
|
581
581
|
throw new ze({
|
|
582
582
|
offset: s,
|
|
583
583
|
position: "end",
|
|
584
|
-
size:
|
|
584
|
+
size: I(e)
|
|
585
585
|
});
|
|
586
586
|
}
|
|
587
|
-
function
|
|
587
|
+
function as(e, t, s, { strict: n } = {}) {
|
|
588
588
|
Ke(e, t);
|
|
589
589
|
const r = e.slice(t, s);
|
|
590
590
|
return n && We(r, t, s), r;
|
|
591
591
|
}
|
|
592
|
-
function
|
|
592
|
+
function cs(e, t, s, { strict: n } = {}) {
|
|
593
593
|
Ke(e, t);
|
|
594
594
|
const r = `0x${e.replace("0x", "").slice((t ?? 0) * 2, (s ?? e.length) * 2)}`;
|
|
595
595
|
return n && We(r, t, s), r;
|
|
@@ -601,17 +601,17 @@ class Ae extends u {
|
|
|
601
601
|
});
|
|
602
602
|
}
|
|
603
603
|
}
|
|
604
|
-
class
|
|
604
|
+
class us extends u {
|
|
605
605
|
constructor({ length: t, position: s }) {
|
|
606
606
|
super(`Position \`${s}\` is out of bounds (\`0 < position < ${t}\`).`, { name: "PositionOutOfBoundsError" });
|
|
607
607
|
}
|
|
608
608
|
}
|
|
609
|
-
class
|
|
609
|
+
class ls extends u {
|
|
610
610
|
constructor({ count: t, limit: s }) {
|
|
611
611
|
super(`Recursive read limit of \`${s}\` exceeded (recursive read count: \`${t}\`).`, { name: "RecursiveReadLimitExceededError" });
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
|
-
const
|
|
614
|
+
const ds = {
|
|
615
615
|
bytes: new Uint8Array(),
|
|
616
616
|
dataView: new DataView(new ArrayBuffer(0)),
|
|
617
617
|
position: 0,
|
|
@@ -620,14 +620,14 @@ const ls = {
|
|
|
620
620
|
recursiveReadLimit: Number.POSITIVE_INFINITY,
|
|
621
621
|
assertReadLimit() {
|
|
622
622
|
if (this.recursiveReadCount >= this.recursiveReadLimit)
|
|
623
|
-
throw new
|
|
623
|
+
throw new ls({
|
|
624
624
|
count: this.recursiveReadCount + 1,
|
|
625
625
|
limit: this.recursiveReadLimit
|
|
626
626
|
});
|
|
627
627
|
},
|
|
628
628
|
assertPosition(e) {
|
|
629
629
|
if (e < 0 || e > this.bytes.length - 1)
|
|
630
|
-
throw new
|
|
630
|
+
throw new us({
|
|
631
631
|
length: this.bytes.length,
|
|
632
632
|
position: e
|
|
633
633
|
});
|
|
@@ -734,13 +734,13 @@ const ls = {
|
|
|
734
734
|
}
|
|
735
735
|
};
|
|
736
736
|
function Xe(e, { recursiveReadLimit: t = 8192 } = {}) {
|
|
737
|
-
const s = Object.create(
|
|
737
|
+
const s = Object.create(ds);
|
|
738
738
|
return s.bytes = e, s.dataView = new DataView(e.buffer, e.byteOffset, e.byteLength), s.positionReadCount = /* @__PURE__ */ new Map(), s.recursiveReadLimit = t, s;
|
|
739
739
|
}
|
|
740
|
-
const
|
|
740
|
+
const fs = {
|
|
741
741
|
gwei: 9,
|
|
742
742
|
wei: 18
|
|
743
|
-
},
|
|
743
|
+
}, hs = {
|
|
744
744
|
ether: -9,
|
|
745
745
|
wei: 9
|
|
746
746
|
};
|
|
@@ -754,18 +754,18 @@ function qe(e, t) {
|
|
|
754
754
|
];
|
|
755
755
|
return i = i.replace(/(0+)$/, ""), `${n ? "-" : ""}${r || "0"}${i ? `.${i}` : ""}`;
|
|
756
756
|
}
|
|
757
|
-
function
|
|
758
|
-
return qe(e, ds[t]);
|
|
759
|
-
}
|
|
760
|
-
function C(e, t = "wei") {
|
|
757
|
+
function ps(e, t = "wei") {
|
|
761
758
|
return qe(e, fs[t]);
|
|
762
759
|
}
|
|
760
|
+
function F(e, t = "wei") {
|
|
761
|
+
return qe(e, hs[t]);
|
|
762
|
+
}
|
|
763
763
|
function Ze(e) {
|
|
764
764
|
const t = Object.entries(e).map(([n, r]) => r === void 0 || r === !1 ? null : [n, r]).filter(Boolean), s = t.reduce((n, [r]) => Math.max(n, r.length), 0);
|
|
765
765
|
return t.map(([n, r]) => ` ${`${n}:`.padEnd(s + 1)} ${r}`).join(`
|
|
766
766
|
`);
|
|
767
767
|
}
|
|
768
|
-
class
|
|
768
|
+
class Cn extends u {
|
|
769
769
|
constructor() {
|
|
770
770
|
super([
|
|
771
771
|
"Cannot specify both a `gasPrice` and a `maxFeePerGas`/`maxPriorityFeePerGas`.",
|
|
@@ -774,14 +774,14 @@ class $n extends u {
|
|
|
774
774
|
`), { name: "FeeConflictError" });
|
|
775
775
|
}
|
|
776
776
|
}
|
|
777
|
-
class
|
|
777
|
+
class bs extends u {
|
|
778
778
|
constructor({ v: t }) {
|
|
779
779
|
super(`Invalid \`v\` value "${t}". Expected 27 or 28.`, {
|
|
780
780
|
name: "InvalidLegacyVError"
|
|
781
781
|
});
|
|
782
782
|
}
|
|
783
783
|
}
|
|
784
|
-
class
|
|
784
|
+
class ms extends u {
|
|
785
785
|
constructor({ transaction: t }) {
|
|
786
786
|
super("Cannot infer a transaction type from provided transaction.", {
|
|
787
787
|
metaMessages: [
|
|
@@ -802,24 +802,24 @@ class bs extends u {
|
|
|
802
802
|
});
|
|
803
803
|
}
|
|
804
804
|
}
|
|
805
|
-
class
|
|
805
|
+
class xs extends u {
|
|
806
806
|
constructor({ storageKey: t }) {
|
|
807
807
|
super(`Size for storage key "${t}" is invalid. Expected 32 bytes. Got ${Math.floor((t.length - 2) / 2)} bytes.`, { name: "InvalidStorageKeySizeError" });
|
|
808
808
|
}
|
|
809
809
|
}
|
|
810
|
-
class
|
|
810
|
+
class Un extends u {
|
|
811
811
|
constructor(t, { account: s, docsPath: n, chain: r, data: i, gas: o, gasPrice: a, maxFeePerGas: c, maxPriorityFeePerGas: l, nonce: h, to: d, value: b }) {
|
|
812
812
|
var B;
|
|
813
813
|
const p = Ze({
|
|
814
814
|
chain: r && `${r == null ? void 0 : r.name} (id: ${r == null ? void 0 : r.id})`,
|
|
815
815
|
from: s == null ? void 0 : s.address,
|
|
816
816
|
to: d,
|
|
817
|
-
value: typeof b < "u" && `${
|
|
817
|
+
value: typeof b < "u" && `${ps(b)} ${((B = r == null ? void 0 : r.nativeCurrency) == null ? void 0 : B.symbol) || "ETH"}`,
|
|
818
818
|
data: i,
|
|
819
819
|
gas: o,
|
|
820
|
-
gasPrice: typeof a < "u" && `${
|
|
821
|
-
maxFeePerGas: typeof c < "u" && `${
|
|
822
|
-
maxPriorityFeePerGas: typeof l < "u" && `${
|
|
820
|
+
gasPrice: typeof a < "u" && `${F(a)} gwei`,
|
|
821
|
+
maxFeePerGas: typeof c < "u" && `${F(c)} gwei`,
|
|
822
|
+
maxPriorityFeePerGas: typeof l < "u" && `${F(l)} gwei`,
|
|
823
823
|
nonce: h
|
|
824
824
|
});
|
|
825
825
|
super(t.shortMessage, {
|
|
@@ -839,7 +839,7 @@ class Fn extends u {
|
|
|
839
839
|
}), this.cause = t;
|
|
840
840
|
}
|
|
841
841
|
}
|
|
842
|
-
class
|
|
842
|
+
class Fn extends u {
|
|
843
843
|
constructor({ blockHash: t, blockNumber: s, blockTag: n, hash: r, index: i }) {
|
|
844
844
|
let o = "Transaction";
|
|
845
845
|
n && i !== void 0 && (o = `Transaction at block time "${n}" at index "${i}"`), t && i !== void 0 && (o = `Transaction at block hash "${t}" at index "${i}"`), s && i !== void 0 && (o = `Transaction at block number "${s}" at index "${i}"`), r && (o = `Transaction with hash "${r}"`), super(`${o} could not be found.`, {
|
|
@@ -847,14 +847,14 @@ class Un extends u {
|
|
|
847
847
|
});
|
|
848
848
|
}
|
|
849
849
|
}
|
|
850
|
-
class
|
|
850
|
+
class zn extends u {
|
|
851
851
|
constructor({ hash: t }) {
|
|
852
852
|
super(`Transaction receipt with hash "${t}" could not be found. The Transaction may not be processed on a block yet.`, {
|
|
853
853
|
name: "TransactionReceiptNotFoundError"
|
|
854
854
|
});
|
|
855
855
|
}
|
|
856
856
|
}
|
|
857
|
-
class
|
|
857
|
+
class kn extends u {
|
|
858
858
|
constructor({ hash: t }) {
|
|
859
859
|
super(`Timed out while waiting for transaction with hash "${t}" to be confirmed.`, { name: "WaitForTransactionReceiptTimeoutError" });
|
|
860
860
|
}
|
|
@@ -864,9 +864,9 @@ function S(e, t = "hex") {
|
|
|
864
864
|
return s.encode(n), t === "hex" ? $(n.bytes) : n.bytes;
|
|
865
865
|
}
|
|
866
866
|
function Ye(e) {
|
|
867
|
-
return Array.isArray(e) ?
|
|
867
|
+
return Array.isArray(e) ? gs(e.map((t) => Ye(t))) : ys(e);
|
|
868
868
|
}
|
|
869
|
-
function
|
|
869
|
+
function gs(e) {
|
|
870
870
|
const t = e.reduce((r, i) => r + i.length, 0), s = Je(t);
|
|
871
871
|
return {
|
|
872
872
|
length: t <= 55 ? 1 + t : 1 + s + t,
|
|
@@ -877,7 +877,7 @@ function xs(e) {
|
|
|
877
877
|
}
|
|
878
878
|
};
|
|
879
879
|
}
|
|
880
|
-
function
|
|
880
|
+
function ys(e) {
|
|
881
881
|
const t = typeof e == "string" ? z(e) : e, s = Je(t.length);
|
|
882
882
|
return {
|
|
883
883
|
length: t.length === 1 && t[0] < 128 ? 1 : t.length <= 55 ? 1 + t.length : 1 + s + t.length,
|
|
@@ -921,7 +921,7 @@ Object.defineProperty(Qe, "nodeMessage", {
|
|
|
921
921
|
});
|
|
922
922
|
class re extends u {
|
|
923
923
|
constructor({ cause: t, maxFeePerGas: s } = {}) {
|
|
924
|
-
super(`The fee cap (\`maxFeePerGas\`${s ? ` = ${
|
|
924
|
+
super(`The fee cap (\`maxFeePerGas\`${s ? ` = ${F(s)} gwei` : ""}) cannot be higher than the maximum allowed value (2^256-1).`, {
|
|
925
925
|
cause: t,
|
|
926
926
|
name: "FeeCapTooHighError"
|
|
927
927
|
});
|
|
@@ -933,32 +933,32 @@ Object.defineProperty(re, "nodeMessage", {
|
|
|
933
933
|
writable: !0,
|
|
934
934
|
value: /max fee per gas higher than 2\^256-1|fee cap higher than 2\^256-1/
|
|
935
935
|
});
|
|
936
|
-
class
|
|
936
|
+
class ws extends u {
|
|
937
937
|
constructor({ cause: t, maxFeePerGas: s } = {}) {
|
|
938
|
-
super(`The fee cap (\`maxFeePerGas\`${s ? ` = ${
|
|
938
|
+
super(`The fee cap (\`maxFeePerGas\`${s ? ` = ${F(s)}` : ""} gwei) cannot be lower than the block base fee.`, {
|
|
939
939
|
cause: t,
|
|
940
940
|
name: "FeeCapTooLowError"
|
|
941
941
|
});
|
|
942
942
|
}
|
|
943
943
|
}
|
|
944
|
-
Object.defineProperty(
|
|
944
|
+
Object.defineProperty(ws, "nodeMessage", {
|
|
945
945
|
enumerable: !0,
|
|
946
946
|
configurable: !0,
|
|
947
947
|
writable: !0,
|
|
948
948
|
value: /max fee per gas less than block base fee|fee cap less than block base fee|transaction is outdated/
|
|
949
949
|
});
|
|
950
|
-
class
|
|
950
|
+
class Es extends u {
|
|
951
951
|
constructor({ cause: t, nonce: s } = {}) {
|
|
952
952
|
super(`Nonce provided for the transaction ${s ? `(${s}) ` : ""}is higher than the next one expected.`, { cause: t, name: "NonceTooHighError" });
|
|
953
953
|
}
|
|
954
954
|
}
|
|
955
|
-
Object.defineProperty(
|
|
955
|
+
Object.defineProperty(Es, "nodeMessage", {
|
|
956
956
|
enumerable: !0,
|
|
957
957
|
configurable: !0,
|
|
958
958
|
writable: !0,
|
|
959
959
|
value: /nonce too high/
|
|
960
960
|
});
|
|
961
|
-
class
|
|
961
|
+
class Bs extends u {
|
|
962
962
|
constructor({ cause: t, nonce: s } = {}) {
|
|
963
963
|
super([
|
|
964
964
|
`Nonce provided for the transaction ${s ? `(${s}) ` : ""}is lower than the current nonce of the account.`,
|
|
@@ -967,24 +967,24 @@ class Es extends u {
|
|
|
967
967
|
`), { cause: t, name: "NonceTooLowError" });
|
|
968
968
|
}
|
|
969
969
|
}
|
|
970
|
-
Object.defineProperty(
|
|
970
|
+
Object.defineProperty(Bs, "nodeMessage", {
|
|
971
971
|
enumerable: !0,
|
|
972
972
|
configurable: !0,
|
|
973
973
|
writable: !0,
|
|
974
974
|
value: /nonce too low|transaction already imported|already known/
|
|
975
975
|
});
|
|
976
|
-
class
|
|
976
|
+
class Ps extends u {
|
|
977
977
|
constructor({ cause: t, nonce: s } = {}) {
|
|
978
978
|
super(`Nonce provided for the transaction ${s ? `(${s}) ` : ""}exceeds the maximum allowed nonce.`, { cause: t, name: "NonceMaxValueError" });
|
|
979
979
|
}
|
|
980
980
|
}
|
|
981
|
-
Object.defineProperty(
|
|
981
|
+
Object.defineProperty(Ps, "nodeMessage", {
|
|
982
982
|
enumerable: !0,
|
|
983
983
|
configurable: !0,
|
|
984
984
|
writable: !0,
|
|
985
985
|
value: /nonce has max value/
|
|
986
986
|
});
|
|
987
|
-
class
|
|
987
|
+
class vs extends u {
|
|
988
988
|
constructor({ cause: t } = {}) {
|
|
989
989
|
super([
|
|
990
990
|
"The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account."
|
|
@@ -1005,7 +1005,7 @@ class Ps extends u {
|
|
|
1005
1005
|
});
|
|
1006
1006
|
}
|
|
1007
1007
|
}
|
|
1008
|
-
Object.defineProperty(
|
|
1008
|
+
Object.defineProperty(vs, "nodeMessage", {
|
|
1009
1009
|
enumerable: !0,
|
|
1010
1010
|
configurable: !0,
|
|
1011
1011
|
writable: !0,
|
|
@@ -1025,7 +1025,7 @@ Object.defineProperty(Is, "nodeMessage", {
|
|
|
1025
1025
|
writable: !0,
|
|
1026
1026
|
value: /intrinsic gas too high|gas limit reached/
|
|
1027
1027
|
});
|
|
1028
|
-
class
|
|
1028
|
+
class Ts extends u {
|
|
1029
1029
|
constructor({ cause: t, gas: s } = {}) {
|
|
1030
1030
|
super(`The amount of gas ${s ? `(${s}) ` : ""}provided for the transaction is too low.`, {
|
|
1031
1031
|
cause: t,
|
|
@@ -1033,13 +1033,13 @@ class vs extends u {
|
|
|
1033
1033
|
});
|
|
1034
1034
|
}
|
|
1035
1035
|
}
|
|
1036
|
-
Object.defineProperty(
|
|
1036
|
+
Object.defineProperty(Ts, "nodeMessage", {
|
|
1037
1037
|
enumerable: !0,
|
|
1038
1038
|
configurable: !0,
|
|
1039
1039
|
writable: !0,
|
|
1040
1040
|
value: /intrinsic gas too low/
|
|
1041
1041
|
});
|
|
1042
|
-
class
|
|
1042
|
+
class As extends u {
|
|
1043
1043
|
constructor({ cause: t }) {
|
|
1044
1044
|
super("The transaction type is not supported for this chain.", {
|
|
1045
1045
|
cause: t,
|
|
@@ -1047,7 +1047,7 @@ class Ts extends u {
|
|
|
1047
1047
|
});
|
|
1048
1048
|
}
|
|
1049
1049
|
}
|
|
1050
|
-
Object.defineProperty(
|
|
1050
|
+
Object.defineProperty(As, "nodeMessage", {
|
|
1051
1051
|
enumerable: !0,
|
|
1052
1052
|
configurable: !0,
|
|
1053
1053
|
writable: !0,
|
|
@@ -1056,7 +1056,7 @@ Object.defineProperty(Ts, "nodeMessage", {
|
|
|
1056
1056
|
class et extends u {
|
|
1057
1057
|
constructor({ cause: t, maxPriorityFeePerGas: s, maxFeePerGas: n } = {}) {
|
|
1058
1058
|
super([
|
|
1059
|
-
`The provided tip (\`maxPriorityFeePerGas\`${s ? ` = ${
|
|
1059
|
+
`The provided tip (\`maxPriorityFeePerGas\`${s ? ` = ${F(s)} gwei` : ""}) cannot be higher than the fee cap (\`maxFeePerGas\`${n ? ` = ${F(n)} gwei` : ""}).`
|
|
1060
1060
|
].join(`
|
|
1061
1061
|
`), {
|
|
1062
1062
|
cause: t,
|
|
@@ -1070,7 +1070,7 @@ Object.defineProperty(et, "nodeMessage", {
|
|
|
1070
1070
|
writable: !0,
|
|
1071
1071
|
value: /max priority fee per gas higher than max fee per gas|tip higher than fee cap/
|
|
1072
1072
|
});
|
|
1073
|
-
class
|
|
1073
|
+
class Sn extends u {
|
|
1074
1074
|
constructor({ cause: t }) {
|
|
1075
1075
|
super(`An error occurred while executing: ${t == null ? void 0 : t.shortMessage}`, {
|
|
1076
1076
|
cause: t,
|
|
@@ -1120,7 +1120,7 @@ function be(e) {
|
|
|
1120
1120
|
value: e.value ? BigInt(e.value) : void 0,
|
|
1121
1121
|
v: e.v ? BigInt(e.v) : void 0
|
|
1122
1122
|
};
|
|
1123
|
-
return e.authorizationList && (t.authorizationList =
|
|
1123
|
+
return e.authorizationList && (t.authorizationList = Cs(e.authorizationList)), t.yParity = (() => {
|
|
1124
1124
|
if (e.yParity)
|
|
1125
1125
|
return Number(e.yParity);
|
|
1126
1126
|
if (typeof t.v == "bigint") {
|
|
@@ -1133,8 +1133,8 @@ function be(e) {
|
|
|
1133
1133
|
}
|
|
1134
1134
|
})(), t.type === "legacy" && (delete t.accessList, delete t.maxFeePerBlobGas, delete t.maxFeePerGas, delete t.maxPriorityFeePerGas, delete t.yParity), t.type === "eip2930" && (delete t.maxFeePerBlobGas, delete t.maxFeePerGas, delete t.maxPriorityFeePerGas), t.type === "eip1559" && delete t.maxFeePerBlobGas, t;
|
|
1135
1135
|
}
|
|
1136
|
-
const
|
|
1137
|
-
function
|
|
1136
|
+
const $s = /* @__PURE__ */ he("transaction", be);
|
|
1137
|
+
function Cs(e) {
|
|
1138
1138
|
return e.map((t) => ({
|
|
1139
1139
|
address: t.address,
|
|
1140
1140
|
chainId: Number(t.chainId),
|
|
@@ -1144,7 +1144,7 @@ function $s(e) {
|
|
|
1144
1144
|
yParity: Number(t.yParity)
|
|
1145
1145
|
}));
|
|
1146
1146
|
}
|
|
1147
|
-
function
|
|
1147
|
+
function Us(e) {
|
|
1148
1148
|
const t = (e.transactions ?? []).map((s) => typeof s == "string" ? s : be(s));
|
|
1149
1149
|
return {
|
|
1150
1150
|
...e,
|
|
@@ -1164,7 +1164,7 @@ function Fs(e) {
|
|
|
1164
1164
|
totalDifficulty: e.totalDifficulty ? BigInt(e.totalDifficulty) : null
|
|
1165
1165
|
};
|
|
1166
1166
|
}
|
|
1167
|
-
const
|
|
1167
|
+
const Fs = /* @__PURE__ */ he("block", Us);
|
|
1168
1168
|
function st(e) {
|
|
1169
1169
|
const { kzg: t } = e, s = e.to ?? (typeof e.blobs[0] == "string" ? "hex" : "bytes"), n = typeof e.blobs[0] == "string" ? e.blobs.map((i) => z(i)) : e.blobs, r = [];
|
|
1170
1170
|
for (const i of n)
|
|
@@ -1179,19 +1179,19 @@ function nt(e) {
|
|
|
1179
1179
|
}
|
|
1180
1180
|
return s === "bytes" ? i : i.map((o) => $(o));
|
|
1181
1181
|
}
|
|
1182
|
-
function
|
|
1182
|
+
function zs(e, t, s, n) {
|
|
1183
1183
|
if (typeof e.setBigUint64 == "function")
|
|
1184
1184
|
return e.setBigUint64(t, s, n);
|
|
1185
1185
|
const r = BigInt(32), i = BigInt(4294967295), o = Number(s >> r & i), a = Number(s & i), c = n ? 4 : 0, l = n ? 0 : 4;
|
|
1186
1186
|
e.setUint32(t + c, o, n), e.setUint32(t + l, a, n);
|
|
1187
1187
|
}
|
|
1188
|
-
function
|
|
1188
|
+
function ks(e, t, s) {
|
|
1189
1189
|
return e & t ^ ~e & s;
|
|
1190
1190
|
}
|
|
1191
|
-
function
|
|
1191
|
+
function Ss(e, t, s) {
|
|
1192
1192
|
return e & t ^ e & s ^ t & s;
|
|
1193
1193
|
}
|
|
1194
|
-
class
|
|
1194
|
+
class Hs extends Oe {
|
|
1195
1195
|
constructor(t, s, n, r) {
|
|
1196
1196
|
super(), this.finished = !1, this.length = 0, this.pos = 0, this.destroyed = !1, this.blockLen = t, this.outputLen = s, this.padOffset = n, this.isLE = r, this.buffer = new Uint8Array(t), this.view = ae(this.buffer);
|
|
1197
1197
|
}
|
|
@@ -1217,7 +1217,7 @@ class Ss extends Oe {
|
|
|
1217
1217
|
s[o++] = 128, Z(this.buffer.subarray(o)), this.padOffset > r - o && (this.process(n, 0), o = 0);
|
|
1218
1218
|
for (let d = o; d < r; d++)
|
|
1219
1219
|
s[d] = 0;
|
|
1220
|
-
|
|
1220
|
+
zs(n, r - 8, BigInt(this.length * 8), i), this.process(n, 0);
|
|
1221
1221
|
const a = ae(t), c = this.outputLen;
|
|
1222
1222
|
if (c % 4)
|
|
1223
1223
|
throw new Error("_sha2: outputLen should be aligned to 32bit");
|
|
@@ -1251,7 +1251,7 @@ const P = /* @__PURE__ */ Uint32Array.from([
|
|
|
1251
1251
|
2600822924,
|
|
1252
1252
|
528734635,
|
|
1253
1253
|
1541459225
|
|
1254
|
-
]),
|
|
1254
|
+
]), Ls = /* @__PURE__ */ Uint32Array.from([
|
|
1255
1255
|
1116352408,
|
|
1256
1256
|
1899447441,
|
|
1257
1257
|
3049323471,
|
|
@@ -1316,8 +1316,8 @@ const P = /* @__PURE__ */ Uint32Array.from([
|
|
|
1316
1316
|
2756734187,
|
|
1317
1317
|
3204031479,
|
|
1318
1318
|
3329325298
|
|
1319
|
-
]),
|
|
1320
|
-
class
|
|
1319
|
+
]), v = /* @__PURE__ */ new Uint32Array(64);
|
|
1320
|
+
class Gs extends Hs {
|
|
1321
1321
|
constructor(t = 32) {
|
|
1322
1322
|
super(64, t, 8, !1), this.A = P[0] | 0, this.B = P[1] | 0, this.C = P[2] | 0, this.D = P[3] | 0, this.E = P[4] | 0, this.F = P[5] | 0, this.G = P[6] | 0, this.H = P[7] | 0;
|
|
1323
1323
|
}
|
|
@@ -1331,47 +1331,47 @@ class Ls extends Ss {
|
|
|
1331
1331
|
}
|
|
1332
1332
|
process(t, s) {
|
|
1333
1333
|
for (let d = 0; d < 16; d++, s += 4)
|
|
1334
|
-
|
|
1334
|
+
v[d] = t.getUint32(s, !1);
|
|
1335
1335
|
for (let d = 16; d < 64; d++) {
|
|
1336
|
-
const b =
|
|
1337
|
-
|
|
1336
|
+
const b = v[d - 15], p = v[d - 2], B = g(b, 7) ^ g(b, 18) ^ b >>> 3, L = g(p, 17) ^ g(p, 19) ^ p >>> 10;
|
|
1337
|
+
v[d] = L + v[d - 7] + B + v[d - 16] | 0;
|
|
1338
1338
|
}
|
|
1339
1339
|
let { A: n, B: r, C: i, D: o, E: a, F: c, G: l, H: h } = this;
|
|
1340
1340
|
for (let d = 0; d < 64; d++) {
|
|
1341
|
-
const b = g(a, 6) ^ g(a, 11) ^ g(a, 25), p = h + b +
|
|
1341
|
+
const b = g(a, 6) ^ g(a, 11) ^ g(a, 25), p = h + b + ks(a, c, l) + Ls[d] + v[d] | 0, L = (g(n, 2) ^ g(n, 13) ^ g(n, 22)) + Ss(n, r, i) | 0;
|
|
1342
1342
|
h = l, l = c, c = a, a = o + p | 0, o = i, i = r, r = n, n = p + L | 0;
|
|
1343
1343
|
}
|
|
1344
1344
|
n = n + this.A | 0, r = r + 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, r, i, o, a, c, l, h);
|
|
1345
1345
|
}
|
|
1346
1346
|
roundClean() {
|
|
1347
|
-
Z(
|
|
1347
|
+
Z(v);
|
|
1348
1348
|
}
|
|
1349
1349
|
destroy() {
|
|
1350
1350
|
this.set(0, 0, 0, 0, 0, 0, 0, 0), Z(this.buffer);
|
|
1351
1351
|
}
|
|
1352
1352
|
}
|
|
1353
|
-
const
|
|
1354
|
-
function
|
|
1355
|
-
return
|
|
1353
|
+
const Os = /* @__PURE__ */ Ne(() => new Gs()), Ns = Os;
|
|
1354
|
+
function Ms(e, t) {
|
|
1355
|
+
return Ns(Y(e, { strict: !1 }) ? Se(e) : e);
|
|
1356
1356
|
}
|
|
1357
|
-
function
|
|
1358
|
-
const { commitment: t, version: s = 1 } = e, n = e.to ?? (typeof t == "string" ? "hex" : "bytes"), r =
|
|
1357
|
+
function _s(e) {
|
|
1358
|
+
const { commitment: t, version: s = 1 } = e, n = e.to ?? (typeof t == "string" ? "hex" : "bytes"), r = Ms(t);
|
|
1359
1359
|
return r.set([s], 0), n === "bytes" ? r : $(r);
|
|
1360
1360
|
}
|
|
1361
|
-
function
|
|
1361
|
+
function Vs(e) {
|
|
1362
1362
|
const { commitments: t, version: s } = e, n = e.to ?? (typeof t[0] == "string" ? "hex" : "bytes"), r = [];
|
|
1363
1363
|
for (const i of t)
|
|
1364
|
-
r.push(
|
|
1364
|
+
r.push(_s({
|
|
1365
1365
|
commitment: i,
|
|
1366
1366
|
to: n,
|
|
1367
1367
|
version: s
|
|
1368
1368
|
}));
|
|
1369
1369
|
return r;
|
|
1370
1370
|
}
|
|
1371
|
-
const $e = 6, rt = 32, me = 4096, it = rt * me,
|
|
1371
|
+
const $e = 6, rt = 32, me = 4096, it = rt * me, Ce = it * $e - // terminator byte (0x80).
|
|
1372
1372
|
1 - // zero byte (0x00) appended to each field element.
|
|
1373
1373
|
1 * me * $e, ot = 1;
|
|
1374
|
-
class
|
|
1374
|
+
class Ds extends u {
|
|
1375
1375
|
constructor({ maxSize: t, size: s }) {
|
|
1376
1376
|
super("Blob size is too large.", {
|
|
1377
1377
|
metaMessages: [`Max: ${t} bytes`, `Given: ${s} bytes`],
|
|
@@ -1384,7 +1384,7 @@ class at extends u {
|
|
|
1384
1384
|
super("Blob data must not be empty.", { name: "EmptyBlobError" });
|
|
1385
1385
|
}
|
|
1386
1386
|
}
|
|
1387
|
-
class
|
|
1387
|
+
class Rs extends u {
|
|
1388
1388
|
constructor({ hash: t, size: s }) {
|
|
1389
1389
|
super(`Versioned hash "${t}" size is invalid.`, {
|
|
1390
1390
|
metaMessages: ["Expected: 32", `Received: ${s}`],
|
|
@@ -1392,7 +1392,7 @@ class Ds extends u {
|
|
|
1392
1392
|
});
|
|
1393
1393
|
}
|
|
1394
1394
|
}
|
|
1395
|
-
class
|
|
1395
|
+
class js extends u {
|
|
1396
1396
|
constructor({ hash: t, version: s }) {
|
|
1397
1397
|
super(`Versioned hash "${t}" version is invalid.`, {
|
|
1398
1398
|
metaMessages: [
|
|
@@ -1403,13 +1403,13 @@ class Rs extends u {
|
|
|
1403
1403
|
});
|
|
1404
1404
|
}
|
|
1405
1405
|
}
|
|
1406
|
-
function
|
|
1407
|
-
const t = e.to ?? (typeof e.data == "string" ? "hex" : "bytes"), s = typeof e.data == "string" ? z(e.data) : e.data, n =
|
|
1406
|
+
function Ks(e) {
|
|
1407
|
+
const t = e.to ?? (typeof e.data == "string" ? "hex" : "bytes"), s = typeof e.data == "string" ? z(e.data) : e.data, n = I(s);
|
|
1408
1408
|
if (!n)
|
|
1409
1409
|
throw new at();
|
|
1410
|
-
if (n >
|
|
1411
|
-
throw new
|
|
1412
|
-
maxSize:
|
|
1410
|
+
if (n > Ce)
|
|
1411
|
+
throw new Ds({
|
|
1412
|
+
maxSize: Ce,
|
|
1413
1413
|
size: n
|
|
1414
1414
|
});
|
|
1415
1415
|
const r = [];
|
|
@@ -1429,8 +1429,8 @@ function js(e) {
|
|
|
1429
1429
|
}
|
|
1430
1430
|
return t === "bytes" ? r.map((a) => a.bytes) : r.map((a) => $(a.bytes));
|
|
1431
1431
|
}
|
|
1432
|
-
function
|
|
1433
|
-
const { data: t, kzg: s, to: n } = e, r = e.blobs ??
|
|
1432
|
+
function Ws(e) {
|
|
1433
|
+
const { data: t, kzg: s, to: n } = e, r = e.blobs ?? Ks({ data: t, to: n }), i = e.commitments ?? st({ blobs: r, kzg: s, to: n }), o = e.proofs ?? nt({ blobs: r, commitments: i, kzg: s, to: n }), a = [];
|
|
1434
1434
|
for (let c = 0; c < r.length; c++)
|
|
1435
1435
|
a.push({
|
|
1436
1436
|
blob: r[c],
|
|
@@ -1439,7 +1439,7 @@ function Ks(e) {
|
|
|
1439
1439
|
});
|
|
1440
1440
|
return a;
|
|
1441
1441
|
}
|
|
1442
|
-
function
|
|
1442
|
+
function Xs(e) {
|
|
1443
1443
|
if (e.type)
|
|
1444
1444
|
return e.type;
|
|
1445
1445
|
if (typeof e.authorizationList < "u")
|
|
@@ -1450,9 +1450,9 @@ function Ws(e) {
|
|
|
1450
1450
|
return "eip1559";
|
|
1451
1451
|
if (typeof e.gasPrice < "u")
|
|
1452
1452
|
return typeof e.accessList < "u" ? "eip2930" : "legacy";
|
|
1453
|
-
throw new
|
|
1453
|
+
throw new ms({ transaction: e });
|
|
1454
1454
|
}
|
|
1455
|
-
function
|
|
1455
|
+
function qs(e, { args: t, eventName: s } = {}) {
|
|
1456
1456
|
return {
|
|
1457
1457
|
...e,
|
|
1458
1458
|
blockHash: e.blockHash ? e.blockHash : null,
|
|
@@ -1463,7 +1463,7 @@ function Xs(e, { args: t, eventName: s } = {}) {
|
|
|
1463
1463
|
...s ? { args: t, eventName: s } : {}
|
|
1464
1464
|
};
|
|
1465
1465
|
}
|
|
1466
|
-
class
|
|
1466
|
+
class Hn extends u {
|
|
1467
1467
|
constructor({ blockNumber: t, chain: s, contract: n }) {
|
|
1468
1468
|
super(`Chain "${s.name}" does not support contract "${n.name}".`, {
|
|
1469
1469
|
metaMessages: [
|
|
@@ -1478,7 +1478,7 @@ class Sn extends u {
|
|
|
1478
1478
|
});
|
|
1479
1479
|
}
|
|
1480
1480
|
}
|
|
1481
|
-
class
|
|
1481
|
+
class Ln extends u {
|
|
1482
1482
|
constructor({ chain: t, currentChainId: s }) {
|
|
1483
1483
|
super(`The current chain of the wallet (id: ${s}) does not match the target chain for the transaction (id: ${t.id} – ${t.name}).`, {
|
|
1484
1484
|
metaMessages: [
|
|
@@ -1489,7 +1489,7 @@ class Hn extends u {
|
|
|
1489
1489
|
});
|
|
1490
1490
|
}
|
|
1491
1491
|
}
|
|
1492
|
-
class
|
|
1492
|
+
class Gn extends u {
|
|
1493
1493
|
constructor() {
|
|
1494
1494
|
super([
|
|
1495
1495
|
"No chain was provided to the request.",
|
|
@@ -1500,7 +1500,7 @@ class Ln extends u {
|
|
|
1500
1500
|
});
|
|
1501
1501
|
}
|
|
1502
1502
|
}
|
|
1503
|
-
class
|
|
1503
|
+
class On extends u {
|
|
1504
1504
|
constructor() {
|
|
1505
1505
|
super("No chain was provided to the Client.", {
|
|
1506
1506
|
name: "ClientChainNotConfiguredError"
|
|
@@ -1512,11 +1512,11 @@ class ie extends u {
|
|
|
1512
1512
|
super(typeof t == "number" ? `Chain ID "${t}" is invalid.` : "Chain ID is invalid.", { name: "InvalidChainIdError" });
|
|
1513
1513
|
}
|
|
1514
1514
|
}
|
|
1515
|
-
const
|
|
1515
|
+
const Zs = {
|
|
1516
1516
|
"0x0": "reverted",
|
|
1517
1517
|
"0x1": "success"
|
|
1518
1518
|
};
|
|
1519
|
-
function
|
|
1519
|
+
function Ys(e) {
|
|
1520
1520
|
const t = {
|
|
1521
1521
|
...e,
|
|
1522
1522
|
blockNumber: e.blockNumber ? BigInt(e.blockNumber) : null,
|
|
@@ -1524,15 +1524,15 @@ function Zs(e) {
|
|
|
1524
1524
|
cumulativeGasUsed: e.cumulativeGasUsed ? BigInt(e.cumulativeGasUsed) : null,
|
|
1525
1525
|
effectiveGasPrice: e.effectiveGasPrice ? BigInt(e.effectiveGasPrice) : null,
|
|
1526
1526
|
gasUsed: e.gasUsed ? BigInt(e.gasUsed) : null,
|
|
1527
|
-
logs: e.logs ? e.logs.map((s) =>
|
|
1527
|
+
logs: e.logs ? e.logs.map((s) => qs(s)) : null,
|
|
1528
1528
|
to: e.to ? e.to : null,
|
|
1529
1529
|
transactionIndex: e.transactionIndex ? te(e.transactionIndex) : null,
|
|
1530
|
-
status: e.status ?
|
|
1530
|
+
status: e.status ? Zs[e.status] : null,
|
|
1531
1531
|
type: e.type ? tt[e.type] || e.type : null
|
|
1532
1532
|
};
|
|
1533
1533
|
return e.blobGasPrice && (t.blobGasPrice = BigInt(e.blobGasPrice)), e.blobGasUsed && (t.blobGasUsed = BigInt(e.blobGasUsed)), t;
|
|
1534
1534
|
}
|
|
1535
|
-
const
|
|
1535
|
+
const Js = /* @__PURE__ */ he("transactionReceipt", Ys);
|
|
1536
1536
|
function x(e) {
|
|
1537
1537
|
return {
|
|
1538
1538
|
formatters: void 0,
|
|
@@ -1541,7 +1541,7 @@ function x(e) {
|
|
|
1541
1541
|
...e
|
|
1542
1542
|
};
|
|
1543
1543
|
}
|
|
1544
|
-
function
|
|
1544
|
+
function Qs(e) {
|
|
1545
1545
|
const { authorizationList: t } = e;
|
|
1546
1546
|
if (t)
|
|
1547
1547
|
for (const s of t) {
|
|
@@ -1553,17 +1553,17 @@ function Js(e) {
|
|
|
1553
1553
|
}
|
|
1554
1554
|
xe(e);
|
|
1555
1555
|
}
|
|
1556
|
-
function
|
|
1556
|
+
function en(e) {
|
|
1557
1557
|
const { blobVersionedHashes: t } = e;
|
|
1558
1558
|
if (t) {
|
|
1559
1559
|
if (t.length === 0)
|
|
1560
1560
|
throw new at();
|
|
1561
1561
|
for (const s of t) {
|
|
1562
|
-
const n =
|
|
1562
|
+
const n = I(s), r = te(os(s, 0, 1));
|
|
1563
1563
|
if (n !== 32)
|
|
1564
|
-
throw new
|
|
1564
|
+
throw new Rs({ hash: s, size: n });
|
|
1565
1565
|
if (r !== ot)
|
|
1566
|
-
throw new
|
|
1566
|
+
throw new js({
|
|
1567
1567
|
hash: s,
|
|
1568
1568
|
version: r
|
|
1569
1569
|
});
|
|
@@ -1582,7 +1582,7 @@ function xe(e) {
|
|
|
1582
1582
|
if (s && n && s > n)
|
|
1583
1583
|
throw new et({ maxFeePerGas: n, maxPriorityFeePerGas: s });
|
|
1584
1584
|
}
|
|
1585
|
-
function
|
|
1585
|
+
function tn(e) {
|
|
1586
1586
|
const { chainId: t, maxPriorityFeePerGas: s, gasPrice: n, maxFeePerGas: r, to: i } = e;
|
|
1587
1587
|
if (t <= 0)
|
|
1588
1588
|
throw new ie({ chainId: t });
|
|
@@ -1593,7 +1593,7 @@ function en(e) {
|
|
|
1593
1593
|
if (n && n > pe)
|
|
1594
1594
|
throw new re({ maxFeePerGas: n });
|
|
1595
1595
|
}
|
|
1596
|
-
function
|
|
1596
|
+
function sn(e) {
|
|
1597
1597
|
const { chainId: t, maxPriorityFeePerGas: s, gasPrice: n, maxFeePerGas: r, to: i } = e;
|
|
1598
1598
|
if (i && !A(i))
|
|
1599
1599
|
throw new T({ address: i });
|
|
@@ -1612,21 +1612,21 @@ function oe(e) {
|
|
|
1612
1612
|
const { address: n, storageKeys: r } = e[s];
|
|
1613
1613
|
for (let i = 0; i < r.length; i++)
|
|
1614
1614
|
if (r[i].length - 2 !== 64)
|
|
1615
|
-
throw new
|
|
1615
|
+
throw new xs({ storageKey: r[i] });
|
|
1616
1616
|
if (!A(n, { strict: !1 }))
|
|
1617
1617
|
throw new T({ address: n });
|
|
1618
1618
|
t.push([n, r]);
|
|
1619
1619
|
}
|
|
1620
1620
|
return t;
|
|
1621
1621
|
}
|
|
1622
|
-
function sn(e, t) {
|
|
1623
|
-
const s = Ws(e);
|
|
1624
|
-
return s === "eip1559" ? on(e, t) : s === "eip2930" ? an(e, t) : s === "eip4844" ? rn(e, t) : s === "eip7702" ? nn(e, t) : cn(e, t);
|
|
1625
|
-
}
|
|
1626
1622
|
function nn(e, t) {
|
|
1623
|
+
const s = Xs(e);
|
|
1624
|
+
return s === "eip1559" ? an(e, t) : s === "eip2930" ? cn(e, t) : s === "eip4844" ? on(e, t) : s === "eip7702" ? rn(e, t) : un(e, t);
|
|
1625
|
+
}
|
|
1626
|
+
function rn(e, t) {
|
|
1627
1627
|
const { authorizationList: s, chainId: n, gas: r, nonce: i, to: o, value: a, maxFeePerGas: c, maxPriorityFeePerGas: l, accessList: h, data: d } = e;
|
|
1628
|
-
|
|
1629
|
-
const b = oe(h), p =
|
|
1628
|
+
Qs(e);
|
|
1629
|
+
const b = oe(h), p = ln(s);
|
|
1630
1630
|
return _([
|
|
1631
1631
|
"0x04",
|
|
1632
1632
|
S([
|
|
@@ -1644,20 +1644,20 @@ function nn(e, t) {
|
|
|
1644
1644
|
])
|
|
1645
1645
|
]);
|
|
1646
1646
|
}
|
|
1647
|
-
function
|
|
1647
|
+
function on(e, t) {
|
|
1648
1648
|
const { chainId: s, gas: n, nonce: r, to: i, value: o, maxFeePerBlobGas: a, maxFeePerGas: c, maxPriorityFeePerGas: l, accessList: h, data: d } = e;
|
|
1649
|
-
|
|
1649
|
+
en(e);
|
|
1650
1650
|
let b = e.blobVersionedHashes, p = e.sidecars;
|
|
1651
1651
|
if (e.blobs && (typeof b > "u" || typeof p > "u")) {
|
|
1652
|
-
const
|
|
1653
|
-
blobs:
|
|
1652
|
+
const C = typeof e.blobs[0] == "string" ? e.blobs : e.blobs.map((D) => $(D)), Q = e.kzg, V = st({
|
|
1653
|
+
blobs: C,
|
|
1654
1654
|
kzg: Q
|
|
1655
1655
|
});
|
|
1656
|
-
if (typeof b > "u" && (b =
|
|
1656
|
+
if (typeof b > "u" && (b = Vs({
|
|
1657
1657
|
commitments: V
|
|
1658
1658
|
})), typeof p > "u") {
|
|
1659
|
-
const D = nt({ blobs:
|
|
1660
|
-
p =
|
|
1659
|
+
const D = nt({ blobs: C, commitments: V, kzg: Q });
|
|
1660
|
+
p = Ws({ blobs: C, commitments: V, proofs: D });
|
|
1661
1661
|
}
|
|
1662
1662
|
}
|
|
1663
1663
|
const B = oe(h), L = [
|
|
@@ -1675,8 +1675,8 @@ function rn(e, t) {
|
|
|
1675
1675
|
...J(e, t)
|
|
1676
1676
|
], ge = [], ye = [], we = [];
|
|
1677
1677
|
if (p)
|
|
1678
|
-
for (let
|
|
1679
|
-
const { blob: Q, commitment: V, proof: D } = p[
|
|
1678
|
+
for (let C = 0; C < p.length; C++) {
|
|
1679
|
+
const { blob: Q, commitment: V, proof: D } = p[C];
|
|
1680
1680
|
ge.push(Q), ye.push(V), we.push(D);
|
|
1681
1681
|
}
|
|
1682
1682
|
return _([
|
|
@@ -1685,7 +1685,7 @@ function rn(e, t) {
|
|
|
1685
1685
|
S(p ? [L, ge, ye, we] : L)
|
|
1686
1686
|
]);
|
|
1687
1687
|
}
|
|
1688
|
-
function
|
|
1688
|
+
function an(e, t) {
|
|
1689
1689
|
const { chainId: s, gas: n, nonce: r, to: i, value: o, maxFeePerGas: a, maxPriorityFeePerGas: c, accessList: l, data: h } = e;
|
|
1690
1690
|
xe(e);
|
|
1691
1691
|
const d = oe(l), b = [
|
|
@@ -1705,9 +1705,9 @@ function on(e, t) {
|
|
|
1705
1705
|
S(b)
|
|
1706
1706
|
]);
|
|
1707
1707
|
}
|
|
1708
|
-
function
|
|
1708
|
+
function cn(e, t) {
|
|
1709
1709
|
const { chainId: s, gas: n, data: r, nonce: i, to: o, value: a, accessList: c, gasPrice: l } = e;
|
|
1710
|
-
|
|
1710
|
+
tn(e);
|
|
1711
1711
|
const h = oe(c), d = [
|
|
1712
1712
|
f(s),
|
|
1713
1713
|
i ? f(i) : "0x",
|
|
@@ -1724,9 +1724,9 @@ function an(e, t) {
|
|
|
1724
1724
|
S(d)
|
|
1725
1725
|
]);
|
|
1726
1726
|
}
|
|
1727
|
-
function
|
|
1727
|
+
function un(e, t) {
|
|
1728
1728
|
const { chainId: s = 0, gas: n, data: r, nonce: i, to: o, value: a, gasPrice: c } = e;
|
|
1729
|
-
|
|
1729
|
+
sn(e);
|
|
1730
1730
|
let l = [
|
|
1731
1731
|
i ? f(i) : "0x",
|
|
1732
1732
|
c ? f(c) : "0x",
|
|
@@ -1743,7 +1743,7 @@ function cn(e, t) {
|
|
|
1743
1743
|
return BigInt(s * 2) + BigInt(35n + t.v - 27n);
|
|
1744
1744
|
const p = 27n + (t.v === 27n ? 0n : 1n);
|
|
1745
1745
|
if (t.v !== p)
|
|
1746
|
-
throw new
|
|
1746
|
+
throw new bs({ v: t.v });
|
|
1747
1747
|
return p;
|
|
1748
1748
|
})(), d = U(t.r), b = U(t.s);
|
|
1749
1749
|
l = [
|
|
@@ -1771,7 +1771,7 @@ function J(e, t) {
|
|
|
1771
1771
|
const i = U(s.r), o = U(s.s);
|
|
1772
1772
|
return [typeof r == "number" ? r ? f(1) : "0x" : n === 0n ? "0x" : n === 1n ? f(1) : n === 27n ? "0x" : f(1), i === "0x00" ? "0x" : i, o === "0x00" ? "0x" : o];
|
|
1773
1773
|
}
|
|
1774
|
-
function
|
|
1774
|
+
function ln(e) {
|
|
1775
1775
|
if (!e || e.length === 0)
|
|
1776
1776
|
return [];
|
|
1777
1777
|
const t = [];
|
|
@@ -1786,7 +1786,7 @@ function un(e) {
|
|
|
1786
1786
|
}
|
|
1787
1787
|
return t;
|
|
1788
1788
|
}
|
|
1789
|
-
const
|
|
1789
|
+
const dn = {
|
|
1790
1790
|
gasPriceOracle: { address: "0x420000000000000000000000000000000000000F" },
|
|
1791
1791
|
l1Block: { address: "0x4200000000000000000000000000000000000015" },
|
|
1792
1792
|
l2CrossDomainMessenger: {
|
|
@@ -1797,8 +1797,8 @@ const ln = {
|
|
|
1797
1797
|
l2ToL1MessagePasser: {
|
|
1798
1798
|
address: "0x4200000000000000000000000000000000000016"
|
|
1799
1799
|
}
|
|
1800
|
-
},
|
|
1801
|
-
block: /* @__PURE__ */
|
|
1800
|
+
}, fn = {
|
|
1801
|
+
block: /* @__PURE__ */ Fs({
|
|
1802
1802
|
format(e) {
|
|
1803
1803
|
var s;
|
|
1804
1804
|
return {
|
|
@@ -1812,13 +1812,13 @@ const ln = {
|
|
|
1812
1812
|
};
|
|
1813
1813
|
}
|
|
1814
1814
|
}),
|
|
1815
|
-
transaction: /* @__PURE__ */
|
|
1815
|
+
transaction: /* @__PURE__ */ $s({
|
|
1816
1816
|
format(e) {
|
|
1817
1817
|
const t = {};
|
|
1818
1818
|
return e.type === "0x7e" && (t.isSystemTx = e.isSystemTx, t.mint = e.mint ? O(e.mint) : void 0, t.sourceHash = e.sourceHash, t.type = "deposit"), t;
|
|
1819
1819
|
}
|
|
1820
1820
|
}),
|
|
1821
|
-
transactionReceipt: /* @__PURE__ */
|
|
1821
|
+
transactionReceipt: /* @__PURE__ */ Js({
|
|
1822
1822
|
format(e) {
|
|
1823
1823
|
return {
|
|
1824
1824
|
l1GasPrice: e.l1GasPrice ? O(e.l1GasPrice) : null,
|
|
@@ -1829,14 +1829,14 @@ const ln = {
|
|
|
1829
1829
|
}
|
|
1830
1830
|
})
|
|
1831
1831
|
};
|
|
1832
|
-
function
|
|
1833
|
-
return
|
|
1832
|
+
function hn(e, t) {
|
|
1833
|
+
return mn(e) ? bn(e) : nn(e, t);
|
|
1834
1834
|
}
|
|
1835
|
-
const
|
|
1836
|
-
transaction:
|
|
1835
|
+
const pn = {
|
|
1836
|
+
transaction: hn
|
|
1837
1837
|
};
|
|
1838
|
-
function
|
|
1839
|
-
|
|
1838
|
+
function bn(e) {
|
|
1839
|
+
xn(e);
|
|
1840
1840
|
const { sourceHash: t, data: s, from: n, gas: r, isSystemTx: i, mint: o, to: a, value: c } = e, l = [
|
|
1841
1841
|
t,
|
|
1842
1842
|
n,
|
|
@@ -1852,10 +1852,10 @@ function pn(e) {
|
|
|
1852
1852
|
S(l)
|
|
1853
1853
|
]);
|
|
1854
1854
|
}
|
|
1855
|
-
function
|
|
1855
|
+
function mn(e) {
|
|
1856
1856
|
return e.type === "deposit" || typeof e.sourceHash < "u";
|
|
1857
1857
|
}
|
|
1858
|
-
function
|
|
1858
|
+
function xn(e) {
|
|
1859
1859
|
const { from: t, to: s } = e;
|
|
1860
1860
|
if (t && !A(t))
|
|
1861
1861
|
throw new T({ address: t });
|
|
@@ -1864,10 +1864,10 @@ function mn(e) {
|
|
|
1864
1864
|
}
|
|
1865
1865
|
const E = {
|
|
1866
1866
|
blockTime: 2e3,
|
|
1867
|
-
contracts:
|
|
1868
|
-
formatters:
|
|
1869
|
-
serializers:
|
|
1870
|
-
},
|
|
1867
|
+
contracts: dn,
|
|
1868
|
+
formatters: fn,
|
|
1869
|
+
serializers: pn
|
|
1870
|
+
}, gn = 42161, ct = /* @__PURE__ */ x({
|
|
1871
1871
|
id: 33139,
|
|
1872
1872
|
name: "Ape Chain",
|
|
1873
1873
|
nativeCurrency: {
|
|
@@ -1894,7 +1894,7 @@ const E = {
|
|
|
1894
1894
|
blockCreated: 20889
|
|
1895
1895
|
}
|
|
1896
1896
|
},
|
|
1897
|
-
sourceId:
|
|
1897
|
+
sourceId: gn
|
|
1898
1898
|
}), ut = /* @__PURE__ */ x({
|
|
1899
1899
|
id: 42161,
|
|
1900
1900
|
name: "Arbitrum One",
|
|
@@ -2274,7 +2274,34 @@ const E = {
|
|
|
2274
2274
|
}
|
|
2275
2275
|
},
|
|
2276
2276
|
sourceId: q
|
|
2277
|
-
}),
|
|
2277
|
+
}), wt = /* @__PURE__ */ x({
|
|
2278
|
+
id: 239,
|
|
2279
|
+
name: "TAC",
|
|
2280
|
+
nativeCurrency: { name: "TAC", symbol: "TAC", decimals: 18 },
|
|
2281
|
+
rpcUrls: {
|
|
2282
|
+
default: {
|
|
2283
|
+
http: ["https://rpc.ankr.com/tac"]
|
|
2284
|
+
}
|
|
2285
|
+
},
|
|
2286
|
+
blockExplorers: {
|
|
2287
|
+
default: {
|
|
2288
|
+
name: "Blockscout",
|
|
2289
|
+
url: "https://tac.blockscout.com",
|
|
2290
|
+
apiUrl: "https://tac.blockscout.com/api"
|
|
2291
|
+
},
|
|
2292
|
+
native: {
|
|
2293
|
+
name: "TAC Explorer",
|
|
2294
|
+
url: "https://explorer.tac.build",
|
|
2295
|
+
apiUrl: "https://explorer.tac.build/api"
|
|
2296
|
+
}
|
|
2297
|
+
},
|
|
2298
|
+
contracts: {
|
|
2299
|
+
multicall3: {
|
|
2300
|
+
address: "0xca11bde05977b3631167028862be2a173976ca11",
|
|
2301
|
+
blockCreated: 0
|
|
2302
|
+
}
|
|
2303
|
+
}
|
|
2304
|
+
}), le = 1, Et = /* @__PURE__ */ x({
|
|
2278
2305
|
...E,
|
|
2279
2306
|
id: 48900,
|
|
2280
2307
|
name: "Zircuit Mainnet",
|
|
@@ -2321,8 +2348,8 @@ const E = {
|
|
|
2321
2348
|
},
|
|
2322
2349
|
testnet: !1
|
|
2323
2350
|
});
|
|
2324
|
-
var m = ((e) => (e[e.Mainnet = mt.id] = "Mainnet", e[e.Holesky = pt.id] = "Holesky", e[e.Base = lt.id] = "Base", e[e.Bsc = ht.id] = "Bsc", e[e.Arbitrum = ut.id] = "Arbitrum", e[e.ApeChain = ct.id] = "ApeChain", e[e.Soneium = yt.id] = "Soneium", e[e.Sepolia = gt.id] = "Sepolia", e[e.OptimismSepolia = xt.id] = "OptimismSepolia", e[e.BaseSepolia = dt.id] = "BaseSepolia", e[e.Zircuit =
|
|
2325
|
-
const
|
|
2351
|
+
var m = ((e) => (e[e.Mainnet = mt.id] = "Mainnet", e[e.Holesky = pt.id] = "Holesky", e[e.Base = lt.id] = "Base", e[e.Bsc = ht.id] = "Bsc", e[e.Arbitrum = ut.id] = "Arbitrum", e[e.ApeChain = ct.id] = "ApeChain", e[e.Soneium = yt.id] = "Soneium", e[e.Sepolia = gt.id] = "Sepolia", e[e.OptimismSepolia = xt.id] = "OptimismSepolia", e[e.BaseSepolia = dt.id] = "BaseSepolia", e[e.Zircuit = Et.id] = "Zircuit", e[e.Berachain = ft.id] = "Berachain", e[e.Hoodi = bt.id] = "Hoodi", e[e.TAC = wt.id] = "TAC", e))(m || {});
|
|
2352
|
+
const Nn = {
|
|
2326
2353
|
[m.Mainnet]: mt,
|
|
2327
2354
|
[m.Holesky]: pt,
|
|
2328
2355
|
[m.Base]: lt,
|
|
@@ -2333,95 +2360,96 @@ const On = {
|
|
|
2333
2360
|
[m.Sepolia]: gt,
|
|
2334
2361
|
[m.OptimismSepolia]: xt,
|
|
2335
2362
|
[m.BaseSepolia]: dt,
|
|
2336
|
-
[m.Zircuit]:
|
|
2363
|
+
[m.Zircuit]: Et,
|
|
2337
2364
|
[m.Berachain]: ft,
|
|
2338
|
-
[m.Hoodi]: bt
|
|
2365
|
+
[m.Hoodi]: bt,
|
|
2366
|
+
[m.TAC]: wt
|
|
2339
2367
|
};
|
|
2340
2368
|
export {
|
|
2341
2369
|
H as $,
|
|
2342
|
-
|
|
2370
|
+
cs as A,
|
|
2343
2371
|
u as B,
|
|
2344
2372
|
m as C,
|
|
2345
|
-
|
|
2373
|
+
Ut as D,
|
|
2346
2374
|
Qe as E,
|
|
2347
|
-
|
|
2348
|
-
|
|
2375
|
+
ns as F,
|
|
2376
|
+
qs as G,
|
|
2349
2377
|
Oe as H,
|
|
2350
2378
|
A as I,
|
|
2351
2379
|
T as J,
|
|
2352
|
-
|
|
2380
|
+
I as K,
|
|
2353
2381
|
Re as L,
|
|
2354
2382
|
z as M,
|
|
2355
2383
|
be as N,
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2384
|
+
zn as O,
|
|
2385
|
+
Ys as P,
|
|
2386
|
+
Us as Q,
|
|
2387
|
+
ss as R,
|
|
2388
|
+
En as S,
|
|
2389
|
+
Fn as T,
|
|
2390
|
+
Sn as U,
|
|
2391
|
+
Nn as V,
|
|
2392
|
+
An as W,
|
|
2393
|
+
kn as X,
|
|
2366
2394
|
je as Y,
|
|
2367
|
-
|
|
2368
|
-
|
|
2395
|
+
$t as Z,
|
|
2396
|
+
vt as _,
|
|
2369
2397
|
Se as a,
|
|
2370
|
-
|
|
2398
|
+
wn as a0,
|
|
2371
2399
|
Xe as a1,
|
|
2372
|
-
|
|
2400
|
+
as as a2,
|
|
2373
2401
|
Ze as a3,
|
|
2374
|
-
|
|
2375
|
-
|
|
2402
|
+
F as a4,
|
|
2403
|
+
ps as a5,
|
|
2376
2404
|
S as a6,
|
|
2377
2405
|
re as a7,
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2406
|
+
ws as a8,
|
|
2407
|
+
Es as a9,
|
|
2408
|
+
Bs as aa,
|
|
2409
|
+
Ps as ab,
|
|
2410
|
+
vs as ac,
|
|
2383
2411
|
Is as ad,
|
|
2384
|
-
|
|
2385
|
-
|
|
2412
|
+
Ts as ae,
|
|
2413
|
+
As as af,
|
|
2386
2414
|
et as ag,
|
|
2387
|
-
|
|
2388
|
-
|
|
2415
|
+
yn as ah,
|
|
2416
|
+
Cn as ai,
|
|
2389
2417
|
pe as aj,
|
|
2390
2418
|
st as ak,
|
|
2391
|
-
|
|
2419
|
+
Vs as al,
|
|
2392
2420
|
nt as am,
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2421
|
+
Ws as an,
|
|
2422
|
+
Xs as ao,
|
|
2423
|
+
us as ap,
|
|
2424
|
+
Hn as aq,
|
|
2425
|
+
On as ar,
|
|
2426
|
+
Gn as as,
|
|
2427
|
+
Ln as at,
|
|
2428
|
+
Un as au,
|
|
2401
2429
|
$ as b,
|
|
2402
|
-
|
|
2403
|
-
|
|
2430
|
+
$n as c,
|
|
2431
|
+
os as d,
|
|
2404
2432
|
_ as e,
|
|
2405
|
-
|
|
2406
|
-
|
|
2433
|
+
vn as f,
|
|
2434
|
+
Mt as g,
|
|
2407
2435
|
O as h,
|
|
2408
2436
|
Y as i,
|
|
2409
2437
|
k as j,
|
|
2410
|
-
|
|
2438
|
+
Pn as k,
|
|
2411
2439
|
In as l,
|
|
2412
|
-
|
|
2440
|
+
Bn as m,
|
|
2413
2441
|
f as n,
|
|
2414
2442
|
de as o,
|
|
2415
|
-
|
|
2443
|
+
Bt as p,
|
|
2416
2444
|
Z as q,
|
|
2417
2445
|
ne as r,
|
|
2418
2446
|
He as s,
|
|
2419
2447
|
N as t,
|
|
2420
2448
|
se as u,
|
|
2421
|
-
|
|
2422
|
-
|
|
2449
|
+
Tn as v,
|
|
2450
|
+
Os as w,
|
|
2423
2451
|
te as x,
|
|
2424
|
-
|
|
2452
|
+
Zs as y,
|
|
2425
2453
|
U as z
|
|
2426
2454
|
};
|
|
2427
|
-
//# sourceMappingURL=constants-
|
|
2455
|
+
//# sourceMappingURL=constants-C9YZ6Ewc.js.map
|