viem 0.0.0-main.20231112T014621 → 0.0.0-main.20231112T061346
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/node.js +11 -11
- package/_cjs/errors/node.js.map +1 -1
- package/_cjs/errors/rpc.js +18 -18
- package/_cjs/errors/rpc.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_cjs/utils/formatters/transaction.js +5 -7
- package/_cjs/utils/formatters/transaction.js.map +1 -1
- package/_esm/errors/node.js +11 -22
- package/_esm/errors/node.js.map +1 -1
- package/_esm/errors/rpc.js +18 -36
- package/_esm/errors/rpc.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/utils/formatters/transaction.js +6 -8
- package/_esm/utils/formatters/transaction.js.map +1 -1
- package/_types/chains/celo/formatters.d.ts +23 -23
- package/_types/chains/definitions/base.d.ts +17 -17
- package/_types/chains/definitions/baseGoerli.d.ts +17 -17
- package/_types/chains/definitions/baseSepolia.d.ts +17 -17
- package/_types/chains/definitions/celo.d.ts +23 -23
- package/_types/chains/definitions/celoAlfajores.d.ts +23 -23
- package/_types/chains/definitions/celoCannoli.d.ts +23 -23
- package/_types/chains/definitions/optimism.d.ts +17 -17
- package/_types/chains/definitions/optimismGoerli.d.ts +17 -17
- package/_types/chains/definitions/optimismSepolia.d.ts +17 -17
- package/_types/chains/definitions/zkSync.d.ts +10 -10
- package/_types/chains/definitions/zkSyncTestnet.d.ts +10 -10
- package/_types/chains/definitions/zora.d.ts +17 -17
- package/_types/chains/definitions/zoraSepolia.d.ts +17 -17
- package/_types/chains/definitions/zoraTestnet.d.ts +17 -17
- package/_types/chains/optimism/formatters.d.ts +17 -17
- package/_types/chains/zksync/formatters.d.ts +10 -10
- package/_types/errors/version.d.ts +1 -1
- package/_types/types/rpc.d.ts +2 -2
- package/_types/types/rpc.d.ts.map +1 -1
- package/_types/types/transaction.d.ts +3 -6
- package/_types/types/transaction.d.ts.map +1 -1
- package/_types/types/utils.d.ts +8 -0
- package/_types/types/utils.d.ts.map +1 -1
- package/_types/utils/formatters/transaction.d.ts +1 -1
- package/_types/utils/formatters/transaction.d.ts.map +1 -1
- package/_types/utils/formatters/transactionRequest.d.ts +1 -1
- package/errors/version.ts +1 -1
- package/package.json +1 -1
- package/types/rpc.ts +15 -6
- package/types/transaction.ts +3 -6
- package/types/utils.ts +11 -0
- package/utils/formatters/transaction.ts +5 -8
package/_esm/errors/rpc.js
CHANGED
@@ -42,7 +42,7 @@ export class ProviderRpcError extends RpcError {
|
|
42
42
|
this.data = options.data;
|
43
43
|
}
|
44
44
|
}
|
45
|
-
class ParseRpcError extends RpcError {
|
45
|
+
export class ParseRpcError extends RpcError {
|
46
46
|
constructor(cause) {
|
47
47
|
super(cause, {
|
48
48
|
code: ParseRpcError.code,
|
@@ -62,8 +62,7 @@ Object.defineProperty(ParseRpcError, "code", {
|
|
62
62
|
writable: true,
|
63
63
|
value: -32700
|
64
64
|
});
|
65
|
-
export
|
66
|
-
class InvalidRequestRpcError extends RpcError {
|
65
|
+
export class InvalidRequestRpcError extends RpcError {
|
67
66
|
constructor(cause) {
|
68
67
|
super(cause, {
|
69
68
|
code: InvalidRequestRpcError.code,
|
@@ -83,8 +82,7 @@ Object.defineProperty(InvalidRequestRpcError, "code", {
|
|
83
82
|
writable: true,
|
84
83
|
value: -32600
|
85
84
|
});
|
86
|
-
export
|
87
|
-
class MethodNotFoundRpcError extends RpcError {
|
85
|
+
export class MethodNotFoundRpcError extends RpcError {
|
88
86
|
constructor(cause) {
|
89
87
|
super(cause, {
|
90
88
|
code: MethodNotFoundRpcError.code,
|
@@ -104,8 +102,7 @@ Object.defineProperty(MethodNotFoundRpcError, "code", {
|
|
104
102
|
writable: true,
|
105
103
|
value: -32601
|
106
104
|
});
|
107
|
-
export
|
108
|
-
class InvalidParamsRpcError extends RpcError {
|
105
|
+
export class InvalidParamsRpcError extends RpcError {
|
109
106
|
constructor(cause) {
|
110
107
|
super(cause, {
|
111
108
|
code: InvalidParamsRpcError.code,
|
@@ -128,8 +125,7 @@ Object.defineProperty(InvalidParamsRpcError, "code", {
|
|
128
125
|
writable: true,
|
129
126
|
value: -32602
|
130
127
|
});
|
131
|
-
export
|
132
|
-
class InternalRpcError extends RpcError {
|
128
|
+
export class InternalRpcError extends RpcError {
|
133
129
|
constructor(cause) {
|
134
130
|
super(cause, {
|
135
131
|
code: InternalRpcError.code,
|
@@ -149,8 +145,7 @@ Object.defineProperty(InternalRpcError, "code", {
|
|
149
145
|
writable: true,
|
150
146
|
value: -32603
|
151
147
|
});
|
152
|
-
export
|
153
|
-
class InvalidInputRpcError extends RpcError {
|
148
|
+
export class InvalidInputRpcError extends RpcError {
|
154
149
|
constructor(cause) {
|
155
150
|
super(cause, {
|
156
151
|
code: InvalidInputRpcError.code,
|
@@ -173,8 +168,7 @@ Object.defineProperty(InvalidInputRpcError, "code", {
|
|
173
168
|
writable: true,
|
174
169
|
value: -32000
|
175
170
|
});
|
176
|
-
export
|
177
|
-
class ResourceNotFoundRpcError extends RpcError {
|
171
|
+
export class ResourceNotFoundRpcError extends RpcError {
|
178
172
|
constructor(cause) {
|
179
173
|
super(cause, {
|
180
174
|
code: ResourceNotFoundRpcError.code,
|
@@ -194,8 +188,7 @@ Object.defineProperty(ResourceNotFoundRpcError, "code", {
|
|
194
188
|
writable: true,
|
195
189
|
value: -32001
|
196
190
|
});
|
197
|
-
export
|
198
|
-
class ResourceUnavailableRpcError extends RpcError {
|
191
|
+
export class ResourceUnavailableRpcError extends RpcError {
|
199
192
|
constructor(cause) {
|
200
193
|
super(cause, {
|
201
194
|
code: ResourceUnavailableRpcError.code,
|
@@ -215,8 +208,7 @@ Object.defineProperty(ResourceUnavailableRpcError, "code", {
|
|
215
208
|
writable: true,
|
216
209
|
value: -32002
|
217
210
|
});
|
218
|
-
export
|
219
|
-
class TransactionRejectedRpcError extends RpcError {
|
211
|
+
export class TransactionRejectedRpcError extends RpcError {
|
220
212
|
constructor(cause) {
|
221
213
|
super(cause, {
|
222
214
|
code: TransactionRejectedRpcError.code,
|
@@ -236,8 +228,7 @@ Object.defineProperty(TransactionRejectedRpcError, "code", {
|
|
236
228
|
writable: true,
|
237
229
|
value: -32003
|
238
230
|
});
|
239
|
-
export
|
240
|
-
class MethodNotSupportedRpcError extends RpcError {
|
231
|
+
export class MethodNotSupportedRpcError extends RpcError {
|
241
232
|
constructor(cause) {
|
242
233
|
super(cause, {
|
243
234
|
code: MethodNotSupportedRpcError.code,
|
@@ -257,8 +248,7 @@ Object.defineProperty(MethodNotSupportedRpcError, "code", {
|
|
257
248
|
writable: true,
|
258
249
|
value: -32004
|
259
250
|
});
|
260
|
-
export
|
261
|
-
class LimitExceededRpcError extends RpcError {
|
251
|
+
export class LimitExceededRpcError extends RpcError {
|
262
252
|
constructor(cause) {
|
263
253
|
super(cause, {
|
264
254
|
code: LimitExceededRpcError.code,
|
@@ -278,8 +268,7 @@ Object.defineProperty(LimitExceededRpcError, "code", {
|
|
278
268
|
writable: true,
|
279
269
|
value: -32005
|
280
270
|
});
|
281
|
-
export
|
282
|
-
class JsonRpcVersionUnsupportedError extends RpcError {
|
271
|
+
export class JsonRpcVersionUnsupportedError extends RpcError {
|
283
272
|
constructor(cause) {
|
284
273
|
super(cause, {
|
285
274
|
code: JsonRpcVersionUnsupportedError.code,
|
@@ -299,8 +288,7 @@ Object.defineProperty(JsonRpcVersionUnsupportedError, "code", {
|
|
299
288
|
writable: true,
|
300
289
|
value: -32006
|
301
290
|
});
|
302
|
-
export
|
303
|
-
class UserRejectedRequestError extends ProviderRpcError {
|
291
|
+
export class UserRejectedRequestError extends ProviderRpcError {
|
304
292
|
constructor(cause) {
|
305
293
|
super(cause, {
|
306
294
|
code: UserRejectedRequestError.code,
|
@@ -320,8 +308,7 @@ Object.defineProperty(UserRejectedRequestError, "code", {
|
|
320
308
|
writable: true,
|
321
309
|
value: 4001
|
322
310
|
});
|
323
|
-
export
|
324
|
-
class UnauthorizedProviderError extends ProviderRpcError {
|
311
|
+
export class UnauthorizedProviderError extends ProviderRpcError {
|
325
312
|
constructor(cause) {
|
326
313
|
super(cause, {
|
327
314
|
code: UnauthorizedProviderError.code,
|
@@ -341,8 +328,7 @@ Object.defineProperty(UnauthorizedProviderError, "code", {
|
|
341
328
|
writable: true,
|
342
329
|
value: 4100
|
343
330
|
});
|
344
|
-
export
|
345
|
-
class UnsupportedProviderMethodError extends ProviderRpcError {
|
331
|
+
export class UnsupportedProviderMethodError extends ProviderRpcError {
|
346
332
|
constructor(cause) {
|
347
333
|
super(cause, {
|
348
334
|
code: UnsupportedProviderMethodError.code,
|
@@ -362,8 +348,7 @@ Object.defineProperty(UnsupportedProviderMethodError, "code", {
|
|
362
348
|
writable: true,
|
363
349
|
value: 4200
|
364
350
|
});
|
365
|
-
export
|
366
|
-
class ProviderDisconnectedError extends ProviderRpcError {
|
351
|
+
export class ProviderDisconnectedError extends ProviderRpcError {
|
367
352
|
constructor(cause) {
|
368
353
|
super(cause, {
|
369
354
|
code: ProviderDisconnectedError.code,
|
@@ -383,8 +368,7 @@ Object.defineProperty(ProviderDisconnectedError, "code", {
|
|
383
368
|
writable: true,
|
384
369
|
value: 4900
|
385
370
|
});
|
386
|
-
export
|
387
|
-
class ChainDisconnectedError extends ProviderRpcError {
|
371
|
+
export class ChainDisconnectedError extends ProviderRpcError {
|
388
372
|
constructor(cause) {
|
389
373
|
super(cause, {
|
390
374
|
code: ChainDisconnectedError.code,
|
@@ -404,8 +388,7 @@ Object.defineProperty(ChainDisconnectedError, "code", {
|
|
404
388
|
writable: true,
|
405
389
|
value: 4901
|
406
390
|
});
|
407
|
-
export
|
408
|
-
class SwitchChainError extends ProviderRpcError {
|
391
|
+
export class SwitchChainError extends ProviderRpcError {
|
409
392
|
constructor(cause) {
|
410
393
|
super(cause, {
|
411
394
|
code: SwitchChainError.code,
|
@@ -425,7 +408,6 @@ Object.defineProperty(SwitchChainError, "code", {
|
|
425
408
|
writable: true,
|
426
409
|
value: 4902
|
427
410
|
});
|
428
|
-
export { SwitchChainError };
|
429
411
|
export class UnknownRpcError extends RpcError {
|
430
412
|
constructor(cause) {
|
431
413
|
super(cause, {
|
package/_esm/errors/rpc.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"rpc.js","sourceRoot":"","sources":["../../errors/rpc.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AACrC,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAE9C,MAAM,gBAAgB,GAAG,CAAC,CAAC,CAAA;AA+B3B,MAAM,OAAO,QAA8C,SAAQ,SAAS;IAK1E,YACE,KAAY,EACZ,EAAE,IAAI,EAAE,QAAQ,EAAE,YAAY,EAAE,YAAY,EAA0B;QAEtE,KAAK,CAAC,YAAY,EAAE;YAClB,KAAK;YACL,QAAQ;YACR,YAAY,EACV,YAAY,IAAK,KAAqC,EAAE,YAAY;SACvE,CAAC,CAAA;QAbK;;;;mBAAO,UAAU;WAAA;QAE1B;;;;;WAA2B;QAYzB,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC,IAAI,CAAA;QACtB,IAAI,CAAC,IAAI,GAAG,CACV,KAAK,YAAY,eAAe,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,IAAI,gBAAgB,CAChE,CAAA;IACZ,CAAC;CACF;AAkBD,MAAM,OAAO,gBAEX,SAAQ,QAA8B;IAKtC,YACE,KAAY,EACZ,OAIC;QAED,KAAK,CAAC,KAAK,EAAE,OAAO,CAAC,CAAA;QAZd;;;;mBAAO,kBAAkB;WAAA;QAElC;;;;;WAAQ;QAYN,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAA;IAC1B,CAAC;CACF;AAWD,
|
1
|
+
{"version":3,"file":"rpc.js","sourceRoot":"","sources":["../../errors/rpc.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AAC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AAY;QACtB,KAAK,CAAC,KAAK,EAAE;YACX,IAAI,EAAE,yBAAyB,CAAC,IAAI;YACpC,YAAY,EAAE,+CAA+C;SAC9D,CAAC,CAAA;QAPK;;;;mBAAO,2BAA2B;WAAA;IAQ3C,CAAC;;AAPM;;;;WAAO,IAAa;EAAhB,CAAgB;AAmB7B,MAAM,OAAO,sBAAuB,SAAQ,gBAAgB;IAI1D,YAAY,KAAY;QACtB,KAAK,CAAC,KAAK,EAAE;YACX,IAAI,EAAE,sBAAsB,CAAC,IAAI;YACjC,YAAY,EAAE,uDAAuD;SACtE,CAAC,CAAA;QAPK;;;;mBAAO,wBAAwB;WAAA;IAQxC,CAAC;;AAPM;;;;WAAO,IAAa;EAAhB,CAAgB;AAmB7B,MAAM,OAAO,gBAAiB,SAAQ,gBAAgB;IAIpD,YAAY,KAAY;QACtB,KAAK,CAAC,KAAK,EAAE;YACX,IAAI,EAAE,gBAAgB,CAAC,IAAI;YAC3B,YAAY,EAAE,oDAAoD;SACnE,CAAC,CAAA;QAPK;;;;mBAAO,kBAAkB;WAAA;IAQlC,CAAC;;AAPM;;;;WAAO,IAAa;EAAhB,CAAgB;AAgB7B,MAAM,OAAO,eAAgB,SAAQ,QAAQ;IAG3C,YAAY,KAAY;QACtB,KAAK,CAAC,KAAK,EAAE;YACX,YAAY,EAAE,gCAAgC;SAC/C,CAAC,CAAA;QALK;;;;mBAAO,iBAAiB;WAAA;IAMjC,CAAC;CACF"}
|
package/_esm/errors/version.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
export const version = '0.0.0-main.
|
1
|
+
export const version = '0.0.0-main.20231112T061346';
|
2
2
|
//# sourceMappingURL=version.js.map
|
@@ -33,18 +33,16 @@ export function formatTransaction(transaction) {
|
|
33
33
|
};
|
34
34
|
transaction_.yParity = (() => {
|
35
35
|
// If `yParity` is provided, we will use it.
|
36
|
-
if (transaction.yParity)
|
37
|
-
if (transaction.yParity === '0x')
|
38
|
-
return 0;
|
36
|
+
if (transaction.yParity)
|
39
37
|
return Number(transaction.yParity);
|
40
|
-
|
41
|
-
// If no `yParity` provided, derive from `v`.
|
38
|
+
// If no `yParity` provided, try derive from `v`.
|
42
39
|
if (typeof transaction_.v === 'bigint') {
|
43
|
-
if (transaction_.v === 0n)
|
40
|
+
if (transaction_.v === 0n || transaction_.v === 27n)
|
44
41
|
return 0;
|
45
|
-
if (transaction_.v === 1n)
|
42
|
+
if (transaction_.v === 1n || transaction_.v === 28n)
|
46
43
|
return 1;
|
47
|
-
|
44
|
+
if (transaction_.v >= 35n)
|
45
|
+
return transaction_.v % 2n === 0n ? 1 : 0;
|
48
46
|
}
|
49
47
|
return undefined;
|
50
48
|
})();
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"transaction.js","sourceRoot":"","sources":["../../../utils/formatters/transaction.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AACpD,OAAO,EAAiC,eAAe,EAAE,MAAM,gBAAgB,CAAA;AA0B/E,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,KAAK,EAAE,QAAQ;IACf,KAAK,EAAE,SAAS;IAChB,KAAK,EAAE,SAAS;CACR,CAAA;AAIV,MAAM,UAAU,iBAAiB,CAAC,WAAoC;IACpE,MAAM,YAAY,GAAG;QACnB,GAAG,WAAW;QACd,SAAS,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI;QAC/D,WAAW,EAAE,WAAW,CAAC,WAAW;YAClC,CAAC,CAAC,MAAM,CAAC,WAAW,CAAC,WAAW,CAAC;YACjC,CAAC,CAAC,IAAI;QACR,OAAO,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC,WAAW,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;QAC3E,GAAG,EAAE,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,WAAW,CA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C,IAAI,GAAG;gBAAE,OAAO,YAAY,CAAC,CAAC,GAAG,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;SACrE;QAED,OAAO,SAAS,CAAA;IAClB,CAAC,CAAC,EAAE,CAAA;IAEJ,IAAI,YAAY,CAAC,IAAI,KAAK,QAAQ,EAAE;QAClC,OAAO,YAAY,CAAC,UAAU,CAAA;QAC9B,OAAO,YAAY,CAAC,YAAY,CAAA;QAChC,OAAO,YAAY,CAAC,oBAAoB,CAAA;QACxC,OAAO,YAAY,CAAC,OAAO,CAAA;KAC5B;IACD,IAAI,YAAY,CAAC,IAAI,KAAK,SAAS,EAAE;QACnC,OAAO,YAAY,CAAC,YAAY,CAAA;QAChC,OAAO,YAAY,CAAC,oBAAoB,CAAA;KACzC;IACD,OAAO,YAAY,CAAA;AACrB,CAAC;AAID,MAAM,CAAC,MAAM,iBAAiB,GAAG,aAAa,CAAC,eAAe,CAC5D,aAAa,EACb,iBAAiB,CAClB,CAAA"}
|
@@ -45,56 +45,56 @@ export declare const formattersCelo: {
|
|
45
45
|
};
|
46
46
|
readonly transaction: {
|
47
47
|
exclude: [] | undefined;
|
48
|
-
format: (args: (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
48
|
+
format: (args: (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
|
49
49
|
feeCurrency: `0x${string}` | null;
|
50
50
|
gatewayFee: `0x${string}` | null;
|
51
51
|
gatewayFeeRecipient: `0x${string}` | null;
|
52
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
52
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
53
53
|
feeCurrency: `0x${string}` | null;
|
54
54
|
gatewayFee: `0x${string}` | null;
|
55
55
|
gatewayFeeRecipient: `0x${string}` | null;
|
56
56
|
type: "0x7c";
|
57
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
57
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
58
58
|
feeCurrency: `0x${string}` | null;
|
59
59
|
type: "0x7b";
|
60
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
60
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
|
61
61
|
feeCurrency: `0x${string}` | null;
|
62
62
|
gatewayFee: `0x${string}` | null;
|
63
63
|
gatewayFeeRecipient: `0x${string}` | null;
|
64
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
|
64
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
|
65
65
|
feeCurrency: `0x${string}` | null;
|
66
66
|
gatewayFee: `0x${string}` | null;
|
67
67
|
gatewayFeeRecipient: `0x${string}` | null;
|
68
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
|
68
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
|
69
69
|
feeCurrency: `0x${string}` | null;
|
70
70
|
gatewayFee: `0x${string}` | null;
|
71
71
|
gatewayFeeRecipient: `0x${string}` | null;
|
72
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
72
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
73
73
|
feeCurrency: `0x${string}` | null;
|
74
74
|
gatewayFee: `0x${string}` | null;
|
75
75
|
gatewayFeeRecipient: `0x${string}` | null;
|
76
76
|
type: "0x7c";
|
77
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
77
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
78
78
|
feeCurrency: `0x${string}` | null;
|
79
79
|
type: "0x7b";
|
80
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
80
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
|
81
81
|
feeCurrency: `0x${string}` | null;
|
82
82
|
gatewayFee: `0x${string}` | null;
|
83
83
|
gatewayFeeRecipient: `0x${string}` | null;
|
84
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
|
84
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
|
85
85
|
feeCurrency: `0x${string}` | null;
|
86
86
|
gatewayFee: `0x${string}` | null;
|
87
87
|
gatewayFeeRecipient: `0x${string}` | null;
|
88
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
|
88
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
|
89
89
|
feeCurrency: `0x${string}` | null;
|
90
90
|
gatewayFee: `0x${string}` | null;
|
91
91
|
gatewayFeeRecipient: `0x${string}` | null;
|
92
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
92
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
93
93
|
feeCurrency: `0x${string}` | null;
|
94
94
|
gatewayFee: `0x${string}` | null;
|
95
95
|
gatewayFeeRecipient: `0x${string}` | null;
|
96
96
|
type: "0x7c";
|
97
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
97
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex">>, CeloRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
98
98
|
feeCurrency: `0x${string}` | null;
|
99
99
|
type: "0x7b";
|
100
100
|
})) => ({
|
@@ -142,7 +142,7 @@ export declare const formattersCelo: {
|
|
142
142
|
maxPriorityFeePerGas: bigint;
|
143
143
|
accessList?: undefined;
|
144
144
|
chainId?: number | undefined;
|
145
|
-
yParity
|
145
|
+
yParity: number;
|
146
146
|
type: "cip42";
|
147
147
|
feeCurrency: `0x${string}` | null;
|
148
148
|
gatewayFee: bigint | null;
|
@@ -167,7 +167,7 @@ export declare const formattersCelo: {
|
|
167
167
|
maxPriorityFeePerGas: bigint;
|
168
168
|
accessList?: undefined;
|
169
169
|
chainId?: number | undefined;
|
170
|
-
yParity
|
170
|
+
yParity: number;
|
171
171
|
type: "cip64";
|
172
172
|
feeCurrency: `0x${string}` | null;
|
173
173
|
gatewayFee?: undefined;
|
@@ -187,12 +187,12 @@ export declare const formattersCelo: {
|
|
187
187
|
typeHex: `0x${string}` | null;
|
188
188
|
v: bigint;
|
189
189
|
value: bigint;
|
190
|
+
yParity: number;
|
190
191
|
gasPrice: bigint;
|
191
192
|
maxFeePerGas?: undefined;
|
192
193
|
maxPriorityFeePerGas?: undefined;
|
193
194
|
accessList: import("../../index.js").AccessList;
|
194
195
|
chainId: number;
|
195
|
-
yParity?: number | undefined;
|
196
196
|
type: "eip2930";
|
197
197
|
feeCurrency: `0x${string}` | null;
|
198
198
|
gatewayFee: bigint | null;
|
@@ -212,12 +212,12 @@ export declare const formattersCelo: {
|
|
212
212
|
typeHex: `0x${string}` | null;
|
213
213
|
v: bigint;
|
214
214
|
value: bigint;
|
215
|
+
yParity: number;
|
215
216
|
gasPrice: undefined;
|
216
217
|
maxFeePerGas: bigint;
|
217
218
|
maxPriorityFeePerGas: bigint;
|
218
219
|
accessList: import("../../index.js").AccessList;
|
219
220
|
chainId: number;
|
220
|
-
yParity?: number | undefined;
|
221
221
|
type: "eip1559";
|
222
222
|
feeCurrency: `0x${string}` | null;
|
223
223
|
gatewayFee: bigint | null;
|
@@ -237,12 +237,12 @@ export declare const formattersCelo: {
|
|
237
237
|
typeHex: `0x${string}` | null;
|
238
238
|
v: bigint;
|
239
239
|
value: bigint;
|
240
|
+
yParity: number;
|
240
241
|
gasPrice: undefined;
|
241
242
|
maxFeePerGas: bigint;
|
242
243
|
maxPriorityFeePerGas: bigint;
|
243
244
|
accessList: import("../../index.js").AccessList;
|
244
245
|
chainId: number;
|
245
|
-
yParity?: number | undefined;
|
246
246
|
type: "cip42";
|
247
247
|
feeCurrency: `0x${string}` | null;
|
248
248
|
gatewayFee: bigint | null;
|
@@ -262,12 +262,12 @@ export declare const formattersCelo: {
|
|
262
262
|
typeHex: `0x${string}` | null;
|
263
263
|
v: bigint;
|
264
264
|
value: bigint;
|
265
|
+
yParity: number;
|
265
266
|
gasPrice: undefined;
|
266
267
|
maxFeePerGas: bigint;
|
267
268
|
maxPriorityFeePerGas: bigint;
|
268
269
|
accessList: import("../../index.js").AccessList;
|
269
270
|
chainId: number;
|
270
|
-
yParity?: number | undefined;
|
271
271
|
type: "cip64";
|
272
272
|
feeCurrency: `0x${string}` | null;
|
273
273
|
gatewayFee?: undefined;
|
@@ -287,12 +287,12 @@ export declare const formattersCelo: {
|
|
287
287
|
typeHex: `0x${string}` | null;
|
288
288
|
v: bigint;
|
289
289
|
value: bigint;
|
290
|
+
yParity: number;
|
290
291
|
gasPrice: bigint;
|
291
292
|
maxFeePerGas: undefined;
|
292
293
|
maxPriorityFeePerGas: undefined;
|
293
294
|
accessList: import("../../index.js").AccessList;
|
294
295
|
chainId: number;
|
295
|
-
yParity?: number | undefined;
|
296
296
|
type: "eip2930";
|
297
297
|
feeCurrency: `0x${string}` | null;
|
298
298
|
gatewayFee: bigint | null;
|
@@ -312,12 +312,12 @@ export declare const formattersCelo: {
|
|
312
312
|
typeHex: `0x${string}` | null;
|
313
313
|
v: bigint;
|
314
314
|
value: bigint;
|
315
|
+
yParity: number;
|
315
316
|
gasPrice?: undefined;
|
316
317
|
maxFeePerGas: bigint;
|
317
318
|
maxPriorityFeePerGas: bigint;
|
318
319
|
accessList: import("../../index.js").AccessList;
|
319
320
|
chainId: number;
|
320
|
-
yParity?: number | undefined;
|
321
321
|
type: "eip1559";
|
322
322
|
feeCurrency: `0x${string}` | null;
|
323
323
|
gatewayFee: bigint | null;
|
@@ -337,12 +337,12 @@ export declare const formattersCelo: {
|
|
337
337
|
typeHex: `0x${string}` | null;
|
338
338
|
v: bigint;
|
339
339
|
value: bigint;
|
340
|
+
yParity: number;
|
340
341
|
gasPrice?: undefined;
|
341
342
|
maxFeePerGas: bigint;
|
342
343
|
maxPriorityFeePerGas: bigint;
|
343
344
|
accessList: import("../../index.js").AccessList;
|
344
345
|
chainId: number;
|
345
|
-
yParity?: number | undefined;
|
346
346
|
type: "cip42";
|
347
347
|
feeCurrency: `0x${string}` | null;
|
348
348
|
gatewayFee: bigint | null;
|
@@ -362,12 +362,12 @@ export declare const formattersCelo: {
|
|
362
362
|
typeHex: `0x${string}` | null;
|
363
363
|
v: bigint;
|
364
364
|
value: bigint;
|
365
|
+
yParity: number;
|
365
366
|
gasPrice?: undefined;
|
366
367
|
maxFeePerGas: bigint;
|
367
368
|
maxPriorityFeePerGas: bigint;
|
368
369
|
accessList: import("../../index.js").AccessList;
|
369
370
|
chainId: number;
|
370
|
-
yParity?: number | undefined;
|
371
371
|
type: "cip64";
|
372
372
|
feeCurrency: `0x${string}` | null;
|
373
373
|
gatewayFee?: undefined;
|
@@ -78,45 +78,45 @@ export declare const base: import("../../types/utils.js").Assign<{
|
|
78
78
|
};
|
79
79
|
readonly transaction: {
|
80
80
|
exclude: [] | undefined;
|
81
|
-
format: (args: (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
81
|
+
format: (args: (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
|
82
82
|
isSystemTx?: undefined;
|
83
83
|
mint?: undefined;
|
84
84
|
sourceHash?: undefined;
|
85
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
85
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
86
86
|
isSystemTx?: boolean | undefined;
|
87
87
|
mint?: `0x${string}` | undefined;
|
88
88
|
sourceHash: `0x${string}`;
|
89
89
|
type: "0x7e";
|
90
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
90
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
|
91
91
|
isSystemTx?: undefined;
|
92
92
|
mint?: undefined;
|
93
93
|
sourceHash?: undefined;
|
94
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
|
94
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
|
95
95
|
isSystemTx?: undefined;
|
96
96
|
mint?: undefined;
|
97
97
|
sourceHash?: undefined;
|
98
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
|
98
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
|
99
99
|
isSystemTx?: undefined;
|
100
100
|
mint?: undefined;
|
101
101
|
sourceHash?: undefined;
|
102
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
102
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
103
103
|
isSystemTx?: boolean | undefined;
|
104
104
|
mint?: `0x${string}` | undefined;
|
105
105
|
sourceHash: `0x${string}`;
|
106
106
|
type: "0x7e";
|
107
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
107
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
|
108
108
|
isSystemTx?: undefined;
|
109
109
|
mint?: undefined;
|
110
110
|
sourceHash?: undefined;
|
111
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
|
111
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
|
112
112
|
isSystemTx?: undefined;
|
113
113
|
mint?: undefined;
|
114
114
|
sourceHash?: undefined;
|
115
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
|
115
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
|
116
116
|
isSystemTx?: undefined;
|
117
117
|
mint?: undefined;
|
118
118
|
sourceHash?: undefined;
|
119
|
-
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
119
|
+
}) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
120
120
|
isSystemTx?: boolean | undefined;
|
121
121
|
mint?: `0x${string}` | undefined;
|
122
122
|
sourceHash: `0x${string}`;
|
@@ -166,7 +166,7 @@ export declare const base: import("../../types/utils.js").Assign<{
|
|
166
166
|
maxPriorityFeePerGas: bigint;
|
167
167
|
accessList?: undefined;
|
168
168
|
chainId?: number | undefined;
|
169
|
-
yParity
|
169
|
+
yParity: number;
|
170
170
|
type: "deposit";
|
171
171
|
isSystemTx?: boolean | undefined;
|
172
172
|
mint?: bigint | undefined;
|
@@ -186,12 +186,12 @@ export declare const base: import("../../types/utils.js").Assign<{
|
|
186
186
|
typeHex: `0x${string}` | null;
|
187
187
|
v: bigint;
|
188
188
|
value: bigint;
|
189
|
+
yParity: number;
|
189
190
|
gasPrice: bigint;
|
190
191
|
maxFeePerGas?: undefined;
|
191
192
|
maxPriorityFeePerGas?: undefined;
|
192
193
|
accessList: import("../../index.js").AccessList;
|
193
194
|
chainId: number;
|
194
|
-
yParity?: number | undefined;
|
195
195
|
type: "eip2930";
|
196
196
|
isSystemTx?: undefined;
|
197
197
|
mint?: undefined;
|
@@ -211,12 +211,12 @@ export declare const base: import("../../types/utils.js").Assign<{
|
|
211
211
|
typeHex: `0x${string}` | null;
|
212
212
|
v: bigint;
|
213
213
|
value: bigint;
|
214
|
+
yParity: number;
|
214
215
|
gasPrice: undefined;
|
215
216
|
maxFeePerGas: bigint;
|
216
217
|
maxPriorityFeePerGas: bigint;
|
217
218
|
accessList: import("../../index.js").AccessList;
|
218
219
|
chainId: number;
|
219
|
-
yParity?: number | undefined;
|
220
220
|
type: "eip1559";
|
221
221
|
isSystemTx?: undefined;
|
222
222
|
mint?: undefined;
|
@@ -236,12 +236,12 @@ export declare const base: import("../../types/utils.js").Assign<{
|
|
236
236
|
typeHex: `0x${string}` | null;
|
237
237
|
v: bigint;
|
238
238
|
value: bigint;
|
239
|
+
yParity: number;
|
239
240
|
gasPrice: undefined;
|
240
241
|
maxFeePerGas: bigint;
|
241
242
|
maxPriorityFeePerGas: bigint;
|
242
243
|
accessList: import("../../index.js").AccessList;
|
243
244
|
chainId: number;
|
244
|
-
yParity?: number | undefined;
|
245
245
|
type: "deposit";
|
246
246
|
isSystemTx?: boolean | undefined;
|
247
247
|
mint?: bigint | undefined;
|
@@ -261,12 +261,12 @@ export declare const base: import("../../types/utils.js").Assign<{
|
|
261
261
|
typeHex: `0x${string}` | null;
|
262
262
|
v: bigint;
|
263
263
|
value: bigint;
|
264
|
+
yParity: number;
|
264
265
|
gasPrice: bigint;
|
265
266
|
maxFeePerGas: undefined;
|
266
267
|
maxPriorityFeePerGas: undefined;
|
267
268
|
accessList: import("../../index.js").AccessList;
|
268
269
|
chainId: number;
|
269
|
-
yParity?: number | undefined;
|
270
270
|
type: "eip2930";
|
271
271
|
isSystemTx?: undefined;
|
272
272
|
mint?: undefined;
|
@@ -286,12 +286,12 @@ export declare const base: import("../../types/utils.js").Assign<{
|
|
286
286
|
typeHex: `0x${string}` | null;
|
287
287
|
v: bigint;
|
288
288
|
value: bigint;
|
289
|
+
yParity: number;
|
289
290
|
gasPrice?: undefined;
|
290
291
|
maxFeePerGas: bigint;
|
291
292
|
maxPriorityFeePerGas: bigint;
|
292
293
|
accessList: import("../../index.js").AccessList;
|
293
294
|
chainId: number;
|
294
|
-
yParity?: number | undefined;
|
295
295
|
type: "eip1559";
|
296
296
|
isSystemTx?: undefined;
|
297
297
|
mint?: undefined;
|
@@ -311,12 +311,12 @@ export declare const base: import("../../types/utils.js").Assign<{
|
|
311
311
|
typeHex: `0x${string}` | null;
|
312
312
|
v: bigint;
|
313
313
|
value: bigint;
|
314
|
+
yParity: number;
|
314
315
|
gasPrice?: undefined;
|
315
316
|
maxFeePerGas: bigint;
|
316
317
|
maxPriorityFeePerGas: bigint;
|
317
318
|
accessList: import("../../index.js").AccessList;
|
318
319
|
chainId: number;
|
319
|
-
yParity?: number | undefined;
|
320
320
|
type: "deposit";
|
321
321
|
isSystemTx?: boolean | undefined;
|
322
322
|
mint?: bigint | undefined;
|