viem 2.13.6 → 2.13.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (777) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +0 -6
  3. package/_cjs/accounts/hdKeyToAccount.js.map +1 -1
  4. package/_cjs/actions/public/call.js.map +1 -1
  5. package/_cjs/actions/public/estimateGas.js.map +1 -1
  6. package/_cjs/actions/public/getBlockNumber.js.map +1 -1
  7. package/_cjs/actions/wallet/prepareTransactionRequest.js.map +1 -1
  8. package/_cjs/actions/wallet/signTypedData.js.map +1 -1
  9. package/_cjs/celo/fees.js.map +1 -1
  10. package/_cjs/celo/formatters.js.map +1 -1
  11. package/_cjs/celo/index.js.map +1 -1
  12. package/_cjs/celo/serializers.js.map +1 -1
  13. package/_cjs/celo/utils.js.map +1 -1
  14. package/_cjs/chains/definitions/defichainEvm.js +1 -1
  15. package/_cjs/chains/definitions/defichainEvm.js.map +1 -1
  16. package/_cjs/chains/definitions/defichainEvmTestnet.js +1 -1
  17. package/_cjs/chains/definitions/defichainEvmTestnet.js.map +1 -1
  18. package/_cjs/chains/definitions/optimism.js +5 -0
  19. package/_cjs/chains/definitions/optimism.js.map +1 -1
  20. package/_cjs/chains/definitions/sei.js +1 -0
  21. package/_cjs/chains/definitions/sei.js.map +1 -1
  22. package/_cjs/clients/createClient.js +2 -2
  23. package/_cjs/clients/createClient.js.map +1 -1
  24. package/_cjs/clients/transports/fallback.js.map +1 -1
  25. package/_cjs/clients/transports/http.js.map +1 -1
  26. package/_cjs/constants/abis.js.map +1 -1
  27. package/_cjs/constants/blob.js +4 -4
  28. package/_cjs/constants/blob.js.map +1 -1
  29. package/_cjs/constants/kzg.js +1 -3
  30. package/_cjs/constants/kzg.js.map +1 -1
  31. package/_cjs/errors/abi.js +1 -13
  32. package/_cjs/errors/abi.js.map +1 -1
  33. package/_cjs/errors/ccip.js.map +1 -1
  34. package/_cjs/errors/stateOverride.js.map +1 -1
  35. package/_cjs/errors/version.js +1 -1
  36. package/_cjs/experimental/eip5792/actions/getCapabilities.js +2 -2
  37. package/_cjs/experimental/eip5792/actions/getCapabilities.js.map +1 -1
  38. package/_cjs/experimental/eip5792/actions/sendCalls.js +2 -2
  39. package/_cjs/experimental/eip5792/actions/sendCalls.js.map +1 -1
  40. package/_cjs/index.js +7 -4
  41. package/_cjs/index.js.map +1 -1
  42. package/_cjs/node/trustedSetups.js +1 -2
  43. package/_cjs/node/trustedSetups.js.map +1 -1
  44. package/_cjs/op-stack/abis.js +1 -458
  45. package/_cjs/op-stack/abis.js.map +1 -1
  46. package/_cjs/op-stack/actions/buildProveWithdrawal.js.map +1 -1
  47. package/_cjs/op-stack/actions/getWithdrawalStatus.js.map +1 -1
  48. package/_cjs/op-stack/index.js +15 -2
  49. package/_cjs/op-stack/index.js.map +1 -1
  50. package/_cjs/utils/abi/decodeAbiParameters.js.map +1 -1
  51. package/_cjs/utils/abi/encodeAbiParameters.js.map +1 -1
  52. package/_cjs/utils/abi/getAbiItem.js.map +1 -1
  53. package/_cjs/utils/address/getAddress.js +5 -5
  54. package/_cjs/utils/address/getAddress.js.map +1 -1
  55. package/_cjs/utils/address/isAddress.js.map +1 -1
  56. package/_cjs/utils/blob/toBlobs.js.map +1 -1
  57. package/_cjs/utils/buildRequest.js.map +1 -1
  58. package/_cjs/utils/ccip.js.map +1 -1
  59. package/_cjs/utils/cursor.js.map +1 -1
  60. package/_cjs/utils/encoding/fromRlp.js +1 -9
  61. package/_cjs/utils/encoding/fromRlp.js.map +1 -1
  62. package/_cjs/utils/ens/avatar/utils.js.map +1 -1
  63. package/_cjs/utils/ens/errors.js.map +1 -1
  64. package/_cjs/utils/index.js +4 -3
  65. package/_cjs/utils/index.js.map +1 -1
  66. package/_cjs/utils/observe.js.map +1 -1
  67. package/_cjs/utils/promise/createBatchScheduler.js.map +1 -1
  68. package/_cjs/utils/promise/withCache.js.map +1 -1
  69. package/_cjs/utils/promise/withTimeout.js.map +1 -1
  70. package/_cjs/utils/rpc/id.js +1 -2
  71. package/_cjs/utils/rpc/id.js.map +1 -1
  72. package/_cjs/utils/rpc/ipc.js.map +1 -1
  73. package/_cjs/utils/stateOverride.js.map +1 -1
  74. package/_cjs/utils/transaction/parseTransaction.js.map +1 -1
  75. package/_cjs/zksync/actions/deployContract.js.map +1 -1
  76. package/_cjs/zksync/actions/estimateGasL1ToL2.js +2 -2
  77. package/_cjs/zksync/actions/estimateGasL1ToL2.js.map +1 -1
  78. package/_cjs/zksync/actions/getAllBalances.js +2 -2
  79. package/_cjs/zksync/actions/getAllBalances.js.map +1 -1
  80. package/_cjs/zksync/actions/getL1Allowance.js +2 -2
  81. package/_cjs/zksync/actions/getL1Allowance.js.map +1 -1
  82. package/_cjs/zksync/actions/getL1Balance.js +2 -2
  83. package/_cjs/zksync/actions/getL1Balance.js.map +1 -1
  84. package/_cjs/zksync/actions/getL1TokenBalance.js +2 -2
  85. package/_cjs/zksync/actions/getL1TokenBalance.js.map +1 -1
  86. package/_cjs/zksync/actions/sendTransaction.js.map +1 -1
  87. package/_cjs/zksync/constants/contract.js +1 -2
  88. package/_cjs/zksync/constants/contract.js.map +1 -1
  89. package/_cjs/zksync/index.js.map +1 -1
  90. package/_cjs/zksync/serializers.js.map +1 -1
  91. package/_cjs/zksync/utils/abi/encodeDeployData.js.map +1 -1
  92. package/_cjs/zksync/utils/assertEip712Request.js.map +1 -1
  93. package/_cjs/zksync/utils/hashBytecode.js.map +1 -1
  94. package/_esm/accounts/hdKeyToAccount.js.map +1 -1
  95. package/_esm/actions/public/call.js +1 -0
  96. package/_esm/actions/public/call.js.map +1 -1
  97. package/_esm/actions/public/estimateGas.js.map +1 -1
  98. package/_esm/actions/public/getBlockNumber.js +2 -1
  99. package/_esm/actions/public/getBlockNumber.js.map +1 -1
  100. package/_esm/actions/test/sendUnsignedTransaction.js +2 -2
  101. package/_esm/actions/wallet/prepareTransactionRequest.js.map +1 -1
  102. package/_esm/actions/wallet/signTypedData.js.map +1 -1
  103. package/_esm/celo/fees.js.map +1 -1
  104. package/_esm/celo/formatters.js.map +1 -1
  105. package/_esm/celo/index.js +1 -1
  106. package/_esm/celo/index.js.map +1 -1
  107. package/_esm/celo/serializers.js.map +1 -1
  108. package/_esm/celo/utils.js +1 -0
  109. package/_esm/celo/utils.js.map +1 -1
  110. package/_esm/chains/definitions/defichainEvm.js +1 -1
  111. package/_esm/chains/definitions/defichainEvm.js.map +1 -1
  112. package/_esm/chains/definitions/defichainEvmTestnet.js +1 -1
  113. package/_esm/chains/definitions/defichainEvmTestnet.js.map +1 -1
  114. package/_esm/chains/definitions/optimism.js +5 -0
  115. package/_esm/chains/definitions/optimism.js.map +1 -1
  116. package/_esm/chains/definitions/sei.js +1 -0
  117. package/_esm/chains/definitions/sei.js.map +1 -1
  118. package/_esm/clients/createClient.js +1 -1
  119. package/_esm/clients/createClient.js.map +1 -1
  120. package/_esm/clients/transports/fallback.js +1 -0
  121. package/_esm/clients/transports/fallback.js.map +1 -1
  122. package/_esm/clients/transports/http.js.map +1 -1
  123. package/_esm/constants/abis.js +1 -0
  124. package/_esm/constants/abis.js.map +1 -1
  125. package/_esm/constants/blob.js +1 -1
  126. package/_esm/constants/blob.js.map +1 -1
  127. package/_esm/constants/kzg.js +0 -4
  128. package/_esm/constants/kzg.js.map +1 -1
  129. package/_esm/errors/abi.js +0 -11
  130. package/_esm/errors/abi.js.map +1 -1
  131. package/_esm/errors/ccip.js.map +1 -1
  132. package/_esm/errors/stateOverride.js +1 -0
  133. package/_esm/errors/stateOverride.js.map +1 -1
  134. package/_esm/errors/version.js +1 -1
  135. package/_esm/experimental/eip5792/actions/getCapabilities.js +1 -1
  136. package/_esm/experimental/eip5792/actions/getCapabilities.js.map +1 -1
  137. package/_esm/experimental/eip5792/actions/sendCalls.js +1 -1
  138. package/_esm/experimental/eip5792/actions/sendCalls.js.map +1 -1
  139. package/_esm/index.js +5 -4
  140. package/_esm/index.js.map +1 -1
  141. package/_esm/node/trustedSetups.js +0 -1
  142. package/_esm/node/trustedSetups.js.map +1 -1
  143. package/_esm/node/trustedSetups_cjs.js +0 -1
  144. package/_esm/node/trustedSetups_cjs.js.map +1 -1
  145. package/_esm/op-stack/abis.js +0 -457
  146. package/_esm/op-stack/abis.js.map +1 -1
  147. package/_esm/op-stack/actions/buildProveWithdrawal.js +1 -0
  148. package/_esm/op-stack/actions/buildProveWithdrawal.js.map +1 -1
  149. package/_esm/op-stack/actions/getWithdrawalStatus.js +1 -1
  150. package/_esm/op-stack/actions/getWithdrawalStatus.js.map +1 -1
  151. package/_esm/op-stack/index.js +0 -1
  152. package/_esm/op-stack/index.js.map +1 -1
  153. package/_esm/utils/abi/decodeAbiParameters.js +1 -1
  154. package/_esm/utils/abi/decodeAbiParameters.js.map +1 -1
  155. package/_esm/utils/abi/encodeAbiParameters.js.map +1 -1
  156. package/_esm/utils/abi/getAbiItem.js +3 -1
  157. package/_esm/utils/abi/getAbiItem.js.map +1 -1
  158. package/_esm/utils/address/getAddress.js +1 -1
  159. package/_esm/utils/address/getAddress.js.map +1 -1
  160. package/_esm/utils/address/isAddress.js +1 -0
  161. package/_esm/utils/address/isAddress.js.map +1 -1
  162. package/_esm/utils/blob/toBlobs.js.map +1 -1
  163. package/_esm/utils/buildRequest.js +1 -0
  164. package/_esm/utils/buildRequest.js.map +1 -1
  165. package/_esm/utils/ccip.js +1 -1
  166. package/_esm/utils/ccip.js.map +1 -1
  167. package/_esm/utils/cursor.js.map +1 -1
  168. package/_esm/utils/encoding/fromRlp.js +0 -6
  169. package/_esm/utils/encoding/fromRlp.js.map +1 -1
  170. package/_esm/utils/ens/avatar/utils.js +2 -0
  171. package/_esm/utils/ens/avatar/utils.js.map +1 -1
  172. package/_esm/utils/ens/errors.js.map +1 -1
  173. package/_esm/utils/index.js +1 -1
  174. package/_esm/utils/index.js.map +1 -1
  175. package/_esm/utils/observe.js +2 -0
  176. package/_esm/utils/observe.js.map +1 -1
  177. package/_esm/utils/promise/createBatchScheduler.js +1 -0
  178. package/_esm/utils/promise/createBatchScheduler.js.map +1 -1
  179. package/_esm/utils/promise/withCache.js +2 -0
  180. package/_esm/utils/promise/withCache.js.map +1 -1
  181. package/_esm/utils/promise/withTimeout.js +1 -1
  182. package/_esm/utils/promise/withTimeout.js.map +1 -1
  183. package/_esm/utils/rpc/id.js +1 -1
  184. package/_esm/utils/rpc/id.js.map +1 -1
  185. package/_esm/utils/rpc/ipc.js +1 -0
  186. package/_esm/utils/rpc/ipc.js.map +1 -1
  187. package/_esm/utils/stateOverride.js +3 -0
  188. package/_esm/utils/stateOverride.js.map +1 -1
  189. package/_esm/utils/transaction/parseTransaction.js.map +1 -1
  190. package/_esm/utils/unit/parseUnits.js +1 -1
  191. package/_esm/utils/unit/parseUnits.js.map +1 -1
  192. package/_esm/zksync/actions/deployContract.js +1 -1
  193. package/_esm/zksync/actions/deployContract.js.map +1 -1
  194. package/_esm/zksync/actions/estimateGasL1ToL2.js +1 -1
  195. package/_esm/zksync/actions/estimateGasL1ToL2.js.map +1 -1
  196. package/_esm/zksync/actions/getAllBalances.js +1 -1
  197. package/_esm/zksync/actions/getAllBalances.js.map +1 -1
  198. package/_esm/zksync/actions/getL1Allowance.js +1 -1
  199. package/_esm/zksync/actions/getL1Allowance.js.map +1 -1
  200. package/_esm/zksync/actions/getL1Balance.js +1 -1
  201. package/_esm/zksync/actions/getL1Balance.js.map +1 -1
  202. package/_esm/zksync/actions/getL1TokenBalance.js +2 -2
  203. package/_esm/zksync/actions/getL1TokenBalance.js.map +1 -1
  204. package/_esm/zksync/actions/sendTransaction.js.map +1 -1
  205. package/_esm/zksync/constants/contract.js +0 -1
  206. package/_esm/zksync/constants/contract.js.map +1 -1
  207. package/_esm/zksync/index.js.map +1 -1
  208. package/_esm/zksync/serializers.js.map +1 -1
  209. package/_esm/zksync/utils/abi/encodeDeployData.js +1 -1
  210. package/_esm/zksync/utils/abi/encodeDeployData.js.map +1 -1
  211. package/_esm/zksync/utils/assertEip712Request.js +1 -1
  212. package/_esm/zksync/utils/assertEip712Request.js.map +1 -1
  213. package/_esm/zksync/utils/hashBytecode.js.map +1 -1
  214. package/_types/accounts/hdKeyToAccount.d.ts +1 -1
  215. package/_types/accounts/hdKeyToAccount.d.ts.map +1 -1
  216. package/_types/accounts/types.d.ts +1 -1
  217. package/_types/accounts/types.d.ts.map +1 -1
  218. package/_types/actions/public/call.d.ts +5 -2
  219. package/_types/actions/public/call.d.ts.map +1 -1
  220. package/_types/actions/public/estimateGas.d.ts +2 -1
  221. package/_types/actions/public/estimateGas.d.ts.map +1 -1
  222. package/_types/actions/public/getBlockNumber.d.ts +4 -0
  223. package/_types/actions/public/getBlockNumber.d.ts.map +1 -1
  224. package/_types/actions/test/sendUnsignedTransaction.d.ts +2 -2
  225. package/_types/actions/wallet/prepareTransactionRequest.d.ts +0 -7
  226. package/_types/actions/wallet/prepareTransactionRequest.d.ts.map +1 -1
  227. package/_types/actions/wallet/signTypedData.d.ts +2 -2
  228. package/_types/actions/wallet/signTypedData.d.ts.map +1 -1
  229. package/_types/celo/chainConfig.d.ts +725 -747
  230. package/_types/celo/chainConfig.d.ts.map +1 -1
  231. package/_types/celo/fees.d.ts.map +1 -1
  232. package/_types/celo/formatters.d.ts +360 -371
  233. package/_types/celo/formatters.d.ts.map +1 -1
  234. package/_types/celo/index.d.ts +2 -2
  235. package/_types/celo/index.d.ts.map +1 -1
  236. package/_types/celo/serializers.d.ts.map +1 -1
  237. package/_types/celo/types.d.ts +27 -27
  238. package/_types/celo/types.d.ts.map +1 -1
  239. package/_types/celo/utils.d.ts +1 -0
  240. package/_types/celo/utils.d.ts.map +1 -1
  241. package/_types/chains/definitions/acala.d.ts +2 -2
  242. package/_types/chains/definitions/ancient8.d.ts +207 -218
  243. package/_types/chains/definitions/ancient8.d.ts.map +1 -1
  244. package/_types/chains/definitions/ancient8Sepolia.d.ts +207 -218
  245. package/_types/chains/definitions/ancient8Sepolia.d.ts.map +1 -1
  246. package/_types/chains/definitions/anvil.d.ts +2 -2
  247. package/_types/chains/definitions/apexTestnet.d.ts +2 -2
  248. package/_types/chains/definitions/arbitrum.d.ts +2 -2
  249. package/_types/chains/definitions/arbitrumGoerli.d.ts +2 -2
  250. package/_types/chains/definitions/arbitrumNova.d.ts +2 -2
  251. package/_types/chains/definitions/arbitrumSepolia.d.ts +2 -2
  252. package/_types/chains/definitions/areonNetwork.d.ts +2 -2
  253. package/_types/chains/definitions/areonNetworkTestnet.d.ts +2 -2
  254. package/_types/chains/definitions/astar.d.ts +2 -2
  255. package/_types/chains/definitions/astarZkEVM.d.ts +2 -2
  256. package/_types/chains/definitions/astarZkyoto.d.ts +2 -2
  257. package/_types/chains/definitions/aurora.d.ts +2 -2
  258. package/_types/chains/definitions/auroraTestnet.d.ts +2 -2
  259. package/_types/chains/definitions/auroria.d.ts +2 -2
  260. package/_types/chains/definitions/avalanche.d.ts +2 -2
  261. package/_types/chains/definitions/avalancheFuji.d.ts +2 -2
  262. package/_types/chains/definitions/bahamut.d.ts +2 -2
  263. package/_types/chains/definitions/base.d.ts +207 -218
  264. package/_types/chains/definitions/base.d.ts.map +1 -1
  265. package/_types/chains/definitions/baseGoerli.d.ts +207 -218
  266. package/_types/chains/definitions/baseGoerli.d.ts.map +1 -1
  267. package/_types/chains/definitions/baseSepolia.d.ts +207 -218
  268. package/_types/chains/definitions/baseSepolia.d.ts.map +1 -1
  269. package/_types/chains/definitions/beam.d.ts +2 -2
  270. package/_types/chains/definitions/beamTestnet.d.ts +2 -2
  271. package/_types/chains/definitions/bearNetworkChainMainnet.d.ts +2 -2
  272. package/_types/chains/definitions/bearNetworkChainTestnet.d.ts +2 -2
  273. package/_types/chains/definitions/berachainTestnet.d.ts +2 -2
  274. package/_types/chains/definitions/bevmMainnet.d.ts +2 -2
  275. package/_types/chains/definitions/bitTorrent.d.ts +2 -2
  276. package/_types/chains/definitions/bitTorrentTestnet.d.ts +2 -2
  277. package/_types/chains/definitions/bitkub.d.ts +2 -2
  278. package/_types/chains/definitions/bitkubTestnet.d.ts +2 -2
  279. package/_types/chains/definitions/blast.d.ts +2 -2
  280. package/_types/chains/definitions/blastSepolia.d.ts +2 -2
  281. package/_types/chains/definitions/bob.d.ts +2 -2
  282. package/_types/chains/definitions/boba.d.ts +2 -2
  283. package/_types/chains/definitions/bronos.d.ts +2 -2
  284. package/_types/chains/definitions/bronosTestnet.d.ts +2 -2
  285. package/_types/chains/definitions/bsc.d.ts +2 -2
  286. package/_types/chains/definitions/bscGreenfield.d.ts +2 -2
  287. package/_types/chains/definitions/bscTestnet.d.ts +2 -2
  288. package/_types/chains/definitions/btr.d.ts +2 -2
  289. package/_types/chains/definitions/btrTestnet.d.ts +2 -2
  290. package/_types/chains/definitions/bxn.d.ts +2 -2
  291. package/_types/chains/definitions/bxnTestnet.d.ts +2 -2
  292. package/_types/chains/definitions/canto.d.ts +2 -2
  293. package/_types/chains/definitions/celo.d.ts +728 -750
  294. package/_types/chains/definitions/celo.d.ts.map +1 -1
  295. package/_types/chains/definitions/celoAlfajores.d.ts +728 -750
  296. package/_types/chains/definitions/celoAlfajores.d.ts.map +1 -1
  297. package/_types/chains/definitions/chiliz.d.ts +2 -2
  298. package/_types/chains/definitions/classic.d.ts +2 -2
  299. package/_types/chains/definitions/confluxESpace.d.ts +2 -2
  300. package/_types/chains/definitions/confluxESpaceTestnet.d.ts +2 -2
  301. package/_types/chains/definitions/coreDao.d.ts +2 -2
  302. package/_types/chains/definitions/cronos.d.ts +2 -2
  303. package/_types/chains/definitions/cronosTestnet.d.ts +2 -2
  304. package/_types/chains/definitions/crossbell.d.ts +2 -2
  305. package/_types/chains/definitions/cyber.d.ts +2 -2
  306. package/_types/chains/definitions/cyberTestnet.d.ts +2 -2
  307. package/_types/chains/definitions/darwinia.d.ts +2 -2
  308. package/_types/chains/definitions/defichainEvm.d.ts +3 -3
  309. package/_types/chains/definitions/defichainEvmTestnet.d.ts +3 -3
  310. package/_types/chains/definitions/degen.d.ts +2 -2
  311. package/_types/chains/definitions/dfk.d.ts +2 -2
  312. package/_types/chains/definitions/dodochainTestnet.d.ts +2 -2
  313. package/_types/chains/definitions/dogechain.d.ts +2 -2
  314. package/_types/chains/definitions/dreyerxMainnet.d.ts +2 -2
  315. package/_types/chains/definitions/edgeless.d.ts +2 -2
  316. package/_types/chains/definitions/edgelessTestnet.d.ts +2 -2
  317. package/_types/chains/definitions/edgeware.d.ts +2 -2
  318. package/_types/chains/definitions/edgewareTestnet.d.ts +2 -2
  319. package/_types/chains/definitions/ekta.d.ts +2 -2
  320. package/_types/chains/definitions/ektaTestnet.d.ts +2 -2
  321. package/_types/chains/definitions/eon.d.ts +2 -2
  322. package/_types/chains/definitions/eos.d.ts +2 -2
  323. package/_types/chains/definitions/eosTestnet.d.ts +2 -2
  324. package/_types/chains/definitions/etherlinkTestnet.d.ts +2 -2
  325. package/_types/chains/definitions/evmos.d.ts +2 -2
  326. package/_types/chains/definitions/evmosTestnet.d.ts +2 -2
  327. package/_types/chains/definitions/fantom.d.ts +2 -2
  328. package/_types/chains/definitions/fantomSonicTestnet.d.ts +2 -2
  329. package/_types/chains/definitions/fantomTestnet.d.ts +2 -2
  330. package/_types/chains/definitions/fibo.d.ts +2 -2
  331. package/_types/chains/definitions/filecoin.d.ts +2 -2
  332. package/_types/chains/definitions/filecoinCalibration.d.ts +2 -2
  333. package/_types/chains/definitions/filecoinHyperspace.d.ts +2 -2
  334. package/_types/chains/definitions/flare.d.ts +2 -2
  335. package/_types/chains/definitions/flareTestnet.d.ts +2 -2
  336. package/_types/chains/definitions/flowMainnet.d.ts +2 -2
  337. package/_types/chains/definitions/flowPreviewnet.d.ts +2 -2
  338. package/_types/chains/definitions/flowTestnet.d.ts +2 -2
  339. package/_types/chains/definitions/foundry.d.ts +2 -2
  340. package/_types/chains/definitions/fraxtal.d.ts +207 -218
  341. package/_types/chains/definitions/fraxtal.d.ts.map +1 -1
  342. package/_types/chains/definitions/fraxtalTestnet.d.ts +207 -218
  343. package/_types/chains/definitions/fraxtalTestnet.d.ts.map +1 -1
  344. package/_types/chains/definitions/funkiSepolia.d.ts +207 -218
  345. package/_types/chains/definitions/funkiSepolia.d.ts.map +1 -1
  346. package/_types/chains/definitions/fuse.d.ts +2 -2
  347. package/_types/chains/definitions/fuseSparknet.d.ts +2 -2
  348. package/_types/chains/definitions/gnosis.d.ts +2 -2
  349. package/_types/chains/definitions/gnosisChiado.d.ts +2 -2
  350. package/_types/chains/definitions/gobi.d.ts +2 -2
  351. package/_types/chains/definitions/goerli.d.ts +2 -2
  352. package/_types/chains/definitions/haqqMainnet.d.ts +2 -2
  353. package/_types/chains/definitions/haqqTestedge2.d.ts +2 -2
  354. package/_types/chains/definitions/hardhat.d.ts +2 -2
  355. package/_types/chains/definitions/harmonyOne.d.ts +2 -2
  356. package/_types/chains/definitions/hedera.d.ts +2 -2
  357. package/_types/chains/definitions/hederaPreviewnet.d.ts +2 -2
  358. package/_types/chains/definitions/hederaTestnet.d.ts +2 -2
  359. package/_types/chains/definitions/holesky.d.ts +2 -2
  360. package/_types/chains/definitions/immutableZkEvm.d.ts +2 -2
  361. package/_types/chains/definitions/immutableZkEvmTestnet.d.ts +2 -2
  362. package/_types/chains/definitions/inEVM.d.ts +2 -2
  363. package/_types/chains/definitions/iotex.d.ts +2 -2
  364. package/_types/chains/definitions/iotexTestnet.d.ts +2 -2
  365. package/_types/chains/definitions/jbc.d.ts +2 -2
  366. package/_types/chains/definitions/jbcTestnet.d.ts +2 -2
  367. package/_types/chains/definitions/kakarotSepolia.d.ts +2 -2
  368. package/_types/chains/definitions/karura.d.ts +2 -2
  369. package/_types/chains/definitions/kava.d.ts +2 -2
  370. package/_types/chains/definitions/kavaTestnet.d.ts +2 -2
  371. package/_types/chains/definitions/kcc.d.ts +2 -2
  372. package/_types/chains/definitions/klaytn.d.ts +2 -2
  373. package/_types/chains/definitions/klaytnBaobab.d.ts +2 -2
  374. package/_types/chains/definitions/kroma.d.ts +2 -2
  375. package/_types/chains/definitions/kromaSepolia.d.ts +2 -2
  376. package/_types/chains/definitions/l3x.d.ts +2 -2
  377. package/_types/chains/definitions/l3xTestnet.d.ts +2 -2
  378. package/_types/chains/definitions/lightlinkPegasus.d.ts +2 -2
  379. package/_types/chains/definitions/lightlinkPhoenix.d.ts +2 -2
  380. package/_types/chains/definitions/linea.d.ts +2 -2
  381. package/_types/chains/definitions/lineaGoerli.d.ts +2 -2
  382. package/_types/chains/definitions/lineaSepolia.d.ts +2 -2
  383. package/_types/chains/definitions/lineaTestnet.d.ts +2 -2
  384. package/_types/chains/definitions/lisk.d.ts +171 -171
  385. package/_types/chains/definitions/liskSepolia.d.ts +207 -218
  386. package/_types/chains/definitions/liskSepolia.d.ts.map +1 -1
  387. package/_types/chains/definitions/localhost.d.ts +2 -2
  388. package/_types/chains/definitions/lukso.d.ts +2 -2
  389. package/_types/chains/definitions/luksoTestnet.d.ts +2 -2
  390. package/_types/chains/definitions/lycan.d.ts +2 -2
  391. package/_types/chains/definitions/mainnet.d.ts +2 -2
  392. package/_types/chains/definitions/mandala.d.ts +2 -2
  393. package/_types/chains/definitions/manta.d.ts +2 -2
  394. package/_types/chains/definitions/mantaSepoliaTestnet.d.ts +2 -2
  395. package/_types/chains/definitions/mantaTestnet.d.ts +2 -2
  396. package/_types/chains/definitions/mantle.d.ts +2 -2
  397. package/_types/chains/definitions/mantleSepoliaTestnet.d.ts +2 -2
  398. package/_types/chains/definitions/mantleTestnet.d.ts +2 -2
  399. package/_types/chains/definitions/merlin.d.ts +2 -2
  400. package/_types/chains/definitions/metachain.d.ts +2 -2
  401. package/_types/chains/definitions/metachainIstanbul.d.ts +2 -2
  402. package/_types/chains/definitions/metalL2.d.ts +207 -218
  403. package/_types/chains/definitions/metalL2.d.ts.map +1 -1
  404. package/_types/chains/definitions/meter.d.ts +2 -2
  405. package/_types/chains/definitions/meterTestnet.d.ts +2 -2
  406. package/_types/chains/definitions/metis.d.ts +2 -2
  407. package/_types/chains/definitions/metisGoerli.d.ts +2 -2
  408. package/_types/chains/definitions/mev.d.ts +2 -2
  409. package/_types/chains/definitions/mevTestnet.d.ts +2 -2
  410. package/_types/chains/definitions/mintSepoliaTestnet.d.ts +2 -2
  411. package/_types/chains/definitions/mode.d.ts +2 -2
  412. package/_types/chains/definitions/modeTestnet.d.ts +2 -2
  413. package/_types/chains/definitions/moonbaseAlpha.d.ts +2 -2
  414. package/_types/chains/definitions/moonbeam.d.ts +2 -2
  415. package/_types/chains/definitions/moonbeamDev.d.ts +2 -2
  416. package/_types/chains/definitions/moonriver.d.ts +2 -2
  417. package/_types/chains/definitions/morphSepolia.d.ts +2 -2
  418. package/_types/chains/definitions/nautilus.d.ts +2 -2
  419. package/_types/chains/definitions/neonDevnet.d.ts +2 -2
  420. package/_types/chains/definitions/neonMainnet.d.ts +2 -2
  421. package/_types/chains/definitions/nexi.d.ts +2 -2
  422. package/_types/chains/definitions/nexilix.d.ts +2 -2
  423. package/_types/chains/definitions/oasisTestnet.d.ts +2 -2
  424. package/_types/chains/definitions/oasys.d.ts +2 -2
  425. package/_types/chains/definitions/okc.d.ts +2 -2
  426. package/_types/chains/definitions/oortmainnetDev.d.ts +2 -2
  427. package/_types/chains/definitions/opBNB.d.ts +2 -2
  428. package/_types/chains/definitions/opBNBTestnet.d.ts +2 -2
  429. package/_types/chains/definitions/optimism.d.ts +212 -218
  430. package/_types/chains/definitions/optimism.d.ts.map +1 -1
  431. package/_types/chains/definitions/optimismGoerli.d.ts +207 -218
  432. package/_types/chains/definitions/optimismGoerli.d.ts.map +1 -1
  433. package/_types/chains/definitions/optimismSepolia.d.ts +207 -218
  434. package/_types/chains/definitions/optimismSepolia.d.ts.map +1 -1
  435. package/_types/chains/definitions/otimDevnet.d.ts +2 -2
  436. package/_types/chains/definitions/palm.d.ts +2 -2
  437. package/_types/chains/definitions/palmTestnet.d.ts +2 -2
  438. package/_types/chains/definitions/pgn.d.ts +208 -219
  439. package/_types/chains/definitions/pgn.d.ts.map +1 -1
  440. package/_types/chains/definitions/pgnTestnet.d.ts +208 -219
  441. package/_types/chains/definitions/pgnTestnet.d.ts.map +1 -1
  442. package/_types/chains/definitions/phoenix.d.ts +2 -2
  443. package/_types/chains/definitions/playfiAlbireo.d.ts +171 -171
  444. package/_types/chains/definitions/plinga.d.ts +2 -2
  445. package/_types/chains/definitions/plumeTestnet.d.ts +2 -2
  446. package/_types/chains/definitions/polygon.d.ts +2 -2
  447. package/_types/chains/definitions/polygonAmoy.d.ts +2 -2
  448. package/_types/chains/definitions/polygonMumbai.d.ts +2 -2
  449. package/_types/chains/definitions/polygonZkEvm.d.ts +2 -2
  450. package/_types/chains/definitions/polygonZkEvmCardona.d.ts +2 -2
  451. package/_types/chains/definitions/polygonZkEvmTestnet.d.ts +2 -2
  452. package/_types/chains/definitions/pulsechain.d.ts +2 -2
  453. package/_types/chains/definitions/pulsechainV4.d.ts +2 -2
  454. package/_types/chains/definitions/qMainnet.d.ts +2 -2
  455. package/_types/chains/definitions/qTestnet.d.ts +2 -2
  456. package/_types/chains/definitions/redstone.d.ts +2 -2
  457. package/_types/chains/definitions/reyaNetwork.d.ts +2 -2
  458. package/_types/chains/definitions/rollux.d.ts +2 -2
  459. package/_types/chains/definitions/rolluxTestnet.d.ts +2 -2
  460. package/_types/chains/definitions/ronin.d.ts +2 -2
  461. package/_types/chains/definitions/rootstock.d.ts +2 -2
  462. package/_types/chains/definitions/rootstockTestnet.d.ts +2 -2
  463. package/_types/chains/definitions/rss3.d.ts +207 -218
  464. package/_types/chains/definitions/rss3.d.ts.map +1 -1
  465. package/_types/chains/definitions/rss3Sepolia.d.ts +207 -218
  466. package/_types/chains/definitions/rss3Sepolia.d.ts.map +1 -1
  467. package/_types/chains/definitions/saigon.d.ts +2 -2
  468. package/_types/chains/definitions/sapphire.d.ts +2 -2
  469. package/_types/chains/definitions/sapphireTestnet.d.ts +2 -2
  470. package/_types/chains/definitions/satoshivm.d.ts +2 -2
  471. package/_types/chains/definitions/satoshivmTestnet.d.ts +2 -2
  472. package/_types/chains/definitions/scroll.d.ts +2 -2
  473. package/_types/chains/definitions/scrollSepolia.d.ts +2 -2
  474. package/_types/chains/definitions/sei.d.ts +3 -2
  475. package/_types/chains/definitions/sei.d.ts.map +1 -1
  476. package/_types/chains/definitions/seiDevnet.d.ts +2 -2
  477. package/_types/chains/definitions/sepolia.d.ts +2 -2
  478. package/_types/chains/definitions/shardeumSphinx.d.ts +2 -2
  479. package/_types/chains/definitions/shibarium.d.ts +2 -2
  480. package/_types/chains/definitions/shimmer.d.ts +2 -2
  481. package/_types/chains/definitions/shimmerTestnet.d.ts +2 -2
  482. package/_types/chains/definitions/skale/brawl.d.ts +2 -2
  483. package/_types/chains/definitions/skale/calypso.d.ts +2 -2
  484. package/_types/chains/definitions/skale/calypsoTestnet.d.ts +2 -2
  485. package/_types/chains/definitions/skale/cryptoBlades.d.ts +2 -2
  486. package/_types/chains/definitions/skale/cryptoColosseum.d.ts +2 -2
  487. package/_types/chains/definitions/skale/europa.d.ts +2 -2
  488. package/_types/chains/definitions/skale/europaTestnet.d.ts +2 -2
  489. package/_types/chains/definitions/skale/exorde.d.ts +2 -2
  490. package/_types/chains/definitions/skale/humanProtocol.d.ts +2 -2
  491. package/_types/chains/definitions/skale/nebula.d.ts +2 -2
  492. package/_types/chains/definitions/skale/nebulaTestnet.d.ts +2 -2
  493. package/_types/chains/definitions/skale/razor.d.ts +2 -2
  494. package/_types/chains/definitions/skale/titan.d.ts +2 -2
  495. package/_types/chains/definitions/skale/titanTestnet.d.ts +2 -2
  496. package/_types/chains/definitions/songbird.d.ts +2 -2
  497. package/_types/chains/definitions/songbirdTestnet.d.ts +2 -2
  498. package/_types/chains/definitions/spicy.d.ts +2 -2
  499. package/_types/chains/definitions/stratis.d.ts +2 -2
  500. package/_types/chains/definitions/syscoin.d.ts +2 -2
  501. package/_types/chains/definitions/syscoinTestnet.d.ts +2 -2
  502. package/_types/chains/definitions/taiko.d.ts +2 -2
  503. package/_types/chains/definitions/taikoHekla.d.ts +2 -2
  504. package/_types/chains/definitions/taikoJolnir.d.ts +2 -2
  505. package/_types/chains/definitions/taikoKatla.d.ts +2 -2
  506. package/_types/chains/definitions/taikoTestnetSepolia.d.ts +2 -2
  507. package/_types/chains/definitions/taraxa.d.ts +2 -2
  508. package/_types/chains/definitions/taraxaTestnet.d.ts +2 -2
  509. package/_types/chains/definitions/telcoinTestnet.d.ts +2 -2
  510. package/_types/chains/definitions/telos.d.ts +2 -2
  511. package/_types/chains/definitions/telosTestnet.d.ts +2 -2
  512. package/_types/chains/definitions/tenet.d.ts +2 -2
  513. package/_types/chains/definitions/thaiChain.d.ts +2 -2
  514. package/_types/chains/definitions/thunderTestnet.d.ts +2 -2
  515. package/_types/chains/definitions/vechain.d.ts +2 -2
  516. package/_types/chains/definitions/wanchain.d.ts +2 -2
  517. package/_types/chains/definitions/wanchainTestnet.d.ts +2 -2
  518. package/_types/chains/definitions/wemix.d.ts +2 -2
  519. package/_types/chains/definitions/wemixTestnet.d.ts +2 -2
  520. package/_types/chains/definitions/xLayer.d.ts +2 -2
  521. package/_types/chains/definitions/xLayerTestnet.d.ts +2 -2
  522. package/_types/chains/definitions/xdc.d.ts +2 -2
  523. package/_types/chains/definitions/xdcTestnet.d.ts +2 -2
  524. package/_types/chains/definitions/yooldoVerse.d.ts +2 -2
  525. package/_types/chains/definitions/yooldoVerseTestnet.d.ts +2 -2
  526. package/_types/chains/definitions/zetachain.d.ts +2 -2
  527. package/_types/chains/definitions/zetachainAthensTestnet.d.ts +2 -2
  528. package/_types/chains/definitions/zhejiang.d.ts +2 -2
  529. package/_types/chains/definitions/zilliqa.d.ts +2 -2
  530. package/_types/chains/definitions/zilliqaTestnet.d.ts +2 -2
  531. package/_types/chains/definitions/zkFair.d.ts +2 -2
  532. package/_types/chains/definitions/zkFairTestnet.d.ts +2 -2
  533. package/_types/chains/definitions/zkSync.d.ts +171 -171
  534. package/_types/chains/definitions/zkSyncInMemoryNode.d.ts +171 -171
  535. package/_types/chains/definitions/zkSyncLocalNode.d.ts +171 -171
  536. package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts +171 -171
  537. package/_types/chains/definitions/zkSyncTestnet.d.ts +171 -171
  538. package/_types/chains/definitions/zora.d.ts +207 -218
  539. package/_types/chains/definitions/zora.d.ts.map +1 -1
  540. package/_types/chains/definitions/zoraSepolia.d.ts +207 -218
  541. package/_types/chains/definitions/zoraSepolia.d.ts.map +1 -1
  542. package/_types/chains/definitions/zoraTestnet.d.ts +207 -218
  543. package/_types/chains/definitions/zoraTestnet.d.ts.map +1 -1
  544. package/_types/clients/createClient.d.ts +1 -1
  545. package/_types/clients/createClient.d.ts.map +1 -1
  546. package/_types/clients/transports/fallback.d.ts +5 -4
  547. package/_types/clients/transports/fallback.d.ts.map +1 -1
  548. package/_types/clients/transports/http.d.ts +6 -7
  549. package/_types/clients/transports/http.d.ts.map +1 -1
  550. package/_types/constants/abis.d.ts +1 -0
  551. package/_types/constants/abis.d.ts.map +1 -1
  552. package/_types/constants/blob.d.ts +0 -2
  553. package/_types/constants/blob.d.ts.map +1 -1
  554. package/_types/constants/kzg.d.ts +0 -4
  555. package/_types/constants/kzg.d.ts.map +1 -1
  556. package/_types/errors/abi.d.ts +0 -10
  557. package/_types/errors/abi.d.ts.map +1 -1
  558. package/_types/errors/ccip.d.ts +1 -0
  559. package/_types/errors/ccip.d.ts.map +1 -1
  560. package/_types/errors/stateOverride.d.ts +1 -0
  561. package/_types/errors/stateOverride.d.ts.map +1 -1
  562. package/_types/errors/version.d.ts +1 -1
  563. package/_types/experimental/eip5792/actions/getCapabilities.d.ts.map +1 -1
  564. package/_types/experimental/eip5792/actions/sendCalls.d.ts.map +1 -1
  565. package/_types/experimental/erc7715/types/permission.d.ts +5 -0
  566. package/_types/experimental/erc7715/types/permission.d.ts.map +1 -1
  567. package/_types/experimental/erc7715/types/signer.d.ts +3 -0
  568. package/_types/experimental/erc7715/types/signer.d.ts.map +1 -1
  569. package/_types/index.d.ts +10 -10
  570. package/_types/index.d.ts.map +1 -1
  571. package/_types/node/trustedSetups.d.ts +0 -1
  572. package/_types/node/trustedSetups.d.ts.map +1 -1
  573. package/_types/node/trustedSetups_cjs.d.ts +0 -1
  574. package/_types/node/trustedSetups_cjs.d.ts.map +1 -1
  575. package/_types/op-stack/abis.d.ts +0 -626
  576. package/_types/op-stack/abis.d.ts.map +1 -1
  577. package/_types/op-stack/actions/buildProveWithdrawal.d.ts +1 -0
  578. package/_types/op-stack/actions/buildProveWithdrawal.d.ts.map +1 -1
  579. package/_types/op-stack/actions/getWithdrawalStatus.d.ts +2 -1
  580. package/_types/op-stack/actions/getWithdrawalStatus.d.ts.map +1 -1
  581. package/_types/op-stack/chainConfig.d.ts +206 -217
  582. package/_types/op-stack/chainConfig.d.ts.map +1 -1
  583. package/_types/op-stack/formatters.d.ts +206 -217
  584. package/_types/op-stack/formatters.d.ts.map +1 -1
  585. package/_types/op-stack/index.d.ts.map +1 -1
  586. package/_types/types/account.d.ts +1 -1
  587. package/_types/types/account.d.ts.map +1 -1
  588. package/_types/types/block.d.ts +15 -15
  589. package/_types/types/block.d.ts.map +1 -1
  590. package/_types/types/chain.d.ts +28 -39
  591. package/_types/types/chain.d.ts.map +1 -1
  592. package/_types/types/eip1193.d.ts +2 -2
  593. package/_types/types/eip1193.d.ts.map +1 -1
  594. package/_types/types/fee.d.ts +20 -15
  595. package/_types/types/fee.d.ts.map +1 -1
  596. package/_types/types/kzg.d.ts +1 -1
  597. package/_types/types/kzg.d.ts.map +1 -1
  598. package/_types/types/proof.d.ts +3 -2
  599. package/_types/types/proof.d.ts.map +1 -1
  600. package/_types/types/rpc.d.ts +13 -13
  601. package/_types/types/rpc.d.ts.map +1 -1
  602. package/_types/types/transaction.d.ts +77 -77
  603. package/_types/types/transaction.d.ts.map +1 -1
  604. package/_types/types/transport.d.ts +1 -1
  605. package/_types/types/transport.d.ts.map +1 -1
  606. package/_types/types/utils.d.ts +18 -5
  607. package/_types/types/utils.d.ts.map +1 -1
  608. package/_types/utils/abi/decodeAbiParameters.d.ts +2 -1
  609. package/_types/utils/abi/decodeAbiParameters.d.ts.map +1 -1
  610. package/_types/utils/abi/encodeAbiParameters.d.ts +12 -11
  611. package/_types/utils/abi/encodeAbiParameters.d.ts.map +1 -1
  612. package/_types/utils/abi/getAbiItem.d.ts +6 -2
  613. package/_types/utils/abi/getAbiItem.d.ts.map +1 -1
  614. package/_types/utils/address/getAddress.d.ts +0 -2
  615. package/_types/utils/address/getAddress.d.ts.map +1 -1
  616. package/_types/utils/address/isAddress.d.ts +1 -0
  617. package/_types/utils/address/isAddress.d.ts.map +1 -1
  618. package/_types/utils/blob/toBlobs.d.ts +2 -1
  619. package/_types/utils/blob/toBlobs.d.ts.map +1 -1
  620. package/_types/utils/buildRequest.d.ts +1 -0
  621. package/_types/utils/buildRequest.d.ts.map +1 -1
  622. package/_types/utils/ccip.d.ts +4 -2
  623. package/_types/utils/ccip.d.ts.map +1 -1
  624. package/_types/utils/chain/extractChain.d.ts +4 -2
  625. package/_types/utils/chain/extractChain.d.ts.map +1 -1
  626. package/_types/utils/cursor.d.ts +7 -6
  627. package/_types/utils/cursor.d.ts.map +1 -1
  628. package/_types/utils/encoding/fromRlp.d.ts +3 -7
  629. package/_types/utils/encoding/fromRlp.d.ts.map +1 -1
  630. package/_types/utils/ens/avatar/parseAvatarRecord.d.ts +2 -1
  631. package/_types/utils/ens/avatar/parseAvatarRecord.d.ts.map +1 -1
  632. package/_types/utils/ens/avatar/utils.d.ts +4 -2
  633. package/_types/utils/ens/avatar/utils.d.ts.map +1 -1
  634. package/_types/utils/ens/errors.d.ts +1 -0
  635. package/_types/utils/ens/errors.d.ts.map +1 -1
  636. package/_types/utils/formatters/transaction.d.ts +65 -65
  637. package/_types/utils/formatters/transactionRequest.d.ts +41 -41
  638. package/_types/utils/hash/normalizeSignature.d.ts +3 -2
  639. package/_types/utils/hash/normalizeSignature.d.ts.map +1 -1
  640. package/_types/utils/index.d.ts +1 -1
  641. package/_types/utils/index.d.ts.map +1 -1
  642. package/_types/utils/observe.d.ts +2 -0
  643. package/_types/utils/observe.d.ts.map +1 -1
  644. package/_types/utils/promise/createBatchScheduler.d.ts +3 -2
  645. package/_types/utils/promise/createBatchScheduler.d.ts.map +1 -1
  646. package/_types/utils/promise/withCache.d.ts +4 -1
  647. package/_types/utils/promise/withCache.d.ts.map +1 -1
  648. package/_types/utils/rpc/id.d.ts +0 -5
  649. package/_types/utils/rpc/id.d.ts.map +1 -1
  650. package/_types/utils/rpc/ipc.d.ts +1 -0
  651. package/_types/utils/rpc/ipc.d.ts.map +1 -1
  652. package/_types/utils/stateOverride.d.ts +9 -5
  653. package/_types/utils/stateOverride.d.ts.map +1 -1
  654. package/_types/utils/transaction/parseTransaction.d.ts +5 -5
  655. package/_types/utils/transaction/parseTransaction.d.ts.map +1 -1
  656. package/_types/zksync/actions/deployContract.d.ts +2 -1
  657. package/_types/zksync/actions/deployContract.d.ts.map +1 -1
  658. package/_types/zksync/actions/estimateGasL1ToL2.d.ts.map +1 -1
  659. package/_types/zksync/actions/getAllBalances.d.ts.map +1 -1
  660. package/_types/zksync/actions/getL1Allowance.d.ts.map +1 -1
  661. package/_types/zksync/actions/getL1Balance.d.ts.map +1 -1
  662. package/_types/zksync/actions/getL1TokenBalance.d.ts +4 -4
  663. package/_types/zksync/actions/getL1TokenBalance.d.ts.map +1 -1
  664. package/_types/zksync/actions/sendTransaction.d.ts.map +1 -1
  665. package/_types/zksync/chainConfig.d.ts +170 -170
  666. package/_types/zksync/constants/contract.d.ts +0 -1
  667. package/_types/zksync/constants/contract.d.ts.map +1 -1
  668. package/_types/zksync/formatters.d.ts +170 -170
  669. package/_types/zksync/index.d.ts +1 -0
  670. package/_types/zksync/index.d.ts.map +1 -1
  671. package/_types/zksync/serializers.d.ts +1 -2
  672. package/_types/zksync/serializers.d.ts.map +1 -1
  673. package/_types/zksync/types/eip1193.d.ts +5 -5
  674. package/_types/zksync/types/eip1193.d.ts.map +1 -1
  675. package/_types/zksync/utils/abi/encodeDeployData.d.ts +5 -0
  676. package/_types/zksync/utils/abi/encodeDeployData.d.ts.map +1 -1
  677. package/_types/zksync/utils/assertEip712Request.d.ts +3 -1
  678. package/_types/zksync/utils/assertEip712Request.d.ts.map +1 -1
  679. package/_types/zksync/utils/hashBytecode.d.ts +5 -0
  680. package/_types/zksync/utils/hashBytecode.d.ts.map +1 -1
  681. package/accounts/hdKeyToAccount.ts +1 -2
  682. package/accounts/types.ts +1 -1
  683. package/actions/public/call.ts +5 -5
  684. package/actions/public/estimateGas.ts +3 -4
  685. package/actions/public/getBlockNumber.ts +9 -1
  686. package/actions/test/sendUnsignedTransaction.ts +2 -2
  687. package/actions/wallet/prepareTransactionRequest.ts +0 -20
  688. package/actions/wallet/signTypedData.ts +2 -0
  689. package/celo/fees.ts +0 -1
  690. package/celo/formatters.ts +3 -3
  691. package/celo/index.ts +5 -2
  692. package/celo/serializers.ts +0 -1
  693. package/celo/types.ts +89 -96
  694. package/celo/utils.ts +1 -0
  695. package/chains/definitions/defichainEvm.ts +1 -1
  696. package/chains/definitions/defichainEvmTestnet.ts +1 -1
  697. package/chains/definitions/optimism.ts +5 -0
  698. package/chains/definitions/sei.ts +1 -0
  699. package/clients/createClient.ts +4 -2
  700. package/clients/transports/fallback.ts +14 -12
  701. package/clients/transports/http.ts +9 -8
  702. package/constants/abis.ts +1 -0
  703. package/constants/blob.ts +1 -1
  704. package/constants/kzg.ts +0 -6
  705. package/errors/abi.ts +0 -13
  706. package/errors/ccip.ts +1 -0
  707. package/errors/stateOverride.ts +1 -0
  708. package/errors/version.ts +1 -1
  709. package/experimental/eip5792/actions/getCapabilities.ts +1 -1
  710. package/experimental/eip5792/actions/sendCalls.ts +1 -1
  711. package/experimental/erc7715/types/permission.ts +5 -0
  712. package/experimental/erc7715/types/signer.ts +3 -0
  713. package/index.ts +23 -5
  714. package/node/trustedSetups.ts +0 -5
  715. package/node/trustedSetups_cjs.ts +0 -5
  716. package/op-stack/abis.ts +0 -458
  717. package/op-stack/actions/buildProveWithdrawal.ts +1 -0
  718. package/op-stack/actions/getWithdrawalStatus.ts +6 -1
  719. package/op-stack/index.ts +0 -1
  720. package/package.json +3 -2
  721. package/types/account.ts +1 -11
  722. package/types/block.ts +16 -16
  723. package/types/chain.ts +44 -60
  724. package/types/eip1193.ts +2 -2
  725. package/types/fee.ts +23 -21
  726. package/types/kzg.ts +2 -1
  727. package/types/proof.ts +2 -2
  728. package/types/rpc.ts +30 -31
  729. package/types/transaction.ts +216 -207
  730. package/types/transport.ts +3 -1
  731. package/types/utils.ts +23 -5
  732. package/utils/abi/decodeAbiParameters.ts +6 -1
  733. package/utils/abi/encodeAbiParameters.ts +22 -19
  734. package/utils/abi/getAbiItem.ts +8 -2
  735. package/utils/address/getAddress.ts +1 -1
  736. package/utils/address/isAddress.ts +1 -0
  737. package/utils/blob/toBlobs.ts +2 -1
  738. package/utils/buildRequest.ts +1 -0
  739. package/utils/ccip.ts +11 -3
  740. package/utils/chain/extractChain.ts +2 -2
  741. package/utils/cursor.ts +16 -6
  742. package/utils/encoding/fromRlp.ts +3 -21
  743. package/utils/ens/avatar/parseAvatarRecord.ts +1 -1
  744. package/utils/ens/avatar/utils.ts +4 -2
  745. package/utils/ens/errors.ts +1 -0
  746. package/utils/hash/normalizeSignature.ts +2 -2
  747. package/utils/index.ts +3 -0
  748. package/utils/observe.ts +2 -0
  749. package/utils/promise/createBatchScheduler.ts +3 -2
  750. package/utils/promise/withCache.ts +3 -1
  751. package/utils/promise/withTimeout.ts +2 -2
  752. package/utils/rpc/id.ts +1 -1
  753. package/utils/rpc/ipc.ts +1 -0
  754. package/utils/stateOverride.ts +8 -5
  755. package/utils/transaction/parseTransaction.ts +9 -4
  756. package/utils/unit/parseUnits.ts +1 -1
  757. package/zksync/actions/deployContract.ts +8 -2
  758. package/zksync/actions/estimateGasL1ToL2.ts +1 -1
  759. package/zksync/actions/getAllBalances.ts +1 -1
  760. package/zksync/actions/getL1Allowance.ts +1 -1
  761. package/zksync/actions/getL1Balance.ts +1 -1
  762. package/zksync/actions/getL1TokenBalance.ts +10 -7
  763. package/zksync/actions/sendTransaction.ts +1 -2
  764. package/zksync/constants/contract.ts +0 -1
  765. package/zksync/index.ts +5 -0
  766. package/zksync/serializers.ts +1 -2
  767. package/zksync/types/eip1193.ts +32 -26
  768. package/zksync/utils/abi/encodeDeployData.ts +12 -2
  769. package/zksync/utils/assertEip712Request.ts +9 -2
  770. package/zksync/utils/hashBytecode.ts +14 -2
  771. package/_cjs/utils/accounts.js +0 -8
  772. package/_cjs/utils/accounts.js.map +0 -1
  773. package/_esm/utils/accounts.js +0 -7
  774. package/_esm/utils/accounts.js.map +0 -1
  775. package/_types/utils/accounts.d.ts +0 -3
  776. package/_types/utils/accounts.d.ts.map +0 -1
  777. package/utils/accounts.ts +0 -7
