agentcash 0.3.7 → 0.4.1
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 +692 -657
- package/dist/esm/{chunk-ED4QVIZH.js → chunk-2CFQ7ILC.js} +2 -2
- package/dist/esm/chunk-2CFQ7ILC.js.map +1 -0
- package/dist/esm/{chunk-7E4JDDBW.js → chunk-7DEM3OEU.js} +109 -61
- package/dist/esm/chunk-7DEM3OEU.js.map +1 -0
- package/dist/esm/{chunk-SBLBP4FH.js → chunk-7LPATNAW.js} +2 -2
- package/dist/esm/{chunk-PCCYUD6X.js → chunk-DCP6SZGV.js} +3 -3
- package/dist/esm/{chunk-PJFATGPH.js → chunk-EO4BIJAO.js} +22 -9
- package/dist/esm/{chunk-PJFATGPH.js.map → chunk-EO4BIJAO.js.map} +1 -1
- package/dist/esm/{chunk-RP5AGYAT.js → chunk-SHAJ42CH.js} +111 -118
- package/dist/esm/chunk-SHAJ42CH.js.map +1 -0
- package/dist/esm/{chunk-EVE4PTLY.js → chunk-TRGCJSV2.js} +2 -2
- package/dist/esm/{commands-JXKV7VMY.js → commands-WXPPIUX3.js} +9 -8
- package/dist/esm/{commands-JXKV7VMY.js.map → commands-WXPPIUX3.js.map} +1 -1
- package/dist/esm/{fund-IALSHTLH.js → fund-3DJLQ6CN.js} +4 -4
- package/dist/esm/index.js +9 -9
- package/dist/esm/{install-IP2RBDST.js → install-N5BZ677Y.js} +5 -5
- package/dist/esm/lib.d.ts +45 -4
- package/dist/esm/lib.js +4 -4
- package/dist/esm/{server-BEKXJWYB.js → server-PMG7V6KQ.js} +26 -22
- package/dist/esm/server-PMG7V6KQ.js.map +1 -0
- package/dist/esm/shared/operations/index.d.ts +1 -1
- package/dist/esm/shared/operations/index.js +4 -4
- package/package.json +10 -10
- package/dist/esm/chunk-7E4JDDBW.js.map +0 -1
- package/dist/esm/chunk-ED4QVIZH.js.map +0 -1
- package/dist/esm/chunk-RP5AGYAT.js.map +0 -1
- package/dist/esm/server-BEKXJWYB.js.map +0 -1
- /package/dist/esm/{chunk-SBLBP4FH.js.map → chunk-7LPATNAW.js.map} +0 -0
- /package/dist/esm/{chunk-PCCYUD6X.js.map → chunk-DCP6SZGV.js.map} +0 -0
- /package/dist/esm/{chunk-EVE4PTLY.js.map → chunk-TRGCJSV2.js.map} +0 -0
- /package/dist/esm/{fund-IALSHTLH.js.map → fund-3DJLQ6CN.js.map} +0 -0
- /package/dist/esm/{install-IP2RBDST.js.map → install-N5BZ677Y.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.1.1_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.
|
|
88778
|
+
// ../../../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_405dfb80e1c7f6ab13ff44820fe9b86a/node_modules/mppx/dist/client/index.js
|
|
88779
88779
|
init_cjs_shims();
|
|
88780
88780
|
|
|
88781
|
-
// ../../../node_modules/.pnpm/mppx@0.1.1_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.
|
|
88781
|
+
// ../../../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_405dfb80e1c7f6ab13ff44820fe9b86a/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.1.1_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.
|
|
88787
|
+
// ../../../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_405dfb80e1c7f6ab13ff44820fe9b86a/node_modules/mppx/dist/client/Methods.js
|
|
88788
88788
|
init_cjs_shims();
|
|
88789
88789
|
|
|
88790
|
-
// ../../../node_modules/.pnpm/mppx@0.1.1_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.
|
|
88790
|
+
// ../../../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_405dfb80e1c7f6ab13ff44820fe9b86a/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.1.1_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.
|
|
91213
|
+
// ../../../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_405dfb80e1c7f6ab13ff44820fe9b86a/node_modules/mppx/dist/Challenge.js
|
|
91214
91214
|
var Challenge_exports = {};
|
|
91215
91215
|
__export(Challenge_exports, {
|
|
91216
91216
|
Schema: () => Schema,
|
|
@@ -91224,7 +91224,7 @@ __export(Challenge_exports, {
|
|
|
91224
91224
|
});
|
|
91225
91225
|
init_cjs_shims();
|
|
91226
91226
|
|
|
91227
|
-
// ../../../node_modules/.pnpm/mppx@0.1.1_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.
|
|
91227
|
+
// ../../../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_405dfb80e1c7f6ab13ff44820fe9b86a/node_modules/mppx/dist/PaymentRequest.js
|
|
91228
91228
|
init_cjs_shims();
|
|
91229
91229
|
function deserialize(encoded) {
|
|
91230
91230
|
const json3 = Base64_exports.toString(encoded);
|
|
@@ -91238,13 +91238,13 @@ function serialize(request) {
|
|
|
91238
91238
|
return Base64_exports.fromString(json3, { pad: false, url: true });
|
|
91239
91239
|
}
|
|
91240
91240
|
|
|
91241
|
-
// ../../../node_modules/.pnpm/mppx@0.1.1_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.
|
|
91241
|
+
// ../../../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_405dfb80e1c7f6ab13ff44820fe9b86a/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.1.1_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.
|
|
91247
|
+
// ../../../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_405dfb80e1c7f6ab13ff44820fe9b86a/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
|
}
|
|
@@ -91263,7 +91263,7 @@ function unwrapOptional(schema) {
|
|
|
91263
91263
|
return schema;
|
|
91264
91264
|
}
|
|
91265
91265
|
|
|
91266
|
-
// ../../../node_modules/.pnpm/mppx@0.1.1_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.
|
|
91266
|
+
// ../../../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_405dfb80e1c7f6ab13ff44820fe9b86a/node_modules/mppx/dist/Challenge.js
|
|
91267
91267
|
var Schema = object({
|
|
91268
91268
|
/** Optional human-readable description of the payment. */
|
|
91269
91269
|
description: optional(string2()),
|
|
@@ -91387,7 +91387,7 @@ function constantTimeEqual(a, b) {
|
|
|
91387
91387
|
return result === 0;
|
|
91388
91388
|
}
|
|
91389
91389
|
|
|
91390
|
-
// ../../../node_modules/.pnpm/mppx@0.1.1_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.
|
|
91390
|
+
// ../../../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_405dfb80e1c7f6ab13ff44820fe9b86a/node_modules/mppx/dist/Credential.js
|
|
91391
91391
|
function serialize3(credential) {
|
|
91392
91392
|
const wire = {
|
|
91393
91393
|
challenge: {
|
|
@@ -91402,16 +91402,16 @@ function serialize3(credential) {
|
|
|
91402
91402
|
return `Payment ${encoded}`;
|
|
91403
91403
|
}
|
|
91404
91404
|
|
|
91405
|
-
// ../../../node_modules/.pnpm/mppx@0.1.1_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.
|
|
91405
|
+
// ../../../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_405dfb80e1c7f6ab13ff44820fe9b86a/node_modules/mppx/dist/MethodIntent.js
|
|
91406
91406
|
init_cjs_shims();
|
|
91407
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.
|
|
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_405dfb80e1c7f6ab13ff44820fe9b86a/node_modules/mppx/dist/Intent.js
|
|
91409
91409
|
init_cjs_shims();
|
|
91410
91410
|
|
|
91411
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91411
|
+
// ../../../node_modules/.pnpm/viem@2.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
91412
|
init_cjs_shims();
|
|
91413
91413
|
|
|
91414
|
-
// ../../../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/utils/getAction.js
|
|
91415
91415
|
init_cjs_shims();
|
|
91416
91416
|
function getAction(client, actionFn, name) {
|
|
91417
91417
|
const action_implicit = client[actionFn.name];
|
|
@@ -91423,14 +91423,14 @@ function getAction(client, actionFn, name) {
|
|
|
91423
91423
|
return (params) => actionFn(client, params);
|
|
91424
91424
|
}
|
|
91425
91425
|
|
|
91426
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91426
|
+
// ../../../node_modules/.pnpm/viem@2.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
91427
|
init_cjs_shims();
|
|
91428
91428
|
|
|
91429
|
-
// ../../../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/utils/abi/encodeEventTopics.js
|
|
91430
91430
|
init_cjs_shims();
|
|
91431
91431
|
init_abi();
|
|
91432
91432
|
|
|
91433
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91433
|
+
// ../../../node_modules/.pnpm/viem@2.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
91434
|
init_cjs_shims();
|
|
91435
91435
|
init_base2();
|
|
91436
91436
|
var FilterTypeNotSupportedError = class extends BaseError4 {
|
|
@@ -91441,7 +91441,7 @@ var FilterTypeNotSupportedError = class extends BaseError4 {
|
|
|
91441
91441
|
}
|
|
91442
91442
|
};
|
|
91443
91443
|
|
|
91444
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91444
|
+
// ../../../node_modules/.pnpm/viem@2.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
91445
|
init_toBytes2();
|
|
91446
91446
|
init_keccak2562();
|
|
91447
91447
|
init_toEventSelector();
|
|
@@ -91484,10 +91484,10 @@ function encodeArg({ param, value }) {
|
|
|
91484
91484
|
return encodeAbiParameters([param], [value]);
|
|
91485
91485
|
}
|
|
91486
91486
|
|
|
91487
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91487
|
+
// ../../../node_modules/.pnpm/viem@2.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
91488
|
init_toHex2();
|
|
91489
91489
|
|
|
91490
|
-
// ../../../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/utils/filters/createFilterRequestScope.js
|
|
91491
91491
|
init_cjs_shims();
|
|
91492
91492
|
function createFilterRequestScope(client, { method }) {
|
|
91493
91493
|
const requestMap = {};
|
|
@@ -91499,7 +91499,7 @@ function createFilterRequestScope(client, { method }) {
|
|
|
91499
91499
|
return ((id) => requestMap[id] || client.request);
|
|
91500
91500
|
}
|
|
91501
91501
|
|
|
91502
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91502
|
+
// ../../../node_modules/.pnpm/viem@2.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
91503
|
async function createContractEventFilter(client, parameters) {
|
|
91504
91504
|
const { address, abi, args, eventName, fromBlock, strict, toBlock } = parameters;
|
|
91505
91505
|
const getRequest = createFilterRequestScope(client, {
|
|
@@ -91532,7 +91532,7 @@ async function createContractEventFilter(client, parameters) {
|
|
|
91532
91532
|
};
|
|
91533
91533
|
}
|
|
91534
91534
|
|
|
91535
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91535
|
+
// ../../../node_modules/.pnpm/viem@2.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
91536
|
init_cjs_shims();
|
|
91537
91537
|
init_abi();
|
|
91538
91538
|
init_base2();
|
|
@@ -91566,18 +91566,18 @@ function getContractError(err3, { abi, address, args, docsPath: docsPath8, funct
|
|
|
91566
91566
|
});
|
|
91567
91567
|
}
|
|
91568
91568
|
|
|
91569
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91569
|
+
// ../../../node_modules/.pnpm/viem@2.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
91570
|
init_cjs_shims();
|
|
91571
91571
|
init_parseAccount();
|
|
91572
91572
|
init_base2();
|
|
91573
91573
|
|
|
91574
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91574
|
+
// ../../../node_modules/.pnpm/viem@2.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
91575
|
init_cjs_shims();
|
|
91576
91576
|
|
|
91577
|
-
// ../../../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/signature/recoverAddress.js
|
|
91578
91578
|
init_cjs_shims();
|
|
91579
91579
|
|
|
91580
|
-
// ../../../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/accounts/utils/publicKeyToAddress.js
|
|
91581
91581
|
init_cjs_shims();
|
|
91582
91582
|
init_getAddress2();
|
|
91583
91583
|
init_keccak2562();
|
|
@@ -91586,7 +91586,7 @@ function publicKeyToAddress(publicKey) {
|
|
|
91586
91586
|
return checksumAddress2(`0x${address}`);
|
|
91587
91587
|
}
|
|
91588
91588
|
|
|
91589
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91589
|
+
// ../../../node_modules/.pnpm/viem@2.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
91590
|
init_cjs_shims();
|
|
91591
91591
|
init_isHex2();
|
|
91592
91592
|
init_size2();
|
|
@@ -91622,18 +91622,18 @@ function toRecoveryBit(yParityOrV) {
|
|
|
91622
91622
|
throw new Error("Invalid yParityOrV value");
|
|
91623
91623
|
}
|
|
91624
91624
|
|
|
91625
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91625
|
+
// ../../../node_modules/.pnpm/viem@2.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
91626
|
async function recoverAddress2({ hash: hash7, signature: signature2 }) {
|
|
91627
91627
|
return publicKeyToAddress(await recoverPublicKey2({ hash: hash7, signature: signature2 }));
|
|
91628
91628
|
}
|
|
91629
91629
|
|
|
91630
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91630
|
+
// ../../../node_modules/.pnpm/viem@2.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
91631
|
init_cjs_shims();
|
|
91632
91632
|
init_concat();
|
|
91633
91633
|
init_toBytes2();
|
|
91634
91634
|
init_toHex2();
|
|
91635
91635
|
|
|
91636
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91636
|
+
// ../../../node_modules/.pnpm/viem@2.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
91637
|
init_cjs_shims();
|
|
91638
91638
|
init_base2();
|
|
91639
91639
|
init_cursor2();
|
|
@@ -91727,7 +91727,7 @@ function getSizeOfLength2(length) {
|
|
|
91727
91727
|
throw new BaseError4("Length is too large.");
|
|
91728
91728
|
}
|
|
91729
91729
|
|
|
91730
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91730
|
+
// ../../../node_modules/.pnpm/viem@2.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
91731
|
init_keccak2562();
|
|
91732
91732
|
function hashAuthorization(parameters) {
|
|
91733
91733
|
const { chainId, nonce: nonce2, to: to2 } = parameters;
|
|
@@ -91745,7 +91745,7 @@ function hashAuthorization(parameters) {
|
|
|
91745
91745
|
return hash7;
|
|
91746
91746
|
}
|
|
91747
91747
|
|
|
91748
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91748
|
+
// ../../../node_modules/.pnpm/viem@2.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
91749
|
async function recoverAuthorizationAddress(parameters) {
|
|
91750
91750
|
const { authorization, signature: signature2 } = parameters;
|
|
91751
91751
|
return recoverAddress2({
|
|
@@ -91754,13 +91754,13 @@ async function recoverAuthorizationAddress(parameters) {
|
|
|
91754
91754
|
});
|
|
91755
91755
|
}
|
|
91756
91756
|
|
|
91757
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91757
|
+
// ../../../node_modules/.pnpm/viem@2.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
91758
|
init_toHex2();
|
|
91759
91759
|
|
|
91760
|
-
// ../../../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/utils/errors/getEstimateGasError.js
|
|
91761
91761
|
init_cjs_shims();
|
|
91762
91762
|
|
|
91763
|
-
// ../../../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/errors/estimateGas.js
|
|
91764
91764
|
init_cjs_shims();
|
|
91765
91765
|
init_formatEther();
|
|
91766
91766
|
init_formatGwei();
|
|
@@ -91799,7 +91799,7 @@ var EstimateGasExecutionError = class extends BaseError4 {
|
|
|
91799
91799
|
}
|
|
91800
91800
|
};
|
|
91801
91801
|
|
|
91802
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91802
|
+
// ../../../node_modules/.pnpm/viem@2.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
91803
|
init_node();
|
|
91804
91804
|
init_getNodeError();
|
|
91805
91805
|
function getEstimateGasError(err3, { docsPath: docsPath8, ...args }) {
|
|
@@ -91815,20 +91815,20 @@ function getEstimateGasError(err3, { docsPath: docsPath8, ...args }) {
|
|
|
91815
91815
|
});
|
|
91816
91816
|
}
|
|
91817
91817
|
|
|
91818
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91818
|
+
// ../../../node_modules/.pnpm/viem@2.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
91819
|
init_extract();
|
|
91820
91820
|
init_transactionRequest();
|
|
91821
91821
|
init_stateOverride2();
|
|
91822
91822
|
init_assertRequest();
|
|
91823
91823
|
|
|
91824
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91824
|
+
// ../../../node_modules/.pnpm/viem@2.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
91825
|
init_cjs_shims();
|
|
91826
91826
|
init_parseAccount();
|
|
91827
91827
|
|
|
91828
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91828
|
+
// ../../../node_modules/.pnpm/viem@2.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
91829
|
init_cjs_shims();
|
|
91830
91830
|
|
|
91831
|
-
// ../../../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/errors/fee.js
|
|
91832
91832
|
init_cjs_shims();
|
|
91833
91833
|
init_formatGwei();
|
|
91834
91834
|
init_base2();
|
|
@@ -91852,14 +91852,14 @@ var MaxFeePerGasTooLowError = class extends BaseError4 {
|
|
|
91852
91852
|
}
|
|
91853
91853
|
};
|
|
91854
91854
|
|
|
91855
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91855
|
+
// ../../../node_modules/.pnpm/viem@2.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
91856
|
init_cjs_shims();
|
|
91857
91857
|
init_fromHex2();
|
|
91858
91858
|
|
|
91859
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91859
|
+
// ../../../node_modules/.pnpm/viem@2.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
91860
|
init_cjs_shims();
|
|
91861
91861
|
|
|
91862
|
-
// ../../../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/errors/block.js
|
|
91863
91863
|
init_cjs_shims();
|
|
91864
91864
|
init_base2();
|
|
91865
91865
|
var BlockNotFoundError = class extends BaseError4 {
|
|
@@ -91873,13 +91873,13 @@ var BlockNotFoundError = class extends BaseError4 {
|
|
|
91873
91873
|
}
|
|
91874
91874
|
};
|
|
91875
91875
|
|
|
91876
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91876
|
+
// ../../../node_modules/.pnpm/viem@2.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
91877
|
init_toHex2();
|
|
91878
91878
|
|
|
91879
|
-
// ../../../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/utils/formatters/block.js
|
|
91880
91880
|
init_cjs_shims();
|
|
91881
91881
|
|
|
91882
|
-
// ../../../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/transaction.js
|
|
91883
91883
|
init_cjs_shims();
|
|
91884
91884
|
init_fromHex2();
|
|
91885
91885
|
init_formatter();
|
|
@@ -91952,7 +91952,7 @@ function formatAuthorizationList2(authorizationList) {
|
|
|
91952
91952
|
}));
|
|
91953
91953
|
}
|
|
91954
91954
|
|
|
91955
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91955
|
+
// ../../../node_modules/.pnpm/viem@2.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
91956
|
function formatBlock(block, _) {
|
|
91957
91957
|
const transactions = (block.transactions ?? []).map((transaction) => {
|
|
91958
91958
|
if (typeof transaction === "string")
|
|
@@ -91978,7 +91978,7 @@ function formatBlock(block, _) {
|
|
|
91978
91978
|
};
|
|
91979
91979
|
}
|
|
91980
91980
|
|
|
91981
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
91981
|
+
// ../../../node_modules/.pnpm/viem@2.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
91982
|
async function getBlock(client, { blockHash, blockNumber, blockTag = client.experimental_blockTag ?? "latest", includeTransactions: includeTransactions_ } = {}) {
|
|
91983
91983
|
const includeTransactions = includeTransactions_ ?? false;
|
|
91984
91984
|
const blockNumberHex = blockNumber !== void 0 ? numberToHex2(blockNumber) : void 0;
|
|
@@ -92000,7 +92000,7 @@ async function getBlock(client, { blockHash, blockNumber, blockTag = client.expe
|
|
|
92000
92000
|
return format4(block, "getBlock");
|
|
92001
92001
|
}
|
|
92002
92002
|
|
|
92003
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92003
|
+
// ../../../node_modules/.pnpm/viem@2.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
92004
|
init_cjs_shims();
|
|
92005
92005
|
async function getGasPrice(client) {
|
|
92006
92006
|
const gasPrice = await client.request({
|
|
@@ -92009,7 +92009,7 @@ async function getGasPrice(client) {
|
|
|
92009
92009
|
return BigInt(gasPrice);
|
|
92010
92010
|
}
|
|
92011
92011
|
|
|
92012
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92012
|
+
// ../../../node_modules/.pnpm/viem@2.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
92013
|
async function internal_estimateMaxPriorityFeePerGas(client, args) {
|
|
92014
92014
|
const { block: block_, chain: chain2 = client.chain, request } = args || {};
|
|
92015
92015
|
try {
|
|
@@ -92045,7 +92045,7 @@ async function internal_estimateMaxPriorityFeePerGas(client, args) {
|
|
|
92045
92045
|
}
|
|
92046
92046
|
}
|
|
92047
92047
|
|
|
92048
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92048
|
+
// ../../../node_modules/.pnpm/viem@2.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
92049
|
async function internal_estimateFeesPerGas(client, args) {
|
|
92050
92050
|
const { block: block_, chain: chain2 = client.chain, request, type: type4 = "eip1559" } = args || {};
|
|
92051
92051
|
const baseFeeMultiplier = await (async () => {
|
|
@@ -92095,7 +92095,7 @@ async function internal_estimateFeesPerGas(client, args) {
|
|
|
92095
92095
|
};
|
|
92096
92096
|
}
|
|
92097
92097
|
|
|
92098
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92098
|
+
// ../../../node_modules/.pnpm/viem@2.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
92099
|
init_cjs_shims();
|
|
92100
92100
|
init_fromHex2();
|
|
92101
92101
|
init_toHex2();
|
|
@@ -92112,7 +92112,7 @@ async function getTransactionCount(client, { address, blockTag = "latest", block
|
|
|
92112
92112
|
return hexToNumber2(count);
|
|
92113
92113
|
}
|
|
92114
92114
|
|
|
92115
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92115
|
+
// ../../../node_modules/.pnpm/viem@2.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
92116
|
init_cjs_shims();
|
|
92117
92117
|
init_toBytes2();
|
|
92118
92118
|
init_toHex2();
|
|
@@ -92126,7 +92126,7 @@ function blobsToCommitments(parameters) {
|
|
|
92126
92126
|
return to2 === "bytes" ? commitments : commitments.map((x) => bytesToHex3(x));
|
|
92127
92127
|
}
|
|
92128
92128
|
|
|
92129
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92129
|
+
// ../../../node_modules/.pnpm/viem@2.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
92130
|
init_cjs_shims();
|
|
92131
92131
|
init_toBytes2();
|
|
92132
92132
|
init_toHex2();
|
|
@@ -92144,14 +92144,14 @@ function blobsToProofs(parameters) {
|
|
|
92144
92144
|
return to2 === "bytes" ? proofs : proofs.map((x) => bytesToHex3(x));
|
|
92145
92145
|
}
|
|
92146
92146
|
|
|
92147
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92147
|
+
// ../../../node_modules/.pnpm/viem@2.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
92148
|
init_cjs_shims();
|
|
92149
92149
|
|
|
92150
|
-
// ../../../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/commitmentToVersionedHash.js
|
|
92151
92151
|
init_cjs_shims();
|
|
92152
92152
|
init_toHex2();
|
|
92153
92153
|
|
|
92154
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92154
|
+
// ../../../node_modules/.pnpm/viem@2.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
92155
|
init_cjs_shims();
|
|
92156
92156
|
init_isHex2();
|
|
92157
92157
|
init_toBytes2();
|
|
@@ -92164,7 +92164,7 @@ function sha2564(value, to_) {
|
|
|
92164
92164
|
return toHex7(bytes);
|
|
92165
92165
|
}
|
|
92166
92166
|
|
|
92167
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92167
|
+
// ../../../node_modules/.pnpm/viem@2.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
92168
|
function commitmentToVersionedHash(parameters) {
|
|
92169
92169
|
const { commitment, version: version7 = 1 } = parameters;
|
|
92170
92170
|
const to2 = parameters.to ?? (typeof commitment === "string" ? "hex" : "bytes");
|
|
@@ -92173,7 +92173,7 @@ function commitmentToVersionedHash(parameters) {
|
|
|
92173
92173
|
return to2 === "bytes" ? versionedHash : bytesToHex3(versionedHash);
|
|
92174
92174
|
}
|
|
92175
92175
|
|
|
92176
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92176
|
+
// ../../../node_modules/.pnpm/viem@2.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
92177
|
function commitmentsToVersionedHashes(parameters) {
|
|
92178
92178
|
const { commitments, version: version7 } = parameters;
|
|
92179
92179
|
const to2 = parameters.to ?? (typeof commitments[0] === "string" ? "hex" : "bytes");
|
|
@@ -92188,13 +92188,13 @@ function commitmentsToVersionedHashes(parameters) {
|
|
|
92188
92188
|
return hashes;
|
|
92189
92189
|
}
|
|
92190
92190
|
|
|
92191
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92191
|
+
// ../../../node_modules/.pnpm/viem@2.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
92192
|
init_cjs_shims();
|
|
92193
92193
|
|
|
92194
|
-
// ../../../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/toBlobs.js
|
|
92195
92195
|
init_cjs_shims();
|
|
92196
92196
|
|
|
92197
|
-
// ../../../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/constants/blob.js
|
|
92198
92198
|
init_cjs_shims();
|
|
92199
92199
|
var blobsPerTransaction = 6;
|
|
92200
92200
|
var bytesPerFieldElement = 32;
|
|
@@ -92204,14 +92204,14 @@ var maxBytesPerTransaction = bytesPerBlob * blobsPerTransaction - // terminator
|
|
|
92204
92204
|
1 - // zero byte (0x00) appended to each field element.
|
|
92205
92205
|
1 * fieldElementsPerBlob * blobsPerTransaction;
|
|
92206
92206
|
|
|
92207
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92207
|
+
// ../../../node_modules/.pnpm/viem@2.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
92208
|
init_cjs_shims();
|
|
92209
92209
|
|
|
92210
|
-
// ../../../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/constants/kzg.js
|
|
92211
92211
|
init_cjs_shims();
|
|
92212
92212
|
var versionedHashVersionKzg = 1;
|
|
92213
92213
|
|
|
92214
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92214
|
+
// ../../../node_modules/.pnpm/viem@2.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
92215
|
init_base2();
|
|
92216
92216
|
var BlobSizeTooLargeError = class extends BaseError4 {
|
|
92217
92217
|
constructor({ maxSize, size: size6 }) {
|
|
@@ -92246,7 +92246,7 @@ var InvalidVersionedHashVersionError = class extends BaseError4 {
|
|
|
92246
92246
|
}
|
|
92247
92247
|
};
|
|
92248
92248
|
|
|
92249
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92249
|
+
// ../../../node_modules/.pnpm/viem@2.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
92250
|
init_cursor2();
|
|
92251
92251
|
init_size2();
|
|
92252
92252
|
init_toBytes2();
|
|
@@ -92285,7 +92285,7 @@ function toBlobs(parameters) {
|
|
|
92285
92285
|
return to2 === "bytes" ? blobs.map((x) => x.bytes) : blobs.map((x) => bytesToHex3(x.bytes));
|
|
92286
92286
|
}
|
|
92287
92287
|
|
|
92288
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92288
|
+
// ../../../node_modules/.pnpm/viem@2.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
92289
|
function toBlobSidecars(parameters) {
|
|
92290
92290
|
const { data, kzg, to: to2 } = parameters;
|
|
92291
92291
|
const blobs = parameters.blobs ?? toBlobs({ data, to: to2 });
|
|
@@ -92301,11 +92301,11 @@ function toBlobSidecars(parameters) {
|
|
|
92301
92301
|
return sidecars;
|
|
92302
92302
|
}
|
|
92303
92303
|
|
|
92304
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92304
|
+
// ../../../node_modules/.pnpm/viem@2.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
92305
|
init_lru2();
|
|
92306
92306
|
init_assertRequest();
|
|
92307
92307
|
|
|
92308
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92308
|
+
// ../../../node_modules/.pnpm/viem@2.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
92309
|
init_cjs_shims();
|
|
92310
92310
|
init_transaction();
|
|
92311
92311
|
function getTransactionType(transaction) {
|
|
@@ -92326,11 +92326,11 @@ function getTransactionType(transaction) {
|
|
|
92326
92326
|
throw new InvalidSerializableTransactionError({ transaction });
|
|
92327
92327
|
}
|
|
92328
92328
|
|
|
92329
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92329
|
+
// ../../../node_modules/.pnpm/viem@2.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
92330
|
init_cjs_shims();
|
|
92331
92331
|
init_parseAccount();
|
|
92332
92332
|
|
|
92333
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92333
|
+
// ../../../node_modules/.pnpm/viem@2.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
92334
|
init_cjs_shims();
|
|
92335
92335
|
init_node();
|
|
92336
92336
|
init_transaction();
|
|
@@ -92348,12 +92348,12 @@ function getTransactionError(err3, { docsPath: docsPath8, ...args }) {
|
|
|
92348
92348
|
});
|
|
92349
92349
|
}
|
|
92350
92350
|
|
|
92351
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92351
|
+
// ../../../node_modules/.pnpm/viem@2.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
92352
|
init_extract();
|
|
92353
92353
|
init_transactionRequest();
|
|
92354
92354
|
init_assertRequest();
|
|
92355
92355
|
|
|
92356
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92356
|
+
// ../../../node_modules/.pnpm/viem@2.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
92357
|
init_cjs_shims();
|
|
92358
92358
|
init_fromHex2();
|
|
92359
92359
|
async function getChainId(client) {
|
|
@@ -92363,7 +92363,7 @@ async function getChainId(client) {
|
|
|
92363
92363
|
return hexToNumber2(chainIdHex);
|
|
92364
92364
|
}
|
|
92365
92365
|
|
|
92366
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92366
|
+
// ../../../node_modules/.pnpm/viem@2.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
92367
|
async function fillTransaction(client, parameters) {
|
|
92368
92368
|
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
92369
|
const nonce2 = await (async () => {
|
|
@@ -92465,7 +92465,7 @@ async function fillTransaction(client, parameters) {
|
|
|
92465
92465
|
}
|
|
92466
92466
|
}
|
|
92467
92467
|
|
|
92468
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92468
|
+
// ../../../node_modules/.pnpm/viem@2.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
92469
|
var defaultParameters = [
|
|
92470
92470
|
"blobVersionedHashes",
|
|
92471
92471
|
"chainId",
|
|
@@ -92673,7 +92673,7 @@ async function prepareTransactionRequest(client, args) {
|
|
|
92673
92673
|
return request;
|
|
92674
92674
|
}
|
|
92675
92675
|
|
|
92676
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92676
|
+
// ../../../node_modules/.pnpm/viem@2.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
92677
|
async function estimateGas(client, args) {
|
|
92678
92678
|
const { account: account_ = client.account, prepare = true } = args;
|
|
92679
92679
|
const account = account_ ? parseAccount(account_) : void 0;
|
|
@@ -92743,21 +92743,21 @@ async function estimateGas(client, args) {
|
|
|
92743
92743
|
}
|
|
92744
92744
|
}
|
|
92745
92745
|
|
|
92746
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92746
|
+
// ../../../node_modules/.pnpm/viem@2.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
92747
|
init_cjs_shims();
|
|
92748
92748
|
init_getAbiItem();
|
|
92749
92749
|
|
|
92750
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92750
|
+
// ../../../node_modules/.pnpm/viem@2.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
92751
|
init_cjs_shims();
|
|
92752
92752
|
|
|
92753
|
-
// ../../../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/utils/abi/parseEventLogs.js
|
|
92754
92754
|
init_cjs_shims();
|
|
92755
92755
|
init_isAddressEqual();
|
|
92756
92756
|
init_toBytes2();
|
|
92757
92757
|
init_keccak2562();
|
|
92758
92758
|
init_toEventSelector();
|
|
92759
92759
|
|
|
92760
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92760
|
+
// ../../../node_modules/.pnpm/viem@2.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
92761
|
init_cjs_shims();
|
|
92762
92762
|
init_abi();
|
|
92763
92763
|
init_cursor();
|
|
@@ -92851,7 +92851,7 @@ function decodeTopic({ param, value }) {
|
|
|
92851
92851
|
return decodedArg[0];
|
|
92852
92852
|
}
|
|
92853
92853
|
|
|
92854
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92854
|
+
// ../../../node_modules/.pnpm/viem@2.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
92855
|
function parseEventLogs(parameters) {
|
|
92856
92856
|
const { abi, args, logs, strict = true } = parameters;
|
|
92857
92857
|
const eventName = (() => {
|
|
@@ -92955,10 +92955,10 @@ function includesArgs(parameters) {
|
|
|
92955
92955
|
return false;
|
|
92956
92956
|
}
|
|
92957
92957
|
|
|
92958
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92958
|
+
// ../../../node_modules/.pnpm/viem@2.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
92959
|
init_toHex2();
|
|
92960
92960
|
|
|
92961
|
-
// ../../../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/utils/formatters/log.js
|
|
92962
92962
|
init_cjs_shims();
|
|
92963
92963
|
function formatLog(log2, { args, eventName } = {}) {
|
|
92964
92964
|
return {
|
|
@@ -92973,7 +92973,7 @@ function formatLog(log2, { args, eventName } = {}) {
|
|
|
92973
92973
|
};
|
|
92974
92974
|
}
|
|
92975
92975
|
|
|
92976
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
92976
|
+
// ../../../node_modules/.pnpm/viem@2.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
92977
|
async function getLogs(client, { address, blockHash, fromBlock, toBlock, event, events: events_, args, strict: strict_ } = {}) {
|
|
92978
92978
|
const strict = strict_ ?? false;
|
|
92979
92979
|
const events = events_ ?? (event ? [event] : void 0);
|
|
@@ -93018,7 +93018,7 @@ async function getLogs(client, { address, blockHash, fromBlock, toBlock, event,
|
|
|
93018
93018
|
});
|
|
93019
93019
|
}
|
|
93020
93020
|
|
|
93021
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93021
|
+
// ../../../node_modules/.pnpm/viem@2.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
93022
|
async function getContractEvents(client, parameters) {
|
|
93023
93023
|
const { abi, address, args, blockHash, eventName, fromBlock, toBlock, strict } = parameters;
|
|
93024
93024
|
const event = eventName ? getAbiItem({ abi, name: eventName }) : void 0;
|
|
@@ -93035,7 +93035,7 @@ async function getContractEvents(client, parameters) {
|
|
|
93035
93035
|
});
|
|
93036
93036
|
}
|
|
93037
93037
|
|
|
93038
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93038
|
+
// ../../../node_modules/.pnpm/viem@2.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
93039
|
init_cjs_shims();
|
|
93040
93040
|
init_decodeFunctionResult();
|
|
93041
93041
|
init_encodeFunctionData();
|
|
@@ -93070,12 +93070,12 @@ async function readContract(client, parameters) {
|
|
|
93070
93070
|
}
|
|
93071
93071
|
}
|
|
93072
93072
|
|
|
93073
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93073
|
+
// ../../../node_modules/.pnpm/viem@2.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
93074
|
init_cjs_shims();
|
|
93075
93075
|
init_abi();
|
|
93076
93076
|
init_rpc();
|
|
93077
93077
|
|
|
93078
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93078
|
+
// ../../../node_modules/.pnpm/viem@2.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
93079
|
init_cjs_shims();
|
|
93080
93080
|
var listenersCache = /* @__PURE__ */ new Map();
|
|
93081
93081
|
var cleanupCache = /* @__PURE__ */ new Map();
|
|
@@ -93123,16 +93123,16 @@ function observe(observerId, callbacks, fn) {
|
|
|
93123
93123
|
return unwatch;
|
|
93124
93124
|
}
|
|
93125
93125
|
|
|
93126
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93126
|
+
// ../../../node_modules/.pnpm/viem@2.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
93127
|
init_cjs_shims();
|
|
93128
93128
|
|
|
93129
|
-
// ../../../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/wait.js
|
|
93130
93130
|
init_cjs_shims();
|
|
93131
93131
|
async function wait(time4) {
|
|
93132
93132
|
return new Promise((res) => setTimeout(res, time4));
|
|
93133
93133
|
}
|
|
93134
93134
|
|
|
93135
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93135
|
+
// ../../../node_modules/.pnpm/viem@2.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
93136
|
function poll(fn, { emitOnBegin, initialWaitTime, interval }) {
|
|
93137
93137
|
let active = true;
|
|
93138
93138
|
const unwatch = () => active = false;
|
|
@@ -93155,13 +93155,13 @@ function poll(fn, { emitOnBegin, initialWaitTime, interval }) {
|
|
|
93155
93155
|
return unwatch;
|
|
93156
93156
|
}
|
|
93157
93157
|
|
|
93158
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93158
|
+
// ../../../node_modules/.pnpm/viem@2.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
93159
|
init_stringify();
|
|
93160
93160
|
|
|
93161
|
-
// ../../../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/getBlockNumber.js
|
|
93162
93162
|
init_cjs_shims();
|
|
93163
93163
|
|
|
93164
|
-
// ../../../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/utils/promise/withCache.js
|
|
93165
93165
|
init_cjs_shims();
|
|
93166
93166
|
var promiseCache = /* @__PURE__ */ new Map();
|
|
93167
93167
|
var responseCache = /* @__PURE__ */ new Map();
|
|
@@ -93204,7 +93204,7 @@ async function withCache(fn, { cacheKey: cacheKey2, cacheTime = Number.POSITIVE_
|
|
|
93204
93204
|
}
|
|
93205
93205
|
}
|
|
93206
93206
|
|
|
93207
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93207
|
+
// ../../../node_modules/.pnpm/viem@2.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
93208
|
var cacheKey = (id) => `blockNumber.${id}`;
|
|
93209
93209
|
async function getBlockNumber(client, { cacheTime = client.cacheTime } = {}) {
|
|
93210
93210
|
const blockNumberHex = await withCache(() => client.request({
|
|
@@ -93213,7 +93213,7 @@ async function getBlockNumber(client, { cacheTime = client.cacheTime } = {}) {
|
|
|
93213
93213
|
return BigInt(blockNumberHex);
|
|
93214
93214
|
}
|
|
93215
93215
|
|
|
93216
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93216
|
+
// ../../../node_modules/.pnpm/viem@2.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
93217
|
init_cjs_shims();
|
|
93218
93218
|
async function getFilterChanges(_client, { filter }) {
|
|
93219
93219
|
const strict = "strict" in filter && filter.strict;
|
|
@@ -93233,7 +93233,7 @@ async function getFilterChanges(_client, { filter }) {
|
|
|
93233
93233
|
});
|
|
93234
93234
|
}
|
|
93235
93235
|
|
|
93236
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93236
|
+
// ../../../node_modules/.pnpm/viem@2.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
93237
|
init_cjs_shims();
|
|
93238
93238
|
async function uninstallFilter(_client, { filter }) {
|
|
93239
93239
|
return filter.request({
|
|
@@ -93242,7 +93242,7 @@ async function uninstallFilter(_client, { filter }) {
|
|
|
93242
93242
|
});
|
|
93243
93243
|
}
|
|
93244
93244
|
|
|
93245
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93245
|
+
// ../../../node_modules/.pnpm/viem@2.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
93246
|
function watchContractEvent(client, parameters) {
|
|
93247
93247
|
const { abi, address, args, batch = true, eventName, fromBlock, onError, onLogs, poll: poll_, pollingInterval = client.pollingInterval, strict: strict_ } = parameters;
|
|
93248
93248
|
const enablePolling = (() => {
|
|
@@ -93418,11 +93418,11 @@ function watchContractEvent(client, parameters) {
|
|
|
93418
93418
|
return enablePolling ? pollContractEvent() : subscribeContractEvent();
|
|
93419
93419
|
}
|
|
93420
93420
|
|
|
93421
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93421
|
+
// ../../../node_modules/.pnpm/viem@2.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
93422
|
init_cjs_shims();
|
|
93423
93423
|
init_parseAccount();
|
|
93424
93424
|
|
|
93425
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93425
|
+
// ../../../node_modules/.pnpm/viem@2.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
93426
|
init_cjs_shims();
|
|
93427
93427
|
init_base2();
|
|
93428
93428
|
var AccountNotFoundError = class extends BaseError4 {
|
|
@@ -93447,15 +93447,15 @@ var AccountTypeNotSupportedError = class extends BaseError4 {
|
|
|
93447
93447
|
}
|
|
93448
93448
|
};
|
|
93449
93449
|
|
|
93450
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93450
|
+
// ../../../node_modules/.pnpm/viem@2.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
93451
|
init_encodeFunctionData();
|
|
93452
93452
|
|
|
93453
|
-
// ../../../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/sendTransaction.js
|
|
93454
93454
|
init_cjs_shims();
|
|
93455
93455
|
init_parseAccount();
|
|
93456
93456
|
init_base2();
|
|
93457
93457
|
|
|
93458
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93458
|
+
// ../../../node_modules/.pnpm/viem@2.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
93459
|
init_cjs_shims();
|
|
93460
93460
|
init_chain();
|
|
93461
93461
|
function assertCurrentChain({ chain: chain2, currentChainId }) {
|
|
@@ -93465,14 +93465,14 @@ function assertCurrentChain({ chain: chain2, currentChainId }) {
|
|
|
93465
93465
|
throw new ChainMismatchError({ chain: chain2, currentChainId });
|
|
93466
93466
|
}
|
|
93467
93467
|
|
|
93468
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93468
|
+
// ../../../node_modules/.pnpm/viem@2.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
93469
|
init_concat();
|
|
93470
93470
|
init_extract();
|
|
93471
93471
|
init_transactionRequest();
|
|
93472
93472
|
init_lru2();
|
|
93473
93473
|
init_assertRequest();
|
|
93474
93474
|
|
|
93475
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93475
|
+
// ../../../node_modules/.pnpm/viem@2.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
93476
|
init_cjs_shims();
|
|
93477
93477
|
async function sendRawTransaction(client, { serializedTransaction }) {
|
|
93478
93478
|
return client.request({
|
|
@@ -93481,7 +93481,7 @@ async function sendRawTransaction(client, { serializedTransaction }) {
|
|
|
93481
93481
|
}, { retryCount: 0 });
|
|
93482
93482
|
}
|
|
93483
93483
|
|
|
93484
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93484
|
+
// ../../../node_modules/.pnpm/viem@2.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
93485
|
var supportsWalletNamespace = new LruMap3(128);
|
|
93486
93486
|
async function sendTransaction(client, parameters) {
|
|
93487
93487
|
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 +93618,7 @@ async function sendTransaction(client, parameters) {
|
|
|
93618
93618
|
}
|
|
93619
93619
|
}
|
|
93620
93620
|
|
|
93621
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93621
|
+
// ../../../node_modules/.pnpm/viem@2.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
93622
|
async function writeContract(client, parameters) {
|
|
93623
93623
|
return writeContract.internal(client, sendTransaction, "sendTransaction", parameters);
|
|
93624
93624
|
}
|
|
@@ -93656,7 +93656,7 @@ async function writeContract(client, parameters) {
|
|
|
93656
93656
|
writeContract2.internal = internal;
|
|
93657
93657
|
})(writeContract || (writeContract = {}));
|
|
93658
93658
|
|
|
93659
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93659
|
+
// ../../../node_modules/.pnpm/viem@2.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
93660
|
init_cjs_shims();
|
|
93661
93661
|
function withRetry(fn, { delay: delay_ = 100, retryCount = 2, shouldRetry: shouldRetry2 = () => true } = {}) {
|
|
93662
93662
|
return new Promise((resolve, reject) => {
|
|
@@ -93680,7 +93680,7 @@ function withRetry(fn, { delay: delay_ = 100, retryCount = 2, shouldRetry: shoul
|
|
|
93680
93680
|
});
|
|
93681
93681
|
}
|
|
93682
93682
|
|
|
93683
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93683
|
+
// ../../../node_modules/.pnpm/viem@2.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
93684
|
init_cjs_shims();
|
|
93685
93685
|
init_fromHex2();
|
|
93686
93686
|
init_formatter();
|
|
@@ -93710,11 +93710,11 @@ function formatTransactionReceipt(transactionReceipt, _) {
|
|
|
93710
93710
|
}
|
|
93711
93711
|
var defineTransactionReceipt = /* @__PURE__ */ defineFormatter("transactionReceipt", formatTransactionReceipt);
|
|
93712
93712
|
|
|
93713
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93713
|
+
// ../../../node_modules/.pnpm/viem@2.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
93714
|
init_cjs_shims();
|
|
93715
93715
|
init_parseAccount();
|
|
93716
93716
|
|
|
93717
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93717
|
+
// ../../../node_modules/.pnpm/viem@2.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
93718
|
init_cjs_shims();
|
|
93719
93719
|
var size5 = 256;
|
|
93720
93720
|
var index = size5;
|
|
@@ -93730,7 +93730,7 @@ function uid(length = 11) {
|
|
|
93730
93730
|
return buffer.substring(index, index++ + length);
|
|
93731
93731
|
}
|
|
93732
93732
|
|
|
93733
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93733
|
+
// ../../../node_modules/.pnpm/viem@2.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
93734
|
function createClient(parameters) {
|
|
93735
93735
|
const { batch, chain: chain2, ccipRead, dataSuffix, key = "base", name = "Base Client", type: type4 = "base" } = parameters;
|
|
93736
93736
|
const experimental_blockTag = parameters.experimental_blockTag ?? (typeof chain2?.experimental_preconfirmationTime === "number" ? "pending" : void 0);
|
|
@@ -93773,7 +93773,7 @@ function createClient(parameters) {
|
|
|
93773
93773
|
return Object.assign(client, { extend: extend3(client) });
|
|
93774
93774
|
}
|
|
93775
93775
|
|
|
93776
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93776
|
+
// ../../../node_modules/.pnpm/viem@2.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
93777
|
init_cjs_shims();
|
|
93778
93778
|
init_toHex2();
|
|
93779
93779
|
async function getCode(client, { address, blockNumber, blockTag = "latest" }) {
|
|
@@ -93787,22 +93787,22 @@ async function getCode(client, { address, blockNumber, blockTag = "latest" }) {
|
|
|
93787
93787
|
return hex4;
|
|
93788
93788
|
}
|
|
93789
93789
|
|
|
93790
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93790
|
+
// ../../../node_modules/.pnpm/viem@2.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
93791
|
init_cjs_shims();
|
|
93792
93792
|
init_encodeFunctionData();
|
|
93793
93793
|
|
|
93794
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93794
|
+
// ../../../node_modules/.pnpm/viem@2.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
93795
|
init_cjs_shims();
|
|
93796
93796
|
init_toHex2();
|
|
93797
93797
|
|
|
93798
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93798
|
+
// ../../../node_modules/.pnpm/viem@2.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
93799
|
init_cjs_shims();
|
|
93800
93800
|
init_transaction();
|
|
93801
93801
|
init_concat();
|
|
93802
93802
|
init_trim();
|
|
93803
93803
|
init_toHex2();
|
|
93804
93804
|
|
|
93805
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93805
|
+
// ../../../node_modules/.pnpm/viem@2.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
93806
|
init_cjs_shims();
|
|
93807
93807
|
init_number();
|
|
93808
93808
|
init_address2();
|
|
@@ -93880,7 +93880,7 @@ function assertTransactionLegacy(transaction) {
|
|
|
93880
93880
|
throw new FeeCapTooHighError2({ maxFeePerGas: gasPrice });
|
|
93881
93881
|
}
|
|
93882
93882
|
|
|
93883
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93883
|
+
// ../../../node_modules/.pnpm/viem@2.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
93884
|
init_cjs_shims();
|
|
93885
93885
|
init_address2();
|
|
93886
93886
|
init_transaction();
|
|
@@ -93904,7 +93904,7 @@ function serializeAccessList(accessList) {
|
|
|
93904
93904
|
return serializedAccessList;
|
|
93905
93905
|
}
|
|
93906
93906
|
|
|
93907
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
93907
|
+
// ../../../node_modules/.pnpm/viem@2.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
93908
|
function serializeTransaction(transaction, signature2) {
|
|
93909
93909
|
const type4 = getTransactionType(transaction);
|
|
93910
93910
|
if (type4 === "eip1559")
|
|
@@ -94104,7 +94104,7 @@ function toYParitySignatureArray(transaction, signature_) {
|
|
|
94104
94104
|
return [yParity_, r === "0x00" ? "0x" : r, s === "0x00" ? "0x" : s];
|
|
94105
94105
|
}
|
|
94106
94106
|
|
|
94107
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94107
|
+
// ../../../node_modules/.pnpm/viem@2.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
94108
|
function serializeAuthorizationList(authorizationList) {
|
|
94109
94109
|
if (!authorizationList || authorizationList.length === 0)
|
|
94110
94110
|
return [];
|
|
@@ -94122,7 +94122,7 @@ function serializeAuthorizationList(authorizationList) {
|
|
|
94122
94122
|
return serializedAuthorizationList;
|
|
94123
94123
|
}
|
|
94124
94124
|
|
|
94125
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94125
|
+
// ../../../node_modules/.pnpm/viem@2.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
94126
|
init_cjs_shims();
|
|
94127
94127
|
init_getAddress2();
|
|
94128
94128
|
init_isAddressEqual();
|
|
@@ -94133,14 +94133,14 @@ async function verifyAuthorization({ address, authorization, signature: signatur
|
|
|
94133
94133
|
}));
|
|
94134
94134
|
}
|
|
94135
94135
|
|
|
94136
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94136
|
+
// ../../../node_modules/.pnpm/viem@2.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
94137
|
init_cjs_shims();
|
|
94138
94138
|
init_base2();
|
|
94139
94139
|
init_request();
|
|
94140
94140
|
init_rpc();
|
|
94141
94141
|
init_toHex2();
|
|
94142
94142
|
|
|
94143
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94143
|
+
// ../../../node_modules/.pnpm/viem@2.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
94144
|
init_cjs_shims();
|
|
94145
94145
|
init_lru2();
|
|
94146
94146
|
var promiseCache2 = /* @__PURE__ */ new LruMap3(8192);
|
|
@@ -94154,7 +94154,7 @@ function withDedupe(fn, { enabled = true, id }) {
|
|
|
94154
94154
|
return promise3;
|
|
94155
94155
|
}
|
|
94156
94156
|
|
|
94157
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94157
|
+
// ../../../node_modules/.pnpm/viem@2.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
94158
|
init_stringify();
|
|
94159
94159
|
function buildRequest(request, options = {}) {
|
|
94160
94160
|
return async (args, overrideOptions = {}) => {
|
|
@@ -94315,7 +94315,7 @@ function shouldRetry(error48) {
|
|
|
94315
94315
|
return true;
|
|
94316
94316
|
}
|
|
94317
94317
|
|
|
94318
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94318
|
+
// ../../../node_modules/.pnpm/viem@2.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
94319
|
init_cjs_shims();
|
|
94320
94320
|
function defineChain(chain2) {
|
|
94321
94321
|
const chainInstance = {
|
|
@@ -94339,14 +94339,14 @@ function extendSchema() {
|
|
|
94339
94339
|
return {};
|
|
94340
94340
|
}
|
|
94341
94341
|
|
|
94342
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94342
|
+
// ../../../node_modules/.pnpm/viem@2.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
94343
|
init_toHex2();
|
|
94344
94344
|
|
|
94345
|
-
// ../../../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/rpc/http.js
|
|
94346
94346
|
init_cjs_shims();
|
|
94347
94347
|
init_request();
|
|
94348
94348
|
|
|
94349
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94349
|
+
// ../../../node_modules/.pnpm/viem@2.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
94350
|
init_cjs_shims();
|
|
94351
94351
|
function withTimeout(fn, { errorInstance = new Error("timed out"), timeout, signal }) {
|
|
94352
94352
|
return new Promise((resolve, reject) => {
|
|
@@ -94376,10 +94376,10 @@ function withTimeout(fn, { errorInstance = new Error("timed out"), timeout, sign
|
|
|
94376
94376
|
});
|
|
94377
94377
|
}
|
|
94378
94378
|
|
|
94379
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94379
|
+
// ../../../node_modules/.pnpm/viem@2.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
94380
|
init_stringify();
|
|
94381
94381
|
|
|
94382
|
-
// ../../../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/id.js
|
|
94383
94383
|
init_cjs_shims();
|
|
94384
94384
|
function createIdStore() {
|
|
94385
94385
|
return {
|
|
@@ -94394,7 +94394,7 @@ function createIdStore() {
|
|
|
94394
94394
|
}
|
|
94395
94395
|
var idCache = /* @__PURE__ */ createIdStore();
|
|
94396
94396
|
|
|
94397
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94397
|
+
// ../../../node_modules/.pnpm/viem@2.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
94398
|
function getHttpRpcClient(url_, options = {}) {
|
|
94399
94399
|
const { url: url3, headers: headers_url } = parseUrl(url_);
|
|
94400
94400
|
return {
|
|
@@ -94495,18 +94495,18 @@ function parseUrl(url_) {
|
|
|
94495
94495
|
}
|
|
94496
94496
|
}
|
|
94497
94497
|
|
|
94498
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94498
|
+
// ../../../node_modules/.pnpm/viem@2.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
94499
|
init_cjs_shims();
|
|
94500
94500
|
init_keccak2562();
|
|
94501
94501
|
|
|
94502
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94502
|
+
// ../../../node_modules/.pnpm/viem@2.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
94503
|
init_cjs_shims();
|
|
94504
94504
|
|
|
94505
|
-
// ../../../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/constants/strings.js
|
|
94506
94506
|
init_cjs_shims();
|
|
94507
94507
|
var presignMessagePrefix = "Ethereum Signed Message:\n";
|
|
94508
94508
|
|
|
94509
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94509
|
+
// ../../../node_modules/.pnpm/viem@2.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
94510
|
init_concat();
|
|
94511
94511
|
init_size2();
|
|
94512
94512
|
init_toHex2();
|
|
@@ -94522,24 +94522,24 @@ function toPrefixedMessage(message_) {
|
|
|
94522
94522
|
return concat3([prefix, message]);
|
|
94523
94523
|
}
|
|
94524
94524
|
|
|
94525
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94525
|
+
// ../../../node_modules/.pnpm/viem@2.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
94526
|
function hashMessage(message, to_) {
|
|
94527
94527
|
return keccak2563(toPrefixedMessage(message), to_);
|
|
94528
94528
|
}
|
|
94529
94529
|
|
|
94530
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94530
|
+
// ../../../node_modules/.pnpm/viem@2.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
94531
|
init_cjs_shims();
|
|
94532
94532
|
init_encodeAbiParameters();
|
|
94533
94533
|
init_concat();
|
|
94534
94534
|
init_toHex2();
|
|
94535
94535
|
init_keccak2562();
|
|
94536
94536
|
|
|
94537
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94537
|
+
// ../../../node_modules/.pnpm/viem@2.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
94538
|
init_cjs_shims();
|
|
94539
94539
|
init_abi();
|
|
94540
94540
|
init_address2();
|
|
94541
94541
|
|
|
94542
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94542
|
+
// ../../../node_modules/.pnpm/viem@2.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
94543
|
init_cjs_shims();
|
|
94544
94544
|
init_stringify();
|
|
94545
94545
|
init_base2();
|
|
@@ -94567,7 +94567,7 @@ var InvalidStructTypeError = class extends BaseError4 {
|
|
|
94567
94567
|
}
|
|
94568
94568
|
};
|
|
94569
94569
|
|
|
94570
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94570
|
+
// ../../../node_modules/.pnpm/viem@2.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
94571
|
init_isAddress2();
|
|
94572
94572
|
init_size2();
|
|
94573
94573
|
init_toHex2();
|
|
@@ -94662,7 +94662,7 @@ function validateReference(type4) {
|
|
|
94662
94662
|
throw new InvalidStructTypeError({ type: type4 });
|
|
94663
94663
|
}
|
|
94664
94664
|
|
|
94665
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94665
|
+
// ../../../node_modules/.pnpm/viem@2.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
94666
|
function hashTypedData(parameters) {
|
|
94667
94667
|
const { domain: domain2 = {}, message, primaryType } = parameters;
|
|
94668
94668
|
const types2 = {
|
|
@@ -94863,10 +94863,10 @@ var InvalidWrappedSignatureError = class extends BaseError3 {
|
|
|
94863
94863
|
}
|
|
94864
94864
|
};
|
|
94865
94865
|
|
|
94866
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94866
|
+
// ../../../node_modules/.pnpm/viem@2.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
94867
|
init_cjs_shims();
|
|
94868
94868
|
|
|
94869
|
-
// ../../../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/errors/unit.js
|
|
94870
94870
|
init_cjs_shims();
|
|
94871
94871
|
init_base2();
|
|
94872
94872
|
var InvalidDecimalNumberError = class extends BaseError4 {
|
|
@@ -94877,7 +94877,7 @@ var InvalidDecimalNumberError = class extends BaseError4 {
|
|
|
94877
94877
|
}
|
|
94878
94878
|
};
|
|
94879
94879
|
|
|
94880
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94880
|
+
// ../../../node_modules/.pnpm/viem@2.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
94881
|
function parseUnits(value, decimals2) {
|
|
94882
94882
|
if (!/^(-?)([0-9]*)\.?([0-9]*)$/.test(value))
|
|
94883
94883
|
throw new InvalidDecimalNumberError({ value });
|
|
@@ -94912,7 +94912,7 @@ function parseUnits(value, decimals2) {
|
|
|
94912
94912
|
return BigInt(`${negative ? "-" : ""}${integer2}${fraction}`);
|
|
94913
94913
|
}
|
|
94914
94914
|
|
|
94915
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94915
|
+
// ../../../node_modules/.pnpm/viem@2.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
94916
|
init_cjs_shims();
|
|
94917
94917
|
init_transaction();
|
|
94918
94918
|
init_toHex2();
|
|
@@ -94953,7 +94953,7 @@ async function getTransaction(client, { blockHash, blockNumber, blockTag: blockT
|
|
|
94953
94953
|
return format4(transaction, "getTransaction");
|
|
94954
94954
|
}
|
|
94955
94955
|
|
|
94956
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94956
|
+
// ../../../node_modules/.pnpm/viem@2.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
94957
|
init_cjs_shims();
|
|
94958
94958
|
init_transaction();
|
|
94959
94959
|
async function getTransactionReceipt(client, { hash: hash7 }) {
|
|
@@ -94967,7 +94967,7 @@ async function getTransactionReceipt(client, { hash: hash7 }) {
|
|
|
94967
94967
|
return format4(receipt, "getTransactionReceipt");
|
|
94968
94968
|
}
|
|
94969
94969
|
|
|
94970
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
94970
|
+
// ../../../node_modules/.pnpm/viem@2.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
94971
|
init_cjs_shims();
|
|
94972
94972
|
init_abis();
|
|
94973
94973
|
init_contracts();
|
|
@@ -95105,11 +95105,11 @@ async function multicall(client, parameters) {
|
|
|
95105
95105
|
return results;
|
|
95106
95106
|
}
|
|
95107
95107
|
|
|
95108
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
95108
|
+
// ../../../node_modules/.pnpm/viem@2.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
95109
|
init_cjs_shims();
|
|
95110
95110
|
var zeroAddress = "0x0000000000000000000000000000000000000000";
|
|
95111
95111
|
|
|
95112
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
95112
|
+
// ../../../node_modules/.pnpm/viem@2.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
95113
|
init_cjs_shims();
|
|
95114
95114
|
|
|
95115
95115
|
// ../../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/erc6492/index.js
|
|
@@ -95219,7 +95219,7 @@ var InvalidWrappedSignatureError2 = class extends BaseError3 {
|
|
|
95219
95219
|
}
|
|
95220
95220
|
};
|
|
95221
95221
|
|
|
95222
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
95222
|
+
// ../../../node_modules/.pnpm/viem@2.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
95223
|
init_abis();
|
|
95224
95224
|
init_contracts();
|
|
95225
95225
|
init_contract();
|
|
@@ -95232,7 +95232,7 @@ init_isHex2();
|
|
|
95232
95232
|
init_fromHex2();
|
|
95233
95233
|
init_toHex2();
|
|
95234
95234
|
|
|
95235
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
95235
|
+
// ../../../node_modules/.pnpm/viem@2.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
95236
|
init_cjs_shims();
|
|
95237
95237
|
init_secp256k1();
|
|
95238
95238
|
init_fromHex2();
|
|
@@ -95251,7 +95251,7 @@ function serializeSignature({ r, s, to: to2 = "hex", v, yParity }) {
|
|
|
95251
95251
|
return hexToBytes3(signature2);
|
|
95252
95252
|
}
|
|
95253
95253
|
|
|
95254
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
95254
|
+
// ../../../node_modules/.pnpm/viem@2.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
95255
|
init_call();
|
|
95256
95256
|
async function verifyHash(client, parameters) {
|
|
95257
95257
|
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 +95412,13 @@ async function verifyErc1271(client, parameters) {
|
|
|
95412
95412
|
var VerificationError = class extends Error {
|
|
95413
95413
|
};
|
|
95414
95414
|
|
|
95415
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
95415
|
+
// ../../../node_modules/.pnpm/viem@2.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
95416
|
init_cjs_shims();
|
|
95417
95417
|
init_transaction();
|
|
95418
95418
|
init_withResolvers();
|
|
95419
95419
|
init_stringify();
|
|
95420
95420
|
|
|
95421
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
95421
|
+
// ../../../node_modules/.pnpm/viem@2.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
95422
|
init_cjs_shims();
|
|
95423
95423
|
init_fromHex2();
|
|
95424
95424
|
init_stringify();
|
|
@@ -95513,7 +95513,7 @@ function watchBlockNumber(client, { emitOnBegin = false, emitMissed = false, onB
|
|
|
95513
95513
|
return enablePolling ? pollBlockNumber() : subscribeBlockNumber();
|
|
95514
95514
|
}
|
|
95515
95515
|
|
|
95516
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
95516
|
+
// ../../../node_modules/.pnpm/viem@2.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
95517
|
async function waitForTransactionReceipt(client, parameters) {
|
|
95518
95518
|
const {
|
|
95519
95519
|
checkReplacement = true,
|
|
@@ -95645,7 +95645,7 @@ async function waitForTransactionReceipt(client, parameters) {
|
|
|
95645
95645
|
return promise3;
|
|
95646
95646
|
}
|
|
95647
95647
|
|
|
95648
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
95648
|
+
// ../../../node_modules/.pnpm/viem@2.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
95649
|
init_cjs_shims();
|
|
95650
95650
|
init_transaction();
|
|
95651
95651
|
async function sendRawTransactionSync(client, { serializedTransaction, throwOnReceiptRevert, timeout }) {
|
|
@@ -95660,7 +95660,7 @@ async function sendRawTransactionSync(client, { serializedTransaction, throwOnRe
|
|
|
95660
95660
|
return formatted;
|
|
95661
95661
|
}
|
|
95662
95662
|
|
|
95663
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
95663
|
+
// ../../../node_modules/.pnpm/viem@2.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
95664
|
init_cjs_shims();
|
|
95665
95665
|
init_parseAccount();
|
|
95666
95666
|
init_base2();
|
|
@@ -95820,7 +95820,7 @@ async function sendTransactionSync(client, parameters) {
|
|
|
95820
95820
|
}
|
|
95821
95821
|
}
|
|
95822
95822
|
|
|
95823
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
95823
|
+
// ../../../node_modules/.pnpm/viem@2.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
95824
|
init_cjs_shims();
|
|
95825
95825
|
init_parseAccount();
|
|
95826
95826
|
init_toHex2();
|
|
@@ -95865,7 +95865,7 @@ async function signTransaction(client, parameters) {
|
|
|
95865
95865
|
}, { retryCount: 0 });
|
|
95866
95866
|
}
|
|
95867
95867
|
|
|
95868
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
95868
|
+
// ../../../node_modules/.pnpm/viem@2.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
95869
|
init_cjs_shims();
|
|
95870
95870
|
init_parseAccount();
|
|
95871
95871
|
async function signTypedData(client, parameters) {
|
|
@@ -95889,13 +95889,13 @@ async function signTypedData(client, parameters) {
|
|
|
95889
95889
|
}, { retryCount: 0 });
|
|
95890
95890
|
}
|
|
95891
95891
|
|
|
95892
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
95892
|
+
// ../../../node_modules/.pnpm/viem@2.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
95893
|
init_cjs_shims();
|
|
95894
95894
|
async function writeContractSync(client, parameters) {
|
|
95895
95895
|
return writeContract.internal(client, sendTransactionSync, "sendTransactionSync", parameters);
|
|
95896
95896
|
}
|
|
95897
95897
|
|
|
95898
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
95898
|
+
// ../../../node_modules/.pnpm/viem@2.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
95899
|
init_cjs_shims();
|
|
95900
95900
|
function createTransport({ key, methods, name, request, retryCount = 3, retryDelay = 150, timeout, type: type4 }, value) {
|
|
95901
95901
|
const uid2 = uid();
|
|
@@ -95915,11 +95915,11 @@ function createTransport({ key, methods, name, request, retryCount = 3, retryDel
|
|
|
95915
95915
|
};
|
|
95916
95916
|
}
|
|
95917
95917
|
|
|
95918
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
95918
|
+
// ../../../node_modules/.pnpm/viem@2.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
95919
|
init_cjs_shims();
|
|
95920
95920
|
init_request();
|
|
95921
95921
|
|
|
95922
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
95922
|
+
// ../../../node_modules/.pnpm/viem@2.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
95923
|
init_cjs_shims();
|
|
95924
95924
|
init_base2();
|
|
95925
95925
|
var UrlRequiredError = class extends BaseError4 {
|
|
@@ -95931,7 +95931,7 @@ var UrlRequiredError = class extends BaseError4 {
|
|
|
95931
95931
|
}
|
|
95932
95932
|
};
|
|
95933
95933
|
|
|
95934
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
95934
|
+
// ../../../node_modules/.pnpm/viem@2.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
95935
|
init_createBatchScheduler();
|
|
95936
95936
|
function http(url3, config2 = {}) {
|
|
95937
95937
|
const { batch, fetchFn, fetchOptions, key = "http", methods, name = "HTTP JSON-RPC", onFetchRequest, onFetchResponse, retryDelay, raw } = config2;
|
|
@@ -95993,14 +95993,14 @@ function http(url3, config2 = {}) {
|
|
|
95993
95993
|
};
|
|
95994
95994
|
}
|
|
95995
95995
|
|
|
95996
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
95996
|
+
// ../../../node_modules/.pnpm/viem@2.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
95997
|
init_encodeFunctionData();
|
|
95998
95998
|
init_getAbiItem();
|
|
95999
95999
|
init_getAddress2();
|
|
96000
96000
|
init_toFunctionSelector();
|
|
96001
96001
|
init_formatUnits();
|
|
96002
96002
|
|
|
96003
|
-
// ../../../node_modules/.pnpm/mppx@0.1.1_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.
|
|
96003
|
+
// ../../../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_405dfb80e1c7f6ab13ff44820fe9b86a/node_modules/mppx/dist/Intent.js
|
|
96004
96004
|
function from12(intent) {
|
|
96005
96005
|
return intent;
|
|
96006
96006
|
}
|
|
@@ -96050,7 +96050,7 @@ function shapeOf(intent) {
|
|
|
96050
96050
|
return request._zod.def.in.shape;
|
|
96051
96051
|
}
|
|
96052
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.
|
|
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_405dfb80e1c7f6ab13ff44820fe9b86a/node_modules/mppx/dist/MethodIntent.js
|
|
96054
96054
|
function fromIntent3(intent, options) {
|
|
96055
96055
|
const { name } = intent;
|
|
96056
96056
|
const { method, schema } = options;
|
|
@@ -96106,22 +96106,22 @@ function toClient(intent, options) {
|
|
|
96106
96106
|
};
|
|
96107
96107
|
}
|
|
96108
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.
|
|
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_405dfb80e1c7f6ab13ff44820fe9b86a/node_modules/mppx/dist/tempo/client/MethodIntents.js
|
|
96110
96110
|
init_cjs_shims();
|
|
96111
96111
|
|
|
96112
|
-
// ../../../node_modules/.pnpm/mppx@0.1.1_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.
|
|
96112
|
+
// ../../../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_405dfb80e1c7f6ab13ff44820fe9b86a/node_modules/mppx/dist/tempo/client/Charge.js
|
|
96113
96113
|
init_cjs_shims();
|
|
96114
96114
|
|
|
96115
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
96115
|
+
// ../../../node_modules/.pnpm/viem@2.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
96116
|
init_cjs_shims();
|
|
96117
96117
|
|
|
96118
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
96118
|
+
// ../../../node_modules/.pnpm/viem@2.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
96119
|
init_cjs_shims();
|
|
96120
96120
|
|
|
96121
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
96121
|
+
// ../../../node_modules/.pnpm/viem@2.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
96122
|
init_cjs_shims();
|
|
96123
96123
|
|
|
96124
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
96124
|
+
// ../../../node_modules/.pnpm/viem@2.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
96125
|
init_cjs_shims();
|
|
96126
96126
|
|
|
96127
96127
|
// ../../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/tempo/index.js
|
|
@@ -97209,16 +97209,17 @@ var InvalidValidityWindowError = class extends BaseError3 {
|
|
|
97209
97209
|
}
|
|
97210
97210
|
};
|
|
97211
97211
|
|
|
97212
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
97212
|
+
// ../../../node_modules/.pnpm/viem@2.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
|
|
97213
|
+
init_number();
|
|
97213
97214
|
init_transactionRequest();
|
|
97214
97215
|
|
|
97215
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
97216
|
+
// ../../../node_modules/.pnpm/viem@2.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
97217
|
init_cjs_shims();
|
|
97217
97218
|
init_Hex();
|
|
97218
97219
|
init_parseAccount();
|
|
97219
97220
|
init_transactionRequest();
|
|
97220
97221
|
|
|
97221
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
97222
|
+
// ../../../node_modules/.pnpm/viem@2.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
97223
|
init_cjs_shims();
|
|
97223
97224
|
init_Hex();
|
|
97224
97225
|
function getType2(transaction) {
|
|
@@ -97335,7 +97336,7 @@ async function serializeTempo(transaction, sig) {
|
|
|
97335
97336
|
);
|
|
97336
97337
|
}
|
|
97337
97338
|
|
|
97338
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
97339
|
+
// ../../../node_modules/.pnpm/viem@2.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
97340
|
function formatTransaction2(transaction) {
|
|
97340
97341
|
if (!isTempo(transaction))
|
|
97341
97342
|
return formatTransaction(transaction);
|
|
@@ -97405,44 +97406,25 @@ function formatTransactionRequest2(r, action) {
|
|
|
97405
97406
|
};
|
|
97406
97407
|
}
|
|
97407
97408
|
|
|
97408
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
97409
|
+
// ../../../node_modules/.pnpm/viem@2.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
97410
|
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));
|
|
97411
|
+
var concurrentCounts = /* @__PURE__ */ new Map();
|
|
97412
|
+
async function detect(key) {
|
|
97413
|
+
concurrentCounts.set(key, (concurrentCounts.get(key) ?? 0) + 1);
|
|
97414
|
+
await Promise.resolve();
|
|
97415
|
+
const isConcurrent = (concurrentCounts.get(key) ?? 0) > 1;
|
|
97416
|
+
queueMicrotask(() => {
|
|
97417
|
+
const count = concurrentCounts.get(key) ?? 0;
|
|
97418
|
+
if (count <= 1)
|
|
97419
|
+
concurrentCounts.delete(key);
|
|
97420
|
+
else
|
|
97421
|
+
concurrentCounts.set(key, count - 1);
|
|
97422
|
+
});
|
|
97423
|
+
return isConcurrent;
|
|
97443
97424
|
}
|
|
97444
97425
|
|
|
97445
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
97426
|
+
// ../../../node_modules/.pnpm/viem@2.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
|
|
97427
|
+
var maxExpirySecs = 25;
|
|
97446
97428
|
var chainConfig = {
|
|
97447
97429
|
blockTime: 1e3,
|
|
97448
97430
|
extendSchema: extendSchema(),
|
|
@@ -97466,29 +97448,24 @@ var chainConfig = {
|
|
|
97466
97448
|
request.gas = (request.gas ?? 0n) + 20000n;
|
|
97467
97449
|
return request;
|
|
97468
97450
|
}
|
|
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;
|
|
97451
|
+
const useExpiringNonce = await (async () => {
|
|
97452
|
+
if (request.nonceKey === "expiring")
|
|
97453
|
+
return true;
|
|
97454
|
+
if (request.feePayer && typeof request.nonceKey === "undefined")
|
|
97455
|
+
return true;
|
|
97456
|
+
const address = request.account?.address;
|
|
97457
|
+
if (address && typeof request.nonceKey === "undefined")
|
|
97458
|
+
return await detect(address);
|
|
97459
|
+
return false;
|
|
97491
97460
|
})();
|
|
97461
|
+
if (useExpiringNonce) {
|
|
97462
|
+
request.nonceKey = maxUint2562;
|
|
97463
|
+
request.nonce = 0;
|
|
97464
|
+
if (typeof request.validBefore === "undefined")
|
|
97465
|
+
request.validBefore = Math.floor(Date.now() / 1e3) + maxExpirySecs;
|
|
97466
|
+
} else if (typeof request.nonceKey !== "undefined") {
|
|
97467
|
+
request.nonce = typeof request.nonce === "number" ? request.nonce : 0;
|
|
97468
|
+
}
|
|
97492
97469
|
if (!request.feeToken && request.chain?.feeToken)
|
|
97493
97470
|
request.feeToken = request.chain.feeToken;
|
|
97494
97471
|
return request;
|
|
@@ -97524,7 +97501,7 @@ var chainConfig = {
|
|
|
97524
97501
|
}
|
|
97525
97502
|
};
|
|
97526
97503
|
|
|
97527
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
97504
|
+
// ../../../node_modules/.pnpm/viem@2.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
97505
|
var tempo = /* @__PURE__ */ defineChain({
|
|
97529
97506
|
...chainConfig,
|
|
97530
97507
|
id: 4217,
|
|
@@ -97548,10 +97525,10 @@ var tempo = /* @__PURE__ */ defineChain({
|
|
|
97548
97525
|
}
|
|
97549
97526
|
});
|
|
97550
97527
|
|
|
97551
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
97528
|
+
// ../../../node_modules/.pnpm/viem@2.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
97529
|
init_cjs_shims();
|
|
97553
97530
|
|
|
97554
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
97531
|
+
// ../../../node_modules/.pnpm/viem@2.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
97532
|
var Abis_exports = {};
|
|
97556
97533
|
__export(Abis_exports, {
|
|
97557
97534
|
accountKeychain: () => accountKeychain,
|
|
@@ -99127,7 +99104,7 @@ var validator = [
|
|
|
99127
99104
|
}
|
|
99128
99105
|
];
|
|
99129
99106
|
|
|
99130
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
99107
|
+
// ../../../node_modules/.pnpm/viem@2.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
99108
|
init_cjs_shims();
|
|
99132
99109
|
var feeManager2 = "0xfeec000000000000000000000000000000000000";
|
|
99133
99110
|
var nonceManager = "0x4e4F4E4345000000000000000000000000000000";
|
|
@@ -99137,7 +99114,7 @@ var tip20Factory2 = "0x20fc000000000000000000000000000000000000";
|
|
|
99137
99114
|
var tip403Registry2 = "0x403c000000000000000000000000000000000000";
|
|
99138
99115
|
var validator2 = "0xcccccccc00000000000000000000000000000000";
|
|
99139
99116
|
|
|
99140
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
99117
|
+
// ../../../node_modules/.pnpm/viem@2.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
99118
|
var actions_exports = {};
|
|
99142
99119
|
__export(actions_exports, {
|
|
99143
99120
|
amm: () => amm_exports,
|
|
@@ -99152,7 +99129,7 @@ __export(actions_exports, {
|
|
|
99152
99129
|
});
|
|
99153
99130
|
init_cjs_shims();
|
|
99154
99131
|
|
|
99155
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
99132
|
+
// ../../../node_modules/.pnpm/viem@2.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
99133
|
var amm_exports = {};
|
|
99157
99134
|
__export(amm_exports, {
|
|
99158
99135
|
burn: () => burn,
|
|
@@ -99169,7 +99146,7 @@ __export(amm_exports, {
|
|
|
99169
99146
|
});
|
|
99170
99147
|
init_cjs_shims();
|
|
99171
99148
|
|
|
99172
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
99149
|
+
// ../../../node_modules/.pnpm/viem@2.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
99150
|
init_cjs_shims();
|
|
99174
99151
|
function defineCall(call2) {
|
|
99175
99152
|
return {
|
|
@@ -99179,7 +99156,7 @@ function defineCall(call2) {
|
|
|
99179
99156
|
};
|
|
99180
99157
|
}
|
|
99181
99158
|
|
|
99182
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
99159
|
+
// ../../../node_modules/.pnpm/viem@2.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
99160
|
async function getPool(client, parameters) {
|
|
99184
99161
|
const { userToken, validatorToken, ...rest } = parameters;
|
|
99185
99162
|
const [pool, totalSupply] = await multicall(client, {
|
|
@@ -99477,7 +99454,7 @@ function watchBurn(client, parameters) {
|
|
|
99477
99454
|
});
|
|
99478
99455
|
}
|
|
99479
99456
|
|
|
99480
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
99457
|
+
// ../../../node_modules/.pnpm/viem@2.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
99458
|
var dex_exports = {};
|
|
99482
99459
|
__export(dex_exports, {
|
|
99483
99460
|
buy: () => buy,
|
|
@@ -100044,7 +100021,7 @@ function getPairKey(base, quote) {
|
|
|
100044
100021
|
return keccak2562(concat(base, quote));
|
|
100045
100022
|
}
|
|
100046
100023
|
|
|
100047
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
100024
|
+
// ../../../node_modules/.pnpm/viem@2.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
100025
|
var faucet_exports = {};
|
|
100049
100026
|
__export(faucet_exports, {
|
|
100050
100027
|
fund: () => fund,
|
|
@@ -100074,7 +100051,7 @@ async function fundSync(client, parameters) {
|
|
|
100074
100051
|
return receipts;
|
|
100075
100052
|
}
|
|
100076
100053
|
|
|
100077
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
100054
|
+
// ../../../node_modules/.pnpm/viem@2.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
100055
|
var fee_exports = {};
|
|
100079
100056
|
__export(fee_exports, {
|
|
100080
100057
|
getUserToken: () => getUserToken,
|
|
@@ -100266,7 +100243,7 @@ function watchSetValidatorToken(client, parameters) {
|
|
|
100266
100243
|
});
|
|
100267
100244
|
}
|
|
100268
100245
|
|
|
100269
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
100246
|
+
// ../../../node_modules/.pnpm/viem@2.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
100247
|
var nonce_exports = {};
|
|
100271
100248
|
__export(nonce_exports, {
|
|
100272
100249
|
getNonce: () => getNonce,
|
|
@@ -100307,10 +100284,10 @@ function watchNonceIncremented(client, parameters) {
|
|
|
100307
100284
|
});
|
|
100308
100285
|
}
|
|
100309
100286
|
|
|
100310
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
100287
|
+
// ../../../node_modules/.pnpm/viem@2.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
100288
|
var policy_exports = {};
|
|
100312
100289
|
__export(policy_exports, {
|
|
100313
|
-
create: () =>
|
|
100290
|
+
create: () => create2,
|
|
100314
100291
|
createSync: () => createSync,
|
|
100315
100292
|
getData: () => getData,
|
|
100316
100293
|
isAuthorized: () => isAuthorized,
|
|
@@ -100331,16 +100308,16 @@ var policyTypeMap = {
|
|
|
100331
100308
|
whitelist: 0,
|
|
100332
100309
|
blacklist: 1
|
|
100333
100310
|
};
|
|
100334
|
-
async function
|
|
100335
|
-
return
|
|
100311
|
+
async function create2(client, parameters) {
|
|
100312
|
+
return create2.inner(writeContract, client, parameters);
|
|
100336
100313
|
}
|
|
100337
|
-
(function(
|
|
100314
|
+
(function(create5) {
|
|
100338
100315
|
async function inner(action, client, parameters) {
|
|
100339
100316
|
const { account = client.account, addresses, chain: chain2 = client.chain, type: type4, ...rest } = parameters;
|
|
100340
100317
|
if (!account)
|
|
100341
100318
|
throw new Error("`account` is required");
|
|
100342
100319
|
const admin = parseAccount(account).address;
|
|
100343
|
-
const call3 =
|
|
100320
|
+
const call3 = create5.call({ admin, type: type4, addresses });
|
|
100344
100321
|
return action(client, {
|
|
100345
100322
|
...rest,
|
|
100346
100323
|
account,
|
|
@@ -100348,7 +100325,7 @@ async function create3(client, parameters) {
|
|
|
100348
100325
|
...call3
|
|
100349
100326
|
});
|
|
100350
100327
|
}
|
|
100351
|
-
|
|
100328
|
+
create5.inner = inner;
|
|
100352
100329
|
function call2(args) {
|
|
100353
100330
|
const { admin, type: type4, addresses } = args;
|
|
100354
100331
|
const config2 = (() => {
|
|
@@ -100368,7 +100345,7 @@ async function create3(client, parameters) {
|
|
|
100368
100345
|
...config2
|
|
100369
100346
|
});
|
|
100370
100347
|
}
|
|
100371
|
-
|
|
100348
|
+
create5.call = call2;
|
|
100372
100349
|
function extractEvent(logs) {
|
|
100373
100350
|
const [log2] = parseEventLogs({
|
|
100374
100351
|
abi: tip403Registry,
|
|
@@ -100380,15 +100357,15 @@ async function create3(client, parameters) {
|
|
|
100380
100357
|
throw new Error("`PolicyCreated` event not found.");
|
|
100381
100358
|
return log2;
|
|
100382
100359
|
}
|
|
100383
|
-
|
|
100384
|
-
})(
|
|
100360
|
+
create5.extractEvent = extractEvent;
|
|
100361
|
+
})(create2 || (create2 = {}));
|
|
100385
100362
|
async function createSync(client, parameters) {
|
|
100386
100363
|
const { throwOnReceiptRevert = true, ...rest } = parameters;
|
|
100387
|
-
const receipt = await
|
|
100364
|
+
const receipt = await create2.inner(writeContractSync, client, {
|
|
100388
100365
|
...rest,
|
|
100389
100366
|
throwOnReceiptRevert
|
|
100390
100367
|
});
|
|
100391
|
-
const { args } =
|
|
100368
|
+
const { args } = create2.extractEvent(receipt.logs);
|
|
100392
100369
|
return {
|
|
100393
100370
|
...args,
|
|
100394
100371
|
receipt
|
|
@@ -100648,7 +100625,7 @@ function watchBlacklistUpdated(client, parameters) {
|
|
|
100648
100625
|
});
|
|
100649
100626
|
}
|
|
100650
100627
|
|
|
100651
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
100628
|
+
// ../../../node_modules/.pnpm/viem@2.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
100629
|
var reward_exports = {};
|
|
100653
100630
|
__export(reward_exports, {
|
|
100654
100631
|
claim: () => claim,
|
|
@@ -100877,7 +100854,7 @@ function watchRewardRecipientSet(client, parameters) {
|
|
|
100877
100854
|
});
|
|
100878
100855
|
}
|
|
100879
100856
|
|
|
100880
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
100857
|
+
// ../../../node_modules/.pnpm/viem@2.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
100858
|
var token_exports = {};
|
|
100882
100859
|
__export(token_exports, {
|
|
100883
100860
|
approve: () => approve,
|
|
@@ -100888,7 +100865,7 @@ __export(token_exports, {
|
|
|
100888
100865
|
burnSync: () => burnSync2,
|
|
100889
100866
|
changeTransferPolicy: () => changeTransferPolicy,
|
|
100890
100867
|
changeTransferPolicySync: () => changeTransferPolicySync,
|
|
100891
|
-
create: () =>
|
|
100868
|
+
create: () => create3,
|
|
100892
100869
|
createSync: () => createSync2,
|
|
100893
100870
|
getAllowance: () => getAllowance,
|
|
100894
100871
|
getBalance: () => getBalance2,
|
|
@@ -101121,16 +101098,16 @@ async function changeTransferPolicySync(client, parameters) {
|
|
|
101121
101098
|
receipt
|
|
101122
101099
|
};
|
|
101123
101100
|
}
|
|
101124
|
-
async function
|
|
101125
|
-
return
|
|
101101
|
+
async function create3(client, parameters) {
|
|
101102
|
+
return create3.inner(writeContract, client, parameters);
|
|
101126
101103
|
}
|
|
101127
|
-
(function(
|
|
101104
|
+
(function(create5) {
|
|
101128
101105
|
async function inner(action, client, parameters) {
|
|
101129
101106
|
const { account = client.account, admin: admin_ = client.account, chain: chain2 = client.chain, ...rest } = parameters;
|
|
101130
101107
|
const admin = admin_ ? parseAccount(admin_) : void 0;
|
|
101131
101108
|
if (!admin)
|
|
101132
101109
|
throw new Error("admin is required.");
|
|
101133
|
-
const call3 =
|
|
101110
|
+
const call3 = create5.call({ ...rest, admin: admin.address });
|
|
101134
101111
|
return await action(client, {
|
|
101135
101112
|
...parameters,
|
|
101136
101113
|
account,
|
|
@@ -101138,7 +101115,7 @@ async function create4(client, parameters) {
|
|
|
101138
101115
|
...call3
|
|
101139
101116
|
});
|
|
101140
101117
|
}
|
|
101141
|
-
|
|
101118
|
+
create5.inner = inner;
|
|
101142
101119
|
function call2(args) {
|
|
101143
101120
|
const { name, symbol: symbol3, currency, quoteToken = pathUsd, admin, salt = random2(32) } = args;
|
|
101144
101121
|
return defineCall({
|
|
@@ -101155,7 +101132,7 @@ async function create4(client, parameters) {
|
|
|
101155
101132
|
functionName: "createToken"
|
|
101156
101133
|
});
|
|
101157
101134
|
}
|
|
101158
|
-
|
|
101135
|
+
create5.call = call2;
|
|
101159
101136
|
function extractEvent(logs) {
|
|
101160
101137
|
const [log2] = parseEventLogs({
|
|
101161
101138
|
abi: tip20Factory,
|
|
@@ -101167,15 +101144,15 @@ async function create4(client, parameters) {
|
|
|
101167
101144
|
throw new Error("`TokenCreated` event not found.");
|
|
101168
101145
|
return log2;
|
|
101169
101146
|
}
|
|
101170
|
-
|
|
101171
|
-
})(
|
|
101147
|
+
create5.extractEvent = extractEvent;
|
|
101148
|
+
})(create3 || (create3 = {}));
|
|
101172
101149
|
async function createSync2(client, parameters) {
|
|
101173
101150
|
const { throwOnReceiptRevert = true, ...rest } = parameters;
|
|
101174
|
-
const receipt = await
|
|
101151
|
+
const receipt = await create3.inner(writeContractSync, client, {
|
|
101175
101152
|
...rest,
|
|
101176
101153
|
throwOnReceiptRevert
|
|
101177
101154
|
});
|
|
101178
|
-
const { args } =
|
|
101155
|
+
const { args } = create3.extractEvent(receipt.logs);
|
|
101179
101156
|
const tokenId = TokenId_exports.fromAddress(args.token);
|
|
101180
101157
|
return {
|
|
101181
101158
|
...args,
|
|
@@ -102048,7 +102025,7 @@ function watchUpdateQuoteToken(client, parameters) {
|
|
|
102048
102025
|
});
|
|
102049
102026
|
}
|
|
102050
102027
|
|
|
102051
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
102028
|
+
// ../../../node_modules/.pnpm/viem@2.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
102029
|
var validator_exports = {};
|
|
102053
102030
|
__export(validator_exports, {
|
|
102054
102031
|
add: () => add2,
|
|
@@ -102353,13 +102330,13 @@ async function updateSync(client, parameters) {
|
|
|
102353
102330
|
return { receipt };
|
|
102354
102331
|
}
|
|
102355
102332
|
|
|
102356
|
-
// ../../../node_modules/.pnpm/mppx@0.1.1_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.
|
|
102333
|
+
// ../../../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_405dfb80e1c7f6ab13ff44820fe9b86a/node_modules/mppx/dist/viem/Account.js
|
|
102357
102334
|
init_cjs_shims();
|
|
102358
102335
|
|
|
102359
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
102336
|
+
// ../../../node_modules/.pnpm/viem@2.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
102337
|
init_cjs_shims();
|
|
102361
102338
|
|
|
102362
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
102339
|
+
// ../../../node_modules/.pnpm/viem@2.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
102340
|
init_cjs_shims();
|
|
102364
102341
|
init_secp256k1();
|
|
102365
102342
|
init_toHex2();
|
|
@@ -102367,12 +102344,12 @@ function generatePrivateKey() {
|
|
|
102367
102344
|
return toHex7(secp256k1.utils.randomPrivateKey());
|
|
102368
102345
|
}
|
|
102369
102346
|
|
|
102370
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
102347
|
+
// ../../../node_modules/.pnpm/viem@2.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
102348
|
init_cjs_shims();
|
|
102372
102349
|
init_secp256k1();
|
|
102373
102350
|
init_toHex2();
|
|
102374
102351
|
|
|
102375
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
102352
|
+
// ../../../node_modules/.pnpm/viem@2.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
102353
|
init_cjs_shims();
|
|
102377
102354
|
init_address2();
|
|
102378
102355
|
init_isAddress2();
|
|
@@ -102400,7 +102377,7 @@ function toAccount(source) {
|
|
|
102400
102377
|
};
|
|
102401
102378
|
}
|
|
102402
102379
|
|
|
102403
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
102380
|
+
// ../../../node_modules/.pnpm/viem@2.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
102381
|
init_cjs_shims();
|
|
102405
102382
|
init_secp256k1();
|
|
102406
102383
|
init_isHex2();
|
|
@@ -102425,7 +102402,7 @@ async function sign({ hash: hash7, privateKey, to: to2 = "object" }) {
|
|
|
102425
102402
|
})();
|
|
102426
102403
|
}
|
|
102427
102404
|
|
|
102428
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
102405
|
+
// ../../../node_modules/.pnpm/viem@2.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
102406
|
init_cjs_shims();
|
|
102430
102407
|
async function signAuthorization(parameters) {
|
|
102431
102408
|
const { chainId, nonce: nonce2, privateKey, to: to2 = "object" } = parameters;
|
|
@@ -102445,13 +102422,13 @@ async function signAuthorization(parameters) {
|
|
|
102445
102422
|
return signature2;
|
|
102446
102423
|
}
|
|
102447
102424
|
|
|
102448
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
102425
|
+
// ../../../node_modules/.pnpm/viem@2.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
102426
|
init_cjs_shims();
|
|
102450
102427
|
async function signMessage({ message, privateKey }) {
|
|
102451
102428
|
return await sign({ hash: hashMessage(message), privateKey, to: "hex" });
|
|
102452
102429
|
}
|
|
102453
102430
|
|
|
102454
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
102431
|
+
// ../../../node_modules/.pnpm/viem@2.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
102432
|
init_cjs_shims();
|
|
102456
102433
|
init_keccak2562();
|
|
102457
102434
|
async function signTransaction2(parameters) {
|
|
@@ -102471,7 +102448,7 @@ async function signTransaction2(parameters) {
|
|
|
102471
102448
|
return await serializer(transaction, signature2);
|
|
102472
102449
|
}
|
|
102473
102450
|
|
|
102474
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
102451
|
+
// ../../../node_modules/.pnpm/viem@2.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
102452
|
init_cjs_shims();
|
|
102476
102453
|
async function signTypedData2(parameters) {
|
|
102477
102454
|
const { privateKey, ...typedData } = parameters;
|
|
@@ -102482,7 +102459,7 @@ async function signTypedData2(parameters) {
|
|
|
102482
102459
|
});
|
|
102483
102460
|
}
|
|
102484
102461
|
|
|
102485
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
102462
|
+
// ../../../node_modules/.pnpm/viem@2.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
102463
|
function privateKeyToAccount(privateKey, options = {}) {
|
|
102487
102464
|
const { nonceManager: nonceManager2 } = options;
|
|
102488
102465
|
const publicKey = toHex7(secp256k1.getPublicKey(privateKey.slice(2), false));
|
|
@@ -102513,10 +102490,10 @@ function privateKeyToAccount(privateKey, options = {}) {
|
|
|
102513
102490
|
};
|
|
102514
102491
|
}
|
|
102515
102492
|
|
|
102516
|
-
// ../../../node_modules/.pnpm/viem@2.
|
|
102493
|
+
// ../../../node_modules/.pnpm/viem@2.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
102494
|
init_parseAccount();
|
|
102518
102495
|
|
|
102519
|
-
// ../../../node_modules/.pnpm/mppx@0.1.1_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.
|
|
102496
|
+
// ../../../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_405dfb80e1c7f6ab13ff44820fe9b86a/node_modules/mppx/dist/viem/Account.js
|
|
102520
102497
|
function getResolver(parameters = {}) {
|
|
102521
102498
|
const { account: defaultAccount } = parameters;
|
|
102522
102499
|
return (client, { account: override } = {}) => {
|
|
@@ -102530,7 +102507,7 @@ function getResolver(parameters = {}) {
|
|
|
102530
102507
|
};
|
|
102531
102508
|
}
|
|
102532
102509
|
|
|
102533
|
-
// ../../../node_modules/.pnpm/mppx@0.1.1_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.
|
|
102510
|
+
// ../../../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_405dfb80e1c7f6ab13ff44820fe9b86a/node_modules/mppx/dist/viem/Client.js
|
|
102534
102511
|
init_cjs_shims();
|
|
102535
102512
|
function getResolver2(parameters) {
|
|
102536
102513
|
const { chain: chain2, getClient, rpcUrl: rpcUrl2 } = parameters;
|
|
@@ -102550,7 +102527,7 @@ function getResolver2(parameters) {
|
|
|
102550
102527
|
};
|
|
102551
102528
|
}
|
|
102552
102529
|
|
|
102553
|
-
// ../../../node_modules/.pnpm/mppx@0.1.1_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.
|
|
102530
|
+
// ../../../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_405dfb80e1c7f6ab13ff44820fe9b86a/node_modules/mppx/dist/tempo/Attribution.js
|
|
102554
102531
|
init_cjs_shims();
|
|
102555
102532
|
var tag = Hex_exports.slice(Hash_exports.keccak256(Bytes_exports.fromString("mpp"), { as: "Hex" }), 0, 4);
|
|
102556
102533
|
var version6 = 1;
|
|
@@ -102571,7 +102548,7 @@ function encode5(parameters) {
|
|
|
102571
102548
|
return Hex_exports.fromBytes(buf);
|
|
102572
102549
|
}
|
|
102573
102550
|
|
|
102574
|
-
// ../../../node_modules/.pnpm/mppx@0.1.1_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.
|
|
102551
|
+
// ../../../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_405dfb80e1c7f6ab13ff44820fe9b86a/node_modules/mppx/dist/tempo/Intents.js
|
|
102575
102552
|
init_cjs_shims();
|
|
102576
102553
|
var charge2 = fromIntent3(charge, {
|
|
102577
102554
|
method: "tempo",
|
|
@@ -102640,7 +102617,7 @@ var session2 = fromIntent3(session, {
|
|
|
102640
102617
|
}
|
|
102641
102618
|
});
|
|
102642
102619
|
|
|
102643
|
-
// ../../../node_modules/.pnpm/mppx@0.1.1_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.
|
|
102620
|
+
// ../../../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_405dfb80e1c7f6ab13ff44820fe9b86a/node_modules/mppx/dist/tempo/internal/defaults.js
|
|
102644
102621
|
init_cjs_shims();
|
|
102645
102622
|
var rpcUrl = {
|
|
102646
102623
|
4217: "https://rpc.tempo.xyz",
|
|
@@ -102652,7 +102629,7 @@ var escrowContract = {
|
|
|
102652
102629
|
};
|
|
102653
102630
|
var decimals = 6;
|
|
102654
102631
|
|
|
102655
|
-
// ../../../node_modules/.pnpm/mppx@0.1.1_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.
|
|
102632
|
+
// ../../../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_405dfb80e1c7f6ab13ff44820fe9b86a/node_modules/mppx/dist/tempo/client/Charge.js
|
|
102656
102633
|
function charge3(parameters = {}) {
|
|
102657
102634
|
const { clientId } = parameters;
|
|
102658
102635
|
const getClient = getResolver2({
|
|
@@ -102695,10 +102672,10 @@ function charge3(parameters = {}) {
|
|
|
102695
102672
|
});
|
|
102696
102673
|
}
|
|
102697
102674
|
|
|
102698
|
-
// ../../../node_modules/.pnpm/mppx@0.1.1_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.
|
|
102675
|
+
// ../../../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_405dfb80e1c7f6ab13ff44820fe9b86a/node_modules/mppx/dist/tempo/client/Session.js
|
|
102699
102676
|
init_cjs_shims();
|
|
102700
102677
|
|
|
102701
|
-
// ../../../node_modules/.pnpm/mppx@0.1.1_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.
|
|
102678
|
+
// ../../../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_405dfb80e1c7f6ab13ff44820fe9b86a/node_modules/mppx/dist/tempo/stream/Voucher.js
|
|
102702
102679
|
init_cjs_shims();
|
|
102703
102680
|
var DOMAIN_NAME = "Tempo Stream Channel";
|
|
102704
102681
|
var DOMAIN_VERSION = "1";
|
|
@@ -102738,13 +102715,13 @@ async function signVoucher(client, account, message, escrowContract2, chainId, a
|
|
|
102738
102715
|
return signature2;
|
|
102739
102716
|
}
|
|
102740
102717
|
|
|
102741
|
-
// ../../../node_modules/.pnpm/mppx@0.1.1_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.
|
|
102718
|
+
// ../../../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_405dfb80e1c7f6ab13ff44820fe9b86a/node_modules/mppx/dist/tempo/client/ChannelOps.js
|
|
102742
102719
|
init_cjs_shims();
|
|
102743
102720
|
|
|
102744
|
-
// ../../../node_modules/.pnpm/mppx@0.1.1_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.
|
|
102721
|
+
// ../../../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_405dfb80e1c7f6ab13ff44820fe9b86a/node_modules/mppx/dist/tempo/stream/Chain.js
|
|
102745
102722
|
init_cjs_shims();
|
|
102746
102723
|
|
|
102747
|
-
// ../../../node_modules/.pnpm/mppx@0.1.1_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.
|
|
102724
|
+
// ../../../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_405dfb80e1c7f6ab13ff44820fe9b86a/node_modules/mppx/dist/tempo/stream/escrow.abi.js
|
|
102748
102725
|
init_cjs_shims();
|
|
102749
102726
|
var escrowAbi = [
|
|
102750
102727
|
{
|
|
@@ -103506,7 +103483,7 @@ var escrowAbi = [
|
|
|
103506
103483
|
}
|
|
103507
103484
|
];
|
|
103508
103485
|
|
|
103509
|
-
// ../../../node_modules/.pnpm/mppx@0.1.1_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.
|
|
103486
|
+
// ../../../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_405dfb80e1c7f6ab13ff44820fe9b86a/node_modules/mppx/dist/tempo/stream/Chain.js
|
|
103510
103487
|
var UINT128_MAX = 2n ** 128n - 1n;
|
|
103511
103488
|
async function getOnChainChannel(client, escrowContract2, channelId) {
|
|
103512
103489
|
return readContract(client, {
|
|
@@ -103519,7 +103496,7 @@ async function getOnChainChannel(client, escrowContract2, channelId) {
|
|
|
103519
103496
|
var escrowOpenSelector = /* @__PURE__ */ toFunctionSelector(getAbiItem({ abi: escrowAbi, name: "open" }));
|
|
103520
103497
|
var escrowTopUpSelector = /* @__PURE__ */ toFunctionSelector(getAbiItem({ abi: escrowAbi, name: "topUp" }));
|
|
103521
103498
|
|
|
103522
|
-
// ../../../node_modules/.pnpm/mppx@0.1.1_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.
|
|
103499
|
+
// ../../../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_405dfb80e1c7f6ab13ff44820fe9b86a/node_modules/mppx/dist/tempo/stream/Channel.js
|
|
103523
103500
|
init_cjs_shims();
|
|
103524
103501
|
function computeId2(parameters) {
|
|
103525
103502
|
const encoded = AbiParameters_exports.encode(AbiParameters_exports.from([
|
|
@@ -103542,7 +103519,7 @@ function computeId2(parameters) {
|
|
|
103542
103519
|
return Hash_exports.keccak256(encoded);
|
|
103543
103520
|
}
|
|
103544
103521
|
|
|
103545
|
-
// ../../../node_modules/.pnpm/mppx@0.1.1_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.
|
|
103522
|
+
// ../../../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_405dfb80e1c7f6ab13ff44820fe9b86a/node_modules/mppx/dist/tempo/client/ChannelOps.js
|
|
103546
103523
|
function resolveEscrow(challenge2, chainId, escrowContractOverride) {
|
|
103547
103524
|
const challengeEscrow = challenge2.request.methodDetails?.escrowContract;
|
|
103548
103525
|
const escrow = challengeEscrow ?? escrowContractOverride ?? escrowContract[chainId];
|
|
@@ -103638,7 +103615,7 @@ async function tryRecoverChannel(client, escrowContract2, channelId, chainId) {
|
|
|
103638
103615
|
return void 0;
|
|
103639
103616
|
}
|
|
103640
103617
|
|
|
103641
|
-
// ../../../node_modules/.pnpm/mppx@0.1.1_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.
|
|
103618
|
+
// ../../../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_405dfb80e1c7f6ab13ff44820fe9b86a/node_modules/mppx/dist/tempo/client/Session.js
|
|
103642
103619
|
var streamContextSchema = object({
|
|
103643
103620
|
account: optional(custom()),
|
|
103644
103621
|
action: optional(_enum2(["open", "topUp", "voucher", "close"])),
|
|
@@ -103840,10 +103817,10 @@ function session3(parameters = {}) {
|
|
|
103840
103817
|
});
|
|
103841
103818
|
}
|
|
103842
103819
|
|
|
103843
|
-
// ../../../node_modules/.pnpm/mppx@0.1.1_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.
|
|
103820
|
+
// ../../../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_405dfb80e1c7f6ab13ff44820fe9b86a/node_modules/mppx/dist/tempo/client/SessionManager.js
|
|
103844
103821
|
init_cjs_shims();
|
|
103845
103822
|
|
|
103846
|
-
// ../../../node_modules/.pnpm/mppx@0.1.1_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.
|
|
103823
|
+
// ../../../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_405dfb80e1c7f6ab13ff44820fe9b86a/node_modules/mppx/dist/client/internal/Fetch.js
|
|
103847
103824
|
init_cjs_shims();
|
|
103848
103825
|
var originalFetch;
|
|
103849
103826
|
function from19(config2) {
|
|
@@ -103885,14 +103862,14 @@ async function resolveCredential(challenge2, mi, context2) {
|
|
|
103885
103862
|
return mi.createCredential(parsedContext !== void 0 ? { challenge: challenge2, context: parsedContext } : { challenge: challenge2 });
|
|
103886
103863
|
}
|
|
103887
103864
|
|
|
103888
|
-
// ../../../node_modules/.pnpm/mppx@0.1.1_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.
|
|
103865
|
+
// ../../../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_405dfb80e1c7f6ab13ff44820fe9b86a/node_modules/mppx/dist/tempo/stream/Receipt.js
|
|
103889
103866
|
init_cjs_shims();
|
|
103890
103867
|
function deserializeStreamReceipt(encoded) {
|
|
103891
103868
|
const json3 = Base64_exports.toString(encoded);
|
|
103892
103869
|
return JSON.parse(json3);
|
|
103893
103870
|
}
|
|
103894
103871
|
|
|
103895
|
-
// ../../../node_modules/.pnpm/mppx@0.1.1_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.
|
|
103872
|
+
// ../../../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_405dfb80e1c7f6ab13ff44820fe9b86a/node_modules/mppx/dist/tempo/stream/Sse.js
|
|
103896
103873
|
init_cjs_shims();
|
|
103897
103874
|
function parseEvent(raw) {
|
|
103898
103875
|
let eventType = "message";
|
|
@@ -103921,7 +103898,7 @@ function parseEvent(raw) {
|
|
|
103921
103898
|
}
|
|
103922
103899
|
}
|
|
103923
103900
|
|
|
103924
|
-
// ../../../node_modules/.pnpm/mppx@0.1.1_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.
|
|
103901
|
+
// ../../../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_405dfb80e1c7f6ab13ff44820fe9b86a/node_modules/mppx/dist/tempo/client/SessionManager.js
|
|
103925
103902
|
function sessionManager(parameters) {
|
|
103926
103903
|
const fetchFn = parameters.fetch ?? globalThis.fetch;
|
|
103927
103904
|
let channel = null;
|
|
@@ -104096,7 +104073,7 @@ function sessionManager(parameters) {
|
|
|
104096
104073
|
return self2;
|
|
104097
104074
|
}
|
|
104098
104075
|
|
|
104099
|
-
// ../../../node_modules/.pnpm/mppx@0.1.1_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.
|
|
104076
|
+
// ../../../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_405dfb80e1c7f6ab13ff44820fe9b86a/node_modules/mppx/dist/tempo/client/MethodIntents.js
|
|
104100
104077
|
function tempo2(parameters = {}) {
|
|
104101
104078
|
return [charge3(parameters), session3(parameters)];
|
|
104102
104079
|
}
|
|
@@ -104105,15 +104082,15 @@ function tempo2(parameters = {}) {
|
|
|
104105
104082
|
tempo3.session = sessionManager;
|
|
104106
104083
|
})(tempo2 || (tempo2 = {}));
|
|
104107
104084
|
|
|
104108
|
-
// ../../../node_modules/.pnpm/mppx@0.1.1_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.
|
|
104085
|
+
// ../../../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_405dfb80e1c7f6ab13ff44820fe9b86a/node_modules/mppx/dist/client/Mppx.js
|
|
104109
104086
|
var Mppx_exports = {};
|
|
104110
104087
|
__export(Mppx_exports, {
|
|
104111
|
-
create: () =>
|
|
104088
|
+
create: () => create4,
|
|
104112
104089
|
restore: () => restore2
|
|
104113
104090
|
});
|
|
104114
104091
|
init_cjs_shims();
|
|
104115
104092
|
|
|
104116
|
-
// ../../../node_modules/.pnpm/mppx@0.1.1_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.
|
|
104093
|
+
// ../../../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_405dfb80e1c7f6ab13ff44820fe9b86a/node_modules/mppx/dist/client/Transport.js
|
|
104117
104094
|
init_cjs_shims();
|
|
104118
104095
|
function from20(transport) {
|
|
104119
104096
|
return transport;
|
|
@@ -104135,8 +104112,8 @@ function http2() {
|
|
|
104135
104112
|
});
|
|
104136
104113
|
}
|
|
104137
104114
|
|
|
104138
|
-
// ../../../node_modules/.pnpm/mppx@0.1.1_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.
|
|
104139
|
-
function
|
|
104115
|
+
// ../../../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_405dfb80e1c7f6ab13ff44820fe9b86a/node_modules/mppx/dist/client/Mppx.js
|
|
104116
|
+
function create4(config2) {
|
|
104140
104117
|
const { onChallenge, polyfill: polyfill2 = true, transport = http2() } = config2;
|
|
104141
104118
|
const methods = config2.methods.flat();
|
|
104142
104119
|
const resolvedOnChallenge = onChallenge;
|
|
@@ -104187,6 +104164,8 @@ var safeParse4 = (surface2, schema, value) => {
|
|
|
104187
104164
|
};
|
|
104188
104165
|
|
|
104189
104166
|
// src/shared/neverthrow/fetch/index.ts
|
|
104167
|
+
var DEFAULT_FETCH_TIMEOUT = 1e4;
|
|
104168
|
+
var DEFAULT_USER_FETCH_TIMEOUT = 3e4;
|
|
104190
104169
|
var IMAGE_TYPES = /* @__PURE__ */ new Set([
|
|
104191
104170
|
"image/png",
|
|
104192
104171
|
"image/jpeg",
|
|
@@ -104206,19 +104185,28 @@ var fetchHttpErr = (surface2, response) => fetchErr(surface2, {
|
|
|
104206
104185
|
message: response.statusText,
|
|
104207
104186
|
response
|
|
104208
104187
|
});
|
|
104209
|
-
var safeFetch = (surface2, request) => {
|
|
104188
|
+
var safeFetch = (surface2, request, timeout) => {
|
|
104189
|
+
const signal = timeout ? AbortSignal.timeout(timeout) : void 0;
|
|
104210
104190
|
return resultFromPromise(
|
|
104211
104191
|
errorType2,
|
|
104212
104192
|
surface2,
|
|
104213
|
-
fetch(request),
|
|
104214
|
-
(error48) =>
|
|
104215
|
-
|
|
104216
|
-
|
|
104217
|
-
|
|
104193
|
+
fetch(request, ...signal ? [{ signal }] : []),
|
|
104194
|
+
(error48) => {
|
|
104195
|
+
if (error48 instanceof DOMException && (error48.name === "TimeoutError" || error48.name === "AbortError")) {
|
|
104196
|
+
return {
|
|
104197
|
+
cause: "timeout",
|
|
104198
|
+
message: timeout ? `Request timed out after ${timeout}ms. You can increase the timeout by passing a larger value in the 'timeout' parameter.` : "Request was aborted"
|
|
104199
|
+
};
|
|
104200
|
+
}
|
|
104201
|
+
return {
|
|
104202
|
+
cause: "network",
|
|
104203
|
+
message: error48 instanceof Error ? error48.message : "Network error"
|
|
104204
|
+
};
|
|
104205
|
+
}
|
|
104218
104206
|
);
|
|
104219
104207
|
};
|
|
104220
|
-
var safeFetchJson = (surface2, request, schema) => {
|
|
104221
|
-
return safeFetch(surface2, request).andThen((response) => {
|
|
104208
|
+
var safeFetchJson = (surface2, request, schema, timeout) => {
|
|
104209
|
+
return safeFetch(surface2, request, timeout).andThen((response) => {
|
|
104222
104210
|
if (!response.ok) {
|
|
104223
104211
|
return fetchHttpErr(surface2, response);
|
|
104224
104212
|
}
|
|
@@ -108606,10 +108594,10 @@ var safeCreateSIWxPayload = (surface2, serverInfo, signer) => {
|
|
|
108606
108594
|
// src/shared/neverthrow/mpp/index.ts
|
|
108607
108595
|
init_cjs_shims();
|
|
108608
108596
|
|
|
108609
|
-
// ../../../node_modules/.pnpm/mppx@0.1.1_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.
|
|
108597
|
+
// ../../../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_405dfb80e1c7f6ab13ff44820fe9b86a/node_modules/mppx/dist/index.js
|
|
108610
108598
|
init_cjs_shims();
|
|
108611
108599
|
|
|
108612
|
-
// ../../../node_modules/.pnpm/mppx@0.1.1_@modelcontextprotocol+sdk@1.26.0_zod@4.3.6__express@5.2.1_hono@4.11.
|
|
108600
|
+
// ../../../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_405dfb80e1c7f6ab13ff44820fe9b86a/node_modules/mppx/dist/Receipt.js
|
|
108613
108601
|
var Receipt_exports = {};
|
|
108614
108602
|
__export(Receipt_exports, {
|
|
108615
108603
|
Schema: () => Schema2,
|
|
@@ -109407,11 +109395,11 @@ async function getTempoBalance({
|
|
|
109407
109395
|
|
|
109408
109396
|
// src/shared/operations/fetch-with-payment.ts
|
|
109409
109397
|
function createFetchWithPayment(options) {
|
|
109410
|
-
const { surface: surface2, clients, paymentMethod, beforePayment } = options;
|
|
109398
|
+
const { surface: surface2, clients, paymentMethod, beforePayment, timeout } = options;
|
|
109411
109399
|
return async (request) => {
|
|
109412
109400
|
const clonedRequest = request.clone();
|
|
109413
109401
|
const fallbackRequest = request.clone();
|
|
109414
|
-
const probeResult = await safeFetch(surface2, request);
|
|
109402
|
+
const probeResult = await safeFetch(surface2, request, timeout);
|
|
109415
109403
|
if (probeResult.isErr()) {
|
|
109416
109404
|
return fetchErr(surface2, probeResult.error);
|
|
109417
109405
|
}
|
|
@@ -109430,7 +109418,8 @@ function createFetchWithPayment(options) {
|
|
|
109430
109418
|
response,
|
|
109431
109419
|
clonedRequest,
|
|
109432
109420
|
clients.x402,
|
|
109433
|
-
beforePayment
|
|
109421
|
+
beforePayment,
|
|
109422
|
+
timeout
|
|
109434
109423
|
);
|
|
109435
109424
|
}
|
|
109436
109425
|
const available = detectPaymentProtocols(response);
|
|
@@ -109446,7 +109435,8 @@ function createFetchWithPayment(options) {
|
|
|
109446
109435
|
response,
|
|
109447
109436
|
clonedRequest,
|
|
109448
109437
|
clients.x402,
|
|
109449
|
-
beforePayment
|
|
109438
|
+
beforePayment,
|
|
109439
|
+
timeout
|
|
109450
109440
|
);
|
|
109451
109441
|
if (result.isErr() && fallback) {
|
|
109452
109442
|
return fallback === "mpp" ? handleMppPayment(surface2, response, fallbackRequest, options) : handleX402Payment(
|
|
@@ -109454,7 +109444,8 @@ function createFetchWithPayment(options) {
|
|
|
109454
109444
|
response,
|
|
109455
109445
|
fallbackRequest,
|
|
109456
109446
|
clients.x402,
|
|
109457
|
-
beforePayment
|
|
109447
|
+
beforePayment,
|
|
109448
|
+
timeout
|
|
109458
109449
|
);
|
|
109459
109450
|
}
|
|
109460
109451
|
return result;
|
|
@@ -109506,7 +109497,7 @@ async function pickByBalance(surface2, response, options) {
|
|
|
109506
109497
|
log.info(`Protocol selection \u2014 x402: $${x402Balance}, mpp: $${mppBalance}`);
|
|
109507
109498
|
return x402Balance >= mppBalance ? "x402" : "mpp";
|
|
109508
109499
|
}
|
|
109509
|
-
async function handleX402Payment(surface2, response, clonedRequest, client, beforePayment) {
|
|
109500
|
+
async function handleX402Payment(surface2, response, clonedRequest, client, beforePayment, timeout) {
|
|
109510
109501
|
const paymentRequiredResult = await safeGetPaymentRequired(
|
|
109511
109502
|
surface2,
|
|
109512
109503
|
client,
|
|
@@ -109562,34 +109553,36 @@ async function handleX402Payment(surface2, response, clonedRequest, client, befo
|
|
|
109562
109553
|
"Access-Control-Expose-Headers",
|
|
109563
109554
|
"PAYMENT-RESPONSE,X-PAYMENT-RESPONSE"
|
|
109564
109555
|
);
|
|
109565
|
-
return await safeFetch(surface2, clonedRequest).andThen(
|
|
109566
|
-
|
|
109567
|
-
|
|
109568
|
-
|
|
109569
|
-
|
|
109570
|
-
|
|
109571
|
-
|
|
109572
|
-
|
|
109573
|
-
|
|
109574
|
-
|
|
109575
|
-
|
|
109576
|
-
|
|
109577
|
-
|
|
109578
|
-
|
|
109579
|
-
|
|
109580
|
-
|
|
109581
|
-
|
|
109582
|
-
|
|
109583
|
-
|
|
109584
|
-
|
|
109585
|
-
|
|
109586
|
-
|
|
109587
|
-
|
|
109588
|
-
|
|
109589
|
-
|
|
109556
|
+
return await safeFetch(surface2, clonedRequest, timeout).andThen(
|
|
109557
|
+
(paidResponse) => {
|
|
109558
|
+
const settlementResult = safeGetPaymentSettlement(
|
|
109559
|
+
surface2,
|
|
109560
|
+
client,
|
|
109561
|
+
paidResponse
|
|
109562
|
+
);
|
|
109563
|
+
return x402Ok({
|
|
109564
|
+
response: paidResponse,
|
|
109565
|
+
paymentInfo: {
|
|
109566
|
+
protocol: "x402",
|
|
109567
|
+
price: tokenStringToNumber(
|
|
109568
|
+
paymentPayload.accepted.amount
|
|
109569
|
+
).toLocaleString("en-US", {
|
|
109570
|
+
style: "currency",
|
|
109571
|
+
currency: "USD"
|
|
109572
|
+
}),
|
|
109573
|
+
...settlementResult.isOk() ? {
|
|
109574
|
+
payment: {
|
|
109575
|
+
success: settlementResult.value.success,
|
|
109576
|
+
transactionHash: settlementResult.value.transaction
|
|
109577
|
+
}
|
|
109578
|
+
} : {}
|
|
109579
|
+
}
|
|
109580
|
+
});
|
|
109581
|
+
}
|
|
109582
|
+
);
|
|
109590
109583
|
}
|
|
109591
109584
|
async function handleMppPayment(surface2, response, clonedRequest, options) {
|
|
109592
|
-
const { clients, beforePayment } = options;
|
|
109585
|
+
const { clients, beforePayment, timeout } = options;
|
|
109593
109586
|
const mppxClient = clients.mpp;
|
|
109594
109587
|
if (clonedRequest.headers.has("Authorization")) {
|
|
109595
109588
|
return mppErr(surface2, {
|
|
@@ -109635,26 +109628,31 @@ async function handleMppPayment(surface2, response, clonedRequest, options) {
|
|
|
109635
109628
|
}
|
|
109636
109629
|
const credential = credentialResult.value;
|
|
109637
109630
|
clonedRequest.headers.set("Authorization", credential);
|
|
109638
|
-
return await safeFetch(surface2, clonedRequest).andThen(
|
|
109639
|
-
|
|
109640
|
-
|
|
109641
|
-
|
|
109642
|
-
|
|
109643
|
-
|
|
109644
|
-
|
|
109645
|
-
|
|
109646
|
-
|
|
109647
|
-
|
|
109648
|
-
|
|
109649
|
-
|
|
109650
|
-
|
|
109651
|
-
|
|
109652
|
-
|
|
109653
|
-
|
|
109654
|
-
|
|
109655
|
-
|
|
109656
|
-
|
|
109657
|
-
|
|
109631
|
+
return await safeFetch(surface2, clonedRequest, timeout).andThen(
|
|
109632
|
+
(paidResponse) => {
|
|
109633
|
+
const receiptResult = safeGetMppReceipt(surface2, paidResponse);
|
|
109634
|
+
const priceDisplay = amount2 ? Number(formatUnits(BigInt(amount2), decimals2)).toLocaleString(
|
|
109635
|
+
"en-US",
|
|
109636
|
+
{
|
|
109637
|
+
style: "currency",
|
|
109638
|
+
currency: "USD"
|
|
109639
|
+
}
|
|
109640
|
+
) : void 0;
|
|
109641
|
+
return mppOk({
|
|
109642
|
+
response: paidResponse,
|
|
109643
|
+
paymentInfo: {
|
|
109644
|
+
protocol: "mpp",
|
|
109645
|
+
...priceDisplay ? { price: priceDisplay } : {},
|
|
109646
|
+
...receiptResult.isOk() ? {
|
|
109647
|
+
payment: {
|
|
109648
|
+
success: true,
|
|
109649
|
+
transactionHash: receiptResult.value.reference
|
|
109650
|
+
}
|
|
109651
|
+
} : {}
|
|
109652
|
+
}
|
|
109653
|
+
});
|
|
109654
|
+
}
|
|
109655
|
+
);
|
|
109658
109656
|
}
|
|
109659
109657
|
|
|
109660
109658
|
// src/server/tools/response/index.ts
|
|
@@ -109809,7 +109807,8 @@ var requestSchema = zod_default.object({
|
|
|
109809
109807
|
url: zod_default.url().describe("The endpoint URL"),
|
|
109810
109808
|
method: zod_default.enum(["GET", "POST", "PUT", "DELETE", "PATCH"]).optional().describe("HTTP method. Defaults to GET for fetch operations."),
|
|
109811
109809
|
body: zod_default.unknown().optional().describe("Request body for POST/PUT/PATCH methods"),
|
|
109812
|
-
headers: zod_default.record(zod_default.string(), zod_default.string()).optional().describe("Additional headers to include").default({})
|
|
109810
|
+
headers: zod_default.record(zod_default.string(), zod_default.string()).optional().describe("Additional headers to include").default({}),
|
|
109811
|
+
timeout: zod_default.number().int().positive().optional().describe("Request timeout in milliseconds")
|
|
109813
109812
|
});
|
|
109814
109813
|
var buildRequest2 = ({
|
|
109815
109814
|
input,
|
|
@@ -109987,7 +109986,8 @@ var registerFetchTool = ({
|
|
|
109987
109986
|
paymentMethod,
|
|
109988
109987
|
account,
|
|
109989
109988
|
flags,
|
|
109990
|
-
beforePayment
|
|
109989
|
+
beforePayment,
|
|
109990
|
+
timeout: input.timeout ?? DEFAULT_USER_FETCH_TIMEOUT
|
|
109991
109991
|
})(request);
|
|
109992
109992
|
if (fetchResult.isErr()) {
|
|
109993
109993
|
return mcpError(fetchResult);
|
|
@@ -110061,7 +110061,8 @@ var registerAuthTools = ({
|
|
|
110061
110061
|
const httpClient = new x402HTTPClient(new x402Client());
|
|
110062
110062
|
const firstResult = await safeFetch(
|
|
110063
110063
|
toolName2,
|
|
110064
|
-
buildRequest2({ input, address: account.address, sessionId })
|
|
110064
|
+
buildRequest2({ input, address: account.address, sessionId }),
|
|
110065
|
+
input.timeout ?? DEFAULT_USER_FETCH_TIMEOUT
|
|
110065
110066
|
);
|
|
110066
110067
|
if (firstResult.isErr()) {
|
|
110067
110068
|
return mcpError(firstResult);
|
|
@@ -110113,7 +110114,11 @@ var registerAuthTools = ({
|
|
|
110113
110114
|
sessionId
|
|
110114
110115
|
});
|
|
110115
110116
|
authedRequest.headers.set("SIGN-IN-WITH-X", siwxHeader);
|
|
110116
|
-
const authedResult = await safeFetch(
|
|
110117
|
+
const authedResult = await safeFetch(
|
|
110118
|
+
toolName2,
|
|
110119
|
+
authedRequest,
|
|
110120
|
+
input.timeout ?? DEFAULT_USER_FETCH_TIMEOUT
|
|
110121
|
+
);
|
|
110117
110122
|
if (authedResult.isErr()) {
|
|
110118
110123
|
return mcpError(authedResult);
|
|
110119
110124
|
}
|
|
@@ -110227,15 +110232,14 @@ async function fetchOpenApiSpec(origin) {
|
|
|
110227
110232
|
if (cached2) return cached2;
|
|
110228
110233
|
const uniqueUrls = [
|
|
110229
110234
|
`${origin}/openapi.json`,
|
|
110230
|
-
`${origin}/.well-known/openapi.json
|
|
110231
|
-
`${origin}/.well-known/x402`,
|
|
110232
|
-
`${origin}/.well-known/mpp`
|
|
110235
|
+
`${origin}/.well-known/openapi.json`
|
|
110233
110236
|
];
|
|
110234
110237
|
for (const url3 of uniqueUrls) {
|
|
110235
110238
|
log.debug(`Fetching OpenAPI spec from: ${url3}`);
|
|
110236
110239
|
const fetchResult = await safeFetch(
|
|
110237
110240
|
"fetchOpenApiSpec",
|
|
110238
|
-
new Request(url3, { headers: { Accept: "application/json" } })
|
|
110241
|
+
new Request(url3, { headers: { Accept: "application/json" } }),
|
|
110242
|
+
DEFAULT_FETCH_TIMEOUT
|
|
110239
110243
|
);
|
|
110240
110244
|
if (fetchResult.isErr()) {
|
|
110241
110245
|
log.debug(`Failed to fetch OpenAPI spec from: ${url3}`);
|
|
@@ -110423,6 +110427,7 @@ function getIndexEntry(origin, path2, method) {
|
|
|
110423
110427
|
}
|
|
110424
110428
|
|
|
110425
110429
|
// src/shared/operations/check-endpoint.ts
|
|
110430
|
+
var TEMPO_DEFAULT_CHAIN_ID = 4217;
|
|
110426
110431
|
var SUPPORTED_METHODS = [
|
|
110427
110432
|
"GET",
|
|
110428
110433
|
"POST",
|
|
@@ -110473,37 +110478,12 @@ async function probeMethod({
|
|
|
110473
110478
|
headers,
|
|
110474
110479
|
includeMethodErrors
|
|
110475
110480
|
}) {
|
|
110476
|
-
const
|
|
110477
|
-
|
|
110481
|
+
const request = buildProbeRequest(url3, method, body, headers);
|
|
110482
|
+
const responseResult = await safeFetch(
|
|
110478
110483
|
surface2,
|
|
110479
|
-
|
|
110480
|
-
|
|
110481
|
-
cause: "cache_lookup",
|
|
110482
|
-
message: e instanceof Error ? e.message : String(e)
|
|
110483
|
-
})
|
|
110484
|
+
request,
|
|
110485
|
+
DEFAULT_FETCH_TIMEOUT
|
|
110484
110486
|
);
|
|
110485
|
-
if (cachedSchemaResult.isOk() && cachedSchemaResult.value) {
|
|
110486
|
-
const cachedSchema = cachedSchemaResult.value;
|
|
110487
|
-
const origin = new URL(url3).origin;
|
|
110488
|
-
const path2 = new URL(url3).pathname || "/";
|
|
110489
|
-
const indexEntry = getIndexEntry(origin, path2, method);
|
|
110490
|
-
return {
|
|
110491
|
-
method,
|
|
110492
|
-
source: "openapi",
|
|
110493
|
-
requiresPayment: true,
|
|
110494
|
-
schema: cachedSchema,
|
|
110495
|
-
...indexEntry?.price ? { estimatedPrice: indexEntry.price } : {},
|
|
110496
|
-
...indexEntry?.protocols ? { protocols: indexEntry.protocols } : {},
|
|
110497
|
-
...indexEntry?.summary ? { summary: indexEntry.summary } : {}
|
|
110498
|
-
};
|
|
110499
|
-
}
|
|
110500
|
-
if (cachedSchemaResult.isErr()) {
|
|
110501
|
-
log.debug(
|
|
110502
|
-
`Cache lookup failed for ${method} ${url3}, falling back to 402 probe`
|
|
110503
|
-
);
|
|
110504
|
-
}
|
|
110505
|
-
const request = buildProbeRequest(url3, method, body, headers);
|
|
110506
|
-
const responseResult = await safeFetch(surface2, request);
|
|
110507
110487
|
if (responseResult.isErr()) {
|
|
110508
110488
|
log.debug(`${method} ${url3} probe failed`, responseResult.error);
|
|
110509
110489
|
return null;
|
|
@@ -110513,7 +110493,6 @@ async function probeMethod({
|
|
|
110513
110493
|
if (includeMethodErrors && (response.status === 404 || response.status === 405)) {
|
|
110514
110494
|
return {
|
|
110515
110495
|
method,
|
|
110516
|
-
source: "probe",
|
|
110517
110496
|
requiresPayment: false,
|
|
110518
110497
|
statusCode: response.status
|
|
110519
110498
|
};
|
|
@@ -110524,46 +110503,50 @@ async function probeMethod({
|
|
|
110524
110503
|
if (response.status !== 402) {
|
|
110525
110504
|
return {
|
|
110526
110505
|
method,
|
|
110527
|
-
source: "probe",
|
|
110528
110506
|
requiresPayment: false,
|
|
110529
110507
|
statusCode: response.status
|
|
110530
110508
|
};
|
|
110531
110509
|
}
|
|
110532
110510
|
const protocols = detectPaymentProtocols(response);
|
|
110533
|
-
const
|
|
110511
|
+
const paymentOptions = [];
|
|
110512
|
+
let schema;
|
|
110513
|
+
const endpointSchemaResult = await resultFromPromise(
|
|
110514
|
+
"openapi",
|
|
110515
|
+
surface2,
|
|
110516
|
+
getEndpointSchema(url3, method),
|
|
110517
|
+
(e) => ({
|
|
110518
|
+
cause: "schema_fetch",
|
|
110519
|
+
message: e instanceof Error ? e.message : String(e)
|
|
110520
|
+
})
|
|
110521
|
+
);
|
|
110522
|
+
if (endpointSchemaResult.isOk() && endpointSchemaResult.value) {
|
|
110523
|
+
schema = endpointSchemaResult.value;
|
|
110524
|
+
} else if (endpointSchemaResult.isErr()) {
|
|
110525
|
+
log.debug(`Failed to fetch OpenAPI schema for: ${url3}`);
|
|
110526
|
+
}
|
|
110534
110527
|
if (protocols.includes("mpp")) {
|
|
110535
|
-
const
|
|
110536
|
-
if (challengeResult.isOk()) {
|
|
110537
|
-
const challenge2 = challengeResult.value;
|
|
110528
|
+
for (const challenge2 of parseMppChallenges(response)) {
|
|
110538
110529
|
const currency = challenge2.request.currency;
|
|
110539
110530
|
const amount2 = challenge2.request.amount;
|
|
110540
110531
|
const decimals2 = challenge2.request.decimals ?? 6;
|
|
110541
|
-
|
|
110542
|
-
const
|
|
110543
|
-
|
|
110544
|
-
|
|
110545
|
-
|
|
110546
|
-
|
|
110547
|
-
|
|
110548
|
-
|
|
110549
|
-
|
|
110550
|
-
|
|
110551
|
-
|
|
110552
|
-
|
|
110553
|
-
|
|
110554
|
-
|
|
110532
|
+
const recipient = challenge2.request.recipient;
|
|
110533
|
+
const methodDetails = challenge2.request.methodDetails;
|
|
110534
|
+
const chainId = methodDetails?.chainId ?? TEMPO_DEFAULT_CHAIN_ID;
|
|
110535
|
+
const network = `tempo:${String(chainId)}`;
|
|
110536
|
+
const description = challenge2.description ?? schema?.summary;
|
|
110537
|
+
if (amount2 && currency) {
|
|
110538
|
+
paymentOptions.push({
|
|
110539
|
+
protocol: "mpp",
|
|
110540
|
+
paymentMethod: challenge2.method,
|
|
110541
|
+
intent: challenge2.intent,
|
|
110542
|
+
realm: challenge2.realm,
|
|
110543
|
+
price: tokenStringToNumber(amount2, decimals2),
|
|
110544
|
+
network,
|
|
110545
|
+
asset: currency,
|
|
110546
|
+
...recipient ? { recipient } : {},
|
|
110547
|
+
...description ? { description } : {}
|
|
110548
|
+
});
|
|
110555
110549
|
}
|
|
110556
|
-
paymentMethods.push({
|
|
110557
|
-
protocol: "mpp",
|
|
110558
|
-
method: challenge2.method,
|
|
110559
|
-
intent: challenge2.intent,
|
|
110560
|
-
realm: challenge2.realm,
|
|
110561
|
-
...challenge2.description ? { description: challenge2.description } : {},
|
|
110562
|
-
...amount2 ? { price: tokenStringToNumber(amount2, decimals2) } : {},
|
|
110563
|
-
...currency ? { currency } : {},
|
|
110564
|
-
...schema ? { schema } : {},
|
|
110565
|
-
network: `tempo:${challenge2.method}`
|
|
110566
|
-
});
|
|
110567
110550
|
}
|
|
110568
110551
|
}
|
|
110569
110552
|
if (protocols.includes("x402")) {
|
|
@@ -110575,26 +110558,74 @@ async function probeMethod({
|
|
|
110575
110558
|
);
|
|
110576
110559
|
if (paymentRequiredResult.isOk()) {
|
|
110577
110560
|
const { resource, extensions, accepts } = paymentRequiredResult.value;
|
|
110561
|
+
if (!schema) {
|
|
110562
|
+
const inputSchema = getInputSchema(extensions);
|
|
110563
|
+
if (inputSchema) schema = inputSchema;
|
|
110564
|
+
}
|
|
110578
110565
|
for (const accept of accepts) {
|
|
110579
|
-
|
|
110566
|
+
paymentOptions.push({
|
|
110580
110567
|
protocol: "x402",
|
|
110581
|
-
...resource,
|
|
110582
|
-
schema: getInputSchema(extensions),
|
|
110583
110568
|
price: tokenStringToNumber(accept.amount),
|
|
110584
110569
|
network: accept.network,
|
|
110585
|
-
asset: accept.asset
|
|
110570
|
+
asset: accept.asset,
|
|
110571
|
+
...accept.payTo ? { recipient: accept.payTo } : {},
|
|
110572
|
+
...resource.description ? { description: resource.description } : {},
|
|
110573
|
+
...resource.mimeType ? { mimeType: resource.mimeType } : {}
|
|
110586
110574
|
});
|
|
110587
110575
|
}
|
|
110588
110576
|
}
|
|
110589
110577
|
}
|
|
110578
|
+
let estimatedPrice;
|
|
110579
|
+
let summary;
|
|
110580
|
+
const indexResult = resultFromThrowable(
|
|
110581
|
+
"openapi",
|
|
110582
|
+
surface2,
|
|
110583
|
+
() => {
|
|
110584
|
+
const origin = new URL(url3).origin;
|
|
110585
|
+
const path2 = new URL(url3).pathname || "/";
|
|
110586
|
+
return getIndexEntry(origin, path2, method);
|
|
110587
|
+
},
|
|
110588
|
+
(e) => ({
|
|
110589
|
+
cause: "index_lookup",
|
|
110590
|
+
message: e instanceof Error ? e.message : String(e)
|
|
110591
|
+
})
|
|
110592
|
+
);
|
|
110593
|
+
if (indexResult.isOk() && indexResult.value) {
|
|
110594
|
+
if (indexResult.value.price) estimatedPrice = indexResult.value.price;
|
|
110595
|
+
if (indexResult.value.summary) summary = indexResult.value.summary;
|
|
110596
|
+
}
|
|
110590
110597
|
return {
|
|
110591
110598
|
method,
|
|
110592
|
-
source: "probe",
|
|
110593
110599
|
requiresPayment: true,
|
|
110594
110600
|
statusCode: response.status,
|
|
110595
110601
|
protocols,
|
|
110596
|
-
|
|
110597
|
-
|
|
110602
|
+
paymentOptions,
|
|
110603
|
+
...schema ? { schema } : {},
|
|
110604
|
+
...estimatedPrice ? { estimatedPrice } : {},
|
|
110605
|
+
...summary ? { summary } : {}
|
|
110606
|
+
};
|
|
110607
|
+
}
|
|
110608
|
+
function parseMppChallenges(response) {
|
|
110609
|
+
const header = response.headers.get("WWW-Authenticate");
|
|
110610
|
+
if (!header) return [];
|
|
110611
|
+
const challenges = [];
|
|
110612
|
+
for (const segment of header.split(/,\s*(?=Payment\s)/i)) {
|
|
110613
|
+
const result = resultFromThrowable(
|
|
110614
|
+
"mpp",
|
|
110615
|
+
"check-endpoint",
|
|
110616
|
+
() => Challenge_exports.deserialize(segment.trim()),
|
|
110617
|
+
(e) => ({
|
|
110618
|
+
cause: "challenge_parse",
|
|
110619
|
+
message: e instanceof Error ? e.message : String(e)
|
|
110620
|
+
})
|
|
110621
|
+
);
|
|
110622
|
+
if (result.isOk()) {
|
|
110623
|
+
challenges.push(result.value);
|
|
110624
|
+
} else {
|
|
110625
|
+
log.debug("Failed to parse MPP challenge segment", result.error.message);
|
|
110626
|
+
}
|
|
110627
|
+
}
|
|
110628
|
+
return challenges;
|
|
110598
110629
|
}
|
|
110599
110630
|
function buildProbeRequest(url3, method, body, headers) {
|
|
110600
110631
|
const supportsBody = ["POST", "PUT", "PATCH"].includes(method);
|
|
@@ -110796,7 +110827,7 @@ var import_path2 = require("path");
|
|
|
110796
110827
|
var import_url = require("url");
|
|
110797
110828
|
function getVersion2() {
|
|
110798
110829
|
if (true) {
|
|
110799
|
-
return "0.
|
|
110830
|
+
return "0.4.1";
|
|
110800
110831
|
}
|
|
110801
110832
|
const __dirname3 = (0, import_path2.dirname)((0, import_url.fileURLToPath)(importMetaUrl));
|
|
110802
110833
|
const pkg = JSON.parse(
|
|
@@ -110934,7 +110965,8 @@ async function fetchLlmsTxt(surface2, origin) {
|
|
|
110934
110965
|
log.debug(`Fetching llms.txt from: ${llmsTxtUrl}`);
|
|
110935
110966
|
const result = await safeFetch(
|
|
110936
110967
|
surface2,
|
|
110937
|
-
new Request(llmsTxtUrl, { headers: { Accept: "text/plain" } })
|
|
110968
|
+
new Request(llmsTxtUrl, { headers: { Accept: "text/plain" } }),
|
|
110969
|
+
DEFAULT_FETCH_TIMEOUT
|
|
110938
110970
|
);
|
|
110939
110971
|
if (result.isErr()) return null;
|
|
110940
110972
|
if (!result.value.ok) return null;
|
|
@@ -110951,7 +110983,7 @@ async function discoverResources(surface2, url3) {
|
|
|
110951
110983
|
]);
|
|
110952
110984
|
if (!spec?.paths) {
|
|
110953
110985
|
log.debug(
|
|
110954
|
-
`No OpenAPI spec found for ${origin}. Tried: /openapi.json, /.well-known/openapi.json
|
|
110986
|
+
`No OpenAPI spec found for ${origin}. Tried: /openapi.json, /.well-known/openapi.json`
|
|
110955
110987
|
);
|
|
110956
110988
|
return null;
|
|
110957
110989
|
}
|
|
@@ -110961,9 +110993,16 @@ async function discoverResources(surface2, url3) {
|
|
|
110961
110993
|
return null;
|
|
110962
110994
|
}
|
|
110963
110995
|
log.info(`Found ${endpoints.length} endpoints for: ${origin}`);
|
|
110996
|
+
const rawInfo = spec.info;
|
|
110997
|
+
const info = rawInfo && typeof rawInfo.title === "string" ? {
|
|
110998
|
+
title: rawInfo.title,
|
|
110999
|
+
...typeof rawInfo.version === "string" ? { version: rawInfo.version } : {},
|
|
111000
|
+
...typeof rawInfo.description === "string" ? { description: rawInfo.description } : {}
|
|
111001
|
+
} : void 0;
|
|
110964
111002
|
return {
|
|
110965
111003
|
origin,
|
|
110966
111004
|
source: "openapi",
|
|
111005
|
+
...info ? { info } : {},
|
|
110967
111006
|
endpoints: endpoints.map(({ path: path2, method, summary, price, protocols }) => ({
|
|
110968
111007
|
path: path2,
|
|
110969
111008
|
method,
|
|
@@ -111029,17 +111068,13 @@ function registerDiscoveryTools(server) {
|
|
|
111029
111068
|
}
|
|
111030
111069
|
const result = discoverResult.value;
|
|
111031
111070
|
if (result) {
|
|
111032
|
-
const endpoints = result.endpoints.map(
|
|
111033
|
-
({ path: path2, summary, price }) => ({
|
|
111034
|
-
path: path2,
|
|
111035
|
-
summary,
|
|
111036
|
-
...price ? { price } : {}
|
|
111037
|
-
})
|
|
111038
|
-
);
|
|
111039
111071
|
return mcpSuccessJson({
|
|
111040
111072
|
found: true,
|
|
111041
111073
|
origin: result.origin,
|
|
111042
|
-
|
|
111074
|
+
...result.info ? { info: result.info } : {},
|
|
111075
|
+
endpoints: result.endpoints.map(
|
|
111076
|
+
(e) => ({ ...e })
|
|
111077
|
+
),
|
|
111043
111078
|
...result.instructions ? { instructions: result.instructions } : {}
|
|
111044
111079
|
});
|
|
111045
111080
|
}
|
|
@@ -111047,7 +111082,7 @@ function registerDiscoveryTools(server) {
|
|
|
111047
111082
|
return mcpSuccessJson({
|
|
111048
111083
|
found: false,
|
|
111049
111084
|
origin,
|
|
111050
|
-
error: "No OpenAPI spec found. Tried: /openapi.json, /.well-known/openapi.json
|
|
111085
|
+
error: "No OpenAPI spec found. Tried: /openapi.json, /.well-known/openapi.json"
|
|
111051
111086
|
});
|
|
111052
111087
|
}
|
|
111053
111088
|
);
|
|
@@ -111256,7 +111291,7 @@ var registerOrigins = ({ server }) => {
|
|
|
111256
111291
|
}
|
|
111257
111292
|
};
|
|
111258
111293
|
var getResourceResponse = async (resource, request) => {
|
|
111259
|
-
const fetchResult = await safeFetch(surface, request);
|
|
111294
|
+
const fetchResult = await safeFetch(surface, request, DEFAULT_FETCH_TIMEOUT);
|
|
111260
111295
|
if (fetchResult.isErr()) {
|
|
111261
111296
|
return err2("fetch", surface, {
|
|
111262
111297
|
cause: "network",
|
|
@@ -111532,7 +111567,7 @@ var import_path3 = require("path");
|
|
|
111532
111567
|
var import_url2 = require("url");
|
|
111533
111568
|
function getVersion3() {
|
|
111534
111569
|
if (true) {
|
|
111535
|
-
return "0.
|
|
111570
|
+
return "0.4.1";
|
|
111536
111571
|
}
|
|
111537
111572
|
const __dirname3 = (0, import_path3.dirname)((0, import_url2.fileURLToPath)(importMetaUrl));
|
|
111538
111573
|
const pkg = JSON.parse(
|