@centrifuge/sdk 0.4.1 → 0.4.3
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 +174 -138
- package/dist/Centrifuge.d.ts.map +1 -1
- package/dist/Centrifuge.js +9 -12
- package/dist/Centrifuge.js.map +1 -1
- package/dist/config/chains.d.ts +135 -115
- package/dist/config/chains.d.ts.map +1 -1
- package/dist/entities/ShareClass.test.js +11 -11
- package/dist/entities/ShareClass.test.js.map +1 -1
- package/dist/entities/Vault.test.js +1 -1
- package/dist/entities/Vault.test.js.map +1 -1
- package/package.json +2 -2
package/dist/config/chains.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export declare const chains: ({
|
|
|
6
6
|
readonly apiUrl: "https://api.etherscan.io/api";
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
blockTime?: number | undefined | undefined;
|
|
9
10
|
contracts: {
|
|
10
11
|
readonly ensRegistry: {
|
|
11
12
|
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
|
|
@@ -19,6 +20,7 @@ export declare const chains: ({
|
|
|
19
20
|
readonly blockCreated: 14353601;
|
|
20
21
|
};
|
|
21
22
|
};
|
|
23
|
+
ensTlds?: readonly string[] | undefined;
|
|
22
24
|
id: 1;
|
|
23
25
|
name: "Ethereum";
|
|
24
26
|
nativeCurrency: {
|
|
@@ -26,13 +28,14 @@ export declare const chains: ({
|
|
|
26
28
|
readonly symbol: "ETH";
|
|
27
29
|
readonly decimals: 18;
|
|
28
30
|
};
|
|
31
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
29
32
|
rpcUrls: {
|
|
30
33
|
readonly default: {
|
|
31
34
|
readonly http: readonly ["https://eth.merkle.io"];
|
|
32
35
|
};
|
|
33
36
|
};
|
|
34
|
-
sourceId?: number | undefined;
|
|
35
|
-
testnet?: boolean | undefined;
|
|
37
|
+
sourceId?: number | undefined | undefined;
|
|
38
|
+
testnet?: boolean | undefined | undefined;
|
|
36
39
|
custom?: Record<string, unknown> | undefined;
|
|
37
40
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
38
41
|
formatters?: undefined;
|
|
@@ -45,6 +48,7 @@ export declare const chains: ({
|
|
|
45
48
|
readonly apiUrl: "https://api-sepolia.etherscan.io/api";
|
|
46
49
|
};
|
|
47
50
|
};
|
|
51
|
+
blockTime?: number | undefined | undefined;
|
|
48
52
|
contracts: {
|
|
49
53
|
readonly multicall3: {
|
|
50
54
|
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
@@ -58,6 +62,7 @@ export declare const chains: ({
|
|
|
58
62
|
readonly blockCreated: 5317080;
|
|
59
63
|
};
|
|
60
64
|
};
|
|
65
|
+
ensTlds?: readonly string[] | undefined;
|
|
61
66
|
id: 11155111;
|
|
62
67
|
name: "Sepolia";
|
|
63
68
|
nativeCurrency: {
|
|
@@ -65,12 +70,13 @@ export declare const chains: ({
|
|
|
65
70
|
readonly symbol: "ETH";
|
|
66
71
|
readonly decimals: 18;
|
|
67
72
|
};
|
|
73
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
68
74
|
rpcUrls: {
|
|
69
75
|
readonly default: {
|
|
70
76
|
readonly http: readonly ["https://sepolia.drpc.org"];
|
|
71
77
|
};
|
|
72
78
|
};
|
|
73
|
-
sourceId?: number | undefined;
|
|
79
|
+
sourceId?: number | undefined | undefined;
|
|
74
80
|
testnet: true;
|
|
75
81
|
custom?: Record<string, unknown> | undefined;
|
|
76
82
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
@@ -84,6 +90,7 @@ export declare const chains: ({
|
|
|
84
90
|
readonly apiUrl: "https://api.basescan.org/api";
|
|
85
91
|
};
|
|
86
92
|
};
|
|
93
|
+
blockTime: 2000;
|
|
87
94
|
contracts: {
|
|
88
95
|
readonly disputeGameFactory: {
|
|
89
96
|
readonly 1: {
|
|
@@ -130,6 +137,7 @@ export declare const chains: ({
|
|
|
130
137
|
readonly address: "0x4200000000000000000000000000000000000016";
|
|
131
138
|
};
|
|
132
139
|
};
|
|
140
|
+
ensTlds?: readonly string[] | undefined;
|
|
133
141
|
id: 8453;
|
|
134
142
|
name: "Base";
|
|
135
143
|
nativeCurrency: {
|
|
@@ -137,13 +145,14 @@ export declare const chains: ({
|
|
|
137
145
|
readonly symbol: "ETH";
|
|
138
146
|
readonly decimals: 18;
|
|
139
147
|
};
|
|
148
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
140
149
|
rpcUrls: {
|
|
141
150
|
readonly default: {
|
|
142
151
|
readonly http: readonly ["https://mainnet.base.org"];
|
|
143
152
|
};
|
|
144
153
|
};
|
|
145
154
|
sourceId: 1;
|
|
146
|
-
testnet?: boolean | undefined;
|
|
155
|
+
testnet?: boolean | undefined | undefined;
|
|
147
156
|
custom?: Record<string, unknown> | undefined;
|
|
148
157
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
149
158
|
formatters: {
|
|
@@ -163,7 +172,7 @@ export declare const chains: ({
|
|
|
163
172
|
mixHash: import("viem").Hash;
|
|
164
173
|
nonce: `0x${string}` | null;
|
|
165
174
|
number: bigint | null;
|
|
166
|
-
parentBeaconBlockRoot?:
|
|
175
|
+
parentBeaconBlockRoot?: `0x${string}` | undefined;
|
|
167
176
|
parentHash: import("viem").Hash;
|
|
168
177
|
receiptsRoot: import("viem").Hex;
|
|
169
178
|
sealFields: import("viem").Hex[];
|
|
@@ -175,8 +184,8 @@ export declare const chains: ({
|
|
|
175
184
|
transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
|
|
176
185
|
transactionsRoot: import("viem").Hash;
|
|
177
186
|
uncles: import("viem").Hash[];
|
|
178
|
-
withdrawals?: import("viem").Withdrawal[] | undefined;
|
|
179
|
-
withdrawalsRoot?:
|
|
187
|
+
withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
|
|
188
|
+
withdrawalsRoot?: `0x${string}` | undefined;
|
|
180
189
|
} & {};
|
|
181
190
|
type: "block";
|
|
182
191
|
};
|
|
@@ -198,12 +207,12 @@ export declare const chains: ({
|
|
|
198
207
|
v: bigint;
|
|
199
208
|
value: bigint;
|
|
200
209
|
yParity: number;
|
|
201
|
-
gasPrice?: undefined;
|
|
202
|
-
maxFeePerBlobGas?: undefined;
|
|
210
|
+
gasPrice?: undefined | undefined;
|
|
211
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
203
212
|
maxFeePerGas: bigint;
|
|
204
213
|
maxPriorityFeePerGas: bigint;
|
|
205
214
|
isSystemTx?: boolean;
|
|
206
|
-
mint?: bigint | undefined;
|
|
215
|
+
mint?: bigint | undefined | undefined;
|
|
207
216
|
sourceHash: import("viem").Hex;
|
|
208
217
|
type: "deposit";
|
|
209
218
|
} | {
|
|
@@ -221,19 +230,19 @@ export declare const chains: ({
|
|
|
221
230
|
input: import("viem").Hex;
|
|
222
231
|
transactionIndex: number | null;
|
|
223
232
|
typeHex: import("viem").Hex | null;
|
|
224
|
-
accessList?: undefined;
|
|
225
|
-
authorizationList?: undefined;
|
|
226
|
-
blobVersionedHashes?: undefined;
|
|
233
|
+
accessList?: undefined | undefined;
|
|
234
|
+
authorizationList?: undefined | undefined;
|
|
235
|
+
blobVersionedHashes?: undefined | undefined;
|
|
227
236
|
chainId?: number | undefined;
|
|
228
|
-
yParity?: undefined;
|
|
237
|
+
yParity?: undefined | undefined;
|
|
229
238
|
type: "legacy";
|
|
230
239
|
gasPrice: bigint;
|
|
231
|
-
maxFeePerBlobGas?: undefined;
|
|
232
|
-
maxFeePerGas?: undefined;
|
|
233
|
-
maxPriorityFeePerGas?: undefined;
|
|
234
|
-
isSystemTx?: undefined;
|
|
235
|
-
mint?: undefined;
|
|
236
|
-
sourceHash?: undefined;
|
|
240
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
241
|
+
maxFeePerGas?: undefined | undefined;
|
|
242
|
+
maxPriorityFeePerGas?: undefined | undefined;
|
|
243
|
+
isSystemTx?: undefined | undefined;
|
|
244
|
+
mint?: undefined | undefined;
|
|
245
|
+
sourceHash?: undefined | undefined;
|
|
237
246
|
} | {
|
|
238
247
|
blockHash: `0x${string}` | null;
|
|
239
248
|
blockNumber: bigint | null;
|
|
@@ -251,17 +260,17 @@ export declare const chains: ({
|
|
|
251
260
|
value: bigint;
|
|
252
261
|
yParity: number;
|
|
253
262
|
accessList: import("viem").AccessList;
|
|
254
|
-
authorizationList?: undefined;
|
|
255
|
-
blobVersionedHashes?: undefined;
|
|
263
|
+
authorizationList?: undefined | undefined;
|
|
264
|
+
blobVersionedHashes?: undefined | undefined;
|
|
256
265
|
chainId: number;
|
|
257
266
|
type: "eip2930";
|
|
258
267
|
gasPrice: bigint;
|
|
259
|
-
maxFeePerBlobGas?: undefined;
|
|
260
|
-
maxFeePerGas?: undefined;
|
|
261
|
-
maxPriorityFeePerGas?: undefined;
|
|
262
|
-
isSystemTx?: undefined;
|
|
263
|
-
mint?: undefined;
|
|
264
|
-
sourceHash?: undefined;
|
|
268
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
269
|
+
maxFeePerGas?: undefined | undefined;
|
|
270
|
+
maxPriorityFeePerGas?: undefined | undefined;
|
|
271
|
+
isSystemTx?: undefined | undefined;
|
|
272
|
+
mint?: undefined | undefined;
|
|
273
|
+
sourceHash?: undefined | undefined;
|
|
265
274
|
} | {
|
|
266
275
|
blockHash: `0x${string}` | null;
|
|
267
276
|
blockNumber: bigint | null;
|
|
@@ -279,17 +288,17 @@ export declare const chains: ({
|
|
|
279
288
|
value: bigint;
|
|
280
289
|
yParity: number;
|
|
281
290
|
accessList: import("viem").AccessList;
|
|
282
|
-
authorizationList?: undefined;
|
|
283
|
-
blobVersionedHashes?: undefined;
|
|
291
|
+
authorizationList?: undefined | undefined;
|
|
292
|
+
blobVersionedHashes?: undefined | undefined;
|
|
284
293
|
chainId: number;
|
|
285
294
|
type: "eip1559";
|
|
286
|
-
gasPrice?: undefined;
|
|
287
|
-
maxFeePerBlobGas?: undefined;
|
|
295
|
+
gasPrice?: undefined | undefined;
|
|
296
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
288
297
|
maxFeePerGas: bigint;
|
|
289
298
|
maxPriorityFeePerGas: bigint;
|
|
290
|
-
isSystemTx?: undefined;
|
|
291
|
-
mint?: undefined;
|
|
292
|
-
sourceHash?: undefined;
|
|
299
|
+
isSystemTx?: undefined | undefined;
|
|
300
|
+
mint?: undefined | undefined;
|
|
301
|
+
sourceHash?: undefined | undefined;
|
|
293
302
|
} | {
|
|
294
303
|
blockHash: `0x${string}` | null;
|
|
295
304
|
blockNumber: bigint | null;
|
|
@@ -307,17 +316,17 @@ export declare const chains: ({
|
|
|
307
316
|
value: bigint;
|
|
308
317
|
yParity: number;
|
|
309
318
|
accessList: import("viem").AccessList;
|
|
310
|
-
authorizationList?: undefined;
|
|
319
|
+
authorizationList?: undefined | undefined;
|
|
311
320
|
blobVersionedHashes: readonly import("viem").Hex[];
|
|
312
321
|
chainId: number;
|
|
313
322
|
type: "eip4844";
|
|
314
|
-
gasPrice?: undefined;
|
|
323
|
+
gasPrice?: undefined | undefined;
|
|
315
324
|
maxFeePerBlobGas: bigint;
|
|
316
325
|
maxFeePerGas: bigint;
|
|
317
326
|
maxPriorityFeePerGas: bigint;
|
|
318
|
-
isSystemTx?: undefined;
|
|
319
|
-
mint?: undefined;
|
|
320
|
-
sourceHash?: undefined;
|
|
327
|
+
isSystemTx?: undefined | undefined;
|
|
328
|
+
mint?: undefined | undefined;
|
|
329
|
+
sourceHash?: undefined | undefined;
|
|
321
330
|
} | {
|
|
322
331
|
blockHash: `0x${string}` | null;
|
|
323
332
|
blockNumber: bigint | null;
|
|
@@ -335,17 +344,17 @@ export declare const chains: ({
|
|
|
335
344
|
value: bigint;
|
|
336
345
|
yParity: number;
|
|
337
346
|
accessList: import("viem").AccessList;
|
|
338
|
-
authorizationList: import("viem
|
|
339
|
-
blobVersionedHashes?: undefined;
|
|
347
|
+
authorizationList: import("viem").SignedAuthorizationList;
|
|
348
|
+
blobVersionedHashes?: undefined | undefined;
|
|
340
349
|
chainId: number;
|
|
341
350
|
type: "eip7702";
|
|
342
|
-
gasPrice?: undefined;
|
|
343
|
-
maxFeePerBlobGas?: undefined;
|
|
351
|
+
gasPrice?: undefined | undefined;
|
|
352
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
344
353
|
maxFeePerGas: bigint;
|
|
345
354
|
maxPriorityFeePerGas: bigint;
|
|
346
|
-
isSystemTx?: undefined;
|
|
347
|
-
mint?: undefined;
|
|
348
|
-
sourceHash?: undefined;
|
|
355
|
+
isSystemTx?: undefined | undefined;
|
|
356
|
+
mint?: undefined | undefined;
|
|
357
|
+
sourceHash?: undefined | undefined;
|
|
349
358
|
}) & {};
|
|
350
359
|
type: "transaction";
|
|
351
360
|
};
|
|
@@ -363,7 +372,7 @@ export declare const chains: ({
|
|
|
363
372
|
gasUsed: bigint;
|
|
364
373
|
logs: import("viem").Log<bigint, number, false>[];
|
|
365
374
|
logsBloom: import("viem").Hex;
|
|
366
|
-
root?:
|
|
375
|
+
root?: `0x${string}` | undefined;
|
|
367
376
|
status: "success" | "reverted";
|
|
368
377
|
to: import("abitype").Address | null;
|
|
369
378
|
transactionHash: import("viem").Hash;
|
|
@@ -388,6 +397,7 @@ export declare const chains: ({
|
|
|
388
397
|
readonly apiUrl: "https://api-sepolia.basescan.org/api";
|
|
389
398
|
};
|
|
390
399
|
};
|
|
400
|
+
blockTime: 2000;
|
|
391
401
|
contracts: {
|
|
392
402
|
readonly disputeGameFactory: {
|
|
393
403
|
readonly 11155111: {
|
|
@@ -434,6 +444,7 @@ export declare const chains: ({
|
|
|
434
444
|
readonly address: "0x4200000000000000000000000000000000000016";
|
|
435
445
|
};
|
|
436
446
|
};
|
|
447
|
+
ensTlds?: readonly string[] | undefined;
|
|
437
448
|
id: 84532;
|
|
438
449
|
name: "Base Sepolia";
|
|
439
450
|
nativeCurrency: {
|
|
@@ -441,6 +452,7 @@ export declare const chains: ({
|
|
|
441
452
|
readonly symbol: "ETH";
|
|
442
453
|
readonly decimals: 18;
|
|
443
454
|
};
|
|
455
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
444
456
|
rpcUrls: {
|
|
445
457
|
readonly default: {
|
|
446
458
|
readonly http: readonly ["https://sepolia.base.org"];
|
|
@@ -467,7 +479,7 @@ export declare const chains: ({
|
|
|
467
479
|
mixHash: import("viem").Hash;
|
|
468
480
|
nonce: `0x${string}` | null;
|
|
469
481
|
number: bigint | null;
|
|
470
|
-
parentBeaconBlockRoot?:
|
|
482
|
+
parentBeaconBlockRoot?: `0x${string}` | undefined;
|
|
471
483
|
parentHash: import("viem").Hash;
|
|
472
484
|
receiptsRoot: import("viem").Hex;
|
|
473
485
|
sealFields: import("viem").Hex[];
|
|
@@ -479,8 +491,8 @@ export declare const chains: ({
|
|
|
479
491
|
transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
|
|
480
492
|
transactionsRoot: import("viem").Hash;
|
|
481
493
|
uncles: import("viem").Hash[];
|
|
482
|
-
withdrawals?: import("viem").Withdrawal[] | undefined;
|
|
483
|
-
withdrawalsRoot?:
|
|
494
|
+
withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
|
|
495
|
+
withdrawalsRoot?: `0x${string}` | undefined;
|
|
484
496
|
} & {};
|
|
485
497
|
type: "block";
|
|
486
498
|
};
|
|
@@ -502,12 +514,12 @@ export declare const chains: ({
|
|
|
502
514
|
v: bigint;
|
|
503
515
|
value: bigint;
|
|
504
516
|
yParity: number;
|
|
505
|
-
gasPrice?: undefined;
|
|
506
|
-
maxFeePerBlobGas?: undefined;
|
|
517
|
+
gasPrice?: undefined | undefined;
|
|
518
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
507
519
|
maxFeePerGas: bigint;
|
|
508
520
|
maxPriorityFeePerGas: bigint;
|
|
509
521
|
isSystemTx?: boolean;
|
|
510
|
-
mint?: bigint | undefined;
|
|
522
|
+
mint?: bigint | undefined | undefined;
|
|
511
523
|
sourceHash: import("viem").Hex;
|
|
512
524
|
type: "deposit";
|
|
513
525
|
} | {
|
|
@@ -525,19 +537,19 @@ export declare const chains: ({
|
|
|
525
537
|
input: import("viem").Hex;
|
|
526
538
|
transactionIndex: number | null;
|
|
527
539
|
typeHex: import("viem").Hex | null;
|
|
528
|
-
accessList?: undefined;
|
|
529
|
-
authorizationList?: undefined;
|
|
530
|
-
blobVersionedHashes?: undefined;
|
|
540
|
+
accessList?: undefined | undefined;
|
|
541
|
+
authorizationList?: undefined | undefined;
|
|
542
|
+
blobVersionedHashes?: undefined | undefined;
|
|
531
543
|
chainId?: number | undefined;
|
|
532
|
-
yParity?: undefined;
|
|
544
|
+
yParity?: undefined | undefined;
|
|
533
545
|
type: "legacy";
|
|
534
546
|
gasPrice: bigint;
|
|
535
|
-
maxFeePerBlobGas?: undefined;
|
|
536
|
-
maxFeePerGas?: undefined;
|
|
537
|
-
maxPriorityFeePerGas?: undefined;
|
|
538
|
-
isSystemTx?: undefined;
|
|
539
|
-
mint?: undefined;
|
|
540
|
-
sourceHash?: undefined;
|
|
547
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
548
|
+
maxFeePerGas?: undefined | undefined;
|
|
549
|
+
maxPriorityFeePerGas?: undefined | undefined;
|
|
550
|
+
isSystemTx?: undefined | undefined;
|
|
551
|
+
mint?: undefined | undefined;
|
|
552
|
+
sourceHash?: undefined | undefined;
|
|
541
553
|
} | {
|
|
542
554
|
blockHash: `0x${string}` | null;
|
|
543
555
|
blockNumber: bigint | null;
|
|
@@ -555,17 +567,17 @@ export declare const chains: ({
|
|
|
555
567
|
value: bigint;
|
|
556
568
|
yParity: number;
|
|
557
569
|
accessList: import("viem").AccessList;
|
|
558
|
-
authorizationList?: undefined;
|
|
559
|
-
blobVersionedHashes?: undefined;
|
|
570
|
+
authorizationList?: undefined | undefined;
|
|
571
|
+
blobVersionedHashes?: undefined | undefined;
|
|
560
572
|
chainId: number;
|
|
561
573
|
type: "eip2930";
|
|
562
574
|
gasPrice: bigint;
|
|
563
|
-
maxFeePerBlobGas?: undefined;
|
|
564
|
-
maxFeePerGas?: undefined;
|
|
565
|
-
maxPriorityFeePerGas?: undefined;
|
|
566
|
-
isSystemTx?: undefined;
|
|
567
|
-
mint?: undefined;
|
|
568
|
-
sourceHash?: undefined;
|
|
575
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
576
|
+
maxFeePerGas?: undefined | undefined;
|
|
577
|
+
maxPriorityFeePerGas?: undefined | undefined;
|
|
578
|
+
isSystemTx?: undefined | undefined;
|
|
579
|
+
mint?: undefined | undefined;
|
|
580
|
+
sourceHash?: undefined | undefined;
|
|
569
581
|
} | {
|
|
570
582
|
blockHash: `0x${string}` | null;
|
|
571
583
|
blockNumber: bigint | null;
|
|
@@ -583,17 +595,17 @@ export declare const chains: ({
|
|
|
583
595
|
value: bigint;
|
|
584
596
|
yParity: number;
|
|
585
597
|
accessList: import("viem").AccessList;
|
|
586
|
-
authorizationList?: undefined;
|
|
587
|
-
blobVersionedHashes?: undefined;
|
|
598
|
+
authorizationList?: undefined | undefined;
|
|
599
|
+
blobVersionedHashes?: undefined | undefined;
|
|
588
600
|
chainId: number;
|
|
589
601
|
type: "eip1559";
|
|
590
|
-
gasPrice?: undefined;
|
|
591
|
-
maxFeePerBlobGas?: undefined;
|
|
602
|
+
gasPrice?: undefined | undefined;
|
|
603
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
592
604
|
maxFeePerGas: bigint;
|
|
593
605
|
maxPriorityFeePerGas: bigint;
|
|
594
|
-
isSystemTx?: undefined;
|
|
595
|
-
mint?: undefined;
|
|
596
|
-
sourceHash?: undefined;
|
|
606
|
+
isSystemTx?: undefined | undefined;
|
|
607
|
+
mint?: undefined | undefined;
|
|
608
|
+
sourceHash?: undefined | undefined;
|
|
597
609
|
} | {
|
|
598
610
|
blockHash: `0x${string}` | null;
|
|
599
611
|
blockNumber: bigint | null;
|
|
@@ -611,17 +623,17 @@ export declare const chains: ({
|
|
|
611
623
|
value: bigint;
|
|
612
624
|
yParity: number;
|
|
613
625
|
accessList: import("viem").AccessList;
|
|
614
|
-
authorizationList?: undefined;
|
|
626
|
+
authorizationList?: undefined | undefined;
|
|
615
627
|
blobVersionedHashes: readonly import("viem").Hex[];
|
|
616
628
|
chainId: number;
|
|
617
629
|
type: "eip4844";
|
|
618
|
-
gasPrice?: undefined;
|
|
630
|
+
gasPrice?: undefined | undefined;
|
|
619
631
|
maxFeePerBlobGas: bigint;
|
|
620
632
|
maxFeePerGas: bigint;
|
|
621
633
|
maxPriorityFeePerGas: bigint;
|
|
622
|
-
isSystemTx?: undefined;
|
|
623
|
-
mint?: undefined;
|
|
624
|
-
sourceHash?: undefined;
|
|
634
|
+
isSystemTx?: undefined | undefined;
|
|
635
|
+
mint?: undefined | undefined;
|
|
636
|
+
sourceHash?: undefined | undefined;
|
|
625
637
|
} | {
|
|
626
638
|
blockHash: `0x${string}` | null;
|
|
627
639
|
blockNumber: bigint | null;
|
|
@@ -639,17 +651,17 @@ export declare const chains: ({
|
|
|
639
651
|
value: bigint;
|
|
640
652
|
yParity: number;
|
|
641
653
|
accessList: import("viem").AccessList;
|
|
642
|
-
authorizationList: import("viem
|
|
643
|
-
blobVersionedHashes?: undefined;
|
|
654
|
+
authorizationList: import("viem").SignedAuthorizationList;
|
|
655
|
+
blobVersionedHashes?: undefined | undefined;
|
|
644
656
|
chainId: number;
|
|
645
657
|
type: "eip7702";
|
|
646
|
-
gasPrice?: undefined;
|
|
647
|
-
maxFeePerBlobGas?: undefined;
|
|
658
|
+
gasPrice?: undefined | undefined;
|
|
659
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
648
660
|
maxFeePerGas: bigint;
|
|
649
661
|
maxPriorityFeePerGas: bigint;
|
|
650
|
-
isSystemTx?: undefined;
|
|
651
|
-
mint?: undefined;
|
|
652
|
-
sourceHash?: undefined;
|
|
662
|
+
isSystemTx?: undefined | undefined;
|
|
663
|
+
mint?: undefined | undefined;
|
|
664
|
+
sourceHash?: undefined | undefined;
|
|
653
665
|
}) & {};
|
|
654
666
|
type: "transaction";
|
|
655
667
|
};
|
|
@@ -667,7 +679,7 @@ export declare const chains: ({
|
|
|
667
679
|
gasUsed: bigint;
|
|
668
680
|
logs: import("viem").Log<bigint, number, false>[];
|
|
669
681
|
logsBloom: import("viem").Hex;
|
|
670
|
-
root?:
|
|
682
|
+
root?: `0x${string}` | undefined;
|
|
671
683
|
status: "success" | "reverted";
|
|
672
684
|
to: import("abitype").Address | null;
|
|
673
685
|
transactionHash: import("viem").Hash;
|
|
@@ -693,12 +705,14 @@ export declare const chains: ({
|
|
|
693
705
|
readonly apiUrl: "https://api.arbiscan.io/api";
|
|
694
706
|
};
|
|
695
707
|
};
|
|
708
|
+
blockTime: 250;
|
|
696
709
|
contracts: {
|
|
697
710
|
readonly multicall3: {
|
|
698
711
|
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
699
712
|
readonly blockCreated: 7654707;
|
|
700
713
|
};
|
|
701
714
|
};
|
|
715
|
+
ensTlds?: readonly string[] | undefined;
|
|
702
716
|
id: 42161;
|
|
703
717
|
name: "Arbitrum One";
|
|
704
718
|
nativeCurrency: {
|
|
@@ -706,13 +720,14 @@ export declare const chains: ({
|
|
|
706
720
|
readonly symbol: "ETH";
|
|
707
721
|
readonly decimals: 18;
|
|
708
722
|
};
|
|
723
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
709
724
|
rpcUrls: {
|
|
710
725
|
readonly default: {
|
|
711
726
|
readonly http: readonly ["https://arb1.arbitrum.io/rpc"];
|
|
712
727
|
};
|
|
713
728
|
};
|
|
714
|
-
sourceId?: number | undefined;
|
|
715
|
-
testnet?: boolean | undefined;
|
|
729
|
+
sourceId?: number | undefined | undefined;
|
|
730
|
+
testnet?: boolean | undefined | undefined;
|
|
716
731
|
custom?: Record<string, unknown> | undefined;
|
|
717
732
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
718
733
|
formatters?: undefined;
|
|
@@ -725,12 +740,14 @@ export declare const chains: ({
|
|
|
725
740
|
readonly apiUrl: "https://api-sepolia.arbiscan.io/api";
|
|
726
741
|
};
|
|
727
742
|
};
|
|
743
|
+
blockTime: 250;
|
|
728
744
|
contracts: {
|
|
729
745
|
readonly multicall3: {
|
|
730
746
|
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
731
747
|
readonly blockCreated: 81930;
|
|
732
748
|
};
|
|
733
749
|
};
|
|
750
|
+
ensTlds?: readonly string[] | undefined;
|
|
734
751
|
id: 421614;
|
|
735
752
|
name: "Arbitrum Sepolia";
|
|
736
753
|
nativeCurrency: {
|
|
@@ -738,12 +755,13 @@ export declare const chains: ({
|
|
|
738
755
|
readonly symbol: "ETH";
|
|
739
756
|
readonly decimals: 18;
|
|
740
757
|
};
|
|
758
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
741
759
|
rpcUrls: {
|
|
742
760
|
readonly default: {
|
|
743
761
|
readonly http: readonly ["https://sepolia-rollup.arbitrum.io/rpc"];
|
|
744
762
|
};
|
|
745
763
|
};
|
|
746
|
-
sourceId?: number | undefined;
|
|
764
|
+
sourceId?: number | undefined | undefined;
|
|
747
765
|
testnet: true;
|
|
748
766
|
custom?: Record<string, unknown> | undefined;
|
|
749
767
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
@@ -757,12 +775,14 @@ export declare const chains: ({
|
|
|
757
775
|
readonly apiUrl: "https://api.snowtrace.io";
|
|
758
776
|
};
|
|
759
777
|
};
|
|
778
|
+
blockTime?: number | undefined | undefined;
|
|
760
779
|
contracts: {
|
|
761
780
|
readonly multicall3: {
|
|
762
781
|
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
763
782
|
readonly blockCreated: 11907934;
|
|
764
783
|
};
|
|
765
784
|
};
|
|
785
|
+
ensTlds?: readonly string[] | undefined;
|
|
766
786
|
id: 43114;
|
|
767
787
|
name: "Avalanche";
|
|
768
788
|
nativeCurrency: {
|
|
@@ -770,13 +790,14 @@ export declare const chains: ({
|
|
|
770
790
|
readonly name: "Avalanche";
|
|
771
791
|
readonly symbol: "AVAX";
|
|
772
792
|
};
|
|
793
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
773
794
|
rpcUrls: {
|
|
774
795
|
readonly default: {
|
|
775
796
|
readonly http: readonly ["https://api.avax.network/ext/bc/C/rpc"];
|
|
776
797
|
};
|
|
777
798
|
};
|
|
778
|
-
sourceId?: number | undefined;
|
|
779
|
-
testnet?: boolean | undefined;
|
|
799
|
+
sourceId?: number | undefined | undefined;
|
|
800
|
+
testnet?: boolean | undefined | undefined;
|
|
780
801
|
custom?: Record<string, unknown> | undefined;
|
|
781
802
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
782
803
|
formatters?: undefined;
|
|
@@ -785,35 +806,34 @@ export declare const chains: ({
|
|
|
785
806
|
blockExplorers: {
|
|
786
807
|
readonly default: {
|
|
787
808
|
readonly name: "Blockscout";
|
|
788
|
-
readonly url: "https://
|
|
789
|
-
readonly apiUrl: "https://
|
|
790
|
-
};
|
|
791
|
-
};
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
universalSignatureVerifier?: import("viem").ChainContract | undefined;
|
|
801
|
-
}> | undefined;
|
|
809
|
+
readonly url: "https://explorer.plume.org";
|
|
810
|
+
readonly apiUrl: "https://explorer.plume.org/api";
|
|
811
|
+
};
|
|
812
|
+
};
|
|
813
|
+
blockTime?: number | undefined | undefined;
|
|
814
|
+
contracts: {
|
|
815
|
+
readonly multicall3: {
|
|
816
|
+
readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
|
817
|
+
readonly blockCreated: 39679;
|
|
818
|
+
};
|
|
819
|
+
};
|
|
820
|
+
ensTlds?: readonly string[] | undefined;
|
|
802
821
|
id: 98866;
|
|
803
|
-
name: "Plume
|
|
822
|
+
name: "Plume";
|
|
804
823
|
nativeCurrency: {
|
|
805
824
|
readonly name: "Plume";
|
|
806
825
|
readonly symbol: "PLUME";
|
|
807
826
|
readonly decimals: 18;
|
|
808
827
|
};
|
|
828
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
809
829
|
rpcUrls: {
|
|
810
830
|
readonly default: {
|
|
811
|
-
readonly http: readonly ["https://
|
|
812
|
-
readonly webSocket: readonly ["wss://
|
|
831
|
+
readonly http: readonly ["https://rpc.plume.org"];
|
|
832
|
+
readonly webSocket: readonly ["wss://rpc.plume.org"];
|
|
813
833
|
};
|
|
814
834
|
};
|
|
815
835
|
sourceId: 1;
|
|
816
|
-
testnet?: boolean | undefined;
|
|
836
|
+
testnet?: boolean | undefined | undefined;
|
|
817
837
|
custom?: Record<string, unknown> | undefined;
|
|
818
838
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
819
839
|
formatters?: undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chains.d.ts","sourceRoot":"","sources":["../../src/config/chains.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"chains.d.ts","sourceRoot":"","sources":["../../src/config/chains.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAC+jC,MAAgB;;yBAAyF,MAAgB,qCAAqC,MAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAA5K,MAAgB;;yBAAyF,MAAgB,qCAAqC,MAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAA68B,MAAgB;;;;kCAAuJ,aAAa;;;;;kCAAwN,MAAgB;;;;;8BAAqM,SAAS;gCAA2C,MAAgB;;;qCAAiI,CAAC;mCAAgE,MAAgB;qCAA6C,MAAgB;mCAA0C,MAAgB;mCAA4C,MAAgB;;kCAAwE,MAAgB;;;u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