@zoralabs/protocol-deployments 0.3.5-COMMENTS.2 → 0.3.5-COMMENTS.3
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.log +25 -25
- package/CHANGELOG.md +6 -0
- package/dist/{_esm-KB2T7G46.js → _esm-JXHAY2EM.js} +192 -85
- package/dist/_esm-JXHAY2EM.js.map +1 -0
- package/dist/{ccip-TLVKUNHE.js → ccip-MZCNL5YG.js} +3 -3
- package/dist/{chunk-5JV63AHR.js → chunk-FJ2PMLO3.js} +8 -5
- package/dist/chunk-FJ2PMLO3.js.map +1 -0
- package/dist/{chunk-IB365BT5.js → chunk-MCOK75CU.js} +333 -453
- package/dist/chunk-MCOK75CU.js.map +1 -0
- package/dist/generated/wagmi.d.ts +222 -155
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +189 -225
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +51 -33
- package/dist/index.js.map +1 -1
- package/dist/{secp256k1-5CEPNAX3.js → secp256k1-NJATWSDZ.js} +402 -251
- package/dist/secp256k1-NJATWSDZ.js.map +1 -0
- package/dist/typedData.d.ts +1 -1
- package/package.json +4 -5
- package/src/generated/wagmi.ts +165 -102
- package/src/typedData.ts +1 -1
- package/dist/_esm-KB2T7G46.js.map +0 -1
- package/dist/chunk-5JV63AHR.js.map +0 -1
- package/dist/chunk-IB365BT5.js.map +0 -1
- package/dist/secp256k1-5CEPNAX3.js.map +0 -1
- /package/dist/{ccip-TLVKUNHE.js.map → ccip-MZCNL5YG.js.map} +0 -0
|
@@ -10,12 +10,12 @@ import {
|
|
|
10
10
|
u32,
|
|
11
11
|
wrapConstructor,
|
|
12
12
|
wrapXOFConstructorWithOpts
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-FJ2PMLO3.js";
|
|
14
14
|
|
|
15
|
-
// ../../node_modules/.pnpm/abitype@1.0.
|
|
16
|
-
var version = "1.0.
|
|
15
|
+
// ../../node_modules/.pnpm/abitype@1.0.6_typescript@5.5.4_zod@3.23.8/node_modules/abitype/dist/esm/version.js
|
|
16
|
+
var version = "1.0.6";
|
|
17
17
|
|
|
18
|
-
// ../../node_modules/.pnpm/abitype@1.0.
|
|
18
|
+
// ../../node_modules/.pnpm/abitype@1.0.6_typescript@5.5.4_zod@3.23.8/node_modules/abitype/dist/esm/errors.js
|
|
19
19
|
var BaseError = class _BaseError extends Error {
|
|
20
20
|
constructor(shortMessage, args = {}) {
|
|
21
21
|
const details = args.cause instanceof _BaseError ? args.cause.details : args.cause?.message ? args.cause.message : args.details;
|
|
@@ -68,7 +68,7 @@ var BaseError = class _BaseError extends Error {
|
|
|
68
68
|
}
|
|
69
69
|
};
|
|
70
70
|
|
|
71
|
-
// ../../node_modules/.pnpm/abitype@1.0.
|
|
71
|
+
// ../../node_modules/.pnpm/abitype@1.0.6_typescript@5.5.4_zod@3.23.8/node_modules/abitype/dist/esm/regex.js
|
|
72
72
|
function execTyped(regex, string) {
|
|
73
73
|
const match = regex.exec(string);
|
|
74
74
|
return match?.groups;
|
|
@@ -77,7 +77,7 @@ var bytesRegex = /^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/;
|
|
|
77
77
|
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)?$/;
|
|
78
78
|
var isTupleRegex = /^\(.+?\).*?$/;
|
|
79
79
|
|
|
80
|
-
// ../../node_modules/.pnpm/abitype@1.0.
|
|
80
|
+
// ../../node_modules/.pnpm/abitype@1.0.6_typescript@5.5.4_zod@3.23.8/node_modules/abitype/dist/esm/human-readable/formatAbiParameter.js
|
|
81
81
|
var tupleRegex = /^tuple(?<array>(\[(\d*)\])*)$/;
|
|
82
82
|
function formatAbiParameter(abiParameter) {
|
|
83
83
|
let type = abiParameter.type;
|
|
@@ -104,7 +104,7 @@ function formatAbiParameter(abiParameter) {
|
|
|
104
104
|
return type;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
// ../../node_modules/.pnpm/abitype@1.0.
|
|
107
|
+
// ../../node_modules/.pnpm/abitype@1.0.6_typescript@5.5.4_zod@3.23.8/node_modules/abitype/dist/esm/human-readable/formatAbiParameters.js
|
|
108
108
|
function formatAbiParameters(abiParameters) {
|
|
109
109
|
let params = "";
|
|
110
110
|
const length = abiParameters.length;
|
|
@@ -117,7 +117,7 @@ function formatAbiParameters(abiParameters) {
|
|
|
117
117
|
return params;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
// ../../node_modules/.pnpm/abitype@1.0.
|
|
120
|
+
// ../../node_modules/.pnpm/abitype@1.0.6_typescript@5.5.4_zod@3.23.8/node_modules/abitype/dist/esm/human-readable/formatAbiItem.js
|
|
121
121
|
function formatAbiItem(abiItem) {
|
|
122
122
|
if (abiItem.type === "function")
|
|
123
123
|
return `function ${abiItem.name}(${formatAbiParameters(abiItem.inputs)})${abiItem.stateMutability && abiItem.stateMutability !== "nonpayable" ? ` ${abiItem.stateMutability}` : ""}${abiItem.outputs.length ? ` returns (${formatAbiParameters(abiItem.outputs)})` : ""}`;
|
|
@@ -132,7 +132,7 @@ function formatAbiItem(abiItem) {
|
|
|
132
132
|
return "receive() external payable";
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
-
// ../../node_modules/.pnpm/abitype@1.0.
|
|
135
|
+
// ../../node_modules/.pnpm/abitype@1.0.6_typescript@5.5.4_zod@3.23.8/node_modules/abitype/dist/esm/human-readable/runtime/signatures.js
|
|
136
136
|
var errorSignatureRegex = /^error (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)$/;
|
|
137
137
|
function isErrorSignature(signature) {
|
|
138
138
|
return errorSignatureRegex.test(signature);
|
|
@@ -183,7 +183,7 @@ var functionModifiers = /* @__PURE__ */ new Set([
|
|
|
183
183
|
"storage"
|
|
184
184
|
]);
|
|
185
185
|
|
|
186
|
-
// ../../node_modules/.pnpm/abitype@1.0.
|
|
186
|
+
// ../../node_modules/.pnpm/abitype@1.0.6_typescript@5.5.4_zod@3.23.8/node_modules/abitype/dist/esm/human-readable/errors/abiItem.js
|
|
187
187
|
var UnknownTypeError = class extends BaseError {
|
|
188
188
|
constructor({ type }) {
|
|
189
189
|
super("Unknown type.", {
|
|
@@ -213,7 +213,7 @@ var UnknownSolidityTypeError = class extends BaseError {
|
|
|
213
213
|
}
|
|
214
214
|
};
|
|
215
215
|
|
|
216
|
-
// ../../node_modules/.pnpm/abitype@1.0.
|
|
216
|
+
// ../../node_modules/.pnpm/abitype@1.0.6_typescript@5.5.4_zod@3.23.8/node_modules/abitype/dist/esm/human-readable/errors/abiParameter.js
|
|
217
217
|
var InvalidParameterError = class extends BaseError {
|
|
218
218
|
constructor({ param }) {
|
|
219
219
|
super("Invalid ABI parameter.", {
|
|
@@ -291,7 +291,7 @@ var InvalidAbiTypeParameterError = class extends BaseError {
|
|
|
291
291
|
}
|
|
292
292
|
};
|
|
293
293
|
|
|
294
|
-
// ../../node_modules/.pnpm/abitype@1.0.
|
|
294
|
+
// ../../node_modules/.pnpm/abitype@1.0.6_typescript@5.5.4_zod@3.23.8/node_modules/abitype/dist/esm/human-readable/errors/signature.js
|
|
295
295
|
var InvalidSignatureError = class extends BaseError {
|
|
296
296
|
constructor({ signature, type }) {
|
|
297
297
|
super(`Invalid ${type} signature.`, {
|
|
@@ -333,7 +333,7 @@ var InvalidStructSignatureError = class extends BaseError {
|
|
|
333
333
|
}
|
|
334
334
|
};
|
|
335
335
|
|
|
336
|
-
// ../../node_modules/.pnpm/abitype@1.0.
|
|
336
|
+
// ../../node_modules/.pnpm/abitype@1.0.6_typescript@5.5.4_zod@3.23.8/node_modules/abitype/dist/esm/human-readable/errors/struct.js
|
|
337
337
|
var CircularReferenceError = class extends BaseError {
|
|
338
338
|
constructor({ type }) {
|
|
339
339
|
super("Circular reference detected.", {
|
|
@@ -348,7 +348,7 @@ var CircularReferenceError = class extends BaseError {
|
|
|
348
348
|
}
|
|
349
349
|
};
|
|
350
350
|
|
|
351
|
-
// ../../node_modules/.pnpm/abitype@1.0.
|
|
351
|
+
// ../../node_modules/.pnpm/abitype@1.0.6_typescript@5.5.4_zod@3.23.8/node_modules/abitype/dist/esm/human-readable/errors/splitParameters.js
|
|
352
352
|
var InvalidParenthesisError = class extends BaseError {
|
|
353
353
|
constructor({ current, depth }) {
|
|
354
354
|
super("Unbalanced parentheses.", {
|
|
@@ -366,7 +366,7 @@ var InvalidParenthesisError = class extends BaseError {
|
|
|
366
366
|
}
|
|
367
367
|
};
|
|
368
368
|
|
|
369
|
-
// ../../node_modules/.pnpm/abitype@1.0.
|
|
369
|
+
// ../../node_modules/.pnpm/abitype@1.0.6_typescript@5.5.4_zod@3.23.8/node_modules/abitype/dist/esm/human-readable/runtime/cache.js
|
|
370
370
|
function getParameterCacheKey(param, type) {
|
|
371
371
|
if (type)
|
|
372
372
|
return `${type}:${param}`;
|
|
@@ -427,7 +427,7 @@ var parameterCache = /* @__PURE__ */ new Map([
|
|
|
427
427
|
]
|
|
428
428
|
]);
|
|
429
429
|
|
|
430
|
-
// ../../node_modules/.pnpm/abitype@1.0.
|
|
430
|
+
// ../../node_modules/.pnpm/abitype@1.0.6_typescript@5.5.4_zod@3.23.8/node_modules/abitype/dist/esm/human-readable/runtime/utils.js
|
|
431
431
|
function parseSignature(signature, structs = {}) {
|
|
432
432
|
if (isFunctionSignature(signature)) {
|
|
433
433
|
const match = execFunctionSignature(signature);
|
|
@@ -610,7 +610,7 @@ function isValidDataLocation(type, isArray) {
|
|
|
610
610
|
return isArray || type === "bytes" || type === "string" || type === "tuple";
|
|
611
611
|
}
|
|
612
612
|
|
|
613
|
-
// ../../node_modules/.pnpm/abitype@1.0.
|
|
613
|
+
// ../../node_modules/.pnpm/abitype@1.0.6_typescript@5.5.4_zod@3.23.8/node_modules/abitype/dist/esm/human-readable/runtime/structs.js
|
|
614
614
|
function parseStructs(signatures) {
|
|
615
615
|
const shallowStructs = {};
|
|
616
616
|
const signaturesLength = signatures.length;
|
|
@@ -680,7 +680,7 @@ function resolveStructs(abiParameters, structs, ancestors = /* @__PURE__ */ new
|
|
|
680
680
|
return components;
|
|
681
681
|
}
|
|
682
682
|
|
|
683
|
-
// ../../node_modules/.pnpm/abitype@1.0.
|
|
683
|
+
// ../../node_modules/.pnpm/abitype@1.0.6_typescript@5.5.4_zod@3.23.8/node_modules/abitype/dist/esm/human-readable/parseAbi.js
|
|
684
684
|
function parseAbi(signatures) {
|
|
685
685
|
const structs = parseStructs(signatures);
|
|
686
686
|
const abi = [];
|
|
@@ -694,14 +694,14 @@ function parseAbi(signatures) {
|
|
|
694
694
|
return abi;
|
|
695
695
|
}
|
|
696
696
|
|
|
697
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
697
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/accounts/utils/parseAccount.js
|
|
698
698
|
function parseAccount(account) {
|
|
699
699
|
if (typeof account === "string")
|
|
700
700
|
return { address: account, type: "json-rpc" };
|
|
701
701
|
return account;
|
|
702
702
|
}
|
|
703
703
|
|
|
704
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
704
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/constants/abis.js
|
|
705
705
|
var multicall3Abi = [
|
|
706
706
|
{
|
|
707
707
|
inputs: [
|
|
@@ -853,24 +853,45 @@ var universalResolverReverseAbi = [
|
|
|
853
853
|
}
|
|
854
854
|
];
|
|
855
855
|
|
|
856
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
856
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/constants/contract.js
|
|
857
857
|
var aggregate3Signature = "0x82ad56cb";
|
|
858
858
|
|
|
859
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
859
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/constants/contracts.js
|
|
860
860
|
var deploylessCallViaBytecodeBytecode = "0x608060405234801561001057600080fd5b5060405161018e38038061018e83398101604081905261002f91610124565b6000808351602085016000f59050803b61004857600080fd5b6000808351602085016000855af16040513d6000823e81610067573d81fd5b3d81f35b634e487b7160e01b600052604160045260246000fd5b600082601f83011261009257600080fd5b81516001600160401b038111156100ab576100ab61006b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156100d9576100d961006b565b6040528181528382016020018510156100f157600080fd5b60005b82811015610110576020818601810151838301820152016100f4565b506000918101602001919091529392505050565b6000806040838503121561013757600080fd5b82516001600160401b0381111561014d57600080fd5b61015985828601610081565b602085015190935090506001600160401b0381111561017757600080fd5b61018385828601610081565b915050925092905056fe";
|
|
861
861
|
var deploylessCallViaFactoryBytecode = "0x608060405234801561001057600080fd5b506040516102c03803806102c083398101604081905261002f916101e6565b836001600160a01b03163b6000036100e457600080836001600160a01b03168360405161005c9190610270565b6000604051808303816000865af19150503d8060008114610099576040519150601f19603f3d011682016040523d82523d6000602084013e61009e565b606091505b50915091508115806100b857506001600160a01b0386163b155b156100e1578060405163101bb98d60e01b81526004016100d8919061028c565b60405180910390fd5b50505b6000808451602086016000885af16040513d6000823e81610103573d81fd5b3d81f35b80516001600160a01b038116811461011e57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561015457818101518382015260200161013c565b50506000910152565b600082601f83011261016e57600080fd5b81516001600160401b0381111561018757610187610123565b604051601f8201601f19908116603f011681016001600160401b03811182821017156101b5576101b5610123565b6040528181528382016020018510156101cd57600080fd5b6101de826020830160208701610139565b949350505050565b600080600080608085870312156101fc57600080fd5b61020585610107565b60208601519094506001600160401b0381111561022157600080fd5b61022d8782880161015d565b93505061023c60408601610107565b60608601519092506001600160401b0381111561025857600080fd5b6102648782880161015d565b91505092959194509250565b60008251610282818460208701610139565b9190910192915050565b60208152600082518060208401526102ab816040850160208701610139565b601f01601f1916919091016040019291505056fe";
|
|
862
862
|
|
|
863
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
864
|
-
var version2 = "2.
|
|
863
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/version.js
|
|
864
|
+
var version2 = "2.21.21";
|
|
865
865
|
|
|
866
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
867
|
-
var
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
866
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/base.js
|
|
867
|
+
var errorConfig = {
|
|
868
|
+
getDocsUrl: ({ docsBaseUrl, docsPath: docsPath4 = "", docsSlug }) => docsPath4 ? `${docsBaseUrl ?? "https://viem.sh"}${docsPath4}${docsSlug ? `#${docsSlug}` : ""}` : void 0,
|
|
869
|
+
version: version2
|
|
870
|
+
};
|
|
871
871
|
var BaseError2 = class _BaseError extends Error {
|
|
872
872
|
constructor(shortMessage, args = {}) {
|
|
873
|
-
|
|
873
|
+
const details = (() => {
|
|
874
|
+
if (args.cause instanceof _BaseError)
|
|
875
|
+
return args.cause.details;
|
|
876
|
+
if (args.cause?.message)
|
|
877
|
+
return args.cause.message;
|
|
878
|
+
return args.details;
|
|
879
|
+
})();
|
|
880
|
+
const docsPath4 = (() => {
|
|
881
|
+
if (args.cause instanceof _BaseError)
|
|
882
|
+
return args.cause.docsPath || args.docsPath;
|
|
883
|
+
return args.docsPath;
|
|
884
|
+
})();
|
|
885
|
+
const docsUrl = errorConfig.getDocsUrl?.({ ...args, docsPath: docsPath4 });
|
|
886
|
+
const message = [
|
|
887
|
+
shortMessage || "An error occurred.",
|
|
888
|
+
"",
|
|
889
|
+
...args.metaMessages ? [...args.metaMessages, ""] : [],
|
|
890
|
+
...docsUrl ? [`Docs: ${docsUrl}`] : [],
|
|
891
|
+
...details ? [`Details: ${details}`] : [],
|
|
892
|
+
...errorConfig.version ? [`Version: ${errorConfig.version}`] : []
|
|
893
|
+
].join("\n");
|
|
894
|
+
super(message, args.cause ? { cause: args.cause } : void 0);
|
|
874
895
|
Object.defineProperty(this, "details", {
|
|
875
896
|
enumerable: true,
|
|
876
897
|
configurable: true,
|
|
@@ -895,36 +916,24 @@ var BaseError2 = class _BaseError extends Error {
|
|
|
895
916
|
writable: true,
|
|
896
917
|
value: void 0
|
|
897
918
|
});
|
|
898
|
-
Object.defineProperty(this, "
|
|
919
|
+
Object.defineProperty(this, "version", {
|
|
899
920
|
enumerable: true,
|
|
900
921
|
configurable: true,
|
|
901
922
|
writable: true,
|
|
902
|
-
value:
|
|
923
|
+
value: void 0
|
|
903
924
|
});
|
|
904
|
-
Object.defineProperty(this, "
|
|
925
|
+
Object.defineProperty(this, "name", {
|
|
905
926
|
enumerable: true,
|
|
906
927
|
configurable: true,
|
|
907
928
|
writable: true,
|
|
908
|
-
value:
|
|
929
|
+
value: "BaseError"
|
|
909
930
|
});
|
|
910
|
-
const details = args.cause instanceof _BaseError ? args.cause.details : args.cause?.message ? args.cause.message : args.details;
|
|
911
|
-
const docsPath4 = args.cause instanceof _BaseError ? args.cause.docsPath || args.docsPath : args.docsPath;
|
|
912
|
-
this.message = [
|
|
913
|
-
shortMessage || "An error occurred.",
|
|
914
|
-
"",
|
|
915
|
-
...args.metaMessages ? [...args.metaMessages, ""] : [],
|
|
916
|
-
...docsPath4 ? [
|
|
917
|
-
`Docs: ${args.docsBaseUrl ?? "https://viem.sh"}${docsPath4}${args.docsSlug ? `#${args.docsSlug}` : ""}`
|
|
918
|
-
] : [],
|
|
919
|
-
...details ? [`Details: ${details}`] : [],
|
|
920
|
-
`Version: ${this.version}`
|
|
921
|
-
].join("\n");
|
|
922
|
-
if (args.cause)
|
|
923
|
-
this.cause = args.cause;
|
|
924
931
|
this.details = details;
|
|
925
932
|
this.docsPath = docsPath4;
|
|
926
933
|
this.metaMessages = args.metaMessages;
|
|
934
|
+
this.name = args.name ?? this.name;
|
|
927
935
|
this.shortMessage = shortMessage;
|
|
936
|
+
this.version = version2;
|
|
928
937
|
}
|
|
929
938
|
walk(fn) {
|
|
930
939
|
return walk(this, fn);
|
|
@@ -938,7 +947,7 @@ function walk(err, fn) {
|
|
|
938
947
|
return fn ? null : err;
|
|
939
948
|
}
|
|
940
949
|
|
|
941
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
950
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/chain.js
|
|
942
951
|
var ChainDoesNotSupportContract = class extends BaseError2 {
|
|
943
952
|
constructor({ blockNumber, chain, contract }) {
|
|
944
953
|
super(`Chain "${chain.name}" does not support contract "${contract.name}".`, {
|
|
@@ -949,29 +958,20 @@ var ChainDoesNotSupportContract = class extends BaseError2 {
|
|
|
949
958
|
] : [
|
|
950
959
|
`- The chain does not have the contract "${contract.name}" configured.`
|
|
951
960
|
]
|
|
952
|
-
]
|
|
953
|
-
|
|
954
|
-
Object.defineProperty(this, "name", {
|
|
955
|
-
enumerable: true,
|
|
956
|
-
configurable: true,
|
|
957
|
-
writable: true,
|
|
958
|
-
value: "ChainDoesNotSupportContract"
|
|
961
|
+
],
|
|
962
|
+
name: "ChainDoesNotSupportContract"
|
|
959
963
|
});
|
|
960
964
|
}
|
|
961
965
|
};
|
|
962
966
|
var ClientChainNotConfiguredError = class extends BaseError2 {
|
|
963
967
|
constructor() {
|
|
964
|
-
super("No chain was provided to the Client."
|
|
965
|
-
|
|
966
|
-
enumerable: true,
|
|
967
|
-
configurable: true,
|
|
968
|
-
writable: true,
|
|
969
|
-
value: "ClientChainNotConfiguredError"
|
|
968
|
+
super("No chain was provided to the Client.", {
|
|
969
|
+
name: "ClientChainNotConfiguredError"
|
|
970
970
|
});
|
|
971
971
|
}
|
|
972
972
|
};
|
|
973
973
|
|
|
974
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
974
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/constants/solidity.js
|
|
975
975
|
var solidityError = {
|
|
976
976
|
inputs: [
|
|
977
977
|
{
|
|
@@ -993,7 +993,7 @@ var solidityPanic = {
|
|
|
993
993
|
type: "error"
|
|
994
994
|
};
|
|
995
995
|
|
|
996
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
996
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/abi/formatAbiItem.js
|
|
997
997
|
function formatAbiItem2(abiItem, { includeName = false } = {}) {
|
|
998
998
|
if (abiItem.type !== "function" && abiItem.type !== "event" && abiItem.type !== "error")
|
|
999
999
|
throw new InvalidDefinitionTypeError(abiItem.type);
|
|
@@ -1011,7 +1011,7 @@ function formatAbiParam(param, { includeName }) {
|
|
|
1011
1011
|
return param.type + (includeName && param.name ? ` ${param.name}` : "");
|
|
1012
1012
|
}
|
|
1013
1013
|
|
|
1014
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1014
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/data/isHex.js
|
|
1015
1015
|
function isHex(value, { strict = true } = {}) {
|
|
1016
1016
|
if (!value)
|
|
1017
1017
|
return false;
|
|
@@ -1020,27 +1020,22 @@ function isHex(value, { strict = true } = {}) {
|
|
|
1020
1020
|
return strict ? /^0x[0-9a-fA-F]*$/.test(value) : value.startsWith("0x");
|
|
1021
1021
|
}
|
|
1022
1022
|
|
|
1023
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1023
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/data/size.js
|
|
1024
1024
|
function size(value) {
|
|
1025
1025
|
if (isHex(value, { strict: false }))
|
|
1026
1026
|
return Math.ceil((value.length - 2) / 2);
|
|
1027
1027
|
return value.length;
|
|
1028
1028
|
}
|
|
1029
1029
|
|
|
1030
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1030
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/abi.js
|
|
1031
1031
|
var AbiConstructorNotFoundError = class extends BaseError2 {
|
|
1032
1032
|
constructor({ docsPath: docsPath4 }) {
|
|
1033
1033
|
super([
|
|
1034
1034
|
"A constructor was not found on the ABI.",
|
|
1035
1035
|
"Make sure you are using the correct ABI and that the constructor exists on it."
|
|
1036
1036
|
].join("\n"), {
|
|
1037
|
-
docsPath: docsPath4
|
|
1038
|
-
|
|
1039
|
-
Object.defineProperty(this, "name", {
|
|
1040
|
-
enumerable: true,
|
|
1041
|
-
configurable: true,
|
|
1042
|
-
writable: true,
|
|
1043
|
-
value: "AbiConstructorNotFoundError"
|
|
1037
|
+
docsPath: docsPath4,
|
|
1038
|
+
name: "AbiConstructorNotFoundError"
|
|
1044
1039
|
});
|
|
1045
1040
|
}
|
|
1046
1041
|
};
|
|
@@ -1050,13 +1045,8 @@ var AbiConstructorParamsNotFoundError = class extends BaseError2 {
|
|
|
1050
1045
|
"Constructor arguments were provided (`args`), but a constructor parameters (`inputs`) were not found on the ABI.",
|
|
1051
1046
|
"Make sure you are using the correct ABI, and that the `inputs` attribute on the constructor exists."
|
|
1052
1047
|
].join("\n"), {
|
|
1053
|
-
docsPath: docsPath4
|
|
1054
|
-
|
|
1055
|
-
Object.defineProperty(this, "name", {
|
|
1056
|
-
enumerable: true,
|
|
1057
|
-
configurable: true,
|
|
1058
|
-
writable: true,
|
|
1059
|
-
value: "AbiConstructorParamsNotFoundError"
|
|
1048
|
+
docsPath: docsPath4,
|
|
1049
|
+
name: "AbiConstructorParamsNotFoundError"
|
|
1060
1050
|
});
|
|
1061
1051
|
}
|
|
1062
1052
|
};
|
|
@@ -1066,13 +1056,8 @@ var AbiDecodingDataSizeTooSmallError = class extends BaseError2 {
|
|
|
1066
1056
|
metaMessages: [
|
|
1067
1057
|
`Params: (${formatAbiParams(params, { includeName: true })})`,
|
|
1068
1058
|
`Data: ${data} (${size2} bytes)`
|
|
1069
|
-
]
|
|
1070
|
-
|
|
1071
|
-
Object.defineProperty(this, "name", {
|
|
1072
|
-
enumerable: true,
|
|
1073
|
-
configurable: true,
|
|
1074
|
-
writable: true,
|
|
1075
|
-
value: "AbiDecodingDataSizeTooSmallError"
|
|
1059
|
+
],
|
|
1060
|
+
name: "AbiDecodingDataSizeTooSmallError"
|
|
1076
1061
|
});
|
|
1077
1062
|
Object.defineProperty(this, "data", {
|
|
1078
1063
|
enumerable: true,
|
|
@@ -1099,12 +1084,8 @@ var AbiDecodingDataSizeTooSmallError = class extends BaseError2 {
|
|
|
1099
1084
|
};
|
|
1100
1085
|
var AbiDecodingZeroDataError = class extends BaseError2 {
|
|
1101
1086
|
constructor() {
|
|
1102
|
-
super('Cannot decode zero data ("0x") with ABI parameters.'
|
|
1103
|
-
|
|
1104
|
-
enumerable: true,
|
|
1105
|
-
configurable: true,
|
|
1106
|
-
writable: true,
|
|
1107
|
-
value: "AbiDecodingZeroDataError"
|
|
1087
|
+
super('Cannot decode zero data ("0x") with ABI parameters.', {
|
|
1088
|
+
name: "AbiDecodingZeroDataError"
|
|
1108
1089
|
});
|
|
1109
1090
|
}
|
|
1110
1091
|
};
|
|
@@ -1114,24 +1095,12 @@ var AbiEncodingArrayLengthMismatchError = class extends BaseError2 {
|
|
|
1114
1095
|
`ABI encoding array length mismatch for type ${type}.`,
|
|
1115
1096
|
`Expected length: ${expectedLength}`,
|
|
1116
1097
|
`Given length: ${givenLength}`
|
|
1117
|
-
].join("\n"));
|
|
1118
|
-
Object.defineProperty(this, "name", {
|
|
1119
|
-
enumerable: true,
|
|
1120
|
-
configurable: true,
|
|
1121
|
-
writable: true,
|
|
1122
|
-
value: "AbiEncodingArrayLengthMismatchError"
|
|
1123
|
-
});
|
|
1098
|
+
].join("\n"), { name: "AbiEncodingArrayLengthMismatchError" });
|
|
1124
1099
|
}
|
|
1125
1100
|
};
|
|
1126
1101
|
var AbiEncodingBytesSizeMismatchError = class extends BaseError2 {
|
|
1127
1102
|
constructor({ expectedSize, value }) {
|
|
1128
|
-
super(`Size of bytes "${value}" (bytes${size(value)}) does not match expected size (bytes${expectedSize})
|
|
1129
|
-
Object.defineProperty(this, "name", {
|
|
1130
|
-
enumerable: true,
|
|
1131
|
-
configurable: true,
|
|
1132
|
-
writable: true,
|
|
1133
|
-
value: "AbiEncodingBytesSizeMismatchError"
|
|
1134
|
-
});
|
|
1103
|
+
super(`Size of bytes "${value}" (bytes${size(value)}) does not match expected size (bytes${expectedSize}).`, { name: "AbiEncodingBytesSizeMismatchError" });
|
|
1135
1104
|
}
|
|
1136
1105
|
};
|
|
1137
1106
|
var AbiEncodingLengthMismatchError = class extends BaseError2 {
|
|
@@ -1140,13 +1109,7 @@ var AbiEncodingLengthMismatchError = class extends BaseError2 {
|
|
|
1140
1109
|
"ABI encoding params/values length mismatch.",
|
|
1141
1110
|
`Expected length (params): ${expectedLength}`,
|
|
1142
1111
|
`Given length (values): ${givenLength}`
|
|
1143
|
-
].join("\n"));
|
|
1144
|
-
Object.defineProperty(this, "name", {
|
|
1145
|
-
enumerable: true,
|
|
1146
|
-
configurable: true,
|
|
1147
|
-
writable: true,
|
|
1148
|
-
value: "AbiEncodingLengthMismatchError"
|
|
1149
|
-
});
|
|
1112
|
+
].join("\n"), { name: "AbiEncodingLengthMismatchError" });
|
|
1150
1113
|
}
|
|
1151
1114
|
};
|
|
1152
1115
|
var AbiErrorSignatureNotFoundError = class extends BaseError2 {
|
|
@@ -1156,13 +1119,8 @@ var AbiErrorSignatureNotFoundError = class extends BaseError2 {
|
|
|
1156
1119
|
"Make sure you are using the correct ABI and that the error exists on it.",
|
|
1157
1120
|
`You can look up the decoded signature here: https://openchain.xyz/signatures?query=${signature}.`
|
|
1158
1121
|
].join("\n"), {
|
|
1159
|
-
docsPath: docsPath4
|
|
1160
|
-
|
|
1161
|
-
Object.defineProperty(this, "name", {
|
|
1162
|
-
enumerable: true,
|
|
1163
|
-
configurable: true,
|
|
1164
|
-
writable: true,
|
|
1165
|
-
value: "AbiErrorSignatureNotFoundError"
|
|
1122
|
+
docsPath: docsPath4,
|
|
1123
|
+
name: "AbiErrorSignatureNotFoundError"
|
|
1166
1124
|
});
|
|
1167
1125
|
Object.defineProperty(this, "signature", {
|
|
1168
1126
|
enumerable: true,
|
|
@@ -1179,13 +1137,8 @@ var AbiFunctionNotFoundError = class extends BaseError2 {
|
|
|
1179
1137
|
`Function ${functionName ? `"${functionName}" ` : ""}not found on ABI.`,
|
|
1180
1138
|
"Make sure you are using the correct ABI and that the function exists on it."
|
|
1181
1139
|
].join("\n"), {
|
|
1182
|
-
docsPath: docsPath4
|
|
1183
|
-
|
|
1184
|
-
Object.defineProperty(this, "name", {
|
|
1185
|
-
enumerable: true,
|
|
1186
|
-
configurable: true,
|
|
1187
|
-
writable: true,
|
|
1188
|
-
value: "AbiFunctionNotFoundError"
|
|
1140
|
+
docsPath: docsPath4,
|
|
1141
|
+
name: "AbiFunctionNotFoundError"
|
|
1189
1142
|
});
|
|
1190
1143
|
}
|
|
1191
1144
|
};
|
|
@@ -1196,13 +1149,8 @@ var AbiFunctionOutputsNotFoundError = class extends BaseError2 {
|
|
|
1196
1149
|
"Cannot decode function result without knowing what the parameter types are.",
|
|
1197
1150
|
"Make sure you are using the correct ABI and that the function exists on it."
|
|
1198
1151
|
].join("\n"), {
|
|
1199
|
-
docsPath: docsPath4
|
|
1200
|
-
|
|
1201
|
-
Object.defineProperty(this, "name", {
|
|
1202
|
-
enumerable: true,
|
|
1203
|
-
configurable: true,
|
|
1204
|
-
writable: true,
|
|
1205
|
-
value: "AbiFunctionOutputsNotFoundError"
|
|
1152
|
+
docsPath: docsPath4,
|
|
1153
|
+
name: "AbiFunctionOutputsNotFoundError"
|
|
1206
1154
|
});
|
|
1207
1155
|
}
|
|
1208
1156
|
};
|
|
@@ -1215,13 +1163,8 @@ var AbiItemAmbiguityError = class extends BaseError2 {
|
|
|
1215
1163
|
"",
|
|
1216
1164
|
"These types encode differently and cannot be distinguished at runtime.",
|
|
1217
1165
|
"Remove one of the ambiguous items in the ABI."
|
|
1218
|
-
]
|
|
1219
|
-
|
|
1220
|
-
Object.defineProperty(this, "name", {
|
|
1221
|
-
enumerable: true,
|
|
1222
|
-
configurable: true,
|
|
1223
|
-
writable: true,
|
|
1224
|
-
value: "AbiItemAmbiguityError"
|
|
1166
|
+
],
|
|
1167
|
+
name: "AbiItemAmbiguityError"
|
|
1225
1168
|
});
|
|
1226
1169
|
}
|
|
1227
1170
|
};
|
|
@@ -1230,13 +1173,7 @@ var InvalidAbiEncodingTypeError = class extends BaseError2 {
|
|
|
1230
1173
|
super([
|
|
1231
1174
|
`Type "${type}" is not a valid encoding type.`,
|
|
1232
1175
|
"Please provide a valid ABI type."
|
|
1233
|
-
].join("\n"), { docsPath: docsPath4 });
|
|
1234
|
-
Object.defineProperty(this, "name", {
|
|
1235
|
-
enumerable: true,
|
|
1236
|
-
configurable: true,
|
|
1237
|
-
writable: true,
|
|
1238
|
-
value: "InvalidAbiEncodingType"
|
|
1239
|
-
});
|
|
1176
|
+
].join("\n"), { docsPath: docsPath4, name: "InvalidAbiEncodingType" });
|
|
1240
1177
|
}
|
|
1241
1178
|
};
|
|
1242
1179
|
var InvalidAbiDecodingTypeError = class extends BaseError2 {
|
|
@@ -1244,23 +1181,13 @@ var InvalidAbiDecodingTypeError = class extends BaseError2 {
|
|
|
1244
1181
|
super([
|
|
1245
1182
|
`Type "${type}" is not a valid decoding type.`,
|
|
1246
1183
|
"Please provide a valid ABI type."
|
|
1247
|
-
].join("\n"), { docsPath: docsPath4 });
|
|
1248
|
-
Object.defineProperty(this, "name", {
|
|
1249
|
-
enumerable: true,
|
|
1250
|
-
configurable: true,
|
|
1251
|
-
writable: true,
|
|
1252
|
-
value: "InvalidAbiDecodingType"
|
|
1253
|
-
});
|
|
1184
|
+
].join("\n"), { docsPath: docsPath4, name: "InvalidAbiDecodingType" });
|
|
1254
1185
|
}
|
|
1255
1186
|
};
|
|
1256
1187
|
var InvalidArrayError = class extends BaseError2 {
|
|
1257
1188
|
constructor(value) {
|
|
1258
|
-
super([`Value "${value}" is not a valid array.`].join("\n")
|
|
1259
|
-
|
|
1260
|
-
enumerable: true,
|
|
1261
|
-
configurable: true,
|
|
1262
|
-
writable: true,
|
|
1263
|
-
value: "InvalidArrayError"
|
|
1189
|
+
super([`Value "${value}" is not a valid array.`].join("\n"), {
|
|
1190
|
+
name: "InvalidArrayError"
|
|
1264
1191
|
});
|
|
1265
1192
|
}
|
|
1266
1193
|
};
|
|
@@ -1269,52 +1196,28 @@ var InvalidDefinitionTypeError = class extends BaseError2 {
|
|
|
1269
1196
|
super([
|
|
1270
1197
|
`"${type}" is not a valid definition type.`,
|
|
1271
1198
|
'Valid types: "function", "event", "error"'
|
|
1272
|
-
].join("\n"));
|
|
1273
|
-
Object.defineProperty(this, "name", {
|
|
1274
|
-
enumerable: true,
|
|
1275
|
-
configurable: true,
|
|
1276
|
-
writable: true,
|
|
1277
|
-
value: "InvalidDefinitionTypeError"
|
|
1278
|
-
});
|
|
1199
|
+
].join("\n"), { name: "InvalidDefinitionTypeError" });
|
|
1279
1200
|
}
|
|
1280
1201
|
};
|
|
1281
1202
|
|
|
1282
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1203
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/data.js
|
|
1283
1204
|
var SliceOffsetOutOfBoundsError = class extends BaseError2 {
|
|
1284
1205
|
constructor({ offset, position, size: size2 }) {
|
|
1285
|
-
super(`Slice ${position === "start" ? "starting" : "ending"} at offset "${offset}" is out-of-bounds (size: ${size2})
|
|
1286
|
-
Object.defineProperty(this, "name", {
|
|
1287
|
-
enumerable: true,
|
|
1288
|
-
configurable: true,
|
|
1289
|
-
writable: true,
|
|
1290
|
-
value: "SliceOffsetOutOfBoundsError"
|
|
1291
|
-
});
|
|
1206
|
+
super(`Slice ${position === "start" ? "starting" : "ending"} at offset "${offset}" is out-of-bounds (size: ${size2}).`, { name: "SliceOffsetOutOfBoundsError" });
|
|
1292
1207
|
}
|
|
1293
1208
|
};
|
|
1294
1209
|
var SizeExceedsPaddingSizeError = class extends BaseError2 {
|
|
1295
1210
|
constructor({ size: size2, targetSize, type }) {
|
|
1296
|
-
super(`${type.charAt(0).toUpperCase()}${type.slice(1).toLowerCase()} size (${size2}) exceeds padding size (${targetSize})
|
|
1297
|
-
Object.defineProperty(this, "name", {
|
|
1298
|
-
enumerable: true,
|
|
1299
|
-
configurable: true,
|
|
1300
|
-
writable: true,
|
|
1301
|
-
value: "SizeExceedsPaddingSizeError"
|
|
1302
|
-
});
|
|
1211
|
+
super(`${type.charAt(0).toUpperCase()}${type.slice(1).toLowerCase()} size (${size2}) exceeds padding size (${targetSize}).`, { name: "SizeExceedsPaddingSizeError" });
|
|
1303
1212
|
}
|
|
1304
1213
|
};
|
|
1305
1214
|
var InvalidBytesLengthError = class extends BaseError2 {
|
|
1306
1215
|
constructor({ size: size2, targetSize, type }) {
|
|
1307
|
-
super(`${type.charAt(0).toUpperCase()}${type.slice(1).toLowerCase()} is expected to be ${targetSize} ${type} long, but is ${size2} ${type} long
|
|
1308
|
-
Object.defineProperty(this, "name", {
|
|
1309
|
-
enumerable: true,
|
|
1310
|
-
configurable: true,
|
|
1311
|
-
writable: true,
|
|
1312
|
-
value: "InvalidBytesLengthError"
|
|
1313
|
-
});
|
|
1216
|
+
super(`${type.charAt(0).toUpperCase()}${type.slice(1).toLowerCase()} is expected to be ${targetSize} ${type} long, but is ${size2} ${type} long.`, { name: "InvalidBytesLengthError" });
|
|
1314
1217
|
}
|
|
1315
1218
|
};
|
|
1316
1219
|
|
|
1317
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1220
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/data/slice.js
|
|
1318
1221
|
function slice(value, start, end, { strict } = {}) {
|
|
1319
1222
|
if (isHex(value, { strict: false }))
|
|
1320
1223
|
return sliceHex(value, start, end, {
|
|
@@ -1356,7 +1259,7 @@ function sliceHex(value_, start, end, { strict } = {}) {
|
|
|
1356
1259
|
return value;
|
|
1357
1260
|
}
|
|
1358
1261
|
|
|
1359
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1262
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/data/pad.js
|
|
1360
1263
|
function pad(hexOrBytes, { dir, size: size2 = 32 } = {}) {
|
|
1361
1264
|
if (typeof hexOrBytes === "string")
|
|
1362
1265
|
return padHex(hexOrBytes, { dir, size: size2 });
|
|
@@ -1391,42 +1294,26 @@ function padBytes(bytes2, { dir, size: size2 = 32 } = {}) {
|
|
|
1391
1294
|
return paddedBytes;
|
|
1392
1295
|
}
|
|
1393
1296
|
|
|
1394
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1297
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/encoding.js
|
|
1395
1298
|
var IntegerOutOfRangeError = class extends BaseError2 {
|
|
1396
1299
|
constructor({ max, min, signed, size: size2, value }) {
|
|
1397
|
-
super(`Number "${value}" is not in safe ${size2 ? `${size2 * 8}-bit ${signed ? "signed" : "unsigned"} ` : ""}integer range ${max ? `(${min} to ${max})` : `(above ${min})`}
|
|
1398
|
-
Object.defineProperty(this, "name", {
|
|
1399
|
-
enumerable: true,
|
|
1400
|
-
configurable: true,
|
|
1401
|
-
writable: true,
|
|
1402
|
-
value: "IntegerOutOfRangeError"
|
|
1403
|
-
});
|
|
1300
|
+
super(`Number "${value}" is not in safe ${size2 ? `${size2 * 8}-bit ${signed ? "signed" : "unsigned"} ` : ""}integer range ${max ? `(${min} to ${max})` : `(above ${min})`}`, { name: "IntegerOutOfRangeError" });
|
|
1404
1301
|
}
|
|
1405
1302
|
};
|
|
1406
1303
|
var InvalidBytesBooleanError = class extends BaseError2 {
|
|
1407
1304
|
constructor(bytes2) {
|
|
1408
|
-
super(`Bytes value "${bytes2}" is not a valid boolean. The bytes array must contain a single byte of either a 0 or 1 value
|
|
1409
|
-
|
|
1410
|
-
enumerable: true,
|
|
1411
|
-
configurable: true,
|
|
1412
|
-
writable: true,
|
|
1413
|
-
value: "InvalidBytesBooleanError"
|
|
1305
|
+
super(`Bytes value "${bytes2}" is not a valid boolean. The bytes array must contain a single byte of either a 0 or 1 value.`, {
|
|
1306
|
+
name: "InvalidBytesBooleanError"
|
|
1414
1307
|
});
|
|
1415
1308
|
}
|
|
1416
1309
|
};
|
|
1417
1310
|
var SizeOverflowError = class extends BaseError2 {
|
|
1418
1311
|
constructor({ givenSize, maxSize }) {
|
|
1419
|
-
super(`Size cannot exceed ${maxSize} bytes. Given size: ${givenSize} bytes
|
|
1420
|
-
Object.defineProperty(this, "name", {
|
|
1421
|
-
enumerable: true,
|
|
1422
|
-
configurable: true,
|
|
1423
|
-
writable: true,
|
|
1424
|
-
value: "SizeOverflowError"
|
|
1425
|
-
});
|
|
1312
|
+
super(`Size cannot exceed ${maxSize} bytes. Given size: ${givenSize} bytes.`, { name: "SizeOverflowError" });
|
|
1426
1313
|
}
|
|
1427
1314
|
};
|
|
1428
1315
|
|
|
1429
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1316
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/data/trim.js
|
|
1430
1317
|
function trim(hexOrBytes, { dir = "left" } = {}) {
|
|
1431
1318
|
let data = typeof hexOrBytes === "string" ? hexOrBytes.replace("0x", "") : hexOrBytes;
|
|
1432
1319
|
let sliceLength = 0;
|
|
@@ -1445,7 +1332,7 @@ function trim(hexOrBytes, { dir = "left" } = {}) {
|
|
|
1445
1332
|
return data;
|
|
1446
1333
|
}
|
|
1447
1334
|
|
|
1448
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1335
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/encoding/fromHex.js
|
|
1449
1336
|
function assertSize(hexOrBytes, { size: size2 }) {
|
|
1450
1337
|
if (size(hexOrBytes) > size2)
|
|
1451
1338
|
throw new SizeOverflowError({
|
|
@@ -1470,7 +1357,7 @@ function hexToNumber(hex, opts = {}) {
|
|
|
1470
1357
|
return Number(hexToBigInt(hex, opts));
|
|
1471
1358
|
}
|
|
1472
1359
|
|
|
1473
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1360
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/encoding/toHex.js
|
|
1474
1361
|
var hexes = /* @__PURE__ */ Array.from({ length: 256 }, (_v, i) => i.toString(16).padStart(2, "0"));
|
|
1475
1362
|
function toHex(value, opts = {}) {
|
|
1476
1363
|
if (typeof value === "number" || typeof value === "bigint")
|
|
@@ -1536,7 +1423,7 @@ function stringToHex(value_, opts = {}) {
|
|
|
1536
1423
|
return bytesToHex(value, opts);
|
|
1537
1424
|
}
|
|
1538
1425
|
|
|
1539
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1426
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/encoding/toBytes.js
|
|
1540
1427
|
var encoder2 = /* @__PURE__ */ new TextEncoder();
|
|
1541
1428
|
function toBytes2(value, opts = {}) {
|
|
1542
1429
|
if (typeof value === "number" || typeof value === "bigint")
|
|
@@ -1607,7 +1494,7 @@ function stringToBytes(value, opts = {}) {
|
|
|
1607
1494
|
return bytes2;
|
|
1608
1495
|
}
|
|
1609
1496
|
|
|
1610
|
-
// ../../node_modules/.pnpm/@noble+hashes@1.
|
|
1497
|
+
// ../../node_modules/.pnpm/@noble+hashes@1.5.0/node_modules/@noble/hashes/esm/_u64.js
|
|
1611
1498
|
var U32_MASK64 = /* @__PURE__ */ BigInt(2 ** 32 - 1);
|
|
1612
1499
|
var _32n = /* @__PURE__ */ BigInt(32);
|
|
1613
1500
|
function fromBig(n, le = false) {
|
|
@@ -1629,7 +1516,7 @@ var rotlSL = (h, l, s) => l << s | h >>> 32 - s;
|
|
|
1629
1516
|
var rotlBH = (h, l, s) => l << s - 32 | h >>> 64 - s;
|
|
1630
1517
|
var rotlBL = (h, l, s) => h << s - 32 | l >>> 64 - s;
|
|
1631
1518
|
|
|
1632
|
-
// ../../node_modules/.pnpm/@noble+hashes@1.
|
|
1519
|
+
// ../../node_modules/.pnpm/@noble+hashes@1.5.0/node_modules/@noble/hashes/esm/sha3.js
|
|
1633
1520
|
var SHA3_PI = [];
|
|
1634
1521
|
var SHA3_ROTL = [];
|
|
1635
1522
|
var _SHA3_IOTA = [];
|
|
@@ -1815,7 +1702,7 @@ var genShake = (suffix, blockLen, outputLen) => wrapXOFConstructorWithOpts((opts
|
|
|
1815
1702
|
var shake128 = /* @__PURE__ */ genShake(31, 168, 128 / 8);
|
|
1816
1703
|
var shake256 = /* @__PURE__ */ genShake(31, 136, 256 / 8);
|
|
1817
1704
|
|
|
1818
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1705
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/hash/keccak256.js
|
|
1819
1706
|
function keccak256(value, to_) {
|
|
1820
1707
|
const to = to_ || "hex";
|
|
1821
1708
|
const bytes2 = keccak_256(isHex(value, { strict: false }) ? toBytes2(value) : value);
|
|
@@ -1824,13 +1711,13 @@ function keccak256(value, to_) {
|
|
|
1824
1711
|
return toHex(bytes2);
|
|
1825
1712
|
}
|
|
1826
1713
|
|
|
1827
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1714
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/hash/hashSignature.js
|
|
1828
1715
|
var hash = (value) => keccak256(toBytes2(value));
|
|
1829
1716
|
function hashSignature(sig) {
|
|
1830
1717
|
return hash(sig);
|
|
1831
1718
|
}
|
|
1832
1719
|
|
|
1833
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1720
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/hash/normalizeSignature.js
|
|
1834
1721
|
function normalizeSignature(signature) {
|
|
1835
1722
|
let active = true;
|
|
1836
1723
|
let current = "";
|
|
@@ -1874,7 +1761,7 @@ function normalizeSignature(signature) {
|
|
|
1874
1761
|
return result;
|
|
1875
1762
|
}
|
|
1876
1763
|
|
|
1877
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1764
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/hash/toSignature.js
|
|
1878
1765
|
var toSignature = (def) => {
|
|
1879
1766
|
const def_ = (() => {
|
|
1880
1767
|
if (typeof def === "string")
|
|
@@ -1884,33 +1771,28 @@ var toSignature = (def) => {
|
|
|
1884
1771
|
return normalizeSignature(def_);
|
|
1885
1772
|
};
|
|
1886
1773
|
|
|
1887
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1774
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/hash/toSignatureHash.js
|
|
1888
1775
|
function toSignatureHash(fn) {
|
|
1889
1776
|
return hashSignature(toSignature(fn));
|
|
1890
1777
|
}
|
|
1891
1778
|
|
|
1892
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1779
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/hash/toFunctionSelector.js
|
|
1893
1780
|
var toFunctionSelector = (fn) => slice(toSignatureHash(fn), 0, 4);
|
|
1894
1781
|
|
|
1895
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1782
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/address.js
|
|
1896
1783
|
var InvalidAddressError = class extends BaseError2 {
|
|
1897
1784
|
constructor({ address }) {
|
|
1898
1785
|
super(`Address "${address}" is invalid.`, {
|
|
1899
1786
|
metaMessages: [
|
|
1900
1787
|
"- Address must be a hex value of 20 bytes (40 hex characters).",
|
|
1901
1788
|
"- Address must match its checksum counterpart."
|
|
1902
|
-
]
|
|
1903
|
-
|
|
1904
|
-
Object.defineProperty(this, "name", {
|
|
1905
|
-
enumerable: true,
|
|
1906
|
-
configurable: true,
|
|
1907
|
-
writable: true,
|
|
1908
|
-
value: "InvalidAddressError"
|
|
1789
|
+
],
|
|
1790
|
+
name: "InvalidAddressError"
|
|
1909
1791
|
});
|
|
1910
1792
|
}
|
|
1911
1793
|
};
|
|
1912
1794
|
|
|
1913
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1795
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/lru.js
|
|
1914
1796
|
var LruMap = class extends Map {
|
|
1915
1797
|
constructor(size2) {
|
|
1916
1798
|
super();
|
|
@@ -1922,15 +1804,26 @@ var LruMap = class extends Map {
|
|
|
1922
1804
|
});
|
|
1923
1805
|
this.maxSize = size2;
|
|
1924
1806
|
}
|
|
1807
|
+
get(key) {
|
|
1808
|
+
const value = super.get(key);
|
|
1809
|
+
if (super.has(key) && value !== void 0) {
|
|
1810
|
+
this.delete(key);
|
|
1811
|
+
super.set(key, value);
|
|
1812
|
+
}
|
|
1813
|
+
return value;
|
|
1814
|
+
}
|
|
1925
1815
|
set(key, value) {
|
|
1926
1816
|
super.set(key, value);
|
|
1927
|
-
if (this.maxSize && this.size > this.maxSize)
|
|
1928
|
-
this.
|
|
1817
|
+
if (this.maxSize && this.size > this.maxSize) {
|
|
1818
|
+
const firstKey = this.keys().next().value;
|
|
1819
|
+
if (firstKey)
|
|
1820
|
+
this.delete(firstKey);
|
|
1821
|
+
}
|
|
1929
1822
|
return this;
|
|
1930
1823
|
}
|
|
1931
1824
|
};
|
|
1932
1825
|
|
|
1933
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1826
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/address/isAddress.js
|
|
1934
1827
|
var addressRegex = /^0x[a-fA-F0-9]{40}$/;
|
|
1935
1828
|
var isAddressCache = /* @__PURE__ */ new LruMap(8192);
|
|
1936
1829
|
function isAddress(address, options) {
|
|
@@ -1951,7 +1844,7 @@ function isAddress(address, options) {
|
|
|
1951
1844
|
return result;
|
|
1952
1845
|
}
|
|
1953
1846
|
|
|
1954
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1847
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/address/getAddress.js
|
|
1955
1848
|
var checksumAddressCache = /* @__PURE__ */ new LruMap(8192);
|
|
1956
1849
|
function checksumAddress(address_, chainId) {
|
|
1957
1850
|
if (checksumAddressCache.has(`${address_}.${chainId}`))
|
|
@@ -1972,42 +1865,26 @@ function checksumAddress(address_, chainId) {
|
|
|
1972
1865
|
return result;
|
|
1973
1866
|
}
|
|
1974
1867
|
|
|
1975
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1868
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/cursor.js
|
|
1976
1869
|
var NegativeOffsetError = class extends BaseError2 {
|
|
1977
1870
|
constructor({ offset }) {
|
|
1978
|
-
super(`Offset \`${offset}\` cannot be negative
|
|
1979
|
-
|
|
1980
|
-
enumerable: true,
|
|
1981
|
-
configurable: true,
|
|
1982
|
-
writable: true,
|
|
1983
|
-
value: "NegativeOffsetError"
|
|
1871
|
+
super(`Offset \`${offset}\` cannot be negative.`, {
|
|
1872
|
+
name: "NegativeOffsetError"
|
|
1984
1873
|
});
|
|
1985
1874
|
}
|
|
1986
1875
|
};
|
|
1987
1876
|
var PositionOutOfBoundsError = class extends BaseError2 {
|
|
1988
1877
|
constructor({ length, position }) {
|
|
1989
|
-
super(`Position \`${position}\` is out of bounds (\`0 < position < ${length}\`)
|
|
1990
|
-
Object.defineProperty(this, "name", {
|
|
1991
|
-
enumerable: true,
|
|
1992
|
-
configurable: true,
|
|
1993
|
-
writable: true,
|
|
1994
|
-
value: "PositionOutOfBoundsError"
|
|
1995
|
-
});
|
|
1878
|
+
super(`Position \`${position}\` is out of bounds (\`0 < position < ${length}\`).`, { name: "PositionOutOfBoundsError" });
|
|
1996
1879
|
}
|
|
1997
1880
|
};
|
|
1998
1881
|
var RecursiveReadLimitExceededError = class extends BaseError2 {
|
|
1999
1882
|
constructor({ count, limit }) {
|
|
2000
|
-
super(`Recursive read limit of \`${limit}\` exceeded (recursive read count: \`${count}\`)
|
|
2001
|
-
Object.defineProperty(this, "name", {
|
|
2002
|
-
enumerable: true,
|
|
2003
|
-
configurable: true,
|
|
2004
|
-
writable: true,
|
|
2005
|
-
value: "RecursiveReadLimitExceededError"
|
|
2006
|
-
});
|
|
1883
|
+
super(`Recursive read limit of \`${limit}\` exceeded (recursive read count: \`${count}\`).`, { name: "RecursiveReadLimitExceededError" });
|
|
2007
1884
|
}
|
|
2008
1885
|
};
|
|
2009
1886
|
|
|
2010
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1887
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/cursor.js
|
|
2011
1888
|
var staticCursor = {
|
|
2012
1889
|
bytes: new Uint8Array(),
|
|
2013
1890
|
dataView: new DataView(new ArrayBuffer(0)),
|
|
@@ -2176,7 +2053,7 @@ function createCursor(bytes2, { recursiveReadLimit = 8192 } = {}) {
|
|
|
2176
2053
|
return cursor;
|
|
2177
2054
|
}
|
|
2178
2055
|
|
|
2179
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2056
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/encoding/fromBytes.js
|
|
2180
2057
|
function bytesToBigInt(bytes2, opts = {}) {
|
|
2181
2058
|
if (typeof opts.size !== "undefined")
|
|
2182
2059
|
assertSize(bytes2, { size: opts.size });
|
|
@@ -2208,7 +2085,7 @@ function bytesToString(bytes_, opts = {}) {
|
|
|
2208
2085
|
return new TextDecoder().decode(bytes2);
|
|
2209
2086
|
}
|
|
2210
2087
|
|
|
2211
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2088
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/data/concat.js
|
|
2212
2089
|
function concat(values) {
|
|
2213
2090
|
if (typeof values[0] === "string")
|
|
2214
2091
|
return concatHex(values);
|
|
@@ -2231,7 +2108,7 @@ function concatHex(values) {
|
|
|
2231
2108
|
return `0x${values.reduce((acc, x) => acc + x.replace("0x", ""), "")}`;
|
|
2232
2109
|
}
|
|
2233
2110
|
|
|
2234
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2111
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/abi/encodeAbiParameters.js
|
|
2235
2112
|
function encodeAbiParameters(params, values) {
|
|
2236
2113
|
if (params.length !== values.length)
|
|
2237
2114
|
throw new AbiEncodingLengthMismatchError({
|
|
@@ -2429,7 +2306,7 @@ function getArrayComponents(type) {
|
|
|
2429
2306
|
) : void 0;
|
|
2430
2307
|
}
|
|
2431
2308
|
|
|
2432
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2309
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/abi/decodeAbiParameters.js
|
|
2433
2310
|
function decodeAbiParameters(params, data) {
|
|
2434
2311
|
const bytes2 = typeof data === "string" ? hexToBytes(data) : data;
|
|
2435
2312
|
const cursor = createCursor(bytes2);
|
|
@@ -2616,7 +2493,7 @@ function hasDynamicChild(param) {
|
|
|
2616
2493
|
return false;
|
|
2617
2494
|
}
|
|
2618
2495
|
|
|
2619
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2496
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/abi/decodeErrorResult.js
|
|
2620
2497
|
function decodeErrorResult(parameters) {
|
|
2621
2498
|
const { abi, data } = parameters;
|
|
2622
2499
|
const signature = slice(data, 0, 4);
|
|
@@ -2635,16 +2512,16 @@ function decodeErrorResult(parameters) {
|
|
|
2635
2512
|
};
|
|
2636
2513
|
}
|
|
2637
2514
|
|
|
2638
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2515
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/stringify.js
|
|
2639
2516
|
var stringify = (value, replacer, space) => JSON.stringify(value, (key, value_) => {
|
|
2640
2517
|
const value2 = typeof value_ === "bigint" ? value_.toString() : value_;
|
|
2641
2518
|
return typeof replacer === "function" ? replacer(key, value2) : value2;
|
|
2642
2519
|
}, space);
|
|
2643
2520
|
|
|
2644
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2521
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/hash/toEventSelector.js
|
|
2645
2522
|
var toEventSelector = toSignatureHash;
|
|
2646
2523
|
|
|
2647
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2524
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/abi/getAbiItem.js
|
|
2648
2525
|
function getAbiItem(parameters) {
|
|
2649
2526
|
const { abi, args = [], name } = parameters;
|
|
2650
2527
|
const isSelector = isHex(name, { strict: false });
|
|
@@ -2756,7 +2633,7 @@ function getAmbiguousTypes(sourceParameters, targetParameters, args) {
|
|
|
2756
2633
|
return;
|
|
2757
2634
|
}
|
|
2758
2635
|
|
|
2759
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2636
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/constants/unit.js
|
|
2760
2637
|
var etherUnits = {
|
|
2761
2638
|
gwei: 9,
|
|
2762
2639
|
wei: 18
|
|
@@ -2766,7 +2643,7 @@ var gweiUnits = {
|
|
|
2766
2643
|
wei: 9
|
|
2767
2644
|
};
|
|
2768
2645
|
|
|
2769
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2646
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/unit/formatUnits.js
|
|
2770
2647
|
function formatUnits(value, decimals) {
|
|
2771
2648
|
let display = value.toString();
|
|
2772
2649
|
const negative = display.startsWith("-");
|
|
@@ -2781,36 +2658,28 @@ function formatUnits(value, decimals) {
|
|
|
2781
2658
|
return `${negative ? "-" : ""}${integer || "0"}${fraction ? `.${fraction}` : ""}`;
|
|
2782
2659
|
}
|
|
2783
2660
|
|
|
2784
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2661
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/unit/formatEther.js
|
|
2785
2662
|
function formatEther(wei, unit = "wei") {
|
|
2786
2663
|
return formatUnits(wei, etherUnits[unit]);
|
|
2787
2664
|
}
|
|
2788
2665
|
|
|
2789
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2666
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/unit/formatGwei.js
|
|
2790
2667
|
function formatGwei(wei, unit = "wei") {
|
|
2791
2668
|
return formatUnits(wei, gweiUnits[unit]);
|
|
2792
2669
|
}
|
|
2793
2670
|
|
|
2794
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2671
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/stateOverride.js
|
|
2795
2672
|
var AccountStateConflictError = class extends BaseError2 {
|
|
2796
2673
|
constructor({ address }) {
|
|
2797
|
-
super(`State for account "${address}" is set multiple times
|
|
2798
|
-
|
|
2799
|
-
enumerable: true,
|
|
2800
|
-
configurable: true,
|
|
2801
|
-
writable: true,
|
|
2802
|
-
value: "AccountStateConflictError"
|
|
2674
|
+
super(`State for account "${address}" is set multiple times.`, {
|
|
2675
|
+
name: "AccountStateConflictError"
|
|
2803
2676
|
});
|
|
2804
2677
|
}
|
|
2805
2678
|
};
|
|
2806
2679
|
var StateAssignmentConflictError = class extends BaseError2 {
|
|
2807
2680
|
constructor() {
|
|
2808
|
-
super("state and stateDiff are set on the same account."
|
|
2809
|
-
|
|
2810
|
-
enumerable: true,
|
|
2811
|
-
configurable: true,
|
|
2812
|
-
writable: true,
|
|
2813
|
-
value: "StateAssignmentConflictError"
|
|
2681
|
+
super("state and stateDiff are set on the same account.", {
|
|
2682
|
+
name: "StateAssignmentConflictError"
|
|
2814
2683
|
});
|
|
2815
2684
|
}
|
|
2816
2685
|
};
|
|
@@ -2845,7 +2714,7 @@ function prettyStateOverride(stateOverride) {
|
|
|
2845
2714
|
}, " State Override:\n").slice(0, -1);
|
|
2846
2715
|
}
|
|
2847
2716
|
|
|
2848
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2717
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/transaction.js
|
|
2849
2718
|
function prettyPrint(args) {
|
|
2850
2719
|
const entries = Object.entries(args).map(([key, value]) => {
|
|
2851
2720
|
if (value === void 0 || value === false)
|
|
@@ -2860,17 +2729,14 @@ var FeeConflictError = class extends BaseError2 {
|
|
|
2860
2729
|
super([
|
|
2861
2730
|
"Cannot specify both a `gasPrice` and a `maxFeePerGas`/`maxPriorityFeePerGas`.",
|
|
2862
2731
|
"Use `maxFeePerGas`/`maxPriorityFeePerGas` for EIP-1559 compatible networks, and `gasPrice` for others."
|
|
2863
|
-
].join("\n"));
|
|
2864
|
-
Object.defineProperty(this, "name", {
|
|
2865
|
-
enumerable: true,
|
|
2866
|
-
configurable: true,
|
|
2867
|
-
writable: true,
|
|
2868
|
-
value: "FeeConflictError"
|
|
2869
|
-
});
|
|
2732
|
+
].join("\n"), { name: "FeeConflictError" });
|
|
2870
2733
|
}
|
|
2871
2734
|
};
|
|
2872
2735
|
|
|
2873
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2736
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/utils.js
|
|
2737
|
+
var getUrl = (url) => url;
|
|
2738
|
+
|
|
2739
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/contract.js
|
|
2874
2740
|
var CallExecutionError = class extends BaseError2 {
|
|
2875
2741
|
constructor(cause, { account: account_, docsPath: docsPath4, chain, data, gas, gasPrice, maxFeePerGas, maxPriorityFeePerGas, nonce, to, value, stateOverride }) {
|
|
2876
2742
|
const account = account_ ? parseAccount(account_) : void 0;
|
|
@@ -2896,7 +2762,8 @@ ${prettyStateOverride(stateOverride)}`;
|
|
|
2896
2762
|
...cause.metaMessages ? [...cause.metaMessages, " "] : [],
|
|
2897
2763
|
"Raw Call Arguments:",
|
|
2898
2764
|
prettyArgs
|
|
2899
|
-
].filter(Boolean)
|
|
2765
|
+
].filter(Boolean),
|
|
2766
|
+
name: "CallExecutionError"
|
|
2900
2767
|
});
|
|
2901
2768
|
Object.defineProperty(this, "cause", {
|
|
2902
2769
|
enumerable: true,
|
|
@@ -2904,12 +2771,6 @@ ${prettyStateOverride(stateOverride)}`;
|
|
|
2904
2771
|
writable: true,
|
|
2905
2772
|
value: void 0
|
|
2906
2773
|
});
|
|
2907
|
-
Object.defineProperty(this, "name", {
|
|
2908
|
-
enumerable: true,
|
|
2909
|
-
configurable: true,
|
|
2910
|
-
writable: true,
|
|
2911
|
-
value: "CallExecutionError"
|
|
2912
|
-
});
|
|
2913
2774
|
this.cause = cause;
|
|
2914
2775
|
}
|
|
2915
2776
|
};
|
|
@@ -2920,31 +2781,20 @@ var CounterfactualDeploymentFailedError = class extends BaseError2 {
|
|
|
2920
2781
|
"Please ensure:",
|
|
2921
2782
|
"- The `factory` is a valid contract deployment factory (ie. Create2 Factory, ERC-4337 Factory, etc).",
|
|
2922
2783
|
"- The `factoryData` is a valid encoded function call for contract deployment function on the factory."
|
|
2923
|
-
]
|
|
2924
|
-
|
|
2925
|
-
Object.defineProperty(this, "name", {
|
|
2926
|
-
enumerable: true,
|
|
2927
|
-
configurable: true,
|
|
2928
|
-
writable: true,
|
|
2929
|
-
value: "CounterfactualDeploymentFailedError"
|
|
2784
|
+
],
|
|
2785
|
+
name: "CounterfactualDeploymentFailedError"
|
|
2930
2786
|
});
|
|
2931
2787
|
}
|
|
2932
2788
|
};
|
|
2933
2789
|
var RawContractError = class extends BaseError2 {
|
|
2934
2790
|
constructor({ data, message }) {
|
|
2935
|
-
super(message || "");
|
|
2791
|
+
super(message || "", { name: "RawContractError" });
|
|
2936
2792
|
Object.defineProperty(this, "code", {
|
|
2937
2793
|
enumerable: true,
|
|
2938
2794
|
configurable: true,
|
|
2939
2795
|
writable: true,
|
|
2940
2796
|
value: 3
|
|
2941
2797
|
});
|
|
2942
|
-
Object.defineProperty(this, "name", {
|
|
2943
|
-
enumerable: true,
|
|
2944
|
-
configurable: true,
|
|
2945
|
-
writable: true,
|
|
2946
|
-
value: "RawContractError"
|
|
2947
|
-
});
|
|
2948
2798
|
Object.defineProperty(this, "data", {
|
|
2949
2799
|
enumerable: true,
|
|
2950
2800
|
configurable: true,
|
|
@@ -2955,7 +2805,7 @@ var RawContractError = class extends BaseError2 {
|
|
|
2955
2805
|
}
|
|
2956
2806
|
};
|
|
2957
2807
|
|
|
2958
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2808
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/abi/decodeFunctionResult.js
|
|
2959
2809
|
var docsPath = "/docs/contract/decodeFunctionResult";
|
|
2960
2810
|
function decodeFunctionResult(parameters) {
|
|
2961
2811
|
const { abi, args, functionName, data } = parameters;
|
|
@@ -2978,7 +2828,7 @@ function decodeFunctionResult(parameters) {
|
|
|
2978
2828
|
return void 0;
|
|
2979
2829
|
}
|
|
2980
2830
|
|
|
2981
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2831
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/abi/encodeDeployData.js
|
|
2982
2832
|
var docsPath2 = "/docs/contract/encodeDeployData";
|
|
2983
2833
|
function encodeDeployData(parameters) {
|
|
2984
2834
|
const { abi, args, bytecode } = parameters;
|
|
@@ -2995,7 +2845,7 @@ function encodeDeployData(parameters) {
|
|
|
2995
2845
|
return concatHex([bytecode, data]);
|
|
2996
2846
|
}
|
|
2997
2847
|
|
|
2998
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2848
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/abi/prepareEncodeFunctionData.js
|
|
2999
2849
|
var docsPath3 = "/docs/contract/encodeFunctionData";
|
|
3000
2850
|
function prepareEncodeFunctionData(parameters) {
|
|
3001
2851
|
const { abi, args, functionName } = parameters;
|
|
@@ -3018,7 +2868,7 @@ function prepareEncodeFunctionData(parameters) {
|
|
|
3018
2868
|
};
|
|
3019
2869
|
}
|
|
3020
2870
|
|
|
3021
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2871
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/abi/encodeFunctionData.js
|
|
3022
2872
|
function encodeFunctionData(parameters) {
|
|
3023
2873
|
const { args } = parameters;
|
|
3024
2874
|
const { abi, functionName } = (() => {
|
|
@@ -3032,7 +2882,7 @@ function encodeFunctionData(parameters) {
|
|
|
3032
2882
|
return concatHex([signature, data ?? "0x"]);
|
|
3033
2883
|
}
|
|
3034
2884
|
|
|
3035
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2885
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/chain/getChainContractAddress.js
|
|
3036
2886
|
function getChainContractAddress({ blockNumber, chain, contract: name }) {
|
|
3037
2887
|
const contract = chain?.contracts?.[name];
|
|
3038
2888
|
if (!contract)
|
|
@@ -3052,18 +2902,13 @@ function getChainContractAddress({ blockNumber, chain, contract: name }) {
|
|
|
3052
2902
|
return contract.address;
|
|
3053
2903
|
}
|
|
3054
2904
|
|
|
3055
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2905
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/node.js
|
|
3056
2906
|
var ExecutionRevertedError = class extends BaseError2 {
|
|
3057
2907
|
constructor({ cause, message } = {}) {
|
|
3058
2908
|
const reason = message?.replace("execution reverted: ", "")?.replace("execution reverted", "");
|
|
3059
2909
|
super(`Execution reverted ${reason ? `with reason: ${reason}` : "for an unknown reason"}.`, {
|
|
3060
|
-
cause
|
|
3061
|
-
|
|
3062
|
-
Object.defineProperty(this, "name", {
|
|
3063
|
-
enumerable: true,
|
|
3064
|
-
configurable: true,
|
|
3065
|
-
writable: true,
|
|
3066
|
-
value: "ExecutionRevertedError"
|
|
2910
|
+
cause,
|
|
2911
|
+
name: "ExecutionRevertedError"
|
|
3067
2912
|
});
|
|
3068
2913
|
}
|
|
3069
2914
|
};
|
|
@@ -3082,13 +2927,8 @@ Object.defineProperty(ExecutionRevertedError, "nodeMessage", {
|
|
|
3082
2927
|
var FeeCapTooHighError = class extends BaseError2 {
|
|
3083
2928
|
constructor({ cause, maxFeePerGas } = {}) {
|
|
3084
2929
|
super(`The fee cap (\`maxFeePerGas\`${maxFeePerGas ? ` = ${formatGwei(maxFeePerGas)} gwei` : ""}) cannot be higher than the maximum allowed value (2^256-1).`, {
|
|
3085
|
-
cause
|
|
3086
|
-
|
|
3087
|
-
Object.defineProperty(this, "name", {
|
|
3088
|
-
enumerable: true,
|
|
3089
|
-
configurable: true,
|
|
3090
|
-
writable: true,
|
|
3091
|
-
value: "FeeCapTooHigh"
|
|
2930
|
+
cause,
|
|
2931
|
+
name: "FeeCapTooHighError"
|
|
3092
2932
|
});
|
|
3093
2933
|
}
|
|
3094
2934
|
};
|
|
@@ -3101,13 +2941,8 @@ Object.defineProperty(FeeCapTooHighError, "nodeMessage", {
|
|
|
3101
2941
|
var FeeCapTooLowError = class extends BaseError2 {
|
|
3102
2942
|
constructor({ cause, maxFeePerGas } = {}) {
|
|
3103
2943
|
super(`The fee cap (\`maxFeePerGas\`${maxFeePerGas ? ` = ${formatGwei(maxFeePerGas)}` : ""} gwei) cannot be lower than the block base fee.`, {
|
|
3104
|
-
cause
|
|
3105
|
-
|
|
3106
|
-
Object.defineProperty(this, "name", {
|
|
3107
|
-
enumerable: true,
|
|
3108
|
-
configurable: true,
|
|
3109
|
-
writable: true,
|
|
3110
|
-
value: "FeeCapTooLow"
|
|
2944
|
+
cause,
|
|
2945
|
+
name: "FeeCapTooLowError"
|
|
3111
2946
|
});
|
|
3112
2947
|
}
|
|
3113
2948
|
};
|
|
@@ -3119,13 +2954,7 @@ Object.defineProperty(FeeCapTooLowError, "nodeMessage", {
|
|
|
3119
2954
|
});
|
|
3120
2955
|
var NonceTooHighError = class extends BaseError2 {
|
|
3121
2956
|
constructor({ cause, nonce } = {}) {
|
|
3122
|
-
super(`Nonce provided for the transaction ${nonce ? `(${nonce}) ` : ""}is higher than the next one expected.`, { cause });
|
|
3123
|
-
Object.defineProperty(this, "name", {
|
|
3124
|
-
enumerable: true,
|
|
3125
|
-
configurable: true,
|
|
3126
|
-
writable: true,
|
|
3127
|
-
value: "NonceTooHighError"
|
|
3128
|
-
});
|
|
2957
|
+
super(`Nonce provided for the transaction ${nonce ? `(${nonce}) ` : ""}is higher than the next one expected.`, { cause, name: "NonceTooHighError" });
|
|
3129
2958
|
}
|
|
3130
2959
|
};
|
|
3131
2960
|
Object.defineProperty(NonceTooHighError, "nodeMessage", {
|
|
@@ -3139,13 +2968,7 @@ var NonceTooLowError = class extends BaseError2 {
|
|
|
3139
2968
|
super([
|
|
3140
2969
|
`Nonce provided for the transaction ${nonce ? `(${nonce}) ` : ""}is lower than the current nonce of the account.`,
|
|
3141
2970
|
"Try increasing the nonce or find the latest nonce with `getTransactionCount`."
|
|
3142
|
-
].join("\n"), { cause });
|
|
3143
|
-
Object.defineProperty(this, "name", {
|
|
3144
|
-
enumerable: true,
|
|
3145
|
-
configurable: true,
|
|
3146
|
-
writable: true,
|
|
3147
|
-
value: "NonceTooLowError"
|
|
3148
|
-
});
|
|
2971
|
+
].join("\n"), { cause, name: "NonceTooLowError" });
|
|
3149
2972
|
}
|
|
3150
2973
|
};
|
|
3151
2974
|
Object.defineProperty(NonceTooLowError, "nodeMessage", {
|
|
@@ -3156,13 +2979,7 @@ Object.defineProperty(NonceTooLowError, "nodeMessage", {
|
|
|
3156
2979
|
});
|
|
3157
2980
|
var NonceMaxValueError = class extends BaseError2 {
|
|
3158
2981
|
constructor({ cause, nonce } = {}) {
|
|
3159
|
-
super(`Nonce provided for the transaction ${nonce ? `(${nonce}) ` : ""}exceeds the maximum allowed nonce.`, { cause });
|
|
3160
|
-
Object.defineProperty(this, "name", {
|
|
3161
|
-
enumerable: true,
|
|
3162
|
-
configurable: true,
|
|
3163
|
-
writable: true,
|
|
3164
|
-
value: "NonceMaxValueError"
|
|
3165
|
-
});
|
|
2982
|
+
super(`Nonce provided for the transaction ${nonce ? `(${nonce}) ` : ""}exceeds the maximum allowed nonce.`, { cause, name: "NonceMaxValueError" });
|
|
3166
2983
|
}
|
|
3167
2984
|
};
|
|
3168
2985
|
Object.defineProperty(NonceMaxValueError, "nodeMessage", {
|
|
@@ -3186,13 +3003,8 @@ var InsufficientFundsError = class extends BaseError2 {
|
|
|
3186
3003
|
" - `gas` is the amount of gas needed for transaction to execute,",
|
|
3187
3004
|
" - `gas fee` is the gas fee,",
|
|
3188
3005
|
" - `value` is the amount of ether to send to the recipient."
|
|
3189
|
-
]
|
|
3190
|
-
|
|
3191
|
-
Object.defineProperty(this, "name", {
|
|
3192
|
-
enumerable: true,
|
|
3193
|
-
configurable: true,
|
|
3194
|
-
writable: true,
|
|
3195
|
-
value: "InsufficientFundsError"
|
|
3006
|
+
],
|
|
3007
|
+
name: "InsufficientFundsError"
|
|
3196
3008
|
});
|
|
3197
3009
|
}
|
|
3198
3010
|
};
|
|
@@ -3200,18 +3012,13 @@ Object.defineProperty(InsufficientFundsError, "nodeMessage", {
|
|
|
3200
3012
|
enumerable: true,
|
|
3201
3013
|
configurable: true,
|
|
3202
3014
|
writable: true,
|
|
3203
|
-
value: /insufficient funds/
|
|
3015
|
+
value: /insufficient funds|exceeds transaction sender account balance/
|
|
3204
3016
|
});
|
|
3205
3017
|
var IntrinsicGasTooHighError = class extends BaseError2 {
|
|
3206
3018
|
constructor({ cause, gas } = {}) {
|
|
3207
3019
|
super(`The amount of gas ${gas ? `(${gas}) ` : ""}provided for the transaction exceeds the limit allowed for the block.`, {
|
|
3208
|
-
cause
|
|
3209
|
-
|
|
3210
|
-
Object.defineProperty(this, "name", {
|
|
3211
|
-
enumerable: true,
|
|
3212
|
-
configurable: true,
|
|
3213
|
-
writable: true,
|
|
3214
|
-
value: "IntrinsicGasTooHighError"
|
|
3020
|
+
cause,
|
|
3021
|
+
name: "IntrinsicGasTooHighError"
|
|
3215
3022
|
});
|
|
3216
3023
|
}
|
|
3217
3024
|
};
|
|
@@ -3224,13 +3031,8 @@ Object.defineProperty(IntrinsicGasTooHighError, "nodeMessage", {
|
|
|
3224
3031
|
var IntrinsicGasTooLowError = class extends BaseError2 {
|
|
3225
3032
|
constructor({ cause, gas } = {}) {
|
|
3226
3033
|
super(`The amount of gas ${gas ? `(${gas}) ` : ""}provided for the transaction is too low.`, {
|
|
3227
|
-
cause
|
|
3228
|
-
|
|
3229
|
-
Object.defineProperty(this, "name", {
|
|
3230
|
-
enumerable: true,
|
|
3231
|
-
configurable: true,
|
|
3232
|
-
writable: true,
|
|
3233
|
-
value: "IntrinsicGasTooLowError"
|
|
3034
|
+
cause,
|
|
3035
|
+
name: "IntrinsicGasTooLowError"
|
|
3234
3036
|
});
|
|
3235
3037
|
}
|
|
3236
3038
|
};
|
|
@@ -3243,13 +3045,8 @@ Object.defineProperty(IntrinsicGasTooLowError, "nodeMessage", {
|
|
|
3243
3045
|
var TransactionTypeNotSupportedError = class extends BaseError2 {
|
|
3244
3046
|
constructor({ cause }) {
|
|
3245
3047
|
super("The transaction type is not supported for this chain.", {
|
|
3246
|
-
cause
|
|
3247
|
-
|
|
3248
|
-
Object.defineProperty(this, "name", {
|
|
3249
|
-
enumerable: true,
|
|
3250
|
-
configurable: true,
|
|
3251
|
-
writable: true,
|
|
3252
|
-
value: "TransactionTypeNotSupportedError"
|
|
3048
|
+
cause,
|
|
3049
|
+
name: "TransactionTypeNotSupportedError"
|
|
3253
3050
|
});
|
|
3254
3051
|
}
|
|
3255
3052
|
};
|
|
@@ -3264,13 +3061,8 @@ var TipAboveFeeCapError = class extends BaseError2 {
|
|
|
3264
3061
|
super([
|
|
3265
3062
|
`The provided tip (\`maxPriorityFeePerGas\`${maxPriorityFeePerGas ? ` = ${formatGwei(maxPriorityFeePerGas)} gwei` : ""}) cannot be higher than the fee cap (\`maxFeePerGas\`${maxFeePerGas ? ` = ${formatGwei(maxFeePerGas)} gwei` : ""}).`
|
|
3266
3063
|
].join("\n"), {
|
|
3267
|
-
cause
|
|
3268
|
-
|
|
3269
|
-
Object.defineProperty(this, "name", {
|
|
3270
|
-
enumerable: true,
|
|
3271
|
-
configurable: true,
|
|
3272
|
-
writable: true,
|
|
3273
|
-
value: "TipAboveFeeCapError"
|
|
3064
|
+
cause,
|
|
3065
|
+
name: "TipAboveFeeCapError"
|
|
3274
3066
|
});
|
|
3275
3067
|
}
|
|
3276
3068
|
};
|
|
@@ -3283,18 +3075,13 @@ Object.defineProperty(TipAboveFeeCapError, "nodeMessage", {
|
|
|
3283
3075
|
var UnknownNodeError = class extends BaseError2 {
|
|
3284
3076
|
constructor({ cause }) {
|
|
3285
3077
|
super(`An error occurred while executing: ${cause?.shortMessage}`, {
|
|
3286
|
-
cause
|
|
3287
|
-
|
|
3288
|
-
Object.defineProperty(this, "name", {
|
|
3289
|
-
enumerable: true,
|
|
3290
|
-
configurable: true,
|
|
3291
|
-
writable: true,
|
|
3292
|
-
value: "UnknownNodeError"
|
|
3078
|
+
cause,
|
|
3079
|
+
name: "UnknownNodeError"
|
|
3293
3080
|
});
|
|
3294
3081
|
}
|
|
3295
3082
|
};
|
|
3296
3083
|
|
|
3297
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
3084
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/request.js
|
|
3298
3085
|
var HttpRequestError = class extends BaseError2 {
|
|
3299
3086
|
constructor({ body, cause, details, headers, status, url }) {
|
|
3300
3087
|
super("HTTP request failed.", {
|
|
@@ -3304,13 +3091,8 @@ var HttpRequestError = class extends BaseError2 {
|
|
|
3304
3091
|
status && `Status: ${status}`,
|
|
3305
3092
|
`URL: ${getUrl(url)}`,
|
|
3306
3093
|
body && `Request body: ${stringify(body)}`
|
|
3307
|
-
].filter(Boolean)
|
|
3308
|
-
|
|
3309
|
-
Object.defineProperty(this, "name", {
|
|
3310
|
-
enumerable: true,
|
|
3311
|
-
configurable: true,
|
|
3312
|
-
writable: true,
|
|
3313
|
-
value: "HttpRequestError"
|
|
3094
|
+
].filter(Boolean),
|
|
3095
|
+
name: "HttpRequestError"
|
|
3314
3096
|
});
|
|
3315
3097
|
Object.defineProperty(this, "body", {
|
|
3316
3098
|
enumerable: true,
|
|
@@ -3343,10 +3125,10 @@ var HttpRequestError = class extends BaseError2 {
|
|
|
3343
3125
|
}
|
|
3344
3126
|
};
|
|
3345
3127
|
|
|
3346
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
3128
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/errors/getNodeError.js
|
|
3347
3129
|
function getNodeError(err, args) {
|
|
3348
3130
|
const message = (err.details || "").toLowerCase();
|
|
3349
|
-
const executionRevertedError = err instanceof BaseError2 ? err.walk((e) => e
|
|
3131
|
+
const executionRevertedError = err instanceof BaseError2 ? err.walk((e) => e?.code === ExecutionRevertedError.code) : err;
|
|
3350
3132
|
if (executionRevertedError instanceof BaseError2)
|
|
3351
3133
|
return new ExecutionRevertedError({
|
|
3352
3134
|
cause: err,
|
|
@@ -3392,7 +3174,7 @@ function getNodeError(err, args) {
|
|
|
3392
3174
|
});
|
|
3393
3175
|
}
|
|
3394
3176
|
|
|
3395
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
3177
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/errors/getCallError.js
|
|
3396
3178
|
function getCallError(err, { docsPath: docsPath4, ...args }) {
|
|
3397
3179
|
const cause = (() => {
|
|
3398
3180
|
const cause2 = getNodeError(err, args);
|
|
@@ -3406,7 +3188,7 @@ function getCallError(err, { docsPath: docsPath4, ...args }) {
|
|
|
3406
3188
|
});
|
|
3407
3189
|
}
|
|
3408
3190
|
|
|
3409
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
3191
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/formatters/extract.js
|
|
3410
3192
|
function extract(value_, { format }) {
|
|
3411
3193
|
if (!format)
|
|
3412
3194
|
return {};
|
|
@@ -3425,15 +3207,18 @@ function extract(value_, { format }) {
|
|
|
3425
3207
|
return value;
|
|
3426
3208
|
}
|
|
3427
3209
|
|
|
3428
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
3210
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/formatters/transactionRequest.js
|
|
3429
3211
|
var rpcTransactionType = {
|
|
3430
3212
|
legacy: "0x0",
|
|
3431
3213
|
eip2930: "0x1",
|
|
3432
3214
|
eip1559: "0x2",
|
|
3433
|
-
eip4844: "0x3"
|
|
3215
|
+
eip4844: "0x3",
|
|
3216
|
+
eip7702: "0x4"
|
|
3434
3217
|
};
|
|
3435
3218
|
function formatTransactionRequest(request) {
|
|
3436
3219
|
const rpcRequest = {};
|
|
3220
|
+
if (typeof request.authorizationList !== "undefined")
|
|
3221
|
+
rpcRequest.authorizationList = formatAuthorizationList(request.authorizationList);
|
|
3437
3222
|
if (typeof request.accessList !== "undefined")
|
|
3438
3223
|
rpcRequest.accessList = request.accessList;
|
|
3439
3224
|
if (typeof request.blobVersionedHashes !== "undefined")
|
|
@@ -3468,8 +3253,19 @@ function formatTransactionRequest(request) {
|
|
|
3468
3253
|
rpcRequest.value = numberToHex(request.value);
|
|
3469
3254
|
return rpcRequest;
|
|
3470
3255
|
}
|
|
3256
|
+
function formatAuthorizationList(authorizationList) {
|
|
3257
|
+
return authorizationList.map((authorization) => ({
|
|
3258
|
+
address: authorization.contractAddress,
|
|
3259
|
+
r: authorization.r,
|
|
3260
|
+
s: authorization.s,
|
|
3261
|
+
chainId: numberToHex(authorization.chainId),
|
|
3262
|
+
nonce: numberToHex(authorization.nonce),
|
|
3263
|
+
...typeof authorization.yParity !== "undefined" ? { yParity: numberToHex(authorization.yParity) } : {},
|
|
3264
|
+
...typeof authorization.v !== "undefined" && typeof authorization.yParity === "undefined" ? { v: numberToHex(authorization.v) } : {}
|
|
3265
|
+
}));
|
|
3266
|
+
}
|
|
3471
3267
|
|
|
3472
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
3268
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/promise/createBatchScheduler.js
|
|
3473
3269
|
var schedulerCache = /* @__PURE__ */ new Map();
|
|
3474
3270
|
function createBatchScheduler({ fn, id, shouldSplitBatch, wait = 0, sort }) {
|
|
3475
3271
|
const exec = async () => {
|
|
@@ -3519,7 +3315,7 @@ function createBatchScheduler({ fn, id, shouldSplitBatch, wait = 0, sort }) {
|
|
|
3519
3315
|
};
|
|
3520
3316
|
}
|
|
3521
3317
|
|
|
3522
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
3318
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/stateOverride.js
|
|
3523
3319
|
function serializeStateMapping(stateMapping) {
|
|
3524
3320
|
if (!stateMapping || stateMapping.length === 0)
|
|
3525
3321
|
return void 0;
|
|
@@ -3572,7 +3368,105 @@ function serializeStateOverride(parameters) {
|
|
|
3572
3368
|
return rpcStateOverride;
|
|
3573
3369
|
}
|
|
3574
3370
|
|
|
3575
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
3371
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/constants/number.js
|
|
3372
|
+
var maxInt8 = 2n ** (8n - 1n) - 1n;
|
|
3373
|
+
var maxInt16 = 2n ** (16n - 1n) - 1n;
|
|
3374
|
+
var maxInt24 = 2n ** (24n - 1n) - 1n;
|
|
3375
|
+
var maxInt32 = 2n ** (32n - 1n) - 1n;
|
|
3376
|
+
var maxInt40 = 2n ** (40n - 1n) - 1n;
|
|
3377
|
+
var maxInt48 = 2n ** (48n - 1n) - 1n;
|
|
3378
|
+
var maxInt56 = 2n ** (56n - 1n) - 1n;
|
|
3379
|
+
var maxInt64 = 2n ** (64n - 1n) - 1n;
|
|
3380
|
+
var maxInt72 = 2n ** (72n - 1n) - 1n;
|
|
3381
|
+
var maxInt80 = 2n ** (80n - 1n) - 1n;
|
|
3382
|
+
var maxInt88 = 2n ** (88n - 1n) - 1n;
|
|
3383
|
+
var maxInt96 = 2n ** (96n - 1n) - 1n;
|
|
3384
|
+
var maxInt104 = 2n ** (104n - 1n) - 1n;
|
|
3385
|
+
var maxInt112 = 2n ** (112n - 1n) - 1n;
|
|
3386
|
+
var maxInt120 = 2n ** (120n - 1n) - 1n;
|
|
3387
|
+
var maxInt128 = 2n ** (128n - 1n) - 1n;
|
|
3388
|
+
var maxInt136 = 2n ** (136n - 1n) - 1n;
|
|
3389
|
+
var maxInt144 = 2n ** (144n - 1n) - 1n;
|
|
3390
|
+
var maxInt152 = 2n ** (152n - 1n) - 1n;
|
|
3391
|
+
var maxInt160 = 2n ** (160n - 1n) - 1n;
|
|
3392
|
+
var maxInt168 = 2n ** (168n - 1n) - 1n;
|
|
3393
|
+
var maxInt176 = 2n ** (176n - 1n) - 1n;
|
|
3394
|
+
var maxInt184 = 2n ** (184n - 1n) - 1n;
|
|
3395
|
+
var maxInt192 = 2n ** (192n - 1n) - 1n;
|
|
3396
|
+
var maxInt200 = 2n ** (200n - 1n) - 1n;
|
|
3397
|
+
var maxInt208 = 2n ** (208n - 1n) - 1n;
|
|
3398
|
+
var maxInt216 = 2n ** (216n - 1n) - 1n;
|
|
3399
|
+
var maxInt224 = 2n ** (224n - 1n) - 1n;
|
|
3400
|
+
var maxInt232 = 2n ** (232n - 1n) - 1n;
|
|
3401
|
+
var maxInt240 = 2n ** (240n - 1n) - 1n;
|
|
3402
|
+
var maxInt248 = 2n ** (248n - 1n) - 1n;
|
|
3403
|
+
var maxInt256 = 2n ** (256n - 1n) - 1n;
|
|
3404
|
+
var minInt8 = -(2n ** (8n - 1n));
|
|
3405
|
+
var minInt16 = -(2n ** (16n - 1n));
|
|
3406
|
+
var minInt24 = -(2n ** (24n - 1n));
|
|
3407
|
+
var minInt32 = -(2n ** (32n - 1n));
|
|
3408
|
+
var minInt40 = -(2n ** (40n - 1n));
|
|
3409
|
+
var minInt48 = -(2n ** (48n - 1n));
|
|
3410
|
+
var minInt56 = -(2n ** (56n - 1n));
|
|
3411
|
+
var minInt64 = -(2n ** (64n - 1n));
|
|
3412
|
+
var minInt72 = -(2n ** (72n - 1n));
|
|
3413
|
+
var minInt80 = -(2n ** (80n - 1n));
|
|
3414
|
+
var minInt88 = -(2n ** (88n - 1n));
|
|
3415
|
+
var minInt96 = -(2n ** (96n - 1n));
|
|
3416
|
+
var minInt104 = -(2n ** (104n - 1n));
|
|
3417
|
+
var minInt112 = -(2n ** (112n - 1n));
|
|
3418
|
+
var minInt120 = -(2n ** (120n - 1n));
|
|
3419
|
+
var minInt128 = -(2n ** (128n - 1n));
|
|
3420
|
+
var minInt136 = -(2n ** (136n - 1n));
|
|
3421
|
+
var minInt144 = -(2n ** (144n - 1n));
|
|
3422
|
+
var minInt152 = -(2n ** (152n - 1n));
|
|
3423
|
+
var minInt160 = -(2n ** (160n - 1n));
|
|
3424
|
+
var minInt168 = -(2n ** (168n - 1n));
|
|
3425
|
+
var minInt176 = -(2n ** (176n - 1n));
|
|
3426
|
+
var minInt184 = -(2n ** (184n - 1n));
|
|
3427
|
+
var minInt192 = -(2n ** (192n - 1n));
|
|
3428
|
+
var minInt200 = -(2n ** (200n - 1n));
|
|
3429
|
+
var minInt208 = -(2n ** (208n - 1n));
|
|
3430
|
+
var minInt216 = -(2n ** (216n - 1n));
|
|
3431
|
+
var minInt224 = -(2n ** (224n - 1n));
|
|
3432
|
+
var minInt232 = -(2n ** (232n - 1n));
|
|
3433
|
+
var minInt240 = -(2n ** (240n - 1n));
|
|
3434
|
+
var minInt248 = -(2n ** (248n - 1n));
|
|
3435
|
+
var minInt256 = -(2n ** (256n - 1n));
|
|
3436
|
+
var maxUint8 = 2n ** 8n - 1n;
|
|
3437
|
+
var maxUint16 = 2n ** 16n - 1n;
|
|
3438
|
+
var maxUint24 = 2n ** 24n - 1n;
|
|
3439
|
+
var maxUint32 = 2n ** 32n - 1n;
|
|
3440
|
+
var maxUint40 = 2n ** 40n - 1n;
|
|
3441
|
+
var maxUint48 = 2n ** 48n - 1n;
|
|
3442
|
+
var maxUint56 = 2n ** 56n - 1n;
|
|
3443
|
+
var maxUint64 = 2n ** 64n - 1n;
|
|
3444
|
+
var maxUint72 = 2n ** 72n - 1n;
|
|
3445
|
+
var maxUint80 = 2n ** 80n - 1n;
|
|
3446
|
+
var maxUint88 = 2n ** 88n - 1n;
|
|
3447
|
+
var maxUint96 = 2n ** 96n - 1n;
|
|
3448
|
+
var maxUint104 = 2n ** 104n - 1n;
|
|
3449
|
+
var maxUint112 = 2n ** 112n - 1n;
|
|
3450
|
+
var maxUint120 = 2n ** 120n - 1n;
|
|
3451
|
+
var maxUint128 = 2n ** 128n - 1n;
|
|
3452
|
+
var maxUint136 = 2n ** 136n - 1n;
|
|
3453
|
+
var maxUint144 = 2n ** 144n - 1n;
|
|
3454
|
+
var maxUint152 = 2n ** 152n - 1n;
|
|
3455
|
+
var maxUint160 = 2n ** 160n - 1n;
|
|
3456
|
+
var maxUint168 = 2n ** 168n - 1n;
|
|
3457
|
+
var maxUint176 = 2n ** 176n - 1n;
|
|
3458
|
+
var maxUint184 = 2n ** 184n - 1n;
|
|
3459
|
+
var maxUint192 = 2n ** 192n - 1n;
|
|
3460
|
+
var maxUint200 = 2n ** 200n - 1n;
|
|
3461
|
+
var maxUint208 = 2n ** 208n - 1n;
|
|
3462
|
+
var maxUint216 = 2n ** 216n - 1n;
|
|
3463
|
+
var maxUint224 = 2n ** 224n - 1n;
|
|
3464
|
+
var maxUint232 = 2n ** 232n - 1n;
|
|
3465
|
+
var maxUint240 = 2n ** 240n - 1n;
|
|
3466
|
+
var maxUint248 = 2n ** 248n - 1n;
|
|
3467
|
+
var maxUint256 = 2n ** 256n - 1n;
|
|
3468
|
+
|
|
3469
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/transaction/assertRequest.js
|
|
3576
3470
|
function assertRequest(args) {
|
|
3577
3471
|
const { account: account_, gasPrice, maxFeePerGas, maxPriorityFeePerGas, to } = args;
|
|
3578
3472
|
const account = account_ ? parseAccount(account_) : void 0;
|
|
@@ -3582,13 +3476,13 @@ function assertRequest(args) {
|
|
|
3582
3476
|
throw new InvalidAddressError({ address: to });
|
|
3583
3477
|
if (typeof gasPrice !== "undefined" && (typeof maxFeePerGas !== "undefined" || typeof maxPriorityFeePerGas !== "undefined"))
|
|
3584
3478
|
throw new FeeConflictError();
|
|
3585
|
-
if (maxFeePerGas && maxFeePerGas >
|
|
3479
|
+
if (maxFeePerGas && maxFeePerGas > maxUint256)
|
|
3586
3480
|
throw new FeeCapTooHighError({ maxFeePerGas });
|
|
3587
3481
|
if (maxPriorityFeePerGas && maxFeePerGas && maxPriorityFeePerGas > maxFeePerGas)
|
|
3588
3482
|
throw new TipAboveFeeCapError({ maxFeePerGas, maxPriorityFeePerGas });
|
|
3589
3483
|
}
|
|
3590
3484
|
|
|
3591
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
3485
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/actions/public/call.js
|
|
3592
3486
|
async function call(client, args) {
|
|
3593
3487
|
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;
|
|
3594
3488
|
const account = account_ ? parseAccount(account_) : void 0;
|
|
@@ -3662,7 +3556,7 @@ async function call(client, args) {
|
|
|
3662
3556
|
return { data: response };
|
|
3663
3557
|
} catch (err) {
|
|
3664
3558
|
const data2 = getRevertErrorData(err);
|
|
3665
|
-
const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import("./ccip-
|
|
3559
|
+
const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import("./ccip-MZCNL5YG.js");
|
|
3666
3560
|
if (client.ccipRead !== false && data2?.slice(0, 10) === offchainLookupSignature2 && to)
|
|
3667
3561
|
return { data: await offchainLookup2(client, { data: data2, to }) };
|
|
3668
3562
|
if (deploylessCall && data2?.slice(0, 10) === "0x101bb98d")
|
|
@@ -3767,7 +3661,7 @@ function getRevertErrorData(err) {
|
|
|
3767
3661
|
return typeof error?.data === "object" ? error.data?.data : error.data;
|
|
3768
3662
|
}
|
|
3769
3663
|
|
|
3770
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
3664
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/ccip.js
|
|
3771
3665
|
var OffchainLookupError = class extends BaseError2 {
|
|
3772
3666
|
constructor({ callbackSelector, cause, data, extraData, sender, urls }) {
|
|
3773
3667
|
super(cause.shortMessage || "An error occurred while fetching for an offchain result.", {
|
|
@@ -3784,13 +3678,8 @@ var OffchainLookupError = class extends BaseError2 {
|
|
|
3784
3678
|
` Data: ${data}`,
|
|
3785
3679
|
` Callback selector: ${callbackSelector}`,
|
|
3786
3680
|
` Extra data: ${extraData}`
|
|
3787
|
-
].flat()
|
|
3788
|
-
|
|
3789
|
-
Object.defineProperty(this, "name", {
|
|
3790
|
-
enumerable: true,
|
|
3791
|
-
configurable: true,
|
|
3792
|
-
writable: true,
|
|
3793
|
-
value: "OffchainLookupError"
|
|
3681
|
+
].flat(),
|
|
3682
|
+
name: "OffchainLookupError"
|
|
3794
3683
|
});
|
|
3795
3684
|
}
|
|
3796
3685
|
};
|
|
@@ -3800,13 +3689,8 @@ var OffchainLookupResponseMalformedError = class extends BaseError2 {
|
|
|
3800
3689
|
metaMessages: [
|
|
3801
3690
|
`Gateway URL: ${getUrl(url)}`,
|
|
3802
3691
|
`Response: ${stringify(result)}`
|
|
3803
|
-
]
|
|
3804
|
-
|
|
3805
|
-
Object.defineProperty(this, "name", {
|
|
3806
|
-
enumerable: true,
|
|
3807
|
-
configurable: true,
|
|
3808
|
-
writable: true,
|
|
3809
|
-
value: "OffchainLookupResponseMalformedError"
|
|
3692
|
+
],
|
|
3693
|
+
name: "OffchainLookupResponseMalformedError"
|
|
3810
3694
|
});
|
|
3811
3695
|
}
|
|
3812
3696
|
};
|
|
@@ -3816,18 +3700,13 @@ var OffchainLookupSenderMismatchError = class extends BaseError2 {
|
|
|
3816
3700
|
metaMessages: [
|
|
3817
3701
|
`Contract address: ${to}`,
|
|
3818
3702
|
`OffchainLookup sender address: ${sender}`
|
|
3819
|
-
]
|
|
3820
|
-
|
|
3821
|
-
Object.defineProperty(this, "name", {
|
|
3822
|
-
enumerable: true,
|
|
3823
|
-
configurable: true,
|
|
3824
|
-
writable: true,
|
|
3825
|
-
value: "OffchainLookupSenderMismatchError"
|
|
3703
|
+
],
|
|
3704
|
+
name: "OffchainLookupSenderMismatchError"
|
|
3826
3705
|
});
|
|
3827
3706
|
}
|
|
3828
3707
|
};
|
|
3829
3708
|
|
|
3830
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
3709
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/address/isAddressEqual.js
|
|
3831
3710
|
function isAddressEqual(a, b) {
|
|
3832
3711
|
if (!isAddress(a, { strict: false }))
|
|
3833
3712
|
throw new InvalidAddressError({ address: a });
|
|
@@ -3836,7 +3715,7 @@ function isAddressEqual(a, b) {
|
|
|
3836
3715
|
return a.toLowerCase() === b.toLowerCase();
|
|
3837
3716
|
}
|
|
3838
3717
|
|
|
3839
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
3718
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/ccip.js
|
|
3840
3719
|
var offchainLookupSignature = "0x556f1830";
|
|
3841
3720
|
var offchainLookupAbiItem = {
|
|
3842
3721
|
name: "OffchainLookup",
|
|
@@ -3944,6 +3823,7 @@ async function ccipRequest({ data, sender, urls }) {
|
|
|
3944
3823
|
}
|
|
3945
3824
|
|
|
3946
3825
|
export {
|
|
3826
|
+
BaseError2 as BaseError,
|
|
3947
3827
|
toHex,
|
|
3948
3828
|
keccak256,
|
|
3949
3829
|
encodeAbiParameters,
|
|
@@ -3954,4 +3834,4 @@ export {
|
|
|
3954
3834
|
offchainLookup,
|
|
3955
3835
|
ccipRequest
|
|
3956
3836
|
};
|
|
3957
|
-
//# sourceMappingURL=chunk-
|
|
3837
|
+
//# sourceMappingURL=chunk-MCOK75CU.js.map
|