viem 2.13.7 → 2.13.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (558) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/_cjs/accounts/hdKeyToAccount.js.map +1 -1
  3. package/_cjs/actions/public/call.js.map +1 -1
  4. package/_cjs/actions/public/estimateGas.js.map +1 -1
  5. package/_cjs/actions/public/getBlockNumber.js.map +1 -1
  6. package/_cjs/actions/wallet/prepareTransactionRequest.js.map +1 -1
  7. package/_cjs/actions/wallet/signTypedData.js.map +1 -1
  8. package/_cjs/celo/formatters.js +1 -2
  9. package/_cjs/celo/formatters.js.map +1 -1
  10. package/_cjs/celo/index.js.map +1 -1
  11. package/_cjs/celo/utils.js.map +1 -1
  12. package/_cjs/chains/definitions/ham.js +27 -0
  13. package/_cjs/chains/definitions/ham.js.map +1 -0
  14. package/_cjs/chains/definitions/kakarotSepolia.js +1 -1
  15. package/_cjs/chains/definitions/kakarotSepolia.js.map +1 -1
  16. package/_cjs/chains/definitions/optimism.js +5 -0
  17. package/_cjs/chains/definitions/optimism.js.map +1 -1
  18. package/_cjs/chains/definitions/redbellyTestnet.js +27 -0
  19. package/_cjs/chains/definitions/redbellyTestnet.js.map +1 -0
  20. package/_cjs/chains/definitions/sei.js +1 -0
  21. package/_cjs/chains/definitions/sei.js.map +1 -1
  22. package/_cjs/chains/definitions/xai.js +28 -0
  23. package/_cjs/chains/definitions/xai.js.map +1 -0
  24. package/_cjs/chains/definitions/xaiTestnet.js +22 -0
  25. package/_cjs/chains/definitions/xaiTestnet.js.map +1 -0
  26. package/_cjs/chains/index.js +12 -4
  27. package/_cjs/chains/index.js.map +1 -1
  28. package/_cjs/clients/createClient.js +2 -2
  29. package/_cjs/clients/createClient.js.map +1 -1
  30. package/_cjs/clients/decorators/public.js.map +1 -1
  31. package/_cjs/clients/decorators/wallet.js.map +1 -1
  32. package/_cjs/clients/transports/fallback.js.map +1 -1
  33. package/_cjs/clients/transports/http.js.map +1 -1
  34. package/_cjs/constants/abis.js.map +1 -1
  35. package/_cjs/constants/blob.js +4 -4
  36. package/_cjs/constants/blob.js.map +1 -1
  37. package/_cjs/constants/kzg.js +1 -3
  38. package/_cjs/constants/kzg.js.map +1 -1
  39. package/_cjs/errors/abi.js +1 -13
  40. package/_cjs/errors/abi.js.map +1 -1
  41. package/_cjs/errors/base.js +1 -1
  42. package/_cjs/errors/base.js.map +1 -1
  43. package/_cjs/errors/ccip.js.map +1 -1
  44. package/_cjs/errors/stateOverride.js.map +1 -1
  45. package/_cjs/errors/version.js +1 -1
  46. package/_cjs/experimental/eip5792/actions/getCapabilities.js +2 -2
  47. package/_cjs/experimental/eip5792/actions/getCapabilities.js.map +1 -1
  48. package/_cjs/experimental/eip5792/actions/sendCalls.js +2 -2
  49. package/_cjs/experimental/eip5792/actions/sendCalls.js.map +1 -1
  50. package/_cjs/index.js +6 -4
  51. package/_cjs/index.js.map +1 -1
  52. package/_cjs/node/trustedSetups.js +1 -2
  53. package/_cjs/node/trustedSetups.js.map +1 -1
  54. package/_cjs/op-stack/abis.js +1 -458
  55. package/_cjs/op-stack/abis.js.map +1 -1
  56. package/_cjs/op-stack/actions/buildProveWithdrawal.js.map +1 -1
  57. package/_cjs/op-stack/actions/estimateDepositTransactionGas.js +4 -3
  58. package/_cjs/op-stack/actions/estimateDepositTransactionGas.js.map +1 -1
  59. package/_cjs/op-stack/actions/estimateFinalizeWithdrawalGas.js +4 -3
  60. package/_cjs/op-stack/actions/estimateFinalizeWithdrawalGas.js.map +1 -1
  61. package/_cjs/op-stack/actions/estimateInitiateWithdrawalGas.js +4 -3
  62. package/_cjs/op-stack/actions/estimateInitiateWithdrawalGas.js.map +1 -1
  63. package/_cjs/op-stack/actions/estimateProveWithdrawalGas.js +4 -3
  64. package/_cjs/op-stack/actions/estimateProveWithdrawalGas.js.map +1 -1
  65. package/_cjs/op-stack/actions/getWithdrawalStatus.js.map +1 -1
  66. package/_cjs/op-stack/index.js +15 -2
  67. package/_cjs/op-stack/index.js.map +1 -1
  68. package/_cjs/utils/abi/decodeAbiParameters.js.map +1 -1
  69. package/_cjs/utils/abi/encodeAbiParameters.js.map +1 -1
  70. package/_cjs/utils/abi/encodeDeployData.js.map +1 -1
  71. package/_cjs/utils/abi/getAbiItem.js.map +1 -1
  72. package/_cjs/utils/address/getAddress.js +5 -5
  73. package/_cjs/utils/address/getAddress.js.map +1 -1
  74. package/_cjs/utils/address/isAddress.js.map +1 -1
  75. package/_cjs/utils/blob/toBlobs.js.map +1 -1
  76. package/_cjs/utils/buildRequest.js.map +1 -1
  77. package/_cjs/utils/ccip.js.map +1 -1
  78. package/_cjs/utils/cursor.js.map +1 -1
  79. package/_cjs/utils/encoding/fromRlp.js +1 -9
  80. package/_cjs/utils/encoding/fromRlp.js.map +1 -1
  81. package/_cjs/utils/ens/avatar/utils.js.map +1 -1
  82. package/_cjs/utils/ens/errors.js.map +1 -1
  83. package/_cjs/utils/observe.js.map +1 -1
  84. package/_cjs/utils/promise/createBatchScheduler.js.map +1 -1
  85. package/_cjs/utils/promise/withCache.js.map +1 -1
  86. package/_cjs/utils/promise/withTimeout.js.map +1 -1
  87. package/_cjs/utils/rpc/id.js +1 -2
  88. package/_cjs/utils/rpc/id.js.map +1 -1
  89. package/_cjs/utils/rpc/ipc.js.map +1 -1
  90. package/_cjs/utils/stateOverride.js.map +1 -1
  91. package/_cjs/utils/transaction/parseTransaction.js.map +1 -1
  92. package/_cjs/utils/transaction/serializeTransaction.js +8 -5
  93. package/_cjs/utils/transaction/serializeTransaction.js.map +1 -1
  94. package/_cjs/zksync/actions/deployContract.js.map +1 -1
  95. package/_cjs/zksync/actions/estimateGasL1ToL2.js +2 -2
  96. package/_cjs/zksync/actions/estimateGasL1ToL2.js.map +1 -1
  97. package/_cjs/zksync/actions/getAllBalances.js +2 -2
  98. package/_cjs/zksync/actions/getAllBalances.js.map +1 -1
  99. package/_cjs/zksync/actions/getL1Allowance.js +2 -2
  100. package/_cjs/zksync/actions/getL1Allowance.js.map +1 -1
  101. package/_cjs/zksync/actions/getL1Balance.js +2 -2
  102. package/_cjs/zksync/actions/getL1Balance.js.map +1 -1
  103. package/_cjs/zksync/actions/getL1TokenBalance.js +2 -2
  104. package/_cjs/zksync/actions/getL1TokenBalance.js.map +1 -1
  105. package/_cjs/zksync/actions/sendEip712Transaction.js +7 -7
  106. package/_cjs/zksync/actions/sendEip712Transaction.js.map +1 -1
  107. package/_cjs/zksync/actions/sendTransaction.js +4 -4
  108. package/_cjs/zksync/actions/sendTransaction.js.map +1 -1
  109. package/_cjs/zksync/constants/contract.js +1 -2
  110. package/_cjs/zksync/constants/contract.js.map +1 -1
  111. package/_cjs/zksync/decorators/eip712.js.map +1 -1
  112. package/_cjs/zksync/index.js.map +1 -1
  113. package/_cjs/zksync/serializers.js.map +1 -1
  114. package/_cjs/zksync/utils/abi/encodeDeployData.js.map +1 -1
  115. package/_cjs/zksync/utils/assertEip712Request.js.map +1 -1
  116. package/_cjs/zksync/utils/hashBytecode.js.map +1 -1
  117. package/_esm/accounts/hdKeyToAccount.js.map +1 -1
  118. package/_esm/actions/public/call.js +1 -0
  119. package/_esm/actions/public/call.js.map +1 -1
  120. package/_esm/actions/public/estimateGas.js.map +1 -1
  121. package/_esm/actions/public/getBlockNumber.js +2 -1
  122. package/_esm/actions/public/getBlockNumber.js.map +1 -1
  123. package/_esm/actions/test/sendUnsignedTransaction.js +2 -2
  124. package/_esm/actions/wallet/prepareTransactionRequest.js.map +1 -1
  125. package/_esm/actions/wallet/signTypedData.js.map +1 -1
  126. package/_esm/celo/formatters.js +1 -2
  127. package/_esm/celo/formatters.js.map +1 -1
  128. package/_esm/celo/index.js +1 -1
  129. package/_esm/celo/index.js.map +1 -1
  130. package/_esm/celo/utils.js +1 -0
  131. package/_esm/celo/utils.js.map +1 -1
  132. package/_esm/chains/definitions/ham.js +24 -0
  133. package/_esm/chains/definitions/ham.js.map +1 -0
  134. package/_esm/chains/definitions/kakarotSepolia.js +1 -1
  135. package/_esm/chains/definitions/kakarotSepolia.js.map +1 -1
  136. package/_esm/chains/definitions/optimism.js +5 -0
  137. package/_esm/chains/definitions/optimism.js.map +1 -1
  138. package/_esm/chains/definitions/redbellyTestnet.js +24 -0
  139. package/_esm/chains/definitions/redbellyTestnet.js.map +1 -0
  140. package/_esm/chains/definitions/sei.js +1 -0
  141. package/_esm/chains/definitions/sei.js.map +1 -1
  142. package/_esm/chains/definitions/xai.js +25 -0
  143. package/_esm/chains/definitions/xai.js.map +1 -0
  144. package/_esm/chains/definitions/xaiTestnet.js +19 -0
  145. package/_esm/chains/definitions/xaiTestnet.js.map +1 -0
  146. package/_esm/chains/index.js +4 -0
  147. package/_esm/chains/index.js.map +1 -1
  148. package/_esm/clients/createClient.js +1 -1
  149. package/_esm/clients/createClient.js.map +1 -1
  150. package/_esm/clients/decorators/public.js.map +1 -1
  151. package/_esm/clients/decorators/wallet.js.map +1 -1
  152. package/_esm/clients/transports/fallback.js +1 -0
  153. package/_esm/clients/transports/fallback.js.map +1 -1
  154. package/_esm/clients/transports/http.js.map +1 -1
  155. package/_esm/constants/abis.js +1 -0
  156. package/_esm/constants/abis.js.map +1 -1
  157. package/_esm/constants/blob.js +1 -1
  158. package/_esm/constants/blob.js.map +1 -1
  159. package/_esm/constants/kzg.js +0 -4
  160. package/_esm/constants/kzg.js.map +1 -1
  161. package/_esm/errors/abi.js +0 -11
  162. package/_esm/errors/abi.js.map +1 -1
  163. package/_esm/errors/base.js +1 -1
  164. package/_esm/errors/base.js.map +1 -1
  165. package/_esm/errors/ccip.js.map +1 -1
  166. package/_esm/errors/stateOverride.js +1 -0
  167. package/_esm/errors/stateOverride.js.map +1 -1
  168. package/_esm/errors/version.js +1 -1
  169. package/_esm/experimental/eip5792/actions/getCapabilities.js +1 -1
  170. package/_esm/experimental/eip5792/actions/getCapabilities.js.map +1 -1
  171. package/_esm/experimental/eip5792/actions/sendCalls.js +1 -1
  172. package/_esm/experimental/eip5792/actions/sendCalls.js.map +1 -1
  173. package/_esm/index.js +4 -3
  174. package/_esm/index.js.map +1 -1
  175. package/_esm/node/trustedSetups.js +0 -1
  176. package/_esm/node/trustedSetups.js.map +1 -1
  177. package/_esm/node/trustedSetups_cjs.js +0 -1
  178. package/_esm/node/trustedSetups_cjs.js.map +1 -1
  179. package/_esm/op-stack/abis.js +0 -457
  180. package/_esm/op-stack/abis.js.map +1 -1
  181. package/_esm/op-stack/actions/buildProveWithdrawal.js +1 -0
  182. package/_esm/op-stack/actions/buildProveWithdrawal.js.map +1 -1
  183. package/_esm/op-stack/actions/estimateDepositTransactionGas.js +7 -3
  184. package/_esm/op-stack/actions/estimateDepositTransactionGas.js.map +1 -1
  185. package/_esm/op-stack/actions/estimateFinalizeWithdrawalGas.js +7 -3
  186. package/_esm/op-stack/actions/estimateFinalizeWithdrawalGas.js.map +1 -1
  187. package/_esm/op-stack/actions/estimateInitiateWithdrawalGas.js +7 -3
  188. package/_esm/op-stack/actions/estimateInitiateWithdrawalGas.js.map +1 -1
  189. package/_esm/op-stack/actions/estimateProveWithdrawalGas.js +7 -3
  190. package/_esm/op-stack/actions/estimateProveWithdrawalGas.js.map +1 -1
  191. package/_esm/op-stack/actions/getWithdrawalStatus.js +1 -1
  192. package/_esm/op-stack/actions/getWithdrawalStatus.js.map +1 -1
  193. package/_esm/op-stack/index.js +0 -1
  194. package/_esm/op-stack/index.js.map +1 -1
  195. package/_esm/utils/abi/decodeAbiParameters.js +1 -1
  196. package/_esm/utils/abi/decodeAbiParameters.js.map +1 -1
  197. package/_esm/utils/abi/encodeAbiParameters.js.map +1 -1
  198. package/_esm/utils/abi/encodeDeployData.js.map +1 -1
  199. package/_esm/utils/abi/getAbiItem.js +3 -1
  200. package/_esm/utils/abi/getAbiItem.js.map +1 -1
  201. package/_esm/utils/address/getAddress.js +1 -1
  202. package/_esm/utils/address/getAddress.js.map +1 -1
  203. package/_esm/utils/address/isAddress.js +1 -0
  204. package/_esm/utils/address/isAddress.js.map +1 -1
  205. package/_esm/utils/blob/toBlobs.js.map +1 -1
  206. package/_esm/utils/buildRequest.js +1 -0
  207. package/_esm/utils/buildRequest.js.map +1 -1
  208. package/_esm/utils/ccip.js +1 -1
  209. package/_esm/utils/ccip.js.map +1 -1
  210. package/_esm/utils/cursor.js.map +1 -1
  211. package/_esm/utils/encoding/fromRlp.js +0 -6
  212. package/_esm/utils/encoding/fromRlp.js.map +1 -1
  213. package/_esm/utils/ens/avatar/utils.js +2 -0
  214. package/_esm/utils/ens/avatar/utils.js.map +1 -1
  215. package/_esm/utils/ens/errors.js.map +1 -1
  216. package/_esm/utils/observe.js +2 -0
  217. package/_esm/utils/observe.js.map +1 -1
  218. package/_esm/utils/promise/createBatchScheduler.js +1 -0
  219. package/_esm/utils/promise/createBatchScheduler.js.map +1 -1
  220. package/_esm/utils/promise/withCache.js +2 -0
  221. package/_esm/utils/promise/withCache.js.map +1 -1
  222. package/_esm/utils/promise/withTimeout.js +1 -1
  223. package/_esm/utils/promise/withTimeout.js.map +1 -1
  224. package/_esm/utils/rpc/id.js +1 -1
  225. package/_esm/utils/rpc/id.js.map +1 -1
  226. package/_esm/utils/rpc/ipc.js +1 -0
  227. package/_esm/utils/rpc/ipc.js.map +1 -1
  228. package/_esm/utils/stateOverride.js +3 -0
  229. package/_esm/utils/stateOverride.js.map +1 -1
  230. package/_esm/utils/transaction/parseTransaction.js.map +1 -1
  231. package/_esm/utils/transaction/serializeTransaction.js +8 -5
  232. package/_esm/utils/transaction/serializeTransaction.js.map +1 -1
  233. package/_esm/utils/unit/parseUnits.js +1 -1
  234. package/_esm/utils/unit/parseUnits.js.map +1 -1
  235. package/_esm/zksync/actions/deployContract.js +1 -1
  236. package/_esm/zksync/actions/deployContract.js.map +1 -1
  237. package/_esm/zksync/actions/estimateGasL1ToL2.js +1 -1
  238. package/_esm/zksync/actions/estimateGasL1ToL2.js.map +1 -1
  239. package/_esm/zksync/actions/getAllBalances.js +1 -1
  240. package/_esm/zksync/actions/getAllBalances.js.map +1 -1
  241. package/_esm/zksync/actions/getL1Allowance.js +1 -1
  242. package/_esm/zksync/actions/getL1Allowance.js.map +1 -1
  243. package/_esm/zksync/actions/getL1Balance.js +1 -1
  244. package/_esm/zksync/actions/getL1Balance.js.map +1 -1
  245. package/_esm/zksync/actions/getL1TokenBalance.js +2 -2
  246. package/_esm/zksync/actions/getL1TokenBalance.js.map +1 -1
  247. package/_esm/zksync/actions/sendEip712Transaction.js +7 -7
  248. package/_esm/zksync/actions/sendEip712Transaction.js.map +1 -1
  249. package/_esm/zksync/actions/sendTransaction.js +6 -6
  250. package/_esm/zksync/actions/sendTransaction.js.map +1 -1
  251. package/_esm/zksync/constants/contract.js +0 -1
  252. package/_esm/zksync/constants/contract.js.map +1 -1
  253. package/_esm/zksync/decorators/eip712.js.map +1 -1
  254. package/_esm/zksync/index.js.map +1 -1
  255. package/_esm/zksync/serializers.js.map +1 -1
  256. package/_esm/zksync/utils/abi/encodeDeployData.js +1 -1
  257. package/_esm/zksync/utils/abi/encodeDeployData.js.map +1 -1
  258. package/_esm/zksync/utils/assertEip712Request.js +1 -1
  259. package/_esm/zksync/utils/assertEip712Request.js.map +1 -1
  260. package/_esm/zksync/utils/hashBytecode.js.map +1 -1
  261. package/_types/accounts/hdKeyToAccount.d.ts +1 -1
  262. package/_types/accounts/hdKeyToAccount.d.ts.map +1 -1
  263. package/_types/accounts/types.d.ts +1 -1
  264. package/_types/accounts/types.d.ts.map +1 -1
  265. package/_types/actions/public/call.d.ts +5 -2
  266. package/_types/actions/public/call.d.ts.map +1 -1
  267. package/_types/actions/public/estimateGas.d.ts +2 -1
  268. package/_types/actions/public/estimateGas.d.ts.map +1 -1
  269. package/_types/actions/public/getBlockNumber.d.ts +4 -0
  270. package/_types/actions/public/getBlockNumber.d.ts.map +1 -1
  271. package/_types/actions/test/sendUnsignedTransaction.d.ts +2 -2
  272. package/_types/actions/wallet/prepareTransactionRequest.d.ts +0 -7
  273. package/_types/actions/wallet/prepareTransactionRequest.d.ts.map +1 -1
  274. package/_types/actions/wallet/signTypedData.d.ts +2 -2
  275. package/_types/actions/wallet/signTypedData.d.ts.map +1 -1
  276. package/_types/celo/chainConfig.d.ts +60 -60
  277. package/_types/celo/formatters.d.ts +30 -30
  278. package/_types/celo/formatters.d.ts.map +1 -1
  279. package/_types/celo/index.d.ts +2 -2
  280. package/_types/celo/index.d.ts.map +1 -1
  281. package/_types/celo/utils.d.ts +1 -0
  282. package/_types/celo/utils.d.ts.map +1 -1
  283. package/_types/chains/definitions/ancient8.d.ts +26 -26
  284. package/_types/chains/definitions/ancient8Sepolia.d.ts +26 -26
  285. package/_types/chains/definitions/base.d.ts +26 -26
  286. package/_types/chains/definitions/baseGoerli.d.ts +26 -26
  287. package/_types/chains/definitions/baseSepolia.d.ts +26 -26
  288. package/_types/chains/definitions/celo.d.ts +60 -60
  289. package/_types/chains/definitions/celoAlfajores.d.ts +60 -60
  290. package/_types/chains/definitions/fraxtal.d.ts +26 -26
  291. package/_types/chains/definitions/fraxtalTestnet.d.ts +26 -26
  292. package/_types/chains/definitions/funkiSepolia.d.ts +26 -26
  293. package/_types/chains/definitions/ham.d.ts +37 -0
  294. package/_types/chains/definitions/ham.d.ts.map +1 -0
  295. package/_types/chains/definitions/kakarotSepolia.d.ts +1 -1
  296. package/_types/chains/definitions/liskSepolia.d.ts +26 -26
  297. package/_types/chains/definitions/metalL2.d.ts +26 -26
  298. package/_types/chains/definitions/optimism.d.ts +31 -26
  299. package/_types/chains/definitions/optimism.d.ts.map +1 -1
  300. package/_types/chains/definitions/optimismGoerli.d.ts +26 -26
  301. package/_types/chains/definitions/optimismSepolia.d.ts +26 -26
  302. package/_types/chains/definitions/pgn.d.ts +26 -26
  303. package/_types/chains/definitions/pgnTestnet.d.ts +26 -26
  304. package/_types/chains/definitions/redbellyTestnet.d.ts +36 -0
  305. package/_types/chains/definitions/redbellyTestnet.d.ts.map +1 -0
  306. package/_types/chains/definitions/rss3.d.ts +26 -26
  307. package/_types/chains/definitions/rss3Sepolia.d.ts +26 -26
  308. package/_types/chains/definitions/sei.d.ts +1 -0
  309. package/_types/chains/definitions/sei.d.ts.map +1 -1
  310. package/_types/chains/definitions/xai.d.ts +33 -0
  311. package/_types/chains/definitions/xai.d.ts.map +1 -0
  312. package/_types/chains/definitions/xaiTestnet.d.ts +35 -0
  313. package/_types/chains/definitions/xaiTestnet.d.ts.map +1 -0
  314. package/_types/chains/definitions/zora.d.ts +26 -26
  315. package/_types/chains/definitions/zoraSepolia.d.ts +26 -26
  316. package/_types/chains/definitions/zoraTestnet.d.ts +26 -26
  317. package/_types/chains/index.d.ts +4 -0
  318. package/_types/chains/index.d.ts.map +1 -1
  319. package/_types/clients/createClient.d.ts +1 -1
  320. package/_types/clients/createClient.d.ts.map +1 -1
  321. package/_types/clients/transports/fallback.d.ts +1 -0
  322. package/_types/clients/transports/fallback.d.ts.map +1 -1
  323. package/_types/clients/transports/http.d.ts +6 -7
  324. package/_types/clients/transports/http.d.ts.map +1 -1
  325. package/_types/constants/abis.d.ts +1 -0
  326. package/_types/constants/abis.d.ts.map +1 -1
  327. package/_types/constants/blob.d.ts +0 -2
  328. package/_types/constants/blob.d.ts.map +1 -1
  329. package/_types/constants/kzg.d.ts +0 -4
  330. package/_types/constants/kzg.d.ts.map +1 -1
  331. package/_types/errors/abi.d.ts +0 -10
  332. package/_types/errors/abi.d.ts.map +1 -1
  333. package/_types/errors/base.d.ts +1 -0
  334. package/_types/errors/base.d.ts.map +1 -1
  335. package/_types/errors/ccip.d.ts +1 -0
  336. package/_types/errors/ccip.d.ts.map +1 -1
  337. package/_types/errors/stateOverride.d.ts +1 -0
  338. package/_types/errors/stateOverride.d.ts.map +1 -1
  339. package/_types/errors/version.d.ts +1 -1
  340. package/_types/experimental/eip5792/actions/getCapabilities.d.ts.map +1 -1
  341. package/_types/experimental/eip5792/actions/sendCalls.d.ts.map +1 -1
  342. package/_types/experimental/erc7715/types/permission.d.ts +5 -0
  343. package/_types/experimental/erc7715/types/permission.d.ts.map +1 -1
  344. package/_types/experimental/erc7715/types/signer.d.ts +3 -0
  345. package/_types/experimental/erc7715/types/signer.d.ts.map +1 -1
  346. package/_types/index.d.ts +9 -9
  347. package/_types/index.d.ts.map +1 -1
  348. package/_types/node/trustedSetups.d.ts +0 -1
  349. package/_types/node/trustedSetups.d.ts.map +1 -1
  350. package/_types/node/trustedSetups_cjs.d.ts +0 -1
  351. package/_types/node/trustedSetups_cjs.d.ts.map +1 -1
  352. package/_types/op-stack/abis.d.ts +0 -626
  353. package/_types/op-stack/abis.d.ts.map +1 -1
  354. package/_types/op-stack/actions/buildProveWithdrawal.d.ts +1 -0
  355. package/_types/op-stack/actions/buildProveWithdrawal.d.ts.map +1 -1
  356. package/_types/op-stack/actions/estimateDepositTransactionGas.d.ts +2 -2
  357. package/_types/op-stack/actions/estimateDepositTransactionGas.d.ts.map +1 -1
  358. package/_types/op-stack/actions/estimateFinalizeWithdrawalGas.d.ts +1 -1
  359. package/_types/op-stack/actions/estimateFinalizeWithdrawalGas.d.ts.map +1 -1
  360. package/_types/op-stack/actions/estimateInitiateWithdrawalGas.d.ts +1 -1
  361. package/_types/op-stack/actions/estimateInitiateWithdrawalGas.d.ts.map +1 -1
  362. package/_types/op-stack/actions/estimateProveWithdrawalGas.d.ts +1 -1
  363. package/_types/op-stack/actions/estimateProveWithdrawalGas.d.ts.map +1 -1
  364. package/_types/op-stack/actions/getWithdrawalStatus.d.ts +2 -1
  365. package/_types/op-stack/actions/getWithdrawalStatus.d.ts.map +1 -1
  366. package/_types/op-stack/chainConfig.d.ts +26 -26
  367. package/_types/op-stack/formatters.d.ts +26 -26
  368. package/_types/op-stack/index.d.ts.map +1 -1
  369. package/_types/types/account.d.ts +1 -1
  370. package/_types/types/account.d.ts.map +1 -1
  371. package/_types/types/chain.d.ts +7 -7
  372. package/_types/types/chain.d.ts.map +1 -1
  373. package/_types/types/kzg.d.ts +1 -1
  374. package/_types/types/kzg.d.ts.map +1 -1
  375. package/_types/types/proof.d.ts +3 -2
  376. package/_types/types/proof.d.ts.map +1 -1
  377. package/_types/types/utils.d.ts +11 -3
  378. package/_types/types/utils.d.ts.map +1 -1
  379. package/_types/utils/abi/decodeAbiParameters.d.ts +2 -1
  380. package/_types/utils/abi/decodeAbiParameters.d.ts.map +1 -1
  381. package/_types/utils/abi/encodeAbiParameters.d.ts +12 -11
  382. package/_types/utils/abi/encodeAbiParameters.d.ts.map +1 -1
  383. package/_types/utils/abi/encodeDeployData.d.ts +4 -2
  384. package/_types/utils/abi/encodeDeployData.d.ts.map +1 -1
  385. package/_types/utils/abi/getAbiItem.d.ts +6 -2
  386. package/_types/utils/abi/getAbiItem.d.ts.map +1 -1
  387. package/_types/utils/address/getAddress.d.ts +0 -2
  388. package/_types/utils/address/getAddress.d.ts.map +1 -1
  389. package/_types/utils/address/isAddress.d.ts +1 -0
  390. package/_types/utils/address/isAddress.d.ts.map +1 -1
  391. package/_types/utils/blob/toBlobs.d.ts +2 -1
  392. package/_types/utils/blob/toBlobs.d.ts.map +1 -1
  393. package/_types/utils/buildRequest.d.ts +1 -0
  394. package/_types/utils/buildRequest.d.ts.map +1 -1
  395. package/_types/utils/ccip.d.ts +4 -2
  396. package/_types/utils/ccip.d.ts.map +1 -1
  397. package/_types/utils/cursor.d.ts +7 -6
  398. package/_types/utils/cursor.d.ts.map +1 -1
  399. package/_types/utils/encoding/fromRlp.d.ts +3 -7
  400. package/_types/utils/encoding/fromRlp.d.ts.map +1 -1
  401. package/_types/utils/ens/avatar/parseAvatarRecord.d.ts +2 -1
  402. package/_types/utils/ens/avatar/parseAvatarRecord.d.ts.map +1 -1
  403. package/_types/utils/ens/avatar/utils.d.ts +4 -2
  404. package/_types/utils/ens/avatar/utils.d.ts.map +1 -1
  405. package/_types/utils/ens/errors.d.ts +1 -0
  406. package/_types/utils/ens/errors.d.ts.map +1 -1
  407. package/_types/utils/formatters/transaction.d.ts +1 -1
  408. package/_types/utils/formatters/transactionRequest.d.ts +1 -1
  409. package/_types/utils/hash/normalizeSignature.d.ts +3 -2
  410. package/_types/utils/hash/normalizeSignature.d.ts.map +1 -1
  411. package/_types/utils/observe.d.ts +2 -0
  412. package/_types/utils/observe.d.ts.map +1 -1
  413. package/_types/utils/promise/createBatchScheduler.d.ts +3 -2
  414. package/_types/utils/promise/createBatchScheduler.d.ts.map +1 -1
  415. package/_types/utils/promise/withCache.d.ts +4 -1
  416. package/_types/utils/promise/withCache.d.ts.map +1 -1
  417. package/_types/utils/rpc/id.d.ts +0 -5
  418. package/_types/utils/rpc/id.d.ts.map +1 -1
  419. package/_types/utils/rpc/ipc.d.ts +1 -0
  420. package/_types/utils/rpc/ipc.d.ts.map +1 -1
  421. package/_types/utils/stateOverride.d.ts +9 -5
  422. package/_types/utils/stateOverride.d.ts.map +1 -1
  423. package/_types/utils/transaction/parseTransaction.d.ts +5 -5
  424. package/_types/utils/transaction/parseTransaction.d.ts.map +1 -1
  425. package/_types/utils/transaction/serializeTransaction.d.ts +1 -1
  426. package/_types/utils/transaction/serializeTransaction.d.ts.map +1 -1
  427. package/_types/zksync/actions/deployContract.d.ts +2 -1
  428. package/_types/zksync/actions/deployContract.d.ts.map +1 -1
  429. package/_types/zksync/actions/estimateGasL1ToL2.d.ts.map +1 -1
  430. package/_types/zksync/actions/getAllBalances.d.ts.map +1 -1
  431. package/_types/zksync/actions/getL1Allowance.d.ts.map +1 -1
  432. package/_types/zksync/actions/getL1Balance.d.ts.map +1 -1
  433. package/_types/zksync/actions/getL1TokenBalance.d.ts +4 -4
  434. package/_types/zksync/actions/getL1TokenBalance.d.ts.map +1 -1
  435. package/_types/zksync/actions/sendEip712Transaction.d.ts +3 -3
  436. package/_types/zksync/actions/sendEip712Transaction.d.ts.map +1 -1
  437. package/_types/zksync/actions/sendTransaction.d.ts +5 -5
  438. package/_types/zksync/actions/sendTransaction.d.ts.map +1 -1
  439. package/_types/zksync/constants/contract.d.ts +0 -1
  440. package/_types/zksync/constants/contract.d.ts.map +1 -1
  441. package/_types/zksync/decorators/eip712.d.ts +2 -1
  442. package/_types/zksync/decorators/eip712.d.ts.map +1 -1
  443. package/_types/zksync/index.d.ts +1 -0
  444. package/_types/zksync/index.d.ts.map +1 -1
  445. package/_types/zksync/serializers.d.ts +1 -2
  446. package/_types/zksync/serializers.d.ts.map +1 -1
  447. package/_types/zksync/types/chain.d.ts +2 -2
  448. package/_types/zksync/types/chain.d.ts.map +1 -1
  449. package/_types/zksync/types/eip1193.d.ts +5 -5
  450. package/_types/zksync/types/eip1193.d.ts.map +1 -1
  451. package/_types/zksync/utils/abi/encodeDeployData.d.ts +5 -0
  452. package/_types/zksync/utils/abi/encodeDeployData.d.ts.map +1 -1
  453. package/_types/zksync/utils/assertEip712Request.d.ts +3 -1
  454. package/_types/zksync/utils/assertEip712Request.d.ts.map +1 -1
  455. package/_types/zksync/utils/hashBytecode.d.ts +5 -0
  456. package/_types/zksync/utils/hashBytecode.d.ts.map +1 -1
  457. package/accounts/hdKeyToAccount.ts +1 -2
  458. package/accounts/types.ts +1 -1
  459. package/actions/public/call.ts +5 -5
  460. package/actions/public/estimateGas.ts +3 -4
  461. package/actions/public/getBlockNumber.ts +9 -1
  462. package/actions/test/sendUnsignedTransaction.ts +2 -2
  463. package/actions/wallet/prepareTransactionRequest.ts +0 -20
  464. package/actions/wallet/signTypedData.ts +2 -0
  465. package/celo/formatters.ts +1 -3
  466. package/celo/index.ts +5 -2
  467. package/celo/utils.ts +1 -0
  468. package/chains/definitions/ham.ts +24 -0
  469. package/chains/definitions/kakarotSepolia.ts +1 -1
  470. package/chains/definitions/optimism.ts +5 -0
  471. package/chains/definitions/redbellyTestnet.ts +24 -0
  472. package/chains/definitions/sei.ts +1 -0
  473. package/chains/definitions/xai.ts +25 -0
  474. package/chains/definitions/xaiTestnet.ts +19 -0
  475. package/chains/index.ts +4 -0
  476. package/clients/createClient.ts +4 -2
  477. package/clients/decorators/public.ts +1 -1
  478. package/clients/decorators/wallet.ts +1 -1
  479. package/clients/transports/fallback.ts +1 -0
  480. package/clients/transports/http.ts +9 -8
  481. package/constants/abis.ts +1 -0
  482. package/constants/blob.ts +1 -1
  483. package/constants/kzg.ts +0 -6
  484. package/errors/abi.ts +0 -13
  485. package/errors/base.ts +2 -1
  486. package/errors/ccip.ts +1 -0
  487. package/errors/stateOverride.ts +1 -0
  488. package/errors/version.ts +1 -1
  489. package/experimental/eip5792/actions/getCapabilities.ts +1 -1
  490. package/experimental/eip5792/actions/sendCalls.ts +1 -1
  491. package/experimental/erc7715/types/permission.ts +5 -0
  492. package/experimental/erc7715/types/signer.ts +3 -0
  493. package/index.ts +21 -5
  494. package/node/trustedSetups.ts +0 -5
  495. package/node/trustedSetups_cjs.ts +0 -5
  496. package/op-stack/abis.ts +0 -458
  497. package/op-stack/actions/buildProveWithdrawal.ts +1 -0
  498. package/op-stack/actions/estimateDepositTransactionGas.ts +18 -7
  499. package/op-stack/actions/estimateFinalizeWithdrawalGas.ts +11 -4
  500. package/op-stack/actions/estimateInitiateWithdrawalGas.ts +11 -4
  501. package/op-stack/actions/estimateProveWithdrawalGas.ts +11 -4
  502. package/op-stack/actions/getWithdrawalStatus.ts +6 -1
  503. package/op-stack/index.ts +0 -1
  504. package/package.json +1 -1
  505. package/types/account.ts +1 -11
  506. package/types/chain.ts +7 -7
  507. package/types/kzg.ts +2 -1
  508. package/types/proof.ts +2 -2
  509. package/types/utils.ts +11 -3
  510. package/utils/abi/decodeAbiParameters.ts +6 -1
  511. package/utils/abi/encodeAbiParameters.ts +22 -19
  512. package/utils/abi/encodeDeployData.ts +6 -5
  513. package/utils/abi/getAbiItem.ts +8 -2
  514. package/utils/address/getAddress.ts +1 -1
  515. package/utils/address/isAddress.ts +1 -0
  516. package/utils/blob/toBlobs.ts +2 -1
  517. package/utils/buildRequest.ts +1 -0
  518. package/utils/ccip.ts +11 -3
  519. package/utils/cursor.ts +16 -6
  520. package/utils/encoding/fromRlp.ts +3 -21
  521. package/utils/ens/avatar/parseAvatarRecord.ts +1 -1
  522. package/utils/ens/avatar/utils.ts +4 -2
  523. package/utils/ens/errors.ts +1 -0
  524. package/utils/hash/normalizeSignature.ts +2 -2
  525. package/utils/observe.ts +2 -0
  526. package/utils/promise/createBatchScheduler.ts +3 -2
  527. package/utils/promise/withCache.ts +3 -1
  528. package/utils/promise/withTimeout.ts +2 -2
  529. package/utils/rpc/id.ts +1 -1
  530. package/utils/rpc/ipc.ts +1 -0
  531. package/utils/stateOverride.ts +8 -5
  532. package/utils/transaction/parseTransaction.ts +7 -2
  533. package/utils/transaction/serializeTransaction.ts +11 -5
  534. package/utils/unit/parseUnits.ts +1 -1
  535. package/zksync/actions/deployContract.ts +8 -2
  536. package/zksync/actions/estimateGasL1ToL2.ts +1 -1
  537. package/zksync/actions/getAllBalances.ts +1 -1
  538. package/zksync/actions/getL1Allowance.ts +1 -1
  539. package/zksync/actions/getL1Balance.ts +1 -1
  540. package/zksync/actions/getL1TokenBalance.ts +10 -7
  541. package/zksync/actions/sendEip712Transaction.ts +27 -16
  542. package/zksync/actions/sendTransaction.ts +34 -18
  543. package/zksync/constants/contract.ts +0 -1
  544. package/zksync/decorators/eip712.ts +7 -2
  545. package/zksync/index.ts +5 -0
  546. package/zksync/serializers.ts +1 -2
  547. package/zksync/types/chain.ts +9 -9
  548. package/zksync/types/eip1193.ts +32 -26
  549. package/zksync/utils/abi/encodeDeployData.ts +12 -2
  550. package/zksync/utils/assertEip712Request.ts +9 -2
  551. package/zksync/utils/hashBytecode.ts +14 -2
  552. package/_cjs/utils/accounts.js +0 -8
  553. package/_cjs/utils/accounts.js.map +0 -1
  554. package/_esm/utils/accounts.js +0 -7
  555. package/_esm/utils/accounts.js.map +0 -1
  556. package/_types/utils/accounts.d.ts +0 -3
  557. package/_types/utils/accounts.d.ts.map +0 -1
  558. package/utils/accounts.ts +0 -7