@@ -14,7 +14,7 @@ export declare const rpcTransactionType: {
14
14
  export type FormatTransactionRequestErrorType = ErrorType;
15
15
  export declare function formatTransactionRequest(request: ExactPartial<TransactionRequest>): RpcTransactionRequest;
16
16
  export type DefineTransactionRequestErrorType = DefineFormatterErrorType | ErrorType;
17
- export declare const defineTransactionRequest: <TOverrideParameters, TOverrideReturnType, TExclude extends ("gasPrice" | "maxFeePerBlobGas" | "maxFeePerGas" | "maxPriorityFeePerGas" | "type" | "to" | "data" | "from" | "gas" | "nonce" | "value" | "blobs" | "accessList" | "blobVersionedHashes" | "kzg" | "sidecars" | keyof TOverrideParameters)[] = []>({ exclude, format: overrides, }: {
17
+ export declare const defineTransactionRequest: <TOverrideParameters, TOverrideReturnType, TExclude extends ("type" | "gasPrice" | "maxFeePerBlobGas" | "maxFeePerGas" | "maxPriorityFeePerGas" | "to" | "data" | "from" | "gas" | "nonce" | "value" | "blobs" | "accessList" | "blobVersionedHashes" | "kzg" | "sidecars" | keyof TOverrideParameters)[] = []>({ exclude, format: overrides, }: {
18
18
  exclude?: TExclude | undefined;
19
19
  format: (_: TOverrideParameters) => TOverrideReturnType;
20
20
  }) => {
@@ -26,13 +26,13 @@ export declare const defineTransactionRequest: <TOverrideParameters, TOverrideRe
26
26
  nonce?: `0x${string}` | undefined;
27
27
  to?: `0x${string}` | null | undefined;
28
28
  value?: `0x${string}` | undefined;
29
+ accessList?: undefined;
30
+ blobs?: undefined;
31
+ type?: "0x0" | undefined;
29
32
  gasPrice?: `0x${string}` | undefined;
30
33
  maxFeePerBlobGas?: undefined;
31
34
  maxFeePerGas?: undefined;
32
35
  maxPriorityFeePerGas?: undefined;
33
- accessList?: undefined;
34
- blobs?: undefined;
35
- type?: "0x0" | undefined;
36
36
  blobVersionedHashes?: undefined;
37
37
  kzg?: undefined;
38
38
  sidecars?: undefined;
@@ -43,13 +43,13 @@ export declare const defineTransactionRequest: <TOverrideParameters, TOverrideRe
43
43
  nonce?: `0x${string}` | undefined;
44
44
  to?: `0x${string}` | null | undefined;
45
45
  value?: `0x${string}` | undefined;
46
+ accessList?: undefined;
47
+ blobs?: undefined;
48
+ type?: "0x0" | undefined;
46
49
  gasPrice?: `0x${string}` | undefined;
47
50
  maxFeePerBlobGas?: undefined;
48
51
  maxFeePerGas?: undefined;
49
52
  maxPriorityFeePerGas?: undefined;
50
- accessList?: undefined;
51
- blobs?: undefined;
52
- type?: "0x0" | undefined;
53
53
  blobVersionedHashes?: undefined;
54
54
  kzg?: undefined;
55
55
  sidecars?: undefined;
@@ -60,13 +60,13 @@ export declare const defineTransactionRequest: <TOverrideParameters, TOverrideRe
60
60
  nonce?: `0x${string}` | undefined;
61
61
  to?: `0x${string}` | null | undefined;
62
62
  value?: `0x${string}` | undefined;
63
+ accessList?: undefined;
64
+ blobs?: undefined;
65
+ type?: "0x0" | undefined;
63
66
  gasPrice?: `0x${string}` | undefined;
64
67
  maxFeePerBlobGas?: undefined;
65
68
  maxFeePerGas?: undefined;
66
69
  maxPriorityFeePerGas?: undefined;
67
- accessList?: undefined;
68
- blobs?: undefined;
69
- type?: "0x0" | undefined;
70
70
  blobVersionedHashes?: undefined;
71
71
  kzg?: undefined;
72
72
  sidecars?: undefined;
@@ -77,13 +77,13 @@ export declare const defineTransactionRequest: <TOverrideParameters, TOverrideRe
77
77
  nonce?: `0x${string}` | undefined;
78
78
  to?: `0x${string}` | null | undefined;
79
79
  value?: `0x${string}` | undefined;
80
+ accessList?: undefined;
81
+ blobs?: undefined;
82
+ type?: "0x0" | undefined;
80
83
  gasPrice?: `0x${string}` | undefined;
81
84
  maxFeePerBlobGas?: undefined;
82
85
  maxFeePerGas?: undefined;
83
86
  maxPriorityFeePerGas?: undefined;
84
- accessList?: undefined;
85
- blobs?: undefined;
86
- type?: "0x0" | undefined;
87
87
  blobVersionedHashes?: undefined;
88
88
  kzg?: undefined;
89
89
  sidecars?: undefined;
@@ -94,13 +94,13 @@ export declare const defineTransactionRequest: <TOverrideParameters, TOverrideRe
94
94
  nonce?: `0x${string}` | undefined;
95
95
  to?: `0x${string}` | null | undefined;
96
96
  value?: `0x${string}` | undefined;
97
+ accessList?: import("../../types/transaction.js").AccessList | undefined;
98
+ blobs?: undefined;
99
+ type?: "0x1" | undefined;
97
100
  gasPrice?: `0x${string}` | undefined;
98
101
  maxFeePerBlobGas?: undefined;
99
102
  maxFeePerGas?: undefined;
100
103
  maxPriorityFeePerGas?: undefined;
101
- accessList?: import("../../types/transaction.js").AccessList | undefined;
102
- blobs?: undefined;
103
- type?: "0x1" | undefined;
104
104
  blobVersionedHashes?: undefined;
105
105
  kzg?: undefined;
106
106
  sidecars?: undefined;
@@ -111,13 +111,13 @@ export declare const defineTransactionRequest: <TOverrideParameters, TOverrideRe
111
111
  nonce?: `0x${string}` | undefined;
112
112
  to?: `0x${string}` | null | undefined;
113
113
  value?: `0x${string}` | undefined;
114
+ accessList?: import("../../types/transaction.js").AccessList | undefined;
115
+ blobs?: undefined;
116
+ type?: "0x1" | undefined;
114
117
  gasPrice?: `0x${string}` | undefined;
115
118
  maxFeePerBlobGas?: undefined;
116
119
  maxFeePerGas?: undefined;
117
120
  maxPriorityFeePerGas?: undefined;
118
- accessList?: import("../../types/transaction.js").AccessList | undefined;
119
- blobs?: undefined;
120
- type?: "0x1" | undefined;
121
121
  blobVersionedHashes?: undefined;
122
122
  kzg?: undefined;
123
123
  sidecars?: undefined;
@@ -128,13 +128,13 @@ export declare const defineTransactionRequest: <TOverrideParameters, TOverrideRe
128
128
  nonce?: `0x${string}` | undefined;
129
129
  to?: `0x${string}` | null | undefined;
130
130
  value?: `0x${string}` | undefined;
131
+ accessList?: import("../../types/transaction.js").AccessList | undefined;
132
+ blobs?: undefined;
133
+ type?: "0x1" | undefined;
131
134
  gasPrice?: `0x${string}` | undefined;
132
135
  maxFeePerBlobGas?: undefined;
133
136
  maxFeePerGas?: undefined;
134
137
  maxPriorityFeePerGas?: undefined;
135
- accessList?: import("../../types/transaction.js").AccessList | undefined;
136
- blobs?: undefined;
137
- type?: "0x1" | undefined;
138
138
  blobVersionedHashes?: undefined;
139
139
  kzg?: undefined;
140
140
  sidecars?: undefined;
@@ -145,13 +145,13 @@ export declare const defineTransactionRequest: <TOverrideParameters, TOverrideRe
145
145
  nonce?: `0x${string}` | undefined;
146
146
  to?: `0x${string}` | null | undefined;
147
147
  value?: `0x${string}` | undefined;
148
+ accessList?: import("../../types/transaction.js").AccessList | undefined;
149
+ blobs?: undefined;
150
+ type?: "0x1" | undefined;
148
151
  gasPrice?: `0x${string}` | undefined;
149
152
  maxFeePerBlobGas?: undefined;
150
153
  maxFeePerGas?: undefined;
151
154
  maxPriorityFeePerGas?: undefined;
152
- accessList?: import("../../types/transaction.js").AccessList | undefined;
153
- blobs?: undefined;
154
- type?: "0x1" | undefined;
155
155
  blobVersionedHashes?: undefined;
156
156
  kzg?: undefined;
157
157
  sidecars?: undefined;
@@ -230,16 +230,16 @@ export declare const defineTransactionRequest: <TOverrideParameters, TOverrideRe
230
230
  nonce?: `0x${string}` | undefined;
231
231
  value?: `0x${string}` | undefined;
232
232
  to: `0x${string}` | null;
233
- gasPrice?: undefined;
234
- maxFeePerGas?: `0x${string}` | undefined;
235
- maxPriorityFeePerGas?: `0x${string}` | undefined;
236
- maxFeePerBlobGas: `0x${string}`;
237
233
  accessList?: import("../../types/transaction.js").AccessList | undefined;
238
234
  blobs: readonly `0x${string}`[] | readonly Uint8Array[];
239
235
  blobVersionedHashes?: readonly `0x${string}`[] | undefined;
240
236
  kzg?: import("../../index.js").Kzg | undefined;
241
237
  sidecars?: readonly import("../../index.js").BlobSidecar<`0x${string}`>[] | undefined;
242
238
  type?: "0x3" | undefined;
239
+ gasPrice?: undefined;
240
+ maxFeePerGas?: `0x${string}` | undefined;
241
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
242
+ maxFeePerBlobGas: `0x${string}`;
243
243
  } extends infer T_11 ? { [K_7 in keyof T_11 as K_7 extends keyof TOverrideReturnType ? TOverrideReturnType[K_7] extends void ? never : K_7 : K_7]: K_7 extends keyof TOverrideReturnType ? TOverrideReturnType[K_7] : {
244
244
  data?: `0x${string}` | undefined;
245
245
  from: `0x${string}`;
@@ -247,16 +247,16 @@ export declare const defineTransactionRequest: <TOverrideParameters, TOverrideRe
247
247
  nonce?: `0x${string}` | undefined;
248
248
  value?: `0x${string}` | undefined;
249
249
  to: `0x${string}` | null;
250
- gasPrice?: undefined;
251
- maxFeePerGas?: `0x${string}` | undefined;
252
- maxPriorityFeePerGas?: `0x${string}` | undefined;
253
- maxFeePerBlobGas: `0x${string}`;
254
250
  accessList?: import("../../types/transaction.js").AccessList | undefined;
255
251
  blobs: readonly `0x${string}`[] | readonly Uint8Array[];
256
252
  blobVersionedHashes?: readonly `0x${string}`[] | undefined;
257
253
  kzg?: import("../../index.js").Kzg | undefined;
258
254
  sidecars?: readonly import("../../index.js").BlobSidecar<`0x${string}`>[] | undefined;
259
255
  type?: "0x3" | undefined;
256
+ gasPrice?: undefined;
257
+ maxFeePerGas?: `0x${string}` | undefined;
258
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
259
+ maxFeePerBlobGas: `0x${string}`;
260
260
  }[K_7]; } : never) & TOverrideReturnType extends infer T_9 ? { [K_6 in keyof T_9]: (({
261
261
  data?: `0x${string}` | undefined;
262
262
  from: `0x${string}`;
@@ -264,16 +264,16 @@ export declare const defineTransactionRequest: <TOverrideParameters, TOverrideRe
264
264
  nonce?: `0x${string}` | undefined;
265
265
  value?: `0x${string}` | undefined;
266
266
  to: `0x${string}` | null;
267
- gasPrice?: undefined;
268
- maxFeePerGas?: `0x${string}` | undefined;
269
- maxPriorityFeePerGas?: `0x${string}` | undefined;
270
- maxFeePerBlobGas: `0x${string}`;
271
267
  accessList?: import("../../types/transaction.js").AccessList | undefined;
272
268
  blobs: readonly `0x${string}`[] | readonly Uint8Array[];
273
269
  blobVersionedHashes?: readonly `0x${string}`[] | undefined;
274
270
  kzg?: import("../../index.js").Kzg | undefined;
275
271
  sidecars?: readonly import("../../index.js").BlobSidecar<`0x${string}`>[] | undefined;
276
272
  type?: "0x3" | undefined;
273
+ gasPrice?: undefined;
274
+ maxFeePerGas?: `0x${string}` | undefined;
275
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
276
+ maxFeePerBlobGas: `0x${string}`;
277
277
  } extends infer T_10 ? { [K_7 in keyof T_10 as K_7 extends keyof TOverrideReturnType ? TOverrideReturnType[K_7] extends void ? never : K_7 : K_7]: K_7 extends keyof TOverrideReturnType ? TOverrideReturnType[K_7] : {
278
278
  data?: `0x${string}` | undefined;
279
279
  from: `0x${string}`;
@@ -281,16 +281,16 @@ export declare const defineTransactionRequest: <TOverrideParameters, TOverrideRe
281
281
  nonce?: `0x${string}` | undefined;
282
282
  value?: `0x${string}` | undefined;
283
283
  to: `0x${string}` | null;
284
- gasPrice?: undefined;
285
- maxFeePerGas?: `0x${string}` | undefined;
286
- maxPriorityFeePerGas?: `0x${string}` | undefined;
287
- maxFeePerBlobGas: `0x${string}`;
288
284
  accessList?: import("../../types/transaction.js").AccessList | undefined;
289
285
  blobs: readonly `0x${string}`[] | readonly Uint8Array[];
290
286
  blobVersionedHashes?: readonly `0x${string}`[] | undefined;
291
287
  kzg?: import("../../index.js").Kzg | undefined;
292
288
  sidecars?: readonly import("../../index.js").BlobSidecar<`0x${string}`>[] | undefined;
293
289
  type?: "0x3" | undefined;
290
+ gasPrice?: undefined;
291
+ maxFeePerGas?: `0x${string}` | undefined;
292
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
293
+ maxFeePerBlobGas: `0x${string}`;
294
294
  }[K_7]; } : never) & TOverrideReturnType)[K_6]; } : never)) & { [_key in TExclude[number]]: never; };
