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.
Files changed (151) hide show
  1. package/dist/{rpc-858670f1.d.ts → chain-32f56cfa.d.ts} +68 -18
  2. package/dist/chain-f12cdc7f.d.ts +5 -0
  3. package/dist/chains.d.ts +757 -170
  4. package/dist/chains.js +80 -86
  5. package/dist/chains.js.map +1 -1
  6. package/dist/chains.mjs +120 -126
  7. package/dist/chains.mjs.map +1 -1
  8. package/dist/{chunk-PHSAQQGZ.mjs → chunk-5Q6FSUU2.mjs} +75 -37
  9. package/dist/chunk-5Q6FSUU2.mjs.map +1 -0
  10. package/dist/{chunk-24EKKMUO.js → chunk-FHXXG7I6.js} +12 -12
  11. package/dist/chunk-FHXXG7I6.js.map +1 -0
  12. package/dist/{chunk-HRE6LYF3.js → chunk-IAQPMSGJ.js} +13 -13
  13. package/dist/chunk-IAQPMSGJ.js.map +1 -0
  14. package/dist/{chunk-IVWG22RQ.mjs → chunk-MYQNZSWD.mjs} +69 -12
  15. package/dist/chunk-MYQNZSWD.mjs.map +1 -0
  16. package/dist/{chunk-NYMS65YI.js → chunk-NHAKUPTF.js} +124 -67
  17. package/dist/chunk-NHAKUPTF.js.map +1 -0
  18. package/dist/{chunk-BZFF747V.js → chunk-SF4I2NKC.js} +81 -43
  19. package/dist/chunk-SF4I2NKC.js.map +1 -0
  20. package/dist/{chunk-VAT5CEF7.mjs → chunk-T7CBAKLI.mjs} +2 -2
  21. package/dist/chunk-T7CBAKLI.mjs.map +1 -0
  22. package/dist/{chunk-CTU4PQLY.js → chunk-YFKR74XG.js} +14 -14
  23. package/dist/{chunk-CTU4PQLY.js.map → chunk-YFKR74XG.js.map} +0 -0
  24. package/dist/{chunk-NSRORL3O.mjs → chunk-YODUQCHJ.mjs} +2 -2
  25. package/dist/{chunk-NSRORL3O.mjs.map → chunk-YODUQCHJ.mjs.map} +0 -0
  26. package/dist/{chunk-E7LH5H76.mjs → chunk-ZVGTYLKU.mjs} +2 -2
  27. package/dist/chunk-ZVGTYLKU.mjs.map +1 -0
  28. package/dist/clients/index.d.ts +7 -8
  29. package/dist/clients/index.js +3 -3
  30. package/dist/clients/index.mjs +2 -2
  31. package/dist/{transactionReceipt-aed524b4.d.ts → contract-9af4608b.d.ts} +30 -18
  32. package/dist/{createClient-03ba79e8.d.ts → createClient-5d316c7e.d.ts} +2 -2
  33. package/dist/{createPublicClient-818241ba.d.ts → createPublicClient-9d2b42e1.d.ts} +3 -3
  34. package/dist/{createTestClient-24eb7be8.d.ts → createTestClient-79498dab.d.ts} +3 -3
  35. package/dist/{createWalletClient-7cbd6ad1.d.ts → createWalletClient-f69a5230.d.ts} +3 -3
  36. package/dist/{eip1193-71d8e27d.d.ts → eip1193-6c485d63.d.ts} +1 -1
  37. package/dist/index.d.ts +45 -23
  38. package/dist/index.js +10 -6
  39. package/dist/index.mjs +9 -5
  40. package/dist/{parseGwei-dbd12305.d.ts → parseGwei-4308ad80.d.ts} +17 -4
  41. package/dist/public.d.ts +9 -10
  42. package/dist/public.js +4 -4
  43. package/dist/public.mjs +3 -3
  44. package/dist/{sendTransaction-d09961a7.d.ts → sendTransaction-1c8290a9.d.ts} +3 -4
  45. package/dist/{stopImpersonatingAccount-c8a00be7.d.ts → stopImpersonatingAccount-7781842a.d.ts} +2 -2
  46. package/dist/test.d.ts +5 -6
  47. package/dist/test.js +3 -3
  48. package/dist/test.mjs +2 -2
  49. package/dist/transactionRequest-341b6ed2.d.ts +15 -0
  50. package/dist/utils/index.d.ts +9 -8
  51. package/dist/utils/index.js +22 -2
  52. package/dist/utils/index.mjs +25 -5
  53. package/dist/wallet.d.ts +7 -8
  54. package/dist/wallet.js +3 -3
  55. package/dist/wallet.mjs +2 -2
  56. package/dist/{watchAsset-c39645b7.d.ts → watchAsset-afaad3c7.d.ts} +3 -4
  57. package/dist/{watchPendingTransactions-01e6be4f.d.ts → watchPendingTransactions-3b722547.d.ts} +21 -16
  58. package/dist/{webSocket-3a00015b.d.ts → webSocket-b180e679.d.ts} +2 -2
  59. package/dist/window.d.ts +3 -2
  60. package/package.json +3 -3
  61. package/src/_test/abis.ts +188 -0
  62. package/src/_test/constants.ts +0 -3
  63. package/src/_test/index.ts +5 -2
  64. package/src/actions/index.test.ts +2 -0
  65. package/src/actions/index.ts +6 -0
  66. package/src/actions/public/call.ts +2 -1
  67. package/src/actions/public/createContractEventFilter.test.ts +119 -0
  68. package/src/actions/public/createContractEventFilter.ts +69 -0
  69. package/src/actions/public/createEventFilter.ts +5 -8
  70. package/src/actions/public/deployContract.ts +1 -2
  71. package/src/actions/public/getBlock.test.ts +3 -3
  72. package/src/actions/public/getBlock.ts +1 -2
  73. package/src/actions/public/getBlockTransactionCount.ts +1 -2
  74. package/src/actions/public/getFilterChanges.test.ts +9 -7
  75. package/src/actions/public/getFilterLogs.test.ts +7 -5
  76. package/src/actions/public/getLogs.test.ts +7 -5
  77. package/src/actions/public/getLogs.ts +3 -2
  78. package/src/actions/public/getTransaction.ts +1 -2
  79. package/src/actions/public/getTransactionConfirmations.ts +1 -2
  80. package/src/actions/public/getTransactionReceipt.test.ts +24 -62
  81. package/src/actions/public/getTransactionReceipt.ts +1 -2
  82. package/src/actions/public/index.test.ts +4 -0
  83. package/src/actions/public/index.ts +18 -0
  84. package/src/actions/public/readContract.ts +1 -1
  85. package/src/actions/public/simulateContract.ts +1 -1
  86. package/src/actions/public/waitForTransactionReceipt.ts +1 -2
  87. package/src/actions/public/watchBlocks.test.ts +27 -2
  88. package/src/actions/public/watchBlocks.ts +33 -14
  89. package/src/actions/public/watchContractEvent.test.ts +301 -0
  90. package/src/actions/public/watchContractEvent.ts +108 -0
  91. package/src/actions/public/watchEvent.test.ts +190 -0
  92. package/src/actions/public/watchEvent.ts +95 -0
  93. package/src/actions/public/watchPendingTransactions.ts +1 -0
  94. package/src/actions/wallet/addChain.ts +1 -1
  95. package/src/actions/wallet/sendTransaction.ts +2 -1
  96. package/src/actions/wallet/switchChain.ts +1 -1
  97. package/src/actions/wallet/writeContract.ts +1 -1
  98. package/src/chains.test.ts +830 -52
  99. package/src/chains.ts +90 -158
  100. package/src/clients/createClient.ts +1 -1
  101. package/src/clients/createPublicClient.ts +1 -1
  102. package/src/clients/createTestClient.ts +1 -1
  103. package/src/clients/createWalletClient.ts +1 -1
  104. package/src/clients/transports/createTransport.ts +1 -1
  105. package/src/index.test.ts +2 -0
  106. package/src/index.ts +10 -2
  107. package/src/types/chain.ts +6 -0
  108. package/src/types/contract.ts +17 -2
  109. package/src/types/formatter.ts +23 -0
  110. package/src/types/index.ts +6 -0
  111. package/src/types/transaction.ts +1 -1
  112. package/src/utils/abi/decodeErrorResult.ts +2 -2
  113. package/src/utils/abi/decodeFunctionData.ts +2 -2
  114. package/src/utils/abi/encodeErrorResult.ts +2 -2
  115. package/src/utils/abi/encodeEventTopics.ts +4 -4
  116. package/src/utils/abi/encodeFunctionData.ts +2 -2
  117. package/src/utils/abi/{formatAbiItemWithParams.test.ts → formatAbiItem.test.ts} +11 -11
  118. package/src/utils/abi/{formatAbiItemWithParams.ts → formatAbiItem.ts} +1 -1
  119. package/src/utils/abi/index.test.ts +1 -1
  120. package/src/utils/abi/index.ts +1 -1
  121. package/src/utils/chain.test.ts +43 -0
  122. package/src/utils/chain.ts +8 -0
  123. package/src/utils/contract/getContractError.ts +2 -6
  124. package/src/utils/formatters/block.ts +4 -3
  125. package/src/utils/formatters/extract.ts +1 -1
  126. package/src/utils/formatters/format.ts +39 -2
  127. package/src/utils/formatters/index.test.ts +10 -0
  128. package/src/utils/formatters/index.ts +15 -5
  129. package/src/utils/formatters/transaction.ts +16 -4
  130. package/src/utils/formatters/transactionReceipt.ts +13 -4
  131. package/src/utils/formatters/transactionRequest.ts +12 -3
  132. package/src/utils/hash/getEventSignature.ts +2 -2
  133. package/src/utils/index.test.ts +24 -1
  134. package/src/utils/index.ts +12 -1
  135. package/src/{constants.test.ts → utils/unit/constants.test.ts} +0 -5
  136. package/src/{constants.ts → utils/unit/constants.ts} +0 -6
  137. package/src/utils/unit/formatEther.ts +1 -1
  138. package/src/utils/unit/formatGwei.ts +1 -1
  139. package/src/utils/unit/index.test.ts +12 -0
  140. package/src/utils/unit/index.ts +1 -0
  141. package/src/utils/unit/parseEther.ts +1 -1
  142. package/src/utils/unit/parseGwei.ts +1 -1
  143. package/dist/chunk-24EKKMUO.js.map +0 -1
  144. package/dist/chunk-BZFF747V.js.map +0 -1
  145. package/dist/chunk-E7LH5H76.mjs.map +0 -1
  146. package/dist/chunk-HRE6LYF3.js.map +0 -1
  147. package/dist/chunk-IVWG22RQ.mjs.map +0 -1
  148. package/dist/chunk-NYMS65YI.js.map +0 -1
  149. package/dist/chunk-PHSAQQGZ.mjs.map +0 -1
  150. package/dist/chunk-VAT5CEF7.mjs.map +0 -1
  151. package/dist/transactionRequest-8e970b0e.d.ts +0 -33
