@namehash/namehash-ui 1.5.1 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +158 -140
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1605 -2
- package/dist/index.d.ts +1605 -2
- package/dist/index.js +160 -142
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/dist/index.cjs
CHANGED
|
@@ -30,16 +30,16 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
30
30
|
));
|
|
31
31
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
32
32
|
|
|
33
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
33
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/version.js
|
|
34
34
|
var version;
|
|
35
35
|
var init_version = __esm({
|
|
36
|
-
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
36
|
+
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/version.js"() {
|
|
37
37
|
"use strict";
|
|
38
38
|
version = "2.38.5";
|
|
39
39
|
}
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
42
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/base.js
|
|
43
43
|
function walk(err, fn) {
|
|
44
44
|
if (fn?.(err))
|
|
45
45
|
return err;
|
|
@@ -49,7 +49,7 @@ function walk(err, fn) {
|
|
|
49
49
|
}
|
|
50
50
|
var errorConfig, BaseError;
|
|
51
51
|
var init_base = __esm({
|
|
52
|
-
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
52
|
+
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/base.js"() {
|
|
53
53
|
"use strict";
|
|
54
54
|
init_version();
|
|
55
55
|
errorConfig = {
|
|
@@ -130,10 +130,10 @@ var init_base = __esm({
|
|
|
130
130
|
}
|
|
131
131
|
});
|
|
132
132
|
|
|
133
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
133
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/encoding.js
|
|
134
134
|
var IntegerOutOfRangeError, SizeOverflowError;
|
|
135
135
|
var init_encoding = __esm({
|
|
136
|
-
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
136
|
+
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/encoding.js"() {
|
|
137
137
|
"use strict";
|
|
138
138
|
init_base();
|
|
139
139
|
IntegerOutOfRangeError = class extends BaseError {
|
|
@@ -149,7 +149,7 @@ var init_encoding = __esm({
|
|
|
149
149
|
}
|
|
150
150
|
});
|
|
151
151
|
|
|
152
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
152
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/data/isHex.js
|
|
153
153
|
function isHex(value, { strict = true } = {}) {
|
|
154
154
|
if (!value)
|
|
155
155
|
return false;
|
|
@@ -158,25 +158,25 @@ function isHex(value, { strict = true } = {}) {
|
|
|
158
158
|
return strict ? /^0x[0-9a-fA-F]*$/.test(value) : value.startsWith("0x");
|
|
159
159
|
}
|
|
160
160
|
var init_isHex = __esm({
|
|
161
|
-
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
161
|
+
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/data/isHex.js"() {
|
|
162
162
|
"use strict";
|
|
163
163
|
}
|
|
164
164
|
});
|
|
165
165
|
|
|
166
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
166
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/data/size.js
|
|
167
167
|
function size(value) {
|
|
168
168
|
if (isHex(value, { strict: false }))
|
|
169
169
|
return Math.ceil((value.length - 2) / 2);
|
|
170
170
|
return value.length;
|
|
171
171
|
}
|
|
172
172
|
var init_size = __esm({
|
|
173
|
-
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
173
|
+
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/data/size.js"() {
|
|
174
174
|
"use strict";
|
|
175
175
|
init_isHex();
|
|
176
176
|
}
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
179
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/data/trim.js
|
|
180
180
|
function trim(hexOrBytes, { dir = "left" } = {}) {
|
|
181
181
|
let data = typeof hexOrBytes === "string" ? hexOrBytes.replace("0x", "") : hexOrBytes;
|
|
182
182
|
let sliceLength = 0;
|
|
@@ -195,15 +195,15 @@ function trim(hexOrBytes, { dir = "left" } = {}) {
|
|
|
195
195
|
return data;
|
|
196
196
|
}
|
|
197
197
|
var init_trim = __esm({
|
|
198
|
-
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
198
|
+
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/data/trim.js"() {
|
|
199
199
|
"use strict";
|
|
200
200
|
}
|
|
201
201
|
});
|
|
202
202
|
|
|
203
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
203
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/data.js
|
|
204
204
|
var SliceOffsetOutOfBoundsError, SizeExceedsPaddingSizeError;
|
|
205
205
|
var init_data = __esm({
|
|
206
|
-
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
206
|
+
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/data.js"() {
|
|
207
207
|
"use strict";
|
|
208
208
|
init_base();
|
|
209
209
|
SliceOffsetOutOfBoundsError = class extends BaseError {
|
|
@@ -219,7 +219,7 @@ var init_data = __esm({
|
|
|
219
219
|
}
|
|
220
220
|
});
|
|
221
221
|
|
|
222
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
222
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/data/pad.js
|
|
223
223
|
function pad(hexOrBytes, { dir, size: size2 = 32 } = {}) {
|
|
224
224
|
if (typeof hexOrBytes === "string")
|
|
225
225
|
return padHex(hexOrBytes, { dir, size: size2 });
|
|
@@ -254,13 +254,13 @@ function padBytes(bytes, { dir, size: size2 = 32 } = {}) {
|
|
|
254
254
|
return paddedBytes;
|
|
255
255
|
}
|
|
256
256
|
var init_pad = __esm({
|
|
257
|
-
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
257
|
+
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/data/pad.js"() {
|
|
258
258
|
"use strict";
|
|
259
259
|
init_data();
|
|
260
260
|
}
|
|
261
261
|
});
|
|
262
262
|
|
|
263
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
263
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/encoding/toHex.js
|
|
264
264
|
function toHex(value, opts = {}) {
|
|
265
265
|
if (typeof value === "number" || typeof value === "bigint")
|
|
266
266
|
return numberToHex(value, opts);
|
|
@@ -325,7 +325,7 @@ function stringToHex(value_, opts = {}) {
|
|
|
325
325
|
}
|
|
326
326
|
var hexes, encoder;
|
|
327
327
|
var init_toHex = __esm({
|
|
328
|
-
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
328
|
+
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/encoding/toHex.js"() {
|
|
329
329
|
"use strict";
|
|
330
330
|
init_encoding();
|
|
331
331
|
init_pad();
|
|
@@ -335,7 +335,7 @@ var init_toHex = __esm({
|
|
|
335
335
|
}
|
|
336
336
|
});
|
|
337
337
|
|
|
338
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
338
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/encoding/toBytes.js
|
|
339
339
|
function toBytes(value, opts = {}) {
|
|
340
340
|
if (typeof value === "number" || typeof value === "bigint")
|
|
341
341
|
return numberToBytes(value, opts);
|
|
@@ -398,7 +398,7 @@ function stringToBytes(value, opts = {}) {
|
|
|
398
398
|
}
|
|
399
399
|
var encoder2, charCodeMap;
|
|
400
400
|
var init_toBytes = __esm({
|
|
401
|
-
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
401
|
+
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/encoding/toBytes.js"() {
|
|
402
402
|
"use strict";
|
|
403
403
|
init_base();
|
|
404
404
|
init_isHex();
|
|
@@ -417,7 +417,7 @@ var init_toBytes = __esm({
|
|
|
417
417
|
}
|
|
418
418
|
});
|
|
419
419
|
|
|
420
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
420
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/encoding/fromHex.js
|
|
421
421
|
function assertSize(hexOrBytes, { size: size2 }) {
|
|
422
422
|
if (size(hexOrBytes) > size2)
|
|
423
423
|
throw new SizeOverflowError({
|
|
@@ -442,14 +442,14 @@ function hexToNumber(hex, opts = {}) {
|
|
|
442
442
|
return Number(hexToBigInt(hex, opts));
|
|
443
443
|
}
|
|
444
444
|
var init_fromHex = __esm({
|
|
445
|
-
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
445
|
+
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/encoding/fromHex.js"() {
|
|
446
446
|
"use strict";
|
|
447
447
|
init_encoding();
|
|
448
448
|
init_size();
|
|
449
449
|
}
|
|
450
450
|
});
|
|
451
451
|
|
|
452
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
452
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/formatters/formatter.js
|
|
453
453
|
function defineFormatter(type, format) {
|
|
454
454
|
return ({ exclude, format: overrides }) => {
|
|
455
455
|
return {
|
|
@@ -471,12 +471,12 @@ function defineFormatter(type, format) {
|
|
|
471
471
|
};
|
|
472
472
|
}
|
|
473
473
|
var init_formatter = __esm({
|
|
474
|
-
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
474
|
+
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/formatters/formatter.js"() {
|
|
475
475
|
"use strict";
|
|
476
476
|
}
|
|
477
477
|
});
|
|
478
478
|
|
|
479
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
479
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/formatters/transactionRequest.js
|
|
480
480
|
function formatTransactionRequest(request, _) {
|
|
481
481
|
const rpcRequest = {};
|
|
482
482
|
if (typeof request.authorizationList !== "undefined")
|
|
@@ -530,7 +530,7 @@ function formatAuthorizationList2(authorizationList) {
|
|
|
530
530
|
}
|
|
531
531
|
var rpcTransactionType;
|
|
532
532
|
var init_transactionRequest = __esm({
|
|
533
|
-
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
533
|
+
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/formatters/transactionRequest.js"() {
|
|
534
534
|
"use strict";
|
|
535
535
|
init_toHex();
|
|
536
536
|
rpcTransactionType = {
|
|
@@ -543,10 +543,10 @@ var init_transactionRequest = __esm({
|
|
|
543
543
|
}
|
|
544
544
|
});
|
|
545
545
|
|
|
546
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
546
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/constants/number.js
|
|
547
547
|
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;
|
|
548
548
|
var init_number = __esm({
|
|
549
|
-
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
549
|
+
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/constants/number.js"() {
|
|
550
550
|
"use strict";
|
|
551
551
|
maxInt8 = 2n ** (8n - 1n) - 1n;
|
|
552
552
|
maxInt16 = 2n ** (16n - 1n) - 1n;
|
|
@@ -647,20 +647,20 @@ var init_number = __esm({
|
|
|
647
647
|
}
|
|
648
648
|
});
|
|
649
649
|
|
|
650
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
650
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/data/concat.js
|
|
651
651
|
function concatHex(values) {
|
|
652
652
|
return `0x${values.reduce((acc, x) => acc + x.replace("0x", ""), "")}`;
|
|
653
653
|
}
|
|
654
654
|
var init_concat = __esm({
|
|
655
|
-
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
655
|
+
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/data/concat.js"() {
|
|
656
656
|
"use strict";
|
|
657
657
|
}
|
|
658
658
|
});
|
|
659
659
|
|
|
660
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
660
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/cursor.js
|
|
661
661
|
var NegativeOffsetError, PositionOutOfBoundsError, RecursiveReadLimitExceededError;
|
|
662
662
|
var init_cursor = __esm({
|
|
663
|
-
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
663
|
+
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/cursor.js"() {
|
|
664
664
|
"use strict";
|
|
665
665
|
init_base();
|
|
666
666
|
NegativeOffsetError = class extends BaseError {
|
|
@@ -683,7 +683,7 @@ var init_cursor = __esm({
|
|
|
683
683
|
}
|
|
684
684
|
});
|
|
685
685
|
|
|
686
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
686
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/cursor.js
|
|
687
687
|
function createCursor(bytes, { recursiveReadLimit = 8192 } = {}) {
|
|
688
688
|
const cursor = Object.create(staticCursor);
|
|
689
689
|
cursor.bytes = bytes;
|
|
@@ -694,7 +694,7 @@ function createCursor(bytes, { recursiveReadLimit = 8192 } = {}) {
|
|
|
694
694
|
}
|
|
695
695
|
var staticCursor;
|
|
696
696
|
var init_cursor2 = __esm({
|
|
697
|
-
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
697
|
+
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/cursor.js"() {
|
|
698
698
|
"use strict";
|
|
699
699
|
init_cursor();
|
|
700
700
|
staticCursor = {
|
|
@@ -859,10 +859,10 @@ var init_cursor2 = __esm({
|
|
|
859
859
|
}
|
|
860
860
|
});
|
|
861
861
|
|
|
862
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
862
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/constants/unit.js
|
|
863
863
|
var etherUnits, gweiUnits;
|
|
864
864
|
var init_unit = __esm({
|
|
865
|
-
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
865
|
+
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/constants/unit.js"() {
|
|
866
866
|
"use strict";
|
|
867
867
|
etherUnits = {
|
|
868
868
|
gwei: 9,
|
|
@@ -875,7 +875,7 @@ var init_unit = __esm({
|
|
|
875
875
|
}
|
|
876
876
|
});
|
|
877
877
|
|
|
878
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
878
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/unit/formatUnits.js
|
|
879
879
|
function formatUnits(value, decimals) {
|
|
880
880
|
let display = value.toString();
|
|
881
881
|
const negative = display.startsWith("-");
|
|
@@ -890,36 +890,36 @@ function formatUnits(value, decimals) {
|
|
|
890
890
|
return `${negative ? "-" : ""}${integer || "0"}${fraction ? `.${fraction}` : ""}`;
|
|
891
891
|
}
|
|
892
892
|
var init_formatUnits = __esm({
|
|
893
|
-
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
893
|
+
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/unit/formatUnits.js"() {
|
|
894
894
|
"use strict";
|
|
895
895
|
}
|
|
896
896
|
});
|
|
897
897
|
|
|
898
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
898
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/unit/formatEther.js
|
|
899
899
|
function formatEther(wei, unit = "wei") {
|
|
900
900
|
return formatUnits(wei, etherUnits[unit]);
|
|
901
901
|
}
|
|
902
902
|
var init_formatEther = __esm({
|
|
903
|
-
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
903
|
+
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/unit/formatEther.js"() {
|
|
904
904
|
"use strict";
|
|
905
905
|
init_unit();
|
|
906
906
|
init_formatUnits();
|
|
907
907
|
}
|
|
908
908
|
});
|
|
909
909
|
|
|
910
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
910
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/unit/formatGwei.js
|
|
911
911
|
function formatGwei(wei, unit = "wei") {
|
|
912
912
|
return formatUnits(wei, gweiUnits[unit]);
|
|
913
913
|
}
|
|
914
914
|
var init_formatGwei = __esm({
|
|
915
|
-
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
915
|
+
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/unit/formatGwei.js"() {
|
|
916
916
|
"use strict";
|
|
917
917
|
init_unit();
|
|
918
918
|
init_formatUnits();
|
|
919
919
|
}
|
|
920
920
|
});
|
|
921
921
|
|
|
922
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
922
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/transaction.js
|
|
923
923
|
function prettyPrint(args) {
|
|
924
924
|
const entries = Object.entries(args).map(([key, value]) => {
|
|
925
925
|
if (value === void 0 || value === false)
|
|
@@ -931,7 +931,7 @@ function prettyPrint(args) {
|
|
|
931
931
|
}
|
|
932
932
|
var FeeConflictError, InvalidLegacyVError, InvalidSerializableTransactionError, InvalidStorageKeySizeError;
|
|
933
933
|
var init_transaction = __esm({
|
|
934
|
-
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
934
|
+
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/transaction.js"() {
|
|
935
935
|
"use strict";
|
|
936
936
|
init_base();
|
|
937
937
|
FeeConflictError = class extends BaseError {
|
|
@@ -1362,10 +1362,10 @@ var init_sha2 = __esm({
|
|
|
1362
1362
|
}
|
|
1363
1363
|
});
|
|
1364
1364
|
|
|
1365
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
1365
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/address.js
|
|
1366
1366
|
var InvalidAddressError;
|
|
1367
1367
|
var init_address = __esm({
|
|
1368
|
-
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
1368
|
+
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/address.js"() {
|
|
1369
1369
|
"use strict";
|
|
1370
1370
|
init_base();
|
|
1371
1371
|
InvalidAddressError = class extends BaseError {
|
|
@@ -1382,10 +1382,10 @@ var init_address = __esm({
|
|
|
1382
1382
|
}
|
|
1383
1383
|
});
|
|
1384
1384
|
|
|
1385
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
1385
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/chain.js
|
|
1386
1386
|
var InvalidChainIdError;
|
|
1387
1387
|
var init_chain = __esm({
|
|
1388
|
-
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
1388
|
+
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/chain.js"() {
|
|
1389
1389
|
"use strict";
|
|
1390
1390
|
init_base();
|
|
1391
1391
|
InvalidChainIdError = class extends BaseError {
|
|
@@ -1396,10 +1396,10 @@ var init_chain = __esm({
|
|
|
1396
1396
|
}
|
|
1397
1397
|
});
|
|
1398
1398
|
|
|
1399
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
1399
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/node.js
|
|
1400
1400
|
var ExecutionRevertedError, FeeCapTooHighError, FeeCapTooLowError, NonceTooHighError, NonceTooLowError, NonceMaxValueError, InsufficientFundsError, IntrinsicGasTooHighError, IntrinsicGasTooLowError, TransactionTypeNotSupportedError, TipAboveFeeCapError, UnknownNodeError;
|
|
1401
1401
|
var init_node = __esm({
|
|
1402
|
-
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
1402
|
+
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/node.js"() {
|
|
1403
1403
|
"use strict";
|
|
1404
1404
|
init_formatGwei();
|
|
1405
1405
|
init_base();
|
|
@@ -1583,10 +1583,10 @@ var init_node = __esm({
|
|
|
1583
1583
|
}
|
|
1584
1584
|
});
|
|
1585
1585
|
|
|
1586
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
1586
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/lru.js
|
|
1587
1587
|
var LruMap;
|
|
1588
1588
|
var init_lru = __esm({
|
|
1589
|
-
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
1589
|
+
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/lru.js"() {
|
|
1590
1590
|
"use strict";
|
|
1591
1591
|
LruMap = class extends Map {
|
|
1592
1592
|
constructor(size2) {
|
|
@@ -1809,7 +1809,7 @@ var init_sha3 = __esm({
|
|
|
1809
1809
|
}
|
|
1810
1810
|
});
|
|
1811
1811
|
|
|
1812
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
1812
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/hash/keccak256.js
|
|
1813
1813
|
function keccak256(value, to_) {
|
|
1814
1814
|
const to = to_ || "hex";
|
|
1815
1815
|
const bytes = keccak_256(isHex(value, { strict: false }) ? toBytes(value) : value);
|
|
@@ -1818,7 +1818,7 @@ function keccak256(value, to_) {
|
|
|
1818
1818
|
return toHex(bytes);
|
|
1819
1819
|
}
|
|
1820
1820
|
var init_keccak256 = __esm({
|
|
1821
|
-
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
1821
|
+
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/hash/keccak256.js"() {
|
|
1822
1822
|
"use strict";
|
|
1823
1823
|
init_sha3();
|
|
1824
1824
|
init_isHex();
|
|
@@ -1827,7 +1827,7 @@ var init_keccak256 = __esm({
|
|
|
1827
1827
|
}
|
|
1828
1828
|
});
|
|
1829
1829
|
|
|
1830
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
1830
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/address/getAddress.js
|
|
1831
1831
|
function checksumAddress(address_, chainId) {
|
|
1832
1832
|
if (checksumAddressCache.has(`${address_}.${chainId}`))
|
|
1833
1833
|
return checksumAddressCache.get(`${address_}.${chainId}`);
|
|
@@ -1853,7 +1853,7 @@ function getAddress(address, chainId) {
|
|
|
1853
1853
|
}
|
|
1854
1854
|
var checksumAddressCache;
|
|
1855
1855
|
var init_getAddress = __esm({
|
|
1856
|
-
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
1856
|
+
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/address/getAddress.js"() {
|
|
1857
1857
|
"use strict";
|
|
1858
1858
|
init_address();
|
|
1859
1859
|
init_toBytes();
|
|
@@ -1864,7 +1864,7 @@ var init_getAddress = __esm({
|
|
|
1864
1864
|
}
|
|
1865
1865
|
});
|
|
1866
1866
|
|
|
1867
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
1867
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/address/isAddress.js
|
|
1868
1868
|
function isAddress(address, options) {
|
|
1869
1869
|
const { strict = true } = options ?? {};
|
|
1870
1870
|
const cacheKey = `${address}.${strict}`;
|
|
@@ -1884,7 +1884,7 @@ function isAddress(address, options) {
|
|
|
1884
1884
|
}
|
|
1885
1885
|
var addressRegex, isAddressCache;
|
|
1886
1886
|
var init_isAddress = __esm({
|
|
1887
|
-
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
1887
|
+
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/address/isAddress.js"() {
|
|
1888
1888
|
"use strict";
|
|
1889
1889
|
init_lru();
|
|
1890
1890
|
init_getAddress();
|
|
@@ -1893,7 +1893,7 @@ var init_isAddress = __esm({
|
|
|
1893
1893
|
}
|
|
1894
1894
|
});
|
|
1895
1895
|
|
|
1896
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
1896
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/data/slice.js
|
|
1897
1897
|
function slice(value, start, end, { strict } = {}) {
|
|
1898
1898
|
if (isHex(value, { strict: false }))
|
|
1899
1899
|
return sliceHex(value, start, end, {
|
|
@@ -1935,7 +1935,7 @@ function sliceHex(value_, start, end, { strict } = {}) {
|
|
|
1935
1935
|
return value;
|
|
1936
1936
|
}
|
|
1937
1937
|
var init_slice = __esm({
|
|
1938
|
-
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
1938
|
+
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/data/slice.js"() {
|
|
1939
1939
|
"use strict";
|
|
1940
1940
|
init_data();
|
|
1941
1941
|
init_isHex();
|
|
@@ -1943,19 +1943,19 @@ var init_slice = __esm({
|
|
|
1943
1943
|
}
|
|
1944
1944
|
});
|
|
1945
1945
|
|
|
1946
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
1946
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/accounts/utils/parseAccount.js
|
|
1947
1947
|
function parseAccount(account) {
|
|
1948
1948
|
if (typeof account === "string")
|
|
1949
1949
|
return { address: account, type: "json-rpc" };
|
|
1950
1950
|
return account;
|
|
1951
1951
|
}
|
|
1952
1952
|
var init_parseAccount = __esm({
|
|
1953
|
-
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
1953
|
+
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/accounts/utils/parseAccount.js"() {
|
|
1954
1954
|
"use strict";
|
|
1955
1955
|
}
|
|
1956
1956
|
});
|
|
1957
1957
|
|
|
1958
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
1958
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/stateOverride.js
|
|
1959
1959
|
function prettyStateMapping(stateMapping) {
|
|
1960
1960
|
return stateMapping.reduce((pretty, { slot, value }) => {
|
|
1961
1961
|
return `${pretty} ${slot}: ${value}
|
|
@@ -1987,15 +1987,15 @@ function prettyStateOverride(stateOverride) {
|
|
|
1987
1987
|
}, " State Override:\n").slice(0, -1);
|
|
1988
1988
|
}
|
|
1989
1989
|
var init_stateOverride = __esm({
|
|
1990
|
-
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
1990
|
+
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/stateOverride.js"() {
|
|
1991
1991
|
"use strict";
|
|
1992
1992
|
}
|
|
1993
1993
|
});
|
|
1994
1994
|
|
|
1995
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
1995
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/contract.js
|
|
1996
1996
|
var CallExecutionError;
|
|
1997
1997
|
var init_contract = __esm({
|
|
1998
|
-
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
1998
|
+
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/contract.js"() {
|
|
1999
1999
|
"use strict";
|
|
2000
2000
|
init_parseAccount();
|
|
2001
2001
|
init_formatEther();
|
|
@@ -2043,7 +2043,7 @@ ${prettyStateOverride(stateOverride)}`;
|
|
|
2043
2043
|
}
|
|
2044
2044
|
});
|
|
2045
2045
|
|
|
2046
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
2046
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/errors/getNodeError.js
|
|
2047
2047
|
function getNodeError(err, args) {
|
|
2048
2048
|
const message = (err.details || "").toLowerCase();
|
|
2049
2049
|
const executionRevertedError = err instanceof BaseError ? err.walk((e) => e?.code === ExecutionRevertedError.code) : err;
|
|
@@ -2092,14 +2092,14 @@ function getNodeError(err, args) {
|
|
|
2092
2092
|
});
|
|
2093
2093
|
}
|
|
2094
2094
|
var init_getNodeError = __esm({
|
|
2095
|
-
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
2095
|
+
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/errors/getNodeError.js"() {
|
|
2096
2096
|
"use strict";
|
|
2097
2097
|
init_base();
|
|
2098
2098
|
init_node();
|
|
2099
2099
|
}
|
|
2100
2100
|
});
|
|
2101
2101
|
|
|
2102
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
2102
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/errors/getCallError.js
|
|
2103
2103
|
function getCallError(err, { docsPath, ...args }) {
|
|
2104
2104
|
const cause = (() => {
|
|
2105
2105
|
const cause2 = getNodeError(err, args);
|
|
@@ -2113,7 +2113,7 @@ function getCallError(err, { docsPath, ...args }) {
|
|
|
2113
2113
|
});
|
|
2114
2114
|
}
|
|
2115
2115
|
var init_getCallError = __esm({
|
|
2116
|
-
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
2116
|
+
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/errors/getCallError.js"() {
|
|
2117
2117
|
"use strict";
|
|
2118
2118
|
init_contract();
|
|
2119
2119
|
init_node();
|
|
@@ -2121,7 +2121,7 @@ var init_getCallError = __esm({
|
|
|
2121
2121
|
}
|
|
2122
2122
|
});
|
|
2123
2123
|
|
|
2124
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
2124
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/formatters/extract.js
|
|
2125
2125
|
function extract(value_, { format }) {
|
|
2126
2126
|
if (!format)
|
|
2127
2127
|
return {};
|
|
@@ -2140,12 +2140,12 @@ function extract(value_, { format }) {
|
|
|
2140
2140
|
return value;
|
|
2141
2141
|
}
|
|
2142
2142
|
var init_extract = __esm({
|
|
2143
|
-
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
2143
|
+
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/formatters/extract.js"() {
|
|
2144
2144
|
"use strict";
|
|
2145
2145
|
}
|
|
2146
2146
|
});
|
|
2147
2147
|
|
|
2148
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
2148
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/transaction/assertRequest.js
|
|
2149
2149
|
function assertRequest(args) {
|
|
2150
2150
|
const { account: account_, gasPrice, maxFeePerGas, maxPriorityFeePerGas, to } = args;
|
|
2151
2151
|
const account = account_ ? parseAccount(account_) : void 0;
|
|
@@ -2161,7 +2161,7 @@ function assertRequest(args) {
|
|
|
2161
2161
|
throw new TipAboveFeeCapError({ maxFeePerGas, maxPriorityFeePerGas });
|
|
2162
2162
|
}
|
|
2163
2163
|
var init_assertRequest = __esm({
|
|
2164
|
-
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
2164
|
+
"../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/transaction/assertRequest.js"() {
|
|
2165
2165
|
"use strict";
|
|
2166
2166
|
init_parseAccount();
|
|
2167
2167
|
init_number();
|
|
@@ -2194,12 +2194,14 @@ __export(index_exports, {
|
|
|
2194
2194
|
IdentityLink: () => IdentityLink,
|
|
2195
2195
|
IdentityTooltip: () => IdentityTooltip,
|
|
2196
2196
|
InfoIcon: () => InfoIcon,
|
|
2197
|
+
LabeledField: () => LabeledField,
|
|
2197
2198
|
NameDisplay: () => NameDisplay,
|
|
2198
2199
|
RegistrarActionCard: () => RegistrarActionCard,
|
|
2199
2200
|
RegistrarActionCardLoading: () => RegistrarActionCardLoading,
|
|
2200
2201
|
RegistrarActionCardMemo: () => RegistrarActionCardMemo,
|
|
2201
2202
|
RelativeTime: () => RelativeTime,
|
|
2202
2203
|
ResolveAndDisplayIdentity: () => ResolveAndDisplayIdentity,
|
|
2204
|
+
SUPPORTED_CHAINS: () => SUPPORTED_CHAINS,
|
|
2203
2205
|
TelegramIcon: () => TelegramIcon,
|
|
2204
2206
|
TwitterIcon: () => TwitterIcon,
|
|
2205
2207
|
formatRelativeTime: () => formatRelativeTime,
|
|
@@ -2212,11 +2214,12 @@ __export(index_exports, {
|
|
|
2212
2214
|
getEnsManagerNameDetailsUrl: () => getEnsManagerNameDetailsUrl,
|
|
2213
2215
|
getEnsManagerUrl: () => getEnsManagerUrl,
|
|
2214
2216
|
getEnsMetadataServiceAvatarUrl: () => getEnsMetadataServiceAvatarUrl,
|
|
2217
|
+
useIsMobile: () => useIsMobile,
|
|
2215
2218
|
useNow: () => useNow
|
|
2216
2219
|
});
|
|
2217
2220
|
module.exports = __toCommonJS(index_exports);
|
|
2218
2221
|
|
|
2219
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
2222
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/chain/defineChain.js
|
|
2220
2223
|
function defineChain(chain) {
|
|
2221
2224
|
return {
|
|
2222
2225
|
formatters: void 0,
|
|
@@ -2226,10 +2229,10 @@ function defineChain(chain) {
|
|
|
2226
2229
|
};
|
|
2227
2230
|
}
|
|
2228
2231
|
|
|
2229
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
2232
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/formatters/block.js
|
|
2230
2233
|
init_formatter();
|
|
2231
2234
|
|
|
2232
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
2235
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/formatters/transaction.js
|
|
2233
2236
|
init_fromHex();
|
|
2234
2237
|
init_formatter();
|
|
2235
2238
|
var transactionType = {
|
|
@@ -2302,7 +2305,7 @@ function formatAuthorizationList(authorizationList) {
|
|
|
2302
2305
|
}));
|
|
2303
2306
|
}
|
|
2304
2307
|
|
|
2305
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
2308
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/formatters/block.js
|
|
2306
2309
|
function formatBlock(block, _) {
|
|
2307
2310
|
const transactions = (block.transactions ?? []).map((transaction) => {
|
|
2308
2311
|
if (typeof transaction === "string")
|
|
@@ -2329,7 +2332,7 @@ function formatBlock(block, _) {
|
|
|
2329
2332
|
}
|
|
2330
2333
|
var defineBlock = /* @__PURE__ */ defineFormatter("block", formatBlock);
|
|
2331
2334
|
|
|
2332
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
2335
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/formatters/log.js
|
|
2333
2336
|
function formatLog(log, { args, eventName } = {}) {
|
|
2334
2337
|
return {
|
|
2335
2338
|
...log,
|
|
@@ -2342,7 +2345,7 @@ function formatLog(log, { args, eventName } = {}) {
|
|
|
2342
2345
|
};
|
|
2343
2346
|
}
|
|
2344
2347
|
|
|
2345
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
2348
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/formatters/transactionReceipt.js
|
|
2346
2349
|
init_fromHex();
|
|
2347
2350
|
init_formatter();
|
|
2348
2351
|
var receiptStatuses = {
|
|
@@ -2371,7 +2374,7 @@ function formatTransactionReceipt(transactionReceipt, _) {
|
|
|
2371
2374
|
}
|
|
2372
2375
|
var defineTransactionReceipt = /* @__PURE__ */ defineFormatter("transactionReceipt", formatTransactionReceipt);
|
|
2373
2376
|
|
|
2374
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
2377
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/encoding/toRlp.js
|
|
2375
2378
|
init_base();
|
|
2376
2379
|
init_cursor2();
|
|
2377
2380
|
init_toBytes();
|
|
@@ -2464,10 +2467,10 @@ function getSizeOfLength(length) {
|
|
|
2464
2467
|
throw new BaseError("Length is too large.");
|
|
2465
2468
|
}
|
|
2466
2469
|
|
|
2467
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
2470
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/transaction/serializeTransaction.js
|
|
2468
2471
|
init_transaction();
|
|
2469
2472
|
|
|
2470
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
2473
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/authorization/serializeAuthorizationList.js
|
|
2471
2474
|
init_toHex();
|
|
2472
2475
|
function serializeAuthorizationList(authorizationList) {
|
|
2473
2476
|
if (!authorizationList || authorizationList.length === 0)
|
|
@@ -2486,7 +2489,7 @@ function serializeAuthorizationList(authorizationList) {
|
|
|
2486
2489
|
return serializedAuthorizationList;
|
|
2487
2490
|
}
|
|
2488
2491
|
|
|
2489
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
2492
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/blob/blobsToCommitments.js
|
|
2490
2493
|
init_toBytes();
|
|
2491
2494
|
init_toHex();
|
|
2492
2495
|
function blobsToCommitments(parameters) {
|
|
@@ -2499,7 +2502,7 @@ function blobsToCommitments(parameters) {
|
|
|
2499
2502
|
return to === "bytes" ? commitments : commitments.map((x) => bytesToHex(x));
|
|
2500
2503
|
}
|
|
2501
2504
|
|
|
2502
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
2505
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/blob/blobsToProofs.js
|
|
2503
2506
|
init_toBytes();
|
|
2504
2507
|
init_toHex();
|
|
2505
2508
|
function blobsToProofs(parameters) {
|
|
@@ -2516,14 +2519,14 @@ function blobsToProofs(parameters) {
|
|
|
2516
2519
|
return to === "bytes" ? proofs : proofs.map((x) => bytesToHex(x));
|
|
2517
2520
|
}
|
|
2518
2521
|
|
|
2519
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
2522
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/blob/commitmentToVersionedHash.js
|
|
2520
2523
|
init_toHex();
|
|
2521
2524
|
|
|
2522
2525
|
// ../../node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/sha256.js
|
|
2523
2526
|
init_sha2();
|
|
2524
2527
|
var sha2562 = sha256;
|
|
2525
2528
|
|
|
2526
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
2529
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/hash/sha256.js
|
|
2527
2530
|
init_isHex();
|
|
2528
2531
|
init_toBytes();
|
|
2529
2532
|
init_toHex();
|
|
@@ -2535,7 +2538,7 @@ function sha2563(value, to_) {
|
|
|
2535
2538
|
return toHex(bytes);
|
|
2536
2539
|
}
|
|
2537
2540
|
|
|
2538
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
2541
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/blob/commitmentToVersionedHash.js
|
|
2539
2542
|
function commitmentToVersionedHash(parameters) {
|
|
2540
2543
|
const { commitment, version: version2 = 1 } = parameters;
|
|
2541
2544
|
const to = parameters.to ?? (typeof commitment === "string" ? "hex" : "bytes");
|
|
@@ -2544,7 +2547,7 @@ function commitmentToVersionedHash(parameters) {
|
|
|
2544
2547
|
return to === "bytes" ? versionedHash : bytesToHex(versionedHash);
|
|
2545
2548
|
}
|
|
2546
2549
|
|
|
2547
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
2550
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/blob/commitmentsToVersionedHashes.js
|
|
2548
2551
|
function commitmentsToVersionedHashes(parameters) {
|
|
2549
2552
|
const { commitments, version: version2 } = parameters;
|
|
2550
2553
|
const to = parameters.to ?? (typeof commitments[0] === "string" ? "hex" : "bytes");
|
|
@@ -2559,7 +2562,7 @@ function commitmentsToVersionedHashes(parameters) {
|
|
|
2559
2562
|
return hashes;
|
|
2560
2563
|
}
|
|
2561
2564
|
|
|
2562
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
2565
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/constants/blob.js
|
|
2563
2566
|
var blobsPerTransaction = 6;
|
|
2564
2567
|
var bytesPerFieldElement = 32;
|
|
2565
2568
|
var fieldElementsPerBlob = 4096;
|
|
@@ -2568,10 +2571,10 @@ var maxBytesPerTransaction = bytesPerBlob * blobsPerTransaction - // terminator
|
|
|
2568
2571
|
1 - // zero byte (0x00) appended to each field element.
|
|
2569
2572
|
1 * fieldElementsPerBlob * blobsPerTransaction;
|
|
2570
2573
|
|
|
2571
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
2574
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/constants/kzg.js
|
|
2572
2575
|
var versionedHashVersionKzg = 1;
|
|
2573
2576
|
|
|
2574
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
2577
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/blob.js
|
|
2575
2578
|
init_base();
|
|
2576
2579
|
var BlobSizeTooLargeError = class extends BaseError {
|
|
2577
2580
|
constructor({ maxSize, size: size2 }) {
|
|
@@ -2606,7 +2609,7 @@ var InvalidVersionedHashVersionError = class extends BaseError {
|
|
|
2606
2609
|
}
|
|
2607
2610
|
};
|
|
2608
2611
|
|
|
2609
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
2612
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/blob/toBlobs.js
|
|
2610
2613
|
init_cursor2();
|
|
2611
2614
|
init_size();
|
|
2612
2615
|
init_toBytes();
|
|
@@ -2645,7 +2648,7 @@ function toBlobs(parameters) {
|
|
|
2645
2648
|
return to === "bytes" ? blobs.map((x) => x.bytes) : blobs.map((x) => bytesToHex(x.bytes));
|
|
2646
2649
|
}
|
|
2647
2650
|
|
|
2648
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
2651
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/blob/toBlobSidecars.js
|
|
2649
2652
|
function toBlobSidecars(parameters) {
|
|
2650
2653
|
const { data, kzg, to } = parameters;
|
|
2651
2654
|
const blobs = parameters.blobs ?? toBlobs({ data, to });
|
|
@@ -2661,12 +2664,12 @@ function toBlobSidecars(parameters) {
|
|
|
2661
2664
|
return sidecars;
|
|
2662
2665
|
}
|
|
2663
2666
|
|
|
2664
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
2667
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/transaction/serializeTransaction.js
|
|
2665
2668
|
init_concat();
|
|
2666
2669
|
init_trim();
|
|
2667
2670
|
init_toHex();
|
|
2668
2671
|
|
|
2669
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
2672
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/transaction/assertTransaction.js
|
|
2670
2673
|
init_number();
|
|
2671
2674
|
init_address();
|
|
2672
2675
|
init_base();
|
|
@@ -2743,7 +2746,7 @@ function assertTransactionLegacy(transaction) {
|
|
|
2743
2746
|
throw new FeeCapTooHighError({ maxFeePerGas: gasPrice });
|
|
2744
2747
|
}
|
|
2745
2748
|
|
|
2746
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
2749
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/transaction/getTransactionType.js
|
|
2747
2750
|
init_transaction();
|
|
2748
2751
|
function getTransactionType(transaction) {
|
|
2749
2752
|
if (transaction.type)
|
|
@@ -2763,7 +2766,7 @@ function getTransactionType(transaction) {
|
|
|
2763
2766
|
throw new InvalidSerializableTransactionError({ transaction });
|
|
2764
2767
|
}
|
|
2765
2768
|
|
|
2766
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
2769
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/transaction/serializeAccessList.js
|
|
2767
2770
|
init_address();
|
|
2768
2771
|
init_transaction();
|
|
2769
2772
|
init_isAddress();
|
|
@@ -2786,7 +2789,7 @@ function serializeAccessList(accessList) {
|
|
|
2786
2789
|
return serializedAccessList;
|
|
2787
2790
|
}
|
|
2788
2791
|
|
|
2789
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
2792
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/utils/transaction/serializeTransaction.js
|
|
2790
2793
|
function serializeTransaction(transaction, signature) {
|
|
2791
2794
|
const type = getTransactionType(transaction);
|
|
2792
2795
|
if (type === "eip1559")
|
|
@@ -2986,7 +2989,7 @@ function toYParitySignatureArray(transaction, signature_) {
|
|
|
2986
2989
|
return [yParity_, r === "0x00" ? "0x" : r, s === "0x00" ? "0x" : s];
|
|
2987
2990
|
}
|
|
2988
2991
|
|
|
2989
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
2992
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/op-stack/contracts.js
|
|
2990
2993
|
var contracts = {
|
|
2991
2994
|
gasPriceOracle: { address: "0x420000000000000000000000000000000000000F" },
|
|
2992
2995
|
l1Block: { address: "0x4200000000000000000000000000000000000015" },
|
|
@@ -3000,7 +3003,7 @@ var contracts = {
|
|
|
3000
3003
|
}
|
|
3001
3004
|
};
|
|
3002
3005
|
|
|
3003
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
3006
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/op-stack/formatters.js
|
|
3004
3007
|
init_fromHex();
|
|
3005
3008
|
var formatters = {
|
|
3006
3009
|
block: /* @__PURE__ */ defineBlock({
|
|
@@ -3047,7 +3050,7 @@ var formatters = {
|
|
|
3047
3050
|
})
|
|
3048
3051
|
};
|
|
3049
3052
|
|
|
3050
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
3053
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/op-stack/serializers.js
|
|
3051
3054
|
init_address();
|
|
3052
3055
|
init_isAddress();
|
|
3053
3056
|
init_concat();
|
|
@@ -3093,7 +3096,7 @@ function assertTransactionDeposit(transaction) {
|
|
|
3093
3096
|
throw new InvalidAddressError({ address: to });
|
|
3094
3097
|
}
|
|
3095
3098
|
|
|
3096
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
3099
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/op-stack/chainConfig.js
|
|
3097
3100
|
var chainConfig = {
|
|
3098
3101
|
blockTime: 2e3,
|
|
3099
3102
|
contracts,
|
|
@@ -3101,7 +3104,7 @@ var chainConfig = {
|
|
|
3101
3104
|
serializers
|
|
3102
3105
|
};
|
|
3103
3106
|
|
|
3104
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
3107
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/chains/definitions/arbitrum.js
|
|
3105
3108
|
var arbitrum = /* @__PURE__ */ defineChain({
|
|
3106
3109
|
id: 42161,
|
|
3107
3110
|
name: "Arbitrum One",
|
|
@@ -3127,7 +3130,7 @@ var arbitrum = /* @__PURE__ */ defineChain({
|
|
|
3127
3130
|
}
|
|
3128
3131
|
});
|
|
3129
3132
|
|
|
3130
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
3133
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/chains/definitions/arbitrumSepolia.js
|
|
3131
3134
|
var arbitrumSepolia = /* @__PURE__ */ defineChain({
|
|
3132
3135
|
id: 421614,
|
|
3133
3136
|
name: "Arbitrum Sepolia",
|
|
@@ -3158,7 +3161,7 @@ var arbitrumSepolia = /* @__PURE__ */ defineChain({
|
|
|
3158
3161
|
testnet: true
|
|
3159
3162
|
});
|
|
3160
3163
|
|
|
3161
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
3164
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/chains/definitions/base.js
|
|
3162
3165
|
var sourceId = 1;
|
|
3163
3166
|
var base = /* @__PURE__ */ defineChain({
|
|
3164
3167
|
...chainConfig,
|
|
@@ -3218,7 +3221,7 @@ var basePreconf = /* @__PURE__ */ defineChain({
|
|
|
3218
3221
|
}
|
|
3219
3222
|
});
|
|
3220
3223
|
|
|
3221
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
3224
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/chains/definitions/baseSepolia.js
|
|
3222
3225
|
var sourceId2 = 11155111;
|
|
3223
3226
|
var baseSepolia = /* @__PURE__ */ defineChain({
|
|
3224
3227
|
...chainConfig,
|
|
@@ -3280,10 +3283,10 @@ var baseSepoliaPreconf = /* @__PURE__ */ defineChain({
|
|
|
3280
3283
|
}
|
|
3281
3284
|
});
|
|
3282
3285
|
|
|
3283
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
3286
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/linea/actions/estimateGas.js
|
|
3284
3287
|
init_parseAccount();
|
|
3285
3288
|
|
|
3286
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
3289
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/errors/account.js
|
|
3287
3290
|
init_base();
|
|
3288
3291
|
var AccountNotFoundError = class extends BaseError {
|
|
3289
3292
|
constructor({ docsPath } = {}) {
|
|
@@ -3298,7 +3301,7 @@ var AccountNotFoundError = class extends BaseError {
|
|
|
3298
3301
|
}
|
|
3299
3302
|
};
|
|
3300
3303
|
|
|
3301
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
3304
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/linea/actions/estimateGas.js
|
|
3302
3305
|
init_toHex();
|
|
3303
3306
|
init_getCallError();
|
|
3304
3307
|
init_extract();
|
|
@@ -3348,7 +3351,7 @@ async function estimateGas(client, args) {
|
|
|
3348
3351
|
}
|
|
3349
3352
|
}
|
|
3350
3353
|
|
|
3351
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
3354
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/linea/chainConfig.js
|
|
3352
3355
|
var chainConfig2 = {
|
|
3353
3356
|
fees: {
|
|
3354
3357
|
estimateFeesPerGas,
|
|
@@ -3386,7 +3389,7 @@ async function estimateFeesPerGas({ client, multiply, request, type }) {
|
|
|
3386
3389
|
}
|
|
3387
3390
|
}
|
|
3388
3391
|
|
|
3389
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
3392
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/chains/definitions/linea.js
|
|
3390
3393
|
var linea = /* @__PURE__ */ defineChain({
|
|
3391
3394
|
...chainConfig2,
|
|
3392
3395
|
id: 59144,
|
|
@@ -3424,7 +3427,7 @@ var linea = /* @__PURE__ */ defineChain({
|
|
|
3424
3427
|
testnet: false
|
|
3425
3428
|
});
|
|
3426
3429
|
|
|
3427
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
3430
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/chains/definitions/lineaSepolia.js
|
|
3428
3431
|
var lineaSepolia = /* @__PURE__ */ defineChain({
|
|
3429
3432
|
...chainConfig2,
|
|
3430
3433
|
id: 59141,
|
|
@@ -3461,7 +3464,7 @@ var lineaSepolia = /* @__PURE__ */ defineChain({
|
|
|
3461
3464
|
testnet: true
|
|
3462
3465
|
});
|
|
3463
3466
|
|
|
3464
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
3467
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/chains/definitions/mainnet.js
|
|
3465
3468
|
var mainnet = /* @__PURE__ */ defineChain({
|
|
3466
3469
|
id: 1,
|
|
3467
3470
|
name: "Ethereum",
|
|
@@ -3491,7 +3494,7 @@ var mainnet = /* @__PURE__ */ defineChain({
|
|
|
3491
3494
|
}
|
|
3492
3495
|
});
|
|
3493
3496
|
|
|
3494
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
3497
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/chains/definitions/optimism.js
|
|
3495
3498
|
var sourceId3 = 1;
|
|
3496
3499
|
var optimism = /* @__PURE__ */ defineChain({
|
|
3497
3500
|
...chainConfig,
|
|
@@ -3540,7 +3543,7 @@ var optimism = /* @__PURE__ */ defineChain({
|
|
|
3540
3543
|
sourceId: sourceId3
|
|
3541
3544
|
});
|
|
3542
3545
|
|
|
3543
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
3546
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/chains/definitions/optimismSepolia.js
|
|
3544
3547
|
var sourceId4 = 11155111;
|
|
3545
3548
|
var optimismSepolia = /* @__PURE__ */ defineChain({
|
|
3546
3549
|
...chainConfig,
|
|
@@ -3590,7 +3593,7 @@ var optimismSepolia = /* @__PURE__ */ defineChain({
|
|
|
3590
3593
|
sourceId: sourceId4
|
|
3591
3594
|
});
|
|
3592
3595
|
|
|
3593
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
3596
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/chains/definitions/scroll.js
|
|
3594
3597
|
var scroll = /* @__PURE__ */ defineChain({
|
|
3595
3598
|
id: 534352,
|
|
3596
3599
|
name: "Scroll",
|
|
@@ -3618,7 +3621,7 @@ var scroll = /* @__PURE__ */ defineChain({
|
|
|
3618
3621
|
testnet: false
|
|
3619
3622
|
});
|
|
3620
3623
|
|
|
3621
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
3624
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/chains/definitions/scrollSepolia.js
|
|
3622
3625
|
var scrollSepolia = /* @__PURE__ */ defineChain({
|
|
3623
3626
|
id: 534351,
|
|
3624
3627
|
name: "Scroll Sepolia",
|
|
@@ -3644,7 +3647,7 @@ var scrollSepolia = /* @__PURE__ */ defineChain({
|
|
|
3644
3647
|
testnet: true
|
|
3645
3648
|
});
|
|
3646
3649
|
|
|
3647
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
3650
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/chains/definitions/sepolia.js
|
|
3648
3651
|
var sepolia = /* @__PURE__ */ defineChain({
|
|
3649
3652
|
id: 11155111,
|
|
3650
3653
|
name: "Sepolia",
|
|
@@ -4264,7 +4267,7 @@ var chainIcons = /* @__PURE__ */ new Map([
|
|
|
4264
4267
|
[arbitrumSepolia.id, ArbitrumTestnetIcon],
|
|
4265
4268
|
[scrollSepolia.id, ScrollTestnetIcon],
|
|
4266
4269
|
// ens-test-env
|
|
4267
|
-
[import_datasources.
|
|
4270
|
+
[import_datasources.ensTestEnvChain.id, EthereumLocalIcon]
|
|
4268
4271
|
]);
|
|
4269
4272
|
function ChainIcon({ chainId, width = 20, height = 20 }) {
|
|
4270
4273
|
const Icon = chainIcons.get(chainId) || UnrecognizedChainIcon;
|
|
@@ -4274,7 +4277,7 @@ function ChainIcon({ chainId, width = 20, height = 20 }) {
|
|
|
4274
4277
|
// src/utils/chains.ts
|
|
4275
4278
|
var import_datasources2 = require("@ensnode/datasources");
|
|
4276
4279
|
var SUPPORTED_CHAINS = [
|
|
4277
|
-
import_datasources2.
|
|
4280
|
+
import_datasources2.ensTestEnvChain,
|
|
4278
4281
|
mainnet,
|
|
4279
4282
|
sepolia,
|
|
4280
4283
|
base,
|
|
@@ -4289,8 +4292,8 @@ var SUPPORTED_CHAINS = [
|
|
|
4289
4292
|
scrollSepolia
|
|
4290
4293
|
];
|
|
4291
4294
|
var CUSTOM_CHAIN_NAMES = /* @__PURE__ */ new Map([
|
|
4292
|
-
[import_datasources2.
|
|
4293
|
-
[mainnet.id, "
|
|
4295
|
+
[import_datasources2.ensTestEnvChain.id, "Ethereum Local (ens-test-env)"],
|
|
4296
|
+
[mainnet.id, "Mainnet"],
|
|
4294
4297
|
[sepolia.id, "Ethereum Sepolia"],
|
|
4295
4298
|
[base.id, "Base"],
|
|
4296
4299
|
[baseSepolia.id, "Base Sepolia"],
|
|
@@ -5197,10 +5200,10 @@ var InfoIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
|
|
|
5197
5200
|
}
|
|
5198
5201
|
);
|
|
5199
5202
|
|
|
5200
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
5203
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/constants/address.js
|
|
5201
5204
|
var zeroAddress = "0x0000000000000000000000000000000000000000";
|
|
5202
5205
|
|
|
5203
|
-
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@3.
|
|
5206
|
+
// ../../node_modules/.pnpm/viem@2.38.5_typescript@5.9.3_zod@4.3.6/node_modules/viem/_esm/index.js
|
|
5204
5207
|
init_getAddress();
|
|
5205
5208
|
|
|
5206
5209
|
// src/components/identity/Address.tsx
|
|
@@ -5223,6 +5226,8 @@ function getEnsMetadataServiceAvatarUrl(name, namespaceId) {
|
|
|
5223
5226
|
return new URL(name, `https://metadata.ens.domains/mainnet/avatar/`);
|
|
5224
5227
|
case import_ensnode_sdk.ENSNamespaceIds.Sepolia:
|
|
5225
5228
|
return new URL(name, `https://metadata.ens.domains/sepolia/avatar/`);
|
|
5229
|
+
case import_ensnode_sdk.ENSNamespaceIds.SepoliaV2:
|
|
5230
|
+
return null;
|
|
5226
5231
|
case import_ensnode_sdk.ENSNamespaceIds.EnsTestEnv:
|
|
5227
5232
|
return null;
|
|
5228
5233
|
}
|
|
@@ -5334,6 +5339,8 @@ function getEnsManagerUrl(namespaceId) {
|
|
|
5334
5339
|
return new URL(`https://app.ens.domains/`);
|
|
5335
5340
|
case import_ensnode_sdk2.ENSNamespaceIds.Sepolia:
|
|
5336
5341
|
return new URL(`https://sepolia.app.ens.domains/`);
|
|
5342
|
+
case import_ensnode_sdk2.ENSNamespaceIds.SepoliaV2:
|
|
5343
|
+
return null;
|
|
5337
5344
|
case import_ensnode_sdk2.ENSNamespaceIds.EnsTestEnv:
|
|
5338
5345
|
return null;
|
|
5339
5346
|
}
|
|
@@ -5537,8 +5544,8 @@ var IdentityTooltip = ({
|
|
|
5537
5544
|
{
|
|
5538
5545
|
value: identity.address,
|
|
5539
5546
|
className: "nhui:text-gray-500 nhui:hover:text-gray-700 nhui:transition-colors",
|
|
5540
|
-
successIcon: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_lucide_react.CheckIcon, { className: "nhui:h-4 nhui:w-4" }),
|
|
5541
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_lucide_react.CopyIcon, { className: "nhui:h-4 nhui:w-4" }),
|
|
5547
|
+
successIcon: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_lucide_react.CheckIcon, { className: "nhui:h-4 nhui:w-4", style: { fill: "none" } }),
|
|
5548
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_lucide_react.CopyIcon, { className: "nhui:h-4 nhui:w-4", style: { fill: "none" } }),
|
|
5542
5549
|
showToast: true
|
|
5543
5550
|
}
|
|
5544
5551
|
),
|
|
@@ -5580,17 +5587,17 @@ var import_ensnode_sdk5 = require("@ensnode/ensnode-sdk");
|
|
|
5580
5587
|
// src/hooks/useIsMobile.tsx
|
|
5581
5588
|
var React5 = __toESM(require("react"), 1);
|
|
5582
5589
|
var MOBILE_BREAKPOINT = 640;
|
|
5583
|
-
function useIsMobile() {
|
|
5590
|
+
function useIsMobile(breakpoint = MOBILE_BREAKPOINT) {
|
|
5584
5591
|
const [isMobile, setIsMobile] = React5.useState(void 0);
|
|
5585
5592
|
React5.useEffect(() => {
|
|
5586
|
-
const mql = window.matchMedia(`(max-width: ${
|
|
5593
|
+
const mql = window.matchMedia(`(max-width: ${breakpoint - 1}px)`);
|
|
5587
5594
|
const onChange = () => {
|
|
5588
|
-
setIsMobile(window.innerWidth <
|
|
5595
|
+
setIsMobile(window.innerWidth < breakpoint);
|
|
5589
5596
|
};
|
|
5590
5597
|
mql.addEventListener("change", onChange);
|
|
5591
|
-
setIsMobile(window.innerWidth <
|
|
5598
|
+
setIsMobile(window.innerWidth < breakpoint);
|
|
5592
5599
|
return () => mql.removeEventListener("change", onChange);
|
|
5593
|
-
}, []);
|
|
5600
|
+
}, [breakpoint]);
|
|
5594
5601
|
return !!isMobile;
|
|
5595
5602
|
}
|
|
5596
5603
|
|
|
@@ -5746,7 +5753,11 @@ var import_lucide_react2 = require("lucide-react");
|
|
|
5746
5753
|
var import_react4 = require("react");
|
|
5747
5754
|
var import_ensnode_sdk6 = require("@ensnode/ensnode-sdk");
|
|
5748
5755
|
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
5749
|
-
function LabeledField({
|
|
5756
|
+
function LabeledField({
|
|
5757
|
+
fieldLabel,
|
|
5758
|
+
className,
|
|
5759
|
+
children
|
|
5760
|
+
}) {
|
|
5750
5761
|
return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
|
|
5751
5762
|
"div",
|
|
5752
5763
|
{
|
|
@@ -5767,6 +5778,7 @@ function ResolveAndDisplayReferrerIdentity({
|
|
|
5767
5778
|
referral,
|
|
5768
5779
|
accelerate = true,
|
|
5769
5780
|
withLink = true,
|
|
5781
|
+
referrerLinkData,
|
|
5770
5782
|
withTooltip = true,
|
|
5771
5783
|
withAvatar = false,
|
|
5772
5784
|
withIdentifier = true,
|
|
@@ -5796,7 +5808,7 @@ function ResolveAndDisplayReferrerIdentity({
|
|
|
5796
5808
|
TooltipContent,
|
|
5797
5809
|
{
|
|
5798
5810
|
side: "top",
|
|
5799
|
-
className: "nhui:bg-gray-50 nhui:text-sm nhui:text-black nhui:text-left nhui:shadow-md nhui:outline-hidden nhui:w-fit",
|
|
5811
|
+
className: "nhui:bg-gray-50 nhui:text-sm nhui:text-black nhui:text-left nhui:shadow-md nhui:outline-hidden nhui:w-fit [&_svg]:fill-gray-50 [&_svg]:bg-gray-50",
|
|
5800
5812
|
children: [
|
|
5801
5813
|
"Encoded referrer",
|
|
5802
5814
|
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("code", { className: "nhui:block", children: referral.encodedReferrer }),
|
|
@@ -5820,8 +5832,8 @@ function ResolveAndDisplayReferrerIdentity({
|
|
|
5820
5832
|
className,
|
|
5821
5833
|
withLink,
|
|
5822
5834
|
identityLinkDetails: {
|
|
5823
|
-
isExternal:
|
|
5824
|
-
link:
|
|
5835
|
+
isExternal: referrerLinkData.isExternal,
|
|
5836
|
+
link: referrerLinkData.getLink(referrerIdentity.address, namespaceId)
|
|
5825
5837
|
}
|
|
5826
5838
|
}
|
|
5827
5839
|
);
|
|
@@ -5863,6 +5875,10 @@ function RegistrarActionCard({
|
|
|
5863
5875
|
namedRegistrarAction,
|
|
5864
5876
|
now,
|
|
5865
5877
|
links,
|
|
5878
|
+
showIdentityTooltips = {
|
|
5879
|
+
registrant: false,
|
|
5880
|
+
referrer: false
|
|
5881
|
+
},
|
|
5866
5882
|
showReferrer = true,
|
|
5867
5883
|
referralProgramField
|
|
5868
5884
|
}) {
|
|
@@ -5922,7 +5938,7 @@ function RegistrarActionCard({
|
|
|
5922
5938
|
identity: registrantIdentity,
|
|
5923
5939
|
namespaceId,
|
|
5924
5940
|
withAvatar: true,
|
|
5925
|
-
withTooltip:
|
|
5941
|
+
withTooltip: showIdentityTooltips.registrant,
|
|
5926
5942
|
withIdentifier: false,
|
|
5927
5943
|
identityLinkDetails: links.registrant
|
|
5928
5944
|
}
|
|
@@ -5933,7 +5949,7 @@ function RegistrarActionCard({
|
|
|
5933
5949
|
identity: registrantIdentity,
|
|
5934
5950
|
namespaceId,
|
|
5935
5951
|
withAvatar: isMobile,
|
|
5936
|
-
withTooltip:
|
|
5952
|
+
withTooltip: showIdentityTooltips.registrant,
|
|
5937
5953
|
className: "nhui:font-medium nhui:sm:max-[1220px]:max-w-[110px] nhui:min-[1220px]:max-w-[140px]",
|
|
5938
5954
|
identityLinkDetails: links.registrant
|
|
5939
5955
|
}
|
|
@@ -5948,7 +5964,8 @@ function RegistrarActionCard({
|
|
|
5948
5964
|
referral,
|
|
5949
5965
|
withAvatar: true,
|
|
5950
5966
|
withIdentifier: false,
|
|
5951
|
-
withTooltip:
|
|
5967
|
+
withTooltip: showIdentityTooltips.referrer,
|
|
5968
|
+
referrerLinkData: links.referrer
|
|
5952
5969
|
}
|
|
5953
5970
|
),
|
|
5954
5971
|
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(LabeledField, { fieldLabel: "Referrer", className: "nhui:w-[15%] nhui:min-w-[110px]", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
@@ -5959,7 +5976,8 @@ function RegistrarActionCard({
|
|
|
5959
5976
|
referral,
|
|
5960
5977
|
withAvatar: isMobile,
|
|
5961
5978
|
withIdentifier: true,
|
|
5962
|
-
withTooltip:
|
|
5979
|
+
withTooltip: showIdentityTooltips.referrer,
|
|
5980
|
+
referrerLinkData: links.referrer
|
|
5963
5981
|
}
|
|
5964
5982
|
) })
|
|
5965
5983
|
] }),
|