viem 0.0.0-main.20231026T220458 → 0.0.0-main.20231026T222229

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.
Files changed (47) hide show
  1. package/_cjs/chains/celo/formatters.js +34 -5
  2. package/_cjs/chains/celo/formatters.js.map +1 -1
  3. package/_cjs/chains/celo/parsers.js +55 -0
  4. package/_cjs/chains/celo/parsers.js.map +1 -1
  5. package/_cjs/chains/celo/serializers.js +70 -6
  6. package/_cjs/chains/celo/serializers.js.map +1 -1
  7. package/_cjs/chains/utils/index.js.map +1 -1
  8. package/_cjs/errors/node.js +11 -11
  9. package/_cjs/errors/node.js.map +1 -1
  10. package/_cjs/errors/rpc.js +18 -18
  11. package/_cjs/errors/rpc.js.map +1 -1
  12. package/_cjs/errors/version.js +1 -1
  13. package/_esm/chains/celo/formatters.js +34 -5
  14. package/_esm/chains/celo/formatters.js.map +1 -1
  15. package/_esm/chains/celo/parsers.js +56 -1
  16. package/_esm/chains/celo/parsers.js.map +1 -1
  17. package/_esm/chains/celo/serializers.js +73 -7
  18. package/_esm/chains/celo/serializers.js.map +1 -1
  19. package/_esm/chains/utils/index.js.map +1 -1
  20. package/_esm/errors/node.js +22 -11
  21. package/_esm/errors/node.js.map +1 -1
  22. package/_esm/errors/rpc.js +36 -18
  23. package/_esm/errors/rpc.js.map +1 -1
  24. package/_esm/errors/version.js +1 -1
  25. package/_types/chains/celo/formatters.d.ts +126 -0
  26. package/_types/chains/celo/formatters.d.ts.map +1 -1
  27. package/_types/chains/celo/parsers.d.ts.map +1 -1
  28. package/_types/chains/celo/serializers.d.ts +3 -1
  29. package/_types/chains/celo/serializers.d.ts.map +1 -1
  30. package/_types/chains/celo/types.d.ts +39 -7
  31. package/_types/chains/celo/types.d.ts.map +1 -1
  32. package/_types/chains/definitions/celo.d.ts +126 -0
  33. package/_types/chains/definitions/celo.d.ts.map +1 -1
  34. package/_types/chains/definitions/celoAlfajores.d.ts +126 -0
  35. package/_types/chains/definitions/celoAlfajores.d.ts.map +1 -1
  36. package/_types/chains/definitions/celoCannoli.d.ts +126 -0
  37. package/_types/chains/definitions/celoCannoli.d.ts.map +1 -1
  38. package/_types/chains/utils/index.d.ts +1 -1
  39. package/_types/chains/utils/index.d.ts.map +1 -1
  40. package/_types/errors/version.d.ts +1 -1
  41. package/chains/celo/formatters.ts +39 -5
  42. package/chains/celo/parsers.ts +82 -1
  43. package/chains/celo/serializers.ts +121 -9
  44. package/chains/celo/types.ts +60 -2
  45. package/chains/utils/index.ts +6 -0
  46. package/errors/version.ts +1 -1
  47. package/package.json +1 -1
@@ -21,25 +21,25 @@ export type CeloRpcBlockOverrides = {
21
21
  };
22
22
  };
23
23
  export type CeloRpcBlock<TBlockTag extends BlockTag = BlockTag, TIncludeTransactions extends boolean = boolean> = NeverBy<RpcBlock<TBlockTag, TIncludeTransactions, OptimismRpcTransaction<TBlockTag extends 'pending' ? true : false>>, CeloBlockExclude> & CeloRpcBlockOverrides;
