viem 2.0.0-rc.1 → 2.0.0-rc.3
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/CHANGELOG.md +18 -0
- package/_cjs/accounts/generateMnemonic.js +2 -2
- package/_cjs/accounts/generateMnemonic.js.map +1 -1
- package/_cjs/chains/definitions/arbitrumSepolia.js +2 -4
- package/_cjs/chains/definitions/arbitrumSepolia.js.map +1 -1
- package/_cjs/chains/definitions/bitTorrent.js +19 -0
- package/_cjs/chains/definitions/bitTorrent.js.map +1 -0
- package/_cjs/chains/definitions/bitTorrentTestnet.js +20 -0
- package/_cjs/chains/definitions/bitTorrentTestnet.js.map +1 -0
- package/_cjs/chains/definitions/jbc.js +32 -0
- package/_cjs/chains/definitions/jbc.js.map +1 -0
- package/_cjs/chains/definitions/wemix.js +19 -0
- package/_cjs/chains/definitions/wemix.js.map +1 -0
- package/_cjs/chains/definitions/wemixTestnet.js +20 -0
- package/_cjs/chains/definitions/wemixTestnet.js.map +1 -0
- package/_cjs/chains/index.js +14 -4
- package/_cjs/chains/index.js.map +1 -1
- package/_cjs/chains/opStack/abis.js.map +1 -1
- package/_cjs/chains/opStack/contracts.js.map +1 -1
- package/_cjs/chains/opStack/decorators/publicL1.js.map +1 -1
- package/_cjs/chains/opStack/decorators/publicL2.js.map +1 -1
- package/_cjs/chains/opStack/decorators/walletL1.js.map +1 -1
- package/_cjs/chains/opStack/decorators/walletL2.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_esm/accounts/generateMnemonic.js +3 -2
- package/_esm/accounts/generateMnemonic.js.map +1 -1
- package/_esm/chains/definitions/arbitrumSepolia.js +2 -4
- package/_esm/chains/definitions/arbitrumSepolia.js.map +1 -1
- package/_esm/chains/definitions/bitTorrent.js +16 -0
- package/_esm/chains/definitions/bitTorrent.js.map +1 -0
- package/_esm/chains/definitions/bitTorrentTestnet.js +17 -0
- package/_esm/chains/definitions/bitTorrentTestnet.js.map +1 -0
- package/_esm/chains/definitions/jbc.js +29 -0
- package/_esm/chains/definitions/jbc.js.map +1 -0
- package/_esm/chains/definitions/wemix.js +16 -0
- package/_esm/chains/definitions/wemix.js.map +1 -0
- package/_esm/chains/definitions/wemixTestnet.js +17 -0
- package/_esm/chains/definitions/wemixTestnet.js.map +1 -0
- package/_esm/chains/index.js +5 -0
- package/_esm/chains/index.js.map +1 -1
- package/_esm/chains/opStack/abis.js +4 -0
- package/_esm/chains/opStack/abis.js.map +1 -1
- package/_esm/chains/opStack/contracts.js +4 -0
- package/_esm/chains/opStack/contracts.js.map +1 -1
- package/_esm/chains/opStack/decorators/publicL1.js +15 -0
- package/_esm/chains/opStack/decorators/publicL1.js.map +1 -1
- package/_esm/chains/opStack/decorators/publicL2.js +15 -0
- package/_esm/chains/opStack/decorators/publicL2.js.map +1 -1
- package/_esm/chains/opStack/decorators/walletL1.js +17 -0
- package/_esm/chains/opStack/decorators/walletL1.js.map +1 -1
- package/_esm/chains/opStack/decorators/walletL2.js +17 -0
- package/_esm/chains/opStack/decorators/walletL2.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_types/accounts/generateMnemonic.d.ts +2 -1
- package/_types/accounts/generateMnemonic.d.ts.map +1 -1
- package/_types/actions/public/simulateContract.d.ts +2 -2
- package/_types/actions/public/simulateContract.d.ts.map +1 -1
- package/_types/chains/celo/chainConfig.d.ts +65 -65
- package/_types/chains/celo/formatters.d.ts +65 -65
- package/_types/chains/definitions/arbitrumSepolia.d.ts +6 -2
- package/_types/chains/definitions/arbitrumSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/base.d.ts +50 -50
- package/_types/chains/definitions/baseGoerli.d.ts +50 -50
- package/_types/chains/definitions/baseSepolia.d.ts +50 -50
- package/_types/chains/definitions/bitTorrent.d.ts +42 -0
- package/_types/chains/definitions/bitTorrent.d.ts.map +1 -0
- package/_types/chains/definitions/bitTorrentTestnet.d.ts +42 -0
- package/_types/chains/definitions/bitTorrentTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/celo.d.ts +65 -65
- package/_types/chains/definitions/celoAlfajores.d.ts +65 -65
- package/_types/chains/definitions/celoCannoli.d.ts +65 -65
- package/_types/chains/definitions/jbc.d.ts +36 -0
- package/_types/chains/definitions/jbc.d.ts.map +1 -0
- package/_types/chains/definitions/optimism.d.ts +50 -50
- package/_types/chains/definitions/optimismGoerli.d.ts +50 -50
- package/_types/chains/definitions/optimismSepolia.d.ts +50 -50
- package/_types/chains/definitions/pgn.d.ts +50 -50
- package/_types/chains/definitions/pgnTestnet.d.ts +50 -50
- package/_types/chains/definitions/wemix.d.ts +42 -0
- package/_types/chains/definitions/wemix.d.ts.map +1 -0
- package/_types/chains/definitions/wemixTestnet.d.ts +42 -0
- package/_types/chains/definitions/wemixTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/zkSync.d.ts +3 -3
- package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts +3 -3
- package/_types/chains/definitions/zkSyncTestnet.d.ts +3 -3
- package/_types/chains/definitions/zora.d.ts +50 -50
- package/_types/chains/definitions/zoraSepolia.d.ts +50 -50
- package/_types/chains/definitions/zoraTestnet.d.ts +50 -50
- package/_types/chains/index.d.ts +6 -1
- package/_types/chains/index.d.ts.map +1 -1
- package/_types/chains/opStack/abis.d.ts +4 -0
- package/_types/chains/opStack/abis.d.ts.map +1 -1
- package/_types/chains/opStack/chainConfig.d.ts +50 -50
- package/_types/chains/opStack/contracts.d.ts +4 -0
- package/_types/chains/opStack/contracts.d.ts.map +1 -1
- package/_types/chains/opStack/decorators/publicL1.d.ts +15 -0
- package/_types/chains/opStack/decorators/publicL1.d.ts.map +1 -1
- package/_types/chains/opStack/decorators/publicL2.d.ts +15 -0
- package/_types/chains/opStack/decorators/publicL2.d.ts.map +1 -1
- package/_types/chains/opStack/decorators/walletL1.d.ts +17 -0
- package/_types/chains/opStack/decorators/walletL1.d.ts.map +1 -1
- package/_types/chains/opStack/decorators/walletL2.d.ts +17 -0
- package/_types/chains/opStack/decorators/walletL2.d.ts.map +1 -1
- package/_types/chains/opStack/formatters.d.ts +50 -50
- package/_types/chains/opStack/types/contract.d.ts +8 -7
- package/_types/chains/opStack/types/contract.d.ts.map +1 -1
- package/_types/chains/zksync/chainConfig.d.ts +3 -3
- package/_types/chains/zksync/formatters.d.ts +3 -3
- package/_types/clients/decorators/wallet.d.ts +2 -2
- package/_types/clients/decorators/wallet.d.ts.map +1 -1
- 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/accounts/generateMnemonic.ts +6 -2
- package/actions/public/simulateContract.ts +2 -2
- package/chains/definitions/arbitrumSepolia.ts +2 -4
- package/chains/definitions/bitTorrent.ts +16 -0
- package/chains/definitions/bitTorrentTestnet.ts +17 -0
- package/chains/definitions/jbc.ts +29 -0
- package/chains/definitions/wemix.ts +16 -0
- package/chains/definitions/wemixTestnet.ts +17 -0
- package/chains/index.ts +13 -1
- package/chains/opStack/abis.ts +4 -0
- package/chains/opStack/contracts.ts +4 -0
- package/chains/opStack/decorators/publicL1.ts +15 -0
- package/chains/opStack/decorators/publicL2.ts +15 -0
- package/chains/opStack/decorators/walletL1.ts +17 -0
- package/chains/opStack/decorators/walletL2.ts +17 -0
- package/chains/opStack/types/contract.ts +15 -6
- package/clients/decorators/wallet.ts +2 -2
- package/errors/version.ts +1 -1
- package/package.json +34 -12
@@ -89,12 +89,8 @@ export declare const optimismSepolia: {
|
|
89
89
|
readonly transaction: {
|
90
90
|
exclude: [] | undefined;
|
91
91
|
format: (args: ({
|
92
|
-
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
93
|
-
blockHash?: `0x${string}` | null | undefined;
|
94
|
-
gasPrice?: `0x${string}` | undefined;
|
95
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
96
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
97
92
|
yParity?: `0x${string}` | undefined;
|
93
|
+
blockHash?: `0x${string}` | null | undefined;
|
98
94
|
blockNumber?: `0x${string}` | null | undefined;
|
99
95
|
from?: `0x${string}` | undefined;
|
100
96
|
gas?: `0x${string}` | undefined;
|
@@ -107,6 +103,10 @@ export declare const optimismSepolia: {
|
|
107
103
|
transactionIndex?: `0x${string}` | null | undefined;
|
108
104
|
v?: `0x${string}` | undefined;
|
109
105
|
value?: `0x${string}` | undefined;
|
106
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
107
|
+
gasPrice?: `0x${string}` | undefined;
|
108
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
109
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
110
110
|
accessList?: undefined;
|
111
111
|
chainId?: `0x${string}` | undefined;
|
112
112
|
} & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
|
@@ -114,12 +114,8 @@ export declare const optimismSepolia: {
|
|
114
114
|
mint?: undefined;
|
115
115
|
sourceHash?: undefined;
|
116
116
|
}) | ({
|
117
|
-
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
118
|
-
blockHash?: `0x${string}` | null | undefined;
|
119
|
-
gasPrice?: `0x${string}` | undefined;
|
120
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
121
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
122
117
|
yParity?: `0x${string}` | undefined;
|
118
|
+
blockHash?: `0x${string}` | null | undefined;
|
123
119
|
blockNumber?: `0x${string}` | null | undefined;
|
124
120
|
from?: `0x${string}` | undefined;
|
125
121
|
gas?: `0x${string}` | undefined;
|
@@ -132,6 +128,10 @@ export declare const optimismSepolia: {
|
|
132
128
|
transactionIndex?: `0x${string}` | null | undefined;
|
133
129
|
v?: `0x${string}` | undefined;
|
134
130
|
value?: `0x${string}` | undefined;
|
131
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
132
|
+
gasPrice?: `0x${string}` | undefined;
|
133
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
134
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
135
135
|
accessList?: undefined;
|
136
136
|
chainId?: `0x${string}` | undefined;
|
137
137
|
} & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
@@ -140,12 +140,8 @@ export declare const optimismSepolia: {
|
|
140
140
|
sourceHash: `0x${string}`;
|
141
141
|
type: "0x7e";
|
142
142
|
}) | ({
|
143
|
-
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
144
|
-
blockHash?: `0x${string}` | null | undefined;
|
145
|
-
gasPrice?: `0x${string}` | undefined;
|
146
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
147
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
148
143
|
yParity?: `0x${string}` | undefined;
|
144
|
+
blockHash?: `0x${string}` | null | undefined;
|
149
145
|
blockNumber?: `0x${string}` | null | undefined;
|
150
146
|
from?: `0x${string}` | undefined;
|
151
147
|
gas?: `0x${string}` | undefined;
|
@@ -158,6 +154,10 @@ export declare const optimismSepolia: {
|
|
158
154
|
transactionIndex?: `0x${string}` | null | undefined;
|
159
155
|
v?: `0x${string}` | undefined;
|
160
156
|
value?: `0x${string}` | undefined;
|
157
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
158
|
+
gasPrice?: `0x${string}` | undefined;
|
159
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
160
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
161
161
|
accessList?: import("../../index.js").AccessList | undefined;
|
162
162
|
chainId?: `0x${string}` | undefined;
|
163
163
|
} & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
|
@@ -165,12 +165,8 @@ export declare const optimismSepolia: {
|
|
165
165
|
mint?: undefined;
|
166
166
|
sourceHash?: undefined;
|
167
167
|
}) | ({
|
168
|
-
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
169
|
-
blockHash?: `0x${string}` | null | undefined;
|
170
|
-
gasPrice?: `0x${string}` | undefined;
|
171
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
172
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
173
168
|
yParity?: `0x${string}` | undefined;
|
169
|
+
blockHash?: `0x${string}` | null | undefined;
|
174
170
|
blockNumber?: `0x${string}` | null | undefined;
|
175
171
|
from?: `0x${string}` | undefined;
|
176
172
|
gas?: `0x${string}` | undefined;
|
@@ -183,6 +179,10 @@ export declare const optimismSepolia: {
|
|
183
179
|
transactionIndex?: `0x${string}` | null | undefined;
|
184
180
|
v?: `0x${string}` | undefined;
|
185
181
|
value?: `0x${string}` | undefined;
|
182
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
183
|
+
gasPrice?: `0x${string}` | undefined;
|
184
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
185
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
186
186
|
accessList?: import("../../index.js").AccessList | undefined;
|
187
187
|
chainId?: `0x${string}` | undefined;
|
188
188
|
} & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
|
@@ -190,12 +190,8 @@ export declare const optimismSepolia: {
|
|
190
190
|
mint?: undefined;
|
191
191
|
sourceHash?: undefined;
|
192
192
|
}) | ({
|
193
|
-
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
194
|
-
blockHash?: `0x${string}` | null | undefined;
|
195
|
-
gasPrice?: `0x${string}` | undefined;
|
196
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
197
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
198
193
|
yParity?: `0x${string}` | undefined;
|
194
|
+
blockHash?: `0x${string}` | null | undefined;
|
199
195
|
blockNumber?: `0x${string}` | null | undefined;
|
200
196
|
from?: `0x${string}` | undefined;
|
201
197
|
gas?: `0x${string}` | undefined;
|
@@ -208,6 +204,10 @@ export declare const optimismSepolia: {
|
|
208
204
|
transactionIndex?: `0x${string}` | null | undefined;
|
209
205
|
v?: `0x${string}` | undefined;
|
210
206
|
value?: `0x${string}` | undefined;
|
207
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
208
|
+
gasPrice?: `0x${string}` | undefined;
|
209
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
210
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
211
211
|
accessList?: import("../../index.js").AccessList | undefined;
|
212
212
|
chainId?: `0x${string}` | undefined;
|
213
213
|
} & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
|
@@ -215,12 +215,8 @@ export declare const optimismSepolia: {
|
|
215
215
|
mint?: undefined;
|
216
216
|
sourceHash?: undefined;
|
217
217
|
}) | ({
|
218
|
-
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
219
|
-
blockHash?: `0x${string}` | null | undefined;
|
220
|
-
gasPrice?: `0x${string}` | undefined;
|
221
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
222
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
223
218
|
yParity?: `0x${string}` | undefined;
|
219
|
+
blockHash?: `0x${string}` | null | undefined;
|
224
220
|
blockNumber?: `0x${string}` | null | undefined;
|
225
221
|
from?: `0x${string}` | undefined;
|
226
222
|
gas?: `0x${string}` | undefined;
|
@@ -233,6 +229,10 @@ export declare const optimismSepolia: {
|
|
233
229
|
transactionIndex?: `0x${string}` | null | undefined;
|
234
230
|
v?: `0x${string}` | undefined;
|
235
231
|
value?: `0x${string}` | undefined;
|
232
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
233
|
+
gasPrice?: `0x${string}` | undefined;
|
234
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
235
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
236
236
|
accessList?: import("../../index.js").AccessList | undefined;
|
237
237
|
chainId?: `0x${string}` | undefined;
|
238
238
|
} & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
@@ -241,12 +241,8 @@ export declare const optimismSepolia: {
|
|
241
241
|
sourceHash: `0x${string}`;
|
242
242
|
type: "0x7e";
|
243
243
|
}) | ({
|
244
|
-
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
245
|
-
blockHash?: `0x${string}` | null | undefined;
|
246
|
-
gasPrice?: `0x${string}` | undefined;
|
247
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
248
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
249
244
|
yParity?: `0x${string}` | undefined;
|
245
|
+
blockHash?: `0x${string}` | null | undefined;
|
250
246
|
blockNumber?: `0x${string}` | null | undefined;
|
251
247
|
from?: `0x${string}` | undefined;
|
252
248
|
gas?: `0x${string}` | undefined;
|
@@ -259,6 +255,10 @@ export declare const optimismSepolia: {
|
|
259
255
|
transactionIndex?: `0x${string}` | null | undefined;
|
260
256
|
v?: `0x${string}` | undefined;
|
261
257
|
value?: `0x${string}` | undefined;
|
258
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
259
|
+
gasPrice?: `0x${string}` | undefined;
|
260
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
261
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
262
262
|
accessList?: import("../../index.js").AccessList | undefined;
|
263
263
|
chainId?: `0x${string}` | undefined;
|
264
264
|
} & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
|
@@ -266,12 +266,8 @@ export declare const optimismSepolia: {
|
|
266
266
|
mint?: undefined;
|
267
267
|
sourceHash?: undefined;
|
268
268
|
}) | ({
|
269
|
-
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
270
|
-
blockHash?: `0x${string}` | null | undefined;
|
271
|
-
gasPrice?: `0x${string}` | undefined;
|
272
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
273
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
274
269
|
yParity?: `0x${string}` | undefined;
|
270
|
+
blockHash?: `0x${string}` | null | undefined;
|
275
271
|
blockNumber?: `0x${string}` | null | undefined;
|
276
272
|
from?: `0x${string}` | undefined;
|
277
273
|
gas?: `0x${string}` | undefined;
|
@@ -284,6 +280,10 @@ export declare const optimismSepolia: {
|
|
284
280
|
transactionIndex?: `0x${string}` | null | undefined;
|
285
281
|
v?: `0x${string}` | undefined;
|
286
282
|
value?: `0x${string}` | undefined;
|
283
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
284
|
+
gasPrice?: `0x${string}` | undefined;
|
285
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
286
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
287
287
|
accessList?: import("../../index.js").AccessList | undefined;
|
288
288
|
chainId?: `0x${string}` | undefined;
|
289
289
|
} & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
|
@@ -291,12 +291,8 @@ export declare const optimismSepolia: {
|
|
291
291
|
mint?: undefined;
|
292
292
|
sourceHash?: undefined;
|
293
293
|
}) | ({
|
294
|
-
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
295
|
-
blockHash?: `0x${string}` | null | undefined;
|
296
|
-
gasPrice?: `0x${string}` | undefined;
|
297
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
298
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
299
294
|
yParity?: `0x${string}` | undefined;
|
295
|
+
blockHash?: `0x${string}` | null | undefined;
|
300
296
|
blockNumber?: `0x${string}` | null | undefined;
|
301
297
|
from?: `0x${string}` | undefined;
|
302
298
|
gas?: `0x${string}` | undefined;
|
@@ -309,6 +305,10 @@ export declare const optimismSepolia: {
|
|
309
305
|
transactionIndex?: `0x${string}` | null | undefined;
|
310
306
|
v?: `0x${string}` | undefined;
|
311
307
|
value?: `0x${string}` | undefined;
|
308
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
309
|
+
gasPrice?: `0x${string}` | undefined;
|
310
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
311
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
312
312
|
accessList?: import("../../index.js").AccessList | undefined;
|
313
313
|
chainId?: `0x${string}` | undefined;
|
314
314
|
} & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
|
@@ -316,12 +316,8 @@ export declare const optimismSepolia: {
|
|
316
316
|
mint?: undefined;
|
317
317
|
sourceHash?: undefined;
|
318
318
|
}) | ({
|
319
|
-
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
320
|
-
blockHash?: `0x${string}` | null | undefined;
|
321
|
-
gasPrice?: `0x${string}` | undefined;
|
322
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
323
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
324
319
|
yParity?: `0x${string}` | undefined;
|
320
|
+
blockHash?: `0x${string}` | null | undefined;
|
325
321
|
blockNumber?: `0x${string}` | null | undefined;
|
326
322
|
from?: `0x${string}` | undefined;
|
327
323
|
gas?: `0x${string}` | undefined;
|
@@ -334,6 +330,10 @@ export declare const optimismSepolia: {
|
|
334
330
|
transactionIndex?: `0x${string}` | null | undefined;
|
335
331
|
v?: `0x${string}` | undefined;
|
336
332
|
value?: `0x${string}` | undefined;
|
333
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
334
|
+
gasPrice?: `0x${string}` | undefined;
|
335
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
336
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
337
337
|
accessList?: import("../../index.js").AccessList | undefined;
|
338
338
|
chainId?: `0x${string}` | undefined;
|
339
339
|
} & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
@@ -75,12 +75,8 @@ export declare const pgn: {
|
|
75
75
|
readonly transaction: {
|
76
76
|
exclude: [] | undefined;
|
77
77
|
format: (args: ({
|
78
|
-
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
79
|
-
blockHash?: `0x${string}` | null | undefined;
|
80
|
-
gasPrice?: `0x${string}` | undefined;
|
81
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
82
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
83
78
|
yParity?: `0x${string}` | undefined;
|
79
|
+
blockHash?: `0x${string}` | null | undefined;
|
84
80
|
blockNumber?: `0x${string}` | null | undefined;
|
85
81
|
from?: `0x${string}` | undefined;
|
86
82
|
gas?: `0x${string}` | undefined;
|
@@ -93,6 +89,10 @@ export declare const pgn: {
|
|
93
89
|
transactionIndex?: `0x${string}` | null | undefined;
|
94
90
|
v?: `0x${string}` | undefined;
|
95
91
|
value?: `0x${string}` | undefined;
|
92
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
93
|
+
gasPrice?: `0x${string}` | undefined;
|
94
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
95
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
96
96
|
accessList?: undefined;
|
97
97
|
chainId?: `0x${string}` | undefined;
|
98
98
|
} & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
|
@@ -100,12 +100,8 @@ export declare const pgn: {
|
|
100
100
|
mint?: undefined;
|
101
101
|
sourceHash?: undefined;
|
102
102
|
}) | ({
|
103
|
-
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
104
|
-
blockHash?: `0x${string}` | null | undefined;
|
105
|
-
gasPrice?: `0x${string}` | undefined;
|
106
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
107
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
108
103
|
yParity?: `0x${string}` | undefined;
|
104
|
+
blockHash?: `0x${string}` | null | undefined;
|
109
105
|
blockNumber?: `0x${string}` | null | undefined;
|
110
106
|
from?: `0x${string}` | undefined;
|
111
107
|
gas?: `0x${string}` | undefined;
|
@@ -118,6 +114,10 @@ export declare const pgn: {
|
|
118
114
|
transactionIndex?: `0x${string}` | null | undefined;
|
119
115
|
v?: `0x${string}` | undefined;
|
120
116
|
value?: `0x${string}` | undefined;
|
117
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
118
|
+
gasPrice?: `0x${string}` | undefined;
|
119
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
120
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
121
121
|
accessList?: undefined;
|
122
122
|
chainId?: `0x${string}` | undefined;
|
123
123
|
} & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
@@ -126,12 +126,8 @@ export declare const pgn: {
|
|
126
126
|
sourceHash: `0x${string}`;
|
127
127
|
type: "0x7e";
|
128
128
|
}) | ({
|
129
|
-
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
130
|
-
blockHash?: `0x${string}` | null | undefined;
|
131
|
-
gasPrice?: `0x${string}` | undefined;
|
132
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
133
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
134
129
|
yParity?: `0x${string}` | undefined;
|
130
|
+
blockHash?: `0x${string}` | null | undefined;
|
135
131
|
blockNumber?: `0x${string}` | null | undefined;
|
136
132
|
from?: `0x${string}` | undefined;
|
137
133
|
gas?: `0x${string}` | undefined;
|
@@ -144,6 +140,10 @@ export declare const pgn: {
|
|
144
140
|
transactionIndex?: `0x${string}` | null | undefined;
|
145
141
|
v?: `0x${string}` | undefined;
|
146
142
|
value?: `0x${string}` | undefined;
|
143
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
144
|
+
gasPrice?: `0x${string}` | undefined;
|
145
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
146
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
147
147
|
accessList?: import("../../index.js").AccessList | undefined;
|
148
148
|
chainId?: `0x${string}` | undefined;
|
149
149
|
} & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
|
@@ -151,12 +151,8 @@ export declare const pgn: {
|
|
151
151
|
mint?: undefined;
|
152
152
|
sourceHash?: undefined;
|
153
153
|
}) | ({
|
154
|
-
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
155
|
-
blockHash?: `0x${string}` | null | undefined;
|
156
|
-
gasPrice?: `0x${string}` | undefined;
|
157
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
158
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
159
154
|
yParity?: `0x${string}` | undefined;
|
155
|
+
blockHash?: `0x${string}` | null | undefined;
|
160
156
|
blockNumber?: `0x${string}` | null | undefined;
|
161
157
|
from?: `0x${string}` | undefined;
|
162
158
|
gas?: `0x${string}` | undefined;
|
@@ -169,6 +165,10 @@ export declare const pgn: {
|
|
169
165
|
transactionIndex?: `0x${string}` | null | undefined;
|
170
166
|
v?: `0x${string}` | undefined;
|
171
167
|
value?: `0x${string}` | undefined;
|
168
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
169
|
+
gasPrice?: `0x${string}` | undefined;
|
170
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
171
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
172
172
|
accessList?: import("../../index.js").AccessList | undefined;
|
173
173
|
chainId?: `0x${string}` | undefined;
|
174
174
|
} & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
|
@@ -176,12 +176,8 @@ export declare const pgn: {
|
|
176
176
|
mint?: undefined;
|
177
177
|
sourceHash?: undefined;
|
178
178
|
}) | ({
|
179
|
-
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
180
|
-
blockHash?: `0x${string}` | null | undefined;
|
181
|
-
gasPrice?: `0x${string}` | undefined;
|
182
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
183
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
184
179
|
yParity?: `0x${string}` | undefined;
|
180
|
+
blockHash?: `0x${string}` | null | undefined;
|
185
181
|
blockNumber?: `0x${string}` | null | undefined;
|
186
182
|
from?: `0x${string}` | undefined;
|
187
183
|
gas?: `0x${string}` | undefined;
|
@@ -194,6 +190,10 @@ export declare const pgn: {
|
|
194
190
|
transactionIndex?: `0x${string}` | null | undefined;
|
195
191
|
v?: `0x${string}` | undefined;
|
196
192
|
value?: `0x${string}` | undefined;
|
193
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
194
|
+
gasPrice?: `0x${string}` | undefined;
|
195
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
196
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
197
197
|
accessList?: import("../../index.js").AccessList | undefined;
|
198
198
|
chainId?: `0x${string}` | undefined;
|
199
199
|
} & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
|
@@ -201,12 +201,8 @@ export declare const pgn: {
|
|
201
201
|
mint?: undefined;
|
202
202
|
sourceHash?: undefined;
|
203
203
|
}) | ({
|
204
|
-
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
205
|
-
blockHash?: `0x${string}` | null | undefined;
|
206
|
-
gasPrice?: `0x${string}` | undefined;
|
207
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
208
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
209
204
|
yParity?: `0x${string}` | undefined;
|
205
|
+
blockHash?: `0x${string}` | null | undefined;
|
210
206
|
blockNumber?: `0x${string}` | null | undefined;
|
211
207
|
from?: `0x${string}` | undefined;
|
212
208
|
gas?: `0x${string}` | undefined;
|
@@ -219,6 +215,10 @@ export declare const pgn: {
|
|
219
215
|
transactionIndex?: `0x${string}` | null | undefined;
|
220
216
|
v?: `0x${string}` | undefined;
|
221
217
|
value?: `0x${string}` | undefined;
|
218
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
219
|
+
gasPrice?: `0x${string}` | undefined;
|
220
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
221
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
222
222
|
accessList?: import("../../index.js").AccessList | undefined;
|
223
223
|
chainId?: `0x${string}` | undefined;
|
224
224
|
} & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
@@ -227,12 +227,8 @@ export declare const pgn: {
|
|
227
227
|
sourceHash: `0x${string}`;
|
228
228
|
type: "0x7e";
|
229
229
|
}) | ({
|
230
|
-
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
231
|
-
blockHash?: `0x${string}` | null | undefined;
|
232
|
-
gasPrice?: `0x${string}` | undefined;
|
233
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
234
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
235
230
|
yParity?: `0x${string}` | undefined;
|
231
|
+
blockHash?: `0x${string}` | null | undefined;
|
236
232
|
blockNumber?: `0x${string}` | null | undefined;
|
237
233
|
from?: `0x${string}` | undefined;
|
238
234
|
gas?: `0x${string}` | undefined;
|
@@ -245,6 +241,10 @@ export declare const pgn: {
|
|
245
241
|
transactionIndex?: `0x${string}` | null | undefined;
|
246
242
|
v?: `0x${string}` | undefined;
|
247
243
|
value?: `0x${string}` | undefined;
|
244
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
245
|
+
gasPrice?: `0x${string}` | undefined;
|
246
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
247
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
248
248
|
accessList?: import("../../index.js").AccessList | undefined;
|
249
249
|
chainId?: `0x${string}` | undefined;
|
250
250
|
} & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
|
@@ -252,12 +252,8 @@ export declare const pgn: {
|
|
252
252
|
mint?: undefined;
|
253
253
|
sourceHash?: undefined;
|
254
254
|
}) | ({
|
255
|
-
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
256
|
-
blockHash?: `0x${string}` | null | undefined;
|
257
|
-
gasPrice?: `0x${string}` | undefined;
|
258
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
259
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
260
255
|
yParity?: `0x${string}` | undefined;
|
256
|
+
blockHash?: `0x${string}` | null | undefined;
|
261
257
|
blockNumber?: `0x${string}` | null | undefined;
|
262
258
|
from?: `0x${string}` | undefined;
|
263
259
|
gas?: `0x${string}` | undefined;
|
@@ -270,6 +266,10 @@ export declare const pgn: {
|
|
270
266
|
transactionIndex?: `0x${string}` | null | undefined;
|
271
267
|
v?: `0x${string}` | undefined;
|
272
268
|
value?: `0x${string}` | undefined;
|
269
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
270
|
+
gasPrice?: `0x${string}` | undefined;
|
271
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
272
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
273
273
|
accessList?: import("../../index.js").AccessList | undefined;
|
274
274
|
chainId?: `0x${string}` | undefined;
|
275
275
|
} & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
|
@@ -277,12 +277,8 @@ export declare const pgn: {
|
|
277
277
|
mint?: undefined;
|
278
278
|
sourceHash?: undefined;
|
279
279
|
}) | ({
|
280
|
-
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
281
|
-
blockHash?: `0x${string}` | null | undefined;
|
282
|
-
gasPrice?: `0x${string}` | undefined;
|
283
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
284
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
285
280
|
yParity?: `0x${string}` | undefined;
|
281
|
+
blockHash?: `0x${string}` | null | undefined;
|
286
282
|
blockNumber?: `0x${string}` | null | undefined;
|
287
283
|
from?: `0x${string}` | undefined;
|
288
284
|
gas?: `0x${string}` | undefined;
|
@@ -295,6 +291,10 @@ export declare const pgn: {
|
|
295
291
|
transactionIndex?: `0x${string}` | null | undefined;
|
296
292
|
v?: `0x${string}` | undefined;
|
297
293
|
value?: `0x${string}` | undefined;
|
294
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
295
|
+
gasPrice?: `0x${string}` | undefined;
|
296
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
297
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
298
298
|
accessList?: import("../../index.js").AccessList | undefined;
|
299
299
|
chainId?: `0x${string}` | undefined;
|
300
300
|
} & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
|
@@ -302,12 +302,8 @@ export declare const pgn: {
|
|
302
302
|
mint?: undefined;
|
303
303
|
sourceHash?: undefined;
|
304
304
|
}) | ({
|
305
|
-
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
306
|
-
blockHash?: `0x${string}` | null | undefined;
|
307
|
-
gasPrice?: `0x${string}` | undefined;
|
308
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
309
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
310
305
|
yParity?: `0x${string}` | undefined;
|
306
|
+
blockHash?: `0x${string}` | null | undefined;
|
311
307
|
blockNumber?: `0x${string}` | null | undefined;
|
312
308
|
from?: `0x${string}` | undefined;
|
313
309
|
gas?: `0x${string}` | undefined;
|
@@ -320,6 +316,10 @@ export declare const pgn: {
|
|
320
316
|
transactionIndex?: `0x${string}` | null | undefined;
|
321
317
|
v?: `0x${string}` | undefined;
|
322
318
|
value?: `0x${string}` | undefined;
|
319
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
320
|
+
gasPrice?: `0x${string}` | undefined;
|
321
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
322
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
323
323
|
accessList?: import("../../index.js").AccessList | undefined;
|
324
324
|
chainId?: `0x${string}` | undefined;
|
325
325
|
} & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|