viem 0.0.0-main.20231112T014851 → 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 +14 -0
- 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 +16 -0
- package/_esm/utils/formatters/transaction.js.map +1 -1
- package/_types/chains/celo/formatters.d.ts +24 -13
- package/_types/chains/celo/formatters.d.ts.map +1 -1
- package/_types/chains/definitions/base.d.ts +18 -10
- package/_types/chains/definitions/base.d.ts.map +1 -1
- package/_types/chains/definitions/baseGoerli.d.ts +18 -10
- package/_types/chains/definitions/baseGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/baseSepolia.d.ts +18 -10
- package/_types/chains/definitions/baseSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/celo.d.ts +24 -13
- package/_types/chains/definitions/celo.d.ts.map +1 -1
- package/_types/chains/definitions/celoAlfajores.d.ts +24 -13
- package/_types/chains/definitions/celoAlfajores.d.ts.map +1 -1
- package/_types/chains/definitions/celoCannoli.d.ts +24 -13
- package/_types/chains/definitions/celoCannoli.d.ts.map +1 -1
- package/_types/chains/definitions/optimism.d.ts +18 -10
- package/_types/chains/definitions/optimism.d.ts.map +1 -1
- package/_types/chains/definitions/optimismGoerli.d.ts +18 -10
- package/_types/chains/definitions/optimismGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/optimismSepolia.d.ts +18 -10
- package/_types/chains/definitions/optimismSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/zkSync.d.ts +11 -0
- package/_types/chains/definitions/zkSync.d.ts.map +1 -1
- package/_types/chains/definitions/zkSyncTestnet.d.ts +11 -0
- package/_types/chains/definitions/zkSyncTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/zora.d.ts +18 -10
- package/_types/chains/definitions/zora.d.ts.map +1 -1
- package/_types/chains/definitions/zoraSepolia.d.ts +18 -10
- package/_types/chains/definitions/zoraSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/zoraTestnet.d.ts +18 -10
- package/_types/chains/definitions/zoraTestnet.d.ts.map +1 -1
- package/_types/chains/optimism/formatters.d.ts +18 -10
- package/_types/chains/optimism/formatters.d.ts.map +1 -1
- package/_types/chains/zksync/formatters.d.ts +11 -0
- package/_types/chains/zksync/formatters.d.ts.map +1 -1
- 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 +10 -1
- 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 +10 -1
- package/types/utils.ts +11 -0
- package/utils/formatters/transaction.ts +17 -2
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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,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
|
@@ -31,10 +31,26 @@ export function formatTransaction(transaction) {
|
|
31
31
|
value: transaction.value ? BigInt(transaction.value) : undefined,
|
32
32
|
v: transaction.v ? BigInt(transaction.v) : undefined,
|
33
33
|
};
|
34
|
+
transaction_.yParity = (() => {
|
35
|
+
// If `yParity` is provided, we will use it.
|
36
|
+
if (transaction.yParity)
|
37
|
+
return Number(transaction.yParity);
|
38
|
+
// If no `yParity` provided, try derive from `v`.
|
39
|
+
if (typeof transaction_.v === 'bigint') {
|
40
|
+
if (transaction_.v === 0n || transaction_.v === 27n)
|
41
|
+
return 0;
|
42
|
+
if (transaction_.v === 1n || transaction_.v === 28n)
|
43
|
+
return 1;
|
44
|
+
if (transaction_.v >= 35n)
|
45
|
+
return transaction_.v % 2n === 0n ? 1 : 0;
|
46
|
+
}
|
47
|
+
return undefined;
|
48
|
+
})();
|
34
49
|
if (transaction_.type === 'legacy') {
|
35
50
|
delete transaction_.accessList;
|
36
51
|
delete transaction_.maxFeePerGas;
|
37
52
|
delete transaction_.maxPriorityFeePerGas;
|
53
|
+
delete transaction_.yParity;
|
38
54
|
}
|
39
55
|
if (transaction_.type === 'eip2930') {
|
40
56
|
delete transaction_.maxFeePerGas;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"transaction.js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,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
|
})) => ({
|
@@ -117,6 +117,7 @@ export declare const formattersCelo: {
|
|
117
117
|
maxPriorityFeePerGas?: undefined;
|
118
118
|
accessList?: undefined;
|
119
119
|
chainId?: number | undefined;
|
120
|
+
yParity?: undefined;
|
120
121
|
type: "legacy";
|
121
122
|
feeCurrency: `0x${string}` | null;
|
122
123
|
gatewayFee: bigint | null;
|
@@ -141,6 +142,7 @@ export declare const formattersCelo: {
|
|
141
142
|
maxPriorityFeePerGas: bigint;
|
142
143
|
accessList?: undefined;
|
143
144
|
chainId?: number | undefined;
|
145
|
+
yParity: number;
|
144
146
|
type: "cip42";
|
145
147
|
feeCurrency: `0x${string}` | null;
|
146
148
|
gatewayFee: bigint | null;
|
@@ -165,6 +167,7 @@ export declare const formattersCelo: {
|
|
165
167
|
maxPriorityFeePerGas: bigint;
|
166
168
|
accessList?: undefined;
|
167
169
|
chainId?: number | undefined;
|
170
|
+
yParity: number;
|
168
171
|
type: "cip64";
|
169
172
|
feeCurrency: `0x${string}` | null;
|
170
173
|
gatewayFee?: undefined;
|
@@ -184,6 +187,7 @@ export declare const formattersCelo: {
|
|
184
187
|
typeHex: `0x${string}` | null;
|
185
188
|
v: bigint;
|
186
189
|
value: bigint;
|
190
|
+
yParity: number;
|
187
191
|
gasPrice: bigint;
|
188
192
|
maxFeePerGas?: undefined;
|
189
193
|
maxPriorityFeePerGas?: undefined;
|
@@ -208,6 +212,7 @@ export declare const formattersCelo: {
|
|
208
212
|
typeHex: `0x${string}` | null;
|
209
213
|
v: bigint;
|
210
214
|
value: bigint;
|
215
|
+
yParity: number;
|
211
216
|
gasPrice: undefined;
|
212
217
|
maxFeePerGas: bigint;
|
213
218
|
maxPriorityFeePerGas: bigint;
|
@@ -232,6 +237,7 @@ export declare const formattersCelo: {
|
|
232
237
|
typeHex: `0x${string}` | null;
|
233
238
|
v: bigint;
|
234
239
|
value: bigint;
|
240
|
+
yParity: number;
|
235
241
|
gasPrice: undefined;
|
236
242
|
maxFeePerGas: bigint;
|
237
243
|
maxPriorityFeePerGas: bigint;
|
@@ -256,6 +262,7 @@ export declare const formattersCelo: {
|
|
256
262
|
typeHex: `0x${string}` | null;
|
257
263
|
v: bigint;
|
258
264
|
value: bigint;
|
265
|
+
yParity: number;
|
259
266
|
gasPrice: undefined;
|
260
267
|
maxFeePerGas: bigint;
|
261
268
|
maxPriorityFeePerGas: bigint;
|
@@ -280,6 +287,7 @@ export declare const formattersCelo: {
|
|
280
287
|
typeHex: `0x${string}` | null;
|
281
288
|
v: bigint;
|
282
289
|
value: bigint;
|
290
|
+
yParity: number;
|
283
291
|
gasPrice: bigint;
|
284
292
|
maxFeePerGas: undefined;
|
285
293
|
maxPriorityFeePerGas: undefined;
|
@@ -304,6 +312,7 @@ export declare const formattersCelo: {
|
|
304
312
|
typeHex: `0x${string}` | null;
|
305
313
|
v: bigint;
|
306
314
|
value: bigint;
|
315
|
+
yParity: number;
|
307
316
|
gasPrice?: undefined;
|
308
317
|
maxFeePerGas: bigint;
|
309
318
|
maxPriorityFeePerGas: bigint;
|
@@ -328,6 +337,7 @@ export declare const formattersCelo: {
|
|
328
337
|
typeHex: `0x${string}` | null;
|
329
338
|
v: bigint;
|
330
339
|
value: bigint;
|
340
|
+
yParity: number;
|
331
341
|
gasPrice?: undefined;
|
332
342
|
maxFeePerGas: bigint;
|
333
343
|
maxPriorityFeePerGas: bigint;
|
@@ -352,6 +362,7 @@ export declare const formattersCelo: {
|
|
352
362
|
typeHex: `0x${string}` | null;
|
353
363
|
v: bigint;
|
354
364
|
value: bigint;
|
365
|
+
yParity: number;
|
355
366
|
gasPrice?: undefined;
|
356
367
|
maxFeePerGas: bigint;
|
357
368
|
maxPriorityFeePerGas: bigint;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"formatters.d.ts","sourceRoot":"","sources":["../../../chains/celo/formatters.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAA;AAW/C,OAAO,KAAK,EACV,kBAAkB,EAClB,kBAAkB,EAClB,kCAAkC,EAElC,eAAe,EAEf,sBAAsB,EACvB,MAAM,YAAY,CAAA;AAGnB,eAAO,MAAM,cAAc;;;;0BAKL,IAAI,EAAE,GAAG,kBAAkB,EAAE;;;;;;;;;;;;;;;;;;;;;0BAG/B,IAAI,EAAE,GAAG,eAAe,EAAE
|
1
|
+
{"version":3,"file":"formatters.d.ts","sourceRoot":"","sources":["../../../chains/celo/formatters.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAA;AAW/C,OAAO,KAAK,EACV,kBAAkB,EAClB,kBAAkB,EAClB,kCAAkC,EAElC,eAAe,EAEf,sBAAsB,EACvB,MAAM,YAAY,CAAA;AAGnB,eAAO,MAAM,cAAc;;;;0BAKL,IAAI,EAAE,GAAG,kBAAkB,EAAE;;;;;;;;;;;;;;;;;;;;;0BAG/B,IAAI,EAAE,GAAG,eAAe,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyEV,CAAA"}
|
@@ -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}`;
|
@@ -141,6 +141,7 @@ export declare const base: import("../../types/utils.js").Assign<{
|
|
141
141
|
maxPriorityFeePerGas?: undefined;
|
142
142
|
accessList?: undefined;
|
143
143
|
chainId?: number | undefined;
|
144
|
+
yParity?: undefined;
|
144
145
|
type: "legacy";
|
145
146
|
isSystemTx?: undefined;
|
146
147
|
mint?: undefined;
|
@@ -165,6 +166,7 @@ export declare const base: import("../../types/utils.js").Assign<{
|
|
165
166
|
maxPriorityFeePerGas: bigint;
|
166
167
|
accessList?: undefined;
|
167
168
|
chainId?: number | undefined;
|
169
|
+
yParity: number;
|
168
170
|
type: "deposit";
|
169
171
|
isSystemTx?: boolean | undefined;
|
170
172
|
mint?: bigint | undefined;
|
@@ -184,6 +186,7 @@ export declare const base: import("../../types/utils.js").Assign<{
|
|
184
186
|
typeHex: `0x${string}` | null;
|
185
187
|
v: bigint;
|
186
188
|
value: bigint;
|
189
|
+
yParity: number;
|
187
190
|
gasPrice: bigint;
|
188
191
|
maxFeePerGas?: undefined;
|
189
192
|
maxPriorityFeePerGas?: undefined;
|
@@ -208,6 +211,7 @@ export declare const base: import("../../types/utils.js").Assign<{
|
|
208
211
|
typeHex: `0x${string}` | null;
|
209
212
|
v: bigint;
|
210
213
|
value: bigint;
|
214
|
+
yParity: number;
|
211
215
|
gasPrice: undefined;
|
212
216
|
maxFeePerGas: bigint;
|
213
217
|
maxPriorityFeePerGas: bigint;
|
@@ -232,6 +236,7 @@ export declare const base: import("../../types/utils.js").Assign<{
|
|
232
236
|
typeHex: `0x${string}` | null;
|
233
237
|
v: bigint;
|
234
238
|
value: bigint;
|
239
|
+
yParity: number;
|
235
240
|
gasPrice: undefined;
|
236
241
|
maxFeePerGas: bigint;
|
237
242
|
maxPriorityFeePerGas: bigint;
|
@@ -256,6 +261,7 @@ export declare const base: import("../../types/utils.js").Assign<{
|
|
256
261
|
typeHex: `0x${string}` | null;
|
257
262
|
v: bigint;
|
258
263
|
value: bigint;
|
264
|
+
yParity: number;
|
259
265
|
gasPrice: bigint;
|
260
266
|
maxFeePerGas: undefined;
|
261
267
|
maxPriorityFeePerGas: undefined;
|
@@ -280,6 +286,7 @@ export declare const base: import("../../types/utils.js").Assign<{
|
|
280
286
|
typeHex: `0x${string}` | null;
|
281
287
|
v: bigint;
|
282
288
|
value: bigint;
|
289
|
+
yParity: number;
|
283
290
|
gasPrice?: undefined;
|
284
291
|
maxFeePerGas: bigint;
|
285
292
|
maxPriorityFeePerGas: bigint;
|
@@ -304,6 +311,7 @@ export declare const base: import("../../types/utils.js").Assign<{
|
|
304
311
|
typeHex: `0x${string}` | null;
|
305
312
|
v: bigint;
|
306
313
|
value: bigint;
|
314
|
+
yParity: number;
|
307
315
|
gasPrice?: undefined;
|
308
316
|
maxFeePerGas: bigint;
|
309
317
|
maxPriorityFeePerGas: bigint;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../chains/definitions/base.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../chains/definitions/base.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8ChB,CAAA"}
|