viem 1.10.10 → 1.10.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (933) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/_cjs/{abi.js → abi/index.js} +9 -9
  3. package/_cjs/abi/index.js.map +1 -0
  4. package/_cjs/chains/{utils.js → utils/index.js} +5 -5
  5. package/_cjs/chains/utils/index.js.map +1 -0
  6. package/_cjs/{contract.js → contract/index.js} +25 -25
  7. package/_cjs/contract/index.js.map +1 -0
  8. package/_cjs/{ens.js → ens/index.js} +9 -9
  9. package/_cjs/ens/index.js.map +1 -0
  10. package/_cjs/errors/node.js +11 -11
  11. package/_cjs/errors/node.js.map +1 -1
  12. package/_cjs/errors/rpc.js +18 -18
  13. package/_cjs/errors/rpc.js.map +1 -1
  14. package/_cjs/errors/version.js +1 -1
  15. package/_cjs/{public.js → public/index.js} +29 -29
  16. package/_cjs/public/index.js.map +1 -0
  17. package/_cjs/{test.js → test/index.js} +29 -29
  18. package/_cjs/test/index.js.map +1 -0
  19. package/_cjs/{wallet.js → wallet/index.js} +11 -11
  20. package/_cjs/wallet/index.js.map +1 -0
  21. package/_cjs/{window.js → window/window.js} +1 -1
  22. package/_cjs/window/window.js.map +1 -0
  23. package/_esm/abi/index.js +7 -0
  24. package/_esm/abi/index.js.map +1 -0
  25. package/_esm/chains/utils/index.js +5 -0
  26. package/_esm/chains/utils/index.js.map +1 -0
  27. package/_esm/contract/index.js +26 -0
  28. package/_esm/contract/index.js.map +1 -0
  29. package/_esm/ens/index.js +9 -0
  30. package/_esm/ens/index.js.map +1 -0
  31. package/_esm/errors/node.js +11 -22
  32. package/_esm/errors/node.js.map +1 -1
  33. package/_esm/errors/rpc.js +18 -36
  34. package/_esm/errors/rpc.js.map +1 -1
  35. package/_esm/errors/version.js +1 -1
  36. package/_esm/public/index.js +30 -0
  37. package/_esm/public/index.js.map +1 -0
  38. package/_esm/test/index.js +30 -0
  39. package/_esm/test/index.js.map +1 -0
  40. package/_esm/wallet/index.js +12 -0
  41. package/_esm/wallet/index.js.map +1 -0
  42. package/_esm/window/window.js +2 -0
  43. package/_esm/window/window.js.map +1 -0
  44. package/_types/abi/index.d.ts +6 -0
  45. package/_types/abi/index.d.ts.map +1 -0
  46. package/_types/accounts/generateMnemonic.d.ts +9 -0
  47. package/_types/accounts/generateMnemonic.d.ts.map +1 -0
  48. package/_types/accounts/generatePrivateKey.d.ts +8 -0
  49. package/_types/accounts/generatePrivateKey.d.ts.map +1 -0
  50. package/_types/accounts/hdKeyToAccount.d.ts +9 -0
  51. package/_types/accounts/hdKeyToAccount.d.ts.map +1 -0
  52. package/_types/accounts/index.d.ts +27 -0
  53. package/_types/accounts/index.d.ts.map +1 -0
  54. package/_types/accounts/mnemonicToAccount.d.ts +8 -0
  55. package/_types/accounts/mnemonicToAccount.d.ts.map +1 -0
  56. package/_types/accounts/privateKeyToAccount.d.ts +9 -0
  57. package/_types/accounts/privateKeyToAccount.d.ts.map +1 -0
  58. package/_types/accounts/toAccount.d.ts +11 -0
  59. package/_types/accounts/toAccount.d.ts.map +1 -0
  60. package/_types/accounts/types.d.ts +52 -0
  61. package/_types/accounts/types.d.ts.map +1 -0
  62. package/_types/accounts/utils/parseAccount.d.ts +4 -0
  63. package/_types/accounts/utils/parseAccount.d.ts.map +1 -0
  64. package/_types/accounts/utils/privateKeyToAddress.d.ts +11 -0
  65. package/_types/accounts/utils/privateKeyToAddress.d.ts.map +1 -0
  66. package/_types/accounts/utils/publicKeyToAddress.d.ts +11 -0
  67. package/_types/accounts/utils/publicKeyToAddress.d.ts.map +1 -0
  68. package/_types/accounts/utils/sign.d.ts +16 -0
  69. package/_types/accounts/utils/sign.d.ts.map +1 -0
  70. package/_types/accounts/utils/signMessage.d.ts +16 -0
  71. package/_types/accounts/utils/signMessage.d.ts.map +1 -0
  72. package/_types/accounts/utils/signTransaction.d.ts +12 -0
  73. package/_types/accounts/utils/signTransaction.d.ts.map +1 -0
  74. package/_types/accounts/utils/signTypedData.d.ts +20 -0
  75. package/_types/accounts/utils/signTypedData.d.ts.map +1 -0
  76. package/_types/actions/ens/getEnsAddress.d.ts +45 -0
  77. package/_types/actions/ens/getEnsAddress.d.ts.map +1 -0
  78. package/_types/actions/ens/getEnsAvatar.d.ts +41 -0
  79. package/_types/actions/ens/getEnsAvatar.d.ts.map +1 -0
  80. package/_types/actions/ens/getEnsName.d.ts +41 -0
  81. package/_types/actions/ens/getEnsName.d.ts.map +1 -0
  82. package/_types/actions/ens/getEnsResolver.d.ts +43 -0
  83. package/_types/actions/ens/getEnsResolver.d.ts.map +1 -0
  84. package/_types/actions/ens/getEnsText.d.ts +46 -0
  85. package/_types/actions/ens/getEnsText.d.ts.map +1 -0
  86. package/_types/actions/getContract.d.ts +314 -0
  87. package/_types/actions/getContract.d.ts.map +1 -0
  88. package/_types/actions/index.d.ts +85 -0
  89. package/_types/actions/index.d.ts.map +1 -0
  90. package/_types/actions/public/call.d.ts +56 -0
  91. package/_types/actions/public/call.d.ts.map +1 -0
  92. package/_types/actions/public/createBlockFilter.d.ts +28 -0
  93. package/_types/actions/public/createBlockFilter.d.ts.map +1 -0
  94. package/_types/actions/public/createContractEventFilter.d.ts +50 -0
  95. package/_types/actions/public/createContractEventFilter.d.ts.map +1 -0
  96. package/_types/actions/public/createEventFilter.d.ts +76 -0
  97. package/_types/actions/public/createEventFilter.d.ts.map +1 -0
  98. package/_types/actions/public/createPendingTransactionFilter.d.ts +28 -0
  99. package/_types/actions/public/createPendingTransactionFilter.d.ts.map +1 -0
  100. package/_types/actions/public/estimateContractGas.d.ts +39 -0
  101. package/_types/actions/public/estimateContractGas.d.ts.map +1 -0
  102. package/_types/actions/public/estimateFeesPerGas.d.ts +48 -0
  103. package/_types/actions/public/estimateFeesPerGas.d.ts.map +1 -0
  104. package/_types/actions/public/estimateGas.d.ts +49 -0
  105. package/_types/actions/public/estimateGas.d.ts.map +1 -0
  106. package/_types/actions/public/estimateMaxPriorityFeePerGas.d.ts +37 -0
  107. package/_types/actions/public/estimateMaxPriorityFeePerGas.d.ts.map +1 -0
  108. package/_types/actions/public/getBalance.d.ts +55 -0
  109. package/_types/actions/public/getBalance.d.ts.map +1 -0
  110. package/_types/actions/public/getBlock.d.ts +56 -0
  111. package/_types/actions/public/getBlock.d.ts.map +1 -0
  112. package/_types/actions/public/getBlockNumber.d.ts +57 -0
  113. package/_types/actions/public/getBlockNumber.d.ts.map +1 -0
  114. package/_types/actions/public/getBlockTransactionCount.d.ts +47 -0
  115. package/_types/actions/public/getBlockTransactionCount.d.ts.map +1 -0
  116. package/_types/actions/public/getBytecode.d.ts +41 -0
  117. package/_types/actions/public/getBytecode.d.ts.map +1 -0
  118. package/_types/actions/public/getChainId.d.ts +28 -0
  119. package/_types/actions/public/getChainId.d.ts.map +1 -0
  120. package/_types/actions/public/getFeeHistory.d.ts +53 -0
  121. package/_types/actions/public/getFeeHistory.d.ts.map +1 -0
  122. package/_types/actions/public/getFilterChanges.d.ts +96 -0
  123. package/_types/actions/public/getFilterChanges.d.ts.map +1 -0
  124. package/_types/actions/public/getFilterLogs.d.ts +40 -0
  125. package/_types/actions/public/getFilterLogs.d.ts.map +1 -0
  126. package/_types/actions/public/getGasPrice.d.ts +27 -0
  127. package/_types/actions/public/getGasPrice.d.ts.map +1 -0
  128. package/_types/actions/public/getLogs.d.ts +71 -0
  129. package/_types/actions/public/getLogs.d.ts.map +1 -0
  130. package/_types/actions/public/getStorageAt.d.ts +43 -0
  131. package/_types/actions/public/getStorageAt.d.ts.map +1 -0
  132. package/_types/actions/public/getTransaction.d.ts +65 -0
  133. package/_types/actions/public/getTransaction.d.ts.map +1 -0
  134. package/_types/actions/public/getTransactionConfirmations.d.ts +41 -0
  135. package/_types/actions/public/getTransactionConfirmations.d.ts.map +1 -0
  136. package/_types/actions/public/getTransactionCount.d.ts +44 -0
  137. package/_types/actions/public/getTransactionCount.d.ts.map +1 -0
  138. package/_types/actions/public/getTransactionReceipt.d.ts +36 -0
  139. package/_types/actions/public/getTransactionReceipt.d.ts.map +1 -0
  140. package/_types/actions/public/multicall.d.ts +56 -0
  141. package/_types/actions/public/multicall.d.ts.map +1 -0
  142. package/_types/actions/public/readContract.d.ts +41 -0
  143. package/_types/actions/public/readContract.d.ts.map +1 -0
  144. package/_types/actions/public/simulateContract.d.ts +54 -0
  145. package/_types/actions/public/simulateContract.d.ts.map +1 -0
  146. package/_types/actions/public/uninstallFilter.d.ts +34 -0
  147. package/_types/actions/public/uninstallFilter.d.ts.map +1 -0
  148. package/_types/actions/public/verifyHash.d.ts +24 -0
  149. package/_types/actions/public/verifyHash.d.ts.map +1 -0
  150. package/_types/actions/public/verifyMessage.d.ts +28 -0
  151. package/_types/actions/public/verifyMessage.d.ts.map +1 -0
  152. package/_types/actions/public/verifyTypedData.d.ts +27 -0
  153. package/_types/actions/public/verifyTypedData.d.ts.map +1 -0
  154. package/_types/actions/public/waitForTransactionReceipt.d.ts +72 -0
  155. package/_types/actions/public/waitForTransactionReceipt.d.ts.map +1 -0
  156. package/_types/actions/public/watchBlockNumber.d.ts +59 -0
  157. package/_types/actions/public/watchBlockNumber.d.ts.map +1 -0
  158. package/_types/actions/public/watchBlocks.d.ts +67 -0
  159. package/_types/actions/public/watchBlocks.d.ts.map +1 -0
  160. package/_types/actions/public/watchContractEvent.d.ts +89 -0
  161. package/_types/actions/public/watchContractEvent.d.ts.map +1 -0
  162. package/_types/actions/public/watchEvent.d.ts +104 -0
  163. package/_types/actions/public/watchEvent.d.ts.map +1 -0
  164. package/_types/actions/public/watchPendingTransactions.d.ts +74 -0
  165. package/_types/actions/public/watchPendingTransactions.d.ts.map +1 -0
  166. package/_types/actions/test/dropTransaction.d.ts +33 -0
  167. package/_types/actions/test/dropTransaction.d.ts.map +1 -0
  168. package/_types/actions/test/getAutomine.d.ts +27 -0
  169. package/_types/actions/test/getAutomine.d.ts.map +1 -0
  170. package/_types/actions/test/getTxpoolContent.d.ts +34 -0
  171. package/_types/actions/test/getTxpoolContent.d.ts.map +1 -0
  172. package/_types/actions/test/getTxpoolStatus.d.ts +30 -0
  173. package/_types/actions/test/getTxpoolStatus.d.ts.map +1 -0
  174. package/_types/actions/test/impersonateAccount.d.ts +33 -0
  175. package/_types/actions/test/impersonateAccount.d.ts.map +1 -0
  176. package/_types/actions/test/increaseTime.d.ts +32 -0
  177. package/_types/actions/test/increaseTime.d.ts.map +1 -0
  178. package/_types/actions/test/inspectTxpool.d.ts +31 -0
  179. package/_types/actions/test/inspectTxpool.d.ts.map +1 -0
  180. package/_types/actions/test/mine.d.ts +32 -0
  181. package/_types/actions/test/mine.d.ts.map +1 -0
  182. package/_types/actions/test/removeBlockTimestampInterval.d.ts +25 -0
  183. package/_types/actions/test/removeBlockTimestampInterval.d.ts.map +1 -0
  184. package/_types/actions/test/reset.d.ts +32 -0
  185. package/_types/actions/test/reset.d.ts.map +1 -0
  186. package/_types/actions/test/revert.d.ts +31 -0
  187. package/_types/actions/test/revert.d.ts.map +1 -0
  188. package/_types/actions/test/sendUnsignedTransaction.d.ts +35 -0
  189. package/_types/actions/test/sendUnsignedTransaction.d.ts.map +1 -0
  190. package/_types/actions/test/setAutomine.d.ts +25 -0
  191. package/_types/actions/test/setAutomine.d.ts.map +1 -0
  192. package/_types/actions/test/setBalance.d.ts +36 -0
  193. package/_types/actions/test/setBalance.d.ts.map +1 -0
  194. package/_types/actions/test/setBlockGasLimit.d.ts +30 -0
  195. package/_types/actions/test/setBlockGasLimit.d.ts.map +1 -0
  196. package/_types/actions/test/setBlockTimestampInterval.d.ts +30 -0
  197. package/_types/actions/test/setBlockTimestampInterval.d.ts.map +1 -0
  198. package/_types/actions/test/setCode.d.ts +37 -0
  199. package/_types/actions/test/setCode.d.ts.map +1 -0
  200. package/_types/actions/test/setCoinbase.d.ts +33 -0
  201. package/_types/actions/test/setCoinbase.d.ts.map +1 -0
  202. package/_types/actions/test/setIntervalMining.d.ts +30 -0
  203. package/_types/actions/test/setIntervalMining.d.ts.map +1 -0
  204. package/_types/actions/test/setLoggingEnabled.d.ts +25 -0
  205. package/_types/actions/test/setLoggingEnabled.d.ts.map +1 -0
  206. package/_types/actions/test/setMinGasPrice.d.ts +34 -0
  207. package/_types/actions/test/setMinGasPrice.d.ts.map +1 -0
  208. package/_types/actions/test/setNextBlockBaseFeePerGas.d.ts +32 -0
  209. package/_types/actions/test/setNextBlockBaseFeePerGas.d.ts.map +1 -0
  210. package/_types/actions/test/setNextBlockTimestamp.d.ts +30 -0
  211. package/_types/actions/test/setNextBlockTimestamp.d.ts.map +1 -0
  212. package/_types/actions/test/setNonce.d.ts +36 -0
  213. package/_types/actions/test/setNonce.d.ts.map +1 -0
  214. package/_types/actions/test/setRpcUrl.d.ts +26 -0
  215. package/_types/actions/test/setRpcUrl.d.ts.map +1 -0
  216. package/_types/actions/test/setStorageAt.d.ts +40 -0
  217. package/_types/actions/test/setStorageAt.d.ts.map +1 -0
  218. package/_types/actions/test/snapshot.d.ts +25 -0
  219. package/_types/actions/test/snapshot.d.ts.map +1 -0
  220. package/_types/actions/test/stopImpersonatingAccount.d.ts +33 -0
  221. package/_types/actions/test/stopImpersonatingAccount.d.ts.map +1 -0
  222. package/_types/actions/wallet/addChain.d.ts +29 -0
  223. package/_types/actions/wallet/addChain.d.ts.map +1 -0
  224. package/_types/actions/wallet/deployContract.d.ts +44 -0
  225. package/_types/actions/wallet/deployContract.d.ts.map +1 -0
  226. package/_types/actions/wallet/getAddresses.d.ts +28 -0
  227. package/_types/actions/wallet/getAddresses.d.ts.map +1 -0
  228. package/_types/actions/wallet/getPermissions.d.ts +28 -0
  229. package/_types/actions/wallet/getPermissions.d.ts.map +1 -0
  230. package/_types/actions/wallet/prepareTransactionRequest.d.ts +52 -0
  231. package/_types/actions/wallet/prepareTransactionRequest.d.ts.map +1 -0
  232. package/_types/actions/wallet/requestAddresses.d.ts +32 -0
  233. package/_types/actions/wallet/requestAddresses.d.ts.map +1 -0
  234. package/_types/actions/wallet/requestPermissions.d.ts +37 -0
  235. package/_types/actions/wallet/requestPermissions.d.ts.map +1 -0
  236. package/_types/actions/wallet/sendRawTransaction.d.ts +38 -0
  237. package/_types/actions/wallet/sendRawTransaction.d.ts.map +1 -0
  238. package/_types/actions/wallet/sendTransaction.d.ts +58 -0
  239. package/_types/actions/wallet/sendTransaction.d.ts.map +1 -0
  240. package/_types/actions/wallet/signMessage.d.ts +58 -0
  241. package/_types/actions/wallet/signMessage.d.ts.map +1 -0
  242. package/_types/actions/wallet/signTransaction.d.ts +55 -0
  243. package/_types/actions/wallet/signTransaction.d.ts.map +1 -0
  244. package/_types/actions/wallet/signTypedData.d.ts +114 -0
  245. package/_types/actions/wallet/signTypedData.d.ts.map +1 -0
  246. package/_types/actions/wallet/switchChain.d.ts +30 -0
  247. package/_types/actions/wallet/switchChain.d.ts.map +1 -0
  248. package/_types/actions/wallet/watchAsset.d.ts +37 -0
  249. package/_types/actions/wallet/watchAsset.d.ts.map +1 -0
  250. package/_types/actions/wallet/writeContract.d.ts +69 -0
  251. package/_types/actions/wallet/writeContract.d.ts.map +1 -0
  252. package/_types/chains/celo/formatters.d.ts +493 -0
  253. package/_types/chains/celo/formatters.d.ts.map +1 -0
  254. package/_types/chains/celo/parsers.d.ts +6 -0
  255. package/_types/chains/celo/parsers.d.ts.map +1 -0
  256. package/_types/chains/celo/serializers.d.ts +9 -0
  257. package/_types/chains/celo/serializers.d.ts.map +1 -0
  258. package/_types/chains/celo/types.d.ts +100 -0
  259. package/_types/chains/celo/types.d.ts.map +1 -0
  260. package/_types/chains/definitions/arbitrum.d.ts +43 -0
  261. package/_types/chains/definitions/arbitrum.d.ts.map +1 -0
  262. package/_types/chains/definitions/arbitrumGoerli.d.ts +44 -0
  263. package/_types/chains/definitions/arbitrumGoerli.d.ts.map +1 -0
  264. package/_types/chains/definitions/arbitrumNova.d.ts +43 -0
  265. package/_types/chains/definitions/arbitrumNova.d.ts.map +1 -0
  266. package/_types/chains/definitions/aurora.d.ts +32 -0
  267. package/_types/chains/definitions/aurora.d.ts.map +1 -0
  268. package/_types/chains/definitions/auroraTestnet.d.ts +33 -0
  269. package/_types/chains/definitions/auroraTestnet.d.ts.map +1 -0
  270. package/_types/chains/definitions/avalanche.d.ts +35 -0
  271. package/_types/chains/definitions/avalanche.d.ts.map +1 -0
  272. package/_types/chains/definitions/avalancheFuji.d.ts +36 -0
  273. package/_types/chains/definitions/avalancheFuji.d.ts.map +1 -0
  274. package/_types/chains/definitions/base.d.ts +338 -0
  275. package/_types/chains/definitions/base.d.ts.map +1 -0
  276. package/_types/chains/definitions/baseGoerli.d.ts +336 -0
  277. package/_types/chains/definitions/baseGoerli.d.ts.map +1 -0
  278. package/_types/chains/definitions/bearNetworkChainMainnet.d.ts +25 -0
  279. package/_types/chains/definitions/bearNetworkChainMainnet.d.ts.map +1 -0
  280. package/_types/chains/definitions/bearNetworkChainTestnet.d.ts +26 -0
  281. package/_types/chains/definitions/bearNetworkChainTestnet.d.ts.map +1 -0
  282. package/_types/chains/definitions/boba.d.ts +35 -0
  283. package/_types/chains/definitions/boba.d.ts.map +1 -0
  284. package/_types/chains/definitions/bronos.d.ts +25 -0
  285. package/_types/chains/definitions/bronos.d.ts.map +1 -0
  286. package/_types/chains/definitions/bronosTestnet.d.ts +26 -0
  287. package/_types/chains/definitions/bronosTestnet.d.ts.map +1 -0
  288. package/_types/chains/definitions/bsc.d.ts +35 -0
  289. package/_types/chains/definitions/bsc.d.ts.map +1 -0
  290. package/_types/chains/definitions/bscTestnet.d.ts +36 -0
  291. package/_types/chains/definitions/bscTestnet.d.ts.map +1 -0
  292. package/_types/chains/definitions/bxn.d.ts +25 -0
  293. package/_types/chains/definitions/bxn.d.ts.map +1 -0
  294. package/_types/chains/definitions/bxnTestnet.d.ts +25 -0
  295. package/_types/chains/definitions/bxnTestnet.d.ts.map +1 -0
  296. package/_types/chains/definitions/canto.d.ts +31 -0
  297. package/_types/chains/definitions/canto.d.ts.map +1 -0
  298. package/_types/chains/definitions/celo.d.ts +528 -0
  299. package/_types/chains/definitions/celo.d.ts.map +1 -0
  300. package/_types/chains/definitions/celoAlfajores.d.ts +528 -0
  301. package/_types/chains/definitions/celoAlfajores.d.ts.map +1 -0
  302. package/_types/chains/definitions/celoCannoli.d.ts +521 -0
  303. package/_types/chains/definitions/celoCannoli.d.ts.map +1 -0
  304. package/_types/chains/definitions/classic.d.ts +25 -0
  305. package/_types/chains/definitions/classic.d.ts.map +1 -0
  306. package/_types/chains/definitions/confluxESpace.d.ts +31 -0
  307. package/_types/chains/definitions/confluxESpace.d.ts.map +1 -0
  308. package/_types/chains/definitions/cronos.d.ts +31 -0
  309. package/_types/chains/definitions/cronos.d.ts.map +1 -0
  310. package/_types/chains/definitions/cronosTestnet.d.ts +32 -0
  311. package/_types/chains/definitions/cronosTestnet.d.ts.map +1 -0
  312. package/_types/chains/definitions/crossbell.d.ts +31 -0
  313. package/_types/chains/definitions/crossbell.d.ts.map +1 -0
  314. package/_types/chains/definitions/dfk.d.ts +29 -0
  315. package/_types/chains/definitions/dfk.d.ts.map +1 -0
  316. package/_types/chains/definitions/dogechain.d.ts +29 -0
  317. package/_types/chains/definitions/dogechain.d.ts.map +1 -0
  318. package/_types/chains/definitions/edgeware.d.ts +35 -0
  319. package/_types/chains/definitions/edgeware.d.ts.map +1 -0
  320. package/_types/chains/definitions/edgewareTestnet.d.ts +29 -0
  321. package/_types/chains/definitions/edgewareTestnet.d.ts.map +1 -0
  322. package/_types/chains/definitions/ekta.d.ts +25 -0
  323. package/_types/chains/definitions/ekta.d.ts.map +1 -0
  324. package/_types/chains/definitions/ektaTestnet.d.ts +26 -0
  325. package/_types/chains/definitions/ektaTestnet.d.ts.map +1 -0
  326. package/_types/chains/definitions/eon.d.ts +26 -0
  327. package/_types/chains/definitions/eon.d.ts.map +1 -0
  328. package/_types/chains/definitions/eos.d.ts +35 -0
  329. package/_types/chains/definitions/eos.d.ts.map +1 -0
  330. package/_types/chains/definitions/eosTestnet.d.ts +36 -0
  331. package/_types/chains/definitions/eosTestnet.d.ts.map +1 -0
  332. package/_types/chains/definitions/evmos.d.ts +25 -0
  333. package/_types/chains/definitions/evmos.d.ts.map +1 -0
  334. package/_types/chains/definitions/evmosTestnet.d.ts +25 -0
  335. package/_types/chains/definitions/evmosTestnet.d.ts.map +1 -0
  336. package/_types/chains/definitions/fantom.d.ts +35 -0
  337. package/_types/chains/definitions/fantom.d.ts.map +1 -0
  338. package/_types/chains/definitions/fantomTestnet.d.ts +35 -0
  339. package/_types/chains/definitions/fantomTestnet.d.ts.map +1 -0
  340. package/_types/chains/definitions/fibo.d.ts +25 -0
  341. package/_types/chains/definitions/fibo.d.ts.map +1 -0
  342. package/_types/chains/definitions/filecoin.d.ts +37 -0
  343. package/_types/chains/definitions/filecoin.d.ts.map +1 -0
  344. package/_types/chains/definitions/filecoinCalibration.d.ts +25 -0
  345. package/_types/chains/definitions/filecoinCalibration.d.ts.map +1 -0
  346. package/_types/chains/definitions/filecoinHyperspace.d.ts +29 -0
  347. package/_types/chains/definitions/filecoinHyperspace.d.ts.map +1 -0
  348. package/_types/chains/definitions/flare.d.ts +25 -0
  349. package/_types/chains/definitions/flare.d.ts.map +1 -0
  350. package/_types/chains/definitions/flareTestnet.d.ts +26 -0
  351. package/_types/chains/definitions/flareTestnet.d.ts.map +1 -0
  352. package/_types/chains/definitions/foundry.d.ts +21 -0
  353. package/_types/chains/definitions/foundry.d.ts.map +1 -0
  354. package/_types/chains/definitions/fuse.d.ts +25 -0
  355. package/_types/chains/definitions/fuse.d.ts.map +1 -0
  356. package/_types/chains/definitions/fuseSparknet.d.ts +25 -0
  357. package/_types/chains/definitions/fuseSparknet.d.ts.map +1 -0
  358. package/_types/chains/definitions/gnosis.d.ts +35 -0
  359. package/_types/chains/definitions/gnosis.d.ts.map +1 -0
  360. package/_types/chains/definitions/gnosisChiado.d.ts +26 -0
  361. package/_types/chains/definitions/gnosisChiado.d.ts.map +1 -0
  362. package/_types/chains/definitions/gobi.d.ts +27 -0
  363. package/_types/chains/definitions/gobi.d.ts.map +1 -0
  364. package/_types/chains/definitions/goerli.d.ts +51 -0
  365. package/_types/chains/definitions/goerli.d.ts.map +1 -0
  366. package/_types/chains/definitions/haqqMainnet.d.ts +25 -0
  367. package/_types/chains/definitions/haqqMainnet.d.ts.map +1 -0
  368. package/_types/chains/definitions/haqqTestedge2.d.ts +25 -0
  369. package/_types/chains/definitions/haqqTestedge2.d.ts.map +1 -0
  370. package/_types/chains/definitions/hardhat.d.ts +19 -0
  371. package/_types/chains/definitions/hardhat.d.ts.map +1 -0
  372. package/_types/chains/definitions/harmonyOne.d.ts +31 -0
  373. package/_types/chains/definitions/harmonyOne.d.ts.map +1 -0
  374. package/_types/chains/definitions/iotex.d.ts +27 -0
  375. package/_types/chains/definitions/iotex.d.ts.map +1 -0
  376. package/_types/chains/definitions/iotexTestnet.d.ts +27 -0
  377. package/_types/chains/definitions/iotexTestnet.d.ts.map +1 -0
  378. package/_types/chains/definitions/klaytn.d.ts +29 -0
  379. package/_types/chains/definitions/klaytn.d.ts.map +1 -0
  380. package/_types/chains/definitions/linea.d.ts +46 -0
  381. package/_types/chains/definitions/linea.d.ts.map +1 -0
  382. package/_types/chains/definitions/lineaTestnet.d.ts +46 -0
  383. package/_types/chains/definitions/lineaTestnet.d.ts.map +1 -0
  384. package/_types/chains/definitions/localhost.d.ts +19 -0
  385. package/_types/chains/definitions/localhost.d.ts.map +1 -0
  386. package/_types/chains/definitions/mainnet.d.ts +50 -0
  387. package/_types/chains/definitions/mainnet.d.ts.map +1 -0
  388. package/_types/chains/definitions/mantle.d.ts +35 -0
  389. package/_types/chains/definitions/mantle.d.ts.map +1 -0
  390. package/_types/chains/definitions/mantleTestnet.d.ts +30 -0
  391. package/_types/chains/definitions/mantleTestnet.d.ts.map +1 -0
  392. package/_types/chains/definitions/meter.d.ts +25 -0
  393. package/_types/chains/definitions/meter.d.ts.map +1 -0
  394. package/_types/chains/definitions/meterTestnet.d.ts +25 -0
  395. package/_types/chains/definitions/meterTestnet.d.ts.map +1 -0
  396. package/_types/chains/definitions/metis.d.ts +31 -0
  397. package/_types/chains/definitions/metis.d.ts.map +1 -0
  398. package/_types/chains/definitions/metisGoerli.d.ts +31 -0
  399. package/_types/chains/definitions/metisGoerli.d.ts.map +1 -0
  400. package/_types/chains/definitions/mev.d.ts +31 -0
  401. package/_types/chains/definitions/mev.d.ts.map +1 -0
  402. package/_types/chains/definitions/mevTestnet.d.ts +32 -0
  403. package/_types/chains/definitions/mevTestnet.d.ts.map +1 -0
  404. package/_types/chains/definitions/modeTestnet.d.ts +26 -0
  405. package/_types/chains/definitions/modeTestnet.d.ts.map +1 -0
  406. package/_types/chains/definitions/moonbaseAlpha.d.ts +38 -0
  407. package/_types/chains/definitions/moonbaseAlpha.d.ts.map +1 -0
  408. package/_types/chains/definitions/moonbeam.d.ts +38 -0
  409. package/_types/chains/definitions/moonbeam.d.ts.map +1 -0
  410. package/_types/chains/definitions/moonriver.d.ts +38 -0
  411. package/_types/chains/definitions/moonriver.d.ts.map +1 -0
  412. package/_types/chains/definitions/neonDevnet.d.ts +32 -0
  413. package/_types/chains/definitions/neonDevnet.d.ts.map +1 -0
  414. package/_types/chains/definitions/nexi.d.ts +35 -0
  415. package/_types/chains/definitions/nexi.d.ts.map +1 -0
  416. package/_types/chains/definitions/nexilix.d.ts +35 -0
  417. package/_types/chains/definitions/nexilix.d.ts.map +1 -0
  418. package/_types/chains/definitions/oasys.d.ts +25 -0
  419. package/_types/chains/definitions/oasys.d.ts.map +1 -0
  420. package/_types/chains/definitions/okc.d.ts +31 -0
  421. package/_types/chains/definitions/okc.d.ts.map +1 -0
  422. package/_types/chains/definitions/opBNB.d.ts +31 -0
  423. package/_types/chains/definitions/opBNB.d.ts.map +1 -0
  424. package/_types/chains/definitions/opBNBTestnet.d.ts +32 -0
  425. package/_types/chains/definitions/opBNBTestnet.d.ts.map +1 -0
  426. package/_types/chains/definitions/optimism.d.ts +338 -0
  427. package/_types/chains/definitions/optimism.d.ts.map +1 -0
  428. package/_types/chains/definitions/optimismGoerli.d.ts +339 -0
  429. package/_types/chains/definitions/optimismGoerli.d.ts.map +1 -0
  430. package/_types/chains/definitions/plinga.d.ts +31 -0
  431. package/_types/chains/definitions/plinga.d.ts.map +1 -0
  432. package/_types/chains/definitions/polygon.d.ts +43 -0
  433. package/_types/chains/definitions/polygon.d.ts.map +1 -0
  434. package/_types/chains/definitions/polygonMumbai.d.ts +44 -0
  435. package/_types/chains/definitions/polygonMumbai.d.ts.map +1 -0
  436. package/_types/chains/definitions/polygonZkEvm.d.ts +31 -0
  437. package/_types/chains/definitions/polygonZkEvm.d.ts.map +1 -0
  438. package/_types/chains/definitions/polygonZkEvmTestnet.d.ts +36 -0
  439. package/_types/chains/definitions/polygonZkEvmTestnet.d.ts.map +1 -0
  440. package/_types/chains/definitions/pulsechain.d.ts +37 -0
  441. package/_types/chains/definitions/pulsechain.d.ts.map +1 -0
  442. package/_types/chains/definitions/pulsechainV4.d.ts +37 -0
  443. package/_types/chains/definitions/pulsechainV4.d.ts.map +1 -0
  444. package/_types/chains/definitions/qMainnet.d.ts +25 -0
  445. package/_types/chains/definitions/qMainnet.d.ts.map +1 -0
  446. package/_types/chains/definitions/qTestnet.d.ts +26 -0
  447. package/_types/chains/definitions/qTestnet.d.ts.map +1 -0
  448. package/_types/chains/definitions/rollux.d.ts +32 -0
  449. package/_types/chains/definitions/rollux.d.ts.map +1 -0
  450. package/_types/chains/definitions/rolluxTestnet.d.ts +32 -0
  451. package/_types/chains/definitions/rolluxTestnet.d.ts.map +1 -0
  452. package/_types/chains/definitions/ronin.d.ts +31 -0
  453. package/_types/chains/definitions/ronin.d.ts.map +1 -0
  454. package/_types/chains/definitions/saigon.d.ts +32 -0
  455. package/_types/chains/definitions/saigon.d.ts.map +1 -0
  456. package/_types/chains/definitions/scrollSepolia.d.ts +34 -0
  457. package/_types/chains/definitions/scrollSepolia.d.ts.map +1 -0
  458. package/_types/chains/definitions/scrollTestnet.d.ts +28 -0
  459. package/_types/chains/definitions/scrollTestnet.d.ts.map +1 -0
  460. package/_types/chains/definitions/sepolia.d.ts +51 -0
  461. package/_types/chains/definitions/sepolia.d.ts.map +1 -0
  462. package/_types/chains/definitions/shardeumSphinx.d.ts +26 -0
  463. package/_types/chains/definitions/shardeumSphinx.d.ts.map +1 -0
  464. package/_types/chains/definitions/skale/brawl.d.ts +32 -0
  465. package/_types/chains/definitions/skale/brawl.d.ts.map +1 -0
  466. package/_types/chains/definitions/skale/calypso.d.ts +37 -0
  467. package/_types/chains/definitions/skale/calypso.d.ts.map +1 -0
  468. package/_types/chains/definitions/skale/calypsoTestnet.d.ts +38 -0
  469. package/_types/chains/definitions/skale/calypsoTestnet.d.ts.map +1 -0
  470. package/_types/chains/definitions/skale/chaosTestnet.d.ts +38 -0
  471. package/_types/chains/definitions/skale/chaosTestnet.d.ts.map +1 -0
  472. package/_types/chains/definitions/skale/cryptoBlades.d.ts +32 -0
  473. package/_types/chains/definitions/skale/cryptoBlades.d.ts.map +1 -0
  474. package/_types/chains/definitions/skale/cryptoColosseum.d.ts +32 -0
  475. package/_types/chains/definitions/skale/cryptoColosseum.d.ts.map +1 -0
  476. package/_types/chains/definitions/skale/europa.d.ts +37 -0
  477. package/_types/chains/definitions/skale/europa.d.ts.map +1 -0
  478. package/_types/chains/definitions/skale/europaTestnet.d.ts +38 -0
  479. package/_types/chains/definitions/skale/europaTestnet.d.ts.map +1 -0
  480. package/_types/chains/definitions/skale/exorde.d.ts +32 -0
  481. package/_types/chains/definitions/skale/exorde.d.ts.map +1 -0
  482. package/_types/chains/definitions/skale/humanProtocol.d.ts +32 -0
  483. package/_types/chains/definitions/skale/humanProtocol.d.ts.map +1 -0
  484. package/_types/chains/definitions/skale/nebula.d.ts +37 -0
  485. package/_types/chains/definitions/skale/nebula.d.ts.map +1 -0
  486. package/_types/chains/definitions/skale/nebulaTestnet.d.ts +38 -0
  487. package/_types/chains/definitions/skale/nebulaTestnet.d.ts.map +1 -0
  488. package/_types/chains/definitions/skale/razor.d.ts +32 -0
  489. package/_types/chains/definitions/skale/razor.d.ts.map +1 -0
  490. package/_types/chains/definitions/skale/titan.d.ts +37 -0
  491. package/_types/chains/definitions/skale/titan.d.ts.map +1 -0
  492. package/_types/chains/definitions/skale/titanTestnet.d.ts +38 -0
  493. package/_types/chains/definitions/skale/titanTestnet.d.ts.map +1 -0
  494. package/_types/chains/definitions/songbird.d.ts +25 -0
  495. package/_types/chains/definitions/songbird.d.ts.map +1 -0
  496. package/_types/chains/definitions/songbirdTestnet.d.ts +26 -0
  497. package/_types/chains/definitions/songbirdTestnet.d.ts.map +1 -0
  498. package/_types/chains/definitions/syscoin.d.ts +33 -0
  499. package/_types/chains/definitions/syscoin.d.ts.map +1 -0
  500. package/_types/chains/definitions/syscoinTestnet.d.ts +33 -0
  501. package/_types/chains/definitions/syscoinTestnet.d.ts.map +1 -0
  502. package/_types/chains/definitions/taikoJolnir.d.ts +25 -0
  503. package/_types/chains/definitions/taikoJolnir.d.ts.map +1 -0
  504. package/_types/chains/definitions/taikoTestnetSepolia.d.ts +25 -0
  505. package/_types/chains/definitions/taikoTestnetSepolia.d.ts.map +1 -0
  506. package/_types/chains/definitions/taraxa.d.ts +25 -0
  507. package/_types/chains/definitions/taraxa.d.ts.map +1 -0
  508. package/_types/chains/definitions/taraxaTestnet.d.ts +26 -0
  509. package/_types/chains/definitions/taraxaTestnet.d.ts.map +1 -0
  510. package/_types/chains/definitions/telos.d.ts +31 -0
  511. package/_types/chains/definitions/telos.d.ts.map +1 -0
  512. package/_types/chains/definitions/telosTestnet.d.ts +26 -0
  513. package/_types/chains/definitions/telosTestnet.d.ts.map +1 -0
  514. package/_types/chains/definitions/thunderTestnet.d.ts +26 -0
  515. package/_types/chains/definitions/thunderTestnet.d.ts.map +1 -0
  516. package/_types/chains/definitions/vechain.d.ts +29 -0
  517. package/_types/chains/definitions/vechain.d.ts.map +1 -0
  518. package/_types/chains/definitions/wanchain.d.ts +35 -0
  519. package/_types/chains/definitions/wanchain.d.ts.map +1 -0
  520. package/_types/chains/definitions/wanchainTestnet.d.ts +36 -0
  521. package/_types/chains/definitions/wanchainTestnet.d.ts.map +1 -0
  522. package/_types/chains/definitions/xdc.d.ts +29 -0
  523. package/_types/chains/definitions/xdc.d.ts.map +1 -0
  524. package/_types/chains/definitions/xdcTestnet.d.ts +29 -0
  525. package/_types/chains/definitions/xdcTestnet.d.ts.map +1 -0
  526. package/_types/chains/definitions/zetachainAthensTestnet.d.ts +26 -0
  527. package/_types/chains/definitions/zetachainAthensTestnet.d.ts.map +1 -0
  528. package/_types/chains/definitions/zhejiang.d.ts +34 -0
  529. package/_types/chains/definitions/zhejiang.d.ts.map +1 -0
  530. package/_types/chains/definitions/zkSync.d.ts +32 -0
  531. package/_types/chains/definitions/zkSync.d.ts.map +1 -0
  532. package/_types/chains/definitions/zkSyncTestnet.d.ts +33 -0
  533. package/_types/chains/definitions/zkSyncTestnet.d.ts.map +1 -0
  534. package/_types/chains/definitions/zora.d.ts +328 -0
  535. package/_types/chains/definitions/zora.d.ts.map +1 -0
  536. package/_types/chains/definitions/zoraTestnet.d.ts +329 -0
  537. package/_types/chains/definitions/zoraTestnet.d.ts.map +1 -0
  538. package/_types/chains/index.d.ts +140 -0
  539. package/_types/chains/index.d.ts.map +1 -0
  540. package/_types/chains/optimism/formatters.d.ts +299 -0
  541. package/_types/chains/optimism/formatters.d.ts.map +1 -0
  542. package/_types/chains/optimism/types.d.ts +53 -0
  543. package/_types/chains/optimism/types.d.ts.map +1 -0
  544. package/_types/chains/utils/index.d.ts +7 -0
  545. package/_types/chains/utils/index.d.ts.map +1 -0
  546. package/_types/clients/createClient.d.ts +79 -0
  547. package/_types/clients/createClient.d.ts.map +1 -0
  548. package/_types/clients/createPublicClient.d.ts +29 -0
  549. package/_types/clients/createPublicClient.d.ts.map +1 -0
  550. package/_types/clients/createTestClient.d.ts +43 -0
  551. package/_types/clients/createTestClient.d.ts.map +1 -0
  552. package/_types/clients/createWalletClient.d.ts +49 -0
  553. package/_types/clients/createWalletClient.d.ts.map +1 -0
  554. package/_types/clients/decorators/public.d.ts +1199 -0
  555. package/_types/clients/decorators/public.d.ts.map +1 -0
  556. package/_types/clients/decorators/test.d.ts +599 -0
  557. package/_types/clients/decorators/test.d.ts.map +1 -0
  558. package/_types/clients/decorators/wallet.d.ts +560 -0
  559. package/_types/clients/decorators/wallet.d.ts.map +1 -0
  560. package/_types/clients/transports/createTransport.d.ts +34 -0
  561. package/_types/clients/transports/createTransport.d.ts.map +1 -0
  562. package/_types/clients/transports/custom.d.ts +21 -0
  563. package/_types/clients/transports/custom.d.ts.map +1 -0
  564. package/_types/clients/transports/fallback.d.ts +75 -0
  565. package/_types/clients/transports/fallback.d.ts.map +1 -0
  566. package/_types/clients/transports/http.d.ts +40 -0
  567. package/_types/clients/transports/http.d.ts.map +1 -0
  568. package/_types/clients/transports/webSocket.d.ts +45 -0
  569. package/_types/clients/transports/webSocket.d.ts.map +1 -0
  570. package/_types/constants/abis.d.ts +165 -0
  571. package/_types/constants/abis.d.ts.map +1 -0
  572. package/_types/constants/address.d.ts +2 -0
  573. package/_types/constants/address.d.ts.map +1 -0
  574. package/_types/constants/contract.d.ts +2 -0
  575. package/_types/constants/contract.d.ts.map +1 -0
  576. package/_types/constants/contracts.d.ts +2 -0
  577. package/_types/constants/contracts.d.ts.map +1 -0
  578. package/_types/constants/number.d.ts +97 -0
  579. package/_types/constants/number.d.ts.map +1 -0
  580. package/_types/constants/solidity.d.ts +15 -0
  581. package/_types/constants/solidity.d.ts.map +1 -0
  582. package/_types/constants/unit.d.ts +13 -0
  583. package/_types/constants/unit.d.ts.map +1 -0
  584. package/_types/contract/index.d.ts +30 -0
  585. package/_types/contract/index.d.ts.map +1 -0
  586. package/_types/ens/index.d.ts +9 -0
  587. package/_types/ens/index.d.ts.map +1 -0
  588. package/_types/errors/abi.d.ts +169 -0
  589. package/_types/errors/abi.d.ts.map +1 -0
  590. package/_types/errors/account.d.ts +8 -0
  591. package/_types/errors/account.d.ts.map +1 -0
  592. package/_types/errors/address.d.ts +8 -0
  593. package/_types/errors/address.d.ts.map +1 -0
  594. package/_types/errors/base.d.ts +24 -0
  595. package/_types/errors/base.d.ts.map +1 -0
  596. package/_types/errors/block.d.ts +10 -0
  597. package/_types/errors/block.d.ts.map +1 -0
  598. package/_types/errors/ccip.d.ts +29 -0
  599. package/_types/errors/ccip.d.ts.map +1 -0
  600. package/_types/errors/chain.d.ts +35 -0
  601. package/_types/errors/chain.d.ts.map +1 -0
  602. package/_types/errors/contract.d.ts +64 -0
  603. package/_types/errors/contract.d.ts.map +1 -0
  604. package/_types/errors/data.d.ts +18 -0
  605. package/_types/errors/data.d.ts.map +1 -0
  606. package/_types/errors/encoding.d.ts +53 -0
  607. package/_types/errors/encoding.d.ts.map +1 -0
  608. package/_types/errors/ens.d.ts +26 -0
  609. package/_types/errors/ens.d.ts.map +1 -0
  610. package/_types/errors/estimateGas.d.ts +14 -0
  611. package/_types/errors/estimateGas.d.ts.map +1 -0
  612. package/_types/errors/fee.d.ts +16 -0
  613. package/_types/errors/fee.d.ts.map +1 -0
  614. package/_types/errors/log.d.ts +6 -0
  615. package/_types/errors/log.d.ts.map +1 -0
  616. package/_types/errors/node.d.ts +105 -0
  617. package/_types/errors/node.d.ts.map +1 -0
  618. package/_types/errors/request.d.ts +61 -0
  619. package/_types/errors/request.d.ts.map +1 -0
  620. package/_types/errors/rpc.d.ts +221 -0
  621. package/_types/errors/rpc.d.ts.map +1 -0
  622. package/_types/errors/transaction.d.ts +79 -0
  623. package/_types/errors/transaction.d.ts.map +1 -0
  624. package/_types/errors/transport.d.ts +5 -0
  625. package/_types/errors/transport.d.ts.map +1 -0
  626. package/_types/errors/utils.d.ts +5 -0
  627. package/_types/errors/utils.d.ts.map +1 -0
  628. package/_types/errors/version.d.ts +2 -0
  629. package/_types/errors/version.d.ts.map +1 -0
  630. package/_types/index.d.ts +217 -0
  631. package/_types/index.d.ts.map +1 -0
  632. package/_types/public/index.d.ts +33 -0
  633. package/_types/public/index.d.ts.map +1 -0
  634. package/_types/test/index.d.ts +29 -0
  635. package/_types/test/index.d.ts.map +1 -0
  636. package/_types/types/account.d.ts +12 -0
  637. package/_types/types/account.d.ts.map +1 -0
  638. package/_types/types/block.d.ts +62 -0
  639. package/_types/types/block.d.ts.map +1 -0
  640. package/_types/types/chain.d.ts +167 -0
  641. package/_types/types/chain.d.ts.map +1 -0
  642. package/_types/types/contract.d.ts +138 -0
  643. package/_types/types/contract.d.ts.map +1 -0
  644. package/_types/types/eip1193.d.ts +1228 -0
  645. package/_types/types/eip1193.d.ts.map +1 -0
  646. package/_types/types/ens.d.ts +5 -0
  647. package/_types/types/ens.d.ts.map +1 -0
  648. package/_types/types/fee.d.ts +30 -0
  649. package/_types/types/fee.d.ts.map +1 -0
  650. package/_types/types/filter.d.ts +40 -0
  651. package/_types/types/filter.d.ts.map +1 -0
  652. package/_types/types/log.d.ts +55 -0
  653. package/_types/types/log.d.ts.map +1 -0
  654. package/_types/types/misc.d.ts +14 -0
  655. package/_types/types/misc.d.ts.map +1 -0
  656. package/_types/types/multicall.d.ts +48 -0
  657. package/_types/types/multicall.d.ts.map +1 -0
  658. package/_types/types/rpc.d.ts +20 -0
  659. package/_types/types/rpc.d.ts.map +1 -0
  660. package/_types/types/transaction.d.ts +147 -0
  661. package/_types/types/transaction.d.ts.map +1 -0
  662. package/_types/types/transport.d.ts +3 -0
  663. package/_types/types/transport.d.ts.map +1 -0
  664. package/_types/types/typedData.d.ts +47 -0
  665. package/_types/types/typedData.d.ts.map +1 -0
  666. package/_types/types/utils.d.ts +188 -0
  667. package/_types/types/utils.d.ts.map +1 -0
  668. package/_types/types/window.d.ts +7 -0
  669. package/_types/types/window.d.ts.map +1 -0
  670. package/_types/utils/abi/decodeAbiParameters.d.ts +5 -0
  671. package/_types/utils/abi/decodeAbiParameters.d.ts.map +1 -0
  672. package/_types/utils/abi/decodeDeployData.d.ts +13 -0
  673. package/_types/utils/abi/decodeDeployData.d.ts.map +1 -0
  674. package/_types/utils/abi/decodeErrorResult.d.ts +16 -0
  675. package/_types/utils/abi/decodeErrorResult.d.ts.map +1 -0
  676. package/_types/utils/abi/decodeEventLog.d.ts +20 -0
  677. package/_types/utils/abi/decodeEventLog.d.ts.map +1 -0
  678. package/_types/utils/abi/decodeFunctionData.d.ts +15 -0
  679. package/_types/utils/abi/decodeFunctionData.d.ts.map +1 -0
  680. package/_types/utils/abi/decodeFunctionResult.d.ts +14 -0
  681. package/_types/utils/abi/decodeFunctionResult.d.ts.map +1 -0
  682. package/_types/utils/abi/encodeAbiParameters.d.ts +9 -0
  683. package/_types/utils/abi/encodeAbiParameters.d.ts.map +1 -0
  684. package/_types/utils/abi/encodeDeployData.d.ts +9 -0
  685. package/_types/utils/abi/encodeDeployData.d.ts.map +1 -0
  686. package/_types/utils/abi/encodeErrorResult.d.ts +11 -0
  687. package/_types/utils/abi/encodeErrorResult.d.ts.map +1 -0
  688. package/_types/utils/abi/encodeEventTopics.d.ts +13 -0
  689. package/_types/utils/abi/encodeEventTopics.d.ts.map +1 -0
  690. package/_types/utils/abi/encodeFunctionData.d.ts +11 -0
  691. package/_types/utils/abi/encodeFunctionData.d.ts.map +1 -0
  692. package/_types/utils/abi/encodeFunctionResult.d.ts +13 -0
  693. package/_types/utils/abi/encodeFunctionResult.d.ts.map +1 -0
  694. package/_types/utils/abi/encodePacked.d.ts +11 -0
  695. package/_types/utils/abi/encodePacked.d.ts.map +1 -0
  696. package/_types/utils/abi/formatAbiItem.d.ts +9 -0
  697. package/_types/utils/abi/formatAbiItem.d.ts.map +1 -0
  698. package/_types/utils/abi/formatAbiItemWithArgs.d.ts +8 -0
  699. package/_types/utils/abi/formatAbiItemWithArgs.d.ts.map +1 -0
  700. package/_types/utils/abi/getAbiItem.d.ts +13 -0
  701. package/_types/utils/abi/getAbiItem.d.ts.map +1 -0
  702. package/_types/utils/accounts.d.ts +3 -0
  703. package/_types/utils/accounts.d.ts.map +1 -0
  704. package/_types/utils/address/getAddress.d.ts +4 -0
  705. package/_types/utils/address/getAddress.d.ts.map +1 -0
  706. package/_types/utils/address/getContractAddress.d.ts +20 -0
  707. package/_types/utils/address/getContractAddress.d.ts.map +1 -0
  708. package/_types/utils/address/isAddress.d.ts +3 -0
  709. package/_types/utils/address/isAddress.d.ts.map +1 -0
  710. package/_types/utils/address/isAddressEqual.d.ts +3 -0
  711. package/_types/utils/address/isAddressEqual.d.ts.map +1 -0
  712. package/_types/utils/buildRequest.d.ts +6 -0
  713. package/_types/utils/buildRequest.d.ts.map +1 -0
  714. package/_types/utils/ccip.d.ts +37 -0
  715. package/_types/utils/ccip.d.ts.map +1 -0
  716. package/_types/utils/chain.d.ts +14 -0
  717. package/_types/utils/chain.d.ts.map +1 -0
  718. package/_types/utils/contract/extractFunctionParts.d.ts +13 -0
  719. package/_types/utils/contract/extractFunctionParts.d.ts.map +1 -0
  720. package/_types/utils/data/concat.d.ts +6 -0
  721. package/_types/utils/data/concat.d.ts.map +1 -0
  722. package/_types/utils/data/isBytes.d.ts +3 -0
  723. package/_types/utils/data/isBytes.d.ts.map +1 -0
  724. package/_types/utils/data/isBytesEqual.d.ts +3 -0
  725. package/_types/utils/data/isBytesEqual.d.ts.map +1 -0
  726. package/_types/utils/data/isHex.d.ts +5 -0
  727. package/_types/utils/data/isHex.d.ts.map +1 -0
  728. package/_types/utils/data/pad.d.ts +11 -0
  729. package/_types/utils/data/pad.d.ts.map +1 -0
  730. package/_types/utils/data/size.d.ts +9 -0
  731. package/_types/utils/data/size.d.ts.map +1 -0
  732. package/_types/utils/data/slice.d.ts +33 -0
  733. package/_types/utils/data/slice.d.ts.map +1 -0
  734. package/_types/utils/data/trim.d.ts +8 -0
  735. package/_types/utils/data/trim.d.ts.map +1 -0
  736. package/_types/utils/encoding/fromBytes.d.ts +109 -0
  737. package/_types/utils/encoding/fromBytes.d.ts.map +1 -0
  738. package/_types/utils/encoding/fromHex.d.ts +138 -0
  739. package/_types/utils/encoding/fromHex.d.ts.map +1 -0
  740. package/_types/utils/encoding/fromRlp.d.ts +6 -0
  741. package/_types/utils/encoding/fromRlp.d.ts.map +1 -0
  742. package/_types/utils/encoding/toBytes.d.ts +125 -0
  743. package/_types/utils/encoding/toBytes.d.ts.map +1 -0
  744. package/_types/utils/encoding/toHex.d.ts +139 -0
  745. package/_types/utils/encoding/toHex.d.ts.map +1 -0
  746. package/_types/utils/encoding/toRlp.d.ts +8 -0
  747. package/_types/utils/encoding/toRlp.d.ts.map +1 -0
  748. package/_types/utils/ens/avatar/parseAvatarRecord.d.ts +9 -0
  749. package/_types/utils/ens/avatar/parseAvatarRecord.d.ts.map +1 -0
  750. package/_types/utils/ens/avatar/utils.d.ts +37 -0
  751. package/_types/utils/ens/avatar/utils.d.ts.map +1 -0
  752. package/_types/utils/ens/encodeLabelhash.d.ts +3 -0
  753. package/_types/utils/ens/encodeLabelhash.d.ts.map +1 -0
  754. package/_types/utils/ens/encodedLabelToLabelhash.d.ts +3 -0
  755. package/_types/utils/ens/encodedLabelToLabelhash.d.ts.map +1 -0
  756. package/_types/utils/ens/errors.d.ts +2 -0
  757. package/_types/utils/ens/errors.d.ts.map +1 -0
  758. package/_types/utils/ens/labelhash.d.ts +11 -0
  759. package/_types/utils/ens/labelhash.d.ts.map +1 -0
  760. package/_types/utils/ens/namehash.d.ts +13 -0
  761. package/_types/utils/ens/namehash.d.ts.map +1 -0
  762. package/_types/utils/ens/normalize.d.ts +12 -0
  763. package/_types/utils/ens/normalize.d.ts.map +1 -0
  764. package/_types/utils/ens/packetToBytes.d.ts +3 -0
  765. package/_types/utils/ens/packetToBytes.d.ts.map +1 -0
  766. package/_types/utils/errors/getCallError.d.ts +9 -0
  767. package/_types/utils/errors/getCallError.d.ts.map +1 -0
  768. package/_types/utils/errors/getContractError.d.ts +12 -0
  769. package/_types/utils/errors/getContractError.d.ts.map +1 -0
  770. package/_types/utils/errors/getEstimateGasError.d.ts +11 -0
  771. package/_types/utils/errors/getEstimateGasError.d.ts.map +1 -0
  772. package/_types/utils/errors/getNodeError.d.ts +7 -0
  773. package/_types/utils/errors/getNodeError.d.ts.map +1 -0
  774. package/_types/utils/errors/getTransactionError.d.ts +12 -0
  775. package/_types/utils/errors/getTransactionError.d.ts.map +1 -0
  776. package/_types/utils/filters/createFilterRequestScope.d.ts +22 -0
  777. package/_types/utils/filters/createFilterRequestScope.d.ts.map +1 -0
  778. package/_types/utils/formatters/block.d.ts +28 -0
  779. package/_types/utils/formatters/block.d.ts.map +1 -0
  780. package/_types/utils/formatters/extract.d.ts +8 -0
  781. package/_types/utils/formatters/extract.d.ts.map +1 -0
  782. package/_types/utils/formatters/feeHistory.d.ts +4 -0
  783. package/_types/utils/formatters/feeHistory.d.ts.map +1 -0
  784. package/_types/utils/formatters/formatter.d.ts +10 -0
  785. package/_types/utils/formatters/formatter.d.ts.map +1 -0
  786. package/_types/utils/formatters/log.d.ts +7 -0
  787. package/_types/utils/formatters/log.d.ts.map +1 -0
  788. package/_types/utils/formatters/transaction.d.ts +30 -0
  789. package/_types/utils/formatters/transaction.d.ts.map +1 -0
  790. package/_types/utils/formatters/transactionReceipt.d.ts +14 -0
  791. package/_types/utils/formatters/transactionReceipt.d.ts.map +1 -0
  792. package/_types/utils/formatters/transactionRequest.d.ts +19 -0
  793. package/_types/utils/formatters/transactionRequest.d.ts.map +1 -0
  794. package/_types/utils/hash/getEventSelector.d.ts +4 -0
  795. package/_types/utils/hash/getEventSelector.d.ts.map +1 -0
  796. package/_types/utils/hash/getFunctionSelector.d.ts +3 -0
  797. package/_types/utils/hash/getFunctionSelector.d.ts.map +1 -0
  798. package/_types/utils/hash/hashFunction.d.ts +4 -0
  799. package/_types/utils/hash/hashFunction.d.ts.map +1 -0
  800. package/_types/utils/hash/isHash.d.ts +3 -0
  801. package/_types/utils/hash/isHash.d.ts.map +1 -0
  802. package/_types/utils/hash/keccak256.d.ts +6 -0
  803. package/_types/utils/hash/keccak256.d.ts.map +1 -0
  804. package/_types/utils/index.d.ts +84 -0
  805. package/_types/utils/index.d.ts.map +1 -0
  806. package/_types/utils/observe.d.ts +17 -0
  807. package/_types/utils/observe.d.ts.map +1 -0
  808. package/_types/utils/poll.d.ts +13 -0
  809. package/_types/utils/poll.d.ts.map +1 -0
  810. package/_types/utils/promise/createBatchScheduler.d.ts +17 -0
  811. package/_types/utils/promise/createBatchScheduler.d.ts.map +1 -0
  812. package/_types/utils/promise/withCache.d.ts +36 -0
  813. package/_types/utils/promise/withCache.d.ts.map +1 -0
  814. package/_types/utils/promise/withRetry.d.ts +12 -0
  815. package/_types/utils/promise/withRetry.d.ts.map +1 -0
  816. package/_types/utils/promise/withTimeout.d.ts +8 -0
  817. package/_types/utils/promise/withTimeout.d.ts.map +1 -0
  818. package/_types/utils/regex.d.ts +4 -0
  819. package/_types/utils/regex.d.ts.map +1 -0
  820. package/_types/utils/rpc.d.ts +73 -0
  821. package/_types/utils/rpc.d.ts.map +1 -0
  822. package/_types/utils/signature/hashMessage.d.ts +6 -0
  823. package/_types/utils/signature/hashMessage.d.ts.map +1 -0
  824. package/_types/utils/signature/hashTypedData.d.ts +20 -0
  825. package/_types/utils/signature/hashTypedData.d.ts.map +1 -0
  826. package/_types/utils/signature/hexToSignature.d.ts +13 -0
  827. package/_types/utils/signature/hexToSignature.d.ts.map +1 -0
  828. package/_types/utils/signature/recoverAddress.d.ts +9 -0
  829. package/_types/utils/signature/recoverAddress.d.ts.map +1 -0
  830. package/_types/utils/signature/recoverMessageAddress.d.ts +9 -0
  831. package/_types/utils/signature/recoverMessageAddress.d.ts.map +1 -0
  832. package/_types/utils/signature/recoverPublicKey.d.ts +8 -0
  833. package/_types/utils/signature/recoverPublicKey.d.ts.map +1 -0
  834. package/_types/utils/signature/recoverTypedDataAddress.d.ts +13 -0
  835. package/_types/utils/signature/recoverTypedDataAddress.d.ts.map +1 -0
  836. package/_types/utils/signature/signatureToHex.d.ts +17 -0
  837. package/_types/utils/signature/signatureToHex.d.ts.map +1 -0
  838. package/_types/utils/signature/verifyMessage.d.ts +25 -0
  839. package/_types/utils/signature/verifyMessage.d.ts.map +1 -0
  840. package/_types/utils/signature/verifyTypedData.d.ts +28 -0
  841. package/_types/utils/signature/verifyTypedData.d.ts.map +1 -0
  842. package/_types/utils/stringify.d.ts +2 -0
  843. package/_types/utils/stringify.d.ts.map +1 -0
  844. package/_types/utils/transaction/assertRequest.d.ts +5 -0
  845. package/_types/utils/transaction/assertRequest.d.ts.map +1 -0
  846. package/_types/utils/transaction/assertTransaction.d.ts +5 -0
  847. package/_types/utils/transaction/assertTransaction.d.ts.map +1 -0
  848. package/_types/utils/transaction/getSerializedTransactionType.d.ts +4 -0
  849. package/_types/utils/transaction/getSerializedTransactionType.d.ts.map +1 -0
  850. package/_types/utils/transaction/getTransactionType.d.ts +4 -0
  851. package/_types/utils/transaction/getTransactionType.d.ts.map +1 -0
  852. package/_types/utils/transaction/parseTransaction.d.ts +9 -0
  853. package/_types/utils/transaction/parseTransaction.d.ts.map +1 -0
  854. package/_types/utils/transaction/serializeAccessList.d.ts +5 -0
  855. package/_types/utils/transaction/serializeAccessList.d.ts.map +1 -0
  856. package/_types/utils/transaction/serializeTransaction.d.ts +7 -0
  857. package/_types/utils/transaction/serializeTransaction.d.ts.map +1 -0
  858. package/_types/utils/typedData.d.ts +13 -0
  859. package/_types/utils/typedData.d.ts.map +1 -0
  860. package/_types/utils/uid.d.ts +2 -0
  861. package/_types/utils/uid.d.ts.map +1 -0
  862. package/_types/utils/unit/formatEther.d.ts +2 -0
  863. package/_types/utils/unit/formatEther.d.ts.map +1 -0
  864. package/_types/utils/unit/formatGwei.d.ts +2 -0
  865. package/_types/utils/unit/formatGwei.d.ts.map +1 -0
  866. package/_types/utils/unit/formatUnits.d.ts +2 -0
  867. package/_types/utils/unit/formatUnits.d.ts.map +1 -0
  868. package/_types/utils/unit/parseEther.d.ts +2 -0
  869. package/_types/utils/unit/parseEther.d.ts.map +1 -0
  870. package/_types/utils/unit/parseGwei.d.ts +2 -0
  871. package/_types/utils/unit/parseGwei.d.ts.map +1 -0
  872. package/_types/utils/unit/parseUnits.d.ts +2 -0
  873. package/_types/utils/unit/parseUnits.d.ts.map +1 -0
  874. package/_types/utils/wait.d.ts +2 -0
  875. package/_types/utils/wait.d.ts.map +1 -0
  876. package/_types/wallet/index.d.ts +11 -0
  877. package/_types/wallet/index.d.ts.map +1 -0
  878. package/_types/window/window.d.ts +2 -0
  879. package/_types/window/window.d.ts.map +1 -0
  880. package/{abi.ts → abi/index.ts} +15 -13
  881. package/abi/package.json +6 -0
  882. package/accounts/package.json +6 -0
  883. package/actions/package.json +6 -0
  884. package/chains/package.json +6 -0
  885. package/chains/{utils.ts → utils/index.ts} +6 -6
  886. package/chains/utils/package.json +6 -0
  887. package/clients/package.json +6 -0
  888. package/{contract.ts → contract/index.ts} +27 -25
  889. package/contract/package.json +6 -0
  890. package/{ens.ts → ens/index.ts} +8 -8
  891. package/ens/package.json +6 -0
  892. package/errors/version.ts +1 -1
  893. package/package.json +37 -34
  894. package/{public.ts → public/index.ts} +30 -28
  895. package/public/package.json +6 -0
  896. package/test/index.ts +85 -0
  897. package/test/package.json +6 -0
  898. package/utils/package.json +6 -0
  899. package/{wallet.ts → wallet/index.ts} +15 -10
  900. package/wallet/package.json +6 -0
  901. package/window/package.json +6 -0
  902. package/window/window.ts +1 -0
  903. package/_cjs/_test/generated.js +0 -360
  904. package/_cjs/_test/generated.js.map +0 -1
  905. package/_cjs/abi.js.map +0 -1
  906. package/_cjs/chains/utils.js.map +0 -1
  907. package/_cjs/contract.js.map +0 -1
  908. package/_cjs/ens.js.map +0 -1
  909. package/_cjs/public.js.map +0 -1
  910. package/_cjs/test.js.map +0 -1
  911. package/_cjs/wallet.js.map +0 -1
  912. package/_cjs/window.js.map +0 -1
  913. package/_esm/_test/generated.js +0 -388
  914. package/_esm/_test/generated.js.map +0 -1
  915. package/_esm/abi.js +0 -6
  916. package/_esm/abi.js.map +0 -1
  917. package/_esm/chains/utils.js +0 -5
  918. package/_esm/chains/utils.js.map +0 -1
  919. package/_esm/contract.js +0 -25
  920. package/_esm/contract.js.map +0 -1
  921. package/_esm/ens.js +0 -9
  922. package/_esm/ens.js.map +0 -1
  923. package/_esm/public.js +0 -29
  924. package/_esm/public.js.map +0 -1
  925. package/_esm/test.js +0 -29
  926. package/_esm/test.js.map +0 -1
  927. package/_esm/wallet.js +0 -11
  928. package/_esm/wallet.js.map +0 -1
  929. package/_esm/window.js +0 -2
  930. package/_esm/window.js.map +0 -1
  931. package/_test/generated.ts +0 -407
  932. package/test.ts +0 -83
  933. package/window.ts +0 -1
