@1delta/providers 0.0.43 → 0.0.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ccip-P6QKYDYG.mjs → ccip-CQYMVZLL.mjs} +1 -1
- package/dist/{chunk-GGVKF6RL.mjs → chunk-B7I6NQ46.mjs} +121 -88
- package/dist/index.d.mts +368 -2
- package/dist/index.d.ts +368 -2
- package/dist/index.js +670 -498
- package/dist/index.mjs +404 -268
- package/package.json +3 -3
- package/src/chains/chainMapping.ts +6 -0
- package/src/multicall/multicall.ts +42 -3
- package/src/rpc/rpcOverrides.ts +11 -5
package/dist/index.js
CHANGED
|
@@ -979,7 +979,7 @@ var init_exports = __esm({
|
|
|
979
979
|
}
|
|
980
980
|
});
|
|
981
981
|
|
|
982
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
982
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/formatAbiItem.js
|
|
983
983
|
function formatAbiItem2(abiItem, { includeName = false } = {}) {
|
|
984
984
|
if (abiItem.type !== "function" && abiItem.type !== "event" && abiItem.type !== "error")
|
|
985
985
|
throw new InvalidDefinitionTypeError(abiItem.type);
|
|
@@ -997,13 +997,13 @@ function formatAbiParam(param, { includeName }) {
|
|
|
997
997
|
return param.type + (includeName && param.name ? ` ${param.name}` : "");
|
|
998
998
|
}
|
|
999
999
|
var init_formatAbiItem2 = __esm({
|
|
1000
|
-
"../../node_modules/.pnpm/viem@2.
|
|
1000
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/formatAbiItem.js"() {
|
|
1001
1001
|
"use strict";
|
|
1002
1002
|
init_abi();
|
|
1003
1003
|
}
|
|
1004
1004
|
});
|
|
1005
1005
|
|
|
1006
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1006
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/data/isHex.js
|
|
1007
1007
|
function isHex(value, { strict = true } = {}) {
|
|
1008
1008
|
if (!value)
|
|
1009
1009
|
return false;
|
|
@@ -1012,34 +1012,34 @@ function isHex(value, { strict = true } = {}) {
|
|
|
1012
1012
|
return strict ? /^0x[0-9a-fA-F]*$/.test(value) : value.startsWith("0x");
|
|
1013
1013
|
}
|
|
1014
1014
|
var init_isHex = __esm({
|
|
1015
|
-
"../../node_modules/.pnpm/viem@2.
|
|
1015
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/data/isHex.js"() {
|
|
1016
1016
|
"use strict";
|
|
1017
1017
|
}
|
|
1018
1018
|
});
|
|
1019
1019
|
|
|
1020
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1020
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/data/size.js
|
|
1021
1021
|
function size(value) {
|
|
1022
1022
|
if (isHex(value, { strict: false }))
|
|
1023
1023
|
return Math.ceil((value.length - 2) / 2);
|
|
1024
1024
|
return value.length;
|
|
1025
1025
|
}
|
|
1026
1026
|
var init_size = __esm({
|
|
1027
|
-
"../../node_modules/.pnpm/viem@2.
|
|
1027
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/data/size.js"() {
|
|
1028
1028
|
"use strict";
|
|
1029
1029
|
init_isHex();
|
|
1030
1030
|
}
|
|
1031
1031
|
});
|
|
1032
1032
|
|
|
1033
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1033
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/version.js
|
|
1034
1034
|
var version2;
|
|
1035
1035
|
var init_version2 = __esm({
|
|
1036
|
-
"../../node_modules/.pnpm/viem@2.
|
|
1036
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/version.js"() {
|
|
1037
1037
|
"use strict";
|
|
1038
|
-
version2 = "2.
|
|
1038
|
+
version2 = "2.46.1";
|
|
1039
1039
|
}
|
|
1040
1040
|
});
|
|
1041
1041
|
|
|
1042
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1042
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/base.js
|
|
1043
1043
|
function walk(err, fn) {
|
|
1044
1044
|
if (fn?.(err))
|
|
1045
1045
|
return err;
|
|
@@ -1049,7 +1049,7 @@ function walk(err, fn) {
|
|
|
1049
1049
|
}
|
|
1050
1050
|
var errorConfig, BaseError2;
|
|
1051
1051
|
var init_base = __esm({
|
|
1052
|
-
"../../node_modules/.pnpm/viem@2.
|
|
1052
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/base.js"() {
|
|
1053
1053
|
"use strict";
|
|
1054
1054
|
init_version2();
|
|
1055
1055
|
errorConfig = {
|
|
@@ -1130,10 +1130,10 @@ var init_base = __esm({
|
|
|
1130
1130
|
}
|
|
1131
1131
|
});
|
|
1132
1132
|
|
|
1133
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1133
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/abi.js
|
|
1134
1134
|
var AbiConstructorNotFoundError, AbiConstructorParamsNotFoundError, AbiDecodingDataSizeTooSmallError, AbiDecodingZeroDataError, AbiEncodingArrayLengthMismatchError, AbiEncodingBytesSizeMismatchError, AbiEncodingLengthMismatchError, AbiErrorInputsNotFoundError, AbiErrorNotFoundError, AbiErrorSignatureNotFoundError, AbiEventSignatureEmptyTopicsError, AbiEventSignatureNotFoundError, AbiEventNotFoundError, AbiFunctionNotFoundError, AbiFunctionOutputsNotFoundError, AbiFunctionSignatureNotFoundError, AbiItemAmbiguityError, BytesSizeMismatchError, DecodeLogDataMismatch, DecodeLogTopicsMismatch, InvalidAbiEncodingTypeError, InvalidAbiDecodingTypeError, InvalidArrayError, InvalidDefinitionTypeError;
|
|
1135
1135
|
var init_abi = __esm({
|
|
1136
|
-
"../../node_modules/.pnpm/viem@2.
|
|
1136
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/abi.js"() {
|
|
1137
1137
|
"use strict";
|
|
1138
1138
|
init_formatAbiItem2();
|
|
1139
1139
|
init_size();
|
|
@@ -1440,10 +1440,10 @@ var init_abi = __esm({
|
|
|
1440
1440
|
}
|
|
1441
1441
|
});
|
|
1442
1442
|
|
|
1443
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1443
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/data.js
|
|
1444
1444
|
var SliceOffsetOutOfBoundsError, SizeExceedsPaddingSizeError, InvalidBytesLengthError;
|
|
1445
1445
|
var init_data = __esm({
|
|
1446
|
-
"../../node_modules/.pnpm/viem@2.
|
|
1446
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/data.js"() {
|
|
1447
1447
|
"use strict";
|
|
1448
1448
|
init_base();
|
|
1449
1449
|
SliceOffsetOutOfBoundsError = class extends BaseError2 {
|
|
@@ -1464,7 +1464,7 @@ var init_data = __esm({
|
|
|
1464
1464
|
}
|
|
1465
1465
|
});
|
|
1466
1466
|
|
|
1467
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1467
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/data/pad.js
|
|
1468
1468
|
function pad(hexOrBytes, { dir, size: size5 = 32 } = {}) {
|
|
1469
1469
|
if (typeof hexOrBytes === "string")
|
|
1470
1470
|
return padHex(hexOrBytes, { dir, size: size5 });
|
|
@@ -1499,16 +1499,16 @@ function padBytes(bytes, { dir, size: size5 = 32 } = {}) {
|
|
|
1499
1499
|
return paddedBytes;
|
|
1500
1500
|
}
|
|
1501
1501
|
var init_pad = __esm({
|
|
1502
|
-
"../../node_modules/.pnpm/viem@2.
|
|
1502
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/data/pad.js"() {
|
|
1503
1503
|
"use strict";
|
|
1504
1504
|
init_data();
|
|
1505
1505
|
}
|
|
1506
1506
|
});
|
|
1507
1507
|
|
|
1508
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1508
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/encoding.js
|
|
1509
1509
|
var IntegerOutOfRangeError, InvalidBytesBooleanError, InvalidHexBooleanError, SizeOverflowError;
|
|
1510
1510
|
var init_encoding = __esm({
|
|
1511
|
-
"../../node_modules/.pnpm/viem@2.
|
|
1511
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/encoding.js"() {
|
|
1512
1512
|
"use strict";
|
|
1513
1513
|
init_base();
|
|
1514
1514
|
IntegerOutOfRangeError = class extends BaseError2 {
|
|
@@ -1536,7 +1536,7 @@ var init_encoding = __esm({
|
|
|
1536
1536
|
}
|
|
1537
1537
|
});
|
|
1538
1538
|
|
|
1539
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1539
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/data/trim.js
|
|
1540
1540
|
function trim(hexOrBytes, { dir = "left" } = {}) {
|
|
1541
1541
|
let data = typeof hexOrBytes === "string" ? hexOrBytes.replace("0x", "") : hexOrBytes;
|
|
1542
1542
|
let sliceLength = 0;
|
|
@@ -1555,12 +1555,12 @@ function trim(hexOrBytes, { dir = "left" } = {}) {
|
|
|
1555
1555
|
return data;
|
|
1556
1556
|
}
|
|
1557
1557
|
var init_trim = __esm({
|
|
1558
|
-
"../../node_modules/.pnpm/viem@2.
|
|
1558
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/data/trim.js"() {
|
|
1559
1559
|
"use strict";
|
|
1560
1560
|
}
|
|
1561
1561
|
});
|
|
1562
1562
|
|
|
1563
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1563
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/encoding/fromHex.js
|
|
1564
1564
|
function assertSize(hexOrBytes, { size: size5 }) {
|
|
1565
1565
|
if (size(hexOrBytes) > size5)
|
|
1566
1566
|
throw new SizeOverflowError({
|
|
@@ -1607,7 +1607,7 @@ function hexToNumber(hex, opts = {}) {
|
|
|
1607
1607
|
return number;
|
|
1608
1608
|
}
|
|
1609
1609
|
var init_fromHex = __esm({
|
|
1610
|
-
"../../node_modules/.pnpm/viem@2.
|
|
1610
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/encoding/fromHex.js"() {
|
|
1611
1611
|
"use strict";
|
|
1612
1612
|
init_encoding();
|
|
1613
1613
|
init_size();
|
|
@@ -1615,7 +1615,7 @@ var init_fromHex = __esm({
|
|
|
1615
1615
|
}
|
|
1616
1616
|
});
|
|
1617
1617
|
|
|
1618
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1618
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/encoding/toHex.js
|
|
1619
1619
|
function toHex(value, opts = {}) {
|
|
1620
1620
|
if (typeof value === "number" || typeof value === "bigint")
|
|
1621
1621
|
return numberToHex(value, opts);
|
|
@@ -1680,7 +1680,7 @@ function stringToHex(value_, opts = {}) {
|
|
|
1680
1680
|
}
|
|
1681
1681
|
var hexes, encoder;
|
|
1682
1682
|
var init_toHex = __esm({
|
|
1683
|
-
"../../node_modules/.pnpm/viem@2.
|
|
1683
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/encoding/toHex.js"() {
|
|
1684
1684
|
"use strict";
|
|
1685
1685
|
init_encoding();
|
|
1686
1686
|
init_pad();
|
|
@@ -1690,7 +1690,7 @@ var init_toHex = __esm({
|
|
|
1690
1690
|
}
|
|
1691
1691
|
});
|
|
1692
1692
|
|
|
1693
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1693
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/encoding/toBytes.js
|
|
1694
1694
|
function toBytes(value, opts = {}) {
|
|
1695
1695
|
if (typeof value === "number" || typeof value === "bigint")
|
|
1696
1696
|
return numberToBytes(value, opts);
|
|
@@ -1753,7 +1753,7 @@ function stringToBytes(value, opts = {}) {
|
|
|
1753
1753
|
}
|
|
1754
1754
|
var encoder2, charCodeMap;
|
|
1755
1755
|
var init_toBytes = __esm({
|
|
1756
|
-
"../../node_modules/.pnpm/viem@2.
|
|
1756
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/encoding/toBytes.js"() {
|
|
1757
1757
|
"use strict";
|
|
1758
1758
|
init_base();
|
|
1759
1759
|
init_isHex();
|
|
@@ -2111,7 +2111,7 @@ var init_sha3 = __esm({
|
|
|
2111
2111
|
}
|
|
2112
2112
|
});
|
|
2113
2113
|
|
|
2114
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2114
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/hash/keccak256.js
|
|
2115
2115
|
function keccak256(value, to_) {
|
|
2116
2116
|
const to = to_ || "hex";
|
|
2117
2117
|
const bytes = keccak_256(isHex(value, { strict: false }) ? toBytes(value) : value);
|
|
@@ -2120,7 +2120,7 @@ function keccak256(value, to_) {
|
|
|
2120
2120
|
return toHex(bytes);
|
|
2121
2121
|
}
|
|
2122
2122
|
var init_keccak256 = __esm({
|
|
2123
|
-
"../../node_modules/.pnpm/viem@2.
|
|
2123
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/hash/keccak256.js"() {
|
|
2124
2124
|
"use strict";
|
|
2125
2125
|
init_sha3();
|
|
2126
2126
|
init_isHex();
|
|
@@ -2129,13 +2129,13 @@ var init_keccak256 = __esm({
|
|
|
2129
2129
|
}
|
|
2130
2130
|
});
|
|
2131
2131
|
|
|
2132
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2132
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/hash/hashSignature.js
|
|
2133
2133
|
function hashSignature(sig) {
|
|
2134
2134
|
return hash(sig);
|
|
2135
2135
|
}
|
|
2136
2136
|
var hash;
|
|
2137
2137
|
var init_hashSignature = __esm({
|
|
2138
|
-
"../../node_modules/.pnpm/viem@2.
|
|
2138
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/hash/hashSignature.js"() {
|
|
2139
2139
|
"use strict";
|
|
2140
2140
|
init_toBytes();
|
|
2141
2141
|
init_keccak256();
|
|
@@ -2143,7 +2143,7 @@ var init_hashSignature = __esm({
|
|
|
2143
2143
|
}
|
|
2144
2144
|
});
|
|
2145
2145
|
|
|
2146
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2146
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/hash/normalizeSignature.js
|
|
2147
2147
|
function normalizeSignature(signature) {
|
|
2148
2148
|
let active = true;
|
|
2149
2149
|
let current = "";
|
|
@@ -2187,16 +2187,16 @@ function normalizeSignature(signature) {
|
|
|
2187
2187
|
return result;
|
|
2188
2188
|
}
|
|
2189
2189
|
var init_normalizeSignature = __esm({
|
|
2190
|
-
"../../node_modules/.pnpm/viem@2.
|
|
2190
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/hash/normalizeSignature.js"() {
|
|
2191
2191
|
"use strict";
|
|
2192
2192
|
init_base();
|
|
2193
2193
|
}
|
|
2194
2194
|
});
|
|
2195
2195
|
|
|
2196
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2196
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/hash/toSignature.js
|
|
2197
2197
|
var toSignature;
|
|
2198
2198
|
var init_toSignature = __esm({
|
|
2199
|
-
"../../node_modules/.pnpm/viem@2.
|
|
2199
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/hash/toSignature.js"() {
|
|
2200
2200
|
"use strict";
|
|
2201
2201
|
init_exports();
|
|
2202
2202
|
init_normalizeSignature();
|
|
@@ -2211,32 +2211,32 @@ var init_toSignature = __esm({
|
|
|
2211
2211
|
}
|
|
2212
2212
|
});
|
|
2213
2213
|
|
|
2214
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2214
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/hash/toSignatureHash.js
|
|
2215
2215
|
function toSignatureHash(fn) {
|
|
2216
2216
|
return hashSignature(toSignature(fn));
|
|
2217
2217
|
}
|
|
2218
2218
|
var init_toSignatureHash = __esm({
|
|
2219
|
-
"../../node_modules/.pnpm/viem@2.
|
|
2219
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/hash/toSignatureHash.js"() {
|
|
2220
2220
|
"use strict";
|
|
2221
2221
|
init_hashSignature();
|
|
2222
2222
|
init_toSignature();
|
|
2223
2223
|
}
|
|
2224
2224
|
});
|
|
2225
2225
|
|
|
2226
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2226
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/hash/toEventSelector.js
|
|
2227
2227
|
var toEventSelector;
|
|
2228
2228
|
var init_toEventSelector = __esm({
|
|
2229
|
-
"../../node_modules/.pnpm/viem@2.
|
|
2229
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/hash/toEventSelector.js"() {
|
|
2230
2230
|
"use strict";
|
|
2231
2231
|
init_toSignatureHash();
|
|
2232
2232
|
toEventSelector = toSignatureHash;
|
|
2233
2233
|
}
|
|
2234
2234
|
});
|
|
2235
2235
|
|
|
2236
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2236
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/address.js
|
|
2237
2237
|
var InvalidAddressError;
|
|
2238
2238
|
var init_address = __esm({
|
|
2239
|
-
"../../node_modules/.pnpm/viem@2.
|
|
2239
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/address.js"() {
|
|
2240
2240
|
"use strict";
|
|
2241
2241
|
init_base();
|
|
2242
2242
|
InvalidAddressError = class extends BaseError2 {
|
|
@@ -2253,10 +2253,10 @@ var init_address = __esm({
|
|
|
2253
2253
|
}
|
|
2254
2254
|
});
|
|
2255
2255
|
|
|
2256
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2256
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/lru.js
|
|
2257
2257
|
var LruMap;
|
|
2258
2258
|
var init_lru = __esm({
|
|
2259
|
-
"../../node_modules/.pnpm/viem@2.
|
|
2259
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/lru.js"() {
|
|
2260
2260
|
"use strict";
|
|
2261
2261
|
LruMap = class extends Map {
|
|
2262
2262
|
constructor(size5) {
|
|
@@ -2290,7 +2290,7 @@ var init_lru = __esm({
|
|
|
2290
2290
|
}
|
|
2291
2291
|
});
|
|
2292
2292
|
|
|
2293
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2293
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/address/getAddress.js
|
|
2294
2294
|
function checksumAddress(address_, chainId) {
|
|
2295
2295
|
if (checksumAddressCache.has(`${address_}.${chainId}`))
|
|
2296
2296
|
return checksumAddressCache.get(`${address_}.${chainId}`);
|
|
@@ -2316,7 +2316,7 @@ function getAddress(address, chainId) {
|
|
|
2316
2316
|
}
|
|
2317
2317
|
var checksumAddressCache;
|
|
2318
2318
|
var init_getAddress = __esm({
|
|
2319
|
-
"../../node_modules/.pnpm/viem@2.
|
|
2319
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/address/getAddress.js"() {
|
|
2320
2320
|
"use strict";
|
|
2321
2321
|
init_address();
|
|
2322
2322
|
init_toBytes();
|
|
@@ -2327,7 +2327,7 @@ var init_getAddress = __esm({
|
|
|
2327
2327
|
}
|
|
2328
2328
|
});
|
|
2329
2329
|
|
|
2330
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2330
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/address/isAddress.js
|
|
2331
2331
|
function isAddress(address, options) {
|
|
2332
2332
|
const { strict = true } = options ?? {};
|
|
2333
2333
|
const cacheKey2 = `${address}.${strict}`;
|
|
@@ -2347,7 +2347,7 @@ function isAddress(address, options) {
|
|
|
2347
2347
|
}
|
|
2348
2348
|
var addressRegex, isAddressCache;
|
|
2349
2349
|
var init_isAddress = __esm({
|
|
2350
|
-
"../../node_modules/.pnpm/viem@2.
|
|
2350
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/address/isAddress.js"() {
|
|
2351
2351
|
"use strict";
|
|
2352
2352
|
init_lru();
|
|
2353
2353
|
init_getAddress();
|
|
@@ -2356,7 +2356,7 @@ var init_isAddress = __esm({
|
|
|
2356
2356
|
}
|
|
2357
2357
|
});
|
|
2358
2358
|
|
|
2359
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2359
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/data/concat.js
|
|
2360
2360
|
function concat(values) {
|
|
2361
2361
|
if (typeof values[0] === "string")
|
|
2362
2362
|
return concatHex(values);
|
|
@@ -2379,12 +2379,12 @@ function concatHex(values) {
|
|
|
2379
2379
|
return `0x${values.reduce((acc, x) => acc + x.replace("0x", ""), "")}`;
|
|
2380
2380
|
}
|
|
2381
2381
|
var init_concat = __esm({
|
|
2382
|
-
"../../node_modules/.pnpm/viem@2.
|
|
2382
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/data/concat.js"() {
|
|
2383
2383
|
"use strict";
|
|
2384
2384
|
}
|
|
2385
2385
|
});
|
|
2386
2386
|
|
|
2387
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2387
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/data/slice.js
|
|
2388
2388
|
function slice(value, start, end, { strict } = {}) {
|
|
2389
2389
|
if (isHex(value, { strict: false }))
|
|
2390
2390
|
return sliceHex(value, start, end, {
|
|
@@ -2426,7 +2426,7 @@ function sliceHex(value_, start, end, { strict } = {}) {
|
|
|
2426
2426
|
return value;
|
|
2427
2427
|
}
|
|
2428
2428
|
var init_slice = __esm({
|
|
2429
|
-
"../../node_modules/.pnpm/viem@2.
|
|
2429
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/data/slice.js"() {
|
|
2430
2430
|
"use strict";
|
|
2431
2431
|
init_data();
|
|
2432
2432
|
init_isHex();
|
|
@@ -2434,17 +2434,17 @@ var init_slice = __esm({
|
|
|
2434
2434
|
}
|
|
2435
2435
|
});
|
|
2436
2436
|
|
|
2437
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2437
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/regex.js
|
|
2438
2438
|
var bytesRegex2, integerRegex2;
|
|
2439
2439
|
var init_regex2 = __esm({
|
|
2440
|
-
"../../node_modules/.pnpm/viem@2.
|
|
2440
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/regex.js"() {
|
|
2441
2441
|
"use strict";
|
|
2442
2442
|
bytesRegex2 = /^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/;
|
|
2443
2443
|
integerRegex2 = /^(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)?$/;
|
|
2444
2444
|
}
|
|
2445
2445
|
});
|
|
2446
2446
|
|
|
2447
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2447
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/encodeAbiParameters.js
|
|
2448
2448
|
function encodeAbiParameters(params, values) {
|
|
2449
2449
|
if (params.length !== values.length)
|
|
2450
2450
|
throw new AbiEncodingLengthMismatchError({
|
|
@@ -2658,7 +2658,7 @@ function getArrayComponents(type) {
|
|
|
2658
2658
|
) : void 0;
|
|
2659
2659
|
}
|
|
2660
2660
|
var init_encodeAbiParameters = __esm({
|
|
2661
|
-
"../../node_modules/.pnpm/viem@2.
|
|
2661
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/encodeAbiParameters.js"() {
|
|
2662
2662
|
"use strict";
|
|
2663
2663
|
init_abi();
|
|
2664
2664
|
init_address();
|
|
@@ -2674,10 +2674,10 @@ var init_encodeAbiParameters = __esm({
|
|
|
2674
2674
|
}
|
|
2675
2675
|
});
|
|
2676
2676
|
|
|
2677
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2677
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/hash/toFunctionSelector.js
|
|
2678
2678
|
var toFunctionSelector;
|
|
2679
2679
|
var init_toFunctionSelector = __esm({
|
|
2680
|
-
"../../node_modules/.pnpm/viem@2.
|
|
2680
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/hash/toFunctionSelector.js"() {
|
|
2681
2681
|
"use strict";
|
|
2682
2682
|
init_slice();
|
|
2683
2683
|
init_toSignatureHash();
|
|
@@ -2685,7 +2685,7 @@ var init_toFunctionSelector = __esm({
|
|
|
2685
2685
|
}
|
|
2686
2686
|
});
|
|
2687
2687
|
|
|
2688
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2688
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/getAbiItem.js
|
|
2689
2689
|
function getAbiItem(parameters) {
|
|
2690
2690
|
const { abi: abi2, args = [], name } = parameters;
|
|
2691
2691
|
const isSelector = isHex(name, { strict: false });
|
|
@@ -2797,7 +2797,7 @@ function getAmbiguousTypes(sourceParameters, targetParameters, args) {
|
|
|
2797
2797
|
return;
|
|
2798
2798
|
}
|
|
2799
2799
|
var init_getAbiItem = __esm({
|
|
2800
|
-
"../../node_modules/.pnpm/viem@2.
|
|
2800
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/getAbiItem.js"() {
|
|
2801
2801
|
"use strict";
|
|
2802
2802
|
init_abi();
|
|
2803
2803
|
init_isHex();
|
|
@@ -2807,19 +2807,19 @@ var init_getAbiItem = __esm({
|
|
|
2807
2807
|
}
|
|
2808
2808
|
});
|
|
2809
2809
|
|
|
2810
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2810
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/accounts/utils/parseAccount.js
|
|
2811
2811
|
function parseAccount(account) {
|
|
2812
2812
|
if (typeof account === "string")
|
|
2813
2813
|
return { address: account, type: "json-rpc" };
|
|
2814
2814
|
return account;
|
|
2815
2815
|
}
|
|
2816
2816
|
var init_parseAccount = __esm({
|
|
2817
|
-
"../../node_modules/.pnpm/viem@2.
|
|
2817
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/accounts/utils/parseAccount.js"() {
|
|
2818
2818
|
"use strict";
|
|
2819
2819
|
}
|
|
2820
2820
|
});
|
|
2821
2821
|
|
|
2822
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2822
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/prepareEncodeFunctionData.js
|
|
2823
2823
|
function prepareEncodeFunctionData(parameters) {
|
|
2824
2824
|
const { abi: abi2, args, functionName } = parameters;
|
|
2825
2825
|
let abiItem = abi2[0];
|
|
@@ -2842,7 +2842,7 @@ function prepareEncodeFunctionData(parameters) {
|
|
|
2842
2842
|
}
|
|
2843
2843
|
var docsPath2;
|
|
2844
2844
|
var init_prepareEncodeFunctionData = __esm({
|
|
2845
|
-
"../../node_modules/.pnpm/viem@2.
|
|
2845
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/prepareEncodeFunctionData.js"() {
|
|
2846
2846
|
"use strict";
|
|
2847
2847
|
init_abi();
|
|
2848
2848
|
init_toFunctionSelector();
|
|
@@ -2852,7 +2852,7 @@ var init_prepareEncodeFunctionData = __esm({
|
|
|
2852
2852
|
}
|
|
2853
2853
|
});
|
|
2854
2854
|
|
|
2855
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2855
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/encodeFunctionData.js
|
|
2856
2856
|
function encodeFunctionData(parameters) {
|
|
2857
2857
|
const { args } = parameters;
|
|
2858
2858
|
const { abi: abi2, functionName } = (() => {
|
|
@@ -2866,7 +2866,7 @@ function encodeFunctionData(parameters) {
|
|
|
2866
2866
|
return concatHex([signature, data ?? "0x"]);
|
|
2867
2867
|
}
|
|
2868
2868
|
var init_encodeFunctionData = __esm({
|
|
2869
|
-
"../../node_modules/.pnpm/viem@2.
|
|
2869
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/encodeFunctionData.js"() {
|
|
2870
2870
|
"use strict";
|
|
2871
2871
|
init_concat();
|
|
2872
2872
|
init_encodeAbiParameters();
|
|
@@ -2874,10 +2874,10 @@ var init_encodeFunctionData = __esm({
|
|
|
2874
2874
|
}
|
|
2875
2875
|
});
|
|
2876
2876
|
|
|
2877
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2877
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/constants/solidity.js
|
|
2878
2878
|
var panicReasons, solidityError, solidityPanic;
|
|
2879
2879
|
var init_solidity = __esm({
|
|
2880
|
-
"../../node_modules/.pnpm/viem@2.
|
|
2880
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/constants/solidity.js"() {
|
|
2881
2881
|
"use strict";
|
|
2882
2882
|
panicReasons = {
|
|
2883
2883
|
1: "An `assert` condition failed.",
|
|
@@ -2913,10 +2913,10 @@ var init_solidity = __esm({
|
|
|
2913
2913
|
}
|
|
2914
2914
|
});
|
|
2915
2915
|
|
|
2916
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2916
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/cursor.js
|
|
2917
2917
|
var NegativeOffsetError, PositionOutOfBoundsError, RecursiveReadLimitExceededError;
|
|
2918
2918
|
var init_cursor = __esm({
|
|
2919
|
-
"../../node_modules/.pnpm/viem@2.
|
|
2919
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/cursor.js"() {
|
|
2920
2920
|
"use strict";
|
|
2921
2921
|
init_base();
|
|
2922
2922
|
NegativeOffsetError = class extends BaseError2 {
|
|
@@ -2939,7 +2939,7 @@ var init_cursor = __esm({
|
|
|
2939
2939
|
}
|
|
2940
2940
|
});
|
|
2941
2941
|
|
|
2942
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2942
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/cursor.js
|
|
2943
2943
|
function createCursor(bytes, { recursiveReadLimit = 8192 } = {}) {
|
|
2944
2944
|
const cursor = Object.create(staticCursor);
|
|
2945
2945
|
cursor.bytes = bytes;
|
|
@@ -2950,7 +2950,7 @@ function createCursor(bytes, { recursiveReadLimit = 8192 } = {}) {
|
|
|
2950
2950
|
}
|
|
2951
2951
|
var staticCursor;
|
|
2952
2952
|
var init_cursor2 = __esm({
|
|
2953
|
-
"../../node_modules/.pnpm/viem@2.
|
|
2953
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/cursor.js"() {
|
|
2954
2954
|
"use strict";
|
|
2955
2955
|
init_cursor();
|
|
2956
2956
|
staticCursor = {
|
|
@@ -3115,7 +3115,7 @@ var init_cursor2 = __esm({
|
|
|
3115
3115
|
}
|
|
3116
3116
|
});
|
|
3117
3117
|
|
|
3118
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
3118
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/encoding/fromBytes.js
|
|
3119
3119
|
function bytesToBigInt(bytes, opts = {}) {
|
|
3120
3120
|
if (typeof opts.size !== "undefined")
|
|
3121
3121
|
assertSize(bytes, { size: opts.size });
|
|
@@ -3147,7 +3147,7 @@ function bytesToString(bytes_, opts = {}) {
|
|
|
3147
3147
|
return new TextDecoder().decode(bytes);
|
|
3148
3148
|
}
|
|
3149
3149
|
var init_fromBytes = __esm({
|
|
3150
|
-
"../../node_modules/.pnpm/viem@2.
|
|
3150
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/encoding/fromBytes.js"() {
|
|
3151
3151
|
"use strict";
|
|
3152
3152
|
init_encoding();
|
|
3153
3153
|
init_trim();
|
|
@@ -3156,7 +3156,7 @@ var init_fromBytes = __esm({
|
|
|
3156
3156
|
}
|
|
3157
3157
|
});
|
|
3158
3158
|
|
|
3159
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
3159
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/decodeAbiParameters.js
|
|
3160
3160
|
function decodeAbiParameters(params, data) {
|
|
3161
3161
|
const bytes = typeof data === "string" ? hexToBytes(data) : data;
|
|
3162
3162
|
const cursor = createCursor(bytes);
|
|
@@ -3342,7 +3342,7 @@ function hasDynamicChild(param) {
|
|
|
3342
3342
|
}
|
|
3343
3343
|
var sizeOfLength, sizeOfOffset;
|
|
3344
3344
|
var init_decodeAbiParameters = __esm({
|
|
3345
|
-
"../../node_modules/.pnpm/viem@2.
|
|
3345
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/decodeAbiParameters.js"() {
|
|
3346
3346
|
"use strict";
|
|
3347
3347
|
init_abi();
|
|
3348
3348
|
init_getAddress();
|
|
@@ -3359,7 +3359,7 @@ var init_decodeAbiParameters = __esm({
|
|
|
3359
3359
|
}
|
|
3360
3360
|
});
|
|
3361
3361
|
|
|
3362
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
3362
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/decodeErrorResult.js
|
|
3363
3363
|
function decodeErrorResult(parameters) {
|
|
3364
3364
|
const { abi: abi2, data } = parameters;
|
|
3365
3365
|
const signature = slice(data, 0, 4);
|
|
@@ -3378,7 +3378,7 @@ function decodeErrorResult(parameters) {
|
|
|
3378
3378
|
};
|
|
3379
3379
|
}
|
|
3380
3380
|
var init_decodeErrorResult = __esm({
|
|
3381
|
-
"../../node_modules/.pnpm/viem@2.
|
|
3381
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/decodeErrorResult.js"() {
|
|
3382
3382
|
"use strict";
|
|
3383
3383
|
init_solidity();
|
|
3384
3384
|
init_abi();
|
|
@@ -3389,10 +3389,10 @@ var init_decodeErrorResult = __esm({
|
|
|
3389
3389
|
}
|
|
3390
3390
|
});
|
|
3391
3391
|
|
|
3392
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
3392
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/stringify.js
|
|
3393
3393
|
var stringify;
|
|
3394
3394
|
var init_stringify = __esm({
|
|
3395
|
-
"../../node_modules/.pnpm/viem@2.
|
|
3395
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/stringify.js"() {
|
|
3396
3396
|
"use strict";
|
|
3397
3397
|
stringify = (value, replacer, space) => JSON.stringify(value, (key, value_) => {
|
|
3398
3398
|
const value2 = typeof value_ === "bigint" ? value_.toString() : value_;
|
|
@@ -3401,7 +3401,7 @@ var init_stringify = __esm({
|
|
|
3401
3401
|
}
|
|
3402
3402
|
});
|
|
3403
3403
|
|
|
3404
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
3404
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/formatAbiItemWithArgs.js
|
|
3405
3405
|
function formatAbiItemWithArgs({ abiItem, args, includeFunctionName = true, includeName = false }) {
|
|
3406
3406
|
if (!("name" in abiItem))
|
|
3407
3407
|
return;
|
|
@@ -3412,16 +3412,16 @@ function formatAbiItemWithArgs({ abiItem, args, includeFunctionName = true, incl
|
|
|
3412
3412
|
return `${includeFunctionName ? abiItem.name : ""}(${abiItem.inputs.map((input, i) => `${includeName && input.name ? `${input.name}: ` : ""}${typeof args[i] === "object" ? stringify(args[i]) : args[i]}`).join(", ")})`;
|
|
3413
3413
|
}
|
|
3414
3414
|
var init_formatAbiItemWithArgs = __esm({
|
|
3415
|
-
"../../node_modules/.pnpm/viem@2.
|
|
3415
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/formatAbiItemWithArgs.js"() {
|
|
3416
3416
|
"use strict";
|
|
3417
3417
|
init_stringify();
|
|
3418
3418
|
}
|
|
3419
3419
|
});
|
|
3420
3420
|
|
|
3421
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
3421
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/constants/unit.js
|
|
3422
3422
|
var etherUnits, gweiUnits;
|
|
3423
3423
|
var init_unit = __esm({
|
|
3424
|
-
"../../node_modules/.pnpm/viem@2.
|
|
3424
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/constants/unit.js"() {
|
|
3425
3425
|
"use strict";
|
|
3426
3426
|
etherUnits = {
|
|
3427
3427
|
gwei: 9,
|
|
@@ -3434,7 +3434,7 @@ var init_unit = __esm({
|
|
|
3434
3434
|
}
|
|
3435
3435
|
});
|
|
3436
3436
|
|
|
3437
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
3437
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/unit/formatUnits.js
|
|
3438
3438
|
function formatUnits(value, decimals) {
|
|
3439
3439
|
let display = value.toString();
|
|
3440
3440
|
const negative = display.startsWith("-");
|
|
@@ -3449,36 +3449,36 @@ function formatUnits(value, decimals) {
|
|
|
3449
3449
|
return `${negative ? "-" : ""}${integer || "0"}${fraction ? `.${fraction}` : ""}`;
|
|
3450
3450
|
}
|
|
3451
3451
|
var init_formatUnits = __esm({
|
|
3452
|
-
"../../node_modules/.pnpm/viem@2.
|
|
3452
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/unit/formatUnits.js"() {
|
|
3453
3453
|
"use strict";
|
|
3454
3454
|
}
|
|
3455
3455
|
});
|
|
3456
3456
|
|
|
3457
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
3457
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/unit/formatEther.js
|
|
3458
3458
|
function formatEther(wei, unit = "wei") {
|
|
3459
3459
|
return formatUnits(wei, etherUnits[unit]);
|
|
3460
3460
|
}
|
|
3461
3461
|
var init_formatEther = __esm({
|
|
3462
|
-
"../../node_modules/.pnpm/viem@2.
|
|
3462
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/unit/formatEther.js"() {
|
|
3463
3463
|
"use strict";
|
|
3464
3464
|
init_unit();
|
|
3465
3465
|
init_formatUnits();
|
|
3466
3466
|
}
|
|
3467
3467
|
});
|
|
3468
3468
|
|
|
3469
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
3469
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/unit/formatGwei.js
|
|
3470
3470
|
function formatGwei(wei, unit = "wei") {
|
|
3471
3471
|
return formatUnits(wei, gweiUnits[unit]);
|
|
3472
3472
|
}
|
|
3473
3473
|
var init_formatGwei = __esm({
|
|
3474
|
-
"../../node_modules/.pnpm/viem@2.
|
|
3474
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/unit/formatGwei.js"() {
|
|
3475
3475
|
"use strict";
|
|
3476
3476
|
init_unit();
|
|
3477
3477
|
init_formatUnits();
|
|
3478
3478
|
}
|
|
3479
3479
|
});
|
|
3480
3480
|
|
|
3481
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
3481
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/stateOverride.js
|
|
3482
3482
|
function prettyStateMapping(stateMapping) {
|
|
3483
3483
|
return stateMapping.reduce((pretty, { slot, value }) => {
|
|
3484
3484
|
return `${pretty} ${slot}: ${value}
|
|
@@ -3511,7 +3511,7 @@ function prettyStateOverride(stateOverride) {
|
|
|
3511
3511
|
}
|
|
3512
3512
|
var AccountStateConflictError, StateAssignmentConflictError;
|
|
3513
3513
|
var init_stateOverride = __esm({
|
|
3514
|
-
"../../node_modules/.pnpm/viem@2.
|
|
3514
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/stateOverride.js"() {
|
|
3515
3515
|
"use strict";
|
|
3516
3516
|
init_base();
|
|
3517
3517
|
AccountStateConflictError = class extends BaseError2 {
|
|
@@ -3531,7 +3531,7 @@ var init_stateOverride = __esm({
|
|
|
3531
3531
|
}
|
|
3532
3532
|
});
|
|
3533
3533
|
|
|
3534
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
3534
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/transaction.js
|
|
3535
3535
|
function prettyPrint(args) {
|
|
3536
3536
|
const entries = Object.entries(args).map(([key, value]) => {
|
|
3537
3537
|
if (value === void 0 || value === false)
|
|
@@ -3543,7 +3543,7 @@ function prettyPrint(args) {
|
|
|
3543
3543
|
}
|
|
3544
3544
|
var InvalidLegacyVError, InvalidSerializableTransactionError, InvalidStorageKeySizeError, TransactionExecutionError, TransactionNotFoundError, TransactionReceiptNotFoundError, TransactionReceiptRevertedError, WaitForTransactionReceiptTimeoutError;
|
|
3545
3545
|
var init_transaction = __esm({
|
|
3546
|
-
"../../node_modules/.pnpm/viem@2.
|
|
3546
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/transaction.js"() {
|
|
3547
3547
|
"use strict";
|
|
3548
3548
|
init_formatEther();
|
|
3549
3549
|
init_formatGwei();
|
|
@@ -3666,20 +3666,20 @@ var init_transaction = __esm({
|
|
|
3666
3666
|
}
|
|
3667
3667
|
});
|
|
3668
3668
|
|
|
3669
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
3669
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/utils.js
|
|
3670
3670
|
var getContractAddress, getUrl;
|
|
3671
3671
|
var init_utils3 = __esm({
|
|
3672
|
-
"../../node_modules/.pnpm/viem@2.
|
|
3672
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/utils.js"() {
|
|
3673
3673
|
"use strict";
|
|
3674
3674
|
getContractAddress = (address) => address;
|
|
3675
3675
|
getUrl = (url) => url;
|
|
3676
3676
|
}
|
|
3677
3677
|
});
|
|
3678
3678
|
|
|
3679
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
3679
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/contract.js
|
|
3680
3680
|
var CallExecutionError, ContractFunctionExecutionError, ContractFunctionRevertedError, ContractFunctionZeroDataError, CounterfactualDeploymentFailedError, RawContractError;
|
|
3681
3681
|
var init_contract = __esm({
|
|
3682
|
-
"../../node_modules/.pnpm/viem@2.
|
|
3682
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/contract.js"() {
|
|
3683
3683
|
"use strict";
|
|
3684
3684
|
init_parseAccount();
|
|
3685
3685
|
init_solidity();
|
|
@@ -3933,10 +3933,10 @@ ${prettyStateOverride(stateOverride)}`;
|
|
|
3933
3933
|
}
|
|
3934
3934
|
});
|
|
3935
3935
|
|
|
3936
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
3936
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/request.js
|
|
3937
3937
|
var HttpRequestError, WebSocketRequestError, RpcRequestError, SocketClosedError, TimeoutError;
|
|
3938
3938
|
var init_request = __esm({
|
|
3939
|
-
"../../node_modules/.pnpm/viem@2.
|
|
3939
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/request.js"() {
|
|
3940
3940
|
"use strict";
|
|
3941
3941
|
init_stringify();
|
|
3942
3942
|
init_base();
|
|
@@ -4068,10 +4068,10 @@ var init_request = __esm({
|
|
|
4068
4068
|
}
|
|
4069
4069
|
});
|
|
4070
4070
|
|
|
4071
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
4072
|
-
var unknownErrorCode, RpcError, ProviderRpcError, ParseRpcError, InvalidRequestRpcError, MethodNotFoundRpcError, InvalidParamsRpcError, InternalRpcError, InvalidInputRpcError, ResourceNotFoundRpcError, ResourceUnavailableRpcError, TransactionRejectedRpcError, MethodNotSupportedRpcError, LimitExceededRpcError, JsonRpcVersionUnsupportedError, UserRejectedRequestError, UnauthorizedProviderError, UnsupportedProviderMethodError, ProviderDisconnectedError, ChainDisconnectedError, SwitchChainError, UnsupportedNonOptionalCapabilityError, UnsupportedChainIdError, DuplicateIdError, UnknownBundleIdError, BundleTooLargeError, AtomicReadyWalletRejectedUpgradeError, AtomicityNotSupportedError, UnknownRpcError;
|
|
4071
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/rpc.js
|
|
4072
|
+
var unknownErrorCode, RpcError, ProviderRpcError, ParseRpcError, InvalidRequestRpcError, MethodNotFoundRpcError, InvalidParamsRpcError, InternalRpcError, InvalidInputRpcError, ResourceNotFoundRpcError, ResourceUnavailableRpcError, TransactionRejectedRpcError, MethodNotSupportedRpcError, LimitExceededRpcError, JsonRpcVersionUnsupportedError, UserRejectedRequestError, UnauthorizedProviderError, UnsupportedProviderMethodError, ProviderDisconnectedError, ChainDisconnectedError, SwitchChainError, UnsupportedNonOptionalCapabilityError, UnsupportedChainIdError, DuplicateIdError, UnknownBundleIdError, BundleTooLargeError, AtomicReadyWalletRejectedUpgradeError, AtomicityNotSupportedError, WalletConnectSessionSettlementError, UnknownRpcError;
|
|
4073
4073
|
var init_rpc = __esm({
|
|
4074
|
-
"../../node_modules/.pnpm/viem@2.
|
|
4074
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/rpc.js"() {
|
|
4075
4075
|
"use strict";
|
|
4076
4076
|
init_base();
|
|
4077
4077
|
init_request();
|
|
@@ -4493,6 +4493,21 @@ var init_rpc = __esm({
|
|
|
4493
4493
|
writable: true,
|
|
4494
4494
|
value: 5760
|
|
4495
4495
|
});
|
|
4496
|
+
WalletConnectSessionSettlementError = class _WalletConnectSessionSettlementError extends ProviderRpcError {
|
|
4497
|
+
constructor(cause) {
|
|
4498
|
+
super(cause, {
|
|
4499
|
+
code: _WalletConnectSessionSettlementError.code,
|
|
4500
|
+
name: "WalletConnectSessionSettlementError",
|
|
4501
|
+
shortMessage: "WalletConnect session settlement failed."
|
|
4502
|
+
});
|
|
4503
|
+
}
|
|
4504
|
+
};
|
|
4505
|
+
Object.defineProperty(WalletConnectSessionSettlementError, "code", {
|
|
4506
|
+
enumerable: true,
|
|
4507
|
+
configurable: true,
|
|
4508
|
+
writable: true,
|
|
4509
|
+
value: 7e3
|
|
4510
|
+
});
|
|
4496
4511
|
UnknownRpcError = class extends RpcError {
|
|
4497
4512
|
constructor(cause) {
|
|
4498
4513
|
super(cause, {
|
|
@@ -7012,10 +7027,10 @@ var init_secp256k1 = __esm({
|
|
|
7012
7027
|
}
|
|
7013
7028
|
});
|
|
7014
7029
|
|
|
7015
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
7030
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/node.js
|
|
7016
7031
|
var ExecutionRevertedError, FeeCapTooHighError, FeeCapTooLowError, NonceTooHighError, NonceTooLowError, NonceMaxValueError, InsufficientFundsError, IntrinsicGasTooHighError, IntrinsicGasTooLowError, TransactionTypeNotSupportedError, TipAboveFeeCapError, UnknownNodeError;
|
|
7017
7032
|
var init_node = __esm({
|
|
7018
|
-
"../../node_modules/.pnpm/viem@2.
|
|
7033
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/node.js"() {
|
|
7019
7034
|
"use strict";
|
|
7020
7035
|
init_formatGwei();
|
|
7021
7036
|
init_base();
|
|
@@ -7199,7 +7214,7 @@ var init_node = __esm({
|
|
|
7199
7214
|
}
|
|
7200
7215
|
});
|
|
7201
7216
|
|
|
7202
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
7217
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/errors/getNodeError.js
|
|
7203
7218
|
function getNodeError(err, args) {
|
|
7204
7219
|
const message = (err.details || "").toLowerCase();
|
|
7205
7220
|
const executionRevertedError = err instanceof BaseError2 ? err.walk((e) => e?.code === ExecutionRevertedError.code) : err;
|
|
@@ -7248,14 +7263,14 @@ function getNodeError(err, args) {
|
|
|
7248
7263
|
});
|
|
7249
7264
|
}
|
|
7250
7265
|
var init_getNodeError = __esm({
|
|
7251
|
-
"../../node_modules/.pnpm/viem@2.
|
|
7266
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/errors/getNodeError.js"() {
|
|
7252
7267
|
"use strict";
|
|
7253
7268
|
init_base();
|
|
7254
7269
|
init_node();
|
|
7255
7270
|
}
|
|
7256
7271
|
});
|
|
7257
7272
|
|
|
7258
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
7273
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/formatters/extract.js
|
|
7259
7274
|
function extract(value_, { format }) {
|
|
7260
7275
|
if (!format)
|
|
7261
7276
|
return {};
|
|
@@ -7274,12 +7289,12 @@ function extract(value_, { format }) {
|
|
|
7274
7289
|
return value;
|
|
7275
7290
|
}
|
|
7276
7291
|
var init_extract = __esm({
|
|
7277
|
-
"../../node_modules/.pnpm/viem@2.
|
|
7292
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/formatters/extract.js"() {
|
|
7278
7293
|
"use strict";
|
|
7279
7294
|
}
|
|
7280
7295
|
});
|
|
7281
7296
|
|
|
7282
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
7297
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/formatters/formatter.js
|
|
7283
7298
|
function defineFormatter(type, format) {
|
|
7284
7299
|
return ({ exclude, format: overrides }) => {
|
|
7285
7300
|
return {
|
|
@@ -7301,12 +7316,12 @@ function defineFormatter(type, format) {
|
|
|
7301
7316
|
};
|
|
7302
7317
|
}
|
|
7303
7318
|
var init_formatter = __esm({
|
|
7304
|
-
"../../node_modules/.pnpm/viem@2.
|
|
7319
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/formatters/formatter.js"() {
|
|
7305
7320
|
"use strict";
|
|
7306
7321
|
}
|
|
7307
7322
|
});
|
|
7308
7323
|
|
|
7309
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
7324
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/formatters/transactionRequest.js
|
|
7310
7325
|
function formatTransactionRequest(request, _) {
|
|
7311
7326
|
const rpcRequest = {};
|
|
7312
7327
|
if (typeof request.authorizationList !== "undefined")
|
|
@@ -7360,7 +7375,7 @@ function formatAuthorizationList(authorizationList) {
|
|
|
7360
7375
|
}
|
|
7361
7376
|
var rpcTransactionType, defineTransactionRequest;
|
|
7362
7377
|
var init_transactionRequest = __esm({
|
|
7363
|
-
"../../node_modules/.pnpm/viem@2.
|
|
7378
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/formatters/transactionRequest.js"() {
|
|
7364
7379
|
"use strict";
|
|
7365
7380
|
init_toHex();
|
|
7366
7381
|
init_formatter();
|
|
@@ -7375,7 +7390,7 @@ var init_transactionRequest = __esm({
|
|
|
7375
7390
|
}
|
|
7376
7391
|
});
|
|
7377
7392
|
|
|
7378
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
7393
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/stateOverride.js
|
|
7379
7394
|
function serializeStateMapping(stateMapping) {
|
|
7380
7395
|
if (!stateMapping || stateMapping.length === 0)
|
|
7381
7396
|
return void 0;
|
|
@@ -7428,7 +7443,7 @@ function serializeStateOverride(parameters) {
|
|
|
7428
7443
|
return rpcStateOverride;
|
|
7429
7444
|
}
|
|
7430
7445
|
var init_stateOverride2 = __esm({
|
|
7431
|
-
"../../node_modules/.pnpm/viem@2.
|
|
7446
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/stateOverride.js"() {
|
|
7432
7447
|
"use strict";
|
|
7433
7448
|
init_address();
|
|
7434
7449
|
init_data();
|
|
@@ -7438,10 +7453,10 @@ var init_stateOverride2 = __esm({
|
|
|
7438
7453
|
}
|
|
7439
7454
|
});
|
|
7440
7455
|
|
|
7441
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
7456
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/constants/number.js
|
|
7442
7457
|
var maxInt8, maxInt16, maxInt24, maxInt32, maxInt40, maxInt48, maxInt56, maxInt64, maxInt72, maxInt80, maxInt88, maxInt96, maxInt104, maxInt112, maxInt120, maxInt128, maxInt136, maxInt144, maxInt152, maxInt160, maxInt168, maxInt176, maxInt184, maxInt192, maxInt200, maxInt208, maxInt216, maxInt224, maxInt232, maxInt240, maxInt248, maxInt256, minInt8, minInt16, minInt24, minInt32, minInt40, minInt48, minInt56, minInt64, minInt72, minInt80, minInt88, minInt96, minInt104, minInt112, minInt120, minInt128, minInt136, minInt144, minInt152, minInt160, minInt168, minInt176, minInt184, minInt192, minInt200, minInt208, minInt216, minInt224, minInt232, minInt240, minInt248, minInt256, maxUint8, maxUint16, maxUint24, maxUint32, maxUint40, maxUint48, maxUint56, maxUint64, maxUint72, maxUint80, maxUint88, maxUint96, maxUint104, maxUint112, maxUint120, maxUint128, maxUint136, maxUint144, maxUint152, maxUint160, maxUint168, maxUint176, maxUint184, maxUint192, maxUint200, maxUint208, maxUint216, maxUint224, maxUint232, maxUint240, maxUint248, maxUint256;
|
|
7443
7458
|
var init_number = __esm({
|
|
7444
|
-
"../../node_modules/.pnpm/viem@2.
|
|
7459
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/constants/number.js"() {
|
|
7445
7460
|
"use strict";
|
|
7446
7461
|
maxInt8 = 2n ** (8n - 1n) - 1n;
|
|
7447
7462
|
maxInt16 = 2n ** (16n - 1n) - 1n;
|
|
@@ -7542,7 +7557,7 @@ var init_number = __esm({
|
|
|
7542
7557
|
}
|
|
7543
7558
|
});
|
|
7544
7559
|
|
|
7545
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
7560
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/transaction/assertRequest.js
|
|
7546
7561
|
function assertRequest(args) {
|
|
7547
7562
|
const { account: account_, maxFeePerGas, maxPriorityFeePerGas, to } = args;
|
|
7548
7563
|
const account = account_ ? parseAccount(account_) : void 0;
|
|
@@ -7556,7 +7571,7 @@ function assertRequest(args) {
|
|
|
7556
7571
|
throw new TipAboveFeeCapError({ maxFeePerGas, maxPriorityFeePerGas });
|
|
7557
7572
|
}
|
|
7558
7573
|
var init_assertRequest = __esm({
|
|
7559
|
-
"../../node_modules/.pnpm/viem@2.
|
|
7574
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/transaction/assertRequest.js"() {
|
|
7560
7575
|
"use strict";
|
|
7561
7576
|
init_parseAccount();
|
|
7562
7577
|
init_number();
|
|
@@ -7566,7 +7581,7 @@ var init_assertRequest = __esm({
|
|
|
7566
7581
|
}
|
|
7567
7582
|
});
|
|
7568
7583
|
|
|
7569
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
7584
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/address/isAddressEqual.js
|
|
7570
7585
|
function isAddressEqual(a, b) {
|
|
7571
7586
|
if (!isAddress(a, { strict: false }))
|
|
7572
7587
|
throw new InvalidAddressError({ address: a });
|
|
@@ -7575,14 +7590,14 @@ function isAddressEqual(a, b) {
|
|
|
7575
7590
|
return a.toLowerCase() === b.toLowerCase();
|
|
7576
7591
|
}
|
|
7577
7592
|
var init_isAddressEqual = __esm({
|
|
7578
|
-
"../../node_modules/.pnpm/viem@2.
|
|
7593
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/address/isAddressEqual.js"() {
|
|
7579
7594
|
"use strict";
|
|
7580
7595
|
init_address();
|
|
7581
7596
|
init_isAddress();
|
|
7582
7597
|
}
|
|
7583
7598
|
});
|
|
7584
7599
|
|
|
7585
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
7600
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/decodeFunctionResult.js
|
|
7586
7601
|
function decodeFunctionResult(parameters) {
|
|
7587
7602
|
const { abi: abi2, args, functionName, data } = parameters;
|
|
7588
7603
|
let abiItem = abi2[0];
|
|
@@ -7605,7 +7620,7 @@ function decodeFunctionResult(parameters) {
|
|
|
7605
7620
|
}
|
|
7606
7621
|
var docsPath4;
|
|
7607
7622
|
var init_decodeFunctionResult = __esm({
|
|
7608
|
-
"../../node_modules/.pnpm/viem@2.
|
|
7623
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/decodeFunctionResult.js"() {
|
|
7609
7624
|
"use strict";
|
|
7610
7625
|
init_abi();
|
|
7611
7626
|
init_decodeAbiParameters();
|
|
@@ -7614,27 +7629,27 @@ var init_decodeFunctionResult = __esm({
|
|
|
7614
7629
|
}
|
|
7615
7630
|
});
|
|
7616
7631
|
|
|
7617
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
7632
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/version.js
|
|
7618
7633
|
var version3;
|
|
7619
7634
|
var init_version3 = __esm({
|
|
7620
|
-
"../../node_modules/.pnpm/ox@0.
|
|
7635
|
+
"../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/version.js"() {
|
|
7621
7636
|
"use strict";
|
|
7622
7637
|
version3 = "0.1.1";
|
|
7623
7638
|
}
|
|
7624
7639
|
});
|
|
7625
7640
|
|
|
7626
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
7641
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/internal/errors.js
|
|
7627
7642
|
function getVersion() {
|
|
7628
7643
|
return version3;
|
|
7629
7644
|
}
|
|
7630
7645
|
var init_errors2 = __esm({
|
|
7631
|
-
"../../node_modules/.pnpm/ox@0.
|
|
7646
|
+
"../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/internal/errors.js"() {
|
|
7632
7647
|
"use strict";
|
|
7633
7648
|
init_version3();
|
|
7634
7649
|
}
|
|
7635
7650
|
});
|
|
7636
7651
|
|
|
7637
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
7652
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/Errors.js
|
|
7638
7653
|
function walk2(err, fn) {
|
|
7639
7654
|
if (fn?.(err))
|
|
7640
7655
|
return err;
|
|
@@ -7644,7 +7659,7 @@ function walk2(err, fn) {
|
|
|
7644
7659
|
}
|
|
7645
7660
|
var BaseError3;
|
|
7646
7661
|
var init_Errors = __esm({
|
|
7647
|
-
"../../node_modules/.pnpm/ox@0.
|
|
7662
|
+
"../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/Errors.js"() {
|
|
7648
7663
|
"use strict";
|
|
7649
7664
|
init_errors2();
|
|
7650
7665
|
BaseError3 = class _BaseError extends Error {
|
|
@@ -7770,7 +7785,7 @@ var init_Errors = __esm({
|
|
|
7770
7785
|
}
|
|
7771
7786
|
});
|
|
7772
7787
|
|
|
7773
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
7788
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/internal/bytes.js
|
|
7774
7789
|
function assertSize2(bytes, size_) {
|
|
7775
7790
|
if (size2(bytes) > size_)
|
|
7776
7791
|
throw new SizeOverflowError2({
|
|
@@ -7836,7 +7851,7 @@ function trim2(value, options = {}) {
|
|
|
7836
7851
|
}
|
|
7837
7852
|
var charCodeMap2;
|
|
7838
7853
|
var init_bytes = __esm({
|
|
7839
|
-
"../../node_modules/.pnpm/ox@0.
|
|
7854
|
+
"../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/internal/bytes.js"() {
|
|
7840
7855
|
"use strict";
|
|
7841
7856
|
init_Bytes();
|
|
7842
7857
|
charCodeMap2 = {
|
|
@@ -7850,7 +7865,7 @@ var init_bytes = __esm({
|
|
|
7850
7865
|
}
|
|
7851
7866
|
});
|
|
7852
7867
|
|
|
7853
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
7868
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/internal/hex.js
|
|
7854
7869
|
function assertSize3(hex, size_) {
|
|
7855
7870
|
if (size3(hex) > size_)
|
|
7856
7871
|
throw new SizeOverflowError3({
|
|
@@ -7906,13 +7921,13 @@ function trim3(value, options = {}) {
|
|
|
7906
7921
|
return `0x${data}`;
|
|
7907
7922
|
}
|
|
7908
7923
|
var init_hex = __esm({
|
|
7909
|
-
"../../node_modules/.pnpm/ox@0.
|
|
7924
|
+
"../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/internal/hex.js"() {
|
|
7910
7925
|
"use strict";
|
|
7911
7926
|
init_Hex();
|
|
7912
7927
|
}
|
|
7913
7928
|
});
|
|
7914
7929
|
|
|
7915
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
7930
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/Json.js
|
|
7916
7931
|
function stringify2(value, replacer, space) {
|
|
7917
7932
|
return JSON.stringify(value, (key, value2) => {
|
|
7918
7933
|
if (typeof replacer === "function")
|
|
@@ -7924,13 +7939,13 @@ function stringify2(value, replacer, space) {
|
|
|
7924
7939
|
}
|
|
7925
7940
|
var bigIntSuffix;
|
|
7926
7941
|
var init_Json = __esm({
|
|
7927
|
-
"../../node_modules/.pnpm/ox@0.
|
|
7942
|
+
"../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/Json.js"() {
|
|
7928
7943
|
"use strict";
|
|
7929
7944
|
bigIntSuffix = "#__bigint";
|
|
7930
7945
|
}
|
|
7931
7946
|
});
|
|
7932
7947
|
|
|
7933
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
7948
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/Bytes.js
|
|
7934
7949
|
function assert(value) {
|
|
7935
7950
|
if (value instanceof Uint8Array)
|
|
7936
7951
|
return;
|
|
@@ -8048,7 +8063,7 @@ function validate(value) {
|
|
|
8048
8063
|
}
|
|
8049
8064
|
var decoder, encoder3, InvalidBytesBooleanError2, InvalidBytesTypeError, SizeOverflowError2, SliceOffsetOutOfBoundsError2, SizeExceedsPaddingSizeError2;
|
|
8050
8065
|
var init_Bytes = __esm({
|
|
8051
|
-
"../../node_modules/.pnpm/ox@0.
|
|
8066
|
+
"../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/Bytes.js"() {
|
|
8052
8067
|
"use strict";
|
|
8053
8068
|
init_Errors();
|
|
8054
8069
|
init_Hex();
|
|
@@ -8121,7 +8136,7 @@ var init_Bytes = __esm({
|
|
|
8121
8136
|
}
|
|
8122
8137
|
});
|
|
8123
8138
|
|
|
8124
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
8139
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/Hex.js
|
|
8125
8140
|
function assert2(value, options = {}) {
|
|
8126
8141
|
const { strict = false } = options;
|
|
8127
8142
|
if (!value)
|
|
@@ -8247,7 +8262,7 @@ function validate2(value, options = {}) {
|
|
|
8247
8262
|
}
|
|
8248
8263
|
var encoder4, hexes3, IntegerOutOfRangeError2, InvalidHexTypeError, InvalidHexValueError, SizeOverflowError3, SliceOffsetOutOfBoundsError3, SizeExceedsPaddingSizeError3;
|
|
8249
8264
|
var init_Hex = __esm({
|
|
8250
|
-
"../../node_modules/.pnpm/ox@0.
|
|
8265
|
+
"../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/Hex.js"() {
|
|
8251
8266
|
"use strict";
|
|
8252
8267
|
init_Errors();
|
|
8253
8268
|
init_hex();
|
|
@@ -8329,7 +8344,7 @@ var init_Hex = __esm({
|
|
|
8329
8344
|
}
|
|
8330
8345
|
});
|
|
8331
8346
|
|
|
8332
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
8347
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/Withdrawal.js
|
|
8333
8348
|
function toRpc(withdrawal) {
|
|
8334
8349
|
return {
|
|
8335
8350
|
address: withdrawal.address,
|
|
@@ -8339,13 +8354,13 @@ function toRpc(withdrawal) {
|
|
|
8339
8354
|
};
|
|
8340
8355
|
}
|
|
8341
8356
|
var init_Withdrawal = __esm({
|
|
8342
|
-
"../../node_modules/.pnpm/ox@0.
|
|
8357
|
+
"../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/Withdrawal.js"() {
|
|
8343
8358
|
"use strict";
|
|
8344
8359
|
init_Hex();
|
|
8345
8360
|
}
|
|
8346
8361
|
});
|
|
8347
8362
|
|
|
8348
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
8363
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/BlockOverrides.js
|
|
8349
8364
|
function toRpc2(blockOverrides) {
|
|
8350
8365
|
return {
|
|
8351
8366
|
...typeof blockOverrides.baseFeePerGas === "bigint" && {
|
|
@@ -8375,17 +8390,17 @@ function toRpc2(blockOverrides) {
|
|
|
8375
8390
|
};
|
|
8376
8391
|
}
|
|
8377
8392
|
var init_BlockOverrides = __esm({
|
|
8378
|
-
"../../node_modules/.pnpm/ox@0.
|
|
8393
|
+
"../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/BlockOverrides.js"() {
|
|
8379
8394
|
"use strict";
|
|
8380
8395
|
init_Hex();
|
|
8381
8396
|
init_Withdrawal();
|
|
8382
8397
|
}
|
|
8383
8398
|
});
|
|
8384
8399
|
|
|
8385
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
8400
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/constants/abis.js
|
|
8386
8401
|
var multicall3Abi, batchGatewayAbi, universalResolverErrors, universalResolverResolveAbi, universalResolverReverseAbi, textResolverAbi, addressResolverAbi, erc1271Abi, erc6492SignatureValidatorAbi;
|
|
8387
8402
|
var init_abis = __esm({
|
|
8388
|
-
"../../node_modules/.pnpm/viem@2.
|
|
8403
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/constants/abis.js"() {
|
|
8389
8404
|
"use strict";
|
|
8390
8405
|
multicall3Abi = [
|
|
8391
8406
|
{
|
|
@@ -8429,6 +8444,23 @@ var init_abis = __esm({
|
|
|
8429
8444
|
stateMutability: "view",
|
|
8430
8445
|
type: "function"
|
|
8431
8446
|
},
|
|
8447
|
+
{
|
|
8448
|
+
inputs: [
|
|
8449
|
+
{
|
|
8450
|
+
name: "addr",
|
|
8451
|
+
type: "address"
|
|
8452
|
+
}
|
|
8453
|
+
],
|
|
8454
|
+
name: "getEthBalance",
|
|
8455
|
+
outputs: [
|
|
8456
|
+
{
|
|
8457
|
+
name: "balance",
|
|
8458
|
+
type: "uint256"
|
|
8459
|
+
}
|
|
8460
|
+
],
|
|
8461
|
+
stateMutability: "view",
|
|
8462
|
+
type: "function"
|
|
8463
|
+
},
|
|
8432
8464
|
{
|
|
8433
8465
|
inputs: [],
|
|
8434
8466
|
name: "getCurrentBlockTimestamp",
|
|
@@ -8724,19 +8756,19 @@ var init_abis = __esm({
|
|
|
8724
8756
|
}
|
|
8725
8757
|
});
|
|
8726
8758
|
|
|
8727
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
8759
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/constants/contract.js
|
|
8728
8760
|
var aggregate3Signature;
|
|
8729
8761
|
var init_contract2 = __esm({
|
|
8730
|
-
"../../node_modules/.pnpm/viem@2.
|
|
8762
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/constants/contract.js"() {
|
|
8731
8763
|
"use strict";
|
|
8732
8764
|
aggregate3Signature = "0x82ad56cb";
|
|
8733
8765
|
}
|
|
8734
8766
|
});
|
|
8735
8767
|
|
|
8736
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
8768
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/constants/contracts.js
|
|
8737
8769
|
var deploylessCallViaBytecodeBytecode, deploylessCallViaFactoryBytecode, erc6492SignatureValidatorByteCode, multicall3Bytecode;
|
|
8738
8770
|
var init_contracts = __esm({
|
|
8739
|
-
"../../node_modules/.pnpm/viem@2.
|
|
8771
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/constants/contracts.js"() {
|
|
8740
8772
|
"use strict";
|
|
8741
8773
|
deploylessCallViaBytecodeBytecode = "0x608060405234801561001057600080fd5b5060405161018e38038061018e83398101604081905261002f91610124565b6000808351602085016000f59050803b61004857600080fd5b6000808351602085016000855af16040513d6000823e81610067573d81fd5b3d81f35b634e487b7160e01b600052604160045260246000fd5b600082601f83011261009257600080fd5b81516001600160401b038111156100ab576100ab61006b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156100d9576100d961006b565b6040528181528382016020018510156100f157600080fd5b60005b82811015610110576020818601810151838301820152016100f4565b506000918101602001919091529392505050565b6000806040838503121561013757600080fd5b82516001600160401b0381111561014d57600080fd5b61015985828601610081565b602085015190935090506001600160401b0381111561017757600080fd5b61018385828601610081565b915050925092905056fe";
|
|
8742
8774
|
deploylessCallViaFactoryBytecode = "0x608060405234801561001057600080fd5b506040516102c03803806102c083398101604081905261002f916101e6565b836001600160a01b03163b6000036100e457600080836001600160a01b03168360405161005c9190610270565b6000604051808303816000865af19150503d8060008114610099576040519150601f19603f3d011682016040523d82523d6000602084013e61009e565b606091505b50915091508115806100b857506001600160a01b0386163b155b156100e1578060405163101bb98d60e01b81526004016100d8919061028c565b60405180910390fd5b50505b6000808451602086016000885af16040513d6000823e81610103573d81fd5b3d81f35b80516001600160a01b038116811461011e57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561015457818101518382015260200161013c565b50506000910152565b600082601f83011261016e57600080fd5b81516001600160401b0381111561018757610187610123565b604051601f8201601f19908116603f011681016001600160401b03811182821017156101b5576101b5610123565b6040528181528382016020018510156101cd57600080fd5b6101de826020830160208701610139565b949350505050565b600080600080608085870312156101fc57600080fd5b61020585610107565b60208601519094506001600160401b0381111561022157600080fd5b61022d8782880161015d565b93505061023c60408601610107565b60608601519092506001600160401b0381111561025857600080fd5b6102648782880161015d565b91505092959194509250565b60008251610282818460208701610139565b9190910192915050565b60208152600082518060208401526102ab816040850160208701610139565b601f01601f1916919091016040019291505056fe";
|
|
@@ -8745,10 +8777,10 @@ var init_contracts = __esm({
|
|
|
8745
8777
|
}
|
|
8746
8778
|
});
|
|
8747
8779
|
|
|
8748
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
8780
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/chain.js
|
|
8749
8781
|
var ChainDoesNotSupportContract, ClientChainNotConfiguredError, InvalidChainIdError;
|
|
8750
8782
|
var init_chain = __esm({
|
|
8751
|
-
"../../node_modules/.pnpm/viem@2.
|
|
8783
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/chain.js"() {
|
|
8752
8784
|
"use strict";
|
|
8753
8785
|
init_base();
|
|
8754
8786
|
ChainDoesNotSupportContract = class extends BaseError2 {
|
|
@@ -8781,7 +8813,7 @@ var init_chain = __esm({
|
|
|
8781
8813
|
}
|
|
8782
8814
|
});
|
|
8783
8815
|
|
|
8784
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
8816
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/encodeDeployData.js
|
|
8785
8817
|
function encodeDeployData(parameters) {
|
|
8786
8818
|
const { abi: abi2, args, bytecode } = parameters;
|
|
8787
8819
|
if (!args || args.length === 0)
|
|
@@ -8798,7 +8830,7 @@ function encodeDeployData(parameters) {
|
|
|
8798
8830
|
}
|
|
8799
8831
|
var docsPath5;
|
|
8800
8832
|
var init_encodeDeployData = __esm({
|
|
8801
|
-
"../../node_modules/.pnpm/viem@2.
|
|
8833
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/encodeDeployData.js"() {
|
|
8802
8834
|
"use strict";
|
|
8803
8835
|
init_abi();
|
|
8804
8836
|
init_concat();
|
|
@@ -8807,7 +8839,7 @@ var init_encodeDeployData = __esm({
|
|
|
8807
8839
|
}
|
|
8808
8840
|
});
|
|
8809
8841
|
|
|
8810
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
8842
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/chain/getChainContractAddress.js
|
|
8811
8843
|
function getChainContractAddress({ blockNumber, chain, contract: name }) {
|
|
8812
8844
|
const contract = chain?.contracts?.[name];
|
|
8813
8845
|
if (!contract)
|
|
@@ -8827,13 +8859,13 @@ function getChainContractAddress({ blockNumber, chain, contract: name }) {
|
|
|
8827
8859
|
return contract.address;
|
|
8828
8860
|
}
|
|
8829
8861
|
var init_getChainContractAddress = __esm({
|
|
8830
|
-
"../../node_modules/.pnpm/viem@2.
|
|
8862
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/chain/getChainContractAddress.js"() {
|
|
8831
8863
|
"use strict";
|
|
8832
8864
|
init_chain();
|
|
8833
8865
|
}
|
|
8834
8866
|
});
|
|
8835
8867
|
|
|
8836
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
8868
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/errors/getCallError.js
|
|
8837
8869
|
function getCallError(err, { docsPath: docsPath8, ...args }) {
|
|
8838
8870
|
const cause = (() => {
|
|
8839
8871
|
const cause2 = getNodeError(err, args);
|
|
@@ -8847,7 +8879,7 @@ function getCallError(err, { docsPath: docsPath8, ...args }) {
|
|
|
8847
8879
|
});
|
|
8848
8880
|
}
|
|
8849
8881
|
var init_getCallError = __esm({
|
|
8850
|
-
"../../node_modules/.pnpm/viem@2.
|
|
8882
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/errors/getCallError.js"() {
|
|
8851
8883
|
"use strict";
|
|
8852
8884
|
init_contract();
|
|
8853
8885
|
init_node();
|
|
@@ -8855,7 +8887,7 @@ var init_getCallError = __esm({
|
|
|
8855
8887
|
}
|
|
8856
8888
|
});
|
|
8857
8889
|
|
|
8858
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
8890
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/promise/withResolvers.js
|
|
8859
8891
|
function withResolvers() {
|
|
8860
8892
|
let resolve = () => void 0;
|
|
8861
8893
|
let reject = () => void 0;
|
|
@@ -8866,12 +8898,12 @@ function withResolvers() {
|
|
|
8866
8898
|
return { promise, resolve, reject };
|
|
8867
8899
|
}
|
|
8868
8900
|
var init_withResolvers = __esm({
|
|
8869
|
-
"../../node_modules/.pnpm/viem@2.
|
|
8901
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/promise/withResolvers.js"() {
|
|
8870
8902
|
"use strict";
|
|
8871
8903
|
}
|
|
8872
8904
|
});
|
|
8873
8905
|
|
|
8874
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
8906
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/promise/createBatchScheduler.js
|
|
8875
8907
|
function createBatchScheduler({ fn, id, shouldSplitBatch, wait: wait2 = 0, sort }) {
|
|
8876
8908
|
const exec = async () => {
|
|
8877
8909
|
const scheduler = getScheduler();
|
|
@@ -8917,17 +8949,17 @@ function createBatchScheduler({ fn, id, shouldSplitBatch, wait: wait2 = 0, sort
|
|
|
8917
8949
|
}
|
|
8918
8950
|
var schedulerCache;
|
|
8919
8951
|
var init_createBatchScheduler = __esm({
|
|
8920
|
-
"../../node_modules/.pnpm/viem@2.
|
|
8952
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/promise/createBatchScheduler.js"() {
|
|
8921
8953
|
"use strict";
|
|
8922
8954
|
init_withResolvers();
|
|
8923
8955
|
schedulerCache = /* @__PURE__ */ new Map();
|
|
8924
8956
|
}
|
|
8925
8957
|
});
|
|
8926
8958
|
|
|
8927
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
8959
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/ccip.js
|
|
8928
8960
|
var OffchainLookupError, OffchainLookupResponseMalformedError, OffchainLookupSenderMismatchError;
|
|
8929
8961
|
var init_ccip = __esm({
|
|
8930
|
-
"../../node_modules/.pnpm/viem@2.
|
|
8962
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/ccip.js"() {
|
|
8931
8963
|
"use strict";
|
|
8932
8964
|
init_stringify();
|
|
8933
8965
|
init_base();
|
|
@@ -8978,7 +9010,7 @@ var init_ccip = __esm({
|
|
|
8978
9010
|
}
|
|
8979
9011
|
});
|
|
8980
9012
|
|
|
8981
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
9013
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/decodeFunctionData.js
|
|
8982
9014
|
function decodeFunctionData(parameters) {
|
|
8983
9015
|
const { abi: abi2, data } = parameters;
|
|
8984
9016
|
const signature = slice(data, 0, 4);
|
|
@@ -8993,7 +9025,7 @@ function decodeFunctionData(parameters) {
|
|
|
8993
9025
|
};
|
|
8994
9026
|
}
|
|
8995
9027
|
var init_decodeFunctionData = __esm({
|
|
8996
|
-
"../../node_modules/.pnpm/viem@2.
|
|
9028
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/decodeFunctionData.js"() {
|
|
8997
9029
|
"use strict";
|
|
8998
9030
|
init_abi();
|
|
8999
9031
|
init_slice();
|
|
@@ -9003,7 +9035,7 @@ var init_decodeFunctionData = __esm({
|
|
|
9003
9035
|
}
|
|
9004
9036
|
});
|
|
9005
9037
|
|
|
9006
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
9038
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/encodeErrorResult.js
|
|
9007
9039
|
function encodeErrorResult(parameters) {
|
|
9008
9040
|
const { abi: abi2, errorName, args } = parameters;
|
|
9009
9041
|
let abiItem = abi2[0];
|
|
@@ -9027,7 +9059,7 @@ function encodeErrorResult(parameters) {
|
|
|
9027
9059
|
}
|
|
9028
9060
|
var docsPath6;
|
|
9029
9061
|
var init_encodeErrorResult = __esm({
|
|
9030
|
-
"../../node_modules/.pnpm/viem@2.
|
|
9062
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/encodeErrorResult.js"() {
|
|
9031
9063
|
"use strict";
|
|
9032
9064
|
init_abi();
|
|
9033
9065
|
init_concat();
|
|
@@ -9039,7 +9071,7 @@ var init_encodeErrorResult = __esm({
|
|
|
9039
9071
|
}
|
|
9040
9072
|
});
|
|
9041
9073
|
|
|
9042
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
9074
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/encodeFunctionResult.js
|
|
9043
9075
|
function encodeFunctionResult(parameters) {
|
|
9044
9076
|
const { abi: abi2, functionName, result } = parameters;
|
|
9045
9077
|
let abiItem = abi2[0];
|
|
@@ -9066,7 +9098,7 @@ function encodeFunctionResult(parameters) {
|
|
|
9066
9098
|
}
|
|
9067
9099
|
var docsPath7;
|
|
9068
9100
|
var init_encodeFunctionResult = __esm({
|
|
9069
|
-
"../../node_modules/.pnpm/viem@2.
|
|
9101
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/encodeFunctionResult.js"() {
|
|
9070
9102
|
"use strict";
|
|
9071
9103
|
init_abi();
|
|
9072
9104
|
init_encodeAbiParameters();
|
|
@@ -9075,7 +9107,7 @@ var init_encodeFunctionResult = __esm({
|
|
|
9075
9107
|
}
|
|
9076
9108
|
});
|
|
9077
9109
|
|
|
9078
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
9110
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/ens/localBatchGatewayRequest.js
|
|
9079
9111
|
async function localBatchGatewayRequest(parameters) {
|
|
9080
9112
|
const { data, ccipRequest: ccipRequest2 } = parameters;
|
|
9081
9113
|
const { args: [queries] } = decodeFunctionData({ abi: batchGatewayAbi, data });
|
|
@@ -9111,7 +9143,7 @@ function encodeError(error) {
|
|
|
9111
9143
|
}
|
|
9112
9144
|
var localBatchGatewayUrl;
|
|
9113
9145
|
var init_localBatchGatewayRequest = __esm({
|
|
9114
|
-
"../../node_modules/.pnpm/viem@2.
|
|
9146
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/ens/localBatchGatewayRequest.js"() {
|
|
9115
9147
|
"use strict";
|
|
9116
9148
|
init_abis();
|
|
9117
9149
|
init_solidity();
|
|
@@ -9122,7 +9154,7 @@ var init_localBatchGatewayRequest = __esm({
|
|
|
9122
9154
|
}
|
|
9123
9155
|
});
|
|
9124
9156
|
|
|
9125
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
9157
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/ccip.js
|
|
9126
9158
|
var ccip_exports = {};
|
|
9127
9159
|
__export(ccip_exports, {
|
|
9128
9160
|
ccipRequest: () => ccipRequest,
|
|
@@ -9215,7 +9247,7 @@ async function ccipRequest({ data, sender, urls }) {
|
|
|
9215
9247
|
}
|
|
9216
9248
|
var offchainLookupSignature, offchainLookupAbiItem;
|
|
9217
9249
|
var init_ccip2 = __esm({
|
|
9218
|
-
"../../node_modules/.pnpm/viem@2.
|
|
9250
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/ccip.js"() {
|
|
9219
9251
|
"use strict";
|
|
9220
9252
|
init_call();
|
|
9221
9253
|
init_ccip();
|
|
@@ -9257,7 +9289,7 @@ var init_ccip2 = __esm({
|
|
|
9257
9289
|
}
|
|
9258
9290
|
});
|
|
9259
9291
|
|
|
9260
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
9292
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/call.js
|
|
9261
9293
|
async function call(client, args) {
|
|
9262
9294
|
const { account: account_ = client.account, authorizationList, batch = Boolean(client.batch?.multicall), blockNumber, blockTag = client.experimental_blockTag ?? "latest", accessList, blobs, blockOverrides, code, data: data_, factory, factoryData, gas, gasPrice, maxFeePerBlobGas, maxFeePerGas, maxPriorityFeePerGas, nonce, to, value, stateOverride, ...rest } = args;
|
|
9263
9295
|
const account = account_ ? parseAccount(account_) : void 0;
|
|
@@ -9455,7 +9487,7 @@ function getRevertErrorData(err) {
|
|
|
9455
9487
|
return typeof error?.data === "object" ? error.data?.data : error.data;
|
|
9456
9488
|
}
|
|
9457
9489
|
var init_call = __esm({
|
|
9458
|
-
"../../node_modules/.pnpm/viem@2.
|
|
9490
|
+
"../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/call.js"() {
|
|
9459
9491
|
"use strict";
|
|
9460
9492
|
init_exports();
|
|
9461
9493
|
init_BlockOverrides();
|
|
@@ -13424,6 +13456,7 @@ __export(index_exports, {
|
|
|
13424
13456
|
createTransport: () => createTransport2,
|
|
13425
13457
|
customChains: () => customChains,
|
|
13426
13458
|
deepCompare: () => deepCompare,
|
|
13459
|
+
filterHttpRpcs: () => filterHttpRpcs,
|
|
13427
13460
|
getEvmChain: () => getEvmChain,
|
|
13428
13461
|
getEvmClient: () => getEvmClient,
|
|
13429
13462
|
getEvmClientUniversal: () => getEvmClientUniversal,
|
|
@@ -13440,7 +13473,7 @@ __export(index_exports, {
|
|
|
13440
13473
|
});
|
|
13441
13474
|
module.exports = __toCommonJS(index_exports);
|
|
13442
13475
|
|
|
13443
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
13476
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/getAction.js
|
|
13444
13477
|
function getAction(client, actionFn, name) {
|
|
13445
13478
|
const action_implicit = client[actionFn.name];
|
|
13446
13479
|
if (typeof action_implicit === "function")
|
|
@@ -13451,10 +13484,10 @@ function getAction(client, actionFn, name) {
|
|
|
13451
13484
|
return (params) => actionFn(client, params);
|
|
13452
13485
|
}
|
|
13453
13486
|
|
|
13454
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
13487
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/encodeEventTopics.js
|
|
13455
13488
|
init_abi();
|
|
13456
13489
|
|
|
13457
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
13490
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/log.js
|
|
13458
13491
|
init_base();
|
|
13459
13492
|
var FilterTypeNotSupportedError = class extends BaseError2 {
|
|
13460
13493
|
constructor(type) {
|
|
@@ -13464,7 +13497,7 @@ var FilterTypeNotSupportedError = class extends BaseError2 {
|
|
|
13464
13497
|
}
|
|
13465
13498
|
};
|
|
13466
13499
|
|
|
13467
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
13500
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/encodeEventTopics.js
|
|
13468
13501
|
init_toBytes();
|
|
13469
13502
|
init_keccak256();
|
|
13470
13503
|
init_toEventSelector();
|
|
@@ -13507,10 +13540,10 @@ function encodeArg({ param, value }) {
|
|
|
13507
13540
|
return encodeAbiParameters([param], [value]);
|
|
13508
13541
|
}
|
|
13509
13542
|
|
|
13510
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
13543
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/createContractEventFilter.js
|
|
13511
13544
|
init_toHex();
|
|
13512
13545
|
|
|
13513
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
13546
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/filters/createFilterRequestScope.js
|
|
13514
13547
|
function createFilterRequestScope(client, { method }) {
|
|
13515
13548
|
const requestMap = {};
|
|
13516
13549
|
if (client.transport.type === "fallback")
|
|
@@ -13521,7 +13554,7 @@ function createFilterRequestScope(client, { method }) {
|
|
|
13521
13554
|
return ((id) => requestMap[id] || client.request);
|
|
13522
13555
|
}
|
|
13523
13556
|
|
|
13524
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
13557
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/createContractEventFilter.js
|
|
13525
13558
|
async function createContractEventFilter(client, parameters) {
|
|
13526
13559
|
const { address, abi: abi2, args, eventName, fromBlock, strict, toBlock } = parameters;
|
|
13527
13560
|
const getRequest = createFilterRequestScope(client, {
|
|
@@ -13554,11 +13587,11 @@ async function createContractEventFilter(client, parameters) {
|
|
|
13554
13587
|
};
|
|
13555
13588
|
}
|
|
13556
13589
|
|
|
13557
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
13590
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/estimateContractGas.js
|
|
13558
13591
|
init_parseAccount();
|
|
13559
13592
|
init_encodeFunctionData();
|
|
13560
13593
|
|
|
13561
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
13594
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/errors/getContractError.js
|
|
13562
13595
|
init_abi();
|
|
13563
13596
|
init_base();
|
|
13564
13597
|
init_contract();
|
|
@@ -13591,11 +13624,11 @@ function getContractError(err, { abi: abi2, address, args, docsPath: docsPath8,
|
|
|
13591
13624
|
});
|
|
13592
13625
|
}
|
|
13593
13626
|
|
|
13594
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
13627
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/estimateGas.js
|
|
13595
13628
|
init_parseAccount();
|
|
13596
13629
|
init_base();
|
|
13597
13630
|
|
|
13598
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
13631
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/accounts/utils/publicKeyToAddress.js
|
|
13599
13632
|
init_getAddress();
|
|
13600
13633
|
init_keccak256();
|
|
13601
13634
|
function publicKeyToAddress(publicKey) {
|
|
@@ -13603,7 +13636,7 @@ function publicKeyToAddress(publicKey) {
|
|
|
13603
13636
|
return checksumAddress(`0x${address}`);
|
|
13604
13637
|
}
|
|
13605
13638
|
|
|
13606
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
13639
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/signature/recoverPublicKey.js
|
|
13607
13640
|
init_isHex();
|
|
13608
13641
|
init_size();
|
|
13609
13642
|
init_fromHex();
|
|
@@ -13638,17 +13671,17 @@ function toRecoveryBit(yParityOrV) {
|
|
|
13638
13671
|
throw new Error("Invalid yParityOrV value");
|
|
13639
13672
|
}
|
|
13640
13673
|
|
|
13641
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
13674
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/signature/recoverAddress.js
|
|
13642
13675
|
async function recoverAddress({ hash: hash3, signature }) {
|
|
13643
13676
|
return publicKeyToAddress(await recoverPublicKey({ hash: hash3, signature }));
|
|
13644
13677
|
}
|
|
13645
13678
|
|
|
13646
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
13679
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/authorization/hashAuthorization.js
|
|
13647
13680
|
init_concat();
|
|
13648
13681
|
init_toBytes();
|
|
13649
13682
|
init_toHex();
|
|
13650
13683
|
|
|
13651
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
13684
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/encoding/toRlp.js
|
|
13652
13685
|
init_base();
|
|
13653
13686
|
init_cursor2();
|
|
13654
13687
|
init_toBytes();
|
|
@@ -13741,7 +13774,7 @@ function getSizeOfLength(length) {
|
|
|
13741
13774
|
throw new BaseError2("Length is too large.");
|
|
13742
13775
|
}
|
|
13743
13776
|
|
|
13744
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
13777
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/authorization/hashAuthorization.js
|
|
13745
13778
|
init_keccak256();
|
|
13746
13779
|
function hashAuthorization(parameters) {
|
|
13747
13780
|
const { chainId, nonce, to } = parameters;
|
|
@@ -13759,7 +13792,7 @@ function hashAuthorization(parameters) {
|
|
|
13759
13792
|
return hash3;
|
|
13760
13793
|
}
|
|
13761
13794
|
|
|
13762
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
13795
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/authorization/recoverAuthorizationAddress.js
|
|
13763
13796
|
async function recoverAuthorizationAddress(parameters) {
|
|
13764
13797
|
const { authorization, signature } = parameters;
|
|
13765
13798
|
return recoverAddress({
|
|
@@ -13768,10 +13801,10 @@ async function recoverAuthorizationAddress(parameters) {
|
|
|
13768
13801
|
});
|
|
13769
13802
|
}
|
|
13770
13803
|
|
|
13771
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
13804
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/estimateGas.js
|
|
13772
13805
|
init_toHex();
|
|
13773
13806
|
|
|
13774
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
13807
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/estimateGas.js
|
|
13775
13808
|
init_formatEther();
|
|
13776
13809
|
init_formatGwei();
|
|
13777
13810
|
init_base();
|
|
@@ -13809,7 +13842,7 @@ var EstimateGasExecutionError = class extends BaseError2 {
|
|
|
13809
13842
|
}
|
|
13810
13843
|
};
|
|
13811
13844
|
|
|
13812
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
13845
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/errors/getEstimateGasError.js
|
|
13813
13846
|
init_node();
|
|
13814
13847
|
init_getNodeError();
|
|
13815
13848
|
function getEstimateGasError(err, { docsPath: docsPath8, ...args }) {
|
|
@@ -13825,16 +13858,16 @@ function getEstimateGasError(err, { docsPath: docsPath8, ...args }) {
|
|
|
13825
13858
|
});
|
|
13826
13859
|
}
|
|
13827
13860
|
|
|
13828
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
13861
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/estimateGas.js
|
|
13829
13862
|
init_extract();
|
|
13830
13863
|
init_transactionRequest();
|
|
13831
13864
|
init_stateOverride2();
|
|
13832
13865
|
init_assertRequest();
|
|
13833
13866
|
|
|
13834
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
13867
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/wallet/prepareTransactionRequest.js
|
|
13835
13868
|
init_parseAccount();
|
|
13836
13869
|
|
|
13837
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
13870
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/fee.js
|
|
13838
13871
|
init_formatGwei();
|
|
13839
13872
|
init_base();
|
|
13840
13873
|
var BaseFeeScalarError = class extends BaseError2 {
|
|
@@ -13857,10 +13890,10 @@ var MaxFeePerGasTooLowError = class extends BaseError2 {
|
|
|
13857
13890
|
}
|
|
13858
13891
|
};
|
|
13859
13892
|
|
|
13860
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
13893
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/estimateMaxPriorityFeePerGas.js
|
|
13861
13894
|
init_fromHex();
|
|
13862
13895
|
|
|
13863
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
13896
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/block.js
|
|
13864
13897
|
init_base();
|
|
13865
13898
|
var BlockNotFoundError = class extends BaseError2 {
|
|
13866
13899
|
constructor({ blockHash, blockNumber }) {
|
|
@@ -13873,13 +13906,13 @@ var BlockNotFoundError = class extends BaseError2 {
|
|
|
13873
13906
|
}
|
|
13874
13907
|
};
|
|
13875
13908
|
|
|
13876
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
13909
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getBlock.js
|
|
13877
13910
|
init_toHex();
|
|
13878
13911
|
|
|
13879
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
13912
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/formatters/block.js
|
|
13880
13913
|
init_formatter();
|
|
13881
13914
|
|
|
13882
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
13915
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/formatters/transaction.js
|
|
13883
13916
|
init_fromHex();
|
|
13884
13917
|
init_formatter();
|
|
13885
13918
|
var transactionType = {
|
|
@@ -13951,7 +13984,7 @@ function formatAuthorizationList2(authorizationList) {
|
|
|
13951
13984
|
}));
|
|
13952
13985
|
}
|
|
13953
13986
|
|
|
13954
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
13987
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/formatters/block.js
|
|
13955
13988
|
function formatBlock(block, _) {
|
|
13956
13989
|
const transactions = (block.transactions ?? []).map((transaction) => {
|
|
13957
13990
|
if (typeof transaction === "string")
|
|
@@ -13978,7 +14011,7 @@ function formatBlock(block, _) {
|
|
|
13978
14011
|
}
|
|
13979
14012
|
var defineBlock = /* @__PURE__ */ defineFormatter("block", formatBlock);
|
|
13980
14013
|
|
|
13981
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
14014
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getBlock.js
|
|
13982
14015
|
async function getBlock(client, { blockHash, blockNumber, blockTag = client.experimental_blockTag ?? "latest", includeTransactions: includeTransactions_ } = {}) {
|
|
13983
14016
|
const includeTransactions = includeTransactions_ ?? false;
|
|
13984
14017
|
const blockNumberHex = blockNumber !== void 0 ? numberToHex(blockNumber) : void 0;
|
|
@@ -14000,7 +14033,7 @@ async function getBlock(client, { blockHash, blockNumber, blockTag = client.expe
|
|
|
14000
14033
|
return format(block, "getBlock");
|
|
14001
14034
|
}
|
|
14002
14035
|
|
|
14003
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
14036
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getGasPrice.js
|
|
14004
14037
|
async function getGasPrice(client) {
|
|
14005
14038
|
const gasPrice = await client.request({
|
|
14006
14039
|
method: "eth_gasPrice"
|
|
@@ -14008,7 +14041,7 @@ async function getGasPrice(client) {
|
|
|
14008
14041
|
return BigInt(gasPrice);
|
|
14009
14042
|
}
|
|
14010
14043
|
|
|
14011
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
14044
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/estimateMaxPriorityFeePerGas.js
|
|
14012
14045
|
async function estimateMaxPriorityFeePerGas(client, args) {
|
|
14013
14046
|
return internal_estimateMaxPriorityFeePerGas(client, args);
|
|
14014
14047
|
}
|
|
@@ -14047,7 +14080,7 @@ async function internal_estimateMaxPriorityFeePerGas(client, args) {
|
|
|
14047
14080
|
}
|
|
14048
14081
|
}
|
|
14049
14082
|
|
|
14050
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
14083
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/estimateFeesPerGas.js
|
|
14051
14084
|
async function estimateFeesPerGas(client, args) {
|
|
14052
14085
|
return internal_estimateFeesPerGas(client, args);
|
|
14053
14086
|
}
|
|
@@ -14100,7 +14133,7 @@ async function internal_estimateFeesPerGas(client, args) {
|
|
|
14100
14133
|
};
|
|
14101
14134
|
}
|
|
14102
14135
|
|
|
14103
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
14136
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getTransactionCount.js
|
|
14104
14137
|
init_fromHex();
|
|
14105
14138
|
init_toHex();
|
|
14106
14139
|
async function getTransactionCount(client, { address, blockTag = "latest", blockNumber }) {
|
|
@@ -14116,7 +14149,7 @@ async function getTransactionCount(client, { address, blockTag = "latest", block
|
|
|
14116
14149
|
return hexToNumber(count);
|
|
14117
14150
|
}
|
|
14118
14151
|
|
|
14119
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
14152
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/blob/blobsToCommitments.js
|
|
14120
14153
|
init_toBytes();
|
|
14121
14154
|
init_toHex();
|
|
14122
14155
|
function blobsToCommitments(parameters) {
|
|
@@ -14129,7 +14162,7 @@ function blobsToCommitments(parameters) {
|
|
|
14129
14162
|
return to === "bytes" ? commitments : commitments.map((x) => bytesToHex(x));
|
|
14130
14163
|
}
|
|
14131
14164
|
|
|
14132
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
14165
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/blob/blobsToProofs.js
|
|
14133
14166
|
init_toBytes();
|
|
14134
14167
|
init_toHex();
|
|
14135
14168
|
function blobsToProofs(parameters) {
|
|
@@ -14146,14 +14179,14 @@ function blobsToProofs(parameters) {
|
|
|
14146
14179
|
return to === "bytes" ? proofs : proofs.map((x) => bytesToHex(x));
|
|
14147
14180
|
}
|
|
14148
14181
|
|
|
14149
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
14182
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/blob/commitmentToVersionedHash.js
|
|
14150
14183
|
init_toHex();
|
|
14151
14184
|
|
|
14152
14185
|
// ../../node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/sha256.js
|
|
14153
14186
|
init_sha2();
|
|
14154
14187
|
var sha2562 = sha256;
|
|
14155
14188
|
|
|
14156
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
14189
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/hash/sha256.js
|
|
14157
14190
|
init_isHex();
|
|
14158
14191
|
init_toBytes();
|
|
14159
14192
|
init_toHex();
|
|
@@ -14165,7 +14198,7 @@ function sha2563(value, to_) {
|
|
|
14165
14198
|
return toHex(bytes);
|
|
14166
14199
|
}
|
|
14167
14200
|
|
|
14168
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
14201
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/blob/commitmentToVersionedHash.js
|
|
14169
14202
|
function commitmentToVersionedHash(parameters) {
|
|
14170
14203
|
const { commitment, version: version4 = 1 } = parameters;
|
|
14171
14204
|
const to = parameters.to ?? (typeof commitment === "string" ? "hex" : "bytes");
|
|
@@ -14174,7 +14207,7 @@ function commitmentToVersionedHash(parameters) {
|
|
|
14174
14207
|
return to === "bytes" ? versionedHash : bytesToHex(versionedHash);
|
|
14175
14208
|
}
|
|
14176
14209
|
|
|
14177
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
14210
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/blob/commitmentsToVersionedHashes.js
|
|
14178
14211
|
function commitmentsToVersionedHashes(parameters) {
|
|
14179
14212
|
const { commitments, version: version4 } = parameters;
|
|
14180
14213
|
const to = parameters.to ?? (typeof commitments[0] === "string" ? "hex" : "bytes");
|
|
@@ -14189,7 +14222,7 @@ function commitmentsToVersionedHashes(parameters) {
|
|
|
14189
14222
|
return hashes;
|
|
14190
14223
|
}
|
|
14191
14224
|
|
|
14192
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
14225
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/constants/blob.js
|
|
14193
14226
|
var blobsPerTransaction = 6;
|
|
14194
14227
|
var bytesPerFieldElement = 32;
|
|
14195
14228
|
var fieldElementsPerBlob = 4096;
|
|
@@ -14198,10 +14231,10 @@ var maxBytesPerTransaction = bytesPerBlob * blobsPerTransaction - // terminator
|
|
|
14198
14231
|
1 - // zero byte (0x00) appended to each field element.
|
|
14199
14232
|
1 * fieldElementsPerBlob * blobsPerTransaction;
|
|
14200
14233
|
|
|
14201
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
14234
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/constants/kzg.js
|
|
14202
14235
|
var versionedHashVersionKzg = 1;
|
|
14203
14236
|
|
|
14204
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
14237
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/blob.js
|
|
14205
14238
|
init_base();
|
|
14206
14239
|
var BlobSizeTooLargeError = class extends BaseError2 {
|
|
14207
14240
|
constructor({ maxSize, size: size5 }) {
|
|
@@ -14236,7 +14269,7 @@ var InvalidVersionedHashVersionError = class extends BaseError2 {
|
|
|
14236
14269
|
}
|
|
14237
14270
|
};
|
|
14238
14271
|
|
|
14239
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
14272
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/blob/toBlobs.js
|
|
14240
14273
|
init_cursor2();
|
|
14241
14274
|
init_size();
|
|
14242
14275
|
init_toBytes();
|
|
@@ -14275,7 +14308,7 @@ function toBlobs(parameters) {
|
|
|
14275
14308
|
return to === "bytes" ? blobs.map((x) => x.bytes) : blobs.map((x) => bytesToHex(x.bytes));
|
|
14276
14309
|
}
|
|
14277
14310
|
|
|
14278
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
14311
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/blob/toBlobSidecars.js
|
|
14279
14312
|
function toBlobSidecars(parameters) {
|
|
14280
14313
|
const { data, kzg, to } = parameters;
|
|
14281
14314
|
const blobs = parameters.blobs ?? toBlobs({ data, to });
|
|
@@ -14291,11 +14324,11 @@ function toBlobSidecars(parameters) {
|
|
|
14291
14324
|
return sidecars;
|
|
14292
14325
|
}
|
|
14293
14326
|
|
|
14294
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
14327
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/wallet/prepareTransactionRequest.js
|
|
14295
14328
|
init_lru();
|
|
14296
14329
|
init_assertRequest();
|
|
14297
14330
|
|
|
14298
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
14331
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/transaction/getTransactionType.js
|
|
14299
14332
|
init_transaction();
|
|
14300
14333
|
function getTransactionType(transaction) {
|
|
14301
14334
|
if (transaction.type)
|
|
@@ -14315,10 +14348,10 @@ function getTransactionType(transaction) {
|
|
|
14315
14348
|
throw new InvalidSerializableTransactionError({ transaction });
|
|
14316
14349
|
}
|
|
14317
14350
|
|
|
14318
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
14351
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/fillTransaction.js
|
|
14319
14352
|
init_parseAccount();
|
|
14320
14353
|
|
|
14321
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
14354
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/errors/getTransactionError.js
|
|
14322
14355
|
init_node();
|
|
14323
14356
|
init_transaction();
|
|
14324
14357
|
init_getNodeError();
|
|
@@ -14335,12 +14368,12 @@ function getTransactionError(err, { docsPath: docsPath8, ...args }) {
|
|
|
14335
14368
|
});
|
|
14336
14369
|
}
|
|
14337
14370
|
|
|
14338
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
14371
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/fillTransaction.js
|
|
14339
14372
|
init_extract();
|
|
14340
14373
|
init_transactionRequest();
|
|
14341
14374
|
init_assertRequest();
|
|
14342
14375
|
|
|
14343
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
14376
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getChainId.js
|
|
14344
14377
|
init_fromHex();
|
|
14345
14378
|
async function getChainId(client) {
|
|
14346
14379
|
const chainIdHex = await client.request({
|
|
@@ -14349,7 +14382,7 @@ async function getChainId(client) {
|
|
|
14349
14382
|
return hexToNumber(chainIdHex);
|
|
14350
14383
|
}
|
|
14351
14384
|
|
|
14352
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
14385
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/fillTransaction.js
|
|
14353
14386
|
async function fillTransaction(client, parameters) {
|
|
14354
14387
|
const { account = client.account, accessList, authorizationList, chain = client.chain, blobVersionedHashes, blobs, data, gas, gasPrice, maxFeePerBlobGas, maxFeePerGas, maxPriorityFeePerGas, nonce: nonce_, nonceManager, to, type, value, ...rest } = parameters;
|
|
14355
14388
|
const nonce = await (async () => {
|
|
@@ -14451,7 +14484,7 @@ async function fillTransaction(client, parameters) {
|
|
|
14451
14484
|
}
|
|
14452
14485
|
}
|
|
14453
14486
|
|
|
14454
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
14487
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/wallet/prepareTransactionRequest.js
|
|
14455
14488
|
var defaultParameters = [
|
|
14456
14489
|
"blobVersionedHashes",
|
|
14457
14490
|
"chainId",
|
|
@@ -14659,7 +14692,7 @@ async function prepareTransactionRequest(client, args) {
|
|
|
14659
14692
|
return request;
|
|
14660
14693
|
}
|
|
14661
14694
|
|
|
14662
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
14695
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/estimateGas.js
|
|
14663
14696
|
async function estimateGas(client, args) {
|
|
14664
14697
|
const { account: account_ = client.account, prepare = true } = args;
|
|
14665
14698
|
const account = account_ ? parseAccount(account_) : void 0;
|
|
@@ -14729,7 +14762,7 @@ async function estimateGas(client, args) {
|
|
|
14729
14762
|
}
|
|
14730
14763
|
}
|
|
14731
14764
|
|
|
14732
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
14765
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/estimateContractGas.js
|
|
14733
14766
|
async function estimateContractGas(client, parameters) {
|
|
14734
14767
|
const { abi: abi2, address, args, functionName, dataSuffix = typeof client.dataSuffix === "string" ? client.dataSuffix : client.dataSuffix?.value, ...request } = parameters;
|
|
14735
14768
|
const data = encodeFunctionData({
|
|
@@ -14757,16 +14790,16 @@ async function estimateContractGas(client, parameters) {
|
|
|
14757
14790
|
}
|
|
14758
14791
|
}
|
|
14759
14792
|
|
|
14760
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
14793
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getContractEvents.js
|
|
14761
14794
|
init_getAbiItem();
|
|
14762
14795
|
|
|
14763
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
14796
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/parseEventLogs.js
|
|
14764
14797
|
init_isAddressEqual();
|
|
14765
14798
|
init_toBytes();
|
|
14766
14799
|
init_keccak256();
|
|
14767
14800
|
init_toEventSelector();
|
|
14768
14801
|
|
|
14769
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
14802
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/decodeEventLog.js
|
|
14770
14803
|
init_abi();
|
|
14771
14804
|
init_cursor();
|
|
14772
14805
|
init_size();
|
|
@@ -14859,7 +14892,7 @@ function decodeTopic({ param, value }) {
|
|
|
14859
14892
|
return decodedArg[0];
|
|
14860
14893
|
}
|
|
14861
14894
|
|
|
14862
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
14895
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/parseEventLogs.js
|
|
14863
14896
|
function parseEventLogs(parameters) {
|
|
14864
14897
|
const { abi: abi2, args, logs, strict = true } = parameters;
|
|
14865
14898
|
const eventName = (() => {
|
|
@@ -14963,10 +14996,10 @@ function includesArgs(parameters) {
|
|
|
14963
14996
|
return false;
|
|
14964
14997
|
}
|
|
14965
14998
|
|
|
14966
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
14999
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getLogs.js
|
|
14967
15000
|
init_toHex();
|
|
14968
15001
|
|
|
14969
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
15002
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/formatters/log.js
|
|
14970
15003
|
function formatLog(log, { args, eventName } = {}) {
|
|
14971
15004
|
return {
|
|
14972
15005
|
...log,
|
|
@@ -14980,7 +15013,7 @@ function formatLog(log, { args, eventName } = {}) {
|
|
|
14980
15013
|
};
|
|
14981
15014
|
}
|
|
14982
15015
|
|
|
14983
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
15016
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getLogs.js
|
|
14984
15017
|
async function getLogs(client, { address, blockHash, fromBlock, toBlock, event, events: events_, args, strict: strict_ } = {}) {
|
|
14985
15018
|
const strict = strict_ ?? false;
|
|
14986
15019
|
const events = events_ ?? (event ? [event] : void 0);
|
|
@@ -15025,7 +15058,7 @@ async function getLogs(client, { address, blockHash, fromBlock, toBlock, event,
|
|
|
15025
15058
|
});
|
|
15026
15059
|
}
|
|
15027
15060
|
|
|
15028
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
15061
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getContractEvents.js
|
|
15029
15062
|
async function getContractEvents(client, parameters) {
|
|
15030
15063
|
const { abi: abi2, address, args, blockHash, eventName, fromBlock, toBlock, strict } = parameters;
|
|
15031
15064
|
const event = eventName ? getAbiItem({ abi: abi2, name: eventName }) : void 0;
|
|
@@ -15042,7 +15075,7 @@ async function getContractEvents(client, parameters) {
|
|
|
15042
15075
|
});
|
|
15043
15076
|
}
|
|
15044
15077
|
|
|
15045
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
15078
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/readContract.js
|
|
15046
15079
|
init_decodeFunctionResult();
|
|
15047
15080
|
init_encodeFunctionData();
|
|
15048
15081
|
init_call();
|
|
@@ -15076,7 +15109,7 @@ async function readContract(client, parameters) {
|
|
|
15076
15109
|
}
|
|
15077
15110
|
}
|
|
15078
15111
|
|
|
15079
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
15112
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/simulateContract.js
|
|
15080
15113
|
init_parseAccount();
|
|
15081
15114
|
init_decodeFunctionResult();
|
|
15082
15115
|
init_encodeFunctionData();
|
|
@@ -15124,11 +15157,11 @@ async function simulateContract(client, parameters) {
|
|
|
15124
15157
|
}
|
|
15125
15158
|
}
|
|
15126
15159
|
|
|
15127
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
15160
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/watchContractEvent.js
|
|
15128
15161
|
init_abi();
|
|
15129
15162
|
init_rpc();
|
|
15130
15163
|
|
|
15131
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
15164
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/observe.js
|
|
15132
15165
|
var listenersCache = /* @__PURE__ */ new Map();
|
|
15133
15166
|
var cleanupCache = /* @__PURE__ */ new Map();
|
|
15134
15167
|
var callbackCount = 0;
|
|
@@ -15175,12 +15208,12 @@ function observe(observerId, callbacks, fn) {
|
|
|
15175
15208
|
return unwatch;
|
|
15176
15209
|
}
|
|
15177
15210
|
|
|
15178
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
15211
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/wait.js
|
|
15179
15212
|
async function wait(time) {
|
|
15180
15213
|
return new Promise((res) => setTimeout(res, time));
|
|
15181
15214
|
}
|
|
15182
15215
|
|
|
15183
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
15216
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/poll.js
|
|
15184
15217
|
function poll(fn, { emitOnBegin, initialWaitTime, interval }) {
|
|
15185
15218
|
let active = true;
|
|
15186
15219
|
const unwatch = () => active = false;
|
|
@@ -15203,10 +15236,10 @@ function poll(fn, { emitOnBegin, initialWaitTime, interval }) {
|
|
|
15203
15236
|
return unwatch;
|
|
15204
15237
|
}
|
|
15205
15238
|
|
|
15206
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
15239
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/watchContractEvent.js
|
|
15207
15240
|
init_stringify();
|
|
15208
15241
|
|
|
15209
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
15242
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/promise/withCache.js
|
|
15210
15243
|
var promiseCache = /* @__PURE__ */ new Map();
|
|
15211
15244
|
var responseCache = /* @__PURE__ */ new Map();
|
|
15212
15245
|
function getCache(cacheKey2) {
|
|
@@ -15248,7 +15281,7 @@ async function withCache(fn, { cacheKey: cacheKey2, cacheTime = Number.POSITIVE_
|
|
|
15248
15281
|
}
|
|
15249
15282
|
}
|
|
15250
15283
|
|
|
15251
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
15284
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getBlockNumber.js
|
|
15252
15285
|
var cacheKey = (id) => `blockNumber.${id}`;
|
|
15253
15286
|
async function getBlockNumber(client, { cacheTime = client.cacheTime } = {}) {
|
|
15254
15287
|
const blockNumberHex = await withCache(() => client.request({
|
|
@@ -15257,7 +15290,7 @@ async function getBlockNumber(client, { cacheTime = client.cacheTime } = {}) {
|
|
|
15257
15290
|
return BigInt(blockNumberHex);
|
|
15258
15291
|
}
|
|
15259
15292
|
|
|
15260
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
15293
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getFilterChanges.js
|
|
15261
15294
|
async function getFilterChanges(_client, { filter }) {
|
|
15262
15295
|
const strict = "strict" in filter && filter.strict;
|
|
15263
15296
|
const logs = await filter.request({
|
|
@@ -15276,7 +15309,7 @@ async function getFilterChanges(_client, { filter }) {
|
|
|
15276
15309
|
});
|
|
15277
15310
|
}
|
|
15278
15311
|
|
|
15279
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
15312
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/uninstallFilter.js
|
|
15280
15313
|
async function uninstallFilter(_client, { filter }) {
|
|
15281
15314
|
return filter.request({
|
|
15282
15315
|
method: "eth_uninstallFilter",
|
|
@@ -15284,7 +15317,7 @@ async function uninstallFilter(_client, { filter }) {
|
|
|
15284
15317
|
});
|
|
15285
15318
|
}
|
|
15286
15319
|
|
|
15287
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
15320
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/watchContractEvent.js
|
|
15288
15321
|
function watchContractEvent(client, parameters) {
|
|
15289
15322
|
const { abi: abi2, address, args, batch = true, eventName, fromBlock, onError, onLogs, poll: poll_, pollingInterval = client.pollingInterval, strict: strict_ } = parameters;
|
|
15290
15323
|
const enablePolling = (() => {
|
|
@@ -15460,7 +15493,7 @@ function watchContractEvent(client, parameters) {
|
|
|
15460
15493
|
return enablePolling ? pollContractEvent() : subscribeContractEvent();
|
|
15461
15494
|
}
|
|
15462
15495
|
|
|
15463
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
15496
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/account.js
|
|
15464
15497
|
init_base();
|
|
15465
15498
|
var AccountNotFoundError = class extends BaseError2 {
|
|
15466
15499
|
constructor({ docsPath: docsPath8 } = {}) {
|
|
@@ -15475,7 +15508,7 @@ var AccountNotFoundError = class extends BaseError2 {
|
|
|
15475
15508
|
}
|
|
15476
15509
|
};
|
|
15477
15510
|
|
|
15478
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
15511
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/wallet/sendRawTransaction.js
|
|
15479
15512
|
async function sendRawTransaction(client, { serializedTransaction }) {
|
|
15480
15513
|
return client.request({
|
|
15481
15514
|
method: "eth_sendRawTransaction",
|
|
@@ -15483,7 +15516,7 @@ async function sendRawTransaction(client, { serializedTransaction }) {
|
|
|
15483
15516
|
}, { retryCount: 0 });
|
|
15484
15517
|
}
|
|
15485
15518
|
|
|
15486
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
15519
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/promise/withRetry.js
|
|
15487
15520
|
function withRetry(fn, { delay: delay_ = 100, retryCount = 2, shouldRetry: shouldRetry2 = () => true } = {}) {
|
|
15488
15521
|
return new Promise((resolve, reject) => {
|
|
15489
15522
|
const attemptRetry = async ({ count = 0 } = {}) => {
|
|
@@ -15506,7 +15539,7 @@ function withRetry(fn, { delay: delay_ = 100, retryCount = 2, shouldRetry: shoul
|
|
|
15506
15539
|
});
|
|
15507
15540
|
}
|
|
15508
15541
|
|
|
15509
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
15542
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/formatters/transactionReceipt.js
|
|
15510
15543
|
init_fromHex();
|
|
15511
15544
|
init_formatter();
|
|
15512
15545
|
var receiptStatuses = {
|
|
@@ -15535,10 +15568,10 @@ function formatTransactionReceipt(transactionReceipt, _) {
|
|
|
15535
15568
|
}
|
|
15536
15569
|
var defineTransactionReceipt = /* @__PURE__ */ defineFormatter("transactionReceipt", formatTransactionReceipt);
|
|
15537
15570
|
|
|
15538
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
15571
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/clients/createClient.js
|
|
15539
15572
|
init_parseAccount();
|
|
15540
15573
|
|
|
15541
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
15574
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/uid.js
|
|
15542
15575
|
var size4 = 256;
|
|
15543
15576
|
var index = size4;
|
|
15544
15577
|
var buffer;
|
|
@@ -15553,7 +15586,7 @@ function uid(length = 11) {
|
|
|
15553
15586
|
return buffer.substring(index, index++ + length);
|
|
15554
15587
|
}
|
|
15555
15588
|
|
|
15556
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
15589
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/clients/createClient.js
|
|
15557
15590
|
function createClient(parameters) {
|
|
15558
15591
|
const { batch, chain, ccipRead, dataSuffix, key = "base", name = "Base Client", type = "base" } = parameters;
|
|
15559
15592
|
const experimental_blockTag = parameters.experimental_blockTag ?? (typeof chain?.experimental_preconfirmationTime === "number" ? "pending" : void 0);
|
|
@@ -15596,7 +15629,7 @@ function createClient(parameters) {
|
|
|
15596
15629
|
return Object.assign(client, { extend: extend(client) });
|
|
15597
15630
|
}
|
|
15598
15631
|
|
|
15599
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
15632
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/ens/getEnsAddress.js
|
|
15600
15633
|
init_abis();
|
|
15601
15634
|
init_decodeFunctionResult();
|
|
15602
15635
|
init_encodeFunctionData();
|
|
@@ -15604,7 +15637,7 @@ init_getChainContractAddress();
|
|
|
15604
15637
|
init_trim();
|
|
15605
15638
|
init_toHex();
|
|
15606
15639
|
|
|
15607
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
15640
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/ens/errors.js
|
|
15608
15641
|
init_base();
|
|
15609
15642
|
init_contract();
|
|
15610
15643
|
function isNullUniversalResolverError(err) {
|
|
@@ -15628,16 +15661,16 @@ function isNullUniversalResolverError(err) {
|
|
|
15628
15661
|
return false;
|
|
15629
15662
|
}
|
|
15630
15663
|
|
|
15631
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
15664
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/ens/getEnsAddress.js
|
|
15632
15665
|
init_localBatchGatewayRequest();
|
|
15633
15666
|
|
|
15634
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
15667
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/ens/namehash.js
|
|
15635
15668
|
init_concat();
|
|
15636
15669
|
init_toBytes();
|
|
15637
15670
|
init_toHex();
|
|
15638
15671
|
init_keccak256();
|
|
15639
15672
|
|
|
15640
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
15673
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/ens/encodedLabelToLabelhash.js
|
|
15641
15674
|
init_isHex();
|
|
15642
15675
|
function encodedLabelToLabelhash(label) {
|
|
15643
15676
|
if (label.length !== 66)
|
|
@@ -15652,7 +15685,7 @@ function encodedLabelToLabelhash(label) {
|
|
|
15652
15685
|
return hash3;
|
|
15653
15686
|
}
|
|
15654
15687
|
|
|
15655
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
15688
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/ens/namehash.js
|
|
15656
15689
|
function namehash(name) {
|
|
15657
15690
|
let result = new Uint8Array(32).fill(0);
|
|
15658
15691
|
if (!name)
|
|
@@ -15666,15 +15699,15 @@ function namehash(name) {
|
|
|
15666
15699
|
return bytesToHex(result);
|
|
15667
15700
|
}
|
|
15668
15701
|
|
|
15669
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
15702
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/ens/packetToBytes.js
|
|
15670
15703
|
init_toBytes();
|
|
15671
15704
|
|
|
15672
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
15705
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/ens/encodeLabelhash.js
|
|
15673
15706
|
function encodeLabelhash(hash3) {
|
|
15674
15707
|
return `[${hash3.slice(2)}]`;
|
|
15675
15708
|
}
|
|
15676
15709
|
|
|
15677
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
15710
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/ens/labelhash.js
|
|
15678
15711
|
init_toBytes();
|
|
15679
15712
|
init_toHex();
|
|
15680
15713
|
init_keccak256();
|
|
@@ -15685,7 +15718,7 @@ function labelhash(label) {
|
|
|
15685
15718
|
return encodedLabelToLabelhash(label) || keccak256(stringToBytes(label));
|
|
15686
15719
|
}
|
|
15687
15720
|
|
|
15688
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
15721
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/ens/packetToBytes.js
|
|
15689
15722
|
function packetToBytes(packet) {
|
|
15690
15723
|
const value = packet.replace(/^\.|\.$/gm, "");
|
|
15691
15724
|
if (value.length === 0)
|
|
@@ -15706,7 +15739,7 @@ function packetToBytes(packet) {
|
|
|
15706
15739
|
return bytes;
|
|
15707
15740
|
}
|
|
15708
15741
|
|
|
15709
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
15742
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/ens/getEnsAddress.js
|
|
15710
15743
|
async function getEnsAddress(client, parameters) {
|
|
15711
15744
|
const { blockNumber, blockTag, coinType, name, gatewayUrls, strict } = parameters;
|
|
15712
15745
|
const { chain } = client;
|
|
@@ -15771,7 +15804,7 @@ async function getEnsAddress(client, parameters) {
|
|
|
15771
15804
|
}
|
|
15772
15805
|
}
|
|
15773
15806
|
|
|
15774
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
15807
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/ens.js
|
|
15775
15808
|
init_base();
|
|
15776
15809
|
var EnsAvatarInvalidMetadataError = class extends BaseError2 {
|
|
15777
15810
|
constructor({ data }) {
|
|
@@ -15803,7 +15836,7 @@ var EnsAvatarUnsupportedNamespaceError = class extends BaseError2 {
|
|
|
15803
15836
|
}
|
|
15804
15837
|
};
|
|
15805
15838
|
|
|
15806
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
15839
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/ens/avatar/utils.js
|
|
15807
15840
|
var networkRegex = /(?<protocol>https?:\/\/[^/]*|ipfs:\/|ipns:\/|ar:\/)?(?<root>\/)?(?<subpath>ipfs\/|ipns\/)?(?<target>[\w\-.]+)(?<subtarget>\/.*)?/;
|
|
15808
15841
|
var ipfsHashRegex = /^(Qm[1-9A-HJ-NP-Za-km-z]{44,}|b[A-Za-z2-7]{58,}|B[A-Z2-7]{58,}|z[1-9A-HJ-NP-Za-km-z]{48,}|F[0-9A-F]{50,})(\/(?<target>[\w\-.]+))?(?<subtarget>\/.*)?$/;
|
|
15809
15842
|
var base64Regex = /^data:([a-zA-Z\-/+]*);base64,([^"].*)/;
|
|
@@ -15974,7 +16007,7 @@ async function getNftTokenUri(client, { nft }) {
|
|
|
15974
16007
|
throw new EnsAvatarUnsupportedNamespaceError({ namespace: nft.namespace });
|
|
15975
16008
|
}
|
|
15976
16009
|
|
|
15977
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
16010
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/ens/avatar/parseAvatarRecord.js
|
|
15978
16011
|
async function parseAvatarRecord(client, { gatewayUrls, record }) {
|
|
15979
16012
|
if (/eip155:/i.test(record))
|
|
15980
16013
|
return parseNftAvatarUri(client, { gatewayUrls, record });
|
|
@@ -16004,7 +16037,7 @@ async function parseNftAvatarUri(client, { gatewayUrls, record }) {
|
|
|
16004
16037
|
});
|
|
16005
16038
|
}
|
|
16006
16039
|
|
|
16007
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
16040
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/ens/getEnsText.js
|
|
16008
16041
|
init_abis();
|
|
16009
16042
|
init_decodeFunctionResult();
|
|
16010
16043
|
init_encodeFunctionData();
|
|
@@ -16064,7 +16097,7 @@ async function getEnsText(client, parameters) {
|
|
|
16064
16097
|
}
|
|
16065
16098
|
}
|
|
16066
16099
|
|
|
16067
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
16100
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/ens/getEnsAvatar.js
|
|
16068
16101
|
async function getEnsAvatar(client, { blockNumber, blockTag, assetGatewayUrls, name, gatewayUrls, strict, universalResolverAddress }) {
|
|
16069
16102
|
const record = await getAction(client, getEnsText, "getEnsText")({
|
|
16070
16103
|
blockNumber,
|
|
@@ -16087,7 +16120,7 @@ async function getEnsAvatar(client, { blockNumber, blockTag, assetGatewayUrls, n
|
|
|
16087
16120
|
}
|
|
16088
16121
|
}
|
|
16089
16122
|
|
|
16090
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
16123
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/ens/getEnsName.js
|
|
16091
16124
|
init_abis();
|
|
16092
16125
|
init_getChainContractAddress();
|
|
16093
16126
|
init_localBatchGatewayRequest();
|
|
@@ -16126,7 +16159,7 @@ async function getEnsName(client, parameters) {
|
|
|
16126
16159
|
}
|
|
16127
16160
|
}
|
|
16128
16161
|
|
|
16129
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
16162
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/ens/getEnsResolver.js
|
|
16130
16163
|
init_getChainContractAddress();
|
|
16131
16164
|
init_toHex();
|
|
16132
16165
|
async function getEnsResolver(client, parameters) {
|
|
@@ -16169,10 +16202,10 @@ async function getEnsResolver(client, parameters) {
|
|
|
16169
16202
|
return resolverAddress;
|
|
16170
16203
|
}
|
|
16171
16204
|
|
|
16172
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
16205
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/clients/decorators/public.js
|
|
16173
16206
|
init_call();
|
|
16174
16207
|
|
|
16175
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
16208
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/createAccessList.js
|
|
16176
16209
|
init_parseAccount();
|
|
16177
16210
|
init_toHex();
|
|
16178
16211
|
init_getCallError();
|
|
@@ -16219,7 +16252,7 @@ async function createAccessList(client, args) {
|
|
|
16219
16252
|
}
|
|
16220
16253
|
}
|
|
16221
16254
|
|
|
16222
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
16255
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/createBlockFilter.js
|
|
16223
16256
|
async function createBlockFilter(client) {
|
|
16224
16257
|
const getRequest = createFilterRequestScope(client, {
|
|
16225
16258
|
method: "eth_newBlockFilter"
|
|
@@ -16230,7 +16263,7 @@ async function createBlockFilter(client) {
|
|
|
16230
16263
|
return { id, request: getRequest(id), type: "block" };
|
|
16231
16264
|
}
|
|
16232
16265
|
|
|
16233
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
16266
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/createEventFilter.js
|
|
16234
16267
|
init_toHex();
|
|
16235
16268
|
async function createEventFilter(client, { address, args, event, events: events_, fromBlock, strict, toBlock } = {}) {
|
|
16236
16269
|
const events = events_ ?? (event ? [event] : void 0);
|
|
@@ -16272,7 +16305,7 @@ async function createEventFilter(client, { address, args, event, events: events_
|
|
|
16272
16305
|
};
|
|
16273
16306
|
}
|
|
16274
16307
|
|
|
16275
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
16308
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/createPendingTransactionFilter.js
|
|
16276
16309
|
async function createPendingTransactionFilter(client) {
|
|
16277
16310
|
const getRequest = createFilterRequestScope(client, {
|
|
16278
16311
|
method: "eth_newPendingTransactionFilter"
|
|
@@ -16283,9 +16316,33 @@ async function createPendingTransactionFilter(client) {
|
|
|
16283
16316
|
return { id, request: getRequest(id), type: "transaction" };
|
|
16284
16317
|
}
|
|
16285
16318
|
|
|
16286
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
16319
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getBalance.js
|
|
16320
|
+
init_abis();
|
|
16321
|
+
init_decodeFunctionResult();
|
|
16322
|
+
init_encodeFunctionData();
|
|
16287
16323
|
init_toHex();
|
|
16324
|
+
init_call();
|
|
16288
16325
|
async function getBalance(client, { address, blockNumber, blockTag = client.experimental_blockTag ?? "latest" }) {
|
|
16326
|
+
if (client.batch?.multicall && client.chain?.contracts?.multicall3) {
|
|
16327
|
+
const multicall3Address = client.chain.contracts.multicall3.address;
|
|
16328
|
+
const calldata = encodeFunctionData({
|
|
16329
|
+
abi: multicall3Abi,
|
|
16330
|
+
functionName: "getEthBalance",
|
|
16331
|
+
args: [address]
|
|
16332
|
+
});
|
|
16333
|
+
const { data } = await getAction(client, call, "call")({
|
|
16334
|
+
to: multicall3Address,
|
|
16335
|
+
data: calldata,
|
|
16336
|
+
blockNumber,
|
|
16337
|
+
blockTag
|
|
16338
|
+
});
|
|
16339
|
+
return decodeFunctionResult({
|
|
16340
|
+
abi: multicall3Abi,
|
|
16341
|
+
functionName: "getEthBalance",
|
|
16342
|
+
args: [address],
|
|
16343
|
+
data: data || "0x"
|
|
16344
|
+
});
|
|
16345
|
+
}
|
|
16289
16346
|
const blockNumberHex = typeof blockNumber === "bigint" ? numberToHex(blockNumber) : void 0;
|
|
16290
16347
|
const balance = await client.request({
|
|
16291
16348
|
method: "eth_getBalance",
|
|
@@ -16294,7 +16351,7 @@ async function getBalance(client, { address, blockNumber, blockTag = client.expe
|
|
|
16294
16351
|
return BigInt(balance);
|
|
16295
16352
|
}
|
|
16296
16353
|
|
|
16297
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
16354
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getBlobBaseFee.js
|
|
16298
16355
|
async function getBlobBaseFee(client) {
|
|
16299
16356
|
const baseFee = await client.request({
|
|
16300
16357
|
method: "eth_blobBaseFee"
|
|
@@ -16302,7 +16359,7 @@ async function getBlobBaseFee(client) {
|
|
|
16302
16359
|
return BigInt(baseFee);
|
|
16303
16360
|
}
|
|
16304
16361
|
|
|
16305
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
16362
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getBlockTransactionCount.js
|
|
16306
16363
|
init_fromHex();
|
|
16307
16364
|
init_toHex();
|
|
16308
16365
|
async function getBlockTransactionCount(client, { blockHash, blockNumber, blockTag = "latest" } = {}) {
|
|
@@ -16322,7 +16379,7 @@ async function getBlockTransactionCount(client, { blockHash, blockNumber, blockT
|
|
|
16322
16379
|
return hexToNumber(count);
|
|
16323
16380
|
}
|
|
16324
16381
|
|
|
16325
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
16382
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getCode.js
|
|
16326
16383
|
init_toHex();
|
|
16327
16384
|
async function getCode(client, { address, blockNumber, blockTag = "latest" }) {
|
|
16328
16385
|
const blockNumberHex = blockNumber !== void 0 ? numberToHex(blockNumber) : void 0;
|
|
@@ -16335,7 +16392,7 @@ async function getCode(client, { address, blockNumber, blockTag = "latest" }) {
|
|
|
16335
16392
|
return hex;
|
|
16336
16393
|
}
|
|
16337
16394
|
|
|
16338
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
16395
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/eip712.js
|
|
16339
16396
|
init_base();
|
|
16340
16397
|
var Eip712DomainNotFoundError = class extends BaseError2 {
|
|
16341
16398
|
constructor({ address }) {
|
|
@@ -16351,7 +16408,7 @@ var Eip712DomainNotFoundError = class extends BaseError2 {
|
|
|
16351
16408
|
}
|
|
16352
16409
|
};
|
|
16353
16410
|
|
|
16354
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
16411
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getEip712Domain.js
|
|
16355
16412
|
async function getEip712Domain(client, parameters) {
|
|
16356
16413
|
const { address, factory, factoryData } = parameters;
|
|
16357
16414
|
try {
|
|
@@ -16399,10 +16456,10 @@ var abi = [
|
|
|
16399
16456
|
}
|
|
16400
16457
|
];
|
|
16401
16458
|
|
|
16402
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
16459
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getFeeHistory.js
|
|
16403
16460
|
init_toHex();
|
|
16404
16461
|
|
|
16405
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
16462
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/formatters/feeHistory.js
|
|
16406
16463
|
function formatFeeHistory(feeHistory) {
|
|
16407
16464
|
return {
|
|
16408
16465
|
baseFeePerGas: feeHistory.baseFeePerGas.map((value) => BigInt(value)),
|
|
@@ -16412,7 +16469,7 @@ function formatFeeHistory(feeHistory) {
|
|
|
16412
16469
|
};
|
|
16413
16470
|
}
|
|
16414
16471
|
|
|
16415
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
16472
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getFeeHistory.js
|
|
16416
16473
|
async function getFeeHistory(client, { blockCount, blockNumber, blockTag = "latest", rewardPercentiles }) {
|
|
16417
16474
|
const blockNumberHex = typeof blockNumber === "bigint" ? numberToHex(blockNumber) : void 0;
|
|
16418
16475
|
const feeHistory = await client.request({
|
|
@@ -16426,7 +16483,7 @@ async function getFeeHistory(client, { blockCount, blockNumber, blockTag = "late
|
|
|
16426
16483
|
return formatFeeHistory(feeHistory);
|
|
16427
16484
|
}
|
|
16428
16485
|
|
|
16429
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
16486
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getFilterLogs.js
|
|
16430
16487
|
async function getFilterLogs(_client, { filter }) {
|
|
16431
16488
|
const strict = filter.strict ?? false;
|
|
16432
16489
|
const logs = await filter.request({
|
|
@@ -16443,19 +16500,19 @@ async function getFilterLogs(_client, { filter }) {
|
|
|
16443
16500
|
});
|
|
16444
16501
|
}
|
|
16445
16502
|
|
|
16446
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
16503
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getProof.js
|
|
16447
16504
|
init_toHex();
|
|
16448
16505
|
|
|
16449
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
16506
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/authorization/serializeAuthorizationList.js
|
|
16450
16507
|
init_toHex();
|
|
16451
16508
|
|
|
16452
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
16509
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/transaction/serializeTransaction.js
|
|
16453
16510
|
init_transaction();
|
|
16454
16511
|
init_concat();
|
|
16455
16512
|
init_trim();
|
|
16456
16513
|
init_toHex();
|
|
16457
16514
|
|
|
16458
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
16515
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/transaction/assertTransaction.js
|
|
16459
16516
|
init_number();
|
|
16460
16517
|
init_address();
|
|
16461
16518
|
init_base();
|
|
@@ -16532,7 +16589,7 @@ function assertTransactionLegacy(transaction) {
|
|
|
16532
16589
|
throw new FeeCapTooHighError({ maxFeePerGas: gasPrice });
|
|
16533
16590
|
}
|
|
16534
16591
|
|
|
16535
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
16592
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/transaction/serializeAccessList.js
|
|
16536
16593
|
init_address();
|
|
16537
16594
|
init_transaction();
|
|
16538
16595
|
init_isAddress();
|
|
@@ -16555,7 +16612,7 @@ function serializeAccessList(accessList) {
|
|
|
16555
16612
|
return serializedAccessList;
|
|
16556
16613
|
}
|
|
16557
16614
|
|
|
16558
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
16615
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/transaction/serializeTransaction.js
|
|
16559
16616
|
function serializeTransaction(transaction, signature) {
|
|
16560
16617
|
const type = getTransactionType(transaction);
|
|
16561
16618
|
if (type === "eip1559")
|
|
@@ -16755,7 +16812,7 @@ function toYParitySignatureArray(transaction, signature_) {
|
|
|
16755
16812
|
return [yParity_, r === "0x00" ? "0x" : r, s === "0x00" ? "0x" : s];
|
|
16756
16813
|
}
|
|
16757
16814
|
|
|
16758
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
16815
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/authorization/serializeAuthorizationList.js
|
|
16759
16816
|
function serializeAuthorizationList(authorizationList) {
|
|
16760
16817
|
if (!authorizationList || authorizationList.length === 0)
|
|
16761
16818
|
return [];
|
|
@@ -16773,7 +16830,7 @@ function serializeAuthorizationList(authorizationList) {
|
|
|
16773
16830
|
return serializedAuthorizationList;
|
|
16774
16831
|
}
|
|
16775
16832
|
|
|
16776
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
16833
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/authorization/verifyAuthorization.js
|
|
16777
16834
|
init_getAddress();
|
|
16778
16835
|
init_isAddressEqual();
|
|
16779
16836
|
async function verifyAuthorization({ address, authorization, signature }) {
|
|
@@ -16783,13 +16840,13 @@ async function verifyAuthorization({ address, authorization, signature }) {
|
|
|
16783
16840
|
}));
|
|
16784
16841
|
}
|
|
16785
16842
|
|
|
16786
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
16843
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/buildRequest.js
|
|
16787
16844
|
init_base();
|
|
16788
16845
|
init_request();
|
|
16789
16846
|
init_rpc();
|
|
16790
16847
|
init_toHex();
|
|
16791
16848
|
|
|
16792
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
16849
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/promise/withDedupe.js
|
|
16793
16850
|
init_lru();
|
|
16794
16851
|
var promiseCache2 = /* @__PURE__ */ new LruMap(8192);
|
|
16795
16852
|
function withDedupe(fn, { enabled = true, id }) {
|
|
@@ -16802,7 +16859,7 @@ function withDedupe(fn, { enabled = true, id }) {
|
|
|
16802
16859
|
return promise;
|
|
16803
16860
|
}
|
|
16804
16861
|
|
|
16805
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
16862
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/buildRequest.js
|
|
16806
16863
|
init_stringify();
|
|
16807
16864
|
function buildRequest(request, options = {}) {
|
|
16808
16865
|
return async (args, overrideOptions = {}) => {
|
|
@@ -16907,6 +16964,10 @@ function buildRequest(request, options = {}) {
|
|
|
16907
16964
|
// https://docs.walletconnect.com/2.0/specs/clients/sign/error-codes#rejected-caip-25
|
|
16908
16965
|
case 5e3:
|
|
16909
16966
|
throw new UserRejectedRequestError(err);
|
|
16967
|
+
// WalletConnect: Session Settlement Failed
|
|
16968
|
+
// https://docs.walletconnect.com/2.0/specs/clients/sign/error-codes
|
|
16969
|
+
case WalletConnectSessionSettlementError.code:
|
|
16970
|
+
throw new WalletConnectSessionSettlementError(err);
|
|
16910
16971
|
default:
|
|
16911
16972
|
if (err_ instanceof BaseError2)
|
|
16912
16973
|
throw err_;
|
|
@@ -16959,7 +17020,7 @@ function shouldRetry(error) {
|
|
|
16959
17020
|
return true;
|
|
16960
17021
|
}
|
|
16961
17022
|
|
|
16962
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
17023
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/chain/defineChain.js
|
|
16963
17024
|
function defineChain(chain) {
|
|
16964
17025
|
const chainInstance = {
|
|
16965
17026
|
formatters: void 0,
|
|
@@ -16979,14 +17040,14 @@ function defineChain(chain) {
|
|
|
16979
17040
|
});
|
|
16980
17041
|
}
|
|
16981
17042
|
|
|
16982
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
17043
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/index.js
|
|
16983
17044
|
init_fromHex();
|
|
16984
17045
|
init_toHex();
|
|
16985
17046
|
|
|
16986
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
17047
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/rpc/http.js
|
|
16987
17048
|
init_request();
|
|
16988
17049
|
|
|
16989
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
17050
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/promise/withTimeout.js
|
|
16990
17051
|
function withTimeout(fn, { errorInstance = new Error("timed out"), timeout, signal }) {
|
|
16991
17052
|
return new Promise((resolve, reject) => {
|
|
16992
17053
|
;
|
|
@@ -17015,10 +17076,10 @@ function withTimeout(fn, { errorInstance = new Error("timed out"), timeout, sign
|
|
|
17015
17076
|
});
|
|
17016
17077
|
}
|
|
17017
17078
|
|
|
17018
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
17079
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/rpc/http.js
|
|
17019
17080
|
init_stringify();
|
|
17020
17081
|
|
|
17021
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
17082
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/rpc/id.js
|
|
17022
17083
|
function createIdStore() {
|
|
17023
17084
|
return {
|
|
17024
17085
|
current: 0,
|
|
@@ -17032,7 +17093,7 @@ function createIdStore() {
|
|
|
17032
17093
|
}
|
|
17033
17094
|
var idCache = /* @__PURE__ */ createIdStore();
|
|
17034
17095
|
|
|
17035
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
17096
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/rpc/http.js
|
|
17036
17097
|
function getHttpRpcClient(url_, options = {}) {
|
|
17037
17098
|
const { url, headers: headers_url } = parseUrl(url_);
|
|
17038
17099
|
return {
|
|
@@ -17133,10 +17194,10 @@ function parseUrl(url_) {
|
|
|
17133
17194
|
}
|
|
17134
17195
|
}
|
|
17135
17196
|
|
|
17136
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
17197
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/rpc/webSocket.js
|
|
17137
17198
|
init_request();
|
|
17138
17199
|
|
|
17139
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
17200
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/rpc/socket.js
|
|
17140
17201
|
init_request();
|
|
17141
17202
|
init_createBatchScheduler();
|
|
17142
17203
|
var socketClientCache = /* @__PURE__ */ new Map();
|
|
@@ -17286,7 +17347,7 @@ async function getSocketRpcClient(parameters) {
|
|
|
17286
17347
|
return socketClient_;
|
|
17287
17348
|
}
|
|
17288
17349
|
|
|
17289
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
17350
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/rpc/webSocket.js
|
|
17290
17351
|
async function getWebSocketRpcClient(url, options = {}) {
|
|
17291
17352
|
const { keepAlive, reconnect } = options;
|
|
17292
17353
|
return getSocketRpcClient({
|
|
@@ -17363,7 +17424,7 @@ async function getWebSocketRpcClient(url, options = {}) {
|
|
|
17363
17424
|
});
|
|
17364
17425
|
}
|
|
17365
17426
|
|
|
17366
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
17427
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/rpc/compat.js
|
|
17367
17428
|
async function getSocket(url) {
|
|
17368
17429
|
const client = await getWebSocketRpcClient(url);
|
|
17369
17430
|
return Object.assign(client.socket, {
|
|
@@ -17372,13 +17433,13 @@ async function getSocket(url) {
|
|
|
17372
17433
|
});
|
|
17373
17434
|
}
|
|
17374
17435
|
|
|
17375
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
17436
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/signature/hashMessage.js
|
|
17376
17437
|
init_keccak256();
|
|
17377
17438
|
|
|
17378
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
17439
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/constants/strings.js
|
|
17379
17440
|
var presignMessagePrefix = "Ethereum Signed Message:\n";
|
|
17380
17441
|
|
|
17381
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
17442
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/signature/toPrefixedMessage.js
|
|
17382
17443
|
init_concat();
|
|
17383
17444
|
init_size();
|
|
17384
17445
|
init_toHex();
|
|
@@ -17394,22 +17455,22 @@ function toPrefixedMessage(message_) {
|
|
|
17394
17455
|
return concat([prefix, message]);
|
|
17395
17456
|
}
|
|
17396
17457
|
|
|
17397
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
17458
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/signature/hashMessage.js
|
|
17398
17459
|
function hashMessage(message, to_) {
|
|
17399
17460
|
return keccak256(toPrefixedMessage(message), to_);
|
|
17400
17461
|
}
|
|
17401
17462
|
|
|
17402
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
17463
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/signature/hashTypedData.js
|
|
17403
17464
|
init_encodeAbiParameters();
|
|
17404
17465
|
init_concat();
|
|
17405
17466
|
init_toHex();
|
|
17406
17467
|
init_keccak256();
|
|
17407
17468
|
|
|
17408
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
17469
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/typedData.js
|
|
17409
17470
|
init_abi();
|
|
17410
17471
|
init_address();
|
|
17411
17472
|
|
|
17412
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
17473
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/typedData.js
|
|
17413
17474
|
init_stringify();
|
|
17414
17475
|
init_base();
|
|
17415
17476
|
var InvalidDomainError = class extends BaseError2 {
|
|
@@ -17436,7 +17497,7 @@ var InvalidStructTypeError = class extends BaseError2 {
|
|
|
17436
17497
|
}
|
|
17437
17498
|
};
|
|
17438
17499
|
|
|
17439
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
17500
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/typedData.js
|
|
17440
17501
|
init_isAddress();
|
|
17441
17502
|
init_size();
|
|
17442
17503
|
init_toHex();
|
|
@@ -17505,7 +17566,7 @@ function validateReference(type) {
|
|
|
17505
17566
|
throw new InvalidStructTypeError({ type });
|
|
17506
17567
|
}
|
|
17507
17568
|
|
|
17508
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
17569
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/signature/hashTypedData.js
|
|
17509
17570
|
function hashTypedData(parameters) {
|
|
17510
17571
|
const { domain = {}, message, primaryType } = parameters;
|
|
17511
17572
|
const types = {
|
|
@@ -17615,7 +17676,7 @@ function encodeField({ types, name, type, value }) {
|
|
|
17615
17676
|
return [{ type }, value];
|
|
17616
17677
|
}
|
|
17617
17678
|
|
|
17618
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
17679
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/erc8010/SignatureErc8010.js
|
|
17619
17680
|
var SignatureErc8010_exports = {};
|
|
17620
17681
|
__export(SignatureErc8010_exports, {
|
|
17621
17682
|
InvalidWrappedSignatureError: () => InvalidWrappedSignatureError,
|
|
@@ -17628,13 +17689,13 @@ __export(SignatureErc8010_exports, {
|
|
|
17628
17689
|
wrap: () => wrap
|
|
17629
17690
|
});
|
|
17630
17691
|
|
|
17631
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
17692
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/AbiParameters.js
|
|
17632
17693
|
init_exports();
|
|
17633
17694
|
|
|
17634
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
17695
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/Address.js
|
|
17635
17696
|
init_Bytes();
|
|
17636
17697
|
|
|
17637
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
17698
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/internal/lru.js
|
|
17638
17699
|
var LruMap2 = class extends Map {
|
|
17639
17700
|
constructor(size5) {
|
|
17640
17701
|
super();
|
|
@@ -17665,16 +17726,16 @@ var LruMap2 = class extends Map {
|
|
|
17665
17726
|
}
|
|
17666
17727
|
};
|
|
17667
17728
|
|
|
17668
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
17729
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/Caches.js
|
|
17669
17730
|
var caches = {
|
|
17670
17731
|
checksum: /* @__PURE__ */ new LruMap2(8192)
|
|
17671
17732
|
};
|
|
17672
17733
|
var checksum = caches.checksum;
|
|
17673
17734
|
|
|
17674
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
17735
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/Address.js
|
|
17675
17736
|
init_Errors();
|
|
17676
17737
|
|
|
17677
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
17738
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/Hash.js
|
|
17678
17739
|
init_sha3();
|
|
17679
17740
|
init_Bytes();
|
|
17680
17741
|
init_Hex();
|
|
@@ -17686,7 +17747,7 @@ function keccak2562(value, options = {}) {
|
|
|
17686
17747
|
return fromBytes(bytes);
|
|
17687
17748
|
}
|
|
17688
17749
|
|
|
17689
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
17750
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/PublicKey.js
|
|
17690
17751
|
init_Bytes();
|
|
17691
17752
|
init_Errors();
|
|
17692
17753
|
init_Hex();
|
|
@@ -17839,7 +17900,7 @@ var InvalidSerializedSizeError = class extends BaseError3 {
|
|
|
17839
17900
|
}
|
|
17840
17901
|
};
|
|
17841
17902
|
|
|
17842
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
17903
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/Address.js
|
|
17843
17904
|
var addressRegex2 = /^0x[a-fA-F0-9]{40}$/;
|
|
17844
17905
|
function assert4(value, options = {}) {
|
|
17845
17906
|
const { strict = true } = options;
|
|
@@ -17933,17 +17994,17 @@ var InvalidChecksumError = class extends BaseError3 {
|
|
|
17933
17994
|
}
|
|
17934
17995
|
};
|
|
17935
17996
|
|
|
17936
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
17997
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/AbiParameters.js
|
|
17937
17998
|
init_Bytes();
|
|
17938
17999
|
init_Errors();
|
|
17939
18000
|
init_Hex();
|
|
17940
18001
|
|
|
17941
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
18002
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/internal/abiParameters.js
|
|
17942
18003
|
init_Bytes();
|
|
17943
18004
|
init_Errors();
|
|
17944
18005
|
init_Hex();
|
|
17945
18006
|
|
|
17946
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
18007
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/Solidity.js
|
|
17947
18008
|
var arrayRegex = /^(.*)\[([0-9]*)\]$/;
|
|
17948
18009
|
var bytesRegex3 = /^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/;
|
|
17949
18010
|
var integerRegex3 = /^(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)?$/;
|
|
@@ -18044,7 +18105,7 @@ var maxUint2402 = 2n ** 240n - 1n;
|
|
|
18044
18105
|
var maxUint2482 = 2n ** 248n - 1n;
|
|
18045
18106
|
var maxUint2562 = 2n ** 256n - 1n;
|
|
18046
18107
|
|
|
18047
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
18108
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/internal/abiParameters.js
|
|
18048
18109
|
function decodeParameter2(cursor, param, options) {
|
|
18049
18110
|
const { checksumAddress: checksumAddress2, staticPosition } = options;
|
|
18050
18111
|
const arrayComponents = getArrayComponents2(param.type);
|
|
@@ -18433,7 +18494,7 @@ function hasDynamicChild2(param) {
|
|
|
18433
18494
|
return false;
|
|
18434
18495
|
}
|
|
18435
18496
|
|
|
18436
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
18497
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/internal/cursor.js
|
|
18437
18498
|
init_Errors();
|
|
18438
18499
|
var staticCursor2 = {
|
|
18439
18500
|
bytes: new Uint8Array(),
|
|
@@ -18636,7 +18697,7 @@ var RecursiveReadLimitExceededError2 = class extends BaseError3 {
|
|
|
18636
18697
|
}
|
|
18637
18698
|
};
|
|
18638
18699
|
|
|
18639
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
18700
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/AbiParameters.js
|
|
18640
18701
|
function decode(parameters, data, options = {}) {
|
|
18641
18702
|
const { as = "Array", checksumAddress: checksumAddress2 = false } = options;
|
|
18642
18703
|
const bytes = typeof data === "string" ? fromHex(data) : data;
|
|
@@ -18838,10 +18899,10 @@ var InvalidTypeError = class extends BaseError3 {
|
|
|
18838
18899
|
}
|
|
18839
18900
|
};
|
|
18840
18901
|
|
|
18841
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
18902
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/Authorization.js
|
|
18842
18903
|
init_Hex();
|
|
18843
18904
|
|
|
18844
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
18905
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/Rlp.js
|
|
18845
18906
|
init_Bytes();
|
|
18846
18907
|
init_Errors();
|
|
18847
18908
|
init_Hex();
|
|
@@ -18938,7 +18999,7 @@ function getSizeOfLength2(length) {
|
|
|
18938
18999
|
throw new BaseError3("Length is too large.");
|
|
18939
19000
|
}
|
|
18940
19001
|
|
|
18941
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
19002
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/Signature.js
|
|
18942
19003
|
init_Errors();
|
|
18943
19004
|
init_Hex();
|
|
18944
19005
|
init_Json();
|
|
@@ -19124,7 +19185,7 @@ var InvalidVError = class extends BaseError3 {
|
|
|
19124
19185
|
}
|
|
19125
19186
|
};
|
|
19126
19187
|
|
|
19127
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
19188
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/Authorization.js
|
|
19128
19189
|
function from8(authorization, options = {}) {
|
|
19129
19190
|
if (typeof authorization.chainId === "string")
|
|
19130
19191
|
return fromRpc3(authorization);
|
|
@@ -19162,11 +19223,11 @@ function toTuple2(authorization) {
|
|
|
19162
19223
|
];
|
|
19163
19224
|
}
|
|
19164
19225
|
|
|
19165
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
19226
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/erc8010/SignatureErc8010.js
|
|
19166
19227
|
init_Errors();
|
|
19167
19228
|
init_Hex();
|
|
19168
19229
|
|
|
19169
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
19230
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/Secp256k1.js
|
|
19170
19231
|
init_secp256k1();
|
|
19171
19232
|
init_Hex();
|
|
19172
19233
|
function recoverAddress2(options) {
|
|
@@ -19180,7 +19241,7 @@ function recoverPublicKey2(options) {
|
|
|
19180
19241
|
return from3(point);
|
|
19181
19242
|
}
|
|
19182
19243
|
|
|
19183
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
19244
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/erc8010/SignatureErc8010.js
|
|
19184
19245
|
var magicBytes = "0x8010801080108010801080108010801080108010801080108010801080108010";
|
|
19185
19246
|
var suffixParameters = from5("(uint256 chainId, address delegation, uint256 nonce, uint8 yParity, uint256 r, uint256 s), address to, bytes data");
|
|
19186
19247
|
function assert6(value) {
|
|
@@ -19254,7 +19315,7 @@ var InvalidWrappedSignatureError = class extends BaseError3 {
|
|
|
19254
19315
|
}
|
|
19255
19316
|
};
|
|
19256
19317
|
|
|
19257
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
19318
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/formatters/proof.js
|
|
19258
19319
|
function formatStorageProof(storageProof) {
|
|
19259
19320
|
return storageProof.map((proof) => ({
|
|
19260
19321
|
...proof,
|
|
@@ -19270,7 +19331,7 @@ function formatProof(proof) {
|
|
|
19270
19331
|
};
|
|
19271
19332
|
}
|
|
19272
19333
|
|
|
19273
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
19334
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getProof.js
|
|
19274
19335
|
async function getProof(client, { address, blockNumber, blockTag: blockTag_, storageKeys }) {
|
|
19275
19336
|
const blockTag = blockTag_ ?? "latest";
|
|
19276
19337
|
const blockNumberHex = blockNumber !== void 0 ? numberToHex(blockNumber) : void 0;
|
|
@@ -19281,7 +19342,7 @@ async function getProof(client, { address, blockNumber, blockTag: blockTag_, sto
|
|
|
19281
19342
|
return formatProof(proof);
|
|
19282
19343
|
}
|
|
19283
19344
|
|
|
19284
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
19345
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getStorageAt.js
|
|
19285
19346
|
init_toHex();
|
|
19286
19347
|
async function getStorageAt(client, { address, blockNumber, blockTag = "latest", slot }) {
|
|
19287
19348
|
const blockNumberHex = blockNumber !== void 0 ? numberToHex(blockNumber) : void 0;
|
|
@@ -19292,7 +19353,7 @@ async function getStorageAt(client, { address, blockNumber, blockTag = "latest",
|
|
|
19292
19353
|
return data;
|
|
19293
19354
|
}
|
|
19294
19355
|
|
|
19295
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
19356
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getTransaction.js
|
|
19296
19357
|
init_transaction();
|
|
19297
19358
|
init_toHex();
|
|
19298
19359
|
async function getTransaction(client, { blockHash, blockNumber, blockTag: blockTag_, hash: hash3, index: index2, sender, nonce }) {
|
|
@@ -19332,7 +19393,7 @@ async function getTransaction(client, { blockHash, blockNumber, blockTag: blockT
|
|
|
19332
19393
|
return format(transaction, "getTransaction");
|
|
19333
19394
|
}
|
|
19334
19395
|
|
|
19335
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
19396
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getTransactionConfirmations.js
|
|
19336
19397
|
async function getTransactionConfirmations(client, { hash: hash3, transactionReceipt }) {
|
|
19337
19398
|
const [blockNumber, transaction] = await Promise.all([
|
|
19338
19399
|
getAction(client, getBlockNumber, "getBlockNumber")({}),
|
|
@@ -19344,7 +19405,7 @@ async function getTransactionConfirmations(client, { hash: hash3, transactionRec
|
|
|
19344
19405
|
return blockNumber - transactionBlockNumber + 1n;
|
|
19345
19406
|
}
|
|
19346
19407
|
|
|
19347
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
19408
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getTransactionReceipt.js
|
|
19348
19409
|
init_transaction();
|
|
19349
19410
|
async function getTransactionReceipt(client, { hash: hash3 }) {
|
|
19350
19411
|
const receipt = await client.request({
|
|
@@ -19357,7 +19418,7 @@ async function getTransactionReceipt(client, { hash: hash3 }) {
|
|
|
19357
19418
|
return format(receipt, "getTransactionReceipt");
|
|
19358
19419
|
}
|
|
19359
19420
|
|
|
19360
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
19421
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/multicall.js
|
|
19361
19422
|
init_abis();
|
|
19362
19423
|
init_contracts();
|
|
19363
19424
|
init_abi();
|
|
@@ -19494,7 +19555,7 @@ async function multicall(client, parameters) {
|
|
|
19494
19555
|
return results;
|
|
19495
19556
|
}
|
|
19496
19557
|
|
|
19497
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
19558
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/simulateBlocks.js
|
|
19498
19559
|
init_BlockOverrides();
|
|
19499
19560
|
init_parseAccount();
|
|
19500
19561
|
init_abi();
|
|
@@ -19595,12 +19656,12 @@ async function simulateBlocks(client, parameters) {
|
|
|
19595
19656
|
}
|
|
19596
19657
|
}
|
|
19597
19658
|
|
|
19598
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
19659
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/AbiItem.js
|
|
19599
19660
|
init_exports();
|
|
19600
19661
|
init_Errors();
|
|
19601
19662
|
init_Hex();
|
|
19602
19663
|
|
|
19603
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
19664
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/internal/abiItem.js
|
|
19604
19665
|
init_Errors();
|
|
19605
19666
|
function normalizeSignature2(signature) {
|
|
19606
19667
|
let active = true;
|
|
@@ -19702,7 +19763,7 @@ function getAmbiguousTypes2(sourceParameters, targetParameters, args) {
|
|
|
19702
19763
|
return;
|
|
19703
19764
|
}
|
|
19704
19765
|
|
|
19705
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
19766
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/AbiItem.js
|
|
19706
19767
|
function from10(abiItem, options = {}) {
|
|
19707
19768
|
const { prepare = true } = options;
|
|
19708
19769
|
const item = (() => {
|
|
@@ -19865,7 +19926,7 @@ var NotFoundError = class extends BaseError3 {
|
|
|
19865
19926
|
}
|
|
19866
19927
|
};
|
|
19867
19928
|
|
|
19868
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
19929
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/AbiConstructor.js
|
|
19869
19930
|
init_Hex();
|
|
19870
19931
|
function encode3(...parameters) {
|
|
19871
19932
|
const [abiConstructor, options] = (() => {
|
|
@@ -19888,7 +19949,7 @@ function fromAbi2(abi2) {
|
|
|
19888
19949
|
return item;
|
|
19889
19950
|
}
|
|
19890
19951
|
|
|
19891
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
19952
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/AbiFunction.js
|
|
19892
19953
|
init_Hex();
|
|
19893
19954
|
function encodeData2(...parameters) {
|
|
19894
19955
|
const [abiFunction, args = []] = (() => {
|
|
@@ -19920,14 +19981,14 @@ function getSelector2(abiItem) {
|
|
|
19920
19981
|
return getSelector(abiItem);
|
|
19921
19982
|
}
|
|
19922
19983
|
|
|
19923
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
19984
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/simulateCalls.js
|
|
19924
19985
|
init_parseAccount();
|
|
19925
19986
|
|
|
19926
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
19987
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/constants/address.js
|
|
19927
19988
|
var ethAddress = "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee";
|
|
19928
19989
|
var zeroAddress = "0x0000000000000000000000000000000000000000";
|
|
19929
19990
|
|
|
19930
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
19991
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/simulateCalls.js
|
|
19931
19992
|
init_contracts();
|
|
19932
19993
|
init_base();
|
|
19933
19994
|
init_encodeFunctionData();
|
|
@@ -20127,7 +20188,7 @@ async function simulateCalls(client, parameters) {
|
|
|
20127
20188
|
};
|
|
20128
20189
|
}
|
|
20129
20190
|
|
|
20130
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
20191
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/erc6492/SignatureErc6492.js
|
|
20131
20192
|
var SignatureErc6492_exports = {};
|
|
20132
20193
|
__export(SignatureErc6492_exports, {
|
|
20133
20194
|
InvalidWrappedSignatureError: () => InvalidWrappedSignatureError2,
|
|
@@ -20230,7 +20291,7 @@ var InvalidWrappedSignatureError2 = class extends BaseError3 {
|
|
|
20230
20291
|
}
|
|
20231
20292
|
};
|
|
20232
20293
|
|
|
20233
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
20294
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/verifyHash.js
|
|
20234
20295
|
init_abis();
|
|
20235
20296
|
init_contracts();
|
|
20236
20297
|
init_contract();
|
|
@@ -20243,7 +20304,7 @@ init_isHex();
|
|
|
20243
20304
|
init_fromHex();
|
|
20244
20305
|
init_toHex();
|
|
20245
20306
|
|
|
20246
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
20307
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/signature/serializeSignature.js
|
|
20247
20308
|
init_secp256k1();
|
|
20248
20309
|
init_fromHex();
|
|
20249
20310
|
init_toBytes();
|
|
@@ -20261,7 +20322,7 @@ function serializeSignature({ r, s, to = "hex", v, yParity }) {
|
|
|
20261
20322
|
return hexToBytes(signature);
|
|
20262
20323
|
}
|
|
20263
20324
|
|
|
20264
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
20325
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/verifyHash.js
|
|
20265
20326
|
init_call();
|
|
20266
20327
|
async function verifyHash(client, parameters) {
|
|
20267
20328
|
const { address, chain = client.chain, hash: hash3, erc6492VerifierAddress: verifierAddress = parameters.universalSignatureVerifierAddress ?? chain?.contracts?.erc6492Verifier?.address, multicallAddress = parameters.multicallAddress ?? chain?.contracts?.multicall3?.address } = parameters;
|
|
@@ -20422,7 +20483,7 @@ async function verifyErc1271(client, parameters) {
|
|
|
20422
20483
|
var VerificationError = class extends Error {
|
|
20423
20484
|
};
|
|
20424
20485
|
|
|
20425
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
20486
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/verifyMessage.js
|
|
20426
20487
|
async function verifyMessage(client, { address, message, factory, factoryData, signature, ...callRequest }) {
|
|
20427
20488
|
const hash3 = hashMessage(message);
|
|
20428
20489
|
return getAction(client, verifyHash, "verifyHash")({
|
|
@@ -20435,7 +20496,7 @@ async function verifyMessage(client, { address, message, factory, factoryData, s
|
|
|
20435
20496
|
});
|
|
20436
20497
|
}
|
|
20437
20498
|
|
|
20438
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
20499
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/verifyTypedData.js
|
|
20439
20500
|
async function verifyTypedData(client, parameters) {
|
|
20440
20501
|
const { address, factory, factoryData, signature, message, primaryType, types, domain, ...callRequest } = parameters;
|
|
20441
20502
|
const hash3 = hashTypedData({ message, primaryType, types, domain });
|
|
@@ -20449,12 +20510,12 @@ async function verifyTypedData(client, parameters) {
|
|
|
20449
20510
|
});
|
|
20450
20511
|
}
|
|
20451
20512
|
|
|
20452
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
20513
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/waitForTransactionReceipt.js
|
|
20453
20514
|
init_transaction();
|
|
20454
20515
|
init_withResolvers();
|
|
20455
20516
|
init_stringify();
|
|
20456
20517
|
|
|
20457
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
20518
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/watchBlockNumber.js
|
|
20458
20519
|
init_fromHex();
|
|
20459
20520
|
init_stringify();
|
|
20460
20521
|
function watchBlockNumber(client, { emitOnBegin = false, emitMissed = false, onBlockNumber, onError, poll: poll_, pollingInterval = client.pollingInterval }) {
|
|
@@ -20548,7 +20609,7 @@ function watchBlockNumber(client, { emitOnBegin = false, emitMissed = false, onB
|
|
|
20548
20609
|
return enablePolling ? pollBlockNumber() : subscribeBlockNumber();
|
|
20549
20610
|
}
|
|
20550
20611
|
|
|
20551
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
20612
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/waitForTransactionReceipt.js
|
|
20552
20613
|
async function waitForTransactionReceipt(client, parameters) {
|
|
20553
20614
|
const {
|
|
20554
20615
|
checkReplacement = true,
|
|
@@ -20680,7 +20741,7 @@ async function waitForTransactionReceipt(client, parameters) {
|
|
|
20680
20741
|
return promise;
|
|
20681
20742
|
}
|
|
20682
20743
|
|
|
20683
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
20744
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/watchBlocks.js
|
|
20684
20745
|
init_stringify();
|
|
20685
20746
|
function watchBlocks(client, { blockTag = client.experimental_blockTag ?? "latest", emitMissed = false, emitOnBegin = false, onBlock, onError, includeTransactions: includeTransactions_, poll: poll_, pollingInterval = client.pollingInterval }) {
|
|
20686
20747
|
const enablePolling = (() => {
|
|
@@ -20802,7 +20863,7 @@ function watchBlocks(client, { blockTag = client.experimental_blockTag ?? "lates
|
|
|
20802
20863
|
return enablePolling ? pollBlocks() : subscribeBlocks();
|
|
20803
20864
|
}
|
|
20804
20865
|
|
|
20805
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
20866
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/watchEvent.js
|
|
20806
20867
|
init_abi();
|
|
20807
20868
|
init_rpc();
|
|
20808
20869
|
init_stringify();
|
|
@@ -20968,7 +21029,7 @@ function watchEvent(client, { address, args, batch = true, event, events, fromBl
|
|
|
20968
21029
|
return enablePolling ? pollEvent() : subscribeEvent();
|
|
20969
21030
|
}
|
|
20970
21031
|
|
|
20971
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
21032
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/watchPendingTransactions.js
|
|
20972
21033
|
init_stringify();
|
|
20973
21034
|
function watchPendingTransactions(client, { batch = true, onError, onTransactions, poll: poll_, pollingInterval = client.pollingInterval }) {
|
|
20974
21035
|
const enablePolling = typeof poll_ !== "undefined" ? poll_ : client.transport.type !== "webSocket" && client.transport.type !== "ipc";
|
|
@@ -21043,7 +21104,7 @@ function watchPendingTransactions(client, { batch = true, onError, onTransaction
|
|
|
21043
21104
|
return enablePolling ? pollPendingTransactions() : subscribePendingTransactions();
|
|
21044
21105
|
}
|
|
21045
21106
|
|
|
21046
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
21107
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/siwe/parseSiweMessage.js
|
|
21047
21108
|
function parseSiweMessage(message) {
|
|
21048
21109
|
const { scheme, statement, ...prefix } = message.match(prefixRegex)?.groups ?? {};
|
|
21049
21110
|
const { chainId, expirationTime, issuedAt, notBefore, requestId, ...suffix } = message.match(suffixRegex)?.groups ?? {};
|
|
@@ -21064,7 +21125,7 @@ function parseSiweMessage(message) {
|
|
|
21064
21125
|
var prefixRegex = /^(?:(?<scheme>[a-zA-Z][a-zA-Z0-9+-.]*):\/\/)?(?<domain>[a-zA-Z0-9+-.]*(?::[0-9]{1,5})?) (?:wants you to sign in with your Ethereum account:\n)(?<address>0x[a-fA-F0-9]{40})\n\n(?:(?<statement>.*)\n\n)?/;
|
|
21065
21126
|
var suffixRegex = /(?:URI: (?<uri>.+))\n(?:Version: (?<version>.+))\n(?:Chain ID: (?<chainId>\d+))\n(?:Nonce: (?<nonce>[a-zA-Z0-9]+))\n(?:Issued At: (?<issuedAt>.+))(?:\nExpiration Time: (?<expirationTime>.+))?(?:\nNot Before: (?<notBefore>.+))?(?:\nRequest ID: (?<requestId>.+))?/;
|
|
21066
21127
|
|
|
21067
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
21128
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/siwe/validateSiweMessage.js
|
|
21068
21129
|
init_isAddress();
|
|
21069
21130
|
init_isAddressEqual();
|
|
21070
21131
|
function validateSiweMessage(parameters) {
|
|
@@ -21092,7 +21153,7 @@ function validateSiweMessage(parameters) {
|
|
|
21092
21153
|
return true;
|
|
21093
21154
|
}
|
|
21094
21155
|
|
|
21095
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
21156
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/siwe/verifySiweMessage.js
|
|
21096
21157
|
async function verifySiweMessage(client, parameters) {
|
|
21097
21158
|
const { address, domain, message, nonce, scheme, signature, time = /* @__PURE__ */ new Date(), ...callRequest } = parameters;
|
|
21098
21159
|
const parsed = parseSiweMessage(message);
|
|
@@ -21117,7 +21178,7 @@ async function verifySiweMessage(client, parameters) {
|
|
|
21117
21178
|
});
|
|
21118
21179
|
}
|
|
21119
21180
|
|
|
21120
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
21181
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/wallet/sendRawTransactionSync.js
|
|
21121
21182
|
init_transaction();
|
|
21122
21183
|
async function sendRawTransactionSync(client, { serializedTransaction, throwOnReceiptRevert, timeout }) {
|
|
21123
21184
|
const receipt = await client.request({
|
|
@@ -21131,7 +21192,7 @@ async function sendRawTransactionSync(client, { serializedTransaction, throwOnRe
|
|
|
21131
21192
|
return formatted;
|
|
21132
21193
|
}
|
|
21133
21194
|
|
|
21134
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
21195
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/clients/decorators/public.js
|
|
21135
21196
|
function publicActions(client) {
|
|
21136
21197
|
return {
|
|
21137
21198
|
call: (args) => call(client, args),
|
|
@@ -21194,7 +21255,7 @@ function publicActions(client) {
|
|
|
21194
21255
|
};
|
|
21195
21256
|
}
|
|
21196
21257
|
|
|
21197
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
21258
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/clients/createPublicClient.js
|
|
21198
21259
|
function createPublicClient(parameters) {
|
|
21199
21260
|
const { key = "public", name = "Public Client" } = parameters;
|
|
21200
21261
|
const client = createClient({
|
|
@@ -21206,7 +21267,7 @@ function createPublicClient(parameters) {
|
|
|
21206
21267
|
return client.extend(publicActions);
|
|
21207
21268
|
}
|
|
21208
21269
|
|
|
21209
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
21270
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/clients/transports/createTransport.js
|
|
21210
21271
|
function createTransport({ key, methods, name, request, retryCount = 3, retryDelay = 150, timeout, type }, value) {
|
|
21211
21272
|
const uid2 = uid();
|
|
21212
21273
|
return {
|
|
@@ -21225,10 +21286,10 @@ function createTransport({ key, methods, name, request, retryCount = 3, retryDel
|
|
|
21225
21286
|
};
|
|
21226
21287
|
}
|
|
21227
21288
|
|
|
21228
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
21289
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/clients/transports/http.js
|
|
21229
21290
|
init_request();
|
|
21230
21291
|
|
|
21231
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
21292
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/transport.js
|
|
21232
21293
|
init_base();
|
|
21233
21294
|
var UrlRequiredError = class extends BaseError2 {
|
|
21234
21295
|
constructor() {
|
|
@@ -21239,7 +21300,7 @@ var UrlRequiredError = class extends BaseError2 {
|
|
|
21239
21300
|
}
|
|
21240
21301
|
};
|
|
21241
21302
|
|
|
21242
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
21303
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/clients/transports/http.js
|
|
21243
21304
|
init_createBatchScheduler();
|
|
21244
21305
|
function http(url, config = {}) {
|
|
21245
21306
|
const { batch, fetchFn, fetchOptions, key = "http", methods, name = "HTTP JSON-RPC", onFetchRequest, onFetchResponse, retryDelay, raw } = config;
|
|
@@ -21301,7 +21362,7 @@ function http(url, config = {}) {
|
|
|
21301
21362
|
};
|
|
21302
21363
|
}
|
|
21303
21364
|
|
|
21304
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
21365
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/clients/transports/webSocket.js
|
|
21305
21366
|
init_request();
|
|
21306
21367
|
function webSocket(url, config = {}) {
|
|
21307
21368
|
const { keepAlive, key = "webSocket", methods, name = "WebSocket JSON-RPC", reconnect, retryDelay } = config;
|
|
@@ -21386,7 +21447,7 @@ function webSocket(url, config = {}) {
|
|
|
21386
21447
|
};
|
|
21387
21448
|
}
|
|
21388
21449
|
|
|
21389
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
21450
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/index.js
|
|
21390
21451
|
init_base();
|
|
21391
21452
|
init_contract();
|
|
21392
21453
|
|
|
@@ -21587,18 +21648,18 @@ var customChains = {
|
|
|
21587
21648
|
// src/chains/chainMapping.ts
|
|
21588
21649
|
var import_chain_registry = require("@1delta/chain-registry");
|
|
21589
21650
|
|
|
21590
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
21651
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/zksync/formatters.js
|
|
21591
21652
|
init_fromHex();
|
|
21592
21653
|
init_toBytes();
|
|
21593
21654
|
init_toHex();
|
|
21594
21655
|
init_transactionRequest();
|
|
21595
21656
|
|
|
21596
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
21657
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/zksync/constants/number.js
|
|
21597
21658
|
init_number();
|
|
21598
21659
|
var gasPerPubdataDefault = 50000n;
|
|
21599
21660
|
var maxBytecodeSize = maxUint16 * 32n;
|
|
21600
21661
|
|
|
21601
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
21662
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/zksync/formatters.js
|
|
21602
21663
|
var formatters = {
|
|
21603
21664
|
block: /* @__PURE__ */ defineBlock({
|
|
21604
21665
|
format(args) {
|
|
@@ -21697,17 +21758,17 @@ var formatters = {
|
|
|
21697
21758
|
})
|
|
21698
21759
|
};
|
|
21699
21760
|
|
|
21700
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
21761
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/zksync/serializers.js
|
|
21701
21762
|
init_concat();
|
|
21702
21763
|
init_toHex();
|
|
21703
21764
|
|
|
21704
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
21765
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/zksync/utils/assertEip712Transaction.js
|
|
21705
21766
|
init_address();
|
|
21706
21767
|
init_base();
|
|
21707
21768
|
init_chain();
|
|
21708
21769
|
init_isAddress();
|
|
21709
21770
|
|
|
21710
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
21771
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/zksync/errors/transaction.js
|
|
21711
21772
|
init_base();
|
|
21712
21773
|
var InvalidEip712TransactionError = class extends BaseError2 {
|
|
21713
21774
|
constructor() {
|
|
@@ -21721,7 +21782,7 @@ var InvalidEip712TransactionError = class extends BaseError2 {
|
|
|
21721
21782
|
}
|
|
21722
21783
|
};
|
|
21723
21784
|
|
|
21724
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
21785
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/zksync/utils/isEip712Transaction.js
|
|
21725
21786
|
function isEIP712Transaction(transaction) {
|
|
21726
21787
|
if (transaction.type === "eip712")
|
|
21727
21788
|
return true;
|
|
@@ -21730,7 +21791,7 @@ function isEIP712Transaction(transaction) {
|
|
|
21730
21791
|
return false;
|
|
21731
21792
|
}
|
|
21732
21793
|
|
|
21733
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
21794
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/zksync/utils/assertEip712Transaction.js
|
|
21734
21795
|
function assertEip712Transaction(transaction) {
|
|
21735
21796
|
const { chainId, to, from: from14, paymaster, paymasterInput } = transaction;
|
|
21736
21797
|
if (!isEIP712Transaction(transaction))
|
|
@@ -21751,7 +21812,7 @@ function assertEip712Transaction(transaction) {
|
|
|
21751
21812
|
}
|
|
21752
21813
|
}
|
|
21753
21814
|
|
|
21754
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
21815
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/zksync/serializers.js
|
|
21755
21816
|
function serializeTransaction2(transaction, signature) {
|
|
21756
21817
|
if (isEIP712Transaction(transaction))
|
|
21757
21818
|
return serializeTransactionEIP712(transaction);
|
|
@@ -21788,14 +21849,14 @@ function serializeTransactionEIP712(transaction) {
|
|
|
21788
21849
|
]);
|
|
21789
21850
|
}
|
|
21790
21851
|
|
|
21791
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
21852
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/zksync/utils/getEip712Domain.js
|
|
21792
21853
|
init_toHex();
|
|
21793
21854
|
|
|
21794
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
21855
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/zksync/utils/hashBytecode.js
|
|
21795
21856
|
init_pad();
|
|
21796
21857
|
init_toBytes();
|
|
21797
21858
|
|
|
21798
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
21859
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/zksync/errors/bytecode.js
|
|
21799
21860
|
init_base();
|
|
21800
21861
|
var BytecodeLengthExceedsMaxSizeError = class extends BaseError2 {
|
|
21801
21862
|
constructor({ givenLength, maxBytecodeSize: maxBytecodeSize2 }) {
|
|
@@ -21813,7 +21874,7 @@ var BytecodeLengthMustBeDivisibleBy32Error = class extends BaseError2 {
|
|
|
21813
21874
|
}
|
|
21814
21875
|
};
|
|
21815
21876
|
|
|
21816
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
21877
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/zksync/utils/hashBytecode.js
|
|
21817
21878
|
function hashBytecode(bytecode) {
|
|
21818
21879
|
const bytecodeBytes = toBytes(bytecode);
|
|
21819
21880
|
if (bytecodeBytes.length % 32 !== 0)
|
|
@@ -21841,7 +21902,7 @@ function hashBytecode(bytecode) {
|
|
|
21841
21902
|
return hash3;
|
|
21842
21903
|
}
|
|
21843
21904
|
|
|
21844
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
21905
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/zksync/utils/getEip712Domain.js
|
|
21845
21906
|
var getEip712Domain2 = (transaction) => {
|
|
21846
21907
|
assertEip712Transaction(transaction);
|
|
21847
21908
|
const message = transactionToMessage(transaction);
|
|
@@ -21891,7 +21952,7 @@ function transactionToMessage(transaction) {
|
|
|
21891
21952
|
};
|
|
21892
21953
|
}
|
|
21893
21954
|
|
|
21894
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
21955
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/zksync/chainConfig.js
|
|
21895
21956
|
var chainConfig = {
|
|
21896
21957
|
blockTime: 1e3,
|
|
21897
21958
|
formatters,
|
|
@@ -21901,7 +21962,7 @@ var chainConfig = {
|
|
|
21901
21962
|
}
|
|
21902
21963
|
};
|
|
21903
21964
|
|
|
21904
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
21965
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/abstract.js
|
|
21905
21966
|
var abstract = /* @__PURE__ */ defineChain({
|
|
21906
21967
|
...chainConfig,
|
|
21907
21968
|
blockTime: 200,
|
|
@@ -21940,7 +22001,7 @@ var abstract = /* @__PURE__ */ defineChain({
|
|
|
21940
22001
|
}
|
|
21941
22002
|
});
|
|
21942
22003
|
|
|
21943
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
22004
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/op-stack/contracts.js
|
|
21944
22005
|
var contracts = {
|
|
21945
22006
|
gasPriceOracle: { address: "0x420000000000000000000000000000000000000F" },
|
|
21946
22007
|
l1Block: { address: "0x4200000000000000000000000000000000000015" },
|
|
@@ -21954,7 +22015,7 @@ var contracts = {
|
|
|
21954
22015
|
}
|
|
21955
22016
|
};
|
|
21956
22017
|
|
|
21957
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
22018
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/op-stack/formatters.js
|
|
21958
22019
|
init_fromHex();
|
|
21959
22020
|
var formatters2 = {
|
|
21960
22021
|
block: /* @__PURE__ */ defineBlock({
|
|
@@ -22001,7 +22062,7 @@ var formatters2 = {
|
|
|
22001
22062
|
})
|
|
22002
22063
|
};
|
|
22003
22064
|
|
|
22004
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
22065
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/op-stack/serializers.js
|
|
22005
22066
|
init_address();
|
|
22006
22067
|
init_isAddress();
|
|
22007
22068
|
init_concat();
|
|
@@ -22047,7 +22108,7 @@ function assertTransactionDeposit(transaction) {
|
|
|
22047
22108
|
throw new InvalidAddressError({ address: to });
|
|
22048
22109
|
}
|
|
22049
22110
|
|
|
22050
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
22111
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/op-stack/chainConfig.js
|
|
22051
22112
|
var chainConfig2 = {
|
|
22052
22113
|
blockTime: 2e3,
|
|
22053
22114
|
contracts,
|
|
@@ -22055,7 +22116,7 @@ var chainConfig2 = {
|
|
|
22055
22116
|
serializers: serializers2
|
|
22056
22117
|
};
|
|
22057
22118
|
|
|
22058
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
22119
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/apeChain.js
|
|
22059
22120
|
var sourceId = 42161;
|
|
22060
22121
|
var apeChain = /* @__PURE__ */ defineChain({
|
|
22061
22122
|
id: 33139,
|
|
@@ -22087,7 +22148,7 @@ var apeChain = /* @__PURE__ */ defineChain({
|
|
|
22087
22148
|
sourceId
|
|
22088
22149
|
});
|
|
22089
22150
|
|
|
22090
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
22151
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/arbitrum.js
|
|
22091
22152
|
var arbitrum = /* @__PURE__ */ defineChain({
|
|
22092
22153
|
id: 42161,
|
|
22093
22154
|
name: "Arbitrum One",
|
|
@@ -22113,7 +22174,7 @@ var arbitrum = /* @__PURE__ */ defineChain({
|
|
|
22113
22174
|
}
|
|
22114
22175
|
});
|
|
22115
22176
|
|
|
22116
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
22177
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/aurora.js
|
|
22117
22178
|
var aurora = /* @__PURE__ */ defineChain({
|
|
22118
22179
|
id: 1313161554,
|
|
22119
22180
|
name: "Aurora",
|
|
@@ -22140,7 +22201,7 @@ var aurora = /* @__PURE__ */ defineChain({
|
|
|
22140
22201
|
}
|
|
22141
22202
|
});
|
|
22142
22203
|
|
|
22143
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
22204
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/avalanche.js
|
|
22144
22205
|
var avalanche = /* @__PURE__ */ defineChain({
|
|
22145
22206
|
id: 43114,
|
|
22146
22207
|
name: "Avalanche",
|
|
@@ -22168,7 +22229,7 @@ var avalanche = /* @__PURE__ */ defineChain({
|
|
|
22168
22229
|
}
|
|
22169
22230
|
});
|
|
22170
22231
|
|
|
22171
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
22232
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/base.js
|
|
22172
22233
|
var sourceId2 = 1;
|
|
22173
22234
|
var base = /* @__PURE__ */ defineChain({
|
|
22174
22235
|
...chainConfig2,
|
|
@@ -22228,7 +22289,7 @@ var basePreconf = /* @__PURE__ */ defineChain({
|
|
|
22228
22289
|
}
|
|
22229
22290
|
});
|
|
22230
22291
|
|
|
22231
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
22292
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/berachain.js
|
|
22232
22293
|
var berachain = /* @__PURE__ */ defineChain({
|
|
22233
22294
|
id: 80094,
|
|
22234
22295
|
name: "Berachain",
|
|
@@ -22265,7 +22326,7 @@ var berachain = /* @__PURE__ */ defineChain({
|
|
|
22265
22326
|
testnet: false
|
|
22266
22327
|
});
|
|
22267
22328
|
|
|
22268
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
22329
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/bitlayer.js
|
|
22269
22330
|
var bitlayer = /* @__PURE__ */ defineChain({
|
|
22270
22331
|
id: 200901,
|
|
22271
22332
|
name: "Bitlayer Mainnet",
|
|
@@ -22294,7 +22355,7 @@ var bitlayer = /* @__PURE__ */ defineChain({
|
|
|
22294
22355
|
}
|
|
22295
22356
|
});
|
|
22296
22357
|
|
|
22297
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
22358
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/blast.js
|
|
22298
22359
|
var sourceId3 = 1;
|
|
22299
22360
|
var blast = /* @__PURE__ */ defineChain({
|
|
22300
22361
|
...chainConfig2,
|
|
@@ -22343,7 +22404,7 @@ var blast = /* @__PURE__ */ defineChain({
|
|
|
22343
22404
|
sourceId: sourceId3
|
|
22344
22405
|
});
|
|
22345
22406
|
|
|
22346
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
22407
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/bob.js
|
|
22347
22408
|
var sourceId4 = 1;
|
|
22348
22409
|
var bob = /* @__PURE__ */ defineChain({
|
|
22349
22410
|
...chainConfig2,
|
|
@@ -22388,7 +22449,7 @@ var bob = /* @__PURE__ */ defineChain({
|
|
|
22388
22449
|
sourceId: sourceId4
|
|
22389
22450
|
});
|
|
22390
22451
|
|
|
22391
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
22452
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/bsc.js
|
|
22392
22453
|
var bsc = /* @__PURE__ */ defineChain({
|
|
22393
22454
|
id: 56,
|
|
22394
22455
|
name: "BNB Smart Chain",
|
|
@@ -22416,7 +22477,7 @@ var bsc = /* @__PURE__ */ defineChain({
|
|
|
22416
22477
|
}
|
|
22417
22478
|
});
|
|
22418
22479
|
|
|
22419
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
22480
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/bsquared.js
|
|
22420
22481
|
var bsquared = /* @__PURE__ */ defineChain({
|
|
22421
22482
|
id: 223,
|
|
22422
22483
|
name: "B2",
|
|
@@ -22438,7 +22499,7 @@ var bsquared = /* @__PURE__ */ defineChain({
|
|
|
22438
22499
|
}
|
|
22439
22500
|
});
|
|
22440
22501
|
|
|
22441
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
22502
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/celo/fees.js
|
|
22442
22503
|
var fees = {
|
|
22443
22504
|
/*
|
|
22444
22505
|
* Estimates the fees per gas for a transaction.
|
|
@@ -22478,11 +22539,11 @@ async function estimateMaxPriorityFeePerGasInFeeCurrency(client, feeCurrency) {
|
|
|
22478
22539
|
return BigInt(feesPerGas);
|
|
22479
22540
|
}
|
|
22480
22541
|
|
|
22481
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
22542
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/celo/formatters.js
|
|
22482
22543
|
init_fromHex();
|
|
22483
22544
|
init_transactionRequest();
|
|
22484
22545
|
|
|
22485
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
22546
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/celo/utils.js
|
|
22486
22547
|
init_trim();
|
|
22487
22548
|
function isEmpty(value) {
|
|
22488
22549
|
return value === 0 || value === 0n || value === void 0 || value === null || value === "0" || value === "" || typeof value === "string" && (trim(value).toLowerCase() === "0x" || trim(value).toLowerCase() === "0x00");
|
|
@@ -22500,7 +22561,7 @@ function isCIP64(transaction) {
|
|
|
22500
22561
|
return isEIP1559(transaction) && isPresent(transaction.feeCurrency);
|
|
22501
22562
|
}
|
|
22502
22563
|
|
|
22503
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
22564
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/celo/formatters.js
|
|
22504
22565
|
var formatters3 = {
|
|
22505
22566
|
block: /* @__PURE__ */ defineBlock({
|
|
22506
22567
|
format(args) {
|
|
@@ -22555,7 +22616,7 @@ var formatters3 = {
|
|
|
22555
22616
|
})
|
|
22556
22617
|
};
|
|
22557
22618
|
|
|
22558
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
22619
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/celo/serializers.js
|
|
22559
22620
|
init_number();
|
|
22560
22621
|
init_address();
|
|
22561
22622
|
init_base();
|
|
@@ -22614,7 +22675,7 @@ function assertTransactionCIP64(transaction) {
|
|
|
22614
22675
|
}
|
|
22615
22676
|
}
|
|
22616
22677
|
|
|
22617
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
22678
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/celo/chainConfig.js
|
|
22618
22679
|
var chainConfig3 = {
|
|
22619
22680
|
blockTime: 1e3,
|
|
22620
22681
|
contracts,
|
|
@@ -22623,7 +22684,7 @@ var chainConfig3 = {
|
|
|
22623
22684
|
fees
|
|
22624
22685
|
};
|
|
22625
22686
|
|
|
22626
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
22687
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/celo.js
|
|
22627
22688
|
var celo = /* @__PURE__ */ defineChain({
|
|
22628
22689
|
...chainConfig3,
|
|
22629
22690
|
id: 42220,
|
|
@@ -22652,7 +22713,32 @@ var celo = /* @__PURE__ */ defineChain({
|
|
|
22652
22713
|
testnet: false
|
|
22653
22714
|
});
|
|
22654
22715
|
|
|
22655
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
22716
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/confluxESpace.js
|
|
22717
|
+
var confluxESpace = /* @__PURE__ */ defineChain({
|
|
22718
|
+
id: 1030,
|
|
22719
|
+
name: "Conflux eSpace",
|
|
22720
|
+
nativeCurrency: { name: "Conflux", symbol: "CFX", decimals: 18 },
|
|
22721
|
+
rpcUrls: {
|
|
22722
|
+
default: {
|
|
22723
|
+
http: ["https://evm.confluxrpc.com"],
|
|
22724
|
+
webSocket: ["wss://evm.confluxrpc.com/ws"]
|
|
22725
|
+
}
|
|
22726
|
+
},
|
|
22727
|
+
blockExplorers: {
|
|
22728
|
+
default: {
|
|
22729
|
+
name: "ConfluxScan",
|
|
22730
|
+
url: "https://evm.confluxscan.org"
|
|
22731
|
+
}
|
|
22732
|
+
},
|
|
22733
|
+
contracts: {
|
|
22734
|
+
multicall3: {
|
|
22735
|
+
address: "0xEFf0078910f638cd81996cc117bccD3eDf2B072F",
|
|
22736
|
+
blockCreated: 68602935
|
|
22737
|
+
}
|
|
22738
|
+
}
|
|
22739
|
+
});
|
|
22740
|
+
|
|
22741
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/coreDao.js
|
|
22656
22742
|
var coreDao = /* @__PURE__ */ defineChain({
|
|
22657
22743
|
id: 1116,
|
|
22658
22744
|
name: "Core Dao",
|
|
@@ -22679,7 +22765,7 @@ var coreDao = /* @__PURE__ */ defineChain({
|
|
|
22679
22765
|
testnet: false
|
|
22680
22766
|
});
|
|
22681
22767
|
|
|
22682
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
22768
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/corn.js
|
|
22683
22769
|
var sourceId5 = 1;
|
|
22684
22770
|
var corn = /* @__PURE__ */ defineChain({
|
|
22685
22771
|
id: 21e6,
|
|
@@ -22708,7 +22794,7 @@ var corn = /* @__PURE__ */ defineChain({
|
|
|
22708
22794
|
sourceId: sourceId5
|
|
22709
22795
|
});
|
|
22710
22796
|
|
|
22711
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
22797
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/cronos.js
|
|
22712
22798
|
var cronos = /* @__PURE__ */ defineChain({
|
|
22713
22799
|
id: 25,
|
|
22714
22800
|
name: "Cronos Mainnet",
|
|
@@ -22735,7 +22821,7 @@ var cronos = /* @__PURE__ */ defineChain({
|
|
|
22735
22821
|
}
|
|
22736
22822
|
});
|
|
22737
22823
|
|
|
22738
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
22824
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/cronoszkEVM.js
|
|
22739
22825
|
var cronoszkEVM = /* @__PURE__ */ defineChain({
|
|
22740
22826
|
id: 388,
|
|
22741
22827
|
name: "Cronos zkEVM Mainnet",
|
|
@@ -22761,7 +22847,7 @@ var cronoszkEVM = /* @__PURE__ */ defineChain({
|
|
|
22761
22847
|
}
|
|
22762
22848
|
});
|
|
22763
22849
|
|
|
22764
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
22850
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/degen.js
|
|
22765
22851
|
var degen = /* @__PURE__ */ defineChain({
|
|
22766
22852
|
id: 666666666,
|
|
22767
22853
|
name: "Degen",
|
|
@@ -22785,7 +22871,7 @@ var degen = /* @__PURE__ */ defineChain({
|
|
|
22785
22871
|
}
|
|
22786
22872
|
});
|
|
22787
22873
|
|
|
22788
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
22874
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/fantom.js
|
|
22789
22875
|
var fantom = /* @__PURE__ */ defineChain({
|
|
22790
22876
|
id: 250,
|
|
22791
22877
|
name: "Fantom",
|
|
@@ -22812,7 +22898,7 @@ var fantom = /* @__PURE__ */ defineChain({
|
|
|
22812
22898
|
}
|
|
22813
22899
|
});
|
|
22814
22900
|
|
|
22815
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
22901
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/flare.js
|
|
22816
22902
|
var flare = /* @__PURE__ */ defineChain({
|
|
22817
22903
|
id: 14,
|
|
22818
22904
|
name: "Flare Mainnet",
|
|
@@ -22839,7 +22925,7 @@ var flare = /* @__PURE__ */ defineChain({
|
|
|
22839
22925
|
}
|
|
22840
22926
|
});
|
|
22841
22927
|
|
|
22842
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
22928
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/flowMainnet.js
|
|
22843
22929
|
var flowMainnet = /* @__PURE__ */ defineChain({
|
|
22844
22930
|
id: 747,
|
|
22845
22931
|
name: "Flow EVM Mainnet",
|
|
@@ -22868,7 +22954,7 @@ var flowMainnet = /* @__PURE__ */ defineChain({
|
|
|
22868
22954
|
blockTime: 800
|
|
22869
22955
|
});
|
|
22870
22956
|
|
|
22871
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
22957
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/fuse.js
|
|
22872
22958
|
var fuse = /* @__PURE__ */ defineChain({
|
|
22873
22959
|
id: 122,
|
|
22874
22960
|
name: "Fuse",
|
|
@@ -22891,7 +22977,7 @@ var fuse = /* @__PURE__ */ defineChain({
|
|
|
22891
22977
|
}
|
|
22892
22978
|
});
|
|
22893
22979
|
|
|
22894
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
22980
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/gnosis.js
|
|
22895
22981
|
var gnosis = /* @__PURE__ */ defineChain({
|
|
22896
22982
|
id: 100,
|
|
22897
22983
|
name: "Gnosis",
|
|
@@ -22922,7 +23008,7 @@ var gnosis = /* @__PURE__ */ defineChain({
|
|
|
22922
23008
|
}
|
|
22923
23009
|
});
|
|
22924
23010
|
|
|
22925
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
23011
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/goat.js
|
|
22926
23012
|
var goat = /* @__PURE__ */ defineChain({
|
|
22927
23013
|
id: 2345,
|
|
22928
23014
|
name: "GOAT",
|
|
@@ -22948,7 +23034,7 @@ var goat = /* @__PURE__ */ defineChain({
|
|
|
22948
23034
|
}
|
|
22949
23035
|
});
|
|
22950
23036
|
|
|
22951
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
23037
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/gravity.js
|
|
22952
23038
|
var gravity = /* @__PURE__ */ defineChain({
|
|
22953
23039
|
id: 1625,
|
|
22954
23040
|
name: "Gravity Alpha Mainnet",
|
|
@@ -22973,7 +23059,7 @@ var gravity = /* @__PURE__ */ defineChain({
|
|
|
22973
23059
|
}
|
|
22974
23060
|
});
|
|
22975
23061
|
|
|
22976
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
23062
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/harmonyOne.js
|
|
22977
23063
|
var harmonyOne = /* @__PURE__ */ defineChain({
|
|
22978
23064
|
id: 16666e5,
|
|
22979
23065
|
name: "Harmony One",
|
|
@@ -22999,7 +23085,7 @@ var harmonyOne = /* @__PURE__ */ defineChain({
|
|
|
22999
23085
|
}
|
|
23000
23086
|
});
|
|
23001
23087
|
|
|
23002
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
23088
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/hemi.js
|
|
23003
23089
|
var hemi = /* @__PURE__ */ defineChain({
|
|
23004
23090
|
id: 43111,
|
|
23005
23091
|
name: "Hemi",
|
|
@@ -23024,7 +23110,7 @@ var hemi = /* @__PURE__ */ defineChain({
|
|
|
23024
23110
|
testnet: false
|
|
23025
23111
|
});
|
|
23026
23112
|
|
|
23027
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
23113
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/inEVM.js
|
|
23028
23114
|
var inEVM = /* @__PURE__ */ defineChain({
|
|
23029
23115
|
id: 2525,
|
|
23030
23116
|
name: "inEVM Mainnet",
|
|
@@ -23051,7 +23137,7 @@ var inEVM = /* @__PURE__ */ defineChain({
|
|
|
23051
23137
|
}
|
|
23052
23138
|
});
|
|
23053
23139
|
|
|
23054
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
23140
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/ink.js
|
|
23055
23141
|
var sourceId6 = 1;
|
|
23056
23142
|
var ink = /* @__PURE__ */ defineChain({
|
|
23057
23143
|
...chainConfig2,
|
|
@@ -23103,7 +23189,7 @@ var ink = /* @__PURE__ */ defineChain({
|
|
|
23103
23189
|
sourceId: sourceId6
|
|
23104
23190
|
});
|
|
23105
23191
|
|
|
23106
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
23192
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/iota.js
|
|
23107
23193
|
var iota = /* @__PURE__ */ defineChain({
|
|
23108
23194
|
id: 8822,
|
|
23109
23195
|
name: "IOTA EVM",
|
|
@@ -23134,7 +23220,7 @@ var iota = /* @__PURE__ */ defineChain({
|
|
|
23134
23220
|
}
|
|
23135
23221
|
});
|
|
23136
23222
|
|
|
23137
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
23223
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/iotex.js
|
|
23138
23224
|
var iotex = /* @__PURE__ */ defineChain({
|
|
23139
23225
|
id: 4689,
|
|
23140
23226
|
name: "IoTeX",
|
|
@@ -23163,7 +23249,7 @@ var iotex = /* @__PURE__ */ defineChain({
|
|
|
23163
23249
|
}
|
|
23164
23250
|
});
|
|
23165
23251
|
|
|
23166
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
23252
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/kaia.js
|
|
23167
23253
|
var kaia = /* @__PURE__ */ defineChain({
|
|
23168
23254
|
id: 8217,
|
|
23169
23255
|
name: "Kaia",
|
|
@@ -23190,7 +23276,7 @@ var kaia = /* @__PURE__ */ defineChain({
|
|
|
23190
23276
|
}
|
|
23191
23277
|
});
|
|
23192
23278
|
|
|
23193
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
23279
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/kava.js
|
|
23194
23280
|
var kava = /* @__PURE__ */ defineChain({
|
|
23195
23281
|
id: 2222,
|
|
23196
23282
|
name: "Kava EVM",
|
|
@@ -23219,7 +23305,7 @@ var kava = /* @__PURE__ */ defineChain({
|
|
|
23219
23305
|
testnet: false
|
|
23220
23306
|
});
|
|
23221
23307
|
|
|
23222
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
23308
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/lightlinkPhoenix.js
|
|
23223
23309
|
var lightlinkPhoenix = /* @__PURE__ */ defineChain({
|
|
23224
23310
|
id: 1890,
|
|
23225
23311
|
name: "LightLink Phoenix Mainnet",
|
|
@@ -23249,7 +23335,7 @@ var lightlinkPhoenix = /* @__PURE__ */ defineChain({
|
|
|
23249
23335
|
testnet: false
|
|
23250
23336
|
});
|
|
23251
23337
|
|
|
23252
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
23338
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/linea/actions/estimateGas.js
|
|
23253
23339
|
init_parseAccount();
|
|
23254
23340
|
init_toHex();
|
|
23255
23341
|
init_getCallError();
|
|
@@ -23300,7 +23386,7 @@ async function estimateGas2(client, args) {
|
|
|
23300
23386
|
}
|
|
23301
23387
|
}
|
|
23302
23388
|
|
|
23303
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
23389
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/linea/chainConfig.js
|
|
23304
23390
|
var chainConfig4 = {
|
|
23305
23391
|
fees: {
|
|
23306
23392
|
estimateFeesPerGas: estimateFeesPerGas2,
|
|
@@ -23338,7 +23424,7 @@ async function estimateFeesPerGas2({ client, multiply, request, type }) {
|
|
|
23338
23424
|
}
|
|
23339
23425
|
}
|
|
23340
23426
|
|
|
23341
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
23427
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/linea.js
|
|
23342
23428
|
var linea = /* @__PURE__ */ defineChain({
|
|
23343
23429
|
...chainConfig4,
|
|
23344
23430
|
id: 59144,
|
|
@@ -23376,7 +23462,7 @@ var linea = /* @__PURE__ */ defineChain({
|
|
|
23376
23462
|
testnet: false
|
|
23377
23463
|
});
|
|
23378
23464
|
|
|
23379
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
23465
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/mainnet.js
|
|
23380
23466
|
var mainnet = /* @__PURE__ */ defineChain({
|
|
23381
23467
|
id: 1,
|
|
23382
23468
|
name: "Ethereum",
|
|
@@ -23406,7 +23492,7 @@ var mainnet = /* @__PURE__ */ defineChain({
|
|
|
23406
23492
|
}
|
|
23407
23493
|
});
|
|
23408
23494
|
|
|
23409
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
23495
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/manta.js
|
|
23410
23496
|
var manta = /* @__PURE__ */ defineChain({
|
|
23411
23497
|
id: 169,
|
|
23412
23498
|
name: "Manta Pacific Mainnet",
|
|
@@ -23434,7 +23520,7 @@ var manta = /* @__PURE__ */ defineChain({
|
|
|
23434
23520
|
}
|
|
23435
23521
|
});
|
|
23436
23522
|
|
|
23437
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
23523
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/mantle.js
|
|
23438
23524
|
var mantle = /* @__PURE__ */ defineChain({
|
|
23439
23525
|
id: 5e3,
|
|
23440
23526
|
name: "Mantle",
|
|
@@ -23461,7 +23547,7 @@ var mantle = /* @__PURE__ */ defineChain({
|
|
|
23461
23547
|
}
|
|
23462
23548
|
});
|
|
23463
23549
|
|
|
23464
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
23550
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/merlin.js
|
|
23465
23551
|
var merlin = /* @__PURE__ */ defineChain({
|
|
23466
23552
|
id: 4200,
|
|
23467
23553
|
name: "Merlin",
|
|
@@ -23482,7 +23568,7 @@ var merlin = /* @__PURE__ */ defineChain({
|
|
|
23482
23568
|
}
|
|
23483
23569
|
});
|
|
23484
23570
|
|
|
23485
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
23571
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/meter.js
|
|
23486
23572
|
var meter = /* @__PURE__ */ defineChain({
|
|
23487
23573
|
id: 82,
|
|
23488
23574
|
name: "Meter",
|
|
@@ -23502,7 +23588,7 @@ var meter = /* @__PURE__ */ defineChain({
|
|
|
23502
23588
|
}
|
|
23503
23589
|
});
|
|
23504
23590
|
|
|
23505
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
23591
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/metis.js
|
|
23506
23592
|
var metis = /* @__PURE__ */ defineChain({
|
|
23507
23593
|
id: 1088,
|
|
23508
23594
|
name: "Metis",
|
|
@@ -23541,7 +23627,7 @@ var metis = /* @__PURE__ */ defineChain({
|
|
|
23541
23627
|
}
|
|
23542
23628
|
});
|
|
23543
23629
|
|
|
23544
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
23630
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/mode.js
|
|
23545
23631
|
var sourceId7 = 1;
|
|
23546
23632
|
var mode = /* @__PURE__ */ defineChain({
|
|
23547
23633
|
...chainConfig2,
|
|
@@ -23584,7 +23670,7 @@ var mode = /* @__PURE__ */ defineChain({
|
|
|
23584
23670
|
sourceId: sourceId7
|
|
23585
23671
|
});
|
|
23586
23672
|
|
|
23587
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
23673
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/moonbeam.js
|
|
23588
23674
|
var moonbeam = /* @__PURE__ */ defineChain({
|
|
23589
23675
|
id: 1284,
|
|
23590
23676
|
name: "Moonbeam",
|
|
@@ -23615,7 +23701,7 @@ var moonbeam = /* @__PURE__ */ defineChain({
|
|
|
23615
23701
|
testnet: false
|
|
23616
23702
|
});
|
|
23617
23703
|
|
|
23618
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
23704
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/morph.js
|
|
23619
23705
|
var morph = /* @__PURE__ */ defineChain({
|
|
23620
23706
|
id: 2818,
|
|
23621
23707
|
name: "Morph",
|
|
@@ -23645,7 +23731,7 @@ var morph = /* @__PURE__ */ defineChain({
|
|
|
23645
23731
|
testnet: false
|
|
23646
23732
|
});
|
|
23647
23733
|
|
|
23648
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
23734
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/neonMainnet.js
|
|
23649
23735
|
var neonMainnet = /* @__PURE__ */ defineChain({
|
|
23650
23736
|
id: 245022934,
|
|
23651
23737
|
network: "neonMainnet",
|
|
@@ -23671,7 +23757,7 @@ var neonMainnet = /* @__PURE__ */ defineChain({
|
|
|
23671
23757
|
testnet: false
|
|
23672
23758
|
});
|
|
23673
23759
|
|
|
23674
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
23760
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/opBNB.js
|
|
23675
23761
|
var sourceId8 = 56;
|
|
23676
23762
|
var opBNB = /* @__PURE__ */ defineChain({
|
|
23677
23763
|
id: 204,
|
|
@@ -23716,7 +23802,7 @@ var opBNB = /* @__PURE__ */ defineChain({
|
|
|
23716
23802
|
sourceId: sourceId8
|
|
23717
23803
|
});
|
|
23718
23804
|
|
|
23719
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
23805
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/optimism.js
|
|
23720
23806
|
var sourceId9 = 1;
|
|
23721
23807
|
var optimism = /* @__PURE__ */ defineChain({
|
|
23722
23808
|
...chainConfig2,
|
|
@@ -23765,7 +23851,7 @@ var optimism = /* @__PURE__ */ defineChain({
|
|
|
23765
23851
|
sourceId: sourceId9
|
|
23766
23852
|
});
|
|
23767
23853
|
|
|
23768
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
23854
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/peaq.js
|
|
23769
23855
|
var peaq = /* @__PURE__ */ defineChain({
|
|
23770
23856
|
id: 3338,
|
|
23771
23857
|
name: "Peaq",
|
|
@@ -23802,7 +23888,7 @@ var peaq = /* @__PURE__ */ defineChain({
|
|
|
23802
23888
|
}
|
|
23803
23889
|
});
|
|
23804
23890
|
|
|
23805
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
23891
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/plume.js
|
|
23806
23892
|
var sourceId10 = 1;
|
|
23807
23893
|
var plume = /* @__PURE__ */ defineChain({
|
|
23808
23894
|
id: 98865,
|
|
@@ -23834,7 +23920,7 @@ var plume = /* @__PURE__ */ defineChain({
|
|
|
23834
23920
|
sourceId: sourceId10
|
|
23835
23921
|
});
|
|
23836
23922
|
|
|
23837
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
23923
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/polygon.js
|
|
23838
23924
|
var polygon = /* @__PURE__ */ defineChain({
|
|
23839
23925
|
id: 137,
|
|
23840
23926
|
name: "Polygon",
|
|
@@ -23860,7 +23946,7 @@ var polygon = /* @__PURE__ */ defineChain({
|
|
|
23860
23946
|
}
|
|
23861
23947
|
});
|
|
23862
23948
|
|
|
23863
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
23949
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/pulsechain.js
|
|
23864
23950
|
var pulsechain = /* @__PURE__ */ defineChain({
|
|
23865
23951
|
id: 369,
|
|
23866
23952
|
name: "PulseChain",
|
|
@@ -23891,7 +23977,7 @@ var pulsechain = /* @__PURE__ */ defineChain({
|
|
|
23891
23977
|
}
|
|
23892
23978
|
});
|
|
23893
23979
|
|
|
23894
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
23980
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/ronin.js
|
|
23895
23981
|
var ronin = /* @__PURE__ */ defineChain({
|
|
23896
23982
|
id: 2020,
|
|
23897
23983
|
name: "Ronin",
|
|
@@ -23915,7 +24001,7 @@ var ronin = /* @__PURE__ */ defineChain({
|
|
|
23915
24001
|
}
|
|
23916
24002
|
});
|
|
23917
24003
|
|
|
23918
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
24004
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/rootstock.js
|
|
23919
24005
|
var rootstock = /* @__PURE__ */ defineChain({
|
|
23920
24006
|
id: 30,
|
|
23921
24007
|
name: "Rootstock Mainnet",
|
|
@@ -23942,7 +24028,7 @@ var rootstock = /* @__PURE__ */ defineChain({
|
|
|
23942
24028
|
}
|
|
23943
24029
|
});
|
|
23944
24030
|
|
|
23945
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
24031
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/scroll.js
|
|
23946
24032
|
var scroll = /* @__PURE__ */ defineChain({
|
|
23947
24033
|
id: 534352,
|
|
23948
24034
|
name: "Scroll",
|
|
@@ -23970,7 +24056,7 @@ var scroll = /* @__PURE__ */ defineChain({
|
|
|
23970
24056
|
testnet: false
|
|
23971
24057
|
});
|
|
23972
24058
|
|
|
23973
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
24059
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/sei.js
|
|
23974
24060
|
var sei = /* @__PURE__ */ defineChain({
|
|
23975
24061
|
id: 1329,
|
|
23976
24062
|
name: "Sei Network",
|
|
@@ -23995,7 +24081,7 @@ var sei = /* @__PURE__ */ defineChain({
|
|
|
23995
24081
|
}
|
|
23996
24082
|
});
|
|
23997
24083
|
|
|
23998
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
24084
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/soneium.js
|
|
23999
24085
|
var sourceId11 = 1;
|
|
24000
24086
|
var soneium = /* @__PURE__ */ defineChain({
|
|
24001
24087
|
...chainConfig2,
|
|
@@ -24046,7 +24132,7 @@ var soneium = /* @__PURE__ */ defineChain({
|
|
|
24046
24132
|
sourceId: sourceId11
|
|
24047
24133
|
});
|
|
24048
24134
|
|
|
24049
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
24135
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/sonic.js
|
|
24050
24136
|
var sonic = /* @__PURE__ */ defineChain({
|
|
24051
24137
|
id: 146,
|
|
24052
24138
|
name: "Sonic",
|
|
@@ -24074,7 +24160,7 @@ var sonic = /* @__PURE__ */ defineChain({
|
|
|
24074
24160
|
testnet: false
|
|
24075
24161
|
});
|
|
24076
24162
|
|
|
24077
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
24163
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/story.js
|
|
24078
24164
|
var story = /* @__PURE__ */ defineChain({
|
|
24079
24165
|
id: 1514,
|
|
24080
24166
|
name: "Story",
|
|
@@ -24111,7 +24197,7 @@ var story = /* @__PURE__ */ defineChain({
|
|
|
24111
24197
|
testnet: false
|
|
24112
24198
|
});
|
|
24113
24199
|
|
|
24114
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
24200
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/superposition.js
|
|
24115
24201
|
var superposition = /* @__PURE__ */ defineChain({
|
|
24116
24202
|
id: 55244,
|
|
24117
24203
|
name: "Superposition",
|
|
@@ -24134,7 +24220,7 @@ var superposition = /* @__PURE__ */ defineChain({
|
|
|
24134
24220
|
testnet: false
|
|
24135
24221
|
});
|
|
24136
24222
|
|
|
24137
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
24223
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/taiko.js
|
|
24138
24224
|
var taiko = /* @__PURE__ */ defineChain({
|
|
24139
24225
|
id: 167e3,
|
|
24140
24226
|
name: "Taiko Mainnet",
|
|
@@ -24163,7 +24249,7 @@ var taiko = /* @__PURE__ */ defineChain({
|
|
|
24163
24249
|
}
|
|
24164
24250
|
});
|
|
24165
24251
|
|
|
24166
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
24252
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/taraxa.js
|
|
24167
24253
|
var taraxa = /* @__PURE__ */ defineChain({
|
|
24168
24254
|
id: 841,
|
|
24169
24255
|
name: "Taraxa Mainnet",
|
|
@@ -24181,7 +24267,7 @@ var taraxa = /* @__PURE__ */ defineChain({
|
|
|
24181
24267
|
}
|
|
24182
24268
|
});
|
|
24183
24269
|
|
|
24184
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
24270
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/telos.js
|
|
24185
24271
|
var telos = /* @__PURE__ */ defineChain({
|
|
24186
24272
|
id: 40,
|
|
24187
24273
|
name: "Telos",
|
|
@@ -24207,7 +24293,7 @@ var telos = /* @__PURE__ */ defineChain({
|
|
|
24207
24293
|
}
|
|
24208
24294
|
});
|
|
24209
24295
|
|
|
24210
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
24296
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/unichain.js
|
|
24211
24297
|
var sourceId12 = 1;
|
|
24212
24298
|
var unichain = /* @__PURE__ */ defineChain({
|
|
24213
24299
|
...chainConfig2,
|
|
@@ -24252,7 +24338,7 @@ var unichain = /* @__PURE__ */ defineChain({
|
|
|
24252
24338
|
sourceId: sourceId12
|
|
24253
24339
|
});
|
|
24254
24340
|
|
|
24255
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
24341
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/vana.js
|
|
24256
24342
|
var vana = /* @__PURE__ */ defineChain({
|
|
24257
24343
|
id: 1480,
|
|
24258
24344
|
name: "Vana",
|
|
@@ -24280,7 +24366,7 @@ var vana = /* @__PURE__ */ defineChain({
|
|
|
24280
24366
|
}
|
|
24281
24367
|
});
|
|
24282
24368
|
|
|
24283
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
24369
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/vanar.js
|
|
24284
24370
|
var vanar = /* @__PURE__ */ defineChain({
|
|
24285
24371
|
id: 2040,
|
|
24286
24372
|
name: "Vanar Mainnet",
|
|
@@ -24299,7 +24385,61 @@ var vanar = /* @__PURE__ */ defineChain({
|
|
|
24299
24385
|
testnet: false
|
|
24300
24386
|
});
|
|
24301
24387
|
|
|
24302
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
24388
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/worldchain.js
|
|
24389
|
+
var sourceId13 = 1;
|
|
24390
|
+
var worldchain = /* @__PURE__ */ defineChain({
|
|
24391
|
+
...chainConfig2,
|
|
24392
|
+
id: 480,
|
|
24393
|
+
name: "World Chain",
|
|
24394
|
+
network: "worldchain",
|
|
24395
|
+
nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
|
|
24396
|
+
rpcUrls: {
|
|
24397
|
+
default: { http: ["https://worldchain-mainnet.g.alchemy.com/public"] }
|
|
24398
|
+
},
|
|
24399
|
+
blockExplorers: {
|
|
24400
|
+
default: {
|
|
24401
|
+
name: "Worldscan",
|
|
24402
|
+
url: "https://worldscan.org",
|
|
24403
|
+
apiUrl: "https://api.worldscan.org/api"
|
|
24404
|
+
},
|
|
24405
|
+
blockscout: {
|
|
24406
|
+
name: "Blockscout",
|
|
24407
|
+
url: "https://worldchain-mainnet.explorer.alchemy.com",
|
|
24408
|
+
apiUrl: "https://worldchain-mainnet.explorer.alchemy.com/api"
|
|
24409
|
+
}
|
|
24410
|
+
},
|
|
24411
|
+
contracts: {
|
|
24412
|
+
...chainConfig2.contracts,
|
|
24413
|
+
multicall3: {
|
|
24414
|
+
address: "0xca11bde05977b3631167028862be2a173976ca11",
|
|
24415
|
+
blockCreated: 0
|
|
24416
|
+
},
|
|
24417
|
+
disputeGameFactory: {
|
|
24418
|
+
[sourceId13]: {
|
|
24419
|
+
address: "0x069c4c579671f8c120b1327a73217D01Ea2EC5ea"
|
|
24420
|
+
}
|
|
24421
|
+
},
|
|
24422
|
+
l2OutputOracle: {
|
|
24423
|
+
[sourceId13]: {
|
|
24424
|
+
address: "0x19A6d1E9034596196295CF148509796978343c5D"
|
|
24425
|
+
}
|
|
24426
|
+
},
|
|
24427
|
+
portal: {
|
|
24428
|
+
[sourceId13]: {
|
|
24429
|
+
address: "0xd5ec14a83B7d95BE1E2Ac12523e2dEE12Cbeea6C"
|
|
24430
|
+
}
|
|
24431
|
+
},
|
|
24432
|
+
l1StandardBridge: {
|
|
24433
|
+
[sourceId13]: {
|
|
24434
|
+
address: "0x470458C91978D2d929704489Ad730DC3E3001113"
|
|
24435
|
+
}
|
|
24436
|
+
}
|
|
24437
|
+
},
|
|
24438
|
+
testnet: false,
|
|
24439
|
+
sourceId: sourceId13
|
|
24440
|
+
});
|
|
24441
|
+
|
|
24442
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/xdc.js
|
|
24303
24443
|
var xdc = /* @__PURE__ */ defineChain({
|
|
24304
24444
|
id: 50,
|
|
24305
24445
|
name: "XDC Network",
|
|
@@ -24325,7 +24465,7 @@ var xdc = /* @__PURE__ */ defineChain({
|
|
|
24325
24465
|
}
|
|
24326
24466
|
});
|
|
24327
24467
|
|
|
24328
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
24468
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/xLayer.js
|
|
24329
24469
|
var xLayer = /* @__PURE__ */ defineChain({
|
|
24330
24470
|
id: 196,
|
|
24331
24471
|
name: "X Layer Mainnet",
|
|
@@ -24352,7 +24492,7 @@ var xLayer = /* @__PURE__ */ defineChain({
|
|
|
24352
24492
|
}
|
|
24353
24493
|
});
|
|
24354
24494
|
|
|
24355
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
24495
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/zetachain.js
|
|
24356
24496
|
var zetachain = /* @__PURE__ */ defineChain({
|
|
24357
24497
|
id: 7e3,
|
|
24358
24498
|
name: "ZetaChain",
|
|
@@ -24381,8 +24521,8 @@ var zetachain = /* @__PURE__ */ defineChain({
|
|
|
24381
24521
|
testnet: false
|
|
24382
24522
|
});
|
|
24383
24523
|
|
|
24384
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
24385
|
-
var
|
|
24524
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/zircuit.js
|
|
24525
|
+
var sourceId14 = 1;
|
|
24386
24526
|
var zircuit = /* @__PURE__ */ defineChain({
|
|
24387
24527
|
...chainConfig2,
|
|
24388
24528
|
id: 48900,
|
|
@@ -24413,17 +24553,17 @@ var zircuit = /* @__PURE__ */ defineChain({
|
|
|
24413
24553
|
address: "0xcA11bde05977b3631167028862bE2a173976CA11"
|
|
24414
24554
|
},
|
|
24415
24555
|
l2OutputOracle: {
|
|
24416
|
-
[
|
|
24556
|
+
[sourceId14]: {
|
|
24417
24557
|
address: "0x92Ef6Af472b39F1b363da45E35530c24619245A4"
|
|
24418
24558
|
}
|
|
24419
24559
|
},
|
|
24420
24560
|
portal: {
|
|
24421
|
-
[
|
|
24561
|
+
[sourceId14]: {
|
|
24422
24562
|
address: "0x17bfAfA932d2e23Bd9B909Fd5B4D2e2a27043fb1"
|
|
24423
24563
|
}
|
|
24424
24564
|
},
|
|
24425
24565
|
l1StandardBridge: {
|
|
24426
|
-
[
|
|
24566
|
+
[sourceId14]: {
|
|
24427
24567
|
address: "0x386B76D9cA5F5Fb150B6BFB35CF5379B22B26dd8"
|
|
24428
24568
|
}
|
|
24429
24569
|
}
|
|
@@ -24431,7 +24571,7 @@ var zircuit = /* @__PURE__ */ defineChain({
|
|
|
24431
24571
|
testnet: false
|
|
24432
24572
|
});
|
|
24433
24573
|
|
|
24434
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
24574
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/zkLinkNova.js
|
|
24435
24575
|
var zkLinkNova = /* @__PURE__ */ defineChain({
|
|
24436
24576
|
id: 810180,
|
|
24437
24577
|
name: "zkLink Nova",
|
|
@@ -24451,7 +24591,7 @@ var zkLinkNova = /* @__PURE__ */ defineChain({
|
|
|
24451
24591
|
}
|
|
24452
24592
|
});
|
|
24453
24593
|
|
|
24454
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
24594
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/zksync.js
|
|
24455
24595
|
var zksync = /* @__PURE__ */ defineChain({
|
|
24456
24596
|
...chainConfig,
|
|
24457
24597
|
blockTime: 200,
|
|
@@ -24478,7 +24618,8 @@ var zksync = /* @__PURE__ */ defineChain({
|
|
|
24478
24618
|
},
|
|
24479
24619
|
contracts: {
|
|
24480
24620
|
multicall3: {
|
|
24481
|
-
address: "0xF9cda624FBC7e059355ce98a31693d299FACd963"
|
|
24621
|
+
address: "0xF9cda624FBC7e059355ce98a31693d299FACd963",
|
|
24622
|
+
blockCreated: 3908235
|
|
24482
24623
|
},
|
|
24483
24624
|
erc6492Verifier: {
|
|
24484
24625
|
address: "0xfB688330379976DA81eB64Fe4BF50d7401763B9C",
|
|
@@ -24678,6 +24819,8 @@ function getEvmChain(chain) {
|
|
|
24678
24819
|
return customChains.hyperEvm;
|
|
24679
24820
|
case import_chain_registry.Chain.KATANA:
|
|
24680
24821
|
return katana;
|
|
24822
|
+
case import_chain_registry.Chain.CONFLUX_ESPACE:
|
|
24823
|
+
return confluxESpace;
|
|
24681
24824
|
case import_chain_registry.Chain.TARAXA_MAINNET:
|
|
24682
24825
|
return {
|
|
24683
24826
|
...taraxa,
|
|
@@ -24710,6 +24853,8 @@ function getEvmChain(chain) {
|
|
|
24710
24853
|
return plasma;
|
|
24711
24854
|
case import_chain_registry.Chain.MOONBEAM:
|
|
24712
24855
|
return moonbeam;
|
|
24856
|
+
case import_chain_registry.Chain.WORLD_CHAIN:
|
|
24857
|
+
return worldchain;
|
|
24713
24858
|
case import_chain_registry.Chain.MONAD_MAINNET:
|
|
24714
24859
|
return customChains.monadMainnet;
|
|
24715
24860
|
case import_chain_registry.Chain.ZKLINK_NOVA_MAINNET:
|
|
@@ -24729,6 +24874,14 @@ function getEvmChain(chain) {
|
|
|
24729
24874
|
|
|
24730
24875
|
// src/rpc/rpcOverrides.ts
|
|
24731
24876
|
var import_chain_registry2 = require("@1delta/chain-registry");
|
|
24877
|
+
function filterHttpRpcs(rpcs) {
|
|
24878
|
+
return Object.fromEntries(
|
|
24879
|
+
Object.entries(rpcs).map(([chain, urls]) => [
|
|
24880
|
+
chain,
|
|
24881
|
+
urls.filter((url) => !url.startsWith("wss://"))
|
|
24882
|
+
])
|
|
24883
|
+
);
|
|
24884
|
+
}
|
|
24732
24885
|
var LIST_OVERRIDES = {
|
|
24733
24886
|
[import_chain_registry2.Chain.BASE]: [
|
|
24734
24887
|
"https://base-rpc.publicnode.com",
|
|
@@ -24744,8 +24897,7 @@ var LIST_OVERRIDES = {
|
|
|
24744
24897
|
"https://api.zan.top/base-mainnet",
|
|
24745
24898
|
"https://endpoints.omniatech.io/v1/base/mainnet/public",
|
|
24746
24899
|
"https://base.lava.build",
|
|
24747
|
-
"https://0xrpc.io/base"
|
|
24748
|
-
"https://base.therpc.io"
|
|
24900
|
+
"https://0xrpc.io/base"
|
|
24749
24901
|
],
|
|
24750
24902
|
[import_chain_registry2.Chain.POLYGON_MAINNET]: [
|
|
24751
24903
|
"https://polygon-bor-rpc.publicnode.com",
|
|
@@ -24753,7 +24905,6 @@ var LIST_OVERRIDES = {
|
|
|
24753
24905
|
"https://polygon.drpc.org",
|
|
24754
24906
|
"https://gateway.tenderly.co/public/polygon",
|
|
24755
24907
|
"https://endpoints.omniatech.io/v1/matic/mainnet/public",
|
|
24756
|
-
"https://polygon.therpc.io",
|
|
24757
24908
|
"https://rpc-mainnet.matic.quiknode.pro",
|
|
24758
24909
|
"https://polygon-pokt.nodies.app",
|
|
24759
24910
|
"https://polygon.gateway.tenderly.co",
|
|
@@ -24808,14 +24959,12 @@ var LIST_OVERRIDES = {
|
|
|
24808
24959
|
"https://scroll.drpc.org",
|
|
24809
24960
|
"https://scroll.api.onfinality.io/public",
|
|
24810
24961
|
"https://endpoints.omniatech.io/v1/scroll/mainnet/public",
|
|
24811
|
-
"https://scroll-rpc.publicnode.com"
|
|
24812
|
-
"https://scroll.therpc.io"
|
|
24962
|
+
"https://scroll-rpc.publicnode.com"
|
|
24813
24963
|
],
|
|
24814
24964
|
[import_chain_registry2.Chain.SONIC_MAINNET]: [
|
|
24815
24965
|
"https://sonic.api.onfinality.io/public",
|
|
24816
24966
|
"https://sonic-rpc.publicnode.com",
|
|
24817
24967
|
"https://rpc.soniclabs.com",
|
|
24818
|
-
"https://sonic.therpc.io",
|
|
24819
24968
|
"https://sonic.drpc.org",
|
|
24820
24969
|
"https://sonic-json-rpc.stakely.io"
|
|
24821
24970
|
],
|
|
@@ -24877,8 +25026,7 @@ var LIST_OVERRIDES = {
|
|
|
24877
25026
|
"https://arbitrum.public.blockpi.network/v1/rpc/public",
|
|
24878
25027
|
"https://1rpc.io/arb",
|
|
24879
25028
|
"https://arbitrum.api.onfinality.io/public",
|
|
24880
|
-
"https://0xrpc.io/arb"
|
|
24881
|
-
"https://arbitrum.therpc.io"
|
|
25029
|
+
"https://0xrpc.io/arb"
|
|
24882
25030
|
],
|
|
24883
25031
|
[import_chain_registry2.Chain.LINEA]: [
|
|
24884
25032
|
"https://rpc.linea.build",
|
|
@@ -25109,6 +25257,10 @@ function getEvmClientWithCustomRpcsUniversal({
|
|
|
25109
25257
|
}
|
|
25110
25258
|
|
|
25111
25259
|
// src/multicall/multicall.ts
|
|
25260
|
+
function isTransportError(e) {
|
|
25261
|
+
const msg = e instanceof Error ? (e.message ?? "") + (e.details ?? "") : "";
|
|
25262
|
+
return msg.includes("is not a constructor") || msg.includes("Dynamic require") || msg.includes("is not supported");
|
|
25263
|
+
}
|
|
25112
25264
|
function isContractRevert(e) {
|
|
25113
25265
|
if (!(e instanceof BaseError2)) return false;
|
|
25114
25266
|
let err = e;
|
|
@@ -25122,7 +25274,7 @@ function isContractRevert(e) {
|
|
|
25122
25274
|
return false;
|
|
25123
25275
|
}
|
|
25124
25276
|
function createMulticallRetry(customRpcs = LIST_OVERRIDES) {
|
|
25125
|
-
return async function multicallRetry2(chain, calls, abi2, batchSize = DEFAULT_BATCH_SIZE, maxRetries = 3, providerId = 0, allowFailure = true, logErrors = false, revertedIndices = /* @__PURE__ */ new Set()) {
|
|
25277
|
+
return async function multicallRetry2(chain, calls, abi2, batchSize = DEFAULT_BATCH_SIZE, maxRetries = 3, providerId = 0, allowFailure = true, logErrors = false, revertedIndices = /* @__PURE__ */ new Set(), maxSkips = 3) {
|
|
25126
25278
|
const abiIsArray = isArray(abi2[0]);
|
|
25127
25279
|
try {
|
|
25128
25280
|
const nonRevertedIndices = calls.map((_, i) => i).filter((i) => !revertedIndices.has(i));
|
|
@@ -25141,8 +25293,11 @@ function createMulticallRetry(customRpcs = LIST_OVERRIDES) {
|
|
|
25141
25293
|
functionName: call2.name,
|
|
25142
25294
|
args: call2.args ?? call2.params ?? []
|
|
25143
25295
|
})),
|
|
25144
|
-
allowFailure
|
|
25296
|
+
allowFailure
|
|
25145
25297
|
});
|
|
25298
|
+
const resolvedData = allowFailure ? data.map(
|
|
25299
|
+
({ result, status }) => status !== "success" ? "0x" : result
|
|
25300
|
+
) : data;
|
|
25146
25301
|
if (revertedIndices.size > 0) {
|
|
25147
25302
|
const finalResults = [];
|
|
25148
25303
|
let filteredIndex = 0;
|
|
@@ -25150,12 +25305,12 @@ function createMulticallRetry(customRpcs = LIST_OVERRIDES) {
|
|
|
25150
25305
|
if (revertedIndices.has(i)) {
|
|
25151
25306
|
finalResults.push("0x");
|
|
25152
25307
|
} else {
|
|
25153
|
-
finalResults.push(
|
|
25308
|
+
finalResults.push(resolvedData[filteredIndex++]);
|
|
25154
25309
|
}
|
|
25155
25310
|
}
|
|
25156
25311
|
return finalResults;
|
|
25157
25312
|
}
|
|
25158
|
-
return
|
|
25313
|
+
return resolvedData;
|
|
25159
25314
|
} catch (e) {
|
|
25160
25315
|
if (isContractRevert(e)) {
|
|
25161
25316
|
const error = e;
|
|
@@ -25196,6 +25351,21 @@ function createMulticallRetry(customRpcs = LIST_OVERRIDES) {
|
|
|
25196
25351
|
);
|
|
25197
25352
|
}
|
|
25198
25353
|
}
|
|
25354
|
+
if (isTransportError(e) && maxSkips > 0) {
|
|
25355
|
+
if (logErrors) console.debug(e);
|
|
25356
|
+
return await multicallRetry2(
|
|
25357
|
+
chain,
|
|
25358
|
+
calls,
|
|
25359
|
+
abi2,
|
|
25360
|
+
batchSize,
|
|
25361
|
+
maxRetries,
|
|
25362
|
+
providerId + 1,
|
|
25363
|
+
allowFailure,
|
|
25364
|
+
logErrors,
|
|
25365
|
+
revertedIndices,
|
|
25366
|
+
maxSkips - 1
|
|
25367
|
+
);
|
|
25368
|
+
}
|
|
25199
25369
|
if (maxRetries === 0) {
|
|
25200
25370
|
if (!allowFailure) throw e;
|
|
25201
25371
|
if (logErrors) console.debug(e);
|
|
@@ -25211,7 +25381,8 @@ function createMulticallRetry(customRpcs = LIST_OVERRIDES) {
|
|
|
25211
25381
|
providerId + 1,
|
|
25212
25382
|
allowFailure,
|
|
25213
25383
|
logErrors,
|
|
25214
|
-
revertedIndices
|
|
25384
|
+
revertedIndices,
|
|
25385
|
+
maxSkips
|
|
25215
25386
|
);
|
|
25216
25387
|
}
|
|
25217
25388
|
};
|
|
@@ -25273,6 +25444,7 @@ async function multicallRetryUniversal({
|
|
|
25273
25444
|
createTransport,
|
|
25274
25445
|
customChains,
|
|
25275
25446
|
deepCompare,
|
|
25447
|
+
filterHttpRpcs,
|
|
25276
25448
|
getEvmChain,
|
|
25277
25449
|
getEvmClient,
|
|
25278
25450
|
getEvmClientUniversal,
|