@ensdomains/ensjs 3.4.4 → 3.5.0-beta.0

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 (321) hide show
  1. package/dist/cjs/clients/decorators/public.js.map +1 -1
  2. package/dist/cjs/contracts/addEnsContracts.js +6 -6
  3. package/dist/cjs/contracts/addEnsContracts.js.map +1 -1
  4. package/dist/cjs/contracts/consts.js +29 -34
  5. package/dist/cjs/contracts/consts.js.map +1 -1
  6. package/dist/cjs/contracts/universalResolver.js +10 -1
  7. package/dist/cjs/contracts/universalResolver.js.map +1 -1
  8. package/dist/cjs/errors/contracts.js +11 -11
  9. package/dist/cjs/errors/contracts.js.map +1 -1
  10. package/dist/cjs/errors/version.js +1 -1
  11. package/dist/cjs/errors/version.js.map +1 -1
  12. package/dist/cjs/errors/wallet.js +0 -1
  13. package/dist/cjs/functions/dns/getDnsImportData.js +1 -1
  14. package/dist/cjs/functions/dns/getDnsImportData.js.map +1 -1
  15. package/dist/cjs/functions/dns/getDnsOffchainData.js.map +1 -1
  16. package/dist/cjs/functions/dns/getDnsOwner.js.map +1 -1
  17. package/dist/cjs/functions/dns/importDnsName.js +2 -1
  18. package/dist/cjs/functions/dns/importDnsName.js.map +1 -1
  19. package/dist/cjs/functions/public/_getAbi.js +2 -2
  20. package/dist/cjs/functions/public/_getAbi.js.map +1 -1
  21. package/dist/cjs/functions/public/_getAddr.js.map +1 -1
  22. package/dist/cjs/functions/public/_getContentHash.js.map +1 -1
  23. package/dist/cjs/functions/public/_getText.js.map +1 -1
  24. package/dist/cjs/functions/public/batch.js.map +1 -1
  25. package/dist/cjs/functions/public/getAbiRecord.js +2 -1
  26. package/dist/cjs/functions/public/getAbiRecord.js.map +1 -1
  27. package/dist/cjs/functions/public/getAddressRecord.js +2 -1
  28. package/dist/cjs/functions/public/getAddressRecord.js.map +1 -1
  29. package/dist/cjs/functions/public/getContentHashRecord.js +2 -1
  30. package/dist/cjs/functions/public/getContentHashRecord.js.map +1 -1
  31. package/dist/cjs/functions/public/getExpiry.js.map +1 -1
  32. package/dist/cjs/functions/public/getName.js +5 -3
  33. package/dist/cjs/functions/public/getName.js.map +1 -1
  34. package/dist/cjs/functions/public/getOwner.js.map +1 -1
  35. package/dist/cjs/functions/public/getPrice.js.map +1 -1
  36. package/dist/cjs/functions/public/getRecords.js +6 -4
  37. package/dist/cjs/functions/public/getRecords.js.map +1 -1
  38. package/dist/cjs/functions/public/getTextRecord.js +2 -1
  39. package/dist/cjs/functions/public/getTextRecord.js.map +1 -1
  40. package/dist/cjs/functions/public/getWrapperData.js.map +1 -1
  41. package/dist/cjs/functions/public/multicallWrapper.js.map +1 -1
  42. package/dist/cjs/functions/public/universalWrapper.js +5 -3
  43. package/dist/cjs/functions/public/universalWrapper.js.map +1 -1
  44. package/dist/cjs/functions/subgraph/client.js.map +1 -1
  45. package/dist/cjs/functions/subgraph/getDecodedName.js.map +1 -1
  46. package/dist/cjs/functions/subgraph/getNameHistory.js.map +1 -1
  47. package/dist/cjs/functions/subgraph/getNamesForAddress.js.map +1 -1
  48. package/dist/cjs/functions/subgraph/getSubnames.js.map +1 -1
  49. package/dist/cjs/functions/wallet/clearRecords.js +2 -1
  50. package/dist/cjs/functions/wallet/clearRecords.js.map +1 -1
  51. package/dist/cjs/functions/wallet/commitName.js +2 -1
  52. package/dist/cjs/functions/wallet/commitName.js.map +1 -1
  53. package/dist/cjs/functions/wallet/createSubname.js +2 -1
  54. package/dist/cjs/functions/wallet/createSubname.js.map +1 -1
  55. package/dist/cjs/functions/wallet/deleteSubname.js +2 -1
  56. package/dist/cjs/functions/wallet/deleteSubname.js.map +1 -1
  57. package/dist/cjs/functions/wallet/registerName.js +2 -1
  58. package/dist/cjs/functions/wallet/registerName.js.map +1 -1
  59. package/dist/cjs/functions/wallet/renewNames.js +2 -1
  60. package/dist/cjs/functions/wallet/renewNames.js.map +1 -1
  61. package/dist/cjs/functions/wallet/setAbiRecord.js +2 -1
  62. package/dist/cjs/functions/wallet/setAbiRecord.js.map +1 -1
  63. package/dist/cjs/functions/wallet/setAddressRecord.js +2 -1
  64. package/dist/cjs/functions/wallet/setAddressRecord.js.map +1 -1
  65. package/dist/cjs/functions/wallet/setChildFuses.js +2 -1
  66. package/dist/cjs/functions/wallet/setChildFuses.js.map +1 -1
  67. package/dist/cjs/functions/wallet/setContentHashRecord.js +2 -1
  68. package/dist/cjs/functions/wallet/setContentHashRecord.js.map +1 -1
  69. package/dist/cjs/functions/wallet/setFuses.js +2 -1
  70. package/dist/cjs/functions/wallet/setFuses.js.map +1 -1
  71. package/dist/cjs/functions/wallet/setPrimaryName.js +2 -1
  72. package/dist/cjs/functions/wallet/setPrimaryName.js.map +1 -1
  73. package/dist/cjs/functions/wallet/setRecords.js +2 -1
  74. package/dist/cjs/functions/wallet/setRecords.js.map +1 -1
  75. package/dist/cjs/functions/wallet/setResolver.js +2 -1
  76. package/dist/cjs/functions/wallet/setResolver.js.map +1 -1
  77. package/dist/cjs/functions/wallet/setTextRecord.js +2 -1
  78. package/dist/cjs/functions/wallet/setTextRecord.js.map +1 -1
  79. package/dist/cjs/functions/wallet/transferName.js +2 -1
  80. package/dist/cjs/functions/wallet/transferName.js.map +1 -1
  81. package/dist/cjs/functions/wallet/unwrapName.js +2 -1
  82. package/dist/cjs/functions/wallet/unwrapName.js.map +1 -1
  83. package/dist/cjs/functions/wallet/wrapName.js +2 -1
  84. package/dist/cjs/functions/wallet/wrapName.js.map +1 -1
  85. package/dist/cjs/index.js +2 -2
  86. package/dist/cjs/index.js.map +1 -1
  87. package/dist/cjs/utils/checkSafeUniversalResolverData.js.map +1 -1
  88. package/dist/cjs/utils/contentHash.js.map +1 -1
  89. package/dist/cjs/utils/encoders/encodeAbi.js +2 -2
  90. package/dist/cjs/utils/encoders/encodeAbi.js.map +1 -1
  91. package/dist/cjs/utils/encoders/encodeSetAddr.js.map +1 -1
  92. package/dist/cjs/utils/encoders/encodeSetContentHash.js.map +1 -1
  93. package/dist/cjs/utils/fuses.js.map +1 -1
  94. package/dist/cjs/utils/generateRecordCallArray.js.map +1 -1
  95. package/dist/cjs/utils/getNameType.js.map +1 -1
  96. package/dist/cjs/utils/hexEncodedName.js.map +1 -1
  97. package/dist/cjs/utils/labels.js.map +1 -1
  98. package/dist/cjs/utils/normalise.js.map +1 -1
  99. package/dist/cjs/utils/normaliseCoinId.js.map +1 -1
  100. package/dist/cjs/utils/ownerFromContract.js.map +1 -1
  101. package/dist/cjs/utils/registerHelpers.js +6 -1
  102. package/dist/cjs/utils/registerHelpers.js.map +1 -1
  103. package/dist/cjs/utils/validation.js.map +1 -1
  104. package/dist/esm/clients/decorators/public.js.map +1 -1
  105. package/dist/esm/contracts/addEnsContracts.js +7 -7
  106. package/dist/esm/contracts/addEnsContracts.js.map +1 -1
  107. package/dist/esm/contracts/consts.js +29 -34
  108. package/dist/esm/contracts/consts.js.map +1 -1
  109. package/dist/esm/contracts/universalResolver.js +9 -0
  110. package/dist/esm/contracts/universalResolver.js.map +1 -1
  111. package/dist/esm/errors/contracts.js +9 -9
  112. package/dist/esm/errors/contracts.js.map +1 -1
  113. package/dist/esm/errors/version.js +1 -1
  114. package/dist/esm/errors/version.js.map +1 -1
  115. package/dist/esm/errors/wallet.js +1 -1
  116. package/dist/esm/functions/dns/getDnsOffchainData.js.map +1 -1
  117. package/dist/esm/functions/dns/getDnsOwner.js.map +1 -1
  118. package/dist/esm/functions/dns/importDnsName.js +3 -2
  119. package/dist/esm/functions/dns/importDnsName.js.map +1 -1
  120. package/dist/esm/functions/public/_getAbi.js.map +1 -1
  121. package/dist/esm/functions/public/_getAddr.js.map +1 -1
  122. package/dist/esm/functions/public/_getContentHash.js.map +1 -1
  123. package/dist/esm/functions/public/_getText.js.map +1 -1
  124. package/dist/esm/functions/public/batch.js.map +1 -1
  125. package/dist/esm/functions/public/getAbiRecord.js +2 -1
  126. package/dist/esm/functions/public/getAbiRecord.js.map +1 -1
  127. package/dist/esm/functions/public/getAddressRecord.js +2 -1
  128. package/dist/esm/functions/public/getAddressRecord.js.map +1 -1
  129. package/dist/esm/functions/public/getContentHashRecord.js +2 -1
  130. package/dist/esm/functions/public/getContentHashRecord.js.map +1 -1
  131. package/dist/esm/functions/public/getExpiry.js.map +1 -1
  132. package/dist/esm/functions/public/getName.js +6 -4
  133. package/dist/esm/functions/public/getName.js.map +1 -1
  134. package/dist/esm/functions/public/getOwner.js.map +1 -1
  135. package/dist/esm/functions/public/getPrice.js.map +1 -1
  136. package/dist/esm/functions/public/getRecords.js +7 -5
  137. package/dist/esm/functions/public/getRecords.js.map +1 -1
  138. package/dist/esm/functions/public/getTextRecord.js +2 -1
  139. package/dist/esm/functions/public/getTextRecord.js.map +1 -1
  140. package/dist/esm/functions/public/getWrapperData.js.map +1 -1
  141. package/dist/esm/functions/public/multicallWrapper.js.map +1 -1
  142. package/dist/esm/functions/public/universalWrapper.js +6 -4
  143. package/dist/esm/functions/public/universalWrapper.js.map +1 -1
  144. package/dist/esm/functions/subgraph/client.js.map +1 -1
  145. package/dist/esm/functions/subgraph/getDecodedName.js.map +1 -1
  146. package/dist/esm/functions/subgraph/getNameHistory.js.map +1 -1
  147. package/dist/esm/functions/subgraph/getNamesForAddress.js.map +1 -1
  148. package/dist/esm/functions/subgraph/getSubnames.js.map +1 -1
  149. package/dist/esm/functions/wallet/clearRecords.js +3 -2
  150. package/dist/esm/functions/wallet/clearRecords.js.map +1 -1
  151. package/dist/esm/functions/wallet/commitName.js +3 -2
  152. package/dist/esm/functions/wallet/commitName.js.map +1 -1
  153. package/dist/esm/functions/wallet/createSubname.js +3 -2
  154. package/dist/esm/functions/wallet/createSubname.js.map +1 -1
  155. package/dist/esm/functions/wallet/deleteSubname.js +3 -2
  156. package/dist/esm/functions/wallet/deleteSubname.js.map +1 -1
  157. package/dist/esm/functions/wallet/registerName.js +3 -2
  158. package/dist/esm/functions/wallet/registerName.js.map +1 -1
  159. package/dist/esm/functions/wallet/renewNames.js +3 -2
  160. package/dist/esm/functions/wallet/renewNames.js.map +1 -1
  161. package/dist/esm/functions/wallet/setAbiRecord.js +3 -2
  162. package/dist/esm/functions/wallet/setAbiRecord.js.map +1 -1
  163. package/dist/esm/functions/wallet/setAddressRecord.js +3 -2
  164. package/dist/esm/functions/wallet/setAddressRecord.js.map +1 -1
  165. package/dist/esm/functions/wallet/setChildFuses.js +3 -2
  166. package/dist/esm/functions/wallet/setChildFuses.js.map +1 -1
  167. package/dist/esm/functions/wallet/setContentHashRecord.js +3 -2
  168. package/dist/esm/functions/wallet/setContentHashRecord.js.map +1 -1
  169. package/dist/esm/functions/wallet/setFuses.js +3 -2
  170. package/dist/esm/functions/wallet/setFuses.js.map +1 -1
  171. package/dist/esm/functions/wallet/setPrimaryName.js +3 -2
  172. package/dist/esm/functions/wallet/setPrimaryName.js.map +1 -1
  173. package/dist/esm/functions/wallet/setRecords.js +3 -2
  174. package/dist/esm/functions/wallet/setRecords.js.map +1 -1
  175. package/dist/esm/functions/wallet/setResolver.js +3 -2
  176. package/dist/esm/functions/wallet/setResolver.js.map +1 -1
  177. package/dist/esm/functions/wallet/setTextRecord.js +3 -2
  178. package/dist/esm/functions/wallet/setTextRecord.js.map +1 -1
  179. package/dist/esm/functions/wallet/transferName.js +3 -2
  180. package/dist/esm/functions/wallet/transferName.js.map +1 -1
  181. package/dist/esm/functions/wallet/unwrapName.js +3 -2
  182. package/dist/esm/functions/wallet/unwrapName.js.map +1 -1
  183. package/dist/esm/functions/wallet/wrapName.js +3 -2
  184. package/dist/esm/functions/wallet/wrapName.js.map +1 -1
  185. package/dist/esm/index.js +1 -1
  186. package/dist/esm/index.js.map +1 -1
  187. package/dist/esm/utils/checkSafeUniversalResolverData.js.map +1 -1
  188. package/dist/esm/utils/contentHash.js.map +1 -1
  189. package/dist/esm/utils/encoders/encodeAbi.js.map +1 -1
  190. package/dist/esm/utils/encoders/encodeSetAddr.js.map +1 -1
  191. package/dist/esm/utils/encoders/encodeSetContentHash.js.map +1 -1
  192. package/dist/esm/utils/fuses.js.map +1 -1
  193. package/dist/esm/utils/generateRecordCallArray.js.map +1 -1
  194. package/dist/esm/utils/getNameType.js.map +1 -1
  195. package/dist/esm/utils/hexEncodedName.js.map +1 -1
  196. package/dist/esm/utils/labels.js.map +1 -1
  197. package/dist/esm/utils/normalise.js.map +1 -1
  198. package/dist/esm/utils/normaliseCoinId.js.map +1 -1
  199. package/dist/esm/utils/ownerFromContract.js.map +1 -1
  200. package/dist/esm/utils/registerHelpers.js +6 -1
  201. package/dist/esm/utils/registerHelpers.js.map +1 -1
  202. package/dist/esm/utils/validation.js.map +1 -1
  203. package/dist/types/clients/decorators/public.d.ts +1 -1
  204. package/dist/types/clients/decorators/public.d.ts.map +1 -1
  205. package/dist/types/clients/decorators/wallet.d.ts +25 -25
  206. package/dist/types/clients/public.d.ts +2 -2
  207. package/dist/types/clients/subgraph.d.ts +1 -1
  208. package/dist/types/clients/wallet.d.ts +25 -25
  209. package/dist/types/contracts/consts.d.ts +34 -34
  210. package/dist/types/contracts/consts.d.ts.map +1 -1
  211. package/dist/types/contracts/index.d.ts +1 -1
  212. package/dist/types/contracts/index.d.ts.map +1 -1
  213. package/dist/types/contracts/universalResolver.d.ts +102 -0
  214. package/dist/types/contracts/universalResolver.d.ts.map +1 -1
  215. package/dist/types/errors/contracts.d.ts +6 -6
  216. package/dist/types/errors/contracts.d.ts.map +1 -1
  217. package/dist/types/errors/version.d.ts +1 -1
  218. package/dist/types/errors/version.d.ts.map +1 -1
  219. package/dist/types/errors/wallet.d.ts +0 -1
  220. package/dist/types/functions/dns/importDnsName.d.ts +6 -520
  221. package/dist/types/functions/dns/importDnsName.d.ts.map +1 -1
  222. package/dist/types/functions/public/getAbiRecord.d.ts +2 -2
  223. package/dist/types/functions/public/getAbiRecord.d.ts.map +1 -1
  224. package/dist/types/functions/public/getAddressRecord.d.ts +2 -2
  225. package/dist/types/functions/public/getAddressRecord.d.ts.map +1 -1
  226. package/dist/types/functions/public/getContentHashRecord.d.ts +2 -2
  227. package/dist/types/functions/public/getContentHashRecord.d.ts.map +1 -1
  228. package/dist/types/functions/public/getName.d.ts +1 -1
  229. package/dist/types/functions/public/getName.d.ts.map +1 -1
  230. package/dist/types/functions/public/getRecords.d.ts +1 -1
  231. package/dist/types/functions/public/getRecords.d.ts.map +1 -1
  232. package/dist/types/functions/public/getTextRecord.d.ts +2 -2
  233. package/dist/types/functions/public/getTextRecord.d.ts.map +1 -1
  234. package/dist/types/functions/public/universalWrapper.d.ts +1 -1
  235. package/dist/types/functions/public/universalWrapper.d.ts.map +1 -1
  236. package/dist/types/functions/wallet/clearRecords.d.ts +6 -520
  237. package/dist/types/functions/wallet/clearRecords.d.ts.map +1 -1
  238. package/dist/types/functions/wallet/commitName.d.ts +6 -520
  239. package/dist/types/functions/wallet/commitName.d.ts.map +1 -1
  240. package/dist/types/functions/wallet/createSubname.d.ts +6 -520
  241. package/dist/types/functions/wallet/createSubname.d.ts.map +1 -1
  242. package/dist/types/functions/wallet/deleteSubname.d.ts +6 -520
  243. package/dist/types/functions/wallet/deleteSubname.d.ts.map +1 -1
  244. package/dist/types/functions/wallet/registerName.d.ts +6 -520
  245. package/dist/types/functions/wallet/registerName.d.ts.map +1 -1
  246. package/dist/types/functions/wallet/renewNames.d.ts +6 -520
  247. package/dist/types/functions/wallet/renewNames.d.ts.map +1 -1
  248. package/dist/types/functions/wallet/setAbiRecord.d.ts +6 -520
  249. package/dist/types/functions/wallet/setAbiRecord.d.ts.map +1 -1
  250. package/dist/types/functions/wallet/setAddressRecord.d.ts +6 -520
  251. package/dist/types/functions/wallet/setAddressRecord.d.ts.map +1 -1
  252. package/dist/types/functions/wallet/setChildFuses.d.ts +6 -520
  253. package/dist/types/functions/wallet/setChildFuses.d.ts.map +1 -1
  254. package/dist/types/functions/wallet/setContentHashRecord.d.ts +6 -520
  255. package/dist/types/functions/wallet/setContentHashRecord.d.ts.map +1 -1
  256. package/dist/types/functions/wallet/setFuses.d.ts +6 -520
  257. package/dist/types/functions/wallet/setFuses.d.ts.map +1 -1
  258. package/dist/types/functions/wallet/setPrimaryName.d.ts +6 -520
  259. package/dist/types/functions/wallet/setPrimaryName.d.ts.map +1 -1
  260. package/dist/types/functions/wallet/setRecords.d.ts +6 -520
  261. package/dist/types/functions/wallet/setRecords.d.ts.map +1 -1
  262. package/dist/types/functions/wallet/setResolver.d.ts +6 -520
  263. package/dist/types/functions/wallet/setResolver.d.ts.map +1 -1
  264. package/dist/types/functions/wallet/setTextRecord.d.ts +6 -520
  265. package/dist/types/functions/wallet/setTextRecord.d.ts.map +1 -1
  266. package/dist/types/functions/wallet/transferName.d.ts +6 -520
  267. package/dist/types/functions/wallet/transferName.d.ts.map +1 -1
  268. package/dist/types/functions/wallet/unwrapName.d.ts +6 -520
  269. package/dist/types/functions/wallet/unwrapName.d.ts.map +1 -1
  270. package/dist/types/functions/wallet/wrapName.d.ts +6 -520
  271. package/dist/types/functions/wallet/wrapName.d.ts.map +1 -1
  272. package/dist/types/index.d.ts +1 -1
  273. package/dist/types/index.d.ts.map +1 -1
  274. package/dist/types/utils/dns/misc.d.ts +1 -1
  275. package/dist/types/utils/dns/misc.d.ts.map +1 -1
  276. package/dist/types/utils/registerHelpers.d.ts.map +1 -1
  277. package/package.json +5 -5
  278. package/src/clients/decorators/public.ts +1 -0
  279. package/src/contracts/addEnsContracts.ts +7 -7
  280. package/src/contracts/consts.ts +35 -47
  281. package/src/contracts/index.ts +1 -1
  282. package/src/contracts/universalResolver.ts +12 -0
  283. package/src/errors/contracts.ts +12 -12
  284. package/src/errors/version.ts +1 -1
  285. package/src/functions/dns/importDnsName.ts +6 -6
  286. package/src/functions/public/getAbiRecord.ts +6 -2
  287. package/src/functions/public/getAddressRecord.ts +7 -2
  288. package/src/functions/public/getContentHashRecord.ts +6 -2
  289. package/src/functions/public/getName.ts +9 -4
  290. package/src/functions/public/getRecords.ts +10 -4
  291. package/src/functions/public/getTextRecord.ts +6 -2
  292. package/src/functions/public/universalWrapper.ts +12 -4
  293. package/src/functions/wallet/clearRecords.ts +6 -5
  294. package/src/functions/wallet/commitName.ts +6 -5
  295. package/src/functions/wallet/createSubname.ts +6 -5
  296. package/src/functions/wallet/deleteSubname.ts +6 -5
  297. package/src/functions/wallet/registerName.ts +6 -5
  298. package/src/functions/wallet/renewNames.ts +6 -5
  299. package/src/functions/wallet/setAbiRecord.ts +6 -5
  300. package/src/functions/wallet/setAddressRecord.ts +6 -5
  301. package/src/functions/wallet/setChildFuses.ts +6 -5
  302. package/src/functions/wallet/setContentHashRecord.ts +6 -5
  303. package/src/functions/wallet/setFuses.ts +6 -5
  304. package/src/functions/wallet/setPrimaryName.ts +7 -6
  305. package/src/functions/wallet/setRecords.ts +6 -5
  306. package/src/functions/wallet/setResolver.ts +6 -5
  307. package/src/functions/wallet/setTextRecord.ts +6 -5
  308. package/src/functions/wallet/transferName.ts +7 -6
  309. package/src/functions/wallet/unwrapName.ts +6 -5
  310. package/src/functions/wallet/wrapName.ts +7 -6
  311. package/src/index.ts +1 -1
  312. package/src/utils/registerHelpers.ts +8 -1
  313. package/dist/cjs/utils/generateSupportedContentTypes.test.ts.js +0 -20
  314. package/dist/cjs/utils/generateSupportedContentTypes.test.ts.js.map +0 -1
  315. package/dist/esm/utils/generateSupportedContentTypes.test.ts.js +0 -18
  316. package/dist/esm/utils/generateSupportedContentTypes.test.ts.js.map +0 -1
  317. package/dist/types/utils/generateSupportedContentTypes.test.ts.d.ts +0 -2
  318. package/dist/types/utils/generateSupportedContentTypes.test.ts.d.ts.map +0 -1
  319. package/src/@types/@ensdomains/ens-contracts.d.ts +0 -1
  320. package/src/ABIs/Multicall.json +0 -452
  321. package/src/utils/generateSupportedContentTypes.test.ts.ts +0 -24