24
- export type CeloRpcTransaction<TPending extends boolean = boolean> = RpcTransaction<TPending> | RpcTransactionCIP42<TPending>;
24
+ export type CeloRpcTransaction<TPending extends boolean = boolean> = RpcTransaction<TPending> | RpcTransactionCIP42<TPending> | RpcTransactionCIP64<TPending>;
25
25
  export type CeloRpcTransactionReceiptOverrides = {
26
26
  feeCurrency: Address | null;
27
27
  gatewayFee: Hex | null;
28
28
  gatewayFeeRecipient: Address | null;
29
29
  };
30
30
  export type CeloRpcTransactionReceipt = RpcTransactionReceipt & CeloRpcTransactionReceiptOverrides;
31
- export type CeloRpcTransactionRequest = RpcTransactionRequest | RpcTransactionRequestCIP42;
32
- export type CeloTransaction<TPending extends boolean = boolean> = Transaction<TPending> | TransactionCIP42<TPending>;
31
+ export type CeloRpcTransactionRequest = RpcTransactionRequest | RpcTransactionRequestCIP42 | RpcTransactionRequestCIP64;
32
+ export type CeloTransaction<TPending extends boolean = boolean> = Transaction<TPending> | TransactionCIP42<TPending> | TransactionCIP64<TPending>;
33
33
  export type CeloTransactionReceiptOverrides = {
34
34
  feeCurrency: Address | null;
35
35
  gatewayFee: bigint | null;
36
36
  gatewayFeeRecipient: Address | null;
37
37
  };
38
38
  export type CeloTransactionReceipt = TransactionReceipt & CeloTransactionReceiptOverrides;
39
- export type CeloTransactionRequest = TransactionRequest | TransactionRequestCIP42;
40
- export type CeloTransactionSerializable = TransactionSerializableCIP42 | TransactionSerializable;
41
- export type CeloTransactionSerialized<TType extends CeloTransactionType = 'legacy'> = TransactionSerialized<TType> | TransactionSerializedCIP42;
42
- export type CeloTransactionType = TransactionType | 'cip42';
39
+ export type CeloTransactionRequest = TransactionRequest | TransactionRequestCIP42 | TransactionRequestCIP64;
40
+ export type CeloTransactionSerializable = TransactionSerializableCIP42 | TransactionSerializableCIP64 | TransactionSerializable;
41
+ export type CeloTransactionSerialized<TType extends CeloTransactionType = 'legacy'> = TransactionSerialized<TType> | TransactionSerializedCIP42 | TransactionSerializedCIP64;
42
+ export type CeloTransactionType = TransactionType | 'cip42' | 'cip64';
43
43
  type RpcTransaction<TPending extends boolean = boolean> = RpcTransaction_<TPending> & {
44
44
  feeCurrency: Address | null;
45
45
  gatewayFee: Hex | null;
@@ -56,6 +56,10 @@ export type RpcTransactionCIP42<TPending extends boolean = boolean> = Transactio
56
56
  gatewayFeeRecipient: Address | null;
57
57
  type: '0x7c';
58
58
  };
59
+ export type RpcTransactionCIP64<TPending extends boolean = boolean> = TransactionBase<Quantity, Index, TPending> & FeeValuesEIP1559<Quantity> & {
60
+ feeCurrency: Address | null;
61
+ type: '0x7b';
62
+ };
59
63
  export type RpcTransactionRequestCIP42 = TransactionRequestBase<Quantity, Index> & Partial<FeeValuesEIP1559<Quantity>> & {
60
64
  accessList?: AccessList;
61
65
  feeCurrency?: Address;
@@ -63,6 +67,13 @@ export type RpcTransactionRequestCIP42 = TransactionRequestBase<Quantity, Index>
63
67
  gatewayFeeRecipient?: Address;
64
68
  type?: '0x7c';
65
69
  };
