@goodagent/mcp-server 0.1.0 → 0.2.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/README.md +16 -6
- package/dist/index.js +524 -463
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +524 -463
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -6889,18 +6889,18 @@ var require_dist = __commonJS({
|
|
|
6889
6889
|
}
|
|
6890
6890
|
});
|
|
6891
6891
|
|
|
6892
|
-
// ../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.
|
|
6892
|
+
// ../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/version.js
|
|
6893
6893
|
var version2;
|
|
6894
6894
|
var init_version = __esm({
|
|
6895
|
-
"../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.
|
|
6895
|
+
"../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/version.js"() {
|
|
6896
6896
|
version2 = "1.2.3";
|
|
6897
6897
|
}
|
|
6898
6898
|
});
|
|
6899
6899
|
|
|
6900
|
-
// ../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.
|
|
6900
|
+
// ../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/errors.js
|
|
6901
6901
|
var BaseError;
|
|
6902
6902
|
var init_errors = __esm({
|
|
6903
|
-
"../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.
|
|
6903
|
+
"../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/errors.js"() {
|
|
6904
6904
|
init_version();
|
|
6905
6905
|
BaseError = class _BaseError extends Error {
|
|
6906
6906
|
constructor(shortMessage, args = {}) {
|
|
@@ -6956,21 +6956,21 @@ var init_errors = __esm({
|
|
|
6956
6956
|
}
|
|
6957
6957
|
});
|
|
6958
6958
|
|
|
6959
|
-
// ../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.
|
|
6959
|
+
// ../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/regex.js
|
|
6960
6960
|
function execTyped(regex, string3) {
|
|
6961
6961
|
const match = regex.exec(string3);
|
|
6962
6962
|
return match?.groups;
|
|
6963
6963
|
}
|
|
6964
6964
|
var bytesRegex, integerRegex, isTupleRegex;
|
|
6965
6965
|
var init_regex = __esm({
|
|
6966
|
-
"../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.
|
|
6966
|
+
"../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/regex.js"() {
|
|
6967
6967
|
bytesRegex = /^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/;
|
|
6968
6968
|
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)?$/;
|
|
6969
6969
|
isTupleRegex = /^\(.+?\).*?$/;
|
|
6970
6970
|
}
|
|
6971
6971
|
});
|
|
6972
6972
|
|
|
6973
|
-
// ../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.
|
|
6973
|
+
// ../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/formatAbiParameter.js
|
|
6974
6974
|
function formatAbiParameter(abiParameter) {
|
|
6975
6975
|
let type = abiParameter.type;
|
|
6976
6976
|
if (tupleRegex.test(abiParameter.type) && "components" in abiParameter) {
|
|
@@ -6997,13 +6997,13 @@ function formatAbiParameter(abiParameter) {
|
|
|
6997
6997
|
}
|
|
6998
6998
|
var tupleRegex;
|
|
6999
6999
|
var init_formatAbiParameter = __esm({
|
|
7000
|
-
"../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.
|
|
7000
|
+
"../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/formatAbiParameter.js"() {
|
|
7001
7001
|
init_regex();
|
|
7002
7002
|
tupleRegex = /^tuple(?<array>(\[(\d*)\])*)$/;
|
|
7003
7003
|
}
|
|
7004
7004
|
});
|
|
7005
7005
|
|
|
7006
|
-
// ../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.
|
|
7006
|
+
// ../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/formatAbiParameters.js
|
|
7007
7007
|
function formatAbiParameters(abiParameters) {
|
|
7008
7008
|
let params = "";
|
|
7009
7009
|
const length = abiParameters.length;
|
|
@@ -7016,12 +7016,12 @@ function formatAbiParameters(abiParameters) {
|
|
|
7016
7016
|
return params;
|
|
7017
7017
|
}
|
|
7018
7018
|
var init_formatAbiParameters = __esm({
|
|
7019
|
-
"../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.
|
|
7019
|
+
"../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/formatAbiParameters.js"() {
|
|
7020
7020
|
init_formatAbiParameter();
|
|
7021
7021
|
}
|
|
7022
7022
|
});
|
|
7023
7023
|
|
|
7024
|
-
// ../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.
|
|
7024
|
+
// ../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/formatAbiItem.js
|
|
7025
7025
|
function formatAbiItem(abiItem) {
|
|
7026
7026
|
if (abiItem.type === "function")
|
|
7027
7027
|
return `function ${abiItem.name}(${formatAbiParameters(abiItem.inputs)})${abiItem.stateMutability && abiItem.stateMutability !== "nonpayable" ? ` ${abiItem.stateMutability}` : ""}${abiItem.outputs?.length ? ` returns (${formatAbiParameters(abiItem.outputs)})` : ""}`;
|
|
@@ -7036,12 +7036,12 @@ function formatAbiItem(abiItem) {
|
|
|
7036
7036
|
return "receive() external payable";
|
|
7037
7037
|
}
|
|
7038
7038
|
var init_formatAbiItem = __esm({
|
|
7039
|
-
"../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.
|
|
7039
|
+
"../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/formatAbiItem.js"() {
|
|
7040
7040
|
init_formatAbiParameters();
|
|
7041
7041
|
}
|
|
7042
7042
|
});
|
|
7043
7043
|
|
|
7044
|
-
// ../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.
|
|
7044
|
+
// ../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/runtime/signatures.js
|
|
7045
7045
|
function isErrorSignature(signature) {
|
|
7046
7046
|
return errorSignatureRegex.test(signature);
|
|
7047
7047
|
}
|
|
@@ -7083,7 +7083,7 @@ function isReceiveSignature(signature) {
|
|
|
7083
7083
|
}
|
|
7084
7084
|
var errorSignatureRegex, eventSignatureRegex, functionSignatureRegex, structSignatureRegex, constructorSignatureRegex, fallbackSignatureRegex, receiveSignatureRegex, eventModifiers, functionModifiers;
|
|
7085
7085
|
var init_signatures = __esm({
|
|
7086
|
-
"../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.
|
|
7086
|
+
"../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/runtime/signatures.js"() {
|
|
7087
7087
|
init_regex();
|
|
7088
7088
|
errorSignatureRegex = /^error (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)$/;
|
|
7089
7089
|
eventSignatureRegex = /^event (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)$/;
|
|
@@ -7101,10 +7101,10 @@ var init_signatures = __esm({
|
|
|
7101
7101
|
}
|
|
7102
7102
|
});
|
|
7103
7103
|
|
|
7104
|
-
// ../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.
|
|
7104
|
+
// ../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/errors/abiItem.js
|
|
7105
7105
|
var UnknownTypeError, UnknownSolidityTypeError;
|
|
7106
7106
|
var init_abiItem = __esm({
|
|
7107
|
-
"../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.
|
|
7107
|
+
"../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/errors/abiItem.js"() {
|
|
7108
7108
|
init_errors();
|
|
7109
7109
|
UnknownTypeError = class extends BaseError {
|
|
7110
7110
|
constructor({ type }) {
|
|
@@ -7137,10 +7137,10 @@ var init_abiItem = __esm({
|
|
|
7137
7137
|
}
|
|
7138
7138
|
});
|
|
7139
7139
|
|
|
7140
|
-
// ../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.
|
|
7140
|
+
// ../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/errors/abiParameter.js
|
|
7141
7141
|
var InvalidParameterError, SolidityProtectedKeywordError, InvalidModifierError, InvalidFunctionModifierError, InvalidAbiTypeParameterError;
|
|
7142
7142
|
var init_abiParameter = __esm({
|
|
7143
|
-
"../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.
|
|
7143
|
+
"../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/errors/abiParameter.js"() {
|
|
7144
7144
|
init_errors();
|
|
7145
7145
|
InvalidParameterError = class extends BaseError {
|
|
7146
7146
|
constructor({ param }) {
|
|
@@ -7221,10 +7221,10 @@ var init_abiParameter = __esm({
|
|
|
7221
7221
|
}
|
|
7222
7222
|
});
|
|
7223
7223
|
|
|
7224
|
-
// ../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.
|
|
7224
|
+
// ../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/errors/signature.js
|
|
7225
7225
|
var InvalidSignatureError, UnknownSignatureError, InvalidStructSignatureError;
|
|
7226
7226
|
var init_signature = __esm({
|
|
7227
|
-
"../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.
|
|
7227
|
+
"../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/errors/signature.js"() {
|
|
7228
7228
|
init_errors();
|
|
7229
7229
|
InvalidSignatureError = class extends BaseError {
|
|
7230
7230
|
constructor({ signature, type }) {
|
|
@@ -7269,10 +7269,10 @@ var init_signature = __esm({
|
|
|
7269
7269
|
}
|
|
7270
7270
|
});
|
|
7271
7271
|
|
|
7272
|
-
// ../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.
|
|
7272
|
+
// ../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/errors/struct.js
|
|
7273
7273
|
var CircularReferenceError;
|
|
7274
7274
|
var init_struct = __esm({
|
|
7275
|
-
"../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.
|
|
7275
|
+
"../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/errors/struct.js"() {
|
|
7276
7276
|
init_errors();
|
|
7277
7277
|
CircularReferenceError = class extends BaseError {
|
|
7278
7278
|
constructor({ type }) {
|
|
@@ -7290,10 +7290,10 @@ var init_struct = __esm({
|
|
|
7290
7290
|
}
|
|
7291
7291
|
});
|
|
7292
7292
|
|
|
7293
|
-
// ../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.
|
|
7293
|
+
// ../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/errors/splitParameters.js
|
|
7294
7294
|
var InvalidParenthesisError;
|
|
7295
7295
|
var init_splitParameters = __esm({
|
|
7296
|
-
"../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.
|
|
7296
|
+
"../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/errors/splitParameters.js"() {
|
|
7297
7297
|
init_errors();
|
|
7298
7298
|
InvalidParenthesisError = class extends BaseError {
|
|
7299
7299
|
constructor({ current, depth }) {
|
|
@@ -7314,7 +7314,7 @@ var init_splitParameters = __esm({
|
|
|
7314
7314
|
}
|
|
7315
7315
|
});
|
|
7316
7316
|
|
|
7317
|
-
// ../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.
|
|
7317
|
+
// ../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/runtime/cache.js
|
|
7318
7318
|
function getParameterCacheKey(param, type, structs) {
|
|
7319
7319
|
let structKey = "";
|
|
7320
7320
|
if (structs)
|
|
@@ -7333,7 +7333,7 @@ function getParameterCacheKey(param, type, structs) {
|
|
|
7333
7333
|
}
|
|
7334
7334
|
var parameterCache;
|
|
7335
7335
|
var init_cache = __esm({
|
|
7336
|
-
"../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.
|
|
7336
|
+
"../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/runtime/cache.js"() {
|
|
7337
7337
|
parameterCache = /* @__PURE__ */ new Map([
|
|
7338
7338
|
// Unnamed
|
|
7339
7339
|
["address", { type: "address" }],
|
|
@@ -7391,7 +7391,7 @@ var init_cache = __esm({
|
|
|
7391
7391
|
}
|
|
7392
7392
|
});
|
|
7393
7393
|
|
|
7394
|
-
// ../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.
|
|
7394
|
+
// ../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/runtime/utils.js
|
|
7395
7395
|
function parseSignature(signature, structs = {}) {
|
|
7396
7396
|
if (isFunctionSignature(signature))
|
|
7397
7397
|
return parseFunctionSignature(signature, structs);
|
|
@@ -7587,7 +7587,7 @@ function isValidDataLocation(type, isArray) {
|
|
|
7587
7587
|
}
|
|
7588
7588
|
var abiParameterWithoutTupleRegex, abiParameterWithTupleRegex, dynamicIntegerRegex, protectedKeywordsRegex;
|
|
7589
7589
|
var init_utils = __esm({
|
|
7590
|
-
"../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.
|
|
7590
|
+
"../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/runtime/utils.js"() {
|
|
7591
7591
|
init_regex();
|
|
7592
7592
|
init_abiItem();
|
|
7593
7593
|
init_abiParameter();
|
|
@@ -7602,7 +7602,7 @@ var init_utils = __esm({
|
|
|
7602
7602
|
}
|
|
7603
7603
|
});
|
|
7604
7604
|
|
|
7605
|
-
// ../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.
|
|
7605
|
+
// ../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/runtime/structs.js
|
|
7606
7606
|
function parseStructs(signatures) {
|
|
7607
7607
|
const shallowStructs = {};
|
|
7608
7608
|
const signaturesLength = signatures.length;
|
|
@@ -7672,7 +7672,7 @@ function resolveStructs(abiParameters = [], structs = {}, ancestors = /* @__PURE
|
|
|
7672
7672
|
}
|
|
7673
7673
|
var typeWithoutTupleRegex;
|
|
7674
7674
|
var init_structs = __esm({
|
|
7675
|
-
"../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.
|
|
7675
|
+
"../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/runtime/structs.js"() {
|
|
7676
7676
|
init_regex();
|
|
7677
7677
|
init_abiItem();
|
|
7678
7678
|
init_abiParameter();
|
|
@@ -7684,7 +7684,7 @@ var init_structs = __esm({
|
|
|
7684
7684
|
}
|
|
7685
7685
|
});
|
|
7686
7686
|
|
|
7687
|
-
// ../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.
|
|
7687
|
+
// ../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/parseAbi.js
|
|
7688
7688
|
function parseAbi(signatures) {
|
|
7689
7689
|
const structs = parseStructs(signatures);
|
|
7690
7690
|
const abi2 = [];
|
|
@@ -7698,22 +7698,22 @@ function parseAbi(signatures) {
|
|
|
7698
7698
|
return abi2;
|
|
7699
7699
|
}
|
|
7700
7700
|
var init_parseAbi = __esm({
|
|
7701
|
-
"../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.
|
|
7701
|
+
"../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/parseAbi.js"() {
|
|
7702
7702
|
init_signatures();
|
|
7703
7703
|
init_structs();
|
|
7704
7704
|
init_utils();
|
|
7705
7705
|
}
|
|
7706
7706
|
});
|
|
7707
7707
|
|
|
7708
|
-
// ../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.
|
|
7708
|
+
// ../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/exports/index.js
|
|
7709
7709
|
var init_exports = __esm({
|
|
7710
|
-
"../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.
|
|
7710
|
+
"../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/exports/index.js"() {
|
|
7711
7711
|
init_formatAbiItem();
|
|
7712
7712
|
init_parseAbi();
|
|
7713
7713
|
}
|
|
7714
7714
|
});
|
|
7715
7715
|
|
|
7716
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
7716
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/abi/formatAbiItem.js
|
|
7717
7717
|
function formatAbiItem2(abiItem, { includeName = false } = {}) {
|
|
7718
7718
|
if (abiItem.type !== "function" && abiItem.type !== "event" && abiItem.type !== "error")
|
|
7719
7719
|
throw new InvalidDefinitionTypeError(abiItem.type);
|
|
@@ -7731,12 +7731,12 @@ function formatAbiParam(param, { includeName }) {
|
|
|
7731
7731
|
return param.type + (includeName && param.name ? ` ${param.name}` : "");
|
|
7732
7732
|
}
|
|
7733
7733
|
var init_formatAbiItem2 = __esm({
|
|
7734
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
7734
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/abi/formatAbiItem.js"() {
|
|
7735
7735
|
init_abi();
|
|
7736
7736
|
}
|
|
7737
7737
|
});
|
|
7738
7738
|
|
|
7739
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
7739
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/data/isHex.js
|
|
7740
7740
|
function isHex(value, { strict = true } = {}) {
|
|
7741
7741
|
if (!value)
|
|
7742
7742
|
return false;
|
|
@@ -7745,31 +7745,31 @@ function isHex(value, { strict = true } = {}) {
|
|
|
7745
7745
|
return strict ? /^0x[0-9a-fA-F]*$/.test(value) : value.startsWith("0x");
|
|
7746
7746
|
}
|
|
7747
7747
|
var init_isHex = __esm({
|
|
7748
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
7748
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/data/isHex.js"() {
|
|
7749
7749
|
}
|
|
7750
7750
|
});
|
|
7751
7751
|
|
|
7752
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
7752
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/data/size.js
|
|
7753
7753
|
function size(value) {
|
|
7754
7754
|
if (isHex(value, { strict: false }))
|
|
7755
7755
|
return Math.ceil((value.length - 2) / 2);
|
|
7756
7756
|
return value.length;
|
|
7757
7757
|
}
|
|
7758
7758
|
var init_size = __esm({
|
|
7759
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
7759
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/data/size.js"() {
|
|
7760
7760
|
init_isHex();
|
|
7761
7761
|
}
|
|
7762
7762
|
});
|
|
7763
7763
|
|
|
7764
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
7764
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/version.js
|
|
7765
7765
|
var version3;
|
|
7766
7766
|
var init_version2 = __esm({
|
|
7767
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
7767
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/version.js"() {
|
|
7768
7768
|
version3 = "2.53.1";
|
|
7769
7769
|
}
|
|
7770
7770
|
});
|
|
7771
7771
|
|
|
7772
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
7772
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/base.js
|
|
7773
7773
|
function walk(err, fn) {
|
|
7774
7774
|
if (fn?.(err))
|
|
7775
7775
|
return err;
|
|
@@ -7779,7 +7779,7 @@ function walk(err, fn) {
|
|
|
7779
7779
|
}
|
|
7780
7780
|
var errorConfig, BaseError2;
|
|
7781
7781
|
var init_base = __esm({
|
|
7782
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
7782
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/base.js"() {
|
|
7783
7783
|
init_version2();
|
|
7784
7784
|
errorConfig = {
|
|
7785
7785
|
getDocsUrl: ({ docsBaseUrl, docsPath: docsPath8 = "", docsSlug }) => docsPath8 ? `${docsBaseUrl ?? "https://viem.sh"}${docsPath8}${docsSlug ? `#${docsSlug}` : ""}` : void 0,
|
|
@@ -7859,10 +7859,10 @@ var init_base = __esm({
|
|
|
7859
7859
|
}
|
|
7860
7860
|
});
|
|
7861
7861
|
|
|
7862
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
7862
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/abi.js
|
|
7863
7863
|
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;
|
|
7864
7864
|
var init_abi = __esm({
|
|
7865
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
7865
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/abi.js"() {
|
|
7866
7866
|
init_formatAbiItem2();
|
|
7867
7867
|
init_size();
|
|
7868
7868
|
init_base();
|
|
@@ -8170,10 +8170,10 @@ var init_abi = __esm({
|
|
|
8170
8170
|
}
|
|
8171
8171
|
});
|
|
8172
8172
|
|
|
8173
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
8173
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/data.js
|
|
8174
8174
|
var SliceOffsetOutOfBoundsError, SizeExceedsPaddingSizeError, InvalidBytesLengthError;
|
|
8175
8175
|
var init_data = __esm({
|
|
8176
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
8176
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/data.js"() {
|
|
8177
8177
|
init_base();
|
|
8178
8178
|
SliceOffsetOutOfBoundsError = class extends BaseError2 {
|
|
8179
8179
|
constructor({ offset, position, size: size5 }) {
|
|
@@ -8193,7 +8193,7 @@ var init_data = __esm({
|
|
|
8193
8193
|
}
|
|
8194
8194
|
});
|
|
8195
8195
|
|
|
8196
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
8196
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/data/pad.js
|
|
8197
8197
|
function pad(hexOrBytes, { dir, size: size5 = 32 } = {}) {
|
|
8198
8198
|
if (typeof hexOrBytes === "string")
|
|
8199
8199
|
return padHex(hexOrBytes, { dir, size: size5 });
|
|
@@ -8228,15 +8228,15 @@ function padBytes(bytes, { dir, size: size5 = 32 } = {}) {
|
|
|
8228
8228
|
return paddedBytes;
|
|
8229
8229
|
}
|
|
8230
8230
|
var init_pad = __esm({
|
|
8231
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
8231
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/data/pad.js"() {
|
|
8232
8232
|
init_data();
|
|
8233
8233
|
}
|
|
8234
8234
|
});
|
|
8235
8235
|
|
|
8236
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
8236
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/encoding.js
|
|
8237
8237
|
var IntegerOutOfRangeError, InvalidBytesBooleanError, InvalidHexBooleanError, SizeOverflowError;
|
|
8238
8238
|
var init_encoding = __esm({
|
|
8239
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
8239
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/encoding.js"() {
|
|
8240
8240
|
init_base();
|
|
8241
8241
|
IntegerOutOfRangeError = class extends BaseError2 {
|
|
8242
8242
|
constructor({ max, min, signed, size: size5, value }) {
|
|
@@ -8263,7 +8263,7 @@ var init_encoding = __esm({
|
|
|
8263
8263
|
}
|
|
8264
8264
|
});
|
|
8265
8265
|
|
|
8266
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
8266
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/data/trim.js
|
|
8267
8267
|
function trim(hexOrBytes, { dir = "left" } = {}) {
|
|
8268
8268
|
let data = typeof hexOrBytes === "string" ? hexOrBytes.replace("0x", "") : hexOrBytes;
|
|
8269
8269
|
let sliceLength = 0;
|
|
@@ -8282,11 +8282,11 @@ function trim(hexOrBytes, { dir = "left" } = {}) {
|
|
|
8282
8282
|
return data;
|
|
8283
8283
|
}
|
|
8284
8284
|
var init_trim = __esm({
|
|
8285
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
8285
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/data/trim.js"() {
|
|
8286
8286
|
}
|
|
8287
8287
|
});
|
|
8288
8288
|
|
|
8289
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
8289
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/encoding/fromHex.js
|
|
8290
8290
|
function assertSize(hexOrBytes, { size: size5 }) {
|
|
8291
8291
|
if (size(hexOrBytes) > size5)
|
|
8292
8292
|
throw new SizeOverflowError({
|
|
@@ -8333,14 +8333,14 @@ function hexToNumber(hex, opts = {}) {
|
|
|
8333
8333
|
return number3;
|
|
8334
8334
|
}
|
|
8335
8335
|
var init_fromHex = __esm({
|
|
8336
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
8336
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/encoding/fromHex.js"() {
|
|
8337
8337
|
init_encoding();
|
|
8338
8338
|
init_size();
|
|
8339
8339
|
init_trim();
|
|
8340
8340
|
}
|
|
8341
8341
|
});
|
|
8342
8342
|
|
|
8343
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
8343
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/encoding/toHex.js
|
|
8344
8344
|
function toHex(value, opts = {}) {
|
|
8345
8345
|
if (typeof value === "number" || typeof value === "bigint")
|
|
8346
8346
|
return numberToHex(value, opts);
|
|
@@ -8405,7 +8405,7 @@ function stringToHex(value_, opts = {}) {
|
|
|
8405
8405
|
}
|
|
8406
8406
|
var hexes, encoder;
|
|
8407
8407
|
var init_toHex = __esm({
|
|
8408
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
8408
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/encoding/toHex.js"() {
|
|
8409
8409
|
init_encoding();
|
|
8410
8410
|
init_pad();
|
|
8411
8411
|
init_fromHex();
|
|
@@ -8414,7 +8414,7 @@ var init_toHex = __esm({
|
|
|
8414
8414
|
}
|
|
8415
8415
|
});
|
|
8416
8416
|
|
|
8417
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
8417
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/encoding/toBytes.js
|
|
8418
8418
|
function toBytes(value, opts = {}) {
|
|
8419
8419
|
if (typeof value === "number" || typeof value === "bigint")
|
|
8420
8420
|
return numberToBytes(value, opts);
|
|
@@ -8477,7 +8477,7 @@ function stringToBytes(value, opts = {}) {
|
|
|
8477
8477
|
}
|
|
8478
8478
|
var encoder2, charCodeMap;
|
|
8479
8479
|
var init_toBytes = __esm({
|
|
8480
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
8480
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/encoding/toBytes.js"() {
|
|
8481
8481
|
init_base();
|
|
8482
8482
|
init_isHex();
|
|
8483
8483
|
init_pad();
|
|
@@ -8830,7 +8830,7 @@ var init_sha3 = __esm({
|
|
|
8830
8830
|
}
|
|
8831
8831
|
});
|
|
8832
8832
|
|
|
8833
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
8833
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/hash/keccak256.js
|
|
8834
8834
|
function keccak256(value, to_) {
|
|
8835
8835
|
const to = to_ || "hex";
|
|
8836
8836
|
const bytes = keccak_256(isHex(value, { strict: false }) ? toBytes(value) : value);
|
|
@@ -8839,7 +8839,7 @@ function keccak256(value, to_) {
|
|
|
8839
8839
|
return toHex(bytes);
|
|
8840
8840
|
}
|
|
8841
8841
|
var init_keccak256 = __esm({
|
|
8842
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
8842
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/hash/keccak256.js"() {
|
|
8843
8843
|
init_sha3();
|
|
8844
8844
|
init_isHex();
|
|
8845
8845
|
init_toBytes();
|
|
@@ -8847,20 +8847,20 @@ var init_keccak256 = __esm({
|
|
|
8847
8847
|
}
|
|
8848
8848
|
});
|
|
8849
8849
|
|
|
8850
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
8850
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/hash/hashSignature.js
|
|
8851
8851
|
function hashSignature(sig) {
|
|
8852
8852
|
return hash(sig);
|
|
8853
8853
|
}
|
|
8854
8854
|
var hash;
|
|
8855
8855
|
var init_hashSignature = __esm({
|
|
8856
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
8856
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/hash/hashSignature.js"() {
|
|
8857
8857
|
init_toBytes();
|
|
8858
8858
|
init_keccak256();
|
|
8859
8859
|
hash = (value) => keccak256(toBytes(value));
|
|
8860
8860
|
}
|
|
8861
8861
|
});
|
|
8862
8862
|
|
|
8863
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
8863
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/hash/normalizeSignature.js
|
|
8864
8864
|
function normalizeSignature(signature) {
|
|
8865
8865
|
let active = true;
|
|
8866
8866
|
let current = "";
|
|
@@ -8904,15 +8904,15 @@ function normalizeSignature(signature) {
|
|
|
8904
8904
|
return result;
|
|
8905
8905
|
}
|
|
8906
8906
|
var init_normalizeSignature = __esm({
|
|
8907
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
8907
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/hash/normalizeSignature.js"() {
|
|
8908
8908
|
init_base();
|
|
8909
8909
|
}
|
|
8910
8910
|
});
|
|
8911
8911
|
|
|
8912
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
8912
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/hash/toSignature.js
|
|
8913
8913
|
var toSignature;
|
|
8914
8914
|
var init_toSignature = __esm({
|
|
8915
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
8915
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/hash/toSignature.js"() {
|
|
8916
8916
|
init_exports();
|
|
8917
8917
|
init_normalizeSignature();
|
|
8918
8918
|
toSignature = (def) => {
|
|
@@ -8926,30 +8926,30 @@ var init_toSignature = __esm({
|
|
|
8926
8926
|
}
|
|
8927
8927
|
});
|
|
8928
8928
|
|
|
8929
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
8929
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/hash/toSignatureHash.js
|
|
8930
8930
|
function toSignatureHash(fn) {
|
|
8931
8931
|
return hashSignature(toSignature(fn));
|
|
8932
8932
|
}
|
|
8933
8933
|
var init_toSignatureHash = __esm({
|
|
8934
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
8934
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/hash/toSignatureHash.js"() {
|
|
8935
8935
|
init_hashSignature();
|
|
8936
8936
|
init_toSignature();
|
|
8937
8937
|
}
|
|
8938
8938
|
});
|
|
8939
8939
|
|
|
8940
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
8940
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/hash/toEventSelector.js
|
|
8941
8941
|
var toEventSelector;
|
|
8942
8942
|
var init_toEventSelector = __esm({
|
|
8943
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
8943
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/hash/toEventSelector.js"() {
|
|
8944
8944
|
init_toSignatureHash();
|
|
8945
8945
|
toEventSelector = toSignatureHash;
|
|
8946
8946
|
}
|
|
8947
8947
|
});
|
|
8948
8948
|
|
|
8949
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
8949
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/address.js
|
|
8950
8950
|
var InvalidAddressError;
|
|
8951
8951
|
var init_address = __esm({
|
|
8952
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
8952
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/address.js"() {
|
|
8953
8953
|
init_base();
|
|
8954
8954
|
InvalidAddressError = class extends BaseError2 {
|
|
8955
8955
|
constructor({ address }) {
|
|
@@ -8965,10 +8965,10 @@ var init_address = __esm({
|
|
|
8965
8965
|
}
|
|
8966
8966
|
});
|
|
8967
8967
|
|
|
8968
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
8968
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/lru.js
|
|
8969
8969
|
var LruMap;
|
|
8970
8970
|
var init_lru = __esm({
|
|
8971
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
8971
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/lru.js"() {
|
|
8972
8972
|
LruMap = class extends Map {
|
|
8973
8973
|
constructor(size5) {
|
|
8974
8974
|
super();
|
|
@@ -9003,7 +9003,7 @@ var init_lru = __esm({
|
|
|
9003
9003
|
}
|
|
9004
9004
|
});
|
|
9005
9005
|
|
|
9006
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
9006
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/address/getAddress.js
|
|
9007
9007
|
function checksumAddress(address_, chainId) {
|
|
9008
9008
|
if (checksumAddressCache.has(`${address_}.${chainId}`))
|
|
9009
9009
|
return checksumAddressCache.get(`${address_}.${chainId}`);
|
|
@@ -9029,7 +9029,7 @@ function getAddress(address, chainId) {
|
|
|
9029
9029
|
}
|
|
9030
9030
|
var checksumAddressCache;
|
|
9031
9031
|
var init_getAddress = __esm({
|
|
9032
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
9032
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/address/getAddress.js"() {
|
|
9033
9033
|
init_address();
|
|
9034
9034
|
init_toBytes();
|
|
9035
9035
|
init_keccak256();
|
|
@@ -9039,7 +9039,7 @@ var init_getAddress = __esm({
|
|
|
9039
9039
|
}
|
|
9040
9040
|
});
|
|
9041
9041
|
|
|
9042
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
9042
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/address/isAddress.js
|
|
9043
9043
|
function isAddress(address, options) {
|
|
9044
9044
|
const { strict = true } = options ?? {};
|
|
9045
9045
|
const cacheKey2 = `${address}.${strict}`;
|
|
@@ -9059,7 +9059,7 @@ function isAddress(address, options) {
|
|
|
9059
9059
|
}
|
|
9060
9060
|
var addressRegex, isAddressCache;
|
|
9061
9061
|
var init_isAddress = __esm({
|
|
9062
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
9062
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/address/isAddress.js"() {
|
|
9063
9063
|
init_lru();
|
|
9064
9064
|
init_getAddress();
|
|
9065
9065
|
addressRegex = /^0x[a-fA-F0-9]{40}$/;
|
|
@@ -9067,7 +9067,7 @@ var init_isAddress = __esm({
|
|
|
9067
9067
|
}
|
|
9068
9068
|
});
|
|
9069
9069
|
|
|
9070
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
9070
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/data/concat.js
|
|
9071
9071
|
function concat(values) {
|
|
9072
9072
|
if (typeof values[0] === "string")
|
|
9073
9073
|
return concatHex(values);
|
|
@@ -9090,11 +9090,11 @@ function concatHex(values) {
|
|
|
9090
9090
|
return `0x${values.reduce((acc, x) => acc + x.replace("0x", ""), "")}`;
|
|
9091
9091
|
}
|
|
9092
9092
|
var init_concat = __esm({
|
|
9093
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
9093
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/data/concat.js"() {
|
|
9094
9094
|
}
|
|
9095
9095
|
});
|
|
9096
9096
|
|
|
9097
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
9097
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/data/slice.js
|
|
9098
9098
|
function slice(value, start, end, { strict } = {}) {
|
|
9099
9099
|
if (isHex(value, { strict: false }))
|
|
9100
9100
|
return sliceHex(value, start, end, {
|
|
@@ -9136,23 +9136,23 @@ function sliceHex(value_, start, end, { strict } = {}) {
|
|
|
9136
9136
|
return value;
|
|
9137
9137
|
}
|
|
9138
9138
|
var init_slice = __esm({
|
|
9139
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
9139
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/data/slice.js"() {
|
|
9140
9140
|
init_data();
|
|
9141
9141
|
init_isHex();
|
|
9142
9142
|
init_size();
|
|
9143
9143
|
}
|
|
9144
9144
|
});
|
|
9145
9145
|
|
|
9146
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
9146
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/regex.js
|
|
9147
9147
|
var bytesRegex2, integerRegex2;
|
|
9148
9148
|
var init_regex2 = __esm({
|
|
9149
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
9149
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/regex.js"() {
|
|
9150
9150
|
bytesRegex2 = /^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/;
|
|
9151
9151
|
integerRegex2 = /^(u?int)(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/;
|
|
9152
9152
|
}
|
|
9153
9153
|
});
|
|
9154
9154
|
|
|
9155
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
9155
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/abi/encodeAbiParameters.js
|
|
9156
9156
|
function encodeAbiParameters(params, values) {
|
|
9157
9157
|
if (params.length !== values.length)
|
|
9158
9158
|
throw new AbiEncodingLengthMismatchError({
|
|
@@ -9366,7 +9366,7 @@ function getArrayComponents(type) {
|
|
|
9366
9366
|
) : void 0;
|
|
9367
9367
|
}
|
|
9368
9368
|
var init_encodeAbiParameters = __esm({
|
|
9369
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
9369
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/abi/encodeAbiParameters.js"() {
|
|
9370
9370
|
init_abi();
|
|
9371
9371
|
init_address();
|
|
9372
9372
|
init_base();
|
|
@@ -9381,17 +9381,17 @@ var init_encodeAbiParameters = __esm({
|
|
|
9381
9381
|
}
|
|
9382
9382
|
});
|
|
9383
9383
|
|
|
9384
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
9384
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/hash/toFunctionSelector.js
|
|
9385
9385
|
var toFunctionSelector;
|
|
9386
9386
|
var init_toFunctionSelector = __esm({
|
|
9387
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
9387
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/hash/toFunctionSelector.js"() {
|
|
9388
9388
|
init_slice();
|
|
9389
9389
|
init_toSignatureHash();
|
|
9390
9390
|
toFunctionSelector = (fn) => slice(toSignatureHash(fn), 0, 4);
|
|
9391
9391
|
}
|
|
9392
9392
|
});
|
|
9393
9393
|
|
|
9394
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
9394
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/abi/getAbiItem.js
|
|
9395
9395
|
function getAbiItem(parameters) {
|
|
9396
9396
|
const { abi: abi2, args = [], name } = parameters;
|
|
9397
9397
|
const isSelector = isHex(name, { strict: false });
|
|
@@ -9503,7 +9503,7 @@ function getAmbiguousTypes(sourceParameters, targetParameters, args) {
|
|
|
9503
9503
|
return;
|
|
9504
9504
|
}
|
|
9505
9505
|
var init_getAbiItem = __esm({
|
|
9506
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
9506
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/abi/getAbiItem.js"() {
|
|
9507
9507
|
init_abi();
|
|
9508
9508
|
init_isHex();
|
|
9509
9509
|
init_isAddress();
|
|
@@ -9512,18 +9512,18 @@ var init_getAbiItem = __esm({
|
|
|
9512
9512
|
}
|
|
9513
9513
|
});
|
|
9514
9514
|
|
|
9515
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
9515
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/accounts/utils/parseAccount.js
|
|
9516
9516
|
function parseAccount(account) {
|
|
9517
9517
|
if (typeof account === "string")
|
|
9518
9518
|
return { address: account, type: "json-rpc" };
|
|
9519
9519
|
return account;
|
|
9520
9520
|
}
|
|
9521
9521
|
var init_parseAccount = __esm({
|
|
9522
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
9522
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/accounts/utils/parseAccount.js"() {
|
|
9523
9523
|
}
|
|
9524
9524
|
});
|
|
9525
9525
|
|
|
9526
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
9526
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/abi/prepareEncodeFunctionData.js
|
|
9527
9527
|
function prepareEncodeFunctionData(parameters) {
|
|
9528
9528
|
const { abi: abi2, args, functionName } = parameters;
|
|
9529
9529
|
let abiItem = abi2[0];
|
|
@@ -9546,7 +9546,7 @@ function prepareEncodeFunctionData(parameters) {
|
|
|
9546
9546
|
}
|
|
9547
9547
|
var docsPath2;
|
|
9548
9548
|
var init_prepareEncodeFunctionData = __esm({
|
|
9549
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
9549
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/abi/prepareEncodeFunctionData.js"() {
|
|
9550
9550
|
init_abi();
|
|
9551
9551
|
init_toFunctionSelector();
|
|
9552
9552
|
init_formatAbiItem2();
|
|
@@ -9555,7 +9555,7 @@ var init_prepareEncodeFunctionData = __esm({
|
|
|
9555
9555
|
}
|
|
9556
9556
|
});
|
|
9557
9557
|
|
|
9558
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
9558
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/abi/encodeFunctionData.js
|
|
9559
9559
|
function encodeFunctionData(parameters) {
|
|
9560
9560
|
const { args } = parameters;
|
|
9561
9561
|
const { abi: abi2, functionName } = (() => {
|
|
@@ -9569,17 +9569,17 @@ function encodeFunctionData(parameters) {
|
|
|
9569
9569
|
return concatHex([signature, data ?? "0x"]);
|
|
9570
9570
|
}
|
|
9571
9571
|
var init_encodeFunctionData = __esm({
|
|
9572
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
9572
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/abi/encodeFunctionData.js"() {
|
|
9573
9573
|
init_concat();
|
|
9574
9574
|
init_encodeAbiParameters();
|
|
9575
9575
|
init_prepareEncodeFunctionData();
|
|
9576
9576
|
}
|
|
9577
9577
|
});
|
|
9578
9578
|
|
|
9579
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
9579
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/constants/solidity.js
|
|
9580
9580
|
var panicReasons, solidityError, solidityPanic;
|
|
9581
9581
|
var init_solidity = __esm({
|
|
9582
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
9582
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/constants/solidity.js"() {
|
|
9583
9583
|
panicReasons = {
|
|
9584
9584
|
1: "An `assert` condition failed.",
|
|
9585
9585
|
17: "Arithmetic operation resulted in underflow or overflow.",
|
|
@@ -9614,10 +9614,10 @@ var init_solidity = __esm({
|
|
|
9614
9614
|
}
|
|
9615
9615
|
});
|
|
9616
9616
|
|
|
9617
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
9617
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/cursor.js
|
|
9618
9618
|
var NegativeOffsetError, PositionOutOfBoundsError, RecursiveReadLimitExceededError;
|
|
9619
9619
|
var init_cursor = __esm({
|
|
9620
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
9620
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/cursor.js"() {
|
|
9621
9621
|
init_base();
|
|
9622
9622
|
NegativeOffsetError = class extends BaseError2 {
|
|
9623
9623
|
constructor({ offset }) {
|
|
@@ -9639,7 +9639,7 @@ var init_cursor = __esm({
|
|
|
9639
9639
|
}
|
|
9640
9640
|
});
|
|
9641
9641
|
|
|
9642
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
9642
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/cursor.js
|
|
9643
9643
|
function createCursor(bytes, { recursiveReadLimit = 8192 } = {}) {
|
|
9644
9644
|
const cursor = Object.create(staticCursor);
|
|
9645
9645
|
cursor.bytes = bytes;
|
|
@@ -9650,7 +9650,7 @@ function createCursor(bytes, { recursiveReadLimit = 8192 } = {}) {
|
|
|
9650
9650
|
}
|
|
9651
9651
|
var staticCursor;
|
|
9652
9652
|
var init_cursor2 = __esm({
|
|
9653
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
9653
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/cursor.js"() {
|
|
9654
9654
|
init_cursor();
|
|
9655
9655
|
staticCursor = {
|
|
9656
9656
|
bytes: new Uint8Array(),
|
|
@@ -9814,7 +9814,7 @@ var init_cursor2 = __esm({
|
|
|
9814
9814
|
}
|
|
9815
9815
|
});
|
|
9816
9816
|
|
|
9817
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
9817
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/encoding/fromBytes.js
|
|
9818
9818
|
function bytesToBigInt(bytes, opts = {}) {
|
|
9819
9819
|
if (typeof opts.size !== "undefined")
|
|
9820
9820
|
assertSize(bytes, { size: opts.size });
|
|
@@ -9846,7 +9846,7 @@ function bytesToString(bytes_, opts = {}) {
|
|
|
9846
9846
|
return new TextDecoder().decode(bytes);
|
|
9847
9847
|
}
|
|
9848
9848
|
var init_fromBytes = __esm({
|
|
9849
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
9849
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/encoding/fromBytes.js"() {
|
|
9850
9850
|
init_encoding();
|
|
9851
9851
|
init_trim();
|
|
9852
9852
|
init_fromHex();
|
|
@@ -9854,7 +9854,7 @@ var init_fromBytes = __esm({
|
|
|
9854
9854
|
}
|
|
9855
9855
|
});
|
|
9856
9856
|
|
|
9857
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
9857
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/abi/decodeAbiParameters.js
|
|
9858
9858
|
function decodeAbiParameters(params, data) {
|
|
9859
9859
|
const bytes = typeof data === "string" ? hexToBytes(data) : data;
|
|
9860
9860
|
const cursor = createCursor(bytes);
|
|
@@ -10040,7 +10040,7 @@ function hasDynamicChild(param) {
|
|
|
10040
10040
|
}
|
|
10041
10041
|
var sizeOfLength, sizeOfOffset;
|
|
10042
10042
|
var init_decodeAbiParameters = __esm({
|
|
10043
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
10043
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/abi/decodeAbiParameters.js"() {
|
|
10044
10044
|
init_abi();
|
|
10045
10045
|
init_getAddress();
|
|
10046
10046
|
init_cursor2();
|
|
@@ -10056,7 +10056,7 @@ var init_decodeAbiParameters = __esm({
|
|
|
10056
10056
|
}
|
|
10057
10057
|
});
|
|
10058
10058
|
|
|
10059
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
10059
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/abi/decodeErrorResult.js
|
|
10060
10060
|
function decodeErrorResult(parameters) {
|
|
10061
10061
|
const { abi: abi2, data, cause } = parameters;
|
|
10062
10062
|
const signature = slice(data, 0, 4);
|
|
@@ -10076,7 +10076,7 @@ function decodeErrorResult(parameters) {
|
|
|
10076
10076
|
};
|
|
10077
10077
|
}
|
|
10078
10078
|
var init_decodeErrorResult = __esm({
|
|
10079
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
10079
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/abi/decodeErrorResult.js"() {
|
|
10080
10080
|
init_solidity();
|
|
10081
10081
|
init_abi();
|
|
10082
10082
|
init_slice();
|
|
@@ -10086,10 +10086,10 @@ var init_decodeErrorResult = __esm({
|
|
|
10086
10086
|
}
|
|
10087
10087
|
});
|
|
10088
10088
|
|
|
10089
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
10089
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/stringify.js
|
|
10090
10090
|
var stringify;
|
|
10091
10091
|
var init_stringify = __esm({
|
|
10092
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
10092
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/stringify.js"() {
|
|
10093
10093
|
stringify = (value, replacer, space) => JSON.stringify(value, (key, value_) => {
|
|
10094
10094
|
const value2 = typeof value_ === "bigint" ? value_.toString() : value_;
|
|
10095
10095
|
return typeof replacer === "function" ? replacer(key, value2) : value2;
|
|
@@ -10097,7 +10097,7 @@ var init_stringify = __esm({
|
|
|
10097
10097
|
}
|
|
10098
10098
|
});
|
|
10099
10099
|
|
|
10100
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
10100
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/abi/formatAbiItemWithArgs.js
|
|
10101
10101
|
function formatAbiItemWithArgs({ abiItem, args, includeFunctionName = true, includeName = false }) {
|
|
10102
10102
|
if (!("name" in abiItem))
|
|
10103
10103
|
return;
|
|
@@ -10108,15 +10108,15 @@ function formatAbiItemWithArgs({ abiItem, args, includeFunctionName = true, incl
|
|
|
10108
10108
|
return `${includeFunctionName ? abiItem.name : ""}(${abiItem.inputs.map((input, i) => `${includeName && input.name ? `${input.name}: ` : ""}${typeof args[i] === "object" ? stringify(args[i]) : args[i]}`).join(", ")})`;
|
|
10109
10109
|
}
|
|
10110
10110
|
var init_formatAbiItemWithArgs = __esm({
|
|
10111
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
10111
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/abi/formatAbiItemWithArgs.js"() {
|
|
10112
10112
|
init_stringify();
|
|
10113
10113
|
}
|
|
10114
10114
|
});
|
|
10115
10115
|
|
|
10116
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
10116
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/constants/unit.js
|
|
10117
10117
|
var etherUnits, gweiUnits;
|
|
10118
10118
|
var init_unit = __esm({
|
|
10119
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
10119
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/constants/unit.js"() {
|
|
10120
10120
|
etherUnits = {
|
|
10121
10121
|
gwei: 9,
|
|
10122
10122
|
wei: 18
|
|
@@ -10128,7 +10128,7 @@ var init_unit = __esm({
|
|
|
10128
10128
|
}
|
|
10129
10129
|
});
|
|
10130
10130
|
|
|
10131
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
10131
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/unit/formatUnits.js
|
|
10132
10132
|
function formatUnits(value, decimals) {
|
|
10133
10133
|
let display = value.toString();
|
|
10134
10134
|
const negative = display.startsWith("-");
|
|
@@ -10143,33 +10143,33 @@ function formatUnits(value, decimals) {
|
|
|
10143
10143
|
return `${negative ? "-" : ""}${integer2 || "0"}${fraction ? `.${fraction}` : ""}`;
|
|
10144
10144
|
}
|
|
10145
10145
|
var init_formatUnits = __esm({
|
|
10146
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
10146
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/unit/formatUnits.js"() {
|
|
10147
10147
|
}
|
|
10148
10148
|
});
|
|
10149
10149
|
|
|
10150
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
10150
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/unit/formatEther.js
|
|
10151
10151
|
function formatEther(wei, unit = "wei") {
|
|
10152
10152
|
return formatUnits(wei, etherUnits[unit]);
|
|
10153
10153
|
}
|
|
10154
10154
|
var init_formatEther = __esm({
|
|
10155
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
10155
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/unit/formatEther.js"() {
|
|
10156
10156
|
init_unit();
|
|
10157
10157
|
init_formatUnits();
|
|
10158
10158
|
}
|
|
10159
10159
|
});
|
|
10160
10160
|
|
|
10161
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
10161
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/unit/formatGwei.js
|
|
10162
10162
|
function formatGwei(wei, unit = "wei") {
|
|
10163
10163
|
return formatUnits(wei, gweiUnits[unit]);
|
|
10164
10164
|
}
|
|
10165
10165
|
var init_formatGwei = __esm({
|
|
10166
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
10166
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/unit/formatGwei.js"() {
|
|
10167
10167
|
init_unit();
|
|
10168
10168
|
init_formatUnits();
|
|
10169
10169
|
}
|
|
10170
10170
|
});
|
|
10171
10171
|
|
|
10172
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
10172
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/stateOverride.js
|
|
10173
10173
|
function prettyStateMapping(stateMapping) {
|
|
10174
10174
|
return stateMapping.reduce((pretty, { slot, value }) => {
|
|
10175
10175
|
return `${pretty} ${slot}: ${value}
|
|
@@ -10202,7 +10202,7 @@ function prettyStateOverride(stateOverride) {
|
|
|
10202
10202
|
}
|
|
10203
10203
|
var AccountStateConflictError, StateAssignmentConflictError;
|
|
10204
10204
|
var init_stateOverride = __esm({
|
|
10205
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
10205
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/stateOverride.js"() {
|
|
10206
10206
|
init_base();
|
|
10207
10207
|
AccountStateConflictError = class extends BaseError2 {
|
|
10208
10208
|
constructor({ address }) {
|
|
@@ -10221,7 +10221,7 @@ var init_stateOverride = __esm({
|
|
|
10221
10221
|
}
|
|
10222
10222
|
});
|
|
10223
10223
|
|
|
10224
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
10224
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/transaction.js
|
|
10225
10225
|
function prettyPrint(args) {
|
|
10226
10226
|
const entries = Object.entries(args).map(([key, value]) => {
|
|
10227
10227
|
if (value === void 0 || value === false)
|
|
@@ -10233,7 +10233,7 @@ function prettyPrint(args) {
|
|
|
10233
10233
|
}
|
|
10234
10234
|
var InvalidLegacyVError, InvalidSerializableTransactionError, InvalidStorageKeySizeError, TransactionExecutionError, TransactionNotFoundError, TransactionReceiptNotFoundError, TransactionReceiptRevertedError, WaitForTransactionReceiptTimeoutError;
|
|
10235
10235
|
var init_transaction = __esm({
|
|
10236
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
10236
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/transaction.js"() {
|
|
10237
10237
|
init_formatEther();
|
|
10238
10238
|
init_formatGwei();
|
|
10239
10239
|
init_base();
|
|
@@ -10355,7 +10355,7 @@ var init_transaction = __esm({
|
|
|
10355
10355
|
}
|
|
10356
10356
|
});
|
|
10357
10357
|
|
|
10358
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
10358
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/utils.js
|
|
10359
10359
|
function getAbortError(signal) {
|
|
10360
10360
|
if (signal?.reason)
|
|
10361
10361
|
return signal.reason;
|
|
@@ -10370,7 +10370,7 @@ function isAbortError(error2) {
|
|
|
10370
10370
|
}
|
|
10371
10371
|
var getContractAddress, getUrl;
|
|
10372
10372
|
var init_utils3 = __esm({
|
|
10373
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
10373
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/utils.js"() {
|
|
10374
10374
|
getContractAddress = (address) => address;
|
|
10375
10375
|
getUrl = (url) => {
|
|
10376
10376
|
try {
|
|
@@ -10387,10 +10387,10 @@ var init_utils3 = __esm({
|
|
|
10387
10387
|
}
|
|
10388
10388
|
});
|
|
10389
10389
|
|
|
10390
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
10390
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/contract.js
|
|
10391
10391
|
var CallExecutionError, ContractFunctionExecutionError, ContractFunctionRevertedError, ContractFunctionZeroDataError, CounterfactualDeploymentFailedError, RawContractError;
|
|
10392
10392
|
var init_contract = __esm({
|
|
10393
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
10393
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/contract.js"() {
|
|
10394
10394
|
init_parseAccount();
|
|
10395
10395
|
init_solidity();
|
|
10396
10396
|
init_decodeErrorResult();
|
|
@@ -10644,10 +10644,10 @@ ${prettyStateOverride(stateOverride)}`;
|
|
|
10644
10644
|
}
|
|
10645
10645
|
});
|
|
10646
10646
|
|
|
10647
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
10647
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/request.js
|
|
10648
10648
|
var HttpRequestError, RpcRequestError, TimeoutError;
|
|
10649
10649
|
var init_request = __esm({
|
|
10650
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
10650
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/request.js"() {
|
|
10651
10651
|
init_stringify();
|
|
10652
10652
|
init_base();
|
|
10653
10653
|
init_utils3();
|
|
@@ -10743,10 +10743,10 @@ var init_request = __esm({
|
|
|
10743
10743
|
}
|
|
10744
10744
|
});
|
|
10745
10745
|
|
|
10746
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
10746
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/rpc.js
|
|
10747
10747
|
var unknownErrorCode, RpcError, ProviderRpcError, ParseRpcError, InvalidRequestRpcError, MethodNotFoundRpcError, InvalidParamsRpcError, InternalRpcError, InvalidInputRpcError, ResourceNotFoundRpcError, ResourceUnavailableRpcError, TransactionRejectedRpcError, MethodNotSupportedRpcError, LimitExceededRpcError, JsonRpcVersionUnsupportedError, UserRejectedRequestError, UnauthorizedProviderError, UnsupportedProviderMethodError, ProviderDisconnectedError, ChainDisconnectedError, SwitchChainError, UnsupportedNonOptionalCapabilityError, UnsupportedChainIdError, DuplicateIdError, UnknownBundleIdError, BundleTooLargeError, AtomicReadyWalletRejectedUpgradeError, AtomicityNotSupportedError, WalletConnectSessionSettlementError, UnknownRpcError;
|
|
10748
10748
|
var init_rpc = __esm({
|
|
10749
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
10749
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/rpc.js"() {
|
|
10750
10750
|
init_base();
|
|
10751
10751
|
init_request();
|
|
10752
10752
|
unknownErrorCode = -1;
|
|
@@ -13691,10 +13691,10 @@ var init_secp256k1 = __esm({
|
|
|
13691
13691
|
}
|
|
13692
13692
|
});
|
|
13693
13693
|
|
|
13694
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
13694
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/node.js
|
|
13695
13695
|
var ExecutionRevertedError, FeeCapTooHighError, FeeCapTooLowError, NonceTooHighError, NonceTooLowError, NonceMaxValueError, InsufficientFundsError, IntrinsicGasTooHighError, IntrinsicGasTooLowError, TransactionTypeNotSupportedError, TipAboveFeeCapError, UnknownNodeError;
|
|
13696
13696
|
var init_node = __esm({
|
|
13697
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
13697
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/node.js"() {
|
|
13698
13698
|
init_formatGwei();
|
|
13699
13699
|
init_base();
|
|
13700
13700
|
ExecutionRevertedError = class extends BaseError2 {
|
|
@@ -13877,7 +13877,7 @@ var init_node = __esm({
|
|
|
13877
13877
|
}
|
|
13878
13878
|
});
|
|
13879
13879
|
|
|
13880
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
13880
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/errors/getNodeError.js
|
|
13881
13881
|
function getNodeError(err, args) {
|
|
13882
13882
|
const message = (err.details || "").toLowerCase();
|
|
13883
13883
|
const executionRevertedError = err instanceof BaseError2 ? err.walk((e) => e?.code === ExecutionRevertedError.code) : err;
|
|
@@ -13926,13 +13926,13 @@ function getNodeError(err, args) {
|
|
|
13926
13926
|
});
|
|
13927
13927
|
}
|
|
13928
13928
|
var init_getNodeError = __esm({
|
|
13929
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
13929
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/errors/getNodeError.js"() {
|
|
13930
13930
|
init_base();
|
|
13931
13931
|
init_node();
|
|
13932
13932
|
}
|
|
13933
13933
|
});
|
|
13934
13934
|
|
|
13935
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
13935
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/formatters/extract.js
|
|
13936
13936
|
function extract(value_, { format }) {
|
|
13937
13937
|
if (!format)
|
|
13938
13938
|
return {};
|
|
@@ -13951,11 +13951,11 @@ function extract(value_, { format }) {
|
|
|
13951
13951
|
return value;
|
|
13952
13952
|
}
|
|
13953
13953
|
var init_extract = __esm({
|
|
13954
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
13954
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/formatters/extract.js"() {
|
|
13955
13955
|
}
|
|
13956
13956
|
});
|
|
13957
13957
|
|
|
13958
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
13958
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/formatters/formatter.js
|
|
13959
13959
|
function defineFormatter(type, format) {
|
|
13960
13960
|
return ({ exclude, format: overrides }) => {
|
|
13961
13961
|
return {
|
|
@@ -13977,11 +13977,11 @@ function defineFormatter(type, format) {
|
|
|
13977
13977
|
};
|
|
13978
13978
|
}
|
|
13979
13979
|
var init_formatter = __esm({
|
|
13980
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
13980
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/formatters/formatter.js"() {
|
|
13981
13981
|
}
|
|
13982
13982
|
});
|
|
13983
13983
|
|
|
13984
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
13984
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/formatters/transactionRequest.js
|
|
13985
13985
|
function formatTransactionRequest(request, _) {
|
|
13986
13986
|
const rpcRequest = {};
|
|
13987
13987
|
if (typeof request.authorizationList !== "undefined")
|
|
@@ -14035,7 +14035,7 @@ function formatAuthorizationList(authorizationList) {
|
|
|
14035
14035
|
}
|
|
14036
14036
|
var rpcTransactionType, defineTransactionRequest;
|
|
14037
14037
|
var init_transactionRequest = __esm({
|
|
14038
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
14038
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/formatters/transactionRequest.js"() {
|
|
14039
14039
|
init_toHex();
|
|
14040
14040
|
init_formatter();
|
|
14041
14041
|
rpcTransactionType = {
|
|
@@ -14049,7 +14049,7 @@ var init_transactionRequest = __esm({
|
|
|
14049
14049
|
}
|
|
14050
14050
|
});
|
|
14051
14051
|
|
|
14052
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
14052
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/stateOverride.js
|
|
14053
14053
|
function serializeStateMapping(stateMapping) {
|
|
14054
14054
|
if (!stateMapping || stateMapping.length === 0)
|
|
14055
14055
|
return void 0;
|
|
@@ -14102,7 +14102,7 @@ function serializeStateOverride(parameters) {
|
|
|
14102
14102
|
return rpcStateOverride;
|
|
14103
14103
|
}
|
|
14104
14104
|
var init_stateOverride2 = __esm({
|
|
14105
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
14105
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/stateOverride.js"() {
|
|
14106
14106
|
init_address();
|
|
14107
14107
|
init_data();
|
|
14108
14108
|
init_stateOverride();
|
|
@@ -14111,10 +14111,10 @@ var init_stateOverride2 = __esm({
|
|
|
14111
14111
|
}
|
|
14112
14112
|
});
|
|
14113
14113
|
|
|
14114
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
14114
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/constants/number.js
|
|
14115
14115
|
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;
|
|
14116
14116
|
var init_number = __esm({
|
|
14117
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
14117
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/constants/number.js"() {
|
|
14118
14118
|
maxInt8 = 2n ** (8n - 1n) - 1n;
|
|
14119
14119
|
maxInt16 = 2n ** (16n - 1n) - 1n;
|
|
14120
14120
|
maxInt24 = 2n ** (24n - 1n) - 1n;
|
|
@@ -14214,7 +14214,7 @@ var init_number = __esm({
|
|
|
14214
14214
|
}
|
|
14215
14215
|
});
|
|
14216
14216
|
|
|
14217
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
14217
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/transaction/assertRequest.js
|
|
14218
14218
|
function assertRequest(args) {
|
|
14219
14219
|
const { account: account_, maxFeePerGas, maxPriorityFeePerGas, to } = args;
|
|
14220
14220
|
const account = account_ ? parseAccount(account_) : void 0;
|
|
@@ -14228,7 +14228,7 @@ function assertRequest(args) {
|
|
|
14228
14228
|
throw new TipAboveFeeCapError({ maxFeePerGas, maxPriorityFeePerGas });
|
|
14229
14229
|
}
|
|
14230
14230
|
var init_assertRequest = __esm({
|
|
14231
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
14231
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/transaction/assertRequest.js"() {
|
|
14232
14232
|
init_parseAccount();
|
|
14233
14233
|
init_number();
|
|
14234
14234
|
init_address();
|
|
@@ -14237,7 +14237,7 @@ var init_assertRequest = __esm({
|
|
|
14237
14237
|
}
|
|
14238
14238
|
});
|
|
14239
14239
|
|
|
14240
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
14240
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/block/formatBlockParameter.js
|
|
14241
14241
|
function formatBlockParameter(parameters) {
|
|
14242
14242
|
const { blockHash, blockNumber, blockTag, requireCanonical } = parameters;
|
|
14243
14243
|
if (requireCanonical !== void 0 && !blockHash)
|
|
@@ -14249,13 +14249,13 @@ function formatBlockParameter(parameters) {
|
|
|
14249
14249
|
return blockTag ?? "latest";
|
|
14250
14250
|
}
|
|
14251
14251
|
var init_formatBlockParameter = __esm({
|
|
14252
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
14252
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/block/formatBlockParameter.js"() {
|
|
14253
14253
|
init_base();
|
|
14254
14254
|
init_toHex();
|
|
14255
14255
|
}
|
|
14256
14256
|
});
|
|
14257
14257
|
|
|
14258
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
14258
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/address/isAddressEqual.js
|
|
14259
14259
|
function isAddressEqual(a, b) {
|
|
14260
14260
|
if (!isAddress(a, { strict: false }))
|
|
14261
14261
|
throw new InvalidAddressError({ address: a });
|
|
@@ -14264,13 +14264,13 @@ function isAddressEqual(a, b) {
|
|
|
14264
14264
|
return a.toLowerCase() === b.toLowerCase();
|
|
14265
14265
|
}
|
|
14266
14266
|
var init_isAddressEqual = __esm({
|
|
14267
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
14267
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/address/isAddressEqual.js"() {
|
|
14268
14268
|
init_address();
|
|
14269
14269
|
init_isAddress();
|
|
14270
14270
|
}
|
|
14271
14271
|
});
|
|
14272
14272
|
|
|
14273
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
14273
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/abi/decodeFunctionResult.js
|
|
14274
14274
|
function decodeFunctionResult(parameters) {
|
|
14275
14275
|
const { abi: abi2, args, functionName, data } = parameters;
|
|
14276
14276
|
let abiItem = abi2[0];
|
|
@@ -14293,7 +14293,7 @@ function decodeFunctionResult(parameters) {
|
|
|
14293
14293
|
}
|
|
14294
14294
|
var docsPath4;
|
|
14295
14295
|
var init_decodeFunctionResult = __esm({
|
|
14296
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
14296
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/abi/decodeFunctionResult.js"() {
|
|
14297
14297
|
init_abi();
|
|
14298
14298
|
init_decodeAbiParameters();
|
|
14299
14299
|
init_getAbiItem();
|
|
@@ -14301,25 +14301,25 @@ var init_decodeFunctionResult = __esm({
|
|
|
14301
14301
|
}
|
|
14302
14302
|
});
|
|
14303
14303
|
|
|
14304
|
-
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
14304
|
+
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/core/version.js
|
|
14305
14305
|
var version4;
|
|
14306
14306
|
var init_version3 = __esm({
|
|
14307
|
-
"../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
14307
|
+
"../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/core/version.js"() {
|
|
14308
14308
|
version4 = "0.1.1";
|
|
14309
14309
|
}
|
|
14310
14310
|
});
|
|
14311
14311
|
|
|
14312
|
-
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
14312
|
+
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/core/internal/errors.js
|
|
14313
14313
|
function getVersion() {
|
|
14314
14314
|
return version4;
|
|
14315
14315
|
}
|
|
14316
14316
|
var init_errors2 = __esm({
|
|
14317
|
-
"../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
14317
|
+
"../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/core/internal/errors.js"() {
|
|
14318
14318
|
init_version3();
|
|
14319
14319
|
}
|
|
14320
14320
|
});
|
|
14321
14321
|
|
|
14322
|
-
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
14322
|
+
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/core/Errors.js
|
|
14323
14323
|
function walk2(err, fn) {
|
|
14324
14324
|
if (fn?.(err))
|
|
14325
14325
|
return err;
|
|
@@ -14329,7 +14329,7 @@ function walk2(err, fn) {
|
|
|
14329
14329
|
}
|
|
14330
14330
|
var BaseError3;
|
|
14331
14331
|
var init_Errors = __esm({
|
|
14332
|
-
"../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
14332
|
+
"../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/core/Errors.js"() {
|
|
14333
14333
|
init_errors2();
|
|
14334
14334
|
BaseError3 = class _BaseError extends Error {
|
|
14335
14335
|
static setStaticOptions(options) {
|
|
@@ -14454,7 +14454,7 @@ var init_Errors = __esm({
|
|
|
14454
14454
|
}
|
|
14455
14455
|
});
|
|
14456
14456
|
|
|
14457
|
-
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
14457
|
+
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/core/internal/bytes.js
|
|
14458
14458
|
function assertSize2(bytes, size_) {
|
|
14459
14459
|
if (size2(bytes) > size_)
|
|
14460
14460
|
throw new SizeOverflowError2({
|
|
@@ -14520,7 +14520,7 @@ function trim2(value, options = {}) {
|
|
|
14520
14520
|
}
|
|
14521
14521
|
var charCodeMap2;
|
|
14522
14522
|
var init_bytes = __esm({
|
|
14523
|
-
"../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
14523
|
+
"../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/core/internal/bytes.js"() {
|
|
14524
14524
|
init_Bytes();
|
|
14525
14525
|
charCodeMap2 = {
|
|
14526
14526
|
zero: 48,
|
|
@@ -14533,7 +14533,7 @@ var init_bytes = __esm({
|
|
|
14533
14533
|
}
|
|
14534
14534
|
});
|
|
14535
14535
|
|
|
14536
|
-
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
14536
|
+
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/core/internal/hex.js
|
|
14537
14537
|
function assertSize3(hex, size_) {
|
|
14538
14538
|
if (size3(hex) > size_)
|
|
14539
14539
|
throw new SizeOverflowError3({
|
|
@@ -14589,12 +14589,12 @@ function trim3(value, options = {}) {
|
|
|
14589
14589
|
return `0x${data}`;
|
|
14590
14590
|
}
|
|
14591
14591
|
var init_hex = __esm({
|
|
14592
|
-
"../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
14592
|
+
"../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/core/internal/hex.js"() {
|
|
14593
14593
|
init_Hex();
|
|
14594
14594
|
}
|
|
14595
14595
|
});
|
|
14596
14596
|
|
|
14597
|
-
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
14597
|
+
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/core/Json.js
|
|
14598
14598
|
function stringify2(value, replacer, space) {
|
|
14599
14599
|
return JSON.stringify(value, (key, value2) => {
|
|
14600
14600
|
if (typeof replacer === "function")
|
|
@@ -14606,12 +14606,12 @@ function stringify2(value, replacer, space) {
|
|
|
14606
14606
|
}
|
|
14607
14607
|
var bigIntSuffix;
|
|
14608
14608
|
var init_Json = __esm({
|
|
14609
|
-
"../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
14609
|
+
"../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/core/Json.js"() {
|
|
14610
14610
|
bigIntSuffix = "#__bigint";
|
|
14611
14611
|
}
|
|
14612
14612
|
});
|
|
14613
14613
|
|
|
14614
|
-
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
14614
|
+
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/core/Bytes.js
|
|
14615
14615
|
function assert2(value) {
|
|
14616
14616
|
if (value instanceof Uint8Array)
|
|
14617
14617
|
return;
|
|
@@ -14729,7 +14729,7 @@ function validate(value) {
|
|
|
14729
14729
|
}
|
|
14730
14730
|
var decoder, encoder3, InvalidBytesBooleanError2, InvalidBytesTypeError, SizeOverflowError2, SliceOffsetOutOfBoundsError2, SizeExceedsPaddingSizeError2;
|
|
14731
14731
|
var init_Bytes = __esm({
|
|
14732
|
-
"../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
14732
|
+
"../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/core/Bytes.js"() {
|
|
14733
14733
|
init_Errors();
|
|
14734
14734
|
init_Hex();
|
|
14735
14735
|
init_bytes();
|
|
@@ -14801,7 +14801,7 @@ var init_Bytes = __esm({
|
|
|
14801
14801
|
}
|
|
14802
14802
|
});
|
|
14803
14803
|
|
|
14804
|
-
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
14804
|
+
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/core/Hex.js
|
|
14805
14805
|
function assert3(value, options = {}) {
|
|
14806
14806
|
const { strict = false } = options;
|
|
14807
14807
|
if (!value)
|
|
@@ -14927,7 +14927,7 @@ function validate2(value, options = {}) {
|
|
|
14927
14927
|
}
|
|
14928
14928
|
var encoder4, hexes3, IntegerOutOfRangeError2, InvalidHexTypeError, InvalidHexValueError, SizeOverflowError3, SliceOffsetOutOfBoundsError3, SizeExceedsPaddingSizeError3;
|
|
14929
14929
|
var init_Hex = __esm({
|
|
14930
|
-
"../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
14930
|
+
"../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/core/Hex.js"() {
|
|
14931
14931
|
init_Errors();
|
|
14932
14932
|
init_hex();
|
|
14933
14933
|
init_Json();
|
|
@@ -15008,7 +15008,7 @@ var init_Hex = __esm({
|
|
|
15008
15008
|
}
|
|
15009
15009
|
});
|
|
15010
15010
|
|
|
15011
|
-
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
15011
|
+
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/core/Withdrawal.js
|
|
15012
15012
|
function toRpc(withdrawal) {
|
|
15013
15013
|
return {
|
|
15014
15014
|
address: withdrawal.address,
|
|
@@ -15018,12 +15018,12 @@ function toRpc(withdrawal) {
|
|
|
15018
15018
|
};
|
|
15019
15019
|
}
|
|
15020
15020
|
var init_Withdrawal = __esm({
|
|
15021
|
-
"../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
15021
|
+
"../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/core/Withdrawal.js"() {
|
|
15022
15022
|
init_Hex();
|
|
15023
15023
|
}
|
|
15024
15024
|
});
|
|
15025
15025
|
|
|
15026
|
-
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
15026
|
+
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/core/BlockOverrides.js
|
|
15027
15027
|
function toRpc2(blockOverrides) {
|
|
15028
15028
|
return {
|
|
15029
15029
|
...typeof blockOverrides.baseFeePerGas === "bigint" && {
|
|
@@ -15053,16 +15053,16 @@ function toRpc2(blockOverrides) {
|
|
|
15053
15053
|
};
|
|
15054
15054
|
}
|
|
15055
15055
|
var init_BlockOverrides = __esm({
|
|
15056
|
-
"../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
15056
|
+
"../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/core/BlockOverrides.js"() {
|
|
15057
15057
|
init_Hex();
|
|
15058
15058
|
init_Withdrawal();
|
|
15059
15059
|
}
|
|
15060
15060
|
});
|
|
15061
15061
|
|
|
15062
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
15062
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/constants/abis.js
|
|
15063
15063
|
var multicall3Abi, batchGatewayAbi, universalResolverErrors, universalResolverResolveAbi, universalResolverReverseAbi, textResolverAbi, addressResolverAbi, erc1271Abi, erc6492SignatureValidatorAbi;
|
|
15064
15064
|
var init_abis = __esm({
|
|
15065
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
15065
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/constants/abis.js"() {
|
|
15066
15066
|
multicall3Abi = [
|
|
15067
15067
|
{
|
|
15068
15068
|
inputs: [
|
|
@@ -15417,18 +15417,18 @@ var init_abis = __esm({
|
|
|
15417
15417
|
}
|
|
15418
15418
|
});
|
|
15419
15419
|
|
|
15420
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
15420
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/constants/contract.js
|
|
15421
15421
|
var aggregate3Signature;
|
|
15422
15422
|
var init_contract2 = __esm({
|
|
15423
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
15423
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/constants/contract.js"() {
|
|
15424
15424
|
aggregate3Signature = "0x82ad56cb";
|
|
15425
15425
|
}
|
|
15426
15426
|
});
|
|
15427
15427
|
|
|
15428
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
15428
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/constants/contracts.js
|
|
15429
15429
|
var deploylessCallViaBytecodeBytecode, deploylessCallViaFactoryBytecode, erc6492SignatureValidatorByteCode, multicall3Bytecode;
|
|
15430
15430
|
var init_contracts = __esm({
|
|
15431
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
15431
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/constants/contracts.js"() {
|
|
15432
15432
|
deploylessCallViaBytecodeBytecode = "0x608060405234801561001057600080fd5b5060405161018e38038061018e83398101604081905261002f91610124565b6000808351602085016000f59050803b61004857600080fd5b6000808351602085016000855af16040513d6000823e81610067573d81fd5b3d81f35b634e487b7160e01b600052604160045260246000fd5b600082601f83011261009257600080fd5b81516001600160401b038111156100ab576100ab61006b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156100d9576100d961006b565b6040528181528382016020018510156100f157600080fd5b60005b82811015610110576020818601810151838301820152016100f4565b506000918101602001919091529392505050565b6000806040838503121561013757600080fd5b82516001600160401b0381111561014d57600080fd5b61015985828601610081565b602085015190935090506001600160401b0381111561017757600080fd5b61018385828601610081565b915050925092905056fe";
|
|
15433
15433
|
deploylessCallViaFactoryBytecode = "0x608060405234801561001057600080fd5b506040516102c03803806102c083398101604081905261002f916101e6565b836001600160a01b03163b6000036100e457600080836001600160a01b03168360405161005c9190610270565b6000604051808303816000865af19150503d8060008114610099576040519150601f19603f3d011682016040523d82523d6000602084013e61009e565b606091505b50915091508115806100b857506001600160a01b0386163b155b156100e1578060405163101bb98d60e01b81526004016100d8919061028c565b60405180910390fd5b50505b6000808451602086016000885af16040513d6000823e81610103573d81fd5b3d81f35b80516001600160a01b038116811461011e57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561015457818101518382015260200161013c565b50506000910152565b600082601f83011261016e57600080fd5b81516001600160401b0381111561018757610187610123565b604051601f8201601f19908116603f011681016001600160401b03811182821017156101b5576101b5610123565b6040528181528382016020018510156101cd57600080fd5b6101de826020830160208701610139565b949350505050565b600080600080608085870312156101fc57600080fd5b61020585610107565b60208601519094506001600160401b0381111561022157600080fd5b61022d8782880161015d565b93505061023c60408601610107565b60608601519092506001600160401b0381111561025857600080fd5b6102648782880161015d565b91505092959194509250565b60008251610282818460208701610139565b9190910192915050565b60208152600082518060208401526102ab816040850160208701610139565b601f01601f1916919091016040019291505056fe";
|
|
15434
15434
|
erc6492SignatureValidatorByteCode = "0x608060405234801561001057600080fd5b5060405161069438038061069483398101604081905261002f9161051e565b600061003c848484610048565b9050806000526001601ff35b60007f64926492649264926492649264926492649264926492649264926492649264926100748361040c565b036101e7576000606080848060200190518101906100929190610577565b60405192955090935091506000906001600160a01b038516906100b69085906105dd565b6000604051808303816000865af19150503d80600081146100f3576040519150601f19603f3d011682016040523d82523d6000602084013e6100f8565b606091505b50509050876001600160a01b03163b60000361016057806101605760405162461bcd60e51b815260206004820152601e60248201527f5369676e617475726556616c696461746f723a206465706c6f796d656e74000060448201526064015b60405180910390fd5b604051630b135d3f60e11b808252906001600160a01b038a1690631626ba7e90610190908b9087906004016105f9565b602060405180830381865afa1580156101ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d19190610633565b6001600160e01b03191614945050505050610405565b6001600160a01b0384163b1561027a57604051630b135d3f60e11b808252906001600160a01b03861690631626ba7e9061022790879087906004016105f9565b602060405180830381865afa158015610244573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102689190610633565b6001600160e01b031916149050610405565b81516041146102df5760405162461bcd60e51b815260206004820152603a602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e6174757265206c656e6774680000000000006064820152608401610157565b6102e7610425565b5060208201516040808401518451859392600091859190811061030c5761030c61065d565b016020015160f81c9050601b811480159061032b57508060ff16601c14155b1561038c5760405162461bcd60e51b815260206004820152603b602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e617475726520762076616c756500000000006064820152608401610157565b60408051600081526020810180835289905260ff83169181019190915260608101849052608081018390526001600160a01b0389169060019060a0016020604051602081039080840390855afa1580156103ea573d6000803e3d6000fd5b505050602060405103516001600160a01b0316149450505050505b9392505050565b600060208251101561041d57600080fd5b508051015190565b60405180606001604052806003906020820280368337509192915050565b6001600160a01b038116811461045857600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561048c578181015183820152602001610474565b50506000910152565b600082601f8301126104a657600080fd5b81516001600160401b038111156104bf576104bf61045b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156104ed576104ed61045b565b60405281815283820160200185101561050557600080fd5b610516826020830160208701610471565b949350505050565b60008060006060848603121561053357600080fd5b835161053e81610443565b6020850151604086015191945092506001600160401b0381111561056157600080fd5b61056d86828701610495565b9150509250925092565b60008060006060848603121561058c57600080fd5b835161059781610443565b60208501519093506001600160401b038111156105b357600080fd5b6105bf86828701610495565b604086015190935090506001600160401b0381111561056157600080fd5b600082516105ef818460208701610471565b9190910192915050565b828152604060208201526000825180604084015261061e816060850160208701610471565b601f01601f1916919091016060019392505050565b60006020828403121561064557600080fd5b81516001600160e01b03198116811461040557600080fd5b634e487b7160e01b600052603260045260246000fdfe5369676e617475726556616c696461746f72237265636f7665725369676e6572";
|
|
@@ -15436,10 +15436,10 @@ var init_contracts = __esm({
|
|
|
15436
15436
|
}
|
|
15437
15437
|
});
|
|
15438
15438
|
|
|
15439
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
15439
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/chain.js
|
|
15440
15440
|
var ChainDoesNotSupportContract, ClientChainNotConfiguredError, InvalidChainIdError;
|
|
15441
15441
|
var init_chain = __esm({
|
|
15442
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
15442
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/chain.js"() {
|
|
15443
15443
|
init_base();
|
|
15444
15444
|
ChainDoesNotSupportContract = class extends BaseError2 {
|
|
15445
15445
|
constructor({ blockNumber, chain, contract }) {
|
|
@@ -15471,7 +15471,7 @@ var init_chain = __esm({
|
|
|
15471
15471
|
}
|
|
15472
15472
|
});
|
|
15473
15473
|
|
|
15474
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
15474
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/abi/encodeDeployData.js
|
|
15475
15475
|
function encodeDeployData(parameters) {
|
|
15476
15476
|
const { abi: abi2, args, bytecode } = parameters;
|
|
15477
15477
|
if (!args || args.length === 0)
|
|
@@ -15488,7 +15488,7 @@ function encodeDeployData(parameters) {
|
|
|
15488
15488
|
}
|
|
15489
15489
|
var docsPath5;
|
|
15490
15490
|
var init_encodeDeployData = __esm({
|
|
15491
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
15491
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/abi/encodeDeployData.js"() {
|
|
15492
15492
|
init_abi();
|
|
15493
15493
|
init_concat();
|
|
15494
15494
|
init_encodeAbiParameters();
|
|
@@ -15496,7 +15496,7 @@ var init_encodeDeployData = __esm({
|
|
|
15496
15496
|
}
|
|
15497
15497
|
});
|
|
15498
15498
|
|
|
15499
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
15499
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/chain/getChainContractAddress.js
|
|
15500
15500
|
function getChainContractAddress({ blockNumber, chain, contract: name }) {
|
|
15501
15501
|
const contract = chain?.contracts?.[name];
|
|
15502
15502
|
if (!contract)
|
|
@@ -15516,12 +15516,12 @@ function getChainContractAddress({ blockNumber, chain, contract: name }) {
|
|
|
15516
15516
|
return contract.address;
|
|
15517
15517
|
}
|
|
15518
15518
|
var init_getChainContractAddress = __esm({
|
|
15519
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
15519
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/chain/getChainContractAddress.js"() {
|
|
15520
15520
|
init_chain();
|
|
15521
15521
|
}
|
|
15522
15522
|
});
|
|
15523
15523
|
|
|
15524
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
15524
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/errors/getCallError.js
|
|
15525
15525
|
function getCallError(err, { docsPath: docsPath8, ...args }) {
|
|
15526
15526
|
const cause = (() => {
|
|
15527
15527
|
const cause2 = getNodeError(err, args);
|
|
@@ -15535,14 +15535,14 @@ function getCallError(err, { docsPath: docsPath8, ...args }) {
|
|
|
15535
15535
|
});
|
|
15536
15536
|
}
|
|
15537
15537
|
var init_getCallError = __esm({
|
|
15538
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
15538
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/errors/getCallError.js"() {
|
|
15539
15539
|
init_contract();
|
|
15540
15540
|
init_node();
|
|
15541
15541
|
init_getNodeError();
|
|
15542
15542
|
}
|
|
15543
15543
|
});
|
|
15544
15544
|
|
|
15545
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
15545
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/promise/withResolvers.js
|
|
15546
15546
|
function withResolvers() {
|
|
15547
15547
|
let resolve = () => void 0;
|
|
15548
15548
|
let reject = () => void 0;
|
|
@@ -15553,11 +15553,11 @@ function withResolvers() {
|
|
|
15553
15553
|
return { promise, resolve, reject };
|
|
15554
15554
|
}
|
|
15555
15555
|
var init_withResolvers = __esm({
|
|
15556
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
15556
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/promise/withResolvers.js"() {
|
|
15557
15557
|
}
|
|
15558
15558
|
});
|
|
15559
15559
|
|
|
15560
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
15560
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/promise/createBatchScheduler.js
|
|
15561
15561
|
function createBatchScheduler({ fn, id, shouldSplitBatch, wait: wait2 = 0, sort }) {
|
|
15562
15562
|
const exec = async () => {
|
|
15563
15563
|
const scheduler = getScheduler();
|
|
@@ -15603,16 +15603,16 @@ function createBatchScheduler({ fn, id, shouldSplitBatch, wait: wait2 = 0, sort
|
|
|
15603
15603
|
}
|
|
15604
15604
|
var schedulerCache;
|
|
15605
15605
|
var init_createBatchScheduler = __esm({
|
|
15606
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
15606
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/promise/createBatchScheduler.js"() {
|
|
15607
15607
|
init_withResolvers();
|
|
15608
15608
|
schedulerCache = /* @__PURE__ */ new Map();
|
|
15609
15609
|
}
|
|
15610
15610
|
});
|
|
15611
15611
|
|
|
15612
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
15612
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/ccip.js
|
|
15613
15613
|
var OffchainLookupError, OffchainLookupResponseMalformedError, OffchainLookupSenderMismatchError;
|
|
15614
15614
|
var init_ccip = __esm({
|
|
15615
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
15615
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/ccip.js"() {
|
|
15616
15616
|
init_stringify();
|
|
15617
15617
|
init_base();
|
|
15618
15618
|
init_utils3();
|
|
@@ -15662,7 +15662,7 @@ var init_ccip = __esm({
|
|
|
15662
15662
|
}
|
|
15663
15663
|
});
|
|
15664
15664
|
|
|
15665
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
15665
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/abi/decodeFunctionData.js
|
|
15666
15666
|
function decodeFunctionData(parameters) {
|
|
15667
15667
|
const { abi: abi2, data } = parameters;
|
|
15668
15668
|
const signature = slice(data, 0, 4);
|
|
@@ -15677,7 +15677,7 @@ function decodeFunctionData(parameters) {
|
|
|
15677
15677
|
};
|
|
15678
15678
|
}
|
|
15679
15679
|
var init_decodeFunctionData = __esm({
|
|
15680
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
15680
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/abi/decodeFunctionData.js"() {
|
|
15681
15681
|
init_abi();
|
|
15682
15682
|
init_slice();
|
|
15683
15683
|
init_toFunctionSelector();
|
|
@@ -15686,7 +15686,7 @@ var init_decodeFunctionData = __esm({
|
|
|
15686
15686
|
}
|
|
15687
15687
|
});
|
|
15688
15688
|
|
|
15689
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
15689
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/abi/encodeErrorResult.js
|
|
15690
15690
|
function encodeErrorResult(parameters) {
|
|
15691
15691
|
const { abi: abi2, errorName, args } = parameters;
|
|
15692
15692
|
let abiItem = abi2[0];
|
|
@@ -15710,7 +15710,7 @@ function encodeErrorResult(parameters) {
|
|
|
15710
15710
|
}
|
|
15711
15711
|
var docsPath6;
|
|
15712
15712
|
var init_encodeErrorResult = __esm({
|
|
15713
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
15713
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/abi/encodeErrorResult.js"() {
|
|
15714
15714
|
init_abi();
|
|
15715
15715
|
init_concat();
|
|
15716
15716
|
init_toFunctionSelector();
|
|
@@ -15721,7 +15721,7 @@ var init_encodeErrorResult = __esm({
|
|
|
15721
15721
|
}
|
|
15722
15722
|
});
|
|
15723
15723
|
|
|
15724
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
15724
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/abi/encodeFunctionResult.js
|
|
15725
15725
|
function encodeFunctionResult(parameters) {
|
|
15726
15726
|
const { abi: abi2, functionName, result } = parameters;
|
|
15727
15727
|
let abiItem = abi2[0];
|
|
@@ -15748,7 +15748,7 @@ function encodeFunctionResult(parameters) {
|
|
|
15748
15748
|
}
|
|
15749
15749
|
var docsPath7;
|
|
15750
15750
|
var init_encodeFunctionResult = __esm({
|
|
15751
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
15751
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/abi/encodeFunctionResult.js"() {
|
|
15752
15752
|
init_abi();
|
|
15753
15753
|
init_encodeAbiParameters();
|
|
15754
15754
|
init_getAbiItem();
|
|
@@ -15756,7 +15756,7 @@ var init_encodeFunctionResult = __esm({
|
|
|
15756
15756
|
}
|
|
15757
15757
|
});
|
|
15758
15758
|
|
|
15759
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
15759
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/ens/localBatchGatewayRequest.js
|
|
15760
15760
|
async function localBatchGatewayRequest(parameters) {
|
|
15761
15761
|
const { data, ccipRequest: ccipRequest2 } = parameters;
|
|
15762
15762
|
const { args: [queries] } = decodeFunctionData({ abi: batchGatewayAbi, data });
|
|
@@ -15792,7 +15792,7 @@ function encodeError(error2) {
|
|
|
15792
15792
|
}
|
|
15793
15793
|
var localBatchGatewayUrl;
|
|
15794
15794
|
var init_localBatchGatewayRequest = __esm({
|
|
15795
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
15795
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/ens/localBatchGatewayRequest.js"() {
|
|
15796
15796
|
init_abis();
|
|
15797
15797
|
init_solidity();
|
|
15798
15798
|
init_decodeFunctionData();
|
|
@@ -15802,7 +15802,7 @@ var init_localBatchGatewayRequest = __esm({
|
|
|
15802
15802
|
}
|
|
15803
15803
|
});
|
|
15804
15804
|
|
|
15805
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
15805
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/ccip.js
|
|
15806
15806
|
var ccip_exports = {};
|
|
15807
15807
|
__export(ccip_exports, {
|
|
15808
15808
|
ccipRequest: () => ccipRequest,
|
|
@@ -15907,7 +15907,7 @@ async function ccipRequest({ data, requestOptions, sender, urls }) {
|
|
|
15907
15907
|
}
|
|
15908
15908
|
var offchainLookupSignature, offchainLookupAbiItem;
|
|
15909
15909
|
var init_ccip2 = __esm({
|
|
15910
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
15910
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/ccip.js"() {
|
|
15911
15911
|
init_call();
|
|
15912
15912
|
init_ccip();
|
|
15913
15913
|
init_request();
|
|
@@ -15949,7 +15949,7 @@ var init_ccip2 = __esm({
|
|
|
15949
15949
|
}
|
|
15950
15950
|
});
|
|
15951
15951
|
|
|
15952
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
15952
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/call.js
|
|
15953
15953
|
async function call(client, args) {
|
|
15954
15954
|
const { account: account_ = client.account, authorizationList, batch = Boolean(client.batch?.multicall), blockHash, blockNumber, blockTag = client.experimental_blockTag ?? "latest", requireCanonical, accessList, blobs, blockOverrides, code, data: data_, factory, factoryData, gas, gasPrice, maxFeePerBlobGas, maxFeePerGas, maxPriorityFeePerGas, nonce, requestOptions, to, value, stateOverride, ...rest } = args;
|
|
15955
15955
|
const account = account_ ? parseAccount(account_) : void 0;
|
|
@@ -16190,7 +16190,7 @@ function getRevertErrorData(err) {
|
|
|
16190
16190
|
}
|
|
16191
16191
|
var requestOptionsId, requestOptionsIds;
|
|
16192
16192
|
var init_call = __esm({
|
|
16193
|
-
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
16193
|
+
"../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/call.js"() {
|
|
16194
16194
|
init_exports();
|
|
16195
16195
|
init_BlockOverrides();
|
|
16196
16196
|
init_parseAccount();
|
|
@@ -27352,12 +27352,12 @@ var CELO_CHAIN_ID = 42220;
|
|
|
27352
27352
|
var G_DOLLAR_DECIMALS = 18;
|
|
27353
27353
|
|
|
27354
27354
|
// ../shared/dist/errors.js
|
|
27355
|
-
var
|
|
27355
|
+
var AgentIdError = class extends Error {
|
|
27356
27356
|
code;
|
|
27357
27357
|
constructor(message, code) {
|
|
27358
27358
|
super(message);
|
|
27359
27359
|
this.code = code;
|
|
27360
|
-
this.name = "
|
|
27360
|
+
this.name = "AgentIdError";
|
|
27361
27361
|
}
|
|
27362
27362
|
};
|
|
27363
27363
|
var ErrorCodes = {
|
|
@@ -27377,16 +27377,6 @@ var healthResponseSchema = external_exports.object({
|
|
|
27377
27377
|
service: external_exports.string(),
|
|
27378
27378
|
version: external_exports.string()
|
|
27379
27379
|
});
|
|
27380
|
-
var chatMessageSchema = external_exports.object({
|
|
27381
|
-
role: external_exports.enum(["user", "assistant"]),
|
|
27382
|
-
content: external_exports.string().min(1).max(4e3)
|
|
27383
|
-
});
|
|
27384
|
-
var chatRequestSchema = external_exports.object({
|
|
27385
|
-
/** Full conversation so far; the last message should be from the user. */
|
|
27386
|
-
messages: external_exports.array(chatMessageSchema).min(1).max(30),
|
|
27387
|
-
/** Connected wallet, used as default context for on-chain tool calls. */
|
|
27388
|
-
wallet: addressSchema.optional()
|
|
27389
|
-
});
|
|
27390
27380
|
var numericStringSchema = external_exports.string().regex(/^\d+$/, "Must be a non-negative integer string");
|
|
27391
27381
|
var hexSignatureSchema = external_exports.string().regex(/^0x[a-fA-F0-9]+$/, "Invalid hex signature");
|
|
27392
27382
|
var agentIdFieldsSchema = external_exports.object({
|
|
@@ -27418,7 +27408,10 @@ var CFA_FORWARDER_ADDRESS = {
|
|
|
27418
27408
|
[CELO_CHAIN_ID]: "0xcfA132E353cB4E398080B9700609bb008eceB125"
|
|
27419
27409
|
};
|
|
27420
27410
|
var AGENT_VAULT_ADDRESS = {
|
|
27421
|
-
[CELO_CHAIN_ID]: "
|
|
27411
|
+
[CELO_CHAIN_ID]: "0x0409042B55e99Df8c0Feb7525A770838f3A47090"
|
|
27412
|
+
};
|
|
27413
|
+
var GOODDOLLAR_PROOF_PROVIDER_ADDRESS = {
|
|
27414
|
+
[CELO_CHAIN_ID]: "0x80c4de6872049cb20989156bca50134c781f48c9"
|
|
27422
27415
|
};
|
|
27423
27416
|
var ERC8004_IDENTITY_REGISTRY = {
|
|
27424
27417
|
[CELO_CHAIN_ID]: "0x8004A169FB4a3325136EB29fA0ceB6D2e539a432"
|
|
@@ -27430,7 +27423,7 @@ function getRpcUrl() {
|
|
|
27430
27423
|
return process.env.CELO_RPC_URL ?? "https://forno.celo.org";
|
|
27431
27424
|
}
|
|
27432
27425
|
|
|
27433
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
27426
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/getAction.js
|
|
27434
27427
|
function getAction(client, actionFn, name) {
|
|
27435
27428
|
const action_implicit = client[actionFn.name];
|
|
27436
27429
|
if (typeof action_implicit === "function")
|
|
@@ -27441,10 +27434,10 @@ function getAction(client, actionFn, name) {
|
|
|
27441
27434
|
return (params) => actionFn(client, params);
|
|
27442
27435
|
}
|
|
27443
27436
|
|
|
27444
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
27437
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/abi/encodeEventTopics.js
|
|
27445
27438
|
init_abi();
|
|
27446
27439
|
|
|
27447
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
27440
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/log.js
|
|
27448
27441
|
init_base();
|
|
27449
27442
|
var FilterTypeNotSupportedError = class extends BaseError2 {
|
|
27450
27443
|
constructor(type) {
|
|
@@ -27454,7 +27447,7 @@ var FilterTypeNotSupportedError = class extends BaseError2 {
|
|
|
27454
27447
|
}
|
|
27455
27448
|
};
|
|
27456
27449
|
|
|
27457
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
27450
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/abi/encodeEventTopics.js
|
|
27458
27451
|
init_toBytes();
|
|
27459
27452
|
init_keccak256();
|
|
27460
27453
|
init_toEventSelector();
|
|
@@ -27499,10 +27492,10 @@ function encodeArg({ param, value }) {
|
|
|
27499
27492
|
return encodeAbiParameters([param], [value]);
|
|
27500
27493
|
}
|
|
27501
27494
|
|
|
27502
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
27495
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/createContractEventFilter.js
|
|
27503
27496
|
init_toHex();
|
|
27504
27497
|
|
|
27505
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
27498
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/filters/createFilterRequestScope.js
|
|
27506
27499
|
function createFilterRequestScope(client, { method }) {
|
|
27507
27500
|
const requestMap = {};
|
|
27508
27501
|
if (client.transport.type === "fallback")
|
|
@@ -27513,7 +27506,7 @@ function createFilterRequestScope(client, { method }) {
|
|
|
27513
27506
|
return (id) => requestMap[id] || client.request;
|
|
27514
27507
|
}
|
|
27515
27508
|
|
|
27516
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
27509
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/createContractEventFilter.js
|
|
27517
27510
|
async function createContractEventFilter(client, parameters) {
|
|
27518
27511
|
const { address, abi: abi2, args, eventName, fromBlock, strict, toBlock } = parameters;
|
|
27519
27512
|
const getRequest = createFilterRequestScope(client, {
|
|
@@ -27546,11 +27539,11 @@ async function createContractEventFilter(client, parameters) {
|
|
|
27546
27539
|
};
|
|
27547
27540
|
}
|
|
27548
27541
|
|
|
27549
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
27542
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/estimateContractGas.js
|
|
27550
27543
|
init_parseAccount();
|
|
27551
27544
|
init_encodeFunctionData();
|
|
27552
27545
|
|
|
27553
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
27546
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/errors/getContractError.js
|
|
27554
27547
|
init_abi();
|
|
27555
27548
|
init_base();
|
|
27556
27549
|
init_contract();
|
|
@@ -27584,11 +27577,11 @@ function getContractError(err, { abi: abi2, address, args, docsPath: docsPath8,
|
|
|
27584
27577
|
});
|
|
27585
27578
|
}
|
|
27586
27579
|
|
|
27587
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
27580
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/estimateGas.js
|
|
27588
27581
|
init_parseAccount();
|
|
27589
27582
|
init_base();
|
|
27590
27583
|
|
|
27591
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
27584
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/accounts/utils/publicKeyToAddress.js
|
|
27592
27585
|
init_getAddress();
|
|
27593
27586
|
init_keccak256();
|
|
27594
27587
|
function publicKeyToAddress(publicKey) {
|
|
@@ -27596,7 +27589,7 @@ function publicKeyToAddress(publicKey) {
|
|
|
27596
27589
|
return checksumAddress(`0x${address}`);
|
|
27597
27590
|
}
|
|
27598
27591
|
|
|
27599
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
27592
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/signature/recoverPublicKey.js
|
|
27600
27593
|
init_isHex();
|
|
27601
27594
|
init_size();
|
|
27602
27595
|
init_fromHex();
|
|
@@ -27631,17 +27624,17 @@ function toRecoveryBit(yParityOrV) {
|
|
|
27631
27624
|
throw new Error("Invalid yParityOrV value");
|
|
27632
27625
|
}
|
|
27633
27626
|
|
|
27634
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
27627
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/signature/recoverAddress.js
|
|
27635
27628
|
async function recoverAddress({ hash: hash3, signature }) {
|
|
27636
27629
|
return publicKeyToAddress(await recoverPublicKey({ hash: hash3, signature }));
|
|
27637
27630
|
}
|
|
27638
27631
|
|
|
27639
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
27632
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/authorization/hashAuthorization.js
|
|
27640
27633
|
init_concat();
|
|
27641
27634
|
init_toBytes();
|
|
27642
27635
|
init_toHex();
|
|
27643
27636
|
|
|
27644
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
27637
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/encoding/toRlp.js
|
|
27645
27638
|
init_base();
|
|
27646
27639
|
init_cursor2();
|
|
27647
27640
|
init_toBytes();
|
|
@@ -27734,7 +27727,7 @@ function getSizeOfLength(length) {
|
|
|
27734
27727
|
throw new BaseError2("Length is too large.");
|
|
27735
27728
|
}
|
|
27736
27729
|
|
|
27737
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
27730
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/authorization/hashAuthorization.js
|
|
27738
27731
|
init_keccak256();
|
|
27739
27732
|
function hashAuthorization(parameters) {
|
|
27740
27733
|
const { chainId, nonce, to } = parameters;
|
|
@@ -27752,7 +27745,7 @@ function hashAuthorization(parameters) {
|
|
|
27752
27745
|
return hash3;
|
|
27753
27746
|
}
|
|
27754
27747
|
|
|
27755
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
27748
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/authorization/recoverAuthorizationAddress.js
|
|
27756
27749
|
async function recoverAuthorizationAddress(parameters) {
|
|
27757
27750
|
const { authorization, signature } = parameters;
|
|
27758
27751
|
return recoverAddress({
|
|
@@ -27761,10 +27754,10 @@ async function recoverAuthorizationAddress(parameters) {
|
|
|
27761
27754
|
});
|
|
27762
27755
|
}
|
|
27763
27756
|
|
|
27764
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
27757
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/estimateGas.js
|
|
27765
27758
|
init_toHex();
|
|
27766
27759
|
|
|
27767
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
27760
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/estimateGas.js
|
|
27768
27761
|
init_formatEther();
|
|
27769
27762
|
init_formatGwei();
|
|
27770
27763
|
init_base();
|
|
@@ -27802,7 +27795,7 @@ var EstimateGasExecutionError = class extends BaseError2 {
|
|
|
27802
27795
|
}
|
|
27803
27796
|
};
|
|
27804
27797
|
|
|
27805
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
27798
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/errors/getEstimateGasError.js
|
|
27806
27799
|
init_node();
|
|
27807
27800
|
init_getNodeError();
|
|
27808
27801
|
function getEstimateGasError(err, { docsPath: docsPath8, ...args }) {
|
|
@@ -27818,16 +27811,16 @@ function getEstimateGasError(err, { docsPath: docsPath8, ...args }) {
|
|
|
27818
27811
|
});
|
|
27819
27812
|
}
|
|
27820
27813
|
|
|
27821
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
27814
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/estimateGas.js
|
|
27822
27815
|
init_extract();
|
|
27823
27816
|
init_transactionRequest();
|
|
27824
27817
|
init_stateOverride2();
|
|
27825
27818
|
init_assertRequest();
|
|
27826
27819
|
|
|
27827
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
27820
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/wallet/prepareTransactionRequest.js
|
|
27828
27821
|
init_parseAccount();
|
|
27829
27822
|
|
|
27830
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
27823
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/fee.js
|
|
27831
27824
|
init_formatGwei();
|
|
27832
27825
|
init_base();
|
|
27833
27826
|
var BaseFeeScalarError = class extends BaseError2 {
|
|
@@ -27850,10 +27843,10 @@ var MaxFeePerGasTooLowError = class extends BaseError2 {
|
|
|
27850
27843
|
}
|
|
27851
27844
|
};
|
|
27852
27845
|
|
|
27853
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
27846
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/estimateMaxPriorityFeePerGas.js
|
|
27854
27847
|
init_fromHex();
|
|
27855
27848
|
|
|
27856
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
27849
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/block.js
|
|
27857
27850
|
init_base();
|
|
27858
27851
|
var BlockNotFoundError = class extends BaseError2 {
|
|
27859
27852
|
constructor({ blockHash, blockNumber }) {
|
|
@@ -27866,13 +27859,13 @@ var BlockNotFoundError = class extends BaseError2 {
|
|
|
27866
27859
|
}
|
|
27867
27860
|
};
|
|
27868
27861
|
|
|
27869
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
27862
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/getBlock.js
|
|
27870
27863
|
init_toHex();
|
|
27871
27864
|
|
|
27872
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
27865
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/formatters/block.js
|
|
27873
27866
|
init_formatter();
|
|
27874
27867
|
|
|
27875
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
27868
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/formatters/transaction.js
|
|
27876
27869
|
init_fromHex();
|
|
27877
27870
|
init_formatter();
|
|
27878
27871
|
var transactionType = {
|
|
@@ -27947,7 +27940,7 @@ function formatAuthorizationList2(authorizationList) {
|
|
|
27947
27940
|
}));
|
|
27948
27941
|
}
|
|
27949
27942
|
|
|
27950
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
27943
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/formatters/block.js
|
|
27951
27944
|
function formatBlock(block, _) {
|
|
27952
27945
|
const transactions = (block.transactions ?? []).map((transaction) => {
|
|
27953
27946
|
if (typeof transaction === "string")
|
|
@@ -27974,7 +27967,7 @@ function formatBlock(block, _) {
|
|
|
27974
27967
|
}
|
|
27975
27968
|
var defineBlock = /* @__PURE__ */ defineFormatter("block", formatBlock);
|
|
27976
27969
|
|
|
27977
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
27970
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/getBlock.js
|
|
27978
27971
|
async function getBlock(client, { blockHash, blockNumber, blockTag = client.experimental_blockTag ?? "latest", includeTransactions: includeTransactions_ } = {}) {
|
|
27979
27972
|
const includeTransactions = includeTransactions_ ?? false;
|
|
27980
27973
|
const blockNumberHex = blockNumber !== void 0 ? numberToHex(blockNumber) : void 0;
|
|
@@ -27996,7 +27989,7 @@ async function getBlock(client, { blockHash, blockNumber, blockTag = client.expe
|
|
|
27996
27989
|
return format(block, "getBlock");
|
|
27997
27990
|
}
|
|
27998
27991
|
|
|
27999
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
27992
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/getGasPrice.js
|
|
28000
27993
|
async function getGasPrice(client) {
|
|
28001
27994
|
const gasPrice = await client.request({
|
|
28002
27995
|
method: "eth_gasPrice"
|
|
@@ -28004,7 +27997,7 @@ async function getGasPrice(client) {
|
|
|
28004
27997
|
return BigInt(gasPrice);
|
|
28005
27998
|
}
|
|
28006
27999
|
|
|
28007
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
28000
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/estimateMaxPriorityFeePerGas.js
|
|
28008
28001
|
async function estimateMaxPriorityFeePerGas(client, args) {
|
|
28009
28002
|
return internal_estimateMaxPriorityFeePerGas(client, args);
|
|
28010
28003
|
}
|
|
@@ -28043,7 +28036,7 @@ async function internal_estimateMaxPriorityFeePerGas(client, args) {
|
|
|
28043
28036
|
}
|
|
28044
28037
|
}
|
|
28045
28038
|
|
|
28046
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
28039
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/estimateFeesPerGas.js
|
|
28047
28040
|
async function estimateFeesPerGas(client, args) {
|
|
28048
28041
|
return internal_estimateFeesPerGas(client, args);
|
|
28049
28042
|
}
|
|
@@ -28096,7 +28089,7 @@ async function internal_estimateFeesPerGas(client, args) {
|
|
|
28096
28089
|
};
|
|
28097
28090
|
}
|
|
28098
28091
|
|
|
28099
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
28092
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/getTransactionCount.js
|
|
28100
28093
|
init_formatBlockParameter();
|
|
28101
28094
|
init_fromHex();
|
|
28102
28095
|
async function getTransactionCount(client, { address, blockHash, blockNumber, blockTag = "latest", requireCanonical }) {
|
|
@@ -28115,7 +28108,7 @@ async function getTransactionCount(client, { address, blockHash, blockNumber, bl
|
|
|
28115
28108
|
return hexToNumber(count);
|
|
28116
28109
|
}
|
|
28117
28110
|
|
|
28118
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
28111
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/blob/blobsToCommitments.js
|
|
28119
28112
|
init_toBytes();
|
|
28120
28113
|
init_toHex();
|
|
28121
28114
|
function blobsToCommitments(parameters) {
|
|
@@ -28128,7 +28121,7 @@ function blobsToCommitments(parameters) {
|
|
|
28128
28121
|
return to === "bytes" ? commitments : commitments.map((x) => bytesToHex(x));
|
|
28129
28122
|
}
|
|
28130
28123
|
|
|
28131
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
28124
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/blob/blobsToProofs.js
|
|
28132
28125
|
init_toBytes();
|
|
28133
28126
|
init_toHex();
|
|
28134
28127
|
function blobsToProofs(parameters) {
|
|
@@ -28145,14 +28138,14 @@ function blobsToProofs(parameters) {
|
|
|
28145
28138
|
return to === "bytes" ? proofs : proofs.map((x) => bytesToHex(x));
|
|
28146
28139
|
}
|
|
28147
28140
|
|
|
28148
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
28141
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/blob/commitmentToVersionedHash.js
|
|
28149
28142
|
init_toHex();
|
|
28150
28143
|
|
|
28151
28144
|
// ../../node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/sha256.js
|
|
28152
28145
|
init_sha2();
|
|
28153
28146
|
var sha2562 = sha256;
|
|
28154
28147
|
|
|
28155
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
28148
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/hash/sha256.js
|
|
28156
28149
|
init_isHex();
|
|
28157
28150
|
init_toBytes();
|
|
28158
28151
|
init_toHex();
|
|
@@ -28164,7 +28157,7 @@ function sha2563(value, to_) {
|
|
|
28164
28157
|
return toHex(bytes);
|
|
28165
28158
|
}
|
|
28166
28159
|
|
|
28167
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
28160
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/blob/commitmentToVersionedHash.js
|
|
28168
28161
|
function commitmentToVersionedHash(parameters) {
|
|
28169
28162
|
const { commitment, version: version6 = 1 } = parameters;
|
|
28170
28163
|
const to = parameters.to ?? (typeof commitment === "string" ? "hex" : "bytes");
|
|
@@ -28173,7 +28166,7 @@ function commitmentToVersionedHash(parameters) {
|
|
|
28173
28166
|
return to === "bytes" ? versionedHash : bytesToHex(versionedHash);
|
|
28174
28167
|
}
|
|
28175
28168
|
|
|
28176
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
28169
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/blob/commitmentsToVersionedHashes.js
|
|
28177
28170
|
function commitmentsToVersionedHashes(parameters) {
|
|
28178
28171
|
const { commitments, version: version6 } = parameters;
|
|
28179
28172
|
const to = parameters.to ?? (typeof commitments[0] === "string" ? "hex" : "bytes");
|
|
@@ -28188,7 +28181,7 @@ function commitmentsToVersionedHashes(parameters) {
|
|
|
28188
28181
|
return hashes;
|
|
28189
28182
|
}
|
|
28190
28183
|
|
|
28191
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
28184
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/constants/blob.js
|
|
28192
28185
|
var blobsPerTransaction = 6;
|
|
28193
28186
|
var bytesPerFieldElement = 32;
|
|
28194
28187
|
var fieldElementsPerBlob = 4096;
|
|
@@ -28197,10 +28190,10 @@ var maxBytesPerTransaction = bytesPerBlob * blobsPerTransaction - // terminator
|
|
|
28197
28190
|
1 - // zero byte (0x00) appended to each field element.
|
|
28198
28191
|
1 * fieldElementsPerBlob * blobsPerTransaction;
|
|
28199
28192
|
|
|
28200
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
28193
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/constants/kzg.js
|
|
28201
28194
|
var versionedHashVersionKzg = 1;
|
|
28202
28195
|
|
|
28203
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
28196
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/blob.js
|
|
28204
28197
|
init_base();
|
|
28205
28198
|
var BlobSizeTooLargeError = class extends BaseError2 {
|
|
28206
28199
|
constructor({ maxSize, size: size5 }) {
|
|
@@ -28235,7 +28228,7 @@ var InvalidVersionedHashVersionError = class extends BaseError2 {
|
|
|
28235
28228
|
}
|
|
28236
28229
|
};
|
|
28237
28230
|
|
|
28238
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
28231
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/blob/toBlobs.js
|
|
28239
28232
|
init_cursor2();
|
|
28240
28233
|
init_size();
|
|
28241
28234
|
init_toBytes();
|
|
@@ -28274,7 +28267,7 @@ function toBlobs(parameters) {
|
|
|
28274
28267
|
return to === "bytes" ? blobs.map((x) => x.bytes) : blobs.map((x) => bytesToHex(x.bytes));
|
|
28275
28268
|
}
|
|
28276
28269
|
|
|
28277
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
28270
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/blob/toBlobSidecars.js
|
|
28278
28271
|
function toBlobSidecars(parameters) {
|
|
28279
28272
|
const { data, kzg, to } = parameters;
|
|
28280
28273
|
const blobs = parameters.blobs ?? toBlobs({ data, to });
|
|
@@ -28290,11 +28283,11 @@ function toBlobSidecars(parameters) {
|
|
|
28290
28283
|
return sidecars;
|
|
28291
28284
|
}
|
|
28292
28285
|
|
|
28293
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
28286
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/wallet/prepareTransactionRequest.js
|
|
28294
28287
|
init_lru();
|
|
28295
28288
|
init_assertRequest();
|
|
28296
28289
|
|
|
28297
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
28290
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/transaction/getTransactionType.js
|
|
28298
28291
|
init_transaction();
|
|
28299
28292
|
function getTransactionType(transaction) {
|
|
28300
28293
|
if (transaction.type)
|
|
@@ -28314,10 +28307,10 @@ function getTransactionType(transaction) {
|
|
|
28314
28307
|
throw new InvalidSerializableTransactionError({ transaction });
|
|
28315
28308
|
}
|
|
28316
28309
|
|
|
28317
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
28310
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/fillTransaction.js
|
|
28318
28311
|
init_parseAccount();
|
|
28319
28312
|
|
|
28320
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
28313
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/errors/getTransactionError.js
|
|
28321
28314
|
init_node();
|
|
28322
28315
|
init_transaction();
|
|
28323
28316
|
init_getNodeError();
|
|
@@ -28334,12 +28327,12 @@ function getTransactionError(err, { docsPath: docsPath8, ...args }) {
|
|
|
28334
28327
|
});
|
|
28335
28328
|
}
|
|
28336
28329
|
|
|
28337
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
28330
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/fillTransaction.js
|
|
28338
28331
|
init_extract();
|
|
28339
28332
|
init_transactionRequest();
|
|
28340
28333
|
init_assertRequest();
|
|
28341
28334
|
|
|
28342
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
28335
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/getChainId.js
|
|
28343
28336
|
init_fromHex();
|
|
28344
28337
|
async function getChainId(client) {
|
|
28345
28338
|
const chainIdHex = await client.request({
|
|
@@ -28348,7 +28341,7 @@ async function getChainId(client) {
|
|
|
28348
28341
|
return hexToNumber(chainIdHex);
|
|
28349
28342
|
}
|
|
28350
28343
|
|
|
28351
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
28344
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/fillTransaction.js
|
|
28352
28345
|
async function fillTransaction(client, parameters) {
|
|
28353
28346
|
const { account = client.account, accessList, authorizationList, chain = client.chain, blobVersionedHashes, blobs, data, gas, gasPrice, maxFeePerBlobGas, maxFeePerGas, maxPriorityFeePerGas, nonce: nonce_, nonceManager, to, type, value, ...rest } = parameters;
|
|
28354
28347
|
const nonce = await (async () => {
|
|
@@ -28453,7 +28446,7 @@ async function fillTransaction(client, parameters) {
|
|
|
28453
28446
|
}
|
|
28454
28447
|
}
|
|
28455
28448
|
|
|
28456
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
28449
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/wallet/prepareTransactionRequest.js
|
|
28457
28450
|
var defaultParameters = [
|
|
28458
28451
|
"blobVersionedHashes",
|
|
28459
28452
|
"chainId",
|
|
@@ -28674,7 +28667,7 @@ async function prepareTransactionRequest(client, args) {
|
|
|
28674
28667
|
return request;
|
|
28675
28668
|
}
|
|
28676
28669
|
|
|
28677
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
28670
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/estimateGas.js
|
|
28678
28671
|
async function estimateGas(client, args) {
|
|
28679
28672
|
const { account: account_ = client.account, prepare = true } = args;
|
|
28680
28673
|
const account = account_ ? parseAccount(account_) : void 0;
|
|
@@ -28744,7 +28737,7 @@ async function estimateGas(client, args) {
|
|
|
28744
28737
|
}
|
|
28745
28738
|
}
|
|
28746
28739
|
|
|
28747
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
28740
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/estimateContractGas.js
|
|
28748
28741
|
async function estimateContractGas(client, parameters) {
|
|
28749
28742
|
const { abi: abi2, address, args, functionName, dataSuffix = typeof client.dataSuffix === "string" ? client.dataSuffix : client.dataSuffix?.value, ...request } = parameters;
|
|
28750
28743
|
const data = encodeFunctionData({
|
|
@@ -28772,14 +28765,14 @@ async function estimateContractGas(client, parameters) {
|
|
|
28772
28765
|
}
|
|
28773
28766
|
}
|
|
28774
28767
|
|
|
28775
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
28768
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/getContractEvents.js
|
|
28776
28769
|
init_getAbiItem();
|
|
28777
28770
|
|
|
28778
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
28771
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/abi/parseEventLogs.js
|
|
28779
28772
|
init_isAddressEqual();
|
|
28780
28773
|
init_toBytes();
|
|
28781
28774
|
|
|
28782
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
28775
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/formatters/log.js
|
|
28783
28776
|
function formatLog(log, { args, eventName } = {}) {
|
|
28784
28777
|
return {
|
|
28785
28778
|
...log,
|
|
@@ -28793,11 +28786,11 @@ function formatLog(log, { args, eventName } = {}) {
|
|
|
28793
28786
|
};
|
|
28794
28787
|
}
|
|
28795
28788
|
|
|
28796
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
28789
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/abi/parseEventLogs.js
|
|
28797
28790
|
init_keccak256();
|
|
28798
28791
|
init_toEventSelector();
|
|
28799
28792
|
|
|
28800
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
28793
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/abi/decodeEventLog.js
|
|
28801
28794
|
init_abi();
|
|
28802
28795
|
init_cursor();
|
|
28803
28796
|
init_size();
|
|
@@ -28890,7 +28883,7 @@ function decodeTopic({ param, value }) {
|
|
|
28890
28883
|
return decodedArg[0];
|
|
28891
28884
|
}
|
|
28892
28885
|
|
|
28893
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
28886
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/abi/parseEventLogs.js
|
|
28894
28887
|
function parseEventLogs(parameters) {
|
|
28895
28888
|
const { abi: abi2, args, logs, strict = true } = parameters;
|
|
28896
28889
|
const eventName = (() => {
|
|
@@ -28995,7 +28988,7 @@ function includesArgs(parameters) {
|
|
|
28995
28988
|
return false;
|
|
28996
28989
|
}
|
|
28997
28990
|
|
|
28998
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
28991
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/getLogs.js
|
|
28999
28992
|
init_toHex();
|
|
29000
28993
|
async function getLogs(client, { address, blockHash, fromBlock, toBlock, event, events: events_, args, strict: strict_ } = {}) {
|
|
29001
28994
|
const strict = strict_ ?? false;
|
|
@@ -29041,7 +29034,7 @@ async function getLogs(client, { address, blockHash, fromBlock, toBlock, event,
|
|
|
29041
29034
|
});
|
|
29042
29035
|
}
|
|
29043
29036
|
|
|
29044
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
29037
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/getContractEvents.js
|
|
29045
29038
|
async function getContractEvents(client, parameters) {
|
|
29046
29039
|
const { abi: abi2, address, args, blockHash, eventName, fromBlock, toBlock, strict } = parameters;
|
|
29047
29040
|
const event = eventName ? getAbiItem({ abi: abi2, name: eventName }) : void 0;
|
|
@@ -29058,7 +29051,7 @@ async function getContractEvents(client, parameters) {
|
|
|
29058
29051
|
});
|
|
29059
29052
|
}
|
|
29060
29053
|
|
|
29061
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
29054
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/readContract.js
|
|
29062
29055
|
init_decodeFunctionResult();
|
|
29063
29056
|
init_encodeFunctionData();
|
|
29064
29057
|
init_call();
|
|
@@ -29092,7 +29085,7 @@ async function readContract(client, parameters) {
|
|
|
29092
29085
|
}
|
|
29093
29086
|
}
|
|
29094
29087
|
|
|
29095
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
29088
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/simulateContract.js
|
|
29096
29089
|
init_parseAccount();
|
|
29097
29090
|
init_decodeFunctionResult();
|
|
29098
29091
|
init_encodeFunctionData();
|
|
@@ -29140,11 +29133,11 @@ async function simulateContract(client, parameters) {
|
|
|
29140
29133
|
}
|
|
29141
29134
|
}
|
|
29142
29135
|
|
|
29143
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
29136
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/watchContractEvent.js
|
|
29144
29137
|
init_abi();
|
|
29145
29138
|
init_rpc();
|
|
29146
29139
|
|
|
29147
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
29140
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/observe.js
|
|
29148
29141
|
var listenersCache = /* @__PURE__ */ new Map();
|
|
29149
29142
|
var cleanupCache = /* @__PURE__ */ new Map();
|
|
29150
29143
|
var callbackCount = 0;
|
|
@@ -29197,7 +29190,7 @@ function observe(observerId, callbacks, fn) {
|
|
|
29197
29190
|
return unwatch;
|
|
29198
29191
|
}
|
|
29199
29192
|
|
|
29200
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
29193
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/wait.js
|
|
29201
29194
|
init_utils3();
|
|
29202
29195
|
async function wait(time3, { signal } = {}) {
|
|
29203
29196
|
return new Promise((resolve, reject) => {
|
|
@@ -29219,7 +29212,7 @@ async function wait(time3, { signal } = {}) {
|
|
|
29219
29212
|
});
|
|
29220
29213
|
}
|
|
29221
29214
|
|
|
29222
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
29215
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/poll.js
|
|
29223
29216
|
function poll(fn, { emitOnBegin, initialWaitTime, interval }) {
|
|
29224
29217
|
let active = true;
|
|
29225
29218
|
const unwatch = () => active = false;
|
|
@@ -29242,10 +29235,10 @@ function poll(fn, { emitOnBegin, initialWaitTime, interval }) {
|
|
|
29242
29235
|
return unwatch;
|
|
29243
29236
|
}
|
|
29244
29237
|
|
|
29245
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
29238
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/watchContractEvent.js
|
|
29246
29239
|
init_stringify();
|
|
29247
29240
|
|
|
29248
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
29241
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/promise/withCache.js
|
|
29249
29242
|
var promiseCache = /* @__PURE__ */ new Map();
|
|
29250
29243
|
var responseCache = /* @__PURE__ */ new Map();
|
|
29251
29244
|
function getCache(cacheKey2) {
|
|
@@ -29287,7 +29280,7 @@ async function withCache(fn, { cacheKey: cacheKey2, cacheTime = Number.POSITIVE_
|
|
|
29287
29280
|
}
|
|
29288
29281
|
}
|
|
29289
29282
|
|
|
29290
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
29283
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/getBlockNumber.js
|
|
29291
29284
|
var cacheKey = (id) => `blockNumber.${id}`;
|
|
29292
29285
|
async function getBlockNumber(client, { cacheTime = client.cacheTime } = {}) {
|
|
29293
29286
|
const blockNumberHex = await withCache(() => client.request({
|
|
@@ -29296,7 +29289,7 @@ async function getBlockNumber(client, { cacheTime = client.cacheTime } = {}) {
|
|
|
29296
29289
|
return BigInt(blockNumberHex);
|
|
29297
29290
|
}
|
|
29298
29291
|
|
|
29299
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
29292
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/getFilterChanges.js
|
|
29300
29293
|
async function getFilterChanges(_client, { filter }) {
|
|
29301
29294
|
const strict = "strict" in filter && filter.strict;
|
|
29302
29295
|
const logs = await filter.request({
|
|
@@ -29315,7 +29308,7 @@ async function getFilterChanges(_client, { filter }) {
|
|
|
29315
29308
|
});
|
|
29316
29309
|
}
|
|
29317
29310
|
|
|
29318
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
29311
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/uninstallFilter.js
|
|
29319
29312
|
async function uninstallFilter(_client, { filter }) {
|
|
29320
29313
|
return filter.request({
|
|
29321
29314
|
method: "eth_uninstallFilter",
|
|
@@ -29323,7 +29316,7 @@ async function uninstallFilter(_client, { filter }) {
|
|
|
29323
29316
|
});
|
|
29324
29317
|
}
|
|
29325
29318
|
|
|
29326
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
29319
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/watchContractEvent.js
|
|
29327
29320
|
function watchContractEvent(client, parameters) {
|
|
29328
29321
|
const { abi: abi2, address, args, batch = true, eventName, fromBlock, onError, onLogs, poll: poll_, pollingInterval = client.pollingInterval, strict: strict_ } = parameters;
|
|
29329
29322
|
const enablePolling = (() => {
|
|
@@ -29499,7 +29492,7 @@ function watchContractEvent(client, parameters) {
|
|
|
29499
29492
|
return enablePolling ? pollContractEvent() : subscribeContractEvent();
|
|
29500
29493
|
}
|
|
29501
29494
|
|
|
29502
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
29495
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/wallet/sendRawTransaction.js
|
|
29503
29496
|
async function sendRawTransaction(client, { serializedTransaction }) {
|
|
29504
29497
|
return client.request({
|
|
29505
29498
|
method: "eth_sendRawTransaction",
|
|
@@ -29507,7 +29500,7 @@ async function sendRawTransaction(client, { serializedTransaction }) {
|
|
|
29507
29500
|
}, { retryCount: 0 });
|
|
29508
29501
|
}
|
|
29509
29502
|
|
|
29510
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
29503
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/promise/withRetry.js
|
|
29511
29504
|
init_utils3();
|
|
29512
29505
|
function withRetry(fn, { delay: delay_ = 100, retryCount = 2, shouldRetry: shouldRetry2 = () => true, signal } = {}) {
|
|
29513
29506
|
return new Promise((resolve, reject) => {
|
|
@@ -29549,7 +29542,7 @@ function withRetry(fn, { delay: delay_ = 100, retryCount = 2, shouldRetry: shoul
|
|
|
29549
29542
|
});
|
|
29550
29543
|
}
|
|
29551
29544
|
|
|
29552
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
29545
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/formatters/transactionReceipt.js
|
|
29553
29546
|
init_fromHex();
|
|
29554
29547
|
var receiptStatuses = {
|
|
29555
29548
|
"0x0": "reverted",
|
|
@@ -29576,10 +29569,10 @@ function formatTransactionReceipt(transactionReceipt, _) {
|
|
|
29576
29569
|
return receipt;
|
|
29577
29570
|
}
|
|
29578
29571
|
|
|
29579
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
29572
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/clients/createClient.js
|
|
29580
29573
|
init_parseAccount();
|
|
29581
29574
|
|
|
29582
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
29575
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/uid.js
|
|
29583
29576
|
var size4 = 256;
|
|
29584
29577
|
var index = size4;
|
|
29585
29578
|
var buffer;
|
|
@@ -29594,7 +29587,7 @@ function uid(length = 11) {
|
|
|
29594
29587
|
return buffer.substring(index, index++ + length);
|
|
29595
29588
|
}
|
|
29596
29589
|
|
|
29597
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
29590
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/clients/createClient.js
|
|
29598
29591
|
function createClient(parameters) {
|
|
29599
29592
|
const { batch, chain, ccipRead, dataSuffix, key = "base", name = "Base Client", type = "base" } = parameters;
|
|
29600
29593
|
const experimental_blockTag = parameters.experimental_blockTag ?? (typeof chain?.experimental_preconfirmationTime === "number" ? "pending" : void 0);
|
|
@@ -29637,7 +29630,7 @@ function createClient(parameters) {
|
|
|
29637
29630
|
return Object.assign(client, { extend: extend2(client) });
|
|
29638
29631
|
}
|
|
29639
29632
|
|
|
29640
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
29633
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/ens/getEnsAddress.js
|
|
29641
29634
|
init_abis();
|
|
29642
29635
|
init_decodeFunctionResult();
|
|
29643
29636
|
init_encodeFunctionData();
|
|
@@ -29647,7 +29640,7 @@ init_size();
|
|
|
29647
29640
|
init_trim();
|
|
29648
29641
|
init_toHex();
|
|
29649
29642
|
|
|
29650
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
29643
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/ens/errors.js
|
|
29651
29644
|
init_base();
|
|
29652
29645
|
init_contract();
|
|
29653
29646
|
function isNullUniversalResolverError(err) {
|
|
@@ -29671,16 +29664,16 @@ function isNullUniversalResolverError(err) {
|
|
|
29671
29664
|
return false;
|
|
29672
29665
|
}
|
|
29673
29666
|
|
|
29674
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
29667
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/ens/getEnsAddress.js
|
|
29675
29668
|
init_localBatchGatewayRequest();
|
|
29676
29669
|
|
|
29677
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
29670
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/ens/namehash.js
|
|
29678
29671
|
init_concat();
|
|
29679
29672
|
init_toBytes();
|
|
29680
29673
|
init_toHex();
|
|
29681
29674
|
init_keccak256();
|
|
29682
29675
|
|
|
29683
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
29676
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/ens/encodedLabelToLabelhash.js
|
|
29684
29677
|
init_isHex();
|
|
29685
29678
|
function encodedLabelToLabelhash(label) {
|
|
29686
29679
|
if (label.length !== 66)
|
|
@@ -29695,7 +29688,7 @@ function encodedLabelToLabelhash(label) {
|
|
|
29695
29688
|
return hash3;
|
|
29696
29689
|
}
|
|
29697
29690
|
|
|
29698
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
29691
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/ens/namehash.js
|
|
29699
29692
|
function namehash(name) {
|
|
29700
29693
|
let result = new Uint8Array(32).fill(0);
|
|
29701
29694
|
if (!name)
|
|
@@ -29709,15 +29702,15 @@ function namehash(name) {
|
|
|
29709
29702
|
return bytesToHex(result);
|
|
29710
29703
|
}
|
|
29711
29704
|
|
|
29712
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
29705
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/ens/packetToBytes.js
|
|
29713
29706
|
init_toBytes();
|
|
29714
29707
|
|
|
29715
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
29708
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/ens/encodeLabelhash.js
|
|
29716
29709
|
function encodeLabelhash(hash3) {
|
|
29717
29710
|
return `[${hash3.slice(2)}]`;
|
|
29718
29711
|
}
|
|
29719
29712
|
|
|
29720
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
29713
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/ens/labelhash.js
|
|
29721
29714
|
init_toBytes();
|
|
29722
29715
|
init_toHex();
|
|
29723
29716
|
init_keccak256();
|
|
@@ -29728,7 +29721,7 @@ function labelhash(label) {
|
|
|
29728
29721
|
return encodedLabelToLabelhash(label) || keccak256(stringToBytes(label));
|
|
29729
29722
|
}
|
|
29730
29723
|
|
|
29731
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
29724
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/ens/packetToBytes.js
|
|
29732
29725
|
function packetToBytes(packet) {
|
|
29733
29726
|
const value = packet.replace(/^\.|\.$/gm, "");
|
|
29734
29727
|
if (value.length === 0)
|
|
@@ -29749,7 +29742,7 @@ function packetToBytes(packet) {
|
|
|
29749
29742
|
return bytes;
|
|
29750
29743
|
}
|
|
29751
29744
|
|
|
29752
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
29745
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/ens/getEnsAddress.js
|
|
29753
29746
|
async function getEnsAddress(client, parameters) {
|
|
29754
29747
|
const { blockNumber, blockTag, coinType, name, gatewayUrls, strict } = parameters;
|
|
29755
29748
|
const { chain } = client;
|
|
@@ -29826,7 +29819,7 @@ function decodeAddress2({ coinType, data, args }) {
|
|
|
29826
29819
|
}
|
|
29827
29820
|
}
|
|
29828
29821
|
|
|
29829
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
29822
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/ens.js
|
|
29830
29823
|
init_base();
|
|
29831
29824
|
var EnsAvatarInvalidMetadataError = class extends BaseError2 {
|
|
29832
29825
|
constructor({ data }) {
|
|
@@ -29858,7 +29851,7 @@ var EnsAvatarUnsupportedNamespaceError = class extends BaseError2 {
|
|
|
29858
29851
|
}
|
|
29859
29852
|
};
|
|
29860
29853
|
|
|
29861
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
29854
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/ens/avatar/utils.js
|
|
29862
29855
|
var networkRegex = /(?<protocol>https?:\/\/[^/]*|ipfs:\/|ipns:\/|ar:\/)?(?<root>\/)?(?<subpath>ipfs\/|ipns\/)?(?<target>[\w\-.]+)(?<subtarget>\/.*)?/;
|
|
29863
29856
|
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>\/.*)?$/;
|
|
29864
29857
|
var base64Regex2 = /^data:([a-zA-Z\-/+]*);base64,([^"].*)/;
|
|
@@ -30029,7 +30022,7 @@ async function getNftTokenUri(client, { nft }) {
|
|
|
30029
30022
|
throw new EnsAvatarUnsupportedNamespaceError({ namespace: nft.namespace });
|
|
30030
30023
|
}
|
|
30031
30024
|
|
|
30032
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
30025
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/ens/avatar/parseAvatarRecord.js
|
|
30033
30026
|
async function parseAvatarRecord(client, { gatewayUrls, record: record2 }) {
|
|
30034
30027
|
if (/eip155:/i.test(record2))
|
|
30035
30028
|
return parseNftAvatarUri(client, { gatewayUrls, record: record2 });
|
|
@@ -30059,7 +30052,7 @@ async function parseNftAvatarUri(client, { gatewayUrls, record: record2 }) {
|
|
|
30059
30052
|
});
|
|
30060
30053
|
}
|
|
30061
30054
|
|
|
30062
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
30055
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/ens/getEnsText.js
|
|
30063
30056
|
init_abis();
|
|
30064
30057
|
init_decodeFunctionResult();
|
|
30065
30058
|
init_encodeFunctionData();
|
|
@@ -30119,7 +30112,7 @@ async function getEnsText(client, parameters) {
|
|
|
30119
30112
|
}
|
|
30120
30113
|
}
|
|
30121
30114
|
|
|
30122
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
30115
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/ens/getEnsAvatar.js
|
|
30123
30116
|
async function getEnsAvatar(client, { blockNumber, blockTag, assetGatewayUrls, name, gatewayUrls, strict, universalResolverAddress }) {
|
|
30124
30117
|
const record2 = await getAction(client, getEnsText, "getEnsText")({
|
|
30125
30118
|
blockNumber,
|
|
@@ -30142,7 +30135,7 @@ async function getEnsAvatar(client, { blockNumber, blockTag, assetGatewayUrls, n
|
|
|
30142
30135
|
}
|
|
30143
30136
|
}
|
|
30144
30137
|
|
|
30145
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
30138
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/ens/getEnsName.js
|
|
30146
30139
|
init_abis();
|
|
30147
30140
|
init_getChainContractAddress();
|
|
30148
30141
|
init_localBatchGatewayRequest();
|
|
@@ -30181,7 +30174,7 @@ async function getEnsName(client, parameters) {
|
|
|
30181
30174
|
}
|
|
30182
30175
|
}
|
|
30183
30176
|
|
|
30184
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
30177
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/ens/getEnsResolver.js
|
|
30185
30178
|
init_getChainContractAddress();
|
|
30186
30179
|
init_toHex();
|
|
30187
30180
|
async function getEnsResolver(client, parameters) {
|
|
@@ -30224,10 +30217,10 @@ async function getEnsResolver(client, parameters) {
|
|
|
30224
30217
|
return resolverAddress;
|
|
30225
30218
|
}
|
|
30226
30219
|
|
|
30227
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
30220
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/clients/decorators/public.js
|
|
30228
30221
|
init_call();
|
|
30229
30222
|
|
|
30230
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
30223
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/createAccessList.js
|
|
30231
30224
|
init_parseAccount();
|
|
30232
30225
|
init_base();
|
|
30233
30226
|
init_toHex();
|
|
@@ -30277,7 +30270,7 @@ async function createAccessList(client, args) {
|
|
|
30277
30270
|
}
|
|
30278
30271
|
}
|
|
30279
30272
|
|
|
30280
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
30273
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/createBlockFilter.js
|
|
30281
30274
|
async function createBlockFilter(client) {
|
|
30282
30275
|
const getRequest = createFilterRequestScope(client, {
|
|
30283
30276
|
method: "eth_newBlockFilter"
|
|
@@ -30288,7 +30281,7 @@ async function createBlockFilter(client) {
|
|
|
30288
30281
|
return { id, request: getRequest(id), type: "block" };
|
|
30289
30282
|
}
|
|
30290
30283
|
|
|
30291
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
30284
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/createEventFilter.js
|
|
30292
30285
|
init_toHex();
|
|
30293
30286
|
async function createEventFilter(client, { address, args, event, events: events_, fromBlock, strict, toBlock } = {}) {
|
|
30294
30287
|
const events = events_ ?? (event ? [event] : void 0);
|
|
@@ -30330,7 +30323,7 @@ async function createEventFilter(client, { address, args, event, events: events_
|
|
|
30330
30323
|
};
|
|
30331
30324
|
}
|
|
30332
30325
|
|
|
30333
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
30326
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/createPendingTransactionFilter.js
|
|
30334
30327
|
async function createPendingTransactionFilter(client) {
|
|
30335
30328
|
const getRequest = createFilterRequestScope(client, {
|
|
30336
30329
|
method: "eth_newPendingTransactionFilter"
|
|
@@ -30341,7 +30334,7 @@ async function createPendingTransactionFilter(client) {
|
|
|
30341
30334
|
return { id, request: getRequest(id), type: "transaction" };
|
|
30342
30335
|
}
|
|
30343
30336
|
|
|
30344
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
30337
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/getBalance.js
|
|
30345
30338
|
init_abis();
|
|
30346
30339
|
init_decodeFunctionResult();
|
|
30347
30340
|
init_encodeFunctionData();
|
|
@@ -30383,7 +30376,7 @@ async function getBalance(client, { address, blockHash, blockNumber, blockTag =
|
|
|
30383
30376
|
return BigInt(balance);
|
|
30384
30377
|
}
|
|
30385
30378
|
|
|
30386
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
30379
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/getBlobBaseFee.js
|
|
30387
30380
|
async function getBlobBaseFee(client) {
|
|
30388
30381
|
const baseFee = await client.request({
|
|
30389
30382
|
method: "eth_blobBaseFee"
|
|
@@ -30391,7 +30384,7 @@ async function getBlobBaseFee(client) {
|
|
|
30391
30384
|
return BigInt(baseFee);
|
|
30392
30385
|
}
|
|
30393
30386
|
|
|
30394
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
30387
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/getBlockReceipts.js
|
|
30395
30388
|
init_toHex();
|
|
30396
30389
|
async function getBlockReceipts(client, { blockHash, blockNumber, blockTag = client.experimental_blockTag ?? "latest" } = {}) {
|
|
30397
30390
|
const blockNumberHex = blockNumber !== void 0 ? numberToHex(blockNumber) : void 0;
|
|
@@ -30405,7 +30398,7 @@ async function getBlockReceipts(client, { blockHash, blockNumber, blockTag = cli
|
|
|
30405
30398
|
return receipts.map((receipt) => format(receipt, "getBlockReceipts"));
|
|
30406
30399
|
}
|
|
30407
30400
|
|
|
30408
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
30401
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/getBlockTransactionCount.js
|
|
30409
30402
|
init_fromHex();
|
|
30410
30403
|
init_toHex();
|
|
30411
30404
|
async function getBlockTransactionCount(client, { blockHash, blockNumber, blockTag = "latest" } = {}) {
|
|
@@ -30425,7 +30418,7 @@ async function getBlockTransactionCount(client, { blockHash, blockNumber, blockT
|
|
|
30425
30418
|
return hexToNumber(count);
|
|
30426
30419
|
}
|
|
30427
30420
|
|
|
30428
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
30421
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/getCode.js
|
|
30429
30422
|
init_formatBlockParameter();
|
|
30430
30423
|
async function getCode(client, { address, blockHash, blockNumber, blockTag = "latest", requireCanonical }) {
|
|
30431
30424
|
const block = formatBlockParameter({
|
|
@@ -30445,7 +30438,7 @@ async function getCode(client, { address, blockHash, blockNumber, blockTag = "la
|
|
|
30445
30438
|
return hex;
|
|
30446
30439
|
}
|
|
30447
30440
|
|
|
30448
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
30441
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/getDelegation.js
|
|
30449
30442
|
init_getAddress();
|
|
30450
30443
|
init_size();
|
|
30451
30444
|
init_slice();
|
|
@@ -30463,7 +30456,7 @@ async function getDelegation(client, { address, blockNumber, blockTag = "latest"
|
|
|
30463
30456
|
return getAddress(slice(code, 3, 23));
|
|
30464
30457
|
}
|
|
30465
30458
|
|
|
30466
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
30459
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/eip712.js
|
|
30467
30460
|
init_base();
|
|
30468
30461
|
var Eip712DomainNotFoundError = class extends BaseError2 {
|
|
30469
30462
|
constructor({ address }) {
|
|
@@ -30479,7 +30472,7 @@ var Eip712DomainNotFoundError = class extends BaseError2 {
|
|
|
30479
30472
|
}
|
|
30480
30473
|
};
|
|
30481
30474
|
|
|
30482
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
30475
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/getEip712Domain.js
|
|
30483
30476
|
async function getEip712Domain(client, parameters) {
|
|
30484
30477
|
const { address, factory, factoryData } = parameters;
|
|
30485
30478
|
try {
|
|
@@ -30527,10 +30520,10 @@ var abi = [
|
|
|
30527
30520
|
}
|
|
30528
30521
|
];
|
|
30529
30522
|
|
|
30530
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
30523
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/getFeeHistory.js
|
|
30531
30524
|
init_toHex();
|
|
30532
30525
|
|
|
30533
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
30526
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/formatters/feeHistory.js
|
|
30534
30527
|
function formatFeeHistory(feeHistory) {
|
|
30535
30528
|
return {
|
|
30536
30529
|
baseFeePerGas: feeHistory.baseFeePerGas.map((value) => BigInt(value)),
|
|
@@ -30540,7 +30533,7 @@ function formatFeeHistory(feeHistory) {
|
|
|
30540
30533
|
};
|
|
30541
30534
|
}
|
|
30542
30535
|
|
|
30543
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
30536
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/getFeeHistory.js
|
|
30544
30537
|
async function getFeeHistory(client, { blockCount, blockNumber, blockTag = "latest", rewardPercentiles }) {
|
|
30545
30538
|
const blockNumberHex = typeof blockNumber === "bigint" ? numberToHex(blockNumber) : void 0;
|
|
30546
30539
|
const feeHistory = await client.request({
|
|
@@ -30554,7 +30547,7 @@ async function getFeeHistory(client, { blockCount, blockNumber, blockTag = "late
|
|
|
30554
30547
|
return formatFeeHistory(feeHistory);
|
|
30555
30548
|
}
|
|
30556
30549
|
|
|
30557
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
30550
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/getFilterLogs.js
|
|
30558
30551
|
async function getFilterLogs(_client, { filter }) {
|
|
30559
30552
|
const strict = filter.strict ?? false;
|
|
30560
30553
|
const logs = await filter.request({
|
|
@@ -30571,19 +30564,19 @@ async function getFilterLogs(_client, { filter }) {
|
|
|
30571
30564
|
});
|
|
30572
30565
|
}
|
|
30573
30566
|
|
|
30574
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
30567
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/getProof.js
|
|
30575
30568
|
init_formatBlockParameter();
|
|
30576
30569
|
|
|
30577
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
30570
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/authorization/serializeAuthorizationList.js
|
|
30578
30571
|
init_toHex();
|
|
30579
30572
|
|
|
30580
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
30573
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/transaction/serializeTransaction.js
|
|
30581
30574
|
init_transaction();
|
|
30582
30575
|
init_concat();
|
|
30583
30576
|
init_trim();
|
|
30584
30577
|
init_toHex();
|
|
30585
30578
|
|
|
30586
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
30579
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/transaction/assertTransaction.js
|
|
30587
30580
|
init_number();
|
|
30588
30581
|
init_address();
|
|
30589
30582
|
init_base();
|
|
@@ -30660,7 +30653,7 @@ function assertTransactionLegacy(transaction) {
|
|
|
30660
30653
|
throw new FeeCapTooHighError({ maxFeePerGas: gasPrice });
|
|
30661
30654
|
}
|
|
30662
30655
|
|
|
30663
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
30656
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/transaction/serializeAccessList.js
|
|
30664
30657
|
init_address();
|
|
30665
30658
|
init_transaction();
|
|
30666
30659
|
init_isAddress();
|
|
@@ -30683,7 +30676,7 @@ function serializeAccessList(accessList) {
|
|
|
30683
30676
|
return serializedAccessList;
|
|
30684
30677
|
}
|
|
30685
30678
|
|
|
30686
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
30679
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/transaction/serializeTransaction.js
|
|
30687
30680
|
function serializeTransaction(transaction, signature) {
|
|
30688
30681
|
const type = getTransactionType(transaction);
|
|
30689
30682
|
if (type === "eip1559")
|
|
@@ -30883,7 +30876,7 @@ function toYParitySignatureArray(transaction, signature_) {
|
|
|
30883
30876
|
return [yParity_, r === "0x00" ? "0x" : r, s === "0x00" ? "0x" : s];
|
|
30884
30877
|
}
|
|
30885
30878
|
|
|
30886
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
30879
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/authorization/serializeAuthorizationList.js
|
|
30887
30880
|
function serializeAuthorizationList(authorizationList) {
|
|
30888
30881
|
if (!authorizationList || authorizationList.length === 0)
|
|
30889
30882
|
return [];
|
|
@@ -30901,7 +30894,7 @@ function serializeAuthorizationList(authorizationList) {
|
|
|
30901
30894
|
return serializedAuthorizationList;
|
|
30902
30895
|
}
|
|
30903
30896
|
|
|
30904
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
30897
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/authorization/verifyAuthorization.js
|
|
30905
30898
|
init_getAddress();
|
|
30906
30899
|
init_isAddressEqual();
|
|
30907
30900
|
async function verifyAuthorization({ address, authorization, signature }) {
|
|
@@ -30911,13 +30904,13 @@ async function verifyAuthorization({ address, authorization, signature }) {
|
|
|
30911
30904
|
}));
|
|
30912
30905
|
}
|
|
30913
30906
|
|
|
30914
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
30907
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/buildRequest.js
|
|
30915
30908
|
init_base();
|
|
30916
30909
|
init_request();
|
|
30917
30910
|
init_rpc();
|
|
30918
30911
|
init_utils3();
|
|
30919
30912
|
|
|
30920
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
30913
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/promise/withDedupe.js
|
|
30921
30914
|
init_lru();
|
|
30922
30915
|
var promiseCache2 = /* @__PURE__ */ new LruMap(8192);
|
|
30923
30916
|
function withDedupe(fn, { enabled = true, id }) {
|
|
@@ -30930,7 +30923,7 @@ function withDedupe(fn, { enabled = true, id }) {
|
|
|
30930
30923
|
return promise;
|
|
30931
30924
|
}
|
|
30932
30925
|
|
|
30933
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
30926
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/buildRequest.js
|
|
30934
30927
|
init_stringify();
|
|
30935
30928
|
function buildRequest(request, options = {}) {
|
|
30936
30929
|
return async (args, overrideOptions = {}) => {
|
|
@@ -31116,7 +31109,7 @@ function hashString(str, seed = 0) {
|
|
|
31116
31109
|
return (4294967296 * (2097151 & h2) + (h1 >>> 0)).toString(36);
|
|
31117
31110
|
}
|
|
31118
31111
|
|
|
31119
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
31112
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/chain/defineChain.js
|
|
31120
31113
|
function defineChain(chain) {
|
|
31121
31114
|
const chainInstance = {
|
|
31122
31115
|
formatters: void 0,
|
|
@@ -31136,14 +31129,14 @@ function defineChain(chain) {
|
|
|
31136
31129
|
});
|
|
31137
31130
|
}
|
|
31138
31131
|
|
|
31139
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
31132
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/index.js
|
|
31140
31133
|
init_fromHex();
|
|
31141
31134
|
|
|
31142
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
31135
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/rpc/http.js
|
|
31143
31136
|
init_request();
|
|
31144
31137
|
init_utils3();
|
|
31145
31138
|
|
|
31146
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
31139
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/promise/withTimeout.js
|
|
31147
31140
|
init_utils3();
|
|
31148
31141
|
function withTimeout(fn, { errorInstance = new Error("timed out"), timeout, signal }) {
|
|
31149
31142
|
return new Promise((resolve, reject) => {
|
|
@@ -31175,10 +31168,10 @@ function withTimeout(fn, { errorInstance = new Error("timed out"), timeout, sign
|
|
|
31175
31168
|
});
|
|
31176
31169
|
}
|
|
31177
31170
|
|
|
31178
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
31171
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/rpc/http.js
|
|
31179
31172
|
init_stringify();
|
|
31180
31173
|
|
|
31181
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
31174
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/rpc/id.js
|
|
31182
31175
|
function createIdStore() {
|
|
31183
31176
|
return {
|
|
31184
31177
|
current: 0,
|
|
@@ -31192,7 +31185,7 @@ function createIdStore() {
|
|
|
31192
31185
|
}
|
|
31193
31186
|
var idCache = /* @__PURE__ */ createIdStore();
|
|
31194
31187
|
|
|
31195
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
31188
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/rpc/http.js
|
|
31196
31189
|
function getHttpRpcClient(url_, options = {}) {
|
|
31197
31190
|
const { url, headers: headers_url } = parseUrl(url_);
|
|
31198
31191
|
return {
|
|
@@ -31299,13 +31292,13 @@ function parseUrl(url_) {
|
|
|
31299
31292
|
}
|
|
31300
31293
|
}
|
|
31301
31294
|
|
|
31302
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
31295
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/signature/hashMessage.js
|
|
31303
31296
|
init_keccak256();
|
|
31304
31297
|
|
|
31305
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
31298
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/constants/strings.js
|
|
31306
31299
|
var presignMessagePrefix = "Ethereum Signed Message:\n";
|
|
31307
31300
|
|
|
31308
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
31301
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/signature/toPrefixedMessage.js
|
|
31309
31302
|
init_concat();
|
|
31310
31303
|
init_size();
|
|
31311
31304
|
init_toHex();
|
|
@@ -31321,22 +31314,22 @@ function toPrefixedMessage(message_) {
|
|
|
31321
31314
|
return concat([prefix, message]);
|
|
31322
31315
|
}
|
|
31323
31316
|
|
|
31324
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
31317
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/signature/hashMessage.js
|
|
31325
31318
|
function hashMessage(message, to_) {
|
|
31326
31319
|
return keccak256(toPrefixedMessage(message), to_);
|
|
31327
31320
|
}
|
|
31328
31321
|
|
|
31329
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
31322
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/signature/hashTypedData.js
|
|
31330
31323
|
init_encodeAbiParameters();
|
|
31331
31324
|
init_concat();
|
|
31332
31325
|
init_toHex();
|
|
31333
31326
|
init_keccak256();
|
|
31334
31327
|
|
|
31335
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
31328
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/typedData.js
|
|
31336
31329
|
init_abi();
|
|
31337
31330
|
init_address();
|
|
31338
31331
|
|
|
31339
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
31332
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/typedData.js
|
|
31340
31333
|
init_stringify();
|
|
31341
31334
|
init_base();
|
|
31342
31335
|
var InvalidDomainError = class extends BaseError2 {
|
|
@@ -31363,7 +31356,7 @@ var InvalidStructTypeError = class extends BaseError2 {
|
|
|
31363
31356
|
}
|
|
31364
31357
|
};
|
|
31365
31358
|
|
|
31366
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
31359
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/typedData.js
|
|
31367
31360
|
init_isAddress();
|
|
31368
31361
|
init_size();
|
|
31369
31362
|
init_toHex();
|
|
@@ -31432,7 +31425,7 @@ function validateReference(type) {
|
|
|
31432
31425
|
throw new InvalidStructTypeError({ type });
|
|
31433
31426
|
}
|
|
31434
31427
|
|
|
31435
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
31428
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/signature/hashTypedData.js
|
|
31436
31429
|
function hashTypedData(parameters) {
|
|
31437
31430
|
const { domain = {}, message, primaryType } = parameters;
|
|
31438
31431
|
const types = {
|
|
@@ -31542,7 +31535,7 @@ function encodeField({ types, name, type, value }) {
|
|
|
31542
31535
|
return [{ type }, value];
|
|
31543
31536
|
}
|
|
31544
31537
|
|
|
31545
|
-
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
31538
|
+
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/erc8010/SignatureErc8010.js
|
|
31546
31539
|
var SignatureErc8010_exports = {};
|
|
31547
31540
|
__export(SignatureErc8010_exports, {
|
|
31548
31541
|
InvalidWrappedSignatureError: () => InvalidWrappedSignatureError,
|
|
@@ -31555,10 +31548,10 @@ __export(SignatureErc8010_exports, {
|
|
|
31555
31548
|
wrap: () => wrap
|
|
31556
31549
|
});
|
|
31557
31550
|
|
|
31558
|
-
// ../../node_modules/.pnpm/abitype@1.2.4_typescript@5.9.3_zod@3.
|
|
31551
|
+
// ../../node_modules/.pnpm/abitype@1.2.4_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/version.js
|
|
31559
31552
|
var version5 = "1.2.4";
|
|
31560
31553
|
|
|
31561
|
-
// ../../node_modules/.pnpm/abitype@1.2.4_typescript@5.9.3_zod@3.
|
|
31554
|
+
// ../../node_modules/.pnpm/abitype@1.2.4_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/errors.js
|
|
31562
31555
|
var BaseError4 = class _BaseError extends Error {
|
|
31563
31556
|
constructor(shortMessage, args = {}) {
|
|
31564
31557
|
const details = args.cause instanceof _BaseError ? args.cause.details : args.cause?.message ? args.cause.message : args.details;
|
|
@@ -31611,7 +31604,7 @@ var BaseError4 = class _BaseError extends Error {
|
|
|
31611
31604
|
}
|
|
31612
31605
|
};
|
|
31613
31606
|
|
|
31614
|
-
// ../../node_modules/.pnpm/abitype@1.2.4_typescript@5.9.3_zod@3.
|
|
31607
|
+
// ../../node_modules/.pnpm/abitype@1.2.4_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/regex.js
|
|
31615
31608
|
function execTyped2(regex, string3) {
|
|
31616
31609
|
const match = regex.exec(string3);
|
|
31617
31610
|
return match?.groups;
|
|
@@ -31620,7 +31613,7 @@ var bytesRegex3 = /^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/;
|
|
|
31620
31613
|
var integerRegex3 = /^u?int(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/;
|
|
31621
31614
|
var isTupleRegex2 = /^\(.+?\).*?$/;
|
|
31622
31615
|
|
|
31623
|
-
// ../../node_modules/.pnpm/abitype@1.2.4_typescript@5.9.3_zod@3.
|
|
31616
|
+
// ../../node_modules/.pnpm/abitype@1.2.4_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/formatAbiParameter.js
|
|
31624
31617
|
var tupleRegex2 = /^tuple(?<array>(\[(\d*)\])*)$/;
|
|
31625
31618
|
function formatAbiParameter2(abiParameter) {
|
|
31626
31619
|
let type = abiParameter.type;
|
|
@@ -31647,7 +31640,7 @@ function formatAbiParameter2(abiParameter) {
|
|
|
31647
31640
|
return type;
|
|
31648
31641
|
}
|
|
31649
31642
|
|
|
31650
|
-
// ../../node_modules/.pnpm/abitype@1.2.4_typescript@5.9.3_zod@3.
|
|
31643
|
+
// ../../node_modules/.pnpm/abitype@1.2.4_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/formatAbiParameters.js
|
|
31651
31644
|
function formatAbiParameters2(abiParameters) {
|
|
31652
31645
|
let params = "";
|
|
31653
31646
|
const length = abiParameters.length;
|
|
@@ -31660,7 +31653,7 @@ function formatAbiParameters2(abiParameters) {
|
|
|
31660
31653
|
return params;
|
|
31661
31654
|
}
|
|
31662
31655
|
|
|
31663
|
-
// ../../node_modules/.pnpm/abitype@1.2.4_typescript@5.9.3_zod@3.
|
|
31656
|
+
// ../../node_modules/.pnpm/abitype@1.2.4_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/formatAbiItem.js
|
|
31664
31657
|
function formatAbiItem3(abiItem) {
|
|
31665
31658
|
if (abiItem.type === "function")
|
|
31666
31659
|
return `function ${abiItem.name}(${formatAbiParameters2(abiItem.inputs)})${abiItem.stateMutability && abiItem.stateMutability !== "nonpayable" ? ` ${abiItem.stateMutability}` : ""}${abiItem.outputs?.length ? ` returns (${formatAbiParameters2(abiItem.outputs)})` : ""}`;
|
|
@@ -31675,7 +31668,7 @@ function formatAbiItem3(abiItem) {
|
|
|
31675
31668
|
return "receive() external payable";
|
|
31676
31669
|
}
|
|
31677
31670
|
|
|
31678
|
-
// ../../node_modules/.pnpm/abitype@1.2.4_typescript@5.9.3_zod@3.
|
|
31671
|
+
// ../../node_modules/.pnpm/abitype@1.2.4_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/runtime/signatures.js
|
|
31679
31672
|
var errorSignatureRegex2 = /^error (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)$/;
|
|
31680
31673
|
function isErrorSignature2(signature) {
|
|
31681
31674
|
return errorSignatureRegex2.test(signature);
|
|
@@ -31735,7 +31728,7 @@ var functionModifiers2 = /* @__PURE__ */ new Set([
|
|
|
31735
31728
|
"storage"
|
|
31736
31729
|
]);
|
|
31737
31730
|
|
|
31738
|
-
// ../../node_modules/.pnpm/abitype@1.2.4_typescript@5.9.3_zod@3.
|
|
31731
|
+
// ../../node_modules/.pnpm/abitype@1.2.4_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/errors/abiItem.js
|
|
31739
31732
|
var InvalidAbiItemError = class extends BaseError4 {
|
|
31740
31733
|
constructor({ signature }) {
|
|
31741
31734
|
super("Failed to parse ABI item.", {
|
|
@@ -31779,7 +31772,7 @@ var UnknownSolidityTypeError2 = class extends BaseError4 {
|
|
|
31779
31772
|
}
|
|
31780
31773
|
};
|
|
31781
31774
|
|
|
31782
|
-
// ../../node_modules/.pnpm/abitype@1.2.4_typescript@5.9.3_zod@3.
|
|
31775
|
+
// ../../node_modules/.pnpm/abitype@1.2.4_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/errors/abiParameter.js
|
|
31783
31776
|
var InvalidAbiParametersError = class extends BaseError4 {
|
|
31784
31777
|
constructor({ params }) {
|
|
31785
31778
|
super("Failed to parse ABI parameters.", {
|
|
@@ -31871,7 +31864,7 @@ var InvalidAbiTypeParameterError2 = class extends BaseError4 {
|
|
|
31871
31864
|
}
|
|
31872
31865
|
};
|
|
31873
31866
|
|
|
31874
|
-
// ../../node_modules/.pnpm/abitype@1.2.4_typescript@5.9.3_zod@3.
|
|
31867
|
+
// ../../node_modules/.pnpm/abitype@1.2.4_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/errors/signature.js
|
|
31875
31868
|
var InvalidSignatureError2 = class extends BaseError4 {
|
|
31876
31869
|
constructor({ signature, type }) {
|
|
31877
31870
|
super(`Invalid ${type} signature.`, {
|
|
@@ -31913,7 +31906,7 @@ var InvalidStructSignatureError2 = class extends BaseError4 {
|
|
|
31913
31906
|
}
|
|
31914
31907
|
};
|
|
31915
31908
|
|
|
31916
|
-
// ../../node_modules/.pnpm/abitype@1.2.4_typescript@5.9.3_zod@3.
|
|
31909
|
+
// ../../node_modules/.pnpm/abitype@1.2.4_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/errors/struct.js
|
|
31917
31910
|
var CircularReferenceError2 = class extends BaseError4 {
|
|
31918
31911
|
constructor({ type }) {
|
|
31919
31912
|
super("Circular reference detected.", {
|
|
@@ -31928,7 +31921,7 @@ var CircularReferenceError2 = class extends BaseError4 {
|
|
|
31928
31921
|
}
|
|
31929
31922
|
};
|
|
31930
31923
|
|
|
31931
|
-
// ../../node_modules/.pnpm/abitype@1.2.4_typescript@5.9.3_zod@3.
|
|
31924
|
+
// ../../node_modules/.pnpm/abitype@1.2.4_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/errors/splitParameters.js
|
|
31932
31925
|
var InvalidParenthesisError2 = class extends BaseError4 {
|
|
31933
31926
|
constructor({ current, depth }) {
|
|
31934
31927
|
super("Unbalanced parentheses.", {
|
|
@@ -31946,7 +31939,7 @@ var InvalidParenthesisError2 = class extends BaseError4 {
|
|
|
31946
31939
|
}
|
|
31947
31940
|
};
|
|
31948
31941
|
|
|
31949
|
-
// ../../node_modules/.pnpm/abitype@1.2.4_typescript@5.9.3_zod@3.
|
|
31942
|
+
// ../../node_modules/.pnpm/abitype@1.2.4_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/runtime/cache.js
|
|
31950
31943
|
function getParameterCacheKey2(param, type, structs) {
|
|
31951
31944
|
let structKey = "";
|
|
31952
31945
|
if (structs)
|
|
@@ -32018,7 +32011,7 @@ var parameterCache2 = /* @__PURE__ */ new Map([
|
|
|
32018
32011
|
]
|
|
32019
32012
|
]);
|
|
32020
32013
|
|
|
32021
|
-
// ../../node_modules/.pnpm/abitype@1.2.4_typescript@5.9.3_zod@3.
|
|
32014
|
+
// ../../node_modules/.pnpm/abitype@1.2.4_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/runtime/utils.js
|
|
32022
32015
|
function parseSignature2(signature, structs = {}) {
|
|
32023
32016
|
if (isFunctionSignature2(signature))
|
|
32024
32017
|
return parseFunctionSignature2(signature, structs);
|
|
@@ -32217,7 +32210,7 @@ function isValidDataLocation2(type, isArray) {
|
|
|
32217
32210
|
return isArray || type === "bytes" || type === "string" || type === "tuple";
|
|
32218
32211
|
}
|
|
32219
32212
|
|
|
32220
|
-
// ../../node_modules/.pnpm/abitype@1.2.4_typescript@5.9.3_zod@3.
|
|
32213
|
+
// ../../node_modules/.pnpm/abitype@1.2.4_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/runtime/structs.js
|
|
32221
32214
|
function parseStructs2(signatures) {
|
|
32222
32215
|
const shallowStructs = {};
|
|
32223
32216
|
const signaturesLength = signatures.length;
|
|
@@ -32287,7 +32280,7 @@ function resolveStructs2(abiParameters = [], structs = {}, ancestors = /* @__PUR
|
|
|
32287
32280
|
return components;
|
|
32288
32281
|
}
|
|
32289
32282
|
|
|
32290
|
-
// ../../node_modules/.pnpm/abitype@1.2.4_typescript@5.9.3_zod@3.
|
|
32283
|
+
// ../../node_modules/.pnpm/abitype@1.2.4_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/parseAbiItem.js
|
|
32291
32284
|
function parseAbiItem(signature) {
|
|
32292
32285
|
let abiItem;
|
|
32293
32286
|
if (typeof signature === "string")
|
|
@@ -32308,7 +32301,7 @@ function parseAbiItem(signature) {
|
|
|
32308
32301
|
return abiItem;
|
|
32309
32302
|
}
|
|
32310
32303
|
|
|
32311
|
-
// ../../node_modules/.pnpm/abitype@1.2.4_typescript@5.9.3_zod@3.
|
|
32304
|
+
// ../../node_modules/.pnpm/abitype@1.2.4_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/parseAbiParameters.js
|
|
32312
32305
|
function parseAbiParameters(params) {
|
|
32313
32306
|
const abiParameters = [];
|
|
32314
32307
|
if (typeof params === "string") {
|
|
@@ -32336,10 +32329,10 @@ function parseAbiParameters(params) {
|
|
|
32336
32329
|
return abiParameters;
|
|
32337
32330
|
}
|
|
32338
32331
|
|
|
32339
|
-
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
32332
|
+
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/core/Address.js
|
|
32340
32333
|
init_Bytes();
|
|
32341
32334
|
|
|
32342
|
-
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
32335
|
+
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/core/internal/lru.js
|
|
32343
32336
|
var LruMap2 = class extends Map {
|
|
32344
32337
|
constructor(size5) {
|
|
32345
32338
|
super();
|
|
@@ -32370,16 +32363,16 @@ var LruMap2 = class extends Map {
|
|
|
32370
32363
|
}
|
|
32371
32364
|
};
|
|
32372
32365
|
|
|
32373
|
-
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
32366
|
+
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/core/Caches.js
|
|
32374
32367
|
var caches = {
|
|
32375
32368
|
checksum: /* @__PURE__ */ new LruMap2(8192)
|
|
32376
32369
|
};
|
|
32377
32370
|
var checksum = caches.checksum;
|
|
32378
32371
|
|
|
32379
|
-
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
32372
|
+
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/core/Address.js
|
|
32380
32373
|
init_Errors();
|
|
32381
32374
|
|
|
32382
|
-
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
32375
|
+
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/core/Hash.js
|
|
32383
32376
|
init_sha3();
|
|
32384
32377
|
init_Bytes();
|
|
32385
32378
|
init_Hex();
|
|
@@ -32391,7 +32384,7 @@ function keccak2562(value, options = {}) {
|
|
|
32391
32384
|
return fromBytes(bytes);
|
|
32392
32385
|
}
|
|
32393
32386
|
|
|
32394
|
-
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
32387
|
+
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/core/PublicKey.js
|
|
32395
32388
|
init_Bytes();
|
|
32396
32389
|
init_Errors();
|
|
32397
32390
|
init_Hex();
|
|
@@ -32544,7 +32537,7 @@ var InvalidSerializedSizeError = class extends BaseError3 {
|
|
|
32544
32537
|
}
|
|
32545
32538
|
};
|
|
32546
32539
|
|
|
32547
|
-
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
32540
|
+
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/core/Address.js
|
|
32548
32541
|
var addressRegex2 = /^0x[a-fA-F0-9]{40}$/;
|
|
32549
32542
|
function assert5(value, options = {}) {
|
|
32550
32543
|
const { strict = true } = options;
|
|
@@ -32638,17 +32631,17 @@ var InvalidChecksumError = class extends BaseError3 {
|
|
|
32638
32631
|
}
|
|
32639
32632
|
};
|
|
32640
32633
|
|
|
32641
|
-
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
32634
|
+
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/core/AbiParameters.js
|
|
32642
32635
|
init_Bytes();
|
|
32643
32636
|
init_Errors();
|
|
32644
32637
|
init_Hex();
|
|
32645
32638
|
|
|
32646
|
-
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
32639
|
+
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/core/internal/abiParameters.js
|
|
32647
32640
|
init_Bytes();
|
|
32648
32641
|
init_Errors();
|
|
32649
32642
|
init_Hex();
|
|
32650
32643
|
|
|
32651
|
-
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
32644
|
+
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/core/Solidity.js
|
|
32652
32645
|
var arrayRegex = /^(.*)\[([0-9]*)\]$/;
|
|
32653
32646
|
var bytesRegex4 = /^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/;
|
|
32654
32647
|
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)?$/;
|
|
@@ -32749,7 +32742,7 @@ var maxUint2402 = 2n ** 240n - 1n;
|
|
|
32749
32742
|
var maxUint2482 = 2n ** 248n - 1n;
|
|
32750
32743
|
var maxUint2562 = 2n ** 256n - 1n;
|
|
32751
32744
|
|
|
32752
|
-
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
32745
|
+
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/core/internal/abiParameters.js
|
|
32753
32746
|
function decodeParameter2(cursor, param, options) {
|
|
32754
32747
|
const { checksumAddress: checksumAddress2, staticPosition } = options;
|
|
32755
32748
|
const arrayComponents = getArrayComponents2(param.type);
|
|
@@ -33138,7 +33131,7 @@ function hasDynamicChild2(param) {
|
|
|
33138
33131
|
return false;
|
|
33139
33132
|
}
|
|
33140
33133
|
|
|
33141
|
-
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
33134
|
+
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/core/internal/cursor.js
|
|
33142
33135
|
init_Errors();
|
|
33143
33136
|
var staticCursor2 = {
|
|
33144
33137
|
bytes: new Uint8Array(),
|
|
@@ -33341,7 +33334,7 @@ var RecursiveReadLimitExceededError2 = class extends BaseError3 {
|
|
|
33341
33334
|
}
|
|
33342
33335
|
};
|
|
33343
33336
|
|
|
33344
|
-
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
33337
|
+
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/core/AbiParameters.js
|
|
33345
33338
|
function decode(parameters, data, options = {}) {
|
|
33346
33339
|
const { as = "Array", checksumAddress: checksumAddress2 = false } = options;
|
|
33347
33340
|
const bytes = typeof data === "string" ? fromHex(data) : data;
|
|
@@ -33543,10 +33536,10 @@ var InvalidTypeError = class extends BaseError3 {
|
|
|
33543
33536
|
}
|
|
33544
33537
|
};
|
|
33545
33538
|
|
|
33546
|
-
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
33539
|
+
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/core/Authorization.js
|
|
33547
33540
|
init_Hex();
|
|
33548
33541
|
|
|
33549
|
-
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
33542
|
+
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/core/Rlp.js
|
|
33550
33543
|
init_Bytes();
|
|
33551
33544
|
init_Errors();
|
|
33552
33545
|
init_Hex();
|
|
@@ -33643,7 +33636,7 @@ function getSizeOfLength2(length) {
|
|
|
33643
33636
|
throw new BaseError3("Length is too large.");
|
|
33644
33637
|
}
|
|
33645
33638
|
|
|
33646
|
-
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
33639
|
+
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/core/Signature.js
|
|
33647
33640
|
init_Errors();
|
|
33648
33641
|
init_Hex();
|
|
33649
33642
|
init_Json();
|
|
@@ -33829,7 +33822,7 @@ var InvalidVError = class extends BaseError3 {
|
|
|
33829
33822
|
}
|
|
33830
33823
|
};
|
|
33831
33824
|
|
|
33832
|
-
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
33825
|
+
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/core/Authorization.js
|
|
33833
33826
|
function from8(authorization, options = {}) {
|
|
33834
33827
|
if (typeof authorization.chainId === "string")
|
|
33835
33828
|
return fromRpc3(authorization);
|
|
@@ -33867,11 +33860,11 @@ function toTuple2(authorization) {
|
|
|
33867
33860
|
];
|
|
33868
33861
|
}
|
|
33869
33862
|
|
|
33870
|
-
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
33863
|
+
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/erc8010/SignatureErc8010.js
|
|
33871
33864
|
init_Errors();
|
|
33872
33865
|
init_Hex();
|
|
33873
33866
|
|
|
33874
|
-
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
33867
|
+
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/core/Secp256k1.js
|
|
33875
33868
|
init_secp256k1();
|
|
33876
33869
|
init_Hex();
|
|
33877
33870
|
function recoverAddress2(options) {
|
|
@@ -33885,7 +33878,7 @@ function recoverPublicKey2(options) {
|
|
|
33885
33878
|
return from3(point);
|
|
33886
33879
|
}
|
|
33887
33880
|
|
|
33888
|
-
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
33881
|
+
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/erc8010/SignatureErc8010.js
|
|
33889
33882
|
var magicBytes = "0x8010801080108010801080108010801080108010801080108010801080108010";
|
|
33890
33883
|
var suffixParameters = from5("(uint256 chainId, address delegation, uint256 nonce, uint8 yParity, uint256 r, uint256 s), address to, bytes data");
|
|
33891
33884
|
function assert7(value) {
|
|
@@ -33959,7 +33952,7 @@ var InvalidWrappedSignatureError = class extends BaseError3 {
|
|
|
33959
33952
|
}
|
|
33960
33953
|
};
|
|
33961
33954
|
|
|
33962
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
33955
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/signature/recoverTypedDataAddress.js
|
|
33963
33956
|
async function recoverTypedDataAddress(parameters) {
|
|
33964
33957
|
const { domain, message, primaryType, signature, types } = parameters;
|
|
33965
33958
|
return recoverAddress({
|
|
@@ -33973,7 +33966,7 @@ async function recoverTypedDataAddress(parameters) {
|
|
|
33973
33966
|
});
|
|
33974
33967
|
}
|
|
33975
33968
|
|
|
33976
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
33969
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/formatters/proof.js
|
|
33977
33970
|
function formatStorageProof(storageProof) {
|
|
33978
33971
|
return storageProof.map((proof) => ({
|
|
33979
33972
|
...proof,
|
|
@@ -33989,7 +33982,7 @@ function formatProof(proof) {
|
|
|
33989
33982
|
};
|
|
33990
33983
|
}
|
|
33991
33984
|
|
|
33992
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
33985
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/getProof.js
|
|
33993
33986
|
async function getProof(client, { address, blockHash, blockNumber, blockTag = "latest", requireCanonical, storageKeys }) {
|
|
33994
33987
|
const block = formatBlockParameter({
|
|
33995
33988
|
blockHash,
|
|
@@ -34004,7 +33997,7 @@ async function getProof(client, { address, blockHash, blockNumber, blockTag = "l
|
|
|
34004
33997
|
return formatProof(proof);
|
|
34005
33998
|
}
|
|
34006
33999
|
|
|
34007
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
34000
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/getStorageAt.js
|
|
34008
34001
|
init_formatBlockParameter();
|
|
34009
34002
|
async function getStorageAt(client, { address, blockHash, blockNumber, blockTag = "latest", requireCanonical, slot }) {
|
|
34010
34003
|
const block = formatBlockParameter({
|
|
@@ -34020,7 +34013,7 @@ async function getStorageAt(client, { address, blockHash, blockNumber, blockTag
|
|
|
34020
34013
|
return data;
|
|
34021
34014
|
}
|
|
34022
34015
|
|
|
34023
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
34016
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/getTransaction.js
|
|
34024
34017
|
init_transaction();
|
|
34025
34018
|
init_toHex();
|
|
34026
34019
|
async function getTransaction(client, { blockHash, blockNumber, blockTag: blockTag_, hash: hash3, index: index2, sender, nonce }) {
|
|
@@ -34060,7 +34053,7 @@ async function getTransaction(client, { blockHash, blockNumber, blockTag: blockT
|
|
|
34060
34053
|
return format(transaction, "getTransaction");
|
|
34061
34054
|
}
|
|
34062
34055
|
|
|
34063
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
34056
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/getTransactionConfirmations.js
|
|
34064
34057
|
async function getTransactionConfirmations(client, { hash: hash3, transactionReceipt }) {
|
|
34065
34058
|
const [blockNumber, transaction] = await Promise.all([
|
|
34066
34059
|
getAction(client, getBlockNumber, "getBlockNumber")({}),
|
|
@@ -34072,7 +34065,7 @@ async function getTransactionConfirmations(client, { hash: hash3, transactionRec
|
|
|
34072
34065
|
return blockNumber - transactionBlockNumber + 1n;
|
|
34073
34066
|
}
|
|
34074
34067
|
|
|
34075
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
34068
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/getTransactionReceipt.js
|
|
34076
34069
|
init_transaction();
|
|
34077
34070
|
async function getTransactionReceipt(client, { hash: hash3 }) {
|
|
34078
34071
|
const receipt = await client.request({
|
|
@@ -34085,7 +34078,7 @@ async function getTransactionReceipt(client, { hash: hash3 }) {
|
|
|
34085
34078
|
return format(receipt, "getTransactionReceipt");
|
|
34086
34079
|
}
|
|
34087
34080
|
|
|
34088
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
34081
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/multicall.js
|
|
34089
34082
|
init_abis();
|
|
34090
34083
|
init_contracts();
|
|
34091
34084
|
init_abi();
|
|
@@ -34224,7 +34217,7 @@ async function multicall(client, parameters) {
|
|
|
34224
34217
|
return results;
|
|
34225
34218
|
}
|
|
34226
34219
|
|
|
34227
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
34220
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/simulateBlocks.js
|
|
34228
34221
|
init_BlockOverrides();
|
|
34229
34222
|
init_parseAccount();
|
|
34230
34223
|
init_abi();
|
|
@@ -34325,11 +34318,11 @@ async function simulateBlocks(client, parameters) {
|
|
|
34325
34318
|
}
|
|
34326
34319
|
}
|
|
34327
34320
|
|
|
34328
|
-
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
34321
|
+
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/core/AbiItem.js
|
|
34329
34322
|
init_Errors();
|
|
34330
34323
|
init_Hex();
|
|
34331
34324
|
|
|
34332
|
-
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
34325
|
+
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/core/internal/abiItem.js
|
|
34333
34326
|
init_Errors();
|
|
34334
34327
|
function normalizeSignature2(signature) {
|
|
34335
34328
|
let active = true;
|
|
@@ -34431,7 +34424,7 @@ function getAmbiguousTypes2(sourceParameters, targetParameters, args) {
|
|
|
34431
34424
|
return;
|
|
34432
34425
|
}
|
|
34433
34426
|
|
|
34434
|
-
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
34427
|
+
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/core/AbiItem.js
|
|
34435
34428
|
function from10(abiItem, options = {}) {
|
|
34436
34429
|
const { prepare = true } = options;
|
|
34437
34430
|
const item = (() => {
|
|
@@ -34594,7 +34587,7 @@ var NotFoundError = class extends BaseError3 {
|
|
|
34594
34587
|
}
|
|
34595
34588
|
};
|
|
34596
34589
|
|
|
34597
|
-
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
34590
|
+
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/core/AbiConstructor.js
|
|
34598
34591
|
init_Hex();
|
|
34599
34592
|
function encode3(...parameters) {
|
|
34600
34593
|
const [abiConstructor, options] = (() => {
|
|
@@ -34617,7 +34610,7 @@ function fromAbi2(abi2) {
|
|
|
34617
34610
|
return item;
|
|
34618
34611
|
}
|
|
34619
34612
|
|
|
34620
|
-
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
34613
|
+
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/core/AbiFunction.js
|
|
34621
34614
|
init_Hex();
|
|
34622
34615
|
function encodeData2(...parameters) {
|
|
34623
34616
|
const [abiFunction, args = []] = (() => {
|
|
@@ -34649,14 +34642,14 @@ function getSelector2(abiItem) {
|
|
|
34649
34642
|
return getSelector(abiItem);
|
|
34650
34643
|
}
|
|
34651
34644
|
|
|
34652
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
34645
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/simulateCalls.js
|
|
34653
34646
|
init_parseAccount();
|
|
34654
34647
|
|
|
34655
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
34648
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/constants/address.js
|
|
34656
34649
|
var ethAddress = "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee";
|
|
34657
34650
|
var zeroAddress = "0x0000000000000000000000000000000000000000";
|
|
34658
34651
|
|
|
34659
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
34652
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/simulateCalls.js
|
|
34660
34653
|
init_contracts();
|
|
34661
34654
|
init_base();
|
|
34662
34655
|
init_encodeFunctionData();
|
|
@@ -34856,7 +34849,7 @@ async function simulateCalls(client, parameters) {
|
|
|
34856
34849
|
};
|
|
34857
34850
|
}
|
|
34858
34851
|
|
|
34859
|
-
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.
|
|
34852
|
+
// ../../node_modules/.pnpm/ox@0.14.29_typescript@5.9.3_zod@3.25.76/node_modules/ox/_esm/erc6492/SignatureErc6492.js
|
|
34860
34853
|
var SignatureErc6492_exports = {};
|
|
34861
34854
|
__export(SignatureErc6492_exports, {
|
|
34862
34855
|
InvalidWrappedSignatureError: () => InvalidWrappedSignatureError2,
|
|
@@ -34959,7 +34952,7 @@ var InvalidWrappedSignatureError2 = class extends BaseError3 {
|
|
|
34959
34952
|
}
|
|
34960
34953
|
};
|
|
34961
34954
|
|
|
34962
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
34955
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/verifyHash.js
|
|
34963
34956
|
init_abis();
|
|
34964
34957
|
init_contracts();
|
|
34965
34958
|
init_contract();
|
|
@@ -34972,7 +34965,7 @@ init_isHex();
|
|
|
34972
34965
|
init_fromHex();
|
|
34973
34966
|
init_toHex();
|
|
34974
34967
|
|
|
34975
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
34968
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/signature/serializeSignature.js
|
|
34976
34969
|
init_secp256k1();
|
|
34977
34970
|
init_fromHex();
|
|
34978
34971
|
init_toBytes();
|
|
@@ -34990,7 +34983,7 @@ function serializeSignature({ r, s, to = "hex", v, yParity }) {
|
|
|
34990
34983
|
return hexToBytes(signature);
|
|
34991
34984
|
}
|
|
34992
34985
|
|
|
34993
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
34986
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/verifyHash.js
|
|
34994
34987
|
init_call();
|
|
34995
34988
|
async function verifyHash(client, parameters) {
|
|
34996
34989
|
const { address, chain = client.chain, hash: hash3, erc6492VerifierAddress: verifierAddress = parameters.universalSignatureVerifierAddress ?? chain?.contracts?.erc6492Verifier?.address, multicallAddress = parameters.multicallAddress ?? chain?.contracts?.multicall3?.address, mode = "auto" } = parameters;
|
|
@@ -35161,7 +35154,7 @@ async function verifyErc1271(client, parameters) {
|
|
|
35161
35154
|
var VerificationError = class extends Error {
|
|
35162
35155
|
};
|
|
35163
35156
|
|
|
35164
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
35157
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/verifyMessage.js
|
|
35165
35158
|
async function verifyMessage(client, { address, message, factory, factoryData, signature, ...callRequest }) {
|
|
35166
35159
|
const hash3 = hashMessage(message);
|
|
35167
35160
|
return getAction(client, verifyHash, "verifyHash")({
|
|
@@ -35174,7 +35167,7 @@ async function verifyMessage(client, { address, message, factory, factoryData, s
|
|
|
35174
35167
|
});
|
|
35175
35168
|
}
|
|
35176
35169
|
|
|
35177
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
35170
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/verifyTypedData.js
|
|
35178
35171
|
async function verifyTypedData(client, parameters) {
|
|
35179
35172
|
const { address, factory, factoryData, signature, message, primaryType, types, domain, ...callRequest } = parameters;
|
|
35180
35173
|
const hash3 = hashTypedData({ message, primaryType, types, domain });
|
|
@@ -35188,12 +35181,12 @@ async function verifyTypedData(client, parameters) {
|
|
|
35188
35181
|
});
|
|
35189
35182
|
}
|
|
35190
35183
|
|
|
35191
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
35184
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/waitForTransactionReceipt.js
|
|
35192
35185
|
init_transaction();
|
|
35193
35186
|
init_withResolvers();
|
|
35194
35187
|
init_stringify();
|
|
35195
35188
|
|
|
35196
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
35189
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/watchBlockNumber.js
|
|
35197
35190
|
init_fromHex();
|
|
35198
35191
|
init_stringify();
|
|
35199
35192
|
function watchBlockNumber(client, { emitOnBegin = false, emitMissed = false, onBlockNumber, onError, poll: poll_, pollingInterval = client.pollingInterval }) {
|
|
@@ -35287,7 +35280,7 @@ function watchBlockNumber(client, { emitOnBegin = false, emitMissed = false, onB
|
|
|
35287
35280
|
return enablePolling ? pollBlockNumber() : subscribeBlockNumber();
|
|
35288
35281
|
}
|
|
35289
35282
|
|
|
35290
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
35283
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/waitForTransactionReceipt.js
|
|
35291
35284
|
async function waitForTransactionReceipt(client, parameters) {
|
|
35292
35285
|
const {
|
|
35293
35286
|
checkReplacement = true,
|
|
@@ -35419,7 +35412,7 @@ async function waitForTransactionReceipt(client, parameters) {
|
|
|
35419
35412
|
return promise;
|
|
35420
35413
|
}
|
|
35421
35414
|
|
|
35422
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
35415
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/watchBlocks.js
|
|
35423
35416
|
init_stringify();
|
|
35424
35417
|
function watchBlocks(client, { blockTag = client.experimental_blockTag ?? "latest", emitMissed = false, emitOnBegin = false, onBlock, onError, includeTransactions: includeTransactions_, poll: poll_, pollingInterval = client.pollingInterval }) {
|
|
35425
35418
|
const enablePolling = (() => {
|
|
@@ -35541,7 +35534,7 @@ function watchBlocks(client, { blockTag = client.experimental_blockTag ?? "lates
|
|
|
35541
35534
|
return enablePolling ? pollBlocks() : subscribeBlocks();
|
|
35542
35535
|
}
|
|
35543
35536
|
|
|
35544
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
35537
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/watchEvent.js
|
|
35545
35538
|
init_abi();
|
|
35546
35539
|
init_rpc();
|
|
35547
35540
|
init_stringify();
|
|
@@ -35707,7 +35700,7 @@ function watchEvent(client, { address, args, batch = true, event, events, fromBl
|
|
|
35707
35700
|
return enablePolling ? pollEvent() : subscribeEvent();
|
|
35708
35701
|
}
|
|
35709
35702
|
|
|
35710
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
35703
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/public/watchPendingTransactions.js
|
|
35711
35704
|
init_stringify();
|
|
35712
35705
|
function watchPendingTransactions(client, { batch = true, onError, onTransactions, poll: poll_, pollingInterval = client.pollingInterval }) {
|
|
35713
35706
|
const enablePolling = typeof poll_ !== "undefined" ? poll_ : client.transport.type !== "webSocket" && client.transport.type !== "ipc";
|
|
@@ -35782,7 +35775,7 @@ function watchPendingTransactions(client, { batch = true, onError, onTransaction
|
|
|
35782
35775
|
return enablePolling ? pollPendingTransactions() : subscribePendingTransactions();
|
|
35783
35776
|
}
|
|
35784
35777
|
|
|
35785
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
35778
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/siwe/parseSiweMessage.js
|
|
35786
35779
|
function parseSiweMessage(message) {
|
|
35787
35780
|
const { scheme, statement, ...prefix } = message.match(prefixRegex)?.groups ?? {};
|
|
35788
35781
|
const { chainId, expirationTime, issuedAt, notBefore, requestId, ...suffix } = message.match(suffixRegex)?.groups ?? {};
|
|
@@ -35803,7 +35796,7 @@ function parseSiweMessage(message) {
|
|
|
35803
35796
|
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)?/;
|
|
35804
35797
|
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>.+))?/;
|
|
35805
35798
|
|
|
35806
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
35799
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/utils/siwe/validateSiweMessage.js
|
|
35807
35800
|
init_isAddress();
|
|
35808
35801
|
init_isAddressEqual();
|
|
35809
35802
|
function validateSiweMessage(parameters) {
|
|
@@ -35831,7 +35824,7 @@ function validateSiweMessage(parameters) {
|
|
|
35831
35824
|
return true;
|
|
35832
35825
|
}
|
|
35833
35826
|
|
|
35834
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
35827
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/siwe/verifySiweMessage.js
|
|
35835
35828
|
async function verifySiweMessage(client, parameters) {
|
|
35836
35829
|
const { address, domain, message, nonce, scheme, signature, time: time3 = /* @__PURE__ */ new Date(), ...callRequest } = parameters;
|
|
35837
35830
|
const parsed = parseSiweMessage(message);
|
|
@@ -35856,7 +35849,7 @@ async function verifySiweMessage(client, parameters) {
|
|
|
35856
35849
|
});
|
|
35857
35850
|
}
|
|
35858
35851
|
|
|
35859
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
35852
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/actions/wallet/sendRawTransactionSync.js
|
|
35860
35853
|
init_transaction();
|
|
35861
35854
|
async function sendRawTransactionSync(client, { serializedTransaction, throwOnReceiptRevert, timeout }) {
|
|
35862
35855
|
const receipt = await client.request({
|
|
@@ -35870,7 +35863,7 @@ async function sendRawTransactionSync(client, { serializedTransaction, throwOnRe
|
|
|
35870
35863
|
return formatted;
|
|
35871
35864
|
}
|
|
35872
35865
|
|
|
35873
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
35866
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/clients/decorators/public.js
|
|
35874
35867
|
function publicActions(client) {
|
|
35875
35868
|
return {
|
|
35876
35869
|
call: (args) => call(client, args),
|
|
@@ -35935,7 +35928,7 @@ function publicActions(client) {
|
|
|
35935
35928
|
};
|
|
35936
35929
|
}
|
|
35937
35930
|
|
|
35938
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
35931
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/clients/createPublicClient.js
|
|
35939
35932
|
function createPublicClient(parameters) {
|
|
35940
35933
|
const { key = "public", name = "Public Client" } = parameters;
|
|
35941
35934
|
const client = createClient({
|
|
@@ -35947,7 +35940,7 @@ function createPublicClient(parameters) {
|
|
|
35947
35940
|
return client.extend(publicActions);
|
|
35948
35941
|
}
|
|
35949
35942
|
|
|
35950
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
35943
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/clients/transports/createTransport.js
|
|
35951
35944
|
function createTransport({ key, methods, name, request, retryCount = 3, retryDelay = 150, timeout, type }, value) {
|
|
35952
35945
|
const uid2 = uid();
|
|
35953
35946
|
return {
|
|
@@ -35966,10 +35959,10 @@ function createTransport({ key, methods, name, request, retryCount = 3, retryDel
|
|
|
35966
35959
|
};
|
|
35967
35960
|
}
|
|
35968
35961
|
|
|
35969
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
35962
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/clients/transports/http.js
|
|
35970
35963
|
init_request();
|
|
35971
35964
|
|
|
35972
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
35965
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/errors/transport.js
|
|
35973
35966
|
init_base();
|
|
35974
35967
|
var UrlRequiredError = class extends BaseError2 {
|
|
35975
35968
|
constructor() {
|
|
@@ -35980,7 +35973,7 @@ var UrlRequiredError = class extends BaseError2 {
|
|
|
35980
35973
|
}
|
|
35981
35974
|
};
|
|
35982
35975
|
|
|
35983
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
35976
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/clients/transports/http.js
|
|
35984
35977
|
init_createBatchScheduler();
|
|
35985
35978
|
var signalId = 0;
|
|
35986
35979
|
var signalIds = /* @__PURE__ */ new WeakMap();
|
|
@@ -36057,12 +36050,12 @@ function http(url, config2 = {}) {
|
|
|
36057
36050
|
};
|
|
36058
36051
|
}
|
|
36059
36052
|
|
|
36060
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
36053
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/index.js
|
|
36061
36054
|
init_getAddress();
|
|
36062
36055
|
init_isAddressEqual();
|
|
36063
36056
|
init_formatUnits();
|
|
36064
36057
|
|
|
36065
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
36058
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/op-stack/contracts.js
|
|
36066
36059
|
var contracts = {
|
|
36067
36060
|
gasPriceOracle: { address: "0x420000000000000000000000000000000000000F" },
|
|
36068
36061
|
l1Block: { address: "0x4200000000000000000000000000000000000015" },
|
|
@@ -36076,7 +36069,7 @@ var contracts = {
|
|
|
36076
36069
|
}
|
|
36077
36070
|
};
|
|
36078
36071
|
|
|
36079
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
36072
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/op-stack/serializers.js
|
|
36080
36073
|
init_address();
|
|
36081
36074
|
init_isAddress();
|
|
36082
36075
|
init_concat();
|
|
@@ -36119,7 +36112,7 @@ function assertTransactionDeposit(transaction) {
|
|
|
36119
36112
|
throw new InvalidAddressError({ address: to });
|
|
36120
36113
|
}
|
|
36121
36114
|
|
|
36122
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
36115
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/celo/fees.js
|
|
36123
36116
|
var fees = {
|
|
36124
36117
|
/*
|
|
36125
36118
|
* Estimates the fees per gas for a transaction.
|
|
@@ -36159,11 +36152,11 @@ async function estimateMaxPriorityFeePerGasInFeeCurrency(client, feeCurrency) {
|
|
|
36159
36152
|
return BigInt(feesPerGas);
|
|
36160
36153
|
}
|
|
36161
36154
|
|
|
36162
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
36155
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/celo/formatters.js
|
|
36163
36156
|
init_fromHex();
|
|
36164
36157
|
init_transactionRequest();
|
|
36165
36158
|
|
|
36166
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
36159
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/celo/utils.js
|
|
36167
36160
|
init_trim();
|
|
36168
36161
|
function isEmpty(value) {
|
|
36169
36162
|
return value === 0 || value === 0n || value === void 0 || value === null || value === "0" || value === "" || typeof value === "string" && (trim(value).toLowerCase() === "0x" || trim(value).toLowerCase() === "0x00");
|
|
@@ -36181,7 +36174,7 @@ function isCIP64(transaction) {
|
|
|
36181
36174
|
return isEIP1559(transaction) && isPresent(transaction.feeCurrency);
|
|
36182
36175
|
}
|
|
36183
36176
|
|
|
36184
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
36177
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/celo/formatters.js
|
|
36185
36178
|
var formatters = {
|
|
36186
36179
|
block: /* @__PURE__ */ defineBlock({
|
|
36187
36180
|
format(args) {
|
|
@@ -36236,7 +36229,7 @@ var formatters = {
|
|
|
36236
36229
|
})
|
|
36237
36230
|
};
|
|
36238
36231
|
|
|
36239
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
36232
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/celo/serializers.js
|
|
36240
36233
|
init_number();
|
|
36241
36234
|
init_address();
|
|
36242
36235
|
init_base();
|
|
@@ -36295,7 +36288,7 @@ function assertTransactionCIP64(transaction) {
|
|
|
36295
36288
|
}
|
|
36296
36289
|
}
|
|
36297
36290
|
|
|
36298
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
36291
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/celo/chainConfig.js
|
|
36299
36292
|
var chainConfig = {
|
|
36300
36293
|
blockTime: 1e3,
|
|
36301
36294
|
contracts,
|
|
@@ -36304,7 +36297,7 @@ var chainConfig = {
|
|
|
36304
36297
|
fees
|
|
36305
36298
|
};
|
|
36306
36299
|
|
|
36307
|
-
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.
|
|
36300
|
+
// ../../node_modules/.pnpm/viem@2.53.1_typescript@5.9.3_zod@3.25.76/node_modules/viem/_esm/chains/definitions/celo.js
|
|
36308
36301
|
var celo = /* @__PURE__ */ defineChain({
|
|
36309
36302
|
...chainConfig,
|
|
36310
36303
|
id: 42220,
|
|
@@ -36436,7 +36429,7 @@ function normalizeAddress(value) {
|
|
|
36436
36429
|
try {
|
|
36437
36430
|
return getAddress(value);
|
|
36438
36431
|
} catch {
|
|
36439
|
-
throw new
|
|
36432
|
+
throw new AgentIdError(`Invalid address: ${value}`, ErrorCodes.INVALID_ADDRESS);
|
|
36440
36433
|
}
|
|
36441
36434
|
}
|
|
36442
36435
|
async function getGBalance(wallet) {
|
|
@@ -36456,7 +36449,7 @@ async function getGBalance(wallet) {
|
|
|
36456
36449
|
symbol: "G$"
|
|
36457
36450
|
};
|
|
36458
36451
|
} catch (error2) {
|
|
36459
|
-
throw new
|
|
36452
|
+
throw new AgentIdError(`Failed to read balance: ${error2.message}`, ErrorCodes.RPC_ERROR);
|
|
36460
36453
|
}
|
|
36461
36454
|
}
|
|
36462
36455
|
async function getVerifyStatus(wallet) {
|
|
@@ -36504,7 +36497,7 @@ async function getVerifyStatus(wallet) {
|
|
|
36504
36497
|
expiresAt
|
|
36505
36498
|
};
|
|
36506
36499
|
} catch (error2) {
|
|
36507
|
-
throw new
|
|
36500
|
+
throw new AgentIdError(`Failed to read identity status: ${error2.message}`, ErrorCodes.RPC_ERROR);
|
|
36508
36501
|
}
|
|
36509
36502
|
}
|
|
36510
36503
|
async function getClaimEligibility(wallet) {
|
|
@@ -36537,7 +36530,7 @@ async function getClaimEligibility(wallet) {
|
|
|
36537
36530
|
claimAmountFormatted: formatUnits(amount, G_DOLLAR_DECIMALS)
|
|
36538
36531
|
};
|
|
36539
36532
|
} catch (error2) {
|
|
36540
|
-
throw new
|
|
36533
|
+
throw new AgentIdError(`Failed to read claim eligibility: ${error2.message}`, ErrorCodes.RPC_ERROR);
|
|
36541
36534
|
}
|
|
36542
36535
|
}
|
|
36543
36536
|
async function getDailyStats() {
|
|
@@ -36552,7 +36545,7 @@ async function getDailyStats() {
|
|
|
36552
36545
|
});
|
|
36553
36546
|
return { currentDay: currentDay.toString() };
|
|
36554
36547
|
} catch (error2) {
|
|
36555
|
-
throw new
|
|
36548
|
+
throw new AgentIdError(`Failed to read daily stats: ${error2.message}`, ErrorCodes.RPC_ERROR);
|
|
36556
36549
|
}
|
|
36557
36550
|
}
|
|
36558
36551
|
|
|
@@ -36629,6 +36622,28 @@ async function verifyAgentId(credential, opts) {
|
|
|
36629
36622
|
operator: fields.operator
|
|
36630
36623
|
};
|
|
36631
36624
|
}
|
|
36625
|
+
if (opts.stakeLookup) {
|
|
36626
|
+
const { stake, minStake } = await opts.stakeLookup(fields.agent);
|
|
36627
|
+
if (stake < minStake) {
|
|
36628
|
+
return {
|
|
36629
|
+
valid: false,
|
|
36630
|
+
reason: "insufficient_bond",
|
|
36631
|
+
operator: fields.operator,
|
|
36632
|
+
humanRoot: fields.humanRoot,
|
|
36633
|
+
expiresAt: fields.expiresAt,
|
|
36634
|
+
stake,
|
|
36635
|
+
minStake
|
|
36636
|
+
};
|
|
36637
|
+
}
|
|
36638
|
+
return {
|
|
36639
|
+
valid: true,
|
|
36640
|
+
operator: fields.operator,
|
|
36641
|
+
humanRoot: fields.humanRoot,
|
|
36642
|
+
expiresAt: fields.expiresAt,
|
|
36643
|
+
stake,
|
|
36644
|
+
minStake
|
|
36645
|
+
};
|
|
36646
|
+
}
|
|
36632
36647
|
return {
|
|
36633
36648
|
valid: true,
|
|
36634
36649
|
operator: fields.operator,
|
|
@@ -36639,6 +36654,7 @@ async function verifyAgentId(credential, opts) {
|
|
|
36639
36654
|
|
|
36640
36655
|
// ../agent-id/dist/chain-lookup.js
|
|
36641
36656
|
var GOODDOLLAR_IDENTITY_CELO = "0xC361A6E67822a0EDc17D899227dd9FC50BD62F42";
|
|
36657
|
+
var AGENT_VAULT_CELO = "0x0409042B55e99Df8c0Feb7525A770838f3A47090";
|
|
36642
36658
|
var identityAbi2 = [
|
|
36643
36659
|
{
|
|
36644
36660
|
type: "function",
|
|
@@ -36667,6 +36683,46 @@ function createHumanRootLookup(opts) {
|
|
|
36667
36683
|
};
|
|
36668
36684
|
}
|
|
36669
36685
|
var liveHumanRootLookup = createHumanRootLookup();
|
|
36686
|
+
var agentVaultAbi2 = [
|
|
36687
|
+
{
|
|
36688
|
+
type: "function",
|
|
36689
|
+
name: "stakeOf",
|
|
36690
|
+
stateMutability: "view",
|
|
36691
|
+
inputs: [{ name: "agent", type: "address" }],
|
|
36692
|
+
outputs: [{ name: "amount", type: "uint256" }]
|
|
36693
|
+
},
|
|
36694
|
+
{
|
|
36695
|
+
type: "function",
|
|
36696
|
+
name: "minStake",
|
|
36697
|
+
stateMutability: "view",
|
|
36698
|
+
inputs: [],
|
|
36699
|
+
outputs: [{ name: "", type: "uint256" }]
|
|
36700
|
+
}
|
|
36701
|
+
];
|
|
36702
|
+
function createStakeLookup(opts) {
|
|
36703
|
+
const client = createPublicClient({
|
|
36704
|
+
chain: celo,
|
|
36705
|
+
transport: http(opts?.rpcUrl ?? "https://forno.celo.org")
|
|
36706
|
+
});
|
|
36707
|
+
const vault = opts?.vault ?? AGENT_VAULT_CELO;
|
|
36708
|
+
return async (agent) => {
|
|
36709
|
+
const [stake, minStake] = await Promise.all([
|
|
36710
|
+
client.readContract({
|
|
36711
|
+
address: vault,
|
|
36712
|
+
abi: agentVaultAbi2,
|
|
36713
|
+
functionName: "stakeOf",
|
|
36714
|
+
args: [getAddress(agent)]
|
|
36715
|
+
}),
|
|
36716
|
+
client.readContract({
|
|
36717
|
+
address: vault,
|
|
36718
|
+
abi: agentVaultAbi2,
|
|
36719
|
+
functionName: "minStake"
|
|
36720
|
+
})
|
|
36721
|
+
]);
|
|
36722
|
+
return { stake, minStake };
|
|
36723
|
+
};
|
|
36724
|
+
}
|
|
36725
|
+
var liveStakeLookup = createStakeLookup();
|
|
36670
36726
|
|
|
36671
36727
|
// ../agent-id/dist/serialize.js
|
|
36672
36728
|
function fieldsFromWire(wire) {
|
|
@@ -36693,7 +36749,9 @@ function verifyResultToWire(result) {
|
|
|
36693
36749
|
reason: result.reason,
|
|
36694
36750
|
operator: result.operator,
|
|
36695
36751
|
humanRoot: result.humanRoot,
|
|
36696
|
-
expiresAt: result.expiresAt?.toString()
|
|
36752
|
+
expiresAt: result.expiresAt?.toString(),
|
|
36753
|
+
stake: result.stake?.toString(),
|
|
36754
|
+
minStake: result.minStake?.toString()
|
|
36697
36755
|
};
|
|
36698
36756
|
}
|
|
36699
36757
|
|
|
@@ -36721,7 +36779,7 @@ function jsonResult(payload) {
|
|
|
36721
36779
|
};
|
|
36722
36780
|
}
|
|
36723
36781
|
function errorResult(error2) {
|
|
36724
|
-
const code = error2 instanceof
|
|
36782
|
+
const code = error2 instanceof AgentIdError ? error2.code : "UNKNOWN";
|
|
36725
36783
|
const message = error2 instanceof Error ? error2.message : String(error2);
|
|
36726
36784
|
return {
|
|
36727
36785
|
content: [
|
|
@@ -36736,7 +36794,7 @@ function errorResult(error2) {
|
|
|
36736
36794
|
function requireWallet(args) {
|
|
36737
36795
|
const wallet = args?.wallet;
|
|
36738
36796
|
if (typeof wallet !== "string" || wallet.length === 0) {
|
|
36739
|
-
throw new
|
|
36797
|
+
throw new AgentIdError("Missing required 'wallet' argument.", "BAD_INPUT");
|
|
36740
36798
|
}
|
|
36741
36799
|
return wallet;
|
|
36742
36800
|
}
|
|
@@ -36774,7 +36832,7 @@ function createMcpServer(options = {}) {
|
|
|
36774
36832
|
},
|
|
36775
36833
|
{
|
|
36776
36834
|
name: "gooddollar_verify_agent",
|
|
36777
|
-
description: "Verify a GoodDollar Agent ID \u2014 confirm an AI agent is vouched for by a real, currently-verified GoodDollar human. Pass either an 'agent' address (to look up a stored credential) or a full 'credential' object. Returns validity, the human root, and
|
|
36835
|
+
description: "Verify a GoodDollar Agent ID \u2014 confirm an AI agent is vouched for by a real, currently-verified GoodDollar human AND still carries its required refundable G$ bond on-chain (a withdrawn bond fails with 'insufficient_bond'). Pass either an 'agent' address (to look up a stored credential) or a full 'credential' object. Returns validity, the human root, expiry, and the live bond.",
|
|
36778
36836
|
inputSchema: {
|
|
36779
36837
|
type: "object",
|
|
36780
36838
|
properties: {
|
|
@@ -36829,19 +36887,22 @@ function createMcpServer(options = {}) {
|
|
|
36829
36887
|
});
|
|
36830
36888
|
}
|
|
36831
36889
|
} else {
|
|
36832
|
-
throw new
|
|
36890
|
+
throw new AgentIdError(
|
|
36833
36891
|
"Provide a 'credential' object, or an 'agent' address (address lookup is not available in this context).",
|
|
36834
36892
|
"BAD_INPUT"
|
|
36835
36893
|
);
|
|
36836
36894
|
}
|
|
36837
36895
|
const result = await verifyAgentId(credential, {
|
|
36838
|
-
humanRootLookup: liveHumanRootLookup
|
|
36896
|
+
humanRootLookup: liveHumanRootLookup,
|
|
36897
|
+
// Enforce the live G$ bond too: verification fails with
|
|
36898
|
+
// `insufficient_bond` if the operator withdrew below the minimum.
|
|
36899
|
+
stakeLookup: liveStakeLookup
|
|
36839
36900
|
});
|
|
36840
36901
|
return jsonResult({ found: true, ...verifyResultToWire(result) });
|
|
36841
36902
|
}
|
|
36842
36903
|
default:
|
|
36843
36904
|
return errorResult(
|
|
36844
|
-
new
|
|
36905
|
+
new AgentIdError(`Unknown tool: ${name}`, "UNKNOWN_TOOL")
|
|
36845
36906
|
);
|
|
36846
36907
|
}
|
|
36847
36908
|
} catch (error2) {
|