viem 2.15.1 → 2.16.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (964) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/README.md +17 -11
  3. package/_cjs/accounts/generateMnemonic.js +1 -2
  4. package/_cjs/accounts/generateMnemonic.js.map +1 -1
  5. package/_cjs/accounts/generatePrivateKey.js +1 -2
  6. package/_cjs/accounts/generatePrivateKey.js.map +1 -1
  7. package/_cjs/accounts/hdKeyToAccount.js +1 -2
  8. package/_cjs/accounts/hdKeyToAccount.js.map +1 -1
  9. package/_cjs/accounts/mnemonicToAccount.js +1 -2
  10. package/_cjs/accounts/mnemonicToAccount.js.map +1 -1
  11. package/_cjs/accounts/privateKeyToAccount.js +1 -2
  12. package/_cjs/accounts/privateKeyToAccount.js.map +1 -1
  13. package/_cjs/accounts/toAccount.js +1 -2
  14. package/_cjs/accounts/toAccount.js.map +1 -1
  15. package/_cjs/accounts/utils/parseAccount.js +1 -2
  16. package/_cjs/accounts/utils/parseAccount.js.map +1 -1
  17. package/_cjs/accounts/utils/privateKeyToAddress.js +1 -2
  18. package/_cjs/accounts/utils/privateKeyToAddress.js.map +1 -1
  19. package/_cjs/accounts/utils/publicKeyToAddress.js +1 -2
  20. package/_cjs/accounts/utils/publicKeyToAddress.js.map +1 -1
  21. package/_cjs/accounts/utils/sign.js +1 -2
  22. package/_cjs/accounts/utils/sign.js.map +1 -1
  23. package/_cjs/accounts/utils/signMessage.js +1 -2
  24. package/_cjs/accounts/utils/signMessage.js.map +1 -1
  25. package/_cjs/accounts/utils/signTransaction.js +1 -2
  26. package/_cjs/accounts/utils/signTransaction.js.map +1 -1
  27. package/_cjs/accounts/utils/signTypedData.js +1 -2
  28. package/_cjs/accounts/utils/signTypedData.js.map +1 -1
  29. package/_cjs/actions/ens/getEnsAddress.js +1 -2
  30. package/_cjs/actions/ens/getEnsAddress.js.map +1 -1
  31. package/_cjs/actions/ens/getEnsAvatar.js +1 -2
  32. package/_cjs/actions/ens/getEnsAvatar.js.map +1 -1
  33. package/_cjs/actions/ens/getEnsName.js +1 -2
  34. package/_cjs/actions/ens/getEnsName.js.map +1 -1
  35. package/_cjs/actions/ens/getEnsResolver.js +1 -2
  36. package/_cjs/actions/ens/getEnsResolver.js.map +1 -1
  37. package/_cjs/actions/ens/getEnsText.js +1 -2
  38. package/_cjs/actions/ens/getEnsText.js.map +1 -1
  39. package/_cjs/actions/getContract.js +3 -4
  40. package/_cjs/actions/getContract.js.map +1 -1
  41. package/_cjs/actions/public/call.js +2 -3
  42. package/_cjs/actions/public/call.js.map +1 -1
  43. package/_cjs/actions/public/createBlockFilter.js +1 -2
  44. package/_cjs/actions/public/createBlockFilter.js.map +1 -1
  45. package/_cjs/actions/public/createContractEventFilter.js +1 -2
  46. package/_cjs/actions/public/createContractEventFilter.js.map +1 -1
  47. package/_cjs/actions/public/createEventFilter.js +7 -9
  48. package/_cjs/actions/public/createEventFilter.js.map +1 -1
  49. package/_cjs/actions/public/createPendingTransactionFilter.js +1 -2
  50. package/_cjs/actions/public/createPendingTransactionFilter.js.map +1 -1
  51. package/_cjs/actions/public/estimateContractGas.js +1 -2
  52. package/_cjs/actions/public/estimateContractGas.js.map +1 -1
  53. package/_cjs/actions/public/estimateFeesPerGas.js +2 -3
  54. package/_cjs/actions/public/estimateFeesPerGas.js.map +1 -1
  55. package/_cjs/actions/public/estimateGas.js +1 -2
  56. package/_cjs/actions/public/estimateGas.js.map +1 -1
  57. package/_cjs/actions/public/estimateMaxPriorityFeePerGas.js +2 -3
  58. package/_cjs/actions/public/estimateMaxPriorityFeePerGas.js.map +1 -1
  59. package/_cjs/actions/public/getBalance.js +1 -2
  60. package/_cjs/actions/public/getBalance.js.map +1 -1
  61. package/_cjs/actions/public/getBlobBaseFee.js +1 -2
  62. package/_cjs/actions/public/getBlobBaseFee.js.map +1 -1
  63. package/_cjs/actions/public/getBlock.js +1 -2
  64. package/_cjs/actions/public/getBlock.js.map +1 -1
  65. package/_cjs/actions/public/getBlockNumber.js +2 -3
  66. package/_cjs/actions/public/getBlockNumber.js.map +1 -1
  67. package/_cjs/actions/public/getBlockTransactionCount.js +1 -2
  68. package/_cjs/actions/public/getBlockTransactionCount.js.map +1 -1
  69. package/_cjs/actions/public/getChainId.js +1 -2
  70. package/_cjs/actions/public/getChainId.js.map +1 -1
  71. package/_cjs/actions/public/getCode.js +1 -2
  72. package/_cjs/actions/public/getCode.js.map +1 -1
  73. package/_cjs/actions/public/getContractEvents.js +1 -2
  74. package/_cjs/actions/public/getContractEvents.js.map +1 -1
  75. package/_cjs/actions/public/getEip712Domain.js +1 -2
  76. package/_cjs/actions/public/getEip712Domain.js.map +1 -1
  77. package/_cjs/actions/public/getFeeHistory.js +1 -2
  78. package/_cjs/actions/public/getFeeHistory.js.map +1 -1
  79. package/_cjs/actions/public/getFilterChanges.js +1 -2
  80. package/_cjs/actions/public/getFilterChanges.js.map +1 -1
  81. package/_cjs/actions/public/getFilterLogs.js +1 -2
  82. package/_cjs/actions/public/getFilterLogs.js.map +1 -1
  83. package/_cjs/actions/public/getGasPrice.js +1 -2
  84. package/_cjs/actions/public/getGasPrice.js.map +1 -1
  85. package/_cjs/actions/public/getLogs.js +7 -9
  86. package/_cjs/actions/public/getLogs.js.map +1 -1
  87. package/_cjs/actions/public/getProof.js +1 -2
  88. package/_cjs/actions/public/getProof.js.map +1 -1
  89. package/_cjs/actions/public/getStorageAt.js +1 -2
  90. package/_cjs/actions/public/getStorageAt.js.map +1 -1
  91. package/_cjs/actions/public/getTransaction.js +1 -2
  92. package/_cjs/actions/public/getTransaction.js.map +1 -1
  93. package/_cjs/actions/public/getTransactionConfirmations.js +1 -2
  94. package/_cjs/actions/public/getTransactionConfirmations.js.map +1 -1
  95. package/_cjs/actions/public/getTransactionCount.js +1 -2
  96. package/_cjs/actions/public/getTransactionCount.js.map +1 -1
  97. package/_cjs/actions/public/getTransactionReceipt.js +1 -2
  98. package/_cjs/actions/public/getTransactionReceipt.js.map +1 -1
  99. package/_cjs/actions/public/multicall.js +1 -2
  100. package/_cjs/actions/public/multicall.js.map +1 -1
  101. package/_cjs/actions/public/readContract.js +1 -2
  102. package/_cjs/actions/public/readContract.js.map +1 -1
  103. package/_cjs/actions/public/simulateContract.js +1 -2
  104. package/_cjs/actions/public/simulateContract.js.map +1 -1
  105. package/_cjs/actions/public/uninstallFilter.js +1 -2
  106. package/_cjs/actions/public/uninstallFilter.js.map +1 -1
  107. package/_cjs/actions/public/verifyHash.js +22 -5
  108. package/_cjs/actions/public/verifyHash.js.map +1 -1
  109. package/_cjs/actions/public/verifyMessage.js +4 -3
  110. package/_cjs/actions/public/verifyMessage.js.map +1 -1
  111. package/_cjs/actions/public/verifyTypedData.js +4 -3
  112. package/_cjs/actions/public/verifyTypedData.js.map +1 -1
  113. package/_cjs/actions/public/waitForTransactionReceipt.js +1 -2
  114. package/_cjs/actions/public/waitForTransactionReceipt.js.map +1 -1
  115. package/_cjs/actions/public/watchBlockNumber.js +1 -2
  116. package/_cjs/actions/public/watchBlockNumber.js.map +1 -1
  117. package/_cjs/actions/public/watchBlocks.js +1 -2
  118. package/_cjs/actions/public/watchBlocks.js.map +1 -1
  119. package/_cjs/actions/public/watchContractEvent.js +1 -2
  120. package/_cjs/actions/public/watchContractEvent.js.map +1 -1
  121. package/_cjs/actions/public/watchEvent.js +7 -9
  122. package/_cjs/actions/public/watchEvent.js.map +1 -1
  123. package/_cjs/actions/public/watchPendingTransactions.js +1 -2
  124. package/_cjs/actions/public/watchPendingTransactions.js.map +1 -1
  125. package/_cjs/actions/siwe/verifySiweMessage.js +1 -2
  126. package/_cjs/actions/siwe/verifySiweMessage.js.map +1 -1
  127. package/_cjs/actions/test/dropTransaction.js +1 -2
  128. package/_cjs/actions/test/dropTransaction.js.map +1 -1
  129. package/_cjs/actions/test/dumpState.js +1 -2
  130. package/_cjs/actions/test/dumpState.js.map +1 -1
  131. package/_cjs/actions/test/getAutomine.js +1 -2
  132. package/_cjs/actions/test/getAutomine.js.map +1 -1
  133. package/_cjs/actions/test/getTxpoolContent.js +1 -2
  134. package/_cjs/actions/test/getTxpoolContent.js.map +1 -1
  135. package/_cjs/actions/test/getTxpoolStatus.js +1 -2
  136. package/_cjs/actions/test/getTxpoolStatus.js.map +1 -1
  137. package/_cjs/actions/test/impersonateAccount.js +1 -2
  138. package/_cjs/actions/test/impersonateAccount.js.map +1 -1
  139. package/_cjs/actions/test/increaseTime.js +1 -2
  140. package/_cjs/actions/test/increaseTime.js.map +1 -1
  141. package/_cjs/actions/test/inspectTxpool.js +1 -2
  142. package/_cjs/actions/test/inspectTxpool.js.map +1 -1
  143. package/_cjs/actions/test/loadState.js +1 -2
  144. package/_cjs/actions/test/loadState.js.map +1 -1
  145. package/_cjs/actions/test/mine.js +1 -2
  146. package/_cjs/actions/test/mine.js.map +1 -1
  147. package/_cjs/actions/test/removeBlockTimestampInterval.js +1 -2
  148. package/_cjs/actions/test/removeBlockTimestampInterval.js.map +1 -1
  149. package/_cjs/actions/test/reset.js +1 -2
  150. package/_cjs/actions/test/reset.js.map +1 -1
  151. package/_cjs/actions/test/revert.js +1 -2
  152. package/_cjs/actions/test/revert.js.map +1 -1
  153. package/_cjs/actions/test/sendUnsignedTransaction.js +1 -2
  154. package/_cjs/actions/test/sendUnsignedTransaction.js.map +1 -1
  155. package/_cjs/actions/test/setAutomine.js +1 -2
  156. package/_cjs/actions/test/setAutomine.js.map +1 -1
  157. package/_cjs/actions/test/setBalance.js +1 -2
  158. package/_cjs/actions/test/setBalance.js.map +1 -1
  159. package/_cjs/actions/test/setBlockGasLimit.js +1 -2
  160. package/_cjs/actions/test/setBlockGasLimit.js.map +1 -1
  161. package/_cjs/actions/test/setBlockTimestampInterval.js +1 -2
  162. package/_cjs/actions/test/setBlockTimestampInterval.js.map +1 -1
  163. package/_cjs/actions/test/setCode.js +1 -2
  164. package/_cjs/actions/test/setCode.js.map +1 -1
  165. package/_cjs/actions/test/setCoinbase.js +1 -2
  166. package/_cjs/actions/test/setCoinbase.js.map +1 -1
  167. package/_cjs/actions/test/setIntervalMining.js +1 -2
  168. package/_cjs/actions/test/setIntervalMining.js.map +1 -1
  169. package/_cjs/actions/test/setLoggingEnabled.js +1 -2
  170. package/_cjs/actions/test/setLoggingEnabled.js.map +1 -1
  171. package/_cjs/actions/test/setMinGasPrice.js +1 -2
  172. package/_cjs/actions/test/setMinGasPrice.js.map +1 -1
  173. package/_cjs/actions/test/setNextBlockBaseFeePerGas.js +1 -2
  174. package/_cjs/actions/test/setNextBlockBaseFeePerGas.js.map +1 -1
  175. package/_cjs/actions/test/setNextBlockTimestamp.js +1 -2
  176. package/_cjs/actions/test/setNextBlockTimestamp.js.map +1 -1
  177. package/_cjs/actions/test/setNonce.js +1 -2
  178. package/_cjs/actions/test/setNonce.js.map +1 -1
  179. package/_cjs/actions/test/setRpcUrl.js +1 -2
  180. package/_cjs/actions/test/setRpcUrl.js.map +1 -1
  181. package/_cjs/actions/test/setStorageAt.js +1 -2
  182. package/_cjs/actions/test/setStorageAt.js.map +1 -1
  183. package/_cjs/actions/test/snapshot.js +1 -2
  184. package/_cjs/actions/test/snapshot.js.map +1 -1
  185. package/_cjs/actions/test/stopImpersonatingAccount.js +1 -2
  186. package/_cjs/actions/test/stopImpersonatingAccount.js.map +1 -1
  187. package/_cjs/actions/wallet/addChain.js +1 -2
  188. package/_cjs/actions/wallet/addChain.js.map +1 -1
  189. package/_cjs/actions/wallet/deployContract.js +1 -2
  190. package/_cjs/actions/wallet/deployContract.js.map +1 -1
  191. package/_cjs/actions/wallet/getAddresses.js +1 -2
  192. package/_cjs/actions/wallet/getAddresses.js.map +1 -1
  193. package/_cjs/actions/wallet/getPermissions.js +1 -2
  194. package/_cjs/actions/wallet/getPermissions.js.map +1 -1
  195. package/_cjs/actions/wallet/prepareTransactionRequest.js +2 -2
  196. package/_cjs/actions/wallet/prepareTransactionRequest.js.map +1 -1
  197. package/_cjs/actions/wallet/requestAddresses.js +1 -2
  198. package/_cjs/actions/wallet/requestAddresses.js.map +1 -1
  199. package/_cjs/actions/wallet/requestPermissions.js +1 -2
  200. package/_cjs/actions/wallet/requestPermissions.js.map +1 -1
  201. package/_cjs/actions/wallet/sendRawTransaction.js +1 -2
  202. package/_cjs/actions/wallet/sendRawTransaction.js.map +1 -1
  203. package/_cjs/actions/wallet/sendTransaction.js +2 -2
  204. package/_cjs/actions/wallet/sendTransaction.js.map +1 -1
  205. package/_cjs/actions/wallet/signMessage.js +1 -2
  206. package/_cjs/actions/wallet/signMessage.js.map +1 -1
  207. package/_cjs/actions/wallet/signTransaction.js +1 -2
  208. package/_cjs/actions/wallet/signTransaction.js.map +1 -1
  209. package/_cjs/actions/wallet/signTypedData.js +1 -2
  210. package/_cjs/actions/wallet/signTypedData.js.map +1 -1
  211. package/_cjs/actions/wallet/switchChain.js +1 -2
  212. package/_cjs/actions/wallet/switchChain.js.map +1 -1
  213. package/_cjs/actions/wallet/watchAsset.js +1 -2
  214. package/_cjs/actions/wallet/watchAsset.js.map +1 -1
  215. package/_cjs/actions/wallet/writeContract.js +1 -2
  216. package/_cjs/actions/wallet/writeContract.js.map +1 -1
  217. package/_cjs/celo/parsers.js +1 -2
  218. package/_cjs/celo/parsers.js.map +1 -1
  219. package/_cjs/celo/serializers.js +4 -4
  220. package/_cjs/celo/serializers.js.map +1 -1
  221. package/_cjs/celo/utils.js +4 -5
  222. package/_cjs/celo/utils.js.map +1 -1
  223. package/_cjs/chains/definitions/zetachain.js +6 -0
  224. package/_cjs/chains/definitions/zetachain.js.map +1 -1
  225. package/_cjs/chains/definitions/zetachainAthensTestnet.js +6 -0
  226. package/_cjs/chains/definitions/zetachainAthensTestnet.js.map +1 -1
  227. package/_cjs/chains/definitions/zircuitTestnet.js +27 -0
  228. package/_cjs/chains/definitions/zircuitTestnet.js.map +1 -0
  229. package/_cjs/chains/index.js +4 -2
  230. package/_cjs/chains/index.js.map +1 -1
  231. package/_cjs/clients/createClient.js +2 -3
  232. package/_cjs/clients/createClient.js.map +1 -1
  233. package/_cjs/clients/createPublicClient.js +1 -2
  234. package/_cjs/clients/createPublicClient.js.map +1 -1
  235. package/_cjs/clients/createTestClient.js +1 -2
  236. package/_cjs/clients/createTestClient.js.map +1 -1
  237. package/_cjs/clients/createWalletClient.js +1 -2
  238. package/_cjs/clients/createWalletClient.js.map +1 -1
  239. package/_cjs/clients/decorators/public.js +1 -2
  240. package/_cjs/clients/decorators/public.js.map +1 -1
  241. package/_cjs/clients/decorators/test.js +1 -2
  242. package/_cjs/clients/decorators/test.js.map +1 -1
  243. package/_cjs/clients/decorators/wallet.js +1 -2
  244. package/_cjs/clients/decorators/wallet.js.map +1 -1
  245. package/_cjs/clients/transports/createTransport.js +1 -2
  246. package/_cjs/clients/transports/createTransport.js.map +1 -1
  247. package/_cjs/clients/transports/custom.js +1 -2
  248. package/_cjs/clients/transports/custom.js.map +1 -1
  249. package/_cjs/clients/transports/fallback.js +2 -3
  250. package/_cjs/clients/transports/fallback.js.map +1 -1
  251. package/_cjs/clients/transports/http.js +1 -2
  252. package/_cjs/clients/transports/http.js.map +1 -1
  253. package/_cjs/clients/transports/ipc.js +1 -2
  254. package/_cjs/clients/transports/ipc.js.map +1 -1
  255. package/_cjs/clients/transports/webSocket.js +1 -2
  256. package/_cjs/clients/transports/webSocket.js.map +1 -1
  257. package/_cjs/errors/stateOverride.js +3 -3
  258. package/_cjs/errors/stateOverride.js.map +1 -1
  259. package/_cjs/errors/transaction.js +2 -2
  260. package/_cjs/errors/transaction.js.map +1 -1
  261. package/_cjs/errors/version.js +1 -1
  262. package/_cjs/experimental/eip5792/actions/getCallsStatus.js +1 -2
  263. package/_cjs/experimental/eip5792/actions/getCallsStatus.js.map +1 -1
  264. package/_cjs/experimental/eip5792/actions/getCapabilities.js +1 -2
  265. package/_cjs/experimental/eip5792/actions/getCapabilities.js.map +1 -1
  266. package/_cjs/experimental/eip5792/actions/sendCalls.js +1 -2
  267. package/_cjs/experimental/eip5792/actions/sendCalls.js.map +1 -1
  268. package/_cjs/experimental/eip5792/actions/showCallsStatus.js +1 -2
  269. package/_cjs/experimental/eip5792/actions/showCallsStatus.js.map +1 -1
  270. package/_cjs/experimental/eip5792/actions/writeContracts.js +1 -2
  271. package/_cjs/experimental/eip5792/actions/writeContracts.js.map +1 -1
  272. package/_cjs/experimental/eip5792/decorators/eip5792.js +1 -2
  273. package/_cjs/experimental/eip5792/decorators/eip5792.js.map +1 -1
  274. package/_cjs/experimental/erc7715/actions/issuePermissions.js +1 -2
  275. package/_cjs/experimental/erc7715/actions/issuePermissions.js.map +1 -1
  276. package/_cjs/experimental/erc7715/decorators/erc7715.js +1 -2
  277. package/_cjs/experimental/erc7715/decorators/erc7715.js.map +1 -1
  278. package/_cjs/experimental/index.js +6 -4
  279. package/_cjs/experimental/index.js.map +1 -1
  280. package/_cjs/experimental/solady/actions/signMessage.js +39 -0
  281. package/_cjs/experimental/solady/actions/signMessage.js.map +1 -0
  282. package/_cjs/experimental/solady/actions/signTypedData.js +62 -0
  283. package/_cjs/experimental/solady/actions/signTypedData.js.map +1 -0
  284. package/_cjs/experimental/solady/decorators/solady.js +15 -0
  285. package/_cjs/experimental/solady/decorators/solady.js.map +1 -0
  286. package/_cjs/experimental/solady/index.js +16 -0
  287. package/_cjs/experimental/solady/index.js.map +1 -0
  288. package/_cjs/experimental/solady/types.js +3 -0
  289. package/_cjs/experimental/solady/types.js.map +1 -0
  290. package/_cjs/experimental/solady/utils/hashMessage.js +19 -0
  291. package/_cjs/experimental/solady/utils/hashMessage.js.map +1 -0
  292. package/_cjs/experimental/solady/utils/hashTypedData.js +31 -0
  293. package/_cjs/experimental/solady/utils/hashTypedData.js.map +1 -0
  294. package/_cjs/experimental/solady/utils/wrapTypedDataSignature.js +44 -0
  295. package/_cjs/experimental/solady/utils/wrapTypedDataSignature.js.map +1 -0
  296. package/_cjs/index.js +11 -3
  297. package/_cjs/index.js.map +1 -1
  298. package/_cjs/op-stack/actions/buildDepositTransaction.js +1 -2
  299. package/_cjs/op-stack/actions/buildDepositTransaction.js.map +1 -1
  300. package/_cjs/op-stack/actions/buildInitiateWithdrawal.js +1 -2
  301. package/_cjs/op-stack/actions/buildInitiateWithdrawal.js.map +1 -1
  302. package/_cjs/op-stack/actions/buildProveWithdrawal.js +2 -3
  303. package/_cjs/op-stack/actions/buildProveWithdrawal.js.map +1 -1
  304. package/_cjs/op-stack/actions/depositTransaction.js +1 -2
  305. package/_cjs/op-stack/actions/depositTransaction.js.map +1 -1
  306. package/_cjs/op-stack/actions/estimateContractL1Fee.js +1 -2
  307. package/_cjs/op-stack/actions/estimateContractL1Fee.js.map +1 -1
  308. package/_cjs/op-stack/actions/estimateContractL1Gas.js +1 -2
  309. package/_cjs/op-stack/actions/estimateContractL1Gas.js.map +1 -1
  310. package/_cjs/op-stack/actions/estimateContractTotalFee.js +1 -2
  311. package/_cjs/op-stack/actions/estimateContractTotalFee.js.map +1 -1
  312. package/_cjs/op-stack/actions/estimateContractTotalGas.js +1 -2
  313. package/_cjs/op-stack/actions/estimateContractTotalGas.js.map +1 -1
  314. package/_cjs/op-stack/actions/estimateDepositTransactionGas.js +1 -2
  315. package/_cjs/op-stack/actions/estimateDepositTransactionGas.js.map +1 -1
  316. package/_cjs/op-stack/actions/estimateFinalizeWithdrawalGas.js +1 -2
  317. package/_cjs/op-stack/actions/estimateFinalizeWithdrawalGas.js.map +1 -1
  318. package/_cjs/op-stack/actions/estimateInitiateWithdrawalGas.js +1 -2
  319. package/_cjs/op-stack/actions/estimateInitiateWithdrawalGas.js.map +1 -1
  320. package/_cjs/op-stack/actions/estimateL1Fee.js +1 -2
  321. package/_cjs/op-stack/actions/estimateL1Fee.js.map +1 -1
  322. package/_cjs/op-stack/actions/estimateL1Gas.js +1 -2
  323. package/_cjs/op-stack/actions/estimateL1Gas.js.map +1 -1
  324. package/_cjs/op-stack/actions/estimateProveWithdrawalGas.js +1 -2
  325. package/_cjs/op-stack/actions/estimateProveWithdrawalGas.js.map +1 -1
  326. package/_cjs/op-stack/actions/estimateTotalFee.js +1 -2
  327. package/_cjs/op-stack/actions/estimateTotalFee.js.map +1 -1
  328. package/_cjs/op-stack/actions/estimateTotalGas.js +1 -2
  329. package/_cjs/op-stack/actions/estimateTotalGas.js.map +1 -1
  330. package/_cjs/op-stack/actions/finalizeWithdrawal.js +1 -2
  331. package/_cjs/op-stack/actions/finalizeWithdrawal.js.map +1 -1
  332. package/_cjs/op-stack/actions/getGame.js +1 -2
  333. package/_cjs/op-stack/actions/getGame.js.map +1 -1
  334. package/_cjs/op-stack/actions/getGames.js +1 -2
  335. package/_cjs/op-stack/actions/getGames.js.map +1 -1
  336. package/_cjs/op-stack/actions/getL1BaseFee.js +1 -2
  337. package/_cjs/op-stack/actions/getL1BaseFee.js.map +1 -1
  338. package/_cjs/op-stack/actions/getL2Output.js +1 -2
  339. package/_cjs/op-stack/actions/getL2Output.js.map +1 -1
  340. package/_cjs/op-stack/actions/getPortalVersion.js +1 -2
  341. package/_cjs/op-stack/actions/getPortalVersion.js.map +1 -1
  342. package/_cjs/op-stack/actions/getTimeToFinalize.js +1 -2
  343. package/_cjs/op-stack/actions/getTimeToFinalize.js.map +1 -1
  344. package/_cjs/op-stack/actions/getTimeToNextGame.js +1 -2
  345. package/_cjs/op-stack/actions/getTimeToNextGame.js.map +1 -1
  346. package/_cjs/op-stack/actions/getTimeToNextL2Output.js +1 -2
  347. package/_cjs/op-stack/actions/getTimeToNextL2Output.js.map +1 -1
  348. package/_cjs/op-stack/actions/getTimeToProve.js +1 -2
  349. package/_cjs/op-stack/actions/getTimeToProve.js.map +1 -1
  350. package/_cjs/op-stack/actions/getWithdrawalStatus.js +1 -2
  351. package/_cjs/op-stack/actions/getWithdrawalStatus.js.map +1 -1
  352. package/_cjs/op-stack/actions/initiateWithdrawal.js +1 -2
  353. package/_cjs/op-stack/actions/initiateWithdrawal.js.map +1 -1
  354. package/_cjs/op-stack/actions/proveWithdrawal.js +1 -2
  355. package/_cjs/op-stack/actions/proveWithdrawal.js.map +1 -1
  356. package/_cjs/op-stack/actions/waitForNextGame.js +1 -2
  357. package/_cjs/op-stack/actions/waitForNextGame.js.map +1 -1
  358. package/_cjs/op-stack/actions/waitForNextL2Output.js +1 -2
  359. package/_cjs/op-stack/actions/waitForNextL2Output.js.map +1 -1
  360. package/_cjs/op-stack/actions/waitToFinalize.js +1 -2
  361. package/_cjs/op-stack/actions/waitToFinalize.js.map +1 -1
  362. package/_cjs/op-stack/actions/waitToProve.js +1 -2
  363. package/_cjs/op-stack/actions/waitToProve.js.map +1 -1
  364. package/_cjs/op-stack/decorators/publicL1.js +1 -2
  365. package/_cjs/op-stack/decorators/publicL1.js.map +1 -1
  366. package/_cjs/op-stack/decorators/publicL2.js +1 -2
  367. package/_cjs/op-stack/decorators/publicL2.js.map +1 -1
  368. package/_cjs/op-stack/decorators/walletL1.js +1 -2
  369. package/_cjs/op-stack/decorators/walletL1.js.map +1 -1
  370. package/_cjs/op-stack/decorators/walletL2.js +1 -2
  371. package/_cjs/op-stack/decorators/walletL2.js.map +1 -1
  372. package/_cjs/op-stack/parsers.js +1 -2
  373. package/_cjs/op-stack/parsers.js.map +1 -1
  374. package/_cjs/op-stack/serializers.js +3 -3
  375. package/_cjs/op-stack/serializers.js.map +1 -1
  376. package/_cjs/op-stack/utils/extractTransactionDepositedLogs.js +1 -2
  377. package/_cjs/op-stack/utils/extractTransactionDepositedLogs.js.map +1 -1
  378. package/_cjs/op-stack/utils/extractWithdrawalMessageLogs.js +1 -2
  379. package/_cjs/op-stack/utils/extractWithdrawalMessageLogs.js.map +1 -1
  380. package/_cjs/op-stack/utils/getL2TransactionHash.js +1 -2
  381. package/_cjs/op-stack/utils/getL2TransactionHash.js.map +1 -1
  382. package/_cjs/op-stack/utils/getL2TransactionHashes.js +1 -2
  383. package/_cjs/op-stack/utils/getL2TransactionHashes.js.map +1 -1
  384. package/_cjs/op-stack/utils/getSourceHash.js +1 -2
  385. package/_cjs/op-stack/utils/getSourceHash.js.map +1 -1
  386. package/_cjs/op-stack/utils/getWithdrawalHashStorageSlot.js +1 -2
  387. package/_cjs/op-stack/utils/getWithdrawalHashStorageSlot.js.map +1 -1
  388. package/_cjs/op-stack/utils/getWithdrawals.js +1 -2
  389. package/_cjs/op-stack/utils/getWithdrawals.js.map +1 -1
  390. package/_cjs/op-stack/utils/opaqueDataToDepositData.js +1 -2
  391. package/_cjs/op-stack/utils/opaqueDataToDepositData.js.map +1 -1
  392. package/_cjs/utils/abi/decodeAbiParameters.js +1 -2
  393. package/_cjs/utils/abi/decodeAbiParameters.js.map +1 -1
  394. package/_cjs/utils/abi/decodeDeployData.js +1 -2
  395. package/_cjs/utils/abi/decodeDeployData.js.map +1 -1
  396. package/_cjs/utils/abi/decodeErrorResult.js +1 -2
  397. package/_cjs/utils/abi/decodeErrorResult.js.map +1 -1
  398. package/_cjs/utils/abi/decodeEventLog.js +1 -2
  399. package/_cjs/utils/abi/decodeEventLog.js.map +1 -1
  400. package/_cjs/utils/abi/decodeFunctionData.js +1 -2
  401. package/_cjs/utils/abi/decodeFunctionData.js.map +1 -1
  402. package/_cjs/utils/abi/decodeFunctionResult.js +1 -2
  403. package/_cjs/utils/abi/decodeFunctionResult.js.map +1 -1
  404. package/_cjs/utils/abi/encodeAbiParameters.js +2 -3
  405. package/_cjs/utils/abi/encodeAbiParameters.js.map +1 -1
  406. package/_cjs/utils/abi/encodeDeployData.js +1 -2
  407. package/_cjs/utils/abi/encodeDeployData.js.map +1 -1
  408. package/_cjs/utils/abi/encodeErrorResult.js +1 -2
  409. package/_cjs/utils/abi/encodeErrorResult.js.map +1 -1
  410. package/_cjs/utils/abi/encodeEventTopics.js +6 -7
  411. package/_cjs/utils/abi/encodeEventTopics.js.map +1 -1
  412. package/_cjs/utils/abi/encodeFunctionData.js +1 -2
  413. package/_cjs/utils/abi/encodeFunctionData.js.map +1 -1
  414. package/_cjs/utils/abi/encodeFunctionResult.js +1 -2
  415. package/_cjs/utils/abi/encodeFunctionResult.js.map +1 -1
  416. package/_cjs/utils/abi/encodePacked.js +1 -2
  417. package/_cjs/utils/abi/encodePacked.js.map +1 -1
  418. package/_cjs/utils/abi/formatAbiItem.js +2 -3
  419. package/_cjs/utils/abi/formatAbiItem.js.map +1 -1
  420. package/_cjs/utils/abi/formatAbiItemWithArgs.js +1 -2
  421. package/_cjs/utils/abi/formatAbiItemWithArgs.js.map +1 -1
  422. package/_cjs/utils/abi/getAbiItem.js +3 -4
  423. package/_cjs/utils/abi/getAbiItem.js.map +1 -1
  424. package/_cjs/utils/abi/parseEventLogs.js +1 -2
  425. package/_cjs/utils/abi/parseEventLogs.js.map +1 -1
  426. package/_cjs/utils/abi/prepareEncodeFunctionData.js +1 -2
  427. package/_cjs/utils/abi/prepareEncodeFunctionData.js.map +1 -1
  428. package/_cjs/utils/address/getAddress.js +2 -3
  429. package/_cjs/utils/address/getAddress.js.map +1 -1
  430. package/_cjs/utils/address/getContractAddress.js +3 -4
  431. package/_cjs/utils/address/getContractAddress.js.map +1 -1
  432. package/_cjs/utils/address/isAddress.js +2 -2
  433. package/_cjs/utils/address/isAddress.js.map +1 -1
  434. package/_cjs/utils/address/isAddressEqual.js +1 -2
  435. package/_cjs/utils/address/isAddressEqual.js.map +1 -1
  436. package/_cjs/utils/blob/blobsToCommitments.js +1 -2
  437. package/_cjs/utils/blob/blobsToCommitments.js.map +1 -1
  438. package/_cjs/utils/blob/blobsToProofs.js +1 -2
  439. package/_cjs/utils/blob/blobsToProofs.js.map +1 -1
  440. package/_cjs/utils/blob/commitmentToVersionedHash.js +1 -2
  441. package/_cjs/utils/blob/commitmentToVersionedHash.js.map +1 -1
  442. package/_cjs/utils/blob/commitmentsToVersionedHashes.js +1 -2
  443. package/_cjs/utils/blob/commitmentsToVersionedHashes.js.map +1 -1
  444. package/_cjs/utils/blob/fromBlobs.js +1 -2
  445. package/_cjs/utils/blob/fromBlobs.js.map +1 -1
  446. package/_cjs/utils/blob/sidecarsToVersionedHashes.js +1 -2
  447. package/_cjs/utils/blob/sidecarsToVersionedHashes.js.map +1 -1
  448. package/_cjs/utils/blob/toBlobSidecars.js +1 -2
  449. package/_cjs/utils/blob/toBlobSidecars.js.map +1 -1
  450. package/_cjs/utils/blob/toBlobs.js +1 -2
  451. package/_cjs/utils/blob/toBlobs.js.map +1 -1
  452. package/_cjs/utils/buildRequest.js +2 -3
  453. package/_cjs/utils/buildRequest.js.map +1 -1
  454. package/_cjs/utils/ccip.js +3 -3
  455. package/_cjs/utils/ccip.js.map +1 -1
  456. package/_cjs/utils/chain/assertCurrentChain.js +1 -2
  457. package/_cjs/utils/chain/assertCurrentChain.js.map +1 -1
  458. package/_cjs/utils/chain/defineChain.js +1 -2
  459. package/_cjs/utils/chain/defineChain.js.map +1 -1
  460. package/_cjs/utils/chain/extractChain.js +1 -2
  461. package/_cjs/utils/chain/extractChain.js.map +1 -1
  462. package/_cjs/utils/chain/getChainContractAddress.js +1 -2
  463. package/_cjs/utils/chain/getChainContractAddress.js.map +1 -1
  464. package/_cjs/utils/cursor.js +1 -2
  465. package/_cjs/utils/cursor.js.map +1 -1
  466. package/_cjs/utils/data/concat.js +3 -4
  467. package/_cjs/utils/data/concat.js.map +1 -1
  468. package/_cjs/utils/data/isBytes.js +1 -2
  469. package/_cjs/utils/data/isBytes.js.map +1 -1
  470. package/_cjs/utils/data/isBytesEqual.js +1 -2
  471. package/_cjs/utils/data/isBytesEqual.js.map +1 -1
  472. package/_cjs/utils/data/isHex.js +1 -2
  473. package/_cjs/utils/data/isHex.js.map +1 -1
  474. package/_cjs/utils/data/pad.js +3 -4
  475. package/_cjs/utils/data/pad.js.map +1 -1
  476. package/_cjs/utils/data/size.js +1 -2
  477. package/_cjs/utils/data/size.js.map +1 -1
  478. package/_cjs/utils/data/slice.js +3 -4
  479. package/_cjs/utils/data/slice.js.map +1 -1
  480. package/_cjs/utils/data/trim.js +1 -2
  481. package/_cjs/utils/data/trim.js.map +1 -1
  482. package/_cjs/utils/encoding/fromBytes.js +5 -6
  483. package/_cjs/utils/encoding/fromBytes.js.map +1 -1
  484. package/_cjs/utils/encoding/fromHex.js +6 -7
  485. package/_cjs/utils/encoding/fromHex.js.map +1 -1
  486. package/_cjs/utils/encoding/fromRlp.js +1 -2
  487. package/_cjs/utils/encoding/fromRlp.js.map +1 -1
  488. package/_cjs/utils/encoding/toBytes.js +5 -6
  489. package/_cjs/utils/encoding/toBytes.js.map +1 -1
  490. package/_cjs/utils/encoding/toHex.js +5 -6
  491. package/_cjs/utils/encoding/toHex.js.map +1 -1
  492. package/_cjs/utils/encoding/toRlp.js +3 -4
  493. package/_cjs/utils/encoding/toRlp.js.map +1 -1
  494. package/_cjs/utils/ens/avatar/parseAvatarRecord.js +1 -2
  495. package/_cjs/utils/ens/avatar/parseAvatarRecord.js.map +1 -1
  496. package/_cjs/utils/ens/avatar/utils.js +8 -9
  497. package/_cjs/utils/ens/avatar/utils.js.map +1 -1
  498. package/_cjs/utils/ens/encodeLabelhash.js +1 -2
  499. package/_cjs/utils/ens/encodeLabelhash.js.map +1 -1
  500. package/_cjs/utils/ens/encodedLabelToLabelhash.js +1 -2
  501. package/_cjs/utils/ens/encodedLabelToLabelhash.js.map +1 -1
  502. package/_cjs/utils/ens/errors.js +1 -2
  503. package/_cjs/utils/ens/errors.js.map +1 -1
  504. package/_cjs/utils/ens/labelhash.js +1 -2
  505. package/_cjs/utils/ens/labelhash.js.map +1 -1
  506. package/_cjs/utils/ens/namehash.js +1 -2
  507. package/_cjs/utils/ens/namehash.js.map +1 -1
  508. package/_cjs/utils/ens/normalize.js +1 -2
  509. package/_cjs/utils/ens/normalize.js.map +1 -1
  510. package/_cjs/utils/ens/packetToBytes.js +1 -2
  511. package/_cjs/utils/ens/packetToBytes.js.map +1 -1
  512. package/_cjs/utils/errors/getCallError.js +1 -2
  513. package/_cjs/utils/errors/getCallError.js.map +1 -1
  514. package/_cjs/utils/errors/getContractError.js +1 -2
  515. package/_cjs/utils/errors/getContractError.js.map +1 -1
  516. package/_cjs/utils/errors/getEstimateGasError.js +1 -2
  517. package/_cjs/utils/errors/getEstimateGasError.js.map +1 -1
  518. package/_cjs/utils/errors/getNodeError.js +2 -3
  519. package/_cjs/utils/errors/getNodeError.js.map +1 -1
  520. package/_cjs/utils/errors/getTransactionError.js +1 -2
  521. package/_cjs/utils/errors/getTransactionError.js.map +1 -1
  522. package/_cjs/utils/filters/createFilterRequestScope.js +1 -2
  523. package/_cjs/utils/filters/createFilterRequestScope.js.map +1 -1
  524. package/_cjs/utils/formatters/block.js +2 -2
  525. package/_cjs/utils/formatters/block.js.map +1 -1
  526. package/_cjs/utils/formatters/extract.js +1 -2
  527. package/_cjs/utils/formatters/extract.js.map +1 -1
  528. package/_cjs/utils/formatters/feeHistory.js +1 -2
  529. package/_cjs/utils/formatters/feeHistory.js.map +1 -1
  530. package/_cjs/utils/formatters/formatter.js +1 -2
  531. package/_cjs/utils/formatters/formatter.js.map +1 -1
  532. package/_cjs/utils/formatters/log.js +1 -2
  533. package/_cjs/utils/formatters/log.js.map +1 -1
  534. package/_cjs/utils/formatters/proof.js +1 -2
  535. package/_cjs/utils/formatters/proof.js.map +1 -1
  536. package/_cjs/utils/formatters/transaction.js +2 -2
  537. package/_cjs/utils/formatters/transaction.js.map +1 -1
  538. package/_cjs/utils/formatters/transactionReceipt.js +2 -2
  539. package/_cjs/utils/formatters/transactionReceipt.js.map +1 -1
  540. package/_cjs/utils/formatters/transactionRequest.js +2 -2
  541. package/_cjs/utils/formatters/transactionRequest.js.map +1 -1
  542. package/_cjs/utils/getAction.js +9 -6
  543. package/_cjs/utils/getAction.js.map +1 -1
  544. package/_cjs/utils/hash/hashSignature.js +1 -2
  545. package/_cjs/utils/hash/hashSignature.js.map +1 -1
  546. package/_cjs/utils/hash/isHash.js +1 -2
  547. package/_cjs/utils/hash/isHash.js.map +1 -1
  548. package/_cjs/utils/hash/keccak256.js +1 -2
  549. package/_cjs/utils/hash/keccak256.js.map +1 -1
  550. package/_cjs/utils/hash/normalizeSignature.js +1 -2
  551. package/_cjs/utils/hash/normalizeSignature.js.map +1 -1
  552. package/_cjs/utils/hash/ripemd160.js +1 -2
  553. package/_cjs/utils/hash/ripemd160.js.map +1 -1
  554. package/_cjs/utils/hash/sha256.js +1 -2
  555. package/_cjs/utils/hash/sha256.js.map +1 -1
  556. package/_cjs/utils/hash/toSignatureHash.js +1 -2
  557. package/_cjs/utils/hash/toSignatureHash.js.map +1 -1
  558. package/_cjs/utils/index.js +7 -1
  559. package/_cjs/utils/index.js.map +1 -1
  560. package/_cjs/utils/kzg/defineKzg.js +1 -2
  561. package/_cjs/utils/kzg/defineKzg.js.map +1 -1
  562. package/_cjs/utils/kzg/setupKzg.js +1 -2
  563. package/_cjs/utils/kzg/setupKzg.js.map +1 -1
  564. package/_cjs/utils/nonceManager.js +3 -3
  565. package/_cjs/utils/nonceManager.js.map +1 -1
  566. package/_cjs/utils/observe.js +2 -2
  567. package/_cjs/utils/observe.js.map +1 -1
  568. package/_cjs/utils/poll.js +1 -2
  569. package/_cjs/utils/poll.js.map +1 -1
  570. package/_cjs/utils/promise/createBatchScheduler.js +1 -2
  571. package/_cjs/utils/promise/createBatchScheduler.js.map +1 -1
  572. package/_cjs/utils/promise/withCache.js +3 -3
  573. package/_cjs/utils/promise/withCache.js.map +1 -1
  574. package/_cjs/utils/promise/withDedupe.js +2 -2
  575. package/_cjs/utils/promise/withDedupe.js.map +1 -1
  576. package/_cjs/utils/promise/withRetry.js +1 -2
  577. package/_cjs/utils/promise/withRetry.js.map +1 -1
  578. package/_cjs/utils/promise/withTimeout.js +1 -2
  579. package/_cjs/utils/promise/withTimeout.js.map +1 -1
  580. package/_cjs/utils/rpc/compat.js +2 -2
  581. package/_cjs/utils/rpc/compat.js.map +1 -1
  582. package/_cjs/utils/rpc/http.js +1 -2
  583. package/_cjs/utils/rpc/http.js.map +1 -1
  584. package/_cjs/utils/rpc/ipc.js +2 -3
  585. package/_cjs/utils/rpc/ipc.js.map +1 -1
  586. package/_cjs/utils/rpc/socket.js +2 -2
  587. package/_cjs/utils/rpc/socket.js.map +1 -1
  588. package/_cjs/utils/rpc/webSocket.js +1 -2
  589. package/_cjs/utils/rpc/webSocket.js.map +1 -1
  590. package/_cjs/utils/signature/compactSignatureToSignature.js +1 -2
  591. package/_cjs/utils/signature/compactSignatureToSignature.js.map +1 -1
  592. package/_cjs/utils/signature/hashMessage.js +3 -14
  593. package/_cjs/utils/signature/hashMessage.js.map +1 -1
  594. package/_cjs/utils/signature/hashTypedData.js +4 -3
  595. package/_cjs/utils/signature/hashTypedData.js.map +1 -1
  596. package/_cjs/{experimental/erc6492 → utils/signature}/isErc6492Signature.js +2 -3
  597. package/_cjs/utils/signature/isErc6492Signature.js.map +1 -0
  598. package/_cjs/utils/signature/parseCompactSignature.js +1 -2
  599. package/_cjs/utils/signature/parseCompactSignature.js.map +1 -1
  600. package/_cjs/{experimental/erc6492 → utils/signature}/parseErc6492Signature.js +2 -3
  601. package/_cjs/utils/signature/parseErc6492Signature.js.map +1 -0
  602. package/_cjs/utils/signature/parseSignature.js +1 -2
  603. package/_cjs/utils/signature/parseSignature.js.map +1 -1
  604. package/_cjs/utils/signature/recoverAddress.js +1 -2
  605. package/_cjs/utils/signature/recoverAddress.js.map +1 -1
  606. package/_cjs/utils/signature/recoverMessageAddress.js +1 -2
  607. package/_cjs/utils/signature/recoverMessageAddress.js.map +1 -1
  608. package/_cjs/utils/signature/recoverPublicKey.js +1 -2
  609. package/_cjs/utils/signature/recoverPublicKey.js.map +1 -1
  610. package/_cjs/utils/signature/recoverTransactionAddress.js +1 -2
  611. package/_cjs/utils/signature/recoverTransactionAddress.js.map +1 -1
  612. package/_cjs/utils/signature/recoverTypedDataAddress.js +1 -2
  613. package/_cjs/utils/signature/recoverTypedDataAddress.js.map +1 -1
  614. package/_cjs/utils/signature/serializeCompactSignature.js +1 -2
  615. package/_cjs/utils/signature/serializeCompactSignature.js.map +1 -1
  616. package/_cjs/{experimental/erc6492 → utils/signature}/serializeErc6492Signature.js +3 -4
  617. package/_cjs/utils/signature/serializeErc6492Signature.js.map +1 -0
  618. package/_cjs/utils/signature/serializeSignature.js +1 -2
  619. package/_cjs/utils/signature/serializeSignature.js.map +1 -1
  620. package/_cjs/utils/signature/signatureToCompactSignature.js +1 -2
  621. package/_cjs/utils/signature/signatureToCompactSignature.js.map +1 -1
  622. package/_cjs/utils/signature/toPrefixedMessage.js +19 -0
  623. package/_cjs/utils/signature/toPrefixedMessage.js.map +1 -0
  624. package/_cjs/utils/signature/verifyMessage.js +1 -2
  625. package/_cjs/utils/signature/verifyMessage.js.map +1 -1
  626. package/_cjs/utils/signature/verifyTypedData.js +1 -2
  627. package/_cjs/utils/signature/verifyTypedData.js.map +1 -1
  628. package/_cjs/utils/siwe/createSiweMessage.js +1 -2
  629. package/_cjs/utils/siwe/createSiweMessage.js.map +1 -1
  630. package/_cjs/utils/siwe/generateSiweNonce.js +1 -2
  631. package/_cjs/utils/siwe/generateSiweNonce.js.map +1 -1
  632. package/_cjs/utils/siwe/parseSiweMessage.js +1 -2
  633. package/_cjs/utils/siwe/parseSiweMessage.js.map +1 -1
  634. package/_cjs/utils/siwe/utils.js +1 -2
  635. package/_cjs/utils/siwe/utils.js.map +1 -1
  636. package/_cjs/utils/siwe/validateSiweMessage.js +1 -2
  637. package/_cjs/utils/siwe/validateSiweMessage.js.map +1 -1
  638. package/_cjs/utils/stateOverride.js +3 -4
  639. package/_cjs/utils/stateOverride.js.map +1 -1
  640. package/_cjs/utils/transaction/assertRequest.js +1 -2
  641. package/_cjs/utils/transaction/assertRequest.js.map +1 -1
  642. package/_cjs/utils/transaction/assertTransaction.js +4 -5
  643. package/_cjs/utils/transaction/assertTransaction.js.map +1 -1
  644. package/_cjs/utils/transaction/getSerializedTransactionType.js +1 -2
  645. package/_cjs/utils/transaction/getSerializedTransactionType.js.map +1 -1
  646. package/_cjs/utils/transaction/getTransactionType.js +1 -2
  647. package/_cjs/utils/transaction/getTransactionType.js.map +1 -1
  648. package/_cjs/utils/transaction/parseTransaction.js +3 -4
  649. package/_cjs/utils/transaction/parseTransaction.js.map +1 -1
  650. package/_cjs/utils/transaction/serializeAccessList.js +1 -2
  651. package/_cjs/utils/transaction/serializeAccessList.js.map +1 -1
  652. package/_cjs/utils/transaction/serializeTransaction.js +2 -3
  653. package/_cjs/utils/transaction/serializeTransaction.js.map +1 -1
  654. package/_cjs/utils/typedData.js +4 -5
  655. package/_cjs/utils/typedData.js.map +1 -1
  656. package/_cjs/utils/uid.js +1 -2
  657. package/_cjs/utils/uid.js.map +1 -1
  658. package/_cjs/utils/unit/formatEther.js +1 -2
  659. package/_cjs/utils/unit/formatEther.js.map +1 -1
  660. package/_cjs/utils/unit/formatGwei.js +1 -2
  661. package/_cjs/utils/unit/formatGwei.js.map +1 -1
  662. package/_cjs/utils/unit/formatUnits.js +1 -2
  663. package/_cjs/utils/unit/formatUnits.js.map +1 -1
  664. package/_cjs/utils/unit/parseEther.js +1 -2
  665. package/_cjs/utils/unit/parseEther.js.map +1 -1
  666. package/_cjs/utils/unit/parseGwei.js +1 -2
  667. package/_cjs/utils/unit/parseGwei.js.map +1 -1
  668. package/_cjs/utils/unit/parseUnits.js +1 -2
  669. package/_cjs/utils/unit/parseUnits.js.map +1 -1
  670. package/_cjs/utils/wait.js +1 -2
  671. package/_cjs/utils/wait.js.map +1 -1
  672. package/_cjs/zksync/actions/deployContract.js +1 -2
  673. package/_cjs/zksync/actions/deployContract.js.map +1 -1
  674. package/_cjs/zksync/actions/estimateFee.js +1 -2
  675. package/_cjs/zksync/actions/estimateFee.js.map +1 -1
  676. package/_cjs/zksync/actions/estimateGasL1ToL2.js +1 -2
  677. package/_cjs/zksync/actions/estimateGasL1ToL2.js.map +1 -1
  678. package/_cjs/zksync/actions/getAllBalances.js +1 -2
  679. package/_cjs/zksync/actions/getAllBalances.js.map +1 -1
  680. package/_cjs/zksync/actions/getBaseTokenL1Address.js +1 -2
  681. package/_cjs/zksync/actions/getBaseTokenL1Address.js.map +1 -1
  682. package/_cjs/zksync/actions/getBlockDetails.js +1 -2
  683. package/_cjs/zksync/actions/getBlockDetails.js.map +1 -1
  684. package/_cjs/zksync/actions/getBridgehubContractAddress.js +1 -2
  685. package/_cjs/zksync/actions/getBridgehubContractAddress.js.map +1 -1
  686. package/_cjs/zksync/actions/getDefaultBridgeAddresses.js +1 -2
  687. package/_cjs/zksync/actions/getDefaultBridgeAddresses.js.map +1 -1
  688. package/_cjs/zksync/actions/getL1Allowance.js +1 -2
  689. package/_cjs/zksync/actions/getL1Allowance.js.map +1 -1
  690. package/_cjs/zksync/actions/getL1Balance.js +1 -2
  691. package/_cjs/zksync/actions/getL1Balance.js.map +1 -1
  692. package/_cjs/zksync/actions/getL1BatchBlockRange.js +1 -2
  693. package/_cjs/zksync/actions/getL1BatchBlockRange.js.map +1 -1
  694. package/_cjs/zksync/actions/getL1BatchDetails.js +1 -2
  695. package/_cjs/zksync/actions/getL1BatchDetails.js.map +1 -1
  696. package/_cjs/zksync/actions/getL1BatchNumber.js +1 -2
  697. package/_cjs/zksync/actions/getL1BatchNumber.js.map +1 -1
  698. package/_cjs/zksync/actions/getL1ChainId.js +1 -2
  699. package/_cjs/zksync/actions/getL1ChainId.js.map +1 -1
  700. package/_cjs/zksync/actions/getL1TokenBalance.js +1 -2
  701. package/_cjs/zksync/actions/getL1TokenBalance.js.map +1 -1
  702. package/_cjs/zksync/actions/getLogProof.js +1 -2
  703. package/_cjs/zksync/actions/getLogProof.js.map +1 -1
  704. package/_cjs/zksync/actions/getMainContractAddress.js +1 -2
  705. package/_cjs/zksync/actions/getMainContractAddress.js.map +1 -1
  706. package/_cjs/zksync/actions/getRawBlockTransactions.js +1 -2
  707. package/_cjs/zksync/actions/getRawBlockTransactions.js.map +1 -1
  708. package/_cjs/zksync/actions/getTestnetPaymasterAddress.js +1 -2
  709. package/_cjs/zksync/actions/getTestnetPaymasterAddress.js.map +1 -1
  710. package/_cjs/zksync/actions/getTransactionDetails.js +1 -2
  711. package/_cjs/zksync/actions/getTransactionDetails.js.map +1 -1
  712. package/_cjs/zksync/actions/sendEip712Transaction.js +1 -2
  713. package/_cjs/zksync/actions/sendEip712Transaction.js.map +1 -1
  714. package/_cjs/zksync/actions/sendTransaction.js +1 -2
  715. package/_cjs/zksync/actions/sendTransaction.js.map +1 -1
  716. package/_cjs/zksync/actions/signEip712Transaction.js +1 -2
  717. package/_cjs/zksync/actions/signEip712Transaction.js.map +1 -1
  718. package/_cjs/zksync/actions/signTransaction.js +1 -2
  719. package/_cjs/zksync/actions/signTransaction.js.map +1 -1
  720. package/_cjs/zksync/decorators/eip712.js +1 -2
  721. package/_cjs/zksync/decorators/eip712.js.map +1 -1
  722. package/_cjs/zksync/decorators/publicL1.js +1 -2
  723. package/_cjs/zksync/decorators/publicL1.js.map +1 -1
  724. package/_cjs/zksync/decorators/publicL2.js +1 -2
  725. package/_cjs/zksync/decorators/publicL2.js.map +1 -1
  726. package/_cjs/zksync/serializers.js +2 -2
  727. package/_cjs/zksync/serializers.js.map +1 -1
  728. package/_cjs/zksync/utils/abi/encodeDeployData.js +1 -2
  729. package/_cjs/zksync/utils/abi/encodeDeployData.js.map +1 -1
  730. package/_cjs/zksync/utils/assertEip712Request.js +1 -2
  731. package/_cjs/zksync/utils/assertEip712Request.js.map +1 -1
  732. package/_cjs/zksync/utils/assertEip712Transaction.js +1 -2
  733. package/_cjs/zksync/utils/assertEip712Transaction.js.map +1 -1
  734. package/_cjs/zksync/utils/camelCaseKeys.js +1 -2
  735. package/_cjs/zksync/utils/camelCaseKeys.js.map +1 -1
  736. package/_cjs/zksync/utils/hashBytecode.js +1 -2
  737. package/_cjs/zksync/utils/hashBytecode.js.map +1 -1
  738. package/_cjs/zksync/utils/isEip712Transaction.js +1 -2
  739. package/_cjs/zksync/utils/isEip712Transaction.js.map +1 -1
  740. package/_cjs/zksync/utils/isEth.js +1 -2
  741. package/_cjs/zksync/utils/isEth.js.map +1 -1
  742. package/_cjs/zksync/utils/paymaster/getApprovalBasedPaymasterInput.js +1 -2
  743. package/_cjs/zksync/utils/paymaster/getApprovalBasedPaymasterInput.js.map +1 -1
  744. package/_cjs/zksync/utils/paymaster/getGeneralPaymasterInput.js +1 -2
  745. package/_cjs/zksync/utils/paymaster/getGeneralPaymasterInput.js.map +1 -1
  746. package/_esm/actions/public/createEventFilter.js +7 -7
  747. package/_esm/actions/public/createEventFilter.js.map +1 -1
  748. package/_esm/actions/public/getLogs.js +7 -7
  749. package/_esm/actions/public/getLogs.js.map +1 -1
  750. package/_esm/actions/public/getTransactionCount.js +1 -1
  751. package/_esm/actions/public/verifyHash.js +27 -3
  752. package/_esm/actions/public/verifyHash.js.map +1 -1
  753. package/_esm/actions/public/verifyMessage.js +3 -1
  754. package/_esm/actions/public/verifyMessage.js.map +1 -1
  755. package/_esm/actions/public/verifyTypedData.js +3 -1
  756. package/_esm/actions/public/verifyTypedData.js.map +1 -1
  757. package/_esm/actions/public/watchEvent.js +7 -7
  758. package/_esm/actions/public/watchEvent.js.map +1 -1
  759. package/_esm/actions/wallet/sendTransaction.js +1 -0
  760. package/_esm/actions/wallet/sendTransaction.js.map +1 -1
  761. package/_esm/chains/definitions/zetachain.js +6 -0
  762. package/_esm/chains/definitions/zetachain.js.map +1 -1
  763. package/_esm/chains/definitions/zetachainAthensTestnet.js +6 -0
  764. package/_esm/chains/definitions/zetachainAthensTestnet.js.map +1 -1
  765. package/_esm/chains/definitions/zircuitTestnet.js +24 -0
  766. package/_esm/chains/definitions/zircuitTestnet.js.map +1 -0
  767. package/_esm/chains/index.js +1 -0
  768. package/_esm/chains/index.js.map +1 -1
  769. package/_esm/errors/version.js +1 -1
  770. package/_esm/experimental/index.js +10 -3
  771. package/_esm/experimental/index.js.map +1 -1
  772. package/_esm/experimental/solady/actions/signMessage.js +84 -0
  773. package/_esm/experimental/solady/actions/signMessage.js.map +1 -0
  774. package/_esm/experimental/solady/actions/signTypedData.js +160 -0
  775. package/_esm/experimental/solady/actions/signTypedData.js.map +1 -0
  776. package/_esm/experimental/solady/decorators/solady.js +27 -0
  777. package/_esm/experimental/solady/decorators/solady.js.map +1 -0
  778. package/_esm/experimental/solady/index.js +8 -0
  779. package/_esm/experimental/solady/index.js.map +1 -0
  780. package/_esm/experimental/solady/types.js +2 -0
  781. package/_esm/experimental/solady/types.js.map +1 -0
  782. package/_esm/experimental/solady/utils/hashMessage.js +32 -0
  783. package/_esm/experimental/solady/utils/hashMessage.js.map +1 -0
  784. package/_esm/experimental/solady/utils/hashTypedData.js +72 -0
  785. package/_esm/experimental/solady/utils/hashTypedData.js.map +1 -0
  786. package/_esm/experimental/solady/utils/wrapTypedDataSignature.js +82 -0
  787. package/_esm/experimental/solady/utils/wrapTypedDataSignature.js.map +1 -0
  788. package/_esm/index.js +4 -0
  789. package/_esm/index.js.map +1 -1
  790. package/_esm/utils/abi/encodeEventTopics.js +5 -5
  791. package/_esm/utils/abi/encodeEventTopics.js.map +1 -1
  792. package/_esm/utils/getAction.js +11 -7
  793. package/_esm/utils/getAction.js.map +1 -1
  794. package/_esm/utils/index.js +3 -0
  795. package/_esm/utils/index.js.map +1 -1
  796. package/_esm/utils/signature/hashMessage.js +2 -12
  797. package/_esm/utils/signature/hashMessage.js.map +1 -1
  798. package/_esm/utils/signature/hashTypedData.js +2 -2
  799. package/_esm/utils/signature/hashTypedData.js.map +1 -1
  800. package/_esm/{experimental/erc6492 → utils/signature}/isErc6492Signature.js +1 -1
  801. package/_esm/utils/signature/isErc6492Signature.js.map +1 -0
  802. package/_esm/{experimental/erc6492 → utils/signature}/parseErc6492Signature.js +1 -1
  803. package/_esm/utils/signature/parseErc6492Signature.js.map +1 -0
  804. package/_esm/{experimental/erc6492 → utils/signature}/serializeErc6492Signature.js +2 -2
  805. package/_esm/utils/signature/serializeErc6492Signature.js.map +1 -0
  806. package/_esm/utils/signature/toPrefixedMessage.js +16 -0
  807. package/_esm/utils/signature/toPrefixedMessage.js.map +1 -0
  808. package/_types/actions/public/getTransactionCount.d.ts +1 -1
  809. package/_types/actions/public/verifyHash.d.ts +6 -2
  810. package/_types/actions/public/verifyHash.d.ts.map +1 -1
  811. package/_types/actions/public/verifyMessage.d.ts +1 -1
  812. package/_types/actions/public/verifyMessage.d.ts.map +1 -1
  813. package/_types/actions/public/verifyTypedData.d.ts.map +1 -1
  814. package/_types/actions/wallet/sendTransaction.d.ts.map +1 -1
  815. package/_types/celo/chainConfig.d.ts +1086 -1086
  816. package/_types/celo/formatters.d.ts +543 -543
  817. package/_types/celo/formatters.d.ts.map +1 -1
  818. package/_types/chains/definitions/ancient8.d.ts +260 -260
  819. package/_types/chains/definitions/ancient8Sepolia.d.ts +260 -260
  820. package/_types/chains/definitions/base.d.ts +260 -260
  821. package/_types/chains/definitions/baseGoerli.d.ts +260 -260
  822. package/_types/chains/definitions/baseSepolia.d.ts +260 -260
  823. package/_types/chains/definitions/celo.d.ts +1086 -1086
  824. package/_types/chains/definitions/celoAlfajores.d.ts +1086 -1086
  825. package/_types/chains/definitions/fraxtal.d.ts +260 -260
  826. package/_types/chains/definitions/fraxtalTestnet.d.ts +260 -260
  827. package/_types/chains/definitions/funkiSepolia.d.ts +260 -260
  828. package/_types/chains/definitions/lisk.d.ts +315 -315
  829. package/_types/chains/definitions/liskSepolia.d.ts +260 -260
  830. package/_types/chains/definitions/metalL2.d.ts +260 -260
  831. package/_types/chains/definitions/optimism.d.ts +260 -260
  832. package/_types/chains/definitions/optimismGoerli.d.ts +260 -260
  833. package/_types/chains/definitions/optimismSepolia.d.ts +260 -260
  834. package/_types/chains/definitions/pgn.d.ts +260 -260
  835. package/_types/chains/definitions/pgnTestnet.d.ts +260 -260
  836. package/_types/chains/definitions/playfiAlbireo.d.ts +315 -315
  837. package/_types/chains/definitions/rss3.d.ts +260 -260
  838. package/_types/chains/definitions/rss3Sepolia.d.ts +260 -260
  839. package/_types/chains/definitions/zetachain.d.ts +6 -8
  840. package/_types/chains/definitions/zetachain.d.ts.map +1 -1
  841. package/_types/chains/definitions/zetachainAthensTestnet.d.ts +6 -8
  842. package/_types/chains/definitions/zetachainAthensTestnet.d.ts.map +1 -1
  843. package/_types/chains/definitions/zircuitTestnet.d.ts +33 -0
  844. package/_types/chains/definitions/zircuitTestnet.d.ts.map +1 -0
  845. package/_types/chains/definitions/zkSync.d.ts +315 -315
  846. package/_types/chains/definitions/zkSyncInMemoryNode.d.ts +315 -315
  847. package/_types/chains/definitions/zkSyncLocalNode.d.ts +315 -315
  848. package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts +315 -315
  849. package/_types/chains/definitions/zkSyncTestnet.d.ts +315 -315
  850. package/_types/chains/definitions/zora.d.ts +260 -260
  851. package/_types/chains/definitions/zoraSepolia.d.ts +260 -260
  852. package/_types/chains/definitions/zoraTestnet.d.ts +260 -260
  853. package/_types/chains/index.d.ts +1 -0
  854. package/_types/chains/index.d.ts.map +1 -1
  855. package/_types/errors/version.d.ts +1 -1
  856. package/_types/experimental/eip5792/decorators/eip5792.d.ts.map +1 -1
  857. package/_types/experimental/erc7715/decorators/erc7715.d.ts.map +1 -1
  858. package/_types/experimental/index.d.ts +28 -3
  859. package/_types/experimental/index.d.ts.map +1 -1
  860. package/_types/experimental/solady/actions/signMessage.d.ts +71 -0
  861. package/_types/experimental/solady/actions/signMessage.d.ts.map +1 -0
  862. package/_types/experimental/solady/actions/signTypedData.d.ts +125 -0
  863. package/_types/experimental/solady/actions/signTypedData.d.ts.map +1 -0
  864. package/_types/experimental/solady/decorators/solady.d.ts +183 -0
  865. package/_types/experimental/solady/decorators/solady.d.ts.map +1 -0
  866. package/_types/experimental/solady/index.d.ts +7 -0
  867. package/_types/experimental/solady/index.d.ts.map +1 -0
  868. package/_types/experimental/solady/types.d.ts +7 -0
  869. package/_types/experimental/solady/types.d.ts.map +1 -0
  870. package/_types/experimental/solady/utils/hashMessage.d.ts +30 -0
  871. package/_types/experimental/solady/utils/hashMessage.d.ts.map +1 -0
  872. package/_types/experimental/solady/utils/hashTypedData.d.ts +59 -0
  873. package/_types/experimental/solady/utils/hashTypedData.d.ts.map +1 -0
  874. package/_types/experimental/solady/utils/wrapTypedDataSignature.d.ts +50 -0
  875. package/_types/experimental/solady/utils/wrapTypedDataSignature.d.ts.map +1 -0
  876. package/_types/index.d.ts +5 -1
  877. package/_types/index.d.ts.map +1 -1
  878. package/_types/op-stack/chainConfig.d.ts +260 -260
  879. package/_types/op-stack/decorators/publicL1.d.ts.map +1 -1
  880. package/_types/op-stack/decorators/publicL2.d.ts.map +1 -1
  881. package/_types/op-stack/decorators/walletL1.d.ts.map +1 -1
  882. package/_types/op-stack/decorators/walletL2.d.ts.map +1 -1
  883. package/_types/op-stack/formatters.d.ts +260 -260
  884. package/_types/op-stack/formatters.d.ts.map +1 -1
  885. package/_types/utils/abi/decodeFunctionData.d.ts +1 -1
  886. package/_types/utils/abi/decodeFunctionData.d.ts.map +1 -1
  887. package/_types/utils/abi/encodeEventTopics.d.ts +3 -1
  888. package/_types/utils/abi/encodeEventTopics.d.ts.map +1 -1
  889. package/_types/utils/formatters/block.d.ts.map +1 -1
  890. package/_types/utils/formatters/formatter.d.ts +2 -2
  891. package/_types/utils/formatters/formatter.d.ts.map +1 -1
  892. package/_types/utils/formatters/log.d.ts.map +1 -1
  893. package/_types/utils/formatters/proof.d.ts.map +1 -1
  894. package/_types/utils/formatters/transaction.d.ts +127 -126
  895. package/_types/utils/formatters/transaction.d.ts.map +1 -1
  896. package/_types/utils/formatters/transactionRequest.d.ts +67 -66
  897. package/_types/utils/formatters/transactionRequest.d.ts.map +1 -1
  898. package/_types/utils/getAction.d.ts +9 -1
  899. package/_types/utils/getAction.d.ts.map +1 -1
  900. package/_types/utils/index.d.ts +4 -1
  901. package/_types/utils/index.d.ts.map +1 -1
  902. package/_types/utils/rpc/compat.d.ts.map +1 -1
  903. package/_types/utils/rpc/ipc.d.ts +0 -2
  904. package/_types/utils/rpc/ipc.d.ts.map +1 -1
  905. package/_types/utils/signature/hashMessage.d.ts +1 -3
  906. package/_types/utils/signature/hashMessage.d.ts.map +1 -1
  907. package/_types/utils/signature/hashTypedData.d.ts +9 -0
  908. package/_types/utils/signature/hashTypedData.d.ts.map +1 -1
  909. package/_types/{experimental/erc6492 → utils/signature}/isErc6492Signature.d.ts +1 -1
  910. package/_types/utils/signature/isErc6492Signature.d.ts.map +1 -0
  911. package/_types/{experimental/erc6492 → utils/signature}/parseErc6492Signature.d.ts +1 -1
  912. package/_types/utils/signature/parseErc6492Signature.d.ts.map +1 -0
  913. package/_types/utils/signature/serializeErc6492Signature.d.ts.map +1 -0
  914. package/_types/utils/signature/toPrefixedMessage.d.ts +7 -0
  915. package/_types/utils/signature/toPrefixedMessage.d.ts.map +1 -0
  916. package/_types/zksync/chainConfig.d.ts +315 -315
  917. package/_types/zksync/decorators/eip712.d.ts.map +1 -1
  918. package/_types/zksync/decorators/publicL1.d.ts.map +1 -1
  919. package/_types/zksync/decorators/publicL2.d.ts.map +1 -1
  920. package/_types/zksync/formatters.d.ts +315 -315
  921. package/_types/zksync/formatters.d.ts.map +1 -1
  922. package/actions/public/createEventFilter.ts +9 -9
  923. package/actions/public/getLogs.ts +9 -9
  924. package/actions/public/getTransactionCount.ts +1 -1
  925. package/actions/public/verifyHash.ts +31 -4
  926. package/actions/public/verifyMessage.ts +10 -1
  927. package/actions/public/verifyTypedData.ts +4 -0
  928. package/actions/public/watchEvent.ts +9 -9
  929. package/actions/wallet/sendTransaction.ts +1 -0
  930. package/chains/definitions/zetachain.ts +6 -0
  931. package/chains/definitions/zetachainAthensTestnet.ts +6 -0
  932. package/chains/definitions/zircuitTestnet.ts +24 -0
  933. package/chains/index.ts +1 -0
  934. package/errors/version.ts +1 -1
  935. package/experimental/index.ts +21 -3
  936. package/experimental/solady/actions/signMessage.ts +151 -0
  937. package/experimental/solady/actions/signTypedData.ts +251 -0
  938. package/experimental/solady/decorators/solady.ts +232 -0
  939. package/experimental/solady/index.ts +36 -0
  940. package/experimental/solady/types.ts +7 -0
  941. package/experimental/solady/utils/hashMessage.ts +60 -0
  942. package/experimental/solady/utils/hashTypedData.ts +112 -0
  943. package/experimental/solady/utils/wrapTypedDataSignature.ts +108 -0
  944. package/index.ts +23 -0
  945. package/package.json +10 -2
  946. package/utils/abi/encodeEventTopics.ts +13 -11
  947. package/utils/getAction.ts +31 -15
  948. package/utils/index.ts +19 -0
  949. package/utils/signature/hashMessage.ts +3 -23
  950. package/utils/signature/hashTypedData.ts +2 -2
  951. package/{experimental/erc6492 → utils/signature}/isErc6492Signature.ts +1 -1
  952. package/{experimental/erc6492 → utils/signature}/parseErc6492Signature.ts +1 -1
  953. package/{experimental/erc6492 → utils/signature}/serializeErc6492Signature.ts +2 -2
  954. package/utils/signature/toPrefixedMessage.ts +27 -0
  955. package/_cjs/experimental/erc6492/isErc6492Signature.js.map +0 -1
  956. package/_cjs/experimental/erc6492/parseErc6492Signature.js.map +0 -1
  957. package/_cjs/experimental/erc6492/serializeErc6492Signature.js.map +0 -1
  958. package/_esm/experimental/erc6492/isErc6492Signature.js.map +0 -1
  959. package/_esm/experimental/erc6492/parseErc6492Signature.js.map +0 -1
  960. package/_esm/experimental/erc6492/serializeErc6492Signature.js.map +0 -1
  961. package/_types/experimental/erc6492/isErc6492Signature.d.ts.map +0 -1
  962. package/_types/experimental/erc6492/parseErc6492Signature.d.ts.map +0 -1
  963. package/_types/experimental/erc6492/serializeErc6492Signature.d.ts.map +0 -1
  964. /package/_types/{experimental/erc6492 → utils/signature}/serializeErc6492Signature.d.ts +0 -0