@@ -0,0 +1,4 @@
1
+ import type { TransactionSerialized, TransactionSerializedEIP1559, TransactionSerializedEIP2930 } from '../../types/transaction.js';
2
+ export type GetSerializedTransactionType<TTransactionSerialized extends TransactionSerialized = TransactionSerialized> = TTransactionSerialized extends TransactionSerializedEIP1559 ? 'eip1559' : TTransactionSerialized extends TransactionSerializedEIP2930 ? 'eip2930' : 'legacy';
3
+ export declare function getSerializedTransactionType<TSerialized extends TransactionSerialized>(serializedTransaction: TSerialized): GetSerializedTransactionType<TSerialized>;
4
+ //# sourceMappingURL=getSerializedTransactionType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSerializedTransactionType.d.ts","sourceRoot":"","sources":["../../../utils/transaction/getSerializedTransactionType.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,qBAAqB,EACrB,4BAA4B,EAC5B,4BAA4B,EAC7B,MAAM,4BAA4B,CAAA;AAInC,MAAM,MAAM,4BAA4B,CACtC,sBAAsB,SAAS,qBAAqB,GAAG,qBAAqB,IAC1E,sBAAsB,SAAS,4BAA4B,GAC3D,SAAS,GACT,sBAAsB,SAAS,4BAA4B,GAC3D,SAAS,GACT,QAAQ,CAAA;AAEZ,wBAAgB,4BAA4B,CAC1C,WAAW,SAAS,qBAAqB,EAEzC,qBAAqB,EAAE,WAAW,GACjC,4BAA4B,CAAC,WAAW,CAAC,CAa3C"}
@@ -0,0 +1,4 @@
1
+ import type { TransactionSerializable, TransactionSerializableEIP1559, TransactionSerializableEIP2930, TransactionSerializableGeneric, TransactionSerializableLegacy } from '../../types/transaction.js';
2
+ export type GetTransactionType<TTransactionSerializable extends TransactionSerializable = TransactionSerializable> = (TTransactionSerializable extends TransactionSerializableLegacy ? 'legacy' : never) | (TTransactionSerializable extends TransactionSerializableEIP1559 ? 'eip1559' : never) | (TTransactionSerializable extends TransactionSerializableEIP2930 ? 'eip2930' : never) | (TTransactionSerializable extends TransactionSerializableGeneric ? TTransactionSerializable['type'] : never);
3
+ export declare function getTransactionType<TTransactionSerializable extends TransactionSerializable>(transaction: TTransactionSerializable): GetTransactionType<TTransactionSerializable>;
4
+ //# sourceMappingURL=getTransactionType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getTransactionType.d.ts","sourceRoot":"","sources":["../../../utils/transaction/getTransactionType.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,uBAAuB,EACvB,8BAA8B,EAC9B,8BAA8B,EAC9B,8BAA8B,EAC9B,6BAA6B,EAC9B,MAAM,4BAA4B,CAAA;AAEnC,MAAM,MAAM,kBAAkB,CAC5B,wBAAwB,SAAS,uBAAuB,GAAG,uBAAuB,IAEhF,CAAC,wBAAwB,SAAS,6BAA6B,GAC3D,QAAQ,GACR,KAAK,CAAC,GACV,CAAC,wBAAwB,SAAS,8BAA8B,GAC5D,SAAS,GACT,KAAK,CAAC,GACV,CAAC,wBAAwB,SAAS,8BAA8B,GAC5D,SAAS,GACT,KAAK,CAAC,GACV,CAAC,wBAAwB,SAAS,8BAA8B,GAC5D,wBAAwB,CAAC,MAAM,CAAC,GAChC,KAAK,CAAC,CAAA;AAEd,wBAAgB,kBAAkB,CAChC,wBAAwB,SAAS,uBAAuB,EAExD,WAAW,EAAE,wBAAwB,GACpC,kBAAkB,CAAC,wBAAwB,CAAC,CAiB9C"}
@@ -0,0 +1,9 @@
1
+ import type { Hex } from '../../types/misc.js';
2
+ import type { AccessList, TransactionSerializableEIP1559, TransactionSerializableEIP2930, TransactionSerializableLegacy, TransactionSerialized, TransactionType } from '../../types/transaction.js';
3
+ import type { RecursiveArray } from '../encoding/toRlp.js';
4
+ import { type GetSerializedTransactionType } from './getSerializedTransactionType.js';
5
+ export type ParseTransactionReturnType<TSerialized extends TransactionSerialized = TransactionSerialized, TType extends TransactionType = GetSerializedTransactionType<TSerialized>> = (TType extends 'eip1559' ? TransactionSerializableEIP1559 : never) | (TType extends 'eip2930' ? TransactionSerializableEIP2930 : never) | (TType extends 'legacy' ? TransactionSerializableLegacy : never);
6
+ export declare function parseTransaction<TSerialized extends TransactionSerialized>(serializedTransaction: TSerialized): ParseTransactionReturnType<TSerialized>;
7
+ export declare function toTransactionArray(serializedTransaction: string): RecursiveArray<`0x${string}`>;
8
+ export declare function parseAccessList(accessList_: RecursiveArray<Hex>): AccessList;
9
+ //# sourceMappingURL=parseTransaction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parseTransaction.d.ts","sourceRoot":"","sources":["../../../utils/transaction/parseTransaction.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,GAAG,EAAa,MAAM,qBAAqB,CAAA;AACzD,OAAO,KAAK,EACV,UAAU,EAGV,8BAA8B,EAC9B,8BAA8B,EAC9B,6BAA6B,EAC7B,qBAAqB,EAGrB,eAAe,EAChB,MAAM,4BAA4B,CAAA;AAOnC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAQ1D,OAAO,EACL,KAAK,4BAA4B,EAElC,MAAM,mCAAmC,CAAA;AAE1C,MAAM,MAAM,0BAA0B,CACpC,WAAW,SAAS,qBAAqB,GAAG,qBAAqB,EACjE,KAAK,SAAS,eAAe,GAAG,4BAA4B,CAAC,WAAW,CAAC,IAEvE,CAAC,KAAK,SAAS,SAAS,GAAG,8BAA8B,GAAG,KAAK,CAAC,GAClE,CAAC,KAAK,SAAS,SAAS,GAAG,8BAA8B,GAAG,KAAK,CAAC,GAClE,CAAC,KAAK,SAAS,QAAQ,GAAG,6BAA6B,GAAG,KAAK,CAAC,CAAA;AAEpE,wBAAgB,gBAAgB,CAAC,WAAW,SAAS,qBAAqB,EACxE,qBAAqB,EAAE,WAAW,GACjC,0BAA0B,CAAC,WAAW,CAAC,CAgBzC;AAoMD,wBAAgB,kBAAkB,CAAC,qBAAqB,EAAE,MAAM,iCAE/D;AAED,wBAAgB,eAAe,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,CAAC,GAAG,UAAU,CAa5E"}
@@ -0,0 +1,5 @@
1
+ import type { Hex } from '../../types/misc.js';
2
+ import type { AccessList } from '../../types/transaction.js';
3
+ import { type RecursiveArray } from '../encoding/toRlp.js';
4
+ export declare function serializeAccessList(accessList?: AccessList): RecursiveArray<Hex>;
5
+ //# sourceMappingURL=serializeAccessList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serializeAccessList.d.ts","sourceRoot":"","sources":["../../../utils/transaction/serializeAccessList.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAA;AAC9C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAA;AAE5D,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAW1D,wBAAgB,mBAAmB,CACjC,UAAU,CAAC,EAAE,UAAU,GACtB,cAAc,CAAC,GAAG,CAAC,CAoBrB"}
@@ -0,0 +1,7 @@
1
+ import type { Signature } from '../../types/misc.js';
2
+ import type { TransactionSerializable, TransactionSerialized, TransactionType } from '../../types/transaction.js';
3
+ import { type GetTransactionType } from './getTransactionType.js';
4
+ export type SerializedTransactionReturnType<TTransactionSerializable extends TransactionSerializable = TransactionSerializable, TTransactionType extends TransactionType = GetTransactionType<TTransactionSerializable>> = TransactionSerialized<TTransactionType>;
5
+ export type SerializeTransactionFn<TTransactionSerializable extends TransactionSerializable = TransactionSerializable> = typeof serializeTransaction<TTransactionSerializable>;
6
+ export declare function serializeTransaction<TTransactionSerializable extends TransactionSerializable>(transaction: TTransactionSerializable, signature?: Signature): SerializedTransactionReturnType<TTransactionSerializable>;
7
+ //# sourceMappingURL=serializeTransaction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serializeTransaction.d.ts","sourceRoot":"","sources":["../../../utils/transaction/serializeTransaction.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AACpD,OAAO,KAAK,EACV,uBAAuB,EAIvB,qBAAqB,EAIrB,eAAe,EAChB,MAAM,4BAA4B,CAAA;AAWnC,OAAO,EACL,KAAK,kBAAkB,EAExB,MAAM,yBAAyB,CAAA;AAGhC,MAAM,MAAM,+BAA+B,CACzC,wBAAwB,SAAS,uBAAuB,GAAG,uBAAuB,EAClF,gBAAgB,SAAS,eAAe,GAAG,kBAAkB,CAAC,wBAAwB,CAAC,IACrF,qBAAqB,CAAC,gBAAgB,CAAC,CAAA;AAE3C,MAAM,MAAM,sBAAsB,CAChC,wBAAwB,SAAS,uBAAuB,GAAG,uBAAuB,IAChF,OAAO,oBAAoB,CAAC,wBAAwB,CAAC,CAAA;AAEzD,wBAAgB,oBAAoB,CAClC,wBAAwB,SAAS,uBAAuB,EAExD,WAAW,EAAE,wBAAwB,EACrC,SAAS,CAAC,EAAE,SAAS,GACpB,+BAA+B,CAAC,wBAAwB,CAAC,CAmB3D"}
@@ -0,0 +1,13 @@
1
+ import type { TypedData, TypedDataDomain, TypedDataParameter } from 'abitype';
2
+ import type { Hex } from '../types/misc.js';
3
+ import type { TypedDataDefinition } from '../types/typedData.js';
4
+ export declare function validateTypedData<const TTypedData extends TypedData | {
5
+ [key: string]: unknown;
6
+ }, TPrimaryType extends string = string>({ domain, message, primaryType, types: types_, }: TypedDataDefinition<TTypedData, TPrimaryType>): void;
7
+ export declare function getTypesForEIP712Domain({ domain, }: {
8
+ domain?: TypedDataDomain;
9
+ }): TypedDataParameter[];
10
+ export declare function domainSeparator({ domain }: {
11
+ domain: TypedDataDomain;
12
+ }): Hex;
13
+ //# sourceMappingURL=typedData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typedData.d.ts","sourceRoot":"","sources":["../../utils/typedData.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,SAAS,EACT,eAAe,EACf,kBAAkB,EAEnB,MAAM,SAAS,CAAA;AAIhB,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AAC3C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAQhE,wBAAgB,iBAAiB,CAC/B,KAAK,CAAC,UAAU,SAAS,SAAS,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,EAC/D,YAAY,SAAS,MAAM,GAAG,MAAM,EACpC,EACA,MAAM,EACN,OAAO,EACP,WAAW,EACX,KAAK,EAAE,MAAM,GACd,EAAE,mBAAmB,CAAC,UAAU,EAAE,YAAY,CAAC,QAoD/C;AAED,wBAAgB,uBAAuB,CAAC,EACtC,MAAM,GACP,EAAE;IAAE,MAAM,CAAC,EAAE,eAAe,CAAA;CAAE,GAAG,kBAAkB,EAAE,CAcrD;AAED,wBAAgB,eAAe,CAAC,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,eAAe,CAAA;CAAE,GAAG,GAAG,CAO5E"}
@@ -0,0 +1,2 @@
1
+ export declare function uid(length?: number): string;
2
+ //# sourceMappingURL=uid.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"uid.d.ts","sourceRoot":"","sources":["../../utils/uid.ts"],"names":[],"mappings":"AAIA,wBAAgB,GAAG,CAAC,MAAM,SAAK,UAS9B"}
@@ -0,0 +1,2 @@
1
+ export declare function formatEther(wei: bigint, unit?: 'wei' | 'gwei'): string;
2
+ //# sourceMappingURL=formatEther.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formatEther.d.ts","sourceRoot":"","sources":["../../../utils/unit/formatEther.ts"],"names":[],"mappings":"AAIA,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,GAAE,KAAK,GAAG,MAAc,UAEpE"}
@@ -0,0 +1,2 @@
1
+ export declare function formatGwei(wei: bigint, unit?: 'wei'): string;
2
+ //# sourceMappingURL=formatGwei.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formatGwei.d.ts","sourceRoot":"","sources":["../../../utils/unit/formatGwei.ts"],"names":[],"mappings":"AAIA,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,GAAE,KAAa,UAE1D"}
@@ -0,0 +1,2 @@
1
+ export declare function formatUnits(value: bigint, decimals: number): string;
2
+ //# sourceMappingURL=formatUnits.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formatUnits.d.ts","sourceRoot":"","sources":["../../../utils/unit/formatUnits.ts"],"names":[],"mappings":"AAAA,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,UAgB1D"}
@@ -0,0 +1,2 @@
1
+ export declare function parseEther(ether: string, unit?: 'wei' | 'gwei'): bigint;
2
+ //# sourceMappingURL=parseEther.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parseEther.d.ts","sourceRoot":"","sources":["../../../utils/unit/parseEther.ts"],"names":[],"mappings":"AAIA,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,GAAE,KAAK,GAAG,MAAc,UAErE"}
@@ -0,0 +1,2 @@
1
+ export declare function parseGwei(ether: string, unit?: 'wei'): bigint;
2
+ //# sourceMappingURL=parseGwei.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parseGwei.d.ts","sourceRoot":"","sources":["../../../utils/unit/parseGwei.ts"],"names":[],"mappings":"AAIA,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,GAAE,KAAa,UAE3D"}
@@ -0,0 +1,2 @@
1
+ export declare function parseUnits(value: string, decimals: number): bigint;
2
+ //# sourceMappingURL=parseUnits.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parseUnits.d.ts","sourceRoot":"","sources":["../../../utils/unit/parseUnits.ts"],"names":[],"mappings":"AAAA,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,UAqCzD"}
@@ -0,0 +1,2 @@
1
+ export declare function wait(time: number): Promise<unknown>;
2
+ //# sourceMappingURL=wait.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wait.d.ts","sourceRoot":"","sources":["../../utils/wait.ts"],"names":[],"mappings":"AAAA,wBAAsB,IAAI,CAAC,IAAI,EAAE,MAAM,oBAEtC"}
@@ -0,0 +1,11 @@
1
+ export { addChain, type AddChainParameters, } from '../actions/wallet/addChain.js';
2
+ export { getAddresses, type GetAddressesReturnType, } from '../actions/wallet/getAddresses.js';
3
+ export { getPermissions, type GetPermissionsReturnType, } from '../actions/wallet/getPermissions.js';
4
+ export { requestAddresses, type RequestAddressesReturnType, } from '../actions/wallet/requestAddresses.js';
5
+ export { requestPermissions, type RequestPermissionsReturnType, } from '../actions/wallet/requestPermissions.js';
6
+ export { sendTransaction, type SendTransactionParameters, type SendTransactionReturnType, } from '../actions/wallet/sendTransaction.js';
7
+ export { signMessage, type SignMessageParameters, type SignMessageReturnType, } from '../actions/wallet/signMessage.js';
8
+ export { signTypedData, type SignTypedDataParameters, type SignTypedDataReturnType, } from '../actions/wallet/signTypedData.js';
9
+ export { switchChain, type SwitchChainParameters, } from '../actions/wallet/switchChain.js';
10
+ export { watchAsset, type WatchAssetParameters, type WatchAssetReturnType, } from '../actions/wallet/watchAsset.js';
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../wallet/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,QAAQ,EACR,KAAK,kBAAkB,GACxB,MAAM,+BAA+B,CAAA;AACtC,OAAO,EACL,YAAY,EACZ,KAAK,sBAAsB,GAC5B,MAAM,mCAAmC,CAAA;AAC1C,OAAO,EACL,cAAc,EACd,KAAK,wBAAwB,GAC9B,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EACL,gBAAgB,EAChB,KAAK,0BAA0B,GAChC,MAAM,uCAAuC,CAAA;AAC9C,OAAO,EACL,kBAAkB,EAClB,KAAK,4BAA4B,GAClC,MAAM,yCAAyC,CAAA;AAChD,OAAO,EACL,eAAe,EACf,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,GAC/B,MAAM,sCAAsC,CAAA;AAC7C,OAAO,EACL,WAAW,EACX,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,GAC3B,MAAM,kCAAkC,CAAA;AACzC,OAAO,EACL,aAAa,EACb,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,GAC7B,MAAM,oCAAoC,CAAA;AAC3C,OAAO,EACL,WAAW,EACX,KAAK,qBAAqB,GAC3B,MAAM,kCAAkC,CAAA;AACzC,OAAO,EACL,UAAU,EACV,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,GAC1B,MAAM,iCAAiC,CAAA"}
@@ -0,0 +1,2 @@
1
+ import '../types/window.js';
2
+ //# sourceMappingURL=window.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"window.d.ts","sourceRoot":"","sources":["../../window/window.ts"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,CAAA"}
@@ -1,15 +1,5 @@
1
- export {
2
- type DecodeAbiParametersReturnType,
3
- decodeAbiParameters,
4
- } from './utils/abi/decodeAbiParameters.js'
5
- export {
6
- type EncodeAbiParametersReturnType,
7
- encodeAbiParameters,
8
- } from './utils/abi/encodeAbiParameters.js'
9
- export {
10
- type GetAbiItemParameters,
11
- getAbiItem,
12
- } from './utils/abi/getAbiItem.js'
1
+ // TODO(v2): Remove this entrypoint. Favor importing from root entrypoint (`viem`).
2
+
13
3
  export {
14
4
  type ParseAbi,
15
5
  type ParseAbiItem,
@@ -20,4 +10,16 @@ export {
20
10
  parseAbiParameter,
21
11
  parseAbiParameters,
22
12
  } from 'abitype'
23
- export { encodePacked } from './utils/abi/encodePacked.js'
13
+ export {
14
+ type DecodeAbiParametersReturnType,
15
+ decodeAbiParameters,
16
+ } from '../utils/abi/decodeAbiParameters.js'
17
+ export {
18
+ type EncodeAbiParametersReturnType,
19
+ encodeAbiParameters,
20
+ } from '../utils/abi/encodeAbiParameters.js'
21
+ export {
22
+ type GetAbiItemParameters,
23
+ getAbiItem,
24
+ } from '../utils/abi/getAbiItem.js'
25
+ export { encodePacked } from '../utils/abi/encodePacked.js'
@@ -0,0 +1,6 @@
1
+ {
2
+ "type": "module",
3
+ "types": "../_types/abi/index.d.ts",
4
+ "module": "../_esm/abi/index.js",
5
+ "main": "../_cjs/abi/index.js"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "type": "module",
3
+ "types": "../_types/accounts/index.d.ts",
4
+ "module": "../_esm/accounts/index.js",
5
+ "main": "../_cjs/accounts/index.js"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "type": "module",
3
+ "types": "../_types/actions/index.d.ts",
4
+ "module": "../_esm/actions/index.js",
5
+ "main": "../_cjs/actions/index.js"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "type": "module",
3
+ "types": "../_types/chains/index.d.ts",
4
+ "module": "../_esm/chains/index.js",
5
+ "main": "../_cjs/chains/index.js"
6
+ }
@@ -1,9 +1,9 @@
1
- export { formattersCelo } from './celo/formatters.js'
1
+ export { formattersCelo } from '../celo/formatters.js'
2
2
  export {
3
3
  serializeTransactionCelo,
4
4
  serializersCelo,
5
- } from './celo/serializers.js'
6
- export { parseTransactionCelo } from './celo/parsers.js'
5
+ } from '../celo/serializers.js'
6
+ export { parseTransactionCelo } from '../celo/parsers.js'
7
7
  export type {
8
8
  CeloBlock,
9
9
  CeloBlockOverrides,
@@ -26,9 +26,9 @@ export type {
26
26
  TransactionRequestCIP42,
27
27
  TransactionSerializableCIP42,
28
28
  TransactionSerializedCIP42,
29
- } from './celo/types.js'
29
+ } from '../celo/types.js'
30
30
 
