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
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.setStorageAt = void 0;
3
+ exports.setStorageAt = setStorageAt;
4
4
  const toHex_js_1 = require("../../utils/encoding/toHex.js");
5
5
  async function setStorageAt(client, { address, index, value }) {
6
6
  await client.request({
@@ -12,5 +12,4 @@ async function setStorageAt(client, { address, index, value }) {
12
12
  ],
13
13
  });
14
14
  }
15
- exports.setStorageAt = setStorageAt;
16
15
  //# sourceMappingURL=setStorageAt.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"setStorageAt.js","sourceRoot":"","sources":["../../../actions/test/setStorageAt.ts"],"names":[],"mappings":";;;AAYA,4DAA2D;AAqCpD,KAAK,UAAU,YAAY,CAIhC,MAAsE,EACtE,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAA0B;IAEjD,MAAM,MAAM,CAAC,OAAO,CAAC;QACnB,MAAM,EAAE,GAAG,MAAM,CAAC,IAAI,eAAe;QACrC,MAAM,EAAE;YACN,OAAO;YACP,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAA,sBAAW,EAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK;YACtD,KAAK;SACN;KACF,CAAC,CAAA;AACJ,CAAC;AAfD,oCAeC"}
1
+ {"version":3,"file":"setStorageAt.js","sourceRoot":"","sources":["../../../actions/test/setStorageAt.ts"],"names":[],"mappings":";;AAiDA,oCAeC;AApDD,4DAA2D;AAqCpD,KAAK,UAAU,YAAY,CAIhC,MAAsE,EACtE,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAA0B;IAEjD,MAAM,MAAM,CAAC,OAAO,CAAC;QACnB,MAAM,EAAE,GAAG,MAAM,CAAC,IAAI,eAAe;QACrC,MAAM,EAAE;YACN,OAAO;YACP,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAA,sBAAW,EAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK;YACtD,KAAK;SACN;KACF,CAAC,CAAA;AACJ,CAAC"}
@@ -1,10 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.snapshot = void 0;
3
+ exports.snapshot = snapshot;
4
4
  async function snapshot(client) {
5
5
  return await client.request({
6
6
  method: 'evm_snapshot',
7
7
  });
8
8
  }
9
- exports.snapshot = snapshot;
10
9
  //# sourceMappingURL=snapshot.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"snapshot.js","sourceRoot":"","sources":["../../../actions/test/snapshot.ts"],"names":[],"mappings":";;;AA+BO,KAAK,UAAU,QAAQ,CAG5B,MAAsE;IACtE,OAAO,MAAM,MAAM,CAAC,OAAO,CAAC;QAC1B,MAAM,EAAE,cAAc;KACvB,CAAC,CAAA;AACJ,CAAC;AAPD,4BAOC"}
1
+ {"version":3,"file":"snapshot.js","sourceRoot":"","sources":["../../../actions/test/snapshot.ts"],"names":[],"mappings":";;AA+BA,4BAOC;AAPM,KAAK,UAAU,QAAQ,CAG5B,MAAsE;IACtE,OAAO,MAAM,MAAM,CAAC,OAAO,CAAC;QAC1B,MAAM,EAAE,cAAc;KACvB,CAAC,CAAA;AACJ,CAAC"}
@@ -1,11 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.stopImpersonatingAccount = void 0;
3
+ exports.stopImpersonatingAccount = stopImpersonatingAccount;
4
4
  async function stopImpersonatingAccount(client, { address }) {
5
5
  await client.request({
6
6
  method: `${client.mode}_stopImpersonatingAccount`,
7
7
  params: [address],
8
8
  });
9
9
  }
10
- exports.stopImpersonatingAccount = stopImpersonatingAccount;
11
10
  //# sourceMappingURL=stopImpersonatingAccount.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"stopImpersonatingAccount.js","sourceRoot":"","sources":["../../../actions/test/stopImpersonatingAccount.ts"],"names":[],"mappings":";;;AAyCO,KAAK,UAAU,wBAAwB,CAI5C,MAAsE,EACtE,EAAE,OAAO,EAAsC;IAE/C,MAAM,MAAM,CAAC,OAAO,CAAC;QACnB,MAAM,EAAE,GAAG,MAAM,CAAC,IAAI,2BAA2B;QACjD,MAAM,EAAE,CAAC,OAAO,CAAC;KAClB,CAAC,CAAA;AACJ,CAAC;AAXD,4DAWC"}
1
+ {"version":3,"file":"stopImpersonatingAccount.js","sourceRoot":"","sources":["../../../actions/test/stopImpersonatingAccount.ts"],"names":[],"mappings":";;AAyCA,4DAWC;AAXM,KAAK,UAAU,wBAAwB,CAI5C,MAAsE,EACtE,EAAE,OAAO,EAAsC;IAE/C,MAAM,MAAM,CAAC,OAAO,CAAC;QACnB,MAAM,EAAE,GAAG,MAAM,CAAC,IAAI,2BAA2B;QACjD,MAAM,EAAE,CAAC,OAAO,CAAC;KAClB,CAAC,CAAA;AACJ,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.addChain = void 0;
3
+ exports.addChain = addChain;
4
4
  const toHex_js_1 = require("../../utils/encoding/toHex.js");
5
5
  async function addChain(client, { chain }) {
6
6
  const { id, name, nativeCurrency, rpcUrls, blockExplorers } = chain;
@@ -19,5 +19,4 @@ async function addChain(client, { chain }) {
19
19
  ],
20
20
  }, { dedupe: true, retryCount: 0 });
21
21
  }
22
- exports.addChain = addChain;
23
22
  //# sourceMappingURL=addChain.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"addChain.js","sourceRoot":"","sources":["../../../actions/wallet/addChain.ts"],"names":[],"mappings":";;;AAMA,4DAGsC;AA+B/B,KAAK,UAAU,QAAQ,CAG5B,MAA2C,EAAE,EAAE,KAAK,EAAsB;IAC1E,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE,OAAO,EAAE,cAAc,EAAE,GAAG,KAAK,CAAA;IACnE,MAAM,MAAM,CAAC,OAAO,CAClB;QACE,MAAM,EAAE,yBAAyB;QACjC,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,IAAA,sBAAW,EAAC,EAAE,CAAC;gBACxB,SAAS,EAAE,IAAI;gBACf,cAAc;gBACd,OAAO,EAAE,OAAO,CAAC,OAAO,CAAC,IAAI;gBAC7B,iBAAiB,EAAE,cAAc;oBAC/B,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,GAAG,CAAC;oBACrD,CAAC,CAAC,SAAS;aACd;SACF;KACF,EACD,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC,EAAE,CAChC,CAAA;AACH,CAAC;AAtBD,4BAsBC"}
1
+ {"version":3,"file":"addChain.js","sourceRoot":"","sources":["../../../actions/wallet/addChain.ts"],"names":[],"mappings":";;AAwCA,4BAsBC;AAxDD,4DAGsC;AA+B/B,KAAK,UAAU,QAAQ,CAG5B,MAA2C,EAAE,EAAE,KAAK,EAAsB;IAC1E,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE,OAAO,EAAE,cAAc,EAAE,GAAG,KAAK,CAAA;IACnE,MAAM,MAAM,CAAC,OAAO,CAClB;QACE,MAAM,EAAE,yBAAyB;QACjC,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,IAAA,sBAAW,EAAC,EAAE,CAAC;gBACxB,SAAS,EAAE,IAAI;gBACf,cAAc;gBACd,OAAO,EAAE,OAAO,CAAC,OAAO,CAAC,IAAI;gBAC7B,iBAAiB,EAAE,cAAc;oBAC/B,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,GAAG,CAAC;oBACrD,CAAC,CAAC,SAAS;aACd;SACF;KACF,EACD,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC,EAAE,CAChC,CAAA;AACH,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deployContract = void 0;
3
+ exports.deployContract = deployContract;
4
4
  const encodeDeployData_js_1 = require("../../utils/abi/encodeDeployData.js");
5
5
  const sendTransaction_js_1 = require("./sendTransaction.js");
6
6
  function deployContract(walletClient, parameters) {
@@ -11,5 +11,4 @@ function deployContract(walletClient, parameters) {
11
11
  data: calldata,
12
12
  });
13
13
  }
