@latticexyz/world-module-erc20 2.2.22-ea62e9b2384e58dac465f984c78f35117f36600d → 2.2.22-f06e8f25dd013c43d943e71a401fa4aeefd399fa
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-2WG2FVCT.js → ccip-POWS7KFG.js} +2 -2
- package/dist/{chunk-72CUSHOS.js → chunk-5LBWQX65.js} +78 -78
- package/dist/{chunk-72CUSHOS.js.map → chunk-5LBWQX65.js.map} +1 -1
- package/dist/internal.js +1 -1
- package/package.json +8 -8
- /package/dist/{ccip-2WG2FVCT.js.map → ccip-POWS7KFG.js.map} +0 -0
|
@@ -938,14 +938,14 @@ function toRpc2(blockOverrides) {
|
|
|
938
938
|
};
|
|
939
939
|
}
|
|
940
940
|
|
|
941
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
941
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/accounts/utils/parseAccount.js
|
|
942
942
|
function parseAccount(account) {
|
|
943
943
|
if (typeof account === "string")
|
|
944
944
|
return { address: account, type: "json-rpc" };
|
|
945
945
|
return account;
|
|
946
946
|
}
|
|
947
947
|
|
|
948
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
948
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/constants/abis.js
|
|
949
949
|
var multicall3Abi = [
|
|
950
950
|
{
|
|
951
951
|
inputs: [
|
|
@@ -1148,17 +1148,17 @@ var universalResolverReverseAbi = [
|
|
|
1148
1148
|
}
|
|
1149
1149
|
];
|
|
1150
1150
|
|
|
1151
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
1151
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/constants/contract.js
|
|
1152
1152
|
var aggregate3Signature = "0x82ad56cb";
|
|
1153
1153
|
|
|
1154
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
1154
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/constants/contracts.js
|
|
1155
1155
|
var deploylessCallViaBytecodeBytecode = "0x608060405234801561001057600080fd5b5060405161018e38038061018e83398101604081905261002f91610124565b6000808351602085016000f59050803b61004857600080fd5b6000808351602085016000855af16040513d6000823e81610067573d81fd5b3d81f35b634e487b7160e01b600052604160045260246000fd5b600082601f83011261009257600080fd5b81516001600160401b038111156100ab576100ab61006b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156100d9576100d961006b565b6040528181528382016020018510156100f157600080fd5b60005b82811015610110576020818601810151838301820152016100f4565b506000918101602001919091529392505050565b6000806040838503121561013757600080fd5b82516001600160401b0381111561014d57600080fd5b61015985828601610081565b602085015190935090506001600160401b0381111561017757600080fd5b61018385828601610081565b915050925092905056fe";
|
|
1156
1156
|
var deploylessCallViaFactoryBytecode = "0x608060405234801561001057600080fd5b506040516102c03803806102c083398101604081905261002f916101e6565b836001600160a01b03163b6000036100e457600080836001600160a01b03168360405161005c9190610270565b6000604051808303816000865af19150503d8060008114610099576040519150601f19603f3d011682016040523d82523d6000602084013e61009e565b606091505b50915091508115806100b857506001600160a01b0386163b155b156100e1578060405163101bb98d60e01b81526004016100d8919061028c565b60405180910390fd5b50505b6000808451602086016000885af16040513d6000823e81610103573d81fd5b3d81f35b80516001600160a01b038116811461011e57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561015457818101518382015260200161013c565b50506000910152565b600082601f83011261016e57600080fd5b81516001600160401b0381111561018757610187610123565b604051601f8201601f19908116603f011681016001600160401b03811182821017156101b5576101b5610123565b6040528181528382016020018510156101cd57600080fd5b6101de826020830160208701610139565b949350505050565b600080600080608085870312156101fc57600080fd5b61020585610107565b60208601519094506001600160401b0381111561022157600080fd5b61022d8782880161015d565b93505061023c60408601610107565b60608601519092506001600160401b0381111561025857600080fd5b6102648782880161015d565b91505092959194509250565b60008251610282818460208701610139565b9190910192915050565b60208152600082518060208401526102ab816040850160208701610139565b601f01601f1916919091016040019291505056fe";
|
|
1157
1157
|
|
|
1158
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
1159
|
-
var version3 = "2.30.
|
|
1158
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/version.js
|
|
1159
|
+
var version3 = "2.30.6";
|
|
1160
1160
|
|
|
1161
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
1161
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/base.js
|
|
1162
1162
|
var errorConfig = {
|
|
1163
1163
|
getDocsUrl: ({ docsBaseUrl, docsPath: docsPath6 = "", docsSlug }) => docsPath6 ? `${docsBaseUrl ?? "https://viem.sh"}${docsPath6}${docsSlug ? `#${docsSlug}` : ""}` : void 0,
|
|
1164
1164
|
version: `viem@${version3}`
|
|
@@ -1242,7 +1242,7 @@ function walk2(err, fn) {
|
|
|
1242
1242
|
return fn ? null : err;
|
|
1243
1243
|
}
|
|
1244
1244
|
|
|
1245
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
1245
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/chain.js
|
|
1246
1246
|
var ChainDoesNotSupportContract = class extends BaseError3 {
|
|
1247
1247
|
constructor({ blockNumber, chain, contract }) {
|
|
1248
1248
|
super(`Chain "${chain.name}" does not support contract "${contract.name}".`, {
|
|
@@ -1266,7 +1266,7 @@ var ClientChainNotConfiguredError = class extends BaseError3 {
|
|
|
1266
1266
|
}
|
|
1267
1267
|
};
|
|
1268
1268
|
|
|
1269
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
1269
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/constants/solidity.js
|
|
1270
1270
|
var solidityError = {
|
|
1271
1271
|
inputs: [
|
|
1272
1272
|
{
|
|
@@ -1288,7 +1288,7 @@ var solidityPanic = {
|
|
|
1288
1288
|
type: "error"
|
|
1289
1289
|
};
|
|
1290
1290
|
|
|
1291
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
1291
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/abi/formatAbiItem.js
|
|
1292
1292
|
function formatAbiItem2(abiItem, { includeName = false } = {}) {
|
|
1293
1293
|
if (abiItem.type !== "function" && abiItem.type !== "event" && abiItem.type !== "error")
|
|
1294
1294
|
throw new InvalidDefinitionTypeError(abiItem.type);
|
|
@@ -1306,7 +1306,7 @@ function formatAbiParam(param, { includeName }) {
|
|
|
1306
1306
|
return param.type + (includeName && param.name ? ` ${param.name}` : "");
|
|
1307
1307
|
}
|
|
1308
1308
|
|
|
1309
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
1309
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/data/isHex.js
|
|
1310
1310
|
function isHex(value, { strict = true } = {}) {
|
|
1311
1311
|
if (!value)
|
|
1312
1312
|
return false;
|
|
@@ -1315,14 +1315,14 @@ function isHex(value, { strict = true } = {}) {
|
|
|
1315
1315
|
return strict ? /^0x[0-9a-fA-F]*$/.test(value) : value.startsWith("0x");
|
|
1316
1316
|
}
|
|
1317
1317
|
|
|
1318
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
1318
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/data/size.js
|
|
1319
1319
|
function size2(value) {
|
|
1320
1320
|
if (isHex(value, { strict: false }))
|
|
1321
1321
|
return Math.ceil((value.length - 2) / 2);
|
|
1322
1322
|
return value.length;
|
|
1323
1323
|
}
|
|
1324
1324
|
|
|
1325
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
1325
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/abi.js
|
|
1326
1326
|
var AbiConstructorNotFoundError = class extends BaseError3 {
|
|
1327
1327
|
constructor({ docsPath: docsPath6 }) {
|
|
1328
1328
|
super([
|
|
@@ -1530,7 +1530,7 @@ var InvalidDefinitionTypeError = class extends BaseError3 {
|
|
|
1530
1530
|
}
|
|
1531
1531
|
};
|
|
1532
1532
|
|
|
1533
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
1533
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/data.js
|
|
1534
1534
|
var SliceOffsetOutOfBoundsError2 = class extends BaseError3 {
|
|
1535
1535
|
constructor({ offset, position, size: size3 }) {
|
|
1536
1536
|
super(`Slice ${position === "start" ? "starting" : "ending"} at offset "${offset}" is out-of-bounds (size: ${size3}).`, { name: "SliceOffsetOutOfBoundsError" });
|
|
@@ -1547,7 +1547,7 @@ var InvalidBytesLengthError = class extends BaseError3 {
|
|
|
1547
1547
|
}
|
|
1548
1548
|
};
|
|
1549
1549
|
|
|
1550
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
1550
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/data/slice.js
|
|
1551
1551
|
function slice(value, start, end, { strict } = {}) {
|
|
1552
1552
|
if (isHex(value, { strict: false }))
|
|
1553
1553
|
return sliceHex(value, start, end, {
|
|
@@ -1589,7 +1589,7 @@ function sliceHex(value_, start, end, { strict } = {}) {
|
|
|
1589
1589
|
return value;
|
|
1590
1590
|
}
|
|
1591
1591
|
|
|
1592
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
1592
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/data/pad.js
|
|
1593
1593
|
function pad2(hexOrBytes, { dir, size: size3 = 32 } = {}) {
|
|
1594
1594
|
if (typeof hexOrBytes === "string")
|
|
1595
1595
|
return padHex(hexOrBytes, { dir, size: size3 });
|
|
@@ -1624,7 +1624,7 @@ function padBytes(bytes, { dir, size: size3 = 32 } = {}) {
|
|
|
1624
1624
|
return paddedBytes;
|
|
1625
1625
|
}
|
|
1626
1626
|
|
|
1627
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
1627
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/encoding.js
|
|
1628
1628
|
var IntegerOutOfRangeError2 = class extends BaseError3 {
|
|
1629
1629
|
constructor({ max, min, signed, size: size3, value }) {
|
|
1630
1630
|
super(`Number "${value}" is not in safe ${size3 ? `${size3 * 8}-bit ${signed ? "signed" : "unsigned"} ` : ""}integer range ${max ? `(${min} to ${max})` : `(above ${min})`}`, { name: "IntegerOutOfRangeError" });
|
|
@@ -1643,7 +1643,7 @@ var SizeOverflowError2 = class extends BaseError3 {
|
|
|
1643
1643
|
}
|
|
1644
1644
|
};
|
|
1645
1645
|
|
|
1646
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
1646
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/data/trim.js
|
|
1647
1647
|
function trim2(hexOrBytes, { dir = "left" } = {}) {
|
|
1648
1648
|
let data = typeof hexOrBytes === "string" ? hexOrBytes.replace("0x", "") : hexOrBytes;
|
|
1649
1649
|
let sliceLength = 0;
|
|
@@ -1662,7 +1662,7 @@ function trim2(hexOrBytes, { dir = "left" } = {}) {
|
|
|
1662
1662
|
return data;
|
|
1663
1663
|
}
|
|
1664
1664
|
|
|
1665
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
1665
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/encoding/fromHex.js
|
|
1666
1666
|
function assertSize2(hexOrBytes, { size: size3 }) {
|
|
1667
1667
|
if (size2(hexOrBytes) > size3)
|
|
1668
1668
|
throw new SizeOverflowError2({
|
|
@@ -1687,7 +1687,7 @@ function hexToNumber(hex, opts = {}) {
|
|
|
1687
1687
|
return Number(hexToBigInt(hex, opts));
|
|
1688
1688
|
}
|
|
1689
1689
|
|
|
1690
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
1690
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/encoding/toHex.js
|
|
1691
1691
|
var hexes = /* @__PURE__ */ Array.from({ length: 256 }, (_v, i) => i.toString(16).padStart(2, "0"));
|
|
1692
1692
|
function toHex(value, opts = {}) {
|
|
1693
1693
|
if (typeof value === "number" || typeof value === "bigint")
|
|
@@ -1753,7 +1753,7 @@ function stringToHex(value_, opts = {}) {
|
|
|
1753
1753
|
return bytesToHex(value, opts);
|
|
1754
1754
|
}
|
|
1755
1755
|
|
|
1756
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
1756
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/encoding/toBytes.js
|
|
1757
1757
|
var encoder2 = /* @__PURE__ */ new TextEncoder();
|
|
1758
1758
|
function toBytes2(value, opts = {}) {
|
|
1759
1759
|
if (typeof value === "number" || typeof value === "bigint")
|
|
@@ -2005,7 +2005,7 @@ var Keccak = class _Keccak extends Hash {
|
|
|
2005
2005
|
var gen = (suffix, blockLen, outputLen) => createHasher(() => new Keccak(blockLen, suffix, outputLen));
|
|
2006
2006
|
var keccak_256 = /* @__PURE__ */ (() => gen(1, 136, 256 / 8))();
|
|
2007
2007
|
|
|
2008
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
2008
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/hash/keccak256.js
|
|
2009
2009
|
function keccak256(value, to_) {
|
|
2010
2010
|
const to = to_ || "hex";
|
|
2011
2011
|
const bytes = keccak_256(isHex(value, { strict: false }) ? toBytes2(value) : value);
|
|
@@ -2014,13 +2014,13 @@ function keccak256(value, to_) {
|
|
|
2014
2014
|
return toHex(bytes);
|
|
2015
2015
|
}
|
|
2016
2016
|
|
|
2017
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
2017
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/hash/hashSignature.js
|
|
2018
2018
|
var hash = (value) => keccak256(toBytes2(value));
|
|
2019
2019
|
function hashSignature(sig) {
|
|
2020
2020
|
return hash(sig);
|
|
2021
2021
|
}
|
|
2022
2022
|
|
|
2023
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
2023
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/hash/normalizeSignature.js
|
|
2024
2024
|
function normalizeSignature(signature) {
|
|
2025
2025
|
let active = true;
|
|
2026
2026
|
let current = "";
|
|
@@ -2064,7 +2064,7 @@ function normalizeSignature(signature) {
|
|
|
2064
2064
|
return result;
|
|
2065
2065
|
}
|
|
2066
2066
|
|
|
2067
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
2067
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/hash/toSignature.js
|
|
2068
2068
|
var toSignature = (def) => {
|
|
2069
2069
|
const def_ = (() => {
|
|
2070
2070
|
if (typeof def === "string")
|
|
@@ -2074,15 +2074,15 @@ var toSignature = (def) => {
|
|
|
2074
2074
|
return normalizeSignature(def_);
|
|
2075
2075
|
};
|
|
2076
2076
|
|
|
2077
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
2077
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/hash/toSignatureHash.js
|
|
2078
2078
|
function toSignatureHash(fn) {
|
|
2079
2079
|
return hashSignature(toSignature(fn));
|
|
2080
2080
|
}
|
|
2081
2081
|
|
|
2082
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
2082
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/hash/toFunctionSelector.js
|
|
2083
2083
|
var toFunctionSelector = (fn) => slice(toSignatureHash(fn), 0, 4);
|
|
2084
2084
|
|
|
2085
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
2085
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/address.js
|
|
2086
2086
|
var InvalidAddressError = class extends BaseError3 {
|
|
2087
2087
|
constructor({ address }) {
|
|
2088
2088
|
super(`Address "${address}" is invalid.`, {
|
|
@@ -2095,7 +2095,7 @@ var InvalidAddressError = class extends BaseError3 {
|
|
|
2095
2095
|
}
|
|
2096
2096
|
};
|
|
2097
2097
|
|
|
2098
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
2098
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/lru.js
|
|
2099
2099
|
var LruMap = class extends Map {
|
|
2100
2100
|
constructor(size3) {
|
|
2101
2101
|
super();
|
|
@@ -2126,7 +2126,7 @@ var LruMap = class extends Map {
|
|
|
2126
2126
|
}
|
|
2127
2127
|
};
|
|
2128
2128
|
|
|
2129
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
2129
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/address/isAddress.js
|
|
2130
2130
|
var addressRegex = /^0x[a-fA-F0-9]{40}$/;
|
|
2131
2131
|
var isAddressCache = /* @__PURE__ */ new LruMap(8192);
|
|
2132
2132
|
function isAddress(address, options) {
|
|
@@ -2147,7 +2147,7 @@ function isAddress(address, options) {
|
|
|
2147
2147
|
return result;
|
|
2148
2148
|
}
|
|
2149
2149
|
|
|
2150
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
2150
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/address/getAddress.js
|
|
2151
2151
|
var checksumAddressCache = /* @__PURE__ */ new LruMap(8192);
|
|
2152
2152
|
function checksumAddress(address_, chainId) {
|
|
2153
2153
|
if (checksumAddressCache.has(`${address_}.${chainId}`))
|
|
@@ -2168,7 +2168,7 @@ function checksumAddress(address_, chainId) {
|
|
|
2168
2168
|
return result;
|
|
2169
2169
|
}
|
|
2170
2170
|
|
|
2171
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
2171
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/cursor.js
|
|
2172
2172
|
var NegativeOffsetError = class extends BaseError3 {
|
|
2173
2173
|
constructor({ offset }) {
|
|
2174
2174
|
super(`Offset \`${offset}\` cannot be negative.`, {
|
|
@@ -2187,7 +2187,7 @@ var RecursiveReadLimitExceededError = class extends BaseError3 {
|
|
|
2187
2187
|
}
|
|
2188
2188
|
};
|
|
2189
2189
|
|
|
2190
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
2190
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/cursor.js
|
|
2191
2191
|
var staticCursor = {
|
|
2192
2192
|
bytes: new Uint8Array(),
|
|
2193
2193
|
dataView: new DataView(new ArrayBuffer(0)),
|
|
@@ -2356,7 +2356,7 @@ function createCursor(bytes, { recursiveReadLimit = 8192 } = {}) {
|
|
|
2356
2356
|
return cursor;
|
|
2357
2357
|
}
|
|
2358
2358
|
|
|
2359
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
2359
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/encoding/fromBytes.js
|
|
2360
2360
|
function bytesToBigInt(bytes, opts = {}) {
|
|
2361
2361
|
if (typeof opts.size !== "undefined")
|
|
2362
2362
|
assertSize2(bytes, { size: opts.size });
|
|
@@ -2388,7 +2388,7 @@ function bytesToString(bytes_, opts = {}) {
|
|
|
2388
2388
|
return new TextDecoder().decode(bytes);
|
|
2389
2389
|
}
|
|
2390
2390
|
|
|
2391
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
2391
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/data/concat.js
|
|
2392
2392
|
function concat(values) {
|
|
2393
2393
|
if (typeof values[0] === "string")
|
|
2394
2394
|
return concatHex(values);
|
|
@@ -2411,10 +2411,10 @@ function concatHex(values) {
|
|
|
2411
2411
|
return `0x${values.reduce((acc, x) => acc + x.replace("0x", ""), "")}`;
|
|
2412
2412
|
}
|
|
2413
2413
|
|
|
2414
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
2414
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/regex.js
|
|
2415
2415
|
var 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)?$/;
|
|
2416
2416
|
|
|
2417
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
2417
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/abi/encodeAbiParameters.js
|
|
2418
2418
|
function encodeAbiParameters(params, values) {
|
|
2419
2419
|
if (params.length !== values.length)
|
|
2420
2420
|
throw new AbiEncodingLengthMismatchError({
|
|
@@ -2628,7 +2628,7 @@ function getArrayComponents(type) {
|
|
|
2628
2628
|
) : void 0;
|
|
2629
2629
|
}
|
|
2630
2630
|
|
|
2631
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
2631
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/abi/decodeAbiParameters.js
|
|
2632
2632
|
function decodeAbiParameters(params, data) {
|
|
2633
2633
|
const bytes = typeof data === "string" ? hexToBytes(data) : data;
|
|
2634
2634
|
const cursor = createCursor(bytes);
|
|
@@ -2815,7 +2815,7 @@ function hasDynamicChild(param) {
|
|
|
2815
2815
|
return false;
|
|
2816
2816
|
}
|
|
2817
2817
|
|
|
2818
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
2818
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/abi/decodeErrorResult.js
|
|
2819
2819
|
function decodeErrorResult(parameters) {
|
|
2820
2820
|
const { abi, data } = parameters;
|
|
2821
2821
|
const signature = slice(data, 0, 4);
|
|
@@ -2834,16 +2834,16 @@ function decodeErrorResult(parameters) {
|
|
|
2834
2834
|
};
|
|
2835
2835
|
}
|
|
2836
2836
|
|
|
2837
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
2837
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/stringify.js
|
|
2838
2838
|
var stringify = (value, replacer, space) => JSON.stringify(value, (key, value_) => {
|
|
2839
2839
|
const value2 = typeof value_ === "bigint" ? value_.toString() : value_;
|
|
2840
2840
|
return typeof replacer === "function" ? replacer(key, value2) : value2;
|
|
2841
2841
|
}, space);
|
|
2842
2842
|
|
|
2843
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
2843
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/hash/toEventSelector.js
|
|
2844
2844
|
var toEventSelector = toSignatureHash;
|
|
2845
2845
|
|
|
2846
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
2846
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/abi/getAbiItem.js
|
|
2847
2847
|
function getAbiItem(parameters) {
|
|
2848
2848
|
const { abi, args = [], name } = parameters;
|
|
2849
2849
|
const isSelector = isHex(name, { strict: false });
|
|
@@ -2955,7 +2955,7 @@ function getAmbiguousTypes(sourceParameters, targetParameters, args) {
|
|
|
2955
2955
|
return;
|
|
2956
2956
|
}
|
|
2957
2957
|
|
|
2958
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
2958
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/constants/unit.js
|
|
2959
2959
|
var etherUnits = {
|
|
2960
2960
|
gwei: 9,
|
|
2961
2961
|
wei: 18
|
|
@@ -2965,7 +2965,7 @@ var gweiUnits = {
|
|
|
2965
2965
|
wei: 9
|
|
2966
2966
|
};
|
|
2967
2967
|
|
|
2968
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
2968
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/unit/formatUnits.js
|
|
2969
2969
|
function formatUnits(value, decimals) {
|
|
2970
2970
|
let display = value.toString();
|
|
2971
2971
|
const negative = display.startsWith("-");
|
|
@@ -2980,17 +2980,17 @@ function formatUnits(value, decimals) {
|
|
|
2980
2980
|
return `${negative ? "-" : ""}${integer || "0"}${fraction ? `.${fraction}` : ""}`;
|
|
2981
2981
|
}
|
|
2982
2982
|
|
|
2983
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
2983
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/unit/formatEther.js
|
|
2984
2984
|
function formatEther(wei, unit = "wei") {
|
|
2985
2985
|
return formatUnits(wei, etherUnits[unit]);
|
|
2986
2986
|
}
|
|
2987
2987
|
|
|
2988
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
2988
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/unit/formatGwei.js
|
|
2989
2989
|
function formatGwei(wei, unit = "wei") {
|
|
2990
2990
|
return formatUnits(wei, gweiUnits[unit]);
|
|
2991
2991
|
}
|
|
2992
2992
|
|
|
2993
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
2993
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/stateOverride.js
|
|
2994
2994
|
var AccountStateConflictError = class extends BaseError3 {
|
|
2995
2995
|
constructor({ address }) {
|
|
2996
2996
|
super(`State for account "${address}" is set multiple times.`, {
|
|
@@ -3036,7 +3036,7 @@ function prettyStateOverride(stateOverride) {
|
|
|
3036
3036
|
}, " State Override:\n").slice(0, -1);
|
|
3037
3037
|
}
|
|
3038
3038
|
|
|
3039
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
3039
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/transaction.js
|
|
3040
3040
|
function prettyPrint(args) {
|
|
3041
3041
|
const entries = Object.entries(args).map(([key, value]) => {
|
|
3042
3042
|
if (value === void 0 || value === false)
|
|
@@ -3055,10 +3055,10 @@ var FeeConflictError = class extends BaseError3 {
|
|
|
3055
3055
|
}
|
|
3056
3056
|
};
|
|
3057
3057
|
|
|
3058
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
3058
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/utils.js
|
|
3059
3059
|
var getUrl = (url) => url;
|
|
3060
3060
|
|
|
3061
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
3061
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/contract.js
|
|
3062
3062
|
var CallExecutionError = class extends BaseError3 {
|
|
3063
3063
|
constructor(cause, { account: account_, docsPath: docsPath6, chain, data, gas, gasPrice, maxFeePerGas, maxPriorityFeePerGas, nonce, to, value, stateOverride }) {
|
|
3064
3064
|
const account = account_ ? parseAccount(account_) : void 0;
|
|
@@ -3127,7 +3127,7 @@ var RawContractError = class extends BaseError3 {
|
|
|
3127
3127
|
}
|
|
3128
3128
|
};
|
|
3129
3129
|
|
|
3130
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
3130
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/abi/decodeFunctionResult.js
|
|
3131
3131
|
var docsPath = "/docs/contract/decodeFunctionResult";
|
|
3132
3132
|
function decodeFunctionResult(parameters) {
|
|
3133
3133
|
const { abi, args, functionName, data } = parameters;
|
|
@@ -3150,7 +3150,7 @@ function decodeFunctionResult(parameters) {
|
|
|
3150
3150
|
return void 0;
|
|
3151
3151
|
}
|
|
3152
3152
|
|
|
3153
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
3153
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/abi/encodeDeployData.js
|
|
3154
3154
|
var docsPath2 = "/docs/contract/encodeDeployData";
|
|
3155
3155
|
function encodeDeployData(parameters) {
|
|
3156
3156
|
const { abi, args, bytecode } = parameters;
|
|
@@ -3167,7 +3167,7 @@ function encodeDeployData(parameters) {
|
|
|
3167
3167
|
return concatHex([bytecode, data]);
|
|
3168
3168
|
}
|
|
3169
3169
|
|
|
3170
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
3170
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/abi/prepareEncodeFunctionData.js
|
|
3171
3171
|
var docsPath3 = "/docs/contract/encodeFunctionData";
|
|
3172
3172
|
function prepareEncodeFunctionData(parameters) {
|
|
3173
3173
|
const { abi, args, functionName } = parameters;
|
|
@@ -3190,7 +3190,7 @@ function prepareEncodeFunctionData(parameters) {
|
|
|
3190
3190
|
};
|
|
3191
3191
|
}
|
|
3192
3192
|
|
|
3193
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
3193
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/abi/encodeFunctionData.js
|
|
3194
3194
|
function encodeFunctionData(parameters) {
|
|
3195
3195
|
const { args } = parameters;
|
|
3196
3196
|
const { abi, functionName } = (() => {
|
|
@@ -3204,7 +3204,7 @@ function encodeFunctionData(parameters) {
|
|
|
3204
3204
|
return concatHex([signature, data ?? "0x"]);
|
|
3205
3205
|
}
|
|
3206
3206
|
|
|
3207
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
3207
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/chain/getChainContractAddress.js
|
|
3208
3208
|
function getChainContractAddress({ blockNumber, chain, contract: name }) {
|
|
3209
3209
|
const contract = chain?.contracts?.[name];
|
|
3210
3210
|
if (!contract)
|
|
@@ -3224,7 +3224,7 @@ function getChainContractAddress({ blockNumber, chain, contract: name }) {
|
|
|
3224
3224
|
return contract.address;
|
|
3225
3225
|
}
|
|
3226
3226
|
|
|
3227
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
3227
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/node.js
|
|
3228
3228
|
var ExecutionRevertedError = class extends BaseError3 {
|
|
3229
3229
|
constructor({ cause, message } = {}) {
|
|
3230
3230
|
const reason = message?.replace("execution reverted: ", "")?.replace("execution reverted", "");
|
|
@@ -3403,7 +3403,7 @@ var UnknownNodeError = class extends BaseError3 {
|
|
|
3403
3403
|
}
|
|
3404
3404
|
};
|
|
3405
3405
|
|
|
3406
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
3406
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/request.js
|
|
3407
3407
|
var HttpRequestError = class extends BaseError3 {
|
|
3408
3408
|
constructor({ body, cause, details, headers, status, url }) {
|
|
3409
3409
|
super("HTTP request failed.", {
|
|
@@ -3447,7 +3447,7 @@ var HttpRequestError = class extends BaseError3 {
|
|
|
3447
3447
|
}
|
|
3448
3448
|
};
|
|
3449
3449
|
|
|
3450
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
3450
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/errors/getNodeError.js
|
|
3451
3451
|
function getNodeError(err, args) {
|
|
3452
3452
|
const message = (err.details || "").toLowerCase();
|
|
3453
3453
|
const executionRevertedError = err instanceof BaseError3 ? err.walk((e) => e?.code === ExecutionRevertedError.code) : err;
|
|
@@ -3496,7 +3496,7 @@ function getNodeError(err, args) {
|
|
|
3496
3496
|
});
|
|
3497
3497
|
}
|
|
3498
3498
|
|
|
3499
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
3499
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/errors/getCallError.js
|
|
3500
3500
|
function getCallError(err, { docsPath: docsPath6, ...args }) {
|
|
3501
3501
|
const cause = (() => {
|
|
3502
3502
|
const cause2 = getNodeError(err, args);
|
|
@@ -3510,7 +3510,7 @@ function getCallError(err, { docsPath: docsPath6, ...args }) {
|
|
|
3510
3510
|
});
|
|
3511
3511
|
}
|
|
3512
3512
|
|
|
3513
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
3513
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/formatters/extract.js
|
|
3514
3514
|
function extract(value_, { format }) {
|
|
3515
3515
|
if (!format)
|
|
3516
3516
|
return {};
|
|
@@ -3529,7 +3529,7 @@ function extract(value_, { format }) {
|
|
|
3529
3529
|
return value;
|
|
3530
3530
|
}
|
|
3531
3531
|
|
|
3532
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
3532
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/formatters/transactionRequest.js
|
|
3533
3533
|
var rpcTransactionType = {
|
|
3534
3534
|
legacy: "0x0",
|
|
3535
3535
|
eip2930: "0x1",
|
|
@@ -3587,7 +3587,7 @@ function formatAuthorizationList(authorizationList) {
|
|
|
3587
3587
|
}));
|
|
3588
3588
|
}
|
|
3589
3589
|
|
|
3590
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
3590
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/promise/withResolvers.js
|
|
3591
3591
|
function withResolvers() {
|
|
3592
3592
|
let resolve = () => void 0;
|
|
3593
3593
|
let reject = () => void 0;
|
|
@@ -3598,7 +3598,7 @@ function withResolvers() {
|
|
|
3598
3598
|
return { promise, resolve, reject };
|
|
3599
3599
|
}
|
|
3600
3600
|
|
|
3601
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
3601
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/promise/createBatchScheduler.js
|
|
3602
3602
|
var schedulerCache = /* @__PURE__ */ new Map();
|
|
3603
3603
|
function createBatchScheduler({ fn, id, shouldSplitBatch, wait = 0, sort }) {
|
|
3604
3604
|
const exec = async () => {
|
|
@@ -3644,7 +3644,7 @@ function createBatchScheduler({ fn, id, shouldSplitBatch, wait = 0, sort }) {
|
|
|
3644
3644
|
};
|
|
3645
3645
|
}
|
|
3646
3646
|
|
|
3647
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
3647
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/stateOverride.js
|
|
3648
3648
|
function serializeStateMapping(stateMapping) {
|
|
3649
3649
|
if (!stateMapping || stateMapping.length === 0)
|
|
3650
3650
|
return void 0;
|
|
@@ -3697,7 +3697,7 @@ function serializeStateOverride(parameters) {
|
|
|
3697
3697
|
return rpcStateOverride;
|
|
3698
3698
|
}
|
|
3699
3699
|
|
|
3700
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
3700
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/constants/number.js
|
|
3701
3701
|
var maxInt8 = 2n ** (8n - 1n) - 1n;
|
|
3702
3702
|
var maxInt16 = 2n ** (16n - 1n) - 1n;
|
|
3703
3703
|
var maxInt24 = 2n ** (24n - 1n) - 1n;
|
|
@@ -3795,7 +3795,7 @@ var maxUint240 = 2n ** 240n - 1n;
|
|
|
3795
3795
|
var maxUint248 = 2n ** 248n - 1n;
|
|
3796
3796
|
var maxUint256 = 2n ** 256n - 1n;
|
|
3797
3797
|
|
|
3798
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
3798
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/transaction/assertRequest.js
|
|
3799
3799
|
function assertRequest(args) {
|
|
3800
3800
|
const { account: account_, gasPrice, maxFeePerGas, maxPriorityFeePerGas, to } = args;
|
|
3801
3801
|
const account = account_ ? parseAccount(account_) : void 0;
|
|
@@ -3811,9 +3811,9 @@ function assertRequest(args) {
|
|
|
3811
3811
|
throw new TipAboveFeeCapError({ maxFeePerGas, maxPriorityFeePerGas });
|
|
3812
3812
|
}
|
|
3813
3813
|
|
|
3814
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
3814
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/actions/public/call.js
|
|
3815
3815
|
async function call(client, args) {
|
|
3816
|
-
const { account: account_ = client.account, authorizationList, batch = Boolean(client.batch?.multicall), blockNumber, blockTag = "
|
|
3816
|
+
const { account: account_ = client.account, authorizationList, batch = Boolean(client.batch?.multicall), blockNumber, blockTag = "latest", accessList, blobs, blockOverrides, code, data: data_, factory, factoryData, gas, gasPrice, maxFeePerBlobGas, maxFeePerGas, maxPriorityFeePerGas, nonce, to, value, stateOverride, ...rest } = args;
|
|
3817
3817
|
const account = account_ ? parseAccount(account_) : void 0;
|
|
3818
3818
|
if (code && (factory || factoryData))
|
|
3819
3819
|
throw new BaseError3("Cannot provide both `code` & `factory`/`factoryData` as parameters.");
|
|
@@ -3896,7 +3896,7 @@ async function call(client, args) {
|
|
|
3896
3896
|
return { data: response };
|
|
3897
3897
|
} catch (err) {
|
|
3898
3898
|
const data2 = getRevertErrorData(err);
|
|
3899
|
-
const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import("./ccip-
|
|
3899
|
+
const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import("./ccip-POWS7KFG.js");
|
|
3900
3900
|
if (client.ccipRead !== false && data2?.slice(0, 10) === offchainLookupSignature2 && to)
|
|
3901
3901
|
return { data: await offchainLookup2(client, { data: data2, to }) };
|
|
3902
3902
|
if (deploylessCall && data2?.slice(0, 10) === "0x101bb98d")
|
|
@@ -3922,7 +3922,7 @@ function shouldPerformMulticall({ request }) {
|
|
|
3922
3922
|
}
|
|
3923
3923
|
async function scheduleMulticall(client, args) {
|
|
3924
3924
|
const { batchSize = 1024, wait = 0 } = typeof client.batch?.multicall === "object" ? client.batch.multicall : {};
|
|
3925
|
-
const { blockNumber, blockTag = "
|
|
3925
|
+
const { blockNumber, blockTag = "latest", data, multicallAddress: multicallAddress_, to } = args;
|
|
3926
3926
|
let multicallAddress = multicallAddress_;
|
|
3927
3927
|
if (!multicallAddress) {
|
|
3928
3928
|
if (!client.chain)
|
|
@@ -4001,7 +4001,7 @@ function getRevertErrorData(err) {
|
|
|
4001
4001
|
return typeof error?.data === "object" ? error.data?.data : error.data;
|
|
4002
4002
|
}
|
|
4003
4003
|
|
|
4004
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
4004
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/ccip.js
|
|
4005
4005
|
var OffchainLookupError = class extends BaseError3 {
|
|
4006
4006
|
constructor({ callbackSelector, cause, data, extraData, sender, urls }) {
|
|
4007
4007
|
super(cause.shortMessage || "An error occurred while fetching for an offchain result.", {
|
|
@@ -4046,7 +4046,7 @@ var OffchainLookupSenderMismatchError = class extends BaseError3 {
|
|
|
4046
4046
|
}
|
|
4047
4047
|
};
|
|
4048
4048
|
|
|
4049
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
4049
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/address/isAddressEqual.js
|
|
4050
4050
|
function isAddressEqual(a, b) {
|
|
4051
4051
|
if (!isAddress(a, { strict: false }))
|
|
4052
4052
|
throw new InvalidAddressError({ address: a });
|
|
@@ -4055,7 +4055,7 @@ function isAddressEqual(a, b) {
|
|
|
4055
4055
|
return a.toLowerCase() === b.toLowerCase();
|
|
4056
4056
|
}
|
|
4057
4057
|
|
|
4058
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
4058
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/abi/decodeFunctionData.js
|
|
4059
4059
|
function decodeFunctionData(parameters) {
|
|
4060
4060
|
const { abi, data } = parameters;
|
|
4061
4061
|
const signature = slice(data, 0, 4);
|
|
@@ -4070,7 +4070,7 @@ function decodeFunctionData(parameters) {
|
|
|
4070
4070
|
};
|
|
4071
4071
|
}
|
|
4072
4072
|
|
|
4073
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
4073
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/abi/encodeErrorResult.js
|
|
4074
4074
|
var docsPath4 = "/docs/contract/encodeErrorResult";
|
|
4075
4075
|
function encodeErrorResult(parameters) {
|
|
4076
4076
|
const { abi, errorName, args } = parameters;
|
|
@@ -4094,7 +4094,7 @@ function encodeErrorResult(parameters) {
|
|
|
4094
4094
|
return concatHex([signature, data]);
|
|
4095
4095
|
}
|
|
4096
4096
|
|
|
4097
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
4097
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/abi/encodeFunctionResult.js
|
|
4098
4098
|
var docsPath5 = "/docs/contract/encodeFunctionResult";
|
|
4099
4099
|
function encodeFunctionResult(parameters) {
|
|
4100
4100
|
const { abi, functionName, result } = parameters;
|
|
@@ -4121,7 +4121,7 @@ function encodeFunctionResult(parameters) {
|
|
|
4121
4121
|
return encodeAbiParameters(abiItem.outputs, values);
|
|
4122
4122
|
}
|
|
4123
4123
|
|
|
4124
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
4124
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/ens/localBatchGatewayRequest.js
|
|
4125
4125
|
var localBatchGatewayUrl = "x-batch-gateway:true";
|
|
4126
4126
|
async function localBatchGatewayRequest(parameters) {
|
|
4127
4127
|
const { data, ccipRequest: ccipRequest2 } = parameters;
|
|
@@ -4157,7 +4157,7 @@ function encodeError(error) {
|
|
|
4157
4157
|
});
|
|
4158
4158
|
}
|
|
4159
4159
|
|
|
4160
|
-
// ../../node_modules/.pnpm/viem@2.30.
|
|
4160
|
+
// ../../node_modules/.pnpm/viem@2.30.6_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/ccip.js
|
|
4161
4161
|
var offchainLookupSignature = "0x556f1830";
|
|
4162
4162
|
var offchainLookupAbiItem = {
|
|
4163
4163
|
name: "OffchainLookup",
|
|
@@ -4277,4 +4277,4 @@ export {
|
|
|
4277
4277
|
offchainLookup,
|
|
4278
4278
|
ccipRequest
|
|
4279
4279
|
};
|
|
4280
|
-
//# sourceMappingURL=chunk-
|
|
4280
|
+
//# sourceMappingURL=chunk-5LBWQX65.js.map
|