@@ -289,6 +289,7 @@ export { zkSyncTestnet } from './definitions/zkSyncTestnet.js';
289
289
  export { zora } from './definitions/zora.js';
290
290
  export { zoraSepolia } from './definitions/zoraSepolia.js';
291
291
  export { zoraTestnet } from './definitions/zoraTestnet.js';
292
+ export { zircuitTestnet } from './definitions/zircuitTestnet.js';
292
293
  export type { Assign, Omit, PartialBy, Prettify, UnionLooseOmit, } from '../types/utils.js';
293
294
  export type { CeloBlock, CeloBlockOverrides, CeloRpcBlock, CeloRpcBlockOverrides, CeloRpcTransaction, CeloRpcTransactionRequest, CeloTransaction, CeloTransactionRequest, CeloTransactionType, CeloTransactionSerializable, CeloTransactionSerialized, RpcTransactionCIP42, RpcTransactionCIP64, RpcTransactionRequestCIP64, TransactionCIP42, TransactionCIP64, TransactionRequestCIP64, TransactionSerializableCIP42, TransactionSerializableCIP64, TransactionSerializedCIP42, TransactionSerializedCIP64, } from '../celo/types.js';
294
295
  export type { OpStackBlock, OpStackBlockOverrides, OpStackRpcBlock, OpStackRpcBlockOverrides, } from '../op-stack/types/block.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../chains/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AAG9C,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAA;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAA;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AAClE,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAA;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAA;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAA;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAA;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAA;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAA;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAA;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAA;AAC1E,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAA;AAC9D,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAA;AAClD,OAAO,EAAE,SAAS,EA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V,YAAY,EACZ,qBAAqB,EACrB,eAAe,EACf,wBAAwB,GACzB,MAAM,4BAA4B,CAAA;AACnC,YAAY,EACV,qCAAqC,EACrC,6BAA6B,EAC7B,8BAA8B,EAC9B,oBAAoB,IAAI,2BAA2B,EACnD,wBAAwB,IAAI,+BAA+B,EAC3D,WAAW,IAAI,kBAAkB,GAClC,MAAM,4BAA4B,CAAA;AACnC,YAAY,EACV,yBAAyB,EACzB,4BAA4B,EAC5B,qBAAqB,EACrB,4BAA4B,EAC5B,qCAAqC,EACrC,kBAAkB,EAClB,yBAAyB,EACzB,kCAAkC,EAClC,8BAA8B,EAC9B,4BAA4B,EAC5B,sBAAsB,EACtB,8BAA8B,EAC9B,4BAA4B,GAC7B,MAAM,kCAAkC,CAAA;AACzC,YAAY,EACV,WAAW,EACX,oBAAoB,EACpB,cAAc,EACd,uBAAuB,GACxB,MAAM,0BAA0B,CAAA;AACjC,YAAY,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAA;AAC3D,YAAY,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AACjE,YAAY,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAC7D,YAAY,EACV,eAAe,EACf,SAAS,EACT,kBAAkB,EAClB,YAAY,GACb,MAAM,wBAAwB,CAAA;AAC/B,YAAY,EACV,wBAAwB,EACxB,+BAA+B,EAC/B,oBAAoB,EACpB,0BAA0B,EAC1B,4BAA4B,EAC5B,oCAAoC,EACpC,2BAA2B,EAC3B,iCAAiC,EACjC,iBAAiB,EACjB,uBAAuB,EACvB,wBAAwB,EACxB,iCAAiC,EACjC,wBAAwB,EACxB,8BAA8B,EAC9B,6BAA6B,EAC7B,mCAAmC,EACnC,2BAA2B,EAC3B,iCAAiC,EACjC,qBAAqB,GACtB,MAAM,gCAAgC,CAAA"}
