viem 2.0.0-alpha.1 → 2.0.0-alpha.3

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 (196) hide show
  1. package/_cjs/{abi.js → abi/index.js} +9 -9
  2. package/_cjs/abi/index.js.map +1 -0
  3. package/_cjs/actions/public/estimateFeesPerGas.js +3 -2
  4. package/_cjs/actions/public/estimateFeesPerGas.js.map +1 -1
  5. package/_cjs/actions/public/waitForTransactionReceipt.js +9 -4
  6. package/_cjs/actions/public/waitForTransactionReceipt.js.map +1 -1
  7. package/_cjs/actions/wallet/signTypedData.js.map +1 -1
  8. package/_cjs/actions/wallet/writeContract.js.map +1 -1
  9. package/_cjs/chains/definitions/holesky.js +21 -0
  10. package/_cjs/chains/definitions/holesky.js.map +1 -0
  11. package/_cjs/chains/index.js +4 -2
  12. package/_cjs/chains/index.js.map +1 -1
  13. package/_cjs/chains/{utils.js → utils/index.js} +5 -5
  14. package/_cjs/chains/utils/index.js.map +1 -0
  15. package/_cjs/{contract.js → contract/index.js} +25 -25
  16. package/_cjs/contract/index.js.map +1 -0
  17. package/_cjs/{ens.js → ens/index.js} +9 -9
  18. package/_cjs/ens/index.js.map +1 -0
  19. package/_cjs/errors/node.js +11 -11
  20. package/_cjs/errors/node.js.map +1 -1
  21. package/_cjs/errors/rpc.js +18 -18
  22. package/_cjs/errors/rpc.js.map +1 -1
  23. package/_cjs/errors/version.js +1 -1
  24. package/_cjs/index.js.map +1 -1
  25. package/_cjs/{public.js → public/index.js} +29 -29
  26. package/_cjs/public/index.js.map +1 -0
  27. package/_cjs/{test.js → test/index.js} +29 -29
  28. package/_cjs/test/index.js.map +1 -0
  29. package/_cjs/types/eip1193.js.map +1 -1
  30. package/_cjs/utils/rpc.js +6 -3
  31. package/_cjs/utils/rpc.js.map +1 -1
  32. package/_cjs/{wallet.js → wallet/index.js} +11 -11
  33. package/_cjs/wallet/index.js.map +1 -0
  34. package/_cjs/{window.js → window/index.js} +2 -2
  35. package/_cjs/window/index.js.map +1 -0
  36. package/_esm/abi/index.js +7 -0
  37. package/_esm/abi/index.js.map +1 -0
  38. package/_esm/actions/public/estimateFeesPerGas.js +3 -2
  39. package/_esm/actions/public/estimateFeesPerGas.js.map +1 -1
  40. package/_esm/actions/public/waitForTransactionReceipt.js +9 -4
  41. package/_esm/actions/public/waitForTransactionReceipt.js.map +1 -1
  42. package/_esm/actions/wallet/signTypedData.js.map +1 -1
  43. package/_esm/actions/wallet/writeContract.js.map +1 -1
  44. package/_esm/chains/definitions/holesky.js +18 -0
  45. package/_esm/chains/definitions/holesky.js.map +1 -0
  46. package/_esm/chains/index.js +1 -0
  47. package/_esm/chains/index.js.map +1 -1
  48. package/_esm/chains/utils/index.js +5 -0
  49. package/_esm/chains/utils/index.js.map +1 -0
  50. package/_esm/contract/index.js +26 -0
  51. package/_esm/contract/index.js.map +1 -0
  52. package/_esm/ens/index.js +9 -0
  53. package/_esm/ens/index.js.map +1 -0
  54. package/_esm/errors/node.js +11 -22
  55. package/_esm/errors/node.js.map +1 -1
  56. package/_esm/errors/rpc.js +18 -36
  57. package/_esm/errors/rpc.js.map +1 -1
  58. package/_esm/errors/version.js +1 -1
  59. package/_esm/index.js.map +1 -1
  60. package/_esm/public/index.js +30 -0
  61. package/_esm/public/index.js.map +1 -0
  62. package/_esm/test/index.js +30 -0
  63. package/_esm/test/index.js.map +1 -0
  64. package/_esm/types/eip1193.js.map +1 -1
  65. package/_esm/utils/rpc.js +6 -2
  66. package/_esm/utils/rpc.js.map +1 -1
  67. package/_esm/wallet/index.js +12 -0
  68. package/_esm/wallet/index.js.map +1 -0
  69. package/_esm/window/index.js +2 -0
  70. package/_esm/window/index.js.map +1 -0
  71. package/_types/{abi.d.ts → abi/index.d.ts} +5 -5
  72. package/_types/abi/index.d.ts.map +1 -0
  73. package/_types/actions/public/estimateFeesPerGas.d.ts.map +1 -1
  74. package/_types/actions/public/waitForTransactionReceipt.d.ts.map +1 -1
  75. package/_types/actions/wallet/signTypedData.d.ts +1 -1
  76. package/_types/actions/wallet/signTypedData.d.ts.map +1 -1
  77. package/_types/actions/wallet/writeContract.d.ts +1 -1
  78. package/_types/actions/wallet/writeContract.d.ts.map +1 -1
  79. package/_types/chains/celo/formatters.d.ts +50 -50
  80. package/_types/chains/definitions/base.d.ts +162 -162
  81. package/_types/chains/definitions/baseGoerli.d.ts +162 -162
  82. package/_types/chains/definitions/celo.d.ts +165 -165
  83. package/_types/chains/definitions/celoAlfajores.d.ts +165 -165
  84. package/_types/chains/definitions/celoCannoli.d.ts +165 -165
  85. package/_types/chains/definitions/holesky.d.ts +24 -0
  86. package/_types/chains/definitions/holesky.d.ts.map +1 -0
  87. package/_types/chains/definitions/optimism.d.ts +162 -162
  88. package/_types/chains/definitions/optimismGoerli.d.ts +162 -162
  89. package/_types/chains/definitions/zora.d.ts +162 -162
  90. package/_types/chains/definitions/zoraTestnet.d.ts +162 -162
  91. package/_types/chains/index.d.ts +1 -0
  92. package/_types/chains/index.d.ts.map +1 -1
  93. package/_types/chains/optimism/formatters.d.ts +50 -50
  94. package/_types/chains/{utils.d.ts → utils/index.d.ts} +7 -7
  95. package/_types/chains/utils/index.d.ts.map +1 -0
  96. package/_types/clients/transports/webSocket.d.ts +2 -1
  97. package/_types/clients/transports/webSocket.d.ts.map +1 -1
  98. package/_types/{contract.d.ts → contract/index.d.ts} +26 -26
  99. package/_types/contract/index.d.ts.map +1 -0
  100. package/_types/ens/index.d.ts +9 -0
  101. package/_types/ens/index.d.ts.map +1 -0
  102. package/_types/errors/version.d.ts +1 -1
  103. package/_types/index.d.ts +1 -1
  104. package/_types/index.d.ts.map +1 -1
  105. package/_types/public/index.d.ts +33 -0
  106. package/_types/public/index.d.ts.map +1 -0
  107. package/_types/test/index.d.ts +29 -0
  108. package/_types/test/index.d.ts.map +1 -0
  109. package/_types/types/contract.d.ts +1 -1
  110. package/_types/types/contract.d.ts.map +1 -1
  111. package/_types/types/eip1193.d.ts +2 -2
  112. package/_types/types/eip1193.d.ts.map +1 -1
  113. package/_types/types/typedData.d.ts +2 -2
  114. package/_types/types/typedData.d.ts.map +1 -1
  115. package/_types/utils/formatters/transaction.d.ts +1 -1
  116. package/_types/utils/formatters/transactionRequest.d.ts +1 -1
  117. package/_types/utils/rpc.d.ts +3 -3
  118. package/_types/utils/rpc.d.ts.map +1 -1
  119. package/_types/wallet/index.d.ts +11 -0
  120. package/_types/wallet/index.d.ts.map +1 -0
  121. package/_types/window/index.d.ts +2 -0
  122. package/_types/window/index.d.ts.map +1 -0
  123. package/{abi.ts → abi/index.ts} +15 -13
  124. package/abi/package.json +6 -0
  125. package/accounts/package.json +6 -0
  126. package/actions/package.json +6 -0
  127. package/actions/public/estimateFeesPerGas.ts +3 -2
  128. package/actions/public/waitForTransactionReceipt.ts +13 -4
  129. package/actions/wallet/signTypedData.ts +4 -2
  130. package/actions/wallet/writeContract.ts +4 -1
  131. package/chains/definitions/holesky.ts +18 -0
  132. package/chains/index.ts +1 -0
  133. package/chains/package.json +6 -0
  134. package/chains/{utils.ts → utils/index.ts} +6 -6
  135. package/chains/utils/package.json +6 -0
  136. package/clients/package.json +6 -0
  137. package/clients/transports/webSocket.ts +1 -1
  138. package/{contract.ts → contract/index.ts} +27 -25
  139. package/contract/package.json +6 -0
  140. package/{ens.ts → ens/index.ts} +8 -8
  141. package/ens/package.json +6 -0
  142. package/errors/version.ts +1 -1
  143. package/index.ts +2 -0
  144. package/package.json +35 -34
  145. package/{public.ts → public/index.ts} +30 -28
  146. package/public/package.json +6 -0
  147. package/test/index.ts +85 -0
  148. package/test/package.json +6 -0
  149. package/types/contract.ts +1 -1
  150. package/types/eip1193.ts +5 -3
  151. package/types/typedData.ts +3 -2
  152. package/utils/package.json +6 -0
  153. package/utils/rpc.ts +6 -3
  154. package/{wallet.ts → wallet/index.ts} +15 -10
  155. package/wallet/package.json +6 -0
  156. package/window/index.ts +1 -0
  157. package/window/package.json +6 -0
  158. package/_cjs/abi.js.map +0 -1
  159. package/_cjs/chains/utils.js.map +0 -1
  160. package/_cjs/contract.js.map +0 -1
  161. package/_cjs/ens.js.map +0 -1
  162. package/_cjs/public.js.map +0 -1
  163. package/_cjs/test.js.map +0 -1
  164. package/_cjs/wallet.js.map +0 -1
  165. package/_cjs/window.js.map +0 -1
  166. package/_esm/abi.js +0 -6
  167. package/_esm/abi.js.map +0 -1
  168. package/_esm/chains/utils.js +0 -5
  169. package/_esm/chains/utils.js.map +0 -1
  170. package/_esm/contract.js +0 -25
  171. package/_esm/contract.js.map +0 -1
  172. package/_esm/ens.js +0 -9
  173. package/_esm/ens.js.map +0 -1
  174. package/_esm/public.js +0 -29
  175. package/_esm/public.js.map +0 -1
  176. package/_esm/test.js +0 -29
  177. package/_esm/test.js.map +0 -1
  178. package/_esm/wallet.js +0 -11
  179. package/_esm/wallet.js.map +0 -1
  180. package/_esm/window.js +0 -2
  181. package/_esm/window.js.map +0 -1
  182. package/_types/abi.d.ts.map +0 -1
  183. package/_types/chains/utils.d.ts.map +0 -1
  184. package/_types/contract.d.ts.map +0 -1
  185. package/_types/ens.d.ts +0 -9
  186. package/_types/ens.d.ts.map +0 -1
  187. package/_types/public.d.ts +0 -33
  188. package/_types/public.d.ts.map +0 -1
  189. package/_types/test.d.ts +0 -29
  190. package/_types/test.d.ts.map +0 -1
  191. package/_types/wallet.d.ts +0 -11
  192. package/_types/wallet.d.ts.map +0 -1
  193. package/_types/window.d.ts +0 -2
  194. package/_types/window.d.ts.map +0 -1
  195. package/test.ts +0 -83
  196. package/window.ts +0 -1
