viem 0.0.0-main.20240519T204600 → 0.0.0-main.20240519T233212
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/_cjs/errors/version.js +1 -1
- package/_cjs/zksync/actions/estimateFee.js +26 -0
- package/_cjs/zksync/actions/estimateFee.js.map +1 -0
- package/_cjs/zksync/actions/estimateGasL1ToL2.js +20 -0
- package/_cjs/zksync/actions/estimateGasL1ToL2.js.map +1 -0
- package/_cjs/zksync/actions/getAllBalances.js +19 -0
- package/_cjs/zksync/actions/getAllBalances.js.map +1 -0
- package/_cjs/zksync/actions/getBaseTokenL1Address.js +9 -0
- package/_cjs/zksync/actions/getBaseTokenL1Address.js.map +1 -0
- package/_cjs/zksync/actions/getBlockDetails.js +12 -0
- package/_cjs/zksync/actions/getBlockDetails.js.map +1 -0
- package/_cjs/zksync/actions/getBridgehubContractAddress.js +9 -0
- package/_cjs/zksync/actions/getBridgehubContractAddress.js.map +1 -0
- package/_cjs/zksync/actions/getDefaultBridgeAddresses.js +13 -0
- package/_cjs/zksync/actions/getDefaultBridgeAddresses.js.map +1 -0
- package/_cjs/zksync/actions/getL1BatchBlockRange.js +13 -0
- package/_cjs/zksync/actions/getL1BatchBlockRange.js.map +1 -0
- package/_cjs/zksync/actions/getL1BatchDetails.js +12 -0
- package/_cjs/zksync/actions/getL1BatchDetails.js.map +1 -0
- package/_cjs/zksync/actions/getL1BatchNumber.js +9 -0
- package/_cjs/zksync/actions/getL1BatchNumber.js.map +1 -0
- package/_cjs/zksync/actions/getL1ChainId.js +9 -0
- package/_cjs/zksync/actions/getL1ChainId.js.map +1 -0
- package/_cjs/zksync/actions/getLogProof.js +12 -0
- package/_cjs/zksync/actions/getLogProof.js.map +1 -0
- package/_cjs/zksync/actions/getMainContractAddress.js +9 -0
- package/_cjs/zksync/actions/getMainContractAddress.js.map +1 -0
- package/_cjs/zksync/actions/getRawBlockTransaction.js +13 -0
- package/_cjs/zksync/actions/getRawBlockTransaction.js.map +1 -0
- package/_cjs/zksync/actions/getTestnetPaymasterAddress.js +9 -0
- package/_cjs/zksync/actions/getTestnetPaymasterAddress.js.map +1 -0
- package/_cjs/zksync/actions/getTransactionDetails.js +12 -0
- package/_cjs/zksync/actions/getTransactionDetails.js.map +1 -0
- package/_cjs/zksync/decorators/publicL2.js +43 -0
- package/_cjs/zksync/decorators/publicL2.js.map +1 -0
- package/_cjs/zksync/index.js +33 -3
- package/_cjs/zksync/index.js.map +1 -1
- package/_cjs/zksync/types/eip1193.js +3 -0
- package/_cjs/zksync/types/eip1193.js.map +1 -0
- package/_cjs/zksync/types/proof.js +3 -0
- package/_cjs/zksync/types/proof.js.map +1 -0
- package/_cjs/zksync/utils/camelCaseKeys.js +17 -0
- package/_cjs/zksync/utils/camelCaseKeys.js.map +1 -0
- package/_cjs/zksync/utils/paymaster/getApprovalBasedPaymasterInput.js +4 -3
- package/_cjs/zksync/utils/paymaster/getApprovalBasedPaymasterInput.js.map +1 -1
- package/_cjs/zksync/utils/paymaster/getGeneralPaymasterInput.js +4 -3
- package/_cjs/zksync/utils/paymaster/getGeneralPaymasterInput.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/zksync/actions/estimateFee.js +22 -0
- package/_esm/zksync/actions/estimateFee.js.map +1 -0
- package/_esm/zksync/actions/estimateGasL1ToL2.js +16 -0
- package/_esm/zksync/actions/estimateGasL1ToL2.js.map +1 -0
- package/_esm/zksync/actions/getAllBalances.js +15 -0
- package/_esm/zksync/actions/getAllBalances.js.map +1 -0
- package/_esm/zksync/actions/getBaseTokenL1Address.js +5 -0
- package/_esm/zksync/actions/getBaseTokenL1Address.js.map +1 -0
- package/_esm/zksync/actions/getBlockDetails.js +8 -0
- package/_esm/zksync/actions/getBlockDetails.js.map +1 -0
- package/_esm/zksync/actions/getBridgehubContractAddress.js +5 -0
- package/_esm/zksync/actions/getBridgehubContractAddress.js.map +1 -0
- package/_esm/zksync/actions/getDefaultBridgeAddresses.js +9 -0
- package/_esm/zksync/actions/getDefaultBridgeAddresses.js.map +1 -0
- package/_esm/zksync/actions/getL1BatchBlockRange.js +9 -0
- package/_esm/zksync/actions/getL1BatchBlockRange.js.map +1 -0
- package/_esm/zksync/actions/getL1BatchDetails.js +8 -0
- package/_esm/zksync/actions/getL1BatchDetails.js.map +1 -0
- package/_esm/zksync/actions/getL1BatchNumber.js +5 -0
- package/_esm/zksync/actions/getL1BatchNumber.js.map +1 -0
- package/_esm/zksync/actions/getL1ChainId.js +5 -0
- package/_esm/zksync/actions/getL1ChainId.js.map +1 -0
- package/_esm/zksync/actions/getLogProof.js +8 -0
- package/_esm/zksync/actions/getLogProof.js.map +1 -0
- package/_esm/zksync/actions/getMainContractAddress.js +5 -0
- package/_esm/zksync/actions/getMainContractAddress.js.map +1 -0
- package/_esm/zksync/actions/getRawBlockTransaction.js +9 -0
- package/_esm/zksync/actions/getRawBlockTransaction.js.map +1 -0
- package/_esm/zksync/actions/getTestnetPaymasterAddress.js +5 -0
- package/_esm/zksync/actions/getTestnetPaymasterAddress.js.map +1 -0
- package/_esm/zksync/actions/getTransactionDetails.js +8 -0
- package/_esm/zksync/actions/getTransactionDetails.js.map +1 -0
- package/_esm/zksync/decorators/publicL2.js +39 -0
- package/_esm/zksync/decorators/publicL2.js.map +1 -0
- package/_esm/zksync/index.js +16 -1
- package/_esm/zksync/index.js.map +1 -1
- package/_esm/zksync/types/eip1193.js +2 -0
- package/_esm/zksync/types/eip1193.js.map +1 -0
- package/_esm/zksync/types/proof.js +2 -0
- package/_esm/zksync/types/proof.js.map +1 -0
- package/_esm/zksync/utils/camelCaseKeys.js +13 -0
- package/_esm/zksync/utils/camelCaseKeys.js.map +1 -0
- package/_esm/zksync/utils/paymaster/getApprovalBasedPaymasterInput.js +2 -1
- package/_esm/zksync/utils/paymaster/getApprovalBasedPaymasterInput.js.map +1 -1
- package/_esm/zksync/utils/paymaster/getGeneralPaymasterInput.js +2 -1
- package/_esm/zksync/utils/paymaster/getGeneralPaymasterInput.js.map +1 -1
- package/_types/chains/definitions/lisk.d.ts +8 -8
- package/_types/chains/definitions/playfiAlbireo.d.ts +8 -8
- package/_types/chains/definitions/zkSync.d.ts +8 -8
- package/_types/chains/definitions/zkSyncInMemoryNode.d.ts +8 -8
- package/_types/chains/definitions/zkSyncLocalNode.d.ts +8 -8
- package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts +8 -8
- package/_types/chains/definitions/zkSyncTestnet.d.ts +8 -8
- package/_types/errors/version.d.ts +1 -1
- package/_types/zksync/actions/estimateFee.d.ts +11 -0
- package/_types/zksync/actions/estimateFee.d.ts.map +1 -0
- package/_types/zksync/actions/estimateGasL1ToL2.d.ts +10 -0
- package/_types/zksync/actions/estimateGasL1ToL2.d.ts.map +1 -0
- package/_types/zksync/actions/getAllBalances.d.ts +12 -0
- package/_types/zksync/actions/getAllBalances.d.ts.map +1 -0
- package/_types/zksync/actions/getBaseTokenL1Address.d.ts +9 -0
- package/_types/zksync/actions/getBaseTokenL1Address.d.ts.map +1 -0
- package/_types/zksync/actions/getBlockDetails.d.ts +10 -0
- package/_types/zksync/actions/getBlockDetails.d.ts.map +1 -0
- package/_types/zksync/actions/getBridgehubContractAddress.d.ts +9 -0
- package/_types/zksync/actions/getBridgehubContractAddress.d.ts.map +1 -0
- package/_types/zksync/actions/getDefaultBridgeAddresses.d.ts +9 -0
- package/_types/zksync/actions/getDefaultBridgeAddresses.d.ts.map +1 -0
- package/_types/zksync/actions/getL1BatchBlockRange.d.ts +11 -0
- package/_types/zksync/actions/getL1BatchBlockRange.d.ts.map +1 -0
- package/_types/zksync/actions/getL1BatchDetails.d.ts +10 -0
- package/_types/zksync/actions/getL1BatchDetails.d.ts.map +1 -0
- package/_types/zksync/actions/getL1BatchNumber.d.ts +9 -0
- package/_types/zksync/actions/getL1BatchNumber.d.ts.map +1 -0
- package/_types/zksync/actions/getL1ChainId.d.ts +9 -0
- package/_types/zksync/actions/getL1ChainId.d.ts.map +1 -0
- package/_types/zksync/actions/getLogProof.d.ts +14 -0
- package/_types/zksync/actions/getLogProof.d.ts.map +1 -0
- package/_types/zksync/actions/getMainContractAddress.d.ts +9 -0
- package/_types/zksync/actions/getMainContractAddress.d.ts.map +1 -0
- package/_types/zksync/actions/getRawBlockTransaction.d.ts +11 -0
- package/_types/zksync/actions/getRawBlockTransaction.d.ts.map +1 -0
- package/_types/zksync/actions/getTestnetPaymasterAddress.d.ts +9 -0
- package/_types/zksync/actions/getTestnetPaymasterAddress.d.ts.map +1 -0
- package/_types/zksync/actions/getTransactionDetails.d.ts +13 -0
- package/_types/zksync/actions/getTransactionDetails.d.ts.map +1 -0
- package/_types/zksync/chainConfig.d.ts +8 -8
- package/_types/zksync/decorators/publicL2.d.ts +318 -0
- package/_types/zksync/decorators/publicL2.d.ts.map +1 -0
- package/_types/zksync/formatters.d.ts +8 -8
- package/_types/zksync/index.d.ts +17 -2
- package/_types/zksync/index.d.ts.map +1 -1
- package/_types/zksync/types/block.d.ts +30 -1
- package/_types/zksync/types/block.d.ts.map +1 -1
- package/_types/zksync/types/contract.d.ts +6 -0
- package/_types/zksync/types/contract.d.ts.map +1 -1
- package/_types/zksync/types/eip1193.d.ts +152 -0
- package/_types/zksync/types/eip1193.d.ts.map +1 -0
- package/_types/zksync/types/fee.d.ts +6 -0
- package/_types/zksync/types/fee.d.ts.map +1 -1
- package/_types/zksync/types/proof.d.ts +7 -0
- package/_types/zksync/types/proof.d.ts.map +1 -0
- package/_types/zksync/types/transaction.d.ts +65 -5
- package/_types/zksync/types/transaction.d.ts.map +1 -1
- package/_types/zksync/utils/camelCaseKeys.d.ts +2 -0
- package/_types/zksync/utils/camelCaseKeys.d.ts.map +1 -0
- package/_types/zksync/utils/paymaster/getApprovalBasedPaymasterInput.d.ts +1 -1
- package/_types/zksync/utils/paymaster/getApprovalBasedPaymasterInput.d.ts.map +1 -1
- package/_types/zksync/utils/paymaster/getGeneralPaymasterInput.d.ts +1 -1
- package/_types/zksync/utils/paymaster/getGeneralPaymasterInput.d.ts.map +1 -1
- package/errors/version.ts +1 -1
- package/package.json +1 -1
- package/zksync/actions/estimateFee.ts +46 -0
- package/zksync/actions/estimateGasL1ToL2.ts +38 -0
- package/zksync/actions/getAllBalances.ts +33 -0
- package/zksync/actions/getBaseTokenL1Address.ts +18 -0
- package/zksync/actions/getBlockDetails.ts +27 -0
- package/zksync/actions/getBridgehubContractAddress.ts +18 -0
- package/zksync/actions/getDefaultBridgeAddresses.ts +22 -0
- package/zksync/actions/getL1BatchBlockRange.ts +26 -0
- package/zksync/actions/getL1BatchDetails.ts +27 -0
- package/zksync/actions/getL1BatchNumber.ts +18 -0
- package/zksync/actions/getL1ChainId.ts +18 -0
- package/zksync/actions/getLogProof.ts +28 -0
- package/zksync/actions/getMainContractAddress.ts +18 -0
- package/zksync/actions/getRawBlockTransaction.ts +26 -0
- package/zksync/actions/getTestnetPaymasterAddress.ts +18 -0
- package/zksync/actions/getTransactionDetails.ts +27 -0
- package/zksync/decorators/publicL2.ts +425 -0
- package/zksync/index.ts +62 -6
- package/zksync/types/block.ts +37 -1
- package/zksync/types/contract.ts +8 -0
- package/zksync/types/eip1193.ts +155 -0
- package/zksync/types/fee.ts +7 -0
- package/zksync/types/proof.ts +7 -0
- package/zksync/types/transaction.ts +84 -10
- package/zksync/utils/camelCaseKeys.ts +11 -0
- package/zksync/utils/paymaster/getApprovalBasedPaymasterInput.ts +5 -2
- package/zksync/utils/paymaster/getGeneralPaymasterInput.ts +5 -2
@@ -607,7 +607,7 @@ export declare const zkSyncInMemoryNode: {
|
|
607
607
|
blobVersionedHashes?: undefined;
|
608
608
|
kzg?: undefined;
|
609
609
|
sidecars?: undefined;
|
610
|
-
} & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
610
|
+
} & Omit<import("../../index.js").TransactionRequestBase<bigint, number>, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
611
611
|
gasPerPubdata?: bigint | undefined;
|
612
612
|
customSignature?: `0x${string}` | undefined;
|
613
613
|
factoryDeps?: `0x${string}`[] | undefined;
|
@@ -632,7 +632,7 @@ export declare const zkSyncInMemoryNode: {
|
|
632
632
|
blobVersionedHashes?: undefined;
|
633
633
|
kzg?: undefined;
|
634
634
|
sidecars?: undefined;
|
635
|
-
} & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
635
|
+
} & Omit<import("../../index.js").TransactionRequestBase<bigint, number>, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
636
636
|
gasPerPubdata?: bigint | undefined;
|
637
637
|
customSignature?: `0x${string}` | undefined;
|
638
638
|
factoryDeps?: `0x${string}`[] | undefined;
|
@@ -777,7 +777,7 @@ export declare const zkSyncInMemoryNode: {
|
|
777
777
|
blobVersionedHashes?: undefined;
|
778
778
|
kzg?: undefined;
|
779
779
|
sidecars?: undefined;
|
780
|
-
} & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
780
|
+
} & Omit<import("../../index.js").TransactionRequestBase<bigint, number>, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
781
781
|
gasPerPubdata?: bigint | undefined;
|
782
782
|
customSignature?: `0x${string}` | undefined;
|
783
783
|
factoryDeps?: `0x${string}`[] | undefined;
|
@@ -802,7 +802,7 @@ export declare const zkSyncInMemoryNode: {
|
|
802
802
|
blobVersionedHashes?: undefined;
|
803
803
|
kzg?: undefined;
|
804
804
|
sidecars?: undefined;
|
805
|
-
} & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
805
|
+
} & Omit<import("../../index.js").TransactionRequestBase<bigint, number>, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
806
806
|
gasPerPubdata?: bigint | undefined;
|
807
807
|
customSignature?: `0x${string}` | undefined;
|
808
808
|
factoryDeps?: `0x${string}`[] | undefined;
|
@@ -947,7 +947,7 @@ export declare const zkSyncInMemoryNode: {
|
|
947
947
|
blobVersionedHashes?: undefined;
|
948
948
|
kzg?: undefined;
|
949
949
|
sidecars?: undefined;
|
950
|
-
} & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
950
|
+
} & Omit<import("../../index.js").TransactionRequestBase<bigint, number>, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
951
951
|
gasPerPubdata?: bigint | undefined;
|
952
952
|
customSignature?: `0x${string}` | undefined;
|
953
953
|
factoryDeps?: `0x${string}`[] | undefined;
|
@@ -972,7 +972,7 @@ export declare const zkSyncInMemoryNode: {
|
|
972
972
|
blobVersionedHashes?: undefined;
|
973
973
|
kzg?: undefined;
|
974
974
|
sidecars?: undefined;
|
975
|
-
} & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
975
|
+
} & Omit<import("../../index.js").TransactionRequestBase<bigint, number>, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
976
976
|
gasPerPubdata?: bigint | undefined;
|
977
977
|
customSignature?: `0x${string}` | undefined;
|
978
978
|
factoryDeps?: `0x${string}`[] | undefined;
|
@@ -1157,7 +1157,7 @@ export declare const zkSyncInMemoryNode: {
|
|
1157
1157
|
kzg?: import("../../index.js").Kzg | undefined;
|
1158
1158
|
sidecars?: readonly import("../../index.js").BlobSidecar<`0x${string}`>[] | undefined;
|
1159
1159
|
type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
|
1160
|
-
} & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
1160
|
+
} & Omit<import("../../index.js").TransactionRequestBase<bigint, number>, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
1161
1161
|
gasPerPubdata?: bigint | undefined;
|
1162
1162
|
customSignature?: `0x${string}` | undefined;
|
1163
1163
|
factoryDeps?: `0x${string}`[] | undefined;
|
@@ -1182,7 +1182,7 @@ export declare const zkSyncInMemoryNode: {
|
|
1182
1182
|
kzg?: import("../../index.js").Kzg | undefined;
|
1183
1183
|
sidecars?: readonly import("../../index.js").BlobSidecar<`0x${string}`>[] | undefined;
|
1184
1184
|
type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
|
1185
|
-
} & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
1185
|
+
} & Omit<import("../../index.js").TransactionRequestBase<bigint, number>, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
1186
1186
|
gasPerPubdata?: bigint | undefined;
|
1187
1187
|
customSignature?: `0x${string}` | undefined;
|
1188
1188
|
factoryDeps?: `0x${string}`[] | undefined;
|
@@ -607,7 +607,7 @@ export declare const zkSyncLocalNode: {
|
|
607
607
|
blobVersionedHashes?: undefined;
|
608
608
|
kzg?: undefined;
|
609
609
|
sidecars?: undefined;
|
610
|
-
} & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
610
|
+
} & Omit<import("../../index.js").TransactionRequestBase<bigint, number>, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
611
611
|
gasPerPubdata?: bigint | undefined;
|
612
612
|
customSignature?: `0x${string}` | undefined;
|
613
613
|
factoryDeps?: `0x${string}`[] | undefined;
|
@@ -632,7 +632,7 @@ export declare const zkSyncLocalNode: {
|
|
632
632
|
blobVersionedHashes?: undefined;
|
633
633
|
kzg?: undefined;
|
634
634
|
sidecars?: undefined;
|
635
|
-
} & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
635
|
+
} & Omit<import("../../index.js").TransactionRequestBase<bigint, number>, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
636
636
|
gasPerPubdata?: bigint | undefined;
|
637
637
|
customSignature?: `0x${string}` | undefined;
|
638
638
|
factoryDeps?: `0x${string}`[] | undefined;
|
@@ -777,7 +777,7 @@ export declare const zkSyncLocalNode: {
|
|
777
777
|
blobVersionedHashes?: undefined;
|
778
778
|
kzg?: undefined;
|
779
779
|
sidecars?: undefined;
|
780
|
-
} & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
780
|
+
} & Omit<import("../../index.js").TransactionRequestBase<bigint, number>, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
781
781
|
gasPerPubdata?: bigint | undefined;
|
782
782
|
customSignature?: `0x${string}` | undefined;
|
783
783
|
factoryDeps?: `0x${string}`[] | undefined;
|
@@ -802,7 +802,7 @@ export declare const zkSyncLocalNode: {
|
|
802
802
|
blobVersionedHashes?: undefined;
|
803
803
|
kzg?: undefined;
|
804
804
|
sidecars?: undefined;
|
805
|
-
} & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
805
|
+
} & Omit<import("../../index.js").TransactionRequestBase<bigint, number>, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
806
806
|
gasPerPubdata?: bigint | undefined;
|
807
807
|
customSignature?: `0x${string}` | undefined;
|
808
808
|
factoryDeps?: `0x${string}`[] | undefined;
|
@@ -947,7 +947,7 @@ export declare const zkSyncLocalNode: {
|
|
947
947
|
blobVersionedHashes?: undefined;
|
948
948
|
kzg?: undefined;
|
949
949
|
sidecars?: undefined;
|
950
|
-
} & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
950
|
+
} & Omit<import("../../index.js").TransactionRequestBase<bigint, number>, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
951
951
|
gasPerPubdata?: bigint | undefined;
|
952
952
|
customSignature?: `0x${string}` | undefined;
|
953
953
|
factoryDeps?: `0x${string}`[] | undefined;
|
@@ -972,7 +972,7 @@ export declare const zkSyncLocalNode: {
|
|
972
972
|
blobVersionedHashes?: undefined;
|
973
973
|
kzg?: undefined;
|
974
974
|
sidecars?: undefined;
|
975
|
-
} & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
975
|
+
} & Omit<import("../../index.js").TransactionRequestBase<bigint, number>, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
976
976
|
gasPerPubdata?: bigint | undefined;
|
977
977
|
customSignature?: `0x${string}` | undefined;
|
978
978
|
factoryDeps?: `0x${string}`[] | undefined;
|
@@ -1157,7 +1157,7 @@ export declare const zkSyncLocalNode: {
|
|
1157
1157
|
kzg?: import("../../index.js").Kzg | undefined;
|
1158
1158
|
sidecars?: readonly import("../../index.js").BlobSidecar<`0x${string}`>[] | undefined;
|
1159
1159
|
type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
|
1160
|
-
} & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
1160
|
+
} & Omit<import("../../index.js").TransactionRequestBase<bigint, number>, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
1161
1161
|
gasPerPubdata?: bigint | undefined;
|
1162
1162
|
customSignature?: `0x${string}` | undefined;
|
1163
1163
|
factoryDeps?: `0x${string}`[] | undefined;
|
@@ -1182,7 +1182,7 @@ export declare const zkSyncLocalNode: {
|
|
1182
1182
|
kzg?: import("../../index.js").Kzg | undefined;
|
1183
1183
|
sidecars?: readonly import("../../index.js").BlobSidecar<`0x${string}`>[] | undefined;
|
1184
1184
|
type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
|
1185
|
-
} & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
1185
|
+
} & Omit<import("../../index.js").TransactionRequestBase<bigint, number>, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
1186
1186
|
gasPerPubdata?: bigint | undefined;
|
1187
1187
|
customSignature?: `0x${string}` | undefined;
|
1188
1188
|
factoryDeps?: `0x${string}`[] | undefined;
|
@@ -599,7 +599,7 @@ export declare const zkSyncSepoliaTestnet: {
|
|
599
599
|
blobVersionedHashes?: undefined;
|
600
600
|
kzg?: undefined;
|
601
601
|
sidecars?: undefined;
|
602
|
-
} & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
602
|
+
} & Omit<import("../../index.js").TransactionRequestBase<bigint, number>, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
603
603
|
gasPerPubdata?: bigint | undefined;
|
604
604
|
customSignature?: `0x${string}` | undefined;
|
605
605
|
factoryDeps?: `0x${string}`[] | undefined;
|
@@ -624,7 +624,7 @@ export declare const zkSyncSepoliaTestnet: {
|
|
624
624
|
blobVersionedHashes?: undefined;
|
625
625
|
kzg?: undefined;
|
626
626
|
sidecars?: undefined;
|
627
|
-
} & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
627
|
+
} & Omit<import("../../index.js").TransactionRequestBase<bigint, number>, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
628
628
|
gasPerPubdata?: bigint | undefined;
|
629
629
|
customSignature?: `0x${string}` | undefined;
|
630
630
|
factoryDeps?: `0x${string}`[] | undefined;
|
@@ -769,7 +769,7 @@ export declare const zkSyncSepoliaTestnet: {
|
|
769
769
|
blobVersionedHashes?: undefined;
|
770
770
|
kzg?: undefined;
|
771
771
|
sidecars?: undefined;
|
772
|
-
} & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
772
|
+
} & Omit<import("../../index.js").TransactionRequestBase<bigint, number>, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
773
773
|
gasPerPubdata?: bigint | undefined;
|
774
774
|
customSignature?: `0x${string}` | undefined;
|
775
775
|
factoryDeps?: `0x${string}`[] | undefined;
|
@@ -794,7 +794,7 @@ export declare const zkSyncSepoliaTestnet: {
|
|
794
794
|
blobVersionedHashes?: undefined;
|
795
795
|
kzg?: undefined;
|
796
796
|
sidecars?: undefined;
|
797
|
-
} & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
797
|
+
} & Omit<import("../../index.js").TransactionRequestBase<bigint, number>, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
798
798
|
gasPerPubdata?: bigint | undefined;
|
799
799
|
customSignature?: `0x${string}` | undefined;
|
800
800
|
factoryDeps?: `0x${string}`[] | undefined;
|
@@ -939,7 +939,7 @@ export declare const zkSyncSepoliaTestnet: {
|
|
939
939
|
blobVersionedHashes?: undefined;
|
940
940
|
kzg?: undefined;
|
941
941
|
sidecars?: undefined;
|
942
|
-
} & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
942
|
+
} & Omit<import("../../index.js").TransactionRequestBase<bigint, number>, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
943
943
|
gasPerPubdata?: bigint | undefined;
|
944
944
|
customSignature?: `0x${string}` | undefined;
|
945
945
|
factoryDeps?: `0x${string}`[] | undefined;
|
@@ -964,7 +964,7 @@ export declare const zkSyncSepoliaTestnet: {
|
|
964
964
|
blobVersionedHashes?: undefined;
|
965
965
|
kzg?: undefined;
|
966
966
|
sidecars?: undefined;
|
967
|
-
} & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
967
|
+
} & Omit<import("../../index.js").TransactionRequestBase<bigint, number>, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
968
968
|
gasPerPubdata?: bigint | undefined;
|
969
969
|
customSignature?: `0x${string}` | undefined;
|
970
970
|
factoryDeps?: `0x${string}`[] | undefined;
|
@@ -1149,7 +1149,7 @@ export declare const zkSyncSepoliaTestnet: {
|
|
1149
1149
|
kzg?: import("../../index.js").Kzg | undefined;
|
1150
1150
|
sidecars?: readonly import("../../index.js").BlobSidecar<`0x${string}`>[] | undefined;
|
1151
1151
|
type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
|
1152
|
-
} & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
1152
|
+
} & Omit<import("../../index.js").TransactionRequestBase<bigint, number>, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
1153
1153
|
gasPerPubdata?: bigint | undefined;
|
1154
1154
|
customSignature?: `0x${string}` | undefined;
|
1155
1155
|
factoryDeps?: `0x${string}`[] | undefined;
|
@@ -1174,7 +1174,7 @@ export declare const zkSyncSepoliaTestnet: {
|
|
1174
1174
|
kzg?: import("../../index.js").Kzg | undefined;
|
1175
1175
|
sidecars?: readonly import("../../index.js").BlobSidecar<`0x${string}`>[] | undefined;
|
1176
1176
|
type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
|
1177
|
-
} & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
1177
|
+
} & Omit<import("../../index.js").TransactionRequestBase<bigint, number>, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
1178
1178
|
gasPerPubdata?: bigint | undefined;
|
1179
1179
|
customSignature?: `0x${string}` | undefined;
|
1180
1180
|
factoryDeps?: `0x${string}`[] | undefined;
|
@@ -600,7 +600,7 @@ export declare const zkSyncTestnet: {
|
|
600
600
|
blobVersionedHashes?: undefined;
|
601
601
|
kzg?: undefined;
|
602
602
|
sidecars?: undefined;
|
603
|
-
} & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
603
|
+
} & Omit<import("../../index.js").TransactionRequestBase<bigint, number>, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
604
604
|
gasPerPubdata?: bigint | undefined;
|
605
605
|
customSignature?: `0x${string}` | undefined;
|
606
606
|
factoryDeps?: `0x${string}`[] | undefined;
|
@@ -625,7 +625,7 @@ export declare const zkSyncTestnet: {
|
|
625
625
|
blobVersionedHashes?: undefined;
|
626
626
|
kzg?: undefined;
|
627
627
|
sidecars?: undefined;
|
628
|
-
} & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
628
|
+
} & Omit<import("../../index.js").TransactionRequestBase<bigint, number>, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
629
629
|
gasPerPubdata?: bigint | undefined;
|
630
630
|
customSignature?: `0x${string}` | undefined;
|
631
631
|
factoryDeps?: `0x${string}`[] | undefined;
|
@@ -770,7 +770,7 @@ export declare const zkSyncTestnet: {
|
|
770
770
|
blobVersionedHashes?: undefined;
|
771
771
|
kzg?: undefined;
|
772
772
|
sidecars?: undefined;
|
773
|
-
} & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
773
|
+
} & Omit<import("../../index.js").TransactionRequestBase<bigint, number>, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
774
774
|
gasPerPubdata?: bigint | undefined;
|
775
775
|
customSignature?: `0x${string}` | undefined;
|
776
776
|
factoryDeps?: `0x${string}`[] | undefined;
|
@@ -795,7 +795,7 @@ export declare const zkSyncTestnet: {
|
|
795
795
|
blobVersionedHashes?: undefined;
|
796
796
|
kzg?: undefined;
|
797
797
|
sidecars?: undefined;
|
798
|
-
} & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
798
|
+
} & Omit<import("../../index.js").TransactionRequestBase<bigint, number>, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
799
799
|
gasPerPubdata?: bigint | undefined;
|
800
800
|
customSignature?: `0x${string}` | undefined;
|
801
801
|
factoryDeps?: `0x${string}`[] | undefined;
|
@@ -940,7 +940,7 @@ export declare const zkSyncTestnet: {
|
|
940
940
|
blobVersionedHashes?: undefined;
|
941
941
|
kzg?: undefined;
|
942
942
|
sidecars?: undefined;
|
943
|
-
} & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
943
|
+
} & Omit<import("../../index.js").TransactionRequestBase<bigint, number>, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
944
944
|
gasPerPubdata?: bigint | undefined;
|
945
945
|
customSignature?: `0x${string}` | undefined;
|
946
946
|
factoryDeps?: `0x${string}`[] | undefined;
|
@@ -965,7 +965,7 @@ export declare const zkSyncTestnet: {
|
|
965
965
|
blobVersionedHashes?: undefined;
|
966
966
|
kzg?: undefined;
|
967
967
|
sidecars?: undefined;
|
968
|
-
} & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
968
|
+
} & Omit<import("../../index.js").TransactionRequestBase<bigint, number>, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
969
969
|
gasPerPubdata?: bigint | undefined;
|
970
970
|
customSignature?: `0x${string}` | undefined;
|
971
971
|
factoryDeps?: `0x${string}`[] | undefined;
|
@@ -1150,7 +1150,7 @@ export declare const zkSyncTestnet: {
|
|
1150
1150
|
kzg?: import("../../index.js").Kzg | undefined;
|
1151
1151
|
sidecars?: readonly import("../../index.js").BlobSidecar<`0x${string}`>[] | undefined;
|
1152
1152
|
type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
|
1153
|
-
} & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
1153
|
+
} & Omit<import("../../index.js").TransactionRequestBase<bigint, number>, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
1154
1154
|
gasPerPubdata?: bigint | undefined;
|
1155
1155
|
customSignature?: `0x${string}` | undefined;
|
1156
1156
|
factoryDeps?: `0x${string}`[] | undefined;
|
@@ -1175,7 +1175,7 @@ export declare const zkSyncTestnet: {
|
|
1175
1175
|
kzg?: import("../../index.js").Kzg | undefined;
|
1176
1176
|
sidecars?: readonly import("../../index.js").BlobSidecar<`0x${string}`>[] | undefined;
|
1177
1177
|
type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
|
1178
|
-
} & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
1178
|
+
} & Omit<import("../../index.js").TransactionRequestBase<bigint, number>, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
|
1179
1179
|
gasPerPubdata?: bigint | undefined;
|
1180
1180
|
customSignature?: `0x${string}` | undefined;
|
1181
1181
|
factoryDeps?: `0x${string}`[] | undefined;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const version = "0.0.0-main.
|
1
|
+
export declare const version = "0.0.0-main.20240519T233212";
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import type { SendTransactionParameters } from '../../actions/wallet/sendTransaction.js';
|
2
|
+
import type { Client } from '../../clients/createClient.js';
|
3
|
+
import type { Transport } from '../../clients/transports/createTransport.js';
|
4
|
+
import type { Account } from '../../types/account.js';
|
5
|
+
import type { ChainEIP712 } from '../types/chain.js';
|
6
|
+
import type { PublicZkSyncRpcSchema } from '../types/eip1193.js';
|
7
|
+
import type { ZkSyncFee } from '../types/fee.js';
|
8
|
+
export type EstimateFeeParameters<chain extends ChainEIP712 | undefined = ChainEIP712 | undefined, account extends Account | undefined = Account | undefined, chainOverride extends ChainEIP712 | undefined = ChainEIP712 | undefined> = SendTransactionParameters<chain, account, chainOverride>;
|
9
|
+
export type EstimateFeeReturnType = ZkSyncFee;
|
10
|
+
export declare function estimateFee<chain extends ChainEIP712 | undefined, account extends Account | undefined>(client: Client<Transport, chain, account, PublicZkSyncRpcSchema>, parameters: EstimateFeeParameters<chain, account>): Promise<EstimateFeeReturnType>;
|
11
|
+
//# sourceMappingURL=estimateFee.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"estimateFee.d.ts","sourceRoot":"","sources":["../../../zksync/actions/estimateFee.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAA;AACxF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AAErD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AACpD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAA;AAChE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAEhD,MAAM,MAAM,qBAAqB,CAC/B,KAAK,SAAS,WAAW,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,EAC/D,OAAO,SAAS,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,EACzD,aAAa,SAAS,WAAW,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,IACrE,yBAAyB,CAAC,KAAK,EAAE,OAAO,EAAE,aAAa,CAAC,CAAA;AAE5D,MAAM,MAAM,qBAAqB,GAAG,SAAS,CAAA;AAE7C,wBAAsB,WAAW,CAC/B,KAAK,SAAS,WAAW,GAAG,SAAS,EACrC,OAAO,SAAS,OAAO,GAAG,SAAS,EAEnC,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,qBAAqB,CAAC,EAChE,UAAU,EAAE,qBAAqB,CAAC,KAAK,EAAE,OAAO,CAAC,GAChD,OAAO,CAAC,qBAAqB,CAAC,CAqBhC"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import type { SendTransactionParameters } from '../../actions/wallet/sendTransaction.js';
|
2
|
+
import type { Client } from '../../clients/createClient.js';
|
3
|
+
import type { Transport } from '../../clients/transports/createTransport.js';
|
4
|
+
import type { Account } from '../../types/account.js';
|
5
|
+
import type { ChainEIP712 } from '../types/chain.js';
|
6
|
+
import type { PublicZkSyncRpcSchema } from '../types/eip1193.js';
|
7
|
+
export type EstimateGasL1ToL2Parameters<chain extends ChainEIP712 | undefined = ChainEIP712 | undefined, account extends Account | undefined = Account | undefined> = SendTransactionParameters<chain, account>;
|
8
|
+
export type EstimateGasL1ToL2ReturnType = bigint;
|
9
|
+
export declare function estimateGasL1ToL2<chain extends ChainEIP712 | undefined, account extends Account | undefined>(client: Client<Transport, chain, account, PublicZkSyncRpcSchema>, parameters: EstimateGasL1ToL2Parameters<chain, account>): Promise<EstimateGasL1ToL2ReturnType>;
|
10
|
+
//# sourceMappingURL=estimateGasL1ToL2.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"estimateGasL1ToL2.d.ts","sourceRoot":"","sources":["../../../zksync/actions/estimateGasL1ToL2.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAA;AACxF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AAErD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AACpD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAA;AAEhE,MAAM,MAAM,2BAA2B,CACrC,KAAK,SAAS,WAAW,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,EAC/D,OAAO,SAAS,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,IACvD,yBAAyB,CAAC,KAAK,EAAE,OAAO,CAAC,CAAA;AAE7C,MAAM,MAAM,2BAA2B,GAAG,MAAM,CAAA;AAEhD,wBAAsB,iBAAiB,CACrC,KAAK,SAAS,WAAW,GAAG,SAAS,EACrC,OAAO,SAAS,OAAO,GAAG,SAAS,EAEnC,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,qBAAqB,CAAC,EAChE,UAAU,EAAE,2BAA2B,CAAC,KAAK,EAAE,OAAO,CAAC,GACtD,OAAO,CAAC,2BAA2B,CAAC,CAgBtC"}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import type { Address } from 'abitype';
|
2
|
+
import type { Client } from '../../clients/createClient.js';
|
3
|
+
import type { Transport } from '../../clients/transports/createTransport.js';
|
4
|
+
import type { Account, GetAccountParameter } from '../../types/account.js';
|
5
|
+
import type { Chain } from '../../types/chain.js';
|
6
|
+
import type { PublicZkSyncRpcSchema } from '../types/eip1193.js';
|
7
|
+
export type GetAllBalancesParameters<TAccount extends Account | undefined = Account | undefined> = GetAccountParameter<TAccount>;
|
8
|
+
export type GetAllBalancesReturnType = {
|
9
|
+
[key: Address]: bigint;
|
10
|
+
};
|
11
|
+
export declare function getAllBalances<TChain extends Chain | undefined, TAccount extends Account | undefined>(client: Client<Transport, TChain, TAccount, PublicZkSyncRpcSchema>, parameters: GetAllBalancesParameters<TAccount>): Promise<GetAllBalancesReturnType>;
|
12
|
+
//# sourceMappingURL=getAllBalances.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"getAllBalances.d.ts","sourceRoot":"","sources":["../../../zksync/actions/getAllBalances.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,KAAK,EAAE,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AAC1E,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AAGjD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAA;AAEhE,MAAM,MAAM,wBAAwB,CAClC,QAAQ,SAAS,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,IACxD,mBAAmB,CAAC,QAAQ,CAAC,CAAA;AAEjC,MAAM,MAAM,wBAAwB,GAAG;IAAE,CAAC,GAAG,EAAE,OAAO,GAAG,MAAM,CAAA;CAAE,CAAA;AAEjE,wBAAsB,cAAc,CAClC,MAAM,SAAS,KAAK,GAAG,SAAS,EAChC,QAAQ,SAAS,OAAO,GAAG,SAAS,EAEpC,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,qBAAqB,CAAC,EAClE,UAAU,EAAE,wBAAwB,CAAC,QAAQ,CAAC,GAC7C,OAAO,CAAC,wBAAwB,CAAC,CAWnC"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import type { Address } from 'abitype';
|
2
|
+
import type { Client } from '../../clients/createClient.js';
|
3
|
+
import type { Transport } from '../../clients/transports/createTransport.js';
|
4
|
+
import type { Account } from '../../types/account.js';
|
5
|
+
import type { Chain } from '../../types/chain.js';
|
6
|
+
import type { PublicZkSyncRpcSchema } from '../types/eip1193.js';
|
7
|
+
export type GetBaseTokenL1AddressReturnType = Address;
|
8
|
+
export declare function getBaseTokenL1Address<TChain extends Chain | undefined, TAccount extends Account | undefined>(client: Client<Transport, TChain, TAccount, PublicZkSyncRpcSchema>): Promise<GetBaseTokenL1AddressReturnType>;
|
9
|
+
//# sourceMappingURL=getBaseTokenL1Address.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"getBaseTokenL1Address.d.ts","sourceRoot":"","sources":["../../../zksync/actions/getBaseTokenL1Address.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAA;AAEhE,MAAM,MAAM,+BAA+B,GAAG,OAAO,CAAA;AAErD,wBAAsB,qBAAqB,CACzC,MAAM,SAAS,KAAK,GAAG,SAAS,EAChC,QAAQ,SAAS,OAAO,GAAG,SAAS,EAEpC,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,qBAAqB,CAAC,GACjE,OAAO,CAAC,+BAA+B,CAAC,CAG1C"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import type { Client } from '../../clients/createClient.js';
|
2
|
+
import type { Transport } from '../../clients/transports/createTransport.js';
|
3
|
+
import type { Account } from '../../types/account.js';
|
4
|
+
import type { Chain } from '../../types/chain.js';
|
5
|
+
import type { ZkSyncBlockDetails, ZkSyncNumberParameter } from '../types/block.js';
|
6
|
+
import type { PublicZkSyncRpcSchema } from '../types/eip1193.js';
|
7
|
+
export type GetBlockDetailsParameters = ZkSyncNumberParameter;
|
8
|
+
export type GetBlockDetailsReturnType = ZkSyncBlockDetails;
|
9
|
+
export declare function getBlockDetails<TChain extends Chain | undefined, TAccount extends Account | undefined>(client: Client<Transport, TChain, TAccount, PublicZkSyncRpcSchema>, parameters: GetBlockDetailsParameters): Promise<GetBlockDetailsReturnType>;
|
10
|
+
//# sourceMappingURL=getBlockDetails.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"getBlockDetails.d.ts","sourceRoot":"","sources":["../../../zksync/actions/getBlockDetails.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,KAAK,EACV,kBAAkB,EAClB,qBAAqB,EACtB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAA;AAEhE,MAAM,MAAM,yBAAyB,GAAG,qBAAqB,CAAA;AAE7D,MAAM,MAAM,yBAAyB,GAAG,kBAAkB,CAAA;AAE1D,wBAAsB,eAAe,CACnC,MAAM,SAAS,KAAK,GAAG,SAAS,EAChC,QAAQ,SAAS,OAAO,GAAG,SAAS,EAEpC,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,qBAAqB,CAAC,EAClE,UAAU,EAAE,yBAAyB,GACpC,OAAO,CAAC,yBAAyB,CAAC,CAMpC"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import type { Address } from 'abitype';
|
2
|
+
import type { Client } from '../../clients/createClient.js';
|
3
|
+
import type { Transport } from '../../clients/transports/createTransport.js';
|
4
|
+
import type { Account } from '../../types/account.js';
|
5
|
+
import type { Chain } from '../../types/chain.js';
|
6
|
+
import type { PublicZkSyncRpcSchema } from '../types/eip1193.js';
|
7
|
+
export type GetBridgehubContractAddressReturnType = Address;
|
8
|
+
export declare function getBridgehubContractAddress<TChain extends Chain | undefined, TAccount extends Account | undefined>(client: Client<Transport, TChain, TAccount, PublicZkSyncRpcSchema>): Promise<GetBridgehubContractAddressReturnType>;
|
9
|
+
//# sourceMappingURL=getBridgehubContractAddress.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"getBridgehubContractAddress.d.ts","sourceRoot":"","sources":["../../../zksync/actions/getBridgehubContractAddress.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAA;AAEhE,MAAM,MAAM,qCAAqC,GAAG,OAAO,CAAA;AAE3D,wBAAsB,2BAA2B,CAC/C,MAAM,SAAS,KAAK,GAAG,SAAS,EAChC,QAAQ,SAAS,OAAO,GAAG,SAAS,EAEpC,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,qBAAqB,CAAC,GACjE,OAAO,CAAC,qCAAqC,CAAC,CAGhD"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import type { Client } from '../../clients/createClient.js';
|
2
|
+
import type { Transport } from '../../clients/transports/createTransport.js';
|
3
|
+
import type { Account } from '../../types/account.js';
|
4
|
+
import type { Chain } from '../../types/chain.js';
|
5
|
+
import type { BridgeContractAddresses } from '../types/contract.js';
|
6
|
+
import type { PublicZkSyncRpcSchema } from '../types/eip1193.js';
|
7
|
+
export type GetDefaultBridgeAddressesReturnType = BridgeContractAddresses;
|
8
|
+
export declare function getDefaultBridgeAddresses<TChain extends Chain | undefined, TAccount extends Account | undefined>(client: Client<Transport, TChain, TAccount, PublicZkSyncRpcSchema>): Promise<GetDefaultBridgeAddressesReturnType>;
|
9
|
+
//# sourceMappingURL=getDefaultBridgeAddresses.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"getDefaultBridgeAddresses.d.ts","sourceRoot":"","sources":["../../../zksync/actions/getDefaultBridgeAddresses.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AACnE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAA;AAEhE,MAAM,MAAM,mCAAmC,GAAG,uBAAuB,CAAA;AAEzE,wBAAsB,yBAAyB,CAC7C,MAAM,SAAS,KAAK,GAAG,SAAS,EAChC,QAAQ,SAAS,OAAO,GAAG,SAAS,EAEpC,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,qBAAqB,CAAC,GACjE,OAAO,CAAC,mCAAmC,CAAC,CAO9C"}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import type { Client } from '../../clients/createClient.js';
|
2
|
+
import type { Transport } from '../../clients/transports/createTransport.js';
|
3
|
+
import type { Account } from '../../types/account.js';
|
4
|
+
import type { Chain } from '../../types/chain.js';
|
5
|
+
import type { PublicZkSyncRpcSchema } from '../types/eip1193.js';
|
6
|
+
export type GetL1BatchBlockRangeParameters = {
|
7
|
+
l1BatchNumber: number;
|
8
|
+
};
|
9
|
+
export type GetL1BatchBlockRangeReturnParameters = [number, number];
|
10
|
+
export declare function getL1BatchBlockRange<TChain extends Chain | undefined, TAccount extends Account | undefined>(client: Client<Transport, TChain, TAccount, PublicZkSyncRpcSchema>, parameters: GetL1BatchBlockRangeParameters): Promise<GetL1BatchBlockRangeReturnParameters>;
|
11
|
+
//# sourceMappingURL=getL1BatchBlockRange.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"getL1BatchBlockRange.d.ts","sourceRoot":"","sources":["../../../zksync/actions/getL1BatchBlockRange.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AAEjD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAA;AAEhE,MAAM,MAAM,8BAA8B,GAAG;IAC3C,aAAa,EAAE,MAAM,CAAA;CACtB,CAAA;AAED,MAAM,MAAM,oCAAoC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;AAEnE,wBAAsB,oBAAoB,CACxC,MAAM,SAAS,KAAK,GAAG,SAAS,EAChC,QAAQ,SAAS,OAAO,GAAG,SAAS,EAEpC,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,qBAAqB,CAAC,EAClE,UAAU,EAAE,8BAA8B,GACzC,OAAO,CAAC,oCAAoC,CAAC,CAM/C"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import type { Client } from '../../clients/createClient.js';
|
2
|
+
import type { Transport } from '../../clients/transports/createTransport.js';
|
3
|
+
import type { Account } from '../../types/account.js';
|
4
|
+
import type { Chain } from '../../types/chain.js';
|
5
|
+
import type { ZkSyncBatchDetails, ZkSyncNumberParameter } from '../types/block.js';
|
6
|
+
import type { PublicZkSyncRpcSchema } from '../types/eip1193.js';
|
7
|
+
export type GetL1BatchDetailsParameters = ZkSyncNumberParameter;
|
8
|
+
export type GetL1BatchDetailsReturnType = ZkSyncBatchDetails;
|
9
|
+
export declare function getL1BatchDetails<TChain extends Chain | undefined, TAccount extends Account | undefined>(client: Client<Transport, TChain, TAccount, PublicZkSyncRpcSchema>, parameters: GetL1BatchDetailsParameters): Promise<GetL1BatchDetailsReturnType>;
|
10
|
+
//# sourceMappingURL=getL1BatchDetails.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"getL1BatchDetails.d.ts","sourceRoot":"","sources":["../../../zksync/actions/getL1BatchDetails.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,KAAK,EACV,kBAAkB,EAClB,qBAAqB,EACtB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAA;AAEhE,MAAM,MAAM,2BAA2B,GAAG,qBAAqB,CAAA;AAE/D,MAAM,MAAM,2BAA2B,GAAG,kBAAkB,CAAA;AAE5D,wBAAsB,iBAAiB,CACrC,MAAM,SAAS,KAAK,GAAG,SAAS,EAChC,QAAQ,SAAS,OAAO,GAAG,SAAS,EAEpC,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,qBAAqB,CAAC,EAClE,UAAU,EAAE,2BAA2B,GACtC,OAAO,CAAC,2BAA2B,CAAC,CAMtC"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import type { Client } from '../../clients/createClient.js';
|
2
|
+
import type { Transport } from '../../clients/transports/createTransport.js';
|
3
|
+
import type { Account } from '../../types/account.js';
|
4
|
+
import type { Chain } from '../../types/chain.js';
|
5
|
+
import type { Hex } from '../../types/misc.js';
|
6
|
+
import type { PublicZkSyncRpcSchema } from '../types/eip1193.js';
|
7
|
+
export type GetL1BatchNumberReturnType = Hex;
|
8
|
+
export declare function getL1BatchNumber<TChain extends Chain | undefined, TAccount extends Account | undefined>(client: Client<Transport, TChain, TAccount, PublicZkSyncRpcSchema>): Promise<GetL1BatchNumberReturnType>;
|
9
|
+
//# sourceMappingURL=getL1BatchNumber.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"getL1BatchNumber.d.ts","sourceRoot":"","sources":["../../../zksync/actions/getL1BatchNumber.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAA;AAC9C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAA;AAEhE,MAAM,MAAM,0BAA0B,GAAG,GAAG,CAAA;AAE5C,wBAAsB,gBAAgB,CACpC,MAAM,SAAS,KAAK,GAAG,SAAS,EAChC,QAAQ,SAAS,OAAO,GAAG,SAAS,EAEpC,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,qBAAqB,CAAC,GACjE,OAAO,CAAC,0BAA0B,CAAC,CAGrC"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import type { Client } from '../../clients/createClient.js';
|
2
|
+
import type { Transport } from '../../clients/transports/createTransport.js';
|
3
|
+
import type { Account } from '../../types/account.js';
|
4
|
+
import type { Chain } from '../../types/chain.js';
|
5
|
+
import type { Hex } from '../../types/misc.js';
|
6
|
+
import type { PublicZkSyncRpcSchema } from '../types/eip1193.js';
|
7
|
+
export type GetL1ChainIdReturnType = Hex;
|
8
|
+
export declare function getL1ChainId<TChain extends Chain | undefined, TAccount extends Account | undefined>(client: Client<Transport, TChain, TAccount, PublicZkSyncRpcSchema>): Promise<GetL1ChainIdReturnType>;
|
9
|
+
//# sourceMappingURL=getL1ChainId.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"getL1ChainId.d.ts","sourceRoot":"","sources":["../../../zksync/actions/getL1ChainId.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAA;AAC9C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAA;AAEhE,MAAM,MAAM,sBAAsB,GAAG,GAAG,CAAA;AAExC,wBAAsB,YAAY,CAChC,MAAM,SAAS,KAAK,GAAG,SAAS,EAChC,QAAQ,SAAS,OAAO,GAAG,SAAS,EAEpC,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,qBAAqB,CAAC,GACjE,OAAO,CAAC,sBAAsB,CAAC,CAGjC"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import type { Client } from '../../clients/createClient.js';
|
2
|
+
import type { Transport } from '../../clients/transports/createTransport.js';
|
3
|
+
import type { Account } from '../../types/account.js';
|
4
|
+
import type { Chain } from '../../types/chain.js';
|
5
|
+
import type { Hash } from '../../types/misc.js';
|
6
|
+
import type { PublicZkSyncRpcSchema } from '../types/eip1193.js';
|
7
|
+
import type { MessageProof } from '../types/proof.js';
|
8
|
+
export type GetLogProofParameters = {
|
9
|
+
txHash: Hash;
|
10
|
+
index?: number | undefined;
|
11
|
+
};
|
12
|
+
export type GetLogProofReturnType = MessageProof | null;
|
13
|
+
export declare function getLogProof<TChain extends Chain | undefined, TAccount extends Account | undefined>(client: Client<Transport, TChain, TAccount, PublicZkSyncRpcSchema>, parameters: GetLogProofParameters): Promise<MessageProof | null>;
|
14
|
+
//# sourceMappingURL=getLogProof.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"getLogProof.d.ts","sourceRoot":"","sources":["../../../zksync/actions/getLogProof.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAA;AAC/C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAA;AAChE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAErD,MAAM,MAAM,qBAAqB,GAAG;IAClC,MAAM,EAAE,IAAI,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAC3B,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG,YAAY,GAAG,IAAI,CAAA;AAEvD,wBAAsB,WAAW,CAC/B,MAAM,SAAS,KAAK,GAAG,SAAS,EAChC,QAAQ,SAAS,OAAO,GAAG,SAAS,EAEpC,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,qBAAqB,CAAC,EAClE,UAAU,EAAE,qBAAqB,GAChC,OAAO,CAAC,YAAY,GAAG,IAAI,CAAC,CAM9B"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import type { Address } from 'abitype';
|
2
|
+
import type { Client } from '../../clients/createClient.js';
|
3
|
+
import type { Transport } from '../../clients/transports/createTransport.js';
|
4
|
+
import type { Account } from '../../types/account.js';
|
5
|
+
import type { Chain } from '../../types/chain.js';
|
6
|
+
import type { PublicZkSyncRpcSchema } from '../types/eip1193.js';
|
7
|
+
export type GetMainContractAddressReturnType = Address;
|
8
|
+
export declare function getMainContractAddress<TChain extends Chain | undefined, TAccount extends Account | undefined>(client: Client<Transport, TChain, TAccount, PublicZkSyncRpcSchema>): Promise<GetMainContractAddressReturnType>;
|
9
|
+
//# sourceMappingURL=getMainContractAddress.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"getMainContractAddress.d.ts","sourceRoot":"","sources":["../../../zksync/actions/getMainContractAddress.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAA;AAEhE,MAAM,MAAM,gCAAgC,GAAG,OAAO,CAAA;AAEtD,wBAAsB,sBAAsB,CAC1C,MAAM,SAAS,KAAK,GAAG,SAAS,EAChC,QAAQ,SAAS,OAAO,GAAG,SAAS,EAEpC,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,qBAAqB,CAAC,GACjE,OAAO,CAAC,gCAAgC,CAAC,CAG3C"}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import type { Client } from '../../clients/createClient.js';
|
2
|
+
import type { Transport } from '../../clients/transports/createTransport.js';
|
3
|
+
import type { Account } from '../../types/account.js';
|
4
|
+
import type { Chain } from '../../types/chain.js';
|
5
|
+
import type { ZkSyncNumberParameter } from '../types/block.js';
|
6
|
+
import type { PublicZkSyncRpcSchema } from '../types/eip1193.js';
|
7
|
+
import type { ZkSyncRawBlockTransactions } from '../types/transaction.js';
|
8
|
+
export type GetRawBlockTransactionParameters = ZkSyncNumberParameter;
|
9
|
+
export type GetRawBlockTransactionReturnType = ZkSyncRawBlockTransactions;
|
10
|
+
export declare function getRawBlockTransactions<TChain extends Chain | undefined, TAccount extends Account | undefined>(client: Client<Transport, TChain, TAccount, PublicZkSyncRpcSchema>, parameters: GetRawBlockTransactionParameters): Promise<GetRawBlockTransactionReturnType>;
|
11
|
+
//# sourceMappingURL=getRawBlockTransaction.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"getRawBlockTransaction.d.ts","sourceRoot":"","sources":["../../../zksync/actions/getRawBlockTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAA;AAC9D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAA;AAChE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAA;AAGzE,MAAM,MAAM,gCAAgC,GAAG,qBAAqB,CAAA;AAEpE,MAAM,MAAM,gCAAgC,GAAG,0BAA0B,CAAA;AAEzE,wBAAsB,uBAAuB,CAC3C,MAAM,SAAS,KAAK,GAAG,SAAS,EAChC,QAAQ,SAAS,OAAO,GAAG,SAAS,EAEpC,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,qBAAqB,CAAC,EAClE,UAAU,EAAE,gCAAgC,GAC3C,OAAO,CAAC,gCAAgC,CAAC,CAM3C"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import type { Address } from 'abitype';
|
2
|
+
import type { Client } from '../../clients/createClient.js';
|
3
|
+
import type { Transport } from '../../clients/transports/createTransport.js';
|
4
|
+
import type { Account } from '../../types/account.js';
|
5
|
+
import type { Chain } from '../../types/chain.js';
|
6
|
+
import type { PublicZkSyncRpcSchema } from '../types/eip1193.js';
|
7
|
+
export type GetTestnetPaymasterAddressReturnType = Address | null;
|
8
|
+
export declare function getTestnetPaymasterAddress<TChain extends Chain | undefined, TAccount extends Account | undefined>(client: Client<Transport, TChain, TAccount, PublicZkSyncRpcSchema>): Promise<GetTestnetPaymasterAddressReturnType>;
|
9
|
+
//# sourceMappingURL=getTestnetPaymasterAddress.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"getTestnetPaymasterAddress.d.ts","sourceRoot":"","sources":["../../../zksync/actions/getTestnetPaymasterAddress.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAA;AAEhE,MAAM,MAAM,oCAAoC,GAAG,OAAO,GAAG,IAAI,CAAA;AAEjE,wBAAsB,0BAA0B,CAC9C,MAAM,SAAS,KAAK,GAAG,SAAS,EAChC,QAAQ,SAAS,OAAO,GAAG,SAAS,EAEpC,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,qBAAqB,CAAC,GACjE,OAAO,CAAC,oCAAoC,CAAC,CAG/C"}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import type { Client } from '../../clients/createClient.js';
|
2
|
+
import type { Transport } from '../../clients/transports/createTransport.js';
|
3
|
+
import type { Account } from '../../types/account.js';
|
4
|
+
import type { Chain } from '../../types/chain.js';
|
5
|
+
import type { Hash } from '../../types/misc.js';
|
6
|
+
import type { PublicZkSyncRpcSchema } from '../types/eip1193.js';
|
7
|
+
import type { ZkSyncTransactionDetails } from '../types/transaction.js';
|
8
|
+
export type GetTransactionDetailsParameters = {
|
9
|
+
txHash: Hash;
|
10
|
+
};
|
11
|
+
export type GetTransactionDetailsReturnType = ZkSyncTransactionDetails;
|
12
|
+
export declare function getTransactionDetails<TChain extends Chain | undefined, TAccount extends Account | undefined>(client: Client<Transport, TChain, TAccount, PublicZkSyncRpcSchema>, parameters: GetTransactionDetailsParameters): Promise<GetTransactionDetailsReturnType>;
|
13
|
+
//# sourceMappingURL=getTransactionDetails.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"getTransactionDetails.d.ts","sourceRoot":"","sources":["../../../zksync/actions/getTransactionDetails.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAA;AAC/C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAA;AAChE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAA;AAEvE,MAAM,MAAM,+BAA+B,GAAG;IAC5C,MAAM,EAAE,IAAI,CAAA;CACb,CAAA;AAED,MAAM,MAAM,+BAA+B,GAAG,wBAAwB,CAAA;AAEtE,wBAAsB,qBAAqB,CACzC,MAAM,SAAS,KAAK,GAAG,SAAS,EAChC,QAAQ,SAAS,OAAO,GAAG,SAAS,EAEpC,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,qBAAqB,CAAC,EAClE,UAAU,EAAE,+BAA+B,GAC1C,OAAO,CAAC,+BAA+B,CAAC,CAM1C"}
|