@inco/js 0.8.0-devnet-30 → 0.8.0-devnet-31

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.
@@ -5,6 +5,8 @@
5
5
  * to work around Pulumi closure serialisation issues.
6
6
  */
7
7
  export declare const supportedChains: {
8
+ readonly mainnet: 1;
9
+ readonly base: 8453;
8
10
  readonly baseSepolia: 84532;
9
11
  readonly sepolia: 11155111;
10
12
  readonly monadTestnet: 10143;
package/dist/cjs/chain.js CHANGED
@@ -13,6 +13,8 @@ exports.getSupportedChain = getSupportedChain;
13
13
  * to work around Pulumi closure serialisation issues.
14
14
  */
15
15
  exports.supportedChains = {
16
+ mainnet: 1,
17
+ base: 8453,
16
18
  baseSepolia: 84532,
17
19
  sepolia: 11155111,
18
20
  monadTestnet: 10143,
@@ -26,6 +28,8 @@ exports.supportedChains = {
26
28
  * Local Anvil uses `31337` (same ID as GoChain Testnet in the registry) but the SDK labels it `anvil`.
27
29
  */
28
30
  exports.chainShortNames = {
31
+ [exports.supportedChains.mainnet]: 'eth',
32
+ [exports.supportedChains.base]: 'base',
29
33
  [exports.supportedChains.baseSepolia]: 'basesep',
30
34
  [exports.supportedChains.sepolia]: 'sep',
31
35
  [exports.supportedChains.monadTestnet]: 'mon-testnet',
@@ -55,4 +59,4 @@ function getSupportedChain(chainish) {
55
59
  const [name, id] = found;
56
60
  return { name: name, id };
57
61
  }
58
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhaW4uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvY2hhaW4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLG1GQUFtRjs7O0FBOERuRiw4Q0FrQkM7QUE5RUQseUdBQXlHO0FBQ3pHLCtHQUErRztBQUMvRyxrR0FBa0c7QUFFbEc7Ozs7O0dBS0c7QUFDVSxRQUFBLGVBQWUsR0FBR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xJQUFJLENBQ2xDLENBQUMsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxFQUFFLEtBQUssTUFBTSxDQUFDLFFBQVEsQ0FBQyxFQUFFLENBQUMsQ0FDdkM7WUFDSCxDQUFDLENBQUMsTUFBTSxDQUFDLE9BQU8sQ0FBQyx1QkFBZSxDQUFDLENBQUMsSUFBSSxDQUNsQyxDQUFDLENBQUMsU0FBUyxDQUFDLEVBQUUsRUFBRSxDQUFDLFNBQVMsS0FBSyxRQUFRLENBQ3hDLENBQUM7SUFDVixJQUFJLENBQUMsS0FBSyxFQUFFLENBQUM7UUFDWCxNQUFNLElBQUksS0FBSyxDQUFDLG1CQUFtQixRQUFRLFlBQVksQ0FBQyxDQUFDO0lBQzNELENBQUM7SUFDRCxNQUFNLENBQUMsSUFBSSxFQUFFLEVBQUUsQ0FBQyxHQUFHLEtBQUssQ0FBQztJQUN6QixPQUFPLEVBQUUsSUFBSSxFQUFFLElBQTBCLEVBQUUsRUFBRSxFQUFFLENBQUM7QUFDbEQsQ0FBQyJ9
@@ -19,9 +19,9 @@ export declare const localNodeLightningConfig: {
19
19
  readonly executorAddress: "0x6c9132D324231D2F68a1491686b0d4c10ee7d257";
20
20
  readonly chainId: 31337;
21
21
  readonly covalidatorUrls: readonly ["http://localhost:50055"];
22
- readonly signers: readonly ["0xD413DF212d2aeDf4F66241441c018Ce71a2119F1"];
22
+ readonly signers: readonly ["0x1769D97F7B2E6fE43B81F0De0DC5E29b18610672"];
23
23
  readonly hostChainRpcUrls: readonly ["http://localhost:8545"];
24
- readonly senderPrivateKey: "0x5683b966233cfbb5e8355f45cdb5fca9d6c713701909d01086cb85276fb9f474";
24
+ readonly senderPrivateKey: "0xfc2e9442645f76c66a7239536219739069dce95ebfb5120c09a0a3a768780556";
25
25
  };
26
26
  readonly alphanet: {
27
27
  readonly executorAddress: "0xc0d693DeEF0A91CE39208676b6da09B822abd199";
@@ -54,12 +54,12 @@ exports.localNodeLightningConfig = {
54
54
  "http://localhost:50055"
55
55
  ],
56
56
  "signers": [
57
- "0xD413DF212d2aeDf4F66241441c018Ce71a2119F1"
57
+ "0x1769D97F7B2E6fE43B81F0De0DC5E29b18610672"
58
58
  ],
59
59
  "hostChainRpcUrls": [
60
60
  "http://localhost:8545"
61
61
  ],
62
- "senderPrivateKey": "0x5683b966233cfbb5e8355f45cdb5fca9d6c713701909d01086cb85276fb9f474"
62
+ "senderPrivateKey": "0xfc2e9442645f76c66a7239536219739069dce95ebfb5120c09a0a3a768780556"
63
63
  },
64
64
  "alphanet": {
65
65
  "executorAddress": "0xc0d693DeEF0A91CE39208676b6da09B822abd199",
@@ -3,6 +3,354 @@ import { Chainish } from './chain.js';
3
3
  export type ViemClient = WalletClient<Transport, Chain, Account> | PublicClient<Transport, Chain>;
4
4
  /** Map of supported chain short names to their viem chain objects. */
5
5
  export declare const chains: {
6
+ mainnet: {
7
+ blockExplorers: {
8
+ readonly default: {
9
+ readonly name: "Etherscan";
10
+ readonly url: "https://etherscan.io";
11
+ readonly apiUrl: "https://api.etherscan.io/api";
12
+ };
13
+ };
14
+ blockTime: 12000;
15
+ contracts: {
16
+ readonly ensUniversalResolver: {
17
+ readonly address: "0xeeeeeeee14d718c2b47d9923deab1335e144eeee";
18
+ readonly blockCreated: 23085558;
19
+ };
20
+ readonly multicall3: {
21
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
22
+ readonly blockCreated: 14353601;
23
+ };
24
+ };
25
+ ensTlds?: readonly string[] | undefined;
26
+ id: 1;
27
+ name: "Ethereum";
28
+ nativeCurrency: {
29
+ readonly name: "Ether";
30
+ readonly symbol: "ETH";
31
+ readonly decimals: 18;
32
+ };
33
+ experimental_preconfirmationTime?: number | undefined | undefined;
34
+ rpcUrls: {
35
+ readonly default: {
36
+ readonly http: readonly ["https://eth.merkle.io"];
37
+ };
38
+ };
39
+ sourceId?: number | undefined | undefined;
40
+ testnet?: boolean | undefined | undefined;
41
+ custom?: Record<string, unknown> | undefined;
42
+ fees?: import("viem").ChainFees<undefined> | undefined;
43
+ formatters?: undefined;
44
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
45
+ };
46
+ base: {
47
+ blockExplorers: {
48
+ readonly default: {
49
+ readonly name: "Basescan";
50
+ readonly url: "https://basescan.org";
51
+ readonly apiUrl: "https://api.basescan.org/api";
52
+ };
53
+ };
54
+ blockTime: 2000;
55
+ contracts: {
56
+ readonly disputeGameFactory: {
57
+ readonly 1: {
58
+ readonly address: "0x43edB88C4B80fDD2AdFF2412A7BebF9dF42cB40e";
59
+ };
60
+ };
61
+ readonly l2OutputOracle: {
62
+ readonly 1: {
63
+ readonly address: "0x56315b90c40730925ec5485cf004d835058518A0";
64
+ };
65
+ };
66
+ readonly multicall3: {
67
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
68
+ readonly blockCreated: 5022;
69
+ };
70
+ readonly portal: {
71
+ readonly 1: {
72
+ readonly address: "0x49048044D57e1C92A77f79988d21Fa8fAF74E97e";
73
+ readonly blockCreated: 17482143;
74
+ };
75
+ };
76
+ readonly l1StandardBridge: {
77
+ readonly 1: {
78
+ readonly address: "0x3154Cf16ccdb4C6d922629664174b904d80F2C35";
79
+ readonly blockCreated: 17482143;
80
+ };
81
+ };
82
+ readonly gasPriceOracle: {
83
+ readonly address: "0x420000000000000000000000000000000000000F";
84
+ };
85
+ readonly l1Block: {
86
+ readonly address: "0x4200000000000000000000000000000000000015";
87
+ };
88
+ readonly l2CrossDomainMessenger: {
89
+ readonly address: "0x4200000000000000000000000000000000000007";
90
+ };
91
+ readonly l2Erc721Bridge: {
92
+ readonly address: "0x4200000000000000000000000000000000000014";
93
+ };
94
+ readonly l2StandardBridge: {
95
+ readonly address: "0x4200000000000000000000000000000000000010";
96
+ };
97
+ readonly l2ToL1MessagePasser: {
98
+ readonly address: "0x4200000000000000000000000000000000000016";
99
+ };
100
+ };
101
+ ensTlds?: readonly string[] | undefined;
102
+ id: 8453;
103
+ name: "Base";
104
+ nativeCurrency: {
105
+ readonly name: "Ether";
106
+ readonly symbol: "ETH";
107
+ readonly decimals: 18;
108
+ };
109
+ experimental_preconfirmationTime?: number | undefined | undefined;
110
+ rpcUrls: {
111
+ readonly default: {
112
+ readonly http: readonly ["https://mainnet.base.org"];
113
+ };
114
+ };
115
+ sourceId: 1;
116
+ testnet?: boolean | undefined | undefined;
117
+ custom?: Record<string, unknown> | undefined;
118
+ fees?: import("viem").ChainFees<undefined> | undefined;
119
+ formatters: {
120
+ readonly block: {
121
+ exclude: [] | undefined;
122
+ format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
123
+ baseFeePerGas: bigint | null;
124
+ blobGasUsed: bigint;
125
+ difficulty: bigint;
126
+ excessBlobGas: bigint;
127
+ extraData: import("viem").Hex;
128
+ gasLimit: bigint;
129
+ gasUsed: bigint;
130
+ hash: `0x${string}` | null;
131
+ logsBloom: `0x${string}` | null;
132
+ miner: import("viem").Address;
133
+ mixHash: import("viem").Hash;
134
+ nonce: `0x${string}` | null;
135
+ number: bigint | null;
136
+ parentBeaconBlockRoot?: `0x${string}` | undefined;
137
+ parentHash: import("viem").Hash;
138
+ receiptsRoot: import("viem").Hex;
139
+ sealFields: import("viem").Hex[];
140
+ sha3Uncles: import("viem").Hash;
141
+ size: bigint;
142
+ stateRoot: import("viem").Hash;
143
+ timestamp: bigint;
144
+ totalDifficulty: bigint | null;
145
+ transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
146
+ transactionsRoot: import("viem").Hash;
147
+ uncles: import("viem").Hash[];
148
+ withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
149
+ withdrawalsRoot?: `0x${string}` | undefined;
150
+ } & {};
151
+ type: "block";
152
+ };
153
+ readonly transaction: {
154
+ exclude: [] | undefined;
155
+ format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
156
+ blockHash: `0x${string}` | null;
157
+ blockNumber: bigint | null;
158
+ from: import("viem").Address;
159
+ gas: bigint;
160
+ hash: import("viem").Hash;
161
+ input: import("viem").Hex;
162
+ nonce: number;
163
+ r: import("viem").Hex;
164
+ s: import("viem").Hex;
165
+ to: import("viem").Address | null;
166
+ transactionIndex: number | null;
167
+ typeHex: import("viem").Hex | null;
168
+ v: bigint;
169
+ value: bigint;
170
+ yParity: number;
171
+ gasPrice?: undefined | undefined;
172
+ maxFeePerBlobGas?: undefined | undefined;
173
+ maxFeePerGas: bigint;
174
+ maxPriorityFeePerGas: bigint;
175
+ isSystemTx?: boolean;
176
+ mint?: bigint | undefined | undefined;
177
+ sourceHash: import("viem").Hex;
178
+ type: "deposit";
179
+ } | {
180
+ r: import("viem").Hex;
181
+ s: import("viem").Hex;
182
+ v: bigint;
183
+ value: bigint;
184
+ gas: bigint;
185
+ to: import("viem").Address | null;
186
+ from: import("viem").Address;
187
+ nonce: number;
188
+ blockHash: `0x${string}` | null;
189
+ blockNumber: bigint | null;
190
+ transactionIndex: number | null;
191
+ hash: import("viem").Hash;
192
+ input: import("viem").Hex;
193
+ typeHex: import("viem").Hex | null;
194
+ accessList?: undefined | undefined;
195
+ authorizationList?: undefined | undefined;
196
+ blobVersionedHashes?: undefined | undefined;
197
+ chainId?: number | undefined;
198
+ yParity?: undefined | undefined;
199
+ type: "legacy";
200
+ gasPrice: bigint;
201
+ maxFeePerBlobGas?: undefined | undefined;
202
+ maxFeePerGas?: undefined | undefined;
203
+ maxPriorityFeePerGas?: undefined | undefined;
204
+ isSystemTx?: undefined | undefined;
205
+ mint?: undefined | undefined;
206
+ sourceHash?: undefined | undefined;
207
+ } | {
208
+ blockHash: `0x${string}` | null;
209
+ blockNumber: bigint | null;
210
+ from: import("viem").Address;
211
+ gas: bigint;
212
+ hash: import("viem").Hash;
213
+ input: import("viem").Hex;
214
+ nonce: number;
215
+ r: import("viem").Hex;
216
+ s: import("viem").Hex;
217
+ to: import("viem").Address | null;
218
+ transactionIndex: number | null;
219
+ typeHex: import("viem").Hex | null;
220
+ v: bigint;
221
+ value: bigint;
222
+ yParity: number;
223
+ accessList: import("viem").AccessList;
224
+ authorizationList?: undefined | undefined;
225
+ blobVersionedHashes?: undefined | undefined;
226
+ chainId: number;
227
+ type: "eip2930";
228
+ gasPrice: bigint;
229
+ maxFeePerBlobGas?: undefined | undefined;
230
+ maxFeePerGas?: undefined | undefined;
231
+ maxPriorityFeePerGas?: undefined | undefined;
232
+ isSystemTx?: undefined | undefined;
233
+ mint?: undefined | undefined;
234
+ sourceHash?: undefined | undefined;
235
+ } | {
236
+ blockHash: `0x${string}` | null;
237
+ blockNumber: bigint | null;
238
+ from: import("viem").Address;
239
+ gas: bigint;
240
+ hash: import("viem").Hash;
241
+ input: import("viem").Hex;
242
+ nonce: number;
243
+ r: import("viem").Hex;
244
+ s: import("viem").Hex;
245
+ to: import("viem").Address | null;
246
+ transactionIndex: number | null;
247
+ typeHex: import("viem").Hex | null;
248
+ v: bigint;
249
+ value: bigint;
250
+ yParity: number;
251
+ accessList: import("viem").AccessList;
252
+ authorizationList?: undefined | undefined;
253
+ blobVersionedHashes?: undefined | undefined;
254
+ chainId: number;
255
+ type: "eip1559";
256
+ gasPrice?: undefined | undefined;
257
+ maxFeePerBlobGas?: undefined | undefined;
258
+ maxFeePerGas: bigint;
259
+ maxPriorityFeePerGas: bigint;
260
+ isSystemTx?: undefined | undefined;
261
+ mint?: undefined | undefined;
262
+ sourceHash?: undefined | undefined;
263
+ } | {
264
+ blockHash: `0x${string}` | null;
265
+ blockNumber: bigint | null;
266
+ from: import("viem").Address;
267
+ gas: bigint;
268
+ hash: import("viem").Hash;
269
+ input: import("viem").Hex;
270
+ nonce: number;
271
+ r: import("viem").Hex;
272
+ s: import("viem").Hex;
273
+ to: import("viem").Address | null;
274
+ transactionIndex: number | null;
275
+ typeHex: import("viem").Hex | null;
276
+ v: bigint;
277
+ value: bigint;
278
+ yParity: number;
279
+ accessList: import("viem").AccessList;
280
+ authorizationList?: undefined | undefined;
281
+ blobVersionedHashes: readonly import("viem").Hex[];
282
+ chainId: number;
283
+ type: "eip4844";
284
+ gasPrice?: undefined | undefined;
285
+ maxFeePerBlobGas: bigint;
286
+ maxFeePerGas: bigint;
287
+ maxPriorityFeePerGas: bigint;
288
+ isSystemTx?: undefined | undefined;
289
+ mint?: undefined | undefined;
290
+ sourceHash?: undefined | undefined;
291
+ } | {
292
+ blockHash: `0x${string}` | null;
293
+ blockNumber: bigint | null;
294
+ from: import("viem").Address;
295
+ gas: bigint;
296
+ hash: import("viem").Hash;
297
+ input: import("viem").Hex;
298
+ nonce: number;
299
+ r: import("viem").Hex;
300
+ s: import("viem").Hex;
301
+ to: import("viem").Address | null;
302
+ transactionIndex: number | null;
303
+ typeHex: import("viem").Hex | null;
304
+ v: bigint;
305
+ value: bigint;
306
+ yParity: number;
307
+ accessList: import("viem").AccessList;
308
+ authorizationList: import("viem").SignedAuthorizationList;
309
+ blobVersionedHashes?: undefined | undefined;
310
+ chainId: number;
311
+ type: "eip7702";
312
+ gasPrice?: undefined | undefined;
313
+ maxFeePerBlobGas?: undefined | undefined;
314
+ maxFeePerGas: bigint;
315
+ maxPriorityFeePerGas: bigint;
316
+ isSystemTx?: undefined | undefined;
317
+ mint?: undefined | undefined;
318
+ sourceHash?: undefined | undefined;
319
+ }) & {};
320
+ type: "transaction";
321
+ };
322
+ readonly transactionReceipt: {
323
+ exclude: [] | undefined;
324
+ format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
325
+ blobGasPrice?: bigint | undefined;
326
+ blobGasUsed?: bigint | undefined;
327
+ blockHash: import("viem").Hash;
328
+ blockNumber: bigint;
329
+ contractAddress: import("viem").Address | null | undefined;
330
+ cumulativeGasUsed: bigint;
331
+ effectiveGasPrice: bigint;
332
+ from: import("viem").Address;
333
+ gasUsed: bigint;
334
+ logs: import("viem").Log<bigint, number, false>[];
335
+ logsBloom: import("viem").Hex;
336
+ root?: `0x${string}` | undefined;
337
+ status: "success" | "reverted";
338
+ to: import("viem").Address | null;
339
+ transactionHash: import("viem").Hash;
340
+ transactionIndex: number;
341
+ type: import("viem").TransactionType;
342
+ l1GasPrice: bigint | null;
343
+ l1GasUsed: bigint | null;
344
+ l1Fee: bigint | null;
345
+ l1FeeScalar: number | null;
346
+ } & {};
347
+ type: "transactionReceipt";
348
+ };
349
+ };
350
+ serializers: {
351
+ readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
352
+ };
353
+ };
6
354
  sepolia: {
7
355
  blockExplorers: {
8
356
  readonly default: {
package/dist/cjs/viem.js CHANGED
@@ -6,6 +6,8 @@ const chains_1 = require("viem/chains");
6
6
  const chain_js_1 = require("./chain.js");
7
7
  /** Map of supported chain short names to their viem chain objects. */
8
8
  exports.chains = {
9
+ mainnet: chains_1.mainnet,
10
+ base: chains_1.base,
9
11
  sepolia: chains_1.sepolia,
10
12
  baseSepolia: chains_1.baseSepolia,
11
13
  monadTestnet: chains_1.monadTestnet,
@@ -31,4 +33,4 @@ function getViemChain(chainish) {
31
33
  }
32
34
  return chain;
33
35
  }
34
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmllbS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy92aWVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQW1DQSxvQ0FPQztBQXpDRCx3Q0FPcUI7QUFDckIseUNBQXlEO0FBTXpELHNFQUFzRTtBQUN6RCxRQUFBLE1BQU0sR0FBRztJQUNwQixPQUFPLEVBQVAsZ0JBQU87SUFDUCxXQUFXLEVBQVgsb0JBQVc7SUFDWCxZQUFZLEVBQVoscUJBQVk7SUFDWixhQUFhLEVBQWIsc0JBQWE7SUFDYixLQUFLLEVBQUwsY0FBSztJQUNMLGlCQUFpQixFQUFqQiwwQkFBaUI7Q0FDbEIsQ0FBQztBQUVGOzs7Ozs7Ozs7R0FTRztBQUNILFNBQWdCLFlBQVksQ0FBQyxRQUFrQjtJQUM3Q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UFFLENBQUM7UUFDWCxNQUFNLElBQUksS0FBSyxDQUFDLDZCQUE2QixJQUFJLEVBQUUsQ0FBQyxDQUFDO0lBQ3ZELENBQUM7SUFDRCxPQUFPLEtBQUssQ0FBQztBQUNmLENBQUMifQ==
@@ -5,6 +5,8 @@
5
5
  * to work around Pulumi closure serialisation issues.
6
6
  */
7
7
  export declare const supportedChains: {
8
+ readonly mainnet: 1;
9
+ readonly base: 8453;
8
10
  readonly baseSepolia: 84532;
9
11
  readonly sepolia: 11155111;
10
12
  readonly monadTestnet: 10143;
package/dist/esm/chain.js CHANGED
@@ -9,6 +9,8 @@
9
9
  * to work around Pulumi closure serialisation issues.
10
10
  */
11
11
  export const supportedChains = {
12
+ mainnet: 1,
13
+ base: 8453,
12
14
  baseSepolia: 84532,
13
15
  sepolia: 11155111,
14
16
  monadTestnet: 10143,
@@ -22,6 +24,8 @@ export const supportedChains = {
22
24
  * Local Anvil uses `31337` (same ID as GoChain Testnet in the registry) but the SDK labels it `anvil`.
23
25
  */
24
26
  export const chainShortNames = {
27
+ [supportedChains.mainnet]: 'eth',
28
+ [supportedChains.base]: 'base',
25
29
  [supportedChains.baseSepolia]: 'basesep',
26
30
  [supportedChains.sepolia]: 'sep',
27
31
  [supportedChains.monadTestnet]: 'mon-testnet',
@@ -51,4 +55,4 @@ export function getSupportedChain(chainish) {
51
55
  const [name, id] = found;
52
56
  return { name: name, id };
53
57
  }
54
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhaW4uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvY2hhaW4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsbUZBQW1GO0FBRW5GLHlHQUF5RztBQUN6RywrR0FBK0c7QUFDL0csa0dBQWtHO0FBRWxHOzs7OztHQUtHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sZUFBZSxHQUFHO0lBQzdCLFdBQVcs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BQUMsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxFQUFFLEtBQUssTUFBTSxDQUFDLFFBQVEsQ0FBQyxFQUFFLENBQUMsQ0FDdkM7WUFDSCxDQUFDLENBQUMsTUFBTSxDQUFDLE9BQU8sQ0FBQyxlQUFlLENBQUMsQ0FBQyxJQUFJLENBQ2xDLENBQUMsQ0FBQyxTQUFTLENBQUMsRUFBRSxFQUFFLENBQUMsU0FBUyxLQUFLLFFBQVEsQ0FDeEMsQ0FBQztJQUNWLElBQUksQ0FBQyxLQUFLLEVBQUUsQ0FBQztRQUNYLE1BQU0sSUFBSSxLQUFLLENBQUMsbUJBQW1CLFFBQVEsWUFBWSxDQUFDLENBQUM7SUFDM0QsQ0FBQztJQUNELE1BQU0sQ0FBQyxJQUFJLEVBQUUsRUFBRSxDQUFDLEdBQUcsS0FBSyxDQUFDO0lBQ3pCLE9BQU8sRUFBRSxJQUFJLEVBQUUsSUFBMEIsRUFBRSxFQUFFLEVBQUUsQ0FBQztBQUNsRCxDQUFDIn0=
@@ -19,9 +19,9 @@ export declare const localNodeLightningConfig: {
19
19
  readonly executorAddress: "0x6c9132D324231D2F68a1491686b0d4c10ee7d257";
20
20
  readonly chainId: 31337;
21
21
  readonly covalidatorUrls: readonly ["http://localhost:50055"];
22
- readonly signers: readonly ["0xD413DF212d2aeDf4F66241441c018Ce71a2119F1"];
22
+ readonly signers: readonly ["0x1769D97F7B2E6fE43B81F0De0DC5E29b18610672"];
23
23
  readonly hostChainRpcUrls: readonly ["http://localhost:8545"];
24
- readonly senderPrivateKey: "0x5683b966233cfbb5e8355f45cdb5fca9d6c713701909d01086cb85276fb9f474";
24
+ readonly senderPrivateKey: "0xfc2e9442645f76c66a7239536219739069dce95ebfb5120c09a0a3a768780556";
25
25
  };
26
26
  readonly alphanet: {
27
27
  readonly executorAddress: "0xc0d693DeEF0A91CE39208676b6da09B822abd199";
@@ -51,12 +51,12 @@ export const localNodeLightningConfig = {
51
51
  "http://localhost:50055"
52
52
  ],
53
53
  "signers": [
54
- "0xD413DF212d2aeDf4F66241441c018Ce71a2119F1"
54
+ "0x1769D97F7B2E6fE43B81F0De0DC5E29b18610672"
55
55
  ],
56
56
  "hostChainRpcUrls": [
57
57
  "http://localhost:8545"
58
58
  ],
59
- "senderPrivateKey": "0x5683b966233cfbb5e8355f45cdb5fca9d6c713701909d01086cb85276fb9f474"
59
+ "senderPrivateKey": "0xfc2e9442645f76c66a7239536219739069dce95ebfb5120c09a0a3a768780556"
60
60
  },
61
61
  "alphanet": {
62
62
  "executorAddress": "0xc0d693DeEF0A91CE39208676b6da09B822abd199",
@@ -3,6 +3,354 @@ import { Chainish } from './chain.js';
3
3
  export type ViemClient = WalletClient<Transport, Chain, Account> | PublicClient<Transport, Chain>;
4
4
  /** Map of supported chain short names to their viem chain objects. */
5
5
  export declare const chains: {
6
+ mainnet: {
7
+ blockExplorers: {
8
+ readonly default: {
9
+ readonly name: "Etherscan";
10
+ readonly url: "https://etherscan.io";
11
+ readonly apiUrl: "https://api.etherscan.io/api";
12
+ };
13
+ };
14
+ blockTime: 12000;
15
+ contracts: {
16
+ readonly ensUniversalResolver: {
17
+ readonly address: "0xeeeeeeee14d718c2b47d9923deab1335e144eeee";
18
+ readonly blockCreated: 23085558;
19
+ };
20
+ readonly multicall3: {
21
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
22
+ readonly blockCreated: 14353601;
23
+ };
24
+ };
25
+ ensTlds?: readonly string[] | undefined;
26
+ id: 1;
27
+ name: "Ethereum";
28
+ nativeCurrency: {
29
+ readonly name: "Ether";
30
+ readonly symbol: "ETH";
31
+ readonly decimals: 18;
32
+ };
33
+ experimental_preconfirmationTime?: number | undefined | undefined;
34
+ rpcUrls: {
35
+ readonly default: {
36
+ readonly http: readonly ["https://eth.merkle.io"];
37
+ };
38
+ };
39
+ sourceId?: number | undefined | undefined;
40
+ testnet?: boolean | undefined | undefined;
41
+ custom?: Record<string, unknown> | undefined;
42
+ fees?: import("viem").ChainFees<undefined> | undefined;
43
+ formatters?: undefined;
44
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
45
+ };
46
+ base: {
47
+ blockExplorers: {
48
+ readonly default: {
49
+ readonly name: "Basescan";
50
+ readonly url: "https://basescan.org";
51
+ readonly apiUrl: "https://api.basescan.org/api";
52
+ };
53
+ };
54
+ blockTime: 2000;
55
+ contracts: {
56
+ readonly disputeGameFactory: {
57
+ readonly 1: {
58
+ readonly address: "0x43edB88C4B80fDD2AdFF2412A7BebF9dF42cB40e";
59
+ };
60
+ };
61
+ readonly l2OutputOracle: {
62
+ readonly 1: {
63
+ readonly address: "0x56315b90c40730925ec5485cf004d835058518A0";
64
+ };
65
+ };
66
+ readonly multicall3: {
67
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
68
+ readonly blockCreated: 5022;
69
+ };
70
+ readonly portal: {
71
+ readonly 1: {
72
+ readonly address: "0x49048044D57e1C92A77f79988d21Fa8fAF74E97e";
73
+ readonly blockCreated: 17482143;
74
+ };
75
+ };
76
+ readonly l1StandardBridge: {
77
+ readonly 1: {
78
+ readonly address: "0x3154Cf16ccdb4C6d922629664174b904d80F2C35";
79
+ readonly blockCreated: 17482143;
80
+ };
81
+ };
82
+ readonly gasPriceOracle: {
83
+ readonly address: "0x420000000000000000000000000000000000000F";
84
+ };
85
+ readonly l1Block: {
86
+ readonly address: "0x4200000000000000000000000000000000000015";
87
+ };
88
+ readonly l2CrossDomainMessenger: {
89
+ readonly address: "0x4200000000000000000000000000000000000007";
90
+ };
91
+ readonly l2Erc721Bridge: {
92
+ readonly address: "0x4200000000000000000000000000000000000014";
93
+ };
94
+ readonly l2StandardBridge: {
95
+ readonly address: "0x4200000000000000000000000000000000000010";
96
+ };
97
+ readonly l2ToL1MessagePasser: {
98
+ readonly address: "0x4200000000000000000000000000000000000016";
99
+ };
100
+ };
101
+ ensTlds?: readonly string[] | undefined;
102
+ id: 8453;
103
+ name: "Base";
104
+ nativeCurrency: {
105
+ readonly name: "Ether";
106
+ readonly symbol: "ETH";
107
+ readonly decimals: 18;
108
+ };
109
+ experimental_preconfirmationTime?: number | undefined | undefined;
110
+ rpcUrls: {
111
+ readonly default: {
112
+ readonly http: readonly ["https://mainnet.base.org"];
113
+ };
114
+ };
115
+ sourceId: 1;
116
+ testnet?: boolean | undefined | undefined;
117
+ custom?: Record<string, unknown> | undefined;
118
+ fees?: import("viem").ChainFees<undefined> | undefined;
119
+ formatters: {
120
+ readonly block: {
121
+ exclude: [] | undefined;
122
+ format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
123
+ baseFeePerGas: bigint | null;
124
+ blobGasUsed: bigint;
125
+ difficulty: bigint;
126
+ excessBlobGas: bigint;
127
+ extraData: import("viem").Hex;
128
+ gasLimit: bigint;
129
+ gasUsed: bigint;
130
+ hash: `0x${string}` | null;
131
+ logsBloom: `0x${string}` | null;
132
+ miner: import("viem").Address;
133
+ mixHash: import("viem").Hash;
134
+ nonce: `0x${string}` | null;
135
+ number: bigint | null;
136
+ parentBeaconBlockRoot?: `0x${string}` | undefined;
137
+ parentHash: import("viem").Hash;
138
+ receiptsRoot: import("viem").Hex;
139
+ sealFields: import("viem").Hex[];
140
+ sha3Uncles: import("viem").Hash;
141
+ size: bigint;
142
+ stateRoot: import("viem").Hash;
143
+ timestamp: bigint;
144
+ totalDifficulty: bigint | null;
145
+ transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
146
+ transactionsRoot: import("viem").Hash;
147
+ uncles: import("viem").Hash[];
148
+ withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
149
+ withdrawalsRoot?: `0x${string}` | undefined;
150
+ } & {};
151
+ type: "block";
152
+ };
153
+ readonly transaction: {
154
+ exclude: [] | undefined;
155
+ format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
156
+ blockHash: `0x${string}` | null;
157
+ blockNumber: bigint | null;
158
+ from: import("viem").Address;
159
+ gas: bigint;
160
+ hash: import("viem").Hash;
161
+ input: import("viem").Hex;
162
+ nonce: number;
163
+ r: import("viem").Hex;
164
+ s: import("viem").Hex;
165
+ to: import("viem").Address | null;
166
+ transactionIndex: number | null;
167
+ typeHex: import("viem").Hex | null;
168
+ v: bigint;
169
+ value: bigint;
170
+ yParity: number;
171
+ gasPrice?: undefined | undefined;
172
+ maxFeePerBlobGas?: undefined | undefined;
173
+ maxFeePerGas: bigint;
174
+ maxPriorityFeePerGas: bigint;
175
+ isSystemTx?: boolean;
176
+ mint?: bigint | undefined | undefined;
177
+ sourceHash: import("viem").Hex;
178
+ type: "deposit";
179
+ } | {
180
+ r: import("viem").Hex;
181
+ s: import("viem").Hex;
182
+ v: bigint;
183
+ value: bigint;
184
+ gas: bigint;
185
+ to: import("viem").Address | null;
186
+ from: import("viem").Address;
187
+ nonce: number;
188
+ blockHash: `0x${string}` | null;
189
+ blockNumber: bigint | null;
190
+ transactionIndex: number | null;
191
+ hash: import("viem").Hash;
192
+ input: import("viem").Hex;
193
+ typeHex: import("viem").Hex | null;
194
+ accessList?: undefined | undefined;
195
+ authorizationList?: undefined | undefined;
196
+ blobVersionedHashes?: undefined | undefined;
197
+ chainId?: number | undefined;
198
+ yParity?: undefined | undefined;
199
+ type: "legacy";
200
+ gasPrice: bigint;
201
+ maxFeePerBlobGas?: undefined | undefined;
202
+ maxFeePerGas?: undefined | undefined;
203
+ maxPriorityFeePerGas?: undefined | undefined;
204
+ isSystemTx?: undefined | undefined;
205
+ mint?: undefined | undefined;
206
+ sourceHash?: undefined | undefined;
207
+ } | {
208
+ blockHash: `0x${string}` | null;
209
+ blockNumber: bigint | null;
210
+ from: import("viem").Address;
211
+ gas: bigint;
212
+ hash: import("viem").Hash;
213
+ input: import("viem").Hex;
214
+ nonce: number;
215
+ r: import("viem").Hex;
216
+ s: import("viem").Hex;
217
+ to: import("viem").Address | null;
218
+ transactionIndex: number | null;
219
+ typeHex: import("viem").Hex | null;
220
+ v: bigint;
221
+ value: bigint;
222
+ yParity: number;
223
+ accessList: import("viem").AccessList;
224
+ authorizationList?: undefined | undefined;
225
+ blobVersionedHashes?: undefined | undefined;
226
+ chainId: number;
227
+ type: "eip2930";
228
+ gasPrice: bigint;
229
+ maxFeePerBlobGas?: undefined | undefined;
230
+ maxFeePerGas?: undefined | undefined;
231
+ maxPriorityFeePerGas?: undefined | undefined;
232
+ isSystemTx?: undefined | undefined;
233
+ mint?: undefined | undefined;
234
+ sourceHash?: undefined | undefined;
235
+ } | {
236
+ blockHash: `0x${string}` | null;
237
+ blockNumber: bigint | null;
238
+ from: import("viem").Address;
239
+ gas: bigint;
240
+ hash: import("viem").Hash;
241
+ input: import("viem").Hex;
242
+ nonce: number;
243
+ r: import("viem").Hex;
244
+ s: import("viem").Hex;
245
+ to: import("viem").Address | null;
246
+ transactionIndex: number | null;
247
+ typeHex: import("viem").Hex | null;
248
+ v: bigint;
249
+ value: bigint;
250
+ yParity: number;
251
+ accessList: import("viem").AccessList;
252
+ authorizationList?: undefined | undefined;
253
+ blobVersionedHashes?: undefined | undefined;
254
+ chainId: number;
255
+ type: "eip1559";
256
+ gasPrice?: undefined | undefined;
257
+ maxFeePerBlobGas?: undefined | undefined;
258
+ maxFeePerGas: bigint;
259
+ maxPriorityFeePerGas: bigint;
260
+ isSystemTx?: undefined | undefined;
261
+ mint?: undefined | undefined;
262
+ sourceHash?: undefined | undefined;
263
+ } | {
264
+ blockHash: `0x${string}` | null;
265
+ blockNumber: bigint | null;
266
+ from: import("viem").Address;
267
+ gas: bigint;
268
+ hash: import("viem").Hash;
269
+ input: import("viem").Hex;
270
+ nonce: number;
271
+ r: import("viem").Hex;
272
+ s: import("viem").Hex;
273
+ to: import("viem").Address | null;
274
+ transactionIndex: number | null;
275
+ typeHex: import("viem").Hex | null;
276
+ v: bigint;
277
+ value: bigint;
278
+ yParity: number;
279
+ accessList: import("viem").AccessList;
280
+ authorizationList?: undefined | undefined;
281
+ blobVersionedHashes: readonly import("viem").Hex[];
282
+ chainId: number;
283
+ type: "eip4844";
284
+ gasPrice?: undefined | undefined;
285
+ maxFeePerBlobGas: bigint;
286
+ maxFeePerGas: bigint;
287
+ maxPriorityFeePerGas: bigint;
288
+ isSystemTx?: undefined | undefined;
289
+ mint?: undefined | undefined;
290
+ sourceHash?: undefined | undefined;
291
+ } | {
292
+ blockHash: `0x${string}` | null;
293
+ blockNumber: bigint | null;
294
+ from: import("viem").Address;
295
+ gas: bigint;
296
+ hash: import("viem").Hash;
297
+ input: import("viem").Hex;
298
+ nonce: number;
299
+ r: import("viem").Hex;
300
+ s: import("viem").Hex;
301
+ to: import("viem").Address | null;
302
+ transactionIndex: number | null;
303
+ typeHex: import("viem").Hex | null;
304
+ v: bigint;
305
+ value: bigint;
306
+ yParity: number;
307
+ accessList: import("viem").AccessList;
308
+ authorizationList: import("viem").SignedAuthorizationList;
309
+ blobVersionedHashes?: undefined | undefined;
310
+ chainId: number;
311
+ type: "eip7702";
312
+ gasPrice?: undefined | undefined;
313
+ maxFeePerBlobGas?: undefined | undefined;
314
+ maxFeePerGas: bigint;
315
+ maxPriorityFeePerGas: bigint;
316
+ isSystemTx?: undefined | undefined;
317
+ mint?: undefined | undefined;
318
+ sourceHash?: undefined | undefined;
319
+ }) & {};
320
+ type: "transaction";
321
+ };
322
+ readonly transactionReceipt: {
323
+ exclude: [] | undefined;
324
+ format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
325
+ blobGasPrice?: bigint | undefined;
326
+ blobGasUsed?: bigint | undefined;
327
+ blockHash: import("viem").Hash;
328
+ blockNumber: bigint;
329
+ contractAddress: import("viem").Address | null | undefined;
330
+ cumulativeGasUsed: bigint;
331
+ effectiveGasPrice: bigint;
332
+ from: import("viem").Address;
333
+ gasUsed: bigint;
334
+ logs: import("viem").Log<bigint, number, false>[];
335
+ logsBloom: import("viem").Hex;
336
+ root?: `0x${string}` | undefined;
337
+ status: "success" | "reverted";
338
+ to: import("viem").Address | null;
339
+ transactionHash: import("viem").Hash;
340
+ transactionIndex: number;
341
+ type: import("viem").TransactionType;
342
+ l1GasPrice: bigint | null;
343
+ l1GasUsed: bigint | null;
344
+ l1Fee: bigint | null;
345
+ l1FeeScalar: number | null;
346
+ } & {};
347
+ type: "transactionReceipt";
348
+ };
349
+ };
350
+ serializers: {
351
+ readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
352
+ };
353
+ };
6
354
  sepolia: {
7
355
  blockExplorers: {
8
356
  readonly default: {
package/dist/esm/viem.js CHANGED
@@ -1,7 +1,9 @@
1
- import { anvil, baseSepolia, monadTestnet, plasmaTestnet, sepolia, worldchainSepolia, } from 'viem/chains';
1
+ import { anvil, base, baseSepolia, mainnet, monadTestnet, plasmaTestnet, sepolia, worldchainSepolia, } from 'viem/chains';
2
2
  import { getSupportedChain } from './chain.js';
3
3
  /** Map of supported chain short names to their viem chain objects. */
4
4
  export const chains = {
5
+ mainnet,
6
+ base,
5
7
  sepolia,
6
8
  baseSepolia,
7
9
  monadTestnet,
@@ -27,4 +29,4 @@ export function getViemChain(chainish) {
27
29
  }
28
30
  return chain;
29
31
  }
30
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmllbS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy92aWVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFDTCxLQUFLLEVBQ0wsV0FBVyxFQUNYLFlBQVksRUFDWixhQUFhLEVBQ2IsT0FBTyxFQUNQLGlCQUFpQixHQUNsQixNQUFNLGFBQWEsQ0FBQztBQUNyQixPQUFPLEVBQVksaUJBQWlCLEVBQUUsTUFBTSxZQUFZLENBQUM7QUFNekQsc0VBQXNFO0FBQ3RFLE1BQU0sQ0FBQyxNQUFNLE1BQU0sR0FBRztJQUNwQixPQUFPO0lBQ1AsV0FBVztJQUNYLFlBQVk7SUFDWixhQUFhO0lBQ2IsS0F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BTSxFQUFFLElBQUksRUFBRSxHQUFHLGlCQUFpQixDQUFDLFFBQVEsQ0FBQyxDQUFDO0lBQzdDLE1BQU0sS0FBSyxHQUFHLE1BQU0sQ0FBQyxJQUFJLENBQUMsQ0FBQztJQUMzQixJQUFJLENBQUMsS0FBSyxFQUFFLENBQUM7UUFDWCxNQUFNLElBQUksS0FBSyxDQUFDLDZCQUE2QixJQUFJLEVBQUUsQ0FBQyxDQUFDO0lBQ3ZELENBQUM7SUFDRCxPQUFPLEtBQUssQ0FBQztBQUNmLENBQUMifQ==
@@ -5,6 +5,8 @@
5
5
  * to work around Pulumi closure serialisation issues.
6
6
  */
7
7
  export declare const supportedChains: {
8
+ readonly mainnet: 1;
9
+ readonly base: 8453;
8
10
  readonly baseSepolia: 84532;
9
11
  readonly sepolia: 11155111;
10
12
  readonly monadTestnet: 10143;
@@ -19,9 +19,9 @@ export declare const localNodeLightningConfig: {
19
19
  readonly executorAddress: "0x6c9132D324231D2F68a1491686b0d4c10ee7d257";
20
20
  readonly chainId: 31337;
21
21
  readonly covalidatorUrls: readonly ["http://localhost:50055"];
22
- readonly signers: readonly ["0xD413DF212d2aeDf4F66241441c018Ce71a2119F1"];
22
+ readonly signers: readonly ["0x1769D97F7B2E6fE43B81F0De0DC5E29b18610672"];
23
23
  readonly hostChainRpcUrls: readonly ["http://localhost:8545"];
24
- readonly senderPrivateKey: "0x5683b966233cfbb5e8355f45cdb5fca9d6c713701909d01086cb85276fb9f474";
24
+ readonly senderPrivateKey: "0xfc2e9442645f76c66a7239536219739069dce95ebfb5120c09a0a3a768780556";
25
25
  };
26
26
  readonly alphanet: {
27
27
  readonly executorAddress: "0xc0d693DeEF0A91CE39208676b6da09B822abd199";
@@ -3,6 +3,354 @@ import { Chainish } from './chain.js';
3
3
  export type ViemClient = WalletClient<Transport, Chain, Account> | PublicClient<Transport, Chain>;
4
4
  /** Map of supported chain short names to their viem chain objects. */
5
5
  export declare const chains: {
6
+ mainnet: {
7
+ blockExplorers: {
8
+ readonly default: {
9
+ readonly name: "Etherscan";
10
+ readonly url: "https://etherscan.io";
11
+ readonly apiUrl: "https://api.etherscan.io/api";
12
+ };
13
+ };
14
+ blockTime: 12000;
15
+ contracts: {
16
+ readonly ensUniversalResolver: {
17
+ readonly address: "0xeeeeeeee14d718c2b47d9923deab1335e144eeee";
18
+ readonly blockCreated: 23085558;
19
+ };
20
+ readonly multicall3: {
21
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
22
+ readonly blockCreated: 14353601;
23
+ };
24
+ };
25
+ ensTlds?: readonly string[] | undefined;
26
+ id: 1;
27
+ name: "Ethereum";
28
+ nativeCurrency: {
29
+ readonly name: "Ether";
30
+ readonly symbol: "ETH";
31
+ readonly decimals: 18;
32
+ };
33
+ experimental_preconfirmationTime?: number | undefined | undefined;
34
+ rpcUrls: {
35
+ readonly default: {
36
+ readonly http: readonly ["https://eth.merkle.io"];
37
+ };
38
+ };
39
+ sourceId?: number | undefined | undefined;
40
+ testnet?: boolean | undefined | undefined;
41
+ custom?: Record<string, unknown> | undefined;
42
+ fees?: import("viem").ChainFees<undefined> | undefined;
43
+ formatters?: undefined;
44
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
45
+ };
46
+ base: {
47
+ blockExplorers: {
48
+ readonly default: {
49
+ readonly name: "Basescan";
50
+ readonly url: "https://basescan.org";
51
+ readonly apiUrl: "https://api.basescan.org/api";
52
+ };
53
+ };
54
+ blockTime: 2000;
55
+ contracts: {
56
+ readonly disputeGameFactory: {
57
+ readonly 1: {
58
+ readonly address: "0x43edB88C4B80fDD2AdFF2412A7BebF9dF42cB40e";
59
+ };
60
+ };
61
+ readonly l2OutputOracle: {
62
+ readonly 1: {
63
+ readonly address: "0x56315b90c40730925ec5485cf004d835058518A0";
64
+ };
65
+ };
66
+ readonly multicall3: {
67
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
68
+ readonly blockCreated: 5022;
69
+ };
70
+ readonly portal: {
71
+ readonly 1: {
72
+ readonly address: "0x49048044D57e1C92A77f79988d21Fa8fAF74E97e";
73
+ readonly blockCreated: 17482143;
74
+ };
75
+ };
76
+ readonly l1StandardBridge: {
77
+ readonly 1: {
78
+ readonly address: "0x3154Cf16ccdb4C6d922629664174b904d80F2C35";
79
+ readonly blockCreated: 17482143;
80
+ };
81
+ };
82
+ readonly gasPriceOracle: {
83
+ readonly address: "0x420000000000000000000000000000000000000F";
84
+ };
85
+ readonly l1Block: {
86
+ readonly address: "0x4200000000000000000000000000000000000015";
87
+ };
88
+ readonly l2CrossDomainMessenger: {
89
+ readonly address: "0x4200000000000000000000000000000000000007";
90
+ };
91
+ readonly l2Erc721Bridge: {
92
+ readonly address: "0x4200000000000000000000000000000000000014";
93
+ };
94
+ readonly l2StandardBridge: {
95
+ readonly address: "0x4200000000000000000000000000000000000010";
96
+ };
97
+ readonly l2ToL1MessagePasser: {
98
+ readonly address: "0x4200000000000000000000000000000000000016";
99
+ };
100
+ };
101
+ ensTlds?: readonly string[] | undefined;
102
+ id: 8453;
103
+ name: "Base";
104
+ nativeCurrency: {
105
+ readonly name: "Ether";
106
+ readonly symbol: "ETH";
107
+ readonly decimals: 18;
108
+ };
109
+ experimental_preconfirmationTime?: number | undefined | undefined;
110
+ rpcUrls: {
111
+ readonly default: {
112
+ readonly http: readonly ["https://mainnet.base.org"];
113
+ };
114
+ };
115
+ sourceId: 1;
116
+ testnet?: boolean | undefined | undefined;
117
+ custom?: Record<string, unknown> | undefined;
118
+ fees?: import("viem").ChainFees<undefined> | undefined;
119
+ formatters: {
120
+ readonly block: {
121
+ exclude: [] | undefined;
122
+ format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
123
+ baseFeePerGas: bigint | null;
124
+ blobGasUsed: bigint;
125
+ difficulty: bigint;
126
+ excessBlobGas: bigint;
127
+ extraData: import("viem").Hex;
128
+ gasLimit: bigint;
129
+ gasUsed: bigint;
130
+ hash: `0x${string}` | null;
131
+ logsBloom: `0x${string}` | null;
132
+ miner: import("viem").Address;
133
+ mixHash: import("viem").Hash;
134
+ nonce: `0x${string}` | null;
135
+ number: bigint | null;
136
+ parentBeaconBlockRoot?: `0x${string}` | undefined;
137
+ parentHash: import("viem").Hash;
138
+ receiptsRoot: import("viem").Hex;
139
+ sealFields: import("viem").Hex[];
140
+ sha3Uncles: import("viem").Hash;
141
+ size: bigint;
142
+ stateRoot: import("viem").Hash;
143
+ timestamp: bigint;
144
+ totalDifficulty: bigint | null;
145
+ transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
146
+ transactionsRoot: import("viem").Hash;
147
+ uncles: import("viem").Hash[];
148
+ withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
149
+ withdrawalsRoot?: `0x${string}` | undefined;
150
+ } & {};
151
+ type: "block";
152
+ };
153
+ readonly transaction: {
154
+ exclude: [] | undefined;
155
+ format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
156
+ blockHash: `0x${string}` | null;
157
+ blockNumber: bigint | null;
158
+ from: import("viem").Address;
159
+ gas: bigint;
160
+ hash: import("viem").Hash;
161
+ input: import("viem").Hex;
162
+ nonce: number;
163
+ r: import("viem").Hex;
164
+ s: import("viem").Hex;
165
+ to: import("viem").Address | null;
166
+ transactionIndex: number | null;
167
+ typeHex: import("viem").Hex | null;
168
+ v: bigint;
169
+ value: bigint;
170
+ yParity: number;
171
+ gasPrice?: undefined | undefined;
172
+ maxFeePerBlobGas?: undefined | undefined;
173
+ maxFeePerGas: bigint;
174
+ maxPriorityFeePerGas: bigint;
175
+ isSystemTx?: boolean;
176
+ mint?: bigint | undefined | undefined;
177
+ sourceHash: import("viem").Hex;
178
+ type: "deposit";
179
+ } | {
180
+ r: import("viem").Hex;
181
+ s: import("viem").Hex;
182
+ v: bigint;
183
+ value: bigint;
184
+ gas: bigint;
185
+ to: import("viem").Address | null;
186
+ from: import("viem").Address;
187
+ nonce: number;
188
+ blockHash: `0x${string}` | null;
189
+ blockNumber: bigint | null;
190
+ transactionIndex: number | null;
191
+ hash: import("viem").Hash;
192
+ input: import("viem").Hex;
193
+ typeHex: import("viem").Hex | null;
194
+ accessList?: undefined | undefined;
195
+ authorizationList?: undefined | undefined;
196
+ blobVersionedHashes?: undefined | undefined;
197
+ chainId?: number | undefined;
198
+ yParity?: undefined | undefined;
199
+ type: "legacy";
200
+ gasPrice: bigint;
201
+ maxFeePerBlobGas?: undefined | undefined;
202
+ maxFeePerGas?: undefined | undefined;
203
+ maxPriorityFeePerGas?: undefined | undefined;
204
+ isSystemTx?: undefined | undefined;
205
+ mint?: undefined | undefined;
206
+ sourceHash?: undefined | undefined;
207
+ } | {
208
+ blockHash: `0x${string}` | null;
209
+ blockNumber: bigint | null;
210
+ from: import("viem").Address;
211
+ gas: bigint;
212
+ hash: import("viem").Hash;
213
+ input: import("viem").Hex;
214
+ nonce: number;
215
+ r: import("viem").Hex;
216
+ s: import("viem").Hex;
217
+ to: import("viem").Address | null;
218
+ transactionIndex: number | null;
219
+ typeHex: import("viem").Hex | null;
220
+ v: bigint;
221
+ value: bigint;
222
+ yParity: number;
223
+ accessList: import("viem").AccessList;
224
+ authorizationList?: undefined | undefined;
225
+ blobVersionedHashes?: undefined | undefined;
226
+ chainId: number;
227
+ type: "eip2930";
228
+ gasPrice: bigint;
229
+ maxFeePerBlobGas?: undefined | undefined;
230
+ maxFeePerGas?: undefined | undefined;
231
+ maxPriorityFeePerGas?: undefined | undefined;
232
+ isSystemTx?: undefined | undefined;
233
+ mint?: undefined | undefined;
234
+ sourceHash?: undefined | undefined;
235
+ } | {
236
+ blockHash: `0x${string}` | null;
237
+ blockNumber: bigint | null;
238
+ from: import("viem").Address;
239
+ gas: bigint;
240
+ hash: import("viem").Hash;
241
+ input: import("viem").Hex;
242
+ nonce: number;
243
+ r: import("viem").Hex;
244
+ s: import("viem").Hex;
245
+ to: import("viem").Address | null;
246
+ transactionIndex: number | null;
247
+ typeHex: import("viem").Hex | null;
248
+ v: bigint;
249
+ value: bigint;
250
+ yParity: number;
251
+ accessList: import("viem").AccessList;
252
+ authorizationList?: undefined | undefined;
253
+ blobVersionedHashes?: undefined | undefined;
254
+ chainId: number;
255
+ type: "eip1559";
256
+ gasPrice?: undefined | undefined;
257
+ maxFeePerBlobGas?: undefined | undefined;
258
+ maxFeePerGas: bigint;
259
+ maxPriorityFeePerGas: bigint;
260
+ isSystemTx?: undefined | undefined;
261
+ mint?: undefined | undefined;
262
+ sourceHash?: undefined | undefined;
263
+ } | {
264
+ blockHash: `0x${string}` | null;
265
+ blockNumber: bigint | null;
266
+ from: import("viem").Address;
267
+ gas: bigint;
268
+ hash: import("viem").Hash;
269
+ input: import("viem").Hex;
270
+ nonce: number;
271
+ r: import("viem").Hex;
272
+ s: import("viem").Hex;
273
+ to: import("viem").Address | null;
274
+ transactionIndex: number | null;
275
+ typeHex: import("viem").Hex | null;
276
+ v: bigint;
277
+ value: bigint;
278
+ yParity: number;
279
+ accessList: import("viem").AccessList;
280
+ authorizationList?: undefined | undefined;
281
+ blobVersionedHashes: readonly import("viem").Hex[];
282
+ chainId: number;
283
+ type: "eip4844";
284
+ gasPrice?: undefined | undefined;
285
+ maxFeePerBlobGas: bigint;
286
+ maxFeePerGas: bigint;
287
+ maxPriorityFeePerGas: bigint;
288
+ isSystemTx?: undefined | undefined;
289
+ mint?: undefined | undefined;
290
+ sourceHash?: undefined | undefined;
291
+ } | {
292
+ blockHash: `0x${string}` | null;
293
+ blockNumber: bigint | null;
294
+ from: import("viem").Address;
295
+ gas: bigint;
296
+ hash: import("viem").Hash;
297
+ input: import("viem").Hex;
298
+ nonce: number;
299
+ r: import("viem").Hex;
300
+ s: import("viem").Hex;
301
+ to: import("viem").Address | null;
302
+ transactionIndex: number | null;
303
+ typeHex: import("viem").Hex | null;
304
+ v: bigint;
305
+ value: bigint;
306
+ yParity: number;
307
+ accessList: import("viem").AccessList;
308
+ authorizationList: import("viem").SignedAuthorizationList;
309
+ blobVersionedHashes?: undefined | undefined;
310
+ chainId: number;
311
+ type: "eip7702";
312
+ gasPrice?: undefined | undefined;
313
+ maxFeePerBlobGas?: undefined | undefined;
314
+ maxFeePerGas: bigint;
315
+ maxPriorityFeePerGas: bigint;
316
+ isSystemTx?: undefined | undefined;
317
+ mint?: undefined | undefined;
318
+ sourceHash?: undefined | undefined;
319
+ }) & {};
320
+ type: "transaction";
321
+ };
322
+ readonly transactionReceipt: {
323
+ exclude: [] | undefined;
324
+ format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
325
+ blobGasPrice?: bigint | undefined;
326
+ blobGasUsed?: bigint | undefined;
327
+ blockHash: import("viem").Hash;
328
+ blockNumber: bigint;
329
+ contractAddress: import("viem").Address | null | undefined;
330
+ cumulativeGasUsed: bigint;
331
+ effectiveGasPrice: bigint;
332
+ from: import("viem").Address;
333
+ gasUsed: bigint;
334
+ logs: import("viem").Log<bigint, number, false>[];
335
+ logsBloom: import("viem").Hex;
336
+ root?: `0x${string}` | undefined;
337
+ status: "success" | "reverted";
338
+ to: import("viem").Address | null;
339
+ transactionHash: import("viem").Hash;
340
+ transactionIndex: number;
341
+ type: import("viem").TransactionType;
342
+ l1GasPrice: bigint | null;
343
+ l1GasUsed: bigint | null;
344
+ l1Fee: bigint | null;
345
+ l1FeeScalar: number | null;
346
+ } & {};
347
+ type: "transactionReceipt";
348
+ };
349
+ };
350
+ serializers: {
351
+ readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
352
+ };
353
+ };
6
354
  sepolia: {
7
355
  blockExplorers: {
8
356
  readonly default: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inco/js",
3
- "version": "0.8.0-devnet-30",
3
+ "version": "0.8.0-devnet-31",
4
4
  "repository": "https://github.com/Inco-fhevm/inco-monorepo",
5
5
  "license": "Apache-2.0",
6
6
  "sideEffects": false,