viem 2.22.13 → 2.22.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/_cjs/chains/definitions/abstract.js +42 -0
- package/_cjs/chains/definitions/abstract.js.map +1 -0
- package/_cjs/chains/definitions/abstractTestnet.js +5 -1
- package/_cjs/chains/definitions/abstractTestnet.js.map +1 -1
- package/_cjs/chains/definitions/cronoszkEVM.js +6 -0
- package/_cjs/chains/definitions/cronoszkEVM.js.map +1 -1
- package/_cjs/chains/definitions/hemi.js +27 -0
- package/_cjs/chains/definitions/hemi.js.map +1 -0
- package/_cjs/chains/definitions/premiumBlock.js +22 -0
- package/_cjs/chains/definitions/premiumBlock.js.map +1 -0
- package/_cjs/chains/definitions/ultra.js +23 -0
- package/_cjs/chains/definitions/ultra.js.map +1 -0
- package/_cjs/chains/index.js +19 -11
- package/_cjs/chains/index.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_cjs/utils/abi/encodeEventTopics.js +3 -1
- package/_cjs/utils/abi/encodeEventTopics.js.map +1 -1
- package/_cjs/utils/buildRequest.js +1 -2
- package/_cjs/utils/buildRequest.js.map +1 -1
- package/_esm/chains/definitions/abstract.js +39 -0
- package/_esm/chains/definitions/abstract.js.map +1 -0
- package/_esm/chains/definitions/abstractTestnet.js +5 -1
- package/_esm/chains/definitions/abstractTestnet.js.map +1 -1
- package/_esm/chains/definitions/cronoszkEVM.js +6 -0
- package/_esm/chains/definitions/cronoszkEVM.js.map +1 -1
- package/_esm/chains/definitions/hemi.js +24 -0
- package/_esm/chains/definitions/hemi.js.map +1 -0
- package/_esm/chains/definitions/premiumBlock.js +19 -0
- package/_esm/chains/definitions/premiumBlock.js.map +1 -0
- package/_esm/chains/definitions/ultra.js +20 -0
- package/_esm/chains/definitions/ultra.js.map +1 -0
- package/_esm/chains/index.js +4 -0
- package/_esm/chains/index.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/utils/abi/encodeEventTopics.js +3 -1
- package/_esm/utils/abi/encodeEventTopics.js.map +1 -1
- package/_esm/utils/buildRequest.js +1 -2
- package/_esm/utils/buildRequest.js.map +1 -1
- package/_types/chains/definitions/abstract.d.ts +413 -0
- package/_types/chains/definitions/abstract.d.ts.map +1 -0
- package/_types/chains/definitions/abstractTestnet.d.ts +5 -1
- package/_types/chains/definitions/abstractTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/cronoszkEVM.d.ts +6 -10
- package/_types/chains/definitions/cronoszkEVM.d.ts.map +1 -1
- package/_types/chains/definitions/hemi.d.ts +38 -0
- package/_types/chains/definitions/hemi.d.ts.map +1 -0
- package/_types/chains/definitions/premiumBlock.d.ts +37 -0
- package/_types/chains/definitions/premiumBlock.d.ts.map +1 -0
- package/_types/chains/definitions/ultra.d.ts +37 -0
- package/_types/chains/definitions/ultra.d.ts.map +1 -0
- package/_types/chains/index.d.ts +4 -0
- package/_types/chains/index.d.ts.map +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/_types/utils/abi/encodeEventTopics.d.ts.map +1 -1
- package/_types/utils/buildRequest.d.ts.map +1 -1
- package/chains/definitions/abstract.ts +39 -0
- package/chains/definitions/abstractTestnet.ts +5 -1
- package/chains/definitions/cronoszkEVM.ts +6 -0
- package/chains/definitions/hemi.ts +24 -0
- package/chains/definitions/premiumBlock.ts +19 -0
- package/chains/definitions/ultra.ts +20 -0
- package/chains/index.ts +4 -0
- package/errors/version.ts +1 -1
- package/package.json +1 -1
- package/utils/abi/encodeEventTopics.ts +3 -1
- package/utils/buildRequest.ts +1 -2
@@ -0,0 +1,413 @@
|
|
1
|
+
export declare const abstract: {
|
2
|
+
blockExplorers: {
|
3
|
+
readonly default: {
|
4
|
+
readonly name: "Etherscan";
|
5
|
+
readonly url: "https://abscan.org";
|
6
|
+
};
|
7
|
+
readonly native: {
|
8
|
+
readonly name: "Abstract Explorer";
|
9
|
+
readonly url: "https://explorer.mainnet.abs.xyz";
|
10
|
+
};
|
11
|
+
};
|
12
|
+
contracts: {
|
13
|
+
readonly multicall3: {
|
14
|
+
readonly address: "0xAa4De41dba0Ca5dCBb288b7cC6b708F3aaC759E7";
|
15
|
+
readonly blockCreated: 5288;
|
16
|
+
};
|
17
|
+
readonly universalSignatureVerifier: {
|
18
|
+
readonly address: "0xfB688330379976DA81eB64Fe4BF50d7401763B9C";
|
19
|
+
readonly blockCreated: 5263;
|
20
|
+
};
|
21
|
+
};
|
22
|
+
id: 2741;
|
23
|
+
name: "Abstract";
|
24
|
+
nativeCurrency: {
|
25
|
+
readonly decimals: 18;
|
26
|
+
readonly name: "ETH";
|
27
|
+
readonly symbol: "ETH";
|
28
|
+
};
|
29
|
+
rpcUrls: {
|
30
|
+
readonly default: {
|
31
|
+
readonly http: readonly ["https://api.mainnet.abs.xyz"];
|
32
|
+
readonly webSocket: readonly ["wss://api.mainnet.abs.xyz/ws"];
|
33
|
+
};
|
34
|
+
};
|
35
|
+
sourceId?: number | undefined;
|
36
|
+
testnet?: boolean | undefined;
|
37
|
+
custom: {
|
38
|
+
readonly getEip712Domain: import("../../zksync/index.js").EIP712DomainFn<import("../index.js").ZkSyncTransactionSerializable, import("../index.js").ZkSyncEIP712TransactionSignable>;
|
39
|
+
};
|
40
|
+
fees?: import("../../index.js").ChainFees<undefined> | undefined;
|
41
|
+
formatters: {
|
42
|
+
readonly block: {
|
43
|
+
exclude: [] | undefined;
|
44
|
+
format: (args: import("../index.js").ZkSyncRpcBlock) => {
|
45
|
+
baseFeePerGas: bigint | null;
|
46
|
+
blobGasUsed: bigint;
|
47
|
+
difficulty: bigint;
|
48
|
+
excessBlobGas: bigint;
|
49
|
+
extraData: import("../../index.js").Hex;
|
50
|
+
gasLimit: bigint;
|
51
|
+
gasUsed: bigint;
|
52
|
+
hash: `0x${string}` | null;
|
53
|
+
logsBloom: `0x${string}` | null;
|
54
|
+
miner: import("abitype").Address;
|
55
|
+
mixHash: import("../../index.js").Hash;
|
56
|
+
nonce: `0x${string}` | null;
|
57
|
+
number: bigint | null;
|
58
|
+
parentBeaconBlockRoot?: import("../../index.js").Hex | undefined;
|
59
|
+
parentHash: import("../../index.js").Hash;
|
60
|
+
receiptsRoot: import("../../index.js").Hex;
|
61
|
+
sealFields: import("../../index.js").Hex[];
|
62
|
+
sha3Uncles: import("../../index.js").Hash;
|
63
|
+
size: bigint;
|
64
|
+
stateRoot: import("../../index.js").Hash;
|
65
|
+
timestamp: bigint;
|
66
|
+
totalDifficulty: bigint | null;
|
67
|
+
transactions: `0x${string}`[] | import("../index.js").ZkSyncTransaction<boolean>[];
|
68
|
+
transactionsRoot: import("../../index.js").Hash;
|
69
|
+
uncles: import("../../index.js").Hash[];
|
70
|
+
withdrawals?: import("../../index.js").Withdrawal[] | undefined;
|
71
|
+
withdrawalsRoot?: import("../../index.js").Hex | undefined;
|
72
|
+
l1BatchNumber: bigint | null;
|
73
|
+
l1BatchTimestamp: bigint | null;
|
74
|
+
} & {};
|
75
|
+
type: "block";
|
76
|
+
};
|
77
|
+
readonly transaction: {
|
78
|
+
exclude: [] | undefined;
|
79
|
+
format: (args: import("../index.js").ZkSyncRpcTransaction) => ({
|
80
|
+
r: import("../../index.js").Hex;
|
81
|
+
s: import("../../index.js").Hex;
|
82
|
+
v: bigint;
|
83
|
+
to: import("abitype").Address | null;
|
84
|
+
from: import("abitype").Address;
|
85
|
+
gas: bigint;
|
86
|
+
nonce: number;
|
87
|
+
value: bigint;
|
88
|
+
blockHash: `0x${string}` | null;
|
89
|
+
blockNumber: bigint | null;
|
90
|
+
hash: import("../../index.js").Hash;
|
91
|
+
input: import("../../index.js").Hex;
|
92
|
+
transactionIndex: number | null;
|
93
|
+
typeHex: import("../../index.js").Hex | null;
|
94
|
+
accessList?: undefined;
|
95
|
+
authorizationList?: undefined;
|
96
|
+
blobVersionedHashes?: undefined;
|
97
|
+
chainId?: number | undefined;
|
98
|
+
yParity?: undefined;
|
99
|
+
type: "legacy";
|
100
|
+
gasPrice: bigint;
|
101
|
+
maxFeePerBlobGas?: undefined;
|
102
|
+
maxFeePerGas?: undefined;
|
103
|
+
maxPriorityFeePerGas?: undefined;
|
104
|
+
l1BatchNumber: bigint | null;
|
105
|
+
l1BatchTxIndex: bigint | null;
|
106
|
+
} | {
|
107
|
+
blockHash: `0x${string}` | null;
|
108
|
+
blockNumber: bigint | null;
|
109
|
+
from: import("abitype").Address;
|
110
|
+
gas: bigint;
|
111
|
+
hash: import("../../index.js").Hash;
|
112
|
+
input: import("../../index.js").Hex;
|
113
|
+
nonce: number;
|
114
|
+
r: import("../../index.js").Hex;
|
115
|
+
s: import("../../index.js").Hex;
|
116
|
+
to: import("abitype").Address | null;
|
117
|
+
transactionIndex: number | null;
|
118
|
+
typeHex: import("../../index.js").Hex | null;
|
119
|
+
v: bigint;
|
120
|
+
value: bigint;
|
121
|
+
yParity: number;
|
122
|
+
accessList: import("../../index.js").AccessList;
|
123
|
+
authorizationList?: undefined;
|
124
|
+
blobVersionedHashes?: undefined;
|
125
|
+
chainId: number;
|
126
|
+
type: "eip2930";
|
127
|
+
gasPrice: bigint;
|
128
|
+
maxFeePerBlobGas?: undefined;
|
129
|
+
maxFeePerGas?: undefined;
|
130
|
+
maxPriorityFeePerGas?: undefined;
|
131
|
+
l1BatchNumber: bigint | null;
|
132
|
+
l1BatchTxIndex: bigint | null;
|
133
|
+
} | {
|
134
|
+
blockHash: `0x${string}` | null;
|
135
|
+
blockNumber: bigint | null;
|
136
|
+
from: import("abitype").Address;
|
137
|
+
gas: bigint;
|
138
|
+
hash: import("../../index.js").Hash;
|
139
|
+
input: import("../../index.js").Hex;
|
140
|
+
nonce: number;
|
141
|
+
r: import("../../index.js").Hex;
|
142
|
+
s: import("../../index.js").Hex;
|
143
|
+
to: import("abitype").Address | null;
|
144
|
+
transactionIndex: number | null;
|
145
|
+
typeHex: import("../../index.js").Hex | null;
|
146
|
+
v: bigint;
|
147
|
+
value: bigint;
|
148
|
+
yParity: number;
|
149
|
+
accessList: import("../../index.js").AccessList;
|
150
|
+
authorizationList?: undefined;
|
151
|
+
blobVersionedHashes?: undefined;
|
152
|
+
chainId: number;
|
153
|
+
type: "eip1559";
|
154
|
+
gasPrice?: undefined;
|
155
|
+
maxFeePerBlobGas?: undefined;
|
156
|
+
maxFeePerGas: bigint;
|
157
|
+
maxPriorityFeePerGas: bigint;
|
158
|
+
l1BatchNumber: bigint | null;
|
159
|
+
l1BatchTxIndex: bigint | null;
|
160
|
+
} | {
|
161
|
+
blockHash: `0x${string}` | null;
|
162
|
+
blockNumber: bigint | null;
|
163
|
+
from: import("abitype").Address;
|
164
|
+
gas: bigint;
|
165
|
+
hash: import("../../index.js").Hash;
|
166
|
+
input: import("../../index.js").Hex;
|
167
|
+
nonce: number;
|
168
|
+
r: import("../../index.js").Hex;
|
169
|
+
s: import("../../index.js").Hex;
|
170
|
+
to: import("abitype").Address | null;
|
171
|
+
transactionIndex: number | null;
|
172
|
+
typeHex: import("../../index.js").Hex | null;
|
173
|
+
v: bigint;
|
174
|
+
value: bigint;
|
175
|
+
yParity: number;
|
176
|
+
accessList: import("../../index.js").AccessList;
|
177
|
+
authorizationList?: undefined;
|
178
|
+
blobVersionedHashes: readonly import("../../index.js").Hex[];
|
179
|
+
chainId: number;
|
180
|
+
type: "eip4844";
|
181
|
+
gasPrice?: undefined;
|
182
|
+
maxFeePerBlobGas: bigint;
|
183
|
+
maxFeePerGas: bigint;
|
184
|
+
maxPriorityFeePerGas: bigint;
|
185
|
+
l1BatchNumber: bigint | null;
|
186
|
+
l1BatchTxIndex: bigint | null;
|
187
|
+
} | {
|
188
|
+
blockHash: `0x${string}` | null;
|
189
|
+
blockNumber: bigint | null;
|
190
|
+
from: import("abitype").Address;
|
191
|
+
gas: bigint;
|
192
|
+
hash: import("../../index.js").Hash;
|
193
|
+
input: import("../../index.js").Hex;
|
194
|
+
nonce: number;
|
195
|
+
r: import("../../index.js").Hex;
|
196
|
+
s: import("../../index.js").Hex;
|
197
|
+
to: import("abitype").Address | null;
|
198
|
+
transactionIndex: number | null;
|
199
|
+
typeHex: import("../../index.js").Hex | null;
|
200
|
+
v: bigint;
|
201
|
+
value: bigint;
|
202
|
+
yParity: number;
|
203
|
+
accessList: import("../../index.js").AccessList;
|
204
|
+
authorizationList: import("../../experimental/index.js").SignedAuthorizationList;
|
205
|
+
blobVersionedHashes?: undefined;
|
206
|
+
chainId: number;
|
207
|
+
type: "eip7702";
|
208
|
+
gasPrice?: undefined;
|
209
|
+
maxFeePerBlobGas?: undefined;
|
210
|
+
maxFeePerGas: bigint;
|
211
|
+
maxPriorityFeePerGas: bigint;
|
212
|
+
l1BatchNumber: bigint | null;
|
213
|
+
l1BatchTxIndex: bigint | null;
|
214
|
+
} | {
|
215
|
+
blockHash: `0x${string}` | null;
|
216
|
+
blockNumber: bigint | null;
|
217
|
+
from: import("abitype").Address;
|
218
|
+
gas: bigint;
|
219
|
+
hash: import("../../index.js").Hash;
|
220
|
+
input: import("../../index.js").Hex;
|
221
|
+
nonce: number;
|
222
|
+
r: import("../../index.js").Hex;
|
223
|
+
s: import("../../index.js").Hex;
|
224
|
+
to: import("abitype").Address | null;
|
225
|
+
transactionIndex: number | null;
|
226
|
+
typeHex: import("../../index.js").Hex | null;
|
227
|
+
v: bigint;
|
228
|
+
value: bigint;
|
229
|
+
yParity: number;
|
230
|
+
l1BatchNumber: bigint | null;
|
231
|
+
l1BatchTxIndex: bigint | null;
|
232
|
+
gasPrice?: undefined;
|
233
|
+
maxFeePerBlobGas?: undefined;
|
234
|
+
maxFeePerGas: bigint;
|
235
|
+
maxPriorityFeePerGas: bigint;
|
236
|
+
type: "priority";
|
237
|
+
} | {
|
238
|
+
blockHash: `0x${string}` | null;
|
239
|
+
blockNumber: bigint | null;
|
240
|
+
from: import("abitype").Address;
|
241
|
+
gas: bigint;
|
242
|
+
hash: import("../../index.js").Hash;
|
243
|
+
input: import("../../index.js").Hex;
|
244
|
+
nonce: number;
|
245
|
+
r: import("../../index.js").Hex;
|
246
|
+
s: import("../../index.js").Hex;
|
247
|
+
to: import("abitype").Address | null;
|
248
|
+
transactionIndex: number | null;
|
249
|
+
typeHex: import("../../index.js").Hex | null;
|
250
|
+
v: bigint;
|
251
|
+
value: bigint;
|
252
|
+
yParity: number;
|
253
|
+
l1BatchNumber: bigint | null;
|
254
|
+
l1BatchTxIndex: bigint | null;
|
255
|
+
gasPrice?: undefined;
|
256
|
+
maxFeePerBlobGas?: undefined;
|
257
|
+
maxFeePerGas: bigint;
|
258
|
+
maxPriorityFeePerGas: bigint;
|
259
|
+
type: "eip712" | "priority";
|
260
|
+
}) & {};
|
261
|
+
type: "transaction";
|
262
|
+
};
|
263
|
+
readonly transactionReceipt: {
|
264
|
+
exclude: [] | undefined;
|
265
|
+
format: (args: import("../index.js").ZkSyncRpcTransactionReceipt) => {
|
266
|
+
type: import("../index.js").ZkSyncTransactionType;
|
267
|
+
to: import("abitype").Address | null;
|
268
|
+
from: import("abitype").Address;
|
269
|
+
blockHash: import("../../index.js").Hash;
|
270
|
+
blockNumber: bigint;
|
271
|
+
transactionIndex: number;
|
272
|
+
status: "success" | "reverted";
|
273
|
+
contractAddress: import("abitype").Address | null | undefined;
|
274
|
+
logsBloom: import("../../index.js").Hex;
|
275
|
+
blobGasUsed?: bigint | undefined;
|
276
|
+
gasUsed: bigint;
|
277
|
+
transactionHash: import("../../index.js").Hash;
|
278
|
+
blobGasPrice?: bigint | undefined;
|
279
|
+
cumulativeGasUsed: bigint;
|
280
|
+
effectiveGasPrice: bigint;
|
281
|
+
root?: import("../../index.js").Hash | undefined;
|
282
|
+
l1BatchNumber: bigint | null;
|
283
|
+
l1BatchTxIndex: bigint | null;
|
284
|
+
logs: import("../index.js").ZkSyncLog[];
|
285
|
+
l2ToL1Logs: import("../index.js").ZkSyncL2ToL1Log[];
|
286
|
+
} & {};
|
287
|
+
type: "transactionReceipt";
|
288
|
+
};
|
289
|
+
readonly transactionRequest: {
|
290
|
+
exclude: ("paymaster" | "gasPerPubdata" | "factoryDeps" | "paymasterInput" | "customSignature")[] | undefined;
|
291
|
+
format: (args: import("../index.js").ZkSyncTransactionRequest) => ({
|
292
|
+
data?: import("../../index.js").Hex | undefined;
|
293
|
+
from?: import("abitype").Address | undefined;
|
294
|
+
gas?: `0x${string}` | undefined;
|
295
|
+
nonce?: `0x${string}` | undefined;
|
296
|
+
to?: import("abitype").Address | null | undefined;
|
297
|
+
type?: "0x0" | undefined;
|
298
|
+
value?: `0x${string}` | undefined;
|
299
|
+
gasPrice?: `0x${string}` | undefined;
|
300
|
+
maxFeePerBlobGas?: undefined;
|
301
|
+
maxFeePerGas?: undefined;
|
302
|
+
maxPriorityFeePerGas?: undefined;
|
303
|
+
blobs?: undefined;
|
304
|
+
accessList?: undefined;
|
305
|
+
authorizationList?: undefined;
|
306
|
+
blobVersionedHashes?: undefined;
|
307
|
+
kzg?: undefined;
|
308
|
+
sidecars?: undefined;
|
309
|
+
eip712Meta?: undefined;
|
310
|
+
} | {
|
311
|
+
data?: import("../../index.js").Hex | undefined;
|
312
|
+
from?: import("abitype").Address | undefined;
|
313
|
+
gas?: `0x${string}` | undefined;
|
314
|
+
nonce?: `0x${string}` | undefined;
|
315
|
+
to?: import("abitype").Address | null | undefined;
|
316
|
+
type?: "0x1" | undefined;
|
317
|
+
value?: `0x${string}` | undefined;
|
318
|
+
gasPrice?: `0x${string}` | undefined;
|
319
|
+
maxFeePerBlobGas?: undefined;
|
320
|
+
maxFeePerGas?: undefined;
|
321
|
+
maxPriorityFeePerGas?: undefined;
|
322
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
323
|
+
blobs?: undefined;
|
324
|
+
authorizationList?: undefined;
|
325
|
+
blobVersionedHashes?: undefined;
|
326
|
+
kzg?: undefined;
|
327
|
+
sidecars?: undefined;
|
328
|
+
eip712Meta?: undefined;
|
329
|
+
} | {
|
330
|
+
data?: import("../../index.js").Hex | undefined;
|
331
|
+
from?: import("abitype").Address | undefined;
|
332
|
+
gas?: `0x${string}` | undefined;
|
333
|
+
nonce?: `0x${string}` | undefined;
|
334
|
+
to?: import("abitype").Address | null | undefined;
|
335
|
+
type?: "0x2" | undefined;
|
336
|
+
value?: `0x${string}` | undefined;
|
337
|
+
gasPrice?: undefined;
|
338
|
+
maxFeePerBlobGas?: undefined;
|
339
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
340
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
341
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
342
|
+
blobs?: undefined;
|
343
|
+
authorizationList?: undefined;
|
344
|
+
blobVersionedHashes?: undefined;
|
345
|
+
kzg?: undefined;
|
346
|
+
sidecars?: undefined;
|
347
|
+
eip712Meta?: undefined;
|
348
|
+
} | {
|
349
|
+
type?: "0x3" | undefined;
|
350
|
+
data?: import("../../index.js").Hex | undefined;
|
351
|
+
from?: import("abitype").Address | undefined;
|
352
|
+
gas?: `0x${string}` | undefined;
|
353
|
+
nonce?: `0x${string}` | undefined;
|
354
|
+
value?: `0x${string}` | undefined;
|
355
|
+
to: `0x${string}` | null;
|
356
|
+
gasPrice?: undefined;
|
357
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
358
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
359
|
+
maxFeePerBlobGas: `0x${string}`;
|
360
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
361
|
+
blobs: readonly import("../../index.js").Hex[] | readonly import("../../index.js").ByteArray[];
|
362
|
+
blobVersionedHashes?: readonly import("../../index.js").Hex[] | undefined;
|
363
|
+
kzg?: import("../../index.js").Kzg | undefined;
|
364
|
+
sidecars?: readonly import("../../index.js").BlobSidecar<import("../../index.js").Hex>[] | undefined;
|
365
|
+
authorizationList?: undefined;
|
366
|
+
eip712Meta?: undefined;
|
367
|
+
} | {
|
368
|
+
type?: "0x4" | undefined;
|
369
|
+
gasPrice?: undefined;
|
370
|
+
maxFeePerBlobGas?: undefined;
|
371
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
372
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
373
|
+
to?: import("abitype").Address | null | undefined;
|
374
|
+
data?: import("../../index.js").Hex | undefined;
|
375
|
+
from?: import("abitype").Address | undefined;
|
376
|
+
gas?: `0x${string}` | undefined;
|
377
|
+
nonce?: `0x${string}` | undefined;
|
378
|
+
value?: `0x${string}` | undefined;
|
379
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
380
|
+
authorizationList?: import("../../experimental/index.js").RpcAuthorizationList | undefined;
|
381
|
+
blobs?: undefined;
|
382
|
+
blobVersionedHashes?: undefined;
|
383
|
+
kzg?: undefined;
|
384
|
+
sidecars?: undefined;
|
385
|
+
eip712Meta?: undefined;
|
386
|
+
} | {
|
387
|
+
data?: import("../../index.js").Hex | undefined;
|
388
|
+
from?: import("abitype").Address | undefined;
|
389
|
+
gas?: `0x${string}` | undefined;
|
390
|
+
nonce?: `0x${string}` | undefined;
|
391
|
+
to?: import("abitype").Address | null | undefined;
|
392
|
+
type: "0xff" | "0x71";
|
393
|
+
value?: `0x${string}` | undefined;
|
394
|
+
gasPrice?: undefined;
|
395
|
+
maxFeePerBlobGas?: undefined;
|
396
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
397
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
398
|
+
eip712Meta: import("../index.js").ZkSyncEip712Meta;
|
399
|
+
}) & {
|
400
|
+
paymaster: never;
|
401
|
+
gasPerPubdata: never;
|
402
|
+
factoryDeps: never;
|
403
|
+
paymasterInput: never;
|
404
|
+
customSignature: never;
|
405
|
+
};
|
406
|
+
type: "transactionRequest";
|
407
|
+
};
|
408
|
+
};
|
409
|
+
serializers: {
|
410
|
+
readonly transaction: typeof import("../../zksync/serializers.js").serializeTransaction;
|
411
|
+
};
|
412
|
+
};
|
413
|
+
//# sourceMappingURL=abstract.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"abstract.d.ts","sourceRoot":"","sources":["../../../chains/definitions/abstract.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmCnB,CAAA"}
|
@@ -1,9 +1,13 @@
|
|
1
1
|
export declare const abstractTestnet: {
|
2
2
|
blockExplorers: {
|
3
3
|
readonly default: {
|
4
|
-
readonly name: "
|
4
|
+
readonly name: "Etherscan";
|
5
5
|
readonly url: "https://sepolia.abscan.org";
|
6
6
|
};
|
7
|
+
readonly native: {
|
8
|
+
readonly name: "Abstract Explorer";
|
9
|
+
readonly url: "https://explorer.testnet.abs.xyz";
|
10
|
+
};
|
7
11
|
};
|
8
12
|
contracts: {
|
9
13
|
readonly multicall3: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"abstractTestnet.d.ts","sourceRoot":"","sources":["../../../chains/definitions/abstractTestnet.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe
|
1
|
+
{"version":3,"file":"abstractTestnet.d.ts","sourceRoot":"","sources":["../../../chains/definitions/abstractTestnet.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiC1B,CAAA"}
|
@@ -5,16 +5,12 @@ export declare const cronoszkEVM: {
|
|
5
5
|
readonly url: "https://explorer.zkevm.cronos.org";
|
6
6
|
};
|
7
7
|
};
|
8
|
-
contracts
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
ensUniversalResolver?: import("../../index.js").ChainContract | undefined;
|
15
|
-
multicall3?: import("../../index.js").ChainContract | undefined;
|
16
|
-
universalSignatureVerifier?: import("../../index.js").ChainContract | undefined;
|
17
|
-
}> | undefined;
|
8
|
+
contracts: {
|
9
|
+
readonly multicall3: {
|
10
|
+
readonly address: "0x06f4487d7c4a5983d2660db965cc6d2565e4cfaa";
|
11
|
+
readonly blockCreated: 72;
|
12
|
+
};
|
13
|
+
};
|
18
14
|
id: 388;
|
19
15
|
name: "Cronos zkEVM Mainnet";
|
20
16
|
nativeCurrency: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"cronoszkEVM.d.ts","sourceRoot":"","sources":["../../../chains/definitions/cronoszkEVM.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW
|
1
|
+
{"version":3,"file":"cronoszkEVM.d.ts","sourceRoot":"","sources":["../../../chains/definitions/cronoszkEVM.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuBtB,CAAA"}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
export declare const hemi: {
|
2
|
+
blockExplorers: {
|
3
|
+
readonly default: {
|
4
|
+
readonly name: "blockscout";
|
5
|
+
readonly url: "https://explorer.hemi.xyz";
|
6
|
+
};
|
7
|
+
};
|
8
|
+
contracts?: import("../index.js").Prettify<{
|
9
|
+
[key: string]: import("../../index.js").ChainContract | {
|
10
|
+
[sourceId: number]: import("../../index.js").ChainContract | undefined;
|
11
|
+
} | undefined;
|
12
|
+
} & {
|
13
|
+
ensRegistry?: import("../../index.js").ChainContract | undefined;
|
14
|
+
ensUniversalResolver?: import("../../index.js").ChainContract | undefined;
|
15
|
+
multicall3?: import("../../index.js").ChainContract | undefined;
|
16
|
+
universalSignatureVerifier?: import("../../index.js").ChainContract | undefined;
|
17
|
+
}> | undefined;
|
18
|
+
id: 43111;
|
19
|
+
name: "Hemi";
|
20
|
+
nativeCurrency: {
|
21
|
+
readonly name: "Ether";
|
22
|
+
readonly symbol: "ETH";
|
23
|
+
readonly decimals: 18;
|
24
|
+
};
|
25
|
+
rpcUrls: {
|
26
|
+
readonly default: {
|
27
|
+
readonly http: readonly ["https://rpc.hemi.network/rpc"];
|
28
|
+
};
|
29
|
+
};
|
30
|
+
sourceId?: number | undefined;
|
31
|
+
testnet: false;
|
32
|
+
custom?: Record<string, unknown> | undefined;
|
33
|
+
fees?: import("../../index.js").ChainFees<undefined> | undefined;
|
34
|
+
formatters?: undefined;
|
35
|
+
serializers?: import("../../index.js").ChainSerializers<undefined, import("../../index.js").TransactionSerializable> | undefined;
|
36
|
+
readonly network: "Hemi";
|
37
|
+
};
|
38
|
+
//# sourceMappingURL=hemi.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"hemi.d.ts","sourceRoot":"","sources":["../../../chains/definitions/hemi.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI;;;;;;;;;;;;mBAsBm+B,CAAC;4BAA0D,CAAC;kBAAgD,CAAC;kCAAgE,CAAC;;;;;;;;;;;;;;;;;;;;;CADhqC,CAAA"}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
export declare const premiumBlockTestnet: {
|
2
|
+
blockExplorers: {
|
3
|
+
readonly default: {
|
4
|
+
readonly name: "PremiumBlocks Explorer";
|
5
|
+
readonly url: "https://scan.premiumblock.org";
|
6
|
+
};
|
7
|
+
};
|
8
|
+
contracts?: import("../index.js").Prettify<{
|
9
|
+
[key: string]: import("../../index.js").ChainContract | {
|
10
|
+
[sourceId: number]: import("../../index.js").ChainContract | undefined;
|
11
|
+
} | undefined;
|
12
|
+
} & {
|
13
|
+
ensRegistry?: import("../../index.js").ChainContract | undefined;
|
14
|
+
ensUniversalResolver?: import("../../index.js").ChainContract | undefined;
|
15
|
+
multicall3?: import("../../index.js").ChainContract | undefined;
|
16
|
+
universalSignatureVerifier?: import("../../index.js").ChainContract | undefined;
|
17
|
+
}> | undefined;
|
18
|
+
id: 23023;
|
19
|
+
name: "PremiumBlock Testnet";
|
20
|
+
nativeCurrency: {
|
21
|
+
readonly name: "Premium Block";
|
22
|
+
readonly symbol: "PBLK";
|
23
|
+
readonly decimals: 18;
|
24
|
+
};
|
25
|
+
rpcUrls: {
|
26
|
+
readonly default: {
|
27
|
+
readonly http: readonly ["https://rpc.premiumblock.org"];
|
28
|
+
};
|
29
|
+
};
|
30
|
+
sourceId?: number | undefined;
|
31
|
+
testnet: true;
|
32
|
+
custom?: Record<string, unknown> | undefined;
|
33
|
+
fees?: import("../../index.js").ChainFees<undefined> | undefined;
|
34
|
+
formatters?: undefined;
|
35
|
+
serializers?: import("../../index.js").ChainSerializers<undefined, import("../../index.js").TransactionSerializable> | undefined;
|
36
|
+
};
|
37
|
+
//# sourceMappingURL=premiumBlock.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"premiumBlock.d.ts","sourceRoot":"","sources":["../../../chains/definitions/premiumBlock.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;mBAiB87B,CAAC;4BAA0D,CAAC;kBAAgD,CAAC;kCAAgE,CAAC;;;;;;;;;;;;;;;;;;;;CAD1oC,CAAA"}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
export declare const ultra: {
|
2
|
+
blockExplorers: {
|
3
|
+
readonly default: {
|
4
|
+
readonly name: "Ultra EVM Explorer";
|
5
|
+
readonly url: "https://evmexplorer.ultra.io";
|
6
|
+
};
|
7
|
+
};
|
8
|
+
contracts?: import("../index.js").Prettify<{
|
9
|
+
[key: string]: import("../../index.js").ChainContract | {
|
10
|
+
[sourceId: number]: import("../../index.js").ChainContract | undefined;
|
11
|
+
} | undefined;
|
12
|
+
} & {
|
13
|
+
ensRegistry?: import("../../index.js").ChainContract | undefined;
|
14
|
+
ensUniversalResolver?: import("../../index.js").ChainContract | undefined;
|
15
|
+
multicall3?: import("../../index.js").ChainContract | undefined;
|
16
|
+
universalSignatureVerifier?: import("../../index.js").ChainContract | undefined;
|
17
|
+
}> | undefined;
|
18
|
+
id: 19991;
|
19
|
+
name: "Ultra EVM";
|
20
|
+
nativeCurrency: {
|
21
|
+
readonly decimals: 18;
|
22
|
+
readonly name: "Ultra Token";
|
23
|
+
readonly symbol: "UOS";
|
24
|
+
};
|
25
|
+
rpcUrls: {
|
26
|
+
readonly default: {
|
27
|
+
readonly http: readonly ["https://evm.ultra.eosusa.io"];
|
28
|
+
};
|
29
|
+
};
|
30
|
+
sourceId?: number | undefined;
|
31
|
+
testnet?: boolean | undefined;
|
32
|
+
custom?: Record<string, unknown> | undefined;
|
33
|
+
fees?: import("../../index.js").ChainFees<undefined> | undefined;
|
34
|
+
formatters?: undefined;
|
35
|
+
serializers?: import("../../index.js").ChainSerializers<undefined, import("../../index.js").TransactionSerializable> | undefined;
|
36
|
+
};
|
37
|
+
//# sourceMappingURL=ultra.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ultra.d.ts","sourceRoot":"","sources":["../../../chains/definitions/ultra.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;mBAkB4/B,CAAC;4BAA0D,CAAC;kBAAgD,CAAC;kCAAgE,CAAC;;;;;;;;;;;;;;;;;;;;CAD1rC,CAAA"}
|
package/_types/chains/index.d.ts
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
export type { Chain } from '../types/chain.js';
|
2
2
|
export { abey } from './definitions/abey.js';
|
3
|
+
export { abstract } from './definitions/abstract.js';
|
3
4
|
export { abstractTestnet } from './definitions/abstractTestnet.js';
|
4
5
|
export { acala } from './definitions/acala.js';
|
5
6
|
export { acria } from './definitions/acria.js';
|
@@ -202,6 +203,7 @@ export { hedera } from './definitions/hedera.js';
|
|
202
203
|
export { hederaPreviewnet } from './definitions/hederaPreviewnet.js';
|
203
204
|
export { hederaTestnet } from './definitions/hederaTestnet.js';
|
204
205
|
export { hela } from './definitions/hela.js';
|
206
|
+
export { hemi } from './definitions/hemi.js';
|
205
207
|
export { hemiSepolia } from './definitions/hemiSepolia.js';
|
206
208
|
export { holesky } from './definitions/holesky.js';
|
207
209
|
export { hpb } from './definitions/hpb.js';
|
@@ -350,6 +352,7 @@ export { polygonZkEvm } from './definitions/polygonZkEvm.js';
|
|
350
352
|
export { polygonZkEvmCardona } from './definitions/polygonZkEvmCardona.js';
|
351
353
|
/** @deprecated Use `polygonZkEvmCardona` instead. */
|
352
354
|
export { polygonZkEvmTestnet } from './definitions/polygonZkEvmTestnet.js';
|
355
|
+
export { premiumBlockTestnet } from './definitions/premiumBlock.js';
|
353
356
|
export { pulsechain } from './definitions/pulsechain.js';
|
354
357
|
export { pulsechainV4 } from './definitions/pulsechainV4.js';
|
355
358
|
export { ql1 } from './definitions/ql1.js';
|
@@ -462,6 +465,7 @@ export { treasure } from './definitions/treasure.js';
|
|
462
465
|
export { treasureTopaz } from './definitions/treasureTopaz.js';
|
463
466
|
export { tron } from './definitions/tron.js';
|
464
467
|
export { ubiq } from './definitions/ubiq.js';
|
468
|
+
export { ultra } from './definitions/ultra.js';
|
465
469
|
export { ultraTestnet } from './definitions/ultraTestnet.js';
|
466
470
|
export { ultron } from './definitions/ultron.js';
|
467
471
|
export { ultronTestnet } from './definitions/ultronTestnet.js';
|