@rhinestone/shared-configs 1.4.8 → 1.4.12
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/configs/chains.json +139 -49
- package/dist/configs/mainnets.json +36 -9
- package/dist/configs/testnets.json +12 -4
- package/dist/scripts/generate.d.ts +2 -0
- package/dist/scripts/generate.d.ts.map +1 -0
- package/dist/scripts/generate.js +137 -0
- package/dist/scripts/update-sdk-dependency.d.ts +2 -0
- package/dist/scripts/update-sdk-dependency.d.ts.map +1 -0
- package/dist/scripts/update-sdk-dependency.js +60 -0
- package/dist/src/chains.d.ts +18 -0
- package/dist/src/chains.d.ts.map +1 -0
- package/dist/src/chains.js +271 -0
- package/dist/src/index.d.ts +9 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/{index.js → src/index.js} +11 -11
- package/dist/{chain.d.ts → src/types.d.ts} +545 -365
- package/dist/src/types.d.ts.map +1 -0
- package/dist/{chain.js → src/types.js} +16 -7
- package/package.json +9 -5
- package/dist/chain.d.ts.map +0 -1
- package/dist/index.d.ts +0 -35
- package/dist/index.d.ts.map +0 -1
|
@@ -1,64 +1,80 @@
|
|
|
1
1
|
/** biome-ignore-all lint/style/useLiteralEnumMembers: readability */
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
type SupportedMainnet = typeof base.id | typeof arbitrum.id | typeof optimism.id | typeof polygon.id | typeof soneium.id;
|
|
5
|
-
type SupportedOPStackMainnet = typeof optimism.id | typeof base.id | typeof soneium.id;
|
|
6
|
-
type SupportedOPStackTestnet = typeof optimismSepolia.id | typeof baseSepolia.id;
|
|
7
|
-
type SupportedChain = SupportedMainnet | SupportedTestnet;
|
|
8
|
-
declare enum TestnetNetwork {
|
|
9
|
-
ETHEREUM_SEPOLIA,
|
|
10
|
-
BASE_SEPOLIA,
|
|
11
|
-
ARBITRUM_SEPOLIA,
|
|
12
|
-
OPTIMISM_SEPOLIA
|
|
13
|
-
}
|
|
14
|
-
declare enum MainnetNetwork {
|
|
15
|
-
BASE,
|
|
16
|
-
ARBITRUM,
|
|
17
|
-
OPTIMISM,
|
|
18
|
-
POLYGON,
|
|
19
|
-
SONEIUM
|
|
20
|
-
}
|
|
21
|
-
declare enum OPStackChains {
|
|
22
|
-
MAINNET_OPTIMISM,
|
|
23
|
-
MAINNET_BASE,
|
|
24
|
-
MAINNET_SONEIUM,
|
|
25
|
-
TESTNET_OPTIMISM,
|
|
26
|
-
TESTNET_BASE
|
|
27
|
-
}
|
|
2
|
+
import type { Address } from 'viem';
|
|
3
|
+
import { arbitrum, arbitrumSepolia, base, baseSepolia, mainnet, optimism, optimismSepolia, polygon, sepolia, soneium, sonic } from 'viem/chains';
|
|
28
4
|
declare const mainnetChains: ({
|
|
29
5
|
blockExplorers: {
|
|
30
6
|
readonly default: {
|
|
31
|
-
readonly name: "
|
|
32
|
-
readonly url: "https://
|
|
33
|
-
readonly apiUrl: "https://api.
|
|
7
|
+
readonly name: "Etherscan";
|
|
8
|
+
readonly url: "https://etherscan.io";
|
|
9
|
+
readonly apiUrl: "https://api.etherscan.io/api";
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
blockTime?: number | undefined | undefined;
|
|
13
|
+
contracts: {
|
|
14
|
+
readonly ensRegistry: {
|
|
15
|
+
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
|
|
16
|
+
};
|
|
17
|
+
readonly ensUniversalResolver: {
|
|
18
|
+
readonly address: "0xce01f8eee7E479C928F8919abD53E553a36CeF67";
|
|
19
|
+
readonly blockCreated: 19258213;
|
|
20
|
+
};
|
|
21
|
+
readonly multicall3: {
|
|
22
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
23
|
+
readonly blockCreated: 14353601;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
ensTlds?: readonly string[] | undefined;
|
|
27
|
+
id: 1;
|
|
28
|
+
name: "Ethereum";
|
|
29
|
+
nativeCurrency: {
|
|
30
|
+
readonly name: "Ether";
|
|
31
|
+
readonly symbol: "ETH";
|
|
32
|
+
readonly decimals: 18;
|
|
33
|
+
};
|
|
34
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
35
|
+
rpcUrls: {
|
|
36
|
+
readonly default: {
|
|
37
|
+
readonly http: readonly ["https://eth.merkle.io"];
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
sourceId?: number | undefined | undefined;
|
|
41
|
+
testnet?: boolean | undefined | undefined;
|
|
42
|
+
custom?: Record<string, unknown> | undefined;
|
|
43
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
44
|
+
formatters?: undefined;
|
|
45
|
+
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
46
|
+
} | {
|
|
47
|
+
blockExplorers: {
|
|
48
|
+
readonly default: {
|
|
49
|
+
readonly name: "Optimism Explorer";
|
|
50
|
+
readonly url: "https://optimistic.etherscan.io";
|
|
51
|
+
readonly apiUrl: "https://api-optimistic.etherscan.io/api";
|
|
34
52
|
};
|
|
35
53
|
};
|
|
36
54
|
blockTime: 2000;
|
|
37
55
|
contracts: {
|
|
38
56
|
readonly disputeGameFactory: {
|
|
39
57
|
readonly 1: {
|
|
40
|
-
readonly address: "
|
|
58
|
+
readonly address: "0xe5965Ab5962eDc7477C8520243A95517CD252fA9";
|
|
41
59
|
};
|
|
42
60
|
};
|
|
43
61
|
readonly l2OutputOracle: {
|
|
44
62
|
readonly 1: {
|
|
45
|
-
readonly address: "
|
|
63
|
+
readonly address: "0xdfe97868233d1aa22e815a266982f2cf17685a27";
|
|
46
64
|
};
|
|
47
65
|
};
|
|
48
66
|
readonly multicall3: {
|
|
49
67
|
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
50
|
-
readonly blockCreated:
|
|
68
|
+
readonly blockCreated: 4286263;
|
|
51
69
|
};
|
|
52
70
|
readonly portal: {
|
|
53
71
|
readonly 1: {
|
|
54
|
-
readonly address: "
|
|
55
|
-
readonly blockCreated: 17482143;
|
|
72
|
+
readonly address: "0xbEb5Fc579115071764c7423A4f12eDde41f106Ed";
|
|
56
73
|
};
|
|
57
74
|
};
|
|
58
75
|
readonly l1StandardBridge: {
|
|
59
76
|
readonly 1: {
|
|
60
|
-
readonly address: "
|
|
61
|
-
readonly blockCreated: 17482143;
|
|
77
|
+
readonly address: "0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1";
|
|
62
78
|
};
|
|
63
79
|
};
|
|
64
80
|
readonly gasPriceOracle: {
|
|
@@ -81,8 +97,8 @@ declare const mainnetChains: ({
|
|
|
81
97
|
};
|
|
82
98
|
};
|
|
83
99
|
ensTlds?: readonly string[] | undefined;
|
|
84
|
-
id:
|
|
85
|
-
name: "
|
|
100
|
+
id: 10;
|
|
101
|
+
name: "OP Mainnet";
|
|
86
102
|
nativeCurrency: {
|
|
87
103
|
readonly name: "Ether";
|
|
88
104
|
readonly symbol: "ETH";
|
|
@@ -91,7 +107,7 @@ declare const mainnetChains: ({
|
|
|
91
107
|
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
92
108
|
rpcUrls: {
|
|
93
109
|
readonly default: {
|
|
94
|
-
readonly http: readonly ["https://mainnet.
|
|
110
|
+
readonly http: readonly ["https://mainnet.optimism.io"];
|
|
95
111
|
};
|
|
96
112
|
};
|
|
97
113
|
sourceId: 1;
|
|
@@ -335,70 +351,37 @@ declare const mainnetChains: ({
|
|
|
335
351
|
} | {
|
|
336
352
|
blockExplorers: {
|
|
337
353
|
readonly default: {
|
|
338
|
-
readonly name: "
|
|
339
|
-
readonly url: "https://
|
|
340
|
-
readonly apiUrl: "https://api.
|
|
341
|
-
};
|
|
342
|
-
};
|
|
343
|
-
blockTime: 250;
|
|
344
|
-
contracts: {
|
|
345
|
-
readonly multicall3: {
|
|
346
|
-
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
347
|
-
readonly blockCreated: 7654707;
|
|
348
|
-
};
|
|
349
|
-
};
|
|
350
|
-
ensTlds?: readonly string[] | undefined;
|
|
351
|
-
id: 42161;
|
|
352
|
-
name: "Arbitrum One";
|
|
353
|
-
nativeCurrency: {
|
|
354
|
-
readonly name: "Ether";
|
|
355
|
-
readonly symbol: "ETH";
|
|
356
|
-
readonly decimals: 18;
|
|
357
|
-
};
|
|
358
|
-
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
359
|
-
rpcUrls: {
|
|
360
|
-
readonly default: {
|
|
361
|
-
readonly http: readonly ["https://arb1.arbitrum.io/rpc"];
|
|
362
|
-
};
|
|
363
|
-
};
|
|
364
|
-
sourceId?: number | undefined | undefined;
|
|
365
|
-
testnet?: boolean | undefined | undefined;
|
|
366
|
-
custom?: Record<string, unknown> | undefined;
|
|
367
|
-
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
368
|
-
formatters?: undefined;
|
|
369
|
-
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
370
|
-
} | {
|
|
371
|
-
blockExplorers: {
|
|
372
|
-
readonly default: {
|
|
373
|
-
readonly name: "Optimism Explorer";
|
|
374
|
-
readonly url: "https://optimistic.etherscan.io";
|
|
375
|
-
readonly apiUrl: "https://api-optimistic.etherscan.io/api";
|
|
354
|
+
readonly name: "Basescan";
|
|
355
|
+
readonly url: "https://basescan.org";
|
|
356
|
+
readonly apiUrl: "https://api.basescan.org/api";
|
|
376
357
|
};
|
|
377
358
|
};
|
|
378
359
|
blockTime: 2000;
|
|
379
360
|
contracts: {
|
|
380
361
|
readonly disputeGameFactory: {
|
|
381
362
|
readonly 1: {
|
|
382
|
-
readonly address: "
|
|
363
|
+
readonly address: "0x43edB88C4B80fDD2AdFF2412A7BebF9dF42cB40e";
|
|
383
364
|
};
|
|
384
365
|
};
|
|
385
366
|
readonly l2OutputOracle: {
|
|
386
367
|
readonly 1: {
|
|
387
|
-
readonly address: "
|
|
368
|
+
readonly address: "0x56315b90c40730925ec5485cf004d835058518A0";
|
|
388
369
|
};
|
|
389
370
|
};
|
|
390
371
|
readonly multicall3: {
|
|
391
372
|
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
392
|
-
readonly blockCreated:
|
|
373
|
+
readonly blockCreated: 5022;
|
|
393
374
|
};
|
|
394
375
|
readonly portal: {
|
|
395
376
|
readonly 1: {
|
|
396
|
-
readonly address: "
|
|
377
|
+
readonly address: "0x49048044D57e1C92A77f79988d21Fa8fAF74E97e";
|
|
378
|
+
readonly blockCreated: 17482143;
|
|
397
379
|
};
|
|
398
380
|
};
|
|
399
381
|
readonly l1StandardBridge: {
|
|
400
382
|
readonly 1: {
|
|
401
|
-
readonly address: "
|
|
383
|
+
readonly address: "0x3154Cf16ccdb4C6d922629664174b904d80F2C35";
|
|
384
|
+
readonly blockCreated: 17482143;
|
|
402
385
|
};
|
|
403
386
|
};
|
|
404
387
|
readonly gasPriceOracle: {
|
|
@@ -421,8 +404,8 @@ declare const mainnetChains: ({
|
|
|
421
404
|
};
|
|
422
405
|
};
|
|
423
406
|
ensTlds?: readonly string[] | undefined;
|
|
424
|
-
id:
|
|
425
|
-
name: "
|
|
407
|
+
id: 8453;
|
|
408
|
+
name: "Base";
|
|
426
409
|
nativeCurrency: {
|
|
427
410
|
readonly name: "Ether";
|
|
428
411
|
readonly symbol: "ETH";
|
|
@@ -431,7 +414,7 @@ declare const mainnetChains: ({
|
|
|
431
414
|
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
432
415
|
rpcUrls: {
|
|
433
416
|
readonly default: {
|
|
434
|
-
readonly http: readonly ["https://mainnet.
|
|
417
|
+
readonly http: readonly ["https://mainnet.base.org"];
|
|
435
418
|
};
|
|
436
419
|
};
|
|
437
420
|
sourceId: 1;
|
|
@@ -672,6 +655,41 @@ declare const mainnetChains: ({
|
|
|
672
655
|
serializers: {
|
|
673
656
|
readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
|
|
674
657
|
};
|
|
658
|
+
} | {
|
|
659
|
+
blockExplorers: {
|
|
660
|
+
readonly default: {
|
|
661
|
+
readonly name: "Arbiscan";
|
|
662
|
+
readonly url: "https://arbiscan.io";
|
|
663
|
+
readonly apiUrl: "https://api.arbiscan.io/api";
|
|
664
|
+
};
|
|
665
|
+
};
|
|
666
|
+
blockTime: 250;
|
|
667
|
+
contracts: {
|
|
668
|
+
readonly multicall3: {
|
|
669
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
670
|
+
readonly blockCreated: 7654707;
|
|
671
|
+
};
|
|
672
|
+
};
|
|
673
|
+
ensTlds?: readonly string[] | undefined;
|
|
674
|
+
id: 42161;
|
|
675
|
+
name: "Arbitrum One";
|
|
676
|
+
nativeCurrency: {
|
|
677
|
+
readonly name: "Ether";
|
|
678
|
+
readonly symbol: "ETH";
|
|
679
|
+
readonly decimals: 18;
|
|
680
|
+
};
|
|
681
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
682
|
+
rpcUrls: {
|
|
683
|
+
readonly default: {
|
|
684
|
+
readonly http: readonly ["https://arb1.arbitrum.io/rpc"];
|
|
685
|
+
};
|
|
686
|
+
};
|
|
687
|
+
sourceId?: number | undefined | undefined;
|
|
688
|
+
testnet?: boolean | undefined | undefined;
|
|
689
|
+
custom?: Record<string, unknown> | undefined;
|
|
690
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
691
|
+
formatters?: undefined;
|
|
692
|
+
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
675
693
|
} | {
|
|
676
694
|
blockExplorers: {
|
|
677
695
|
readonly default: {
|
|
@@ -1014,6 +1032,40 @@ declare const mainnetChains: ({
|
|
|
1014
1032
|
serializers: {
|
|
1015
1033
|
readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
|
|
1016
1034
|
};
|
|
1035
|
+
} | {
|
|
1036
|
+
blockExplorers: {
|
|
1037
|
+
readonly default: {
|
|
1038
|
+
readonly name: "Sonic Explorer";
|
|
1039
|
+
readonly url: "https://sonicscan.org";
|
|
1040
|
+
};
|
|
1041
|
+
};
|
|
1042
|
+
blockTime?: number | undefined | undefined;
|
|
1043
|
+
contracts: {
|
|
1044
|
+
readonly multicall3: {
|
|
1045
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
1046
|
+
readonly blockCreated: 60;
|
|
1047
|
+
};
|
|
1048
|
+
};
|
|
1049
|
+
ensTlds?: readonly string[] | undefined;
|
|
1050
|
+
id: 146;
|
|
1051
|
+
name: "Sonic";
|
|
1052
|
+
nativeCurrency: {
|
|
1053
|
+
readonly decimals: 18;
|
|
1054
|
+
readonly name: "Sonic";
|
|
1055
|
+
readonly symbol: "S";
|
|
1056
|
+
};
|
|
1057
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
1058
|
+
rpcUrls: {
|
|
1059
|
+
readonly default: {
|
|
1060
|
+
readonly http: readonly ["https://rpc.soniclabs.com"];
|
|
1061
|
+
};
|
|
1062
|
+
};
|
|
1063
|
+
sourceId?: number | undefined | undefined;
|
|
1064
|
+
testnet: false;
|
|
1065
|
+
custom?: Record<string, unknown> | undefined;
|
|
1066
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
1067
|
+
formatters?: undefined;
|
|
1068
|
+
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
1017
1069
|
})[];
|
|
1018
1070
|
declare const testnetChains: ({
|
|
1019
1071
|
blockExplorers: {
|
|
@@ -1060,39 +1112,37 @@ declare const testnetChains: ({
|
|
|
1060
1112
|
} | {
|
|
1061
1113
|
blockExplorers: {
|
|
1062
1114
|
readonly default: {
|
|
1063
|
-
readonly name: "
|
|
1064
|
-
readonly url: "https://sepolia.
|
|
1065
|
-
readonly apiUrl: "https://
|
|
1115
|
+
readonly name: "Blockscout";
|
|
1116
|
+
readonly url: "https://optimism-sepolia.blockscout.com";
|
|
1117
|
+
readonly apiUrl: "https://optimism-sepolia.blockscout.com/api";
|
|
1066
1118
|
};
|
|
1067
1119
|
};
|
|
1068
1120
|
blockTime: 2000;
|
|
1069
1121
|
contracts: {
|
|
1070
1122
|
readonly disputeGameFactory: {
|
|
1071
1123
|
readonly 11155111: {
|
|
1072
|
-
readonly address: "
|
|
1124
|
+
readonly address: "0x05F9613aDB30026FFd634f38e5C4dFd30a197Fa1";
|
|
1073
1125
|
};
|
|
1074
1126
|
};
|
|
1075
1127
|
readonly l2OutputOracle: {
|
|
1076
1128
|
readonly 11155111: {
|
|
1077
|
-
readonly address: "
|
|
1129
|
+
readonly address: "0x90E9c4f8a994a250F6aEfd61CAFb4F2e895D458F";
|
|
1078
1130
|
};
|
|
1079
1131
|
};
|
|
1132
|
+
readonly multicall3: {
|
|
1133
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
1134
|
+
readonly blockCreated: 1620204;
|
|
1135
|
+
};
|
|
1080
1136
|
readonly portal: {
|
|
1081
1137
|
readonly 11155111: {
|
|
1082
|
-
readonly address: "
|
|
1083
|
-
readonly blockCreated: 4446677;
|
|
1138
|
+
readonly address: "0x16Fc5058F25648194471939df75CF27A2fdC48BC";
|
|
1084
1139
|
};
|
|
1085
1140
|
};
|
|
1086
1141
|
readonly l1StandardBridge: {
|
|
1087
1142
|
readonly 11155111: {
|
|
1088
|
-
readonly address: "
|
|
1089
|
-
readonly blockCreated: 4446677;
|
|
1143
|
+
readonly address: "0xFBb0621E0B23b5478B630BD55a5f21f67730B0F1";
|
|
1090
1144
|
};
|
|
1091
1145
|
};
|
|
1092
|
-
readonly multicall3: {
|
|
1093
|
-
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
1094
|
-
readonly blockCreated: 1059647;
|
|
1095
|
-
};
|
|
1096
1146
|
readonly gasPriceOracle: {
|
|
1097
1147
|
readonly address: "0x420000000000000000000000000000000000000F";
|
|
1098
1148
|
};
|
|
@@ -1113,8 +1163,8 @@ declare const testnetChains: ({
|
|
|
1113
1163
|
};
|
|
1114
1164
|
};
|
|
1115
1165
|
ensTlds?: readonly string[] | undefined;
|
|
1116
|
-
id:
|
|
1117
|
-
name: "
|
|
1166
|
+
id: 11155420;
|
|
1167
|
+
name: "OP Sepolia";
|
|
1118
1168
|
nativeCurrency: {
|
|
1119
1169
|
readonly name: "Sepolia Ether";
|
|
1120
1170
|
readonly symbol: "ETH";
|
|
@@ -1123,7 +1173,7 @@ declare const testnetChains: ({
|
|
|
1123
1173
|
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
1124
1174
|
rpcUrls: {
|
|
1125
1175
|
readonly default: {
|
|
1126
|
-
readonly http: readonly ["https://sepolia.
|
|
1176
|
+
readonly http: readonly ["https://sepolia.optimism.io"];
|
|
1127
1177
|
};
|
|
1128
1178
|
};
|
|
1129
1179
|
sourceId: 11155111;
|
|
@@ -1364,76 +1414,42 @@ declare const testnetChains: ({
|
|
|
1364
1414
|
serializers: {
|
|
1365
1415
|
readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
|
|
1366
1416
|
};
|
|
1367
|
-
readonly network: "base-sepolia";
|
|
1368
1417
|
} | {
|
|
1369
1418
|
blockExplorers: {
|
|
1370
1419
|
readonly default: {
|
|
1371
|
-
readonly name: "
|
|
1372
|
-
readonly url: "https://sepolia.
|
|
1373
|
-
readonly apiUrl: "https://api-sepolia.
|
|
1420
|
+
readonly name: "Basescan";
|
|
1421
|
+
readonly url: "https://sepolia.basescan.org";
|
|
1422
|
+
readonly apiUrl: "https://api-sepolia.basescan.org/api";
|
|
1374
1423
|
};
|
|
1375
1424
|
};
|
|
1376
|
-
blockTime:
|
|
1425
|
+
blockTime: 2000;
|
|
1377
1426
|
contracts: {
|
|
1378
|
-
readonly
|
|
1379
|
-
readonly
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
};
|
|
1383
|
-
ensTlds?: readonly string[] | undefined;
|
|
1384
|
-
id: 421614;
|
|
1385
|
-
name: "Arbitrum Sepolia";
|
|
1386
|
-
nativeCurrency: {
|
|
1387
|
-
readonly name: "Arbitrum Sepolia Ether";
|
|
1388
|
-
readonly symbol: "ETH";
|
|
1389
|
-
readonly decimals: 18;
|
|
1390
|
-
};
|
|
1391
|
-
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
1392
|
-
rpcUrls: {
|
|
1393
|
-
readonly default: {
|
|
1394
|
-
readonly http: readonly ["https://sepolia-rollup.arbitrum.io/rpc"];
|
|
1395
|
-
};
|
|
1396
|
-
};
|
|
1397
|
-
sourceId?: number | undefined | undefined;
|
|
1398
|
-
testnet: true;
|
|
1399
|
-
custom?: Record<string, unknown> | undefined;
|
|
1400
|
-
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
1401
|
-
formatters?: undefined;
|
|
1402
|
-
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
1403
|
-
} | {
|
|
1404
|
-
blockExplorers: {
|
|
1405
|
-
readonly default: {
|
|
1406
|
-
readonly name: "Blockscout";
|
|
1407
|
-
readonly url: "https://optimism-sepolia.blockscout.com";
|
|
1408
|
-
readonly apiUrl: "https://optimism-sepolia.blockscout.com/api";
|
|
1409
|
-
};
|
|
1410
|
-
};
|
|
1411
|
-
blockTime: 2000;
|
|
1412
|
-
contracts: {
|
|
1413
|
-
readonly disputeGameFactory: {
|
|
1414
|
-
readonly 11155111: {
|
|
1415
|
-
readonly address: "0x05F9613aDB30026FFd634f38e5C4dFd30a197Fa1";
|
|
1416
|
-
};
|
|
1427
|
+
readonly disputeGameFactory: {
|
|
1428
|
+
readonly 11155111: {
|
|
1429
|
+
readonly address: "0xd6E6dBf4F7EA0ac412fD8b65ED297e64BB7a06E1";
|
|
1430
|
+
};
|
|
1417
1431
|
};
|
|
1418
1432
|
readonly l2OutputOracle: {
|
|
1419
1433
|
readonly 11155111: {
|
|
1420
|
-
readonly address: "
|
|
1434
|
+
readonly address: "0x84457ca9D0163FbC4bbfe4Dfbb20ba46e48DF254";
|
|
1421
1435
|
};
|
|
1422
1436
|
};
|
|
1423
|
-
readonly multicall3: {
|
|
1424
|
-
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
1425
|
-
readonly blockCreated: 1620204;
|
|
1426
|
-
};
|
|
1427
1437
|
readonly portal: {
|
|
1428
1438
|
readonly 11155111: {
|
|
1429
|
-
readonly address: "
|
|
1439
|
+
readonly address: "0x49f53e41452c74589e85ca1677426ba426459e85";
|
|
1440
|
+
readonly blockCreated: 4446677;
|
|
1430
1441
|
};
|
|
1431
1442
|
};
|
|
1432
1443
|
readonly l1StandardBridge: {
|
|
1433
1444
|
readonly 11155111: {
|
|
1434
|
-
readonly address: "
|
|
1445
|
+
readonly address: "0xfd0Bf71F60660E2f608ed56e1659C450eB113120";
|
|
1446
|
+
readonly blockCreated: 4446677;
|
|
1435
1447
|
};
|
|
1436
1448
|
};
|
|
1449
|
+
readonly multicall3: {
|
|
1450
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
1451
|
+
readonly blockCreated: 1059647;
|
|
1452
|
+
};
|
|
1437
1453
|
readonly gasPriceOracle: {
|
|
1438
1454
|
readonly address: "0x420000000000000000000000000000000000000F";
|
|
1439
1455
|
};
|
|
@@ -1454,8 +1470,8 @@ declare const testnetChains: ({
|
|
|
1454
1470
|
};
|
|
1455
1471
|
};
|
|
1456
1472
|
ensTlds?: readonly string[] | undefined;
|
|
1457
|
-
id:
|
|
1458
|
-
name: "
|
|
1473
|
+
id: 84532;
|
|
1474
|
+
name: "Base Sepolia";
|
|
1459
1475
|
nativeCurrency: {
|
|
1460
1476
|
readonly name: "Sepolia Ether";
|
|
1461
1477
|
readonly symbol: "ETH";
|
|
@@ -1464,7 +1480,7 @@ declare const testnetChains: ({
|
|
|
1464
1480
|
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
1465
1481
|
rpcUrls: {
|
|
1466
1482
|
readonly default: {
|
|
1467
|
-
readonly http: readonly ["https://sepolia.
|
|
1483
|
+
readonly http: readonly ["https://sepolia.base.org"];
|
|
1468
1484
|
};
|
|
1469
1485
|
};
|
|
1470
1486
|
sourceId: 11155111;
|
|
@@ -1705,45 +1721,81 @@ declare const testnetChains: ({
|
|
|
1705
1721
|
serializers: {
|
|
1706
1722
|
readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
|
|
1707
1723
|
};
|
|
1724
|
+
readonly network: "base-sepolia";
|
|
1725
|
+
} | {
|
|
1726
|
+
blockExplorers: {
|
|
1727
|
+
readonly default: {
|
|
1728
|
+
readonly name: "Arbiscan";
|
|
1729
|
+
readonly url: "https://sepolia.arbiscan.io";
|
|
1730
|
+
readonly apiUrl: "https://api-sepolia.arbiscan.io/api";
|
|
1731
|
+
};
|
|
1732
|
+
};
|
|
1733
|
+
blockTime: 250;
|
|
1734
|
+
contracts: {
|
|
1735
|
+
readonly multicall3: {
|
|
1736
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
1737
|
+
readonly blockCreated: 81930;
|
|
1738
|
+
};
|
|
1739
|
+
};
|
|
1740
|
+
ensTlds?: readonly string[] | undefined;
|
|
1741
|
+
id: 421614;
|
|
1742
|
+
name: "Arbitrum Sepolia";
|
|
1743
|
+
nativeCurrency: {
|
|
1744
|
+
readonly name: "Arbitrum Sepolia Ether";
|
|
1745
|
+
readonly symbol: "ETH";
|
|
1746
|
+
readonly decimals: 18;
|
|
1747
|
+
};
|
|
1748
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
1749
|
+
rpcUrls: {
|
|
1750
|
+
readonly default: {
|
|
1751
|
+
readonly http: readonly ["https://sepolia-rollup.arbitrum.io/rpc"];
|
|
1752
|
+
};
|
|
1753
|
+
};
|
|
1754
|
+
sourceId?: number | undefined | undefined;
|
|
1755
|
+
testnet: true;
|
|
1756
|
+
custom?: Record<string, unknown> | undefined;
|
|
1757
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
1758
|
+
formatters?: undefined;
|
|
1759
|
+
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
1708
1760
|
})[];
|
|
1709
1761
|
declare const chains: ({
|
|
1710
1762
|
blockExplorers: {
|
|
1711
1763
|
readonly default: {
|
|
1712
1764
|
readonly name: "Etherscan";
|
|
1713
|
-
readonly url: "https://
|
|
1714
|
-
readonly apiUrl: "https://api
|
|
1765
|
+
readonly url: "https://etherscan.io";
|
|
1766
|
+
readonly apiUrl: "https://api.etherscan.io/api";
|
|
1715
1767
|
};
|
|
1716
1768
|
};
|
|
1717
1769
|
blockTime?: number | undefined | undefined;
|
|
1718
1770
|
contracts: {
|
|
1719
|
-
readonly multicall3: {
|
|
1720
|
-
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
1721
|
-
readonly blockCreated: 751532;
|
|
1722
|
-
};
|
|
1723
1771
|
readonly ensRegistry: {
|
|
1724
1772
|
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
|
|
1725
1773
|
};
|
|
1726
1774
|
readonly ensUniversalResolver: {
|
|
1727
|
-
readonly address: "
|
|
1728
|
-
readonly blockCreated:
|
|
1775
|
+
readonly address: "0xce01f8eee7E479C928F8919abD53E553a36CeF67";
|
|
1776
|
+
readonly blockCreated: 19258213;
|
|
1777
|
+
};
|
|
1778
|
+
readonly multicall3: {
|
|
1779
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
1780
|
+
readonly blockCreated: 14353601;
|
|
1729
1781
|
};
|
|
1730
1782
|
};
|
|
1731
1783
|
ensTlds?: readonly string[] | undefined;
|
|
1732
|
-
id:
|
|
1733
|
-
name: "
|
|
1784
|
+
id: 1;
|
|
1785
|
+
name: "Ethereum";
|
|
1734
1786
|
nativeCurrency: {
|
|
1735
|
-
readonly name: "
|
|
1787
|
+
readonly name: "Ether";
|
|
1736
1788
|
readonly symbol: "ETH";
|
|
1737
1789
|
readonly decimals: 18;
|
|
1738
1790
|
};
|
|
1739
1791
|
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
1740
1792
|
rpcUrls: {
|
|
1741
1793
|
readonly default: {
|
|
1742
|
-
readonly http: readonly ["https://
|
|
1794
|
+
readonly http: readonly ["https://eth.merkle.io"];
|
|
1743
1795
|
};
|
|
1744
1796
|
};
|
|
1745
1797
|
sourceId?: number | undefined | undefined;
|
|
1746
|
-
testnet
|
|
1798
|
+
testnet?: boolean | undefined | undefined;
|
|
1747
1799
|
custom?: Record<string, unknown> | undefined;
|
|
1748
1800
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
1749
1801
|
formatters?: undefined;
|
|
@@ -1751,39 +1803,37 @@ declare const chains: ({
|
|
|
1751
1803
|
} | {
|
|
1752
1804
|
blockExplorers: {
|
|
1753
1805
|
readonly default: {
|
|
1754
|
-
readonly name: "
|
|
1755
|
-
readonly url: "https://
|
|
1756
|
-
readonly apiUrl: "https://api-
|
|
1806
|
+
readonly name: "Optimism Explorer";
|
|
1807
|
+
readonly url: "https://optimistic.etherscan.io";
|
|
1808
|
+
readonly apiUrl: "https://api-optimistic.etherscan.io/api";
|
|
1757
1809
|
};
|
|
1758
1810
|
};
|
|
1759
1811
|
blockTime: 2000;
|
|
1760
1812
|
contracts: {
|
|
1761
1813
|
readonly disputeGameFactory: {
|
|
1762
|
-
readonly
|
|
1763
|
-
readonly address: "
|
|
1814
|
+
readonly 1: {
|
|
1815
|
+
readonly address: "0xe5965Ab5962eDc7477C8520243A95517CD252fA9";
|
|
1764
1816
|
};
|
|
1765
1817
|
};
|
|
1766
1818
|
readonly l2OutputOracle: {
|
|
1767
|
-
readonly
|
|
1768
|
-
readonly address: "
|
|
1819
|
+
readonly 1: {
|
|
1820
|
+
readonly address: "0xdfe97868233d1aa22e815a266982f2cf17685a27";
|
|
1769
1821
|
};
|
|
1770
1822
|
};
|
|
1823
|
+
readonly multicall3: {
|
|
1824
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
1825
|
+
readonly blockCreated: 4286263;
|
|
1826
|
+
};
|
|
1771
1827
|
readonly portal: {
|
|
1772
|
-
readonly
|
|
1773
|
-
readonly address: "
|
|
1774
|
-
readonly blockCreated: 4446677;
|
|
1828
|
+
readonly 1: {
|
|
1829
|
+
readonly address: "0xbEb5Fc579115071764c7423A4f12eDde41f106Ed";
|
|
1775
1830
|
};
|
|
1776
1831
|
};
|
|
1777
1832
|
readonly l1StandardBridge: {
|
|
1778
|
-
readonly
|
|
1779
|
-
readonly address: "
|
|
1780
|
-
readonly blockCreated: 4446677;
|
|
1833
|
+
readonly 1: {
|
|
1834
|
+
readonly address: "0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1";
|
|
1781
1835
|
};
|
|
1782
1836
|
};
|
|
1783
|
-
readonly multicall3: {
|
|
1784
|
-
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
1785
|
-
readonly blockCreated: 1059647;
|
|
1786
|
-
};
|
|
1787
1837
|
readonly gasPriceOracle: {
|
|
1788
1838
|
readonly address: "0x420000000000000000000000000000000000000F";
|
|
1789
1839
|
};
|
|
@@ -1804,21 +1854,21 @@ declare const chains: ({
|
|
|
1804
1854
|
};
|
|
1805
1855
|
};
|
|
1806
1856
|
ensTlds?: readonly string[] | undefined;
|
|
1807
|
-
id:
|
|
1808
|
-
name: "
|
|
1857
|
+
id: 10;
|
|
1858
|
+
name: "OP Mainnet";
|
|
1809
1859
|
nativeCurrency: {
|
|
1810
|
-
readonly name: "
|
|
1860
|
+
readonly name: "Ether";
|
|
1811
1861
|
readonly symbol: "ETH";
|
|
1812
1862
|
readonly decimals: 18;
|
|
1813
1863
|
};
|
|
1814
1864
|
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
1815
1865
|
rpcUrls: {
|
|
1816
1866
|
readonly default: {
|
|
1817
|
-
readonly http: readonly ["https://
|
|
1867
|
+
readonly http: readonly ["https://mainnet.optimism.io"];
|
|
1818
1868
|
};
|
|
1819
1869
|
};
|
|
1820
|
-
sourceId:
|
|
1821
|
-
testnet
|
|
1870
|
+
sourceId: 1;
|
|
1871
|
+
testnet?: boolean | undefined | undefined;
|
|
1822
1872
|
custom?: Record<string, unknown> | undefined;
|
|
1823
1873
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
1824
1874
|
formatters: {
|
|
@@ -2055,74 +2105,40 @@ declare const chains: ({
|
|
|
2055
2105
|
serializers: {
|
|
2056
2106
|
readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
|
|
2057
2107
|
};
|
|
2058
|
-
readonly network: "base-sepolia";
|
|
2059
|
-
} | {
|
|
2060
|
-
blockExplorers: {
|
|
2061
|
-
readonly default: {
|
|
2062
|
-
readonly name: "Arbiscan";
|
|
2063
|
-
readonly url: "https://sepolia.arbiscan.io";
|
|
2064
|
-
readonly apiUrl: "https://api-sepolia.arbiscan.io/api";
|
|
2065
|
-
};
|
|
2066
|
-
};
|
|
2067
|
-
blockTime: 250;
|
|
2068
|
-
contracts: {
|
|
2069
|
-
readonly multicall3: {
|
|
2070
|
-
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
2071
|
-
readonly blockCreated: 81930;
|
|
2072
|
-
};
|
|
2073
|
-
};
|
|
2074
|
-
ensTlds?: readonly string[] | undefined;
|
|
2075
|
-
id: 421614;
|
|
2076
|
-
name: "Arbitrum Sepolia";
|
|
2077
|
-
nativeCurrency: {
|
|
2078
|
-
readonly name: "Arbitrum Sepolia Ether";
|
|
2079
|
-
readonly symbol: "ETH";
|
|
2080
|
-
readonly decimals: 18;
|
|
2081
|
-
};
|
|
2082
|
-
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
2083
|
-
rpcUrls: {
|
|
2084
|
-
readonly default: {
|
|
2085
|
-
readonly http: readonly ["https://sepolia-rollup.arbitrum.io/rpc"];
|
|
2086
|
-
};
|
|
2087
|
-
};
|
|
2088
|
-
sourceId?: number | undefined | undefined;
|
|
2089
|
-
testnet: true;
|
|
2090
|
-
custom?: Record<string, unknown> | undefined;
|
|
2091
|
-
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
2092
|
-
formatters?: undefined;
|
|
2093
|
-
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
2094
2108
|
} | {
|
|
2095
2109
|
blockExplorers: {
|
|
2096
2110
|
readonly default: {
|
|
2097
|
-
readonly name: "
|
|
2098
|
-
readonly url: "https://
|
|
2099
|
-
readonly apiUrl: "https://
|
|
2111
|
+
readonly name: "Basescan";
|
|
2112
|
+
readonly url: "https://basescan.org";
|
|
2113
|
+
readonly apiUrl: "https://api.basescan.org/api";
|
|
2100
2114
|
};
|
|
2101
2115
|
};
|
|
2102
2116
|
blockTime: 2000;
|
|
2103
2117
|
contracts: {
|
|
2104
2118
|
readonly disputeGameFactory: {
|
|
2105
|
-
readonly
|
|
2106
|
-
readonly address: "
|
|
2119
|
+
readonly 1: {
|
|
2120
|
+
readonly address: "0x43edB88C4B80fDD2AdFF2412A7BebF9dF42cB40e";
|
|
2107
2121
|
};
|
|
2108
2122
|
};
|
|
2109
2123
|
readonly l2OutputOracle: {
|
|
2110
|
-
readonly
|
|
2111
|
-
readonly address: "
|
|
2124
|
+
readonly 1: {
|
|
2125
|
+
readonly address: "0x56315b90c40730925ec5485cf004d835058518A0";
|
|
2112
2126
|
};
|
|
2113
2127
|
};
|
|
2114
2128
|
readonly multicall3: {
|
|
2115
2129
|
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
2116
|
-
readonly blockCreated:
|
|
2130
|
+
readonly blockCreated: 5022;
|
|
2117
2131
|
};
|
|
2118
2132
|
readonly portal: {
|
|
2119
|
-
readonly
|
|
2120
|
-
readonly address: "
|
|
2133
|
+
readonly 1: {
|
|
2134
|
+
readonly address: "0x49048044D57e1C92A77f79988d21Fa8fAF74E97e";
|
|
2135
|
+
readonly blockCreated: 17482143;
|
|
2121
2136
|
};
|
|
2122
2137
|
};
|
|
2123
2138
|
readonly l1StandardBridge: {
|
|
2124
|
-
readonly
|
|
2125
|
-
readonly address: "
|
|
2139
|
+
readonly 1: {
|
|
2140
|
+
readonly address: "0x3154Cf16ccdb4C6d922629664174b904d80F2C35";
|
|
2141
|
+
readonly blockCreated: 17482143;
|
|
2126
2142
|
};
|
|
2127
2143
|
};
|
|
2128
2144
|
readonly gasPriceOracle: {
|
|
@@ -2145,21 +2161,21 @@ declare const chains: ({
|
|
|
2145
2161
|
};
|
|
2146
2162
|
};
|
|
2147
2163
|
ensTlds?: readonly string[] | undefined;
|
|
2148
|
-
id:
|
|
2149
|
-
name: "
|
|
2164
|
+
id: 8453;
|
|
2165
|
+
name: "Base";
|
|
2150
2166
|
nativeCurrency: {
|
|
2151
|
-
readonly name: "
|
|
2167
|
+
readonly name: "Ether";
|
|
2152
2168
|
readonly symbol: "ETH";
|
|
2153
2169
|
readonly decimals: 18;
|
|
2154
2170
|
};
|
|
2155
2171
|
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
2156
2172
|
rpcUrls: {
|
|
2157
2173
|
readonly default: {
|
|
2158
|
-
readonly http: readonly ["https://
|
|
2174
|
+
readonly http: readonly ["https://mainnet.base.org"];
|
|
2159
2175
|
};
|
|
2160
2176
|
};
|
|
2161
|
-
sourceId:
|
|
2162
|
-
testnet
|
|
2177
|
+
sourceId: 1;
|
|
2178
|
+
testnet?: boolean | undefined | undefined;
|
|
2163
2179
|
custom?: Record<string, unknown> | undefined;
|
|
2164
2180
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
2165
2181
|
formatters: {
|
|
@@ -2399,43 +2415,113 @@ declare const chains: ({
|
|
|
2399
2415
|
} | {
|
|
2400
2416
|
blockExplorers: {
|
|
2401
2417
|
readonly default: {
|
|
2402
|
-
readonly name: "
|
|
2403
|
-
readonly url: "https://
|
|
2404
|
-
readonly apiUrl: "https://api.
|
|
2418
|
+
readonly name: "Arbiscan";
|
|
2419
|
+
readonly url: "https://arbiscan.io";
|
|
2420
|
+
readonly apiUrl: "https://api.arbiscan.io/api";
|
|
2405
2421
|
};
|
|
2406
2422
|
};
|
|
2407
|
-
blockTime:
|
|
2423
|
+
blockTime: 250;
|
|
2408
2424
|
contracts: {
|
|
2409
|
-
readonly disputeGameFactory: {
|
|
2410
|
-
readonly 1: {
|
|
2411
|
-
readonly address: "0x43edB88C4B80fDD2AdFF2412A7BebF9dF42cB40e";
|
|
2412
|
-
};
|
|
2413
|
-
};
|
|
2414
|
-
readonly l2OutputOracle: {
|
|
2415
|
-
readonly 1: {
|
|
2416
|
-
readonly address: "0x56315b90c40730925ec5485cf004d835058518A0";
|
|
2417
|
-
};
|
|
2418
|
-
};
|
|
2419
2425
|
readonly multicall3: {
|
|
2420
2426
|
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
2421
|
-
readonly blockCreated:
|
|
2422
|
-
};
|
|
2423
|
-
readonly portal: {
|
|
2424
|
-
readonly 1: {
|
|
2425
|
-
readonly address: "0x49048044D57e1C92A77f79988d21Fa8fAF74E97e";
|
|
2426
|
-
readonly blockCreated: 17482143;
|
|
2427
|
-
};
|
|
2428
|
-
};
|
|
2429
|
-
readonly l1StandardBridge: {
|
|
2430
|
-
readonly 1: {
|
|
2431
|
-
readonly address: "0x3154Cf16ccdb4C6d922629664174b904d80F2C35";
|
|
2432
|
-
readonly blockCreated: 17482143;
|
|
2433
|
-
};
|
|
2434
|
-
};
|
|
2435
|
-
readonly gasPriceOracle: {
|
|
2436
|
-
readonly address: "0x420000000000000000000000000000000000000F";
|
|
2427
|
+
readonly blockCreated: 7654707;
|
|
2437
2428
|
};
|
|
2438
|
-
|
|
2429
|
+
};
|
|
2430
|
+
ensTlds?: readonly string[] | undefined;
|
|
2431
|
+
id: 42161;
|
|
2432
|
+
name: "Arbitrum One";
|
|
2433
|
+
nativeCurrency: {
|
|
2434
|
+
readonly name: "Ether";
|
|
2435
|
+
readonly symbol: "ETH";
|
|
2436
|
+
readonly decimals: 18;
|
|
2437
|
+
};
|
|
2438
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
2439
|
+
rpcUrls: {
|
|
2440
|
+
readonly default: {
|
|
2441
|
+
readonly http: readonly ["https://arb1.arbitrum.io/rpc"];
|
|
2442
|
+
};
|
|
2443
|
+
};
|
|
2444
|
+
sourceId?: number | undefined | undefined;
|
|
2445
|
+
testnet?: boolean | undefined | undefined;
|
|
2446
|
+
custom?: Record<string, unknown> | undefined;
|
|
2447
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
2448
|
+
formatters?: undefined;
|
|
2449
|
+
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
2450
|
+
} | {
|
|
2451
|
+
blockExplorers: {
|
|
2452
|
+
readonly default: {
|
|
2453
|
+
readonly name: "PolygonScan";
|
|
2454
|
+
readonly url: "https://polygonscan.com";
|
|
2455
|
+
readonly apiUrl: "https://api.polygonscan.com/api";
|
|
2456
|
+
};
|
|
2457
|
+
};
|
|
2458
|
+
blockTime?: number | undefined | undefined;
|
|
2459
|
+
contracts: {
|
|
2460
|
+
readonly multicall3: {
|
|
2461
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
2462
|
+
readonly blockCreated: 25770160;
|
|
2463
|
+
};
|
|
2464
|
+
};
|
|
2465
|
+
ensTlds?: readonly string[] | undefined;
|
|
2466
|
+
id: 137;
|
|
2467
|
+
name: "Polygon";
|
|
2468
|
+
nativeCurrency: {
|
|
2469
|
+
readonly name: "POL";
|
|
2470
|
+
readonly symbol: "POL";
|
|
2471
|
+
readonly decimals: 18;
|
|
2472
|
+
};
|
|
2473
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
2474
|
+
rpcUrls: {
|
|
2475
|
+
readonly default: {
|
|
2476
|
+
readonly http: readonly ["https://polygon-rpc.com"];
|
|
2477
|
+
};
|
|
2478
|
+
};
|
|
2479
|
+
sourceId?: number | undefined | undefined;
|
|
2480
|
+
testnet?: boolean | undefined | undefined;
|
|
2481
|
+
custom?: Record<string, unknown> | undefined;
|
|
2482
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
2483
|
+
formatters?: undefined;
|
|
2484
|
+
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
2485
|
+
} | {
|
|
2486
|
+
blockExplorers: {
|
|
2487
|
+
readonly default: {
|
|
2488
|
+
readonly name: "Blockscout";
|
|
2489
|
+
readonly url: "https://soneium.blockscout.com";
|
|
2490
|
+
readonly apiUrl: "https://soneium.blockscout.com/api";
|
|
2491
|
+
};
|
|
2492
|
+
};
|
|
2493
|
+
blockTime: 2000;
|
|
2494
|
+
contracts: {
|
|
2495
|
+
readonly disputeGameFactory: {
|
|
2496
|
+
readonly 1: {
|
|
2497
|
+
readonly address: "0x512a3d2c7a43bd9261d2b8e8c9c70d4bd4d503c0";
|
|
2498
|
+
};
|
|
2499
|
+
};
|
|
2500
|
+
readonly l2OutputOracle: {
|
|
2501
|
+
readonly 1: {
|
|
2502
|
+
readonly address: "0x0000000000000000000000000000000000000000";
|
|
2503
|
+
};
|
|
2504
|
+
};
|
|
2505
|
+
readonly portal: {
|
|
2506
|
+
readonly 1: {
|
|
2507
|
+
readonly address: "0x88e529a6ccd302c948689cd5156c83d4614fae92";
|
|
2508
|
+
readonly blockCreated: 7061266;
|
|
2509
|
+
};
|
|
2510
|
+
};
|
|
2511
|
+
readonly l1StandardBridge: {
|
|
2512
|
+
readonly 1: {
|
|
2513
|
+
readonly address: "0xeb9bf100225c214efc3e7c651ebbadcf85177607";
|
|
2514
|
+
readonly blockCreated: 7061266;
|
|
2515
|
+
};
|
|
2516
|
+
};
|
|
2517
|
+
readonly multicall3: {
|
|
2518
|
+
readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
|
2519
|
+
readonly blockCreated: 1;
|
|
2520
|
+
};
|
|
2521
|
+
readonly gasPriceOracle: {
|
|
2522
|
+
readonly address: "0x420000000000000000000000000000000000000F";
|
|
2523
|
+
};
|
|
2524
|
+
readonly l1Block: {
|
|
2439
2525
|
readonly address: "0x4200000000000000000000000000000000000015";
|
|
2440
2526
|
};
|
|
2441
2527
|
readonly l2CrossDomainMessenger: {
|
|
@@ -2452,8 +2538,8 @@ declare const chains: ({
|
|
|
2452
2538
|
};
|
|
2453
2539
|
};
|
|
2454
2540
|
ensTlds?: readonly string[] | undefined;
|
|
2455
|
-
id:
|
|
2456
|
-
name: "
|
|
2541
|
+
id: 1868;
|
|
2542
|
+
name: "Soneium Mainnet";
|
|
2457
2543
|
nativeCurrency: {
|
|
2458
2544
|
readonly name: "Ether";
|
|
2459
2545
|
readonly symbol: "ETH";
|
|
@@ -2462,7 +2548,7 @@ declare const chains: ({
|
|
|
2462
2548
|
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
2463
2549
|
rpcUrls: {
|
|
2464
2550
|
readonly default: {
|
|
2465
|
-
readonly http: readonly ["https://
|
|
2551
|
+
readonly http: readonly ["https://rpc.soneium.org"];
|
|
2466
2552
|
};
|
|
2467
2553
|
};
|
|
2468
2554
|
sourceId: 1;
|
|
@@ -2706,34 +2792,75 @@ declare const chains: ({
|
|
|
2706
2792
|
} | {
|
|
2707
2793
|
blockExplorers: {
|
|
2708
2794
|
readonly default: {
|
|
2709
|
-
readonly name: "
|
|
2710
|
-
readonly url: "https://
|
|
2711
|
-
readonly apiUrl: "https://api.arbiscan.io/api";
|
|
2795
|
+
readonly name: "Sonic Explorer";
|
|
2796
|
+
readonly url: "https://sonicscan.org";
|
|
2712
2797
|
};
|
|
2713
2798
|
};
|
|
2714
|
-
blockTime
|
|
2799
|
+
blockTime?: number | undefined | undefined;
|
|
2715
2800
|
contracts: {
|
|
2716
2801
|
readonly multicall3: {
|
|
2717
2802
|
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
2718
|
-
readonly blockCreated:
|
|
2803
|
+
readonly blockCreated: 60;
|
|
2719
2804
|
};
|
|
2720
2805
|
};
|
|
2721
2806
|
ensTlds?: readonly string[] | undefined;
|
|
2722
|
-
id:
|
|
2723
|
-
name: "
|
|
2807
|
+
id: 146;
|
|
2808
|
+
name: "Sonic";
|
|
2724
2809
|
nativeCurrency: {
|
|
2725
|
-
readonly
|
|
2810
|
+
readonly decimals: 18;
|
|
2811
|
+
readonly name: "Sonic";
|
|
2812
|
+
readonly symbol: "S";
|
|
2813
|
+
};
|
|
2814
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
2815
|
+
rpcUrls: {
|
|
2816
|
+
readonly default: {
|
|
2817
|
+
readonly http: readonly ["https://rpc.soniclabs.com"];
|
|
2818
|
+
};
|
|
2819
|
+
};
|
|
2820
|
+
sourceId?: number | undefined | undefined;
|
|
2821
|
+
testnet: false;
|
|
2822
|
+
custom?: Record<string, unknown> | undefined;
|
|
2823
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
2824
|
+
formatters?: undefined;
|
|
2825
|
+
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
2826
|
+
} | {
|
|
2827
|
+
blockExplorers: {
|
|
2828
|
+
readonly default: {
|
|
2829
|
+
readonly name: "Etherscan";
|
|
2830
|
+
readonly url: "https://sepolia.etherscan.io";
|
|
2831
|
+
readonly apiUrl: "https://api-sepolia.etherscan.io/api";
|
|
2832
|
+
};
|
|
2833
|
+
};
|
|
2834
|
+
blockTime?: number | undefined | undefined;
|
|
2835
|
+
contracts: {
|
|
2836
|
+
readonly multicall3: {
|
|
2837
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
2838
|
+
readonly blockCreated: 751532;
|
|
2839
|
+
};
|
|
2840
|
+
readonly ensRegistry: {
|
|
2841
|
+
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
|
|
2842
|
+
};
|
|
2843
|
+
readonly ensUniversalResolver: {
|
|
2844
|
+
readonly address: "0xc8Af999e38273D658BE1b921b88A9Ddf005769cC";
|
|
2845
|
+
readonly blockCreated: 5317080;
|
|
2846
|
+
};
|
|
2847
|
+
};
|
|
2848
|
+
ensTlds?: readonly string[] | undefined;
|
|
2849
|
+
id: 11155111;
|
|
2850
|
+
name: "Sepolia";
|
|
2851
|
+
nativeCurrency: {
|
|
2852
|
+
readonly name: "Sepolia Ether";
|
|
2726
2853
|
readonly symbol: "ETH";
|
|
2727
2854
|
readonly decimals: 18;
|
|
2728
2855
|
};
|
|
2729
2856
|
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
2730
2857
|
rpcUrls: {
|
|
2731
2858
|
readonly default: {
|
|
2732
|
-
readonly http: readonly ["https://
|
|
2859
|
+
readonly http: readonly ["https://sepolia.drpc.org"];
|
|
2733
2860
|
};
|
|
2734
2861
|
};
|
|
2735
2862
|
sourceId?: number | undefined | undefined;
|
|
2736
|
-
testnet
|
|
2863
|
+
testnet: true;
|
|
2737
2864
|
custom?: Record<string, unknown> | undefined;
|
|
2738
2865
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
2739
2866
|
formatters?: undefined;
|
|
@@ -2741,35 +2868,35 @@ declare const chains: ({
|
|
|
2741
2868
|
} | {
|
|
2742
2869
|
blockExplorers: {
|
|
2743
2870
|
readonly default: {
|
|
2744
|
-
readonly name: "
|
|
2745
|
-
readonly url: "https://
|
|
2746
|
-
readonly apiUrl: "https://
|
|
2871
|
+
readonly name: "Blockscout";
|
|
2872
|
+
readonly url: "https://optimism-sepolia.blockscout.com";
|
|
2873
|
+
readonly apiUrl: "https://optimism-sepolia.blockscout.com/api";
|
|
2747
2874
|
};
|
|
2748
2875
|
};
|
|
2749
2876
|
blockTime: 2000;
|
|
2750
2877
|
contracts: {
|
|
2751
2878
|
readonly disputeGameFactory: {
|
|
2752
|
-
readonly
|
|
2753
|
-
readonly address: "
|
|
2879
|
+
readonly 11155111: {
|
|
2880
|
+
readonly address: "0x05F9613aDB30026FFd634f38e5C4dFd30a197Fa1";
|
|
2754
2881
|
};
|
|
2755
2882
|
};
|
|
2756
2883
|
readonly l2OutputOracle: {
|
|
2757
|
-
readonly
|
|
2758
|
-
readonly address: "
|
|
2884
|
+
readonly 11155111: {
|
|
2885
|
+
readonly address: "0x90E9c4f8a994a250F6aEfd61CAFb4F2e895D458F";
|
|
2759
2886
|
};
|
|
2760
2887
|
};
|
|
2761
2888
|
readonly multicall3: {
|
|
2762
2889
|
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
2763
|
-
readonly blockCreated:
|
|
2890
|
+
readonly blockCreated: 1620204;
|
|
2764
2891
|
};
|
|
2765
2892
|
readonly portal: {
|
|
2766
|
-
readonly
|
|
2767
|
-
readonly address: "
|
|
2893
|
+
readonly 11155111: {
|
|
2894
|
+
readonly address: "0x16Fc5058F25648194471939df75CF27A2fdC48BC";
|
|
2768
2895
|
};
|
|
2769
2896
|
};
|
|
2770
2897
|
readonly l1StandardBridge: {
|
|
2771
|
-
readonly
|
|
2772
|
-
readonly address: "
|
|
2898
|
+
readonly 11155111: {
|
|
2899
|
+
readonly address: "0xFBb0621E0B23b5478B630BD55a5f21f67730B0F1";
|
|
2773
2900
|
};
|
|
2774
2901
|
};
|
|
2775
2902
|
readonly gasPriceOracle: {
|
|
@@ -2792,21 +2919,21 @@ declare const chains: ({
|
|
|
2792
2919
|
};
|
|
2793
2920
|
};
|
|
2794
2921
|
ensTlds?: readonly string[] | undefined;
|
|
2795
|
-
id:
|
|
2796
|
-
name: "OP
|
|
2922
|
+
id: 11155420;
|
|
2923
|
+
name: "OP Sepolia";
|
|
2797
2924
|
nativeCurrency: {
|
|
2798
|
-
readonly name: "Ether";
|
|
2925
|
+
readonly name: "Sepolia Ether";
|
|
2799
2926
|
readonly symbol: "ETH";
|
|
2800
2927
|
readonly decimals: 18;
|
|
2801
2928
|
};
|
|
2802
2929
|
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
2803
2930
|
rpcUrls: {
|
|
2804
2931
|
readonly default: {
|
|
2805
|
-
readonly http: readonly ["https://
|
|
2932
|
+
readonly http: readonly ["https://sepolia.optimism.io"];
|
|
2806
2933
|
};
|
|
2807
2934
|
};
|
|
2808
|
-
sourceId:
|
|
2809
|
-
testnet
|
|
2935
|
+
sourceId: 11155111;
|
|
2936
|
+
testnet: true;
|
|
2810
2937
|
custom?: Record<string, unknown> | undefined;
|
|
2811
2938
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
2812
2939
|
formatters: {
|
|
@@ -3046,73 +3173,38 @@ declare const chains: ({
|
|
|
3046
3173
|
} | {
|
|
3047
3174
|
blockExplorers: {
|
|
3048
3175
|
readonly default: {
|
|
3049
|
-
readonly name: "
|
|
3050
|
-
readonly url: "https://
|
|
3051
|
-
readonly apiUrl: "https://api.
|
|
3052
|
-
};
|
|
3053
|
-
};
|
|
3054
|
-
blockTime?: number | undefined | undefined;
|
|
3055
|
-
contracts: {
|
|
3056
|
-
readonly multicall3: {
|
|
3057
|
-
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
3058
|
-
readonly blockCreated: 25770160;
|
|
3059
|
-
};
|
|
3060
|
-
};
|
|
3061
|
-
ensTlds?: readonly string[] | undefined;
|
|
3062
|
-
id: 137;
|
|
3063
|
-
name: "Polygon";
|
|
3064
|
-
nativeCurrency: {
|
|
3065
|
-
readonly name: "POL";
|
|
3066
|
-
readonly symbol: "POL";
|
|
3067
|
-
readonly decimals: 18;
|
|
3068
|
-
};
|
|
3069
|
-
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
3070
|
-
rpcUrls: {
|
|
3071
|
-
readonly default: {
|
|
3072
|
-
readonly http: readonly ["https://polygon-rpc.com"];
|
|
3073
|
-
};
|
|
3074
|
-
};
|
|
3075
|
-
sourceId?: number | undefined | undefined;
|
|
3076
|
-
testnet?: boolean | undefined | undefined;
|
|
3077
|
-
custom?: Record<string, unknown> | undefined;
|
|
3078
|
-
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
3079
|
-
formatters?: undefined;
|
|
3080
|
-
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
3081
|
-
} | {
|
|
3082
|
-
blockExplorers: {
|
|
3083
|
-
readonly default: {
|
|
3084
|
-
readonly name: "Blockscout";
|
|
3085
|
-
readonly url: "https://soneium.blockscout.com";
|
|
3086
|
-
readonly apiUrl: "https://soneium.blockscout.com/api";
|
|
3176
|
+
readonly name: "Basescan";
|
|
3177
|
+
readonly url: "https://sepolia.basescan.org";
|
|
3178
|
+
readonly apiUrl: "https://api-sepolia.basescan.org/api";
|
|
3087
3179
|
};
|
|
3088
3180
|
};
|
|
3089
3181
|
blockTime: 2000;
|
|
3090
3182
|
contracts: {
|
|
3091
3183
|
readonly disputeGameFactory: {
|
|
3092
|
-
readonly
|
|
3093
|
-
readonly address: "
|
|
3184
|
+
readonly 11155111: {
|
|
3185
|
+
readonly address: "0xd6E6dBf4F7EA0ac412fD8b65ED297e64BB7a06E1";
|
|
3094
3186
|
};
|
|
3095
3187
|
};
|
|
3096
3188
|
readonly l2OutputOracle: {
|
|
3097
|
-
readonly
|
|
3098
|
-
readonly address: "
|
|
3189
|
+
readonly 11155111: {
|
|
3190
|
+
readonly address: "0x84457ca9D0163FbC4bbfe4Dfbb20ba46e48DF254";
|
|
3099
3191
|
};
|
|
3100
3192
|
};
|
|
3101
3193
|
readonly portal: {
|
|
3102
|
-
readonly
|
|
3103
|
-
readonly address: "
|
|
3104
|
-
readonly blockCreated:
|
|
3194
|
+
readonly 11155111: {
|
|
3195
|
+
readonly address: "0x49f53e41452c74589e85ca1677426ba426459e85";
|
|
3196
|
+
readonly blockCreated: 4446677;
|
|
3105
3197
|
};
|
|
3106
3198
|
};
|
|
3107
3199
|
readonly l1StandardBridge: {
|
|
3108
|
-
readonly
|
|
3109
|
-
readonly address: "
|
|
3110
|
-
readonly blockCreated:
|
|
3200
|
+
readonly 11155111: {
|
|
3201
|
+
readonly address: "0xfd0Bf71F60660E2f608ed56e1659C450eB113120";
|
|
3202
|
+
readonly blockCreated: 4446677;
|
|
3111
3203
|
};
|
|
3112
3204
|
};
|
|
3113
3205
|
readonly multicall3: {
|
|
3114
|
-
readonly address: "
|
|
3115
|
-
readonly blockCreated:
|
|
3206
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
3207
|
+
readonly blockCreated: 1059647;
|
|
3116
3208
|
};
|
|
3117
3209
|
readonly gasPriceOracle: {
|
|
3118
3210
|
readonly address: "0x420000000000000000000000000000000000000F";
|
|
@@ -3134,21 +3226,21 @@ declare const chains: ({
|
|
|
3134
3226
|
};
|
|
3135
3227
|
};
|
|
3136
3228
|
ensTlds?: readonly string[] | undefined;
|
|
3137
|
-
id:
|
|
3138
|
-
name: "
|
|
3229
|
+
id: 84532;
|
|
3230
|
+
name: "Base Sepolia";
|
|
3139
3231
|
nativeCurrency: {
|
|
3140
|
-
readonly name: "Ether";
|
|
3232
|
+
readonly name: "Sepolia Ether";
|
|
3141
3233
|
readonly symbol: "ETH";
|
|
3142
3234
|
readonly decimals: 18;
|
|
3143
3235
|
};
|
|
3144
3236
|
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
3145
3237
|
rpcUrls: {
|
|
3146
3238
|
readonly default: {
|
|
3147
|
-
readonly http: readonly ["https://
|
|
3239
|
+
readonly http: readonly ["https://sepolia.base.org"];
|
|
3148
3240
|
};
|
|
3149
3241
|
};
|
|
3150
|
-
sourceId:
|
|
3151
|
-
testnet
|
|
3242
|
+
sourceId: 11155111;
|
|
3243
|
+
testnet: true;
|
|
3152
3244
|
custom?: Record<string, unknown> | undefined;
|
|
3153
3245
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
3154
3246
|
formatters: {
|
|
@@ -3385,7 +3477,95 @@ declare const chains: ({
|
|
|
3385
3477
|
serializers: {
|
|
3386
3478
|
readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
|
|
3387
3479
|
};
|
|
3480
|
+
readonly network: "base-sepolia";
|
|
3481
|
+
} | {
|
|
3482
|
+
blockExplorers: {
|
|
3483
|
+
readonly default: {
|
|
3484
|
+
readonly name: "Arbiscan";
|
|
3485
|
+
readonly url: "https://sepolia.arbiscan.io";
|
|
3486
|
+
readonly apiUrl: "https://api-sepolia.arbiscan.io/api";
|
|
3487
|
+
};
|
|
3488
|
+
};
|
|
3489
|
+
blockTime: 250;
|
|
3490
|
+
contracts: {
|
|
3491
|
+
readonly multicall3: {
|
|
3492
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
3493
|
+
readonly blockCreated: 81930;
|
|
3494
|
+
};
|
|
3495
|
+
};
|
|
3496
|
+
ensTlds?: readonly string[] | undefined;
|
|
3497
|
+
id: 421614;
|
|
3498
|
+
name: "Arbitrum Sepolia";
|
|
3499
|
+
nativeCurrency: {
|
|
3500
|
+
readonly name: "Arbitrum Sepolia Ether";
|
|
3501
|
+
readonly symbol: "ETH";
|
|
3502
|
+
readonly decimals: 18;
|
|
3503
|
+
};
|
|
3504
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
3505
|
+
rpcUrls: {
|
|
3506
|
+
readonly default: {
|
|
3507
|
+
readonly http: readonly ["https://sepolia-rollup.arbitrum.io/rpc"];
|
|
3508
|
+
};
|
|
3509
|
+
};
|
|
3510
|
+
sourceId?: number | undefined | undefined;
|
|
3511
|
+
testnet: true;
|
|
3512
|
+
custom?: Record<string, unknown> | undefined;
|
|
3513
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
3514
|
+
formatters?: undefined;
|
|
3515
|
+
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
3388
3516
|
})[];
|
|
3517
|
+
type SupportedTestnet = typeof sepolia.id | typeof baseSepolia.id | typeof arbitrumSepolia.id | typeof optimismSepolia.id;
|
|
3518
|
+
type SupportedMainnet = typeof mainnet.id | typeof base.id | typeof arbitrum.id | typeof optimism.id | typeof polygon.id | typeof soneium.id | typeof sonic.id;
|
|
3519
|
+
type SupportedOPStackMainnet = typeof optimism.id | typeof base.id | typeof soneium.id;
|
|
3520
|
+
type SupportedOPStackTestnet = typeof optimismSepolia.id | typeof baseSepolia.id;
|
|
3521
|
+
type SupportedChain = SupportedMainnet | SupportedTestnet;
|
|
3522
|
+
declare enum TestnetNetwork {
|
|
3523
|
+
ETHEREUM_SEPOLIA,
|
|
3524
|
+
BASE_SEPOLIA,
|
|
3525
|
+
ARBITRUM_SEPOLIA,
|
|
3526
|
+
OPTIMISM_SEPOLIA
|
|
3527
|
+
}
|
|
3528
|
+
declare enum MainnetNetwork {
|
|
3529
|
+
ETHEREUM,
|
|
3530
|
+
BASE,
|
|
3531
|
+
ARBITRUM,
|
|
3532
|
+
OPTIMISM,
|
|
3533
|
+
POLYGON,
|
|
3534
|
+
SONEIUM,
|
|
3535
|
+
SONIC
|
|
3536
|
+
}
|
|
3537
|
+
declare enum OPStackChains {
|
|
3538
|
+
MAINNET_OPTIMISM,
|
|
3539
|
+
MAINNET_BASE,
|
|
3540
|
+
MAINNET_SONEIUM,
|
|
3541
|
+
TESTNET_OPTIMISM,
|
|
3542
|
+
TESTNET_BASE
|
|
3543
|
+
}
|
|
3544
|
+
type SettlementLayer = 'ACROSS' | 'ECO' | 'RELAY';
|
|
3545
|
+
interface TokenEntry {
|
|
3546
|
+
symbol: string;
|
|
3547
|
+
address: Address;
|
|
3548
|
+
decimals: number;
|
|
3549
|
+
balanceSlot: number | null;
|
|
3550
|
+
approvalSlot: number | null;
|
|
3551
|
+
}
|
|
3552
|
+
interface ChainEntry {
|
|
3553
|
+
name: string;
|
|
3554
|
+
tokens: TokenEntry[];
|
|
3555
|
+
settlementLayers: SettlementLayer[];
|
|
3556
|
+
}
|
|
3557
|
+
interface ChainRegistry {
|
|
3558
|
+
[chainId: string]: ChainEntry;
|
|
3559
|
+
}
|
|
3560
|
+
type ProviderName = 'DRPC' | 'Alchemy' | 'local-rpc';
|
|
3561
|
+
interface ChainItem {
|
|
3562
|
+
providers: ProviderName[];
|
|
3563
|
+
}
|
|
3564
|
+
type ChainList = Record<string, ChainItem>;
|
|
3565
|
+
type ProviderRegistry = Record<ProviderName, {
|
|
3566
|
+
url_template: string;
|
|
3567
|
+
chain_mapping: Partial<Record<SupportedChain, string>>;
|
|
3568
|
+
}>;
|
|
3389
3569
|
export { OPStackChains, MainnetNetwork, TestnetNetwork, mainnetChains, testnetChains, chains, };
|
|
3390
|
-
export type { SupportedTestnet, SupportedMainnet, SupportedOPStackMainnet, SupportedOPStackTestnet, SupportedChain, };
|
|
3391
|
-
//# sourceMappingURL=
|
|
3570
|
+
export type { ChainItem, ChainEntry, ChainRegistry, ChainList, ProviderRegistry, ProviderName, SettlementLayer, SupportedTestnet, SupportedMainnet, SupportedOPStackMainnet, SupportedOPStackTestnet, SupportedChain, };
|
|
3571
|
+
//# sourceMappingURL=types.d.ts.map
|