31
- export { formattersOptimism } from './optimism/formatters.js'
31
+ export { formattersOptimism } from '../optimism/formatters.js'
32
32
  export type {
33
33
  OptimismBlock,
34
34
  OptimismBlockOverrides,
@@ -42,4 +42,4 @@ export type {
42
42
  OptimismTransaction,
43
43
  OptimismTransactionReceipt,
44
44
  OptimismTransactionReceiptOverrides,
45
- } from './optimism/types.js'
45
+ } from '../optimism/types.js'
@@ -0,0 +1,6 @@
1
+ {
2
+ "type": "module",
3
+ "types": "../../_types/chains/utils/index.d.ts",
4
+ "module": "../../_esm/chains/utils/index.js",
5
+ "main": "../../_cjs/chains/utils/index.js"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "type": "module",
3
+ "types": "../_types/clients/index.d.ts",
4
+ "module": "../_esm/clients/index.js",
5
+ "main": "../_cjs/clients/index.js"
6
+ }
@@ -1,28 +1,30 @@
1
+ // TODO(v2): Remove this entrypoint. Favor importing from root entrypoint (`viem`).
2
+
1
3
  export {
2
4
  type CreateContractEventFilterParameters,
3
5
  type CreateContractEventFilterReturnType,
4
6
  createContractEventFilter,
5
- } from './actions/public/createContractEventFilter.js'
7
+ } from '../actions/public/createContractEventFilter.js'
6
8
  export {
7
9
  type EstimateContractGasParameters,
8
10
  type EstimateContractGasReturnType,
9
11
  estimateContractGas,
10
- } from './actions/public/estimateContractGas.js'
12
+ } from '../actions/public/estimateContractGas.js'
11
13
  export {
12
14
  type GetBytecodeParameters,
13
15
  type GetBytecodeReturnType,
14
16
  getBytecode,
15
- } from './actions/public/getBytecode.js'
17
+ } from '../actions/public/getBytecode.js'
16
18
  export {
17
19
  type GetStorageAtParameters,
18
20
  type GetStorageAtReturnType,
19
21
  getStorageAt,
20
- } from './actions/public/getStorageAt.js'
22
+ } from '../actions/public/getStorageAt.js'
21
23
  export {
22
24
  type MulticallParameters,
23
25
  type MulticallReturnType,
24
26
  multicall,
25
- } from './actions/public/multicall.js'
27
+ } from '../actions/public/multicall.js'
26
28
  export type {
27
29
  WatchEventOnLogsFn,
28
30
  /** @deprecated - use `WatchEventOnLogsFn` instead. */
@@ -30,81 +32,81 @@ export type {
30
32
  WatchEventOnLogsParameter,
31
33
  /** @deprecated - use `WatchEventOnLogsParameter` instead. */
32
34
  WatchEventOnLogsParameter as OnLogsParameter,
33
- } from './actions/public/watchEvent.js'
35
+ } from '../actions/public/watchEvent.js'
34
36
  export {
35
37
  type ReadContractParameters,
36
38
  type ReadContractReturnType,
37
39
  readContract,
38
- } from './actions/public/readContract.js'
40
+ } from '../actions/public/readContract.js'
39
41
  export {
40
42
  type SimulateContractParameters,
41
43
  type SimulateContractReturnType,
42
44
  simulateContract,
43
- } from './actions/public/simulateContract.js'
45
+ } from '../actions/public/simulateContract.js'
44
46
  export {
45
47
  type WatchContractEventParameters,
46
48
  watchContractEvent,
47
- } from './actions/public/watchContractEvent.js'
49
+ } from '../actions/public/watchContractEvent.js'
48
50
  export {
49
51
  type DeployContractParameters,
50
52
  type DeployContractReturnType,
51
53
  deployContract,
52
- } from './actions/wallet/deployContract.js'
54
+ } from '../actions/wallet/deployContract.js'
53
55
  export {
54
56
  type WriteContractParameters,
55
57
  type WriteContractReturnType,
56
58
  writeContract,
57
- } from './actions/wallet/writeContract.js'
59
+ } from '../actions/wallet/writeContract.js'
58
60
  export {
59
61
  type DecodeAbiParametersReturnType,
60
62
  decodeAbiParameters,
61
- } from './utils/abi/decodeAbiParameters.js'
63
+ } from '../utils/abi/decodeAbiParameters.js'
62
64
  export {
63
65
  type DecodeErrorResultParameters,
64
66
  type DecodeErrorResultReturnType,
65
67
  decodeErrorResult,
66
- } from './utils/abi/decodeErrorResult.js'
68
+ } from '../utils/abi/decodeErrorResult.js'
67
69
  export {
68
70
  type DecodeEventLogParameters,
69
71
  type DecodeEventLogReturnType,
70
72
  decodeEventLog,
71
- } from './utils/abi/decodeEventLog.js'
73
+ } from '../utils/abi/decodeEventLog.js'
72
74
  export {
73
75
  type DecodeFunctionDataParameters,
74
76
  decodeFunctionData,
75
- } from './utils/abi/decodeFunctionData.js'
77
+ } from '../utils/abi/decodeFunctionData.js'
76
78
  export {
77
79
  type DecodeFunctionResultParameters,
78
80
  type DecodeFunctionResultReturnType,
79
81
  decodeFunctionResult,
80
- } from './utils/abi/decodeFunctionResult.js'
82
+ } from '../utils/abi/decodeFunctionResult.js'
81
83
  export {
82
84
  type EncodeAbiParametersReturnType,
83
85
  encodeAbiParameters,
84
- } from './utils/abi/encodeAbiParameters.js'
86
+ } from '../utils/abi/encodeAbiParameters.js'
85
87
  export {
86
88
  type EncodeDeployDataParameters,
87
89
  encodeDeployData,
88
- } from './utils/abi/encodeDeployData.js'
90
+ } from '../utils/abi/encodeDeployData.js'
89
91
  export {
90
92
  type EncodeErrorResultParameters,
91
93
  encodeErrorResult,
92
- } from './utils/abi/encodeErrorResult.js'
94
+ } from '../utils/abi/encodeErrorResult.js'
93
95
  export {
94
96
  type EncodeEventTopicsParameters,
95
97
  encodeEventTopics,
96
- } from './utils/abi/encodeEventTopics.js'
98
+ } from '../utils/abi/encodeEventTopics.js'
97
99
  export {
98
100
  type EncodeFunctionDataParameters,
99
101
  encodeFunctionData,
100
- } from './utils/abi/encodeFunctionData.js'
102
+ } from '../utils/abi/encodeFunctionData.js'
101
103
  export {
102
104
  type EncodeFunctionResultParameters,
103
105
  encodeFunctionResult,
104
- } from './utils/abi/encodeFunctionResult.js'
106
+ } from '../utils/abi/encodeFunctionResult.js'
105
107
  export {
106
108
  type GetAbiItemParameters,
107
109
  getAbiItem,
108
- } from './utils/abi/getAbiItem.js'
109
- export { formatAbiItemWithArgs } from './utils/abi/formatAbiItemWithArgs.js'
110
- export { formatAbiItem } from './utils/abi/formatAbiItem.js'
110
+ } from '../utils/abi/getAbiItem.js'
111
+ export { formatAbiItemWithArgs } from '../utils/abi/formatAbiItemWithArgs.js'
112
+ export { formatAbiItem } from '../utils/abi/formatAbiItem.js'
@@ -0,0 +1,6 @@
1
+ {
2
+ "type": "module",
3
+ "types": "../_types/contract/index.d.ts",
4
+ "module": "../_esm/contract/index.js",
5
+ "main": "../_cjs/contract/index.js"
6
+ }
@@ -1,28 +1,28 @@
1
- export { normalize } from './utils/ens/normalize.js'
1
+ export { normalize } from '../utils/ens/normalize.js'
2
2
  export {
3
3
  type GetEnsAddressParameters,
4
4
  type GetEnsAddressReturnType,
5
5
  getEnsAddress,
6
- } from './actions/ens/getEnsAddress.js'
6
+ } from '../actions/ens/getEnsAddress.js'
7
7
  export {
8
8
  type GetEnsAvatarParameters,
9
9
  type GetEnsAvatarReturnType,
10
10
  getEnsAvatar,
11
- } from './actions/ens/getEnsAvatar.js'
11
+ } from '../actions/ens/getEnsAvatar.js'
12
12
  export {
13
13
  type GetEnsNameParameters,
14
14
  type GetEnsNameReturnType,
15
15
  getEnsName,
16
- } from './actions/ens/getEnsName.js'
16
+ } from '../actions/ens/getEnsName.js'
17
17
  export {
18
18
  type GetEnsResolverParameters,
19
19
  type GetEnsResolverReturnType,
20
20
  getEnsResolver,
21
- } from './actions/ens/getEnsResolver.js'
21
+ } from '../actions/ens/getEnsResolver.js'
22
22
  export {
23
23
  type GetEnsTextParameters,
24
24
  type GetEnsTextReturnType,
25
25
  getEnsText,
26
- } from './actions/ens/getEnsText.js'
27
- export { labelhash } from './utils/ens/labelhash.js'
28
- export { namehash } from './utils/ens/namehash.js'
26
+ } from '../actions/ens/getEnsText.js'
27
+ export { labelhash } from '../utils/ens/labelhash.js'
28
+ export { namehash } from '../utils/ens/namehash.js'
@@ -0,0 +1,6 @@
1
+ {
2
+ "type": "module",
3
+ "types": "../_types/ens/index.d.ts",
4
+ "module": "../_esm/ens/index.js",
5
+ "main": "../_cjs/ens/index.js"
6
+ }
package/errors/version.ts CHANGED
@@ -1 +1 @@
1
- export const version = '1.10.10'
1
+ export const version = '1.10.11'
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "viem",
3
3
  "description": "TypeScript Interface for Ethereum",
