viem 0.0.0-main.20231112T014532 → 0.0.0-main.20231112T014851
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 +0 -16
- package/_cjs/utils/formatters/transaction.js.map +1 -1
- package/_esm/errors/node.js +22 -11
- package/_esm/errors/node.js.map +1 -1
- package/_esm/errors/rpc.js +36 -18
- package/_esm/errors/rpc.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/utils/formatters/transaction.js +0 -18
- package/_esm/utils/formatters/transaction.js.map +1 -1
- package/_types/chains/celo/formatters.d.ts +0 -11
- package/_types/chains/celo/formatters.d.ts.map +1 -1
- package/_types/chains/definitions/base.d.ts +0 -8
- package/_types/chains/definitions/base.d.ts.map +1 -1
- package/_types/chains/definitions/baseGoerli.d.ts +0 -8
- package/_types/chains/definitions/baseGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/baseSepolia.d.ts +0 -8
- package/_types/chains/definitions/baseSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/celo.d.ts +0 -11
- package/_types/chains/definitions/celo.d.ts.map +1 -1
- package/_types/chains/definitions/celoAlfajores.d.ts +0 -11
- package/_types/chains/definitions/celoAlfajores.d.ts.map +1 -1
- package/_types/chains/definitions/celoCannoli.d.ts +0 -11
- package/_types/chains/definitions/celoCannoli.d.ts.map +1 -1
- package/_types/chains/definitions/optimism.d.ts +0 -8
- package/_types/chains/definitions/optimism.d.ts.map +1 -1
- package/_types/chains/definitions/optimismGoerli.d.ts +0 -8
- package/_types/chains/definitions/optimismGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/optimismSepolia.d.ts +0 -8
- package/_types/chains/definitions/optimismSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/zkSync.d.ts +0 -11
- package/_types/chains/definitions/zkSync.d.ts.map +1 -1
- package/_types/chains/definitions/zkSyncTestnet.d.ts +0 -11
- package/_types/chains/definitions/zkSyncTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/zora.d.ts +0 -8
- package/_types/chains/definitions/zora.d.ts.map +1 -1
- package/_types/chains/definitions/zoraSepolia.d.ts +0 -8
- package/_types/chains/definitions/zoraSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/zoraTestnet.d.ts +0 -8
- package/_types/chains/definitions/zoraTestnet.d.ts.map +1 -1
- package/_types/chains/optimism/formatters.d.ts +0 -8
- package/_types/chains/optimism/formatters.d.ts.map +1 -1
- package/_types/chains/zksync/formatters.d.ts +0 -11
- package/_types/chains/zksync/formatters.d.ts.map +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/_types/types/transaction.d.ts +0 -12
- package/_types/types/transaction.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/errors/version.ts +1 -1
- package/package.json +1 -1
- package/types/transaction.ts +0 -12
- package/utils/formatters/transaction.ts +2 -20
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
|
-
|
45
|
+
class ParseRpcError extends RpcError {
|
46
46
|
constructor(cause) {
|
47
47
|
super(cause, {
|
48
48
|
code: ParseRpcError.code,
|
@@ -62,7 +62,8 @@ Object.defineProperty(ParseRpcError, "code", {
|
|
62
62
|
writable: true,
|
63
63
|
value: -32700
|
64
64
|
});
|
65
|
-
export
|
65
|
+
export { ParseRpcError };
|
66
|
+
class InvalidRequestRpcError extends RpcError {
|
66
67
|
constructor(cause) {
|
67
68
|
super(cause, {
|
68
69
|
code: InvalidRequestRpcError.code,
|
@@ -82,7 +83,8 @@ Object.defineProperty(InvalidRequestRpcError, "code", {
|
|
82
83
|
writable: true,
|
83
84
|
value: -32600
|
84
85
|
});
|
85
|
-
export
|
86
|
+
export { InvalidRequestRpcError };
|
87
|
+
class MethodNotFoundRpcError extends RpcError {
|
86
88
|
constructor(cause) {
|
87
89
|
super(cause, {
|
88
90
|
code: MethodNotFoundRpcError.code,
|
@@ -102,7 +104,8 @@ Object.defineProperty(MethodNotFoundRpcError, "code", {
|
|
102
104
|
writable: true,
|
103
105
|
value: -32601
|
104
106
|
});
|
105
|
-
export
|
107
|
+
export { MethodNotFoundRpcError };
|
108
|
+
class InvalidParamsRpcError extends RpcError {
|
106
109
|
constructor(cause) {
|
107
110
|
super(cause, {
|
108
111
|
code: InvalidParamsRpcError.code,
|
@@ -125,7 +128,8 @@ Object.defineProperty(InvalidParamsRpcError, "code", {
|
|
125
128
|
writable: true,
|
126
129
|
value: -32602
|
127
130
|
});
|
128
|
-
export
|
131
|
+
export { InvalidParamsRpcError };
|
132
|
+
class InternalRpcError extends RpcError {
|
129
133
|
constructor(cause) {
|
130
134
|
super(cause, {
|
131
135
|
code: InternalRpcError.code,
|
@@ -145,7 +149,8 @@ Object.defineProperty(InternalRpcError, "code", {
|
|
145
149
|
writable: true,
|
146
150
|
value: -32603
|
147
151
|
});
|
148
|
-
export
|
152
|
+
export { InternalRpcError };
|
153
|
+
class InvalidInputRpcError extends RpcError {
|
149
154
|
constructor(cause) {
|
150
155
|
super(cause, {
|
151
156
|
code: InvalidInputRpcError.code,
|
@@ -168,7 +173,8 @@ Object.defineProperty(InvalidInputRpcError, "code", {
|
|
168
173
|
writable: true,
|
169
174
|
value: -32000
|
170
175
|
});
|
171
|
-
export
|
176
|
+
export { InvalidInputRpcError };
|
177
|
+
class ResourceNotFoundRpcError extends RpcError {
|
172
178
|
constructor(cause) {
|
173
179
|
super(cause, {
|
174
180
|
code: ResourceNotFoundRpcError.code,
|
@@ -188,7 +194,8 @@ Object.defineProperty(ResourceNotFoundRpcError, "code", {
|
|
188
194
|
writable: true,
|
189
195
|
value: -32001
|
190
196
|
});
|
191
|
-
export
|
197
|
+
export { ResourceNotFoundRpcError };
|
198
|
+
class ResourceUnavailableRpcError extends RpcError {
|
192
199
|
constructor(cause) {
|
193
200
|
super(cause, {
|
194
201
|
code: ResourceUnavailableRpcError.code,
|
@@ -208,7 +215,8 @@ Object.defineProperty(ResourceUnavailableRpcError, "code", {
|
|
208
215
|
writable: true,
|
209
216
|
value: -32002
|
210
217
|
});
|
211
|
-
export
|
218
|
+
export { ResourceUnavailableRpcError };
|
219
|
+
class TransactionRejectedRpcError extends RpcError {
|
212
220
|
constructor(cause) {
|
213
221
|
super(cause, {
|
214
222
|
code: TransactionRejectedRpcError.code,
|
@@ -228,7 +236,8 @@ Object.defineProperty(TransactionRejectedRpcError, "code", {
|
|
228
236
|
writable: true,
|
229
237
|
value: -32003
|
230
238
|
});
|
231
|
-
export
|
239
|
+
export { TransactionRejectedRpcError };
|
240
|
+
class MethodNotSupportedRpcError extends RpcError {
|
232
241
|
constructor(cause) {
|
233
242
|
super(cause, {
|
234
243
|
code: MethodNotSupportedRpcError.code,
|
@@ -248,7 +257,8 @@ Object.defineProperty(MethodNotSupportedRpcError, "code", {
|
|
248
257
|
writable: true,
|
249
258
|
value: -32004
|
250
259
|
});
|
251
|
-
export
|
260
|
+
export { MethodNotSupportedRpcError };
|
261
|
+
class LimitExceededRpcError extends RpcError {
|
252
262
|
constructor(cause) {
|
253
263
|
super(cause, {
|
254
264
|
code: LimitExceededRpcError.code,
|
@@ -268,7 +278,8 @@ Object.defineProperty(LimitExceededRpcError, "code", {
|
|
268
278
|
writable: true,
|
269
279
|
value: -32005
|
270
280
|
});
|
271
|
-
export
|
281
|
+
export { LimitExceededRpcError };
|
282
|
+
class JsonRpcVersionUnsupportedError extends RpcError {
|
272
283
|
constructor(cause) {
|
273
284
|
super(cause, {
|
274
285
|
code: JsonRpcVersionUnsupportedError.code,
|
@@ -288,7 +299,8 @@ Object.defineProperty(JsonRpcVersionUnsupportedError, "code", {
|
|
288
299
|
writable: true,
|
289
300
|
value: -32006
|
290
301
|
});
|
291
|
-
export
|
302
|
+
export { JsonRpcVersionUnsupportedError };
|
303
|
+
class UserRejectedRequestError extends ProviderRpcError {
|
292
304
|
constructor(cause) {
|
293
305
|
super(cause, {
|
294
306
|
code: UserRejectedRequestError.code,
|
@@ -308,7 +320,8 @@ Object.defineProperty(UserRejectedRequestError, "code", {
|
|
308
320
|
writable: true,
|
309
321
|
value: 4001
|
310
322
|
});
|
311
|
-
export
|
323
|
+
export { UserRejectedRequestError };
|
324
|
+
class UnauthorizedProviderError extends ProviderRpcError {
|
312
325
|
constructor(cause) {
|
313
326
|
super(cause, {
|
314
327
|
code: UnauthorizedProviderError.code,
|
@@ -328,7 +341,8 @@ Object.defineProperty(UnauthorizedProviderError, "code", {
|
|
328
341
|
writable: true,
|
329
342
|
value: 4100
|
330
343
|
});
|
331
|
-
export
|
344
|
+
export { UnauthorizedProviderError };
|
345
|
+
class UnsupportedProviderMethodError extends ProviderRpcError {
|
332
346
|
constructor(cause) {
|
333
347
|
super(cause, {
|
334
348
|
code: UnsupportedProviderMethodError.code,
|
@@ -348,7 +362,8 @@ Object.defineProperty(UnsupportedProviderMethodError, "code", {
|
|
348
362
|
writable: true,
|
349
363
|
value: 4200
|
350
364
|
});
|
351
|
-
export
|
365
|
+
export { UnsupportedProviderMethodError };
|
366
|
+
class ProviderDisconnectedError extends ProviderRpcError {
|
352
367
|
constructor(cause) {
|
353
368
|
super(cause, {
|
354
369
|
code: ProviderDisconnectedError.code,
|
@@ -368,7 +383,8 @@ Object.defineProperty(ProviderDisconnectedError, "code", {
|
|
368
383
|
writable: true,
|
369
384
|
value: 4900
|
370
385
|
});
|
371
|
-
export
|
386
|
+
export { ProviderDisconnectedError };
|
387
|
+
class ChainDisconnectedError extends ProviderRpcError {
|
372
388
|
constructor(cause) {
|
373
389
|
super(cause, {
|
374
390
|
code: ChainDisconnectedError.code,
|
@@ -388,7 +404,8 @@ Object.defineProperty(ChainDisconnectedError, "code", {
|
|
388
404
|
writable: true,
|
389
405
|
value: 4901
|
390
406
|
});
|
391
|
-
export
|
407
|
+
export { ChainDisconnectedError };
|
408
|
+
class SwitchChainError extends ProviderRpcError {
|
392
409
|
constructor(cause) {
|
393
410
|
super(cause, {
|
394
411
|
code: SwitchChainError.code,
|
@@ -408,6 +425,7 @@ Object.defineProperty(SwitchChainError, "code", {
|
|
408
425
|
writable: true,
|
409
426
|
value: 4902
|
410
427
|
});
|
428
|
+
export { SwitchChainError };
|
411
429
|
export class UnknownRpcError extends RpcError {
|
412
430
|
constructor(cause) {
|
413
431
|
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,E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AK,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.20231112T014851';
|
2
2
|
//# sourceMappingURL=version.js.map
|
@@ -31,28 +31,10 @@ 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
|
-
if (transaction.yParity === '0x')
|
38
|
-
return 0;
|
39
|
-
return Number(transaction.yParity);
|
40
|
-
}
|
41
|
-
// If no `yParity` provided, derive from `v`.
|
42
|
-
if (typeof transaction_.v === 'bigint') {
|
43
|
-
if (transaction_.v === 0n)
|
44
|
-
return 0;
|
45
|
-
if (transaction_.v === 1n)
|
46
|
-
return 1;
|
47
|
-
return transaction_.v === 27n ? 0 : 1;
|
48
|
-
}
|
49
|
-
return undefined;
|
50
|
-
})();
|
51
34
|
if (transaction_.type === 'legacy') {
|
52
35
|
delete transaction_.accessList;
|
53
36
|
delete transaction_.maxFeePerGas;
|
54
37
|
delete transaction_.maxPriorityFeePerGas;
|
55
|
-
delete transaction_.yParity;
|
56
38
|
}
|
57
39
|
if (transaction_.type === 'eip2930') {
|
58
40
|
delete transaction_.maxFeePerGas;
|
@@ -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,GA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AA;IAED,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;KACzC;IACD,IAAI,YAAY,CAAC,IAAI,KAAK,SAAS,EAAE;QACnC,OAAO,YAAY,CAAC,YAAY,CAAA;QAChC,OAAO,YAAY,CAAC,oBAAoB,CAAA;KACzC;IACD,OAAO,YAA2B,CAAA;AACpC,CAAC;AAID,MAAM,CAAC,MAAM,iBAAiB,GAAG,aAAa,CAAC,eAAe,CAC5D,aAAa,EACb,iBAAiB,CAClB,CAAA"}
|
@@ -117,7 +117,6 @@ export declare const formattersCelo: {
|
|
117
117
|
maxPriorityFeePerGas?: undefined;
|
118
118
|
accessList?: undefined;
|
119
119
|
chainId?: number | undefined;
|
120
|
-
yParity?: number | undefined;
|
121
120
|
type: "legacy";
|
122
121
|
feeCurrency: `0x${string}` | null;
|
123
122
|
gatewayFee: bigint | null;
|
@@ -142,7 +141,6 @@ export declare const formattersCelo: {
|
|
142
141
|
maxPriorityFeePerGas: bigint;
|
143
142
|
accessList?: undefined;
|
144
143
|
chainId?: number | undefined;
|
145
|
-
yParity?: number | undefined;
|
146
144
|
type: "cip42";
|
147
145
|
feeCurrency: `0x${string}` | null;
|
148
146
|
gatewayFee: bigint | null;
|
@@ -167,7 +165,6 @@ export declare const formattersCelo: {
|
|
167
165
|
maxPriorityFeePerGas: bigint;
|
168
166
|
accessList?: undefined;
|
169
167
|
chainId?: number | undefined;
|
170
|
-
yParity?: number | undefined;
|
171
168
|
type: "cip64";
|
172
169
|
feeCurrency: `0x${string}` | null;
|
173
170
|
gatewayFee?: undefined;
|
@@ -192,7 +189,6 @@ export declare const formattersCelo: {
|
|
192
189
|
maxPriorityFeePerGas?: undefined;
|
193
190
|
accessList: import("../../index.js").AccessList;
|
194
191
|
chainId: number;
|
195
|
-
yParity?: number | undefined;
|
196
192
|
type: "eip2930";
|
197
193
|
feeCurrency: `0x${string}` | null;
|
198
194
|
gatewayFee: bigint | null;
|
@@ -217,7 +213,6 @@ export declare const formattersCelo: {
|
|
217
213
|
maxPriorityFeePerGas: bigint;
|
218
214
|
accessList: import("../../index.js").AccessList;
|
219
215
|
chainId: number;
|
220
|
-
yParity?: number | undefined;
|
221
216
|
type: "eip1559";
|
222
217
|
feeCurrency: `0x${string}` | null;
|
223
218
|
gatewayFee: bigint | null;
|
@@ -242,7 +237,6 @@ export declare const formattersCelo: {
|
|
242
237
|
maxPriorityFeePerGas: bigint;
|
243
238
|
accessList: import("../../index.js").AccessList;
|
244
239
|
chainId: number;
|
245
|
-
yParity?: number | undefined;
|
246
240
|
type: "cip42";
|
247
241
|
feeCurrency: `0x${string}` | null;
|
248
242
|
gatewayFee: bigint | null;
|
@@ -267,7 +261,6 @@ export declare const formattersCelo: {
|
|
267
261
|
maxPriorityFeePerGas: bigint;
|
268
262
|
accessList: import("../../index.js").AccessList;
|
269
263
|
chainId: number;
|
270
|
-
yParity?: number | undefined;
|
271
264
|
type: "cip64";
|
272
265
|
feeCurrency: `0x${string}` | null;
|
273
266
|
gatewayFee?: undefined;
|
@@ -292,7 +285,6 @@ export declare const formattersCelo: {
|
|
292
285
|
maxPriorityFeePerGas: undefined;
|
293
286
|
accessList: import("../../index.js").AccessList;
|
294
287
|
chainId: number;
|
295
|
-
yParity?: number | undefined;
|
296
288
|
type: "eip2930";
|
297
289
|
feeCurrency: `0x${string}` | null;
|
298
290
|
gatewayFee: bigint | null;
|
@@ -317,7 +309,6 @@ export declare const formattersCelo: {
|
|
317
309
|
maxPriorityFeePerGas: bigint;
|
318
310
|
accessList: import("../../index.js").AccessList;
|
319
311
|
chainId: number;
|
320
|
-
yParity?: number | undefined;
|
321
312
|
type: "eip1559";
|
322
313
|
feeCurrency: `0x${string}` | null;
|
323
314
|
gatewayFee: bigint | null;
|
@@ -342,7 +333,6 @@ export declare const formattersCelo: {
|
|
342
333
|
maxPriorityFeePerGas: bigint;
|
343
334
|
accessList: import("../../index.js").AccessList;
|
344
335
|
chainId: number;
|
345
|
-
yParity?: number | undefined;
|
346
336
|
type: "cip42";
|
347
337
|
feeCurrency: `0x${string}` | null;
|
348
338
|
gatewayFee: bigint | null;
|
@@ -367,7 +357,6 @@ export declare const formattersCelo: {
|
|
367
357
|
maxPriorityFeePerGas: bigint;
|
368
358
|
accessList: import("../../index.js").AccessList;
|
369
359
|
chainId: number;
|
370
|
-
yParity?: number | undefined;
|
371
360
|
type: "cip64";
|
372
361
|
feeCurrency: `0x${string}` | null;
|
373
362
|
gatewayFee?: undefined;
|
@@ -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"}
|
@@ -141,7 +141,6 @@ export declare const base: import("../../types/utils.js").Assign<{
|
|
141
141
|
maxPriorityFeePerGas?: undefined;
|
142
142
|
accessList?: undefined;
|
143
143
|
chainId?: number | undefined;
|
144
|
-
yParity?: number | undefined;
|
145
144
|
type: "legacy";
|
146
145
|
isSystemTx?: undefined;
|
147
146
|
mint?: undefined;
|
@@ -166,7 +165,6 @@ export declare const base: import("../../types/utils.js").Assign<{
|
|
166
165
|
maxPriorityFeePerGas: bigint;
|
167
166
|
accessList?: undefined;
|
168
167
|
chainId?: number | undefined;
|
169
|
-
yParity?: number | undefined;
|
170
168
|
type: "deposit";
|
171
169
|
isSystemTx?: boolean | undefined;
|
172
170
|
mint?: bigint | undefined;
|
@@ -191,7 +189,6 @@ export declare const base: import("../../types/utils.js").Assign<{
|
|
191
189
|
maxPriorityFeePerGas?: undefined;
|
192
190
|
accessList: import("../../index.js").AccessList;
|
193
191
|
chainId: number;
|
194
|
-
yParity?: number | undefined;
|
195
192
|
type: "eip2930";
|
196
193
|
isSystemTx?: undefined;
|
197
194
|
mint?: undefined;
|
@@ -216,7 +213,6 @@ export declare const base: import("../../types/utils.js").Assign<{
|
|
216
213
|
maxPriorityFeePerGas: bigint;
|
217
214
|
accessList: import("../../index.js").AccessList;
|
218
215
|
chainId: number;
|
219
|
-
yParity?: number | undefined;
|
220
216
|
type: "eip1559";
|
221
217
|
isSystemTx?: undefined;
|
222
218
|
mint?: undefined;
|
@@ -241,7 +237,6 @@ export declare const base: import("../../types/utils.js").Assign<{
|
|
241
237
|
maxPriorityFeePerGas: bigint;
|
242
238
|
accessList: import("../../index.js").AccessList;
|
243
239
|
chainId: number;
|
244
|
-
yParity?: number | undefined;
|
245
240
|
type: "deposit";
|
246
241
|
isSystemTx?: boolean | undefined;
|
247
242
|
mint?: bigint | undefined;
|
@@ -266,7 +261,6 @@ export declare const base: import("../../types/utils.js").Assign<{
|
|
266
261
|
maxPriorityFeePerGas: undefined;
|
267
262
|
accessList: import("../../index.js").AccessList;
|
268
263
|
chainId: number;
|
269
|
-
yParity?: number | undefined;
|
270
264
|
type: "eip2930";
|
271
265
|
isSystemTx?: undefined;
|
272
266
|
mint?: undefined;
|
@@ -291,7 +285,6 @@ export declare const base: import("../../types/utils.js").Assign<{
|
|
291
285
|
maxPriorityFeePerGas: bigint;
|
292
286
|
accessList: import("../../index.js").AccessList;
|
293
287
|
chainId: number;
|
294
|
-
yParity?: number | undefined;
|
295
288
|
type: "eip1559";
|
296
289
|
isSystemTx?: undefined;
|
297
290
|
mint?: undefined;
|
@@ -316,7 +309,6 @@ export declare const base: import("../../types/utils.js").Assign<{
|
|
316
309
|
maxPriorityFeePerGas: bigint;
|
317
310
|
accessList: import("../../index.js").AccessList;
|
318
311
|
chainId: number;
|
319
|
-
yParity?: number | undefined;
|
320
312
|
type: "deposit";
|
321
313
|
isSystemTx?: boolean | undefined;
|
322
314
|
mint?: bigint | undefined;
|
@@ -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"}
|
@@ -135,7 +135,6 @@ export declare const baseGoerli: import("../../types/utils.js").Assign<{
|
|
135
135
|
maxPriorityFeePerGas?: undefined;
|
136
136
|
accessList?: undefined;
|
137
137
|
chainId?: number | undefined;
|
138
|
-
yParity?: number | undefined;
|
139
138
|
type: "legacy";
|
140
139
|
isSystemTx?: undefined;
|
141
140
|
mint?: undefined;
|
@@ -160,7 +159,6 @@ export declare const baseGoerli: import("../../types/utils.js").Assign<{
|
|
160
159
|
maxPriorityFeePerGas: bigint;
|
161
160
|
accessList?: undefined;
|
162
161
|
chainId?: number | undefined;
|
163
|
-
yParity?: number | undefined;
|
164
162
|
type: "deposit";
|
165
163
|
isSystemTx?: boolean | undefined;
|
166
164
|
mint?: bigint | undefined;
|
@@ -185,7 +183,6 @@ export declare const baseGoerli: import("../../types/utils.js").Assign<{
|
|
185
183
|
maxPriorityFeePerGas?: undefined;
|
186
184
|
accessList: import("../../index.js").AccessList;
|
187
185
|
chainId: number;
|
188
|
-
yParity?: number | undefined;
|
189
186
|
type: "eip2930";
|
190
187
|
isSystemTx?: undefined;
|
191
188
|
mint?: undefined;
|
@@ -210,7 +207,6 @@ export declare const baseGoerli: import("../../types/utils.js").Assign<{
|
|
210
207
|
maxPriorityFeePerGas: bigint;
|
211
208
|
accessList: import("../../index.js").AccessList;
|
212
209
|
chainId: number;
|
213
|
-
yParity?: number | undefined;
|
214
210
|
type: "eip1559";
|
215
211
|
isSystemTx?: undefined;
|
216
212
|
mint?: undefined;
|
@@ -235,7 +231,6 @@ export declare const baseGoerli: import("../../types/utils.js").Assign<{
|
|
235
231
|
maxPriorityFeePerGas: bigint;
|
236
232
|
accessList: import("../../index.js").AccessList;
|
237
233
|
chainId: number;
|
238
|
-
yParity?: number | undefined;
|
239
234
|
type: "deposit";
|
240
235
|
isSystemTx?: boolean | undefined;
|
241
236
|
mint?: bigint | undefined;
|
@@ -260,7 +255,6 @@ export declare const baseGoerli: import("../../types/utils.js").Assign<{
|
|
260
255
|
maxPriorityFeePerGas: undefined;
|
261
256
|
accessList: import("../../index.js").AccessList;
|
262
257
|
chainId: number;
|
263
|
-
yParity?: number | undefined;
|
264
258
|
type: "eip2930";
|
265
259
|
isSystemTx?: undefined;
|
266
260
|
mint?: undefined;
|
@@ -285,7 +279,6 @@ export declare const baseGoerli: import("../../types/utils.js").Assign<{
|
|
285
279
|
maxPriorityFeePerGas: bigint;
|
286
280
|
accessList: import("../../index.js").AccessList;
|
287
281
|
chainId: number;
|
288
|
-
yParity?: number | undefined;
|
289
282
|
type: "eip1559";
|
290
283
|
isSystemTx?: undefined;
|
291
284
|
mint?: undefined;
|
@@ -310,7 +303,6 @@ export declare const baseGoerli: import("../../types/utils.js").Assign<{
|
|
310
303
|
maxPriorityFeePerGas: bigint;
|
311
304
|
accessList: import("../../index.js").AccessList;
|
312
305
|
chainId: number;
|
313
|
-
yParity?: number | undefined;
|
314
306
|
type: "deposit";
|
315
307
|
isSystemTx?: boolean | undefined;
|
316
308
|
mint?: bigint | undefined;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"baseGoerli.d.ts","sourceRoot":"","sources":["../../../chains/definitions/baseGoerli.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU
|
1
|
+
{"version":3,"file":"baseGoerli.d.ts","sourceRoot":"","sources":["../../../chains/definitions/baseGoerli.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCtB,CAAA"}
|
@@ -125,7 +125,6 @@ export declare const baseSepolia: import("../../types/utils.js").Assign<{
|
|
125
125
|
maxPriorityFeePerGas?: undefined;
|
126
126
|
accessList?: undefined;
|
127
127
|
chainId?: number | undefined;
|
128
|
-
yParity?: number | undefined;
|
129
128
|
type: "legacy";
|
130
129
|
isSystemTx?: undefined;
|
131
130
|
mint?: undefined;
|
@@ -150,7 +149,6 @@ export declare const baseSepolia: import("../../types/utils.js").Assign<{
|
|
150
149
|
maxPriorityFeePerGas: bigint;
|
151
150
|
accessList?: undefined;
|
152
151
|
chainId?: number | undefined;
|
153
|
-
yParity?: number | undefined;
|
154
152
|
type: "deposit";
|
155
153
|
isSystemTx?: boolean | undefined;
|
156
154
|
mint?: bigint | undefined;
|
@@ -175,7 +173,6 @@ export declare const baseSepolia: import("../../types/utils.js").Assign<{
|
|
175
173
|
maxPriorityFeePerGas?: undefined;
|
176
174
|
accessList: import("../../index.js").AccessList;
|
177
175
|
chainId: number;
|
178
|
-
yParity?: number | undefined;
|
179
176
|
type: "eip2930";
|
180
177
|
isSystemTx?: undefined;
|
181
178
|
mint?: undefined;
|
@@ -200,7 +197,6 @@ export declare const baseSepolia: import("../../types/utils.js").Assign<{
|
|
200
197
|
maxPriorityFeePerGas: bigint;
|
201
198
|
accessList: import("../../index.js").AccessList;
|
202
199
|
chainId: number;
|
203
|
-
yParity?: number | undefined;
|
204
200
|
type: "eip1559";
|
205
201
|
isSystemTx?: undefined;
|
206
202
|
mint?: undefined;
|
@@ -225,7 +221,6 @@ export declare const baseSepolia: import("../../types/utils.js").Assign<{
|
|
225
221
|
maxPriorityFeePerGas: bigint;
|
226
222
|
accessList: import("../../index.js").AccessList;
|
227
223
|
chainId: number;
|
228
|
-
yParity?: number | undefined;
|
229
224
|
type: "deposit";
|
230
225
|
isSystemTx?: boolean | undefined;
|
231
226
|
mint?: bigint | undefined;
|
@@ -250,7 +245,6 @@ export declare const baseSepolia: import("../../types/utils.js").Assign<{
|
|
250
245
|
maxPriorityFeePerGas: undefined;
|
251
246
|
accessList: import("../../index.js").AccessList;
|
252
247
|
chainId: number;
|
253
|
-
yParity?: number | undefined;
|
254
248
|
type: "eip2930";
|
255
249
|
isSystemTx?: undefined;
|
256
250
|
mint?: undefined;
|
@@ -275,7 +269,6 @@ export declare const baseSepolia: import("../../types/utils.js").Assign<{
|
|
275
269
|
maxPriorityFeePerGas: bigint;
|
276
270
|
accessList: import("../../index.js").AccessList;
|
277
271
|
chainId: number;
|
278
|
-
yParity?: number | undefined;
|
279
272
|
type: "eip1559";
|
280
273
|
isSystemTx?: undefined;
|
281
274
|
mint?: undefined;
|
@@ -300,7 +293,6 @@ export declare const baseSepolia: import("../../types/utils.js").Assign<{
|
|
300
293
|
maxPriorityFeePerGas: bigint;
|
301
294
|
accessList: import("../../index.js").AccessList;
|
302
295
|
chainId: number;
|
303
|
-
yParity?: number | undefined;
|
304
296
|
type: "deposit";
|
305
297
|
isSystemTx?: boolean | undefined;
|
306
298
|
mint?: bigint | undefined;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"baseSepolia.d.ts","sourceRoot":"","sources":["../../../chains/definitions/baseSepolia.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW
|
1
|
+
{"version":3,"file":"baseSepolia.d.ts","sourceRoot":"","sources":["../../../chains/definitions/baseSepolia.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BvB,CAAA"}
|
@@ -152,7 +152,6 @@ export declare const celo: import("../../types/utils.js").Assign<{
|
|
152
152
|
maxPriorityFeePerGas?: undefined;
|
153
153
|
accessList?: undefined;
|
154
154
|
chainId?: number | undefined;
|
155
|
-
yParity?: number | undefined;
|
156
155
|
type: "legacy";
|
157
156
|
feeCurrency: `0x${string}` | null;
|
158
157
|
gatewayFee: bigint | null;
|
@@ -177,7 +176,6 @@ export declare const celo: import("../../types/utils.js").Assign<{
|
|
177
176
|
maxPriorityFeePerGas: bigint;
|
178
177
|
accessList?: undefined;
|
179
178
|
chainId?: number | undefined;
|
180
|
-
yParity?: number | undefined;
|
181
179
|
type: "cip42";
|
182
180
|
feeCurrency: `0x${string}` | null;
|
183
181
|
gatewayFee: bigint | null;
|
@@ -202,7 +200,6 @@ export declare const celo: import("../../types/utils.js").Assign<{
|
|
202
200
|
maxPriorityFeePerGas: bigint;
|
203
201
|
accessList?: undefined;
|
204
202
|
chainId?: number | undefined;
|
205
|
-
yParity?: number | undefined;
|
206
203
|
type: "cip64";
|
207
204
|
feeCurrency: `0x${string}` | null;
|
208
205
|
gatewayFee?: undefined;
|
@@ -227,7 +224,6 @@ export declare const celo: import("../../types/utils.js").Assign<{
|
|
227
224
|
maxPriorityFeePerGas?: undefined;
|
228
225
|
accessList: import("../../index.js").AccessList;
|
229
226
|
chainId: number;
|
230
|
-
yParity?: number | undefined;
|
231
227
|
type: "eip2930";
|
232
228
|
feeCurrency: `0x${string}` | null;
|
233
229
|
gatewayFee: bigint | null;
|
@@ -252,7 +248,6 @@ export declare const celo: import("../../types/utils.js").Assign<{
|
|
252
248
|
maxPriorityFeePerGas: bigint;
|
253
249
|
accessList: import("../../index.js").AccessList;
|
254
250
|
chainId: number;
|
255
|
-
yParity?: number | undefined;
|
256
251
|
type: "eip1559";
|
257
252
|
feeCurrency: `0x${string}` | null;
|
258
253
|
gatewayFee: bigint | null;
|
@@ -277,7 +272,6 @@ export declare const celo: import("../../types/utils.js").Assign<{
|
|
277
272
|
maxPriorityFeePerGas: bigint;
|
278
273
|
accessList: import("../../index.js").AccessList;
|
279
274
|
chainId: number;
|
280
|
-
yParity?: number | undefined;
|
281
275
|
type: "cip42";
|
282
276
|
feeCurrency: `0x${string}` | null;
|
283
277
|
gatewayFee: bigint | null;
|
@@ -302,7 +296,6 @@ export declare const celo: import("../../types/utils.js").Assign<{
|
|
302
296
|
maxPriorityFeePerGas: bigint;
|
303
297
|
accessList: import("../../index.js").AccessList;
|
304
298
|
chainId: number;
|
305
|
-
yParity?: number | undefined;
|
306
299
|
type: "cip64";
|
307
300
|
feeCurrency: `0x${string}` | null;
|
308
301
|
gatewayFee?: undefined;
|
@@ -327,7 +320,6 @@ export declare const celo: import("../../types/utils.js").Assign<{
|
|
327
320
|
maxPriorityFeePerGas: undefined;
|
328
321
|
accessList: import("../../index.js").AccessList;
|
329
322
|
chainId: number;
|
330
|
-
yParity?: number | undefined;
|
331
323
|
type: "eip2930";
|
332
324
|
feeCurrency: `0x${string}` | null;
|
333
325
|
gatewayFee: bigint | null;
|
@@ -352,7 +344,6 @@ export declare const celo: import("../../types/utils.js").Assign<{
|
|
352
344
|
maxPriorityFeePerGas: bigint;
|
353
345
|
accessList: import("../../index.js").AccessList;
|
354
346
|
chainId: number;
|
355
|
-
yParity?: number | undefined;
|
356
347
|
type: "eip1559";
|
357
348
|
feeCurrency: `0x${string}` | null;
|
358
349
|
gatewayFee: bigint | null;
|
@@ -377,7 +368,6 @@ export declare const celo: import("../../types/utils.js").Assign<{
|
|
377
368
|
maxPriorityFeePerGas: bigint;
|
378
369
|
accessList: import("../../index.js").AccessList;
|
379
370
|
chainId: number;
|
380
|
-
yParity?: number | undefined;
|
381
371
|
type: "cip42";
|
382
372
|
feeCurrency: `0x${string}` | null;
|
383
373
|
gatewayFee: bigint | null;
|
@@ -402,7 +392,6 @@ export declare const celo: import("../../types/utils.js").Assign<{
|
|
402
392
|
maxPriorityFeePerGas: bigint;
|
403
393
|
accessList: import("../../index.js").AccessList;
|
404
394
|
chainId: number;
|
405
|
-
yParity?: number | undefined;
|
406
395
|
type: "cip64";
|
407
396
|
feeCurrency: `0x${string}` | null;
|
408
397
|
gatewayFee?: undefined;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"celo.d.ts","sourceRoot":"","sources":["../../../chains/definitions/celo.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI
|
1
|
+
{"version":3,"file":"celo.d.ts","sourceRoot":"","sources":["../../../chains/definitions/celo.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsChB,CAAA"}
|