14
- exports.deployContract = deployContract;
15
14
  //# sourceMappingURL=deployContract.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"deployContract.js","sourceRoot":"","sources":["../../../actions/wallet/deployContract.ts"],"names":[],"mappings":";;;AAUA,6EAAsE;AAGtE,6DAK6B;AAsD7B,SAAgB,cAAc,CAM5B,YAA+C,EAC/C,UAAwE;IAExE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,OAAO,EAAE,GACvC,UAAsC,CAAA;IACxC,MAAM,QAAQ,GAAG,IAAA,sCAAgB,EAAC,EAAE,GAAG,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAA;IAC1D,OAAO,IAAA,oCAAe,EAAC,YAAY,EAAE;QACnC,GAAG,OAAO;QACV,IAAI,EAAE,QAAQ;KACwD,CAAC,CAAA;AAC3E,CAAC;AAhBD,wCAgBC"}
1
+ {"version":3,"file":"deployContract.js","sourceRoot":"","sources":["../../../actions/wallet/deployContract.ts"],"names":[],"mappings":";;AAwEA,wCAgBC;AA9ED,6EAAsE;AAGtE,6DAK6B;AAsD7B,SAAgB,cAAc,CAM5B,YAA+C,EAC/C,UAAwE;IAExE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,OAAO,EAAE,GACvC,UAAsC,CAAA;IACxC,MAAM,QAAQ,GAAG,IAAA,sCAAgB,EAAC,EAAE,GAAG,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAA;IAC1D,OAAO,IAAA,oCAAe,EAAC,YAAY,EAAE;QACnC,GAAG,OAAO;QACV,IAAI,EAAE,QAAQ;KACwD,CAAC,CAAA;AAC3E,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getAddresses = void 0;
3
+ exports.getAddresses = getAddresses;
4
4
  const getAddress_js_1 = require("../../utils/address/getAddress.js");
5
5
  async function getAddresses(client) {
6
6
  if (client.account?.type === 'local')
@@ -8,5 +8,4 @@ async function getAddresses(client) {
8
8
  const addresses = await client.request({ method: 'eth_accounts' }, { dedupe: true });
9
9
  return addresses.map((address) => (0, getAddress_js_1.checksumAddress)(address));
10
10
  }
11
- exports.getAddresses = getAddresses;
12
11
  //# sourceMappingURL=getAddresses.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getAddresses.js","sourceRoot":"","sources":["../../../actions/wallet/getAddresses.ts"],"names":[],"mappings":";;;AAOA,qEAG0C;AA8BnC,KAAK,UAAU,YAAY,CAIhC,MAA2C;IAE3C,IAAI,MAAM,CAAC,OAAO,EAAE,IAAI,KAAK,OAAO;QAAE,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,CAAA;IACrE,MAAM,SAAS,GAAG,MAAM,MAAM,CAAC,OAAO,CACpC,EAAE,MAAM,EAAE,cAAc,EAAE,EAC1B,EAAE,MAAM,EAAE,IAAI,EAAE,CACjB,CAAA;IACD,OAAO,SAAS,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,IAAA,+BAAe,EAAC,OAAO,CAAC,CAAC,CAAA;AAC7D,CAAC;AAZD,oCAYC"}
1
+ {"version":3,"file":"getAddresses.js","sourceRoot":"","sources":["../../../actions/wallet/getAddresses.ts"],"names":[],"mappings":";;AAwCA,oCAYC;AA7CD,qEAG0C;AA8BnC,KAAK,UAAU,YAAY,CAIhC,MAA2C;IAE3C,IAAI,MAAM,CAAC,OAAO,EAAE,IAAI,KAAK,OAAO;QAAE,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,CAAA;IACrE,MAAM,SAAS,GAAG,MAAM,MAAM,CAAC,OAAO,CACpC,EAAE,MAAM,EAAE,cAAc,EAAE,EAC1B,EAAE,MAAM,EAAE,IAAI,EAAE,CACjB,CAAA;IACD,OAAO,SAAS,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,IAAA,+BAAe,EAAC,OAAO,CAAC,CAAC,CAAA;AAC7D,CAAC"}
@@ -1,9 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getPermissions = void 0;
3
+ exports.getPermissions = getPermissions;
4
4
  async function getPermissions(client) {
5
5
  const permissions = await client.request({ method: 'wallet_getPermissions' }, { dedupe: true });
6
6
  return permissions;
7
7
  }
8
- exports.getPermissions = getPermissions;
9
8
  //# sourceMappingURL=getPermissions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getPermissions.js","sourceRoot":"","sources":["../../../actions/wallet/getPermissions.ts"],"names":[],"mappings":";;;AAgCO,KAAK,UAAU,cAAc,CAGlC,MAA2C;IAC3C,MAAM,WAAW,GAAG,MAAM,MAAM,CAAC,OAAO,CACtC,EAAE,MAAM,EAAE,uBAAuB,EAAE,EACnC,EAAE,MAAM,EAAE,IAAI,EAAE,CACjB,CAAA;IACD,OAAO,WAAW,CAAA;AACpB,CAAC;AATD,wCASC"}
1
+ {"version":3,"file":"getPermissions.js","sourceRoot":"","sources":["../../../actions/wallet/getPermissions.ts"],"names":[],"mappings":";;AAgCA,wCASC;AATM,KAAK,UAAU,cAAc,CAGlC,MAA2C;IAC3C,MAAM,WAAW,GAAG,MAAM,MAAM,CAAC,OAAO,CACtC,EAAE,MAAM,EAAE,uBAAuB,EAAE,EACnC,EAAE,MAAM,EAAE,IAAI,EAAE,CACjB,CAAA;IACD,OAAO,WAAW,CAAA;AACpB,CAAC"}
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.prepareTransactionRequest = exports.defaultParameters = void 0;
3
+ exports.defaultParameters = void 0;
4
+ exports.prepareTransactionRequest = prepareTransactionRequest;
4
5
  const parseAccount_js_1 = require("../../accounts/utils/parseAccount.js");
5
6
  const estimateFeesPerGas_js_1 = require("../../actions/public/estimateFeesPerGas.js");
6
7
  const estimateGas_js_1 = require("../../actions/public/estimateGas.js");
@@ -143,5 +144,4 @@ async function prepareTransactionRequest(client, args) {
143
144
  delete request.parameters;
144
145
  return request;
145
146
  }
146
- exports.prepareTransactionRequest = prepareTransactionRequest;
147
147
  //# sourceMappingURL=prepareTransactionRequest.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"prepareTransactionRequest.js","sourceRoot":"","sources":["../../../actions/wallet/prepareTransactionRequest.ts"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AAE,OAAO,EAAE,OAAO,CAAC,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE;gBAChD,CAAC,CAAC,SAAS;SACW,CAAC,CAAA;IAE7B,IAAA,gCAAa,EAAC,OAAkC,CAAC,CAAA;IAEjD,OAAO,OAAO,CAAC,UAAU,CAAA;IAEzB,OAAO,OAAc,CAAA;AACvB,CAAC;AAhMD,8DAgMC"}
1
+ {"version":3,"file":"prepareTransactionRequest.js","sourceRoot":"","sources":["../../../actions/wallet/prepareTransactionRequest.ts"],"names":[],"mappings":";;;AAyNA,8DAgMC;AAvZD,0EAG6C;AAC7C,sFAGmD;AACnD,wEAI4C;AAC5C,kEAGyC;AACzC,wFAGoD;AAIpD,gDAG4B;AAqB5B,kFAA2E;AAC3E,wEAAiE;AACjE,sGAA+F;AAC/F,0EAAmE;AAEnE,2DAAoD;AACpD,+EAIiD;AACjD,yFAGsD;AACtD,2DAAmE;AAEtD,QAAA,iBAAiB,GAAG;IAC/B,qBAAqB;IACrB,SAAS;IACT,MAAM;IACN,KAAK;IACL,OAAO;IACP,MAAM;CACE,CAAA;AA+IH,KAAK,UAAU,yBAAyB,CAO7C,MAAyC,EACzC,IAMC;IAUD,MAAM,EACJ,OAAO,EAAE,QAAQ,GAAG,MAAM,CAAC,OAAO,EAClC,KAAK,EACL,KAAK,EACL,GAAG,EACH,GAAG,EACH,KAAK,EACL,UAAU,GAAG,yBAAiB,EAC9B,IAAI,GACL,GAAG,IAAI,CAAA;IACR,MAAM,OAAO,GAAG,QAAQ,CAAC,CAAC,CAAC,IAAA,8BAAY,EAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAA;IAE7D,MAAM,OAAO,GAAG,EAAE,GAAG,IAAI,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAA;IAE3E,IAAI,KAAwB,CAAA;IAC5B,KAAK,UA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vD,IAAI,EAAE,QAAQ;aACf,CACF,CAAA;YACD,OAAO,CAAC,QAAQ,GAAG,SAAS,CAAA;QAC9B,CAAC;IACH,CAAC;IAED,IAAI,UAAU,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,OAAO,GAAG,KAAK,WAAW;QAC1D,OAAO,CAAC,GAAG,GAAG,MAAM,IAAA,wBAAS,EAC3B,MAAM,EACN,4BAAW,EACX,aAAa,CACd,CAAC;YACA,GAAG,OAAO;YACV,OAAO,EAAE,OAAO;gBACd,CAAC,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE;gBAChD,CAAC,CAAC,SAAS;SACW,CAAC,CAAA;IAE7B,IAAA,gCAAa,EAAC,OAAkC,CAAC,CAAA;IAEjD,OAAO,OAAO,CAAC,UAAU,CAAA;IAEzB,OAAO,OAAc,CAAA;AACvB,CAAC"}
@@ -1,10 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.requestAddresses = void 0;
3
+ exports.requestAddresses = requestAddresses;
4
4
  const getAddress_js_1 = require("../../utils/address/getAddress.js");
5
5
  async function requestAddresses(client) {
6
6
  const addresses = await client.request({ method: 'eth_requestAccounts' }, { dedupe: true, retryCount: 0 });
7
7
  return addresses.map((address) => (0, getAddress_js_1.getAddress)(address));
8
8
  }
9
- exports.requestAddresses = requestAddresses;
10
9
  //# sourceMappingURL=requestAddresses.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"requestAddresses.js","sourceRoot":"","sources":["../../../actions/wallet/requestAddresses.ts"],"names":[],"mappings":";;;AAOA,qEAA8D;AA+BvD,KAAK,UAAU,gBAAgB,CAIpC,MAA2C;IAE3C,MAAM,SAAS,GAAG,MAAM,MAAM,CAAC,OAAO,CACpC,EAAE,MAAM,EAAE,qBAAqB,EAAE,EACjC,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC,EAAE,CAChC,CAAA;IACD,OAAO,SAAS,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,IAAA,0BAAU,EAAC,OAAO,CAAC,CAAC,CAAA;AACxD,CAAC;AAXD,4CAWC"}
1
+ {"version":3,"file":"requestAddresses.js","sourceRoot":"","sources":["../../../actions/wallet/requestAddresses.ts"],"names":[],"mappings":";;AAsCA,4CAWC;AA1CD,qEAA8D;AA+BvD,KAAK,UAAU,gBAAgB,CAIpC,MAA2C;IAE3C,MAAM,SAAS,GAAG,MAAM,MAAM,CAAC,OAAO,CACpC,EAAE,MAAM,EAAE,qBAAqB,EAAE,EACjC,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC,EAAE,CAChC,CAAA;IACD,OAAO,SAAS,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,IAAA,0BAAU,EAAC,OAAO,CAAC,CAAC,CAAA;AACxD,CAAC"}
@@ -1,11 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.requestPermissions = void 0;
3
+ exports.requestPermissions = requestPermissions;
4
4
  async function requestPermissions(client, permissions) {
5
5
  return client.request({
6
6
  method: 'wallet_requestPermissions',
7
7
  params: [permissions],
8
8
  }, { retryCount: 0 });
9
9
  }
10
- exports.requestPermissions = requestPermissions;
11
10
  //# sourceMappingURL=requestPermissions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"requestPermissions.js","sourceRoot":"","sources":["../../../actions/wallet/requestPermissions.ts"],"names":[],"mappings":";;;AA2CO,KAAK,UAAU,kBAAkB,CAItC,MAA2C,EAC3C,WAAyC;IAEzC,OAAO,MAAM,CAAC,OAAO,CACnB;QACE,MAAM,EAAE,2BAA2B;QACnC,MAAM,EAAE,CAAC,WAAW,CAAC;KACtB,EACD,EAAE,UAAU,EAAE,CAAC,EAAE,CAClB,CAAA;AACH,CAAC;AAdD,gDAcC"}
1
+ {"version":3,"file":"requestPermissions.js","sourceRoot":"","sources":["../../../actions/wallet/requestPermissions.ts"],"names":[],"mappings":";;AA2CA,gDAcC;AAdM,KAAK,UAAU,kBAAkB,CAItC,MAA2C,EAC3C,WAAyC;IAEzC,OAAO,MAAM,CAAC,OAAO,CACnB;QACE,MAAM,EAAE,2BAA2B;QACnC,MAAM,EAAE,CAAC,WAAW,CAAC;KACtB,EACD,EAAE,UAAU,EAAE,CAAC,EAAE,CAClB,CAAA;AACH,CAAC"}
@@ -1,11 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.sendRawTransaction = void 0;
3
+ exports.sendRawTransaction = sendRawTransaction;
4
4
  async function sendRawTransaction(client, { serializedTransaction }) {
5
5
  return client.request({
6
6
  method: 'eth_sendRawTransaction',
7
7
  params: [serializedTransaction],
8
8
  }, { retryCount: 0 });
9
9
  }
10
- exports.sendRawTransaction = sendRawTransaction;
11
10
  //# sourceMappingURL=sendRawTransaction.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sendRawTransaction.js","sourceRoot":"","sources":["../../../actions/wallet/sendRawTransaction.ts"],"names":[],"mappings":";;;AAyCO,KAAK,UAAU,kBAAkB,CACtC,MAAiC,EACjC,EAAE,qBAAqB,EAAgC;IAEvD,OAAO,MAAM,CAAC,OAAO,CACnB;QACE,MAAM,EAAE,wBAAwB;QAChC,MAAM,EAAE,CAAC,qBAAqB,CAAC;KAChC,EACD,EAAE,UAAU,EAAE,CAAC,EAAE,CAClB,CAAA;AACH,CAAC;AAXD,gDAWC"}
1
+ {"version":3,"file":"sendRawTransaction.js","sourceRoot":"","sources":["../../../actions/wallet/sendRawTransaction.ts"],"names":[],"mappings":";;AAyCA,gDAWC;AAXM,KAAK,UAAU,kBAAkB,CACtC,MAAiC,EACjC,EAAE,qBAAqB,EAAgC;IAEvD,OAAO,MAAM,CAAC,OAAO,CACnB;QACE,MAAM,EAAE,wBAAwB;QAChC,MAAM,EAAE,CAAC,qBAAqB,CAAC;KAChC,EACD,EAAE,UAAU,EAAE,CAAC,EAAE,CAClB,CAAA;AACH,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.sendTransaction = void 0;
3
+ exports.sendTransaction = sendTransaction;
4
4
  const parseAccount_js_1 = require("../../accounts/utils/parseAccount.js");
5
5
  const account_js_1 = require("../../errors/account.js");
6
6
  const assertCurrentChain_js_1 = require("../../utils/chain/assertCurrentChain.js");
@@ -62,6 +62,7 @@ async function sendTransaction(client, parameters) {
62
62
  ...(0, extract_js_1.extract)(rest, { format: chainFormat }),
63
63
  accessList,
64
64
  blobs,
65
+ chainId,
65
66
  data,
66
67
  from: account.address,
67
68
  gas,
@@ -86,5 +87,4 @@ async function sendTransaction(client, parameters) {
86
87
  });
87
88
  }
88
89
  }
89
- exports.sendTransaction = sendTransaction;
90
90
  //# sourceMappingURL=sendTransaction.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sendTransaction.js","sourceRoot":"","sources":["../../../actions/wallet/sendTransaction.ts"],"names":[],"mappings":";;;AACA,0EAG6C;AAI7C,wDAA8D;AAW9D,mFAGgD;AAChD,sFAGkD;AAClD,kEAA2D;AAC3D,wFAGqD;AACrD,2DAAoD;AACpD,+EAIiD;AACjD,2DAA8E;AAC9E,iFAIuC;AACvC,mEAGgC;AAmFzB,KAAK,UAAU,eAAe,CAMnC,MAAyC,EACzC,UAA6E;IAE7E,MAAM,EACJ,OAAO,EAAE,QAAQ,GAAG,MAAM,CAAC,OAAO,EAClC,KAAK,GAAG,MAAM,CAAC,KAAK,EACpB,UAAU,EACV,KAAK,EACL,IAAI,EACJ,GAAG,EACH,QAAQ,EACR,gBAAgB,EAChB,YAAY,EACZ,oBAAoB,EACpB,KAAK,EACL,EAAE,EACF,KAAK,EACL,GAAG,IAAI,EACR,GAAG,UAAU,CAAA;IAEd,IAAI,CAAC,QAAQ;QACX,MAAM,IAAI,iCAAoB,CAAC;YAC7B,QAAQ,EAAE,sCAAsC;SACjD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GAAG,WAAW,IAAI,gDAAwB,CAAA;QAEtD,MAAM,OAAO,GAAG,MAAM,CAAC;YAErB,GAAG,IAAA,oBAAO,EAAC,IAAI,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC;YACzC,UAAU;YACV,KAAK;YACL,IAAI;YACJ,IAAI,EAAE,OAAO,CAAC,OAAO;YACrB,GAAG;YACH,QAAQ;YACR,gBAAgB;YAChB,YAAY;YACZ,oBAAoB;YACpB,KAAK;YACL,EAAE;YACF,KAAK;SACgB,CAAC,CAAA;QACxB,OAAO,MAAM,MAAM,CAAC,OAAO,CACzB;YACE,MAAM,EAAE,qBAAqB;YAC7B,MAAM,EAAE,CAAC,OAAO,CAAC;SAClB,EACD,EAAE,UAAU,EAAE,CAAC,EAAE,CAClB,CAAA;IACH,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,MAAM,IAAA,4CAAmB,EAAC,GAAgB,EAAE;YAC1C,GAAG,UAAU;YACb,OAAO;YACP,KAAK,EAAE,UAAU,CAAC,KAAK,IAAI,SAAS;SACrC,CAAC,CAAA;IACJ,CAAC;AACH,CAAC;AAnHD,0CAmHC"}
1
+ {"version":3,"file":"sendTransaction.js","sourceRoot":"","sources":["../../../actions/wallet/sendTransaction.ts"],"names":[],"mappings":";;AAkIA,0CAoHC;AArPD,0EAG6C;AAI7C,wDAA8D;AAW9D,mFAGgD;AAChD,sFAGkD;AAClD,kEAA2D;AAC3D,wFAGqD;AACrD,2DAAoD;AACpD,+EAIiD;AACjD,2DAA8E;AAC9E,iFAIuC;AACvC,mEAGgC;AAmFzB,KAAK,UAAU,eAAe,CAMnC,MAAyC,EACzC,UAA6E;IAE7E,MAAM,EACJ,OAAO,EAAE,QAAQ,GAAG,MAAM,CAAC,OAAO,EAClC,KAAK,GAAG,MAAM,CAAC,KAAK,EACpB,UAAU,EACV,KAAK,EACL,IAAI,EACJ,GAAG,EACH,QAAQ,EACR,gBAAgB,EAChB,YAAY,EACZ,oBAAoB,EACpB,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rB,CAAC;gBACA,qBAAqB;aACtB,CAAC,CAAA;QACJ,CAAC;QAED,MAAM,WAAW,GAAG,MAAM,CAAC,KAAK,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,CAAA;QACxE,MAAM,MAAM,GAAG,WAAW,IAAI,gDAAwB,CAAA;QAEtD,MAAM,OAAO,GAAG,MAAM,CAAC;YAErB,GAAG,IAAA,oBAAO,EAAC,IAAI,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC;YACzC,UAAU;YACV,KAAK;YACL,OAAO;YACP,IAAI;YACJ,IAAI,EAAE,OAAO,CAAC,OAAO;YACrB,GAAG;YACH,QAAQ;YACR,gBAAgB;YAChB,YAAY;YACZ,oBAAoB;YACpB,KAAK;YACL,EAAE;YACF,KAAK;SACgB,CAAC,CAAA;QACxB,OAAO,MAAM,MAAM,CAAC,OAAO,CACzB;YACE,MAAM,EAAE,qBAAqB;YAC7B,MAAM,EAAE,CAAC,OAAO,CAAC;SAClB,EACD,EAAE,UAAU,EAAE,CAAC,EAAE,CAClB,CAAA;IACH,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,MAAM,IAAA,4CAAmB,EAAC,GAAgB,EAAE;YAC1C,GAAG,UAAU;YACb,OAAO;YACP,KAAK,EAAE,UAAU,CAAC,KAAK,IAAI,SAAS;SACrC,CAAC,CAAA;IACJ,CAAC;AACH,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.signMessage = void 0;
3
+ exports.signMessage = signMessage;
4
4
  const parseAccount_js_1 = require("../../accounts/utils/parseAccount.js");
5
5
  const account_js_1 = require("../../errors/account.js");
6
6
  const toHex_js_1 = require("../../utils/encoding/toHex.js");
@@ -24,5 +24,4 @@ async function signMessage(client, { account: account_ = client.account, message
24
24
  params: [message_, account.address],
25
25
  }, { retryCount: 0 });
26
26
  }
27
- exports.signMessage = signMessage;
28
27
  //# sourceMappingURL=signMessage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"signMessage.js","sourceRoot":"","sources":["../../../actions/wallet/signMessage.ts"],"names":[],"mappings":";;;AACA,0EAG6C;AAI7C,wDAA8D;AAM9D,4DAIsC;AA+D/B,KAAK,UAAU,WAAW,CAI/B,MAA2C,EAC3C,EACE,OAAO,EAAE,QAAQ,GAAG,MAAM,CAAC,OAAO,EAClC,OAAO,GACyB;IAElC,IAAI,CAAC,QAAQ;QACX,MAAM,IAAI,iCAAoB,CAAC;YAC7B,QAAQ,EAAE,kCAAkC;SAC7C,CAAC,CAAA;IACJ,MAAM,OAAO,GAAG,IAAA,8BAAY,EAAC,QAAQ,CAAC,CAAA;IACtC,IAAI,OAAO,CAAC,IAAI,KAAK,OAAO;QAAE,OAAO,OAAO,CAAC,WAAW,CAAC,EAAE,OAAO,EAAE,CAAC,CAAA;IAErE,MAAM,QAAQ,GAAG,CAAC,GAAG,EAAE;QACrB,IAAI,OAAO,OAAO,KAAK,QAAQ;YAAE,OAAO,IAAA,sBAAW,EAAC,OAAO,CAAC,CAAA;QAC5D,IAAI,OAAO,CAAC,GAAG,YAAY,UAAU;YAAE,OAAO,IAAA,gBAAK,EAAC,OAAO,CAAC,GAAG,CAAC,CAAA;QAChE,OAAO,OAAO,CAAC,GAAG,CAAA;IACpB,CAAC,CAAC,EAAE,CAAA;IAEJ,OAAO,MAAM,CAAC,OAAO,CACnB;QACE,MAAM,EAAE,eAAe;QACvB,MAAM,EAAE,CAAC,QAAQ,EAAE,OAAO,CAAC,OAAO,CAAC;KACpC,EACD,EAAE,UAAU,EAAE,CAAC,EAAE,CAClB,CAAA;AACH,CAAC;AA9BD,kCA8BC"}
1
+ {"version":3,"file":"signMessage.js","sourceRoot":"","sources":["../../../actions/wallet/signMessage.ts"],"names":[],"mappings":";;AAiFA,kCA8BC;AA9GD,0EAG6C;AAI7C,wDAA8D;AAM9D,4DAIsC;AA+D/B,KAAK,UAAU,WAAW,CAI/B,MAA2C,EAC3C,EACE,OAAO,EAAE,QAAQ,GAAG,MAAM,CAAC,OAAO,EAClC,OAAO,GACyB;IAElC,IAAI,CAAC,QAAQ;QACX,MAAM,IAAI,iCAAoB,CAAC;YAC7B,QAAQ,EAAE,kCAAkC;SAC7C,CAAC,CAAA;IACJ,MAAM,OAAO,GAAG,IAAA,8BAAY,EAAC,QAAQ,CAAC,CAAA;IACtC,IAAI,OAAO,CAAC,IAAI,KAAK,OAAO;QAAE,OAAO,OAAO,CAAC,WAAW,CAAC,EAAE,OAAO,EAAE,CAAC,CAAA;IAErE,MAAM,QAAQ,GAAG,CAAC,GAAG,EAAE;QACrB,IAAI,OAAO,OAAO,KAAK,QAAQ;YAAE,OAAO,IAAA,sBAAW,EAAC,OAAO,CAAC,CAAA;QAC5D,IAAI,OAAO,CAAC,GAAG,YAAY,UAAU;YAAE,OAAO,IAAA,gBAAK,EAAC,OAAO,CAAC,GAAG,CAAC,CAAA;QAChE,OAAO,OAAO,CAAC,GAAG,CAAA;IACpB,CAAC,CAAC,EAAE,CAAA;IAEJ,OAAO,MAAM,CAAC,OAAO,CACnB;QACE,MAAM,EAAE,eAAe;QACvB,MAAM,EAAE,CAAC,QAAQ,EAAE,OAAO,CAAC,OAAO,CAAC;KACpC,EACD,EAAE,UAAU,EAAE,CAAC,EAAE,CAClB,CAAA;AACH,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.signTransaction = void 0;
3
+ exports.signTransaction = signTransaction;
4
4
  const parseAccount_js_1 = require("../../accounts/utils/parseAccount.js");
5
5
  const account_js_1 = require("../../errors/account.js");
6
6
  const assertCurrentChain_js_1 = require("../../utils/chain/assertCurrentChain.js");
@@ -45,5 +45,4 @@ async function signTransaction(client, parameters) {
45
45
  ],
46
46
  }, { retryCount: 0 });
