viem 2.0.0-alpha.1 → 2.0.0-alpha.2

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 (183) 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/version.js +1 -1
  20. package/_cjs/{public.js → public/index.js} +29 -29
  21. package/_cjs/public/index.js.map +1 -0
  22. package/_cjs/{test.js → test/index.js} +29 -29
  23. package/_cjs/test/index.js.map +1 -0
  24. package/_cjs/types/eip1193.js.map +1 -1
  25. package/_cjs/utils/rpc.js +6 -3
  26. package/_cjs/utils/rpc.js.map +1 -1
  27. package/_cjs/{wallet.js → wallet/index.js} +11 -11
  28. package/_cjs/wallet/index.js.map +1 -0
  29. package/_cjs/{window.js → window/index.js} +2 -2
  30. package/_cjs/window/index.js.map +1 -0
  31. package/_esm/abi/index.js +7 -0
  32. package/_esm/abi/index.js.map +1 -0
  33. package/_esm/actions/public/estimateFeesPerGas.js +3 -2
  34. package/_esm/actions/public/estimateFeesPerGas.js.map +1 -1
  35. package/_esm/actions/public/waitForTransactionReceipt.js +9 -4
  36. package/_esm/actions/public/waitForTransactionReceipt.js.map +1 -1
  37. package/_esm/actions/wallet/signTypedData.js.map +1 -1
  38. package/_esm/actions/wallet/writeContract.js.map +1 -1
  39. package/_esm/chains/definitions/holesky.js +18 -0
  40. package/_esm/chains/definitions/holesky.js.map +1 -0
  41. package/_esm/chains/index.js +1 -0
  42. package/_esm/chains/index.js.map +1 -1
  43. package/_esm/chains/utils/index.js +5 -0
  44. package/_esm/chains/utils/index.js.map +1 -0
  45. package/_esm/contract/index.js +26 -0
  46. package/_esm/contract/index.js.map +1 -0
  47. package/_esm/ens/index.js +9 -0
  48. package/_esm/ens/index.js.map +1 -0
  49. package/_esm/errors/version.js +1 -1
  50. package/_esm/public/index.js +30 -0
  51. package/_esm/public/index.js.map +1 -0
  52. package/_esm/test/index.js +30 -0
  53. package/_esm/test/index.js.map +1 -0
  54. package/_esm/types/eip1193.js.map +1 -1
  55. package/_esm/utils/rpc.js +6 -2
  56. package/_esm/utils/rpc.js.map +1 -1
  57. package/_esm/wallet/index.js +12 -0
  58. package/_esm/wallet/index.js.map +1 -0
  59. package/_esm/window/index.js +2 -0
  60. package/_esm/window/index.js.map +1 -0
  61. package/_types/{abi.d.ts → abi/index.d.ts} +5 -5
  62. package/_types/abi/index.d.ts.map +1 -0
  63. package/_types/actions/public/estimateFeesPerGas.d.ts.map +1 -1
  64. package/_types/actions/public/waitForTransactionReceipt.d.ts.map +1 -1
  65. package/_types/actions/wallet/signTypedData.d.ts +1 -1
  66. package/_types/actions/wallet/signTypedData.d.ts.map +1 -1
  67. package/_types/actions/wallet/writeContract.d.ts +1 -1
  68. package/_types/actions/wallet/writeContract.d.ts.map +1 -1
  69. package/_types/chains/celo/formatters.d.ts +50 -50
  70. package/_types/chains/definitions/base.d.ts +162 -162
  71. package/_types/chains/definitions/baseGoerli.d.ts +162 -162
  72. package/_types/chains/definitions/celo.d.ts +165 -165
  73. package/_types/chains/definitions/celoAlfajores.d.ts +165 -165
  74. package/_types/chains/definitions/celoCannoli.d.ts +165 -165
  75. package/_types/chains/definitions/holesky.d.ts +24 -0
  76. package/_types/chains/definitions/holesky.d.ts.map +1 -0
  77. package/_types/chains/definitions/optimism.d.ts +162 -162
  78. package/_types/chains/definitions/optimismGoerli.d.ts +162 -162
  79. package/_types/chains/definitions/zora.d.ts +162 -162
  80. package/_types/chains/definitions/zoraTestnet.d.ts +162 -162
  81. package/_types/chains/index.d.ts +1 -0
  82. package/_types/chains/index.d.ts.map +1 -1
  83. package/_types/chains/optimism/formatters.d.ts +50 -50
  84. package/_types/chains/{utils.d.ts → utils/index.d.ts} +7 -7
  85. package/_types/chains/utils/index.d.ts.map +1 -0
  86. package/_types/clients/transports/webSocket.d.ts +2 -1
  87. package/_types/clients/transports/webSocket.d.ts.map +1 -1
  88. package/_types/{contract.d.ts → contract/index.d.ts} +26 -26
  89. package/_types/contract/index.d.ts.map +1 -0
  90. package/_types/ens/index.d.ts +9 -0
  91. package/_types/ens/index.d.ts.map +1 -0
  92. package/_types/errors/version.d.ts +1 -1
  93. package/_types/public/index.d.ts +33 -0
  94. package/_types/public/index.d.ts.map +1 -0
  95. package/_types/test/index.d.ts +29 -0
  96. package/_types/test/index.d.ts.map +1 -0
  97. package/_types/types/contract.d.ts +1 -1
  98. package/_types/types/contract.d.ts.map +1 -1
  99. package/_types/types/eip1193.d.ts +2 -2
  100. package/_types/types/eip1193.d.ts.map +1 -1
  101. package/_types/types/typedData.d.ts +2 -2
  102. package/_types/types/typedData.d.ts.map +1 -1
  103. package/_types/utils/formatters/transaction.d.ts +1 -1
  104. package/_types/utils/formatters/transactionRequest.d.ts +1 -1
  105. package/_types/utils/rpc.d.ts +3 -3
  106. package/_types/utils/rpc.d.ts.map +1 -1
  107. package/_types/wallet/index.d.ts +11 -0
  108. package/_types/wallet/index.d.ts.map +1 -0
  109. package/_types/window/index.d.ts +2 -0
  110. package/_types/window/index.d.ts.map +1 -0
  111. package/{abi.ts → abi/index.ts} +15 -13
  112. package/abi/package.json +6 -0
  113. package/accounts/package.json +6 -0
  114. package/actions/package.json +6 -0
  115. package/actions/public/estimateFeesPerGas.ts +3 -2
  116. package/actions/public/waitForTransactionReceipt.ts +13 -4
  117. package/actions/wallet/signTypedData.ts +4 -2
  118. package/actions/wallet/writeContract.ts +4 -1
  119. package/chains/definitions/holesky.ts +18 -0
  120. package/chains/index.ts +1 -0
  121. package/chains/package.json +6 -0
  122. package/chains/{utils.ts → utils/index.ts} +6 -6
  123. package/chains/utils/package.json +6 -0
  124. package/clients/package.json +6 -0
  125. package/clients/transports/webSocket.ts +1 -1
  126. package/{contract.ts → contract/index.ts} +27 -25
  127. package/contract/package.json +6 -0
  128. package/{ens.ts → ens/index.ts} +8 -8
  129. package/ens/package.json +6 -0
  130. package/errors/version.ts +1 -1
  131. package/package.json +35 -34
  132. package/{public.ts → public/index.ts} +30 -28
  133. package/public/package.json +6 -0
  134. package/test/index.ts +85 -0
  135. package/test/package.json +6 -0
  136. package/types/contract.ts +1 -1
  137. package/types/eip1193.ts +5 -3
  138. package/types/typedData.ts +3 -2
  139. package/utils/package.json +6 -0
  140. package/utils/rpc.ts +6 -3
  141. package/{wallet.ts → wallet/index.ts} +15 -10
  142. package/wallet/package.json +6 -0
  143. package/window/index.ts +1 -0
  144. package/window/package.json +6 -0
  145. package/_cjs/abi.js.map +0 -1
  146. package/_cjs/chains/utils.js.map +0 -1
  147. package/_cjs/contract.js.map +0 -1
  148. package/_cjs/ens.js.map +0 -1
  149. package/_cjs/public.js.map +0 -1
  150. package/_cjs/test.js.map +0 -1
  151. package/_cjs/wallet.js.map +0 -1
  152. package/_cjs/window.js.map +0 -1
  153. package/_esm/abi.js +0 -6
  154. package/_esm/abi.js.map +0 -1
  155. package/_esm/chains/utils.js +0 -5
  156. package/_esm/chains/utils.js.map +0 -1
  157. package/_esm/contract.js +0 -25
  158. package/_esm/contract.js.map +0 -1
  159. package/_esm/ens.js +0 -9
  160. package/_esm/ens.js.map +0 -1
  161. package/_esm/public.js +0 -29
  162. package/_esm/public.js.map +0 -1
  163. package/_esm/test.js +0 -29
  164. package/_esm/test.js.map +0 -1
  165. package/_esm/wallet.js +0 -11
  166. package/_esm/wallet.js.map +0 -1
  167. package/_esm/window.js +0 -2
  168. package/_esm/window.js.map +0 -1
  169. package/_types/abi.d.ts.map +0 -1
  170. package/_types/chains/utils.d.ts.map +0 -1
  171. package/_types/contract.d.ts.map +0 -1
  172. package/_types/ens.d.ts +0 -9
  173. package/_types/ens.d.ts.map +0 -1
  174. package/_types/public.d.ts +0 -33
  175. package/_types/public.d.ts.map +0 -1
  176. package/_types/test.d.ts +0 -29
  177. package/_types/test.d.ts.map +0 -1
  178. package/_types/wallet.d.ts +0 -11
  179. package/_types/wallet.d.ts.map +0 -1
  180. package/_types/window.d.ts +0 -2
  181. package/_types/window.d.ts.map +0 -1
  182. package/test.ts +0 -83
  183. package/window.ts +0 -1
