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