@namehash/namehash-ui 0.0.0-next-20260119132859 → 0.0.0-next-20260120091912
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 +29 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1602 -2
- package/dist/index.d.ts +1602 -2
- package/dist/index.js +29 -15
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/dist/index.d.cts
CHANGED
|
@@ -4,10 +4,12 @@ import * as React from 'react';
|
|
|
4
4
|
import React__default, { SVGProps, PropsWithChildren, ReactNode } from 'react';
|
|
5
5
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
6
6
|
import { LucideIcon } from 'lucide-react';
|
|
7
|
+
import * as viem from 'viem';
|
|
7
8
|
import { Address, Hash } from 'viem';
|
|
8
9
|
import { ENSNamespaceId } from '@ensnode/datasources';
|
|
9
10
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
10
11
|
import { VariantProps } from 'class-variance-authority';
|
|
12
|
+
import * as viem_chains from 'viem/chains';
|
|
11
13
|
|
|
12
14
|
interface ChainIconProps {
|
|
13
15
|
chainId: ChainId;
|
|
@@ -211,6 +213,15 @@ interface DisplayIdentityProps {
|
|
|
211
213
|
*/
|
|
212
214
|
declare function DisplayIdentity({ identity, namespaceId, withLink, identityLinkDetails, withTooltip, withAvatar, withIdentifier, className, }: DisplayIdentityProps): react_jsx_runtime.JSX.Element;
|
|
213
215
|
|
|
216
|
+
interface LabeledFieldProps {
|
|
217
|
+
fieldLabel: string;
|
|
218
|
+
className?: string;
|
|
219
|
+
}
|
|
220
|
+
/**
|
|
221
|
+
* Display a labeled field.
|
|
222
|
+
*/
|
|
223
|
+
declare function LabeledField({ fieldLabel, className, children, }: PropsWithChildren<LabeledFieldProps>): react_jsx_runtime.JSX.Element;
|
|
224
|
+
type ReferrerLinkFunction = (address: Address, namespaceId: ENSNamespaceId$1) => URL | null;
|
|
214
225
|
interface RegistrarActionCardLoadingProps {
|
|
215
226
|
showReferrer?: boolean;
|
|
216
227
|
showReferralProgramField?: boolean;
|
|
@@ -226,6 +237,11 @@ interface RegistrarActionCardProps {
|
|
|
226
237
|
links: {
|
|
227
238
|
name: IdentityLinkDetails;
|
|
228
239
|
registrant: IdentityLinkDetails;
|
|
240
|
+
referrerLinkFunction: ReferrerLinkFunction;
|
|
241
|
+
};
|
|
242
|
+
showIdentityTooltips?: {
|
|
243
|
+
registrant: boolean;
|
|
244
|
+
referrer: boolean;
|
|
229
245
|
};
|
|
230
246
|
showReferrer?: boolean;
|
|
231
247
|
referralProgramField?: ReactNode;
|
|
@@ -233,7 +249,7 @@ interface RegistrarActionCardProps {
|
|
|
233
249
|
/**
|
|
234
250
|
* Display a single Registrar Action
|
|
235
251
|
*/
|
|
236
|
-
declare function RegistrarActionCard({ namespaceId, namedRegistrarAction, now, links, showReferrer, referralProgramField, }: RegistrarActionCardProps): react_jsx_runtime.JSX.Element;
|
|
252
|
+
declare function RegistrarActionCard({ namespaceId, namedRegistrarAction, now, links, showIdentityTooltips, showReferrer, referralProgramField, }: RegistrarActionCardProps): react_jsx_runtime.JSX.Element;
|
|
237
253
|
declare const RegistrarActionCardMemo: React.MemoExoticComponent<typeof RegistrarActionCard>;
|
|
238
254
|
|
|
239
255
|
declare const buttonVariants: (props?: ({
|
|
@@ -253,6 +269,8 @@ interface CopyButtonProps extends Omit<ButtonProps, "onClick"> {
|
|
|
253
269
|
}
|
|
254
270
|
declare function CopyButton({ value, message, variant, size, showToast, icon, successIcon, className, children, ...props }: CopyButtonProps): react_jsx_runtime.JSX.Element;
|
|
255
271
|
|
|
272
|
+
declare function useIsMobile(breakpoint?: number): boolean;
|
|
273
|
+
|
|
256
274
|
interface UseNowProps {
|
|
257
275
|
/**
|
|
258
276
|
* Duration after which time value will be refreshed.
|
|
@@ -310,6 +328,1588 @@ declare const getBlockExplorerTransactionDetailsUrl: (chainId: ChainId, transact
|
|
|
310
328
|
*/
|
|
311
329
|
declare const getBlockExplorerBlockUrl: (chainId: ChainId, blockNumber: number) => URL | null;
|
|
312
330
|
|
|
331
|
+
declare const SUPPORTED_CHAINS: ({
|
|
332
|
+
readonly id: number;
|
|
333
|
+
readonly name: "ens-test-env L1";
|
|
334
|
+
readonly rpcUrls: {
|
|
335
|
+
readonly default: {
|
|
336
|
+
readonly http: readonly ["http://localhost:8545"];
|
|
337
|
+
};
|
|
338
|
+
};
|
|
339
|
+
readonly blockExplorers?: {
|
|
340
|
+
[key: string]: {
|
|
341
|
+
name: string;
|
|
342
|
+
url: string;
|
|
343
|
+
apiUrl?: string | undefined;
|
|
344
|
+
};
|
|
345
|
+
default: {
|
|
346
|
+
name: string;
|
|
347
|
+
url: string;
|
|
348
|
+
apiUrl?: string | undefined;
|
|
349
|
+
};
|
|
350
|
+
} | undefined | undefined;
|
|
351
|
+
readonly blockTime?: number | undefined | undefined;
|
|
352
|
+
readonly contracts?: {
|
|
353
|
+
[x: string]: viem.ChainContract | {
|
|
354
|
+
[sourceId: number]: viem.ChainContract | undefined;
|
|
355
|
+
} | undefined;
|
|
356
|
+
ensRegistry?: viem.ChainContract | undefined;
|
|
357
|
+
ensUniversalResolver?: viem.ChainContract | undefined;
|
|
358
|
+
multicall3?: viem.ChainContract | undefined;
|
|
359
|
+
erc6492Verifier?: viem.ChainContract | undefined;
|
|
360
|
+
} | undefined;
|
|
361
|
+
readonly ensTlds?: readonly string[] | undefined;
|
|
362
|
+
readonly nativeCurrency: {
|
|
363
|
+
readonly decimals: 18;
|
|
364
|
+
readonly name: "Ether";
|
|
365
|
+
readonly symbol: "ETH";
|
|
366
|
+
};
|
|
367
|
+
readonly experimental_preconfirmationTime?: number | undefined | undefined;
|
|
368
|
+
readonly sourceId?: number | undefined | undefined;
|
|
369
|
+
readonly testnet?: boolean | undefined | undefined;
|
|
370
|
+
readonly custom?: Record<string, unknown> | undefined;
|
|
371
|
+
readonly fees?: viem.ChainFees<undefined> | undefined;
|
|
372
|
+
readonly formatters?: undefined;
|
|
373
|
+
readonly serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
374
|
+
} | {
|
|
375
|
+
blockExplorers: {
|
|
376
|
+
readonly default: {
|
|
377
|
+
readonly name: "Etherscan";
|
|
378
|
+
readonly url: "https://etherscan.io";
|
|
379
|
+
readonly apiUrl: "https://api.etherscan.io/api";
|
|
380
|
+
};
|
|
381
|
+
};
|
|
382
|
+
blockTime: 12000;
|
|
383
|
+
contracts: {
|
|
384
|
+
readonly ensUniversalResolver: {
|
|
385
|
+
readonly address: "0xeeeeeeee14d718c2b47d9923deab1335e144eeee";
|
|
386
|
+
readonly blockCreated: 23085558;
|
|
387
|
+
};
|
|
388
|
+
readonly multicall3: {
|
|
389
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
390
|
+
readonly blockCreated: 14353601;
|
|
391
|
+
};
|
|
392
|
+
};
|
|
393
|
+
ensTlds?: readonly string[] | undefined;
|
|
394
|
+
id: 1;
|
|
395
|
+
name: "Ethereum";
|
|
396
|
+
nativeCurrency: {
|
|
397
|
+
readonly name: "Ether";
|
|
398
|
+
readonly symbol: "ETH";
|
|
399
|
+
readonly decimals: 18;
|
|
400
|
+
};
|
|
401
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
402
|
+
rpcUrls: {
|
|
403
|
+
readonly default: {
|
|
404
|
+
readonly http: readonly ["https://eth.merkle.io"];
|
|
405
|
+
};
|
|
406
|
+
};
|
|
407
|
+
sourceId?: number | undefined | undefined;
|
|
408
|
+
testnet?: boolean | undefined | undefined;
|
|
409
|
+
custom?: Record<string, unknown> | undefined;
|
|
410
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
411
|
+
formatters?: undefined;
|
|
412
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
413
|
+
} | {
|
|
414
|
+
blockExplorers: {
|
|
415
|
+
readonly default: {
|
|
416
|
+
readonly name: "Basescan";
|
|
417
|
+
readonly url: "https://basescan.org";
|
|
418
|
+
readonly apiUrl: "https://api.basescan.org/api";
|
|
419
|
+
};
|
|
420
|
+
};
|
|
421
|
+
blockTime: 2000;
|
|
422
|
+
contracts: {
|
|
423
|
+
readonly disputeGameFactory: {
|
|
424
|
+
readonly 1: {
|
|
425
|
+
readonly address: "0x43edB88C4B80fDD2AdFF2412A7BebF9dF42cB40e";
|
|
426
|
+
};
|
|
427
|
+
};
|
|
428
|
+
readonly l2OutputOracle: {
|
|
429
|
+
readonly 1: {
|
|
430
|
+
readonly address: "0x56315b90c40730925ec5485cf004d835058518A0";
|
|
431
|
+
};
|
|
432
|
+
};
|
|
433
|
+
readonly multicall3: {
|
|
434
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
435
|
+
readonly blockCreated: 5022;
|
|
436
|
+
};
|
|
437
|
+
readonly portal: {
|
|
438
|
+
readonly 1: {
|
|
439
|
+
readonly address: "0x49048044D57e1C92A77f79988d21Fa8fAF74E97e";
|
|
440
|
+
readonly blockCreated: 17482143;
|
|
441
|
+
};
|
|
442
|
+
};
|
|
443
|
+
readonly l1StandardBridge: {
|
|
444
|
+
readonly 1: {
|
|
445
|
+
readonly address: "0x3154Cf16ccdb4C6d922629664174b904d80F2C35";
|
|
446
|
+
readonly blockCreated: 17482143;
|
|
447
|
+
};
|
|
448
|
+
};
|
|
449
|
+
readonly gasPriceOracle: {
|
|
450
|
+
readonly address: "0x420000000000000000000000000000000000000F";
|
|
451
|
+
};
|
|
452
|
+
readonly l1Block: {
|
|
453
|
+
readonly address: "0x4200000000000000000000000000000000000015";
|
|
454
|
+
};
|
|
455
|
+
readonly l2CrossDomainMessenger: {
|
|
456
|
+
readonly address: "0x4200000000000000000000000000000000000007";
|
|
457
|
+
};
|
|
458
|
+
readonly l2Erc721Bridge: {
|
|
459
|
+
readonly address: "0x4200000000000000000000000000000000000014";
|
|
460
|
+
};
|
|
461
|
+
readonly l2StandardBridge: {
|
|
462
|
+
readonly address: "0x4200000000000000000000000000000000000010";
|
|
463
|
+
};
|
|
464
|
+
readonly l2ToL1MessagePasser: {
|
|
465
|
+
readonly address: "0x4200000000000000000000000000000000000016";
|
|
466
|
+
};
|
|
467
|
+
};
|
|
468
|
+
ensTlds?: readonly string[] | undefined;
|
|
469
|
+
id: 8453;
|
|
470
|
+
name: "Base";
|
|
471
|
+
nativeCurrency: {
|
|
472
|
+
readonly name: "Ether";
|
|
473
|
+
readonly symbol: "ETH";
|
|
474
|
+
readonly decimals: 18;
|
|
475
|
+
};
|
|
476
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
477
|
+
rpcUrls: {
|
|
478
|
+
readonly default: {
|
|
479
|
+
readonly http: readonly ["https://mainnet.base.org"];
|
|
480
|
+
};
|
|
481
|
+
};
|
|
482
|
+
sourceId: 1;
|
|
483
|
+
testnet?: boolean | undefined | undefined;
|
|
484
|
+
custom?: Record<string, unknown> | undefined;
|
|
485
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
486
|
+
formatters: {
|
|
487
|
+
readonly block: {
|
|
488
|
+
exclude: [] | undefined;
|
|
489
|
+
format: (args: viem_chains.OpStackRpcBlock, action?: string | undefined) => {
|
|
490
|
+
baseFeePerGas: bigint | null;
|
|
491
|
+
blobGasUsed: bigint;
|
|
492
|
+
difficulty: bigint;
|
|
493
|
+
excessBlobGas: bigint;
|
|
494
|
+
extraData: viem.Hex;
|
|
495
|
+
gasLimit: bigint;
|
|
496
|
+
gasUsed: bigint;
|
|
497
|
+
hash: `0x${string}` | null;
|
|
498
|
+
logsBloom: `0x${string}` | null;
|
|
499
|
+
miner: viem.Address;
|
|
500
|
+
mixHash: viem.Hash;
|
|
501
|
+
nonce: `0x${string}` | null;
|
|
502
|
+
number: bigint | null;
|
|
503
|
+
parentBeaconBlockRoot?: `0x${string}` | undefined;
|
|
504
|
+
parentHash: viem.Hash;
|
|
505
|
+
receiptsRoot: viem.Hex;
|
|
506
|
+
sealFields: viem.Hex[];
|
|
507
|
+
sha3Uncles: viem.Hash;
|
|
508
|
+
size: bigint;
|
|
509
|
+
stateRoot: viem.Hash;
|
|
510
|
+
timestamp: bigint;
|
|
511
|
+
totalDifficulty: bigint | null;
|
|
512
|
+
transactions: `0x${string}`[] | viem_chains.OpStackTransaction<boolean>[];
|
|
513
|
+
transactionsRoot: viem.Hash;
|
|
514
|
+
uncles: viem.Hash[];
|
|
515
|
+
withdrawals?: viem.Withdrawal[] | undefined | undefined;
|
|
516
|
+
withdrawalsRoot?: `0x${string}` | undefined;
|
|
517
|
+
} & {};
|
|
518
|
+
type: "block";
|
|
519
|
+
};
|
|
520
|
+
readonly transaction: {
|
|
521
|
+
exclude: [] | undefined;
|
|
522
|
+
format: (args: viem_chains.OpStackRpcTransaction, action?: string | undefined) => ({
|
|
523
|
+
blockHash: `0x${string}` | null;
|
|
524
|
+
blockNumber: bigint | null;
|
|
525
|
+
from: viem.Address;
|
|
526
|
+
gas: bigint;
|
|
527
|
+
hash: viem.Hash;
|
|
528
|
+
input: viem.Hex;
|
|
529
|
+
nonce: number;
|
|
530
|
+
r: viem.Hex;
|
|
531
|
+
s: viem.Hex;
|
|
532
|
+
to: viem.Address | null;
|
|
533
|
+
transactionIndex: number | null;
|
|
534
|
+
typeHex: viem.Hex | null;
|
|
535
|
+
v: bigint;
|
|
536
|
+
value: bigint;
|
|
537
|
+
yParity: number;
|
|
538
|
+
gasPrice?: undefined | undefined;
|
|
539
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
540
|
+
maxFeePerGas: bigint;
|
|
541
|
+
maxPriorityFeePerGas: bigint;
|
|
542
|
+
isSystemTx?: boolean;
|
|
543
|
+
mint?: bigint | undefined | undefined;
|
|
544
|
+
sourceHash: viem.Hex;
|
|
545
|
+
type: "deposit";
|
|
546
|
+
} | {
|
|
547
|
+
r: viem.Hex;
|
|
548
|
+
s: viem.Hex;
|
|
549
|
+
v: bigint;
|
|
550
|
+
value: bigint;
|
|
551
|
+
gas: bigint;
|
|
552
|
+
to: viem.Address | null;
|
|
553
|
+
from: viem.Address;
|
|
554
|
+
nonce: number;
|
|
555
|
+
blockHash: `0x${string}` | null;
|
|
556
|
+
blockNumber: bigint | null;
|
|
557
|
+
transactionIndex: number | null;
|
|
558
|
+
hash: viem.Hash;
|
|
559
|
+
input: viem.Hex;
|
|
560
|
+
typeHex: viem.Hex | null;
|
|
561
|
+
accessList?: undefined | undefined;
|
|
562
|
+
authorizationList?: undefined | undefined;
|
|
563
|
+
blobVersionedHashes?: undefined | undefined;
|
|
564
|
+
chainId?: number | undefined;
|
|
565
|
+
yParity?: undefined | undefined;
|
|
566
|
+
type: "legacy";
|
|
567
|
+
gasPrice: bigint;
|
|
568
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
569
|
+
maxFeePerGas?: undefined | undefined;
|
|
570
|
+
maxPriorityFeePerGas?: undefined | undefined;
|
|
571
|
+
isSystemTx?: undefined | undefined;
|
|
572
|
+
mint?: undefined | undefined;
|
|
573
|
+
sourceHash?: undefined | undefined;
|
|
574
|
+
} | {
|
|
575
|
+
blockHash: `0x${string}` | null;
|
|
576
|
+
blockNumber: bigint | null;
|
|
577
|
+
from: viem.Address;
|
|
578
|
+
gas: bigint;
|
|
579
|
+
hash: viem.Hash;
|
|
580
|
+
input: viem.Hex;
|
|
581
|
+
nonce: number;
|
|
582
|
+
r: viem.Hex;
|
|
583
|
+
s: viem.Hex;
|
|
584
|
+
to: viem.Address | null;
|
|
585
|
+
transactionIndex: number | null;
|
|
586
|
+
typeHex: viem.Hex | null;
|
|
587
|
+
v: bigint;
|
|
588
|
+
value: bigint;
|
|
589
|
+
yParity: number;
|
|
590
|
+
accessList: viem.AccessList;
|
|
591
|
+
authorizationList?: undefined | undefined;
|
|
592
|
+
blobVersionedHashes?: undefined | undefined;
|
|
593
|
+
chainId: number;
|
|
594
|
+
type: "eip2930";
|
|
595
|
+
gasPrice: bigint;
|
|
596
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
597
|
+
maxFeePerGas?: undefined | undefined;
|
|
598
|
+
maxPriorityFeePerGas?: undefined | undefined;
|
|
599
|
+
isSystemTx?: undefined | undefined;
|
|
600
|
+
mint?: undefined | undefined;
|
|
601
|
+
sourceHash?: undefined | undefined;
|
|
602
|
+
} | {
|
|
603
|
+
blockHash: `0x${string}` | null;
|
|
604
|
+
blockNumber: bigint | null;
|
|
605
|
+
from: viem.Address;
|
|
606
|
+
gas: bigint;
|
|
607
|
+
hash: viem.Hash;
|
|
608
|
+
input: viem.Hex;
|
|
609
|
+
nonce: number;
|
|
610
|
+
r: viem.Hex;
|
|
611
|
+
s: viem.Hex;
|
|
612
|
+
to: viem.Address | null;
|
|
613
|
+
transactionIndex: number | null;
|
|
614
|
+
typeHex: viem.Hex | null;
|
|
615
|
+
v: bigint;
|
|
616
|
+
value: bigint;
|
|
617
|
+
yParity: number;
|
|
618
|
+
accessList: viem.AccessList;
|
|
619
|
+
authorizationList?: undefined | undefined;
|
|
620
|
+
blobVersionedHashes?: undefined | undefined;
|
|
621
|
+
chainId: number;
|
|
622
|
+
type: "eip1559";
|
|
623
|
+
gasPrice?: undefined | undefined;
|
|
624
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
625
|
+
maxFeePerGas: bigint;
|
|
626
|
+
maxPriorityFeePerGas: bigint;
|
|
627
|
+
isSystemTx?: undefined | undefined;
|
|
628
|
+
mint?: undefined | undefined;
|
|
629
|
+
sourceHash?: undefined | undefined;
|
|
630
|
+
} | {
|
|
631
|
+
blockHash: `0x${string}` | null;
|
|
632
|
+
blockNumber: bigint | null;
|
|
633
|
+
from: viem.Address;
|
|
634
|
+
gas: bigint;
|
|
635
|
+
hash: viem.Hash;
|
|
636
|
+
input: viem.Hex;
|
|
637
|
+
nonce: number;
|
|
638
|
+
r: viem.Hex;
|
|
639
|
+
s: viem.Hex;
|
|
640
|
+
to: viem.Address | null;
|
|
641
|
+
transactionIndex: number | null;
|
|
642
|
+
typeHex: viem.Hex | null;
|
|
643
|
+
v: bigint;
|
|
644
|
+
value: bigint;
|
|
645
|
+
yParity: number;
|
|
646
|
+
accessList: viem.AccessList;
|
|
647
|
+
authorizationList?: undefined | undefined;
|
|
648
|
+
blobVersionedHashes: readonly viem.Hex[];
|
|
649
|
+
chainId: number;
|
|
650
|
+
type: "eip4844";
|
|
651
|
+
gasPrice?: undefined | undefined;
|
|
652
|
+
maxFeePerBlobGas: bigint;
|
|
653
|
+
maxFeePerGas: bigint;
|
|
654
|
+
maxPriorityFeePerGas: bigint;
|
|
655
|
+
isSystemTx?: undefined | undefined;
|
|
656
|
+
mint?: undefined | undefined;
|
|
657
|
+
sourceHash?: undefined | undefined;
|
|
658
|
+
} | {
|
|
659
|
+
blockHash: `0x${string}` | null;
|
|
660
|
+
blockNumber: bigint | null;
|
|
661
|
+
from: viem.Address;
|
|
662
|
+
gas: bigint;
|
|
663
|
+
hash: viem.Hash;
|
|
664
|
+
input: viem.Hex;
|
|
665
|
+
nonce: number;
|
|
666
|
+
r: viem.Hex;
|
|
667
|
+
s: viem.Hex;
|
|
668
|
+
to: viem.Address | null;
|
|
669
|
+
transactionIndex: number | null;
|
|
670
|
+
typeHex: viem.Hex | null;
|
|
671
|
+
v: bigint;
|
|
672
|
+
value: bigint;
|
|
673
|
+
yParity: number;
|
|
674
|
+
accessList: viem.AccessList;
|
|
675
|
+
authorizationList: viem.SignedAuthorizationList;
|
|
676
|
+
blobVersionedHashes?: undefined | undefined;
|
|
677
|
+
chainId: number;
|
|
678
|
+
type: "eip7702";
|
|
679
|
+
gasPrice?: undefined | undefined;
|
|
680
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
681
|
+
maxFeePerGas: bigint;
|
|
682
|
+
maxPriorityFeePerGas: bigint;
|
|
683
|
+
isSystemTx?: undefined | undefined;
|
|
684
|
+
mint?: undefined | undefined;
|
|
685
|
+
sourceHash?: undefined | undefined;
|
|
686
|
+
}) & {};
|
|
687
|
+
type: "transaction";
|
|
688
|
+
};
|
|
689
|
+
readonly transactionReceipt: {
|
|
690
|
+
exclude: [] | undefined;
|
|
691
|
+
format: (args: viem_chains.OpStackRpcTransactionReceipt, action?: string | undefined) => {
|
|
692
|
+
blobGasPrice?: bigint | undefined;
|
|
693
|
+
blobGasUsed?: bigint | undefined;
|
|
694
|
+
blockHash: viem.Hash;
|
|
695
|
+
blockNumber: bigint;
|
|
696
|
+
contractAddress: viem.Address | null | undefined;
|
|
697
|
+
cumulativeGasUsed: bigint;
|
|
698
|
+
effectiveGasPrice: bigint;
|
|
699
|
+
from: viem.Address;
|
|
700
|
+
gasUsed: bigint;
|
|
701
|
+
logs: viem.Log<bigint, number, false>[];
|
|
702
|
+
logsBloom: viem.Hex;
|
|
703
|
+
root?: `0x${string}` | undefined;
|
|
704
|
+
status: "success" | "reverted";
|
|
705
|
+
to: viem.Address | null;
|
|
706
|
+
transactionHash: viem.Hash;
|
|
707
|
+
transactionIndex: number;
|
|
708
|
+
type: viem.TransactionType;
|
|
709
|
+
l1GasPrice: bigint | null;
|
|
710
|
+
l1GasUsed: bigint | null;
|
|
711
|
+
l1Fee: bigint | null;
|
|
712
|
+
l1FeeScalar: number | null;
|
|
713
|
+
} & {};
|
|
714
|
+
type: "transactionReceipt";
|
|
715
|
+
};
|
|
716
|
+
};
|
|
717
|
+
serializers: {
|
|
718
|
+
readonly transaction: typeof viem_chains.serializeTransactionOpStack;
|
|
719
|
+
};
|
|
720
|
+
} | {
|
|
721
|
+
blockExplorers: {
|
|
722
|
+
readonly default: {
|
|
723
|
+
readonly name: "Etherscan";
|
|
724
|
+
readonly url: "https://lineascan.build";
|
|
725
|
+
readonly apiUrl: "https://api.lineascan.build/api";
|
|
726
|
+
};
|
|
727
|
+
};
|
|
728
|
+
blockTime: 2000;
|
|
729
|
+
contracts: {
|
|
730
|
+
readonly multicall3: {
|
|
731
|
+
readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
|
732
|
+
readonly blockCreated: 42;
|
|
733
|
+
};
|
|
734
|
+
readonly ensRegistry: {
|
|
735
|
+
readonly address: "0x50130b669B28C339991d8676FA73CF122a121267";
|
|
736
|
+
readonly blockCreated: 6682888;
|
|
737
|
+
};
|
|
738
|
+
readonly ensUniversalResolver: {
|
|
739
|
+
readonly address: "0x4D41762915F83c76EcaF6776d9b08076aA32b492";
|
|
740
|
+
readonly blockCreated: 22222151;
|
|
741
|
+
};
|
|
742
|
+
};
|
|
743
|
+
ensTlds: readonly [".linea.eth"];
|
|
744
|
+
id: 59144;
|
|
745
|
+
name: "Linea Mainnet";
|
|
746
|
+
nativeCurrency: {
|
|
747
|
+
readonly name: "Linea Ether";
|
|
748
|
+
readonly symbol: "ETH";
|
|
749
|
+
readonly decimals: 18;
|
|
750
|
+
};
|
|
751
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
752
|
+
rpcUrls: {
|
|
753
|
+
readonly default: {
|
|
754
|
+
readonly http: readonly ["https://rpc.linea.build"];
|
|
755
|
+
readonly webSocket: readonly ["wss://rpc.linea.build"];
|
|
756
|
+
};
|
|
757
|
+
};
|
|
758
|
+
sourceId?: number | undefined | undefined;
|
|
759
|
+
testnet: false;
|
|
760
|
+
custom?: Record<string, unknown> | undefined;
|
|
761
|
+
fees: {
|
|
762
|
+
readonly estimateFeesPerGas: ({ client, multiply, request, type, }: Parameters<viem.ChainEstimateFeesPerGasFn>[0]) => ReturnType<viem.ChainEstimateFeesPerGasFn>;
|
|
763
|
+
readonly maxPriorityFeePerGas: ({ block, client, request }: viem.ChainFeesFnParameters<viem.ChainFormatters | undefined>) => Promise<bigint | null>;
|
|
764
|
+
};
|
|
765
|
+
formatters?: undefined;
|
|
766
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
767
|
+
} | {
|
|
768
|
+
blockExplorers: {
|
|
769
|
+
readonly default: {
|
|
770
|
+
readonly name: "Optimism Explorer";
|
|
771
|
+
readonly url: "https://optimistic.etherscan.io";
|
|
772
|
+
readonly apiUrl: "https://api-optimistic.etherscan.io/api";
|
|
773
|
+
};
|
|
774
|
+
};
|
|
775
|
+
blockTime: 2000;
|
|
776
|
+
contracts: {
|
|
777
|
+
readonly disputeGameFactory: {
|
|
778
|
+
readonly 1: {
|
|
779
|
+
readonly address: "0xe5965Ab5962eDc7477C8520243A95517CD252fA9";
|
|
780
|
+
};
|
|
781
|
+
};
|
|
782
|
+
readonly l2OutputOracle: {
|
|
783
|
+
readonly 1: {
|
|
784
|
+
readonly address: "0xdfe97868233d1aa22e815a266982f2cf17685a27";
|
|
785
|
+
};
|
|
786
|
+
};
|
|
787
|
+
readonly multicall3: {
|
|
788
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
789
|
+
readonly blockCreated: 4286263;
|
|
790
|
+
};
|
|
791
|
+
readonly portal: {
|
|
792
|
+
readonly 1: {
|
|
793
|
+
readonly address: "0xbEb5Fc579115071764c7423A4f12eDde41f106Ed";
|
|
794
|
+
};
|
|
795
|
+
};
|
|
796
|
+
readonly l1StandardBridge: {
|
|
797
|
+
readonly 1: {
|
|
798
|
+
readonly address: "0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1";
|
|
799
|
+
};
|
|
800
|
+
};
|
|
801
|
+
readonly gasPriceOracle: {
|
|
802
|
+
readonly address: "0x420000000000000000000000000000000000000F";
|
|
803
|
+
};
|
|
804
|
+
readonly l1Block: {
|
|
805
|
+
readonly address: "0x4200000000000000000000000000000000000015";
|
|
806
|
+
};
|
|
807
|
+
readonly l2CrossDomainMessenger: {
|
|
808
|
+
readonly address: "0x4200000000000000000000000000000000000007";
|
|
809
|
+
};
|
|
810
|
+
readonly l2Erc721Bridge: {
|
|
811
|
+
readonly address: "0x4200000000000000000000000000000000000014";
|
|
812
|
+
};
|
|
813
|
+
readonly l2StandardBridge: {
|
|
814
|
+
readonly address: "0x4200000000000000000000000000000000000010";
|
|
815
|
+
};
|
|
816
|
+
readonly l2ToL1MessagePasser: {
|
|
817
|
+
readonly address: "0x4200000000000000000000000000000000000016";
|
|
818
|
+
};
|
|
819
|
+
};
|
|
820
|
+
ensTlds?: readonly string[] | undefined;
|
|
821
|
+
id: 10;
|
|
822
|
+
name: "OP Mainnet";
|
|
823
|
+
nativeCurrency: {
|
|
824
|
+
readonly name: "Ether";
|
|
825
|
+
readonly symbol: "ETH";
|
|
826
|
+
readonly decimals: 18;
|
|
827
|
+
};
|
|
828
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
829
|
+
rpcUrls: {
|
|
830
|
+
readonly default: {
|
|
831
|
+
readonly http: readonly ["https://mainnet.optimism.io"];
|
|
832
|
+
};
|
|
833
|
+
};
|
|
834
|
+
sourceId: 1;
|
|
835
|
+
testnet?: boolean | undefined | undefined;
|
|
836
|
+
custom?: Record<string, unknown> | undefined;
|
|
837
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
838
|
+
formatters: {
|
|
839
|
+
readonly block: {
|
|
840
|
+
exclude: [] | undefined;
|
|
841
|
+
format: (args: viem_chains.OpStackRpcBlock, action?: string | undefined) => {
|
|
842
|
+
baseFeePerGas: bigint | null;
|
|
843
|
+
blobGasUsed: bigint;
|
|
844
|
+
difficulty: bigint;
|
|
845
|
+
excessBlobGas: bigint;
|
|
846
|
+
extraData: viem.Hex;
|
|
847
|
+
gasLimit: bigint;
|
|
848
|
+
gasUsed: bigint;
|
|
849
|
+
hash: `0x${string}` | null;
|
|
850
|
+
logsBloom: `0x${string}` | null;
|
|
851
|
+
miner: viem.Address;
|
|
852
|
+
mixHash: viem.Hash;
|
|
853
|
+
nonce: `0x${string}` | null;
|
|
854
|
+
number: bigint | null;
|
|
855
|
+
parentBeaconBlockRoot?: `0x${string}` | undefined;
|
|
856
|
+
parentHash: viem.Hash;
|
|
857
|
+
receiptsRoot: viem.Hex;
|
|
858
|
+
sealFields: viem.Hex[];
|
|
859
|
+
sha3Uncles: viem.Hash;
|
|
860
|
+
size: bigint;
|
|
861
|
+
stateRoot: viem.Hash;
|
|
862
|
+
timestamp: bigint;
|
|
863
|
+
totalDifficulty: bigint | null;
|
|
864
|
+
transactions: `0x${string}`[] | viem_chains.OpStackTransaction<boolean>[];
|
|
865
|
+
transactionsRoot: viem.Hash;
|
|
866
|
+
uncles: viem.Hash[];
|
|
867
|
+
withdrawals?: viem.Withdrawal[] | undefined | undefined;
|
|
868
|
+
withdrawalsRoot?: `0x${string}` | undefined;
|
|
869
|
+
} & {};
|
|
870
|
+
type: "block";
|
|
871
|
+
};
|
|
872
|
+
readonly transaction: {
|
|
873
|
+
exclude: [] | undefined;
|
|
874
|
+
format: (args: viem_chains.OpStackRpcTransaction, action?: string | undefined) => ({
|
|
875
|
+
blockHash: `0x${string}` | null;
|
|
876
|
+
blockNumber: bigint | null;
|
|
877
|
+
from: viem.Address;
|
|
878
|
+
gas: bigint;
|
|
879
|
+
hash: viem.Hash;
|
|
880
|
+
input: viem.Hex;
|
|
881
|
+
nonce: number;
|
|
882
|
+
r: viem.Hex;
|
|
883
|
+
s: viem.Hex;
|
|
884
|
+
to: viem.Address | null;
|
|
885
|
+
transactionIndex: number | null;
|
|
886
|
+
typeHex: viem.Hex | null;
|
|
887
|
+
v: bigint;
|
|
888
|
+
value: bigint;
|
|
889
|
+
yParity: number;
|
|
890
|
+
gasPrice?: undefined | undefined;
|
|
891
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
892
|
+
maxFeePerGas: bigint;
|
|
893
|
+
maxPriorityFeePerGas: bigint;
|
|
894
|
+
isSystemTx?: boolean;
|
|
895
|
+
mint?: bigint | undefined | undefined;
|
|
896
|
+
sourceHash: viem.Hex;
|
|
897
|
+
type: "deposit";
|
|
898
|
+
} | {
|
|
899
|
+
r: viem.Hex;
|
|
900
|
+
s: viem.Hex;
|
|
901
|
+
v: bigint;
|
|
902
|
+
value: bigint;
|
|
903
|
+
gas: bigint;
|
|
904
|
+
to: viem.Address | null;
|
|
905
|
+
from: viem.Address;
|
|
906
|
+
nonce: number;
|
|
907
|
+
blockHash: `0x${string}` | null;
|
|
908
|
+
blockNumber: bigint | null;
|
|
909
|
+
transactionIndex: number | null;
|
|
910
|
+
hash: viem.Hash;
|
|
911
|
+
input: viem.Hex;
|
|
912
|
+
typeHex: viem.Hex | null;
|
|
913
|
+
accessList?: undefined | undefined;
|
|
914
|
+
authorizationList?: undefined | undefined;
|
|
915
|
+
blobVersionedHashes?: undefined | undefined;
|
|
916
|
+
chainId?: number | undefined;
|
|
917
|
+
yParity?: undefined | undefined;
|
|
918
|
+
type: "legacy";
|
|
919
|
+
gasPrice: bigint;
|
|
920
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
921
|
+
maxFeePerGas?: undefined | undefined;
|
|
922
|
+
maxPriorityFeePerGas?: undefined | undefined;
|
|
923
|
+
isSystemTx?: undefined | undefined;
|
|
924
|
+
mint?: undefined | undefined;
|
|
925
|
+
sourceHash?: undefined | undefined;
|
|
926
|
+
} | {
|
|
927
|
+
blockHash: `0x${string}` | null;
|
|
928
|
+
blockNumber: bigint | null;
|
|
929
|
+
from: viem.Address;
|
|
930
|
+
gas: bigint;
|
|
931
|
+
hash: viem.Hash;
|
|
932
|
+
input: viem.Hex;
|
|
933
|
+
nonce: number;
|
|
934
|
+
r: viem.Hex;
|
|
935
|
+
s: viem.Hex;
|
|
936
|
+
to: viem.Address | null;
|
|
937
|
+
transactionIndex: number | null;
|
|
938
|
+
typeHex: viem.Hex | null;
|
|
939
|
+
v: bigint;
|
|
940
|
+
value: bigint;
|
|
941
|
+
yParity: number;
|
|
942
|
+
accessList: viem.AccessList;
|
|
943
|
+
authorizationList?: undefined | undefined;
|
|
944
|
+
blobVersionedHashes?: undefined | undefined;
|
|
945
|
+
chainId: number;
|
|
946
|
+
type: "eip2930";
|
|
947
|
+
gasPrice: bigint;
|
|
948
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
949
|
+
maxFeePerGas?: undefined | undefined;
|
|
950
|
+
maxPriorityFeePerGas?: undefined | undefined;
|
|
951
|
+
isSystemTx?: undefined | undefined;
|
|
952
|
+
mint?: undefined | undefined;
|
|
953
|
+
sourceHash?: undefined | undefined;
|
|
954
|
+
} | {
|
|
955
|
+
blockHash: `0x${string}` | null;
|
|
956
|
+
blockNumber: bigint | null;
|
|
957
|
+
from: viem.Address;
|
|
958
|
+
gas: bigint;
|
|
959
|
+
hash: viem.Hash;
|
|
960
|
+
input: viem.Hex;
|
|
961
|
+
nonce: number;
|
|
962
|
+
r: viem.Hex;
|
|
963
|
+
s: viem.Hex;
|
|
964
|
+
to: viem.Address | null;
|
|
965
|
+
transactionIndex: number | null;
|
|
966
|
+
typeHex: viem.Hex | null;
|
|
967
|
+
v: bigint;
|
|
968
|
+
value: bigint;
|
|
969
|
+
yParity: number;
|
|
970
|
+
accessList: viem.AccessList;
|
|
971
|
+
authorizationList?: undefined | undefined;
|
|
972
|
+
blobVersionedHashes?: undefined | undefined;
|
|
973
|
+
chainId: number;
|
|
974
|
+
type: "eip1559";
|
|
975
|
+
gasPrice?: undefined | undefined;
|
|
976
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
977
|
+
maxFeePerGas: bigint;
|
|
978
|
+
maxPriorityFeePerGas: bigint;
|
|
979
|
+
isSystemTx?: undefined | undefined;
|
|
980
|
+
mint?: undefined | undefined;
|
|
981
|
+
sourceHash?: undefined | undefined;
|
|
982
|
+
} | {
|
|
983
|
+
blockHash: `0x${string}` | null;
|
|
984
|
+
blockNumber: bigint | null;
|
|
985
|
+
from: viem.Address;
|
|
986
|
+
gas: bigint;
|
|
987
|
+
hash: viem.Hash;
|
|
988
|
+
input: viem.Hex;
|
|
989
|
+
nonce: number;
|
|
990
|
+
r: viem.Hex;
|
|
991
|
+
s: viem.Hex;
|
|
992
|
+
to: viem.Address | null;
|
|
993
|
+
transactionIndex: number | null;
|
|
994
|
+
typeHex: viem.Hex | null;
|
|
995
|
+
v: bigint;
|
|
996
|
+
value: bigint;
|
|
997
|
+
yParity: number;
|
|
998
|
+
accessList: viem.AccessList;
|
|
999
|
+
authorizationList?: undefined | undefined;
|
|
1000
|
+
blobVersionedHashes: readonly viem.Hex[];
|
|
1001
|
+
chainId: number;
|
|
1002
|
+
type: "eip4844";
|
|
1003
|
+
gasPrice?: undefined | undefined;
|
|
1004
|
+
maxFeePerBlobGas: bigint;
|
|
1005
|
+
maxFeePerGas: bigint;
|
|
1006
|
+
maxPriorityFeePerGas: bigint;
|
|
1007
|
+
isSystemTx?: undefined | undefined;
|
|
1008
|
+
mint?: undefined | undefined;
|
|
1009
|
+
sourceHash?: undefined | undefined;
|
|
1010
|
+
} | {
|
|
1011
|
+
blockHash: `0x${string}` | null;
|
|
1012
|
+
blockNumber: bigint | null;
|
|
1013
|
+
from: viem.Address;
|
|
1014
|
+
gas: bigint;
|
|
1015
|
+
hash: viem.Hash;
|
|
1016
|
+
input: viem.Hex;
|
|
1017
|
+
nonce: number;
|
|
1018
|
+
r: viem.Hex;
|
|
1019
|
+
s: viem.Hex;
|
|
1020
|
+
to: viem.Address | null;
|
|
1021
|
+
transactionIndex: number | null;
|
|
1022
|
+
typeHex: viem.Hex | null;
|
|
1023
|
+
v: bigint;
|
|
1024
|
+
value: bigint;
|
|
1025
|
+
yParity: number;
|
|
1026
|
+
accessList: viem.AccessList;
|
|
1027
|
+
authorizationList: viem.SignedAuthorizationList;
|
|
1028
|
+
blobVersionedHashes?: undefined | undefined;
|
|
1029
|
+
chainId: number;
|
|
1030
|
+
type: "eip7702";
|
|
1031
|
+
gasPrice?: undefined | undefined;
|
|
1032
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
1033
|
+
maxFeePerGas: bigint;
|
|
1034
|
+
maxPriorityFeePerGas: bigint;
|
|
1035
|
+
isSystemTx?: undefined | undefined;
|
|
1036
|
+
mint?: undefined | undefined;
|
|
1037
|
+
sourceHash?: undefined | undefined;
|
|
1038
|
+
}) & {};
|
|
1039
|
+
type: "transaction";
|
|
1040
|
+
};
|
|
1041
|
+
readonly transactionReceipt: {
|
|
1042
|
+
exclude: [] | undefined;
|
|
1043
|
+
format: (args: viem_chains.OpStackRpcTransactionReceipt, action?: string | undefined) => {
|
|
1044
|
+
blobGasPrice?: bigint | undefined;
|
|
1045
|
+
blobGasUsed?: bigint | undefined;
|
|
1046
|
+
blockHash: viem.Hash;
|
|
1047
|
+
blockNumber: bigint;
|
|
1048
|
+
contractAddress: viem.Address | null | undefined;
|
|
1049
|
+
cumulativeGasUsed: bigint;
|
|
1050
|
+
effectiveGasPrice: bigint;
|
|
1051
|
+
from: viem.Address;
|
|
1052
|
+
gasUsed: bigint;
|
|
1053
|
+
logs: viem.Log<bigint, number, false>[];
|
|
1054
|
+
logsBloom: viem.Hex;
|
|
1055
|
+
root?: `0x${string}` | undefined;
|
|
1056
|
+
status: "success" | "reverted";
|
|
1057
|
+
to: viem.Address | null;
|
|
1058
|
+
transactionHash: viem.Hash;
|
|
1059
|
+
transactionIndex: number;
|
|
1060
|
+
type: viem.TransactionType;
|
|
1061
|
+
l1GasPrice: bigint | null;
|
|
1062
|
+
l1GasUsed: bigint | null;
|
|
1063
|
+
l1Fee: bigint | null;
|
|
1064
|
+
l1FeeScalar: number | null;
|
|
1065
|
+
} & {};
|
|
1066
|
+
type: "transactionReceipt";
|
|
1067
|
+
};
|
|
1068
|
+
};
|
|
1069
|
+
serializers: {
|
|
1070
|
+
readonly transaction: typeof viem_chains.serializeTransactionOpStack;
|
|
1071
|
+
};
|
|
1072
|
+
} | {
|
|
1073
|
+
blockExplorers: {
|
|
1074
|
+
readonly default: {
|
|
1075
|
+
readonly name: "Arbiscan";
|
|
1076
|
+
readonly url: "https://arbiscan.io";
|
|
1077
|
+
readonly apiUrl: "https://api.arbiscan.io/api";
|
|
1078
|
+
};
|
|
1079
|
+
};
|
|
1080
|
+
blockTime: 250;
|
|
1081
|
+
contracts: {
|
|
1082
|
+
readonly multicall3: {
|
|
1083
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
1084
|
+
readonly blockCreated: 7654707;
|
|
1085
|
+
};
|
|
1086
|
+
};
|
|
1087
|
+
ensTlds?: readonly string[] | undefined;
|
|
1088
|
+
id: 42161;
|
|
1089
|
+
name: "Arbitrum One";
|
|
1090
|
+
nativeCurrency: {
|
|
1091
|
+
readonly name: "Ether";
|
|
1092
|
+
readonly symbol: "ETH";
|
|
1093
|
+
readonly decimals: 18;
|
|
1094
|
+
};
|
|
1095
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
1096
|
+
rpcUrls: {
|
|
1097
|
+
readonly default: {
|
|
1098
|
+
readonly http: readonly ["https://arb1.arbitrum.io/rpc"];
|
|
1099
|
+
};
|
|
1100
|
+
};
|
|
1101
|
+
sourceId?: number | undefined | undefined;
|
|
1102
|
+
testnet?: boolean | undefined | undefined;
|
|
1103
|
+
custom?: Record<string, unknown> | undefined;
|
|
1104
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
1105
|
+
formatters?: undefined;
|
|
1106
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
1107
|
+
} | {
|
|
1108
|
+
blockExplorers: {
|
|
1109
|
+
readonly default: {
|
|
1110
|
+
readonly name: "Scrollscan";
|
|
1111
|
+
readonly url: "https://scrollscan.com";
|
|
1112
|
+
readonly apiUrl: "https://api.scrollscan.com/api";
|
|
1113
|
+
};
|
|
1114
|
+
};
|
|
1115
|
+
blockTime: 3000;
|
|
1116
|
+
contracts: {
|
|
1117
|
+
readonly multicall3: {
|
|
1118
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
1119
|
+
readonly blockCreated: 14;
|
|
1120
|
+
};
|
|
1121
|
+
};
|
|
1122
|
+
ensTlds?: readonly string[] | undefined;
|
|
1123
|
+
id: 534352;
|
|
1124
|
+
name: "Scroll";
|
|
1125
|
+
nativeCurrency: {
|
|
1126
|
+
readonly name: "Ether";
|
|
1127
|
+
readonly symbol: "ETH";
|
|
1128
|
+
readonly decimals: 18;
|
|
1129
|
+
};
|
|
1130
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
1131
|
+
rpcUrls: {
|
|
1132
|
+
readonly default: {
|
|
1133
|
+
readonly http: readonly ["https://rpc.scroll.io"];
|
|
1134
|
+
readonly webSocket: readonly ["wss://wss-rpc.scroll.io/ws"];
|
|
1135
|
+
};
|
|
1136
|
+
};
|
|
1137
|
+
sourceId?: number | undefined | undefined;
|
|
1138
|
+
testnet: false;
|
|
1139
|
+
custom?: Record<string, unknown> | undefined;
|
|
1140
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
1141
|
+
formatters?: undefined;
|
|
1142
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
1143
|
+
} | {
|
|
1144
|
+
blockExplorers: {
|
|
1145
|
+
readonly default: {
|
|
1146
|
+
readonly name: "Etherscan";
|
|
1147
|
+
readonly url: "https://sepolia.etherscan.io";
|
|
1148
|
+
readonly apiUrl: "https://api-sepolia.etherscan.io/api";
|
|
1149
|
+
};
|
|
1150
|
+
};
|
|
1151
|
+
blockTime?: number | undefined | undefined;
|
|
1152
|
+
contracts: {
|
|
1153
|
+
readonly multicall3: {
|
|
1154
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
1155
|
+
readonly blockCreated: 751532;
|
|
1156
|
+
};
|
|
1157
|
+
readonly ensUniversalResolver: {
|
|
1158
|
+
readonly address: "0xeeeeeeee14d718c2b47d9923deab1335e144eeee";
|
|
1159
|
+
readonly blockCreated: 8928790;
|
|
1160
|
+
};
|
|
1161
|
+
};
|
|
1162
|
+
ensTlds?: readonly string[] | undefined;
|
|
1163
|
+
id: 11155111;
|
|
1164
|
+
name: "Sepolia";
|
|
1165
|
+
nativeCurrency: {
|
|
1166
|
+
readonly name: "Sepolia Ether";
|
|
1167
|
+
readonly symbol: "ETH";
|
|
1168
|
+
readonly decimals: 18;
|
|
1169
|
+
};
|
|
1170
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
1171
|
+
rpcUrls: {
|
|
1172
|
+
readonly default: {
|
|
1173
|
+
readonly http: readonly ["https://11155111.rpc.thirdweb.com"];
|
|
1174
|
+
};
|
|
1175
|
+
};
|
|
1176
|
+
sourceId?: number | undefined | undefined;
|
|
1177
|
+
testnet: true;
|
|
1178
|
+
custom?: Record<string, unknown> | undefined;
|
|
1179
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
1180
|
+
formatters?: undefined;
|
|
1181
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
1182
|
+
} | {
|
|
1183
|
+
blockExplorers: {
|
|
1184
|
+
readonly default: {
|
|
1185
|
+
readonly name: "Basescan";
|
|
1186
|
+
readonly url: "https://sepolia.basescan.org";
|
|
1187
|
+
readonly apiUrl: "https://api-sepolia.basescan.org/api";
|
|
1188
|
+
};
|
|
1189
|
+
};
|
|
1190
|
+
blockTime: 2000;
|
|
1191
|
+
contracts: {
|
|
1192
|
+
readonly disputeGameFactory: {
|
|
1193
|
+
readonly 11155111: {
|
|
1194
|
+
readonly address: "0xd6E6dBf4F7EA0ac412fD8b65ED297e64BB7a06E1";
|
|
1195
|
+
};
|
|
1196
|
+
};
|
|
1197
|
+
readonly l2OutputOracle: {
|
|
1198
|
+
readonly 11155111: {
|
|
1199
|
+
readonly address: "0x84457ca9D0163FbC4bbfe4Dfbb20ba46e48DF254";
|
|
1200
|
+
};
|
|
1201
|
+
};
|
|
1202
|
+
readonly portal: {
|
|
1203
|
+
readonly 11155111: {
|
|
1204
|
+
readonly address: "0x49f53e41452c74589e85ca1677426ba426459e85";
|
|
1205
|
+
readonly blockCreated: 4446677;
|
|
1206
|
+
};
|
|
1207
|
+
};
|
|
1208
|
+
readonly l1StandardBridge: {
|
|
1209
|
+
readonly 11155111: {
|
|
1210
|
+
readonly address: "0xfd0Bf71F60660E2f608ed56e1659C450eB113120";
|
|
1211
|
+
readonly blockCreated: 4446677;
|
|
1212
|
+
};
|
|
1213
|
+
};
|
|
1214
|
+
readonly multicall3: {
|
|
1215
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
1216
|
+
readonly blockCreated: 1059647;
|
|
1217
|
+
};
|
|
1218
|
+
readonly gasPriceOracle: {
|
|
1219
|
+
readonly address: "0x420000000000000000000000000000000000000F";
|
|
1220
|
+
};
|
|
1221
|
+
readonly l1Block: {
|
|
1222
|
+
readonly address: "0x4200000000000000000000000000000000000015";
|
|
1223
|
+
};
|
|
1224
|
+
readonly l2CrossDomainMessenger: {
|
|
1225
|
+
readonly address: "0x4200000000000000000000000000000000000007";
|
|
1226
|
+
};
|
|
1227
|
+
readonly l2Erc721Bridge: {
|
|
1228
|
+
readonly address: "0x4200000000000000000000000000000000000014";
|
|
1229
|
+
};
|
|
1230
|
+
readonly l2StandardBridge: {
|
|
1231
|
+
readonly address: "0x4200000000000000000000000000000000000010";
|
|
1232
|
+
};
|
|
1233
|
+
readonly l2ToL1MessagePasser: {
|
|
1234
|
+
readonly address: "0x4200000000000000000000000000000000000016";
|
|
1235
|
+
};
|
|
1236
|
+
};
|
|
1237
|
+
ensTlds?: readonly string[] | undefined;
|
|
1238
|
+
id: 84532;
|
|
1239
|
+
name: "Base Sepolia";
|
|
1240
|
+
nativeCurrency: {
|
|
1241
|
+
readonly name: "Sepolia Ether";
|
|
1242
|
+
readonly symbol: "ETH";
|
|
1243
|
+
readonly decimals: 18;
|
|
1244
|
+
};
|
|
1245
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
1246
|
+
rpcUrls: {
|
|
1247
|
+
readonly default: {
|
|
1248
|
+
readonly http: readonly ["https://sepolia.base.org"];
|
|
1249
|
+
};
|
|
1250
|
+
};
|
|
1251
|
+
sourceId: 11155111;
|
|
1252
|
+
testnet: true;
|
|
1253
|
+
custom?: Record<string, unknown> | undefined;
|
|
1254
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
1255
|
+
formatters: {
|
|
1256
|
+
readonly block: {
|
|
1257
|
+
exclude: [] | undefined;
|
|
1258
|
+
format: (args: viem_chains.OpStackRpcBlock, action?: string | undefined) => {
|
|
1259
|
+
baseFeePerGas: bigint | null;
|
|
1260
|
+
blobGasUsed: bigint;
|
|
1261
|
+
difficulty: bigint;
|
|
1262
|
+
excessBlobGas: bigint;
|
|
1263
|
+
extraData: viem.Hex;
|
|
1264
|
+
gasLimit: bigint;
|
|
1265
|
+
gasUsed: bigint;
|
|
1266
|
+
hash: `0x${string}` | null;
|
|
1267
|
+
logsBloom: `0x${string}` | null;
|
|
1268
|
+
miner: viem.Address;
|
|
1269
|
+
mixHash: viem.Hash;
|
|
1270
|
+
nonce: `0x${string}` | null;
|
|
1271
|
+
number: bigint | null;
|
|
1272
|
+
parentBeaconBlockRoot?: `0x${string}` | undefined;
|
|
1273
|
+
parentHash: viem.Hash;
|
|
1274
|
+
receiptsRoot: viem.Hex;
|
|
1275
|
+
sealFields: viem.Hex[];
|
|
1276
|
+
sha3Uncles: viem.Hash;
|
|
1277
|
+
size: bigint;
|
|
1278
|
+
stateRoot: viem.Hash;
|
|
1279
|
+
timestamp: bigint;
|
|
1280
|
+
totalDifficulty: bigint | null;
|
|
1281
|
+
transactions: `0x${string}`[] | viem_chains.OpStackTransaction<boolean>[];
|
|
1282
|
+
transactionsRoot: viem.Hash;
|
|
1283
|
+
uncles: viem.Hash[];
|
|
1284
|
+
withdrawals?: viem.Withdrawal[] | undefined | undefined;
|
|
1285
|
+
withdrawalsRoot?: `0x${string}` | undefined;
|
|
1286
|
+
} & {};
|
|
1287
|
+
type: "block";
|
|
1288
|
+
};
|
|
1289
|
+
readonly transaction: {
|
|
1290
|
+
exclude: [] | undefined;
|
|
1291
|
+
format: (args: viem_chains.OpStackRpcTransaction, action?: string | undefined) => ({
|
|
1292
|
+
blockHash: `0x${string}` | null;
|
|
1293
|
+
blockNumber: bigint | null;
|
|
1294
|
+
from: viem.Address;
|
|
1295
|
+
gas: bigint;
|
|
1296
|
+
hash: viem.Hash;
|
|
1297
|
+
input: viem.Hex;
|
|
1298
|
+
nonce: number;
|
|
1299
|
+
r: viem.Hex;
|
|
1300
|
+
s: viem.Hex;
|
|
1301
|
+
to: viem.Address | null;
|
|
1302
|
+
transactionIndex: number | null;
|
|
1303
|
+
typeHex: viem.Hex | null;
|
|
1304
|
+
v: bigint;
|
|
1305
|
+
value: bigint;
|
|
1306
|
+
yParity: number;
|
|
1307
|
+
gasPrice?: undefined | undefined;
|
|
1308
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
1309
|
+
maxFeePerGas: bigint;
|
|
1310
|
+
maxPriorityFeePerGas: bigint;
|
|
1311
|
+
isSystemTx?: boolean;
|
|
1312
|
+
mint?: bigint | undefined | undefined;
|
|
1313
|
+
sourceHash: viem.Hex;
|
|
1314
|
+
type: "deposit";
|
|
1315
|
+
} | {
|
|
1316
|
+
r: viem.Hex;
|
|
1317
|
+
s: viem.Hex;
|
|
1318
|
+
v: bigint;
|
|
1319
|
+
value: bigint;
|
|
1320
|
+
gas: bigint;
|
|
1321
|
+
to: viem.Address | null;
|
|
1322
|
+
from: viem.Address;
|
|
1323
|
+
nonce: number;
|
|
1324
|
+
blockHash: `0x${string}` | null;
|
|
1325
|
+
blockNumber: bigint | null;
|
|
1326
|
+
transactionIndex: number | null;
|
|
1327
|
+
hash: viem.Hash;
|
|
1328
|
+
input: viem.Hex;
|
|
1329
|
+
typeHex: viem.Hex | null;
|
|
1330
|
+
accessList?: undefined | undefined;
|
|
1331
|
+
authorizationList?: undefined | undefined;
|
|
1332
|
+
blobVersionedHashes?: undefined | undefined;
|
|
1333
|
+
chainId?: number | undefined;
|
|
1334
|
+
yParity?: undefined | undefined;
|
|
1335
|
+
type: "legacy";
|
|
1336
|
+
gasPrice: bigint;
|
|
1337
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
1338
|
+
maxFeePerGas?: undefined | undefined;
|
|
1339
|
+
maxPriorityFeePerGas?: undefined | undefined;
|
|
1340
|
+
isSystemTx?: undefined | undefined;
|
|
1341
|
+
mint?: undefined | undefined;
|
|
1342
|
+
sourceHash?: undefined | undefined;
|
|
1343
|
+
} | {
|
|
1344
|
+
blockHash: `0x${string}` | null;
|
|
1345
|
+
blockNumber: bigint | null;
|
|
1346
|
+
from: viem.Address;
|
|
1347
|
+
gas: bigint;
|
|
1348
|
+
hash: viem.Hash;
|
|
1349
|
+
input: viem.Hex;
|
|
1350
|
+
nonce: number;
|
|
1351
|
+
r: viem.Hex;
|
|
1352
|
+
s: viem.Hex;
|
|
1353
|
+
to: viem.Address | null;
|
|
1354
|
+
transactionIndex: number | null;
|
|
1355
|
+
typeHex: viem.Hex | null;
|
|
1356
|
+
v: bigint;
|
|
1357
|
+
value: bigint;
|
|
1358
|
+
yParity: number;
|
|
1359
|
+
accessList: viem.AccessList;
|
|
1360
|
+
authorizationList?: undefined | undefined;
|
|
1361
|
+
blobVersionedHashes?: undefined | undefined;
|
|
1362
|
+
chainId: number;
|
|
1363
|
+
type: "eip2930";
|
|
1364
|
+
gasPrice: bigint;
|
|
1365
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
1366
|
+
maxFeePerGas?: undefined | undefined;
|
|
1367
|
+
maxPriorityFeePerGas?: undefined | undefined;
|
|
1368
|
+
isSystemTx?: undefined | undefined;
|
|
1369
|
+
mint?: undefined | undefined;
|
|
1370
|
+
sourceHash?: undefined | undefined;
|
|
1371
|
+
} | {
|
|
1372
|
+
blockHash: `0x${string}` | null;
|
|
1373
|
+
blockNumber: bigint | null;
|
|
1374
|
+
from: viem.Address;
|
|
1375
|
+
gas: bigint;
|
|
1376
|
+
hash: viem.Hash;
|
|
1377
|
+
input: viem.Hex;
|
|
1378
|
+
nonce: number;
|
|
1379
|
+
r: viem.Hex;
|
|
1380
|
+
s: viem.Hex;
|
|
1381
|
+
to: viem.Address | null;
|
|
1382
|
+
transactionIndex: number | null;
|
|
1383
|
+
typeHex: viem.Hex | null;
|
|
1384
|
+
v: bigint;
|
|
1385
|
+
value: bigint;
|
|
1386
|
+
yParity: number;
|
|
1387
|
+
accessList: viem.AccessList;
|
|
1388
|
+
authorizationList?: undefined | undefined;
|
|
1389
|
+
blobVersionedHashes?: undefined | undefined;
|
|
1390
|
+
chainId: number;
|
|
1391
|
+
type: "eip1559";
|
|
1392
|
+
gasPrice?: undefined | undefined;
|
|
1393
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
1394
|
+
maxFeePerGas: bigint;
|
|
1395
|
+
maxPriorityFeePerGas: bigint;
|
|
1396
|
+
isSystemTx?: undefined | undefined;
|
|
1397
|
+
mint?: undefined | undefined;
|
|
1398
|
+
sourceHash?: undefined | undefined;
|
|
1399
|
+
} | {
|
|
1400
|
+
blockHash: `0x${string}` | null;
|
|
1401
|
+
blockNumber: bigint | null;
|
|
1402
|
+
from: viem.Address;
|
|
1403
|
+
gas: bigint;
|
|
1404
|
+
hash: viem.Hash;
|
|
1405
|
+
input: viem.Hex;
|
|
1406
|
+
nonce: number;
|
|
1407
|
+
r: viem.Hex;
|
|
1408
|
+
s: viem.Hex;
|
|
1409
|
+
to: viem.Address | null;
|
|
1410
|
+
transactionIndex: number | null;
|
|
1411
|
+
typeHex: viem.Hex | null;
|
|
1412
|
+
v: bigint;
|
|
1413
|
+
value: bigint;
|
|
1414
|
+
yParity: number;
|
|
1415
|
+
accessList: viem.AccessList;
|
|
1416
|
+
authorizationList?: undefined | undefined;
|
|
1417
|
+
blobVersionedHashes: readonly viem.Hex[];
|
|
1418
|
+
chainId: number;
|
|
1419
|
+
type: "eip4844";
|
|
1420
|
+
gasPrice?: undefined | undefined;
|
|
1421
|
+
maxFeePerBlobGas: bigint;
|
|
1422
|
+
maxFeePerGas: bigint;
|
|
1423
|
+
maxPriorityFeePerGas: bigint;
|
|
1424
|
+
isSystemTx?: undefined | undefined;
|
|
1425
|
+
mint?: undefined | undefined;
|
|
1426
|
+
sourceHash?: undefined | undefined;
|
|
1427
|
+
} | {
|
|
1428
|
+
blockHash: `0x${string}` | null;
|
|
1429
|
+
blockNumber: bigint | null;
|
|
1430
|
+
from: viem.Address;
|
|
1431
|
+
gas: bigint;
|
|
1432
|
+
hash: viem.Hash;
|
|
1433
|
+
input: viem.Hex;
|
|
1434
|
+
nonce: number;
|
|
1435
|
+
r: viem.Hex;
|
|
1436
|
+
s: viem.Hex;
|
|
1437
|
+
to: viem.Address | null;
|
|
1438
|
+
transactionIndex: number | null;
|
|
1439
|
+
typeHex: viem.Hex | null;
|
|
1440
|
+
v: bigint;
|
|
1441
|
+
value: bigint;
|
|
1442
|
+
yParity: number;
|
|
1443
|
+
accessList: viem.AccessList;
|
|
1444
|
+
authorizationList: viem.SignedAuthorizationList;
|
|
1445
|
+
blobVersionedHashes?: undefined | undefined;
|
|
1446
|
+
chainId: number;
|
|
1447
|
+
type: "eip7702";
|
|
1448
|
+
gasPrice?: undefined | undefined;
|
|
1449
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
1450
|
+
maxFeePerGas: bigint;
|
|
1451
|
+
maxPriorityFeePerGas: bigint;
|
|
1452
|
+
isSystemTx?: undefined | undefined;
|
|
1453
|
+
mint?: undefined | undefined;
|
|
1454
|
+
sourceHash?: undefined | undefined;
|
|
1455
|
+
}) & {};
|
|
1456
|
+
type: "transaction";
|
|
1457
|
+
};
|
|
1458
|
+
readonly transactionReceipt: {
|
|
1459
|
+
exclude: [] | undefined;
|
|
1460
|
+
format: (args: viem_chains.OpStackRpcTransactionReceipt, action?: string | undefined) => {
|
|
1461
|
+
blobGasPrice?: bigint | undefined;
|
|
1462
|
+
blobGasUsed?: bigint | undefined;
|
|
1463
|
+
blockHash: viem.Hash;
|
|
1464
|
+
blockNumber: bigint;
|
|
1465
|
+
contractAddress: viem.Address | null | undefined;
|
|
1466
|
+
cumulativeGasUsed: bigint;
|
|
1467
|
+
effectiveGasPrice: bigint;
|
|
1468
|
+
from: viem.Address;
|
|
1469
|
+
gasUsed: bigint;
|
|
1470
|
+
logs: viem.Log<bigint, number, false>[];
|
|
1471
|
+
logsBloom: viem.Hex;
|
|
1472
|
+
root?: `0x${string}` | undefined;
|
|
1473
|
+
status: "success" | "reverted";
|
|
1474
|
+
to: viem.Address | null;
|
|
1475
|
+
transactionHash: viem.Hash;
|
|
1476
|
+
transactionIndex: number;
|
|
1477
|
+
type: viem.TransactionType;
|
|
1478
|
+
l1GasPrice: bigint | null;
|
|
1479
|
+
l1GasUsed: bigint | null;
|
|
1480
|
+
l1Fee: bigint | null;
|
|
1481
|
+
l1FeeScalar: number | null;
|
|
1482
|
+
} & {};
|
|
1483
|
+
type: "transactionReceipt";
|
|
1484
|
+
};
|
|
1485
|
+
};
|
|
1486
|
+
serializers: {
|
|
1487
|
+
readonly transaction: typeof viem_chains.serializeTransactionOpStack;
|
|
1488
|
+
};
|
|
1489
|
+
readonly network: "base-sepolia";
|
|
1490
|
+
} | {
|
|
1491
|
+
blockExplorers: {
|
|
1492
|
+
readonly default: {
|
|
1493
|
+
readonly name: "Etherscan";
|
|
1494
|
+
readonly url: "https://sepolia.lineascan.build";
|
|
1495
|
+
readonly apiUrl: "https://api-sepolia.lineascan.build/api";
|
|
1496
|
+
};
|
|
1497
|
+
};
|
|
1498
|
+
blockTime?: number | undefined | undefined;
|
|
1499
|
+
contracts: {
|
|
1500
|
+
readonly multicall3: {
|
|
1501
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
1502
|
+
readonly blockCreated: 227427;
|
|
1503
|
+
};
|
|
1504
|
+
readonly ensRegistry: {
|
|
1505
|
+
readonly address: "0x5B2636F0f2137B4aE722C01dd5122D7d3e9541f7";
|
|
1506
|
+
readonly blockCreated: 2395094;
|
|
1507
|
+
};
|
|
1508
|
+
readonly ensUniversalResolver: {
|
|
1509
|
+
readonly address: "0x4D41762915F83c76EcaF6776d9b08076aA32b492";
|
|
1510
|
+
readonly blockCreated: 17168484;
|
|
1511
|
+
};
|
|
1512
|
+
};
|
|
1513
|
+
ensTlds: readonly [".linea.eth"];
|
|
1514
|
+
id: 59141;
|
|
1515
|
+
name: "Linea Sepolia Testnet";
|
|
1516
|
+
nativeCurrency: {
|
|
1517
|
+
readonly name: "Linea Ether";
|
|
1518
|
+
readonly symbol: "ETH";
|
|
1519
|
+
readonly decimals: 18;
|
|
1520
|
+
};
|
|
1521
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
1522
|
+
rpcUrls: {
|
|
1523
|
+
readonly default: {
|
|
1524
|
+
readonly http: readonly ["https://rpc.sepolia.linea.build"];
|
|
1525
|
+
readonly webSocket: readonly ["wss://rpc.sepolia.linea.build"];
|
|
1526
|
+
};
|
|
1527
|
+
};
|
|
1528
|
+
sourceId?: number | undefined | undefined;
|
|
1529
|
+
testnet: true;
|
|
1530
|
+
custom?: Record<string, unknown> | undefined;
|
|
1531
|
+
fees: {
|
|
1532
|
+
readonly estimateFeesPerGas: ({ client, multiply, request, type, }: Parameters<viem.ChainEstimateFeesPerGasFn>[0]) => ReturnType<viem.ChainEstimateFeesPerGasFn>;
|
|
1533
|
+
readonly maxPriorityFeePerGas: ({ block, client, request }: viem.ChainFeesFnParameters<viem.ChainFormatters | undefined>) => Promise<bigint | null>;
|
|
1534
|
+
};
|
|
1535
|
+
formatters?: undefined;
|
|
1536
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
1537
|
+
} | {
|
|
1538
|
+
blockExplorers: {
|
|
1539
|
+
readonly default: {
|
|
1540
|
+
readonly name: "Blockscout";
|
|
1541
|
+
readonly url: "https://optimism-sepolia.blockscout.com";
|
|
1542
|
+
readonly apiUrl: "https://optimism-sepolia.blockscout.com/api";
|
|
1543
|
+
};
|
|
1544
|
+
};
|
|
1545
|
+
blockTime: 2000;
|
|
1546
|
+
contracts: {
|
|
1547
|
+
readonly disputeGameFactory: {
|
|
1548
|
+
readonly 11155111: {
|
|
1549
|
+
readonly address: "0x05F9613aDB30026FFd634f38e5C4dFd30a197Fa1";
|
|
1550
|
+
};
|
|
1551
|
+
};
|
|
1552
|
+
readonly l2OutputOracle: {
|
|
1553
|
+
readonly 11155111: {
|
|
1554
|
+
readonly address: "0x90E9c4f8a994a250F6aEfd61CAFb4F2e895D458F";
|
|
1555
|
+
};
|
|
1556
|
+
};
|
|
1557
|
+
readonly multicall3: {
|
|
1558
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
1559
|
+
readonly blockCreated: 1620204;
|
|
1560
|
+
};
|
|
1561
|
+
readonly portal: {
|
|
1562
|
+
readonly 11155111: {
|
|
1563
|
+
readonly address: "0x16Fc5058F25648194471939df75CF27A2fdC48BC";
|
|
1564
|
+
};
|
|
1565
|
+
};
|
|
1566
|
+
readonly l1StandardBridge: {
|
|
1567
|
+
readonly 11155111: {
|
|
1568
|
+
readonly address: "0xFBb0621E0B23b5478B630BD55a5f21f67730B0F1";
|
|
1569
|
+
};
|
|
1570
|
+
};
|
|
1571
|
+
readonly gasPriceOracle: {
|
|
1572
|
+
readonly address: "0x420000000000000000000000000000000000000F";
|
|
1573
|
+
};
|
|
1574
|
+
readonly l1Block: {
|
|
1575
|
+
readonly address: "0x4200000000000000000000000000000000000015";
|
|
1576
|
+
};
|
|
1577
|
+
readonly l2CrossDomainMessenger: {
|
|
1578
|
+
readonly address: "0x4200000000000000000000000000000000000007";
|
|
1579
|
+
};
|
|
1580
|
+
readonly l2Erc721Bridge: {
|
|
1581
|
+
readonly address: "0x4200000000000000000000000000000000000014";
|
|
1582
|
+
};
|
|
1583
|
+
readonly l2StandardBridge: {
|
|
1584
|
+
readonly address: "0x4200000000000000000000000000000000000010";
|
|
1585
|
+
};
|
|
1586
|
+
readonly l2ToL1MessagePasser: {
|
|
1587
|
+
readonly address: "0x4200000000000000000000000000000000000016";
|
|
1588
|
+
};
|
|
1589
|
+
};
|
|
1590
|
+
ensTlds?: readonly string[] | undefined;
|
|
1591
|
+
id: 11155420;
|
|
1592
|
+
name: "OP Sepolia";
|
|
1593
|
+
nativeCurrency: {
|
|
1594
|
+
readonly name: "Sepolia Ether";
|
|
1595
|
+
readonly symbol: "ETH";
|
|
1596
|
+
readonly decimals: 18;
|
|
1597
|
+
};
|
|
1598
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
1599
|
+
rpcUrls: {
|
|
1600
|
+
readonly default: {
|
|
1601
|
+
readonly http: readonly ["https://sepolia.optimism.io"];
|
|
1602
|
+
};
|
|
1603
|
+
};
|
|
1604
|
+
sourceId: 11155111;
|
|
1605
|
+
testnet: true;
|
|
1606
|
+
custom?: Record<string, unknown> | undefined;
|
|
1607
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
1608
|
+
formatters: {
|
|
1609
|
+
readonly block: {
|
|
1610
|
+
exclude: [] | undefined;
|
|
1611
|
+
format: (args: viem_chains.OpStackRpcBlock, action?: string | undefined) => {
|
|
1612
|
+
baseFeePerGas: bigint | null;
|
|
1613
|
+
blobGasUsed: bigint;
|
|
1614
|
+
difficulty: bigint;
|
|
1615
|
+
excessBlobGas: bigint;
|
|
1616
|
+
extraData: viem.Hex;
|
|
1617
|
+
gasLimit: bigint;
|
|
1618
|
+
gasUsed: bigint;
|
|
1619
|
+
hash: `0x${string}` | null;
|
|
1620
|
+
logsBloom: `0x${string}` | null;
|
|
1621
|
+
miner: viem.Address;
|
|
1622
|
+
mixHash: viem.Hash;
|
|
1623
|
+
nonce: `0x${string}` | null;
|
|
1624
|
+
number: bigint | null;
|
|
1625
|
+
parentBeaconBlockRoot?: `0x${string}` | undefined;
|
|
1626
|
+
parentHash: viem.Hash;
|
|
1627
|
+
receiptsRoot: viem.Hex;
|
|
1628
|
+
sealFields: viem.Hex[];
|
|
1629
|
+
sha3Uncles: viem.Hash;
|
|
1630
|
+
size: bigint;
|
|
1631
|
+
stateRoot: viem.Hash;
|
|
1632
|
+
timestamp: bigint;
|
|
1633
|
+
totalDifficulty: bigint | null;
|
|
1634
|
+
transactions: `0x${string}`[] | viem_chains.OpStackTransaction<boolean>[];
|
|
1635
|
+
transactionsRoot: viem.Hash;
|
|
1636
|
+
uncles: viem.Hash[];
|
|
1637
|
+
withdrawals?: viem.Withdrawal[] | undefined | undefined;
|
|
1638
|
+
withdrawalsRoot?: `0x${string}` | undefined;
|
|
1639
|
+
} & {};
|
|
1640
|
+
type: "block";
|
|
1641
|
+
};
|
|
1642
|
+
readonly transaction: {
|
|
1643
|
+
exclude: [] | undefined;
|
|
1644
|
+
format: (args: viem_chains.OpStackRpcTransaction, action?: string | undefined) => ({
|
|
1645
|
+
blockHash: `0x${string}` | null;
|
|
1646
|
+
blockNumber: bigint | null;
|
|
1647
|
+
from: viem.Address;
|
|
1648
|
+
gas: bigint;
|
|
1649
|
+
hash: viem.Hash;
|
|
1650
|
+
input: viem.Hex;
|
|
1651
|
+
nonce: number;
|
|
1652
|
+
r: viem.Hex;
|
|
1653
|
+
s: viem.Hex;
|
|
1654
|
+
to: viem.Address | null;
|
|
1655
|
+
transactionIndex: number | null;
|
|
1656
|
+
typeHex: viem.Hex | null;
|
|
1657
|
+
v: bigint;
|
|
1658
|
+
value: bigint;
|
|
1659
|
+
yParity: number;
|
|
1660
|
+
gasPrice?: undefined | undefined;
|
|
1661
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
1662
|
+
maxFeePerGas: bigint;
|
|
1663
|
+
maxPriorityFeePerGas: bigint;
|
|
1664
|
+
isSystemTx?: boolean;
|
|
1665
|
+
mint?: bigint | undefined | undefined;
|
|
1666
|
+
sourceHash: viem.Hex;
|
|
1667
|
+
type: "deposit";
|
|
1668
|
+
} | {
|
|
1669
|
+
r: viem.Hex;
|
|
1670
|
+
s: viem.Hex;
|
|
1671
|
+
v: bigint;
|
|
1672
|
+
value: bigint;
|
|
1673
|
+
gas: bigint;
|
|
1674
|
+
to: viem.Address | null;
|
|
1675
|
+
from: viem.Address;
|
|
1676
|
+
nonce: number;
|
|
1677
|
+
blockHash: `0x${string}` | null;
|
|
1678
|
+
blockNumber: bigint | null;
|
|
1679
|
+
transactionIndex: number | null;
|
|
1680
|
+
hash: viem.Hash;
|
|
1681
|
+
input: viem.Hex;
|
|
1682
|
+
typeHex: viem.Hex | null;
|
|
1683
|
+
accessList?: undefined | undefined;
|
|
1684
|
+
authorizationList?: undefined | undefined;
|
|
1685
|
+
blobVersionedHashes?: undefined | undefined;
|
|
1686
|
+
chainId?: number | undefined;
|
|
1687
|
+
yParity?: undefined | undefined;
|
|
1688
|
+
type: "legacy";
|
|
1689
|
+
gasPrice: bigint;
|
|
1690
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
1691
|
+
maxFeePerGas?: undefined | undefined;
|
|
1692
|
+
maxPriorityFeePerGas?: undefined | undefined;
|
|
1693
|
+
isSystemTx?: undefined | undefined;
|
|
1694
|
+
mint?: undefined | undefined;
|
|
1695
|
+
sourceHash?: undefined | undefined;
|
|
1696
|
+
} | {
|
|
1697
|
+
blockHash: `0x${string}` | null;
|
|
1698
|
+
blockNumber: bigint | null;
|
|
1699
|
+
from: viem.Address;
|
|
1700
|
+
gas: bigint;
|
|
1701
|
+
hash: viem.Hash;
|
|
1702
|
+
input: viem.Hex;
|
|
1703
|
+
nonce: number;
|
|
1704
|
+
r: viem.Hex;
|
|
1705
|
+
s: viem.Hex;
|
|
1706
|
+
to: viem.Address | null;
|
|
1707
|
+
transactionIndex: number | null;
|
|
1708
|
+
typeHex: viem.Hex | null;
|
|
1709
|
+
v: bigint;
|
|
1710
|
+
value: bigint;
|
|
1711
|
+
yParity: number;
|
|
1712
|
+
accessList: viem.AccessList;
|
|
1713
|
+
authorizationList?: undefined | undefined;
|
|
1714
|
+
blobVersionedHashes?: undefined | undefined;
|
|
1715
|
+
chainId: number;
|
|
1716
|
+
type: "eip2930";
|
|
1717
|
+
gasPrice: bigint;
|
|
1718
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
1719
|
+
maxFeePerGas?: undefined | undefined;
|
|
1720
|
+
maxPriorityFeePerGas?: undefined | undefined;
|
|
1721
|
+
isSystemTx?: undefined | undefined;
|
|
1722
|
+
mint?: undefined | undefined;
|
|
1723
|
+
sourceHash?: undefined | undefined;
|
|
1724
|
+
} | {
|
|
1725
|
+
blockHash: `0x${string}` | null;
|
|
1726
|
+
blockNumber: bigint | null;
|
|
1727
|
+
from: viem.Address;
|
|
1728
|
+
gas: bigint;
|
|
1729
|
+
hash: viem.Hash;
|
|
1730
|
+
input: viem.Hex;
|
|
1731
|
+
nonce: number;
|
|
1732
|
+
r: viem.Hex;
|
|
1733
|
+
s: viem.Hex;
|
|
1734
|
+
to: viem.Address | null;
|
|
1735
|
+
transactionIndex: number | null;
|
|
1736
|
+
typeHex: viem.Hex | null;
|
|
1737
|
+
v: bigint;
|
|
1738
|
+
value: bigint;
|
|
1739
|
+
yParity: number;
|
|
1740
|
+
accessList: viem.AccessList;
|
|
1741
|
+
authorizationList?: undefined | undefined;
|
|
1742
|
+
blobVersionedHashes?: undefined | undefined;
|
|
1743
|
+
chainId: number;
|
|
1744
|
+
type: "eip1559";
|
|
1745
|
+
gasPrice?: undefined | undefined;
|
|
1746
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
1747
|
+
maxFeePerGas: bigint;
|
|
1748
|
+
maxPriorityFeePerGas: bigint;
|
|
1749
|
+
isSystemTx?: undefined | undefined;
|
|
1750
|
+
mint?: undefined | undefined;
|
|
1751
|
+
sourceHash?: undefined | undefined;
|
|
1752
|
+
} | {
|
|
1753
|
+
blockHash: `0x${string}` | null;
|
|
1754
|
+
blockNumber: bigint | null;
|
|
1755
|
+
from: viem.Address;
|
|
1756
|
+
gas: bigint;
|
|
1757
|
+
hash: viem.Hash;
|
|
1758
|
+
input: viem.Hex;
|
|
1759
|
+
nonce: number;
|
|
1760
|
+
r: viem.Hex;
|
|
1761
|
+
s: viem.Hex;
|
|
1762
|
+
to: viem.Address | null;
|
|
1763
|
+
transactionIndex: number | null;
|
|
1764
|
+
typeHex: viem.Hex | null;
|
|
1765
|
+
v: bigint;
|
|
1766
|
+
value: bigint;
|
|
1767
|
+
yParity: number;
|
|
1768
|
+
accessList: viem.AccessList;
|
|
1769
|
+
authorizationList?: undefined | undefined;
|
|
1770
|
+
blobVersionedHashes: readonly viem.Hex[];
|
|
1771
|
+
chainId: number;
|
|
1772
|
+
type: "eip4844";
|
|
1773
|
+
gasPrice?: undefined | undefined;
|
|
1774
|
+
maxFeePerBlobGas: bigint;
|
|
1775
|
+
maxFeePerGas: bigint;
|
|
1776
|
+
maxPriorityFeePerGas: bigint;
|
|
1777
|
+
isSystemTx?: undefined | undefined;
|
|
1778
|
+
mint?: undefined | undefined;
|
|
1779
|
+
sourceHash?: undefined | undefined;
|
|
1780
|
+
} | {
|
|
1781
|
+
blockHash: `0x${string}` | null;
|
|
1782
|
+
blockNumber: bigint | null;
|
|
1783
|
+
from: viem.Address;
|
|
1784
|
+
gas: bigint;
|
|
1785
|
+
hash: viem.Hash;
|
|
1786
|
+
input: viem.Hex;
|
|
1787
|
+
nonce: number;
|
|
1788
|
+
r: viem.Hex;
|
|
1789
|
+
s: viem.Hex;
|
|
1790
|
+
to: viem.Address | null;
|
|
1791
|
+
transactionIndex: number | null;
|
|
1792
|
+
typeHex: viem.Hex | null;
|
|
1793
|
+
v: bigint;
|
|
1794
|
+
value: bigint;
|
|
1795
|
+
yParity: number;
|
|
1796
|
+
accessList: viem.AccessList;
|
|
1797
|
+
authorizationList: viem.SignedAuthorizationList;
|
|
1798
|
+
blobVersionedHashes?: undefined | undefined;
|
|
1799
|
+
chainId: number;
|
|
1800
|
+
type: "eip7702";
|
|
1801
|
+
gasPrice?: undefined | undefined;
|
|
1802
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
1803
|
+
maxFeePerGas: bigint;
|
|
1804
|
+
maxPriorityFeePerGas: bigint;
|
|
1805
|
+
isSystemTx?: undefined | undefined;
|
|
1806
|
+
mint?: undefined | undefined;
|
|
1807
|
+
sourceHash?: undefined | undefined;
|
|
1808
|
+
}) & {};
|
|
1809
|
+
type: "transaction";
|
|
1810
|
+
};
|
|
1811
|
+
readonly transactionReceipt: {
|
|
1812
|
+
exclude: [] | undefined;
|
|
1813
|
+
format: (args: viem_chains.OpStackRpcTransactionReceipt, action?: string | undefined) => {
|
|
1814
|
+
blobGasPrice?: bigint | undefined;
|
|
1815
|
+
blobGasUsed?: bigint | undefined;
|
|
1816
|
+
blockHash: viem.Hash;
|
|
1817
|
+
blockNumber: bigint;
|
|
1818
|
+
contractAddress: viem.Address | null | undefined;
|
|
1819
|
+
cumulativeGasUsed: bigint;
|
|
1820
|
+
effectiveGasPrice: bigint;
|
|
1821
|
+
from: viem.Address;
|
|
1822
|
+
gasUsed: bigint;
|
|
1823
|
+
logs: viem.Log<bigint, number, false>[];
|
|
1824
|
+
logsBloom: viem.Hex;
|
|
1825
|
+
root?: `0x${string}` | undefined;
|
|
1826
|
+
status: "success" | "reverted";
|
|
1827
|
+
to: viem.Address | null;
|
|
1828
|
+
transactionHash: viem.Hash;
|
|
1829
|
+
transactionIndex: number;
|
|
1830
|
+
type: viem.TransactionType;
|
|
1831
|
+
l1GasPrice: bigint | null;
|
|
1832
|
+
l1GasUsed: bigint | null;
|
|
1833
|
+
l1Fee: bigint | null;
|
|
1834
|
+
l1FeeScalar: number | null;
|
|
1835
|
+
} & {};
|
|
1836
|
+
type: "transactionReceipt";
|
|
1837
|
+
};
|
|
1838
|
+
};
|
|
1839
|
+
serializers: {
|
|
1840
|
+
readonly transaction: typeof viem_chains.serializeTransactionOpStack;
|
|
1841
|
+
};
|
|
1842
|
+
} | {
|
|
1843
|
+
blockExplorers: {
|
|
1844
|
+
readonly default: {
|
|
1845
|
+
readonly name: "Arbiscan";
|
|
1846
|
+
readonly url: "https://sepolia.arbiscan.io";
|
|
1847
|
+
readonly apiUrl: "https://api-sepolia.arbiscan.io/api";
|
|
1848
|
+
};
|
|
1849
|
+
};
|
|
1850
|
+
blockTime: 250;
|
|
1851
|
+
contracts: {
|
|
1852
|
+
readonly multicall3: {
|
|
1853
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
1854
|
+
readonly blockCreated: 81930;
|
|
1855
|
+
};
|
|
1856
|
+
};
|
|
1857
|
+
ensTlds?: readonly string[] | undefined;
|
|
1858
|
+
id: 421614;
|
|
1859
|
+
name: "Arbitrum Sepolia";
|
|
1860
|
+
nativeCurrency: {
|
|
1861
|
+
readonly name: "Arbitrum Sepolia Ether";
|
|
1862
|
+
readonly symbol: "ETH";
|
|
1863
|
+
readonly decimals: 18;
|
|
1864
|
+
};
|
|
1865
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
1866
|
+
rpcUrls: {
|
|
1867
|
+
readonly default: {
|
|
1868
|
+
readonly http: readonly ["https://sepolia-rollup.arbitrum.io/rpc"];
|
|
1869
|
+
};
|
|
1870
|
+
};
|
|
1871
|
+
sourceId?: number | undefined | undefined;
|
|
1872
|
+
testnet: true;
|
|
1873
|
+
custom?: Record<string, unknown> | undefined;
|
|
1874
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
1875
|
+
formatters?: undefined;
|
|
1876
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
1877
|
+
} | {
|
|
1878
|
+
blockExplorers: {
|
|
1879
|
+
readonly default: {
|
|
1880
|
+
readonly name: "Scrollscan";
|
|
1881
|
+
readonly url: "https://sepolia.scrollscan.com";
|
|
1882
|
+
readonly apiUrl: "https://api-sepolia.scrollscan.com/api";
|
|
1883
|
+
};
|
|
1884
|
+
};
|
|
1885
|
+
blockTime?: number | undefined | undefined;
|
|
1886
|
+
contracts: {
|
|
1887
|
+
readonly multicall3: {
|
|
1888
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
1889
|
+
readonly blockCreated: 9473;
|
|
1890
|
+
};
|
|
1891
|
+
};
|
|
1892
|
+
ensTlds?: readonly string[] | undefined;
|
|
1893
|
+
id: 534351;
|
|
1894
|
+
name: "Scroll Sepolia";
|
|
1895
|
+
nativeCurrency: {
|
|
1896
|
+
readonly name: "Ether";
|
|
1897
|
+
readonly symbol: "ETH";
|
|
1898
|
+
readonly decimals: 18;
|
|
1899
|
+
};
|
|
1900
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
1901
|
+
rpcUrls: {
|
|
1902
|
+
readonly default: {
|
|
1903
|
+
readonly http: readonly ["https://sepolia-rpc.scroll.io"];
|
|
1904
|
+
};
|
|
1905
|
+
};
|
|
1906
|
+
sourceId?: number | undefined | undefined;
|
|
1907
|
+
testnet: true;
|
|
1908
|
+
custom?: Record<string, unknown> | undefined;
|
|
1909
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
1910
|
+
formatters?: undefined;
|
|
1911
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
1912
|
+
})[];
|
|
313
1913
|
/**
|
|
314
1914
|
* Returns a prettified chain name for the provided chain id.
|
|
315
1915
|
*/
|
|
@@ -354,4 +1954,4 @@ declare function getEnsManagerAddressDetailsUrl(address: Address, namespaceId: E
|
|
|
354
1954
|
*/
|
|
355
1955
|
declare function getEnsMetadataServiceAvatarUrl(name: Name, namespaceId: ENSNamespaceId): URL | null;
|
|
356
1956
|
|
|
357
|
-
export { AbsoluteTime, AddressDisplay, ChainExplorerIcon, ChainIcon, type ChainIconProps, ChainName, type ChainNameProps, CopyButton, type CopyButtonProps, DisplayDuration, DisplayIdentity, EfpIcon, EmailIcon, EnsAvatar, EnsIcon, EnsServiceProviderIcon, FarcasterIcon, Footer, GitHubIcon, IdentityLink, type IdentityLinkDetails, IdentityTooltip, type IdentityTooltipProps, InfoIcon, NameDisplay, RegistrarActionCard, RegistrarActionCardLoading, type RegistrarActionCardLoadingProps, RegistrarActionCardMemo, type RegistrarActionCardProps, RelativeTime, ResolveAndDisplayIdentity, type ResolveAndDisplayIdentityProps, TelegramIcon, TwitterIcon, formatRelativeTime, getBlockExplorerAddressDetailsUrl, getBlockExplorerBlockUrl, getBlockExplorerTransactionDetailsUrl, getBlockExplorerUrl, getChainName, getEnsManagerAddressDetailsUrl, getEnsManagerNameDetailsUrl, getEnsManagerUrl, getEnsMetadataServiceAvatarUrl, useNow };
|
|
1957
|
+
export { AbsoluteTime, AddressDisplay, ChainExplorerIcon, ChainIcon, type ChainIconProps, ChainName, type ChainNameProps, CopyButton, type CopyButtonProps, DisplayDuration, DisplayIdentity, EfpIcon, EmailIcon, EnsAvatar, EnsIcon, EnsServiceProviderIcon, FarcasterIcon, Footer, GitHubIcon, IdentityLink, type IdentityLinkDetails, IdentityTooltip, type IdentityTooltipProps, InfoIcon, LabeledField, NameDisplay, RegistrarActionCard, RegistrarActionCardLoading, type RegistrarActionCardLoadingProps, RegistrarActionCardMemo, type RegistrarActionCardProps, RelativeTime, ResolveAndDisplayIdentity, type ResolveAndDisplayIdentityProps, SUPPORTED_CHAINS, TelegramIcon, TwitterIcon, formatRelativeTime, getBlockExplorerAddressDetailsUrl, getBlockExplorerBlockUrl, getBlockExplorerTransactionDetailsUrl, getBlockExplorerUrl, getChainName, getEnsManagerAddressDetailsUrl, getEnsManagerNameDetailsUrl, getEnsManagerUrl, getEnsMetadataServiceAvatarUrl, useIsMobile, useNow };
|