viem 0.0.0-main.20231026T220458 → 0.0.0-main.20231027T032213

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 (39) 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/version.js +1 -1
  9. package/_esm/chains/celo/formatters.js +34 -5
  10. package/_esm/chains/celo/formatters.js.map +1 -1
  11. package/_esm/chains/celo/parsers.js +56 -1
  12. package/_esm/chains/celo/parsers.js.map +1 -1
  13. package/_esm/chains/celo/serializers.js +73 -7
  14. package/_esm/chains/celo/serializers.js.map +1 -1
  15. package/_esm/chains/utils/index.js.map +1 -1
  16. package/_esm/errors/version.js +1 -1
  17. package/_types/chains/celo/formatters.d.ts +126 -0
  18. package/_types/chains/celo/formatters.d.ts.map +1 -1
  19. package/_types/chains/celo/parsers.d.ts.map +1 -1
  20. package/_types/chains/celo/serializers.d.ts +3 -1
  21. package/_types/chains/celo/serializers.d.ts.map +1 -1
  22. package/_types/chains/celo/types.d.ts +39 -7
  23. package/_types/chains/celo/types.d.ts.map +1 -1
  24. package/_types/chains/definitions/celo.d.ts +126 -0
  25. package/_types/chains/definitions/celo.d.ts.map +1 -1
  26. package/_types/chains/definitions/celoAlfajores.d.ts +126 -0
  27. package/_types/chains/definitions/celoAlfajores.d.ts.map +1 -1
  28. package/_types/chains/definitions/celoCannoli.d.ts +126 -0
  29. package/_types/chains/definitions/celoCannoli.d.ts.map +1 -1
  30. package/_types/chains/utils/index.d.ts +1 -1
  31. package/_types/chains/utils/index.d.ts.map +1 -1
  32. package/_types/errors/version.d.ts +1 -1
  33. package/chains/celo/formatters.ts +39 -5
  34. package/chains/celo/parsers.ts +82 -1
  35. package/chains/celo/serializers.ts +121 -9
  36. package/chains/celo/types.ts +60 -2
  37. package/chains/utils/index.ts +6 -0
  38. package/errors/version.ts +1 -1
  39. package/package.json +1 -1
