viem 1.6.4 → 1.6.6

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 (610) hide show
  1. package/chains/dist/cjs/celo/formatters.js.map +1 -0
  2. package/chains/dist/cjs/celo/parsers.js.map +1 -0
  3. package/chains/dist/cjs/celo/serializers.js.map +1 -0
  4. package/chains/dist/cjs/celo/types.js.map +1 -0
  5. package/chains/dist/cjs/index.js.map +1 -0
  6. package/chains/dist/cjs/optimism/fees.js.map +1 -0
  7. package/chains/dist/cjs/optimism/formatters.js.map +1 -0
  8. package/chains/dist/cjs/optimism/types.js.map +1 -0
  9. package/chains/dist/cjs/types.js.map +1 -0
  10. package/chains/dist/cjs/utils.js.map +1 -0
  11. package/chains/dist/tsconfig.build.tsbuildinfo +1 -0
  12. package/chains/node_modules/.bin/tsc +17 -0
  13. package/chains/node_modules/.bin/tsserver +17 -0
  14. package/chains/tsconfig.tsbuildinfo +1 -0
  15. package/dist/cjs/chains/celo/parsers.js +76 -0
  16. package/dist/cjs/chains/celo/parsers.js.map +1 -0
  17. package/dist/cjs/chains/celo/serializers.js +2 -1
  18. package/dist/cjs/chains/celo/serializers.js.map +1 -1
  19. package/dist/cjs/chains/utils.js +3 -1
  20. package/dist/cjs/chains/utils.js.map +1 -1
  21. package/dist/cjs/errors/version.js +1 -1
  22. package/dist/cjs/utils/rpc.js +5 -7
  23. package/dist/cjs/utils/rpc.js.map +1 -1
  24. package/dist/cjs/utils/transaction/parseTransaction.js +8 -3
  25. package/dist/cjs/utils/transaction/parseTransaction.js.map +1 -1
  26. package/dist/esm/chains/celo/parsers.js +72 -0
  27. package/dist/esm/chains/celo/parsers.js.map +1 -0
  28. package/dist/esm/chains/celo/serializers.js +1 -3
  29. package/dist/esm/chains/celo/serializers.js.map +1 -1
  30. package/dist/esm/chains/utils.js +1 -0
  31. package/dist/esm/chains/utils.js.map +1 -1
  32. package/dist/esm/errors/version.js +1 -1
  33. package/dist/esm/utils/rpc.js +5 -7
  34. package/dist/esm/utils/rpc.js.map +1 -1
  35. package/dist/esm/utils/transaction/parseTransaction.js +6 -3
  36. package/dist/esm/utils/transaction/parseTransaction.js.map +1 -1
  37. package/package.json +1 -1
  38. package/src/chains/celo/parsers.ts +123 -0
  39. package/src/chains/celo/serializers.ts +13 -34
  40. package/src/chains/celo/types.ts +32 -0
  41. package/src/chains/utils.ts +6 -2
  42. package/src/errors/version.ts +1 -1
  43. package/src/utils/rpc.ts +5 -8
  44. package/src/utils/transaction/parseTransaction.ts +7 -9
  45. package/dist/types/abi.d.ts +0 -6
  46. package/dist/types/abi.d.ts.map +0 -1
  47. package/dist/types/accounts/generateMnemonic.d.ts +0 -9
  48. package/dist/types/accounts/generateMnemonic.d.ts.map +0 -1
  49. package/dist/types/accounts/generatePrivateKey.d.ts +0 -8
  50. package/dist/types/accounts/generatePrivateKey.d.ts.map +0 -1
  51. package/dist/types/accounts/hdKeyToAccount.d.ts +0 -9
  52. package/dist/types/accounts/hdKeyToAccount.d.ts.map +0 -1
  53. package/dist/types/accounts/index.d.ts +0 -27
  54. package/dist/types/accounts/index.d.ts.map +0 -1
  55. package/dist/types/accounts/mnemonicToAccount.d.ts +0 -8
  56. package/dist/types/accounts/mnemonicToAccount.d.ts.map +0 -1
  57. package/dist/types/accounts/privateKeyToAccount.d.ts +0 -9
  58. package/dist/types/accounts/privateKeyToAccount.d.ts.map +0 -1
  59. package/dist/types/accounts/toAccount.d.ts +0 -11
  60. package/dist/types/accounts/toAccount.d.ts.map +0 -1
  61. package/dist/types/accounts/types.d.ts +0 -52
  62. package/dist/types/accounts/types.d.ts.map +0 -1
  63. package/dist/types/accounts/utils/parseAccount.d.ts +0 -4
  64. package/dist/types/accounts/utils/parseAccount.d.ts.map +0 -1
  65. package/dist/types/accounts/utils/privateKeyToAddress.d.ts +0 -11
  66. package/dist/types/accounts/utils/privateKeyToAddress.d.ts.map +0 -1
  67. package/dist/types/accounts/utils/publicKeyToAddress.d.ts +0 -11
  68. package/dist/types/accounts/utils/publicKeyToAddress.d.ts.map +0 -1
  69. package/dist/types/accounts/utils/sign.d.ts +0 -16
  70. package/dist/types/accounts/utils/sign.d.ts.map +0 -1
  71. package/dist/types/accounts/utils/signMessage.d.ts +0 -16
  72. package/dist/types/accounts/utils/signMessage.d.ts.map +0 -1
  73. package/dist/types/accounts/utils/signTransaction.d.ts +0 -12
  74. package/dist/types/accounts/utils/signTransaction.d.ts.map +0 -1
  75. package/dist/types/accounts/utils/signTypedData.d.ts +0 -20
  76. package/dist/types/accounts/utils/signTypedData.d.ts.map +0 -1
  77. package/dist/types/accounts/wordlists/czech.d.ts +0 -2
  78. package/dist/types/accounts/wordlists/czech.d.ts.map +0 -1
  79. package/dist/types/accounts/wordlists/english.d.ts +0 -2
  80. package/dist/types/accounts/wordlists/english.d.ts.map +0 -1
  81. package/dist/types/accounts/wordlists/french.d.ts +0 -2
  82. package/dist/types/accounts/wordlists/french.d.ts.map +0 -1
  83. package/dist/types/accounts/wordlists/italian.d.ts +0 -2
  84. package/dist/types/accounts/wordlists/italian.d.ts.map +0 -1
  85. package/dist/types/accounts/wordlists/japanese.d.ts +0 -2
  86. package/dist/types/accounts/wordlists/japanese.d.ts.map +0 -1
  87. package/dist/types/accounts/wordlists/korean.d.ts +0 -2
  88. package/dist/types/accounts/wordlists/korean.d.ts.map +0 -1
  89. package/dist/types/accounts/wordlists/simplifiedChinese.d.ts +0 -2
  90. package/dist/types/accounts/wordlists/simplifiedChinese.d.ts.map +0 -1
  91. package/dist/types/accounts/wordlists/spanish.d.ts +0 -2
  92. package/dist/types/accounts/wordlists/spanish.d.ts.map +0 -1
  93. package/dist/types/accounts/wordlists/traditionalChinese.d.ts +0 -2
  94. package/dist/types/accounts/wordlists/traditionalChinese.d.ts.map +0 -1
  95. package/dist/types/actions/ens/getEnsAddress.d.ts +0 -45
  96. package/dist/types/actions/ens/getEnsAddress.d.ts.map +0 -1
  97. package/dist/types/actions/ens/getEnsAvatar.d.ts +0 -41
  98. package/dist/types/actions/ens/getEnsAvatar.d.ts.map +0 -1
  99. package/dist/types/actions/ens/getEnsName.d.ts +0 -41
  100. package/dist/types/actions/ens/getEnsName.d.ts.map +0 -1
  101. package/dist/types/actions/ens/getEnsResolver.d.ts +0 -43
  102. package/dist/types/actions/ens/getEnsResolver.d.ts.map +0 -1
  103. package/dist/types/actions/ens/getEnsText.d.ts +0 -46
  104. package/dist/types/actions/ens/getEnsText.d.ts.map +0 -1
  105. package/dist/types/actions/getContract.d.ts +0 -314
  106. package/dist/types/actions/getContract.d.ts.map +0 -1
  107. package/dist/types/actions/index.d.ts +0 -80
  108. package/dist/types/actions/index.d.ts.map +0 -1
  109. package/dist/types/actions/public/call.d.ts +0 -56
  110. package/dist/types/actions/public/call.d.ts.map +0 -1
  111. package/dist/types/actions/public/createBlockFilter.d.ts +0 -28
  112. package/dist/types/actions/public/createBlockFilter.d.ts.map +0 -1
  113. package/dist/types/actions/public/createContractEventFilter.d.ts +0 -50
  114. package/dist/types/actions/public/createContractEventFilter.d.ts.map +0 -1
  115. package/dist/types/actions/public/createEventFilter.d.ts +0 -76
  116. package/dist/types/actions/public/createEventFilter.d.ts.map +0 -1
  117. package/dist/types/actions/public/createPendingTransactionFilter.d.ts +0 -28
  118. package/dist/types/actions/public/createPendingTransactionFilter.d.ts.map +0 -1
  119. package/dist/types/actions/public/estimateContractGas.d.ts +0 -39
  120. package/dist/types/actions/public/estimateContractGas.d.ts.map +0 -1
  121. package/dist/types/actions/public/estimateGas.d.ts +0 -49
  122. package/dist/types/actions/public/estimateGas.d.ts.map +0 -1
  123. package/dist/types/actions/public/getBalance.d.ts +0 -55
  124. package/dist/types/actions/public/getBalance.d.ts.map +0 -1
  125. package/dist/types/actions/public/getBlock.d.ts +0 -56
  126. package/dist/types/actions/public/getBlock.d.ts.map +0 -1
  127. package/dist/types/actions/public/getBlockNumber.d.ts +0 -57
  128. package/dist/types/actions/public/getBlockNumber.d.ts.map +0 -1
  129. package/dist/types/actions/public/getBlockTransactionCount.d.ts +0 -47
  130. package/dist/types/actions/public/getBlockTransactionCount.d.ts.map +0 -1
  131. package/dist/types/actions/public/getBytecode.d.ts +0 -41
  132. package/dist/types/actions/public/getBytecode.d.ts.map +0 -1
  133. package/dist/types/actions/public/getChainId.d.ts +0 -28
  134. package/dist/types/actions/public/getChainId.d.ts.map +0 -1
  135. package/dist/types/actions/public/getFeeHistory.d.ts +0 -53
  136. package/dist/types/actions/public/getFeeHistory.d.ts.map +0 -1
  137. package/dist/types/actions/public/getFilterChanges.d.ts +0 -96
  138. package/dist/types/actions/public/getFilterChanges.d.ts.map +0 -1
  139. package/dist/types/actions/public/getFilterLogs.d.ts +0 -40
  140. package/dist/types/actions/public/getFilterLogs.d.ts.map +0 -1
  141. package/dist/types/actions/public/getGasPrice.d.ts +0 -27
  142. package/dist/types/actions/public/getGasPrice.d.ts.map +0 -1
  143. package/dist/types/actions/public/getLogs.d.ts +0 -71
  144. package/dist/types/actions/public/getLogs.d.ts.map +0 -1
  145. package/dist/types/actions/public/getStorageAt.d.ts +0 -43
  146. package/dist/types/actions/public/getStorageAt.d.ts.map +0 -1
  147. package/dist/types/actions/public/getTransaction.d.ts +0 -65
  148. package/dist/types/actions/public/getTransaction.d.ts.map +0 -1
  149. package/dist/types/actions/public/getTransactionConfirmations.d.ts +0 -41
  150. package/dist/types/actions/public/getTransactionConfirmations.d.ts.map +0 -1
  151. package/dist/types/actions/public/getTransactionCount.d.ts +0 -44
  152. package/dist/types/actions/public/getTransactionCount.d.ts.map +0 -1
  153. package/dist/types/actions/public/getTransactionReceipt.d.ts +0 -36
  154. package/dist/types/actions/public/getTransactionReceipt.d.ts.map +0 -1
  155. package/dist/types/actions/public/multicall.d.ts +0 -56
  156. package/dist/types/actions/public/multicall.d.ts.map +0 -1
  157. package/dist/types/actions/public/readContract.d.ts +0 -41
  158. package/dist/types/actions/public/readContract.d.ts.map +0 -1
  159. package/dist/types/actions/public/simulateContract.d.ts +0 -54
  160. package/dist/types/actions/public/simulateContract.d.ts.map +0 -1
  161. package/dist/types/actions/public/uninstallFilter.d.ts +0 -34
  162. package/dist/types/actions/public/uninstallFilter.d.ts.map +0 -1
  163. package/dist/types/actions/public/verifyHash.d.ts +0 -24
  164. package/dist/types/actions/public/verifyHash.d.ts.map +0 -1
  165. package/dist/types/actions/public/verifyMessage.d.ts +0 -28
  166. package/dist/types/actions/public/verifyMessage.d.ts.map +0 -1
  167. package/dist/types/actions/public/verifyTypedData.d.ts +0 -27
  168. package/dist/types/actions/public/verifyTypedData.d.ts.map +0 -1
  169. package/dist/types/actions/public/waitForTransactionReceipt.d.ts +0 -72
  170. package/dist/types/actions/public/waitForTransactionReceipt.d.ts.map +0 -1
  171. package/dist/types/actions/public/watchBlockNumber.d.ts +0 -59
  172. package/dist/types/actions/public/watchBlockNumber.d.ts.map +0 -1
  173. package/dist/types/actions/public/watchBlocks.d.ts +0 -67
  174. package/dist/types/actions/public/watchBlocks.d.ts.map +0 -1
  175. package/dist/types/actions/public/watchContractEvent.d.ts +0 -89
  176. package/dist/types/actions/public/watchContractEvent.d.ts.map +0 -1
  177. package/dist/types/actions/public/watchEvent.d.ts +0 -104
  178. package/dist/types/actions/public/watchEvent.d.ts.map +0 -1
  179. package/dist/types/actions/public/watchPendingTransactions.d.ts +0 -74
  180. package/dist/types/actions/public/watchPendingTransactions.d.ts.map +0 -1
  181. package/dist/types/actions/test/dropTransaction.d.ts +0 -33
  182. package/dist/types/actions/test/dropTransaction.d.ts.map +0 -1
  183. package/dist/types/actions/test/getAutomine.d.ts +0 -27
  184. package/dist/types/actions/test/getAutomine.d.ts.map +0 -1
  185. package/dist/types/actions/test/getTxpoolContent.d.ts +0 -34
  186. package/dist/types/actions/test/getTxpoolContent.d.ts.map +0 -1
  187. package/dist/types/actions/test/getTxpoolStatus.d.ts +0 -30
  188. package/dist/types/actions/test/getTxpoolStatus.d.ts.map +0 -1
  189. package/dist/types/actions/test/impersonateAccount.d.ts +0 -33
  190. package/dist/types/actions/test/impersonateAccount.d.ts.map +0 -1
  191. package/dist/types/actions/test/increaseTime.d.ts +0 -32
  192. package/dist/types/actions/test/increaseTime.d.ts.map +0 -1
  193. package/dist/types/actions/test/inspectTxpool.d.ts +0 -31
  194. package/dist/types/actions/test/inspectTxpool.d.ts.map +0 -1
  195. package/dist/types/actions/test/mine.d.ts +0 -32
  196. package/dist/types/actions/test/mine.d.ts.map +0 -1
  197. package/dist/types/actions/test/removeBlockTimestampInterval.d.ts +0 -25
  198. package/dist/types/actions/test/removeBlockTimestampInterval.d.ts.map +0 -1
  199. package/dist/types/actions/test/reset.d.ts +0 -32
  200. package/dist/types/actions/test/reset.d.ts.map +0 -1
  201. package/dist/types/actions/test/revert.d.ts +0 -31
  202. package/dist/types/actions/test/revert.d.ts.map +0 -1
  203. package/dist/types/actions/test/sendUnsignedTransaction.d.ts +0 -35
  204. package/dist/types/actions/test/sendUnsignedTransaction.d.ts.map +0 -1
  205. package/dist/types/actions/test/setAutomine.d.ts +0 -25
  206. package/dist/types/actions/test/setAutomine.d.ts.map +0 -1
  207. package/dist/types/actions/test/setBalance.d.ts +0 -36
  208. package/dist/types/actions/test/setBalance.d.ts.map +0 -1
  209. package/dist/types/actions/test/setBlockGasLimit.d.ts +0 -30
  210. package/dist/types/actions/test/setBlockGasLimit.d.ts.map +0 -1
  211. package/dist/types/actions/test/setBlockTimestampInterval.d.ts +0 -30
  212. package/dist/types/actions/test/setBlockTimestampInterval.d.ts.map +0 -1
  213. package/dist/types/actions/test/setCode.d.ts +0 -37
  214. package/dist/types/actions/test/setCode.d.ts.map +0 -1
  215. package/dist/types/actions/test/setCoinbase.d.ts +0 -33
  216. package/dist/types/actions/test/setCoinbase.d.ts.map +0 -1
  217. package/dist/types/actions/test/setIntervalMining.d.ts +0 -30
  218. package/dist/types/actions/test/setIntervalMining.d.ts.map +0 -1
  219. package/dist/types/actions/test/setLoggingEnabled.d.ts +0 -25
  220. package/dist/types/actions/test/setLoggingEnabled.d.ts.map +0 -1
  221. package/dist/types/actions/test/setMinGasPrice.d.ts +0 -34
  222. package/dist/types/actions/test/setMinGasPrice.d.ts.map +0 -1
  223. package/dist/types/actions/test/setNextBlockBaseFeePerGas.d.ts +0 -32
  224. package/dist/types/actions/test/setNextBlockBaseFeePerGas.d.ts.map +0 -1
  225. package/dist/types/actions/test/setNextBlockTimestamp.d.ts +0 -30
  226. package/dist/types/actions/test/setNextBlockTimestamp.d.ts.map +0 -1
  227. package/dist/types/actions/test/setNonce.d.ts +0 -36
  228. package/dist/types/actions/test/setNonce.d.ts.map +0 -1
  229. package/dist/types/actions/test/setRpcUrl.d.ts +0 -26
  230. package/dist/types/actions/test/setRpcUrl.d.ts.map +0 -1
  231. package/dist/types/actions/test/setStorageAt.d.ts +0 -40
  232. package/dist/types/actions/test/setStorageAt.d.ts.map +0 -1
  233. package/dist/types/actions/test/snapshot.d.ts +0 -25
  234. package/dist/types/actions/test/snapshot.d.ts.map +0 -1
  235. package/dist/types/actions/test/stopImpersonatingAccount.d.ts +0 -33
  236. package/dist/types/actions/test/stopImpersonatingAccount.d.ts.map +0 -1
  237. package/dist/types/actions/wallet/addChain.d.ts +0 -29
  238. package/dist/types/actions/wallet/addChain.d.ts.map +0 -1
  239. package/dist/types/actions/wallet/deployContract.d.ts +0 -43
  240. package/dist/types/actions/wallet/deployContract.d.ts.map +0 -1
  241. package/dist/types/actions/wallet/getAddresses.d.ts +0 -28
  242. package/dist/types/actions/wallet/getAddresses.d.ts.map +0 -1
  243. package/dist/types/actions/wallet/getPermissions.d.ts +0 -28
  244. package/dist/types/actions/wallet/getPermissions.d.ts.map +0 -1
  245. package/dist/types/actions/wallet/requestAddresses.d.ts +0 -32
  246. package/dist/types/actions/wallet/requestAddresses.d.ts.map +0 -1
  247. package/dist/types/actions/wallet/requestPermissions.d.ts +0 -37
  248. package/dist/types/actions/wallet/requestPermissions.d.ts.map +0 -1
  249. package/dist/types/actions/wallet/sendTransaction.d.ts +0 -57
  250. package/dist/types/actions/wallet/sendTransaction.d.ts.map +0 -1
  251. package/dist/types/actions/wallet/signMessage.d.ts +0 -58
  252. package/dist/types/actions/wallet/signMessage.d.ts.map +0 -1
  253. package/dist/types/actions/wallet/signTypedData.d.ts +0 -114
  254. package/dist/types/actions/wallet/signTypedData.d.ts.map +0 -1
  255. package/dist/types/actions/wallet/switchChain.d.ts +0 -30
  256. package/dist/types/actions/wallet/switchChain.d.ts.map +0 -1
  257. package/dist/types/actions/wallet/watchAsset.d.ts +0 -37
  258. package/dist/types/actions/wallet/watchAsset.d.ts.map +0 -1
  259. package/dist/types/actions/wallet/writeContract.d.ts +0 -68
  260. package/dist/types/actions/wallet/writeContract.d.ts.map +0 -1
  261. package/dist/types/chains/celo/formatters.d.ts +0 -195
  262. package/dist/types/chains/celo/formatters.d.ts.map +0 -1
  263. package/dist/types/chains/celo/serializers.d.ts +0 -20
  264. package/dist/types/chains/celo/serializers.d.ts.map +0 -1
  265. package/dist/types/chains/celo/types.d.ts +0 -60
  266. package/dist/types/chains/celo/types.d.ts.map +0 -1
  267. package/dist/types/chains/index.d.ts +0 -5329
  268. package/dist/types/chains/index.d.ts.map +0 -1
  269. package/dist/types/chains/optimism/fees.d.ts +0 -4
  270. package/dist/types/chains/optimism/fees.d.ts.map +0 -1
  271. package/dist/types/chains/optimism/formatters.d.ts +0 -299
  272. package/dist/types/chains/optimism/formatters.d.ts.map +0 -1
  273. package/dist/types/chains/optimism/types.d.ts +0 -53
  274. package/dist/types/chains/optimism/types.d.ts.map +0 -1
  275. package/dist/types/chains/utils.d.ts +0 -6
  276. package/dist/types/chains/utils.d.ts.map +0 -1
  277. package/dist/types/clients/createClient.d.ts +0 -79
  278. package/dist/types/clients/createClient.d.ts.map +0 -1
  279. package/dist/types/clients/createPublicClient.d.ts +0 -29
  280. package/dist/types/clients/createPublicClient.d.ts.map +0 -1
  281. package/dist/types/clients/createTestClient.d.ts +0 -43
  282. package/dist/types/clients/createTestClient.d.ts.map +0 -1
  283. package/dist/types/clients/createWalletClient.d.ts +0 -49
  284. package/dist/types/clients/createWalletClient.d.ts.map +0 -1
  285. package/dist/types/clients/decorators/public.d.ts +0 -1087
  286. package/dist/types/clients/decorators/public.d.ts.map +0 -1
  287. package/dist/types/clients/decorators/test.d.ts +0 -599
  288. package/dist/types/clients/decorators/test.d.ts.map +0 -1
  289. package/dist/types/clients/decorators/wallet.d.ts +0 -449
  290. package/dist/types/clients/decorators/wallet.d.ts.map +0 -1
  291. package/dist/types/clients/transports/createTransport.d.ts +0 -34
  292. package/dist/types/clients/transports/createTransport.d.ts.map +0 -1
  293. package/dist/types/clients/transports/custom.d.ts +0 -21
  294. package/dist/types/clients/transports/custom.d.ts.map +0 -1
  295. package/dist/types/clients/transports/fallback.d.ts +0 -75
  296. package/dist/types/clients/transports/fallback.d.ts.map +0 -1
  297. package/dist/types/clients/transports/http.d.ts +0 -40
  298. package/dist/types/clients/transports/http.d.ts.map +0 -1
  299. package/dist/types/clients/transports/webSocket.d.ts +0 -46
  300. package/dist/types/clients/transports/webSocket.d.ts.map +0 -1
  301. package/dist/types/constants/abis.d.ts +0 -165
  302. package/dist/types/constants/abis.d.ts.map +0 -1
  303. package/dist/types/constants/address.d.ts +0 -2
  304. package/dist/types/constants/address.d.ts.map +0 -1
  305. package/dist/types/constants/contract.d.ts +0 -2
  306. package/dist/types/constants/contract.d.ts.map +0 -1
  307. package/dist/types/constants/contracts.d.ts +0 -2
  308. package/dist/types/constants/contracts.d.ts.map +0 -1
  309. package/dist/types/constants/number.d.ts +0 -97
  310. package/dist/types/constants/number.d.ts.map +0 -1
  311. package/dist/types/constants/solidity.d.ts +0 -15
  312. package/dist/types/constants/solidity.d.ts.map +0 -1
  313. package/dist/types/constants/unit.d.ts +0 -13
  314. package/dist/types/constants/unit.d.ts.map +0 -1
  315. package/dist/types/contract.d.ts +0 -30
  316. package/dist/types/contract.d.ts.map +0 -1
  317. package/dist/types/ens.d.ts +0 -9
  318. package/dist/types/ens.d.ts.map +0 -1
  319. package/dist/types/errors/abi.d.ts +0 -169
  320. package/dist/types/errors/abi.d.ts.map +0 -1
  321. package/dist/types/errors/account.d.ts +0 -8
  322. package/dist/types/errors/account.d.ts.map +0 -1
  323. package/dist/types/errors/address.d.ts +0 -8
  324. package/dist/types/errors/address.d.ts.map +0 -1
  325. package/dist/types/errors/base.d.ts +0 -24
  326. package/dist/types/errors/base.d.ts.map +0 -1
  327. package/dist/types/errors/block.d.ts +0 -10
  328. package/dist/types/errors/block.d.ts.map +0 -1
  329. package/dist/types/errors/ccip.d.ts +0 -29
  330. package/dist/types/errors/ccip.d.ts.map +0 -1
  331. package/dist/types/errors/chain.d.ts +0 -35
  332. package/dist/types/errors/chain.d.ts.map +0 -1
  333. package/dist/types/errors/contract.d.ts +0 -64
  334. package/dist/types/errors/contract.d.ts.map +0 -1
  335. package/dist/types/errors/data.d.ts +0 -18
  336. package/dist/types/errors/data.d.ts.map +0 -1
  337. package/dist/types/errors/encoding.d.ts +0 -53
  338. package/dist/types/errors/encoding.d.ts.map +0 -1
  339. package/dist/types/errors/ens.d.ts +0 -26
  340. package/dist/types/errors/ens.d.ts.map +0 -1
  341. package/dist/types/errors/estimateGas.d.ts +0 -14
  342. package/dist/types/errors/estimateGas.d.ts.map +0 -1
  343. package/dist/types/errors/log.d.ts +0 -6
  344. package/dist/types/errors/log.d.ts.map +0 -1
  345. package/dist/types/errors/node.d.ts +0 -105
  346. package/dist/types/errors/node.d.ts.map +0 -1
  347. package/dist/types/errors/request.d.ts +0 -61
  348. package/dist/types/errors/request.d.ts.map +0 -1
  349. package/dist/types/errors/rpc.d.ts +0 -221
  350. package/dist/types/errors/rpc.d.ts.map +0 -1
  351. package/dist/types/errors/transaction.d.ts +0 -79
  352. package/dist/types/errors/transaction.d.ts.map +0 -1
  353. package/dist/types/errors/transport.d.ts +0 -5
  354. package/dist/types/errors/transport.d.ts.map +0 -1
  355. package/dist/types/errors/utils.d.ts +0 -5
  356. package/dist/types/errors/utils.d.ts.map +0 -1
  357. package/dist/types/errors/version.d.ts +0 -2
  358. package/dist/types/errors/version.d.ts.map +0 -1
  359. package/dist/types/index.d.ts +0 -211
  360. package/dist/types/index.d.ts.map +0 -1
  361. package/dist/types/public.d.ts +0 -31
  362. package/dist/types/public.d.ts.map +0 -1
  363. package/dist/types/test.d.ts +0 -29
  364. package/dist/types/test.d.ts.map +0 -1
  365. package/dist/types/types/account.d.ts +0 -12
  366. package/dist/types/types/account.d.ts.map +0 -1
  367. package/dist/types/types/block.d.ts +0 -62
  368. package/dist/types/types/block.d.ts.map +0 -1
  369. package/dist/types/types/chain.d.ts +0 -62
  370. package/dist/types/types/chain.d.ts.map +0 -1
  371. package/dist/types/types/contract.d.ts +0 -138
  372. package/dist/types/types/contract.d.ts.map +0 -1
  373. package/dist/types/types/eip1193.d.ts +0 -1216
  374. package/dist/types/types/eip1193.d.ts.map +0 -1
  375. package/dist/types/types/ens.d.ts +0 -5
  376. package/dist/types/types/ens.d.ts.map +0 -1
  377. package/dist/types/types/fee.d.ts +0 -29
  378. package/dist/types/types/fee.d.ts.map +0 -1
  379. package/dist/types/types/filter.d.ts +0 -40
  380. package/dist/types/types/filter.d.ts.map +0 -1
  381. package/dist/types/types/log.d.ts +0 -55
  382. package/dist/types/types/log.d.ts.map +0 -1
  383. package/dist/types/types/misc.d.ts +0 -14
  384. package/dist/types/types/misc.d.ts.map +0 -1
  385. package/dist/types/types/multicall.d.ts +0 -48
  386. package/dist/types/types/multicall.d.ts.map +0 -1
  387. package/dist/types/types/rpc.d.ts +0 -20
  388. package/dist/types/types/rpc.d.ts.map +0 -1
  389. package/dist/types/types/transaction.d.ts +0 -147
  390. package/dist/types/types/transaction.d.ts.map +0 -1
  391. package/dist/types/types/transport.d.ts +0 -3
  392. package/dist/types/types/transport.d.ts.map +0 -1
  393. package/dist/types/types/typedData.d.ts +0 -47
  394. package/dist/types/types/typedData.d.ts.map +0 -1
  395. package/dist/types/types/utils.d.ts +0 -188
  396. package/dist/types/types/utils.d.ts.map +0 -1
  397. package/dist/types/types/window.d.ts +0 -7
  398. package/dist/types/types/window.d.ts.map +0 -1
  399. package/dist/types/utils/abi/decodeAbiParameters.d.ts +0 -5
  400. package/dist/types/utils/abi/decodeAbiParameters.d.ts.map +0 -1
  401. package/dist/types/utils/abi/decodeDeployData.d.ts +0 -13
  402. package/dist/types/utils/abi/decodeDeployData.d.ts.map +0 -1
  403. package/dist/types/utils/abi/decodeErrorResult.d.ts +0 -16
  404. package/dist/types/utils/abi/decodeErrorResult.d.ts.map +0 -1
  405. package/dist/types/utils/abi/decodeEventLog.d.ts +0 -20
  406. package/dist/types/utils/abi/decodeEventLog.d.ts.map +0 -1
  407. package/dist/types/utils/abi/decodeFunctionData.d.ts +0 -15
  408. package/dist/types/utils/abi/decodeFunctionData.d.ts.map +0 -1
  409. package/dist/types/utils/abi/decodeFunctionResult.d.ts +0 -14
  410. package/dist/types/utils/abi/decodeFunctionResult.d.ts.map +0 -1
  411. package/dist/types/utils/abi/encodeAbiParameters.d.ts +0 -9
  412. package/dist/types/utils/abi/encodeAbiParameters.d.ts.map +0 -1
  413. package/dist/types/utils/abi/encodeDeployData.d.ts +0 -9
  414. package/dist/types/utils/abi/encodeDeployData.d.ts.map +0 -1
  415. package/dist/types/utils/abi/encodeErrorResult.d.ts +0 -11
  416. package/dist/types/utils/abi/encodeErrorResult.d.ts.map +0 -1
  417. package/dist/types/utils/abi/encodeEventTopics.d.ts +0 -13
  418. package/dist/types/utils/abi/encodeEventTopics.d.ts.map +0 -1
  419. package/dist/types/utils/abi/encodeFunctionData.d.ts +0 -11
  420. package/dist/types/utils/abi/encodeFunctionData.d.ts.map +0 -1
  421. package/dist/types/utils/abi/encodeFunctionResult.d.ts +0 -13
  422. package/dist/types/utils/abi/encodeFunctionResult.d.ts.map +0 -1
  423. package/dist/types/utils/abi/encodePacked.d.ts +0 -11
  424. package/dist/types/utils/abi/encodePacked.d.ts.map +0 -1
  425. package/dist/types/utils/abi/formatAbiItem.d.ts +0 -9
  426. package/dist/types/utils/abi/formatAbiItem.d.ts.map +0 -1
  427. package/dist/types/utils/abi/formatAbiItemWithArgs.d.ts +0 -8
  428. package/dist/types/utils/abi/formatAbiItemWithArgs.d.ts.map +0 -1
  429. package/dist/types/utils/abi/getAbiItem.d.ts +0 -12
  430. package/dist/types/utils/abi/getAbiItem.d.ts.map +0 -1
  431. package/dist/types/utils/accounts.d.ts +0 -3
  432. package/dist/types/utils/accounts.d.ts.map +0 -1
  433. package/dist/types/utils/address/getAddress.d.ts +0 -4
  434. package/dist/types/utils/address/getAddress.d.ts.map +0 -1
  435. package/dist/types/utils/address/getContractAddress.d.ts +0 -20
  436. package/dist/types/utils/address/getContractAddress.d.ts.map +0 -1
  437. package/dist/types/utils/address/isAddress.d.ts +0 -3
  438. package/dist/types/utils/address/isAddress.d.ts.map +0 -1
  439. package/dist/types/utils/address/isAddressEqual.d.ts +0 -3
  440. package/dist/types/utils/address/isAddressEqual.d.ts.map +0 -1
  441. package/dist/types/utils/buildRequest.d.ts +0 -6
  442. package/dist/types/utils/buildRequest.d.ts.map +0 -1
  443. package/dist/types/utils/ccip.d.ts +0 -37
  444. package/dist/types/utils/ccip.d.ts.map +0 -1
  445. package/dist/types/utils/chain.d.ts +0 -14
  446. package/dist/types/utils/chain.d.ts.map +0 -1
  447. package/dist/types/utils/contract/extractFunctionParts.d.ts +0 -13
  448. package/dist/types/utils/contract/extractFunctionParts.d.ts.map +0 -1
  449. package/dist/types/utils/data/concat.d.ts +0 -6
  450. package/dist/types/utils/data/concat.d.ts.map +0 -1
  451. package/dist/types/utils/data/isBytes.d.ts +0 -3
  452. package/dist/types/utils/data/isBytes.d.ts.map +0 -1
  453. package/dist/types/utils/data/isBytesEqual.d.ts +0 -3
  454. package/dist/types/utils/data/isBytesEqual.d.ts.map +0 -1
  455. package/dist/types/utils/data/isHex.d.ts +0 -5
  456. package/dist/types/utils/data/isHex.d.ts.map +0 -1
  457. package/dist/types/utils/data/pad.d.ts +0 -11
  458. package/dist/types/utils/data/pad.d.ts.map +0 -1
  459. package/dist/types/utils/data/size.d.ts +0 -9
  460. package/dist/types/utils/data/size.d.ts.map +0 -1
  461. package/dist/types/utils/data/slice.d.ts +0 -33
  462. package/dist/types/utils/data/slice.d.ts.map +0 -1
  463. package/dist/types/utils/data/trim.d.ts +0 -8
  464. package/dist/types/utils/data/trim.d.ts.map +0 -1
  465. package/dist/types/utils/encoding/fromBytes.d.ts +0 -109
  466. package/dist/types/utils/encoding/fromBytes.d.ts.map +0 -1
  467. package/dist/types/utils/encoding/fromHex.d.ts +0 -138
  468. package/dist/types/utils/encoding/fromHex.d.ts.map +0 -1
  469. package/dist/types/utils/encoding/fromRlp.d.ts +0 -6
  470. package/dist/types/utils/encoding/fromRlp.d.ts.map +0 -1
  471. package/dist/types/utils/encoding/toBytes.d.ts +0 -125
  472. package/dist/types/utils/encoding/toBytes.d.ts.map +0 -1
  473. package/dist/types/utils/encoding/toHex.d.ts +0 -139
  474. package/dist/types/utils/encoding/toHex.d.ts.map +0 -1
  475. package/dist/types/utils/encoding/toRlp.d.ts +0 -8
  476. package/dist/types/utils/encoding/toRlp.d.ts.map +0 -1
  477. package/dist/types/utils/ens/avatar/parseAvatarRecord.d.ts +0 -9
  478. package/dist/types/utils/ens/avatar/parseAvatarRecord.d.ts.map +0 -1
  479. package/dist/types/utils/ens/avatar/utils.d.ts +0 -37
  480. package/dist/types/utils/ens/avatar/utils.d.ts.map +0 -1
  481. package/dist/types/utils/ens/encodeLabelhash.d.ts +0 -3
  482. package/dist/types/utils/ens/encodeLabelhash.d.ts.map +0 -1
  483. package/dist/types/utils/ens/encodedLabelToLabelhash.d.ts +0 -3
  484. package/dist/types/utils/ens/encodedLabelToLabelhash.d.ts.map +0 -1
  485. package/dist/types/utils/ens/errors.d.ts +0 -2
  486. package/dist/types/utils/ens/errors.d.ts.map +0 -1
  487. package/dist/types/utils/ens/labelhash.d.ts +0 -11
  488. package/dist/types/utils/ens/labelhash.d.ts.map +0 -1
  489. package/dist/types/utils/ens/namehash.d.ts +0 -13
  490. package/dist/types/utils/ens/namehash.d.ts.map +0 -1
  491. package/dist/types/utils/ens/normalize.d.ts +0 -12
  492. package/dist/types/utils/ens/normalize.d.ts.map +0 -1
  493. package/dist/types/utils/ens/packetToBytes.d.ts +0 -3
  494. package/dist/types/utils/ens/packetToBytes.d.ts.map +0 -1
  495. package/dist/types/utils/errors/getCallError.d.ts +0 -9
  496. package/dist/types/utils/errors/getCallError.d.ts.map +0 -1
  497. package/dist/types/utils/errors/getContractError.d.ts +0 -12
  498. package/dist/types/utils/errors/getContractError.d.ts.map +0 -1
  499. package/dist/types/utils/errors/getEstimateGasError.d.ts +0 -11
  500. package/dist/types/utils/errors/getEstimateGasError.d.ts.map +0 -1
  501. package/dist/types/utils/errors/getNodeError.d.ts +0 -7
  502. package/dist/types/utils/errors/getNodeError.d.ts.map +0 -1
  503. package/dist/types/utils/errors/getTransactionError.d.ts +0 -12
  504. package/dist/types/utils/errors/getTransactionError.d.ts.map +0 -1
  505. package/dist/types/utils/filters/createFilterRequestScope.d.ts +0 -22
  506. package/dist/types/utils/filters/createFilterRequestScope.d.ts.map +0 -1
  507. package/dist/types/utils/formatters/block.d.ts +0 -28
  508. package/dist/types/utils/formatters/block.d.ts.map +0 -1
  509. package/dist/types/utils/formatters/extract.d.ts +0 -8
  510. package/dist/types/utils/formatters/extract.d.ts.map +0 -1
  511. package/dist/types/utils/formatters/feeHistory.d.ts +0 -4
  512. package/dist/types/utils/formatters/feeHistory.d.ts.map +0 -1
  513. package/dist/types/utils/formatters/formatter.d.ts +0 -10
  514. package/dist/types/utils/formatters/formatter.d.ts.map +0 -1
  515. package/dist/types/utils/formatters/log.d.ts +0 -7
  516. package/dist/types/utils/formatters/log.d.ts.map +0 -1
  517. package/dist/types/utils/formatters/transaction.d.ts +0 -30
  518. package/dist/types/utils/formatters/transaction.d.ts.map +0 -1
  519. package/dist/types/utils/formatters/transactionReceipt.d.ts +0 -14
  520. package/dist/types/utils/formatters/transactionReceipt.d.ts.map +0 -1
  521. package/dist/types/utils/formatters/transactionRequest.d.ts +0 -14
  522. package/dist/types/utils/formatters/transactionRequest.d.ts.map +0 -1
  523. package/dist/types/utils/hash/getEventSelector.d.ts +0 -4
  524. package/dist/types/utils/hash/getEventSelector.d.ts.map +0 -1
  525. package/dist/types/utils/hash/getFunctionSelector.d.ts +0 -3
  526. package/dist/types/utils/hash/getFunctionSelector.d.ts.map +0 -1
  527. package/dist/types/utils/hash/hashFunction.d.ts +0 -4
  528. package/dist/types/utils/hash/hashFunction.d.ts.map +0 -1
  529. package/dist/types/utils/hash/isHash.d.ts +0 -3
  530. package/dist/types/utils/hash/isHash.d.ts.map +0 -1
  531. package/dist/types/utils/hash/keccak256.d.ts +0 -6
  532. package/dist/types/utils/hash/keccak256.d.ts.map +0 -1
  533. package/dist/types/utils/index.d.ts +0 -82
  534. package/dist/types/utils/index.d.ts.map +0 -1
  535. package/dist/types/utils/observe.d.ts +0 -17
  536. package/dist/types/utils/observe.d.ts.map +0 -1
  537. package/dist/types/utils/poll.d.ts +0 -13
  538. package/dist/types/utils/poll.d.ts.map +0 -1
  539. package/dist/types/utils/promise/createBatchScheduler.d.ts +0 -17
  540. package/dist/types/utils/promise/createBatchScheduler.d.ts.map +0 -1
  541. package/dist/types/utils/promise/withCache.d.ts +0 -36
  542. package/dist/types/utils/promise/withCache.d.ts.map +0 -1
  543. package/dist/types/utils/promise/withRetry.d.ts +0 -12
  544. package/dist/types/utils/promise/withRetry.d.ts.map +0 -1
  545. package/dist/types/utils/promise/withTimeout.d.ts +0 -8
  546. package/dist/types/utils/promise/withTimeout.d.ts.map +0 -1
  547. package/dist/types/utils/regex.d.ts +0 -4
  548. package/dist/types/utils/regex.d.ts.map +0 -1
  549. package/dist/types/utils/rpc.d.ts +0 -72
  550. package/dist/types/utils/rpc.d.ts.map +0 -1
  551. package/dist/types/utils/signature/hashMessage.d.ts +0 -6
  552. package/dist/types/utils/signature/hashMessage.d.ts.map +0 -1
  553. package/dist/types/utils/signature/hashTypedData.d.ts +0 -11
  554. package/dist/types/utils/signature/hashTypedData.d.ts.map +0 -1
  555. package/dist/types/utils/signature/hexToSignature.d.ts +0 -13
  556. package/dist/types/utils/signature/hexToSignature.d.ts.map +0 -1
  557. package/dist/types/utils/signature/recoverAddress.d.ts +0 -9
  558. package/dist/types/utils/signature/recoverAddress.d.ts.map +0 -1
  559. package/dist/types/utils/signature/recoverMessageAddress.d.ts +0 -9
  560. package/dist/types/utils/signature/recoverMessageAddress.d.ts.map +0 -1
  561. package/dist/types/utils/signature/recoverPublicKey.d.ts +0 -8
  562. package/dist/types/utils/signature/recoverPublicKey.d.ts.map +0 -1
  563. package/dist/types/utils/signature/recoverTypedDataAddress.d.ts +0 -13
  564. package/dist/types/utils/signature/recoverTypedDataAddress.d.ts.map +0 -1
  565. package/dist/types/utils/signature/signatureToHex.d.ts +0 -17
  566. package/dist/types/utils/signature/signatureToHex.d.ts.map +0 -1
  567. package/dist/types/utils/signature/verifyMessage.d.ts +0 -25
  568. package/dist/types/utils/signature/verifyMessage.d.ts.map +0 -1
  569. package/dist/types/utils/signature/verifyTypedData.d.ts +0 -28
  570. package/dist/types/utils/signature/verifyTypedData.d.ts.map +0 -1
  571. package/dist/types/utils/stringify.d.ts +0 -2
  572. package/dist/types/utils/stringify.d.ts.map +0 -1
  573. package/dist/types/utils/transaction/assertRequest.d.ts +0 -5
  574. package/dist/types/utils/transaction/assertRequest.d.ts.map +0 -1
  575. package/dist/types/utils/transaction/assertTransaction.d.ts +0 -5
  576. package/dist/types/utils/transaction/assertTransaction.d.ts.map +0 -1
  577. package/dist/types/utils/transaction/getSerializedTransactionType.d.ts +0 -4
  578. package/dist/types/utils/transaction/getSerializedTransactionType.d.ts.map +0 -1
  579. package/dist/types/utils/transaction/getTransactionType.d.ts +0 -4
  580. package/dist/types/utils/transaction/getTransactionType.d.ts.map +0 -1
  581. package/dist/types/utils/transaction/parseTransaction.d.ts +0 -5
  582. package/dist/types/utils/transaction/parseTransaction.d.ts.map +0 -1
  583. package/dist/types/utils/transaction/prepareRequest.d.ts +0 -20
  584. package/dist/types/utils/transaction/prepareRequest.d.ts.map +0 -1
  585. package/dist/types/utils/transaction/serializeAccessList.d.ts +0 -5
  586. package/dist/types/utils/transaction/serializeAccessList.d.ts.map +0 -1
  587. package/dist/types/utils/transaction/serializeTransaction.d.ts +0 -7
  588. package/dist/types/utils/transaction/serializeTransaction.d.ts.map +0 -1
  589. package/dist/types/utils/typedData.d.ts +0 -6
  590. package/dist/types/utils/typedData.d.ts.map +0 -1
  591. package/dist/types/utils/uid.d.ts +0 -2
  592. package/dist/types/utils/uid.d.ts.map +0 -1
  593. package/dist/types/utils/unit/formatEther.d.ts +0 -2
  594. package/dist/types/utils/unit/formatEther.d.ts.map +0 -1
  595. package/dist/types/utils/unit/formatGwei.d.ts +0 -2
  596. package/dist/types/utils/unit/formatGwei.d.ts.map +0 -1
  597. package/dist/types/utils/unit/formatUnits.d.ts +0 -2
  598. package/dist/types/utils/unit/formatUnits.d.ts.map +0 -1
  599. package/dist/types/utils/unit/parseEther.d.ts +0 -2
  600. package/dist/types/utils/unit/parseEther.d.ts.map +0 -1
  601. package/dist/types/utils/unit/parseGwei.d.ts +0 -2
  602. package/dist/types/utils/unit/parseGwei.d.ts.map +0 -1
  603. package/dist/types/utils/unit/parseUnits.d.ts +0 -2
  604. package/dist/types/utils/unit/parseUnits.d.ts.map +0 -1
  605. package/dist/types/utils/wait.d.ts +0 -2
  606. package/dist/types/utils/wait.d.ts.map +0 -1
  607. package/dist/types/wallet.d.ts +0 -11
  608. package/dist/types/wallet.d.ts.map +0 -1
  609. package/dist/types/window.d.ts +0 -2
  610. package/dist/types/window.d.ts.map +0 -1
