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