@@ -1,2 +1,2 @@
1
- export declare const version = "2.15.1";
1
+ export declare const version = "2.16.1";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1 +1 @@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{"version":3,"file":"erc7715.d.ts","sourceRoot":"","sources":["../../../../experimental/erc7715/decorators/erc7715.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAA;AAC9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAA;AAC/E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAA;AACxD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAA;AACpD,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,EAEhC,MAAM,gCAAgC,CAAA;AAEvC,MAAM,MAAM,oBAAoB,GAAG;IACjC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiCG;IACH,gBAAgB,EAAE,CAChB,UAAU,EAAE,0BAA0B,KACnC,OAAO,CAAC,0BAA0B,CAAC,CAAA;CACzC,CAAA;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,oBAAoB,KAEhC,SAAS,SAAS,SAAS,EAC3B,KAAK,SAAS,KAAK,GAAG,SAAS,sBAC/B,OAAO,SAAS,OAAO,GAAG,SAAS,gCAE3B,MAAM,CAAC,SAAS,EAAE,KAAK,EAAE,OAAO,CAAC,KACxC,oBAAoB,CAKxB"}
@@ -4,9 +4,34 @@ export { type GetCallsStatusErrorType, type GetCallsStatusParameters, type GetCa
4
4
  export { type ShowCallsStatusErrorType, type ShowCallsStatusParameters, type ShowCallsStatusReturnType, showCallsStatus, } from './eip5792/actions/showCallsStatus.js';
5
5
  export { type WriteContractsErrorType, type WriteContractsParameters, type WriteContractsReturnType, type WriteContractFunctionParameters, writeContracts, } from './eip5792/actions/writeContracts.js';
6
6
  export { type WalletActionsEip5792, walletActionsEip5792, } from './eip5792/decorators/eip5792.js';
7
- export { type ParseErc6492SignatureErrorType, type ParseErc6492SignatureParameters, type ParseErc6492SignatureReturnType, parseErc6492Signature, } from './erc6492/parseErc6492Signature.js';
8
- export { type IsErc6492SignatureErrorType, type IsErc6492SignatureParameters, type IsErc6492SignatureReturnType, isErc6492Signature, } from './erc6492/isErc6492Signature.js';
9
- export { type SerializeErc6492SignatureErrorType, type SerializeErc6492SignatureParameters, type SerializeErc6492SignatureReturnType, serializeErc6492Signature, } from './erc6492/serializeErc6492Signature.js';
7
+ export {
8
+ /** @deprecated This is no longer experimental – use `import type { ParseErc6492SignatureErrorType } from 'viem'` instead. */
9
+ type ParseErc6492SignatureErrorType,
10
+ /** @deprecated This is no longer experimental – use `import type { ParseErc6492SignatureParameters } from 'viem'` instead. */
11
+ type ParseErc6492SignatureParameters,
12
+ /** @deprecated This is no longer experimental – use `import type { ParseErc6492SignatureReturnType } from 'viem'` instead. */
13
+ type ParseErc6492SignatureReturnType,
14
+ /** @deprecated This is no longer experimental – use `import { parseErc6492Signature } from 'viem'` instead. */
15
+ parseErc6492Signature, } from '../utils/signature/parseErc6492Signature.js';
16
+ export {
17
+ /** @deprecated This is no longer experimental – use `import type { IsErc6492SignatureErrorType } from 'viem'` instead. */
18
+ type IsErc6492SignatureErrorType,
19
+ /** @deprecated This is no longer experimental – use `import type { IsErc6492SignatureParameters } from 'viem'` instead. */
20
+ type IsErc6492SignatureParameters,
21
+ /** @deprecated This is no longer experimental – use `import type { IsErc6492SignatureReturnType } from 'viem'` instead. */
22
+ type IsErc6492SignatureReturnType,
23
+ /** @deprecated This is no longer experimental – use `import { isErc6492Signature } from 'viem'` instead. */
24
+ isErc6492Signature, } from '../utils/signature/isErc6492Signature.js';
25
+ export {
26
+ /** @deprecated This is no longer experimental – use `import type { SerializeErc6492SignatureErrorType } from 'viem'` instead. */
27
+ type SerializeErc6492SignatureErrorType,
28
+ /** @deprecated This is no longer experimental – use `import type { SerializeErc6492SignatureParameters } from 'viem'` instead. */
29
+ type SerializeErc6492SignatureParameters,
30
+ /** @deprecated This is no longer experimental – use `import type { SerializeErc6492SignatureReturnType } from 'viem'` instead. */
31
+ type SerializeErc6492SignatureReturnType,
32
+ /** @deprecated This is no longer experimental – use `import { serializeErc6492Signature } from 'viem'` instead. */
33
+ serializeErc6492Signature, } from '../utils/signature/serializeErc6492Signature.js';
10
34
  export { type IssuePermissionsParameters, type IssuePermissionsReturnType, issuePermissions, } from './erc7715/actions/issuePermissions.js';
11
35
  export { type WalletActionsErc7715, walletActionsErc7715, } from './erc7715/decorators/erc7715.js';
36
+ export { type SoladyActions, type SoladyActionsParameters, soladyActions, } from './solady/decorators/solady.js';
12
37
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../experimental/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,eAAe,GAChB,MAAM,sCAAsC,CAAA;AAC7C,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,SAAS,GACV,MAAM,gCAAgC,CAAA;AACvC,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,cAAc,GACf,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,eAAe,GAChB,MAAM,sCAAsC,CAAA;AAC7C,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,+BAA+B,EACpC,cAAc,GACf,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EACL,KAAK,oBAAoB,EACzB,oBAAoB,GACrB,MAAM,iCAAiC,CAAA;AAExC,OAAO,EACL,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EACpC,KAAK,+BAA+B,EACpC,qBAAqB,GACtB,MAAM,oCAAoC,CAAA;AAC3C,OAAO,EACL,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,E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AAM,6CAA6C,CAAA;AACpD,OAAO;AACL,0HAA0H;AAC1H,KAAK,2BAA2B;AAChC,2HAA2H;AAC3H,KAAK,4BAA4B;AACjC,2HAA2H;AAC3H,KAAK,4BAA4B;AACjC,4GAA4G;AAC5G,kBAAkB,GACnB,MAAM,0CAA0C,CAAA;AACjD,OAAO;AACL,iIAAiI;AACjI,KAAK,kCAAkC;AACvC,kIAAkI;AAClI,KAAK,mCAAmC;AACxC,kIAAkI;AAClI,KAAK,mCAAmC;AACxC,mHAAmH;AACnH,yBAAyB,GAC1B,MAAM,iDAAiD,CAAA;AAExD,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,EAC/B,gBAAgB,GACjB,MAAM,uCAAuC,CAAA;AAC9C,OAAO,EACL,KAAK,oBAAoB,EACzB,oBAAoB,GACrB,MAAM,iCAAiC,CAAA;AAExC,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,uBAAuB,EAC5B,aAAa,GACd,MAAM,+BAA+B,CAAA"}
@@ -0,0 +1,71 @@
1
+ import type { Address, TypedDataDomain } from 'abitype';
2
+ import type { Account } from '../../../accounts/types.js';
3
+ import { type GetEip712DomainParameters } from '../../../actions/public/getEip712Domain.js';
4
+ import type { Client } from '../../../clients/createClient.js';
5
+ import type { Transport } from '../../../clients/transports/createTransport.js';
6
+ import type { ErrorType } from '../../../errors/utils.js';
7
+ import type { GetAccountParameter } from '../../../types/account.js';
8
+ import type { Chain } from '../../../types/chain.js';
9
+ import type { Hex, SignableMessage } from '../../../types/misc.js';
10
+ import type { OneOf, RequiredBy } from '../../../types/utils.js';
11
+ import type { GetVerifierParameter } from '../types.js';
12
+ export type SignMessageParameters<account extends Account | undefined = Account | undefined, accountOverride extends Account | undefined = Account | undefined, verifier extends Address | undefined = Address | undefined> = Pick<GetEip712DomainParameters, 'factory' | 'factoryData'> & GetAccountParameter<account, accountOverride> & {
13
+ message: SignableMessage;
14
+ } & OneOf<{
15
+ verifierDomain: RequiredBy<TypedDataDomain, 'chainId' | 'name' | 'verifyingContract' | 'version'>;
16
+ verifier?: undefined;
17
+ } | (GetVerifierParameter<verifier> & {
18
+ verifierDomain?: RequiredBy<TypedDataDomain, 'chainId' | 'name' | 'verifyingContract' | 'version'> | undefined;
19
+ })>;
20
+ export type SignMessageReturnType = Hex;
21
+ export type SignMessageErrorType = ErrorType;
22
+ /**
23
+ * Signs a [EIP-191](https://eips.ethereum.org/EIPS/eip-191) personal sign message via Solady's [ERC1271 `PersonalSign` format](https://github.com/Vectorized/solady/blob/678c9163550810b08f0ffb09624c9f7532392303/src/accounts/ERC1271.sol#L154-L166).
24
+ *
25
+ * This Action is suitable to sign messages for Smart Accounts that implement (or conform to) Solady's [ERC1271.sol](https://github.com/Vectorized/solady/blob/main/src/accounts/ERC1271.sol).
26
+ *
27
+ * - Docs: https://viem.sh/experimental/solady/signMessage
28
+ *
29
+ * With the calculated signature, you can:
30
+ * - use [`verifyMessage`](https://viem.sh/docs/utilities/verifyMessage) to verify the signature,
31
+ *
32
+ * @param client - Client to use
33
+ * @param parameters - {@link SignMessageParameters}
34
+ * @returns The signed message. {@link SignMessageReturnType}
35
+ *
36
+ * @example
37
+ * import { createWalletClient, custom } from 'viem'
38
+ * import { mainnet } from 'viem/chains'
39
+ * import { signMessage } from 'viem/experimental/solady'
40
+ *
41
+ * const client = createWalletClient({
42
+ * chain: mainnet,
43
+ * transport: custom(window.ethereum),
44
+ * })
45
+ *
46
+ * const signature = await signMessage(client, {
47
+ * account: '0xE8Df82fA4E10e6A12a9Dab552bceA2acd26De9bb',
48
+ * message: 'hello world',
49
+ * verifier: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',
50
+ * })
51
+ *
52
+ * @example
53
+ * // Account Hoisting
54
+ * import { createWalletClient, custom } from 'viem'
55
+ * import { privateKeyToAccount } from 'viem/accounts'
56
+ * import { mainnet } from 'viem/chains'
57
+ * import { signMessage } from 'viem/experimental/solady'
58
+ *
59
+ * const client = createWalletClient({
60
+ * account: '0xE8Df82fA4E10e6A12a9Dab552bceA2acd26De9bb',
61
+ * chain: mainnet,
62
+ * transport: custom(window.ethereum),
63
+ * })
64
+ *
65
+ * const signature = await signMessage(client, {
66
+ * message: 'hello world',
67
+ * verifier: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',
68
+ * })
69
+ */
70
+ export declare function signMessage<chain extends Chain | undefined, account extends Account | undefined, accountOverride extends Account | undefined = undefined>(client: Client<Transport, chain, account>, parameters: SignMessageParameters<account, accountOverride>): Promise<SignMessageReturnType>;
71
+ //# sourceMappingURL=signMessage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"signMessage.d.ts","sourceRoot":"","sources":["../../../../experimental/solady/actions/signMessage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AACvD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEzD,OAAO,EACL,KAAK,yBAAyB,EAE/B,MAAM,4CAA4C,CAAA;AAEnD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAA;AAC9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAA;AAE/E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAA;AACpE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAA;AACpD,OAAO,KAAK,EAAE,GAAG,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAClE,OAAO,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAA;AAGhE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAEvD,MAAM,MAAM,qBAAqB,CAC/B,OAAO,SAAS,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,EACzD,eAAe,SAAS,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,EACjE,QAAQ,SAAS,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,IACxD,IAAI,CAAC,yBAAyB,EAAE,SAAS,GAAG,aAAa,CAAC,GAC5D,mBAAmB,CAAC,OAAO,EAAE,eAAe,CAAC,GAAG;IAC9C,OAAO,EAAE,eAAe,CAAA;CACzB,GAAG,KAAK,CACL;IACE,cAAc,EAAE,UAAU,CACxB,eAAe,EACf,SAAS,GAAG,MAAM,GAAG,mBAAmB,GAAG,SAAS,CACrD,CAAA;IACD,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB,GACD,CAAC,oBAAoB,CAAC,QAAQ,CAAC,GAAG;IAChC,cAAc,CAAC,EACX,UAAU,CACR,eAAe,EACf,SAAS,GAAG,MAAM,GAAG,mBAAmB,GAAG,SAAS,CACrD,GACD,SAAS,CAAA;CACd,CAAC,CACL,CAAA;AAEH,MAAM,MAAM,qBAAqB,GAAG,GAAG,CAAA;AAEvC,MAAM,MAAM,oBAAoB,GAAG,SAAS,CAAA;AAE5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,wBAAsB,WAAW,CAC/B,KAAK,SAAS,KAAK,GAAG,SAAS,EAC/B,OAAO,SAAS,OAAO,GAAG,SAAS,EACnC,eAAe,SAAS,OAAO,GAAG,SAAS,GAAG,SAAS,EAEvD,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,KAAK,EAAE,OAAO,CAAC,EACzC,UAAU,EAAE,qBAAqB,CAAC,OAAO,EAAE,eAAe,CAAC,GAC1D,OAAO,CAAC,qBAAqB,CAAC,CA8ChC"}
@@ -0,0 +1,125 @@
1
+ import type { Address, TypedData, TypedDataDomain } from 'abitype';
2
+ import type { Account } from '../../../accounts/types.js';
3
+ import { type GetEip712DomainParameters } from '../../../actions/public/getEip712Domain.js';
4
+ import type { Client } from '../../../clients/createClient.js';
5
+ import type { Transport } from '../../../clients/transports/createTransport.js';
6
+ import type { ErrorType } from '../../../errors/utils.js';
7
+ import type { GetAccountParameter } from '../../../types/account.js';
8
+ import type { Chain } from '../../../types/chain.js';
9
+ import type { Hex } from '../../../types/misc.js';
10
+ import type { TypedDataDefinition } from '../../../types/typedData.js';
11
+ import type { OneOf, RequiredBy } from '../../../types/utils.js';
12
+ import type { GetVerifierParameter } from '../types.js';
13
+ export type SignTypedDataParameters<typedData extends TypedData | Record<string, unknown> = TypedData, primaryType extends keyof typedData | 'EIP712Domain' = keyof typedData, account extends Account | undefined = undefined, accountOverride extends Account | undefined = undefined, verifier extends Address | undefined = Address | undefined, primaryTypes = typedData extends TypedData ? keyof typedData : string> = TypedDataDefinition<typedData, primaryType, primaryTypes> & Pick<GetEip712DomainParameters, 'factory' | 'factoryData'> & GetAccountParameter<account, accountOverride> & OneOf<{
14
+ verifierDomain: RequiredBy<TypedDataDomain, 'chainId' | 'name' | 'verifyingContract' | 'salt' | 'version'>;
15
+ fields: Hex;
16
+ extensions: readonly bigint[];
17
+ verifier?: undefined;
18
+ } | (GetVerifierParameter<verifier> & {
19
+ verifierDomain?: RequiredBy<TypedDataDomain, 'chainId' | 'name' | 'verifyingContract' | 'salt' | 'version'> | undefined;
20
+ fields?: Hex | undefined;
21
+ extensions?: readonly bigint[] | undefined;
22
+ })>;
23
+ export type SignTypedDataReturnType = Hex;
24
+ export type SignTypedDataErrorType = ErrorType;
25
+ /**
26
+ * Signs an [EIP-712](https://eips.ethereum.org/EIPS/eip-712) typed data message via Solady's [ERC1271 `TypedDataSign` format](https://github.com/Vectorized/solady/blob/678c9163550810b08f0ffb09624c9f7532392303/src/accounts/ERC1271.sol#L130-L151).
27
+ *
28
+ * This Action is suitable to sign messages for Smart Accounts that implement (or conform to) Solady's [ERC1271.sol](https://github.com/Vectorized/solady/blob/main/src/accounts/ERC1271.sol).
29
+ *
30
+ * - Docs: https://viem.sh/experimental/solady/signTypedData
31
+ *
32
+ * @param client - Client to use
33
+ * @param parameters - {@link SignTypedDataParameters}
34
+ * @returns The signed data. {@link SignTypedDataReturnType}
35
+ *
36
+ * @example
37
+ * import { createWalletClient, custom } from 'viem'
38
+ * import { mainnet } from 'viem/chains'
39
+ * import { signTypedData } from 'viem/experimental/solady'
40
+ *
41
+ * const client = createWalletClient({
42
+ * chain: mainnet,
43
+ * transport: custom(window.ethereum),
44
+ * })
45
+ * const signature = await signTypedData(client, {
46
+ * account: '0xE8Df82fA4E10e6A12a9Dab552bceA2acd26De9bb',
47
+ * domain: {
48
+ * name: 'Ether Mail',
49
+ * version: '1',
50
+ * chainId: 1,
51
+ * verifyingContract: '0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC',
52
+ * },
53
+ * types: {
54
+ * Person: [
55
+ * { name: 'name', type: 'string' },
56
+ * { name: 'wallet', type: 'address' },
57
+ * ],
58
+ * Mail: [
59
+ * { name: 'from', type: 'Person' },
60
+ * { name: 'to', type: 'Person' },
61
+ * { name: 'contents', type: 'string' },
62
+ * ],
63
+ * },
64
+ * primaryType: 'Mail',
65
+ * message: {
66
+ * from: {
67
+ * name: 'Cow',
68
+ * wallet: '0xCD2a3d9F938E13CD947Ec05AbC7FE734Df8DD826',
69
+ * },
70
+ * to: {
71
+ * name: 'Bob',
72
+ * wallet: '0xbBbBBBBbbBBBbbbBbbBbbbbBBbBbbbbBbBbbBBbB',
73
+ * },
74
+ * contents: 'Hello, Bob!',
75
+ * },
76
+ * verifier: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',
77
+ * })
78
+ *
79
+ * @example
80
+ * // Account Hoisting
81
+ * import { createWalletClient, http } from 'viem'
82
+ * import { privateKeyToAccount } from 'viem/accounts'
83
+ * import { mainnet } from 'viem/chains'
84
+ * import { signTypedData } from 'viem/experimental/solady'
85
+ *
86
+ * const client = createWalletClient({
87
+ * account: '0xE8Df82fA4E10e6A12a9Dab552bceA2acd26De9bb'
88
+ * chain: mainnet,
89
+ * transport: http(),
90
+ * })
91
+ * const signature = await signTypedData(client, {
92
+ * domain: {
93
+ * name: 'Ether Mail',
94
+ * version: '1',
95
+ * chainId: 1,
96
+ * verifyingContract: '0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC',
97
+ * },
98
+ * types: {
99
+ * Person: [
100
+ * { name: 'name', type: 'string' },
101
+ * { name: 'wallet', type: 'address' },
102
+ * ],
103
+ * Mail: [
104
+ * { name: 'from', type: 'Person' },
105
+ * { name: 'to', type: 'Person' },
106
+ * { name: 'contents', type: 'string' },
107
+ * ],
108
+ * },
109
+ * primaryType: 'Mail',
110
+ * message: {
111
+ * from: {
112
+ * name: 'Cow',
113
+ * wallet: '0xCD2a3d9F938E13CD947Ec05AbC7FE734Df8DD826',
114
+ * },
115
+ * to: {
116
+ * name: 'Bob',
117
+ * wallet: '0xbBbBBBBbbBBBbbbBbbBbbbbBBbBbbbbBbBbbBBbB',
118
+ * },
119
+ * contents: 'Hello, Bob!',
120
+ * },
121
+ * verifier: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',
122
+ * })
123
+ */
124
+ export declare function signTypedData<const typedData extends TypedData | Record<string, unknown>, primaryType extends keyof typedData | 'EIP712Domain', chain extends Chain | undefined, account extends Account | undefined, accountOverride extends Account | undefined = undefined>(client: Client<Transport, chain, account>, parameters: SignTypedDataParameters<typedData, primaryType, account, accountOverride>): Promise<SignTypedDataReturnType>;
125
+ //# sourceMappingURL=signTypedData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"signTypedData.d.ts","sourceRoot":"","sources":["../../../../experimental/solady/actions/signTypedData.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAElE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEzD,OAAO,EACL,KAAK,yBAAyB,EAE/B,MAAM,4CAA4C,CAAA;AAEnD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,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AAA;IAC7B,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB,GACD,CAAC,oBAAoB,CAAC,QAAQ,CAAC,GAAG;IAChC,cAAc,CAAC,EACX,UAAU,CACR,eAAe,EACf,SAAS,GAAG,MAAM,GAAG,mBAAmB,GAAG,MAAM,GAAG,SAAS,CAC9D,GACD,SAAS,CAAA;IACb,MAAM,CAAC,EAAE,GAAG,GAAG,SAAS,CAAA;IACxB,UAAU,CAAC,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,CAAA;CAC3C,CAAC,CACL,CAAA;AAEH,MAAM,MAAM,uBAAuB,GAAG,GAAG,CAAA;AAEzC,MAAM,MAAM,sBAAsB,GAAG,SAAS,CAAA;AAE9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkGG;AACH,wBAAsB,aAAa,CACjC,KAAK,CAAC,SAAS,SAAS,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC3D,WAAW,SAAS,MAAM,SAAS,GAAG,cAAc,EACpD,KAAK,SAAS,KAAK,GAAG,SAAS,EAC/B,OAAO,SAAS,OAAO,GAAG,SAAS,EACnC,eAAe,SAAS,OAAO,GAAG,SAAS,GAAG,SAAS,EAEvD,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,KAAK,EAAE,OAAO,CAAC,EACzC,UAAU,EAAE,uBAAuB,CACjC,SAAS,EACT,WAAW,EACX,OAAO,EACP,eAAe,CAChB,GACA,OAAO,CAAC,uBAAuB,CAAC,CA8ElC"}
@@ -0,0 +1,183 @@
1
+ import type { Address, TypedData } from 'abitype';
2
+ import type { Client } from '../../../clients/createClient.js';
3
+ import type { Transport } from '../../../clients/transports/createTransport.js';
4
+ import type { Account } from '../../../types/account.js';
5
+ import type { Chain } from '../../../types/chain.js';
6
+ import { type SignMessageParameters, type SignMessageReturnType } from '../actions/signMessage.js';
7
+ import { type SignTypedDataParameters, type SignTypedDataReturnType } from '../actions/signTypedData.js';
8
+ export type SoladyActions<account extends Account | undefined = Account | undefined, verifier extends Address | undefined = Address | undefined> = {
9
+ /**
10
+ * Signs a [EIP-191](https://eips.ethereum.org/EIPS/eip-191) personal sign message via Solady's [ERC1271 `PersonalSign` format](https://github.com/Vectorized/solady/blob/678c9163550810b08f0ffb09624c9f7532392303/src/accounts/ERC1271.sol#L154-L166).
11
+ *
12
+ * This Action is suitable to sign messages for Smart Accounts that implement (or conform to) Solady's [ERC1271.sol](https://github.com/Vectorized/solady/blob/main/src/accounts/ERC1271.sol).
13
+ *
14
+ * - Docs: https://viem.sh/experimental/solady/signMessage
15
+ *
16
+ * With the calculated signature, you can:
17
+ * - use [`verifyMessage`](https://viem.sh/docs/utilities/verifyMessage) to verify the signature,
18
+ *
19
+ * @param client - Client to use
20
+ * @param parameters - {@link SignMessageParameters}
21
+ * @returns The signed message. {@link SignMessageReturnType}
22
+ *
23
+ * @example
24
+ * ```ts
25
+ * import { createWalletClient, custom } from 'viem'
26
+ * import { mainnet } from 'viem/chains'
27
+ * import { soladyActions } from 'viem/experimental/solady'
28
+ *
29
+ * const client = createWalletClient({
30
+ * chain: mainnet,
31
+ * transport: custom(window.ethereum),
32
+ * }).extend(soladyActions())
33
+ *
34
+ * const signature = await client.signMessage({
35
+ * account: '0xE8Df82fA4E10e6A12a9Dab552bceA2acd26De9bb',
36
+ * message: 'hello world',
37
+ * verifier: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',
38
+ * })
39
+ * ```
40
+ *
41
+ * @example Account & Signer Hoisting
42
+ * ```ts
43
+ * import { createWalletClient, custom } from 'viem'
44
+ * import { mainnet } from 'viem/chains'
45
+ * import { soladyActions } from 'viem/experimental/solady'
46
+ *
47
+ * const client = createWalletClient({
48
+ * account: '0xE8Df82fA4E10e6A12a9Dab552bceA2acd26De9bb',
49
+ * chain: mainnet,
50
+ * transport: custom(window.ethereum),
51
+ * }).extend(soladyActions({ verifier: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e' }))
52
+ *
53
+ * const signature = await client.signMessage({
54
+ * message: 'hello world',
55
+ * })
56
+ * ```
57
+ */
58
+ signMessage: <accountOverride extends Account | undefined = undefined>(parameters: SignMessageParameters<account, accountOverride, verifier>) => Promise<SignMessageReturnType>;
59
+ /**
60
+ * Signs an [EIP-712](https://eips.ethereum.org/EIPS/eip-712) typed data message via Solady's [ERC1271 `TypedDataSign` format](https://github.com/Vectorized/solady/blob/678c9163550810b08f0ffb09624c9f7532392303/src/accounts/ERC1271.sol#L130-L151).
61
+ *
62
+ * This Action is suitable to sign messages for Smart Accounts that implement (or conform to) Solady's [ERC1271.sol](https://github.com/Vectorized/solady/blob/main/src/accounts/ERC1271.sol).
63
+ *
64
+ * - Docs: https://viem.sh/experimental/solady/signTypedData
65
+ *
66
+ * @param client - Client to use
67
+ * @param parameters - {@link SignTypedDataParameters}
68
+ * @returns The signed data. {@link SignTypedDataReturnType}
69
+ *
70
+ * @example
71
+ * ```ts
72
+ * import { createWalletClient, custom } from 'viem'
73
+ * import { mainnet } from 'viem/chains'
74
+ * import { soladyActions } from 'viem/experimental/solady'
75
+ *
76
+ * const client = createWalletClient({
77
+ * chain: mainnet,
78
+ * transport: custom(window.ethereum),
79
+ * }).extend(soladyActions())
80
+ *
81
+ * const signature = await client.signTypedData({
82
+ * account: '0xE8Df82fA4E10e6A12a9Dab552bceA2acd26De9bb',
83
+ * domain: {
84
+ * name: 'Ether Mail',
85
+ * version: '1',
86
+ * chainId: 1,
87
+ * verifyingContract: '0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC',
88
+ * },
89
+ * types: {
90
+ * Person: [
91
+ * { name: 'name', type: 'string' },
92
+ * { name: 'wallet', type: 'address' },
93
+ * ],
94
+ * Mail: [
95
+ * { name: 'from', type: 'Person' },
96
+ * { name: 'to', type: 'Person' },
97
+ * { name: 'contents', type: 'string' },
98
+ * ],
99
+ * },
100
+ * primaryType: 'Mail',
101
+ * message: {
102
+ * from: {
103
+ * name: 'Cow',
104
+ * wallet: '0xCD2a3d9F938E13CD947Ec05AbC7FE734Df8DD826',
105
+ * },
106
+ * to: {
107
+ * name: 'Bob',
108
+ * wallet: '0xbBbBBBBbbBBBbbbBbbBbbbbBBbBbbbbBbBbbBBbB',
109
+ * },
110
+ * contents: 'Hello, Bob!',
111
+ * },
112
+ * verifier: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',
113
+ * })
114
+ * ```
115
+ *
116
+ * @example Account & Signer Hoisting
117
+ * ```ts
118
+ * import { createWalletClient, http } from 'viem'
119
+ * import { privateKeyToAccount } from 'viem/accounts'
120
+ * import { mainnet } from 'viem/chains'
121
+ * import { soladyActions } from 'viem/experimental/solady'
122
+ *
123
+ * const client = createWalletClient({
124
+ * account: '0xE8Df82fA4E10e6A12a9Dab552bceA2acd26De9bb',
125
+ * chain: mainnet,
126
+ * transport: http(),
127
+ * }).extend(soladyActions({ verifier: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e' }))
128
+ *
129
+ * const signature = await client.signTypedData({
130
+ * domain: {
131
+ * name: 'Ether Mail',
132
+ * version: '1',
133
+ * chainId: 1,
134
+ * verifyingContract: '0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC',
135
+ * },
136
+ * types: {
137
+ * Person: [
138
+ * { name: 'name', type: 'string' },
139
+ * { name: 'wallet', type: 'address' },
140
+ * ],
141
+ * Mail: [
142
+ * { name: 'from', type: 'Person' },
143
+ * { name: 'to', type: 'Person' },
144
+ * { name: 'contents', type: 'string' },
145
+ * ],
146
+ * },
147
+ * primaryType: 'Mail',
148
+ * message: {
149
+ * from: {
150
+ * name: 'Cow',
151
+ * wallet: '0xCD2a3d9F938E13CD947Ec05AbC7FE734Df8DD826',
152
+ * },
153
+ * to: {
154
+ * name: 'Bob',
155
+ * wallet: '0xbBbBBBBbbBBBbbbBbbBbbbbBBbBbbbbBbBbbBBbB',
156
+ * },
157
+ * contents: 'Hello, Bob!',
158
+ * },
159
+ * })
160
+ * ```
161
+ */
162
+ signTypedData: <const typedData extends TypedData | Record<string, unknown>, primaryType extends keyof typedData | 'EIP712Domain', accountOverride extends Account | undefined = undefined>(parameters: SignTypedDataParameters<typedData, primaryType, account, accountOverride>) => Promise<SignTypedDataReturnType>;
163
+ };
164
+ export type SoladyActionsParameters<verifier extends Account | Address | undefined = Account | Address | undefined> = {
165
+ verifier?: verifier | undefined;
166
+ };
167
+ /**
168
+ * A suite of Actions based on [Solady contracts](https://github.com/Vectorized/solady).
169
+ *
170
+ * @example
171
+ * import { createPublicClient, createWalletClient, http } from 'viem'
172
+ * import { mainnet } from 'viem/chains'
173
+ * import { soladyActions } from 'viem/experimental'
174
+ *
175
+ * const walletClient = createWalletClient({
176
+ * chain: mainnet,
177
+ * transport: http(),
178
+ * }).extend(soladyActions())
179
+ *
180
+ * const result = await walletClient.signMessage({...})
181
+ */
182
+ export declare function soladyActions<verifier extends Address | undefined = undefined>(parameters?: SoladyActionsParameters<verifier>): <transport extends Transport, chain extends Chain | undefined = Chain | undefined, account extends Account | undefined = Account | undefined>(client: Client<transport, chain, account>) => SoladyActions<account, verifier>;
183
+ //# sourceMappingURL=solady.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"solady.d.ts","sourceRoot":"","sources":["../../../../experimental/solady/decorators/solady.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AACjD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAA;AAC9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAA;AAC/E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAA;AACxD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAA;AACpD,OAAO,EACL,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAE3B,MAAM,2BAA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AAC,QAAQ,CAAM,IAIhD,SAAS,SAAS,SAAS,EAC3B,KAAK,SAAS,KAAK,GAAG,SAAS,sBAC/B,OAAO,SAAS,OAAO,GAAG,SAAS,gCAE3B,MAAM,CAAC,SAAS,EAAE,KAAK,EAAE,OAAO,CAAC,KACxC,aAAa,CAAC,OAAO,EAAE,QAAQ,CAAC,CAQpC"}
@@ -0,0 +1,7 @@
1
+ export { type SignMessageErrorType, type SignMessageParameters, type SignMessageReturnType, signMessage, } from './actions/signMessage.js';
2
+ export { type SignTypedDataErrorType, type SignTypedDataParameters, type SignTypedDataReturnType, signTypedData, } from './actions/signTypedData.js';
3
+ export { type SoladyActions, type SoladyActionsParameters, soladyActions, } from './decorators/solady.js';
4
+ export { type HashMessageErrorType, type HashMessageParameters, type HashMessageReturnType, hashMessage, } from './utils/hashMessage.js';
5
+ export { type HashTypedDataErrorType, type HashTypedDataParameters, type HashTypedDataReturnType, hashTypedData, } from './utils/hashTypedData.js';
6
+ export { type WrapTypedDataSignatureErrorType, type WrapTypedDataSignatureParameters, type WrapTypedDataSignatureReturnType, wrapTypedDataSignature, } from './utils/wrapTypedDataSignature.js';
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../experimental/solady/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,WAAW,GACZ,MAAM,0BAA0B,CAAA;AACjC,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,aAAa,GACd,MAAM,4BAA4B,CAAA;AACnC,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,uBAAuB,EAC5B,aAAa,GACd,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EACL,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,WAAW,GACZ,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,aAAa,GACd,MAAM,0BAA0B,CAAA;AACjC,OAAO,EACL,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EACrC,KAAK,gCAAgC,EACrC,sBAAsB,GACvB,MAAM,mCAAmC,CAAA"}
@@ -0,0 +1,7 @@
1
+ import type { Address } from 'abitype';
2
+ export type GetVerifierParameter<verifier extends Address | undefined = Address> = verifier extends Address ? {
3
+ verifier?: Address | undefined;
4
+ } : {
5
+ verifier: Address;
6
+ };
7
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../experimental/solady/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAEtC,MAAM,MAAM,oBAAoB,CAC9B,QAAQ,SAAS,OAAO,GAAG,SAAS,GAAG,OAAO,IAC5C,QAAQ,SAAS,OAAO,GACxB;IAAE,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAAE,GAClC;IAAE,QAAQ,EAAE,OAAO,CAAA;CAAE,CAAA"}
@@ -0,0 +1,30 @@
1
+ import type { TypedDataDomain } from 'abitype';
2
+ import type { ErrorType } from '../../../errors/utils.js';
3
+ import type { Hex, SignableMessage } from '../../../types/misc.js';
4
+ import type { RequiredBy } from '../../../types/utils.js';
5
+ import type { HashTypedDataErrorType } from '../../../utils/signature/hashTypedData.js';
6
+ import { type ToPrefixedMessageErrorType } from '../../../utils/signature/toPrefixedMessage.js';
7
+ export type HashMessageParameters = {
8
+ message: SignableMessage;
9
+ verifierDomain: RequiredBy<TypedDataDomain, 'chainId' | 'name' | 'verifyingContract' | 'version'>;
10
+ };
11
+ export type HashMessageReturnType = Hex;
12
+ export type HashMessageErrorType = HashTypedDataErrorType | ToPrefixedMessageErrorType | ErrorType;
13
+ /**
14
+ * Generates a signable hash for a Solady ERC-1271 personal sign message.
15
+ *
16
+ * @example
17
+ * ```ts
18
+ * const hash = hashMessage({
19
+ * message: 'hello world',
20
+ * verifierDomain: {
21
+ * name: 'Smart Account',
22
+ * version: '1',
23
+ * verifyingContract: '0x1234567890abcdef1234567890abcdef12345678',
24
+ * chainId: 1,
25
+ * },
26
+ * })
27
+ * ```
28
+ */
29
+ export declare function hashMessage(parameters: HashMessageParameters): HashMessageReturnType;
30
+ //# sourceMappingURL=hashMessage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hashMessage.d.ts","sourceRoot":"","sources":["../../../../experimental/solady/utils/hashMessage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAC9C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,KAAK,EAAE,GAAG,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAClE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAA;AAEzD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAA;AACvF,OAAO,EACL,KAAK,0BAA0B,EAEhC,MAAM,+CAA+C,CAAA;AAEtD,MAAM,MAAM,qBAAqB,GAAG;IAClC,OAAO,EAAE,eAAe,CAAA;IACxB,cAAc,EAAE,UAAU,CACxB,eAAe,EACf,SAAS,GAAG,MAAM,GAAG,mBAAmB,GAAG,SAAS,CACrD,CAAA;CACF,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG,GAAG,CAAA;AAEvC,MAAM,MAAM,oBAAoB,GAC5B,sBAAsB,GACtB,0BAA0B,GAC1B,SAAS,CAAA;AAEb;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,WAAW,CACzB,UAAU,EAAE,qBAAqB,GAChC,qBAAqB,CAevB"}