@@ -31,8 +31,8 @@ export declare const celoCannoli: {
31
31
  formatters?: {
32
32
  readonly block: {
33
33
  exclude: ("nonce" | "difficulty" | "gasLimit" | "mixHash" | "uncles")[] | undefined;
34
- format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcBlock>, import("../utils.js").CeloBlockOverrides & {
35
- transactions: `0x${string}`[] | import("../utils.js").CeloRpcTransaction[];
34
+ format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcBlock>, import("../celo/types.js").CeloBlockOverrides & {
35
+ transactions: `0x${string}`[] | import("../celo/types.js").CeloRpcTransaction[];
36
36
  }>) => {
37
37
  baseFeePerGas: bigint | null;
38
38
  difficulty: bigint;
@@ -53,7 +53,7 @@ export declare const celoCannoli: {
53
53
  stateRoot: `0x${string}`;
54
54
  timestamp: bigint;
55
55
  totalDifficulty: bigint | null;
56
- transactions: `0x${string}`[] | import("../utils.js").CeloTransaction[];
56
+ transactions: `0x${string}`[] | import("../celo/types.js").CeloTransaction[];
57
57
  transactionsRoot: `0x${string}`;
58
58
  uncles: `0x${string}`[];
59
59
  randomness: {
@@ -73,10 +73,14 @@ export declare const celoCannoli: {
73
73
  exclude: [] | undefined;
74
74
  format: (args: ({
75
75
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
76
+ gas?: `0x${string}` | undefined;
77
+ value?: `0x${string}` | undefined;
78
+ gasPrice?: `0x${string}` | undefined;
79
+ maxFeePerGas?: `0x${string}` | undefined;
80
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
76
81
  blockHash?: `0x${string}` | null | undefined;
77
82
  blockNumber?: `0x${string}` | null | undefined;
78
83
  from?: `0x${string}` | undefined;
79
- gas?: `0x${string}` | undefined;
80
84
  hash?: `0x${string}` | undefined;
81
85
  input?: `0x${string}` | undefined;
82
86
  nonce?: `0x${string}` | undefined;
@@ -85,10 +89,6 @@ export declare const celoCannoli: {
85
89
  to?: `0x${string}` | null | undefined;
86
90
  transactionIndex?: `0x${string}` | null | undefined;
87
91
  v?: `0x${string}` | undefined;
88
- value?: `0x${string}` | undefined;
89
- gasPrice?: `0x${string}` | undefined;
90
- maxFeePerGas?: `0x${string}` | undefined;
91
- maxPriorityFeePerGas?: `0x${string}` | undefined;
92
92
  accessList?: undefined;
93
93
  chainId?: `0x${string}` | undefined;
94
94
  } & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
@@ -97,10 +97,14 @@ export declare const celoCannoli: {
97
97
  gatewayFeeRecipient: `0x${string}` | null;
98
98
  }) | ({
99
99
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
100
+ gas?: `0x${string}` | undefined;
101
+ value?: `0x${string}` | undefined;
102
+ gasPrice?: `0x${string}` | undefined;
103
+ maxFeePerGas?: `0x${string}` | undefined;
104
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
100
105
  blockHash?: `0x${string}` | null | undefined;
101
106
  blockNumber?: `0x${string}` | null | undefined;
102
107
  from?: `0x${string}` | undefined;
103
- gas?: `0x${string}` | undefined;
104
108
  hash?: `0x${string}` | undefined;
105
109
  input?: `0x${string}` | undefined;
106
110
  nonce?: `0x${string}` | undefined;
@@ -109,10 +113,6 @@ export declare const celoCannoli: {
109
113
  to?: `0x${string}` | null | undefined;
110
114
  transactionIndex?: `0x${string}` | null | undefined;
111
115
  v?: `0x${string}` | undefined;
112
- value?: `0x${string}` | undefined;
113
- gasPrice?: `0x${string}` | undefined;
114
- maxFeePerGas?: `0x${string}` | undefined;
115
- maxPriorityFeePerGas?: `0x${string}` | undefined;
116
116
  accessList?: undefined;
117
117
  chainId?: `0x${string}` | undefined;
118
118
  } & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -122,10 +122,14 @@ export declare const celoCannoli: {
122
122
  type: "0x7c";
123
123
  }) | ({
124
124
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
125
+ gas?: `0x${string}` | undefined;
126
+ value?: `0x${string}` | undefined;
127
+ gasPrice?: `0x${string}` | undefined;
128
+ maxFeePerGas?: `0x${string}` | undefined;
129
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
125
130
  blockHash?: `0x${string}` | null | undefined;
126
131
  blockNumber?: `0x${string}` | null | undefined;
127
132
  from?: `0x${string}` | undefined;
128
- gas?: `0x${string}` | undefined;
129
133
  hash?: `0x${string}` | undefined;
130
134
  input?: `0x${string}` | undefined;
131
135
  nonce?: `0x${string}` | undefined;
@@ -134,10 +138,6 @@ export declare const celoCannoli: {
134
138
  to?: `0x${string}` | null | undefined;
135
139
  transactionIndex?: `0x${string}` | null | undefined;
136
140
  v?: `0x${string}` | undefined;
137
- value?: `0x${string}` | undefined;
138
- gasPrice?: `0x${string}` | undefined;
139
- maxFeePerGas?: `0x${string}` | undefined;
140
- maxPriorityFeePerGas?: `0x${string}` | undefined;
141
141
  accessList?: import("../../index.js").AccessList | undefined;
142
142
  chainId?: `0x${string}` | undefined;
143
143
  } & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
@@ -146,10 +146,14 @@ export declare const celoCannoli: {
146
146
  gatewayFeeRecipient: `0x${string}` | null;
147
147
  }) | ({
148
148
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
149
+ gas?: `0x${string}` | undefined;
150
+ value?: `0x${string}` | undefined;
151
+ gasPrice?: `0x${string}` | undefined;
152
+ maxFeePerGas?: `0x${string}` | undefined;
153
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
149
154
  blockHash?: `0x${string}` | null | undefined;
150
155
  blockNumber?: `0x${string}` | null | undefined;
151
156
  from?: `0x${string}` | undefined;
152
- gas?: `0x${string}` | undefined;
153
157
  hash?: `0x${string}` | undefined;
154
158
  input?: `0x${string}` | undefined;
155
159
  nonce?: `0x${string}` | undefined;
@@ -158,10 +162,6 @@ export declare const celoCannoli: {
158
162
  to?: `0x${string}` | null | undefined;
159
163
  transactionIndex?: `0x${string}` | null | undefined;
160
164
  v?: `0x${string}` | undefined;
161
- value?: `0x${string}` | undefined;
162
- gasPrice?: `0x${string}` | undefined;
163
- maxFeePerGas?: `0x${string}` | undefined;
164
- maxPriorityFeePerGas?: `0x${string}` | undefined;
165
165
  accessList?: import("../../index.js").AccessList | undefined;
166
166
  chainId?: `0x${string}` | undefined;
167
167
  } & Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
@@ -170,10 +170,14 @@ export declare const celoCannoli: {
170
170
  gatewayFeeRecipient: `0x${string}` | null;
171
171
  }) | ({
172
172
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
173
+ gas?: `0x${string}` | undefined;
174
+ value?: `0x${string}` | undefined;
175
+ gasPrice?: `0x${string}` | undefined;
176
+ maxFeePerGas?: `0x${string}` | undefined;
177
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
173
178
  blockHash?: `0x${string}` | null | undefined;
174
179
  blockNumber?: `0x${string}` | null | undefined;
175
180
  from?: `0x${string}` | undefined;
176
- gas?: `0x${string}` | undefined;
177
181
  hash?: `0x${string}` | undefined;
178
182
  input?: `0x${string}` | undefined;
179
183
  nonce?: `0x${string}` | undefined;
@@ -182,10 +186,6 @@ export declare const celoCannoli: {
182
186
  to?: `0x${string}` | null | undefined;
183
187
  transactionIndex?: `0x${string}` | null | undefined;
184
188
  v?: `0x${string}` | undefined;
185
- value?: `0x${string}` | undefined;
186
- gasPrice?: `0x${string}` | undefined;
187
- maxFeePerGas?: `0x${string}` | undefined;
188
- maxPriorityFeePerGas?: `0x${string}` | undefined;
189
189
  accessList?: import("../../index.js").AccessList | undefined;
190
190
  chainId?: `0x${string}` | undefined;
191
191
  } & Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
@@ -194,10 +194,14 @@ export declare const celoCannoli: {
194
194
  gatewayFeeRecipient: `0x${string}` | null;
195
195
  }) | ({
196
196
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
197
+ gas?: `0x${string}` | undefined;
198
+ value?: `0x${string}` | undefined;
199
+ gasPrice?: `0x${string}` | undefined;
200
+ maxFeePerGas?: `0x${string}` | undefined;
201
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
197
202
  blockHash?: `0x${string}` | null | undefined;
198
203
  blockNumber?: `0x${string}` | null | undefined;
199
204
  from?: `0x${string}` | undefined;
200
- gas?: `0x${string}` | undefined;
201
205
  hash?: `0x${string}` | undefined;
202
206
  input?: `0x${string}` | undefined;
203
207
  nonce?: `0x${string}` | undefined;
@@ -206,10 +210,6 @@ export declare const celoCannoli: {
206
210
  to?: `0x${string}` | null | undefined;
207
211
  transactionIndex?: `0x${string}` | null | undefined;
208
212
  v?: `0x${string}` | undefined;
209
- value?: `0x${string}` | undefined;
210
- gasPrice?: `0x${string}` | undefined;
211
- maxFeePerGas?: `0x${string}` | undefined;
212
- maxPriorityFeePerGas?: `0x${string}` | undefined;
213
213
  accessList?: import("../../index.js").AccessList | undefined;
214
214
  chainId?: `0x${string}` | undefined;
215
215
  } & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -219,10 +219,14 @@ export declare const celoCannoli: {
219
219
  type: "0x7c";
220
220
  }) | ({
221
221
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
222
+ gas?: `0x${string}` | undefined;
223
+ value?: `0x${string}` | undefined;
224
+ gasPrice?: `0x${string}` | undefined;
225
+ maxFeePerGas?: `0x${string}` | undefined;
226
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
222
227
  blockHash?: `0x${string}` | null | undefined;
223
228
  blockNumber?: `0x${string}` | null | undefined;
224
229
  from?: `0x${string}` | undefined;
225
- gas?: `0x${string}` | undefined;
226
230
  hash?: `0x${string}` | undefined;
227
231
  input?: `0x${string}` | undefined;
228
232
  nonce?: `0x${string}` | undefined;
@@ -231,10 +235,6 @@ export declare const celoCannoli: {
231
235
  to?: `0x${string}` | null | undefined;
232
236
  transactionIndex?: `0x${string}` | null | undefined;
233
237
  v?: `0x${string}` | undefined;
234
- value?: `0x${string}` | undefined;
235
- gasPrice?: `0x${string}` | undefined;
236
- maxFeePerGas?: `0x${string}` | undefined;
237
- maxPriorityFeePerGas?: `0x${string}` | undefined;
238
238
  accessList?: import("../../index.js").AccessList | undefined;
239
239
  chainId?: `0x${string}` | undefined;
240
240
  } & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
@@ -243,10 +243,14 @@ export declare const celoCannoli: {
243
243
  gatewayFeeRecipient: `0x${string}` | null;
244
244
  }) | ({
245
245
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
246
+ gas?: `0x${string}` | undefined;
247
+ value?: `0x${string}` | undefined;
248
+ gasPrice?: `0x${string}` | undefined;
249
+ maxFeePerGas?: `0x${string}` | undefined;
250
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
246
251
  blockHash?: `0x${string}` | null | undefined;
247
252
  blockNumber?: `0x${string}` | null | undefined;
248
253
  from?: `0x${string}` | undefined;
249
- gas?: `0x${string}` | undefined;
250
254
  hash?: `0x${string}` | undefined;
251
255
  input?: `0x${string}` | undefined;
252
256
  nonce?: `0x${string}` | undefined;
@@ -255,10 +259,6 @@ export declare const celoCannoli: {
255
259
  to?: `0x${string}` | null | undefined;
256
260
  transactionIndex?: `0x${string}` | null | undefined;
257
261
  v?: `0x${string}` | undefined;
258
- value?: `0x${string}` | undefined;
259
- gasPrice?: `0x${string}` | undefined;
260
- maxFeePerGas?: `0x${string}` | undefined;
261
- maxPriorityFeePerGas?: `0x${string}` | undefined;
262
262
  accessList?: import("../../index.js").AccessList | undefined;
263
263
  chainId?: `0x${string}` | undefined;
264
264
  } & Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
@@ -267,10 +267,14 @@ export declare const celoCannoli: {
267
267
  gatewayFeeRecipient: `0x${string}` | null;
268
268
  }) | ({
269
269
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
270
+ gas?: `0x${string}` | undefined;
271
+ value?: `0x${string}` | undefined;
272
+ gasPrice?: `0x${string}` | undefined;
273
+ maxFeePerGas?: `0x${string}` | undefined;
274
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
270
275
  blockHash?: `0x${string}` | null | undefined;
271
276
  blockNumber?: `0x${string}` | null | undefined;
272
277
  from?: `0x${string}` | undefined;
273
- gas?: `0x${string}` | undefined;
274
278
  hash?: `0x${string}` | undefined;
275
279
  input?: `0x${string}` | undefined;
276
280
  nonce?: `0x${string}` | undefined;
@@ -279,10 +283,6 @@ export declare const celoCannoli: {
279
283
  to?: `0x${string}` | null | undefined;
280
284
  transactionIndex?: `0x${string}` | null | undefined;
281
285
  v?: `0x${string}` | undefined;
282
- value?: `0x${string}` | undefined;
283
- gasPrice?: `0x${string}` | undefined;
284
- maxFeePerGas?: `0x${string}` | undefined;
285
- maxPriorityFeePerGas?: `0x${string}` | undefined;
286
286
  accessList?: import("../../index.js").AccessList | undefined;
287
287
  chainId?: `0x${string}` | undefined;
288
288
  } & Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
@@ -291,10 +291,14 @@ export declare const celoCannoli: {
291
291
  gatewayFeeRecipient: `0x${string}` | null;
292
292
  }) | ({
293
293
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
294
+ gas?: `0x${string}` | undefined;
295
+ value?: `0x${string}` | undefined;
296
+ gasPrice?: `0x${string}` | undefined;
297
+ maxFeePerGas?: `0x${string}` | undefined;
298
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
294
299
  blockHash?: `0x${string}` | null | undefined;
295
300
  blockNumber?: `0x${string}` | null | undefined;
296
301
  from?: `0x${string}` | undefined;
297
- gas?: `0x${string}` | undefined;
298
302
  hash?: `0x${string}` | undefined;
299
303
  input?: `0x${string}` | undefined;
300
304
  nonce?: `0x${string}` | undefined;
@@ -303,10 +307,6 @@ export declare const celoCannoli: {
303
307
  to?: `0x${string}` | null | undefined;
304
308
  transactionIndex?: `0x${string}` | null | undefined;
305
309
  v?: `0x${string}` | undefined;
306
- value?: `0x${string}` | undefined;
307
- gasPrice?: `0x${string}` | undefined;
308
- maxFeePerGas?: `0x${string}` | undefined;
309
- maxPriorityFeePerGas?: `0x${string}` | undefined;
310
310
  accessList?: import("../../index.js").AccessList | undefined;
311
311
  chainId?: `0x${string}` | undefined;
312
312
  } & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -511,7 +511,7 @@ export declare const celoCannoli: {
511
511
  };
512
512
  readonly transactionReceipt: {
513
513
  exclude: [] | undefined;
514
- format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransactionReceipt>, import("../utils.js").CeloRpcTransactionReceiptOverrides>) => {
514
+ format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransactionReceipt>, import("../celo/types.js").CeloRpcTransactionReceiptOverrides>) => {
515
515
  blockHash: `0x${string}`;
516
516
  blockNumber: bigint;
517
517
  contractAddress: `0x${string}` | null;
@@ -534,7 +534,7 @@ export declare const celoCannoli: {
534
534
  };
535
535
  readonly transactionRequest: {
536
536
  exclude: [] | undefined;
537
- format: (args: import("../index.js").Assign<Partial<import("../../index.js").TransactionRequest>, import("../utils.js").CeloTransactionRequest>) => ({
537
+ format: (args: import("../index.js").Assign<Partial<import("../../index.js").TransactionRequest>, import("../celo/types.js").CeloTransactionRequest>) => ({
538
538
  data?: `0x${string}` | undefined;
539
539
  from: `0x${string}`;
540
540
  gas?: `0x${string}` | undefined;
@@ -721,8 +721,8 @@ export declare const celoCannoli: {
721
721
  serializers?: import("../../index.js").ChainSerializers<{
722
722
  readonly block: {
723
723
  exclude: ("nonce" | "difficulty" | "gasLimit" | "mixHash" | "uncles")[] | undefined;
724
- format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcBlock>, import("../utils.js").CeloBlockOverrides & {
725
- transactions: `0x${string}`[] | import("../utils.js").CeloRpcTransaction[];
724
+ format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcBlock>, import("../celo/types.js").CeloBlockOverrides & {
725
+ transactions: `0x${string}`[] | import("../celo/types.js").CeloRpcTransaction[];
726
726
  }>) => {
727
727
  baseFeePerGas: bigint | null;
728
728
  difficulty: bigint;
@@ -743,7 +743,7 @@ export declare const celoCannoli: {
743
743
  stateRoot: `0x${string}`;
744
744
  timestamp: bigint;
745
745
  totalDifficulty: bigint | null;
746
- transactions: `0x${string}`[] | import("../utils.js").CeloTransaction[];
746
+ transactions: `0x${string}`[] | import("../celo/types.js").CeloTransaction[];
747
747
  transactionsRoot: `0x${string}`;
748
748
  uncles: `0x${string}`[];
749
749
  randomness: {
@@ -763,10 +763,14 @@ export declare const celoCannoli: {
763
763
  exclude: [] | undefined;
764
764
  format: (args: ({
765
765
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
766
+ gas?: `0x${string}` | undefined;
767
+ value?: `0x${string}` | undefined;
768
+ gasPrice?: `0x${string}` | undefined;
769
+ maxFeePerGas?: `0x${string}` | undefined;
770
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
766
771
  blockHash?: `0x${string}` | null | undefined;
767
772
  blockNumber?: `0x${string}` | null | undefined;
768
773
  from?: `0x${string}` | undefined;
769
- gas?: `0x${string}` | undefined;
770
774
  hash?: `0x${string}` | undefined;
771
775
  input?: `0x${string}` | undefined;
772
776
  nonce?: `0x${string}` | undefined;
@@ -775,10 +779,6 @@ export declare const celoCannoli: {
775
779
  to?: `0x${string}` | null | undefined;
776
780
  transactionIndex?: `0x${string}` | null | undefined;
777
781
  v?: `0x${string}` | undefined;
778
- value?: `0x${string}` | undefined;
779
- gasPrice?: `0x${string}` | undefined;
780
- maxFeePerGas?: `0x${string}` | undefined;
781
- maxPriorityFeePerGas?: `0x${string}` | undefined;
782
782
  accessList?: undefined;
783
783
  chainId?: `0x${string}` | undefined;
784
784
  } & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
@@ -787,10 +787,14 @@ export declare const celoCannoli: {
787
787
  gatewayFeeRecipient: `0x${string}` | null;
788
788
  }) | ({
789
789
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
790
+ gas?: `0x${string}` | undefined;
791
+ value?: `0x${string}` | undefined;
792
+ gasPrice?: `0x${string}` | undefined;
793
+ maxFeePerGas?: `0x${string}` | undefined;
794
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
790
795
  blockHash?: `0x${string}` | null | undefined;
791
796
  blockNumber?: `0x${string}` | null | undefined;
792
797
  from?: `0x${string}` | undefined;
793
- gas?: `0x${string}` | undefined;
794
798
  hash?: `0x${string}` | undefined;
795
799
  input?: `0x${string}` | undefined;
796
800
  nonce?: `0x${string}` | undefined;
@@ -799,10 +803,6 @@ export declare const celoCannoli: {
799
803
  to?: `0x${string}` | null | undefined;
800
804
  transactionIndex?: `0x${string}` | null | undefined;
801
805
  v?: `0x${string}` | undefined;
802
- value?: `0x${string}` | undefined;
803
- gasPrice?: `0x${string}` | undefined;
804
- maxFeePerGas?: `0x${string}` | undefined;
805
- maxPriorityFeePerGas?: `0x${string}` | undefined;
806
806
  accessList?: undefined;
807
807
  chainId?: `0x${string}` | undefined;
808
808
  } & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -812,10 +812,14 @@ export declare const celoCannoli: {
812
812
  type: "0x7c";
813
813
  }) | ({
814
814
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
815
+ gas?: `0x${string}` | undefined;
816
+ value?: `0x${string}` | undefined;
817
+ gasPrice?: `0x${string}` | undefined;
818
+ maxFeePerGas?: `0x${string}` | undefined;
819
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
815
820
  blockHash?: `0x${string}` | null | undefined;
816
821
  blockNumber?: `0x${string}` | null | undefined;
817
822
  from?: `0x${string}` | undefined;
818
- gas?: `0x${string}` | undefined;
819
823
  hash?: `0x${string}` | undefined;
820
824
  input?: `0x${string}` | undefined;
821
825
  nonce?: `0x${string}` | undefined;
@@ -824,10 +828,6 @@ export declare const celoCannoli: {
824
828
  to?: `0x${string}` | null | undefined;
825
829
  transactionIndex?: `0x${string}` | null | undefined;
826
830
  v?: `0x${string}` | undefined;
827
- value?: `0x${string}` | undefined;
828
- gasPrice?: `0x${string}` | undefined;
829
- maxFeePerGas?: `0x${string}` | undefined;
830
- maxPriorityFeePerGas?: `0x${string}` | undefined;
831
831
  accessList?: import("../../index.js").AccessList | undefined;
832
832
  chainId?: `0x${string}` | undefined;
833
833
  } & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
@@ -836,10 +836,14 @@ export declare const celoCannoli: {
836
836
  gatewayFeeRecipient: `0x${string}` | null;
837
837
  }) | ({
838
838
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
839
+ gas?: `0x${string}` | undefined;
840
+ value?: `0x${string}` | undefined;
841
+ gasPrice?: `0x${string}` | undefined;
842
+ maxFeePerGas?: `0x${string}` | undefined;
843
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
839
844
  blockHash?: `0x${string}` | null | undefined;
840
845
  blockNumber?: `0x${string}` | null | undefined;
841
846
  from?: `0x${string}` | undefined;
842
- gas?: `0x${string}` | undefined;
843
847
  hash?: `0x${string}` | undefined;
844
848
  input?: `0x${string}` | undefined;
845
849
  nonce?: `0x${string}` | undefined;
@@ -848,10 +852,6 @@ export declare const celoCannoli: {
848
852
  to?: `0x${string}` | null | undefined;
849
853
  transactionIndex?: `0x${string}` | null | undefined;
850
854
  v?: `0x${string}` | undefined;
851
- value?: `0x${string}` | undefined;
852
- gasPrice?: `0x${string}` | undefined;
853
- maxFeePerGas?: `0x${string}` | undefined;
854
- maxPriorityFeePerGas?: `0x${string}` | undefined;
855
855
  accessList?: import("../../index.js").AccessList | undefined;
856
856
  chainId?: `0x${string}` | undefined;
857
857
  } & Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
@@ -860,10 +860,14 @@ export declare const celoCannoli: {
860
860
  gatewayFeeRecipient: `0x${string}` | null;
861
861
  }) | ({
862
862
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
863
+ gas?: `0x${string}` | undefined;
864
+ value?: `0x${string}` | undefined;
865
+ gasPrice?: `0x${string}` | undefined;
866
+ maxFeePerGas?: `0x${string}` | undefined;
867
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
863
868
  blockHash?: `0x${string}` | null | undefined;
864
869
  blockNumber?: `0x${string}` | null | undefined;
865
870
  from?: `0x${string}` | undefined;
866
- gas?: `0x${string}` | undefined;
867
871
  hash?: `0x${string}` | undefined;
868
872
  input?: `0x${string}` | undefined;
869
873
  nonce?: `0x${string}` | undefined;
@@ -872,10 +876,6 @@ export declare const celoCannoli: {
872
876
  to?: `0x${string}` | null | undefined;
873
877
  transactionIndex?: `0x${string}` | null | undefined;
874
878
  v?: `0x${string}` | undefined;
875
- value?: `0x${string}` | undefined;
876
- gasPrice?: `0x${string}` | undefined;
877
- maxFeePerGas?: `0x${string}` | undefined;
878
- maxPriorityFeePerGas?: `0x${string}` | undefined;
879
879
  accessList?: import("../../index.js").AccessList | undefined;
880
880
  chainId?: `0x${string}` | undefined;
881
881
  } & Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
@@ -884,10 +884,14 @@ export declare const celoCannoli: {
884
884
  gatewayFeeRecipient: `0x${string}` | null;
885
885
  }) | ({
886
886
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
887
+ gas?: `0x${string}` | undefined;
888
+ value?: `0x${string}` | undefined;
889
+ gasPrice?: `0x${string}` | undefined;
890
+ maxFeePerGas?: `0x${string}` | undefined;
891
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
887
892
  blockHash?: `0x${string}` | null | undefined;
888
893
  blockNumber?: `0x${string}` | null | undefined;
889
894
  from?: `0x${string}` | undefined;
890
- gas?: `0x${string}` | undefined;
891
895
  hash?: `0x${string}` | undefined;
892
896
  input?: `0x${string}` | undefined;
893
897
  nonce?: `0x${string}` | undefined;
@@ -896,10 +900,6 @@ export declare const celoCannoli: {
896
900
  to?: `0x${string}` | null | undefined;
897
901
  transactionIndex?: `0x${string}` | null | undefined;
898
902
  v?: `0x${string}` | undefined;
899
- value?: `0x${string}` | undefined;
900
- gasPrice?: `0x${string}` | undefined;
901
- maxFeePerGas?: `0x${string}` | undefined;
902
- maxPriorityFeePerGas?: `0x${string}` | undefined;
903
903
  accessList?: import("../../index.js").AccessList | undefined;
904
904
  chainId?: `0x${string}` | undefined;
905
905
  } & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -909,10 +909,14 @@ export declare const celoCannoli: {
909
909
  type: "0x7c";
910
910
  }) | ({
911
911
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
912
+ gas?: `0x${string}` | undefined;
913
+ value?: `0x${string}` | undefined;
914
+ gasPrice?: `0x${string}` | undefined;
915
+ maxFeePerGas?: `0x${string}` | undefined;
916
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
912
917
  blockHash?: `0x${string}` | null | undefined;
913
918
  blockNumber?: `0x${string}` | null | undefined;
914
919
  from?: `0x${string}` | undefined;
915
- gas?: `0x${string}` | undefined;
916
920
  hash?: `0x${string}` | undefined;
917
921
  input?: `0x${string}` | undefined;
918
922
  nonce?: `0x${string}` | undefined;
@@ -921,10 +925,6 @@ export declare const celoCannoli: {
921
925
  to?: `0x${string}` | null | undefined;
922
926
  transactionIndex?: `0x${string}` | null | undefined;
923
927
  v?: `0x${string}` | undefined;
924
- value?: `0x${string}` | undefined;
925
- gasPrice?: `0x${string}` | undefined;
926
- maxFeePerGas?: `0x${string}` | undefined;
927
- maxPriorityFeePerGas?: `0x${string}` | undefined;
928
928
  accessList?: import("../../index.js").AccessList | undefined;
929
929
  chainId?: `0x${string}` | undefined;
930
930
  } & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
@@ -933,10 +933,14 @@ export declare const celoCannoli: {
933
933
  gatewayFeeRecipient: `0x${string}` | null;
934
934
  }) | ({
935
935
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
936
+ gas?: `0x${string}` | undefined;
937
+ value?: `0x${string}` | undefined;
938
+ gasPrice?: `0x${string}` | undefined;
939
+ maxFeePerGas?: `0x${string}` | undefined;
940
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
936
941
  blockHash?: `0x${string}` | null | undefined;
937
942
  blockNumber?: `0x${string}` | null | undefined;
938
943
  from?: `0x${string}` | undefined;
939
- gas?: `0x${string}` | undefined;
940
944
  hash?: `0x${string}` | undefined;
941
945
  input?: `0x${string}` | undefined;
942
946
  nonce?: `0x${string}` | undefined;
@@ -945,10 +949,6 @@ export declare const celoCannoli: {
945
949
  to?: `0x${string}` | null | undefined;
946
950
  transactionIndex?: `0x${string}` | null | undefined;
947
951
  v?: `0x${string}` | undefined;
948
- value?: `0x${string}` | undefined;
949
- gasPrice?: `0x${string}` | undefined;
950
- maxFeePerGas?: `0x${string}` | undefined;
951
- maxPriorityFeePerGas?: `0x${string}` | undefined;
952
952
  accessList?: import("../../index.js").AccessList | undefined;
953
953
  chainId?: `0x${string}` | undefined;
954
954
  } & Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
@@ -957,10 +957,14 @@ export declare const celoCannoli: {
957
957
  gatewayFeeRecipient: `0x${string}` | null;
958
958
  }) | ({
959
959
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
960
+ gas?: `0x${string}` | undefined;
961
+ value?: `0x${string}` | undefined;
962
+ gasPrice?: `0x${string}` | undefined;
963
+ maxFeePerGas?: `0x${string}` | undefined;
964
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
960
965
  blockHash?: `0x${string}` | null | undefined;
961
966
  blockNumber?: `0x${string}` | null | undefined;
962
967
  from?: `0x${string}` | undefined;
963
- gas?: `0x${string}` | undefined;
964
968
  hash?: `0x${string}` | undefined;
965
969
  input?: `0x${string}` | undefined;
966
970
  nonce?: `0x${string}` | undefined;
@@ -969,10 +973,6 @@ export declare const celoCannoli: {
969
973
  to?: `0x${string}` | null | undefined;
970
974
  transactionIndex?: `0x${string}` | null | undefined;
971
975
  v?: `0x${string}` | undefined;
972
- value?: `0x${string}` | undefined;
973
- gasPrice?: `0x${string}` | undefined;
974
- maxFeePerGas?: `0x${string}` | undefined;
975
- maxPriorityFeePerGas?: `0x${string}` | undefined;
976
976
  accessList?: import("../../index.js").AccessList | undefined;
977
977
  chainId?: `0x${string}` | undefined;
978
978
  } & Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
@@ -981,10 +981,14 @@ export declare const celoCannoli: {
981
981
  gatewayFeeRecipient: `0x${string}` | null;
982
982
  }) | ({
983
983
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
984
+ gas?: `0x${string}` | undefined;
985
+ value?: `0x${string}` | undefined;
986
+ gasPrice?: `0x${string}` | undefined;
987
+ maxFeePerGas?: `0x${string}` | undefined;
988
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
984
989
  blockHash?: `0x${string}` | null | undefined;
985
990
  blockNumber?: `0x${string}` | null | undefined;
986
991
  from?: `0x${string}` | undefined;
987
- gas?: `0x${string}` | undefined;
988
992
  hash?: `0x${string}` | undefined;
989
993
  input?: `0x${string}` | undefined;
990
994
  nonce?: `0x${string}` | undefined;
@@ -993,10 +997,6 @@ export declare const celoCannoli: {
993
997
  to?: `0x${string}` | null | undefined;
994
998
  transactionIndex?: `0x${string}` | null | undefined;
995
999
  v?: `0x${string}` | undefined;
996
- value?: `0x${string}` | undefined;
997
- gasPrice?: `0x${string}` | undefined;
998
- maxFeePerGas?: `0x${string}` | undefined;
999
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1000
1000
  accessList?: import("../../index.js").AccessList | undefined;
1001
1001
  chainId?: `0x${string}` | undefined;
1002
1002
  } & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -1201,7 +1201,7 @@ export declare const celoCannoli: {
1201
1201
  };
1202
1202
  readonly transactionReceipt: {
1203
1203
  exclude: [] | undefined;
1204
- format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransactionReceipt>, import("../utils.js").CeloRpcTransactionReceiptOverrides>) => {
1204
+ format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransactionReceipt>, import("../celo/types.js").CeloRpcTransactionReceiptOverrides>) => {
1205
1205
  blockHash: `0x${string}`;
1206
1206
  blockNumber: bigint;
1207
1207
  contractAddress: `0x${string}` | null;
@@ -1224,7 +1224,7 @@ export declare const celoCannoli: {
1224
1224
  };
1225
1225
  readonly transactionRequest: {
1226
1226
  exclude: [] | undefined;
1227
- format: (args: import("../index.js").Assign<Partial<import("../../index.js").TransactionRequest>, import("../utils.js").CeloTransactionRequest>) => ({
1227
+ format: (args: import("../index.js").Assign<Partial<import("../../index.js").TransactionRequest>, import("../celo/types.js").CeloTransactionRequest>) => ({
1228
1228
  data?: `0x${string}` | undefined;
1229
1229
  from: `0x${string}`;
1230
1230
  gas?: `0x${string}` | undefined;
@@ -1411,8 +1411,8 @@ export declare const celoCannoli: {
1411
1411
  fees?: import("../../index.js").ChainFees<{
1412
1412
  readonly block: {
1413
1413
  exclude: ("nonce" | "difficulty" | "gasLimit" | "mixHash" | "uncles")[] | undefined;
1414
- format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcBlock>, import("../utils.js").CeloBlockOverrides & {
1415
- transactions: `0x${string}`[] | import("../utils.js").CeloRpcTransaction[];
1414
+ format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcBlock>, import("../celo/types.js").CeloBlockOverrides & {
1415
+ transactions: `0x${string}`[] | import("../celo/types.js").CeloRpcTransaction[];
1416
1416
  }>) => {
1417
1417
  baseFeePerGas: bigint | null;
1418
1418
  difficulty: bigint;
@@ -1433,7 +1433,7 @@ export declare const celoCannoli: {
1433
1433
  stateRoot: `0x${string}`;
1434
1434
  timestamp: bigint;
1435
1435
  totalDifficulty: bigint | null;
1436
- transactions: `0x${string}`[] | import("../utils.js").CeloTransaction[];
1436
+ transactions: `0x${string}`[] | import("../celo/types.js").CeloTransaction[];
1437
1437
  transactionsRoot: `0x${string}`;
1438
1438
  uncles: `0x${string}`[];
1439
1439
  randomness: {
@@ -1453,10 +1453,14 @@ export declare const celoCannoli: {
1453
1453
  exclude: [] | undefined;
1454
1454
  format: (args: ({
1455
1455
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
1456
+ gas?: `0x${string}` | undefined;
1457
+ value?: `0x${string}` | undefined;
1458
+ gasPrice?: `0x${string}` | undefined;
1459
+ maxFeePerGas?: `0x${string}` | undefined;
1460
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1456
1461
  blockHash?: `0x${string}` | null | undefined;
1457
1462
  blockNumber?: `0x${string}` | null | undefined;
1458
1463
  from?: `0x${string}` | undefined;
1459
- gas?: `0x${string}` | undefined;
1460
1464
  hash?: `0x${string}` | undefined;
1461
1465
  input?: `0x${string}` | undefined;
1462
1466
  nonce?: `0x${string}` | undefined;
@@ -1465,10 +1469,6 @@ export declare const celoCannoli: {
1465
1469
  to?: `0x${string}` | null | undefined;
1466
1470
  transactionIndex?: `0x${string}` | null | undefined;
1467
1471
  v?: `0x${string}` | undefined;
1468
- value?: `0x${string}` | undefined;
1469
- gasPrice?: `0x${string}` | undefined;
1470
- maxFeePerGas?: `0x${string}` | undefined;
1471
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1472
1472
  accessList?: undefined;
1473
1473
  chainId?: `0x${string}` | undefined;
1474
1474
  } & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
@@ -1477,10 +1477,14 @@ export declare const celoCannoli: {
1477
1477
  gatewayFeeRecipient: `0x${string}` | null;
1478
1478
  }) | ({
1479
1479
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
1480
+ gas?: `0x${string}` | undefined;
1481
+ value?: `0x${string}` | undefined;
1482
+ gasPrice?: `0x${string}` | undefined;
1483
+ maxFeePerGas?: `0x${string}` | undefined;
1484
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1480
1485
  blockHash?: `0x${string}` | null | undefined;
1481
1486
  blockNumber?: `0x${string}` | null | undefined;
1482
1487
  from?: `0x${string}` | undefined;
1483
- gas?: `0x${string}` | undefined;
1484
1488
  hash?: `0x${string}` | undefined;
1485
1489
  input?: `0x${string}` | undefined;
1486
1490
  nonce?: `0x${string}` | undefined;
@@ -1489,10 +1493,6 @@ export declare const celoCannoli: {
1489
1493
  to?: `0x${string}` | null | undefined;
1490
1494
  transactionIndex?: `0x${string}` | null | undefined;
1491
1495
  v?: `0x${string}` | undefined;
1492
- value?: `0x${string}` | undefined;
1493
- gasPrice?: `0x${string}` | undefined;
1494
- maxFeePerGas?: `0x${string}` | undefined;
1495
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1496
1496
  accessList?: undefined;
1497
1497
  chainId?: `0x${string}` | undefined;
1498
1498
  } & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -1502,10 +1502,14 @@ export declare const celoCannoli: {
1502
1502
  type: "0x7c";
1503
1503
  }) | ({
1504
1504
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
1505
+ gas?: `0x${string}` | undefined;
1506
+ value?: `0x${string}` | undefined;
1507
+ gasPrice?: `0x${string}` | undefined;
1508
+ maxFeePerGas?: `0x${string}` | undefined;
1509
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1505
1510
  blockHash?: `0x${string}` | null | undefined;
1506
1511
  blockNumber?: `0x${string}` | null | undefined;
1507
1512
  from?: `0x${string}` | undefined;
1508
- gas?: `0x${string}` | undefined;
1509
1513
  hash?: `0x${string}` | undefined;
1510
1514
  input?: `0x${string}` | undefined;
1511
1515
  nonce?: `0x${string}` | undefined;
@@ -1514,10 +1518,6 @@ export declare const celoCannoli: {
1514
1518
  to?: `0x${string}` | null | undefined;
1515
1519
  transactionIndex?: `0x${string}` | null | undefined;
1516
1520
  v?: `0x${string}` | undefined;
1517
- value?: `0x${string}` | undefined;
1518
- gasPrice?: `0x${string}` | undefined;
1519
- maxFeePerGas?: `0x${string}` | undefined;
1520
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1521
1521
  accessList?: import("../../index.js").AccessList | undefined;
1522
1522
  chainId?: `0x${string}` | undefined;
1523
1523
  } & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
@@ -1526,10 +1526,14 @@ export declare const celoCannoli: {
1526
1526
  gatewayFeeRecipient: `0x${string}` | null;
1527
1527
  }) | ({
1528
1528
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
1529
+ gas?: `0x${string}` | undefined;
1530
+ value?: `0x${string}` | undefined;
1531
+ gasPrice?: `0x${string}` | undefined;
1532
+ maxFeePerGas?: `0x${string}` | undefined;
1533
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1529
1534
  blockHash?: `0x${string}` | null | undefined;
1530
1535
  blockNumber?: `0x${string}` | null | undefined;
1531
1536
  from?: `0x${string}` | undefined;
1532
- gas?: `0x${string}` | undefined;
1533
1537
  hash?: `0x${string}` | undefined;
1534
1538
  input?: `0x${string}` | undefined;
1535
1539
  nonce?: `0x${string}` | undefined;
@@ -1538,10 +1542,6 @@ export declare const celoCannoli: {
1538
1542
  to?: `0x${string}` | null | undefined;
1539
1543
  transactionIndex?: `0x${string}` | null | undefined;
1540
1544
  v?: `0x${string}` | undefined;
1541
- value?: `0x${string}` | undefined;
1542
- gasPrice?: `0x${string}` | undefined;
1543
- maxFeePerGas?: `0x${string}` | undefined;
1544
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1545
1545
  accessList?: import("../../index.js").AccessList | undefined;
1546
1546
  chainId?: `0x${string}` | undefined;
1547
1547
  } & Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
@@ -1550,10 +1550,14 @@ export declare const celoCannoli: {
1550
1550
  gatewayFeeRecipient: `0x${string}` | null;
1551
1551
  }) | ({
1552
1552
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
1553
+ gas?: `0x${string}` | undefined;
1554
+ value?: `0x${string}` | undefined;
1555
+ gasPrice?: `0x${string}` | undefined;
1556
+ maxFeePerGas?: `0x${string}` | undefined;
1557
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1553
1558
  blockHash?: `0x${string}` | null | undefined;
1554
1559
  blockNumber?: `0x${string}` | null | undefined;
1555
1560
  from?: `0x${string}` | undefined;
1556
- gas?: `0x${string}` | undefined;
1557
1561
  hash?: `0x${string}` | undefined;
1558
1562
  input?: `0x${string}` | undefined;
1559
1563
  nonce?: `0x${string}` | undefined;
@@ -1562,10 +1566,6 @@ export declare const celoCannoli: {
1562
1566
  to?: `0x${string}` | null | undefined;
1563
1567
  transactionIndex?: `0x${string}` | null | undefined;
1564
1568
  v?: `0x${string}` | undefined;
1565
- value?: `0x${string}` | undefined;
1566
- gasPrice?: `0x${string}` | undefined;
1567
- maxFeePerGas?: `0x${string}` | undefined;
1568
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1569
1569
  accessList?: import("../../index.js").AccessList | undefined;
1570
1570
  chainId?: `0x${string}` | undefined;
1571
1571
  } & Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
@@ -1574,10 +1574,14 @@ export declare const celoCannoli: {
1574
1574
  gatewayFeeRecipient: `0x${string}` | null;
1575
1575
  }) | ({
1576
1576
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
1577
+ gas?: `0x${string}` | undefined;
1578
+ value?: `0x${string}` | undefined;
1579
+ gasPrice?: `0x${string}` | undefined;
1580
+ maxFeePerGas?: `0x${string}` | undefined;
1581
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1577
1582
  blockHash?: `0x${string}` | null | undefined;
1578
1583
  blockNumber?: `0x${string}` | null | undefined;
1579
1584
  from?: `0x${string}` | undefined;
1580
- gas?: `0x${string}` | undefined;
1581
1585
  hash?: `0x${string}` | undefined;
1582
1586
  input?: `0x${string}` | undefined;
1583
1587
  nonce?: `0x${string}` | undefined;
@@ -1586,10 +1590,6 @@ export declare const celoCannoli: {
1586
1590
  to?: `0x${string}` | null | undefined;
1587
1591
  transactionIndex?: `0x${string}` | null | undefined;
1588
1592
  v?: `0x${string}` | undefined;
1589
- value?: `0x${string}` | undefined;
1590
- gasPrice?: `0x${string}` | undefined;
1591
- maxFeePerGas?: `0x${string}` | undefined;
1592
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1593
1593
  accessList?: import("../../index.js").AccessList | undefined;
1594
1594
  chainId?: `0x${string}` | undefined;
1595
1595
  } & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -1599,10 +1599,14 @@ export declare const celoCannoli: {
1599
1599
  type: "0x7c";
1600
1600
  }) | ({
1601
1601
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
1602
+ gas?: `0x${string}` | undefined;
1603
+ value?: `0x${string}` | undefined;
1604
+ gasPrice?: `0x${string}` | undefined;
1605
+ maxFeePerGas?: `0x${string}` | undefined;
1606
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1602
1607
  blockHash?: `0x${string}` | null | undefined;
1603
1608
  blockNumber?: `0x${string}` | null | undefined;
1604
1609
  from?: `0x${string}` | undefined;
1605
- gas?: `0x${string}` | undefined;
1606
1610
  hash?: `0x${string}` | undefined;
1607
1611
  input?: `0x${string}` | undefined;
1608
1612
  nonce?: `0x${string}` | undefined;
@@ -1611,10 +1615,6 @@ export declare const celoCannoli: {
1611
1615
  to?: `0x${string}` | null | undefined;
1612
1616
  transactionIndex?: `0x${string}` | null | undefined;
1613
1617
  v?: `0x${string}` | undefined;
1614
- value?: `0x${string}` | undefined;
1615
- gasPrice?: `0x${string}` | undefined;
1616
- maxFeePerGas?: `0x${string}` | undefined;
1617
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1618
1618
  accessList?: import("../../index.js").AccessList | undefined;
1619
1619
  chainId?: `0x${string}` | undefined;
1620
1620
  } & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
@@ -1623,10 +1623,14 @@ export declare const celoCannoli: {
1623
1623
  gatewayFeeRecipient: `0x${string}` | null;
1624
1624
  }) | ({
1625
1625
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
1626
+ gas?: `0x${string}` | undefined;
1627
+ value?: `0x${string}` | undefined;
1628
+ gasPrice?: `0x${string}` | undefined;
1629
+ maxFeePerGas?: `0x${string}` | undefined;
1630
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1626
1631
  blockHash?: `0x${string}` | null | undefined;
1627
1632
  blockNumber?: `0x${string}` | null | undefined;
1628
1633
  from?: `0x${string}` | undefined;
1629
- gas?: `0x${string}` | undefined;
1630
1634
  hash?: `0x${string}` | undefined;
1631
1635
  input?: `0x${string}` | undefined;
1632
1636
  nonce?: `0x${string}` | undefined;
@@ -1635,10 +1639,6 @@ export declare const celoCannoli: {
1635
1639
  to?: `0x${string}` | null | undefined;
1636
1640
  transactionIndex?: `0x${string}` | null | undefined;
1637
1641
  v?: `0x${string}` | undefined;
1638
- value?: `0x${string}` | undefined;
1639
- gasPrice?: `0x${string}` | undefined;
1640
- maxFeePerGas?: `0x${string}` | undefined;
1641
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1642
1642
  accessList?: import("../../index.js").AccessList | undefined;
1643
1643
  chainId?: `0x${string}` | undefined;
1644
1644
  } & Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
@@ -1647,10 +1647,14 @@ export declare const celoCannoli: {
1647
1647
  gatewayFeeRecipient: `0x${string}` | null;
1648
1648
  }) | ({
1649
1649
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
1650
+ gas?: `0x${string}` | undefined;
1651
+ value?: `0x${string}` | undefined;
1652
+ gasPrice?: `0x${string}` | undefined;
1653
+ maxFeePerGas?: `0x${string}` | undefined;
1654
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1650
1655
  blockHash?: `0x${string}` | null | undefined;
1651
1656
  blockNumber?: `0x${string}` | null | undefined;
1652
1657
  from?: `0x${string}` | undefined;
1653
- gas?: `0x${string}` | undefined;
1654
1658
  hash?: `0x${string}` | undefined;
1655
1659
  input?: `0x${string}` | undefined;
1656
1660
  nonce?: `0x${string}` | undefined;
@@ -1659,10 +1663,6 @@ export declare const celoCannoli: {
1659
1663
  to?: `0x${string}` | null | undefined;
1660
1664
  transactionIndex?: `0x${string}` | null | undefined;
1661
1665
  v?: `0x${string}` | undefined;
1662
- value?: `0x${string}` | undefined;
1663
- gasPrice?: `0x${string}` | undefined;
1664
- maxFeePerGas?: `0x${string}` | undefined;
1665
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1666
1666
  accessList?: import("../../index.js").AccessList | undefined;
1667
1667
  chainId?: `0x${string}` | undefined;
1668
1668
  } & Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
@@ -1671,10 +1671,14 @@ export declare const celoCannoli: {
1671
1671
  gatewayFeeRecipient: `0x${string}` | null;
1672
1672
  }) | ({
1673
1673
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | undefined;
1674
+ gas?: `0x${string}` | undefined;
1675
+ value?: `0x${string}` | undefined;
1676
+ gasPrice?: `0x${string}` | undefined;
1677
+ maxFeePerGas?: `0x${string}` | undefined;
1678
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1674
1679
  blockHash?: `0x${string}` | null | undefined;
1675
1680
  blockNumber?: `0x${string}` | null | undefined;
1676
1681
  from?: `0x${string}` | undefined;
1677
- gas?: `0x${string}` | undefined;
1678
1682
  hash?: `0x${string}` | undefined;
1679
1683
  input?: `0x${string}` | undefined;
1680
1684
  nonce?: `0x${string}` | undefined;
@@ -1683,10 +1687,6 @@ export declare const celoCannoli: {
1683
1687
  to?: `0x${string}` | null | undefined;
1684
1688
  transactionIndex?: `0x${string}` | null | undefined;
1685
1689
  v?: `0x${string}` | undefined;
1686
- value?: `0x${string}` | undefined;
1687
- gasPrice?: `0x${string}` | undefined;
1688
- maxFeePerGas?: `0x${string}` | undefined;
1689
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1690
1690
  accessList?: import("../../index.js").AccessList | undefined;
1691
1691
  chainId?: `0x${string}` | undefined;
1692
1692
  } & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -1891,7 +1891,7 @@ export declare const celoCannoli: {
1891
1891
  };
1892
1892
  readonly transactionReceipt: {
1893
1893
  exclude: [] | undefined;
1894
- format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransactionReceipt>, import("../utils.js").CeloRpcTransactionReceiptOverrides>) => {
1894
+ format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransactionReceipt>, import("../celo/types.js").CeloRpcTransactionReceiptOverrides>) => {
1895
1895
  blockHash: `0x${string}`;
1896
1896
  blockNumber: bigint;
1897
1897
  contractAddress: `0x${string}` | null;
@@ -1914,7 +1914,7 @@ export declare const celoCannoli: {
1914
1914
  };
1915
1915
  readonly transactionRequest: {
1916
1916
  exclude: [] | undefined;
1917
- format: (args: import("../index.js").Assign<Partial<import("../../index.js").TransactionRequest>, import("../utils.js").CeloTransactionRequest>) => ({
1917
+ format: (args: import("../index.js").Assign<Partial<import("../../index.js").TransactionRequest>, import("../celo/types.js").CeloTransactionRequest>) => ({
1918
1918
  data?: `0x${string}` | undefined;
1919
1919
  from: `0x${string}`;
1920
1920
  gas?: `0x${string}` | undefined;