n8n-nodes-arl 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/credentials/ArlWalletApi.credentials.js +1 -1
- package/dist/nodes/Arl/Arl.node.js +524 -524
- package/package.json +19 -6
- package/dist/credentials/arl.svg +0 -1
|
@@ -30,18 +30,18 @@ var __toESM = (mod2, isNodeMode, target) => (target = mod2 != null ? __create(__
|
|
|
30
30
|
));
|
|
31
31
|
var __toCommonJS = (mod2) => __copyProps(__defProp({}, "__esModule", { value: true }), mod2);
|
|
32
32
|
|
|
33
|
-
//
|
|
33
|
+
// node_modules/abitype/dist/esm/version.js
|
|
34
34
|
var version;
|
|
35
35
|
var init_version = __esm({
|
|
36
|
-
"
|
|
36
|
+
"node_modules/abitype/dist/esm/version.js"() {
|
|
37
37
|
version = "1.2.3";
|
|
38
38
|
}
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
//
|
|
41
|
+
// node_modules/abitype/dist/esm/errors.js
|
|
42
42
|
var BaseError;
|
|
43
43
|
var init_errors = __esm({
|
|
44
|
-
"
|
|
44
|
+
"node_modules/abitype/dist/esm/errors.js"() {
|
|
45
45
|
init_version();
|
|
46
46
|
BaseError = class _BaseError extends Error {
|
|
47
47
|
constructor(shortMessage, args = {}) {
|
|
@@ -97,21 +97,21 @@ var init_errors = __esm({
|
|
|
97
97
|
}
|
|
98
98
|
});
|
|
99
99
|
|
|
100
|
-
//
|
|
100
|
+
// node_modules/abitype/dist/esm/regex.js
|
|
101
101
|
function execTyped(regex, string) {
|
|
102
102
|
const match = regex.exec(string);
|
|
103
103
|
return match?.groups;
|
|
104
104
|
}
|
|
105
105
|
var bytesRegex, integerRegex, isTupleRegex;
|
|
106
106
|
var init_regex = __esm({
|
|
107
|
-
"
|
|
107
|
+
"node_modules/abitype/dist/esm/regex.js"() {
|
|
108
108
|
bytesRegex = /^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/;
|
|
109
109
|
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)?$/;
|
|
110
110
|
isTupleRegex = /^\(.+?\).*?$/;
|
|
111
111
|
}
|
|
112
112
|
});
|
|
113
113
|
|
|
114
|
-
//
|
|
114
|
+
// node_modules/abitype/dist/esm/human-readable/formatAbiParameter.js
|
|
115
115
|
function formatAbiParameter(abiParameter) {
|
|
116
116
|
let type = abiParameter.type;
|
|
117
117
|
if (tupleRegex.test(abiParameter.type) && "components" in abiParameter) {
|
|
@@ -138,13 +138,13 @@ function formatAbiParameter(abiParameter) {
|
|
|
138
138
|
}
|
|
139
139
|
var tupleRegex;
|
|
140
140
|
var init_formatAbiParameter = __esm({
|
|
141
|
-
"
|
|
141
|
+
"node_modules/abitype/dist/esm/human-readable/formatAbiParameter.js"() {
|
|
142
142
|
init_regex();
|
|
143
143
|
tupleRegex = /^tuple(?<array>(\[(\d*)\])*)$/;
|
|
144
144
|
}
|
|
145
145
|
});
|
|
146
146
|
|
|
147
|
-
//
|
|
147
|
+
// node_modules/abitype/dist/esm/human-readable/formatAbiParameters.js
|
|
148
148
|
function formatAbiParameters(abiParameters) {
|
|
149
149
|
let params = "";
|
|
150
150
|
const length = abiParameters.length;
|
|
@@ -157,12 +157,12 @@ function formatAbiParameters(abiParameters) {
|
|
|
157
157
|
return params;
|
|
158
158
|
}
|
|
159
159
|
var init_formatAbiParameters = __esm({
|
|
160
|
-
"
|
|
160
|
+
"node_modules/abitype/dist/esm/human-readable/formatAbiParameters.js"() {
|
|
161
161
|
init_formatAbiParameter();
|
|
162
162
|
}
|
|
163
163
|
});
|
|
164
164
|
|
|
165
|
-
//
|
|
165
|
+
// node_modules/abitype/dist/esm/human-readable/formatAbiItem.js
|
|
166
166
|
function formatAbiItem(abiItem) {
|
|
167
167
|
if (abiItem.type === "function")
|
|
168
168
|
return `function ${abiItem.name}(${formatAbiParameters(abiItem.inputs)})${abiItem.stateMutability && abiItem.stateMutability !== "nonpayable" ? ` ${abiItem.stateMutability}` : ""}${abiItem.outputs?.length ? ` returns (${formatAbiParameters(abiItem.outputs)})` : ""}`;
|
|
@@ -177,12 +177,12 @@ function formatAbiItem(abiItem) {
|
|
|
177
177
|
return "receive() external payable";
|
|
178
178
|
}
|
|
179
179
|
var init_formatAbiItem = __esm({
|
|
180
|
-
"
|
|
180
|
+
"node_modules/abitype/dist/esm/human-readable/formatAbiItem.js"() {
|
|
181
181
|
init_formatAbiParameters();
|
|
182
182
|
}
|
|
183
183
|
});
|
|
184
184
|
|
|
185
|
-
//
|
|
185
|
+
// node_modules/abitype/dist/esm/human-readable/runtime/signatures.js
|
|
186
186
|
function isErrorSignature(signature) {
|
|
187
187
|
return errorSignatureRegex.test(signature);
|
|
188
188
|
}
|
|
@@ -224,7 +224,7 @@ function isReceiveSignature(signature) {
|
|
|
224
224
|
}
|
|
225
225
|
var errorSignatureRegex, eventSignatureRegex, functionSignatureRegex, structSignatureRegex, constructorSignatureRegex, fallbackSignatureRegex, receiveSignatureRegex, modifiers, eventModifiers, functionModifiers;
|
|
226
226
|
var init_signatures = __esm({
|
|
227
|
-
"
|
|
227
|
+
"node_modules/abitype/dist/esm/human-readable/runtime/signatures.js"() {
|
|
228
228
|
init_regex();
|
|
229
229
|
errorSignatureRegex = /^error (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)$/;
|
|
230
230
|
eventSignatureRegex = /^event (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)$/;
|
|
@@ -248,10 +248,10 @@ var init_signatures = __esm({
|
|
|
248
248
|
}
|
|
249
249
|
});
|
|
250
250
|
|
|
251
|
-
//
|
|
251
|
+
// node_modules/abitype/dist/esm/human-readable/errors/abiItem.js
|
|
252
252
|
var InvalidAbiItemError, UnknownTypeError, UnknownSolidityTypeError;
|
|
253
253
|
var init_abiItem = __esm({
|
|
254
|
-
"
|
|
254
|
+
"node_modules/abitype/dist/esm/human-readable/errors/abiItem.js"() {
|
|
255
255
|
init_errors();
|
|
256
256
|
InvalidAbiItemError = class extends BaseError {
|
|
257
257
|
constructor({ signature }) {
|
|
@@ -298,10 +298,10 @@ var init_abiItem = __esm({
|
|
|
298
298
|
}
|
|
299
299
|
});
|
|
300
300
|
|
|
301
|
-
//
|
|
301
|
+
// node_modules/abitype/dist/esm/human-readable/errors/abiParameter.js
|
|
302
302
|
var InvalidAbiParametersError, InvalidParameterError, SolidityProtectedKeywordError, InvalidModifierError, InvalidFunctionModifierError, InvalidAbiTypeParameterError;
|
|
303
303
|
var init_abiParameter = __esm({
|
|
304
|
-
"
|
|
304
|
+
"node_modules/abitype/dist/esm/human-readable/errors/abiParameter.js"() {
|
|
305
305
|
init_errors();
|
|
306
306
|
InvalidAbiParametersError = class extends BaseError {
|
|
307
307
|
constructor({ params }) {
|
|
@@ -396,10 +396,10 @@ var init_abiParameter = __esm({
|
|
|
396
396
|
}
|
|
397
397
|
});
|
|
398
398
|
|
|
399
|
-
//
|
|
399
|
+
// node_modules/abitype/dist/esm/human-readable/errors/signature.js
|
|
400
400
|
var InvalidSignatureError, UnknownSignatureError, InvalidStructSignatureError;
|
|
401
401
|
var init_signature = __esm({
|
|
402
|
-
"
|
|
402
|
+
"node_modules/abitype/dist/esm/human-readable/errors/signature.js"() {
|
|
403
403
|
init_errors();
|
|
404
404
|
InvalidSignatureError = class extends BaseError {
|
|
405
405
|
constructor({ signature, type }) {
|
|
@@ -444,10 +444,10 @@ var init_signature = __esm({
|
|
|
444
444
|
}
|
|
445
445
|
});
|
|
446
446
|
|
|
447
|
-
//
|
|
447
|
+
// node_modules/abitype/dist/esm/human-readable/errors/struct.js
|
|
448
448
|
var CircularReferenceError;
|
|
449
449
|
var init_struct = __esm({
|
|
450
|
-
"
|
|
450
|
+
"node_modules/abitype/dist/esm/human-readable/errors/struct.js"() {
|
|
451
451
|
init_errors();
|
|
452
452
|
CircularReferenceError = class extends BaseError {
|
|
453
453
|
constructor({ type }) {
|
|
@@ -465,10 +465,10 @@ var init_struct = __esm({
|
|
|
465
465
|
}
|
|
466
466
|
});
|
|
467
467
|
|
|
468
|
-
//
|
|
468
|
+
// node_modules/abitype/dist/esm/human-readable/errors/splitParameters.js
|
|
469
469
|
var InvalidParenthesisError;
|
|
470
470
|
var init_splitParameters = __esm({
|
|
471
|
-
"
|
|
471
|
+
"node_modules/abitype/dist/esm/human-readable/errors/splitParameters.js"() {
|
|
472
472
|
init_errors();
|
|
473
473
|
InvalidParenthesisError = class extends BaseError {
|
|
474
474
|
constructor({ current, depth }) {
|
|
@@ -489,7 +489,7 @@ var init_splitParameters = __esm({
|
|
|
489
489
|
}
|
|
490
490
|
});
|
|
491
491
|
|
|
492
|
-
//
|
|
492
|
+
// node_modules/abitype/dist/esm/human-readable/runtime/cache.js
|
|
493
493
|
function getParameterCacheKey(param, type, structs) {
|
|
494
494
|
let structKey = "";
|
|
495
495
|
if (structs)
|
|
@@ -508,7 +508,7 @@ function getParameterCacheKey(param, type, structs) {
|
|
|
508
508
|
}
|
|
509
509
|
var parameterCache;
|
|
510
510
|
var init_cache = __esm({
|
|
511
|
-
"
|
|
511
|
+
"node_modules/abitype/dist/esm/human-readable/runtime/cache.js"() {
|
|
512
512
|
parameterCache = /* @__PURE__ */ new Map([
|
|
513
513
|
// Unnamed
|
|
514
514
|
["address", { type: "address" }],
|
|
@@ -566,7 +566,7 @@ var init_cache = __esm({
|
|
|
566
566
|
}
|
|
567
567
|
});
|
|
568
568
|
|
|
569
|
-
//
|
|
569
|
+
// node_modules/abitype/dist/esm/human-readable/runtime/utils.js
|
|
570
570
|
function parseSignature(signature, structs = {}) {
|
|
571
571
|
if (isFunctionSignature(signature))
|
|
572
572
|
return parseFunctionSignature(signature, structs);
|
|
@@ -762,7 +762,7 @@ function isValidDataLocation(type, isArray) {
|
|
|
762
762
|
}
|
|
763
763
|
var abiParameterWithoutTupleRegex, abiParameterWithTupleRegex, dynamicIntegerRegex, protectedKeywordsRegex;
|
|
764
764
|
var init_utils = __esm({
|
|
765
|
-
"
|
|
765
|
+
"node_modules/abitype/dist/esm/human-readable/runtime/utils.js"() {
|
|
766
766
|
init_regex();
|
|
767
767
|
init_abiItem();
|
|
768
768
|
init_abiParameter();
|
|
@@ -777,7 +777,7 @@ var init_utils = __esm({
|
|
|
777
777
|
}
|
|
778
778
|
});
|
|
779
779
|
|
|
780
|
-
//
|
|
780
|
+
// node_modules/abitype/dist/esm/human-readable/runtime/structs.js
|
|
781
781
|
function parseStructs(signatures) {
|
|
782
782
|
const shallowStructs = {};
|
|
783
783
|
const signaturesLength = signatures.length;
|
|
@@ -847,7 +847,7 @@ function resolveStructs(abiParameters = [], structs = {}, ancestors = /* @__PURE
|
|
|
847
847
|
}
|
|
848
848
|
var typeWithoutTupleRegex;
|
|
849
849
|
var init_structs = __esm({
|
|
850
|
-
"
|
|
850
|
+
"node_modules/abitype/dist/esm/human-readable/runtime/structs.js"() {
|
|
851
851
|
init_regex();
|
|
852
852
|
init_abiItem();
|
|
853
853
|
init_abiParameter();
|
|
@@ -859,7 +859,7 @@ var init_structs = __esm({
|
|
|
859
859
|
}
|
|
860
860
|
});
|
|
861
861
|
|
|
862
|
-
//
|
|
862
|
+
// node_modules/abitype/dist/esm/human-readable/parseAbi.js
|
|
863
863
|
function parseAbi(signatures) {
|
|
864
864
|
const structs = parseStructs(signatures);
|
|
865
865
|
const abi2 = [];
|
|
@@ -873,14 +873,14 @@ function parseAbi(signatures) {
|
|
|
873
873
|
return abi2;
|
|
874
874
|
}
|
|
875
875
|
var init_parseAbi = __esm({
|
|
876
|
-
"
|
|
876
|
+
"node_modules/abitype/dist/esm/human-readable/parseAbi.js"() {
|
|
877
877
|
init_signatures();
|
|
878
878
|
init_structs();
|
|
879
879
|
init_utils();
|
|
880
880
|
}
|
|
881
881
|
});
|
|
882
882
|
|
|
883
|
-
//
|
|
883
|
+
// node_modules/abitype/dist/esm/human-readable/parseAbiItem.js
|
|
884
884
|
function parseAbiItem(signature) {
|
|
885
885
|
let abiItem;
|
|
886
886
|
if (typeof signature === "string")
|
|
@@ -901,7 +901,7 @@ function parseAbiItem(signature) {
|
|
|
901
901
|
return abiItem;
|
|
902
902
|
}
|
|
903
903
|
var init_parseAbiItem = __esm({
|
|
904
|
-
"
|
|
904
|
+
"node_modules/abitype/dist/esm/human-readable/parseAbiItem.js"() {
|
|
905
905
|
init_abiItem();
|
|
906
906
|
init_signatures();
|
|
907
907
|
init_structs();
|
|
@@ -909,7 +909,7 @@ var init_parseAbiItem = __esm({
|
|
|
909
909
|
}
|
|
910
910
|
});
|
|
911
911
|
|
|
912
|
-
//
|
|
912
|
+
// node_modules/abitype/dist/esm/human-readable/parseAbiParameters.js
|
|
913
913
|
function parseAbiParameters(params) {
|
|
914
914
|
const abiParameters = [];
|
|
915
915
|
if (typeof params === "string") {
|
|
@@ -937,7 +937,7 @@ function parseAbiParameters(params) {
|
|
|
937
937
|
return abiParameters;
|
|
938
938
|
}
|
|
939
939
|
var init_parseAbiParameters = __esm({
|
|
940
|
-
"
|
|
940
|
+
"node_modules/abitype/dist/esm/human-readable/parseAbiParameters.js"() {
|
|
941
941
|
init_abiParameter();
|
|
942
942
|
init_signatures();
|
|
943
943
|
init_structs();
|
|
@@ -946,9 +946,9 @@ var init_parseAbiParameters = __esm({
|
|
|
946
946
|
}
|
|
947
947
|
});
|
|
948
948
|
|
|
949
|
-
//
|
|
949
|
+
// node_modules/abitype/dist/esm/exports/index.js
|
|
950
950
|
var init_exports = __esm({
|
|
951
|
-
"
|
|
951
|
+
"node_modules/abitype/dist/esm/exports/index.js"() {
|
|
952
952
|
init_formatAbiItem();
|
|
953
953
|
init_formatAbiParameters();
|
|
954
954
|
init_parseAbi();
|
|
@@ -957,7 +957,7 @@ var init_exports = __esm({
|
|
|
957
957
|
}
|
|
958
958
|
});
|
|
959
959
|
|
|
960
|
-
//
|
|
960
|
+
// node_modules/viem/_esm/utils/abi/formatAbiItem.js
|
|
961
961
|
function formatAbiItem2(abiItem, { includeName = false } = {}) {
|
|
962
962
|
if (abiItem.type !== "function" && abiItem.type !== "event" && abiItem.type !== "error")
|
|
963
963
|
throw new InvalidDefinitionTypeError(abiItem.type);
|
|
@@ -975,12 +975,12 @@ function formatAbiParam(param, { includeName }) {
|
|
|
975
975
|
return param.type + (includeName && param.name ? ` ${param.name}` : "");
|
|
976
976
|
}
|
|
977
977
|
var init_formatAbiItem2 = __esm({
|
|
978
|
-
"
|
|
978
|
+
"node_modules/viem/_esm/utils/abi/formatAbiItem.js"() {
|
|
979
979
|
init_abi();
|
|
980
980
|
}
|
|
981
981
|
});
|
|
982
982
|
|
|
983
|
-
//
|
|
983
|
+
// node_modules/viem/_esm/utils/data/isHex.js
|
|
984
984
|
function isHex(value, { strict = true } = {}) {
|
|
985
985
|
if (!value)
|
|
986
986
|
return false;
|
|
@@ -989,31 +989,31 @@ function isHex(value, { strict = true } = {}) {
|
|
|
989
989
|
return strict ? /^0x[0-9a-fA-F]*$/.test(value) : value.startsWith("0x");
|
|
990
990
|
}
|
|
991
991
|
var init_isHex = __esm({
|
|
992
|
-
"
|
|
992
|
+
"node_modules/viem/_esm/utils/data/isHex.js"() {
|
|
993
993
|
}
|
|
994
994
|
});
|
|
995
995
|
|
|
996
|
-
//
|
|
996
|
+
// node_modules/viem/_esm/utils/data/size.js
|
|
997
997
|
function size(value) {
|
|
998
998
|
if (isHex(value, { strict: false }))
|
|
999
999
|
return Math.ceil((value.length - 2) / 2);
|
|
1000
1000
|
return value.length;
|
|
1001
1001
|
}
|
|
1002
1002
|
var init_size = __esm({
|
|
1003
|
-
"
|
|
1003
|
+
"node_modules/viem/_esm/utils/data/size.js"() {
|
|
1004
1004
|
init_isHex();
|
|
1005
1005
|
}
|
|
1006
1006
|
});
|
|
1007
1007
|
|
|
1008
|
-
//
|
|
1008
|
+
// node_modules/viem/_esm/errors/version.js
|
|
1009
1009
|
var version2;
|
|
1010
1010
|
var init_version2 = __esm({
|
|
1011
|
-
"
|
|
1011
|
+
"node_modules/viem/_esm/errors/version.js"() {
|
|
1012
1012
|
version2 = "2.56.9";
|
|
1013
1013
|
}
|
|
1014
1014
|
});
|
|
1015
1015
|
|
|
1016
|
-
//
|
|
1016
|
+
// node_modules/viem/_esm/errors/base.js
|
|
1017
1017
|
function walk(err, fn) {
|
|
1018
1018
|
if (fn?.(err))
|
|
1019
1019
|
return err;
|
|
@@ -1023,7 +1023,7 @@ function walk(err, fn) {
|
|
|
1023
1023
|
}
|
|
1024
1024
|
var errorConfig, BaseError2;
|
|
1025
1025
|
var init_base = __esm({
|
|
1026
|
-
"
|
|
1026
|
+
"node_modules/viem/_esm/errors/base.js"() {
|
|
1027
1027
|
init_version2();
|
|
1028
1028
|
errorConfig = {
|
|
1029
1029
|
getDocsUrl: ({ docsBaseUrl, docsPath: docsPath8 = "", docsSlug }) => docsPath8 ? `${docsBaseUrl ?? "https://viem.sh"}${docsPath8}${docsSlug ? `#${docsSlug}` : ""}` : void 0,
|
|
@@ -1103,10 +1103,10 @@ var init_base = __esm({
|
|
|
1103
1103
|
}
|
|
1104
1104
|
});
|
|
1105
1105
|
|
|
1106
|
-
//
|
|
1106
|
+
// node_modules/viem/_esm/errors/abi.js
|
|
1107
1107
|
var AbiConstructorNotFoundError, AbiConstructorParamsNotFoundError, AbiDecodingDataSizeTooSmallError, AbiDecodingZeroDataError, AbiEncodingArrayLengthMismatchError, AbiEncodingBytesSizeMismatchError, AbiEncodingLengthMismatchError, AbiErrorInputsNotFoundError, AbiErrorNotFoundError, AbiErrorSignatureNotFoundError, AbiEventSignatureEmptyTopicsError, AbiEventSignatureNotFoundError, AbiEventNotFoundError, AbiFunctionNotFoundError, AbiFunctionOutputsNotFoundError, AbiFunctionSignatureNotFoundError, AbiItemAmbiguityError, BytesSizeMismatchError, DecodeLogDataMismatch, DecodeLogTopicsMismatch, InvalidAbiEncodingTypeError, InvalidAbiDecodingTypeError, InvalidArrayError, InvalidDefinitionTypeError;
|
|
1108
1108
|
var init_abi = __esm({
|
|
1109
|
-
"
|
|
1109
|
+
"node_modules/viem/_esm/errors/abi.js"() {
|
|
1110
1110
|
init_formatAbiItem2();
|
|
1111
1111
|
init_size();
|
|
1112
1112
|
init_base();
|
|
@@ -1414,10 +1414,10 @@ var init_abi = __esm({
|
|
|
1414
1414
|
}
|
|
1415
1415
|
});
|
|
1416
1416
|
|
|
1417
|
-
//
|
|
1417
|
+
// node_modules/viem/_esm/errors/data.js
|
|
1418
1418
|
var SliceOffsetOutOfBoundsError, SizeExceedsPaddingSizeError, InvalidBytesLengthError;
|
|
1419
1419
|
var init_data = __esm({
|
|
1420
|
-
"
|
|
1420
|
+
"node_modules/viem/_esm/errors/data.js"() {
|
|
1421
1421
|
init_base();
|
|
1422
1422
|
SliceOffsetOutOfBoundsError = class extends BaseError2 {
|
|
1423
1423
|
constructor({ offset, position, size: size5 }) {
|
|
@@ -1437,7 +1437,7 @@ var init_data = __esm({
|
|
|
1437
1437
|
}
|
|
1438
1438
|
});
|
|
1439
1439
|
|
|
1440
|
-
//
|
|
1440
|
+
// node_modules/viem/_esm/utils/data/pad.js
|
|
1441
1441
|
function pad(hexOrBytes, { dir, size: size5 = 32 } = {}) {
|
|
1442
1442
|
if (typeof hexOrBytes === "string")
|
|
1443
1443
|
return padHex(hexOrBytes, { dir, size: size5 });
|
|
@@ -1472,15 +1472,15 @@ function padBytes(bytes, { dir, size: size5 = 32 } = {}) {
|
|
|
1472
1472
|
return paddedBytes;
|
|
1473
1473
|
}
|
|
1474
1474
|
var init_pad = __esm({
|
|
1475
|
-
"
|
|
1475
|
+
"node_modules/viem/_esm/utils/data/pad.js"() {
|
|
1476
1476
|
init_data();
|
|
1477
1477
|
}
|
|
1478
1478
|
});
|
|
1479
1479
|
|
|
1480
|
-
//
|
|
1480
|
+
// node_modules/viem/_esm/errors/encoding.js
|
|
1481
1481
|
var IntegerOutOfRangeError, InvalidBytesBooleanError, InvalidHexBooleanError, SizeOverflowError;
|
|
1482
1482
|
var init_encoding = __esm({
|
|
1483
|
-
"
|
|
1483
|
+
"node_modules/viem/_esm/errors/encoding.js"() {
|
|
1484
1484
|
init_base();
|
|
1485
1485
|
IntegerOutOfRangeError = class extends BaseError2 {
|
|
1486
1486
|
constructor({ max, min, signed, size: size5, value }) {
|
|
@@ -1507,7 +1507,7 @@ var init_encoding = __esm({
|
|
|
1507
1507
|
}
|
|
1508
1508
|
});
|
|
1509
1509
|
|
|
1510
|
-
//
|
|
1510
|
+
// node_modules/viem/_esm/utils/data/trim.js
|
|
1511
1511
|
function trim(hexOrBytes, { dir = "left" } = {}) {
|
|
1512
1512
|
let data = typeof hexOrBytes === "string" ? hexOrBytes.replace("0x", "") : hexOrBytes;
|
|
1513
1513
|
let sliceLength = 0;
|
|
@@ -1526,11 +1526,11 @@ function trim(hexOrBytes, { dir = "left" } = {}) {
|
|
|
1526
1526
|
return data;
|
|
1527
1527
|
}
|
|
1528
1528
|
var init_trim = __esm({
|
|
1529
|
-
"
|
|
1529
|
+
"node_modules/viem/_esm/utils/data/trim.js"() {
|
|
1530
1530
|
}
|
|
1531
1531
|
});
|
|
1532
1532
|
|
|
1533
|
-
//
|
|
1533
|
+
// node_modules/viem/_esm/utils/encoding/fromHex.js
|
|
1534
1534
|
function assertSize(hexOrBytes, { size: size5 }) {
|
|
1535
1535
|
if (size(hexOrBytes) > size5)
|
|
1536
1536
|
throw new SizeOverflowError({
|
|
@@ -1577,14 +1577,14 @@ function hexToNumber(hex, opts = {}) {
|
|
|
1577
1577
|
return number;
|
|
1578
1578
|
}
|
|
1579
1579
|
var init_fromHex = __esm({
|
|
1580
|
-
"
|
|
1580
|
+
"node_modules/viem/_esm/utils/encoding/fromHex.js"() {
|
|
1581
1581
|
init_encoding();
|
|
1582
1582
|
init_size();
|
|
1583
1583
|
init_trim();
|
|
1584
1584
|
}
|
|
1585
1585
|
});
|
|
1586
1586
|
|
|
1587
|
-
//
|
|
1587
|
+
// node_modules/viem/_esm/utils/encoding/toHex.js
|
|
1588
1588
|
function toHex(value, opts = {}) {
|
|
1589
1589
|
if (typeof value === "number" || typeof value === "bigint")
|
|
1590
1590
|
return numberToHex(value, opts);
|
|
@@ -1649,7 +1649,7 @@ function stringToHex(value_, opts = {}) {
|
|
|
1649
1649
|
}
|
|
1650
1650
|
var hexes, encoder;
|
|
1651
1651
|
var init_toHex = __esm({
|
|
1652
|
-
"
|
|
1652
|
+
"node_modules/viem/_esm/utils/encoding/toHex.js"() {
|
|
1653
1653
|
init_encoding();
|
|
1654
1654
|
init_pad();
|
|
1655
1655
|
init_fromHex();
|
|
@@ -1658,7 +1658,7 @@ var init_toHex = __esm({
|
|
|
1658
1658
|
}
|
|
1659
1659
|
});
|
|
1660
1660
|
|
|
1661
|
-
//
|
|
1661
|
+
// node_modules/viem/_esm/utils/encoding/toBytes.js
|
|
1662
1662
|
function toBytes(value, opts = {}) {
|
|
1663
1663
|
if (typeof value === "number" || typeof value === "bigint")
|
|
1664
1664
|
return numberToBytes(value, opts);
|
|
@@ -1721,7 +1721,7 @@ function stringToBytes(value, opts = {}) {
|
|
|
1721
1721
|
}
|
|
1722
1722
|
var encoder2, charCodeMap;
|
|
1723
1723
|
var init_toBytes = __esm({
|
|
1724
|
-
"
|
|
1724
|
+
"node_modules/viem/_esm/utils/encoding/toBytes.js"() {
|
|
1725
1725
|
init_base();
|
|
1726
1726
|
init_isHex();
|
|
1727
1727
|
init_pad();
|
|
@@ -1739,7 +1739,7 @@ var init_toBytes = __esm({
|
|
|
1739
1739
|
}
|
|
1740
1740
|
});
|
|
1741
1741
|
|
|
1742
|
-
//
|
|
1742
|
+
// node_modules/@noble/hashes/esm/_u64.js
|
|
1743
1743
|
function fromBig(n, le = false) {
|
|
1744
1744
|
if (le)
|
|
1745
1745
|
return { h: Number(n & U32_MASK64), l: Number(n >> _32n & U32_MASK64) };
|
|
@@ -1757,7 +1757,7 @@ function split(lst, le = false) {
|
|
|
1757
1757
|
}
|
|
1758
1758
|
var U32_MASK64, _32n, rotlSH, rotlSL, rotlBH, rotlBL;
|
|
1759
1759
|
var init_u64 = __esm({
|
|
1760
|
-
"
|
|
1760
|
+
"node_modules/@noble/hashes/esm/_u64.js"() {
|
|
1761
1761
|
U32_MASK64 = /* @__PURE__ */ BigInt(2 ** 32 - 1);
|
|
1762
1762
|
_32n = /* @__PURE__ */ BigInt(32);
|
|
1763
1763
|
rotlSH = (h, l, s) => h << s | l >>> 32 - s;
|
|
@@ -1767,16 +1767,16 @@ var init_u64 = __esm({
|
|
|
1767
1767
|
}
|
|
1768
1768
|
});
|
|
1769
1769
|
|
|
1770
|
-
//
|
|
1770
|
+
// node_modules/@noble/hashes/esm/cryptoNode.js
|
|
1771
1771
|
var nc, crypto2;
|
|
1772
1772
|
var init_cryptoNode = __esm({
|
|
1773
|
-
"
|
|
1773
|
+
"node_modules/@noble/hashes/esm/cryptoNode.js"() {
|
|
1774
1774
|
nc = __toESM(require("node:crypto"), 1);
|
|
1775
1775
|
crypto2 = nc && typeof nc === "object" && "webcrypto" in nc ? nc.webcrypto : nc && typeof nc === "object" && "randomBytes" in nc ? nc : void 0;
|
|
1776
1776
|
}
|
|
1777
1777
|
});
|
|
1778
1778
|
|
|
1779
|
-
//
|
|
1779
|
+
// node_modules/@noble/hashes/esm/utils.js
|
|
1780
1780
|
function isBytes(a) {
|
|
1781
1781
|
return a instanceof Uint8Array || ArrayBuffer.isView(a) && a.constructor.name === "Uint8Array";
|
|
1782
1782
|
}
|
|
@@ -1877,7 +1877,7 @@ function randomBytes(bytesLength = 32) {
|
|
|
1877
1877
|
}
|
|
1878
1878
|
var isLE, swap32IfBE, Hash;
|
|
1879
1879
|
var init_utils2 = __esm({
|
|
1880
|
-
"
|
|
1880
|
+
"node_modules/@noble/hashes/esm/utils.js"() {
|
|
1881
1881
|
init_cryptoNode();
|
|
1882
1882
|
isLE = /* @__PURE__ */ (() => new Uint8Array(new Uint32Array([287454020]).buffer)[0] === 68)();
|
|
1883
1883
|
swap32IfBE = isLE ? (u) => u : byteSwap32;
|
|
@@ -1886,7 +1886,7 @@ var init_utils2 = __esm({
|
|
|
1886
1886
|
}
|
|
1887
1887
|
});
|
|
1888
1888
|
|
|
1889
|
-
//
|
|
1889
|
+
// node_modules/@noble/hashes/esm/sha3.js
|
|
1890
1890
|
function keccakP(s, rounds = 24) {
|
|
1891
1891
|
const B = new Uint32Array(5 * 2);
|
|
1892
1892
|
for (let round = 24 - rounds; round < 24; round++) {
|
|
@@ -1929,7 +1929,7 @@ function keccakP(s, rounds = 24) {
|
|
|
1929
1929
|
}
|
|
1930
1930
|
var _0n, _1n, _2n, _7n, _256n, _0x71n, SHA3_PI, SHA3_ROTL, _SHA3_IOTA, IOTAS, SHA3_IOTA_H, SHA3_IOTA_L, rotlH, rotlL, Keccak, gen, keccak_256;
|
|
1931
1931
|
var init_sha3 = __esm({
|
|
1932
|
-
"
|
|
1932
|
+
"node_modules/@noble/hashes/esm/sha3.js"() {
|
|
1933
1933
|
init_u64();
|
|
1934
1934
|
init_utils2();
|
|
1935
1935
|
_0n = BigInt(0);
|
|
@@ -2074,7 +2074,7 @@ var init_sha3 = __esm({
|
|
|
2074
2074
|
}
|
|
2075
2075
|
});
|
|
2076
2076
|
|
|
2077
|
-
//
|
|
2077
|
+
// node_modules/viem/_esm/utils/hash/keccak256.js
|
|
2078
2078
|
function keccak256(value, to_) {
|
|
2079
2079
|
const to = to_ || "hex";
|
|
2080
2080
|
const bytes = keccak_256(isHex(value, { strict: false }) ? toBytes(value) : value);
|
|
@@ -2083,7 +2083,7 @@ function keccak256(value, to_) {
|
|
|
2083
2083
|
return toHex(bytes);
|
|
2084
2084
|
}
|
|
2085
2085
|
var init_keccak256 = __esm({
|
|
2086
|
-
"
|
|
2086
|
+
"node_modules/viem/_esm/utils/hash/keccak256.js"() {
|
|
2087
2087
|
init_sha3();
|
|
2088
2088
|
init_isHex();
|
|
2089
2089
|
init_toBytes();
|
|
@@ -2091,20 +2091,20 @@ var init_keccak256 = __esm({
|
|
|
2091
2091
|
}
|
|
2092
2092
|
});
|
|
2093
2093
|
|
|
2094
|
-
//
|
|
2094
|
+
// node_modules/viem/_esm/utils/hash/hashSignature.js
|
|
2095
2095
|
function hashSignature(sig) {
|
|
2096
2096
|
return hash(sig);
|
|
2097
2097
|
}
|
|
2098
2098
|
var hash;
|
|
2099
2099
|
var init_hashSignature = __esm({
|
|
2100
|
-
"
|
|
2100
|
+
"node_modules/viem/_esm/utils/hash/hashSignature.js"() {
|
|
2101
2101
|
init_toBytes();
|
|
2102
2102
|
init_keccak256();
|
|
2103
2103
|
hash = (value) => keccak256(toBytes(value));
|
|
2104
2104
|
}
|
|
2105
2105
|
});
|
|
2106
2106
|
|
|
2107
|
-
//
|
|
2107
|
+
// node_modules/viem/_esm/utils/hash/normalizeSignature.js
|
|
2108
2108
|
function normalizeSignature(signature) {
|
|
2109
2109
|
let active = true;
|
|
2110
2110
|
let current = "";
|
|
@@ -2148,15 +2148,15 @@ function normalizeSignature(signature) {
|
|
|
2148
2148
|
return result;
|
|
2149
2149
|
}
|
|
2150
2150
|
var init_normalizeSignature = __esm({
|
|
2151
|
-
"
|
|
2151
|
+
"node_modules/viem/_esm/utils/hash/normalizeSignature.js"() {
|
|
2152
2152
|
init_base();
|
|
2153
2153
|
}
|
|
2154
2154
|
});
|
|
2155
2155
|
|
|
2156
|
-
//
|
|
2156
|
+
// node_modules/viem/_esm/utils/hash/toSignature.js
|
|
2157
2157
|
var toSignature;
|
|
2158
2158
|
var init_toSignature = __esm({
|
|
2159
|
-
"
|
|
2159
|
+
"node_modules/viem/_esm/utils/hash/toSignature.js"() {
|
|
2160
2160
|
init_exports();
|
|
2161
2161
|
init_normalizeSignature();
|
|
2162
2162
|
toSignature = (def) => {
|
|
@@ -2170,30 +2170,30 @@ var init_toSignature = __esm({
|
|
|
2170
2170
|
}
|
|
2171
2171
|
});
|
|
2172
2172
|
|
|
2173
|
-
//
|
|
2173
|
+
// node_modules/viem/_esm/utils/hash/toSignatureHash.js
|
|
2174
2174
|
function toSignatureHash(fn) {
|
|
2175
2175
|
return hashSignature(toSignature(fn));
|
|
2176
2176
|
}
|
|
2177
2177
|
var init_toSignatureHash = __esm({
|
|
2178
|
-
"
|
|
2178
|
+
"node_modules/viem/_esm/utils/hash/toSignatureHash.js"() {
|
|
2179
2179
|
init_hashSignature();
|
|
2180
2180
|
init_toSignature();
|
|
2181
2181
|
}
|
|
2182
2182
|
});
|
|
2183
2183
|
|
|
2184
|
-
//
|
|
2184
|
+
// node_modules/viem/_esm/utils/hash/toEventSelector.js
|
|
2185
2185
|
var toEventSelector;
|
|
2186
2186
|
var init_toEventSelector = __esm({
|
|
2187
|
-
"
|
|
2187
|
+
"node_modules/viem/_esm/utils/hash/toEventSelector.js"() {
|
|
2188
2188
|
init_toSignatureHash();
|
|
2189
2189
|
toEventSelector = toSignatureHash;
|
|
2190
2190
|
}
|
|
2191
2191
|
});
|
|
2192
2192
|
|
|
2193
|
-
//
|
|
2193
|
+
// node_modules/viem/_esm/errors/address.js
|
|
2194
2194
|
var InvalidAddressError;
|
|
2195
2195
|
var init_address = __esm({
|
|
2196
|
-
"
|
|
2196
|
+
"node_modules/viem/_esm/errors/address.js"() {
|
|
2197
2197
|
init_base();
|
|
2198
2198
|
InvalidAddressError = class extends BaseError2 {
|
|
2199
2199
|
constructor({ address }) {
|
|
@@ -2209,10 +2209,10 @@ var init_address = __esm({
|
|
|
2209
2209
|
}
|
|
2210
2210
|
});
|
|
2211
2211
|
|
|
2212
|
-
//
|
|
2212
|
+
// node_modules/viem/_esm/utils/lru.js
|
|
2213
2213
|
var LruMap;
|
|
2214
2214
|
var init_lru = __esm({
|
|
2215
|
-
"
|
|
2215
|
+
"node_modules/viem/_esm/utils/lru.js"() {
|
|
2216
2216
|
LruMap = class extends Map {
|
|
2217
2217
|
constructor(size5) {
|
|
2218
2218
|
super();
|
|
@@ -2247,7 +2247,7 @@ var init_lru = __esm({
|
|
|
2247
2247
|
}
|
|
2248
2248
|
});
|
|
2249
2249
|
|
|
2250
|
-
//
|
|
2250
|
+
// node_modules/viem/_esm/utils/address/getAddress.js
|
|
2251
2251
|
function checksumAddress(address_, chainId) {
|
|
2252
2252
|
if (checksumAddressCache.has(`${address_}.${chainId}`))
|
|
2253
2253
|
return checksumAddressCache.get(`${address_}.${chainId}`);
|
|
@@ -2273,7 +2273,7 @@ function getAddress(address, chainId) {
|
|
|
2273
2273
|
}
|
|
2274
2274
|
var checksumAddressCache;
|
|
2275
2275
|
var init_getAddress = __esm({
|
|
2276
|
-
"
|
|
2276
|
+
"node_modules/viem/_esm/utils/address/getAddress.js"() {
|
|
2277
2277
|
init_address();
|
|
2278
2278
|
init_toBytes();
|
|
2279
2279
|
init_keccak256();
|
|
@@ -2283,7 +2283,7 @@ var init_getAddress = __esm({
|
|
|
2283
2283
|
}
|
|
2284
2284
|
});
|
|
2285
2285
|
|
|
2286
|
-
//
|
|
2286
|
+
// node_modules/viem/_esm/utils/address/isAddress.js
|
|
2287
2287
|
function isAddress(address, options) {
|
|
2288
2288
|
const { strict = true } = options ?? {};
|
|
2289
2289
|
const cacheKey2 = `${address}.${strict}`;
|
|
@@ -2303,7 +2303,7 @@ function isAddress(address, options) {
|
|
|
2303
2303
|
}
|
|
2304
2304
|
var addressRegex, isAddressCache;
|
|
2305
2305
|
var init_isAddress = __esm({
|
|
2306
|
-
"
|
|
2306
|
+
"node_modules/viem/_esm/utils/address/isAddress.js"() {
|
|
2307
2307
|
init_lru();
|
|
2308
2308
|
init_getAddress();
|
|
2309
2309
|
addressRegex = /^0x[a-fA-F0-9]{40}$/;
|
|
@@ -2311,7 +2311,7 @@ var init_isAddress = __esm({
|
|
|
2311
2311
|
}
|
|
2312
2312
|
});
|
|
2313
2313
|
|
|
2314
|
-
//
|
|
2314
|
+
// node_modules/viem/_esm/utils/data/concat.js
|
|
2315
2315
|
function concat(values) {
|
|
2316
2316
|
if (typeof values[0] === "string")
|
|
2317
2317
|
return concatHex(values);
|
|
@@ -2334,11 +2334,11 @@ function concatHex(values) {
|
|
|
2334
2334
|
return `0x${values.reduce((acc, x) => acc + x.replace("0x", ""), "")}`;
|
|
2335
2335
|
}
|
|
2336
2336
|
var init_concat = __esm({
|
|
2337
|
-
"
|
|
2337
|
+
"node_modules/viem/_esm/utils/data/concat.js"() {
|
|
2338
2338
|
}
|
|
2339
2339
|
});
|
|
2340
2340
|
|
|
2341
|
-
//
|
|
2341
|
+
// node_modules/viem/_esm/utils/data/slice.js
|
|
2342
2342
|
function slice(value, start, end, { strict } = {}) {
|
|
2343
2343
|
if (isHex(value, { strict: false }))
|
|
2344
2344
|
return sliceHex(value, start, end, {
|
|
@@ -2380,23 +2380,23 @@ function sliceHex(value_, start, end, { strict } = {}) {
|
|
|
2380
2380
|
return value;
|
|
2381
2381
|
}
|
|
2382
2382
|
var init_slice = __esm({
|
|
2383
|
-
"
|
|
2383
|
+
"node_modules/viem/_esm/utils/data/slice.js"() {
|
|
2384
2384
|
init_data();
|
|
2385
2385
|
init_isHex();
|
|
2386
2386
|
init_size();
|
|
2387
2387
|
}
|
|
2388
2388
|
});
|
|
2389
2389
|
|
|
2390
|
-
//
|
|
2390
|
+
// node_modules/viem/_esm/utils/regex.js
|
|
2391
2391
|
var bytesRegex2, integerRegex2;
|
|
2392
2392
|
var init_regex2 = __esm({
|
|
2393
|
-
"
|
|
2393
|
+
"node_modules/viem/_esm/utils/regex.js"() {
|
|
2394
2394
|
bytesRegex2 = /^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/;
|
|
2395
2395
|
integerRegex2 = /^(u?int)(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/;
|
|
2396
2396
|
}
|
|
2397
2397
|
});
|
|
2398
2398
|
|
|
2399
|
-
//
|
|
2399
|
+
// node_modules/viem/_esm/utils/abi/encodeAbiParameters.js
|
|
2400
2400
|
function encodeAbiParameters(params, values) {
|
|
2401
2401
|
if (params.length !== values.length)
|
|
2402
2402
|
throw new AbiEncodingLengthMismatchError({
|
|
@@ -2625,7 +2625,7 @@ function isDynamicType(param) {
|
|
|
2625
2625
|
return false;
|
|
2626
2626
|
}
|
|
2627
2627
|
var init_encodeAbiParameters = __esm({
|
|
2628
|
-
"
|
|
2628
|
+
"node_modules/viem/_esm/utils/abi/encodeAbiParameters.js"() {
|
|
2629
2629
|
init_abi();
|
|
2630
2630
|
init_address();
|
|
2631
2631
|
init_base();
|
|
@@ -2640,17 +2640,17 @@ var init_encodeAbiParameters = __esm({
|
|
|
2640
2640
|
}
|
|
2641
2641
|
});
|
|
2642
2642
|
|
|
2643
|
-
//
|
|
2643
|
+
// node_modules/viem/_esm/utils/hash/toFunctionSelector.js
|
|
2644
2644
|
var toFunctionSelector;
|
|
2645
2645
|
var init_toFunctionSelector = __esm({
|
|
2646
|
-
"
|
|
2646
|
+
"node_modules/viem/_esm/utils/hash/toFunctionSelector.js"() {
|
|
2647
2647
|
init_slice();
|
|
2648
2648
|
init_toSignatureHash();
|
|
2649
2649
|
toFunctionSelector = (fn) => slice(toSignatureHash(fn), 0, 4);
|
|
2650
2650
|
}
|
|
2651
2651
|
});
|
|
2652
2652
|
|
|
2653
|
-
//
|
|
2653
|
+
// node_modules/viem/_esm/utils/abi/getAbiItem.js
|
|
2654
2654
|
function getAbiItem(parameters) {
|
|
2655
2655
|
const { abi: abi2, args = [], name } = parameters;
|
|
2656
2656
|
const isSelector = isHex(name, { strict: false });
|
|
@@ -2762,7 +2762,7 @@ function getAmbiguousTypes(sourceParameters, targetParameters, args) {
|
|
|
2762
2762
|
return;
|
|
2763
2763
|
}
|
|
2764
2764
|
var init_getAbiItem = __esm({
|
|
2765
|
-
"
|
|
2765
|
+
"node_modules/viem/_esm/utils/abi/getAbiItem.js"() {
|
|
2766
2766
|
init_abi();
|
|
2767
2767
|
init_isHex();
|
|
2768
2768
|
init_isAddress();
|
|
@@ -2771,18 +2771,18 @@ var init_getAbiItem = __esm({
|
|
|
2771
2771
|
}
|
|
2772
2772
|
});
|
|
2773
2773
|
|
|
2774
|
-
//
|
|
2774
|
+
// node_modules/viem/_esm/accounts/utils/parseAccount.js
|
|
2775
2775
|
function parseAccount(account) {
|
|
2776
2776
|
if (typeof account === "string")
|
|
2777
2777
|
return { address: account, type: "json-rpc" };
|
|
2778
2778
|
return account;
|
|
2779
2779
|
}
|
|
2780
2780
|
var init_parseAccount = __esm({
|
|
2781
|
-
"
|
|
2781
|
+
"node_modules/viem/_esm/accounts/utils/parseAccount.js"() {
|
|
2782
2782
|
}
|
|
2783
2783
|
});
|
|
2784
2784
|
|
|
2785
|
-
//
|
|
2785
|
+
// node_modules/viem/_esm/utils/abi/prepareEncodeFunctionData.js
|
|
2786
2786
|
function prepareEncodeFunctionData(parameters) {
|
|
2787
2787
|
const { abi: abi2, args, functionName } = parameters;
|
|
2788
2788
|
let abiItem = abi2[0];
|
|
@@ -2805,7 +2805,7 @@ function prepareEncodeFunctionData(parameters) {
|
|
|
2805
2805
|
}
|
|
2806
2806
|
var docsPath2;
|
|
2807
2807
|
var init_prepareEncodeFunctionData = __esm({
|
|
2808
|
-
"
|
|
2808
|
+
"node_modules/viem/_esm/utils/abi/prepareEncodeFunctionData.js"() {
|
|
2809
2809
|
init_abi();
|
|
2810
2810
|
init_toFunctionSelector();
|
|
2811
2811
|
init_formatAbiItem2();
|
|
@@ -2814,7 +2814,7 @@ var init_prepareEncodeFunctionData = __esm({
|
|
|
2814
2814
|
}
|
|
2815
2815
|
});
|
|
2816
2816
|
|
|
2817
|
-
//
|
|
2817
|
+
// node_modules/viem/_esm/utils/abi/encodeFunctionData.js
|
|
2818
2818
|
function encodeFunctionData(parameters) {
|
|
2819
2819
|
const { args } = parameters;
|
|
2820
2820
|
const { abi: abi2, functionName } = (() => {
|
|
@@ -2828,17 +2828,17 @@ function encodeFunctionData(parameters) {
|
|
|
2828
2828
|
return concatHex([signature, data ?? "0x"]);
|
|
2829
2829
|
}
|
|
2830
2830
|
var init_encodeFunctionData = __esm({
|
|
2831
|
-
"
|
|
2831
|
+
"node_modules/viem/_esm/utils/abi/encodeFunctionData.js"() {
|
|
2832
2832
|
init_concat();
|
|
2833
2833
|
init_encodeAbiParameters();
|
|
2834
2834
|
init_prepareEncodeFunctionData();
|
|
2835
2835
|
}
|
|
2836
2836
|
});
|
|
2837
2837
|
|
|
2838
|
-
//
|
|
2838
|
+
// node_modules/viem/_esm/constants/solidity.js
|
|
2839
2839
|
var panicReasons, solidityError, solidityPanic;
|
|
2840
2840
|
var init_solidity = __esm({
|
|
2841
|
-
"
|
|
2841
|
+
"node_modules/viem/_esm/constants/solidity.js"() {
|
|
2842
2842
|
panicReasons = {
|
|
2843
2843
|
1: "An `assert` condition failed.",
|
|
2844
2844
|
17: "Arithmetic operation resulted in underflow or overflow.",
|
|
@@ -2873,10 +2873,10 @@ var init_solidity = __esm({
|
|
|
2873
2873
|
}
|
|
2874
2874
|
});
|
|
2875
2875
|
|
|
2876
|
-
//
|
|
2876
|
+
// node_modules/viem/_esm/errors/cursor.js
|
|
2877
2877
|
var NegativeOffsetError, PositionOutOfBoundsError, RecursiveReadLimitExceededError;
|
|
2878
2878
|
var init_cursor = __esm({
|
|
2879
|
-
"
|
|
2879
|
+
"node_modules/viem/_esm/errors/cursor.js"() {
|
|
2880
2880
|
init_base();
|
|
2881
2881
|
NegativeOffsetError = class extends BaseError2 {
|
|
2882
2882
|
constructor({ offset }) {
|
|
@@ -2898,7 +2898,7 @@ var init_cursor = __esm({
|
|
|
2898
2898
|
}
|
|
2899
2899
|
});
|
|
2900
2900
|
|
|
2901
|
-
//
|
|
2901
|
+
// node_modules/viem/_esm/utils/cursor.js
|
|
2902
2902
|
function createCursor(bytes, { recursiveReadLimit = 8192 } = {}) {
|
|
2903
2903
|
const cursor = Object.create(staticCursor);
|
|
2904
2904
|
cursor.bytes = bytes;
|
|
@@ -2909,7 +2909,7 @@ function createCursor(bytes, { recursiveReadLimit = 8192 } = {}) {
|
|
|
2909
2909
|
}
|
|
2910
2910
|
var staticCursor;
|
|
2911
2911
|
var init_cursor2 = __esm({
|
|
2912
|
-
"
|
|
2912
|
+
"node_modules/viem/_esm/utils/cursor.js"() {
|
|
2913
2913
|
init_cursor();
|
|
2914
2914
|
staticCursor = {
|
|
2915
2915
|
bytes: new Uint8Array(),
|
|
@@ -3073,7 +3073,7 @@ var init_cursor2 = __esm({
|
|
|
3073
3073
|
}
|
|
3074
3074
|
});
|
|
3075
3075
|
|
|
3076
|
-
//
|
|
3076
|
+
// node_modules/viem/_esm/utils/encoding/fromBytes.js
|
|
3077
3077
|
function bytesToBigInt(bytes, opts = {}) {
|
|
3078
3078
|
if (typeof opts.size !== "undefined")
|
|
3079
3079
|
assertSize(bytes, { size: opts.size });
|
|
@@ -3105,7 +3105,7 @@ function bytesToString(bytes_, opts = {}) {
|
|
|
3105
3105
|
return new TextDecoder().decode(bytes);
|
|
3106
3106
|
}
|
|
3107
3107
|
var init_fromBytes = __esm({
|
|
3108
|
-
"
|
|
3108
|
+
"node_modules/viem/_esm/utils/encoding/fromBytes.js"() {
|
|
3109
3109
|
init_encoding();
|
|
3110
3110
|
init_trim();
|
|
3111
3111
|
init_fromHex();
|
|
@@ -3113,7 +3113,7 @@ var init_fromBytes = __esm({
|
|
|
3113
3113
|
}
|
|
3114
3114
|
});
|
|
3115
3115
|
|
|
3116
|
-
//
|
|
3116
|
+
// node_modules/viem/_esm/utils/abi/decodeAbiParameters.js
|
|
3117
3117
|
function decodeAbiParameters(params, data) {
|
|
3118
3118
|
const bytes = typeof data === "string" ? hexToBytes(data) : data;
|
|
3119
3119
|
const cursor = createCursor(bytes);
|
|
@@ -3308,7 +3308,7 @@ function hasDynamicChild(param) {
|
|
|
3308
3308
|
}
|
|
3309
3309
|
var sizeOfLength, sizeOfOffset;
|
|
3310
3310
|
var init_decodeAbiParameters = __esm({
|
|
3311
|
-
"
|
|
3311
|
+
"node_modules/viem/_esm/utils/abi/decodeAbiParameters.js"() {
|
|
3312
3312
|
init_abi();
|
|
3313
3313
|
init_getAddress();
|
|
3314
3314
|
init_cursor2();
|
|
@@ -3323,7 +3323,7 @@ var init_decodeAbiParameters = __esm({
|
|
|
3323
3323
|
}
|
|
3324
3324
|
});
|
|
3325
3325
|
|
|
3326
|
-
//
|
|
3326
|
+
// node_modules/viem/_esm/utils/abi/decodeErrorResult.js
|
|
3327
3327
|
function decodeErrorResult(parameters) {
|
|
3328
3328
|
const { abi: abi2, data, cause } = parameters;
|
|
3329
3329
|
const signature = slice(data, 0, 4);
|
|
@@ -3343,7 +3343,7 @@ function decodeErrorResult(parameters) {
|
|
|
3343
3343
|
};
|
|
3344
3344
|
}
|
|
3345
3345
|
var init_decodeErrorResult = __esm({
|
|
3346
|
-
"
|
|
3346
|
+
"node_modules/viem/_esm/utils/abi/decodeErrorResult.js"() {
|
|
3347
3347
|
init_solidity();
|
|
3348
3348
|
init_abi();
|
|
3349
3349
|
init_slice();
|
|
@@ -3353,10 +3353,10 @@ var init_decodeErrorResult = __esm({
|
|
|
3353
3353
|
}
|
|
3354
3354
|
});
|
|
3355
3355
|
|
|
3356
|
-
//
|
|
3356
|
+
// node_modules/viem/_esm/utils/stringify.js
|
|
3357
3357
|
var stringify;
|
|
3358
3358
|
var init_stringify = __esm({
|
|
3359
|
-
"
|
|
3359
|
+
"node_modules/viem/_esm/utils/stringify.js"() {
|
|
3360
3360
|
stringify = (value, replacer, space) => JSON.stringify(value, (key, value_) => {
|
|
3361
3361
|
const value2 = typeof value_ === "bigint" ? value_.toString() : value_;
|
|
3362
3362
|
return typeof replacer === "function" ? replacer(key, value2) : value2;
|
|
@@ -3364,7 +3364,7 @@ var init_stringify = __esm({
|
|
|
3364
3364
|
}
|
|
3365
3365
|
});
|
|
3366
3366
|
|
|
3367
|
-
//
|
|
3367
|
+
// node_modules/viem/_esm/utils/abi/formatAbiItemWithArgs.js
|
|
3368
3368
|
function formatAbiItemWithArgs({ abiItem, args, includeFunctionName = true, includeName = false }) {
|
|
3369
3369
|
if (!("name" in abiItem))
|
|
3370
3370
|
return;
|
|
@@ -3375,12 +3375,12 @@ function formatAbiItemWithArgs({ abiItem, args, includeFunctionName = true, incl
|
|
|
3375
3375
|
return `${includeFunctionName ? abiItem.name : ""}(${abiItem.inputs.map((input, i) => `${includeName && input.name ? `${input.name}: ` : ""}${typeof args[i] === "object" ? stringify(args[i]) : args[i]}`).join(", ")})`;
|
|
3376
3376
|
}
|
|
3377
3377
|
var init_formatAbiItemWithArgs = __esm({
|
|
3378
|
-
"
|
|
3378
|
+
"node_modules/viem/_esm/utils/abi/formatAbiItemWithArgs.js"() {
|
|
3379
3379
|
init_stringify();
|
|
3380
3380
|
}
|
|
3381
3381
|
});
|
|
3382
3382
|
|
|
3383
|
-
//
|
|
3383
|
+
// node_modules/viem/_esm/utils/unit/Value.js
|
|
3384
3384
|
function format(value, decimals = 0) {
|
|
3385
3385
|
if (!Number.isInteger(decimals) || decimals < 0)
|
|
3386
3386
|
throw new InvalidDecimalsError({ decimals });
|
|
@@ -3453,7 +3453,7 @@ function carry(digits2) {
|
|
|
3453
3453
|
}
|
|
3454
3454
|
var exponents, InvalidDecimalNumberError, InvalidDecimalsError;
|
|
3455
3455
|
var init_Value = __esm({
|
|
3456
|
-
"
|
|
3456
|
+
"node_modules/viem/_esm/utils/unit/Value.js"() {
|
|
3457
3457
|
exponents = {
|
|
3458
3458
|
wei: 0,
|
|
3459
3459
|
gwei: 9,
|
|
@@ -3486,27 +3486,27 @@ var init_Value = __esm({
|
|
|
3486
3486
|
}
|
|
3487
3487
|
});
|
|
3488
3488
|
|
|
3489
|
-
//
|
|
3489
|
+
// node_modules/viem/_esm/utils/unit/formatEther.js
|
|
3490
3490
|
function formatEther2(wei, unit = "wei") {
|
|
3491
3491
|
return formatEther(wei, unit);
|
|
3492
3492
|
}
|
|
3493
3493
|
var init_formatEther = __esm({
|
|
3494
|
-
"
|
|
3494
|
+
"node_modules/viem/_esm/utils/unit/formatEther.js"() {
|
|
3495
3495
|
init_Value();
|
|
3496
3496
|
}
|
|
3497
3497
|
});
|
|
3498
3498
|
|
|
3499
|
-
//
|
|
3499
|
+
// node_modules/viem/_esm/utils/unit/formatGwei.js
|
|
3500
3500
|
function formatGwei2(wei, unit = "wei") {
|
|
3501
3501
|
return formatGwei(wei, unit);
|
|
3502
3502
|
}
|
|
3503
3503
|
var init_formatGwei = __esm({
|
|
3504
|
-
"
|
|
3504
|
+
"node_modules/viem/_esm/utils/unit/formatGwei.js"() {
|
|
3505
3505
|
init_Value();
|
|
3506
3506
|
}
|
|
3507
3507
|
});
|
|
3508
3508
|
|
|
3509
|
-
//
|
|
3509
|
+
// node_modules/viem/_esm/errors/stateOverride.js
|
|
3510
3510
|
function prettyStateMapping(stateMapping) {
|
|
3511
3511
|
return stateMapping.reduce((pretty, { slot, value }) => {
|
|
3512
3512
|
return `${pretty} ${slot}: ${value}
|
|
@@ -3539,7 +3539,7 @@ function prettyStateOverride(stateOverride) {
|
|
|
3539
3539
|
}
|
|
3540
3540
|
var AccountStateConflictError, StateAssignmentConflictError;
|
|
3541
3541
|
var init_stateOverride = __esm({
|
|
3542
|
-
"
|
|
3542
|
+
"node_modules/viem/_esm/errors/stateOverride.js"() {
|
|
3543
3543
|
init_base();
|
|
3544
3544
|
AccountStateConflictError = class extends BaseError2 {
|
|
3545
3545
|
constructor({ address }) {
|
|
@@ -3558,7 +3558,7 @@ var init_stateOverride = __esm({
|
|
|
3558
3558
|
}
|
|
3559
3559
|
});
|
|
3560
3560
|
|
|
3561
|
-
//
|
|
3561
|
+
// node_modules/viem/_esm/errors/transaction.js
|
|
3562
3562
|
function prettyPrint(args) {
|
|
3563
3563
|
const entries = Object.entries(args).map(([key, value]) => {
|
|
3564
3564
|
if (value === void 0 || value === false)
|
|
@@ -3570,7 +3570,7 @@ function prettyPrint(args) {
|
|
|
3570
3570
|
}
|
|
3571
3571
|
var FeePayerNonceMismatchError, InvalidLegacyVError, InvalidSerializableTransactionError, InvalidStorageKeySizeError, TransactionExecutionError, TransactionNotFoundError, TransactionReceiptNotFoundError, TransactionReceiptRevertedError, WaitForTransactionReceiptTimeoutError;
|
|
3572
3572
|
var init_transaction = __esm({
|
|
3573
|
-
"
|
|
3573
|
+
"node_modules/viem/_esm/errors/transaction.js"() {
|
|
3574
3574
|
init_formatEther();
|
|
3575
3575
|
init_formatGwei();
|
|
3576
3576
|
init_base();
|
|
@@ -3703,7 +3703,7 @@ var init_transaction = __esm({
|
|
|
3703
3703
|
}
|
|
3704
3704
|
});
|
|
3705
3705
|
|
|
3706
|
-
//
|
|
3706
|
+
// node_modules/viem/_esm/errors/utils.js
|
|
3707
3707
|
function getAbortError(signal) {
|
|
3708
3708
|
if (signal?.reason)
|
|
3709
3709
|
return signal.reason;
|
|
@@ -3718,7 +3718,7 @@ function isAbortError(error) {
|
|
|
3718
3718
|
}
|
|
3719
3719
|
var getContractAddress, getUrl;
|
|
3720
3720
|
var init_utils3 = __esm({
|
|
3721
|
-
"
|
|
3721
|
+
"node_modules/viem/_esm/errors/utils.js"() {
|
|
3722
3722
|
getContractAddress = (address) => address;
|
|
3723
3723
|
getUrl = (url2) => {
|
|
3724
3724
|
try {
|
|
@@ -3735,10 +3735,10 @@ var init_utils3 = __esm({
|
|
|
3735
3735
|
}
|
|
3736
3736
|
});
|
|
3737
3737
|
|
|
3738
|
-
//
|
|
3738
|
+
// node_modules/viem/_esm/errors/contract.js
|
|
3739
3739
|
var CallExecutionError, ContractFunctionExecutionError, ContractFunctionRevertedError, ContractFunctionZeroDataError, CounterfactualDeploymentFailedError, RawContractError;
|
|
3740
3740
|
var init_contract = __esm({
|
|
3741
|
-
"
|
|
3741
|
+
"node_modules/viem/_esm/errors/contract.js"() {
|
|
3742
3742
|
init_parseAccount();
|
|
3743
3743
|
init_solidity();
|
|
3744
3744
|
init_decodeErrorResult();
|
|
@@ -3992,10 +3992,10 @@ ${prettyStateOverride(stateOverride)}`;
|
|
|
3992
3992
|
}
|
|
3993
3993
|
});
|
|
3994
3994
|
|
|
3995
|
-
//
|
|
3995
|
+
// node_modules/viem/_esm/errors/request.js
|
|
3996
3996
|
var HttpRequestError, ResponseBodyTooLargeError, RpcRequestError, TimeoutError;
|
|
3997
3997
|
var init_request = __esm({
|
|
3998
|
-
"
|
|
3998
|
+
"node_modules/viem/_esm/errors/request.js"() {
|
|
3999
3999
|
init_stringify();
|
|
4000
4000
|
init_base();
|
|
4001
4001
|
init_utils3();
|
|
@@ -4113,10 +4113,10 @@ var init_request = __esm({
|
|
|
4113
4113
|
}
|
|
4114
4114
|
});
|
|
4115
4115
|
|
|
4116
|
-
//
|
|
4116
|
+
// node_modules/viem/_esm/errors/rpc.js
|
|
4117
4117
|
var unknownErrorCode, RpcError, ProviderRpcError, ParseRpcError, InvalidRequestRpcError, MethodNotFoundRpcError, InvalidParamsRpcError, InternalRpcError, InvalidInputRpcError, ResourceNotFoundRpcError, ResourceUnavailableRpcError, TransactionRejectedRpcError, MethodNotSupportedRpcError, LimitExceededRpcError, JsonRpcVersionUnsupportedError, UserRejectedRequestError, UnauthorizedProviderError, UnsupportedProviderMethodError, ProviderDisconnectedError, ChainDisconnectedError, SwitchChainError, UnsupportedNonOptionalCapabilityError, UnsupportedChainIdError, DuplicateIdError, UnknownBundleIdError, BundleTooLargeError, AtomicReadyWalletRejectedUpgradeError, AtomicityNotSupportedError, WalletConnectSessionSettlementError, UnknownRpcError;
|
|
4118
4118
|
var init_rpc = __esm({
|
|
4119
|
-
"
|
|
4119
|
+
"node_modules/viem/_esm/errors/rpc.js"() {
|
|
4120
4120
|
init_base();
|
|
4121
4121
|
init_request();
|
|
4122
4122
|
unknownErrorCode = -1;
|
|
@@ -4563,7 +4563,7 @@ var init_rpc = __esm({
|
|
|
4563
4563
|
}
|
|
4564
4564
|
});
|
|
4565
4565
|
|
|
4566
|
-
//
|
|
4566
|
+
// node_modules/@noble/hashes/esm/_md.js
|
|
4567
4567
|
function setBigUint64(view, byteOffset, value, isLE2) {
|
|
4568
4568
|
if (typeof view.setBigUint64 === "function")
|
|
4569
4569
|
return view.setBigUint64(byteOffset, value, isLE2);
|
|
@@ -4584,7 +4584,7 @@ function Maj(a, b, c) {
|
|
|
4584
4584
|
}
|
|
4585
4585
|
var HashMD, SHA256_IV;
|
|
4586
4586
|
var init_md = __esm({
|
|
4587
|
-
"
|
|
4587
|
+
"node_modules/@noble/hashes/esm/_md.js"() {
|
|
4588
4588
|
init_utils2();
|
|
4589
4589
|
HashMD = class extends Hash {
|
|
4590
4590
|
constructor(blockLen, outputLen, padOffset, isLE2) {
|
|
@@ -4689,10 +4689,10 @@ var init_md = __esm({
|
|
|
4689
4689
|
}
|
|
4690
4690
|
});
|
|
4691
4691
|
|
|
4692
|
-
//
|
|
4692
|
+
// node_modules/@noble/hashes/esm/sha2.js
|
|
4693
4693
|
var SHA256_K, SHA256_W, SHA256, sha256;
|
|
4694
4694
|
var init_sha2 = __esm({
|
|
4695
|
-
"
|
|
4695
|
+
"node_modules/@noble/hashes/esm/sha2.js"() {
|
|
4696
4696
|
init_md();
|
|
4697
4697
|
init_utils2();
|
|
4698
4698
|
SHA256_K = /* @__PURE__ */ Uint32Array.from([
|
|
@@ -4836,10 +4836,10 @@ var init_sha2 = __esm({
|
|
|
4836
4836
|
}
|
|
4837
4837
|
});
|
|
4838
4838
|
|
|
4839
|
-
//
|
|
4839
|
+
// node_modules/@noble/hashes/esm/hmac.js
|
|
4840
4840
|
var HMAC, hmac;
|
|
4841
4841
|
var init_hmac = __esm({
|
|
4842
|
-
"
|
|
4842
|
+
"node_modules/@noble/hashes/esm/hmac.js"() {
|
|
4843
4843
|
init_utils2();
|
|
4844
4844
|
HMAC = class extends Hash {
|
|
4845
4845
|
constructor(hash3, _key) {
|
|
@@ -4910,7 +4910,7 @@ var init_hmac = __esm({
|
|
|
4910
4910
|
}
|
|
4911
4911
|
});
|
|
4912
4912
|
|
|
4913
|
-
//
|
|
4913
|
+
// node_modules/@noble/curves/esm/abstract/utils.js
|
|
4914
4914
|
function isBytes2(a) {
|
|
4915
4915
|
return a instanceof Uint8Array || ArrayBuffer.isView(a) && a.constructor.name === "Uint8Array";
|
|
4916
4916
|
}
|
|
@@ -5114,7 +5114,7 @@ function memoized(fn) {
|
|
|
5114
5114
|
}
|
|
5115
5115
|
var _0n2, _1n2, hasHexBuiltin, hexes2, asciis, isPosBig, bitMask, u8n, u8fr, validatorFns;
|
|
5116
5116
|
var init_utils4 = __esm({
|
|
5117
|
-
"
|
|
5117
|
+
"node_modules/@noble/curves/esm/abstract/utils.js"() {
|
|
5118
5118
|
_0n2 = /* @__PURE__ */ BigInt(0);
|
|
5119
5119
|
_1n2 = /* @__PURE__ */ BigInt(1);
|
|
5120
5120
|
hasHexBuiltin = // @ts-ignore
|
|
@@ -5139,7 +5139,7 @@ var init_utils4 = __esm({
|
|
|
5139
5139
|
}
|
|
5140
5140
|
});
|
|
5141
5141
|
|
|
5142
|
-
//
|
|
5142
|
+
// node_modules/@noble/curves/esm/abstract/modular.js
|
|
5143
5143
|
function mod(a, b) {
|
|
5144
5144
|
const result = a % b;
|
|
5145
5145
|
return result >= _0n3 ? result : b + result;
|
|
@@ -5388,7 +5388,7 @@ function mapHashToField(key, fieldOrder, isLE2 = false) {
|
|
|
5388
5388
|
}
|
|
5389
5389
|
var _0n3, _1n3, _2n2, _3n, _4n, _5n, _8n, FIELD_FIELDS;
|
|
5390
5390
|
var init_modular = __esm({
|
|
5391
|
-
"
|
|
5391
|
+
"node_modules/@noble/curves/esm/abstract/modular.js"() {
|
|
5392
5392
|
init_utils2();
|
|
5393
5393
|
init_utils4();
|
|
5394
5394
|
_0n3 = BigInt(0);
|
|
@@ -5420,7 +5420,7 @@ var init_modular = __esm({
|
|
|
5420
5420
|
}
|
|
5421
5421
|
});
|
|
5422
5422
|
|
|
5423
|
-
//
|
|
5423
|
+
// node_modules/@noble/curves/esm/abstract/curve.js
|
|
5424
5424
|
function constTimeNegate(condition, item) {
|
|
5425
5425
|
const neg = item.negate();
|
|
5426
5426
|
return condition ? neg : item;
|
|
@@ -5651,7 +5651,7 @@ function validateBasic(curve) {
|
|
|
5651
5651
|
}
|
|
5652
5652
|
var _0n4, _1n4, pointPrecomputes, pointWindowSizes;
|
|
5653
5653
|
var init_curve = __esm({
|
|
5654
|
-
"
|
|
5654
|
+
"node_modules/@noble/curves/esm/abstract/curve.js"() {
|
|
5655
5655
|
init_modular();
|
|
5656
5656
|
init_utils4();
|
|
5657
5657
|
_0n4 = BigInt(0);
|
|
@@ -5661,7 +5661,7 @@ var init_curve = __esm({
|
|
|
5661
5661
|
}
|
|
5662
5662
|
});
|
|
5663
5663
|
|
|
5664
|
-
//
|
|
5664
|
+
// node_modules/@noble/curves/esm/abstract/weierstrass.js
|
|
5665
5665
|
function validateSigVerOpts(opts) {
|
|
5666
5666
|
if (opts.lowS !== void 0)
|
|
5667
5667
|
abool("lowS", opts.lowS);
|
|
@@ -6538,7 +6538,7 @@ function mapToCurveSimpleSWU(Fp, opts) {
|
|
|
6538
6538
|
}
|
|
6539
6539
|
var DERErr, DER, _0n5, _1n5, _2n3, _3n2, _4n2;
|
|
6540
6540
|
var init_weierstrass = __esm({
|
|
6541
|
-
"
|
|
6541
|
+
"node_modules/@noble/curves/esm/abstract/weierstrass.js"() {
|
|
6542
6542
|
init_curve();
|
|
6543
6543
|
init_modular();
|
|
6544
6544
|
init_utils4();
|
|
@@ -6655,7 +6655,7 @@ var init_weierstrass = __esm({
|
|
|
6655
6655
|
}
|
|
6656
6656
|
});
|
|
6657
6657
|
|
|
6658
|
-
//
|
|
6658
|
+
// node_modules/@noble/curves/esm/_shortw_utils.js
|
|
6659
6659
|
function getHash(hash3) {
|
|
6660
6660
|
return {
|
|
6661
6661
|
hash: hash3,
|
|
@@ -6668,14 +6668,14 @@ function createCurve(curveDef, defHash) {
|
|
|
6668
6668
|
return { ...create2(defHash), create: create2 };
|
|
6669
6669
|
}
|
|
6670
6670
|
var init_shortw_utils = __esm({
|
|
6671
|
-
"
|
|
6671
|
+
"node_modules/@noble/curves/esm/_shortw_utils.js"() {
|
|
6672
6672
|
init_hmac();
|
|
6673
6673
|
init_utils2();
|
|
6674
6674
|
init_weierstrass();
|
|
6675
6675
|
}
|
|
6676
6676
|
});
|
|
6677
6677
|
|
|
6678
|
-
//
|
|
6678
|
+
// node_modules/@noble/curves/esm/abstract/hash-to-curve.js
|
|
6679
6679
|
function i2osp(value, length) {
|
|
6680
6680
|
anum(value);
|
|
6681
6681
|
anum(length);
|
|
@@ -6823,14 +6823,14 @@ function createHasher2(Point2, mapToCurve, defaults) {
|
|
|
6823
6823
|
}
|
|
6824
6824
|
var os2ip;
|
|
6825
6825
|
var init_hash_to_curve = __esm({
|
|
6826
|
-
"
|
|
6826
|
+
"node_modules/@noble/curves/esm/abstract/hash-to-curve.js"() {
|
|
6827
6827
|
init_modular();
|
|
6828
6828
|
init_utils4();
|
|
6829
6829
|
os2ip = bytesToNumberBE;
|
|
6830
6830
|
}
|
|
6831
6831
|
});
|
|
6832
6832
|
|
|
6833
|
-
//
|
|
6833
|
+
// node_modules/@noble/curves/esm/secp256k1.js
|
|
6834
6834
|
var secp256k1_exports = {};
|
|
6835
6835
|
__export(secp256k1_exports, {
|
|
6836
6836
|
encodeToCurve: () => encodeToCurve,
|
|
@@ -6934,7 +6934,7 @@ function schnorrVerify(signature, message, publicKey) {
|
|
|
6934
6934
|
}
|
|
6935
6935
|
var secp256k1P, secp256k1N, _0n6, _1n6, _2n4, divNearest, Fpk1, secp256k1, TAGGED_HASH_PREFIXES, pointToBytes, numTo32b, modP, modN, Point, GmulAdd, num, schnorr, isoMap, mapSWU, secp256k1_hasher, hashToCurve, encodeToCurve;
|
|
6936
6936
|
var init_secp256k1 = __esm({
|
|
6937
|
-
"
|
|
6937
|
+
"node_modules/@noble/curves/esm/secp256k1.js"() {
|
|
6938
6938
|
init_sha2();
|
|
6939
6939
|
init_utils2();
|
|
6940
6940
|
init_shortw_utils();
|
|
@@ -7061,10 +7061,10 @@ var init_secp256k1 = __esm({
|
|
|
7061
7061
|
}
|
|
7062
7062
|
});
|
|
7063
7063
|
|
|
7064
|
-
//
|
|
7064
|
+
// node_modules/viem/_esm/errors/node.js
|
|
7065
7065
|
var ExecutionRevertedError, FeeCapTooHighError, FeeCapTooLowError, NonceTooHighError, NonceTooLowError, NonceMaxValueError, InsufficientFundsError, IntrinsicGasTooHighError, IntrinsicGasTooLowError, TransactionTypeNotSupportedError, TipAboveFeeCapError, UnknownNodeError;
|
|
7066
7066
|
var init_node = __esm({
|
|
7067
|
-
"
|
|
7067
|
+
"node_modules/viem/_esm/errors/node.js"() {
|
|
7068
7068
|
init_formatGwei();
|
|
7069
7069
|
init_base();
|
|
7070
7070
|
ExecutionRevertedError = class extends BaseError2 {
|
|
@@ -7247,7 +7247,7 @@ var init_node = __esm({
|
|
|
7247
7247
|
}
|
|
7248
7248
|
});
|
|
7249
7249
|
|
|
7250
|
-
//
|
|
7250
|
+
// node_modules/viem/_esm/utils/errors/getNodeError.js
|
|
7251
7251
|
function getNodeError(err, args) {
|
|
7252
7252
|
const message = (err.details || "").toLowerCase();
|
|
7253
7253
|
const executionRevertedError = err instanceof BaseError2 ? err.walk((e) => e?.code === ExecutionRevertedError.code) : err;
|
|
@@ -7296,13 +7296,13 @@ function getNodeError(err, args) {
|
|
|
7296
7296
|
});
|
|
7297
7297
|
}
|
|
7298
7298
|
var init_getNodeError = __esm({
|
|
7299
|
-
"
|
|
7299
|
+
"node_modules/viem/_esm/utils/errors/getNodeError.js"() {
|
|
7300
7300
|
init_base();
|
|
7301
7301
|
init_node();
|
|
7302
7302
|
}
|
|
7303
7303
|
});
|
|
7304
7304
|
|
|
7305
|
-
//
|
|
7305
|
+
// node_modules/viem/_esm/utils/formatters/extract.js
|
|
7306
7306
|
function extract(value_, { format: format2 }) {
|
|
7307
7307
|
if (!format2)
|
|
7308
7308
|
return {};
|
|
@@ -7321,11 +7321,11 @@ function extract(value_, { format: format2 }) {
|
|
|
7321
7321
|
return value;
|
|
7322
7322
|
}
|
|
7323
7323
|
var init_extract = __esm({
|
|
7324
|
-
"
|
|
7324
|
+
"node_modules/viem/_esm/utils/formatters/extract.js"() {
|
|
7325
7325
|
}
|
|
7326
7326
|
});
|
|
7327
7327
|
|
|
7328
|
-
//
|
|
7328
|
+
// node_modules/viem/_esm/utils/formatters/formatter.js
|
|
7329
7329
|
function defineFormatter(type, format2) {
|
|
7330
7330
|
return ({ exclude, format: overrides }) => {
|
|
7331
7331
|
return {
|
|
@@ -7347,11 +7347,11 @@ function defineFormatter(type, format2) {
|
|
|
7347
7347
|
};
|
|
7348
7348
|
}
|
|
7349
7349
|
var init_formatter = __esm({
|
|
7350
|
-
"
|
|
7350
|
+
"node_modules/viem/_esm/utils/formatters/formatter.js"() {
|
|
7351
7351
|
}
|
|
7352
7352
|
});
|
|
7353
7353
|
|
|
7354
|
-
//
|
|
7354
|
+
// node_modules/viem/_esm/utils/formatters/transactionRequest.js
|
|
7355
7355
|
function formatTransactionRequest(request, _) {
|
|
7356
7356
|
const rpcRequest = {};
|
|
7357
7357
|
if (typeof request.authorizationList !== "undefined")
|
|
@@ -7405,7 +7405,7 @@ function formatAuthorizationList(authorizationList) {
|
|
|
7405
7405
|
}
|
|
7406
7406
|
var rpcTransactionType;
|
|
7407
7407
|
var init_transactionRequest = __esm({
|
|
7408
|
-
"
|
|
7408
|
+
"node_modules/viem/_esm/utils/formatters/transactionRequest.js"() {
|
|
7409
7409
|
init_toHex();
|
|
7410
7410
|
rpcTransactionType = {
|
|
7411
7411
|
legacy: "0x0",
|
|
@@ -7417,7 +7417,7 @@ var init_transactionRequest = __esm({
|
|
|
7417
7417
|
}
|
|
7418
7418
|
});
|
|
7419
7419
|
|
|
7420
|
-
//
|
|
7420
|
+
// node_modules/viem/_esm/utils/stateOverride.js
|
|
7421
7421
|
function serializeStateMapping(stateMapping) {
|
|
7422
7422
|
if (!stateMapping || stateMapping.length === 0)
|
|
7423
7423
|
return void 0;
|
|
@@ -7470,7 +7470,7 @@ function serializeStateOverride(parameters) {
|
|
|
7470
7470
|
return rpcStateOverride;
|
|
7471
7471
|
}
|
|
7472
7472
|
var init_stateOverride2 = __esm({
|
|
7473
|
-
"
|
|
7473
|
+
"node_modules/viem/_esm/utils/stateOverride.js"() {
|
|
7474
7474
|
init_address();
|
|
7475
7475
|
init_data();
|
|
7476
7476
|
init_stateOverride();
|
|
@@ -7479,10 +7479,10 @@ var init_stateOverride2 = __esm({
|
|
|
7479
7479
|
}
|
|
7480
7480
|
});
|
|
7481
7481
|
|
|
7482
|
-
//
|
|
7482
|
+
// node_modules/viem/_esm/constants/number.js
|
|
7483
7483
|
var maxInt8, maxInt16, maxInt24, maxInt32, maxInt40, maxInt48, maxInt56, maxInt64, maxInt72, maxInt80, maxInt88, maxInt96, maxInt104, maxInt112, maxInt120, maxInt128, maxInt136, maxInt144, maxInt152, maxInt160, maxInt168, maxInt176, maxInt184, maxInt192, maxInt200, maxInt208, maxInt216, maxInt224, maxInt232, maxInt240, maxInt248, maxInt256, minInt8, minInt16, minInt24, minInt32, minInt40, minInt48, minInt56, minInt64, minInt72, minInt80, minInt88, minInt96, minInt104, minInt112, minInt120, minInt128, minInt136, minInt144, minInt152, minInt160, minInt168, minInt176, minInt184, minInt192, minInt200, minInt208, minInt216, minInt224, minInt232, minInt240, minInt248, minInt256, maxUint8, maxUint16, maxUint24, maxUint32, maxUint40, maxUint48, maxUint56, maxUint64, maxUint72, maxUint80, maxUint88, maxUint96, maxUint104, maxUint112, maxUint120, maxUint128, maxUint136, maxUint144, maxUint152, maxUint160, maxUint168, maxUint176, maxUint184, maxUint192, maxUint200, maxUint208, maxUint216, maxUint224, maxUint232, maxUint240, maxUint248, maxUint256;
|
|
7484
7484
|
var init_number = __esm({
|
|
7485
|
-
"
|
|
7485
|
+
"node_modules/viem/_esm/constants/number.js"() {
|
|
7486
7486
|
maxInt8 = 2n ** (8n - 1n) - 1n;
|
|
7487
7487
|
maxInt16 = 2n ** (16n - 1n) - 1n;
|
|
7488
7488
|
maxInt24 = 2n ** (24n - 1n) - 1n;
|
|
@@ -7582,7 +7582,7 @@ var init_number = __esm({
|
|
|
7582
7582
|
}
|
|
7583
7583
|
});
|
|
7584
7584
|
|
|
7585
|
-
//
|
|
7585
|
+
// node_modules/viem/_esm/utils/transaction/assertRequest.js
|
|
7586
7586
|
function assertRequest(args) {
|
|
7587
7587
|
const { account: account_, maxFeePerGas, maxPriorityFeePerGas, to } = args;
|
|
7588
7588
|
const account = account_ ? parseAccount(account_) : void 0;
|
|
@@ -7596,7 +7596,7 @@ function assertRequest(args) {
|
|
|
7596
7596
|
throw new TipAboveFeeCapError({ maxFeePerGas, maxPriorityFeePerGas });
|
|
7597
7597
|
}
|
|
7598
7598
|
var init_assertRequest = __esm({
|
|
7599
|
-
"
|
|
7599
|
+
"node_modules/viem/_esm/utils/transaction/assertRequest.js"() {
|
|
7600
7600
|
init_parseAccount();
|
|
7601
7601
|
init_number();
|
|
7602
7602
|
init_address();
|
|
@@ -7605,7 +7605,7 @@ var init_assertRequest = __esm({
|
|
|
7605
7605
|
}
|
|
7606
7606
|
});
|
|
7607
7607
|
|
|
7608
|
-
//
|
|
7608
|
+
// node_modules/viem/_esm/utils/block/formatBlockParameter.js
|
|
7609
7609
|
function formatBlockParameter(parameters) {
|
|
7610
7610
|
const { blockHash, blockNumber, blockTag, requireCanonical } = parameters;
|
|
7611
7611
|
if (requireCanonical !== void 0 && !blockHash)
|
|
@@ -7617,13 +7617,13 @@ function formatBlockParameter(parameters) {
|
|
|
7617
7617
|
return blockTag ?? "latest";
|
|
7618
7618
|
}
|
|
7619
7619
|
var init_formatBlockParameter = __esm({
|
|
7620
|
-
"
|
|
7620
|
+
"node_modules/viem/_esm/utils/block/formatBlockParameter.js"() {
|
|
7621
7621
|
init_base();
|
|
7622
7622
|
init_toHex();
|
|
7623
7623
|
}
|
|
7624
7624
|
});
|
|
7625
7625
|
|
|
7626
|
-
//
|
|
7626
|
+
// node_modules/viem/_esm/utils/address/isAddressEqual.js
|
|
7627
7627
|
function isAddressEqual(a, b) {
|
|
7628
7628
|
if (!isAddress(a, { strict: false }))
|
|
7629
7629
|
throw new InvalidAddressError({ address: a });
|
|
@@ -7632,13 +7632,13 @@ function isAddressEqual(a, b) {
|
|
|
7632
7632
|
return a.toLowerCase() === b.toLowerCase();
|
|
7633
7633
|
}
|
|
7634
7634
|
var init_isAddressEqual = __esm({
|
|
7635
|
-
"
|
|
7635
|
+
"node_modules/viem/_esm/utils/address/isAddressEqual.js"() {
|
|
7636
7636
|
init_address();
|
|
7637
7637
|
init_isAddress();
|
|
7638
7638
|
}
|
|
7639
7639
|
});
|
|
7640
7640
|
|
|
7641
|
-
//
|
|
7641
|
+
// node_modules/viem/_esm/utils/abi/decodeFunctionResult.js
|
|
7642
7642
|
function decodeFunctionResult(parameters) {
|
|
7643
7643
|
const { abi: abi2, args, functionName, data } = parameters;
|
|
7644
7644
|
let abiItem = abi2[0];
|
|
@@ -7661,7 +7661,7 @@ function decodeFunctionResult(parameters) {
|
|
|
7661
7661
|
}
|
|
7662
7662
|
var docsPath4;
|
|
7663
7663
|
var init_decodeFunctionResult = __esm({
|
|
7664
|
-
"
|
|
7664
|
+
"node_modules/viem/_esm/utils/abi/decodeFunctionResult.js"() {
|
|
7665
7665
|
init_abi();
|
|
7666
7666
|
init_decodeAbiParameters();
|
|
7667
7667
|
init_getAbiItem();
|
|
@@ -7669,25 +7669,25 @@ var init_decodeFunctionResult = __esm({
|
|
|
7669
7669
|
}
|
|
7670
7670
|
});
|
|
7671
7671
|
|
|
7672
|
-
//
|
|
7672
|
+
// node_modules/ox/_esm/core/version.js
|
|
7673
7673
|
var version3;
|
|
7674
7674
|
var init_version3 = __esm({
|
|
7675
|
-
"
|
|
7675
|
+
"node_modules/ox/_esm/core/version.js"() {
|
|
7676
7676
|
version3 = "0.1.1";
|
|
7677
7677
|
}
|
|
7678
7678
|
});
|
|
7679
7679
|
|
|
7680
|
-
//
|
|
7680
|
+
// node_modules/ox/_esm/core/internal/errors.js
|
|
7681
7681
|
function getVersion() {
|
|
7682
7682
|
return version3;
|
|
7683
7683
|
}
|
|
7684
7684
|
var init_errors2 = __esm({
|
|
7685
|
-
"
|
|
7685
|
+
"node_modules/ox/_esm/core/internal/errors.js"() {
|
|
7686
7686
|
init_version3();
|
|
7687
7687
|
}
|
|
7688
7688
|
});
|
|
7689
7689
|
|
|
7690
|
-
//
|
|
7690
|
+
// node_modules/ox/_esm/core/Errors.js
|
|
7691
7691
|
function walk2(err, fn) {
|
|
7692
7692
|
if (fn?.(err))
|
|
7693
7693
|
return err;
|
|
@@ -7697,7 +7697,7 @@ function walk2(err, fn) {
|
|
|
7697
7697
|
}
|
|
7698
7698
|
var BaseError3;
|
|
7699
7699
|
var init_Errors = __esm({
|
|
7700
|
-
"
|
|
7700
|
+
"node_modules/ox/_esm/core/Errors.js"() {
|
|
7701
7701
|
init_errors2();
|
|
7702
7702
|
BaseError3 = class _BaseError extends Error {
|
|
7703
7703
|
static setStaticOptions(options) {
|
|
@@ -7822,7 +7822,7 @@ var init_Errors = __esm({
|
|
|
7822
7822
|
}
|
|
7823
7823
|
});
|
|
7824
7824
|
|
|
7825
|
-
//
|
|
7825
|
+
// node_modules/ox/_esm/core/internal/bytes.js
|
|
7826
7826
|
function assertSize2(bytes, size_) {
|
|
7827
7827
|
if (size2(bytes) > size_)
|
|
7828
7828
|
throw new SizeOverflowError2({
|
|
@@ -7888,7 +7888,7 @@ function trim2(value, options = {}) {
|
|
|
7888
7888
|
}
|
|
7889
7889
|
var charCodeMap2;
|
|
7890
7890
|
var init_bytes = __esm({
|
|
7891
|
-
"
|
|
7891
|
+
"node_modules/ox/_esm/core/internal/bytes.js"() {
|
|
7892
7892
|
init_Bytes();
|
|
7893
7893
|
charCodeMap2 = {
|
|
7894
7894
|
zero: 48,
|
|
@@ -7901,7 +7901,7 @@ var init_bytes = __esm({
|
|
|
7901
7901
|
}
|
|
7902
7902
|
});
|
|
7903
7903
|
|
|
7904
|
-
//
|
|
7904
|
+
// node_modules/ox/_esm/core/internal/hex.js
|
|
7905
7905
|
function assertSize3(hex, size_) {
|
|
7906
7906
|
if (size3(hex) > size_)
|
|
7907
7907
|
throw new SizeOverflowError3({
|
|
@@ -7957,12 +7957,12 @@ function trim3(value, options = {}) {
|
|
|
7957
7957
|
return `0x${data}`;
|
|
7958
7958
|
}
|
|
7959
7959
|
var init_hex = __esm({
|
|
7960
|
-
"
|
|
7960
|
+
"node_modules/ox/_esm/core/internal/hex.js"() {
|
|
7961
7961
|
init_Hex();
|
|
7962
7962
|
}
|
|
7963
7963
|
});
|
|
7964
7964
|
|
|
7965
|
-
//
|
|
7965
|
+
// node_modules/ox/_esm/core/Json.js
|
|
7966
7966
|
function stringify2(value, replacer, space) {
|
|
7967
7967
|
return JSON.stringify(value, (key, value2) => {
|
|
7968
7968
|
if (typeof replacer === "function")
|
|
@@ -7974,12 +7974,12 @@ function stringify2(value, replacer, space) {
|
|
|
7974
7974
|
}
|
|
7975
7975
|
var bigIntSuffix;
|
|
7976
7976
|
var init_Json = __esm({
|
|
7977
|
-
"
|
|
7977
|
+
"node_modules/ox/_esm/core/Json.js"() {
|
|
7978
7978
|
bigIntSuffix = "#__bigint";
|
|
7979
7979
|
}
|
|
7980
7980
|
});
|
|
7981
7981
|
|
|
7982
|
-
//
|
|
7982
|
+
// node_modules/ox/_esm/core/Bytes.js
|
|
7983
7983
|
function assert(value) {
|
|
7984
7984
|
if (value instanceof Uint8Array)
|
|
7985
7985
|
return;
|
|
@@ -8097,7 +8097,7 @@ function validate(value) {
|
|
|
8097
8097
|
}
|
|
8098
8098
|
var decoder, encoder3, InvalidBytesBooleanError2, InvalidBytesTypeError, SizeOverflowError2, SliceOffsetOutOfBoundsError2, SizeExceedsPaddingSizeError2;
|
|
8099
8099
|
var init_Bytes = __esm({
|
|
8100
|
-
"
|
|
8100
|
+
"node_modules/ox/_esm/core/Bytes.js"() {
|
|
8101
8101
|
init_Errors();
|
|
8102
8102
|
init_Hex();
|
|
8103
8103
|
init_bytes();
|
|
@@ -8169,7 +8169,7 @@ var init_Bytes = __esm({
|
|
|
8169
8169
|
}
|
|
8170
8170
|
});
|
|
8171
8171
|
|
|
8172
|
-
//
|
|
8172
|
+
// node_modules/ox/_esm/core/Hex.js
|
|
8173
8173
|
function assert2(value, options = {}) {
|
|
8174
8174
|
const { strict = false } = options;
|
|
8175
8175
|
if (!value)
|
|
@@ -8295,7 +8295,7 @@ function validate2(value, options = {}) {
|
|
|
8295
8295
|
}
|
|
8296
8296
|
var encoder4, hexes3, IntegerOutOfRangeError2, InvalidHexTypeError, InvalidHexValueError, SizeOverflowError3, SliceOffsetOutOfBoundsError3, SizeExceedsPaddingSizeError3;
|
|
8297
8297
|
var init_Hex = __esm({
|
|
8298
|
-
"
|
|
8298
|
+
"node_modules/ox/_esm/core/Hex.js"() {
|
|
8299
8299
|
init_Errors();
|
|
8300
8300
|
init_hex();
|
|
8301
8301
|
init_Json();
|
|
@@ -8376,7 +8376,7 @@ var init_Hex = __esm({
|
|
|
8376
8376
|
}
|
|
8377
8377
|
});
|
|
8378
8378
|
|
|
8379
|
-
//
|
|
8379
|
+
// node_modules/ox/_esm/core/Withdrawal.js
|
|
8380
8380
|
function toRpc(withdrawal) {
|
|
8381
8381
|
return {
|
|
8382
8382
|
address: withdrawal.address,
|
|
@@ -8386,12 +8386,12 @@ function toRpc(withdrawal) {
|
|
|
8386
8386
|
};
|
|
8387
8387
|
}
|
|
8388
8388
|
var init_Withdrawal = __esm({
|
|
8389
|
-
"
|
|
8389
|
+
"node_modules/ox/_esm/core/Withdrawal.js"() {
|
|
8390
8390
|
init_Hex();
|
|
8391
8391
|
}
|
|
8392
8392
|
});
|
|
8393
8393
|
|
|
8394
|
-
//
|
|
8394
|
+
// node_modules/ox/_esm/core/BlockOverrides.js
|
|
8395
8395
|
function toRpc2(blockOverrides) {
|
|
8396
8396
|
return {
|
|
8397
8397
|
...typeof blockOverrides.baseFeePerGas === "bigint" && {
|
|
@@ -8421,16 +8421,16 @@ function toRpc2(blockOverrides) {
|
|
|
8421
8421
|
};
|
|
8422
8422
|
}
|
|
8423
8423
|
var init_BlockOverrides = __esm({
|
|
8424
|
-
"
|
|
8424
|
+
"node_modules/ox/_esm/core/BlockOverrides.js"() {
|
|
8425
8425
|
init_Hex();
|
|
8426
8426
|
init_Withdrawal();
|
|
8427
8427
|
}
|
|
8428
8428
|
});
|
|
8429
8429
|
|
|
8430
|
-
//
|
|
8430
|
+
// node_modules/viem/_esm/constants/abis.js
|
|
8431
8431
|
var multicall3Abi, batchGatewayAbi, universalResolverErrors, universalResolverResolveAbi, universalResolverReverseAbi, textResolverAbi, addressResolverAbi, erc1271Abi, erc6492SignatureValidatorAbi, erc20Abi;
|
|
8432
8432
|
var init_abis = __esm({
|
|
8433
|
-
"
|
|
8433
|
+
"node_modules/viem/_esm/constants/abis.js"() {
|
|
8434
8434
|
multicall3Abi = [
|
|
8435
8435
|
{
|
|
8436
8436
|
inputs: [
|
|
@@ -8973,18 +8973,18 @@ var init_abis = __esm({
|
|
|
8973
8973
|
}
|
|
8974
8974
|
});
|
|
8975
8975
|
|
|
8976
|
-
//
|
|
8976
|
+
// node_modules/viem/_esm/constants/contract.js
|
|
8977
8977
|
var aggregate3Signature;
|
|
8978
8978
|
var init_contract2 = __esm({
|
|
8979
|
-
"
|
|
8979
|
+
"node_modules/viem/_esm/constants/contract.js"() {
|
|
8980
8980
|
aggregate3Signature = "0x82ad56cb";
|
|
8981
8981
|
}
|
|
8982
8982
|
});
|
|
8983
8983
|
|
|
8984
|
-
//
|
|
8984
|
+
// node_modules/viem/_esm/constants/contracts.js
|
|
8985
8985
|
var deploylessCallViaBytecodeBytecode, deploylessCallViaFactoryBytecode, erc6492SignatureValidatorByteCode, multicall3Bytecode;
|
|
8986
8986
|
var init_contracts = __esm({
|
|
8987
|
-
"
|
|
8987
|
+
"node_modules/viem/_esm/constants/contracts.js"() {
|
|
8988
8988
|
deploylessCallViaBytecodeBytecode = "0x608060405234801561001057600080fd5b5060405161018e38038061018e83398101604081905261002f91610124565b6000808351602085016000f59050803b61004857600080fd5b6000808351602085016000855af16040513d6000823e81610067573d81fd5b3d81f35b634e487b7160e01b600052604160045260246000fd5b600082601f83011261009257600080fd5b81516001600160401b038111156100ab576100ab61006b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156100d9576100d961006b565b6040528181528382016020018510156100f157600080fd5b60005b82811015610110576020818601810151838301820152016100f4565b506000918101602001919091529392505050565b6000806040838503121561013757600080fd5b82516001600160401b0381111561014d57600080fd5b61015985828601610081565b602085015190935090506001600160401b0381111561017757600080fd5b61018385828601610081565b915050925092905056fe";
|
|
8989
8989
|
deploylessCallViaFactoryBytecode = "0x608060405234801561001057600080fd5b506040516102c03803806102c083398101604081905261002f916101e6565b836001600160a01b03163b6000036100e457600080836001600160a01b03168360405161005c9190610270565b6000604051808303816000865af19150503d8060008114610099576040519150601f19603f3d011682016040523d82523d6000602084013e61009e565b606091505b50915091508115806100b857506001600160a01b0386163b155b156100e1578060405163101bb98d60e01b81526004016100d8919061028c565b60405180910390fd5b50505b6000808451602086016000885af16040513d6000823e81610103573d81fd5b3d81f35b80516001600160a01b038116811461011e57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561015457818101518382015260200161013c565b50506000910152565b600082601f83011261016e57600080fd5b81516001600160401b0381111561018757610187610123565b604051601f8201601f19908116603f011681016001600160401b03811182821017156101b5576101b5610123565b6040528181528382016020018510156101cd57600080fd5b6101de826020830160208701610139565b949350505050565b600080600080608085870312156101fc57600080fd5b61020585610107565b60208601519094506001600160401b0381111561022157600080fd5b61022d8782880161015d565b93505061023c60408601610107565b60608601519092506001600160401b0381111561025857600080fd5b6102648782880161015d565b91505092959194509250565b60008251610282818460208701610139565b9190910192915050565b60208152600082518060208401526102ab816040850160208701610139565b601f01601f1916919091016040019291505056fe";
|
|
8990
8990
|
erc6492SignatureValidatorByteCode = "0x608060405234801561001057600080fd5b5060405161069438038061069483398101604081905261002f9161051e565b600061003c848484610048565b9050806000526001601ff35b60007f64926492649264926492649264926492649264926492649264926492649264926100748361040c565b036101e7576000606080848060200190518101906100929190610577565b60405192955090935091506000906001600160a01b038516906100b69085906105dd565b6000604051808303816000865af19150503d80600081146100f3576040519150601f19603f3d011682016040523d82523d6000602084013e6100f8565b606091505b50509050876001600160a01b03163b60000361016057806101605760405162461bcd60e51b815260206004820152601e60248201527f5369676e617475726556616c696461746f723a206465706c6f796d656e74000060448201526064015b60405180910390fd5b604051630b135d3f60e11b808252906001600160a01b038a1690631626ba7e90610190908b9087906004016105f9565b602060405180830381865afa1580156101ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d19190610633565b6001600160e01b03191614945050505050610405565b6001600160a01b0384163b1561027a57604051630b135d3f60e11b808252906001600160a01b03861690631626ba7e9061022790879087906004016105f9565b602060405180830381865afa158015610244573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102689190610633565b6001600160e01b031916149050610405565b81516041146102df5760405162461bcd60e51b815260206004820152603a602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e6174757265206c656e6774680000000000006064820152608401610157565b6102e7610425565b5060208201516040808401518451859392600091859190811061030c5761030c61065d565b016020015160f81c9050601b811480159061032b57508060ff16601c14155b1561038c5760405162461bcd60e51b815260206004820152603b602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e617475726520762076616c756500000000006064820152608401610157565b60408051600081526020810180835289905260ff83169181019190915260608101849052608081018390526001600160a01b0389169060019060a0016020604051602081039080840390855afa1580156103ea573d6000803e3d6000fd5b505050602060405103516001600160a01b0316149450505050505b9392505050565b600060208251101561041d57600080fd5b508051015190565b60405180606001604052806003906020820280368337509192915050565b6001600160a01b038116811461045857600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561048c578181015183820152602001610474565b50506000910152565b600082601f8301126104a657600080fd5b81516001600160401b038111156104bf576104bf61045b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156104ed576104ed61045b565b60405281815283820160200185101561050557600080fd5b610516826020830160208701610471565b949350505050565b60008060006060848603121561053357600080fd5b835161053e81610443565b6020850151604086015191945092506001600160401b0381111561056157600080fd5b61056d86828701610495565b9150509250925092565b60008060006060848603121561058c57600080fd5b835161059781610443565b60208501519093506001600160401b038111156105b357600080fd5b6105bf86828701610495565b604086015190935090506001600160401b0381111561056157600080fd5b600082516105ef818460208701610471565b9190910192915050565b828152604060208201526000825180604084015261061e816060850160208701610471565b601f01601f1916919091016060019392505050565b60006020828403121561064557600080fd5b81516001600160e01b03198116811461040557600080fd5b634e487b7160e01b600052603260045260246000fdfe5369676e617475726556616c696461746f72237265636f7665725369676e6572";
|
|
@@ -8992,10 +8992,10 @@ var init_contracts = __esm({
|
|
|
8992
8992
|
}
|
|
8993
8993
|
});
|
|
8994
8994
|
|
|
8995
|
-
//
|
|
8995
|
+
// node_modules/viem/_esm/errors/chain.js
|
|
8996
8996
|
var ChainDoesNotSupportContract, ChainMismatchError, ChainNotFoundError, ClientChainNotConfiguredError, InvalidChainIdError;
|
|
8997
8997
|
var init_chain = __esm({
|
|
8998
|
-
"
|
|
8998
|
+
"node_modules/viem/_esm/errors/chain.js"() {
|
|
8999
8999
|
init_base();
|
|
9000
9000
|
ChainDoesNotSupportContract = class extends BaseError2 {
|
|
9001
9001
|
constructor({ blockNumber, chain, contract }) {
|
|
@@ -9048,7 +9048,7 @@ var init_chain = __esm({
|
|
|
9048
9048
|
}
|
|
9049
9049
|
});
|
|
9050
9050
|
|
|
9051
|
-
//
|
|
9051
|
+
// node_modules/viem/_esm/utils/abi/encodeDeployData.js
|
|
9052
9052
|
function encodeDeployData(parameters) {
|
|
9053
9053
|
const { abi: abi2, args, bytecode } = parameters;
|
|
9054
9054
|
if (!args || args.length === 0)
|
|
@@ -9065,7 +9065,7 @@ function encodeDeployData(parameters) {
|
|
|
9065
9065
|
}
|
|
9066
9066
|
var docsPath5;
|
|
9067
9067
|
var init_encodeDeployData = __esm({
|
|
9068
|
-
"
|
|
9068
|
+
"node_modules/viem/_esm/utils/abi/encodeDeployData.js"() {
|
|
9069
9069
|
init_abi();
|
|
9070
9070
|
init_concat();
|
|
9071
9071
|
init_encodeAbiParameters();
|
|
@@ -9073,7 +9073,7 @@ var init_encodeDeployData = __esm({
|
|
|
9073
9073
|
}
|
|
9074
9074
|
});
|
|
9075
9075
|
|
|
9076
|
-
//
|
|
9076
|
+
// node_modules/viem/_esm/utils/chain/getChainContractAddress.js
|
|
9077
9077
|
function getChainContractAddress({ blockNumber, chain, contract: name }) {
|
|
9078
9078
|
const contract = chain?.contracts?.[name];
|
|
9079
9079
|
if (!contract)
|
|
@@ -9093,12 +9093,12 @@ function getChainContractAddress({ blockNumber, chain, contract: name }) {
|
|
|
9093
9093
|
return contract.address;
|
|
9094
9094
|
}
|
|
9095
9095
|
var init_getChainContractAddress = __esm({
|
|
9096
|
-
"
|
|
9096
|
+
"node_modules/viem/_esm/utils/chain/getChainContractAddress.js"() {
|
|
9097
9097
|
init_chain();
|
|
9098
9098
|
}
|
|
9099
9099
|
});
|
|
9100
9100
|
|
|
9101
|
-
//
|
|
9101
|
+
// node_modules/viem/_esm/utils/errors/getCallError.js
|
|
9102
9102
|
function getCallError(err, { docsPath: docsPath8, ...args }) {
|
|
9103
9103
|
const cause = (() => {
|
|
9104
9104
|
const cause2 = getNodeError(err, args);
|
|
@@ -9112,14 +9112,14 @@ function getCallError(err, { docsPath: docsPath8, ...args }) {
|
|
|
9112
9112
|
});
|
|
9113
9113
|
}
|
|
9114
9114
|
var init_getCallError = __esm({
|
|
9115
|
-
"
|
|
9115
|
+
"node_modules/viem/_esm/utils/errors/getCallError.js"() {
|
|
9116
9116
|
init_contract();
|
|
9117
9117
|
init_node();
|
|
9118
9118
|
init_getNodeError();
|
|
9119
9119
|
}
|
|
9120
9120
|
});
|
|
9121
9121
|
|
|
9122
|
-
//
|
|
9122
|
+
// node_modules/viem/_esm/utils/promise/withResolvers.js
|
|
9123
9123
|
function withResolvers() {
|
|
9124
9124
|
let resolve = () => void 0;
|
|
9125
9125
|
let reject = () => void 0;
|
|
@@ -9130,11 +9130,11 @@ function withResolvers() {
|
|
|
9130
9130
|
return { promise, resolve, reject };
|
|
9131
9131
|
}
|
|
9132
9132
|
var init_withResolvers = __esm({
|
|
9133
|
-
"
|
|
9133
|
+
"node_modules/viem/_esm/utils/promise/withResolvers.js"() {
|
|
9134
9134
|
}
|
|
9135
9135
|
});
|
|
9136
9136
|
|
|
9137
|
-
//
|
|
9137
|
+
// node_modules/viem/_esm/utils/promise/createBatchScheduler.js
|
|
9138
9138
|
function createBatchScheduler({ fn, id, shouldSplitBatch, wait: wait2 = 0, sort }) {
|
|
9139
9139
|
const exec = async () => {
|
|
9140
9140
|
const scheduler = getScheduler();
|
|
@@ -9180,16 +9180,16 @@ function createBatchScheduler({ fn, id, shouldSplitBatch, wait: wait2 = 0, sort
|
|
|
9180
9180
|
}
|
|
9181
9181
|
var schedulerCache;
|
|
9182
9182
|
var init_createBatchScheduler = __esm({
|
|
9183
|
-
"
|
|
9183
|
+
"node_modules/viem/_esm/utils/promise/createBatchScheduler.js"() {
|
|
9184
9184
|
init_withResolvers();
|
|
9185
9185
|
schedulerCache = /* @__PURE__ */ new Map();
|
|
9186
9186
|
}
|
|
9187
9187
|
});
|
|
9188
9188
|
|
|
9189
|
-
//
|
|
9189
|
+
// node_modules/viem/_esm/errors/ccip.js
|
|
9190
9190
|
var OffchainLookupError, OffchainLookupResponseMalformedError, OffchainLookupSenderMismatchError;
|
|
9191
9191
|
var init_ccip = __esm({
|
|
9192
|
-
"
|
|
9192
|
+
"node_modules/viem/_esm/errors/ccip.js"() {
|
|
9193
9193
|
init_stringify();
|
|
9194
9194
|
init_base();
|
|
9195
9195
|
init_utils3();
|
|
@@ -9239,7 +9239,7 @@ var init_ccip = __esm({
|
|
|
9239
9239
|
}
|
|
9240
9240
|
});
|
|
9241
9241
|
|
|
9242
|
-
//
|
|
9242
|
+
// node_modules/viem/_esm/utils/abi/decodeFunctionData.js
|
|
9243
9243
|
function decodeFunctionData(parameters) {
|
|
9244
9244
|
const { abi: abi2, data } = parameters;
|
|
9245
9245
|
const signature = slice(data, 0, 4);
|
|
@@ -9254,7 +9254,7 @@ function decodeFunctionData(parameters) {
|
|
|
9254
9254
|
};
|
|
9255
9255
|
}
|
|
9256
9256
|
var init_decodeFunctionData = __esm({
|
|
9257
|
-
"
|
|
9257
|
+
"node_modules/viem/_esm/utils/abi/decodeFunctionData.js"() {
|
|
9258
9258
|
init_abi();
|
|
9259
9259
|
init_slice();
|
|
9260
9260
|
init_toFunctionSelector();
|
|
@@ -9263,7 +9263,7 @@ var init_decodeFunctionData = __esm({
|
|
|
9263
9263
|
}
|
|
9264
9264
|
});
|
|
9265
9265
|
|
|
9266
|
-
//
|
|
9266
|
+
// node_modules/viem/_esm/utils/abi/encodeErrorResult.js
|
|
9267
9267
|
function encodeErrorResult(parameters) {
|
|
9268
9268
|
const { abi: abi2, errorName, args } = parameters;
|
|
9269
9269
|
let abiItem = abi2[0];
|
|
@@ -9287,7 +9287,7 @@ function encodeErrorResult(parameters) {
|
|
|
9287
9287
|
}
|
|
9288
9288
|
var docsPath6;
|
|
9289
9289
|
var init_encodeErrorResult = __esm({
|
|
9290
|
-
"
|
|
9290
|
+
"node_modules/viem/_esm/utils/abi/encodeErrorResult.js"() {
|
|
9291
9291
|
init_abi();
|
|
9292
9292
|
init_concat();
|
|
9293
9293
|
init_toFunctionSelector();
|
|
@@ -9298,7 +9298,7 @@ var init_encodeErrorResult = __esm({
|
|
|
9298
9298
|
}
|
|
9299
9299
|
});
|
|
9300
9300
|
|
|
9301
|
-
//
|
|
9301
|
+
// node_modules/viem/_esm/utils/abi/encodeFunctionResult.js
|
|
9302
9302
|
function encodeFunctionResult(parameters) {
|
|
9303
9303
|
const { abi: abi2, functionName, result } = parameters;
|
|
9304
9304
|
let abiItem = abi2[0];
|
|
@@ -9325,7 +9325,7 @@ function encodeFunctionResult(parameters) {
|
|
|
9325
9325
|
}
|
|
9326
9326
|
var docsPath7;
|
|
9327
9327
|
var init_encodeFunctionResult = __esm({
|
|
9328
|
-
"
|
|
9328
|
+
"node_modules/viem/_esm/utils/abi/encodeFunctionResult.js"() {
|
|
9329
9329
|
init_abi();
|
|
9330
9330
|
init_encodeAbiParameters();
|
|
9331
9331
|
init_getAbiItem();
|
|
@@ -9333,7 +9333,7 @@ var init_encodeFunctionResult = __esm({
|
|
|
9333
9333
|
}
|
|
9334
9334
|
});
|
|
9335
9335
|
|
|
9336
|
-
//
|
|
9336
|
+
// node_modules/viem/_esm/utils/ens/localBatchGatewayRequest.js
|
|
9337
9337
|
async function localBatchGatewayRequest(parameters) {
|
|
9338
9338
|
const { data, ccipRequest: ccipRequest2 } = parameters;
|
|
9339
9339
|
const { args: [queries] } = decodeFunctionData({ abi: batchGatewayAbi, data });
|
|
@@ -9369,7 +9369,7 @@ function encodeError(error) {
|
|
|
9369
9369
|
}
|
|
9370
9370
|
var localBatchGatewayUrl;
|
|
9371
9371
|
var init_localBatchGatewayRequest = __esm({
|
|
9372
|
-
"
|
|
9372
|
+
"node_modules/viem/_esm/utils/ens/localBatchGatewayRequest.js"() {
|
|
9373
9373
|
init_abis();
|
|
9374
9374
|
init_solidity();
|
|
9375
9375
|
init_decodeFunctionData();
|
|
@@ -9379,7 +9379,7 @@ var init_localBatchGatewayRequest = __esm({
|
|
|
9379
9379
|
}
|
|
9380
9380
|
});
|
|
9381
9381
|
|
|
9382
|
-
//
|
|
9382
|
+
// node_modules/viem/_esm/utils/ccip.js
|
|
9383
9383
|
var ccip_exports = {};
|
|
9384
9384
|
__export(ccip_exports, {
|
|
9385
9385
|
ccipRequest: () => ccipRequest,
|
|
@@ -9484,7 +9484,7 @@ async function ccipRequest({ data, requestOptions, sender: sender2, urls }) {
|
|
|
9484
9484
|
}
|
|
9485
9485
|
var offchainLookupSignature, offchainLookupAbiItem;
|
|
9486
9486
|
var init_ccip2 = __esm({
|
|
9487
|
-
"
|
|
9487
|
+
"node_modules/viem/_esm/utils/ccip.js"() {
|
|
9488
9488
|
init_call();
|
|
9489
9489
|
init_ccip();
|
|
9490
9490
|
init_request();
|
|
@@ -9526,7 +9526,7 @@ var init_ccip2 = __esm({
|
|
|
9526
9526
|
}
|
|
9527
9527
|
});
|
|
9528
9528
|
|
|
9529
|
-
//
|
|
9529
|
+
// node_modules/viem/_esm/actions/public/call.js
|
|
9530
9530
|
async function call(client, args) {
|
|
9531
9531
|
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;
|
|
9532
9532
|
const account = account_ ? parseAccount(account_) : void 0;
|
|
@@ -9767,7 +9767,7 @@ function getRevertErrorData(err) {
|
|
|
9767
9767
|
}
|
|
9768
9768
|
var requestOptionsId, requestOptionsIds;
|
|
9769
9769
|
var init_call = __esm({
|
|
9770
|
-
"
|
|
9770
|
+
"node_modules/viem/_esm/actions/public/call.js"() {
|
|
9771
9771
|
init_exports();
|
|
9772
9772
|
init_BlockOverrides();
|
|
9773
9773
|
init_parseAccount();
|
|
@@ -9795,17 +9795,17 @@ var init_call = __esm({
|
|
|
9795
9795
|
}
|
|
9796
9796
|
});
|
|
9797
9797
|
|
|
9798
|
-
//
|
|
9798
|
+
// nodes/Arl/Arl.node.ts
|
|
9799
9799
|
var Arl_node_exports = {};
|
|
9800
9800
|
__export(Arl_node_exports, {
|
|
9801
9801
|
Arl: () => Arl
|
|
9802
9802
|
});
|
|
9803
9803
|
module.exports = __toCommonJS(Arl_node_exports);
|
|
9804
9804
|
|
|
9805
|
-
//
|
|
9805
|
+
// node_modules/viem/_esm/index.js
|
|
9806
9806
|
init_exports();
|
|
9807
9807
|
|
|
9808
|
-
//
|
|
9808
|
+
// node_modules/viem/_esm/utils/getAction.js
|
|
9809
9809
|
function getAction(client, actionFn, name) {
|
|
9810
9810
|
const action_implicit = client[actionFn.name];
|
|
9811
9811
|
if (typeof action_implicit === "function")
|
|
@@ -9816,10 +9816,10 @@ function getAction(client, actionFn, name) {
|
|
|
9816
9816
|
return (params) => actionFn(client, params);
|
|
9817
9817
|
}
|
|
9818
9818
|
|
|
9819
|
-
//
|
|
9819
|
+
// node_modules/viem/_esm/utils/abi/encodeEventTopics.js
|
|
9820
9820
|
init_abi();
|
|
9821
9821
|
|
|
9822
|
-
//
|
|
9822
|
+
// node_modules/viem/_esm/errors/log.js
|
|
9823
9823
|
init_base();
|
|
9824
9824
|
var FilterTypeNotSupportedError = class extends BaseError2 {
|
|
9825
9825
|
constructor(type) {
|
|
@@ -9829,7 +9829,7 @@ var FilterTypeNotSupportedError = class extends BaseError2 {
|
|
|
9829
9829
|
}
|
|
9830
9830
|
};
|
|
9831
9831
|
|
|
9832
|
-
//
|
|
9832
|
+
// node_modules/viem/_esm/utils/abi/encodeEventTopics.js
|
|
9833
9833
|
init_toBytes();
|
|
9834
9834
|
init_keccak256();
|
|
9835
9835
|
init_toEventSelector();
|
|
@@ -9874,10 +9874,10 @@ function encodeArg({ param, value }) {
|
|
|
9874
9874
|
return encodeAbiParameters([param], [value]);
|
|
9875
9875
|
}
|
|
9876
9876
|
|
|
9877
|
-
//
|
|
9877
|
+
// node_modules/viem/_esm/actions/public/createContractEventFilter.js
|
|
9878
9878
|
init_toHex();
|
|
9879
9879
|
|
|
9880
|
-
//
|
|
9880
|
+
// node_modules/viem/_esm/utils/filters/createFilterRequestScope.js
|
|
9881
9881
|
function createFilterRequestScope(client, { method }) {
|
|
9882
9882
|
const requestMap = {};
|
|
9883
9883
|
if (client.transport.type === "fallback")
|
|
@@ -9888,7 +9888,7 @@ function createFilterRequestScope(client, { method }) {
|
|
|
9888
9888
|
return ((id) => requestMap[id] || client.request);
|
|
9889
9889
|
}
|
|
9890
9890
|
|
|
9891
|
-
//
|
|
9891
|
+
// node_modules/viem/_esm/actions/public/createContractEventFilter.js
|
|
9892
9892
|
async function createContractEventFilter(client, parameters) {
|
|
9893
9893
|
const { address, abi: abi2, args, eventName, fromBlock, strict, toBlock } = parameters;
|
|
9894
9894
|
const getRequest = createFilterRequestScope(client, {
|
|
@@ -9921,11 +9921,11 @@ async function createContractEventFilter(client, parameters) {
|
|
|
9921
9921
|
};
|
|
9922
9922
|
}
|
|
9923
9923
|
|
|
9924
|
-
//
|
|
9924
|
+
// node_modules/viem/_esm/actions/public/estimateContractGas.js
|
|
9925
9925
|
init_parseAccount();
|
|
9926
9926
|
init_encodeFunctionData();
|
|
9927
9927
|
|
|
9928
|
-
//
|
|
9928
|
+
// node_modules/viem/_esm/utils/errors/getContractError.js
|
|
9929
9929
|
init_abi();
|
|
9930
9930
|
init_base();
|
|
9931
9931
|
init_contract();
|
|
@@ -9959,11 +9959,11 @@ function getContractError(err, { abi: abi2, address, args, docsPath: docsPath8,
|
|
|
9959
9959
|
});
|
|
9960
9960
|
}
|
|
9961
9961
|
|
|
9962
|
-
//
|
|
9962
|
+
// node_modules/viem/_esm/actions/public/estimateGas.js
|
|
9963
9963
|
init_parseAccount();
|
|
9964
9964
|
init_base();
|
|
9965
9965
|
|
|
9966
|
-
//
|
|
9966
|
+
// node_modules/viem/_esm/accounts/utils/publicKeyToAddress.js
|
|
9967
9967
|
init_getAddress();
|
|
9968
9968
|
init_keccak256();
|
|
9969
9969
|
function publicKeyToAddress(publicKey) {
|
|
@@ -9971,7 +9971,7 @@ function publicKeyToAddress(publicKey) {
|
|
|
9971
9971
|
return checksumAddress(`0x${address}`);
|
|
9972
9972
|
}
|
|
9973
9973
|
|
|
9974
|
-
//
|
|
9974
|
+
// node_modules/viem/_esm/utils/signature/recoverPublicKey.js
|
|
9975
9975
|
init_isHex();
|
|
9976
9976
|
init_size();
|
|
9977
9977
|
init_fromHex();
|
|
@@ -10006,17 +10006,17 @@ function toRecoveryBit(yParityOrV) {
|
|
|
10006
10006
|
throw new Error("Invalid yParityOrV value");
|
|
10007
10007
|
}
|
|
10008
10008
|
|
|
10009
|
-
//
|
|
10009
|
+
// node_modules/viem/_esm/utils/signature/recoverAddress.js
|
|
10010
10010
|
async function recoverAddress({ hash: hash3, signature }) {
|
|
10011
10011
|
return publicKeyToAddress(await recoverPublicKey({ hash: hash3, signature }));
|
|
10012
10012
|
}
|
|
10013
10013
|
|
|
10014
|
-
//
|
|
10014
|
+
// node_modules/viem/_esm/utils/authorization/hashAuthorization.js
|
|
10015
10015
|
init_concat();
|
|
10016
10016
|
init_toBytes();
|
|
10017
10017
|
init_toHex();
|
|
10018
10018
|
|
|
10019
|
-
//
|
|
10019
|
+
// node_modules/viem/_esm/utils/encoding/toRlp.js
|
|
10020
10020
|
init_base();
|
|
10021
10021
|
init_cursor2();
|
|
10022
10022
|
init_toBytes();
|
|
@@ -10109,7 +10109,7 @@ function getSizeOfLength(length) {
|
|
|
10109
10109
|
throw new BaseError2("Length is too large.");
|
|
10110
10110
|
}
|
|
10111
10111
|
|
|
10112
|
-
//
|
|
10112
|
+
// node_modules/viem/_esm/utils/authorization/hashAuthorization.js
|
|
10113
10113
|
init_keccak256();
|
|
10114
10114
|
function hashAuthorization(parameters) {
|
|
10115
10115
|
const { chainId, nonce, to } = parameters;
|
|
@@ -10127,7 +10127,7 @@ function hashAuthorization(parameters) {
|
|
|
10127
10127
|
return hash3;
|
|
10128
10128
|
}
|
|
10129
10129
|
|
|
10130
|
-
//
|
|
10130
|
+
// node_modules/viem/_esm/utils/authorization/recoverAuthorizationAddress.js
|
|
10131
10131
|
async function recoverAuthorizationAddress(parameters) {
|
|
10132
10132
|
const { authorization, signature } = parameters;
|
|
10133
10133
|
return recoverAddress({
|
|
@@ -10136,10 +10136,10 @@ async function recoverAuthorizationAddress(parameters) {
|
|
|
10136
10136
|
});
|
|
10137
10137
|
}
|
|
10138
10138
|
|
|
10139
|
-
//
|
|
10139
|
+
// node_modules/viem/_esm/actions/public/estimateGas.js
|
|
10140
10140
|
init_toHex();
|
|
10141
10141
|
|
|
10142
|
-
//
|
|
10142
|
+
// node_modules/viem/_esm/errors/estimateGas.js
|
|
10143
10143
|
init_formatEther();
|
|
10144
10144
|
init_formatGwei();
|
|
10145
10145
|
init_base();
|
|
@@ -10177,7 +10177,7 @@ var EstimateGasExecutionError = class extends BaseError2 {
|
|
|
10177
10177
|
}
|
|
10178
10178
|
};
|
|
10179
10179
|
|
|
10180
|
-
//
|
|
10180
|
+
// node_modules/viem/_esm/utils/errors/getEstimateGasError.js
|
|
10181
10181
|
init_node();
|
|
10182
10182
|
init_getNodeError();
|
|
10183
10183
|
function getEstimateGasError(err, { docsPath: docsPath8, ...args }) {
|
|
@@ -10193,16 +10193,16 @@ function getEstimateGasError(err, { docsPath: docsPath8, ...args }) {
|
|
|
10193
10193
|
});
|
|
10194
10194
|
}
|
|
10195
10195
|
|
|
10196
|
-
//
|
|
10196
|
+
// node_modules/viem/_esm/actions/public/estimateGas.js
|
|
10197
10197
|
init_extract();
|
|
10198
10198
|
init_transactionRequest();
|
|
10199
10199
|
init_stateOverride2();
|
|
10200
10200
|
init_assertRequest();
|
|
10201
10201
|
|
|
10202
|
-
//
|
|
10202
|
+
// node_modules/viem/_esm/actions/wallet/prepareTransactionRequest.js
|
|
10203
10203
|
init_parseAccount();
|
|
10204
10204
|
|
|
10205
|
-
//
|
|
10205
|
+
// node_modules/viem/_esm/errors/fee.js
|
|
10206
10206
|
init_formatGwei();
|
|
10207
10207
|
init_base();
|
|
10208
10208
|
var BaseFeeScalarError = class extends BaseError2 {
|
|
@@ -10225,10 +10225,10 @@ var MaxFeePerGasTooLowError = class extends BaseError2 {
|
|
|
10225
10225
|
}
|
|
10226
10226
|
};
|
|
10227
10227
|
|
|
10228
|
-
//
|
|
10228
|
+
// node_modules/viem/_esm/actions/public/estimateMaxPriorityFeePerGas.js
|
|
10229
10229
|
init_fromHex();
|
|
10230
10230
|
|
|
10231
|
-
//
|
|
10231
|
+
// node_modules/viem/_esm/errors/block.js
|
|
10232
10232
|
init_base();
|
|
10233
10233
|
var BlockNotFoundError = class extends BaseError2 {
|
|
10234
10234
|
constructor({ blockHash, blockNumber }) {
|
|
@@ -10241,13 +10241,13 @@ var BlockNotFoundError = class extends BaseError2 {
|
|
|
10241
10241
|
}
|
|
10242
10242
|
};
|
|
10243
10243
|
|
|
10244
|
-
//
|
|
10244
|
+
// node_modules/viem/_esm/actions/public/getBlock.js
|
|
10245
10245
|
init_toHex();
|
|
10246
10246
|
|
|
10247
|
-
//
|
|
10247
|
+
// node_modules/viem/_esm/utils/formatters/block.js
|
|
10248
10248
|
init_formatter();
|
|
10249
10249
|
|
|
10250
|
-
//
|
|
10250
|
+
// node_modules/viem/_esm/utils/formatters/transaction.js
|
|
10251
10251
|
init_fromHex();
|
|
10252
10252
|
init_formatter();
|
|
10253
10253
|
var transactionType = {
|
|
@@ -10322,7 +10322,7 @@ function formatAuthorizationList2(authorizationList) {
|
|
|
10322
10322
|
}));
|
|
10323
10323
|
}
|
|
10324
10324
|
|
|
10325
|
-
//
|
|
10325
|
+
// node_modules/viem/_esm/utils/formatters/block.js
|
|
10326
10326
|
function formatBlock(block, _) {
|
|
10327
10327
|
const transactions = (block.transactions ?? []).map((transaction) => {
|
|
10328
10328
|
if (typeof transaction === "string")
|
|
@@ -10349,7 +10349,7 @@ function formatBlock(block, _) {
|
|
|
10349
10349
|
}
|
|
10350
10350
|
var defineBlock = /* @__PURE__ */ defineFormatter("block", formatBlock);
|
|
10351
10351
|
|
|
10352
|
-
//
|
|
10352
|
+
// node_modules/viem/_esm/actions/public/getBlock.js
|
|
10353
10353
|
async function getBlock(client, { blockHash, blockNumber, blockTag = client.experimental_blockTag ?? "latest", includeTransactions: includeTransactions_ } = {}) {
|
|
10354
10354
|
const includeTransactions = includeTransactions_ ?? false;
|
|
10355
10355
|
const blockNumberHex = blockNumber !== void 0 ? numberToHex(blockNumber) : void 0;
|
|
@@ -10371,7 +10371,7 @@ async function getBlock(client, { blockHash, blockNumber, blockTag = client.expe
|
|
|
10371
10371
|
return format2(block, "getBlock");
|
|
10372
10372
|
}
|
|
10373
10373
|
|
|
10374
|
-
//
|
|
10374
|
+
// node_modules/viem/_esm/actions/public/getGasPrice.js
|
|
10375
10375
|
async function getGasPrice(client) {
|
|
10376
10376
|
const gasPrice = await client.request({
|
|
10377
10377
|
method: "eth_gasPrice"
|
|
@@ -10379,7 +10379,7 @@ async function getGasPrice(client) {
|
|
|
10379
10379
|
return BigInt(gasPrice);
|
|
10380
10380
|
}
|
|
10381
10381
|
|
|
10382
|
-
//
|
|
10382
|
+
// node_modules/viem/_esm/actions/public/estimateMaxPriorityFeePerGas.js
|
|
10383
10383
|
async function estimateMaxPriorityFeePerGas(client, args) {
|
|
10384
10384
|
return internal_estimateMaxPriorityFeePerGas(client, args);
|
|
10385
10385
|
}
|
|
@@ -10418,7 +10418,7 @@ async function internal_estimateMaxPriorityFeePerGas(client, args) {
|
|
|
10418
10418
|
}
|
|
10419
10419
|
}
|
|
10420
10420
|
|
|
10421
|
-
//
|
|
10421
|
+
// node_modules/viem/_esm/actions/public/estimateFeesPerGas.js
|
|
10422
10422
|
async function estimateFeesPerGas(client, args) {
|
|
10423
10423
|
return internal_estimateFeesPerGas(client, args);
|
|
10424
10424
|
}
|
|
@@ -10471,7 +10471,7 @@ async function internal_estimateFeesPerGas(client, args) {
|
|
|
10471
10471
|
};
|
|
10472
10472
|
}
|
|
10473
10473
|
|
|
10474
|
-
//
|
|
10474
|
+
// node_modules/viem/_esm/actions/public/getTransactionCount.js
|
|
10475
10475
|
init_formatBlockParameter();
|
|
10476
10476
|
init_fromHex();
|
|
10477
10477
|
async function getTransactionCount(client, { address, blockHash, blockNumber, blockTag = "latest", requireCanonical }) {
|
|
@@ -10490,10 +10490,10 @@ async function getTransactionCount(client, { address, blockHash, blockNumber, bl
|
|
|
10490
10490
|
return hexToNumber(count);
|
|
10491
10491
|
}
|
|
10492
10492
|
|
|
10493
|
-
//
|
|
10493
|
+
// node_modules/viem/_esm/actions/wallet/prepareTransactionRequest.js
|
|
10494
10494
|
init_transaction();
|
|
10495
10495
|
|
|
10496
|
-
//
|
|
10496
|
+
// node_modules/viem/_esm/utils/blob/blobsToCommitments.js
|
|
10497
10497
|
init_toBytes();
|
|
10498
10498
|
init_toHex();
|
|
10499
10499
|
function blobsToCommitments(parameters) {
|
|
@@ -10506,7 +10506,7 @@ function blobsToCommitments(parameters) {
|
|
|
10506
10506
|
return to === "bytes" ? commitments : commitments.map((x) => bytesToHex(x));
|
|
10507
10507
|
}
|
|
10508
10508
|
|
|
10509
|
-
//
|
|
10509
|
+
// node_modules/viem/_esm/utils/blob/blobsToProofs.js
|
|
10510
10510
|
init_toBytes();
|
|
10511
10511
|
init_toHex();
|
|
10512
10512
|
function blobsToProofs(parameters) {
|
|
@@ -10523,14 +10523,14 @@ function blobsToProofs(parameters) {
|
|
|
10523
10523
|
return to === "bytes" ? proofs : proofs.map((x) => bytesToHex(x));
|
|
10524
10524
|
}
|
|
10525
10525
|
|
|
10526
|
-
//
|
|
10526
|
+
// node_modules/viem/_esm/utils/blob/commitmentToVersionedHash.js
|
|
10527
10527
|
init_toHex();
|
|
10528
10528
|
|
|
10529
|
-
//
|
|
10529
|
+
// node_modules/@noble/hashes/esm/sha256.js
|
|
10530
10530
|
init_sha2();
|
|
10531
10531
|
var sha2562 = sha256;
|
|
10532
10532
|
|
|
10533
|
-
//
|
|
10533
|
+
// node_modules/viem/_esm/utils/hash/sha256.js
|
|
10534
10534
|
init_isHex();
|
|
10535
10535
|
init_toBytes();
|
|
10536
10536
|
init_toHex();
|
|
@@ -10542,7 +10542,7 @@ function sha2563(value, to_) {
|
|
|
10542
10542
|
return toHex(bytes);
|
|
10543
10543
|
}
|
|
10544
10544
|
|
|
10545
|
-
//
|
|
10545
|
+
// node_modules/viem/_esm/utils/blob/commitmentToVersionedHash.js
|
|
10546
10546
|
function commitmentToVersionedHash(parameters) {
|
|
10547
10547
|
const { commitment, version: version4 = 1 } = parameters;
|
|
10548
10548
|
const to = parameters.to ?? (typeof commitment === "string" ? "hex" : "bytes");
|
|
@@ -10551,7 +10551,7 @@ function commitmentToVersionedHash(parameters) {
|
|
|
10551
10551
|
return to === "bytes" ? versionedHash : bytesToHex(versionedHash);
|
|
10552
10552
|
}
|
|
10553
10553
|
|
|
10554
|
-
//
|
|
10554
|
+
// node_modules/viem/_esm/utils/blob/commitmentsToVersionedHashes.js
|
|
10555
10555
|
function commitmentsToVersionedHashes(parameters) {
|
|
10556
10556
|
const { commitments, version: version4 } = parameters;
|
|
10557
10557
|
const to = parameters.to ?? (typeof commitments[0] === "string" ? "hex" : "bytes");
|
|
@@ -10566,7 +10566,7 @@ function commitmentsToVersionedHashes(parameters) {
|
|
|
10566
10566
|
return hashes;
|
|
10567
10567
|
}
|
|
10568
10568
|
|
|
10569
|
-
//
|
|
10569
|
+
// node_modules/viem/_esm/constants/blob.js
|
|
10570
10570
|
var blobsPerTransaction = 6;
|
|
10571
10571
|
var bytesPerFieldElement = 32;
|
|
10572
10572
|
var fieldElementsPerBlob = 4096;
|
|
@@ -10575,10 +10575,10 @@ var maxBytesPerTransaction = bytesPerBlob * blobsPerTransaction - // terminator
|
|
|
10575
10575
|
1 - // zero byte (0x00) appended to each field element.
|
|
10576
10576
|
1 * fieldElementsPerBlob * blobsPerTransaction;
|
|
10577
10577
|
|
|
10578
|
-
//
|
|
10578
|
+
// node_modules/viem/_esm/constants/kzg.js
|
|
10579
10579
|
var versionedHashVersionKzg = 1;
|
|
10580
10580
|
|
|
10581
|
-
//
|
|
10581
|
+
// node_modules/viem/_esm/errors/blob.js
|
|
10582
10582
|
init_base();
|
|
10583
10583
|
var BlobSizeTooLargeError = class extends BaseError2 {
|
|
10584
10584
|
constructor({ maxSize, size: size5 }) {
|
|
@@ -10613,7 +10613,7 @@ var InvalidVersionedHashVersionError = class extends BaseError2 {
|
|
|
10613
10613
|
}
|
|
10614
10614
|
};
|
|
10615
10615
|
|
|
10616
|
-
//
|
|
10616
|
+
// node_modules/viem/_esm/utils/blob/toBlobs.js
|
|
10617
10617
|
init_cursor2();
|
|
10618
10618
|
init_size();
|
|
10619
10619
|
init_toBytes();
|
|
@@ -10652,7 +10652,7 @@ function toBlobs(parameters) {
|
|
|
10652
10652
|
return to === "bytes" ? blobs.map((x) => x.bytes) : blobs.map((x) => bytesToHex(x.bytes));
|
|
10653
10653
|
}
|
|
10654
10654
|
|
|
10655
|
-
//
|
|
10655
|
+
// node_modules/viem/_esm/utils/blob/toBlobSidecars.js
|
|
10656
10656
|
function toBlobSidecars(parameters) {
|
|
10657
10657
|
const { data, kzg, to } = parameters;
|
|
10658
10658
|
const blobs = parameters.blobs ?? toBlobs({ data, to });
|
|
@@ -10668,11 +10668,11 @@ function toBlobSidecars(parameters) {
|
|
|
10668
10668
|
return sidecars;
|
|
10669
10669
|
}
|
|
10670
10670
|
|
|
10671
|
-
//
|
|
10671
|
+
// node_modules/viem/_esm/actions/wallet/prepareTransactionRequest.js
|
|
10672
10672
|
init_lru();
|
|
10673
10673
|
init_assertRequest();
|
|
10674
10674
|
|
|
10675
|
-
//
|
|
10675
|
+
// node_modules/viem/_esm/utils/transaction/getTransactionType.js
|
|
10676
10676
|
init_transaction();
|
|
10677
10677
|
function getTransactionType(transaction) {
|
|
10678
10678
|
if (transaction.type)
|
|
@@ -10692,11 +10692,11 @@ function getTransactionType(transaction) {
|
|
|
10692
10692
|
throw new InvalidSerializableTransactionError({ transaction });
|
|
10693
10693
|
}
|
|
10694
10694
|
|
|
10695
|
-
//
|
|
10695
|
+
// node_modules/viem/_esm/actions/public/fillTransaction.js
|
|
10696
10696
|
init_parseAccount();
|
|
10697
10697
|
init_transaction();
|
|
10698
10698
|
|
|
10699
|
-
//
|
|
10699
|
+
// node_modules/viem/_esm/utils/errors/getTransactionError.js
|
|
10700
10700
|
init_node();
|
|
10701
10701
|
init_transaction();
|
|
10702
10702
|
init_getNodeError();
|
|
@@ -10713,12 +10713,12 @@ function getTransactionError(err, { docsPath: docsPath8, ...args }) {
|
|
|
10713
10713
|
});
|
|
10714
10714
|
}
|
|
10715
10715
|
|
|
10716
|
-
//
|
|
10716
|
+
// node_modules/viem/_esm/actions/public/fillTransaction.js
|
|
10717
10717
|
init_extract();
|
|
10718
10718
|
init_transactionRequest();
|
|
10719
10719
|
init_assertRequest();
|
|
10720
10720
|
|
|
10721
|
-
//
|
|
10721
|
+
// node_modules/viem/_esm/actions/public/getChainId.js
|
|
10722
10722
|
init_fromHex();
|
|
10723
10723
|
async function getChainId(client) {
|
|
10724
10724
|
const chainIdHex = await client.request({
|
|
@@ -10727,7 +10727,7 @@ async function getChainId(client) {
|
|
|
10727
10727
|
return hexToNumber(chainIdHex);
|
|
10728
10728
|
}
|
|
10729
10729
|
|
|
10730
|
-
//
|
|
10730
|
+
// node_modules/viem/_esm/actions/public/fillTransaction.js
|
|
10731
10731
|
async function fillTransaction(client, parameters) {
|
|
10732
10732
|
const { account = client.account, accessList, authorizationList, chain = client.chain, blobVersionedHashes, blobs, data, gas, gasPrice, maxFeePerBlobGas, maxFeePerGas, maxPriorityFeePerGas, nonce: nonce_, nonceManager, to, type, value, ...rest } = parameters;
|
|
10733
10733
|
const nonce = await (async () => {
|
|
@@ -10838,7 +10838,7 @@ async function fillTransaction(client, parameters) {
|
|
|
10838
10838
|
}
|
|
10839
10839
|
}
|
|
10840
10840
|
|
|
10841
|
-
//
|
|
10841
|
+
// node_modules/viem/_esm/actions/wallet/prepareTransactionRequest.js
|
|
10842
10842
|
var defaultParameters = [
|
|
10843
10843
|
"blobVersionedHashes",
|
|
10844
10844
|
"chainId",
|
|
@@ -11069,7 +11069,7 @@ async function prepareTransactionRequest(client, args) {
|
|
|
11069
11069
|
return request;
|
|
11070
11070
|
}
|
|
11071
11071
|
|
|
11072
|
-
//
|
|
11072
|
+
// node_modules/viem/_esm/actions/public/estimateGas.js
|
|
11073
11073
|
async function estimateGas(client, args) {
|
|
11074
11074
|
const { account: account_ = client.account, prepare = true } = args;
|
|
11075
11075
|
const account = account_ ? parseAccount(account_) : void 0;
|
|
@@ -11139,7 +11139,7 @@ async function estimateGas(client, args) {
|
|
|
11139
11139
|
}
|
|
11140
11140
|
}
|
|
11141
11141
|
|
|
11142
|
-
//
|
|
11142
|
+
// node_modules/viem/_esm/actions/public/estimateContractGas.js
|
|
11143
11143
|
async function estimateContractGas(client, parameters) {
|
|
11144
11144
|
const { abi: abi2, address, args, functionName, dataSuffix = typeof client.dataSuffix === "string" ? client.dataSuffix : client.dataSuffix?.value, ...request } = parameters;
|
|
11145
11145
|
const data = encodeFunctionData({
|
|
@@ -11167,14 +11167,14 @@ async function estimateContractGas(client, parameters) {
|
|
|
11167
11167
|
}
|
|
11168
11168
|
}
|
|
11169
11169
|
|
|
11170
|
-
//
|
|
11170
|
+
// node_modules/viem/_esm/actions/public/getContractEvents.js
|
|
11171
11171
|
init_getAbiItem();
|
|
11172
11172
|
|
|
11173
|
-
//
|
|
11173
|
+
// node_modules/viem/_esm/utils/abi/parseEventLogs.js
|
|
11174
11174
|
init_isAddressEqual();
|
|
11175
11175
|
init_toBytes();
|
|
11176
11176
|
|
|
11177
|
-
//
|
|
11177
|
+
// node_modules/viem/_esm/utils/formatters/log.js
|
|
11178
11178
|
function formatLog(log, { args, eventName } = {}) {
|
|
11179
11179
|
return {
|
|
11180
11180
|
...log,
|
|
@@ -11188,11 +11188,11 @@ function formatLog(log, { args, eventName } = {}) {
|
|
|
11188
11188
|
};
|
|
11189
11189
|
}
|
|
11190
11190
|
|
|
11191
|
-
//
|
|
11191
|
+
// node_modules/viem/_esm/utils/abi/parseEventLogs.js
|
|
11192
11192
|
init_keccak256();
|
|
11193
11193
|
init_toEventSelector();
|
|
11194
11194
|
|
|
11195
|
-
//
|
|
11195
|
+
// node_modules/viem/_esm/utils/abi/decodeEventLog.js
|
|
11196
11196
|
init_abi();
|
|
11197
11197
|
init_cursor();
|
|
11198
11198
|
init_size();
|
|
@@ -11285,7 +11285,7 @@ function decodeTopic({ param, value }) {
|
|
|
11285
11285
|
return decodedArg[0];
|
|
11286
11286
|
}
|
|
11287
11287
|
|
|
11288
|
-
//
|
|
11288
|
+
// node_modules/viem/_esm/utils/abi/parseEventLogs.js
|
|
11289
11289
|
function parseEventLogs(parameters) {
|
|
11290
11290
|
const { abi: abi2, args, logs, strict = true } = parameters;
|
|
11291
11291
|
const eventName = (() => {
|
|
@@ -11390,7 +11390,7 @@ function includesArgs(parameters) {
|
|
|
11390
11390
|
return false;
|
|
11391
11391
|
}
|
|
11392
11392
|
|
|
11393
|
-
//
|
|
11393
|
+
// node_modules/viem/_esm/actions/public/getLogs.js
|
|
11394
11394
|
init_toHex();
|
|
11395
11395
|
async function getLogs(client, { address, blockHash, fromBlock, toBlock, event, events: events_, args, strict: strict_ } = {}) {
|
|
11396
11396
|
const strict = strict_ ?? false;
|
|
@@ -11436,7 +11436,7 @@ async function getLogs(client, { address, blockHash, fromBlock, toBlock, event,
|
|
|
11436
11436
|
});
|
|
11437
11437
|
}
|
|
11438
11438
|
|
|
11439
|
-
//
|
|
11439
|
+
// node_modules/viem/_esm/actions/public/getContractEvents.js
|
|
11440
11440
|
async function getContractEvents(client, parameters) {
|
|
11441
11441
|
const { abi: abi2, address, args, blockHash, eventName, fromBlock, toBlock, strict } = parameters;
|
|
11442
11442
|
const event = eventName ? getAbiItem({ abi: abi2, name: eventName }) : void 0;
|
|
@@ -11453,7 +11453,7 @@ async function getContractEvents(client, parameters) {
|
|
|
11453
11453
|
});
|
|
11454
11454
|
}
|
|
11455
11455
|
|
|
11456
|
-
//
|
|
11456
|
+
// node_modules/viem/_esm/actions/public/readContract.js
|
|
11457
11457
|
init_decodeFunctionResult();
|
|
11458
11458
|
init_encodeFunctionData();
|
|
11459
11459
|
init_call();
|
|
@@ -11487,7 +11487,7 @@ async function readContract(client, parameters) {
|
|
|
11487
11487
|
}
|
|
11488
11488
|
}
|
|
11489
11489
|
|
|
11490
|
-
//
|
|
11490
|
+
// node_modules/viem/_esm/actions/public/simulateContract.js
|
|
11491
11491
|
init_parseAccount();
|
|
11492
11492
|
init_decodeFunctionResult();
|
|
11493
11493
|
init_encodeFunctionData();
|
|
@@ -11535,11 +11535,11 @@ async function simulateContract(client, parameters) {
|
|
|
11535
11535
|
}
|
|
11536
11536
|
}
|
|
11537
11537
|
|
|
11538
|
-
//
|
|
11538
|
+
// node_modules/viem/_esm/actions/public/watchContractEvent.js
|
|
11539
11539
|
init_abi();
|
|
11540
11540
|
init_rpc();
|
|
11541
11541
|
|
|
11542
|
-
//
|
|
11542
|
+
// node_modules/viem/_esm/utils/observe.js
|
|
11543
11543
|
var listenersCache = /* @__PURE__ */ new Map();
|
|
11544
11544
|
var cleanupCache = /* @__PURE__ */ new Map();
|
|
11545
11545
|
var callbackCount = 0;
|
|
@@ -11592,7 +11592,7 @@ function observe(observerId, callbacks, fn) {
|
|
|
11592
11592
|
return unwatch;
|
|
11593
11593
|
}
|
|
11594
11594
|
|
|
11595
|
-
//
|
|
11595
|
+
// node_modules/viem/_esm/utils/wait.js
|
|
11596
11596
|
init_utils3();
|
|
11597
11597
|
async function wait(time, { signal } = {}) {
|
|
11598
11598
|
return new Promise((resolve, reject) => {
|
|
@@ -11614,7 +11614,7 @@ async function wait(time, { signal } = {}) {
|
|
|
11614
11614
|
});
|
|
11615
11615
|
}
|
|
11616
11616
|
|
|
11617
|
-
//
|
|
11617
|
+
// node_modules/viem/_esm/utils/poll.js
|
|
11618
11618
|
function poll(fn, { emitOnBegin, initialWaitTime, interval }) {
|
|
11619
11619
|
let active = true;
|
|
11620
11620
|
const unwatch = () => active = false;
|
|
@@ -11637,10 +11637,10 @@ function poll(fn, { emitOnBegin, initialWaitTime, interval }) {
|
|
|
11637
11637
|
return unwatch;
|
|
11638
11638
|
}
|
|
11639
11639
|
|
|
11640
|
-
//
|
|
11640
|
+
// node_modules/viem/_esm/actions/public/watchContractEvent.js
|
|
11641
11641
|
init_stringify();
|
|
11642
11642
|
|
|
11643
|
-
//
|
|
11643
|
+
// node_modules/viem/_esm/utils/promise/withCache.js
|
|
11644
11644
|
var promiseCache = /* @__PURE__ */ new Map();
|
|
11645
11645
|
var responseCache = /* @__PURE__ */ new Map();
|
|
11646
11646
|
function getCache(cacheKey2) {
|
|
@@ -11682,7 +11682,7 @@ async function withCache(fn, { cacheKey: cacheKey2, cacheTime = Number.POSITIVE_
|
|
|
11682
11682
|
}
|
|
11683
11683
|
}
|
|
11684
11684
|
|
|
11685
|
-
//
|
|
11685
|
+
// node_modules/viem/_esm/actions/public/getBlockNumber.js
|
|
11686
11686
|
var cacheKey = (id) => `blockNumber.${id}`;
|
|
11687
11687
|
async function getBlockNumber(client, { cacheTime = client.cacheTime } = {}) {
|
|
11688
11688
|
const blockNumberHex = await withCache(() => client.request({
|
|
@@ -11691,7 +11691,7 @@ async function getBlockNumber(client, { cacheTime = client.cacheTime } = {}) {
|
|
|
11691
11691
|
return BigInt(blockNumberHex);
|
|
11692
11692
|
}
|
|
11693
11693
|
|
|
11694
|
-
//
|
|
11694
|
+
// node_modules/viem/_esm/actions/public/getFilterChanges.js
|
|
11695
11695
|
async function getFilterChanges(_client, { filter }) {
|
|
11696
11696
|
const strict = "strict" in filter && filter.strict;
|
|
11697
11697
|
const logs = await filter.request({
|
|
@@ -11710,7 +11710,7 @@ async function getFilterChanges(_client, { filter }) {
|
|
|
11710
11710
|
});
|
|
11711
11711
|
}
|
|
11712
11712
|
|
|
11713
|
-
//
|
|
11713
|
+
// node_modules/viem/_esm/actions/public/uninstallFilter.js
|
|
11714
11714
|
async function uninstallFilter(_client, { filter }) {
|
|
11715
11715
|
return filter.request({
|
|
11716
11716
|
method: "eth_uninstallFilter",
|
|
@@ -11718,7 +11718,7 @@ async function uninstallFilter(_client, { filter }) {
|
|
|
11718
11718
|
});
|
|
11719
11719
|
}
|
|
11720
11720
|
|
|
11721
|
-
//
|
|
11721
|
+
// node_modules/viem/_esm/actions/public/watchContractEvent.js
|
|
11722
11722
|
function watchContractEvent(client, parameters) {
|
|
11723
11723
|
const { abi: abi2, address, args, batch = true, eventName, fromBlock, onError, onLogs, poll: poll_, pollingInterval = client.pollingInterval, strict: strict_ } = parameters;
|
|
11724
11724
|
const enablePolling = (() => {
|
|
@@ -11894,10 +11894,10 @@ function watchContractEvent(client, parameters) {
|
|
|
11894
11894
|
return enablePolling ? pollContractEvent() : subscribeContractEvent();
|
|
11895
11895
|
}
|
|
11896
11896
|
|
|
11897
|
-
//
|
|
11897
|
+
// node_modules/viem/_esm/actions/wallet/writeContract.js
|
|
11898
11898
|
init_parseAccount();
|
|
11899
11899
|
|
|
11900
|
-
//
|
|
11900
|
+
// node_modules/viem/_esm/errors/account.js
|
|
11901
11901
|
init_base();
|
|
11902
11902
|
var AccountNotFoundError = class extends BaseError2 {
|
|
11903
11903
|
constructor({ docsPath: docsPath8 } = {}) {
|
|
@@ -11921,14 +11921,14 @@ var AccountTypeNotSupportedError = class extends BaseError2 {
|
|
|
11921
11921
|
}
|
|
11922
11922
|
};
|
|
11923
11923
|
|
|
11924
|
-
//
|
|
11924
|
+
// node_modules/viem/_esm/actions/wallet/writeContract.js
|
|
11925
11925
|
init_encodeFunctionData();
|
|
11926
11926
|
|
|
11927
|
-
//
|
|
11927
|
+
// node_modules/viem/_esm/actions/wallet/sendTransaction.js
|
|
11928
11928
|
init_parseAccount();
|
|
11929
11929
|
init_base();
|
|
11930
11930
|
|
|
11931
|
-
//
|
|
11931
|
+
// node_modules/viem/_esm/utils/chain/assertCurrentChain.js
|
|
11932
11932
|
init_chain();
|
|
11933
11933
|
function assertCurrentChain({ chain, currentChainId }) {
|
|
11934
11934
|
if (!chain)
|
|
@@ -11937,14 +11937,14 @@ function assertCurrentChain({ chain, currentChainId }) {
|
|
|
11937
11937
|
throw new ChainMismatchError({ chain, currentChainId });
|
|
11938
11938
|
}
|
|
11939
11939
|
|
|
11940
|
-
//
|
|
11940
|
+
// node_modules/viem/_esm/actions/wallet/sendTransaction.js
|
|
11941
11941
|
init_concat();
|
|
11942
11942
|
init_extract();
|
|
11943
11943
|
init_transactionRequest();
|
|
11944
11944
|
init_lru();
|
|
11945
11945
|
init_assertRequest();
|
|
11946
11946
|
|
|
11947
|
-
//
|
|
11947
|
+
// node_modules/viem/_esm/actions/wallet/sendRawTransaction.js
|
|
11948
11948
|
async function sendRawTransaction(client, { serializedTransaction }) {
|
|
11949
11949
|
return client.request({
|
|
11950
11950
|
method: "eth_sendRawTransaction",
|
|
@@ -11952,7 +11952,7 @@ async function sendRawTransaction(client, { serializedTransaction }) {
|
|
|
11952
11952
|
}, { retryCount: 0 });
|
|
11953
11953
|
}
|
|
11954
11954
|
|
|
11955
|
-
//
|
|
11955
|
+
// node_modules/viem/_esm/actions/wallet/sendTransaction.js
|
|
11956
11956
|
var supportsWalletNamespace = new LruMap(128);
|
|
11957
11957
|
async function sendTransaction(client, parameters) {
|
|
11958
11958
|
const { account: account_ = client.account, assertChainId = true, chain = client.chain, accessList, authorizationList, blobs, data, dataSuffix = typeof client.dataSuffix === "string" ? client.dataSuffix : client.dataSuffix?.value, gas, gasPrice, maxFeePerBlobGas, maxFeePerGas, maxPriorityFeePerGas, nonce, type, value, ...rest } = parameters;
|
|
@@ -12120,7 +12120,7 @@ async function sendTransaction(client, parameters) {
|
|
|
12120
12120
|
}
|
|
12121
12121
|
}
|
|
12122
12122
|
|
|
12123
|
-
//
|
|
12123
|
+
// node_modules/viem/_esm/actions/wallet/writeContract.js
|
|
12124
12124
|
async function writeContract(client, parameters) {
|
|
12125
12125
|
return writeContract.internal(client, sendTransaction, "sendTransaction", parameters);
|
|
12126
12126
|
}
|
|
@@ -12158,10 +12158,10 @@ async function writeContract(client, parameters) {
|
|
|
12158
12158
|
writeContract2.internal = internal;
|
|
12159
12159
|
})(writeContract || (writeContract = {}));
|
|
12160
12160
|
|
|
12161
|
-
//
|
|
12161
|
+
// node_modules/viem/_esm/actions/wallet/waitForCallsStatus.js
|
|
12162
12162
|
init_base();
|
|
12163
12163
|
|
|
12164
|
-
//
|
|
12164
|
+
// node_modules/viem/_esm/errors/calls.js
|
|
12165
12165
|
init_base();
|
|
12166
12166
|
var BundleFailedError = class extends BaseError2 {
|
|
12167
12167
|
constructor(result) {
|
|
@@ -12178,10 +12178,10 @@ var BundleFailedError = class extends BaseError2 {
|
|
|
12178
12178
|
}
|
|
12179
12179
|
};
|
|
12180
12180
|
|
|
12181
|
-
//
|
|
12181
|
+
// node_modules/viem/_esm/actions/wallet/waitForCallsStatus.js
|
|
12182
12182
|
init_withResolvers();
|
|
12183
12183
|
|
|
12184
|
-
//
|
|
12184
|
+
// node_modules/viem/_esm/utils/promise/withRetry.js
|
|
12185
12185
|
init_utils3();
|
|
12186
12186
|
function withRetry(fn, { delay: delay_ = 100, retryCount = 2, shouldRetry: shouldRetry2 = () => true, signal } = {}) {
|
|
12187
12187
|
return new Promise((resolve, reject) => {
|
|
@@ -12223,15 +12223,15 @@ function withRetry(fn, { delay: delay_ = 100, retryCount = 2, shouldRetry: shoul
|
|
|
12223
12223
|
});
|
|
12224
12224
|
}
|
|
12225
12225
|
|
|
12226
|
-
//
|
|
12226
|
+
// node_modules/viem/_esm/actions/wallet/waitForCallsStatus.js
|
|
12227
12227
|
init_stringify();
|
|
12228
12228
|
|
|
12229
|
-
//
|
|
12229
|
+
// node_modules/viem/_esm/actions/wallet/getCallsStatus.js
|
|
12230
12230
|
init_slice();
|
|
12231
12231
|
init_trim();
|
|
12232
12232
|
init_fromHex();
|
|
12233
12233
|
|
|
12234
|
-
//
|
|
12234
|
+
// node_modules/viem/_esm/utils/formatters/transactionReceipt.js
|
|
12235
12235
|
init_fromHex();
|
|
12236
12236
|
init_formatter();
|
|
12237
12237
|
var receiptStatuses = {
|
|
@@ -12260,7 +12260,7 @@ function formatTransactionReceipt(transactionReceipt, _) {
|
|
|
12260
12260
|
}
|
|
12261
12261
|
var defineTransactionReceipt = /* @__PURE__ */ defineFormatter("transactionReceipt", formatTransactionReceipt);
|
|
12262
12262
|
|
|
12263
|
-
//
|
|
12263
|
+
// node_modules/viem/_esm/actions/wallet/sendCalls.js
|
|
12264
12264
|
init_parseAccount();
|
|
12265
12265
|
init_base();
|
|
12266
12266
|
init_rpc();
|
|
@@ -12382,7 +12382,7 @@ async function sendCalls(client, parameters) {
|
|
|
12382
12382
|
}
|
|
12383
12383
|
}
|
|
12384
12384
|
|
|
12385
|
-
//
|
|
12385
|
+
// node_modules/viem/_esm/actions/wallet/getCallsStatus.js
|
|
12386
12386
|
async function getCallsStatus(client, parameters) {
|
|
12387
12387
|
async function getStatus(id) {
|
|
12388
12388
|
const isTransactions = id.endsWith(fallbackMagicIdentifier.slice(2));
|
|
@@ -12447,7 +12447,7 @@ async function getCallsStatus(client, parameters) {
|
|
|
12447
12447
|
};
|
|
12448
12448
|
}
|
|
12449
12449
|
|
|
12450
|
-
//
|
|
12450
|
+
// node_modules/viem/_esm/actions/wallet/waitForCallsStatus.js
|
|
12451
12451
|
async function waitForCallsStatus(client, parameters) {
|
|
12452
12452
|
const {
|
|
12453
12453
|
id,
|
|
@@ -12505,10 +12505,10 @@ var WaitForCallsStatusTimeoutError = class extends BaseError2 {
|
|
|
12505
12505
|
}
|
|
12506
12506
|
};
|
|
12507
12507
|
|
|
12508
|
-
//
|
|
12508
|
+
// node_modules/viem/_esm/clients/createClient.js
|
|
12509
12509
|
init_parseAccount();
|
|
12510
12510
|
|
|
12511
|
-
//
|
|
12511
|
+
// node_modules/viem/_esm/utils/uid.js
|
|
12512
12512
|
var size4 = 256;
|
|
12513
12513
|
var index = size4;
|
|
12514
12514
|
var buffer;
|
|
@@ -12523,7 +12523,7 @@ function uid(length = 11) {
|
|
|
12523
12523
|
return buffer.substring(index, index++ + length);
|
|
12524
12524
|
}
|
|
12525
12525
|
|
|
12526
|
-
//
|
|
12526
|
+
// node_modules/viem/_esm/clients/createClient.js
|
|
12527
12527
|
function createClient(parameters) {
|
|
12528
12528
|
const { batch, chain, ccipRead, dataSuffix, key = "base", name = "Base Client", tokens, type = "base" } = parameters;
|
|
12529
12529
|
const experimental_blockTag = parameters.experimental_blockTag ?? (typeof chain?.experimental_preconfirmationTime === "number" ? "pending" : void 0);
|
|
@@ -12604,7 +12604,7 @@ function bindActionDecorators(client, action) {
|
|
|
12604
12604
|
return wrapped;
|
|
12605
12605
|
}
|
|
12606
12606
|
|
|
12607
|
-
//
|
|
12607
|
+
// node_modules/viem/_esm/actions/ens/getEnsAddress.js
|
|
12608
12608
|
init_abis();
|
|
12609
12609
|
init_decodeFunctionResult();
|
|
12610
12610
|
init_encodeFunctionData();
|
|
@@ -12614,7 +12614,7 @@ init_size();
|
|
|
12614
12614
|
init_trim();
|
|
12615
12615
|
init_toHex();
|
|
12616
12616
|
|
|
12617
|
-
//
|
|
12617
|
+
// node_modules/viem/_esm/utils/ens/errors.js
|
|
12618
12618
|
init_base();
|
|
12619
12619
|
init_contract();
|
|
12620
12620
|
function isNullUniversalResolverError(err) {
|
|
@@ -12638,16 +12638,16 @@ function isNullUniversalResolverError(err) {
|
|
|
12638
12638
|
return false;
|
|
12639
12639
|
}
|
|
12640
12640
|
|
|
12641
|
-
//
|
|
12641
|
+
// node_modules/viem/_esm/actions/ens/getEnsAddress.js
|
|
12642
12642
|
init_localBatchGatewayRequest();
|
|
12643
12643
|
|
|
12644
|
-
//
|
|
12644
|
+
// node_modules/viem/_esm/utils/ens/namehash.js
|
|
12645
12645
|
init_concat();
|
|
12646
12646
|
init_toBytes();
|
|
12647
12647
|
init_toHex();
|
|
12648
12648
|
init_keccak256();
|
|
12649
12649
|
|
|
12650
|
-
//
|
|
12650
|
+
// node_modules/viem/_esm/utils/ens/encodedLabelToLabelhash.js
|
|
12651
12651
|
init_isHex();
|
|
12652
12652
|
function encodedLabelToLabelhash(label) {
|
|
12653
12653
|
if (label.length !== 66)
|
|
@@ -12662,7 +12662,7 @@ function encodedLabelToLabelhash(label) {
|
|
|
12662
12662
|
return hash3;
|
|
12663
12663
|
}
|
|
12664
12664
|
|
|
12665
|
-
//
|
|
12665
|
+
// node_modules/viem/_esm/utils/ens/namehash.js
|
|
12666
12666
|
function namehash(name) {
|
|
12667
12667
|
let result = new Uint8Array(32).fill(0);
|
|
12668
12668
|
if (!name)
|
|
@@ -12676,15 +12676,15 @@ function namehash(name) {
|
|
|
12676
12676
|
return bytesToHex(result);
|
|
12677
12677
|
}
|
|
12678
12678
|
|
|
12679
|
-
//
|
|
12679
|
+
// node_modules/viem/_esm/utils/ens/packetToBytes.js
|
|
12680
12680
|
init_toBytes();
|
|
12681
12681
|
|
|
12682
|
-
//
|
|
12682
|
+
// node_modules/viem/_esm/utils/ens/encodeLabelhash.js
|
|
12683
12683
|
function encodeLabelhash(hash3) {
|
|
12684
12684
|
return `[${hash3.slice(2)}]`;
|
|
12685
12685
|
}
|
|
12686
12686
|
|
|
12687
|
-
//
|
|
12687
|
+
// node_modules/viem/_esm/utils/ens/labelhash.js
|
|
12688
12688
|
init_toBytes();
|
|
12689
12689
|
init_toHex();
|
|
12690
12690
|
init_keccak256();
|
|
@@ -12695,7 +12695,7 @@ function labelhash(label) {
|
|
|
12695
12695
|
return encodedLabelToLabelhash(label) || keccak256(stringToBytes(label));
|
|
12696
12696
|
}
|
|
12697
12697
|
|
|
12698
|
-
//
|
|
12698
|
+
// node_modules/viem/_esm/utils/ens/packetToBytes.js
|
|
12699
12699
|
function packetToBytes(packet) {
|
|
12700
12700
|
const value = packet.replace(/^\.|\.$/gm, "");
|
|
12701
12701
|
if (value.length === 0)
|
|
@@ -12716,7 +12716,7 @@ function packetToBytes(packet) {
|
|
|
12716
12716
|
return bytes;
|
|
12717
12717
|
}
|
|
12718
12718
|
|
|
12719
|
-
//
|
|
12719
|
+
// node_modules/viem/_esm/actions/ens/getEnsAddress.js
|
|
12720
12720
|
async function getEnsAddress(client, parameters) {
|
|
12721
12721
|
const { blockNumber, blockTag, coinType, name, gatewayUrls, strict } = parameters;
|
|
12722
12722
|
const { chain } = client;
|
|
@@ -12793,7 +12793,7 @@ function decodeAddress2({ coinType, data, args }) {
|
|
|
12793
12793
|
}
|
|
12794
12794
|
}
|
|
12795
12795
|
|
|
12796
|
-
//
|
|
12796
|
+
// node_modules/viem/_esm/errors/ens.js
|
|
12797
12797
|
init_base();
|
|
12798
12798
|
var EnsAvatarInvalidMetadataError = class extends BaseError2 {
|
|
12799
12799
|
constructor({ data }) {
|
|
@@ -12825,7 +12825,7 @@ var EnsAvatarUnsupportedNamespaceError = class extends BaseError2 {
|
|
|
12825
12825
|
}
|
|
12826
12826
|
};
|
|
12827
12827
|
|
|
12828
|
-
//
|
|
12828
|
+
// node_modules/viem/_esm/utils/ens/avatar/utils.js
|
|
12829
12829
|
var networkRegex = /(?<protocol>https?:\/\/[^/]*|ipfs:\/|ipns:\/|ar:\/)?(?<root>\/)?(?<subpath>ipfs\/|ipns\/)?(?<target>[\w\-.]+)(?<subtarget>\/.*)?/;
|
|
12830
12830
|
var ipfsHashRegex = /^(Qm[1-9A-HJ-NP-Za-km-z]{44,}|b[A-Za-z2-7]{58,}|B[A-Z2-7]{58,}|z[1-9A-HJ-NP-Za-km-z]{48,}|F[0-9A-F]{50,})(\/(?<target>[\w\-.]+))?(?<subtarget>\/.*)?$/;
|
|
12831
12831
|
var base64Regex = /^data:([a-zA-Z\-/+]*);base64,([^"].*)/;
|
|
@@ -12996,7 +12996,7 @@ async function getNftTokenUri(client, { nft }) {
|
|
|
12996
12996
|
throw new EnsAvatarUnsupportedNamespaceError({ namespace: nft.namespace });
|
|
12997
12997
|
}
|
|
12998
12998
|
|
|
12999
|
-
//
|
|
12999
|
+
// node_modules/viem/_esm/utils/ens/avatar/parseAvatarRecord.js
|
|
13000
13000
|
async function parseAvatarRecord(client, { gatewayUrls, record }) {
|
|
13001
13001
|
if (/eip155:/i.test(record))
|
|
13002
13002
|
return parseNftAvatarUri(client, { gatewayUrls, record });
|
|
@@ -13026,7 +13026,7 @@ async function parseNftAvatarUri(client, { gatewayUrls, record }) {
|
|
|
13026
13026
|
});
|
|
13027
13027
|
}
|
|
13028
13028
|
|
|
13029
|
-
//
|
|
13029
|
+
// node_modules/viem/_esm/actions/ens/getEnsText.js
|
|
13030
13030
|
init_abis();
|
|
13031
13031
|
init_decodeFunctionResult();
|
|
13032
13032
|
init_encodeFunctionData();
|
|
@@ -13086,7 +13086,7 @@ async function getEnsText(client, parameters) {
|
|
|
13086
13086
|
}
|
|
13087
13087
|
}
|
|
13088
13088
|
|
|
13089
|
-
//
|
|
13089
|
+
// node_modules/viem/_esm/actions/ens/getEnsAvatar.js
|
|
13090
13090
|
async function getEnsAvatar(client, { blockNumber, blockTag, assetGatewayUrls, name, gatewayUrls, strict, universalResolverAddress }) {
|
|
13091
13091
|
const record = await getAction(client, getEnsText, "getEnsText")({
|
|
13092
13092
|
blockNumber,
|
|
@@ -13109,7 +13109,7 @@ async function getEnsAvatar(client, { blockNumber, blockTag, assetGatewayUrls, n
|
|
|
13109
13109
|
}
|
|
13110
13110
|
}
|
|
13111
13111
|
|
|
13112
|
-
//
|
|
13112
|
+
// node_modules/viem/_esm/actions/ens/getEnsName.js
|
|
13113
13113
|
init_abis();
|
|
13114
13114
|
init_getChainContractAddress();
|
|
13115
13115
|
init_localBatchGatewayRequest();
|
|
@@ -13148,7 +13148,7 @@ async function getEnsName(client, parameters) {
|
|
|
13148
13148
|
}
|
|
13149
13149
|
}
|
|
13150
13150
|
|
|
13151
|
-
//
|
|
13151
|
+
// node_modules/viem/_esm/actions/ens/getEnsResolver.js
|
|
13152
13152
|
init_getChainContractAddress();
|
|
13153
13153
|
init_toHex();
|
|
13154
13154
|
async function getEnsResolver(client, parameters) {
|
|
@@ -13191,10 +13191,10 @@ async function getEnsResolver(client, parameters) {
|
|
|
13191
13191
|
return resolverAddress;
|
|
13192
13192
|
}
|
|
13193
13193
|
|
|
13194
|
-
//
|
|
13194
|
+
// node_modules/viem/_esm/clients/decorators/public.js
|
|
13195
13195
|
init_call();
|
|
13196
13196
|
|
|
13197
|
-
//
|
|
13197
|
+
// node_modules/viem/_esm/actions/public/createAccessList.js
|
|
13198
13198
|
init_parseAccount();
|
|
13199
13199
|
init_base();
|
|
13200
13200
|
init_toHex();
|
|
@@ -13244,7 +13244,7 @@ async function createAccessList(client, args) {
|
|
|
13244
13244
|
}
|
|
13245
13245
|
}
|
|
13246
13246
|
|
|
13247
|
-
//
|
|
13247
|
+
// node_modules/viem/_esm/actions/public/createBlockFilter.js
|
|
13248
13248
|
async function createBlockFilter(client) {
|
|
13249
13249
|
const getRequest = createFilterRequestScope(client, {
|
|
13250
13250
|
method: "eth_newBlockFilter"
|
|
@@ -13255,7 +13255,7 @@ async function createBlockFilter(client) {
|
|
|
13255
13255
|
return { id, request: getRequest(id), type: "block" };
|
|
13256
13256
|
}
|
|
13257
13257
|
|
|
13258
|
-
//
|
|
13258
|
+
// node_modules/viem/_esm/actions/public/createEventFilter.js
|
|
13259
13259
|
init_toHex();
|
|
13260
13260
|
async function createEventFilter(client, { address, args, event, events: events_, fromBlock, strict, toBlock } = {}) {
|
|
13261
13261
|
const events = events_ ?? (event ? [event] : void 0);
|
|
@@ -13297,7 +13297,7 @@ async function createEventFilter(client, { address, args, event, events: events_
|
|
|
13297
13297
|
};
|
|
13298
13298
|
}
|
|
13299
13299
|
|
|
13300
|
-
//
|
|
13300
|
+
// node_modules/viem/_esm/actions/public/createPendingTransactionFilter.js
|
|
13301
13301
|
async function createPendingTransactionFilter(client) {
|
|
13302
13302
|
const getRequest = createFilterRequestScope(client, {
|
|
13303
13303
|
method: "eth_newPendingTransactionFilter"
|
|
@@ -13308,7 +13308,7 @@ async function createPendingTransactionFilter(client) {
|
|
|
13308
13308
|
return { id, request: getRequest(id), type: "transaction" };
|
|
13309
13309
|
}
|
|
13310
13310
|
|
|
13311
|
-
//
|
|
13311
|
+
// node_modules/viem/_esm/actions/public/getBalance.js
|
|
13312
13312
|
init_abis();
|
|
13313
13313
|
init_decodeFunctionResult();
|
|
13314
13314
|
init_encodeFunctionData();
|
|
@@ -13350,7 +13350,7 @@ async function getBalance(client, { address, blockHash, blockNumber, blockTag =
|
|
|
13350
13350
|
return BigInt(balance);
|
|
13351
13351
|
}
|
|
13352
13352
|
|
|
13353
|
-
//
|
|
13353
|
+
// node_modules/viem/_esm/actions/public/getBlobBaseFee.js
|
|
13354
13354
|
async function getBlobBaseFee(client) {
|
|
13355
13355
|
const baseFee = await client.request({
|
|
13356
13356
|
method: "eth_blobBaseFee"
|
|
@@ -13358,7 +13358,7 @@ async function getBlobBaseFee(client) {
|
|
|
13358
13358
|
return BigInt(baseFee);
|
|
13359
13359
|
}
|
|
13360
13360
|
|
|
13361
|
-
//
|
|
13361
|
+
// node_modules/viem/_esm/actions/public/getBlockReceipts.js
|
|
13362
13362
|
init_toHex();
|
|
13363
13363
|
async function getBlockReceipts(client, { blockHash, blockNumber, blockTag = client.experimental_blockTag ?? "latest" } = {}) {
|
|
13364
13364
|
const blockNumberHex = blockNumber !== void 0 ? numberToHex(blockNumber) : void 0;
|
|
@@ -13372,7 +13372,7 @@ async function getBlockReceipts(client, { blockHash, blockNumber, blockTag = cli
|
|
|
13372
13372
|
return receipts.map((receipt) => format2(receipt, "getBlockReceipts"));
|
|
13373
13373
|
}
|
|
13374
13374
|
|
|
13375
|
-
//
|
|
13375
|
+
// node_modules/viem/_esm/actions/public/getBlockTransactionCount.js
|
|
13376
13376
|
init_fromHex();
|
|
13377
13377
|
init_toHex();
|
|
13378
13378
|
async function getBlockTransactionCount(client, { blockHash, blockNumber, blockTag = "latest" } = {}) {
|
|
@@ -13392,7 +13392,7 @@ async function getBlockTransactionCount(client, { blockHash, blockNumber, blockT
|
|
|
13392
13392
|
return hexToNumber(count);
|
|
13393
13393
|
}
|
|
13394
13394
|
|
|
13395
|
-
//
|
|
13395
|
+
// node_modules/viem/_esm/actions/public/getCode.js
|
|
13396
13396
|
init_formatBlockParameter();
|
|
13397
13397
|
async function getCode(client, { address, blockHash, blockNumber, blockTag = "latest", requireCanonical }) {
|
|
13398
13398
|
const block = formatBlockParameter({
|
|
@@ -13412,7 +13412,7 @@ async function getCode(client, { address, blockHash, blockNumber, blockTag = "la
|
|
|
13412
13412
|
return hex;
|
|
13413
13413
|
}
|
|
13414
13414
|
|
|
13415
|
-
//
|
|
13415
|
+
// node_modules/viem/_esm/actions/public/getDelegation.js
|
|
13416
13416
|
init_getAddress();
|
|
13417
13417
|
init_size();
|
|
13418
13418
|
init_slice();
|
|
@@ -13430,7 +13430,7 @@ async function getDelegation(client, { address, blockNumber, blockTag = "latest"
|
|
|
13430
13430
|
return getAddress(slice(code, 3, 23));
|
|
13431
13431
|
}
|
|
13432
13432
|
|
|
13433
|
-
//
|
|
13433
|
+
// node_modules/viem/_esm/errors/eip712.js
|
|
13434
13434
|
init_base();
|
|
13435
13435
|
var Eip712DomainNotFoundError = class extends BaseError2 {
|
|
13436
13436
|
constructor({ address }) {
|
|
@@ -13446,7 +13446,7 @@ var Eip712DomainNotFoundError = class extends BaseError2 {
|
|
|
13446
13446
|
}
|
|
13447
13447
|
};
|
|
13448
13448
|
|
|
13449
|
-
//
|
|
13449
|
+
// node_modules/viem/_esm/actions/public/getEip712Domain.js
|
|
13450
13450
|
async function getEip712Domain(client, parameters) {
|
|
13451
13451
|
const { address, factory, factoryData } = parameters;
|
|
13452
13452
|
try {
|
|
@@ -13494,10 +13494,10 @@ var abi = [
|
|
|
13494
13494
|
}
|
|
13495
13495
|
];
|
|
13496
13496
|
|
|
13497
|
-
//
|
|
13497
|
+
// node_modules/viem/_esm/actions/public/getFeeHistory.js
|
|
13498
13498
|
init_toHex();
|
|
13499
13499
|
|
|
13500
|
-
//
|
|
13500
|
+
// node_modules/viem/_esm/utils/formatters/feeHistory.js
|
|
13501
13501
|
function formatFeeHistory(feeHistory) {
|
|
13502
13502
|
return {
|
|
13503
13503
|
baseFeePerGas: feeHistory.baseFeePerGas.map((value) => BigInt(value)),
|
|
@@ -13507,7 +13507,7 @@ function formatFeeHistory(feeHistory) {
|
|
|
13507
13507
|
};
|
|
13508
13508
|
}
|
|
13509
13509
|
|
|
13510
|
-
//
|
|
13510
|
+
// node_modules/viem/_esm/actions/public/getFeeHistory.js
|
|
13511
13511
|
async function getFeeHistory(client, { blockCount, blockNumber, blockTag = "latest", rewardPercentiles }) {
|
|
13512
13512
|
const blockNumberHex = typeof blockNumber === "bigint" ? numberToHex(blockNumber) : void 0;
|
|
13513
13513
|
const feeHistory = await client.request({
|
|
@@ -13521,7 +13521,7 @@ async function getFeeHistory(client, { blockCount, blockNumber, blockTag = "late
|
|
|
13521
13521
|
return formatFeeHistory(feeHistory);
|
|
13522
13522
|
}
|
|
13523
13523
|
|
|
13524
|
-
//
|
|
13524
|
+
// node_modules/viem/_esm/actions/public/getFilterLogs.js
|
|
13525
13525
|
async function getFilterLogs(_client, { filter }) {
|
|
13526
13526
|
const strict = filter.strict ?? false;
|
|
13527
13527
|
const logs = await filter.request({
|
|
@@ -13538,22 +13538,22 @@ async function getFilterLogs(_client, { filter }) {
|
|
|
13538
13538
|
});
|
|
13539
13539
|
}
|
|
13540
13540
|
|
|
13541
|
-
//
|
|
13541
|
+
// node_modules/viem/_esm/actions/public/getProof.js
|
|
13542
13542
|
init_formatBlockParameter();
|
|
13543
13543
|
|
|
13544
|
-
//
|
|
13544
|
+
// node_modules/viem/_esm/utils/index.js
|
|
13545
13545
|
init_encodeFunctionData();
|
|
13546
13546
|
|
|
13547
|
-
//
|
|
13547
|
+
// node_modules/viem/_esm/utils/authorization/serializeAuthorizationList.js
|
|
13548
13548
|
init_toHex();
|
|
13549
13549
|
|
|
13550
|
-
//
|
|
13550
|
+
// node_modules/viem/_esm/utils/transaction/serializeTransaction.js
|
|
13551
13551
|
init_transaction();
|
|
13552
13552
|
init_concat();
|
|
13553
13553
|
init_trim();
|
|
13554
13554
|
init_toHex();
|
|
13555
13555
|
|
|
13556
|
-
//
|
|
13556
|
+
// node_modules/viem/_esm/utils/transaction/assertTransaction.js
|
|
13557
13557
|
init_number();
|
|
13558
13558
|
init_address();
|
|
13559
13559
|
init_base();
|
|
@@ -13630,7 +13630,7 @@ function assertTransactionLegacy(transaction) {
|
|
|
13630
13630
|
throw new FeeCapTooHighError({ maxFeePerGas: gasPrice });
|
|
13631
13631
|
}
|
|
13632
13632
|
|
|
13633
|
-
//
|
|
13633
|
+
// node_modules/viem/_esm/utils/transaction/serializeAccessList.js
|
|
13634
13634
|
init_address();
|
|
13635
13635
|
init_transaction();
|
|
13636
13636
|
init_isAddress();
|
|
@@ -13653,7 +13653,7 @@ function serializeAccessList(accessList) {
|
|
|
13653
13653
|
return serializedAccessList;
|
|
13654
13654
|
}
|
|
13655
13655
|
|
|
13656
|
-
//
|
|
13656
|
+
// node_modules/viem/_esm/utils/transaction/serializeTransaction.js
|
|
13657
13657
|
function serializeTransaction(transaction, signature) {
|
|
13658
13658
|
const type = getTransactionType(transaction);
|
|
13659
13659
|
if (type === "eip1559")
|
|
@@ -13853,7 +13853,7 @@ function toYParitySignatureArray(transaction, signature_) {
|
|
|
13853
13853
|
return [yParity_, r === "0x00" ? "0x" : r, s === "0x00" ? "0x" : s];
|
|
13854
13854
|
}
|
|
13855
13855
|
|
|
13856
|
-
//
|
|
13856
|
+
// node_modules/viem/_esm/utils/authorization/serializeAuthorizationList.js
|
|
13857
13857
|
function serializeAuthorizationList(authorizationList) {
|
|
13858
13858
|
if (!authorizationList || authorizationList.length === 0)
|
|
13859
13859
|
return [];
|
|
@@ -13871,7 +13871,7 @@ function serializeAuthorizationList(authorizationList) {
|
|
|
13871
13871
|
return serializedAuthorizationList;
|
|
13872
13872
|
}
|
|
13873
13873
|
|
|
13874
|
-
//
|
|
13874
|
+
// node_modules/viem/_esm/utils/authorization/verifyAuthorization.js
|
|
13875
13875
|
init_getAddress();
|
|
13876
13876
|
init_isAddressEqual();
|
|
13877
13877
|
async function verifyAuthorization({ address, authorization, signature }) {
|
|
@@ -13881,13 +13881,13 @@ async function verifyAuthorization({ address, authorization, signature }) {
|
|
|
13881
13881
|
}));
|
|
13882
13882
|
}
|
|
13883
13883
|
|
|
13884
|
-
//
|
|
13884
|
+
// node_modules/viem/_esm/utils/buildRequest.js
|
|
13885
13885
|
init_base();
|
|
13886
13886
|
init_request();
|
|
13887
13887
|
init_rpc();
|
|
13888
13888
|
init_utils3();
|
|
13889
13889
|
|
|
13890
|
-
//
|
|
13890
|
+
// node_modules/viem/_esm/utils/promise/withDedupe.js
|
|
13891
13891
|
init_lru();
|
|
13892
13892
|
var promiseCache2 = /* @__PURE__ */ new LruMap(8192);
|
|
13893
13893
|
function withDedupe(fn, { enabled = true, id }) {
|
|
@@ -13900,7 +13900,7 @@ function withDedupe(fn, { enabled = true, id }) {
|
|
|
13900
13900
|
return promise;
|
|
13901
13901
|
}
|
|
13902
13902
|
|
|
13903
|
-
//
|
|
13903
|
+
// node_modules/viem/_esm/utils/buildRequest.js
|
|
13904
13904
|
init_stringify();
|
|
13905
13905
|
function buildRequest(request, options = {}) {
|
|
13906
13906
|
return async (args, overrideOptions = {}) => {
|
|
@@ -14088,7 +14088,7 @@ function hashString(str, seed = 0) {
|
|
|
14088
14088
|
return (4294967296 * (2097151 & h2) + (h1 >>> 0)).toString(36);
|
|
14089
14089
|
}
|
|
14090
14090
|
|
|
14091
|
-
//
|
|
14091
|
+
// node_modules/viem/_esm/utils/chain/defineChain.js
|
|
14092
14092
|
function defineChain(chain) {
|
|
14093
14093
|
const chainInstance = {
|
|
14094
14094
|
formatters: void 0,
|
|
@@ -14108,14 +14108,14 @@ function defineChain(chain) {
|
|
|
14108
14108
|
});
|
|
14109
14109
|
}
|
|
14110
14110
|
|
|
14111
|
-
//
|
|
14111
|
+
// node_modules/viem/_esm/utils/index.js
|
|
14112
14112
|
init_fromHex();
|
|
14113
14113
|
|
|
14114
|
-
//
|
|
14114
|
+
// node_modules/viem/_esm/utils/rpc/http.js
|
|
14115
14115
|
init_request();
|
|
14116
14116
|
init_utils3();
|
|
14117
14117
|
|
|
14118
|
-
//
|
|
14118
|
+
// node_modules/viem/_esm/utils/promise/withTimeout.js
|
|
14119
14119
|
init_utils3();
|
|
14120
14120
|
function withTimeout(fn, { errorInstance = new Error("timed out"), timeout, signal }) {
|
|
14121
14121
|
return new Promise((resolve, reject) => {
|
|
@@ -14147,10 +14147,10 @@ function withTimeout(fn, { errorInstance = new Error("timed out"), timeout, sign
|
|
|
14147
14147
|
});
|
|
14148
14148
|
}
|
|
14149
14149
|
|
|
14150
|
-
//
|
|
14150
|
+
// node_modules/viem/_esm/utils/rpc/http.js
|
|
14151
14151
|
init_stringify();
|
|
14152
14152
|
|
|
14153
|
-
//
|
|
14153
|
+
// node_modules/viem/_esm/utils/rpc/id.js
|
|
14154
14154
|
function createIdStore() {
|
|
14155
14155
|
return {
|
|
14156
14156
|
current: 0,
|
|
@@ -14164,7 +14164,7 @@ function createIdStore() {
|
|
|
14164
14164
|
}
|
|
14165
14165
|
var idCache = /* @__PURE__ */ createIdStore();
|
|
14166
14166
|
|
|
14167
|
-
//
|
|
14167
|
+
// node_modules/viem/_esm/utils/rpc/http.js
|
|
14168
14168
|
var defaultMaxResponseBodySize = 10485760;
|
|
14169
14169
|
function getHttpRpcClient(url_, options = {}) {
|
|
14170
14170
|
const { url: url2, headers: headers_url } = parseUrl(url_);
|
|
@@ -14324,13 +14324,13 @@ function parseUrl(url_) {
|
|
|
14324
14324
|
}
|
|
14325
14325
|
}
|
|
14326
14326
|
|
|
14327
|
-
//
|
|
14327
|
+
// node_modules/viem/_esm/utils/signature/hashMessage.js
|
|
14328
14328
|
init_keccak256();
|
|
14329
14329
|
|
|
14330
|
-
//
|
|
14330
|
+
// node_modules/viem/_esm/constants/strings.js
|
|
14331
14331
|
var presignMessagePrefix = "Ethereum Signed Message:\n";
|
|
14332
14332
|
|
|
14333
|
-
//
|
|
14333
|
+
// node_modules/viem/_esm/utils/signature/toPrefixedMessage.js
|
|
14334
14334
|
init_concat();
|
|
14335
14335
|
init_size();
|
|
14336
14336
|
init_toHex();
|
|
@@ -14346,22 +14346,22 @@ function toPrefixedMessage(message_) {
|
|
|
14346
14346
|
return concat([prefix, message]);
|
|
14347
14347
|
}
|
|
14348
14348
|
|
|
14349
|
-
//
|
|
14349
|
+
// node_modules/viem/_esm/utils/signature/hashMessage.js
|
|
14350
14350
|
function hashMessage(message, to_) {
|
|
14351
14351
|
return keccak256(toPrefixedMessage(message), to_);
|
|
14352
14352
|
}
|
|
14353
14353
|
|
|
14354
|
-
//
|
|
14354
|
+
// node_modules/viem/_esm/utils/signature/hashTypedData.js
|
|
14355
14355
|
init_encodeAbiParameters();
|
|
14356
14356
|
init_concat();
|
|
14357
14357
|
init_toHex();
|
|
14358
14358
|
init_keccak256();
|
|
14359
14359
|
|
|
14360
|
-
//
|
|
14360
|
+
// node_modules/viem/_esm/utils/typedData.js
|
|
14361
14361
|
init_abi();
|
|
14362
14362
|
init_address();
|
|
14363
14363
|
|
|
14364
|
-
//
|
|
14364
|
+
// node_modules/viem/_esm/errors/typedData.js
|
|
14365
14365
|
init_stringify();
|
|
14366
14366
|
init_base();
|
|
14367
14367
|
var InvalidDomainError = class extends BaseError2 {
|
|
@@ -14397,7 +14397,7 @@ var InvalidTypedDataTypeError = class extends BaseError2 {
|
|
|
14397
14397
|
}
|
|
14398
14398
|
};
|
|
14399
14399
|
|
|
14400
|
-
//
|
|
14400
|
+
// node_modules/viem/_esm/utils/typedData.js
|
|
14401
14401
|
init_isAddress();
|
|
14402
14402
|
init_size();
|
|
14403
14403
|
init_toHex();
|
|
@@ -14495,7 +14495,7 @@ function validateReference(type) {
|
|
|
14495
14495
|
throw new InvalidStructTypeError({ type });
|
|
14496
14496
|
}
|
|
14497
14497
|
|
|
14498
|
-
//
|
|
14498
|
+
// node_modules/viem/_esm/utils/signature/hashTypedData.js
|
|
14499
14499
|
function hashTypedData(parameters) {
|
|
14500
14500
|
const { domain = {}, message, primaryType } = parameters;
|
|
14501
14501
|
const types = {
|
|
@@ -14605,7 +14605,7 @@ function encodeField({ types, name, type, value }) {
|
|
|
14605
14605
|
return [{ type }, value];
|
|
14606
14606
|
}
|
|
14607
14607
|
|
|
14608
|
-
//
|
|
14608
|
+
// node_modules/ox/_esm/erc8010/SignatureErc8010.js
|
|
14609
14609
|
var SignatureErc8010_exports = {};
|
|
14610
14610
|
__export(SignatureErc8010_exports, {
|
|
14611
14611
|
InvalidWrappedSignatureError: () => InvalidWrappedSignatureError,
|
|
@@ -14618,13 +14618,13 @@ __export(SignatureErc8010_exports, {
|
|
|
14618
14618
|
wrap: () => wrap
|
|
14619
14619
|
});
|
|
14620
14620
|
|
|
14621
|
-
//
|
|
14621
|
+
// node_modules/ox/_esm/core/AbiParameters.js
|
|
14622
14622
|
init_exports();
|
|
14623
14623
|
|
|
14624
|
-
//
|
|
14624
|
+
// node_modules/ox/_esm/core/Address.js
|
|
14625
14625
|
init_Bytes();
|
|
14626
14626
|
|
|
14627
|
-
//
|
|
14627
|
+
// node_modules/ox/_esm/core/internal/lru.js
|
|
14628
14628
|
var LruMap2 = class extends Map {
|
|
14629
14629
|
constructor(size5) {
|
|
14630
14630
|
super();
|
|
@@ -14655,16 +14655,16 @@ var LruMap2 = class extends Map {
|
|
|
14655
14655
|
}
|
|
14656
14656
|
};
|
|
14657
14657
|
|
|
14658
|
-
//
|
|
14658
|
+
// node_modules/ox/_esm/core/Caches.js
|
|
14659
14659
|
var caches = {
|
|
14660
14660
|
checksum: /* @__PURE__ */ new LruMap2(8192)
|
|
14661
14661
|
};
|
|
14662
14662
|
var checksum = caches.checksum;
|
|
14663
14663
|
|
|
14664
|
-
//
|
|
14664
|
+
// node_modules/ox/_esm/core/Address.js
|
|
14665
14665
|
init_Errors();
|
|
14666
14666
|
|
|
14667
|
-
//
|
|
14667
|
+
// node_modules/ox/_esm/core/Hash.js
|
|
14668
14668
|
init_sha3();
|
|
14669
14669
|
init_Bytes();
|
|
14670
14670
|
init_Hex();
|
|
@@ -14676,7 +14676,7 @@ function keccak2562(value, options = {}) {
|
|
|
14676
14676
|
return fromBytes(bytes);
|
|
14677
14677
|
}
|
|
14678
14678
|
|
|
14679
|
-
//
|
|
14679
|
+
// node_modules/ox/_esm/core/PublicKey.js
|
|
14680
14680
|
init_Bytes();
|
|
14681
14681
|
init_Errors();
|
|
14682
14682
|
init_Hex();
|
|
@@ -14829,7 +14829,7 @@ var InvalidSerializedSizeError = class extends BaseError3 {
|
|
|
14829
14829
|
}
|
|
14830
14830
|
};
|
|
14831
14831
|
|
|
14832
|
-
//
|
|
14832
|
+
// node_modules/ox/_esm/core/Address.js
|
|
14833
14833
|
var addressRegex2 = /^0x[a-fA-F0-9]{40}$/;
|
|
14834
14834
|
function assert4(value, options = {}) {
|
|
14835
14835
|
const { strict = true } = options;
|
|
@@ -14923,17 +14923,17 @@ var InvalidChecksumError = class extends BaseError3 {
|
|
|
14923
14923
|
}
|
|
14924
14924
|
};
|
|
14925
14925
|
|
|
14926
|
-
//
|
|
14926
|
+
// node_modules/ox/_esm/core/AbiParameters.js
|
|
14927
14927
|
init_Bytes();
|
|
14928
14928
|
init_Errors();
|
|
14929
14929
|
init_Hex();
|
|
14930
14930
|
|
|
14931
|
-
//
|
|
14931
|
+
// node_modules/ox/_esm/core/internal/abiParameters.js
|
|
14932
14932
|
init_Bytes();
|
|
14933
14933
|
init_Errors();
|
|
14934
14934
|
init_Hex();
|
|
14935
14935
|
|
|
14936
|
-
//
|
|
14936
|
+
// node_modules/ox/_esm/core/Solidity.js
|
|
14937
14937
|
var arrayRegex = /^(.*)\[([0-9]*)\]$/;
|
|
14938
14938
|
var bytesRegex3 = /^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/;
|
|
14939
14939
|
var integerRegex3 = /^(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)?$/;
|
|
@@ -15034,7 +15034,7 @@ var maxUint2402 = 2n ** 240n - 1n;
|
|
|
15034
15034
|
var maxUint2482 = 2n ** 248n - 1n;
|
|
15035
15035
|
var maxUint2562 = 2n ** 256n - 1n;
|
|
15036
15036
|
|
|
15037
|
-
//
|
|
15037
|
+
// node_modules/ox/_esm/core/internal/abiParameters.js
|
|
15038
15038
|
function decodeParameter2(cursor, param, options) {
|
|
15039
15039
|
const { checksumAddress: checksumAddress2, staticPosition } = options;
|
|
15040
15040
|
const arrayComponents = getArrayComponents2(param.type);
|
|
@@ -15431,7 +15431,7 @@ function hasDynamicChild2(param) {
|
|
|
15431
15431
|
return false;
|
|
15432
15432
|
}
|
|
15433
15433
|
|
|
15434
|
-
//
|
|
15434
|
+
// node_modules/ox/_esm/core/internal/cursor.js
|
|
15435
15435
|
init_Errors();
|
|
15436
15436
|
var staticCursor2 = {
|
|
15437
15437
|
bytes: new Uint8Array(),
|
|
@@ -15634,7 +15634,7 @@ var RecursiveReadLimitExceededError2 = class extends BaseError3 {
|
|
|
15634
15634
|
}
|
|
15635
15635
|
};
|
|
15636
15636
|
|
|
15637
|
-
//
|
|
15637
|
+
// node_modules/ox/_esm/core/AbiParameters.js
|
|
15638
15638
|
function decode(parameters, data, options = {}) {
|
|
15639
15639
|
const { as = "Array", checksumAddress: checksumAddress2 = false } = options;
|
|
15640
15640
|
const bytes = typeof data === "string" ? fromHex(data) : data;
|
|
@@ -15837,10 +15837,10 @@ var InvalidTypeError = class extends BaseError3 {
|
|
|
15837
15837
|
}
|
|
15838
15838
|
};
|
|
15839
15839
|
|
|
15840
|
-
//
|
|
15840
|
+
// node_modules/ox/_esm/core/Authorization.js
|
|
15841
15841
|
init_Hex();
|
|
15842
15842
|
|
|
15843
|
-
//
|
|
15843
|
+
// node_modules/ox/_esm/core/Rlp.js
|
|
15844
15844
|
init_Bytes();
|
|
15845
15845
|
init_Errors();
|
|
15846
15846
|
init_Hex();
|
|
@@ -15937,7 +15937,7 @@ function getSizeOfLength2(length) {
|
|
|
15937
15937
|
throw new BaseError3("Length is too large.");
|
|
15938
15938
|
}
|
|
15939
15939
|
|
|
15940
|
-
//
|
|
15940
|
+
// node_modules/ox/_esm/core/Signature.js
|
|
15941
15941
|
init_Errors();
|
|
15942
15942
|
init_Hex();
|
|
15943
15943
|
init_Json();
|
|
@@ -16123,7 +16123,7 @@ var InvalidVError = class extends BaseError3 {
|
|
|
16123
16123
|
}
|
|
16124
16124
|
};
|
|
16125
16125
|
|
|
16126
|
-
//
|
|
16126
|
+
// node_modules/ox/_esm/core/Authorization.js
|
|
16127
16127
|
function from9(authorization, options = {}) {
|
|
16128
16128
|
if (typeof authorization.chainId === "string")
|
|
16129
16129
|
return fromRpc3(authorization);
|
|
@@ -16161,11 +16161,11 @@ function toTuple2(authorization) {
|
|
|
16161
16161
|
];
|
|
16162
16162
|
}
|
|
16163
16163
|
|
|
16164
|
-
//
|
|
16164
|
+
// node_modules/ox/_esm/erc8010/SignatureErc8010.js
|
|
16165
16165
|
init_Errors();
|
|
16166
16166
|
init_Hex();
|
|
16167
16167
|
|
|
16168
|
-
//
|
|
16168
|
+
// node_modules/ox/_esm/core/Secp256k1.js
|
|
16169
16169
|
init_secp256k1();
|
|
16170
16170
|
init_Bytes();
|
|
16171
16171
|
init_Hex();
|
|
@@ -16181,7 +16181,7 @@ function recoverPublicKey2(options) {
|
|
|
16181
16181
|
}
|
|
16182
16182
|
var fromSeedDomain = fromString("ox.secp256k1.fromSeed.v1");
|
|
16183
16183
|
|
|
16184
|
-
//
|
|
16184
|
+
// node_modules/ox/_esm/erc8010/SignatureErc8010.js
|
|
16185
16185
|
var magicBytes = "0x8010801080108010801080108010801080108010801080108010801080108010";
|
|
16186
16186
|
var suffixParameters = from6("(uint256 chainId, address delegation, uint256 nonce, uint8 yParity, uint256 r, uint256 s), address to, bytes data");
|
|
16187
16187
|
function assert6(value) {
|
|
@@ -16255,19 +16255,19 @@ var InvalidWrappedSignatureError = class extends BaseError3 {
|
|
|
16255
16255
|
}
|
|
16256
16256
|
};
|
|
16257
16257
|
|
|
16258
|
-
//
|
|
16258
|
+
// node_modules/viem/_esm/utils/unit/formatUnits.js
|
|
16259
16259
|
init_Value();
|
|
16260
16260
|
function formatUnits(value, decimals) {
|
|
16261
16261
|
return format(value, decimals);
|
|
16262
16262
|
}
|
|
16263
16263
|
|
|
16264
|
-
//
|
|
16264
|
+
// node_modules/viem/_esm/utils/unit/parseUnits.js
|
|
16265
16265
|
init_Value();
|
|
16266
16266
|
function parseUnits(value, decimals) {
|
|
16267
16267
|
return from(value, decimals);
|
|
16268
16268
|
}
|
|
16269
16269
|
|
|
16270
|
-
//
|
|
16270
|
+
// node_modules/viem/_esm/utils/formatters/proof.js
|
|
16271
16271
|
function formatStorageProof(storageProof) {
|
|
16272
16272
|
return storageProof.map((proof) => ({
|
|
16273
16273
|
...proof,
|
|
@@ -16283,7 +16283,7 @@ function formatProof(proof) {
|
|
|
16283
16283
|
};
|
|
16284
16284
|
}
|
|
16285
16285
|
|
|
16286
|
-
//
|
|
16286
|
+
// node_modules/viem/_esm/actions/public/getProof.js
|
|
16287
16287
|
async function getProof(client, { address, blockHash, blockNumber, blockTag = "latest", requireCanonical, storageKeys }) {
|
|
16288
16288
|
const block = formatBlockParameter({
|
|
16289
16289
|
blockHash,
|
|
@@ -16298,7 +16298,7 @@ async function getProof(client, { address, blockHash, blockNumber, blockTag = "l
|
|
|
16298
16298
|
return formatProof(proof);
|
|
16299
16299
|
}
|
|
16300
16300
|
|
|
16301
|
-
//
|
|
16301
|
+
// node_modules/viem/_esm/actions/public/getRawTransaction.js
|
|
16302
16302
|
init_transaction();
|
|
16303
16303
|
async function getRawTransaction(client, { hash: hash3 }) {
|
|
16304
16304
|
const rawTransaction = await client.request({
|
|
@@ -16310,7 +16310,7 @@ async function getRawTransaction(client, { hash: hash3 }) {
|
|
|
16310
16310
|
return rawTransaction;
|
|
16311
16311
|
}
|
|
16312
16312
|
|
|
16313
|
-
//
|
|
16313
|
+
// node_modules/viem/_esm/actions/public/getStorageAt.js
|
|
16314
16314
|
init_formatBlockParameter();
|
|
16315
16315
|
async function getStorageAt(client, { address, blockHash, blockNumber, blockTag = "latest", requireCanonical, slot }) {
|
|
16316
16316
|
const block = formatBlockParameter({
|
|
@@ -16326,7 +16326,7 @@ async function getStorageAt(client, { address, blockHash, blockNumber, blockTag
|
|
|
16326
16326
|
return data;
|
|
16327
16327
|
}
|
|
16328
16328
|
|
|
16329
|
-
//
|
|
16329
|
+
// node_modules/viem/_esm/actions/public/getStorageValues.js
|
|
16330
16330
|
init_formatBlockParameter();
|
|
16331
16331
|
async function getStorageValues(client, { blockHash, blockNumber, blockTag = "latest", requireCanonical, requests }) {
|
|
16332
16332
|
const block = formatBlockParameter({
|
|
@@ -16341,7 +16341,7 @@ async function getStorageValues(client, { blockHash, blockNumber, blockTag = "la
|
|
|
16341
16341
|
});
|
|
16342
16342
|
}
|
|
16343
16343
|
|
|
16344
|
-
//
|
|
16344
|
+
// node_modules/viem/_esm/actions/public/getTransaction.js
|
|
16345
16345
|
init_transaction();
|
|
16346
16346
|
init_toHex();
|
|
16347
16347
|
async function getTransaction(client, { blockHash, blockNumber, blockTag: blockTag_, hash: hash3, index: index2, sender: sender2, nonce }) {
|
|
@@ -16381,7 +16381,7 @@ async function getTransaction(client, { blockHash, blockNumber, blockTag: blockT
|
|
|
16381
16381
|
return format2(transaction, "getTransaction");
|
|
16382
16382
|
}
|
|
16383
16383
|
|
|
16384
|
-
//
|
|
16384
|
+
// node_modules/viem/_esm/actions/public/getTransactionConfirmations.js
|
|
16385
16385
|
async function getTransactionConfirmations(client, { hash: hash3, transactionReceipt }) {
|
|
16386
16386
|
const [blockNumber, transaction] = await Promise.all([
|
|
16387
16387
|
getAction(client, getBlockNumber, "getBlockNumber")({}),
|
|
@@ -16393,7 +16393,7 @@ async function getTransactionConfirmations(client, { hash: hash3, transactionRec
|
|
|
16393
16393
|
return blockNumber - transactionBlockNumber + 1n;
|
|
16394
16394
|
}
|
|
16395
16395
|
|
|
16396
|
-
//
|
|
16396
|
+
// node_modules/viem/_esm/actions/public/getTransactionReceipt.js
|
|
16397
16397
|
init_transaction();
|
|
16398
16398
|
async function getTransactionReceipt(client, { hash: hash3 }) {
|
|
16399
16399
|
const receipt = await client.request({
|
|
@@ -16406,7 +16406,7 @@ async function getTransactionReceipt(client, { hash: hash3 }) {
|
|
|
16406
16406
|
return format2(receipt, "getTransactionReceipt");
|
|
16407
16407
|
}
|
|
16408
16408
|
|
|
16409
|
-
//
|
|
16409
|
+
// node_modules/viem/_esm/actions/public/multicall.js
|
|
16410
16410
|
init_abis();
|
|
16411
16411
|
init_contracts();
|
|
16412
16412
|
init_abi();
|
|
@@ -16590,7 +16590,7 @@ async function scheduleMulticall2(client, parameters) {
|
|
|
16590
16590
|
return result;
|
|
16591
16591
|
}
|
|
16592
16592
|
|
|
16593
|
-
//
|
|
16593
|
+
// node_modules/viem/_esm/actions/public/simulateBlocks.js
|
|
16594
16594
|
init_BlockOverrides();
|
|
16595
16595
|
init_parseAccount();
|
|
16596
16596
|
init_abi();
|
|
@@ -16695,12 +16695,12 @@ async function simulateBlocks(client, parameters) {
|
|
|
16695
16695
|
}
|
|
16696
16696
|
}
|
|
16697
16697
|
|
|
16698
|
-
//
|
|
16698
|
+
// node_modules/ox/_esm/core/AbiItem.js
|
|
16699
16699
|
init_exports();
|
|
16700
16700
|
init_Errors();
|
|
16701
16701
|
init_Hex();
|
|
16702
16702
|
|
|
16703
|
-
//
|
|
16703
|
+
// node_modules/ox/_esm/core/internal/abiItem.js
|
|
16704
16704
|
init_Errors();
|
|
16705
16705
|
function normalizeSignature2(signature) {
|
|
16706
16706
|
let active = true;
|
|
@@ -16802,7 +16802,7 @@ function getAmbiguousTypes2(sourceParameters, targetParameters, args) {
|
|
|
16802
16802
|
return;
|
|
16803
16803
|
}
|
|
16804
16804
|
|
|
16805
|
-
//
|
|
16805
|
+
// node_modules/ox/_esm/core/AbiItem.js
|
|
16806
16806
|
function from11(abiItem, options = {}) {
|
|
16807
16807
|
const { prepare = true } = options;
|
|
16808
16808
|
const item = (() => {
|
|
@@ -16965,7 +16965,7 @@ var NotFoundError = class extends BaseError3 {
|
|
|
16965
16965
|
}
|
|
16966
16966
|
};
|
|
16967
16967
|
|
|
16968
|
-
//
|
|
16968
|
+
// node_modules/ox/_esm/core/AbiConstructor.js
|
|
16969
16969
|
init_Hex();
|
|
16970
16970
|
function encode3(...parameters) {
|
|
16971
16971
|
const [abiConstructor, options] = (() => {
|
|
@@ -16988,7 +16988,7 @@ function fromAbi2(abi2) {
|
|
|
16988
16988
|
return item;
|
|
16989
16989
|
}
|
|
16990
16990
|
|
|
16991
|
-
//
|
|
16991
|
+
// node_modules/ox/_esm/core/AbiEvent.js
|
|
16992
16992
|
function from13(abiEvent, options = {}) {
|
|
16993
16993
|
return from11(abiEvent, options);
|
|
16994
16994
|
}
|
|
@@ -16996,7 +16996,7 @@ function getSelector2(abiItem) {
|
|
|
16996
16996
|
return getSignatureHash(abiItem);
|
|
16997
16997
|
}
|
|
16998
16998
|
|
|
16999
|
-
//
|
|
16999
|
+
// node_modules/ox/_esm/core/AbiFunction.js
|
|
17000
17000
|
init_Hex();
|
|
17001
17001
|
function decodeResult(...parameters) {
|
|
17002
17002
|
const [abiFunction, data, options = {}] = (() => {
|
|
@@ -17046,14 +17046,14 @@ function getSelector3(abiItem) {
|
|
|
17046
17046
|
return getSelector(abiItem);
|
|
17047
17047
|
}
|
|
17048
17048
|
|
|
17049
|
-
//
|
|
17049
|
+
// node_modules/viem/_esm/actions/public/simulateCalls.js
|
|
17050
17050
|
init_parseAccount();
|
|
17051
17051
|
|
|
17052
|
-
//
|
|
17052
|
+
// node_modules/viem/_esm/constants/address.js
|
|
17053
17053
|
var ethAddress = "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee";
|
|
17054
17054
|
var zeroAddress = "0x0000000000000000000000000000000000000000";
|
|
17055
17055
|
|
|
17056
|
-
//
|
|
17056
|
+
// node_modules/viem/_esm/actions/public/simulateCalls.js
|
|
17057
17057
|
init_contracts();
|
|
17058
17058
|
init_base();
|
|
17059
17059
|
init_contract();
|
|
@@ -17310,7 +17310,7 @@ function getStaticCallAddress(addresses) {
|
|
|
17310
17310
|
return `0x${value.toString(16).padStart(40, "0")}`;
|
|
17311
17311
|
}
|
|
17312
17312
|
|
|
17313
|
-
//
|
|
17313
|
+
// node_modules/ox/_esm/erc6492/SignatureErc6492.js
|
|
17314
17314
|
var SignatureErc6492_exports = {};
|
|
17315
17315
|
__export(SignatureErc6492_exports, {
|
|
17316
17316
|
InvalidWrappedSignatureError: () => InvalidWrappedSignatureError2,
|
|
@@ -17413,7 +17413,7 @@ var InvalidWrappedSignatureError2 = class extends BaseError3 {
|
|
|
17413
17413
|
}
|
|
17414
17414
|
};
|
|
17415
17415
|
|
|
17416
|
-
//
|
|
17416
|
+
// node_modules/viem/_esm/actions/public/verifyHash.js
|
|
17417
17417
|
init_abis();
|
|
17418
17418
|
init_contracts();
|
|
17419
17419
|
init_contract();
|
|
@@ -17426,7 +17426,7 @@ init_isHex();
|
|
|
17426
17426
|
init_fromHex();
|
|
17427
17427
|
init_toHex();
|
|
17428
17428
|
|
|
17429
|
-
//
|
|
17429
|
+
// node_modules/viem/_esm/utils/signature/serializeSignature.js
|
|
17430
17430
|
init_secp256k1();
|
|
17431
17431
|
init_fromHex();
|
|
17432
17432
|
init_toBytes();
|
|
@@ -17444,7 +17444,7 @@ function serializeSignature({ r, s, to = "hex", v, yParity }) {
|
|
|
17444
17444
|
return hexToBytes(signature);
|
|
17445
17445
|
}
|
|
17446
17446
|
|
|
17447
|
-
//
|
|
17447
|
+
// node_modules/viem/_esm/actions/public/verifyHash.js
|
|
17448
17448
|
init_call();
|
|
17449
17449
|
async function verifyHash(client, parameters) {
|
|
17450
17450
|
const { address, chain = client.chain, hash: hash3, erc6492VerifierAddress: verifierAddress = parameters.universalSignatureVerifierAddress ?? chain?.contracts?.erc6492Verifier?.address, multicallAddress = parameters.multicallAddress ?? chain?.contracts?.multicall3?.address, mode = "auto" } = parameters;
|
|
@@ -17618,7 +17618,7 @@ async function verifyErc1271(client, parameters) {
|
|
|
17618
17618
|
var VerificationError = class extends Error {
|
|
17619
17619
|
};
|
|
17620
17620
|
|
|
17621
|
-
//
|
|
17621
|
+
// node_modules/viem/_esm/actions/public/verifyMessage.js
|
|
17622
17622
|
async function verifyMessage(client, { address, message, factory, factoryData, signature, ...callRequest }) {
|
|
17623
17623
|
const hash3 = hashMessage(message);
|
|
17624
17624
|
return getAction(client, verifyHash, "verifyHash")({
|
|
@@ -17631,7 +17631,7 @@ async function verifyMessage(client, { address, message, factory, factoryData, s
|
|
|
17631
17631
|
});
|
|
17632
17632
|
}
|
|
17633
17633
|
|
|
17634
|
-
//
|
|
17634
|
+
// node_modules/viem/_esm/actions/public/verifyTypedData.js
|
|
17635
17635
|
async function verifyTypedData(client, parameters) {
|
|
17636
17636
|
const { address, factory, factoryData, signature, message, primaryType, types, domain, ...callRequest } = parameters;
|
|
17637
17637
|
const hash3 = hashTypedData({ message, primaryType, types, domain });
|
|
@@ -17645,12 +17645,12 @@ async function verifyTypedData(client, parameters) {
|
|
|
17645
17645
|
});
|
|
17646
17646
|
}
|
|
17647
17647
|
|
|
17648
|
-
//
|
|
17648
|
+
// node_modules/viem/_esm/actions/public/waitForTransactionReceipt.js
|
|
17649
17649
|
init_transaction();
|
|
17650
17650
|
init_withResolvers();
|
|
17651
17651
|
init_stringify();
|
|
17652
17652
|
|
|
17653
|
-
//
|
|
17653
|
+
// node_modules/viem/_esm/actions/public/watchBlockNumber.js
|
|
17654
17654
|
init_fromHex();
|
|
17655
17655
|
init_stringify();
|
|
17656
17656
|
function watchBlockNumber(client, { emitOnBegin = false, emitMissed = false, onBlockNumber, onError, poll: poll_, pollingInterval = client.pollingInterval }) {
|
|
@@ -17744,7 +17744,7 @@ function watchBlockNumber(client, { emitOnBegin = false, emitMissed = false, onB
|
|
|
17744
17744
|
return enablePolling ? pollBlockNumber() : subscribeBlockNumber();
|
|
17745
17745
|
}
|
|
17746
17746
|
|
|
17747
|
-
//
|
|
17747
|
+
// node_modules/viem/_esm/actions/public/waitForTransactionReceipt.js
|
|
17748
17748
|
async function waitForTransactionReceipt(client, parameters) {
|
|
17749
17749
|
const {
|
|
17750
17750
|
checkReplacement = client.chain?.supportsTransactionReplacementDetection ?? true,
|
|
@@ -17876,7 +17876,7 @@ async function waitForTransactionReceipt(client, parameters) {
|
|
|
17876
17876
|
return promise;
|
|
17877
17877
|
}
|
|
17878
17878
|
|
|
17879
|
-
//
|
|
17879
|
+
// node_modules/viem/_esm/actions/public/watchBlockHeaders.js
|
|
17880
17880
|
init_stringify();
|
|
17881
17881
|
var blockFields = [
|
|
17882
17882
|
"size",
|
|
@@ -17931,7 +17931,7 @@ function watchBlockHeaders(client, { onBlockHeader, onError }) {
|
|
|
17931
17931
|
});
|
|
17932
17932
|
}
|
|
17933
17933
|
|
|
17934
|
-
//
|
|
17934
|
+
// node_modules/viem/_esm/actions/public/watchBlocks.js
|
|
17935
17935
|
init_stringify();
|
|
17936
17936
|
function watchBlocks(client, { blockTag = client.experimental_blockTag ?? "latest", emitMissed = false, emitOnBegin = false, onBlock, onError, includeTransactions: includeTransactions_, poll: poll_, pollingInterval = client.pollingInterval }) {
|
|
17937
17937
|
const enablePolling = (() => {
|
|
@@ -18053,7 +18053,7 @@ function watchBlocks(client, { blockTag = client.experimental_blockTag ?? "lates
|
|
|
18053
18053
|
return enablePolling ? pollBlocks() : subscribeBlocks();
|
|
18054
18054
|
}
|
|
18055
18055
|
|
|
18056
|
-
//
|
|
18056
|
+
// node_modules/viem/_esm/actions/public/watchEvent.js
|
|
18057
18057
|
init_abi();
|
|
18058
18058
|
init_rpc();
|
|
18059
18059
|
init_stringify();
|
|
@@ -18219,7 +18219,7 @@ function watchEvent(client, { address, args, batch = true, event, events, fromBl
|
|
|
18219
18219
|
return enablePolling ? pollEvent() : subscribeEvent();
|
|
18220
18220
|
}
|
|
18221
18221
|
|
|
18222
|
-
//
|
|
18222
|
+
// node_modules/viem/_esm/actions/public/watchPendingTransactions.js
|
|
18223
18223
|
init_stringify();
|
|
18224
18224
|
function watchPendingTransactions(client, { batch = true, onError, onTransactions, poll: poll_, pollingInterval = client.pollingInterval }) {
|
|
18225
18225
|
const enablePolling = typeof poll_ !== "undefined" ? poll_ : client.transport.type !== "webSocket" && client.transport.type !== "ipc";
|
|
@@ -18294,7 +18294,7 @@ function watchPendingTransactions(client, { batch = true, onError, onTransaction
|
|
|
18294
18294
|
return enablePolling ? pollPendingTransactions() : subscribePendingTransactions();
|
|
18295
18295
|
}
|
|
18296
18296
|
|
|
18297
|
-
//
|
|
18297
|
+
// node_modules/viem/_esm/utils/siwe/parseSiweMessage.js
|
|
18298
18298
|
var siweDateTimeRegex = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[+-]\d{2}:\d{2})$/;
|
|
18299
18299
|
function isValidSiweDateTime(value) {
|
|
18300
18300
|
if (!siweDateTimeRegex.test(value))
|
|
@@ -18326,7 +18326,7 @@ function parseSiweMessage(message) {
|
|
|
18326
18326
|
var prefixRegex = /^(?:(?<scheme>[a-zA-Z][a-zA-Z0-9+\-.]*):\/\/)?(?<domain>[a-zA-Z0-9+-.]*(?::[0-9]{1,5})?) (?:wants you to sign in with your Ethereum account:\n)(?<address>0x[a-fA-F0-9]{40})\n\n(?:(?<statement>.*)\n\n)?/;
|
|
18327
18327
|
var suffixRegex = /(?:URI: (?<uri>.+))\n(?:Version: (?<version>.+))\n(?:Chain ID: (?<chainId>\d+))\n(?:Nonce: (?<nonce>[a-zA-Z0-9]+))\n(?:Issued At: (?<issuedAt>.+))(?:\nExpiration Time: (?<expirationTime>.+))?(?:\nNot Before: (?<notBefore>.+))?(?:\nRequest ID: (?<requestId>.+))?/;
|
|
18328
18328
|
|
|
18329
|
-
//
|
|
18329
|
+
// node_modules/viem/_esm/utils/siwe/validateSiweMessage.js
|
|
18330
18330
|
init_isAddress();
|
|
18331
18331
|
init_isAddressEqual();
|
|
18332
18332
|
function validateSiweMessage(parameters) {
|
|
@@ -18364,7 +18364,7 @@ function validateSiweMessage(parameters) {
|
|
|
18364
18364
|
return true;
|
|
18365
18365
|
}
|
|
18366
18366
|
|
|
18367
|
-
//
|
|
18367
|
+
// node_modules/viem/_esm/actions/siwe/verifySiweMessage.js
|
|
18368
18368
|
async function verifySiweMessage(client, parameters) {
|
|
18369
18369
|
const { address, domain, message, nonce, scheme, signature, time = /* @__PURE__ */ new Date(), ...callRequest } = parameters;
|
|
18370
18370
|
const parsed = parseSiweMessage(message);
|
|
@@ -18389,10 +18389,10 @@ async function verifySiweMessage(client, parameters) {
|
|
|
18389
18389
|
});
|
|
18390
18390
|
}
|
|
18391
18391
|
|
|
18392
|
-
//
|
|
18392
|
+
// node_modules/viem/_esm/actions/token/approve.js
|
|
18393
18393
|
init_abis();
|
|
18394
18394
|
|
|
18395
|
-
//
|
|
18395
|
+
// node_modules/viem/_esm/actions/token/internal.js
|
|
18396
18396
|
init_abis();
|
|
18397
18397
|
init_isAddress();
|
|
18398
18398
|
init_isAddressEqual();
|
|
@@ -18503,7 +18503,7 @@ function defineCall(call2) {
|
|
|
18503
18503
|
};
|
|
18504
18504
|
}
|
|
18505
18505
|
|
|
18506
|
-
//
|
|
18506
|
+
// node_modules/viem/_esm/actions/token/approve.js
|
|
18507
18507
|
async function approve(client, parameters) {
|
|
18508
18508
|
return approve.inner(writeContract, client, parameters);
|
|
18509
18509
|
}
|
|
@@ -18557,7 +18557,7 @@ function getCall(client, parameters) {
|
|
|
18557
18557
|
};
|
|
18558
18558
|
}
|
|
18559
18559
|
|
|
18560
|
-
//
|
|
18560
|
+
// node_modules/viem/_esm/actions/wallet/sendTransactionSync.js
|
|
18561
18561
|
init_parseAccount();
|
|
18562
18562
|
init_base();
|
|
18563
18563
|
init_transaction();
|
|
@@ -18567,7 +18567,7 @@ init_transactionRequest();
|
|
|
18567
18567
|
init_lru();
|
|
18568
18568
|
init_assertRequest();
|
|
18569
18569
|
|
|
18570
|
-
//
|
|
18570
|
+
// node_modules/viem/_esm/actions/wallet/sendRawTransactionSync.js
|
|
18571
18571
|
init_transaction();
|
|
18572
18572
|
async function sendRawTransactionSync(client, { serializedTransaction, throwOnReceiptRevert, timeout }) {
|
|
18573
18573
|
const receipt = await client.request({
|
|
@@ -18581,7 +18581,7 @@ async function sendRawTransactionSync(client, { serializedTransaction, throwOnRe
|
|
|
18581
18581
|
return formatted;
|
|
18582
18582
|
}
|
|
18583
18583
|
|
|
18584
|
-
//
|
|
18584
|
+
// node_modules/viem/_esm/actions/wallet/sendTransactionSync.js
|
|
18585
18585
|
var supportsWalletNamespace2 = new LruMap(128);
|
|
18586
18586
|
async function sendTransactionSync(client, parameters) {
|
|
18587
18587
|
const { account: account_ = client.account, assertChainId = true, chain = client.chain, accessList, authorizationList, blobs, data, dataSuffix = typeof client.dataSuffix === "string" ? client.dataSuffix : client.dataSuffix?.value, gas, gasPrice, maxFeePerBlobGas, maxFeePerGas, maxPriorityFeePerGas, nonce, pollingInterval, throwOnReceiptRevert, type, value, ...rest } = parameters;
|
|
@@ -18763,12 +18763,12 @@ async function sendTransactionSync(client, parameters) {
|
|
|
18763
18763
|
}
|
|
18764
18764
|
}
|
|
18765
18765
|
|
|
18766
|
-
//
|
|
18766
|
+
// node_modules/viem/_esm/actions/wallet/writeContractSync.js
|
|
18767
18767
|
async function writeContractSync(client, parameters) {
|
|
18768
18768
|
return writeContract.internal(client, sendTransactionSync, "sendTransactionSync", parameters);
|
|
18769
18769
|
}
|
|
18770
18770
|
|
|
18771
|
-
//
|
|
18771
|
+
// node_modules/viem/_esm/actions/token/approveSync.js
|
|
18772
18772
|
async function approveSync(client, parameters) {
|
|
18773
18773
|
const { amount: amount2, token, throwOnReceiptRevert = true } = parameters;
|
|
18774
18774
|
const { decimals } = resolveToken(client, { token });
|
|
@@ -18785,7 +18785,7 @@ async function approveSync(client, parameters) {
|
|
|
18785
18785
|
};
|
|
18786
18786
|
}
|
|
18787
18787
|
|
|
18788
|
-
//
|
|
18788
|
+
// node_modules/viem/_esm/actions/token/getAllowance.js
|
|
18789
18789
|
init_abis();
|
|
18790
18790
|
async function getAllowance(client, parameters) {
|
|
18791
18791
|
const { account, decimals, spender, token, ...rest } = parameters;
|
|
@@ -18813,7 +18813,7 @@ async function getAllowance(client, parameters) {
|
|
|
18813
18813
|
getAllowance2.call = call2;
|
|
18814
18814
|
})(getAllowance || (getAllowance = {}));
|
|
18815
18815
|
|
|
18816
|
-
//
|
|
18816
|
+
// node_modules/viem/_esm/actions/token/getBalance.js
|
|
18817
18817
|
init_parseAccount();
|
|
18818
18818
|
init_abis();
|
|
18819
18819
|
async function getBalance2(client, parameters) {
|
|
@@ -18849,7 +18849,7 @@ async function getBalance2(client, parameters) {
|
|
|
18849
18849
|
getBalance3.call = call2;
|
|
18850
18850
|
})(getBalance2 || (getBalance2 = {}));
|
|
18851
18851
|
|
|
18852
|
-
//
|
|
18852
|
+
// node_modules/viem/_esm/actions/token/getMetadata.js
|
|
18853
18853
|
init_abis();
|
|
18854
18854
|
async function getMetadata(client, parameters) {
|
|
18855
18855
|
const { token, ...rest } = parameters;
|
|
@@ -18882,7 +18882,7 @@ async function getMetadata(client, parameters) {
|
|
|
18882
18882
|
};
|
|
18883
18883
|
}
|
|
18884
18884
|
|
|
18885
|
-
//
|
|
18885
|
+
// node_modules/viem/_esm/actions/token/getTotalSupply.js
|
|
18886
18886
|
init_abis();
|
|
18887
18887
|
async function getTotalSupply(client, parameters) {
|
|
18888
18888
|
const { decimals, token, ...rest } = parameters;
|
|
@@ -18910,7 +18910,7 @@ async function getTotalSupply(client, parameters) {
|
|
|
18910
18910
|
getTotalSupply2.call = call2;
|
|
18911
18911
|
})(getTotalSupply || (getTotalSupply = {}));
|
|
18912
18912
|
|
|
18913
|
-
//
|
|
18913
|
+
// node_modules/viem/_esm/actions/token/transfer.js
|
|
18914
18914
|
init_abis();
|
|
18915
18915
|
async function transfer(client, parameters) {
|
|
18916
18916
|
return transfer.inner(writeContract, client, parameters);
|
|
@@ -18973,7 +18973,7 @@ function getCall2(client, parameters) {
|
|
|
18973
18973
|
};
|
|
18974
18974
|
}
|
|
18975
18975
|
|
|
18976
|
-
//
|
|
18976
|
+
// node_modules/viem/_esm/actions/token/transferSync.js
|
|
18977
18977
|
async function transferSync(client, parameters) {
|
|
18978
18978
|
const { amount: amount2, token, throwOnReceiptRevert = true } = parameters;
|
|
18979
18979
|
const { decimals } = resolveToken(client, { token });
|
|
@@ -18990,7 +18990,7 @@ async function transferSync(client, parameters) {
|
|
|
18990
18990
|
};
|
|
18991
18991
|
}
|
|
18992
18992
|
|
|
18993
|
-
//
|
|
18993
|
+
// node_modules/viem/_esm/clients/decorators/public.js
|
|
18994
18994
|
function publicActions(client) {
|
|
18995
18995
|
return {
|
|
18996
18996
|
call: (args) => call(client, args),
|
|
@@ -19067,7 +19067,7 @@ function bindPublicToken(client) {
|
|
|
19067
19067
|
};
|
|
19068
19068
|
}
|
|
19069
19069
|
|
|
19070
|
-
//
|
|
19070
|
+
// node_modules/viem/_esm/clients/createPublicClient.js
|
|
19071
19071
|
function createPublicClient(parameters) {
|
|
19072
19072
|
const { key = "public", name = "Public Client" } = parameters;
|
|
19073
19073
|
const client = createClient({
|
|
@@ -19079,7 +19079,7 @@ function createPublicClient(parameters) {
|
|
|
19079
19079
|
return client.extend(publicActions);
|
|
19080
19080
|
}
|
|
19081
19081
|
|
|
19082
|
-
//
|
|
19082
|
+
// node_modules/viem/_esm/actions/wallet/addChain.js
|
|
19083
19083
|
init_toHex();
|
|
19084
19084
|
async function addChain(client, { chain }) {
|
|
19085
19085
|
const { id, name, nativeCurrency, rpcUrls, blockExplorers } = chain;
|
|
@@ -19097,7 +19097,7 @@ async function addChain(client, { chain }) {
|
|
|
19097
19097
|
}, { dedupe: true, retryCount: 0 });
|
|
19098
19098
|
}
|
|
19099
19099
|
|
|
19100
|
-
//
|
|
19100
|
+
// node_modules/viem/_esm/actions/wallet/deployContract.js
|
|
19101
19101
|
init_encodeDeployData();
|
|
19102
19102
|
function deployContract(walletClient, parameters) {
|
|
19103
19103
|
const { abi: abi2, args, bytecode, ...request } = parameters;
|
|
@@ -19109,7 +19109,7 @@ function deployContract(walletClient, parameters) {
|
|
|
19109
19109
|
});
|
|
19110
19110
|
}
|
|
19111
19111
|
|
|
19112
|
-
//
|
|
19112
|
+
// node_modules/viem/_esm/actions/wallet/getAddresses.js
|
|
19113
19113
|
init_getAddress();
|
|
19114
19114
|
async function getAddresses(client) {
|
|
19115
19115
|
if (client.account?.type === "local")
|
|
@@ -19118,7 +19118,7 @@ async function getAddresses(client) {
|
|
|
19118
19118
|
return addresses.map((address) => checksumAddress(address));
|
|
19119
19119
|
}
|
|
19120
19120
|
|
|
19121
|
-
//
|
|
19121
|
+
// node_modules/viem/_esm/actions/wallet/getCapabilities.js
|
|
19122
19122
|
init_parseAccount();
|
|
19123
19123
|
init_toHex();
|
|
19124
19124
|
async function getCapabilities(client, parameters = {}) {
|
|
@@ -19141,13 +19141,13 @@ async function getCapabilities(client, parameters = {}) {
|
|
|
19141
19141
|
return typeof chainId === "number" ? capabilities[chainId] : capabilities;
|
|
19142
19142
|
}
|
|
19143
19143
|
|
|
19144
|
-
//
|
|
19144
|
+
// node_modules/viem/_esm/actions/wallet/getPermissions.js
|
|
19145
19145
|
async function getPermissions(client) {
|
|
19146
19146
|
const permissions = await client.request({ method: "wallet_getPermissions" }, { dedupe: true });
|
|
19147
19147
|
return permissions;
|
|
19148
19148
|
}
|
|
19149
19149
|
|
|
19150
|
-
//
|
|
19150
|
+
// node_modules/viem/_esm/actions/wallet/prepareAuthorization.js
|
|
19151
19151
|
init_parseAccount();
|
|
19152
19152
|
init_isAddressEqual();
|
|
19153
19153
|
async function prepareAuthorization(client, parameters) {
|
|
@@ -19182,14 +19182,14 @@ async function prepareAuthorization(client, parameters) {
|
|
|
19182
19182
|
return authorization;
|
|
19183
19183
|
}
|
|
19184
19184
|
|
|
19185
|
-
//
|
|
19185
|
+
// node_modules/viem/_esm/actions/wallet/requestAddresses.js
|
|
19186
19186
|
init_getAddress();
|
|
19187
19187
|
async function requestAddresses(client) {
|
|
19188
19188
|
const addresses = await client.request({ method: "eth_requestAccounts" }, { dedupe: true, retryCount: 0 });
|
|
19189
19189
|
return addresses.map((address) => getAddress(address));
|
|
19190
19190
|
}
|
|
19191
19191
|
|
|
19192
|
-
//
|
|
19192
|
+
// node_modules/viem/_esm/actions/wallet/requestPermissions.js
|
|
19193
19193
|
async function requestPermissions(client, permissions) {
|
|
19194
19194
|
return client.request({
|
|
19195
19195
|
method: "wallet_requestPermissions",
|
|
@@ -19197,7 +19197,7 @@ async function requestPermissions(client, permissions) {
|
|
|
19197
19197
|
}, { retryCount: 0 });
|
|
19198
19198
|
}
|
|
19199
19199
|
|
|
19200
|
-
//
|
|
19200
|
+
// node_modules/viem/_esm/actions/wallet/sendCallsSync.js
|
|
19201
19201
|
async function sendCallsSync(client, parameters) {
|
|
19202
19202
|
const { chain = client.chain } = parameters;
|
|
19203
19203
|
const timeout = parameters.timeout ?? Math.max((chain?.blockTime ?? 0) * 3, 5e3);
|
|
@@ -19210,7 +19210,7 @@ async function sendCallsSync(client, parameters) {
|
|
|
19210
19210
|
return status;
|
|
19211
19211
|
}
|
|
19212
19212
|
|
|
19213
|
-
//
|
|
19213
|
+
// node_modules/viem/_esm/actions/wallet/showCallsStatus.js
|
|
19214
19214
|
async function showCallsStatus(client, parameters) {
|
|
19215
19215
|
const { id } = parameters;
|
|
19216
19216
|
await client.request({
|
|
@@ -19220,7 +19220,7 @@ async function showCallsStatus(client, parameters) {
|
|
|
19220
19220
|
return;
|
|
19221
19221
|
}
|
|
19222
19222
|
|
|
19223
|
-
//
|
|
19223
|
+
// node_modules/viem/_esm/actions/wallet/signAuthorization.js
|
|
19224
19224
|
init_parseAccount();
|
|
19225
19225
|
async function signAuthorization(client, parameters) {
|
|
19226
19226
|
const { account: account_ = client.account } = parameters;
|
|
@@ -19241,7 +19241,7 @@ async function signAuthorization(client, parameters) {
|
|
|
19241
19241
|
return account.signAuthorization(authorization);
|
|
19242
19242
|
}
|
|
19243
19243
|
|
|
19244
|
-
//
|
|
19244
|
+
// node_modules/viem/_esm/actions/wallet/signMessage.js
|
|
19245
19245
|
init_parseAccount();
|
|
19246
19246
|
init_toHex();
|
|
19247
19247
|
async function signMessage(client, { account: account_ = client.account, message }) {
|
|
@@ -19265,7 +19265,7 @@ async function signMessage(client, { account: account_ = client.account, message
|
|
|
19265
19265
|
}, { retryCount: 0 });
|
|
19266
19266
|
}
|
|
19267
19267
|
|
|
19268
|
-
//
|
|
19268
|
+
// node_modules/viem/_esm/actions/wallet/signTransaction.js
|
|
19269
19269
|
init_parseAccount();
|
|
19270
19270
|
init_toHex();
|
|
19271
19271
|
init_transactionRequest();
|
|
@@ -19310,7 +19310,7 @@ async function signTransaction(client, parameters) {
|
|
|
19310
19310
|
}, { retryCount: 0 });
|
|
19311
19311
|
}
|
|
19312
19312
|
|
|
19313
|
-
//
|
|
19313
|
+
// node_modules/viem/_esm/actions/wallet/signTypedData.js
|
|
19314
19314
|
init_parseAccount();
|
|
19315
19315
|
async function signTypedData(client, parameters) {
|
|
19316
19316
|
const { account: account_ = client.account, domain, message, primaryType } = parameters;
|
|
@@ -19333,7 +19333,7 @@ async function signTypedData(client, parameters) {
|
|
|
19333
19333
|
}, { retryCount: 0 });
|
|
19334
19334
|
}
|
|
19335
19335
|
|
|
19336
|
-
//
|
|
19336
|
+
// node_modules/viem/_esm/actions/wallet/switchChain.js
|
|
19337
19337
|
init_toHex();
|
|
19338
19338
|
async function switchChain(client, { id }) {
|
|
19339
19339
|
await client.request({
|
|
@@ -19346,7 +19346,7 @@ async function switchChain(client, { id }) {
|
|
|
19346
19346
|
}, { retryCount: 0 });
|
|
19347
19347
|
}
|
|
19348
19348
|
|
|
19349
|
-
//
|
|
19349
|
+
// node_modules/viem/_esm/actions/wallet/watchAsset.js
|
|
19350
19350
|
async function watchAsset(client, params) {
|
|
19351
19351
|
const added = await client.request({
|
|
19352
19352
|
method: "wallet_watchAsset",
|
|
@@ -19355,7 +19355,7 @@ async function watchAsset(client, params) {
|
|
|
19355
19355
|
return added;
|
|
19356
19356
|
}
|
|
19357
19357
|
|
|
19358
|
-
//
|
|
19358
|
+
// node_modules/viem/_esm/clients/decorators/wallet.js
|
|
19359
19359
|
function walletActions(client) {
|
|
19360
19360
|
return {
|
|
19361
19361
|
addChain: (args) => addChain(client, args),
|
|
@@ -19395,7 +19395,7 @@ function walletActions(client) {
|
|
|
19395
19395
|
};
|
|
19396
19396
|
}
|
|
19397
19397
|
|
|
19398
|
-
//
|
|
19398
|
+
// node_modules/viem/_esm/clients/createWalletClient.js
|
|
19399
19399
|
function createWalletClient(parameters) {
|
|
19400
19400
|
const { key = "wallet", name = "Wallet Client", transport } = parameters;
|
|
19401
19401
|
const client = createClient({
|
|
@@ -19408,7 +19408,7 @@ function createWalletClient(parameters) {
|
|
|
19408
19408
|
return client.extend(walletActions);
|
|
19409
19409
|
}
|
|
19410
19410
|
|
|
19411
|
-
//
|
|
19411
|
+
// node_modules/viem/_esm/clients/transports/createTransport.js
|
|
19412
19412
|
function createTransport({ key, methods, name, request, retryCount = 3, retryDelay = 150, timeout, type }, value) {
|
|
19413
19413
|
const uid2 = uid();
|
|
19414
19414
|
return {
|
|
@@ -19427,10 +19427,10 @@ function createTransport({ key, methods, name, request, retryCount = 3, retryDel
|
|
|
19427
19427
|
};
|
|
19428
19428
|
}
|
|
19429
19429
|
|
|
19430
|
-
//
|
|
19430
|
+
// node_modules/viem/_esm/clients/transports/http.js
|
|
19431
19431
|
init_request();
|
|
19432
19432
|
|
|
19433
|
-
//
|
|
19433
|
+
// node_modules/viem/_esm/errors/transport.js
|
|
19434
19434
|
init_base();
|
|
19435
19435
|
var UrlRequiredError = class extends BaseError2 {
|
|
19436
19436
|
constructor() {
|
|
@@ -19441,7 +19441,7 @@ var UrlRequiredError = class extends BaseError2 {
|
|
|
19441
19441
|
}
|
|
19442
19442
|
};
|
|
19443
19443
|
|
|
19444
|
-
//
|
|
19444
|
+
// node_modules/viem/_esm/clients/transports/http.js
|
|
19445
19445
|
init_createBatchScheduler();
|
|
19446
19446
|
var signalId = 0;
|
|
19447
19447
|
var signalIds = /* @__PURE__ */ new WeakMap();
|
|
@@ -19519,7 +19519,7 @@ function http(url2, config = {}) {
|
|
|
19519
19519
|
};
|
|
19520
19520
|
}
|
|
19521
19521
|
|
|
19522
|
-
//
|
|
19522
|
+
// node_modules/viem/_esm/index.js
|
|
19523
19523
|
init_encodeFunctionData();
|
|
19524
19524
|
init_getAddress();
|
|
19525
19525
|
init_isAddress();
|
|
@@ -19528,11 +19528,11 @@ init_toBytes();
|
|
|
19528
19528
|
init_toHex();
|
|
19529
19529
|
init_keccak256();
|
|
19530
19530
|
|
|
19531
|
-
//
|
|
19531
|
+
// node_modules/viem/_esm/accounts/privateKeyToAccount.js
|
|
19532
19532
|
init_secp256k1();
|
|
19533
19533
|
init_toHex();
|
|
19534
19534
|
|
|
19535
|
-
//
|
|
19535
|
+
// node_modules/viem/_esm/accounts/toAccount.js
|
|
19536
19536
|
init_address();
|
|
19537
19537
|
init_isAddress();
|
|
19538
19538
|
function toAccount(source) {
|
|
@@ -19559,7 +19559,7 @@ function toAccount(source) {
|
|
|
19559
19559
|
};
|
|
19560
19560
|
}
|
|
19561
19561
|
|
|
19562
|
-
//
|
|
19562
|
+
// node_modules/viem/_esm/accounts/utils/sign.js
|
|
19563
19563
|
init_secp256k1();
|
|
19564
19564
|
init_isHex();
|
|
19565
19565
|
init_toBytes();
|
|
@@ -19583,7 +19583,7 @@ async function sign({ hash: hash3, privateKey, to = "object" }) {
|
|
|
19583
19583
|
})();
|
|
19584
19584
|
}
|
|
19585
19585
|
|
|
19586
|
-
//
|
|
19586
|
+
// node_modules/viem/_esm/accounts/utils/signAuthorization.js
|
|
19587
19587
|
async function signAuthorization2(parameters) {
|
|
19588
19588
|
const { chainId, nonce, privateKey, to = "object" } = parameters;
|
|
19589
19589
|
const address = parameters.contractAddress ?? parameters.address;
|
|
@@ -19602,12 +19602,12 @@ async function signAuthorization2(parameters) {
|
|
|
19602
19602
|
return signature;
|
|
19603
19603
|
}
|
|
19604
19604
|
|
|
19605
|
-
//
|
|
19605
|
+
// node_modules/viem/_esm/accounts/utils/signMessage.js
|
|
19606
19606
|
async function signMessage2({ message, privateKey }) {
|
|
19607
19607
|
return await sign({ hash: hashMessage(message), privateKey, to: "hex" });
|
|
19608
19608
|
}
|
|
19609
19609
|
|
|
19610
|
-
//
|
|
19610
|
+
// node_modules/viem/_esm/accounts/utils/signTransaction.js
|
|
19611
19611
|
init_keccak256();
|
|
19612
19612
|
async function signTransaction2(parameters) {
|
|
19613
19613
|
const { privateKey, transaction, serializer = serializeTransaction } = parameters;
|
|
@@ -19626,7 +19626,7 @@ async function signTransaction2(parameters) {
|
|
|
19626
19626
|
return await serializer(transaction, signature);
|
|
19627
19627
|
}
|
|
19628
19628
|
|
|
19629
|
-
//
|
|
19629
|
+
// node_modules/viem/_esm/accounts/utils/signTypedData.js
|
|
19630
19630
|
async function signTypedData2(parameters) {
|
|
19631
19631
|
const { privateKey, ...typedData } = parameters;
|
|
19632
19632
|
return await sign({
|
|
@@ -19636,7 +19636,7 @@ async function signTypedData2(parameters) {
|
|
|
19636
19636
|
});
|
|
19637
19637
|
}
|
|
19638
19638
|
|
|
19639
|
-
//
|
|
19639
|
+
// node_modules/viem/_esm/accounts/privateKeyToAccount.js
|
|
19640
19640
|
function privateKeyToAccount(privateKey, options = {}) {
|
|
19641
19641
|
const { nonceManager } = options;
|
|
19642
19642
|
const publicKey = toHex(secp256k1.getPublicKey(privateKey.slice(2), false));
|
|
@@ -19667,7 +19667,7 @@ function privateKeyToAccount(privateKey, options = {}) {
|
|
|
19667
19667
|
};
|
|
19668
19668
|
}
|
|
19669
19669
|
|
|
19670
|
-
//
|
|
19670
|
+
// node_modules/viem/_esm/op-stack/contracts.js
|
|
19671
19671
|
var contracts = {
|
|
19672
19672
|
gasPriceOracle: { address: "0x420000000000000000000000000000000000000F" },
|
|
19673
19673
|
l1Block: { address: "0x4200000000000000000000000000000000000015" },
|
|
@@ -19681,7 +19681,7 @@ var contracts = {
|
|
|
19681
19681
|
}
|
|
19682
19682
|
};
|
|
19683
19683
|
|
|
19684
|
-
//
|
|
19684
|
+
// node_modules/viem/_esm/op-stack/formatters.js
|
|
19685
19685
|
init_fromHex();
|
|
19686
19686
|
var formatters = {
|
|
19687
19687
|
block: /* @__PURE__ */ defineBlock({
|
|
@@ -19730,7 +19730,7 @@ var formatters = {
|
|
|
19730
19730
|
})
|
|
19731
19731
|
};
|
|
19732
19732
|
|
|
19733
|
-
//
|
|
19733
|
+
// node_modules/viem/_esm/op-stack/serializers.js
|
|
19734
19734
|
init_address();
|
|
19735
19735
|
init_isAddress();
|
|
19736
19736
|
init_concat();
|
|
@@ -19776,7 +19776,7 @@ function assertTransactionDeposit(transaction) {
|
|
|
19776
19776
|
throw new InvalidAddressError({ address: to });
|
|
19777
19777
|
}
|
|
19778
19778
|
|
|
19779
|
-
//
|
|
19779
|
+
// node_modules/viem/_esm/op-stack/chainConfig.js
|
|
19780
19780
|
var chainConfig = {
|
|
19781
19781
|
blockTime: 2e3,
|
|
19782
19782
|
contracts,
|
|
@@ -19784,7 +19784,7 @@ var chainConfig = {
|
|
|
19784
19784
|
serializers
|
|
19785
19785
|
};
|
|
19786
19786
|
|
|
19787
|
-
//
|
|
19787
|
+
// node_modules/viem/_esm/chains/definitions/base.js
|
|
19788
19788
|
var sourceId = 1;
|
|
19789
19789
|
var base = /* @__PURE__ */ defineChain({
|
|
19790
19790
|
...chainConfig,
|
|
@@ -19844,7 +19844,7 @@ var basePreconf = /* @__PURE__ */ defineChain({
|
|
|
19844
19844
|
}
|
|
19845
19845
|
});
|
|
19846
19846
|
|
|
19847
|
-
//
|
|
19847
|
+
// lib/protocol/canonical.ts
|
|
19848
19848
|
var CanonicalError = class extends Error {
|
|
19849
19849
|
name = "CanonicalError";
|
|
19850
19850
|
};
|
|
@@ -19873,7 +19873,7 @@ function canonicalHash(value) {
|
|
|
19873
19873
|
return keccak256(stringToBytes(canonicalize(value)));
|
|
19874
19874
|
}
|
|
19875
19875
|
|
|
19876
|
-
//
|
|
19876
|
+
// lib/protocol/task.ts
|
|
19877
19877
|
var TASK_VERSION = "arl-task/1";
|
|
19878
19878
|
var WORKLOAD_CLASSES = ["reexec", "attested", "model-assisted", "review"];
|
|
19879
19879
|
var TIERS = ["fallback", "reexecution", "attested"];
|
|
@@ -20166,7 +20166,7 @@ function onchainTerms(task, opts) {
|
|
|
20166
20166
|
};
|
|
20167
20167
|
}
|
|
20168
20168
|
|
|
20169
|
-
//
|
|
20169
|
+
// lib/protocol/policy.ts
|
|
20170
20170
|
var POLICY_VERSION = "arl-policy/1";
|
|
20171
20171
|
var PolicyError = class extends Error {
|
|
20172
20172
|
name = "PolicyError";
|
|
@@ -20327,7 +20327,7 @@ function checkTaskAgainstPolicy(task, policy) {
|
|
|
20327
20327
|
}
|
|
20328
20328
|
}
|
|
20329
20329
|
|
|
20330
|
-
//
|
|
20330
|
+
// lib/protocol/reputation.ts
|
|
20331
20331
|
var DEFAULT_PARAMS = {
|
|
20332
20332
|
half_life_seconds: 180 * 24 * 3600,
|
|
20333
20333
|
max_client_share: 0.25,
|
|
@@ -20335,7 +20335,7 @@ var DEFAULT_PARAMS = {
|
|
|
20335
20335
|
min_clients: 2
|
|
20336
20336
|
};
|
|
20337
20337
|
|
|
20338
|
-
//
|
|
20338
|
+
// lib/protocol/deployments.ts
|
|
20339
20339
|
var ARBITER_SAFE = "0x8FF6c3aD0991Ac848BFf5d0acD78BBc5e190466f";
|
|
20340
20340
|
var BASE_MAINNET_TASK_DEPLOYMENTS = {
|
|
20341
20341
|
ARL: {
|
|
@@ -20357,7 +20357,7 @@ function taskDeployment(chainId, token) {
|
|
|
20357
20357
|
return chainId === 8453 ? BASE_MAINNET_TASK_DEPLOYMENTS[token] : void 0;
|
|
20358
20358
|
}
|
|
20359
20359
|
|
|
20360
|
-
//
|
|
20360
|
+
// lib/protocol/policies.ts
|
|
20361
20361
|
var ARL_100 = "100000000000000000000";
|
|
20362
20362
|
var RAW = [
|
|
20363
20363
|
{
|
|
@@ -20411,7 +20411,7 @@ function builtinPolicy(ref) {
|
|
|
20411
20411
|
return ref.startsWith(prefix) ? BUILTIN_POLICIES.get(ref.slice(prefix.length)) : void 0;
|
|
20412
20412
|
}
|
|
20413
20413
|
|
|
20414
|
-
//
|
|
20414
|
+
// lib/protocol/prepare.ts
|
|
20415
20415
|
var openTaskAbi = parseAbi([
|
|
20416
20416
|
"function createJob(address provider, address evaluator, uint256 expiredAt, string description, address hook) returns (uint256)",
|
|
20417
20417
|
"function setBudget(uint256 jobId, uint256 amount, bytes optParams)",
|
|
@@ -20514,7 +20514,7 @@ function fundingTransactions(prepared, jobId) {
|
|
|
20514
20514
|
];
|
|
20515
20515
|
}
|
|
20516
20516
|
|
|
20517
|
-
//
|
|
20517
|
+
// lib/sdk/verified.ts
|
|
20518
20518
|
var ALLOWED = [8453, 31337];
|
|
20519
20519
|
var verifiedJobsAbi = parseAbi([
|
|
20520
20520
|
"function createJob(address provider, address evaluator, uint256 expiredAt, string description, address hook) returns (uint256)",
|
|
@@ -20548,7 +20548,7 @@ function walletAccount(wallet) {
|
|
|
20548
20548
|
return wallet.account;
|
|
20549
20549
|
}
|
|
20550
20550
|
|
|
20551
|
-
//
|
|
20551
|
+
// lib/sdk/openTask.ts
|
|
20552
20552
|
var readAbi = [
|
|
20553
20553
|
{
|
|
20554
20554
|
type: "function",
|
|
@@ -20647,7 +20647,7 @@ function missingDeployment() {
|
|
|
20647
20647
|
throw new VerifiedJobError("deployment is required on this chain");
|
|
20648
20648
|
}
|
|
20649
20649
|
|
|
20650
|
-
//
|
|
20650
|
+
// lib/jobs.ts
|
|
20651
20651
|
var ESCROWS = {
|
|
20652
20652
|
ARL: "0x9aE99bF9a59aF47E81346B7c0b93Cd2B610455fC",
|
|
20653
20653
|
USDC: "0xE3eA0EAEc3Cf9DA2d0856A0f784A4B1671AeFD04"
|
|
@@ -20876,7 +20876,7 @@ async function openArlTask(c, input) {
|
|
|
20876
20876
|
};
|
|
20877
20877
|
}
|
|
20878
20878
|
|
|
20879
|
-
//
|
|
20879
|
+
// nodes/Arl/Arl.node.ts
|
|
20880
20880
|
var withJobId = [
|
|
20881
20881
|
"setBudget",
|
|
20882
20882
|
"fund",
|