70
+ export type RpcTransactionRequestCIP64 = TransactionRequestBase<Quantity, Index> & Partial<FeeValuesEIP1559<Quantity>> & {
71
+ accessList?: AccessList;
72
+ feeCurrency?: Address;
73
+ gatewayFee?: undefined;
74
+ gatewayFeeRecipient?: undefined;
75
+ type?: '0x7b';
76
+ };
66
77
  type Transaction<TPending extends boolean = boolean> = Transaction_<bigint, number, TPending> & {
67
78
  feeCurrency: Address | null;
68
79
  gatewayFee: bigint | null;
@@ -74,6 +85,12 @@ export type TransactionCIP42<TPending extends boolean = boolean> = TransactionBa
74
85
  gatewayFeeRecipient: Address | null;
75
86
  type: 'cip42';
76
87
  };
88
+ export type TransactionCIP64<TPending extends boolean = boolean> = TransactionBase<bigint, number, TPending> & FeeValuesEIP1559 & {
89
+ feeCurrency: Address | null;
90
+ gatewayFee?: undefined;
91
+ gatewayFeeRecipient?: undefined;
92
+ type: 'cip64';
93
+ };
77
94
  type TransactionRequest = TransactionRequest_ & {
78
95
  feeCurrency?: Address;
79
96
  gatewayFee?: bigint;
@@ -86,6 +103,13 @@ export type TransactionRequestCIP42 = TransactionRequestBase & Partial<FeeValues
86
103
  gatewayFeeRecipient?: Address;
87
104
  type?: 'cip42';
88
105
  };
106
+ export type TransactionRequestCIP64 = TransactionRequestBase & Partial<FeeValuesEIP1559> & {
107
+ accessList?: AccessList;
108
+ feeCurrency?: Address;
109
+ gatewayFee?: undefined;
110
+ gatewayFeeRecipient?: undefined;
111
+ type?: 'cip64';
112
+ };
89
113
  export type TransactionSerializableCIP42<TQuantity = bigint, TIndex = number> = TransactionSerializableBase<TQuantity, TIndex> & FeeValuesEIP1559<TQuantity> & {
90
114
  accessList?: AccessList;
91
115
  gasPrice?: never;
@@ -95,6 +119,14 @@ export type TransactionSerializableCIP42<TQuantity = bigint, TIndex = number> =
95
119
  chainId: number;
96
120
  type?: 'cip42';
97
121
  };
122
+ export type TransactionSerializableCIP64<TQuantity = bigint, TIndex = number> = TransactionSerializableBase<TQuantity, TIndex> & FeeValuesEIP1559<TQuantity> & {
123
+ accessList?: AccessList;
124
+ gasPrice?: never;
125
+ feeCurrency?: Address;
126
+ chainId: number;
127
+ type?: 'cip64';
128
+ };
98
129
  export type TransactionSerializedCIP42 = `0x7c${string}`;
130
+ export type TransactionSerializedCIP64 = `0x7b${string}`;
99
131
  export {};
100
132
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../chains/celo/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAEtC,OAAO,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAC3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAC1D,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAA;AAC9C,OAAO,KAAK,EACV,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,cAAc,IAAI,eAAe,EACjC,qBAAqB,EACrB,qBAAqB,IAAI,sBAAsB,EAC/C,eAAe,EAChB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,KAAK,EACV,UAAU,EACV,WAAW,IAAI,YAAY,EAC3B,eAAe,EACf,kBAAkB,EAClB,kBAAkB,IAAI,mBAAmB,EACzC,sBAAsB,EACtB,uBAAuB,EACvB,2BAA2B,EAC3B,qBAAqB,EACtB,MAAM,4BAA4B,CAAA;AACnC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AACnD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAA;AAElE,KAAK,gBAAgB,GACjB,YAAY,GACZ,UAAU,GACV,SAAS,GACT,OAAO,GACP,QAAQ,CAAA;AAEZ,MAAM,MAAM,kBAAkB,GAAG;IAC/B,UAAU,EAAE;QACV,SAAS,EAAE,GAAG,CAAA;QACd,QAAQ,EAAE,GAAG,CAAA;KACd,CAAA;CACF,CAAA;AACD,M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AK,CAAA;IAChB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,CAAC,EAAE,OAAO,CAAA;CACf,CAAA;AAEH,MAAM,MAAM,0BAA0B,GAAG,OAAO,MAAM,EAAE,CAAA;AACxD,MAAM,MAAM,0BAA0B,GAAG,OAAO,MAAM,EAAE,CAAA"}
@@ -89,6 +89,9 @@ export declare const celo: import("../../types/utils.js").Assign<{
89
89
  gatewayFee: `0x${string}` | null;
90
90
  gatewayFeeRecipient: `0x${string}` | null;
91
91
  type: "0x7c";
92
+ }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("../celo/types.js").CeloRpcTransaction> & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
93
+ feeCurrency: `0x${string}` | null;
94
+ type: "0x7b";
92
95
  }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../celo/types.js").CeloRpcTransaction> & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