4
- "version": "1.10.10",
4
+ "version": "1.10.11",
5
5
  "type": "module",
6
6
  "main": "./_cjs/index.js",
7
7
  "module": "./_esm/index.js",
@@ -23,9 +23,9 @@
23
23
  "default": "./_cjs/index.js"
24
24
  },
25
25
  "./abi": {
26
- "types": "./_types/abi.d.ts",
27
- "import": "./_esm/abi.js",
28
- "default": "./_cjs/abi.js"
26
+ "types": "./_types/abi/index.d.ts",
27
+ "import": "./_esm/abi/index.js",
28
+ "default": "./_cjs/abi/index.js"
29
29
  },
30
30
  "./accounts": {
31
31
  "types": "./_types/accounts/index.d.ts",
@@ -43,29 +43,29 @@
43
43
  "default": "./_cjs/chains/index.js"
44
44
  },
45
45
  "./chains/utils": {
46
- "types": "./_types/chains/utils.d.ts",
47
- "import": "./_esm/chains/utils.js",
48
- "default": "./_cjs/chains/utils.js"
46
+ "types": "./_types/chains/utils/index.d.ts",
47
+ "import": "./_esm/chains/utils/index.js",
48
+ "default": "./_cjs/chains/utils/index.js"
49
49
  },
