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
@@ -39,6 +39,7 @@ export declare const formatters: {
39
39
  readonly transaction: {
40
40
  exclude: [] | undefined;
41
41
  format: (args: ({
42
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
42
43
  r?: `0x${string}`;
43
44
  s?: `0x${string}`;
44
45
  v?: `0x${string}`;
@@ -47,7 +48,6 @@ export declare const formatters: {
47
48
  maxFeePerBlobGas?: `0x${string}` | undefined;
48
49
  maxFeePerGas?: `0x${string}` | undefined;
49
50
  maxPriorityFeePerGas?: `0x${string}` | undefined;
50
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
51
51
  to?: `0x${string}` | null;
52
52
  from?: `0x${string}`;
53
53
  gas?: `0x${string}`;
@@ -62,6 +62,7 @@ export declare const formatters: {
62
62
  transactionIndex?: `0x${string}` | null;
63
63
  chainId?: `0x${string}` | undefined;
64
64
  } & {
65
+ type: "0x0";
65
66
  r: `0x${string}`;
66
67
  s: `0x${string}`;
67
68
  v: `0x${string}`;
@@ -70,7 +71,6 @@ export declare const formatters: {
70
71
  maxFeePerBlobGas?: undefined;
71
72
  maxFeePerGas?: undefined;
72
73
  maxPriorityFeePerGas?: undefined;
73
- type: "0x0";
74
74
  to: `0x${string}` | null;
75
75
  from: `0x${string}`;
76
76
  gas: `0x${string}`;
@@ -89,6 +89,7 @@ export declare const formatters: {
89
89
  mint?: undefined;
90
90
  sourceHash?: undefined;
91
91
  }) | ({
92
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
92
93
  r?: `0x${string}`;
93
94
  s?: `0x${string}`;
94
95
  v?: `0x${string}`;
@@ -97,7 +98,6 @@ export declare const formatters: {
97
98
  maxFeePerBlobGas?: `0x${string}` | undefined;
98
99
  maxFeePerGas?: `0x${string}` | undefined;
99
100
  maxPriorityFeePerGas?: `0x${string}` | undefined;
100
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
101
101
  to?: `0x${string}` | null;
102
102
  from?: `0x${string}`;
103
103
  gas?: `0x${string}`;
@@ -117,6 +117,7 @@ export declare const formatters: {
117
117
  sourceHash: `0x${string}`;
118
118
  type: "0x7e";
119
119
  }) | ({
120
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
120
121
  r?: `0x${string}`;
121
122
  s?: `0x${string}`;
122
123
  v?: `0x${string}`;
@@ -124,7 +125,6 @@ export declare const formatters: {
124
125
  maxFeePerBlobGas?: `0x${string}` | undefined;
125
126
  maxFeePerGas?: `0x${string}` | undefined;
126
127
  maxPriorityFeePerGas?: `0x${string}` | undefined;
127
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
128
128
  to?: `0x${string}` | null;
129
129
  from?: `0x${string}`;
130
130
  gas?: `0x${string}`;
@@ -140,6 +140,7 @@ export declare const formatters: {
140
140
  chainId?: `0x${string}` | undefined;
141
141
  yParity?: `0x${string}` | undefined;
142
142
  } & {
143
+ type: "0x0";
143
144
  r: `0x${string}`;
144
145
  s: `0x${string}`;
145
146
  v: `0x${string}`;
@@ -148,7 +149,6 @@ export declare const formatters: {
148
149
  maxFeePerBlobGas?: undefined;
149
150
  maxFeePerGas?: undefined;
150
151
  maxPriorityFeePerGas?: undefined;
151
- type: "0x0";
152
152
  to: `0x${string}` | null;
153
153
  from: `0x${string}`;
154
154
  gas: `0x${string}`;
@@ -167,6 +167,7 @@ export declare const formatters: {
167
167
  mint?: undefined;
168
168
  sourceHash?: undefined;
169
169
  }) | ({
170
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
170
171
  r?: `0x${string}`;
171
172
  s?: `0x${string}`;
172
173
  v?: `0x${string}`;
@@ -174,7 +175,6 @@ export declare const formatters: {
174
175
  maxFeePerBlobGas?: `0x${string}` | undefined;
175
176
  maxFeePerGas?: `0x${string}` | undefined;
176
177
  maxPriorityFeePerGas?: `0x${string}` | undefined;
177
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
178
178
  to?: `0x${string}` | null;
179
179
  from?: `0x${string}`;
180
180
  gas?: `0x${string}`;
@@ -190,6 +190,7 @@ export declare const formatters: {
190
190
  chainId?: `0x${string}` | undefined;
191
191
  yParity?: `0x${string}` | undefined;
192
192
  } & {
193
+ type: "0x1";
193
194
  r: `0x${string}`;
194
195
  s: `0x${string}`;
195
196
  v: `0x${string}`;
@@ -197,7 +198,6 @@ export declare const formatters: {
197
198
  maxFeePerBlobGas?: undefined;
198
199
  maxFeePerGas?: undefined;
199
200
  maxPriorityFeePerGas?: undefined;
200
- type: "0x1";
201
201
  to: `0x${string}` | null;
202
202
  from: `0x${string}`;
203
203
  gas: `0x${string}`;
@@ -217,6 +217,7 @@ export declare const formatters: {
217
217
  mint?: undefined;
218
218
  sourceHash?: undefined;
219
219
  }) | ({
220
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
220
221
  r?: `0x${string}`;
221
222
  s?: `0x${string}`;
222
223
  v?: `0x${string}`;
@@ -224,7 +225,6 @@ export declare const formatters: {
224
225
  maxFeePerBlobGas?: `0x${string}` | undefined;
225
226
  maxFeePerGas?: `0x${string}` | undefined;
226
227
  maxPriorityFeePerGas?: `0x${string}` | undefined;
227
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
228
228
  to?: `0x${string}` | null;
229
229
  from?: `0x${string}`;
230
230
  gas?: `0x${string}`;
@@ -240,6 +240,7 @@ export declare const formatters: {
240
240
  chainId?: `0x${string}` | undefined;
241
241
  yParity?: `0x${string}` | undefined;
242
242
  } & {
243
+ type: "0x2";
243
244
  r: `0x${string}`;
244
245
  s: `0x${string}`;
245
246
  v: `0x${string}`;
@@ -247,7 +248,6 @@ export declare const formatters: {
247
248
  maxFeePerBlobGas?: undefined;
248
249
  maxFeePerGas: `0x${string}`;
249
250
  maxPriorityFeePerGas: `0x${string}`;
250
- type: "0x2";
251
251
  to: `0x${string}` | null;
252
252
  from: `0x${string}`;
253
253
  gas: `0x${string}`;
@@ -267,6 +267,7 @@ export declare const formatters: {
267
267
  mint?: undefined;
268
268
  sourceHash?: undefined;
269
269
  }) | ({
270
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
270
271
  r?: `0x${string}`;
271
272
  s?: `0x${string}`;
272
273
  v?: `0x${string}`;
@@ -274,7 +275,6 @@ export declare const formatters: {
274
275
  maxFeePerBlobGas?: `0x${string}` | undefined;
275
276
  maxFeePerGas?: `0x${string}` | undefined;
276
277
  maxPriorityFeePerGas?: `0x${string}` | undefined;
277
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
278
278
  to?: `0x${string}` | null;
279
279
  from?: `0x${string}`;
280
280
  gas?: `0x${string}`;
@@ -295,6 +295,7 @@ export declare const formatters: {
295
295
  sourceHash: `0x${string}`;
296
296
  type: "0x7e";
297
297
  }) | ({
298
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
298
299
  r?: `0x${string}`;
299
300
  s?: `0x${string}`;
300
301
  v?: `0x${string}`;
@@ -302,7 +303,6 @@ export declare const formatters: {
302
303
  maxFeePerBlobGas?: `0x${string}` | undefined;
303
304
  maxFeePerGas?: `0x${string}` | undefined;
304
305
  maxPriorityFeePerGas?: `0x${string}` | undefined;
305
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
306
306
  to?: `0x${string}` | null;
307
307
  from?: `0x${string}`;
308
308
  gas?: `0x${string}`;
@@ -318,6 +318,7 @@ export declare const formatters: {
318
318
  chainId?: `0x${string}` | undefined;
319
319
  yParity?: `0x${string}` | undefined;
320
320
  } & {
321
+ type: "0x0";
321
322
  r: `0x${string}`;
322
323
  s: `0x${string}`;
323
324
  v: `0x${string}`;
@@ -326,7 +327,6 @@ export declare const formatters: {
326
327
  maxFeePerBlobGas?: undefined;
327
328
  maxFeePerGas?: undefined;
328
329
  maxPriorityFeePerGas?: undefined;
329
- type: "0x0";
330
330
  to: `0x${string}` | null;
331
331
  from: `0x${string}`;
332
332
  gas: `0x${string}`;
@@ -345,6 +345,7 @@ export declare const formatters: {
345
345
  mint?: undefined;
346
346
  sourceHash?: undefined;
347
347
  }) | ({
348
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
348
349
  r?: `0x${string}`;
349
350
  s?: `0x${string}`;
350
351
  v?: `0x${string}`;
@@ -352,7 +353,6 @@ export declare const formatters: {
352
353
  maxFeePerBlobGas?: `0x${string}` | undefined;
353
354
  maxFeePerGas?: `0x${string}` | undefined;
354
355
  maxPriorityFeePerGas?: `0x${string}` | undefined;
355
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
356
356
  to?: `0x${string}` | null;
357
357
  from?: `0x${string}`;
358
358
  gas?: `0x${string}`;
@@ -368,6 +368,7 @@ export declare const formatters: {
368
368
  chainId?: `0x${string}` | undefined;
369
369
  yParity?: `0x${string}` | undefined;
370
370
  } & {
371
+ type: "0x1";
371
372
  r: `0x${string}`;
372
373
  s: `0x${string}`;
373
374
  v: `0x${string}`;
@@ -375,7 +376,6 @@ export declare const formatters: {
375
376
  maxFeePerBlobGas?: undefined;
376
377
  maxFeePerGas?: undefined;
377
378
  maxPriorityFeePerGas?: undefined;
378
- type: "0x1";
379
379
  to: `0x${string}` | null;
380
380
  from: `0x${string}`;
381
381
  gas: `0x${string}`;
@@ -395,6 +395,7 @@ export declare const formatters: {
395
395
  mint?: undefined;
396
396
  sourceHash?: undefined;
397
397
  }) | ({
398
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
398
399
  r?: `0x${string}`;
399
400
  s?: `0x${string}`;
400
401
  v?: `0x${string}`;
@@ -402,7 +403,6 @@ export declare const formatters: {
402
403
  maxFeePerBlobGas?: `0x${string}` | undefined;
403
404
  maxFeePerGas?: `0x${string}` | undefined;
404
405
  maxPriorityFeePerGas?: `0x${string}` | undefined;
405
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
406
406
  to?: `0x${string}` | null;
407
407
  from?: `0x${string}`;
408
408
  gas?: `0x${string}`;
@@ -418,6 +418,7 @@ export declare const formatters: {
418
418
  chainId?: `0x${string}` | undefined;
419
419
  yParity?: `0x${string}` | undefined;
420
420
  } & {
421
+ type: "0x2";
421
422
  r: `0x${string}`;
422
423
  s: `0x${string}`;
423
424
  v: `0x${string}`;
@@ -425,7 +426,6 @@ export declare const formatters: {
425
426
  maxFeePerBlobGas?: undefined;
426
427
  maxFeePerGas: `0x${string}`;
427
428
  maxPriorityFeePerGas: `0x${string}`;
428
- type: "0x2";
429
429
  to: `0x${string}` | null;
430
430
  from: `0x${string}`;
431
431
  gas: `0x${string}`;
@@ -445,6 +445,7 @@ export declare const formatters: {
445
445
  mint?: undefined;
446
446
  sourceHash?: undefined;
447
447
  }) | ({
448
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
448
449
  r?: `0x${string}`;
449
450
  s?: `0x${string}`;
450
451
  v?: `0x${string}`;
@@ -452,7 +453,6 @@ export declare const formatters: {
452
453
  maxFeePerBlobGas?: `0x${string}` | undefined;
453
454
  maxFeePerGas?: `0x${string}` | undefined;
454
455
  maxPriorityFeePerGas?: `0x${string}` | undefined;
455
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
456
456
  to?: `0x${string}` | null;
457
457
  from?: `0x${string}`;
458
458
  gas?: `0x${string}`;
@@ -473,6 +473,7 @@ export declare const formatters: {
473
473
  sourceHash: `0x${string}`;
474
474
  type: "0x7e";
475
475
  }) | ({
476
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
476
477
  r?: `0x${string}`;
477
478
  s?: `0x${string}`;
478
479
  v?: `0x${string}`;
@@ -480,7 +481,6 @@ export declare const formatters: {
480
481
  maxFeePerBlobGas?: `0x${string}` | undefined;
481
482
  maxFeePerGas?: `0x${string}` | undefined;
482
483
  maxPriorityFeePerGas?: `0x${string}` | undefined;
483
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
484
484
  to?: `0x${string}` | null;
485
485
  from?: `0x${string}`;
486
486
  gas?: `0x${string}`;
@@ -496,6 +496,7 @@ export declare const formatters: {
496
496
  chainId?: `0x${string}` | undefined;
497
497
  yParity?: `0x${string}` | undefined;
498
498
  } & {
499
+ type: "0x0";
499
500
  r: `0x${string}`;
500
501
  s: `0x${string}`;
501
502
  v: `0x${string}`;
@@ -504,7 +505,6 @@ export declare const formatters: {
504
505
  maxFeePerBlobGas?: undefined;
505
506
  maxFeePerGas?: undefined;
506
507
  maxPriorityFeePerGas?: undefined;
507
- type: "0x0";
508
508
  to: `0x${string}` | null;
509
509
  from: `0x${string}`;
510
510
  gas: `0x${string}`;
@@ -523,6 +523,7 @@ export declare const formatters: {
523
523
  mint?: undefined;
524
524
  sourceHash?: undefined;
525
525
  }) | ({
526
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
526
527
  r?: `0x${string}`;
527
528
  s?: `0x${string}`;
528
529
  v?: `0x${string}`;
@@ -530,7 +531,6 @@ export declare const formatters: {
530
531
  maxFeePerBlobGas?: `0x${string}` | undefined;
531
532
  maxFeePerGas?: `0x${string}` | undefined;
532
533
  maxPriorityFeePerGas?: `0x${string}` | undefined;
533
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
534
534
  to?: `0x${string}` | null;
535
535
  from?: `0x${string}`;
536
536
  gas?: `0x${string}`;
@@ -546,6 +546,7 @@ export declare const formatters: {
546
546
  chainId?: `0x${string}` | undefined;
547
547
  yParity?: `0x${string}` | undefined;
548
548
  } & {
549
+ type: "0x1";
549
550
  r: `0x${string}`;
550
551
  s: `0x${string}`;
551
552
  v: `0x${string}`;
@@ -553,7 +554,6 @@ export declare const formatters: {
553
554
  maxFeePerBlobGas?: undefined;
554
555
  maxFeePerGas?: undefined;
555
556
  maxPriorityFeePerGas?: undefined;
556
- type: "0x1";
557
557
  to: `0x${string}` | null;
558
558
  from: `0x${string}`;
559
559
  gas: `0x${string}`;
@@ -573,6 +573,7 @@ export declare const formatters: {
573
573
  mint?: undefined;
574
574
  sourceHash?: undefined;
575
575
  }) | ({
576
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
576
577
  r?: `0x${string}`;
577
578
  s?: `0x${string}`;
578
579
  v?: `0x${string}`;
@@ -580,7 +581,6 @@ export declare const formatters: {
580
581
  maxFeePerBlobGas?: `0x${string}` | undefined;
581
582
  maxFeePerGas?: `0x${string}` | undefined;
582
583
  maxPriorityFeePerGas?: `0x${string}` | undefined;
583
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
584
584
  to?: `0x${string}` | null;
585
585
  from?: `0x${string}`;
586
586
  gas?: `0x${string}`;
@@ -596,6 +596,7 @@ export declare const formatters: {
596
596
  chainId?: `0x${string}` | undefined;
597
597
  yParity?: `0x${string}` | undefined;
598
598
  } & {
599
+ type: "0x2";
599
600
  r: `0x${string}`;
600
601
  s: `0x${string}`;
601
602
  v: `0x${string}`;
@@ -603,7 +604,6 @@ export declare const formatters: {
603
604
  maxFeePerBlobGas?: undefined;
604
605
  maxFeePerGas: `0x${string}`;
605
606
  maxPriorityFeePerGas: `0x${string}`;
606
- type: "0x2";
607
607
  to: `0x${string}` | null;
608
608
  from: `0x${string}`;
609
609
  gas: `0x${string}`;
@@ -623,6 +623,7 @@ export declare const formatters: {
623
623
  mint?: undefined;
624
624
  sourceHash?: undefined;
625
625
  }) | ({
626
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
626
627
  r?: `0x${string}`;
627
628
  s?: `0x${string}`;
628
629
  v?: `0x${string}`;
@@ -630,7 +631,6 @@ export declare const formatters: {
630
631
  maxFeePerBlobGas?: `0x${string}` | undefined;
631
632
  maxFeePerGas?: `0x${string}` | undefined;
632
633
  maxPriorityFeePerGas?: `0x${string}` | undefined;
633
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
634
634
  to?: `0x${string}` | null;
635
635
  from?: `0x${string}`;
636
636
  gas?: `0x${string}`;
@@ -646,6 +646,7 @@ export declare const formatters: {
646
646
  chainId?: `0x${string}` | undefined;
647
647
  yParity?: `0x${string}` | undefined;
648
648
  } & {
649
+ type: "0x3";
649
650
  r: `0x${string}`;
650
651
  s: `0x${string}`;
651
652
  v: `0x${string}`;
@@ -653,7 +654,6 @@ export declare const formatters: {
653
654
  maxFeePerBlobGas: `0x${string}`;
654
655
  maxFeePerGas: `0x${string}`;
655
656
  maxPriorityFeePerGas: `0x${string}`;
656
- type: "0x3";
657
657
  to: `0x${string}` | null;
658
658
  from: `0x${string}`;
659
659
  gas: `0x${string}`;
@@ -673,6 +673,7 @@ export declare const formatters: {
673
673
  mint?: undefined;
674
674
  sourceHash?: undefined;
675
675
  }) | ({
676
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
676
677
  r?: `0x${string}`;
677
678
  s?: `0x${string}`;
678
679
  v?: `0x${string}`;
@@ -680,7 +681,6 @@ export declare const formatters: {
680
681
  maxFeePerBlobGas?: `0x${string}` | undefined;
681
682
  maxFeePerGas?: `0x${string}` | undefined;
682
683
  maxPriorityFeePerGas?: `0x${string}` | undefined;
683
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
684
684
  to?: `0x${string}` | null;
685
685
  from?: `0x${string}`;
686
686
  gas?: `0x${string}`;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../op-stack/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,uBAAuB,EACvB,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EACtC,KAAK,iCAAiC,GACvC,MAAM,sCAAsC,CAAA;AAC7C,OAAO,EACL,uBAAuB,EACvB,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EACtC,KAAK,iCAAiC,GACvC,MAAM,sCAAsC,CAAA;AAC7C,OAAO,EACL,oBAAoB,EACpB,KAAK,6BAA6B,EAClC,KAAK,8BAA8B,EACnC,KAAK,8BAA8B,GACpC,MAAM,mCAAmC,CAAA;AAC1C,OAAO,EACL,kBAAkB,EAClB,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EACjC,KAAK,4BAA4B,GAClC,MAAM,iCAAiC,CAAA;AACxC,OAAO,EACL,qBAAqB,EACrB,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EACpC,KAAK,+BAA+B,GACrC,MAAM,oCAAoC,CAAA;AAC3C,OAAO,EACL,qBAAqB,EACrB,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EACpC,KAAK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AA;AAEhD,OAAO,EACL,+BAA+B,EAC/B,KAAK,wCAAwC,EAC7C,KAAK,yCAAyC,EAC9C,KAAK,yCAAyC,GAC/C,MAAM,4CAA4C,CAAA;AAEnD,OAAO,EACL,uBAAuB,EACvB,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EACtC,KAAK,iCAAiC,GACvC,MAAM,oCAAoC,CAAA;AAE3C,OAAO,EACL,oBAAoB,EACpB,KAAK,6BAA6B,EAClC,KAAK,8BAA8B,EACnC,KAAK,8BAA8B,GACpC,MAAM,iCAAiC,CAAA;AAExC,OAAO,EACL,sBAAsB,EACtB,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EACrC,KAAK,gCAAgC,GACtC,MAAM,mCAAmC,CAAA;AAE1C,OAAO,EACL,aAAa,EACb,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,GAC7B,MAAM,0BAA0B,CAAA;AAEjC,OAAO,EACL,4BAA4B,EAC5B,KAAK,qCAAqC,EAC1C,KAAK,sCAAsC,EAC3C,KAAK,sCAAsC,GAC5C,MAAM,yCAAyC,CAAA;AAEhD,OAAO,EACL,cAAc,EACd,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,GAC9B,MAAM,2BAA2B,CAAA"}
@@ -10,6 +10,6 @@ export type GetAccountParameter<TAccount extends Account | undefined = Account |
10
10
  account?: TAccountOverride | Account | Address | undefined;
11
11
  };
12
12
  export type ParseAccount<TAccountOrAddress extends Account | Address | undefined = Account | Address | undefined> = TAccountOrAddress extends Address ? Prettify<JsonRpcAccount<TAccountOrAddress>> : TAccountOrAddress;
13
- export type { Account, AccountSource, CustomSource, HDAccount, HDOptions, JsonRpcAccount, LocalAccount, PrivateKeyAccount, } from '../accounts/types.js';
13
+ export type { Account } from '../accounts/types.js';
14
14
  export type { HDKey } from '@scure/bip32';
15
15
  //# sourceMappingURL=account.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"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GAC3C,iBAAiB,CAAA;AAErB,YAAY,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AACnD,YAAY,EAAE,KAAK,EAAE,MAAM,cAAc,CAAA"}
@@ -106,18 +106,18 @@ export type ChainFeesFnParameters<formatters extends ChainFormatters | undefined
106
106
  };
107
107
  export type ChainEstimateFeesPerGasFnParameters<formatters extends ChainFormatters | undefined = ChainFormatters | undefined> = {
108
108
  /** A function to multiply the base fee based on the `baseFeeMultiplier` value. */
109
- multiply(x: bigint): bigint;
109
+ multiply: (x: bigint) => bigint;
110
110
  /** The type of fees to return. */
111
111
  type: FeeValuesType;
112
112
  } & ChainFeesFnParameters<formatters>;
113
113
  export type ExtractChainFormatterExclude<chain extends Chain | undefined, type extends keyof ChainFormatters> = chain extends {
114
- formatters?: infer _Formatters extends ChainFormatters;
115
- } ? _Formatters[type] extends {
116
- exclude: infer Exclude;
117
- } ? Extract<Exclude, string[]>[number] : '' : '';
114
+ formatters?: infer formatters extends ChainFormatters;
115
+ } ? formatters[type] extends {
116
+ exclude: infer exclude;
117
+ } ? Extract<exclude, readonly string[]>[number] : '' : '';
118
118
  export type ExtractChainFormatterParameters<chain extends Chain | undefined, type extends keyof ChainFormatters, fallback> = chain extends {
119
- formatters?: infer _Formatters extends ChainFormatters;
120
- } ? _Formatters[type] extends ChainFormatter ? Parameters<_Formatters[type]['format']>[0] : fallback : fallback;
119
+ formatters?: infer formatters extends ChainFormatters;
120
+ } ? formatters[type] extends ChainFormatter ? Parameters<formatters[type]['format']>[0] : fallback : fallback;
121
121
  export type ExtractChainFormatterReturnType<chain extends Chain | undefined, type extends keyof ChainFormatters, fallback> = IsNarrowable<chain, Chain> extends true ? chain extends {
122
122
  formatters?: {
123
123
  [_ in type]?: infer formatter extends ChainFormatter;
@@ -1 +1 @@
1
- {"version":3,"file":"chain.d.ts","sourceRoot":"","sources":["../../types/chain.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,C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M,WAAW,CACrB,KAAK,SAAS,KAAK,GAAG,SAAS,EAC/B,aAAa,SAAS,KAAK,GAAG,SAAS,IACrC,aAAa,SAAS,KAAK,GAAG,aAAa,GAAG,KAAK,CAAA;AAEvD,MAAM,MAAM,iBAAiB,CAC3B,KAAK,SAAS,KAAK,GAAG,SAAS,EAC/B,aAAa,SAAS,KAAK,GAAG,SAAS,GAAG,KAAK,GAAG,SAAS,IACzD,WAAW,CAAC,KAAK,CAAC,SAAS,IAAI,GAC/B;IAAE,KAAK,EAAE,aAAa,GAAG,IAAI,CAAA;CAAE,GAC/B;IAAE,KAAK,CAAC,EAAE,aAAa,GAAG,IAAI,GAAG,SAAS,CAAA;CAAE,CAAA;AAKhD,KAAK,kBAAkB,GAAG;IACxB,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAC5B,CAAA;AAED,MAAM,MAAM,aAAa,GAAG;IAC1B,OAAO,EAAE,OAAO,CAAA;IAChB,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAClC,CAAA;AAED,KAAK,mBAAmB,GAAG;IACzB,IAAI,EAAE,MAAM,CAAA;IACZ,0BAA0B;IAC1B,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,KAAK,YAAY,GAAG;IAClB,IAAI,EAAE,SAAS,MAAM,EAAE,CAAA;IACvB,SAAS,CAAC,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,CAAA;CAC1C,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import type { Address } from 'abitype';
2
- import type { LocalAccount } from './account.js';
2
+ import type { LocalAccount } from '../accounts/types.js';
3
3
  import type { ByteArray } from './misc.js';
4
4
  import type { TransactionRequestEIP4844 } from './transaction.js';
5
5
  import type { MaybeRequired } from './utils.js';
@@ -1 +1 @@
1
- {"version":3,"file":"kzg.d.ts","sourceRoot":"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ChB;;OAEG;IACH,mBAAmB,CAAC,IAAI,EAAE,SAAS,GAAG,SAAS,CAAA;IAC/C;;;OAGG;IACH,mBAAmB,CAAC,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,GAAG,SAAS,CAAA;CACvE,CAAA;AAED,MAAM,MAAM,iCAAiC,CAC3C,OAAO,SAAS,OAAO,GAAG,SAAS,GAAG,SAAS,IAC7C,aAAa,CACf;IACE,yBAAyB;IACzB,GAAG,CAAC,EAAE,GAAG,GAAG,SAAS,CAAA;CACtB,EACD,OAAO,SAAS;IACd,OAAO,EAAE,YAAY,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACtC,KAAK,EAAE,yBAAyB,CAAC,OAAO,CAAC,CAAA;CAC1C,GACG,IAAI,GACJ,KAAK,CACV,CAAA"}
@@ -1,7 +1,7 @@
1
1
  import type { Address } from 'abitype';
2
2
  import type { Hash } from './misc.js';
3
- export type AccountProof = Hash;
4
- export type StorageProof<TQuantity = bigint> = {
3
+ type AccountProof = Hash;
4
+ type StorageProof<TQuantity = bigint> = {
5
5
  key: Hash;
6
6
  proof: Hash[];
7
7
  value: TQuantity;
@@ -15,4 +15,5 @@ export type Proof<TQuantity = bigint, TIndex = number> = {
15
15
  accountProof: AccountProof[];
16
16
  storageProof: StorageProof<TQuantity>[];
17
17
  };
18
+ export {};
18
19
  //# sourceMappingURL=proof.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"proof.d.ts","sourceRoot":"","sources":["../../types/proof.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAErC,MAAM,MAAM,YAAY,GAAG,IAAI,CAAA;AAE/B,MAAM,MAAM,YAAY,CAAC,SAAS,GAAG,MAAM,IAAI;IAC7C,GAAG,EAAE,IAAI,CAAA;IACT,KAAK,EAAE,IAAI,EAAE,CAAA;IACb,KAAK,EAAE,SAAS,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,KAAK,CAAC,SAAS,GAAG,MAAM,EAAE,MAAM,GAAG,MAAM,IAAI;IACvD,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,SAAS,CAAA;IAClB,QAAQ,EAAE,IAAI,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,IAAI,CAAA;IACjB,YAAY,EAAE,YAAY,EAAE,CAAA;IAC5B,YAAY,EAAE,YAAY,CAAC,SAAS,CAAC,EAAE,CAAA;CACxC,CAAA"}
1
+ {"version":3,"file":"proof.d.ts","sourceRoot":"","sources":["../../types/proof.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAErC,KAAK,YAAY,GAAG,IAAI,CAAA;AAExB,KAAK,YAAY,CAAC,SAAS,GAAG,MAAM,IAAI;IACtC,GAAG,EAAE,IAAI,CAAA;IACT,KAAK,EAAE,IAAI,EAAE,CAAA;IACb,KAAK,EAAE,SAAS,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,KAAK,CAAC,SAAS,GAAG,MAAM,EAAE,MAAM,GAAG,MAAM,IAAI;IACvD,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,SAAS,CAAA;IAClB,QAAQ,EAAE,IAAI,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,IAAI,CAAA;IACjB,YAAY,EAAE,YAAY,EAAE,CAAA;IAC5B,YAAY,EAAE,YAAY,CAAC,SAAS,CAAC,EAAE,CAAA;CACxC,CAAA"}
@@ -124,6 +124,8 @@ export type NoInfer<type> = [type][type extends any ? 0 : never];
124
124
  * @example
125
125
  * NoUndefined<string | undefined>
126
126
  * => string
127
+ *
128
+ * @internal
127
129
  */
128
130
  export type NoUndefined<T> = T extends undefined ? never : T;
129
131
  /** Strict version of built-in Omit type */
@@ -147,8 +149,9 @@ export type PartialBy<T, K extends keyof T> = Omit<T, K> & ExactPartial<Pick<T,
147
149
  export type Prettify<T> = {
148
150
  [K in keyof T]: T[K];
149
151
  } & {};
150
- export type Evaluate<T> = {
151
- [K in keyof T]: T[K];
152
+ /** @internal */
153
+ export type Evaluate<type> = {
154
+ [key in keyof type]: type[key];
152
155
  } & {};
153
156
  /**
154
157
  * @description Creates a type that is T with the required keys K.
@@ -172,6 +175,8 @@ export type Some<array extends readonly unknown[], value> = array extends readon
172
175
  * @example
173
176
  * ValueOf<{ a: string, b: number }>
174
177
  * => string | number
178
+ *
179
+ * @internal
175
180
  */
176
181
  export type ValueOf<T> = T[keyof T];
177
182
  export type UnionToTuple<union, last = LastInUnion<union>> = [union] extends [never] ? [] : [...UnionToTuple<Exclude<union, last>>, last];
@@ -189,7 +194,10 @@ export type OneOf<union extends object, fallback extends object | undefined = un
189
194
  [_K in Exclude<keys, keyof Item>]?: fallback extends object ? fallback[_K] : undefined;
190
195
  }> : never;
191
196
  type KeyofUnion<type> = type extends type ? keyof type : never;
192
- /** Loose version of {@link Omit} */
197
+ /**
198
+ * Loose version of {@link Omit}
199
+ * @internal
200
+ */
193
201
  export type LooseOmit<type, keys extends string> = Pick<type, Exclude<keyof type, keys>>;
194
202
  export type UnionEvaluate<type> = type extends object ? Prettify<type> : type;
195
203
  export type UnionLooseOmit<type, keys extends string> = type extends any ? LooseOmit<type, keys> : never;
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../types/utils.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,MAAM,EAAE,OAAO,MAAM,CAAA;AAEnC;;;;;;;;;;GAUG;AACH,MAAM,MAAM,OAAO,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,CAAC,MAAM,CAAC,EAAE,CAAC,CAAA;CAAE,CAAA;AAE/C;;;;;;;;;;GAUG;AACH,MAAM,MAAM,MAAM,CA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,KAAK,CAAA"}
@@ -3,6 +3,7 @@ import type { ByteArray, Hex } from '../../types/misc.js';
3
3
  import { type InvalidAbiDecodingTypeErrorType } from '../../errors/abi.js';
4
4
  import type { ErrorType } from '../../errors/utils.js';
5
5
  import { type ChecksumAddressErrorType } from '../address/getAddress.js';
6
+ import { type CreateCursorErrorType } from '../cursor.js';
6
7
  import { type SizeErrorType } from '../data/size.js';
7
8
  import { type SliceBytesErrorType } from '../data/slice.js';
8
9
  import { type TrimErrorType } from '../data/trim.js';
@@ -10,7 +11,7 @@ import { type BytesToBigIntErrorType, type BytesToBoolErrorType, type BytesToNum
10
11
  import { type HexToBytesErrorType } from '../encoding/toBytes.js';
11
12
  import { type BytesToHexErrorType } from '../encoding/toHex.js';
12
13
  export type DecodeAbiParametersReturnType<TParams extends readonly AbiParameter[] = readonly AbiParameter[]> = AbiParametersToPrimitiveTypes<TParams extends readonly AbiParameter[] ? TParams : AbiParameter[]>;
13
- export type DecodeAbiParametersErrorType = HexToBytesErrorType | BytesToHexErrorType | DecodeParameterErrorType | SizeErrorType | ErrorType;
14
+ export type DecodeAbiParametersErrorType = HexToBytesErrorType | BytesToHexErrorType | DecodeParameterErrorType | SizeErrorType | CreateCursorErrorType | ErrorType;
14
15
  export declare function decodeAbiParameters<const TParams extends readonly AbiParameter[]>(params: TParams, data: ByteArray | Hex): DecodeAbiParametersReturnType<TParams>;
15
16
  type DecodeParameterErrorType = DecodeArrayErrorType | DecodeTupleErrorType | DecodeAddressErrorType | DecodeBoolErrorType | DecodeBytesErrorType | DecodeNumberErrorType | DecodeStringErrorType | InvalidAbiDecodingTypeErrorType;
16
17
  type DecodeAddressErrorType = ChecksumAddressErrorType | BytesToHexErrorType | SliceBytesErrorType | ErrorType;
@@ -1 +1 @@
1
- {"version":3,"file":"decodeAbiParameters.d.ts","sourceRoot":"","sources":["../../../utils/abi/decodeAbiParameters.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,6BAA6B,EAAE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