93
96
  feeCurrency: `0x${string}` | null;
94
97
  gatewayFee: `0x${string}` | null;
@@ -106,6 +109,9 @@ export declare const celo: import("../../types/utils.js").Assign<{
106
109
  gatewayFee: `0x${string}` | null;
107
110
  gatewayFeeRecipient: `0x${string}` | null;
108
111
  type: "0x7c";
112
+ }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../celo/types.js").CeloRpcTransaction> & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
113
+ feeCurrency: `0x${string}` | null;
114
+ type: "0x7b";
109
115
  }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../celo/types.js").CeloRpcTransaction> & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
110
116
  feeCurrency: `0x${string}` | null;
111
117
  gatewayFee: `0x${string}` | null;
@@ -123,6 +129,9 @@ export declare const celo: import("../../types/utils.js").Assign<{
123
129
  gatewayFee: `0x${string}` | null;
124
130
  gatewayFeeRecipient: `0x${string}` | null;
125
131
  type: "0x7c";
132
+ }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../celo/types.js").CeloRpcTransaction> & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
133
+ feeCurrency: `0x${string}` | null;
134
+ type: "0x7b";
126
135
  })) => ({
127
136
  blockHash: `0x${string}` | null;
128
137
  blockNumber: bigint | null;
@@ -171,6 +180,30 @@ export declare const celo: import("../../types/utils.js").Assign<{
171
180
  feeCurrency: `0x${string}` | null;
172
181
  gatewayFee: bigint | null;
173
182
  gatewayFeeRecipient: `0x${string}` | null;
183
+ } | {
184
+ blockHash: `0x${string}` | null;
185
+ blockNumber: bigint | null;
186
+ from: `0x${string}`;
187
+ gas: bigint;
188
+ hash: `0x${string}`;
189
+ input: `0x${string}`;
190
+ nonce: number;
191
+ r: `0x${string}`;
192
+ s: `0x${string}`;
193
+ to: `0x${string}` | null;
194
+ transactionIndex: number | null;
195
+ typeHex: `0x${string}` | null;
196
+ v: bigint;
197
+ value: bigint;
198
+ gasPrice: undefined;
199
+ maxFeePerGas: bigint;
200
+ maxPriorityFeePerGas: bigint;
201
+ accessList?: undefined;
202
+ chainId?: number | undefined;
203
+ type: "cip64";
204
+ feeCurrency: `0x${string}` | null;
205
+ gatewayFee?: undefined;
206
+ gatewayFeeRecipient?: undefined;
174
207
  } | {
175
208
  blockHash: `0x${string}` | null;
176
209
  blockNumber: bigint | null;
@@ -243,6 +276,30 @@ export declare const celo: import("../../types/utils.js").Assign<{
243
276
  feeCurrency: `0x${string}` | null;
244
277
  gatewayFee: bigint | null;
245
278
  gatewayFeeRecipient: `0x${string}` | null;
279
+ } | {
280
+ blockHash: `0x${string}` | null;
281
+ blockNumber: bigint | null;
282
+ from: `0x${string}`;
283
+ gas: bigint;
284
+ hash: `0x${string}`;
285
+ input: `0x${string}`;
286
+ nonce: number;
287
+ r: `0x${string}`;
288
+ s: `0x${string}`;
289
+ to: `0x${string}` | null;
290
+ transactionIndex: number | null;
291
+ typeHex: `0x${string}` | null;
292
+ v: bigint;
293
+ value: bigint;
294
+ gasPrice: undefined;
295
+ maxFeePerGas: bigint;
296
+ maxPriorityFeePerGas: bigint;
297
+ accessList: import("../../index.js").AccessList;
298
+ chainId: number;
299
+ type: "cip64";
300
+ feeCurrency: `0x${string}` | null;
301
+ gatewayFee?: undefined;
302
+ gatewayFeeRecipient?: undefined;
246
303
  } | {
247
304
  blockHash: `0x${string}` | null;
248
305
  blockNumber: bigint | null;
@@ -315,6 +372,30 @@ export declare const celo: import("../../types/utils.js").Assign<{
315
372
  feeCurrency: `0x${string}` | null;
316
373
  gatewayFee: bigint | null;
317
374
  gatewayFeeRecipient: `0x${string}` | null;
375
+ } | {
376
+ blockHash: `0x${string}` | null;
377
+ blockNumber: bigint | null;
378
+ from: `0x${string}`;
379
+ gas: bigint;
380
+ hash: `0x${string}`;
381
+ input: `0x${string}`;
382
+ nonce: number;
383
+ r: `0x${string}`;
384
+ s: `0x${string}`;
385
+ to: `0x${string}` | null;
386
+ transactionIndex: number | null;
387
+ typeHex: `0x${string}` | null;
388
+ v: bigint;
389
+ value: bigint;
390
+ gasPrice?: undefined;
391
+ maxFeePerGas: bigint;
392
+ maxPriorityFeePerGas: bigint;
393
+ accessList: import("../../index.js").AccessList;
394
+ chainId: number;
395
+ type: "cip64";
396
+ feeCurrency: `0x${string}` | null;
397
+ gatewayFee?: undefined;
398
+ gatewayFeeRecipient?: undefined;
318
399
  }) & {};
319
400
  type: "transaction";
320
401
  };
@@ -403,6 +484,21 @@ export declare const celo: import("../../types/utils.js").Assign<{
403
484
  feeCurrency?: `0x${string}` | undefined;
404
485
  gatewayFee?: `0x${string}` | undefined;
405
486
  gatewayFeeRecipient?: `0x${string}` | undefined;
487
+ } | {
488
+ data?: `0x${string}` | undefined;
489
+ from: `0x${string}`;
490
+ gas?: `0x${string}` | undefined;
491
+ nonce?: `0x${string}` | undefined;
492
+ to?: `0x${string}` | null | undefined;
493
+ value?: `0x${string}` | undefined;
494
+ gasPrice?: undefined;
495
+ maxFeePerGas?: `0x${string}` | undefined;
496
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
497
+ accessList?: import("../../index.js").AccessList | undefined;
498
+ type?: "0x7b" | undefined;
499
+ feeCurrency?: `0x${string}` | undefined;
500
+ gatewayFee?: undefined;
501
+ gatewayFeeRecipient?: undefined;
406
502
  } | {
407
503
  data?: `0x${string}` | undefined;
408
504
  from: `0x${string}`;
@@ -463,6 +559,21 @@ export declare const celo: import("../../types/utils.js").Assign<{
463
559
  feeCurrency?: `0x${string}` | undefined;
464
560
  gatewayFee?: `0x${string}` | undefined;
465
561
  gatewayFeeRecipient?: `0x${string}` | undefined;
562
+ } | {
563
+ data?: `0x${string}` | undefined;
564
+ from: `0x${string}`;
565
+ gas?: `0x${string}` | undefined;
566
+ nonce?: `0x${string}` | undefined;
567
+ to?: `0x${string}` | null | undefined;
568
+ value?: `0x${string}` | undefined;
569
+ gasPrice?: undefined;
570
+ maxFeePerGas?: `0x${string}` | undefined;
571
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
572
+ accessList?: import("../../index.js").AccessList | undefined;
573
+ type?: "0x7b" | undefined;
574
+ feeCurrency?: `0x${string}` | undefined;
575
+ gatewayFee?: undefined;
576
+ gatewayFeeRecipient?: undefined;
466
577
  } | {
467
578
  data?: `0x${string}` | undefined;
468
579
  from: `0x${string}`;
@@ -523,6 +634,21 @@ export declare const celo: import("../../types/utils.js").Assign<{
523
634
  feeCurrency?: `0x${string}` | undefined;
524
635
  gatewayFee?: `0x${string}` | undefined;
525
636
  gatewayFeeRecipient?: `0x${string}` | undefined;
637
+ } | {
638
+ data?: `0x${string}` | undefined;
639
+ from: `0x${string}`;
640
+ gas?: `0x${string}` | undefined;
641
+ nonce?: `0x${string}` | undefined;
642
+ to?: `0x${string}` | null | undefined;
643
+ value?: `0x${string}` | undefined;
644
+ gasPrice?: undefined;
645
+ maxFeePerGas?: `0x${string}` | undefined;
646
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
647
+ accessList?: import("../../index.js").AccessList | undefined;
648
+ type?: "0x7b" | undefined;
649
+ feeCurrency?: `0x${string}` | undefined;
650
+ gatewayFee?: undefined;
651
+ gatewayFeeRecipient?: undefined;
526
652
  }) & {};
527
653
  type: "transactionRequest";
528
654
  };
@@ -1 +1 @@
1
- {"version":3,"file":"celo.d.ts","sourceRoot":"","sources":["../../../chains/definitions/celo.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsChB,CAAA"}
1
+ {"version":3,"file":"celo.d.ts","sourceRoot":"","sources":["../../../chains/definitions/celo.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsChB,CAAA"}
@@ -89,6 +89,9 @@ export declare const celoAlfajores: import("../../types/utils.js").Assign<{
89
89
  gatewayFee: `0x${string}` | null;
90
90
  gatewayFeeRecipient: `0x${string}` | null;
91
91
  type: "0x7c";
92
+ }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("../celo/types.js").CeloRpcTransaction> & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
93
+ feeCurrency: `0x${string}` | null;
94
+ type: "0x7b";
92
95
  }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../celo/types.js").CeloRpcTransaction> & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
93
96
  feeCurrency: `0x${string}` | null;
94
97
  gatewayFee: `0x${string}` | null;
@@ -106,6 +109,9 @@ export declare const celoAlfajores: import("../../types/utils.js").Assign<{
106
109
  gatewayFee: `0x${string}` | null;
107
110
  gatewayFeeRecipient: `0x${string}` | null;
108
111
  type: "0x7c";
112
+ }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("../celo/types.js").CeloRpcTransaction> & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
113
+ feeCurrency: `0x${string}` | null;
114
+ type: "0x7b";
109
115
  }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../celo/types.js").CeloRpcTransaction> & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
110
116
  feeCurrency: `0x${string}` | null;
111
117
  gatewayFee: `0x${string}` | null;
@@ -123,6 +129,9 @@ export declare const celoAlfajores: import("../../types/utils.js").Assign<{
123
129
  gatewayFee: `0x${string}` | null;
124
130
  gatewayFeeRecipient: `0x${string}` | null;
125
131
  type: "0x7c";
132
+ }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("../celo/types.js").CeloRpcTransaction> & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
133
+ feeCurrency: `0x${string}` | null;
134
+ type: "0x7b";
126
135
  })) => ({
127
136
  blockHash: `0x${string}` | null;
128
137
  blockNumber: bigint | null;
@@ -171,6 +180,30 @@ export declare const celoAlfajores: import("../../types/utils.js").Assign<{
171
180
  feeCurrency: `0x${string}` | null;
172
181
  gatewayFee: bigint | null;
173
182
  gatewayFeeRecipient: `0x${string}` | null;
183
+ } | {
184
+ blockHash: `0x${string}` | null;
185
+ blockNumber: bigint | null;
186
+ from: `0x${string}`;
187
+ gas: bigint;
188
+ hash: `0x${string}`;
189
+ input: `0x${string}`;
190
+ nonce: number;
191
+ r: `0x${string}`;
192
+ s: `0x${string}`;
193
+ to: `0x${string}` | null;
194
+ transactionIndex: number | null;
195
+ typeHex: `0x${string}` | null;
196
+ v: bigint;
197
+ value: bigint;
198
+ gasPrice: undefined;
199
+ maxFeePerGas: bigint;
200
+ maxPriorityFeePerGas: bigint;
201
+ accessList?: undefined;
202
+ chainId?: number | undefined;
203
+ type: "cip64";
204
+ feeCurrency: `0x${string}` | null;
205
+ gatewayFee?: undefined;
206
+ gatewayFeeRecipient?: undefined;
174
207
  } | {
175
208
  blockHash: `0x${string}` | null;
176
209
  blockNumber: bigint | null;
@@ -243,6 +276,30 @@ export declare const celoAlfajores: import("../../types/utils.js").Assign<{
243
276
  feeCurrency: `0x${string}` | null;
244
277
  gatewayFee: bigint | null;
245
278
  gatewayFeeRecipient: `0x${string}` | null;
279
+ } | {
280
+ blockHash: `0x${string}` | null;
281
+ blockNumber: bigint | null;
282
+ from: `0x${string}`;
283
+ gas: bigint;
284
+ hash: `0x${string}`;
285
+ input: `0x${string}`;
286
+ nonce: number;
287
+ r: `0x${string}`;
288
+ s: `0x${string}`;
289
+ to: `0x${string}` | null;
290
+ transactionIndex: number | null;
291
+ typeHex: `0x${string}` | null;
292
+ v: bigint;
293
+ value: bigint;
294
+ gasPrice: undefined;
295
+ maxFeePerGas: bigint;
296
+ maxPriorityFeePerGas: bigint;
297
+ accessList: import("../../index.js").AccessList;
298
+ chainId: number;
299
+ type: "cip64";
300
+ feeCurrency: `0x${string}` | null;
301
+ gatewayFee?: undefined;
302
+ gatewayFeeRecipient?: undefined;
246
303
  } | {
247
304
  blockHash: `0x${string}` | null;
248
305
  blockNumber: bigint | null;
@@ -315,6 +372,30 @@ export declare const celoAlfajores: import("../../types/utils.js").Assign<{
315
372
  feeCurrency: `0x${string}` | null;
316
373
  gatewayFee: bigint | null;
317
374
  gatewayFeeRecipient: `0x${string}` | null;
375
+ } | {
376
+ blockHash: `0x${string}` | null;
377
+ blockNumber: bigint | null;
378
+ from: `0x${string}`;
379
+ gas: bigint;
380
+ hash: `0x${string}`;
381
+ input: `0x${string}`;
382
+ nonce: number;
383
+ r: `0x${string}`;
384
+ s: `0x${string}`;
385
+ to: `0x${string}` | null;
386
+ transactionIndex: number | null;
387
+ typeHex: `0x${string}` | null;
388
+ v: bigint;
389
+ value: bigint;
390
+ gasPrice?: undefined;
391
+ maxFeePerGas: bigint;
392
+ maxPriorityFeePerGas: bigint;
393
+ accessList: import("../../index.js").AccessList;
394
+ chainId: number;
395
+ type: "cip64";
396
+ feeCurrency: `0x${string}` | null;
397
+ gatewayFee?: undefined;
398
+ gatewayFeeRecipient?: undefined;
318
399
  }) & {};
319
400
  type: "transaction";
320
401
  };
@@ -403,6 +484,21 @@ export declare const celoAlfajores: import("../../types/utils.js").Assign<{
403
484
  feeCurrency?: `0x${string}` | undefined;
404
485
  gatewayFee?: `0x${string}` | undefined;
405
486
  gatewayFeeRecipient?: `0x${string}` | undefined;
487
+ } | {
488
+ data?: `0x${string}` | undefined;
489
+ from: `0x${string}`;
490
+ gas?: `0x${string}` | undefined;
491
+ nonce?: `0x${string}` | undefined;
492
+ to?: `0x${string}` | null | undefined;
493
+ value?: `0x${string}` | undefined;
494
+ gasPrice?: undefined;
495
+ maxFeePerGas?: `0x${string}` | undefined;
496
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
497
+ accessList?: import("../../index.js").AccessList | undefined;
498
+ type?: "0x7b" | undefined;
499
+ feeCurrency?: `0x${string}` | undefined;
500
+ gatewayFee?: undefined;
501
+ gatewayFeeRecipient?: undefined;
406
502
  } | {
407
503
  data?: `0x${string}` | undefined;
408
504
  from: `0x${string}`;
@@ -463,6 +559,21 @@ export declare const celoAlfajores: import("../../types/utils.js").Assign<{
463
559
  feeCurrency?: `0x${string}` | undefined;
464
560
  gatewayFee?: `0x${string}` | undefined;
465
561
  gatewayFeeRecipient?: `0x${string}` | undefined;
562
+ } | {
563
+ data?: `0x${string}` | undefined;
564
+ from: `0x${string}`;
565
+ gas?: `0x${string}` | undefined;
566
+ nonce?: `0x${string}` | undefined;
567
+ to?: `0x${string}` | null | undefined;
568
+ value?: `0x${string}` | undefined;
569
+ gasPrice?: undefined;
570
+ maxFeePerGas?: `0x${string}` | undefined;
571
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
572
+ accessList?: import("../../index.js").AccessList | undefined;
573
+ type?: "0x7b" | undefined;
574
+ feeCurrency?: `0x${string}` | undefined;
575
+ gatewayFee?: undefined;
576
+ gatewayFeeRecipient?: undefined;
466
577
  } | {
467
578
  data?: `0x${string}` | undefined;
468
579
  from: `0x${string}`;
@@ -523,6 +634,21 @@ export declare const celoAlfajores: import("../../types/utils.js").Assign<{
523
634
  feeCurrency?: `0x${string}` | undefined;
524
635
  gatewayFee?: `0x${string}` | undefined;
525
636
  gatewayFeeRecipient?: `0x${string}` | undefined;
637
+ } | {
638
+ data?: `0x${string}` | undefined;
639
+ from: `0x${string}`;
640
+ gas?: `0x${string}` | undefined;
641
+ nonce?: `0x${string}` | undefined;
642
+ to?: `0x${string}` | null | undefined;
643
+ value?: `0x${string}` | undefined;
644
+ gasPrice?: undefined;
645
+ maxFeePerGas?: `0x${string}` | undefined;
646
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
647
+ accessList?: import("../../index.js").AccessList | undefined;
648
+ type?: "0x7b" | undefined;
649
+ feeCurrency?: `0x${string}` | undefined;
650
+ gatewayFee?: undefined;
651
+ gatewayFeeRecipient?: undefined;
526
652
  }) & {};
527
653
  type: "transactionRequest";
528
654
  };
@@ -1 +1 @@
1
- {"version":3,"file":"celoAlfajores.d.ts","sourceRoot":"","sources":["../../../chains/definitions/celoAlfajores.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCzB,CAAA"}
1
+ {"version":3,"file":"celoAlfajores.d.ts","sourceRoot":"","sources":["../../../chains/definitions/celoAlfajores.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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