agentcash 0.4.0 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/run-server.cjs +602 -690
- package/dist/esm/{chunk-P42WA7HK.js → chunk-4GFBYNRG.js} +9 -2
- package/dist/esm/{chunk-P42WA7HK.js.map → chunk-4GFBYNRG.js.map} +1 -1
- package/dist/esm/{chunk-SA77G2FD.js → chunk-KQZSZS7X.js} +2 -2
- package/dist/esm/{chunk-32YHLL2C.js → chunk-NJYETKE3.js} +2 -2
- package/dist/esm/chunk-NJYETKE3.js.map +1 -0
- package/dist/esm/{chunk-4LQWOM4E.js → chunk-ZHELH6AF.js} +2 -2
- package/dist/esm/{commands-LLWKNNYS.js → commands-LLSVIODO.js} +7 -6
- package/dist/esm/{commands-LLWKNNYS.js.map → commands-LLSVIODO.js.map} +1 -1
- package/dist/esm/index.js +8 -8
- package/dist/esm/{install-5W2EUVFJ.js → install-SAXO5RA4.js} +2 -2
- package/dist/esm/lib.d.ts +7 -1
- package/dist/esm/lib.js +3 -3
- package/dist/esm/{server-2U24UCUE.js → server-BNARILZR.js} +9 -13
- package/dist/esm/server-BNARILZR.js.map +1 -0
- package/dist/esm/shared/operations/index.d.ts +1 -1
- package/dist/esm/shared/operations/index.js +3 -3
- package/package.json +9 -9
- package/dist/esm/chunk-32YHLL2C.js.map +0 -1
- package/dist/esm/server-2U24UCUE.js.map +0 -1
- /package/dist/esm/{chunk-SA77G2FD.js.map → chunk-KQZSZS7X.js.map} +0 -0
- /package/dist/esm/{chunk-4LQWOM4E.js.map → chunk-ZHELH6AF.js.map} +0 -0
- /package/dist/esm/{install-5W2EUVFJ.js.map → install-SAXO5RA4.js.map} +0 -0
package/dist/cjs/run-server.cjs
CHANGED
|
@@ -6873,7 +6873,7 @@ var require_dist = __commonJS({
|
|
|
6873
6873
|
}
|
|
6874
6874
|
});
|
|
6875
6875
|
|
|
6876
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
6876
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/data/isHex.js
|
|
6877
6877
|
function isHex(value, { strict = true } = {}) {
|
|
6878
6878
|
if (!value)
|
|
6879
6879
|
return false;
|
|
@@ -6882,37 +6882,37 @@ function isHex(value, { strict = true } = {}) {
|
|
|
6882
6882
|
return strict ? /^0x[0-9a-fA-F]*$/.test(value) : value.startsWith("0x");
|
|
6883
6883
|
}
|
|
6884
6884
|
var init_isHex = __esm({
|
|
6885
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
6885
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/data/isHex.js"() {
|
|
6886
6886
|
"use strict";
|
|
6887
6887
|
init_cjs_shims();
|
|
6888
6888
|
}
|
|
6889
6889
|
});
|
|
6890
6890
|
|
|
6891
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
6891
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/data/size.js
|
|
6892
6892
|
function size(value) {
|
|
6893
6893
|
if (isHex(value, { strict: false }))
|
|
6894
6894
|
return Math.ceil((value.length - 2) / 2);
|
|
6895
6895
|
return value.length;
|
|
6896
6896
|
}
|
|
6897
6897
|
var init_size = __esm({
|
|
6898
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
6898
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/data/size.js"() {
|
|
6899
6899
|
"use strict";
|
|
6900
6900
|
init_cjs_shims();
|
|
6901
6901
|
init_isHex();
|
|
6902
6902
|
}
|
|
6903
6903
|
});
|
|
6904
6904
|
|
|
6905
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
6905
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/version.js
|
|
6906
6906
|
var version2;
|
|
6907
6907
|
var init_version = __esm({
|
|
6908
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
6908
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/version.js"() {
|
|
6909
6909
|
"use strict";
|
|
6910
6910
|
init_cjs_shims();
|
|
6911
|
-
version2 = "2.
|
|
6911
|
+
version2 = "2.46.1";
|
|
6912
6912
|
}
|
|
6913
6913
|
});
|
|
6914
6914
|
|
|
6915
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
6915
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/base.js
|
|
6916
6916
|
function walk(err3, fn) {
|
|
6917
6917
|
if (fn?.(err3))
|
|
6918
6918
|
return err3;
|
|
@@ -6922,7 +6922,7 @@ function walk(err3, fn) {
|
|
|
6922
6922
|
}
|
|
6923
6923
|
var errorConfig, BaseError;
|
|
6924
6924
|
var init_base = __esm({
|
|
6925
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
6925
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/base.js"() {
|
|
6926
6926
|
"use strict";
|
|
6927
6927
|
init_cjs_shims();
|
|
6928
6928
|
init_version();
|
|
@@ -7004,10 +7004,10 @@ var init_base = __esm({
|
|
|
7004
7004
|
}
|
|
7005
7005
|
});
|
|
7006
7006
|
|
|
7007
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
7007
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/data.js
|
|
7008
7008
|
var SizeExceedsPaddingSizeError;
|
|
7009
7009
|
var init_data = __esm({
|
|
7010
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
7010
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/data.js"() {
|
|
7011
7011
|
"use strict";
|
|
7012
7012
|
init_cjs_shims();
|
|
7013
7013
|
init_base();
|
|
@@ -7019,7 +7019,7 @@ var init_data = __esm({
|
|
|
7019
7019
|
}
|
|
7020
7020
|
});
|
|
7021
7021
|
|
|
7022
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
7022
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/data/pad.js
|
|
7023
7023
|
function pad(hexOrBytes, { dir, size: size6 = 32 } = {}) {
|
|
7024
7024
|
if (typeof hexOrBytes === "string")
|
|
7025
7025
|
return padHex(hexOrBytes, { dir, size: size6 });
|
|
@@ -7054,17 +7054,17 @@ function padBytes(bytes, { dir, size: size6 = 32 } = {}) {
|
|
|
7054
7054
|
return paddedBytes;
|
|
7055
7055
|
}
|
|
7056
7056
|
var init_pad = __esm({
|
|
7057
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
7057
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/data/pad.js"() {
|
|
7058
7058
|
"use strict";
|
|
7059
7059
|
init_cjs_shims();
|
|
7060
7060
|
init_data();
|
|
7061
7061
|
}
|
|
7062
7062
|
});
|
|
7063
7063
|
|
|
7064
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
7064
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/encoding.js
|
|
7065
7065
|
var IntegerOutOfRangeError, SizeOverflowError;
|
|
7066
7066
|
var init_encoding = __esm({
|
|
7067
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
7067
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/encoding.js"() {
|
|
7068
7068
|
"use strict";
|
|
7069
7069
|
init_cjs_shims();
|
|
7070
7070
|
init_base();
|
|
@@ -7081,7 +7081,7 @@ var init_encoding = __esm({
|
|
|
7081
7081
|
}
|
|
7082
7082
|
});
|
|
7083
7083
|
|
|
7084
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
7084
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/encoding/fromHex.js
|
|
7085
7085
|
function assertSize(hexOrBytes, { size: size6 }) {
|
|
7086
7086
|
if (size(hexOrBytes) > size6)
|
|
7087
7087
|
throw new SizeOverflowError({
|
|
@@ -7090,7 +7090,7 @@ function assertSize(hexOrBytes, { size: size6 }) {
|
|
|
7090
7090
|
});
|
|
7091
7091
|
}
|
|
7092
7092
|
var init_fromHex = __esm({
|
|
7093
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
7093
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/encoding/fromHex.js"() {
|
|
7094
7094
|
"use strict";
|
|
7095
7095
|
init_cjs_shims();
|
|
7096
7096
|
init_encoding();
|
|
@@ -7098,7 +7098,7 @@ var init_fromHex = __esm({
|
|
|
7098
7098
|
}
|
|
7099
7099
|
});
|
|
7100
7100
|
|
|
7101
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
7101
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/encoding/toHex.js
|
|
7102
7102
|
function toHex(value, opts = {}) {
|
|
7103
7103
|
if (typeof value === "number" || typeof value === "bigint")
|
|
7104
7104
|
return numberToHex(value, opts);
|
|
@@ -7163,7 +7163,7 @@ function stringToHex(value_, opts = {}) {
|
|
|
7163
7163
|
}
|
|
7164
7164
|
var hexes, encoder;
|
|
7165
7165
|
var init_toHex = __esm({
|
|
7166
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
7166
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/encoding/toHex.js"() {
|
|
7167
7167
|
"use strict";
|
|
7168
7168
|
init_cjs_shims();
|
|
7169
7169
|
init_encoding();
|
|
@@ -7174,7 +7174,7 @@ var init_toHex = __esm({
|
|
|
7174
7174
|
}
|
|
7175
7175
|
});
|
|
7176
7176
|
|
|
7177
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
7177
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/encoding/toBytes.js
|
|
7178
7178
|
function toBytes(value, opts = {}) {
|
|
7179
7179
|
if (typeof value === "number" || typeof value === "bigint")
|
|
7180
7180
|
return numberToBytes(value, opts);
|
|
@@ -7237,7 +7237,7 @@ function stringToBytes(value, opts = {}) {
|
|
|
7237
7237
|
}
|
|
7238
7238
|
var encoder2, charCodeMap;
|
|
7239
7239
|
var init_toBytes = __esm({
|
|
7240
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
7240
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/encoding/toBytes.js"() {
|
|
7241
7241
|
"use strict";
|
|
7242
7242
|
init_cjs_shims();
|
|
7243
7243
|
init_base();
|
|
@@ -7619,7 +7619,7 @@ var init_sha3 = __esm({
|
|
|
7619
7619
|
}
|
|
7620
7620
|
});
|
|
7621
7621
|
|
|
7622
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
7622
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/keccak256.js
|
|
7623
7623
|
function keccak256(value, to_) {
|
|
7624
7624
|
const to2 = to_ || "hex";
|
|
7625
7625
|
const bytes = keccak_256(isHex(value, { strict: false }) ? toBytes(value) : value);
|
|
@@ -7628,7 +7628,7 @@ function keccak256(value, to_) {
|
|
|
7628
7628
|
return toHex(bytes);
|
|
7629
7629
|
}
|
|
7630
7630
|
var init_keccak256 = __esm({
|
|
7631
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
7631
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/keccak256.js"() {
|
|
7632
7632
|
"use strict";
|
|
7633
7633
|
init_cjs_shims();
|
|
7634
7634
|
init_sha3();
|
|
@@ -7638,10 +7638,10 @@ var init_keccak256 = __esm({
|
|
|
7638
7638
|
}
|
|
7639
7639
|
});
|
|
7640
7640
|
|
|
7641
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
7641
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/address.js
|
|
7642
7642
|
var InvalidAddressError;
|
|
7643
7643
|
var init_address = __esm({
|
|
7644
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
7644
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/address.js"() {
|
|
7645
7645
|
"use strict";
|
|
7646
7646
|
init_cjs_shims();
|
|
7647
7647
|
init_base();
|
|
@@ -7659,10 +7659,10 @@ var init_address = __esm({
|
|
|
7659
7659
|
}
|
|
7660
7660
|
});
|
|
7661
7661
|
|
|
7662
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
7662
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/lru.js
|
|
7663
7663
|
var LruMap;
|
|
7664
7664
|
var init_lru = __esm({
|
|
7665
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
7665
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/lru.js"() {
|
|
7666
7666
|
"use strict";
|
|
7667
7667
|
init_cjs_shims();
|
|
7668
7668
|
LruMap = class extends Map {
|
|
@@ -7697,7 +7697,7 @@ var init_lru = __esm({
|
|
|
7697
7697
|
}
|
|
7698
7698
|
});
|
|
7699
7699
|
|
|
7700
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
7700
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/address/getAddress.js
|
|
7701
7701
|
function checksumAddress(address_, chainId) {
|
|
7702
7702
|
if (checksumAddressCache.has(`${address_}.${chainId}`))
|
|
7703
7703
|
return checksumAddressCache.get(`${address_}.${chainId}`);
|
|
@@ -7723,7 +7723,7 @@ function getAddress(address, chainId) {
|
|
|
7723
7723
|
}
|
|
7724
7724
|
var checksumAddressCache;
|
|
7725
7725
|
var init_getAddress = __esm({
|
|
7726
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
7726
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/address/getAddress.js"() {
|
|
7727
7727
|
"use strict";
|
|
7728
7728
|
init_cjs_shims();
|
|
7729
7729
|
init_address();
|
|
@@ -7735,7 +7735,7 @@ var init_getAddress = __esm({
|
|
|
7735
7735
|
}
|
|
7736
7736
|
});
|
|
7737
7737
|
|
|
7738
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
7738
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/address/isAddress.js
|
|
7739
7739
|
function isAddress(address, options) {
|
|
7740
7740
|
const { strict = true } = options ?? {};
|
|
7741
7741
|
const cacheKey2 = `${address}.${strict}`;
|
|
@@ -7755,7 +7755,7 @@ function isAddress(address, options) {
|
|
|
7755
7755
|
}
|
|
7756
7756
|
var addressRegex, isAddressCache;
|
|
7757
7757
|
var init_isAddress = __esm({
|
|
7758
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
7758
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/address/isAddress.js"() {
|
|
7759
7759
|
"use strict";
|
|
7760
7760
|
init_cjs_shims();
|
|
7761
7761
|
init_lru();
|
|
@@ -8442,7 +8442,7 @@ function createHmacDrbg(hashLen, qByteLen, hmacFn) {
|
|
|
8442
8442
|
let v = u8n(hashLen);
|
|
8443
8443
|
let k = u8n(hashLen);
|
|
8444
8444
|
let i = 0;
|
|
8445
|
-
const
|
|
8445
|
+
const reset = () => {
|
|
8446
8446
|
v.fill(1);
|
|
8447
8447
|
k.fill(0);
|
|
8448
8448
|
i = 0;
|
|
@@ -8470,12 +8470,12 @@ function createHmacDrbg(hashLen, qByteLen, hmacFn) {
|
|
|
8470
8470
|
return concatBytes2(...out);
|
|
8471
8471
|
};
|
|
8472
8472
|
const genUntil = (seed, pred) => {
|
|
8473
|
-
|
|
8473
|
+
reset();
|
|
8474
8474
|
reseed(seed);
|
|
8475
8475
|
let res = void 0;
|
|
8476
8476
|
while (!(res = pred(gen2())))
|
|
8477
8477
|
reseed();
|
|
8478
|
-
|
|
8478
|
+
reset();
|
|
8479
8479
|
return res;
|
|
8480
8480
|
};
|
|
8481
8481
|
return genUntil;
|
|
@@ -10145,8 +10145,8 @@ function getHash(hash7) {
|
|
|
10145
10145
|
};
|
|
10146
10146
|
}
|
|
10147
10147
|
function createCurve(curveDef, defHash) {
|
|
10148
|
-
const
|
|
10149
|
-
return { ...
|
|
10148
|
+
const create5 = (hash7) => weierstrass({ ...curveDef, ...getHash(hash7) });
|
|
10149
|
+
return { ...create5(defHash), create: create5 };
|
|
10150
10150
|
}
|
|
10151
10151
|
var init_shortw_utils = __esm({
|
|
10152
10152
|
"../../../node_modules/.pnpm/@noble+curves@1.9.1/node_modules/@noble/curves/esm/_shortw_utils.js"() {
|
|
@@ -12409,7 +12409,7 @@ var init_BlockOverrides = __esm({
|
|
|
12409
12409
|
}
|
|
12410
12410
|
});
|
|
12411
12411
|
|
|
12412
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
12412
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/formatAbiItem.js
|
|
12413
12413
|
function formatAbiItem2(abiItem, { includeName = false } = {}) {
|
|
12414
12414
|
if (abiItem.type !== "function" && abiItem.type !== "event" && abiItem.type !== "error")
|
|
12415
12415
|
throw new InvalidDefinitionTypeError(abiItem.type);
|
|
@@ -12427,14 +12427,14 @@ function formatAbiParam(param, { includeName }) {
|
|
|
12427
12427
|
return param.type + (includeName && param.name ? ` ${param.name}` : "");
|
|
12428
12428
|
}
|
|
12429
12429
|
var init_formatAbiItem2 = __esm({
|
|
12430
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
12430
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/formatAbiItem.js"() {
|
|
12431
12431
|
"use strict";
|
|
12432
12432
|
init_cjs_shims();
|
|
12433
12433
|
init_abi();
|
|
12434
12434
|
}
|
|
12435
12435
|
});
|
|
12436
12436
|
|
|
12437
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
12437
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/data/isHex.js
|
|
12438
12438
|
function isHex2(value, { strict = true } = {}) {
|
|
12439
12439
|
if (!value)
|
|
12440
12440
|
return false;
|
|
@@ -12443,37 +12443,37 @@ function isHex2(value, { strict = true } = {}) {
|
|
|
12443
12443
|
return strict ? /^0x[0-9a-fA-F]*$/.test(value) : value.startsWith("0x");
|
|
12444
12444
|
}
|
|
12445
12445
|
var init_isHex2 = __esm({
|
|
12446
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
12446
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/data/isHex.js"() {
|
|
12447
12447
|
"use strict";
|
|
12448
12448
|
init_cjs_shims();
|
|
12449
12449
|
}
|
|
12450
12450
|
});
|
|
12451
12451
|
|
|
12452
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
12452
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/data/size.js
|
|
12453
12453
|
function size4(value) {
|
|
12454
12454
|
if (isHex2(value, { strict: false }))
|
|
12455
12455
|
return Math.ceil((value.length - 2) / 2);
|
|
12456
12456
|
return value.length;
|
|
12457
12457
|
}
|
|
12458
12458
|
var init_size2 = __esm({
|
|
12459
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
12459
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/data/size.js"() {
|
|
12460
12460
|
"use strict";
|
|
12461
12461
|
init_cjs_shims();
|
|
12462
12462
|
init_isHex2();
|
|
12463
12463
|
}
|
|
12464
12464
|
});
|
|
12465
12465
|
|
|
12466
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
12466
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/version.js
|
|
12467
12467
|
var version5;
|
|
12468
12468
|
var init_version4 = __esm({
|
|
12469
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
12469
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/version.js"() {
|
|
12470
12470
|
"use strict";
|
|
12471
12471
|
init_cjs_shims();
|
|
12472
|
-
version5 = "2.
|
|
12472
|
+
version5 = "2.46.1";
|
|
12473
12473
|
}
|
|
12474
12474
|
});
|
|
12475
12475
|
|
|
12476
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
12476
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/base.js
|
|
12477
12477
|
function walk3(err3, fn) {
|
|
12478
12478
|
if (fn?.(err3))
|
|
12479
12479
|
return err3;
|
|
@@ -12483,7 +12483,7 @@ function walk3(err3, fn) {
|
|
|
12483
12483
|
}
|
|
12484
12484
|
var errorConfig2, BaseError4;
|
|
12485
12485
|
var init_base2 = __esm({
|
|
12486
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
12486
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/base.js"() {
|
|
12487
12487
|
"use strict";
|
|
12488
12488
|
init_cjs_shims();
|
|
12489
12489
|
init_version4();
|
|
@@ -12565,10 +12565,10 @@ var init_base2 = __esm({
|
|
|
12565
12565
|
}
|
|
12566
12566
|
});
|
|
12567
12567
|
|
|
12568
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
12568
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/abi.js
|
|
12569
12569
|
var AbiConstructorNotFoundError, AbiConstructorParamsNotFoundError, AbiDecodingDataSizeTooSmallError, AbiDecodingZeroDataError, AbiEncodingArrayLengthMismatchError, AbiEncodingBytesSizeMismatchError, AbiEncodingLengthMismatchError, AbiErrorInputsNotFoundError, AbiErrorNotFoundError, AbiErrorSignatureNotFoundError, AbiEventSignatureEmptyTopicsError, AbiEventSignatureNotFoundError, AbiEventNotFoundError, AbiFunctionNotFoundError, AbiFunctionOutputsNotFoundError, AbiFunctionSignatureNotFoundError, AbiItemAmbiguityError, BytesSizeMismatchError2, DecodeLogDataMismatch, DecodeLogTopicsMismatch, InvalidAbiEncodingTypeError, InvalidAbiDecodingTypeError, InvalidArrayError2, InvalidDefinitionTypeError;
|
|
12570
12570
|
var init_abi = __esm({
|
|
12571
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
12571
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/abi.js"() {
|
|
12572
12572
|
"use strict";
|
|
12573
12573
|
init_cjs_shims();
|
|
12574
12574
|
init_formatAbiItem2();
|
|
@@ -12876,10 +12876,10 @@ var init_abi = __esm({
|
|
|
12876
12876
|
}
|
|
12877
12877
|
});
|
|
12878
12878
|
|
|
12879
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
12879
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/data.js
|
|
12880
12880
|
var SliceOffsetOutOfBoundsError3, SizeExceedsPaddingSizeError4, InvalidBytesLengthError;
|
|
12881
12881
|
var init_data2 = __esm({
|
|
12882
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
12882
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/data.js"() {
|
|
12883
12883
|
"use strict";
|
|
12884
12884
|
init_cjs_shims();
|
|
12885
12885
|
init_base2();
|
|
@@ -12901,7 +12901,7 @@ var init_data2 = __esm({
|
|
|
12901
12901
|
}
|
|
12902
12902
|
});
|
|
12903
12903
|
|
|
12904
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
12904
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/data/pad.js
|
|
12905
12905
|
function pad4(hexOrBytes, { dir, size: size6 = 32 } = {}) {
|
|
12906
12906
|
if (typeof hexOrBytes === "string")
|
|
12907
12907
|
return padHex2(hexOrBytes, { dir, size: size6 });
|
|
@@ -12936,17 +12936,17 @@ function padBytes2(bytes, { dir, size: size6 = 32 } = {}) {
|
|
|
12936
12936
|
return paddedBytes;
|
|
12937
12937
|
}
|
|
12938
12938
|
var init_pad2 = __esm({
|
|
12939
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
12939
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/data/pad.js"() {
|
|
12940
12940
|
"use strict";
|
|
12941
12941
|
init_cjs_shims();
|
|
12942
12942
|
init_data2();
|
|
12943
12943
|
}
|
|
12944
12944
|
});
|
|
12945
12945
|
|
|
12946
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
12946
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/encoding.js
|
|
12947
12947
|
var IntegerOutOfRangeError3, InvalidBytesBooleanError2, InvalidHexBooleanError3, SizeOverflowError4;
|
|
12948
12948
|
var init_encoding2 = __esm({
|
|
12949
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
12949
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/encoding.js"() {
|
|
12950
12950
|
"use strict";
|
|
12951
12951
|
init_cjs_shims();
|
|
12952
12952
|
init_base2();
|
|
@@ -12975,7 +12975,7 @@ var init_encoding2 = __esm({
|
|
|
12975
12975
|
}
|
|
12976
12976
|
});
|
|
12977
12977
|
|
|
12978
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
12978
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/data/trim.js
|
|
12979
12979
|
function trim3(hexOrBytes, { dir = "left" } = {}) {
|
|
12980
12980
|
let data = typeof hexOrBytes === "string" ? hexOrBytes.replace("0x", "") : hexOrBytes;
|
|
12981
12981
|
let sliceLength = 0;
|
|
@@ -12994,13 +12994,13 @@ function trim3(hexOrBytes, { dir = "left" } = {}) {
|
|
|
12994
12994
|
return data;
|
|
12995
12995
|
}
|
|
12996
12996
|
var init_trim = __esm({
|
|
12997
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
12997
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/data/trim.js"() {
|
|
12998
12998
|
"use strict";
|
|
12999
12999
|
init_cjs_shims();
|
|
13000
13000
|
}
|
|
13001
13001
|
});
|
|
13002
13002
|
|
|
13003
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
13003
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/encoding/fromHex.js
|
|
13004
13004
|
function assertSize4(hexOrBytes, { size: size6 }) {
|
|
13005
13005
|
if (size4(hexOrBytes) > size6)
|
|
13006
13006
|
throw new SizeOverflowError4({
|
|
@@ -13047,7 +13047,7 @@ function hexToNumber2(hex4, opts = {}) {
|
|
|
13047
13047
|
return number6;
|
|
13048
13048
|
}
|
|
13049
13049
|
var init_fromHex2 = __esm({
|
|
13050
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
13050
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/encoding/fromHex.js"() {
|
|
13051
13051
|
"use strict";
|
|
13052
13052
|
init_cjs_shims();
|
|
13053
13053
|
init_encoding2();
|
|
@@ -13056,7 +13056,7 @@ var init_fromHex2 = __esm({
|
|
|
13056
13056
|
}
|
|
13057
13057
|
});
|
|
13058
13058
|
|
|
13059
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
13059
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/encoding/toHex.js
|
|
13060
13060
|
function toHex7(value, opts = {}) {
|
|
13061
13061
|
if (typeof value === "number" || typeof value === "bigint")
|
|
13062
13062
|
return numberToHex2(value, opts);
|
|
@@ -13121,7 +13121,7 @@ function stringToHex2(value_, opts = {}) {
|
|
|
13121
13121
|
}
|
|
13122
13122
|
var hexes4, encoder6;
|
|
13123
13123
|
var init_toHex2 = __esm({
|
|
13124
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
13124
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/encoding/toHex.js"() {
|
|
13125
13125
|
"use strict";
|
|
13126
13126
|
init_cjs_shims();
|
|
13127
13127
|
init_encoding2();
|
|
@@ -13132,7 +13132,7 @@ var init_toHex2 = __esm({
|
|
|
13132
13132
|
}
|
|
13133
13133
|
});
|
|
13134
13134
|
|
|
13135
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
13135
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/encoding/toBytes.js
|
|
13136
13136
|
function toBytes7(value, opts = {}) {
|
|
13137
13137
|
if (typeof value === "number" || typeof value === "bigint")
|
|
13138
13138
|
return numberToBytes2(value, opts);
|
|
@@ -13195,7 +13195,7 @@ function stringToBytes2(value, opts = {}) {
|
|
|
13195
13195
|
}
|
|
13196
13196
|
var encoder7, charCodeMap3;
|
|
13197
13197
|
var init_toBytes2 = __esm({
|
|
13198
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
13198
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/encoding/toBytes.js"() {
|
|
13199
13199
|
"use strict";
|
|
13200
13200
|
init_cjs_shims();
|
|
13201
13201
|
init_base2();
|
|
@@ -13215,7 +13215,7 @@ var init_toBytes2 = __esm({
|
|
|
13215
13215
|
}
|
|
13216
13216
|
});
|
|
13217
13217
|
|
|
13218
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
13218
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/hash/keccak256.js
|
|
13219
13219
|
function keccak2563(value, to_) {
|
|
13220
13220
|
const to2 = to_ || "hex";
|
|
13221
13221
|
const bytes = keccak_256(isHex2(value, { strict: false }) ? toBytes7(value) : value);
|
|
@@ -13224,7 +13224,7 @@ function keccak2563(value, to_) {
|
|
|
13224
13224
|
return toHex7(bytes);
|
|
13225
13225
|
}
|
|
13226
13226
|
var init_keccak2562 = __esm({
|
|
13227
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
13227
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/hash/keccak256.js"() {
|
|
13228
13228
|
"use strict";
|
|
13229
13229
|
init_cjs_shims();
|
|
13230
13230
|
init_sha3();
|
|
@@ -13234,13 +13234,13 @@ var init_keccak2562 = __esm({
|
|
|
13234
13234
|
}
|
|
13235
13235
|
});
|
|
13236
13236
|
|
|
13237
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
13237
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/hash/hashSignature.js
|
|
13238
13238
|
function hashSignature(sig) {
|
|
13239
13239
|
return hash5(sig);
|
|
13240
13240
|
}
|
|
13241
13241
|
var hash5;
|
|
13242
13242
|
var init_hashSignature = __esm({
|
|
13243
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
13243
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/hash/hashSignature.js"() {
|
|
13244
13244
|
"use strict";
|
|
13245
13245
|
init_cjs_shims();
|
|
13246
13246
|
init_toBytes2();
|
|
@@ -13249,7 +13249,7 @@ var init_hashSignature = __esm({
|
|
|
13249
13249
|
}
|
|
13250
13250
|
});
|
|
13251
13251
|
|
|
13252
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
13252
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/hash/normalizeSignature.js
|
|
13253
13253
|
function normalizeSignature(signature2) {
|
|
13254
13254
|
let active = true;
|
|
13255
13255
|
let current = "";
|
|
@@ -13293,17 +13293,17 @@ function normalizeSignature(signature2) {
|
|
|
13293
13293
|
return result;
|
|
13294
13294
|
}
|
|
13295
13295
|
var init_normalizeSignature = __esm({
|
|
13296
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
13296
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/hash/normalizeSignature.js"() {
|
|
13297
13297
|
"use strict";
|
|
13298
13298
|
init_cjs_shims();
|
|
13299
13299
|
init_base2();
|
|
13300
13300
|
}
|
|
13301
13301
|
});
|
|
13302
13302
|
|
|
13303
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
13303
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/hash/toSignature.js
|
|
13304
13304
|
var toSignature;
|
|
13305
13305
|
var init_toSignature = __esm({
|
|
13306
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
13306
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/hash/toSignature.js"() {
|
|
13307
13307
|
"use strict";
|
|
13308
13308
|
init_cjs_shims();
|
|
13309
13309
|
init_exports();
|
|
@@ -13319,12 +13319,12 @@ var init_toSignature = __esm({
|
|
|
13319
13319
|
}
|
|
13320
13320
|
});
|
|
13321
13321
|
|
|
13322
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
13322
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/hash/toSignatureHash.js
|
|
13323
13323
|
function toSignatureHash(fn) {
|
|
13324
13324
|
return hashSignature(toSignature(fn));
|
|
13325
13325
|
}
|
|
13326
13326
|
var init_toSignatureHash = __esm({
|
|
13327
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
13327
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/hash/toSignatureHash.js"() {
|
|
13328
13328
|
"use strict";
|
|
13329
13329
|
init_cjs_shims();
|
|
13330
13330
|
init_hashSignature();
|
|
@@ -13332,10 +13332,10 @@ var init_toSignatureHash = __esm({
|
|
|
13332
13332
|
}
|
|
13333
13333
|
});
|
|
13334
13334
|
|
|
13335
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
13335
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/hash/toEventSelector.js
|
|
13336
13336
|
var toEventSelector;
|
|
13337
13337
|
var init_toEventSelector = __esm({
|
|
13338
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
13338
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/hash/toEventSelector.js"() {
|
|
13339
13339
|
"use strict";
|
|
13340
13340
|
init_cjs_shims();
|
|
13341
13341
|
init_toSignatureHash();
|
|
@@ -13343,10 +13343,10 @@ var init_toEventSelector = __esm({
|
|
|
13343
13343
|
}
|
|
13344
13344
|
});
|
|
13345
13345
|
|
|
13346
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
13346
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/address.js
|
|
13347
13347
|
var InvalidAddressError3;
|
|
13348
13348
|
var init_address2 = __esm({
|
|
13349
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
13349
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/address.js"() {
|
|
13350
13350
|
"use strict";
|
|
13351
13351
|
init_cjs_shims();
|
|
13352
13352
|
init_base2();
|
|
@@ -13364,10 +13364,10 @@ var init_address2 = __esm({
|
|
|
13364
13364
|
}
|
|
13365
13365
|
});
|
|
13366
13366
|
|
|
13367
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
13367
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/lru.js
|
|
13368
13368
|
var LruMap3;
|
|
13369
13369
|
var init_lru2 = __esm({
|
|
13370
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
13370
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/lru.js"() {
|
|
13371
13371
|
"use strict";
|
|
13372
13372
|
init_cjs_shims();
|
|
13373
13373
|
LruMap3 = class extends Map {
|
|
@@ -13402,7 +13402,7 @@ var init_lru2 = __esm({
|
|
|
13402
13402
|
}
|
|
13403
13403
|
});
|
|
13404
13404
|
|
|
13405
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
13405
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/address/getAddress.js
|
|
13406
13406
|
function checksumAddress2(address_, chainId) {
|
|
13407
13407
|
if (checksumAddressCache2.has(`${address_}.${chainId}`))
|
|
13408
13408
|
return checksumAddressCache2.get(`${address_}.${chainId}`);
|
|
@@ -13428,7 +13428,7 @@ function getAddress2(address, chainId) {
|
|
|
13428
13428
|
}
|
|
13429
13429
|
var checksumAddressCache2;
|
|
13430
13430
|
var init_getAddress2 = __esm({
|
|
13431
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
13431
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/address/getAddress.js"() {
|
|
13432
13432
|
"use strict";
|
|
13433
13433
|
init_cjs_shims();
|
|
13434
13434
|
init_address2();
|
|
@@ -13440,7 +13440,7 @@ var init_getAddress2 = __esm({
|
|
|
13440
13440
|
}
|
|
13441
13441
|
});
|
|
13442
13442
|
|
|
13443
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
13443
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/address/isAddress.js
|
|
13444
13444
|
function isAddress2(address, options) {
|
|
13445
13445
|
const { strict = true } = options ?? {};
|
|
13446
13446
|
const cacheKey2 = `${address}.${strict}`;
|
|
@@ -13460,7 +13460,7 @@ function isAddress2(address, options) {
|
|
|
13460
13460
|
}
|
|
13461
13461
|
var addressRegex3, isAddressCache2;
|
|
13462
13462
|
var init_isAddress2 = __esm({
|
|
13463
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
13463
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/address/isAddress.js"() {
|
|
13464
13464
|
"use strict";
|
|
13465
13465
|
init_cjs_shims();
|
|
13466
13466
|
init_lru2();
|
|
@@ -13470,7 +13470,7 @@ var init_isAddress2 = __esm({
|
|
|
13470
13470
|
}
|
|
13471
13471
|
});
|
|
13472
13472
|
|
|
13473
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
13473
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/data/concat.js
|
|
13474
13474
|
function concat3(values) {
|
|
13475
13475
|
if (typeof values[0] === "string")
|
|
13476
13476
|
return concatHex(values);
|
|
@@ -13493,13 +13493,13 @@ function concatHex(values) {
|
|
|
13493
13493
|
return `0x${values.reduce((acc, x) => acc + x.replace("0x", ""), "")}`;
|
|
13494
13494
|
}
|
|
13495
13495
|
var init_concat = __esm({
|
|
13496
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
13496
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/data/concat.js"() {
|
|
13497
13497
|
"use strict";
|
|
13498
13498
|
init_cjs_shims();
|
|
13499
13499
|
}
|
|
13500
13500
|
});
|
|
13501
13501
|
|
|
13502
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
13502
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/data/slice.js
|
|
13503
13503
|
function slice3(value, start, end, { strict } = {}) {
|
|
13504
13504
|
if (isHex2(value, { strict: false }))
|
|
13505
13505
|
return sliceHex(value, start, end, {
|
|
@@ -13541,7 +13541,7 @@ function sliceHex(value_, start, end, { strict } = {}) {
|
|
|
13541
13541
|
return value;
|
|
13542
13542
|
}
|
|
13543
13543
|
var init_slice = __esm({
|
|
13544
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
13544
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/data/slice.js"() {
|
|
13545
13545
|
"use strict";
|
|
13546
13546
|
init_cjs_shims();
|
|
13547
13547
|
init_data2();
|
|
@@ -13550,10 +13550,10 @@ var init_slice = __esm({
|
|
|
13550
13550
|
}
|
|
13551
13551
|
});
|
|
13552
13552
|
|
|
13553
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
13553
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/regex.js
|
|
13554
13554
|
var bytesRegex3, integerRegex3;
|
|
13555
13555
|
var init_regex2 = __esm({
|
|
13556
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
13556
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/regex.js"() {
|
|
13557
13557
|
"use strict";
|
|
13558
13558
|
init_cjs_shims();
|
|
13559
13559
|
bytesRegex3 = /^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/;
|
|
@@ -13561,7 +13561,7 @@ var init_regex2 = __esm({
|
|
|
13561
13561
|
}
|
|
13562
13562
|
});
|
|
13563
13563
|
|
|
13564
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
13564
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/encodeAbiParameters.js
|
|
13565
13565
|
function encodeAbiParameters(params, values) {
|
|
13566
13566
|
if (params.length !== values.length)
|
|
13567
13567
|
throw new AbiEncodingLengthMismatchError({
|
|
@@ -13775,7 +13775,7 @@ function getArrayComponents2(type4) {
|
|
|
13775
13775
|
) : void 0;
|
|
13776
13776
|
}
|
|
13777
13777
|
var init_encodeAbiParameters = __esm({
|
|
13778
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
13778
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/encodeAbiParameters.js"() {
|
|
13779
13779
|
"use strict";
|
|
13780
13780
|
init_cjs_shims();
|
|
13781
13781
|
init_abi();
|
|
@@ -13792,10 +13792,10 @@ var init_encodeAbiParameters = __esm({
|
|
|
13792
13792
|
}
|
|
13793
13793
|
});
|
|
13794
13794
|
|
|
13795
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
13795
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/hash/toFunctionSelector.js
|
|
13796
13796
|
var toFunctionSelector;
|
|
13797
13797
|
var init_toFunctionSelector = __esm({
|
|
13798
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
13798
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/hash/toFunctionSelector.js"() {
|
|
13799
13799
|
"use strict";
|
|
13800
13800
|
init_cjs_shims();
|
|
13801
13801
|
init_slice();
|
|
@@ -13804,7 +13804,7 @@ var init_toFunctionSelector = __esm({
|
|
|
13804
13804
|
}
|
|
13805
13805
|
});
|
|
13806
13806
|
|
|
13807
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
13807
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/getAbiItem.js
|
|
13808
13808
|
function getAbiItem(parameters) {
|
|
13809
13809
|
const { abi, args = [], name } = parameters;
|
|
13810
13810
|
const isSelector = isHex2(name, { strict: false });
|
|
@@ -13916,7 +13916,7 @@ function getAmbiguousTypes(sourceParameters, targetParameters, args) {
|
|
|
13916
13916
|
return;
|
|
13917
13917
|
}
|
|
13918
13918
|
var init_getAbiItem = __esm({
|
|
13919
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
13919
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/getAbiItem.js"() {
|
|
13920
13920
|
"use strict";
|
|
13921
13921
|
init_cjs_shims();
|
|
13922
13922
|
init_abi();
|
|
@@ -13927,20 +13927,20 @@ var init_getAbiItem = __esm({
|
|
|
13927
13927
|
}
|
|
13928
13928
|
});
|
|
13929
13929
|
|
|
13930
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
13930
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/accounts/utils/parseAccount.js
|
|
13931
13931
|
function parseAccount(account) {
|
|
13932
13932
|
if (typeof account === "string")
|
|
13933
13933
|
return { address: account, type: "json-rpc" };
|
|
13934
13934
|
return account;
|
|
13935
13935
|
}
|
|
13936
13936
|
var init_parseAccount = __esm({
|
|
13937
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
13937
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/accounts/utils/parseAccount.js"() {
|
|
13938
13938
|
"use strict";
|
|
13939
13939
|
init_cjs_shims();
|
|
13940
13940
|
}
|
|
13941
13941
|
});
|
|
13942
13942
|
|
|
13943
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
13943
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/prepareEncodeFunctionData.js
|
|
13944
13944
|
function prepareEncodeFunctionData(parameters) {
|
|
13945
13945
|
const { abi, args, functionName } = parameters;
|
|
13946
13946
|
let abiItem = abi[0];
|
|
@@ -13963,7 +13963,7 @@ function prepareEncodeFunctionData(parameters) {
|
|
|
13963
13963
|
}
|
|
13964
13964
|
var docsPath2;
|
|
13965
13965
|
var init_prepareEncodeFunctionData = __esm({
|
|
13966
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
13966
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/prepareEncodeFunctionData.js"() {
|
|
13967
13967
|
"use strict";
|
|
13968
13968
|
init_cjs_shims();
|
|
13969
13969
|
init_abi();
|
|
@@ -13974,7 +13974,7 @@ var init_prepareEncodeFunctionData = __esm({
|
|
|
13974
13974
|
}
|
|
13975
13975
|
});
|
|
13976
13976
|
|
|
13977
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
13977
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/encodeFunctionData.js
|
|
13978
13978
|
function encodeFunctionData2(parameters) {
|
|
13979
13979
|
const { args } = parameters;
|
|
13980
13980
|
const { abi, functionName } = (() => {
|
|
@@ -13988,7 +13988,7 @@ function encodeFunctionData2(parameters) {
|
|
|
13988
13988
|
return concatHex([signature2, data ?? "0x"]);
|
|
13989
13989
|
}
|
|
13990
13990
|
var init_encodeFunctionData = __esm({
|
|
13991
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
13991
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/encodeFunctionData.js"() {
|
|
13992
13992
|
"use strict";
|
|
13993
13993
|
init_cjs_shims();
|
|
13994
13994
|
init_concat();
|
|
@@ -13997,10 +13997,10 @@ var init_encodeFunctionData = __esm({
|
|
|
13997
13997
|
}
|
|
13998
13998
|
});
|
|
13999
13999
|
|
|
14000
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
14000
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/constants/solidity.js
|
|
14001
14001
|
var panicReasons, solidityError, solidityPanic;
|
|
14002
14002
|
var init_solidity = __esm({
|
|
14003
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
14003
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/constants/solidity.js"() {
|
|
14004
14004
|
"use strict";
|
|
14005
14005
|
init_cjs_shims();
|
|
14006
14006
|
panicReasons = {
|
|
@@ -14037,10 +14037,10 @@ var init_solidity = __esm({
|
|
|
14037
14037
|
}
|
|
14038
14038
|
});
|
|
14039
14039
|
|
|
14040
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
14040
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/cursor.js
|
|
14041
14041
|
var NegativeOffsetError2, PositionOutOfBoundsError2, RecursiveReadLimitExceededError2;
|
|
14042
14042
|
var init_cursor = __esm({
|
|
14043
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
14043
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/cursor.js"() {
|
|
14044
14044
|
"use strict";
|
|
14045
14045
|
init_cjs_shims();
|
|
14046
14046
|
init_base2();
|
|
@@ -14064,7 +14064,7 @@ var init_cursor = __esm({
|
|
|
14064
14064
|
}
|
|
14065
14065
|
});
|
|
14066
14066
|
|
|
14067
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
14067
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/cursor.js
|
|
14068
14068
|
function createCursor(bytes, { recursiveReadLimit = 8192 } = {}) {
|
|
14069
14069
|
const cursor = Object.create(staticCursor2);
|
|
14070
14070
|
cursor.bytes = bytes;
|
|
@@ -14075,7 +14075,7 @@ function createCursor(bytes, { recursiveReadLimit = 8192 } = {}) {
|
|
|
14075
14075
|
}
|
|
14076
14076
|
var staticCursor2;
|
|
14077
14077
|
var init_cursor2 = __esm({
|
|
14078
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
14078
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/cursor.js"() {
|
|
14079
14079
|
"use strict";
|
|
14080
14080
|
init_cjs_shims();
|
|
14081
14081
|
init_cursor();
|
|
@@ -14241,7 +14241,7 @@ var init_cursor2 = __esm({
|
|
|
14241
14241
|
}
|
|
14242
14242
|
});
|
|
14243
14243
|
|
|
14244
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
14244
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/encoding/fromBytes.js
|
|
14245
14245
|
function bytesToBigInt(bytes, opts = {}) {
|
|
14246
14246
|
if (typeof opts.size !== "undefined")
|
|
14247
14247
|
assertSize4(bytes, { size: opts.size });
|
|
@@ -14273,7 +14273,7 @@ function bytesToString(bytes_, opts = {}) {
|
|
|
14273
14273
|
return new TextDecoder().decode(bytes);
|
|
14274
14274
|
}
|
|
14275
14275
|
var init_fromBytes = __esm({
|
|
14276
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
14276
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/encoding/fromBytes.js"() {
|
|
14277
14277
|
"use strict";
|
|
14278
14278
|
init_cjs_shims();
|
|
14279
14279
|
init_encoding2();
|
|
@@ -14283,7 +14283,7 @@ var init_fromBytes = __esm({
|
|
|
14283
14283
|
}
|
|
14284
14284
|
});
|
|
14285
14285
|
|
|
14286
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
14286
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/decodeAbiParameters.js
|
|
14287
14287
|
function decodeAbiParameters(params, data) {
|
|
14288
14288
|
const bytes = typeof data === "string" ? hexToBytes3(data) : data;
|
|
14289
14289
|
const cursor = createCursor(bytes);
|
|
@@ -14469,7 +14469,7 @@ function hasDynamicChild2(param) {
|
|
|
14469
14469
|
}
|
|
14470
14470
|
var sizeOfLength2, sizeOfOffset2;
|
|
14471
14471
|
var init_decodeAbiParameters = __esm({
|
|
14472
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
14472
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/decodeAbiParameters.js"() {
|
|
14473
14473
|
"use strict";
|
|
14474
14474
|
init_cjs_shims();
|
|
14475
14475
|
init_abi();
|
|
@@ -14487,7 +14487,7 @@ var init_decodeAbiParameters = __esm({
|
|
|
14487
14487
|
}
|
|
14488
14488
|
});
|
|
14489
14489
|
|
|
14490
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
14490
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/decodeErrorResult.js
|
|
14491
14491
|
function decodeErrorResult(parameters) {
|
|
14492
14492
|
const { abi, data } = parameters;
|
|
14493
14493
|
const signature2 = slice3(data, 0, 4);
|
|
@@ -14506,7 +14506,7 @@ function decodeErrorResult(parameters) {
|
|
|
14506
14506
|
};
|
|
14507
14507
|
}
|
|
14508
14508
|
var init_decodeErrorResult = __esm({
|
|
14509
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
14509
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/decodeErrorResult.js"() {
|
|
14510
14510
|
"use strict";
|
|
14511
14511
|
init_cjs_shims();
|
|
14512
14512
|
init_solidity();
|
|
@@ -14518,10 +14518,10 @@ var init_decodeErrorResult = __esm({
|
|
|
14518
14518
|
}
|
|
14519
14519
|
});
|
|
14520
14520
|
|
|
14521
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
14521
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/stringify.js
|
|
14522
14522
|
var stringify2;
|
|
14523
14523
|
var init_stringify = __esm({
|
|
14524
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
14524
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/stringify.js"() {
|
|
14525
14525
|
"use strict";
|
|
14526
14526
|
init_cjs_shims();
|
|
14527
14527
|
stringify2 = (value, replacer, space) => JSON.stringify(value, (key, value_) => {
|
|
@@ -14531,7 +14531,7 @@ var init_stringify = __esm({
|
|
|
14531
14531
|
}
|
|
14532
14532
|
});
|
|
14533
14533
|
|
|
14534
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
14534
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/formatAbiItemWithArgs.js
|
|
14535
14535
|
function formatAbiItemWithArgs({ abiItem, args, includeFunctionName = true, includeName = false }) {
|
|
14536
14536
|
if (!("name" in abiItem))
|
|
14537
14537
|
return;
|
|
@@ -14542,17 +14542,17 @@ function formatAbiItemWithArgs({ abiItem, args, includeFunctionName = true, incl
|
|
|
14542
14542
|
return `${includeFunctionName ? abiItem.name : ""}(${abiItem.inputs.map((input, i) => `${includeName && input.name ? `${input.name}: ` : ""}${typeof args[i] === "object" ? stringify2(args[i]) : args[i]}`).join(", ")})`;
|
|
14543
14543
|
}
|
|
14544
14544
|
var init_formatAbiItemWithArgs = __esm({
|
|
14545
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
14545
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/formatAbiItemWithArgs.js"() {
|
|
14546
14546
|
"use strict";
|
|
14547
14547
|
init_cjs_shims();
|
|
14548
14548
|
init_stringify();
|
|
14549
14549
|
}
|
|
14550
14550
|
});
|
|
14551
14551
|
|
|
14552
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
14552
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/constants/unit.js
|
|
14553
14553
|
var etherUnits, gweiUnits;
|
|
14554
14554
|
var init_unit = __esm({
|
|
14555
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
14555
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/constants/unit.js"() {
|
|
14556
14556
|
"use strict";
|
|
14557
14557
|
init_cjs_shims();
|
|
14558
14558
|
etherUnits = {
|
|
@@ -14566,7 +14566,7 @@ var init_unit = __esm({
|
|
|
14566
14566
|
}
|
|
14567
14567
|
});
|
|
14568
14568
|
|
|
14569
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
14569
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/unit/formatUnits.js
|
|
14570
14570
|
function formatUnits(value, decimals2) {
|
|
14571
14571
|
let display = value.toString();
|
|
14572
14572
|
const negative = display.startsWith("-");
|
|
@@ -14581,18 +14581,18 @@ function formatUnits(value, decimals2) {
|
|
|
14581
14581
|
return `${negative ? "-" : ""}${integer2 || "0"}${fraction ? `.${fraction}` : ""}`;
|
|
14582
14582
|
}
|
|
14583
14583
|
var init_formatUnits = __esm({
|
|
14584
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
14584
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/unit/formatUnits.js"() {
|
|
14585
14585
|
"use strict";
|
|
14586
14586
|
init_cjs_shims();
|
|
14587
14587
|
}
|
|
14588
14588
|
});
|
|
14589
14589
|
|
|
14590
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
14590
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/unit/formatEther.js
|
|
14591
14591
|
function formatEther(wei, unit = "wei") {
|
|
14592
14592
|
return formatUnits(wei, etherUnits[unit]);
|
|
14593
14593
|
}
|
|
14594
14594
|
var init_formatEther = __esm({
|
|
14595
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
14595
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/unit/formatEther.js"() {
|
|
14596
14596
|
"use strict";
|
|
14597
14597
|
init_cjs_shims();
|
|
14598
14598
|
init_unit();
|
|
@@ -14600,12 +14600,12 @@ var init_formatEther = __esm({
|
|
|
14600
14600
|
}
|
|
14601
14601
|
});
|
|
14602
14602
|
|
|
14603
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
14603
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/unit/formatGwei.js
|
|
14604
14604
|
function formatGwei2(wei, unit = "wei") {
|
|
14605
14605
|
return formatUnits(wei, gweiUnits[unit]);
|
|
14606
14606
|
}
|
|
14607
14607
|
var init_formatGwei = __esm({
|
|
14608
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
14608
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/unit/formatGwei.js"() {
|
|
14609
14609
|
"use strict";
|
|
14610
14610
|
init_cjs_shims();
|
|
14611
14611
|
init_unit();
|
|
@@ -14613,7 +14613,7 @@ var init_formatGwei = __esm({
|
|
|
14613
14613
|
}
|
|
14614
14614
|
});
|
|
14615
14615
|
|
|
14616
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
14616
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/stateOverride.js
|
|
14617
14617
|
function prettyStateMapping(stateMapping) {
|
|
14618
14618
|
return stateMapping.reduce((pretty, { slot, value }) => {
|
|
14619
14619
|
return `${pretty} ${slot}: ${value}
|
|
@@ -14646,7 +14646,7 @@ function prettyStateOverride(stateOverride) {
|
|
|
14646
14646
|
}
|
|
14647
14647
|
var AccountStateConflictError, StateAssignmentConflictError;
|
|
14648
14648
|
var init_stateOverride = __esm({
|
|
14649
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
14649
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/stateOverride.js"() {
|
|
14650
14650
|
"use strict";
|
|
14651
14651
|
init_cjs_shims();
|
|
14652
14652
|
init_base2();
|
|
@@ -14667,7 +14667,7 @@ var init_stateOverride = __esm({
|
|
|
14667
14667
|
}
|
|
14668
14668
|
});
|
|
14669
14669
|
|
|
14670
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
14670
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/transaction.js
|
|
14671
14671
|
function prettyPrint(args) {
|
|
14672
14672
|
const entries = Object.entries(args).map(([key, value]) => {
|
|
14673
14673
|
if (value === void 0 || value === false)
|
|
@@ -14679,7 +14679,7 @@ function prettyPrint(args) {
|
|
|
14679
14679
|
}
|
|
14680
14680
|
var InvalidLegacyVError, InvalidSerializableTransactionError, InvalidStorageKeySizeError2, TransactionExecutionError, TransactionNotFoundError, TransactionReceiptNotFoundError, TransactionReceiptRevertedError, WaitForTransactionReceiptTimeoutError;
|
|
14681
14681
|
var init_transaction = __esm({
|
|
14682
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
14682
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/transaction.js"() {
|
|
14683
14683
|
"use strict";
|
|
14684
14684
|
init_cjs_shims();
|
|
14685
14685
|
init_formatEther();
|
|
@@ -14803,10 +14803,10 @@ var init_transaction = __esm({
|
|
|
14803
14803
|
}
|
|
14804
14804
|
});
|
|
14805
14805
|
|
|
14806
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
14806
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/utils.js
|
|
14807
14807
|
var getContractAddress, getUrl;
|
|
14808
14808
|
var init_utils4 = __esm({
|
|
14809
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
14809
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/utils.js"() {
|
|
14810
14810
|
"use strict";
|
|
14811
14811
|
init_cjs_shims();
|
|
14812
14812
|
getContractAddress = (address) => address;
|
|
@@ -14814,10 +14814,10 @@ var init_utils4 = __esm({
|
|
|
14814
14814
|
}
|
|
14815
14815
|
});
|
|
14816
14816
|
|
|
14817
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
14817
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/contract.js
|
|
14818
14818
|
var CallExecutionError, ContractFunctionExecutionError, ContractFunctionRevertedError, ContractFunctionZeroDataError, CounterfactualDeploymentFailedError, RawContractError;
|
|
14819
14819
|
var init_contract = __esm({
|
|
14820
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
14820
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/contract.js"() {
|
|
14821
14821
|
"use strict";
|
|
14822
14822
|
init_cjs_shims();
|
|
14823
14823
|
init_parseAccount();
|
|
@@ -15072,10 +15072,10 @@ ${prettyStateOverride(stateOverride)}`;
|
|
|
15072
15072
|
}
|
|
15073
15073
|
});
|
|
15074
15074
|
|
|
15075
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
15075
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/request.js
|
|
15076
15076
|
var HttpRequestError, RpcRequestError, TimeoutError;
|
|
15077
15077
|
var init_request = __esm({
|
|
15078
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
15078
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/request.js"() {
|
|
15079
15079
|
"use strict";
|
|
15080
15080
|
init_cjs_shims();
|
|
15081
15081
|
init_stringify();
|
|
@@ -15173,10 +15173,10 @@ var init_request = __esm({
|
|
|
15173
15173
|
}
|
|
15174
15174
|
});
|
|
15175
15175
|
|
|
15176
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
15176
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/rpc.js
|
|
15177
15177
|
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;
|
|
15178
15178
|
var init_rpc = __esm({
|
|
15179
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
15179
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/rpc.js"() {
|
|
15180
15180
|
"use strict";
|
|
15181
15181
|
init_cjs_shims();
|
|
15182
15182
|
init_base2();
|
|
@@ -15625,10 +15625,10 @@ var init_rpc = __esm({
|
|
|
15625
15625
|
}
|
|
15626
15626
|
});
|
|
15627
15627
|
|
|
15628
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
15628
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/node.js
|
|
15629
15629
|
var ExecutionRevertedError, FeeCapTooHighError2, FeeCapTooLowError, NonceTooHighError, NonceTooLowError, NonceMaxValueError, InsufficientFundsError, IntrinsicGasTooHighError, IntrinsicGasTooLowError, TransactionTypeNotSupportedError, TipAboveFeeCapError2, UnknownNodeError;
|
|
15630
15630
|
var init_node = __esm({
|
|
15631
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
15631
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/node.js"() {
|
|
15632
15632
|
"use strict";
|
|
15633
15633
|
init_cjs_shims();
|
|
15634
15634
|
init_formatGwei();
|
|
@@ -15813,7 +15813,7 @@ var init_node = __esm({
|
|
|
15813
15813
|
}
|
|
15814
15814
|
});
|
|
15815
15815
|
|
|
15816
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
15816
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/errors/getNodeError.js
|
|
15817
15817
|
function getNodeError(err3, args) {
|
|
15818
15818
|
const message = (err3.details || "").toLowerCase();
|
|
15819
15819
|
const executionRevertedError = err3 instanceof BaseError4 ? err3.walk((e) => e?.code === ExecutionRevertedError.code) : err3;
|
|
@@ -15862,7 +15862,7 @@ function getNodeError(err3, args) {
|
|
|
15862
15862
|
});
|
|
15863
15863
|
}
|
|
15864
15864
|
var init_getNodeError = __esm({
|
|
15865
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
15865
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/errors/getNodeError.js"() {
|
|
15866
15866
|
"use strict";
|
|
15867
15867
|
init_cjs_shims();
|
|
15868
15868
|
init_base2();
|
|
@@ -15870,7 +15870,7 @@ var init_getNodeError = __esm({
|
|
|
15870
15870
|
}
|
|
15871
15871
|
});
|
|
15872
15872
|
|
|
15873
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
15873
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/formatters/extract.js
|
|
15874
15874
|
function extract2(value_, { format: format4 }) {
|
|
15875
15875
|
if (!format4)
|
|
15876
15876
|
return {};
|
|
@@ -15889,13 +15889,13 @@ function extract2(value_, { format: format4 }) {
|
|
|
15889
15889
|
return value;
|
|
15890
15890
|
}
|
|
15891
15891
|
var init_extract = __esm({
|
|
15892
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
15892
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/formatters/extract.js"() {
|
|
15893
15893
|
"use strict";
|
|
15894
15894
|
init_cjs_shims();
|
|
15895
15895
|
}
|
|
15896
15896
|
});
|
|
15897
15897
|
|
|
15898
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
15898
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/formatters/formatter.js
|
|
15899
15899
|
function defineFormatter(type4, format4) {
|
|
15900
15900
|
return ({ exclude, format: overrides }) => {
|
|
15901
15901
|
return {
|
|
@@ -15917,13 +15917,13 @@ function defineFormatter(type4, format4) {
|
|
|
15917
15917
|
};
|
|
15918
15918
|
}
|
|
15919
15919
|
var init_formatter = __esm({
|
|
15920
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
15920
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/formatters/formatter.js"() {
|
|
15921
15921
|
"use strict";
|
|
15922
15922
|
init_cjs_shims();
|
|
15923
15923
|
}
|
|
15924
15924
|
});
|
|
15925
15925
|
|
|
15926
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
15926
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/formatters/transactionRequest.js
|
|
15927
15927
|
function formatTransactionRequest(request, _) {
|
|
15928
15928
|
const rpcRequest = {};
|
|
15929
15929
|
if (typeof request.authorizationList !== "undefined")
|
|
@@ -15977,7 +15977,7 @@ function formatAuthorizationList(authorizationList) {
|
|
|
15977
15977
|
}
|
|
15978
15978
|
var rpcTransactionType, defineTransactionRequest;
|
|
15979
15979
|
var init_transactionRequest = __esm({
|
|
15980
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
15980
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/formatters/transactionRequest.js"() {
|
|
15981
15981
|
"use strict";
|
|
15982
15982
|
init_cjs_shims();
|
|
15983
15983
|
init_toHex2();
|
|
@@ -15993,7 +15993,7 @@ var init_transactionRequest = __esm({
|
|
|
15993
15993
|
}
|
|
15994
15994
|
});
|
|
15995
15995
|
|
|
15996
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
15996
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/stateOverride.js
|
|
15997
15997
|
function serializeStateMapping(stateMapping) {
|
|
15998
15998
|
if (!stateMapping || stateMapping.length === 0)
|
|
15999
15999
|
return void 0;
|
|
@@ -16046,7 +16046,7 @@ function serializeStateOverride(parameters) {
|
|
|
16046
16046
|
return rpcStateOverride;
|
|
16047
16047
|
}
|
|
16048
16048
|
var init_stateOverride2 = __esm({
|
|
16049
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
16049
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/stateOverride.js"() {
|
|
16050
16050
|
"use strict";
|
|
16051
16051
|
init_cjs_shims();
|
|
16052
16052
|
init_address2();
|
|
@@ -16057,10 +16057,10 @@ var init_stateOverride2 = __esm({
|
|
|
16057
16057
|
}
|
|
16058
16058
|
});
|
|
16059
16059
|
|
|
16060
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
16060
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/constants/number.js
|
|
16061
16061
|
var maxInt82, maxInt162, maxInt242, maxInt322, maxInt402, maxInt482, maxInt562, maxInt642, maxInt722, maxInt802, maxInt882, maxInt962, maxInt1042, maxInt1122, maxInt1202, maxInt1282, maxInt1362, maxInt1442, maxInt1522, maxInt1602, maxInt1682, maxInt1762, maxInt1842, maxInt1922, maxInt2002, maxInt2082, maxInt2162, maxInt2242, maxInt2322, maxInt2402, maxInt2482, maxInt2562, minInt82, minInt162, minInt242, minInt322, minInt402, minInt482, minInt562, minInt642, minInt722, minInt802, minInt882, minInt962, minInt1042, minInt1122, minInt1202, minInt1282, minInt1362, minInt1442, minInt1522, minInt1602, minInt1682, minInt1762, minInt1842, minInt1922, minInt2002, minInt2082, minInt2162, minInt2242, minInt2322, minInt2402, minInt2482, minInt2562, maxUint82, maxUint162, maxUint242, maxUint322, maxUint402, maxUint482, maxUint562, maxUint642, maxUint722, maxUint802, maxUint882, maxUint962, maxUint1042, maxUint1122, maxUint1202, maxUint1282, maxUint1362, maxUint1442, maxUint1522, maxUint1602, maxUint1682, maxUint1762, maxUint1842, maxUint1922, maxUint2002, maxUint2082, maxUint2162, maxUint2242, maxUint2322, maxUint2402, maxUint2482, maxUint2562;
|
|
16062
16062
|
var init_number = __esm({
|
|
16063
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
16063
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/constants/number.js"() {
|
|
16064
16064
|
"use strict";
|
|
16065
16065
|
init_cjs_shims();
|
|
16066
16066
|
maxInt82 = 2n ** (8n - 1n) - 1n;
|
|
@@ -16162,7 +16162,7 @@ var init_number = __esm({
|
|
|
16162
16162
|
}
|
|
16163
16163
|
});
|
|
16164
16164
|
|
|
16165
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
16165
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/transaction/assertRequest.js
|
|
16166
16166
|
function assertRequest(args) {
|
|
16167
16167
|
const { account: account_, maxFeePerGas, maxPriorityFeePerGas, to: to2 } = args;
|
|
16168
16168
|
const account = account_ ? parseAccount(account_) : void 0;
|
|
@@ -16176,7 +16176,7 @@ function assertRequest(args) {
|
|
|
16176
16176
|
throw new TipAboveFeeCapError2({ maxFeePerGas, maxPriorityFeePerGas });
|
|
16177
16177
|
}
|
|
16178
16178
|
var init_assertRequest = __esm({
|
|
16179
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
16179
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/transaction/assertRequest.js"() {
|
|
16180
16180
|
"use strict";
|
|
16181
16181
|
init_cjs_shims();
|
|
16182
16182
|
init_parseAccount();
|
|
@@ -16187,7 +16187,7 @@ var init_assertRequest = __esm({
|
|
|
16187
16187
|
}
|
|
16188
16188
|
});
|
|
16189
16189
|
|
|
16190
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
16190
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/address/isAddressEqual.js
|
|
16191
16191
|
function isAddressEqual(a, b) {
|
|
16192
16192
|
if (!isAddress2(a, { strict: false }))
|
|
16193
16193
|
throw new InvalidAddressError3({ address: a });
|
|
@@ -16196,7 +16196,7 @@ function isAddressEqual(a, b) {
|
|
|
16196
16196
|
return a.toLowerCase() === b.toLowerCase();
|
|
16197
16197
|
}
|
|
16198
16198
|
var init_isAddressEqual = __esm({
|
|
16199
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
16199
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/address/isAddressEqual.js"() {
|
|
16200
16200
|
"use strict";
|
|
16201
16201
|
init_cjs_shims();
|
|
16202
16202
|
init_address2();
|
|
@@ -16204,7 +16204,7 @@ var init_isAddressEqual = __esm({
|
|
|
16204
16204
|
}
|
|
16205
16205
|
});
|
|
16206
16206
|
|
|
16207
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
16207
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/decodeFunctionResult.js
|
|
16208
16208
|
function decodeFunctionResult(parameters) {
|
|
16209
16209
|
const { abi, args, functionName, data } = parameters;
|
|
16210
16210
|
let abiItem = abi[0];
|
|
@@ -16227,7 +16227,7 @@ function decodeFunctionResult(parameters) {
|
|
|
16227
16227
|
}
|
|
16228
16228
|
var docsPath4;
|
|
16229
16229
|
var init_decodeFunctionResult = __esm({
|
|
16230
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
16230
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/decodeFunctionResult.js"() {
|
|
16231
16231
|
"use strict";
|
|
16232
16232
|
init_cjs_shims();
|
|
16233
16233
|
init_abi();
|
|
@@ -16237,10 +16237,10 @@ var init_decodeFunctionResult = __esm({
|
|
|
16237
16237
|
}
|
|
16238
16238
|
});
|
|
16239
16239
|
|
|
16240
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
16240
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/constants/abis.js
|
|
16241
16241
|
var multicall3Abi, batchGatewayAbi, universalResolverErrors, universalResolverResolveAbi, universalResolverReverseAbi, erc1271Abi, erc6492SignatureValidatorAbi;
|
|
16242
16242
|
var init_abis = __esm({
|
|
16243
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
16243
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/constants/abis.js"() {
|
|
16244
16244
|
"use strict";
|
|
16245
16245
|
init_cjs_shims();
|
|
16246
16246
|
multicall3Abi = [
|
|
@@ -16566,20 +16566,20 @@ var init_abis = __esm({
|
|
|
16566
16566
|
}
|
|
16567
16567
|
});
|
|
16568
16568
|
|
|
16569
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
16569
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/constants/contract.js
|
|
16570
16570
|
var aggregate3Signature;
|
|
16571
16571
|
var init_contract2 = __esm({
|
|
16572
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
16572
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/constants/contract.js"() {
|
|
16573
16573
|
"use strict";
|
|
16574
16574
|
init_cjs_shims();
|
|
16575
16575
|
aggregate3Signature = "0x82ad56cb";
|
|
16576
16576
|
}
|
|
16577
16577
|
});
|
|
16578
16578
|
|
|
16579
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
16579
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/constants/contracts.js
|
|
16580
16580
|
var deploylessCallViaBytecodeBytecode, deploylessCallViaFactoryBytecode, erc6492SignatureValidatorByteCode, multicall3Bytecode;
|
|
16581
16581
|
var init_contracts = __esm({
|
|
16582
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
16582
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/constants/contracts.js"() {
|
|
16583
16583
|
"use strict";
|
|
16584
16584
|
init_cjs_shims();
|
|
16585
16585
|
deploylessCallViaBytecodeBytecode = "0x608060405234801561001057600080fd5b5060405161018e38038061018e83398101604081905261002f91610124565b6000808351602085016000f59050803b61004857600080fd5b6000808351602085016000855af16040513d6000823e81610067573d81fd5b3d81f35b634e487b7160e01b600052604160045260246000fd5b600082601f83011261009257600080fd5b81516001600160401b038111156100ab576100ab61006b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156100d9576100d961006b565b6040528181528382016020018510156100f157600080fd5b60005b82811015610110576020818601810151838301820152016100f4565b506000918101602001919091529392505050565b6000806040838503121561013757600080fd5b82516001600160401b0381111561014d57600080fd5b61015985828601610081565b602085015190935090506001600160401b0381111561017757600080fd5b61018385828601610081565b915050925092905056fe";
|
|
@@ -16589,10 +16589,10 @@ var init_contracts = __esm({
|
|
|
16589
16589
|
}
|
|
16590
16590
|
});
|
|
16591
16591
|
|
|
16592
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
16592
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/chain.js
|
|
16593
16593
|
var ChainDoesNotSupportContract, ChainMismatchError, ChainNotFoundError, ClientChainNotConfiguredError, InvalidChainIdError2;
|
|
16594
16594
|
var init_chain = __esm({
|
|
16595
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
16595
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/chain.js"() {
|
|
16596
16596
|
"use strict";
|
|
16597
16597
|
init_cjs_shims();
|
|
16598
16598
|
init_base2();
|
|
@@ -16647,7 +16647,7 @@ var init_chain = __esm({
|
|
|
16647
16647
|
}
|
|
16648
16648
|
});
|
|
16649
16649
|
|
|
16650
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
16650
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/encodeDeployData.js
|
|
16651
16651
|
function encodeDeployData(parameters) {
|
|
16652
16652
|
const { abi, args, bytecode } = parameters;
|
|
16653
16653
|
if (!args || args.length === 0)
|
|
@@ -16664,7 +16664,7 @@ function encodeDeployData(parameters) {
|
|
|
16664
16664
|
}
|
|
16665
16665
|
var docsPath5;
|
|
16666
16666
|
var init_encodeDeployData = __esm({
|
|
16667
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
16667
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/encodeDeployData.js"() {
|
|
16668
16668
|
"use strict";
|
|
16669
16669
|
init_cjs_shims();
|
|
16670
16670
|
init_abi();
|
|
@@ -16674,7 +16674,7 @@ var init_encodeDeployData = __esm({
|
|
|
16674
16674
|
}
|
|
16675
16675
|
});
|
|
16676
16676
|
|
|
16677
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
16677
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/chain/getChainContractAddress.js
|
|
16678
16678
|
function getChainContractAddress({ blockNumber, chain: chain2, contract: name }) {
|
|
16679
16679
|
const contract = chain2?.contracts?.[name];
|
|
16680
16680
|
if (!contract)
|
|
@@ -16694,14 +16694,14 @@ function getChainContractAddress({ blockNumber, chain: chain2, contract: name })
|
|
|
16694
16694
|
return contract.address;
|
|
16695
16695
|
}
|
|
16696
16696
|
var init_getChainContractAddress = __esm({
|
|
16697
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
16697
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/chain/getChainContractAddress.js"() {
|
|
16698
16698
|
"use strict";
|
|
16699
16699
|
init_cjs_shims();
|
|
16700
16700
|
init_chain();
|
|
16701
16701
|
}
|
|
16702
16702
|
});
|
|
16703
16703
|
|
|
16704
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
16704
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/errors/getCallError.js
|
|
16705
16705
|
function getCallError(err3, { docsPath: docsPath8, ...args }) {
|
|
16706
16706
|
const cause = (() => {
|
|
16707
16707
|
const cause2 = getNodeError(err3, args);
|
|
@@ -16715,7 +16715,7 @@ function getCallError(err3, { docsPath: docsPath8, ...args }) {
|
|
|
16715
16715
|
});
|
|
16716
16716
|
}
|
|
16717
16717
|
var init_getCallError = __esm({
|
|
16718
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
16718
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/errors/getCallError.js"() {
|
|
16719
16719
|
"use strict";
|
|
16720
16720
|
init_cjs_shims();
|
|
16721
16721
|
init_contract();
|
|
@@ -16724,7 +16724,7 @@ var init_getCallError = __esm({
|
|
|
16724
16724
|
}
|
|
16725
16725
|
});
|
|
16726
16726
|
|
|
16727
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
16727
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/promise/withResolvers.js
|
|
16728
16728
|
function withResolvers() {
|
|
16729
16729
|
let resolve = () => void 0;
|
|
16730
16730
|
let reject = () => void 0;
|
|
@@ -16735,13 +16735,13 @@ function withResolvers() {
|
|
|
16735
16735
|
return { promise: promise3, resolve, reject };
|
|
16736
16736
|
}
|
|
16737
16737
|
var init_withResolvers = __esm({
|
|
16738
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
16738
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/promise/withResolvers.js"() {
|
|
16739
16739
|
"use strict";
|
|
16740
16740
|
init_cjs_shims();
|
|
16741
16741
|
}
|
|
16742
16742
|
});
|
|
16743
16743
|
|
|
16744
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
16744
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/promise/createBatchScheduler.js
|
|
16745
16745
|
function createBatchScheduler({ fn, id, shouldSplitBatch, wait: wait2 = 0, sort }) {
|
|
16746
16746
|
const exec = async () => {
|
|
16747
16747
|
const scheduler = getScheduler();
|
|
@@ -16787,7 +16787,7 @@ function createBatchScheduler({ fn, id, shouldSplitBatch, wait: wait2 = 0, sort
|
|
|
16787
16787
|
}
|
|
16788
16788
|
var schedulerCache;
|
|
16789
16789
|
var init_createBatchScheduler = __esm({
|
|
16790
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
16790
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/promise/createBatchScheduler.js"() {
|
|
16791
16791
|
"use strict";
|
|
16792
16792
|
init_cjs_shims();
|
|
16793
16793
|
init_withResolvers();
|
|
@@ -16795,10 +16795,10 @@ var init_createBatchScheduler = __esm({
|
|
|
16795
16795
|
}
|
|
16796
16796
|
});
|
|
16797
16797
|
|
|
16798
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
16798
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/ccip.js
|
|
16799
16799
|
var OffchainLookupError, OffchainLookupResponseMalformedError, OffchainLookupSenderMismatchError;
|
|
16800
16800
|
var init_ccip = __esm({
|
|
16801
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
16801
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/ccip.js"() {
|
|
16802
16802
|
"use strict";
|
|
16803
16803
|
init_cjs_shims();
|
|
16804
16804
|
init_stringify();
|
|
@@ -16850,7 +16850,7 @@ var init_ccip = __esm({
|
|
|
16850
16850
|
}
|
|
16851
16851
|
});
|
|
16852
16852
|
|
|
16853
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
16853
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/decodeFunctionData.js
|
|
16854
16854
|
function decodeFunctionData(parameters) {
|
|
16855
16855
|
const { abi, data } = parameters;
|
|
16856
16856
|
const signature2 = slice3(data, 0, 4);
|
|
@@ -16865,7 +16865,7 @@ function decodeFunctionData(parameters) {
|
|
|
16865
16865
|
};
|
|
16866
16866
|
}
|
|
16867
16867
|
var init_decodeFunctionData = __esm({
|
|
16868
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
16868
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/decodeFunctionData.js"() {
|
|
16869
16869
|
"use strict";
|
|
16870
16870
|
init_cjs_shims();
|
|
16871
16871
|
init_abi();
|
|
@@ -16876,7 +16876,7 @@ var init_decodeFunctionData = __esm({
|
|
|
16876
16876
|
}
|
|
16877
16877
|
});
|
|
16878
16878
|
|
|
16879
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
16879
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/encodeErrorResult.js
|
|
16880
16880
|
function encodeErrorResult(parameters) {
|
|
16881
16881
|
const { abi, errorName, args } = parameters;
|
|
16882
16882
|
let abiItem = abi[0];
|
|
@@ -16900,7 +16900,7 @@ function encodeErrorResult(parameters) {
|
|
|
16900
16900
|
}
|
|
16901
16901
|
var docsPath6;
|
|
16902
16902
|
var init_encodeErrorResult = __esm({
|
|
16903
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
16903
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/encodeErrorResult.js"() {
|
|
16904
16904
|
"use strict";
|
|
16905
16905
|
init_cjs_shims();
|
|
16906
16906
|
init_abi();
|
|
@@ -16913,7 +16913,7 @@ var init_encodeErrorResult = __esm({
|
|
|
16913
16913
|
}
|
|
16914
16914
|
});
|
|
16915
16915
|
|
|
16916
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
16916
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/encodeFunctionResult.js
|
|
16917
16917
|
function encodeFunctionResult(parameters) {
|
|
16918
16918
|
const { abi, functionName, result } = parameters;
|
|
16919
16919
|
let abiItem = abi[0];
|
|
@@ -16940,7 +16940,7 @@ function encodeFunctionResult(parameters) {
|
|
|
16940
16940
|
}
|
|
16941
16941
|
var docsPath7;
|
|
16942
16942
|
var init_encodeFunctionResult = __esm({
|
|
16943
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
16943
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/encodeFunctionResult.js"() {
|
|
16944
16944
|
"use strict";
|
|
16945
16945
|
init_cjs_shims();
|
|
16946
16946
|
init_abi();
|
|
@@ -16950,7 +16950,7 @@ var init_encodeFunctionResult = __esm({
|
|
|
16950
16950
|
}
|
|
16951
16951
|
});
|
|
16952
16952
|
|
|
16953
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
16953
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/ens/localBatchGatewayRequest.js
|
|
16954
16954
|
async function localBatchGatewayRequest(parameters) {
|
|
16955
16955
|
const { data, ccipRequest: ccipRequest2 } = parameters;
|
|
16956
16956
|
const { args: [queries] } = decodeFunctionData({ abi: batchGatewayAbi, data });
|
|
@@ -16986,7 +16986,7 @@ function encodeError(error48) {
|
|
|
16986
16986
|
}
|
|
16987
16987
|
var localBatchGatewayUrl;
|
|
16988
16988
|
var init_localBatchGatewayRequest = __esm({
|
|
16989
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
16989
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/ens/localBatchGatewayRequest.js"() {
|
|
16990
16990
|
"use strict";
|
|
16991
16991
|
init_cjs_shims();
|
|
16992
16992
|
init_abis();
|
|
@@ -16998,7 +16998,7 @@ var init_localBatchGatewayRequest = __esm({
|
|
|
16998
16998
|
}
|
|
16999
16999
|
});
|
|
17000
17000
|
|
|
17001
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
17001
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/ccip.js
|
|
17002
17002
|
var ccip_exports = {};
|
|
17003
17003
|
__export(ccip_exports, {
|
|
17004
17004
|
ccipRequest: () => ccipRequest,
|
|
@@ -17091,7 +17091,7 @@ async function ccipRequest({ data, sender, urls }) {
|
|
|
17091
17091
|
}
|
|
17092
17092
|
var offchainLookupSignature, offchainLookupAbiItem;
|
|
17093
17093
|
var init_ccip2 = __esm({
|
|
17094
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
17094
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/ccip.js"() {
|
|
17095
17095
|
"use strict";
|
|
17096
17096
|
init_cjs_shims();
|
|
17097
17097
|
init_call();
|
|
@@ -17134,7 +17134,7 @@ var init_ccip2 = __esm({
|
|
|
17134
17134
|
}
|
|
17135
17135
|
});
|
|
17136
17136
|
|
|
17137
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
17137
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/call.js
|
|
17138
17138
|
async function call(client, args) {
|
|
17139
17139
|
const { account: account_ = client.account, authorizationList, batch = Boolean(client.batch?.multicall), blockNumber, blockTag = client.experimental_blockTag ?? "latest", accessList, blobs, blockOverrides, code, data: data_, factory, factoryData, gas, gasPrice, maxFeePerBlobGas, maxFeePerGas, maxPriorityFeePerGas, nonce: nonce2, to: to2, value, stateOverride, ...rest } = args;
|
|
17140
17140
|
const account = account_ ? parseAccount(account_) : void 0;
|
|
@@ -17332,7 +17332,7 @@ function getRevertErrorData(err3) {
|
|
|
17332
17332
|
return typeof error48?.data === "object" ? error48.data?.data : error48.data;
|
|
17333
17333
|
}
|
|
17334
17334
|
var init_call = __esm({
|
|
17335
|
-
"../../../node_modules/.pnpm/viem@2.
|
|
17335
|
+
"../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/call.js"() {
|
|
17336
17336
|
"use strict";
|
|
17337
17337
|
init_cjs_shims();
|
|
17338
17338
|
init_exports();
|
|
@@ -35237,7 +35237,7 @@ var require_utils6 = __commonJS({
|
|
|
35237
35237
|
let v = u8n2(hashLen);
|
|
35238
35238
|
let k = u8n2(hashLen);
|
|
35239
35239
|
let i = 0;
|
|
35240
|
-
const
|
|
35240
|
+
const reset = () => {
|
|
35241
35241
|
v.fill(1);
|
|
35242
35242
|
k.fill(0);
|
|
35243
35243
|
i = 0;
|
|
@@ -35265,12 +35265,12 @@ var require_utils6 = __commonJS({
|
|
|
35265
35265
|
return concatBytes4(...out);
|
|
35266
35266
|
};
|
|
35267
35267
|
const genUntil = (seed, pred) => {
|
|
35268
|
-
|
|
35268
|
+
reset();
|
|
35269
35269
|
reseed(seed);
|
|
35270
35270
|
let res = void 0;
|
|
35271
35271
|
while (!(res = pred(gen2())))
|
|
35272
35272
|
reseed();
|
|
35273
|
-
|
|
35273
|
+
reset();
|
|
35274
35274
|
return res;
|
|
35275
35275
|
};
|
|
35276
35276
|
return genUntil;
|
|
@@ -36848,8 +36848,8 @@ var require_shortw_utils = __commonJS({
|
|
|
36848
36848
|
}
|
|
36849
36849
|
exports2.getHash = getHash2;
|
|
36850
36850
|
function createCurve2(curveDef, defHash) {
|
|
36851
|
-
const
|
|
36852
|
-
return Object.freeze({ ...
|
|
36851
|
+
const create5 = (hash7) => (0, weierstrass_js_1.weierstrass)({ ...curveDef, ...getHash2(hash7) });
|
|
36852
|
+
return Object.freeze({ ...create5(defHash), create: create5 });
|
|
36853
36853
|
}
|
|
36854
36854
|
exports2.createCurve = createCurve2;
|
|
36855
36855
|
}
|
|
@@ -88428,7 +88428,7 @@ init_cjs_shims();
|
|
|
88428
88428
|
// ../../../node_modules/.pnpm/@x402+evm@2.3.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10/node_modules/@x402/evm/dist/esm/chunk-RPL6OFJL.mjs
|
|
88429
88429
|
init_cjs_shims();
|
|
88430
88430
|
|
|
88431
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
88431
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/index.js
|
|
88432
88432
|
init_cjs_shims();
|
|
88433
88433
|
|
|
88434
88434
|
// ../../../node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/sha256.js
|
|
@@ -88563,7 +88563,7 @@ var ripemd160 = /* @__PURE__ */ createHasher(() => new RIPEMD160());
|
|
|
88563
88563
|
// ../../../node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/ripemd160.js
|
|
88564
88564
|
var ripemd1602 = ripemd160;
|
|
88565
88565
|
|
|
88566
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
88566
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/index.js
|
|
88567
88567
|
init_getAddress();
|
|
88568
88568
|
init_toHex();
|
|
88569
88569
|
|
|
@@ -88775,19 +88775,19 @@ var ExactEvmScheme = class {
|
|
|
88775
88775
|
}
|
|
88776
88776
|
};
|
|
88777
88777
|
|
|
88778
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
88778
|
+
// ../../../node_modules/.pnpm/mppx@0.2.0_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_3e8d079a06ad8f87e26cecc997a2a9a6/node_modules/mppx/dist/client/index.js
|
|
88779
88779
|
init_cjs_shims();
|
|
88780
88780
|
|
|
88781
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
88781
|
+
// ../../../node_modules/.pnpm/mppx@0.2.0_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_3e8d079a06ad8f87e26cecc997a2a9a6/node_modules/mppx/dist/Expires.js
|
|
88782
88782
|
init_cjs_shims();
|
|
88783
88783
|
function minutes(n) {
|
|
88784
88784
|
return new Date(Date.now() + n * 60 * 1e3).toISOString();
|
|
88785
88785
|
}
|
|
88786
88786
|
|
|
88787
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
88787
|
+
// ../../../node_modules/.pnpm/mppx@0.2.0_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_3e8d079a06ad8f87e26cecc997a2a9a6/node_modules/mppx/dist/client/Methods.js
|
|
88788
88788
|
init_cjs_shims();
|
|
88789
88789
|
|
|
88790
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
88790
|
+
// ../../../node_modules/.pnpm/mppx@0.2.0_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_3e8d079a06ad8f87e26cecc997a2a9a6/node_modules/mppx/dist/Credential.js
|
|
88791
88791
|
init_cjs_shims();
|
|
88792
88792
|
|
|
88793
88793
|
// ../../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/index.js
|
|
@@ -91210,7 +91210,7 @@ function verify3(options) {
|
|
|
91210
91210
|
// ../../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/index.js
|
|
91211
91211
|
init_Withdrawal();
|
|
91212
91212
|
|
|
91213
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
91213
|
+
// ../../../node_modules/.pnpm/mppx@0.2.0_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_3e8d079a06ad8f87e26cecc997a2a9a6/node_modules/mppx/dist/Challenge.js
|
|
91214
91214
|
var Challenge_exports = {};
|
|
91215
91215
|
__export(Challenge_exports, {
|
|
91216
91216
|
Schema: () => Schema,
|
|
@@ -91224,27 +91224,27 @@ __export(Challenge_exports, {
|
|
|
91224
91224
|
});
|
|
91225
91225
|
init_cjs_shims();
|
|
91226
91226
|
|
|
91227
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
91227
|
+
// ../../../node_modules/.pnpm/mppx@0.2.0_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_3e8d079a06ad8f87e26cecc997a2a9a6/node_modules/mppx/dist/PaymentRequest.js
|
|
91228
91228
|
init_cjs_shims();
|
|
91229
91229
|
function deserialize(encoded) {
|
|
91230
91230
|
const json3 = Base64_exports.toString(encoded);
|
|
91231
91231
|
return JSON.parse(json3);
|
|
91232
91232
|
}
|
|
91233
|
-
function fromIntent(
|
|
91234
|
-
return
|
|
91233
|
+
function fromIntent(method, request) {
|
|
91234
|
+
return method.schema.request.parse(request);
|
|
91235
91235
|
}
|
|
91236
91236
|
function serialize(request) {
|
|
91237
91237
|
const json3 = JSON.stringify(request);
|
|
91238
91238
|
return Base64_exports.fromString(json3, { pad: false, url: true });
|
|
91239
91239
|
}
|
|
91240
91240
|
|
|
91241
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
91241
|
+
// ../../../node_modules/.pnpm/mppx@0.2.0_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_3e8d079a06ad8f87e26cecc997a2a9a6/node_modules/mppx/dist/zod.js
|
|
91242
91242
|
init_cjs_shims();
|
|
91243
91243
|
|
|
91244
91244
|
// ../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/mini/index.js
|
|
91245
91245
|
init_cjs_shims();
|
|
91246
91246
|
|
|
91247
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
91247
|
+
// ../../../node_modules/.pnpm/mppx@0.2.0_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_3e8d079a06ad8f87e26cecc997a2a9a6/node_modules/mppx/dist/zod.js
|
|
91248
91248
|
function amount() {
|
|
91249
91249
|
return external_exports2.string().check(external_exports2.regex(/^\d+(\.\d+)?$/, "Invalid amount"));
|
|
91250
91250
|
}
|
|
@@ -91257,13 +91257,8 @@ function hash4() {
|
|
|
91257
91257
|
function signature() {
|
|
91258
91258
|
return external_exports2.string().check(external_exports2.regex(/^0x[0-9a-fA-F]+$/, "Invalid signature"));
|
|
91259
91259
|
}
|
|
91260
|
-
function unwrapOptional(schema) {
|
|
91261
|
-
if (schema._zod.def.type === "optional")
|
|
91262
|
-
return schema._zod.def.innerType;
|
|
91263
|
-
return schema;
|
|
91264
|
-
}
|
|
91265
91260
|
|
|
91266
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
91261
|
+
// ../../../node_modules/.pnpm/mppx@0.2.0_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_3e8d079a06ad8f87e26cecc997a2a9a6/node_modules/mppx/dist/Challenge.js
|
|
91267
91262
|
var Schema = object({
|
|
91268
91263
|
/** Optional human-readable description of the payment. */
|
|
91269
91264
|
description: optional(string2()),
|
|
@@ -91298,15 +91293,15 @@ function from9(parameters, options) {
|
|
|
91298
91293
|
...expires && { expires }
|
|
91299
91294
|
});
|
|
91300
91295
|
}
|
|
91301
|
-
function fromIntent2(
|
|
91302
|
-
const {
|
|
91296
|
+
function fromIntent2(method, parameters) {
|
|
91297
|
+
const { name: methodName, intent } = method;
|
|
91303
91298
|
const { description, digest, expires, id, realm, secretKey } = parameters;
|
|
91304
|
-
const request = fromIntent(
|
|
91299
|
+
const request = fromIntent(method, parameters.request);
|
|
91305
91300
|
return from9({
|
|
91306
91301
|
...id ? { id } : { secretKey },
|
|
91307
91302
|
realm,
|
|
91308
|
-
method,
|
|
91309
|
-
intent
|
|
91303
|
+
method: methodName,
|
|
91304
|
+
intent,
|
|
91310
91305
|
request,
|
|
91311
91306
|
description,
|
|
91312
91307
|
digest,
|
|
@@ -91387,7 +91382,7 @@ function constantTimeEqual(a, b) {
|
|
|
91387
91382
|
return result === 0;
|
|
91388
91383
|
}
|
|
91389
91384
|
|
|
91390
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
91385
|
+
// ../../../node_modules/.pnpm/mppx@0.2.0_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_3e8d079a06ad8f87e26cecc997a2a9a6/node_modules/mppx/dist/Credential.js
|
|
91391
91386
|
function serialize3(credential) {
|
|
91392
91387
|
const wire = {
|
|
91393
91388
|
challenge: {
|
|
@@ -91402,16 +91397,24 @@ function serialize3(credential) {
|
|
|
91402
91397
|
return `Payment ${encoded}`;
|
|
91403
91398
|
}
|
|
91404
91399
|
|
|
91405
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
91406
|
-
init_cjs_shims();
|
|
91407
|
-
|
|
91408
|
-
// ../../../node_modules/.pnpm/mppx@0.1.1_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_b0197f2b468791c6b28e73953793d235/node_modules/mppx/dist/Intent.js
|
|
91400
|
+
// ../../../node_modules/.pnpm/mppx@0.2.0_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_3e8d079a06ad8f87e26cecc997a2a9a6/node_modules/mppx/dist/Method.js
|
|
91409
91401
|
init_cjs_shims();
|
|
91402
|
+
function from10(method) {
|
|
91403
|
+
return method;
|
|
91404
|
+
}
|
|
91405
|
+
function toClient(method, options) {
|
|
91406
|
+
const { context: context2, createCredential } = options;
|
|
91407
|
+
return {
|
|
91408
|
+
...method,
|
|
91409
|
+
context: context2,
|
|
91410
|
+
createCredential
|
|
91411
|
+
};
|
|
91412
|
+
}
|
|
91410
91413
|
|
|
91411
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91414
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/index.js
|
|
91412
91415
|
init_cjs_shims();
|
|
91413
91416
|
|
|
91414
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91417
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/getAction.js
|
|
91415
91418
|
init_cjs_shims();
|
|
91416
91419
|
function getAction(client, actionFn, name) {
|
|
91417
91420
|
const action_implicit = client[actionFn.name];
|
|
@@ -91423,14 +91426,14 @@ function getAction(client, actionFn, name) {
|
|
|
91423
91426
|
return (params) => actionFn(client, params);
|
|
91424
91427
|
}
|
|
91425
91428
|
|
|
91426
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91429
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/createContractEventFilter.js
|
|
91427
91430
|
init_cjs_shims();
|
|
91428
91431
|
|
|
91429
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91432
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/encodeEventTopics.js
|
|
91430
91433
|
init_cjs_shims();
|
|
91431
91434
|
init_abi();
|
|
91432
91435
|
|
|
91433
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91436
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/log.js
|
|
91434
91437
|
init_cjs_shims();
|
|
91435
91438
|
init_base2();
|
|
91436
91439
|
var FilterTypeNotSupportedError = class extends BaseError4 {
|
|
@@ -91441,7 +91444,7 @@ var FilterTypeNotSupportedError = class extends BaseError4 {
|
|
|
91441
91444
|
}
|
|
91442
91445
|
};
|
|
91443
91446
|
|
|
91444
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91447
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/encodeEventTopics.js
|
|
91445
91448
|
init_toBytes2();
|
|
91446
91449
|
init_keccak2562();
|
|
91447
91450
|
init_toEventSelector();
|
|
@@ -91484,10 +91487,10 @@ function encodeArg({ param, value }) {
|
|
|
91484
91487
|
return encodeAbiParameters([param], [value]);
|
|
91485
91488
|
}
|
|
91486
91489
|
|
|
91487
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91490
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/createContractEventFilter.js
|
|
91488
91491
|
init_toHex2();
|
|
91489
91492
|
|
|
91490
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91493
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/filters/createFilterRequestScope.js
|
|
91491
91494
|
init_cjs_shims();
|
|
91492
91495
|
function createFilterRequestScope(client, { method }) {
|
|
91493
91496
|
const requestMap = {};
|
|
@@ -91499,7 +91502,7 @@ function createFilterRequestScope(client, { method }) {
|
|
|
91499
91502
|
return ((id) => requestMap[id] || client.request);
|
|
91500
91503
|
}
|
|
91501
91504
|
|
|
91502
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91505
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/createContractEventFilter.js
|
|
91503
91506
|
async function createContractEventFilter(client, parameters) {
|
|
91504
91507
|
const { address, abi, args, eventName, fromBlock, strict, toBlock } = parameters;
|
|
91505
91508
|
const getRequest = createFilterRequestScope(client, {
|
|
@@ -91532,7 +91535,7 @@ async function createContractEventFilter(client, parameters) {
|
|
|
91532
91535
|
};
|
|
91533
91536
|
}
|
|
91534
91537
|
|
|
91535
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91538
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/errors/getContractError.js
|
|
91536
91539
|
init_cjs_shims();
|
|
91537
91540
|
init_abi();
|
|
91538
91541
|
init_base2();
|
|
@@ -91566,18 +91569,18 @@ function getContractError(err3, { abi, address, args, docsPath: docsPath8, funct
|
|
|
91566
91569
|
});
|
|
91567
91570
|
}
|
|
91568
91571
|
|
|
91569
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91572
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/estimateGas.js
|
|
91570
91573
|
init_cjs_shims();
|
|
91571
91574
|
init_parseAccount();
|
|
91572
91575
|
init_base2();
|
|
91573
91576
|
|
|
91574
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91577
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/authorization/recoverAuthorizationAddress.js
|
|
91575
91578
|
init_cjs_shims();
|
|
91576
91579
|
|
|
91577
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91580
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/signature/recoverAddress.js
|
|
91578
91581
|
init_cjs_shims();
|
|
91579
91582
|
|
|
91580
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91583
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/accounts/utils/publicKeyToAddress.js
|
|
91581
91584
|
init_cjs_shims();
|
|
91582
91585
|
init_getAddress2();
|
|
91583
91586
|
init_keccak2562();
|
|
@@ -91586,7 +91589,7 @@ function publicKeyToAddress(publicKey) {
|
|
|
91586
91589
|
return checksumAddress2(`0x${address}`);
|
|
91587
91590
|
}
|
|
91588
91591
|
|
|
91589
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91592
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/signature/recoverPublicKey.js
|
|
91590
91593
|
init_cjs_shims();
|
|
91591
91594
|
init_isHex2();
|
|
91592
91595
|
init_size2();
|
|
@@ -91622,18 +91625,18 @@ function toRecoveryBit(yParityOrV) {
|
|
|
91622
91625
|
throw new Error("Invalid yParityOrV value");
|
|
91623
91626
|
}
|
|
91624
91627
|
|
|
91625
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91628
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/signature/recoverAddress.js
|
|
91626
91629
|
async function recoverAddress2({ hash: hash7, signature: signature2 }) {
|
|
91627
91630
|
return publicKeyToAddress(await recoverPublicKey2({ hash: hash7, signature: signature2 }));
|
|
91628
91631
|
}
|
|
91629
91632
|
|
|
91630
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91633
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/authorization/hashAuthorization.js
|
|
91631
91634
|
init_cjs_shims();
|
|
91632
91635
|
init_concat();
|
|
91633
91636
|
init_toBytes2();
|
|
91634
91637
|
init_toHex2();
|
|
91635
91638
|
|
|
91636
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91639
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/encoding/toRlp.js
|
|
91637
91640
|
init_cjs_shims();
|
|
91638
91641
|
init_base2();
|
|
91639
91642
|
init_cursor2();
|
|
@@ -91727,7 +91730,7 @@ function getSizeOfLength2(length) {
|
|
|
91727
91730
|
throw new BaseError4("Length is too large.");
|
|
91728
91731
|
}
|
|
91729
91732
|
|
|
91730
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91733
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/authorization/hashAuthorization.js
|
|
91731
91734
|
init_keccak2562();
|
|
91732
91735
|
function hashAuthorization(parameters) {
|
|
91733
91736
|
const { chainId, nonce: nonce2, to: to2 } = parameters;
|
|
@@ -91745,7 +91748,7 @@ function hashAuthorization(parameters) {
|
|
|
91745
91748
|
return hash7;
|
|
91746
91749
|
}
|
|
91747
91750
|
|
|
91748
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91751
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/authorization/recoverAuthorizationAddress.js
|
|
91749
91752
|
async function recoverAuthorizationAddress(parameters) {
|
|
91750
91753
|
const { authorization, signature: signature2 } = parameters;
|
|
91751
91754
|
return recoverAddress2({
|
|
@@ -91754,13 +91757,13 @@ async function recoverAuthorizationAddress(parameters) {
|
|
|
91754
91757
|
});
|
|
91755
91758
|
}
|
|
91756
91759
|
|
|
91757
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91760
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/estimateGas.js
|
|
91758
91761
|
init_toHex2();
|
|
91759
91762
|
|
|
91760
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91763
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/errors/getEstimateGasError.js
|
|
91761
91764
|
init_cjs_shims();
|
|
91762
91765
|
|
|
91763
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91766
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/estimateGas.js
|
|
91764
91767
|
init_cjs_shims();
|
|
91765
91768
|
init_formatEther();
|
|
91766
91769
|
init_formatGwei();
|
|
@@ -91799,7 +91802,7 @@ var EstimateGasExecutionError = class extends BaseError4 {
|
|
|
91799
91802
|
}
|
|
91800
91803
|
};
|
|
91801
91804
|
|
|
91802
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91805
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/errors/getEstimateGasError.js
|
|
91803
91806
|
init_node();
|
|
91804
91807
|
init_getNodeError();
|
|
91805
91808
|
function getEstimateGasError(err3, { docsPath: docsPath8, ...args }) {
|
|
@@ -91815,20 +91818,20 @@ function getEstimateGasError(err3, { docsPath: docsPath8, ...args }) {
|
|
|
91815
91818
|
});
|
|
91816
91819
|
}
|
|
91817
91820
|
|
|
91818
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91821
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/estimateGas.js
|
|
91819
91822
|
init_extract();
|
|
91820
91823
|
init_transactionRequest();
|
|
91821
91824
|
init_stateOverride2();
|
|
91822
91825
|
init_assertRequest();
|
|
91823
91826
|
|
|
91824
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91827
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/wallet/prepareTransactionRequest.js
|
|
91825
91828
|
init_cjs_shims();
|
|
91826
91829
|
init_parseAccount();
|
|
91827
91830
|
|
|
91828
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91831
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/estimateFeesPerGas.js
|
|
91829
91832
|
init_cjs_shims();
|
|
91830
91833
|
|
|
91831
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91834
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/fee.js
|
|
91832
91835
|
init_cjs_shims();
|
|
91833
91836
|
init_formatGwei();
|
|
91834
91837
|
init_base2();
|
|
@@ -91852,14 +91855,14 @@ var MaxFeePerGasTooLowError = class extends BaseError4 {
|
|
|
91852
91855
|
}
|
|
91853
91856
|
};
|
|
91854
91857
|
|
|
91855
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91858
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/estimateMaxPriorityFeePerGas.js
|
|
91856
91859
|
init_cjs_shims();
|
|
91857
91860
|
init_fromHex2();
|
|
91858
91861
|
|
|
91859
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91862
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getBlock.js
|
|
91860
91863
|
init_cjs_shims();
|
|
91861
91864
|
|
|
91862
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91865
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/block.js
|
|
91863
91866
|
init_cjs_shims();
|
|
91864
91867
|
init_base2();
|
|
91865
91868
|
var BlockNotFoundError = class extends BaseError4 {
|
|
@@ -91873,13 +91876,13 @@ var BlockNotFoundError = class extends BaseError4 {
|
|
|
91873
91876
|
}
|
|
91874
91877
|
};
|
|
91875
91878
|
|
|
91876
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91879
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getBlock.js
|
|
91877
91880
|
init_toHex2();
|
|
91878
91881
|
|
|
91879
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91882
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/formatters/block.js
|
|
91880
91883
|
init_cjs_shims();
|
|
91881
91884
|
|
|
91882
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91885
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/formatters/transaction.js
|
|
91883
91886
|
init_cjs_shims();
|
|
91884
91887
|
init_fromHex2();
|
|
91885
91888
|
init_formatter();
|
|
@@ -91952,7 +91955,7 @@ function formatAuthorizationList2(authorizationList) {
|
|
|
91952
91955
|
}));
|
|
91953
91956
|
}
|
|
91954
91957
|
|
|
91955
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91958
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/formatters/block.js
|
|
91956
91959
|
function formatBlock(block, _) {
|
|
91957
91960
|
const transactions = (block.transactions ?? []).map((transaction) => {
|
|
91958
91961
|
if (typeof transaction === "string")
|
|
@@ -91978,7 +91981,7 @@ function formatBlock(block, _) {
|
|
|
91978
91981
|
};
|
|
91979
91982
|
}
|
|
91980
91983
|
|
|
91981
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91984
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getBlock.js
|
|
91982
91985
|
async function getBlock(client, { blockHash, blockNumber, blockTag = client.experimental_blockTag ?? "latest", includeTransactions: includeTransactions_ } = {}) {
|
|
91983
91986
|
const includeTransactions = includeTransactions_ ?? false;
|
|
91984
91987
|
const blockNumberHex = blockNumber !== void 0 ? numberToHex2(blockNumber) : void 0;
|
|
@@ -92000,7 +92003,7 @@ async function getBlock(client, { blockHash, blockNumber, blockTag = client.expe
|
|
|
92000
92003
|
return format4(block, "getBlock");
|
|
92001
92004
|
}
|
|
92002
92005
|
|
|
92003
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92006
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getGasPrice.js
|
|
92004
92007
|
init_cjs_shims();
|
|
92005
92008
|
async function getGasPrice(client) {
|
|
92006
92009
|
const gasPrice = await client.request({
|
|
@@ -92009,7 +92012,7 @@ async function getGasPrice(client) {
|
|
|
92009
92012
|
return BigInt(gasPrice);
|
|
92010
92013
|
}
|
|
92011
92014
|
|
|
92012
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92015
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/estimateMaxPriorityFeePerGas.js
|
|
92013
92016
|
async function internal_estimateMaxPriorityFeePerGas(client, args) {
|
|
92014
92017
|
const { block: block_, chain: chain2 = client.chain, request } = args || {};
|
|
92015
92018
|
try {
|
|
@@ -92045,7 +92048,7 @@ async function internal_estimateMaxPriorityFeePerGas(client, args) {
|
|
|
92045
92048
|
}
|
|
92046
92049
|
}
|
|
92047
92050
|
|
|
92048
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92051
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/estimateFeesPerGas.js
|
|
92049
92052
|
async function internal_estimateFeesPerGas(client, args) {
|
|
92050
92053
|
const { block: block_, chain: chain2 = client.chain, request, type: type4 = "eip1559" } = args || {};
|
|
92051
92054
|
const baseFeeMultiplier = await (async () => {
|
|
@@ -92095,7 +92098,7 @@ async function internal_estimateFeesPerGas(client, args) {
|
|
|
92095
92098
|
};
|
|
92096
92099
|
}
|
|
92097
92100
|
|
|
92098
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92101
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getTransactionCount.js
|
|
92099
92102
|
init_cjs_shims();
|
|
92100
92103
|
init_fromHex2();
|
|
92101
92104
|
init_toHex2();
|
|
@@ -92112,7 +92115,7 @@ async function getTransactionCount(client, { address, blockTag = "latest", block
|
|
|
92112
92115
|
return hexToNumber2(count);
|
|
92113
92116
|
}
|
|
92114
92117
|
|
|
92115
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92118
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/blob/blobsToCommitments.js
|
|
92116
92119
|
init_cjs_shims();
|
|
92117
92120
|
init_toBytes2();
|
|
92118
92121
|
init_toHex2();
|
|
@@ -92126,7 +92129,7 @@ function blobsToCommitments(parameters) {
|
|
|
92126
92129
|
return to2 === "bytes" ? commitments : commitments.map((x) => bytesToHex3(x));
|
|
92127
92130
|
}
|
|
92128
92131
|
|
|
92129
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92132
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/blob/blobsToProofs.js
|
|
92130
92133
|
init_cjs_shims();
|
|
92131
92134
|
init_toBytes2();
|
|
92132
92135
|
init_toHex2();
|
|
@@ -92144,14 +92147,14 @@ function blobsToProofs(parameters) {
|
|
|
92144
92147
|
return to2 === "bytes" ? proofs : proofs.map((x) => bytesToHex3(x));
|
|
92145
92148
|
}
|
|
92146
92149
|
|
|
92147
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92150
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/blob/commitmentsToVersionedHashes.js
|
|
92148
92151
|
init_cjs_shims();
|
|
92149
92152
|
|
|
92150
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92153
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/blob/commitmentToVersionedHash.js
|
|
92151
92154
|
init_cjs_shims();
|
|
92152
92155
|
init_toHex2();
|
|
92153
92156
|
|
|
92154
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92157
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/hash/sha256.js
|
|
92155
92158
|
init_cjs_shims();
|
|
92156
92159
|
init_isHex2();
|
|
92157
92160
|
init_toBytes2();
|
|
@@ -92164,7 +92167,7 @@ function sha2564(value, to_) {
|
|
|
92164
92167
|
return toHex7(bytes);
|
|
92165
92168
|
}
|
|
92166
92169
|
|
|
92167
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92170
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/blob/commitmentToVersionedHash.js
|
|
92168
92171
|
function commitmentToVersionedHash(parameters) {
|
|
92169
92172
|
const { commitment, version: version7 = 1 } = parameters;
|
|
92170
92173
|
const to2 = parameters.to ?? (typeof commitment === "string" ? "hex" : "bytes");
|
|
@@ -92173,7 +92176,7 @@ function commitmentToVersionedHash(parameters) {
|
|
|
92173
92176
|
return to2 === "bytes" ? versionedHash : bytesToHex3(versionedHash);
|
|
92174
92177
|
}
|
|
92175
92178
|
|
|
92176
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92179
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/blob/commitmentsToVersionedHashes.js
|
|
92177
92180
|
function commitmentsToVersionedHashes(parameters) {
|
|
92178
92181
|
const { commitments, version: version7 } = parameters;
|
|
92179
92182
|
const to2 = parameters.to ?? (typeof commitments[0] === "string" ? "hex" : "bytes");
|
|
@@ -92188,13 +92191,13 @@ function commitmentsToVersionedHashes(parameters) {
|
|
|
92188
92191
|
return hashes;
|
|
92189
92192
|
}
|
|
92190
92193
|
|
|
92191
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92194
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/blob/toBlobSidecars.js
|
|
92192
92195
|
init_cjs_shims();
|
|
92193
92196
|
|
|
92194
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92197
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/blob/toBlobs.js
|
|
92195
92198
|
init_cjs_shims();
|
|
92196
92199
|
|
|
92197
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92200
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/constants/blob.js
|
|
92198
92201
|
init_cjs_shims();
|
|
92199
92202
|
var blobsPerTransaction = 6;
|
|
92200
92203
|
var bytesPerFieldElement = 32;
|
|
@@ -92204,14 +92207,14 @@ var maxBytesPerTransaction = bytesPerBlob * blobsPerTransaction - // terminator
|
|
|
92204
92207
|
1 - // zero byte (0x00) appended to each field element.
|
|
92205
92208
|
1 * fieldElementsPerBlob * blobsPerTransaction;
|
|
92206
92209
|
|
|
92207
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92210
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/blob.js
|
|
92208
92211
|
init_cjs_shims();
|
|
92209
92212
|
|
|
92210
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92213
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/constants/kzg.js
|
|
92211
92214
|
init_cjs_shims();
|
|
92212
92215
|
var versionedHashVersionKzg = 1;
|
|
92213
92216
|
|
|
92214
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92217
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/blob.js
|
|
92215
92218
|
init_base2();
|
|
92216
92219
|
var BlobSizeTooLargeError = class extends BaseError4 {
|
|
92217
92220
|
constructor({ maxSize, size: size6 }) {
|
|
@@ -92246,7 +92249,7 @@ var InvalidVersionedHashVersionError = class extends BaseError4 {
|
|
|
92246
92249
|
}
|
|
92247
92250
|
};
|
|
92248
92251
|
|
|
92249
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92252
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/blob/toBlobs.js
|
|
92250
92253
|
init_cursor2();
|
|
92251
92254
|
init_size2();
|
|
92252
92255
|
init_toBytes2();
|
|
@@ -92285,7 +92288,7 @@ function toBlobs(parameters) {
|
|
|
92285
92288
|
return to2 === "bytes" ? blobs.map((x) => x.bytes) : blobs.map((x) => bytesToHex3(x.bytes));
|
|
92286
92289
|
}
|
|
92287
92290
|
|
|
92288
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92291
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/blob/toBlobSidecars.js
|
|
92289
92292
|
function toBlobSidecars(parameters) {
|
|
92290
92293
|
const { data, kzg, to: to2 } = parameters;
|
|
92291
92294
|
const blobs = parameters.blobs ?? toBlobs({ data, to: to2 });
|
|
@@ -92301,11 +92304,11 @@ function toBlobSidecars(parameters) {
|
|
|
92301
92304
|
return sidecars;
|
|
92302
92305
|
}
|
|
92303
92306
|
|
|
92304
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92307
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/wallet/prepareTransactionRequest.js
|
|
92305
92308
|
init_lru2();
|
|
92306
92309
|
init_assertRequest();
|
|
92307
92310
|
|
|
92308
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92311
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/transaction/getTransactionType.js
|
|
92309
92312
|
init_cjs_shims();
|
|
92310
92313
|
init_transaction();
|
|
92311
92314
|
function getTransactionType(transaction) {
|
|
@@ -92326,11 +92329,11 @@ function getTransactionType(transaction) {
|
|
|
92326
92329
|
throw new InvalidSerializableTransactionError({ transaction });
|
|
92327
92330
|
}
|
|
92328
92331
|
|
|
92329
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92332
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/fillTransaction.js
|
|
92330
92333
|
init_cjs_shims();
|
|
92331
92334
|
init_parseAccount();
|
|
92332
92335
|
|
|
92333
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92336
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/errors/getTransactionError.js
|
|
92334
92337
|
init_cjs_shims();
|
|
92335
92338
|
init_node();
|
|
92336
92339
|
init_transaction();
|
|
@@ -92348,12 +92351,12 @@ function getTransactionError(err3, { docsPath: docsPath8, ...args }) {
|
|
|
92348
92351
|
});
|
|
92349
92352
|
}
|
|
92350
92353
|
|
|
92351
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92354
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/fillTransaction.js
|
|
92352
92355
|
init_extract();
|
|
92353
92356
|
init_transactionRequest();
|
|
92354
92357
|
init_assertRequest();
|
|
92355
92358
|
|
|
92356
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92359
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getChainId.js
|
|
92357
92360
|
init_cjs_shims();
|
|
92358
92361
|
init_fromHex2();
|
|
92359
92362
|
async function getChainId(client) {
|
|
@@ -92363,7 +92366,7 @@ async function getChainId(client) {
|
|
|
92363
92366
|
return hexToNumber2(chainIdHex);
|
|
92364
92367
|
}
|
|
92365
92368
|
|
|
92366
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92369
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/fillTransaction.js
|
|
92367
92370
|
async function fillTransaction(client, parameters) {
|
|
92368
92371
|
const { account = client.account, accessList, authorizationList, chain: chain2 = client.chain, blobVersionedHashes, blobs, data, gas, gasPrice, maxFeePerBlobGas, maxFeePerGas, maxPriorityFeePerGas, nonce: nonce_, nonceManager: nonceManager2, to: to2, type: type4, value, ...rest } = parameters;
|
|
92369
92372
|
const nonce2 = await (async () => {
|
|
@@ -92465,7 +92468,7 @@ async function fillTransaction(client, parameters) {
|
|
|
92465
92468
|
}
|
|
92466
92469
|
}
|
|
92467
92470
|
|
|
92468
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92471
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/wallet/prepareTransactionRequest.js
|
|
92469
92472
|
var defaultParameters = [
|
|
92470
92473
|
"blobVersionedHashes",
|
|
92471
92474
|
"chainId",
|
|
@@ -92673,7 +92676,7 @@ async function prepareTransactionRequest(client, args) {
|
|
|
92673
92676
|
return request;
|
|
92674
92677
|
}
|
|
92675
92678
|
|
|
92676
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92679
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/estimateGas.js
|
|
92677
92680
|
async function estimateGas(client, args) {
|
|
92678
92681
|
const { account: account_ = client.account, prepare = true } = args;
|
|
92679
92682
|
const account = account_ ? parseAccount(account_) : void 0;
|
|
@@ -92743,21 +92746,21 @@ async function estimateGas(client, args) {
|
|
|
92743
92746
|
}
|
|
92744
92747
|
}
|
|
92745
92748
|
|
|
92746
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92749
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getContractEvents.js
|
|
92747
92750
|
init_cjs_shims();
|
|
92748
92751
|
init_getAbiItem();
|
|
92749
92752
|
|
|
92750
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92753
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getLogs.js
|
|
92751
92754
|
init_cjs_shims();
|
|
92752
92755
|
|
|
92753
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92756
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/parseEventLogs.js
|
|
92754
92757
|
init_cjs_shims();
|
|
92755
92758
|
init_isAddressEqual();
|
|
92756
92759
|
init_toBytes2();
|
|
92757
92760
|
init_keccak2562();
|
|
92758
92761
|
init_toEventSelector();
|
|
92759
92762
|
|
|
92760
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92763
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/decodeEventLog.js
|
|
92761
92764
|
init_cjs_shims();
|
|
92762
92765
|
init_abi();
|
|
92763
92766
|
init_cursor();
|
|
@@ -92851,7 +92854,7 @@ function decodeTopic({ param, value }) {
|
|
|
92851
92854
|
return decodedArg[0];
|
|
92852
92855
|
}
|
|
92853
92856
|
|
|
92854
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92857
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/parseEventLogs.js
|
|
92855
92858
|
function parseEventLogs(parameters) {
|
|
92856
92859
|
const { abi, args, logs, strict = true } = parameters;
|
|
92857
92860
|
const eventName = (() => {
|
|
@@ -92955,10 +92958,10 @@ function includesArgs(parameters) {
|
|
|
92955
92958
|
return false;
|
|
92956
92959
|
}
|
|
92957
92960
|
|
|
92958
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92961
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getLogs.js
|
|
92959
92962
|
init_toHex2();
|
|
92960
92963
|
|
|
92961
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92964
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/formatters/log.js
|
|
92962
92965
|
init_cjs_shims();
|
|
92963
92966
|
function formatLog(log2, { args, eventName } = {}) {
|
|
92964
92967
|
return {
|
|
@@ -92973,7 +92976,7 @@ function formatLog(log2, { args, eventName } = {}) {
|
|
|
92973
92976
|
};
|
|
92974
92977
|
}
|
|
92975
92978
|
|
|
92976
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92979
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getLogs.js
|
|
92977
92980
|
async function getLogs(client, { address, blockHash, fromBlock, toBlock, event, events: events_, args, strict: strict_ } = {}) {
|
|
92978
92981
|
const strict = strict_ ?? false;
|
|
92979
92982
|
const events = events_ ?? (event ? [event] : void 0);
|
|
@@ -93018,7 +93021,7 @@ async function getLogs(client, { address, blockHash, fromBlock, toBlock, event,
|
|
|
93018
93021
|
});
|
|
93019
93022
|
}
|
|
93020
93023
|
|
|
93021
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93024
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getContractEvents.js
|
|
93022
93025
|
async function getContractEvents(client, parameters) {
|
|
93023
93026
|
const { abi, address, args, blockHash, eventName, fromBlock, toBlock, strict } = parameters;
|
|
93024
93027
|
const event = eventName ? getAbiItem({ abi, name: eventName }) : void 0;
|
|
@@ -93035,7 +93038,7 @@ async function getContractEvents(client, parameters) {
|
|
|
93035
93038
|
});
|
|
93036
93039
|
}
|
|
93037
93040
|
|
|
93038
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93041
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/readContract.js
|
|
93039
93042
|
init_cjs_shims();
|
|
93040
93043
|
init_decodeFunctionResult();
|
|
93041
93044
|
init_encodeFunctionData();
|
|
@@ -93070,12 +93073,12 @@ async function readContract(client, parameters) {
|
|
|
93070
93073
|
}
|
|
93071
93074
|
}
|
|
93072
93075
|
|
|
93073
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93076
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/watchContractEvent.js
|
|
93074
93077
|
init_cjs_shims();
|
|
93075
93078
|
init_abi();
|
|
93076
93079
|
init_rpc();
|
|
93077
93080
|
|
|
93078
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93081
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/observe.js
|
|
93079
93082
|
init_cjs_shims();
|
|
93080
93083
|
var listenersCache = /* @__PURE__ */ new Map();
|
|
93081
93084
|
var cleanupCache = /* @__PURE__ */ new Map();
|
|
@@ -93123,16 +93126,16 @@ function observe(observerId, callbacks, fn) {
|
|
|
93123
93126
|
return unwatch;
|
|
93124
93127
|
}
|
|
93125
93128
|
|
|
93126
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93129
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/poll.js
|
|
93127
93130
|
init_cjs_shims();
|
|
93128
93131
|
|
|
93129
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93132
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/wait.js
|
|
93130
93133
|
init_cjs_shims();
|
|
93131
93134
|
async function wait(time4) {
|
|
93132
93135
|
return new Promise((res) => setTimeout(res, time4));
|
|
93133
93136
|
}
|
|
93134
93137
|
|
|
93135
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93138
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/poll.js
|
|
93136
93139
|
function poll(fn, { emitOnBegin, initialWaitTime, interval }) {
|
|
93137
93140
|
let active = true;
|
|
93138
93141
|
const unwatch = () => active = false;
|
|
@@ -93155,13 +93158,13 @@ function poll(fn, { emitOnBegin, initialWaitTime, interval }) {
|
|
|
93155
93158
|
return unwatch;
|
|
93156
93159
|
}
|
|
93157
93160
|
|
|
93158
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93161
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/watchContractEvent.js
|
|
93159
93162
|
init_stringify();
|
|
93160
93163
|
|
|
93161
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93164
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getBlockNumber.js
|
|
93162
93165
|
init_cjs_shims();
|
|
93163
93166
|
|
|
93164
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93167
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/promise/withCache.js
|
|
93165
93168
|
init_cjs_shims();
|
|
93166
93169
|
var promiseCache = /* @__PURE__ */ new Map();
|
|
93167
93170
|
var responseCache = /* @__PURE__ */ new Map();
|
|
@@ -93204,7 +93207,7 @@ async function withCache(fn, { cacheKey: cacheKey2, cacheTime = Number.POSITIVE_
|
|
|
93204
93207
|
}
|
|
93205
93208
|
}
|
|
93206
93209
|
|
|
93207
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93210
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getBlockNumber.js
|
|
93208
93211
|
var cacheKey = (id) => `blockNumber.${id}`;
|
|
93209
93212
|
async function getBlockNumber(client, { cacheTime = client.cacheTime } = {}) {
|
|
93210
93213
|
const blockNumberHex = await withCache(() => client.request({
|
|
@@ -93213,7 +93216,7 @@ async function getBlockNumber(client, { cacheTime = client.cacheTime } = {}) {
|
|
|
93213
93216
|
return BigInt(blockNumberHex);
|
|
93214
93217
|
}
|
|
93215
93218
|
|
|
93216
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93219
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getFilterChanges.js
|
|
93217
93220
|
init_cjs_shims();
|
|
93218
93221
|
async function getFilterChanges(_client, { filter }) {
|
|
93219
93222
|
const strict = "strict" in filter && filter.strict;
|
|
@@ -93233,7 +93236,7 @@ async function getFilterChanges(_client, { filter }) {
|
|
|
93233
93236
|
});
|
|
93234
93237
|
}
|
|
93235
93238
|
|
|
93236
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93239
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/uninstallFilter.js
|
|
93237
93240
|
init_cjs_shims();
|
|
93238
93241
|
async function uninstallFilter(_client, { filter }) {
|
|
93239
93242
|
return filter.request({
|
|
@@ -93242,7 +93245,7 @@ async function uninstallFilter(_client, { filter }) {
|
|
|
93242
93245
|
});
|
|
93243
93246
|
}
|
|
93244
93247
|
|
|
93245
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93248
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/watchContractEvent.js
|
|
93246
93249
|
function watchContractEvent(client, parameters) {
|
|
93247
93250
|
const { abi, address, args, batch = true, eventName, fromBlock, onError, onLogs, poll: poll_, pollingInterval = client.pollingInterval, strict: strict_ } = parameters;
|
|
93248
93251
|
const enablePolling = (() => {
|
|
@@ -93418,11 +93421,11 @@ function watchContractEvent(client, parameters) {
|
|
|
93418
93421
|
return enablePolling ? pollContractEvent() : subscribeContractEvent();
|
|
93419
93422
|
}
|
|
93420
93423
|
|
|
93421
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93424
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/wallet/writeContract.js
|
|
93422
93425
|
init_cjs_shims();
|
|
93423
93426
|
init_parseAccount();
|
|
93424
93427
|
|
|
93425
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93428
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/account.js
|
|
93426
93429
|
init_cjs_shims();
|
|
93427
93430
|
init_base2();
|
|
93428
93431
|
var AccountNotFoundError = class extends BaseError4 {
|
|
@@ -93447,15 +93450,15 @@ var AccountTypeNotSupportedError = class extends BaseError4 {
|
|
|
93447
93450
|
}
|
|
93448
93451
|
};
|
|
93449
93452
|
|
|
93450
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93453
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/wallet/writeContract.js
|
|
93451
93454
|
init_encodeFunctionData();
|
|
93452
93455
|
|
|
93453
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93456
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/wallet/sendTransaction.js
|
|
93454
93457
|
init_cjs_shims();
|
|
93455
93458
|
init_parseAccount();
|
|
93456
93459
|
init_base2();
|
|
93457
93460
|
|
|
93458
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93461
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/chain/assertCurrentChain.js
|
|
93459
93462
|
init_cjs_shims();
|
|
93460
93463
|
init_chain();
|
|
93461
93464
|
function assertCurrentChain({ chain: chain2, currentChainId }) {
|
|
@@ -93465,14 +93468,14 @@ function assertCurrentChain({ chain: chain2, currentChainId }) {
|
|
|
93465
93468
|
throw new ChainMismatchError({ chain: chain2, currentChainId });
|
|
93466
93469
|
}
|
|
93467
93470
|
|
|
93468
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93471
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/wallet/sendTransaction.js
|
|
93469
93472
|
init_concat();
|
|
93470
93473
|
init_extract();
|
|
93471
93474
|
init_transactionRequest();
|
|
93472
93475
|
init_lru2();
|
|
93473
93476
|
init_assertRequest();
|
|
93474
93477
|
|
|
93475
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93478
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/wallet/sendRawTransaction.js
|
|
93476
93479
|
init_cjs_shims();
|
|
93477
93480
|
async function sendRawTransaction(client, { serializedTransaction }) {
|
|
93478
93481
|
return client.request({
|
|
@@ -93481,7 +93484,7 @@ async function sendRawTransaction(client, { serializedTransaction }) {
|
|
|
93481
93484
|
}, { retryCount: 0 });
|
|
93482
93485
|
}
|
|
93483
93486
|
|
|
93484
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93487
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/wallet/sendTransaction.js
|
|
93485
93488
|
var supportsWalletNamespace = new LruMap3(128);
|
|
93486
93489
|
async function sendTransaction(client, parameters) {
|
|
93487
93490
|
const { account: account_ = client.account, assertChainId = true, chain: chain2 = client.chain, accessList, authorizationList, blobs, data, dataSuffix = typeof client.dataSuffix === "string" ? client.dataSuffix : client.dataSuffix?.value, gas, gasPrice, maxFeePerBlobGas, maxFeePerGas, maxPriorityFeePerGas, nonce: nonce2, type: type4, value, ...rest } = parameters;
|
|
@@ -93618,7 +93621,7 @@ async function sendTransaction(client, parameters) {
|
|
|
93618
93621
|
}
|
|
93619
93622
|
}
|
|
93620
93623
|
|
|
93621
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93624
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/wallet/writeContract.js
|
|
93622
93625
|
async function writeContract(client, parameters) {
|
|
93623
93626
|
return writeContract.internal(client, sendTransaction, "sendTransaction", parameters);
|
|
93624
93627
|
}
|
|
@@ -93656,7 +93659,7 @@ async function writeContract(client, parameters) {
|
|
|
93656
93659
|
writeContract2.internal = internal;
|
|
93657
93660
|
})(writeContract || (writeContract = {}));
|
|
93658
93661
|
|
|
93659
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93662
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/promise/withRetry.js
|
|
93660
93663
|
init_cjs_shims();
|
|
93661
93664
|
function withRetry(fn, { delay: delay_ = 100, retryCount = 2, shouldRetry: shouldRetry2 = () => true } = {}) {
|
|
93662
93665
|
return new Promise((resolve, reject) => {
|
|
@@ -93680,7 +93683,7 @@ function withRetry(fn, { delay: delay_ = 100, retryCount = 2, shouldRetry: shoul
|
|
|
93680
93683
|
});
|
|
93681
93684
|
}
|
|
93682
93685
|
|
|
93683
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93686
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/formatters/transactionReceipt.js
|
|
93684
93687
|
init_cjs_shims();
|
|
93685
93688
|
init_fromHex2();
|
|
93686
93689
|
init_formatter();
|
|
@@ -93710,11 +93713,11 @@ function formatTransactionReceipt(transactionReceipt, _) {
|
|
|
93710
93713
|
}
|
|
93711
93714
|
var defineTransactionReceipt = /* @__PURE__ */ defineFormatter("transactionReceipt", formatTransactionReceipt);
|
|
93712
93715
|
|
|
93713
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93716
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/clients/createClient.js
|
|
93714
93717
|
init_cjs_shims();
|
|
93715
93718
|
init_parseAccount();
|
|
93716
93719
|
|
|
93717
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93720
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/uid.js
|
|
93718
93721
|
init_cjs_shims();
|
|
93719
93722
|
var size5 = 256;
|
|
93720
93723
|
var index = size5;
|
|
@@ -93730,7 +93733,7 @@ function uid(length = 11) {
|
|
|
93730
93733
|
return buffer.substring(index, index++ + length);
|
|
93731
93734
|
}
|
|
93732
93735
|
|
|
93733
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93736
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/clients/createClient.js
|
|
93734
93737
|
function createClient(parameters) {
|
|
93735
93738
|
const { batch, chain: chain2, ccipRead, dataSuffix, key = "base", name = "Base Client", type: type4 = "base" } = parameters;
|
|
93736
93739
|
const experimental_blockTag = parameters.experimental_blockTag ?? (typeof chain2?.experimental_preconfirmationTime === "number" ? "pending" : void 0);
|
|
@@ -93773,7 +93776,7 @@ function createClient(parameters) {
|
|
|
93773
93776
|
return Object.assign(client, { extend: extend3(client) });
|
|
93774
93777
|
}
|
|
93775
93778
|
|
|
93776
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93779
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getCode.js
|
|
93777
93780
|
init_cjs_shims();
|
|
93778
93781
|
init_toHex2();
|
|
93779
93782
|
async function getCode(client, { address, blockNumber, blockTag = "latest" }) {
|
|
@@ -93787,22 +93790,22 @@ async function getCode(client, { address, blockNumber, blockTag = "latest" }) {
|
|
|
93787
93790
|
return hex4;
|
|
93788
93791
|
}
|
|
93789
93792
|
|
|
93790
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93793
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/index.js
|
|
93791
93794
|
init_cjs_shims();
|
|
93792
93795
|
init_encodeFunctionData();
|
|
93793
93796
|
|
|
93794
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93797
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/authorization/serializeAuthorizationList.js
|
|
93795
93798
|
init_cjs_shims();
|
|
93796
93799
|
init_toHex2();
|
|
93797
93800
|
|
|
93798
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93801
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/transaction/serializeTransaction.js
|
|
93799
93802
|
init_cjs_shims();
|
|
93800
93803
|
init_transaction();
|
|
93801
93804
|
init_concat();
|
|
93802
93805
|
init_trim();
|
|
93803
93806
|
init_toHex2();
|
|
93804
93807
|
|
|
93805
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93808
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/transaction/assertTransaction.js
|
|
93806
93809
|
init_cjs_shims();
|
|
93807
93810
|
init_number();
|
|
93808
93811
|
init_address2();
|
|
@@ -93880,7 +93883,7 @@ function assertTransactionLegacy(transaction) {
|
|
|
93880
93883
|
throw new FeeCapTooHighError2({ maxFeePerGas: gasPrice });
|
|
93881
93884
|
}
|
|
93882
93885
|
|
|
93883
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93886
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/transaction/serializeAccessList.js
|
|
93884
93887
|
init_cjs_shims();
|
|
93885
93888
|
init_address2();
|
|
93886
93889
|
init_transaction();
|
|
@@ -93904,7 +93907,7 @@ function serializeAccessList(accessList) {
|
|
|
93904
93907
|
return serializedAccessList;
|
|
93905
93908
|
}
|
|
93906
93909
|
|
|
93907
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93910
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/transaction/serializeTransaction.js
|
|
93908
93911
|
function serializeTransaction(transaction, signature2) {
|
|
93909
93912
|
const type4 = getTransactionType(transaction);
|
|
93910
93913
|
if (type4 === "eip1559")
|
|
@@ -94104,7 +94107,7 @@ function toYParitySignatureArray(transaction, signature_) {
|
|
|
94104
94107
|
return [yParity_, r === "0x00" ? "0x" : r, s === "0x00" ? "0x" : s];
|
|
94105
94108
|
}
|
|
94106
94109
|
|
|
94107
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94110
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/authorization/serializeAuthorizationList.js
|
|
94108
94111
|
function serializeAuthorizationList(authorizationList) {
|
|
94109
94112
|
if (!authorizationList || authorizationList.length === 0)
|
|
94110
94113
|
return [];
|
|
@@ -94122,7 +94125,7 @@ function serializeAuthorizationList(authorizationList) {
|
|
|
94122
94125
|
return serializedAuthorizationList;
|
|
94123
94126
|
}
|
|
94124
94127
|
|
|
94125
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94128
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/authorization/verifyAuthorization.js
|
|
94126
94129
|
init_cjs_shims();
|
|
94127
94130
|
init_getAddress2();
|
|
94128
94131
|
init_isAddressEqual();
|
|
@@ -94133,14 +94136,14 @@ async function verifyAuthorization({ address, authorization, signature: signatur
|
|
|
94133
94136
|
}));
|
|
94134
94137
|
}
|
|
94135
94138
|
|
|
94136
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94139
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/buildRequest.js
|
|
94137
94140
|
init_cjs_shims();
|
|
94138
94141
|
init_base2();
|
|
94139
94142
|
init_request();
|
|
94140
94143
|
init_rpc();
|
|
94141
94144
|
init_toHex2();
|
|
94142
94145
|
|
|
94143
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94146
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/promise/withDedupe.js
|
|
94144
94147
|
init_cjs_shims();
|
|
94145
94148
|
init_lru2();
|
|
94146
94149
|
var promiseCache2 = /* @__PURE__ */ new LruMap3(8192);
|
|
@@ -94154,7 +94157,7 @@ function withDedupe(fn, { enabled = true, id }) {
|
|
|
94154
94157
|
return promise3;
|
|
94155
94158
|
}
|
|
94156
94159
|
|
|
94157
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94160
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/buildRequest.js
|
|
94158
94161
|
init_stringify();
|
|
94159
94162
|
function buildRequest(request, options = {}) {
|
|
94160
94163
|
return async (args, overrideOptions = {}) => {
|
|
@@ -94315,7 +94318,7 @@ function shouldRetry(error48) {
|
|
|
94315
94318
|
return true;
|
|
94316
94319
|
}
|
|
94317
94320
|
|
|
94318
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94321
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/chain/defineChain.js
|
|
94319
94322
|
init_cjs_shims();
|
|
94320
94323
|
function defineChain(chain2) {
|
|
94321
94324
|
const chainInstance = {
|
|
@@ -94339,14 +94342,14 @@ function extendSchema() {
|
|
|
94339
94342
|
return {};
|
|
94340
94343
|
}
|
|
94341
94344
|
|
|
94342
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94345
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/index.js
|
|
94343
94346
|
init_toHex2();
|
|
94344
94347
|
|
|
94345
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94348
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/rpc/http.js
|
|
94346
94349
|
init_cjs_shims();
|
|
94347
94350
|
init_request();
|
|
94348
94351
|
|
|
94349
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94352
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/promise/withTimeout.js
|
|
94350
94353
|
init_cjs_shims();
|
|
94351
94354
|
function withTimeout(fn, { errorInstance = new Error("timed out"), timeout, signal }) {
|
|
94352
94355
|
return new Promise((resolve, reject) => {
|
|
@@ -94376,10 +94379,10 @@ function withTimeout(fn, { errorInstance = new Error("timed out"), timeout, sign
|
|
|
94376
94379
|
});
|
|
94377
94380
|
}
|
|
94378
94381
|
|
|
94379
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94382
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/rpc/http.js
|
|
94380
94383
|
init_stringify();
|
|
94381
94384
|
|
|
94382
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94385
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/rpc/id.js
|
|
94383
94386
|
init_cjs_shims();
|
|
94384
94387
|
function createIdStore() {
|
|
94385
94388
|
return {
|
|
@@ -94394,7 +94397,7 @@ function createIdStore() {
|
|
|
94394
94397
|
}
|
|
94395
94398
|
var idCache = /* @__PURE__ */ createIdStore();
|
|
94396
94399
|
|
|
94397
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94400
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/rpc/http.js
|
|
94398
94401
|
function getHttpRpcClient(url_, options = {}) {
|
|
94399
94402
|
const { url: url3, headers: headers_url } = parseUrl(url_);
|
|
94400
94403
|
return {
|
|
@@ -94495,18 +94498,18 @@ function parseUrl(url_) {
|
|
|
94495
94498
|
}
|
|
94496
94499
|
}
|
|
94497
94500
|
|
|
94498
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94501
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/signature/hashMessage.js
|
|
94499
94502
|
init_cjs_shims();
|
|
94500
94503
|
init_keccak2562();
|
|
94501
94504
|
|
|
94502
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94505
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/signature/toPrefixedMessage.js
|
|
94503
94506
|
init_cjs_shims();
|
|
94504
94507
|
|
|
94505
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94508
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/constants/strings.js
|
|
94506
94509
|
init_cjs_shims();
|
|
94507
94510
|
var presignMessagePrefix = "Ethereum Signed Message:\n";
|
|
94508
94511
|
|
|
94509
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94512
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/signature/toPrefixedMessage.js
|
|
94510
94513
|
init_concat();
|
|
94511
94514
|
init_size2();
|
|
94512
94515
|
init_toHex2();
|
|
@@ -94522,24 +94525,24 @@ function toPrefixedMessage(message_) {
|
|
|
94522
94525
|
return concat3([prefix, message]);
|
|
94523
94526
|
}
|
|
94524
94527
|
|
|
94525
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94528
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/signature/hashMessage.js
|
|
94526
94529
|
function hashMessage(message, to_) {
|
|
94527
94530
|
return keccak2563(toPrefixedMessage(message), to_);
|
|
94528
94531
|
}
|
|
94529
94532
|
|
|
94530
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94533
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/signature/hashTypedData.js
|
|
94531
94534
|
init_cjs_shims();
|
|
94532
94535
|
init_encodeAbiParameters();
|
|
94533
94536
|
init_concat();
|
|
94534
94537
|
init_toHex2();
|
|
94535
94538
|
init_keccak2562();
|
|
94536
94539
|
|
|
94537
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94540
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/typedData.js
|
|
94538
94541
|
init_cjs_shims();
|
|
94539
94542
|
init_abi();
|
|
94540
94543
|
init_address2();
|
|
94541
94544
|
|
|
94542
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94545
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/typedData.js
|
|
94543
94546
|
init_cjs_shims();
|
|
94544
94547
|
init_stringify();
|
|
94545
94548
|
init_base2();
|
|
@@ -94567,7 +94570,7 @@ var InvalidStructTypeError = class extends BaseError4 {
|
|
|
94567
94570
|
}
|
|
94568
94571
|
};
|
|
94569
94572
|
|
|
94570
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94573
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/typedData.js
|
|
94571
94574
|
init_isAddress2();
|
|
94572
94575
|
init_size2();
|
|
94573
94576
|
init_toHex2();
|
|
@@ -94662,7 +94665,7 @@ function validateReference(type4) {
|
|
|
94662
94665
|
throw new InvalidStructTypeError({ type: type4 });
|
|
94663
94666
|
}
|
|
94664
94667
|
|
|
94665
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94668
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/signature/hashTypedData.js
|
|
94666
94669
|
function hashTypedData(parameters) {
|
|
94667
94670
|
const { domain: domain2 = {}, message, primaryType } = parameters;
|
|
94668
94671
|
const types2 = {
|
|
@@ -94780,7 +94783,7 @@ var SignatureErc8010_exports = {};
|
|
|
94780
94783
|
__export(SignatureErc8010_exports, {
|
|
94781
94784
|
InvalidWrappedSignatureError: () => InvalidWrappedSignatureError,
|
|
94782
94785
|
assert: () => assert7,
|
|
94783
|
-
from: () =>
|
|
94786
|
+
from: () => from11,
|
|
94784
94787
|
magicBytes: () => magicBytes,
|
|
94785
94788
|
suffixParameters: () => suffixParameters,
|
|
94786
94789
|
unwrap: () => unwrap,
|
|
@@ -94799,7 +94802,7 @@ function assert7(value) {
|
|
|
94799
94802
|
} else
|
|
94800
94803
|
assert6(value.authorization);
|
|
94801
94804
|
}
|
|
94802
|
-
function
|
|
94805
|
+
function from11(value) {
|
|
94803
94806
|
if (typeof value === "string")
|
|
94804
94807
|
return unwrap(value);
|
|
94805
94808
|
return value;
|
|
@@ -94863,10 +94866,10 @@ var InvalidWrappedSignatureError = class extends BaseError3 {
|
|
|
94863
94866
|
}
|
|
94864
94867
|
};
|
|
94865
94868
|
|
|
94866
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94869
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/unit/parseUnits.js
|
|
94867
94870
|
init_cjs_shims();
|
|
94868
94871
|
|
|
94869
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94872
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/unit.js
|
|
94870
94873
|
init_cjs_shims();
|
|
94871
94874
|
init_base2();
|
|
94872
94875
|
var InvalidDecimalNumberError = class extends BaseError4 {
|
|
@@ -94877,7 +94880,7 @@ var InvalidDecimalNumberError = class extends BaseError4 {
|
|
|
94877
94880
|
}
|
|
94878
94881
|
};
|
|
94879
94882
|
|
|
94880
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94883
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/unit/parseUnits.js
|
|
94881
94884
|
function parseUnits(value, decimals2) {
|
|
94882
94885
|
if (!/^(-?)([0-9]*)\.?([0-9]*)$/.test(value))
|
|
94883
94886
|
throw new InvalidDecimalNumberError({ value });
|
|
@@ -94912,7 +94915,7 @@ function parseUnits(value, decimals2) {
|
|
|
94912
94915
|
return BigInt(`${negative ? "-" : ""}${integer2}${fraction}`);
|
|
94913
94916
|
}
|
|
94914
94917
|
|
|
94915
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94918
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getTransaction.js
|
|
94916
94919
|
init_cjs_shims();
|
|
94917
94920
|
init_transaction();
|
|
94918
94921
|
init_toHex2();
|
|
@@ -94953,7 +94956,7 @@ async function getTransaction(client, { blockHash, blockNumber, blockTag: blockT
|
|
|
94953
94956
|
return format4(transaction, "getTransaction");
|
|
94954
94957
|
}
|
|
94955
94958
|
|
|
94956
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94959
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getTransactionReceipt.js
|
|
94957
94960
|
init_cjs_shims();
|
|
94958
94961
|
init_transaction();
|
|
94959
94962
|
async function getTransactionReceipt(client, { hash: hash7 }) {
|
|
@@ -94967,7 +94970,7 @@ async function getTransactionReceipt(client, { hash: hash7 }) {
|
|
|
94967
94970
|
return format4(receipt, "getTransactionReceipt");
|
|
94968
94971
|
}
|
|
94969
94972
|
|
|
94970
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94973
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/multicall.js
|
|
94971
94974
|
init_cjs_shims();
|
|
94972
94975
|
init_abis();
|
|
94973
94976
|
init_contracts();
|
|
@@ -95105,11 +95108,11 @@ async function multicall(client, parameters) {
|
|
|
95105
95108
|
return results;
|
|
95106
95109
|
}
|
|
95107
95110
|
|
|
95108
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
95111
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/constants/address.js
|
|
95109
95112
|
init_cjs_shims();
|
|
95110
95113
|
var zeroAddress = "0x0000000000000000000000000000000000000000";
|
|
95111
95114
|
|
|
95112
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
95115
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/verifyHash.js
|
|
95113
95116
|
init_cjs_shims();
|
|
95114
95117
|
|
|
95115
95118
|
// ../../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/erc6492/index.js
|
|
@@ -95120,7 +95123,7 @@ var SignatureErc6492_exports = {};
|
|
|
95120
95123
|
__export(SignatureErc6492_exports, {
|
|
95121
95124
|
InvalidWrappedSignatureError: () => InvalidWrappedSignatureError2,
|
|
95122
95125
|
assert: () => assert8,
|
|
95123
|
-
from: () =>
|
|
95126
|
+
from: () => from12,
|
|
95124
95127
|
magicBytes: () => magicBytes2,
|
|
95125
95128
|
universalSignatureValidatorAbi: () => universalSignatureValidatorAbi,
|
|
95126
95129
|
universalSignatureValidatorBytecode: () => universalSignatureValidatorBytecode,
|
|
@@ -95181,7 +95184,7 @@ function assert8(wrapped) {
|
|
|
95181
95184
|
if (slice(wrapped, -32) !== magicBytes2)
|
|
95182
95185
|
throw new InvalidWrappedSignatureError2(wrapped);
|
|
95183
95186
|
}
|
|
95184
|
-
function
|
|
95187
|
+
function from12(wrapped) {
|
|
95185
95188
|
if (typeof wrapped === "string")
|
|
95186
95189
|
return unwrap2(wrapped);
|
|
95187
95190
|
return wrapped;
|
|
@@ -95219,7 +95222,7 @@ var InvalidWrappedSignatureError2 = class extends BaseError3 {
|
|
|
95219
95222
|
}
|
|
95220
95223
|
};
|
|
95221
95224
|
|
|
95222
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
95225
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/verifyHash.js
|
|
95223
95226
|
init_abis();
|
|
95224
95227
|
init_contracts();
|
|
95225
95228
|
init_contract();
|
|
@@ -95232,7 +95235,7 @@ init_isHex2();
|
|
|
95232
95235
|
init_fromHex2();
|
|
95233
95236
|
init_toHex2();
|
|
95234
95237
|
|
|
95235
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
95238
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/signature/serializeSignature.js
|
|
95236
95239
|
init_cjs_shims();
|
|
95237
95240
|
init_secp256k1();
|
|
95238
95241
|
init_fromHex2();
|
|
@@ -95251,7 +95254,7 @@ function serializeSignature({ r, s, to: to2 = "hex", v, yParity }) {
|
|
|
95251
95254
|
return hexToBytes3(signature2);
|
|
95252
95255
|
}
|
|
95253
95256
|
|
|
95254
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
95257
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/verifyHash.js
|
|
95255
95258
|
init_call();
|
|
95256
95259
|
async function verifyHash(client, parameters) {
|
|
95257
95260
|
const { address, chain: chain2 = client.chain, hash: hash7, erc6492VerifierAddress: verifierAddress = parameters.universalSignatureVerifierAddress ?? chain2?.contracts?.erc6492Verifier?.address, multicallAddress = parameters.multicallAddress ?? chain2?.contracts?.multicall3?.address } = parameters;
|
|
@@ -95412,13 +95415,13 @@ async function verifyErc1271(client, parameters) {
|
|
|
95412
95415
|
var VerificationError = class extends Error {
|
|
95413
95416
|
};
|
|
95414
95417
|
|
|
95415
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
95418
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/waitForTransactionReceipt.js
|
|
95416
95419
|
init_cjs_shims();
|
|
95417
95420
|
init_transaction();
|
|
95418
95421
|
init_withResolvers();
|
|
95419
95422
|
init_stringify();
|
|
95420
95423
|
|
|
95421
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
95424
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/watchBlockNumber.js
|
|
95422
95425
|
init_cjs_shims();
|
|
95423
95426
|
init_fromHex2();
|
|
95424
95427
|
init_stringify();
|
|
@@ -95513,7 +95516,7 @@ function watchBlockNumber(client, { emitOnBegin = false, emitMissed = false, onB
|
|
|
95513
95516
|
return enablePolling ? pollBlockNumber() : subscribeBlockNumber();
|
|
95514
95517
|
}
|
|
95515
95518
|
|
|
95516
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
95519
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/waitForTransactionReceipt.js
|
|
95517
95520
|
async function waitForTransactionReceipt(client, parameters) {
|
|
95518
95521
|
const {
|
|
95519
95522
|
checkReplacement = true,
|
|
@@ -95645,7 +95648,7 @@ async function waitForTransactionReceipt(client, parameters) {
|
|
|
95645
95648
|
return promise3;
|
|
95646
95649
|
}
|
|
95647
95650
|
|
|
95648
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
95651
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/wallet/sendRawTransactionSync.js
|
|
95649
95652
|
init_cjs_shims();
|
|
95650
95653
|
init_transaction();
|
|
95651
95654
|
async function sendRawTransactionSync(client, { serializedTransaction, throwOnReceiptRevert, timeout }) {
|
|
@@ -95660,7 +95663,7 @@ async function sendRawTransactionSync(client, { serializedTransaction, throwOnRe
|
|
|
95660
95663
|
return formatted;
|
|
95661
95664
|
}
|
|
95662
95665
|
|
|
95663
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
95666
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/wallet/sendTransactionSync.js
|
|
95664
95667
|
init_cjs_shims();
|
|
95665
95668
|
init_parseAccount();
|
|
95666
95669
|
init_base2();
|
|
@@ -95820,7 +95823,7 @@ async function sendTransactionSync(client, parameters) {
|
|
|
95820
95823
|
}
|
|
95821
95824
|
}
|
|
95822
95825
|
|
|
95823
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
95826
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/wallet/signTransaction.js
|
|
95824
95827
|
init_cjs_shims();
|
|
95825
95828
|
init_parseAccount();
|
|
95826
95829
|
init_toHex2();
|
|
@@ -95865,7 +95868,7 @@ async function signTransaction(client, parameters) {
|
|
|
95865
95868
|
}, { retryCount: 0 });
|
|
95866
95869
|
}
|
|
95867
95870
|
|
|
95868
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
95871
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/wallet/signTypedData.js
|
|
95869
95872
|
init_cjs_shims();
|
|
95870
95873
|
init_parseAccount();
|
|
95871
95874
|
async function signTypedData(client, parameters) {
|
|
@@ -95889,13 +95892,13 @@ async function signTypedData(client, parameters) {
|
|
|
95889
95892
|
}, { retryCount: 0 });
|
|
95890
95893
|
}
|
|
95891
95894
|
|
|
95892
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
95895
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/wallet/writeContractSync.js
|
|
95893
95896
|
init_cjs_shims();
|
|
95894
95897
|
async function writeContractSync(client, parameters) {
|
|
95895
95898
|
return writeContract.internal(client, sendTransactionSync, "sendTransactionSync", parameters);
|
|
95896
95899
|
}
|
|
95897
95900
|
|
|
95898
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
95901
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/clients/transports/createTransport.js
|
|
95899
95902
|
init_cjs_shims();
|
|
95900
95903
|
function createTransport({ key, methods, name, request, retryCount = 3, retryDelay = 150, timeout, type: type4 }, value) {
|
|
95901
95904
|
const uid2 = uid();
|
|
@@ -95915,11 +95918,11 @@ function createTransport({ key, methods, name, request, retryCount = 3, retryDel
|
|
|
95915
95918
|
};
|
|
95916
95919
|
}
|
|
95917
95920
|
|
|
95918
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
95921
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/clients/transports/http.js
|
|
95919
95922
|
init_cjs_shims();
|
|
95920
95923
|
init_request();
|
|
95921
95924
|
|
|
95922
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
95925
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/transport.js
|
|
95923
95926
|
init_cjs_shims();
|
|
95924
95927
|
init_base2();
|
|
95925
95928
|
var UrlRequiredError = class extends BaseError4 {
|
|
@@ -95931,7 +95934,7 @@ var UrlRequiredError = class extends BaseError4 {
|
|
|
95931
95934
|
}
|
|
95932
95935
|
};
|
|
95933
95936
|
|
|
95934
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
95937
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/clients/transports/http.js
|
|
95935
95938
|
init_createBatchScheduler();
|
|
95936
95939
|
function http(url3, config2 = {}) {
|
|
95937
95940
|
const { batch, fetchFn, fetchOptions, key = "http", methods, name = "HTTP JSON-RPC", onFetchRequest, onFetchResponse, retryDelay, raw } = config2;
|
|
@@ -95993,135 +95996,29 @@ function http(url3, config2 = {}) {
|
|
|
95993
95996
|
};
|
|
95994
95997
|
}
|
|
95995
95998
|
|
|
95996
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
95999
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/index.js
|
|
95997
96000
|
init_encodeFunctionData();
|
|
95998
96001
|
init_getAbiItem();
|
|
95999
96002
|
init_getAddress2();
|
|
96000
96003
|
init_toFunctionSelector();
|
|
96001
96004
|
init_formatUnits();
|
|
96002
96005
|
|
|
96003
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
96004
|
-
function from12(intent) {
|
|
96005
|
-
return intent;
|
|
96006
|
-
}
|
|
96007
|
-
var charge = from12({
|
|
96008
|
-
name: "charge",
|
|
96009
|
-
schema: {
|
|
96010
|
-
request: pipe(
|
|
96011
|
-
object({
|
|
96012
|
-
amount: amount(),
|
|
96013
|
-
currency: string2(),
|
|
96014
|
-
decimals: number2(),
|
|
96015
|
-
description: optional(string2()),
|
|
96016
|
-
expires: _default2(datetime4(), () => minutes(5)),
|
|
96017
|
-
externalId: optional(string2()),
|
|
96018
|
-
recipient: optional(string2())
|
|
96019
|
-
}),
|
|
96020
|
-
// Note: Since the spec states we must have `amount` as a base unit, we
|
|
96021
|
-
// will transform the amount to decimal units based on `decimals`.
|
|
96022
|
-
transform(({ amount: amount2, decimals: decimals2, ...rest }) => ({
|
|
96023
|
-
...rest,
|
|
96024
|
-
amount: parseUnits(amount2, decimals2).toString()
|
|
96025
|
-
}))
|
|
96026
|
-
)
|
|
96027
|
-
}
|
|
96028
|
-
});
|
|
96029
|
-
var session = from12({
|
|
96030
|
-
name: "session",
|
|
96031
|
-
schema: {
|
|
96032
|
-
request: pipe(object({
|
|
96033
|
-
amount: amount(),
|
|
96034
|
-
unitType: string2(),
|
|
96035
|
-
currency: string2(),
|
|
96036
|
-
decimals: number2(),
|
|
96037
|
-
recipient: optional(string2()),
|
|
96038
|
-
suggestedDeposit: optional(amount())
|
|
96039
|
-
}), transform(({ amount: amount2, decimals: decimals2, suggestedDeposit, ...rest }) => ({
|
|
96040
|
-
...rest,
|
|
96041
|
-
amount: parseUnits(amount2, decimals2).toString(),
|
|
96042
|
-
...suggestedDeposit ? { suggestedDeposit: parseUnits(suggestedDeposit, decimals2).toString() } : {}
|
|
96043
|
-
})))
|
|
96044
|
-
}
|
|
96045
|
-
});
|
|
96046
|
-
function shapeOf(intent) {
|
|
96047
|
-
const { request } = intent.schema;
|
|
96048
|
-
if ("shape" in request)
|
|
96049
|
-
return request.shape;
|
|
96050
|
-
return request._zod.def.in.shape;
|
|
96051
|
-
}
|
|
96052
|
-
|
|
96053
|
-
// ../../../node_modules/.pnpm/mppx@0.1.1_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_b0197f2b468791c6b28e73953793d235/node_modules/mppx/dist/MethodIntent.js
|
|
96054
|
-
function fromIntent3(intent, options) {
|
|
96055
|
-
const { name } = intent;
|
|
96056
|
-
const { method, schema } = options;
|
|
96057
|
-
const requestShape = shapeOf(intent);
|
|
96058
|
-
const methodDetails = schema.request?.methodDetails;
|
|
96059
|
-
const requires = schema.request?.requires ?? [];
|
|
96060
|
-
const requestInputShape = {};
|
|
96061
|
-
for (const [key, field] of Object.entries(requestShape)) {
|
|
96062
|
-
if (requires.includes(key))
|
|
96063
|
-
requestInputShape[key] = unwrapOptional(field);
|
|
96064
|
-
else
|
|
96065
|
-
requestInputShape[key] = field;
|
|
96066
|
-
}
|
|
96067
|
-
const methodDetailsKeys = [];
|
|
96068
|
-
if (methodDetails)
|
|
96069
|
-
for (const [key, field] of Object.entries(methodDetails.shape)) {
|
|
96070
|
-
requestInputShape[key] = field;
|
|
96071
|
-
methodDetailsKeys.push(key);
|
|
96072
|
-
}
|
|
96073
|
-
const intentRequest = intent.schema.request;
|
|
96074
|
-
const hasPipe = !("shape" in intentRequest);
|
|
96075
|
-
const request = pipe(object(requestInputShape), transform((input) => {
|
|
96076
|
-
const transformed = hasPipe ? intentRequest.parse(input) : input;
|
|
96077
|
-
const result = {};
|
|
96078
|
-
const details = {};
|
|
96079
|
-
for (const [key, value] of Object.entries(transformed)) {
|
|
96080
|
-
result[key] = value;
|
|
96081
|
-
}
|
|
96082
|
-
for (const key of methodDetailsKeys) {
|
|
96083
|
-
const value = input[key];
|
|
96084
|
-
if (value !== void 0)
|
|
96085
|
-
details[key] = value;
|
|
96086
|
-
}
|
|
96087
|
-
if (Object.keys(details).length > 0)
|
|
96088
|
-
result.methodDetails = details;
|
|
96089
|
-
return result;
|
|
96090
|
-
}));
|
|
96091
|
-
return {
|
|
96092
|
-
method,
|
|
96093
|
-
name,
|
|
96094
|
-
schema: {
|
|
96095
|
-
credential: { payload: schema.credential.payload },
|
|
96096
|
-
request
|
|
96097
|
-
}
|
|
96098
|
-
};
|
|
96099
|
-
}
|
|
96100
|
-
function toClient(intent, options) {
|
|
96101
|
-
const { context: context2, createCredential } = options;
|
|
96102
|
-
return {
|
|
96103
|
-
...intent,
|
|
96104
|
-
context: context2,
|
|
96105
|
-
createCredential
|
|
96106
|
-
};
|
|
96107
|
-
}
|
|
96108
|
-
|
|
96109
|
-
// ../../../node_modules/.pnpm/mppx@0.1.1_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_b0197f2b468791c6b28e73953793d235/node_modules/mppx/dist/tempo/client/MethodIntents.js
|
|
96006
|
+
// ../../../node_modules/.pnpm/mppx@0.2.0_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_3e8d079a06ad8f87e26cecc997a2a9a6/node_modules/mppx/dist/tempo/client/index.js
|
|
96110
96007
|
init_cjs_shims();
|
|
96111
96008
|
|
|
96112
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
96009
|
+
// ../../../node_modules/.pnpm/mppx@0.2.0_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_3e8d079a06ad8f87e26cecc997a2a9a6/node_modules/mppx/dist/tempo/client/Charge.js
|
|
96113
96010
|
init_cjs_shims();
|
|
96114
96011
|
|
|
96115
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
96012
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/index.js
|
|
96116
96013
|
init_cjs_shims();
|
|
96117
96014
|
|
|
96118
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
96015
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/index.js
|
|
96119
96016
|
init_cjs_shims();
|
|
96120
96017
|
|
|
96121
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
96018
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/tempo.js
|
|
96122
96019
|
init_cjs_shims();
|
|
96123
96020
|
|
|
96124
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
96021
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/tempo/chainConfig.js
|
|
96125
96022
|
init_cjs_shims();
|
|
96126
96023
|
|
|
96127
96024
|
// ../../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/tempo/index.js
|
|
@@ -97209,16 +97106,17 @@ var InvalidValidityWindowError = class extends BaseError3 {
|
|
|
97209
97106
|
}
|
|
97210
97107
|
};
|
|
97211
97108
|
|
|
97212
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
97109
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/tempo/chainConfig.js
|
|
97110
|
+
init_number();
|
|
97213
97111
|
init_transactionRequest();
|
|
97214
97112
|
|
|
97215
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
97113
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/tempo/Formatters.js
|
|
97216
97114
|
init_cjs_shims();
|
|
97217
97115
|
init_Hex();
|
|
97218
97116
|
init_parseAccount();
|
|
97219
97117
|
init_transactionRequest();
|
|
97220
97118
|
|
|
97221
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
97119
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/tempo/Transaction.js
|
|
97222
97120
|
init_cjs_shims();
|
|
97223
97121
|
init_Hex();
|
|
97224
97122
|
function getType2(transaction) {
|
|
@@ -97335,7 +97233,7 @@ async function serializeTempo(transaction, sig) {
|
|
|
97335
97233
|
);
|
|
97336
97234
|
}
|
|
97337
97235
|
|
|
97338
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
97236
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/tempo/Formatters.js
|
|
97339
97237
|
function formatTransaction2(transaction) {
|
|
97340
97238
|
if (!isTempo(transaction))
|
|
97341
97239
|
return formatTransaction(transaction);
|
|
@@ -97405,44 +97303,25 @@ function formatTransactionRequest2(r, action) {
|
|
|
97405
97303
|
};
|
|
97406
97304
|
}
|
|
97407
97305
|
|
|
97408
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
97306
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/tempo/internal/concurrent.js
|
|
97409
97307
|
init_cjs_shims();
|
|
97410
|
-
|
|
97411
|
-
|
|
97412
|
-
|
|
97413
|
-
|
|
97414
|
-
|
|
97415
|
-
|
|
97416
|
-
|
|
97417
|
-
|
|
97418
|
-
|
|
97419
|
-
|
|
97420
|
-
|
|
97421
|
-
|
|
97422
|
-
|
|
97423
|
-
store2.set(key, entry);
|
|
97424
|
-
}
|
|
97425
|
-
return entry;
|
|
97426
|
-
}
|
|
97427
|
-
function reset(store2, parameters) {
|
|
97428
|
-
const entry = getEntry(store2, parameters);
|
|
97429
|
-
entry.counter = 0;
|
|
97430
|
-
entry.resetScheduled = false;
|
|
97431
|
-
}
|
|
97432
|
-
function getNonceKey(store2, parameters) {
|
|
97433
|
-
const entry = getEntry(store2, parameters);
|
|
97434
|
-
if (!entry.resetScheduled) {
|
|
97435
|
-
entry.resetScheduled = true;
|
|
97436
|
-
queueMicrotask(() => reset(store2, parameters));
|
|
97437
|
-
}
|
|
97438
|
-
const count = entry.counter;
|
|
97439
|
-
entry.counter++;
|
|
97440
|
-
if (count === 0)
|
|
97441
|
-
return 0n;
|
|
97442
|
-
return toBigInt(random2(6));
|
|
97308
|
+
var concurrentCounts = /* @__PURE__ */ new Map();
|
|
97309
|
+
async function detect(key) {
|
|
97310
|
+
concurrentCounts.set(key, (concurrentCounts.get(key) ?? 0) + 1);
|
|
97311
|
+
await Promise.resolve();
|
|
97312
|
+
const isConcurrent = (concurrentCounts.get(key) ?? 0) > 1;
|
|
97313
|
+
queueMicrotask(() => {
|
|
97314
|
+
const count = concurrentCounts.get(key) ?? 0;
|
|
97315
|
+
if (count <= 1)
|
|
97316
|
+
concurrentCounts.delete(key);
|
|
97317
|
+
else
|
|
97318
|
+
concurrentCounts.set(key, count - 1);
|
|
97319
|
+
});
|
|
97320
|
+
return isConcurrent;
|
|
97443
97321
|
}
|
|
97444
97322
|
|
|
97445
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
97323
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/tempo/chainConfig.js
|
|
97324
|
+
var maxExpirySecs = 25;
|
|
97446
97325
|
var chainConfig = {
|
|
97447
97326
|
blockTime: 1e3,
|
|
97448
97327
|
extendSchema: extendSchema(),
|
|
@@ -97466,29 +97345,24 @@ var chainConfig = {
|
|
|
97466
97345
|
request.gas = (request.gas ?? 0n) + 20000n;
|
|
97467
97346
|
return request;
|
|
97468
97347
|
}
|
|
97469
|
-
|
|
97470
|
-
if (
|
|
97471
|
-
return
|
|
97472
|
-
|
|
97473
|
-
|
|
97474
|
-
|
|
97475
|
-
if (
|
|
97476
|
-
return
|
|
97477
|
-
|
|
97478
|
-
address,
|
|
97479
|
-
chainId: request.chain.id
|
|
97480
|
-
});
|
|
97481
|
-
if (nonceKey === 0n)
|
|
97482
|
-
return void 0;
|
|
97483
|
-
return nonceKey;
|
|
97484
|
-
})();
|
|
97485
|
-
request.nonce = (() => {
|
|
97486
|
-
if (typeof request.nonce === "number")
|
|
97487
|
-
return request.nonce;
|
|
97488
|
-
if (request.nonceKey)
|
|
97489
|
-
return 0;
|
|
97490
|
-
return void 0;
|
|
97348
|
+
const useExpiringNonce = await (async () => {
|
|
97349
|
+
if (request.nonceKey === "expiring")
|
|
97350
|
+
return true;
|
|
97351
|
+
if (request.feePayer && typeof request.nonceKey === "undefined")
|
|
97352
|
+
return true;
|
|
97353
|
+
const address = request.account?.address;
|
|
97354
|
+
if (address && typeof request.nonceKey === "undefined")
|
|
97355
|
+
return await detect(address);
|
|
97356
|
+
return false;
|
|
97491
97357
|
})();
|
|
97358
|
+
if (useExpiringNonce) {
|
|
97359
|
+
request.nonceKey = maxUint2562;
|
|
97360
|
+
request.nonce = 0;
|
|
97361
|
+
if (typeof request.validBefore === "undefined")
|
|
97362
|
+
request.validBefore = Math.floor(Date.now() / 1e3) + maxExpirySecs;
|
|
97363
|
+
} else if (typeof request.nonceKey !== "undefined") {
|
|
97364
|
+
request.nonce = typeof request.nonce === "number" ? request.nonce : 0;
|
|
97365
|
+
}
|
|
97492
97366
|
if (!request.feeToken && request.chain?.feeToken)
|
|
97493
97367
|
request.feeToken = request.chain.feeToken;
|
|
97494
97368
|
return request;
|
|
@@ -97524,7 +97398,7 @@ var chainConfig = {
|
|
|
97524
97398
|
}
|
|
97525
97399
|
};
|
|
97526
97400
|
|
|
97527
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
97401
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/tempo.js
|
|
97528
97402
|
var tempo = /* @__PURE__ */ defineChain({
|
|
97529
97403
|
...chainConfig,
|
|
97530
97404
|
id: 4217,
|
|
@@ -97548,10 +97422,10 @@ var tempo = /* @__PURE__ */ defineChain({
|
|
|
97548
97422
|
}
|
|
97549
97423
|
});
|
|
97550
97424
|
|
|
97551
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
97425
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/tempo/index.js
|
|
97552
97426
|
init_cjs_shims();
|
|
97553
97427
|
|
|
97554
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
97428
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/tempo/Abis.js
|
|
97555
97429
|
var Abis_exports = {};
|
|
97556
97430
|
__export(Abis_exports, {
|
|
97557
97431
|
accountKeychain: () => accountKeychain,
|
|
@@ -99127,7 +99001,7 @@ var validator = [
|
|
|
99127
99001
|
}
|
|
99128
99002
|
];
|
|
99129
99003
|
|
|
99130
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
99004
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/tempo/Addresses.js
|
|
99131
99005
|
init_cjs_shims();
|
|
99132
99006
|
var feeManager2 = "0xfeec000000000000000000000000000000000000";
|
|
99133
99007
|
var nonceManager = "0x4e4F4E4345000000000000000000000000000000";
|
|
@@ -99137,7 +99011,7 @@ var tip20Factory2 = "0x20fc000000000000000000000000000000000000";
|
|
|
99137
99011
|
var tip403Registry2 = "0x403c000000000000000000000000000000000000";
|
|
99138
99012
|
var validator2 = "0xcccccccc00000000000000000000000000000000";
|
|
99139
99013
|
|
|
99140
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
99014
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/tempo/actions/index.js
|
|
99141
99015
|
var actions_exports = {};
|
|
99142
99016
|
__export(actions_exports, {
|
|
99143
99017
|
amm: () => amm_exports,
|
|
@@ -99152,7 +99026,7 @@ __export(actions_exports, {
|
|
|
99152
99026
|
});
|
|
99153
99027
|
init_cjs_shims();
|
|
99154
99028
|
|
|
99155
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
99029
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/tempo/actions/amm.js
|
|
99156
99030
|
var amm_exports = {};
|
|
99157
99031
|
__export(amm_exports, {
|
|
99158
99032
|
burn: () => burn,
|
|
@@ -99169,7 +99043,7 @@ __export(amm_exports, {
|
|
|
99169
99043
|
});
|
|
99170
99044
|
init_cjs_shims();
|
|
99171
99045
|
|
|
99172
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
99046
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/tempo/internal/utils.js
|
|
99173
99047
|
init_cjs_shims();
|
|
99174
99048
|
function defineCall(call2) {
|
|
99175
99049
|
return {
|
|
@@ -99179,7 +99053,7 @@ function defineCall(call2) {
|
|
|
99179
99053
|
};
|
|
99180
99054
|
}
|
|
99181
99055
|
|
|
99182
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
99056
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/tempo/actions/amm.js
|
|
99183
99057
|
async function getPool(client, parameters) {
|
|
99184
99058
|
const { userToken, validatorToken, ...rest } = parameters;
|
|
99185
99059
|
const [pool, totalSupply] = await multicall(client, {
|
|
@@ -99477,7 +99351,7 @@ function watchBurn(client, parameters) {
|
|
|
99477
99351
|
});
|
|
99478
99352
|
}
|
|
99479
99353
|
|
|
99480
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
99354
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/tempo/actions/dex.js
|
|
99481
99355
|
var dex_exports = {};
|
|
99482
99356
|
__export(dex_exports, {
|
|
99483
99357
|
buy: () => buy,
|
|
@@ -100044,7 +99918,7 @@ function getPairKey(base, quote) {
|
|
|
100044
99918
|
return keccak2562(concat(base, quote));
|
|
100045
99919
|
}
|
|
100046
99920
|
|
|
100047
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
99921
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/tempo/actions/faucet.js
|
|
100048
99922
|
var faucet_exports = {};
|
|
100049
99923
|
__export(faucet_exports, {
|
|
100050
99924
|
fund: () => fund,
|
|
@@ -100074,7 +99948,7 @@ async function fundSync(client, parameters) {
|
|
|
100074
99948
|
return receipts;
|
|
100075
99949
|
}
|
|
100076
99950
|
|
|
100077
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
99951
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/tempo/actions/fee.js
|
|
100078
99952
|
var fee_exports = {};
|
|
100079
99953
|
__export(fee_exports, {
|
|
100080
99954
|
getUserToken: () => getUserToken,
|
|
@@ -100266,7 +100140,7 @@ function watchSetValidatorToken(client, parameters) {
|
|
|
100266
100140
|
});
|
|
100267
100141
|
}
|
|
100268
100142
|
|
|
100269
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
100143
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/tempo/actions/nonce.js
|
|
100270
100144
|
var nonce_exports = {};
|
|
100271
100145
|
__export(nonce_exports, {
|
|
100272
100146
|
getNonce: () => getNonce,
|
|
@@ -100307,10 +100181,10 @@ function watchNonceIncremented(client, parameters) {
|
|
|
100307
100181
|
});
|
|
100308
100182
|
}
|
|
100309
100183
|
|
|
100310
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
100184
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/tempo/actions/policy.js
|
|
100311
100185
|
var policy_exports = {};
|
|
100312
100186
|
__export(policy_exports, {
|
|
100313
|
-
create: () =>
|
|
100187
|
+
create: () => create2,
|
|
100314
100188
|
createSync: () => createSync,
|
|
100315
100189
|
getData: () => getData,
|
|
100316
100190
|
isAuthorized: () => isAuthorized,
|
|
@@ -100331,16 +100205,16 @@ var policyTypeMap = {
|
|
|
100331
100205
|
whitelist: 0,
|
|
100332
100206
|
blacklist: 1
|
|
100333
100207
|
};
|
|
100334
|
-
async function
|
|
100335
|
-
return
|
|
100208
|
+
async function create2(client, parameters) {
|
|
100209
|
+
return create2.inner(writeContract, client, parameters);
|
|
100336
100210
|
}
|
|
100337
|
-
(function(
|
|
100211
|
+
(function(create5) {
|
|
100338
100212
|
async function inner(action, client, parameters) {
|
|
100339
100213
|
const { account = client.account, addresses, chain: chain2 = client.chain, type: type4, ...rest } = parameters;
|
|
100340
100214
|
if (!account)
|
|
100341
100215
|
throw new Error("`account` is required");
|
|
100342
100216
|
const admin = parseAccount(account).address;
|
|
100343
|
-
const call3 =
|
|
100217
|
+
const call3 = create5.call({ admin, type: type4, addresses });
|
|
100344
100218
|
return action(client, {
|
|
100345
100219
|
...rest,
|
|
100346
100220
|
account,
|
|
@@ -100348,7 +100222,7 @@ async function create3(client, parameters) {
|
|
|
100348
100222
|
...call3
|
|
100349
100223
|
});
|
|
100350
100224
|
}
|
|
100351
|
-
|
|
100225
|
+
create5.inner = inner;
|
|
100352
100226
|
function call2(args) {
|
|
100353
100227
|
const { admin, type: type4, addresses } = args;
|
|
100354
100228
|
const config2 = (() => {
|
|
@@ -100368,7 +100242,7 @@ async function create3(client, parameters) {
|
|
|
100368
100242
|
...config2
|
|
100369
100243
|
});
|
|
100370
100244
|
}
|
|
100371
|
-
|
|
100245
|
+
create5.call = call2;
|
|
100372
100246
|
function extractEvent(logs) {
|
|
100373
100247
|
const [log2] = parseEventLogs({
|
|
100374
100248
|
abi: tip403Registry,
|
|
@@ -100380,15 +100254,15 @@ async function create3(client, parameters) {
|
|
|
100380
100254
|
throw new Error("`PolicyCreated` event not found.");
|
|
100381
100255
|
return log2;
|
|
100382
100256
|
}
|
|
100383
|
-
|
|
100384
|
-
})(
|
|
100257
|
+
create5.extractEvent = extractEvent;
|
|
100258
|
+
})(create2 || (create2 = {}));
|
|
100385
100259
|
async function createSync(client, parameters) {
|
|
100386
100260
|
const { throwOnReceiptRevert = true, ...rest } = parameters;
|
|
100387
|
-
const receipt = await
|
|
100261
|
+
const receipt = await create2.inner(writeContractSync, client, {
|
|
100388
100262
|
...rest,
|
|
100389
100263
|
throwOnReceiptRevert
|
|
100390
100264
|
});
|
|
100391
|
-
const { args } =
|
|
100265
|
+
const { args } = create2.extractEvent(receipt.logs);
|
|
100392
100266
|
return {
|
|
100393
100267
|
...args,
|
|
100394
100268
|
receipt
|
|
@@ -100648,7 +100522,7 @@ function watchBlacklistUpdated(client, parameters) {
|
|
|
100648
100522
|
});
|
|
100649
100523
|
}
|
|
100650
100524
|
|
|
100651
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
100525
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/tempo/actions/reward.js
|
|
100652
100526
|
var reward_exports = {};
|
|
100653
100527
|
__export(reward_exports, {
|
|
100654
100528
|
claim: () => claim,
|
|
@@ -100877,7 +100751,7 @@ function watchRewardRecipientSet(client, parameters) {
|
|
|
100877
100751
|
});
|
|
100878
100752
|
}
|
|
100879
100753
|
|
|
100880
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
100754
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/tempo/actions/token.js
|
|
100881
100755
|
var token_exports = {};
|
|
100882
100756
|
__export(token_exports, {
|
|
100883
100757
|
approve: () => approve,
|
|
@@ -100888,7 +100762,7 @@ __export(token_exports, {
|
|
|
100888
100762
|
burnSync: () => burnSync2,
|
|
100889
100763
|
changeTransferPolicy: () => changeTransferPolicy,
|
|
100890
100764
|
changeTransferPolicySync: () => changeTransferPolicySync,
|
|
100891
|
-
create: () =>
|
|
100765
|
+
create: () => create3,
|
|
100892
100766
|
createSync: () => createSync2,
|
|
100893
100767
|
getAllowance: () => getAllowance,
|
|
100894
100768
|
getBalance: () => getBalance2,
|
|
@@ -101121,16 +100995,16 @@ async function changeTransferPolicySync(client, parameters) {
|
|
|
101121
100995
|
receipt
|
|
101122
100996
|
};
|
|
101123
100997
|
}
|
|
101124
|
-
async function
|
|
101125
|
-
return
|
|
100998
|
+
async function create3(client, parameters) {
|
|
100999
|
+
return create3.inner(writeContract, client, parameters);
|
|
101126
101000
|
}
|
|
101127
|
-
(function(
|
|
101001
|
+
(function(create5) {
|
|
101128
101002
|
async function inner(action, client, parameters) {
|
|
101129
101003
|
const { account = client.account, admin: admin_ = client.account, chain: chain2 = client.chain, ...rest } = parameters;
|
|
101130
101004
|
const admin = admin_ ? parseAccount(admin_) : void 0;
|
|
101131
101005
|
if (!admin)
|
|
101132
101006
|
throw new Error("admin is required.");
|
|
101133
|
-
const call3 =
|
|
101007
|
+
const call3 = create5.call({ ...rest, admin: admin.address });
|
|
101134
101008
|
return await action(client, {
|
|
101135
101009
|
...parameters,
|
|
101136
101010
|
account,
|
|
@@ -101138,7 +101012,7 @@ async function create4(client, parameters) {
|
|
|
101138
101012
|
...call3
|
|
101139
101013
|
});
|
|
101140
101014
|
}
|
|
101141
|
-
|
|
101015
|
+
create5.inner = inner;
|
|
101142
101016
|
function call2(args) {
|
|
101143
101017
|
const { name, symbol: symbol3, currency, quoteToken = pathUsd, admin, salt = random2(32) } = args;
|
|
101144
101018
|
return defineCall({
|
|
@@ -101155,7 +101029,7 @@ async function create4(client, parameters) {
|
|
|
101155
101029
|
functionName: "createToken"
|
|
101156
101030
|
});
|
|
101157
101031
|
}
|
|
101158
|
-
|
|
101032
|
+
create5.call = call2;
|
|
101159
101033
|
function extractEvent(logs) {
|
|
101160
101034
|
const [log2] = parseEventLogs({
|
|
101161
101035
|
abi: tip20Factory,
|
|
@@ -101167,15 +101041,15 @@ async function create4(client, parameters) {
|
|
|
101167
101041
|
throw new Error("`TokenCreated` event not found.");
|
|
101168
101042
|
return log2;
|
|
101169
101043
|
}
|
|
101170
|
-
|
|
101171
|
-
})(
|
|
101044
|
+
create5.extractEvent = extractEvent;
|
|
101045
|
+
})(create3 || (create3 = {}));
|
|
101172
101046
|
async function createSync2(client, parameters) {
|
|
101173
101047
|
const { throwOnReceiptRevert = true, ...rest } = parameters;
|
|
101174
|
-
const receipt = await
|
|
101048
|
+
const receipt = await create3.inner(writeContractSync, client, {
|
|
101175
101049
|
...rest,
|
|
101176
101050
|
throwOnReceiptRevert
|
|
101177
101051
|
});
|
|
101178
|
-
const { args } =
|
|
101052
|
+
const { args } = create3.extractEvent(receipt.logs);
|
|
101179
101053
|
const tokenId = TokenId_exports.fromAddress(args.token);
|
|
101180
101054
|
return {
|
|
101181
101055
|
...args,
|
|
@@ -102048,7 +101922,7 @@ function watchUpdateQuoteToken(client, parameters) {
|
|
|
102048
101922
|
});
|
|
102049
101923
|
}
|
|
102050
101924
|
|
|
102051
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
101925
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/tempo/actions/validator.js
|
|
102052
101926
|
var validator_exports = {};
|
|
102053
101927
|
__export(validator_exports, {
|
|
102054
101928
|
add: () => add2,
|
|
@@ -102353,13 +102227,13 @@ async function updateSync(client, parameters) {
|
|
|
102353
102227
|
return { receipt };
|
|
102354
102228
|
}
|
|
102355
102229
|
|
|
102356
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
102230
|
+
// ../../../node_modules/.pnpm/mppx@0.2.0_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_3e8d079a06ad8f87e26cecc997a2a9a6/node_modules/mppx/dist/viem/Account.js
|
|
102357
102231
|
init_cjs_shims();
|
|
102358
102232
|
|
|
102359
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
102233
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/accounts/index.js
|
|
102360
102234
|
init_cjs_shims();
|
|
102361
102235
|
|
|
102362
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
102236
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/accounts/generatePrivateKey.js
|
|
102363
102237
|
init_cjs_shims();
|
|
102364
102238
|
init_secp256k1();
|
|
102365
102239
|
init_toHex2();
|
|
@@ -102367,12 +102241,12 @@ function generatePrivateKey() {
|
|
|
102367
102241
|
return toHex7(secp256k1.utils.randomPrivateKey());
|
|
102368
102242
|
}
|
|
102369
102243
|
|
|
102370
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
102244
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/accounts/privateKeyToAccount.js
|
|
102371
102245
|
init_cjs_shims();
|
|
102372
102246
|
init_secp256k1();
|
|
102373
102247
|
init_toHex2();
|
|
102374
102248
|
|
|
102375
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
102249
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/accounts/toAccount.js
|
|
102376
102250
|
init_cjs_shims();
|
|
102377
102251
|
init_address2();
|
|
102378
102252
|
init_isAddress2();
|
|
@@ -102400,7 +102274,7 @@ function toAccount(source) {
|
|
|
102400
102274
|
};
|
|
102401
102275
|
}
|
|
102402
102276
|
|
|
102403
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
102277
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/accounts/utils/sign.js
|
|
102404
102278
|
init_cjs_shims();
|
|
102405
102279
|
init_secp256k1();
|
|
102406
102280
|
init_isHex2();
|
|
@@ -102425,7 +102299,7 @@ async function sign({ hash: hash7, privateKey, to: to2 = "object" }) {
|
|
|
102425
102299
|
})();
|
|
102426
102300
|
}
|
|
102427
102301
|
|
|
102428
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
102302
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/accounts/utils/signAuthorization.js
|
|
102429
102303
|
init_cjs_shims();
|
|
102430
102304
|
async function signAuthorization(parameters) {
|
|
102431
102305
|
const { chainId, nonce: nonce2, privateKey, to: to2 = "object" } = parameters;
|
|
@@ -102445,13 +102319,13 @@ async function signAuthorization(parameters) {
|
|
|
102445
102319
|
return signature2;
|
|
102446
102320
|
}
|
|
102447
102321
|
|
|
102448
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
102322
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/accounts/utils/signMessage.js
|
|
102449
102323
|
init_cjs_shims();
|
|
102450
102324
|
async function signMessage({ message, privateKey }) {
|
|
102451
102325
|
return await sign({ hash: hashMessage(message), privateKey, to: "hex" });
|
|
102452
102326
|
}
|
|
102453
102327
|
|
|
102454
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
102328
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/accounts/utils/signTransaction.js
|
|
102455
102329
|
init_cjs_shims();
|
|
102456
102330
|
init_keccak2562();
|
|
102457
102331
|
async function signTransaction2(parameters) {
|
|
@@ -102471,7 +102345,7 @@ async function signTransaction2(parameters) {
|
|
|
102471
102345
|
return await serializer(transaction, signature2);
|
|
102472
102346
|
}
|
|
102473
102347
|
|
|
102474
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
102348
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/accounts/utils/signTypedData.js
|
|
102475
102349
|
init_cjs_shims();
|
|
102476
102350
|
async function signTypedData2(parameters) {
|
|
102477
102351
|
const { privateKey, ...typedData } = parameters;
|
|
@@ -102482,7 +102356,7 @@ async function signTypedData2(parameters) {
|
|
|
102482
102356
|
});
|
|
102483
102357
|
}
|
|
102484
102358
|
|
|
102485
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
102359
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/accounts/privateKeyToAccount.js
|
|
102486
102360
|
function privateKeyToAccount(privateKey, options = {}) {
|
|
102487
102361
|
const { nonceManager: nonceManager2 } = options;
|
|
102488
102362
|
const publicKey = toHex7(secp256k1.getPublicKey(privateKey.slice(2), false));
|
|
@@ -102513,10 +102387,10 @@ function privateKeyToAccount(privateKey, options = {}) {
|
|
|
102513
102387
|
};
|
|
102514
102388
|
}
|
|
102515
102389
|
|
|
102516
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
102390
|
+
// ../../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/accounts/index.js
|
|
102517
102391
|
init_parseAccount();
|
|
102518
102392
|
|
|
102519
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
102393
|
+
// ../../../node_modules/.pnpm/mppx@0.2.0_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_3e8d079a06ad8f87e26cecc997a2a9a6/node_modules/mppx/dist/viem/Account.js
|
|
102520
102394
|
function getResolver(parameters = {}) {
|
|
102521
102395
|
const { account: defaultAccount } = parameters;
|
|
102522
102396
|
return (client, { account: override } = {}) => {
|
|
@@ -102530,7 +102404,7 @@ function getResolver(parameters = {}) {
|
|
|
102530
102404
|
};
|
|
102531
102405
|
}
|
|
102532
102406
|
|
|
102533
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
102407
|
+
// ../../../node_modules/.pnpm/mppx@0.2.0_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_3e8d079a06ad8f87e26cecc997a2a9a6/node_modules/mppx/dist/viem/Client.js
|
|
102534
102408
|
init_cjs_shims();
|
|
102535
102409
|
function getResolver2(parameters) {
|
|
102536
102410
|
const { chain: chain2, getClient, rpcUrl: rpcUrl2 } = parameters;
|
|
@@ -102550,7 +102424,7 @@ function getResolver2(parameters) {
|
|
|
102550
102424
|
};
|
|
102551
102425
|
}
|
|
102552
102426
|
|
|
102553
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
102427
|
+
// ../../../node_modules/.pnpm/mppx@0.2.0_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_3e8d079a06ad8f87e26cecc997a2a9a6/node_modules/mppx/dist/tempo/Attribution.js
|
|
102554
102428
|
init_cjs_shims();
|
|
102555
102429
|
var tag = Hex_exports.slice(Hash_exports.keccak256(Bytes_exports.fromString("mpp"), { as: "Hex" }), 0, 4);
|
|
102556
102430
|
var version6 = 1;
|
|
@@ -102571,10 +102445,23 @@ function encode5(parameters) {
|
|
|
102571
102445
|
return Hex_exports.fromBytes(buf);
|
|
102572
102446
|
}
|
|
102573
102447
|
|
|
102574
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
102448
|
+
// ../../../node_modules/.pnpm/mppx@0.2.0_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_3e8d079a06ad8f87e26cecc997a2a9a6/node_modules/mppx/dist/tempo/internal/defaults.js
|
|
102575
102449
|
init_cjs_shims();
|
|
102576
|
-
var
|
|
102577
|
-
|
|
102450
|
+
var rpcUrl = {
|
|
102451
|
+
4217: "https://rpc.tempo.xyz",
|
|
102452
|
+
42431: "https://rpc.moderato.tempo.xyz"
|
|
102453
|
+
};
|
|
102454
|
+
var escrowContract = {
|
|
102455
|
+
4217: "0x0901aED692C755b870F9605E56BAA66C35BEfF69",
|
|
102456
|
+
42431: "0x542831e3E4Ace07559b7C8787395f4Fb99F70787"
|
|
102457
|
+
};
|
|
102458
|
+
var decimals = 6;
|
|
102459
|
+
|
|
102460
|
+
// ../../../node_modules/.pnpm/mppx@0.2.0_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_3e8d079a06ad8f87e26cecc997a2a9a6/node_modules/mppx/dist/tempo/Methods.js
|
|
102461
|
+
init_cjs_shims();
|
|
102462
|
+
var charge = from10({
|
|
102463
|
+
name: "tempo",
|
|
102464
|
+
intent: "charge",
|
|
102578
102465
|
schema: {
|
|
102579
102466
|
credential: {
|
|
102580
102467
|
payload: discriminatedUnion("type", [
|
|
@@ -102582,36 +102469,51 @@ var charge2 = fromIntent3(charge, {
|
|
|
102582
102469
|
object({ signature: signature(), type: literal("transaction") })
|
|
102583
102470
|
])
|
|
102584
102471
|
},
|
|
102585
|
-
request: {
|
|
102586
|
-
|
|
102587
|
-
|
|
102588
|
-
|
|
102589
|
-
|
|
102590
|
-
|
|
102591
|
-
|
|
102592
|
-
|
|
102472
|
+
request: pipe(object({
|
|
102473
|
+
amount: amount(),
|
|
102474
|
+
chainId: optional(number2()),
|
|
102475
|
+
currency: string2(),
|
|
102476
|
+
decimals: number2(),
|
|
102477
|
+
description: optional(string2()),
|
|
102478
|
+
expires: _default2(datetime4(), () => minutes(5)),
|
|
102479
|
+
externalId: optional(string2()),
|
|
102480
|
+
feePayer: optional(pipe(union([boolean2(), custom()]), transform((v) => typeof v === "object" ? true : v))),
|
|
102481
|
+
memo: optional(hash4()),
|
|
102482
|
+
recipient: optional(string2())
|
|
102483
|
+
}), transform(({ amount: amount2, chainId, decimals: decimals2, feePayer, memo, ...rest }) => ({
|
|
102484
|
+
...rest,
|
|
102485
|
+
amount: parseUnits(amount2, decimals2).toString(),
|
|
102486
|
+
...chainId !== void 0 || feePayer !== void 0 || memo !== void 0 ? {
|
|
102487
|
+
methodDetails: {
|
|
102488
|
+
...chainId !== void 0 && { chainId },
|
|
102489
|
+
...feePayer !== void 0 && { feePayer },
|
|
102490
|
+
...memo !== void 0 && { memo }
|
|
102491
|
+
}
|
|
102492
|
+
} : {}
|
|
102493
|
+
})))
|
|
102593
102494
|
}
|
|
102594
102495
|
});
|
|
102595
|
-
var
|
|
102596
|
-
|
|
102496
|
+
var session = from10({
|
|
102497
|
+
name: "tempo",
|
|
102498
|
+
intent: "session",
|
|
102597
102499
|
schema: {
|
|
102598
102500
|
credential: {
|
|
102599
102501
|
payload: discriminatedUnion("action", [
|
|
102600
102502
|
object({
|
|
102601
102503
|
action: literal("open"),
|
|
102602
|
-
type: literal("transaction"),
|
|
102603
|
-
channelId: hash4(),
|
|
102604
|
-
transaction: signature(),
|
|
102605
102504
|
authorizedSigner: optional(string2()),
|
|
102505
|
+
channelId: hash4(),
|
|
102606
102506
|
cumulativeAmount: amount(),
|
|
102607
|
-
signature: signature()
|
|
102507
|
+
signature: signature(),
|
|
102508
|
+
transaction: signature(),
|
|
102509
|
+
type: literal("transaction")
|
|
102608
102510
|
}),
|
|
102609
102511
|
object({
|
|
102610
102512
|
action: literal("topUp"),
|
|
102611
|
-
|
|
102513
|
+
additionalDeposit: amount(),
|
|
102612
102514
|
channelId: hash4(),
|
|
102613
102515
|
transaction: signature(),
|
|
102614
|
-
|
|
102516
|
+
type: literal("transaction")
|
|
102615
102517
|
}),
|
|
102616
102518
|
object({
|
|
102617
102519
|
action: literal("voucher"),
|
|
@@ -102627,33 +102529,37 @@ var session2 = fromIntent3(session, {
|
|
|
102627
102529
|
})
|
|
102628
102530
|
])
|
|
102629
102531
|
},
|
|
102630
|
-
request: {
|
|
102631
|
-
|
|
102632
|
-
|
|
102633
|
-
|
|
102634
|
-
|
|
102635
|
-
|
|
102636
|
-
|
|
102637
|
-
|
|
102638
|
-
|
|
102639
|
-
|
|
102532
|
+
request: pipe(object({
|
|
102533
|
+
amount: amount(),
|
|
102534
|
+
chainId: optional(number2()),
|
|
102535
|
+
channelId: optional(hash4()),
|
|
102536
|
+
currency: string2(),
|
|
102537
|
+
decimals: number2(),
|
|
102538
|
+
escrowContract: optional(string2()),
|
|
102539
|
+
feePayer: optional(pipe(union([boolean2(), custom()]), transform((v) => typeof v === "object" ? true : v))),
|
|
102540
|
+
minVoucherDelta: optional(amount()),
|
|
102541
|
+
recipient: optional(string2()),
|
|
102542
|
+
suggestedDeposit: optional(amount()),
|
|
102543
|
+
unitType: string2()
|
|
102544
|
+
}), transform(({ amount: amount2, chainId, channelId, decimals: decimals2, escrowContract: escrowContract2, feePayer, minVoucherDelta, suggestedDeposit, ...rest }) => ({
|
|
102545
|
+
...rest,
|
|
102546
|
+
amount: parseUnits(amount2, decimals2).toString(),
|
|
102547
|
+
...suggestedDeposit ? {
|
|
102548
|
+
suggestedDeposit: parseUnits(suggestedDeposit, decimals2).toString()
|
|
102549
|
+
} : {},
|
|
102550
|
+
methodDetails: {
|
|
102551
|
+
escrowContract: escrowContract2,
|
|
102552
|
+
...channelId !== void 0 && { channelId },
|
|
102553
|
+
...minVoucherDelta !== void 0 && { minVoucherDelta },
|
|
102554
|
+
...chainId !== void 0 && { chainId },
|
|
102555
|
+
...feePayer !== void 0 && { feePayer }
|
|
102556
|
+
}
|
|
102557
|
+
})))
|
|
102640
102558
|
}
|
|
102641
102559
|
});
|
|
102642
102560
|
|
|
102643
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
102644
|
-
|
|
102645
|
-
var rpcUrl = {
|
|
102646
|
-
4217: "https://rpc.tempo.xyz",
|
|
102647
|
-
42431: "https://rpc.moderato.tempo.xyz"
|
|
102648
|
-
};
|
|
102649
|
-
var escrowContract = {
|
|
102650
|
-
4217: "0x0901aED692C755b870F9605E56BAA66C35BEfF69",
|
|
102651
|
-
42431: "0x542831e3E4Ace07559b7C8787395f4Fb99F70787"
|
|
102652
|
-
};
|
|
102653
|
-
var decimals = 6;
|
|
102654
|
-
|
|
102655
|
-
// ../../../node_modules/.pnpm/mppx@0.1.1_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_b0197f2b468791c6b28e73953793d235/node_modules/mppx/dist/tempo/client/Charge.js
|
|
102656
|
-
function charge3(parameters = {}) {
|
|
102561
|
+
// ../../../node_modules/.pnpm/mppx@0.2.0_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_3e8d079a06ad8f87e26cecc997a2a9a6/node_modules/mppx/dist/tempo/client/Charge.js
|
|
102562
|
+
function charge2(parameters = {}) {
|
|
102657
102563
|
const { clientId } = parameters;
|
|
102658
102564
|
const getClient = getResolver2({
|
|
102659
102565
|
chain: tempo,
|
|
@@ -102661,7 +102567,7 @@ function charge3(parameters = {}) {
|
|
|
102661
102567
|
rpcUrl
|
|
102662
102568
|
});
|
|
102663
102569
|
const getAccount = getResolver({ account: parameters.account });
|
|
102664
|
-
return toClient(
|
|
102570
|
+
return toClient(charge, {
|
|
102665
102571
|
context: object({
|
|
102666
102572
|
account: optional(custom())
|
|
102667
102573
|
}),
|
|
@@ -102695,10 +102601,13 @@ function charge3(parameters = {}) {
|
|
|
102695
102601
|
});
|
|
102696
102602
|
}
|
|
102697
102603
|
|
|
102698
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
102604
|
+
// ../../../node_modules/.pnpm/mppx@0.2.0_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_3e8d079a06ad8f87e26cecc997a2a9a6/node_modules/mppx/dist/tempo/client/Methods.js
|
|
102699
102605
|
init_cjs_shims();
|
|
102700
102606
|
|
|
102701
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
102607
|
+
// ../../../node_modules/.pnpm/mppx@0.2.0_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_3e8d079a06ad8f87e26cecc997a2a9a6/node_modules/mppx/dist/tempo/client/Session.js
|
|
102608
|
+
init_cjs_shims();
|
|
102609
|
+
|
|
102610
|
+
// ../../../node_modules/.pnpm/mppx@0.2.0_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_3e8d079a06ad8f87e26cecc997a2a9a6/node_modules/mppx/dist/tempo/stream/Voucher.js
|
|
102702
102611
|
init_cjs_shims();
|
|
102703
102612
|
var DOMAIN_NAME = "Tempo Stream Channel";
|
|
102704
102613
|
var DOMAIN_VERSION = "1";
|
|
@@ -102738,13 +102647,13 @@ async function signVoucher(client, account, message, escrowContract2, chainId, a
|
|
|
102738
102647
|
return signature2;
|
|
102739
102648
|
}
|
|
102740
102649
|
|
|
102741
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
102650
|
+
// ../../../node_modules/.pnpm/mppx@0.2.0_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_3e8d079a06ad8f87e26cecc997a2a9a6/node_modules/mppx/dist/tempo/client/ChannelOps.js
|
|
102742
102651
|
init_cjs_shims();
|
|
102743
102652
|
|
|
102744
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
102653
|
+
// ../../../node_modules/.pnpm/mppx@0.2.0_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_3e8d079a06ad8f87e26cecc997a2a9a6/node_modules/mppx/dist/tempo/stream/Chain.js
|
|
102745
102654
|
init_cjs_shims();
|
|
102746
102655
|
|
|
102747
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
102656
|
+
// ../../../node_modules/.pnpm/mppx@0.2.0_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_3e8d079a06ad8f87e26cecc997a2a9a6/node_modules/mppx/dist/tempo/stream/escrow.abi.js
|
|
102748
102657
|
init_cjs_shims();
|
|
102749
102658
|
var escrowAbi = [
|
|
102750
102659
|
{
|
|
@@ -103506,7 +103415,7 @@ var escrowAbi = [
|
|
|
103506
103415
|
}
|
|
103507
103416
|
];
|
|
103508
103417
|
|
|
103509
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
103418
|
+
// ../../../node_modules/.pnpm/mppx@0.2.0_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_3e8d079a06ad8f87e26cecc997a2a9a6/node_modules/mppx/dist/tempo/stream/Chain.js
|
|
103510
103419
|
var UINT128_MAX = 2n ** 128n - 1n;
|
|
103511
103420
|
async function getOnChainChannel(client, escrowContract2, channelId) {
|
|
103512
103421
|
return readContract(client, {
|
|
@@ -103519,7 +103428,7 @@ async function getOnChainChannel(client, escrowContract2, channelId) {
|
|
|
103519
103428
|
var escrowOpenSelector = /* @__PURE__ */ toFunctionSelector(getAbiItem({ abi: escrowAbi, name: "open" }));
|
|
103520
103429
|
var escrowTopUpSelector = /* @__PURE__ */ toFunctionSelector(getAbiItem({ abi: escrowAbi, name: "topUp" }));
|
|
103521
103430
|
|
|
103522
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
103431
|
+
// ../../../node_modules/.pnpm/mppx@0.2.0_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_3e8d079a06ad8f87e26cecc997a2a9a6/node_modules/mppx/dist/tempo/stream/Channel.js
|
|
103523
103432
|
init_cjs_shims();
|
|
103524
103433
|
function computeId2(parameters) {
|
|
103525
103434
|
const encoded = AbiParameters_exports.encode(AbiParameters_exports.from([
|
|
@@ -103542,7 +103451,7 @@ function computeId2(parameters) {
|
|
|
103542
103451
|
return Hash_exports.keccak256(encoded);
|
|
103543
103452
|
}
|
|
103544
103453
|
|
|
103545
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
103454
|
+
// ../../../node_modules/.pnpm/mppx@0.2.0_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_3e8d079a06ad8f87e26cecc997a2a9a6/node_modules/mppx/dist/tempo/client/ChannelOps.js
|
|
103546
103455
|
function resolveEscrow(challenge2, chainId, escrowContractOverride) {
|
|
103547
103456
|
const challengeEscrow = challenge2.request.methodDetails?.escrowContract;
|
|
103548
103457
|
const escrow = challengeEscrow ?? escrowContractOverride ?? escrowContract[chainId];
|
|
@@ -103638,7 +103547,7 @@ async function tryRecoverChannel(client, escrowContract2, channelId, chainId) {
|
|
|
103638
103547
|
return void 0;
|
|
103639
103548
|
}
|
|
103640
103549
|
|
|
103641
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
103550
|
+
// ../../../node_modules/.pnpm/mppx@0.2.0_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_3e8d079a06ad8f87e26cecc997a2a9a6/node_modules/mppx/dist/tempo/client/Session.js
|
|
103642
103551
|
var streamContextSchema = object({
|
|
103643
103552
|
account: optional(custom()),
|
|
103644
103553
|
action: optional(_enum2(["open", "topUp", "voucher", "close"])),
|
|
@@ -103651,7 +103560,7 @@ var streamContextSchema = object({
|
|
|
103651
103560
|
additionalDepositRaw: optional(string2()),
|
|
103652
103561
|
depositRaw: optional(string2())
|
|
103653
103562
|
});
|
|
103654
|
-
function
|
|
103563
|
+
function session2(parameters = {}) {
|
|
103655
103564
|
const { decimals: decimals2 = decimals } = parameters;
|
|
103656
103565
|
const getClient = getResolver2({
|
|
103657
103566
|
chain: tempo,
|
|
@@ -103825,7 +103734,7 @@ function session3(parameters = {}) {
|
|
|
103825
103734
|
}
|
|
103826
103735
|
return serializeCredential(challenge2, payload, chainId, account);
|
|
103827
103736
|
}
|
|
103828
|
-
return toClient(
|
|
103737
|
+
return toClient(session, {
|
|
103829
103738
|
context: streamContextSchema,
|
|
103830
103739
|
async createCredential({ challenge: challenge2, context: context2 }) {
|
|
103831
103740
|
const chainId = challenge2.request.methodDetails?.chainId ?? 0;
|
|
@@ -103840,10 +103749,10 @@ function session3(parameters = {}) {
|
|
|
103840
103749
|
});
|
|
103841
103750
|
}
|
|
103842
103751
|
|
|
103843
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
103752
|
+
// ../../../node_modules/.pnpm/mppx@0.2.0_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_3e8d079a06ad8f87e26cecc997a2a9a6/node_modules/mppx/dist/tempo/client/SessionManager.js
|
|
103844
103753
|
init_cjs_shims();
|
|
103845
103754
|
|
|
103846
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
103755
|
+
// ../../../node_modules/.pnpm/mppx@0.2.0_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_3e8d079a06ad8f87e26cecc997a2a9a6/node_modules/mppx/dist/client/internal/Fetch.js
|
|
103847
103756
|
init_cjs_shims();
|
|
103848
103757
|
var originalFetch;
|
|
103849
103758
|
function from19(config2) {
|
|
@@ -103854,9 +103763,9 @@ function from19(config2) {
|
|
|
103854
103763
|
if (response.status !== 402)
|
|
103855
103764
|
return response;
|
|
103856
103765
|
const challenge2 = fromResponse(response);
|
|
103857
|
-
const mi = methods.find((m) => m.
|
|
103766
|
+
const mi = methods.find((m) => m.name === challenge2.method && m.intent === challenge2.intent);
|
|
103858
103767
|
if (!mi)
|
|
103859
|
-
throw new Error(`No method
|
|
103768
|
+
throw new Error(`No method found for "${challenge2.method}.${challenge2.intent}". Available: ${methods.map((m) => `${m.name}.${m.intent}`).join(", ")}`);
|
|
103860
103769
|
const onChallengeCredential = onChallenge ? await onChallenge(challenge2, {
|
|
103861
103770
|
createCredential: async (overrideContext) => resolveCredential(challenge2, mi, overrideContext ?? context2)
|
|
103862
103771
|
}) : void 0;
|
|
@@ -103885,14 +103794,14 @@ async function resolveCredential(challenge2, mi, context2) {
|
|
|
103885
103794
|
return mi.createCredential(parsedContext !== void 0 ? { challenge: challenge2, context: parsedContext } : { challenge: challenge2 });
|
|
103886
103795
|
}
|
|
103887
103796
|
|
|
103888
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
103797
|
+
// ../../../node_modules/.pnpm/mppx@0.2.0_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_3e8d079a06ad8f87e26cecc997a2a9a6/node_modules/mppx/dist/tempo/stream/Receipt.js
|
|
103889
103798
|
init_cjs_shims();
|
|
103890
103799
|
function deserializeStreamReceipt(encoded) {
|
|
103891
103800
|
const json3 = Base64_exports.toString(encoded);
|
|
103892
103801
|
return JSON.parse(json3);
|
|
103893
103802
|
}
|
|
103894
103803
|
|
|
103895
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
103804
|
+
// ../../../node_modules/.pnpm/mppx@0.2.0_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_3e8d079a06ad8f87e26cecc997a2a9a6/node_modules/mppx/dist/tempo/stream/Sse.js
|
|
103896
103805
|
init_cjs_shims();
|
|
103897
103806
|
function parseEvent(raw) {
|
|
103898
103807
|
let eventType = "message";
|
|
@@ -103921,13 +103830,13 @@ function parseEvent(raw) {
|
|
|
103921
103830
|
}
|
|
103922
103831
|
}
|
|
103923
103832
|
|
|
103924
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
103833
|
+
// ../../../node_modules/.pnpm/mppx@0.2.0_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_3e8d079a06ad8f87e26cecc997a2a9a6/node_modules/mppx/dist/tempo/client/SessionManager.js
|
|
103925
103834
|
function sessionManager(parameters) {
|
|
103926
103835
|
const fetchFn = parameters.fetch ?? globalThis.fetch;
|
|
103927
103836
|
let channel = null;
|
|
103928
103837
|
let lastChallenge = null;
|
|
103929
103838
|
let lastUrl = null;
|
|
103930
|
-
const method =
|
|
103839
|
+
const method = session2({
|
|
103931
103840
|
account: parameters.account,
|
|
103932
103841
|
authorizedSigner: parameters.authorizedSigner,
|
|
103933
103842
|
getClient: parameters.client ? () => parameters.client : parameters.getClient,
|
|
@@ -104096,24 +104005,24 @@ function sessionManager(parameters) {
|
|
|
104096
104005
|
return self2;
|
|
104097
104006
|
}
|
|
104098
104007
|
|
|
104099
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
104008
|
+
// ../../../node_modules/.pnpm/mppx@0.2.0_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_3e8d079a06ad8f87e26cecc997a2a9a6/node_modules/mppx/dist/tempo/client/Methods.js
|
|
104100
104009
|
function tempo2(parameters = {}) {
|
|
104101
|
-
return [
|
|
104010
|
+
return [charge2(parameters), session2(parameters)];
|
|
104102
104011
|
}
|
|
104103
104012
|
(function(tempo3) {
|
|
104104
|
-
tempo3.charge =
|
|
104013
|
+
tempo3.charge = charge2;
|
|
104105
104014
|
tempo3.session = sessionManager;
|
|
104106
104015
|
})(tempo2 || (tempo2 = {}));
|
|
104107
104016
|
|
|
104108
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
104017
|
+
// ../../../node_modules/.pnpm/mppx@0.2.0_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_3e8d079a06ad8f87e26cecc997a2a9a6/node_modules/mppx/dist/client/Mppx.js
|
|
104109
104018
|
var Mppx_exports = {};
|
|
104110
104019
|
__export(Mppx_exports, {
|
|
104111
|
-
create: () =>
|
|
104020
|
+
create: () => create4,
|
|
104112
104021
|
restore: () => restore2
|
|
104113
104022
|
});
|
|
104114
104023
|
init_cjs_shims();
|
|
104115
104024
|
|
|
104116
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
104025
|
+
// ../../../node_modules/.pnpm/mppx@0.2.0_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_3e8d079a06ad8f87e26cecc997a2a9a6/node_modules/mppx/dist/client/Transport.js
|
|
104117
104026
|
init_cjs_shims();
|
|
104118
104027
|
function from20(transport) {
|
|
104119
104028
|
return transport;
|
|
@@ -104135,8 +104044,8 @@ function http2() {
|
|
|
104135
104044
|
});
|
|
104136
104045
|
}
|
|
104137
104046
|
|
|
104138
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
104139
|
-
function
|
|
104047
|
+
// ../../../node_modules/.pnpm/mppx@0.2.0_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_3e8d079a06ad8f87e26cecc997a2a9a6/node_modules/mppx/dist/client/Mppx.js
|
|
104048
|
+
function create4(config2) {
|
|
104140
104049
|
const { onChallenge, polyfill: polyfill2 = true, transport = http2() } = config2;
|
|
104141
104050
|
const methods = config2.methods.flat();
|
|
104142
104051
|
const resolvedOnChallenge = onChallenge;
|
|
@@ -104154,9 +104063,9 @@ function create5(config2) {
|
|
|
104154
104063
|
transport,
|
|
104155
104064
|
async createCredential(response, context2) {
|
|
104156
104065
|
const challenge2 = transport.getChallenge(response);
|
|
104157
|
-
const mi = methods.find((m) => m.
|
|
104066
|
+
const mi = methods.find((m) => m.name === challenge2.method && m.intent === challenge2.intent);
|
|
104158
104067
|
if (!mi)
|
|
104159
|
-
throw new Error(`No method
|
|
104068
|
+
throw new Error(`No method found for "${challenge2.method}.${challenge2.intent}". Available: ${methods.map((m) => `${m.name}.${m.intent}`).join(", ")}`);
|
|
104160
104069
|
const parsedContext = mi.context && context2 !== void 0 ? mi.context.parse(context2) : void 0;
|
|
104161
104070
|
return mi.createCredential(parsedContext !== void 0 ? { challenge: challenge2, context: parsedContext } : { challenge: challenge2 });
|
|
104162
104071
|
}
|
|
@@ -108617,10 +108526,10 @@ var safeCreateSIWxPayload = (surface2, serverInfo, signer) => {
|
|
|
108617
108526
|
// src/shared/neverthrow/mpp/index.ts
|
|
108618
108527
|
init_cjs_shims();
|
|
108619
108528
|
|
|
108620
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
108529
|
+
// ../../../node_modules/.pnpm/mppx@0.2.0_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_3e8d079a06ad8f87e26cecc997a2a9a6/node_modules/mppx/dist/index.js
|
|
108621
108530
|
init_cjs_shims();
|
|
108622
108531
|
|
|
108623
|
-
// ../../../node_modules/.pnpm/mppx@0.
|
|
108532
|
+
// ../../../node_modules/.pnpm/mppx@0.2.0_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.9_typesc_3e8d079a06ad8f87e26cecc997a2a9a6/node_modules/mppx/dist/Receipt.js
|
|
108624
108533
|
var Receipt_exports = {};
|
|
108625
108534
|
__export(Receipt_exports, {
|
|
108626
108535
|
Schema: () => Schema2,
|
|
@@ -110850,7 +110759,7 @@ var import_path2 = require("path");
|
|
|
110850
110759
|
var import_url = require("url");
|
|
110851
110760
|
function getVersion2() {
|
|
110852
110761
|
if (true) {
|
|
110853
|
-
return "0.4.
|
|
110762
|
+
return "0.4.2";
|
|
110854
110763
|
}
|
|
110855
110764
|
const __dirname3 = (0, import_path2.dirname)((0, import_url.fileURLToPath)(importMetaUrl));
|
|
110856
110765
|
const pkg = JSON.parse(
|
|
@@ -111016,9 +110925,16 @@ async function discoverResources(surface2, url3) {
|
|
|
111016
110925
|
return null;
|
|
111017
110926
|
}
|
|
111018
110927
|
log.info(`Found ${endpoints.length} endpoints for: ${origin}`);
|
|
110928
|
+
const rawInfo = spec.info;
|
|
110929
|
+
const info = rawInfo && typeof rawInfo.title === "string" ? {
|
|
110930
|
+
title: rawInfo.title,
|
|
110931
|
+
...typeof rawInfo.version === "string" ? { version: rawInfo.version } : {},
|
|
110932
|
+
...typeof rawInfo.description === "string" ? { description: rawInfo.description } : {}
|
|
110933
|
+
} : void 0;
|
|
111019
110934
|
return {
|
|
111020
110935
|
origin,
|
|
111021
110936
|
source: "openapi",
|
|
110937
|
+
...info ? { info } : {},
|
|
111022
110938
|
endpoints: endpoints.map(({ path: path2, method, summary, price, protocols }) => ({
|
|
111023
110939
|
path: path2,
|
|
111024
110940
|
method,
|
|
@@ -111084,17 +111000,13 @@ function registerDiscoveryTools(server) {
|
|
|
111084
111000
|
}
|
|
111085
111001
|
const result = discoverResult.value;
|
|
111086
111002
|
if (result) {
|
|
111087
|
-
const endpoints = result.endpoints.map(
|
|
111088
|
-
({ path: path2, summary, price }) => ({
|
|
111089
|
-
path: path2,
|
|
111090
|
-
summary,
|
|
111091
|
-
...price ? { price } : {}
|
|
111092
|
-
})
|
|
111093
|
-
);
|
|
111094
111003
|
return mcpSuccessJson({
|
|
111095
111004
|
found: true,
|
|
111096
111005
|
origin: result.origin,
|
|
111097
|
-
|
|
111006
|
+
...result.info ? { info: result.info } : {},
|
|
111007
|
+
endpoints: result.endpoints.map(
|
|
111008
|
+
(e) => ({ ...e })
|
|
111009
|
+
),
|
|
111098
111010
|
...result.instructions ? { instructions: result.instructions } : {}
|
|
111099
111011
|
});
|
|
111100
111012
|
}
|
|
@@ -111587,7 +111499,7 @@ var import_path3 = require("path");
|
|
|
111587
111499
|
var import_url2 = require("url");
|
|
111588
111500
|
function getVersion3() {
|
|
111589
111501
|
if (true) {
|
|
111590
|
-
return "0.4.
|
|
111502
|
+
return "0.4.2";
|
|
111591
111503
|
}
|
|
111592
111504
|
const __dirname3 = (0, import_path3.dirname)((0, import_url2.fileURLToPath)(importMetaUrl));
|
|
111593
111505
|
const pkg = JSON.parse(
|