@centrifuge/sdk 0.3.0 → 0.4.0
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/README.md +1 -1
- package/dist/Centrifuge.d.ts +3 -6884
- package/dist/Centrifuge.d.ts.map +1 -1
- package/dist/config/chains.d.ts +131 -145
- package/dist/config/chains.d.ts.map +1 -1
- package/package.json +28 -28
package/dist/config/chains.d.ts
CHANGED
|
@@ -6,18 +6,19 @@ export declare const chains: ({
|
|
|
6
6
|
readonly apiUrl: "https://api.etherscan.io/api";
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
-
blockTime: 12000;
|
|
10
9
|
contracts: {
|
|
10
|
+
readonly ensRegistry: {
|
|
11
|
+
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
|
|
12
|
+
};
|
|
11
13
|
readonly ensUniversalResolver: {
|
|
12
|
-
readonly address: "
|
|
13
|
-
readonly blockCreated:
|
|
14
|
+
readonly address: "0xce01f8eee7E479C928F8919abD53E553a36CeF67";
|
|
15
|
+
readonly blockCreated: 19258213;
|
|
14
16
|
};
|
|
15
17
|
readonly multicall3: {
|
|
16
18
|
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
17
19
|
readonly blockCreated: 14353601;
|
|
18
20
|
};
|
|
19
21
|
};
|
|
20
|
-
ensTlds?: readonly string[] | undefined;
|
|
21
22
|
id: 1;
|
|
22
23
|
name: "Ethereum";
|
|
23
24
|
nativeCurrency: {
|
|
@@ -25,14 +26,13 @@ export declare const chains: ({
|
|
|
25
26
|
readonly symbol: "ETH";
|
|
26
27
|
readonly decimals: 18;
|
|
27
28
|
};
|
|
28
|
-
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
29
29
|
rpcUrls: {
|
|
30
30
|
readonly default: {
|
|
31
31
|
readonly http: readonly ["https://eth.merkle.io"];
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
|
-
sourceId?: number | undefined
|
|
35
|
-
testnet?: boolean | undefined
|
|
34
|
+
sourceId?: number | undefined;
|
|
35
|
+
testnet?: boolean | undefined;
|
|
36
36
|
custom?: Record<string, unknown> | undefined;
|
|
37
37
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
38
38
|
formatters?: undefined;
|
|
@@ -45,18 +45,19 @@ export declare const chains: ({
|
|
|
45
45
|
readonly apiUrl: "https://api-sepolia.etherscan.io/api";
|
|
46
46
|
};
|
|
47
47
|
};
|
|
48
|
-
blockTime?: number | undefined | undefined;
|
|
49
48
|
contracts: {
|
|
50
49
|
readonly multicall3: {
|
|
51
50
|
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
52
51
|
readonly blockCreated: 751532;
|
|
53
52
|
};
|
|
53
|
+
readonly ensRegistry: {
|
|
54
|
+
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
|
|
55
|
+
};
|
|
54
56
|
readonly ensUniversalResolver: {
|
|
55
|
-
readonly address: "
|
|
56
|
-
readonly blockCreated:
|
|
57
|
+
readonly address: "0xc8Af999e38273D658BE1b921b88A9Ddf005769cC";
|
|
58
|
+
readonly blockCreated: 5317080;
|
|
57
59
|
};
|
|
58
60
|
};
|
|
59
|
-
ensTlds?: readonly string[] | undefined;
|
|
60
61
|
id: 11155111;
|
|
61
62
|
name: "Sepolia";
|
|
62
63
|
nativeCurrency: {
|
|
@@ -64,13 +65,12 @@ export declare const chains: ({
|
|
|
64
65
|
readonly symbol: "ETH";
|
|
65
66
|
readonly decimals: 18;
|
|
66
67
|
};
|
|
67
|
-
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
68
68
|
rpcUrls: {
|
|
69
69
|
readonly default: {
|
|
70
70
|
readonly http: readonly ["https://sepolia.drpc.org"];
|
|
71
71
|
};
|
|
72
72
|
};
|
|
73
|
-
sourceId?: number | undefined
|
|
73
|
+
sourceId?: number | undefined;
|
|
74
74
|
testnet: true;
|
|
75
75
|
custom?: Record<string, unknown> | undefined;
|
|
76
76
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
@@ -84,7 +84,6 @@ export declare const chains: ({
|
|
|
84
84
|
readonly apiUrl: "https://api.basescan.org/api";
|
|
85
85
|
};
|
|
86
86
|
};
|
|
87
|
-
blockTime: 2000;
|
|
88
87
|
contracts: {
|
|
89
88
|
readonly disputeGameFactory: {
|
|
90
89
|
readonly 1: {
|
|
@@ -131,7 +130,6 @@ export declare const chains: ({
|
|
|
131
130
|
readonly address: "0x4200000000000000000000000000000000000016";
|
|
132
131
|
};
|
|
133
132
|
};
|
|
134
|
-
ensTlds?: readonly string[] | undefined;
|
|
135
133
|
id: 8453;
|
|
136
134
|
name: "Base";
|
|
137
135
|
nativeCurrency: {
|
|
@@ -139,14 +137,13 @@ export declare const chains: ({
|
|
|
139
137
|
readonly symbol: "ETH";
|
|
140
138
|
readonly decimals: 18;
|
|
141
139
|
};
|
|
142
|
-
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
143
140
|
rpcUrls: {
|
|
144
141
|
readonly default: {
|
|
145
142
|
readonly http: readonly ["https://mainnet.base.org"];
|
|
146
143
|
};
|
|
147
144
|
};
|
|
148
145
|
sourceId: 1;
|
|
149
|
-
testnet?: boolean | undefined
|
|
146
|
+
testnet?: boolean | undefined;
|
|
150
147
|
custom?: Record<string, unknown> | undefined;
|
|
151
148
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
152
149
|
formatters: {
|
|
@@ -166,7 +163,7 @@ export declare const chains: ({
|
|
|
166
163
|
mixHash: import("viem").Hash;
|
|
167
164
|
nonce: `0x${string}` | null;
|
|
168
165
|
number: bigint | null;
|
|
169
|
-
parentBeaconBlockRoot?:
|
|
166
|
+
parentBeaconBlockRoot?: import("viem").Hex | undefined;
|
|
170
167
|
parentHash: import("viem").Hash;
|
|
171
168
|
receiptsRoot: import("viem").Hex;
|
|
172
169
|
sealFields: import("viem").Hex[];
|
|
@@ -178,8 +175,8 @@ export declare const chains: ({
|
|
|
178
175
|
transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
|
|
179
176
|
transactionsRoot: import("viem").Hash;
|
|
180
177
|
uncles: import("viem").Hash[];
|
|
181
|
-
withdrawals?: import("viem").Withdrawal[] | undefined
|
|
182
|
-
withdrawalsRoot?:
|
|
178
|
+
withdrawals?: import("viem").Withdrawal[] | undefined;
|
|
179
|
+
withdrawalsRoot?: import("viem").Hex | undefined;
|
|
183
180
|
} & {};
|
|
184
181
|
type: "block";
|
|
185
182
|
};
|
|
@@ -201,42 +198,42 @@ export declare const chains: ({
|
|
|
201
198
|
v: bigint;
|
|
202
199
|
value: bigint;
|
|
203
200
|
yParity: number;
|
|
204
|
-
gasPrice?: undefined
|
|
205
|
-
maxFeePerBlobGas?: undefined
|
|
201
|
+
gasPrice?: undefined;
|
|
202
|
+
maxFeePerBlobGas?: undefined;
|
|
206
203
|
maxFeePerGas: bigint;
|
|
207
204
|
maxPriorityFeePerGas: bigint;
|
|
208
205
|
isSystemTx?: boolean;
|
|
209
|
-
mint?: bigint | undefined
|
|
206
|
+
mint?: bigint | undefined;
|
|
210
207
|
sourceHash: import("viem").Hex;
|
|
211
208
|
type: "deposit";
|
|
212
209
|
} | {
|
|
213
210
|
r: import("viem").Hex;
|
|
214
211
|
s: import("viem").Hex;
|
|
215
212
|
v: bigint;
|
|
216
|
-
value: bigint;
|
|
217
|
-
gas: bigint;
|
|
218
213
|
to: import("abitype").Address | null;
|
|
219
214
|
from: import("abitype").Address;
|
|
215
|
+
gas: bigint;
|
|
220
216
|
nonce: number;
|
|
217
|
+
value: bigint;
|
|
221
218
|
blockHash: `0x${string}` | null;
|
|
222
219
|
blockNumber: bigint | null;
|
|
223
|
-
transactionIndex: number | null;
|
|
224
220
|
hash: import("viem").Hash;
|
|
225
221
|
input: import("viem").Hex;
|
|
222
|
+
transactionIndex: number | null;
|
|
226
223
|
typeHex: import("viem").Hex | null;
|
|
227
|
-
accessList?: undefined
|
|
228
|
-
authorizationList?: undefined
|
|
229
|
-
blobVersionedHashes?: undefined
|
|
224
|
+
accessList?: undefined;
|
|
225
|
+
authorizationList?: undefined;
|
|
226
|
+
blobVersionedHashes?: undefined;
|
|
230
227
|
chainId?: number | undefined;
|
|
231
|
-
yParity?: undefined
|
|
228
|
+
yParity?: undefined;
|
|
232
229
|
type: "legacy";
|
|
233
230
|
gasPrice: bigint;
|
|
234
|
-
maxFeePerBlobGas?: undefined
|
|
235
|
-
maxFeePerGas?: undefined
|
|
236
|
-
maxPriorityFeePerGas?: undefined
|
|
237
|
-
isSystemTx?: undefined
|
|
238
|
-
mint?: undefined
|
|
239
|
-
sourceHash?: undefined
|
|
231
|
+
maxFeePerBlobGas?: undefined;
|
|
232
|
+
maxFeePerGas?: undefined;
|
|
233
|
+
maxPriorityFeePerGas?: undefined;
|
|
234
|
+
isSystemTx?: undefined;
|
|
235
|
+
mint?: undefined;
|
|
236
|
+
sourceHash?: undefined;
|
|
240
237
|
} | {
|
|
241
238
|
blockHash: `0x${string}` | null;
|
|
242
239
|
blockNumber: bigint | null;
|
|
@@ -254,17 +251,17 @@ export declare const chains: ({
|
|
|
254
251
|
value: bigint;
|
|
255
252
|
yParity: number;
|
|
256
253
|
accessList: import("viem").AccessList;
|
|
257
|
-
authorizationList?: undefined
|
|
258
|
-
blobVersionedHashes?: undefined
|
|
254
|
+
authorizationList?: undefined;
|
|
255
|
+
blobVersionedHashes?: undefined;
|
|
259
256
|
chainId: number;
|
|
260
257
|
type: "eip2930";
|
|
261
258
|
gasPrice: bigint;
|
|
262
|
-
maxFeePerBlobGas?: undefined
|
|
263
|
-
maxFeePerGas?: undefined
|
|
264
|
-
maxPriorityFeePerGas?: undefined
|
|
265
|
-
isSystemTx?: undefined
|
|
266
|
-
mint?: undefined
|
|
267
|
-
sourceHash?: undefined
|
|
259
|
+
maxFeePerBlobGas?: undefined;
|
|
260
|
+
maxFeePerGas?: undefined;
|
|
261
|
+
maxPriorityFeePerGas?: undefined;
|
|
262
|
+
isSystemTx?: undefined;
|
|
263
|
+
mint?: undefined;
|
|
264
|
+
sourceHash?: undefined;
|
|
268
265
|
} | {
|
|
269
266
|
blockHash: `0x${string}` | null;
|
|
270
267
|
blockNumber: bigint | null;
|
|
@@ -282,17 +279,17 @@ export declare const chains: ({
|
|
|
282
279
|
value: bigint;
|
|
283
280
|
yParity: number;
|
|
284
281
|
accessList: import("viem").AccessList;
|
|
285
|
-
authorizationList?: undefined
|
|
286
|
-
blobVersionedHashes?: undefined
|
|
282
|
+
authorizationList?: undefined;
|
|
283
|
+
blobVersionedHashes?: undefined;
|
|
287
284
|
chainId: number;
|
|
288
285
|
type: "eip1559";
|
|
289
|
-
gasPrice?: undefined
|
|
290
|
-
maxFeePerBlobGas?: undefined
|
|
286
|
+
gasPrice?: undefined;
|
|
287
|
+
maxFeePerBlobGas?: undefined;
|
|
291
288
|
maxFeePerGas: bigint;
|
|
292
289
|
maxPriorityFeePerGas: bigint;
|
|
293
|
-
isSystemTx?: undefined
|
|
294
|
-
mint?: undefined
|
|
295
|
-
sourceHash?: undefined
|
|
290
|
+
isSystemTx?: undefined;
|
|
291
|
+
mint?: undefined;
|
|
292
|
+
sourceHash?: undefined;
|
|
296
293
|
} | {
|
|
297
294
|
blockHash: `0x${string}` | null;
|
|
298
295
|
blockNumber: bigint | null;
|
|
@@ -310,17 +307,17 @@ export declare const chains: ({
|
|
|
310
307
|
value: bigint;
|
|
311
308
|
yParity: number;
|
|
312
309
|
accessList: import("viem").AccessList;
|
|
313
|
-
authorizationList?: undefined
|
|
310
|
+
authorizationList?: undefined;
|
|
314
311
|
blobVersionedHashes: readonly import("viem").Hex[];
|
|
315
312
|
chainId: number;
|
|
316
313
|
type: "eip4844";
|
|
317
|
-
gasPrice?: undefined
|
|
314
|
+
gasPrice?: undefined;
|
|
318
315
|
maxFeePerBlobGas: bigint;
|
|
319
316
|
maxFeePerGas: bigint;
|
|
320
317
|
maxPriorityFeePerGas: bigint;
|
|
321
|
-
isSystemTx?: undefined
|
|
322
|
-
mint?: undefined
|
|
323
|
-
sourceHash?: undefined
|
|
318
|
+
isSystemTx?: undefined;
|
|
319
|
+
mint?: undefined;
|
|
320
|
+
sourceHash?: undefined;
|
|
324
321
|
} | {
|
|
325
322
|
blockHash: `0x${string}` | null;
|
|
326
323
|
blockNumber: bigint | null;
|
|
@@ -338,17 +335,17 @@ export declare const chains: ({
|
|
|
338
335
|
value: bigint;
|
|
339
336
|
yParity: number;
|
|
340
337
|
accessList: import("viem").AccessList;
|
|
341
|
-
authorizationList: import("viem").SignedAuthorizationList;
|
|
342
|
-
blobVersionedHashes?: undefined
|
|
338
|
+
authorizationList: import("viem/experimental").SignedAuthorizationList;
|
|
339
|
+
blobVersionedHashes?: undefined;
|
|
343
340
|
chainId: number;
|
|
344
341
|
type: "eip7702";
|
|
345
|
-
gasPrice?: undefined
|
|
346
|
-
maxFeePerBlobGas?: undefined
|
|
342
|
+
gasPrice?: undefined;
|
|
343
|
+
maxFeePerBlobGas?: undefined;
|
|
347
344
|
maxFeePerGas: bigint;
|
|
348
345
|
maxPriorityFeePerGas: bigint;
|
|
349
|
-
isSystemTx?: undefined
|
|
350
|
-
mint?: undefined
|
|
351
|
-
sourceHash?: undefined
|
|
346
|
+
isSystemTx?: undefined;
|
|
347
|
+
mint?: undefined;
|
|
348
|
+
sourceHash?: undefined;
|
|
352
349
|
}) & {};
|
|
353
350
|
type: "transaction";
|
|
354
351
|
};
|
|
@@ -366,7 +363,7 @@ export declare const chains: ({
|
|
|
366
363
|
gasUsed: bigint;
|
|
367
364
|
logs: import("viem").Log<bigint, number, false>[];
|
|
368
365
|
logsBloom: import("viem").Hex;
|
|
369
|
-
root?:
|
|
366
|
+
root?: import("viem").Hash | undefined;
|
|
370
367
|
status: "success" | "reverted";
|
|
371
368
|
to: import("abitype").Address | null;
|
|
372
369
|
transactionHash: import("viem").Hash;
|
|
@@ -391,7 +388,6 @@ export declare const chains: ({
|
|
|
391
388
|
readonly apiUrl: "https://api-sepolia.basescan.org/api";
|
|
392
389
|
};
|
|
393
390
|
};
|
|
394
|
-
blockTime: 2000;
|
|
395
391
|
contracts: {
|
|
396
392
|
readonly disputeGameFactory: {
|
|
397
393
|
readonly 11155111: {
|
|
@@ -438,7 +434,6 @@ export declare const chains: ({
|
|
|
438
434
|
readonly address: "0x4200000000000000000000000000000000000016";
|
|
439
435
|
};
|
|
440
436
|
};
|
|
441
|
-
ensTlds?: readonly string[] | undefined;
|
|
442
437
|
id: 84532;
|
|
443
438
|
name: "Base Sepolia";
|
|
444
439
|
nativeCurrency: {
|
|
@@ -446,7 +441,6 @@ export declare const chains: ({
|
|
|
446
441
|
readonly symbol: "ETH";
|
|
447
442
|
readonly decimals: 18;
|
|
448
443
|
};
|
|
449
|
-
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
450
444
|
rpcUrls: {
|
|
451
445
|
readonly default: {
|
|
452
446
|
readonly http: readonly ["https://sepolia.base.org"];
|
|
@@ -473,7 +467,7 @@ export declare const chains: ({
|
|
|
473
467
|
mixHash: import("viem").Hash;
|
|
474
468
|
nonce: `0x${string}` | null;
|
|
475
469
|
number: bigint | null;
|
|
476
|
-
parentBeaconBlockRoot?:
|
|
470
|
+
parentBeaconBlockRoot?: import("viem").Hex | undefined;
|
|
477
471
|
parentHash: import("viem").Hash;
|
|
478
472
|
receiptsRoot: import("viem").Hex;
|
|
479
473
|
sealFields: import("viem").Hex[];
|
|
@@ -485,8 +479,8 @@ export declare const chains: ({
|
|
|
485
479
|
transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
|
|
486
480
|
transactionsRoot: import("viem").Hash;
|
|
487
481
|
uncles: import("viem").Hash[];
|
|
488
|
-
withdrawals?: import("viem").Withdrawal[] | undefined
|
|
489
|
-
withdrawalsRoot?:
|
|
482
|
+
withdrawals?: import("viem").Withdrawal[] | undefined;
|
|
483
|
+
withdrawalsRoot?: import("viem").Hex | undefined;
|
|
490
484
|
} & {};
|
|
491
485
|
type: "block";
|
|
492
486
|
};
|
|
@@ -508,42 +502,42 @@ export declare const chains: ({
|
|
|
508
502
|
v: bigint;
|
|
509
503
|
value: bigint;
|
|
510
504
|
yParity: number;
|
|
511
|
-
gasPrice?: undefined
|
|
512
|
-
maxFeePerBlobGas?: undefined
|
|
505
|
+
gasPrice?: undefined;
|
|
506
|
+
maxFeePerBlobGas?: undefined;
|
|
513
507
|
maxFeePerGas: bigint;
|
|
514
508
|
maxPriorityFeePerGas: bigint;
|
|
515
509
|
isSystemTx?: boolean;
|
|
516
|
-
mint?: bigint | undefined
|
|
510
|
+
mint?: bigint | undefined;
|
|
517
511
|
sourceHash: import("viem").Hex;
|
|
518
512
|
type: "deposit";
|
|
519
513
|
} | {
|
|
520
514
|
r: import("viem").Hex;
|
|
521
515
|
s: import("viem").Hex;
|
|
522
516
|
v: bigint;
|
|
523
|
-
value: bigint;
|
|
524
|
-
gas: bigint;
|
|
525
517
|
to: import("abitype").Address | null;
|
|
526
518
|
from: import("abitype").Address;
|
|
519
|
+
gas: bigint;
|
|
527
520
|
nonce: number;
|
|
521
|
+
value: bigint;
|
|
528
522
|
blockHash: `0x${string}` | null;
|
|
529
523
|
blockNumber: bigint | null;
|
|
530
|
-
transactionIndex: number | null;
|
|
531
524
|
hash: import("viem").Hash;
|
|
532
525
|
input: import("viem").Hex;
|
|
526
|
+
transactionIndex: number | null;
|
|
533
527
|
typeHex: import("viem").Hex | null;
|
|
534
|
-
accessList?: undefined
|
|
535
|
-
authorizationList?: undefined
|
|
536
|
-
blobVersionedHashes?: undefined
|
|
528
|
+
accessList?: undefined;
|
|
529
|
+
authorizationList?: undefined;
|
|
530
|
+
blobVersionedHashes?: undefined;
|
|
537
531
|
chainId?: number | undefined;
|
|
538
|
-
yParity?: undefined
|
|
532
|
+
yParity?: undefined;
|
|
539
533
|
type: "legacy";
|
|
540
534
|
gasPrice: bigint;
|
|
541
|
-
maxFeePerBlobGas?: undefined
|
|
542
|
-
maxFeePerGas?: undefined
|
|
543
|
-
maxPriorityFeePerGas?: undefined
|
|
544
|
-
isSystemTx?: undefined
|
|
545
|
-
mint?: undefined
|
|
546
|
-
sourceHash?: undefined
|
|
535
|
+
maxFeePerBlobGas?: undefined;
|
|
536
|
+
maxFeePerGas?: undefined;
|
|
537
|
+
maxPriorityFeePerGas?: undefined;
|
|
538
|
+
isSystemTx?: undefined;
|
|
539
|
+
mint?: undefined;
|
|
540
|
+
sourceHash?: undefined;
|
|
547
541
|
} | {
|
|
548
542
|
blockHash: `0x${string}` | null;
|
|
549
543
|
blockNumber: bigint | null;
|
|
@@ -561,17 +555,17 @@ export declare const chains: ({
|
|
|
561
555
|
value: bigint;
|
|
562
556
|
yParity: number;
|
|
563
557
|
accessList: import("viem").AccessList;
|
|
564
|
-
authorizationList?: undefined
|
|
565
|
-
blobVersionedHashes?: undefined
|
|
558
|
+
authorizationList?: undefined;
|
|
559
|
+
blobVersionedHashes?: undefined;
|
|
566
560
|
chainId: number;
|
|
567
561
|
type: "eip2930";
|
|
568
562
|
gasPrice: bigint;
|
|
569
|
-
maxFeePerBlobGas?: undefined
|
|
570
|
-
maxFeePerGas?: undefined
|
|
571
|
-
maxPriorityFeePerGas?: undefined
|
|
572
|
-
isSystemTx?: undefined
|
|
573
|
-
mint?: undefined
|
|
574
|
-
sourceHash?: undefined
|
|
563
|
+
maxFeePerBlobGas?: undefined;
|
|
564
|
+
maxFeePerGas?: undefined;
|
|
565
|
+
maxPriorityFeePerGas?: undefined;
|
|
566
|
+
isSystemTx?: undefined;
|
|
567
|
+
mint?: undefined;
|
|
568
|
+
sourceHash?: undefined;
|
|
575
569
|
} | {
|
|
576
570
|
blockHash: `0x${string}` | null;
|
|
577
571
|
blockNumber: bigint | null;
|
|
@@ -589,17 +583,17 @@ export declare const chains: ({
|
|
|
589
583
|
value: bigint;
|
|
590
584
|
yParity: number;
|
|
591
585
|
accessList: import("viem").AccessList;
|
|
592
|
-
authorizationList?: undefined
|
|
593
|
-
blobVersionedHashes?: undefined
|
|
586
|
+
authorizationList?: undefined;
|
|
587
|
+
blobVersionedHashes?: undefined;
|
|
594
588
|
chainId: number;
|
|
595
589
|
type: "eip1559";
|
|
596
|
-
gasPrice?: undefined
|
|
597
|
-
maxFeePerBlobGas?: undefined
|
|
590
|
+
gasPrice?: undefined;
|
|
591
|
+
maxFeePerBlobGas?: undefined;
|
|
598
592
|
maxFeePerGas: bigint;
|
|
599
593
|
maxPriorityFeePerGas: bigint;
|
|
600
|
-
isSystemTx?: undefined
|
|
601
|
-
mint?: undefined
|
|
602
|
-
sourceHash?: undefined
|
|
594
|
+
isSystemTx?: undefined;
|
|
595
|
+
mint?: undefined;
|
|
596
|
+
sourceHash?: undefined;
|
|
603
597
|
} | {
|
|
604
598
|
blockHash: `0x${string}` | null;
|
|
605
599
|
blockNumber: bigint | null;
|
|
@@ -617,17 +611,17 @@ export declare const chains: ({
|
|
|
617
611
|
value: bigint;
|
|
618
612
|
yParity: number;
|
|
619
613
|
accessList: import("viem").AccessList;
|
|
620
|
-
authorizationList?: undefined
|
|
614
|
+
authorizationList?: undefined;
|
|
621
615
|
blobVersionedHashes: readonly import("viem").Hex[];
|
|
622
616
|
chainId: number;
|
|
623
617
|
type: "eip4844";
|
|
624
|
-
gasPrice?: undefined
|
|
618
|
+
gasPrice?: undefined;
|
|
625
619
|
maxFeePerBlobGas: bigint;
|
|
626
620
|
maxFeePerGas: bigint;
|
|
627
621
|
maxPriorityFeePerGas: bigint;
|
|
628
|
-
isSystemTx?: undefined
|
|
629
|
-
mint?: undefined
|
|
630
|
-
sourceHash?: undefined
|
|
622
|
+
isSystemTx?: undefined;
|
|
623
|
+
mint?: undefined;
|
|
624
|
+
sourceHash?: undefined;
|
|
631
625
|
} | {
|
|
632
626
|
blockHash: `0x${string}` | null;
|
|
633
627
|
blockNumber: bigint | null;
|
|
@@ -645,17 +639,17 @@ export declare const chains: ({
|
|
|
645
639
|
value: bigint;
|
|
646
640
|
yParity: number;
|
|
647
641
|
accessList: import("viem").AccessList;
|
|
648
|
-
authorizationList: import("viem").SignedAuthorizationList;
|
|
649
|
-
blobVersionedHashes?: undefined
|
|
642
|
+
authorizationList: import("viem/experimental").SignedAuthorizationList;
|
|
643
|
+
blobVersionedHashes?: undefined;
|
|
650
644
|
chainId: number;
|
|
651
645
|
type: "eip7702";
|
|
652
|
-
gasPrice?: undefined
|
|
653
|
-
maxFeePerBlobGas?: undefined
|
|
646
|
+
gasPrice?: undefined;
|
|
647
|
+
maxFeePerBlobGas?: undefined;
|
|
654
648
|
maxFeePerGas: bigint;
|
|
655
649
|
maxPriorityFeePerGas: bigint;
|
|
656
|
-
isSystemTx?: undefined
|
|
657
|
-
mint?: undefined
|
|
658
|
-
sourceHash?: undefined
|
|
650
|
+
isSystemTx?: undefined;
|
|
651
|
+
mint?: undefined;
|
|
652
|
+
sourceHash?: undefined;
|
|
659
653
|
}) & {};
|
|
660
654
|
type: "transaction";
|
|
661
655
|
};
|
|
@@ -673,7 +667,7 @@ export declare const chains: ({
|
|
|
673
667
|
gasUsed: bigint;
|
|
674
668
|
logs: import("viem").Log<bigint, number, false>[];
|
|
675
669
|
logsBloom: import("viem").Hex;
|
|
676
|
-
root?:
|
|
670
|
+
root?: import("viem").Hash | undefined;
|
|
677
671
|
status: "success" | "reverted";
|
|
678
672
|
to: import("abitype").Address | null;
|
|
679
673
|
transactionHash: import("viem").Hash;
|
|
@@ -699,14 +693,12 @@ export declare const chains: ({
|
|
|
699
693
|
readonly apiUrl: "https://api.arbiscan.io/api";
|
|
700
694
|
};
|
|
701
695
|
};
|
|
702
|
-
blockTime: 250;
|
|
703
696
|
contracts: {
|
|
704
697
|
readonly multicall3: {
|
|
705
698
|
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
706
699
|
readonly blockCreated: 7654707;
|
|
707
700
|
};
|
|
708
701
|
};
|
|
709
|
-
ensTlds?: readonly string[] | undefined;
|
|
710
702
|
id: 42161;
|
|
711
703
|
name: "Arbitrum One";
|
|
712
704
|
nativeCurrency: {
|
|
@@ -714,14 +706,13 @@ export declare const chains: ({
|
|
|
714
706
|
readonly symbol: "ETH";
|
|
715
707
|
readonly decimals: 18;
|
|
716
708
|
};
|
|
717
|
-
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
718
709
|
rpcUrls: {
|
|
719
710
|
readonly default: {
|
|
720
711
|
readonly http: readonly ["https://arb1.arbitrum.io/rpc"];
|
|
721
712
|
};
|
|
722
713
|
};
|
|
723
|
-
sourceId?: number | undefined
|
|
724
|
-
testnet?: boolean | undefined
|
|
714
|
+
sourceId?: number | undefined;
|
|
715
|
+
testnet?: boolean | undefined;
|
|
725
716
|
custom?: Record<string, unknown> | undefined;
|
|
726
717
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
727
718
|
formatters?: undefined;
|
|
@@ -734,14 +725,12 @@ export declare const chains: ({
|
|
|
734
725
|
readonly apiUrl: "https://api-sepolia.arbiscan.io/api";
|
|
735
726
|
};
|
|
736
727
|
};
|
|
737
|
-
blockTime: 250;
|
|
738
728
|
contracts: {
|
|
739
729
|
readonly multicall3: {
|
|
740
730
|
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
741
731
|
readonly blockCreated: 81930;
|
|
742
732
|
};
|
|
743
733
|
};
|
|
744
|
-
ensTlds?: readonly string[] | undefined;
|
|
745
734
|
id: 421614;
|
|
746
735
|
name: "Arbitrum Sepolia";
|
|
747
736
|
nativeCurrency: {
|
|
@@ -749,13 +738,12 @@ export declare const chains: ({
|
|
|
749
738
|
readonly symbol: "ETH";
|
|
750
739
|
readonly decimals: 18;
|
|
751
740
|
};
|
|
752
|
-
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
753
741
|
rpcUrls: {
|
|
754
742
|
readonly default: {
|
|
755
743
|
readonly http: readonly ["https://sepolia-rollup.arbitrum.io/rpc"];
|
|
756
744
|
};
|
|
757
745
|
};
|
|
758
|
-
sourceId?: number | undefined
|
|
746
|
+
sourceId?: number | undefined;
|
|
759
747
|
testnet: true;
|
|
760
748
|
custom?: Record<string, unknown> | undefined;
|
|
761
749
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
@@ -769,14 +757,12 @@ export declare const chains: ({
|
|
|
769
757
|
readonly apiUrl: "https://api.snowtrace.io";
|
|
770
758
|
};
|
|
771
759
|
};
|
|
772
|
-
blockTime: 1700;
|
|
773
760
|
contracts: {
|
|
774
761
|
readonly multicall3: {
|
|
775
762
|
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
776
763
|
readonly blockCreated: 11907934;
|
|
777
764
|
};
|
|
778
765
|
};
|
|
779
|
-
ensTlds?: readonly string[] | undefined;
|
|
780
766
|
id: 43114;
|
|
781
767
|
name: "Avalanche";
|
|
782
768
|
nativeCurrency: {
|
|
@@ -784,14 +770,13 @@ export declare const chains: ({
|
|
|
784
770
|
readonly name: "Avalanche";
|
|
785
771
|
readonly symbol: "AVAX";
|
|
786
772
|
};
|
|
787
|
-
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
788
773
|
rpcUrls: {
|
|
789
774
|
readonly default: {
|
|
790
775
|
readonly http: readonly ["https://api.avax.network/ext/bc/C/rpc"];
|
|
791
776
|
};
|
|
792
777
|
};
|
|
793
|
-
sourceId?: number | undefined
|
|
794
|
-
testnet?: boolean | undefined
|
|
778
|
+
sourceId?: number | undefined;
|
|
779
|
+
testnet?: boolean | undefined;
|
|
795
780
|
custom?: Record<string, unknown> | undefined;
|
|
796
781
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
797
782
|
formatters?: undefined;
|
|
@@ -800,34 +785,35 @@ export declare const chains: ({
|
|
|
800
785
|
blockExplorers: {
|
|
801
786
|
readonly default: {
|
|
802
787
|
readonly name: "Blockscout";
|
|
803
|
-
readonly url: "https://explorer.
|
|
804
|
-
readonly apiUrl: "https://explorer.
|
|
805
|
-
};
|
|
806
|
-
};
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
788
|
+
readonly url: "https://phoenix-explorer.plumenetwork.xyz";
|
|
789
|
+
readonly apiUrl: "https://phoenix-explorer.plumenetwork.xyz/api";
|
|
790
|
+
};
|
|
791
|
+
};
|
|
792
|
+
contracts?: import("viem/chains").Prettify<{
|
|
793
|
+
[key: string]: import("viem").ChainContract | {
|
|
794
|
+
[sourceId: number]: import("viem").ChainContract | undefined;
|
|
795
|
+
} | undefined;
|
|
796
|
+
} & {
|
|
797
|
+
ensRegistry?: import("viem").ChainContract | undefined;
|
|
798
|
+
ensUniversalResolver?: import("viem").ChainContract | undefined;
|
|
799
|
+
multicall3?: import("viem").ChainContract | undefined;
|
|
800
|
+
universalSignatureVerifier?: import("viem").ChainContract | undefined;
|
|
801
|
+
}> | undefined;
|
|
815
802
|
id: 98866;
|
|
816
|
-
name: "Plume";
|
|
803
|
+
name: "Plume Mainnet";
|
|
817
804
|
nativeCurrency: {
|
|
818
805
|
readonly name: "Plume";
|
|
819
806
|
readonly symbol: "PLUME";
|
|
820
807
|
readonly decimals: 18;
|
|
821
808
|
};
|
|
822
|
-
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
823
809
|
rpcUrls: {
|
|
824
810
|
readonly default: {
|
|
825
|
-
readonly http: readonly ["https://rpc.
|
|
826
|
-
readonly webSocket: readonly ["wss://rpc.
|
|
811
|
+
readonly http: readonly ["https://phoenix-rpc.plumenetwork.xyz"];
|
|
812
|
+
readonly webSocket: readonly ["wss://phoenix-rpc.plumenetwork.xyz"];
|
|
827
813
|
};
|
|
828
814
|
};
|
|
829
815
|
sourceId: 1;
|
|
830
|
-
testnet?: boolean | undefined
|
|
816
|
+
testnet?: boolean | undefined;
|
|
831
817
|
custom?: Record<string, unknown> | undefined;
|
|
832
818
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
833
819
|
formatters?: undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chains.d.ts","sourceRoot":"","sources":["../../src/config/chains.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;;;;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