47
47
  }
48
- exports.signTransaction = signTransaction;
49
48
  //# sourceMappingURL=signTransaction.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"signTransaction.js","sour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,CAAA;IAChE,MAAM,MAAM,GACV,UAAU,EAAE,kBAAkB,EAAE,MAAM,IAAI,gDAAwB,CAAA;IAEpE,IAAI,OAAO,CAAC,IAAI,KAAK,OAAO,EAAE,CAAC;QAC7B,OAAO,OAAO,CAAC,eAAe,CAC5B;YACE,GAAG,WAAW;YACd,OAAO;SACmB,EAC5B,EAAE,UAAU,EAAE,MAAM,CAAC,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,CACjB,CAAA;IACzC,CAAC;IAED,OAAO,MAAM,MAAM,CAAC,OAAO,CACzB;QACE,MAAM,EAAE,qBAAqB;QAC7B,MAAM,EAAE;YACN;gBACE,GAAG,MAAM,CAAC,WAA4C,CAAC;gBACvD,OAAO,EAAE,IAAA,sBAAW,EAAC,OAAO,CAAC;gBAC7B,IAAI,EAAE,OAAO,CAAC,OAAO;aACc;SACtC;KACF,EACD,EAAE,UAAU,EAAE,CAAC,EAAE,CAClB,CAAA;AACH,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.signTypedData = void 0;