295
295
  type: "transactionRequest";
296
296
  };
@@ -1,6 +1,7 @@
1
1
  import type { ErrorType } from '../../errors/utils.js';
2
- export type NormalizeSignatureParameters = string;
3
- export type NormalizeSignatureReturnType = string;
2
+ type NormalizeSignatureParameters = string;
3
+ type NormalizeSignatureReturnType = string;
4
4
  export type NormalizeSignatureErrorType = ErrorType;
5
5
  export declare function normalizeSignature(signature: NormalizeSignatureParameters): NormalizeSignatureReturnType;
6
+ export {};
6
7
  //# sourceMappingURL=normalizeSignature.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"normalizeSignature.d.ts","sourceRoot":"","sources":["../../../utils/hash/normalizeSignature.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEtD,MAAM,MAAM,4BAA4B,GAAG,MAAM,CAAA;AACjD,MAAM,MAAM,4BAA4B,GAAG,MAAM,CAAA;AACjD,MAAM,MAAM,2BAA2B,GAAG,SAAS,CAAA;AAEnD,wBAAgB,kBAAkB,CAChC,SAAS,EAAE,4BAA4B,GACtC,4BAA4B,CAsD9B"}
1
+ {"version":3,"file":"normalizeSignature.d.ts","sourceRoot":"","sources":["../../../utils/hash/normalizeSignature.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEtD,KAAK,4BAA4B,GAAG,MAAM,CAAA;AAC1C,KAAK,4BAA4B,GAAG,MAAM,CAAA;AAC1C,MAAM,MAAM,2BAA2B,GAAG,SAAS,CAAA;AAEnD,wBAAgB,kBAAkB,CAChC,SAAS,EAAE,4BAA4B,GACtC,4BAA4B,CAsD9B"}
@@ -12,7 +12,7 @@ export { type HttpRpcClient, type HttpRpcClientOptions, type HttpRequestErrorTyp
12
12
  export { type GetSocketRpcClientErrorType, type GetSocketRpcClientParameters, type GetSocketParameters, type Socket, type SocketRpcClient, getSocketRpcClient, socketClientCache, } from './rpc/socket.js';
13
13
  export { getWebSocketRpcClient } from './rpc/webSocket.js';
14
14
  export { type StringifyErrorType, stringify } from './stringify.js';
15
- export { type DomainSeparatorErrorType, validateTypedData, } from './typedData.js';
15
+ export { type DomainSeparatorErrorType, type SerializeTypedDataErrorType, type ValidateTypedDataErrorType, serializeTypedData, validateTypedData, } from './typedData.js';
16
16
  export { type DecodeAbiParametersErrorType, type DecodeAbiParametersReturnType, decodeAbiParameters, } from './abi/decodeAbiParameters.js';
17
17
  export { type DecodeErrorResultErrorType, type DecodeErrorResultParameters, type DecodeErrorResultReturnType, decodeErrorResult, } from './abi/decodeErrorResult.js';
18
18
  export { type DecodeEventLogErrorType, type DecodeEventLogParameters, type DecodeEventLogReturnType, decodeEventLog, } from './abi/decodeEventLog.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../utils/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,gBAAgB,EACrB,YAAY,GACb,MAAM,mBAAmB,CAAA;AAE1B,OAAO,EACL,KAAK,uBAAuB,EAC5B,WAAW;AACX,qCAAqC;AACrC,WAAW,IAAI,SAAS,EACxB,cAAc,EACd,qBAAqB,EACrB,uBAAuB,GACxB,MAAM,WAAW,CAAA;AAElB,OAAO,EACL,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EACjC,kBAAkB,GACnB,MAAM,+BAA+B,CAAA;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AACpD,OAAO,EACL,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,YAAY,GACb,MAAM,yBAAyB,CAAA;AAChC,OAAO,EACL,KAAK,gCAAgC,EACrC,uBAAuB,GACxB,MAAM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,KAAK,oBAAoB,EACzB,WAAW,GACZ,MAAM,4BAA4B,CAAA;AACnC,OAAO,EACL,KAAK,qCAAqC,EAC1C,KAAK,4BAA4B,EACjC,4BAA4B,GAC7B,MAAM,+CAA+C,CAAA;AACtD,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,kBAAkB,EACvB,kBAAkB,GACnB,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EACL,KAAK,sBAAsB,EAC3B,aAAa,GACd,MAAM,gCAAgC,CAAA;AACvC,OAAO,EACL,KAAK,iCAAiC,EACtC,KAAK,iCAAiC,EACtC,KAAK,gCAAgC,EACrC,wBAAwB,EACxB,wBAAwB,EACxB,uBAAuB,GACxB,MAAM,oCAAoC,CAAA;AAC3C,OAAO,EACL,KAAK,yBAAyB,EAC9B,gBAAgB,GACjB,MAAM,mCAAmC,CAAA;AAC1C,OAAO,EACL,oBAAoB,EACpB,KAAK,6BAA6B,EAClC,KAAK,sBAAsB,GAC5B,MAAM,uCAAuC,CAAA;AAC9C,OAAO,EACL,KAAK,4BAA4B,EACjC,mBAAmB,GACpB,MAAM,sCAAsC,CAAA;AAC7C,OAAO,EAAE,KAAK,oBAAoB,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAC9E,OAAO,EAAE,KAAK,mBAAmB,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAC3E,OAAO,EAAE,KAAK,oBAAoB,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAC9E,OAAO,EAAE,KAAK,mBAAmB,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAC3E,OAAO,EAAE,KAAK,mBAAmB,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAC3E,OAAO,EAAE,KAAK,kBAAkB,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA"}
@@ -3,10 +3,12 @@ import type { MaybePromise } from '../types/utils.js';
3
3
  type Callback = ((...args: any[]) => any) | undefined;
4
4
  type Callbacks = Record<string, Callback>;
5
5
  export type ObserveErrorType = ErrorType;
6
+ /** @internal */
6
7
  export declare const listenersCache: Map<string, {
7
8
  id: number;
8
9
  fns: Callbacks;
9
10
  }[]>;
11
+ /** @internal */
10
12
  export declare const cleanupCache: Map<string, () => void>;
11
13
  type EmitFunction<TCallbacks extends Callbacks> = (emit: TCallbacks) => MaybePromise<void | (() => void)>;
12
14
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"observe.d.ts","sourceRoot":"","sources":["../../utils/observe.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAErD,KAAK,QAAQ,GAAG,CAAC,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAC,GAAG,SAAS,CAAA;AACrD,KAAK,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAA;AAEzC,MAAM,MAAM,gBAAgB,GAAG,SAAS,CAAA;AAExC,eAAO,MAAM,cAAc;QAEnB,MAAM;SAAO,SAAS;IAC3B,CAAA;AACH,eAAO,MAAM,YAAY,oBAAuC,IAAI,CAAG,CAAA;AAEvE,KAAK,YAAY,CAAC,UAAU,SAAS,SAAS,IAAI,CAChD,IAAI,EAAE,UAAU,KACb,YAAY,CAAC,IAAI,GAAG,CAAC,MAAM,IAAI,CAAC,CAAC,CAAA;AAItC;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,UAAU,SAAS,SAAS,EAClD,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,UAAU,EACrB,EAAE,EAAE,YAAY,CAAC,UAAU,CAAC,cA2C7B"}
1
+ {"version":3,"file":"observe.d.ts","sourceRoot":"","sources":["../../utils/observe.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAErD,KAAK,QAAQ,GAAG,CAAC,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAC,GAAG,SAAS,CAAA;AACrD,KAAK,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAA;AAEzC,MAAM,MAAM,gBAAgB,GAAG,SAAS,CAAA;AAExC,gBAAgB;AAChB,eAAO,MAAM,cAAc;QAEnB,MAAM;SAAO,SAAS;IAC3B,CAAA;AACH,gBAAgB;AAChB,eAAO,MAAM,YAAY,oBAAuC,IAAI,CAAG,CAAA;AAEvE,KAAK,YAAY,CAAC,UAAU,SAAS,SAAS,IAAI,CAChD,IAAI,EAAE,UAAU,KACb,YAAY,CAAC,IAAI,GAAG,CAAC,MAAM,IAAI,CAAC,CAAC,CAAA;AAItC;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,UAAU,SAAS,SAAS,EAClD,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,UAAU,EACrB,EAAE,EAAE,YAAY,CAAC,UAAU,CAAC,cA2C7B"}
@@ -4,18 +4,19 @@ type Resolved<TReturnType extends readonly unknown[] = any> = [
4
4
  results: TReturnType
5
5
  ];
6
6
  type BatchResultsCompareFn<TResult = unknown> = (a: TResult, b: TResult) => number;
7
- export type CreateBatchSchedulerArguments<TParameters = unknown, TReturnType extends readonly unknown[] = readonly unknown[]> = {
7
+ type CreateBatchSchedulerArguments<TParameters = unknown, TReturnType extends readonly unknown[] = readonly unknown[]> = {
8
8
  fn: (args: TParameters[]) => Promise<TReturnType>;
9
9
  id: number | string;
10
10
  shouldSplitBatch?: ((args: TParameters[]) => boolean) | undefined;
11
11
  wait?: number | undefined;
12
12
  sort?: BatchResultsCompareFn<TReturnType[number]> | undefined;
13
13
  };
14
- export type CreateBatchSchedulerReturnType<TParameters = unknown, TReturnType extends readonly unknown[] = readonly unknown[]> = {
14
+ type CreateBatchSchedulerReturnType<TParameters = unknown, TReturnType extends readonly unknown[] = readonly unknown[]> = {
15
15
  flush: () => void;
16
16
  schedule: TParameters extends undefined ? (args?: TParameters | undefined) => Promise<Resolved<TReturnType>> : (args: TParameters) => Promise<Resolved<TReturnType>>;
17
17
  };
18
18
  export type CreateBatchSchedulerErrorType = ErrorType;
19
+ /** @internal */
19
20
  export declare function createBatchScheduler<TParameters, TReturnType extends readonly unknown[]>({ fn, id, shouldSplitBatch, wait, sort, }: CreateBatchSchedulerArguments<TParameters, TReturnType>): CreateBatchSchedulerReturnType<TParameters, TReturnType>;
20
21
  export {};
21
22
  //# sourceMappingURL=createBatchScheduler.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createBatchScheduler.d.ts","sourceRoot":"","sources":["../../../utils/promise/createBatchScheduler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEtD,KAAK,QAAQ,CAAC,WAAW,SAAS,SAAS,OAAO,EAAE,GAAG,GAAG,IAAI;IAC5D,MAAM,EAAE,WAAW,CAAC,MAAM,CAAC;IAC3B,OAAO,EAAE,WAAW;CACrB,CAAA;AASD,KAAK,qBAAqB,CAAC,OAAO,GAAG,OAAO,IAAI,CAC9C,CAAC,EAAE,OAAO,EACV,CAAC,EAAE,OAAO,KACP,MAAM,CAAA;AAEX,MAAM,MAAM,6BAA6B,CACvC,WAAW,GAAG,OAAO,EACrB,WAAW,SAAS,SAAS,OAAO,EAAE,GAAG,SAAS,OAAO,EAAE,IACzD;IACF,EAAE,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,OAAO,CAAC,WAAW,CAAC,CAAA;IACjD,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;IACnB,gBAAgB,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,OAAO,CAAC,GAAG,SAAS,CAAA;IACjE,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB,IAAI,CAAC,EAAE,qBAAqB,CAAC,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AAS,OAAO,EAAE,IACzD;IACF,EAAE,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,OAAO,CAAC,WAAW,CAAC,CAAA;IACjD,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;IACnB,gBAAgB,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,OAAO,CAAC,GAAG,SAAS,CAAA;IACjE,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB,IAAI,CAAC,EAAE,qBAAqB,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,GAAG,SAAS,CAAA;CAC9D,CAAA;AAED,KAAK,8BAA8B,CACjC,WAAW,GAAG,OAAO,EACrB,WAAW,SAAS,SAAS,OAAO,EAAE,GAAG,SAAS,OAAO,EAAE,IACzD;IACF,KAAK,EAAE,MAAM,IAAI,CAAA;IACjB,QAAQ,EAAE,WAAW,SAAS,SAAS,GACnC,CAAC,IAAI,CAAC,EAAE,WAAW,GAAG,SAAS,KAAK,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,GAClE,CAAC,IAAI,EAAE,WAAW,KAAK,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,CAAA;CAC1D,CAAA;AAED,MAAM,MAAM,6BAA6B,GAAG,SAAS,CAAA;AAIrD,gBAAgB;AAChB,wBAAgB,oBAAoB,CAClC,WAAW,EACX,WAAW,SAAS,SAAS,OAAO,EAAE,EACtC,EACA,EAAE,EACF,EAAE,EACF,gBAAgB,EAChB,IAAQ,EACR,IAAI,GACL,EAAE,6BAA6B,CAC9B,WAAW,EACX,WAAW,CACZ,GAAG,8BAA8B,CAAC,WAAW,EAAE,WAAW,CAAC,CA2D3D"}
@@ -1,5 +1,7 @@
1
1
  import type { ErrorType } from '../../errors/utils.js';
2
+ /** @internal */
2
3
  export declare const promiseCache: Map<any, any>;
4
+ /** @internal */
3
5
  export declare const responseCache: Map<any, any>;
4
6
  export type GetCacheErrorType = ErrorType;
5
7
  export declare function getCache<TData>(cacheKey: string): {
@@ -24,7 +26,7 @@ export declare function getCache<TData>(cacheKey: string): {
24
26
  }>;
25
27
  };
26
28
  };
27
- export type WithCacheParameters = {
29
+ type WithCacheParameters = {
28
30
  /** The key to cache the data against. */
29
31
  cacheKey: string;
30
32
  /** The time that cached data will remain in memory. Default: Infinity (no expiry) */
@@ -35,4 +37,5 @@ export type WithCacheParameters = {
35
37
  * subsequent invocations against a provided cache key.
36
38
  */
37
39
  export declare function withCache<TData>(fn: () => Promise<TData>, { cacheKey, cacheTime }: WithCacheParameters): Promise<TData>;
40
+ export {};
38
41
  //# sourceMappingURL=withCache.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"withCache.d.ts","sourceRoot":"","sources":["../../../utils/promise/withCache.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEtD,eAAO,MAAM,YAAY,eAA0B,CAAA;AACnD,eAAO,MAAM,aAAa,eAA0B,CAAA;AAEpD,MAAM,MAAM,iBAAiB,GAAG,SAAS,CAAA;AAEzC,wBAAgB,QAAQ,CAAC,KAAK,EAAE,QAAQ,EAAE,MAAM;;;;;;;;;;qBAQP,IAAI;kBAAQ,KAAK;;;qBAAjB,IAAI;kBAAQ,KAAK;;qBAAjB,IAAI;kBAAQ,KAAK;;;EAazD;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,yCAAyC;IACzC,QAAQ,EAAE,MAAM,CAAA;IAChB,qFAAqF;IACrF,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAC/B,CAAA;AAED;;;GAGG;AACH,wBAAsB,SAAS,CAAC,KAAK,EACnC,EAAE,EAAE,MAAM,OAAO,CAAC,KAAK,CAAC,EACxB,EAAE,QAAQ,EAAE,SAAoC,EAAE,EAAE,mBAAmB,kBAmCxE"}
1
+ {"version":3,"file":"withCache.d.ts","sourceRoot":"","sources":["../../../utils/promise/withCache.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEtD,gBAAgB;AAChB,eAAO,MAAM,YAAY,eAA0B,CAAA;AACnD,gBAAgB;AAChB,eAAO,MAAM,aAAa,eAA0B,CAAA;AAEpD,MAAM,MAAM,iBAAiB,GAAG,SAAS,CAAA;AAEzC,wBAAgB,QAAQ,CAAC,KAAK,EAAE,QAAQ,EAAE,MAAM;;;;;;;;;;qBAQP,IAAI;kBAAQ,KAAK;;;qBAAjB,IAAI;kBAAQ,KAAK;;qBAAjB,IAAI;kBAAQ,KAAK;;;EAazD;AAED,KAAK,mBAAmB,GAAG;IACzB,yCAAyC;IACzC,QAAQ,EAAE,MAAM,CAAA;IAChB,qFAAqF;IACrF,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAC/B,CAAA;AAED;;;GAGG;AACH,wBAAsB,SAAS,CAAC,KAAK,EACnC,EAAE,EAAE,MAAM,OAAO,CAAC,KAAK,CAAC,EACxB,EAAE,QAAQ,EAAE,SAAoC,EAAE,EAAE,mBAAmB,kBAmCxE"}
@@ -1,8 +1,3 @@
1
- export declare function createIdStore(): {
2
- current: number;
3
- take(): number;
4
- reset(): void;
5
- };
6
1
  export declare const idCache: {
7
2
  current: number;
8
3
  take(): number;
@@ -1 +1 @@
1
- {"version":3,"file":"id.d.ts","sourceRoot":"","sources":["../../../utils/rpc/id.ts"],"names":[],"mappings":"AAAA,wBAAgB,aAAa;;;;EAU5B;AAED,eAAO,MAAM,OAAO;;;;CAAgC,CAAA"}
1
+ {"version":3,"file":"id.d.ts","sourceRoot":"","sources":["../../../utils/rpc/id.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,OAAO;;;;CAAgC,CAAA"}
@@ -3,6 +3,7 @@
3
3
  import { type Socket as NetSocket } from 'node:net';
4
4
  import { type GetSocketRpcClientParameters, type SocketRpcClient } from './socket.js';
5
5
  export type GetIpcRpcClientOptions = Pick<GetSocketRpcClientParameters, 'reconnect'>;
6
+ /** @internal */
6
7
  export declare function extractMessages(buffer: Buffer): [Buffer[], Buffer];
7
8
  export type IpcRpcClient = SocketRpcClient<NetSocket>;
8
9
  export declare function getIpcRpcClient(path: string, options?: GetIpcRpcClientOptions): Promise<IpcRpcClient>;
@@ -1 +1 @@
1
- {"version":3,"file":"ipc.d.ts","sourceRoot":"","sources":["../../../utils/rpc/ipc.ts"],"names":[],"mappings":";;AAAA,OAAO,EAAE,KAAK,MAAM,IAAI,SAAS,EAAW,MAAM,UAAU,CAAA;AAE5D,OAAO,EACL,KAAK,4BAA4B,EAEjC,KAAK,eAAe,EAErB,MAAM,aAAa,CAAA;AAEpB,MAAM,MAAM,sBAAsB,GAAG,IAAI,CACvC,4BAA4B,EAC5B,WAAW,CACZ,CAAA;AAKD,wBAAgB,eAAe,CAAC,MAAM,EAAE,MAAM,GAAG,CAAC,MAAM,EAAE,EAAE,MAAM,CAAC,CAoBlE;AAED,MAAM,MAAM,YAAY,GAAG,eAAe,CAAC,SAAS,CAAC,CAAA;AAErD,wBAAsB,eAAe,CACnC,IAAI,EAAE,MAAM,EACZ,OAAO,GAAE,sBAA2B,GACnC,OAAO,CAAC,YAAY,CAAC,CA4DvB"}
1
+ {"version":3,"file":"ipc.d.ts","sourceRoot":"","sources":["../../../utils/rpc/ipc.ts"],"names":[],"mappings":";;AAAA,OAAO,EAAE,KAAK,MAAM,IAAI,SAAS,EAAW,MAAM,UAAU,CAAA;AAE5D,OAAO,EACL,KAAK,4BAA4B,EAEjC,KAAK,eAAe,EAErB,MAAM,aAAa,CAAA;AAEpB,MAAM,MAAM,sBAAsB,GAAG,IAAI,CACvC,4BAA4B,EAC5B,WAAW,CACZ,CAAA;AAKD,gBAAgB;AAChB,wBAAgB,eAAe,CAAC,MAAM,EAAE,MAAM,GAAG,CAAC,MAAM,EAAE,EAAE,MAAM,CAAC,CAoBlE;AAED,MAAM,MAAM,YAAY,GAAG,eAAe,CAAC,SAAS,CAAC,CAAA;AAErD,wBAAsB,eAAe,CACnC,IAAI,EAAE,MAAM,EACZ,OAAO,GAAE,sBAA2B,GACnC,OAAO,CAAC,YAAY,CAAC,CA4DvB"}
@@ -4,13 +4,17 @@ import { type AccountStateConflictErrorType, type StateAssignmentConflictErrorTy
4
4
  import type { RpcAccountStateOverride, RpcStateMapping, RpcStateOverride } from '../types/rpc.js';
5
5
  import type { StateMapping, StateOverride } from '../types/stateOverride.js';
6
6
  import { type NumberToHexErrorType } from './encoding/toHex.js';
7
- export type SerializeStateMappingParameters = StateMapping | undefined;
8
- export type SerializeStateMappingErrorType = InvalidBytesLengthErrorType;
7
+ type SerializeStateMappingParameters = StateMapping | undefined;
8
+ type SerializeStateMappingErrorType = InvalidBytesLengthErrorType;
9
+ /** @internal */
9
10
  export declare function serializeStateMapping(stateMapping: SerializeStateMappingParameters): RpcStateMapping | undefined;
10
- export type SerializeAccountStateOverrideParameters = Omit<StateOverride[number], 'address'>;
11
- export type SerializeAccountStateOverrideErrorType = NumberToHexErrorType | StateAssignmentConflictErrorType | SerializeStateMappingErrorType;
11
+ type SerializeAccountStateOverrideParameters = Omit<StateOverride[number], 'address'>;
12
+ type SerializeAccountStateOverrideErrorType = NumberToHexErrorType | StateAssignmentConflictErrorType | SerializeStateMappingErrorType;
13
+ /** @internal */
12
14
  export declare function serializeAccountStateOverride(parameters: SerializeAccountStateOverrideParameters): RpcAccountStateOverride;
13
- export type SerializeStateOverrideParameters = StateOverride | undefined;
15
+ type SerializeStateOverrideParameters = StateOverride | undefined;
14
16
  export type SerializeStateOverrideErrorType = InvalidAddressErrorType | AccountStateConflictErrorType | SerializeAccountStateOverrideErrorType;
17
+ /** @internal */
15
18
  export declare function serializeStateOverride(parameters?: SerializeStateOverrideParameters): RpcStateOverride | undefined;
19
+ export {};
16
20
  //# sourceMappingURL=stateOverride.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"stateOverride.d.ts","sourceRoot":"","sources":["../../utils/stateOverride.ts"],"names":[],"mappings":"AAAA,OAAO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AAM,mBAAmB,CAAA;AAC1B,OAAO,EAEL,KAAK,6BAA6B,EAElC,KAAK,gCAAgC,EACtC,MAAM,4BAA4B,CAAA;AACnC,OAAO,KAAK,EACV,uBAAuB,EACvB,eAAe,EACf,gBAAgB,EACjB,MAAM,iBAAiB,CAAA;AACxB,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAE5E,OAAO,EAAE,KAAK,oBAAoB,EAAe,MAAM,qBAAqB,CAAA;AAE5E,KAAK,+BAA+B,GAAG,YAAY,GAAG,SAAS,CAAA;AAE/D,KAAK,8BAA8B,GAAG,2BAA2B,CAAA;AAEjE,gBAAgB;AAChB,wBAAgB,qBAAqB,CACnC,YAAY,EAAE,+BAA+B,GAC5C,eAAe,GAAG,SAAS,CAkB7B;AAED,KAAK,uCAAuC,GAAG,IAAI,CACjD,aAAa,CAAC,MAAM,CAAC,EACrB,SAAS,CACV,CAAA;AAED,KAAK,sCAAsC,GACvC,oBAAoB,GACpB,gCAAgC,GAChC,8BAA8B,CAAA;AAElC,gBAAgB;AAChB,wBAAgB,6BAA6B,CAC3C,UAAU,EAAE,uCAAuC,GAClD,uBAAuB,CAczB;AAED,KAAK,gCAAgC,GAAG,aAAa,GAAG,SAAS,CAAA;AAEjE,MAAM,MAAM,+BAA+B,GACvC,uBAAuB,GACvB,6BAA6B,GAC7B,sCAAsC,CAAA;AAE1C,gBAAgB;AAChB,wBAAgB,sBAAsB,CACpC,UAAU,CAAC,EAAE,gCAAgC,GAC5C,gBAAgB,GAAG,SAAS,CAW9B"}
@@ -15,13 +15,13 @@ import { type GetSerializedTransactionType, type GetSerializedTransactionTypeErr
15
15
  export type ParseTransactionReturnType<TSerialized extends TransactionSerializedGeneric = TransactionSerialized, TType extends TransactionType = GetSerializedTransactionType<TSerialized>> = IsNarrowable<TSerialized, Hex> extends true ? (TType extends 'eip1559' ? TransactionSerializableEIP1559 : never) | (TType extends 'eip2930' ? TransactionSerializableEIP2930 : never) | (TType extends 'eip4844' ? TransactionSerializableEIP4844 : never) | (TType extends 'legacy' ? TransactionSerializableLegacy : never) : TransactionSerializable;
16
16
  export type ParseTransactionErrorType = GetSerializedTransactionTypeErrorType | ParseTransactionEIP1559ErrorType | ParseTransactionEIP2930ErrorType | ParseTransactionEIP4844ErrorType | ParseTransactionLegacyErrorType;
17
17
  export declare function parseTransaction<const TSerialized extends TransactionSerializedGeneric>(serializedTransaction: TSerialized): ParseTransactionReturnType<TSerialized>;
18
- type ParseTransactionEIP4844ErrorType = AssertTransactionEIP4844ErrorType | ToTransactionArrayErrorType | HexToBigIntErrorType | HexToNumberErrorType | InvalidLegacyVErrorType | InvalidSerializedTransactionErrorType | IsHexErrorType | ParseEIP155SignatureErrorType | ErrorType;
19
- type ParseTransactionEIP1559ErrorType = AssertTransactionEIP1559ErrorType | ToTransactionArrayErrorType | HexToBigIntErrorType | HexToNumberErrorType | InvalidLegacyVErrorType | InvalidSerializedTransactionErrorType | IsHexErrorType | ParseEIP155SignatureErrorType | ErrorType;
20
- type ParseTransactionEIP2930ErrorType = AssertTransactionEIP2930ErrorType | ToTransactionArrayErrorType | HexToBigIntErrorType | HexToNumberErrorType | InvalidLegacyVErrorType | InvalidSerializedTransactionErrorType | IsHexErrorType | ParseEIP155SignatureErrorType | ErrorType;
18
+ type ParseTransactionEIP4844ErrorType = ToTransactionArrayErrorType | AssertTransactionEIP4844ErrorType | ToTransactionArrayErrorType | HexToBigIntErrorType | HexToNumberErrorType | InvalidLegacyVErrorType | InvalidSerializedTransactionErrorType | IsHexErrorType | ParseEIP155SignatureErrorType | ErrorType;
19
+ type ParseTransactionEIP1559ErrorType = ToTransactionArrayErrorType | AssertTransactionEIP1559ErrorType | ToTransactionArrayErrorType | HexToBigIntErrorType | HexToNumberErrorType | InvalidLegacyVErrorType | InvalidSerializedTransactionErrorType | IsHexErrorType | ParseEIP155SignatureErrorType | ParseAccessListErrorType | ErrorType;
20
+ type ParseTransactionEIP2930ErrorType = ToTransactionArrayErrorType | AssertTransactionEIP2930ErrorType | ToTransactionArrayErrorType | HexToBigIntErrorType | HexToNumberErrorType | InvalidLegacyVErrorType | InvalidSerializedTransactionErrorType | IsHexErrorType | ParseEIP155SignatureErrorType | ParseAccessListErrorType | ErrorType;
21
21
  type ParseTransactionLegacyErrorType = AssertTransactionLegacyErrorType | FromRlpErrorType | HexToBigIntErrorType | HexToNumberErrorType | InvalidLegacyVErrorType | InvalidSerializedTransactionErrorType | IsHexErrorType | ErrorType;
22
- export type ToTransactionArrayErrorType = FromRlpErrorType | ErrorType;
22
+ type ToTransactionArrayErrorType = FromRlpErrorType | ErrorType;
23
23
  export declare function toTransactionArray(serializedTransaction: string): import("../encoding/fromRlp.js").FromRlpReturnType<"hex">;
24
- export type ParseAccessListErrorType = InvalidAddressErrorType | IsAddressErrorType | ErrorType;
24
+ type ParseAccessListErrorType = InvalidAddressErrorType | IsAddressErrorType | ErrorType;
25
25
  export declare function parseAccessList(accessList_: RecursiveArray<Hex>): AccessList;
26
26
  type ParseEIP155SignatureErrorType = HexToBigIntErrorType | PadHexErrorType | ErrorType;
27
27
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"parseTransaction.d.ts","sourceRoot":"","sources":["../../../utils/transaction/parseTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,yBAAyB,CAAA;AAChC,OAAO,EAEL,KAAK,uBAAuB,EAE5B,KAAK,qCAAqC,EAC3C,MAAM,6BAA6B,CAAA;AACpC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,GAAG,EAAa,MAAM,qBAAqB,CAAA;AACzD,OAAO,KAAK,EACV,UAAU,EAGV,uBAAuB,EACvB,8BAA8B,EAC9B,8BAA8B,EAC9B,8BAA8B,EAC9B,6BAA6B,EAC7B,qBAAqB,EAIrB,4BAA4B,EAC5B,eAAe,EAChB,MAAM,4BAA4B,CAAA;AACnC,OA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AS,4BAA4B,EACtD,qBAAqB,EAAE,WAAW,GAAG,0BAA0B,CAAC,WAAW,CAAC,CAqB7E;AAED,KAAK,gCAAgC,GACjC,iCAAiC,GACjC,2BAA2B,GAC3B,oBAAoB,GACpB,oBAAoB,GACpB,uBAAuB,GACvB,qCAAqC,GACrC,cAAc,GACd,6BAA6B,GAC7B,SAAS,CAAA;AA6Fb,KAAK,gCAAgC,GACjC,iCAAiC,GACjC,2BAA2B,GAC3B,oBAAoB,GACpB,oBAAoB,GACpB,uBAAuB,GACvB,qCAAqC,GACrC,cAAc,GACd,6BAA6B,GAC7B,SAAS,CAAA;AAwEb,KAAK,gCAAgC,GACjC,iCAAiC,GACjC,2BAA2B,GAC3B,oBAAoB,GACpB,oBAAoB,GACpB,uBAAuB,GACvB,qCAAqC,GACrC,cAAc,GACd,6BAA6B,GAC7B,SAAS,CAAA;AA0Db,KAAK,+BAA+B,GAChC,gCAAgC,GAChC,gBAAgB,GAChB,oBAAoB,GACpB,oBAAoB,GACpB,uBAAuB,GACvB,qCAAqC,GACrC,cAAc,GACd,SAAS,CAAA;AAuEb,MAAM,MAAM,2BAA2B,GAAG,gBAAgB,GAAG,SAAS,CAAA;AAEtE,wBAAgB,kBAAkB,CAAC,qBAAqB,EAAE,MAAM,6DAE/D;AAED,MAAM,MAAM,wBAAwB,GAChC,uBAAuB,GACvB,kBAAkB,GAClB,SAAS,CAAA;AAEb,wBAAgB,eAAe,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,CAAC,GAAG,UAAU,CAc5E;AAED,KAAK,6BAA6B,GAC9B,oBAAoB,GACpB,eAAe,GACf,SAAS,CAAA"}
1
+ {"version":3,"file":"parseTransaction.d.ts","sourceRoot":"","sources":["../../../utils/transaction/parseTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,yBAAyB,CAAA;AAChC,OAAO,EAEL,KAAK,uBAAuB,EAE5B,KAAK,qCAAqC,EAC3C,MAAM,6B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AS,CAAA;AAEb,wBAAgB,eAAe,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,CAAC,GAAG,UAAU,CAc5E;AAED,KAAK,6BAA6B,GAC9B,oBAAoB,GACpB,eAAe,GACf,SAAS,CAAA"}
@@ -8,6 +8,7 @@ import type { ContractConstructorArgs } from '../../types/contract.js';
8
8
  import type { Hash, Hex } from '../../types/misc.js';
9
9
  import type { ChainEIP712 } from '../types/chain.js';
10
10
  import type { ContractDeploymentType } from '../types/contract.js';
11
+ import { type EncodeDeployDataErrorType } from '../utils/abi/encodeDeployData.js';
11
12
  import { type SendEip712TransactionErrorType, type SendEip712TransactionReturnType } from './sendEip712Transaction.js';
12
13
  export type DeployContractParameters<abi extends Abi | readonly unknown[] = Abi, chain extends ChainEIP712 | undefined = ChainEIP712 | undefined, account extends Account | undefined = Account | undefined, chainOverride extends ChainEIP712 | undefined = ChainEIP712 | undefined, allArgs = ContractConstructorArgs<abi>> = DeployContractParameters_<abi, chain, account, chainOverride, allArgs> & {
13
14
  deploymentType?: ContractDeploymentType;
@@ -15,7 +16,7 @@ export type DeployContractParameters<abi extends Abi | readonly unknown[] = Abi,
15
16
  salt?: Hash;
16
17
  };
17
18
  export type DeployContractReturnType = SendEip712TransactionReturnType;
18
- export type DeployContractErrorType = SendEip712TransactionErrorType | ErrorType;
19
+ export type DeployContractErrorType = EncodeDeployDataErrorType | SendEip712TransactionErrorType | ErrorType;
19
20
  /**
20
21
  * Deploys a contract to the network, given bytecode and constructor arguments using EIP712 transaction.
21
22
  *
@@ -1 +1 @@
1
- {"version":3,"file":"deployContract.d.ts","sourceRoot":"","sources":["../../../zksync/actions/deployContract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,SAAS,CAAA;AAElC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AACtD,OAAO,KAAK,EAAE,wBAAwB,IAAI,yBAAyB,EAAE,MAAM,wCAAwC,CAAA;AACnH,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S,OAAO,GAAG,SAAS,EAEpC,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,qBAAqB,CAAC,EAClE,UAAU,EAAE,wBAAwB,CAAC,QAAQ,CAAC,GAC7C,OAAO,CAAC,wBAAwB,CAAC,CAWnC"}
1
+ {"version":3,"file":"getAllBalances.d.ts","sourceRoot":"","sources":["../../../zksync/actions/getAllBalances.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAEtC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,KAAK,EAAE,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AAC1E,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AAEjD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAA;AAEhE,MAAM,MAAM,wBAAwB,CAClC,QAAQ,SAAS,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,IACxD,mBAAmB,CAAC,QAAQ,CAAC,CAAA;AAEjC,MAAM,MAAM,wBAAwB,GAAG;IAAE,CAAC,GAAG,EAAE,OAAO,GAAG,MAAM,CAAA;CAAE,CAAA;AAEjE,wBAAsB,cAAc,CAClC,MAAM,SAAS,KAAK,GAAG,SAAS,EAChC,QAAQ,SAAS,OAAO,GAAG,SAAS,EAEpC,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,qBAAqB,CAAC,EAClE,UAAU,EAAE,wBAAwB,CAAC,QAAQ,CAAC,GAC7C,OAAO,CAAC,wBAAwB,CAAC,CAWnC"}
@@ -1 +1 @@
1
- {"version":3,"file":"getL1Allowance.d.ts","sourceRoot":"","sources":["../../../zksync/actions/getL1Allowance.ts"],"names":[],"mappings":"AAA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,CAAC,EAC3C,GAAG,CAAC,UAAe,CAAC,EAAE,QAAQ,SAAS,SAAS,GAC5C,CAAC,sBAAsB,CAAC,QAAQ,CAAC,CAAC,GAClC,CAAC,sBAAsB,CAAC,QAAQ,CAAC,CAAC,GAAG,EAAE,GAC1C,OAAO,CAAC,sBAAsB,CAAC,CAoBjC"}
@@ -1,12 +1,12 @@
1
1
  import type { Address } from '../../accounts/index.js';
2
2
  import type { Client } from '../../clients/createClient.js';
3
3
  import type { Transport } from '../../clients/transports/createTransport.js';
4
- import type { AccountNotFoundError } from '../../errors/account.js';
5
- import type { BaseError } from '../../errors/base.js';
4
+ import type { AccountNotFoundErrorType } from '../../errors/account.js';
5
+ import type { BaseErrorType } from '../../errors/base.js';
6
6
  import type { Account, GetAccountParameter } from '../../types/account.js';
7
7
  import type { BlockTag } from '../../types/block.js';
8
8
  import type { Chain } from '../../types/chain.js';
9
- import { TokenIsEthError } from '../errors/token-is-eth.js';
9
+ import { type TokenIsEthErrorType } from '../errors/token-is-eth.js';
10
10
  export type GetL1TokenBalanceParameters<TAccount extends Account | undefined = Account | undefined> = GetAccountParameter<TAccount> & {
11
11
  token: Address;
12
12
  } & ({
@@ -19,6 +19,6 @@ export type GetL1TokenBalanceParameters<TAccount extends Account | undefined = A
19
19
  blockTag?: BlockTag | undefined;
20
20
  });
21
21
  export type GetL1TokenBalanceReturnType = bigint;
22
- export type GetL1TokenBalanceErrorType = AccountNotFoundError | BaseError | TokenIsEthError;
22
+ export type GetL1TokenBalanceErrorType = AccountNotFoundErrorType | TokenIsEthErrorType | BaseErrorType;
23
23
  export declare function getL1TokenBalance<TChain extends Chain | undefined, TAccount extends Account | undefined>(client: Client<Transport, TChain, TAccount>, parameters: GetL1TokenBalanceParameters<TAccount>): Promise<GetL1TokenBalanceReturnType>;
24
24
  //# sourceMappingURL=getL1TokenBalance.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getL1TokenBalance.d.ts","sourceRoot":"","sources":["../../../zksync/actions/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