use-agently 0.30.0 → 0.32.0
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/build/bin.js +572 -383
- package/package.json +2 -2
package/build/bin.js
CHANGED
|
@@ -6456,10 +6456,10 @@ var init_secp256k1 = __esm(() => {
|
|
|
6456
6456
|
encodeToCurve = /* @__PURE__ */ (() => secp256k1_hasher.encodeToCurve)();
|
|
6457
6457
|
});
|
|
6458
6458
|
|
|
6459
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
6459
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/errors/version.js
|
|
6460
6460
|
var version2 = "2.46.3";
|
|
6461
6461
|
|
|
6462
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
6462
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/errors/base.js
|
|
6463
6463
|
function walk(err, fn) {
|
|
6464
6464
|
if (fn?.(err))
|
|
6465
6465
|
return err;
|
|
@@ -6547,7 +6547,7 @@ var init_base = __esm(() => {
|
|
|
6547
6547
|
};
|
|
6548
6548
|
});
|
|
6549
6549
|
|
|
6550
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
6550
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/errors/encoding.js
|
|
6551
6551
|
var IntegerOutOfRangeError, InvalidBytesBooleanError, InvalidHexBooleanError, SizeOverflowError;
|
|
6552
6552
|
var init_encoding = __esm(() => {
|
|
6553
6553
|
init_base();
|
|
@@ -6575,7 +6575,7 @@ var init_encoding = __esm(() => {
|
|
|
6575
6575
|
};
|
|
6576
6576
|
});
|
|
6577
6577
|
|
|
6578
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
6578
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/errors/data.js
|
|
6579
6579
|
var SliceOffsetOutOfBoundsError, SizeExceedsPaddingSizeError, InvalidBytesLengthError;
|
|
6580
6580
|
var init_data = __esm(() => {
|
|
6581
6581
|
init_base();
|
|
@@ -6596,7 +6596,7 @@ var init_data = __esm(() => {
|
|
|
6596
6596
|
};
|
|
6597
6597
|
});
|
|
6598
6598
|
|
|
6599
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
6599
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/data/pad.js
|
|
6600
6600
|
function pad(hexOrBytes, { dir, size = 32 } = {}) {
|
|
6601
6601
|
if (typeof hexOrBytes === "string")
|
|
6602
6602
|
return padHex(hexOrBytes, { dir, size });
|
|
@@ -6634,7 +6634,7 @@ var init_pad = __esm(() => {
|
|
|
6634
6634
|
init_data();
|
|
6635
6635
|
});
|
|
6636
6636
|
|
|
6637
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
6637
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/data/isHex.js
|
|
6638
6638
|
function isHex2(value, { strict = true } = {}) {
|
|
6639
6639
|
if (!value)
|
|
6640
6640
|
return false;
|
|
@@ -6643,7 +6643,7 @@ function isHex2(value, { strict = true } = {}) {
|
|
|
6643
6643
|
return strict ? /^0x[0-9a-fA-F]*$/.test(value) : value.startsWith("0x");
|
|
6644
6644
|
}
|
|
6645
6645
|
|
|
6646
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
6646
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/data/size.js
|
|
6647
6647
|
function size(value) {
|
|
6648
6648
|
if (isHex2(value, { strict: false }))
|
|
6649
6649
|
return Math.ceil((value.length - 2) / 2);
|
|
@@ -6651,7 +6651,7 @@ function size(value) {
|
|
|
6651
6651
|
}
|
|
6652
6652
|
var init_size = () => {};
|
|
6653
6653
|
|
|
6654
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
6654
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/data/trim.js
|
|
6655
6655
|
function trim(hexOrBytes, { dir = "left" } = {}) {
|
|
6656
6656
|
let data = typeof hexOrBytes === "string" ? hexOrBytes.replace("0x", "") : hexOrBytes;
|
|
6657
6657
|
let sliceLength = 0;
|
|
@@ -6670,7 +6670,7 @@ function trim(hexOrBytes, { dir = "left" } = {}) {
|
|
|
6670
6670
|
return data;
|
|
6671
6671
|
}
|
|
6672
6672
|
|
|
6673
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
6673
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/encoding/toBytes.js
|
|
6674
6674
|
function toBytes2(value, opts = {}) {
|
|
6675
6675
|
if (typeof value === "number" || typeof value === "bigint")
|
|
6676
6676
|
return numberToBytes(value, opts);
|
|
@@ -6748,7 +6748,7 @@ var init_toBytes = __esm(() => {
|
|
|
6748
6748
|
};
|
|
6749
6749
|
});
|
|
6750
6750
|
|
|
6751
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
6751
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/encoding/fromHex.js
|
|
6752
6752
|
function assertSize(hexOrBytes, { size: size2 }) {
|
|
6753
6753
|
if (size(hexOrBytes) > size2)
|
|
6754
6754
|
throw new SizeOverflowError({
|
|
@@ -6799,7 +6799,7 @@ var init_fromHex = __esm(() => {
|
|
|
6799
6799
|
init_size();
|
|
6800
6800
|
});
|
|
6801
6801
|
|
|
6802
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
6802
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/encoding/toHex.js
|
|
6803
6803
|
function toHex(value, opts = {}) {
|
|
6804
6804
|
if (typeof value === "number" || typeof value === "bigint")
|
|
6805
6805
|
return numberToHex(value, opts);
|
|
@@ -6871,7 +6871,7 @@ var init_toHex = __esm(() => {
|
|
|
6871
6871
|
encoder2 = /* @__PURE__ */ new TextEncoder;
|
|
6872
6872
|
});
|
|
6873
6873
|
|
|
6874
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
6874
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/errors/address.js
|
|
6875
6875
|
var InvalidAddressError;
|
|
6876
6876
|
var init_address = __esm(() => {
|
|
6877
6877
|
init_base();
|
|
@@ -6888,7 +6888,7 @@ var init_address = __esm(() => {
|
|
|
6888
6888
|
};
|
|
6889
6889
|
});
|
|
6890
6890
|
|
|
6891
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
6891
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/lru.js
|
|
6892
6892
|
var LruMap;
|
|
6893
6893
|
var init_lru = __esm(() => {
|
|
6894
6894
|
LruMap = class LruMap extends Map {
|
|
@@ -7104,7 +7104,7 @@ var init_sha3 = __esm(() => {
|
|
|
7104
7104
|
keccak_256 = /* @__PURE__ */ (() => gen(1, 136, 256 / 8))();
|
|
7105
7105
|
});
|
|
7106
7106
|
|
|
7107
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
7107
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/hash/keccak256.js
|
|
7108
7108
|
function keccak256(value, to_) {
|
|
7109
7109
|
const to = to_ || "hex";
|
|
7110
7110
|
const bytes = keccak_256(isHex2(value, { strict: false }) ? toBytes2(value) : value);
|
|
@@ -7118,7 +7118,7 @@ var init_keccak256 = __esm(() => {
|
|
|
7118
7118
|
init_toHex();
|
|
7119
7119
|
});
|
|
7120
7120
|
|
|
7121
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
7121
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/address/getAddress.js
|
|
7122
7122
|
function checksumAddress(address_, chainId) {
|
|
7123
7123
|
if (checksumAddressCache.has(`${address_}.${chainId}`))
|
|
7124
7124
|
return checksumAddressCache.get(`${address_}.${chainId}`);
|
|
@@ -7152,7 +7152,7 @@ var init_getAddress = __esm(() => {
|
|
|
7152
7152
|
checksumAddressCache = /* @__PURE__ */ new LruMap(8192);
|
|
7153
7153
|
});
|
|
7154
7154
|
|
|
7155
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
7155
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/address/isAddress.js
|
|
7156
7156
|
function isAddress(address, options) {
|
|
7157
7157
|
const { strict = true } = options ?? {};
|
|
7158
7158
|
const cacheKey = `${address}.${strict}`;
|
|
@@ -7178,7 +7178,7 @@ var init_isAddress = __esm(() => {
|
|
|
7178
7178
|
isAddressCache = /* @__PURE__ */ new LruMap(8192);
|
|
7179
7179
|
});
|
|
7180
7180
|
|
|
7181
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
7181
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/data/concat.js
|
|
7182
7182
|
function concat(values) {
|
|
7183
7183
|
if (typeof values[0] === "string")
|
|
7184
7184
|
return concatHex(values);
|
|
@@ -7201,7 +7201,7 @@ function concatHex(values) {
|
|
|
7201
7201
|
return `0x${values.reduce((acc, x) => acc + x.replace("0x", ""), "")}`;
|
|
7202
7202
|
}
|
|
7203
7203
|
|
|
7204
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
7204
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/errors/cursor.js
|
|
7205
7205
|
var NegativeOffsetError, PositionOutOfBoundsError, RecursiveReadLimitExceededError;
|
|
7206
7206
|
var init_cursor = __esm(() => {
|
|
7207
7207
|
init_base();
|
|
@@ -7224,7 +7224,7 @@ var init_cursor = __esm(() => {
|
|
|
7224
7224
|
};
|
|
7225
7225
|
});
|
|
7226
7226
|
|
|
7227
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
7227
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/cursor.js
|
|
7228
7228
|
function createCursor(bytes, { recursiveReadLimit = 8192 } = {}) {
|
|
7229
7229
|
const cursor = Object.create(staticCursor);
|
|
7230
7230
|
cursor.bytes = bytes;
|
|
@@ -7397,7 +7397,7 @@ var init_cursor2 = __esm(() => {
|
|
|
7397
7397
|
};
|
|
7398
7398
|
});
|
|
7399
7399
|
|
|
7400
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
7400
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/constants/unit.js
|
|
7401
7401
|
var etherUnits, gweiUnits;
|
|
7402
7402
|
var init_unit = __esm(() => {
|
|
7403
7403
|
etherUnits = {
|
|
@@ -7410,7 +7410,7 @@ var init_unit = __esm(() => {
|
|
|
7410
7410
|
};
|
|
7411
7411
|
});
|
|
7412
7412
|
|
|
7413
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
7413
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/unit/formatUnits.js
|
|
7414
7414
|
function formatUnits(value, decimals) {
|
|
7415
7415
|
let display = value.toString();
|
|
7416
7416
|
const negative = display.startsWith("-");
|
|
@@ -7425,7 +7425,7 @@ function formatUnits(value, decimals) {
|
|
|
7425
7425
|
return `${negative ? "-" : ""}${integer2 || "0"}${fraction ? `.${fraction}` : ""}`;
|
|
7426
7426
|
}
|
|
7427
7427
|
|
|
7428
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
7428
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/unit/formatEther.js
|
|
7429
7429
|
function formatEther(wei, unit = "wei") {
|
|
7430
7430
|
return formatUnits(wei, etherUnits[unit]);
|
|
7431
7431
|
}
|
|
@@ -7433,7 +7433,7 @@ var init_formatEther = __esm(() => {
|
|
|
7433
7433
|
init_unit();
|
|
7434
7434
|
});
|
|
7435
7435
|
|
|
7436
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
7436
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/unit/formatGwei.js
|
|
7437
7437
|
function formatGwei(wei, unit = "wei") {
|
|
7438
7438
|
return formatUnits(wei, gweiUnits[unit]);
|
|
7439
7439
|
}
|
|
@@ -7441,7 +7441,7 @@ var init_formatGwei = __esm(() => {
|
|
|
7441
7441
|
init_unit();
|
|
7442
7442
|
});
|
|
7443
7443
|
|
|
7444
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
7444
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/errors/transaction.js
|
|
7445
7445
|
function prettyPrint(args) {
|
|
7446
7446
|
const entries = Object.entries(args).map(([key, value]) => {
|
|
7447
7447
|
if (value === undefined || value === false)
|
|
@@ -7574,7 +7574,7 @@ var init_transaction = __esm(() => {
|
|
|
7574
7574
|
};
|
|
7575
7575
|
});
|
|
7576
7576
|
|
|
7577
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
7577
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/constants/number.js
|
|
7578
7578
|
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;
|
|
7579
7579
|
var init_number = __esm(() => {
|
|
7580
7580
|
maxInt8 = 2n ** (8n - 1n) - 1n;
|
|
@@ -7675,7 +7675,7 @@ var init_number = __esm(() => {
|
|
|
7675
7675
|
maxUint256 = 2n ** 256n - 1n;
|
|
7676
7676
|
});
|
|
7677
7677
|
|
|
7678
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
7678
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/errors/chain.js
|
|
7679
7679
|
var ChainDoesNotSupportContract, ClientChainNotConfiguredError, InvalidChainIdError;
|
|
7680
7680
|
var init_chain = __esm(() => {
|
|
7681
7681
|
init_base();
|
|
@@ -7708,7 +7708,7 @@ var init_chain = __esm(() => {
|
|
|
7708
7708
|
};
|
|
7709
7709
|
});
|
|
7710
7710
|
|
|
7711
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
7711
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/errors/node.js
|
|
7712
7712
|
var ExecutionRevertedError, FeeCapTooHighError, FeeCapTooLowError, NonceTooHighError, NonceTooLowError, NonceMaxValueError, InsufficientFundsError, IntrinsicGasTooHighError, IntrinsicGasTooLowError, TransactionTypeNotSupportedError, TipAboveFeeCapError, UnknownNodeError;
|
|
7713
7713
|
var init_node = __esm(() => {
|
|
7714
7714
|
init_formatGwei();
|
|
@@ -7895,7 +7895,7 @@ var init_node = __esm(() => {
|
|
|
7895
7895
|
};
|
|
7896
7896
|
});
|
|
7897
7897
|
|
|
7898
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
7898
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/data/slice.js
|
|
7899
7899
|
function slice(value, start, end, { strict } = {}) {
|
|
7900
7900
|
if (isHex2(value, { strict: false }))
|
|
7901
7901
|
return sliceHex(value, start, end, {
|
|
@@ -7941,7 +7941,7 @@ var init_slice = __esm(() => {
|
|
|
7941
7941
|
init_size();
|
|
7942
7942
|
});
|
|
7943
7943
|
|
|
7944
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
7944
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/abi/formatAbiItem.js
|
|
7945
7945
|
function formatAbiItem(abiItem, { includeName = false } = {}) {
|
|
7946
7946
|
if (abiItem.type !== "function" && abiItem.type !== "event" && abiItem.type !== "error")
|
|
7947
7947
|
throw new InvalidDefinitionTypeError(abiItem.type);
|
|
@@ -7962,7 +7962,7 @@ var init_formatAbiItem = __esm(() => {
|
|
|
7962
7962
|
init_abi();
|
|
7963
7963
|
});
|
|
7964
7964
|
|
|
7965
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
7965
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/errors/abi.js
|
|
7966
7966
|
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;
|
|
7967
7967
|
var init_abi = __esm(() => {
|
|
7968
7968
|
init_formatAbiItem();
|
|
@@ -8288,14 +8288,14 @@ var init_abi = __esm(() => {
|
|
|
8288
8288
|
};
|
|
8289
8289
|
});
|
|
8290
8290
|
|
|
8291
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
8291
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/regex.js
|
|
8292
8292
|
var bytesRegex, integerRegex;
|
|
8293
8293
|
var init_regex = __esm(() => {
|
|
8294
8294
|
bytesRegex = /^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/;
|
|
8295
8295
|
integerRegex = /^(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)?$/;
|
|
8296
8296
|
});
|
|
8297
8297
|
|
|
8298
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
8298
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/abi/encodeAbiParameters.js
|
|
8299
8299
|
function encodeAbiParameters(params, values) {
|
|
8300
8300
|
if (params.length !== values.length)
|
|
8301
8301
|
throw new AbiEncodingLengthMismatchError({
|
|
@@ -8518,20 +8518,20 @@ var init_encodeAbiParameters = __esm(() => {
|
|
|
8518
8518
|
init_regex();
|
|
8519
8519
|
});
|
|
8520
8520
|
|
|
8521
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
8521
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/stringify.js
|
|
8522
8522
|
var stringify2 = (value, replacer, space) => JSON.stringify(value, (key, value_) => {
|
|
8523
8523
|
const value2 = typeof value_ === "bigint" ? value_.toString() : value_;
|
|
8524
8524
|
return typeof replacer === "function" ? replacer(key, value2) : value2;
|
|
8525
8525
|
}, space);
|
|
8526
8526
|
|
|
8527
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
8527
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/accounts/utils/parseAccount.js
|
|
8528
8528
|
function parseAccount2(account) {
|
|
8529
8529
|
if (typeof account === "string")
|
|
8530
8530
|
return { address: account, type: "json-rpc" };
|
|
8531
8531
|
return account;
|
|
8532
8532
|
}
|
|
8533
8533
|
|
|
8534
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
8534
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/constants/abis.js
|
|
8535
8535
|
var multicall3Abi, batchGatewayAbi, universalResolverErrors, universalResolverResolveAbi, universalResolverReverseAbi, textResolverAbi, addressResolverAbi, erc1271Abi, erc6492SignatureValidatorAbi, erc20Abi;
|
|
8536
8536
|
var init_abis = __esm(() => {
|
|
8537
8537
|
multicall3Abi = [
|
|
@@ -9075,7 +9075,7 @@ var init_abis = __esm(() => {
|
|
|
9075
9075
|
];
|
|
9076
9076
|
});
|
|
9077
9077
|
|
|
9078
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
9078
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/encoding/fromBytes.js
|
|
9079
9079
|
function bytesToBigInt(bytes, opts = {}) {
|
|
9080
9080
|
if (typeof opts.size !== "undefined")
|
|
9081
9081
|
assertSize(bytes, { size: opts.size });
|
|
@@ -9112,7 +9112,7 @@ var init_fromBytes = __esm(() => {
|
|
|
9112
9112
|
init_toHex();
|
|
9113
9113
|
});
|
|
9114
9114
|
|
|
9115
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
9115
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/abi/decodeAbiParameters.js
|
|
9116
9116
|
function decodeAbiParameters(params, data) {
|
|
9117
9117
|
const bytes = typeof data === "string" ? hexToBytes2(data) : data;
|
|
9118
9118
|
const cursor = createCursor(bytes);
|
|
@@ -9309,7 +9309,7 @@ var init_decodeAbiParameters = __esm(() => {
|
|
|
9309
9309
|
init_encodeAbiParameters();
|
|
9310
9310
|
});
|
|
9311
9311
|
|
|
9312
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
9312
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/hash/hashSignature.js
|
|
9313
9313
|
function hashSignature(sig) {
|
|
9314
9314
|
return hash2(sig);
|
|
9315
9315
|
}
|
|
@@ -9319,10 +9319,10 @@ var init_hashSignature = __esm(() => {
|
|
|
9319
9319
|
init_keccak256();
|
|
9320
9320
|
});
|
|
9321
9321
|
|
|
9322
|
-
// ../../node_modules/.bun/abitype@1.2.3+
|
|
9322
|
+
// ../../node_modules/.bun/abitype@1.2.3+b6540f47a87fcb8d/node_modules/abitype/dist/esm/version.js
|
|
9323
9323
|
var version3 = "1.2.3";
|
|
9324
9324
|
|
|
9325
|
-
// ../../node_modules/.bun/abitype@1.2.3+
|
|
9325
|
+
// ../../node_modules/.bun/abitype@1.2.3+b6540f47a87fcb8d/node_modules/abitype/dist/esm/errors.js
|
|
9326
9326
|
var BaseError2;
|
|
9327
9327
|
var init_errors = __esm(() => {
|
|
9328
9328
|
BaseError2 = class BaseError2 extends Error {
|
|
@@ -9379,7 +9379,7 @@ var init_errors = __esm(() => {
|
|
|
9379
9379
|
};
|
|
9380
9380
|
});
|
|
9381
9381
|
|
|
9382
|
-
// ../../node_modules/.bun/abitype@1.2.3+
|
|
9382
|
+
// ../../node_modules/.bun/abitype@1.2.3+b6540f47a87fcb8d/node_modules/abitype/dist/esm/regex.js
|
|
9383
9383
|
function execTyped(regex2, string4) {
|
|
9384
9384
|
const match = regex2.exec(string4);
|
|
9385
9385
|
return match?.groups;
|
|
@@ -9391,7 +9391,7 @@ var init_regex2 = __esm(() => {
|
|
|
9391
9391
|
isTupleRegex = /^\(.+?\).*?$/;
|
|
9392
9392
|
});
|
|
9393
9393
|
|
|
9394
|
-
// ../../node_modules/.bun/abitype@1.2.3+
|
|
9394
|
+
// ../../node_modules/.bun/abitype@1.2.3+b6540f47a87fcb8d/node_modules/abitype/dist/esm/human-readable/formatAbiParameter.js
|
|
9395
9395
|
function formatAbiParameter(abiParameter) {
|
|
9396
9396
|
let type = abiParameter.type;
|
|
9397
9397
|
if (tupleRegex.test(abiParameter.type) && "components" in abiParameter) {
|
|
@@ -9422,7 +9422,7 @@ var init_formatAbiParameter = __esm(() => {
|
|
|
9422
9422
|
tupleRegex = /^tuple(?<array>(\[(\d*)\])*)$/;
|
|
9423
9423
|
});
|
|
9424
9424
|
|
|
9425
|
-
// ../../node_modules/.bun/abitype@1.2.3+
|
|
9425
|
+
// ../../node_modules/.bun/abitype@1.2.3+b6540f47a87fcb8d/node_modules/abitype/dist/esm/human-readable/formatAbiParameters.js
|
|
9426
9426
|
function formatAbiParameters(abiParameters) {
|
|
9427
9427
|
let params = "";
|
|
9428
9428
|
const length = abiParameters.length;
|
|
@@ -9438,7 +9438,7 @@ var init_formatAbiParameters = __esm(() => {
|
|
|
9438
9438
|
init_formatAbiParameter();
|
|
9439
9439
|
});
|
|
9440
9440
|
|
|
9441
|
-
// ../../node_modules/.bun/abitype@1.2.3+
|
|
9441
|
+
// ../../node_modules/.bun/abitype@1.2.3+b6540f47a87fcb8d/node_modules/abitype/dist/esm/human-readable/formatAbiItem.js
|
|
9442
9442
|
function formatAbiItem2(abiItem) {
|
|
9443
9443
|
if (abiItem.type === "function")
|
|
9444
9444
|
return `function ${abiItem.name}(${formatAbiParameters(abiItem.inputs)})${abiItem.stateMutability && abiItem.stateMutability !== "nonpayable" ? ` ${abiItem.stateMutability}` : ""}${abiItem.outputs?.length ? ` returns (${formatAbiParameters(abiItem.outputs)})` : ""}`;
|
|
@@ -9456,7 +9456,7 @@ var init_formatAbiItem2 = __esm(() => {
|
|
|
9456
9456
|
init_formatAbiParameters();
|
|
9457
9457
|
});
|
|
9458
9458
|
|
|
9459
|
-
// ../../node_modules/.bun/abitype@1.2.3+
|
|
9459
|
+
// ../../node_modules/.bun/abitype@1.2.3+b6540f47a87fcb8d/node_modules/abitype/dist/esm/human-readable/runtime/signatures.js
|
|
9460
9460
|
function isErrorSignature(signature) {
|
|
9461
9461
|
return errorSignatureRegex.test(signature);
|
|
9462
9462
|
}
|
|
@@ -9520,7 +9520,7 @@ var init_signatures = __esm(() => {
|
|
|
9520
9520
|
]);
|
|
9521
9521
|
});
|
|
9522
9522
|
|
|
9523
|
-
// ../../node_modules/.bun/abitype@1.2.3+
|
|
9523
|
+
// ../../node_modules/.bun/abitype@1.2.3+b6540f47a87fcb8d/node_modules/abitype/dist/esm/human-readable/errors/abiItem.js
|
|
9524
9524
|
var InvalidAbiItemError, UnknownTypeError, UnknownSolidityTypeError;
|
|
9525
9525
|
var init_abiItem = __esm(() => {
|
|
9526
9526
|
init_errors();
|
|
@@ -9568,7 +9568,7 @@ var init_abiItem = __esm(() => {
|
|
|
9568
9568
|
};
|
|
9569
9569
|
});
|
|
9570
9570
|
|
|
9571
|
-
// ../../node_modules/.bun/abitype@1.2.3+
|
|
9571
|
+
// ../../node_modules/.bun/abitype@1.2.3+b6540f47a87fcb8d/node_modules/abitype/dist/esm/human-readable/errors/abiParameter.js
|
|
9572
9572
|
var InvalidAbiParametersError, InvalidParameterError, SolidityProtectedKeywordError, InvalidModifierError, InvalidFunctionModifierError, InvalidAbiTypeParameterError;
|
|
9573
9573
|
var init_abiParameter = __esm(() => {
|
|
9574
9574
|
init_errors();
|
|
@@ -9664,7 +9664,7 @@ var init_abiParameter = __esm(() => {
|
|
|
9664
9664
|
};
|
|
9665
9665
|
});
|
|
9666
9666
|
|
|
9667
|
-
// ../../node_modules/.bun/abitype@1.2.3+
|
|
9667
|
+
// ../../node_modules/.bun/abitype@1.2.3+b6540f47a87fcb8d/node_modules/abitype/dist/esm/human-readable/errors/signature.js
|
|
9668
9668
|
var InvalidSignatureError, UnknownSignatureError, InvalidStructSignatureError;
|
|
9669
9669
|
var init_signature = __esm(() => {
|
|
9670
9670
|
init_errors();
|
|
@@ -9710,7 +9710,7 @@ var init_signature = __esm(() => {
|
|
|
9710
9710
|
};
|
|
9711
9711
|
});
|
|
9712
9712
|
|
|
9713
|
-
// ../../node_modules/.bun/abitype@1.2.3+
|
|
9713
|
+
// ../../node_modules/.bun/abitype@1.2.3+b6540f47a87fcb8d/node_modules/abitype/dist/esm/human-readable/errors/struct.js
|
|
9714
9714
|
var CircularReferenceError;
|
|
9715
9715
|
var init_struct = __esm(() => {
|
|
9716
9716
|
init_errors();
|
|
@@ -9729,7 +9729,7 @@ var init_struct = __esm(() => {
|
|
|
9729
9729
|
};
|
|
9730
9730
|
});
|
|
9731
9731
|
|
|
9732
|
-
// ../../node_modules/.bun/abitype@1.2.3+
|
|
9732
|
+
// ../../node_modules/.bun/abitype@1.2.3+b6540f47a87fcb8d/node_modules/abitype/dist/esm/human-readable/errors/splitParameters.js
|
|
9733
9733
|
var InvalidParenthesisError;
|
|
9734
9734
|
var init_splitParameters = __esm(() => {
|
|
9735
9735
|
init_errors();
|
|
@@ -9751,7 +9751,7 @@ var init_splitParameters = __esm(() => {
|
|
|
9751
9751
|
};
|
|
9752
9752
|
});
|
|
9753
9753
|
|
|
9754
|
-
// ../../node_modules/.bun/abitype@1.2.3+
|
|
9754
|
+
// ../../node_modules/.bun/abitype@1.2.3+b6540f47a87fcb8d/node_modules/abitype/dist/esm/human-readable/runtime/cache.js
|
|
9755
9755
|
function getParameterCacheKey(param, type, structs) {
|
|
9756
9756
|
let structKey = "";
|
|
9757
9757
|
if (structs)
|
|
@@ -9823,7 +9823,7 @@ var init_cache = __esm(() => {
|
|
|
9823
9823
|
]);
|
|
9824
9824
|
});
|
|
9825
9825
|
|
|
9826
|
-
// ../../node_modules/.bun/abitype@1.2.3+
|
|
9826
|
+
// ../../node_modules/.bun/abitype@1.2.3+b6540f47a87fcb8d/node_modules/abitype/dist/esm/human-readable/runtime/utils.js
|
|
9827
9827
|
function parseSignature(signature, structs = {}) {
|
|
9828
9828
|
if (isFunctionSignature(signature))
|
|
9829
9829
|
return parseFunctionSignature(signature, structs);
|
|
@@ -10032,7 +10032,7 @@ var init_utils3 = __esm(() => {
|
|
|
10032
10032
|
protectedKeywordsRegex = /^(?:after|alias|anonymous|apply|auto|byte|calldata|case|catch|constant|copyof|default|defined|error|event|external|false|final|function|immutable|implements|in|indexed|inline|internal|let|mapping|match|memory|mutable|null|of|override|partial|private|promise|public|pure|reference|relocatable|return|returns|sizeof|static|storage|struct|super|supports|switch|this|true|try|typedef|typeof|var|view|virtual)$/;
|
|
10033
10033
|
});
|
|
10034
10034
|
|
|
10035
|
-
// ../../node_modules/.bun/abitype@1.2.3+
|
|
10035
|
+
// ../../node_modules/.bun/abitype@1.2.3+b6540f47a87fcb8d/node_modules/abitype/dist/esm/human-readable/runtime/structs.js
|
|
10036
10036
|
function parseStructs(signatures) {
|
|
10037
10037
|
const shallowStructs = {};
|
|
10038
10038
|
const signaturesLength = signatures.length;
|
|
@@ -10112,7 +10112,7 @@ var init_structs = __esm(() => {
|
|
|
10112
10112
|
typeWithoutTupleRegex = /^(?<type>[a-zA-Z$_][a-zA-Z0-9$_]*)(?<array>(?:\[\d*?\])+?)?$/;
|
|
10113
10113
|
});
|
|
10114
10114
|
|
|
10115
|
-
// ../../node_modules/.bun/abitype@1.2.3+
|
|
10115
|
+
// ../../node_modules/.bun/abitype@1.2.3+b6540f47a87fcb8d/node_modules/abitype/dist/esm/human-readable/parseAbi.js
|
|
10116
10116
|
function parseAbi(signatures) {
|
|
10117
10117
|
const structs = parseStructs(signatures);
|
|
10118
10118
|
const abi = [];
|
|
@@ -10131,7 +10131,7 @@ var init_parseAbi = __esm(() => {
|
|
|
10131
10131
|
init_utils3();
|
|
10132
10132
|
});
|
|
10133
10133
|
|
|
10134
|
-
// ../../node_modules/.bun/abitype@1.2.3+
|
|
10134
|
+
// ../../node_modules/.bun/abitype@1.2.3+b6540f47a87fcb8d/node_modules/abitype/dist/esm/human-readable/parseAbiItem.js
|
|
10135
10135
|
function parseAbiItem(signature) {
|
|
10136
10136
|
let abiItem;
|
|
10137
10137
|
if (typeof signature === "string")
|
|
@@ -10158,7 +10158,7 @@ var init_parseAbiItem = __esm(() => {
|
|
|
10158
10158
|
init_utils3();
|
|
10159
10159
|
});
|
|
10160
10160
|
|
|
10161
|
-
// ../../node_modules/.bun/abitype@1.2.3+
|
|
10161
|
+
// ../../node_modules/.bun/abitype@1.2.3+b6540f47a87fcb8d/node_modules/abitype/dist/esm/human-readable/parseAbiParameters.js
|
|
10162
10162
|
function parseAbiParameters(params) {
|
|
10163
10163
|
const abiParameters = [];
|
|
10164
10164
|
if (typeof params === "string") {
|
|
@@ -10193,7 +10193,7 @@ var init_parseAbiParameters = __esm(() => {
|
|
|
10193
10193
|
init_utils3();
|
|
10194
10194
|
});
|
|
10195
10195
|
|
|
10196
|
-
// ../../node_modules/.bun/abitype@1.2.3+
|
|
10196
|
+
// ../../node_modules/.bun/abitype@1.2.3+b6540f47a87fcb8d/node_modules/abitype/dist/esm/exports/index.js
|
|
10197
10197
|
var init_exports = __esm(() => {
|
|
10198
10198
|
init_formatAbiItem2();
|
|
10199
10199
|
init_formatAbiParameters();
|
|
@@ -10202,7 +10202,7 @@ var init_exports = __esm(() => {
|
|
|
10202
10202
|
init_parseAbiParameters();
|
|
10203
10203
|
});
|
|
10204
10204
|
|
|
10205
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
10205
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/hash/normalizeSignature.js
|
|
10206
10206
|
function normalizeSignature(signature) {
|
|
10207
10207
|
let active = true;
|
|
10208
10208
|
let current = "";
|
|
@@ -10249,7 +10249,7 @@ var init_normalizeSignature = __esm(() => {
|
|
|
10249
10249
|
init_base();
|
|
10250
10250
|
});
|
|
10251
10251
|
|
|
10252
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
10252
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/hash/toSignature.js
|
|
10253
10253
|
var toSignature = (def) => {
|
|
10254
10254
|
const def_ = (() => {
|
|
10255
10255
|
if (typeof def === "string")
|
|
@@ -10263,7 +10263,7 @@ var init_toSignature = __esm(() => {
|
|
|
10263
10263
|
init_normalizeSignature();
|
|
10264
10264
|
});
|
|
10265
10265
|
|
|
10266
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
10266
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/hash/toSignatureHash.js
|
|
10267
10267
|
function toSignatureHash(fn) {
|
|
10268
10268
|
return hashSignature(toSignature(fn));
|
|
10269
10269
|
}
|
|
@@ -10272,21 +10272,21 @@ var init_toSignatureHash = __esm(() => {
|
|
|
10272
10272
|
init_toSignature();
|
|
10273
10273
|
});
|
|
10274
10274
|
|
|
10275
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
10275
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/hash/toEventSelector.js
|
|
10276
10276
|
var toEventSelector;
|
|
10277
10277
|
var init_toEventSelector = __esm(() => {
|
|
10278
10278
|
init_toSignatureHash();
|
|
10279
10279
|
toEventSelector = toSignatureHash;
|
|
10280
10280
|
});
|
|
10281
10281
|
|
|
10282
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
10282
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/hash/toFunctionSelector.js
|
|
10283
10283
|
var toFunctionSelector = (fn) => slice(toSignatureHash(fn), 0, 4);
|
|
10284
10284
|
var init_toFunctionSelector = __esm(() => {
|
|
10285
10285
|
init_slice();
|
|
10286
10286
|
init_toSignatureHash();
|
|
10287
10287
|
});
|
|
10288
10288
|
|
|
10289
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
10289
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/abi/getAbiItem.js
|
|
10290
10290
|
function getAbiItem(parameters) {
|
|
10291
10291
|
const { abi, args = [], name } = parameters;
|
|
10292
10292
|
const isSelector = isHex2(name, { strict: false });
|
|
@@ -10403,7 +10403,7 @@ var init_getAbiItem = __esm(() => {
|
|
|
10403
10403
|
init_toFunctionSelector();
|
|
10404
10404
|
});
|
|
10405
10405
|
|
|
10406
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
10406
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/abi/decodeFunctionResult.js
|
|
10407
10407
|
function decodeFunctionResult(parameters) {
|
|
10408
10408
|
const { abi, args, functionName, data } = parameters;
|
|
10409
10409
|
let abiItem = abi[0];
|
|
@@ -10431,7 +10431,7 @@ var init_decodeFunctionResult = __esm(() => {
|
|
|
10431
10431
|
init_getAbiItem();
|
|
10432
10432
|
});
|
|
10433
10433
|
|
|
10434
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
10434
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/abi/prepareEncodeFunctionData.js
|
|
10435
10435
|
function prepareEncodeFunctionData(parameters) {
|
|
10436
10436
|
const { abi, args, functionName } = parameters;
|
|
10437
10437
|
let abiItem = abi[0];
|
|
@@ -10460,7 +10460,7 @@ var init_prepareEncodeFunctionData = __esm(() => {
|
|
|
10460
10460
|
init_getAbiItem();
|
|
10461
10461
|
});
|
|
10462
10462
|
|
|
10463
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
10463
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/abi/encodeFunctionData.js
|
|
10464
10464
|
function encodeFunctionData(parameters) {
|
|
10465
10465
|
const { args } = parameters;
|
|
10466
10466
|
const { abi, functionName } = (() => {
|
|
@@ -10478,7 +10478,7 @@ var init_encodeFunctionData = __esm(() => {
|
|
|
10478
10478
|
init_prepareEncodeFunctionData();
|
|
10479
10479
|
});
|
|
10480
10480
|
|
|
10481
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
10481
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/chain/getChainContractAddress.js
|
|
10482
10482
|
function getChainContractAddress({ blockNumber, chain, contract: name }) {
|
|
10483
10483
|
const contract = chain?.contracts?.[name];
|
|
10484
10484
|
if (!contract)
|
|
@@ -10501,7 +10501,7 @@ var init_getChainContractAddress = __esm(() => {
|
|
|
10501
10501
|
init_chain();
|
|
10502
10502
|
});
|
|
10503
10503
|
|
|
10504
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
10504
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/constants/solidity.js
|
|
10505
10505
|
var panicReasons, solidityError, solidityPanic;
|
|
10506
10506
|
var init_solidity = __esm(() => {
|
|
10507
10507
|
panicReasons = {
|
|
@@ -10537,7 +10537,7 @@ var init_solidity = __esm(() => {
|
|
|
10537
10537
|
};
|
|
10538
10538
|
});
|
|
10539
10539
|
|
|
10540
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
10540
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/abi/decodeErrorResult.js
|
|
10541
10541
|
function decodeErrorResult(parameters) {
|
|
10542
10542
|
const { abi, data } = parameters;
|
|
10543
10543
|
const signature = slice(data, 0, 4);
|
|
@@ -10564,7 +10564,7 @@ var init_decodeErrorResult = __esm(() => {
|
|
|
10564
10564
|
init_formatAbiItem();
|
|
10565
10565
|
});
|
|
10566
10566
|
|
|
10567
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
10567
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/abi/formatAbiItemWithArgs.js
|
|
10568
10568
|
function formatAbiItemWithArgs({ abiItem, args, includeFunctionName = true, includeName = false }) {
|
|
10569
10569
|
if (!("name" in abiItem))
|
|
10570
10570
|
return;
|
|
@@ -10576,7 +10576,7 @@ function formatAbiItemWithArgs({ abiItem, args, includeFunctionName = true, incl
|
|
|
10576
10576
|
}
|
|
10577
10577
|
var init_formatAbiItemWithArgs = () => {};
|
|
10578
10578
|
|
|
10579
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
10579
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/errors/stateOverride.js
|
|
10580
10580
|
function prettyStateMapping(stateMapping) {
|
|
10581
10581
|
return stateMapping.reduce((pretty, { slot, value }) => {
|
|
10582
10582
|
return `${pretty} ${slot}: ${value}
|
|
@@ -10629,10 +10629,10 @@ var init_stateOverride = __esm(() => {
|
|
|
10629
10629
|
};
|
|
10630
10630
|
});
|
|
10631
10631
|
|
|
10632
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
10632
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/errors/utils.js
|
|
10633
10633
|
var getContractAddress = (address) => address, getUrl = (url2) => url2;
|
|
10634
10634
|
|
|
10635
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
10635
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/errors/contract.js
|
|
10636
10636
|
var CallExecutionError, ContractFunctionExecutionError, ContractFunctionRevertedError, ContractFunctionZeroDataError, CounterfactualDeploymentFailedError, RawContractError;
|
|
10637
10637
|
var init_contract = __esm(() => {
|
|
10638
10638
|
init_solidity();
|
|
@@ -10885,7 +10885,7 @@ ${prettyStateOverride(stateOverride)}`;
|
|
|
10885
10885
|
};
|
|
10886
10886
|
});
|
|
10887
10887
|
|
|
10888
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
10888
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/abi/decodeFunctionData.js
|
|
10889
10889
|
function decodeFunctionData(parameters) {
|
|
10890
10890
|
const { abi, data } = parameters;
|
|
10891
10891
|
const signature = slice(data, 0, 4);
|
|
@@ -10907,7 +10907,7 @@ var init_decodeFunctionData = __esm(() => {
|
|
|
10907
10907
|
init_formatAbiItem();
|
|
10908
10908
|
});
|
|
10909
10909
|
|
|
10910
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
10910
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/abi/encodeErrorResult.js
|
|
10911
10911
|
function encodeErrorResult(parameters) {
|
|
10912
10912
|
const { abi, errorName, args } = parameters;
|
|
10913
10913
|
let abiItem = abi[0];
|
|
@@ -10938,7 +10938,7 @@ var init_encodeErrorResult = __esm(() => {
|
|
|
10938
10938
|
init_getAbiItem();
|
|
10939
10939
|
});
|
|
10940
10940
|
|
|
10941
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
10941
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/abi/encodeFunctionResult.js
|
|
10942
10942
|
function encodeFunctionResult(parameters) {
|
|
10943
10943
|
const { abi, functionName, result } = parameters;
|
|
10944
10944
|
let abiItem = abi[0];
|
|
@@ -10970,7 +10970,7 @@ var init_encodeFunctionResult = __esm(() => {
|
|
|
10970
10970
|
init_getAbiItem();
|
|
10971
10971
|
});
|
|
10972
10972
|
|
|
10973
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
10973
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/ens/localBatchGatewayRequest.js
|
|
10974
10974
|
async function localBatchGatewayRequest(parameters) {
|
|
10975
10975
|
const { data, ccipRequest } = parameters;
|
|
10976
10976
|
const { args: [queries] } = decodeFunctionData({ abi: batchGatewayAbi, data });
|
|
@@ -11013,7 +11013,7 @@ var init_localBatchGatewayRequest = __esm(() => {
|
|
|
11013
11013
|
init_encodeFunctionResult();
|
|
11014
11014
|
});
|
|
11015
11015
|
|
|
11016
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
11016
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/errors/request.js
|
|
11017
11017
|
var HttpRequestError, RpcRequestError, TimeoutError;
|
|
11018
11018
|
var init_request = __esm(() => {
|
|
11019
11019
|
init_base();
|
|
@@ -11108,7 +11108,7 @@ var init_request = __esm(() => {
|
|
|
11108
11108
|
};
|
|
11109
11109
|
});
|
|
11110
11110
|
|
|
11111
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
11111
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/errors/rpc.js
|
|
11112
11112
|
var unknownErrorCode = -1, 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;
|
|
11113
11113
|
var init_rpc = __esm(() => {
|
|
11114
11114
|
init_base();
|
|
@@ -11557,16 +11557,16 @@ var init_rpc = __esm(() => {
|
|
|
11557
11557
|
};
|
|
11558
11558
|
});
|
|
11559
11559
|
|
|
11560
|
-
// ../../node_modules/.bun/ox@0.12.4+
|
|
11560
|
+
// ../../node_modules/.bun/ox@0.12.4+b6540f47a87fcb8d/node_modules/ox/_esm/core/version.js
|
|
11561
11561
|
var version4 = "0.1.1";
|
|
11562
11562
|
|
|
11563
|
-
// ../../node_modules/.bun/ox@0.12.4+
|
|
11563
|
+
// ../../node_modules/.bun/ox@0.12.4+b6540f47a87fcb8d/node_modules/ox/_esm/core/internal/errors.js
|
|
11564
11564
|
function getVersion() {
|
|
11565
11565
|
return version4;
|
|
11566
11566
|
}
|
|
11567
11567
|
var init_errors2 = () => {};
|
|
11568
11568
|
|
|
11569
|
-
// ../../node_modules/.bun/ox@0.12.4+
|
|
11569
|
+
// ../../node_modules/.bun/ox@0.12.4+b6540f47a87fcb8d/node_modules/ox/_esm/core/Errors.js
|
|
11570
11570
|
function walk2(err, fn) {
|
|
11571
11571
|
if (fn?.(err))
|
|
11572
11572
|
return err;
|
|
@@ -11700,7 +11700,7 @@ var init_Errors = __esm(() => {
|
|
|
11700
11700
|
})();
|
|
11701
11701
|
});
|
|
11702
11702
|
|
|
11703
|
-
// ../../node_modules/.bun/ox@0.12.4+
|
|
11703
|
+
// ../../node_modules/.bun/ox@0.12.4+b6540f47a87fcb8d/node_modules/ox/_esm/core/internal/bytes.js
|
|
11704
11704
|
function assertSize2(bytes, size_) {
|
|
11705
11705
|
if (size3(bytes) > size_)
|
|
11706
11706
|
throw new SizeOverflowError2({
|
|
@@ -11777,7 +11777,7 @@ var init_bytes = __esm(() => {
|
|
|
11777
11777
|
};
|
|
11778
11778
|
});
|
|
11779
11779
|
|
|
11780
|
-
// ../../node_modules/.bun/ox@0.12.4+
|
|
11780
|
+
// ../../node_modules/.bun/ox@0.12.4+b6540f47a87fcb8d/node_modules/ox/_esm/core/internal/hex.js
|
|
11781
11781
|
function assertSize3(hex3, size_) {
|
|
11782
11782
|
if (size4(hex3) > size_)
|
|
11783
11783
|
throw new SizeOverflowError3({
|
|
@@ -11836,7 +11836,7 @@ var init_hex = __esm(() => {
|
|
|
11836
11836
|
init_Hex();
|
|
11837
11837
|
});
|
|
11838
11838
|
|
|
11839
|
-
// ../../node_modules/.bun/ox@0.12.4+
|
|
11839
|
+
// ../../node_modules/.bun/ox@0.12.4+b6540f47a87fcb8d/node_modules/ox/_esm/core/Json.js
|
|
11840
11840
|
function stringify3(value, replacer, space) {
|
|
11841
11841
|
return JSON.stringify(value, (key, value2) => {
|
|
11842
11842
|
if (typeof replacer === "function")
|
|
@@ -11848,7 +11848,7 @@ function stringify3(value, replacer, space) {
|
|
|
11848
11848
|
}
|
|
11849
11849
|
var bigIntSuffix = "#__bigint";
|
|
11850
11850
|
|
|
11851
|
-
// ../../node_modules/.bun/ox@0.12.4+
|
|
11851
|
+
// ../../node_modules/.bun/ox@0.12.4+b6540f47a87fcb8d/node_modules/ox/_esm/core/Bytes.js
|
|
11852
11852
|
function assert2(value) {
|
|
11853
11853
|
if (value instanceof Uint8Array)
|
|
11854
11854
|
return;
|
|
@@ -12035,7 +12035,7 @@ var init_Bytes = __esm(() => {
|
|
|
12035
12035
|
};
|
|
12036
12036
|
});
|
|
12037
12037
|
|
|
12038
|
-
// ../../node_modules/.bun/ox@0.12.4+
|
|
12038
|
+
// ../../node_modules/.bun/ox@0.12.4+b6540f47a87fcb8d/node_modules/ox/_esm/core/Hex.js
|
|
12039
12039
|
function assert3(value, options = {}) {
|
|
12040
12040
|
const { strict = false } = options;
|
|
12041
12041
|
if (!value)
|
|
@@ -12239,7 +12239,7 @@ var init_Hex = __esm(() => {
|
|
|
12239
12239
|
};
|
|
12240
12240
|
});
|
|
12241
12241
|
|
|
12242
|
-
// ../../node_modules/.bun/ox@0.12.4+
|
|
12242
|
+
// ../../node_modules/.bun/ox@0.12.4+b6540f47a87fcb8d/node_modules/ox/_esm/core/Withdrawal.js
|
|
12243
12243
|
function toRpc(withdrawal) {
|
|
12244
12244
|
return {
|
|
12245
12245
|
address: withdrawal.address,
|
|
@@ -12252,7 +12252,7 @@ var init_Withdrawal = __esm(() => {
|
|
|
12252
12252
|
init_Hex();
|
|
12253
12253
|
});
|
|
12254
12254
|
|
|
12255
|
-
// ../../node_modules/.bun/ox@0.12.4+
|
|
12255
|
+
// ../../node_modules/.bun/ox@0.12.4+b6540f47a87fcb8d/node_modules/ox/_esm/core/BlockOverrides.js
|
|
12256
12256
|
function toRpc2(blockOverrides) {
|
|
12257
12257
|
return {
|
|
12258
12258
|
...typeof blockOverrides.baseFeePerGas === "bigint" && {
|
|
@@ -12286,13 +12286,13 @@ var init_BlockOverrides = __esm(() => {
|
|
|
12286
12286
|
init_Withdrawal();
|
|
12287
12287
|
});
|
|
12288
12288
|
|
|
12289
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
12289
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/constants/contract.js
|
|
12290
12290
|
var aggregate3Signature = "0x82ad56cb";
|
|
12291
12291
|
|
|
12292
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
12292
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/constants/contracts.js
|
|
12293
12293
|
var deploylessCallViaBytecodeBytecode = "0x608060405234801561001057600080fd5b5060405161018e38038061018e83398101604081905261002f91610124565b6000808351602085016000f59050803b61004857600080fd5b6000808351602085016000855af16040513d6000823e81610067573d81fd5b3d81f35b634e487b7160e01b600052604160045260246000fd5b600082601f83011261009257600080fd5b81516001600160401b038111156100ab576100ab61006b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156100d9576100d961006b565b6040528181528382016020018510156100f157600080fd5b60005b82811015610110576020818601810151838301820152016100f4565b506000918101602001919091529392505050565b6000806040838503121561013757600080fd5b82516001600160401b0381111561014d57600080fd5b61015985828601610081565b602085015190935090506001600160401b0381111561017757600080fd5b61018385828601610081565b915050925092905056fe", deploylessCallViaFactoryBytecode = "0x608060405234801561001057600080fd5b506040516102c03803806102c083398101604081905261002f916101e6565b836001600160a01b03163b6000036100e457600080836001600160a01b03168360405161005c9190610270565b6000604051808303816000865af19150503d8060008114610099576040519150601f19603f3d011682016040523d82523d6000602084013e61009e565b606091505b50915091508115806100b857506001600160a01b0386163b155b156100e1578060405163101bb98d60e01b81526004016100d8919061028c565b60405180910390fd5b50505b6000808451602086016000885af16040513d6000823e81610103573d81fd5b3d81f35b80516001600160a01b038116811461011e57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561015457818101518382015260200161013c565b50506000910152565b600082601f83011261016e57600080fd5b81516001600160401b0381111561018757610187610123565b604051601f8201601f19908116603f011681016001600160401b03811182821017156101b5576101b5610123565b6040528181528382016020018510156101cd57600080fd5b6101de826020830160208701610139565b949350505050565b600080600080608085870312156101fc57600080fd5b61020585610107565b60208601519094506001600160401b0381111561022157600080fd5b61022d8782880161015d565b93505061023c60408601610107565b60608601519092506001600160401b0381111561025857600080fd5b6102648782880161015d565b91505092959194509250565b60008251610282818460208701610139565b9190910192915050565b60208152600082518060208401526102ab816040850160208701610139565b601f01601f1916919091016040019291505056fe", erc6492SignatureValidatorByteCode = "0x608060405234801561001057600080fd5b5060405161069438038061069483398101604081905261002f9161051e565b600061003c848484610048565b9050806000526001601ff35b60007f64926492649264926492649264926492649264926492649264926492649264926100748361040c565b036101e7576000606080848060200190518101906100929190610577565b60405192955090935091506000906001600160a01b038516906100b69085906105dd565b6000604051808303816000865af19150503d80600081146100f3576040519150601f19603f3d011682016040523d82523d6000602084013e6100f8565b606091505b50509050876001600160a01b03163b60000361016057806101605760405162461bcd60e51b815260206004820152601e60248201527f5369676e617475726556616c696461746f723a206465706c6f796d656e74000060448201526064015b60405180910390fd5b604051630b135d3f60e11b808252906001600160a01b038a1690631626ba7e90610190908b9087906004016105f9565b602060405180830381865afa1580156101ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d19190610633565b6001600160e01b03191614945050505050610405565b6001600160a01b0384163b1561027a57604051630b135d3f60e11b808252906001600160a01b03861690631626ba7e9061022790879087906004016105f9565b602060405180830381865afa158015610244573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102689190610633565b6001600160e01b031916149050610405565b81516041146102df5760405162461bcd60e51b815260206004820152603a602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e6174757265206c656e6774680000000000006064820152608401610157565b6102e7610425565b5060208201516040808401518451859392600091859190811061030c5761030c61065d565b016020015160f81c9050601b811480159061032b57508060ff16601c14155b1561038c5760405162461bcd60e51b815260206004820152603b602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e617475726520762076616c756500000000006064820152608401610157565b60408051600081526020810180835289905260ff83169181019190915260608101849052608081018390526001600160a01b0389169060019060a0016020604051602081039080840390855afa1580156103ea573d6000803e3d6000fd5b505050602060405103516001600160a01b0316149450505050505b9392505050565b600060208251101561041d57600080fd5b508051015190565b60405180606001604052806003906020820280368337509192915050565b6001600160a01b038116811461045857600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561048c578181015183820152602001610474565b50506000910152565b600082601f8301126104a657600080fd5b81516001600160401b038111156104bf576104bf61045b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156104ed576104ed61045b565b60405281815283820160200185101561050557600080fd5b610516826020830160208701610471565b949350505050565b60008060006060848603121561053357600080fd5b835161053e81610443565b6020850151604086015191945092506001600160401b0381111561056157600080fd5b61056d86828701610495565b9150509250925092565b60008060006060848603121561058c57600080fd5b835161059781610443565b60208501519093506001600160401b038111156105b357600080fd5b6105bf86828701610495565b604086015190935090506001600160401b0381111561056157600080fd5b600082516105ef818460208701610471565b9190910192915050565b828152604060208201526000825180604084015261061e816060850160208701610471565b601f01601f1916919091016060019392505050565b60006020828403121561064557600080fd5b81516001600160e01b03198116811461040557600080fd5b634e487b7160e01b600052603260045260246000fdfe5369676e617475726556616c696461746f72237265636f7665725369676e6572", multicall3Bytecode = "0x608060405234801561001057600080fd5b506115b9806100206000396000f3fe6080604052600436106100f35760003560e01c80634d2301cc1161008a578063a8b0574e11610059578063a8b0574e14610325578063bce38bd714610350578063c3077fa914610380578063ee82ac5e146103b2576100f3565b80634d2301cc1461026257806372425d9d1461029f57806382ad56cb146102ca57806386d516e8146102fa576100f3565b80633408e470116100c65780633408e470146101af578063399542e9146101da5780633e64a6961461020c57806342cbb15c14610237576100f3565b80630f28c97d146100f8578063174dea7114610123578063252dba421461015357806327e86d6e14610184575b600080fd5b34801561010457600080fd5b5061010d6103ef565b60405161011a9190610c0a565b60405180910390f35b61013d60048036038101906101389190610c94565b6103f7565b60405161014a9190610e94565b60405180910390f35b61016d60048036038101906101689190610f0c565b610615565b60405161017b92919061101b565b60405180910390f35b34801561019057600080fd5b506101996107ab565b6040516101a69190611064565b60405180910390f35b3480156101bb57600080fd5b506101c46107b7565b6040516101d19190610c0a565b60405180910390f35b6101f460048036038101906101ef91906110ab565b6107bf565b6040516102039392919061110b565b60405180910390f35b34801561021857600080fd5b506102216107e1565b60405161022e9190610c0a565b60405180910390f35b34801561024357600080fd5b5061024c6107e9565b6040516102599190610c0a565b60405180910390f35b34801561026e57600080fd5b50610289600480360381019061028491906111a7565b6107f1565b6040516102969190610c0a565b60405180910390f35b3480156102ab57600080fd5b506102b4610812565b6040516102c19190610c0a565b60405180910390f35b6102e460048036038101906102df919061122a565b61081a565b6040516102f19190610e94565b60405180910390f35b34801561030657600080fd5b5061030f6109e4565b60405161031c9190610c0a565b60405180910390f35b34801561033157600080fd5b5061033a6109ec565b6040516103479190611286565b60405180910390f35b61036a600480360381019061036591906110ab565b6109f4565b6040516103779190610e94565b60405180910390f35b61039a60048036038101906103959190610f0c565b610ba6565b6040516103a99392919061110b565b60405180910390f35b3480156103be57600080fd5b506103d960048036038101906103d491906112cd565b610bca565b6040516103e69190611064565b60405180910390f35b600042905090565b60606000808484905090508067ffffffffffffffff81111561041c5761041b6112fa565b5b60405190808252806020026020018201604052801561045557816020015b610442610bd5565b81526020019060019003908161043a5790505b5092503660005b828110156105c957600085828151811061047957610478611329565b5b6020026020010151905087878381811061049657610495611329565b5b90506020028101906104a89190611367565b925060008360400135905080860195508360000160208101906104cb91906111a7565b73ffffffffffffffffffffffffffffffffffffffff16818580606001906104f2919061138f565b604051610500929190611431565b60006040518083038185875af1925050503d806000811461053d576040519150601f19603f3d011682016040523d82523d6000602084013e610542565b606091505b5083600001846020018290528215151515815250505081516020850135176105bc577f08c379a000000000000000000000000000000000000000000000000000000000600052602060045260176024527f4d756c746963616c6c333a2063616c6c206661696c656400000000000000000060445260846000fd5b826001019250505061045c565b5082341461060c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610603906114a7565b60405180910390fd5b50505092915050565b6000606043915060008484905090508067ffffffffffffffff81111561063e5761063d6112fa565b5b60405190808252806020026020018201604052801561067157816020015b606081526020019060019003908161065c5790505b5091503660005b828110156107a157600087878381811061069557610694611329565b5b90506020028101906106a791906114c7565b92508260000160208101906106bc91906111a7565b73ffffffffffffffffffffffffffffffffffffffff168380602001906106e2919061138f565b6040516106f0929190611431565b6000604051808303816000865af19150503d806000811461072d576040519150601f19603f3d011682016040523d82523d6000602084013e610732565b606091505b5086848151811061074657610745611329565b5b60200260200101819052819250505080610795576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078c9061153b565b60405180910390fd5b81600101915050610678565b5050509250929050565b60006001430340905090565b600046905090565b6000806060439250434091506107d68686866109f4565b905093509350939050565b600048905090565b600043905090565b60008173ffffffffffffffffffffffffffffffffffffffff16319050919050565b600044905090565b606060008383905090508067ffffffffffffffff81111561083e5761083d6112fa565b5b60405190808252806020026020018201604052801561087757816020015b610864610bd5565b81526020019060019003908161085c5790505b5091503660005b828110156109db57600084828151811061089b5761089a611329565b5b602002602001015190508686838181106108b8576108b7611329565b5b90506020028101906108ca919061155b565b92508260000160208101906108df91906111a7565b73ffffffffffffffffffffffffffffffffffffffff16838060400190610905919061138f565b604051610913929190611431565b6000604051808303816000865af19150503d8060008114610950576040519150601f19603f3d011682016040523d82523d6000602084013e610955565b606091505b5082600001836020018290528215151515815250505080516020840135176109cf577f08c379a000000000000000000000000000000000000000000000000000000000600052602060045260176024527f4d756c746963616c6c333a2063616c6c206661696c656400000000000000000060445260646000fd5b8160010191505061087e565b50505092915050565b600045905090565b600041905090565b606060008383905090508067ffffffffffffffff811115610a1857610a176112fa565b5b604051908082528060200260200182016040528015610a5157816020015b610a3e610bd5565b815260200190600190039081610a365790505b5091503660005b82811015610b9c576000848281518110610a7557610a74611329565b5b60200260200101519050868683818110610a9257610a91611329565b5b9050602002810190610aa491906114c7565b9250826000016020810190610ab991906111a7565b73ffffffffffffffffffffffffffffffffffffffff16838060200190610adf919061138f565b604051610aed929190611431565b6000604051808303816000865af19150503d8060008114610b2a576040519150601f19603f3d011682016040523d82523d6000602084013e610b2f565b606091505b508260000183602001829052821515151581525050508715610b90578060000151610b8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b869061153b565b60405180910390fd5b5b81600101915050610a58565b5050509392505050565b6000806060610bb7600186866107bf565b8093508194508295505050509250925092565b600081409050919050565b6040518060400160405280600015158152602001606081525090565b6000819050919050565b610c0481610bf1565b82525050565b6000602082019050610c1f6000830184610bfb565b92915050565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b60008083601f840112610c5457610c53610c2f565b5b8235905067ffffffffffffffff811115610c7157610c70610c34565b5b602083019150836020820283011115610c8d57610c8c610c39565b5b9250929050565b60008060208385031215610cab57610caa610c25565b5b600083013567ffffffffffffffff811115610cc957610cc8610c2a565b5b610cd585828601610c3e565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b60008115159050919050565b610d2281610d0d565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610d62578082015181840152602081019050610d47565b83811115610d71576000848401525b50505050565b6000601f19601f8301169050919050565b6000610d9382610d28565b610d9d8185610d33565b9350610dad818560208601610d44565b610db681610d77565b840191505092915050565b6000604083016000830151610dd96000860182610d19565b5060208301518482036020860152610df18282610d88565b9150508091505092915050565b6000610e0a8383610dc1565b905092915050565b6000602082019050919050565b6000610e2a82610ce1565b610e348185610cec565b935083602082028501610e4685610cfd565b8060005b85811015610e825784840389528151610e638582610dfe565b9450610e6e83610e12565b925060208a01995050600181019050610e4a565b50829750879550505050505092915050565b60006020820190508181036000830152610eae8184610e1f565b905092915050565b60008083601f840112610ecc57610ecb610c2f565b5b8235905067ffffffffffffffff811115610ee957610ee8610c34565b5b602083019150836020820283011115610f0557610f04610c39565b5b9250929050565b60008060208385031215610f2357610f22610c25565b5b600083013567ffffffffffffffff811115610f4157610f40610c2a565b5b610f4d85828601610eb6565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000610f918383610d88565b905092915050565b6000602082019050919050565b6000610fb182610f59565b610fbb8185610f64565b935083602082028501610fcd85610f75565b8060005b858110156110095784840389528151610fea8582610f85565b9450610ff583610f99565b925060208a01995050600181019050610fd1565b50829750879550505050505092915050565b60006040820190506110306000830185610bfb565b81810360208301526110428184610fa6565b90509392505050565b6000819050919050565b61105e8161104b565b82525050565b60006020820190506110796000830184611055565b92915050565b61108881610d0d565b811461109357600080fd5b50565b6000813590506110a58161107f565b92915050565b6000806000604084860312156110c4576110c3610c25565b5b60006110d286828701611096565b935050602084013567ffffffffffffffff8111156110f3576110f2610c2a565b5b6110ff86828701610eb6565b92509250509250925092565b60006060820190506111206000830186610bfb565b61112d6020830185611055565b818103604083015261113f8184610e1f565b9050949350505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061117482611149565b9050919050565b61118481611169565b811461118f57600080fd5b50565b6000813590506111a18161117b565b92915050565b6000602082840312156111bd576111bc610c25565b5b60006111cb84828501611192565b91505092915050565b60008083601f8401126111ea576111e9610c2f565b5b8235905067ffffffffffffffff81111561120757611206610c34565b5b60208301915083602082028301111561122357611222610c39565b5b9250929050565b6000806020838503121561124157611240610c25565b5b600083013567ffffffffffffffff81111561125f5761125e610c2a565b5b61126b858286016111d4565b92509250509250929050565b61128081611169565b82525050565b600060208201905061129b6000830184611277565b92915050565b6112aa81610bf1565b81146112b557600080fd5b50565b6000813590506112c7816112a1565b92915050565b6000602082840312156112e3576112e2610c25565b5b60006112f1848285016112b8565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b600080fd5b600080fd5b60008235600160800383360303811261138357611382611358565b5b80830191505092915050565b600080833560016020038436030381126113ac576113ab611358565b5b80840192508235915067ffffffffffffffff8211156113ce576113cd61135d565b5b6020830192506001820236038313156113ea576113e9611362565b5b509250929050565b600081905092915050565b82818337600083830152505050565b600061141883856113f2565b93506114258385846113fd565b82840190509392505050565b600061143e82848661140c565b91508190509392505050565b600082825260208201905092915050565b7f4d756c746963616c6c333a2076616c7565206d69736d61746368000000000000600082015250565b6000611491601a8361144a565b915061149c8261145b565b602082019050919050565b600060208201905081810360008301526114c081611484565b9050919050565b6000823560016040038336030381126114e3576114e2611358565b5b80830191505092915050565b7f4d756c746963616c6c333a2063616c6c206661696c6564000000000000000000600082015250565b600061152560178361144a565b9150611530826114ef565b602082019050919050565b6000602082019050818103600083015261155481611518565b9050919050565b60008235600160600383360303811261157757611576611358565b5b8083019150509291505056fea264697066735822122020c1bc9aacf8e4a6507193432a895a8e77094f45a1395583f07b24e860ef06cd64736f6c634300080c0033";
|
|
12294
12294
|
|
|
12295
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
12295
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/abi/encodeDeployData.js
|
|
12296
12296
|
function encodeDeployData(parameters) {
|
|
12297
12297
|
const { abi, args, bytecode } = parameters;
|
|
12298
12298
|
if (!args || args.length === 0)
|
|
@@ -12313,7 +12313,7 @@ var init_encodeDeployData = __esm(() => {
|
|
|
12313
12313
|
init_encodeAbiParameters();
|
|
12314
12314
|
});
|
|
12315
12315
|
|
|
12316
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
12316
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/errors/getNodeError.js
|
|
12317
12317
|
function getNodeError(err, args) {
|
|
12318
12318
|
const message = (err.details || "").toLowerCase();
|
|
12319
12319
|
const executionRevertedError = err instanceof BaseError ? err.walk((e) => e?.code === ExecutionRevertedError.code) : err;
|
|
@@ -12366,7 +12366,7 @@ var init_getNodeError = __esm(() => {
|
|
|
12366
12366
|
init_node();
|
|
12367
12367
|
});
|
|
12368
12368
|
|
|
12369
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
12369
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/errors/getCallError.js
|
|
12370
12370
|
function getCallError(err, { docsPath: docsPath6, ...args }) {
|
|
12371
12371
|
const cause = (() => {
|
|
12372
12372
|
const cause2 = getNodeError(err, args);
|
|
@@ -12385,7 +12385,7 @@ var init_getCallError = __esm(() => {
|
|
|
12385
12385
|
init_getNodeError();
|
|
12386
12386
|
});
|
|
12387
12387
|
|
|
12388
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
12388
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/formatters/extract.js
|
|
12389
12389
|
function extract(value_, { format }) {
|
|
12390
12390
|
if (!format)
|
|
12391
12391
|
return {};
|
|
@@ -12404,7 +12404,7 @@ function extract(value_, { format }) {
|
|
|
12404
12404
|
return value;
|
|
12405
12405
|
}
|
|
12406
12406
|
|
|
12407
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
12407
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/formatters/formatter.js
|
|
12408
12408
|
function defineFormatter(type, format) {
|
|
12409
12409
|
return ({ exclude, format: overrides }) => {
|
|
12410
12410
|
return {
|
|
@@ -12426,7 +12426,7 @@ function defineFormatter(type, format) {
|
|
|
12426
12426
|
};
|
|
12427
12427
|
}
|
|
12428
12428
|
|
|
12429
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
12429
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/formatters/transactionRequest.js
|
|
12430
12430
|
function formatTransactionRequest(request, _) {
|
|
12431
12431
|
const rpcRequest = {};
|
|
12432
12432
|
if (typeof request.authorizationList !== "undefined")
|
|
@@ -12490,7 +12490,7 @@ var init_transactionRequest = __esm(() => {
|
|
|
12490
12490
|
};
|
|
12491
12491
|
});
|
|
12492
12492
|
|
|
12493
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
12493
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/promise/withResolvers.js
|
|
12494
12494
|
function withResolvers() {
|
|
12495
12495
|
let resolve = () => {
|
|
12496
12496
|
return;
|
|
@@ -12505,7 +12505,7 @@ function withResolvers() {
|
|
|
12505
12505
|
return { promise: promise2, resolve, reject };
|
|
12506
12506
|
}
|
|
12507
12507
|
|
|
12508
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
12508
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/promise/createBatchScheduler.js
|
|
12509
12509
|
function createBatchScheduler({ fn, id, shouldSplitBatch, wait = 0, sort }) {
|
|
12510
12510
|
const exec2 = async () => {
|
|
12511
12511
|
const scheduler = getScheduler();
|
|
@@ -12554,7 +12554,7 @@ var init_createBatchScheduler = __esm(() => {
|
|
|
12554
12554
|
schedulerCache = /* @__PURE__ */ new Map;
|
|
12555
12555
|
});
|
|
12556
12556
|
|
|
12557
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
12557
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/stateOverride.js
|
|
12558
12558
|
function serializeStateMapping(stateMapping) {
|
|
12559
12559
|
if (!stateMapping || stateMapping.length === 0)
|
|
12560
12560
|
return;
|
|
@@ -12614,7 +12614,7 @@ var init_stateOverride2 = __esm(() => {
|
|
|
12614
12614
|
init_toHex();
|
|
12615
12615
|
});
|
|
12616
12616
|
|
|
12617
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
12617
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/transaction/assertRequest.js
|
|
12618
12618
|
function assertRequest(args) {
|
|
12619
12619
|
const { account: account_, maxFeePerGas, maxPriorityFeePerGas, to } = args;
|
|
12620
12620
|
const account = account_ ? parseAccount2(account_) : undefined;
|
|
@@ -12634,7 +12634,7 @@ var init_assertRequest = __esm(() => {
|
|
|
12634
12634
|
init_isAddress();
|
|
12635
12635
|
});
|
|
12636
12636
|
|
|
12637
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
12637
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/errors/ccip.js
|
|
12638
12638
|
var OffchainLookupError, OffchainLookupResponseMalformedError, OffchainLookupSenderMismatchError;
|
|
12639
12639
|
var init_ccip = __esm(() => {
|
|
12640
12640
|
init_base();
|
|
@@ -12683,7 +12683,7 @@ var init_ccip = __esm(() => {
|
|
|
12683
12683
|
};
|
|
12684
12684
|
});
|
|
12685
12685
|
|
|
12686
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
12686
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/address/isAddressEqual.js
|
|
12687
12687
|
function isAddressEqual(a, b) {
|
|
12688
12688
|
if (!isAddress(a, { strict: false }))
|
|
12689
12689
|
throw new InvalidAddressError({ address: a });
|
|
@@ -12696,7 +12696,7 @@ var init_isAddressEqual = __esm(() => {
|
|
|
12696
12696
|
init_isAddress();
|
|
12697
12697
|
});
|
|
12698
12698
|
|
|
12699
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
12699
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/ccip.js
|
|
12700
12700
|
var exports_ccip = {};
|
|
12701
12701
|
__export(exports_ccip, {
|
|
12702
12702
|
offchainLookupSignature: () => offchainLookupSignature,
|
|
@@ -12824,7 +12824,7 @@ var init_ccip2 = __esm(() => {
|
|
|
12824
12824
|
};
|
|
12825
12825
|
});
|
|
12826
12826
|
|
|
12827
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
12827
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/call.js
|
|
12828
12828
|
async function call(client, args) {
|
|
12829
12829
|
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;
|
|
12830
12830
|
const account = account_ ? parseAccount2(account_) : undefined;
|
|
@@ -75123,17 +75123,17 @@ var ConfigSchema = exports_external.object({
|
|
|
75123
75123
|
wallet: WalletConfigSchema,
|
|
75124
75124
|
env: exports_external.record(exports_external.string(), exports_external.union([exports_external.number(), exports_external.string()])).optional()
|
|
75125
75125
|
});
|
|
75126
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
75126
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/accounts/generatePrivateKey.js
|
|
75127
75127
|
init_secp256k1();
|
|
75128
75128
|
init_toHex();
|
|
75129
75129
|
function generatePrivateKey() {
|
|
75130
75130
|
return toHex(secp256k1.utils.randomPrivateKey());
|
|
75131
75131
|
}
|
|
75132
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
75132
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/accounts/privateKeyToAccount.js
|
|
75133
75133
|
init_secp256k1();
|
|
75134
75134
|
init_toHex();
|
|
75135
75135
|
|
|
75136
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
75136
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/accounts/toAccount.js
|
|
75137
75137
|
init_address();
|
|
75138
75138
|
init_isAddress();
|
|
75139
75139
|
function toAccount(source) {
|
|
@@ -75160,7 +75160,7 @@ function toAccount(source) {
|
|
|
75160
75160
|
};
|
|
75161
75161
|
}
|
|
75162
75162
|
|
|
75163
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
75163
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/accounts/utils/publicKeyToAddress.js
|
|
75164
75164
|
init_getAddress();
|
|
75165
75165
|
init_keccak256();
|
|
75166
75166
|
function publicKeyToAddress(publicKey) {
|
|
@@ -75168,12 +75168,12 @@ function publicKeyToAddress(publicKey) {
|
|
|
75168
75168
|
return checksumAddress(`0x${address}`);
|
|
75169
75169
|
}
|
|
75170
75170
|
|
|
75171
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
75171
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/accounts/utils/sign.js
|
|
75172
75172
|
init_secp256k1();
|
|
75173
75173
|
init_toBytes();
|
|
75174
75174
|
init_toHex();
|
|
75175
75175
|
|
|
75176
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
75176
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/signature/serializeSignature.js
|
|
75177
75177
|
init_secp256k1();
|
|
75178
75178
|
init_fromHex();
|
|
75179
75179
|
init_toBytes();
|
|
@@ -75191,7 +75191,7 @@ function serializeSignature({ r, s, to = "hex", v, yParity }) {
|
|
|
75191
75191
|
return hexToBytes2(signature);
|
|
75192
75192
|
}
|
|
75193
75193
|
|
|
75194
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
75194
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/accounts/utils/sign.js
|
|
75195
75195
|
var extraEntropy = false;
|
|
75196
75196
|
async function sign({ hash: hash2, privateKey, to = "object" }) {
|
|
75197
75197
|
const { r, s, recovery } = secp256k1.sign(hash2.slice(2), privateKey.slice(2), {
|
|
@@ -75211,11 +75211,11 @@ async function sign({ hash: hash2, privateKey, to = "object" }) {
|
|
|
75211
75211
|
})();
|
|
75212
75212
|
}
|
|
75213
75213
|
|
|
75214
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
75214
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/authorization/hashAuthorization.js
|
|
75215
75215
|
init_toBytes();
|
|
75216
75216
|
init_toHex();
|
|
75217
75217
|
|
|
75218
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
75218
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/encoding/toRlp.js
|
|
75219
75219
|
init_base();
|
|
75220
75220
|
init_cursor2();
|
|
75221
75221
|
init_toBytes();
|
|
@@ -75308,7 +75308,7 @@ function getSizeOfLength(length) {
|
|
|
75308
75308
|
throw new BaseError("Length is too large.");
|
|
75309
75309
|
}
|
|
75310
75310
|
|
|
75311
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
75311
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/authorization/hashAuthorization.js
|
|
75312
75312
|
init_keccak256();
|
|
75313
75313
|
function hashAuthorization(parameters) {
|
|
75314
75314
|
const { chainId, nonce, to } = parameters;
|
|
@@ -75326,7 +75326,7 @@ function hashAuthorization(parameters) {
|
|
|
75326
75326
|
return hash2;
|
|
75327
75327
|
}
|
|
75328
75328
|
|
|
75329
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
75329
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/accounts/utils/signAuthorization.js
|
|
75330
75330
|
async function signAuthorization(parameters) {
|
|
75331
75331
|
const { chainId, nonce, privateKey, to = "object" } = parameters;
|
|
75332
75332
|
const address = parameters.contractAddress ?? parameters.address;
|
|
@@ -75345,14 +75345,14 @@ async function signAuthorization(parameters) {
|
|
|
75345
75345
|
return signature;
|
|
75346
75346
|
}
|
|
75347
75347
|
|
|
75348
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
75348
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/signature/hashMessage.js
|
|
75349
75349
|
init_keccak256();
|
|
75350
75350
|
|
|
75351
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
75351
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/constants/strings.js
|
|
75352
75352
|
var presignMessagePrefix = `\x19Ethereum Signed Message:
|
|
75353
75353
|
`;
|
|
75354
75354
|
|
|
75355
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
75355
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/signature/toPrefixedMessage.js
|
|
75356
75356
|
init_size();
|
|
75357
75357
|
init_toHex();
|
|
75358
75358
|
function toPrefixedMessage(message_) {
|
|
@@ -75367,23 +75367,23 @@ function toPrefixedMessage(message_) {
|
|
|
75367
75367
|
return concat([prefix, message]);
|
|
75368
75368
|
}
|
|
75369
75369
|
|
|
75370
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
75370
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/signature/hashMessage.js
|
|
75371
75371
|
function hashMessage(message, to_) {
|
|
75372
75372
|
return keccak256(toPrefixedMessage(message), to_);
|
|
75373
75373
|
}
|
|
75374
75374
|
|
|
75375
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
75375
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/accounts/utils/signMessage.js
|
|
75376
75376
|
async function signMessage({ message, privateKey }) {
|
|
75377
75377
|
return await sign({ hash: hashMessage(message), privateKey, to: "hex" });
|
|
75378
75378
|
}
|
|
75379
75379
|
|
|
75380
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
75380
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/accounts/utils/signTransaction.js
|
|
75381
75381
|
init_keccak256();
|
|
75382
75382
|
|
|
75383
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
75383
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/transaction/serializeTransaction.js
|
|
75384
75384
|
init_transaction();
|
|
75385
75385
|
|
|
75386
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
75386
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/authorization/serializeAuthorizationList.js
|
|
75387
75387
|
init_toHex();
|
|
75388
75388
|
function serializeAuthorizationList(authorizationList) {
|
|
75389
75389
|
if (!authorizationList || authorizationList.length === 0)
|
|
@@ -75402,7 +75402,7 @@ function serializeAuthorizationList(authorizationList) {
|
|
|
75402
75402
|
return serializedAuthorizationList;
|
|
75403
75403
|
}
|
|
75404
75404
|
|
|
75405
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
75405
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/blob/blobsToCommitments.js
|
|
75406
75406
|
init_toBytes();
|
|
75407
75407
|
init_toHex();
|
|
75408
75408
|
function blobsToCommitments(parameters) {
|
|
@@ -75415,7 +75415,7 @@ function blobsToCommitments(parameters) {
|
|
|
75415
75415
|
return to === "bytes" ? commitments : commitments.map((x) => bytesToHex2(x));
|
|
75416
75416
|
}
|
|
75417
75417
|
|
|
75418
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
75418
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/blob/blobsToProofs.js
|
|
75419
75419
|
init_toBytes();
|
|
75420
75420
|
init_toHex();
|
|
75421
75421
|
function blobsToProofs(parameters) {
|
|
@@ -75432,14 +75432,14 @@ function blobsToProofs(parameters) {
|
|
|
75432
75432
|
return to === "bytes" ? proofs : proofs.map((x) => bytesToHex2(x));
|
|
75433
75433
|
}
|
|
75434
75434
|
|
|
75435
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
75435
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/blob/commitmentToVersionedHash.js
|
|
75436
75436
|
init_toHex();
|
|
75437
75437
|
|
|
75438
75438
|
// ../../node_modules/.bun/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/sha256.js
|
|
75439
75439
|
init_sha2();
|
|
75440
75440
|
var sha2562 = sha256;
|
|
75441
75441
|
|
|
75442
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
75442
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/hash/sha256.js
|
|
75443
75443
|
init_toBytes();
|
|
75444
75444
|
init_toHex();
|
|
75445
75445
|
function sha2563(value, to_) {
|
|
@@ -75450,7 +75450,7 @@ function sha2563(value, to_) {
|
|
|
75450
75450
|
return toHex(bytes);
|
|
75451
75451
|
}
|
|
75452
75452
|
|
|
75453
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
75453
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/blob/commitmentToVersionedHash.js
|
|
75454
75454
|
function commitmentToVersionedHash(parameters) {
|
|
75455
75455
|
const { commitment, version: version3 = 1 } = parameters;
|
|
75456
75456
|
const to = parameters.to ?? (typeof commitment === "string" ? "hex" : "bytes");
|
|
@@ -75459,7 +75459,7 @@ function commitmentToVersionedHash(parameters) {
|
|
|
75459
75459
|
return to === "bytes" ? versionedHash : bytesToHex2(versionedHash);
|
|
75460
75460
|
}
|
|
75461
75461
|
|
|
75462
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
75462
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/blob/commitmentsToVersionedHashes.js
|
|
75463
75463
|
function commitmentsToVersionedHashes(parameters) {
|
|
75464
75464
|
const { commitments, version: version3 } = parameters;
|
|
75465
75465
|
const to = parameters.to ?? (typeof commitments[0] === "string" ? "hex" : "bytes");
|
|
@@ -75474,17 +75474,17 @@ function commitmentsToVersionedHashes(parameters) {
|
|
|
75474
75474
|
return hashes;
|
|
75475
75475
|
}
|
|
75476
75476
|
|
|
75477
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
75477
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/constants/blob.js
|
|
75478
75478
|
var blobsPerTransaction = 6;
|
|
75479
75479
|
var bytesPerFieldElement = 32;
|
|
75480
75480
|
var fieldElementsPerBlob = 4096;
|
|
75481
75481
|
var bytesPerBlob = bytesPerFieldElement * fieldElementsPerBlob;
|
|
75482
75482
|
var maxBytesPerTransaction = bytesPerBlob * blobsPerTransaction - 1 - 1 * fieldElementsPerBlob * blobsPerTransaction;
|
|
75483
75483
|
|
|
75484
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
75484
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/constants/kzg.js
|
|
75485
75485
|
var versionedHashVersionKzg = 1;
|
|
75486
75486
|
|
|
75487
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
75487
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/errors/blob.js
|
|
75488
75488
|
init_base();
|
|
75489
75489
|
|
|
75490
75490
|
class BlobSizeTooLargeError extends BaseError {
|
|
@@ -75523,7 +75523,7 @@ class InvalidVersionedHashVersionError extends BaseError {
|
|
|
75523
75523
|
}
|
|
75524
75524
|
}
|
|
75525
75525
|
|
|
75526
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
75526
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/blob/toBlobs.js
|
|
75527
75527
|
init_cursor2();
|
|
75528
75528
|
init_size();
|
|
75529
75529
|
init_toBytes();
|
|
@@ -75562,7 +75562,7 @@ function toBlobs(parameters) {
|
|
|
75562
75562
|
return to === "bytes" ? blobs.map((x) => x.bytes) : blobs.map((x) => bytesToHex2(x.bytes));
|
|
75563
75563
|
}
|
|
75564
75564
|
|
|
75565
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
75565
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/blob/toBlobSidecars.js
|
|
75566
75566
|
function toBlobSidecars(parameters) {
|
|
75567
75567
|
const { data, kzg, to } = parameters;
|
|
75568
75568
|
const blobs = parameters.blobs ?? toBlobs({ data, to });
|
|
@@ -75578,10 +75578,10 @@ function toBlobSidecars(parameters) {
|
|
|
75578
75578
|
return sidecars;
|
|
75579
75579
|
}
|
|
75580
75580
|
|
|
75581
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
75581
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/transaction/serializeTransaction.js
|
|
75582
75582
|
init_toHex();
|
|
75583
75583
|
|
|
75584
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
75584
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/transaction/assertTransaction.js
|
|
75585
75585
|
init_number();
|
|
75586
75586
|
init_address();
|
|
75587
75587
|
init_base();
|
|
@@ -75658,7 +75658,7 @@ function assertTransactionLegacy(transaction) {
|
|
|
75658
75658
|
throw new FeeCapTooHighError({ maxFeePerGas: gasPrice });
|
|
75659
75659
|
}
|
|
75660
75660
|
|
|
75661
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
75661
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/transaction/getTransactionType.js
|
|
75662
75662
|
init_transaction();
|
|
75663
75663
|
function getTransactionType(transaction) {
|
|
75664
75664
|
if (transaction.type)
|
|
@@ -75678,7 +75678,7 @@ function getTransactionType(transaction) {
|
|
|
75678
75678
|
throw new InvalidSerializableTransactionError({ transaction });
|
|
75679
75679
|
}
|
|
75680
75680
|
|
|
75681
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
75681
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/transaction/serializeAccessList.js
|
|
75682
75682
|
init_address();
|
|
75683
75683
|
init_transaction();
|
|
75684
75684
|
init_isAddress();
|
|
@@ -75701,7 +75701,7 @@ function serializeAccessList(accessList) {
|
|
|
75701
75701
|
return serializedAccessList;
|
|
75702
75702
|
}
|
|
75703
75703
|
|
|
75704
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
75704
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/transaction/serializeTransaction.js
|
|
75705
75705
|
function serializeTransaction(transaction, signature) {
|
|
75706
75706
|
const type = getTransactionType(transaction);
|
|
75707
75707
|
if (type === "eip1559")
|
|
@@ -75895,7 +75895,7 @@ function toYParitySignatureArray(transaction, signature_) {
|
|
|
75895
75895
|
return [yParity_, r === "0x00" ? "0x" : r, s === "0x00" ? "0x" : s];
|
|
75896
75896
|
}
|
|
75897
75897
|
|
|
75898
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
75898
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/accounts/utils/signTransaction.js
|
|
75899
75899
|
async function signTransaction(parameters) {
|
|
75900
75900
|
const { privateKey, transaction, serializer = serializeTransaction } = parameters;
|
|
75901
75901
|
const signableTransaction = (() => {
|
|
@@ -75913,16 +75913,16 @@ async function signTransaction(parameters) {
|
|
|
75913
75913
|
return await serializer(transaction, signature);
|
|
75914
75914
|
}
|
|
75915
75915
|
|
|
75916
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
75916
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/signature/hashTypedData.js
|
|
75917
75917
|
init_encodeAbiParameters();
|
|
75918
75918
|
init_toHex();
|
|
75919
75919
|
init_keccak256();
|
|
75920
75920
|
|
|
75921
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
75921
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/typedData.js
|
|
75922
75922
|
init_abi();
|
|
75923
75923
|
init_address();
|
|
75924
75924
|
|
|
75925
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
75925
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/errors/typedData.js
|
|
75926
75926
|
init_base();
|
|
75927
75927
|
|
|
75928
75928
|
class InvalidDomainError extends BaseError {
|
|
@@ -75951,7 +75951,7 @@ class InvalidStructTypeError extends BaseError {
|
|
|
75951
75951
|
}
|
|
75952
75952
|
}
|
|
75953
75953
|
|
|
75954
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
75954
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/typedData.js
|
|
75955
75955
|
init_isAddress();
|
|
75956
75956
|
init_size();
|
|
75957
75957
|
init_toHex();
|
|
@@ -76020,7 +76020,7 @@ function validateReference(type) {
|
|
|
76020
76020
|
throw new InvalidStructTypeError({ type });
|
|
76021
76021
|
}
|
|
76022
76022
|
|
|
76023
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
76023
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/signature/hashTypedData.js
|
|
76024
76024
|
function hashTypedData(parameters) {
|
|
76025
76025
|
const { domain: domain2 = {}, message, primaryType } = parameters;
|
|
76026
76026
|
const types = {
|
|
@@ -76130,7 +76130,7 @@ function encodeField({ types, name, type, value }) {
|
|
|
76130
76130
|
return [{ type }, value];
|
|
76131
76131
|
}
|
|
76132
76132
|
|
|
76133
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
76133
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/accounts/utils/signTypedData.js
|
|
76134
76134
|
async function signTypedData(parameters) {
|
|
76135
76135
|
const { privateKey, ...typedData } = parameters;
|
|
76136
76136
|
return await sign({
|
|
@@ -76140,7 +76140,7 @@ async function signTypedData(parameters) {
|
|
|
76140
76140
|
});
|
|
76141
76141
|
}
|
|
76142
76142
|
|
|
76143
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
76143
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/accounts/privateKeyToAccount.js
|
|
76144
76144
|
function privateKeyToAccount(privateKey, options = {}) {
|
|
76145
76145
|
const { nonceManager } = options;
|
|
76146
76146
|
const publicKey = toHex(secp256k1.getPublicKey(privateKey.slice(2), false));
|
|
@@ -76170,7 +76170,7 @@ function privateKeyToAccount(privateKey, options = {}) {
|
|
|
76170
76170
|
source: "privateKey"
|
|
76171
76171
|
};
|
|
76172
76172
|
}
|
|
76173
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
76173
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/uid.js
|
|
76174
76174
|
var size2 = 256;
|
|
76175
76175
|
var index = size2;
|
|
76176
76176
|
var buffer;
|
|
@@ -76185,7 +76185,7 @@ function uid(length = 11) {
|
|
|
76185
76185
|
return buffer.substring(index, index++ + length);
|
|
76186
76186
|
}
|
|
76187
76187
|
|
|
76188
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
76188
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/clients/createClient.js
|
|
76189
76189
|
function createClient(parameters) {
|
|
76190
76190
|
const { batch, chain, ccipRead, dataSuffix, key = "base", name = "Base Client", type = "base" } = parameters;
|
|
76191
76191
|
const experimental_blockTag = parameters.experimental_blockTag ?? (typeof chain?.experimental_preconfirmationTime === "number" ? "pending" : undefined);
|
|
@@ -76228,14 +76228,14 @@ function createClient(parameters) {
|
|
|
76228
76228
|
return Object.assign(client, { extend: extend2(client) });
|
|
76229
76229
|
}
|
|
76230
76230
|
|
|
76231
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
76231
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/ens/getEnsAddress.js
|
|
76232
76232
|
init_abis();
|
|
76233
76233
|
init_decodeFunctionResult();
|
|
76234
76234
|
init_encodeFunctionData();
|
|
76235
76235
|
init_getChainContractAddress();
|
|
76236
76236
|
init_toHex();
|
|
76237
76237
|
|
|
76238
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
76238
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/ens/errors.js
|
|
76239
76239
|
init_base();
|
|
76240
76240
|
init_contract();
|
|
76241
76241
|
function isNullUniversalResolverError(err) {
|
|
@@ -76259,15 +76259,15 @@ function isNullUniversalResolverError(err) {
|
|
|
76259
76259
|
return false;
|
|
76260
76260
|
}
|
|
76261
76261
|
|
|
76262
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
76262
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/ens/getEnsAddress.js
|
|
76263
76263
|
init_localBatchGatewayRequest();
|
|
76264
76264
|
|
|
76265
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
76265
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/ens/namehash.js
|
|
76266
76266
|
init_toBytes();
|
|
76267
76267
|
init_toHex();
|
|
76268
76268
|
init_keccak256();
|
|
76269
76269
|
|
|
76270
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
76270
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/ens/encodedLabelToLabelhash.js
|
|
76271
76271
|
function encodedLabelToLabelhash(label) {
|
|
76272
76272
|
if (label.length !== 66)
|
|
76273
76273
|
return null;
|
|
@@ -76281,7 +76281,7 @@ function encodedLabelToLabelhash(label) {
|
|
|
76281
76281
|
return hash3;
|
|
76282
76282
|
}
|
|
76283
76283
|
|
|
76284
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
76284
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/ens/namehash.js
|
|
76285
76285
|
function namehash(name) {
|
|
76286
76286
|
let result = new Uint8Array(32).fill(0);
|
|
76287
76287
|
if (!name)
|
|
@@ -76295,15 +76295,15 @@ function namehash(name) {
|
|
|
76295
76295
|
return bytesToHex2(result);
|
|
76296
76296
|
}
|
|
76297
76297
|
|
|
76298
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
76298
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/ens/packetToBytes.js
|
|
76299
76299
|
init_toBytes();
|
|
76300
76300
|
|
|
76301
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
76301
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/ens/encodeLabelhash.js
|
|
76302
76302
|
function encodeLabelhash(hash3) {
|
|
76303
76303
|
return `[${hash3.slice(2)}]`;
|
|
76304
76304
|
}
|
|
76305
76305
|
|
|
76306
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
76306
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/ens/labelhash.js
|
|
76307
76307
|
init_toBytes();
|
|
76308
76308
|
init_toHex();
|
|
76309
76309
|
init_keccak256();
|
|
@@ -76314,7 +76314,7 @@ function labelhash(label) {
|
|
|
76314
76314
|
return encodedLabelToLabelhash(label) || keccak256(stringToBytes(label));
|
|
76315
76315
|
}
|
|
76316
76316
|
|
|
76317
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
76317
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/ens/packetToBytes.js
|
|
76318
76318
|
function packetToBytes(packet) {
|
|
76319
76319
|
const value = packet.replace(/^\.|\.$/gm, "");
|
|
76320
76320
|
if (value.length === 0)
|
|
@@ -76335,7 +76335,7 @@ function packetToBytes(packet) {
|
|
|
76335
76335
|
return bytes;
|
|
76336
76336
|
}
|
|
76337
76337
|
|
|
76338
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
76338
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/getAction.js
|
|
76339
76339
|
function getAction(client, actionFn, name) {
|
|
76340
76340
|
const action_implicit = client[actionFn.name];
|
|
76341
76341
|
if (typeof action_implicit === "function")
|
|
@@ -76346,11 +76346,11 @@ function getAction(client, actionFn, name) {
|
|
|
76346
76346
|
return (params) => actionFn(client, params);
|
|
76347
76347
|
}
|
|
76348
76348
|
|
|
76349
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
76349
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/readContract.js
|
|
76350
76350
|
init_decodeFunctionResult();
|
|
76351
76351
|
init_encodeFunctionData();
|
|
76352
76352
|
|
|
76353
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
76353
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/errors/getContractError.js
|
|
76354
76354
|
init_abi();
|
|
76355
76355
|
init_base();
|
|
76356
76356
|
init_contract();
|
|
@@ -76383,7 +76383,7 @@ function getContractError(err, { abi, address, args, docsPath: docsPath5, functi
|
|
|
76383
76383
|
});
|
|
76384
76384
|
}
|
|
76385
76385
|
|
|
76386
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
76386
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/readContract.js
|
|
76387
76387
|
init_call();
|
|
76388
76388
|
async function readContract(client, parameters) {
|
|
76389
76389
|
const { abi, address, args, functionName, ...rest } = parameters;
|
|
@@ -76415,7 +76415,7 @@ async function readContract(client, parameters) {
|
|
|
76415
76415
|
}
|
|
76416
76416
|
}
|
|
76417
76417
|
|
|
76418
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
76418
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/ens/getEnsAddress.js
|
|
76419
76419
|
async function getEnsAddress(client, parameters) {
|
|
76420
76420
|
const { blockNumber, blockTag, coinType, name, gatewayUrls, strict } = parameters;
|
|
76421
76421
|
const { chain } = client;
|
|
@@ -76480,7 +76480,7 @@ async function getEnsAddress(client, parameters) {
|
|
|
76480
76480
|
}
|
|
76481
76481
|
}
|
|
76482
76482
|
|
|
76483
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
76483
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/errors/ens.js
|
|
76484
76484
|
init_base();
|
|
76485
76485
|
|
|
76486
76486
|
class EnsAvatarInvalidMetadataError extends BaseError {
|
|
@@ -76516,7 +76516,7 @@ class EnsAvatarUnsupportedNamespaceError extends BaseError {
|
|
|
76516
76516
|
}
|
|
76517
76517
|
}
|
|
76518
76518
|
|
|
76519
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
76519
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/ens/avatar/utils.js
|
|
76520
76520
|
var networkRegex = /(?<protocol>https?:\/\/[^/]*|ipfs:\/|ipns:\/|ar:\/)?(?<root>\/)?(?<subpath>ipfs\/|ipns\/)?(?<target>[\w\-.]+)(?<subtarget>\/.*)?/;
|
|
76521
76521
|
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>\/.*)?$/;
|
|
76522
76522
|
var base64Regex = /^data:([a-zA-Z\-/+]*);base64,([^"].*)/;
|
|
@@ -76687,7 +76687,7 @@ async function getNftTokenUri(client, { nft }) {
|
|
|
76687
76687
|
throw new EnsAvatarUnsupportedNamespaceError({ namespace: nft.namespace });
|
|
76688
76688
|
}
|
|
76689
76689
|
|
|
76690
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
76690
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/ens/avatar/parseAvatarRecord.js
|
|
76691
76691
|
async function parseAvatarRecord(client, { gatewayUrls, record: record2 }) {
|
|
76692
76692
|
if (/eip155:/i.test(record2))
|
|
76693
76693
|
return parseNftAvatarUri(client, { gatewayUrls, record: record2 });
|
|
@@ -76711,7 +76711,7 @@ async function parseNftAvatarUri(client, { gatewayUrls, record: record2 }) {
|
|
|
76711
76711
|
});
|
|
76712
76712
|
}
|
|
76713
76713
|
|
|
76714
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
76714
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/ens/getEnsText.js
|
|
76715
76715
|
init_abis();
|
|
76716
76716
|
init_decodeFunctionResult();
|
|
76717
76717
|
init_encodeFunctionData();
|
|
@@ -76771,7 +76771,7 @@ async function getEnsText(client, parameters) {
|
|
|
76771
76771
|
}
|
|
76772
76772
|
}
|
|
76773
76773
|
|
|
76774
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
76774
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/ens/getEnsAvatar.js
|
|
76775
76775
|
async function getEnsAvatar(client, { blockNumber, blockTag, assetGatewayUrls, name, gatewayUrls, strict, universalResolverAddress }) {
|
|
76776
76776
|
const record2 = await getAction(client, getEnsText, "getEnsText")({
|
|
76777
76777
|
blockNumber,
|
|
@@ -76794,7 +76794,7 @@ async function getEnsAvatar(client, { blockNumber, blockTag, assetGatewayUrls, n
|
|
|
76794
76794
|
}
|
|
76795
76795
|
}
|
|
76796
76796
|
|
|
76797
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
76797
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/ens/getEnsName.js
|
|
76798
76798
|
init_abis();
|
|
76799
76799
|
init_getChainContractAddress();
|
|
76800
76800
|
init_localBatchGatewayRequest();
|
|
@@ -76833,7 +76833,7 @@ async function getEnsName(client, parameters) {
|
|
|
76833
76833
|
}
|
|
76834
76834
|
}
|
|
76835
76835
|
|
|
76836
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
76836
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/ens/getEnsResolver.js
|
|
76837
76837
|
init_getChainContractAddress();
|
|
76838
76838
|
init_toHex();
|
|
76839
76839
|
async function getEnsResolver(client, parameters) {
|
|
@@ -76876,10 +76876,10 @@ async function getEnsResolver(client, parameters) {
|
|
|
76876
76876
|
return resolverAddress;
|
|
76877
76877
|
}
|
|
76878
76878
|
|
|
76879
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
76879
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/clients/decorators/public.js
|
|
76880
76880
|
init_call();
|
|
76881
76881
|
|
|
76882
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
76882
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/createAccessList.js
|
|
76883
76883
|
init_toHex();
|
|
76884
76884
|
init_getCallError();
|
|
76885
76885
|
init_transactionRequest();
|
|
@@ -76923,7 +76923,7 @@ async function createAccessList(client, args) {
|
|
|
76923
76923
|
}
|
|
76924
76924
|
}
|
|
76925
76925
|
|
|
76926
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
76926
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/filters/createFilterRequestScope.js
|
|
76927
76927
|
function createFilterRequestScope(client, { method }) {
|
|
76928
76928
|
const requestMap = {};
|
|
76929
76929
|
if (client.transport.type === "fallback")
|
|
@@ -76934,7 +76934,7 @@ function createFilterRequestScope(client, { method }) {
|
|
|
76934
76934
|
return (id) => requestMap[id] || client.request;
|
|
76935
76935
|
}
|
|
76936
76936
|
|
|
76937
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
76937
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/createBlockFilter.js
|
|
76938
76938
|
async function createBlockFilter(client) {
|
|
76939
76939
|
const getRequest = createFilterRequestScope(client, {
|
|
76940
76940
|
method: "eth_newBlockFilter"
|
|
@@ -76945,10 +76945,10 @@ async function createBlockFilter(client) {
|
|
|
76945
76945
|
return { id, request: getRequest(id), type: "block" };
|
|
76946
76946
|
}
|
|
76947
76947
|
|
|
76948
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
76948
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/abi/encodeEventTopics.js
|
|
76949
76949
|
init_abi();
|
|
76950
76950
|
|
|
76951
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
76951
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/errors/log.js
|
|
76952
76952
|
init_base();
|
|
76953
76953
|
|
|
76954
76954
|
class FilterTypeNotSupportedError extends BaseError {
|
|
@@ -76959,7 +76959,7 @@ class FilterTypeNotSupportedError extends BaseError {
|
|
|
76959
76959
|
}
|
|
76960
76960
|
}
|
|
76961
76961
|
|
|
76962
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
76962
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/abi/encodeEventTopics.js
|
|
76963
76963
|
init_toBytes();
|
|
76964
76964
|
init_keccak256();
|
|
76965
76965
|
init_toEventSelector();
|
|
@@ -77002,7 +77002,7 @@ function encodeArg({ param, value }) {
|
|
|
77002
77002
|
return encodeAbiParameters([param], [value]);
|
|
77003
77003
|
}
|
|
77004
77004
|
|
|
77005
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
77005
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/createContractEventFilter.js
|
|
77006
77006
|
init_toHex();
|
|
77007
77007
|
async function createContractEventFilter(client, parameters) {
|
|
77008
77008
|
const { address, abi, args, eventName, fromBlock, strict, toBlock } = parameters;
|
|
@@ -77036,7 +77036,7 @@ async function createContractEventFilter(client, parameters) {
|
|
|
77036
77036
|
};
|
|
77037
77037
|
}
|
|
77038
77038
|
|
|
77039
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
77039
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/createEventFilter.js
|
|
77040
77040
|
init_toHex();
|
|
77041
77041
|
async function createEventFilter(client, { address, args, event, events: events_, fromBlock, strict, toBlock } = {}) {
|
|
77042
77042
|
const events = events_ ?? (event ? [event] : undefined);
|
|
@@ -77078,7 +77078,7 @@ async function createEventFilter(client, { address, args, event, events: events_
|
|
|
77078
77078
|
};
|
|
77079
77079
|
}
|
|
77080
77080
|
|
|
77081
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
77081
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/createPendingTransactionFilter.js
|
|
77082
77082
|
async function createPendingTransactionFilter(client) {
|
|
77083
77083
|
const getRequest = createFilterRequestScope(client, {
|
|
77084
77084
|
method: "eth_newPendingTransactionFilter"
|
|
@@ -77089,13 +77089,13 @@ async function createPendingTransactionFilter(client) {
|
|
|
77089
77089
|
return { id, request: getRequest(id), type: "transaction" };
|
|
77090
77090
|
}
|
|
77091
77091
|
|
|
77092
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
77092
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/estimateContractGas.js
|
|
77093
77093
|
init_encodeFunctionData();
|
|
77094
77094
|
|
|
77095
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
77095
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/estimateGas.js
|
|
77096
77096
|
init_base();
|
|
77097
77097
|
|
|
77098
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
77098
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/signature/recoverPublicKey.js
|
|
77099
77099
|
init_size();
|
|
77100
77100
|
init_fromHex();
|
|
77101
77101
|
init_toHex();
|
|
@@ -77129,12 +77129,12 @@ function toRecoveryBit(yParityOrV) {
|
|
|
77129
77129
|
throw new Error("Invalid yParityOrV value");
|
|
77130
77130
|
}
|
|
77131
77131
|
|
|
77132
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
77132
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/signature/recoverAddress.js
|
|
77133
77133
|
async function recoverAddress({ hash: hash3, signature }) {
|
|
77134
77134
|
return publicKeyToAddress(await recoverPublicKey({ hash: hash3, signature }));
|
|
77135
77135
|
}
|
|
77136
77136
|
|
|
77137
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
77137
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/authorization/recoverAuthorizationAddress.js
|
|
77138
77138
|
async function recoverAuthorizationAddress(parameters) {
|
|
77139
77139
|
const { authorization, signature } = parameters;
|
|
77140
77140
|
return recoverAddress({
|
|
@@ -77143,10 +77143,10 @@ async function recoverAuthorizationAddress(parameters) {
|
|
|
77143
77143
|
});
|
|
77144
77144
|
}
|
|
77145
77145
|
|
|
77146
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
77146
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/estimateGas.js
|
|
77147
77147
|
init_toHex();
|
|
77148
77148
|
|
|
77149
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
77149
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/errors/estimateGas.js
|
|
77150
77150
|
init_formatEther();
|
|
77151
77151
|
init_formatGwei();
|
|
77152
77152
|
init_base();
|
|
@@ -77185,7 +77185,7 @@ class EstimateGasExecutionError extends BaseError {
|
|
|
77185
77185
|
}
|
|
77186
77186
|
}
|
|
77187
77187
|
|
|
77188
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
77188
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/errors/getEstimateGasError.js
|
|
77189
77189
|
init_node();
|
|
77190
77190
|
init_getNodeError();
|
|
77191
77191
|
function getEstimateGasError(err, { docsPath: docsPath7, ...args }) {
|
|
@@ -77201,11 +77201,11 @@ function getEstimateGasError(err, { docsPath: docsPath7, ...args }) {
|
|
|
77201
77201
|
});
|
|
77202
77202
|
}
|
|
77203
77203
|
|
|
77204
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
77204
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/estimateGas.js
|
|
77205
77205
|
init_transactionRequest();
|
|
77206
77206
|
init_stateOverride2();
|
|
77207
77207
|
init_assertRequest();
|
|
77208
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
77208
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/errors/fee.js
|
|
77209
77209
|
init_formatGwei();
|
|
77210
77210
|
init_base();
|
|
77211
77211
|
|
|
@@ -77231,10 +77231,10 @@ class MaxFeePerGasTooLowError extends BaseError {
|
|
|
77231
77231
|
}
|
|
77232
77232
|
}
|
|
77233
77233
|
|
|
77234
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
77234
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/estimateMaxPriorityFeePerGas.js
|
|
77235
77235
|
init_fromHex();
|
|
77236
77236
|
|
|
77237
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
77237
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/errors/block.js
|
|
77238
77238
|
init_base();
|
|
77239
77239
|
|
|
77240
77240
|
class BlockNotFoundError extends BaseError {
|
|
@@ -77248,9 +77248,9 @@ class BlockNotFoundError extends BaseError {
|
|
|
77248
77248
|
}
|
|
77249
77249
|
}
|
|
77250
77250
|
|
|
77251
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
77251
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/getBlock.js
|
|
77252
77252
|
init_toHex();
|
|
77253
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
77253
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/formatters/transaction.js
|
|
77254
77254
|
init_fromHex();
|
|
77255
77255
|
var transactionType = {
|
|
77256
77256
|
"0x0": "legacy",
|
|
@@ -77321,7 +77321,7 @@ function formatAuthorizationList2(authorizationList) {
|
|
|
77321
77321
|
}));
|
|
77322
77322
|
}
|
|
77323
77323
|
|
|
77324
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
77324
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/formatters/block.js
|
|
77325
77325
|
function formatBlock(block, _) {
|
|
77326
77326
|
const transactions = (block.transactions ?? []).map((transaction) => {
|
|
77327
77327
|
if (typeof transaction === "string")
|
|
@@ -77348,7 +77348,7 @@ function formatBlock(block, _) {
|
|
|
77348
77348
|
}
|
|
77349
77349
|
var defineBlock = /* @__PURE__ */ defineFormatter("block", formatBlock);
|
|
77350
77350
|
|
|
77351
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
77351
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/getBlock.js
|
|
77352
77352
|
async function getBlock(client, { blockHash, blockNumber, blockTag = client.experimental_blockTag ?? "latest", includeTransactions: includeTransactions_ } = {}) {
|
|
77353
77353
|
const includeTransactions = includeTransactions_ ?? false;
|
|
77354
77354
|
const blockNumberHex = blockNumber !== undefined ? numberToHex(blockNumber) : undefined;
|
|
@@ -77370,7 +77370,7 @@ async function getBlock(client, { blockHash, blockNumber, blockTag = client.expe
|
|
|
77370
77370
|
return format(block, "getBlock");
|
|
77371
77371
|
}
|
|
77372
77372
|
|
|
77373
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
77373
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/getGasPrice.js
|
|
77374
77374
|
async function getGasPrice(client) {
|
|
77375
77375
|
const gasPrice = await client.request({
|
|
77376
77376
|
method: "eth_gasPrice"
|
|
@@ -77378,7 +77378,7 @@ async function getGasPrice(client) {
|
|
|
77378
77378
|
return BigInt(gasPrice);
|
|
77379
77379
|
}
|
|
77380
77380
|
|
|
77381
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
77381
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/estimateMaxPriorityFeePerGas.js
|
|
77382
77382
|
async function estimateMaxPriorityFeePerGas(client, args) {
|
|
77383
77383
|
return internal_estimateMaxPriorityFeePerGas(client, args);
|
|
77384
77384
|
}
|
|
@@ -77417,7 +77417,7 @@ async function internal_estimateMaxPriorityFeePerGas(client, args) {
|
|
|
77417
77417
|
}
|
|
77418
77418
|
}
|
|
77419
77419
|
|
|
77420
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
77420
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/estimateFeesPerGas.js
|
|
77421
77421
|
async function estimateFeesPerGas(client, args) {
|
|
77422
77422
|
return internal_estimateFeesPerGas(client, args);
|
|
77423
77423
|
}
|
|
@@ -77470,7 +77470,7 @@ async function internal_estimateFeesPerGas(client, args) {
|
|
|
77470
77470
|
};
|
|
77471
77471
|
}
|
|
77472
77472
|
|
|
77473
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
77473
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/getTransactionCount.js
|
|
77474
77474
|
init_fromHex();
|
|
77475
77475
|
init_toHex();
|
|
77476
77476
|
async function getTransactionCount(client, { address, blockTag = "latest", blockNumber }) {
|
|
@@ -77486,10 +77486,10 @@ async function getTransactionCount(client, { address, blockTag = "latest", block
|
|
|
77486
77486
|
return hexToNumber2(count);
|
|
77487
77487
|
}
|
|
77488
77488
|
|
|
77489
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
77489
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/wallet/prepareTransactionRequest.js
|
|
77490
77490
|
init_lru();
|
|
77491
77491
|
init_assertRequest();
|
|
77492
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
77492
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/errors/getTransactionError.js
|
|
77493
77493
|
init_node();
|
|
77494
77494
|
init_transaction();
|
|
77495
77495
|
init_getNodeError();
|
|
@@ -77505,11 +77505,11 @@ function getTransactionError(err, { docsPath: docsPath7, ...args }) {
|
|
|
77505
77505
|
...args
|
|
77506
77506
|
});
|
|
77507
77507
|
}
|
|
77508
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
77508
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/fillTransaction.js
|
|
77509
77509
|
init_transactionRequest();
|
|
77510
77510
|
init_assertRequest();
|
|
77511
77511
|
|
|
77512
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
77512
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/getChainId.js
|
|
77513
77513
|
init_fromHex();
|
|
77514
77514
|
async function getChainId(client) {
|
|
77515
77515
|
const chainIdHex = await client.request({
|
|
@@ -77518,7 +77518,7 @@ async function getChainId(client) {
|
|
|
77518
77518
|
return hexToNumber2(chainIdHex);
|
|
77519
77519
|
}
|
|
77520
77520
|
|
|
77521
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
77521
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/fillTransaction.js
|
|
77522
77522
|
async function fillTransaction(client, parameters) {
|
|
77523
77523
|
const { account = client.account, accessList, authorizationList, chain = client.chain, blobVersionedHashes, blobs, data, gas, gasPrice, maxFeePerBlobGas, maxFeePerGas, maxPriorityFeePerGas, nonce: nonce_, nonceManager: nonceManager2, to, type, value, ...rest } = parameters;
|
|
77524
77524
|
const nonce = await (async () => {
|
|
@@ -77619,7 +77619,7 @@ async function fillTransaction(client, parameters) {
|
|
|
77619
77619
|
}
|
|
77620
77620
|
}
|
|
77621
77621
|
|
|
77622
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
77622
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/wallet/prepareTransactionRequest.js
|
|
77623
77623
|
var defaultParameters = [
|
|
77624
77624
|
"blobVersionedHashes",
|
|
77625
77625
|
"chainId",
|
|
@@ -77827,7 +77827,7 @@ async function prepareTransactionRequest(client, args) {
|
|
|
77827
77827
|
return request;
|
|
77828
77828
|
}
|
|
77829
77829
|
|
|
77830
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
77830
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/estimateGas.js
|
|
77831
77831
|
async function estimateGas(client, args) {
|
|
77832
77832
|
const { account: account_ = client.account, prepare = true } = args;
|
|
77833
77833
|
const account = account_ ? parseAccount2(account_) : undefined;
|
|
@@ -77896,7 +77896,7 @@ async function estimateGas(client, args) {
|
|
|
77896
77896
|
}
|
|
77897
77897
|
}
|
|
77898
77898
|
|
|
77899
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
77899
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/estimateContractGas.js
|
|
77900
77900
|
async function estimateContractGas(client, parameters) {
|
|
77901
77901
|
const { abi, address, args, functionName, dataSuffix = typeof client.dataSuffix === "string" ? client.dataSuffix : client.dataSuffix?.value, ...request } = parameters;
|
|
77902
77902
|
const data = encodeFunctionData({
|
|
@@ -77924,7 +77924,7 @@ async function estimateContractGas(client, parameters) {
|
|
|
77924
77924
|
}
|
|
77925
77925
|
}
|
|
77926
77926
|
|
|
77927
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
77927
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/getBalance.js
|
|
77928
77928
|
init_abis();
|
|
77929
77929
|
init_decodeFunctionResult();
|
|
77930
77930
|
init_encodeFunctionData();
|
|
@@ -77959,7 +77959,7 @@ async function getBalance(client, { address, blockNumber, blockTag = client.expe
|
|
|
77959
77959
|
return BigInt(balance);
|
|
77960
77960
|
}
|
|
77961
77961
|
|
|
77962
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
77962
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/getBlobBaseFee.js
|
|
77963
77963
|
async function getBlobBaseFee(client) {
|
|
77964
77964
|
const baseFee = await client.request({
|
|
77965
77965
|
method: "eth_blobBaseFee"
|
|
@@ -77967,7 +77967,7 @@ async function getBlobBaseFee(client) {
|
|
|
77967
77967
|
return BigInt(baseFee);
|
|
77968
77968
|
}
|
|
77969
77969
|
|
|
77970
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
77970
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/promise/withCache.js
|
|
77971
77971
|
var promiseCache = /* @__PURE__ */ new Map;
|
|
77972
77972
|
var responseCache = /* @__PURE__ */ new Map;
|
|
77973
77973
|
function getCache(cacheKey) {
|
|
@@ -78009,7 +78009,7 @@ async function withCache(fn, { cacheKey, cacheTime = Number.POSITIVE_INFINITY })
|
|
|
78009
78009
|
}
|
|
78010
78010
|
}
|
|
78011
78011
|
|
|
78012
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
78012
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/getBlockNumber.js
|
|
78013
78013
|
var cacheKey = (id) => `blockNumber.${id}`;
|
|
78014
78014
|
async function getBlockNumber(client, { cacheTime = client.cacheTime } = {}) {
|
|
78015
78015
|
const blockNumberHex = await withCache(() => client.request({
|
|
@@ -78018,7 +78018,7 @@ async function getBlockNumber(client, { cacheTime = client.cacheTime } = {}) {
|
|
|
78018
78018
|
return BigInt(blockNumberHex);
|
|
78019
78019
|
}
|
|
78020
78020
|
|
|
78021
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
78021
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/getBlockTransactionCount.js
|
|
78022
78022
|
init_fromHex();
|
|
78023
78023
|
init_toHex();
|
|
78024
78024
|
async function getBlockTransactionCount(client, { blockHash, blockNumber, blockTag = "latest" } = {}) {
|
|
@@ -78038,7 +78038,7 @@ async function getBlockTransactionCount(client, { blockHash, blockNumber, blockT
|
|
|
78038
78038
|
return hexToNumber2(count);
|
|
78039
78039
|
}
|
|
78040
78040
|
|
|
78041
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
78041
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/getCode.js
|
|
78042
78042
|
init_toHex();
|
|
78043
78043
|
async function getCode(client, { address, blockNumber, blockTag = "latest" }) {
|
|
78044
78044
|
const blockNumberHex = blockNumber !== undefined ? numberToHex(blockNumber) : undefined;
|
|
@@ -78051,14 +78051,14 @@ async function getCode(client, { address, blockNumber, blockTag = "latest" }) {
|
|
|
78051
78051
|
return hex3;
|
|
78052
78052
|
}
|
|
78053
78053
|
|
|
78054
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
78054
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/getContractEvents.js
|
|
78055
78055
|
init_getAbiItem();
|
|
78056
78056
|
|
|
78057
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
78057
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/abi/parseEventLogs.js
|
|
78058
78058
|
init_isAddressEqual();
|
|
78059
78059
|
init_toBytes();
|
|
78060
78060
|
|
|
78061
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
78061
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/formatters/log.js
|
|
78062
78062
|
function formatLog(log, { args, eventName } = {}) {
|
|
78063
78063
|
return {
|
|
78064
78064
|
...log,
|
|
@@ -78072,11 +78072,11 @@ function formatLog(log, { args, eventName } = {}) {
|
|
|
78072
78072
|
};
|
|
78073
78073
|
}
|
|
78074
78074
|
|
|
78075
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
78075
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/abi/parseEventLogs.js
|
|
78076
78076
|
init_keccak256();
|
|
78077
78077
|
init_toEventSelector();
|
|
78078
78078
|
|
|
78079
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
78079
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/abi/decodeEventLog.js
|
|
78080
78080
|
init_abi();
|
|
78081
78081
|
init_cursor();
|
|
78082
78082
|
init_size();
|
|
@@ -78169,7 +78169,7 @@ function decodeTopic({ param, value }) {
|
|
|
78169
78169
|
return decodedArg[0];
|
|
78170
78170
|
}
|
|
78171
78171
|
|
|
78172
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
78172
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/abi/parseEventLogs.js
|
|
78173
78173
|
function parseEventLogs(parameters) {
|
|
78174
78174
|
const { abi, args, logs, strict = true } = parameters;
|
|
78175
78175
|
const eventName = (() => {
|
|
@@ -78273,7 +78273,7 @@ function includesArgs(parameters) {
|
|
|
78273
78273
|
return false;
|
|
78274
78274
|
}
|
|
78275
78275
|
|
|
78276
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
78276
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/getLogs.js
|
|
78277
78277
|
init_toHex();
|
|
78278
78278
|
async function getLogs(client, { address, blockHash, fromBlock, toBlock, event, events: events_, args, strict: strict_ } = {}) {
|
|
78279
78279
|
const strict = strict_ ?? false;
|
|
@@ -78319,7 +78319,7 @@ async function getLogs(client, { address, blockHash, fromBlock, toBlock, event,
|
|
|
78319
78319
|
});
|
|
78320
78320
|
}
|
|
78321
78321
|
|
|
78322
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
78322
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/getContractEvents.js
|
|
78323
78323
|
async function getContractEvents(client, parameters) {
|
|
78324
78324
|
const { abi, address, args, blockHash, eventName, fromBlock, toBlock, strict } = parameters;
|
|
78325
78325
|
const event = eventName ? getAbiItem({ abi, name: eventName }) : undefined;
|
|
@@ -78336,7 +78336,7 @@ async function getContractEvents(client, parameters) {
|
|
|
78336
78336
|
});
|
|
78337
78337
|
}
|
|
78338
78338
|
|
|
78339
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
78339
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/getDelegation.js
|
|
78340
78340
|
init_getAddress();
|
|
78341
78341
|
init_size();
|
|
78342
78342
|
init_slice();
|
|
@@ -78354,7 +78354,7 @@ async function getDelegation(client, { address, blockNumber, blockTag = "latest"
|
|
|
78354
78354
|
return getAddress(slice(code, 3, 23));
|
|
78355
78355
|
}
|
|
78356
78356
|
|
|
78357
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
78357
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/errors/eip712.js
|
|
78358
78358
|
init_base();
|
|
78359
78359
|
|
|
78360
78360
|
class Eip712DomainNotFoundError extends BaseError {
|
|
@@ -78371,7 +78371,7 @@ class Eip712DomainNotFoundError extends BaseError {
|
|
|
78371
78371
|
}
|
|
78372
78372
|
}
|
|
78373
78373
|
|
|
78374
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
78374
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/getEip712Domain.js
|
|
78375
78375
|
async function getEip712Domain(client, parameters) {
|
|
78376
78376
|
const { address, factory, factoryData } = parameters;
|
|
78377
78377
|
try {
|
|
@@ -78419,10 +78419,10 @@ var abi = [
|
|
|
78419
78419
|
}
|
|
78420
78420
|
];
|
|
78421
78421
|
|
|
78422
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
78422
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/getFeeHistory.js
|
|
78423
78423
|
init_toHex();
|
|
78424
78424
|
|
|
78425
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
78425
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/formatters/feeHistory.js
|
|
78426
78426
|
function formatFeeHistory(feeHistory) {
|
|
78427
78427
|
return {
|
|
78428
78428
|
baseFeePerGas: feeHistory.baseFeePerGas.map((value) => BigInt(value)),
|
|
@@ -78432,7 +78432,7 @@ function formatFeeHistory(feeHistory) {
|
|
|
78432
78432
|
};
|
|
78433
78433
|
}
|
|
78434
78434
|
|
|
78435
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
78435
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/getFeeHistory.js
|
|
78436
78436
|
async function getFeeHistory(client, { blockCount, blockNumber, blockTag = "latest", rewardPercentiles }) {
|
|
78437
78437
|
const blockNumberHex = typeof blockNumber === "bigint" ? numberToHex(blockNumber) : undefined;
|
|
78438
78438
|
const feeHistory = await client.request({
|
|
@@ -78446,7 +78446,7 @@ async function getFeeHistory(client, { blockCount, blockNumber, blockTag = "late
|
|
|
78446
78446
|
return formatFeeHistory(feeHistory);
|
|
78447
78447
|
}
|
|
78448
78448
|
|
|
78449
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
78449
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/getFilterChanges.js
|
|
78450
78450
|
async function getFilterChanges(_client, { filter }) {
|
|
78451
78451
|
const strict = "strict" in filter && filter.strict;
|
|
78452
78452
|
const logs = await filter.request({
|
|
@@ -78465,7 +78465,7 @@ async function getFilterChanges(_client, { filter }) {
|
|
|
78465
78465
|
});
|
|
78466
78466
|
}
|
|
78467
78467
|
|
|
78468
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
78468
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/getFilterLogs.js
|
|
78469
78469
|
async function getFilterLogs(_client, { filter }) {
|
|
78470
78470
|
const strict = filter.strict ?? false;
|
|
78471
78471
|
const logs = await filter.request({
|
|
@@ -78482,13 +78482,13 @@ async function getFilterLogs(_client, { filter }) {
|
|
|
78482
78482
|
});
|
|
78483
78483
|
}
|
|
78484
78484
|
|
|
78485
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
78485
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/getProof.js
|
|
78486
78486
|
init_toHex();
|
|
78487
78487
|
|
|
78488
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
78488
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/index.js
|
|
78489
78489
|
init_fromHex();
|
|
78490
78490
|
|
|
78491
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
78491
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/formatters/proof.js
|
|
78492
78492
|
function formatStorageProof(storageProof) {
|
|
78493
78493
|
return storageProof.map((proof) => ({
|
|
78494
78494
|
...proof,
|
|
@@ -78504,7 +78504,7 @@ function formatProof(proof) {
|
|
|
78504
78504
|
};
|
|
78505
78505
|
}
|
|
78506
78506
|
|
|
78507
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
78507
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/getProof.js
|
|
78508
78508
|
async function getProof(client, { address, blockNumber, blockTag: blockTag_, storageKeys }) {
|
|
78509
78509
|
const blockTag = blockTag_ ?? "latest";
|
|
78510
78510
|
const blockNumberHex = blockNumber !== undefined ? numberToHex(blockNumber) : undefined;
|
|
@@ -78515,7 +78515,7 @@ async function getProof(client, { address, blockNumber, blockTag: blockTag_, sto
|
|
|
78515
78515
|
return formatProof(proof);
|
|
78516
78516
|
}
|
|
78517
78517
|
|
|
78518
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
78518
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/getStorageAt.js
|
|
78519
78519
|
init_toHex();
|
|
78520
78520
|
async function getStorageAt(client, { address, blockNumber, blockTag = "latest", slot }) {
|
|
78521
78521
|
const blockNumberHex = blockNumber !== undefined ? numberToHex(blockNumber) : undefined;
|
|
@@ -78526,7 +78526,7 @@ async function getStorageAt(client, { address, blockNumber, blockTag = "latest",
|
|
|
78526
78526
|
return data;
|
|
78527
78527
|
}
|
|
78528
78528
|
|
|
78529
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
78529
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/getTransaction.js
|
|
78530
78530
|
init_transaction();
|
|
78531
78531
|
init_toHex();
|
|
78532
78532
|
async function getTransaction(client, { blockHash, blockNumber, blockTag: blockTag_, hash: hash3, index: index2, sender, nonce }) {
|
|
@@ -78566,7 +78566,7 @@ async function getTransaction(client, { blockHash, blockNumber, blockTag: blockT
|
|
|
78566
78566
|
return format(transaction, "getTransaction");
|
|
78567
78567
|
}
|
|
78568
78568
|
|
|
78569
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
78569
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/getTransactionConfirmations.js
|
|
78570
78570
|
async function getTransactionConfirmations(client, { hash: hash3, transactionReceipt }) {
|
|
78571
78571
|
const [blockNumber, transaction] = await Promise.all([
|
|
78572
78572
|
getAction(client, getBlockNumber, "getBlockNumber")({}),
|
|
@@ -78578,10 +78578,10 @@ async function getTransactionConfirmations(client, { hash: hash3, transactionRec
|
|
|
78578
78578
|
return blockNumber - transactionBlockNumber + 1n;
|
|
78579
78579
|
}
|
|
78580
78580
|
|
|
78581
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
78581
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/getTransactionReceipt.js
|
|
78582
78582
|
init_transaction();
|
|
78583
78583
|
|
|
78584
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
78584
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/formatters/transactionReceipt.js
|
|
78585
78585
|
init_fromHex();
|
|
78586
78586
|
var receiptStatuses = {
|
|
78587
78587
|
"0x0": "reverted",
|
|
@@ -78609,7 +78609,7 @@ function formatTransactionReceipt(transactionReceipt, _) {
|
|
|
78609
78609
|
}
|
|
78610
78610
|
var defineTransactionReceipt2 = /* @__PURE__ */ defineFormatter("transactionReceipt", formatTransactionReceipt);
|
|
78611
78611
|
|
|
78612
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
78612
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/getTransactionReceipt.js
|
|
78613
78613
|
async function getTransactionReceipt(client, { hash: hash3 }) {
|
|
78614
78614
|
const receipt = await client.request({
|
|
78615
78615
|
method: "eth_getTransactionReceipt",
|
|
@@ -78621,7 +78621,7 @@ async function getTransactionReceipt(client, { hash: hash3 }) {
|
|
|
78621
78621
|
return format(receipt, "getTransactionReceipt");
|
|
78622
78622
|
}
|
|
78623
78623
|
|
|
78624
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
78624
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/multicall.js
|
|
78625
78625
|
init_abis();
|
|
78626
78626
|
init_abi();
|
|
78627
78627
|
init_base();
|
|
@@ -78752,7 +78752,7 @@ async function multicall(client, parameters) {
|
|
|
78752
78752
|
return results;
|
|
78753
78753
|
}
|
|
78754
78754
|
|
|
78755
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
78755
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/simulateBlocks.js
|
|
78756
78756
|
init_BlockOverrides();
|
|
78757
78757
|
init_abi();
|
|
78758
78758
|
init_contract();
|
|
@@ -78851,11 +78851,11 @@ async function simulateBlocks(client, parameters) {
|
|
|
78851
78851
|
}
|
|
78852
78852
|
}
|
|
78853
78853
|
|
|
78854
|
-
// ../../node_modules/.bun/ox@0.12.4+
|
|
78854
|
+
// ../../node_modules/.bun/ox@0.12.4+b6540f47a87fcb8d/node_modules/ox/_esm/core/AbiItem.js
|
|
78855
78855
|
init_exports();
|
|
78856
78856
|
init_Errors();
|
|
78857
78857
|
|
|
78858
|
-
// ../../node_modules/.bun/ox@0.12.4+
|
|
78858
|
+
// ../../node_modules/.bun/ox@0.12.4+b6540f47a87fcb8d/node_modules/ox/_esm/core/Hash.js
|
|
78859
78859
|
init_sha3();
|
|
78860
78860
|
init_Bytes();
|
|
78861
78861
|
init_Hex();
|
|
@@ -78867,13 +78867,13 @@ function keccak2563(value, options = {}) {
|
|
|
78867
78867
|
return fromBytes(bytes);
|
|
78868
78868
|
}
|
|
78869
78869
|
|
|
78870
|
-
// ../../node_modules/.bun/ox@0.12.4+
|
|
78870
|
+
// ../../node_modules/.bun/ox@0.12.4+b6540f47a87fcb8d/node_modules/ox/_esm/core/AbiItem.js
|
|
78871
78871
|
init_Hex();
|
|
78872
78872
|
|
|
78873
|
-
// ../../node_modules/.bun/ox@0.12.4+
|
|
78873
|
+
// ../../node_modules/.bun/ox@0.12.4+b6540f47a87fcb8d/node_modules/ox/_esm/core/Address.js
|
|
78874
78874
|
init_Bytes();
|
|
78875
78875
|
|
|
78876
|
-
// ../../node_modules/.bun/ox@0.12.4+
|
|
78876
|
+
// ../../node_modules/.bun/ox@0.12.4+b6540f47a87fcb8d/node_modules/ox/_esm/core/internal/lru.js
|
|
78877
78877
|
class LruMap2 extends Map {
|
|
78878
78878
|
constructor(size6) {
|
|
78879
78879
|
super();
|
|
@@ -78904,16 +78904,16 @@ class LruMap2 extends Map {
|
|
|
78904
78904
|
}
|
|
78905
78905
|
}
|
|
78906
78906
|
|
|
78907
|
-
// ../../node_modules/.bun/ox@0.12.4+
|
|
78907
|
+
// ../../node_modules/.bun/ox@0.12.4+b6540f47a87fcb8d/node_modules/ox/_esm/core/Caches.js
|
|
78908
78908
|
var caches = {
|
|
78909
78909
|
checksum: /* @__PURE__ */ new LruMap2(8192)
|
|
78910
78910
|
};
|
|
78911
78911
|
var checksum = caches.checksum;
|
|
78912
78912
|
|
|
78913
|
-
// ../../node_modules/.bun/ox@0.12.4+
|
|
78913
|
+
// ../../node_modules/.bun/ox@0.12.4+b6540f47a87fcb8d/node_modules/ox/_esm/core/Address.js
|
|
78914
78914
|
init_Errors();
|
|
78915
78915
|
|
|
78916
|
-
// ../../node_modules/.bun/ox@0.12.4+
|
|
78916
|
+
// ../../node_modules/.bun/ox@0.12.4+b6540f47a87fcb8d/node_modules/ox/_esm/core/PublicKey.js
|
|
78917
78917
|
init_Bytes();
|
|
78918
78918
|
init_Errors();
|
|
78919
78919
|
init_Hex();
|
|
@@ -79064,7 +79064,7 @@ class InvalidSerializedSizeError extends BaseError3 {
|
|
|
79064
79064
|
}
|
|
79065
79065
|
}
|
|
79066
79066
|
|
|
79067
|
-
// ../../node_modules/.bun/ox@0.12.4+
|
|
79067
|
+
// ../../node_modules/.bun/ox@0.12.4+b6540f47a87fcb8d/node_modules/ox/_esm/core/Address.js
|
|
79068
79068
|
var addressRegex2 = /^0x[a-fA-F0-9]{40}$/;
|
|
79069
79069
|
function assert5(value, options = {}) {
|
|
79070
79070
|
const { strict = true } = options;
|
|
@@ -79161,7 +79161,7 @@ class InvalidChecksumError extends BaseError3 {
|
|
|
79161
79161
|
}
|
|
79162
79162
|
}
|
|
79163
79163
|
|
|
79164
|
-
// ../../node_modules/.bun/ox@0.12.4+
|
|
79164
|
+
// ../../node_modules/.bun/ox@0.12.4+b6540f47a87fcb8d/node_modules/ox/_esm/core/internal/abiItem.js
|
|
79165
79165
|
init_Errors();
|
|
79166
79166
|
function normalizeSignature2(signature) {
|
|
79167
79167
|
let active = true;
|
|
@@ -79262,7 +79262,7 @@ function getAmbiguousTypes2(sourceParameters, targetParameters, args) {
|
|
|
79262
79262
|
return;
|
|
79263
79263
|
}
|
|
79264
79264
|
|
|
79265
|
-
// ../../node_modules/.bun/ox@0.12.4+
|
|
79265
|
+
// ../../node_modules/.bun/ox@0.12.4+b6540f47a87fcb8d/node_modules/ox/_esm/core/AbiItem.js
|
|
79266
79266
|
function from5(abiItem, options = {}) {
|
|
79267
79267
|
const { prepare = true } = options;
|
|
79268
79268
|
const item = (() => {
|
|
@@ -79426,18 +79426,18 @@ class NotFoundError extends BaseError3 {
|
|
|
79426
79426
|
}
|
|
79427
79427
|
}
|
|
79428
79428
|
|
|
79429
|
-
// ../../node_modules/.bun/ox@0.12.4+
|
|
79429
|
+
// ../../node_modules/.bun/ox@0.12.4+b6540f47a87fcb8d/node_modules/ox/_esm/core/AbiParameters.js
|
|
79430
79430
|
init_exports();
|
|
79431
79431
|
init_Bytes();
|
|
79432
79432
|
init_Errors();
|
|
79433
79433
|
init_Hex();
|
|
79434
79434
|
|
|
79435
|
-
// ../../node_modules/.bun/ox@0.12.4+
|
|
79435
|
+
// ../../node_modules/.bun/ox@0.12.4+b6540f47a87fcb8d/node_modules/ox/_esm/core/internal/abiParameters.js
|
|
79436
79436
|
init_Bytes();
|
|
79437
79437
|
init_Errors();
|
|
79438
79438
|
init_Hex();
|
|
79439
79439
|
|
|
79440
|
-
// ../../node_modules/.bun/ox@0.12.4+
|
|
79440
|
+
// ../../node_modules/.bun/ox@0.12.4+b6540f47a87fcb8d/node_modules/ox/_esm/core/Solidity.js
|
|
79441
79441
|
var arrayRegex2 = /^(.*)\[([0-9]*)\]$/;
|
|
79442
79442
|
var bytesRegex4 = /^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/;
|
|
79443
79443
|
var integerRegex4 = /^(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)?$/;
|
|
@@ -79538,7 +79538,7 @@ var maxUint2402 = 2n ** 240n - 1n;
|
|
|
79538
79538
|
var maxUint2482 = 2n ** 248n - 1n;
|
|
79539
79539
|
var maxUint2562 = 2n ** 256n - 1n;
|
|
79540
79540
|
|
|
79541
|
-
// ../../node_modules/.bun/ox@0.12.4+
|
|
79541
|
+
// ../../node_modules/.bun/ox@0.12.4+b6540f47a87fcb8d/node_modules/ox/_esm/core/internal/abiParameters.js
|
|
79542
79542
|
function decodeParameter2(cursor, param, options) {
|
|
79543
79543
|
const { checksumAddress: checksumAddress2, staticPosition } = options;
|
|
79544
79544
|
const arrayComponents = getArrayComponents2(param.type);
|
|
@@ -79924,7 +79924,7 @@ function hasDynamicChild2(param) {
|
|
|
79924
79924
|
return false;
|
|
79925
79925
|
}
|
|
79926
79926
|
|
|
79927
|
-
// ../../node_modules/.bun/ox@0.12.4+
|
|
79927
|
+
// ../../node_modules/.bun/ox@0.12.4+b6540f47a87fcb8d/node_modules/ox/_esm/core/internal/cursor.js
|
|
79928
79928
|
init_Errors();
|
|
79929
79929
|
var staticCursor2 = {
|
|
79930
79930
|
bytes: new Uint8Array,
|
|
@@ -80130,7 +80130,7 @@ class RecursiveReadLimitExceededError2 extends BaseError3 {
|
|
|
80130
80130
|
}
|
|
80131
80131
|
}
|
|
80132
80132
|
|
|
80133
|
-
// ../../node_modules/.bun/ox@0.12.4+
|
|
80133
|
+
// ../../node_modules/.bun/ox@0.12.4+b6540f47a87fcb8d/node_modules/ox/_esm/core/AbiParameters.js
|
|
80134
80134
|
function decode3(parameters, data, options = {}) {
|
|
80135
80135
|
const { as = "Array", checksumAddress: checksumAddress2 = false } = options;
|
|
80136
80136
|
const bytes = typeof data === "string" ? fromHex(data) : data;
|
|
@@ -80340,7 +80340,7 @@ class InvalidTypeError extends BaseError3 {
|
|
|
80340
80340
|
}
|
|
80341
80341
|
}
|
|
80342
80342
|
|
|
80343
|
-
// ../../node_modules/.bun/ox@0.12.4+
|
|
80343
|
+
// ../../node_modules/.bun/ox@0.12.4+b6540f47a87fcb8d/node_modules/ox/_esm/core/AbiConstructor.js
|
|
80344
80344
|
init_Hex();
|
|
80345
80345
|
function encode5(...parameters) {
|
|
80346
80346
|
const [abiConstructor, options] = (() => {
|
|
@@ -80363,7 +80363,7 @@ function fromAbi2(abi2) {
|
|
|
80363
80363
|
return item;
|
|
80364
80364
|
}
|
|
80365
80365
|
|
|
80366
|
-
// ../../node_modules/.bun/ox@0.12.4+
|
|
80366
|
+
// ../../node_modules/.bun/ox@0.12.4+b6540f47a87fcb8d/node_modules/ox/_esm/core/AbiFunction.js
|
|
80367
80367
|
init_Hex();
|
|
80368
80368
|
function encodeData2(...parameters) {
|
|
80369
80369
|
const [abiFunction, args = []] = (() => {
|
|
@@ -80394,11 +80394,11 @@ function fromAbi3(abi2, name, options) {
|
|
|
80394
80394
|
function getSelector2(abiItem) {
|
|
80395
80395
|
return getSelector(abiItem);
|
|
80396
80396
|
}
|
|
80397
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
80397
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/constants/address.js
|
|
80398
80398
|
var ethAddress = "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee";
|
|
80399
80399
|
var zeroAddress = "0x0000000000000000000000000000000000000000";
|
|
80400
80400
|
|
|
80401
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
80401
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/simulateCalls.js
|
|
80402
80402
|
init_base();
|
|
80403
80403
|
init_encodeFunctionData();
|
|
80404
80404
|
var getBalanceCode = "0x6080604052348015600e575f80fd5b5061016d8061001c5f395ff3fe608060405234801561000f575f80fd5b5060043610610029575f3560e01c8063f8b2cb4f1461002d575b5f80fd5b610047600480360381019061004291906100db565b61005d565b604051610054919061011e565b60405180910390f35b5f8173ffffffffffffffffffffffffffffffffffffffff16319050919050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6100aa82610081565b9050919050565b6100ba816100a0565b81146100c4575f80fd5b50565b5f813590506100d5816100b1565b92915050565b5f602082840312156100f0576100ef61007d565b5b5f6100fd848285016100c7565b91505092915050565b5f819050919050565b61011881610106565b82525050565b5f6020820190506101315f83018461010f565b9291505056fea26469706673582212203b9fe929fe995c7cf9887f0bdba8a36dd78e8b73f149b17d2d9ad7cd09d2dc6264736f6c634300081a0033";
|
|
@@ -80590,7 +80590,7 @@ async function simulateCalls(client, parameters) {
|
|
|
80590
80590
|
};
|
|
80591
80591
|
}
|
|
80592
80592
|
|
|
80593
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
80593
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/simulateContract.js
|
|
80594
80594
|
init_decodeFunctionResult();
|
|
80595
80595
|
init_encodeFunctionData();
|
|
80596
80596
|
init_call();
|
|
@@ -80637,7 +80637,7 @@ async function simulateContract(client, parameters) {
|
|
|
80637
80637
|
}
|
|
80638
80638
|
}
|
|
80639
80639
|
|
|
80640
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
80640
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/uninstallFilter.js
|
|
80641
80641
|
async function uninstallFilter(_client, { filter }) {
|
|
80642
80642
|
return filter.request({
|
|
80643
80643
|
method: "eth_uninstallFilter",
|
|
@@ -80645,7 +80645,7 @@ async function uninstallFilter(_client, { filter }) {
|
|
|
80645
80645
|
});
|
|
80646
80646
|
}
|
|
80647
80647
|
|
|
80648
|
-
// ../../node_modules/.bun/ox@0.12.4+
|
|
80648
|
+
// ../../node_modules/.bun/ox@0.12.4+b6540f47a87fcb8d/node_modules/ox/_esm/erc6492/SignatureErc6492.js
|
|
80649
80649
|
var exports_SignatureErc6492 = {};
|
|
80650
80650
|
__export(exports_SignatureErc6492, {
|
|
80651
80651
|
wrap: () => wrap,
|
|
@@ -80748,7 +80748,7 @@ class InvalidWrappedSignatureError extends BaseError3 {
|
|
|
80748
80748
|
});
|
|
80749
80749
|
}
|
|
80750
80750
|
}
|
|
80751
|
-
// ../../node_modules/.bun/ox@0.12.4+
|
|
80751
|
+
// ../../node_modules/.bun/ox@0.12.4+b6540f47a87fcb8d/node_modules/ox/_esm/erc8010/SignatureErc8010.js
|
|
80752
80752
|
var exports_SignatureErc8010 = {};
|
|
80753
80753
|
__export(exports_SignatureErc8010, {
|
|
80754
80754
|
wrap: () => wrap2,
|
|
@@ -80761,10 +80761,10 @@ __export(exports_SignatureErc8010, {
|
|
|
80761
80761
|
InvalidWrappedSignatureError: () => InvalidWrappedSignatureError2
|
|
80762
80762
|
});
|
|
80763
80763
|
|
|
80764
|
-
// ../../node_modules/.bun/ox@0.12.4+
|
|
80764
|
+
// ../../node_modules/.bun/ox@0.12.4+b6540f47a87fcb8d/node_modules/ox/_esm/core/Authorization.js
|
|
80765
80765
|
init_Hex();
|
|
80766
80766
|
|
|
80767
|
-
// ../../node_modules/.bun/ox@0.12.4+
|
|
80767
|
+
// ../../node_modules/.bun/ox@0.12.4+b6540f47a87fcb8d/node_modules/ox/_esm/core/Rlp.js
|
|
80768
80768
|
init_Bytes();
|
|
80769
80769
|
init_Errors();
|
|
80770
80770
|
init_Hex();
|
|
@@ -80861,7 +80861,7 @@ function getSizeOfLength2(length) {
|
|
|
80861
80861
|
throw new BaseError3("Length is too large.");
|
|
80862
80862
|
}
|
|
80863
80863
|
|
|
80864
|
-
// ../../node_modules/.bun/ox@0.12.4+
|
|
80864
|
+
// ../../node_modules/.bun/ox@0.12.4+b6540f47a87fcb8d/node_modules/ox/_esm/core/Signature.js
|
|
80865
80865
|
init_Errors();
|
|
80866
80866
|
init_Hex();
|
|
80867
80867
|
function assert7(signature, options = {}) {
|
|
@@ -81051,7 +81051,7 @@ class InvalidVError extends BaseError3 {
|
|
|
81051
81051
|
}
|
|
81052
81052
|
}
|
|
81053
81053
|
|
|
81054
|
-
// ../../node_modules/.bun/ox@0.12.4+
|
|
81054
|
+
// ../../node_modules/.bun/ox@0.12.4+b6540f47a87fcb8d/node_modules/ox/_esm/core/Authorization.js
|
|
81055
81055
|
function from12(authorization, options = {}) {
|
|
81056
81056
|
if (typeof authorization.chainId === "string")
|
|
81057
81057
|
return fromRpc3(authorization);
|
|
@@ -81089,11 +81089,11 @@ function toTuple2(authorization) {
|
|
|
81089
81089
|
];
|
|
81090
81090
|
}
|
|
81091
81091
|
|
|
81092
|
-
// ../../node_modules/.bun/ox@0.12.4+
|
|
81092
|
+
// ../../node_modules/.bun/ox@0.12.4+b6540f47a87fcb8d/node_modules/ox/_esm/erc8010/SignatureErc8010.js
|
|
81093
81093
|
init_Errors();
|
|
81094
81094
|
init_Hex();
|
|
81095
81095
|
|
|
81096
|
-
// ../../node_modules/.bun/ox@0.12.4+
|
|
81096
|
+
// ../../node_modules/.bun/ox@0.12.4+b6540f47a87fcb8d/node_modules/ox/_esm/core/Secp256k1.js
|
|
81097
81097
|
init_secp256k1();
|
|
81098
81098
|
init_Hex();
|
|
81099
81099
|
function recoverAddress3(options) {
|
|
@@ -81107,7 +81107,7 @@ function recoverPublicKey3(options) {
|
|
|
81107
81107
|
return from3(point);
|
|
81108
81108
|
}
|
|
81109
81109
|
|
|
81110
|
-
// ../../node_modules/.bun/ox@0.12.4+
|
|
81110
|
+
// ../../node_modules/.bun/ox@0.12.4+b6540f47a87fcb8d/node_modules/ox/_esm/erc8010/SignatureErc8010.js
|
|
81111
81111
|
var magicBytes2 = "0x8010801080108010801080108010801080108010801080108010801080108010";
|
|
81112
81112
|
var suffixParameters = from6("(uint256 chainId, address delegation, uint256 nonce, uint8 yParity, uint256 r, uint256 s), address to, bytes data");
|
|
81113
81113
|
function assert8(value) {
|
|
@@ -81181,7 +81181,7 @@ class InvalidWrappedSignatureError2 extends BaseError3 {
|
|
|
81181
81181
|
});
|
|
81182
81182
|
}
|
|
81183
81183
|
}
|
|
81184
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
81184
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/verifyHash.js
|
|
81185
81185
|
init_abis();
|
|
81186
81186
|
init_contract();
|
|
81187
81187
|
init_encodeDeployData();
|
|
@@ -81189,7 +81189,7 @@ init_encodeFunctionData();
|
|
|
81189
81189
|
init_getAddress();
|
|
81190
81190
|
init_isAddressEqual();
|
|
81191
81191
|
|
|
81192
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
81192
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/authorization/verifyAuthorization.js
|
|
81193
81193
|
init_getAddress();
|
|
81194
81194
|
init_isAddressEqual();
|
|
81195
81195
|
async function verifyAuthorization2({ address, authorization, signature }) {
|
|
@@ -81199,7 +81199,7 @@ async function verifyAuthorization2({ address, authorization, signature }) {
|
|
|
81199
81199
|
}));
|
|
81200
81200
|
}
|
|
81201
81201
|
|
|
81202
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
81202
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/verifyHash.js
|
|
81203
81203
|
init_fromHex();
|
|
81204
81204
|
init_toHex();
|
|
81205
81205
|
init_call();
|
|
@@ -81362,7 +81362,7 @@ async function verifyErc1271(client, parameters) {
|
|
|
81362
81362
|
class VerificationError extends Error {
|
|
81363
81363
|
}
|
|
81364
81364
|
|
|
81365
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
81365
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/verifyMessage.js
|
|
81366
81366
|
async function verifyMessage2(client, { address, message, factory, factoryData, signature, ...callRequest }) {
|
|
81367
81367
|
const hash4 = hashMessage(message);
|
|
81368
81368
|
return getAction(client, verifyHash2, "verifyHash")({
|
|
@@ -81375,7 +81375,7 @@ async function verifyMessage2(client, { address, message, factory, factoryData,
|
|
|
81375
81375
|
});
|
|
81376
81376
|
}
|
|
81377
81377
|
|
|
81378
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
81378
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/verifyTypedData.js
|
|
81379
81379
|
async function verifyTypedData2(client, parameters) {
|
|
81380
81380
|
const { address, factory, factoryData, signature, message, primaryType, types, domain: domain2, ...callRequest } = parameters;
|
|
81381
81381
|
const hash4 = hashTypedData({ message, primaryType, types, domain: domain2 });
|
|
@@ -81389,10 +81389,10 @@ async function verifyTypedData2(client, parameters) {
|
|
|
81389
81389
|
});
|
|
81390
81390
|
}
|
|
81391
81391
|
|
|
81392
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
81392
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/waitForTransactionReceipt.js
|
|
81393
81393
|
init_transaction();
|
|
81394
81394
|
|
|
81395
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
81395
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/observe.js
|
|
81396
81396
|
var listenersCache = /* @__PURE__ */ new Map;
|
|
81397
81397
|
var cleanupCache = /* @__PURE__ */ new Map;
|
|
81398
81398
|
var callbackCount = 0;
|
|
@@ -81437,12 +81437,12 @@ function observe(observerId, callbacks, fn) {
|
|
|
81437
81437
|
cleanupCache.set(observerId, cleanup);
|
|
81438
81438
|
return unwatch;
|
|
81439
81439
|
}
|
|
81440
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
81440
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/wait.js
|
|
81441
81441
|
async function wait(time3) {
|
|
81442
81442
|
return new Promise((res) => setTimeout(res, time3));
|
|
81443
81443
|
}
|
|
81444
81444
|
|
|
81445
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
81445
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/promise/withRetry.js
|
|
81446
81446
|
function withRetry(fn, { delay: delay_ = 100, retryCount = 2, shouldRetry = () => true } = {}) {
|
|
81447
81447
|
return new Promise((resolve, reject) => {
|
|
81448
81448
|
const attemptRetry = async ({ count = 0 } = {}) => {
|
|
@@ -81464,10 +81464,10 @@ function withRetry(fn, { delay: delay_ = 100, retryCount = 2, shouldRetry = () =
|
|
|
81464
81464
|
attemptRetry();
|
|
81465
81465
|
});
|
|
81466
81466
|
}
|
|
81467
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
81467
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/watchBlockNumber.js
|
|
81468
81468
|
init_fromHex();
|
|
81469
81469
|
|
|
81470
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
81470
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/poll.js
|
|
81471
81471
|
function poll(fn, { emitOnBegin, initialWaitTime, interval }) {
|
|
81472
81472
|
let active = true;
|
|
81473
81473
|
const unwatch = () => active = false;
|
|
@@ -81489,7 +81489,7 @@ function poll(fn, { emitOnBegin, initialWaitTime, interval }) {
|
|
|
81489
81489
|
watch();
|
|
81490
81490
|
return unwatch;
|
|
81491
81491
|
}
|
|
81492
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
81492
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/watchBlockNumber.js
|
|
81493
81493
|
function watchBlockNumber(client, { emitOnBegin = false, emitMissed = false, onBlockNumber, onError, poll: poll_, pollingInterval = client.pollingInterval }) {
|
|
81494
81494
|
const enablePolling = (() => {
|
|
81495
81495
|
if (typeof poll_ !== "undefined")
|
|
@@ -81581,7 +81581,7 @@ function watchBlockNumber(client, { emitOnBegin = false, emitMissed = false, onB
|
|
|
81581
81581
|
return enablePolling ? pollBlockNumber() : subscribeBlockNumber();
|
|
81582
81582
|
}
|
|
81583
81583
|
|
|
81584
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
81584
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/waitForTransactionReceipt.js
|
|
81585
81585
|
async function waitForTransactionReceipt(client, parameters) {
|
|
81586
81586
|
const {
|
|
81587
81587
|
checkReplacement = true,
|
|
@@ -81713,7 +81713,7 @@ async function waitForTransactionReceipt(client, parameters) {
|
|
|
81713
81713
|
});
|
|
81714
81714
|
return promise2;
|
|
81715
81715
|
}
|
|
81716
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
81716
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/watchBlocks.js
|
|
81717
81717
|
function watchBlocks(client, { blockTag = client.experimental_blockTag ?? "latest", emitMissed = false, emitOnBegin = false, onBlock, onError, includeTransactions: includeTransactions_, poll: poll_, pollingInterval = client.pollingInterval }) {
|
|
81718
81718
|
const enablePolling = (() => {
|
|
81719
81719
|
if (typeof poll_ !== "undefined")
|
|
@@ -81827,7 +81827,7 @@ function watchBlocks(client, { blockTag = client.experimental_blockTag ?? "lates
|
|
|
81827
81827
|
return enablePolling ? pollBlocks() : subscribeBlocks();
|
|
81828
81828
|
}
|
|
81829
81829
|
|
|
81830
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
81830
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/watchContractEvent.js
|
|
81831
81831
|
init_abi();
|
|
81832
81832
|
init_rpc();
|
|
81833
81833
|
function watchContractEvent(client, parameters) {
|
|
@@ -82003,7 +82003,7 @@ function watchContractEvent(client, parameters) {
|
|
|
82003
82003
|
return enablePolling ? pollContractEvent() : subscribeContractEvent();
|
|
82004
82004
|
}
|
|
82005
82005
|
|
|
82006
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
82006
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/watchEvent.js
|
|
82007
82007
|
init_abi();
|
|
82008
82008
|
init_rpc();
|
|
82009
82009
|
function watchEvent(client, { address, args, batch = true, event, events, fromBlock, onError, onLogs, poll: poll_, pollingInterval = client.pollingInterval, strict: strict_ }) {
|
|
@@ -82166,7 +82166,7 @@ function watchEvent(client, { address, args, batch = true, event, events, fromBl
|
|
|
82166
82166
|
};
|
|
82167
82167
|
return enablePolling ? pollEvent() : subscribeEvent();
|
|
82168
82168
|
}
|
|
82169
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
82169
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/public/watchPendingTransactions.js
|
|
82170
82170
|
function watchPendingTransactions(client, { batch = true, onError, onTransactions, poll: poll_, pollingInterval = client.pollingInterval }) {
|
|
82171
82171
|
const enablePolling = typeof poll_ !== "undefined" ? poll_ : client.transport.type !== "webSocket" && client.transport.type !== "ipc";
|
|
82172
82172
|
const pollPendingTransactions = () => {
|
|
@@ -82240,7 +82240,7 @@ function watchPendingTransactions(client, { batch = true, onError, onTransaction
|
|
|
82240
82240
|
return enablePolling ? pollPendingTransactions() : subscribePendingTransactions();
|
|
82241
82241
|
}
|
|
82242
82242
|
|
|
82243
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
82243
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/siwe/parseSiweMessage.js
|
|
82244
82244
|
function parseSiweMessage(message) {
|
|
82245
82245
|
const { scheme, statement, ...prefix } = message.match(prefixRegex)?.groups ?? {};
|
|
82246
82246
|
const { chainId, expirationTime, issuedAt, notBefore, requestId, ...suffix } = message.match(suffixRegex)?.groups ?? {};
|
|
@@ -82262,7 +82262,7 @@ function parseSiweMessage(message) {
|
|
|
82262
82262
|
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)?/;
|
|
82263
82263
|
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>.+))?/;
|
|
82264
82264
|
|
|
82265
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
82265
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/siwe/validateSiweMessage.js
|
|
82266
82266
|
init_isAddress();
|
|
82267
82267
|
init_isAddressEqual();
|
|
82268
82268
|
function validateSiweMessage(parameters) {
|
|
@@ -82290,7 +82290,7 @@ function validateSiweMessage(parameters) {
|
|
|
82290
82290
|
return true;
|
|
82291
82291
|
}
|
|
82292
82292
|
|
|
82293
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
82293
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/siwe/verifySiweMessage.js
|
|
82294
82294
|
async function verifySiweMessage(client, parameters) {
|
|
82295
82295
|
const { address, domain: domain2, message, nonce, scheme, signature, time: time3 = new Date, ...callRequest } = parameters;
|
|
82296
82296
|
const parsed = parseSiweMessage(message);
|
|
@@ -82315,7 +82315,7 @@ async function verifySiweMessage(client, parameters) {
|
|
|
82315
82315
|
});
|
|
82316
82316
|
}
|
|
82317
82317
|
|
|
82318
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
82318
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/wallet/sendRawTransaction.js
|
|
82319
82319
|
async function sendRawTransaction(client, { serializedTransaction }) {
|
|
82320
82320
|
return client.request({
|
|
82321
82321
|
method: "eth_sendRawTransaction",
|
|
@@ -82323,7 +82323,7 @@ async function sendRawTransaction(client, { serializedTransaction }) {
|
|
|
82323
82323
|
}, { retryCount: 0 });
|
|
82324
82324
|
}
|
|
82325
82325
|
|
|
82326
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
82326
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/actions/wallet/sendRawTransactionSync.js
|
|
82327
82327
|
init_transaction();
|
|
82328
82328
|
async function sendRawTransactionSync(client, { serializedTransaction, throwOnReceiptRevert, timeout }) {
|
|
82329
82329
|
const receipt = await client.request({
|
|
@@ -82337,7 +82337,7 @@ async function sendRawTransactionSync(client, { serializedTransaction, throwOnRe
|
|
|
82337
82337
|
return formatted;
|
|
82338
82338
|
}
|
|
82339
82339
|
|
|
82340
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
82340
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/clients/decorators/public.js
|
|
82341
82341
|
function publicActions(client) {
|
|
82342
82342
|
return {
|
|
82343
82343
|
call: (args) => call(client, args),
|
|
@@ -82401,7 +82401,7 @@ function publicActions(client) {
|
|
|
82401
82401
|
};
|
|
82402
82402
|
}
|
|
82403
82403
|
|
|
82404
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
82404
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/clients/createPublicClient.js
|
|
82405
82405
|
function createPublicClient(parameters) {
|
|
82406
82406
|
const { key = "public", name = "Public Client" } = parameters;
|
|
82407
82407
|
const client = createClient({
|
|
@@ -82412,10 +82412,10 @@ function createPublicClient(parameters) {
|
|
|
82412
82412
|
});
|
|
82413
82413
|
return client.extend(publicActions);
|
|
82414
82414
|
}
|
|
82415
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
82415
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/clients/transports/http.js
|
|
82416
82416
|
init_request();
|
|
82417
82417
|
|
|
82418
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
82418
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/errors/transport.js
|
|
82419
82419
|
init_base();
|
|
82420
82420
|
|
|
82421
82421
|
class UrlRequiredError extends BaseError {
|
|
@@ -82427,13 +82427,13 @@ class UrlRequiredError extends BaseError {
|
|
|
82427
82427
|
}
|
|
82428
82428
|
}
|
|
82429
82429
|
|
|
82430
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
82430
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/clients/transports/http.js
|
|
82431
82431
|
init_createBatchScheduler();
|
|
82432
82432
|
|
|
82433
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
82433
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/rpc/http.js
|
|
82434
82434
|
init_request();
|
|
82435
82435
|
|
|
82436
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
82436
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/promise/withTimeout.js
|
|
82437
82437
|
function withTimeout(fn, { errorInstance = new Error("timed out"), timeout, signal }) {
|
|
82438
82438
|
return new Promise((resolve, reject) => {
|
|
82439
82439
|
(async () => {
|
|
@@ -82460,7 +82460,7 @@ function withTimeout(fn, { errorInstance = new Error("timed out"), timeout, sign
|
|
|
82460
82460
|
})();
|
|
82461
82461
|
});
|
|
82462
82462
|
}
|
|
82463
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
82463
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/rpc/id.js
|
|
82464
82464
|
function createIdStore() {
|
|
82465
82465
|
return {
|
|
82466
82466
|
current: 0,
|
|
@@ -82474,7 +82474,7 @@ function createIdStore() {
|
|
|
82474
82474
|
}
|
|
82475
82475
|
var idCache = /* @__PURE__ */ createIdStore();
|
|
82476
82476
|
|
|
82477
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
82477
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/rpc/http.js
|
|
82478
82478
|
function getHttpRpcClient2(url_, options = {}) {
|
|
82479
82479
|
const { url: url2, headers: headers_url } = parseUrl(url_);
|
|
82480
82480
|
return {
|
|
@@ -82575,13 +82575,13 @@ function parseUrl(url_) {
|
|
|
82575
82575
|
}
|
|
82576
82576
|
}
|
|
82577
82577
|
|
|
82578
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
82578
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/buildRequest.js
|
|
82579
82579
|
init_base();
|
|
82580
82580
|
init_request();
|
|
82581
82581
|
init_rpc();
|
|
82582
82582
|
init_toHex();
|
|
82583
82583
|
|
|
82584
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
82584
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/promise/withDedupe.js
|
|
82585
82585
|
init_lru();
|
|
82586
82586
|
var promiseCache2 = /* @__PURE__ */ new LruMap(8192);
|
|
82587
82587
|
function withDedupe(fn, { enabled = true, id }) {
|
|
@@ -82594,7 +82594,7 @@ function withDedupe(fn, { enabled = true, id }) {
|
|
|
82594
82594
|
return promise2;
|
|
82595
82595
|
}
|
|
82596
82596
|
|
|
82597
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
82597
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/buildRequest.js
|
|
82598
82598
|
function buildRequest2(request, options = {}) {
|
|
82599
82599
|
return async (args, overrideOptions = {}) => {
|
|
82600
82600
|
const { dedupe = false, methods, retryDelay = 150, retryCount = 3, uid: uid2 } = {
|
|
@@ -82725,7 +82725,7 @@ function shouldRetry(error48) {
|
|
|
82725
82725
|
return true;
|
|
82726
82726
|
}
|
|
82727
82727
|
|
|
82728
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
82728
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/clients/transports/createTransport.js
|
|
82729
82729
|
function createTransport({ key, methods, name, request, retryCount = 3, retryDelay = 150, timeout, type }, value) {
|
|
82730
82730
|
const uid2 = uid();
|
|
82731
82731
|
return {
|
|
@@ -82744,7 +82744,7 @@ function createTransport({ key, methods, name, request, retryCount = 3, retryDel
|
|
|
82744
82744
|
};
|
|
82745
82745
|
}
|
|
82746
82746
|
|
|
82747
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
82747
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/clients/transports/http.js
|
|
82748
82748
|
function http(url2, config2 = {}) {
|
|
82749
82749
|
const { batch, fetchFn, fetchOptions, key = "http", methods, name = "HTTP JSON-RPC", onFetchRequest, onFetchResponse, retryDelay, raw } = config2;
|
|
82750
82750
|
return ({ chain, retryCount: retryCount_, timeout: timeout_ }) => {
|
|
@@ -82805,9 +82805,9 @@ function http(url2, config2 = {}) {
|
|
|
82805
82805
|
};
|
|
82806
82806
|
}
|
|
82807
82807
|
|
|
82808
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
82808
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/index.js
|
|
82809
82809
|
init_abis();
|
|
82810
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
82810
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/op-stack/contracts.js
|
|
82811
82811
|
var contracts = {
|
|
82812
82812
|
gasPriceOracle: { address: "0x420000000000000000000000000000000000000F" },
|
|
82813
82813
|
l1Block: { address: "0x4200000000000000000000000000000000000015" },
|
|
@@ -82821,7 +82821,7 @@ var contracts = {
|
|
|
82821
82821
|
}
|
|
82822
82822
|
};
|
|
82823
82823
|
|
|
82824
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
82824
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/op-stack/formatters.js
|
|
82825
82825
|
init_fromHex();
|
|
82826
82826
|
var formatters = {
|
|
82827
82827
|
block: /* @__PURE__ */ defineBlock({
|
|
@@ -82868,7 +82868,7 @@ var formatters = {
|
|
|
82868
82868
|
})
|
|
82869
82869
|
};
|
|
82870
82870
|
|
|
82871
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
82871
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/op-stack/serializers.js
|
|
82872
82872
|
init_address();
|
|
82873
82873
|
init_isAddress();
|
|
82874
82874
|
init_toHex();
|
|
@@ -82913,7 +82913,7 @@ function assertTransactionDeposit(transaction) {
|
|
|
82913
82913
|
throw new InvalidAddressError({ address: to });
|
|
82914
82914
|
}
|
|
82915
82915
|
|
|
82916
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
82916
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/op-stack/chainConfig.js
|
|
82917
82917
|
var chainConfig = {
|
|
82918
82918
|
blockTime: 2000,
|
|
82919
82919
|
contracts,
|
|
@@ -82921,7 +82921,7 @@ var chainConfig = {
|
|
|
82921
82921
|
serializers
|
|
82922
82922
|
};
|
|
82923
82923
|
|
|
82924
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
82924
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/utils/chain/defineChain.js
|
|
82925
82925
|
function defineChain3(chain) {
|
|
82926
82926
|
const chainInstance = {
|
|
82927
82927
|
formatters: undefined,
|
|
@@ -82941,7 +82941,7 @@ function defineChain3(chain) {
|
|
|
82941
82941
|
});
|
|
82942
82942
|
}
|
|
82943
82943
|
|
|
82944
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
82944
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/chains/definitions/base.js
|
|
82945
82945
|
var sourceId = 1;
|
|
82946
82946
|
var base = /* @__PURE__ */ defineChain3({
|
|
82947
82947
|
...chainConfig,
|
|
@@ -83000,7 +83000,7 @@ var basePreconf = /* @__PURE__ */ defineChain3({
|
|
|
83000
83000
|
}
|
|
83001
83001
|
}
|
|
83002
83002
|
});
|
|
83003
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
83003
|
+
// ../../node_modules/.bun/viem@2.46.3+4602d3dafcde78d2/node_modules/viem/_esm/chains/definitions/baseSepolia.js
|
|
83004
83004
|
var sourceId2 = 11155111;
|
|
83005
83005
|
var baseSepolia = /* @__PURE__ */ defineChain3({
|
|
83006
83006
|
...chainConfig,
|
|
@@ -83061,7 +83061,7 @@ var baseSepoliaPreconf = /* @__PURE__ */ defineChain3({
|
|
|
83061
83061
|
}
|
|
83062
83062
|
}
|
|
83063
83063
|
});
|
|
83064
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
83064
|
+
// ../../node_modules/.bun/viem@2.46.3+993a58d1cfa4d588/node_modules/viem/_esm/constants/number.js
|
|
83065
83065
|
var maxInt84 = 2n ** (8n - 1n) - 1n;
|
|
83066
83066
|
var maxInt164 = 2n ** (16n - 1n) - 1n;
|
|
83067
83067
|
var maxInt244 = 2n ** (24n - 1n) - 1n;
|
|
@@ -83158,7 +83158,7 @@ var maxUint2324 = 2n ** 232n - 1n;
|
|
|
83158
83158
|
var maxUint2404 = 2n ** 240n - 1n;
|
|
83159
83159
|
var maxUint2484 = 2n ** 248n - 1n;
|
|
83160
83160
|
var maxUint2564 = 2n ** 256n - 1n;
|
|
83161
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
83161
|
+
// ../../node_modules/.bun/viem@2.46.3+993a58d1cfa4d588/node_modules/viem/_esm/utils/data/concat.js
|
|
83162
83162
|
function concat5(values) {
|
|
83163
83163
|
if (typeof values[0] === "string")
|
|
83164
83164
|
return concatHex4(values);
|
|
@@ -83181,7 +83181,7 @@ function concatHex4(values) {
|
|
|
83181
83181
|
return `0x${values.reduce((acc, x) => acc + x.replace("0x", ""), "")}`;
|
|
83182
83182
|
}
|
|
83183
83183
|
|
|
83184
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
83184
|
+
// ../../node_modules/.bun/viem@2.46.3+993a58d1cfa4d588/node_modules/viem/_esm/utils/abi/formatAbiItem.js
|
|
83185
83185
|
function formatAbiItem4(abiItem, { includeName = false } = {}) {
|
|
83186
83186
|
if (abiItem.type !== "function" && abiItem.type !== "event" && abiItem.type !== "error")
|
|
83187
83187
|
throw new InvalidDefinitionTypeError3(abiItem.type);
|
|
@@ -83199,7 +83199,7 @@ function formatAbiParam2(param, { includeName }) {
|
|
|
83199
83199
|
return param.type + (includeName && param.name ? ` ${param.name}` : "");
|
|
83200
83200
|
}
|
|
83201
83201
|
|
|
83202
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
83202
|
+
// ../../node_modules/.bun/viem@2.46.3+993a58d1cfa4d588/node_modules/viem/_esm/utils/data/isHex.js
|
|
83203
83203
|
function isHex5(value, { strict = true } = {}) {
|
|
83204
83204
|
if (!value)
|
|
83205
83205
|
return false;
|
|
@@ -83208,17 +83208,17 @@ function isHex5(value, { strict = true } = {}) {
|
|
|
83208
83208
|
return strict ? /^0x[0-9a-fA-F]*$/.test(value) : value.startsWith("0x");
|
|
83209
83209
|
}
|
|
83210
83210
|
|
|
83211
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
83211
|
+
// ../../node_modules/.bun/viem@2.46.3+993a58d1cfa4d588/node_modules/viem/_esm/utils/data/size.js
|
|
83212
83212
|
function size7(value) {
|
|
83213
83213
|
if (isHex5(value, { strict: false }))
|
|
83214
83214
|
return Math.ceil((value.length - 2) / 2);
|
|
83215
83215
|
return value.length;
|
|
83216
83216
|
}
|
|
83217
83217
|
|
|
83218
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
83218
|
+
// ../../node_modules/.bun/viem@2.46.3+993a58d1cfa4d588/node_modules/viem/_esm/errors/version.js
|
|
83219
83219
|
var version5 = "2.46.3";
|
|
83220
83220
|
|
|
83221
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
83221
|
+
// ../../node_modules/.bun/viem@2.46.3+993a58d1cfa4d588/node_modules/viem/_esm/errors/base.js
|
|
83222
83222
|
var errorConfig2 = {
|
|
83223
83223
|
getDocsUrl: ({ docsBaseUrl, docsPath: docsPath8 = "", docsSlug }) => docsPath8 ? `${docsBaseUrl ?? "https://viem.sh"}${docsPath8}${docsSlug ? `#${docsSlug}` : ""}` : undefined,
|
|
83224
83224
|
version: `viem@${version5}`
|
|
@@ -83303,7 +83303,7 @@ function walk3(err, fn) {
|
|
|
83303
83303
|
return fn ? null : err;
|
|
83304
83304
|
}
|
|
83305
83305
|
|
|
83306
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
83306
|
+
// ../../node_modules/.bun/viem@2.46.3+993a58d1cfa4d588/node_modules/viem/_esm/errors/abi.js
|
|
83307
83307
|
class AbiEncodingArrayLengthMismatchError3 extends BaseError5 {
|
|
83308
83308
|
constructor({ expectedLength, givenLength, type }) {
|
|
83309
83309
|
super([
|
|
@@ -83385,7 +83385,7 @@ class InvalidDefinitionTypeError3 extends BaseError5 {
|
|
|
83385
83385
|
}
|
|
83386
83386
|
}
|
|
83387
83387
|
|
|
83388
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
83388
|
+
// ../../node_modules/.bun/viem@2.46.3+993a58d1cfa4d588/node_modules/viem/_esm/errors/address.js
|
|
83389
83389
|
class InvalidAddressError4 extends BaseError5 {
|
|
83390
83390
|
constructor({ address }) {
|
|
83391
83391
|
super(`Address "${address}" is invalid.`, {
|
|
@@ -83398,7 +83398,7 @@ class InvalidAddressError4 extends BaseError5 {
|
|
|
83398
83398
|
}
|
|
83399
83399
|
}
|
|
83400
83400
|
|
|
83401
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
83401
|
+
// ../../node_modules/.bun/viem@2.46.3+993a58d1cfa4d588/node_modules/viem/_esm/errors/encoding.js
|
|
83402
83402
|
class IntegerOutOfRangeError4 extends BaseError5 {
|
|
83403
83403
|
constructor({ max, min, signed, size: size8, value }) {
|
|
83404
83404
|
super(`Number "${value}" is not in safe ${size8 ? `${size8 * 8}-bit ${signed ? "signed" : "unsigned"} ` : ""}integer range ${max ? `(${min} to ${max})` : `(above ${min})`}`, { name: "IntegerOutOfRangeError" });
|
|
@@ -83410,7 +83410,7 @@ class SizeOverflowError5 extends BaseError5 {
|
|
|
83410
83410
|
}
|
|
83411
83411
|
}
|
|
83412
83412
|
|
|
83413
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
83413
|
+
// ../../node_modules/.bun/viem@2.46.3+993a58d1cfa4d588/node_modules/viem/_esm/utils/lru.js
|
|
83414
83414
|
class LruMap3 extends Map {
|
|
83415
83415
|
constructor(size8) {
|
|
83416
83416
|
super();
|
|
@@ -83441,7 +83441,7 @@ class LruMap3 extends Map {
|
|
|
83441
83441
|
}
|
|
83442
83442
|
}
|
|
83443
83443
|
|
|
83444
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
83444
|
+
// ../../node_modules/.bun/viem@2.46.3+993a58d1cfa4d588/node_modules/viem/_esm/errors/data.js
|
|
83445
83445
|
class SliceOffsetOutOfBoundsError5 extends BaseError5 {
|
|
83446
83446
|
constructor({ offset, position, size: size8 }) {
|
|
83447
83447
|
super(`Slice ${position === "start" ? "starting" : "ending"} at offset "${offset}" is out-of-bounds (size: ${size8}).`, { name: "SliceOffsetOutOfBoundsError" });
|
|
@@ -83454,7 +83454,7 @@ class SizeExceedsPaddingSizeError5 extends BaseError5 {
|
|
|
83454
83454
|
}
|
|
83455
83455
|
}
|
|
83456
83456
|
|
|
83457
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
83457
|
+
// ../../node_modules/.bun/viem@2.46.3+993a58d1cfa4d588/node_modules/viem/_esm/utils/data/pad.js
|
|
83458
83458
|
function pad6(hexOrBytes, { dir, size: size8 = 32 } = {}) {
|
|
83459
83459
|
if (typeof hexOrBytes === "string")
|
|
83460
83460
|
return padHex4(hexOrBytes, { dir, size: size8 });
|
|
@@ -83489,7 +83489,7 @@ function padBytes4(bytes, { dir, size: size8 = 32 } = {}) {
|
|
|
83489
83489
|
return paddedBytes;
|
|
83490
83490
|
}
|
|
83491
83491
|
|
|
83492
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
83492
|
+
// ../../node_modules/.bun/viem@2.46.3+993a58d1cfa4d588/node_modules/viem/_esm/utils/encoding/fromHex.js
|
|
83493
83493
|
function assertSize4(hexOrBytes, { size: size8 }) {
|
|
83494
83494
|
if (size7(hexOrBytes) > size8)
|
|
83495
83495
|
throw new SizeOverflowError5({
|
|
@@ -83498,7 +83498,7 @@ function assertSize4(hexOrBytes, { size: size8 }) {
|
|
|
83498
83498
|
});
|
|
83499
83499
|
}
|
|
83500
83500
|
|
|
83501
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
83501
|
+
// ../../node_modules/.bun/viem@2.46.3+993a58d1cfa4d588/node_modules/viem/_esm/utils/encoding/toHex.js
|
|
83502
83502
|
var hexes4 = /* @__PURE__ */ Array.from({ length: 256 }, (_v, i) => i.toString(16).padStart(2, "0"));
|
|
83503
83503
|
function toHex5(value, opts = {}) {
|
|
83504
83504
|
if (typeof value === "number" || typeof value === "bigint")
|
|
@@ -83564,7 +83564,7 @@ function stringToHex4(value_, opts = {}) {
|
|
|
83564
83564
|
return bytesToHex5(value, opts);
|
|
83565
83565
|
}
|
|
83566
83566
|
|
|
83567
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
83567
|
+
// ../../node_modules/.bun/viem@2.46.3+993a58d1cfa4d588/node_modules/viem/_esm/utils/encoding/toBytes.js
|
|
83568
83568
|
var encoder6 = /* @__PURE__ */ new TextEncoder;
|
|
83569
83569
|
function toBytes6(value, opts = {}) {
|
|
83570
83570
|
if (typeof value === "number" || typeof value === "bigint")
|
|
@@ -83635,7 +83635,7 @@ function stringToBytes4(value, opts = {}) {
|
|
|
83635
83635
|
return bytes;
|
|
83636
83636
|
}
|
|
83637
83637
|
|
|
83638
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
83638
|
+
// ../../node_modules/.bun/viem@2.46.3+993a58d1cfa4d588/node_modules/viem/_esm/utils/hash/keccak256.js
|
|
83639
83639
|
init_sha3();
|
|
83640
83640
|
function keccak2565(value, to_) {
|
|
83641
83641
|
const to = to_ || "hex";
|
|
@@ -83645,7 +83645,7 @@ function keccak2565(value, to_) {
|
|
|
83645
83645
|
return toHex5(bytes);
|
|
83646
83646
|
}
|
|
83647
83647
|
|
|
83648
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
83648
|
+
// ../../node_modules/.bun/viem@2.46.3+993a58d1cfa4d588/node_modules/viem/_esm/utils/address/getAddress.js
|
|
83649
83649
|
var checksumAddressCache2 = /* @__PURE__ */ new LruMap3(8192);
|
|
83650
83650
|
function checksumAddress3(address_, chainId) {
|
|
83651
83651
|
if (checksumAddressCache2.has(`${address_}.${chainId}`))
|
|
@@ -83671,7 +83671,7 @@ function getAddress4(address, chainId) {
|
|
|
83671
83671
|
return checksumAddress3(address, chainId);
|
|
83672
83672
|
}
|
|
83673
83673
|
|
|
83674
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
83674
|
+
// ../../node_modules/.bun/viem@2.46.3+993a58d1cfa4d588/node_modules/viem/_esm/utils/address/isAddress.js
|
|
83675
83675
|
var addressRegex3 = /^0x[a-fA-F0-9]{40}$/;
|
|
83676
83676
|
var isAddressCache2 = /* @__PURE__ */ new LruMap3(8192);
|
|
83677
83677
|
function isAddress4(address, options) {
|
|
@@ -83692,7 +83692,7 @@ function isAddress4(address, options) {
|
|
|
83692
83692
|
return result;
|
|
83693
83693
|
}
|
|
83694
83694
|
|
|
83695
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
83695
|
+
// ../../node_modules/.bun/viem@2.46.3+993a58d1cfa4d588/node_modules/viem/_esm/utils/data/slice.js
|
|
83696
83696
|
function slice6(value, start, end, { strict } = {}) {
|
|
83697
83697
|
if (isHex5(value, { strict: false }))
|
|
83698
83698
|
return sliceHex4(value, start, end, {
|
|
@@ -83734,10 +83734,10 @@ function sliceHex4(value_, start, end, { strict } = {}) {
|
|
|
83734
83734
|
return value;
|
|
83735
83735
|
}
|
|
83736
83736
|
|
|
83737
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
83737
|
+
// ../../node_modules/.bun/viem@2.46.3+993a58d1cfa4d588/node_modules/viem/_esm/utils/regex.js
|
|
83738
83738
|
var integerRegex5 = /^(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)?$/;
|
|
83739
83739
|
|
|
83740
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
83740
|
+
// ../../node_modules/.bun/viem@2.46.3+993a58d1cfa4d588/node_modules/viem/_esm/utils/abi/encodeAbiParameters.js
|
|
83741
83741
|
function encodeAbiParameters4(params, values) {
|
|
83742
83742
|
if (params.length !== values.length)
|
|
83743
83743
|
throw new AbiEncodingLengthMismatchError3({
|
|
@@ -83948,18 +83948,18 @@ function getArrayComponents3(type) {
|
|
|
83948
83948
|
return matches ? [matches[2] ? Number(matches[2]) : null, matches[1]] : undefined;
|
|
83949
83949
|
}
|
|
83950
83950
|
|
|
83951
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
83951
|
+
// ../../node_modules/.bun/viem@2.46.3+993a58d1cfa4d588/node_modules/viem/_esm/utils/hash/hashSignature.js
|
|
83952
83952
|
var hash4 = (value) => keccak2565(toBytes6(value));
|
|
83953
83953
|
function hashSignature2(sig) {
|
|
83954
83954
|
return hash4(sig);
|
|
83955
83955
|
}
|
|
83956
|
-
// ../../node_modules/.bun/abitype@1.2.3+
|
|
83956
|
+
// ../../node_modules/.bun/abitype@1.2.3+5c53079f8c818184/node_modules/abitype/dist/esm/regex.js
|
|
83957
83957
|
function execTyped2(regex2, string4) {
|
|
83958
83958
|
const match = regex2.exec(string4);
|
|
83959
83959
|
return match?.groups;
|
|
83960
83960
|
}
|
|
83961
83961
|
|
|
83962
|
-
// ../../node_modules/.bun/abitype@1.2.3+
|
|
83962
|
+
// ../../node_modules/.bun/abitype@1.2.3+5c53079f8c818184/node_modules/abitype/dist/esm/human-readable/formatAbiParameter.js
|
|
83963
83963
|
var tupleRegex2 = /^tuple(?<array>(\[(\d*)\])*)$/;
|
|
83964
83964
|
function formatAbiParameter2(abiParameter) {
|
|
83965
83965
|
let type = abiParameter.type;
|
|
@@ -83986,7 +83986,7 @@ function formatAbiParameter2(abiParameter) {
|
|
|
83986
83986
|
return type;
|
|
83987
83987
|
}
|
|
83988
83988
|
|
|
83989
|
-
// ../../node_modules/.bun/abitype@1.2.3+
|
|
83989
|
+
// ../../node_modules/.bun/abitype@1.2.3+5c53079f8c818184/node_modules/abitype/dist/esm/human-readable/formatAbiParameters.js
|
|
83990
83990
|
function formatAbiParameters2(abiParameters) {
|
|
83991
83991
|
let params = "";
|
|
83992
83992
|
const length = abiParameters.length;
|
|
@@ -83999,7 +83999,7 @@ function formatAbiParameters2(abiParameters) {
|
|
|
83999
83999
|
return params;
|
|
84000
84000
|
}
|
|
84001
84001
|
|
|
84002
|
-
// ../../node_modules/.bun/abitype@1.2.3+
|
|
84002
|
+
// ../../node_modules/.bun/abitype@1.2.3+5c53079f8c818184/node_modules/abitype/dist/esm/human-readable/formatAbiItem.js
|
|
84003
84003
|
function formatAbiItem5(abiItem) {
|
|
84004
84004
|
if (abiItem.type === "function")
|
|
84005
84005
|
return `function ${abiItem.name}(${formatAbiParameters2(abiItem.inputs)})${abiItem.stateMutability && abiItem.stateMutability !== "nonpayable" ? ` ${abiItem.stateMutability}` : ""}${abiItem.outputs?.length ? ` returns (${formatAbiParameters2(abiItem.outputs)})` : ""}`;
|
|
@@ -84013,7 +84013,7 @@ function formatAbiItem5(abiItem) {
|
|
|
84013
84013
|
return `fallback() external${abiItem.stateMutability === "payable" ? " payable" : ""}`;
|
|
84014
84014
|
return "receive() external payable";
|
|
84015
84015
|
}
|
|
84016
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
84016
|
+
// ../../node_modules/.bun/viem@2.46.3+993a58d1cfa4d588/node_modules/viem/_esm/utils/hash/normalizeSignature.js
|
|
84017
84017
|
function normalizeSignature3(signature) {
|
|
84018
84018
|
let active = true;
|
|
84019
84019
|
let current = "";
|
|
@@ -84057,7 +84057,7 @@ function normalizeSignature3(signature) {
|
|
|
84057
84057
|
return result;
|
|
84058
84058
|
}
|
|
84059
84059
|
|
|
84060
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
84060
|
+
// ../../node_modules/.bun/viem@2.46.3+993a58d1cfa4d588/node_modules/viem/_esm/utils/hash/toSignature.js
|
|
84061
84061
|
var toSignature2 = (def) => {
|
|
84062
84062
|
const def_ = (() => {
|
|
84063
84063
|
if (typeof def === "string")
|
|
@@ -84067,18 +84067,18 @@ var toSignature2 = (def) => {
|
|
|
84067
84067
|
return normalizeSignature3(def_);
|
|
84068
84068
|
};
|
|
84069
84069
|
|
|
84070
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
84070
|
+
// ../../node_modules/.bun/viem@2.46.3+993a58d1cfa4d588/node_modules/viem/_esm/utils/hash/toSignatureHash.js
|
|
84071
84071
|
function toSignatureHash2(fn) {
|
|
84072
84072
|
return hashSignature2(toSignature2(fn));
|
|
84073
84073
|
}
|
|
84074
84074
|
|
|
84075
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
84075
|
+
// ../../node_modules/.bun/viem@2.46.3+993a58d1cfa4d588/node_modules/viem/_esm/utils/hash/toFunctionSelector.js
|
|
84076
84076
|
var toFunctionSelector6 = (fn) => slice6(toSignatureHash2(fn), 0, 4);
|
|
84077
84077
|
|
|
84078
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
84078
|
+
// ../../node_modules/.bun/viem@2.46.3+993a58d1cfa4d588/node_modules/viem/_esm/utils/hash/toEventSelector.js
|
|
84079
84079
|
var toEventSelector6 = toSignatureHash2;
|
|
84080
84080
|
|
|
84081
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
84081
|
+
// ../../node_modules/.bun/viem@2.46.3+993a58d1cfa4d588/node_modules/viem/_esm/utils/abi/getAbiItem.js
|
|
84082
84082
|
function getAbiItem4(parameters) {
|
|
84083
84083
|
const { abi: abi2, args = [], name } = parameters;
|
|
84084
84084
|
const isSelector = isHex5(name, { strict: false });
|
|
@@ -84189,7 +84189,7 @@ function getAmbiguousTypes3(sourceParameters, targetParameters, args) {
|
|
|
84189
84189
|
return;
|
|
84190
84190
|
}
|
|
84191
84191
|
|
|
84192
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
84192
|
+
// ../../node_modules/.bun/viem@2.46.3+993a58d1cfa4d588/node_modules/viem/_esm/utils/abi/prepareEncodeFunctionData.js
|
|
84193
84193
|
var docsPath8 = "/docs/contract/encodeFunctionData";
|
|
84194
84194
|
function prepareEncodeFunctionData3(parameters) {
|
|
84195
84195
|
const { abi: abi2, args, functionName } = parameters;
|
|
@@ -84212,7 +84212,7 @@ function prepareEncodeFunctionData3(parameters) {
|
|
|
84212
84212
|
};
|
|
84213
84213
|
}
|
|
84214
84214
|
|
|
84215
|
-
// ../../node_modules/.bun/viem@2.46.3+
|
|
84215
|
+
// ../../node_modules/.bun/viem@2.46.3+993a58d1cfa4d588/node_modules/viem/_esm/utils/abi/encodeFunctionData.js
|
|
84216
84216
|
function encodeFunctionData4(parameters) {
|
|
84217
84217
|
const { args } = parameters;
|
|
84218
84218
|
const { abi: abi2, functionName } = (() => {
|
|
@@ -84225,7 +84225,7 @@ function encodeFunctionData4(parameters) {
|
|
|
84225
84225
|
const data = "inputs" in abiItem && abiItem.inputs ? encodeAbiParameters4(abiItem.inputs, args ?? []) : undefined;
|
|
84226
84226
|
return concatHex4([signature, data ?? "0x"]);
|
|
84227
84227
|
}
|
|
84228
|
-
// ../../node_modules/.bun/@x402+evm@2.5.0+
|
|
84228
|
+
// ../../node_modules/.bun/@x402+evm@2.5.0+b07dea0fa9dca3bb/node_modules/@x402/evm/dist/esm/chunk-7KHQD5KT.mjs
|
|
84229
84229
|
var authorizationTypes = {
|
|
84230
84230
|
TransferWithAuthorization: [
|
|
84231
84231
|
{ name: "from", type: "address" },
|
|
@@ -84348,7 +84348,7 @@ var EVM_NETWORK_CHAIN_ID_MAP = {
|
|
|
84348
84348
|
};
|
|
84349
84349
|
var NETWORKS = Object.keys(EVM_NETWORK_CHAIN_ID_MAP);
|
|
84350
84350
|
|
|
84351
|
-
// ../../node_modules/.bun/@x402+extensions@2.5.0+
|
|
84351
|
+
// ../../node_modules/.bun/@x402+extensions@2.5.0+b07dea0fa9dca3bb/node_modules/@x402/extensions/dist/esm/chunk-ANAQVNUK.mjs
|
|
84352
84352
|
var BAZAAR = { key: "bazaar" };
|
|
84353
84353
|
function isHTTPRequestContext(ctx) {
|
|
84354
84354
|
return ctx !== null && typeof ctx === "object" && "method" in ctx && "adapter" in ctx;
|
|
@@ -88372,7 +88372,7 @@ var coerce = {
|
|
|
88372
88372
|
date: (arg) => ZodDate2.create({ ...arg, coerce: true })
|
|
88373
88373
|
};
|
|
88374
88374
|
var NEVER2 = INVALID;
|
|
88375
|
-
// ../../node_modules/.bun/@x402+extensions@2.5.0+
|
|
88375
|
+
// ../../node_modules/.bun/@x402+extensions@2.5.0+b07dea0fa9dca3bb/node_modules/@x402/extensions/dist/esm/chunk-O34SGKEP.mjs
|
|
88376
88376
|
var import_tweetnacl = __toESM(require_nacl_fast(), 1);
|
|
88377
88377
|
|
|
88378
88378
|
// ../../node_modules/.bun/@x402+core@2.5.0/node_modules/@x402/core/dist/esm/chunk-TDLQZ6MP.mjs
|
|
@@ -88415,7 +88415,7 @@ function safeBase64Decode(data) {
|
|
|
88415
88415
|
return Buffer.from(data, "base64").toString("utf-8");
|
|
88416
88416
|
}
|
|
88417
88417
|
|
|
88418
|
-
// ../../node_modules/.bun/@x402+extensions@2.5.0+
|
|
88418
|
+
// ../../node_modules/.bun/@x402+extensions@2.5.0+b07dea0fa9dca3bb/node_modules/@x402/extensions/dist/esm/chunk-O34SGKEP.mjs
|
|
88419
88419
|
var import_siwe = __toESM(require_siwe(), 1);
|
|
88420
88420
|
|
|
88421
88421
|
// ../../node_modules/.bun/@x402+core@2.5.0/node_modules/@x402/core/dist/esm/chunk-VE37GDG2.mjs
|
|
@@ -88495,7 +88495,7 @@ function decodePaymentResponseHeader(paymentResponseHeader) {
|
|
|
88495
88495
|
return JSON.parse(safeBase64Decode(paymentResponseHeader));
|
|
88496
88496
|
}
|
|
88497
88497
|
|
|
88498
|
-
// ../../node_modules/.bun/@x402+extensions@2.5.0+
|
|
88498
|
+
// ../../node_modules/.bun/@x402+extensions@2.5.0+b07dea0fa9dca3bb/node_modules/@x402/extensions/dist/esm/chunk-O34SGKEP.mjs
|
|
88499
88499
|
var SIWxPayloadSchema = exports_external2.object({
|
|
88500
88500
|
domain: exports_external2.string(),
|
|
88501
88501
|
address: exports_external2.string(),
|
|
@@ -88515,14 +88515,14 @@ var SIWxPayloadSchema = exports_external2.object({
|
|
|
88515
88515
|
});
|
|
88516
88516
|
var DEFAULT_MAX_AGE_MS = 5 * 60 * 1000;
|
|
88517
88517
|
|
|
88518
|
-
// ../../node_modules/.bun/@x402+extensions@2.5.0+
|
|
88518
|
+
// ../../node_modules/.bun/@x402+extensions@2.5.0+b07dea0fa9dca3bb/node_modules/@x402/extensions/dist/esm/index.mjs
|
|
88519
88519
|
var EIP2612_GAS_SPONSORING = { key: "eip2612GasSponsoring" };
|
|
88520
88520
|
var ERC20_APPROVAL_GAS_SPONSORING = {
|
|
88521
88521
|
key: "erc20ApprovalGasSponsoring"
|
|
88522
88522
|
};
|
|
88523
88523
|
var ERC20_APPROVAL_GAS_SPONSORING_VERSION = "1";
|
|
88524
88524
|
|
|
88525
|
-
// ../../node_modules/.bun/@x402+evm@2.5.0+
|
|
88525
|
+
// ../../node_modules/.bun/@x402+evm@2.5.0+b07dea0fa9dca3bb/node_modules/@x402/evm/dist/esm/chunk-GY6X5A3G.mjs
|
|
88526
88526
|
async function createEIP3009Payload(signer, x402Version2, paymentRequirements) {
|
|
88527
88527
|
const nonce = createNonce();
|
|
88528
88528
|
const now = Math.floor(Date.now() / 1000);
|
|
@@ -88788,7 +88788,7 @@ var ExactEvmScheme = class {
|
|
|
88788
88788
|
}
|
|
88789
88789
|
};
|
|
88790
88790
|
|
|
88791
|
-
// ../../node_modules/.bun/@x402+evm@2.5.0+
|
|
88791
|
+
// ../../node_modules/.bun/@x402+evm@2.5.0+b07dea0fa9dca3bb/node_modules/@x402/evm/dist/esm/index.mjs
|
|
88792
88792
|
function toClientEvmSigner(signer, publicClient) {
|
|
88793
88793
|
const readContract2 = signer.readContract ?? publicClient?.readContract.bind(publicClient);
|
|
88794
88794
|
if (!readContract2) {
|
|
@@ -89072,7 +89072,7 @@ var x402Client = class _x402Client {
|
|
|
89072
89072
|
}
|
|
89073
89073
|
};
|
|
89074
89074
|
|
|
89075
|
-
// ../../node_modules/.bun/@x402+fetch@2.5.0+
|
|
89075
|
+
// ../../node_modules/.bun/@x402+fetch@2.5.0+099bdc84bd32eb17/node_modules/@x402/fetch/dist/esm/index.mjs
|
|
89076
89076
|
function wrapFetchWithPayment(fetch2, client) {
|
|
89077
89077
|
const httpClient = client instanceof x402HTTPClient ? client : new x402HTTPClient(client);
|
|
89078
89078
|
return async (input, init) => {
|
|
@@ -91828,7 +91828,7 @@ function PayTransaction(wallet) {
|
|
|
91828
91828
|
// ../use-agently-sdk/package.json
|
|
91829
91829
|
var package_default = {
|
|
91830
91830
|
name: "@use-agently/sdk",
|
|
91831
|
-
version: "0.
|
|
91831
|
+
version: "0.32.0",
|
|
91832
91832
|
description: "Core SDK for the Agently platform — wallet management, A2A, MCP, x402 payments",
|
|
91833
91833
|
homepage: "https://github.com/AgentlyHQ/use-agently/tree/main/packages/use-agently-sdk",
|
|
91834
91834
|
bugs: {
|
|
@@ -96460,6 +96460,10 @@ async function getConfigOrThrow() {
|
|
|
96460
96460
|
}
|
|
96461
96461
|
return config2;
|
|
96462
96462
|
}
|
|
96463
|
+
function getActiveProvider(config2) {
|
|
96464
|
+
const provider = config2.wallet?.provider;
|
|
96465
|
+
return typeof provider === "string" && provider !== "" ? provider : "local";
|
|
96466
|
+
}
|
|
96463
96467
|
|
|
96464
96468
|
// src/commands/init.ts
|
|
96465
96469
|
var initCommand = new Command("init").description("Generate a new local wallet and save it to config").option("--regenerate", "Backup existing config and generate a new wallet").option("--local", "Save config to the current directory (.use-agently/config.json) instead of the home directory").showHelpAfterError(true).addHelpText("after", `
|
|
@@ -96482,15 +96486,114 @@ Config: ~/.use-agently/config.json (global), .use-agently/config.json (local)`).
|
|
|
96482
96486
|
});
|
|
96483
96487
|
});
|
|
96484
96488
|
|
|
96489
|
+
// src/providers/default.ts
|
|
96490
|
+
var defaultProvider = {
|
|
96491
|
+
type: "local",
|
|
96492
|
+
name: "Default",
|
|
96493
|
+
async detect() {
|
|
96494
|
+
const config2 = await loadConfig();
|
|
96495
|
+
const wallet = config2?.wallet;
|
|
96496
|
+
if (!wallet?.type || wallet.type === "none")
|
|
96497
|
+
return { installed: false };
|
|
96498
|
+
return { installed: true, address: wallet.address };
|
|
96499
|
+
},
|
|
96500
|
+
async loadWallet() {
|
|
96501
|
+
const config2 = await loadConfig();
|
|
96502
|
+
if (!config2?.wallet?.type || config2.wallet.type === "none") {
|
|
96503
|
+
throw new Error("No built-in wallet configured. Run 'use-agently init' to create one.");
|
|
96504
|
+
}
|
|
96505
|
+
return loadWallet(config2.wallet);
|
|
96506
|
+
}
|
|
96507
|
+
};
|
|
96508
|
+
|
|
96509
|
+
// src/providers/agentcash.ts
|
|
96510
|
+
import { readFile as readFile2 } from "node:fs/promises";
|
|
96511
|
+
import { join as join2 } from "node:path";
|
|
96512
|
+
import { homedir as homedir2 } from "node:os";
|
|
96513
|
+
var WALLET_PATH = join2(homedir2(), ".agentcash", "wallet.json");
|
|
96514
|
+
var walletSchema = exports_external.object({
|
|
96515
|
+
privateKey: exports_external.string().regex(/^0x[a-fA-F0-9]{64}$/, "Invalid Ethereum private key"),
|
|
96516
|
+
address: exports_external.string().regex(/^0x[a-fA-F0-9]{40}$/, "Invalid Ethereum address"),
|
|
96517
|
+
createdAt: exports_external.string()
|
|
96518
|
+
});
|
|
96519
|
+
async function readWalletFile() {
|
|
96520
|
+
let contents;
|
|
96521
|
+
try {
|
|
96522
|
+
contents = await readFile2(WALLET_PATH, "utf8");
|
|
96523
|
+
} catch {
|
|
96524
|
+
return;
|
|
96525
|
+
}
|
|
96526
|
+
const parsed = walletSchema.safeParse(JSON.parse(contents));
|
|
96527
|
+
if (!parsed.success)
|
|
96528
|
+
return;
|
|
96529
|
+
return parsed.data;
|
|
96530
|
+
}
|
|
96531
|
+
var agentcashProvider = {
|
|
96532
|
+
type: "agentcash",
|
|
96533
|
+
name: "AgentCash",
|
|
96534
|
+
async detect() {
|
|
96535
|
+
const wallet = await readWalletFile();
|
|
96536
|
+
if (!wallet)
|
|
96537
|
+
return { installed: false };
|
|
96538
|
+
return { installed: true, address: wallet.address };
|
|
96539
|
+
},
|
|
96540
|
+
async loadWallet() {
|
|
96541
|
+
const wallet = await readWalletFile();
|
|
96542
|
+
if (!wallet) {
|
|
96543
|
+
throw new Error(`AgentCash wallet not found at ${WALLET_PATH}.
|
|
96544
|
+
Install and create a wallet: npx agentcash wallet create`);
|
|
96545
|
+
}
|
|
96546
|
+
return loadWallet({
|
|
96547
|
+
type: "evm-private-key",
|
|
96548
|
+
privateKey: wallet.privateKey,
|
|
96549
|
+
address: wallet.address
|
|
96550
|
+
});
|
|
96551
|
+
}
|
|
96552
|
+
};
|
|
96553
|
+
|
|
96554
|
+
// src/providers/index.ts
|
|
96555
|
+
var registry2 = [defaultProvider, agentcashProvider];
|
|
96556
|
+
function getProvider(type) {
|
|
96557
|
+
return registry2.find((p) => p.type === type);
|
|
96558
|
+
}
|
|
96559
|
+
async function detectProviders(activeProvider) {
|
|
96560
|
+
const results = await Promise.all(registry2.map(async (provider) => {
|
|
96561
|
+
const { installed, address } = await provider.detect();
|
|
96562
|
+
return {
|
|
96563
|
+
type: provider.type,
|
|
96564
|
+
name: provider.name,
|
|
96565
|
+
installed,
|
|
96566
|
+
address,
|
|
96567
|
+
active: activeProvider === provider.type
|
|
96568
|
+
};
|
|
96569
|
+
}));
|
|
96570
|
+
return results;
|
|
96571
|
+
}
|
|
96572
|
+
async function loadWalletFromProvider(type) {
|
|
96573
|
+
const provider = getProvider(type);
|
|
96574
|
+
if (!provider) {
|
|
96575
|
+
const available = registry2.map((p) => p.type).join(", ");
|
|
96576
|
+
throw new Error(`Unknown wallet provider "${type}". Available providers: ${available}`);
|
|
96577
|
+
}
|
|
96578
|
+
return provider.loadWallet();
|
|
96579
|
+
}
|
|
96580
|
+
|
|
96581
|
+
// src/wallet.ts
|
|
96582
|
+
async function resolveWallet(config2) {
|
|
96583
|
+
return loadWalletFromProvider(getActiveProvider(config2));
|
|
96584
|
+
}
|
|
96585
|
+
|
|
96485
96586
|
// src/commands/whoami.ts
|
|
96486
96587
|
var whoamiCommand = new Command("whoami").description("Show current wallet info").showHelpAfterError(true).addHelpText("after", `
|
|
96487
96588
|
Examples:
|
|
96488
96589
|
use-agently whoami`).action(async (_options, command) => {
|
|
96489
96590
|
const config2 = await getConfigOrThrow();
|
|
96490
|
-
const wallet =
|
|
96591
|
+
const wallet = await resolveWallet(config2);
|
|
96592
|
+
const provider = getActiveProvider(config2);
|
|
96491
96593
|
output(command, {
|
|
96492
96594
|
namespace: "eip155",
|
|
96493
|
-
address: wallet.address
|
|
96595
|
+
address: wallet.address,
|
|
96596
|
+
provider
|
|
96494
96597
|
});
|
|
96495
96598
|
});
|
|
96496
96599
|
|
|
@@ -96499,14 +96602,41 @@ var balanceCommand = new Command("balance").description("Check wallet balance on
|
|
|
96499
96602
|
Examples:
|
|
96500
96603
|
use-agently balance`).action(async (options, command) => {
|
|
96501
96604
|
const config2 = await getConfigOrThrow();
|
|
96502
|
-
const wallet =
|
|
96605
|
+
const wallet = await resolveWallet(config2);
|
|
96503
96606
|
const result = await getBalance2(wallet.address, { rpc: options.rpc });
|
|
96504
|
-
|
|
96607
|
+
const activeProvider = getActiveProvider(config2);
|
|
96608
|
+
const detected = await detectProviders(activeProvider);
|
|
96609
|
+
const otherProviders = detected.filter((p) => p.installed && !p.active);
|
|
96610
|
+
const format = getOutputFormat(command);
|
|
96611
|
+
if (format === "json") {
|
|
96612
|
+
outputJson({
|
|
96613
|
+
...result,
|
|
96614
|
+
provider: activeProvider,
|
|
96615
|
+
otherProviders: otherProviders.map((p) => ({
|
|
96616
|
+
type: p.type,
|
|
96617
|
+
name: p.name,
|
|
96618
|
+
address: p.address,
|
|
96619
|
+
switchCommand: `use-agently wallet set ${p.type}`
|
|
96620
|
+
}))
|
|
96621
|
+
});
|
|
96622
|
+
} else {
|
|
96623
|
+
outputTuiKeyValue({ ...result, provider: activeProvider });
|
|
96624
|
+
if (otherProviders.length > 0) {
|
|
96625
|
+
console.log("");
|
|
96626
|
+
console.log("Other wallets detected:");
|
|
96627
|
+
for (const p of otherProviders) {
|
|
96628
|
+
const addr = p.address ? ` ${p.address}` : "";
|
|
96629
|
+
console.log(` ${p.name}${addr}`);
|
|
96630
|
+
}
|
|
96631
|
+
console.log(`
|
|
96632
|
+
Switch provider: use-agently wallet set <provider>`);
|
|
96633
|
+
}
|
|
96634
|
+
}
|
|
96505
96635
|
});
|
|
96506
96636
|
// package.json
|
|
96507
96637
|
var package_default2 = {
|
|
96508
96638
|
name: "use-agently",
|
|
96509
|
-
version: "0.
|
|
96639
|
+
version: "0.32.0",
|
|
96510
96640
|
description: "Use Agently CLI",
|
|
96511
96641
|
homepage: "https://use-agently.com",
|
|
96512
96642
|
bugs: "https://github.com/AgentlyHQ/use-agently/issues",
|
|
@@ -96530,7 +96660,7 @@ var package_default2 = {
|
|
|
96530
96660
|
test: "bun test"
|
|
96531
96661
|
},
|
|
96532
96662
|
dependencies: {
|
|
96533
|
-
"@use-agently/sdk": "0.
|
|
96663
|
+
"@use-agently/sdk": "0.32.0",
|
|
96534
96664
|
boxen: "^8.0.1",
|
|
96535
96665
|
"cli-table3": "^0.6.5",
|
|
96536
96666
|
commander: "^14.0.3",
|
|
@@ -96558,8 +96688,10 @@ class DryRunPaymentRequired2 extends DryRunPaymentRequired {
|
|
|
96558
96688
|
const req = requirements[0];
|
|
96559
96689
|
const amount = req ? formatUsdcAmount2(req) : null;
|
|
96560
96690
|
this.message = amount ? `This request requires payment of ${amount}.
|
|
96561
|
-
Run the same command with --pay to authorize the transaction and proceed
|
|
96562
|
-
|
|
96691
|
+
Run the same command with --pay to authorize the transaction and proceed.
|
|
96692
|
+
Run "use-agently balance" to check your wallet address and balance, then send USDC on Base to fund it.` : `This request requires payment, but the amount could not be determined.
|
|
96693
|
+
Inspect the endpoint manually before running with --pay.
|
|
96694
|
+
Run "use-agently balance" to check your wallet address and balance.`;
|
|
96563
96695
|
}
|
|
96564
96696
|
}
|
|
96565
96697
|
function createDryRunFetch2() {
|
|
@@ -96627,7 +96759,7 @@ function createSpendLimitedFetch(baseFetch, maxSpendPerCall) {
|
|
|
96627
96759
|
async function resolveFetch(pay) {
|
|
96628
96760
|
if (pay) {
|
|
96629
96761
|
const config2 = await getConfigOrThrow();
|
|
96630
|
-
const wallet =
|
|
96762
|
+
const wallet = await resolveWallet(config2);
|
|
96631
96763
|
const maxSpend = getMaxSpendPerCall(config2);
|
|
96632
96764
|
const limitedFetch = createSpendLimitedFetch(clientFetch2, maxSpend);
|
|
96633
96765
|
return createPaymentFetch(wallet, limitedFetch);
|
|
@@ -96930,7 +97062,7 @@ function outputMcpResult(result, command) {
|
|
|
96930
97062
|
}
|
|
96931
97063
|
message = `Insufficient funds to pay for this tool.
|
|
96932
97064
|
Required: ${amountStr}
|
|
96933
|
-
|
|
97065
|
+
Run "use-agently balance" to check your wallet address and balance, then send USDC on Base to fund it.`;
|
|
96934
97066
|
} else {
|
|
96935
97067
|
message = `Payment error: ${parsed.error}`;
|
|
96936
97068
|
}
|
|
@@ -97263,18 +97395,18 @@ Config: ~/.use-agently/config.json (global), .use-agently/config.json (local)`).
|
|
|
97263
97395
|
|
|
97264
97396
|
// src/commands/update.ts
|
|
97265
97397
|
import { execSync } from "node:child_process";
|
|
97266
|
-
import { homedir as
|
|
97267
|
-
import { join as
|
|
97268
|
-
import { mkdir as mkdir2, readFile as
|
|
97398
|
+
import { homedir as homedir3 } from "node:os";
|
|
97399
|
+
import { join as join3 } from "node:path";
|
|
97400
|
+
import { mkdir as mkdir2, readFile as readFile3, writeFile as writeFile2 } from "node:fs/promises";
|
|
97269
97401
|
var UpdateStateSchema = exports_external.object({
|
|
97270
97402
|
lastUpdateCheck: exports_external.string().optional()
|
|
97271
97403
|
});
|
|
97272
97404
|
function getUpdateStatePath() {
|
|
97273
|
-
return
|
|
97405
|
+
return join3(homedir3(), ".use-agently", "update-state.json");
|
|
97274
97406
|
}
|
|
97275
97407
|
async function loadUpdateState() {
|
|
97276
97408
|
try {
|
|
97277
|
-
const contents = await
|
|
97409
|
+
const contents = await readFile3(getUpdateStatePath(), "utf8");
|
|
97278
97410
|
const result = UpdateStateSchema.safeParse(JSON.parse(contents));
|
|
97279
97411
|
return result.success ? result.data : {};
|
|
97280
97412
|
} catch {
|
|
@@ -97282,7 +97414,7 @@ async function loadUpdateState() {
|
|
|
97282
97414
|
}
|
|
97283
97415
|
}
|
|
97284
97416
|
async function saveUpdateState(state) {
|
|
97285
|
-
await mkdir2(
|
|
97417
|
+
await mkdir2(join3(homedir3(), ".use-agently"), { recursive: true });
|
|
97286
97418
|
await writeFile2(getUpdateStatePath(), JSON.stringify(state, null, 2) + `
|
|
97287
97419
|
`, "utf8");
|
|
97288
97420
|
}
|
|
@@ -97342,12 +97474,65 @@ var updateCommand = new Command("update").description("Update use-agently to the
|
|
|
97342
97474
|
});
|
|
97343
97475
|
|
|
97344
97476
|
// src/commands/wallet.ts
|
|
97345
|
-
var walletCommand = new Command("wallet").description("Manage wallet settings (spend limits)").addHelpText("after", `
|
|
97477
|
+
var walletCommand = new Command("wallet").description("Manage wallet settings (providers, spend limits)").addHelpText("after", `
|
|
97346
97478
|
Examples:
|
|
97479
|
+
use-agently wallet providers
|
|
97480
|
+
use-agently wallet set agentcash
|
|
97347
97481
|
use-agently wallet spend
|
|
97348
97482
|
use-agently wallet spend set-max 0.5`).action(function() {
|
|
97349
97483
|
this.outputHelp();
|
|
97350
97484
|
});
|
|
97485
|
+
var providersCommand = new Command("providers").description("List detected wallet providers").showHelpAfterError(true).addHelpText("after", `
|
|
97486
|
+
Examples:
|
|
97487
|
+
use-agently wallet providers
|
|
97488
|
+
use-agently wallet providers -o json`).action(async (_options, command) => {
|
|
97489
|
+
const config2 = await loadConfig();
|
|
97490
|
+
const activeProvider = config2 ? getActiveProvider(config2) : "local";
|
|
97491
|
+
const detected = await detectProviders(activeProvider);
|
|
97492
|
+
const format = getOutputFormat(command);
|
|
97493
|
+
if (format === "json") {
|
|
97494
|
+
for (const p of detected) {
|
|
97495
|
+
console.log(JSON.stringify(p));
|
|
97496
|
+
}
|
|
97497
|
+
} else {
|
|
97498
|
+
const table = new import_cli_table3.default({ head: ["Provider", "Address", "Status"] });
|
|
97499
|
+
for (const p of detected) {
|
|
97500
|
+
const status = p.active ? "active" : p.installed ? "installed" : "not installed";
|
|
97501
|
+
const name = p.active ? boldBlue(p.name) : p.name;
|
|
97502
|
+
table.push([name, p.address ?? "—", status]);
|
|
97503
|
+
}
|
|
97504
|
+
console.log(table.toString());
|
|
97505
|
+
console.log(`
|
|
97506
|
+
Switch provider: use-agently wallet set <provider>`);
|
|
97507
|
+
}
|
|
97508
|
+
});
|
|
97509
|
+
var setCommand = new Command("set").description("Set the active wallet provider").argument("<provider>", 'Provider type (e.g. "agentcash", "local")').showHelpAfterError(true).addHelpText("after", `
|
|
97510
|
+
Examples:
|
|
97511
|
+
use-agently wallet set agentcash
|
|
97512
|
+
use-agently wallet set local`).action(async (providerType, _options, command) => {
|
|
97513
|
+
const provider = getProvider(providerType);
|
|
97514
|
+
if (!provider) {
|
|
97515
|
+
const detected = await detectProviders();
|
|
97516
|
+
const available = detected.map((p) => p.type).join(", ");
|
|
97517
|
+
throw new Error(`Unknown provider "${providerType}". Available: ${available}`);
|
|
97518
|
+
}
|
|
97519
|
+
const { installed } = await provider.detect();
|
|
97520
|
+
if (!installed) {
|
|
97521
|
+
throw new Error(`Provider "${providerType}" (${provider.name}) is not installed.`);
|
|
97522
|
+
}
|
|
97523
|
+
let config2 = await loadConfig();
|
|
97524
|
+
if (!config2) {
|
|
97525
|
+
config2 = { wallet: { type: "none" } };
|
|
97526
|
+
}
|
|
97527
|
+
config2.wallet.provider = providerType;
|
|
97528
|
+
await saveConfig(config2);
|
|
97529
|
+
const { address } = await provider.detect();
|
|
97530
|
+
output(command, {
|
|
97531
|
+
provider: providerType,
|
|
97532
|
+
address,
|
|
97533
|
+
message: `Switched to ${provider.name} wallet`
|
|
97534
|
+
});
|
|
97535
|
+
});
|
|
97351
97536
|
var spendCommand = new Command("spend").description("View or manage wallet spend limits").showHelpAfterError(true).addHelpText("after", `
|
|
97352
97537
|
Examples:
|
|
97353
97538
|
use-agently wallet spend
|
|
@@ -97369,6 +97554,8 @@ Examples:
|
|
|
97369
97554
|
output(command, { max: amount });
|
|
97370
97555
|
});
|
|
97371
97556
|
spendCommand.addCommand(setMaxCommand);
|
|
97557
|
+
walletCommand.addCommand(providersCommand);
|
|
97558
|
+
walletCommand.addCommand(setCommand);
|
|
97372
97559
|
walletCommand.addCommand(spendCommand);
|
|
97373
97560
|
|
|
97374
97561
|
// src/cli.ts
|
|
@@ -97407,7 +97594,9 @@ Quick Reference:
|
|
|
97407
97594
|
HTTP requests with x402 payment support:
|
|
97408
97595
|
web get|post|put|patch|delete <url> [-d <body>] [-H <header>] [-v] [--pay]
|
|
97409
97596
|
|
|
97410
|
-
Manage wallet spend limits:
|
|
97597
|
+
Manage wallet providers and spend limits:
|
|
97598
|
+
wallet providers
|
|
97599
|
+
wallet set <provider>
|
|
97411
97600
|
wallet spend
|
|
97412
97601
|
wallet spend set-max <value>
|
|
97413
97602
|
|