@@ -1,5 +1,5 @@
1
- import type { Account, Address, Hash, SendTransactionParameters, Transport } from 'viem';
2
- import type { ChainWithEns, WalletWithEns } from '../../contracts/consts.js';
1
+ import type { Account, Address, Hash, Transport } from 'viem';
2
+ import type { ChainWithEns, ClientWithAccount } from '../../contracts/consts.js';
3
3
  import type { Prettify, SimpleTransactionRequest, WriteTransactionParameters } from '../../types.js';
4
4
  export type SetTextRecordDataParameters = {
5
5
  /** The name to set a text record for */
@@ -14,267 +14,10 @@ export type SetTextRecordDataParameters = {
14
14
  export type SetTextRecordDataReturnType = SimpleTransactionRequest;
15
15
  export type SetTextRecordParameters<TChain extends ChainWithEns, TAccount extends Account | undefined, TChainOverride extends ChainWithEns | undefined> = Prettify<SetTextRecordDataParameters & WriteTransactionParameters<TChain, TAccount, TChainOverride>>;
16
16
  export type SetTextRecordReturnType = Hash;
17
- export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount extends Account | undefined>(_wallet: {
18
- account: TAccount;
19
- batch?: {
20
- multicall?: boolean | {
21
- batchSize?: number | undefined;
22
- wait?: number | undefined;
23
- } | undefined;
24
- } | undefined;
25
- cacheTime: number;
26
- chain: TChain;
27
- key: string;
28
- name: string;
29
- pollingInterval: number;
30
- request: import("viem").EIP1193RequestFn<import("viem").WalletRpcSchema>;
31
- transport: import("viem").TransportConfig<string, import("viem").EIP1193RequestFn> & Record<string, any>;
32
- type: string;
33
- uid: string;
34
- addChain: (args: import("viem").AddChainParameters) => Promise<void>;
35
- deployContract: <const TAbi extends import("viem").Abi | readonly unknown[], TChainOverride extends import("viem").Chain | undefined>(args: import("viem").DeployContractParameters<TAbi, TChain, TAccount, TChainOverride>) => Promise<`0x${string}`>;
36
- getAddresses: () => Promise<import("viem").GetAddressesReturnType>;
37
- getChainId: () => Promise<number>;
38
- getPermissions: () => Promise<import("viem").GetPermissionsReturnType>;
39
- prepareTransactionRequest: <TChainOverride_1 extends import("viem").Chain | undefined>(args: import("viem").PrepareTransactionRequestParameters<TChain, TAccount, TChainOverride_1>) => Promise<import("viem").PrepareTransactionRequestReturnType>;
40
- requestAddresses: () => Promise<import("viem").RequestAddressesReturnType>;
41
- requestPermissions: (args: {
42
- [x: string]: Record<string, any>;
43
- eth_accounts: Record<string, any>;
44
- }) => Promise<import("viem").RequestPermissionsReturnType>;
45
- sendRawTransaction: (args: import("viem/actions").SendRawTransactionParameters) => Promise<`0x${string}`>;
46
- sendTransaction: <TChainOverride_2 extends import("viem").Chain | undefined>(args: SendTransactionParameters<TChain, TAccount, TChainOverride_2>) => Promise<`0x${string}`>;
47
- signMessage: (args: import("viem").SignMessageParameters<TAccount>) => Promise<`0x${string}`>;
48
- signTransaction: <TChainOverride_3 extends import("viem").Chain | undefined>(args: import("viem/actions").SignTransactionParameters<TChain, TAccount, TChainOverride_3>) => Promise<`0x${string}`>;
49
- signTypedData: <const TTypedData extends {
50
- [key: string]: unknown;
51
- } | {
52
- [x: string]: readonly import("viem").TypedDataParameter[];
53
- [x: `string[${string}]`]: undefined;
54
- [x: `function[${string}]`]: undefined;
55
- [x: `address[${string}]`]: undefined;
56
- [x: `bool[${string}]`]: undefined;
57
- [x: `bytes[${string}]`]: undefined;
58
- [x: `bytes1[${string}]`]: undefined;
59
- [x: `bytes2[${string}]`]: undefined;
60
- [x: `bytes4[${string}]`]: undefined;
61
- [x: `bytes8[${string}]`]: undefined;
62
- [x: `bytes10[${string}]`]: undefined;
63
- [x: `bytes16[${string}]`]: undefined;
64
- [x: `bytes3[${string}]`]: undefined;
65
- [x: `bytes5[${string}]`]: undefined;
66
- [x: `bytes6[${string}]`]: undefined;
67
- [x: `bytes7[${string}]`]: undefined;
68
- [x: `bytes9[${string}]`]: undefined;
69
- [x: `bytes11[${string}]`]: undefined;
70
- [x: `bytes12[${string}]`]: undefined;
71
- [x: `bytes13[${string}]`]: undefined;
72
- [x: `bytes14[${string}]`]: undefined;
73
- [x: `bytes15[${string}]`]: undefined;
74
- [x: `bytes17[${string}]`]: undefined;
75
- [x: `bytes18[${string}]`]: undefined;
76
- [x: `bytes19[${string}]`]: undefined;
77
- [x: `bytes20[${string}]`]: undefined;
78
- [x: `bytes21[${string}]`]: undefined;
79
- [x: `bytes22[${string}]`]: undefined;
80
- [x: `bytes23[${string}]`]: undefined;
81
- [x: `bytes24[${string}]`]: undefined;
82
- [x: `bytes25[${string}]`]: undefined;
83
- [x: `bytes26[${string}]`]: undefined;
84
- [x: `bytes27[${string}]`]: undefined;
85
- [x: `bytes28[${string}]`]: undefined;
86
- [x: `bytes29[${string}]`]: undefined;
87
- [x: `bytes30[${string}]`]: undefined;
88
- [x: `bytes31[${string}]`]: undefined;
89
- [x: `bytes32[${string}]`]: undefined;
90
- [x: `int[${string}]`]: undefined;
91
- [x: `int8[${string}]`]: undefined;
92
- [x: `int16[${string}]`]: undefined;
93
- [x: `int24[${string}]`]: undefined;
94
- [x: `int32[${string}]`]: undefined;
95
- [x: `int40[${string}]`]: undefined;
96
- [x: `int48[${string}]`]: undefined;
97
- [x: `int56[${string}]`]: undefined;
98
- [x: `int64[${string}]`]: undefined;
99
- [x: `int72[${string}]`]: undefined;
100
- [x: `int80[${string}]`]: undefined;
101
- [x: `int88[${string}]`]: undefined;
102
- [x: `int96[${string}]`]: undefined;
103
- [x: `int104[${string}]`]: undefined;
104
- [x: `int112[${string}]`]: undefined;
105
- [x: `int120[${string}]`]: undefined;
106
- [x: `int128[${string}]`]: undefined;
107
- [x: `int136[${string}]`]: undefined;
108
- [x: `int144[${string}]`]: undefined;
109
- [x: `int152[${string}]`]: undefined;
110
- [x: `int160[${string}]`]: undefined;
111
- [x: `int168[${string}]`]: undefined;
112
- [x: `int176[${string}]`]: undefined;
113
- [x: `int184[${string}]`]: undefined;
114
- [x: `int192[${string}]`]: undefined;
115
- [x: `int200[${string}]`]: undefined;
116
- [x: `int208[${string}]`]: undefined;
117
- [x: `int216[${string}]`]: undefined;
118
- [x: `int224[${string}]`]: undefined;
119
- [x: `int232[${string}]`]: undefined;
120
- [x: `int240[${string}]`]: undefined;
121
- [x: `int248[${string}]`]: undefined;
122
- [x: `int256[${string}]`]: undefined;
123
- [x: `uint[${string}]`]: undefined;
124
- [x: `uint8[${string}]`]: undefined;
125
- [x: `uint16[${string}]`]: undefined;
126
- [x: `uint24[${string}]`]: undefined;
127
- [x: `uint32[${string}]`]: undefined;
128
- [x: `uint40[${string}]`]: undefined;
129
- [x: `uint48[${string}]`]: undefined;
130
- [x: `uint56[${string}]`]: undefined;
131
- [x: `uint64[${string}]`]: undefined;
132
- [x: `uint72[${string}]`]: undefined;
133
- [x: `uint80[${string}]`]: undefined;
134
- [x: `uint88[${string}]`]: undefined;
135
- [x: `uint96[${string}]`]: undefined;
136
- [x: `uint104[${string}]`]: undefined;
137
- [x: `uint112[${string}]`]: undefined;
138
- [x: `uint120[${string}]`]: undefined;
139
- [x: `uint128[${string}]`]: undefined;
140
- [x: `uint136[${string}]`]: undefined;
141
- [x: `uint144[${string}]`]: undefined;
142
- [x: `uint152[${string}]`]: undefined;
143
- [x: `uint160[${string}]`]: undefined;
144
- [x: `uint168[${string}]`]: undefined;
145
- [x: `uint176[${string}]`]: undefined;
146
- [x: `uint184[${string}]`]: undefined;
147
- [x: `uint192[${string}]`]: undefined;
148
- [x: `uint200[${string}]`]: undefined;
149
- [x: `uint208[${string}]`]: undefined;
150
- [x: `uint216[${string}]`]: undefined;
151
- [x: `uint224[${string}]`]: undefined;
152
- [x: `uint232[${string}]`]: undefined;
153
- [x: `uint240[${string}]`]: undefined;
154
- [x: `uint248[${string}]`]: undefined;
155
- [x: `uint256[${string}]`]: undefined;
156
- string?: undefined;
157
- address?: undefined;
158
- bool?: undefined;
159
- bytes?: undefined;
160
- bytes1?: undefined;
161
- bytes2?: undefined;
162
- bytes4?: undefined;
163
- bytes8?: undefined;
164
- bytes10?: undefined;
165
- bytes16?: undefined;
166
- bytes3?: undefined;
167
- bytes5?: undefined;
168
- bytes6?: undefined;
169
- bytes7?: undefined;
170
- bytes9?: undefined;
171
- bytes11?: undefined;
172
- bytes12?: undefined;
173
- bytes13?: undefined;
174
- bytes14?: undefined;
175
- bytes15?: undefined;
176
- bytes17?: undefined;
177
- bytes18?: undefined;
178
- bytes19?: undefined;
179
- bytes20?: undefined;
180
- bytes21?: undefined;
181
- bytes22?: undefined;
182
- bytes23?: undefined;
183
- bytes24?: undefined;
184
- bytes25?: undefined;
185
- bytes26?: undefined;
186
- bytes27?: undefined;
187
- bytes28?: undefined;
188
- bytes29?: undefined;
189
- bytes30?: undefined;
190
- bytes31?: undefined;
191
- bytes32?: undefined;
192
- int8?: undefined;
193
- int16?: undefined;
194
- int24?: undefined;
195
- int32?: undefined;
196
- int40?: undefined;
197
- int48?: undefined;
198
- int56?: undefined;
199
- int64?: undefined;
200
- int72?: undefined;
201
- int80?: undefined;
202
- int88?: undefined;
203
- int96?: undefined;
204
- int104?: undefined;
205
- int112?: undefined;
206
- int120?: undefined;
207
- int128?: undefined;
208
- int136?: undefined;
209
- int144?: undefined;
210
- int152?: undefined;
211
- int160?: undefined;
212
- int168?: undefined;
213
- int176?: undefined;
214
- int184?: undefined;
215
- int192?: undefined;
216
- int200?: undefined;
217
- int208?: undefined;
218
- int216?: undefined;
219
- int224?: undefined;
220
- int232?: undefined;
221
- int240?: undefined;
222
- int248?: undefined;
223
- int256?: undefined;
224
- uint8?: undefined;
225
- uint16?: undefined;
226
- uint24?: undefined;
227
- uint32?: undefined;
228
- uint40?: undefined;
229
- uint48?: undefined;
230
- uint56?: undefined;
231
- uint64?: undefined;
232
- uint72?: undefined;
233
- uint80?: undefined;
234
- uint88?: undefined;
235
- uint96?: undefined;
236
- uint104?: undefined;
237
- uint112?: undefined;
238
- uint120?: undefined;
239
- uint128?: undefined;
240
- uint136?: undefined;
241
- uint144?: undefined;
242
- uint152?: undefined;
243
- uint160?: undefined;
244
- uint168?: undefined;
245
- uint176?: undefined;
246
- uint184?: undefined;
247
- uint192?: undefined;
248
- uint200?: undefined;
249
- uint208?: undefined;
250
- uint216?: undefined;
251
- uint224?: undefined;
252
- uint232?: undefined;
253
- uint240?: undefined;
254
- uint248?: undefined;
255
- uint256?: undefined;
256
- }, TPrimaryType extends string>(args: import("viem").SignTypedDataParameters<TTypedData, TPrimaryType, TAccount>) => Promise<`0x${string}`>;
257
- switchChain: (args: import("viem").SwitchChainParameters) => Promise<void>;
258
- watchAsset: (args: import("viem").WatchAssetParams) => Promise<boolean>;
259
- writeContract: <const TAbi_1 extends import("viem").Abi | readonly unknown[], TFunctionName extends string, TChainOverride_4 extends import("viem").Chain | undefined>(args: import("viem").WriteContractParameters<TAbi_1, TFunctionName, TChain, TAccount, TChainOverride_4>) => Promise<`0x${string}`>;
260
- extend: <const client extends {
261
- [x: string]: unknown;
262
- account?: undefined;
263
- batch?: undefined;
264
- cacheTime?: undefined;
265
- chain?: undefined;
266
- key?: undefined;
267
- name?: undefined;
268
- pollingInterval?: undefined;
269
- request?: undefined;
270
- transport?: undefined;
271
- type?: undefined;
272
- uid?: undefined;
273
- }>(fn: (client: import("viem").Client<Transport, TChain, TAccount, import("viem").WalletRpcSchema, import("viem").WalletActions<TChain, TAccount>>) => client) => import("viem").Client<Transport, TChain, TAccount, import("viem").WalletRpcSchema, { [K in keyof client]: client[K]; } & import("viem").WalletActions<TChain, TAccount>>;
274
- }, { name, key, value, resolverAddress }: SetTextRecordDataParameters) => SetTextRecordDataReturnType;
17
+ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount extends Account | undefined>(_wallet: ClientWithAccount<Transport, TChain, TAccount>, { name, key, value, resolverAddress }: SetTextRecordDataParameters) => SetTextRecordDataReturnType;
275
18
  /**
276
19
  * Sets a text record for a name on a resolver.
277
- * @param wallet - {@link WalletWithEns}
20
+ * @param wallet - {@link ClientWithAccount}
278
21
  * @param parameters - {@link SetTextRecordParameters}
279
22
  * @returns Transaction hash. {@link SetTextRecordReturnType}
280
23
  *
@@ -296,266 +39,9 @@ export declare const makeFunctionData: <TChain extends ChainWithEns, TAccount ex
296
39
  * })
297
40
  * // 0x...
298
41
  */
299
- declare function setTextRecord<TChain extends ChainWithEns, TAccount extends Account | undefined, TChainOverride extends ChainWithEns | undefined = ChainWithEns>(wallet: WalletWithEns<Transport, TChain, TAccount>, { name, key, value, resolverAddress, ...txArgs }: SetTextRecordParameters<TChain, TAccount, TChainOverride>): Promise<SetTextRecordReturnType>;
42
+ declare function setTextRecord<TChain extends ChainWithEns, TAccount extends Account | undefined, TChainOverride extends ChainWithEns | undefined = ChainWithEns>(wallet: ClientWithAccount<Transport, TChain, TAccount>, { name, key, value, resolverAddress, ...txArgs }: SetTextRecordParameters<TChain, TAccount, TChainOverride>): Promise<SetTextRecordReturnType>;
300
43
  declare namespace setTextRecord {
301
- var makeFunctionData: <TChain extends ChainWithEns, TAccount extends Account | undefined>(_wallet: {
302
- account: TAccount;
303
- batch?: {
304
- multicall?: boolean | {
305
- batchSize?: number | undefined;
306
- wait?: number | undefined;
307
- } | undefined;
308
- } | undefined;
309
- cacheTime: number;
310
- chain: TChain;
311
- key: string;
312
- name: string;
313
- pollingInterval: number;
314
- request: import("viem").EIP1193RequestFn<import("viem").WalletRpcSchema>;
315
- transport: import("viem").TransportConfig<string, import("viem").EIP1193RequestFn> & Record<string, any>;
316
- type: string;
317
- uid: string;
318
- addChain: (args: import("viem").AddChainParameters) => Promise<void>;
319
- deployContract: <const TAbi extends import("viem").Abi | readonly unknown[], TChainOverride extends import("viem").Chain | undefined>(args: import("viem").DeployContractParameters<TAbi, TChain, TAccount, TChainOverride>) => Promise<`0x${string}`>;
320
- getAddresses: () => Promise<import("viem").GetAddressesReturnType>;
321
- getChainId: () => Promise<number>;
322
- getPermissions: () => Promise<import("viem").GetPermissionsReturnType>;
323
- prepareTransactionRequest: <TChainOverride_1 extends import("viem").Chain | undefined>(args: import("viem").PrepareTransactionRequestParameters<TChain, TAccount, TChainOverride_1>) => Promise<import("viem").PrepareTransactionRequestReturnType>;
324
- requestAddresses: () => Promise<import("viem").RequestAddressesReturnType>;
325
- requestPermissions: (args: {
326
- [x: string]: Record<string, any>;
327
- eth_accounts: Record<string, any>;
328
- }) => Promise<import("viem").RequestPermissionsReturnType>;
329
- sendRawTransaction: (args: import("viem/actions").SendRawTransactionParameters) => Promise<`0x${string}`>;
330
- sendTransaction: <TChainOverride_2 extends import("viem").Chain | undefined>(args: SendTransactionParameters<TChain, TAccount, TChainOverride_2>) => Promise<`0x${string}`>;
331
- signMessage: (args: import("viem").SignMessageParameters<TAccount>) => Promise<`0x${string}`>;
332
- signTransaction: <TChainOverride_3 extends import("viem").Chain | undefined>(args: import("viem/actions").SignTransactionParameters<TChain, TAccount, TChainOverride_3>) => Promise<`0x${string}`>;
333
- signTypedData: <const TTypedData extends {
334
- [key: string]: unknown;
335
- } | {
336
- [x: string]: readonly import("viem").TypedDataParameter[];
337
- [x: `string[${string}]`]: undefined;
338
- [x: `function[${string}]`]: undefined;
339
- [x: `address[${string}]`]: undefined;
340
- [x: `bool[${string}]`]: undefined;
341
- [x: `bytes[${string}]`]: undefined;
342
- [x: `bytes1[${string}]`]: undefined;
343
- [x: `bytes2[${string}]`]: undefined;
344
- [x: `bytes4[${string}]`]: undefined;
345
- [x: `bytes8[${string}]`]: undefined;
346
- [x: `bytes10[${string}]`]: undefined;
347
- [x: `bytes16[${string}]`]: undefined;
348
- [x: `bytes3[${string}]`]: undefined;
349
- [x: `bytes5[${string}]`]: undefined;
350
- [x: `bytes6[${string}]`]: undefined;
351
- [x: `bytes7[${string}]`]: undefined;
352
- [x: `bytes9[${string}]`]: undefined;
353
- [x: `bytes11[${string}]`]: undefined;
354
- [x: `bytes12[${string}]`]: undefined;
355
- [x: `bytes13[${string}]`]: undefined;
356
- [x: `bytes14[${string}]`]: undefined;
357
- [x: `bytes15[${string}]`]: undefined;
358
- [x: `bytes17[${string}]`]: undefined;
359
- [x: `bytes18[${string}]`]: undefined;
360
- [x: `bytes19[${string}]`]: undefined;
361
- [x: `bytes20[${string}]`]: undefined;
362
- [x: `bytes21[${string}]`]: undefined;
363
- [x: `bytes22[${string}]`]: undefined;
364
- [x: `bytes23[${string}]`]: undefined;
365
- [x: `bytes24[${string}]`]: undefined;
366
- [x: `bytes25[${string}]`]: undefined;
367
- [x: `bytes26[${string}]`]: undefined;
368
- [x: `bytes27[${string}]`]: undefined;
369
- [x: `bytes28[${string}]`]: undefined;
370
- [x: `bytes29[${string}]`]: undefined;
371
- [x: `bytes30[${string}]`]: undefined;
372
- [x: `bytes31[${string}]`]: undefined;
373
- [x: `bytes32[${string}]`]: undefined;
374
- [x: `int[${string}]`]: undefined;
375
- [x: `int8[${string}]`]: undefined;
376
- [x: `int16[${string}]`]: undefined;
377
- [x: `int24[${string}]`]: undefined;
378
- [x: `int32[${string}]`]: undefined;
379
- [x: `int40[${string}]`]: undefined;
380
- [x: `int48[${string}]`]: undefined;
381
- [x: `int56[${string}]`]: undefined;
382
- [x: `int64[${string}]`]: undefined;
383
- [x: `int72[${string}]`]: undefined;
384
- [x: `int80[${string}]`]: undefined;
385
- [x: `int88[${string}]`]: undefined;
386
- [x: `int96[${string}]`]: undefined;
387
- [x: `int104[${string}]`]: undefined;
388
- [x: `int112[${string}]`]: undefined;
389
- [x: `int120[${string}]`]: undefined;
390
- [x: `int128[${string}]`]: undefined;
391
- [x: `int136[${string}]`]: undefined;
392
- [x: `int144[${string}]`]: undefined;
393
- [x: `int152[${string}]`]: undefined;
394
- [x: `int160[${string}]`]: undefined;
395
- [x: `int168[${string}]`]: undefined;
396
- [x: `int176[${string}]`]: undefined;
397
- [x: `int184[${string}]`]: undefined;
398
- [x: `int192[${string}]`]: undefined;
399
- [x: `int200[${string}]`]: undefined;
400
- [x: `int208[${string}]`]: undefined;
401
- [x: `int216[${string}]`]: undefined;
402
- [x: `int224[${string}]`]: undefined;
403
- [x: `int232[${string}]`]: undefined;
404
- [x: `int240[${string}]`]: undefined;
405
- [x: `int248[${string}]`]: undefined;
406
- [x: `int256[${string}]`]: undefined;
407
- [x: `uint[${string}]`]: undefined;
408
- [x: `uint8[${string}]`]: undefined;
409
- [x: `uint16[${string}]`]: undefined;
410
- [x: `uint24[${string}]`]: undefined;
411
- [x: `uint32[${string}]`]: undefined;
412
- [x: `uint40[${string}]`]: undefined;
413
- [x: `uint48[${string}]`]: undefined;
414
- [x: `uint56[${string}]`]: undefined;
415
- [x: `uint64[${string}]`]: undefined;
416
- [x: `uint72[${string}]`]: undefined;
417
- [x: `uint80[${string}]`]: undefined;
418
- [x: `uint88[${string}]`]: undefined;
419
- [x: `uint96[${string}]`]: undefined;
420
- [x: `uint104[${string}]`]: undefined;
421
- [x: `uint112[${string}]`]: undefined;
422
- [x: `uint120[${string}]`]: undefined;
423
- [x: `uint128[${string}]`]: undefined;
424
- [x: `uint136[${string}]`]: undefined;
425
- [x: `uint144[${string}]`]: undefined;
426
- [x: `uint152[${string}]`]: undefined;
427
- [x: `uint160[${string}]`]: undefined;
428
- [x: `uint168[${string}]`]: undefined;
429
- [x: `uint176[${string}]`]: undefined;
430
- [x: `uint184[${string}]`]: undefined;
431
- [x: `uint192[${string}]`]: undefined;
432
- [x: `uint200[${string}]`]: undefined;
433
- [x: `uint208[${string}]`]: undefined;
434
- [x: `uint216[${string}]`]: undefined;
435
- [x: `uint224[${string}]`]: undefined;
436
- [x: `uint232[${string}]`]: undefined;
437
- [x: `uint240[${string}]`]: undefined;
438
- [x: `uint248[${string}]`]: undefined;
439
- [x: `uint256[${string}]`]: undefined;
440
- string?: undefined;
441
- address?: undefined;
442
- bool?: undefined;
443
- bytes?: undefined;
444
- bytes1?: undefined;
445
- bytes2?: undefined;
446
- bytes4?: undefined;
447
- bytes8?: undefined;
448
- bytes10?: undefined;
449
- bytes16?: undefined;
450
- bytes3?: undefined;
451
- bytes5?: undefined;
452
- bytes6?: undefined;
453
- bytes7?: undefined;
454
- bytes9?: undefined;
455
- bytes11?: undefined;
456
- bytes12?: undefined;
457
- bytes13?: undefined;
458
- bytes14?: undefined;
459
- bytes15?: undefined;
460
- bytes17?: undefined;
461
- bytes18?: undefined;
462
- bytes19?: undefined;
463
- bytes20?: undefined;
464
- bytes21?: undefined;
465
- bytes22?: undefined;
466
- bytes23?: undefined;
467
- bytes24?: undefined;
468
- bytes25?: undefined;
469
- bytes26?: undefined;
470
- bytes27?: undefined;
471
- bytes28?: undefined;
472
- bytes29?: undefined;
473
- bytes30?: undefined;
474
- bytes31?: undefined;
475
- bytes32?: undefined;
476
- int8?: undefined;
477
- int16?: undefined;
478
- int24?: undefined;
479
- int32?: undefined;
480
- int40?: undefined;
481
- int48?: undefined;
482
- int56?: undefined;
483
- int64?: undefined;
484
- int72?: undefined;
485
- int80?: undefined;
486
- int88?: undefined;
487
- int96?: undefined;
488
- int104?: undefined;
489
- int112?: undefined;
490
- int120?: undefined;
491
- int128?: undefined;
492
- int136?: undefined;
493
- int144?: undefined;
494
- int152?: undefined;
495
- int160?: undefined;
496
- int168?: undefined;
497
- int176?: undefined;
498
- int184?: undefined;
499
- int192?: undefined;
500
- int200?: undefined;
501
- int208?: undefined;
502
- int216?: undefined;
503
- int224?: undefined;
504
- int232?: undefined;
505
- int240?: undefined;
506
- int248?: undefined;
507
- int256?: undefined;
508
- uint8?: undefined;
509
- uint16?: undefined;
510
- uint24?: undefined;
511
- uint32?: undefined;
512
- uint40?: undefined;
513
- uint48?: undefined;
514
- uint56?: undefined;
515
- uint64?: undefined;
516
- uint72?: undefined;
517
- uint80?: undefined;
518
- uint88?: undefined;
519
- uint96?: undefined;
520
- uint104?: undefined;
521
- uint112?: undefined;
522
- uint120?: undefined;
523
- uint128?: undefined;
524
- uint136?: undefined;
525
- uint144?: undefined;
526
- uint152?: undefined;
527
- uint160?: undefined;
528
- uint168?: undefined;
529
- uint176?: undefined;
530
- uint184?: undefined;
531
- uint192?: undefined;
532
- uint200?: undefined;
533
- uint208?: undefined;
534
- uint216?: undefined;
535
- uint224?: undefined;
536
- uint232?: undefined;
537
- uint240?: undefined;
538
- uint248?: undefined;
539
- uint256?: undefined;
540
- }, TPrimaryType extends string>(args: import("viem").SignTypedDataParameters<TTypedData, TPrimaryType, TAccount>) => Promise<`0x${string}`>;
541
- switchChain: (args: import("viem").SwitchChainParameters) => Promise<void>;
542
- watchAsset: (args: import("viem").WatchAssetParams) => Promise<boolean>;
543
- writeContract: <const TAbi_1 extends import("viem").Abi | readonly unknown[], TFunctionName extends string, TChainOverride_4 extends import("viem").Chain | undefined>(args: import("viem").WriteContractParameters<TAbi_1, TFunctionName, TChain, TAccount, TChainOverride_4>) => Promise<`0x${string}`>;
544
- extend: <const client extends {
545
- [x: string]: unknown;
546
- account?: undefined;
547
- batch?: undefined;
548
- cacheTime?: undefined;
549
- chain?: undefined;
550
- key?: undefined;
551
- name?: undefined;
552
- pollingInterval?: undefined;
553
- request?: undefined;
554
- transport?: undefined;
555
- type?: undefined;
556
- uid?: undefined;
557
- }>(fn: (client: import("viem").Client<Transport, TChain, TAccount, import("viem").WalletRpcSchema, import("viem").WalletActions<TChain, TAccount>>) => client) => import("viem").Client<Transport, TChain, TAccount, import("viem").WalletRpcSchema, { [K in keyof client]: client[K]; } & import("viem").WalletActions<TChain, TAccount>>;
558
- }, { name, key, value, resolverAddress }: SetTextRecordDataParameters) => SimpleTransactionRequest;
44
+ var makeFunctionData: <TChain extends ChainWithEns, TAccount extends Account | undefined>(_wallet: ClientWithAccount<Transport, TChain, TAccount>, { name, key, value, resolverAddress }: SetTextRecordDataParameters) => SimpleTransactionRequest;
559
45
  }
560
46
  export default setTextRecord;
561
47
  //# sourceMappingURL=setTextRecord.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"setTextRecord.d.ts","sourceRoot":"","sources":["../../../../src/functions/wallet/setTextRecord.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,OAAO,EACP,OAAO,EACP,IAAI,EACJ,yBAAyB,EACzB,SAAS,EACV,MAAM,MAAM,CAAA;AACb,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAC5E,OAAO,KAAK,EACV,QAAQ,EACR,wBAAwB,EACxB,0BAA0B,EAC3B,MAAM,gBAAgB,CAAA;AAIvB,MAAM,MAAM,2BAA2B,GAAG;IACxC,wCAAwC;IACxC,IAAI,EAAE,MAAM,CAAA;IACZ,iCAAiC;IACjC,GAAG,EAAE,MAAM,CAAA;IACX,mCAAmC;IACnC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,kCAAkC;IAClC,eAAe,EAAE,OAAO,CAAA;CACzB,CAAA;AAED,MAAM,MAAM,2BAA2B,GAAG,wBAAwB,CAAA;AAElE,MAAM,MAAM,uBAAuB,CACjC,MAAM,SAAS,YAAY,EAC3B,QAAQ,SAAS,OAAO,GAAG,SAAS,EACpC,cAAc,SAAS,YAAY,GAAG,SAAS,IAC7C,QAAQ,CACV,2BAA2B,GACzB,0BAA0B,CAAC,MAAM,EAAE,QAAQ,EAAE,cAAc,CAAC,CAC/D,CAAA;AAED,MAAM,MAAM,uBAAuB,GAAG,IAAI,CAAA;AAE1C,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0CAKY,2BAA2B,KACjE,2BAKF,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,iBAAe,aAAa,CAC1B,MAAM,SAAS,YAAY,EAC3B,QAAQ,SAAS,OAAO,GAAG,SAAS,EACpC,cAAc,SAAS,YAAY,GAAG,SAAS,GAAG,YAAY,EAE9D,MAAM,EAAE,aAAa,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC,EAClD,EACE,IAAI,EACJ,GAAG,EACH,KAAK,EACL,eAAe,EACf,GAAG,MAAM,EACV,EAAE,uBAAuB,CAAC,MAAM,EAAE,QAAQ,EAAE,cAAc,CAAC,GAC3D,OAAO,CAAC,uBAAuB,CAAC,CAYlC;kBAzBc,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6B5B,eAAe,aAAa,CAAA"}
1
+ {"version":3,"file":"setTextRecord.d.ts","sourceRoot":"","sources":["../../../../src/functions/wallet/setTextRecord.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,OAAO,EACP,OAAO,EACP,IAAI,EAEJ,SAAS,EACV,MAAM,MAAM,CAAA;AAEb,OAAO,KAAK,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAA;AAChF,OAAO,KAAK,EACV,QAAQ,EACR,wBAAwB,EACxB,0BAA0B,EAC3B,MAAM,gBAAgB,CAAA;AAIvB,MAAM,MAAM,2BAA2B,GAAG;IACxC,wCAAwC;IACxC,IAAI,EAAE,MAAM,CAAA;IACZ,iCAAiC;IACjC,GAAG,EAAE,MAAM,CAAA;IACX,mCAAmC;IACnC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,kCAAkC;IAClC,eAAe,EAAE,OAAO,CAAA;CACzB,CAAA;AAED,MAAM,MAAM,2BAA2B,GAAG,wBAAwB,CAAA;AAElE,MAAM,MAAM,uBAAuB,CACjC,MAAM,SAAS,YAAY,EAC3B,QAAQ,SAAS,OAAO,GAAG,SAAS,EACpC,cAAc,SAAS,YAAY,GAAG,SAAS,IAC7C,QAAQ,CACV,2BAA2B,GACzB,0BAA0B,CAAC,MAAM,EAAE,QAAQ,EAAE,cAAc,CAAC,CAC/D,CAAA;AAED,MAAM,MAAM,uBAAuB,GAAG,IAAI,CAAA;AAE1C,eAAO,MAAM,gBAAgB,sKAKY,2BAA2B,KACjE,2BAKF,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,iBAAe,aAAa,CAC1B,MAAM,SAAS,YAAY,EAC3B,QAAQ,SAAS,OAAO,GAAG,SAAS,EACpC,cAAc,SAAS,YAAY,GAAG,SAAS,GAAG,YAAY,EAE9D,MAAM,EAAE,iBAAiB,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC,EACtD,EACE,IAAI,EACJ,GAAG,EACH,KAAK,EACL,eAAe,EACf,GAAG,MAAM,EACV,EAAE,uBAAuB,CAAC,MAAM,EAAE,QAAQ,EAAE,cAAc,CAAC,GAC3D,OAAO,CAAC,uBAAuB,CAAC,CAYlC;kBAzBc,aAAa;;;AA6B5B,eAAe,aAAa,CAAA"}