@@ -1,41 +0,0 @@
1
- import type { Address } from 'abitype';
2
- import type { Client } from '../../clients/createClient.js';
3
- import type { Transport } from '../../clients/transports/createTransport.js';
4
- import type { Chain } from '../../types/chain.js';
5
- import type { Prettify } from '../../types/utils.js';
6
- import { type ReadContractParameters } from '../public/readContract.js';
7
- export type GetEnsNameParameters = Prettify<Pick<ReadContractParameters, 'blockNumber' | 'blockTag'> & {
8
- /** Address to get ENS name for. */
9
- address: Address;
10
- /** Address of ENS Universal Resolver Contract. */
11
- universalResolverAddress?: Address;
12
- }>;
13
- export type GetEnsNameReturnType = string | null;
14
- /**
15
- * Gets primary name for specified address.
16
- *
17
- * - Docs: https://viem.sh/docs/ens/actions/getEnsName.html
18
- * - Examples: https://stackblitz.com/github/wagmi-dev/viem/tree/main/examples/ens
19
- *
20
- * Calls `reverse(bytes)` on ENS Universal Resolver Contract to "reverse resolve" the address to the primary ENS name.
21
- *
22
- * @param client - Client to use
23
- * @param parameters - {@link GetEnsNameParameters}
24
- * @returns Name or `null` if not found. {@link GetEnsNameReturnType}
25
- *
26
- * @example
27
- * import { createPublicClient, http } from 'viem'
28
- * import { mainnet } from 'viem/chains'
29
- * import { getEnsName } from 'viem/ens'
30
- *
31
- * const client = createPublicClient({
32
- * chain: mainnet,
33
- * transport: http(),
34
- * })
35
- * const ensName = await getEnsName(client, {
36
- * address: '0xd2135CfB216b74109775236E36d4b433F1DF507B',
37
- * })
38
- * // 'wagmi-dev.eth'
39
- */
40
- export declare function getEnsName<TChain extends Chain | undefined>(client: Client<Transport, TChain>, { address, blockNumber, blockTag, universalResolverAddress: universalResolverAddress_, }: GetEnsNameParameters): Promise<GetEnsNameReturnType>;
41
- //# sourceMappingURL=getEnsName.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getEnsName.d.ts","sourceRoot":"","sources":["../../../../src/actions/ens/getEnsName.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;AAE5E,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAKpD,OAAO,EACL,KAAK,sBAAsB,EAE5B,MAAM,2BAA2B,CAAA;AAElC,MAAM,MAAM,oBAAoB,GAAG,QAAQ,CACzC,IAAI,CAAC,sBAAsB,EAAE,aAAa,GAAG,UAAU,CAAC,GAAG;IACzD,mCAAmC;IACnC,OAAO,EAAE,OAAO,CAAA;IAChB,kDAAkD;IAClD,wBAAwB,CAAC,EAAE,OAAO,CAAA;CACnC,CACF,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,IAAI,CAAA;AAEhD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAsB,UAAU,CAAC,MAAM,SAAS,KAAK,GAAG,SAAS,EAC/D,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,EACjC,EACE,OAAO,EACP,WAAW,EACX,QAAQ,EACR,wBAAwB,EAAE,yBAAyB,GACpD,EAAE,oBAAoB,GACtB,OAAO,CAAC,oBAAoB,CAAC,CA8B/B"}
@@ -1,43 +0,0 @@
1
- import type { Address } from 'abitype';
2
- import type { Client } from '../../clients/createClient.js';
3
- import type { Transport } from '../../clients/transports/createTransport.js';
4
- import type { Chain } from '../../types/chain.js';
5
- import type { Prettify } from '../../types/utils.js';
6
- import { type ReadContractParameters } from '../public/readContract.js';
7
- export type GetEnsResolverParameters = Prettify<Pick<ReadContractParameters, 'blockNumber' | 'blockTag'> & {
8
- /** Name to get the address for. */
9
- name: string;
10
- /** Address of ENS Universal Resolver Contract. */
11
- universalResolverAddress?: Address;
12
- }>;
13
- export type GetEnsResolverReturnType = Address;
14
- /**
15
- * Gets resolver for ENS name.
16
- *
17
- * - Docs: https://viem.sh/docs/ens/actions/getEnsResolver.html
18
- * - Examples: https://stackblitz.com/github/wagmi-dev/viem/tree/main/examples/ens
19
- *
20
- * Calls `findResolver(bytes)` on ENS Universal Resolver Contract to retrieve the resolver of an ENS name.
21
- *
22
- * Since ENS names prohibit certain forbidden characters (e.g. underscore) and have other validation rules, you likely want to [normalize ENS names](https://docs.ens.domains/contract-api-reference/name-processing#normalising-names) with [UTS-46 normalization](https://unicode.org/reports/tr46) before passing them to `getEnsAddress`. You can use the built-in [`normalize`](https://viem.sh/docs/ens/utilities/normalize.html) function for this.
23
- *
24
- * @param client - Client to use
25
- * @param parameters - {@link GetEnsResolverParameters}
26
- * @returns Address for ENS resolver. {@link GetEnsResolverReturnType}
27
- *
28
- * @example
29
- * import { createPublicClient, http } from 'viem'
30
- * import { mainnet } from 'viem/chains'
31
- * import { getEnsResolver, normalize } from 'viem/ens'
32
- *
33
- * const client = createPublicClient({
34
- * chain: mainnet,
35
- * transport: http(),
36
- * })
37
- * const resolverAddress = await getEnsResolver(client, {
38
- * name: normalize('wagmi-dev.eth'),
39
- * })
40
- * // '0x4976fb03C32e5B8cfe2b6cCB31c09Ba78EBaBa41'
41
- */
42
- export declare function getEnsResolver<TChain extends Chain | undefined>(client: Client<Transport, TChain>, { blockNumber, blockTag, name, universalResolverAddress: universalResolverAddress_, }: GetEnsResolverParameters): Promise<`0x${string}`>;
43
- //# sourceMappingURL=getEnsResolver.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getEnsResolver.d.ts","sourceRoot":"","sources":["../../../../src/actions/ens/getEnsResolver.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,KAAK,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAIpD,OAAO,EACL,KAAK,sBAAsB,EAE5B,MAAM,2BAA2B,CAAA;AAElC,MAAM,MAAM,wBAAwB,GAAG,QAAQ,CAC7C,IAAI,CAAC,sBAAsB,EAAE,aAAa,GAAG,UAAU,CAAC,GAAG;IACzD,mCAAmC;IACnC,IAAI,EAAE,MAAM,CAAA;IACZ,kDAAkD;IAClD,wBAAwB,CAAC,EAAE,OAAO,CAAA;CACnC,CACF,CAAA;AAED,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAAA;AAE9C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAsB,cAAc,CAAC,MAAM,SAAS,KAAK,GAAG,SAAS,EACnE,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,EACjC,EACE,WAAW,EACX,QAAQ,EACR,IAAI,EACJ,wBAAwB,EAAE,yBAAyB,GACpD,EAAE,wBAAwB,0BAiC5B"}
@@ -1,46 +0,0 @@
1
- import type { Address } from 'abitype';
2
- import type { Client } from '../../clients/createClient.js';
3
- import type { Transport } from '../../clients/transports/createTransport.js';
4
- import type { Chain } from '../../types/chain.js';
5
- import type { Prettify } from '../../types/utils.js';
6
- import { type ReadContractParameters } from '../public/readContract.js';
7
- export type GetEnsTextParameters = Prettify<Pick<ReadContractParameters, 'blockNumber' | 'blockTag'> & {
8
- /** ENS name to get Text for. */
9
- name: string;
10
- /** Text record to retrieve. */
11
- key: string;
12
- /** Address of ENS Universal Resolver Contract. */
13
- universalResolverAddress?: Address;
14
- }>;
15
- export type GetEnsTextReturnType = string | null;
16
- /**
17
- * Gets a text record for specified ENS name.
18
- *
19
- * - Docs: https://viem.sh/docs/ens/actions/getEnsResolver.html
20
- * - Examples: https://stackblitz.com/github/wagmi-dev/viem/tree/main/examples/ens
21
- *
22
- * Calls `resolve(bytes, bytes)` on ENS Universal Resolver Contract.
23
- *
24
- * Since ENS names prohibit certain forbidden characters (e.g. underscore) and have other validation rules, you likely want to [normalize ENS names](https://docs.ens.domains/contract-api-reference/name-processing#normalising-names) with [UTS-46 normalization](https://unicode.org/reports/tr46) before passing them to `getEnsAddress`. You can use the built-in [`normalize`](https://viem.sh/docs/ens/utilities/normalize.html) function for this.
25
- *
26
- * @param client - Client to use
27
- * @param parameters - {@link GetEnsTextParameters}
28
- * @returns Address for ENS resolver. {@link GetEnsTextReturnType}
29
- *
30
- * @example
31
- * import { createPublicClient, http } from 'viem'
32
- * import { mainnet } from 'viem/chains'
33
- * import { getEnsText, normalize } from 'viem/ens'
34
- *
35
- * const client = createPublicClient({
36
- * chain: mainnet,
37
- * transport: http(),
38
- * })
39
- * const twitterRecord = await getEnsText(client, {
40
- * name: normalize('wagmi-dev.eth'),
41
- * key: 'com.twitter',
42
- * })
43
- * // 'wagmi_sh'
44
- */
45
- export declare function getEnsText<TChain extends Chain | undefined>(client: Client<Transport, TChain>, { blockNumber, blockTag, name, key, universalResolverAddress: universalResolverAddress_, }: GetEnsTextParameters): Promise<GetEnsTextReturnType>;
46
- //# sourceMappingURL=getEnsText.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getEnsText.d.ts","sourceRoot":"","sources":["../../../../src/actions/ens/getEnsText.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;AAK5E,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAQpD,OAAO,EACL,KAAK,sBAAsB,EAE5B,MAAM,2BAA2B,CAAA;AAElC,MAAM,MAAM,oBAAoB,GAAG,QAAQ,CACzC,IAAI,CAAC,sBAAsB,EAAE,aAAa,GAAG,UAAU,CAAC,GAAG;IACzD,gCAAgC;IAChC,IAAI,EAAE,MAAM,CAAA;IACZ,+BAA+B;IAC/B,GAAG,EAAE,MAAM,CAAA;IACX,kDAAkD;IAClD,wBAAwB,CAAC,EAAE,OAAO,CAAA;CACnC,CACF,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,IAAI,CAAA;AAEhD;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,wBAAsB,UAAU,CAAC,MAAM,SAAS,KAAK,GAAG,SAAS,EAC/D,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,EACjC,EACE,WAAW,EACX,QAAQ,EACR,IAAI,EACJ,GAAG,EACH,wBAAwB,EAAE,yBAAyB,GACpD,EAAE,oBAAoB,GACtB,OAAO,CAAC,oBAAoB,CAAC,CA6C/B"}
@@ -1,314 +0,0 @@
1
- import type { Abi, AbiEvent, AbiFunction, AbiParametersToPrimitiveTypes, Address, ExtractAbiEvent, ExtractAbiEventNames, ExtractAbiFunction, ExtractAbiFunctionNames } from 'abitype';
2
- import type { Account } from '../accounts/types.js';
3
- import type { PublicClient } from '../clients/createPublicClient.js';
4
- import type { WalletClient } from '../clients/createWalletClient.js';
5
- import type { Transport } from '../clients/transports/createTransport.js';
6
- import type { Chain } from '../types/chain.js';
7
- import type { AbiEventParametersToPrimitiveTypes, MaybeExtractEventArgsFromAbi } from '../types/contract.js';
8
- import type { IsNarrowable, IsNever, IsUndefined, Or, Prettify, UnionOmit } from '../types/utils.js';
9
- import { type CreateContractEventFilterParameters, type CreateContractEventFilterReturnType } from './public/createContractEventFilter.js';
10
- import { type EstimateContractGasParameters, type EstimateContractGasReturnType } from './public/estimateContractGas.js';
11
- import { type ReadContractParameters, type ReadContractReturnType } from './public/readContract.js';
12
- import { type SimulateContractParameters, type SimulateContractReturnType } from './public/simulateContract.js';
13
- import { type WatchContractEventParameters, type WatchContractEventReturnType } from './public/watchContractEvent.js';
14
- import { type WriteContractParameters, type WriteContractReturnType } from './wallet/writeContract.js';
15
- export type GetContractParameters<TTransport extends Transport = Transport, TChain extends Chain | undefined = Chain | undefined, TAccount extends Account | undefined = Account | undefined, TAbi extends Abi | readonly unknown[] = Abi, TPublicClient extends PublicClient<TTransport, TChain> | unknown = unknown, TWalletClient extends WalletClient<TTransport, TChain, TAccount> | unknown = unknown, TAddress extends Address = Address> = {
16
- /** Contract ABI */
17
- abi: TAbi;
18
- /** Contract address */
19
- address: TAddress;
20
- /**
21
- * Public client
22
- *
23
- * If you pass in a [`publicClient`](https://viem.sh/docs/clients/public.html), the following methods are available:
24
- *
25
- * - [`createEventFilter`](https://viem.sh/docs/contract/createContractEventFilter.html)
26
- * - [`estimateGas`](https://viem.sh/docs/contract/estimateContractGas.html)
27
- * - [`read`](https://viem.sh/docs/contract/readContract.html)
28
- * - [`simulate`](https://viem.sh/docs/contract/simulateContract.html)
29
- * - [`watchEvent`](https://viem.sh/docs/contract/watchContractEvent.html)
30
- */
31
- publicClient?: TPublicClient;
32
- /**
33
- * Wallet client
34
- *
35
- * If you pass in a [`walletClient`](https://viem.sh/docs/clients/wallet.html), the following methods are available:
36
- *
37
- * - [`estimateGas`](https://viem.sh/docs/contract/estimateContractGas.html)
38
- * - [`write`](https://viem.sh/docs/contract/writeContract.html)
39
- */
40
- walletClient?: TWalletClient;
41
- };
42
- export type GetContractReturnType<TAbi extends Abi | readonly unknown[] = Abi, TPublicClient extends PublicClient | unknown = unknown, TWalletClient extends WalletClient | unknown = unknown, TAddress extends Address = Address, _EventNames extends string = TAbi extends Abi ? Abi extends TAbi ? string : ExtractAbiEventNames<TAbi> : string, _ReadFunctionNames extends string = TAbi extends Abi ? Abi extends TAbi ? string : ExtractAbiFunctionNames<TAbi, 'pure' | 'view'> : string, _WriteFunctionNames extends string = TAbi extends Abi ? Abi extends TAbi ? string : ExtractAbiFunctionNames<TAbi, 'nonpayable' | 'payable'> : string, _Narrowable extends boolean = IsNarrowable<TAbi, Abi>> = Prettify<(TPublicClient extends PublicClient ? (IsNever<_ReadFunctionNames> extends true ? unknown : {
43
- /**
44
- * Calls a read-only function on a contract, and returns the response.
45
- *
46
- * A "read-only" function (constant function) on a Solidity contract is denoted by a `view` or `pure` keyword. They can only read the state of the contract, and cannot make any changes to it. Since read-only methods do not change the state of the contract, they do not require any gas to be executed, and can be called by any user without the need to pay for gas.
47
- *
48
- * Internally, `read` uses a [Public Client](https://viem.sh/docs/clients/public.html) to call the [`call` action](https://viem.sh/docs/actions/public/call.html) with [ABI-encoded `data`](https://viem.sh/docs/contract/encodeFunctionData.html).
49
- *
50
- * @example
51
- * import { createPublicClient, getContract, http, parseAbi } from 'viem'
52
- * import { mainnet } from 'viem/chains'
53
- *
54
- * const publicClient = createPublicClient({
55
- * chain: mainnet,
56
- * transport: http(),
57
- * })
58
- * const contract = getContract({
59
- * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',
60
- * abi: parseAbi([
61
- * 'function balanceOf(address owner) view returns (uint256)',
62
- * ]),
63
- * publicClient,
64
- * })
65
- * const result = await contract.read.balanceOf(['0xA0Cf798816D4b9b9866b5330EEa46a18382f251e'])
66
- * // 424122n
67
- */
68
- read: {
69
- [FunctionName in _ReadFunctionNames]: GetReadFunction<_Narrowable, TAbi, FunctionName>;
70
- };
71
- }) & (IsNever<_WriteFunctionNames> extends true ? unknown : {
72
- /**
73
- * Estimates the gas necessary to complete a transaction without submitting it to the network.
74
- *
75
- * @example
76
- * import { createPublicClient, getContract, http, parseAbi } from 'viem'
77
- * import { mainnet } from 'viem/chains'
78
- *
79
- * const publicClient = createPublicClient({
80
- * chain: mainnet,
81
- * transport: http(),
82
- * })
83
- * const contract = getContract({
84
- * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',
85
- * abi: parseAbi(['function mint() public']),
86
- * publicClient,
87
- * })
88
- * const gas = await contract.estimateGas.mint({
89
- * account: '0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266',
90
- * })
91
- */
92
- estimateGas: {
93
- [FunctionName in _WriteFunctionNames]: GetEstimateFunction<_Narrowable, TPublicClient['chain'], undefined, TAbi, FunctionName>;
94
- };
95
- /**
96
- * Simulates/validates a contract interaction. This is useful for retrieving return data and revert reasons of contract write functions.
97
- *
98
- * This function does not require gas to execute and does not change the state of the blockchain. It is almost identical to [`readContract`](https://viem.sh/docs/contract/readContract.html), but also supports contract write functions.
99
- *
100
- * Internally, `simulate` uses a [Public Client](https://viem.sh/docs/clients/public.html) to call the [`call` action](https://viem.sh/docs/actions/public/call.html) with [ABI-encoded `data`](https://viem.sh/docs/contract/encodeFunctionData.html).
101
- *
102
- * @example
103
- * import { createPublicClient, getContract, http, parseAbi } from 'viem'
104
- * import { mainnet } from 'viem/chains'
105
- *
106
- * const publicClient = createPublicClient({
107
- * chain: mainnet,
108
- * transport: http(),
109
- * })
110
- * const contract = getContract({
111
- * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',
112
- * abi: parseAbi(['function mint() public']),
113
- * publicClient,
114
- * })
115
- * const result = await contract.simulate.mint({
116
- * account: '0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266',
117
- * })
118
- */
119
- simulate: {
120
- [FunctionName in _WriteFunctionNames]: GetSimulateFunction<_Narrowable, TPublicClient['chain'], TAbi, FunctionName>;
121
- };
122
- }) & (IsNever<_EventNames> extends true ? unknown : {
123
- /**
124
- * Creates a Filter to retrieve event logs that can be used with [`getFilterChanges`](https://viem.sh/docs/actions/public/getFilterChanges.html) or [`getFilterLogs`](https://viem.sh/docs/actions/public/getFilterLogs.html).
125
- *
126
- * @example
127
- * import { createPublicClient, getContract, http, parseAbi } from 'viem'
128
- * import { mainnet } from 'viem/chains'
129
- *
130
- * const publicClient = createPublicClient({
131
- * chain: mainnet,
132
- * transport: http(),
133
- * })
134
- * const contract = getContract({
135
- * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',
136
- * abi: parseAbi(['event Transfer(address indexed, address indexed, uint256)']),
137
- * publicClient,
138
- * })
139
- * const filter = await contract.createEventFilter.Transfer()
140
- */
141
- createEventFilter: {
142
- [EventName in _EventNames]: GetEventFilter<_Narrowable, TAbi, EventName>;
143
- };
144
- /**
145
- * Watches and returns emitted contract event logs.
146
- *
147
- * This Action will batch up all the event logs found within the [`pollingInterval`](https://viem.sh/docs/contract/watchContractEvent.html#pollinginterval-optional), and invoke them via [`onLogs`](https://viem.sh/docs/contract/watchContractEvent.html#onLogs).
148
- *
149
- * `watchEvent` will attempt to create an [Event Filter](https://viem.sh/docs/contract/createContractEventFilter.html) and listen to changes to the Filter per polling interval, however, if the RPC Provider does not support Filters (e.g. `eth_newFilter`), then `watchEvent` will fall back to using [`getLogs`](https://viem.sh/docs/actions/public/getLogs.html) instead.
150
- *
151
- * @example
152
- * import { createPublicClient, getContract, http, parseAbi } from 'viem'
153
- * import { mainnet } from 'viem/chains'
154
- *
155
- * const publicClient = createPublicClient({
156
- * chain: mainnet,
157
- * transport: http(),
158
- * })
159
- * const contract = getContract({
160
- * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',
161
- * abi: parseAbi(['event Transfer(address indexed, address indexed, uint256)']),
162
- * publicClient,
163
- * })
164
- * const filter = await contract.createEventFilter.Transfer()
165
- * const unwatch = contract.watchEvent.Transfer(
166
- * { from: '0xc961145a54C96E3aE9bAA048c4F4D6b04C13916b' },
167
- * { onLogs: (logs) => console.log(logs) },
168
- * )
169
- */
170
- watchEvent: {
171
- [EventName in _EventNames]: GetWatchEvent<_Narrowable, TAbi, EventName>;
172
- };
173
- }) : unknown) & (TWalletClient extends WalletClient ? IsNever<_WriteFunctionNames> extends true ? unknown : {
174
- /**
175
- * Estimates the gas necessary to complete a transaction without submitting it to the network.
176
- *
177
- * @example
178
- * import { createWalletClient, getContract, http, parseAbi } from 'viem'
179
- * import { mainnet } from 'viem/chains'
180
- *
181
- * const walletClient = createWalletClient({
182
- * chain: mainnet,
183
- * transport: http(),
184
- * })
185
- * const contract = getContract({
186
- * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',
187
- * abi: parseAbi(['function mint() public']),
188
- * walletClient,
189
- * })
190
- * const gas = await contract.estimateGas.mint({
191
- * account: '0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266',
192
- * })
193
- */
194
- estimateGas: {
195
- [FunctionName in _WriteFunctionNames]: GetEstimateFunction<_Narrowable, TWalletClient['chain'], TWalletClient['account'], TAbi, FunctionName>;
196
- };
197
- /**
198
- * Executes a write function on a contract.
199
- *
200
- * A "write" function on a Solidity contract modifies the state of the blockchain. These types of functions require gas to be executed, and hence a [Transaction](https://viem.sh/docs/glossary/terms.html) is needed to be broadcast in order to change the state.
201
- *
202
- * Internally, `write` uses a [Wallet Client](https://viem.sh/docs/clients/wallet.html) to call the [`sendTransaction` action](https://viem.sh/docs/actions/wallet/sendTransaction.html) with [ABI-encoded `data`](https://viem.sh/docs/contract/encodeFunctionData.html).
203
- *
204
- * __Warning: The `write` internally sends a transaction – it does not validate if the contract write will succeed (the contract may throw an error). It is highly recommended to [simulate the contract write with `contract.simulate`](https://viem.sh/docs/contract/writeContract.html#usage) before you execute it.__
205
- *
206
- * @example
207
- * import { createWalletClient, getContract, http, parseAbi } from 'viem'
208
- * import { mainnet } from 'viem/chains'
209
- *
210
- * const walletClient = createWalletClient({
211
- * chain: mainnet,
212
- * transport: http(),
213
- * })
214
- * const contract = getContract({
215
- * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',
216
- * abi: parseAbi(['function mint(uint32 tokenId) nonpayable']),
217
- * walletClient,
218
- * })
219
- * const hash = await contract.write.min([69420], {
220
- * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',
221
- * })
222
- */
223
- write: {
224
- [FunctionName in _WriteFunctionNames]: GetWriteFunction<_Narrowable, TWalletClient['chain'], TWalletClient['account'], TAbi, FunctionName>;
225
- };
226
- } : unknown)> & {
227
- address: TAddress;
228
- abi: TAbi;
229
- };
230
- /**
231
- * Gets type-safe interface for performing contract-related actions with a specific `abi` and `address`.
232
- *
233
- * - Docs https://viem.sh/docs/contract/getContract.html
234
- *
235
- * Using Contract Instances can make it easier to work with contracts if you don't want to pass the `abi` and `address` properites every time you perform contract actions, e.g. [`readContract`](https://viem.sh/docs/contract/readContract.html), [`writeContract`](https://viem.sh/docs/contract/writeContract.html), [`estimateContractGas`](https://viem.sh/docs/contract/estimateContractGas.html), etc.
236
- *
237
- * @example
238
- * import { createPublicClient, getContract, http, parseAbi } from 'viem'
239
- * import { mainnet } from 'viem/chains'
240
- *
241
- * const publicClient = createPublicClient({
242
- * chain: mainnet,
243
- * transport: http(),
244
- * })
245
- * const contract = getContract({
246
- * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',
247
- * abi: parseAbi([
248
- * 'function balanceOf(address owner) view returns (uint256)',
249
- * 'function ownerOf(uint256 tokenId) view returns (address)',
250
- * 'function totalSupply() view returns (uint256)',
251
- * ]),
252
- * publicClient,
253
- * })
254
- */
255
- export declare function getContract<TTransport extends Transport, TAddress extends Address, const TAbi extends Abi | readonly unknown[], TChain extends Chain | undefined = Chain | undefined, TAccount extends Account | undefined = Account | undefined, TPublicClient extends PublicClient<TTransport, TChain> | undefined = PublicClient<TTransport, TChain> | undefined, TWalletClient extends WalletClient<TTransport, TChain, TAccount> | undefined = WalletClient<TTransport, TChain, TAccount> | undefined>({ abi, address, publicClient, walletClient, }: GetContractParameters<TTransport, TChain, TAccount, TAbi, TPublicClient, TWalletClient, TAddress>): GetContractReturnType<TAbi, TPublicClient, TWalletClient, TAddress>;
256
- /**
257
- * @internal exporting for testing only
258
- */
259
- export declare function getFunctionParameters(values: [args?: readonly unknown[], options?: object]): {
260
- args: readonly unknown[];
261
- options: object;
262
- };
263
- /**
264
- * @internal exporting for testing only
265
- */
266
- export declare function getEventParameters(values: [args?: object | unknown[], options?: object], abiEvent: AbiEvent): {
267
- args: object | undefined;
268
- options: object;
269
- };
270
- type GetReadFunction<Narrowable extends boolean, TAbi extends Abi | readonly unknown[], TFunctionName extends string, TAbiFunction extends AbiFunction = TAbi extends Abi ? ExtractAbiFunction<TAbi, TFunctionName> : AbiFunction, Args = AbiParametersToPrimitiveTypes<TAbiFunction['inputs']>, Options = Prettify<UnionOmit<ReadContractParameters<TAbi, TFunctionName>, 'abi' | 'address' | 'args' | 'functionName'>>> = Narrowable extends true ? (...parameters: Args extends readonly [] ? [options?: Options] : [args: Args, options?: Options]) => Promise<ReadContractReturnType<TAbi, TFunctionName>> : (...parameters: [options?: Options] | [args: readonly unknown[], options?: Options]) => Promise<ReadContractReturnType>;
271
- type GetEstimateFunction<Narrowable extends boolean, TChain extends Chain | undefined, TAccount extends Account | undefined, TAbi extends Abi | readonly unknown[], TFunctionName extends string, TAbiFunction extends AbiFunction = TAbi extends Abi ? ExtractAbiFunction<TAbi, TFunctionName> : AbiFunction, Args = AbiParametersToPrimitiveTypes<TAbiFunction['inputs']>, Options = Prettify<UnionOmit<EstimateContractGasParameters<TAbi, TFunctionName, TChain, TAccount>, 'abi' | 'address' | 'args' | 'functionName'>>, IsOptionsRequired = IsUndefined<TAccount>> = Narrowable extends true ? (...parameters: Args extends readonly [] ? IsOptionsRequired extends true ? [options: Options] : [options?: Options] : [
272
- args: Args,
273
- ...parameters: IsOptionsRequired extends true ? [options: Options] : [options?: Options]
274
- ]) => Promise<EstimateContractGasReturnType> : (...parameters: (IsOptionsRequired extends true ? [options: Options] : [options?: Options]) | [
275
- args: readonly unknown[],
276
- ...parameters: IsOptionsRequired extends true ? [options: Options] : [options?: Options]
277
- ]) => Promise<EstimateContractGasReturnType>;
278
- type GetSimulateFunction<Narrowable extends boolean, TChain extends Chain | undefined, TAbi extends Abi | readonly unknown[], TFunctionName extends string, TAbiFunction extends AbiFunction = TAbi extends Abi ? ExtractAbiFunction<TAbi, TFunctionName> : AbiFunction, Args = AbiParametersToPrimitiveTypes<TAbiFunction['inputs']>> = Narrowable extends true ? <TChainOverride extends Chain | undefined, Options extends Prettify<UnionOmit<SimulateContractParameters<TAbi, TFunctionName, TChain, TChainOverride>, 'abi' | 'address' | 'args' | 'functionName'>>>(...parameters: Args extends readonly [] ? [options?: Options] : [args: Args, options?: Options]) => Promise<SimulateContractReturnType<TAbi, TFunctionName, TChain, TChainOverride>> : <TChainOverride extends Chain | undefined, Options extends Prettify<UnionOmit<SimulateContractParameters<TAbi, TFunctionName, TChain, TChainOverride>, 'abi' | 'address' | 'args' | 'functionName'>>>(...parameters: [options?: Options] | [args: readonly unknown[], options?: Options]) => Promise<SimulateContractReturnType>;
279
- type GetWriteFunction<Narrowable extends boolean, TChain extends Chain | undefined, TAccount extends Account | undefined, TAbi extends Abi | readonly unknown[], TFunctionName extends string, TAbiFunction extends AbiFunction = TAbi extends Abi ? ExtractAbiFunction<TAbi, TFunctionName> : AbiFunction, Args = AbiParametersToPrimitiveTypes<TAbiFunction['inputs']>, IsOptionsRequired = Or<[IsUndefined<TAccount>, IsUndefined<TChain>]>> = Narrowable extends true ? <TChainOverride extends Chain | undefined, Options extends Prettify<UnionOmit<WriteContractParameters<TAbi, TFunctionName, TChain, TAccount, TChainOverride>, 'abi' | 'address' | 'args' | 'functionName'>>>(...parameters: Args extends readonly [] ? IsOptionsRequired extends true ? [options: Options] : [options?: Options] : [
280
- args: Args,
281
- ...parameters: IsOptionsRequired extends true ? [options: Options] : [options?: Options]
282
- ]) => Promise<WriteContractReturnType> : <TChainOverride extends Chain | undefined, Options extends Prettify<UnionOmit<WriteContractParameters<TAbi, TFunctionName, TChain, TAccount, TChainOverride>, 'abi' | 'address' | 'args' | 'functionName'>>, Rest extends unknown[] = IsOptionsRequired extends true ? [options: Options] : [options?: Options]>(...parameters: Rest | [args: readonly unknown[], ...parameters: Rest]) => Promise<WriteContractReturnType>;
283
- type GetEventFilter<Narrowable extends boolean, TAbi extends Abi | readonly unknown[], TEventName extends string, TAbiEvent extends AbiEvent = TAbi extends Abi ? ExtractAbiEvent<TAbi, TEventName> : AbiEvent, Args = AbiEventParametersToPrimitiveTypes<TAbiEvent['inputs']>, Options = Prettify<Omit<CreateContractEventFilterParameters<TAbi, TEventName>, 'abi' | 'address' | 'args' | 'eventName' | 'strict'>>, IndexedInputs = Extract<TAbiEvent['inputs'][number], {
284
- indexed: true;
285
- }>> = Narrowable extends true ? <const TArgs extends MaybeExtractEventArgsFromAbi<TAbi, TEventName> | undefined, TStrict extends boolean | undefined = undefined>(...parameters: IsNever<IndexedInputs> extends true ? [options?: Options & {
286
- strict?: TStrict;
287
- }] : [
288
- args: Args | (Args extends TArgs ? Readonly<TArgs> : never),
289
- options?: Options & {
290
- strict?: TStrict;
291
- }
292
- ]) => Promise<CreateContractEventFilterReturnType<TAbi, TEventName, TArgs, TStrict>> : <TStrict extends boolean | undefined = undefined>(...parameters: [options?: Options & {
293
- strict?: TStrict;
294
- }] | [
295
- args: readonly unknown[] | CreateContractFilterOptions,
296
- options?: Options & {
297
- strict?: TStrict;
298
- }
299
- ]) => Promise<CreateContractEventFilterReturnType>;
300
- type GetWatchEvent<Narrowable extends boolean, TAbi extends Abi | readonly unknown[], TEventName extends string, TAbiEvent extends AbiEvent = TAbi extends Abi ? ExtractAbiEvent<TAbi, TEventName> : AbiEvent, Args = AbiEventParametersToPrimitiveTypes<TAbiEvent['inputs']>, Options = Prettify<Omit<WatchContractEventParameters<TAbi, TEventName>, 'abi' | 'address' | 'args' | 'eventName'>>, IndexedInputs = Extract<TAbiEvent['inputs'][number], {
301
- indexed: true;
302
- }>> = Narrowable extends true ? (...parameters: IsNever<IndexedInputs> extends true ? [options: Options] : [args: Args, options: Options]) => WatchContractEventReturnType : (...parameters: [options?: Options] | [
303
- args: readonly unknown[] | WatchContractEventOptions,
304
- options?: Options
305
- ]) => WatchContractEventReturnType;
306
- type CreateContractFilterOptions = RemoveProperties<CreateContractEventFilterParameters>;
307
- type WatchContractEventOptions = RemoveProperties<WatchContractEventParameters>;
308
- type RemoveProperties<T extends object> = Prettify<{
309
- [key: string]: unknown;
310
- } & {
311
- [_ in keyof T]?: never;
312
- }>;
313
- export {};
314
- //# sourceMappingURL=getContract.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getContract.d.ts","sourceRoot":"","sources":["../../../src/actions/getContract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,GAAG,EACH,QAAQ,EACR,WAAW,EACX,6BAA6B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ACjC,CACE,GAAG,UAAU,EACT,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,GACnB;IACE,IAAI,EAAE,SAAS,OAAO,EAAE,GAAG,yBAAyB;IACpD,OAAO,CAAC,EAAE,OAAO;CAClB,KACF,4BAA4B,CAAA;AAErC,KAAK,2BAA2B,GAC9B,gBAAgB,CAAC,mCAAmC,CAAC,CAAA;AACvD,KAAK,yBAAyB,GAAG,gBAAgB,CAAC,4BAA4B,CAAC,CAAA;AAE/E,KAAK,gBAAgB,CAAC,CAAC,SAAS,MAAM,IAAI,QAAQ,CAChD;IACE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CACvB,GAAG;KACD,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,KAAK;CACvB,CACF,CAAA"}
@@ -1,80 +0,0 @@
1
- export { type GetEnsAddressParameters, type GetEnsAddressReturnType, getEnsAddress, } from './ens/getEnsAddress.js';
2
- export { type GetEnsAvatarParameters, type GetEnsAvatarReturnType, getEnsAvatar, } from './ens/getEnsAvatar.js';
3
- export { type GetEnsNameParameters, type GetEnsNameReturnType, getEnsName, } from './ens/getEnsName.js';
4
- export { type GetEnsResolverParameters, type GetEnsResolverReturnType, getEnsResolver, } from './ens/getEnsResolver.js';
5
- export { type GetEnsTextParameters, type GetEnsTextReturnType, getEnsText, } from './ens/getEnsText.js';
6
- export { type CallParameters, type CallReturnType, call, } from './public/call.js';
7
- export { type CreateBlockFilterReturnType, createBlockFilter, } from './public/createBlockFilter.js';
8
- export { type CreateContractEventFilterParameters, type CreateContractEventFilterReturnType, createContractEventFilter, } from './public/createContractEventFilter.js';
9
- export { type CreateEventFilterParameters, type CreateEventFilterReturnType, createEventFilter, } from './public/createEventFilter.js';
10
- export { type CreatePendingTransactionFilterReturnType, createPendingTransactionFilter, } from './public/createPendingTransactionFilter.js';
11
- export { type EstimateContractGasParameters, type EstimateContractGasReturnType, estimateContractGas, } from './public/estimateContractGas.js';
12
- export { type EstimateGasParameters, type EstimateGasReturnType, estimateGas, } from './public/estimateGas.js';
13
- export { type GetBalanceParameters, type GetBalanceReturnType, getBalance, } from './public/getBalance.js';
14
- export { type GetBlockParameters, type GetBlockReturnType, getBlock, } from './public/getBlock.js';
15
- export { type GetBlockNumberParameters, type GetBlockNumberReturnType, getBlockNumber, } from './public/getBlockNumber.js';
16
- export { type GetBlockTransactionCountParameters, type GetBlockTransactionCountReturnType, getBlockTransactionCount, } from './public/getBlockTransactionCount.js';
17
- export { type GetBytecodeParameters, type GetBytecodeReturnType, getBytecode, } from './public/getBytecode.js';
18
- export { type GetChainIdReturnType, getChainId } from './public/getChainId.js';
19
- export { type GetFeeHistoryParameters, type GetFeeHistoryReturnType, getFeeHistory, } from './public/getFeeHistory.js';
20
- export { type GetFilterChangesParameters, type GetFilterChangesReturnType, getFilterChanges, } from './public/getFilterChanges.js';
21
- export { type GetFilterLogsParameters, type GetFilterLogsReturnType, getFilterLogs, } from './public/getFilterLogs.js';
22
- export { type GetGasPriceReturnType, getGasPrice, } from './public/getGasPrice.js';
23
- export { type GetLogsParameters, type GetLogsReturnType, getLogs, } from './public/getLogs.js';
24
- export { type GetStorageAtParameters, type GetStorageAtReturnType, getStorageAt, } from './public/getStorageAt.js';
25
- export { type GetTransactionConfirmationsParameters, type GetTransactionConfirmationsReturnType, getTransactionConfirmations, } from './public/getTransactionConfirmations.js';
26
- export { type GetTransactionCountParameters, type GetTransactionCountReturnType, getTransactionCount, } from './public/getTransactionCount.js';
27
- export { type GetTransactionParameters, type GetTransactionReturnType, getTransaction, } from './public/getTransaction.js';
28
- export { type GetTransactionReceiptParameters, type GetTransactionReceiptReturnType, getTransactionReceipt, } from './public/getTransactionReceipt.js';
29
- export { type ImpersonateAccountParameters, impersonateAccount, } from './test/impersonateAccount.js';
30
- export { type IncreaseTimeParameters, increaseTime, } from './test/increaseTime.js';
31
- export { type MineParameters, mine } from './test/mine.js';
32
- export { type MulticallParameters, type MulticallReturnType, multicall, } from './public/multicall.js';
33
- export { type OnBlock, type OnBlockParameter, type WatchBlocksParameters, type WatchBlocksReturnType, watchBlocks, } from './public/watchBlocks.js';
34
- export { type OnBlockNumberFn, type OnBlockNumberParameter, type WatchBlockNumberParameters, type WatchBlockNumberReturnType, watchBlockNumber, } from './public/watchBlockNumber.js';
35
- export { type WatchEventOnLogsFn,
36
- /** @deprecated - use `WatchEventOnLogsFn` instead. */
37
- type WatchEventOnLogsFn as OnLogsFn, type WatchEventOnLogsParameter,
38
- /** @deprecated - use `WatchEventOnLogsParameter` instead. */
39
- type WatchEventOnLogsParameter as OnLogsParameter, type WatchEventParameters, type WatchEventReturnType, watchEvent, } from './public/watchEvent.js';
40
- export { type OnTransactionsFn, type OnTransactionsParameter, type WatchPendingTransactionsParameters, type WatchPendingTransactionsReturnType, watchPendingTransactions, } from './public/watchPendingTransactions.js';
41
- export { type ReadContractParameters, type ReadContractReturnType, readContract, } from './public/readContract.js';
42
- export { type GetPermissionsReturnType, getPermissions, } from './wallet/getPermissions.js';
43
- export { type ReplacementReason, type ReplacementReturnType, type WaitForTransactionReceiptParameters, type WaitForTransactionReceiptReturnType, waitForTransactionReceipt, } from './public/waitForTransactionReceipt.js';
44
- export { type RequestAddressesReturnType, requestAddresses, } from './wallet/requestAddresses.js';
45
- export { type RequestPermissionsReturnType, type RequestPermissionsParameters, requestPermissions, } from './wallet/requestPermissions.js';
46
- export { type DropTransactionParameters, dropTransaction, } from './test/dropTransaction.js';
47
- export { type GetAutomineReturnType, getAutomine, } from './test/getAutomine.js';
48
- export { type GetTxpoolContentReturnType, getTxpoolContent, } from './test/getTxpoolContent.js';
49
- export { type GetTxpoolStatusReturnType, getTxpoolStatus, } from './test/getTxpoolStatus.js';
50
- export { type InspectTxpoolReturnType, inspectTxpool, } from './test/inspectTxpool.js';
51
- export { type ResetParameters, reset } from './test/reset.js';
52
- export { type RevertParameters, revert } from './test/revert.js';
53
- export { type SendTransactionParameters, type SendTransactionReturnType, sendTransaction, } from './wallet/sendTransaction.js';
54
- export { type SendUnsignedTransactionParameters, type SendUnsignedTransactionReturnType, sendUnsignedTransaction, } from './test/sendUnsignedTransaction.js';
55
- export { type SetBalanceParameters, setBalance } from './test/setBalance.js';
56
- export { setAutomine } from './test/setAutomine.js';
57
- export { type SetBlockGasLimitParameters, setBlockGasLimit, } from './test/setBlockGasLimit.js';
58
- export { type SetBlockTimestampIntervalParameters, setBlockTimestampInterval, } from './test/setBlockTimestampInterval.js';
59
- export { type SetCodeParameters, setCode } from './test/setCode.js';
60
- export { type SetCoinbaseParameters, setCoinbase } from './test/setCoinbase.js';
61
- export { type SetIntervalMiningParameters, setIntervalMining, } from './test/setIntervalMining.js';
62
- export { type SetMinGasPriceParameters, setMinGasPrice, } from './test/setMinGasPrice.js';
63
- export { type SetNextBlockBaseFeePerGasParameters, setNextBlockBaseFeePerGas, } from './test/setNextBlockBaseFeePerGas.js';
64
- export { type SetNextBlockTimestampParameters, setNextBlockTimestamp, } from './test/setNextBlockTimestamp.js';
65
- export { type SetNonceParameters, setNonce } from './test/setNonce.js';
66
- export { type SetStorageAtParameters, setStorageAt, } from './test/setStorageAt.js';
67
- export { snapshot } from './test/snapshot.js';
68
- export { type SignMessageParameters, type SignMessageReturnType, signMessage, } from './wallet/signMessage.js';
69
- export { type SignTypedDataParameters, type SignTypedDataReturnType, signTypedData, } from './wallet/signTypedData.js';
70
- export { type SimulateContractParameters, type SimulateContractReturnType, simulateContract, } from './public/simulateContract.js';
71
- export { type StopImpersonatingAccountParameters, stopImpersonatingAccount, } from './test/stopImpersonatingAccount.js';
72
- export { type SwitchChainParameters, switchChain, } from './wallet/switchChain.js';
73
- export { type UninstallFilterParameters, type UninstallFilterReturnType, uninstallFilter, } from './public/uninstallFilter.js';
74
- export { type VerifyHashParameters, type VerifyHashReturnType, verifyHash, } from './public/verifyHash.js';
75
- export { type VerifyMessageParameters, type VerifyMessageReturnType, verifyMessage, } from './public/verifyMessage.js';
76
- export { type VerifyTypedDataParameters, type VerifyTypedDataReturnType, verifyTypedData, } from './public/verifyTypedData.js';
77
- export { type WatchAssetParameters, type WatchAssetReturnType, watchAsset, } from './wallet/watchAsset.js';
78
- export { type WatchContractEventParameters, type WatchContractEventReturnType, watchContractEvent, } from './public/watchContractEvent.js';
79
- export { type WriteContractParameters, type WriteContractReturnType, writeContract, } from './wallet/writeContract.js';
80
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/actions/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,aAAa,GACd,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,YAAY,GACb,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EACL,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,UAAU,GACX,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,cAAc,GACf,MAAM,yBAAyB,CAAA;AAChC,OAAO,EACL,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,UAAU,GACX,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,IAAI,GACL,MAAM,kBAAkB,CAAA;AACzB,OAAO,EACL,KAAK,2BAA2B,EAChC,iBAAiB,GAClB,MAAM,+BAA+B,CAAA;AACtC,OAAO,EACL,KAAK,mCAAmC,EACxC,KAAK,mCAAmC,EACxC,yBAAyB,GAC1B,MAAM,uCAAuC,CAAA;AAC9C,OAAO,EACL,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,iBAAiB,GAClB,MAAM,+BAA+B,CAAA;AACtC,OAAO,EACL,KAAK,wCAAwC,EAC7C,8BAA8B,GAC/B,MAAM,4CAA4C,CAAA;AACnD,OAAO,EACL,KAAK,6BAA6B,EAClC,KAA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