@@ -38,8 +38,8 @@ export declare const celoAlfajores: {
38
38
  formatters?: {
39
39
  readonly block: {
40
40
  exclude: ("nonce" | "difficulty" | "gasLimit" | "mixHash" | "uncles")[] | undefined;
41
- format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcBlock>, import("../utils.js").CeloBlockOverrides & {
42
- transactions: `0x${string}`[] | import("../utils.js").CeloRpcTransaction[];
41
+ format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcBlock>, import("../celo/types.js").CeloBlockOverrides & {
42
+ transactions: `0x${string}`[] | import("../celo/types.js").CeloRpcTransaction[];
43
43
  }>) => {
44
44
  baseFeePerGas: bigint | null;
45
45
  difficulty: bigint;
@@ -60,7 +60,7 @@ export declare const celoAlfajores: {
60
60
  stateRoot: `0x${string}`;
61
61
  timestamp: bigint;
62
62
  totalDifficulty: bigint | null;
63
- transactions: `0x${string}`[] | import("../utils.js").CeloTransaction[];
63
+ transactions: `0x${string}`[] | import("../celo/types.js").CeloTransaction[];
64
64
  transactionsRoot: `0x${string}`;
65
65
  uncles: `0x${string}`[];
66
66
  randomness: {
@@ -80,10 +80,14 @@ export declare const celoAlfajores: {
80
80
  exclude: [] | undefined;
81
81
  format: (args: ({
82
82
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
83
+ gas?: `0x${string}` | undefined;
84
+ value?: `0x${string}` | undefined;
85
+ gasPrice?: `0x${string}` | undefined;
86
+ maxFeePerGas?: `0x${string}` | undefined;
87
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
83
88
  blockHash?: `0x${string}` | null | undefined;
84
89
  blockNumber?: `0x${string}` | null | undefined;
85
90
  from?: `0x${string}` | undefined;
86
- gas?: `0x${string}` | undefined;
87
91
  hash?: `0x${string}` | undefined;
88
92
  input?: `0x${string}` | undefined;
89
93
  nonce?: `0x${string}` | undefined;
@@ -92,10 +96,6 @@ export declare const celoAlfajores: {
92
96
  to?: `0x${string}` | null | undefined;
93
97
  transactionIndex?: `0x${string}` | null | undefined;
94
98
  v?: `0x${string}` | undefined;
95
- value?: `0x${string}` | undefined;
96
- gasPrice?: `0x${string}` | undefined;
97
- maxFeePerGas?: `0x${string}` | undefined;
98
- maxPriorityFeePerGas?: `0x${string}` | undefined;
99
99
  accessList?: undefined;
100
100
  chainId?: `0x${string}` | undefined;
101
101
  } & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
@@ -104,10 +104,14 @@ export declare const celoAlfajores: {
104
104
  gatewayFeeRecipient: `0x${string}` | null;
105
105
  }) | ({
106
106
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
107
+ gas?: `0x${string}` | undefined;
108
+ value?: `0x${string}` | undefined;
109
+ gasPrice?: `0x${string}` | undefined;
110
+ maxFeePerGas?: `0x${string}` | undefined;
111
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
107
112
  blockHash?: `0x${string}` | null | undefined;
108
113
  blockNumber?: `0x${string}` | null | undefined;
109
114
  from?: `0x${string}` | undefined;
110
- gas?: `0x${string}` | undefined;
111
115
  hash?: `0x${string}` | undefined;
112
116
  input?: `0x${string}` | undefined;
113
117
  nonce?: `0x${string}` | undefined;
@@ -116,10 +120,6 @@ export declare const celoAlfajores: {
116
120
  to?: `0x${string}` | null | undefined;
117
121
  transactionIndex?: `0x${string}` | null | undefined;
118
122
  v?: `0x${string}` | undefined;
119
- value?: `0x${string}` | undefined;
120
- gasPrice?: `0x${string}` | undefined;
121
- maxFeePerGas?: `0x${string}` | undefined;
122
- maxPriorityFeePerGas?: `0x${string}` | undefined;
123
123
  accessList?: undefined;
124
124
  chainId?: `0x${string}` | undefined;
125
125
  } & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -129,10 +129,14 @@ export declare const celoAlfajores: {
129
129
  type: "0x7c";
130
130
  }) | ({
131
131
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
132
+ gas?: `0x${string}` | undefined;
133
+ value?: `0x${string}` | undefined;
134
+ gasPrice?: `0x${string}` | undefined;
135
+ maxFeePerGas?: `0x${string}` | undefined;
136
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
132
137
  blockHash?: `0x${string}` | null | undefined;
133
138
  blockNumber?: `0x${string}` | null | undefined;
134
139
  from?: `0x${string}` | undefined;
135
- gas?: `0x${string}` | undefined;
136
140
  hash?: `0x${string}` | undefined;
137
141
  input?: `0x${string}` | undefined;
138
142
  nonce?: `0x${string}` | undefined;
@@ -141,10 +145,6 @@ export declare const celoAlfajores: {
141
145
  to?: `0x${string}` | null | undefined;
142
146
  transactionIndex?: `0x${string}` | null | undefined;
143
147
  v?: `0x${string}` | undefined;
144
- value?: `0x${string}` | undefined;
145
- gasPrice?: `0x${string}` | undefined;
146
- maxFeePerGas?: `0x${string}` | undefined;
147
- maxPriorityFeePerGas?: `0x${string}` | undefined;
148
148
  accessList?: import("../../index.js").AccessList | undefined;
149
149
  chainId?: `0x${string}` | undefined;
150
150
  } & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
@@ -153,10 +153,14 @@ export declare const celoAlfajores: {
153
153
  gatewayFeeRecipient: `0x${string}` | null;
154
154
  }) | ({
155
155
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
156
+ gas?: `0x${string}` | undefined;
157
+ value?: `0x${string}` | undefined;
158
+ gasPrice?: `0x${string}` | undefined;
159
+ maxFeePerGas?: `0x${string}` | undefined;
160
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
156
161
  blockHash?: `0x${string}` | null | undefined;
157
162
  blockNumber?: `0x${string}` | null | undefined;
158
163
  from?: `0x${string}` | undefined;
159
- gas?: `0x${string}` | undefined;
160
164
  hash?: `0x${string}` | undefined;
161
165
  input?: `0x${string}` | undefined;
162
166
  nonce?: `0x${string}` | undefined;
@@ -165,10 +169,6 @@ export declare const celoAlfajores: {
165
169
  to?: `0x${string}` | null | undefined;
166
170
  transactionIndex?: `0x${string}` | null | undefined;
167
171
  v?: `0x${string}` | undefined;
168
- value?: `0x${string}` | undefined;
169
- gasPrice?: `0x${string}` | undefined;
170
- maxFeePerGas?: `0x${string}` | undefined;
171
- maxPriorityFeePerGas?: `0x${string}` | undefined;
172
172
  accessList?: import("../../index.js").AccessList | undefined;
173
173
  chainId?: `0x${string}` | undefined;
174
174
  } & Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
@@ -177,10 +177,14 @@ export declare const celoAlfajores: {
177
177
  gatewayFeeRecipient: `0x${string}` | null;
178
178
  }) | ({
179
179
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
180
+ gas?: `0x${string}` | undefined;
181
+ value?: `0x${string}` | undefined;
182
+ gasPrice?: `0x${string}` | undefined;
183
+ maxFeePerGas?: `0x${string}` | undefined;
184
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
180
185
  blockHash?: `0x${string}` | null | undefined;
181
186
  blockNumber?: `0x${string}` | null | undefined;
182
187
  from?: `0x${string}` | undefined;
183
- gas?: `0x${string}` | undefined;
184
188
  hash?: `0x${string}` | undefined;
185
189
  input?: `0x${string}` | undefined;
186
190
  nonce?: `0x${string}` | undefined;
@@ -189,10 +193,6 @@ export declare const celoAlfajores: {
189
193
  to?: `0x${string}` | null | undefined;
190
194
  transactionIndex?: `0x${string}` | null | undefined;
191
195
  v?: `0x${string}` | undefined;
192
- value?: `0x${string}` | undefined;
193
- gasPrice?: `0x${string}` | undefined;
194
- maxFeePerGas?: `0x${string}` | undefined;
195
- maxPriorityFeePerGas?: `0x${string}` | undefined;
196
196
  accessList?: import("../../index.js").AccessList | undefined;
197
197
  chainId?: `0x${string}` | undefined;
198
198
  } & Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
@@ -201,10 +201,14 @@ export declare const celoAlfajores: {
201
201
  gatewayFeeRecipient: `0x${string}` | null;
202
202
  }) | ({
203
203
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
204
+ gas?: `0x${string}` | undefined;
205
+ value?: `0x${string}` | undefined;
206
+ gasPrice?: `0x${string}` | undefined;
207
+ maxFeePerGas?: `0x${string}` | undefined;
208
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
204
209
  blockHash?: `0x${string}` | null | undefined;
205
210
  blockNumber?: `0x${string}` | null | undefined;
206
211
  from?: `0x${string}` | undefined;
207
- gas?: `0x${string}` | undefined;
208
212
  hash?: `0x${string}` | undefined;
209
213
  input?: `0x${string}` | undefined;
210
214
  nonce?: `0x${string}` | undefined;
@@ -213,10 +217,6 @@ export declare const celoAlfajores: {
213
217
  to?: `0x${string}` | null | undefined;
214
218
  transactionIndex?: `0x${string}` | null | undefined;
215
219
  v?: `0x${string}` | undefined;
216
- value?: `0x${string}` | undefined;
217
- gasPrice?: `0x${string}` | undefined;
218
- maxFeePerGas?: `0x${string}` | undefined;
219
- maxPriorityFeePerGas?: `0x${string}` | undefined;
220
220
  accessList?: import("../../index.js").AccessList | undefined;
221
221
  chainId?: `0x${string}` | undefined;
222
222
  } & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -226,10 +226,14 @@ export declare const celoAlfajores: {
226
226
  type: "0x7c";
227
227
  }) | ({
228
228
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
229
+ gas?: `0x${string}` | undefined;
230
+ value?: `0x${string}` | undefined;
231
+ gasPrice?: `0x${string}` | undefined;
232
+ maxFeePerGas?: `0x${string}` | undefined;
233
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
229
234
  blockHash?: `0x${string}` | null | undefined;
230
235
  blockNumber?: `0x${string}` | null | undefined;
231
236
  from?: `0x${string}` | undefined;
232
- gas?: `0x${string}` | undefined;
233
237
  hash?: `0x${string}` | undefined;
234
238
  input?: `0x${string}` | undefined;
235
239
  nonce?: `0x${string}` | undefined;
@@ -238,10 +242,6 @@ export declare const celoAlfajores: {
238
242
  to?: `0x${string}` | null | undefined;
239
243
  transactionIndex?: `0x${string}` | null | undefined;
240
244
  v?: `0x${string}` | undefined;
241
- value?: `0x${string}` | undefined;
242
- gasPrice?: `0x${string}` | undefined;
243
- maxFeePerGas?: `0x${string}` | undefined;
244
- maxPriorityFeePerGas?: `0x${string}` | undefined;
245
245
  accessList?: import("../../index.js").AccessList | undefined;
246
246
  chainId?: `0x${string}` | undefined;
247
247
  } & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
@@ -250,10 +250,14 @@ export declare const celoAlfajores: {
250
250
  gatewayFeeRecipient: `0x${string}` | null;
251
251
  }) | ({
252
252
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
253
+ gas?: `0x${string}` | undefined;
254
+ value?: `0x${string}` | undefined;
255
+ gasPrice?: `0x${string}` | undefined;
256
+ maxFeePerGas?: `0x${string}` | undefined;
257
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
253
258
  blockHash?: `0x${string}` | null | undefined;
254
259
  blockNumber?: `0x${string}` | null | undefined;
255
260
  from?: `0x${string}` | undefined;
256
- gas?: `0x${string}` | undefined;
257
261
  hash?: `0x${string}` | undefined;
258
262
  input?: `0x${string}` | undefined;
259
263
  nonce?: `0x${string}` | undefined;
@@ -262,10 +266,6 @@ export declare const celoAlfajores: {
262
266
  to?: `0x${string}` | null | undefined;
263
267
  transactionIndex?: `0x${string}` | null | undefined;
264
268
  v?: `0x${string}` | undefined;
265
- value?: `0x${string}` | undefined;
266
- gasPrice?: `0x${string}` | undefined;
267
- maxFeePerGas?: `0x${string}` | undefined;
268
- maxPriorityFeePerGas?: `0x${string}` | undefined;
269
269
  accessList?: import("../../index.js").AccessList | undefined;
270
270
  chainId?: `0x${string}` | undefined;
271
271
  } & Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
@@ -274,10 +274,14 @@ export declare const celoAlfajores: {
274
274
  gatewayFeeRecipient: `0x${string}` | null;
275
275
  }) | ({
276
276
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
277
+ gas?: `0x${string}` | undefined;
278
+ value?: `0x${string}` | undefined;
279
+ gasPrice?: `0x${string}` | undefined;
280
+ maxFeePerGas?: `0x${string}` | undefined;
281
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
277
282
  blockHash?: `0x${string}` | null | undefined;
278
283
  blockNumber?: `0x${string}` | null | undefined;
279
284
  from?: `0x${string}` | undefined;
280
- gas?: `0x${string}` | undefined;
281
285
  hash?: `0x${string}` | undefined;
282
286
  input?: `0x${string}` | undefined;
283
287
  nonce?: `0x${string}` | undefined;
@@ -286,10 +290,6 @@ export declare const celoAlfajores: {
286
290
  to?: `0x${string}` | null | undefined;
287
291
  transactionIndex?: `0x${string}` | null | undefined;
288
292
  v?: `0x${string}` | undefined;
289
- value?: `0x${string}` | undefined;
290
- gasPrice?: `0x${string}` | undefined;
291
- maxFeePerGas?: `0x${string}` | undefined;
292
- maxPriorityFeePerGas?: `0x${string}` | undefined;
293
293
  accessList?: import("../../index.js").AccessList | undefined;
294
294
  chainId?: `0x${string}` | undefined;
295
295
  } & Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
@@ -298,10 +298,14 @@ export declare const celoAlfajores: {
298
298
  gatewayFeeRecipient: `0x${string}` | null;
299
299
  }) | ({
300
300
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
301
+ gas?: `0x${string}` | undefined;
302
+ value?: `0x${string}` | undefined;
303
+ gasPrice?: `0x${string}` | undefined;
304
+ maxFeePerGas?: `0x${string}` | undefined;
305
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
301
306
  blockHash?: `0x${string}` | null | undefined;
302
307
  blockNumber?: `0x${string}` | null | undefined;
303
308
  from?: `0x${string}` | undefined;
304
- gas?: `0x${string}` | undefined;
305
309
  hash?: `0x${string}` | undefined;
306
310
  input?: `0x${string}` | undefined;
307
311
  nonce?: `0x${string}` | undefined;
@@ -310,10 +314,6 @@ export declare const celoAlfajores: {
310
314
  to?: `0x${string}` | null | undefined;
311
315
  transactionIndex?: `0x${string}` | null | undefined;
312
316
  v?: `0x${string}` | undefined;
313
- value?: `0x${string}` | undefined;
314
- gasPrice?: `0x${string}` | undefined;
315
- maxFeePerGas?: `0x${string}` | undefined;
316
- maxPriorityFeePerGas?: `0x${string}` | undefined;
317
317
  accessList?: import("../../index.js").AccessList | undefined;
318
318
  chainId?: `0x${string}` | undefined;
319
319
  } & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -518,7 +518,7 @@ export declare const celoAlfajores: {
518
518
  };
519
519
  readonly transactionReceipt: {
520
520
  exclude: [] | undefined;
521
- format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransactionReceipt>, import("../utils.js").CeloRpcTransactionReceiptOverrides>) => {
521
+ format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransactionReceipt>, import("../celo/types.js").CeloRpcTransactionReceiptOverrides>) => {
522
522
  blockHash: `0x${string}`;
523
523
  blockNumber: bigint;
524
524
  contractAddress: `0x${string}` | null;
@@ -541,7 +541,7 @@ export declare const celoAlfajores: {
541
541
  };
542
542
  readonly transactionRequest: {
543
543
  exclude: [] | undefined;
544
- format: (args: import("../index.js").Assign<Partial<import("../../index.js").TransactionRequest>, import("../utils.js").CeloTransactionRequest>) => ({
544
+ format: (args: import("../index.js").Assign<Partial<import("../../index.js").TransactionRequest>, import("../celo/types.js").CeloTransactionRequest>) => ({
545
545
  data?: `0x${string}` | undefined;
546
546
  from: `0x${string}`;
547
547
  gas?: `0x${string}` | undefined;
@@ -728,8 +728,8 @@ export declare const celoAlfajores: {
728
728
  serializers?: import("../../index.js").ChainSerializers<{
729
729
  readonly block: {
730
730
  exclude: ("nonce" | "difficulty" | "gasLimit" | "mixHash" | "uncles")[] | undefined;
731
- format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcBlock>, import("../utils.js").CeloBlockOverrides & {
732
- transactions: `0x${string}`[] | import("../utils.js").CeloRpcTransaction[];
731
+ format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcBlock>, import("../celo/types.js").CeloBlockOverrides & {
732
+ transactions: `0x${string}`[] | import("../celo/types.js").CeloRpcTransaction[];
733
733
  }>) => {
734
734
  baseFeePerGas: bigint | null;
735
735
  difficulty: bigint;
@@ -750,7 +750,7 @@ export declare const celoAlfajores: {
750
750
  stateRoot: `0x${string}`;
751
751
  timestamp: bigint;
752
752
  totalDifficulty: bigint | null;
753
- transactions: `0x${string}`[] | import("../utils.js").CeloTransaction[];
753
+ transactions: `0x${string}`[] | import("../celo/types.js").CeloTransaction[];
754
754
  transactionsRoot: `0x${string}`;
755
755
  uncles: `0x${string}`[];
756
756
  randomness: {
@@ -770,10 +770,14 @@ export declare const celoAlfajores: {
770
770
  exclude: [] | undefined;
771
771
  format: (args: ({
772
772
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
773
+ gas?: `0x${string}` | undefined;
774
+ value?: `0x${string}` | undefined;
775
+ gasPrice?: `0x${string}` | undefined;
776
+ maxFeePerGas?: `0x${string}` | undefined;
777
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
773
778
  blockHash?: `0x${string}` | null | undefined;
774
779
  blockNumber?: `0x${string}` | null | undefined;
775
780
  from?: `0x${string}` | undefined;
776
- gas?: `0x${string}` | undefined;
777
781
  hash?: `0x${string}` | undefined;
778
782
  input?: `0x${string}` | undefined;
779
783
  nonce?: `0x${string}` | undefined;
@@ -782,10 +786,6 @@ export declare const celoAlfajores: {
782
786
  to?: `0x${string}` | null | undefined;
783
787
  transactionIndex?: `0x${string}` | null | undefined;
784
788
  v?: `0x${string}` | undefined;
785
- value?: `0x${string}` | undefined;
786
- gasPrice?: `0x${string}` | undefined;
787
- maxFeePerGas?: `0x${string}` | undefined;
788
- maxPriorityFeePerGas?: `0x${string}` | undefined;
789
789
  accessList?: undefined;
790
790
  chainId?: `0x${string}` | undefined;
791
791
  } & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
@@ -794,10 +794,14 @@ export declare const celoAlfajores: {
794
794
  gatewayFeeRecipient: `0x${string}` | null;
795
795
  }) | ({
796
796
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
797
+ gas?: `0x${string}` | undefined;
798
+ value?: `0x${string}` | undefined;
799
+ gasPrice?: `0x${string}` | undefined;
800
+ maxFeePerGas?: `0x${string}` | undefined;
801
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
797
802
  blockHash?: `0x${string}` | null | undefined;
798
803
  blockNumber?: `0x${string}` | null | undefined;
799
804
  from?: `0x${string}` | undefined;
800
- gas?: `0x${string}` | undefined;
801
805
  hash?: `0x${string}` | undefined;
802
806
  input?: `0x${string}` | undefined;
803
807
  nonce?: `0x${string}` | undefined;
@@ -806,10 +810,6 @@ export declare const celoAlfajores: {
806
810
  to?: `0x${string}` | null | undefined;
807
811
  transactionIndex?: `0x${string}` | null | undefined;
808
812
  v?: `0x${string}` | undefined;
809
- value?: `0x${string}` | undefined;
810
- gasPrice?: `0x${string}` | undefined;
811
- maxFeePerGas?: `0x${string}` | undefined;
812
- maxPriorityFeePerGas?: `0x${string}` | undefined;
813
813
  accessList?: undefined;
814
814
  chainId?: `0x${string}` | undefined;
815
815
  } & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -819,10 +819,14 @@ export declare const celoAlfajores: {
819
819
  type: "0x7c";
820
820
  }) | ({
821
821
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
822
+ gas?: `0x${string}` | undefined;
823
+ value?: `0x${string}` | undefined;
824
+ gasPrice?: `0x${string}` | undefined;
825
+ maxFeePerGas?: `0x${string}` | undefined;
826
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
822
827
  blockHash?: `0x${string}` | null | undefined;
823
828
  blockNumber?: `0x${string}` | null | undefined;
824
829
  from?: `0x${string}` | undefined;
825
- gas?: `0x${string}` | undefined;
826
830
  hash?: `0x${string}` | undefined;
827
831
  input?: `0x${string}` | undefined;
828
832
  nonce?: `0x${string}` | undefined;
@@ -831,10 +835,6 @@ export declare const celoAlfajores: {
831
835
  to?: `0x${string}` | null | undefined;
832
836
  transactionIndex?: `0x${string}` | null | undefined;
833
837
  v?: `0x${string}` | undefined;
834
- value?: `0x${string}` | undefined;
835
- gasPrice?: `0x${string}` | undefined;
836
- maxFeePerGas?: `0x${string}` | undefined;
837
- maxPriorityFeePerGas?: `0x${string}` | undefined;
838
838
  accessList?: import("../../index.js").AccessList | undefined;
839
839
  chainId?: `0x${string}` | undefined;
840
840
  } & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
@@ -843,10 +843,14 @@ export declare const celoAlfajores: {
843
843
  gatewayFeeRecipient: `0x${string}` | null;
844
844
  }) | ({
845
845
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
846
+ gas?: `0x${string}` | undefined;
847
+ value?: `0x${string}` | undefined;
848
+ gasPrice?: `0x${string}` | undefined;
849
+ maxFeePerGas?: `0x${string}` | undefined;
850
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
846
851
  blockHash?: `0x${string}` | null | undefined;
847
852
  blockNumber?: `0x${string}` | null | undefined;
848
853
  from?: `0x${string}` | undefined;
849
- gas?: `0x${string}` | undefined;
850
854
  hash?: `0x${string}` | undefined;
851
855
  input?: `0x${string}` | undefined;
852
856
  nonce?: `0x${string}` | undefined;
@@ -855,10 +859,6 @@ export declare const celoAlfajores: {
855
859
  to?: `0x${string}` | null | undefined;
856
860
  transactionIndex?: `0x${string}` | null | undefined;
857
861
  v?: `0x${string}` | undefined;
858
- value?: `0x${string}` | undefined;
859
- gasPrice?: `0x${string}` | undefined;
860
- maxFeePerGas?: `0x${string}` | undefined;
861
- maxPriorityFeePerGas?: `0x${string}` | undefined;
862
862
  accessList?: import("../../index.js").AccessList | undefined;
863
863
  chainId?: `0x${string}` | undefined;
864
864
  } & Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
@@ -867,10 +867,14 @@ export declare const celoAlfajores: {
867
867
  gatewayFeeRecipient: `0x${string}` | null;
868
868
  }) | ({
869
869
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
870
+ gas?: `0x${string}` | undefined;
871
+ value?: `0x${string}` | undefined;
872
+ gasPrice?: `0x${string}` | undefined;
873
+ maxFeePerGas?: `0x${string}` | undefined;
874
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
870
875
  blockHash?: `0x${string}` | null | undefined;
871
876
  blockNumber?: `0x${string}` | null | undefined;
872
877
  from?: `0x${string}` | undefined;
873
- gas?: `0x${string}` | undefined;
874
878
  hash?: `0x${string}` | undefined;
875
879
  input?: `0x${string}` | undefined;
876
880
  nonce?: `0x${string}` | undefined;
@@ -879,10 +883,6 @@ export declare const celoAlfajores: {
879
883
  to?: `0x${string}` | null | undefined;
880
884
  transactionIndex?: `0x${string}` | null | undefined;
881
885
  v?: `0x${string}` | undefined;
882
- value?: `0x${string}` | undefined;
883
- gasPrice?: `0x${string}` | undefined;
884
- maxFeePerGas?: `0x${string}` | undefined;
885
- maxPriorityFeePerGas?: `0x${string}` | undefined;
886
886
  accessList?: import("../../index.js").AccessList | undefined;
887
887
  chainId?: `0x${string}` | undefined;
888
888
  } & Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
@@ -891,10 +891,14 @@ export declare const celoAlfajores: {
891
891
  gatewayFeeRecipient: `0x${string}` | null;
892
892
  }) | ({
893
893
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
894
+ gas?: `0x${string}` | undefined;
895
+ value?: `0x${string}` | undefined;
896
+ gasPrice?: `0x${string}` | undefined;
897
+ maxFeePerGas?: `0x${string}` | undefined;
898
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
894
899
  blockHash?: `0x${string}` | null | undefined;
895
900
  blockNumber?: `0x${string}` | null | undefined;
896
901
  from?: `0x${string}` | undefined;
897
- gas?: `0x${string}` | undefined;
898
902
  hash?: `0x${string}` | undefined;
899
903
  input?: `0x${string}` | undefined;
900
904
  nonce?: `0x${string}` | undefined;
@@ -903,10 +907,6 @@ export declare const celoAlfajores: {
903
907
  to?: `0x${string}` | null | undefined;
904
908
  transactionIndex?: `0x${string}` | null | undefined;
905
909
  v?: `0x${string}` | undefined;
906
- value?: `0x${string}` | undefined;
907
- gasPrice?: `0x${string}` | undefined;
908
- maxFeePerGas?: `0x${string}` | undefined;
909
- maxPriorityFeePerGas?: `0x${string}` | undefined;
910
910
  accessList?: import("../../index.js").AccessList | undefined;
911
911
  chainId?: `0x${string}` | undefined;
912
912
  } & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -916,10 +916,14 @@ export declare const celoAlfajores: {
916
916
  type: "0x7c";
917
917
  }) | ({
918
918
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
919
+ gas?: `0x${string}` | undefined;
920
+ value?: `0x${string}` | undefined;
921
+ gasPrice?: `0x${string}` | undefined;
922
+ maxFeePerGas?: `0x${string}` | undefined;
923
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
919
924
  blockHash?: `0x${string}` | null | undefined;
920
925
  blockNumber?: `0x${string}` | null | undefined;
921
926
  from?: `0x${string}` | undefined;
922
- gas?: `0x${string}` | undefined;
923
927
  hash?: `0x${string}` | undefined;
924
928
  input?: `0x${string}` | undefined;
925
929
  nonce?: `0x${string}` | undefined;
@@ -928,10 +932,6 @@ export declare const celoAlfajores: {
928
932
  to?: `0x${string}` | null | undefined;
929
933
  transactionIndex?: `0x${string}` | null | undefined;
930
934
  v?: `0x${string}` | undefined;
931
- value?: `0x${string}` | undefined;
932
- gasPrice?: `0x${string}` | undefined;
933
- maxFeePerGas?: `0x${string}` | undefined;
934
- maxPriorityFeePerGas?: `0x${string}` | undefined;
935
935
  accessList?: import("../../index.js").AccessList | undefined;
936
936
  chainId?: `0x${string}` | undefined;
937
937
  } & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
@@ -940,10 +940,14 @@ export declare const celoAlfajores: {
940
940
  gatewayFeeRecipient: `0x${string}` | null;
941
941
  }) | ({
942
942
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
943
+ gas?: `0x${string}` | undefined;
944
+ value?: `0x${string}` | undefined;
945
+ gasPrice?: `0x${string}` | undefined;
946
+ maxFeePerGas?: `0x${string}` | undefined;
947
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
943
948
  blockHash?: `0x${string}` | null | undefined;
944
949
  blockNumber?: `0x${string}` | null | undefined;
945
950
  from?: `0x${string}` | undefined;
946
- gas?: `0x${string}` | undefined;
947
951
  hash?: `0x${string}` | undefined;
948
952
  input?: `0x${string}` | undefined;
949
953
  nonce?: `0x${string}` | undefined;
@@ -952,10 +956,6 @@ export declare const celoAlfajores: {
952
956
  to?: `0x${string}` | null | undefined;
953
957
  transactionIndex?: `0x${string}` | null | undefined;
954
958
  v?: `0x${string}` | undefined;
955
- value?: `0x${string}` | undefined;
956
- gasPrice?: `0x${string}` | undefined;
957
- maxFeePerGas?: `0x${string}` | undefined;
958
- maxPriorityFeePerGas?: `0x${string}` | undefined;
959
959
  accessList?: import("../../index.js").AccessList | undefined;
960
960
  chainId?: `0x${string}` | undefined;
961
961
  } & Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
@@ -964,10 +964,14 @@ export declare const celoAlfajores: {
964
964
  gatewayFeeRecipient: `0x${string}` | null;
965
965
  }) | ({
966
966
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
967
+ gas?: `0x${string}` | undefined;
968
+ value?: `0x${string}` | undefined;
969
+ gasPrice?: `0x${string}` | undefined;
970
+ maxFeePerGas?: `0x${string}` | undefined;
971
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
967
972
  blockHash?: `0x${string}` | null | undefined;
968
973
  blockNumber?: `0x${string}` | null | undefined;
969
974
  from?: `0x${string}` | undefined;
970
- gas?: `0x${string}` | undefined;
971
975
  hash?: `0x${string}` | undefined;
972
976
  input?: `0x${string}` | undefined;
973
977
  nonce?: `0x${string}` | undefined;
@@ -976,10 +980,6 @@ export declare const celoAlfajores: {
976
980
  to?: `0x${string}` | null | undefined;
977
981
  transactionIndex?: `0x${string}` | null | undefined;
978
982
  v?: `0x${string}` | undefined;
979
- value?: `0x${string}` | undefined;
980
- gasPrice?: `0x${string}` | undefined;
981
- maxFeePerGas?: `0x${string}` | undefined;
982
- maxPriorityFeePerGas?: `0x${string}` | undefined;
983
983
  accessList?: import("../../index.js").AccessList | undefined;
984
984
  chainId?: `0x${string}` | undefined;
985
985
  } & Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
@@ -988,10 +988,14 @@ export declare const celoAlfajores: {
988
988
  gatewayFeeRecipient: `0x${string}` | null;
989
989
  }) | ({
990
990
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
991
+ gas?: `0x${string}` | undefined;
992
+ value?: `0x${string}` | undefined;
993
+ gasPrice?: `0x${string}` | undefined;
994
+ maxFeePerGas?: `0x${string}` | undefined;
995
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
991
996
  blockHash?: `0x${string}` | null | undefined;
992
997
  blockNumber?: `0x${string}` | null | undefined;
993
998
  from?: `0x${string}` | undefined;
994
- gas?: `0x${string}` | undefined;
995
999
  hash?: `0x${string}` | undefined;
996
1000
  input?: `0x${string}` | undefined;
997
1001
  nonce?: `0x${string}` | undefined;
@@ -1000,10 +1004,6 @@ export declare const celoAlfajores: {
1000
1004
  to?: `0x${string}` | null | undefined;
1001
1005
  transactionIndex?: `0x${string}` | null | undefined;
1002
1006
  v?: `0x${string}` | undefined;
1003
- value?: `0x${string}` | undefined;
1004
- gasPrice?: `0x${string}` | undefined;
1005
- maxFeePerGas?: `0x${string}` | undefined;
1006
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1007
1007
  accessList?: import("../../index.js").AccessList | undefined;
1008
1008
  chainId?: `0x${string}` | undefined;
1009
1009
  } & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -1208,7 +1208,7 @@ export declare const celoAlfajores: {
1208
1208
  };
1209
1209
  readonly transactionReceipt: {
1210
1210
  exclude: [] | undefined;
1211
- format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransactionReceipt>, import("../utils.js").CeloRpcTransactionReceiptOverrides>) => {
1211
+ format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransactionReceipt>, import("../celo/types.js").CeloRpcTransactionReceiptOverrides>) => {
1212
1212
  blockHash: `0x${string}`;
1213
1213
  blockNumber: bigint;
1214
1214
  contractAddress: `0x${string}` | null;
@@ -1231,7 +1231,7 @@ export declare const celoAlfajores: {
1231
1231
  };
1232
1232
  readonly transactionRequest: {
1233
1233
  exclude: [] | undefined;
1234
- format: (args: import("../index.js").Assign<Partial<import("../../index.js").TransactionRequest>, import("../utils.js").CeloTransactionRequest>) => ({
1234
+ format: (args: import("../index.js").Assign<Partial<import("../../index.js").TransactionRequest>, import("../celo/types.js").CeloTransactionRequest>) => ({
1235
1235
  data?: `0x${string}` | undefined;
1236
1236
  from: `0x${string}`;
1237
1237
  gas?: `0x${string}` | undefined;
@@ -1418,8 +1418,8 @@ export declare const celoAlfajores: {
1418
1418
  fees?: import("../../index.js").ChainFees<{
1419
1419
  readonly block: {
1420
1420
  exclude: ("nonce" | "difficulty" | "gasLimit" | "mixHash" | "uncles")[] | undefined;
1421
- format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcBlock>, import("../utils.js").CeloBlockOverrides & {
1422
- transactions: `0x${string}`[] | import("../utils.js").CeloRpcTransaction[];
1421
+ format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcBlock>, import("../celo/types.js").CeloBlockOverrides & {
1422
+ transactions: `0x${string}`[] | import("../celo/types.js").CeloRpcTransaction[];
1423
1423
  }>) => {
1424
1424
  baseFeePerGas: bigint | null;
1425
1425
  difficulty: bigint;
@@ -1440,7 +1440,7 @@ export declare const celoAlfajores: {
1440
1440
  stateRoot: `0x${string}`;
1441
1441
  timestamp: bigint;
1442
1442
  totalDifficulty: bigint | null;
1443
- transactions: `0x${string}`[] | import("../utils.js").CeloTransaction[];
1443
+ transactions: `0x${string}`[] | import("../celo/types.js").CeloTransaction[];
1444
1444
  transactionsRoot: `0x${string}`;
1445
1445
  uncles: `0x${string}`[];
1446
1446
  randomness: {
@@ -1460,10 +1460,14 @@ export declare const celoAlfajores: {
1460
1460
  exclude: [] | undefined;
1461
1461
  format: (args: ({
1462
1462
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
1463
+ gas?: `0x${string}` | undefined;
1464
+ value?: `0x${string}` | undefined;
1465
+ gasPrice?: `0x${string}` | undefined;
1466
+ maxFeePerGas?: `0x${string}` | undefined;
1467
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1463
1468
  blockHash?: `0x${string}` | null | undefined;
1464
1469
  blockNumber?: `0x${string}` | null | undefined;
1465
1470
  from?: `0x${string}` | undefined;
1466
- gas?: `0x${string}` | undefined;
1467
1471
  hash?: `0x${string}` | undefined;
1468
1472
  input?: `0x${string}` | undefined;
1469
1473
  nonce?: `0x${string}` | undefined;
@@ -1472,10 +1476,6 @@ export declare const celoAlfajores: {
1472
1476
  to?: `0x${string}` | null | undefined;
1473
1477
  transactionIndex?: `0x${string}` | null | undefined;
1474
1478
  v?: `0x${string}` | undefined;
1475
- value?: `0x${string}` | undefined;
1476
- gasPrice?: `0x${string}` | undefined;
1477
- maxFeePerGas?: `0x${string}` | undefined;
1478
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1479
1479
  accessList?: undefined;
1480
1480
  chainId?: `0x${string}` | undefined;
1481
1481
  } & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
@@ -1484,10 +1484,14 @@ export declare const celoAlfajores: {
1484
1484
  gatewayFeeRecipient: `0x${string}` | null;
1485
1485
  }) | ({
1486
1486
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
1487
+ gas?: `0x${string}` | undefined;
1488
+ value?: `0x${string}` | undefined;
1489
+ gasPrice?: `0x${string}` | undefined;
1490
+ maxFeePerGas?: `0x${string}` | undefined;
1491
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1487
1492
  blockHash?: `0x${string}` | null | undefined;
1488
1493
  blockNumber?: `0x${string}` | null | undefined;
1489
1494
  from?: `0x${string}` | undefined;
1490
- gas?: `0x${string}` | undefined;
1491
1495
  hash?: `0x${string}` | undefined;
1492
1496
  input?: `0x${string}` | undefined;
1493
1497
  nonce?: `0x${string}` | undefined;
@@ -1496,10 +1500,6 @@ export declare const celoAlfajores: {
1496
1500
  to?: `0x${string}` | null | undefined;
1497
1501
  transactionIndex?: `0x${string}` | null | undefined;
1498
1502
  v?: `0x${string}` | undefined;
1499
- value?: `0x${string}` | undefined;
1500
- gasPrice?: `0x${string}` | undefined;
1501
- maxFeePerGas?: `0x${string}` | undefined;
1502
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1503
1503
  accessList?: undefined;
1504
1504
  chainId?: `0x${string}` | undefined;
1505
1505
  } & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -1509,10 +1509,14 @@ export declare const celoAlfajores: {
1509
1509
  type: "0x7c";
1510
1510
  }) | ({
1511
1511
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
1512
+ gas?: `0x${string}` | undefined;
1513
+ value?: `0x${string}` | undefined;
1514
+ gasPrice?: `0x${string}` | undefined;
1515
+ maxFeePerGas?: `0x${string}` | undefined;
1516
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1512
1517
  blockHash?: `0x${string}` | null | undefined;
1513
1518
  blockNumber?: `0x${string}` | null | undefined;
1514
1519
  from?: `0x${string}` | undefined;
1515
- gas?: `0x${string}` | undefined;
1516
1520
  hash?: `0x${string}` | undefined;
1517
1521
  input?: `0x${string}` | undefined;
1518
1522
  nonce?: `0x${string}` | undefined;
@@ -1521,10 +1525,6 @@ export declare const celoAlfajores: {
1521
1525
  to?: `0x${string}` | null | undefined;
1522
1526
  transactionIndex?: `0x${string}` | null | undefined;
1523
1527
  v?: `0x${string}` | undefined;
1524
- value?: `0x${string}` | undefined;
1525
- gasPrice?: `0x${string}` | undefined;
1526
- maxFeePerGas?: `0x${string}` | undefined;
1527
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1528
1528
  accessList?: import("../../index.js").AccessList | undefined;
1529
1529
  chainId?: `0x${string}` | undefined;
1530
1530
  } & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
@@ -1533,10 +1533,14 @@ export declare const celoAlfajores: {
1533
1533
  gatewayFeeRecipient: `0x${string}` | null;
1534
1534
  }) | ({
1535
1535
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
1536
+ gas?: `0x${string}` | undefined;
1537
+ value?: `0x${string}` | undefined;
1538
+ gasPrice?: `0x${string}` | undefined;
1539
+ maxFeePerGas?: `0x${string}` | undefined;
1540
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1536
1541
  blockHash?: `0x${string}` | null | undefined;
1537
1542
  blockNumber?: `0x${string}` | null | undefined;
1538
1543
  from?: `0x${string}` | undefined;
1539
- gas?: `0x${string}` | undefined;
1540
1544
  hash?: `0x${string}` | undefined;
1541
1545
  input?: `0x${string}` | undefined;
1542
1546
  nonce?: `0x${string}` | undefined;
@@ -1545,10 +1549,6 @@ export declare const celoAlfajores: {
1545
1549
  to?: `0x${string}` | null | undefined;
1546
1550
  transactionIndex?: `0x${string}` | null | undefined;
1547
1551
  v?: `0x${string}` | undefined;
1548
- value?: `0x${string}` | undefined;
1549
- gasPrice?: `0x${string}` | undefined;
1550
- maxFeePerGas?: `0x${string}` | undefined;
1551
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1552
1552
  accessList?: import("../../index.js").AccessList | undefined;
1553
1553
  chainId?: `0x${string}` | undefined;
1554
1554
  } & Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
@@ -1557,10 +1557,14 @@ export declare const celoAlfajores: {
1557
1557
  gatewayFeeRecipient: `0x${string}` | null;
1558
1558
  }) | ({
1559
1559
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
1560
+ gas?: `0x${string}` | undefined;
1561
+ value?: `0x${string}` | undefined;
1562
+ gasPrice?: `0x${string}` | undefined;
1563
+ maxFeePerGas?: `0x${string}` | undefined;
1564
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1560
1565
  blockHash?: `0x${string}` | null | undefined;
1561
1566
  blockNumber?: `0x${string}` | null | undefined;
1562
1567
  from?: `0x${string}` | undefined;
1563
- gas?: `0x${string}` | undefined;
1564
1568
  hash?: `0x${string}` | undefined;
1565
1569
  input?: `0x${string}` | undefined;
1566
1570
  nonce?: `0x${string}` | undefined;
@@ -1569,10 +1573,6 @@ export declare const celoAlfajores: {
1569
1573
  to?: `0x${string}` | null | undefined;
1570
1574
  transactionIndex?: `0x${string}` | null | undefined;
1571
1575
  v?: `0x${string}` | undefined;
1572
- value?: `0x${string}` | undefined;
1573
- gasPrice?: `0x${string}` | undefined;
1574
- maxFeePerGas?: `0x${string}` | undefined;
1575
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1576
1576
  accessList?: import("../../index.js").AccessList | undefined;
1577
1577
  chainId?: `0x${string}` | undefined;
1578
1578
  } & Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
@@ -1581,10 +1581,14 @@ export declare const celoAlfajores: {
1581
1581
  gatewayFeeRecipient: `0x${string}` | null;
1582
1582
  }) | ({
1583
1583
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
1584
+ gas?: `0x${string}` | undefined;
1585
+ value?: `0x${string}` | undefined;
1586
+ gasPrice?: `0x${string}` | undefined;
1587
+ maxFeePerGas?: `0x${string}` | undefined;
1588
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1584
1589
  blockHash?: `0x${string}` | null | undefined;
1585
1590
  blockNumber?: `0x${string}` | null | undefined;
1586
1591
  from?: `0x${string}` | undefined;
1587
- gas?: `0x${string}` | undefined;
1588
1592
  hash?: `0x${string}` | undefined;
1589
1593
  input?: `0x${string}` | undefined;
1590
1594
  nonce?: `0x${string}` | undefined;
@@ -1593,10 +1597,6 @@ export declare const celoAlfajores: {
1593
1597
  to?: `0x${string}` | null | undefined;
1594
1598
  transactionIndex?: `0x${string}` | null | undefined;
1595
1599
  v?: `0x${string}` | undefined;
1596
- value?: `0x${string}` | undefined;
1597
- gasPrice?: `0x${string}` | undefined;
1598
- maxFeePerGas?: `0x${string}` | undefined;
1599
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1600
1600
  accessList?: import("../../index.js").AccessList | undefined;
1601
1601
  chainId?: `0x${string}` | undefined;
1602
1602
  } & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -1606,10 +1606,14 @@ export declare const celoAlfajores: {
1606
1606
  type: "0x7c";
1607
1607
  }) | ({
1608
1608
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
1609
+ gas?: `0x${string}` | undefined;
1610
+ value?: `0x${string}` | undefined;
1611
+ gasPrice?: `0x${string}` | undefined;
1612
+ maxFeePerGas?: `0x${string}` | undefined;
1613
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1609
1614
  blockHash?: `0x${string}` | null | undefined;
1610
1615
  blockNumber?: `0x${string}` | null | undefined;
1611
1616
  from?: `0x${string}` | undefined;
1612
- gas?: `0x${string}` | undefined;
1613
1617
  hash?: `0x${string}` | undefined;
1614
1618
  input?: `0x${string}` | undefined;
1615
1619
  nonce?: `0x${string}` | undefined;
@@ -1618,10 +1622,6 @@ export declare const celoAlfajores: {
1618
1622
  to?: `0x${string}` | null | undefined;
1619
1623
  transactionIndex?: `0x${string}` | null | undefined;
1620
1624
  v?: `0x${string}` | undefined;
1621
- value?: `0x${string}` | undefined;
1622
- gasPrice?: `0x${string}` | undefined;
1623
- maxFeePerGas?: `0x${string}` | undefined;
1624
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1625
1625
  accessList?: import("../../index.js").AccessList | undefined;
1626
1626
  chainId?: `0x${string}` | undefined;
1627
1627
  } & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
@@ -1630,10 +1630,14 @@ export declare const celoAlfajores: {
1630
1630
  gatewayFeeRecipient: `0x${string}` | null;
1631
1631
  }) | ({
1632
1632
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
1633
+ gas?: `0x${string}` | undefined;
1634
+ value?: `0x${string}` | undefined;
1635
+ gasPrice?: `0x${string}` | undefined;
1636
+ maxFeePerGas?: `0x${string}` | undefined;
1637
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1633
1638
  blockHash?: `0x${string}` | null | undefined;
1634
1639
  blockNumber?: `0x${string}` | null | undefined;
1635
1640
  from?: `0x${string}` | undefined;
1636
- gas?: `0x${string}` | undefined;
1637
1641
  hash?: `0x${string}` | undefined;
1638
1642
  input?: `0x${string}` | undefined;
1639
1643
  nonce?: `0x${string}` | undefined;
@@ -1642,10 +1646,6 @@ export declare const celoAlfajores: {
1642
1646
  to?: `0x${string}` | null | undefined;
1643
1647
  transactionIndex?: `0x${string}` | null | undefined;
1644
1648
  v?: `0x${string}` | undefined;
1645
- value?: `0x${string}` | undefined;
1646
- gasPrice?: `0x${string}` | undefined;
1647
- maxFeePerGas?: `0x${string}` | undefined;
1648
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1649
1649
  accessList?: import("../../index.js").AccessList | undefined;
1650
1650
  chainId?: `0x${string}` | undefined;
1651
1651
  } & Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
@@ -1654,10 +1654,14 @@ export declare const celoAlfajores: {
1654
1654
  gatewayFeeRecipient: `0x${string}` | null;
1655
1655
  }) | ({
1656
1656
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
1657
+ gas?: `0x${string}` | undefined;
1658
+ value?: `0x${string}` | undefined;
1659
+ gasPrice?: `0x${string}` | undefined;
1660
+ maxFeePerGas?: `0x${string}` | undefined;
1661
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1657
1662
  blockHash?: `0x${string}` | null | undefined;
1658
1663
  blockNumber?: `0x${string}` | null | undefined;
1659
1664
  from?: `0x${string}` | undefined;
1660
- gas?: `0x${string}` | undefined;
1661
1665
  hash?: `0x${string}` | undefined;
1662
1666
  input?: `0x${string}` | undefined;
1663
1667
  nonce?: `0x${string}` | undefined;
@@ -1666,10 +1670,6 @@ export declare const celoAlfajores: {
1666
1670
  to?: `0x${string}` | null | undefined;
1667
1671
  transactionIndex?: `0x${string}` | null | undefined;
1668
1672
  v?: `0x${string}` | undefined;
1669
- value?: `0x${string}` | undefined;
1670
- gasPrice?: `0x${string}` | undefined;
1671
- maxFeePerGas?: `0x${string}` | undefined;
1672
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1673
1673
  accessList?: import("../../index.js").AccessList | undefined;
1674
1674
  chainId?: `0x${string}` | undefined;
1675
1675
  } & Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
@@ -1678,10 +1678,14 @@ export declare const celoAlfajores: {
1678
1678
  gatewayFeeRecipient: `0x${string}` | null;
1679
1679
  }) | ({
1680
1680
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
1681
+ gas?: `0x${string}` | undefined;
1682
+ value?: `0x${string}` | undefined;
1683
+ gasPrice?: `0x${string}` | undefined;
1684
+ maxFeePerGas?: `0x${string}` | undefined;
1685
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1681
1686
  blockHash?: `0x${string}` | null | undefined;
1682
1687
  blockNumber?: `0x${string}` | null | undefined;
1683
1688
  from?: `0x${string}` | undefined;
1684
- gas?: `0x${string}` | undefined;
1685
1689
  hash?: `0x${string}` | undefined;
1686
1690
  input?: `0x${string}` | undefined;
1687
1691
  nonce?: `0x${string}` | undefined;
@@ -1690,10 +1694,6 @@ export declare const celoAlfajores: {
1690
1694
  to?: `0x${string}` | null | undefined;
1691
1695
  transactionIndex?: `0x${string}` | null | undefined;
1692
1696
  v?: `0x${string}` | undefined;
1693
- value?: `0x${string}` | undefined;
1694
- gasPrice?: `0x${string}` | undefined;
1695
- maxFeePerGas?: `0x${string}` | undefined;
1696
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1697
1697
  accessList?: import("../../index.js").AccessList | undefined;
1698
1698
  chainId?: `0x${string}` | undefined;
1699
1699
  } & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -1898,7 +1898,7 @@ export declare const celoAlfajores: {
1898
1898
  };
1899
1899
  readonly transactionReceipt: {
1900
1900
  exclude: [] | undefined;
1901
- format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransactionReceipt>, import("../utils.js").CeloRpcTransactionReceiptOverrides>) => {
1901
+ format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransactionReceipt>, import("../celo/types.js").CeloRpcTransactionReceiptOverrides>) => {
1902
1902
  blockHash: `0x${string}`;
1903
1903
  blockNumber: bigint;
1904
1904
  contractAddress: `0x${string}` | null;
@@ -1921,7 +1921,7 @@ export declare const celoAlfajores: {
1921
1921
  };
1922
1922
  readonly transactionRequest: {
1923
1923
  exclude: [] | undefined;
1924
- format: (args: import("../index.js").Assign<Partial<import("../../index.js").TransactionRequest>, import("../utils.js").CeloTransactionRequest>) => ({
1924
+ format: (args: import("../index.js").Assign<Partial<import("../../index.js").TransactionRequest>, import("../celo/types.js").CeloTransactionRequest>) => ({
1925
1925
  data?: `0x${string}` | undefined;
1926
1926
  from: `0x${string}`;
1927
1927
  gas?: `0x${string}` | undefined;