3
+ exports.signTypedData = signTypedData;
4
4
  const parseAccount_js_1 = require("../../accounts/utils/parseAccount.js");
5
5
  const account_js_1 = require("../../errors/account.js");
6
6
  const typedData_js_1 = require("../../utils/typedData.js");
@@ -24,5 +24,4 @@ async function signTypedData(client, parameters) {
24
24
  params: [account.address, typedData],
25
25
  }, { retryCount: 0 });
26
26
  }
27
- exports.signTypedData = signTypedData;
28
27
  //# sourceMappingURL=signTypedData.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"signTypedData.js","sourceRoot":"","sources":["../../../actions/wallet/signTypedData.ts"],"names":[],"mappings":";;;AAGA,0EAG6C;AAI7C,wDAGgC;AAShC,2DAOiC;AA2H1B,KAAK,UAAU,aAAa,CAMjC,MAAyC,EACzC,UAAoE;IAEpE,MAAM,EACJ,OAAO,EAAE,QAAQ,GAAG,MAAM,CAAC,OAAO,EAClC,MAAM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,CAAC,QAAQ;QACX,MAAM,IAAI,iCAAoB,CAAC;YAC7B,QAAQ,EAAE,oCAAoC;SAC/C,CAAC,CAAA;IACJ,MAAM,OAAO,GAAG,IAAA,8BAAY,EAAC,QAAQ,CAAC,CAAA;IAEtC,MAAM,KAAK,GAAG;QACZ,YAAY,EAAE,IAAA,sCAAuB,EAAC,EAAE,MAAM,EAAE,CAAC;QACjD,GAAG,UAAU,CAAC,KAAK;KACpB,CAAA;IAID,IAAA,gCAAiB,EAAC,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC,CAAA;IAE1D,IAAI,OAAO,CAAC,IAAI,KAAK,OAAO;QAC1B,OAAO,OAAO,CAAC,aAAa,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC,CAAA;IAEvE,MAAM,SAAS,GAAG,IAAA,iCAAkB,EAAC,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC,CAAA;IAC7E,OAAO,MAAM,CAAC,OAAO,CACnB;QACE,MAAM,EAAE,sBAAsB;QAC9B,MAAM,EAAE,CAAC,OAAO,CAAC,OAAO,EAAE,SAAS,CAAC;KACrC,EACD,EAAE,UAAU,EAAE,CAAC,EAAE,CAClB,CAAA;AACH,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.switchChain = void 0;
