viem 0.0.0-main.20230621T081821 → 0.0.0-main.20230621T100853
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/cjs/actions/getContract.js.map +1 -1
- package/dist/cjs/actions/public/call.js +3 -2
- package/dist/cjs/actions/public/call.js.map +1 -1
- package/dist/cjs/actions/public/estimateGas.js +3 -2
- package/dist/cjs/actions/public/estimateGas.js.map +1 -1
- package/dist/cjs/actions/public/getBlock.js +1 -1
- package/dist/cjs/actions/public/getBlock.js.map +1 -1
- package/dist/cjs/actions/public/getTransaction.js +1 -1
- package/dist/cjs/actions/public/getTransaction.js.map +1 -1
- package/dist/cjs/actions/public/getTransactionReceipt.js +2 -1
- package/dist/cjs/actions/public/getTransactionReceipt.js.map +1 -1
- package/dist/cjs/actions/public/watchBlocks.js +1 -1
- package/dist/cjs/actions/public/watchBlocks.js.map +1 -1
- package/dist/cjs/actions/test/sendUnsignedTransaction.js +3 -2
- package/dist/cjs/actions/test/sendUnsignedTransaction.js.map +1 -1
- package/dist/cjs/actions/wallet/sendTransaction.js +2 -2
- package/dist/cjs/actions/wallet/sendTransaction.js.map +1 -1
- package/dist/cjs/actions/wallet/writeContract.js.map +1 -1
- package/dist/cjs/chains/formatters/celo.js.map +1 -1
- package/dist/cjs/chains/formatters/optimism.js +3 -4
- package/dist/cjs/chains/formatters/optimism.js.map +1 -1
- package/dist/cjs/errors/version.js +1 -1
- package/dist/cjs/utils/formatters/block.js +1 -1
- package/dist/cjs/utils/formatters/block.js.map +1 -1
- package/dist/cjs/utils/formatters/extract.js +3 -3
- package/dist/cjs/utils/formatters/extract.js.map +1 -1
- package/dist/cjs/utils/formatters/formatter.js +14 -11
- package/dist/cjs/utils/formatters/formatter.js.map +1 -1
- package/dist/cjs/utils/formatters/transaction.js +1 -1
- package/dist/cjs/utils/formatters/transaction.js.map +1 -1
- package/dist/cjs/utils/formatters/transactionReceipt.js +1 -1
- package/dist/cjs/utils/formatters/transactionReceipt.js.map +1 -1
- package/dist/cjs/utils/formatters/transactionRequest.js +1 -1
- package/dist/cjs/utils/formatters/transactionRequest.js.map +1 -1
- package/dist/esm/actions/getContract.js.map +1 -1
- package/dist/esm/actions/public/call.js +3 -2
- package/dist/esm/actions/public/call.js.map +1 -1
- package/dist/esm/actions/public/estimateGas.js +3 -2
- package/dist/esm/actions/public/estimateGas.js.map +1 -1
- package/dist/esm/actions/public/getBlock.js +1 -1
- package/dist/esm/actions/public/getBlock.js.map +1 -1
- package/dist/esm/actions/public/getTransaction.js +1 -1
- package/dist/esm/actions/public/getTransaction.js.map +1 -1
- package/dist/esm/actions/public/getTransactionReceipt.js +2 -1
- package/dist/esm/actions/public/getTransactionReceipt.js.map +1 -1
- package/dist/esm/actions/public/watchBlocks.js +1 -1
- package/dist/esm/actions/public/watchBlocks.js.map +1 -1
- package/dist/esm/actions/test/sendUnsignedTransaction.js +3 -2
- package/dist/esm/actions/test/sendUnsignedTransaction.js.map +1 -1
- package/dist/esm/actions/wallet/sendTransaction.js +2 -2
- package/dist/esm/actions/wallet/sendTransaction.js.map +1 -1
- package/dist/esm/actions/wallet/writeContract.js.map +1 -1
- package/dist/esm/chains/formatters/celo.js +1 -0
- package/dist/esm/chains/formatters/celo.js.map +1 -1
- package/dist/esm/chains/formatters/optimism.js +3 -3
- package/dist/esm/chains/formatters/optimism.js.map +1 -1
- package/dist/esm/errors/version.js +1 -1
- package/dist/esm/utils/formatters/block.js +1 -1
- package/dist/esm/utils/formatters/block.js.map +1 -1
- package/dist/esm/utils/formatters/extract.js +3 -3
- package/dist/esm/utils/formatters/extract.js.map +1 -1
- package/dist/esm/utils/formatters/formatter.js +14 -11
- package/dist/esm/utils/formatters/formatter.js.map +1 -1
- package/dist/esm/utils/formatters/transaction.js +1 -2
- package/dist/esm/utils/formatters/transaction.js.map +1 -1
- package/dist/esm/utils/formatters/transactionReceipt.js +1 -1
- package/dist/esm/utils/formatters/transactionReceipt.js.map +1 -1
- package/dist/esm/utils/formatters/transactionRequest.js +1 -1
- package/dist/esm/utils/formatters/transactionRequest.js.map +1 -1
- package/dist/types/actions/public/call.d.ts.map +1 -1
- package/dist/types/actions/public/estimateContractGas.d.ts +1 -1
- package/dist/types/actions/public/estimateContractGas.d.ts.map +1 -1
- package/dist/types/actions/public/estimateGas.d.ts.map +1 -1
- package/dist/types/actions/public/getTransaction.d.ts.map +1 -1
- package/dist/types/actions/public/getTransactionReceipt.d.ts.map +1 -1
- package/dist/types/actions/public/simulateContract.d.ts +1 -1
- package/dist/types/actions/public/simulateContract.d.ts.map +1 -1
- package/dist/types/actions/public/watchBlocks.d.ts.map +1 -1
- package/dist/types/actions/test/sendUnsignedTransaction.d.ts.map +1 -1
- package/dist/types/actions/wallet/sendTransaction.d.ts +2 -1
- package/dist/types/actions/wallet/sendTransaction.d.ts.map +1 -1
- package/dist/types/actions/wallet/writeContract.d.ts +1 -1
- package/dist/types/actions/wallet/writeContract.d.ts.map +1 -1
- package/dist/types/chains/formatters/celo.d.ts +200 -188
- package/dist/types/chains/formatters/celo.d.ts.map +1 -1
- package/dist/types/chains/formatters/optimism.d.ts +250 -250
- package/dist/types/chains/formatters/optimism.d.ts.map +1 -1
- package/dist/types/chains/index.d.ts +2180 -2148
- package/dist/types/chains/index.d.ts.map +1 -1
- package/dist/types/errors/version.d.ts +1 -1
- package/dist/types/types/formatter.d.ts +10 -7
- package/dist/types/types/formatter.d.ts.map +1 -1
- package/dist/types/types/serializer.d.ts +1 -1
- package/dist/types/types/serializer.d.ts.map +1 -1
- package/dist/types/utils/formatters/block.d.ts +4 -1
- package/dist/types/utils/formatters/block.d.ts.map +1 -1
- package/dist/types/utils/formatters/extract.d.ts +2 -2
- package/dist/types/utils/formatters/extract.d.ts.map +1 -1
- package/dist/types/utils/formatters/formatter.d.ts +5 -2
- package/dist/types/utils/formatters/formatter.d.ts.map +1 -1
- package/dist/types/utils/formatters/transaction.d.ts +5 -2
- package/dist/types/utils/formatters/transaction.d.ts.map +1 -1
- package/dist/types/utils/formatters/transactionReceipt.d.ts +4 -1
- package/dist/types/utils/formatters/transactionReceipt.d.ts.map +1 -1
- package/dist/types/utils/formatters/transactionRequest.d.ts +4 -1
- package/dist/types/utils/formatters/transactionRequest.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/actions/getContract.ts +1 -1
- package/src/actions/public/call.ts +3 -2
- package/src/actions/public/estimateContractGas.ts +1 -1
- package/src/actions/public/estimateGas.ts +4 -3
- package/src/actions/public/getBlock.ts +1 -1
- package/src/actions/public/getTransaction.ts +2 -1
- package/src/actions/public/getTransactionReceipt.ts +2 -1
- package/src/actions/public/simulateContract.ts +1 -1
- package/src/actions/public/watchBlocks.ts +2 -1
- package/src/actions/test/sendUnsignedTransaction.ts +3 -2
- package/src/actions/wallet/sendTransaction.ts +9 -3
- package/src/actions/wallet/writeContract.ts +11 -1
- package/src/chains/formatters/celo.ts +2 -1
- package/src/chains/formatters/optimism.ts +9 -6
- package/src/errors/version.ts +1 -1
- package/src/types/formatter.ts +10 -9
- package/src/types/serializer.ts +1 -1
- package/src/utils/formatters/block.ts +1 -1
- package/src/utils/formatters/extract.ts +3 -3
- package/src/utils/formatters/formatter.ts +17 -13
- package/src/utils/formatters/transaction.ts +4 -2
- package/src/utils/formatters/transactionReceipt.ts +1 -0
- package/src/utils/formatters/transactionRequest.ts +1 -0
@@ -36,200 +36,212 @@ export type CeloOverrides = {
|
|
36
36
|
};
|
37
37
|
};
|
38
38
|
export declare const celoFormatters: {
|
39
|
-
readonly block:
|
40
|
-
|
41
|
-
|
42
|
-
|
39
|
+
readonly block: {
|
40
|
+
format: (args: Partial<import("../../types/rpc.js").RpcBlock> & {
|
41
|
+
randomness: {
|
42
|
+
committed: Hex;
|
43
|
+
revealed: Hex;
|
44
|
+
};
|
45
|
+
transactions: Hash[] | (RpcTransaction & {
|
46
|
+
feeCurrency: Address | null;
|
47
|
+
gatewayFee: Hex | null;
|
48
|
+
gatewayFeeRecipient: Address | null;
|
49
|
+
})[];
|
50
|
+
}) => {
|
51
|
+
baseFeePerGas: bigint | null;
|
52
|
+
difficulty: bigint;
|
53
|
+
extraData: `0x${string}`;
|
54
|
+
gasLimit: bigint;
|
55
|
+
gasUsed: bigint;
|
56
|
+
hash: `0x${string}` | null;
|
57
|
+
logsBloom: `0x${string}` | null;
|
58
|
+
miner: `0x${string}`;
|
59
|
+
mixHash: `0x${string}`;
|
60
|
+
nonce: `0x${string}` | null;
|
61
|
+
number: bigint | null;
|
62
|
+
parentHash: `0x${string}`;
|
63
|
+
receiptsRoot: `0x${string}`;
|
64
|
+
sealFields: `0x${string}`[];
|
65
|
+
sha3Uncles: `0x${string}`;
|
66
|
+
size: bigint;
|
67
|
+
stateRoot: `0x${string}`;
|
68
|
+
timestamp: bigint;
|
69
|
+
totalDifficulty: bigint | null;
|
70
|
+
transactions: `0x${string}`[] | (Transaction & {
|
71
|
+
feeCurrency: Address | null;
|
72
|
+
gatewayFee: bigint | null;
|
73
|
+
gatewayFeeRecipient: Address | null;
|
74
|
+
})[];
|
75
|
+
transactionsRoot: `0x${string}`;
|
76
|
+
uncles: `0x${string}`[];
|
77
|
+
randomness: {
|
78
|
+
committed: Hex;
|
79
|
+
revealed: Hex;
|
80
|
+
};
|
81
|
+
} & {
|
82
|
+
nonce: never;
|
83
|
+
difficulty: never;
|
84
|
+
gasLimit: never;
|
85
|
+
mixHash: never;
|
86
|
+
uncles: never;
|
43
87
|
};
|
44
|
-
|
88
|
+
type: "block";
|
89
|
+
};
|
90
|
+
readonly transaction: {
|
91
|
+
format: (args: Partial<RpcTransaction> & {
|
45
92
|
feeCurrency: Address | null;
|
46
93
|
gatewayFee: Hex | null;
|
47
94
|
gatewayFeeRecipient: Address | null;
|
48
|
-
})
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
95
|
+
}) => ({
|
96
|
+
blockHash: `0x${string}` | null;
|
97
|
+
blockNumber: bigint | null;
|
98
|
+
from: `0x${string}`;
|
99
|
+
gas: bigint;
|
100
|
+
hash: `0x${string}`;
|
101
|
+
input: `0x${string}`;
|
102
|
+
nonce: number;
|
103
|
+
r: `0x${string}`;
|
104
|
+
s: `0x${string}`;
|
105
|
+
to: `0x${string}` | null;
|
106
|
+
transactionIndex: number | null;
|
107
|
+
typeHex: `0x${string}` | null;
|
108
|
+
v: bigint;
|
109
|
+
value: bigint;
|
110
|
+
gasPrice: bigint;
|
111
|
+
maxFeePerGas?: undefined;
|
112
|
+
maxPriorityFeePerGas?: undefined;
|
113
|
+
accessList?: undefined;
|
114
|
+
chainId?: number | undefined;
|
115
|
+
type: "legacy";
|
116
|
+
feeCurrency: `0x${string}` | null;
|
117
|
+
gatewayFee: bigint | null;
|
118
|
+
gatewayFeeRecipient: `0x${string}` | null;
|
119
|
+
} | {
|
120
|
+
blockHash: `0x${string}` | null;
|
121
|
+
blockNumber: bigint | null;
|
122
|
+
from: `0x${string}`;
|
123
|
+
gas: bigint;
|
124
|
+
hash: `0x${string}`;
|
125
|
+
input: `0x${string}`;
|
126
|
+
nonce: number;
|
127
|
+
r: `0x${string}`;
|
128
|
+
s: `0x${string}`;
|
129
|
+
to: `0x${string}` | null;
|
130
|
+
transactionIndex: number | null;
|
131
|
+
typeHex: `0x${string}` | null;
|
132
|
+
v: bigint;
|
133
|
+
value: bigint;
|
134
|
+
gasPrice: bigint;
|
135
|
+
maxFeePerGas?: undefined;
|
136
|
+
maxPriorityFeePerGas?: undefined;
|
137
|
+
accessList: import("../../types/transaction.js").AccessList;
|
138
|
+
chainId: number;
|
139
|
+
type: "eip2930";
|
140
|
+
feeCurrency: `0x${string}` | null;
|
71
141
|
gatewayFee: bigint | null;
|
142
|
+
gatewayFeeRecipient: `0x${string}` | null;
|
143
|
+
} | {
|
144
|
+
blockHash: `0x${string}` | null;
|
145
|
+
blockNumber: bigint | null;
|
146
|
+
from: `0x${string}`;
|
147
|
+
gas: bigint;
|
148
|
+
hash: `0x${string}`;
|
149
|
+
input: `0x${string}`;
|
150
|
+
nonce: number;
|
151
|
+
r: `0x${string}`;
|
152
|
+
s: `0x${string}`;
|
153
|
+
to: `0x${string}` | null;
|
154
|
+
transactionIndex: number | null;
|
155
|
+
typeHex: `0x${string}` | null;
|
156
|
+
v: bigint;
|
157
|
+
value: bigint;
|
158
|
+
gasPrice?: undefined;
|
159
|
+
maxFeePerGas: bigint;
|
160
|
+
maxPriorityFeePerGas: bigint;
|
161
|
+
accessList: import("../../types/transaction.js").AccessList;
|
162
|
+
chainId: number;
|
163
|
+
type: "eip1559";
|
164
|
+
feeCurrency: `0x${string}` | null;
|
165
|
+
gatewayFee: bigint | null;
|
166
|
+
gatewayFeeRecipient: `0x${string}` | null;
|
167
|
+
}) & {};
|
168
|
+
type: "transaction";
|
169
|
+
};
|
170
|
+
readonly transactionReceipt: {
|
171
|
+
format: (args: Partial<import("../../types/rpc.js").RpcTransactionReceipt> & {
|
172
|
+
feeCurrency: Address | null;
|
173
|
+
gatewayFee: Hex | null;
|
72
174
|
gatewayFeeRecipient: Address | null;
|
73
|
-
})
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
175
|
+
}) => {
|
176
|
+
blockHash: `0x${string}`;
|
177
|
+
blockNumber: bigint;
|
178
|
+
contractAddress: `0x${string}` | null;
|
179
|
+
cumulativeGasUsed: bigint;
|
180
|
+
effectiveGasPrice: bigint;
|
181
|
+
from: `0x${string}`;
|
182
|
+
gasUsed: bigint;
|
183
|
+
logs: import("../../index.js").Log<bigint, number>[];
|
184
|
+
logsBloom: `0x${string}`;
|
185
|
+
status: "success" | "reverted";
|
186
|
+
to: `0x${string}` | null;
|
187
|
+
transactionHash: `0x${string}`;
|
188
|
+
transactionIndex: number;
|
189
|
+
type: import("../../types/transaction.js").TransactionType;
|
190
|
+
feeCurrency: `0x${string}` | null;
|
191
|
+
gatewayFee: bigint | null;
|
192
|
+
gatewayFeeRecipient: `0x${string}` | null;
|
193
|
+
} & {};
|
194
|
+
type: "transactionReceipt";
|
195
|
+
};
|
196
|
+
readonly transactionRequest: {
|
197
|
+
format: (args: Partial<import("../../types/transaction.js").TransactionRequest> & {
|
198
|
+
feeCurrency?: `0x${string}` | undefined;
|
199
|
+
gatewayFee?: bigint | undefined;
|
200
|
+
gatewayFeeRecipient?: `0x${string}` | undefined;
|
201
|
+
}) => ({
|
202
|
+
data?: `0x${string}` | undefined;
|
203
|
+
from: `0x${string}`;
|
204
|
+
gas?: `0x${string}` | undefined;
|
205
|
+
nonce?: `0x${string}` | undefined;
|
206
|
+
to?: `0x${string}` | undefined;
|
207
|
+
value?: `0x${string}` | undefined;
|
208
|
+
gasPrice?: `0x${string}` | undefined;
|
209
|
+
maxFeePerGas?: undefined;
|
210
|
+
maxPriorityFeePerGas?: undefined;
|
211
|
+
accessList?: undefined;
|
212
|
+
feeCurrency: `0x${string}` | undefined;
|
213
|
+
gatewayFee: `0x${string}` | undefined;
|
214
|
+
gatewayFeeRecipient: `0x${string}` | undefined;
|
215
|
+
} | {
|
216
|
+
data?: `0x${string}` | undefined;
|
217
|
+
from: `0x${string}`;
|
218
|
+
gas?: `0x${string}` | undefined;
|
219
|
+
nonce?: `0x${string}` | undefined;
|
220
|
+
to?: `0x${string}` | undefined;
|
221
|
+
value?: `0x${string}` | undefined;
|
222
|
+
gasPrice?: `0x${string}` | undefined;
|
223
|
+
maxFeePerGas?: undefined;
|
224
|
+
maxPriorityFeePerGas?: undefined;
|
225
|
+
accessList?: import("../../types/transaction.js").AccessList | undefined;
|
226
|
+
feeCurrency: `0x${string}` | undefined;
|
227
|
+
gatewayFee: `0x${string}` | undefined;
|
228
|
+
gatewayFeeRecipient: `0x${string}` | undefined;
|
229
|
+
} | {
|
230
|
+
data?: `0x${string}` | undefined;
|
231
|
+
from: `0x${string}`;
|
232
|
+
gas?: `0x${string}` | undefined;
|
233
|
+
nonce?: `0x${string}` | undefined;
|
234
|
+
to?: `0x${string}` | undefined;
|
235
|
+
value?: `0x${string}` | undefined;
|
236
|
+
gasPrice?: undefined;
|
237
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
238
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
239
|
+
accessList?: import("../../types/transaction.js").AccessList | undefined;
|
240
|
+
feeCurrency: `0x${string}` | undefined;
|
241
|
+
gatewayFee: `0x${string}` | undefined;
|
242
|
+
gatewayFeeRecipient: `0x${string}` | undefined;
|
243
|
+
}) & {};
|
244
|
+
type: "transactionRequest";
|
86
245
|
};
|
87
|
-
readonly transaction: (args: Partial<RpcTransaction> & {
|
88
|
-
feeCurrency: Address | null;
|
89
|
-
gatewayFee: Hex | null;
|
90
|
-
gatewayFeeRecipient: Address | null;
|
91
|
-
}) => ({
|
92
|
-
blockHash: `0x${string}` | null;
|
93
|
-
blockNumber: bigint | null;
|
94
|
-
from: `0x${string}`;
|
95
|
-
gas: bigint;
|
96
|
-
hash: `0x${string}`;
|
97
|
-
input: `0x${string}`;
|
98
|
-
nonce: number;
|
99
|
-
r: `0x${string}`;
|
100
|
-
s: `0x${string}`;
|
101
|
-
to: `0x${string}` | null;
|
102
|
-
transactionIndex: number | null;
|
103
|
-
typeHex: `0x${string}` | null;
|
104
|
-
v: bigint;
|
105
|
-
value: bigint;
|
106
|
-
gasPrice: bigint;
|
107
|
-
maxFeePerGas?: undefined;
|
108
|
-
maxPriorityFeePerGas?: undefined;
|
109
|
-
accessList?: undefined;
|
110
|
-
chainId?: number | undefined;
|
111
|
-
type: "legacy";
|
112
|
-
feeCurrency: `0x${string}` | null;
|
113
|
-
gatewayFee: bigint | null;
|
114
|
-
gatewayFeeRecipient: `0x${string}` | null;
|
115
|
-
} | {
|
116
|
-
blockHash: `0x${string}` | null;
|
117
|
-
blockNumber: bigint | null;
|
118
|
-
from: `0x${string}`;
|
119
|
-
gas: bigint;
|
120
|
-
hash: `0x${string}`;
|
121
|
-
input: `0x${string}`;
|
122
|
-
nonce: number;
|
123
|
-
r: `0x${string}`;
|
124
|
-
s: `0x${string}`;
|
125
|
-
to: `0x${string}` | null;
|
126
|
-
transactionIndex: number | null;
|
127
|
-
typeHex: `0x${string}` | null;
|
128
|
-
v: bigint;
|
129
|
-
value: bigint;
|
130
|
-
gasPrice: bigint;
|
131
|
-
maxFeePerGas?: undefined;
|
132
|
-
maxPriorityFeePerGas?: undefined;
|
133
|
-
accessList: import("../../types/transaction.js").AccessList;
|
134
|
-
chainId: number;
|
135
|
-
type: "eip2930";
|
136
|
-
feeCurrency: `0x${string}` | null;
|
137
|
-
gatewayFee: bigint | null;
|
138
|
-
gatewayFeeRecipient: `0x${string}` | null;
|
139
|
-
} | {
|
140
|
-
blockHash: `0x${string}` | null;
|
141
|
-
blockNumber: bigint | null;
|
142
|
-
from: `0x${string}`;
|
143
|
-
gas: bigint;
|
144
|
-
hash: `0x${string}`;
|
145
|
-
input: `0x${string}`;
|
146
|
-
nonce: number;
|
147
|
-
r: `0x${string}`;
|
148
|
-
s: `0x${string}`;
|
149
|
-
to: `0x${string}` | null;
|
150
|
-
transactionIndex: number | null;
|
151
|
-
typeHex: `0x${string}` | null;
|
152
|
-
v: bigint;
|
153
|
-
value: bigint;
|
154
|
-
gasPrice?: undefined;
|
155
|
-
maxFeePerGas: bigint;
|
156
|
-
maxPriorityFeePerGas: bigint;
|
157
|
-
accessList: import("../../types/transaction.js").AccessList;
|
158
|
-
chainId: number;
|
159
|
-
type: "eip1559";
|
160
|
-
feeCurrency: `0x${string}` | null;
|
161
|
-
gatewayFee: bigint | null;
|
162
|
-
gatewayFeeRecipient: `0x${string}` | null;
|
163
|
-
}) & {};
|
164
|
-
readonly transactionReceipt: (args: Partial<import("../../types/rpc.js").RpcTransactionReceipt> & {
|
165
|
-
feeCurrency: Address | null;
|
166
|
-
gatewayFee: Hex | null;
|
167
|
-
gatewayFeeRecipient: Address | null;
|
168
|
-
}) => {
|
169
|
-
blockHash: `0x${string}`;
|
170
|
-
blockNumber: bigint;
|
171
|
-
contractAddress: `0x${string}` | null;
|
172
|
-
cumulativeGasUsed: bigint;
|
173
|
-
effectiveGasPrice: bigint;
|
174
|
-
from: `0x${string}`;
|
175
|
-
gasUsed: bigint;
|
176
|
-
logs: import("../../index.js").Log<bigint, number>[];
|
177
|
-
logsBloom: `0x${string}`;
|
178
|
-
status: "success" | "reverted";
|
179
|
-
to: `0x${string}` | null;
|
180
|
-
transactionHash: `0x${string}`;
|
181
|
-
transactionIndex: number;
|
182
|
-
type: import("../../types/transaction.js").TransactionType;
|
183
|
-
feeCurrency: `0x${string}` | null;
|
184
|
-
gatewayFee: bigint | null;
|
185
|
-
gatewayFeeRecipient: `0x${string}` | null;
|
186
|
-
} & {};
|
187
|
-
readonly transactionRequest: (args: Partial<import("../../types/transaction.js").TransactionRequest> & {
|
188
|
-
feeCurrency?: `0x${string}` | undefined;
|
189
|
-
gatewayFee?: bigint | undefined;
|
190
|
-
gatewayFeeRecipient?: `0x${string}` | undefined;
|
191
|
-
}) => ({
|
192
|
-
data?: `0x${string}` | undefined;
|
193
|
-
from: `0x${string}`;
|
194
|
-
gas?: `0x${string}` | undefined;
|
195
|
-
nonce?: `0x${string}` | undefined;
|
196
|
-
to?: `0x${string}` | undefined;
|
197
|
-
value?: `0x${string}` | undefined;
|
198
|
-
gasPrice?: `0x${string}` | undefined;
|
199
|
-
maxFeePerGas?: undefined;
|
200
|
-
maxPriorityFeePerGas?: undefined;
|
201
|
-
accessList?: undefined;
|
202
|
-
feeCurrency: `0x${string}` | undefined;
|
203
|
-
gatewayFee: `0x${string}` | undefined;
|
204
|
-
gatewayFeeRecipient: `0x${string}` | undefined;
|
205
|
-
} | {
|
206
|
-
data?: `0x${string}` | undefined;
|
207
|
-
from: `0x${string}`;
|
208
|
-
gas?: `0x${string}` | undefined;
|
209
|
-
nonce?: `0x${string}` | undefined;
|
210
|
-
to?: `0x${string}` | undefined;
|
211
|
-
value?: `0x${string}` | undefined;
|
212
|
-
gasPrice?: `0x${string}` | undefined;
|
213
|
-
maxFeePerGas?: undefined;
|
214
|
-
maxPriorityFeePerGas?: undefined;
|
215
|
-
accessList?: import("../../types/transaction.js").AccessList | undefined;
|
216
|
-
feeCurrency: `0x${string}` | undefined;
|
217
|
-
gatewayFee: `0x${string}` | undefined;
|
218
|
-
gatewayFeeRecipient: `0x${string}` | undefined;
|
219
|
-
} | {
|
220
|
-
data?: `0x${string}` | undefined;
|
221
|
-
from: `0x${string}`;
|
222
|
-
gas?: `0x${string}` | undefined;
|
223
|
-
nonce?: `0x${string}` | undefined;
|
224
|
-
to?: `0x${string}` | undefined;
|
225
|
-
value?: `0x${string}` | undefined;
|
226
|
-
gasPrice?: undefined;
|
227
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
228
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
229
|
-
accessList?: import("../../types/transaction.js").AccessList | undefined;
|
230
|
-
feeCurrency: `0x${string}` | undefined;
|
231
|
-
gatewayFee: `0x${string}` | undefined;
|
232
|
-
gatewayFeeRecipient: `0x${string}` | undefined;
|
233
|
-
}) & {};
|
234
246
|
};
|
235
247
|
//# sourceMappingURL=celo.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"celo.d.ts","sourceRoot":"","sources":["../../../../src/chains/formatters/celo.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;
|
1
|
+
{"version":3,"file":"celo.d.ts","sourceRoot":"","sources":["../../../../src/chains/formatters/celo.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAGtC,OAAO,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAA;AACpD,OAAO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