package/dist/chains.d.ts CHANGED
@@ -1,51 +1,50 @@
1
- import { R as RpcBlock, f as Block, q as RpcTransaction, D as Transaction, r as RpcTransactionReceipt, T as TransactionReceipt, v as TransactionRequest, s as RpcTransactionRequest, N as TransactionType, b as Hex } from './rpc-858670f1.js';
2
- import { Chain as Chain$1 } from '@wagmi/chains';
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
- type Formatter<TSource = any, TTarget = any> = (value: TSource & {
5
- [key: string]: unknown;
6
- }) => TTarget;
7
- type Formatters = {
8
- block?: Formatter<RpcBlock, Block>;
9
- transaction?: Formatter<RpcTransaction, Transaction>;
10
- transactionReceipt?: Formatter<RpcTransactionReceipt, TransactionReceipt>;
11
- transactionRequest?: Formatter<TransactionRequest, RpcTransactionRequest>;
12
- };
13
- type Chain<TFormatters extends Formatters = Formatters> = Chain$1 & {
14
- formatters?: TFormatters;
15
- };
16
- declare function defineChain<TFormatters extends Formatters = Formatters, TChain extends Chain<TFormatters> = Chain<TFormatters>>(chain: TChain): TChain;
17
- declare const defineBlock: <TFormat extends Formatter<Partial<RpcBlock>, Partial<Block<bigint, Transaction<bigint, number>>> & {
18
- [key: string]: unknown;
19
- }>, TExclude extends (keyof RpcBlock)[] = []>({ exclude, format: formatOverride, }: {
20
- exclude?: TExclude | undefined;
21
- format?: TFormat | undefined;
22
- }) => (data: Partial<RpcBlock> & {
23
- [key: string]: unknown;
24
- }) => Block<bigint, Transaction<bigint, number>> & ReturnType<TFormat> & { [K in TExclude[number]]: never; };
25
- declare const defineTransaction: <TFormat extends Formatter<Partial<RpcTransaction>, Partial<Transaction<bigint, number>> & {
26
- [key: string]: unknown;
27
- }>, TExclude extends ("type" | "gas" | "value" | "gasPrice" | "maxFeePerGas" | "maxPriorityFeePerGas" | "blockHash" | "blockNumber" | "hash" | "from" | "input" | "nonce" | "r" | "s" | "to" | "transactionIndex" | "v" | "accessList")[] = []>({ exclude, format: formatOverride, }: {
28
- exclude?: TExclude | undefined;
29
- format?: TFormat | undefined;
30
- }) => (data: Partial<RpcTransaction> & {
31
- [key: string]: unknown;
32
- }) => Transaction<bigint, number> & ReturnType<TFormat> & { [K in TExclude[number]]: never; };
33
- declare const defineTransactionRequest: <TFormat extends Formatter<Partial<TransactionRequest<bigint, number>>, Partial<RpcTransactionRequest> & {
34
- [key: string]: unknown;
35
- }>, TExclude extends ("gas" | "value" | "gasPrice" | "maxFeePerGas" | "maxPriorityFeePerGas" | "data" | "from" | "nonce" | "to" | "accessList")[] = []>({ exclude, format: formatOverride, }: {
36
- exclude?: TExclude | undefined;
37
- format?: TFormat | undefined;
38
- }) => (data: Partial<TransactionRequest<bigint, number>> & {
39
- [key: string]: unknown;
40
- }) => RpcTransactionRequest & ReturnType<TFormat> & { [K in TExclude[number]]: never; };
41
- declare const defineTransactionReceipt: <TFormat extends Formatter<Partial<RpcTransactionReceipt>, Partial<TransactionReceipt<bigint, number, "success" | "reverted", TransactionType>> & {
42
- [key: string]: unknown;
43
- }>, TExclude extends (keyof RpcTransactionReceipt)[] = []>({ exclude, format: formatOverride, }: {
44
- exclude?: TExclude | undefined;
45
- format?: TFormat | undefined;
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 arbitrum: {
93
- readonly id: 42161;
94
- readonly name: "Arbitrum One";
95
- readonly network: "arbitrum";
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 alchemy: {
103
- readonly http: readonly ["https://arb-mainnet.g.alchemy.com/v2"];
104
- readonly webSocket: readonly ["wss://arb-mainnet.g.alchemy.com/v2"];
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://arbitrum-mainnet.infura.io/v3"];
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://arb1.arbitrum.io/rpc"];
136
+ readonly http: readonly ["https://testnet.aurora.dev"];
112
137
  };
113
138
  readonly public: {
114
- readonly http: readonly ["https://arb1.arbitrum.io/rpc"];
139
+ readonly http: readonly ["https://testnet.aurora.dev"];
115
140
  };
116
141
  };
117
142
  readonly blockExplorers: {
118
143
  readonly etherscan: {
119
- readonly name: "Arbiscan";
120
- readonly url: "https://arbiscan.io";
144
+ readonly name: "Aurorascan";
145
+ readonly url: "https://testnet.aurorascan.dev";
121
146
  };
122
147
  readonly default: {
123
- readonly name: "Arbiscan";
124
- readonly url: "https://arbiscan.io";
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: 7654707;
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 avalanche: {
170
- readonly id: 43114;
171
- readonly name: "Avalanche";
172
- readonly network: "avalanche";
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: "Avalanche";
176
- readonly symbol: "AVAX";
229
+ readonly name: "BRO";
230
+ readonly symbol: "BRO";
177
231
  };
178
232
  readonly rpcUrls: {
179
233
  readonly default: {
180
- readonly http: readonly ["https://api.avax.network/ext/bc/C/rpc"];
234
+ readonly http: readonly ["https://evm.bronos.org"];
181
235
  };
182
236
  readonly public: {
183
- readonly http: readonly ["https://api.avax.network/ext/bc/C/rpc"];
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: "SnowTrace";
189
- readonly url: "https://snowtrace.io";
291
+ readonly name: "BscScan";
292
+ readonly url: "https://bscscan.com";
190
293
  };
191
294
  readonly default: {
192
- readonly name: "SnowTrace";
193
- readonly url: "https://snowtrace.io";
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: 11907934;
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 bsc: {
239
- readonly id: 56;
240
- readonly name: "BNB Smart Chain";
241
- readonly network: "bsc";
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: "BNB";
245
- readonly symbol: "BNB";
347
+ readonly name: "Canto";
348
+ readonly symbol: "CANTO";
246
349
  };
247
350
  readonly rpcUrls: {
248
351
  readonly default: {
249
- readonly http: readonly ["https://rpc.ankr.com/bsc"];
352
+ readonly http: readonly ["https://canto.slingshot.finance"];
250
353
  };
251
354
  readonly public: {
252
- readonly http: readonly ["https://rpc.ankr.com/bsc"];
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: "BscScan";
262
- readonly url: "https://bscscan.com";
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
- id: number;
274
- name: string;
275
- network: string;
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
- name: string;
278
- symbol: string;
279
- decimals: number;
407
+ readonly decimals: 18;
408
+ readonly name: "CELO";
409
+ readonly symbol: "CELO";
280
410
  };
281
411
  rpcUrls: {
282
- public: {
283
- http: string[];
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
- default: {
286
- http: string[];
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 fantom: {
355
- readonly id: 250;
356
- readonly name: "Fantom";
357
- readonly network: "fantom";
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: "Fantom";
361
- readonly symbol: "FTM";
699
+ readonly name: "testnet filecoin";
700
+ readonly symbol: "tFIL";
362
701
  };
363
702
  readonly rpcUrls: {
364
703
  readonly default: {
365
- readonly http: readonly ["https://rpc.ankr.com/fantom"];
704
+ readonly http: readonly ["https://api.hyperspace.node.glif.io/rpc/v1"];
366
705
  };
367
706
  readonly public: {
368
- readonly http: readonly ["https://rpc.ankr.com/fantom"];
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: "FTMScan";
378
- readonly url: "https://ftmscan.com";
712
+ readonly name: "Filfox";
713
+ readonly url: "https://hyperspace.filfox.info/en";
379
714
  };
380
- };
381
- readonly contracts: {
382
- readonly multicall3: {
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 optimismGoerli: {
534
- readonly id: 420;
535
- readonly name: "Optimism Goerli";
536
- readonly network: "optimism-goerli";
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://goerli.optimism.io"];
981
+ readonly http: readonly ["https://andromeda.metis.io/?owner=1088"];
553
982
  };
554
983
  readonly public: {
555
- readonly http: readonly ["https://goerli.optimism.io"];
984
+ readonly http: readonly ["https://andromeda.metis.io/?owner=1088"];
556
985
  };
557
986
  };
558
987
  readonly blockExplorers: {
559
- readonly etherscan: {
560
- readonly name: "Etherscan";
561
- readonly url: "https://goerli-optimism.etherscan.io";
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 name: "Etherscan";
565
- readonly url: "https://goerli-optimism.etherscan.io";
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 contracts: {
569
- readonly multicall3: {
570
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
571
- readonly blockCreated: 49461;
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 polygonMumbai: {
619
- readonly id: 80001;
620
- readonly name: "Polygon Mumbai";
621
- readonly network: "maticmum";
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: "MATIC";
624
- readonly symbol: "MATIC";
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://polygon-mumbai.g.alchemy.com/v2"];
630
- readonly webSocket: readonly ["wss://polygon-mumbai.g.alchemy.com/v2"];
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://polygon-mumbai.infura.io/v3"];
634
- readonly webSocket: readonly ["wss://polygon-mumbai.infura.io/ws/v3"];
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://matic-mumbai.chainstacklabs.com"];
1079
+ readonly http: readonly ["https://goerli.optimism.io"];
638
1080
  };
639
1081
  readonly public: {
640
- readonly http: readonly ["https://matic-mumbai.chainstacklabs.com"];
1082
+ readonly http: readonly ["https://goerli.optimism.io"];
641
1083
  };
642
1084
  };
643
1085
  readonly blockExplorers: {
644
1086
  readonly etherscan: {
645
- readonly name: "PolygonScan";
646
- readonly url: "https://mumbai.polygonscan.com";
1087
+ readonly name: "Etherscan";
1088
+ readonly url: "https://goerli-optimism.etherscan.io";
647
1089
  };
648
1090
  readonly default: {
649
- readonly name: "PolygonScan";
650
- readonly url: "https://mumbai.polygonscan.com";
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: 25770160;
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 { Chain, Formatter, Formatters, arbitrum, arbitrumGoerli, avalanche, avalancheFuji, bsc, bscTestnet, celo, defineBlock, defineChain, defineTransaction, defineTransactionReceipt, defineTransactionRequest, fantom, fantomTestnet, foundry, goerli, hardhat, localhost, mainnet, optimism, optimismGoerli, polygon, polygonMumbai, sepolia };
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 };