@@ -1 +1 @@
1
- {"version":3,"file":"estimateDepositTransactionGas.d.ts","sourceRoot":"","sources":["../../../op-stack/actions/estimateDepositTransactionGas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,EACL,KAAK,4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cAAc,CAAA;IACvB,qDAAqD;IACrD,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;CAChC,CAAA;AACH,MAAM,MAAM,uCAAuC,GAAG,MAAM,CAAA;AAC5D,MAAM,MAAM,sCAAsC,GAC9C,4BAA4B,GAC5B,SAAS,CAAA;AAEb;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,wBAAsB,6BAA6B,CACjD,KAAK,SAAS,KAAK,GAAG,SAAS,EAC/B,OAAO,SAAS,OAAO,GAAG,SAAS,EACnC,aAAa,SAAS,KAAK,GAAG,SAAS,GAAG,SAAS,EAEnD,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,KAAK,EAAE,OAAO,CAAC,EACzC,UAAU,EAAE,uCAAuC,CACjD,KAAK,EACL,OAAO,EACP,aAAa,CACd,mBA6CF"}
1
+ {"version":3,"file":"estimateDepositTransactionGas.d.ts","sourceRoot":"","sources":["../../../op-stack/actions/estimateDepositTransactionGas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAEtC,OAAO,EACL,KAAK,4BAA4B,EAGlC,MAAM,6CAA6C,CAAA;AACpD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAE5E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AAC1E,OAAO,KAAK,EACV,KAAK,EACL,WAAW,EACX,iBAAiB,EAClB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AACpE,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,8CAA8C,CAAA;AAE/F,OAAO,KAAK,EAAE,2B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mBAoDF"}
@@ -11,7 +11,7 @@ import type { GetContractAddressParameter } from '../types/contract.js';
11
11
  import type { Withdrawal } from '../types/withdrawal.js';
12
12
  export type EstimateFinalizeWithdrawalGasParameters<chain extends Chain | undefined = Chain | undefined, account extends Account | undefined = Account | undefined, chainOverride extends Chain | undefined = Chain | undefined, _derivedChain extends Chain | undefined = DeriveChain<chain, chainOverride>> = UnionEvaluate<UnionOmit<FormattedTransactionRequest<_derivedChain>, 'accessList' | 'data' | 'from' | 'gas' | 'gasPrice' | 'to' | 'type' | 'value'>> & GetAccountParameter<account, Account | Address> & GetChainParameter<chain, chainOverride> & GetContractAddressParameter<_derivedChain, 'portal'> & {
13
13
  /** Gas limit for transaction execution on the L2. */
14
- gas?: bigint | null | undefined;
14
+ gas?: bigint | undefined;
15
15
  withdrawal: Withdrawal;
16
16
  };
17
17
  export type EstimateFinalizeWithdrawalGasReturnType = bigint;
@@ -1 +1 @@
1
- {"version":3,"file":"estimateFinalizeWithdrawalGas.d.ts","sourceRoot":"","sources":["../../../op-stack/actions/estimateFinalizeWithdrawalGas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,EACL,KAAK,4BAA4B,EAGlC,MAAM,6CAA6C,CAAA;AACpD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AAC1E,OAAO,KAAK,EACV,KAAK,EACL,WAAW,EACX,iBAAiB,EAClB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AACpE,OAAO,KAAK,EAAE,2BAA2B,EAAE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,CACjD,KAAK,EACL,OAAO,EACP,aAAa,CACd,mBA+BF"}
1
+ {"version":3,"file":"estimateFinalizeWithdrawalGas.d.ts","sourceRoot":"","sources":["../../../op-stack/actions/estimateFinalizeWithdrawalGas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,EACL,KAAK,4BAA4B,EAGlC,MAAM,6CAA6C,CAAA;AACpD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AAC1E,OAAO,KAAK,EACV,KAAK,EACL,WAAW,EACX,iBAAiB,EAClB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AACpE,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,8CAA8C,CAAA;AAE/F,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAA;AACvE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAExD,MAAM,MAAM,uCAAuC,CACjD,KAAK,SAAS,KAAK,GAAG,SAAS,GAAG,KAAK,GAAG,SAAS,EACnD,OAAO,SAAS,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,EACzD,aAAa,SAAS,KAAK,GAAG,SAAS,GAAG,KAAK,GAAG,SAAS,EAC3D,aAAa,SAAS,KAAK,GAAG,SAAS,GAAG,WAAW,CAAC,KAAK,EAAE,aAAa,CAAC,IACzE,aAAa,CACf,SAAS,CACP,2BAA2B,CAAC,aAAa,CAAC,EACxC,YAAY,GACZ,MAAM,GACN,MAAM,GACN,KAAK,GACL,UAAU,GACV,IAAI,GACJ,MAAM,GACN,OAAO,CACV,CACF,GACC,mBAAmB,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,GAC/C,iBAAiB,CAAC,KAAK,EAAE,aAAa,CAAC,GACvC,2BAA2B,CAAC,aAAa,EAAE,QAAQ,CAAC,GAAG;IACrD,qDAAqD;IACrD,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACxB,UAAU,EAAE,UAAU,CAAA;CACvB,CAAA;AACH,MAAM,MAAM,uCAAuC,GAAG,MAAM,CAAA;AAC5D,MAAM,MAAM,sCAAsC,GAC9C,4BAA4B,GAC5B,SAAS,CAAA;AAEb;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAsB,6BAA6B,CACjD,KAAK,SAAS,KAAK,GAAG,SAAS,EAC/B,OAAO,SAAS,OAAO,GAAG,SAAS,EACnC,aAAa,SAAS,KAAK,GAAG,SAAS,GAAG,SAAS,EAEnD,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,KAAK,EAAE,OAAO,CAAC,EACzC,UAAU,EAAE,uCAAuC,CACjD,KAAK,EACL,OAAO,EACP,aAAa,CACd,mBAsCF"}
@@ -10,7 +10,7 @@ import type { FormattedTransactionRequest } from '../../utils/formatters/transac
10
10
  import type { WithdrawalRequest } from '../types/withdrawal.js';
11
11
  export type EstimateInitiateWithdrawalGasParameters<chain extends Chain | undefined = Chain | undefined, account extends Account | undefined = Account | undefined, chainOverride extends Chain | undefined = Chain | undefined, _derivedChain extends Chain | undefined = DeriveChain<chain, chainOverride>> = UnionEvaluate<UnionOmit<FormattedTransactionRequest<_derivedChain>, 'accessList' | 'data' | 'from' | 'gas' | 'gasPrice' | 'to' | 'type' | 'value'>> & GetAccountParameter<account, Account | Address> & GetChainParameter<chain, chainOverride> & {
12
12
  /** Gas limit for transaction execution on the L2. */
13
- gas?: bigint | null | undefined;
13
+ gas?: bigint | undefined;
14
14
  /**
15
15
  * Withdrawal request.
16
16
  * Supplied to the L2ToL1MessagePasser `initiateWithdrawal` method.
@@ -1 +1 @@
1
- {"version":3,"file":"estimateInitiateWithdrawalGas.d.ts","sourceRoot":"","sources":["../../../op-stack/actions/estimateInitiateWithdrawalGas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,EACL,KAAK,4BAA4B,EAGlC,MAAM,6CAA6C,CAAA;AACpD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AAC1E,OAAO,KAAK,EACV,KAAK,EACL,WAAW,EACX,iBAAiB,EAClB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AACpE,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,8CAA8C,CAAA;AAG/F,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAE/D,MAAM,MAAM,uCAAuC,CACjD,KAAK,SAAS,KAAK,GAAG,SAAS,GAAG,KAAK,GAAG,SAAS,EACnD,OAAO,SAAS,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,EACzD,aAAa,SAAS,KAAK,GAAG,SAAS,GAAG,KAAK,GAAG,SAAS,EAC3D,aAAa,SAAS,KAAK,GAAG,SAAS,GAAG,WAAW,CAAC,KAAK,EAAE,aAAa,CAAC,IACzE,aAAa,CACf,SAAS,CACP,2BAA2B,CAAC,aAAa,CAAC,EACxC,YAAY,GACZ,MAAM,GACN,MAAM,GACN,KAAK,GACL,UAAU,GACV,IAAI,GACJ,MAAM,GACN,OAAO,CACV,CACF,GACC,mBAAmB,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,GAC/C,iBAAiB,CAAC,KAAK,EAAE,aAAa,CAAC,GAAG;IACxC,qDAAqD;IACrD,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IAC/B;;;OAGG;IACH,OAAO,EAAE,iBAAiB,CAAA;CAC3B,CAAA;AACH,MAAM,MAAM,uCAAuC,GAAG,MAAM,CAAA;AAC5D,MAAM,MAAM,sCAAsC,GAC9C,4BAA4B,GAC5B,SAAS,CAAA;AAEb;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAsB,6BAA6B,CACjD,KAAK,SAAS,KAAK,GAAG,SAAS,EAC/B,OAAO,SAAS,OAAO,GAAG,SAAS,EACnC,aAAa,SAAS,KAAK,GAAG,SAAS,GAAG,SAAS,EAEnD,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,KAAK,EAAE,OAAO,CAAC,EACzC,UAAU,EAAE,uCAAuC,CACjD,KAAK,EACL,OAAO,EACP,aAAa,CACd,mBAyBF"}
1
+ {"version":3,"file":"estimateInitiateWithdrawalGas.d.ts","sourceRoot":"","sources":["../../../op-stack/actions/estimateInitiateWithdrawalGas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,EACL,KAAK,4BAA4B,EAGlC,MAAM,6CAA6C,CAAA;AACpD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AAC1E,OAAO,KAAK,EACV,KAAK,EACL,WAAW,EACX,iBAAiB,EAClB,MAAM,sBAAsB,CAAA;AAC7B,OA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AuC,CACjD,KAAK,EACL,OAAO,EACP,aAAa,CACd,mBAgCF"}
@@ -11,7 +11,7 @@ import type { FormattedTransactionRequest } from '../../utils/formatters/transac
11
11
  import type { GetContractAddressParameter } from '../types/contract.js';
12
12
  export type EstimateProveWithdrawalGasParameters<chain extends Chain | undefined = Chain | undefined, account extends Account | undefined = Account | undefined, chainOverride extends Chain | undefined = Chain | undefined, _derivedChain extends Chain | undefined = DeriveChain<chain, chainOverride>> = UnionEvaluate<UnionOmit<FormattedTransactionRequest<_derivedChain>, 'accessList' | 'data' | 'from' | 'gas' | 'gasPrice' | 'to' | 'type' | 'value'>> & GetAccountParameter<account, Account | Address> & GetChainParameter<chain, chainOverride> & GetContractAddressParameter<_derivedChain, 'portal'> & {
13
13
  /** Gas limit for transaction execution on the L2. */
14
- gas?: bigint | null | undefined;
14
+ gas?: bigint | undefined;
15
15
  l2OutputIndex: bigint;
16
16
  outputRootProof: {
17
17
  version: Hex;
@@ -1 +1 @@
1
- {"version":3,"file":"estimateProveWithdrawalGas.d.ts","sourceRoot":"","sources":["../../../op-stack/actions/estimateProveWithdrawalGas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,EACL,KAAK,4BAA4B,EAGlC,MAAM,6CAA6C,CAAA;AACpD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AAC1E,OAAO,KAAK,EACV,KAAK,EACL,WAAW,EACX,iBAAiB,EAClB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAA;AAC9C,OAAO,KAAK,EAAE,aAA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;AAEb;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAsB,0BAA0B,CAC9C,KAAK,SAAS,KAAK,GAAG,SAAS,EAC/B,OAAO,SAAS,OAAO,GAAG,SAAS,EACnC,aAAa,SAAS,KAAK,GAAG,SAAS,GAAG,SAAS,EAEnD,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,KAAK,EAAE,OAAO,CAAC,EACzC,UAAU,EAAE,oCAAoC,CAC9C,KAAK,EACL,OAAO,EACP,aAAa,CACd,mBAyCF"}
@@ -6,6 +6,7 @@ import type { Account } from '../../types/account.js';
6
6
  import type { Chain, DeriveChain, GetChainParameter } from '../../types/chain.js';
7
7
  import type { TransactionReceipt } from '../../types/transaction.js';
8
8
  import type { OneOf } from '../../types/utils.js';
9
+ import { type ReceiptContainsNoWithdrawalsErrorType } from '../errors/withdrawal.js';
9
10
  import type { GetContractAddressParameter } from '../types/contract.js';
10
11
  import { type GetWithdrawalsErrorType } from '../utils/getWithdrawals.js';
11
12
  import { type GetL2OutputErrorType } from './getL2Output.js';
@@ -19,7 +20,7 @@ export type GetWithdrawalStatusParameters<chain extends Chain | undefined = Chai
19
20
  receipt: TransactionReceipt;
20
21
  };
21
22
  export type GetWithdrawalStatusReturnType = 'waiting-to-prove' | 'ready-to-prove' | 'waiting-to-finalize' | 'ready-to-finalize' | 'finalized';
22
- export type GetWithdrawalStatusErrorType = GetL2OutputErrorType | GetTimeToFinalizeErrorType | GetWithdrawalsErrorType | ReadContractErrorType | ErrorType;
23
+ export type GetWithdrawalStatusErrorType = GetL2OutputErrorType | GetTimeToFinalizeErrorType | GetWithdrawalsErrorType | ReadContractErrorType | ReceiptContainsNoWithdrawalsErrorType | ErrorType;
23
24
  /**
24
25
  * Returns the current status of a withdrawal. Used for the [Withdrawal](/op-stack/guides/withdrawals) flow.
25
26
  *
@@ -1 +1 @@
1
- {"version":3,"file":"getWithdrawalStatus.d.ts","sourceRoot":"","sources":["../../../op-stack/actions/getWithdrawalSt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AE,6BAA6B,CAAC,KAAK,EAAE,aAAa,CAAC,GAC9D,OAAO,CAAC,6BAA6B,CAAC,CA6IxC"}
@@ -57,6 +57,7 @@ export declare const chainConfig: {
57
57
  readonly transaction: {
58
58
  exclude: [] | undefined;
59
59
  format: (args: ({
60
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
60
61
  r?: `0x${string}`;
61
62
  s?: `0x${string}`;
62
63
  v?: `0x${string}`;
@@ -65,7 +66,6 @@ export declare const chainConfig: {
65
66
  maxFeePerBlobGas?: `0x${string}` | undefined;
66
67
  maxFeePerGas?: `0x${string}` | undefined;
67
68
  maxPriorityFeePerGas?: `0x${string}` | undefined;
68
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
69
69
  to?: `0x${string}` | null;
70
70
  from?: `0x${string}`;
71
71
  gas?: `0x${string}`;
@@ -80,6 +80,7 @@ export declare const chainConfig: {
80
80
  transactionIndex?: `0x${string}` | null;
81
81
  chainId?: `0x${string}` | undefined;
82
82
  } & {
83
+ type: "0x0";
83
84
  r: `0x${string}`;
84
85
  s: `0x${string}`;
85
86
  v: `0x${string}`;
@@ -88,7 +89,6 @@ export declare const chainConfig: {
88
89
  maxFeePerBlobGas?: undefined;
89
90
  maxFeePerGas?: undefined;
90
91
  maxPriorityFeePerGas?: undefined;
91
- type: "0x0";
92
92
  to: `0x${string}` | null;
93
93
  from: `0x${string}`;
94
94
  gas: `0x${string}`;
@@ -107,6 +107,7 @@ export declare const chainConfig: {
107
107
  mint?: undefined;
108
108
  sourceHash?: undefined;
109
109
  }) | ({
110
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
110
111
  r?: `0x${string}`;
111
112
  s?: `0x${string}`;
112
113
  v?: `0x${string}`;
@@ -115,7 +116,6 @@ export declare const chainConfig: {
115
116
  maxFeePerBlobGas?: `0x${string}` | undefined;
116
117
  maxFeePerGas?: `0x${string}` | undefined;
117
118
  maxPriorityFeePerGas?: `0x${string}` | undefined;
118
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
119
119
  to?: `0x${string}` | null;
120
120
  from?: `0x${string}`;
121
121
  gas?: `0x${string}`;
@@ -135,6 +135,7 @@ export declare const chainConfig: {
135
135
  sourceHash: `0x${string}`;
136
136
  type: "0x7e";
137
137
  }) | ({
138
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
138
139
  r?: `0x${string}`;
139
140
  s?: `0x${string}`;
140
141
  v?: `0x${string}`;
@@ -142,7 +143,6 @@ export declare const chainConfig: {
142
143
  maxFeePerBlobGas?: `0x${string}` | undefined;
143
144
  maxFeePerGas?: `0x${string}` | undefined;
144
145
  maxPriorityFeePerGas?: `0x${string}` | undefined;
145
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
146
146
  to?: `0x${string}` | null;
147
147
  from?: `0x${string}`;
148
148
  gas?: `0x${string}`;
@@ -158,6 +158,7 @@ export declare const chainConfig: {
158
158
  chainId?: `0x${string}` | undefined;
159
159
  yParity?: `0x${string}` | undefined;
160
160
  } & {
161
+ type: "0x0";
161
162
  r: `0x${string}`;
162
163
  s: `0x${string}`;
163
164
  v: `0x${string}`;
@@ -166,7 +167,6 @@ export declare const chainConfig: {
166
167
  maxFeePerBlobGas?: undefined;
167
168
  maxFeePerGas?: undefined;
168
169
  maxPriorityFeePerGas?: undefined;
169
- type: "0x0";
170
170
  to: `0x${string}` | null;
171
171
  from: `0x${string}`;
172
172
  gas: `0x${string}`;
@@ -185,6 +185,7 @@ export declare const chainConfig: {
185
185
  mint?: undefined;
186
186
  sourceHash?: undefined;
187
187
  }) | ({
188
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
188
189
  r?: `0x${string}`;
189
190
  s?: `0x${string}`;
190
191
  v?: `0x${string}`;
@@ -192,7 +193,6 @@ export declare const chainConfig: {
192
193
  maxFeePerBlobGas?: `0x${string}` | undefined;
193
194
  maxFeePerGas?: `0x${string}` | undefined;
194
195
  maxPriorityFeePerGas?: `0x${string}` | undefined;
195
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
196
196
  to?: `0x${string}` | null;
197
197
  from?: `0x${string}`;
198
198
  gas?: `0x${string}`;
@@ -208,6 +208,7 @@ export declare const chainConfig: {
208
208
  chainId?: `0x${string}` | undefined;
209
209
  yParity?: `0x${string}` | undefined;
210
210
  } & {
211
+ type: "0x1";
211
212
  r: `0x${string}`;
212
213
  s: `0x${string}`;
213
214
  v: `0x${string}`;
@@ -215,7 +216,6 @@ export declare const chainConfig: {
215
216
  maxFeePerBlobGas?: undefined;
216
217
  maxFeePerGas?: undefined;
217
218
  maxPriorityFeePerGas?: undefined;
218
- type: "0x1";
219
219
  to: `0x${string}` | null;
220
220
  from: `0x${string}`;
221
221
  gas: `0x${string}`;
@@ -235,6 +235,7 @@ export declare const chainConfig: {
235
235
  mint?: undefined;
236
236
  sourceHash?: undefined;
237
237
  }) | ({
238
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
238
239
  r?: `0x${string}`;
239
240
  s?: `0x${string}`;
240
241
  v?: `0x${string}`;
@@ -242,7 +243,6 @@ export declare const chainConfig: {
242
243
  maxFeePerBlobGas?: `0x${string}` | undefined;
243
244
  maxFeePerGas?: `0x${string}` | undefined;
244
245
  maxPriorityFeePerGas?: `0x${string}` | undefined;
245
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
246
246
  to?: `0x${string}` | null;
247
247
  from?: `0x${string}`;
248
248
  gas?: `0x${string}`;
@@ -258,6 +258,7 @@ export declare const chainConfig: {
258
258
  chainId?: `0x${string}` | undefined;
259
259
  yParity?: `0x${string}` | undefined;
260
260
  } & {
261
+ type: "0x2";
261
262
  r: `0x${string}`;
262
263
  s: `0x${string}`;
263
264
  v: `0x${string}`;
@@ -265,7 +266,6 @@ export declare const chainConfig: {
265
266
  maxFeePerBlobGas?: undefined;
266
267
  maxFeePerGas: `0x${string}`;
267
268
  maxPriorityFeePerGas: `0x${string}`;
268
- type: "0x2";
269
269
  to: `0x${string}` | null;
270
270
  from: `0x${string}`;
271
271
  gas: `0x${string}`;
@@ -285,6 +285,7 @@ export declare const chainConfig: {
285
285
  mint?: undefined;
286
286
  sourceHash?: undefined;
287
287
  }) | ({
288
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
288
289
  r?: `0x${string}`;
289
290
  s?: `0x${string}`;
290
291
  v?: `0x${string}`;
@@ -292,7 +293,6 @@ export declare const chainConfig: {
292
293
  maxFeePerBlobGas?: `0x${string}` | undefined;
293
294
  maxFeePerGas?: `0x${string}` | undefined;
294
295
  maxPriorityFeePerGas?: `0x${string}` | undefined;
295
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
296
296
  to?: `0x${string}` | null;
297
297
  from?: `0x${string}`;
298
298
  gas?: `0x${string}`;
@@ -313,6 +313,7 @@ export declare const chainConfig: {
313
313
  sourceHash: `0x${string}`;
314
314
  type: "0x7e";
315
315
  }) | ({
316
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
316
317
  r?: `0x${string}`;
317
318
  s?: `0x${string}`;
318
319
  v?: `0x${string}`;
@@ -320,7 +321,6 @@ export declare const chainConfig: {
320
321
  maxFeePerBlobGas?: `0x${string}` | undefined;
321
322
  maxFeePerGas?: `0x${string}` | undefined;
322
323
  maxPriorityFeePerGas?: `0x${string}` | undefined;
323
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
324
324
  to?: `0x${string}` | null;
325
325
  from?: `0x${string}`;
326
326
  gas?: `0x${string}`;
@@ -336,6 +336,7 @@ export declare const chainConfig: {
336
336
  chainId?: `0x${string}` | undefined;
337
337
  yParity?: `0x${string}` | undefined;
338
338
  } & {
339
+ type: "0x0";
339
340
  r: `0x${string}`;
340
341
  s: `0x${string}`;
341
342
  v: `0x${string}`;
@@ -344,7 +345,6 @@ export declare const chainConfig: {
344
345
  maxFeePerBlobGas?: undefined;
345
346
  maxFeePerGas?: undefined;
346
347
  maxPriorityFeePerGas?: undefined;
347
- type: "0x0";
348
348
  to: `0x${string}` | null;
349
349
  from: `0x${string}`;
350
350
  gas: `0x${string}`;
@@ -363,6 +363,7 @@ export declare const chainConfig: {
363
363
  mint?: undefined;
364
364
  sourceHash?: undefined;
365
365
  }) | ({
366
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
366
367
  r?: `0x${string}`;
367
368
  s?: `0x${string}`;
368
369
  v?: `0x${string}`;
@@ -370,7 +371,6 @@ export declare const chainConfig: {
370
371
  maxFeePerBlobGas?: `0x${string}` | undefined;
371
372
  maxFeePerGas?: `0x${string}` | undefined;
372
373
  maxPriorityFeePerGas?: `0x${string}` | undefined;
373
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
374
374
  to?: `0x${string}` | null;
375
375
  from?: `0x${string}`;
376
376
  gas?: `0x${string}`;
@@ -386,6 +386,7 @@ export declare const chainConfig: {
386
386
  chainId?: `0x${string}` | undefined;
387
387
  yParity?: `0x${string}` | undefined;
388
388
  } & {
389
+ type: "0x1";
389
390
  r: `0x${string}`;
390
391
  s: `0x${string}`;
391
392
  v: `0x${string}`;
@@ -393,7 +394,6 @@ export declare const chainConfig: {
393
394
  maxFeePerBlobGas?: undefined;
394
395
  maxFeePerGas?: undefined;
395
396
  maxPriorityFeePerGas?: undefined;
396
- type: "0x1";
397
397
  to: `0x${string}` | null;
398
398
  from: `0x${string}`;
399
399
  gas: `0x${string}`;
@@ -413,6 +413,7 @@ export declare const chainConfig: {
413
413
  mint?: undefined;
414
414
  sourceHash?: undefined;
415
415
  }) | ({
416
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
416
417
  r?: `0x${string}`;
417
418
  s?: `0x${string}`;
418
419
  v?: `0x${string}`;
@@ -420,7 +421,6 @@ export declare const chainConfig: {
420
421
  maxFeePerBlobGas?: `0x${string}` | undefined;
421
422
  maxFeePerGas?: `0x${string}` | undefined;
422
423
  maxPriorityFeePerGas?: `0x${string}` | undefined;
423
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
424
424
  to?: `0x${string}` | null;
425
425
  from?: `0x${string}`;
426
426
  gas?: `0x${string}`;
@@ -436,6 +436,7 @@ export declare const chainConfig: {
436
436
  chainId?: `0x${string}` | undefined;
437
437
  yParity?: `0x${string}` | undefined;
438
438
  } & {
439
+ type: "0x2";
439
440
  r: `0x${string}`;
440
441
  s: `0x${string}`;
441
442
  v: `0x${string}`;
@@ -443,7 +444,6 @@ export declare const chainConfig: {
443
444
  maxFeePerBlobGas?: undefined;
444
445
  maxFeePerGas: `0x${string}`;
445
446
  maxPriorityFeePerGas: `0x${string}`;
446
- type: "0x2";
447
447
  to: `0x${string}` | null;
448
448
  from: `0x${string}`;
449
449
  gas: `0x${string}`;
@@ -463,6 +463,7 @@ export declare const chainConfig: {
463
463
  mint?: undefined;
464
464
  sourceHash?: undefined;
465
465
  }) | ({
466
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
466
467
  r?: `0x${string}`;
467
468
  s?: `0x${string}`;
468
469
  v?: `0x${string}`;
@@ -470,7 +471,6 @@ export declare const chainConfig: {
470
471
  maxFeePerBlobGas?: `0x${string}` | undefined;
471
472
  maxFeePerGas?: `0x${string}` | undefined;
472
473
  maxPriorityFeePerGas?: `0x${string}` | undefined;
473
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
474
474
  to?: `0x${string}` | null;
475
475
  from?: `0x${string}`;
476
476
  gas?: `0x${string}`;
@@ -491,6 +491,7 @@ export declare const chainConfig: {
491
491
  sourceHash: `0x${string}`;
492
492
  type: "0x7e";
493
493
  }) | ({
494
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
494
495
  r?: `0x${string}`;
495
496
  s?: `0x${string}`;
496
497
  v?: `0x${string}`;
@@ -498,7 +499,6 @@ export declare const chainConfig: {
498
499
  maxFeePerBlobGas?: `0x${string}` | undefined;
499
500
  maxFeePerGas?: `0x${string}` | undefined;
500
501
  maxPriorityFeePerGas?: `0x${string}` | undefined;
501
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
502
502
  to?: `0x${string}` | null;
503
503
  from?: `0x${string}`;
504
504
  gas?: `0x${string}`;
@@ -514,6 +514,7 @@ export declare const chainConfig: {
514
514
  chainId?: `0x${string}` | undefined;
515
515
  yParity?: `0x${string}` | undefined;
516
516
  } & {
517
+ type: "0x0";
517
518
  r: `0x${string}`;
518
519
  s: `0x${string}`;
519
520
  v: `0x${string}`;
@@ -522,7 +523,6 @@ export declare const chainConfig: {
522
523
  maxFeePerBlobGas?: undefined;
523
524
  maxFeePerGas?: undefined;
524
525
  maxPriorityFeePerGas?: undefined;
525
- type: "0x0";
526
526
  to: `0x${string}` | null;
527
527
  from: `0x${string}`;
528
528
  gas: `0x${string}`;
@@ -541,6 +541,7 @@ export declare const chainConfig: {
541
541
  mint?: undefined;
542
542
  sourceHash?: undefined;
543
543
  }) | ({
544
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
544
545
  r?: `0x${string}`;
545
546
  s?: `0x${string}`;
546
547
  v?: `0x${string}`;
@@ -548,7 +549,6 @@ export declare const chainConfig: {
548
549
  maxFeePerBlobGas?: `0x${string}` | undefined;
549
550
  maxFeePerGas?: `0x${string}` | undefined;
550
551
  maxPriorityFeePerGas?: `0x${string}` | undefined;
551
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
552
552
  to?: `0x${string}` | null;
553
553
  from?: `0x${string}`;
554
554
  gas?: `0x${string}`;
@@ -564,6 +564,7 @@ export declare const chainConfig: {
564
564
  chainId?: `0x${string}` | undefined;
565
565
  yParity?: `0x${string}` | undefined;
566
566
  } & {
567
+ type: "0x1";
567
568
  r: `0x${string}`;
568
569
  s: `0x${string}`;
569
570
  v: `0x${string}`;
@@ -571,7 +572,6 @@ export declare const chainConfig: {
571
572
  maxFeePerBlobGas?: undefined;
572
573
  maxFeePerGas?: undefined;
573
574
  maxPriorityFeePerGas?: undefined;
574
- type: "0x1";
575
575
  to: `0x${string}` | null;
576
576
  from: `0x${string}`;
577
577
  gas: `0x${string}`;
@@ -591,6 +591,7 @@ export declare const chainConfig: {
591
591
  mint?: undefined;
592
592
  sourceHash?: undefined;
593
593
  }) | ({
594
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
594
595
  r?: `0x${string}`;
595
596
  s?: `0x${string}`;
596
597
  v?: `0x${string}`;
@@ -598,7 +599,6 @@ export declare const chainConfig: {
598
599
  maxFeePerBlobGas?: `0x${string}` | undefined;
599
600
  maxFeePerGas?: `0x${string}` | undefined;
600
601
  maxPriorityFeePerGas?: `0x${string}` | undefined;
601
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
602
602
  to?: `0x${string}` | null;
603
603
  from?: `0x${string}`;
604
604
  gas?: `0x${string}`;
@@ -614,6 +614,7 @@ export declare const chainConfig: {
614
614
  chainId?: `0x${string}` | undefined;
615
615
  yParity?: `0x${string}` | undefined;
616
616
  } & {
617
+ type: "0x2";
617
618
  r: `0x${string}`;
618
619
  s: `0x${string}`;
619
620
  v: `0x${string}`;
@@ -621,7 +622,6 @@ export declare const chainConfig: {
621
622
  maxFeePerBlobGas?: undefined;
622
623
  maxFeePerGas: `0x${string}`;
623
624
  maxPriorityFeePerGas: `0x${string}`;
624
- type: "0x2";
625
625
  to: `0x${string}` | null;
626
626
  from: `0x${string}`;
627
627
  gas: `0x${string}`;
@@ -641,6 +641,7 @@ export declare const chainConfig: {
641
641
  mint?: undefined;
642
642
  sourceHash?: undefined;
643
643
  }) | ({
644
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
644
645
  r?: `0x${string}`;
645
646
  s?: `0x${string}`;
646
647
  v?: `0x${string}`;
@@ -648,7 +649,6 @@ export declare const chainConfig: {
648
649
  maxFeePerBlobGas?: `0x${string}` | undefined;
649
650
  maxFeePerGas?: `0x${string}` | undefined;
650
651
  maxPriorityFeePerGas?: `0x${string}` | undefined;
651
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
652
652
  to?: `0x${string}` | null;
653
653
  from?: `0x${string}`;
654
654
  gas?: `0x${string}`;
@@ -664,6 +664,7 @@ export declare const chainConfig: {
664
664
  chainId?: `0x${string}` | undefined;
665
665
  yParity?: `0x${string}` | undefined;
666
666
  } & {
667
+ type: "0x3";
667
668
  r: `0x${string}`;
668
669
  s: `0x${string}`;
669
670
  v: `0x${string}`;
@@ -671,7 +672,6 @@ export declare const chainConfig: {
671
672
  maxFeePerBlobGas: `0x${string}`;
672
673
  maxFeePerGas: `0x${string}`;
673
674
  maxPriorityFeePerGas: `0x${string}`;
674
- type: "0x3";
675
675
  to: `0x${string}` | null;
676
676
  from: `0x${string}`;
677
677
  gas: `0x${string}`;
@@ -691,6 +691,7 @@ export declare const chainConfig: {
691
691
  mint?: undefined;
692
692
  sourceHash?: undefined;
693
693
  }) | ({
694
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
694
695
  r?: `0x${string}`;
695
696
  s?: `0x${string}`;
696
697
  v?: `0x${string}`;
@@ -698,7 +699,6 @@ export declare const chainConfig: {
698
699
  maxFeePerBlobGas?: `0x${string}` | undefined;
699
700
  maxFeePerGas?: `0x${string}` | undefined;
700
701
  maxPriorityFeePerGas?: `0x${string}` | undefined;
701
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
702
702
  to?: `0x${string}` | null;
703
703
  from?: `0x${string}`;
704
704
  gas?: `0x${string}`;