viem 0.0.1-alpha.19 → 0.0.1-alpha.20
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/{rpc-858670f1.d.ts → chain-32f56cfa.d.ts} +68 -18
- package/dist/chain-f12cdc7f.d.ts +5 -0
- package/dist/chains.d.ts +757 -170
- package/dist/chains.js +80 -86
- package/dist/chains.js.map +1 -1
- package/dist/chains.mjs +120 -126
- package/dist/chains.mjs.map +1 -1
- package/dist/{chunk-PHSAQQGZ.mjs → chunk-5Q6FSUU2.mjs} +75 -37
- package/dist/chunk-5Q6FSUU2.mjs.map +1 -0
- package/dist/{chunk-24EKKMUO.js → chunk-FHXXG7I6.js} +12 -12
- package/dist/chunk-FHXXG7I6.js.map +1 -0
- package/dist/{chunk-HRE6LYF3.js → chunk-IAQPMSGJ.js} +13 -13
- package/dist/chunk-IAQPMSGJ.js.map +1 -0
- package/dist/{chunk-IVWG22RQ.mjs → chunk-MYQNZSWD.mjs} +69 -12
- package/dist/chunk-MYQNZSWD.mjs.map +1 -0
- package/dist/{chunk-NYMS65YI.js → chunk-NHAKUPTF.js} +124 -67
- package/dist/chunk-NHAKUPTF.js.map +1 -0
- package/dist/{chunk-BZFF747V.js → chunk-SF4I2NKC.js} +81 -43
- package/dist/chunk-SF4I2NKC.js.map +1 -0
- package/dist/{chunk-VAT5CEF7.mjs → chunk-T7CBAKLI.mjs} +2 -2
- package/dist/chunk-T7CBAKLI.mjs.map +1 -0
- package/dist/{chunk-CTU4PQLY.js → chunk-YFKR74XG.js} +14 -14
- package/dist/{chunk-CTU4PQLY.js.map → chunk-YFKR74XG.js.map} +0 -0
- package/dist/{chunk-NSRORL3O.mjs → chunk-YODUQCHJ.mjs} +2 -2
- package/dist/{chunk-NSRORL3O.mjs.map → chunk-YODUQCHJ.mjs.map} +0 -0
- package/dist/{chunk-E7LH5H76.mjs → chunk-ZVGTYLKU.mjs} +2 -2
- package/dist/chunk-ZVGTYLKU.mjs.map +1 -0
- package/dist/clients/index.d.ts +7 -8
- package/dist/clients/index.js +3 -3
- package/dist/clients/index.mjs +2 -2
- package/dist/{transactionReceipt-aed524b4.d.ts → contract-9af4608b.d.ts} +30 -18
- package/dist/{createClient-03ba79e8.d.ts → createClient-5d316c7e.d.ts} +2 -2
- package/dist/{createPublicClient-818241ba.d.ts → createPublicClient-9d2b42e1.d.ts} +3 -3
- package/dist/{createTestClient-24eb7be8.d.ts → createTestClient-79498dab.d.ts} +3 -3
- package/dist/{createWalletClient-7cbd6ad1.d.ts → createWalletClient-f69a5230.d.ts} +3 -3
- package/dist/{eip1193-71d8e27d.d.ts → eip1193-6c485d63.d.ts} +1 -1
- package/dist/index.d.ts +45 -23
- package/dist/index.js +10 -6
- package/dist/index.mjs +9 -5
- package/dist/{parseGwei-dbd12305.d.ts → parseGwei-4308ad80.d.ts} +17 -4
- package/dist/public.d.ts +9 -10
- package/dist/public.js +4 -4
- package/dist/public.mjs +3 -3
- package/dist/{sendTransaction-d09961a7.d.ts → sendTransaction-1c8290a9.d.ts} +3 -4
- package/dist/{stopImpersonatingAccount-c8a00be7.d.ts → stopImpersonatingAccount-7781842a.d.ts} +2 -2
- package/dist/test.d.ts +5 -6
- package/dist/test.js +3 -3
- package/dist/test.mjs +2 -2
- package/dist/transactionRequest-341b6ed2.d.ts +15 -0
- package/dist/utils/index.d.ts +9 -8
- package/dist/utils/index.js +22 -2
- package/dist/utils/index.mjs +25 -5
- package/dist/wallet.d.ts +7 -8
- package/dist/wallet.js +3 -3
- package/dist/wallet.mjs +2 -2
- package/dist/{watchAsset-c39645b7.d.ts → watchAsset-afaad3c7.d.ts} +3 -4
- package/dist/{watchPendingTransactions-01e6be4f.d.ts → watchPendingTransactions-3b722547.d.ts} +21 -16
- package/dist/{webSocket-3a00015b.d.ts → webSocket-b180e679.d.ts} +2 -2
- package/dist/window.d.ts +3 -2
- package/package.json +3 -3
- package/src/_test/abis.ts +188 -0
- package/src/_test/constants.ts +0 -3
- package/src/_test/index.ts +5 -2
- package/src/actions/index.test.ts +2 -0
- package/src/actions/index.ts +6 -0
- package/src/actions/public/call.ts +2 -1
- package/src/actions/public/createContractEventFilter.test.ts +119 -0
- package/src/actions/public/createContractEventFilter.ts +69 -0
- package/src/actions/public/createEventFilter.ts +5 -8
- package/src/actions/public/deployContract.ts +1 -2
- package/src/actions/public/getBlock.test.ts +3 -3
- package/src/actions/public/getBlock.ts +1 -2
- package/src/actions/public/getBlockTransactionCount.ts +1 -2
- package/src/actions/public/getFilterChanges.test.ts +9 -7
- package/src/actions/public/getFilterLogs.test.ts +7 -5
- package/src/actions/public/getLogs.test.ts +7 -5
- package/src/actions/public/getLogs.ts +3 -2
- package/src/actions/public/getTransaction.ts +1 -2
- package/src/actions/public/getTransactionConfirmations.ts +1 -2
- package/src/actions/public/getTransactionReceipt.test.ts +24 -62
- package/src/actions/public/getTransactionReceipt.ts +1 -2
- package/src/actions/public/index.test.ts +4 -0
- package/src/actions/public/index.ts +18 -0
- package/src/actions/public/readContract.ts +1 -1
- package/src/actions/public/simulateContract.ts +1 -1
- package/src/actions/public/waitForTransactionReceipt.ts +1 -2
- package/src/actions/public/watchBlocks.test.ts +27 -2
- package/src/actions/public/watchBlocks.ts +33 -14
- package/src/actions/public/watchContractEvent.test.ts +301 -0
- package/src/actions/public/watchContractEvent.ts +108 -0
- package/src/actions/public/watchEvent.test.ts +190 -0
- package/src/actions/public/watchEvent.ts +95 -0
- package/src/actions/public/watchPendingTransactions.ts +1 -0
- package/src/actions/wallet/addChain.ts +1 -1
- package/src/actions/wallet/sendTransaction.ts +2 -1
- package/src/actions/wallet/switchChain.ts +1 -1
- package/src/actions/wallet/writeContract.ts +1 -1
- package/src/chains.test.ts +830 -52
- package/src/chains.ts +90 -158
- package/src/clients/createClient.ts +1 -1
- package/src/clients/createPublicClient.ts +1 -1
- package/src/clients/createTestClient.ts +1 -1
- package/src/clients/createWalletClient.ts +1 -1
- package/src/clients/transports/createTransport.ts +1 -1
- package/src/index.test.ts +2 -0
- package/src/index.ts +10 -2
- package/src/types/chain.ts +6 -0
- package/src/types/contract.ts +17 -2
- package/src/types/formatter.ts +23 -0
- package/src/types/index.ts +6 -0
- package/src/types/transaction.ts +1 -1
- package/src/utils/abi/decodeErrorResult.ts +2 -2
- package/src/utils/abi/decodeFunctionData.ts +2 -2
- package/src/utils/abi/encodeErrorResult.ts +2 -2
- package/src/utils/abi/encodeEventTopics.ts +4 -4
- package/src/utils/abi/encodeFunctionData.ts +2 -2
- package/src/utils/abi/{formatAbiItemWithParams.test.ts → formatAbiItem.test.ts} +11 -11
- package/src/utils/abi/{formatAbiItemWithParams.ts → formatAbiItem.ts} +1 -1
- package/src/utils/abi/index.test.ts +1 -1
- package/src/utils/abi/index.ts +1 -1
- package/src/utils/chain.test.ts +43 -0
- package/src/utils/chain.ts +8 -0
- package/src/utils/contract/getContractError.ts +2 -6
- package/src/utils/formatters/block.ts +4 -3
- package/src/utils/formatters/extract.ts +1 -1
- package/src/utils/formatters/format.ts +39 -2
- package/src/utils/formatters/index.test.ts +10 -0
- package/src/utils/formatters/index.ts +15 -5
- package/src/utils/formatters/transaction.ts +16 -4
- package/src/utils/formatters/transactionReceipt.ts +13 -4
- package/src/utils/formatters/transactionRequest.ts +12 -3
- package/src/utils/hash/getEventSignature.ts +2 -2
- package/src/utils/index.test.ts +24 -1
- package/src/utils/index.ts +12 -1
- package/src/{constants.test.ts → utils/unit/constants.test.ts} +0 -5
- package/src/{constants.ts → utils/unit/constants.ts} +0 -6
- package/src/utils/unit/formatEther.ts +1 -1
- package/src/utils/unit/formatGwei.ts +1 -1
- package/src/utils/unit/index.test.ts +12 -0
- package/src/utils/unit/index.ts +1 -0
- package/src/utils/unit/parseEther.ts +1 -1
- package/src/utils/unit/parseGwei.ts +1 -1
- package/dist/chunk-24EKKMUO.js.map +0 -1
- package/dist/chunk-BZFF747V.js.map +0 -1
- package/dist/chunk-E7LH5H76.mjs.map +0 -1
- package/dist/chunk-HRE6LYF3.js.map +0 -1
- package/dist/chunk-IVWG22RQ.mjs.map +0 -1
- package/dist/chunk-NYMS65YI.js.map +0 -1
- package/dist/chunk-PHSAQQGZ.mjs.map +0 -1
- package/dist/chunk-VAT5CEF7.mjs.map +0 -1
- package/dist/transactionRequest-8e970b0e.d.ts +0 -33
package/dist/chains.d.ts
CHANGED
@@ -1,51 +1,50 @@
|
|
1
|
-
import { R as RpcBlock,
|
2
|
-
|
1
|
+
import { R as RpcBlock, e as Block, x as Transaction, b as Hex, o as RpcTransaction, p as RpcTransactionReceipt, T as TransactionReceipt, S as TransactionType, s as TransactionRequest, q as RpcTransactionRequest } from './chain-32f56cfa.js';
|
2
|
+
export { J as Chain } from './chain-32f56cfa.js';
|
3
|
+
export { d as defineChain } from './chain-f12cdc7f.js';
|
4
|
+
import '@wagmi/chains';
|
3
5
|
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
};
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
}
|
25
|
-
|
26
|
-
|
27
|
-
}
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
}
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
}
|
44
|
-
|
45
|
-
|
46
|
-
}) => (data: Partial<RpcTransactionReceipt> & {
|
47
|
-
[key: string]: unknown;
|
48
|
-
}) => TransactionReceipt<bigint, number, "success" | "reverted", TransactionType> & ReturnType<TFormat> & { [K in TExclude[number]]: never; };
|
6
|
+
declare const arbitrum: {
|
7
|
+
readonly id: 42161;
|
8
|
+
readonly name: "Arbitrum One";
|
9
|
+
readonly network: "arbitrum";
|
10
|
+
readonly nativeCurrency: {
|
11
|
+
readonly name: "Ether";
|
12
|
+
readonly symbol: "ETH";
|
13
|
+
readonly decimals: 18;
|
14
|
+
};
|
15
|
+
readonly rpcUrls: {
|
16
|
+
readonly alchemy: {
|
17
|
+
readonly http: readonly ["https://arb-mainnet.g.alchemy.com/v2"];
|
18
|
+
readonly webSocket: readonly ["wss://arb-mainnet.g.alchemy.com/v2"];
|
19
|
+
};
|
20
|
+
readonly infura: {
|
21
|
+
readonly http: readonly ["https://arbitrum-mainnet.infura.io/v3"];
|
22
|
+
readonly webSocket: readonly ["wss://arbitrum-mainnet.infura.io/ws/v3"];
|
23
|
+
};
|
24
|
+
readonly default: {
|
25
|
+
readonly http: readonly ["https://arb1.arbitrum.io/rpc"];
|
26
|
+
};
|
27
|
+
readonly public: {
|
28
|
+
readonly http: readonly ["https://arb1.arbitrum.io/rpc"];
|
29
|
+
};
|
30
|
+
};
|
31
|
+
readonly blockExplorers: {
|
32
|
+
readonly etherscan: {
|
33
|
+
readonly name: "Arbiscan";
|
34
|
+
readonly url: "https://arbiscan.io";
|
35
|
+
};
|
36
|
+
readonly default: {
|
37
|
+
readonly name: "Arbiscan";
|
38
|
+
readonly url: "https://arbiscan.io";
|
39
|
+
};
|
40
|
+
};
|
41
|
+
readonly contracts: {
|
42
|
+
readonly multicall3: {
|
43
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
44
|
+
readonly blockCreated: 7654707;
|
45
|
+
};
|
46
|
+
};
|
47
|
+
};
|
49
48
|
declare const arbitrumGoerli: {
|
50
49
|
readonly id: 421613;
|
51
50
|
readonly name: "Arbitrum Goerli";
|
@@ -89,45 +88,100 @@ declare const arbitrumGoerli: {
|
|
89
88
|
};
|
90
89
|
readonly testnet: true;
|
91
90
|
};
|
92
|
-
declare const
|
93
|
-
readonly id:
|
94
|
-
readonly name: "
|
95
|
-
readonly network: "
|
91
|
+
declare const aurora: {
|
92
|
+
readonly id: 1313161554;
|
93
|
+
readonly name: "Aurora";
|
94
|
+
readonly network: "aurora";
|
96
95
|
readonly nativeCurrency: {
|
96
|
+
readonly decimals: 18;
|
97
97
|
readonly name: "Ether";
|
98
98
|
readonly symbol: "ETH";
|
99
|
-
readonly decimals: 18;
|
100
99
|
};
|
101
100
|
readonly rpcUrls: {
|
102
|
-
readonly
|
103
|
-
readonly http: readonly ["https://
|
104
|
-
|
101
|
+
readonly infura: {
|
102
|
+
readonly http: readonly ["https://aurora-mainnet.infura.io/v3"];
|
103
|
+
};
|
104
|
+
readonly default: {
|
105
|
+
readonly http: readonly ["https://mainnet.aurora.dev"];
|
106
|
+
};
|
107
|
+
readonly public: {
|
108
|
+
readonly http: readonly ["https://mainnet.aurora.dev"];
|
109
|
+
};
|
110
|
+
};
|
111
|
+
readonly blockExplorers: {
|
112
|
+
readonly etherscan: {
|
113
|
+
readonly name: "Aurorascan";
|
114
|
+
readonly url: "https://aurorascan.dev";
|
105
115
|
};
|
116
|
+
readonly default: {
|
117
|
+
readonly name: "Aurorascan";
|
118
|
+
readonly url: "https://aurorascan.dev";
|
119
|
+
};
|
120
|
+
};
|
121
|
+
};
|
122
|
+
declare const auroraGoerli: {
|
123
|
+
readonly id: 1313161555;
|
124
|
+
readonly name: "Aurora Testnet";
|
125
|
+
readonly network: "aurora-testnet";
|
126
|
+
readonly nativeCurrency: {
|
127
|
+
readonly decimals: 18;
|
128
|
+
readonly name: "Ether";
|
129
|
+
readonly symbol: "ETH";
|
130
|
+
};
|
131
|
+
readonly rpcUrls: {
|
106
132
|
readonly infura: {
|
107
|
-
readonly http: readonly ["https://
|
108
|
-
readonly webSocket: readonly ["wss://arbitrum-mainnet.infura.io/ws/v3"];
|
133
|
+
readonly http: readonly ["https://aurora-testnet.infura.io/v3"];
|
109
134
|
};
|
110
135
|
readonly default: {
|
111
|
-
readonly http: readonly ["https://
|
136
|
+
readonly http: readonly ["https://testnet.aurora.dev"];
|
112
137
|
};
|
113
138
|
readonly public: {
|
114
|
-
readonly http: readonly ["https://
|
139
|
+
readonly http: readonly ["https://testnet.aurora.dev"];
|
115
140
|
};
|
116
141
|
};
|
117
142
|
readonly blockExplorers: {
|
118
143
|
readonly etherscan: {
|
119
|
-
readonly name: "
|
120
|
-
readonly url: "https://
|
144
|
+
readonly name: "Aurorascan";
|
145
|
+
readonly url: "https://testnet.aurorascan.dev";
|
121
146
|
};
|
122
147
|
readonly default: {
|
123
|
-
readonly name: "
|
124
|
-
readonly url: "https://
|
148
|
+
readonly name: "Aurorascan";
|
149
|
+
readonly url: "https://testnet.aurorascan.dev";
|
150
|
+
};
|
151
|
+
};
|
152
|
+
readonly testnet: true;
|
153
|
+
};
|
154
|
+
declare const avalanche: {
|
155
|
+
readonly id: 43114;
|
156
|
+
readonly name: "Avalanche";
|
157
|
+
readonly network: "avalanche";
|
158
|
+
readonly nativeCurrency: {
|
159
|
+
readonly decimals: 18;
|
160
|
+
readonly name: "Avalanche";
|
161
|
+
readonly symbol: "AVAX";
|
162
|
+
};
|
163
|
+
readonly rpcUrls: {
|
164
|
+
readonly default: {
|
165
|
+
readonly http: readonly ["https://api.avax.network/ext/bc/C/rpc"];
|
166
|
+
};
|
167
|
+
readonly public: {
|
168
|
+
readonly http: readonly ["https://api.avax.network/ext/bc/C/rpc"];
|
169
|
+
};
|
170
|
+
};
|
171
|
+
readonly blockExplorers: {
|
172
|
+
readonly etherscan: {
|
173
|
+
readonly name: "SnowTrace";
|
174
|
+
readonly url: "https://snowtrace.io";
|
175
|
+
};
|
176
|
+
readonly default: {
|
177
|
+
readonly name: "SnowTrace";
|
178
|
+
readonly url: "https://snowtrace.io";
|
125
179
|
};
|
126
180
|
};
|
127
181
|
readonly contracts: {
|
128
182
|
readonly multicall3: {
|
129
183
|
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
130
|
-
readonly blockCreated:
|
184
|
+
readonly blockCreated: 11907934;
|
131
185
|
};
|
132
186
|
};
|
133
187
|
};
|
@@ -166,37 +220,86 @@ declare const avalancheFuji: {
|
|
166
220
|
};
|
167
221
|
readonly testnet: true;
|
168
222
|
};
|
169
|
-
declare const
|
170
|
-
readonly id:
|
171
|
-
readonly name: "
|
172
|
-
readonly network: "
|
223
|
+
declare const bronos: {
|
224
|
+
readonly id: 1039;
|
225
|
+
readonly name: "Bronos";
|
226
|
+
readonly network: "bronos";
|
173
227
|
readonly nativeCurrency: {
|
174
228
|
readonly decimals: 18;
|
175
|
-
readonly name: "
|
176
|
-
readonly symbol: "
|
229
|
+
readonly name: "BRO";
|
230
|
+
readonly symbol: "BRO";
|
177
231
|
};
|
178
232
|
readonly rpcUrls: {
|
179
233
|
readonly default: {
|
180
|
-
readonly http: readonly ["https://
|
234
|
+
readonly http: readonly ["https://evm.bronos.org"];
|
181
235
|
};
|
182
236
|
readonly public: {
|
183
|
-
readonly http: readonly ["https://
|
237
|
+
readonly http: readonly ["https://evm.bronos.org"];
|
238
|
+
};
|
239
|
+
};
|
240
|
+
readonly blockExplorers: {
|
241
|
+
readonly default: {
|
242
|
+
readonly name: "BronoScan";
|
243
|
+
readonly url: "https://broscan.bronos.org";
|
244
|
+
};
|
245
|
+
};
|
246
|
+
};
|
247
|
+
declare const bronosTestnet: {
|
248
|
+
readonly id: 1038;
|
249
|
+
readonly name: "Bronos Testnet";
|
250
|
+
readonly network: "bronos-testnet";
|
251
|
+
readonly nativeCurrency: {
|
252
|
+
readonly decimals: 18;
|
253
|
+
readonly name: "Bronos Coin";
|
254
|
+
readonly symbol: "tBRO";
|
255
|
+
};
|
256
|
+
readonly rpcUrls: {
|
257
|
+
readonly default: {
|
258
|
+
readonly http: readonly ["https://evm-testnet.bronos.org"];
|
259
|
+
};
|
260
|
+
readonly public: {
|
261
|
+
readonly http: readonly ["https://evm-testnet.bronos.org"];
|
262
|
+
};
|
263
|
+
};
|
264
|
+
readonly blockExplorers: {
|
265
|
+
readonly default: {
|
266
|
+
readonly name: "BronoScan";
|
267
|
+
readonly url: "https://tbroscan.bronos.org";
|
268
|
+
};
|
269
|
+
};
|
270
|
+
readonly testnet: true;
|
271
|
+
};
|
272
|
+
declare const bsc: {
|
273
|
+
readonly id: 56;
|
274
|
+
readonly name: "BNB Smart Chain";
|
275
|
+
readonly network: "bsc";
|
276
|
+
readonly nativeCurrency: {
|
277
|
+
readonly decimals: 18;
|
278
|
+
readonly name: "BNB";
|
279
|
+
readonly symbol: "BNB";
|
280
|
+
};
|
281
|
+
readonly rpcUrls: {
|
282
|
+
readonly default: {
|
283
|
+
readonly http: readonly ["https://rpc.ankr.com/bsc"];
|
284
|
+
};
|
285
|
+
readonly public: {
|
286
|
+
readonly http: readonly ["https://rpc.ankr.com/bsc"];
|
184
287
|
};
|
185
288
|
};
|
186
289
|
readonly blockExplorers: {
|
187
290
|
readonly etherscan: {
|
188
|
-
readonly name: "
|
189
|
-
readonly url: "https://
|
291
|
+
readonly name: "BscScan";
|
292
|
+
readonly url: "https://bscscan.com";
|
190
293
|
};
|
191
294
|
readonly default: {
|
192
|
-
readonly name: "
|
193
|
-
readonly url: "https://
|
295
|
+
readonly name: "BscScan";
|
296
|
+
readonly url: "https://bscscan.com";
|
194
297
|
};
|
195
298
|
};
|
196
299
|
readonly contracts: {
|
197
300
|
readonly multicall3: {
|
198
301
|
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
199
|
-
readonly blockCreated:
|
302
|
+
readonly blockCreated: 15921452;
|
200
303
|
};
|
201
304
|
};
|
202
305
|
};
|
@@ -235,57 +338,106 @@ declare const bscTestnet: {
|
|
235
338
|
};
|
236
339
|
readonly testnet: true;
|
237
340
|
};
|
238
|
-
declare const
|
239
|
-
readonly id:
|
240
|
-
readonly name: "
|
241
|
-
readonly network: "
|
341
|
+
declare const canto: {
|
342
|
+
readonly id: 7700;
|
343
|
+
readonly name: "Canto";
|
344
|
+
readonly network: "canto";
|
242
345
|
readonly nativeCurrency: {
|
243
346
|
readonly decimals: 18;
|
244
|
-
readonly name: "
|
245
|
-
readonly symbol: "
|
347
|
+
readonly name: "Canto";
|
348
|
+
readonly symbol: "CANTO";
|
246
349
|
};
|
247
350
|
readonly rpcUrls: {
|
248
351
|
readonly default: {
|
249
|
-
readonly http: readonly ["https://
|
352
|
+
readonly http: readonly ["https://canto.slingshot.finance"];
|
250
353
|
};
|
251
354
|
readonly public: {
|
252
|
-
readonly http: readonly ["https://
|
355
|
+
readonly http: readonly ["https://canto.slingshot.finance"];
|
253
356
|
};
|
254
357
|
};
|
255
358
|
readonly blockExplorers: {
|
256
|
-
readonly etherscan: {
|
257
|
-
readonly name: "BscScan";
|
258
|
-
readonly url: "https://bscscan.com";
|
259
|
-
};
|
260
359
|
readonly default: {
|
261
|
-
readonly name: "
|
262
|
-
readonly url: "https://
|
263
|
-
};
|
264
|
-
};
|
265
|
-
readonly contracts: {
|
266
|
-
readonly multicall3: {
|
267
|
-
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
268
|
-
readonly blockCreated: 15921452;
|
360
|
+
readonly name: "Canto EVM Explorer (Blockscout)";
|
361
|
+
readonly url: "https://evm.explorer.canto.io";
|
269
362
|
};
|
270
363
|
};
|
271
364
|
};
|
272
365
|
declare const celo: {
|
273
|
-
|
274
|
-
|
275
|
-
|
366
|
+
formatters: {
|
367
|
+
block: (data: Partial<RpcBlock> & {
|
368
|
+
[key: string]: unknown;
|
369
|
+
}) => Block<bigint, Transaction<bigint, number>> & {
|
370
|
+
randomness: {
|
371
|
+
committed: Hex;
|
372
|
+
revealed: Hex;
|
373
|
+
};
|
374
|
+
} & {
|
375
|
+
nonce: never;
|
376
|
+
difficulty: never;
|
377
|
+
gasLimit: never;
|
378
|
+
mixHash: never;
|
379
|
+
uncles: never;
|
380
|
+
};
|
381
|
+
transaction: (data: Partial<RpcTransaction> & {
|
382
|
+
[key: string]: unknown;
|
383
|
+
}) => Transaction<bigint, number> & {
|
384
|
+
feeCurrency: `0x${string}` | null;
|
385
|
+
gatewayFee: bigint | null;
|
386
|
+
gatewayFeeRecipient: `0x${string}` | null;
|
387
|
+
} & {};
|
388
|
+
transactionReceipt: (data: Partial<RpcTransactionReceipt> & {
|
389
|
+
[key: string]: unknown;
|
390
|
+
}) => TransactionReceipt<bigint, number, "success" | "reverted", TransactionType> & {
|
391
|
+
feeCurrency: `0x${string}` | null;
|
392
|
+
gatewayFee: bigint | null;
|
393
|
+
gatewayFeeRecipient: `0x${string}` | null;
|
394
|
+
} & {};
|
395
|
+
transactionRequest: (data: Partial<TransactionRequest<bigint, number>> & {
|
396
|
+
[key: string]: unknown;
|
397
|
+
}) => RpcTransactionRequest & {
|
398
|
+
feeCurrency: `0x${string}` | undefined;
|
399
|
+
gatewayFee: `0x${string}` | undefined;
|
400
|
+
gatewayFeeRecipient: `0x${string}` | undefined;
|
401
|
+
} & {};
|
402
|
+
};
|
403
|
+
id: 42220;
|
404
|
+
name: "Celo";
|
405
|
+
network: "celo";
|
276
406
|
nativeCurrency: {
|
277
|
-
|
278
|
-
|
279
|
-
|
407
|
+
readonly decimals: 18;
|
408
|
+
readonly name: "CELO";
|
409
|
+
readonly symbol: "CELO";
|
280
410
|
};
|
281
411
|
rpcUrls: {
|
282
|
-
|
283
|
-
http:
|
412
|
+
readonly default: {
|
413
|
+
readonly http: readonly ["https://forno.celo.org"];
|
414
|
+
};
|
415
|
+
readonly infura: {
|
416
|
+
readonly http: readonly ["https://celo-mainnet.infura.io/v3"];
|
417
|
+
};
|
418
|
+
readonly public: {
|
419
|
+
readonly http: readonly ["https://forno.celo.org"];
|
420
|
+
};
|
421
|
+
};
|
422
|
+
blockExplorers: {
|
423
|
+
readonly default: {
|
424
|
+
readonly name: "Celo Explorer";
|
425
|
+
readonly url: "https://explorer.celo.org/mainnet";
|
426
|
+
};
|
427
|
+
readonly etherscan: {
|
428
|
+
readonly name: "CeloScan";
|
429
|
+
readonly url: "https://celoscan.io";
|
284
430
|
};
|
285
|
-
|
286
|
-
|
431
|
+
};
|
432
|
+
contracts: {
|
433
|
+
readonly multicall3: {
|
434
|
+
readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
435
|
+
readonly blockCreated: 13112599;
|
287
436
|
};
|
288
437
|
};
|
438
|
+
testnet: false;
|
439
|
+
};
|
440
|
+
declare const celoAlfajores: {
|
289
441
|
formatters: {
|
290
442
|
block: (data: Partial<RpcBlock> & {
|
291
443
|
[key: string]: unknown;
|
@@ -308,6 +460,13 @@ declare const celo: {
|
|
308
460
|
gatewayFee: bigint | null;
|
309
461
|
gatewayFeeRecipient: `0x${string}` | null;
|
310
462
|
} & {};
|
463
|
+
transactionReceipt: (data: Partial<RpcTransactionReceipt> & {
|
464
|
+
[key: string]: unknown;
|
465
|
+
}) => TransactionReceipt<bigint, number, "success" | "reverted", TransactionType> & {
|
466
|
+
feeCurrency: `0x${string}` | null;
|
467
|
+
gatewayFee: bigint | null;
|
468
|
+
gatewayFeeRecipient: `0x${string}` | null;
|
469
|
+
} & {};
|
311
470
|
transactionRequest: (data: Partial<TransactionRequest<bigint, number>> & {
|
312
471
|
[key: string]: unknown;
|
313
472
|
}) => RpcTransactionRequest & {
|
@@ -316,6 +475,154 @@ declare const celo: {
|
|
316
475
|
gatewayFeeRecipient: `0x${string}` | undefined;
|
317
476
|
} & {};
|
318
477
|
};
|
478
|
+
id: 44787;
|
479
|
+
name: "Alfajores";
|
480
|
+
network: "celo-alfajores";
|
481
|
+
nativeCurrency: {
|
482
|
+
readonly decimals: 18;
|
483
|
+
readonly name: "CELO";
|
484
|
+
readonly symbol: "A-CELO";
|
485
|
+
};
|
486
|
+
rpcUrls: {
|
487
|
+
readonly default: {
|
488
|
+
readonly http: readonly ["https://alfajores-forno.celo-testnet.org"];
|
489
|
+
};
|
490
|
+
readonly infura: {
|
491
|
+
readonly http: readonly ["https://celo-alfajores.infura.io/v3"];
|
492
|
+
};
|
493
|
+
readonly public: {
|
494
|
+
readonly http: readonly ["https://alfajores-forno.celo-testnet.org"];
|
495
|
+
};
|
496
|
+
};
|
497
|
+
blockExplorers: {
|
498
|
+
readonly default: {
|
499
|
+
readonly name: "Celo Explorer";
|
500
|
+
readonly url: "https://explorer.celo.org/alfajores";
|
501
|
+
};
|
502
|
+
readonly etherscan: {
|
503
|
+
readonly name: "CeloScan";
|
504
|
+
readonly url: "https://alfajores.celoscan.io/";
|
505
|
+
};
|
506
|
+
};
|
507
|
+
contracts: {
|
508
|
+
readonly multicall3: {
|
509
|
+
readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
510
|
+
readonly blockCreated: 14569001;
|
511
|
+
};
|
512
|
+
};
|
513
|
+
testnet: true;
|
514
|
+
};
|
515
|
+
declare const crossbell: {
|
516
|
+
readonly id: 3737;
|
517
|
+
readonly network: "crossbell";
|
518
|
+
readonly name: "Crossbell";
|
519
|
+
readonly nativeCurrency: {
|
520
|
+
readonly decimals: 18;
|
521
|
+
readonly name: "CSB";
|
522
|
+
readonly symbol: "CSB";
|
523
|
+
};
|
524
|
+
readonly rpcUrls: {
|
525
|
+
readonly default: {
|
526
|
+
readonly http: readonly ["https://rpc.crossbell.io"];
|
527
|
+
};
|
528
|
+
readonly public: {
|
529
|
+
readonly http: readonly ["https://rpc.crossbell.io"];
|
530
|
+
};
|
531
|
+
};
|
532
|
+
readonly blockExplorers: {
|
533
|
+
readonly default: {
|
534
|
+
readonly name: "CrossScan";
|
535
|
+
readonly url: "https://scan.crossbell.io";
|
536
|
+
};
|
537
|
+
};
|
538
|
+
readonly contracts: {
|
539
|
+
readonly multicall3: {
|
540
|
+
readonly address: "0xBB9759009cDaC82774EfC84D94cD9F7440f75Fcf";
|
541
|
+
readonly blockCreated: 23499787;
|
542
|
+
};
|
543
|
+
};
|
544
|
+
};
|
545
|
+
declare const evmos: {
|
546
|
+
readonly id: 9001;
|
547
|
+
readonly name: "Evmos";
|
548
|
+
readonly network: "evmos";
|
549
|
+
readonly nativeCurrency: {
|
550
|
+
readonly decimals: 18;
|
551
|
+
readonly name: "Evmos";
|
552
|
+
readonly symbol: "EVMOS";
|
553
|
+
};
|
554
|
+
readonly rpcUrls: {
|
555
|
+
readonly default: {
|
556
|
+
readonly http: readonly ["https://eth.bd.evmos.org:8545"];
|
557
|
+
};
|
558
|
+
readonly public: {
|
559
|
+
readonly http: readonly ["https://eth.bd.evmos.org:8545"];
|
560
|
+
};
|
561
|
+
};
|
562
|
+
readonly blockExplorers: {
|
563
|
+
readonly default: {
|
564
|
+
readonly name: "Evmos Block Explorer";
|
565
|
+
readonly url: "https://escan.live/";
|
566
|
+
};
|
567
|
+
};
|
568
|
+
};
|
569
|
+
declare const evmosTestnet: {
|
570
|
+
readonly id: 9000;
|
571
|
+
readonly name: "Evmos Testnet";
|
572
|
+
readonly network: "evmos-testnet";
|
573
|
+
readonly nativeCurrency: {
|
574
|
+
readonly decimals: 18;
|
575
|
+
readonly name: "Evmos";
|
576
|
+
readonly symbol: "EVMOS";
|
577
|
+
};
|
578
|
+
readonly rpcUrls: {
|
579
|
+
readonly default: {
|
580
|
+
readonly http: readonly ["https://eth.bd.evmos.dev:8545"];
|
581
|
+
};
|
582
|
+
readonly public: {
|
583
|
+
readonly http: readonly ["https://eth.bd.evmos.dev:8545"];
|
584
|
+
};
|
585
|
+
};
|
586
|
+
readonly blockExplorers: {
|
587
|
+
readonly default: {
|
588
|
+
readonly name: "Evmos Testnet Block Explorer";
|
589
|
+
readonly url: "https://evm.evmos.dev/";
|
590
|
+
};
|
591
|
+
};
|
592
|
+
};
|
593
|
+
declare const fantom: {
|
594
|
+
readonly id: 250;
|
595
|
+
readonly name: "Fantom";
|
596
|
+
readonly network: "fantom";
|
597
|
+
readonly nativeCurrency: {
|
598
|
+
readonly decimals: 18;
|
599
|
+
readonly name: "Fantom";
|
600
|
+
readonly symbol: "FTM";
|
601
|
+
};
|
602
|
+
readonly rpcUrls: {
|
603
|
+
readonly default: {
|
604
|
+
readonly http: readonly ["https://rpc.ankr.com/fantom"];
|
605
|
+
};
|
606
|
+
readonly public: {
|
607
|
+
readonly http: readonly ["https://rpc.ankr.com/fantom"];
|
608
|
+
};
|
609
|
+
};
|
610
|
+
readonly blockExplorers: {
|
611
|
+
readonly etherscan: {
|
612
|
+
readonly name: "FTMScan";
|
613
|
+
readonly url: "https://ftmscan.com";
|
614
|
+
};
|
615
|
+
readonly default: {
|
616
|
+
readonly name: "FTMScan";
|
617
|
+
readonly url: "https://ftmscan.com";
|
618
|
+
};
|
619
|
+
};
|
620
|
+
readonly contracts: {
|
621
|
+
readonly multicall3: {
|
622
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
623
|
+
readonly blockCreated: 33001987;
|
624
|
+
};
|
625
|
+
};
|
319
626
|
};
|
320
627
|
declare const fantomTestnet: {
|
321
628
|
readonly id: 4002;
|
@@ -351,37 +658,63 @@ declare const fantomTestnet: {
|
|
351
658
|
};
|
352
659
|
};
|
353
660
|
};
|
354
|
-
declare const
|
355
|
-
readonly id:
|
356
|
-
readonly name: "
|
357
|
-
readonly network: "
|
661
|
+
declare const filecoin: {
|
662
|
+
readonly id: 314;
|
663
|
+
readonly name: "Filecoin Mainnet";
|
664
|
+
readonly network: "filecoin-mainnet";
|
665
|
+
readonly nativeCurrency: {
|
666
|
+
readonly decimals: 18;
|
667
|
+
readonly name: "filecoin";
|
668
|
+
readonly symbol: "FIL";
|
669
|
+
};
|
670
|
+
readonly rpcUrls: {
|
671
|
+
readonly default: {
|
672
|
+
readonly http: readonly ["https://api.node.glif.io"];
|
673
|
+
};
|
674
|
+
readonly public: {
|
675
|
+
readonly http: readonly ["https://api.node.glif.io"];
|
676
|
+
};
|
677
|
+
};
|
678
|
+
readonly blockExplorers: {
|
679
|
+
readonly default: {
|
680
|
+
readonly name: "Filfox";
|
681
|
+
readonly url: "https://filfox.info/en";
|
682
|
+
};
|
683
|
+
readonly filscan: {
|
684
|
+
readonly name: "Filscan";
|
685
|
+
readonly url: "https://filscan.io";
|
686
|
+
};
|
687
|
+
readonly filscout: {
|
688
|
+
readonly name: "Filscout";
|
689
|
+
readonly url: "https://filscout.io/en";
|
690
|
+
};
|
691
|
+
};
|
692
|
+
};
|
693
|
+
declare const filecoinTestnet: {
|
694
|
+
readonly id: 3141;
|
695
|
+
readonly name: "Filecoin Hyperspace";
|
696
|
+
readonly network: "filecoin-hyperspace";
|
358
697
|
readonly nativeCurrency: {
|
359
698
|
readonly decimals: 18;
|
360
|
-
readonly name: "
|
361
|
-
readonly symbol: "
|
699
|
+
readonly name: "testnet filecoin";
|
700
|
+
readonly symbol: "tFIL";
|
362
701
|
};
|
363
702
|
readonly rpcUrls: {
|
364
703
|
readonly default: {
|
365
|
-
readonly http: readonly ["https://
|
704
|
+
readonly http: readonly ["https://api.hyperspace.node.glif.io/rpc/v1"];
|
366
705
|
};
|
367
706
|
readonly public: {
|
368
|
-
readonly http: readonly ["https://
|
707
|
+
readonly http: readonly ["https://api.hyperspace.node.glif.io/rpc/v1"];
|
369
708
|
};
|
370
709
|
};
|
371
710
|
readonly blockExplorers: {
|
372
|
-
readonly etherscan: {
|
373
|
-
readonly name: "FTMScan";
|
374
|
-
readonly url: "https://ftmscan.com";
|
375
|
-
};
|
376
711
|
readonly default: {
|
377
|
-
readonly name: "
|
378
|
-
readonly url: "https://
|
712
|
+
readonly name: "Filfox";
|
713
|
+
readonly url: "https://hyperspace.filfox.info/en";
|
379
714
|
};
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
384
|
-
readonly blockCreated: 33001987;
|
715
|
+
readonly gilf: {
|
716
|
+
readonly name: "Glif";
|
717
|
+
readonly url: "https://explorer.glif.io/?network=hyperspace";
|
385
718
|
};
|
386
719
|
};
|
387
720
|
};
|
@@ -449,6 +782,58 @@ declare const goerli: {
|
|
449
782
|
};
|
450
783
|
readonly testnet: true;
|
451
784
|
};
|
785
|
+
declare const gnosis: {
|
786
|
+
readonly id: 100;
|
787
|
+
readonly name: "Gnosis";
|
788
|
+
readonly network: "gnosis";
|
789
|
+
readonly nativeCurrency: {
|
790
|
+
readonly decimals: 18;
|
791
|
+
readonly name: "Gnosis";
|
792
|
+
readonly symbol: "xDAI";
|
793
|
+
};
|
794
|
+
readonly rpcUrls: {
|
795
|
+
readonly default: {
|
796
|
+
readonly http: readonly ["https://rpc.gnosischain.com"];
|
797
|
+
};
|
798
|
+
readonly public: {
|
799
|
+
readonly http: readonly ["https://rpc.gnosischain.com"];
|
800
|
+
};
|
801
|
+
};
|
802
|
+
readonly blockExplorers: {
|
803
|
+
readonly etherscan: {
|
804
|
+
readonly name: "Gnosisscan";
|
805
|
+
readonly url: "https://gnosisscan.io/";
|
806
|
+
};
|
807
|
+
readonly default: {
|
808
|
+
readonly name: "Gnosis Chain Explorer";
|
809
|
+
readonly url: "https://blockscout.com/xdai/mainnet/";
|
810
|
+
};
|
811
|
+
};
|
812
|
+
};
|
813
|
+
declare const gnosisChiado: {
|
814
|
+
readonly id: 10200;
|
815
|
+
readonly name: "Gnosis Chiado";
|
816
|
+
readonly network: "chiado";
|
817
|
+
readonly nativeCurrency: {
|
818
|
+
readonly decimals: 18;
|
819
|
+
readonly name: "Gnosis";
|
820
|
+
readonly symbol: "xDAI";
|
821
|
+
};
|
822
|
+
readonly rpcUrls: {
|
823
|
+
readonly default: {
|
824
|
+
readonly http: readonly ["https://rpc.chiadochain.net"];
|
825
|
+
};
|
826
|
+
readonly public: {
|
827
|
+
readonly http: readonly ["https://rpc.chiadochain.net"];
|
828
|
+
};
|
829
|
+
};
|
830
|
+
readonly blockExplorers: {
|
831
|
+
readonly default: {
|
832
|
+
readonly name: "Blockscout";
|
833
|
+
readonly url: "https://blockscout.chiadochain.net";
|
834
|
+
};
|
835
|
+
};
|
836
|
+
};
|
452
837
|
declare const hardhat: {
|
453
838
|
readonly id: 31337;
|
454
839
|
readonly name: "Hardhat";
|
@@ -467,6 +852,58 @@ declare const hardhat: {
|
|
467
852
|
};
|
468
853
|
};
|
469
854
|
};
|
855
|
+
declare const iotex: {
|
856
|
+
readonly id: 4689;
|
857
|
+
readonly name: "IoTeX";
|
858
|
+
readonly network: "iotex";
|
859
|
+
readonly nativeCurrency: {
|
860
|
+
readonly decimals: 18;
|
861
|
+
readonly name: "IoTeX";
|
862
|
+
readonly symbol: "IOTX";
|
863
|
+
};
|
864
|
+
readonly rpcUrls: {
|
865
|
+
readonly default: {
|
866
|
+
readonly http: readonly ["https://babel-api.mainnet.iotex.io"];
|
867
|
+
readonly webSocket: readonly ["wss://babel-api.mainnet.iotex.io"];
|
868
|
+
};
|
869
|
+
readonly public: {
|
870
|
+
readonly http: readonly ["https://babel-api.mainnet.iotex.io"];
|
871
|
+
readonly webSocket: readonly ["wss://babel-api.mainnet.iotex.io"];
|
872
|
+
};
|
873
|
+
};
|
874
|
+
readonly blockExplorers: {
|
875
|
+
readonly default: {
|
876
|
+
readonly name: "IoTeXScan";
|
877
|
+
readonly url: "https://iotexscan.io";
|
878
|
+
};
|
879
|
+
};
|
880
|
+
};
|
881
|
+
declare const iotexTestnet: {
|
882
|
+
readonly id: 4690;
|
883
|
+
readonly name: "IoTeX Testnet";
|
884
|
+
readonly network: "iotex-testnet";
|
885
|
+
readonly nativeCurrency: {
|
886
|
+
readonly decimals: 18;
|
887
|
+
readonly name: "IoTeX";
|
888
|
+
readonly symbol: "IOTX";
|
889
|
+
};
|
890
|
+
readonly rpcUrls: {
|
891
|
+
readonly default: {
|
892
|
+
readonly http: readonly ["https://babel-api.testnet.iotex.io"];
|
893
|
+
readonly webSocket: readonly ["wss://babel-api.testnet.iotex.io"];
|
894
|
+
};
|
895
|
+
readonly public: {
|
896
|
+
readonly http: readonly ["https://babel-api.testnet.iotex.io"];
|
897
|
+
readonly webSocket: readonly ["wss://babel-api.testnet.iotex.io"];
|
898
|
+
};
|
899
|
+
};
|
900
|
+
readonly blockExplorers: {
|
901
|
+
readonly default: {
|
902
|
+
readonly name: "IoTeXScan";
|
903
|
+
readonly url: "https://testnet.iotexscan.io";
|
904
|
+
};
|
905
|
+
};
|
906
|
+
};
|
470
907
|
declare const localhost: {
|
471
908
|
readonly id: 1337;
|
472
909
|
readonly name: "Localhost";
|
@@ -530,48 +967,53 @@ declare const mainnet: {
|
|
530
967
|
};
|
531
968
|
};
|
532
969
|
};
|
533
|
-
declare const
|
534
|
-
readonly id:
|
535
|
-
readonly name: "
|
536
|
-
readonly network: "
|
970
|
+
declare const metis: {
|
971
|
+
readonly id: 1088;
|
972
|
+
readonly name: "Metis";
|
973
|
+
readonly network: "andromeda";
|
537
974
|
readonly nativeCurrency: {
|
538
|
-
readonly name: "Goerli Ether";
|
539
|
-
readonly symbol: "ETH";
|
540
975
|
readonly decimals: 18;
|
976
|
+
readonly name: "Metis";
|
977
|
+
readonly symbol: "METIS";
|
541
978
|
};
|
542
979
|
readonly rpcUrls: {
|
543
|
-
readonly alchemy: {
|
544
|
-
readonly http: readonly ["https://opt-goerli.g.alchemy.com/v2"];
|
545
|
-
readonly webSocket: readonly ["wss://opt-goerli.g.alchemy.com/v2"];
|
546
|
-
};
|
547
|
-
readonly infura: {
|
548
|
-
readonly http: readonly ["https://optimism-goerli.infura.io/v3"];
|
549
|
-
readonly webSocket: readonly ["wss://optimism-goerli.infura.io/ws/v3"];
|
550
|
-
};
|
551
980
|
readonly default: {
|
552
|
-
readonly http: readonly ["https://
|
981
|
+
readonly http: readonly ["https://andromeda.metis.io/?owner=1088"];
|
553
982
|
};
|
554
983
|
readonly public: {
|
555
|
-
readonly http: readonly ["https://
|
984
|
+
readonly http: readonly ["https://andromeda.metis.io/?owner=1088"];
|
556
985
|
};
|
557
986
|
};
|
558
987
|
readonly blockExplorers: {
|
559
|
-
readonly
|
560
|
-
readonly name: "
|
561
|
-
readonly url: "https://
|
988
|
+
readonly default: {
|
989
|
+
readonly name: "Andromeda Explorer";
|
990
|
+
readonly url: "https://andromeda-explorer.metis.io";
|
562
991
|
};
|
992
|
+
};
|
993
|
+
};
|
994
|
+
declare const metisGoerli: {
|
995
|
+
readonly id: 599;
|
996
|
+
readonly name: "Metis Goerli";
|
997
|
+
readonly network: "metis-goerli";
|
998
|
+
readonly nativeCurrency: {
|
999
|
+
readonly decimals: 18;
|
1000
|
+
readonly name: "Metis Goerli";
|
1001
|
+
readonly symbol: "METIS";
|
1002
|
+
};
|
1003
|
+
readonly rpcUrls: {
|
563
1004
|
readonly default: {
|
564
|
-
readonly
|
565
|
-
|
1005
|
+
readonly http: readonly ["https://goerli.gateway.metisdevops.link"];
|
1006
|
+
};
|
1007
|
+
readonly public: {
|
1008
|
+
readonly http: readonly ["https://goerli.gateway.metisdevops.link"];
|
566
1009
|
};
|
567
1010
|
};
|
568
|
-
readonly
|
569
|
-
readonly
|
570
|
-
readonly
|
571
|
-
readonly
|
1011
|
+
readonly blockExplorers: {
|
1012
|
+
readonly default: {
|
1013
|
+
readonly name: "Metis Goerli Explorer";
|
1014
|
+
readonly url: "https://goerli.explorer.metisdevops.link";
|
572
1015
|
};
|
573
1016
|
};
|
574
|
-
readonly testnet: true;
|
575
1017
|
};
|
576
1018
|
declare const optimism: {
|
577
1019
|
readonly id: 10;
|
@@ -615,45 +1057,45 @@ declare const optimism: {
|
|
615
1057
|
};
|
616
1058
|
};
|
617
1059
|
};
|
618
|
-
declare const
|
619
|
-
readonly id:
|
620
|
-
readonly name: "
|
621
|
-
readonly network: "
|
1060
|
+
declare const optimismGoerli: {
|
1061
|
+
readonly id: 420;
|
1062
|
+
readonly name: "Optimism Goerli";
|
1063
|
+
readonly network: "optimism-goerli";
|
622
1064
|
readonly nativeCurrency: {
|
623
|
-
readonly name: "
|
624
|
-
readonly symbol: "
|
1065
|
+
readonly name: "Goerli Ether";
|
1066
|
+
readonly symbol: "ETH";
|
625
1067
|
readonly decimals: 18;
|
626
1068
|
};
|
627
1069
|
readonly rpcUrls: {
|
628
1070
|
readonly alchemy: {
|
629
|
-
readonly http: readonly ["https://
|
630
|
-
readonly webSocket: readonly ["wss://
|
1071
|
+
readonly http: readonly ["https://opt-goerli.g.alchemy.com/v2"];
|
1072
|
+
readonly webSocket: readonly ["wss://opt-goerli.g.alchemy.com/v2"];
|
631
1073
|
};
|
632
1074
|
readonly infura: {
|
633
|
-
readonly http: readonly ["https://
|
634
|
-
readonly webSocket: readonly ["wss://
|
1075
|
+
readonly http: readonly ["https://optimism-goerli.infura.io/v3"];
|
1076
|
+
readonly webSocket: readonly ["wss://optimism-goerli.infura.io/ws/v3"];
|
635
1077
|
};
|
636
1078
|
readonly default: {
|
637
|
-
readonly http: readonly ["https://
|
1079
|
+
readonly http: readonly ["https://goerli.optimism.io"];
|
638
1080
|
};
|
639
1081
|
readonly public: {
|
640
|
-
readonly http: readonly ["https://
|
1082
|
+
readonly http: readonly ["https://goerli.optimism.io"];
|
641
1083
|
};
|
642
1084
|
};
|
643
1085
|
readonly blockExplorers: {
|
644
1086
|
readonly etherscan: {
|
645
|
-
readonly name: "
|
646
|
-
readonly url: "https://
|
1087
|
+
readonly name: "Etherscan";
|
1088
|
+
readonly url: "https://goerli-optimism.etherscan.io";
|
647
1089
|
};
|
648
1090
|
readonly default: {
|
649
|
-
readonly name: "
|
650
|
-
readonly url: "https://
|
1091
|
+
readonly name: "Etherscan";
|
1092
|
+
readonly url: "https://goerli-optimism.etherscan.io";
|
651
1093
|
};
|
652
1094
|
};
|
653
1095
|
readonly contracts: {
|
654
1096
|
readonly multicall3: {
|
655
1097
|
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
656
|
-
readonly blockCreated:
|
1098
|
+
readonly blockCreated: 49461;
|
657
1099
|
};
|
658
1100
|
};
|
659
1101
|
readonly testnet: true;
|
@@ -700,6 +1142,49 @@ declare const polygon: {
|
|
700
1142
|
};
|
701
1143
|
};
|
702
1144
|
};
|
1145
|
+
declare const polygonMumbai: {
|
1146
|
+
readonly id: 80001;
|
1147
|
+
readonly name: "Polygon Mumbai";
|
1148
|
+
readonly network: "maticmum";
|
1149
|
+
readonly nativeCurrency: {
|
1150
|
+
readonly name: "MATIC";
|
1151
|
+
readonly symbol: "MATIC";
|
1152
|
+
readonly decimals: 18;
|
1153
|
+
};
|
1154
|
+
readonly rpcUrls: {
|
1155
|
+
readonly alchemy: {
|
1156
|
+
readonly http: readonly ["https://polygon-mumbai.g.alchemy.com/v2"];
|
1157
|
+
readonly webSocket: readonly ["wss://polygon-mumbai.g.alchemy.com/v2"];
|
1158
|
+
};
|
1159
|
+
readonly infura: {
|
1160
|
+
readonly http: readonly ["https://polygon-mumbai.infura.io/v3"];
|
1161
|
+
readonly webSocket: readonly ["wss://polygon-mumbai.infura.io/ws/v3"];
|
1162
|
+
};
|
1163
|
+
readonly default: {
|
1164
|
+
readonly http: readonly ["https://matic-mumbai.chainstacklabs.com"];
|
1165
|
+
};
|
1166
|
+
readonly public: {
|
1167
|
+
readonly http: readonly ["https://matic-mumbai.chainstacklabs.com"];
|
1168
|
+
};
|
1169
|
+
};
|
1170
|
+
readonly blockExplorers: {
|
1171
|
+
readonly etherscan: {
|
1172
|
+
readonly name: "PolygonScan";
|
1173
|
+
readonly url: "https://mumbai.polygonscan.com";
|
1174
|
+
};
|
1175
|
+
readonly default: {
|
1176
|
+
readonly name: "PolygonScan";
|
1177
|
+
readonly url: "https://mumbai.polygonscan.com";
|
1178
|
+
};
|
1179
|
+
};
|
1180
|
+
readonly contracts: {
|
1181
|
+
readonly multicall3: {
|
1182
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
1183
|
+
readonly blockCreated: 25770160;
|
1184
|
+
};
|
1185
|
+
};
|
1186
|
+
readonly testnet: true;
|
1187
|
+
};
|
703
1188
|
declare const sepolia: {
|
704
1189
|
readonly id: 11155111;
|
705
1190
|
readonly network: "sepolia";
|
@@ -739,5 +1224,107 @@ declare const sepolia: {
|
|
739
1224
|
};
|
740
1225
|
readonly testnet: true;
|
741
1226
|
};
|
1227
|
+
declare const taraxa: {
|
1228
|
+
readonly id: 841;
|
1229
|
+
readonly name: "Taraxa Mainnet";
|
1230
|
+
readonly network: "taraxa";
|
1231
|
+
readonly nativeCurrency: {
|
1232
|
+
readonly name: "Tara";
|
1233
|
+
readonly symbol: "TARA";
|
1234
|
+
readonly decimals: 18;
|
1235
|
+
};
|
1236
|
+
readonly rpcUrls: {
|
1237
|
+
readonly default: {
|
1238
|
+
readonly http: readonly ["https://rpc.mainnet.taraxa.io"];
|
1239
|
+
};
|
1240
|
+
readonly public: {
|
1241
|
+
readonly http: readonly ["https://rpc.mainnet.taraxa.io"];
|
1242
|
+
};
|
1243
|
+
};
|
1244
|
+
readonly blockExplorers: {
|
1245
|
+
readonly default: {
|
1246
|
+
readonly name: "Taraxa Explorer";
|
1247
|
+
readonly url: "https://explorer.mainnet.taraxa.io";
|
1248
|
+
};
|
1249
|
+
};
|
1250
|
+
};
|
1251
|
+
declare const taraxaTestnet: {
|
1252
|
+
readonly id: 842;
|
1253
|
+
readonly name: "Taraxa Testnet";
|
1254
|
+
readonly network: "taraxa-testnet";
|
1255
|
+
readonly nativeCurrency: {
|
1256
|
+
readonly name: "Tara";
|
1257
|
+
readonly symbol: "TARA";
|
1258
|
+
readonly decimals: 18;
|
1259
|
+
};
|
1260
|
+
readonly rpcUrls: {
|
1261
|
+
readonly default: {
|
1262
|
+
readonly http: readonly ["https://rpc.testnet.taraxa.io"];
|
1263
|
+
};
|
1264
|
+
readonly public: {
|
1265
|
+
readonly http: readonly ["https://rpc.testnet.taraxa.io"];
|
1266
|
+
};
|
1267
|
+
};
|
1268
|
+
readonly blockExplorers: {
|
1269
|
+
readonly default: {
|
1270
|
+
readonly name: "Taraxa Explorer";
|
1271
|
+
readonly url: "https://explorer.testnet.taraxa.io";
|
1272
|
+
};
|
1273
|
+
};
|
1274
|
+
readonly testnet: true;
|
1275
|
+
};
|
1276
|
+
declare const zkSync: {
|
1277
|
+
readonly id: 324;
|
1278
|
+
readonly name: "zkSync";
|
1279
|
+
readonly network: "zksync";
|
1280
|
+
readonly nativeCurrency: {
|
1281
|
+
readonly decimals: 18;
|
1282
|
+
readonly name: "Ether";
|
1283
|
+
readonly symbol: "ETH";
|
1284
|
+
};
|
1285
|
+
readonly rpcUrls: {
|
1286
|
+
readonly default: {
|
1287
|
+
readonly http: readonly ["https://zksync2-mainnet.zksync.io"];
|
1288
|
+
readonly webSocket: readonly ["wss://zksync2-mainnet.zksync.io/ws"];
|
1289
|
+
};
|
1290
|
+
readonly public: {
|
1291
|
+
readonly http: readonly ["https://zksync2-mainnet.zksync.io"];
|
1292
|
+
readonly webSocket: readonly ["wss://zksync2-mainnet.zksync.io/ws"];
|
1293
|
+
};
|
1294
|
+
};
|
1295
|
+
readonly blockExplorers: {
|
1296
|
+
readonly default: {
|
1297
|
+
readonly name: "zkExplorer";
|
1298
|
+
readonly url: "https://explorer.zksync.io";
|
1299
|
+
};
|
1300
|
+
};
|
1301
|
+
};
|
1302
|
+
declare const zkSyncTestnet: {
|
1303
|
+
readonly id: 280;
|
1304
|
+
readonly name: "zkSync Testnet";
|
1305
|
+
readonly network: "zksync-testnet";
|
1306
|
+
readonly nativeCurrency: {
|
1307
|
+
readonly name: "Ether";
|
1308
|
+
readonly symbol: "ETH";
|
1309
|
+
readonly decimals: 18;
|
1310
|
+
};
|
1311
|
+
readonly rpcUrls: {
|
1312
|
+
readonly default: {
|
1313
|
+
readonly http: readonly ["https://zksync2-testnet.zksync.dev"];
|
1314
|
+
readonly webSocket: readonly ["wss://zksync2-testnet.zksync.dev/ws"];
|
1315
|
+
};
|
1316
|
+
readonly public: {
|
1317
|
+
readonly http: readonly ["https://zksync2-testnet.zksync.dev"];
|
1318
|
+
readonly webSocket: readonly ["wss://zksync2-testnet.zksync.dev/ws"];
|
1319
|
+
};
|
1320
|
+
};
|
1321
|
+
readonly blockExplorers: {
|
1322
|
+
readonly default: {
|
1323
|
+
readonly name: "zkExplorer";
|
1324
|
+
readonly url: "https://goerli.explorer.zksync.io";
|
1325
|
+
};
|
1326
|
+
};
|
1327
|
+
readonly testnet: true;
|
1328
|
+
};
|
742
1329
|
|
743
|
-
export {
|
1330
|
+
export { arbitrum, arbitrumGoerli, aurora, auroraGoerli, avalanche, avalancheFuji, bronos, bronosTestnet, bsc, bscTestnet, canto, celo, celoAlfajores, crossbell, evmos, evmosTestnet, fantom, fantomTestnet, filecoin, filecoinTestnet, foundry, gnosis, gnosisChiado, goerli, hardhat, iotex, iotexTestnet, localhost, mainnet, metis, metisGoerli, optimism, optimismGoerli, polygon, polygonMumbai, sepolia, taraxa, taraxaTestnet, zkSync, zkSyncTestnet };
|