@@ -54,6 +54,9 @@ export declare const formattersCelo: {
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> & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
58
+ feeCurrency: `0x${string}` | null;
59
+ type: "0x7b";
57
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"> & {
58
61
  feeCurrency: `0x${string}` | null;
59
62
  gatewayFee: `0x${string}` | null;
@@ -71,6 +74,9 @@ export declare const formattersCelo: {
71
74
  gatewayFee: `0x${string}` | null;
72
75
  gatewayFeeRecipient: `0x${string}` | null;
73
76
  type: "0x7c";
77
+ }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, CeloRpcTransaction> & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
78
+ feeCurrency: `0x${string}` | null;
79
+ type: "0x7b";
74
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"> & {
75
81
  feeCurrency: `0x${string}` | null;
76
82
  gatewayFee: `0x${string}` | null;
@@ -88,6 +94,9 @@ export declare const formattersCelo: {
88
94
  gatewayFee: `0x${string}` | null;
89
95
  gatewayFeeRecipient: `0x${string}` | null;
90
96
  type: "0x7c";
97
+ }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, CeloRpcTransaction> & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
98
+ feeCurrency: `0x${string}` | null;
99
+ type: "0x7b";
91
100
  })) => ({
92
101
  blockHash: `0x${string}` | null;
93
102
  blockNumber: bigint | null;
@@ -136,6 +145,30 @@ export declare const formattersCelo: {
136
145
  feeCurrency: `0x${string}` | null;
137
146
  gatewayFee: bigint | null;
138
147
  gatewayFeeRecipient: `0x${string}` | null;
148
+ } | {
149
+ blockHash: `0x${string}` | null;
150
+ blockNumber: bigint | null;
151
+ from: `0x${string}`;
152
+ gas: bigint;
153
+ hash: `0x${string}`;
154
+ input: `0x${string}`;
155
+ nonce: number;
156
+ r: `0x${string}`;
157
+ s: `0x${string}`;
158
+ to: `0x${string}` | null;
159
+ transactionIndex: number | null;
160
+ typeHex: `0x${string}` | null;
161
+ v: bigint;
162
+ value: bigint;
163
+ gasPrice: undefined;
164
+ maxFeePerGas: bigint;
165
+ maxPriorityFeePerGas: bigint;
166
+ accessList?: undefined;
167
+ chainId?: number | undefined;
168
+ type: "cip64";
169
+ feeCurrency: `0x${string}` | null;
170
+ gatewayFee?: undefined;
171
+ gatewayFeeRecipient?: undefined;
139
172
  } | {
140
173
  blockHash: `0x${string}` | null;
141
174
  blockNumber: bigint | null;
@@ -208,6 +241,30 @@ export declare const formattersCelo: {
208
241
  feeCurrency: `0x${string}` | null;
209
242
  gatewayFee: bigint | null;
210
243
  gatewayFeeRecipient: `0x${string}` | null;
244
+ } | {
245
+ blockHash: `0x${string}` | null;
246
+ blockNumber: bigint | null;
247
+ from: `0x${string}`;
248
+ gas: bigint;
249
+ hash: `0x${string}`;
250
+ input: `0x${string}`;
251
+ nonce: number;
252
+ r: `0x${string}`;
253
+ s: `0x${string}`;
254
+ to: `0x${string}` | null;
255
+ transactionIndex: number | null;
256
+ typeHex: `0x${string}` | null;
257
+ v: bigint;
258
+ value: bigint;
259
+ gasPrice: undefined;
260
+ maxFeePerGas: bigint;
261
+ maxPriorityFeePerGas: bigint;
262
+ accessList: import("../../index.js").AccessList;
263
+ chainId: number;
264
+ type: "cip64";
265
+ feeCurrency: `0x${string}` | null;
266
+ gatewayFee?: undefined;
267
+ gatewayFeeRecipient?: undefined;
211
268
  } | {
212
269
  blockHash: `0x${string}` | null;
213
270
  blockNumber: bigint | null;
@@ -280,6 +337,30 @@ export declare const formattersCelo: {
280
337
  feeCurrency: `0x${string}` | null;
281
338
  gatewayFee: bigint | null;
282
339
  gatewayFeeRecipient: `0x${string}` | null;
340
+ } | {
341
+ blockHash: `0x${string}` | null;
342
+ blockNumber: bigint | null;
343
+ from: `0x${string}`;
344
+ gas: bigint;
345
+ hash: `0x${string}`;
346
+ input: `0x${string}`;
347
+ nonce: number;
348
+ r: `0x${string}`;
349
+ s: `0x${string}`;
350
+ to: `0x${string}` | null;
351
+ transactionIndex: number | null;
352
+ typeHex: `0x${string}` | null;
353
+ v: bigint;
354
+ value: bigint;
355
+ gasPrice?: undefined;
356
+ maxFeePerGas: bigint;
357
+ maxPriorityFeePerGas: bigint;
358
+ accessList: import("../../index.js").AccessList;
359
+ chainId: number;
360
+ type: "cip64";
361
+ feeCurrency: `0x${string}` | null;
362
+ gatewayFee?: undefined;
363
+ gatewayFeeRecipient?: undefined;
283
364
  }) & {};
284
365
  type: "transaction";
285
366
  };
@@ -368,6 +449,21 @@ export declare const formattersCelo: {
368
449
  feeCurrency?: `0x${string}` | undefined;
369
450
  gatewayFee?: `0x${string}` | undefined;
370
451
  gatewayFeeRecipient?: `0x${string}` | undefined;
452
+ } | {
453
+ data?: `0x${string}` | undefined;
454
+ from: `0x${string}`;
455
+ gas?: `0x${string}` | undefined;
456
+ nonce?: `0x${string}` | undefined;
457
+ to?: `0x${string}` | null | undefined;
458
+ value?: `0x${string}` | undefined;
459
+ gasPrice?: undefined;
460
+ maxFeePerGas?: `0x${string}` | undefined;
461
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
462
+ accessList?: import("../../index.js").AccessList | undefined;
463
+ type?: "0x7b" | undefined;
464
+ feeCurrency?: `0x${string}` | undefined;
465
+ gatewayFee?: undefined;
466
+ gatewayFeeRecipient?: undefined;
371
467
  } | {
372
468
  data?: `0x${string}` | undefined;
373
469
  from: `0x${string}`;
@@ -428,6 +524,21 @@ export declare const formattersCelo: {
428
524
  feeCurrency?: `0x${string}` | undefined;
429
525
  gatewayFee?: `0x${string}` | undefined;
430
526
  gatewayFeeRecipient?: `0x${string}` | undefined;
527
+ } | {
528
+ data?: `0x${string}` | undefined;
529
+ from: `0x${string}`;
530
+ gas?: `0x${string}` | undefined;
531
+ nonce?: `0x${string}` | undefined;
532
+ to?: `0x${string}` | null | undefined;
533
+ value?: `0x${string}` | undefined;
534
+ gasPrice?: undefined;
535
+ maxFeePerGas?: `0x${string}` | undefined;
536
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
537
+ accessList?: import("../../index.js").AccessList | undefined;
538
+ type?: "0x7b" | undefined;
539
+ feeCurrency?: `0x${string}` | undefined;
540
+ gatewayFee?: undefined;
541
+ gatewayFeeRecipient?: undefined;
431
542
  } | {
432
543
  data?: `0x${string}` | undefined;
433
544
  from: `0x${string}`;
@@ -488,6 +599,21 @@ export declare const formattersCelo: {
488
599
  feeCurrency?: `0x${string}` | undefined;
489
600
  gatewayFee?: `0x${string}` | undefined;
490
601
  gatewayFeeRecipient?: `0x${string}` | undefined;
602
+ } | {
603
+ data?: `0x${string}` | undefined;
604
+ from: `0x${string}`;
605
+ gas?: `0x${string}` | undefined;
606
+ nonce?: `0x${string}` | undefined;
607
+ to?: `0x${string}` | null | undefined;
608
+ value?: `0x${string}` | undefined;
609
+ gasPrice?: undefined;
610
+ maxFeePerGas?: `0x${string}` | undefined;
611
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
612
+ accessList?: import("../../index.js").AccessList | undefined;
613
+ type?: "0x7b" | undefined;
614
+ feeCurrency?: `0x${string}` | undefined;
615
+ gatewayFee?: undefined;
616
+ gatewayFeeRecipient?: undefined;
491
617
  }) & {};
492
618
  type: "transactionRequest";
493
619
  };
@@ -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;AAEnB,eAAO,MAAM,cAAc;;;;0BAKL,IAAI,EAAE,GAAG,kBAAkB,EAAE;;;;;;;;;;;;;;;;;;;;;0BAG/B,IAAI,EAAE,GAAG,eAAe,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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1
- {"version":3,"file":"parsers.d.ts","sourceRoot":"","sources":["../../../chains/celo/parsers.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,yDAAyD,CAAA;AAC3G,OAAO,EACL,KAAK,0BAA0B,EAIhC,MAAM,6CAA6C,CAAA;AAEpD,OAAO,KAAK,EACV,yBAAyB,EACzB,mBAAmB,EACnB,4BAA4B,EAC5B,0BAA0B,EAC3B,MAAM,YAAY,CAAA;AAEnB,MAAM,MAAM,8BAA8B,CACxC,WAAW,SAAS,yBAAyB,GAAG,yBAAyB,EACzE,KAAK,SAAS,mBAAmB,GAAG,4BAA4B,CAAC,WAAW,CAAC,IAC3E,WAAW,SAAS,0BAA0B,GAC9C,4BAA4B,GAC5B,0BAA0B,CAAC,WAAW,EAAE,KAAK,CAAC,CAAA;AAElD,wBAAgB,oBAAoB,CAClC,WAAW,SAAS,yBAAyB,EAE7C,qBAAqB,EAAE,WAAW,GACjC,8BAA8B,CAAC,WAAW,CAAC,CAW7C"}
1
+ {"version":3,"file":"parsers.d.ts","sourceRoot":"","sources":["../../../chains/celo/parsers.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,yDAAyD,CAAA;AAC3G,OAAO,EACL,KAAK,0BAA0B,EAIhC,MAAM,6CAA6C,CAAA;AAKpD,OAAO,KAAK,EACV,yBAAyB,EACzB,mBAAmB,EACnB,4BAA4B,EAE5B,0BAA0B,EAE3B,MAAM,YAAY,CAAA;AAEnB,MAAM,MAAM,8BAA8B,CACxC,WAAW,SAAS,yBAAyB,GAAG,yBAAyB,EACzE,KAAK,SAAS,mBAAmB,GAAG,4BAA4B,CAAC,WAAW,CAAC,IAC3E,WAAW,SAAS,0BAA0B,GAC9C,4BAA4B,GAC5B,0BAA0B,CAAC,WAAW,EAAE,KAAK,CAAC,CAAA;AAElD,wBAAgB,oBAAoB,CAClC,WAAW,SAAS,yBAAyB,EAE7C,qBAAqB,EAAE,WAAW,GACjC,8BAA8B,CAAC,WAAW,CAAC,CAgB7C"}
@@ -1,9 +1,11 @@
1
1
  import { type SerializeTransactionFn } from '../../utils/transaction/serializeTransaction.js';
2
- import type { CeloTransactionSerializable, TransactionSerializableCIP42, TransactionSerializedCIP42 } from './types.js';
2
+ import type { CeloTransactionSerializable, TransactionSerializableCIP42, TransactionSerializableCIP64, TransactionSerializedCIP42, TransactionSerializedCIP64 } from './types.js';
3
3
  export declare const serializeTransactionCelo: SerializeTransactionFn<CeloTransactionSerializable>;
4
4
  export declare const serializersCelo: {
5
5
  readonly transaction: SerializeTransactionFn<CeloTransactionSerializable>;
6
6
  };
7
7
  export type SerializeTransactionCIP42ReturnType = TransactionSerializedCIP42;
8
+ export type SerializeTransactionCIP64ReturnType = TransactionSerializedCIP64;
8
9
  export declare function assertTransactionCIP42(transaction: TransactionSerializableCIP42): void;
10
+ export declare function assertTransactionCIP64(transaction: TransactionSerializableCIP64): void;
9
11
  //# sourceMappingURL=serializers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"serializers.d.ts","sourceRoot":"","sources":["../../../chains/celo/serializers.ts"],"names":[],"mappings":"AAaA,OAAO,EACL,KAAK,sBAAsB,EAE5B,MAAM,iDAAiD,CAAA;AACxD,OAAO,KAAK,EACV,2BAA2B,EAC3B,4BAA4B,EAC5B,0BAA0B,EAC3B,MAAM,YAAY,CAAA;AAEnB,eAAO,MAAM,wBAAwB,EAAE,sBAAsB,CAC3D,2BAA2B,CAW5B,CAAA;AAED,eAAO,MAAM,eAAe;;CAES,CAAA;AAKrC,MAAM,MAAM,mCAAmC,GAAG,0BAA0B,CAAA;AA0E5E,wBAAgB,sBAAsB,CACpC,WAAW,EAAE,4BAA4B,QAiD1C"}
1
+ {"version":3,"file":"serializers.d.ts","sourceRoot":"","sources":["../../../chains/celo/serializers.ts"],"names":[],"mappings":"AAaA,OAAO,EACL,KAAK,sBAAsB,EAE5B,MAAM,iDAAiD,CAAA;AACxD,OAAO,KAAK,EACV,2BAA2B,EAC3B,4BAA4B,EAC5B,4BAA4B,EAC5B,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,YAAY,CAAA;AAEnB,eAAO,MAAM,wBAAwB,EAAE,sBAAsB,CAC3D,2BAA2B,CAe5B,CAAA;AAED,eAAO,MAAM,eAAe;;CAES,CAAA;AAKrC,MAAM,MAAM,mCAAmC,GAAG,0BAA0B,CAAA;AAC5E,MAAM,MAAM,mCAAmC,GAAG,0BAA0B,CAAA;AAyI5E,wBAAgB,sBAAsB,CACpC,WAAW,EAAE,4BAA4B,QAiD1C;AAED,wBAAgB,sBAAsB,CACpC,WAAW,EAAE,4BAA4B,QAuC1C"}
@@ -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,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UAAU,CAAA;IACvB,QAAQ,CAAC,EAAE,KAAK,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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