@centrifuge/sdk 0.0.0-alpha.14 → 0.0.0-alpha.16
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/dist/Centrifuge.d.ts +4 -2
- package/dist/Centrifuge.d.ts.map +1 -1
- package/dist/Centrifuge.js +29 -31
- package/dist/Centrifuge.js.map +1 -1
- package/dist/Centrifuge.test.js +40 -0
- package/dist/Centrifuge.test.js.map +1 -1
- package/dist/abi/AsyncRequestManager.abi.d.ts +1 -1
- package/dist/abi/AsyncRequestManager.abi.d.ts.map +1 -1
- package/dist/abi/AsyncRequestManager.abi.js +35 -36
- package/dist/abi/AsyncRequestManager.abi.js.map +1 -1
- package/dist/abi/AsyncVault.abi.d.ts +1 -1
- package/dist/abi/AsyncVault.abi.d.ts.map +1 -1
- package/dist/abi/AsyncVault.abi.js +36 -35
- package/dist/abi/AsyncVault.abi.js.map +1 -1
- package/dist/abi/Holdings.abi.d.ts +1 -1
- package/dist/abi/Holdings.abi.d.ts.map +1 -1
- package/dist/abi/Holdings.abi.js +29 -24
- package/dist/abi/Holdings.abi.js.map +1 -1
- package/dist/abi/Hub.abi.d.ts +1 -1
- package/dist/abi/Hub.abi.d.ts.map +1 -1
- package/dist/abi/Hub.abi.js +50 -44
- package/dist/abi/Hub.abi.js.map +1 -1
- package/dist/abi/MessageDispatcher.abi.js +1 -1
- package/dist/abi/MessageDispatcher.abi.js.map +1 -1
- package/dist/abi/MultiAdapter.abi.d.ts +3 -0
- package/dist/abi/MultiAdapter.abi.d.ts.map +1 -0
- package/dist/abi/MultiAdapter.abi.js +53 -0
- package/dist/abi/MultiAdapter.abi.js.map +1 -0
- package/dist/abi/RestrictionManager.abi.d.ts +1 -1
- package/dist/abi/RestrictionManager.abi.js +1 -1
- package/dist/abi/RestrictionManager.abi.js.map +1 -1
- package/dist/abi/ShareClassManager.abi.d.ts +1 -1
- package/dist/abi/ShareClassManager.abi.d.ts.map +1 -1
- package/dist/abi/ShareClassManager.abi.js +47 -42
- package/dist/abi/ShareClassManager.abi.js.map +1 -1
- package/dist/abi/Spoke.abi.d.ts +3 -0
- package/dist/abi/Spoke.abi.d.ts.map +1 -0
- package/dist/abi/{PoolManager.abi.js → Spoke.abi.js} +59 -58
- package/dist/abi/Spoke.abi.js.map +1 -0
- package/dist/abi/SyncRequestManager.abi.d.ts +1 -1
- package/dist/abi/SyncRequestManager.abi.d.ts.map +1 -1
- package/dist/abi/SyncRequestManager.abi.js +31 -29
- package/dist/abi/SyncRequestManager.abi.js.map +1 -1
- package/dist/abi/Valuation.abi.d.ts +3 -0
- package/dist/abi/Valuation.abi.d.ts.map +1 -0
- package/dist/abi/Valuation.abi.js +2 -0
- package/dist/abi/Valuation.abi.js.map +1 -0
- package/dist/abi/VaultRouter.abi.d.ts +1 -1
- package/dist/abi/VaultRouter.abi.d.ts.map +1 -1
- package/dist/abi/VaultRouter.abi.js +19 -26
- package/dist/abi/VaultRouter.abi.js.map +1 -1
- package/dist/abi/index.d.ts +3114 -2601
- package/dist/abi/index.d.ts.map +1 -1
- package/dist/abi/index.js +6 -4
- package/dist/abi/index.js.map +1 -1
- package/dist/config/chains.d.ts +455 -422
- package/dist/config/chains.d.ts.map +1 -1
- package/dist/config/chains.js +4 -3
- package/dist/config/chains.js.map +1 -1
- package/dist/config/protocol.d.ts.map +1 -1
- package/dist/config/protocol.js +4 -1
- package/dist/config/protocol.js.map +1 -1
- package/dist/entities/Investor.d.ts +1 -0
- package/dist/entities/Investor.d.ts.map +1 -1
- package/dist/entities/Investor.js +3 -0
- package/dist/entities/Investor.js.map +1 -1
- package/dist/entities/Pool.d.ts +26 -22
- package/dist/entities/Pool.d.ts.map +1 -1
- package/dist/entities/Pool.js +40 -29
- package/dist/entities/Pool.js.map +1 -1
- package/dist/entities/Pool.test.js +14 -4
- package/dist/entities/Pool.test.js.map +1 -1
- package/dist/entities/PoolNetwork.d.ts.map +1 -1
- package/dist/entities/PoolNetwork.js +19 -16
- package/dist/entities/PoolNetwork.js.map +1 -1
- package/dist/entities/Reports/index.js +1 -1
- package/dist/entities/Reports/index.js.map +1 -1
- package/dist/entities/ShareClass.d.ts +20 -0
- package/dist/entities/ShareClass.d.ts.map +1 -1
- package/dist/entities/ShareClass.js +91 -4
- package/dist/entities/ShareClass.js.map +1 -1
- package/dist/entities/ShareClass.test.js +18 -2
- package/dist/entities/ShareClass.test.js.map +1 -1
- package/dist/entities/Vault.d.ts.map +1 -1
- package/dist/entities/Vault.js +8 -7
- package/dist/entities/Vault.js.map +1 -1
- package/dist/entities/Vault.test.js +30 -17
- package/dist/entities/Vault.test.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/types/index.d.ts +3 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/utils/ipfs.d.ts +7 -0
- package/dist/utils/ipfs.d.ts.map +1 -0
- package/dist/utils/ipfs.js +64 -0
- package/dist/utils/ipfs.js.map +1 -0
- package/dist/utils/ipfs.test.d.ts +2 -0
- package/dist/utils/ipfs.test.d.ts.map +1 -0
- package/dist/utils/{pinToApi.test.js → ipfs.test.js} +4 -4
- package/dist/utils/ipfs.test.js.map +1 -0
- package/package.json +1 -1
- package/dist/abi/IERC7726.abi.d.ts +0 -3
- package/dist/abi/IERC7726.abi.d.ts.map +0 -1
- package/dist/abi/IERC7726.abi.js +0 -2
- package/dist/abi/IERC7726.abi.js.map +0 -1
- package/dist/abi/PoolManager.abi.d.ts +0 -3
- package/dist/abi/PoolManager.abi.d.ts.map +0 -1
- package/dist/abi/PoolManager.abi.js.map +0 -1
- package/dist/tests/contracts.d.ts +0 -2
- package/dist/tests/contracts.d.ts.map +0 -1
- package/dist/tests/contracts.js +0 -40
- package/dist/tests/contracts.js.map +0 -1
- package/dist/utils/createPinning.d.ts +0 -5
- package/dist/utils/createPinning.d.ts.map +0 -1
- package/dist/utils/createPinning.js +0 -16
- package/dist/utils/createPinning.js.map +0 -1
- package/dist/utils/pinToApi.d.ts +0 -2
- package/dist/utils/pinToApi.d.ts.map +0 -1
- package/dist/utils/pinToApi.js +0 -9
- package/dist/utils/pinToApi.js.map +0 -1
- package/dist/utils/pinToApi.test.d.ts +0 -2
- package/dist/utils/pinToApi.test.d.ts.map +0 -1
- package/dist/utils/pinToApi.test.js.map +0 -1
package/dist/config/chains.d.ts
CHANGED
|
@@ -383,79 +383,89 @@ export declare const chains: ({
|
|
|
383
383
|
} | {
|
|
384
384
|
blockExplorers: {
|
|
385
385
|
readonly default: {
|
|
386
|
-
readonly name: "
|
|
387
|
-
readonly url: "https://
|
|
388
|
-
readonly apiUrl: "https://api.
|
|
386
|
+
readonly name: "Basescan";
|
|
387
|
+
readonly url: "https://sepolia.basescan.org";
|
|
388
|
+
readonly apiUrl: "https://api-sepolia.basescan.org/api";
|
|
389
389
|
};
|
|
390
390
|
};
|
|
391
391
|
contracts: {
|
|
392
|
+
readonly disputeGameFactory: {
|
|
393
|
+
readonly 11155111: {
|
|
394
|
+
readonly address: "0xd6E6dBf4F7EA0ac412fD8b65ED297e64BB7a06E1";
|
|
395
|
+
};
|
|
396
|
+
};
|
|
397
|
+
readonly l2OutputOracle: {
|
|
398
|
+
readonly 11155111: {
|
|
399
|
+
readonly address: "0x84457ca9D0163FbC4bbfe4Dfbb20ba46e48DF254";
|
|
400
|
+
};
|
|
401
|
+
};
|
|
402
|
+
readonly portal: {
|
|
403
|
+
readonly 11155111: {
|
|
404
|
+
readonly address: "0x49f53e41452c74589e85ca1677426ba426459e85";
|
|
405
|
+
readonly blockCreated: 4446677;
|
|
406
|
+
};
|
|
407
|
+
};
|
|
408
|
+
readonly l1StandardBridge: {
|
|
409
|
+
readonly 11155111: {
|
|
410
|
+
readonly address: "0xfd0Bf71F60660E2f608ed56e1659C450eB113120";
|
|
411
|
+
readonly blockCreated: 4446677;
|
|
412
|
+
};
|
|
413
|
+
};
|
|
392
414
|
readonly multicall3: {
|
|
393
415
|
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
394
|
-
readonly blockCreated:
|
|
416
|
+
readonly blockCreated: 1059647;
|
|
395
417
|
};
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
name: "Arbitrum One";
|
|
399
|
-
nativeCurrency: {
|
|
400
|
-
readonly name: "Ether";
|
|
401
|
-
readonly symbol: "ETH";
|
|
402
|
-
readonly decimals: 18;
|
|
403
|
-
};
|
|
404
|
-
rpcUrls: {
|
|
405
|
-
readonly default: {
|
|
406
|
-
readonly http: readonly ["https://arb1.arbitrum.io/rpc"];
|
|
418
|
+
readonly gasPriceOracle: {
|
|
419
|
+
readonly address: "0x420000000000000000000000000000000000000F";
|
|
407
420
|
};
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
testnet?: boolean | undefined;
|
|
411
|
-
custom?: Record<string, unknown> | undefined;
|
|
412
|
-
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
413
|
-
formatters?: undefined;
|
|
414
|
-
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
415
|
-
} | {
|
|
416
|
-
blockExplorers: {
|
|
417
|
-
readonly default: {
|
|
418
|
-
readonly name: "Celo Explorer";
|
|
419
|
-
readonly url: "https://celoscan.io";
|
|
420
|
-
readonly apiUrl: "https://api.celoscan.io/api";
|
|
421
|
+
readonly l1Block: {
|
|
422
|
+
readonly address: "0x4200000000000000000000000000000000000015";
|
|
421
423
|
};
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
readonly
|
|
424
|
+
readonly l2CrossDomainMessenger: {
|
|
425
|
+
readonly address: "0x4200000000000000000000000000000000000007";
|
|
426
|
+
};
|
|
427
|
+
readonly l2Erc721Bridge: {
|
|
428
|
+
readonly address: "0x4200000000000000000000000000000000000014";
|
|
429
|
+
};
|
|
430
|
+
readonly l2StandardBridge: {
|
|
431
|
+
readonly address: "0x4200000000000000000000000000000000000010";
|
|
432
|
+
};
|
|
433
|
+
readonly l2ToL1MessagePasser: {
|
|
434
|
+
readonly address: "0x4200000000000000000000000000000000000016";
|
|
427
435
|
};
|
|
428
436
|
};
|
|
429
|
-
id:
|
|
430
|
-
name: "
|
|
437
|
+
id: 84532;
|
|
438
|
+
name: "Base Sepolia";
|
|
431
439
|
nativeCurrency: {
|
|
440
|
+
readonly name: "Sepolia Ether";
|
|
441
|
+
readonly symbol: "ETH";
|
|
432
442
|
readonly decimals: 18;
|
|
433
|
-
readonly name: "CELO";
|
|
434
|
-
readonly symbol: "CELO";
|
|
435
443
|
};
|
|
436
444
|
rpcUrls: {
|
|
437
445
|
readonly default: {
|
|
438
|
-
readonly http: readonly ["https://
|
|
446
|
+
readonly http: readonly ["https://sepolia.base.org"];
|
|
439
447
|
};
|
|
440
448
|
};
|
|
441
|
-
sourceId
|
|
442
|
-
testnet:
|
|
449
|
+
sourceId: 11155111;
|
|
450
|
+
testnet: true;
|
|
443
451
|
custom?: Record<string, unknown> | undefined;
|
|
444
|
-
fees
|
|
452
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
453
|
+
formatters: {
|
|
445
454
|
readonly block: {
|
|
446
455
|
exclude: [] | undefined;
|
|
447
|
-
format: (args: import("viem/chains").
|
|
456
|
+
format: (args: import("viem/chains").OpStackRpcBlock) => {
|
|
448
457
|
baseFeePerGas: bigint | null;
|
|
449
458
|
blobGasUsed: bigint;
|
|
450
|
-
difficulty: bigint
|
|
459
|
+
difficulty: bigint;
|
|
451
460
|
excessBlobGas: bigint;
|
|
452
461
|
extraData: import("viem").Hex;
|
|
453
|
-
gasLimit: bigint
|
|
462
|
+
gasLimit: bigint;
|
|
454
463
|
gasUsed: bigint;
|
|
455
464
|
hash: `0x${string}` | null;
|
|
456
465
|
logsBloom: `0x${string}` | null;
|
|
457
466
|
miner: import("abitype").Address;
|
|
458
|
-
|
|
467
|
+
mixHash: import("viem").Hash;
|
|
468
|
+
nonce: `0x${string}` | null;
|
|
459
469
|
number: bigint | null;
|
|
460
470
|
parentBeaconBlockRoot?: import("viem").Hex | undefined;
|
|
461
471
|
parentHash: import("viem").Hash;
|
|
@@ -466,22 +476,41 @@ export declare const chains: ({
|
|
|
466
476
|
stateRoot: import("viem").Hash;
|
|
467
477
|
timestamp: bigint;
|
|
468
478
|
totalDifficulty: bigint | null;
|
|
469
|
-
transactions: `0x${string}`[] | import("viem/chains").
|
|
479
|
+
transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
|
|
470
480
|
transactionsRoot: import("viem").Hash;
|
|
481
|
+
uncles: import("viem").Hash[];
|
|
471
482
|
withdrawals?: import("viem").Withdrawal[] | undefined;
|
|
472
483
|
withdrawalsRoot?: import("viem").Hex | undefined;
|
|
473
|
-
mixHash?: undefined;
|
|
474
|
-
randomness?: {
|
|
475
|
-
committed: import("viem").Hex;
|
|
476
|
-
revealed: import("viem").Hex;
|
|
477
|
-
} | undefined;
|
|
478
|
-
uncles?: undefined;
|
|
479
484
|
} & {};
|
|
480
485
|
type: "block";
|
|
481
486
|
};
|
|
482
487
|
readonly transaction: {
|
|
483
488
|
exclude: [] | undefined;
|
|
484
|
-
format: (args: import("viem/chains").
|
|
489
|
+
format: (args: import("viem/chains").OpStackRpcTransaction) => ({
|
|
490
|
+
blockHash: `0x${string}` | null;
|
|
491
|
+
blockNumber: bigint | null;
|
|
492
|
+
from: import("abitype").Address;
|
|
493
|
+
gas: bigint;
|
|
494
|
+
hash: import("viem").Hash;
|
|
495
|
+
input: import("viem").Hex;
|
|
496
|
+
nonce: number;
|
|
497
|
+
r: import("viem").Hex;
|
|
498
|
+
s: import("viem").Hex;
|
|
499
|
+
to: import("abitype").Address | null;
|
|
500
|
+
transactionIndex: number | null;
|
|
501
|
+
typeHex: import("viem").Hex | null;
|
|
502
|
+
v: bigint;
|
|
503
|
+
value: bigint;
|
|
504
|
+
yParity: number;
|
|
505
|
+
gasPrice?: undefined;
|
|
506
|
+
maxFeePerBlobGas?: undefined;
|
|
507
|
+
maxFeePerGas: bigint;
|
|
508
|
+
maxPriorityFeePerGas: bigint;
|
|
509
|
+
isSystemTx?: boolean;
|
|
510
|
+
mint?: bigint | undefined;
|
|
511
|
+
sourceHash: import("viem").Hex;
|
|
512
|
+
type: "deposit";
|
|
513
|
+
} | {
|
|
485
514
|
r: import("viem").Hex;
|
|
486
515
|
s: import("viem").Hex;
|
|
487
516
|
v: bigint;
|
|
@@ -506,12 +535,9 @@ export declare const chains: ({
|
|
|
506
535
|
maxFeePerBlobGas?: undefined;
|
|
507
536
|
maxFeePerGas?: undefined;
|
|
508
537
|
maxPriorityFeePerGas?: undefined;
|
|
509
|
-
feeCurrency: import("abitype").Address | null;
|
|
510
|
-
mint?: undefined;
|
|
511
538
|
isSystemTx?: undefined;
|
|
539
|
+
mint?: undefined;
|
|
512
540
|
sourceHash?: undefined;
|
|
513
|
-
gatewayFee?: undefined;
|
|
514
|
-
gatewayFeeRecipient?: undefined;
|
|
515
541
|
} | {
|
|
516
542
|
blockHash: `0x${string}` | null;
|
|
517
543
|
blockNumber: bigint | null;
|
|
@@ -537,12 +563,9 @@ export declare const chains: ({
|
|
|
537
563
|
maxFeePerBlobGas?: undefined;
|
|
538
564
|
maxFeePerGas?: undefined;
|
|
539
565
|
maxPriorityFeePerGas?: undefined;
|
|
540
|
-
feeCurrency: import("abitype").Address | null;
|
|
541
|
-
mint?: undefined;
|
|
542
566
|
isSystemTx?: undefined;
|
|
567
|
+
mint?: undefined;
|
|
543
568
|
sourceHash?: undefined;
|
|
544
|
-
gatewayFee?: undefined;
|
|
545
|
-
gatewayFeeRecipient?: undefined;
|
|
546
569
|
} | {
|
|
547
570
|
blockHash: `0x${string}` | null;
|
|
548
571
|
blockNumber: bigint | null;
|
|
@@ -568,12 +591,9 @@ export declare const chains: ({
|
|
|
568
591
|
maxFeePerBlobGas?: undefined;
|
|
569
592
|
maxFeePerGas: bigint;
|
|
570
593
|
maxPriorityFeePerGas: bigint;
|
|
571
|
-
feeCurrency: import("abitype").Address | null;
|
|
572
|
-
mint?: undefined;
|
|
573
594
|
isSystemTx?: undefined;
|
|
595
|
+
mint?: undefined;
|
|
574
596
|
sourceHash?: undefined;
|
|
575
|
-
gatewayFee?: undefined;
|
|
576
|
-
gatewayFeeRecipient?: undefined;
|
|
577
597
|
} | {
|
|
578
598
|
blockHash: `0x${string}` | null;
|
|
579
599
|
blockNumber: bigint | null;
|
|
@@ -599,12 +619,9 @@ export declare const chains: ({
|
|
|
599
619
|
maxFeePerBlobGas: bigint;
|
|
600
620
|
maxFeePerGas: bigint;
|
|
601
621
|
maxPriorityFeePerGas: bigint;
|
|
602
|
-
feeCurrency: import("abitype").Address | null;
|
|
603
|
-
mint?: undefined;
|
|
604
622
|
isSystemTx?: undefined;
|
|
623
|
+
mint?: undefined;
|
|
605
624
|
sourceHash?: undefined;
|
|
606
|
-
gatewayFee?: undefined;
|
|
607
|
-
gatewayFeeRecipient?: undefined;
|
|
608
625
|
} | {
|
|
609
626
|
blockHash: `0x${string}` | null;
|
|
610
627
|
blockNumber: bigint | null;
|
|
@@ -630,229 +647,138 @@ export declare const chains: ({
|
|
|
630
647
|
maxFeePerBlobGas?: undefined;
|
|
631
648
|
maxFeePerGas: bigint;
|
|
632
649
|
maxPriorityFeePerGas: bigint;
|
|
633
|
-
feeCurrency: import("abitype").Address | null;
|
|
634
|
-
mint?: undefined;
|
|
635
|
-
isSystemTx?: undefined;
|
|
636
|
-
sourceHash?: undefined;
|
|
637
|
-
gatewayFee?: undefined;
|
|
638
|
-
gatewayFeeRecipient?: undefined;
|
|
639
|
-
} | {
|
|
640
|
-
blockHash: `0x${string}` | null;
|
|
641
|
-
blockNumber: bigint | null;
|
|
642
|
-
from: import("abitype").Address;
|
|
643
|
-
gas: bigint;
|
|
644
|
-
hash: import("viem").Hash;
|
|
645
|
-
input: import("viem").Hex;
|
|
646
|
-
nonce: number;
|
|
647
|
-
r: import("viem").Hex;
|
|
648
|
-
s: import("viem").Hex;
|
|
649
|
-
to: import("abitype").Address | null;
|
|
650
|
-
transactionIndex: number | null;
|
|
651
|
-
typeHex: import("viem").Hex | null;
|
|
652
|
-
v: bigint;
|
|
653
|
-
value: bigint;
|
|
654
|
-
yParity: number;
|
|
655
|
-
gasPrice?: undefined;
|
|
656
|
-
maxFeePerBlobGas?: undefined;
|
|
657
|
-
maxFeePerGas: bigint;
|
|
658
|
-
maxPriorityFeePerGas: bigint;
|
|
659
|
-
accessList: import("viem").AccessList;
|
|
660
|
-
chainId: number;
|
|
661
|
-
feeCurrency: import("abitype").Address | null;
|
|
662
|
-
gatewayFee: bigint | null;
|
|
663
|
-
gatewayFeeRecipient: import("abitype").Address | null;
|
|
664
|
-
type: "cip42";
|
|
665
|
-
authorizationList?: undefined;
|
|
666
|
-
blobVersionedHashes?: undefined;
|
|
667
|
-
mint?: undefined;
|
|
668
650
|
isSystemTx?: undefined;
|
|
669
|
-
sourceHash?: undefined;
|
|
670
|
-
} | {
|
|
671
|
-
blockHash: `0x${string}` | null;
|
|
672
|
-
blockNumber: bigint | null;
|
|
673
|
-
from: import("abitype").Address;
|
|
674
|
-
gas: bigint;
|
|
675
|
-
hash: import("viem").Hash;
|
|
676
|
-
input: import("viem").Hex;
|
|
677
|
-
nonce: number;
|
|
678
|
-
r: import("viem").Hex;
|
|
679
|
-
s: import("viem").Hex;
|
|
680
|
-
to: import("abitype").Address | null;
|
|
681
|
-
transactionIndex: number | null;
|
|
682
|
-
typeHex: import("viem").Hex | null;
|
|
683
|
-
v: bigint;
|
|
684
|
-
value: bigint;
|
|
685
|
-
yParity: number;
|
|
686
|
-
gasPrice?: undefined;
|
|
687
|
-
maxFeePerBlobGas?: undefined;
|
|
688
|
-
maxFeePerGas: bigint;
|
|
689
|
-
maxPriorityFeePerGas: bigint;
|
|
690
|
-
accessList: import("viem").AccessList;
|
|
691
|
-
chainId: number;
|
|
692
|
-
feeCurrency: import("abitype").Address | null;
|
|
693
|
-
type: "cip64";
|
|
694
|
-
authorizationList?: undefined;
|
|
695
|
-
blobVersionedHashes?: undefined;
|
|
696
651
|
mint?: undefined;
|
|
697
|
-
isSystemTx?: undefined;
|
|
698
652
|
sourceHash?: undefined;
|
|
699
|
-
gatewayFee?: undefined;
|
|
700
|
-
gatewayFeeRecipient?: undefined;
|
|
701
|
-
} | {
|
|
702
|
-
blockHash: `0x${string}` | null;
|
|
703
|
-
blockNumber: bigint | null;
|
|
704
|
-
from: import("abitype").Address;
|
|
705
|
-
gas: bigint;
|
|
706
|
-
hash: import("viem").Hash;
|
|
707
|
-
input: import("viem").Hex;
|
|
708
|
-
nonce: number;
|
|
709
|
-
r: import("viem").Hex;
|
|
710
|
-
s: import("viem").Hex;
|
|
711
|
-
to: import("abitype").Address | null;
|
|
712
|
-
transactionIndex: number | null;
|
|
713
|
-
typeHex: import("viem").Hex | null;
|
|
714
|
-
v: bigint;
|
|
715
|
-
value: bigint;
|
|
716
|
-
yParity: number;
|
|
717
|
-
gasPrice?: undefined;
|
|
718
|
-
maxFeePerBlobGas?: undefined;
|
|
719
|
-
maxFeePerGas: bigint;
|
|
720
|
-
maxPriorityFeePerGas: bigint;
|
|
721
|
-
isSystemTx?: boolean;
|
|
722
|
-
mint?: bigint | undefined;
|
|
723
|
-
sourceHash: import("viem").Hex;
|
|
724
|
-
type: "deposit";
|
|
725
|
-
accessList?: undefined;
|
|
726
|
-
authorizationList?: undefined;
|
|
727
|
-
blobVersionedHashes?: undefined;
|
|
728
|
-
chainId?: undefined;
|
|
729
|
-
feeCurrency?: undefined;
|
|
730
|
-
gatewayFee?: undefined;
|
|
731
|
-
gatewayFeeRecipient?: undefined;
|
|
732
653
|
}) & {};
|
|
733
654
|
type: "transaction";
|
|
734
655
|
};
|
|
735
|
-
readonly
|
|
656
|
+
readonly transactionReceipt: {
|
|
736
657
|
exclude: [] | undefined;
|
|
737
|
-
format: (args: import("viem/chains").
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
to?: import("abitype").Address | null | undefined;
|
|
762
|
-
type?: "0x1" | undefined;
|
|
763
|
-
value?: `0x${string}` | undefined;
|
|
764
|
-
gasPrice?: `0x${string}` | undefined;
|
|
765
|
-
maxFeePerBlobGas?: undefined;
|
|
766
|
-
maxFeePerGas?: undefined;
|
|
767
|
-
maxPriorityFeePerGas?: undefined;
|
|
768
|
-
accessList?: import("viem").AccessList | undefined;
|
|
769
|
-
blobs?: undefined;
|
|
770
|
-
authorizationList?: undefined;
|
|
771
|
-
blobVersionedHashes?: undefined;
|
|
772
|
-
kzg?: undefined;
|
|
773
|
-
sidecars?: undefined;
|
|
774
|
-
feeCurrency?: import("abitype").Address | undefined;
|
|
775
|
-
} | {
|
|
776
|
-
data?: import("viem").Hex | undefined;
|
|
777
|
-
from?: import("abitype").Address | undefined;
|
|
778
|
-
gas?: `0x${string}` | undefined;
|
|
779
|
-
nonce?: `0x${string}` | undefined;
|
|
780
|
-
to?: import("abitype").Address | null | undefined;
|
|
781
|
-
type?: "0x2" | undefined;
|
|
782
|
-
value?: `0x${string}` | undefined;
|
|
783
|
-
gasPrice?: undefined;
|
|
784
|
-
maxFeePerBlobGas?: undefined;
|
|
785
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
|
786
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
787
|
-
accessList?: import("viem").AccessList | undefined;
|
|
788
|
-
blobs?: undefined;
|
|
789
|
-
authorizationList?: undefined;
|
|
790
|
-
blobVersionedHashes?: undefined;
|
|
791
|
-
kzg?: undefined;
|
|
792
|
-
sidecars?: undefined;
|
|
793
|
-
feeCurrency?: import("abitype").Address | undefined;
|
|
794
|
-
} | {
|
|
795
|
-
type?: "0x3" | undefined;
|
|
796
|
-
data?: import("viem").Hex | undefined;
|
|
797
|
-
from?: import("abitype").Address | undefined;
|
|
798
|
-
gas?: `0x${string}` | undefined;
|
|
799
|
-
nonce?: `0x${string}` | undefined;
|
|
800
|
-
value?: `0x${string}` | undefined;
|
|
801
|
-
to: `0x${string}` | null;
|
|
802
|
-
gasPrice?: undefined;
|
|
803
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
|
804
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
805
|
-
maxFeePerBlobGas: `0x${string}`;
|
|
806
|
-
accessList?: import("viem").AccessList | undefined;
|
|
807
|
-
blobs: readonly import("viem").Hex[] | readonly import("viem").ByteArray[];
|
|
808
|
-
blobVersionedHashes?: readonly import("viem").Hex[] | undefined;
|
|
809
|
-
kzg?: import("viem").Kzg | undefined;
|
|
810
|
-
sidecars?: readonly import("viem").BlobSidecar<import("viem").Hex>[] | undefined;
|
|
811
|
-
authorizationList?: undefined;
|
|
812
|
-
feeCurrency?: import("abitype").Address | undefined;
|
|
813
|
-
} | {
|
|
814
|
-
type?: "0x4" | undefined;
|
|
815
|
-
gasPrice?: undefined;
|
|
816
|
-
maxFeePerBlobGas?: undefined;
|
|
817
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
|
818
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
819
|
-
to?: import("abitype").Address | null | undefined;
|
|
820
|
-
data?: import("viem").Hex | undefined;
|
|
821
|
-
from?: import("abitype").Address | undefined;
|
|
822
|
-
gas?: `0x${string}` | undefined;
|
|
823
|
-
nonce?: `0x${string}` | undefined;
|
|
824
|
-
value?: `0x${string}` | undefined;
|
|
825
|
-
accessList?: import("viem").AccessList | undefined;
|
|
826
|
-
authorizationList?: import("viem/experimental").RpcAuthorizationList | undefined;
|
|
827
|
-
blobs?: undefined;
|
|
828
|
-
blobVersionedHashes?: undefined;
|
|
829
|
-
kzg?: undefined;
|
|
830
|
-
sidecars?: undefined;
|
|
831
|
-
feeCurrency?: import("abitype").Address | undefined;
|
|
832
|
-
} | {
|
|
833
|
-
data?: import("viem").Hex | undefined;
|
|
834
|
-
from?: import("abitype").Address | undefined;
|
|
835
|
-
gas?: `0x${string}` | undefined;
|
|
836
|
-
nonce?: `0x${string}` | undefined;
|
|
837
|
-
to?: import("abitype").Address | null | undefined;
|
|
838
|
-
type?: "0x7b" | undefined;
|
|
839
|
-
value?: `0x${string}` | undefined;
|
|
840
|
-
accessList?: import("viem").AccessList | undefined;
|
|
841
|
-
feeCurrency?: import("abitype").Address | undefined;
|
|
842
|
-
gasPrice?: undefined;
|
|
843
|
-
maxFeePerBlobGas?: undefined;
|
|
844
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
|
845
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
846
|
-
blobs?: undefined;
|
|
847
|
-
authorizationList?: undefined;
|
|
848
|
-
blobVersionedHashes?: undefined;
|
|
849
|
-
kzg?: undefined;
|
|
850
|
-
sidecars?: undefined;
|
|
851
|
-
}) & {};
|
|
852
|
-
type: "transactionRequest";
|
|
658
|
+
format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
|
|
659
|
+
blobGasPrice?: bigint | undefined;
|
|
660
|
+
blobGasUsed?: bigint | undefined;
|
|
661
|
+
blockHash: import("viem").Hash;
|
|
662
|
+
blockNumber: bigint;
|
|
663
|
+
contractAddress: import("abitype").Address | null | undefined;
|
|
664
|
+
cumulativeGasUsed: bigint;
|
|
665
|
+
effectiveGasPrice: bigint;
|
|
666
|
+
from: import("abitype").Address;
|
|
667
|
+
gasUsed: bigint;
|
|
668
|
+
logs: import("viem").Log<bigint, number, false>[];
|
|
669
|
+
logsBloom: import("viem").Hex;
|
|
670
|
+
root?: import("viem").Hash | undefined;
|
|
671
|
+
status: "success" | "reverted";
|
|
672
|
+
to: import("abitype").Address | null;
|
|
673
|
+
transactionHash: import("viem").Hash;
|
|
674
|
+
transactionIndex: number;
|
|
675
|
+
type: import("viem").TransactionType;
|
|
676
|
+
l1GasPrice: bigint | null;
|
|
677
|
+
l1GasUsed: bigint | null;
|
|
678
|
+
l1Fee: bigint | null;
|
|
679
|
+
l1FeeScalar: number | null;
|
|
680
|
+
} & {};
|
|
681
|
+
type: "transactionReceipt";
|
|
853
682
|
};
|
|
854
|
-
}
|
|
855
|
-
|
|
683
|
+
};
|
|
684
|
+
serializers: {
|
|
685
|
+
readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
|
|
686
|
+
};
|
|
687
|
+
readonly network: "base-sepolia";
|
|
688
|
+
} | {
|
|
689
|
+
blockExplorers: {
|
|
690
|
+
readonly default: {
|
|
691
|
+
readonly name: "Arbiscan";
|
|
692
|
+
readonly url: "https://arbiscan.io";
|
|
693
|
+
readonly apiUrl: "https://api.arbiscan.io/api";
|
|
694
|
+
};
|
|
695
|
+
};
|
|
696
|
+
contracts: {
|
|
697
|
+
readonly multicall3: {
|
|
698
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
699
|
+
readonly blockCreated: 7654707;
|
|
700
|
+
};
|
|
701
|
+
};
|
|
702
|
+
id: 42161;
|
|
703
|
+
name: "Arbitrum One";
|
|
704
|
+
nativeCurrency: {
|
|
705
|
+
readonly name: "Ether";
|
|
706
|
+
readonly symbol: "ETH";
|
|
707
|
+
readonly decimals: 18;
|
|
708
|
+
};
|
|
709
|
+
rpcUrls: {
|
|
710
|
+
readonly default: {
|
|
711
|
+
readonly http: readonly ["https://arb1.arbitrum.io/rpc"];
|
|
712
|
+
};
|
|
713
|
+
};
|
|
714
|
+
sourceId?: number | undefined;
|
|
715
|
+
testnet?: boolean | undefined;
|
|
716
|
+
custom?: Record<string, unknown> | undefined;
|
|
717
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
718
|
+
formatters?: undefined;
|
|
719
|
+
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
720
|
+
} | {
|
|
721
|
+
blockExplorers: {
|
|
722
|
+
readonly default: {
|
|
723
|
+
readonly name: "Arbiscan";
|
|
724
|
+
readonly url: "https://sepolia.arbiscan.io";
|
|
725
|
+
readonly apiUrl: "https://api-sepolia.arbiscan.io/api";
|
|
726
|
+
};
|
|
727
|
+
};
|
|
728
|
+
contracts: {
|
|
729
|
+
readonly multicall3: {
|
|
730
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
731
|
+
readonly blockCreated: 81930;
|
|
732
|
+
};
|
|
733
|
+
};
|
|
734
|
+
id: 421614;
|
|
735
|
+
name: "Arbitrum Sepolia";
|
|
736
|
+
nativeCurrency: {
|
|
737
|
+
readonly name: "Arbitrum Sepolia Ether";
|
|
738
|
+
readonly symbol: "ETH";
|
|
739
|
+
readonly decimals: 18;
|
|
740
|
+
};
|
|
741
|
+
rpcUrls: {
|
|
742
|
+
readonly default: {
|
|
743
|
+
readonly http: readonly ["https://sepolia-rollup.arbitrum.io/rpc"];
|
|
744
|
+
};
|
|
745
|
+
};
|
|
746
|
+
sourceId?: number | undefined;
|
|
747
|
+
testnet: true;
|
|
748
|
+
custom?: Record<string, unknown> | undefined;
|
|
749
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
750
|
+
formatters?: undefined;
|
|
751
|
+
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
752
|
+
} | {
|
|
753
|
+
blockExplorers: {
|
|
754
|
+
readonly default: {
|
|
755
|
+
readonly name: "Celo Explorer";
|
|
756
|
+
readonly url: "https://celoscan.io";
|
|
757
|
+
readonly apiUrl: "https://api.celoscan.io/api";
|
|
758
|
+
};
|
|
759
|
+
};
|
|
760
|
+
contracts: {
|
|
761
|
+
readonly multicall3: {
|
|
762
|
+
readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
|
763
|
+
readonly blockCreated: 13112599;
|
|
764
|
+
};
|
|
765
|
+
};
|
|
766
|
+
id: 42220;
|
|
767
|
+
name: "Celo";
|
|
768
|
+
nativeCurrency: {
|
|
769
|
+
readonly decimals: 18;
|
|
770
|
+
readonly name: "CELO";
|
|
771
|
+
readonly symbol: "CELO";
|
|
772
|
+
};
|
|
773
|
+
rpcUrls: {
|
|
774
|
+
readonly default: {
|
|
775
|
+
readonly http: readonly ["https://forno.celo.org"];
|
|
776
|
+
};
|
|
777
|
+
};
|
|
778
|
+
sourceId?: number | undefined;
|
|
779
|
+
testnet: false;
|
|
780
|
+
custom?: Record<string, unknown> | undefined;
|
|
781
|
+
fees: import("viem").ChainFees<{
|
|
856
782
|
readonly block: {
|
|
857
783
|
exclude: [] | undefined;
|
|
858
784
|
format: (args: import("viem/chains").CeloRpcBlock) => {
|
|
@@ -1262,96 +1188,22 @@ export declare const chains: ({
|
|
|
1262
1188
|
}) & {};
|
|
1263
1189
|
type: "transactionRequest";
|
|
1264
1190
|
};
|
|
1265
|
-
}
|
|
1266
|
-
serializers: {
|
|
1267
|
-
readonly transaction: typeof import("viem/chains").serializeTransactionCelo;
|
|
1268
|
-
};
|
|
1269
|
-
} | {
|
|
1270
|
-
blockExplorers: {
|
|
1271
|
-
readonly default: {
|
|
1272
|
-
readonly name: "Basescan";
|
|
1273
|
-
readonly url: "https://sepolia.basescan.org";
|
|
1274
|
-
readonly apiUrl: "https://api-sepolia.basescan.org/api";
|
|
1275
|
-
};
|
|
1276
|
-
};
|
|
1277
|
-
contracts: {
|
|
1278
|
-
readonly disputeGameFactory: {
|
|
1279
|
-
readonly 11155111: {
|
|
1280
|
-
readonly address: "0xd6E6dBf4F7EA0ac412fD8b65ED297e64BB7a06E1";
|
|
1281
|
-
};
|
|
1282
|
-
};
|
|
1283
|
-
readonly l2OutputOracle: {
|
|
1284
|
-
readonly 11155111: {
|
|
1285
|
-
readonly address: "0x84457ca9D0163FbC4bbfe4Dfbb20ba46e48DF254";
|
|
1286
|
-
};
|
|
1287
|
-
};
|
|
1288
|
-
readonly portal: {
|
|
1289
|
-
readonly 11155111: {
|
|
1290
|
-
readonly address: "0x49f53e41452c74589e85ca1677426ba426459e85";
|
|
1291
|
-
readonly blockCreated: 4446677;
|
|
1292
|
-
};
|
|
1293
|
-
};
|
|
1294
|
-
readonly l1StandardBridge: {
|
|
1295
|
-
readonly 11155111: {
|
|
1296
|
-
readonly address: "0xfd0Bf71F60660E2f608ed56e1659C450eB113120";
|
|
1297
|
-
readonly blockCreated: 4446677;
|
|
1298
|
-
};
|
|
1299
|
-
};
|
|
1300
|
-
readonly multicall3: {
|
|
1301
|
-
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
1302
|
-
readonly blockCreated: 1059647;
|
|
1303
|
-
};
|
|
1304
|
-
readonly gasPriceOracle: {
|
|
1305
|
-
readonly address: "0x420000000000000000000000000000000000000F";
|
|
1306
|
-
};
|
|
1307
|
-
readonly l1Block: {
|
|
1308
|
-
readonly address: "0x4200000000000000000000000000000000000015";
|
|
1309
|
-
};
|
|
1310
|
-
readonly l2CrossDomainMessenger: {
|
|
1311
|
-
readonly address: "0x4200000000000000000000000000000000000007";
|
|
1312
|
-
};
|
|
1313
|
-
readonly l2Erc721Bridge: {
|
|
1314
|
-
readonly address: "0x4200000000000000000000000000000000000014";
|
|
1315
|
-
};
|
|
1316
|
-
readonly l2StandardBridge: {
|
|
1317
|
-
readonly address: "0x4200000000000000000000000000000000000010";
|
|
1318
|
-
};
|
|
1319
|
-
readonly l2ToL1MessagePasser: {
|
|
1320
|
-
readonly address: "0x4200000000000000000000000000000000000016";
|
|
1321
|
-
};
|
|
1322
|
-
};
|
|
1323
|
-
id: 84532;
|
|
1324
|
-
name: "Base Sepolia";
|
|
1325
|
-
nativeCurrency: {
|
|
1326
|
-
readonly name: "Sepolia Ether";
|
|
1327
|
-
readonly symbol: "ETH";
|
|
1328
|
-
readonly decimals: 18;
|
|
1329
|
-
};
|
|
1330
|
-
rpcUrls: {
|
|
1331
|
-
readonly default: {
|
|
1332
|
-
readonly http: readonly ["https://sepolia.base.org"];
|
|
1333
|
-
};
|
|
1334
|
-
};
|
|
1335
|
-
sourceId: 11155111;
|
|
1336
|
-
testnet: true;
|
|
1337
|
-
custom?: Record<string, unknown> | undefined;
|
|
1338
|
-
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
1191
|
+
}>;
|
|
1339
1192
|
formatters: {
|
|
1340
1193
|
readonly block: {
|
|
1341
1194
|
exclude: [] | undefined;
|
|
1342
|
-
format: (args: import("viem/chains").
|
|
1195
|
+
format: (args: import("viem/chains").CeloRpcBlock) => {
|
|
1343
1196
|
baseFeePerGas: bigint | null;
|
|
1344
1197
|
blobGasUsed: bigint;
|
|
1345
|
-
difficulty: bigint;
|
|
1198
|
+
difficulty: bigint | undefined;
|
|
1346
1199
|
excessBlobGas: bigint;
|
|
1347
1200
|
extraData: import("viem").Hex;
|
|
1348
|
-
gasLimit: bigint;
|
|
1201
|
+
gasLimit: bigint | undefined;
|
|
1349
1202
|
gasUsed: bigint;
|
|
1350
1203
|
hash: `0x${string}` | null;
|
|
1351
1204
|
logsBloom: `0x${string}` | null;
|
|
1352
1205
|
miner: import("abitype").Address;
|
|
1353
|
-
|
|
1354
|
-
nonce: `0x${string}` | null;
|
|
1206
|
+
nonce: bigint | null | undefined;
|
|
1355
1207
|
number: bigint | null;
|
|
1356
1208
|
parentBeaconBlockRoot?: import("viem").Hex | undefined;
|
|
1357
1209
|
parentHash: import("viem").Hash;
|
|
@@ -1362,41 +1214,22 @@ export declare const chains: ({
|
|
|
1362
1214
|
stateRoot: import("viem").Hash;
|
|
1363
1215
|
timestamp: bigint;
|
|
1364
1216
|
totalDifficulty: bigint | null;
|
|
1365
|
-
transactions: `0x${string}`[] | import("viem/chains").
|
|
1217
|
+
transactions: `0x${string}`[] | import("viem/chains").CeloTransaction<boolean>[];
|
|
1366
1218
|
transactionsRoot: import("viem").Hash;
|
|
1367
|
-
uncles: import("viem").Hash[];
|
|
1368
1219
|
withdrawals?: import("viem").Withdrawal[] | undefined;
|
|
1369
1220
|
withdrawalsRoot?: import("viem").Hex | undefined;
|
|
1221
|
+
mixHash?: undefined;
|
|
1222
|
+
randomness?: {
|
|
1223
|
+
committed: import("viem").Hex;
|
|
1224
|
+
revealed: import("viem").Hex;
|
|
1225
|
+
} | undefined;
|
|
1226
|
+
uncles?: undefined;
|
|
1370
1227
|
} & {};
|
|
1371
1228
|
type: "block";
|
|
1372
1229
|
};
|
|
1373
1230
|
readonly transaction: {
|
|
1374
1231
|
exclude: [] | undefined;
|
|
1375
|
-
format: (args: import("viem/chains").
|
|
1376
|
-
blockHash: `0x${string}` | null;
|
|
1377
|
-
blockNumber: bigint | null;
|
|
1378
|
-
from: import("abitype").Address;
|
|
1379
|
-
gas: bigint;
|
|
1380
|
-
hash: import("viem").Hash;
|
|
1381
|
-
input: import("viem").Hex;
|
|
1382
|
-
nonce: number;
|
|
1383
|
-
r: import("viem").Hex;
|
|
1384
|
-
s: import("viem").Hex;
|
|
1385
|
-
to: import("abitype").Address | null;
|
|
1386
|
-
transactionIndex: number | null;
|
|
1387
|
-
typeHex: import("viem").Hex | null;
|
|
1388
|
-
v: bigint;
|
|
1389
|
-
value: bigint;
|
|
1390
|
-
yParity: number;
|
|
1391
|
-
gasPrice?: undefined;
|
|
1392
|
-
maxFeePerBlobGas?: undefined;
|
|
1393
|
-
maxFeePerGas: bigint;
|
|
1394
|
-
maxPriorityFeePerGas: bigint;
|
|
1395
|
-
isSystemTx?: boolean;
|
|
1396
|
-
mint?: bigint | undefined;
|
|
1397
|
-
sourceHash: import("viem").Hex;
|
|
1398
|
-
type: "deposit";
|
|
1399
|
-
} | {
|
|
1232
|
+
format: (args: import("viem/chains").CeloRpcTransaction) => ({
|
|
1400
1233
|
r: import("viem").Hex;
|
|
1401
1234
|
s: import("viem").Hex;
|
|
1402
1235
|
v: bigint;
|
|
@@ -1421,9 +1254,12 @@ export declare const chains: ({
|
|
|
1421
1254
|
maxFeePerBlobGas?: undefined;
|
|
1422
1255
|
maxFeePerGas?: undefined;
|
|
1423
1256
|
maxPriorityFeePerGas?: undefined;
|
|
1424
|
-
|
|
1257
|
+
feeCurrency: import("abitype").Address | null;
|
|
1425
1258
|
mint?: undefined;
|
|
1259
|
+
isSystemTx?: undefined;
|
|
1426
1260
|
sourceHash?: undefined;
|
|
1261
|
+
gatewayFee?: undefined;
|
|
1262
|
+
gatewayFeeRecipient?: undefined;
|
|
1427
1263
|
} | {
|
|
1428
1264
|
blockHash: `0x${string}` | null;
|
|
1429
1265
|
blockNumber: bigint | null;
|
|
@@ -1449,9 +1285,12 @@ export declare const chains: ({
|
|
|
1449
1285
|
maxFeePerBlobGas?: undefined;
|
|
1450
1286
|
maxFeePerGas?: undefined;
|
|
1451
1287
|
maxPriorityFeePerGas?: undefined;
|
|
1452
|
-
|
|
1288
|
+
feeCurrency: import("abitype").Address | null;
|
|
1453
1289
|
mint?: undefined;
|
|
1290
|
+
isSystemTx?: undefined;
|
|
1454
1291
|
sourceHash?: undefined;
|
|
1292
|
+
gatewayFee?: undefined;
|
|
1293
|
+
gatewayFeeRecipient?: undefined;
|
|
1455
1294
|
} | {
|
|
1456
1295
|
blockHash: `0x${string}` | null;
|
|
1457
1296
|
blockNumber: bigint | null;
|
|
@@ -1477,9 +1316,12 @@ export declare const chains: ({
|
|
|
1477
1316
|
maxFeePerBlobGas?: undefined;
|
|
1478
1317
|
maxFeePerGas: bigint;
|
|
1479
1318
|
maxPriorityFeePerGas: bigint;
|
|
1480
|
-
|
|
1319
|
+
feeCurrency: import("abitype").Address | null;
|
|
1481
1320
|
mint?: undefined;
|
|
1321
|
+
isSystemTx?: undefined;
|
|
1482
1322
|
sourceHash?: undefined;
|
|
1323
|
+
gatewayFee?: undefined;
|
|
1324
|
+
gatewayFeeRecipient?: undefined;
|
|
1483
1325
|
} | {
|
|
1484
1326
|
blockHash: `0x${string}` | null;
|
|
1485
1327
|
blockNumber: bigint | null;
|
|
@@ -1505,9 +1347,12 @@ export declare const chains: ({
|
|
|
1505
1347
|
maxFeePerBlobGas: bigint;
|
|
1506
1348
|
maxFeePerGas: bigint;
|
|
1507
1349
|
maxPriorityFeePerGas: bigint;
|
|
1508
|
-
|
|
1350
|
+
feeCurrency: import("abitype").Address | null;
|
|
1509
1351
|
mint?: undefined;
|
|
1352
|
+
isSystemTx?: undefined;
|
|
1510
1353
|
sourceHash?: undefined;
|
|
1354
|
+
gatewayFee?: undefined;
|
|
1355
|
+
gatewayFeeRecipient?: undefined;
|
|
1511
1356
|
} | {
|
|
1512
1357
|
blockHash: `0x${string}` | null;
|
|
1513
1358
|
blockNumber: bigint | null;
|
|
@@ -1533,51 +1378,239 @@ export declare const chains: ({
|
|
|
1533
1378
|
maxFeePerBlobGas?: undefined;
|
|
1534
1379
|
maxFeePerGas: bigint;
|
|
1535
1380
|
maxPriorityFeePerGas: bigint;
|
|
1381
|
+
feeCurrency: import("abitype").Address | null;
|
|
1382
|
+
mint?: undefined;
|
|
1536
1383
|
isSystemTx?: undefined;
|
|
1384
|
+
sourceHash?: undefined;
|
|
1385
|
+
gatewayFee?: undefined;
|
|
1386
|
+
gatewayFeeRecipient?: undefined;
|
|
1387
|
+
} | {
|
|
1388
|
+
blockHash: `0x${string}` | null;
|
|
1389
|
+
blockNumber: bigint | null;
|
|
1390
|
+
from: import("abitype").Address;
|
|
1391
|
+
gas: bigint;
|
|
1392
|
+
hash: import("viem").Hash;
|
|
1393
|
+
input: import("viem").Hex;
|
|
1394
|
+
nonce: number;
|
|
1395
|
+
r: import("viem").Hex;
|
|
1396
|
+
s: import("viem").Hex;
|
|
1397
|
+
to: import("abitype").Address | null;
|
|
1398
|
+
transactionIndex: number | null;
|
|
1399
|
+
typeHex: import("viem").Hex | null;
|
|
1400
|
+
v: bigint;
|
|
1401
|
+
value: bigint;
|
|
1402
|
+
yParity: number;
|
|
1403
|
+
gasPrice?: undefined;
|
|
1404
|
+
maxFeePerBlobGas?: undefined;
|
|
1405
|
+
maxFeePerGas: bigint;
|
|
1406
|
+
maxPriorityFeePerGas: bigint;
|
|
1407
|
+
accessList: import("viem").AccessList;
|
|
1408
|
+
chainId: number;
|
|
1409
|
+
feeCurrency: import("abitype").Address | null;
|
|
1410
|
+
gatewayFee: bigint | null;
|
|
1411
|
+
gatewayFeeRecipient: import("abitype").Address | null;
|
|
1412
|
+
type: "cip42";
|
|
1413
|
+
authorizationList?: undefined;
|
|
1414
|
+
blobVersionedHashes?: undefined;
|
|
1415
|
+
mint?: undefined;
|
|
1416
|
+
isSystemTx?: undefined;
|
|
1417
|
+
sourceHash?: undefined;
|
|
1418
|
+
} | {
|
|
1419
|
+
blockHash: `0x${string}` | null;
|
|
1420
|
+
blockNumber: bigint | null;
|
|
1421
|
+
from: import("abitype").Address;
|
|
1422
|
+
gas: bigint;
|
|
1423
|
+
hash: import("viem").Hash;
|
|
1424
|
+
input: import("viem").Hex;
|
|
1425
|
+
nonce: number;
|
|
1426
|
+
r: import("viem").Hex;
|
|
1427
|
+
s: import("viem").Hex;
|
|
1428
|
+
to: import("abitype").Address | null;
|
|
1429
|
+
transactionIndex: number | null;
|
|
1430
|
+
typeHex: import("viem").Hex | null;
|
|
1431
|
+
v: bigint;
|
|
1432
|
+
value: bigint;
|
|
1433
|
+
yParity: number;
|
|
1434
|
+
gasPrice?: undefined;
|
|
1435
|
+
maxFeePerBlobGas?: undefined;
|
|
1436
|
+
maxFeePerGas: bigint;
|
|
1437
|
+
maxPriorityFeePerGas: bigint;
|
|
1438
|
+
accessList: import("viem").AccessList;
|
|
1439
|
+
chainId: number;
|
|
1440
|
+
feeCurrency: import("abitype").Address | null;
|
|
1441
|
+
type: "cip64";
|
|
1442
|
+
authorizationList?: undefined;
|
|
1443
|
+
blobVersionedHashes?: undefined;
|
|
1537
1444
|
mint?: undefined;
|
|
1445
|
+
isSystemTx?: undefined;
|
|
1538
1446
|
sourceHash?: undefined;
|
|
1447
|
+
gatewayFee?: undefined;
|
|
1448
|
+
gatewayFeeRecipient?: undefined;
|
|
1449
|
+
} | {
|
|
1450
|
+
blockHash: `0x${string}` | null;
|
|
1451
|
+
blockNumber: bigint | null;
|
|
1452
|
+
from: import("abitype").Address;
|
|
1453
|
+
gas: bigint;
|
|
1454
|
+
hash: import("viem").Hash;
|
|
1455
|
+
input: import("viem").Hex;
|
|
1456
|
+
nonce: number;
|
|
1457
|
+
r: import("viem").Hex;
|
|
1458
|
+
s: import("viem").Hex;
|
|
1459
|
+
to: import("abitype").Address | null;
|
|
1460
|
+
transactionIndex: number | null;
|
|
1461
|
+
typeHex: import("viem").Hex | null;
|
|
1462
|
+
v: bigint;
|
|
1463
|
+
value: bigint;
|
|
1464
|
+
yParity: number;
|
|
1465
|
+
gasPrice?: undefined;
|
|
1466
|
+
maxFeePerBlobGas?: undefined;
|
|
1467
|
+
maxFeePerGas: bigint;
|
|
1468
|
+
maxPriorityFeePerGas: bigint;
|
|
1469
|
+
isSystemTx?: boolean;
|
|
1470
|
+
mint?: bigint | undefined;
|
|
1471
|
+
sourceHash: import("viem").Hex;
|
|
1472
|
+
type: "deposit";
|
|
1473
|
+
accessList?: undefined;
|
|
1474
|
+
authorizationList?: undefined;
|
|
1475
|
+
blobVersionedHashes?: undefined;
|
|
1476
|
+
chainId?: undefined;
|
|
1477
|
+
feeCurrency?: undefined;
|
|
1478
|
+
gatewayFee?: undefined;
|
|
1479
|
+
gatewayFeeRecipient?: undefined;
|
|
1539
1480
|
}) & {};
|
|
1540
1481
|
type: "transaction";
|
|
1541
1482
|
};
|
|
1542
|
-
readonly
|
|
1483
|
+
readonly transactionRequest: {
|
|
1543
1484
|
exclude: [] | undefined;
|
|
1544
|
-
format: (args: import("viem/chains").
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1485
|
+
format: (args: import("viem/chains").CeloTransactionRequest) => ({
|
|
1486
|
+
data?: import("viem").Hex | undefined;
|
|
1487
|
+
from?: import("abitype").Address | undefined;
|
|
1488
|
+
gas?: `0x${string}` | undefined;
|
|
1489
|
+
nonce?: `0x${string}` | undefined;
|
|
1490
|
+
to?: import("abitype").Address | null | undefined;
|
|
1491
|
+
type?: "0x0" | undefined;
|
|
1492
|
+
value?: `0x${string}` | undefined;
|
|
1493
|
+
gasPrice?: `0x${string}` | undefined;
|
|
1494
|
+
maxFeePerBlobGas?: undefined;
|
|
1495
|
+
maxFeePerGas?: undefined;
|
|
1496
|
+
maxPriorityFeePerGas?: undefined;
|
|
1497
|
+
blobs?: undefined;
|
|
1498
|
+
accessList?: undefined;
|
|
1499
|
+
authorizationList?: undefined;
|
|
1500
|
+
blobVersionedHashes?: undefined;
|
|
1501
|
+
kzg?: undefined;
|
|
1502
|
+
sidecars?: undefined;
|
|
1503
|
+
feeCurrency?: import("abitype").Address | undefined;
|
|
1504
|
+
} | {
|
|
1505
|
+
data?: import("viem").Hex | undefined;
|
|
1506
|
+
from?: import("abitype").Address | undefined;
|
|
1507
|
+
gas?: `0x${string}` | undefined;
|
|
1508
|
+
nonce?: `0x${string}` | undefined;
|
|
1509
|
+
to?: import("abitype").Address | null | undefined;
|
|
1510
|
+
type?: "0x1" | undefined;
|
|
1511
|
+
value?: `0x${string}` | undefined;
|
|
1512
|
+
gasPrice?: `0x${string}` | undefined;
|
|
1513
|
+
maxFeePerBlobGas?: undefined;
|
|
1514
|
+
maxFeePerGas?: undefined;
|
|
1515
|
+
maxPriorityFeePerGas?: undefined;
|
|
1516
|
+
accessList?: import("viem").AccessList | undefined;
|
|
1517
|
+
blobs?: undefined;
|
|
1518
|
+
authorizationList?: undefined;
|
|
1519
|
+
blobVersionedHashes?: undefined;
|
|
1520
|
+
kzg?: undefined;
|
|
1521
|
+
sidecars?: undefined;
|
|
1522
|
+
feeCurrency?: import("abitype").Address | undefined;
|
|
1523
|
+
} | {
|
|
1524
|
+
data?: import("viem").Hex | undefined;
|
|
1525
|
+
from?: import("abitype").Address | undefined;
|
|
1526
|
+
gas?: `0x${string}` | undefined;
|
|
1527
|
+
nonce?: `0x${string}` | undefined;
|
|
1528
|
+
to?: import("abitype").Address | null | undefined;
|
|
1529
|
+
type?: "0x2" | undefined;
|
|
1530
|
+
value?: `0x${string}` | undefined;
|
|
1531
|
+
gasPrice?: undefined;
|
|
1532
|
+
maxFeePerBlobGas?: undefined;
|
|
1533
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
|
1534
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
1535
|
+
accessList?: import("viem").AccessList | undefined;
|
|
1536
|
+
blobs?: undefined;
|
|
1537
|
+
authorizationList?: undefined;
|
|
1538
|
+
blobVersionedHashes?: undefined;
|
|
1539
|
+
kzg?: undefined;
|
|
1540
|
+
sidecars?: undefined;
|
|
1541
|
+
feeCurrency?: import("abitype").Address | undefined;
|
|
1542
|
+
} | {
|
|
1543
|
+
type?: "0x3" | undefined;
|
|
1544
|
+
data?: import("viem").Hex | undefined;
|
|
1545
|
+
from?: import("abitype").Address | undefined;
|
|
1546
|
+
gas?: `0x${string}` | undefined;
|
|
1547
|
+
nonce?: `0x${string}` | undefined;
|
|
1548
|
+
value?: `0x${string}` | undefined;
|
|
1549
|
+
to: `0x${string}` | null;
|
|
1550
|
+
gasPrice?: undefined;
|
|
1551
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
|
1552
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
1553
|
+
maxFeePerBlobGas: `0x${string}`;
|
|
1554
|
+
accessList?: import("viem").AccessList | undefined;
|
|
1555
|
+
blobs: readonly import("viem").Hex[] | readonly import("viem").ByteArray[];
|
|
1556
|
+
blobVersionedHashes?: readonly import("viem").Hex[] | undefined;
|
|
1557
|
+
kzg?: import("viem").Kzg | undefined;
|
|
1558
|
+
sidecars?: readonly import("viem").BlobSidecar<import("viem").Hex>[] | undefined;
|
|
1559
|
+
authorizationList?: undefined;
|
|
1560
|
+
feeCurrency?: import("abitype").Address | undefined;
|
|
1561
|
+
} | {
|
|
1562
|
+
type?: "0x4" | undefined;
|
|
1563
|
+
gasPrice?: undefined;
|
|
1564
|
+
maxFeePerBlobGas?: undefined;
|
|
1565
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
|
1566
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
1567
|
+
to?: import("abitype").Address | null | undefined;
|
|
1568
|
+
data?: import("viem").Hex | undefined;
|
|
1569
|
+
from?: import("abitype").Address | undefined;
|
|
1570
|
+
gas?: `0x${string}` | undefined;
|
|
1571
|
+
nonce?: `0x${string}` | undefined;
|
|
1572
|
+
value?: `0x${string}` | undefined;
|
|
1573
|
+
accessList?: import("viem").AccessList | undefined;
|
|
1574
|
+
authorizationList?: import("viem/experimental").RpcAuthorizationList | undefined;
|
|
1575
|
+
blobs?: undefined;
|
|
1576
|
+
blobVersionedHashes?: undefined;
|
|
1577
|
+
kzg?: undefined;
|
|
1578
|
+
sidecars?: undefined;
|
|
1579
|
+
feeCurrency?: import("abitype").Address | undefined;
|
|
1580
|
+
} | {
|
|
1581
|
+
data?: import("viem").Hex | undefined;
|
|
1582
|
+
from?: import("abitype").Address | undefined;
|
|
1583
|
+
gas?: `0x${string}` | undefined;
|
|
1584
|
+
nonce?: `0x${string}` | undefined;
|
|
1585
|
+
to?: import("abitype").Address | null | undefined;
|
|
1586
|
+
type?: "0x7b" | undefined;
|
|
1587
|
+
value?: `0x${string}` | undefined;
|
|
1588
|
+
accessList?: import("viem").AccessList | undefined;
|
|
1589
|
+
feeCurrency?: import("abitype").Address | undefined;
|
|
1590
|
+
gasPrice?: undefined;
|
|
1591
|
+
maxFeePerBlobGas?: undefined;
|
|
1592
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
|
1593
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
1594
|
+
blobs?: undefined;
|
|
1595
|
+
authorizationList?: undefined;
|
|
1596
|
+
blobVersionedHashes?: undefined;
|
|
1597
|
+
kzg?: undefined;
|
|
1598
|
+
sidecars?: undefined;
|
|
1599
|
+
}) & {};
|
|
1600
|
+
type: "transactionRequest";
|
|
1568
1601
|
};
|
|
1569
1602
|
};
|
|
1570
1603
|
serializers: {
|
|
1571
|
-
readonly transaction: typeof import("viem/chains").
|
|
1604
|
+
readonly transaction: typeof import("viem/chains").serializeTransactionCelo;
|
|
1572
1605
|
};
|
|
1573
|
-
readonly network: "base-sepolia";
|
|
1574
1606
|
})[];
|
|
1575
1607
|
export declare const chainIdToNetwork: {
|
|
1576
1608
|
1: string;
|
|
1577
1609
|
11155111: string;
|
|
1578
1610
|
8453: string;
|
|
1611
|
+
84532: string;
|
|
1579
1612
|
42161: string;
|
|
1613
|
+
421614: string;
|
|
1580
1614
|
42220: string;
|
|
1581
|
-
84532: string;
|
|
1582
1615
|
};
|
|
1583
1616
|
//# sourceMappingURL=chains.d.ts.map
|