3
+ exports.switchChain = switchChain;
4
4
  const toHex_js_1 = require("../../utils/encoding/toHex.js");
5
5
  async function switchChain(client, { id }) {
6
6
  await client.request({
@@ -12,5 +12,4 @@ async function switchChain(client, { id }) {
12
12
  ],
13
13
  }, { retryCount: 0 });
14
14
  }
15
- exports.switchChain = switchChain;
16
15
  //# sourceMappingURL=switchChain.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"switchChain.js","sourceRoot":"","sources":["../../../actions/wallet/switchChain.ts"],"names":[],"mappings":";;;AAMA,4DAGsC;AAgC/B,KAAK,UAAU,WAAW,CAG/B,MAA2C,EAAE,EAAE,EAAE,EAAyB;IAC1E,MAAM,MAAM,CAAC,OAAO,CAClB;QACE,MAAM,EAAE,4BAA4B;QACpC,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,IAAA,sBAAW,EAAC,EAAE,CAAC;aACzB;SACF;KACF,EACD,EAAE,UAAU,EAAE,CAAC,EAAE,CAClB,CAAA;AACH,CAAC;AAfD,kCAeC"}
1
+ {"version":3,"file":"switchChain.js","sourceRoot":"","sources":["../../../actions/wallet/switchChain.ts"],"names":[],"mappings":";;AAyCA,kCAeC;AAlDD,4DAGsC;AAgC/B,KAAK,UAAU,WAAW,CAG/B,MAA2C,EAAE,EAAE,EAAE,EAAyB;IAC1E,MAAM,MAAM,CAAC,OAAO,CAClB;QACE,MAAM,EAAE,4BAA4B;QACpC,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,IAAA,sBAAW,EAAC,EAAE,CAAC;aACzB;SACF;KACF,EACD,EAAE,UAAU,EAAE,CAAC,EAAE,CAClB,CAAA;AACH,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.watchAsset = void 0;
3
+ exports.watchAsset = watchAsset;
4
4
  async function watchAsset(client, params) {
5
5
  const added = await client.request({
6
6
  method: 'wallet_watchAsset',
@@ -8,5 +8,4 @@ async function watchAsset(client, params) {
8
8
  }, { retryCount: 0 });
9
9
  return added;
10
10
  }
11
- exports.watchAsset = watchAsset;
12
11
  //# sourceMappingURL=watchAsset.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"watchAsset.js","sourceRoot":"","sources":["../../../actions/wallet/watchAsset.ts"],"names":[],"mappings":";;;AAwCO,KAAK,UAAU,UAAU,CAI9B,MAA2C,EAC3C,MAA4B;IAE5B,MAAM,KAAK,GAAG,MAAM,MAAM,CAAC,OAAO,CAChC;QACE,MAAM,EAAE,mBAAmB;QAC3B,MAAM;KACP,EACD,EAAE,UAAU,EAAE,CAAC,EAAE,CAClB,CAAA;IACD,OAAO,KAAK,CAAA;AACd,CAAC;AAfD,gCAeC"}
1
+ {"version":3,"file":"watchAsset.js","sourceRoot":"","sources":["../../../actions/wallet/watchAsset.ts"],"names":[],"mappings":";;AAwCA,gCAeC;AAfM,KAAK,UAAU,UAAU,CAI9B,MAA2C,EAC3C,MAA4B;IAE5B,MAAM,KAAK,GAAG,MAAM,MAAM,CAAC,OAAO,CAChC;QACE,MAAM,EAAE,mBAAmB;QAC3B,MAAM;KACP,EACD,EAAE,UAAU,EAAE,CAAC,EAAE,CAClB,CAAA;IACD,OAAO,KAAK,CAAA;AACd,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.writeContract = void 0;
3
+ exports.writeContract = writeContract;
4
4
  const encodeFunctionData_js_1 = require("../../utils/abi/encodeFunctionData.js");
5
5
  const getAction_js_1 = require("../../utils/getAction.js");
6
6
  const sendTransaction_js_1 = require("./sendTransaction.js");
@@ -17,5 +17,4 @@ async function writeContract(client, parameters) {
17
17
  ...request,
18
18
  });
19
19
  }
20
- exports.writeContract = writeContract;
21
20
  //# sourceMappingURL=writeContract.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"writeContract.js","sourceRoot":"","sources":["../../../actions/wallet/writeContract.ts"],"names":[],"mappings":";;;AAoBA,iFAI8C;AAE9C,2DAAoD;AACpD,6DAI6B;AAuGtB,KAAK,UAAU,aAAa,CAYjC,MAAyC,EACzC,UAOC;IAED,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,YAAY,EAAE,GAAG,OAAO,EAAE,GAChE,UAAqC,CAAA;IACvC,MAAM,IAAI,GAAG,IAAA,0CAAkB,EAAC;QAC9B,GAAG;QACH,IAAI;QACJ,YAAY;KACmB,CAAC,CAAA;IAClC,OAAO,IAAA,wBAAS,EACd,MAAM,EACN,oCAAe,EACf,iBAAiB,CAClB,CAAC;QACA,IAAI,EAAE,GAAG,IAAI,GAAG,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE;QAChE,EAAE,EAAE,OAAO;QACX,GAAG,OAAO;KACX,CAAC,CAAA;AACJ,CAAC;AAtCD,sCAsCC"}
1
+ {"version":3,"file":"writeContract.js","sourceRoot":"","sources":["../../../actions/wallet/writeContract.ts"],"names":[],"mappings":";;AAsIA,sCAsCC;AAxJD,iFAI8C;AAE9C,2DAAoD;AACpD,6DAI6B;AAuGtB,KAAK,UAAU,aAAa,CAYjC,MAAyC,EACzC,UAOC;IAED,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,YAAY,EAAE,GAAG,OAAO,EAAE,GAChE,UAAqC,CAAA;IACvC,MAAM,IAAI,GAAG,IAAA,0CAAkB,EAAC;QAC9B,GAAG;QACH,IAAI;QACJ,YAAY;KACmB,CAAC,CAAA;IAClC,OAAO,IAAA,wBAAS,EACd,MAAM,EACN,oCAAe,EACf,iBAAiB,CAClB,CAAC;QACA,IAAI,EAAE,GAAG,IAAI,GAAG,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE;QAChE,EAAE,EAAE,OAAO;QACX,GAAG,OAAO;KACX,CAAC,CAAA;AACJ,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.parseTransaction = void 0;
3
+ exports.parseTransaction = parseTransaction;
4
4
  const transaction_js_1 = require("../errors/transaction.js");
5
5
  const isHex_js_1 = require("../utils/data/isHex.js");
6
6
  const slice_js_1 = require("../utils/data/slice.js");
@@ -15,7 +15,6 @@ function parseTransaction(serializedTransaction) {
15
15
  return parseTransactionCIP64(serializedTransaction);
16
16
  return (0, parseTransaction_js_1.parseTransaction)(serializedTransaction);
17
17
  }
18
- exports.parseTransaction = parseTransaction;
19
18
  function parseTransactionCIP42(serializedTransaction) {
20
19
  const transactionArray = (0, parseTransaction_js_1.toTransactionArray)(serializedTransaction);
21
20
  const [chainId, nonce, maxPriorityFeePerGas, maxFeePerGas, gas, feeCurrency, gatewayFeeRecipient, gatewayFee, to, value, data, accessList, v, r, s,] = transactionArray;
@@ -1 +1 @@
1
- {"version":3,"file":"parsers.js","sourceRoot":"","sources":["../../celo/parsers.ts"],"names":[],"mappings":";;;AAAA,6DAA4E;AAG5E,qDAA8C;AAC9C,qDAAiD;AACjD,6DAAuE;AAGvE,kFAKiD;AACjD,qDAGyB;AAiBzB,SAAgB,gBAAgB,CAC9B,qBAAkC;IAElC,MAAM,cAAc,GAAG,IAAA,mBAAQ,EAAC,qBAAqB,EAAE,CAAC,EAAE,CAAC,CAAC,CAAA;IAE5D,IAAI,cAAc,KAAK,MAAM;QAC3B,OAAO,qBAAqB,CAC1B,qBAAmD,CACT,CAAA;IAE9C,IAAI,cAAc,KAAK,MAAM;QAC3B,OAAO,qBAAqB,CAC1B,qBAAmD,CACT,CAAA;IAE9C,OAAO,IAAA,sCAAiB,EACtB,qBAAqB,CACqB,CAAA;AAC9C,CAAC;AAlBD,4CAkBC;AAED,SAAS,qBAAqB,CAC5B,qBAAiD;IAEjD,MAAM,gBAAgB,GAAG,IAAA,wCAAkB,EAAC,qBAAqB,CAAC,CAAA;IAElE,MAAM,CACJ,OAAO,EACP,KAAK,EACL,oBAAoB,EACpB,YAAY,EACZ,GAAG,EACH,WAAW,EACX,mBAAmB,EACnB,UAAU,EACV,EAAE,EACF,KAAK,EACL,IAAI,EACJ,UAAU,EACV,CAAC,EACD,CAAC,EACD,CAAC,EACF,GAAG,gBAAgB,CAAA;IAEpB,IAAI,gBAAgB,CAAC,MAAM,KAAK,EAAE,IAAI,gBAAgB,CAAC,MAAM,KAAK,EAAE,EAAE,CAAC;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C1E,IAAI,IAAA,gBAAK,EAAC,WAAW,CAAC,IAAI,WAAW,KAAK,IAAI;QAC5C,WAAW,CAAC,WAAW,GAAG,WAAW,CAAA;IACvC,IAAI,IAAA,gBAAK,EAAC,YAAY,CAAC,IAAI,YAAY,KAAK,IAAI;QAC9C,WAAW,CAAC,YAAY,GAAG,IAAA,wBAAW,EAAC,YAAY,CAAC,CAAA;IACtD,IAAI,IAAA,gBAAK,EAAC,oBAAoB,CAAC,IAAI,oBAAoB,KAAK,IAAI;QAC9D,WAAW,CAAC,oBAAoB,GAAG,IAAA,wBAAW,EAAC,oBAAoB,CAAC,CAAA;IACtE,IAAI,UAAU,CAAC,MAAM,KAAK,CAAC,IAAI,UAAU,KAAK,IAAI;QAChD,WAAW,CAAC,UAAU,GAAG,IAAA,qCAAe,EAAC,UAAiC,CAAC,CAAA;IAE7E,IAAA,uCAAsB,EAAC,WAA2C,CAAC,CAAA;IAEnE,OAAO,WAA2C,CAAA;AACpD,CAAC"}
@@ -1,6 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.assertTransactionCIP64 = exports.assertTransactionCIP42 = exports.serializers = exports.serializeTransaction = void 0;
3
+ exports.serializers = void 0;
4
+ exports.serializeTransaction = serializeTransaction;
5
+ exports.assertTransactionCIP42 = assertTransactionCIP42;
6
+ exports.assertTransactionCIP64 = assertTransactionCIP64;
4
7
  const address_js_1 = require("../errors/address.js");
5
8
  const base_js_1 = require("../errors/base.js");
6
9
  const chain_js_1 = require("../errors/chain.js");
@@ -17,7 +20,6 @@ function serializeTransaction(transaction, signature) {
17
20
  return serializeTransactionCIP64(transaction, signature);
18
21
  return (0, serializeTransaction_js_1.serializeTransaction)(transaction, signature);
19
22
  }
20
- exports.serializeTransaction = serializeTransaction;
21
23
  exports.serializers = {
22
24
  transaction: serializeTransaction,
23
25
  };
@@ -71,7 +73,6 @@ function assertTransactionCIP42(transaction) {
71
73
  throw new base_js_1.BaseError('Either `feeCurrency` or `gatewayFeeRecipient` must be provided for CIP-42 transactions.');
72
74
  }
73
75
  }
74
- exports.assertTransactionCIP42 = assertTransactionCIP42;
75
76
  function assertTransactionCIP64(transaction) {
76
77
  const { chainId, maxPriorityFeePerGas, gasPrice, maxFeePerGas, to, feeCurrency, } = transaction;
77
78
  if (chainId <= 0)
@@ -93,5 +94,4 @@ function assertTransactionCIP64(transaction) {
93
94
  throw new base_js_1.BaseError('`feeCurrency` must be provided for CIP-64 transactions.');
94
95
  }
95
96
  }
96
- exports.assertTransactionCIP64 = assertTransactionCIP64;
97
97
  //# sourceMappingURL=serializers.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"serializers.js","sourceRoot":"","sources":["../../celo/serializers.ts"],"names":[],"mappings":";;;AAAA,qDAA0D;AAC1D,+CAA6C;AAC7C,iDAAwD;AACxD,+CAA2E;AAG3E,gEAAyD;AACzD,uDAAmD;AACnD,yDAAkD;AAClD,yDAAkD;AAClD,wFAAiF;AACjF,0FAGqD;AAOrD,yCAAwD;AAExD,SAAgB,oBAAoB,CAClC,WAAwC,EACxC,SAAiC;IAEjC,IAAI,IAAA,kBAAO,EAAC,WAAW,CAAC;QACtB,OAAO,yBAAyB,CAAC,WAAW,EAAE,SAAS,CAAC,CAAA;IAC1D,OAAO,IAAA,8CAAqB,EAAC,WAAW,EAAE,SAAS,CAAC,CAAA;AACtD,CAAC;AAPD,oDAOC;AAEY,QAAA,WAAW,GAAG;IACzB,WAAW,EAAE,oBAAoB;CACE,CAAA;AAOrC,SAAS,yBAAyB,CAChC,WAAyC,EACzC,SAAiC;IAEjC,sBAAsB,CAAC,WAAW,CAAC,CAAA;IACnC,MAAM,EACJ,OAAO,EACP,GAAG,EACH,KAAK,EACL,EAAE,EACF,KAAK,EACL,YAAY,EACZ,oBAAoB,EACpB,UAAU,EACV,WAAW,EACX,IAAI,GACL,GAAG,WAAW,CAAA;IAEf,MAAM,qBAAqB,GAAG;QAC5B,IAAA,gBAAK,EAAC,OAAO,CAAC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EAAC,WAAW,CAAC,IAAI,CAAC,IAAA,wBAAS,EAAC,WAAW,CAAC,EAAE,CAAC;QACtD,MAAM,IAAI,mBAAS,CACjB,gEAAgE,CACjE,CAAA;IACH,CAAC;IAED,IAAI,IAAA,kBAAO,EAAC,WAAW,CAAC,EAAE,CAAC;QACzB,MAAM,IAAI,mBAAS,CACjB,yDAAyD,CAC1D,CAAA;IACH,CAAC;AACH,CAAC"}
@@ -1,6 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isCIP64 = exports.isEIP1559 = exports.isPresent = exports.isEmpty = void 0;
3
+ exports.isEmpty = isEmpty;
4
+ exports.isPresent = isPresent;
5
+ exports.isEIP1559 = isEIP1559;
6
+ exports.isCIP64 = isCIP64;
4
7
  const trim_js_1 = require("../utils/data/trim.js");
5
8
  function isEmpty(value) {
6
9
  return (value === 0 ||
@@ -13,21 +16,17 @@ function isEmpty(value) {
13
16
  ((0, trim_js_1.trim)(value).toLowerCase() === '0x' ||
14
17
  (0, trim_js_1.trim)(value).toLowerCase() === '0x00')));
15
18
  }
16
- exports.isEmpty = isEmpty;
17
19
  function isPresent(value) {
18
20
  return !isEmpty(value);
19
21
  }
20
- exports.isPresent = isPresent;
21
22
  function isEIP1559(transaction) {
22
23
  return (typeof transaction.maxFeePerGas !== 'undefined' &&
23
24
  typeof transaction.maxPriorityFeePerGas !== 'undefined');
24
25
  }
25
- exports.isEIP1559 = isEIP1559;
26
26
  function isCIP64(transaction) {
27
27
  if (transaction.type === 'cip64') {
28
28
  return true;
29
29
  }
30
30
  return isEIP1559(transaction) && isPresent(transaction.feeCurrency);
31
31
  }
32
- exports.isCIP64 = isCIP64;
33
32
  //# sourceMappingURL=utils.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../celo/utils.ts"],"names":[],"mappings":";;;AACA,mDAA4C;AAO5C,SAAgB,OAAO,CACrB,KAA2C;IAE3C,OAAO,CACL,KA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B,CAAC,IAAA,cAAI,EAAC,KAAgB,CAAC,CAAC,WAAW,EAAE,KAAK,IAAI;gBAC5C,IAAA,cAAI,EAAC,KAAgB,CAAC,CAAC,WAAW,EAAE,KAAK,MAAM,CAAC,CAAC,CACtD,CAAA;AACH,CAAC;AAED,SAAgB,SAAS,CACvB,KAA2C;IAE3C,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;AACxB,CAAC;AAGD,SAAgB,SAAS,CACvB,WAAiE;IAEjE,OAAO,CACL,OAAO,WAAW,CAAC,YAAY,KAAK,WAAW;QAC/C,OAAO,WAAW,CAAC,oBAAoB,KAAK,WAAW,CACxD,CAAA;AACH,CAAC;AAED,SAAgB,OAAO,CACrB,WAAiE;IAYjE,IAAI,WAAW,CAAC,IAAI,KAAK,OAAO,EAAE,CAAC;QACjC,OAAO,IAAI,CAAA;IACb,CAAC;IAED,OAAO,SAAS,CAAC,WAAW,CAAC,IAAI,SAAS,CAAC,WAAW,CAAC,WAAW,CAAC,CAAA;AACrE,CAAC"}
@@ -15,6 +15,12 @@ exports.zetachain = (0, defineChain_js_1.defineChain)({
15
15
  http: ['https://zetachain-evm.blockpi.network/v1/rpc/public'],
16
16
  },
17
17
  },
18
+ contracts: {
19
+ multicall3: {
20
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
21
+ blockCreated: 1632781,
22
+ },
23
+ },
18
24
  blockExplorers: {
19
25
  default: {
20
26
  name: 'ZetaScan',
@@ -1 +1 @@
1
- {"version":3,"file":"zetachain.js","sourceRoot":"","sources":["../../../chains/definitions/zetachain.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAEjD,QAAA,SAAS,GAAiB,IAAA,4BAAW,EAAC;IACjD,EAAE,EAAE,IAAI;IACR,IAAI,EAAE,WAAW;IACjB,cAAc,EAAE;QACd,QAAQ,EAAE,EAAE;QACZ,IAAI,EAAE,MAAM;QACZ,MAAM,EAAE,MAAM;KACf;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,qDAAqD,CAAC;SAC9D;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,UAAU;YAChB,GAAG,EAAE,gCAAgC;SACtC;KACF;IACD,OAAO,EAAE,KAAK;CACf,CAAC,CAAA"}
1
+ {"version":3,"file":"zetachain.js","sourceRoot":"","sources":["../../../chains/definitions/zetachain.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAEjD,QAAA,SAAS,GAAiB,IAAA,4BAAW,EAAC;IACjD,EAAE,EAAE,IAAI;IACR,IAAI,EAAE,WAAW;IACjB,cAAc,EAAE;QACd,QAAQ,EAAE,EAAE;QACZ,IAAI,EAAE,MAAM;QACZ,MAAM,EAAE,MAAM;KACf;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,qDAAqD,CAAC;SAC9D;KACF;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,OAAO;SACtB;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,UAAU;YAChB,GAAG,EAAE,gCAAgC;SACtC;KACF;IACD,OAAO,EAAE,KAAK;CACf,CAAC,CAAA"}
@@ -15,6 +15,12 @@ exports.zetachainAthensTestnet = (0, defineChain_js_1.defineChain)({
15
15
  http: ['https://zetachain-athens-evm.blockpi.network/v1/rpc/public'],
16
16
  },
17
17
  },
18
+ contracts: {
19
+ multicall3: {
20
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
21
+ blockCreated: 2715217,
22
+ },
23
+ },
18
24
  blockExplorers: {
19
25
  default: {
20
26
  name: 'ZetaScan',
@@ -1 +1 @@
1
- {"version":3,"file":"zetachainAthensTestnet.js","sourceRoot":"","sources":["../../../chains/definitions/zetachainAthensTestnet.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAEjD,QAAA,sBAAsB,GAAiB,IAAA,4BAAW,EAAC;IAC9D,EAAE,EAAE,IAAI;IACR,IAAI,EAAE,0BAA0B;IAChC,cAAc,EAAE;QACd,QAAQ,EAAE,EAAE;QACZ,IAAI,EAAE,MAAM;QACZ,MAAM,EAAE,OAAO;KAChB;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,4DAA4D,CAAC;SACrE;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,UAAU;YAChB,GAAG,EAAE,uCAAuC;SAC7C;KACF;IACD,OAAO,EAAE,IAAI;CACd,CAAC,CAAA"}
1
+ {"version":3,"file":"zetachainAthensTestnet.js","sourceRoot":"","sources":["../../../chains/definitions/zetachainAthensTestnet.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAEjD,QAAA,sBAAsB,GAAiB,IAAA,4BAAW,EAAC;IAC9D,EAAE,EAAE,IAAI;IACR,IAAI,EAAE,0BAA0B;IAChC,cAAc,EAAE;QACd,QAAQ,EAAE,EAAE;QACZ,IAAI,EAAE,MAAM;QACZ,MAAM,EAAE,OAAO;KAChB;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,4DAA4D,CAAC;SACrE;KACF;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,OAAO;SACtB;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,UAAU;YAChB,GAAG,EAAE,uCAAuC;SAC7C;KACF;IACD,OAAO,EAAE,IAAI;CACd,CAAC,CAAA"}