@zoralabs/protocol-deployments 0.7.0 → 0.7.5
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/.turbo/turbo-build$colon$js.log +26 -26
- package/CHANGELOG.md +56 -4
- package/dist/{_esm-AN6HMJZC.js → _esm-7WTTA2BK.js} +53 -53
- package/dist/{_esm-AN6HMJZC.js.map → _esm-7WTTA2BK.js.map} +1 -1
- package/dist/{ccip-3JNBGYOD.js → ccip-Y2GC34UW.js} +2 -2
- package/dist/{chunk-4DQDZNUA.js → chunk-TP53IMLY.js} +87 -87
- package/dist/chunk-TP53IMLY.js.map +1 -0
- package/dist/generated/sparks.d.ts +3 -0
- package/dist/generated/sparks.d.ts.map +1 -1
- package/dist/generated/wagmi.d.ts +4080 -376
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +1431 -266
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1347 -188
- package/dist/index.js.map +1 -1
- package/dist/{secp256k1-QZA5SALG.js → secp256k1-VMQNAPXV.js} +2 -12
- package/package.json +2 -2
- package/src/generated/sparks.ts +3 -0
- package/src/generated/wagmi.ts +1379 -191
- package/dist/chunk-4DQDZNUA.js.map +0 -1
- /package/dist/{ccip-3JNBGYOD.js.map → ccip-Y2GC34UW.js.map} +0 -0
- /package/dist/{secp256k1-QZA5SALG.js.map → secp256k1-VMQNAPXV.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
// ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.
|
|
1
|
+
// ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/version.js
|
|
2
2
|
var version = "1.0.7";
|
|
3
3
|
|
|
4
|
-
// ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.
|
|
4
|
+
// ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/errors.js
|
|
5
5
|
var BaseError = class _BaseError extends Error {
|
|
6
6
|
constructor(shortMessage, args = {}) {
|
|
7
7
|
const details = args.cause instanceof _BaseError ? args.cause.details : args.cause?.message ? args.cause.message : args.details;
|
|
@@ -54,7 +54,7 @@ var BaseError = class _BaseError extends Error {
|
|
|
54
54
|
}
|
|
55
55
|
};
|
|
56
56
|
|
|
57
|
-
// ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.
|
|
57
|
+
// ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/regex.js
|
|
58
58
|
function execTyped(regex, string) {
|
|
59
59
|
const match = regex.exec(string);
|
|
60
60
|
return match?.groups;
|
|
@@ -63,7 +63,7 @@ var bytesRegex = /^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/;
|
|
|
63
63
|
var integerRegex = /^u?int(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/;
|
|
64
64
|
var isTupleRegex = /^\(.+?\).*?$/;
|
|
65
65
|
|
|
66
|
-
// ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.
|
|
66
|
+
// ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/formatAbiParameter.js
|
|
67
67
|
var tupleRegex = /^tuple(?<array>(\[(\d*)\])*)$/;
|
|
68
68
|
function formatAbiParameter(abiParameter) {
|
|
69
69
|
let type = abiParameter.type;
|
|
@@ -90,7 +90,7 @@ function formatAbiParameter(abiParameter) {
|
|
|
90
90
|
return type;
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
// ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.
|
|
93
|
+
// ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/formatAbiParameters.js
|
|
94
94
|
function formatAbiParameters(abiParameters) {
|
|
95
95
|
let params = "";
|
|
96
96
|
const length = abiParameters.length;
|
|
@@ -103,7 +103,7 @@ function formatAbiParameters(abiParameters) {
|
|
|
103
103
|
return params;
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
// ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.
|
|
106
|
+
// ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/formatAbiItem.js
|
|
107
107
|
function formatAbiItem(abiItem) {
|
|
108
108
|
if (abiItem.type === "function")
|
|
109
109
|
return `function ${abiItem.name}(${formatAbiParameters(abiItem.inputs)})${abiItem.stateMutability && abiItem.stateMutability !== "nonpayable" ? ` ${abiItem.stateMutability}` : ""}${abiItem.outputs?.length ? ` returns (${formatAbiParameters(abiItem.outputs)})` : ""}`;
|
|
@@ -118,7 +118,7 @@ function formatAbiItem(abiItem) {
|
|
|
118
118
|
return "receive() external payable";
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
// ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.
|
|
121
|
+
// ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/runtime/signatures.js
|
|
122
122
|
var errorSignatureRegex = /^error (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)$/;
|
|
123
123
|
function isErrorSignature(signature) {
|
|
124
124
|
return errorSignatureRegex.test(signature);
|
|
@@ -169,7 +169,7 @@ var functionModifiers = /* @__PURE__ */ new Set([
|
|
|
169
169
|
"storage"
|
|
170
170
|
]);
|
|
171
171
|
|
|
172
|
-
// ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.
|
|
172
|
+
// ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/errors/abiItem.js
|
|
173
173
|
var UnknownTypeError = class extends BaseError {
|
|
174
174
|
constructor({ type }) {
|
|
175
175
|
super("Unknown type.", {
|
|
@@ -199,7 +199,7 @@ var UnknownSolidityTypeError = class extends BaseError {
|
|
|
199
199
|
}
|
|
200
200
|
};
|
|
201
201
|
|
|
202
|
-
// ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.
|
|
202
|
+
// ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/errors/abiParameter.js
|
|
203
203
|
var InvalidParameterError = class extends BaseError {
|
|
204
204
|
constructor({ param }) {
|
|
205
205
|
super("Invalid ABI parameter.", {
|
|
@@ -277,7 +277,7 @@ var InvalidAbiTypeParameterError = class extends BaseError {
|
|
|
277
277
|
}
|
|
278
278
|
};
|
|
279
279
|
|
|
280
|
-
// ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.
|
|
280
|
+
// ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/errors/signature.js
|
|
281
281
|
var InvalidSignatureError = class extends BaseError {
|
|
282
282
|
constructor({ signature, type }) {
|
|
283
283
|
super(`Invalid ${type} signature.`, {
|
|
@@ -319,7 +319,7 @@ var InvalidStructSignatureError = class extends BaseError {
|
|
|
319
319
|
}
|
|
320
320
|
};
|
|
321
321
|
|
|
322
|
-
// ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.
|
|
322
|
+
// ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/errors/struct.js
|
|
323
323
|
var CircularReferenceError = class extends BaseError {
|
|
324
324
|
constructor({ type }) {
|
|
325
325
|
super("Circular reference detected.", {
|
|
@@ -334,7 +334,7 @@ var CircularReferenceError = class extends BaseError {
|
|
|
334
334
|
}
|
|
335
335
|
};
|
|
336
336
|
|
|
337
|
-
// ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.
|
|
337
|
+
// ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/errors/splitParameters.js
|
|
338
338
|
var InvalidParenthesisError = class extends BaseError {
|
|
339
339
|
constructor({ current, depth }) {
|
|
340
340
|
super("Unbalanced parentheses.", {
|
|
@@ -352,7 +352,7 @@ var InvalidParenthesisError = class extends BaseError {
|
|
|
352
352
|
}
|
|
353
353
|
};
|
|
354
354
|
|
|
355
|
-
// ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.
|
|
355
|
+
// ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/runtime/cache.js
|
|
356
356
|
function getParameterCacheKey(param, type, structs) {
|
|
357
357
|
let structKey = "";
|
|
358
358
|
if (structs)
|
|
@@ -424,7 +424,7 @@ var parameterCache = /* @__PURE__ */ new Map([
|
|
|
424
424
|
]
|
|
425
425
|
]);
|
|
426
426
|
|
|
427
|
-
// ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.
|
|
427
|
+
// ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/runtime/utils.js
|
|
428
428
|
function parseSignature(signature, structs = {}) {
|
|
429
429
|
if (isFunctionSignature(signature)) {
|
|
430
430
|
const match = execFunctionSignature(signature);
|
|
@@ -607,7 +607,7 @@ function isValidDataLocation(type, isArray) {
|
|
|
607
607
|
return isArray || type === "bytes" || type === "string" || type === "tuple";
|
|
608
608
|
}
|
|
609
609
|
|
|
610
|
-
// ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.
|
|
610
|
+
// ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/runtime/structs.js
|
|
611
611
|
function parseStructs(signatures) {
|
|
612
612
|
const shallowStructs = {};
|
|
613
613
|
const signaturesLength = signatures.length;
|
|
@@ -677,7 +677,7 @@ function resolveStructs(abiParameters, structs, ancestors = /* @__PURE__ */ new
|
|
|
677
677
|
return components;
|
|
678
678
|
}
|
|
679
679
|
|
|
680
|
-
// ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.
|
|
680
|
+
// ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/parseAbi.js
|
|
681
681
|
function parseAbi(signatures) {
|
|
682
682
|
const structs = parseStructs(signatures);
|
|
683
683
|
const abi = [];
|
|
@@ -691,14 +691,14 @@ function parseAbi(signatures) {
|
|
|
691
691
|
return abi;
|
|
692
692
|
}
|
|
693
693
|
|
|
694
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
694
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/accounts/utils/parseAccount.js
|
|
695
695
|
function parseAccount(account) {
|
|
696
696
|
if (typeof account === "string")
|
|
697
697
|
return { address: account, type: "json-rpc" };
|
|
698
698
|
return account;
|
|
699
699
|
}
|
|
700
700
|
|
|
701
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
701
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/constants/abis.js
|
|
702
702
|
var multicall3Abi = [
|
|
703
703
|
{
|
|
704
704
|
inputs: [
|
|
@@ -850,17 +850,17 @@ var universalResolverReverseAbi = [
|
|
|
850
850
|
}
|
|
851
851
|
];
|
|
852
852
|
|
|
853
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
853
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/constants/contract.js
|
|
854
854
|
var aggregate3Signature = "0x82ad56cb";
|
|
855
855
|
|
|
856
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
856
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/constants/contracts.js
|
|
857
857
|
var deploylessCallViaBytecodeBytecode = "0x608060405234801561001057600080fd5b5060405161018e38038061018e83398101604081905261002f91610124565b6000808351602085016000f59050803b61004857600080fd5b6000808351602085016000855af16040513d6000823e81610067573d81fd5b3d81f35b634e487b7160e01b600052604160045260246000fd5b600082601f83011261009257600080fd5b81516001600160401b038111156100ab576100ab61006b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156100d9576100d961006b565b6040528181528382016020018510156100f157600080fd5b60005b82811015610110576020818601810151838301820152016100f4565b506000918101602001919091529392505050565b6000806040838503121561013757600080fd5b82516001600160401b0381111561014d57600080fd5b61015985828601610081565b602085015190935090506001600160401b0381111561017757600080fd5b61018385828601610081565b915050925092905056fe";
|
|
858
858
|
var deploylessCallViaFactoryBytecode = "0x608060405234801561001057600080fd5b506040516102c03803806102c083398101604081905261002f916101e6565b836001600160a01b03163b6000036100e457600080836001600160a01b03168360405161005c9190610270565b6000604051808303816000865af19150503d8060008114610099576040519150601f19603f3d011682016040523d82523d6000602084013e61009e565b606091505b50915091508115806100b857506001600160a01b0386163b155b156100e1578060405163101bb98d60e01b81526004016100d8919061028c565b60405180910390fd5b50505b6000808451602086016000885af16040513d6000823e81610103573d81fd5b3d81f35b80516001600160a01b038116811461011e57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561015457818101518382015260200161013c565b50506000910152565b600082601f83011261016e57600080fd5b81516001600160401b0381111561018757610187610123565b604051601f8201601f19908116603f011681016001600160401b03811182821017156101b5576101b5610123565b6040528181528382016020018510156101cd57600080fd5b6101de826020830160208701610139565b949350505050565b600080600080608085870312156101fc57600080fd5b61020585610107565b60208601519094506001600160401b0381111561022157600080fd5b61022d8782880161015d565b93505061023c60408601610107565b60608601519092506001600160401b0381111561025857600080fd5b6102648782880161015d565b91505092959194509250565b60008251610282818460208701610139565b9190910192915050565b60208152600082518060208401526102ab816040850160208701610139565b601f01601f1916919091016040019291505056fe";
|
|
859
859
|
|
|
860
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
860
|
+
// ../../node_modules/.pnpm/viem@2.22.12_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
|
|
861
861
|
var version2 = "2.22.12";
|
|
862
862
|
|
|
863
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
863
|
+
// ../../node_modules/.pnpm/viem@2.22.12_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
|
|
864
864
|
var errorConfig = {
|
|
865
865
|
getDocsUrl: ({ docsBaseUrl, docsPath: docsPath4 = "", docsSlug }) => docsPath4 ? `${docsBaseUrl ?? "https://viem.sh"}${docsPath4}${docsSlug ? `#${docsSlug}` : ""}` : void 0,
|
|
866
866
|
version: `viem@${version2}`
|
|
@@ -944,7 +944,7 @@ function walk(err, fn) {
|
|
|
944
944
|
return fn ? null : err;
|
|
945
945
|
}
|
|
946
946
|
|
|
947
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
947
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/chain.js
|
|
948
948
|
var ChainDoesNotSupportContract = class extends BaseError2 {
|
|
949
949
|
constructor({ blockNumber, chain, contract }) {
|
|
950
950
|
super(`Chain "${chain.name}" does not support contract "${contract.name}".`, {
|
|
@@ -968,7 +968,7 @@ var ClientChainNotConfiguredError = class extends BaseError2 {
|
|
|
968
968
|
}
|
|
969
969
|
};
|
|
970
970
|
|
|
971
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
971
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/constants/solidity.js
|
|
972
972
|
var solidityError = {
|
|
973
973
|
inputs: [
|
|
974
974
|
{
|
|
@@ -990,7 +990,7 @@ var solidityPanic = {
|
|
|
990
990
|
type: "error"
|
|
991
991
|
};
|
|
992
992
|
|
|
993
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
993
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/formatAbiItem.js
|
|
994
994
|
function formatAbiItem2(abiItem, { includeName = false } = {}) {
|
|
995
995
|
if (abiItem.type !== "function" && abiItem.type !== "event" && abiItem.type !== "error")
|
|
996
996
|
throw new InvalidDefinitionTypeError(abiItem.type);
|
|
@@ -1008,7 +1008,7 @@ function formatAbiParam(param, { includeName }) {
|
|
|
1008
1008
|
return param.type + (includeName && param.name ? ` ${param.name}` : "");
|
|
1009
1009
|
}
|
|
1010
1010
|
|
|
1011
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1011
|
+
// ../../node_modules/.pnpm/viem@2.22.12_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
|
|
1012
1012
|
function isHex(value, { strict = true } = {}) {
|
|
1013
1013
|
if (!value)
|
|
1014
1014
|
return false;
|
|
@@ -1017,14 +1017,14 @@ function isHex(value, { strict = true } = {}) {
|
|
|
1017
1017
|
return strict ? /^0x[0-9a-fA-F]*$/.test(value) : value.startsWith("0x");
|
|
1018
1018
|
}
|
|
1019
1019
|
|
|
1020
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1020
|
+
// ../../node_modules/.pnpm/viem@2.22.12_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
|
|
1021
1021
|
function size(value) {
|
|
1022
1022
|
if (isHex(value, { strict: false }))
|
|
1023
1023
|
return Math.ceil((value.length - 2) / 2);
|
|
1024
1024
|
return value.length;
|
|
1025
1025
|
}
|
|
1026
1026
|
|
|
1027
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1027
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/abi.js
|
|
1028
1028
|
var AbiConstructorNotFoundError = class extends BaseError2 {
|
|
1029
1029
|
constructor({ docsPath: docsPath4 }) {
|
|
1030
1030
|
super([
|
|
@@ -1197,7 +1197,7 @@ var InvalidDefinitionTypeError = class extends BaseError2 {
|
|
|
1197
1197
|
}
|
|
1198
1198
|
};
|
|
1199
1199
|
|
|
1200
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1200
|
+
// ../../node_modules/.pnpm/viem@2.22.12_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
|
|
1201
1201
|
var SliceOffsetOutOfBoundsError = class extends BaseError2 {
|
|
1202
1202
|
constructor({ offset, position, size: size2 }) {
|
|
1203
1203
|
super(`Slice ${position === "start" ? "starting" : "ending"} at offset "${offset}" is out-of-bounds (size: ${size2}).`, { name: "SliceOffsetOutOfBoundsError" });
|
|
@@ -1214,7 +1214,7 @@ var InvalidBytesLengthError = class extends BaseError2 {
|
|
|
1214
1214
|
}
|
|
1215
1215
|
};
|
|
1216
1216
|
|
|
1217
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1217
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/data/slice.js
|
|
1218
1218
|
function slice(value, start, end, { strict } = {}) {
|
|
1219
1219
|
if (isHex(value, { strict: false }))
|
|
1220
1220
|
return sliceHex(value, start, end, {
|
|
@@ -1256,7 +1256,7 @@ function sliceHex(value_, start, end, { strict } = {}) {
|
|
|
1256
1256
|
return value;
|
|
1257
1257
|
}
|
|
1258
1258
|
|
|
1259
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1259
|
+
// ../../node_modules/.pnpm/viem@2.22.12_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
|
|
1260
1260
|
function pad(hexOrBytes, { dir, size: size2 = 32 } = {}) {
|
|
1261
1261
|
if (typeof hexOrBytes === "string")
|
|
1262
1262
|
return padHex(hexOrBytes, { dir, size: size2 });
|
|
@@ -1291,7 +1291,7 @@ function padBytes(bytes, { dir, size: size2 = 32 } = {}) {
|
|
|
1291
1291
|
return paddedBytes;
|
|
1292
1292
|
}
|
|
1293
1293
|
|
|
1294
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1294
|
+
// ../../node_modules/.pnpm/viem@2.22.12_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
|
|
1295
1295
|
var IntegerOutOfRangeError = class extends BaseError2 {
|
|
1296
1296
|
constructor({ max, min, signed, size: size2, value }) {
|
|
1297
1297
|
super(`Number "${value}" is not in safe ${size2 ? `${size2 * 8}-bit ${signed ? "signed" : "unsigned"} ` : ""}integer range ${max ? `(${min} to ${max})` : `(above ${min})`}`, { name: "IntegerOutOfRangeError" });
|
|
@@ -1310,7 +1310,7 @@ var SizeOverflowError = class extends BaseError2 {
|
|
|
1310
1310
|
}
|
|
1311
1311
|
};
|
|
1312
1312
|
|
|
1313
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1313
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/data/trim.js
|
|
1314
1314
|
function trim(hexOrBytes, { dir = "left" } = {}) {
|
|
1315
1315
|
let data = typeof hexOrBytes === "string" ? hexOrBytes.replace("0x", "") : hexOrBytes;
|
|
1316
1316
|
let sliceLength = 0;
|
|
@@ -1329,7 +1329,7 @@ function trim(hexOrBytes, { dir = "left" } = {}) {
|
|
|
1329
1329
|
return data;
|
|
1330
1330
|
}
|
|
1331
1331
|
|
|
1332
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1332
|
+
// ../../node_modules/.pnpm/viem@2.22.12_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
|
|
1333
1333
|
function assertSize(hexOrBytes, { size: size2 }) {
|
|
1334
1334
|
if (size(hexOrBytes) > size2)
|
|
1335
1335
|
throw new SizeOverflowError({
|
|
@@ -1354,7 +1354,7 @@ function hexToNumber(hex, opts = {}) {
|
|
|
1354
1354
|
return Number(hexToBigInt(hex, opts));
|
|
1355
1355
|
}
|
|
1356
1356
|
|
|
1357
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1357
|
+
// ../../node_modules/.pnpm/viem@2.22.12_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
|
|
1358
1358
|
var hexes = /* @__PURE__ */ Array.from({ length: 256 }, (_v, i) => i.toString(16).padStart(2, "0"));
|
|
1359
1359
|
function toHex(value, opts = {}) {
|
|
1360
1360
|
if (typeof value === "number" || typeof value === "bigint")
|
|
@@ -1420,7 +1420,7 @@ function stringToHex(value_, opts = {}) {
|
|
|
1420
1420
|
return bytesToHex(value, opts);
|
|
1421
1421
|
}
|
|
1422
1422
|
|
|
1423
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1423
|
+
// ../../node_modules/.pnpm/viem@2.22.12_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
|
|
1424
1424
|
var encoder2 = /* @__PURE__ */ new TextEncoder();
|
|
1425
1425
|
function toBytes(value, opts = {}) {
|
|
1426
1426
|
if (typeof value === "number" || typeof value === "bigint")
|
|
@@ -1770,7 +1770,7 @@ var genShake = (suffix, blockLen, outputLen) => wrapXOFConstructorWithOpts((opts
|
|
|
1770
1770
|
var shake128 = /* @__PURE__ */ genShake(31, 168, 128 / 8);
|
|
1771
1771
|
var shake256 = /* @__PURE__ */ genShake(31, 136, 256 / 8);
|
|
1772
1772
|
|
|
1773
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1773
|
+
// ../../node_modules/.pnpm/viem@2.22.12_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
|
|
1774
1774
|
function keccak256(value, to_) {
|
|
1775
1775
|
const to = to_ || "hex";
|
|
1776
1776
|
const bytes = keccak_256(isHex(value, { strict: false }) ? toBytes(value) : value);
|
|
@@ -1779,13 +1779,13 @@ function keccak256(value, to_) {
|
|
|
1779
1779
|
return toHex(bytes);
|
|
1780
1780
|
}
|
|
1781
1781
|
|
|
1782
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1782
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/hashSignature.js
|
|
1783
1783
|
var hash = (value) => keccak256(toBytes(value));
|
|
1784
1784
|
function hashSignature(sig) {
|
|
1785
1785
|
return hash(sig);
|
|
1786
1786
|
}
|
|
1787
1787
|
|
|
1788
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1788
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/normalizeSignature.js
|
|
1789
1789
|
function normalizeSignature(signature) {
|
|
1790
1790
|
let active = true;
|
|
1791
1791
|
let current = "";
|
|
@@ -1829,7 +1829,7 @@ function normalizeSignature(signature) {
|
|
|
1829
1829
|
return result;
|
|
1830
1830
|
}
|
|
1831
1831
|
|
|
1832
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1832
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/toSignature.js
|
|
1833
1833
|
var toSignature = (def) => {
|
|
1834
1834
|
const def_ = (() => {
|
|
1835
1835
|
if (typeof def === "string")
|
|
@@ -1839,15 +1839,15 @@ var toSignature = (def) => {
|
|
|
1839
1839
|
return normalizeSignature(def_);
|
|
1840
1840
|
};
|
|
1841
1841
|
|
|
1842
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1842
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/toSignatureHash.js
|
|
1843
1843
|
function toSignatureHash(fn) {
|
|
1844
1844
|
return hashSignature(toSignature(fn));
|
|
1845
1845
|
}
|
|
1846
1846
|
|
|
1847
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1847
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/toFunctionSelector.js
|
|
1848
1848
|
var toFunctionSelector = (fn) => slice(toSignatureHash(fn), 0, 4);
|
|
1849
1849
|
|
|
1850
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1850
|
+
// ../../node_modules/.pnpm/viem@2.22.12_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
|
|
1851
1851
|
var InvalidAddressError = class extends BaseError2 {
|
|
1852
1852
|
constructor({ address }) {
|
|
1853
1853
|
super(`Address "${address}" is invalid.`, {
|
|
@@ -1860,7 +1860,7 @@ var InvalidAddressError = class extends BaseError2 {
|
|
|
1860
1860
|
}
|
|
1861
1861
|
};
|
|
1862
1862
|
|
|
1863
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1863
|
+
// ../../node_modules/.pnpm/viem@2.22.12_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
|
|
1864
1864
|
var LruMap = class extends Map {
|
|
1865
1865
|
constructor(size2) {
|
|
1866
1866
|
super();
|
|
@@ -1891,7 +1891,7 @@ var LruMap = class extends Map {
|
|
|
1891
1891
|
}
|
|
1892
1892
|
};
|
|
1893
1893
|
|
|
1894
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1894
|
+
// ../../node_modules/.pnpm/viem@2.22.12_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
|
|
1895
1895
|
var addressRegex = /^0x[a-fA-F0-9]{40}$/;
|
|
1896
1896
|
var isAddressCache = /* @__PURE__ */ new LruMap(8192);
|
|
1897
1897
|
function isAddress(address, options) {
|
|
@@ -1912,7 +1912,7 @@ function isAddress(address, options) {
|
|
|
1912
1912
|
return result;
|
|
1913
1913
|
}
|
|
1914
1914
|
|
|
1915
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1915
|
+
// ../../node_modules/.pnpm/viem@2.22.12_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
|
|
1916
1916
|
var checksumAddressCache = /* @__PURE__ */ new LruMap(8192);
|
|
1917
1917
|
function checksumAddress(address_, chainId) {
|
|
1918
1918
|
if (checksumAddressCache.has(`${address_}.${chainId}`))
|
|
@@ -1933,7 +1933,7 @@ function checksumAddress(address_, chainId) {
|
|
|
1933
1933
|
return result;
|
|
1934
1934
|
}
|
|
1935
1935
|
|
|
1936
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1936
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/cursor.js
|
|
1937
1937
|
var NegativeOffsetError = class extends BaseError2 {
|
|
1938
1938
|
constructor({ offset }) {
|
|
1939
1939
|
super(`Offset \`${offset}\` cannot be negative.`, {
|
|
@@ -1952,7 +1952,7 @@ var RecursiveReadLimitExceededError = class extends BaseError2 {
|
|
|
1952
1952
|
}
|
|
1953
1953
|
};
|
|
1954
1954
|
|
|
1955
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1955
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/cursor.js
|
|
1956
1956
|
var staticCursor = {
|
|
1957
1957
|
bytes: new Uint8Array(),
|
|
1958
1958
|
dataView: new DataView(new ArrayBuffer(0)),
|
|
@@ -2121,7 +2121,7 @@ function createCursor(bytes, { recursiveReadLimit = 8192 } = {}) {
|
|
|
2121
2121
|
return cursor;
|
|
2122
2122
|
}
|
|
2123
2123
|
|
|
2124
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
2124
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/encoding/fromBytes.js
|
|
2125
2125
|
function bytesToBigInt(bytes, opts = {}) {
|
|
2126
2126
|
if (typeof opts.size !== "undefined")
|
|
2127
2127
|
assertSize(bytes, { size: opts.size });
|
|
@@ -2153,7 +2153,7 @@ function bytesToString(bytes_, opts = {}) {
|
|
|
2153
2153
|
return new TextDecoder().decode(bytes);
|
|
2154
2154
|
}
|
|
2155
2155
|
|
|
2156
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
2156
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/data/concat.js
|
|
2157
2157
|
function concat(values) {
|
|
2158
2158
|
if (typeof values[0] === "string")
|
|
2159
2159
|
return concatHex(values);
|
|
@@ -2176,10 +2176,10 @@ function concatHex(values) {
|
|
|
2176
2176
|
return `0x${values.reduce((acc, x) => acc + x.replace("0x", ""), "")}`;
|
|
2177
2177
|
}
|
|
2178
2178
|
|
|
2179
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
2179
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/regex.js
|
|
2180
2180
|
var integerRegex2 = /^(u?int)(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/;
|
|
2181
2181
|
|
|
2182
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
2182
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/encodeAbiParameters.js
|
|
2183
2183
|
function encodeAbiParameters(params, values) {
|
|
2184
2184
|
if (params.length !== values.length)
|
|
2185
2185
|
throw new AbiEncodingLengthMismatchError({
|
|
@@ -2393,7 +2393,7 @@ function getArrayComponents(type) {
|
|
|
2393
2393
|
) : void 0;
|
|
2394
2394
|
}
|
|
2395
2395
|
|
|
2396
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
2396
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/decodeAbiParameters.js
|
|
2397
2397
|
function decodeAbiParameters(params, data) {
|
|
2398
2398
|
const bytes = typeof data === "string" ? hexToBytes(data) : data;
|
|
2399
2399
|
const cursor = createCursor(bytes);
|
|
@@ -2580,7 +2580,7 @@ function hasDynamicChild(param) {
|
|
|
2580
2580
|
return false;
|
|
2581
2581
|
}
|
|
2582
2582
|
|
|
2583
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
2583
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/decodeErrorResult.js
|
|
2584
2584
|
function decodeErrorResult(parameters) {
|
|
2585
2585
|
const { abi, data } = parameters;
|
|
2586
2586
|
const signature = slice(data, 0, 4);
|
|
@@ -2599,16 +2599,16 @@ function decodeErrorResult(parameters) {
|
|
|
2599
2599
|
};
|
|
2600
2600
|
}
|
|
2601
2601
|
|
|
2602
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
2602
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/stringify.js
|
|
2603
2603
|
var stringify = (value, replacer, space) => JSON.stringify(value, (key, value_) => {
|
|
2604
2604
|
const value2 = typeof value_ === "bigint" ? value_.toString() : value_;
|
|
2605
2605
|
return typeof replacer === "function" ? replacer(key, value2) : value2;
|
|
2606
2606
|
}, space);
|
|
2607
2607
|
|
|
2608
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
2608
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/toEventSelector.js
|
|
2609
2609
|
var toEventSelector = toSignatureHash;
|
|
2610
2610
|
|
|
2611
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
2611
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/getAbiItem.js
|
|
2612
2612
|
function getAbiItem(parameters) {
|
|
2613
2613
|
const { abi, args = [], name } = parameters;
|
|
2614
2614
|
const isSelector = isHex(name, { strict: false });
|
|
@@ -2720,7 +2720,7 @@ function getAmbiguousTypes(sourceParameters, targetParameters, args) {
|
|
|
2720
2720
|
return;
|
|
2721
2721
|
}
|
|
2722
2722
|
|
|
2723
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
2723
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/constants/unit.js
|
|
2724
2724
|
var etherUnits = {
|
|
2725
2725
|
gwei: 9,
|
|
2726
2726
|
wei: 18
|
|
@@ -2730,7 +2730,7 @@ var gweiUnits = {
|
|
|
2730
2730
|
wei: 9
|
|
2731
2731
|
};
|
|
2732
2732
|
|
|
2733
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
2733
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/unit/formatUnits.js
|
|
2734
2734
|
function formatUnits(value, decimals) {
|
|
2735
2735
|
let display = value.toString();
|
|
2736
2736
|
const negative = display.startsWith("-");
|
|
@@ -2745,17 +2745,17 @@ function formatUnits(value, decimals) {
|
|
|
2745
2745
|
return `${negative ? "-" : ""}${integer || "0"}${fraction ? `.${fraction}` : ""}`;
|
|
2746
2746
|
}
|
|
2747
2747
|
|
|
2748
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
2748
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/unit/formatEther.js
|
|
2749
2749
|
function formatEther(wei, unit = "wei") {
|
|
2750
2750
|
return formatUnits(wei, etherUnits[unit]);
|
|
2751
2751
|
}
|
|
2752
2752
|
|
|
2753
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
2753
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/unit/formatGwei.js
|
|
2754
2754
|
function formatGwei(wei, unit = "wei") {
|
|
2755
2755
|
return formatUnits(wei, gweiUnits[unit]);
|
|
2756
2756
|
}
|
|
2757
2757
|
|
|
2758
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
2758
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/stateOverride.js
|
|
2759
2759
|
var AccountStateConflictError = class extends BaseError2 {
|
|
2760
2760
|
constructor({ address }) {
|
|
2761
2761
|
super(`State for account "${address}" is set multiple times.`, {
|
|
@@ -2801,7 +2801,7 @@ function prettyStateOverride(stateOverride) {
|
|
|
2801
2801
|
}, " State Override:\n").slice(0, -1);
|
|
2802
2802
|
}
|
|
2803
2803
|
|
|
2804
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
2804
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/transaction.js
|
|
2805
2805
|
function prettyPrint(args) {
|
|
2806
2806
|
const entries = Object.entries(args).map(([key, value]) => {
|
|
2807
2807
|
if (value === void 0 || value === false)
|
|
@@ -2820,10 +2820,10 @@ var FeeConflictError = class extends BaseError2 {
|
|
|
2820
2820
|
}
|
|
2821
2821
|
};
|
|
2822
2822
|
|
|
2823
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
2823
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/utils.js
|
|
2824
2824
|
var getUrl = (url) => url;
|
|
2825
2825
|
|
|
2826
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
2826
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/contract.js
|
|
2827
2827
|
var CallExecutionError = class extends BaseError2 {
|
|
2828
2828
|
constructor(cause, { account: account_, docsPath: docsPath4, chain, data, gas, gasPrice, maxFeePerGas, maxPriorityFeePerGas, nonce, to, value, stateOverride }) {
|
|
2829
2829
|
const account = account_ ? parseAccount(account_) : void 0;
|
|
@@ -2892,7 +2892,7 @@ var RawContractError = class extends BaseError2 {
|
|
|
2892
2892
|
}
|
|
2893
2893
|
};
|
|
2894
2894
|
|
|
2895
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
2895
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/decodeFunctionResult.js
|
|
2896
2896
|
var docsPath = "/docs/contract/decodeFunctionResult";
|
|
2897
2897
|
function decodeFunctionResult(parameters) {
|
|
2898
2898
|
const { abi, args, functionName, data } = parameters;
|
|
@@ -2915,7 +2915,7 @@ function decodeFunctionResult(parameters) {
|
|
|
2915
2915
|
return void 0;
|
|
2916
2916
|
}
|
|
2917
2917
|
|
|
2918
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
2918
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/encodeDeployData.js
|
|
2919
2919
|
var docsPath2 = "/docs/contract/encodeDeployData";
|
|
2920
2920
|
function encodeDeployData(parameters) {
|
|
2921
2921
|
const { abi, args, bytecode } = parameters;
|
|
@@ -2932,7 +2932,7 @@ function encodeDeployData(parameters) {
|
|
|
2932
2932
|
return concatHex([bytecode, data]);
|
|
2933
2933
|
}
|
|
2934
2934
|
|
|
2935
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
2935
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/prepareEncodeFunctionData.js
|
|
2936
2936
|
var docsPath3 = "/docs/contract/encodeFunctionData";
|
|
2937
2937
|
function prepareEncodeFunctionData(parameters) {
|
|
2938
2938
|
const { abi, args, functionName } = parameters;
|
|
@@ -2955,7 +2955,7 @@ function prepareEncodeFunctionData(parameters) {
|
|
|
2955
2955
|
};
|
|
2956
2956
|
}
|
|
2957
2957
|
|
|
2958
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
2958
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/encodeFunctionData.js
|
|
2959
2959
|
function encodeFunctionData(parameters) {
|
|
2960
2960
|
const { args } = parameters;
|
|
2961
2961
|
const { abi, functionName } = (() => {
|
|
@@ -2969,7 +2969,7 @@ function encodeFunctionData(parameters) {
|
|
|
2969
2969
|
return concatHex([signature, data ?? "0x"]);
|
|
2970
2970
|
}
|
|
2971
2971
|
|
|
2972
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
2972
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/chain/getChainContractAddress.js
|
|
2973
2973
|
function getChainContractAddress({ blockNumber, chain, contract: name }) {
|
|
2974
2974
|
const contract = chain?.contracts?.[name];
|
|
2975
2975
|
if (!contract)
|
|
@@ -2989,7 +2989,7 @@ function getChainContractAddress({ blockNumber, chain, contract: name }) {
|
|
|
2989
2989
|
return contract.address;
|
|
2990
2990
|
}
|
|
2991
2991
|
|
|
2992
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
2992
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/node.js
|
|
2993
2993
|
var ExecutionRevertedError = class extends BaseError2 {
|
|
2994
2994
|
constructor({ cause, message } = {}) {
|
|
2995
2995
|
const reason = message?.replace("execution reverted: ", "")?.replace("execution reverted", "");
|
|
@@ -3168,7 +3168,7 @@ var UnknownNodeError = class extends BaseError2 {
|
|
|
3168
3168
|
}
|
|
3169
3169
|
};
|
|
3170
3170
|
|
|
3171
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
3171
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/request.js
|
|
3172
3172
|
var HttpRequestError = class extends BaseError2 {
|
|
3173
3173
|
constructor({ body, cause, details, headers, status, url }) {
|
|
3174
3174
|
super("HTTP request failed.", {
|
|
@@ -3212,7 +3212,7 @@ var HttpRequestError = class extends BaseError2 {
|
|
|
3212
3212
|
}
|
|
3213
3213
|
};
|
|
3214
3214
|
|
|
3215
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
3215
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/errors/getNodeError.js
|
|
3216
3216
|
function getNodeError(err, args) {
|
|
3217
3217
|
const message = (err.details || "").toLowerCase();
|
|
3218
3218
|
const executionRevertedError = err instanceof BaseError2 ? err.walk((e) => e?.code === ExecutionRevertedError.code) : err;
|
|
@@ -3261,7 +3261,7 @@ function getNodeError(err, args) {
|
|
|
3261
3261
|
});
|
|
3262
3262
|
}
|
|
3263
3263
|
|
|
3264
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
3264
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/errors/getCallError.js
|
|
3265
3265
|
function getCallError(err, { docsPath: docsPath4, ...args }) {
|
|
3266
3266
|
const cause = (() => {
|
|
3267
3267
|
const cause2 = getNodeError(err, args);
|
|
@@ -3275,7 +3275,7 @@ function getCallError(err, { docsPath: docsPath4, ...args }) {
|
|
|
3275
3275
|
});
|
|
3276
3276
|
}
|
|
3277
3277
|
|
|
3278
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
3278
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/formatters/extract.js
|
|
3279
3279
|
function extract(value_, { format }) {
|
|
3280
3280
|
if (!format)
|
|
3281
3281
|
return {};
|
|
@@ -3294,7 +3294,7 @@ function extract(value_, { format }) {
|
|
|
3294
3294
|
return value;
|
|
3295
3295
|
}
|
|
3296
3296
|
|
|
3297
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
3297
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/formatters/transactionRequest.js
|
|
3298
3298
|
var rpcTransactionType = {
|
|
3299
3299
|
legacy: "0x0",
|
|
3300
3300
|
eip2930: "0x1",
|
|
@@ -3352,7 +3352,7 @@ function formatAuthorizationList(authorizationList) {
|
|
|
3352
3352
|
}));
|
|
3353
3353
|
}
|
|
3354
3354
|
|
|
3355
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
3355
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/promise/withResolvers.js
|
|
3356
3356
|
function withResolvers() {
|
|
3357
3357
|
let resolve = () => void 0;
|
|
3358
3358
|
let reject = () => void 0;
|
|
@@ -3363,7 +3363,7 @@ function withResolvers() {
|
|
|
3363
3363
|
return { promise, resolve, reject };
|
|
3364
3364
|
}
|
|
3365
3365
|
|
|
3366
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
3366
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/promise/createBatchScheduler.js
|
|
3367
3367
|
var schedulerCache = /* @__PURE__ */ new Map();
|
|
3368
3368
|
function createBatchScheduler({ fn, id, shouldSplitBatch, wait = 0, sort }) {
|
|
3369
3369
|
const exec = async () => {
|
|
@@ -3409,7 +3409,7 @@ function createBatchScheduler({ fn, id, shouldSplitBatch, wait = 0, sort }) {
|
|
|
3409
3409
|
};
|
|
3410
3410
|
}
|
|
3411
3411
|
|
|
3412
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
3412
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/stateOverride.js
|
|
3413
3413
|
function serializeStateMapping(stateMapping) {
|
|
3414
3414
|
if (!stateMapping || stateMapping.length === 0)
|
|
3415
3415
|
return void 0;
|
|
@@ -3462,7 +3462,7 @@ function serializeStateOverride(parameters) {
|
|
|
3462
3462
|
return rpcStateOverride;
|
|
3463
3463
|
}
|
|
3464
3464
|
|
|
3465
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
3465
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/constants/number.js
|
|
3466
3466
|
var maxInt8 = 2n ** (8n - 1n) - 1n;
|
|
3467
3467
|
var maxInt16 = 2n ** (16n - 1n) - 1n;
|
|
3468
3468
|
var maxInt24 = 2n ** (24n - 1n) - 1n;
|
|
@@ -3560,7 +3560,7 @@ var maxUint240 = 2n ** 240n - 1n;
|
|
|
3560
3560
|
var maxUint248 = 2n ** 248n - 1n;
|
|
3561
3561
|
var maxUint256 = 2n ** 256n - 1n;
|
|
3562
3562
|
|
|
3563
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
3563
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/transaction/assertRequest.js
|
|
3564
3564
|
function assertRequest(args) {
|
|
3565
3565
|
const { account: account_, gasPrice, maxFeePerGas, maxPriorityFeePerGas, to } = args;
|
|
3566
3566
|
const account = account_ ? parseAccount(account_) : void 0;
|
|
@@ -3576,7 +3576,7 @@ function assertRequest(args) {
|
|
|
3576
3576
|
throw new TipAboveFeeCapError({ maxFeePerGas, maxPriorityFeePerGas });
|
|
3577
3577
|
}
|
|
3578
3578
|
|
|
3579
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
3579
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/call.js
|
|
3580
3580
|
async function call(client, args) {
|
|
3581
3581
|
const { account: account_ = client.account, batch = Boolean(client.batch?.multicall), blockNumber, blockTag = "latest", accessList, blobs, code, data: data_, factory, factoryData, gas, gasPrice, maxFeePerBlobGas, maxFeePerGas, maxPriorityFeePerGas, nonce, to, value, stateOverride, ...rest } = args;
|
|
3582
3582
|
const account = account_ ? parseAccount(account_) : void 0;
|
|
@@ -3650,7 +3650,7 @@ async function call(client, args) {
|
|
|
3650
3650
|
return { data: response };
|
|
3651
3651
|
} catch (err) {
|
|
3652
3652
|
const data2 = getRevertErrorData(err);
|
|
3653
|
-
const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import("./ccip-
|
|
3653
|
+
const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import("./ccip-Y2GC34UW.js");
|
|
3654
3654
|
if (client.ccipRead !== false && data2?.slice(0, 10) === offchainLookupSignature2 && to)
|
|
3655
3655
|
return { data: await offchainLookup2(client, { data: data2, to }) };
|
|
3656
3656
|
if (deploylessCall && data2?.slice(0, 10) === "0x101bb98d")
|
|
@@ -3755,7 +3755,7 @@ function getRevertErrorData(err) {
|
|
|
3755
3755
|
return typeof error?.data === "object" ? error.data?.data : error.data;
|
|
3756
3756
|
}
|
|
3757
3757
|
|
|
3758
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
3758
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/ccip.js
|
|
3759
3759
|
var OffchainLookupError = class extends BaseError2 {
|
|
3760
3760
|
constructor({ callbackSelector, cause, data, extraData, sender, urls }) {
|
|
3761
3761
|
super(cause.shortMessage || "An error occurred while fetching for an offchain result.", {
|
|
@@ -3800,7 +3800,7 @@ var OffchainLookupSenderMismatchError = class extends BaseError2 {
|
|
|
3800
3800
|
}
|
|
3801
3801
|
};
|
|
3802
3802
|
|
|
3803
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
3803
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/address/isAddressEqual.js
|
|
3804
3804
|
function isAddressEqual(a, b) {
|
|
3805
3805
|
if (!isAddress(a, { strict: false }))
|
|
3806
3806
|
throw new InvalidAddressError({ address: a });
|
|
@@ -3809,7 +3809,7 @@ function isAddressEqual(a, b) {
|
|
|
3809
3809
|
return a.toLowerCase() === b.toLowerCase();
|
|
3810
3810
|
}
|
|
3811
3811
|
|
|
3812
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
3812
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/ccip.js
|
|
3813
3813
|
var offchainLookupSignature = "0x556f1830";
|
|
3814
3814
|
var offchainLookupAbiItem = {
|
|
3815
3815
|
name: "OffchainLookup",
|
|
@@ -3936,4 +3936,4 @@ export {
|
|
|
3936
3936
|
@noble/hashes/esm/utils.js:
|
|
3937
3937
|
(*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) *)
|
|
3938
3938
|
*/
|
|
3939
|
-
//# sourceMappingURL=chunk-
|
|
3939
|
+
//# sourceMappingURL=chunk-TP53IMLY.js.map
|