@lombard.finance/sdk 3.7.2 → 3.7.3
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/CHANGELOG.md +4 -0
- package/dist/api-functions/getUnstakesByAddress/getUnstakesByAddress.d.ts +3 -1
- package/dist/api-functions/getUnstakesByAddress/getUnstakesByAddress.d.ts.map +1 -1
- package/dist/common/blockchain-identifier.d.ts +2 -0
- package/dist/common/blockchain-identifier.d.ts.map +1 -1
- package/dist/index2.cjs +1 -1
- package/dist/index2.js +454 -451
- package/package.json +1 -1
- package/src/api-functions/getUnstakesByAddress/getUnstakesByAddress.ts +15 -3
- package/src/common/blockchain-identifier.ts +3 -0
package/dist/index2.js
CHANGED
|
@@ -74,12 +74,12 @@ function Wn(e) {
|
|
|
74
74
|
}
|
|
75
75
|
return t;
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function Im(e) {
|
|
78
78
|
var t;
|
|
79
79
|
return e.type === "function" ? `function ${e.name}(${Wn(e.inputs)})${e.stateMutability && e.stateMutability !== "nonpayable" ? ` ${e.stateMutability}` : ""}${(t = e.outputs) != null && t.length ? ` returns (${Wn(e.outputs)})` : ""}` : e.type === "event" ? `event ${e.name}(${Wn(e.inputs)})` : e.type === "error" ? `error ${e.name}(${Wn(e.inputs)})` : e.type === "constructor" ? `constructor(${Wn(e.inputs)})${e.stateMutability === "payable" ? " payable" : ""}` : e.type === "fallback" ? `fallback() external${e.stateMutability === "payable" ? " payable" : ""}` : "receive() external payable";
|
|
80
80
|
}
|
|
81
81
|
const Nc = /^error (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)$/;
|
|
82
|
-
function
|
|
82
|
+
function Um(e) {
|
|
83
83
|
return Nc.test(e);
|
|
84
84
|
}
|
|
85
85
|
function Pm(e) {
|
|
@@ -368,7 +368,7 @@ function sy(e, t = {}) {
|
|
|
368
368
|
return iy(e, t);
|
|
369
369
|
if (Rm(e))
|
|
370
370
|
return oy(e, t);
|
|
371
|
-
if (
|
|
371
|
+
if (Um(e))
|
|
372
372
|
return ly(e, t);
|
|
373
373
|
if (Nm(e))
|
|
374
374
|
return cy(e, t);
|
|
@@ -620,7 +620,7 @@ function L(e, t, n) {
|
|
|
620
620
|
}
|
|
621
621
|
function nt(e, { includeName: t = !1 } = {}) {
|
|
622
622
|
if (e.type !== "function" && e.type !== "event" && e.type !== "error")
|
|
623
|
-
throw new
|
|
623
|
+
throw new Iy(e.type);
|
|
624
624
|
return `${e.name}(${Xr(e.inputs, { includeName: t })})`;
|
|
625
625
|
}
|
|
626
626
|
function Xr(e, { includeName: t = !1 } = {}) {
|
|
@@ -984,7 +984,7 @@ let nu = class extends S {
|
|
|
984
984
|
});
|
|
985
985
|
}
|
|
986
986
|
};
|
|
987
|
-
class
|
|
987
|
+
class Iy extends S {
|
|
988
988
|
constructor(t) {
|
|
989
989
|
super([
|
|
990
990
|
`"${t}" is not a valid definition type.`,
|
|
@@ -993,7 +993,7 @@ class Uy extends S {
|
|
|
993
993
|
`), { name: "InvalidDefinitionTypeError" });
|
|
994
994
|
}
|
|
995
995
|
}
|
|
996
|
-
class
|
|
996
|
+
class Uy extends S {
|
|
997
997
|
constructor(t) {
|
|
998
998
|
super(`Type "${t}" is not supported for packed encoding.`, {
|
|
999
999
|
name: "UnsupportedPackedAbiType"
|
|
@@ -1021,7 +1021,7 @@ class fl extends S {
|
|
|
1021
1021
|
super(`${a.charAt(0).toUpperCase()}${a.slice(1).toLowerCase()} is expected to be ${n} ${a} long, but is ${t} ${a} long.`, { name: "InvalidBytesLengthError" });
|
|
1022
1022
|
}
|
|
1023
1023
|
}
|
|
1024
|
-
function
|
|
1024
|
+
function Ue(e, { dir: t, size: n = 32 } = {}) {
|
|
1025
1025
|
return typeof e == "string" ? Dt(e, { dir: t, size: n }) : Ry(e, { dir: t, size: n });
|
|
1026
1026
|
}
|
|
1027
1027
|
function Dt(e, { dir: t, size: n = 32 } = {}) {
|
|
@@ -1112,14 +1112,14 @@ function K(e, t = {}) {
|
|
|
1112
1112
|
}
|
|
1113
1113
|
function Zi(e, t = {}) {
|
|
1114
1114
|
const n = `0x${Number(e)}`;
|
|
1115
|
-
return typeof t.size == "number" ? (it(n, { size: t.size }),
|
|
1115
|
+
return typeof t.size == "number" ? (it(n, { size: t.size }), Ue(n, { size: t.size })) : n;
|
|
1116
1116
|
}
|
|
1117
1117
|
function pe(e, t = {}) {
|
|
1118
1118
|
let n = "";
|
|
1119
1119
|
for (let r = 0; r < e.length; r++)
|
|
1120
1120
|
n += Ny[e[r]];
|
|
1121
1121
|
const a = `0x${n}`;
|
|
1122
|
-
return typeof t.size == "number" ? (it(a, { size: t.size }),
|
|
1122
|
+
return typeof t.size == "number" ? (it(a, { size: t.size }), Ue(a, { dir: "right", size: t.size })) : a;
|
|
1123
1123
|
}
|
|
1124
1124
|
function D(e, t = {}) {
|
|
1125
1125
|
const { signed: n, size: a } = t, r = BigInt(e);
|
|
@@ -1137,7 +1137,7 @@ function D(e, t = {}) {
|
|
|
1137
1137
|
});
|
|
1138
1138
|
}
|
|
1139
1139
|
const o = `0x${(n && r < 0 ? (1n << BigInt(a * 8)) + BigInt(r) : r).toString(16)}`;
|
|
1140
|
-
return a ?
|
|
1140
|
+
return a ? Ue(o, { size: a }) : o;
|
|
1141
1141
|
}
|
|
1142
1142
|
const $y = /* @__PURE__ */ new TextEncoder();
|
|
1143
1143
|
function Zt(e, t = {}) {
|
|
@@ -1150,7 +1150,7 @@ function wt(e, t = {}) {
|
|
|
1150
1150
|
}
|
|
1151
1151
|
function zy(e, t = {}) {
|
|
1152
1152
|
const n = new Uint8Array(1);
|
|
1153
|
-
return n[0] = Number(e), typeof t.size == "number" ? (it(n, { size: t.size }),
|
|
1153
|
+
return n[0] = Number(e), typeof t.size == "number" ? (it(n, { size: t.size }), Ue(n, { size: t.size })) : n;
|
|
1154
1154
|
}
|
|
1155
1155
|
const ft = {
|
|
1156
1156
|
zero: 48,
|
|
@@ -1170,7 +1170,7 @@ function bl(e) {
|
|
|
1170
1170
|
}
|
|
1171
1171
|
function $e(e, t = {}) {
|
|
1172
1172
|
let n = e;
|
|
1173
|
-
t.size && (it(n, { size: t.size }), n =
|
|
1173
|
+
t.size && (it(n, { size: t.size }), n = Ue(n, { dir: "right", size: t.size }));
|
|
1174
1174
|
let a = n.slice(2);
|
|
1175
1175
|
a.length % 2 && (a = `0${a}`);
|
|
1176
1176
|
const r = a.length / 2, s = new Uint8Array(r);
|
|
@@ -1188,7 +1188,7 @@ function Hy(e, t) {
|
|
|
1188
1188
|
}
|
|
1189
1189
|
function jt(e, t = {}) {
|
|
1190
1190
|
const n = Ly.encode(e);
|
|
1191
|
-
return typeof t.size == "number" ? (it(n, { size: t.size }),
|
|
1191
|
+
return typeof t.size == "number" ? (it(n, { size: t.size }), Ue(n, { dir: "right", size: t.size })) : n;
|
|
1192
1192
|
}
|
|
1193
1193
|
const Ya = /* @__PURE__ */ BigInt(2 ** 32 - 1), hl = /* @__PURE__ */ BigInt(32);
|
|
1194
1194
|
function Vy(e, t = !1) {
|
|
@@ -1426,7 +1426,7 @@ function bf(e) {
|
|
|
1426
1426
|
return r;
|
|
1427
1427
|
}
|
|
1428
1428
|
const hf = (e) => {
|
|
1429
|
-
const t = typeof e == "string" ? e :
|
|
1429
|
+
const t = typeof e == "string" ? e : Im(e);
|
|
1430
1430
|
return bf(t);
|
|
1431
1431
|
};
|
|
1432
1432
|
function mu(e) {
|
|
@@ -1479,13 +1479,13 @@ function Yi(e, t) {
|
|
|
1479
1479
|
throw new ue({ address: e });
|
|
1480
1480
|
return Na(e, t);
|
|
1481
1481
|
}
|
|
1482
|
-
const Tf = /^0x[a-fA-F0-9]{40}$/,
|
|
1482
|
+
const Tf = /^0x[a-fA-F0-9]{40}$/, Is = /* @__PURE__ */ new Fn(8192);
|
|
1483
1483
|
function te(e, t) {
|
|
1484
1484
|
const { strict: n = !0 } = t ?? {}, a = `${e}.${n}`;
|
|
1485
|
-
if (
|
|
1486
|
-
return
|
|
1485
|
+
if (Is.has(a))
|
|
1486
|
+
return Is.get(a);
|
|
1487
1487
|
const r = Tf.test(e) ? e.toLowerCase() === e ? !0 : n ? Na(e) === e : !0 : !1;
|
|
1488
|
-
return
|
|
1488
|
+
return Is.set(a, r), r;
|
|
1489
1489
|
}
|
|
1490
1490
|
function Ze(e) {
|
|
1491
1491
|
return typeof e[0] == "string" ? Se(e) : xf(e);
|
|
@@ -1877,7 +1877,7 @@ function Re(e) {
|
|
|
1877
1877
|
})(), r = n[0], s = a, i = "inputs" in r && r.inputs ? At(r.inputs, t ?? []) : void 0;
|
|
1878
1878
|
return Se([s, i ?? "0x"]);
|
|
1879
1879
|
}
|
|
1880
|
-
const
|
|
1880
|
+
const If = {
|
|
1881
1881
|
1: "An `assert` condition failed.",
|
|
1882
1882
|
17: "Arithmetic operation resulted in underflow or overflow.",
|
|
1883
1883
|
18: "Division or modulo by zero (e.g. `5 / 0` or `23 % 0`).",
|
|
@@ -1896,7 +1896,7 @@ const Uf = {
|
|
|
1896
1896
|
],
|
|
1897
1897
|
name: "Error",
|
|
1898
1898
|
type: "error"
|
|
1899
|
-
},
|
|
1899
|
+
}, Uf = {
|
|
1900
1900
|
inputs: [
|
|
1901
1901
|
{
|
|
1902
1902
|
name: "reason",
|
|
@@ -2222,7 +2222,7 @@ function Gf(e) {
|
|
|
2222
2222
|
const { abi: t, data: n } = e, a = Jt(n, 0, 4);
|
|
2223
2223
|
if (a === "0x")
|
|
2224
2224
|
throw new Oa();
|
|
2225
|
-
const s = [...t || [], xu,
|
|
2225
|
+
const s = [...t || [], xu, Uf].find((i) => i.type === "error" && a === $a(nt(i)));
|
|
2226
2226
|
if (!s)
|
|
2227
2227
|
throw new Yc(a, {
|
|
2228
2228
|
docsPath: "/docs/contract/decodeErrorResult"
|
|
@@ -2506,7 +2506,7 @@ class mi extends S {
|
|
|
2506
2506
|
l = y[0];
|
|
2507
2507
|
else if (d === "Panic") {
|
|
2508
2508
|
const [m] = y;
|
|
2509
|
-
l =
|
|
2509
|
+
l = If[m];
|
|
2510
2510
|
} else {
|
|
2511
2511
|
const m = p ? nt(p, { includeName: !0 }) : void 0, b = p && y ? gu({
|
|
2512
2512
|
abiItem: p,
|
|
@@ -3041,46 +3041,46 @@ Object.defineProperty(Ma, "code", {
|
|
|
3041
3041
|
writable: !0,
|
|
3042
3042
|
value: 5730
|
|
3043
3043
|
});
|
|
3044
|
-
class
|
|
3044
|
+
class Ia extends Ve {
|
|
3045
3045
|
constructor(t) {
|
|
3046
3046
|
super(t, {
|
|
3047
|
-
code:
|
|
3047
|
+
code: Ia.code,
|
|
3048
3048
|
name: "BundleTooLargeError",
|
|
3049
3049
|
shortMessage: "The call bundle is too large for the Wallet to process."
|
|
3050
3050
|
});
|
|
3051
3051
|
}
|
|
3052
3052
|
}
|
|
3053
|
-
Object.defineProperty(
|
|
3053
|
+
Object.defineProperty(Ia, "code", {
|
|
3054
3054
|
enumerable: !0,
|
|
3055
3055
|
configurable: !0,
|
|
3056
3056
|
writable: !0,
|
|
3057
3057
|
value: 5740
|
|
3058
3058
|
});
|
|
3059
|
-
class
|
|
3059
|
+
class Ua extends Ve {
|
|
3060
3060
|
constructor(t) {
|
|
3061
3061
|
super(t, {
|
|
3062
|
-
code:
|
|
3062
|
+
code: Ua.code,
|
|
3063
3063
|
name: "AtomicReadyWalletRejectedUpgradeError",
|
|
3064
3064
|
shortMessage: "The Wallet can support atomicity after an upgrade, but the user rejected the upgrade."
|
|
3065
3065
|
});
|
|
3066
3066
|
}
|
|
3067
3067
|
}
|
|
3068
|
-
Object.defineProperty(
|
|
3068
|
+
Object.defineProperty(Ua, "code", {
|
|
3069
3069
|
enumerable: !0,
|
|
3070
3070
|
configurable: !0,
|
|
3071
3071
|
writable: !0,
|
|
3072
3072
|
value: 5750
|
|
3073
3073
|
});
|
|
3074
|
-
class
|
|
3074
|
+
class In extends Ve {
|
|
3075
3075
|
constructor(t) {
|
|
3076
3076
|
super(t, {
|
|
3077
|
-
code:
|
|
3077
|
+
code: In.code,
|
|
3078
3078
|
name: "AtomicityNotSupportedError",
|
|
3079
3079
|
shortMessage: "The wallet does not support atomic execution but the request requires it."
|
|
3080
3080
|
});
|
|
3081
3081
|
}
|
|
3082
3082
|
}
|
|
3083
|
-
Object.defineProperty(
|
|
3083
|
+
Object.defineProperty(In, "code", {
|
|
3084
3084
|
enumerable: !0,
|
|
3085
3085
|
configurable: !0,
|
|
3086
3086
|
writable: !0,
|
|
@@ -3142,14 +3142,14 @@ async function Mu({ hash: e, signature: t }) {
|
|
|
3142
3142
|
return ib(await ob({ hash: e, signature: t }));
|
|
3143
3143
|
}
|
|
3144
3144
|
function pt(e, t = "hex") {
|
|
3145
|
-
const n =
|
|
3145
|
+
const n = Iu(e), a = ro(new Uint8Array(n.length));
|
|
3146
3146
|
return n.encode(a), t === "hex" ? pe(a.bytes) : a.bytes;
|
|
3147
3147
|
}
|
|
3148
|
-
function
|
|
3149
|
-
return Array.isArray(e) ? lb(e.map((t) =>
|
|
3148
|
+
function Iu(e) {
|
|
3149
|
+
return Array.isArray(e) ? lb(e.map((t) => Iu(t))) : cb(e);
|
|
3150
3150
|
}
|
|
3151
3151
|
function lb(e) {
|
|
3152
|
-
const t = e.reduce((r, s) => r + s.length, 0), n =
|
|
3152
|
+
const t = e.reduce((r, s) => r + s.length, 0), n = Uu(t);
|
|
3153
3153
|
return {
|
|
3154
3154
|
length: t <= 55 ? 1 + t : 1 + n + t,
|
|
3155
3155
|
encode(r) {
|
|
@@ -3160,7 +3160,7 @@ function lb(e) {
|
|
|
3160
3160
|
};
|
|
3161
3161
|
}
|
|
3162
3162
|
function cb(e) {
|
|
3163
|
-
const t = typeof e == "string" ? $e(e) : e, n =
|
|
3163
|
+
const t = typeof e == "string" ? $e(e) : e, n = Uu(t.length);
|
|
3164
3164
|
return {
|
|
3165
3165
|
length: t.length === 1 && t[0] < 128 ? 1 : t.length <= 55 ? 1 + t.length : 1 + n + t.length,
|
|
3166
3166
|
encode(r) {
|
|
@@ -3168,7 +3168,7 @@ function cb(e) {
|
|
|
3168
3168
|
}
|
|
3169
3169
|
};
|
|
3170
3170
|
}
|
|
3171
|
-
function
|
|
3171
|
+
function Uu(e) {
|
|
3172
3172
|
if (e < 2 ** 8)
|
|
3173
3173
|
return 1;
|
|
3174
3174
|
if (e < 2 ** 16)
|
|
@@ -3384,7 +3384,7 @@ Object.defineProperty(gi, "nodeMessage", {
|
|
|
3384
3384
|
writable: !0,
|
|
3385
3385
|
value: /transaction type not valid/
|
|
3386
3386
|
});
|
|
3387
|
-
class
|
|
3387
|
+
class Un extends S {
|
|
3388
3388
|
constructor({ cause: t, maxPriorityFeePerGas: n, maxFeePerGas: a } = {}) {
|
|
3389
3389
|
super([
|
|
3390
3390
|
`The provided tip (\`maxPriorityFeePerGas\`${n ? ` = ${Pe(n)} gwei` : ""}) cannot be higher than the fee cap (\`maxFeePerGas\`${a ? ` = ${Pe(a)} gwei` : ""}).`
|
|
@@ -3395,7 +3395,7 @@ class In extends S {
|
|
|
3395
3395
|
});
|
|
3396
3396
|
}
|
|
3397
3397
|
}
|
|
3398
|
-
Object.defineProperty(
|
|
3398
|
+
Object.defineProperty(Un, "nodeMessage", {
|
|
3399
3399
|
enumerable: !0,
|
|
3400
3400
|
configurable: !0,
|
|
3401
3401
|
writable: !0,
|
|
@@ -3423,7 +3423,7 @@ function as(e, t) {
|
|
|
3423
3423
|
}) : yi.nodeMessage.test(n) ? new yi({
|
|
3424
3424
|
cause: e,
|
|
3425
3425
|
maxFeePerGas: t == null ? void 0 : t.maxFeePerGas
|
|
3426
|
-
}) : fi.nodeMessage.test(n) ? new fi({ cause: e, nonce: t == null ? void 0 : t.nonce }) : bi.nodeMessage.test(n) ? new bi({ cause: e, nonce: t == null ? void 0 : t.nonce }) : hi.nodeMessage.test(n) ? new hi({ cause: e, nonce: t == null ? void 0 : t.nonce }) : Ti.nodeMessage.test(n) ? new Ti({ cause: e }) : xi.nodeMessage.test(n) ? new xi({ cause: e, gas: t == null ? void 0 : t.gas }) : wi.nodeMessage.test(n) ? new wi({ cause: e, gas: t == null ? void 0 : t.gas }) : gi.nodeMessage.test(n) ? new gi({ cause: e }) :
|
|
3426
|
+
}) : fi.nodeMessage.test(n) ? new fi({ cause: e, nonce: t == null ? void 0 : t.nonce }) : bi.nodeMessage.test(n) ? new bi({ cause: e, nonce: t == null ? void 0 : t.nonce }) : hi.nodeMessage.test(n) ? new hi({ cause: e, nonce: t == null ? void 0 : t.nonce }) : Ti.nodeMessage.test(n) ? new Ti({ cause: e }) : xi.nodeMessage.test(n) ? new xi({ cause: e, gas: t == null ? void 0 : t.gas }) : wi.nodeMessage.test(n) ? new wi({ cause: e, gas: t == null ? void 0 : t.gas }) : gi.nodeMessage.test(n) ? new gi({ cause: e }) : Un.nodeMessage.test(n) ? new Un({
|
|
3427
3427
|
cause: e,
|
|
3428
3428
|
maxFeePerGas: t == null ? void 0 : t.maxFeePerGas,
|
|
3429
3429
|
maxPriorityFeePerGas: t == null ? void 0 : t.maxPriorityFeePerGas
|
|
@@ -3542,7 +3542,7 @@ function yt(e) {
|
|
|
3542
3542
|
if (n && n > Ga)
|
|
3543
3543
|
throw new Ot({ maxFeePerGas: n });
|
|
3544
3544
|
if (a && n && a > n)
|
|
3545
|
-
throw new
|
|
3545
|
+
throw new Un({ maxFeePerGas: n, maxPriorityFeePerGas: a });
|
|
3546
3546
|
}
|
|
3547
3547
|
class Ru extends S {
|
|
3548
3548
|
constructor() {
|
|
@@ -3955,9 +3955,9 @@ function $u(e) {
|
|
|
3955
3955
|
}));
|
|
3956
3956
|
return r;
|
|
3957
3957
|
}
|
|
3958
|
-
const
|
|
3958
|
+
const Il = 6, Lu = 32, To = 4096, zu = Lu * To, Ul = zu * Il - // terminator byte (0x80).
|
|
3959
3959
|
1 - // zero byte (0x00) appended to each field element.
|
|
3960
|
-
1 * To *
|
|
3960
|
+
1 * To * Il, Hu = 1;
|
|
3961
3961
|
class Mb extends S {
|
|
3962
3962
|
constructor({ maxSize: t, size: n }) {
|
|
3963
3963
|
super("Blob size is too large.", {
|
|
@@ -3971,7 +3971,7 @@ class Vu extends S {
|
|
|
3971
3971
|
super("Blob data must not be empty.", { name: "EmptyBlobError" });
|
|
3972
3972
|
}
|
|
3973
3973
|
}
|
|
3974
|
-
class
|
|
3974
|
+
class Ib extends S {
|
|
3975
3975
|
constructor({ hash: t, size: n }) {
|
|
3976
3976
|
super(`Versioned hash "${t}" size is invalid.`, {
|
|
3977
3977
|
metaMessages: ["Expected: 32", `Received: ${n}`],
|
|
@@ -3979,7 +3979,7 @@ class Ub extends S {
|
|
|
3979
3979
|
});
|
|
3980
3980
|
}
|
|
3981
3981
|
}
|
|
3982
|
-
class
|
|
3982
|
+
class Ub extends S {
|
|
3983
3983
|
constructor({ hash: t, version: n }) {
|
|
3984
3984
|
super(`Versioned hash "${t}" version is invalid.`, {
|
|
3985
3985
|
metaMessages: [
|
|
@@ -3994,9 +3994,9 @@ function Pb(e) {
|
|
|
3994
3994
|
const t = e.to ?? (typeof e.data == "string" ? "hex" : "bytes"), n = typeof e.data == "string" ? $e(e.data) : e.data, a = ae(n);
|
|
3995
3995
|
if (!a)
|
|
3996
3996
|
throw new Vu();
|
|
3997
|
-
if (a >
|
|
3997
|
+
if (a > Ul)
|
|
3998
3998
|
throw new Mb({
|
|
3999
|
-
maxSize:
|
|
3999
|
+
maxSize: Ul,
|
|
4000
4000
|
size: a
|
|
4001
4001
|
});
|
|
4002
4002
|
const r = [];
|
|
@@ -4056,7 +4056,7 @@ async function $t(e) {
|
|
|
4056
4056
|
return Le(t);
|
|
4057
4057
|
}
|
|
4058
4058
|
async function xo(e, t) {
|
|
4059
|
-
var E, M, F,
|
|
4059
|
+
var E, M, F, U, O;
|
|
4060
4060
|
const { account: n = e.account, accessList: a, authorizationList: r, chain: s = e.chain, blobVersionedHashes: i, blobs: o, data: l, gas: u, gasPrice: p, maxFeePerBlobGas: d, maxFeePerGas: y, maxPriorityFeePerGas: m, nonce: b, nonceManager: h, to: T, type: w, value: v, ...g } = t, x = await (async () => {
|
|
4061
4061
|
if (!n || !h || typeof b < "u")
|
|
4062
4062
|
return b;
|
|
@@ -4091,10 +4091,10 @@ async function xo(e, t) {
|
|
|
4091
4091
|
const R = await e.request({
|
|
4092
4092
|
method: "eth_fillTransaction",
|
|
4093
4093
|
params: [A]
|
|
4094
|
-
}), k = (((
|
|
4094
|
+
}), k = (((U = (F = s == null ? void 0 : s.formatters) == null ? void 0 : F.transaction) == null ? void 0 : U.format) || On)(R.tx);
|
|
4095
4095
|
delete k.blockHash, delete k.blockNumber, delete k.r, delete k.s, delete k.transactionIndex, delete k.v, delete k.yParity, k.data = k.input, k.gas && (k.gas = t.gas ?? k.gas), k.gasPrice && (k.gasPrice = t.gasPrice ?? k.gasPrice), k.maxFeePerBlobGas && (k.maxFeePerBlobGas = t.maxFeePerBlobGas ?? k.maxFeePerBlobGas), k.maxFeePerGas && (k.maxFeePerGas = t.maxFeePerGas ?? k.maxFeePerGas), k.maxPriorityFeePerGas && (k.maxPriorityFeePerGas = t.maxPriorityFeePerGas ?? k.maxPriorityFeePerGas), k.nonce && (k.nonce = t.nonce ?? k.nonce);
|
|
4096
4096
|
const _ = await (async () => {
|
|
4097
|
-
var H,
|
|
4097
|
+
var H, W;
|
|
4098
4098
|
if (typeof ((H = s == null ? void 0 : s.fees) == null ? void 0 : H.baseFeeMultiplier) == "function") {
|
|
4099
4099
|
const le = await L(e, Ye, "getBlock")({});
|
|
4100
4100
|
return s.fees.baseFeeMultiplier({
|
|
@@ -4103,7 +4103,7 @@ async function xo(e, t) {
|
|
|
4103
4103
|
request: t
|
|
4104
4104
|
});
|
|
4105
4105
|
}
|
|
4106
|
-
return ((
|
|
4106
|
+
return ((W = s == null ? void 0 : s.fees) == null ? void 0 : W.baseFeeMultiplier) ?? 1.2;
|
|
4107
4107
|
})();
|
|
4108
4108
|
if (_ < 1)
|
|
4109
4109
|
throw new Ru();
|
|
@@ -4129,7 +4129,7 @@ const wo = [
|
|
|
4129
4129
|
"gas",
|
|
4130
4130
|
"nonce",
|
|
4131
4131
|
"type"
|
|
4132
|
-
], Pl = /* @__PURE__ */ new Map(),
|
|
4132
|
+
], Pl = /* @__PURE__ */ new Map(), Us = /* @__PURE__ */ new Fn(128);
|
|
4133
4133
|
async function ja(e, t) {
|
|
4134
4134
|
const { account: n = e.account, chain: a, nonceManager: r, parameters: s = wo } = t;
|
|
4135
4135
|
let i;
|
|
@@ -4146,14 +4146,14 @@ async function ja(e, t) {
|
|
|
4146
4146
|
client: e
|
|
4147
4147
|
});
|
|
4148
4148
|
}
|
|
4149
|
-
const d = /* Do not attempt if `eth_fillTransaction` is not supported. */
|
|
4149
|
+
const d = /* Do not attempt if `eth_fillTransaction` is not supported. */ Us.get(e.uid) !== !1 && // Should attempt `eth_fillTransaction` if "fees" or "gas" are required to be populated,
|
|
4150
4150
|
// otherwise, can just use the other individual calls.
|
|
4151
4151
|
["fees", "gas"].some((g) => {
|
|
4152
4152
|
var x;
|
|
4153
4153
|
return (x = t.parameters) == null ? void 0 : x.includes(g);
|
|
4154
4154
|
}) ? await L(e, xo, "fillTransaction")({ ...t, nonce: u }).then((g) => {
|
|
4155
|
-
const { chainId: x, from: C, gas: B, gasPrice: A, nonce: E, maxFeePerBlobGas: M, maxFeePerGas: F, maxPriorityFeePerGas:
|
|
4156
|
-
return
|
|
4155
|
+
const { chainId: x, from: C, gas: B, gasPrice: A, nonce: E, maxFeePerBlobGas: M, maxFeePerGas: F, maxPriorityFeePerGas: U, type: O } = g.transaction;
|
|
4156
|
+
return Us.set(e.uid, !0), {
|
|
4157
4157
|
...t,
|
|
4158
4158
|
...x ? { chainId: x } : {},
|
|
4159
4159
|
...C ? { from: C } : {},
|
|
@@ -4162,13 +4162,13 @@ async function ja(e, t) {
|
|
|
4162
4162
|
...E ? { nonce: E } : {},
|
|
4163
4163
|
...M ? { maxFeePerBlobGas: M } : {},
|
|
4164
4164
|
...F ? { maxFeePerGas: F } : {},
|
|
4165
|
-
...
|
|
4165
|
+
...U ? { maxPriorityFeePerGas: U } : {},
|
|
4166
4166
|
...O ? { type: O } : {}
|
|
4167
4167
|
};
|
|
4168
4168
|
}).catch((g) => (g.walk((B) => {
|
|
4169
4169
|
const A = B;
|
|
4170
4170
|
return A.name === "MethodNotFoundRpcError" || A.name === "MethodNotSupportedRpcError";
|
|
4171
|
-
}) &&
|
|
4171
|
+
}) && Us.set(e.uid, !1), t)) : t, { blobs: y, gas: m, kzg: b, type: h } = d;
|
|
4172
4172
|
u ?? (u = d.nonce);
|
|
4173
4173
|
const T = {
|
|
4174
4174
|
...d,
|
|
@@ -4257,7 +4257,7 @@ async function go(e, t) {
|
|
|
4257
4257
|
const { accessList: u, authorizationList: p, blobs: d, blobVersionedHashes: y, blockNumber: m, blockTag: b, data: h, gas: T, gasPrice: w, maxFeePerBlobGas: v, maxFeePerGas: g, maxPriorityFeePerGas: x, nonce: C, value: B, stateOverride: A, ...E } = a ? await ja(e, {
|
|
4258
4258
|
...t,
|
|
4259
4259
|
parameters: s
|
|
4260
|
-
}) : t, F = (typeof m == "bigint" ? D(m) : void 0) || b,
|
|
4260
|
+
}) : t, F = (typeof m == "bigint" ? D(m) : void 0) || b, U = lo(A), O = await (async () => {
|
|
4261
4261
|
if (E.to)
|
|
4262
4262
|
return E.to;
|
|
4263
4263
|
if (p && p.length > 0)
|
|
@@ -4288,10 +4288,10 @@ async function go(e, t) {
|
|
|
4288
4288
|
}, "estimateGas");
|
|
4289
4289
|
return BigInt(await e.request({
|
|
4290
4290
|
method: "eth_estimateGas",
|
|
4291
|
-
params:
|
|
4291
|
+
params: U ? [
|
|
4292
4292
|
k,
|
|
4293
4293
|
F ?? e.experimental_blockTag ?? "latest",
|
|
4294
|
-
|
|
4294
|
+
U
|
|
4295
4295
|
] : F ? [k, F] : [k]
|
|
4296
4296
|
}));
|
|
4297
4297
|
} catch (u) {
|
|
@@ -5667,7 +5667,7 @@ const Vr = [
|
|
|
5667
5667
|
}
|
|
5668
5668
|
]
|
|
5669
5669
|
}
|
|
5670
|
-
], y0 = "0x82ad56cb", dp = "0x608060405234801561001057600080fd5b5060405161018e38038061018e83398101604081905261002f91610124565b6000808351602085016000f59050803b61004857600080fd5b6000808351602085016000855af16040513d6000823e81610067573d81fd5b3d81f35b634e487b7160e01b600052604160045260246000fd5b600082601f83011261009257600080fd5b81516001600160401b038111156100ab576100ab61006b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156100d9576100d961006b565b6040528181528382016020018510156100f157600080fd5b60005b82811015610110576020818601810151838301820152016100f4565b506000918101602001919091529392505050565b6000806040838503121561013757600080fd5b82516001600160401b0381111561014d57600080fd5b61015985828601610081565b602085015190935090506001600160401b0381111561017757600080fd5b61018385828601610081565b915050925092905056fe", f0 = "0x608060405234801561001057600080fd5b506040516102c03803806102c083398101604081905261002f916101e6565b836001600160a01b03163b6000036100e457600080836001600160a01b03168360405161005c9190610270565b6000604051808303816000865af19150503d8060008114610099576040519150601f19603f3d011682016040523d82523d6000602084013e61009e565b606091505b50915091508115806100b857506001600160a01b0386163b155b156100e1578060405163101bb98d60e01b81526004016100d8919061028c565b60405180910390fd5b50505b6000808451602086016000885af16040513d6000823e81610103573d81fd5b3d81f35b80516001600160a01b038116811461011e57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561015457818101518382015260200161013c565b50506000910152565b600082601f83011261016e57600080fd5b81516001600160401b0381111561018757610187610123565b604051601f8201601f19908116603f011681016001600160401b03811182821017156101b5576101b5610123565b6040528181528382016020018510156101cd57600080fd5b6101de826020830160208701610139565b949350505050565b600080600080608085870312156101fc57600080fd5b61020585610107565b60208601519094506001600160401b0381111561022157600080fd5b61022d8782880161015d565b93505061023c60408601610107565b60608601519092506001600160401b0381111561025857600080fd5b6102648782880161015d565b91505092959194509250565b60008251610282818460208701610139565b9190910192915050565b60208152600082518060208401526102ab816040850160208701610139565b601f01601f1916919091016040019291505056fe", b0 = "0x608060405234801561001057600080fd5b5060405161069438038061069483398101604081905261002f9161051e565b600061003c848484610048565b9050806000526001601ff35b60007f64926492649264926492649264926492649264926492649264926492649264926100748361040c565b036101e7576000606080848060200190518101906100929190610577565b60405192955090935091506000906001600160a01b038516906100b69085906105dd565b6000604051808303816000865af19150503d80600081146100f3576040519150601f19603f3d011682016040523d82523d6000602084013e6100f8565b606091505b50509050876001600160a01b03163b60000361016057806101605760405162461bcd60e51b815260206004820152601e60248201527f5369676e617475726556616c696461746f723a206465706c6f796d656e74000060448201526064015b60405180910390fd5b604051630b135d3f60e11b808252906001600160a01b038a1690631626ba7e90610190908b9087906004016105f9565b602060405180830381865afa1580156101ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d19190610633565b6001600160e01b03191614945050505050610405565b6001600160a01b0384163b1561027a57604051630b135d3f60e11b808252906001600160a01b03861690631626ba7e9061022790879087906004016105f9565b602060405180830381865afa158015610244573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102689190610633565b6001600160e01b031916149050610405565b81516041146102df5760405162461bcd60e51b815260206004820152603a602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e6174757265206c656e6774680000000000006064820152608401610157565b6102e7610425565b5060208201516040808401518451859392600091859190811061030c5761030c61065d565b016020015160f81c9050601b811480159061032b57508060ff16601c14155b1561038c5760405162461bcd60e51b815260206004820152603b602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e617475726520762076616c756500000000006064820152608401610157565b60408051600081526020810180835289905260ff83169181019190915260608101849052608081018390526001600160a01b0389169060019060a0016020604051602081039080840390855afa1580156103ea573d6000803e3d6000fd5b505050602060405103516001600160a01b0316149450505050505b9392505050565b600060208251101561041d57600080fd5b508051015190565b60405180606001604052806003906020820280368337509192915050565b6001600160a01b038116811461045857600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561048c578181015183820152602001610474565b50506000910152565b600082601f8301126104a657600080fd5b81516001600160401b038111156104bf576104bf61045b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156104ed576104ed61045b565b60405281815283820160200185101561050557600080fd5b610516826020830160208701610471565b949350505050565b60008060006060848603121561053357600080fd5b835161053e81610443565b6020850151604086015191945092506001600160401b0381111561056157600080fd5b61056d86828701610495565b9150509250925092565b60008060006060848603121561058c57600080fd5b835161059781610443565b60208501519093506001600160401b038111156105b357600080fd5b6105bf86828701610495565b604086015190935090506001600160401b0381111561056157600080fd5b600082516105ef818460208701610471565b9190910192915050565b828152604060208201526000825180604084015261061e816060850160208701610471565b601f01601f1916919091016060019392505050565b60006020828403121561064557600080fd5b81516001600160e01b03198116811461040557600080fd5b634e487b7160e01b600052603260045260246000fdfe5369676e617475726556616c696461746f72237265636f7665725369676e6572", Uo = "0x608060405234801561001057600080fd5b506115b9806100206000396000f3fe6080604052600436106100f35760003560e01c80634d2301cc1161008a578063a8b0574e11610059578063a8b0574e14610325578063bce38bd714610350578063c3077fa914610380578063ee82ac5e146103b2576100f3565b80634d2301cc1461026257806372425d9d1461029f57806382ad56cb146102ca57806386d516e8146102fa576100f3565b80633408e470116100c65780633408e470146101af578063399542e9146101da5780633e64a6961461020c57806342cbb15c14610237576100f3565b80630f28c97d146100f8578063174dea7114610123578063252dba421461015357806327e86d6e14610184575b600080fd5b34801561010457600080fd5b5061010d6103ef565b60405161011a9190610c0a565b60405180910390f35b61013d60048036038101906101389190610c94565b6103f7565b60405161014a9190610e94565b60405180910390f35b61016d60048036038101906101689190610f0c565b610615565b60405161017b92919061101b565b60405180910390f35b34801561019057600080fd5b506101996107ab565b6040516101a69190611064565b60405180910390f35b3480156101bb57600080fd5b506101c46107b7565b6040516101d19190610c0a565b60405180910390f35b6101f460048036038101906101ef91906110ab565b6107bf565b6040516102039392919061110b565b60405180910390f35b34801561021857600080fd5b506102216107e1565b60405161022e9190610c0a565b60405180910390f35b34801561024357600080fd5b5061024c6107e9565b6040516102599190610c0a565b60405180910390f35b34801561026e57600080fd5b50610289600480360381019061028491906111a7565b6107f1565b6040516102969190610c0a565b60405180910390f35b3480156102ab57600080fd5b506102b4610812565b6040516102c19190610c0a565b60405180910390f35b6102e460048036038101906102df919061122a565b61081a565b6040516102f19190610e94565b60405180910390f35b34801561030657600080fd5b5061030f6109e4565b60405161031c9190610c0a565b60405180910390f35b34801561033157600080fd5b5061033a6109ec565b6040516103479190611286565b60405180910390f35b61036a600480360381019061036591906110ab565b6109f4565b6040516103779190610e94565b60405180910390f35b61039a60048036038101906103959190610f0c565b610ba6565b6040516103a99392919061110b565b60405180910390f35b3480156103be57600080fd5b506103d960048036038101906103d491906112cd565b610bca565b6040516103e69190611064565b60405180910390f35b600042905090565b60606000808484905090508067ffffffffffffffff81111561041c5761041b6112fa565b5b60405190808252806020026020018201604052801561045557816020015b610442610bd5565b81526020019060019003908161043a5790505b5092503660005b828110156105c957600085828151811061047957610478611329565b5b6020026020010151905087878381811061049657610495611329565b5b90506020028101906104a89190611367565b925060008360400135905080860195508360000160208101906104cb91906111a7565b73ffffffffffffffffffffffffffffffffffffffff16818580606001906104f2919061138f565b604051610500929190611431565b60006040518083038185875af1925050503d806000811461053d576040519150601f19603f3d011682016040523d82523d6000602084013e610542565b606091505b5083600001846020018290528215151515815250505081516020850135176105bc577f08c379a000000000000000000000000000000000000000000000000000000000600052602060045260176024527f4d756c746963616c6c333a2063616c6c206661696c656400000000000000000060445260846000fd5b826001019250505061045c565b5082341461060c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610603906114a7565b60405180910390fd5b50505092915050565b6000606043915060008484905090508067ffffffffffffffff81111561063e5761063d6112fa565b5b60405190808252806020026020018201604052801561067157816020015b606081526020019060019003908161065c5790505b5091503660005b828110156107a157600087878381811061069557610694611329565b5b90506020028101906106a791906114c7565b92508260000160208101906106bc91906111a7565b73ffffffffffffffffffffffffffffffffffffffff168380602001906106e2919061138f565b6040516106f0929190611431565b6000604051808303816000865af19150503d806000811461072d576040519150601f19603f3d011682016040523d82523d6000602084013e610732565b606091505b5086848151811061074657610745611329565b5b60200260200101819052819250505080610795576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078c9061153b565b60405180910390fd5b81600101915050610678565b5050509250929050565b60006001430340905090565b600046905090565b6000806060439250434091506107d68686866109f4565b905093509350939050565b600048905090565b600043905090565b60008173ffffffffffffffffffffffffffffffffffffffff16319050919050565b600044905090565b606060008383905090508067ffffffffffffffff81111561083e5761083d6112fa565b5b60405190808252806020026020018201604052801561087757816020015b610864610bd5565b81526020019060019003908161085c5790505b5091503660005b828110156109db57600084828151811061089b5761089a611329565b5b602002602001015190508686838181106108b8576108b7611329565b5b90506020028101906108ca919061155b565b92508260000160208101906108df91906111a7565b73ffffffffffffffffffffffffffffffffffffffff16838060400190610905919061138f565b604051610913929190611431565b6000604051808303816000865af19150503d8060008114610950576040519150601f19603f3d011682016040523d82523d6000602084013e610955565b606091505b5082600001836020018290528215151515815250505080516020840135176109cf577f08c379a000000000000000000000000000000000000000000000000000000000600052602060045260176024527f4d756c746963616c6c333a2063616c6c206661696c656400000000000000000060445260646000fd5b8160010191505061087e565b50505092915050565b600045905090565b600041905090565b606060008383905090508067ffffffffffffffff811115610a1857610a176112fa565b5b604051908082528060200260200182016040528015610a5157816020015b610a3e610bd5565b815260200190600190039081610a365790505b5091503660005b82811015610b9c576000848281518110610a7557610a74611329565b5b60200260200101519050868683818110610a9257610a91611329565b5b9050602002810190610aa491906114c7565b9250826000016020810190610ab991906111a7565b73ffffffffffffffffffffffffffffffffffffffff16838060200190610adf919061138f565b604051610aed929190611431565b6000604051808303816000865af19150503d8060008114610b2a576040519150601f19603f3d011682016040523d82523d6000602084013e610b2f565b606091505b508260000183602001829052821515151581525050508715610b90578060000151610b8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b869061153b565b60405180910390fd5b5b81600101915050610a58565b5050509392505050565b6000806060610bb7600186866107bf565b8093508194508295505050509250925092565b600081409050919050565b6040518060400160405280600015158152602001606081525090565b6000819050919050565b610c0481610bf1565b82525050565b6000602082019050610c1f6000830184610bfb565b92915050565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b60008083601f840112610c5457610c53610c2f565b5b8235905067ffffffffffffffff811115610c7157610c70610c34565b5b602083019150836020820283011115610c8d57610c8c610c39565b5b9250929050565b60008060208385031215610cab57610caa610c25565b5b600083013567ffffffffffffffff811115610cc957610cc8610c2a565b5b610cd585828601610c3e565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b60008115159050919050565b610d2281610d0d565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610d62578082015181840152602081019050610d47565b83811115610d71576000848401525b50505050565b6000601f19601f8301169050919050565b6000610d9382610d28565b610d9d8185610d33565b9350610dad818560208601610d44565b610db681610d77565b840191505092915050565b6000604083016000830151610dd96000860182610d19565b5060208301518482036020860152610df18282610d88565b9150508091505092915050565b6000610e0a8383610dc1565b905092915050565b6000602082019050919050565b6000610e2a82610ce1565b610e348185610cec565b935083602082028501610e4685610cfd565b8060005b85811015610e825784840389528151610e638582610dfe565b9450610e6e83610e12565b925060208a01995050600181019050610e4a565b50829750879550505050505092915050565b60006020820190508181036000830152610eae8184610e1f565b905092915050565b60008083601f840112610ecc57610ecb610c2f565b5b8235905067ffffffffffffffff811115610ee957610ee8610c34565b5b602083019150836020820283011115610f0557610f04610c39565b5b9250929050565b60008060208385031215610f2357610f22610c25565b5b600083013567ffffffffffffffff811115610f4157610f40610c2a565b5b610f4d85828601610eb6565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000610f918383610d88565b905092915050565b6000602082019050919050565b6000610fb182610f59565b610fbb8185610f64565b935083602082028501610fcd85610f75565b8060005b858110156110095784840389528151610fea8582610f85565b9450610ff583610f99565b925060208a01995050600181019050610fd1565b50829750879550505050505092915050565b60006040820190506110306000830185610bfb565b81810360208301526110428184610fa6565b90509392505050565b6000819050919050565b61105e8161104b565b82525050565b60006020820190506110796000830184611055565b92915050565b61108881610d0d565b811461109357600080fd5b50565b6000813590506110a58161107f565b92915050565b6000806000604084860312156110c4576110c3610c25565b5b60006110d286828701611096565b935050602084013567ffffffffffffffff8111156110f3576110f2610c2a565b5b6110ff86828701610eb6565b92509250509250925092565b60006060820190506111206000830186610bfb565b61112d6020830185611055565b818103604083015261113f8184610e1f565b9050949350505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061117482611149565b9050919050565b61118481611169565b811461118f57600080fd5b50565b6000813590506111a18161117b565b92915050565b6000602082840312156111bd576111bc610c25565b5b60006111cb84828501611192565b91505092915050565b60008083601f8401126111ea576111e9610c2f565b5b8235905067ffffffffffffffff81111561120757611206610c34565b5b60208301915083602082028301111561122357611222610c39565b5b9250929050565b6000806020838503121561124157611240610c25565b5b600083013567ffffffffffffffff81111561125f5761125e610c2a565b5b61126b858286016111d4565b92509250509250929050565b61128081611169565b82525050565b600060208201905061129b6000830184611277565b92915050565b6112aa81610bf1565b81146112b557600080fd5b50565b6000813590506112c7816112a1565b92915050565b6000602082840312156112e3576112e2610c25565b5b60006112f1848285016112b8565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b600080fd5b600080fd5b60008235600160800383360303811261138357611382611358565b5b80830191505092915050565b600080833560016020038436030381126113ac576113ab611358565b5b80840192508235915067ffffffffffffffff8211156113ce576113cd61135d565b5b6020830192506001820236038313156113ea576113e9611362565b5b509250929050565b600081905092915050565b82818337600083830152505050565b600061141883856113f2565b93506114258385846113fd565b82840190509392505050565b600061143e82848661140c565b91508190509392505050565b600082825260208201905092915050565b7f4d756c746963616c6c333a2076616c7565206d69736d61746368000000000000600082015250565b6000611491601a8361144a565b915061149c8261145b565b602082019050919050565b600060208201905081810360008301526114c081611484565b9050919050565b6000823560016040038336030381126114e3576114e2611358565b5b80830191505092915050565b7f4d756c746963616c6c333a2063616c6c206661696c6564000000000000000000600082015250565b600061152560178361144a565b9150611530826114ef565b602082019050919050565b6000602082019050818103600083015261155481611518565b9050919050565b60008235600160600383360303811261157757611576611358565b5b8083019150509291505056fea264697066735822122020c1bc9aacf8e4a6507193432a895a8e77094f45a1395583f07b24e860ef06cd64736f6c634300080c0033";
|
|
5670
|
+
], y0 = "0x82ad56cb", dp = "0x608060405234801561001057600080fd5b5060405161018e38038061018e83398101604081905261002f91610124565b6000808351602085016000f59050803b61004857600080fd5b6000808351602085016000855af16040513d6000823e81610067573d81fd5b3d81f35b634e487b7160e01b600052604160045260246000fd5b600082601f83011261009257600080fd5b81516001600160401b038111156100ab576100ab61006b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156100d9576100d961006b565b6040528181528382016020018510156100f157600080fd5b60005b82811015610110576020818601810151838301820152016100f4565b506000918101602001919091529392505050565b6000806040838503121561013757600080fd5b82516001600160401b0381111561014d57600080fd5b61015985828601610081565b602085015190935090506001600160401b0381111561017757600080fd5b61018385828601610081565b915050925092905056fe", f0 = "0x608060405234801561001057600080fd5b506040516102c03803806102c083398101604081905261002f916101e6565b836001600160a01b03163b6000036100e457600080836001600160a01b03168360405161005c9190610270565b6000604051808303816000865af19150503d8060008114610099576040519150601f19603f3d011682016040523d82523d6000602084013e61009e565b606091505b50915091508115806100b857506001600160a01b0386163b155b156100e1578060405163101bb98d60e01b81526004016100d8919061028c565b60405180910390fd5b50505b6000808451602086016000885af16040513d6000823e81610103573d81fd5b3d81f35b80516001600160a01b038116811461011e57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561015457818101518382015260200161013c565b50506000910152565b600082601f83011261016e57600080fd5b81516001600160401b0381111561018757610187610123565b604051601f8201601f19908116603f011681016001600160401b03811182821017156101b5576101b5610123565b6040528181528382016020018510156101cd57600080fd5b6101de826020830160208701610139565b949350505050565b600080600080608085870312156101fc57600080fd5b61020585610107565b60208601519094506001600160401b0381111561022157600080fd5b61022d8782880161015d565b93505061023c60408601610107565b60608601519092506001600160401b0381111561025857600080fd5b6102648782880161015d565b91505092959194509250565b60008251610282818460208701610139565b9190910192915050565b60208152600082518060208401526102ab816040850160208701610139565b601f01601f1916919091016040019291505056fe", b0 = "0x608060405234801561001057600080fd5b5060405161069438038061069483398101604081905261002f9161051e565b600061003c848484610048565b9050806000526001601ff35b60007f64926492649264926492649264926492649264926492649264926492649264926100748361040c565b036101e7576000606080848060200190518101906100929190610577565b60405192955090935091506000906001600160a01b038516906100b69085906105dd565b6000604051808303816000865af19150503d80600081146100f3576040519150601f19603f3d011682016040523d82523d6000602084013e6100f8565b606091505b50509050876001600160a01b03163b60000361016057806101605760405162461bcd60e51b815260206004820152601e60248201527f5369676e617475726556616c696461746f723a206465706c6f796d656e74000060448201526064015b60405180910390fd5b604051630b135d3f60e11b808252906001600160a01b038a1690631626ba7e90610190908b9087906004016105f9565b602060405180830381865afa1580156101ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d19190610633565b6001600160e01b03191614945050505050610405565b6001600160a01b0384163b1561027a57604051630b135d3f60e11b808252906001600160a01b03861690631626ba7e9061022790879087906004016105f9565b602060405180830381865afa158015610244573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102689190610633565b6001600160e01b031916149050610405565b81516041146102df5760405162461bcd60e51b815260206004820152603a602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e6174757265206c656e6774680000000000006064820152608401610157565b6102e7610425565b5060208201516040808401518451859392600091859190811061030c5761030c61065d565b016020015160f81c9050601b811480159061032b57508060ff16601c14155b1561038c5760405162461bcd60e51b815260206004820152603b602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e617475726520762076616c756500000000006064820152608401610157565b60408051600081526020810180835289905260ff83169181019190915260608101849052608081018390526001600160a01b0389169060019060a0016020604051602081039080840390855afa1580156103ea573d6000803e3d6000fd5b505050602060405103516001600160a01b0316149450505050505b9392505050565b600060208251101561041d57600080fd5b508051015190565b60405180606001604052806003906020820280368337509192915050565b6001600160a01b038116811461045857600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561048c578181015183820152602001610474565b50506000910152565b600082601f8301126104a657600080fd5b81516001600160401b038111156104bf576104bf61045b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156104ed576104ed61045b565b60405281815283820160200185101561050557600080fd5b610516826020830160208701610471565b949350505050565b60008060006060848603121561053357600080fd5b835161053e81610443565b6020850151604086015191945092506001600160401b0381111561056157600080fd5b61056d86828701610495565b9150509250925092565b60008060006060848603121561058c57600080fd5b835161059781610443565b60208501519093506001600160401b038111156105b357600080fd5b6105bf86828701610495565b604086015190935090506001600160401b0381111561056157600080fd5b600082516105ef818460208701610471565b9190910192915050565b828152604060208201526000825180604084015261061e816060850160208701610471565b601f01601f1916919091016060019392505050565b60006020828403121561064557600080fd5b81516001600160e01b03198116811461040557600080fd5b634e487b7160e01b600052603260045260246000fdfe5369676e617475726556616c696461746f72237265636f7665725369676e6572", Io = "0x608060405234801561001057600080fd5b506115b9806100206000396000f3fe6080604052600436106100f35760003560e01c80634d2301cc1161008a578063a8b0574e11610059578063a8b0574e14610325578063bce38bd714610350578063c3077fa914610380578063ee82ac5e146103b2576100f3565b80634d2301cc1461026257806372425d9d1461029f57806382ad56cb146102ca57806386d516e8146102fa576100f3565b80633408e470116100c65780633408e470146101af578063399542e9146101da5780633e64a6961461020c57806342cbb15c14610237576100f3565b80630f28c97d146100f8578063174dea7114610123578063252dba421461015357806327e86d6e14610184575b600080fd5b34801561010457600080fd5b5061010d6103ef565b60405161011a9190610c0a565b60405180910390f35b61013d60048036038101906101389190610c94565b6103f7565b60405161014a9190610e94565b60405180910390f35b61016d60048036038101906101689190610f0c565b610615565b60405161017b92919061101b565b60405180910390f35b34801561019057600080fd5b506101996107ab565b6040516101a69190611064565b60405180910390f35b3480156101bb57600080fd5b506101c46107b7565b6040516101d19190610c0a565b60405180910390f35b6101f460048036038101906101ef91906110ab565b6107bf565b6040516102039392919061110b565b60405180910390f35b34801561021857600080fd5b506102216107e1565b60405161022e9190610c0a565b60405180910390f35b34801561024357600080fd5b5061024c6107e9565b6040516102599190610c0a565b60405180910390f35b34801561026e57600080fd5b50610289600480360381019061028491906111a7565b6107f1565b6040516102969190610c0a565b60405180910390f35b3480156102ab57600080fd5b506102b4610812565b6040516102c19190610c0a565b60405180910390f35b6102e460048036038101906102df919061122a565b61081a565b6040516102f19190610e94565b60405180910390f35b34801561030657600080fd5b5061030f6109e4565b60405161031c9190610c0a565b60405180910390f35b34801561033157600080fd5b5061033a6109ec565b6040516103479190611286565b60405180910390f35b61036a600480360381019061036591906110ab565b6109f4565b6040516103779190610e94565b60405180910390f35b61039a60048036038101906103959190610f0c565b610ba6565b6040516103a99392919061110b565b60405180910390f35b3480156103be57600080fd5b506103d960048036038101906103d491906112cd565b610bca565b6040516103e69190611064565b60405180910390f35b600042905090565b60606000808484905090508067ffffffffffffffff81111561041c5761041b6112fa565b5b60405190808252806020026020018201604052801561045557816020015b610442610bd5565b81526020019060019003908161043a5790505b5092503660005b828110156105c957600085828151811061047957610478611329565b5b6020026020010151905087878381811061049657610495611329565b5b90506020028101906104a89190611367565b925060008360400135905080860195508360000160208101906104cb91906111a7565b73ffffffffffffffffffffffffffffffffffffffff16818580606001906104f2919061138f565b604051610500929190611431565b60006040518083038185875af1925050503d806000811461053d576040519150601f19603f3d011682016040523d82523d6000602084013e610542565b606091505b5083600001846020018290528215151515815250505081516020850135176105bc577f08c379a000000000000000000000000000000000000000000000000000000000600052602060045260176024527f4d756c746963616c6c333a2063616c6c206661696c656400000000000000000060445260846000fd5b826001019250505061045c565b5082341461060c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610603906114a7565b60405180910390fd5b50505092915050565b6000606043915060008484905090508067ffffffffffffffff81111561063e5761063d6112fa565b5b60405190808252806020026020018201604052801561067157816020015b606081526020019060019003908161065c5790505b5091503660005b828110156107a157600087878381811061069557610694611329565b5b90506020028101906106a791906114c7565b92508260000160208101906106bc91906111a7565b73ffffffffffffffffffffffffffffffffffffffff168380602001906106e2919061138f565b6040516106f0929190611431565b6000604051808303816000865af19150503d806000811461072d576040519150601f19603f3d011682016040523d82523d6000602084013e610732565b606091505b5086848151811061074657610745611329565b5b60200260200101819052819250505080610795576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078c9061153b565b60405180910390fd5b81600101915050610678565b5050509250929050565b60006001430340905090565b600046905090565b6000806060439250434091506107d68686866109f4565b905093509350939050565b600048905090565b600043905090565b60008173ffffffffffffffffffffffffffffffffffffffff16319050919050565b600044905090565b606060008383905090508067ffffffffffffffff81111561083e5761083d6112fa565b5b60405190808252806020026020018201604052801561087757816020015b610864610bd5565b81526020019060019003908161085c5790505b5091503660005b828110156109db57600084828151811061089b5761089a611329565b5b602002602001015190508686838181106108b8576108b7611329565b5b90506020028101906108ca919061155b565b92508260000160208101906108df91906111a7565b73ffffffffffffffffffffffffffffffffffffffff16838060400190610905919061138f565b604051610913929190611431565b6000604051808303816000865af19150503d8060008114610950576040519150601f19603f3d011682016040523d82523d6000602084013e610955565b606091505b5082600001836020018290528215151515815250505080516020840135176109cf577f08c379a000000000000000000000000000000000000000000000000000000000600052602060045260176024527f4d756c746963616c6c333a2063616c6c206661696c656400000000000000000060445260646000fd5b8160010191505061087e565b50505092915050565b600045905090565b600041905090565b606060008383905090508067ffffffffffffffff811115610a1857610a176112fa565b5b604051908082528060200260200182016040528015610a5157816020015b610a3e610bd5565b815260200190600190039081610a365790505b5091503660005b82811015610b9c576000848281518110610a7557610a74611329565b5b60200260200101519050868683818110610a9257610a91611329565b5b9050602002810190610aa491906114c7565b9250826000016020810190610ab991906111a7565b73ffffffffffffffffffffffffffffffffffffffff16838060200190610adf919061138f565b604051610aed929190611431565b6000604051808303816000865af19150503d8060008114610b2a576040519150601f19603f3d011682016040523d82523d6000602084013e610b2f565b606091505b508260000183602001829052821515151581525050508715610b90578060000151610b8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b869061153b565b60405180910390fd5b5b81600101915050610a58565b5050509392505050565b6000806060610bb7600186866107bf565b8093508194508295505050509250925092565b600081409050919050565b6040518060400160405280600015158152602001606081525090565b6000819050919050565b610c0481610bf1565b82525050565b6000602082019050610c1f6000830184610bfb565b92915050565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b60008083601f840112610c5457610c53610c2f565b5b8235905067ffffffffffffffff811115610c7157610c70610c34565b5b602083019150836020820283011115610c8d57610c8c610c39565b5b9250929050565b60008060208385031215610cab57610caa610c25565b5b600083013567ffffffffffffffff811115610cc957610cc8610c2a565b5b610cd585828601610c3e565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b60008115159050919050565b610d2281610d0d565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610d62578082015181840152602081019050610d47565b83811115610d71576000848401525b50505050565b6000601f19601f8301169050919050565b6000610d9382610d28565b610d9d8185610d33565b9350610dad818560208601610d44565b610db681610d77565b840191505092915050565b6000604083016000830151610dd96000860182610d19565b5060208301518482036020860152610df18282610d88565b9150508091505092915050565b6000610e0a8383610dc1565b905092915050565b6000602082019050919050565b6000610e2a82610ce1565b610e348185610cec565b935083602082028501610e4685610cfd565b8060005b85811015610e825784840389528151610e638582610dfe565b9450610e6e83610e12565b925060208a01995050600181019050610e4a565b50829750879550505050505092915050565b60006020820190508181036000830152610eae8184610e1f565b905092915050565b60008083601f840112610ecc57610ecb610c2f565b5b8235905067ffffffffffffffff811115610ee957610ee8610c34565b5b602083019150836020820283011115610f0557610f04610c39565b5b9250929050565b60008060208385031215610f2357610f22610c25565b5b600083013567ffffffffffffffff811115610f4157610f40610c2a565b5b610f4d85828601610eb6565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000610f918383610d88565b905092915050565b6000602082019050919050565b6000610fb182610f59565b610fbb8185610f64565b935083602082028501610fcd85610f75565b8060005b858110156110095784840389528151610fea8582610f85565b9450610ff583610f99565b925060208a01995050600181019050610fd1565b50829750879550505050505092915050565b60006040820190506110306000830185610bfb565b81810360208301526110428184610fa6565b90509392505050565b6000819050919050565b61105e8161104b565b82525050565b60006020820190506110796000830184611055565b92915050565b61108881610d0d565b811461109357600080fd5b50565b6000813590506110a58161107f565b92915050565b6000806000604084860312156110c4576110c3610c25565b5b60006110d286828701611096565b935050602084013567ffffffffffffffff8111156110f3576110f2610c2a565b5b6110ff86828701610eb6565b92509250509250925092565b60006060820190506111206000830186610bfb565b61112d6020830185611055565b818103604083015261113f8184610e1f565b9050949350505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061117482611149565b9050919050565b61118481611169565b811461118f57600080fd5b50565b6000813590506111a18161117b565b92915050565b6000602082840312156111bd576111bc610c25565b5b60006111cb84828501611192565b91505092915050565b60008083601f8401126111ea576111e9610c2f565b5b8235905067ffffffffffffffff81111561120757611206610c34565b5b60208301915083602082028301111561122357611222610c39565b5b9250929050565b6000806020838503121561124157611240610c25565b5b600083013567ffffffffffffffff81111561125f5761125e610c2a565b5b61126b858286016111d4565b92509250509250929050565b61128081611169565b82525050565b600060208201905061129b6000830184611277565b92915050565b6112aa81610bf1565b81146112b557600080fd5b50565b6000813590506112c7816112a1565b92915050565b6000602082840312156112e3576112e2610c25565b5b60006112f1848285016112b8565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b600080fd5b600080fd5b60008235600160800383360303811261138357611382611358565b5b80830191505092915050565b600080833560016020038436030381126113ac576113ab611358565b5b80840192508235915067ffffffffffffffff8211156113ce576113cd61135d565b5b6020830192506001820236038313156113ea576113e9611362565b5b509250929050565b600081905092915050565b82818337600083830152505050565b600061141883856113f2565b93506114258385846113fd565b82840190509392505050565b600061143e82848661140c565b91508190509392505050565b600082825260208201905092915050565b7f4d756c746963616c6c333a2076616c7565206d69736d61746368000000000000600082015250565b6000611491601a8361144a565b915061149c8261145b565b602082019050919050565b600060208201905081810360008301526114c081611484565b9050919050565b6000823560016040038336030381126114e3576114e2611358565b5b80830191505092915050565b7f4d756c746963616c6c333a2063616c6c206661696c6564000000000000000000600082015250565b600061152560178361144a565b9150611530826114ef565b602082019050919050565b6000602082019050818103600083015261155481611518565b9050919050565b60008235600160600383360303811261157757611576611358565b5b8083019150509291505056fea264697066735822122020c1bc9aacf8e4a6507193432a895a8e77094f45a1395583f07b24e860ef06cd64736f6c634300080c0033";
|
|
5671
5671
|
class Si extends S {
|
|
5672
5672
|
constructor({ blockNumber: t, chain: n, contract: a }) {
|
|
5673
5673
|
super(`Chain "${n.name}" does not support contract "${a.name}".`, {
|
|
@@ -5751,7 +5751,7 @@ function $n({ blockNumber: e, chain: t, contract: n }) {
|
|
|
5751
5751
|
});
|
|
5752
5752
|
return a.address;
|
|
5753
5753
|
}
|
|
5754
|
-
function
|
|
5754
|
+
function Uo(e, { docsPath: t, ...n }) {
|
|
5755
5755
|
const a = (() => {
|
|
5756
5756
|
const r = as(e, n);
|
|
5757
5757
|
return r instanceof Va ? e : r;
|
|
@@ -5803,7 +5803,7 @@ async function us(e, t) {
|
|
|
5803
5803
|
throw new S("Cannot provide both `code` & `factory`/`factoryData` as parameters.");
|
|
5804
5804
|
if (p && x)
|
|
5805
5805
|
throw new S("Cannot provide both `code` & `to` as parameters.");
|
|
5806
|
-
const M = p && d, F = y && m && x && d,
|
|
5806
|
+
const M = p && d, F = y && m && x && d, U = M || F, O = M ? fp({
|
|
5807
5807
|
code: p,
|
|
5808
5808
|
data: d
|
|
5809
5809
|
}) : F ? g0({
|
|
@@ -5814,9 +5814,9 @@ async function us(e, t) {
|
|
|
5814
5814
|
}) : d;
|
|
5815
5815
|
try {
|
|
5816
5816
|
yt(t);
|
|
5817
|
-
const P = (typeof s == "bigint" ? D(s) : void 0) || i, $ = u ? lp(u) : void 0, H = lo(B),
|
|
5817
|
+
const P = (typeof s == "bigint" ? D(s) : void 0) || i, $ = u ? lp(u) : void 0, H = lo(B), W = (_ = (k = (G = e.chain) == null ? void 0 : G.formatters) == null ? void 0 : k.transactionRequest) == null ? void 0 : _.format, Ee = (W || mt)({
|
|
5818
5818
|
// Pick out extra data that might exist on the chain's transaction request type.
|
|
5819
|
-
...rn(A, { format:
|
|
5819
|
+
...rn(A, { format: W }),
|
|
5820
5820
|
accessList: o,
|
|
5821
5821
|
account: E,
|
|
5822
5822
|
authorizationList: a,
|
|
@@ -5828,7 +5828,7 @@ async function us(e, t) {
|
|
|
5828
5828
|
maxFeePerGas: w,
|
|
5829
5829
|
maxPriorityFeePerGas: v,
|
|
5830
5830
|
nonce: g,
|
|
5831
|
-
to:
|
|
5831
|
+
to: U ? void 0 : x,
|
|
5832
5832
|
value: C
|
|
5833
5833
|
}, "call");
|
|
5834
5834
|
if (r && x0({ request: Ee }) && !H && !$)
|
|
@@ -5857,7 +5857,7 @@ async function us(e, t) {
|
|
|
5857
5857
|
const P = E0(z), { offchainLookup: $, offchainLookupSignature: H } = await import("./ccip.js");
|
|
5858
5858
|
if (e.ccipRead !== !1 && (P == null ? void 0 : P.slice(0, 10)) === H && x)
|
|
5859
5859
|
return { data: await $(e, { data: P, to: x }) };
|
|
5860
|
-
throw
|
|
5860
|
+
throw U && (P == null ? void 0 : P.slice(0, 10)) === "0x101bb98d" ? new nb({ factory: y }) : Uo(z, {
|
|
5861
5861
|
...t,
|
|
5862
5862
|
account: E,
|
|
5863
5863
|
chain: e.chain
|
|
@@ -5903,7 +5903,7 @@ async function w0(e, t) {
|
|
|
5903
5903
|
{
|
|
5904
5904
|
...u === null ? {
|
|
5905
5905
|
data: fp({
|
|
5906
|
-
code:
|
|
5906
|
+
code: Io,
|
|
5907
5907
|
data: v
|
|
5908
5908
|
})
|
|
5909
5909
|
} : { to: u, data: v }
|
|
@@ -6220,22 +6220,22 @@ function hp(e, t) {
|
|
|
6220
6220
|
return;
|
|
6221
6221
|
const M = E.result;
|
|
6222
6222
|
try {
|
|
6223
|
-
const { eventName:
|
|
6223
|
+
const { eventName: U, args: O } = Eo({
|
|
6224
6224
|
abi: n,
|
|
6225
6225
|
data: M.data,
|
|
6226
6226
|
topics: M.topics,
|
|
6227
6227
|
strict: y
|
|
6228
6228
|
}), R = dt(M, {
|
|
6229
6229
|
args: O,
|
|
6230
|
-
eventName:
|
|
6230
|
+
eventName: U
|
|
6231
6231
|
});
|
|
6232
6232
|
x.onLogs([R]);
|
|
6233
|
-
} catch (
|
|
6233
|
+
} catch (U) {
|
|
6234
6234
|
let O, R;
|
|
6235
|
-
if (
|
|
6235
|
+
if (U instanceof pa || U instanceof Jr) {
|
|
6236
6236
|
if (y)
|
|
6237
6237
|
return;
|
|
6238
|
-
O =
|
|
6238
|
+
O = U.abiItem.name, R = (F = U.abiItem.inputs) == null ? void 0 : F.some((k) => !("name" in k && k.name));
|
|
6239
6239
|
}
|
|
6240
6240
|
const G = dt(M, {
|
|
6241
6241
|
args: R ? [] : {},
|
|
@@ -6335,14 +6335,14 @@ async function ms(e, t) {
|
|
|
6335
6335
|
to: B,
|
|
6336
6336
|
type: b,
|
|
6337
6337
|
value: h
|
|
6338
|
-
}, "sendTransaction"),
|
|
6338
|
+
}, "sendTransaction"), U = Ns.get(e.uid), O = U ? "wallet_sendTransaction" : "eth_sendTransaction";
|
|
6339
6339
|
try {
|
|
6340
6340
|
return await e.request({
|
|
6341
6341
|
method: O,
|
|
6342
6342
|
params: [F]
|
|
6343
6343
|
}, { retryCount: 0 });
|
|
6344
6344
|
} catch (R) {
|
|
6345
|
-
if (
|
|
6345
|
+
if (U === !1)
|
|
6346
6346
|
throw R;
|
|
6347
6347
|
const G = R;
|
|
6348
6348
|
if (G.name === "InvalidInputRpcError" || G.name === "InvalidParamsRpcError" || G.name === "MethodNotFoundRpcError" || G.name === "MethodNotSupportedRpcError")
|
|
@@ -6642,7 +6642,7 @@ async function Ep(e, t) {
|
|
|
6642
6642
|
}
|
|
6643
6643
|
if (o && d.length > 1) {
|
|
6644
6644
|
const w = "`forceAtomic` is not supported on fallback to `eth_sendTransaction`.";
|
|
6645
|
-
throw new
|
|
6645
|
+
throw new In(new S(w, {
|
|
6646
6646
|
details: w
|
|
6647
6647
|
}));
|
|
6648
6648
|
}
|
|
@@ -6756,10 +6756,10 @@ async function vp(e, t) {
|
|
|
6756
6756
|
return T;
|
|
6757
6757
|
});
|
|
6758
6758
|
return m = o ? setTimeout(() => {
|
|
6759
|
-
b(), clearTimeout(m), y(new
|
|
6759
|
+
b(), clearTimeout(m), y(new I0({ id: n }));
|
|
6760
6760
|
}, o) : void 0, await p;
|
|
6761
6761
|
}
|
|
6762
|
-
class
|
|
6762
|
+
class I0 extends S {
|
|
6763
6763
|
constructor({ id: t }) {
|
|
6764
6764
|
super(`Timed out while waiting for call bundle with id "${t}" to be confirmed.`, { name: "WaitForCallsStatusTimeoutError" });
|
|
6765
6765
|
}
|
|
@@ -6812,7 +6812,7 @@ function Fo(e) {
|
|
|
6812
6812
|
const t = e.walk((l) => l instanceof mi);
|
|
6813
6813
|
return t instanceof mi ? ((n = t.data) == null ? void 0 : n.errorName) === "HttpError" || ((a = t.data) == null ? void 0 : a.errorName) === "ResolverError" || ((r = t.data) == null ? void 0 : r.errorName) === "ResolverNotContract" || ((s = t.data) == null ? void 0 : s.errorName) === "ResolverNotFound" || ((i = t.data) == null ? void 0 : i.errorName) === "ReverseAddressMismatch" || ((o = t.data) == null ? void 0 : o.errorName) === "UnsupportedResolverProfile" : !1;
|
|
6814
6814
|
}
|
|
6815
|
-
function
|
|
6815
|
+
function Ii(e) {
|
|
6816
6816
|
const { abi: t, data: n } = e, a = Jt(n, 0, 4), r = t.find((s) => s.type === "function" && a === $a(nt(s)));
|
|
6817
6817
|
if (!r)
|
|
6818
6818
|
throw new Ay(a, {
|
|
@@ -6845,7 +6845,7 @@ function Gl(e) {
|
|
|
6845
6845
|
return Se([i, o]);
|
|
6846
6846
|
}
|
|
6847
6847
|
const zs = "/docs/contract/encodeFunctionResult";
|
|
6848
|
-
function
|
|
6848
|
+
function U0(e) {
|
|
6849
6849
|
const { abi: t, functionName: n, result: a } = e;
|
|
6850
6850
|
let r = t[0];
|
|
6851
6851
|
if (n) {
|
|
@@ -6871,14 +6871,14 @@ function I0(e) {
|
|
|
6871
6871
|
}
|
|
6872
6872
|
const fs = "x-batch-gateway:true";
|
|
6873
6873
|
async function P0(e) {
|
|
6874
|
-
const { data: t, ccipRequest: n } = e, { args: [a] } =
|
|
6874
|
+
const { data: t, ccipRequest: n } = e, { args: [a] } = Ii({ abi: ki, data: t }), r = [], s = [];
|
|
6875
6875
|
return await Promise.all(a.map(async (i, o) => {
|
|
6876
6876
|
try {
|
|
6877
6877
|
s[o] = i.urls.includes(fs) ? await P0({ data: i.data, ccipRequest: n }) : await n(i), r[o] = !1;
|
|
6878
6878
|
} catch (l) {
|
|
6879
6879
|
r[o] = !0, s[o] = R0(l);
|
|
6880
6880
|
}
|
|
6881
|
-
})),
|
|
6881
|
+
})), U0({
|
|
6882
6882
|
abi: ki,
|
|
6883
6883
|
functionName: "query",
|
|
6884
6884
|
result: [r, s]
|
|
@@ -6901,7 +6901,7 @@ function Sp(e) {
|
|
|
6901
6901
|
const t = `0x${e.slice(1, 65)}`;
|
|
6902
6902
|
return at(t) ? t : null;
|
|
6903
6903
|
}
|
|
6904
|
-
function
|
|
6904
|
+
function Ui(e) {
|
|
6905
6905
|
let t = new Uint8Array(32).fill(0);
|
|
6906
6906
|
if (!e)
|
|
6907
6907
|
return pe(t);
|
|
@@ -6946,7 +6946,7 @@ async function F0(e, t) {
|
|
|
6946
6946
|
})(), p = l == null ? void 0 : l.ensTlds;
|
|
6947
6947
|
if (p && !p.some((y) => s.endsWith(y)))
|
|
6948
6948
|
return null;
|
|
6949
|
-
const d = r != null ? [
|
|
6949
|
+
const d = r != null ? [Ui(s), BigInt(r)] : [Ui(s)];
|
|
6950
6950
|
try {
|
|
6951
6951
|
const y = Re({
|
|
6952
6952
|
abi: zl,
|
|
@@ -7162,7 +7162,7 @@ async function K0(e, { gatewayUrls: t, record: n }) {
|
|
|
7162
7162
|
uri: s.replace(/(?:0x)?{id}/, l)
|
|
7163
7163
|
});
|
|
7164
7164
|
}
|
|
7165
|
-
async function
|
|
7165
|
+
async function Ip(e, t) {
|
|
7166
7166
|
const { blockNumber: n, blockTag: a, key: r, name: s, gatewayUrls: i, strict: o } = t, { chain: l } = e, u = (() => {
|
|
7167
7167
|
if (t.universalResolverAddress)
|
|
7168
7168
|
return t.universalResolverAddress;
|
|
@@ -7185,7 +7185,7 @@ async function Up(e, t) {
|
|
|
7185
7185
|
Re({
|
|
7186
7186
|
abi: Ll,
|
|
7187
7187
|
functionName: "text",
|
|
7188
|
-
args: [
|
|
7188
|
+
args: [Ui(s), r]
|
|
7189
7189
|
}),
|
|
7190
7190
|
i ?? [fs]
|
|
7191
7191
|
],
|
|
@@ -7210,7 +7210,7 @@ async function Up(e, t) {
|
|
|
7210
7210
|
}
|
|
7211
7211
|
}
|
|
7212
7212
|
async function Z0(e, { blockNumber: t, blockTag: n, assetGatewayUrls: a, name: r, gatewayUrls: s, strict: i, universalResolverAddress: o }) {
|
|
7213
|
-
const l = await L(e,
|
|
7213
|
+
const l = await L(e, Ip, "getEnsText")({
|
|
7214
7214
|
blockNumber: t,
|
|
7215
7215
|
blockTag: n,
|
|
7216
7216
|
key: "avatar",
|
|
@@ -7296,7 +7296,7 @@ async function J0(e, t) {
|
|
|
7296
7296
|
});
|
|
7297
7297
|
return l;
|
|
7298
7298
|
}
|
|
7299
|
-
async function
|
|
7299
|
+
async function Up(e, t) {
|
|
7300
7300
|
var T, w, v;
|
|
7301
7301
|
const { account: n = e.account, blockNumber: a, blockTag: r = "latest", blobs: s, data: i, gas: o, gasPrice: l, maxFeePerBlobGas: u, maxFeePerGas: p, maxPriorityFeePerGas: d, to: y, value: m, ...b } = t, h = n ? ne(n) : void 0;
|
|
7302
7302
|
try {
|
|
@@ -7323,7 +7323,7 @@ async function Ip(e, t) {
|
|
|
7323
7323
|
gasUsed: BigInt(E.gasUsed)
|
|
7324
7324
|
};
|
|
7325
7325
|
} catch (g) {
|
|
7326
|
-
throw
|
|
7326
|
+
throw Uo(g, {
|
|
7327
7327
|
...t,
|
|
7328
7328
|
account: h,
|
|
7329
7329
|
chain: e.chain
|
|
@@ -7516,7 +7516,7 @@ function Dp(e, t, n = !1) {
|
|
|
7516
7516
|
const i = t;
|
|
7517
7517
|
if (!te(i))
|
|
7518
7518
|
throw new ue({ address: i });
|
|
7519
|
-
return
|
|
7519
|
+
return Ue(i.toLowerCase(), {
|
|
7520
7520
|
size: n ? 32 : null
|
|
7521
7521
|
});
|
|
7522
7522
|
}
|
|
@@ -7525,7 +7525,7 @@ function Dp(e, t, n = !1) {
|
|
|
7525
7525
|
if (e === "bytes")
|
|
7526
7526
|
return t;
|
|
7527
7527
|
if (e === "bool")
|
|
7528
|
-
return
|
|
7528
|
+
return Ue(Zi(t), { size: n ? 32 : 1 });
|
|
7529
7529
|
const a = e.match(Qi);
|
|
7530
7530
|
if (a) {
|
|
7531
7531
|
const [i, o, l = "256"] = a, u = Number.parseInt(l, 10) / 8;
|
|
@@ -7542,7 +7542,7 @@ function Dp(e, t, n = !1) {
|
|
|
7542
7542
|
expectedSize: Number.parseInt(o, 10),
|
|
7543
7543
|
givenSize: (t.length - 2) / 2
|
|
7544
7544
|
});
|
|
7545
|
-
return
|
|
7545
|
+
return Ue(t, { dir: "right", size: n ? 32 : null });
|
|
7546
7546
|
}
|
|
7547
7547
|
const s = e.match(wf);
|
|
7548
7548
|
if (s && Array.isArray(t)) {
|
|
@@ -7551,7 +7551,7 @@ function Dp(e, t, n = !1) {
|
|
|
7551
7551
|
l.push(Dp(o, t[u], !0));
|
|
7552
7552
|
return l.length === 0 ? "0x" : Se(l);
|
|
7553
7553
|
}
|
|
7554
|
-
throw new
|
|
7554
|
+
throw new Uy(e);
|
|
7555
7555
|
}
|
|
7556
7556
|
function ch(e) {
|
|
7557
7557
|
const { authorizationList: t } = e;
|
|
@@ -7573,9 +7573,9 @@ function uh(e) {
|
|
|
7573
7573
|
for (const n of t) {
|
|
7574
7574
|
const a = ae(n), r = Le(Jt(n, 0, 1));
|
|
7575
7575
|
if (a !== 32)
|
|
7576
|
-
throw new
|
|
7576
|
+
throw new Ib({ hash: n, size: a });
|
|
7577
7577
|
if (r !== Hu)
|
|
7578
|
-
throw new
|
|
7578
|
+
throw new Ub({
|
|
7579
7579
|
hash: n,
|
|
7580
7580
|
version: r
|
|
7581
7581
|
});
|
|
@@ -7592,7 +7592,7 @@ function Lo(e) {
|
|
|
7592
7592
|
if (a && a > Ga)
|
|
7593
7593
|
throw new Ot({ maxFeePerGas: a });
|
|
7594
7594
|
if (n && a && n > a)
|
|
7595
|
-
throw new
|
|
7595
|
+
throw new Un({ maxFeePerGas: a, maxPriorityFeePerGas: n });
|
|
7596
7596
|
}
|
|
7597
7597
|
function ph(e) {
|
|
7598
7598
|
const { chainId: t, maxPriorityFeePerGas: n, gasPrice: a, maxFeePerGas: r, to: s } = e;
|
|
@@ -7904,14 +7904,14 @@ function gh(e, t = {}) {
|
|
|
7904
7904
|
case Ma.code:
|
|
7905
7905
|
throw new Ma(m);
|
|
7906
7906
|
// 5740
|
|
7907
|
-
case Ua.code:
|
|
7908
|
-
throw new Ua(m);
|
|
7909
|
-
// 5750
|
|
7910
7907
|
case Ia.code:
|
|
7911
7908
|
throw new Ia(m);
|
|
7909
|
+
// 5750
|
|
7910
|
+
case Ua.code:
|
|
7911
|
+
throw new Ua(m);
|
|
7912
7912
|
// 5760
|
|
7913
|
-
case
|
|
7914
|
-
throw new
|
|
7913
|
+
case In.code:
|
|
7914
|
+
throw new In(m);
|
|
7915
7915
|
// CAIP-25: User Rejected Error
|
|
7916
7916
|
// https://docs.walletconnect.com/2.0/specs/clients/sign/error-codes#rejected-caip-25
|
|
7917
7917
|
case 5e3:
|
|
@@ -8061,7 +8061,7 @@ class Mh extends S {
|
|
|
8061
8061
|
});
|
|
8062
8062
|
}
|
|
8063
8063
|
}
|
|
8064
|
-
class
|
|
8064
|
+
class Ih extends S {
|
|
8065
8065
|
constructor({ primaryType: t, types: n }) {
|
|
8066
8066
|
super(`Invalid primary type \`${t}\` must be one of \`${JSON.stringify(Object.keys(n))}\`.`, {
|
|
8067
8067
|
docsPath: "/api/glossary/Errors#typeddatainvalidprimarytypeerror",
|
|
@@ -8069,7 +8069,7 @@ class Uh extends S {
|
|
|
8069
8069
|
});
|
|
8070
8070
|
}
|
|
8071
8071
|
}
|
|
8072
|
-
class
|
|
8072
|
+
class Uh extends S {
|
|
8073
8073
|
constructor({ type: t }) {
|
|
8074
8074
|
super(`Struct type "${t}" is invalid.`, {
|
|
8075
8075
|
metaMessages: ["Struct type must not be a Solidity type."],
|
|
@@ -8126,7 +8126,7 @@ function Op(e) {
|
|
|
8126
8126
|
if (r[a])
|
|
8127
8127
|
s(r[a], n);
|
|
8128
8128
|
else
|
|
8129
|
-
throw new
|
|
8129
|
+
throw new Ih({ primaryType: a, types: r });
|
|
8130
8130
|
}
|
|
8131
8131
|
function Np({ domain: e }) {
|
|
8132
8132
|
return [
|
|
@@ -8145,7 +8145,7 @@ function Np({ domain: e }) {
|
|
|
8145
8145
|
}
|
|
8146
8146
|
function Rh(e) {
|
|
8147
8147
|
if (e === "address" || e === "bool" || e === "string" || e.startsWith("bytes") || e.startsWith("uint") || e.startsWith("int"))
|
|
8148
|
-
throw new
|
|
8148
|
+
throw new Uh({ type: e });
|
|
8149
8149
|
}
|
|
8150
8150
|
function Dh(e) {
|
|
8151
8151
|
const { domain: t = {}, message: n, primaryType: a } = e, r = {
|
|
@@ -8992,7 +8992,7 @@ class M1 extends Z {
|
|
|
8992
8992
|
});
|
|
8993
8993
|
}
|
|
8994
8994
|
}
|
|
8995
|
-
const
|
|
8995
|
+
const I1 = /^(.*)\[([0-9]*)\]$/, U1 = /^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/, ad = /^(u?int)(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/, Ql = 2n ** 256n - 1n;
|
|
8996
8996
|
function Cn(e, t, n) {
|
|
8997
8997
|
const { checksumAddress: a, staticPosition: r } = n, s = Go(t.type);
|
|
8998
8998
|
if (s) {
|
|
@@ -9537,7 +9537,7 @@ function Ni(e, t) {
|
|
|
9537
9537
|
signed: u === "int"
|
|
9538
9538
|
});
|
|
9539
9539
|
}
|
|
9540
|
-
const i = n.match(
|
|
9540
|
+
const i = n.match(U1);
|
|
9541
9541
|
if (i) {
|
|
9542
9542
|
const [l, u] = i;
|
|
9543
9543
|
if (Number.parseInt(u, 10) !== (a.length - 2) / 2)
|
|
@@ -9547,7 +9547,7 @@ function Ni(e, t) {
|
|
|
9547
9547
|
});
|
|
9548
9548
|
return tn(a, r ? 32 : 0);
|
|
9549
9549
|
}
|
|
9550
|
-
const o = n.match(
|
|
9550
|
+
const o = n.match(I1);
|
|
9551
9551
|
if (o && Array.isArray(a)) {
|
|
9552
9552
|
const [l, u] = o, p = [];
|
|
9553
9553
|
for (let d = 0; d < a.length; d++)
|
|
@@ -9682,24 +9682,24 @@ class od extends Xi {
|
|
|
9682
9682
|
const ld = (e, t, n) => new od(e, t).update(n).digest();
|
|
9683
9683
|
ld.create = (e, t) => new od(e, t);
|
|
9684
9684
|
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
9685
|
-
const
|
|
9685
|
+
const Ie = BigInt(0), Ae = BigInt(1), Gt = /* @__PURE__ */ BigInt(2), n6 = /* @__PURE__ */ BigInt(3), cd = /* @__PURE__ */ BigInt(4), ud = /* @__PURE__ */ BigInt(5), pd = /* @__PURE__ */ BigInt(8);
|
|
9686
9686
|
function Me(e, t) {
|
|
9687
9687
|
const n = e % t;
|
|
9688
|
-
return n >=
|
|
9688
|
+
return n >= Ie ? n : t + n;
|
|
9689
9689
|
}
|
|
9690
9690
|
function je(e, t, n) {
|
|
9691
9691
|
let a = e;
|
|
9692
|
-
for (; t-- >
|
|
9692
|
+
for (; t-- > Ie; )
|
|
9693
9693
|
a *= a, a %= n;
|
|
9694
9694
|
return a;
|
|
9695
9695
|
}
|
|
9696
9696
|
function $i(e, t) {
|
|
9697
|
-
if (e ===
|
|
9697
|
+
if (e === Ie)
|
|
9698
9698
|
throw new Error("invert: expected non-zero number");
|
|
9699
|
-
if (t <=
|
|
9699
|
+
if (t <= Ie)
|
|
9700
9700
|
throw new Error("invert: expected positive modulus, got " + t);
|
|
9701
|
-
let n = Me(e, t), a = t, r =
|
|
9702
|
-
for (; n !==
|
|
9701
|
+
let n = Me(e, t), a = t, r = Ie, s = Ae;
|
|
9702
|
+
for (; n !== Ie; ) {
|
|
9703
9703
|
const o = a / n, l = a % n, u = r - s * o;
|
|
9704
9704
|
a = n, n = l, r = s, s = u;
|
|
9705
9705
|
}
|
|
@@ -9723,7 +9723,7 @@ function r6(e) {
|
|
|
9723
9723
|
if (e < BigInt(3))
|
|
9724
9724
|
throw new Error("sqrt is not defined for small field");
|
|
9725
9725
|
let t = e - Ae, n = 0;
|
|
9726
|
-
for (; t % Gt ===
|
|
9726
|
+
for (; t % Gt === Ie; )
|
|
9727
9727
|
t /= Gt, n++;
|
|
9728
9728
|
let a = Gt;
|
|
9729
9729
|
const r = Wo(e);
|
|
@@ -9785,14 +9785,14 @@ function o6(e) {
|
|
|
9785
9785
|
return os(e, n);
|
|
9786
9786
|
}
|
|
9787
9787
|
function l6(e, t, n) {
|
|
9788
|
-
if (n <
|
|
9788
|
+
if (n < Ie)
|
|
9789
9789
|
throw new Error("invalid exponent, negatives unsupported");
|
|
9790
|
-
if (n ===
|
|
9790
|
+
if (n === Ie)
|
|
9791
9791
|
return e.ONE;
|
|
9792
9792
|
if (n === Ae)
|
|
9793
9793
|
return t;
|
|
9794
9794
|
let a = e.ONE, r = t;
|
|
9795
|
-
for (; n >
|
|
9795
|
+
for (; n > Ie; )
|
|
9796
9796
|
n & Ae && (a = e.mul(a, r)), r = e.sqr(r), n >>= Ae;
|
|
9797
9797
|
return a;
|
|
9798
9798
|
}
|
|
@@ -9812,7 +9812,7 @@ function yd(e, t) {
|
|
|
9812
9812
|
return { nBitLength: n, nByteLength: a };
|
|
9813
9813
|
}
|
|
9814
9814
|
function Wo(e, t, n = !1, a = {}) {
|
|
9815
|
-
if (e <=
|
|
9815
|
+
if (e <= Ie)
|
|
9816
9816
|
throw new Error("invalid field: expected ORDER > 0, got " + e);
|
|
9817
9817
|
const { nBitLength: r, nByteLength: s } = yd(e, t);
|
|
9818
9818
|
if (s > 2048)
|
|
@@ -9824,15 +9824,15 @@ function Wo(e, t, n = !1, a = {}) {
|
|
|
9824
9824
|
BITS: r,
|
|
9825
9825
|
BYTES: s,
|
|
9826
9826
|
MASK: is(r),
|
|
9827
|
-
ZERO:
|
|
9827
|
+
ZERO: Ie,
|
|
9828
9828
|
ONE: Ae,
|
|
9829
9829
|
create: (l) => Me(l, e),
|
|
9830
9830
|
isValid: (l) => {
|
|
9831
9831
|
if (typeof l != "bigint")
|
|
9832
9832
|
throw new Error("invalid field element: expected bigint, got " + typeof l);
|
|
9833
|
-
return
|
|
9833
|
+
return Ie <= l && l < e;
|
|
9834
9834
|
},
|
|
9835
|
-
is0: (l) => l ===
|
|
9835
|
+
is0: (l) => l === Ie,
|
|
9836
9836
|
isOdd: (l) => (l & Ae) === Ae,
|
|
9837
9837
|
neg: (l) => Me(-l, e),
|
|
9838
9838
|
eql: (l, u) => l === u,
|
|
@@ -10228,10 +10228,10 @@ function h6(e) {
|
|
|
10228
10228
|
return { x: C, y: B };
|
|
10229
10229
|
const E = g.is0();
|
|
10230
10230
|
x == null && (x = E ? n.ONE : n.inv(A));
|
|
10231
|
-
const M = n.mul(C, x), F = n.mul(B, x),
|
|
10231
|
+
const M = n.mul(C, x), F = n.mul(B, x), U = n.mul(A, x);
|
|
10232
10232
|
if (E)
|
|
10233
10233
|
return { x: n.ZERO, y: n.ZERO };
|
|
10234
|
-
if (!n.eql(
|
|
10234
|
+
if (!n.eql(U, n.ONE))
|
|
10235
10235
|
throw new Error("invZ was invalid");
|
|
10236
10236
|
return { x: M, y: F };
|
|
10237
10237
|
}), b = Fl((g) => {
|
|
@@ -10321,8 +10321,8 @@ function h6(e) {
|
|
|
10321
10321
|
*/
|
|
10322
10322
|
equals(x) {
|
|
10323
10323
|
y(x);
|
|
10324
|
-
const { px: C, py: B, pz: A } = this, { px: E, py: M, pz: F } = x,
|
|
10325
|
-
return
|
|
10324
|
+
const { px: C, py: B, pz: A } = this, { px: E, py: M, pz: F } = x, U = n.eql(n.mul(C, F), n.mul(E, A)), O = n.eql(n.mul(B, F), n.mul(M, A));
|
|
10325
|
+
return U && O;
|
|
10326
10326
|
}
|
|
10327
10327
|
/**
|
|
10328
10328
|
* Flips point to one corresponding to (x, -y) in Affine coordinates.
|
|
@@ -10336,8 +10336,8 @@ function h6(e) {
|
|
|
10336
10336
|
// Cost: 8M + 3S + 3*a + 2*b3 + 15add.
|
|
10337
10337
|
double() {
|
|
10338
10338
|
const { a: x, b: C } = t, B = n.mul(C, Zs), { px: A, py: E, pz: M } = this;
|
|
10339
|
-
let F = n.ZERO,
|
|
10340
|
-
return _ = n.add(_, _), O = n.mul(A, M), O = n.add(O, O), F = n.mul(x, O),
|
|
10339
|
+
let F = n.ZERO, U = n.ZERO, O = n.ZERO, R = n.mul(A, A), G = n.mul(E, E), k = n.mul(M, M), _ = n.mul(A, E);
|
|
10340
|
+
return _ = n.add(_, _), O = n.mul(A, M), O = n.add(O, O), F = n.mul(x, O), U = n.mul(B, k), U = n.add(F, U), F = n.sub(G, U), U = n.add(G, U), U = n.mul(F, U), F = n.mul(_, F), O = n.mul(B, O), k = n.mul(x, k), _ = n.sub(R, k), _ = n.mul(x, _), _ = n.add(_, O), O = n.add(R, R), R = n.add(O, R), R = n.add(R, k), R = n.mul(R, _), U = n.add(U, R), k = n.mul(E, M), k = n.add(k, k), R = n.mul(k, _), F = n.sub(F, R), O = n.mul(k, G), O = n.add(O, O), O = n.add(O, O), new h(F, U, O);
|
|
10341
10341
|
}
|
|
10342
10342
|
// Renes-Costello-Batina exception-free addition formula.
|
|
10343
10343
|
// There is 30% faster Jacobian formula, but it is not complete.
|
|
@@ -10346,12 +10346,12 @@ function h6(e) {
|
|
|
10346
10346
|
add(x) {
|
|
10347
10347
|
y(x);
|
|
10348
10348
|
const { px: C, py: B, pz: A } = this, { px: E, py: M, pz: F } = x;
|
|
10349
|
-
let
|
|
10349
|
+
let U = n.ZERO, O = n.ZERO, R = n.ZERO;
|
|
10350
10350
|
const G = t.a, k = n.mul(t.b, Zs);
|
|
10351
10351
|
let _ = n.mul(C, E), z = n.mul(B, M), P = n.mul(A, F), $ = n.add(C, B), H = n.add(E, M);
|
|
10352
10352
|
$ = n.mul($, H), H = n.add(_, z), $ = n.sub($, H), H = n.add(C, A);
|
|
10353
|
-
let
|
|
10354
|
-
return H = n.mul(H,
|
|
10353
|
+
let W = n.add(E, F);
|
|
10354
|
+
return H = n.mul(H, W), W = n.add(_, P), H = n.sub(H, W), W = n.add(B, A), U = n.add(M, F), W = n.mul(W, U), U = n.add(z, P), W = n.sub(W, U), R = n.mul(G, H), U = n.mul(k, P), R = n.add(U, R), U = n.sub(z, R), R = n.add(z, R), O = n.mul(U, R), z = n.add(_, _), z = n.add(z, _), P = n.mul(G, P), H = n.mul(k, H), z = n.add(z, P), P = n.sub(_, P), P = n.mul(G, P), H = n.add(H, P), _ = n.mul(z, H), O = n.add(O, _), _ = n.mul(W, H), U = n.mul($, U), U = n.sub(U, _), _ = n.mul($, z), R = n.mul(W, R), R = n.add(R, _), new h(U, O, R);
|
|
10355
10355
|
}
|
|
10356
10356
|
subtract(x) {
|
|
10357
10357
|
return this.add(x.negate());
|
|
@@ -10377,9 +10377,9 @@ function h6(e) {
|
|
|
10377
10377
|
return this;
|
|
10378
10378
|
if (!C || v.hasPrecomputes(this))
|
|
10379
10379
|
return v.wNAFCachedUnsafe(this, x, h.normalizeZ);
|
|
10380
|
-
let { k1neg: E, k1: M, k2neg: F, k2:
|
|
10381
|
-
for (; M > xt ||
|
|
10382
|
-
M & Te && (O = O.add(G)),
|
|
10380
|
+
let { k1neg: E, k1: M, k2neg: F, k2: U } = C.splitScalar(x), O = A, R = A, G = this;
|
|
10381
|
+
for (; M > xt || U > xt; )
|
|
10382
|
+
M & Te && (O = O.add(G)), U & Te && (R = R.add(G)), G = G.double(), M >>= Te, U >>= Te;
|
|
10383
10383
|
return E && (O = O.negate()), F && (R = R.negate()), R = new h(n.mul(R.px, C.beta), R.py, R.pz), O.add(R);
|
|
10384
10384
|
}
|
|
10385
10385
|
/**
|
|
@@ -10396,9 +10396,9 @@ function h6(e) {
|
|
|
10396
10396
|
En("scalar", x, Te, B);
|
|
10397
10397
|
let A, E;
|
|
10398
10398
|
if (C) {
|
|
10399
|
-
const { k1neg: M, k1: F, k2neg:
|
|
10399
|
+
const { k1neg: M, k1: F, k2neg: U, k2: O } = C.splitScalar(x);
|
|
10400
10400
|
let { p: R, f: G } = this.wNAF(F), { p: k, f: _ } = this.wNAF(O);
|
|
10401
|
-
R = v.constTimeNegate(M, R), k = v.constTimeNegate(
|
|
10401
|
+
R = v.constTimeNegate(M, R), k = v.constTimeNegate(U, k), k = new h(n.mul(k.px, C.beta), k.py, k.pz), A = R.add(k), E = G.add(_);
|
|
10402
10402
|
} else {
|
|
10403
10403
|
const { p: M, f: F } = this.wNAF(x);
|
|
10404
10404
|
A = M, E = F;
|
|
@@ -10412,7 +10412,7 @@ function h6(e) {
|
|
|
10412
10412
|
* @returns non-zero affine point
|
|
10413
10413
|
*/
|
|
10414
10414
|
multiplyAndAddUnsafe(x, C, B) {
|
|
10415
|
-
const A = h.BASE, E = (F,
|
|
10415
|
+
const A = h.BASE, E = (F, U) => U === xt || U === Te || !F.equals(A) ? F.multiplyUnsafe(U) : F.multiply(U), M = E(this, C).add(E(x, B));
|
|
10416
10416
|
return M.is0() ? void 0 : M;
|
|
10417
10417
|
}
|
|
10418
10418
|
// Converts Projective point to affine (x, y) coordinates.
|
|
@@ -10483,15 +10483,15 @@ function x6(e) {
|
|
|
10483
10483
|
if (!Bo($, Te, n.ORDER))
|
|
10484
10484
|
throw new Error("Point is not on curve");
|
|
10485
10485
|
const H = y($);
|
|
10486
|
-
let
|
|
10486
|
+
let W;
|
|
10487
10487
|
try {
|
|
10488
|
-
|
|
10488
|
+
W = n.sqrt(H);
|
|
10489
10489
|
} catch (ge) {
|
|
10490
10490
|
const de = ge instanceof Error ? ": " + ge.message : "";
|
|
10491
10491
|
throw new Error("Point is not on curve" + de);
|
|
10492
10492
|
}
|
|
10493
|
-
const le = (
|
|
10494
|
-
return (z & 1) === 1 !== le && (
|
|
10493
|
+
const le = (W & Te) === Te;
|
|
10494
|
+
return (z & 1) === 1 !== le && (W = n.neg(W)), { x: $, y: W };
|
|
10495
10495
|
} else if (_ === o && z === 4) {
|
|
10496
10496
|
const $ = n.fromBytes(P.subarray(0, n.BYTES)), H = n.fromBytes(P.subarray(n.BYTES, 2 * n.BYTES));
|
|
10497
10497
|
return { x: $, y: H };
|
|
@@ -10537,13 +10537,13 @@ function x6(e) {
|
|
|
10537
10537
|
const { r: z, s: P, recovery: $ } = this, H = A(We("msgHash", _));
|
|
10538
10538
|
if ($ == null || ![0, 1, 2, 3].includes($))
|
|
10539
10539
|
throw new Error("recovery id invalid");
|
|
10540
|
-
const
|
|
10541
|
-
if (
|
|
10540
|
+
const W = $ === 2 || $ === 3 ? z + t.n : z;
|
|
10541
|
+
if (W >= n.ORDER)
|
|
10542
10542
|
throw new Error("recovery id 2 or 3 invalid");
|
|
10543
|
-
const le = ($ & 1) === 0 ? "02" : "03", Ee = p.fromHex(le + Ks(
|
|
10544
|
-
if (!
|
|
10543
|
+
const le = ($ & 1) === 0 ? "02" : "03", Ee = p.fromHex(le + Ks(W, n.BYTES)), ge = u(W), de = l(-H * ge), Ce = l(P * ge), Ut = p.BASE.multiplyAndAddUnsafe(Ee, de, Ce);
|
|
10544
|
+
if (!Ut)
|
|
10545
10545
|
throw new Error("point at infinify");
|
|
10546
|
-
return
|
|
10546
|
+
return Ut.assertValidity(), Ut;
|
|
10547
10547
|
}
|
|
10548
10548
|
// Signatures should be low-s, to prevent malleability.
|
|
10549
10549
|
hasHighS() {
|
|
@@ -10627,18 +10627,18 @@ function x6(e) {
|
|
|
10627
10627
|
function M(k) {
|
|
10628
10628
|
return En("num < 2^" + s, k, xt, E), Ka(k, r);
|
|
10629
10629
|
}
|
|
10630
|
-
function F(k, _, z =
|
|
10630
|
+
function F(k, _, z = U) {
|
|
10631
10631
|
if (["recovered", "canonical"].some((zt) => zt in z))
|
|
10632
10632
|
throw new Error("sign() legacy options not supported");
|
|
10633
10633
|
const { hash: P, randomBytes: $ } = t;
|
|
10634
|
-
let { lowS: H, prehash:
|
|
10635
|
-
H == null && (H = !0), k = We("msgHash", k), sc(z),
|
|
10634
|
+
let { lowS: H, prehash: W, extraEntropy: le } = z;
|
|
10635
|
+
H == null && (H = !0), k = We("msgHash", k), sc(z), W && (k = We("prehashed msgHash", P(k)));
|
|
10636
10636
|
const Ee = A(k), ge = d(_), de = [M(ge), M(Ee)];
|
|
10637
10637
|
if (le != null && le !== !1) {
|
|
10638
10638
|
const zt = le === !0 ? $(n.BYTES) : le;
|
|
10639
10639
|
de.push(We("extraEntropy", zt));
|
|
10640
10640
|
}
|
|
10641
|
-
const Ce = Hr(...de),
|
|
10641
|
+
const Ce = Hr(...de), Ut = Ee;
|
|
10642
10642
|
function vs(zt) {
|
|
10643
10643
|
const un = B(zt);
|
|
10644
10644
|
if (!m(un))
|
|
@@ -10646,7 +10646,7 @@ function x6(e) {
|
|
|
10646
10646
|
const ks = u(un), Gn = p.BASE.multiply(un).toAffine(), Ht = l(Gn.x);
|
|
10647
10647
|
if (Ht === xt)
|
|
10648
10648
|
return;
|
|
10649
|
-
const jn = l(ks * l(
|
|
10649
|
+
const jn = l(ks * l(Ut + Ht * ge));
|
|
10650
10650
|
if (jn === xt)
|
|
10651
10651
|
return;
|
|
10652
10652
|
let qn = (Gn.x === Ht ? 0 : 2) | Number(Gn.y & Te), pn = jn;
|
|
@@ -10654,8 +10654,8 @@ function x6(e) {
|
|
|
10654
10654
|
}
|
|
10655
10655
|
return { seed: Ce, k2sig: vs };
|
|
10656
10656
|
}
|
|
10657
|
-
const
|
|
10658
|
-
function R(k, _, z =
|
|
10657
|
+
const U = { lowS: t.lowS, prehash: !1 }, O = { lowS: t.lowS, prehash: !1 };
|
|
10658
|
+
function R(k, _, z = U) {
|
|
10659
10659
|
const { seed: P, k2sig: $ } = F(k, _, z), H = t;
|
|
10660
10660
|
return Ob(H.hash.outputLen, H.nByteLength, H.hmac)(P, $);
|
|
10661
10661
|
}
|
|
@@ -10664,7 +10664,7 @@ function x6(e) {
|
|
|
10664
10664
|
var qn;
|
|
10665
10665
|
const $ = k;
|
|
10666
10666
|
_ = We("msgHash", _), z = We("publicKey", z);
|
|
10667
|
-
const { lowS: H, prehash:
|
|
10667
|
+
const { lowS: H, prehash: W, format: le } = P;
|
|
10668
10668
|
if (sc(P), "strict" in P)
|
|
10669
10669
|
throw new Error("options.strict was renamed to lowS");
|
|
10670
10670
|
if (le !== void 0 && le !== "compact" && le !== "der")
|
|
@@ -10689,9 +10689,9 @@ function x6(e) {
|
|
|
10689
10689
|
}
|
|
10690
10690
|
if (!de || H && de.hasHighS())
|
|
10691
10691
|
return !1;
|
|
10692
|
-
|
|
10693
|
-
const { r:
|
|
10694
|
-
return Ht ? l(Ht.x) ===
|
|
10692
|
+
W && (_ = t.hash(_));
|
|
10693
|
+
const { r: Ut, s: vs } = de, zt = A(_), un = u(vs), ks = l(zt * un), Gn = l(Ut * un), Ht = (qn = p.BASE.multiplyAndAddUnsafe(Ce, ks, Gn)) == null ? void 0 : qn.toAffine();
|
|
10694
|
+
return Ht ? l(Ht.x) === Ut : !1;
|
|
10695
10695
|
}
|
|
10696
10696
|
return {
|
|
10697
10697
|
CURVE: t,
|
|
@@ -10770,7 +10770,7 @@ function A6(e) {
|
|
|
10770
10770
|
}
|
|
10771
10771
|
function Cd(e) {
|
|
10772
10772
|
if (e.length !== 130 && e.length !== 132)
|
|
10773
|
-
throw new
|
|
10773
|
+
throw new U6({ signature: e });
|
|
10774
10774
|
const t = BigInt(ut(e, 0, 32)), n = BigInt(ut(e, 32, 64)), a = (() => {
|
|
10775
10775
|
const r = +`0x${e.slice(130)}`;
|
|
10776
10776
|
if (!Number.isNaN(r))
|
|
@@ -10794,7 +10794,7 @@ function S6(e) {
|
|
|
10794
10794
|
return B6(e);
|
|
10795
10795
|
}
|
|
10796
10796
|
function B6(e) {
|
|
10797
|
-
const t = typeof e == "string" ? Cd(e) : e instanceof Uint8Array ? A6(e) : typeof e.r == "string" ?
|
|
10797
|
+
const t = typeof e == "string" ? Cd(e) : e instanceof Uint8Array ? A6(e) : typeof e.r == "string" ? I6(e) : e.v ? M6(e) : {
|
|
10798
10798
|
r: e.r,
|
|
10799
10799
|
s: e.s,
|
|
10800
10800
|
...typeof e.yParity < "u" ? { yParity: e.yParity } : {}
|
|
@@ -10808,7 +10808,7 @@ function M6(e) {
|
|
|
10808
10808
|
yParity: Ko(e.v)
|
|
10809
10809
|
};
|
|
10810
10810
|
}
|
|
10811
|
-
function
|
|
10811
|
+
function I6(e) {
|
|
10812
10812
|
const t = (() => {
|
|
10813
10813
|
const n = e.v ? Number(e.v) : void 0;
|
|
10814
10814
|
let a = e.yParity ? Number(e.yParity) : void 0;
|
|
@@ -10831,7 +10831,7 @@ function Ko(e) {
|
|
|
10831
10831
|
return e % 2 === 0 ? 1 : 0;
|
|
10832
10832
|
throw new D6({ value: e });
|
|
10833
10833
|
}
|
|
10834
|
-
class
|
|
10834
|
+
class U6 extends Z {
|
|
10835
10835
|
constructor({ signature: t }) {
|
|
10836
10836
|
super(`Value \`${t}\` is an invalid signature size.`, {
|
|
10837
10837
|
metaMessages: [
|
|
@@ -11101,7 +11101,7 @@ async function Z6(e, t) {
|
|
|
11101
11101
|
}
|
|
11102
11102
|
}
|
|
11103
11103
|
const T = await Promise.allSettled(m.map((g) => L(e, Xe, "readContract")({
|
|
11104
|
-
...y === null ? { code:
|
|
11104
|
+
...y === null ? { code: Io } : { address: y },
|
|
11105
11105
|
abi: Vr,
|
|
11106
11106
|
account: n,
|
|
11107
11107
|
args: [g],
|
|
@@ -11127,7 +11127,7 @@ async function Z6(e, t) {
|
|
|
11127
11127
|
}
|
|
11128
11128
|
const C = x.value;
|
|
11129
11129
|
for (let B = 0; B < C.length; B++) {
|
|
11130
|
-
const { returnData: A, success: E } = C[B], { callData: M } = m[g][B], { abi: F, address:
|
|
11130
|
+
const { returnData: A, success: E } = C[B], { callData: M } = m[g][B], { abi: F, address: U, functionName: O, args: R } = u[w.length];
|
|
11131
11131
|
try {
|
|
11132
11132
|
if (M === "0x")
|
|
11133
11133
|
throw new Oa();
|
|
@@ -11143,7 +11143,7 @@ async function Z6(e, t) {
|
|
|
11143
11143
|
} catch (G) {
|
|
11144
11144
|
const k = Qt(G, {
|
|
11145
11145
|
abi: F,
|
|
11146
|
-
address:
|
|
11146
|
+
address: U,
|
|
11147
11147
|
args: R,
|
|
11148
11148
|
docsPath: "/docs/contract/multicall",
|
|
11149
11149
|
functionName: O
|
|
@@ -11188,8 +11188,8 @@ async function Vi(e, t) {
|
|
|
11188
11188
|
})).map((y, m) => ({
|
|
11189
11189
|
...po(y),
|
|
11190
11190
|
calls: y.calls.map((b, h) => {
|
|
11191
|
-
var F,
|
|
11192
|
-
const { abi: T, args: w, functionName: v, to: g } = r[m].calls[h], x = ((F = b.error) == null ? void 0 : F.data) ?? b.returnData, C = BigInt(b.gasUsed), B = (
|
|
11191
|
+
var F, U;
|
|
11192
|
+
const { abi: T, args: w, functionName: v, to: g } = r[m].calls[h], x = ((F = b.error) == null ? void 0 : F.data) ?? b.returnData, C = BigInt(b.gasUsed), B = (U = b.logs) == null ? void 0 : U.map((O) => dt(O)), A = b.status === "0x1" ? "success" : "failure", E = T && A === "success" && x !== "0x" ? sn({
|
|
11193
11193
|
abi: T,
|
|
11194
11194
|
data: x,
|
|
11195
11195
|
functionName: v
|
|
@@ -11462,12 +11462,12 @@ async function s2(e, t) {
|
|
|
11462
11462
|
}) : void 0, d = i ? await Promise.all(t.calls.map(async (P) => {
|
|
11463
11463
|
if (!P.data && !P.abi)
|
|
11464
11464
|
return;
|
|
11465
|
-
const { accessList: $ } = await
|
|
11465
|
+
const { accessList: $ } = await Up(e, {
|
|
11466
11466
|
account: u.address,
|
|
11467
11467
|
...P,
|
|
11468
11468
|
data: P.abi ? Re(P) : P.data
|
|
11469
11469
|
});
|
|
11470
|
-
return $.map(({ address: H, storageKeys:
|
|
11470
|
+
return $.map(({ address: H, storageKeys: W }) => W.length > 0 ? H : null);
|
|
11471
11471
|
})).then((P) => P.flat().filter(Boolean)) : [], y = await Vi(e, {
|
|
11472
11472
|
blockNumber: n,
|
|
11473
11473
|
blockTag: a,
|
|
@@ -11586,18 +11586,18 @@ async function s2(e, t) {
|
|
|
11586
11586
|
],
|
|
11587
11587
|
traceTransfers: o,
|
|
11588
11588
|
validation: l
|
|
11589
|
-
}), m = i ? y[2] : y[0], [b, h, , T, w, v, g, x] = i ? y : [], { calls: C, ...B } = m, A = C.slice(0, -1) ?? [], E = (b == null ? void 0 : b.calls) ?? [], M = (h == null ? void 0 : h.calls) ?? [], F = [...E, ...M].map((P) => P.status === "success" ? X(P.data) : null),
|
|
11589
|
+
}), m = i ? y[2] : y[0], [b, h, , T, w, v, g, x] = i ? y : [], { calls: C, ...B } = m, A = C.slice(0, -1) ?? [], E = (b == null ? void 0 : b.calls) ?? [], M = (h == null ? void 0 : h.calls) ?? [], F = [...E, ...M].map((P) => P.status === "success" ? X(P.data) : null), U = (T == null ? void 0 : T.calls) ?? [], O = (w == null ? void 0 : w.calls) ?? [], R = [...U, ...O].map((P) => P.status === "success" ? X(P.data) : null), G = ((v == null ? void 0 : v.calls) ?? []).map((P) => P.status === "success" ? P.result : null), k = ((x == null ? void 0 : x.calls) ?? []).map((P) => P.status === "success" ? P.result : null), _ = ((g == null ? void 0 : g.calls) ?? []).map((P) => P.status === "success" ? P.result : null), z = [];
|
|
11590
11590
|
for (const [P, $] of R.entries()) {
|
|
11591
11591
|
const H = F[P];
|
|
11592
11592
|
if (typeof $ != "bigint" || typeof H != "bigint")
|
|
11593
11593
|
continue;
|
|
11594
|
-
const
|
|
11594
|
+
const W = G[P - 1], le = k[P - 1], Ee = _[P - 1], ge = P === 0 ? {
|
|
11595
11595
|
address: a2,
|
|
11596
11596
|
decimals: 18,
|
|
11597
11597
|
symbol: "ETH"
|
|
11598
11598
|
} : {
|
|
11599
11599
|
address: d[P - 1],
|
|
11600
|
-
decimals: Ee ||
|
|
11600
|
+
decimals: Ee || W ? Number(W ?? 1) : void 0,
|
|
11601
11601
|
symbol: le ?? void 0
|
|
11602
11602
|
};
|
|
11603
11603
|
z.some((de) => de.token.address === ge.address) || z.push({
|
|
@@ -11711,7 +11711,7 @@ async function p2(e, t) {
|
|
|
11711
11711
|
}))
|
|
11712
11712
|
throw new nn();
|
|
11713
11713
|
const b = await L(e, Xe, "readContract")({
|
|
11714
|
-
...i ? { address: i } : { code:
|
|
11714
|
+
...i ? { address: i } : { code: Io },
|
|
11715
11715
|
authorizationList: [y],
|
|
11716
11716
|
abi: Vr,
|
|
11717
11717
|
blockNumber: a,
|
|
@@ -11877,7 +11877,7 @@ function Md(e, { emitOnBegin: t = !1, emitMissed: n = !1, onBlockNumber: a, onEr
|
|
|
11877
11877
|
});
|
|
11878
11878
|
})();
|
|
11879
11879
|
}
|
|
11880
|
-
async function
|
|
11880
|
+
async function Id(e, t) {
|
|
11881
11881
|
const {
|
|
11882
11882
|
checkReplacement: n = !0,
|
|
11883
11883
|
confirmations: a = 1,
|
|
@@ -11944,18 +11944,18 @@ async function Ud(e, t) {
|
|
|
11944
11944
|
shouldRetry: ({ error: R }) => R instanceof Du
|
|
11945
11945
|
});
|
|
11946
11946
|
b = !1;
|
|
11947
|
-
const
|
|
11948
|
-
if (!
|
|
11949
|
-
hash:
|
|
11947
|
+
const U = F.transactions.find(({ from: R, nonce: G }) => R === y.from && G === y.nonce);
|
|
11948
|
+
if (!U || (m = await L(e, Or, "getTransactionReceipt")({
|
|
11949
|
+
hash: U.hash
|
|
11950
11950
|
}), a > 1 && (!m.blockNumber || E - m.blockNumber + 1n < a)))
|
|
11951
11951
|
return;
|
|
11952
11952
|
let O = "replaced";
|
|
11953
|
-
|
|
11953
|
+
U.to === y.to && U.value === y.value && U.input === y.input ? O = "repriced" : U.from === U.to && U.value === 0n && (O = "cancelled"), A(() => {
|
|
11954
11954
|
var R;
|
|
11955
11955
|
(R = C.onReplaced) == null || R.call(C, {
|
|
11956
11956
|
reason: O,
|
|
11957
11957
|
replacedTransaction: y,
|
|
11958
|
-
transaction:
|
|
11958
|
+
transaction: U,
|
|
11959
11959
|
transactionReceipt: m
|
|
11960
11960
|
}), C.resolve(m);
|
|
11961
11961
|
});
|
|
@@ -12150,17 +12150,17 @@ function h2(e, { address: t, args: n, batch: a = !0, event: r, events: s, fromBl
|
|
|
12150
12150
|
data: A.data,
|
|
12151
12151
|
topics: A.topics,
|
|
12152
12152
|
strict: m
|
|
12153
|
-
}),
|
|
12154
|
-
l([
|
|
12153
|
+
}), U = dt(A, { args: F, eventName: M });
|
|
12154
|
+
l([U]);
|
|
12155
12155
|
} catch (M) {
|
|
12156
|
-
let F,
|
|
12156
|
+
let F, U;
|
|
12157
12157
|
if (M instanceof pa || M instanceof Jr) {
|
|
12158
12158
|
if (d)
|
|
12159
12159
|
return;
|
|
12160
|
-
F = M.abiItem.name,
|
|
12160
|
+
F = M.abiItem.name, U = (E = M.abiItem.inputs) == null ? void 0 : E.some((R) => !("name" in R && R.name));
|
|
12161
12161
|
}
|
|
12162
12162
|
const O = dt(A, {
|
|
12163
|
-
args:
|
|
12163
|
+
args: U ? [] : {},
|
|
12164
12164
|
eventName: F
|
|
12165
12165
|
});
|
|
12166
12166
|
l([O]);
|
|
@@ -12301,7 +12301,7 @@ async function Jo(e, { serializedTransaction: t, throwOnReceiptRevert: n, timeou
|
|
|
12301
12301
|
function v2(e) {
|
|
12302
12302
|
return {
|
|
12303
12303
|
call: (t) => us(e, t),
|
|
12304
|
-
createAccessList: (t) =>
|
|
12304
|
+
createAccessList: (t) => Up(e, t),
|
|
12305
12305
|
createBlockFilter: () => Y0(e),
|
|
12306
12306
|
createContractEventFilter: (t) => ao(e, t),
|
|
12307
12307
|
createEventFilter: (t) => Pp(e, t),
|
|
@@ -12322,7 +12322,7 @@ function v2(e) {
|
|
|
12322
12322
|
getEnsAvatar: (t) => Z0(e, t),
|
|
12323
12323
|
getEnsName: (t) => X0(e, t),
|
|
12324
12324
|
getEnsResolver: (t) => J0(e, t),
|
|
12325
|
-
getEnsText: (t) =>
|
|
12325
|
+
getEnsText: (t) => Ip(e, t),
|
|
12326
12326
|
getFeeHistory: (t) => ih(e, t),
|
|
12327
12327
|
estimateFeesPerGas: (t) => wb(e, t),
|
|
12328
12328
|
getFilterChanges: (t) => ps(e, t),
|
|
@@ -12351,7 +12351,7 @@ function v2(e) {
|
|
|
12351
12351
|
verifySiweMessage: (t) => C2(e, t),
|
|
12352
12352
|
verifyTypedData: (t) => f2(e, t),
|
|
12353
12353
|
uninstallFilter: (t) => ds(e, t),
|
|
12354
|
-
waitForTransactionReceipt: (t) =>
|
|
12354
|
+
waitForTransactionReceipt: (t) => Id(e, t),
|
|
12355
12355
|
watchBlocks: (t) => b2(e, t),
|
|
12356
12356
|
watchBlockNumber: (t) => Md(e, t),
|
|
12357
12357
|
watchContractEvent: (t) => hp(e, t),
|
|
@@ -12368,7 +12368,7 @@ function k2(e) {
|
|
|
12368
12368
|
type: "publicClient"
|
|
12369
12369
|
}).extend(v2);
|
|
12370
12370
|
}
|
|
12371
|
-
async function
|
|
12371
|
+
async function Ud(e, { chain: t }) {
|
|
12372
12372
|
const { id: n, name: a, nativeCurrency: r, rpcUrls: s, blockExplorers: i } = t;
|
|
12373
12373
|
await e.request({
|
|
12374
12374
|
method: "wallet_addEthereumChain",
|
|
@@ -12430,10 +12430,10 @@ async function Pd(e, t) {
|
|
|
12430
12430
|
blockTag: "pending"
|
|
12431
12431
|
}), (i === "self" || i != null && i.address && qa(i.address, s.address)) && (o.nonce += 1)), o;
|
|
12432
12432
|
}
|
|
12433
|
-
async function
|
|
12433
|
+
async function I2(e) {
|
|
12434
12434
|
return (await e.request({ method: "eth_requestAccounts" }, { dedupe: !0, retryCount: 0 })).map((n) => Yi(n));
|
|
12435
12435
|
}
|
|
12436
|
-
async function
|
|
12436
|
+
async function U2(e, t) {
|
|
12437
12437
|
return e.request({
|
|
12438
12438
|
method: "wallet_requestPermissions",
|
|
12439
12439
|
params: [t]
|
|
@@ -12474,9 +12474,9 @@ async function Rd(e, t) {
|
|
|
12474
12474
|
currentChainId: F,
|
|
12475
12475
|
chain: a
|
|
12476
12476
|
}));
|
|
12477
|
-
const
|
|
12477
|
+
const U = (A = (B = (C = e.chain) == null ? void 0 : C.formatters) == null ? void 0 : B.transactionRequest) == null ? void 0 : A.format, R = (U || mt)({
|
|
12478
12478
|
// Pick out extra data that might exist on the chain's transaction request type.
|
|
12479
|
-
...rn(v, { format:
|
|
12479
|
+
...rn(v, { format: U }),
|
|
12480
12480
|
accessList: r,
|
|
12481
12481
|
account: x,
|
|
12482
12482
|
authorizationList: s,
|
|
@@ -12507,12 +12507,12 @@ async function Rd(e, t) {
|
|
|
12507
12507
|
method: "wallet_sendTransaction",
|
|
12508
12508
|
params: [R]
|
|
12509
12509
|
}, { retryCount: 0 }).then((H) => (Js.set(e.uid, !0), H)).catch((H) => {
|
|
12510
|
-
const
|
|
12511
|
-
throw
|
|
12510
|
+
const W = H;
|
|
12511
|
+
throw W.name === "MethodNotFoundRpcError" || W.name === "MethodNotSupportedRpcError" ? (Js.set(e.uid, !1), $) : W;
|
|
12512
12512
|
});
|
|
12513
12513
|
throw $;
|
|
12514
12514
|
}
|
|
12515
|
-
})(), z = await L(e,
|
|
12515
|
+
})(), z = await L(e, Id, "waitForTransactionReceipt")({
|
|
12516
12516
|
checkReplacement: !1,
|
|
12517
12517
|
hash: _,
|
|
12518
12518
|
pollingInterval: b,
|
|
@@ -12542,8 +12542,8 @@ async function Rd(e, t) {
|
|
|
12542
12542
|
value: w,
|
|
12543
12543
|
...v,
|
|
12544
12544
|
to: M
|
|
12545
|
-
}),
|
|
12546
|
-
serializer:
|
|
12545
|
+
}), U = (E = a == null ? void 0 : a.serializers) == null ? void 0 : E.transaction, O = await x.signTransaction(F, {
|
|
12546
|
+
serializer: U
|
|
12547
12547
|
});
|
|
12548
12548
|
return await L(e, Jo, "sendRawTransactionSync")({
|
|
12549
12549
|
serializedTransaction: O,
|
|
@@ -12681,7 +12681,7 @@ async function L2(e, t) {
|
|
|
12681
12681
|
}
|
|
12682
12682
|
function z2(e) {
|
|
12683
12683
|
return {
|
|
12684
|
-
addChain: (t) =>
|
|
12684
|
+
addChain: (t) => Ud(e, t),
|
|
12685
12685
|
deployContract: (t) => A2(e, t),
|
|
12686
12686
|
fillTransaction: (t) => xo(e, t),
|
|
12687
12687
|
getAddresses: () => S2(e),
|
|
@@ -12691,8 +12691,8 @@ function z2(e) {
|
|
|
12691
12691
|
getPermissions: () => M2(e),
|
|
12692
12692
|
prepareAuthorization: (t) => Pd(e, t),
|
|
12693
12693
|
prepareTransactionRequest: (t) => ja(e, t),
|
|
12694
|
-
requestAddresses: () =>
|
|
12695
|
-
requestPermissions: (t) =>
|
|
12694
|
+
requestAddresses: () => I2(e),
|
|
12695
|
+
requestPermissions: (t) => U2(e, t),
|
|
12696
12696
|
sendCalls: (t) => Ep(e, t),
|
|
12697
12697
|
sendCallsSync: (t) => P2(e, t),
|
|
12698
12698
|
sendRawTransaction: (t) => Do(e, t),
|
|
@@ -12790,16 +12790,16 @@ function Fd(e, t = {}) {
|
|
|
12790
12790
|
await x.request({
|
|
12791
12791
|
body: O
|
|
12792
12792
|
})
|
|
12793
|
-
], [{ error: F, result:
|
|
12793
|
+
], [{ error: F, result: U }] = await M(A);
|
|
12794
12794
|
if (d)
|
|
12795
|
-
return { error: F, result:
|
|
12795
|
+
return { error: F, result: U };
|
|
12796
12796
|
if (F)
|
|
12797
12797
|
throw new oo({
|
|
12798
12798
|
body: A,
|
|
12799
12799
|
error: F,
|
|
12800
12800
|
url: g
|
|
12801
12801
|
});
|
|
12802
|
-
return
|
|
12802
|
+
return U;
|
|
12803
12803
|
},
|
|
12804
12804
|
retryCount: w,
|
|
12805
12805
|
retryDelay: p,
|
|
@@ -13144,7 +13144,7 @@ function u5(e) {
|
|
|
13144
13144
|
throw new l5({
|
|
13145
13145
|
givenLengthInWords: r
|
|
13146
13146
|
});
|
|
13147
|
-
const s = wt(r), i =
|
|
13147
|
+
const s = wt(r), i = Ue(s, { size: 2 }), o = new Uint8Array([1, 0]);
|
|
13148
13148
|
return a.set(o, 0), a.set(i, 2), a;
|
|
13149
13149
|
}
|
|
13150
13150
|
const p5 = (e) => {
|
|
@@ -13522,13 +13522,13 @@ function S5(e) {
|
|
|
13522
13522
|
if (n && !te(n))
|
|
13523
13523
|
throw new ue({ address: n });
|
|
13524
13524
|
}
|
|
13525
|
-
const
|
|
13525
|
+
const I = {
|
|
13526
13526
|
blockTime: 2e3,
|
|
13527
13527
|
contracts: Ld,
|
|
13528
13528
|
formatters: Qo,
|
|
13529
13529
|
serializers: v5
|
|
13530
13530
|
}, rr = 1, B5 = /* @__PURE__ */ c({
|
|
13531
|
-
...
|
|
13531
|
+
...I,
|
|
13532
13532
|
id: 888888888,
|
|
13533
13533
|
name: "Ancient8",
|
|
13534
13534
|
nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
|
|
@@ -13545,7 +13545,7 @@ const U = {
|
|
|
13545
13545
|
}
|
|
13546
13546
|
},
|
|
13547
13547
|
contracts: {
|
|
13548
|
-
...
|
|
13548
|
+
...I.contracts,
|
|
13549
13549
|
l2OutputOracle: {
|
|
13550
13550
|
[rr]: {
|
|
13551
13551
|
address: "0xB09DC08428C8b4EFB4ff9C0827386CDF34277996"
|
|
@@ -13566,7 +13566,7 @@ const U = {
|
|
|
13566
13566
|
},
|
|
13567
13567
|
sourceId: rr
|
|
13568
13568
|
}), sr = 11155111, M5 = /* @__PURE__ */ c({
|
|
13569
|
-
...
|
|
13569
|
+
...I,
|
|
13570
13570
|
id: 28122024,
|
|
13571
13571
|
name: "Ancient8 Testnet",
|
|
13572
13572
|
nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
|
|
@@ -13583,7 +13583,7 @@ const U = {
|
|
|
13583
13583
|
}
|
|
13584
13584
|
},
|
|
13585
13585
|
contracts: {
|
|
13586
|
-
...
|
|
13586
|
+
...I.contracts,
|
|
13587
13587
|
l2OutputOracle: {
|
|
13588
13588
|
[sr]: {
|
|
13589
13589
|
address: "0x942fD5017c0F60575930D8574Eaca13BEcD6e1bB"
|
|
@@ -13603,7 +13603,7 @@ const U = {
|
|
|
13603
13603
|
}
|
|
13604
13604
|
},
|
|
13605
13605
|
sourceId: sr
|
|
13606
|
-
}),
|
|
13606
|
+
}), I5 = /* @__PURE__ */ c({
|
|
13607
13607
|
id: 31337,
|
|
13608
13608
|
name: "Anvil",
|
|
13609
13609
|
nativeCurrency: {
|
|
@@ -13617,7 +13617,7 @@ const U = {
|
|
|
13617
13617
|
webSocket: ["ws://127.0.0.1:8545"]
|
|
13618
13618
|
}
|
|
13619
13619
|
}
|
|
13620
|
-
}),
|
|
13620
|
+
}), U5 = 42161, P5 = /* @__PURE__ */ c({
|
|
13621
13621
|
id: 33139,
|
|
13622
13622
|
name: "ApeChain",
|
|
13623
13623
|
nativeCurrency: {
|
|
@@ -13644,7 +13644,7 @@ const U = {
|
|
|
13644
13644
|
blockCreated: 20889
|
|
13645
13645
|
}
|
|
13646
13646
|
},
|
|
13647
|
-
sourceId:
|
|
13647
|
+
sourceId: U5
|
|
13648
13648
|
}), R5 = /* @__PURE__ */ c({
|
|
13649
13649
|
id: 3993,
|
|
13650
13650
|
name: "APEX Testnet",
|
|
@@ -14307,7 +14307,7 @@ const U = {
|
|
|
14307
14307
|
}
|
|
14308
14308
|
}
|
|
14309
14309
|
}), Jn = 1, Hd = /* @__PURE__ */ c({
|
|
14310
|
-
...
|
|
14310
|
+
...I,
|
|
14311
14311
|
id: 8453,
|
|
14312
14312
|
name: "Base",
|
|
14313
14313
|
nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
|
|
@@ -14324,7 +14324,7 @@ const U = {
|
|
|
14324
14324
|
}
|
|
14325
14325
|
},
|
|
14326
14326
|
contracts: {
|
|
14327
|
-
...
|
|
14327
|
+
...I.contracts,
|
|
14328
14328
|
disputeGameFactory: {
|
|
14329
14329
|
[Jn]: {
|
|
14330
14330
|
address: "0x43edB88C4B80fDD2AdFF2412A7BebF9dF42cB40e"
|
|
@@ -14380,7 +14380,7 @@ const U = {
|
|
|
14380
14380
|
},
|
|
14381
14381
|
testnet: !0
|
|
14382
14382
|
}), ir = 5, pT = /* @__PURE__ */ c({
|
|
14383
|
-
...
|
|
14383
|
+
...I,
|
|
14384
14384
|
id: 84531,
|
|
14385
14385
|
name: "Base Goerli",
|
|
14386
14386
|
nativeCurrency: { name: "Goerli Ether", symbol: "ETH", decimals: 18 },
|
|
@@ -14395,7 +14395,7 @@ const U = {
|
|
|
14395
14395
|
}
|
|
14396
14396
|
},
|
|
14397
14397
|
contracts: {
|
|
14398
|
-
...
|
|
14398
|
+
...I.contracts,
|
|
14399
14399
|
l2OutputOracle: {
|
|
14400
14400
|
[ir]: {
|
|
14401
14401
|
address: "0x2A35891ff30313CcFa6CE88dcf3858bb075A2298"
|
|
@@ -14419,7 +14419,7 @@ const U = {
|
|
|
14419
14419
|
testnet: !0,
|
|
14420
14420
|
sourceId: ir
|
|
14421
14421
|
}), Yn = 11155111, Vd = /* @__PURE__ */ c({
|
|
14422
|
-
...
|
|
14422
|
+
...I,
|
|
14423
14423
|
id: 84532,
|
|
14424
14424
|
network: "base-sepolia",
|
|
14425
14425
|
name: "Base Sepolia",
|
|
@@ -14437,7 +14437,7 @@ const U = {
|
|
|
14437
14437
|
}
|
|
14438
14438
|
},
|
|
14439
14439
|
contracts: {
|
|
14440
|
-
...
|
|
14440
|
+
...I.contracts,
|
|
14441
14441
|
disputeGameFactory: {
|
|
14442
14442
|
[Yn]: {
|
|
14443
14443
|
address: "0xd6E6dBf4F7EA0ac412fD8b65ED297e64BB7a06E1"
|
|
@@ -14856,7 +14856,7 @@ const U = {
|
|
|
14856
14856
|
}
|
|
14857
14857
|
},
|
|
14858
14858
|
testnet: !1
|
|
14859
|
-
}),
|
|
14859
|
+
}), IT = /* @__PURE__ */ c({
|
|
14860
14860
|
id: 199,
|
|
14861
14861
|
name: "BitTorrent",
|
|
14862
14862
|
network: "bittorrent-chain-mainnet",
|
|
@@ -14877,7 +14877,7 @@ const U = {
|
|
|
14877
14877
|
blockCreated: 31078552
|
|
14878
14878
|
}
|
|
14879
14879
|
}
|
|
14880
|
-
}),
|
|
14880
|
+
}), UT = /* @__PURE__ */ c({
|
|
14881
14881
|
id: 1028,
|
|
14882
14882
|
name: "BitTorrent Chain Testnet",
|
|
14883
14883
|
network: "bittorrent-chain-testnet",
|
|
@@ -14894,7 +14894,7 @@ const U = {
|
|
|
14894
14894
|
},
|
|
14895
14895
|
testnet: !0
|
|
14896
14896
|
}), or = 1, PT = /* @__PURE__ */ c({
|
|
14897
|
-
...
|
|
14897
|
+
...I,
|
|
14898
14898
|
id: 81457,
|
|
14899
14899
|
name: "Blast",
|
|
14900
14900
|
nativeCurrency: {
|
|
@@ -14913,7 +14913,7 @@ const U = {
|
|
|
14913
14913
|
}
|
|
14914
14914
|
},
|
|
14915
14915
|
contracts: {
|
|
14916
|
-
...
|
|
14916
|
+
...I.contracts,
|
|
14917
14917
|
multicall3: {
|
|
14918
14918
|
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
14919
14919
|
blockCreated: 212929
|
|
@@ -14967,7 +14967,7 @@ const U = {
|
|
|
14967
14967
|
testnet: !0,
|
|
14968
14968
|
sourceId: RT
|
|
14969
14969
|
}), Ys = 1, _T = c({
|
|
14970
|
-
...
|
|
14970
|
+
...I,
|
|
14971
14971
|
id: 60808,
|
|
14972
14972
|
name: "BOB",
|
|
14973
14973
|
nativeCurrency: {
|
|
@@ -14988,7 +14988,7 @@ const U = {
|
|
|
14988
14988
|
}
|
|
14989
14989
|
},
|
|
14990
14990
|
contracts: {
|
|
14991
|
-
...
|
|
14991
|
+
...I.contracts,
|
|
14992
14992
|
multicall3: {
|
|
14993
14993
|
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
14994
14994
|
blockCreated: 23131
|
|
@@ -15049,7 +15049,7 @@ const U = {
|
|
|
15049
15049
|
},
|
|
15050
15050
|
testnet: !0
|
|
15051
15051
|
}), Qs = 11155111, NT = c({
|
|
15052
|
-
...
|
|
15052
|
+
...I,
|
|
15053
15053
|
id: 808813,
|
|
15054
15054
|
name: "BOB Sepolia",
|
|
15055
15055
|
nativeCurrency: {
|
|
@@ -15070,7 +15070,7 @@ const U = {
|
|
|
15070
15070
|
}
|
|
15071
15071
|
},
|
|
15072
15072
|
contracts: {
|
|
15073
|
-
...
|
|
15073
|
+
...I.contracts,
|
|
15074
15074
|
multicall3: {
|
|
15075
15075
|
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
15076
15076
|
blockCreated: 35677
|
|
@@ -15549,7 +15549,7 @@ function dx(e) {
|
|
|
15549
15549
|
if (ca(r) && r > px)
|
|
15550
15550
|
throw new Ot({ maxFeePerGas: r });
|
|
15551
15551
|
if (ca(n) && ca(r) && n > r)
|
|
15552
|
-
throw new
|
|
15552
|
+
throw new Un({ maxFeePerGas: r, maxPriorityFeePerGas: n });
|
|
15553
15553
|
if (ca(i) && !te(i))
|
|
15554
15554
|
throw new S("`feeCurrency` MUST be a token address for CIP-64 transactions.");
|
|
15555
15555
|
if (Gd(i))
|
|
@@ -15960,7 +15960,7 @@ const _a = {
|
|
|
15960
15960
|
}
|
|
15961
15961
|
},
|
|
15962
15962
|
sourceId: Bx
|
|
15963
|
-
}),
|
|
15963
|
+
}), Ix = 11155111, Ux = /* @__PURE__ */ c({
|
|
15964
15964
|
id: 21000001,
|
|
15965
15965
|
name: "Corn Testnet",
|
|
15966
15966
|
nativeCurrency: {
|
|
@@ -15985,7 +15985,7 @@ const _a = {
|
|
|
15985
15985
|
}
|
|
15986
15986
|
},
|
|
15987
15987
|
testnet: !0,
|
|
15988
|
-
sourceId:
|
|
15988
|
+
sourceId: Ix
|
|
15989
15989
|
}), Px = c({
|
|
15990
15990
|
id: 44,
|
|
15991
15991
|
name: "Crab Network",
|
|
@@ -16355,7 +16355,7 @@ const _a = {
|
|
|
16355
16355
|
},
|
|
16356
16356
|
testnet: !1
|
|
16357
16357
|
}), Xx = /* @__PURE__ */ c({
|
|
16358
|
-
...
|
|
16358
|
+
...I,
|
|
16359
16359
|
id: 2716446429837e3,
|
|
16360
16360
|
name: "Dchain",
|
|
16361
16361
|
nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
|
|
@@ -16372,10 +16372,10 @@ const _a = {
|
|
|
16372
16372
|
}
|
|
16373
16373
|
},
|
|
16374
16374
|
contracts: {
|
|
16375
|
-
...
|
|
16375
|
+
...I.contracts
|
|
16376
16376
|
}
|
|
16377
16377
|
}), Jx = /* @__PURE__ */ c({
|
|
16378
|
-
...
|
|
16378
|
+
...I,
|
|
16379
16379
|
id: 2713017997578e3,
|
|
16380
16380
|
name: "Dchain Testnet",
|
|
16381
16381
|
nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
|
|
@@ -16394,7 +16394,7 @@ const _a = {
|
|
|
16394
16394
|
}
|
|
16395
16395
|
},
|
|
16396
16396
|
contracts: {
|
|
16397
|
-
...
|
|
16397
|
+
...I.contracts
|
|
16398
16398
|
}
|
|
16399
16399
|
}), Yx = /* @__PURE__ */ c({
|
|
16400
16400
|
id: 1130,
|
|
@@ -17022,7 +17022,7 @@ const _a = {
|
|
|
17022
17022
|
},
|
|
17023
17023
|
testnet: !0
|
|
17024
17024
|
}), Bw = /* @__PURE__ */ c({
|
|
17025
|
-
...
|
|
17025
|
+
...I,
|
|
17026
17026
|
id: 1338,
|
|
17027
17027
|
name: "Elysium Testnet",
|
|
17028
17028
|
nativeCurrency: {
|
|
@@ -17058,7 +17058,7 @@ const _a = {
|
|
|
17058
17058
|
}
|
|
17059
17059
|
},
|
|
17060
17060
|
testnet: !1
|
|
17061
|
-
}),
|
|
17061
|
+
}), Iw = /* @__PURE__ */ c({
|
|
17062
17062
|
id: 173,
|
|
17063
17063
|
name: "ENI Mainnet",
|
|
17064
17064
|
nativeCurrency: {
|
|
@@ -17076,7 +17076,7 @@ const _a = {
|
|
|
17076
17076
|
}
|
|
17077
17077
|
},
|
|
17078
17078
|
testnet: !1
|
|
17079
|
-
}),
|
|
17079
|
+
}), Uw = /* @__PURE__ */ c({
|
|
17080
17080
|
id: 6912115,
|
|
17081
17081
|
name: "ENI Testnet",
|
|
17082
17082
|
nativeCurrency: {
|
|
@@ -17808,7 +17808,7 @@ const _a = {
|
|
|
17808
17808
|
}
|
|
17809
17809
|
},
|
|
17810
17810
|
contracts: {
|
|
17811
|
-
...
|
|
17811
|
+
...I.contracts,
|
|
17812
17812
|
addressManager: {
|
|
17813
17813
|
[yn]: {
|
|
17814
17814
|
address: "0x15c249E46A2F924C2dB3A1560CF86729bAD1f07B"
|
|
@@ -17887,7 +17887,7 @@ const _a = {
|
|
|
17887
17887
|
}
|
|
17888
17888
|
},
|
|
17889
17889
|
contracts: {
|
|
17890
|
-
...
|
|
17890
|
+
...I.contracts,
|
|
17891
17891
|
addressManager: {
|
|
17892
17892
|
[fn]: {
|
|
17893
17893
|
address: "0xd5C38fa934f7fd7477D4800F4f38a1c5BFdF1373"
|
|
@@ -17953,7 +17953,7 @@ const _a = {
|
|
|
17953
17953
|
}
|
|
17954
17954
|
}
|
|
17955
17955
|
}), cr = 1, b3 = /* @__PURE__ */ c({
|
|
17956
|
-
...
|
|
17956
|
+
...I,
|
|
17957
17957
|
id: 252,
|
|
17958
17958
|
name: "Fraxtal",
|
|
17959
17959
|
nativeCurrency: { name: "Frax", symbol: "FRAX", decimals: 18 },
|
|
@@ -17970,7 +17970,7 @@ const _a = {
|
|
|
17970
17970
|
}
|
|
17971
17971
|
},
|
|
17972
17972
|
contracts: {
|
|
17973
|
-
...
|
|
17973
|
+
...I.contracts,
|
|
17974
17974
|
l2OutputOracle: {
|
|
17975
17975
|
[cr]: {
|
|
17976
17976
|
address: "0x66CC916Ed5C6C2FA97014f7D1cD141528Ae171e4"
|
|
@@ -17994,7 +17994,7 @@ const _a = {
|
|
|
17994
17994
|
},
|
|
17995
17995
|
sourceId: cr
|
|
17996
17996
|
}), ur = 17e3, h3 = /* @__PURE__ */ c({
|
|
17997
|
-
...
|
|
17997
|
+
...I,
|
|
17998
17998
|
id: 2522,
|
|
17999
17999
|
name: "Fraxtal Testnet",
|
|
18000
18000
|
nativeCurrency: { name: "Frax", symbol: "FRAX", decimals: 18 },
|
|
@@ -18011,7 +18011,7 @@ const _a = {
|
|
|
18011
18011
|
}
|
|
18012
18012
|
},
|
|
18013
18013
|
contracts: {
|
|
18014
|
-
...
|
|
18014
|
+
...I.contracts,
|
|
18015
18015
|
l2OutputOracle: {
|
|
18016
18016
|
[ur]: {
|
|
18017
18017
|
address: "0x715EA64DA13F4d0831ece4Ad3E8c1aa013167F32"
|
|
@@ -18035,7 +18035,7 @@ const _a = {
|
|
|
18035
18035
|
},
|
|
18036
18036
|
sourceId: ur
|
|
18037
18037
|
}), T3 = 1, x3 = /* @__PURE__ */ c({
|
|
18038
|
-
...
|
|
18038
|
+
...I,
|
|
18039
18039
|
id: 33979,
|
|
18040
18040
|
name: "Funki",
|
|
18041
18041
|
nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
|
|
@@ -18051,11 +18051,11 @@ const _a = {
|
|
|
18051
18051
|
}
|
|
18052
18052
|
},
|
|
18053
18053
|
contracts: {
|
|
18054
|
-
...
|
|
18054
|
+
...I.contracts
|
|
18055
18055
|
},
|
|
18056
18056
|
sourceId: T3
|
|
18057
18057
|
}), w3 = 11155111, g3 = c({
|
|
18058
|
-
...
|
|
18058
|
+
...I,
|
|
18059
18059
|
id: 3397901,
|
|
18060
18060
|
network: "funkiSepolia",
|
|
18061
18061
|
name: "Funki Sepolia Sandbox",
|
|
@@ -18073,7 +18073,7 @@ const _a = {
|
|
|
18073
18073
|
},
|
|
18074
18074
|
testnet: !0,
|
|
18075
18075
|
contracts: {
|
|
18076
|
-
...
|
|
18076
|
+
...I.contracts,
|
|
18077
18077
|
multicall3: {
|
|
18078
18078
|
address: "0xca11bde05977b3631167028862be2a173976ca11",
|
|
18079
18079
|
blockCreated: 1620204
|
|
@@ -18161,7 +18161,7 @@ const _a = {
|
|
|
18161
18161
|
},
|
|
18162
18162
|
testnet: !0
|
|
18163
18163
|
}), pr = 17e3, A3 = c({
|
|
18164
|
-
...
|
|
18164
|
+
...I,
|
|
18165
18165
|
name: "Garnet Testnet",
|
|
18166
18166
|
testnet: !0,
|
|
18167
18167
|
id: 17069,
|
|
@@ -18180,7 +18180,7 @@ const _a = {
|
|
|
18180
18180
|
}
|
|
18181
18181
|
},
|
|
18182
18182
|
contracts: {
|
|
18183
|
-
...
|
|
18183
|
+
...I.contracts,
|
|
18184
18184
|
multicall3: {
|
|
18185
18185
|
address: "0xca11bde05977b3631167028862be2a173976ca11"
|
|
18186
18186
|
},
|
|
@@ -18264,8 +18264,8 @@ const _a = {
|
|
|
18264
18264
|
}
|
|
18265
18265
|
},
|
|
18266
18266
|
testnet: !1
|
|
18267
|
-
}), dr = 11155111,
|
|
18268
|
-
...
|
|
18267
|
+
}), dr = 11155111, I3 = /* @__PURE__ */ c({
|
|
18268
|
+
...I,
|
|
18269
18269
|
id: 91342,
|
|
18270
18270
|
network: "giwa-sepolia",
|
|
18271
18271
|
name: "GIWA Sepolia",
|
|
@@ -18284,7 +18284,7 @@ const _a = {
|
|
|
18284
18284
|
}
|
|
18285
18285
|
},
|
|
18286
18286
|
contracts: {
|
|
18287
|
-
...
|
|
18287
|
+
...I.contracts,
|
|
18288
18288
|
multicall3: {
|
|
18289
18289
|
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
18290
18290
|
blockCreated: 0
|
|
@@ -18307,7 +18307,7 @@ const _a = {
|
|
|
18307
18307
|
},
|
|
18308
18308
|
testnet: !0,
|
|
18309
18309
|
sourceId: dr
|
|
18310
|
-
}),
|
|
18310
|
+
}), U3 = /* @__PURE__ */ c({
|
|
18311
18311
|
id: 251,
|
|
18312
18312
|
name: "Glide L1 Protocol XP",
|
|
18313
18313
|
nativeCurrency: { name: "GLXP", symbol: "GLXP", decimals: 18 },
|
|
@@ -19406,7 +19406,7 @@ const _a = {
|
|
|
19406
19406
|
}
|
|
19407
19407
|
},
|
|
19408
19408
|
testnet: !1
|
|
19409
|
-
}),
|
|
19409
|
+
}), Ig = /* @__PURE__ */ c({
|
|
19410
19410
|
id: 1439,
|
|
19411
19411
|
name: "Injective Testnet",
|
|
19412
19412
|
nativeCurrency: {
|
|
@@ -19428,8 +19428,8 @@ const _a = {
|
|
|
19428
19428
|
}
|
|
19429
19429
|
},
|
|
19430
19430
|
testnet: !0
|
|
19431
|
-
}), mr = 1,
|
|
19432
|
-
...
|
|
19431
|
+
}), mr = 1, Ug = /* @__PURE__ */ c({
|
|
19432
|
+
...I,
|
|
19433
19433
|
id: 57073,
|
|
19434
19434
|
name: "Ink",
|
|
19435
19435
|
nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
|
|
@@ -19457,7 +19457,7 @@ const _a = {
|
|
|
19457
19457
|
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
19458
19458
|
blockCreated: 0
|
|
19459
19459
|
},
|
|
19460
|
-
...
|
|
19460
|
+
...I.contracts,
|
|
19461
19461
|
disputeGameFactory: {
|
|
19462
19462
|
[mr]: {
|
|
19463
19463
|
address: "0x10d7b35078d3baabb96dd45a9143b94be65b12cd"
|
|
@@ -19477,7 +19477,7 @@ const _a = {
|
|
|
19477
19477
|
testnet: !1,
|
|
19478
19478
|
sourceId: mr
|
|
19479
19479
|
}), yr = 11155111, Pg = /* @__PURE__ */ c({
|
|
19480
|
-
...
|
|
19480
|
+
...I,
|
|
19481
19481
|
id: 763373,
|
|
19482
19482
|
name: "Ink Sepolia",
|
|
19483
19483
|
nativeCurrency: { name: "Sepolia Ether", symbol: "ETH", decimals: 18 },
|
|
@@ -19494,7 +19494,7 @@ const _a = {
|
|
|
19494
19494
|
}
|
|
19495
19495
|
},
|
|
19496
19496
|
contracts: {
|
|
19497
|
-
...
|
|
19497
|
+
...I.contracts,
|
|
19498
19498
|
multicall3: {
|
|
19499
19499
|
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
19500
19500
|
blockCreated: 0
|
|
@@ -20570,7 +20570,7 @@ const _a = {
|
|
|
20570
20570
|
},
|
|
20571
20571
|
testnet: !1
|
|
20572
20572
|
});
|
|
20573
|
-
async function
|
|
20573
|
+
async function I8(e, t) {
|
|
20574
20574
|
var r, s, i;
|
|
20575
20575
|
const { account: n = e.account } = t;
|
|
20576
20576
|
if (!n)
|
|
@@ -20602,7 +20602,7 @@ async function U8(e, t) {
|
|
|
20602
20602
|
priorityFeePerGas: BigInt(F)
|
|
20603
20603
|
};
|
|
20604
20604
|
} catch (o) {
|
|
20605
|
-
throw
|
|
20605
|
+
throw Uo(o, {
|
|
20606
20606
|
...t,
|
|
20607
20607
|
account: a,
|
|
20608
20608
|
chain: e.chain
|
|
@@ -20626,7 +20626,7 @@ const el = {
|
|
|
20626
20626
|
};
|
|
20627
20627
|
async function pc({ client: e, multiply: t, request: n, type: a }) {
|
|
20628
20628
|
try {
|
|
20629
|
-
const r = await
|
|
20629
|
+
const r = await I8(e, {
|
|
20630
20630
|
...n,
|
|
20631
20631
|
account: n == null ? void 0 : n.account
|
|
20632
20632
|
}), { priorityFeePerGas: s } = r, o = t(BigInt(r.baseFeePerGas)) + s;
|
|
@@ -20638,7 +20638,7 @@ async function pc({ client: e, multiply: t, request: n, type: a }) {
|
|
|
20638
20638
|
return null;
|
|
20639
20639
|
}
|
|
20640
20640
|
}
|
|
20641
|
-
const
|
|
20641
|
+
const U8 = /* @__PURE__ */ c({
|
|
20642
20642
|
...el,
|
|
20643
20643
|
id: 59144,
|
|
20644
20644
|
name: "Linea Mainnet",
|
|
@@ -20756,7 +20756,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
20756
20756
|
},
|
|
20757
20757
|
testnet: !0
|
|
20758
20758
|
}), fr = 1, _8 = /* @__PURE__ */ c({
|
|
20759
|
-
...
|
|
20759
|
+
...I,
|
|
20760
20760
|
id: 1135,
|
|
20761
20761
|
name: "Lisk",
|
|
20762
20762
|
network: "lisk",
|
|
@@ -20778,7 +20778,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
20778
20778
|
}
|
|
20779
20779
|
},
|
|
20780
20780
|
contracts: {
|
|
20781
|
-
...
|
|
20781
|
+
...I.contracts,
|
|
20782
20782
|
multicall3: {
|
|
20783
20783
|
address: "0xA9d71E1dd7ca26F26e656E66d6AA81ed7f745bf0"
|
|
20784
20784
|
},
|
|
@@ -20800,7 +20800,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
20800
20800
|
},
|
|
20801
20801
|
sourceId: fr
|
|
20802
20802
|
}), br = 11155111, F8 = /* @__PURE__ */ c({
|
|
20803
|
-
...
|
|
20803
|
+
...I,
|
|
20804
20804
|
id: 4202,
|
|
20805
20805
|
network: "lisk-sepolia",
|
|
20806
20806
|
name: "Lisk Sepolia",
|
|
@@ -20818,7 +20818,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
20818
20818
|
}
|
|
20819
20819
|
},
|
|
20820
20820
|
contracts: {
|
|
20821
|
-
...
|
|
20821
|
+
...I.contracts,
|
|
20822
20822
|
l2OutputOracle: {
|
|
20823
20823
|
[br]: {
|
|
20824
20824
|
address: "0xA0E35F56C318DE1bD5D9ca6A94Fe7e37C5663348"
|
|
@@ -21614,7 +21614,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
21614
21614
|
},
|
|
21615
21615
|
testnet: !1
|
|
21616
21616
|
}), hr = 1, TE = /* @__PURE__ */ c({
|
|
21617
|
-
...
|
|
21617
|
+
...I,
|
|
21618
21618
|
id: 1750,
|
|
21619
21619
|
name: "Metal L2",
|
|
21620
21620
|
nativeCurrency: {
|
|
@@ -21636,7 +21636,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
21636
21636
|
}
|
|
21637
21637
|
},
|
|
21638
21638
|
contracts: {
|
|
21639
|
-
...
|
|
21639
|
+
...I.contracts,
|
|
21640
21640
|
l2OutputOracle: {
|
|
21641
21641
|
[hr]: {
|
|
21642
21642
|
address: "0x3B1F7aDa0Fcc26B13515af752Dd07fB1CAc11426"
|
|
@@ -21883,7 +21883,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
21883
21883
|
},
|
|
21884
21884
|
testnet: !0
|
|
21885
21885
|
}), Tr = 1, ME = /* @__PURE__ */ c({
|
|
21886
|
-
...
|
|
21886
|
+
...I,
|
|
21887
21887
|
id: 34443,
|
|
21888
21888
|
name: "Mode Mainnet",
|
|
21889
21889
|
nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
|
|
@@ -21899,7 +21899,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
21899
21899
|
}
|
|
21900
21900
|
},
|
|
21901
21901
|
contracts: {
|
|
21902
|
-
...
|
|
21902
|
+
...I.contracts,
|
|
21903
21903
|
multicall3: {
|
|
21904
21904
|
address: "0xca11bde05977b3631167028862be2a173976ca11",
|
|
21905
21905
|
blockCreated: 2465882
|
|
@@ -21921,8 +21921,8 @@ const I8 = /* @__PURE__ */ c({
|
|
|
21921
21921
|
}
|
|
21922
21922
|
},
|
|
21923
21923
|
sourceId: Tr
|
|
21924
|
-
}), xr = 11155111,
|
|
21925
|
-
...
|
|
21924
|
+
}), xr = 11155111, IE = /* @__PURE__ */ c({
|
|
21925
|
+
...I,
|
|
21926
21926
|
id: 919,
|
|
21927
21927
|
name: "Mode Testnet",
|
|
21928
21928
|
nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
|
|
@@ -21939,7 +21939,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
21939
21939
|
}
|
|
21940
21940
|
},
|
|
21941
21941
|
contracts: {
|
|
21942
|
-
...
|
|
21942
|
+
...I.contracts,
|
|
21943
21943
|
l2OutputOracle: {
|
|
21944
21944
|
[xr]: {
|
|
21945
21945
|
address: "0x2634BD65ba27AB63811c74A63118ACb312701Bfa",
|
|
@@ -21965,7 +21965,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
21965
21965
|
},
|
|
21966
21966
|
testnet: !0,
|
|
21967
21967
|
sourceId: xr
|
|
21968
|
-
}),
|
|
21968
|
+
}), UE = /* @__PURE__ */ c({
|
|
21969
21969
|
id: 143,
|
|
21970
21970
|
name: "Monad",
|
|
21971
21971
|
blockTime: 400,
|
|
@@ -22639,7 +22639,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
22639
22639
|
}
|
|
22640
22640
|
},
|
|
22641
22641
|
contracts: {
|
|
22642
|
-
...
|
|
22642
|
+
...I.contracts,
|
|
22643
22643
|
multicall3: {
|
|
22644
22644
|
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
22645
22645
|
blockCreated: 512881
|
|
@@ -22679,7 +22679,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
22679
22679
|
}
|
|
22680
22680
|
},
|
|
22681
22681
|
contracts: {
|
|
22682
|
-
...
|
|
22682
|
+
...I.contracts,
|
|
22683
22683
|
multicall3: {
|
|
22684
22684
|
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
22685
22685
|
blockCreated: 3705108
|
|
@@ -22717,7 +22717,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
22717
22717
|
},
|
|
22718
22718
|
testnet: !1
|
|
22719
22719
|
}), Qn = 1, dC = /* @__PURE__ */ c({
|
|
22720
|
-
...
|
|
22720
|
+
...I,
|
|
22721
22721
|
id: 10,
|
|
22722
22722
|
name: "OP Mainnet",
|
|
22723
22723
|
nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
|
|
@@ -22734,7 +22734,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
22734
22734
|
}
|
|
22735
22735
|
},
|
|
22736
22736
|
contracts: {
|
|
22737
|
-
...
|
|
22737
|
+
...I.contracts,
|
|
22738
22738
|
disputeGameFactory: {
|
|
22739
22739
|
[Qn]: {
|
|
22740
22740
|
address: "0xe5965Ab5962eDc7477C8520243A95517CD252fA9"
|
|
@@ -22762,7 +22762,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
22762
22762
|
},
|
|
22763
22763
|
sourceId: Qn
|
|
22764
22764
|
}), Er = 5, mC = /* @__PURE__ */ c({
|
|
22765
|
-
...
|
|
22765
|
+
...I,
|
|
22766
22766
|
id: 420,
|
|
22767
22767
|
name: "Optimism Goerli",
|
|
22768
22768
|
nativeCurrency: { name: "Goerli Ether", symbol: "ETH", decimals: 18 },
|
|
@@ -22779,7 +22779,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
22779
22779
|
}
|
|
22780
22780
|
},
|
|
22781
22781
|
contracts: {
|
|
22782
|
-
...
|
|
22782
|
+
...I.contracts,
|
|
22783
22783
|
l2OutputOracle: {
|
|
22784
22784
|
[Er]: {
|
|
22785
22785
|
address: "0xE6Dfba0953616Bacab0c9A8ecb3a9BBa77FC15c0"
|
|
@@ -22803,7 +22803,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
22803
22803
|
testnet: !0,
|
|
22804
22804
|
sourceId: Er
|
|
22805
22805
|
}), ea = 11155111, yC = /* @__PURE__ */ c({
|
|
22806
|
-
...
|
|
22806
|
+
...I,
|
|
22807
22807
|
id: 11155420,
|
|
22808
22808
|
name: "OP Sepolia",
|
|
22809
22809
|
nativeCurrency: { name: "Sepolia Ether", symbol: "ETH", decimals: 18 },
|
|
@@ -22820,7 +22820,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
22820
22820
|
}
|
|
22821
22821
|
},
|
|
22822
22822
|
contracts: {
|
|
22823
|
-
...
|
|
22823
|
+
...I.contracts,
|
|
22824
22824
|
disputeGameFactory: {
|
|
22825
22825
|
[ea]: {
|
|
22826
22826
|
address: "0x05F9613aDB30026FFd634f38e5C4dFd30a197Fa1"
|
|
@@ -23216,7 +23216,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
23216
23216
|
}
|
|
23217
23217
|
},
|
|
23218
23218
|
testnet: !0
|
|
23219
|
-
}),
|
|
23219
|
+
}), IC = /* @__PURE__ */ c({
|
|
23220
23220
|
...Ge,
|
|
23221
23221
|
id: 1612127,
|
|
23222
23222
|
name: "PlayFi Albireo Testnet",
|
|
@@ -23240,7 +23240,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
23240
23240
|
}
|
|
23241
23241
|
},
|
|
23242
23242
|
testnet: !0
|
|
23243
|
-
}),
|
|
23243
|
+
}), UC = /* @__PURE__ */ c({
|
|
23244
23244
|
id: 242,
|
|
23245
23245
|
name: "Plinga",
|
|
23246
23246
|
nativeCurrency: { name: "Plinga", symbol: "PLINGA", decimals: 18 },
|
|
@@ -23750,7 +23750,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
23750
23750
|
},
|
|
23751
23751
|
testnet: !0
|
|
23752
23752
|
}), dc = 11155111, av = c({
|
|
23753
|
-
...
|
|
23753
|
+
...I,
|
|
23754
23754
|
name: "Pyrope Testnet",
|
|
23755
23755
|
testnet: !0,
|
|
23756
23756
|
id: 695569,
|
|
@@ -23769,7 +23769,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
23769
23769
|
}
|
|
23770
23770
|
},
|
|
23771
23771
|
contracts: {
|
|
23772
|
-
...
|
|
23772
|
+
...I.contracts,
|
|
23773
23773
|
l1StandardBridge: {
|
|
23774
23774
|
[dc]: {
|
|
23775
23775
|
address: "0xC24932c31D9621aE9e792576152B7ef010cFC2F8"
|
|
@@ -23983,7 +23983,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
23983
23983
|
},
|
|
23984
23984
|
testnet: !0
|
|
23985
23985
|
}), kr = 1, yv = c({
|
|
23986
|
-
...
|
|
23986
|
+
...I,
|
|
23987
23987
|
name: "Redstone",
|
|
23988
23988
|
id: 690,
|
|
23989
23989
|
sourceId: kr,
|
|
@@ -24001,7 +24001,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
24001
24001
|
}
|
|
24002
24002
|
},
|
|
24003
24003
|
contracts: {
|
|
24004
|
-
...
|
|
24004
|
+
...I.contracts,
|
|
24005
24005
|
multicall3: {
|
|
24006
24006
|
address: "0xca11bde05977b3631167028862be2a173976ca11"
|
|
24007
24007
|
},
|
|
@@ -24279,7 +24279,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
24279
24279
|
},
|
|
24280
24280
|
testnet: !0
|
|
24281
24281
|
}), Ar = 1, Av = /* @__PURE__ */ c({
|
|
24282
|
-
...
|
|
24282
|
+
...I,
|
|
24283
24283
|
id: 12553,
|
|
24284
24284
|
name: "RSS3 VSL Mainnet",
|
|
24285
24285
|
nativeCurrency: { name: "RSS3", symbol: "RSS3", decimals: 18 },
|
|
@@ -24296,7 +24296,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
24296
24296
|
}
|
|
24297
24297
|
},
|
|
24298
24298
|
contracts: {
|
|
24299
|
-
...
|
|
24299
|
+
...I.contracts,
|
|
24300
24300
|
l2OutputOracle: {
|
|
24301
24301
|
[Ar]: {
|
|
24302
24302
|
address: "0xE6f24d2C32B3109B18ed33cF08eFb490b1e09C10"
|
|
@@ -24320,7 +24320,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
24320
24320
|
},
|
|
24321
24321
|
sourceId: Ar
|
|
24322
24322
|
}), Sr = 11155111, Sv = /* @__PURE__ */ c({
|
|
24323
|
-
...
|
|
24323
|
+
...I,
|
|
24324
24324
|
id: 2331,
|
|
24325
24325
|
name: "RSS3 VSL Sepolia Testnet",
|
|
24326
24326
|
nativeCurrency: { name: "RSS3", symbol: "RSS3", decimals: 18 },
|
|
@@ -24337,7 +24337,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
24337
24337
|
}
|
|
24338
24338
|
},
|
|
24339
24339
|
contracts: {
|
|
24340
|
-
...
|
|
24340
|
+
...I.contracts,
|
|
24341
24341
|
l2OutputOracle: {
|
|
24342
24342
|
[Sr]: {
|
|
24343
24343
|
address: "0xDb5c46C3Eaa6Ed6aE8b2379785DF7dd029C0dC81"
|
|
@@ -24401,7 +24401,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
24401
24401
|
blockCreated: 467530
|
|
24402
24402
|
}
|
|
24403
24403
|
}
|
|
24404
|
-
}),
|
|
24404
|
+
}), Iv = /* @__PURE__ */ c({
|
|
24405
24405
|
id: 2021,
|
|
24406
24406
|
name: "Saigon Testnet",
|
|
24407
24407
|
nativeCurrency: { name: "RON", symbol: "RON", decimals: 18 },
|
|
@@ -24423,7 +24423,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
24423
24423
|
}
|
|
24424
24424
|
},
|
|
24425
24425
|
testnet: !0
|
|
24426
|
-
}),
|
|
24426
|
+
}), Uv = /* @__PURE__ */ c({
|
|
24427
24427
|
id: 1996,
|
|
24428
24428
|
name: "Sanko",
|
|
24429
24429
|
nativeCurrency: { name: "DMT", symbol: "DMT", decimals: 18 },
|
|
@@ -24676,7 +24676,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
24676
24676
|
},
|
|
24677
24677
|
testnet: !0
|
|
24678
24678
|
}), Br = 1, Vv = /* @__PURE__ */ c({
|
|
24679
|
-
...
|
|
24679
|
+
...I,
|
|
24680
24680
|
id: 360,
|
|
24681
24681
|
name: "Shape",
|
|
24682
24682
|
nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
|
|
@@ -24693,7 +24693,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
24693
24693
|
}
|
|
24694
24694
|
},
|
|
24695
24695
|
contracts: {
|
|
24696
|
-
...
|
|
24696
|
+
...I.contracts,
|
|
24697
24697
|
l2OutputOracle: {
|
|
24698
24698
|
[Br]: {
|
|
24699
24699
|
address: "0x6Ef8c69CfE4635d866e3E02732068022c06e724D",
|
|
@@ -24719,7 +24719,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
24719
24719
|
},
|
|
24720
24720
|
sourceId: Br
|
|
24721
24721
|
}), Gv = 11155111, jv = /* @__PURE__ */ c({
|
|
24722
|
-
...
|
|
24722
|
+
...I,
|
|
24723
24723
|
id: 11011,
|
|
24724
24724
|
name: "Shape Sepolia Testnet",
|
|
24725
24725
|
nativeCurrency: { name: "Sepolia Ether", symbol: "ETH", decimals: 18 },
|
|
@@ -24736,7 +24736,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
24736
24736
|
}
|
|
24737
24737
|
},
|
|
24738
24738
|
contracts: {
|
|
24739
|
-
...
|
|
24739
|
+
...I.contracts,
|
|
24740
24740
|
multicall3: {
|
|
24741
24741
|
address: "0xca11bde05977b3631167028862be2a173976ca11",
|
|
24742
24742
|
blockCreated: 1
|
|
@@ -25288,7 +25288,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
25288
25288
|
},
|
|
25289
25289
|
testnet: !0
|
|
25290
25290
|
}), ta = 1, xk = /* @__PURE__ */ c({
|
|
25291
|
-
...
|
|
25291
|
+
...I,
|
|
25292
25292
|
id: 2192,
|
|
25293
25293
|
network: "snaxchain-mainnet",
|
|
25294
25294
|
name: "SnaxChain",
|
|
@@ -25306,7 +25306,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
25306
25306
|
}
|
|
25307
25307
|
},
|
|
25308
25308
|
contracts: {
|
|
25309
|
-
...
|
|
25309
|
+
...I.contracts,
|
|
25310
25310
|
disputeGameFactory: {
|
|
25311
25311
|
[ta]: {
|
|
25312
25312
|
address: "0x472562Fcf26D6b2793f8E0b0fB660ba0E5e08A46"
|
|
@@ -25333,7 +25333,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
25333
25333
|
},
|
|
25334
25334
|
sourceId: ta
|
|
25335
25335
|
}), na = 11155111, wk = /* @__PURE__ */ c({
|
|
25336
|
-
...
|
|
25336
|
+
...I,
|
|
25337
25337
|
id: 13001,
|
|
25338
25338
|
network: "snaxchain-testnet",
|
|
25339
25339
|
name: "SnaxChain Testnet",
|
|
@@ -25351,7 +25351,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
25351
25351
|
}
|
|
25352
25352
|
},
|
|
25353
25353
|
contracts: {
|
|
25354
|
-
...
|
|
25354
|
+
...I.contracts,
|
|
25355
25355
|
disputeGameFactory: {
|
|
25356
25356
|
[na]: {
|
|
25357
25357
|
address: "0x206a75d89d45F146C54020F132FF93bEDD09f55E"
|
|
@@ -25402,7 +25402,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
25402
25402
|
},
|
|
25403
25403
|
testnet: !0
|
|
25404
25404
|
}), aa = 1, Ek = /* @__PURE__ */ c({
|
|
25405
|
-
...
|
|
25405
|
+
...I,
|
|
25406
25406
|
id: 1868,
|
|
25407
25407
|
name: "Soneium Mainnet",
|
|
25408
25408
|
nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
|
|
@@ -25419,7 +25419,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
25419
25419
|
}
|
|
25420
25420
|
},
|
|
25421
25421
|
contracts: {
|
|
25422
|
-
...
|
|
25422
|
+
...I.contracts,
|
|
25423
25423
|
disputeGameFactory: {
|
|
25424
25424
|
[aa]: {
|
|
25425
25425
|
address: "0x512a3d2c7a43bd9261d2b8e8c9c70d4bd4d503c0"
|
|
@@ -25449,7 +25449,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
25449
25449
|
},
|
|
25450
25450
|
sourceId: aa
|
|
25451
25451
|
}), ra = 11155111, Ck = /* @__PURE__ */ c({
|
|
25452
|
-
...
|
|
25452
|
+
...I,
|
|
25453
25453
|
id: 1946,
|
|
25454
25454
|
name: "Soneium Minato Testnet",
|
|
25455
25455
|
nativeCurrency: { name: "Sepolia Ether", symbol: "ETH", decimals: 18 },
|
|
@@ -25466,7 +25466,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
25466
25466
|
}
|
|
25467
25467
|
},
|
|
25468
25468
|
contracts: {
|
|
25469
|
-
...
|
|
25469
|
+
...I.contracts,
|
|
25470
25470
|
disputeGameFactory: {
|
|
25471
25471
|
[ra]: {
|
|
25472
25472
|
address: "0xB3Ad2c38E6e0640d7ce6aA952AB3A60E81bf7a01"
|
|
@@ -25635,7 +25635,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
25635
25635
|
}
|
|
25636
25636
|
},
|
|
25637
25637
|
testnet: !1
|
|
25638
|
-
}),
|
|
25638
|
+
}), Ik = /* @__PURE__ */ c({
|
|
25639
25639
|
...Ge,
|
|
25640
25640
|
blockTime: 200,
|
|
25641
25641
|
id: 531050104,
|
|
@@ -25664,7 +25664,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
25664
25664
|
}
|
|
25665
25665
|
},
|
|
25666
25666
|
testnet: !0
|
|
25667
|
-
}),
|
|
25667
|
+
}), Uk = /* @__PURE__ */ c({
|
|
25668
25668
|
id: 100021,
|
|
25669
25669
|
name: "Sova",
|
|
25670
25670
|
nativeCurrency: {
|
|
@@ -25939,7 +25939,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
25939
25939
|
},
|
|
25940
25940
|
testnet: !1
|
|
25941
25941
|
}), sa = 1, Hk = /* @__PURE__ */ c({
|
|
25942
|
-
...
|
|
25942
|
+
...I,
|
|
25943
25943
|
id: 5330,
|
|
25944
25944
|
name: "Superseed",
|
|
25945
25945
|
nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
|
|
@@ -25956,7 +25956,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
25956
25956
|
}
|
|
25957
25957
|
},
|
|
25958
25958
|
contracts: {
|
|
25959
|
-
...
|
|
25959
|
+
...I.contracts,
|
|
25960
25960
|
disputeGameFactory: {
|
|
25961
25961
|
[sa]: {
|
|
25962
25962
|
address: "0x8b097CF1f9BbD9cbFD0DD561858a1FCbC8857Be0",
|
|
@@ -25987,7 +25987,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
25987
25987
|
},
|
|
25988
25988
|
sourceId: sa
|
|
25989
25989
|
}), ti = 11155111, Vk = /* @__PURE__ */ c({
|
|
25990
|
-
...
|
|
25990
|
+
...I,
|
|
25991
25991
|
id: 53302,
|
|
25992
25992
|
name: "Superseed Sepolia",
|
|
25993
25993
|
nativeCurrency: {
|
|
@@ -26008,7 +26008,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
26008
26008
|
}
|
|
26009
26009
|
},
|
|
26010
26010
|
contracts: {
|
|
26011
|
-
...
|
|
26011
|
+
...I.contracts,
|
|
26012
26012
|
multicall3: {
|
|
26013
26013
|
address: "0xcA11bde05977b3631167028862bE2a173976CA11"
|
|
26014
26014
|
},
|
|
@@ -26087,7 +26087,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
26087
26087
|
},
|
|
26088
26088
|
testnet: !0
|
|
26089
26089
|
}), Kk = /* @__PURE__ */ c({
|
|
26090
|
-
...
|
|
26090
|
+
...I,
|
|
26091
26091
|
id: 1923,
|
|
26092
26092
|
name: "Swellchain",
|
|
26093
26093
|
nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
|
|
@@ -26104,14 +26104,14 @@ const I8 = /* @__PURE__ */ c({
|
|
|
26104
26104
|
}
|
|
26105
26105
|
},
|
|
26106
26106
|
contracts: {
|
|
26107
|
-
...
|
|
26107
|
+
...I.contracts,
|
|
26108
26108
|
multicall3: {
|
|
26109
26109
|
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
26110
26110
|
blockCreated: 1
|
|
26111
26111
|
}
|
|
26112
26112
|
}
|
|
26113
26113
|
}), Zk = /* @__PURE__ */ c({
|
|
26114
|
-
...
|
|
26114
|
+
...I,
|
|
26115
26115
|
id: 1924,
|
|
26116
26116
|
name: "Swellchain Testnet",
|
|
26117
26117
|
nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
|
|
@@ -26128,7 +26128,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
26128
26128
|
}
|
|
26129
26129
|
},
|
|
26130
26130
|
contracts: {
|
|
26131
|
-
...
|
|
26131
|
+
...I.contracts,
|
|
26132
26132
|
multicall3: {
|
|
26133
26133
|
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
26134
26134
|
blockCreated: 1
|
|
@@ -26802,7 +26802,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
26802
26802
|
}
|
|
26803
26803
|
},
|
|
26804
26804
|
testnet: !0
|
|
26805
|
-
}),
|
|
26805
|
+
}), I7 = /* @__PURE__ */ c({
|
|
26806
26806
|
id: 1231,
|
|
26807
26807
|
name: "Ultron Mainnet",
|
|
26808
26808
|
nativeCurrency: { name: "ULX", symbol: "ULX", decimals: 18 },
|
|
@@ -26818,7 +26818,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
26818
26818
|
}
|
|
26819
26819
|
},
|
|
26820
26820
|
testnet: !1
|
|
26821
|
-
}),
|
|
26821
|
+
}), U7 = /* @__PURE__ */ c({
|
|
26822
26822
|
id: 1230,
|
|
26823
26823
|
name: "Ultron Testnet",
|
|
26824
26824
|
nativeCurrency: { name: "ULX", symbol: "ULX", decimals: 18 },
|
|
@@ -26835,7 +26835,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
26835
26835
|
},
|
|
26836
26836
|
testnet: !0
|
|
26837
26837
|
}), Mr = 1, P7 = /* @__PURE__ */ c({
|
|
26838
|
-
...
|
|
26838
|
+
...I,
|
|
26839
26839
|
id: 130,
|
|
26840
26840
|
name: "Unichain",
|
|
26841
26841
|
nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
|
|
@@ -26853,7 +26853,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
26853
26853
|
}
|
|
26854
26854
|
},
|
|
26855
26855
|
contracts: {
|
|
26856
|
-
...
|
|
26856
|
+
...I.contracts,
|
|
26857
26857
|
multicall3: {
|
|
26858
26858
|
address: "0xca11bde05977b3631167028862be2a173976ca11",
|
|
26859
26859
|
blockCreated: 0
|
|
@@ -26875,8 +26875,8 @@ const I8 = /* @__PURE__ */ c({
|
|
|
26875
26875
|
}
|
|
26876
26876
|
},
|
|
26877
26877
|
sourceId: Mr
|
|
26878
|
-
}),
|
|
26879
|
-
...
|
|
26878
|
+
}), Ir = 11155111, R7 = /* @__PURE__ */ c({
|
|
26879
|
+
...I,
|
|
26880
26880
|
id: 1301,
|
|
26881
26881
|
name: "Unichain Sepolia",
|
|
26882
26882
|
nativeCurrency: {
|
|
@@ -26898,29 +26898,29 @@ const I8 = /* @__PURE__ */ c({
|
|
|
26898
26898
|
}
|
|
26899
26899
|
},
|
|
26900
26900
|
contracts: {
|
|
26901
|
-
...
|
|
26901
|
+
...I.contracts,
|
|
26902
26902
|
multicall3: {
|
|
26903
26903
|
address: "0xca11bde05977b3631167028862be2a173976ca11",
|
|
26904
26904
|
blockCreated: 0
|
|
26905
26905
|
},
|
|
26906
26906
|
portal: {
|
|
26907
|
-
[
|
|
26907
|
+
[Ir]: {
|
|
26908
26908
|
address: "0x0d83dab629f0e0F9d36c0Cbc89B69a489f0751bD"
|
|
26909
26909
|
}
|
|
26910
26910
|
},
|
|
26911
26911
|
l1StandardBridge: {
|
|
26912
|
-
[
|
|
26912
|
+
[Ir]: {
|
|
26913
26913
|
address: "0xea58fcA6849d79EAd1f26608855c2D6407d54Ce2"
|
|
26914
26914
|
}
|
|
26915
26915
|
},
|
|
26916
26916
|
disputeGameFactory: {
|
|
26917
|
-
[
|
|
26917
|
+
[Ir]: {
|
|
26918
26918
|
address: "0xeff73e5aa3B9AEC32c659Aa3E00444d20a84394b"
|
|
26919
26919
|
}
|
|
26920
26920
|
}
|
|
26921
26921
|
},
|
|
26922
26922
|
testnet: !0,
|
|
26923
|
-
sourceId:
|
|
26923
|
+
sourceId: Ir
|
|
26924
26924
|
}), D7 = /* @__PURE__ */ c({
|
|
26925
26925
|
id: 8880,
|
|
26926
26926
|
name: "Unique Mainnet",
|
|
@@ -27347,7 +27347,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
27347
27347
|
},
|
|
27348
27348
|
testnet: !0
|
|
27349
27349
|
}), ia = 1, nA = /* @__PURE__ */ c({
|
|
27350
|
-
...
|
|
27350
|
+
...I,
|
|
27351
27351
|
id: 480,
|
|
27352
27352
|
name: "World Chain",
|
|
27353
27353
|
network: "worldchain",
|
|
@@ -27368,7 +27368,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
27368
27368
|
}
|
|
27369
27369
|
},
|
|
27370
27370
|
contracts: {
|
|
27371
|
-
...
|
|
27371
|
+
...I.contracts,
|
|
27372
27372
|
multicall3: {
|
|
27373
27373
|
address: "0xca11bde05977b3631167028862be2a173976ca11",
|
|
27374
27374
|
blockCreated: 0
|
|
@@ -27397,7 +27397,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
27397
27397
|
testnet: !1,
|
|
27398
27398
|
sourceId: ia
|
|
27399
27399
|
}), oa = 11155111, aA = /* @__PURE__ */ c({
|
|
27400
|
-
...
|
|
27400
|
+
...I,
|
|
27401
27401
|
id: 4801,
|
|
27402
27402
|
name: "World Chain Sepolia",
|
|
27403
27403
|
network: "worldchain-sepolia",
|
|
@@ -27418,7 +27418,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
27418
27418
|
}
|
|
27419
27419
|
},
|
|
27420
27420
|
contracts: {
|
|
27421
|
-
...
|
|
27421
|
+
...I.contracts,
|
|
27422
27422
|
multicall3: {
|
|
27423
27423
|
address: "0xca11bde05977b3631167028862be2a173976ca11",
|
|
27424
27424
|
blockCreated: 0
|
|
@@ -27968,7 +27968,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
27968
27968
|
},
|
|
27969
27969
|
testnet: !0
|
|
27970
27970
|
}), ni = 1, BA = /* @__PURE__ */ c({
|
|
27971
|
-
...
|
|
27971
|
+
...I,
|
|
27972
27972
|
id: 48900,
|
|
27973
27973
|
name: "Zircuit Mainnet",
|
|
27974
27974
|
nativeCurrency: {
|
|
@@ -28014,7 +28014,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
28014
28014
|
},
|
|
28015
28015
|
testnet: !1
|
|
28016
28016
|
}), ai = 11155111, MA = /* @__PURE__ */ c({
|
|
28017
|
-
...
|
|
28017
|
+
...I,
|
|
28018
28018
|
id: 48898,
|
|
28019
28019
|
name: "Zircuit Garfield Testnet",
|
|
28020
28020
|
nativeCurrency: { name: "ETH", symbol: "ETH", decimals: 18 },
|
|
@@ -28050,8 +28050,8 @@ const I8 = /* @__PURE__ */ c({
|
|
|
28050
28050
|
}
|
|
28051
28051
|
},
|
|
28052
28052
|
testnet: !0
|
|
28053
|
-
}), ri = 11155111,
|
|
28054
|
-
...
|
|
28053
|
+
}), ri = 11155111, IA = /* @__PURE__ */ c({
|
|
28054
|
+
...I,
|
|
28055
28055
|
id: 48899,
|
|
28056
28056
|
name: "Zircuit Testnet",
|
|
28057
28057
|
nativeCurrency: { name: "ETH", symbol: "ETH", decimals: 18 },
|
|
@@ -28092,7 +28092,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
28092
28092
|
}
|
|
28093
28093
|
},
|
|
28094
28094
|
testnet: !0
|
|
28095
|
-
}),
|
|
28095
|
+
}), UA = /* @__PURE__ */ c({
|
|
28096
28096
|
id: 42766,
|
|
28097
28097
|
name: "ZKFair Mainnet",
|
|
28098
28098
|
network: "zkfair-mainnet",
|
|
@@ -28327,8 +28327,8 @@ const I8 = /* @__PURE__ */ c({
|
|
|
28327
28327
|
}
|
|
28328
28328
|
},
|
|
28329
28329
|
testnet: !0
|
|
28330
|
-
}),
|
|
28331
|
-
...
|
|
28330
|
+
}), Ur = 1, NA = /* @__PURE__ */ c({
|
|
28331
|
+
...I,
|
|
28332
28332
|
id: 7777777,
|
|
28333
28333
|
name: "Zora",
|
|
28334
28334
|
nativeCurrency: {
|
|
@@ -28350,9 +28350,9 @@ const I8 = /* @__PURE__ */ c({
|
|
|
28350
28350
|
}
|
|
28351
28351
|
},
|
|
28352
28352
|
contracts: {
|
|
28353
|
-
...
|
|
28353
|
+
...I.contracts,
|
|
28354
28354
|
l2OutputOracle: {
|
|
28355
|
-
[
|
|
28355
|
+
[Ur]: {
|
|
28356
28356
|
address: "0x9E6204F750cD866b299594e2aC9eA824E2e5f95c"
|
|
28357
28357
|
}
|
|
28358
28358
|
},
|
|
@@ -28361,19 +28361,19 @@ const I8 = /* @__PURE__ */ c({
|
|
|
28361
28361
|
blockCreated: 5882
|
|
28362
28362
|
},
|
|
28363
28363
|
portal: {
|
|
28364
|
-
[
|
|
28364
|
+
[Ur]: {
|
|
28365
28365
|
address: "0x1a0ad011913A150f69f6A19DF447A0CfD9551054"
|
|
28366
28366
|
}
|
|
28367
28367
|
},
|
|
28368
28368
|
l1StandardBridge: {
|
|
28369
|
-
[
|
|
28369
|
+
[Ur]: {
|
|
28370
28370
|
address: "0x3e2Ea9B92B7E48A52296fD261dc26fd995284631"
|
|
28371
28371
|
}
|
|
28372
28372
|
}
|
|
28373
28373
|
},
|
|
28374
|
-
sourceId:
|
|
28374
|
+
sourceId: Ur
|
|
28375
28375
|
}), Pr = 11155111, $A = /* @__PURE__ */ c({
|
|
28376
|
-
...
|
|
28376
|
+
...I,
|
|
28377
28377
|
id: 999999999,
|
|
28378
28378
|
name: "Zora Sepolia",
|
|
28379
28379
|
network: "zora-sepolia",
|
|
@@ -28396,7 +28396,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
28396
28396
|
}
|
|
28397
28397
|
},
|
|
28398
28398
|
contracts: {
|
|
28399
|
-
...
|
|
28399
|
+
...I.contracts,
|
|
28400
28400
|
l2OutputOracle: {
|
|
28401
28401
|
[Pr]: {
|
|
28402
28402
|
address: "0x2615B481Bd3E5A1C0C7Ca3Da1bdc663E8615Ade9"
|
|
@@ -28420,7 +28420,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
28420
28420
|
sourceId: Pr,
|
|
28421
28421
|
testnet: !0
|
|
28422
28422
|
}), xc = 5, LA = /* @__PURE__ */ c({
|
|
28423
|
-
...
|
|
28423
|
+
...I,
|
|
28424
28424
|
id: 999,
|
|
28425
28425
|
name: "Zora Goerli Testnet",
|
|
28426
28426
|
nativeCurrency: {
|
|
@@ -28442,7 +28442,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
28442
28442
|
}
|
|
28443
28443
|
},
|
|
28444
28444
|
contracts: {
|
|
28445
|
-
...
|
|
28445
|
+
...I.contracts,
|
|
28446
28446
|
multicall3: {
|
|
28447
28447
|
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
28448
28448
|
blockCreated: 189123
|
|
@@ -28471,7 +28471,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
28471
28471
|
alienxHalTestnet: C5,
|
|
28472
28472
|
ancient8: B5,
|
|
28473
28473
|
ancient8Sepolia: M5,
|
|
28474
|
-
anvil:
|
|
28474
|
+
anvil: I5,
|
|
28475
28475
|
apeChain: P5,
|
|
28476
28476
|
apexTestnet: R5,
|
|
28477
28477
|
arbitrum: D5,
|
|
@@ -28518,8 +28518,8 @@ const I8 = /* @__PURE__ */ c({
|
|
|
28518
28518
|
bevmMainnet: gT,
|
|
28519
28519
|
bifrost: ET,
|
|
28520
28520
|
birdlayer: CT,
|
|
28521
|
-
bitTorrent:
|
|
28522
|
-
bitTorrentTestnet:
|
|
28521
|
+
bitTorrent: IT,
|
|
28522
|
+
bitTorrentTestnet: UT,
|
|
28523
28523
|
bitgert: vT,
|
|
28524
28524
|
bitkub: kT,
|
|
28525
28525
|
bitkubTestnet: AT,
|
|
@@ -28566,7 +28566,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
28566
28566
|
coreTestnet1: Ax,
|
|
28567
28567
|
coreTestnet2: Sx,
|
|
28568
28568
|
corn: Mx,
|
|
28569
|
-
cornTestnet:
|
|
28569
|
+
cornTestnet: Ux,
|
|
28570
28570
|
crab: Px,
|
|
28571
28571
|
creatorTestnet: Rx,
|
|
28572
28572
|
creditCoin3Devnet: Dx,
|
|
@@ -28619,8 +28619,8 @@ const I8 = /* @__PURE__ */ c({
|
|
|
28619
28619
|
electroneumTestnet: Sw,
|
|
28620
28620
|
elysiumTestnet: Bw,
|
|
28621
28621
|
energy: Mw,
|
|
28622
|
-
eni:
|
|
28623
|
-
eniTestnet:
|
|
28622
|
+
eni: Iw,
|
|
28623
|
+
eniTestnet: Uw,
|
|
28624
28624
|
enuls: Pw,
|
|
28625
28625
|
eon: Rw,
|
|
28626
28626
|
eos: Dw,
|
|
@@ -28673,8 +28673,8 @@ const I8 = /* @__PURE__ */ c({
|
|
|
28673
28673
|
gatechain: S3,
|
|
28674
28674
|
geist: B3,
|
|
28675
28675
|
genesys: M3,
|
|
28676
|
-
giwaSepolia:
|
|
28677
|
-
glideL1Protocol:
|
|
28676
|
+
giwaSepolia: I3,
|
|
28677
|
+
glideL1Protocol: U3,
|
|
28678
28678
|
glideL2Protocol: P3,
|
|
28679
28679
|
gnosis: R3,
|
|
28680
28680
|
gnosisChiado: D3,
|
|
@@ -28728,8 +28728,8 @@ const I8 = /* @__PURE__ */ c({
|
|
|
28728
28728
|
initVerse: Sg,
|
|
28729
28729
|
initVerseGenesis: Bg,
|
|
28730
28730
|
injective: Mg,
|
|
28731
|
-
injectiveTestnet:
|
|
28732
|
-
ink:
|
|
28731
|
+
injectiveTestnet: Ig,
|
|
28732
|
+
ink: Ug,
|
|
28733
28733
|
inkSepolia: Pg,
|
|
28734
28734
|
iota: Rg,
|
|
28735
28735
|
iotaTestnet: Dg,
|
|
@@ -28781,7 +28781,7 @@ const I8 = /* @__PURE__ */ c({
|
|
|
28781
28781
|
lestnet: S8,
|
|
28782
28782
|
lightlinkPegasus: B8,
|
|
28783
28783
|
lightlinkPhoenix: M8,
|
|
28784
|
-
linea:
|
|
28784
|
+
linea: U8,
|
|
28785
28785
|
lineaGoerli: P8,
|
|
28786
28786
|
lineaSepolia: R8,
|
|
28787
28787
|
lineaTestnet: D8,
|
|
@@ -28833,8 +28833,8 @@ const I8 = /* @__PURE__ */ c({
|
|
|
28833
28833
|
mintSepoliaTestnet: SE,
|
|
28834
28834
|
mitosisTestnet: BE,
|
|
28835
28835
|
mode: ME,
|
|
28836
|
-
modeTestnet:
|
|
28837
|
-
monad:
|
|
28836
|
+
modeTestnet: IE,
|
|
28837
|
+
monad: UE,
|
|
28838
28838
|
monadTestnet: PE,
|
|
28839
28839
|
moonbaseAlpha: RE,
|
|
28840
28840
|
moonbeam: DE,
|
|
@@ -28887,8 +28887,8 @@ const I8 = /* @__PURE__ */ c({
|
|
|
28887
28887
|
plasma: SC,
|
|
28888
28888
|
plasmaDevnet: BC,
|
|
28889
28889
|
plasmaTestnet: MC,
|
|
28890
|
-
playfiAlbireo:
|
|
28891
|
-
plinga:
|
|
28890
|
+
playfiAlbireo: IC,
|
|
28891
|
+
plinga: UC,
|
|
28892
28892
|
plume: RC,
|
|
28893
28893
|
plumeDevnet: _C,
|
|
28894
28894
|
plumeMainnet: OC,
|
|
@@ -28936,8 +28936,8 @@ const I8 = /* @__PURE__ */ c({
|
|
|
28936
28936
|
rss3Sepolia: Sv,
|
|
28937
28937
|
saakuru: Bv,
|
|
28938
28938
|
saga: Mv,
|
|
28939
|
-
saigon:
|
|
28940
|
-
sanko:
|
|
28939
|
+
saigon: Iv,
|
|
28940
|
+
sanko: Uv,
|
|
28941
28941
|
sapphire: Pv,
|
|
28942
28942
|
sapphireTestnet: Rv,
|
|
28943
28943
|
satoshiVM: Dv,
|
|
@@ -28989,8 +28989,8 @@ const I8 = /* @__PURE__ */ c({
|
|
|
28989
28989
|
sonicBlazeTestnet: Sk,
|
|
28990
28990
|
sonicTestnet: Bk,
|
|
28991
28991
|
sophon: Mk,
|
|
28992
|
-
sophonTestnet:
|
|
28993
|
-
sova:
|
|
28992
|
+
sophonTestnet: Ik,
|
|
28993
|
+
sova: Uk,
|
|
28994
28994
|
sovaSepolia: Pk,
|
|
28995
28995
|
spicy: Rk,
|
|
28996
28996
|
statusNetworkSepolia: mc,
|
|
@@ -29045,8 +29045,8 @@ const I8 = /* @__PURE__ */ c({
|
|
|
29045
29045
|
ubiq: S7,
|
|
29046
29046
|
ultra: B7,
|
|
29047
29047
|
ultraTestnet: M7,
|
|
29048
|
-
ultron:
|
|
29049
|
-
ultronTestnet:
|
|
29048
|
+
ultron: I7,
|
|
29049
|
+
ultronTestnet: U7,
|
|
29050
29050
|
unichain: P7,
|
|
29051
29051
|
unichainSepolia: R7,
|
|
29052
29052
|
unique: D7,
|
|
@@ -29105,8 +29105,8 @@ const I8 = /* @__PURE__ */ c({
|
|
|
29105
29105
|
zilliqaTestnet: SA,
|
|
29106
29106
|
zircuit: BA,
|
|
29107
29107
|
zircuitGarfieldTestnet: MA,
|
|
29108
|
-
zircuitTestnet:
|
|
29109
|
-
zkFair:
|
|
29108
|
+
zircuitTestnet: IA,
|
|
29109
|
+
zkFair: UA,
|
|
29110
29110
|
zkFairTestnet: PA,
|
|
29111
29111
|
zkLinkNova: RA,
|
|
29112
29112
|
zkLinkNovaSepoliaTestnet: DA,
|
|
@@ -29428,11 +29428,11 @@ async function QS({ provider: e, chainId: t }) {
|
|
|
29428
29428
|
}), a = he[t];
|
|
29429
29429
|
if (!a)
|
|
29430
29430
|
throw new Error(`Chain ${t} not found`);
|
|
29431
|
-
await
|
|
29431
|
+
await Ud(n, {
|
|
29432
29432
|
chain: a
|
|
29433
29433
|
});
|
|
29434
29434
|
}
|
|
29435
|
-
const eB = (e) => p9[e], d9 = (e) => Ch({ chains: Object.values(r9), id: e }),
|
|
29435
|
+
const eB = (e) => p9[e], d9 = (e) => Ch({ chains: Object.values(r9), id: e }), q = {
|
|
29436
29436
|
eth: "DESTINATION_BLOCKCHAIN_ETHEREUM",
|
|
29437
29437
|
ethOld: "BLOCKCHAIN_ETHEREUM",
|
|
29438
29438
|
avalanche: "DESTINATION_BLOCKCHAIN_AVALANCHE",
|
|
@@ -29456,71 +29456,73 @@ const eB = (e) => p9[e], d9 = (e) => Ch({ chains: Object.values(r9), id: e }), W
|
|
|
29456
29456
|
stable: "DESTINATION_BLOCKCHAIN_STABLE",
|
|
29457
29457
|
stableOld: "BLOCKCHAIN_STABLE",
|
|
29458
29458
|
megaeth: "DESTINATION_BLOCKCHAIN_MEGAETH",
|
|
29459
|
-
megaethOld: "BLOCKCHAIN_MEGAETH"
|
|
29459
|
+
megaethOld: "BLOCKCHAIN_MEGAETH",
|
|
29460
|
+
bitcoin: "DESTINATION_BLOCKCHAIN_BITCOIN",
|
|
29461
|
+
bitcoinOld: "BLOCKCHAIN_BITCOIN"
|
|
29460
29462
|
};
|
|
29461
29463
|
function Es(e) {
|
|
29462
29464
|
if (e === f.ethereum || e === f.holesky || e === f.sepolia)
|
|
29463
|
-
return
|
|
29465
|
+
return q.eth;
|
|
29464
29466
|
if (e === f.base || e === f.baseSepoliaTestnet)
|
|
29465
|
-
return
|
|
29467
|
+
return q.base;
|
|
29466
29468
|
if (e === f.binanceSmartChain || e === f.binanceSmartChainTestnet)
|
|
29467
|
-
return
|
|
29469
|
+
return q.bsc;
|
|
29468
29470
|
if (e === f.katana || e === f.katanaTatara)
|
|
29469
|
-
return
|
|
29471
|
+
return q.katana;
|
|
29470
29472
|
if (e === f.sonic || e === f.sonicBlazeTestnet)
|
|
29471
|
-
return
|
|
29473
|
+
return q.sonic;
|
|
29472
29474
|
if (e === f.monad)
|
|
29473
|
-
return
|
|
29475
|
+
return q.monad;
|
|
29474
29476
|
if (e === f.stable)
|
|
29475
|
-
return
|
|
29477
|
+
return q.stable;
|
|
29476
29478
|
if (e === Fa || e === xs)
|
|
29477
|
-
return
|
|
29479
|
+
return q.sui;
|
|
29478
29480
|
if (e === gs || e === nl || e === ws)
|
|
29479
|
-
return
|
|
29481
|
+
return q.solana;
|
|
29480
29482
|
if (e === Qe || e === et)
|
|
29481
|
-
return
|
|
29483
|
+
return q.starknet;
|
|
29482
29484
|
if (e === f.megaeth)
|
|
29483
|
-
return
|
|
29485
|
+
return q.megaeth;
|
|
29484
29486
|
throw new Error(`Unknown chain ID: ${e}`);
|
|
29485
29487
|
}
|
|
29486
29488
|
const m9 = (e) => e === j.prod ? f.ethereum : f.sepolia, y9 = (e) => e === j.prod ? f.binanceSmartChain : f.binanceSmartChainTestnet, f9 = (e) => e === j.prod ? f.base : f.baseSepoliaTestnet, b9 = (e) => e === j.prod ? xs : Fa, h9 = (e) => e === j.prod ? f.sonic : f.sonicBlazeTestnet, T9 = (e) => e === j.prod ? ws : gs, x9 = (e) => e === j.prod ? Qe : et;
|
|
29487
29489
|
function Kt(e, t = be) {
|
|
29488
29490
|
switch (e) {
|
|
29489
|
-
case
|
|
29490
|
-
case
|
|
29491
|
+
case q.eth:
|
|
29492
|
+
case q.ethOld:
|
|
29491
29493
|
return m9(t);
|
|
29492
|
-
case
|
|
29493
|
-
case
|
|
29494
|
+
case q.avalanche:
|
|
29495
|
+
case q.avalancheOld:
|
|
29494
29496
|
return t === j.prod ? f.avalanche : f.avalancheFuji;
|
|
29495
|
-
case
|
|
29496
|
-
case
|
|
29497
|
+
case q.base:
|
|
29498
|
+
case q.baseOld:
|
|
29497
29499
|
return f9(t);
|
|
29498
|
-
case
|
|
29499
|
-
case
|
|
29500
|
+
case q.bsc:
|
|
29501
|
+
case q.bscOld:
|
|
29500
29502
|
return y9(t);
|
|
29501
|
-
case
|
|
29502
|
-
case
|
|
29503
|
+
case q.katana:
|
|
29504
|
+
case q.katanaOld:
|
|
29503
29505
|
return t === j.prod ? f.katana : f.katanaTatara;
|
|
29504
|
-
case
|
|
29505
|
-
case
|
|
29506
|
+
case q.sui:
|
|
29507
|
+
case q.suiOld:
|
|
29506
29508
|
return b9(t);
|
|
29507
|
-
case
|
|
29508
|
-
case
|
|
29509
|
+
case q.sonic:
|
|
29510
|
+
case q.sonicOld:
|
|
29509
29511
|
return h9(t);
|
|
29510
|
-
case
|
|
29511
|
-
case
|
|
29512
|
+
case q.solana:
|
|
29513
|
+
case q.solanaOld:
|
|
29512
29514
|
return T9(t);
|
|
29513
|
-
case
|
|
29514
|
-
case
|
|
29515
|
+
case q.starknet:
|
|
29516
|
+
case q.starknetOld:
|
|
29515
29517
|
return x9(t);
|
|
29516
|
-
case
|
|
29517
|
-
case
|
|
29518
|
+
case q.monad:
|
|
29519
|
+
case q.monadOld:
|
|
29518
29520
|
return f.monad;
|
|
29519
|
-
case
|
|
29520
|
-
case
|
|
29521
|
+
case q.stable:
|
|
29522
|
+
case q.stableOld:
|
|
29521
29523
|
return f.stable;
|
|
29522
|
-
case
|
|
29523
|
-
case
|
|
29524
|
+
case q.megaeth:
|
|
29525
|
+
case q.megaethOld:
|
|
29524
29526
|
return f.megaeth;
|
|
29525
29527
|
default:
|
|
29526
29528
|
return f.ethereum;
|
|
@@ -35185,7 +35187,7 @@ const S9 = [
|
|
|
35185
35187
|
stateMutability: "nonpayable",
|
|
35186
35188
|
type: "function"
|
|
35187
35189
|
}
|
|
35188
|
-
],
|
|
35190
|
+
], I9 = [
|
|
35189
35191
|
{ inputs: [], stateMutability: "nonpayable", type: "constructor" },
|
|
35190
35192
|
{ inputs: [], name: "AssetRouterNotSet", type: "error" },
|
|
35191
35193
|
{ inputs: [], name: "ECDSAInvalidSignature", type: "error" },
|
|
@@ -36278,7 +36280,7 @@ async function oe(e, t, n, a) {
|
|
|
36278
36280
|
var l, u;
|
|
36279
36281
|
const r = n || be, s = a || se.Token;
|
|
36280
36282
|
let i;
|
|
36281
|
-
e === N.LBTC ? await Ec(N.LBTC, t, r) ? i =
|
|
36283
|
+
e === N.LBTC ? await Ec(N.LBTC, t, r) ? i = I9 : i = M9 : e === N.BTCK ? (i = B9, await Ec(N.BTCK, t, r) && (i = gc)) : e === N.BTCb ? t === f.avalanche || t === f.avalancheFuji ? s === se.Adapter ? i = S9 : i = Ai : i = gc : i = Ai;
|
|
36282
36284
|
const o = (u = (l = vn[e]) == null ? void 0 : l[r]) == null ? void 0 : u[t];
|
|
36283
36285
|
if (!o)
|
|
36284
36286
|
throw new sl(e, t, r);
|
|
@@ -36330,7 +36332,7 @@ function ln(e, t) {
|
|
|
36330
36332
|
function re(e, t) {
|
|
36331
36333
|
return V(e).dividedBy(V(10).pow(t));
|
|
36332
36334
|
}
|
|
36333
|
-
const
|
|
36335
|
+
const U9 = "sanctioned_address", P9 = "api/v1/address/generate", R9 = "destination address is under sanctions", Cc = [N.LBTC, N.BTCK, N.BTCb], D9 = [N.LBTC, N.BTCK, N.BTCb];
|
|
36334
36336
|
async function tB({
|
|
36335
36337
|
address: e,
|
|
36336
36338
|
token: t = N.LBTC,
|
|
@@ -36348,8 +36350,8 @@ async function tB({
|
|
|
36348
36350
|
if (!D9.includes(t))
|
|
36349
36351
|
throw new Error(`Unsupported token: ${t}`);
|
|
36350
36352
|
let m = {};
|
|
36351
|
-
if (y ===
|
|
36352
|
-
if (e =
|
|
36353
|
+
if (y === q.starknet) {
|
|
36354
|
+
if (e = Ue(e, { size: 32 }), !p)
|
|
36353
36355
|
throw new Error("Missing parameter: pubKey");
|
|
36354
36356
|
m = {
|
|
36355
36357
|
public_key: p
|
|
@@ -36360,9 +36362,9 @@ async function tB({
|
|
|
36360
36362
|
Cc.includes(t) && // FIXME: Refactor in order to pull in all token addresses from all supported networks to the sdk-common package.
|
|
36361
36363
|
// FIXME: Then remove this clause prior two token model.
|
|
36362
36364
|
![
|
|
36363
|
-
|
|
36364
|
-
|
|
36365
|
-
|
|
36365
|
+
q.sui,
|
|
36366
|
+
q.solana,
|
|
36367
|
+
q.starknet
|
|
36366
36368
|
].includes(y) && (b = {
|
|
36367
36369
|
token_address: (await oe(
|
|
36368
36370
|
t,
|
|
@@ -36400,7 +36402,7 @@ async function tB({
|
|
|
36400
36402
|
} catch (T) {
|
|
36401
36403
|
const w = _e(T);
|
|
36402
36404
|
if (_9(w))
|
|
36403
|
-
return
|
|
36405
|
+
return U9;
|
|
36404
36406
|
throw new Error(w);
|
|
36405
36407
|
}
|
|
36406
36408
|
}
|
|
@@ -36417,7 +36419,7 @@ async function um({
|
|
|
36417
36419
|
}) {
|
|
36418
36420
|
var p;
|
|
36419
36421
|
const { baseApiUrl: i } = ee(n), o = Es(t);
|
|
36420
|
-
o ===
|
|
36422
|
+
o === q.starknet && (e = Ue(e, { size: 32 }));
|
|
36421
36423
|
const l = {
|
|
36422
36424
|
asc: !1,
|
|
36423
36425
|
limit: a,
|
|
@@ -36485,7 +36487,7 @@ async function nB({
|
|
|
36485
36487
|
}
|
|
36486
36488
|
} catch {
|
|
36487
36489
|
}
|
|
36488
|
-
Wr(t) && (e =
|
|
36490
|
+
Wr(t) && (e = Ue(e, { size: 32 }).toLowerCase());
|
|
36489
36491
|
const l = (s || []).filter(
|
|
36490
36492
|
(u) => (
|
|
36491
36493
|
// filter by chain id
|
|
@@ -36809,7 +36811,7 @@ function X9(e, t = be) {
|
|
|
36809
36811
|
a = void 0;
|
|
36810
36812
|
}
|
|
36811
36813
|
else a != null && a.startsWith("0x") && (a = ke(a));
|
|
36812
|
-
const r = e.payout_txid ? "Completed" : "Pending", s = n ? N.BTCb : void 0, i = e.to_chain ? Kt(e.to_chain, t) : void 0;
|
|
36814
|
+
const r = e.payout_txid ? "Completed" : "Pending", s = n ? N.BTCb : void 0, i = e.to_chain ? e.to_chain === q.bitcoin || e.to_chain === q.bitcoinOld ? "bitcoin" : Kt(e.to_chain, t) : void 0;
|
|
36813
36815
|
let o;
|
|
36814
36816
|
if (s) {
|
|
36815
36817
|
if (rl(i)) {
|
|
@@ -36838,7 +36840,8 @@ function X9(e, t = be) {
|
|
|
36838
36840
|
toTokenAddress: o,
|
|
36839
36841
|
notarizationStatus: e.notarization_status,
|
|
36840
36842
|
sessionState: e.session_state,
|
|
36841
|
-
claimTxHash: e.claim_tx
|
|
36843
|
+
claimTxHash: e.claim_tx,
|
|
36844
|
+
fromTokenAddress: e.from_token_address
|
|
36842
36845
|
};
|
|
36843
36846
|
}
|
|
36844
36847
|
async function cB({
|
|
@@ -36978,7 +36981,7 @@ function t4(e) {
|
|
|
36978
36981
|
throw new Error(
|
|
36979
36982
|
`Invalid GMP selector: expected ${vc}, got ${t}`
|
|
36980
36983
|
);
|
|
36981
|
-
const n =
|
|
36984
|
+
const n = Ii({
|
|
36982
36985
|
abi: [Q9],
|
|
36983
36986
|
data: e
|
|
36984
36987
|
});
|
|
@@ -36992,7 +36995,7 @@ function t4(e) {
|
|
|
36992
36995
|
throw new Error(
|
|
36993
36996
|
`Invalid mint selector in body: expected ${kc}, got ${u}`
|
|
36994
36997
|
);
|
|
36995
|
-
const p =
|
|
36998
|
+
const p = Ii({
|
|
36996
36999
|
abi: [e4],
|
|
36997
37000
|
data: l
|
|
36998
37001
|
});
|
|
@@ -40297,7 +40300,7 @@ const Nt = {
|
|
|
40297
40300
|
name: "Silo Finance Vault",
|
|
40298
40301
|
url: "https://silo.finance"
|
|
40299
40302
|
}
|
|
40300
|
-
},
|
|
40303
|
+
}, Ic = {
|
|
40301
40304
|
mode: "permit",
|
|
40302
40305
|
domainName: "Lombard Staked Bitcoin",
|
|
40303
40306
|
domainVersion: "1",
|
|
@@ -40315,7 +40318,7 @@ const Nt = {
|
|
|
40315
40318
|
Ac,
|
|
40316
40319
|
() => si(Sc, (e) => ({
|
|
40317
40320
|
amountStrategy: "identity",
|
|
40318
|
-
approval: { ...
|
|
40321
|
+
approval: { ...Ic },
|
|
40319
40322
|
spenderContract: Mc(e)
|
|
40320
40323
|
}))
|
|
40321
40324
|
),
|
|
@@ -40323,7 +40326,7 @@ const Nt = {
|
|
|
40323
40326
|
Ac,
|
|
40324
40327
|
() => si(Sc, (e) => ({
|
|
40325
40328
|
amountStrategy: "btcToLbtc",
|
|
40326
|
-
approval: { ...
|
|
40329
|
+
approval: { ...Ic },
|
|
40327
40330
|
spenderContract: Mc(e)
|
|
40328
40331
|
}))
|
|
40329
40332
|
)
|
|
@@ -40711,7 +40714,7 @@ async function kB({
|
|
|
40711
40714
|
const a = we({ chainId: t, provider: n }), r = `destination chain id is ${t}`;
|
|
40712
40715
|
return await a.signMessage({ account: e, message: r });
|
|
40713
40716
|
}
|
|
40714
|
-
const
|
|
40717
|
+
const I4 = 1e3, U4 = 60 * I4, P4 = 60 * U4, ol = 24 * P4;
|
|
40715
40718
|
function gm() {
|
|
40716
40719
|
return Date.now();
|
|
40717
40720
|
}
|
|
@@ -41244,7 +41247,7 @@ async function G4(e) {
|
|
|
41244
41247
|
R.status
|
|
41245
41248
|
);
|
|
41246
41249
|
}
|
|
41247
|
-
const { txHash:
|
|
41250
|
+
const { txHash: U } = await Fr({
|
|
41248
41251
|
params: e,
|
|
41249
41252
|
publicClient: p,
|
|
41250
41253
|
walletClient: d,
|
|
@@ -41262,7 +41265,7 @@ async function G4(e) {
|
|
|
41262
41265
|
},
|
|
41263
41266
|
operation: "BTC.b redeemForBtc"
|
|
41264
41267
|
});
|
|
41265
|
-
return
|
|
41268
|
+
return U;
|
|
41266
41269
|
}
|
|
41267
41270
|
const C = {
|
|
41268
41271
|
abi: m.abi,
|
|
@@ -41340,7 +41343,7 @@ async function j4({
|
|
|
41340
41343
|
throw new Error(s);
|
|
41341
41344
|
}
|
|
41342
41345
|
}
|
|
41343
|
-
async function
|
|
41346
|
+
async function IB({
|
|
41344
41347
|
chainId: e,
|
|
41345
41348
|
rpcUrl: t,
|
|
41346
41349
|
address: n,
|
|
@@ -41372,7 +41375,7 @@ async function UB({
|
|
|
41372
41375
|
throw new Error(i);
|
|
41373
41376
|
}
|
|
41374
41377
|
}
|
|
41375
|
-
async function
|
|
41378
|
+
async function UB({
|
|
41376
41379
|
amount: e,
|
|
41377
41380
|
approve: t = !0,
|
|
41378
41381
|
token: n = N.LBTC,
|
|
@@ -41821,7 +41824,7 @@ async function FB({
|
|
|
41821
41824
|
env: a
|
|
41822
41825
|
})).map((i) => {
|
|
41823
41826
|
const o = Object.entries(i.chain_allocation).map(([u, p]) => [
|
|
41824
|
-
|
|
41827
|
+
Uc[u],
|
|
41825
41828
|
V(p)
|
|
41826
41829
|
]).reduce(
|
|
41827
41830
|
(u, p) => {
|
|
@@ -41832,7 +41835,7 @@ async function FB({
|
|
|
41832
41835
|
), l = i.real_apy_breakdown.map((u) => ({
|
|
41833
41836
|
allocations: V(u.allocation),
|
|
41834
41837
|
apy: V(u.apy),
|
|
41835
|
-
chainId:
|
|
41838
|
+
chainId: Uc[u.chain],
|
|
41836
41839
|
protocol: u.protocol
|
|
41837
41840
|
}));
|
|
41838
41841
|
return {
|
|
@@ -41852,7 +41855,7 @@ const J4 = {
|
|
|
41852
41855
|
[f.base]: "base",
|
|
41853
41856
|
[f.binanceSmartChain]: "bnb",
|
|
41854
41857
|
[f.corn]: "corn"
|
|
41855
|
-
},
|
|
41858
|
+
}, Uc = {
|
|
41856
41859
|
ethereum: f.ethereum,
|
|
41857
41860
|
base: f.base,
|
|
41858
41861
|
bnb: f.binanceSmartChain,
|
|
@@ -42072,7 +42075,7 @@ const Pc = /* @__PURE__ */ JSON.parse('[{"inputs":[{"internalType":"address","na
|
|
|
42072
42075
|
function Rc(e) {
|
|
42073
42076
|
return tS[e];
|
|
42074
42077
|
}
|
|
42075
|
-
const Ut = /* @__PURE__ */ JSON.parse('[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AdapterNotConfirmed","type":"error"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"AddressEmptyCode","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"AddressInsufficientBalance","type":"error"},{"inputs":[{"internalType":"uint256","name":"commission","type":"uint256"}],"name":"AmountLessThanCommission","type":"error"},{"inputs":[],"name":"AmountTooSmallToPayRelativeFee","type":"error"},{"inputs":[],"name":"BadCommission","type":"error"},{"inputs":[],"name":"BadConfiguration","type":"error"},{"inputs":[],"name":"Bridge_ZeroAddress","type":"error"},{"inputs":[],"name":"Bridge_ZeroAmount","type":"error"},{"inputs":[],"name":"ConsortiumNotConfirmed","type":"error"},{"inputs":[],"name":"FailedInnerCall","type":"error"},{"inputs":[],"name":"InvalidInitialization","type":"error"},{"inputs":[],"name":"KnownDestination","type":"error"},{"inputs":[],"name":"MalformedRateLimit","type":"error"},{"inputs":[],"name":"MathOverflowedMulDiv","type":"error"},{"inputs":[],"name":"NotInitializing","type":"error"},{"inputs":[],"name":"NotValidDestination","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"PayloadAlreadyUsed","type":"error"},{"inputs":[],"name":"PayloadTooLarge","type":"error"},{"inputs":[],"name":"RateLimitExceeded","type":"error"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"inputs":[{"internalType":"bytes4","name":"action","type":"bytes4"}],"name":"UnexpectedAction","type":"error"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"UnknownAdapter","type":"error"},{"inputs":[],"name":"UnknownDestination","type":"error"},{"inputs":[{"internalType":"bytes32","name":"fromChain","type":"bytes32"},{"internalType":"bytes32","name":"fromContract","type":"bytes32"}],"name":"UnknownOriginContract","type":"error"},{"inputs":[],"name":"WrongChainId","type":"error"},{"inputs":[],"name":"ZeroAddress","type":"error"},{"inputs":[],"name":"ZeroAmount","type":"error"},{"inputs":[],"name":"ZeroChainId","type":"error"},{"inputs":[],"name":"ZeroContractHash","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdapter","type":"address"},{"indexed":false,"internalType":"contract IAdapter","name":"newAdapter","type":"address"}],"name":"AdapterChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"chain","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"contractAddress","type":"bytes32"}],"name":"BridgeDestinationAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"chain","type":"bytes32"}],"name":"BridgeDestinationRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract INotaryConsortium","name":"prevVal","type":"address"},{"indexed":true,"internalType":"contract INotaryConsortium","name":"newVal","type":"address"}],"name":"ConsortiumChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint64","name":"newValue","type":"uint64"},{"indexed":true,"internalType":"bytes32","name":"chain","type":"bytes32"}],"name":"DepositAbsoluteCommissionChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"newValue","type":"uint16"},{"indexed":true,"internalType":"bytes32","name":"chain","type":"bytes32"}],"name":"DepositRelativeCommissionChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"fromAddress","type":"address"},{"indexed":true,"internalType":"bytes32","name":"toAddress","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"payloadHash","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"payload","type":"bytes"}],"name":"DepositToBridge","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint64","name":"version","type":"uint64"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferStarted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":true,"internalType":"bytes32","name":"payloadHash","type":"bytes32"}],"name":"PayloadNotarized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":true,"internalType":"bytes32","name":"payloadHash","type":"bytes32"},{"indexed":true,"internalType":"address","name":"adapter","type":"address"}],"name":"PayloadReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"chainId","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"limit","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"window","type":"uint256"}],"name":"RateLimitsChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousTreasury","type":"address"},{"indexed":false,"internalType":"address","name":"newTreasury","type":"address"}],"name":"TreasuryChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":true,"internalType":"bytes32","name":"payloadHash","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"payload","type":"bytes"},{"indexed":false,"internalType":"uint64","name":"amount","type":"uint64"}],"name":"WithdrawFromBridge","type":"event"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"toChain","type":"bytes32"},{"internalType":"bytes32","name":"toContract","type":"bytes32"},{"internalType":"uint16","name":"relCommission","type":"uint16"},{"internalType":"uint64","name":"absCommission","type":"uint64"},{"internalType":"contract IAdapter","name":"adapter","type":"address"},{"internalType":"bool","name":"requireConsortium","type":"bool"}],"name":"addDestination","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"payload","type":"bytes"},{"internalType":"bytes","name":"proof","type":"bytes"}],"name":"authNotary","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"chain","type":"bytes32"},{"internalType":"contract IAdapter","name":"newAdapter","type":"address"}],"name":"changeAdapter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract INotaryConsortium","name":"newVal","type":"address"}],"name":"changeConsortium","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"newValue","type":"uint64"},{"internalType":"bytes32","name":"chain","type":"bytes32"}],"name":"changeDepositAbsoluteCommission","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"newValue","type":"uint16"},{"internalType":"bytes32","name":"chain","type":"bytes32"}],"name":"changeDepositRelativeCommission","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"consortium","outputs":[{"internalType":"contract INotaryConsortium","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"toChain","type":"bytes32"},{"internalType":"bytes32","name":"toAddress","type":"bytes32"},{"internalType":"uint64","name":"amount","type":"uint64"}],"name":"deposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"toChain","type":"bytes32"}],"name":"getAdapter","outputs":[{"internalType":"contract IAdapter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"toChain","type":"bytes32"},{"internalType":"bytes32","name":"toAddress","type":"bytes32"},{"internalType":"uint64","name":"amount","type":"uint64"}],"name":"getAdapterFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"toChain","type":"bytes32"}],"name":"getDepositAbsoluteCommission","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"toChain","type":"bytes32"}],"name":"getDepositRelativeCommission","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"toChain","type":"bytes32"}],"name":"getDestination","outputs":[{"components":[{"internalType":"bytes32","name":"bridgeContract","type":"bytes32"},{"internalType":"uint16","name":"relativeCommission","type":"uint16"},{"internalType":"uint64","name":"absoluteCommission","type":"uint64"},{"internalType":"contract IAdapter","name":"adapter","type":"address"},{"internalType":"bool","name":"requireConsortium","type":"bool"}],"internalType":"struct Bridge.DestinationConfig","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTreasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract ILBTC","name":"lbtc_","type":"address"},{"internalType":"address","name":"treasury_","type":"address"},{"internalType":"address","name":"owner_","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lbtc","outputs":[{"internalType":"contract ILBTC","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"fromChain","type":"bytes32"},{"internalType":"bytes","name":"payload","type":"bytes"}],"name":"receivePayload","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"toChain","type":"bytes32"}],"name":"removeDestination","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"bytes32","name":"chainId","type":"bytes32"},{"internalType":"uint256","name":"limit","type":"uint256"},{"internalType":"uint256","name":"window","type":"uint256"}],"internalType":"struct RateLimits.Config[]","name":"depositRateLimits","type":"tuple[]"},{"components":[{"internalType":"bytes32","name":"chainId","type":"bytes32"},{"internalType":"uint256","name":"limit","type":"uint256"},{"internalType":"uint256","name":"window","type":"uint256"}],"internalType":"struct RateLimits.Config[]","name":"withdrawRateLimits","type":"tuple[]"}],"name":"setRateLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"payload","type":"bytes"}],"name":"withdraw","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"nonpayable","type":"function"}]'), qe = /* @__PURE__ */ JSON.parse('[{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_lzEndpoint","type":"address"},{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"AddressEmptyCode","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"AddressInsufficientBalance","type":"error"},{"inputs":[],"name":"FailedInnerCall","type":"error"},{"inputs":[],"name":"InvalidDelegate","type":"error"},{"inputs":[],"name":"InvalidEndpointCall","type":"error"},{"inputs":[],"name":"InvalidLocalDecimals","type":"error"},{"inputs":[{"internalType":"bytes","name":"options","type":"bytes"}],"name":"InvalidOptions","type":"error"},{"inputs":[],"name":"LzTokenUnavailable","type":"error"},{"inputs":[],"name":"MalformedRateLimit","type":"error"},{"inputs":[{"internalType":"uint32","name":"eid","type":"uint32"}],"name":"NoPeer","type":"error"},{"inputs":[{"internalType":"uint256","name":"msgValue","type":"uint256"}],"name":"NotEnoughNative","type":"error"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"OnlyEndpoint","type":"error"},{"inputs":[{"internalType":"uint32","name":"eid","type":"uint32"},{"internalType":"bytes32","name":"sender","type":"bytes32"}],"name":"OnlyPeer","type":"error"},{"inputs":[],"name":"OnlySelf","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"RateLimitExceeded","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"inputs":[{"internalType":"bytes","name":"result","type":"bytes"}],"name":"SimulationResult","type":"error"},{"inputs":[{"internalType":"uint256","name":"amountLD","type":"uint256"},{"internalType":"uint256","name":"minAmountLD","type":"uint256"}],"name":"SlippageExceeded","type":"error"},{"anonymous":false,"inputs":[{"components":[{"internalType":"uint32","name":"eid","type":"uint32"},{"internalType":"uint16","name":"msgType","type":"uint16"},{"internalType":"bytes","name":"options","type":"bytes"}],"indexed":false,"internalType":"struct EnforcedOptionParam[]","name":"_enforcedOptions","type":"tuple[]"}],"name":"EnforcedOptionSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"inspector","type":"address"}],"name":"MsgInspectorSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"guid","type":"bytes32"},{"indexed":false,"internalType":"uint32","name":"srcEid","type":"uint32"},{"indexed":true,"internalType":"address","name":"toAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountReceivedLD","type":"uint256"}],"name":"OFTReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"guid","type":"bytes32"},{"indexed":false,"internalType":"uint32","name":"dstEid","type":"uint32"},{"indexed":true,"internalType":"address","name":"fromAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountSentLD","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountReceivedLD","type":"uint256"}],"name":"OFTSent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint32","name":"eid","type":"uint32"},{"indexed":false,"internalType":"bytes32","name":"peer","type":"bytes32"}],"name":"PeerSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"preCrimeAddress","type":"address"}],"name":"PreCrimeSet","type":"event"},{"anonymous":false,"inputs":[{"components":[{"internalType":"bytes32","name":"chainId","type":"bytes32"},{"internalType":"uint256","name":"limit","type":"uint256"},{"internalType":"uint256","name":"window","type":"uint256"}],"indexed":false,"internalType":"struct RateLimits.Config[]","name":"rateLimitConfigs","type":"tuple[]"},{"indexed":false,"internalType":"enum EfficientRateLimiter.RateLimitDirection","name":"direction","type":"uint8"}],"name":"RateLimitsChanged","type":"event"},{"inputs":[],"name":"SEND","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SEND_AND_CALL","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint32","name":"srcEid","type":"uint32"},{"internalType":"bytes32","name":"sender","type":"bytes32"},{"internalType":"uint64","name":"nonce","type":"uint64"}],"internalType":"struct Origin","name":"origin","type":"tuple"}],"name":"allowInitializePath","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"approvalRequired","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint32","name":"_eid","type":"uint32"},{"internalType":"uint16","name":"_msgType","type":"uint16"},{"internalType":"bytes","name":"_extraOptions","type":"bytes"}],"name":"combineOptions","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimalConversionRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"empty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"endpoint","outputs":[{"internalType":"contract ILayerZeroEndpointV2","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"eid","type":"uint32"},{"internalType":"uint16","name":"msgType","type":"uint16"}],"name":"enforcedOptions","outputs":[{"internalType":"bytes","name":"enforcedOption","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"_srcEid","type":"uint32"}],"name":"getAmountCanBeReceived","outputs":[{"internalType":"uint256","name":"currentAmountInFlight","type":"uint256"},{"internalType":"uint256","name":"amountCanBeReceived","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"_dstEid","type":"uint32"}],"name":"getAmountCanBeSent","outputs":[{"internalType":"uint256","name":"currentAmountInFlight","type":"uint256"},{"internalType":"uint256","name":"amountCanBeSent","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"srcEid","type":"uint32"}],"name":"inboundRateLimits","outputs":[{"internalType":"uint256","name":"amountInFlight","type":"uint256"},{"internalType":"uint256","name":"lastUpdated","type":"uint256"},{"internalType":"uint256","name":"limit","type":"uint256"},{"internalType":"uint256","name":"window","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint32","name":"srcEid","type":"uint32"},{"internalType":"bytes32","name":"sender","type":"bytes32"},{"internalType":"uint64","name":"nonce","type":"uint64"}],"internalType":"struct Origin","name":"","type":"tuple"},{"internalType":"bytes","name":"","type":"bytes"},{"internalType":"address","name":"_sender","type":"address"}],"name":"isComposeMsgSender","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"_eid","type":"uint32"},{"internalType":"bytes32","name":"_peer","type":"bytes32"}],"name":"isPeer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint32","name":"srcEid","type":"uint32"},{"internalType":"bytes32","name":"sender","type":"bytes32"},{"internalType":"uint64","name":"nonce","type":"uint64"}],"internalType":"struct Origin","name":"_origin","type":"tuple"},{"internalType":"bytes32","name":"_guid","type":"bytes32"},{"internalType":"bytes","name":"_message","type":"bytes"},{"internalType":"address","name":"_executor","type":"address"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"lzReceive","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"components":[{"internalType":"uint32","name":"srcEid","type":"uint32"},{"internalType":"bytes32","name":"sender","type":"bytes32"},{"internalType":"uint64","name":"nonce","type":"uint64"}],"internalType":"struct Origin","name":"origin","type":"tuple"},{"internalType":"uint32","name":"dstEid","type":"uint32"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"bytes32","name":"guid","type":"bytes32"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"address","name":"executor","type":"address"},{"internalType":"bytes","name":"message","type":"bytes"},{"internalType":"bytes","name":"extraData","type":"bytes"}],"internalType":"struct InboundPacket[]","name":"_packets","type":"tuple[]"}],"name":"lzReceiveAndRevert","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"uint32","name":"srcEid","type":"uint32"},{"internalType":"bytes32","name":"sender","type":"bytes32"},{"internalType":"uint64","name":"nonce","type":"uint64"}],"internalType":"struct Origin","name":"_origin","type":"tuple"},{"internalType":"bytes32","name":"_guid","type":"bytes32"},{"internalType":"bytes","name":"_message","type":"bytes"},{"internalType":"address","name":"_executor","type":"address"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"lzReceiveSimulate","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"msgInspector","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"","type":"uint32"},{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"nextNonce","outputs":[{"internalType":"uint64","name":"nonce","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"oApp","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"oAppVersion","outputs":[{"internalType":"uint64","name":"senderVersion","type":"uint64"},{"internalType":"uint64","name":"receiverVersion","type":"uint64"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"oftVersion","outputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"},{"internalType":"uint64","name":"version","type":"uint64"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint32","name":"dstEid","type":"uint32"}],"name":"outboundRateLimits","outputs":[{"internalType":"uint256","name":"amountInFlight","type":"uint256"},{"internalType":"uint256","name":"lastUpdated","type":"uint256"},{"internalType":"uint256","name":"limit","type":"uint256"},{"internalType":"uint256","name":"window","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"eid","type":"uint32"}],"name":"peers","outputs":[{"internalType":"bytes32","name":"peer","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preCrime","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint32","name":"dstEid","type":"uint32"},{"internalType":"bytes32","name":"to","type":"bytes32"},{"internalType":"uint256","name":"amountLD","type":"uint256"},{"internalType":"uint256","name":"minAmountLD","type":"uint256"},{"internalType":"bytes","name":"extraOptions","type":"bytes"},{"internalType":"bytes","name":"composeMsg","type":"bytes"},{"internalType":"bytes","name":"oftCmd","type":"bytes"}],"internalType":"struct SendParam","name":"_sendParam","type":"tuple"}],"name":"quoteOFT","outputs":[{"components":[{"internalType":"uint256","name":"minAmountLD","type":"uint256"},{"internalType":"uint256","name":"maxAmountLD","type":"uint256"}],"internalType":"struct OFTLimit","name":"oftLimit","type":"tuple"},{"components":[{"internalType":"int256","name":"feeAmountLD","type":"int256"},{"internalType":"string","name":"description","type":"string"}],"internalType":"struct OFTFeeDetail[]","name":"oftFeeDetails","type":"tuple[]"},{"components":[{"internalType":"uint256","name":"amountSentLD","type":"uint256"},{"internalType":"uint256","name":"amountReceivedLD","type":"uint256"}],"internalType":"struct OFTReceipt","name":"oftReceipt","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint32","name":"dstEid","type":"uint32"},{"internalType":"bytes32","name":"to","type":"bytes32"},{"internalType":"uint256","name":"amountLD","type":"uint256"},{"internalType":"uint256","name":"minAmountLD","type":"uint256"},{"internalType":"bytes","name":"extraOptions","type":"bytes"},{"internalType":"bytes","name":"composeMsg","type":"bytes"},{"internalType":"bytes","name":"oftCmd","type":"bytes"}],"internalType":"struct SendParam","name":"_sendParam","type":"tuple"},{"internalType":"bool","name":"_payInLzToken","type":"bool"}],"name":"quoteSend","outputs":[{"components":[{"internalType":"uint256","name":"nativeFee","type":"uint256"},{"internalType":"uint256","name":"lzTokenFee","type":"uint256"}],"internalType":"struct MessagingFee","name":"msgFee","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint32","name":"dstEid","type":"uint32"},{"internalType":"bytes32","name":"to","type":"bytes32"},{"internalType":"uint256","name":"amountLD","type":"uint256"},{"internalType":"uint256","name":"minAmountLD","type":"uint256"},{"internalType":"bytes","name":"extraOptions","type":"bytes"},{"internalType":"bytes","name":"composeMsg","type":"bytes"},{"internalType":"bytes","name":"oftCmd","type":"bytes"}],"internalType":"struct SendParam","name":"_sendParam","type":"tuple"},{"components":[{"internalType":"uint256","name":"nativeFee","type":"uint256"},{"internalType":"uint256","name":"lzTokenFee","type":"uint256"}],"internalType":"struct MessagingFee","name":"_fee","type":"tuple"},{"internalType":"address","name":"_refundAddress","type":"address"}],"name":"send","outputs":[{"components":[{"internalType":"bytes32","name":"guid","type":"bytes32"},{"internalType":"uint64","name":"nonce","type":"uint64"},{"components":[{"internalType":"uint256","name":"nativeFee","type":"uint256"},{"internalType":"uint256","name":"lzTokenFee","type":"uint256"}],"internalType":"struct MessagingFee","name":"fee","type":"tuple"}],"internalType":"struct MessagingReceipt","name":"msgReceipt","type":"tuple"},{"components":[{"internalType":"uint256","name":"amountSentLD","type":"uint256"},{"internalType":"uint256","name":"amountReceivedLD","type":"uint256"}],"internalType":"struct OFTReceipt","name":"oftReceipt","type":"tuple"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_delegate","type":"address"}],"name":"setDelegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint32","name":"eid","type":"uint32"},{"internalType":"uint16","name":"msgType","type":"uint16"},{"internalType":"bytes","name":"options","type":"bytes"}],"internalType":"struct EnforcedOptionParam[]","name":"_enforcedOptions","type":"tuple[]"}],"name":"setEnforcedOptions","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_msgInspector","type":"address"}],"name":"setMsgInspector","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_eid","type":"uint32"},{"internalType":"bytes32","name":"_peer","type":"bytes32"}],"name":"setPeer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_preCrime","type":"address"}],"name":"setPreCrime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"bytes32","name":"chainId","type":"bytes32"},{"internalType":"uint256","name":"limit","type":"uint256"},{"internalType":"uint256","name":"window","type":"uint256"}],"internalType":"struct RateLimits.Config[]","name":"_rateLimitConfigs","type":"tuple[]"},{"internalType":"enum EfficientRateLimiter.RateLimitDirection","name":"direction","type":"uint8"}],"name":"setRateLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sharedDecimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]'), Zr = V(1e-6);
|
|
42078
|
+
const It = /* @__PURE__ */ JSON.parse('[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AdapterNotConfirmed","type":"error"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"AddressEmptyCode","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"AddressInsufficientBalance","type":"error"},{"inputs":[{"internalType":"uint256","name":"commission","type":"uint256"}],"name":"AmountLessThanCommission","type":"error"},{"inputs":[],"name":"AmountTooSmallToPayRelativeFee","type":"error"},{"inputs":[],"name":"BadCommission","type":"error"},{"inputs":[],"name":"BadConfiguration","type":"error"},{"inputs":[],"name":"Bridge_ZeroAddress","type":"error"},{"inputs":[],"name":"Bridge_ZeroAmount","type":"error"},{"inputs":[],"name":"ConsortiumNotConfirmed","type":"error"},{"inputs":[],"name":"FailedInnerCall","type":"error"},{"inputs":[],"name":"InvalidInitialization","type":"error"},{"inputs":[],"name":"KnownDestination","type":"error"},{"inputs":[],"name":"MalformedRateLimit","type":"error"},{"inputs":[],"name":"MathOverflowedMulDiv","type":"error"},{"inputs":[],"name":"NotInitializing","type":"error"},{"inputs":[],"name":"NotValidDestination","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"PayloadAlreadyUsed","type":"error"},{"inputs":[],"name":"PayloadTooLarge","type":"error"},{"inputs":[],"name":"RateLimitExceeded","type":"error"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"inputs":[{"internalType":"bytes4","name":"action","type":"bytes4"}],"name":"UnexpectedAction","type":"error"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"UnknownAdapter","type":"error"},{"inputs":[],"name":"UnknownDestination","type":"error"},{"inputs":[{"internalType":"bytes32","name":"fromChain","type":"bytes32"},{"internalType":"bytes32","name":"fromContract","type":"bytes32"}],"name":"UnknownOriginContract","type":"error"},{"inputs":[],"name":"WrongChainId","type":"error"},{"inputs":[],"name":"ZeroAddress","type":"error"},{"inputs":[],"name":"ZeroAmount","type":"error"},{"inputs":[],"name":"ZeroChainId","type":"error"},{"inputs":[],"name":"ZeroContractHash","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdapter","type":"address"},{"indexed":false,"internalType":"contract IAdapter","name":"newAdapter","type":"address"}],"name":"AdapterChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"chain","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"contractAddress","type":"bytes32"}],"name":"BridgeDestinationAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"chain","type":"bytes32"}],"name":"BridgeDestinationRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract INotaryConsortium","name":"prevVal","type":"address"},{"indexed":true,"internalType":"contract INotaryConsortium","name":"newVal","type":"address"}],"name":"ConsortiumChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint64","name":"newValue","type":"uint64"},{"indexed":true,"internalType":"bytes32","name":"chain","type":"bytes32"}],"name":"DepositAbsoluteCommissionChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"newValue","type":"uint16"},{"indexed":true,"internalType":"bytes32","name":"chain","type":"bytes32"}],"name":"DepositRelativeCommissionChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"fromAddress","type":"address"},{"indexed":true,"internalType":"bytes32","name":"toAddress","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"payloadHash","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"payload","type":"bytes"}],"name":"DepositToBridge","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint64","name":"version","type":"uint64"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferStarted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":true,"internalType":"bytes32","name":"payloadHash","type":"bytes32"}],"name":"PayloadNotarized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":true,"internalType":"bytes32","name":"payloadHash","type":"bytes32"},{"indexed":true,"internalType":"address","name":"adapter","type":"address"}],"name":"PayloadReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"chainId","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"limit","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"window","type":"uint256"}],"name":"RateLimitsChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousTreasury","type":"address"},{"indexed":false,"internalType":"address","name":"newTreasury","type":"address"}],"name":"TreasuryChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":true,"internalType":"bytes32","name":"payloadHash","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"payload","type":"bytes"},{"indexed":false,"internalType":"uint64","name":"amount","type":"uint64"}],"name":"WithdrawFromBridge","type":"event"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"toChain","type":"bytes32"},{"internalType":"bytes32","name":"toContract","type":"bytes32"},{"internalType":"uint16","name":"relCommission","type":"uint16"},{"internalType":"uint64","name":"absCommission","type":"uint64"},{"internalType":"contract IAdapter","name":"adapter","type":"address"},{"internalType":"bool","name":"requireConsortium","type":"bool"}],"name":"addDestination","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"payload","type":"bytes"},{"internalType":"bytes","name":"proof","type":"bytes"}],"name":"authNotary","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"chain","type":"bytes32"},{"internalType":"contract IAdapter","name":"newAdapter","type":"address"}],"name":"changeAdapter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract INotaryConsortium","name":"newVal","type":"address"}],"name":"changeConsortium","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"newValue","type":"uint64"},{"internalType":"bytes32","name":"chain","type":"bytes32"}],"name":"changeDepositAbsoluteCommission","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"newValue","type":"uint16"},{"internalType":"bytes32","name":"chain","type":"bytes32"}],"name":"changeDepositRelativeCommission","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"consortium","outputs":[{"internalType":"contract INotaryConsortium","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"toChain","type":"bytes32"},{"internalType":"bytes32","name":"toAddress","type":"bytes32"},{"internalType":"uint64","name":"amount","type":"uint64"}],"name":"deposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"toChain","type":"bytes32"}],"name":"getAdapter","outputs":[{"internalType":"contract IAdapter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"toChain","type":"bytes32"},{"internalType":"bytes32","name":"toAddress","type":"bytes32"},{"internalType":"uint64","name":"amount","type":"uint64"}],"name":"getAdapterFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"toChain","type":"bytes32"}],"name":"getDepositAbsoluteCommission","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"toChain","type":"bytes32"}],"name":"getDepositRelativeCommission","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"toChain","type":"bytes32"}],"name":"getDestination","outputs":[{"components":[{"internalType":"bytes32","name":"bridgeContract","type":"bytes32"},{"internalType":"uint16","name":"relativeCommission","type":"uint16"},{"internalType":"uint64","name":"absoluteCommission","type":"uint64"},{"internalType":"contract IAdapter","name":"adapter","type":"address"},{"internalType":"bool","name":"requireConsortium","type":"bool"}],"internalType":"struct Bridge.DestinationConfig","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTreasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract ILBTC","name":"lbtc_","type":"address"},{"internalType":"address","name":"treasury_","type":"address"},{"internalType":"address","name":"owner_","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lbtc","outputs":[{"internalType":"contract ILBTC","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"fromChain","type":"bytes32"},{"internalType":"bytes","name":"payload","type":"bytes"}],"name":"receivePayload","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"toChain","type":"bytes32"}],"name":"removeDestination","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"bytes32","name":"chainId","type":"bytes32"},{"internalType":"uint256","name":"limit","type":"uint256"},{"internalType":"uint256","name":"window","type":"uint256"}],"internalType":"struct RateLimits.Config[]","name":"depositRateLimits","type":"tuple[]"},{"components":[{"internalType":"bytes32","name":"chainId","type":"bytes32"},{"internalType":"uint256","name":"limit","type":"uint256"},{"internalType":"uint256","name":"window","type":"uint256"}],"internalType":"struct RateLimits.Config[]","name":"withdrawRateLimits","type":"tuple[]"}],"name":"setRateLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"payload","type":"bytes"}],"name":"withdraw","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"nonpayable","type":"function"}]'), qe = /* @__PURE__ */ JSON.parse('[{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_lzEndpoint","type":"address"},{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"AddressEmptyCode","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"AddressInsufficientBalance","type":"error"},{"inputs":[],"name":"FailedInnerCall","type":"error"},{"inputs":[],"name":"InvalidDelegate","type":"error"},{"inputs":[],"name":"InvalidEndpointCall","type":"error"},{"inputs":[],"name":"InvalidLocalDecimals","type":"error"},{"inputs":[{"internalType":"bytes","name":"options","type":"bytes"}],"name":"InvalidOptions","type":"error"},{"inputs":[],"name":"LzTokenUnavailable","type":"error"},{"inputs":[],"name":"MalformedRateLimit","type":"error"},{"inputs":[{"internalType":"uint32","name":"eid","type":"uint32"}],"name":"NoPeer","type":"error"},{"inputs":[{"internalType":"uint256","name":"msgValue","type":"uint256"}],"name":"NotEnoughNative","type":"error"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"OnlyEndpoint","type":"error"},{"inputs":[{"internalType":"uint32","name":"eid","type":"uint32"},{"internalType":"bytes32","name":"sender","type":"bytes32"}],"name":"OnlyPeer","type":"error"},{"inputs":[],"name":"OnlySelf","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"RateLimitExceeded","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"inputs":[{"internalType":"bytes","name":"result","type":"bytes"}],"name":"SimulationResult","type":"error"},{"inputs":[{"internalType":"uint256","name":"amountLD","type":"uint256"},{"internalType":"uint256","name":"minAmountLD","type":"uint256"}],"name":"SlippageExceeded","type":"error"},{"anonymous":false,"inputs":[{"components":[{"internalType":"uint32","name":"eid","type":"uint32"},{"internalType":"uint16","name":"msgType","type":"uint16"},{"internalType":"bytes","name":"options","type":"bytes"}],"indexed":false,"internalType":"struct EnforcedOptionParam[]","name":"_enforcedOptions","type":"tuple[]"}],"name":"EnforcedOptionSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"inspector","type":"address"}],"name":"MsgInspectorSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"guid","type":"bytes32"},{"indexed":false,"internalType":"uint32","name":"srcEid","type":"uint32"},{"indexed":true,"internalType":"address","name":"toAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountReceivedLD","type":"uint256"}],"name":"OFTReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"guid","type":"bytes32"},{"indexed":false,"internalType":"uint32","name":"dstEid","type":"uint32"},{"indexed":true,"internalType":"address","name":"fromAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountSentLD","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountReceivedLD","type":"uint256"}],"name":"OFTSent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint32","name":"eid","type":"uint32"},{"indexed":false,"internalType":"bytes32","name":"peer","type":"bytes32"}],"name":"PeerSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"preCrimeAddress","type":"address"}],"name":"PreCrimeSet","type":"event"},{"anonymous":false,"inputs":[{"components":[{"internalType":"bytes32","name":"chainId","type":"bytes32"},{"internalType":"uint256","name":"limit","type":"uint256"},{"internalType":"uint256","name":"window","type":"uint256"}],"indexed":false,"internalType":"struct RateLimits.Config[]","name":"rateLimitConfigs","type":"tuple[]"},{"indexed":false,"internalType":"enum EfficientRateLimiter.RateLimitDirection","name":"direction","type":"uint8"}],"name":"RateLimitsChanged","type":"event"},{"inputs":[],"name":"SEND","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SEND_AND_CALL","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint32","name":"srcEid","type":"uint32"},{"internalType":"bytes32","name":"sender","type":"bytes32"},{"internalType":"uint64","name":"nonce","type":"uint64"}],"internalType":"struct Origin","name":"origin","type":"tuple"}],"name":"allowInitializePath","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"approvalRequired","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint32","name":"_eid","type":"uint32"},{"internalType":"uint16","name":"_msgType","type":"uint16"},{"internalType":"bytes","name":"_extraOptions","type":"bytes"}],"name":"combineOptions","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimalConversionRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"empty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"endpoint","outputs":[{"internalType":"contract ILayerZeroEndpointV2","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"eid","type":"uint32"},{"internalType":"uint16","name":"msgType","type":"uint16"}],"name":"enforcedOptions","outputs":[{"internalType":"bytes","name":"enforcedOption","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"_srcEid","type":"uint32"}],"name":"getAmountCanBeReceived","outputs":[{"internalType":"uint256","name":"currentAmountInFlight","type":"uint256"},{"internalType":"uint256","name":"amountCanBeReceived","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"_dstEid","type":"uint32"}],"name":"getAmountCanBeSent","outputs":[{"internalType":"uint256","name":"currentAmountInFlight","type":"uint256"},{"internalType":"uint256","name":"amountCanBeSent","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"srcEid","type":"uint32"}],"name":"inboundRateLimits","outputs":[{"internalType":"uint256","name":"amountInFlight","type":"uint256"},{"internalType":"uint256","name":"lastUpdated","type":"uint256"},{"internalType":"uint256","name":"limit","type":"uint256"},{"internalType":"uint256","name":"window","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint32","name":"srcEid","type":"uint32"},{"internalType":"bytes32","name":"sender","type":"bytes32"},{"internalType":"uint64","name":"nonce","type":"uint64"}],"internalType":"struct Origin","name":"","type":"tuple"},{"internalType":"bytes","name":"","type":"bytes"},{"internalType":"address","name":"_sender","type":"address"}],"name":"isComposeMsgSender","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"_eid","type":"uint32"},{"internalType":"bytes32","name":"_peer","type":"bytes32"}],"name":"isPeer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint32","name":"srcEid","type":"uint32"},{"internalType":"bytes32","name":"sender","type":"bytes32"},{"internalType":"uint64","name":"nonce","type":"uint64"}],"internalType":"struct Origin","name":"_origin","type":"tuple"},{"internalType":"bytes32","name":"_guid","type":"bytes32"},{"internalType":"bytes","name":"_message","type":"bytes"},{"internalType":"address","name":"_executor","type":"address"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"lzReceive","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"components":[{"internalType":"uint32","name":"srcEid","type":"uint32"},{"internalType":"bytes32","name":"sender","type":"bytes32"},{"internalType":"uint64","name":"nonce","type":"uint64"}],"internalType":"struct Origin","name":"origin","type":"tuple"},{"internalType":"uint32","name":"dstEid","type":"uint32"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"bytes32","name":"guid","type":"bytes32"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"address","name":"executor","type":"address"},{"internalType":"bytes","name":"message","type":"bytes"},{"internalType":"bytes","name":"extraData","type":"bytes"}],"internalType":"struct InboundPacket[]","name":"_packets","type":"tuple[]"}],"name":"lzReceiveAndRevert","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"uint32","name":"srcEid","type":"uint32"},{"internalType":"bytes32","name":"sender","type":"bytes32"},{"internalType":"uint64","name":"nonce","type":"uint64"}],"internalType":"struct Origin","name":"_origin","type":"tuple"},{"internalType":"bytes32","name":"_guid","type":"bytes32"},{"internalType":"bytes","name":"_message","type":"bytes"},{"internalType":"address","name":"_executor","type":"address"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"lzReceiveSimulate","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"msgInspector","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"","type":"uint32"},{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"nextNonce","outputs":[{"internalType":"uint64","name":"nonce","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"oApp","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"oAppVersion","outputs":[{"internalType":"uint64","name":"senderVersion","type":"uint64"},{"internalType":"uint64","name":"receiverVersion","type":"uint64"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"oftVersion","outputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"},{"internalType":"uint64","name":"version","type":"uint64"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint32","name":"dstEid","type":"uint32"}],"name":"outboundRateLimits","outputs":[{"internalType":"uint256","name":"amountInFlight","type":"uint256"},{"internalType":"uint256","name":"lastUpdated","type":"uint256"},{"internalType":"uint256","name":"limit","type":"uint256"},{"internalType":"uint256","name":"window","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"eid","type":"uint32"}],"name":"peers","outputs":[{"internalType":"bytes32","name":"peer","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preCrime","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint32","name":"dstEid","type":"uint32"},{"internalType":"bytes32","name":"to","type":"bytes32"},{"internalType":"uint256","name":"amountLD","type":"uint256"},{"internalType":"uint256","name":"minAmountLD","type":"uint256"},{"internalType":"bytes","name":"extraOptions","type":"bytes"},{"internalType":"bytes","name":"composeMsg","type":"bytes"},{"internalType":"bytes","name":"oftCmd","type":"bytes"}],"internalType":"struct SendParam","name":"_sendParam","type":"tuple"}],"name":"quoteOFT","outputs":[{"components":[{"internalType":"uint256","name":"minAmountLD","type":"uint256"},{"internalType":"uint256","name":"maxAmountLD","type":"uint256"}],"internalType":"struct OFTLimit","name":"oftLimit","type":"tuple"},{"components":[{"internalType":"int256","name":"feeAmountLD","type":"int256"},{"internalType":"string","name":"description","type":"string"}],"internalType":"struct OFTFeeDetail[]","name":"oftFeeDetails","type":"tuple[]"},{"components":[{"internalType":"uint256","name":"amountSentLD","type":"uint256"},{"internalType":"uint256","name":"amountReceivedLD","type":"uint256"}],"internalType":"struct OFTReceipt","name":"oftReceipt","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint32","name":"dstEid","type":"uint32"},{"internalType":"bytes32","name":"to","type":"bytes32"},{"internalType":"uint256","name":"amountLD","type":"uint256"},{"internalType":"uint256","name":"minAmountLD","type":"uint256"},{"internalType":"bytes","name":"extraOptions","type":"bytes"},{"internalType":"bytes","name":"composeMsg","type":"bytes"},{"internalType":"bytes","name":"oftCmd","type":"bytes"}],"internalType":"struct SendParam","name":"_sendParam","type":"tuple"},{"internalType":"bool","name":"_payInLzToken","type":"bool"}],"name":"quoteSend","outputs":[{"components":[{"internalType":"uint256","name":"nativeFee","type":"uint256"},{"internalType":"uint256","name":"lzTokenFee","type":"uint256"}],"internalType":"struct MessagingFee","name":"msgFee","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint32","name":"dstEid","type":"uint32"},{"internalType":"bytes32","name":"to","type":"bytes32"},{"internalType":"uint256","name":"amountLD","type":"uint256"},{"internalType":"uint256","name":"minAmountLD","type":"uint256"},{"internalType":"bytes","name":"extraOptions","type":"bytes"},{"internalType":"bytes","name":"composeMsg","type":"bytes"},{"internalType":"bytes","name":"oftCmd","type":"bytes"}],"internalType":"struct SendParam","name":"_sendParam","type":"tuple"},{"components":[{"internalType":"uint256","name":"nativeFee","type":"uint256"},{"internalType":"uint256","name":"lzTokenFee","type":"uint256"}],"internalType":"struct MessagingFee","name":"_fee","type":"tuple"},{"internalType":"address","name":"_refundAddress","type":"address"}],"name":"send","outputs":[{"components":[{"internalType":"bytes32","name":"guid","type":"bytes32"},{"internalType":"uint64","name":"nonce","type":"uint64"},{"components":[{"internalType":"uint256","name":"nativeFee","type":"uint256"},{"internalType":"uint256","name":"lzTokenFee","type":"uint256"}],"internalType":"struct MessagingFee","name":"fee","type":"tuple"}],"internalType":"struct MessagingReceipt","name":"msgReceipt","type":"tuple"},{"components":[{"internalType":"uint256","name":"amountSentLD","type":"uint256"},{"internalType":"uint256","name":"amountReceivedLD","type":"uint256"}],"internalType":"struct OFTReceipt","name":"oftReceipt","type":"tuple"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_delegate","type":"address"}],"name":"setDelegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint32","name":"eid","type":"uint32"},{"internalType":"uint16","name":"msgType","type":"uint16"},{"internalType":"bytes","name":"options","type":"bytes"}],"internalType":"struct EnforcedOptionParam[]","name":"_enforcedOptions","type":"tuple[]"}],"name":"setEnforcedOptions","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_msgInspector","type":"address"}],"name":"setMsgInspector","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_eid","type":"uint32"},{"internalType":"bytes32","name":"_peer","type":"bytes32"}],"name":"setPeer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_preCrime","type":"address"}],"name":"setPreCrime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"bytes32","name":"chainId","type":"bytes32"},{"internalType":"uint256","name":"limit","type":"uint256"},{"internalType":"uint256","name":"window","type":"uint256"}],"internalType":"struct RateLimits.Config[]","name":"_rateLimitConfigs","type":"tuple[]"},{"internalType":"enum EfficientRateLimiter.RateLimitDirection","name":"direction","type":"uint8"}],"name":"setRateLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sharedDecimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]'), Zr = V(1e-6);
|
|
42076
42079
|
var lt = /* @__PURE__ */ ((e) => (e.CCIP = "CCIP", e.OFT = "OFT", e))(lt || {});
|
|
42077
42080
|
const Dc = {
|
|
42078
42081
|
CCIP: "https://ccip.chain.link/tx/{txHash}",
|
|
@@ -42128,7 +42131,7 @@ const nS = 9e4, aS = 2e5, rS = [
|
|
|
42128
42131
|
type: "CCIP",
|
|
42129
42132
|
contract: {
|
|
42130
42133
|
address: "0xa869817b48b25eee986bdf4be04062e6fd2c418b",
|
|
42131
|
-
abi:
|
|
42134
|
+
abi: It,
|
|
42132
42135
|
chainId: f.ethereum
|
|
42133
42136
|
}
|
|
42134
42137
|
}, iS = {
|
|
@@ -42140,7 +42143,7 @@ const nS = 9e4, aS = 2e5, rS = [
|
|
|
42140
42143
|
type: "CCIP",
|
|
42141
42144
|
contract: {
|
|
42142
42145
|
address: "0xa869817b48b25eee986bdf4be04062e6fd2c418b",
|
|
42143
|
-
abi:
|
|
42146
|
+
abi: It,
|
|
42144
42147
|
chainId: f.base
|
|
42145
42148
|
}
|
|
42146
42149
|
}, oS = {
|
|
@@ -42152,7 +42155,7 @@ const nS = 9e4, aS = 2e5, rS = [
|
|
|
42152
42155
|
type: "CCIP",
|
|
42153
42156
|
contract: {
|
|
42154
42157
|
address: "0xa869817b48b25eee986bdf4be04062e6fd2c418b",
|
|
42155
|
-
abi:
|
|
42158
|
+
abi: It,
|
|
42156
42159
|
chainId: f.binanceSmartChain
|
|
42157
42160
|
}
|
|
42158
42161
|
}, lS = {
|
|
@@ -42165,7 +42168,7 @@ const nS = 9e4, aS = 2e5, rS = [
|
|
|
42165
42168
|
type: "CCIP",
|
|
42166
42169
|
contract: {
|
|
42167
42170
|
address: "0xA869817b48b25EeE986bdF4bE04062e6fd2C418B",
|
|
42168
|
-
abi:
|
|
42171
|
+
abi: It,
|
|
42169
42172
|
chainId: f.katana
|
|
42170
42173
|
}
|
|
42171
42174
|
}, cS = {
|
|
@@ -42176,7 +42179,7 @@ const nS = 9e4, aS = 2e5, rS = [
|
|
|
42176
42179
|
type: "CCIP",
|
|
42177
42180
|
contract: {
|
|
42178
42181
|
address: "0xa869817b48b25eee986bdf4be04062e6fd2c418b",
|
|
42179
|
-
abi:
|
|
42182
|
+
abi: It,
|
|
42180
42183
|
chainId: f.sonic
|
|
42181
42184
|
}
|
|
42182
42185
|
}, uS = {
|
|
@@ -42184,7 +42187,7 @@ const nS = 9e4, aS = 2e5, rS = [
|
|
|
42184
42187
|
type: "CCIP",
|
|
42185
42188
|
contract: {
|
|
42186
42189
|
address: "0x38247C4c846D549CAAd2C6c0b6fec0c402b77a0F",
|
|
42187
|
-
abi:
|
|
42190
|
+
abi: It,
|
|
42188
42191
|
chainId: f.baseSepoliaTestnet
|
|
42189
42192
|
}
|
|
42190
42193
|
}, pS = {
|
|
@@ -42192,7 +42195,7 @@ const nS = 9e4, aS = 2e5, rS = [
|
|
|
42192
42195
|
type: "CCIP",
|
|
42193
42196
|
contract: {
|
|
42194
42197
|
address: "0x38247C4c846D549CAAd2C6c0b6fec0c402b77a0F",
|
|
42195
|
-
abi:
|
|
42198
|
+
abi: It,
|
|
42196
42199
|
chainId: f.holesky
|
|
42197
42200
|
}
|
|
42198
42201
|
}, dS = {
|
|
@@ -42200,7 +42203,7 @@ const nS = 9e4, aS = 2e5, rS = [
|
|
|
42200
42203
|
type: "CCIP",
|
|
42201
42204
|
contract: {
|
|
42202
42205
|
address: "0x38247C4c846D549CAAd2C6c0b6fec0c402b77a0F",
|
|
42203
|
-
abi:
|
|
42206
|
+
abi: It,
|
|
42204
42207
|
chainId: f.katanaTatara
|
|
42205
42208
|
}
|
|
42206
42209
|
}, mS = {
|
|
@@ -42208,7 +42211,7 @@ const nS = 9e4, aS = 2e5, rS = [
|
|
|
42208
42211
|
type: "CCIP",
|
|
42209
42212
|
contract: {
|
|
42210
42213
|
address: "0x38247C4c846D549CAAd2C6c0b6fec0c402b77a0F",
|
|
42211
|
-
abi:
|
|
42214
|
+
abi: It,
|
|
42212
42215
|
chainId: f.sepolia
|
|
42213
42216
|
}
|
|
42214
42217
|
}, yS = [
|
|
@@ -42472,7 +42475,7 @@ Reason: ${k}`
|
|
|
42472
42475
|
abi: Pc,
|
|
42473
42476
|
functionName: "getFee",
|
|
42474
42477
|
args: [BigInt(m.chainSelector), M]
|
|
42475
|
-
}), { request:
|
|
42478
|
+
}), { request: U } = await T.simulateContract({
|
|
42476
42479
|
address: b,
|
|
42477
42480
|
abi: Pc,
|
|
42478
42481
|
account: r,
|
|
@@ -42480,7 +42483,7 @@ Reason: ${k}`
|
|
|
42480
42483
|
args: [BigInt(m.chainSelector), M],
|
|
42481
42484
|
value: F
|
|
42482
42485
|
});
|
|
42483
|
-
return await w.writeContract(
|
|
42486
|
+
return await w.writeContract(U);
|
|
42484
42487
|
}
|
|
42485
42488
|
const xS = {
|
|
42486
42489
|
// Mainnets:
|
|
@@ -42580,7 +42583,7 @@ Reason: ${G}`
|
|
|
42580
42583
|
/** dstEid - uint32 */
|
|
42581
42584
|
xS[e],
|
|
42582
42585
|
/** to - bytes32 */
|
|
42583
|
-
|
|
42586
|
+
Ue(p),
|
|
42584
42587
|
/** amountLD - uint256 */
|
|
42585
42588
|
T,
|
|
42586
42589
|
/** minAmountLD - uint256 */
|
|
@@ -42723,7 +42726,7 @@ export {
|
|
|
42723
42726
|
aS as G,
|
|
42724
42727
|
ua as H,
|
|
42725
42728
|
rS as I,
|
|
42726
|
-
|
|
42729
|
+
U9 as J,
|
|
42727
42730
|
tB as K,
|
|
42728
42731
|
nB as L,
|
|
42729
42732
|
aB as M,
|
|
@@ -42763,7 +42766,7 @@ export {
|
|
|
42763
42766
|
NB as aH,
|
|
42764
42767
|
Nt as aI,
|
|
42765
42768
|
ee as aJ,
|
|
42766
|
-
|
|
42769
|
+
q as aK,
|
|
42767
42770
|
Es as aL,
|
|
42768
42771
|
m9 as aM,
|
|
42769
42772
|
y9 as aN,
|
|
@@ -42801,10 +42804,10 @@ export {
|
|
|
42801
42804
|
SB as as,
|
|
42802
42805
|
G4 as at,
|
|
42803
42806
|
MB as au,
|
|
42804
|
-
|
|
42807
|
+
IB as av,
|
|
42805
42808
|
j4 as aw,
|
|
42806
42809
|
Fe as ax,
|
|
42807
|
-
|
|
42810
|
+
UB as ay,
|
|
42808
42811
|
W4 as az,
|
|
42809
42812
|
Ze as b,
|
|
42810
42813
|
r9 as b0,
|