50
50
  "./contract": {
51
- "types": "./_types/contract.d.ts",
52
- "import": "./_esm/contract.js",
53
- "default": "./_cjs/contract.js"
51
+ "types": "./_types/contract/index.d.ts",
52
+ "import": "./_esm/contract/index.js",
53
+ "default": "./_cjs/contract/index.js"
54
54
  },
55
55
  "./ens": {
56
- "types": "./_types/ens.d.ts",
57
- "import": "./_esm/ens.js",
58
- "default": "./_cjs/ens.js"
56
+ "types": "./_types/ens/index.d.ts",
57
+ "import": "./_esm/ens/index.js",
58
+ "default": "./_cjs/ens/index.js"
59
59
  },
60
60
  "./public": {
61
- "types": "./_types/public.d.ts",
62
- "import": "./_esm/public.js",
63
- "default": "./_cjs/public.js"
61
+ "types": "./_types/public/index.d.ts",
62
+ "import": "./_esm/public/index.js",
63
+ "default": "./_cjs/public/index.js"
64
64
  },
65
65
  "./test": {
66
- "types": "./_types/test.d.ts",
67
- "import": "./_esm/test.js",
68
- "default": "./_cjs/test.js"
66
+ "types": "./_types/test/index.d.ts",
67
+ "import": "./_esm/test/index.js",
68
+ "default": "./_cjs/test/index.js"
69
69
  },
