viem 0.0.0-w-20230818192605 → 0.0.0-w-20230818210302
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/types/chains/celo/formatters.d.ts +4 -4
- package/dist/types/chains/index.d.ts +1261 -60
- package/dist/types/chains/index.d.ts.map +1 -1
- package/dist/types/chains/optimism/formatters.d.ts +212 -12
- package/dist/types/chains/optimism/formatters.d.ts.map +1 -1
- package/dist/types/types/utils.d.ts +2 -68
- package/dist/types/types/utils.d.ts.map +1 -1
- package/dist/types/utils/formatters/transaction.d.ts +1 -1
- package/dist/types/utils/formatters/transactionRequest.d.ts +1 -1
- package/package.json +1 -1
- package/src/chains/index.ts +3 -0
- package/src/types/utils.ts +5 -92
@@ -3,7 +3,7 @@ import type { CeloBlockOverrides, CeloRpcTransaction, CeloRpcTransactionOverride
|
|
3
3
|
export declare const formattersCelo: {
|
4
4
|
readonly block: {
|
5
5
|
exclude: ("nonce" | "difficulty" | "gasLimit" | "mixHash" | "uncles")[] | undefined;
|
6
|
-
format: (args: import("
|
6
|
+
format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcBlock>, CeloBlockOverrides & {
|
7
7
|
transactions: Hash[] | CeloRpcTransaction[];
|
8
8
|
}>) => {
|
9
9
|
baseFeePerGas: bigint | null;
|
@@ -43,7 +43,7 @@ export declare const formattersCelo: {
|
|
43
43
|
};
|
44
44
|
readonly transaction: {
|
45
45
|
exclude: [] | undefined;
|
46
|
-
format: (args: import("
|
46
|
+
format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransaction>, CeloRpcTransactionOverrides>) => ({
|
47
47
|
blockHash: `0x${string}` | null;
|
48
48
|
blockNumber: bigint | null;
|
49
49
|
from: `0x${string}`;
|
@@ -120,7 +120,7 @@ export declare const formattersCelo: {
|
|
120
120
|
};
|
121
121
|
readonly transactionReceipt: {
|
122
122
|
exclude: [] | undefined;
|
123
|
-
format: (args: import("
|
123
|
+
format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransactionReceipt>, CeloRpcTransactionReceiptOverrides>) => {
|
124
124
|
blockHash: `0x${string}`;
|
125
125
|
blockNumber: bigint;
|
126
126
|
contractAddress: `0x${string}` | null;
|
@@ -143,7 +143,7 @@ export declare const formattersCelo: {
|
|
143
143
|
};
|
144
144
|
readonly transactionRequest: {
|
145
145
|
exclude: [] | undefined;
|
146
|
-
format: (args: import("
|
146
|
+
format: (args: import("../index.js").Assign<Partial<import("../../index.js").TransactionRequest>, CeloTransactionRequestOverrides>) => ({
|
147
147
|
data?: `0x${string}` | undefined;
|
148
148
|
from: `0x${string}`;
|
149
149
|
gas?: `0x${string}` | undefined;
|