@arp-protocol/cli 0.0.1 → 0.0.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/CHANGELOG.md +74 -0
- package/LICENSE +26 -0
- package/README.md +19 -8
- package/dist/chunks/backfill-awengrsd.js +1048 -0
- package/dist/chunks/{ccip-qmytgn8e.js → ccip-zxtpc4fx.js} +4 -4
- package/dist/chunks/cli-00qp1sj2.js +116 -0
- package/dist/chunks/{cli-c8568g4c.js → cli-0gsbnq5w.js} +72 -72
- package/dist/chunks/{cli-0z6f3603.js → cli-10wacn76.js} +229 -15
- package/dist/chunks/{cli-zpft011j.js → cli-64fx73kx.js} +3 -3
- package/dist/chunks/{cli-v446mw5v.js → cli-fbwpcfvp.js} +34 -34
- package/dist/chunks/{cli-0hqxver6.js → cli-mhzh9z8k.js} +33 -33
- package/dist/chunks/{cli-tyey74p3.js → cli-n4qagybd.js} +6 -2
- package/dist/chunks/{cli-74hv4etk.js → cli-wev0jgf7.js} +4801 -3898
- package/dist/chunks/{commands-dnk10vze.js → commands-157bms70.js} +77 -16
- package/dist/chunks/{env-s4585w6j.js → env-n5ac8d1z.js} +1 -0
- package/dist/chunks/{index-3a3ssef1.js → index-jrs2shcc.js} +3 -3
- package/dist/chunks/line-691gbaha.js +166 -0
- package/dist/chunks/{node-init-4v2m2vj0.js → node-init-rcepfyeh.js} +6 -6
- package/dist/chunks/{node-0ydee9hy.js → node-m0mx4y5k.js} +6 -6
- package/dist/chunks/{server-jmyjttvv.js → server-59zry2jp.js} +3817 -163
- package/dist/chunks/{share-g8v5qe6r.js → share-vtbkzs5f.js} +8 -5
- package/dist/cli.js +48 -19
- package/dist/hook.js +3542 -232
- package/package.json +10 -3
- package/dist/chunks/backfill-j4hxt1w1.js +0 -262
- package/dist/chunks/line-zy1tc2np.js +0 -45
|
@@ -56,12 +56,12 @@ import {
|
|
|
56
56
|
stringify,
|
|
57
57
|
toBytes,
|
|
58
58
|
trim
|
|
59
|
-
} from "./cli-
|
|
59
|
+
} from "./cli-mhzh9z8k.js";
|
|
60
60
|
import {
|
|
61
61
|
__require
|
|
62
62
|
} from "./cli-g5zvr10v.js";
|
|
63
63
|
|
|
64
|
-
// ../../node_modules/.bun/viem@2.52.0+
|
|
64
|
+
// ../../node_modules/.bun/viem@2.52.0+e016764623ac6761/node_modules/viem/_esm/constants/solidity.js
|
|
65
65
|
var panicReasons = {
|
|
66
66
|
1: "An `assert` condition failed.",
|
|
67
67
|
17: "Arithmetic operation resulted in underflow or overflow.",
|
|
@@ -94,16 +94,16 @@ var solidityPanic = {
|
|
|
94
94
|
type: "error"
|
|
95
95
|
};
|
|
96
96
|
|
|
97
|
-
// ../../node_modules/.bun/viem@2.52.0+
|
|
97
|
+
// ../../node_modules/.bun/viem@2.52.0+e016764623ac6761/node_modules/viem/_esm/utils/hash/hashSignature.js
|
|
98
98
|
var hash = (value) => keccak256(toBytes(value));
|
|
99
99
|
function hashSignature(sig) {
|
|
100
100
|
return hash(sig);
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
// ../../node_modules/.bun/abitype@1.2.3+
|
|
103
|
+
// ../../node_modules/.bun/abitype@1.2.3+e016764623ac6761/node_modules/abitype/dist/esm/version.js
|
|
104
104
|
var version = "1.2.3";
|
|
105
105
|
|
|
106
|
-
// ../../node_modules/.bun/abitype@1.2.3+
|
|
106
|
+
// ../../node_modules/.bun/abitype@1.2.3+e016764623ac6761/node_modules/abitype/dist/esm/errors.js
|
|
107
107
|
class BaseError2 extends Error {
|
|
108
108
|
constructor(shortMessage, args = {}) {
|
|
109
109
|
const details = args.cause instanceof BaseError2 ? args.cause.details : args.cause?.message ? args.cause.message : args.details;
|
|
@@ -157,7 +157,7 @@ class BaseError2 extends Error {
|
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
// ../../node_modules/.bun/abitype@1.2.3+
|
|
160
|
+
// ../../node_modules/.bun/abitype@1.2.3+e016764623ac6761/node_modules/abitype/dist/esm/regex.js
|
|
161
161
|
function execTyped(regex, string) {
|
|
162
162
|
const match = regex.exec(string);
|
|
163
163
|
return match?.groups;
|
|
@@ -166,7 +166,7 @@ var bytesRegex = /^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/;
|
|
|
166
166
|
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)?$/;
|
|
167
167
|
var isTupleRegex = /^\(.+?\).*?$/;
|
|
168
168
|
|
|
169
|
-
// ../../node_modules/.bun/abitype@1.2.3+
|
|
169
|
+
// ../../node_modules/.bun/abitype@1.2.3+e016764623ac6761/node_modules/abitype/dist/esm/human-readable/formatAbiParameter.js
|
|
170
170
|
var tupleRegex = /^tuple(?<array>(\[(\d*)\])*)$/;
|
|
171
171
|
function formatAbiParameter(abiParameter) {
|
|
172
172
|
let type = abiParameter.type;
|
|
@@ -193,7 +193,7 @@ function formatAbiParameter(abiParameter) {
|
|
|
193
193
|
return type;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
// ../../node_modules/.bun/abitype@1.2.3+
|
|
196
|
+
// ../../node_modules/.bun/abitype@1.2.3+e016764623ac6761/node_modules/abitype/dist/esm/human-readable/formatAbiParameters.js
|
|
197
197
|
function formatAbiParameters(abiParameters) {
|
|
198
198
|
let params = "";
|
|
199
199
|
const length = abiParameters.length;
|
|
@@ -206,7 +206,7 @@ function formatAbiParameters(abiParameters) {
|
|
|
206
206
|
return params;
|
|
207
207
|
}
|
|
208
208
|
|
|
209
|
-
// ../../node_modules/.bun/abitype@1.2.3+
|
|
209
|
+
// ../../node_modules/.bun/abitype@1.2.3+e016764623ac6761/node_modules/abitype/dist/esm/human-readable/formatAbiItem.js
|
|
210
210
|
function formatAbiItem2(abiItem) {
|
|
211
211
|
if (abiItem.type === "function")
|
|
212
212
|
return `function ${abiItem.name}(${formatAbiParameters(abiItem.inputs)})${abiItem.stateMutability && abiItem.stateMutability !== "nonpayable" ? ` ${abiItem.stateMutability}` : ""}${abiItem.outputs?.length ? ` returns (${formatAbiParameters(abiItem.outputs)})` : ""}`;
|
|
@@ -220,7 +220,7 @@ function formatAbiItem2(abiItem) {
|
|
|
220
220
|
return `fallback() external${abiItem.stateMutability === "payable" ? " payable" : ""}`;
|
|
221
221
|
return "receive() external payable";
|
|
222
222
|
}
|
|
223
|
-
// ../../node_modules/.bun/abitype@1.2.3+
|
|
223
|
+
// ../../node_modules/.bun/abitype@1.2.3+e016764623ac6761/node_modules/abitype/dist/esm/human-readable/runtime/signatures.js
|
|
224
224
|
var errorSignatureRegex = /^error (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)$/;
|
|
225
225
|
function isErrorSignature(signature) {
|
|
226
226
|
return errorSignatureRegex.test(signature);
|
|
@@ -280,7 +280,7 @@ var functionModifiers = new Set([
|
|
|
280
280
|
"storage"
|
|
281
281
|
]);
|
|
282
282
|
|
|
283
|
-
// ../../node_modules/.bun/abitype@1.2.3+
|
|
283
|
+
// ../../node_modules/.bun/abitype@1.2.3+e016764623ac6761/node_modules/abitype/dist/esm/human-readable/errors/abiItem.js
|
|
284
284
|
class InvalidAbiItemError extends BaseError2 {
|
|
285
285
|
constructor({ signature }) {
|
|
286
286
|
super("Failed to parse ABI item.", {
|
|
@@ -326,7 +326,7 @@ class UnknownSolidityTypeError extends BaseError2 {
|
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
// ../../node_modules/.bun/abitype@1.2.3+
|
|
329
|
+
// ../../node_modules/.bun/abitype@1.2.3+e016764623ac6761/node_modules/abitype/dist/esm/human-readable/errors/abiParameter.js
|
|
330
330
|
class InvalidAbiParametersError extends BaseError2 {
|
|
331
331
|
constructor({ params }) {
|
|
332
332
|
super("Failed to parse ABI parameters.", {
|
|
@@ -423,7 +423,7 @@ class InvalidAbiTypeParameterError extends BaseError2 {
|
|
|
423
423
|
}
|
|
424
424
|
}
|
|
425
425
|
|
|
426
|
-
// ../../node_modules/.bun/abitype@1.2.3+
|
|
426
|
+
// ../../node_modules/.bun/abitype@1.2.3+e016764623ac6761/node_modules/abitype/dist/esm/human-readable/errors/signature.js
|
|
427
427
|
class InvalidSignatureError extends BaseError2 {
|
|
428
428
|
constructor({ signature, type }) {
|
|
429
429
|
super(`Invalid ${type} signature.`, {
|
|
@@ -467,7 +467,7 @@ class InvalidStructSignatureError extends BaseError2 {
|
|
|
467
467
|
}
|
|
468
468
|
}
|
|
469
469
|
|
|
470
|
-
// ../../node_modules/.bun/abitype@1.2.3+
|
|
470
|
+
// ../../node_modules/.bun/abitype@1.2.3+e016764623ac6761/node_modules/abitype/dist/esm/human-readable/errors/struct.js
|
|
471
471
|
class CircularReferenceError extends BaseError2 {
|
|
472
472
|
constructor({ type }) {
|
|
473
473
|
super("Circular reference detected.", {
|
|
@@ -482,7 +482,7 @@ class CircularReferenceError extends BaseError2 {
|
|
|
482
482
|
}
|
|
483
483
|
}
|
|
484
484
|
|
|
485
|
-
// ../../node_modules/.bun/abitype@1.2.3+
|
|
485
|
+
// ../../node_modules/.bun/abitype@1.2.3+e016764623ac6761/node_modules/abitype/dist/esm/human-readable/errors/splitParameters.js
|
|
486
486
|
class InvalidParenthesisError extends BaseError2 {
|
|
487
487
|
constructor({ current, depth }) {
|
|
488
488
|
super("Unbalanced parentheses.", {
|
|
@@ -500,7 +500,7 @@ class InvalidParenthesisError extends BaseError2 {
|
|
|
500
500
|
}
|
|
501
501
|
}
|
|
502
502
|
|
|
503
|
-
// ../../node_modules/.bun/abitype@1.2.3+
|
|
503
|
+
// ../../node_modules/.bun/abitype@1.2.3+e016764623ac6761/node_modules/abitype/dist/esm/human-readable/runtime/cache.js
|
|
504
504
|
function getParameterCacheKey(param, type, structs) {
|
|
505
505
|
let structKey = "";
|
|
506
506
|
if (structs)
|
|
@@ -569,7 +569,7 @@ var parameterCache = new Map([
|
|
|
569
569
|
]
|
|
570
570
|
]);
|
|
571
571
|
|
|
572
|
-
// ../../node_modules/.bun/abitype@1.2.3+
|
|
572
|
+
// ../../node_modules/.bun/abitype@1.2.3+e016764623ac6761/node_modules/abitype/dist/esm/human-readable/runtime/utils.js
|
|
573
573
|
function parseSignature(signature, structs = {}) {
|
|
574
574
|
if (isFunctionSignature(signature))
|
|
575
575
|
return parseFunctionSignature(signature, structs);
|
|
@@ -768,7 +768,7 @@ function isValidDataLocation(type, isArray) {
|
|
|
768
768
|
return isArray || type === "bytes" || type === "string" || type === "tuple";
|
|
769
769
|
}
|
|
770
770
|
|
|
771
|
-
// ../../node_modules/.bun/abitype@1.2.3+
|
|
771
|
+
// ../../node_modules/.bun/abitype@1.2.3+e016764623ac6761/node_modules/abitype/dist/esm/human-readable/runtime/structs.js
|
|
772
772
|
function parseStructs(signatures) {
|
|
773
773
|
const shallowStructs = {};
|
|
774
774
|
const signaturesLength = signatures.length;
|
|
@@ -838,7 +838,7 @@ function resolveStructs(abiParameters = [], structs = {}, ancestors = new Set) {
|
|
|
838
838
|
return components;
|
|
839
839
|
}
|
|
840
840
|
|
|
841
|
-
// ../../node_modules/.bun/abitype@1.2.3+
|
|
841
|
+
// ../../node_modules/.bun/abitype@1.2.3+e016764623ac6761/node_modules/abitype/dist/esm/human-readable/parseAbi.js
|
|
842
842
|
function parseAbi(signatures) {
|
|
843
843
|
const structs = parseStructs(signatures);
|
|
844
844
|
const abi = [];
|
|
@@ -851,7 +851,7 @@ function parseAbi(signatures) {
|
|
|
851
851
|
}
|
|
852
852
|
return abi;
|
|
853
853
|
}
|
|
854
|
-
// ../../node_modules/.bun/abitype@1.2.3+
|
|
854
|
+
// ../../node_modules/.bun/abitype@1.2.3+e016764623ac6761/node_modules/abitype/dist/esm/human-readable/parseAbiItem.js
|
|
855
855
|
function parseAbiItem(signature) {
|
|
856
856
|
let abiItem;
|
|
857
857
|
if (typeof signature === "string")
|
|
@@ -871,7 +871,7 @@ function parseAbiItem(signature) {
|
|
|
871
871
|
throw new InvalidAbiItemError({ signature });
|
|
872
872
|
return abiItem;
|
|
873
873
|
}
|
|
874
|
-
// ../../node_modules/.bun/abitype@1.2.3+
|
|
874
|
+
// ../../node_modules/.bun/abitype@1.2.3+e016764623ac6761/node_modules/abitype/dist/esm/human-readable/parseAbiParameters.js
|
|
875
875
|
function parseAbiParameters(params) {
|
|
876
876
|
const abiParameters = [];
|
|
877
877
|
if (typeof params === "string") {
|
|
@@ -898,7 +898,7 @@ function parseAbiParameters(params) {
|
|
|
898
898
|
throw new InvalidAbiParametersError({ params });
|
|
899
899
|
return abiParameters;
|
|
900
900
|
}
|
|
901
|
-
// ../../node_modules/.bun/viem@2.52.0+
|
|
901
|
+
// ../../node_modules/.bun/viem@2.52.0+e016764623ac6761/node_modules/viem/_esm/utils/hash/normalizeSignature.js
|
|
902
902
|
function normalizeSignature(signature) {
|
|
903
903
|
let active = true;
|
|
904
904
|
let current = "";
|
|
@@ -942,7 +942,7 @@ function normalizeSignature(signature) {
|
|
|
942
942
|
return result;
|
|
943
943
|
}
|
|
944
944
|
|
|
945
|
-
// ../../node_modules/.bun/viem@2.52.0+
|
|
945
|
+
// ../../node_modules/.bun/viem@2.52.0+e016764623ac6761/node_modules/viem/_esm/utils/hash/toSignature.js
|
|
946
946
|
var toSignature = (def) => {
|
|
947
947
|
const def_ = (() => {
|
|
948
948
|
if (typeof def === "string")
|
|
@@ -952,15 +952,15 @@ var toSignature = (def) => {
|
|
|
952
952
|
return normalizeSignature(def_);
|
|
953
953
|
};
|
|
954
954
|
|
|
955
|
-
// ../../node_modules/.bun/viem@2.52.0+
|
|
955
|
+
// ../../node_modules/.bun/viem@2.52.0+e016764623ac6761/node_modules/viem/_esm/utils/hash/toSignatureHash.js
|
|
956
956
|
function toSignatureHash(fn) {
|
|
957
957
|
return hashSignature(toSignature(fn));
|
|
958
958
|
}
|
|
959
959
|
|
|
960
|
-
// ../../node_modules/.bun/viem@2.52.0+
|
|
960
|
+
// ../../node_modules/.bun/viem@2.52.0+e016764623ac6761/node_modules/viem/_esm/utils/hash/toFunctionSelector.js
|
|
961
961
|
var toFunctionSelector = (fn) => slice(toSignatureHash(fn), 0, 4);
|
|
962
962
|
|
|
963
|
-
// ../../node_modules/.bun/viem@2.52.0+
|
|
963
|
+
// ../../node_modules/.bun/viem@2.52.0+e016764623ac6761/node_modules/viem/_esm/utils/encoding/fromBytes.js
|
|
964
964
|
function bytesToBigInt(bytes, opts = {}) {
|
|
965
965
|
if (typeof opts.size !== "undefined")
|
|
966
966
|
assertSize(bytes, { size: opts.size });
|
|
@@ -992,7 +992,7 @@ function bytesToString(bytes_, opts = {}) {
|
|
|
992
992
|
return new TextDecoder().decode(bytes);
|
|
993
993
|
}
|
|
994
994
|
|
|
995
|
-
// ../../node_modules/.bun/viem@2.52.0+
|
|
995
|
+
// ../../node_modules/.bun/viem@2.52.0+e016764623ac6761/node_modules/viem/_esm/utils/abi/decodeAbiParameters.js
|
|
996
996
|
function decodeAbiParameters(params, data) {
|
|
997
997
|
const bytes = typeof data === "string" ? hexToBytes(data) : data;
|
|
998
998
|
const cursor = createCursor(bytes);
|
|
@@ -1179,7 +1179,7 @@ function hasDynamicChild(param) {
|
|
|
1179
1179
|
return false;
|
|
1180
1180
|
}
|
|
1181
1181
|
|
|
1182
|
-
// ../../node_modules/.bun/viem@2.52.0+
|
|
1182
|
+
// ../../node_modules/.bun/viem@2.52.0+e016764623ac6761/node_modules/viem/_esm/utils/abi/decodeErrorResult.js
|
|
1183
1183
|
function decodeErrorResult(parameters) {
|
|
1184
1184
|
const { abi, data, cause } = parameters;
|
|
1185
1185
|
const signature = slice(data, 0, 4);
|
|
@@ -1199,7 +1199,7 @@ function decodeErrorResult(parameters) {
|
|
|
1199
1199
|
};
|
|
1200
1200
|
}
|
|
1201
1201
|
|
|
1202
|
-
// ../../node_modules/.bun/viem@2.52.0+
|
|
1202
|
+
// ../../node_modules/.bun/viem@2.52.0+e016764623ac6761/node_modules/viem/_esm/errors/utils.js
|
|
1203
1203
|
var getContractAddress = (address) => address;
|
|
1204
1204
|
function getAbortError(signal) {
|
|
1205
1205
|
if (signal?.reason)
|
|
@@ -1226,7 +1226,7 @@ var getUrl = (url) => {
|
|
|
1226
1226
|
}
|
|
1227
1227
|
};
|
|
1228
1228
|
|
|
1229
|
-
// ../../node_modules/.bun/viem@2.52.0+
|
|
1229
|
+
// ../../node_modules/.bun/viem@2.52.0+e016764623ac6761/node_modules/viem/_esm/constants/abis.js
|
|
1230
1230
|
var multicall3Abi = [
|
|
1231
1231
|
{
|
|
1232
1232
|
inputs: [
|
|
@@ -1579,7 +1579,7 @@ var erc6492SignatureValidatorAbi = [
|
|
|
1579
1579
|
}
|
|
1580
1580
|
];
|
|
1581
1581
|
|
|
1582
|
-
// ../../node_modules/.bun/viem@2.52.0+
|
|
1582
|
+
// ../../node_modules/.bun/viem@2.52.0+e016764623ac6761/node_modules/viem/_esm/utils/abi/decodeFunctionData.js
|
|
1583
1583
|
function decodeFunctionData(parameters) {
|
|
1584
1584
|
const { abi, data } = parameters;
|
|
1585
1585
|
const signature = slice(data, 0, 4);
|
|
@@ -1594,10 +1594,10 @@ function decodeFunctionData(parameters) {
|
|
|
1594
1594
|
};
|
|
1595
1595
|
}
|
|
1596
1596
|
|
|
1597
|
-
// ../../node_modules/.bun/viem@2.52.0+
|
|
1597
|
+
// ../../node_modules/.bun/viem@2.52.0+e016764623ac6761/node_modules/viem/_esm/utils/hash/toEventSelector.js
|
|
1598
1598
|
var toEventSelector = toSignatureHash;
|
|
1599
1599
|
|
|
1600
|
-
// ../../node_modules/.bun/viem@2.52.0+
|
|
1600
|
+
// ../../node_modules/.bun/viem@2.52.0+e016764623ac6761/node_modules/viem/_esm/utils/abi/getAbiItem.js
|
|
1601
1601
|
function getAbiItem(parameters) {
|
|
1602
1602
|
const { abi, args = [], name } = parameters;
|
|
1603
1603
|
const isSelector = isHex(name, { strict: false });
|
|
@@ -1708,7 +1708,7 @@ function getAmbiguousTypes(sourceParameters, targetParameters, args) {
|
|
|
1708
1708
|
return;
|
|
1709
1709
|
}
|
|
1710
1710
|
|
|
1711
|
-
// ../../node_modules/.bun/viem@2.52.0+
|
|
1711
|
+
// ../../node_modules/.bun/viem@2.52.0+e016764623ac6761/node_modules/viem/_esm/utils/abi/encodeErrorResult.js
|
|
1712
1712
|
var docsPath = "/docs/contract/encodeErrorResult";
|
|
1713
1713
|
function encodeErrorResult(parameters) {
|
|
1714
1714
|
const { abi, errorName, args } = parameters;
|
|
@@ -1732,7 +1732,7 @@ function encodeErrorResult(parameters) {
|
|
|
1732
1732
|
return concatHex([signature, data]);
|
|
1733
1733
|
}
|
|
1734
1734
|
|
|
1735
|
-
// ../../node_modules/.bun/viem@2.52.0+
|
|
1735
|
+
// ../../node_modules/.bun/viem@2.52.0+e016764623ac6761/node_modules/viem/_esm/utils/abi/encodeFunctionResult.js
|
|
1736
1736
|
var docsPath2 = "/docs/contract/encodeFunctionResult";
|
|
1737
1737
|
function encodeFunctionResult(parameters) {
|
|
1738
1738
|
const { abi, functionName, result } = parameters;
|
|
@@ -1759,7 +1759,7 @@ function encodeFunctionResult(parameters) {
|
|
|
1759
1759
|
return encodeAbiParameters(abiItem.outputs, values);
|
|
1760
1760
|
}
|
|
1761
1761
|
|
|
1762
|
-
// ../../node_modules/.bun/viem@2.52.0+
|
|
1762
|
+
// ../../node_modules/.bun/viem@2.52.0+e016764623ac6761/node_modules/viem/_esm/utils/ens/localBatchGatewayRequest.js
|
|
1763
1763
|
var localBatchGatewayUrl = "x-batch-gateway:true";
|
|
1764
1764
|
async function localBatchGatewayRequest(parameters) {
|
|
1765
1765
|
const { data, ccipRequest } = parameters;
|
|
@@ -1795,7 +1795,7 @@ function encodeError(error) {
|
|
|
1795
1795
|
});
|
|
1796
1796
|
}
|
|
1797
1797
|
|
|
1798
|
-
// ../../node_modules/.bun/viem@2.52.0+
|
|
1798
|
+
// ../../node_modules/.bun/viem@2.52.0+e016764623ac6761/node_modules/viem/_esm/errors/request.js
|
|
1799
1799
|
class HttpRequestError extends BaseError {
|
|
1800
1800
|
constructor({ body, cause, details, headers, status, url }) {
|
|
1801
1801
|
super("HTTP request failed.", {
|
|
@@ -1886,7 +1886,7 @@ class TimeoutError extends BaseError {
|
|
|
1886
1886
|
}
|
|
1887
1887
|
}
|
|
1888
1888
|
|
|
1889
|
-
// ../../node_modules/.bun/viem@2.52.0+
|
|
1889
|
+
// ../../node_modules/.bun/viem@2.52.0+e016764623ac6761/node_modules/viem/_esm/utils/address/isAddressEqual.js
|
|
1890
1890
|
function isAddressEqual(a, b) {
|
|
1891
1891
|
if (!isAddress(a, { strict: false }))
|
|
1892
1892
|
throw new InvalidAddressError({ address: a });
|
|
@@ -1895,15 +1895,15 @@ function isAddressEqual(a, b) {
|
|
|
1895
1895
|
return a.toLowerCase() === b.toLowerCase();
|
|
1896
1896
|
}
|
|
1897
1897
|
|
|
1898
|
-
// ../../node_modules/.bun/ox@0.14.27+
|
|
1898
|
+
// ../../node_modules/.bun/ox@0.14.27+e016764623ac6761/node_modules/ox/_esm/core/version.js
|
|
1899
1899
|
var version2 = "0.1.1";
|
|
1900
1900
|
|
|
1901
|
-
// ../../node_modules/.bun/ox@0.14.27+
|
|
1901
|
+
// ../../node_modules/.bun/ox@0.14.27+e016764623ac6761/node_modules/ox/_esm/core/internal/errors.js
|
|
1902
1902
|
function getVersion() {
|
|
1903
1903
|
return version2;
|
|
1904
1904
|
}
|
|
1905
1905
|
|
|
1906
|
-
// ../../node_modules/.bun/ox@0.14.27+
|
|
1906
|
+
// ../../node_modules/.bun/ox@0.14.27+e016764623ac6761/node_modules/ox/_esm/core/Errors.js
|
|
1907
1907
|
class BaseError3 extends Error {
|
|
1908
1908
|
static setStaticOptions(options) {
|
|
1909
1909
|
BaseError3.prototype.docsOrigin = options.docsOrigin;
|
|
@@ -2033,7 +2033,7 @@ function walk(err, fn) {
|
|
|
2033
2033
|
return fn ? null : err;
|
|
2034
2034
|
}
|
|
2035
2035
|
|
|
2036
|
-
// ../../node_modules/.bun/ox@0.14.27+
|
|
2036
|
+
// ../../node_modules/.bun/ox@0.14.27+e016764623ac6761/node_modules/ox/_esm/core/internal/bytes.js
|
|
2037
2037
|
function assertSize2(bytes, size_) {
|
|
2038
2038
|
if (size2(bytes) > size_)
|
|
2039
2039
|
throw new SizeOverflowError({
|
|
@@ -2106,7 +2106,7 @@ function trim2(value, options = {}) {
|
|
|
2106
2106
|
return data;
|
|
2107
2107
|
}
|
|
2108
2108
|
|
|
2109
|
-
// ../../node_modules/.bun/ox@0.14.27+
|
|
2109
|
+
// ../../node_modules/.bun/ox@0.14.27+e016764623ac6761/node_modules/ox/_esm/core/internal/hex.js
|
|
2110
2110
|
function assertSize3(hex, size_) {
|
|
2111
2111
|
if (size3(hex) > size_)
|
|
2112
2112
|
throw new SizeOverflowError2({
|
|
@@ -2162,7 +2162,7 @@ function trim3(value, options = {}) {
|
|
|
2162
2162
|
return `0x${data}`;
|
|
2163
2163
|
}
|
|
2164
2164
|
|
|
2165
|
-
// ../../node_modules/.bun/ox@0.14.27+
|
|
2165
|
+
// ../../node_modules/.bun/ox@0.14.27+e016764623ac6761/node_modules/ox/_esm/core/Json.js
|
|
2166
2166
|
var bigIntSuffix = "#__bigint";
|
|
2167
2167
|
function stringify2(value, replacer, space) {
|
|
2168
2168
|
return JSON.stringify(value, (key, value2) => {
|
|
@@ -2174,7 +2174,7 @@ function stringify2(value, replacer, space) {
|
|
|
2174
2174
|
}, space);
|
|
2175
2175
|
}
|
|
2176
2176
|
|
|
2177
|
-
// ../../node_modules/.bun/ox@0.14.27+
|
|
2177
|
+
// ../../node_modules/.bun/ox@0.14.27+e016764623ac6761/node_modules/ox/_esm/core/Bytes.js
|
|
2178
2178
|
var decoder = /* @__PURE__ */ new TextDecoder;
|
|
2179
2179
|
var encoder = /* @__PURE__ */ new TextEncoder;
|
|
2180
2180
|
function assert(value) {
|
|
@@ -2359,7 +2359,7 @@ class SizeExceedsPaddingSizeError extends BaseError3 {
|
|
|
2359
2359
|
}
|
|
2360
2360
|
}
|
|
2361
2361
|
|
|
2362
|
-
// ../../node_modules/.bun/ox@0.14.27+
|
|
2362
|
+
// ../../node_modules/.bun/ox@0.14.27+e016764623ac6761/node_modules/ox/_esm/core/Hex.js
|
|
2363
2363
|
var encoder2 = /* @__PURE__ */ new TextEncoder;
|
|
2364
2364
|
var hexes = /* @__PURE__ */ Array.from({ length: 256 }, (_v, i) => i.toString(16).padStart(2, "0"));
|
|
2365
2365
|
function assert2(value, options = {}) {
|
|
@@ -2562,7 +2562,7 @@ class SizeExceedsPaddingSizeError2 extends BaseError3 {
|
|
|
2562
2562
|
}
|
|
2563
2563
|
}
|
|
2564
2564
|
|
|
2565
|
-
// ../../node_modules/.bun/ox@0.14.27+
|
|
2565
|
+
// ../../node_modules/.bun/ox@0.14.27+e016764623ac6761/node_modules/ox/_esm/core/Withdrawal.js
|
|
2566
2566
|
function toRpc(withdrawal) {
|
|
2567
2567
|
return {
|
|
2568
2568
|
address: withdrawal.address,
|
|
@@ -2572,7 +2572,7 @@ function toRpc(withdrawal) {
|
|
|
2572
2572
|
};
|
|
2573
2573
|
}
|
|
2574
2574
|
|
|
2575
|
-
// ../../node_modules/.bun/ox@0.14.27+
|
|
2575
|
+
// ../../node_modules/.bun/ox@0.14.27+e016764623ac6761/node_modules/ox/_esm/core/BlockOverrides.js
|
|
2576
2576
|
function toRpc2(blockOverrides) {
|
|
2577
2577
|
return {
|
|
2578
2578
|
...typeof blockOverrides.baseFeePerGas === "bigint" && {
|
|
@@ -2602,23 +2602,23 @@ function toRpc2(blockOverrides) {
|
|
|
2602
2602
|
};
|
|
2603
2603
|
}
|
|
2604
2604
|
|
|
2605
|
-
// ../../node_modules/.bun/viem@2.52.0+
|
|
2605
|
+
// ../../node_modules/.bun/viem@2.52.0+e016764623ac6761/node_modules/viem/_esm/accounts/utils/parseAccount.js
|
|
2606
2606
|
function parseAccount(account) {
|
|
2607
2607
|
if (typeof account === "string")
|
|
2608
2608
|
return { address: account, type: "json-rpc" };
|
|
2609
2609
|
return account;
|
|
2610
2610
|
}
|
|
2611
2611
|
|
|
2612
|
-
// ../../node_modules/.bun/viem@2.52.0+
|
|
2612
|
+
// ../../node_modules/.bun/viem@2.52.0+e016764623ac6761/node_modules/viem/_esm/constants/contract.js
|
|
2613
2613
|
var aggregate3Signature = "0x82ad56cb";
|
|
2614
2614
|
|
|
2615
|
-
// ../../node_modules/.bun/viem@2.52.0+
|
|
2615
|
+
// ../../node_modules/.bun/viem@2.52.0+e016764623ac6761/node_modules/viem/_esm/constants/contracts.js
|
|
2616
2616
|
var deploylessCallViaBytecodeBytecode = "0x608060405234801561001057600080fd5b5060405161018e38038061018e83398101604081905261002f91610124565b6000808351602085016000f59050803b61004857600080fd5b6000808351602085016000855af16040513d6000823e81610067573d81fd5b3d81f35b634e487b7160e01b600052604160045260246000fd5b600082601f83011261009257600080fd5b81516001600160401b038111156100ab576100ab61006b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156100d9576100d961006b565b6040528181528382016020018510156100f157600080fd5b60005b82811015610110576020818601810151838301820152016100f4565b506000918101602001919091529392505050565b6000806040838503121561013757600080fd5b82516001600160401b0381111561014d57600080fd5b61015985828601610081565b602085015190935090506001600160401b0381111561017757600080fd5b61018385828601610081565b915050925092905056fe";
|
|
2617
2617
|
var deploylessCallViaFactoryBytecode = "0x608060405234801561001057600080fd5b506040516102c03803806102c083398101604081905261002f916101e6565b836001600160a01b03163b6000036100e457600080836001600160a01b03168360405161005c9190610270565b6000604051808303816000865af19150503d8060008114610099576040519150601f19603f3d011682016040523d82523d6000602084013e61009e565b606091505b50915091508115806100b857506001600160a01b0386163b155b156100e1578060405163101bb98d60e01b81526004016100d8919061028c565b60405180910390fd5b50505b6000808451602086016000885af16040513d6000823e81610103573d81fd5b3d81f35b80516001600160a01b038116811461011e57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561015457818101518382015260200161013c565b50506000910152565b600082601f83011261016e57600080fd5b81516001600160401b0381111561018757610187610123565b604051601f8201601f19908116603f011681016001600160401b03811182821017156101b5576101b5610123565b6040528181528382016020018510156101cd57600080fd5b6101de826020830160208701610139565b949350505050565b600080600080608085870312156101fc57600080fd5b61020585610107565b60208601519094506001600160401b0381111561022157600080fd5b61022d8782880161015d565b93505061023c60408601610107565b60608601519092506001600160401b0381111561025857600080fd5b6102648782880161015d565b91505092959194509250565b60008251610282818460208701610139565b9190910192915050565b60208152600082518060208401526102ab816040850160208701610139565b601f01601f1916919091016040019291505056fe";
|
|
2618
2618
|
var erc6492SignatureValidatorByteCode = "0x608060405234801561001057600080fd5b5060405161069438038061069483398101604081905261002f9161051e565b600061003c848484610048565b9050806000526001601ff35b60007f64926492649264926492649264926492649264926492649264926492649264926100748361040c565b036101e7576000606080848060200190518101906100929190610577565b60405192955090935091506000906001600160a01b038516906100b69085906105dd565b6000604051808303816000865af19150503d80600081146100f3576040519150601f19603f3d011682016040523d82523d6000602084013e6100f8565b606091505b50509050876001600160a01b03163b60000361016057806101605760405162461bcd60e51b815260206004820152601e60248201527f5369676e617475726556616c696461746f723a206465706c6f796d656e74000060448201526064015b60405180910390fd5b604051630b135d3f60e11b808252906001600160a01b038a1690631626ba7e90610190908b9087906004016105f9565b602060405180830381865afa1580156101ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d19190610633565b6001600160e01b03191614945050505050610405565b6001600160a01b0384163b1561027a57604051630b135d3f60e11b808252906001600160a01b03861690631626ba7e9061022790879087906004016105f9565b602060405180830381865afa158015610244573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102689190610633565b6001600160e01b031916149050610405565b81516041146102df5760405162461bcd60e51b815260206004820152603a602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e6174757265206c656e6774680000000000006064820152608401610157565b6102e7610425565b5060208201516040808401518451859392600091859190811061030c5761030c61065d565b016020015160f81c9050601b811480159061032b57508060ff16601c14155b1561038c5760405162461bcd60e51b815260206004820152603b602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e617475726520762076616c756500000000006064820152608401610157565b60408051600081526020810180835289905260ff83169181019190915260608101849052608081018390526001600160a01b0389169060019060a0016020604051602081039080840390855afa1580156103ea573d6000803e3d6000fd5b505050602060405103516001600160a01b0316149450505050505b9392505050565b600060208251101561041d57600080fd5b508051015190565b60405180606001604052806003906020820280368337509192915050565b6001600160a01b038116811461045857600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561048c578181015183820152602001610474565b50506000910152565b600082601f8301126104a657600080fd5b81516001600160401b038111156104bf576104bf61045b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156104ed576104ed61045b565b60405281815283820160200185101561050557600080fd5b610516826020830160208701610471565b949350505050565b60008060006060848603121561053357600080fd5b835161053e81610443565b6020850151604086015191945092506001600160401b0381111561056157600080fd5b61056d86828701610495565b9150509250925092565b60008060006060848603121561058c57600080fd5b835161059781610443565b60208501519093506001600160401b038111156105b357600080fd5b6105bf86828701610495565b604086015190935090506001600160401b0381111561056157600080fd5b600082516105ef818460208701610471565b9190910192915050565b828152604060208201526000825180604084015261061e816060850160208701610471565b601f01601f1916919091016060019392505050565b60006020828403121561064557600080fd5b81516001600160e01b03198116811461040557600080fd5b634e487b7160e01b600052603260045260246000fdfe5369676e617475726556616c696461746f72237265636f7665725369676e6572";
|
|
2619
2619
|
var multicall3Bytecode = "0x608060405234801561001057600080fd5b506115b9806100206000396000f3fe6080604052600436106100f35760003560e01c80634d2301cc1161008a578063a8b0574e11610059578063a8b0574e14610325578063bce38bd714610350578063c3077fa914610380578063ee82ac5e146103b2576100f3565b80634d2301cc1461026257806372425d9d1461029f57806382ad56cb146102ca57806386d516e8146102fa576100f3565b80633408e470116100c65780633408e470146101af578063399542e9146101da5780633e64a6961461020c57806342cbb15c14610237576100f3565b80630f28c97d146100f8578063174dea7114610123578063252dba421461015357806327e86d6e14610184575b600080fd5b34801561010457600080fd5b5061010d6103ef565b60405161011a9190610c0a565b60405180910390f35b61013d60048036038101906101389190610c94565b6103f7565b60405161014a9190610e94565b60405180910390f35b61016d60048036038101906101689190610f0c565b610615565b60405161017b92919061101b565b60405180910390f35b34801561019057600080fd5b506101996107ab565b6040516101a69190611064565b60405180910390f35b3480156101bb57600080fd5b506101c46107b7565b6040516101d19190610c0a565b60405180910390f35b6101f460048036038101906101ef91906110ab565b6107bf565b6040516102039392919061110b565b60405180910390f35b34801561021857600080fd5b506102216107e1565b60405161022e9190610c0a565b60405180910390f35b34801561024357600080fd5b5061024c6107e9565b6040516102599190610c0a565b60405180910390f35b34801561026e57600080fd5b50610289600480360381019061028491906111a7565b6107f1565b6040516102969190610c0a565b60405180910390f35b3480156102ab57600080fd5b506102b4610812565b6040516102c19190610c0a565b60405180910390f35b6102e460048036038101906102df919061122a565b61081a565b6040516102f19190610e94565b60405180910390f35b34801561030657600080fd5b5061030f6109e4565b60405161031c9190610c0a565b60405180910390f35b34801561033157600080fd5b5061033a6109ec565b6040516103479190611286565b60405180910390f35b61036a600480360381019061036591906110ab565b6109f4565b6040516103779190610e94565b60405180910390f35b61039a60048036038101906103959190610f0c565b610ba6565b6040516103a99392919061110b565b60405180910390f35b3480156103be57600080fd5b506103d960048036038101906103d491906112cd565b610bca565b6040516103e69190611064565b60405180910390f35b600042905090565b60606000808484905090508067ffffffffffffffff81111561041c5761041b6112fa565b5b60405190808252806020026020018201604052801561045557816020015b610442610bd5565b81526020019060019003908161043a5790505b5092503660005b828110156105c957600085828151811061047957610478611329565b5b6020026020010151905087878381811061049657610495611329565b5b90506020028101906104a89190611367565b925060008360400135905080860195508360000160208101906104cb91906111a7565b73ffffffffffffffffffffffffffffffffffffffff16818580606001906104f2919061138f565b604051610500929190611431565b60006040518083038185875af1925050503d806000811461053d576040519150601f19603f3d011682016040523d82523d6000602084013e610542565b606091505b5083600001846020018290528215151515815250505081516020850135176105bc577f08c379a000000000000000000000000000000000000000000000000000000000600052602060045260176024527f4d756c746963616c6c333a2063616c6c206661696c656400000000000000000060445260846000fd5b826001019250505061045c565b5082341461060c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610603906114a7565b60405180910390fd5b50505092915050565b6000606043915060008484905090508067ffffffffffffffff81111561063e5761063d6112fa565b5b60405190808252806020026020018201604052801561067157816020015b606081526020019060019003908161065c5790505b5091503660005b828110156107a157600087878381811061069557610694611329565b5b90506020028101906106a791906114c7565b92508260000160208101906106bc91906111a7565b73ffffffffffffffffffffffffffffffffffffffff168380602001906106e2919061138f565b6040516106f0929190611431565b6000604051808303816000865af19150503d806000811461072d576040519150601f19603f3d011682016040523d82523d6000602084013e610732565b606091505b5086848151811061074657610745611329565b5b60200260200101819052819250505080610795576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078c9061153b565b60405180910390fd5b81600101915050610678565b5050509250929050565b60006001430340905090565b600046905090565b6000806060439250434091506107d68686866109f4565b905093509350939050565b600048905090565b600043905090565b60008173ffffffffffffffffffffffffffffffffffffffff16319050919050565b600044905090565b606060008383905090508067ffffffffffffffff81111561083e5761083d6112fa565b5b60405190808252806020026020018201604052801561087757816020015b610864610bd5565b81526020019060019003908161085c5790505b5091503660005b828110156109db57600084828151811061089b5761089a611329565b5b602002602001015190508686838181106108b8576108b7611329565b5b90506020028101906108ca919061155b565b92508260000160208101906108df91906111a7565b73ffffffffffffffffffffffffffffffffffffffff16838060400190610905919061138f565b604051610913929190611431565b6000604051808303816000865af19150503d8060008114610950576040519150601f19603f3d011682016040523d82523d6000602084013e610955565b606091505b5082600001836020018290528215151515815250505080516020840135176109cf577f08c379a000000000000000000000000000000000000000000000000000000000600052602060045260176024527f4d756c746963616c6c333a2063616c6c206661696c656400000000000000000060445260646000fd5b8160010191505061087e565b50505092915050565b600045905090565b600041905090565b606060008383905090508067ffffffffffffffff811115610a1857610a176112fa565b5b604051908082528060200260200182016040528015610a5157816020015b610a3e610bd5565b815260200190600190039081610a365790505b5091503660005b82811015610b9c576000848281518110610a7557610a74611329565b5b60200260200101519050868683818110610a9257610a91611329565b5b9050602002810190610aa491906114c7565b9250826000016020810190610ab991906111a7565b73ffffffffffffffffffffffffffffffffffffffff16838060200190610adf919061138f565b604051610aed929190611431565b6000604051808303816000865af19150503d8060008114610b2a576040519150601f19603f3d011682016040523d82523d6000602084013e610b2f565b606091505b508260000183602001829052821515151581525050508715610b90578060000151610b8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b869061153b565b60405180910390fd5b5b81600101915050610a58565b5050509392505050565b6000806060610bb7600186866107bf565b8093508194508295505050509250925092565b600081409050919050565b6040518060400160405280600015158152602001606081525090565b6000819050919050565b610c0481610bf1565b82525050565b6000602082019050610c1f6000830184610bfb565b92915050565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b60008083601f840112610c5457610c53610c2f565b5b8235905067ffffffffffffffff811115610c7157610c70610c34565b5b602083019150836020820283011115610c8d57610c8c610c39565b5b9250929050565b60008060208385031215610cab57610caa610c25565b5b600083013567ffffffffffffffff811115610cc957610cc8610c2a565b5b610cd585828601610c3e565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b60008115159050919050565b610d2281610d0d565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610d62578082015181840152602081019050610d47565b83811115610d71576000848401525b50505050565b6000601f19601f8301169050919050565b6000610d9382610d28565b610d9d8185610d33565b9350610dad818560208601610d44565b610db681610d77565b840191505092915050565b6000604083016000830151610dd96000860182610d19565b5060208301518482036020860152610df18282610d88565b9150508091505092915050565b6000610e0a8383610dc1565b905092915050565b6000602082019050919050565b6000610e2a82610ce1565b610e348185610cec565b935083602082028501610e4685610cfd565b8060005b85811015610e825784840389528151610e638582610dfe565b9450610e6e83610e12565b925060208a01995050600181019050610e4a565b50829750879550505050505092915050565b60006020820190508181036000830152610eae8184610e1f565b905092915050565b60008083601f840112610ecc57610ecb610c2f565b5b8235905067ffffffffffffffff811115610ee957610ee8610c34565b5b602083019150836020820283011115610f0557610f04610c39565b5b9250929050565b60008060208385031215610f2357610f22610c25565b5b600083013567ffffffffffffffff811115610f4157610f40610c2a565b5b610f4d85828601610eb6565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000610f918383610d88565b905092915050565b6000602082019050919050565b6000610fb182610f59565b610fbb8185610f64565b935083602082028501610fcd85610f75565b8060005b858110156110095784840389528151610fea8582610f85565b9450610ff583610f99565b925060208a01995050600181019050610fd1565b50829750879550505050505092915050565b60006040820190506110306000830185610bfb565b81810360208301526110428184610fa6565b90509392505050565b6000819050919050565b61105e8161104b565b82525050565b60006020820190506110796000830184611055565b92915050565b61108881610d0d565b811461109357600080fd5b50565b6000813590506110a58161107f565b92915050565b6000806000604084860312156110c4576110c3610c25565b5b60006110d286828701611096565b935050602084013567ffffffffffffffff8111156110f3576110f2610c2a565b5b6110ff86828701610eb6565b92509250509250925092565b60006060820190506111206000830186610bfb565b61112d6020830185611055565b818103604083015261113f8184610e1f565b9050949350505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061117482611149565b9050919050565b61118481611169565b811461118f57600080fd5b50565b6000813590506111a18161117b565b92915050565b6000602082840312156111bd576111bc610c25565b5b60006111cb84828501611192565b91505092915050565b60008083601f8401126111ea576111e9610c2f565b5b8235905067ffffffffffffffff81111561120757611206610c34565b5b60208301915083602082028301111561122357611222610c39565b5b9250929050565b6000806020838503121561124157611240610c25565b5b600083013567ffffffffffffffff81111561125f5761125e610c2a565b5b61126b858286016111d4565b92509250509250929050565b61128081611169565b82525050565b600060208201905061129b6000830184611277565b92915050565b6112aa81610bf1565b81146112b557600080fd5b50565b6000813590506112c7816112a1565b92915050565b6000602082840312156112e3576112e2610c25565b5b60006112f1848285016112b8565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b600080fd5b600080fd5b60008235600160800383360303811261138357611382611358565b5b80830191505092915050565b600080833560016020038436030381126113ac576113ab611358565b5b80840192508235915067ffffffffffffffff8211156113ce576113cd61135d565b5b6020830192506001820236038313156113ea576113e9611362565b5b509250929050565b600081905092915050565b82818337600083830152505050565b600061141883856113f2565b93506114258385846113fd565b82840190509392505050565b600061143e82848661140c565b91508190509392505050565b600082825260208201905092915050565b7f4d756c746963616c6c333a2076616c7565206d69736d61746368000000000000600082015250565b6000611491601a8361144a565b915061149c8261145b565b602082019050919050565b600060208201905081810360008301526114c081611484565b9050919050565b6000823560016040038336030381126114e3576114e2611358565b5b80830191505092915050565b7f4d756c746963616c6c333a2063616c6c206661696c6564000000000000000000600082015250565b600061152560178361144a565b9150611530826114ef565b602082019050919050565b6000602082019050818103600083015261155481611518565b9050919050565b60008235600160600383360303811261157757611576611358565b5b8083019150509291505056fea264697066735822122020c1bc9aacf8e4a6507193432a895a8e77094f45a1395583f07b24e860ef06cd64736f6c634300080c0033";
|
|
2620
2620
|
|
|
2621
|
-
// ../../node_modules/.bun/viem@2.52.0+
|
|
2621
|
+
// ../../node_modules/.bun/viem@2.52.0+e016764623ac6761/node_modules/viem/_esm/utils/abi/formatAbiItemWithArgs.js
|
|
2622
2622
|
function formatAbiItemWithArgs({ abiItem, args, includeFunctionName = true, includeName = false }) {
|
|
2623
2623
|
if (!("name" in abiItem))
|
|
2624
2624
|
return;
|
|
@@ -2629,7 +2629,7 @@ function formatAbiItemWithArgs({ abiItem, args, includeFunctionName = true, incl
|
|
|
2629
2629
|
return `${includeFunctionName ? abiItem.name : ""}(${abiItem.inputs.map((input, i) => `${includeName && input.name ? `${input.name}: ` : ""}${typeof args[i] === "object" ? stringify(args[i]) : args[i]}`).join(", ")})`;
|
|
2630
2630
|
}
|
|
2631
2631
|
|
|
2632
|
-
// ../../node_modules/.bun/viem@2.52.0+
|
|
2632
|
+
// ../../node_modules/.bun/viem@2.52.0+e016764623ac6761/node_modules/viem/_esm/errors/stateOverride.js
|
|
2633
2633
|
class AccountStateConflictError extends BaseError {
|
|
2634
2634
|
constructor({ address }) {
|
|
2635
2635
|
super(`State for account "${address}" is set multiple times.`, {
|
|
@@ -2679,7 +2679,7 @@ function prettyStateOverride(stateOverride) {
|
|
|
2679
2679
|
`).slice(0, -1);
|
|
2680
2680
|
}
|
|
2681
2681
|
|
|
2682
|
-
// ../../node_modules/.bun/viem@2.52.0+
|
|
2682
|
+
// ../../node_modules/.bun/viem@2.52.0+e016764623ac6761/node_modules/viem/_esm/errors/contract.js
|
|
2683
2683
|
class CallExecutionError extends BaseError {
|
|
2684
2684
|
constructor(cause, { account: account_, docsPath: docsPath3, chain, data, gas, gasPrice, maxFeePerGas, maxPriorityFeePerGas, nonce, to, value, stateOverride }) {
|
|
2685
2685
|
const account = account_ ? parseAccount(account_) : undefined;
|
|
@@ -2924,7 +2924,7 @@ class RawContractError extends BaseError {
|
|
|
2924
2924
|
}
|
|
2925
2925
|
}
|
|
2926
2926
|
|
|
2927
|
-
// ../../node_modules/.bun/viem@2.52.0+
|
|
2927
|
+
// ../../node_modules/.bun/viem@2.52.0+e016764623ac6761/node_modules/viem/_esm/utils/abi/decodeFunctionResult.js
|
|
2928
2928
|
var docsPath3 = "/docs/contract/decodeFunctionResult";
|
|
2929
2929
|
function decodeFunctionResult(parameters) {
|
|
2930
2930
|
const { abi, args, functionName, data } = parameters;
|
|
@@ -2947,7 +2947,7 @@ function decodeFunctionResult(parameters) {
|
|
|
2947
2947
|
return;
|
|
2948
2948
|
}
|
|
2949
2949
|
|
|
2950
|
-
// ../../node_modules/.bun/viem@2.52.0+
|
|
2950
|
+
// ../../node_modules/.bun/viem@2.52.0+e016764623ac6761/node_modules/viem/_esm/utils/abi/encodeDeployData.js
|
|
2951
2951
|
var docsPath4 = "/docs/contract/encodeDeployData";
|
|
2952
2952
|
function encodeDeployData(parameters) {
|
|
2953
2953
|
const { abi, args, bytecode } = parameters;
|
|
@@ -2964,7 +2964,7 @@ function encodeDeployData(parameters) {
|
|
|
2964
2964
|
return concatHex([bytecode, data]);
|
|
2965
2965
|
}
|
|
2966
2966
|
|
|
2967
|
-
// ../../node_modules/.bun/viem@2.52.0+
|
|
2967
|
+
// ../../node_modules/.bun/viem@2.52.0+e016764623ac6761/node_modules/viem/_esm/utils/abi/prepareEncodeFunctionData.js
|
|
2968
2968
|
var docsPath5 = "/docs/contract/encodeFunctionData";
|
|
2969
2969
|
function prepareEncodeFunctionData(parameters) {
|
|
2970
2970
|
const { abi, args, functionName } = parameters;
|
|
@@ -2987,7 +2987,7 @@ function prepareEncodeFunctionData(parameters) {
|
|
|
2987
2987
|
};
|
|
2988
2988
|
}
|
|
2989
2989
|
|
|
2990
|
-
// ../../node_modules/.bun/viem@2.52.0+
|
|
2990
|
+
// ../../node_modules/.bun/viem@2.52.0+e016764623ac6761/node_modules/viem/_esm/utils/abi/encodeFunctionData.js
|
|
2991
2991
|
function encodeFunctionData(parameters) {
|
|
2992
2992
|
const { args } = parameters;
|
|
2993
2993
|
const { abi, functionName } = (() => {
|
|
@@ -3001,7 +3001,7 @@ function encodeFunctionData(parameters) {
|
|
|
3001
3001
|
return concatHex([signature, data ?? "0x"]);
|
|
3002
3002
|
}
|
|
3003
3003
|
|
|
3004
|
-
// ../../node_modules/.bun/viem@2.52.0+
|
|
3004
|
+
// ../../node_modules/.bun/viem@2.52.0+e016764623ac6761/node_modules/viem/_esm/utils/block/formatBlockParameter.js
|
|
3005
3005
|
function formatBlockParameter(parameters) {
|
|
3006
3006
|
const { blockHash, blockNumber, blockTag, requireCanonical } = parameters;
|
|
3007
3007
|
if (requireCanonical !== undefined && !blockHash)
|
|
@@ -3013,7 +3013,7 @@ function formatBlockParameter(parameters) {
|
|
|
3013
3013
|
return blockTag ?? "latest";
|
|
3014
3014
|
}
|
|
3015
3015
|
|
|
3016
|
-
// ../../node_modules/.bun/viem@2.52.0+
|
|
3016
|
+
// ../../node_modules/.bun/viem@2.52.0+e016764623ac6761/node_modules/viem/_esm/utils/chain/getChainContractAddress.js
|
|
3017
3017
|
function getChainContractAddress({ blockNumber, chain, contract: name }) {
|
|
3018
3018
|
const contract = chain?.contracts?.[name];
|
|
3019
3019
|
if (!contract)
|
|
@@ -3033,7 +3033,7 @@ function getChainContractAddress({ blockNumber, chain, contract: name }) {
|
|
|
3033
3033
|
return contract.address;
|
|
3034
3034
|
}
|
|
3035
3035
|
|
|
3036
|
-
// ../../node_modules/.bun/viem@2.52.0+
|
|
3036
|
+
// ../../node_modules/.bun/viem@2.52.0+e016764623ac6761/node_modules/viem/_esm/errors/rpc.js
|
|
3037
3037
|
var unknownErrorCode = -1;
|
|
3038
3038
|
|
|
3039
3039
|
class RpcError extends BaseError {
|
|
@@ -3507,7 +3507,7 @@ class UnknownRpcError extends RpcError {
|
|
|
3507
3507
|
}
|
|
3508
3508
|
}
|
|
3509
3509
|
|
|
3510
|
-
// ../../node_modules/.bun/viem@2.52.0+
|
|
3510
|
+
// ../../node_modules/.bun/viem@2.52.0+e016764623ac6761/node_modules/viem/_esm/utils/errors/getNodeError.js
|
|
3511
3511
|
function getNodeError(err, args) {
|
|
3512
3512
|
const message = (err.details || "").toLowerCase();
|
|
3513
3513
|
const executionRevertedError = err instanceof BaseError ? err.walk((e) => e?.code === ExecutionRevertedError.code) : err;
|
|
@@ -3556,7 +3556,7 @@ function getNodeError(err, args) {
|
|
|
3556
3556
|
});
|
|
3557
3557
|
}
|
|
3558
3558
|
|
|
3559
|
-
// ../../node_modules/.bun/viem@2.52.0+
|
|
3559
|
+
// ../../node_modules/.bun/viem@2.52.0+e016764623ac6761/node_modules/viem/_esm/utils/errors/getCallError.js
|
|
3560
3560
|
function getCallError(err, { docsPath: docsPath6, ...args }) {
|
|
3561
3561
|
const cause = (() => {
|
|
3562
3562
|
const cause2 = getNodeError(err, args);
|
|
@@ -3570,7 +3570,7 @@ function getCallError(err, { docsPath: docsPath6, ...args }) {
|
|
|
3570
3570
|
});
|
|
3571
3571
|
}
|
|
3572
3572
|
|
|
3573
|
-
// ../../node_modules/.bun/viem@2.52.0+
|
|
3573
|
+
// ../../node_modules/.bun/viem@2.52.0+e016764623ac6761/node_modules/viem/_esm/utils/formatters/extract.js
|
|
3574
3574
|
function extract(value_, { format }) {
|
|
3575
3575
|
if (!format)
|
|
3576
3576
|
return {};
|
|
@@ -3589,7 +3589,7 @@ function extract(value_, { format }) {
|
|
|
3589
3589
|
return value;
|
|
3590
3590
|
}
|
|
3591
3591
|
|
|
3592
|
-
// ../../node_modules/.bun/viem@2.52.0+
|
|
3592
|
+
// ../../node_modules/.bun/viem@2.52.0+e016764623ac6761/node_modules/viem/_esm/utils/formatters/formatter.js
|
|
3593
3593
|
function defineFormatter(type, format) {
|
|
3594
3594
|
return ({ exclude, format: overrides }) => {
|
|
3595
3595
|
return {
|
|
@@ -3611,7 +3611,7 @@ function defineFormatter(type, format) {
|
|
|
3611
3611
|
};
|
|
3612
3612
|
}
|
|
3613
3613
|
|
|
3614
|
-
// ../../node_modules/.bun/viem@2.52.0+
|
|
3614
|
+
// ../../node_modules/.bun/viem@2.52.0+e016764623ac6761/node_modules/viem/_esm/utils/formatters/transactionRequest.js
|
|
3615
3615
|
var rpcTransactionType = {
|
|
3616
3616
|
legacy: "0x0",
|
|
3617
3617
|
eip2930: "0x1",
|
|
@@ -3671,7 +3671,7 @@ function formatAuthorizationList(authorizationList) {
|
|
|
3671
3671
|
}));
|
|
3672
3672
|
}
|
|
3673
3673
|
|
|
3674
|
-
// ../../node_modules/.bun/viem@2.52.0+
|
|
3674
|
+
// ../../node_modules/.bun/viem@2.52.0+e016764623ac6761/node_modules/viem/_esm/utils/promise/withResolvers.js
|
|
3675
3675
|
function withResolvers() {
|
|
3676
3676
|
let resolve = () => {
|
|
3677
3677
|
return;
|
|
@@ -3686,7 +3686,7 @@ function withResolvers() {
|
|
|
3686
3686
|
return { promise, resolve, reject };
|
|
3687
3687
|
}
|
|
3688
3688
|
|
|
3689
|
-
// ../../node_modules/.bun/viem@2.52.0+
|
|
3689
|
+
// ../../node_modules/.bun/viem@2.52.0+e016764623ac6761/node_modules/viem/_esm/utils/promise/createBatchScheduler.js
|
|
3690
3690
|
var schedulerCache = /* @__PURE__ */ new Map;
|
|
3691
3691
|
function createBatchScheduler({ fn, id, shouldSplitBatch, wait = 0, sort }) {
|
|
3692
3692
|
const exec = async () => {
|
|
@@ -3732,7 +3732,7 @@ function createBatchScheduler({ fn, id, shouldSplitBatch, wait = 0, sort }) {
|
|
|
3732
3732
|
};
|
|
3733
3733
|
}
|
|
3734
3734
|
|
|
3735
|
-
// ../../node_modules/.bun/viem@2.52.0+
|
|
3735
|
+
// ../../node_modules/.bun/viem@2.52.0+e016764623ac6761/node_modules/viem/_esm/utils/stateOverride.js
|
|
3736
3736
|
function serializeStateMapping(stateMapping) {
|
|
3737
3737
|
if (!stateMapping || stateMapping.length === 0)
|
|
3738
3738
|
return;
|
|
@@ -3785,7 +3785,7 @@ function serializeStateOverride(parameters) {
|
|
|
3785
3785
|
return rpcStateOverride;
|
|
3786
3786
|
}
|
|
3787
3787
|
|
|
3788
|
-
// ../../node_modules/.bun/viem@2.52.0+
|
|
3788
|
+
// ../../node_modules/.bun/viem@2.52.0+e016764623ac6761/node_modules/viem/_esm/utils/transaction/assertRequest.js
|
|
3789
3789
|
function assertRequest(args) {
|
|
3790
3790
|
const { account: account_, maxFeePerGas, maxPriorityFeePerGas, to } = args;
|
|
3791
3791
|
const account = account_ ? parseAccount(account_) : undefined;
|
|
@@ -3799,7 +3799,7 @@ function assertRequest(args) {
|
|
|
3799
3799
|
throw new TipAboveFeeCapError({ maxFeePerGas, maxPriorityFeePerGas });
|
|
3800
3800
|
}
|
|
3801
3801
|
|
|
3802
|
-
// ../../node_modules/.bun/viem@2.52.0+
|
|
3802
|
+
// ../../node_modules/.bun/viem@2.52.0+e016764623ac6761/node_modules/viem/_esm/actions/public/call.js
|
|
3803
3803
|
async function call(client, args) {
|
|
3804
3804
|
const { account: account_ = client.account, authorizationList, batch = Boolean(client.batch?.multicall), blockHash, blockNumber, blockTag = client.experimental_blockTag ?? "latest", requireCanonical, accessList, blobs, blockOverrides, code, data: data_, factory, factoryData, gas, gasPrice, maxFeePerBlobGas, maxFeePerGas, maxPriorityFeePerGas, nonce, requestOptions, to, value, stateOverride, ...rest } = args;
|
|
3805
3805
|
const account = account_ ? parseAccount(account_) : undefined;
|
|
@@ -3902,7 +3902,7 @@ async function call(client, args) {
|
|
|
3902
3902
|
if (isAbortError(err))
|
|
3903
3903
|
throw err;
|
|
3904
3904
|
const data2 = getRevertErrorData(err);
|
|
3905
|
-
const { offchainLookup, offchainLookupSignature } = await import("./ccip-
|
|
3905
|
+
const { offchainLookup, offchainLookupSignature } = await import("./ccip-zxtpc4fx.js");
|
|
3906
3906
|
if (client.ccipRead !== false && data2?.slice(0, 10) === offchainLookupSignature && to)
|
|
3907
3907
|
return {
|
|
3908
3908
|
data: await offchainLookup(client, { data: data2, requestOptions, to })
|