viem 2.0.0-alpha.14 → 2.0.0-alpha.15
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/actions/public/simulateContract.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_esm/actions/public/simulateContract.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_types/actions/public/simulateContract.d.ts +1 -1
- package/_types/actions/public/simulateContract.d.ts.map +1 -1
- package/_types/chains/celo/formatters.d.ts +90 -90
- package/_types/chains/definitions/base.d.ts +270 -270
- package/_types/chains/definitions/baseGoerli.d.ts +270 -270
- package/_types/chains/definitions/celo.d.ts +270 -270
- package/_types/chains/definitions/celoAlfajores.d.ts +270 -270
- package/_types/chains/definitions/celoCannoli.d.ts +270 -270
- package/_types/chains/definitions/optimism.d.ts +270 -270
- package/_types/chains/definitions/optimismGoerli.d.ts +270 -270
- package/_types/chains/definitions/optimismSepolia.d.ts +270 -270
- package/_types/chains/definitions/zora.d.ts +270 -270
- package/_types/chains/definitions/zoraTestnet.d.ts +270 -270
- package/_types/chains/optimism/formatters.d.ts +90 -90
- package/_types/errors/version.d.ts +1 -1
- package/_types/utils/formatters/transaction.d.ts +1 -1
- package/_types/utils/formatters/transactionRequest.d.ts +1 -1
- package/actions/public/simulateContract.ts +4 -1
- package/errors/version.ts +1 -1
- package/package.json +1 -1
@@ -34,48 +34,48 @@ export declare const formattersOptimism: {
|
|
34
34
|
readonly transaction: {
|
35
35
|
exclude: [] | undefined;
|
36
36
|
format: (args: ({
|
37
|
-
|
37
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
38
|
+
gas?: `0x${string}` | undefined;
|
39
|
+
value?: `0x${string}` | undefined;
|
38
40
|
gasPrice?: `0x${string}` | undefined;
|
39
41
|
maxFeePerGas?: `0x${string}` | undefined;
|
40
42
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
41
|
-
gas?: `0x${string}` | undefined;
|
42
|
-
nonce?: `0x${string}` | undefined;
|
43
|
-
to?: `0x${string}` | null | undefined;
|
44
|
-
value?: `0x${string}` | undefined;
|
45
|
-
accessList?: undefined;
|
46
|
-
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
47
|
-
hash?: `0x${string}` | undefined;
|
48
43
|
blockHash?: `0x${string}` | null | undefined;
|
49
44
|
blockNumber?: `0x${string}` | null | undefined;
|
50
|
-
|
45
|
+
from?: `0x${string}` | undefined;
|
46
|
+
hash?: `0x${string}` | undefined;
|
51
47
|
input?: `0x${string}` | undefined;
|
48
|
+
nonce?: `0x${string}` | undefined;
|
52
49
|
r?: `0x${string}` | undefined;
|
53
50
|
s?: `0x${string}` | undefined;
|
51
|
+
to?: `0x${string}` | null | undefined;
|
52
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
54
53
|
v?: `0x${string}` | undefined;
|
54
|
+
accessList?: undefined;
|
55
55
|
chainId?: `0x${string}` | undefined;
|
56
56
|
} & import("../index.js").Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
57
57
|
isSystemTx?: undefined;
|
58
58
|
mint?: undefined;
|
59
59
|
sourceHash?: undefined;
|
60
60
|
}) | ({
|
61
|
-
|
61
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
62
|
+
gas?: `0x${string}` | undefined;
|
63
|
+
value?: `0x${string}` | undefined;
|
62
64
|
gasPrice?: `0x${string}` | undefined;
|
63
65
|
maxFeePerGas?: `0x${string}` | undefined;
|
64
66
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
65
|
-
gas?: `0x${string}` | undefined;
|
66
|
-
nonce?: `0x${string}` | undefined;
|
67
|
-
to?: `0x${string}` | null | undefined;
|
68
|
-
value?: `0x${string}` | undefined;
|
69
|
-
accessList?: undefined;
|
70
|
-
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
71
|
-
hash?: `0x${string}` | undefined;
|
72
67
|
blockHash?: `0x${string}` | null | undefined;
|
73
68
|
blockNumber?: `0x${string}` | null | undefined;
|
74
|
-
|
69
|
+
from?: `0x${string}` | undefined;
|
70
|
+
hash?: `0x${string}` | undefined;
|
75
71
|
input?: `0x${string}` | undefined;
|
72
|
+
nonce?: `0x${string}` | undefined;
|
76
73
|
r?: `0x${string}` | undefined;
|
77
74
|
s?: `0x${string}` | undefined;
|
75
|
+
to?: `0x${string}` | null | undefined;
|
76
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
78
77
|
v?: `0x${string}` | undefined;
|
78
|
+
accessList?: undefined;
|
79
79
|
chainId?: `0x${string}` | undefined;
|
80
80
|
} & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
81
81
|
isSystemTx?: boolean | undefined;
|
@@ -83,96 +83,96 @@ export declare const formattersOptimism: {
|
|
83
83
|
sourceHash: `0x${string}`;
|
84
84
|
type: "0x7e";
|
85
85
|
}) | ({
|
86
|
-
|
86
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
87
|
+
gas?: `0x${string}` | undefined;
|
88
|
+
value?: `0x${string}` | undefined;
|
87
89
|
gasPrice?: `0x${string}` | undefined;
|
88
90
|
maxFeePerGas?: `0x${string}` | undefined;
|
89
91
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
90
|
-
gas?: `0x${string}` | undefined;
|
91
|
-
nonce?: `0x${string}` | undefined;
|
92
|
-
to?: `0x${string}` | null | undefined;
|
93
|
-
value?: `0x${string}` | undefined;
|
94
|
-
accessList?: import("../../index.js").AccessList | undefined;
|
95
|
-
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
96
|
-
hash?: `0x${string}` | undefined;
|
97
92
|
blockHash?: `0x${string}` | null | undefined;
|
98
93
|
blockNumber?: `0x${string}` | null | undefined;
|
99
|
-
|
94
|
+
from?: `0x${string}` | undefined;
|
95
|
+
hash?: `0x${string}` | undefined;
|
100
96
|
input?: `0x${string}` | undefined;
|
97
|
+
nonce?: `0x${string}` | undefined;
|
101
98
|
r?: `0x${string}` | undefined;
|
102
99
|
s?: `0x${string}` | undefined;
|
100
|
+
to?: `0x${string}` | null | undefined;
|
101
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
103
102
|
v?: `0x${string}` | undefined;
|
103
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
104
104
|
chainId?: `0x${string}` | undefined;
|
105
105
|
} & import("../index.js").Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
106
106
|
isSystemTx?: undefined;
|
107
107
|
mint?: undefined;
|
108
108
|
sourceHash?: undefined;
|
109
109
|
}) | ({
|
110
|
-
|
110
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
111
|
+
gas?: `0x${string}` | undefined;
|
112
|
+
value?: `0x${string}` | undefined;
|
111
113
|
gasPrice?: `0x${string}` | undefined;
|
112
114
|
maxFeePerGas?: `0x${string}` | undefined;
|
113
115
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
114
|
-
gas?: `0x${string}` | undefined;
|
115
|
-
nonce?: `0x${string}` | undefined;
|
116
|
-
to?: `0x${string}` | null | undefined;
|
117
|
-
value?: `0x${string}` | undefined;
|
118
|
-
accessList?: import("../../index.js").AccessList | undefined;
|
119
|
-
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
120
|
-
hash?: `0x${string}` | undefined;
|
121
116
|
blockHash?: `0x${string}` | null | undefined;
|
122
117
|
blockNumber?: `0x${string}` | null | undefined;
|
123
|
-
|
118
|
+
from?: `0x${string}` | undefined;
|
119
|
+
hash?: `0x${string}` | undefined;
|
124
120
|
input?: `0x${string}` | undefined;
|
121
|
+
nonce?: `0x${string}` | undefined;
|
125
122
|
r?: `0x${string}` | undefined;
|
126
123
|
s?: `0x${string}` | undefined;
|
124
|
+
to?: `0x${string}` | null | undefined;
|
125
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
127
126
|
v?: `0x${string}` | undefined;
|
127
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
128
128
|
chainId?: `0x${string}` | undefined;
|
129
129
|
} & import("../index.js").Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
|
130
130
|
isSystemTx?: undefined;
|
131
131
|
mint?: undefined;
|
132
132
|
sourceHash?: undefined;
|
133
133
|
}) | ({
|
134
|
-
|
134
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
135
|
+
gas?: `0x${string}` | undefined;
|
136
|
+
value?: `0x${string}` | undefined;
|
135
137
|
gasPrice?: `0x${string}` | undefined;
|
136
138
|
maxFeePerGas?: `0x${string}` | undefined;
|
137
139
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
138
|
-
gas?: `0x${string}` | undefined;
|
139
|
-
nonce?: `0x${string}` | undefined;
|
140
|
-
to?: `0x${string}` | null | undefined;
|
141
|
-
value?: `0x${string}` | undefined;
|
142
|
-
accessList?: import("../../index.js").AccessList | undefined;
|
143
|
-
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
144
|
-
hash?: `0x${string}` | undefined;
|
145
140
|
blockHash?: `0x${string}` | null | undefined;
|
146
141
|
blockNumber?: `0x${string}` | null | undefined;
|
147
|
-
|
142
|
+
from?: `0x${string}` | undefined;
|
143
|
+
hash?: `0x${string}` | undefined;
|
148
144
|
input?: `0x${string}` | undefined;
|
145
|
+
nonce?: `0x${string}` | undefined;
|
149
146
|
r?: `0x${string}` | undefined;
|
150
147
|
s?: `0x${string}` | undefined;
|
148
|
+
to?: `0x${string}` | null | undefined;
|
149
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
151
150
|
v?: `0x${string}` | undefined;
|
151
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
152
152
|
chainId?: `0x${string}` | undefined;
|
153
153
|
} & import("../index.js").Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
|
154
154
|
isSystemTx?: undefined;
|
155
155
|
mint?: undefined;
|
156
156
|
sourceHash?: undefined;
|
157
157
|
}) | ({
|
158
|
-
|
158
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
159
|
+
gas?: `0x${string}` | undefined;
|
160
|
+
value?: `0x${string}` | undefined;
|
159
161
|
gasPrice?: `0x${string}` | undefined;
|
160
162
|
maxFeePerGas?: `0x${string}` | undefined;
|
161
163
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
162
|
-
gas?: `0x${string}` | undefined;
|
163
|
-
nonce?: `0x${string}` | undefined;
|
164
|
-
to?: `0x${string}` | null | undefined;
|
165
|
-
value?: `0x${string}` | undefined;
|
166
|
-
accessList?: import("../../index.js").AccessList | undefined;
|
167
|
-
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
168
|
-
hash?: `0x${string}` | undefined;
|
169
164
|
blockHash?: `0x${string}` | null | undefined;
|
170
165
|
blockNumber?: `0x${string}` | null | undefined;
|
171
|
-
|
166
|
+
from?: `0x${string}` | undefined;
|
167
|
+
hash?: `0x${string}` | undefined;
|
172
168
|
input?: `0x${string}` | undefined;
|
169
|
+
nonce?: `0x${string}` | undefined;
|
173
170
|
r?: `0x${string}` | undefined;
|
174
171
|
s?: `0x${string}` | undefined;
|
172
|
+
to?: `0x${string}` | null | undefined;
|
173
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
175
174
|
v?: `0x${string}` | undefined;
|
175
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
176
176
|
chainId?: `0x${string}` | undefined;
|
177
177
|
} & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
178
178
|
isSystemTx?: boolean | undefined;
|
@@ -180,96 +180,96 @@ export declare const formattersOptimism: {
|
|
180
180
|
sourceHash: `0x${string}`;
|
181
181
|
type: "0x7e";
|
182
182
|
}) | ({
|
183
|
-
|
183
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
184
|
+
gas?: `0x${string}` | undefined;
|
185
|
+
value?: `0x${string}` | undefined;
|
184
186
|
gasPrice?: `0x${string}` | undefined;
|
185
187
|
maxFeePerGas?: `0x${string}` | undefined;
|
186
188
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
187
|
-
gas?: `0x${string}` | undefined;
|
188
|
-
nonce?: `0x${string}` | undefined;
|
189
|
-
to?: `0x${string}` | null | undefined;
|
190
|
-
value?: `0x${string}` | undefined;
|
191
|
-
accessList?: import("../../index.js").AccessList | undefined;
|
192
|
-
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
193
|
-
hash?: `0x${string}` | undefined;
|
194
189
|
blockHash?: `0x${string}` | null | undefined;
|
195
190
|
blockNumber?: `0x${string}` | null | undefined;
|
196
|
-
|
191
|
+
from?: `0x${string}` | undefined;
|
192
|
+
hash?: `0x${string}` | undefined;
|
197
193
|
input?: `0x${string}` | undefined;
|
194
|
+
nonce?: `0x${string}` | undefined;
|
198
195
|
r?: `0x${string}` | undefined;
|
199
196
|
s?: `0x${string}` | undefined;
|
197
|
+
to?: `0x${string}` | null | undefined;
|
198
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
200
199
|
v?: `0x${string}` | undefined;
|
200
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
201
201
|
chainId?: `0x${string}` | undefined;
|
202
202
|
} & import("../index.js").Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
203
203
|
isSystemTx?: undefined;
|
204
204
|
mint?: undefined;
|
205
205
|
sourceHash?: undefined;
|
206
206
|
}) | ({
|
207
|
-
|
207
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
208
|
+
gas?: `0x${string}` | undefined;
|
209
|
+
value?: `0x${string}` | undefined;
|
208
210
|
gasPrice?: `0x${string}` | undefined;
|
209
211
|
maxFeePerGas?: `0x${string}` | undefined;
|
210
212
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
211
|
-
gas?: `0x${string}` | undefined;
|
212
|
-
nonce?: `0x${string}` | undefined;
|
213
|
-
to?: `0x${string}` | null | undefined;
|
214
|
-
value?: `0x${string}` | undefined;
|
215
|
-
accessList?: import("../../index.js").AccessList | undefined;
|
216
|
-
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
217
|
-
hash?: `0x${string}` | undefined;
|
218
213
|
blockHash?: `0x${string}` | null | undefined;
|
219
214
|
blockNumber?: `0x${string}` | null | undefined;
|
220
|
-
|
215
|
+
from?: `0x${string}` | undefined;
|
216
|
+
hash?: `0x${string}` | undefined;
|
221
217
|
input?: `0x${string}` | undefined;
|
218
|
+
nonce?: `0x${string}` | undefined;
|
222
219
|
r?: `0x${string}` | undefined;
|
223
220
|
s?: `0x${string}` | undefined;
|
221
|
+
to?: `0x${string}` | null | undefined;
|
222
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
224
223
|
v?: `0x${string}` | undefined;
|
224
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
225
225
|
chainId?: `0x${string}` | undefined;
|
226
226
|
} & import("../index.js").Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
|
227
227
|
isSystemTx?: undefined;
|
228
228
|
mint?: undefined;
|
229
229
|
sourceHash?: undefined;
|
230
230
|
}) | ({
|
231
|
-
|
231
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
232
|
+
gas?: `0x${string}` | undefined;
|
233
|
+
value?: `0x${string}` | undefined;
|
232
234
|
gasPrice?: `0x${string}` | undefined;
|
233
235
|
maxFeePerGas?: `0x${string}` | undefined;
|
234
236
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
235
|
-
gas?: `0x${string}` | undefined;
|
236
|
-
nonce?: `0x${string}` | undefined;
|
237
|
-
to?: `0x${string}` | null | undefined;
|
238
|
-
value?: `0x${string}` | undefined;
|
239
|
-
accessList?: import("../../index.js").AccessList | undefined;
|
240
|
-
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
241
|
-
hash?: `0x${string}` | undefined;
|
242
237
|
blockHash?: `0x${string}` | null | undefined;
|
243
238
|
blockNumber?: `0x${string}` | null | undefined;
|
244
|
-
|
239
|
+
from?: `0x${string}` | undefined;
|
240
|
+
hash?: `0x${string}` | undefined;
|
245
241
|
input?: `0x${string}` | undefined;
|
242
|
+
nonce?: `0x${string}` | undefined;
|
246
243
|
r?: `0x${string}` | undefined;
|
247
244
|
s?: `0x${string}` | undefined;
|
245
|
+
to?: `0x${string}` | null | undefined;
|
246
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
248
247
|
v?: `0x${string}` | undefined;
|
248
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
249
249
|
chainId?: `0x${string}` | undefined;
|
250
250
|
} & import("../index.js").Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
|
251
251
|
isSystemTx?: undefined;
|
252
252
|
mint?: undefined;
|
253
253
|
sourceHash?: undefined;
|
254
254
|
}) | ({
|
255
|
-
|
255
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
256
|
+
gas?: `0x${string}` | undefined;
|
257
|
+
value?: `0x${string}` | undefined;
|
256
258
|
gasPrice?: `0x${string}` | undefined;
|
257
259
|
maxFeePerGas?: `0x${string}` | undefined;
|
258
260
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
259
|
-
gas?: `0x${string}` | undefined;
|
260
|
-
nonce?: `0x${string}` | undefined;
|
261
|
-
to?: `0x${string}` | null | undefined;
|
262
|
-
value?: `0x${string}` | undefined;
|
263
|
-
accessList?: import("../../index.js").AccessList | undefined;
|
264
|
-
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
265
|
-
hash?: `0x${string}` | undefined;
|
266
261
|
blockHash?: `0x${string}` | null | undefined;
|
267
262
|
blockNumber?: `0x${string}` | null | undefined;
|
268
|
-
|
263
|
+
from?: `0x${string}` | undefined;
|
264
|
+
hash?: `0x${string}` | undefined;
|
269
265
|
input?: `0x${string}` | undefined;
|
266
|
+
nonce?: `0x${string}` | undefined;
|
270
267
|
r?: `0x${string}` | undefined;
|
271
268
|
s?: `0x${string}` | undefined;
|
269
|
+
to?: `0x${string}` | null | undefined;
|
270
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
272
271
|
v?: `0x${string}` | undefined;
|
272
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
273
273
|
chainId?: `0x${string}` | undefined;
|
274
274
|
} & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
275
275
|
isSystemTx?: boolean | undefined;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const version = "2.0.0-alpha.
|
1
|
+
export declare const version = "2.0.0-alpha.15";
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
@@ -22,7 +22,7 @@ export declare const transactionType: {
|
|
22
22
|
export type FormatTransactionErrorType = ErrorType;
|
23
23
|
export declare function formatTransaction(transaction: Partial<RpcTransaction>): Transaction;
|
24
24
|
export type DefineTransactionErrorType = DefineFormatterErrorType | ErrorType;
|
25
|
-
export declare const defineTransaction: <TOverrideParameters, TOverrideReturnType, TExclude extends ("
|
25
|
+
export declare const defineTransaction: <TOverrideParameters, TOverrideReturnType, TExclude extends ("type" | "gas" | "value" | "gasPrice" | "maxFeePerGas" | "maxPriorityFeePerGas" | "blockHash" | "blockNumber" | "from" | "hash" | "input" | "nonce" | "r" | "s" | "to" | "transactionIndex" | "v" | "accessList" | "chainId")[] = []>({ exclude, format: overrides, }: {
|
26
26
|
exclude?: TExclude | undefined;
|
27
27
|
format: (_: TOverrideParameters) => TOverrideReturnType;
|
28
28
|
}) => {
|
@@ -12,7 +12,7 @@ export declare const rpcTransactionType: {
|
|
12
12
|
export type FormatTransactionRequestErrorType = ErrorType;
|
13
13
|
export declare function formatTransactionRequest(transactionRequest: Partial<TransactionRequest>): RpcTransactionRequest;
|
14
14
|
export type DefineTransactionRequestErrorType = DefineFormatterErrorType | ErrorType;
|
15
|
-
export declare const defineTransactionRequest: <TOverrideParameters, TOverrideReturnType, TExclude extends ("
|
15
|
+
export declare const defineTransactionRequest: <TOverrideParameters, TOverrideReturnType, TExclude extends ("type" | "gas" | "value" | "gasPrice" | "maxFeePerGas" | "maxPriorityFeePerGas" | "from" | "nonce" | "to" | "accessList" | "data")[] = []>({ exclude, format: overrides, }: {
|
16
16
|
exclude?: TExclude | undefined;
|
17
17
|
format: (_: TOverrideParameters) => TOverrideReturnType;
|
18
18
|
}) => {
|
@@ -49,7 +49,10 @@ export type SimulateContractParameters<
|
|
49
49
|
> = ContractFunctionArgs<abi, 'nonpayable' | 'payable', functionName>,
|
50
50
|
chain extends Chain | undefined = Chain | undefined,
|
51
51
|
chainOverride extends Chain | undefined = Chain | undefined,
|
52
|
-
accountOverride extends Account | Address | undefined =
|
52
|
+
accountOverride extends Account | Address | undefined =
|
53
|
+
| Account
|
54
|
+
| Address
|
55
|
+
| undefined,
|
53
56
|
> = {
|
54
57
|
account?: accountOverride
|
55
58
|
chain?: chainOverride
|
package/errors/version.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export const version = '2.0.0-alpha.
|
1
|
+
export const version = '2.0.0-alpha.15'
|