70
70
  "./utils": {
71
71
  "types": "./_types/utils/index.d.ts",
@@ -73,21 +73,21 @@
73
73
  "default": "./_cjs/utils/index.js"
74
74
  },
75
75
  "./wallet": {
76
- "types": "./_types/wallet.d.ts",
77
- "import": "./_esm/wallet.js",
78
- "default": "./_cjs/wallet.js"
76
+ "types": "./_types/wallet/index.d.ts",
77
+ "import": "./_esm/wallet/index.js",
78
+ "default": "./_cjs/wallet/index.js"
79
79
  },
80
80
  "./window": {
81
- "types": "./_types/window.d.ts",
82
- "import": "./_esm/window.js",
83
- "default": "./_cjs/window.js"
81
+ "types": "./_types/window/index.d.ts",
82
+ "import": "./_esm/window/index.js",
83
+ "default": "./_cjs/window/index.js"
84
84
  },
85
85
  "./package.json": "./package.json"
86
86
  },
87
87
  "typesVersions": {
88
88
  "*": {
89
89
  "abi": [
90
- "./_types/abi.d.ts"
90
+ "./_types/abi/index.d.ts"
91
91
  ],
92
92
  "accounts": [
93
93
  "./_types/accounts/index.d.ts"
@@ -96,28 +96,31 @@
96
96
  "./_types/actions/index.d.ts"
97
97
  ],
98
98
  "chains": [
99
- "./_types/chains.d.ts"
99
+ "./_types/chains/index.d.ts"
100
+ ],
101
+ "chains/utils": [
102
+ "./_types/chains/utils/index.d.ts"
100
103
  ],
101
104
  "contract": [
102
- "./_types/contract.d.ts"
105
+ "./_types/contract/index.d.ts"
103
106
  ],
104
107
  "ens": [
105
- "./_types/ens.d.ts"
108
+ "./_types/ens/index.d.ts"
106
109
  ],
107
110
  "public": [
108
- "./_types/public.d.ts"
111
+ "./_types/public/index.d.ts"
109
112
  ],
110
113
  "test": [
111
- "./_types/test.d.ts"
114
+ "./_types/test/index.d.ts"
112
115
  ],
113
116
  "utils": [
114
117
  "./_types/utils/index.d.ts"
115
118
  ],
116
119
  "wallet": [
117
- "./_types/wallet.d.ts"
120
+ "./_types/wallet/index.d.ts"
118
121
  ],
119
122
  "window": [
120
- "./_types/window.d.ts"
123
+ "./_types/window/index.d.ts"
121
124
  ]
122
125
  }
123
126
  },
@@ -159,4 +162,4 @@
159
162
  "wallet",
160
163
  "web3"
161
164
  ]
162
- }
165
+ }