viem 2.16.0 → 2.16.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (859) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/_cjs/accounts/generateMnemonic.js +1 -2
  3. package/_cjs/accounts/generateMnemonic.js.map +1 -1
  4. package/_cjs/accounts/generatePrivateKey.js +1 -2
  5. package/_cjs/accounts/generatePrivateKey.js.map +1 -1
  6. package/_cjs/accounts/hdKeyToAccount.js +1 -2
  7. package/_cjs/accounts/hdKeyToAccount.js.map +1 -1
  8. package/_cjs/accounts/mnemonicToAccount.js +1 -2
  9. package/_cjs/accounts/mnemonicToAccount.js.map +1 -1
  10. package/_cjs/accounts/privateKeyToAccount.js +1 -2
  11. package/_cjs/accounts/privateKeyToAccount.js.map +1 -1
  12. package/_cjs/accounts/toAccount.js +1 -2
  13. package/_cjs/accounts/toAccount.js.map +1 -1
  14. package/_cjs/accounts/utils/parseAccount.js +1 -2
  15. package/_cjs/accounts/utils/parseAccount.js.map +1 -1
  16. package/_cjs/accounts/utils/privateKeyToAddress.js +1 -2
  17. package/_cjs/accounts/utils/privateKeyToAddress.js.map +1 -1
  18. package/_cjs/accounts/utils/publicKeyToAddress.js +1 -2
  19. package/_cjs/accounts/utils/publicKeyToAddress.js.map +1 -1
  20. package/_cjs/accounts/utils/sign.js +1 -2
  21. package/_cjs/accounts/utils/sign.js.map +1 -1
  22. package/_cjs/accounts/utils/signMessage.js +1 -2
  23. package/_cjs/accounts/utils/signMessage.js.map +1 -1
  24. package/_cjs/accounts/utils/signTransaction.js +1 -2
  25. package/_cjs/accounts/utils/signTransaction.js.map +1 -1
  26. package/_cjs/accounts/utils/signTypedData.js +1 -2
  27. package/_cjs/accounts/utils/signTypedData.js.map +1 -1
  28. package/_cjs/actions/ens/getEnsAddress.js +1 -2
  29. package/_cjs/actions/ens/getEnsAddress.js.map +1 -1
  30. package/_cjs/actions/ens/getEnsAvatar.js +1 -2
  31. package/_cjs/actions/ens/getEnsAvatar.js.map +1 -1
  32. package/_cjs/actions/ens/getEnsName.js +1 -2
  33. package/_cjs/actions/ens/getEnsName.js.map +1 -1
  34. package/_cjs/actions/ens/getEnsResolver.js +1 -2
  35. package/_cjs/actions/ens/getEnsResolver.js.map +1 -1
  36. package/_cjs/actions/ens/getEnsText.js +1 -2
  37. package/_cjs/actions/ens/getEnsText.js.map +1 -1
  38. package/_cjs/actions/getContract.js +3 -4
  39. package/_cjs/actions/getContract.js.map +1 -1
  40. package/_cjs/actions/public/call.js +2 -3
  41. package/_cjs/actions/public/call.js.map +1 -1
  42. package/_cjs/actions/public/createBlockFilter.js +1 -2
  43. package/_cjs/actions/public/createBlockFilter.js.map +1 -1
  44. package/_cjs/actions/public/createContractEventFilter.js +1 -2
  45. package/_cjs/actions/public/createContractEventFilter.js.map +1 -1
  46. package/_cjs/actions/public/createEventFilter.js +7 -9
  47. package/_cjs/actions/public/createEventFilter.js.map +1 -1
  48. package/_cjs/actions/public/createPendingTransactionFilter.js +1 -2
  49. package/_cjs/actions/public/createPendingTransactionFilter.js.map +1 -1
  50. package/_cjs/actions/public/estimateContractGas.js +1 -2
  51. package/_cjs/actions/public/estimateContractGas.js.map +1 -1
  52. package/_cjs/actions/public/estimateFeesPerGas.js +2 -3
  53. package/_cjs/actions/public/estimateFeesPerGas.js.map +1 -1
  54. package/_cjs/actions/public/estimateGas.js +1 -2
  55. package/_cjs/actions/public/estimateGas.js.map +1 -1
  56. package/_cjs/actions/public/estimateMaxPriorityFeePerGas.js +2 -3
  57. package/_cjs/actions/public/estimateMaxPriorityFeePerGas.js.map +1 -1
  58. package/_cjs/actions/public/getBalance.js +1 -2
  59. package/_cjs/actions/public/getBalance.js.map +1 -1
  60. package/_cjs/actions/public/getBlobBaseFee.js +1 -2
  61. package/_cjs/actions/public/getBlobBaseFee.js.map +1 -1
  62. package/_cjs/actions/public/getBlock.js +1 -2
  63. package/_cjs/actions/public/getBlock.js.map +1 -1
  64. package/_cjs/actions/public/getBlockNumber.js +2 -3
  65. package/_cjs/actions/public/getBlockNumber.js.map +1 -1
  66. package/_cjs/actions/public/getBlockTransactionCount.js +1 -2
  67. package/_cjs/actions/public/getBlockTransactionCount.js.map +1 -1
  68. package/_cjs/actions/public/getChainId.js +1 -2
  69. package/_cjs/actions/public/getChainId.js.map +1 -1
  70. package/_cjs/actions/public/getCode.js +1 -2
  71. package/_cjs/actions/public/getCode.js.map +1 -1
  72. package/_cjs/actions/public/getContractEvents.js +1 -2
  73. package/_cjs/actions/public/getContractEvents.js.map +1 -1
  74. package/_cjs/actions/public/getEip712Domain.js +1 -2
  75. package/_cjs/actions/public/getEip712Domain.js.map +1 -1
  76. package/_cjs/actions/public/getFeeHistory.js +1 -2
  77. package/_cjs/actions/public/getFeeHistory.js.map +1 -1
  78. package/_cjs/actions/public/getFilterChanges.js +1 -2
  79. package/_cjs/actions/public/getFilterChanges.js.map +1 -1
  80. package/_cjs/actions/public/getFilterLogs.js +1 -2
  81. package/_cjs/actions/public/getFilterLogs.js.map +1 -1
  82. package/_cjs/actions/public/getGasPrice.js +1 -2
  83. package/_cjs/actions/public/getGasPrice.js.map +1 -1
  84. package/_cjs/actions/public/getLogs.js +7 -9
  85. package/_cjs/actions/public/getLogs.js.map +1 -1
  86. package/_cjs/actions/public/getProof.js +1 -2
  87. package/_cjs/actions/public/getProof.js.map +1 -1
  88. package/_cjs/actions/public/getStorageAt.js +1 -2
  89. package/_cjs/actions/public/getStorageAt.js.map +1 -1
  90. package/_cjs/actions/public/getTransaction.js +1 -2
  91. package/_cjs/actions/public/getTransaction.js.map +1 -1
  92. package/_cjs/actions/public/getTransactionConfirmations.js +1 -2
  93. package/_cjs/actions/public/getTransactionConfirmations.js.map +1 -1
  94. package/_cjs/actions/public/getTransactionCount.js +1 -2
  95. package/_cjs/actions/public/getTransactionCount.js.map +1 -1
  96. package/_cjs/actions/public/getTransactionReceipt.js +1 -2
  97. package/_cjs/actions/public/getTransactionReceipt.js.map +1 -1
  98. package/_cjs/actions/public/multicall.js +1 -2
  99. package/_cjs/actions/public/multicall.js.map +1 -1
  100. package/_cjs/actions/public/readContract.js +1 -2
  101. package/_cjs/actions/public/readContract.js.map +1 -1
  102. package/_cjs/actions/public/simulateContract.js +1 -2
  103. package/_cjs/actions/public/simulateContract.js.map +1 -1
  104. package/_cjs/actions/public/uninstallFilter.js +1 -2
  105. package/_cjs/actions/public/uninstallFilter.js.map +1 -1
  106. package/_cjs/actions/public/verifyHash.js +1 -2
  107. package/_cjs/actions/public/verifyHash.js.map +1 -1
  108. package/_cjs/actions/public/verifyMessage.js +1 -2
  109. package/_cjs/actions/public/verifyMessage.js.map +1 -1
  110. package/_cjs/actions/public/verifyTypedData.js +1 -2
  111. package/_cjs/actions/public/verifyTypedData.js.map +1 -1
  112. package/_cjs/actions/public/waitForTransactionReceipt.js +1 -2
  113. package/_cjs/actions/public/waitForTransactionReceipt.js.map +1 -1
  114. package/_cjs/actions/public/watchBlockNumber.js +1 -2
  115. package/_cjs/actions/public/watchBlockNumber.js.map +1 -1
  116. package/_cjs/actions/public/watchBlocks.js +1 -2
  117. package/_cjs/actions/public/watchBlocks.js.map +1 -1
  118. package/_cjs/actions/public/watchContractEvent.js +1 -2
  119. package/_cjs/actions/public/watchContractEvent.js.map +1 -1
  120. package/_cjs/actions/public/watchEvent.js +7 -9
  121. package/_cjs/actions/public/watchEvent.js.map +1 -1
  122. package/_cjs/actions/public/watchPendingTransactions.js +1 -2
  123. package/_cjs/actions/public/watchPendingTransactions.js.map +1 -1
  124. package/_cjs/actions/siwe/verifySiweMessage.js +1 -2
  125. package/_cjs/actions/siwe/verifySiweMessage.js.map +1 -1
  126. package/_cjs/actions/test/dropTransaction.js +1 -2
  127. package/_cjs/actions/test/dropTransaction.js.map +1 -1
  128. package/_cjs/actions/test/dumpState.js +1 -2
  129. package/_cjs/actions/test/dumpState.js.map +1 -1
  130. package/_cjs/actions/test/getAutomine.js +1 -2
  131. package/_cjs/actions/test/getAutomine.js.map +1 -1
  132. package/_cjs/actions/test/getTxpoolContent.js +1 -2
  133. package/_cjs/actions/test/getTxpoolContent.js.map +1 -1
  134. package/_cjs/actions/test/getTxpoolStatus.js +1 -2
  135. package/_cjs/actions/test/getTxpoolStatus.js.map +1 -1
  136. package/_cjs/actions/test/impersonateAccount.js +1 -2
  137. package/_cjs/actions/test/impersonateAccount.js.map +1 -1
  138. package/_cjs/actions/test/increaseTime.js +1 -2
  139. package/_cjs/actions/test/increaseTime.js.map +1 -1
  140. package/_cjs/actions/test/inspectTxpool.js +1 -2
  141. package/_cjs/actions/test/inspectTxpool.js.map +1 -1
  142. package/_cjs/actions/test/loadState.js +1 -2
  143. package/_cjs/actions/test/loadState.js.map +1 -1
  144. package/_cjs/actions/test/mine.js +1 -2
  145. package/_cjs/actions/test/mine.js.map +1 -1
  146. package/_cjs/actions/test/removeBlockTimestampInterval.js +1 -2
  147. package/_cjs/actions/test/removeBlockTimestampInterval.js.map +1 -1
  148. package/_cjs/actions/test/reset.js +1 -2
  149. package/_cjs/actions/test/reset.js.map +1 -1
  150. package/_cjs/actions/test/revert.js +1 -2
  151. package/_cjs/actions/test/revert.js.map +1 -1
  152. package/_cjs/actions/test/sendUnsignedTransaction.js +1 -2
  153. package/_cjs/actions/test/sendUnsignedTransaction.js.map +1 -1
  154. package/_cjs/actions/test/setAutomine.js +1 -2
  155. package/_cjs/actions/test/setAutomine.js.map +1 -1
  156. package/_cjs/actions/test/setBalance.js +1 -2
  157. package/_cjs/actions/test/setBalance.js.map +1 -1
  158. package/_cjs/actions/test/setBlockGasLimit.js +1 -2
  159. package/_cjs/actions/test/setBlockGasLimit.js.map +1 -1
  160. package/_cjs/actions/test/setBlockTimestampInterval.js +1 -2
  161. package/_cjs/actions/test/setBlockTimestampInterval.js.map +1 -1
  162. package/_cjs/actions/test/setCode.js +1 -2
  163. package/_cjs/actions/test/setCode.js.map +1 -1
  164. package/_cjs/actions/test/setCoinbase.js +1 -2
  165. package/_cjs/actions/test/setCoinbase.js.map +1 -1
  166. package/_cjs/actions/test/setIntervalMining.js +1 -2
  167. package/_cjs/actions/test/setIntervalMining.js.map +1 -1
  168. package/_cjs/actions/test/setLoggingEnabled.js +1 -2
  169. package/_cjs/actions/test/setLoggingEnabled.js.map +1 -1
  170. package/_cjs/actions/test/setMinGasPrice.js +1 -2
  171. package/_cjs/actions/test/setMinGasPrice.js.map +1 -1
  172. package/_cjs/actions/test/setNextBlockBaseFeePerGas.js +1 -2
  173. package/_cjs/actions/test/setNextBlockBaseFeePerGas.js.map +1 -1
  174. package/_cjs/actions/test/setNextBlockTimestamp.js +1 -2
  175. package/_cjs/actions/test/setNextBlockTimestamp.js.map +1 -1
  176. package/_cjs/actions/test/setNonce.js +1 -2
  177. package/_cjs/actions/test/setNonce.js.map +1 -1
  178. package/_cjs/actions/test/setRpcUrl.js +1 -2
  179. package/_cjs/actions/test/setRpcUrl.js.map +1 -1
  180. package/_cjs/actions/test/setStorageAt.js +1 -2
  181. package/_cjs/actions/test/setStorageAt.js.map +1 -1
  182. package/_cjs/actions/test/snapshot.js +1 -2
  183. package/_cjs/actions/test/snapshot.js.map +1 -1
  184. package/_cjs/actions/test/stopImpersonatingAccount.js +1 -2
  185. package/_cjs/actions/test/stopImpersonatingAccount.js.map +1 -1
  186. package/_cjs/actions/wallet/addChain.js +1 -2
  187. package/_cjs/actions/wallet/addChain.js.map +1 -1
  188. package/_cjs/actions/wallet/deployContract.js +1 -2
  189. package/_cjs/actions/wallet/deployContract.js.map +1 -1
  190. package/_cjs/actions/wallet/getAddresses.js +1 -2
  191. package/_cjs/actions/wallet/getAddresses.js.map +1 -1
  192. package/_cjs/actions/wallet/getPermissions.js +1 -2
  193. package/_cjs/actions/wallet/getPermissions.js.map +1 -1
  194. package/_cjs/actions/wallet/prepareTransactionRequest.js +2 -2
  195. package/_cjs/actions/wallet/prepareTransactionRequest.js.map +1 -1
  196. package/_cjs/actions/wallet/requestAddresses.js +1 -2
  197. package/_cjs/actions/wallet/requestAddresses.js.map +1 -1
  198. package/_cjs/actions/wallet/requestPermissions.js +1 -2
  199. package/_cjs/actions/wallet/requestPermissions.js.map +1 -1
  200. package/_cjs/actions/wallet/sendRawTransaction.js +1 -2
  201. package/_cjs/actions/wallet/sendRawTransaction.js.map +1 -1
  202. package/_cjs/actions/wallet/sendTransaction.js +2 -2
  203. package/_cjs/actions/wallet/sendTransaction.js.map +1 -1
  204. package/_cjs/actions/wallet/signMessage.js +1 -2
  205. package/_cjs/actions/wallet/signMessage.js.map +1 -1
  206. package/_cjs/actions/wallet/signTransaction.js +1 -2
  207. package/_cjs/actions/wallet/signTransaction.js.map +1 -1
  208. package/_cjs/actions/wallet/signTypedData.js +1 -2
  209. package/_cjs/actions/wallet/signTypedData.js.map +1 -1
  210. package/_cjs/actions/wallet/switchChain.js +1 -2
  211. package/_cjs/actions/wallet/switchChain.js.map +1 -1
  212. package/_cjs/actions/wallet/watchAsset.js +1 -2
  213. package/_cjs/actions/wallet/watchAsset.js.map +1 -1
  214. package/_cjs/actions/wallet/writeContract.js +1 -2
  215. package/_cjs/actions/wallet/writeContract.js.map +1 -1
  216. package/_cjs/celo/parsers.js +1 -2
  217. package/_cjs/celo/parsers.js.map +1 -1
  218. package/_cjs/celo/serializers.js +4 -4
  219. package/_cjs/celo/serializers.js.map +1 -1
  220. package/_cjs/celo/utils.js +4 -5
  221. package/_cjs/celo/utils.js.map +1 -1
  222. package/_cjs/chains/index.js +2 -2
  223. package/_cjs/clients/createClient.js +2 -3
  224. package/_cjs/clients/createClient.js.map +1 -1
  225. package/_cjs/clients/createPublicClient.js +1 -2
  226. package/_cjs/clients/createPublicClient.js.map +1 -1
  227. package/_cjs/clients/createTestClient.js +1 -2
  228. package/_cjs/clients/createTestClient.js.map +1 -1
  229. package/_cjs/clients/createWalletClient.js +1 -2
  230. package/_cjs/clients/createWalletClient.js.map +1 -1
  231. package/_cjs/clients/decorators/public.js +1 -2
  232. package/_cjs/clients/decorators/public.js.map +1 -1
  233. package/_cjs/clients/decorators/test.js +1 -2
  234. package/_cjs/clients/decorators/test.js.map +1 -1
  235. package/_cjs/clients/decorators/wallet.js +1 -2
  236. package/_cjs/clients/decorators/wallet.js.map +1 -1
  237. package/_cjs/clients/transports/createTransport.js +1 -2
  238. package/_cjs/clients/transports/createTransport.js.map +1 -1
  239. package/_cjs/clients/transports/custom.js +1 -2
  240. package/_cjs/clients/transports/custom.js.map +1 -1
  241. package/_cjs/clients/transports/fallback.js +2 -3
  242. package/_cjs/clients/transports/fallback.js.map +1 -1
  243. package/_cjs/clients/transports/http.js +1 -2
  244. package/_cjs/clients/transports/http.js.map +1 -1
  245. package/_cjs/clients/transports/ipc.js +1 -2
  246. package/_cjs/clients/transports/ipc.js.map +1 -1
  247. package/_cjs/clients/transports/webSocket.js +1 -2
  248. package/_cjs/clients/transports/webSocket.js.map +1 -1
  249. package/_cjs/errors/stateOverride.js +3 -3
  250. package/_cjs/errors/stateOverride.js.map +1 -1
  251. package/_cjs/errors/transaction.js +2 -2
  252. package/_cjs/errors/transaction.js.map +1 -1
  253. package/_cjs/errors/version.js +1 -1
  254. package/_cjs/experimental/eip5792/actions/getCallsStatus.js +1 -2
  255. package/_cjs/experimental/eip5792/actions/getCallsStatus.js.map +1 -1
  256. package/_cjs/experimental/eip5792/actions/getCapabilities.js +1 -2
  257. package/_cjs/experimental/eip5792/actions/getCapabilities.js.map +1 -1
  258. package/_cjs/experimental/eip5792/actions/sendCalls.js +1 -2
  259. package/_cjs/experimental/eip5792/actions/sendCalls.js.map +1 -1
  260. package/_cjs/experimental/eip5792/actions/showCallsStatus.js +1 -2
  261. package/_cjs/experimental/eip5792/actions/showCallsStatus.js.map +1 -1
  262. package/_cjs/experimental/eip5792/actions/writeContracts.js +1 -2
  263. package/_cjs/experimental/eip5792/actions/writeContracts.js.map +1 -1
  264. package/_cjs/experimental/eip5792/decorators/eip5792.js +1 -2
  265. package/_cjs/experimental/eip5792/decorators/eip5792.js.map +1 -1
  266. package/_cjs/experimental/erc7715/actions/issuePermissions.js +1 -2
  267. package/_cjs/experimental/erc7715/actions/issuePermissions.js.map +1 -1
  268. package/_cjs/experimental/erc7715/decorators/erc7715.js +1 -2
  269. package/_cjs/experimental/erc7715/decorators/erc7715.js.map +1 -1
  270. package/_cjs/experimental/index.js +1 -5
  271. package/_cjs/experimental/index.js.map +1 -1
  272. package/_cjs/experimental/solady/actions/signMessage.js +1 -2
  273. package/_cjs/experimental/solady/actions/signMessage.js.map +1 -1
  274. package/_cjs/experimental/solady/actions/signTypedData.js +7 -28
  275. package/_cjs/experimental/solady/actions/signTypedData.js.map +1 -1
  276. package/_cjs/experimental/solady/decorators/solady.js +1 -2
  277. package/_cjs/experimental/solady/decorators/solady.js.map +1 -1
  278. package/_cjs/experimental/solady/index.js +16 -0
  279. package/_cjs/experimental/solady/index.js.map +1 -0
  280. package/_cjs/experimental/solady/utils/hashMessage.js +19 -0
  281. package/_cjs/experimental/solady/utils/hashMessage.js.map +1 -0
  282. package/_cjs/experimental/solady/utils/hashTypedData.js +31 -0
  283. package/_cjs/experimental/solady/utils/hashTypedData.js.map +1 -0
  284. package/_cjs/experimental/solady/utils/wrapTypedDataSignature.js +44 -0
  285. package/_cjs/experimental/solady/utils/wrapTypedDataSignature.js.map +1 -0
  286. package/_cjs/index.js.map +1 -1
  287. package/_cjs/op-stack/actions/buildDepositTransaction.js +1 -2
  288. package/_cjs/op-stack/actions/buildDepositTransaction.js.map +1 -1
  289. package/_cjs/op-stack/actions/buildInitiateWithdrawal.js +1 -2
  290. package/_cjs/op-stack/actions/buildInitiateWithdrawal.js.map +1 -1
  291. package/_cjs/op-stack/actions/buildProveWithdrawal.js +2 -3
  292. package/_cjs/op-stack/actions/buildProveWithdrawal.js.map +1 -1
  293. package/_cjs/op-stack/actions/depositTransaction.js +1 -2
  294. package/_cjs/op-stack/actions/depositTransaction.js.map +1 -1
  295. package/_cjs/op-stack/actions/estimateContractL1Fee.js +1 -2
  296. package/_cjs/op-stack/actions/estimateContractL1Fee.js.map +1 -1
  297. package/_cjs/op-stack/actions/estimateContractL1Gas.js +1 -2
  298. package/_cjs/op-stack/actions/estimateContractL1Gas.js.map +1 -1
  299. package/_cjs/op-stack/actions/estimateContractTotalFee.js +1 -2
  300. package/_cjs/op-stack/actions/estimateContractTotalFee.js.map +1 -1
  301. package/_cjs/op-stack/actions/estimateContractTotalGas.js +1 -2
  302. package/_cjs/op-stack/actions/estimateContractTotalGas.js.map +1 -1
  303. package/_cjs/op-stack/actions/estimateDepositTransactionGas.js +1 -2
  304. package/_cjs/op-stack/actions/estimateDepositTransactionGas.js.map +1 -1
  305. package/_cjs/op-stack/actions/estimateFinalizeWithdrawalGas.js +1 -2
  306. package/_cjs/op-stack/actions/estimateFinalizeWithdrawalGas.js.map +1 -1
  307. package/_cjs/op-stack/actions/estimateInitiateWithdrawalGas.js +1 -2
  308. package/_cjs/op-stack/actions/estimateInitiateWithdrawalGas.js.map +1 -1
  309. package/_cjs/op-stack/actions/estimateL1Fee.js +1 -2
  310. package/_cjs/op-stack/actions/estimateL1Fee.js.map +1 -1
  311. package/_cjs/op-stack/actions/estimateL1Gas.js +1 -2
  312. package/_cjs/op-stack/actions/estimateL1Gas.js.map +1 -1
  313. package/_cjs/op-stack/actions/estimateProveWithdrawalGas.js +1 -2
  314. package/_cjs/op-stack/actions/estimateProveWithdrawalGas.js.map +1 -1
  315. package/_cjs/op-stack/actions/estimateTotalFee.js +1 -2
  316. package/_cjs/op-stack/actions/estimateTotalFee.js.map +1 -1
  317. package/_cjs/op-stack/actions/estimateTotalGas.js +1 -2
  318. package/_cjs/op-stack/actions/estimateTotalGas.js.map +1 -1
  319. package/_cjs/op-stack/actions/finalizeWithdrawal.js +1 -2
  320. package/_cjs/op-stack/actions/finalizeWithdrawal.js.map +1 -1
  321. package/_cjs/op-stack/actions/getGame.js +1 -2
  322. package/_cjs/op-stack/actions/getGame.js.map +1 -1
  323. package/_cjs/op-stack/actions/getGames.js +1 -2
  324. package/_cjs/op-stack/actions/getGames.js.map +1 -1
  325. package/_cjs/op-stack/actions/getL1BaseFee.js +1 -2
  326. package/_cjs/op-stack/actions/getL1BaseFee.js.map +1 -1
  327. package/_cjs/op-stack/actions/getL2Output.js +1 -2
  328. package/_cjs/op-stack/actions/getL2Output.js.map +1 -1
  329. package/_cjs/op-stack/actions/getPortalVersion.js +1 -2
  330. package/_cjs/op-stack/actions/getPortalVersion.js.map +1 -1
  331. package/_cjs/op-stack/actions/getTimeToFinalize.js +1 -2
  332. package/_cjs/op-stack/actions/getTimeToFinalize.js.map +1 -1
  333. package/_cjs/op-stack/actions/getTimeToNextGame.js +1 -2
  334. package/_cjs/op-stack/actions/getTimeToNextGame.js.map +1 -1
  335. package/_cjs/op-stack/actions/getTimeToNextL2Output.js +1 -2
  336. package/_cjs/op-stack/actions/getTimeToNextL2Output.js.map +1 -1
  337. package/_cjs/op-stack/actions/getTimeToProve.js +1 -2
  338. package/_cjs/op-stack/actions/getTimeToProve.js.map +1 -1
  339. package/_cjs/op-stack/actions/getWithdrawalStatus.js +1 -2
  340. package/_cjs/op-stack/actions/getWithdrawalStatus.js.map +1 -1
  341. package/_cjs/op-stack/actions/initiateWithdrawal.js +1 -2
  342. package/_cjs/op-stack/actions/initiateWithdrawal.js.map +1 -1
  343. package/_cjs/op-stack/actions/proveWithdrawal.js +1 -2
  344. package/_cjs/op-stack/actions/proveWithdrawal.js.map +1 -1
  345. package/_cjs/op-stack/actions/waitForNextGame.js +1 -2
  346. package/_cjs/op-stack/actions/waitForNextGame.js.map +1 -1
  347. package/_cjs/op-stack/actions/waitForNextL2Output.js +1 -2
  348. package/_cjs/op-stack/actions/waitForNextL2Output.js.map +1 -1
  349. package/_cjs/op-stack/actions/waitToFinalize.js +1 -2
  350. package/_cjs/op-stack/actions/waitToFinalize.js.map +1 -1
  351. package/_cjs/op-stack/actions/waitToProve.js +1 -2
  352. package/_cjs/op-stack/actions/waitToProve.js.map +1 -1
  353. package/_cjs/op-stack/decorators/publicL1.js +1 -2
  354. package/_cjs/op-stack/decorators/publicL1.js.map +1 -1
  355. package/_cjs/op-stack/decorators/publicL2.js +1 -2
  356. package/_cjs/op-stack/decorators/publicL2.js.map +1 -1
  357. package/_cjs/op-stack/decorators/walletL1.js +1 -2
  358. package/_cjs/op-stack/decorators/walletL1.js.map +1 -1
  359. package/_cjs/op-stack/decorators/walletL2.js +1 -2
  360. package/_cjs/op-stack/decorators/walletL2.js.map +1 -1
  361. package/_cjs/op-stack/parsers.js +1 -2
  362. package/_cjs/op-stack/parsers.js.map +1 -1
  363. package/_cjs/op-stack/serializers.js +3 -3
  364. package/_cjs/op-stack/serializers.js.map +1 -1
  365. package/_cjs/op-stack/utils/extractTransactionDepositedLogs.js +1 -2
  366. package/_cjs/op-stack/utils/extractTransactionDepositedLogs.js.map +1 -1
  367. package/_cjs/op-stack/utils/extractWithdrawalMessageLogs.js +1 -2
  368. package/_cjs/op-stack/utils/extractWithdrawalMessageLogs.js.map +1 -1
  369. package/_cjs/op-stack/utils/getL2TransactionHash.js +1 -2
  370. package/_cjs/op-stack/utils/getL2TransactionHash.js.map +1 -1
  371. package/_cjs/op-stack/utils/getL2TransactionHashes.js +1 -2
  372. package/_cjs/op-stack/utils/getL2TransactionHashes.js.map +1 -1
  373. package/_cjs/op-stack/utils/getSourceHash.js +1 -2
  374. package/_cjs/op-stack/utils/getSourceHash.js.map +1 -1
  375. package/_cjs/op-stack/utils/getWithdrawalHashStorageSlot.js +1 -2
  376. package/_cjs/op-stack/utils/getWithdrawalHashStorageSlot.js.map +1 -1
  377. package/_cjs/op-stack/utils/getWithdrawals.js +1 -2
  378. package/_cjs/op-stack/utils/getWithdrawals.js.map +1 -1
  379. package/_cjs/op-stack/utils/opaqueDataToDepositData.js +1 -2
  380. package/_cjs/op-stack/utils/opaqueDataToDepositData.js.map +1 -1
  381. package/_cjs/utils/abi/decodeAbiParameters.js +1 -2
  382. package/_cjs/utils/abi/decodeAbiParameters.js.map +1 -1
  383. package/_cjs/utils/abi/decodeDeployData.js +1 -2
  384. package/_cjs/utils/abi/decodeDeployData.js.map +1 -1
  385. package/_cjs/utils/abi/decodeErrorResult.js +1 -2
  386. package/_cjs/utils/abi/decodeErrorResult.js.map +1 -1
  387. package/_cjs/utils/abi/decodeEventLog.js +1 -2
  388. package/_cjs/utils/abi/decodeEventLog.js.map +1 -1
  389. package/_cjs/utils/abi/decodeFunctionData.js +1 -2
  390. package/_cjs/utils/abi/decodeFunctionData.js.map +1 -1
  391. package/_cjs/utils/abi/decodeFunctionResult.js +1 -2
  392. package/_cjs/utils/abi/decodeFunctionResult.js.map +1 -1
  393. package/_cjs/utils/abi/encodeAbiParameters.js +2 -3
  394. package/_cjs/utils/abi/encodeAbiParameters.js.map +1 -1
  395. package/_cjs/utils/abi/encodeDeployData.js +1 -2
  396. package/_cjs/utils/abi/encodeDeployData.js.map +1 -1
  397. package/_cjs/utils/abi/encodeErrorResult.js +1 -2
  398. package/_cjs/utils/abi/encodeErrorResult.js.map +1 -1
  399. package/_cjs/utils/abi/encodeEventTopics.js +6 -7
  400. package/_cjs/utils/abi/encodeEventTopics.js.map +1 -1
  401. package/_cjs/utils/abi/encodeFunctionData.js +1 -2
  402. package/_cjs/utils/abi/encodeFunctionData.js.map +1 -1
  403. package/_cjs/utils/abi/encodeFunctionResult.js +1 -2
  404. package/_cjs/utils/abi/encodeFunctionResult.js.map +1 -1
  405. package/_cjs/utils/abi/encodePacked.js +1 -2
  406. package/_cjs/utils/abi/encodePacked.js.map +1 -1
  407. package/_cjs/utils/abi/formatAbiItem.js +2 -3
  408. package/_cjs/utils/abi/formatAbiItem.js.map +1 -1
  409. package/_cjs/utils/abi/formatAbiItemWithArgs.js +1 -2
  410. package/_cjs/utils/abi/formatAbiItemWithArgs.js.map +1 -1
  411. package/_cjs/utils/abi/getAbiItem.js +3 -4
  412. package/_cjs/utils/abi/getAbiItem.js.map +1 -1
  413. package/_cjs/utils/abi/parseEventLogs.js +1 -2
  414. package/_cjs/utils/abi/parseEventLogs.js.map +1 -1
  415. package/_cjs/utils/abi/prepareEncodeFunctionData.js +1 -2
  416. package/_cjs/utils/abi/prepareEncodeFunctionData.js.map +1 -1
  417. package/_cjs/utils/address/getAddress.js +2 -3
  418. package/_cjs/utils/address/getAddress.js.map +1 -1
  419. package/_cjs/utils/address/getContractAddress.js +3 -4
  420. package/_cjs/utils/address/getContractAddress.js.map +1 -1
  421. package/_cjs/utils/address/isAddress.js +2 -2
  422. package/_cjs/utils/address/isAddress.js.map +1 -1
  423. package/_cjs/utils/address/isAddressEqual.js +1 -2
  424. package/_cjs/utils/address/isAddressEqual.js.map +1 -1
  425. package/_cjs/utils/blob/blobsToCommitments.js +1 -2
  426. package/_cjs/utils/blob/blobsToCommitments.js.map +1 -1
  427. package/_cjs/utils/blob/blobsToProofs.js +1 -2
  428. package/_cjs/utils/blob/blobsToProofs.js.map +1 -1
  429. package/_cjs/utils/blob/commitmentToVersionedHash.js +1 -2
  430. package/_cjs/utils/blob/commitmentToVersionedHash.js.map +1 -1
  431. package/_cjs/utils/blob/commitmentsToVersionedHashes.js +1 -2
  432. package/_cjs/utils/blob/commitmentsToVersionedHashes.js.map +1 -1
  433. package/_cjs/utils/blob/fromBlobs.js +1 -2
  434. package/_cjs/utils/blob/fromBlobs.js.map +1 -1
  435. package/_cjs/utils/blob/sidecarsToVersionedHashes.js +1 -2
  436. package/_cjs/utils/blob/sidecarsToVersionedHashes.js.map +1 -1
  437. package/_cjs/utils/blob/toBlobSidecars.js +1 -2
  438. package/_cjs/utils/blob/toBlobSidecars.js.map +1 -1
  439. package/_cjs/utils/blob/toBlobs.js +1 -2
  440. package/_cjs/utils/blob/toBlobs.js.map +1 -1
  441. package/_cjs/utils/buildRequest.js +2 -3
  442. package/_cjs/utils/buildRequest.js.map +1 -1
  443. package/_cjs/utils/ccip.js +3 -3
  444. package/_cjs/utils/ccip.js.map +1 -1
  445. package/_cjs/utils/chain/assertCurrentChain.js +1 -2
  446. package/_cjs/utils/chain/assertCurrentChain.js.map +1 -1
  447. package/_cjs/utils/chain/defineChain.js +1 -2
  448. package/_cjs/utils/chain/defineChain.js.map +1 -1
  449. package/_cjs/utils/chain/extractChain.js +1 -2
  450. package/_cjs/utils/chain/extractChain.js.map +1 -1
  451. package/_cjs/utils/chain/getChainContractAddress.js +1 -2
  452. package/_cjs/utils/chain/getChainContractAddress.js.map +1 -1
  453. package/_cjs/utils/cursor.js +1 -2
  454. package/_cjs/utils/cursor.js.map +1 -1
  455. package/_cjs/utils/data/concat.js +3 -4
  456. package/_cjs/utils/data/concat.js.map +1 -1
  457. package/_cjs/utils/data/isBytes.js +1 -2
  458. package/_cjs/utils/data/isBytes.js.map +1 -1
  459. package/_cjs/utils/data/isBytesEqual.js +1 -2
  460. package/_cjs/utils/data/isBytesEqual.js.map +1 -1
  461. package/_cjs/utils/data/isHex.js +1 -2
  462. package/_cjs/utils/data/isHex.js.map +1 -1
  463. package/_cjs/utils/data/pad.js +3 -4
  464. package/_cjs/utils/data/pad.js.map +1 -1
  465. package/_cjs/utils/data/size.js +1 -2
  466. package/_cjs/utils/data/size.js.map +1 -1
  467. package/_cjs/utils/data/slice.js +3 -4
  468. package/_cjs/utils/data/slice.js.map +1 -1
  469. package/_cjs/utils/data/trim.js +1 -2
  470. package/_cjs/utils/data/trim.js.map +1 -1
  471. package/_cjs/utils/encoding/fromBytes.js +5 -6
  472. package/_cjs/utils/encoding/fromBytes.js.map +1 -1
  473. package/_cjs/utils/encoding/fromHex.js +6 -7
  474. package/_cjs/utils/encoding/fromHex.js.map +1 -1
  475. package/_cjs/utils/encoding/fromRlp.js +1 -2
  476. package/_cjs/utils/encoding/fromRlp.js.map +1 -1
  477. package/_cjs/utils/encoding/toBytes.js +5 -6
  478. package/_cjs/utils/encoding/toBytes.js.map +1 -1
  479. package/_cjs/utils/encoding/toHex.js +5 -6
  480. package/_cjs/utils/encoding/toHex.js.map +1 -1
  481. package/_cjs/utils/encoding/toRlp.js +3 -4
  482. package/_cjs/utils/encoding/toRlp.js.map +1 -1
  483. package/_cjs/utils/ens/avatar/parseAvatarRecord.js +1 -2
  484. package/_cjs/utils/ens/avatar/parseAvatarRecord.js.map +1 -1
  485. package/_cjs/utils/ens/avatar/utils.js +8 -9
  486. package/_cjs/utils/ens/avatar/utils.js.map +1 -1
  487. package/_cjs/utils/ens/encodeLabelhash.js +1 -2
  488. package/_cjs/utils/ens/encodeLabelhash.js.map +1 -1
  489. package/_cjs/utils/ens/encodedLabelToLabelhash.js +1 -2
  490. package/_cjs/utils/ens/encodedLabelToLabelhash.js.map +1 -1
  491. package/_cjs/utils/ens/errors.js +1 -2
  492. package/_cjs/utils/ens/errors.js.map +1 -1
  493. package/_cjs/utils/ens/labelhash.js +1 -2
  494. package/_cjs/utils/ens/labelhash.js.map +1 -1
  495. package/_cjs/utils/ens/namehash.js +1 -2
  496. package/_cjs/utils/ens/namehash.js.map +1 -1
  497. package/_cjs/utils/ens/normalize.js +1 -2
  498. package/_cjs/utils/ens/normalize.js.map +1 -1
  499. package/_cjs/utils/ens/packetToBytes.js +1 -2
  500. package/_cjs/utils/ens/packetToBytes.js.map +1 -1
  501. package/_cjs/utils/errors/getCallError.js +1 -2
  502. package/_cjs/utils/errors/getCallError.js.map +1 -1
  503. package/_cjs/utils/errors/getContractError.js +1 -2
  504. package/_cjs/utils/errors/getContractError.js.map +1 -1
  505. package/_cjs/utils/errors/getEstimateGasError.js +1 -2
  506. package/_cjs/utils/errors/getEstimateGasError.js.map +1 -1
  507. package/_cjs/utils/errors/getNodeError.js +2 -3
  508. package/_cjs/utils/errors/getNodeError.js.map +1 -1
  509. package/_cjs/utils/errors/getTransactionError.js +1 -2
  510. package/_cjs/utils/errors/getTransactionError.js.map +1 -1
  511. package/_cjs/utils/filters/createFilterRequestScope.js +1 -2
  512. package/_cjs/utils/filters/createFilterRequestScope.js.map +1 -1
  513. package/_cjs/utils/formatters/block.js +2 -2
  514. package/_cjs/utils/formatters/block.js.map +1 -1
  515. package/_cjs/utils/formatters/extract.js +1 -2
  516. package/_cjs/utils/formatters/extract.js.map +1 -1
  517. package/_cjs/utils/formatters/feeHistory.js +1 -2
  518. package/_cjs/utils/formatters/feeHistory.js.map +1 -1
  519. package/_cjs/utils/formatters/formatter.js +1 -2
  520. package/_cjs/utils/formatters/formatter.js.map +1 -1
  521. package/_cjs/utils/formatters/log.js +1 -2
  522. package/_cjs/utils/formatters/log.js.map +1 -1
  523. package/_cjs/utils/formatters/proof.js +1 -2
  524. package/_cjs/utils/formatters/proof.js.map +1 -1
  525. package/_cjs/utils/formatters/transaction.js +2 -2
  526. package/_cjs/utils/formatters/transaction.js.map +1 -1
  527. package/_cjs/utils/formatters/transactionReceipt.js +2 -2
  528. package/_cjs/utils/formatters/transactionReceipt.js.map +1 -1
  529. package/_cjs/utils/formatters/transactionRequest.js +2 -2
  530. package/_cjs/utils/formatters/transactionRequest.js.map +1 -1
  531. package/_cjs/utils/getAction.js +9 -6
  532. package/_cjs/utils/getAction.js.map +1 -1
  533. package/_cjs/utils/hash/hashSignature.js +1 -2
  534. package/_cjs/utils/hash/hashSignature.js.map +1 -1
  535. package/_cjs/utils/hash/isHash.js +1 -2
  536. package/_cjs/utils/hash/isHash.js.map +1 -1
  537. package/_cjs/utils/hash/keccak256.js +1 -2
  538. package/_cjs/utils/hash/keccak256.js.map +1 -1
  539. package/_cjs/utils/hash/normalizeSignature.js +1 -2
  540. package/_cjs/utils/hash/normalizeSignature.js.map +1 -1
  541. package/_cjs/utils/hash/ripemd160.js +1 -2
  542. package/_cjs/utils/hash/ripemd160.js.map +1 -1
  543. package/_cjs/utils/hash/sha256.js +1 -2
  544. package/_cjs/utils/hash/sha256.js.map +1 -1
  545. package/_cjs/utils/hash/toSignatureHash.js +1 -2
  546. package/_cjs/utils/hash/toSignatureHash.js.map +1 -1
  547. package/_cjs/utils/index.js.map +1 -1
  548. package/_cjs/utils/kzg/defineKzg.js +1 -2
  549. package/_cjs/utils/kzg/defineKzg.js.map +1 -1
  550. package/_cjs/utils/kzg/setupKzg.js +1 -2
  551. package/_cjs/utils/kzg/setupKzg.js.map +1 -1
  552. package/_cjs/utils/nonceManager.js +3 -3
  553. package/_cjs/utils/nonceManager.js.map +1 -1
  554. package/_cjs/utils/observe.js +2 -2
  555. package/_cjs/utils/observe.js.map +1 -1
  556. package/_cjs/utils/poll.js +1 -2
  557. package/_cjs/utils/poll.js.map +1 -1
  558. package/_cjs/utils/promise/createBatchScheduler.js +1 -2
  559. package/_cjs/utils/promise/createBatchScheduler.js.map +1 -1
  560. package/_cjs/utils/promise/withCache.js +3 -3
  561. package/_cjs/utils/promise/withCache.js.map +1 -1
  562. package/_cjs/utils/promise/withDedupe.js +2 -2
  563. package/_cjs/utils/promise/withDedupe.js.map +1 -1
  564. package/_cjs/utils/promise/withRetry.js +1 -2
  565. package/_cjs/utils/promise/withRetry.js.map +1 -1
  566. package/_cjs/utils/promise/withTimeout.js +1 -2
  567. package/_cjs/utils/promise/withTimeout.js.map +1 -1
  568. package/_cjs/utils/rpc/compat.js +2 -2
  569. package/_cjs/utils/rpc/compat.js.map +1 -1
  570. package/_cjs/utils/rpc/http.js +1 -2
  571. package/_cjs/utils/rpc/http.js.map +1 -1
  572. package/_cjs/utils/rpc/ipc.js +2 -3
  573. package/_cjs/utils/rpc/ipc.js.map +1 -1
  574. package/_cjs/utils/rpc/socket.js +2 -2
  575. package/_cjs/utils/rpc/socket.js.map +1 -1
  576. package/_cjs/utils/rpc/webSocket.js +1 -2
  577. package/_cjs/utils/rpc/webSocket.js.map +1 -1
  578. package/_cjs/utils/signature/compactSignatureToSignature.js +1 -2
  579. package/_cjs/utils/signature/compactSignatureToSignature.js.map +1 -1
  580. package/_cjs/utils/signature/hashMessage.js +1 -2
  581. package/_cjs/utils/signature/hashMessage.js.map +1 -1
  582. package/_cjs/utils/signature/hashTypedData.js +4 -5
  583. package/_cjs/utils/signature/hashTypedData.js.map +1 -1
  584. package/_cjs/utils/signature/isErc6492Signature.js +1 -2
  585. package/_cjs/utils/signature/isErc6492Signature.js.map +1 -1
  586. package/_cjs/utils/signature/parseCompactSignature.js +1 -2
  587. package/_cjs/utils/signature/parseCompactSignature.js.map +1 -1
  588. package/_cjs/utils/signature/parseErc6492Signature.js +1 -2
  589. package/_cjs/utils/signature/parseErc6492Signature.js.map +1 -1
  590. package/_cjs/utils/signature/parseSignature.js +1 -2
  591. package/_cjs/utils/signature/parseSignature.js.map +1 -1
  592. package/_cjs/utils/signature/recoverAddress.js +1 -2
  593. package/_cjs/utils/signature/recoverAddress.js.map +1 -1
  594. package/_cjs/utils/signature/recoverMessageAddress.js +1 -2
  595. package/_cjs/utils/signature/recoverMessageAddress.js.map +1 -1
  596. package/_cjs/utils/signature/recoverPublicKey.js +1 -2
  597. package/_cjs/utils/signature/recoverPublicKey.js.map +1 -1
  598. package/_cjs/utils/signature/recoverTransactionAddress.js +1 -2
  599. package/_cjs/utils/signature/recoverTransactionAddress.js.map +1 -1
  600. package/_cjs/utils/signature/recoverTypedDataAddress.js +1 -2
  601. package/_cjs/utils/signature/recoverTypedDataAddress.js.map +1 -1
  602. package/_cjs/utils/signature/serializeCompactSignature.js +1 -2
  603. package/_cjs/utils/signature/serializeCompactSignature.js.map +1 -1
  604. package/_cjs/utils/signature/serializeErc6492Signature.js +1 -2
  605. package/_cjs/utils/signature/serializeErc6492Signature.js.map +1 -1
  606. package/_cjs/utils/signature/serializeSignature.js +1 -2
  607. package/_cjs/utils/signature/serializeSignature.js.map +1 -1
  608. package/_cjs/utils/signature/signatureToCompactSignature.js +1 -2
  609. package/_cjs/utils/signature/signatureToCompactSignature.js.map +1 -1
  610. package/_cjs/utils/signature/toPrefixedMessage.js +1 -2
  611. package/_cjs/utils/signature/toPrefixedMessage.js.map +1 -1
  612. package/_cjs/utils/signature/verifyMessage.js +1 -2
  613. package/_cjs/utils/signature/verifyMessage.js.map +1 -1
  614. package/_cjs/utils/signature/verifyTypedData.js +1 -2
  615. package/_cjs/utils/signature/verifyTypedData.js.map +1 -1
  616. package/_cjs/utils/siwe/createSiweMessage.js +1 -2
  617. package/_cjs/utils/siwe/createSiweMessage.js.map +1 -1
  618. package/_cjs/utils/siwe/generateSiweNonce.js +1 -2
  619. package/_cjs/utils/siwe/generateSiweNonce.js.map +1 -1
  620. package/_cjs/utils/siwe/parseSiweMessage.js +1 -2
  621. package/_cjs/utils/siwe/parseSiweMessage.js.map +1 -1
  622. package/_cjs/utils/siwe/utils.js +1 -2
  623. package/_cjs/utils/siwe/utils.js.map +1 -1
  624. package/_cjs/utils/siwe/validateSiweMessage.js +1 -2
  625. package/_cjs/utils/siwe/validateSiweMessage.js.map +1 -1
  626. package/_cjs/utils/stateOverride.js +3 -4
  627. package/_cjs/utils/stateOverride.js.map +1 -1
  628. package/_cjs/utils/transaction/assertRequest.js +1 -2
  629. package/_cjs/utils/transaction/assertRequest.js.map +1 -1
  630. package/_cjs/utils/transaction/assertTransaction.js +4 -5
  631. package/_cjs/utils/transaction/assertTransaction.js.map +1 -1
  632. package/_cjs/utils/transaction/getSerializedTransactionType.js +1 -2
  633. package/_cjs/utils/transaction/getSerializedTransactionType.js.map +1 -1
  634. package/_cjs/utils/transaction/getTransactionType.js +1 -2
  635. package/_cjs/utils/transaction/getTransactionType.js.map +1 -1
  636. package/_cjs/utils/transaction/parseTransaction.js +3 -4
  637. package/_cjs/utils/transaction/parseTransaction.js.map +1 -1
  638. package/_cjs/utils/transaction/serializeAccessList.js +1 -2
  639. package/_cjs/utils/transaction/serializeAccessList.js.map +1 -1
  640. package/_cjs/utils/transaction/serializeTransaction.js +2 -3
  641. package/_cjs/utils/transaction/serializeTransaction.js.map +1 -1
  642. package/_cjs/utils/typedData.js +4 -5
  643. package/_cjs/utils/typedData.js.map +1 -1
  644. package/_cjs/utils/uid.js +1 -2
  645. package/_cjs/utils/uid.js.map +1 -1
  646. package/_cjs/utils/unit/formatEther.js +1 -2
  647. package/_cjs/utils/unit/formatEther.js.map +1 -1
  648. package/_cjs/utils/unit/formatGwei.js +1 -2
  649. package/_cjs/utils/unit/formatGwei.js.map +1 -1
  650. package/_cjs/utils/unit/formatUnits.js +1 -2
  651. package/_cjs/utils/unit/formatUnits.js.map +1 -1
  652. package/_cjs/utils/unit/parseEther.js +1 -2
  653. package/_cjs/utils/unit/parseEther.js.map +1 -1
  654. package/_cjs/utils/unit/parseGwei.js +1 -2
  655. package/_cjs/utils/unit/parseGwei.js.map +1 -1
  656. package/_cjs/utils/unit/parseUnits.js +1 -2
  657. package/_cjs/utils/unit/parseUnits.js.map +1 -1
  658. package/_cjs/utils/wait.js +1 -2
  659. package/_cjs/utils/wait.js.map +1 -1
  660. package/_cjs/zksync/actions/deployContract.js +1 -2
  661. package/_cjs/zksync/actions/deployContract.js.map +1 -1
  662. package/_cjs/zksync/actions/estimateFee.js +1 -2
  663. package/_cjs/zksync/actions/estimateFee.js.map +1 -1
  664. package/_cjs/zksync/actions/estimateGasL1ToL2.js +1 -2
  665. package/_cjs/zksync/actions/estimateGasL1ToL2.js.map +1 -1
  666. package/_cjs/zksync/actions/getAllBalances.js +1 -2
  667. package/_cjs/zksync/actions/getAllBalances.js.map +1 -1
  668. package/_cjs/zksync/actions/getBaseTokenL1Address.js +1 -2
  669. package/_cjs/zksync/actions/getBaseTokenL1Address.js.map +1 -1
  670. package/_cjs/zksync/actions/getBlockDetails.js +1 -2
  671. package/_cjs/zksync/actions/getBlockDetails.js.map +1 -1
  672. package/_cjs/zksync/actions/getBridgehubContractAddress.js +1 -2
  673. package/_cjs/zksync/actions/getBridgehubContractAddress.js.map +1 -1
  674. package/_cjs/zksync/actions/getDefaultBridgeAddresses.js +1 -2
  675. package/_cjs/zksync/actions/getDefaultBridgeAddresses.js.map +1 -1
  676. package/_cjs/zksync/actions/getL1Allowance.js +1 -2
  677. package/_cjs/zksync/actions/getL1Allowance.js.map +1 -1
  678. package/_cjs/zksync/actions/getL1Balance.js +1 -2
  679. package/_cjs/zksync/actions/getL1Balance.js.map +1 -1
  680. package/_cjs/zksync/actions/getL1BatchBlockRange.js +1 -2
  681. package/_cjs/zksync/actions/getL1BatchBlockRange.js.map +1 -1
  682. package/_cjs/zksync/actions/getL1BatchDetails.js +1 -2
  683. package/_cjs/zksync/actions/getL1BatchDetails.js.map +1 -1
  684. package/_cjs/zksync/actions/getL1BatchNumber.js +1 -2
  685. package/_cjs/zksync/actions/getL1BatchNumber.js.map +1 -1
  686. package/_cjs/zksync/actions/getL1ChainId.js +1 -2
  687. package/_cjs/zksync/actions/getL1ChainId.js.map +1 -1
  688. package/_cjs/zksync/actions/getL1TokenBalance.js +1 -2
  689. package/_cjs/zksync/actions/getL1TokenBalance.js.map +1 -1
  690. package/_cjs/zksync/actions/getLogProof.js +1 -2
  691. package/_cjs/zksync/actions/getLogProof.js.map +1 -1
  692. package/_cjs/zksync/actions/getMainContractAddress.js +1 -2
  693. package/_cjs/zksync/actions/getMainContractAddress.js.map +1 -1
  694. package/_cjs/zksync/actions/getRawBlockTransactions.js +1 -2
  695. package/_cjs/zksync/actions/getRawBlockTransactions.js.map +1 -1
  696. package/_cjs/zksync/actions/getTestnetPaymasterAddress.js +1 -2
  697. package/_cjs/zksync/actions/getTestnetPaymasterAddress.js.map +1 -1
  698. package/_cjs/zksync/actions/getTransactionDetails.js +1 -2
  699. package/_cjs/zksync/actions/getTransactionDetails.js.map +1 -1
  700. package/_cjs/zksync/actions/sendEip712Transaction.js +1 -2
  701. package/_cjs/zksync/actions/sendEip712Transaction.js.map +1 -1
  702. package/_cjs/zksync/actions/sendTransaction.js +1 -2
  703. package/_cjs/zksync/actions/sendTransaction.js.map +1 -1
  704. package/_cjs/zksync/actions/signEip712Transaction.js +1 -2
  705. package/_cjs/zksync/actions/signEip712Transaction.js.map +1 -1
  706. package/_cjs/zksync/actions/signTransaction.js +1 -2
  707. package/_cjs/zksync/actions/signTransaction.js.map +1 -1
  708. package/_cjs/zksync/decorators/eip712.js +1 -2
  709. package/_cjs/zksync/decorators/eip712.js.map +1 -1
  710. package/_cjs/zksync/decorators/publicL1.js +1 -2
  711. package/_cjs/zksync/decorators/publicL1.js.map +1 -1
  712. package/_cjs/zksync/decorators/publicL2.js +1 -2
  713. package/_cjs/zksync/decorators/publicL2.js.map +1 -1
  714. package/_cjs/zksync/serializers.js +2 -2
  715. package/_cjs/zksync/serializers.js.map +1 -1
  716. package/_cjs/zksync/utils/abi/encodeDeployData.js +1 -2
  717. package/_cjs/zksync/utils/abi/encodeDeployData.js.map +1 -1
  718. package/_cjs/zksync/utils/assertEip712Request.js +1 -2
  719. package/_cjs/zksync/utils/assertEip712Request.js.map +1 -1
  720. package/_cjs/zksync/utils/assertEip712Transaction.js +1 -2
  721. package/_cjs/zksync/utils/assertEip712Transaction.js.map +1 -1
  722. package/_cjs/zksync/utils/camelCaseKeys.js +1 -2
  723. package/_cjs/zksync/utils/camelCaseKeys.js.map +1 -1
  724. package/_cjs/zksync/utils/hashBytecode.js +1 -2
  725. package/_cjs/zksync/utils/hashBytecode.js.map +1 -1
  726. package/_cjs/zksync/utils/isEip712Transaction.js +1 -2
  727. package/_cjs/zksync/utils/isEip712Transaction.js.map +1 -1
  728. package/_cjs/zksync/utils/isEth.js +1 -2
  729. package/_cjs/zksync/utils/isEth.js.map +1 -1
  730. package/_cjs/zksync/utils/paymaster/getApprovalBasedPaymasterInput.js +1 -2
  731. package/_cjs/zksync/utils/paymaster/getApprovalBasedPaymasterInput.js.map +1 -1
  732. package/_cjs/zksync/utils/paymaster/getGeneralPaymasterInput.js +1 -2
  733. package/_cjs/zksync/utils/paymaster/getGeneralPaymasterInput.js.map +1 -1
  734. package/_esm/actions/public/createEventFilter.js +7 -7
  735. package/_esm/actions/public/createEventFilter.js.map +1 -1
  736. package/_esm/actions/public/getLogs.js +7 -7
  737. package/_esm/actions/public/getLogs.js.map +1 -1
  738. package/_esm/actions/public/watchEvent.js +7 -7
  739. package/_esm/actions/public/watchEvent.js.map +1 -1
  740. package/_esm/actions/wallet/sendTransaction.js +1 -0
  741. package/_esm/actions/wallet/sendTransaction.js.map +1 -1
  742. package/_esm/errors/version.js +1 -1
  743. package/_esm/experimental/index.js +0 -2
  744. package/_esm/experimental/index.js.map +1 -1
  745. package/_esm/experimental/solady/actions/signTypedData.js +6 -28
  746. package/_esm/experimental/solady/actions/signTypedData.js.map +1 -1
  747. package/_esm/experimental/solady/index.js +8 -0
  748. package/_esm/experimental/solady/index.js.map +1 -0
  749. package/_esm/experimental/solady/utils/hashMessage.js +32 -0
  750. package/_esm/experimental/solady/utils/hashMessage.js.map +1 -0
  751. package/_esm/experimental/solady/utils/hashTypedData.js +72 -0
  752. package/_esm/experimental/solady/utils/hashTypedData.js.map +1 -0
  753. package/_esm/experimental/solady/utils/wrapTypedDataSignature.js +82 -0
  754. package/_esm/experimental/solady/utils/wrapTypedDataSignature.js.map +1 -0
  755. package/_esm/index.js.map +1 -1
  756. package/_esm/utils/abi/encodeEventTopics.js +5 -5
  757. package/_esm/utils/abi/encodeEventTopics.js.map +1 -1
  758. package/_esm/utils/getAction.js +11 -7
  759. package/_esm/utils/getAction.js.map +1 -1
  760. package/_esm/utils/index.js.map +1 -1
  761. package/_types/actions/wallet/sendTransaction.d.ts.map +1 -1
  762. package/_types/celo/chainConfig.d.ts +1086 -1086
  763. package/_types/celo/formatters.d.ts +543 -543
  764. package/_types/celo/formatters.d.ts.map +1 -1
  765. package/_types/chains/definitions/ancient8.d.ts +260 -260
  766. package/_types/chains/definitions/ancient8Sepolia.d.ts +260 -260
  767. package/_types/chains/definitions/base.d.ts +260 -260
  768. package/_types/chains/definitions/baseGoerli.d.ts +260 -260
  769. package/_types/chains/definitions/baseSepolia.d.ts +260 -260
  770. package/_types/chains/definitions/celo.d.ts +1086 -1086
  771. package/_types/chains/definitions/celoAlfajores.d.ts +1086 -1086
  772. package/_types/chains/definitions/fraxtal.d.ts +260 -260
  773. package/_types/chains/definitions/fraxtalTestnet.d.ts +260 -260
  774. package/_types/chains/definitions/funkiSepolia.d.ts +260 -260
  775. package/_types/chains/definitions/lisk.d.ts +315 -315
  776. package/_types/chains/definitions/liskSepolia.d.ts +260 -260
  777. package/_types/chains/definitions/metalL2.d.ts +260 -260
  778. package/_types/chains/definitions/optimism.d.ts +260 -260
  779. package/_types/chains/definitions/optimismGoerli.d.ts +260 -260
  780. package/_types/chains/definitions/optimismSepolia.d.ts +260 -260
  781. package/_types/chains/definitions/pgn.d.ts +260 -260
  782. package/_types/chains/definitions/pgnTestnet.d.ts +260 -260
  783. package/_types/chains/definitions/playfiAlbireo.d.ts +315 -315
  784. package/_types/chains/definitions/rss3.d.ts +260 -260
  785. package/_types/chains/definitions/rss3Sepolia.d.ts +260 -260
  786. package/_types/chains/definitions/zkSync.d.ts +315 -315
  787. package/_types/chains/definitions/zkSyncInMemoryNode.d.ts +315 -315
  788. package/_types/chains/definitions/zkSyncLocalNode.d.ts +315 -315
  789. package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts +315 -315
  790. package/_types/chains/definitions/zkSyncTestnet.d.ts +315 -315
  791. package/_types/chains/definitions/zora.d.ts +260 -260
  792. package/_types/chains/definitions/zoraSepolia.d.ts +260 -260
  793. package/_types/chains/definitions/zoraTestnet.d.ts +260 -260
  794. package/_types/errors/version.d.ts +1 -1
  795. package/_types/experimental/eip5792/decorators/eip5792.d.ts.map +1 -1
  796. package/_types/experimental/erc7715/decorators/erc7715.d.ts.map +1 -1
  797. package/_types/experimental/index.d.ts +0 -2
  798. package/_types/experimental/index.d.ts.map +1 -1
  799. package/_types/experimental/solady/actions/signTypedData.d.ts.map +1 -1
  800. package/_types/experimental/solady/decorators/solady.d.ts.map +1 -1
  801. package/_types/experimental/solady/index.d.ts +7 -0
  802. package/_types/experimental/solady/index.d.ts.map +1 -0
  803. package/_types/experimental/solady/utils/hashMessage.d.ts +30 -0
  804. package/_types/experimental/solady/utils/hashMessage.d.ts.map +1 -0
  805. package/_types/experimental/solady/utils/hashTypedData.d.ts +59 -0
  806. package/_types/experimental/solady/utils/hashTypedData.d.ts.map +1 -0
  807. package/_types/experimental/solady/utils/wrapTypedDataSignature.d.ts +50 -0
  808. package/_types/experimental/solady/utils/wrapTypedDataSignature.d.ts.map +1 -0
  809. package/_types/index.d.ts +1 -1
  810. package/_types/index.d.ts.map +1 -1
  811. package/_types/op-stack/chainConfig.d.ts +260 -260
  812. package/_types/op-stack/decorators/publicL1.d.ts.map +1 -1
  813. package/_types/op-stack/decorators/publicL2.d.ts.map +1 -1
  814. package/_types/op-stack/decorators/walletL1.d.ts.map +1 -1
  815. package/_types/op-stack/decorators/walletL2.d.ts.map +1 -1
  816. package/_types/op-stack/formatters.d.ts +260 -260
  817. package/_types/op-stack/formatters.d.ts.map +1 -1
  818. package/_types/utils/abi/decodeFunctionData.d.ts +1 -1
  819. package/_types/utils/abi/decodeFunctionData.d.ts.map +1 -1
  820. package/_types/utils/abi/encodeEventTopics.d.ts +3 -1
  821. package/_types/utils/abi/encodeEventTopics.d.ts.map +1 -1
  822. package/_types/utils/formatters/block.d.ts.map +1 -1
  823. package/_types/utils/formatters/formatter.d.ts +2 -2
  824. package/_types/utils/formatters/formatter.d.ts.map +1 -1
  825. package/_types/utils/formatters/log.d.ts.map +1 -1
  826. package/_types/utils/formatters/proof.d.ts.map +1 -1
  827. package/_types/utils/formatters/transaction.d.ts +127 -126
  828. package/_types/utils/formatters/transaction.d.ts.map +1 -1
  829. package/_types/utils/formatters/transactionRequest.d.ts +67 -66
  830. package/_types/utils/formatters/transactionRequest.d.ts.map +1 -1
  831. package/_types/utils/getAction.d.ts +9 -1
  832. package/_types/utils/getAction.d.ts.map +1 -1
  833. package/_types/utils/index.d.ts +1 -1
  834. package/_types/utils/index.d.ts.map +1 -1
  835. package/_types/utils/rpc/compat.d.ts.map +1 -1
  836. package/_types/utils/rpc/ipc.d.ts +0 -2
  837. package/_types/utils/rpc/ipc.d.ts.map +1 -1
  838. package/_types/zksync/chainConfig.d.ts +315 -315
  839. package/_types/zksync/decorators/eip712.d.ts.map +1 -1
  840. package/_types/zksync/decorators/publicL1.d.ts.map +1 -1
  841. package/_types/zksync/decorators/publicL2.d.ts.map +1 -1
  842. package/_types/zksync/formatters.d.ts +315 -315
  843. package/_types/zksync/formatters.d.ts.map +1 -1
  844. package/actions/public/createEventFilter.ts +9 -9
  845. package/actions/public/getLogs.ts +9 -9
  846. package/actions/public/watchEvent.ts +9 -9
  847. package/actions/wallet/sendTransaction.ts +1 -0
  848. package/errors/version.ts +1 -1
  849. package/experimental/index.ts +0 -12
  850. package/experimental/solady/actions/signTypedData.ts +6 -35
  851. package/experimental/solady/index.ts +36 -0
  852. package/experimental/solady/utils/hashMessage.ts +60 -0
  853. package/experimental/solady/utils/hashTypedData.ts +112 -0
  854. package/experimental/solady/utils/wrapTypedDataSignature.ts +108 -0
  855. package/index.ts +1 -0
  856. package/package.json +9 -1
  857. package/utils/abi/encodeEventTopics.ts +13 -11
  858. package/utils/getAction.ts +31 -15
  859. package/utils/index.ts +1 -0
@@ -1 +1 @@
1
- {"version":3,"file":"parseSiweMessage.js","sourceRoot":"","sources":["../../../utils/siwe/parseSiweMessage.ts"],"names":[],"mappings":";;;AAYA,SAAgB,gBAAgB,CAC9B,OAAe;IAEf,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,EAAE,GAAG,CAAC,OAAO,CAAC,KAAK,CAAC,WAAW,CAAC;QAClE,EAAE,MAAM,IAAI,EAAE,CAKf,CAAA;IACD,MAAM,EAAE,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG,MAAM,EAAE,GAC1E,CAAC,OAAO,CAAC,KAAK,CAAC,WAAW,CAAC,EAAE,MAAM,IAAI,EAAE,CASxC,CAAA;IACH,MAAM,SAAS,GAAG,OAAO,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAA;IACxE,OAAO;QACL,GAAG,MAAM;QACT,GAAG,MAAM;QACT,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAChD,GAAG,CAA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CAAA"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isUri = void 0;
3
+ exports.isUri = isUri;
4
4
  function isUri(value) {
5
5
  if (/[^a-z0-9\:\/\?\#\[\]\@\!\$\&\'\(\)\*\+\,\;\=\.\-\_\~\%]/i.test(value))
6
6
  return false;
@@ -37,7 +37,6 @@ function isUri(value) {
37
37
  out += `#${fragment}`;
38
38
  return out;
39
39
  }
40
- exports.isUri = isUri;
41
40
  function splitUri(value) {
42
41
  return value.match(/(?:([^:\/?#]+):)?(?:\/\/([^\/?#]*))?([^?#]*)(?:\?([^#]*))?(?:#(.*))?/);
43
42
  }
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../utils/siwe/utils.ts"],"names":[],"mappings":";;;AAAA,SAAgB,KAAK,CAAC,KAAa;IAIjC,IAAI,0DAA0D,CAAC,IAAI,CAAC,KAAK,CAAC;QACxE,OAAO,KAAK,CAAA;IAGd,IAAI,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC;QAAE,OAAO,KAAK,CAAA;IAC3C,IAAI,2BAA2B,CAAC,IAAI,CAAC,KAAK,CAAC;QAAE,OAAO,KAAK,CAAA;IAGzD,MAAM,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAA;IAChC,MAAM,MAAM,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAA;IAC1B,MAAM,SAAS,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAA;IAC7B,MAAM,IAAI,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAA;IACxB,MAAM,KAAK,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAA;IACzB,MAAM,QAAQ,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAA;IAG5B,IAAI,CAAC,CAAC,MAAM,EAAE,MAAM,IAAI,IAAI,CAAC,MAAM,IAAI,CAAC,CAAC;QAAE,OAAO,KAAK,CAAA;IAGvD,IAAI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,CACtE,CAAA;AACJ,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.validateSiweMessage = void 0;
3
+ exports.validateSiweMessage = validateSiweMessage;
4
4
  const isAddressEqual_js_1 = require("../address/isAddressEqual.js");
5
5
  function validateSiweMessage(parameters) {
6
6
  const { address, domain, message, nonce, scheme, time = new Date(), } = parameters;
@@ -25,5 +25,4 @@ function validateSiweMessage(parameters) {
25
25
  }
26
26
  return true;
27
27
  }
28
- exports.validateSiweMessage = validateSiweMessage;
29
28
  //# sourceMappingURL=validateSiweMessage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"validateSiweMessage.js","sourceRoot":"","sources":["../../../utils/siwe/validateSiweMessage.ts"],"names":[],"mappings":";;;AAGA,oEAA6D;AAuC7D,SAAgB,mBAAmB,CACjC,UAAyC;IAEzC,MAAM,EACJ,OAAO,EACP,MAAM,EACN,OAAO,EACP,KAAK,EACL,MAAM,EACN,IAAI,GAAG,IAAI,IAAI,EAAE,GAClB,GAAG,UAAU,CAAA;IAEd,IAAI,MAAM,IAAI,OAAO,CAAC,MAAM,KAAK,MAAM;QAAE,OAAO,KAAK,CAAA;IACrD,IAAI,KAAK,IAAI,OAAO,CAAC,KAAK,KAAK,KAAK;QAAE,OAAO,KAAK,CAAA;IAClD,IAAI,MAAM,IAAI,OAAO,CAAC,MAAM,KAAK,MAAM;QAAE,OAAO,KAAK,CAAA;IAErD,IAAI,OAAO,CAAC,cAAc,IAAI,IAAI,IAAI,OAAO,CAAC,cAAc;QAAE,OAAO,KAAK,CAAA;IAC1E,IAAI,OAAO,CAAC,SAAS,IAAI,IAAI,GAAG,OAAO,CAAC,SAAS;QAAE,OAAO,KAAK,CAAA;IAE/D,IAAI,CAAC;QACH,IAAI,CAAC,OAAO,CAAC,OAAO;YAAE,OAAO,KAAK,CAAA;QAClC,IAAI,OAAO,IAAI,CAAC,IAAA,kCAAc,EAAC,OAAO,CAAC,OAAO,EAAE,OAAO,CAAC;YAAE,OAAO,KAAK,CAAA;IACxE,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,KAAK,CAAA;IACd,CAAC;IAED,OAAO,IAAI,CAAA;AACb,CAAC;AA3BD,kDA2BC"}
1
+ {"version":3,"file":"validateSiweMessage.js","sourceRoot":"","sources":["../../../utils/siwe/validateSiweMessage.ts"],"names":[],"mappings":";;AA0CA,kDA2BC;AAlED,oEAA6D;AAuC7D,SAAgB,mBAAmB,CACjC,UAAyC;IAEzC,MAAM,EACJ,OAAO,EACP,MAAM,EACN,OAAO,EACP,KAAK,EACL,MAAM,EACN,IAAI,GAAG,IAAI,IAAI,EAAE,GAClB,GAAG,UAAU,CAAA;IAEd,IAAI,MAAM,IAAI,OAAO,CAAC,MAAM,KAAK,MAAM;QAAE,OAAO,KAAK,CAAA;IACrD,IAAI,KAAK,IAAI,OAAO,CAAC,KAAK,KAAK,KAAK;QAAE,OAAO,KAAK,CAAA;IAClD,IAAI,MAAM,IAAI,OAAO,CAAC,MAAM,KAAK,MAAM;QAAE,OAAO,KAAK,CAAA;IAErD,IAAI,OAAO,CAAC,cAAc,IAAI,IAAI,IAAI,OAAO,CAAC,cAAc;QAAE,OAAO,KAAK,CAAA;IAC1E,IAAI,OAAO,CAAC,SAAS,IAAI,IAAI,GAAG,OAAO,CAAC,SAAS;QAAE,OAAO,KAAK,CAAA;IAE/D,IAAI,CAAC;QACH,IAAI,CAAC,OAAO,CAAC,OAAO;YAAE,OAAO,KAAK,CAAA;QAClC,IAAI,OAAO,IAAI,CAAC,IAAA,kCAAc,EAAC,OAAO,CAAC,OAAO,EAAE,OAAO,CAAC;YAAE,OAAO,KAAK,CAAA;IACxE,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,KAAK,CAAA;IACd,CAAC;IAED,OAAO,IAAI,CAAA;AACb,CAAC"}
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.serializeStateOverride = exports.serializeAccountStateOverride = exports.serializeStateMapping = void 0;
3
+ exports.serializeStateMapping = serializeStateMapping;
4
+ exports.serializeAccountStateOverride = serializeAccountStateOverride;
5
+ exports.serializeStateOverride = serializeStateOverride;
4
6
  const address_js_1 = require("../errors/address.js");
5
7
  const data_js_1 = require("../errors/data.js");
6
8
  const stateOverride_js_1 = require("../errors/stateOverride.js");
@@ -26,7 +28,6 @@ function serializeStateMapping(stateMapping) {
26
28
  return acc;
27
29
  }, {});
28
30
  }
29
- exports.serializeStateMapping = serializeStateMapping;
30
31
  function serializeAccountStateOverride(parameters) {
31
32
  const { balance, nonce, state, stateDiff, code } = parameters;
32
33
  const rpcAccountStateOverride = {};
@@ -45,7 +46,6 @@ function serializeAccountStateOverride(parameters) {
45
46
  }
46
47
  return rpcAccountStateOverride;
47
48
  }
48
- exports.serializeAccountStateOverride = serializeAccountStateOverride;
49
49
  function serializeStateOverride(parameters) {
50
50
  if (!parameters)
51
51
  return undefined;
@@ -59,5 +59,4 @@ function serializeStateOverride(parameters) {
59
59
  }
60
60
  return rpcStateOverride;
61
61
  }
62
- exports.serializeStateOverride = serializeStateOverride;
63
62
  //# sourceMappingURL=stateOverride.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"stateOverride.js","sourceRoot":"","sources":["../../utils/stateOverride.ts"],"names":[],"mappings":";;;AAAA,qDAG6B;AAC7B,+CAG0B;AAC1B,iEAKmC;AAOnC,yDAAkD;AAClD,kDAA4E;AAO5E,SAAgB,qBAAqB,CACnC,YAA6C;IAE7C,IAAI,CAAC,YAAY,IAAI,YAAY,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,SAAS,CAAA;IAChE,OAAO,YAAY,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE;QAClD,IAAI,IAAI,CAAC,MAAM,KAAK,EAAE;YACpB,MAAM,IAAI,iCAAuB,CAAC;gBAChC,IAAI,EAAE,IAAI,CAAC,MAA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OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;YACxC,MAAM,IAAI,gCAAmB,CAAC,EAAE,OAAO,EAAE,CAAC,CAAA;QAC5C,IAAI,gBAAgB,CAAC,OAAO,CAAC;YAC3B,MAAM,IAAI,4CAAyB,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAA;QAC3D,gBAAgB,CAAC,OAAO,CAAC,GAAG,6BAA6B,CAAC,YAAY,CAAC,CAAA;IACzE,CAAC;IACD,OAAO,gBAAgB,CAAA;AACzB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.assertRequest = void 0;
3
+ exports.assertRequest = assertRequest;
4
4
  const parseAccount_js_1 = require("../../accounts/utils/parseAccount.js");
5
5
  const address_js_1 = require("../../errors/address.js");
6
6
  const node_js_1 = require("../../errors/node.js");
@@ -24,5 +24,4 @@ function assertRequest(args) {
24
24
  maxPriorityFeePerGas > maxFeePerGas)
25
25
  throw new node_js_1.TipAboveFeeCapError({ maxFeePerGas, maxPriorityFeePerGas });
26
26
  }
27
- exports.assertRequest = assertRequest;
28
27
  //# sourceMappingURL=assertRequest.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"assertRequest.js","sourceRoot":"","sources":["../../../utils/transaction/assertRequest.ts"],"names":[],"mappings":";;;AAAA,0EAG6C;AAE7C,wDAGgC;AAChC,kDAK6B;AAC7B,gEAGoC;AAIpC,0DAAmD;AAcnD,SAAgB,aAAa,CAAC,IAA6B;IACzD,MAAM,EACJ,OAAO,EAAE,QAAQ,EACjB,QAAQ,EACR,YAAY,EACZ,oBAAoB,EACpB,EAAE,GACH,GAAG,IAAI,CAAA;IACR,MAAM,OAAO,GAAG,QAAQ,CAAC,CAAC,CAAC,IAAA,8BAAY,EAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAA;IAC7D,IAAI,OAAO,IAAI,CAAC,IAAA,wBAAS,EAAC,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AAE,OAAO,EAAE,OAAO,CAAC,OAAO,EAAE,CAAC,CAAA;IAC7D,IAAI,EAAE,IAAI,CAAC,IAAA,wBAAS,EAAC,EAAE,CAAC;QAAE,MAAM,IAAI,gCAAmB,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CAAA;IACxE,IACE,OAAO,QAAQ,KAAK,WAAW;QAC/B,CAAC,OAAO,YAAY,KAAK,WAAW;YAClC,OAAO,oBAAoB,KAAK,WAAW,CAAC;QAE9C,MAAM,IAAI,iCAAgB,EAAE,CAAA;IAE9B,IAAI,YAAY,IAAI,YAAY,GAAG,EAAE,IAAI,IAAI,GAAG,EAAE;QAChD,MAAM,IAAI,4BAAkB,CAAC,EAAE,YAAY,EAAE,CAAC,CAAA;IAChD,IACE,oBAAoB;QACpB,YAAY;QACZ,oBAAoB,GAAG,YAAY;QAEnC,MAAM,IAAI,6BAAmB,CAAC,EAAE,YAAY,EAAE,oBAAoB,EAAE,CAAC,CAAA;AACzE,CAAC"}
@@ -1,6 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.assertTransactionLegacy = exports.assertTransactionEIP2930 = exports.assertTransactionEIP1559 = exports.assertTransactionEIP4844 = void 0;
3
+ exports.assertTransactionEIP4844 = assertTransactionEIP4844;
4
+ exports.assertTransactionEIP1559 = assertTransactionEIP1559;
5
+ exports.assertTransactionEIP2930 = assertTransactionEIP2930;
6
+ exports.assertTransactionLegacy = assertTransactionLegacy;
4
7
  const kzg_js_1 = require("../../constants/kzg.js");
5
8
  const address_js_1 = require("../../errors/address.js");
6
9
  const base_js_1 = require("../../errors/base.js");
@@ -30,7 +33,6 @@ function assertTransactionEIP4844(transaction) {
30
33
  }
31
34
  assertTransactionEIP1559(transaction);
32
35
  }
33
- exports.assertTransactionEIP4844 = assertTransactionEIP4844;
34
36
  function assertTransactionEIP1559(transaction) {
35
37
  const { chainId, maxPriorityFeePerGas, maxFeePerGas, to } = transaction;
36
38
  if (chainId <= 0)
@@ -44,7 +46,6 @@ function assertTransactionEIP1559(transaction) {
44
46
  maxPriorityFeePerGas > maxFeePerGas)
45
47
  throw new node_js_1.TipAboveFeeCapError({ maxFeePerGas, maxPriorityFeePerGas });
46
48
  }
47
- exports.assertTransactionEIP1559 = assertTransactionEIP1559;
48
49
  function assertTransactionEIP2930(transaction) {
49
50
  const { chainId, maxPriorityFeePerGas, gasPrice, maxFeePerGas, to } = transaction;
50
51
  if (chainId <= 0)
@@ -56,7 +57,6 @@ function assertTransactionEIP2930(transaction) {
56
57
  if (gasPrice && gasPrice > 2n ** 256n - 1n)
57
58
  throw new node_js_1.FeeCapTooHighError({ maxFeePerGas: gasPrice });
58
59
  }
59
- exports.assertTransactionEIP2930 = assertTransactionEIP2930;
60
60
  function assertTransactionLegacy(transaction) {
61
61
  const { chainId, maxPriorityFeePerGas, gasPrice, maxFeePerGas, to, accessList, } = transaction;
62
62
  if (to && !(0, isAddress_js_1.isAddress)(to))
@@ -70,5 +70,4 @@ function assertTransactionLegacy(transaction) {
70
70
  if (accessList)
71
71
  throw new base_js_1.BaseError('`accessList` is not a valid Legacy Transaction attribute.');
72
72
  }
73
- exports.assertTransactionLegacy = assertTransactionLegacy;
74
73
  //# sourceMappingURL=assertTransaction.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"assertTransaction.js","sourceRoot":"","sources":["../../../utils/transaction/assertTransaction.ts"],"names":[],"mappings":";;;AAAA,mDAAgE;AAChE,wDAGgC;AAChC,kDAAoE;AACpE,kDAO6B;AAC7B,oDAG8B;AAC9B,kDAK6B;AAQ7B,0DAA4E;AAC5E,6CAAsC;AACtC,+CAAwC;AACxC,uDAAoD;AASpD,SAAgB,wBAAwB,CACtC,WAA2C;IAE3C,MAAM,EAAE,mBAAmB,EAAE,GAAG,WAAW,CAAA;IAC3C,IAAI,mBAAmB,EAAE,CAAC;QACxB,IAAI,mBAAmB,CAAC,MAAM,KAAK,CAAC;YAAE,MAAM,IAAI,wBAAc,EAA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AAM,IAAI,mBAAS,CACjB,2DAA2D,CAC5D,CAAA;AACL,CAAC;AAxBD,0DAwBC"}
1
+ {"version":3,"file":"assertTransaction.js","sourceRoot":"","sources":["../../../utils/transaction/assertTransaction.ts"],"names":[],"mappings":";;AA2CA,4DAmBC;AAWD,4DAcC;AAUD,4DAaC;AAUD,0DAwBC;AAhJD,mDAAgE;AAChE,wDAGgC;AAChC,kDAAoE;AACpE,kDAO6B;AAC7B,oDAG8B;AAC9B,kDAK6B;AAQ7B,0DAA4E;AAC5E,6CAAsC;AACtC,+CAAwC;AACxC,uDAAoD;AASpD,SAAgB,wBAAwB,CACtC,WAA2C;IAE3C,MAAM,EAAE,mBAAmB,EAAE,GAAG,WAAW,CAAA;IAC3C,IAAI,mBAAmB,EAAE,CAAC;QACxB,IAAI,mBAAmB,CAAC,MAAM,KAAK,CAAC;YAAE,MAAM,IAAI,wBAAc,EAAE,CAAA;QAChE,KAAK,MAAM,IAAI,IAAI,mBAAmB,EAAE,CAAC;YACvC,MAAM,KAAK,GAAG,IAAA,cAAI,EAAC,IAAI,CAAC,CAAA;YACxB,MAAM,OAAO,GAAG,IAAA,wBAAW,EAAC,IAAA,gBAAK,EAAC,IAAI,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,CAAA;YAC9C,IAAI,KAAK,KAAK,EAAE;gBACd,MAAM,IAAI,uCAA6B,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,CAAA;YAChE,IAAI,OAAO,KAAK,gCAAuB;gBACrC,MAAM,IAAI,0CAAgC,CAAC;oBACzC,IAAI;oBACJ,OAAO;iBACR,CAAC,CAAA;QACN,CAAC;IACH,CAAC;IACD,wBAAwB,CAAC,WAAmD,CAAC,CAAA;AAC/E,CAAC;AAWD,SAAgB,wBAAwB,CACtC,WAA2C;IAE3C,MAAM,EAAE,OAAO,EAAE,oBAAoB,EAAE,YAAY,EAAE,EAAE,EAAE,GAAG,WAAW,CAAA;IACvE,IAAI,OAAO,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AAA;IACf,IAAI,EAAE,IAAI,CAAC,IAAA,wBAAS,EAAC,EAAE,CAAC;QAAE,MAAM,IAAI,gCAAmB,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CAAA;IACxE,IAAI,OAAO,OAAO,KAAK,WAAW,IAAI,OAAO,IAAI,CAAC;QAChD,MAAM,IAAI,8BAAmB,CAAC,EAAE,OAAO,EAAE,CAAC,CAAA;IAC5C,IAAI,oBAAoB,IAAI,YAAY;QACtC,MAAM,IAAI,mBAAS,CACjB,oFAAoF,CACrF,CAAA;IACH,IAAI,QAAQ,IAAI,QAAQ,GAAG,EAAE,IAAI,IAAI,GAAG,EAAE;QACxC,MAAM,IAAI,4BAAkB,CAAC,EAAE,YAAY,EAAE,QAAQ,EAAE,CAAC,CAAA;IAC1D,IAAI,UAAU;QACZ,MAAM,IAAI,mBAAS,CACjB,2DAA2D,CAC5D,CAAA;AACL,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getSerializedTransactionType = void 0;
3
+ exports.getSerializedTransactionType = getSerializedTransactionType;
4
4
  const transaction_js_1 = require("../../errors/transaction.js");
5
5
  const slice_js_1 = require("../data/slice.js");
6
6
  const fromHex_js_1 = require("../encoding/fromHex.js");
@@ -16,5 +16,4 @@ function getSerializedTransactionType(serializedTransaction) {
16
16
  return 'legacy';
17
17
  throw new transaction_js_1.InvalidSerializedTransactionTypeError({ serializedType });
18
18
  }
19
- exports.getSerializedTransactionType = getSerializedTransactionType;
20
19
  //# sourceMappingURL=getSerializedTransactionType.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getSerializedTransactionType.js","sourceRoot":"","sources":["../../../utils/transaction/getSerializedTransactionType.ts"],"names":[],"mappings":";;;AAAA,gEAGoC;AAapC,+CAAmE;AACnE,uDAA+E;AA8B/E,SAAgB,4BAA4B,CAG1C,qBAA4C;IAE5C,MAAM,cAAc,GAAG,IAAA,mBAAQ,EAAC,qBAAqB,EAAE,CAAC,EAAE,CAAC,CAAC,CAAA;IAE5D,IAAI,cAAc,KAAK,MAAM;QAC3B,OAAO,SAAgE,CAAA;IAEzE,IAAI,cAAc,KAAK,MAAM;QAC3B,OAAO,SAAgE,CAAA;IAEzE,IAAI,cAAc,KAAK,MAAM;QAC3B,OAAO,SAAgE,CAAA;IAEzE,IAAI,cAAc,KAAK,IAAI,IAAI,IAAA,wBAAW,EAAC,cAAc,CAAC,IAAI,IAAI;QAChE,OAAO,QAA+D,CAAA;IAExE,MAAM,IAAI,sDAAqC,CAAC,EAAE,cAAc,EAAE,CAAC,CAAA;AACrE,CAAC;AApBD,oEAoBC"}
1
+ {"version":3,"file":"getSerializedTransactionType.js","sourceRoot":"","sources":["../../../utils/transaction/getSerializedTransactionType.ts"],"names":[],"mappings":";;AA+CA,oEAoBC;AAnED,gEAGoC;AAapC,+CAAmE;AACnE,uDAA+E;AA8B/E,SAAgB,4BAA4B,CAG1C,qBAA4C;IAE5C,MAAM,cAAc,GAAG,IAAA,mBAAQ,EAAC,qBAAqB,EAAE,CAAC,EAAE,CAAC,CAAC,CAAA;IAE5D,IAAI,cAAc,KAAK,MAAM;QAC3B,OAAO,SAAgE,CAAA;IAEzE,IAAI,cAAc,KAAK,MAAM;QAC3B,OAAO,SAAgE,CAAA;IAEzE,IAAI,cAAc,KAAK,MAAM;QAC3B,OAAO,SAAgE,CAAA;IAEzE,IAAI,cAAc,KAAK,IAAI,IAAI,IAAA,wBAAW,EAAC,cAAc,CAAC,IAAI,IAAI;QAChE,OAAO,QAA+D,CAAA;IAExE,MAAM,IAAI,sDAAqC,CAAC,EAAE,cAAc,EAAE,CAAC,CAAA;AACrE,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getTransactionType = void 0;
3
+ exports.getTransactionType = getTransactionType;
4
4
  const transaction_js_1 = require("../../errors/transaction.js");
5
5
  function getTransactionType(transaction) {
6
6
  if (transaction.type)
@@ -21,5 +21,4 @@ function getTransactionType(transaction) {
21
21
  }
22
22
  throw new transaction_js_1.InvalidSerializableTransactionError({ transaction });
23
23
  }
24
- exports.getTransactionType = getTransactionType;
25
24
  //# sourceMappingURL=getTransactionType.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getTransactionType.js","sourceRoot":"","sources":["../../../utils/transaction/getTransactionType.ts"],"names":[],"mappings":";;;AAAA,gEAGoC;AAgHpC,SAAgB,kBAAkB,CAIhC,WAAwB;IACxB,IAAI,WAAW,CAAC,IAAI;QAClB,OAAO,WAAW,CAAC,IAAuC,CAAA;IAE5D,IACE,OAAO,WAAW,CAAC,KAAK,KAAK,WAAW;QACxC,OAAO,WAAW,CAAC,mBAAmB,KAAK,WAAW;QACtD,OAAO,WAAW,CAAC,gBAAgB,KAAK,WAAW;QACnD,OAAO,WAAW,CAAC,QAAQ,KAAK,WAAW;QAE3C,OAAO,SAAgB,CAAA;IAEzB,IACE,OAAO,WAAW,CAAC,YAAY,KAAK,WAAW;QAC/C,OAAO,WAAW,CAAC,oBAAoB,KAAK,WAAW,EACvD,CAAC;QACD,OAAO,SAAgB,CAAA;IACzB,CAAC;IAED,IAAI,OAAO,WAAW,CAAC,QAAQ,KAAK,WAAW,EAAE,CAAC;QAChD,IAAI,OAAO,WAAW,CAAC,UAAU,KAAK,WAAW;YAAE,OAAO,SAAgB,CAAA;QAC1E,OAAO,QAAe,CAAA;IACxB,CAAC;IAED,MAAM,IAAI,oDAAmC,CAAC,EAAE,WAAW,EAAE,CAAC,CAAA;AAChE,CAAC;AA7BD,gDA6BC"}
1
+ {"version":3,"file":"getTransactionType.js","sourceRoot":"","sources":["../../../utils/transaction/getTransactionType.ts"],"names":[],"mappings":";;AAmHA,gDA6BC;AAhJD,gEAGoC;AAgHpC,SAAgB,kBAAkB,CAIhC,WAAwB;IACxB,IAAI,WAAW,CAAC,IAAI;QAClB,OAAO,WAAW,CAAC,IAAuC,CAAA;IAE5D,IACE,OAAO,WAAW,CAAC,KAAK,KAAK,WAAW;QACxC,OAAO,WAAW,CAAC,mBAAmB,KAAK,WAAW;QACtD,OAAO,WAAW,CAAC,gBAAgB,KAAK,WAAW;QACnD,OAAO,WAAW,CAAC,QAAQ,KAAK,WAAW;QAE3C,OAAO,SAAgB,CAAA;IAEzB,IACE,OAAO,WAAW,CAAC,YAAY,KAAK,WAAW;QAC/C,OAAO,WAAW,CAAC,oBAAoB,KAAK,WAAW,EACvD,CAAC;QACD,OAAO,SAAgB,CAAA;IACzB,CAAC;IAED,IAAI,OAAO,WAAW,CAAC,QAAQ,KAAK,WAAW,EAAE,CAAC;QAChD,IAAI,OAAO,WAAW,CAAC,UAAU,KAAK,WAAW;YAAE,OAAO,SAAgB,CAAA;QAC1E,OAAO,QAAe,CAAA;IACxB,CAAC;IAED,MAAM,IAAI,oDAAmC,CAAC,EAAE,WAAW,EAAE,CAAC,CAAA;AAChE,CAAC"}
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.parseAccessList = exports.toTransactionArray = exports.parseTransaction = void 0;
3
+ exports.parseTransaction = parseTransaction;
4
+ exports.toTransactionArray = toTransactionArray;
5
+ exports.parseAccessList = parseAccessList;
4
6
  const address_js_1 = require("../../errors/address.js");
5
7
  const transaction_js_1 = require("../../errors/transaction.js");
6
8
  const isAddress_js_1 = require("../address/isAddress.js");
@@ -23,7 +25,6 @@ function parseTransaction(serializedTransaction) {
23
25
  return parseTransactionEIP4844(serializedTransaction);
24
26
  return parseTransactionLegacy(serializedTransaction);
25
27
  }
26
- exports.parseTransaction = parseTransaction;
27
28
  function parseTransactionEIP4844(serializedTransaction) {
28
29
  const transactionOrWrapperArray = toTransactionArray(serializedTransaction);
29
30
  const hasNetworkWrapper = transactionOrWrapperArray.length === 4;
@@ -258,7 +259,6 @@ function parseTransactionLegacy(serializedTransaction) {
258
259
  function toTransactionArray(serializedTransaction) {
259
260
  return (0, fromRlp_js_1.fromRlp)(`0x${serializedTransaction.slice(4)}`, 'hex');
260
261
  }
261
- exports.toTransactionArray = toTransactionArray;
262
262
  function parseAccessList(accessList_) {
263
263
  const accessList = [];
264
264
  for (let i = 0; i < accessList_.length; i++) {
@@ -272,7 +272,6 @@ function parseAccessList(accessList_) {
272
272
  }
273
273
  return accessList;
274
274
  }
275
- exports.parseAccessList = parseAccessList;
276
275
  function parseEIP155Signature(transactionArray) {
277
276
  const signature = transactionArray.slice(-3);
278
277
  const v = signature[0] === '0x' || (0, fromHex_js_1.hexToBigInt)(signature[0]) === 0n ? 27n : 28n;
@@ -1 +1 @@
1
- {"version":3,"file":"parseTransaction.js","sourceRoot":"","sources":["../../../utils/transaction/parseTransaction.ts"],"names":[],"mappings":";;;AAAA,wDAGgC;AAChC,gEAKoC;AAoBpC,0DAA4E;AAC5E,iEAA0D;AAC1D,+CAA6D;AAC7D,2CAA6D;AAC7D,6CAAsC;AACtC,uDAK+B;AAC/B,uDAAuE;AAEvE,iDAA0C;AAE1C,iEAS+B;AAC/B,uFAI0C;AAoB1C,SAAgB,gBAAgB,CAE9B,qBAAkC;IAClC,MAAM,IAAI,GAAG,IAAA,8DAA4B,EAAC,qBAAqB,CAAC,CAAA;IAEhE,IAAI,IAAI,KAAK,SAAS;QACpB,OAAO,uBAAuB,CAC5B,qBAAqD,CACX,CAAA;IAE9C,IAAI,IAAI,KAAK,SAAS;QACpB,OAAO,uBAAuB,CAC5B,qBAAqD,CACX,CAAA;IAE9C,IAAI,IAAI,KAAK,SAAS;QACpB,OAAO,uBAAuB,CAC5B,qBAAqD,CACX,CAAA;IAE9C,OAAO,sBAAsB,CAC3B,qBAAqB,CACqB,CAAA;AAC9C,CAAC;AAvBD,4CAuBC;AAcD,SAAS,uBAAuB,CAC9B,qBAAmD;IAEnD,MAAM,yBAAyB,GAAG,kBAAkB,CAAC,qBAAqB,CAAC,CAAA;IAE3E,MAAM,iBAAiB,GAAG,yBAAyB,CAAC,MAAM,KAAK,CAAC,CAAA;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;IACD,OAAO,UAAU,CAAA;AACnB,CAAC;AAOD,SAAS,oBAAoB,CAC3B,gBAAqC;IAErC,MAAM,SAAS,GAAG,gBAAgB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAA;IAC5C,MAAM,CAAC,GACL,SAAS,CAAC,CAAC,CAAC,KAAK,IAAI,IAAI,IAAA,wBAAW,EAAC,SAAS,CAAC,CAAC,CAAQ,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAA;IAC9E,OAAO;QACL,CAAC,EAAE,IAAA,eAAM,EAAC,SAAS,CAAC,CAAC,CAAQ,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC;QAC5C,CAAC,EAAE,IAAA,eAAM,EAAC,SAAS,CAAC,CAAC,CAAQ,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC;QAC5C,CAAC;QACD,OAAO,EAAE,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;KAC3B,CAAA;AACH,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.serializeAccessList = void 0;
3
+ exports.serializeAccessList = serializeAccessList;
4
4
  const address_js_1 = require("../../errors/address.js");
5
5
  const transaction_js_1 = require("../../errors/transaction.js");
6
6
  const isAddress_js_1 = require("../address/isAddress.js");
@@ -22,5 +22,4 @@ function serializeAccessList(accessList) {
22
22
  }
23
23
  return serializedAccessList;
24
24
  }
25
- exports.serializeAccessList = serializeAccessList;
26
25
  //# sourceMappingURL=serializeAccessList.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"serializeAccessList.js","sourceRoot":"","sources":["../../../utils/transaction/serializeAccessList.ts"],"names":[],"mappings":";;;AAAA,wDAGgC;AAChC,gEAGoC;AAIpC,0DAA4E;AAkB5E,SAAgB,mBAAmB,CACjC,UAAmC;IAEnC,IAAI,CAAC,UAAU,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AC,GAAG,CAAC,EAAE,CAAC,GAAG,UAAU,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QAC3C,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,GAAG,UAAU,CAAC,CAAC,CAAC,CAAA;QAE9C,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,WAAW,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;YAC5C,IAAI,WAAW,CAAC,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,KAAK,EAAE,EAAE,CAAC;gBACrC,MAAM,IAAI,2CAA0B,CAAC,EAAE,UAAU,EAAE,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAA;YACtE,CAAC;QACH,CAAC;QAED,IAAI,CAAC,IAAA,wBAAS,EAAC,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC;YAC3C,MAAM,IAAI,gCAAmB,CAAC,EAAE,OAAO,EAAE,CAAC,CAAA;QAC5C,CAAC;QAED,oBAAoB,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC,CAAA;IACnD,CAAC;IACD,OAAO,oBAAoB,CAAA;AAC7B,CAAC"}
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.toYParitySignatureArray = exports.serializeTransaction = void 0;
3
+ exports.serializeTransaction = serializeTransaction;
4
+ exports.toYParitySignatureArray = toYParitySignatureArray;
4
5
  const transaction_js_1 = require("../../errors/transaction.js");
5
6
  const blobsToCommitments_js_1 = require("../blob/blobsToCommitments.js");
6
7
  const blobsToProofs_js_1 = require("../blob/blobsToProofs.js");
@@ -23,7 +24,6 @@ function serializeTransaction(transaction, signature) {
23
24
  return serializeTransactionEIP4844(transaction, signature);
24
25
  return serializeTransactionLegacy(transaction, signature);
25
26
  }
26
- exports.serializeTransaction = serializeTransaction;
27
27
  function serializeTransactionEIP4844(transaction, signature) {
28
28
  const { chainId, gas, nonce, to, value, maxFeePerBlobGas, maxFeePerGas, maxPriorityFeePerGas, accessList, data, } = transaction;
29
29
  (0, assertTransaction_js_1.assertTransactionEIP4844)(transaction);
@@ -189,5 +189,4 @@ function toYParitySignatureArray(transaction, signature_) {
189
189
  })();
190
190
  return [yParity_, r === '0x00' ? '0x' : r, s === '0x00' ? '0x' : s];
191
191
  }
192
- exports.toYParitySignatureArray = toYParitySignatureArray;
193
192
  //# sourceMappingURL=serializeTransaction.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"serializeTransaction.js","sourceRoot":"","sources":["../../../utils/transaction/serializeTransaction.ts"],"names":[],"mappings":";;;AAAA,gEAGoC;AAuBpC,yEAGsC;AACtC,+DAGiC;AACjC,6FAGgD;AAChD,iEAGkC;AAClC,iDAAsE;AACtE,6CAAsC;AACtC,mDAA6E;AAC7E,mDAAiE;AAEjE,iEAS+B;AAC/B,mEAIgC;AAChC,qEAGiC;AAyBjC,SAAgB,oBAAoB,CAKlC,WAAwB,EACxB,SAAiC;IAEjC,MAAM,IAAI,GAAG,IAAA,0CAAkB,EAAC,WAAW,CAAuB,CAAA;IAElE,IAAI,IAAI,KAAK,SAAS;QACpB,OAAO,2BAA2B,CAChC,WAA6C,EAC7C,SAAS,CACsC,CAAA;IAEnD,IAAI,IAAI,KAAK,SAAS;QACpB,OAAO,2BAA2B,CAChC,WAA6C,EAC7C,SAAS,CACsC,CAAA;IAEnD,IAAI,IAAI,KAAK,SAAS;QACpB,OAAO,2BAA2B,CAChC,WAA6C,EAC7C,SAAS,CACsC,CAAA;IAEnD,OAAO,0BAA0B,CAC/B,WAA4C,EAC5C,SAA4B,CACmB,CAAA;AACnD,CAAC;AAhCD,oDAgCC;AAeD,SAAS,2BAA2B,CAClC,WAA2C,EAC3C,SAAiC;IAEjC,MAAM,EACJ,OAAO,EACP,GAAG,EACH,KAAK,EACL,EAAE,EACF,KAAK,EACL,gBAAgB,EAChB,YAAY,EACZ,oBAAoB,E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AAI,CAAC,CAAC,CAAC,IAAA,gBAAK,EAAC,CAAC,CAAC,CAAA;IACpC,CAAC,CAAC,EAAE,CAAA;IAEJ,OAAO,CAAC,QAAQ,EAAE,CAAC,KAAK,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;AACrE,CAAC;AAvBD,0DAuBC"}
1
+ {"version":3,"file":"serializeTransaction.js","sourceRoot":"","sources":["../../../utils/transaction/serializeTransaction.ts"],"names":[],"mappings":";;AA0FA,oDAgCC;AAwPD,0DAuBC;AAzYD,gEAGoC;AAuBpC,yEAGsC;AACtC,+DAGiC;AACjC,6FAGgD;AAChD,iEAGkC;AAClC,iDAAsE;AACtE,6CAAsC;AACtC,mDAA6E;AAC7E,mDAAiE;AAEjE,iEAS+B;AAC/B,mEAIgC;AAChC,qEAGiC;AAyBjC,SAAgB,oBAAoB,CAKlC,WAAwB,EACxB,SAAiC;IAEjC,MAAM,IAAI,GAAG,IAAA,0CAAkB,EAAC,WAAW,CAAuB,CAAA;IAElE,IAAI,IAAI,KAAK,SAAS;QACpB,OAAO,2BAA2B,CAChC,WAA6C,EAC7C,SAAS,CACsC,CAAA;IAEnD,IAAI,IAAI,KAAK,SAAS;QACpB,OAAO,2BAA2B,CAChC,WAA6C,EAC7C,SAAS,CACsC,CAAA;IAEnD,IAAI,IAAI,KAAK,SAAS;QACpB,OAAO,2BAA2B,CAChC,WAA6C,EAC7C,SAAS,CACsC,CAAA;IAEnD,OAAO,0BAA0B,CAC/B,WAA4C,EAC5C,SAA4B,CACmB,CAAA;AACnD,CAAC;AAeD,SAAS,2BAA2B,CAClC,WAA2C,EAC3C,SAAiC;IAEjC,MAAM,EACJ,OAAO,EACP,GAAG,EACH,KAAK,EACL,EAAE,EACF,KAAK,EACL,gBAAgB,EAChB,YAAY,EACZ,oBAAoB,EACpB,UAAU,EAC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AC,CAAC,IAAA,gBAAK,EAAC,CAAC,CAAC,CAAA;IACpC,CAAC,CAAC,EAAE,CAAA;IAEJ,OAAO,CAAC,QAAQ,EAAE,CAAC,KAAK,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;AACrE,CAAC"}
@@ -1,6 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.domainSeparator = exports.getTypesForEIP712Domain = exports.validateTypedData = exports.serializeTypedData = void 0;
3
+ exports.serializeTypedData = serializeTypedData;
4
+ exports.validateTypedData = validateTypedData;
5
+ exports.getTypesForEIP712Domain = getTypesForEIP712Domain;
6
+ exports.domainSeparator = domainSeparator;
4
7
  const abi_js_1 = require("../errors/abi.js");
5
8
  const address_js_1 = require("../errors/address.js");
6
9
  const isAddress_js_1 = require("./address/isAddress.js");
@@ -34,7 +37,6 @@ function serializeTypedData(parameters) {
34
37
  })();
35
38
  return (0, stringify_js_1.stringify)({ domain, message, primaryType, types });
36
39
  }
37
- exports.serializeTypedData = serializeTypedData;
38
40
  function validateTypedData(parameters) {
39
41
  const { domain, message, primaryType, types } = parameters;
40
42
  const validateData = (struct, data) => {
@@ -71,7 +73,6 @@ function validateTypedData(parameters) {
71
73
  if (primaryType !== 'EIP712Domain')
72
74
  validateData(types[primaryType], message);
73
75
  }
74
- exports.validateTypedData = validateTypedData;
75
76
  function getTypesForEIP712Domain({ domain, }) {
76
77
  return [
77
78
  typeof domain?.name === 'string' && { name: 'name', type: 'string' },
@@ -87,7 +88,6 @@ function getTypesForEIP712Domain({ domain, }) {
87
88
  domain?.salt && { name: 'salt', type: 'bytes32' },
88
89
  ].filter(Boolean);
89
90
  }
90
- exports.getTypesForEIP712Domain = getTypesForEIP712Domain;
91
91
  function domainSeparator({ domain }) {
92
92
  return (0, hashTypedData_js_1.hashDomain)({
93
93
  domain,
@@ -96,5 +96,4 @@ function domainSeparator({ domain }) {
96
96
  },
97
97
  });
98
98
  }
99
- exports.domainSeparator = domainSeparator;
100
99
  //# sourceMappingURL=typedData.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"typedData.js","sourceRoot":"","sources":["../../utils/typedData.ts"],"names":[],"mappings":";;;AAEA,6CAAyD;AACzD,qDAA0D;AAK1D,yDAA2E;AAC3E,4CAAyD;AACzD,kDAA4E;AAC5E,yCAAqD;AACrD,mEAGqC;AACrC,iDAA0C;AAS1C,SAAgB,kBAAkB,CAGhC,UAAuD;IACvD,MAAM,EACJ,MAAM,EAAE,OAAO,EACf,OAAO,EAAE,QAAQ,EACjB,WAAW,EACX,KAAK,GACN,GAAG,UAA4C,CAAA;IAEhD,MAAM,aAAa,GAAG,CACpB,MAAqC,EACrC,KAA8B,EAC9B,EAAE;QACF,MAAM,IAAI,GAAG,EAAE,GAAG,KAAK,EAAE,CAAA;QACzB,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;YAC3B,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,KAAK,CAAA;YAC5B,IAAI,IAAI,KAAK,SAAS;gBAAE,IAAI,CAAC,IAAI,CAAC,GAAI,IAAI,CAAC,IAAI,CAAY,CAAC,WAAW,EAAE,CAAA;QAC3E,CAAC;QACD,OAAO,IAAI,CAAA;IACb,CAAC,CAAA;IAED,MAAM,MAAM,GAAG,CAAC,GAAG,EAAE;QACnB,IAAI,CAAC,KAAK,CAAC,YAAY;YAAE,OAAO,EAAE,CAAA;QAClC,IAAI,CAAC,OAAO;YAAE,OAAO,EAAE,CAAA;QACvB,OAAO,aAAa,CAAC,KAAK,CAAC,YAAY,EAAE,OAAO,CAAC,CAAA;IACnD,CAAC,CAAC,EAAE,CAAA;IAEJ,MAAM,OAAO,GAAG,CAAC,GAAG,EAAE;QACpB,IAAI,WAAW,KAAK,cAAc;YAAE,OAAO,SAAS,CAAA;QACpD,OA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AQ,IAAI;YACrC,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,SAAS;SAChB;QACD,MAAM,EAAE,iBAAiB,IAAI;YAC3B,IAAI,EAAE,mBAAmB;YACzB,IAAI,EAAE,SAAS;SAChB;QACD,MAAM,EAAE,IAAI,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE;KAClD,CAAC,MAAM,CAAC,OAAO,CAAyB,CAAA;AAC3C,CAAC;AAOD,SAAgB,eAAe,CAAC,EAAE,MAAM,EAA+B;IACrE,OAAO,IAAA,6BAAU,EAAC;QAChB,MAAM;QACN,KAAK,EAAE;YACL,YAAY,EAAE,uBAAuB,CAAC,EAAE,MAAM,EAAE,CAAC;SAClD;KACF,CAAC,CAAA;AACJ,CAAC"}
package/_cjs/utils/uid.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.uid = void 0;
3
+ exports.uid = uid;
4
4
  const size = 256;
5
5
  let index = size;
6
6
  let buffer;
@@ -14,5 +14,4 @@ function uid(length = 11) {
14
14
  }
15
15
  return buffer.substring(index, index++ + length);
16
16
  }
17
- exports.uid = uid;
18
17
  //# sourceMappingURL=uid.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"uid.js","sourceRoot":"","sources":["../../utils/uid.ts"],"names":[],"mappings":";;;AAAA,MAAM,IAAI,GAAG,GAAG,CAAA;AAChB,IAAI,KAAK,GAAG,IAAI,CAAA;AAChB,IAAI,MAAc,CAAA;AAElB,SAAgB,GAAG,CAAC,MAAM,GAAG,EAAE;IAC7B,IAAI,CAAC,MAAM,IAAI,KAAK,GAAG,MAAM,GAAG,IAAI,GAAG,CAAC,EAAE,CAAC;QACzC,MAAM,GAAG,EAAE,CAAA;QACX,KAAK,GAAG,CAAC,CAAA;QACT,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC;YAC9B,MAAM,IAAI,CAAC,CAAC,GAAG,GAAG,IAAI,CAAC,MAAM,EAAE,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAA;QACvE,CAAC;IACH,CAAC;IACD,OAAO,MAAM,CAAC,SAAS,CAAC,KAAK,EAAE,KAAK,EAAE,GAAG,MAAM,CAAC,CAAA;AAClD,CAAC;AATD,kBASC"}
1
+ {"version":3,"file":"uid.js","sourceRoot":"","sources":["../../utils/uid.ts"],"names":[],"mappings":";;AAIA,kBASC;AAbD,MAAM,IAAI,GAAG,GAAG,CAAA;AAChB,IAAI,KAAK,GAAG,IAAI,CAAA;AAChB,IAAI,MAAc,CAAA;AAElB,SAAgB,GAAG,CAAC,MAAM,GAAG,EAAE;IAC7B,IAAI,CAAC,MAAM,IAAI,KAAK,GAAG,MAAM,GAAG,IAAI,GAAG,CAAC,EAAE,CAAC;QACzC,MAAM,GAAG,EAAE,CAAA;QACX,KAAK,GAAG,CAAC,CAAA;QACT,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC;YAC9B,MAAM,IAAI,CAAC,CAAC,GAAG,GAAG,IAAI,CAAC,MAAM,EAAE,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAA;QACvE,CAAC;IACH,CAAC;IACD,OAAO,MAAM,CAAC,SAAS,CAAC,KAAK,EAAE,KAAK,EAAE,GAAG,MAAM,CAAC,CAAA;AAClD,CAAC"}
@@ -1,10 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.formatEther = void 0;
3
+ exports.formatEther = formatEther;
4
4
  const unit_js_1 = require("../../constants/unit.js");
5
5
  const formatUnits_js_1 = require("./formatUnits.js");
6
6
  function formatEther(wei, unit = 'wei') {
7
7
  return (0, formatUnits_js_1.formatUnits)(wei, unit_js_1.etherUnits[unit]);
8
8
  }
9
- exports.formatEther = formatEther;
10
9
  //# sourceMappingURL=formatEther.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"formatEther.js","sourceRoot":"","sources":["../../../utils/unit/formatEther.ts"],"names":[],"mappings":";;;AAAA,qDAAoD;AAEpD,qDAAyE;AAezE,SAAgB,WAAW,CAAC,GAAW,EAAE,OAAuB,KAAK;IACnE,OAAO,IAAA,4BAAW,EAAC,GAAG,EAAE,oBAAU,CAAC,IAAI,CAAC,CAAC,CAAA;AAC3C,CAAC;AAFD,kCAEC"}
1
+ {"version":3,"file":"formatEther.js","sourceRoot":"","sources":["../../../utils/unit/formatEther.ts"],"names":[],"mappings":";;AAiBA,kCAEC;AAnBD,qDAAoD;AAEpD,qDAAyE;AAezE,SAAgB,WAAW,CAAC,GAAW,EAAE,OAAuB,KAAK;IACnE,OAAO,IAAA,4BAAW,EAAC,GAAG,EAAE,oBAAU,CAAC,IAAI,CAAC,CAAC,CAAA;AAC3C,CAAC"}
@@ -1,10 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.formatGwei = void 0;
3
+ exports.formatGwei = formatGwei;
4
4
  const unit_js_1 = require("../../constants/unit.js");
5
5
  const formatUnits_js_1 = require("./formatUnits.js");
6
6
  function formatGwei(wei, unit = 'wei') {
7
7
  return (0, formatUnits_js_1.formatUnits)(wei, unit_js_1.gweiUnits[unit]);
8
8
  }
9
- exports.formatGwei = formatGwei;
10
9
  //# sourceMappingURL=formatGwei.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"formatGwei.js","sourceRoot":"","sources":["../../../utils/unit/formatGwei.ts"],"names":[],"mappings":";;;AAAA,qDAAmD;AAEnD,qDAAyE;AAezE,SAAgB,UAAU,CAAC,GAAW,EAAE,OAAc,KAAK;IACzD,OAAO,IAAA,4BAAW,EAAC,GAAG,EAAE,mBAAS,CAAC,IAAI,CAAC,CAAC,CAAA;AAC1C,CAAC;AAFD,gCAEC"}
1
+ {"version":3,"file":"formatGwei.js","sourceRoot":"","sources":["../../../utils/unit/formatGwei.ts"],"names":[],"mappings":";;AAiBA,gCAEC;AAnBD,qDAAmD;AAEnD,qDAAyE;AAezE,SAAgB,UAAU,CAAC,GAAW,EAAE,OAAc,KAAK;IACzD,OAAO,IAAA,4BAAW,EAAC,GAAG,EAAE,mBAAS,CAAC,IAAI,CAAC,CAAC,CAAA;AAC1C,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.formatUnits = void 0;
3
+ exports.formatUnits = formatUnits;
4
4
  function formatUnits(value, decimals) {
5
5
  let display = value.toString();
6
6
  const negative = display.startsWith('-');
@@ -14,5 +14,4 @@ function formatUnits(value, decimals) {
14
14
  fraction = fraction.replace(/(0+)$/, '');
15
15
  return `${negative ? '-' : ''}${integer || '0'}${fraction ? `.${fraction}` : ''}`;
16
16
  }
17
- exports.formatUnits = formatUnits;
18
17
  //# sourceMappingURL=formatUnits.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"formatUnits.js","sourceRoot":"","sources":["../../../utils/unit/formatUnits.ts"],"names":[],"mappings":";;;AAeA,SAAgB,WAAW,CAAC,KAAa,EAAE,QAAgB;IACzD,IAAI,OAAO,GAAG,KAAK,CAAC,QAAQ,EAAE,CAAA;IAE9B,MAAM,QAAQ,GAAG,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,CAAA;IACxC,IAAI,QAAQ;QAAE,OAAO,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAA;IAExC,OAAO,GAAG,OAAO,CAAC,QAAQ,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAA;IAEzC,IAAI,CAAC,OAAO,EAAE,QAAQ,CAAC,GAAG;QACxB,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,OAAO,CAAC,MAAM,GAAG,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E,CAAC,CAAC,CAAC,EAC9B,EAAE,CAAA;AACJ,CAAC"}
@@ -1,10 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.parseEther = void 0;
3
+ exports.parseEther = parseEther;
4
4
  const unit_js_1 = require("../../constants/unit.js");
5
5
  const parseUnits_js_1 = require("./parseUnits.js");
6
6
  function parseEther(ether, unit = 'wei') {
7
7
  return (0, parseUnits_js_1.parseUnits)(ether, unit_js_1.etherUnits[unit]);
8
8
  }
9
- exports.parseEther = parseEther;
10
9
  //# sourceMappingURL=parseEther.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"parseEther.js","sourceRoot":"","sources":["../../../utils/unit/parseEther.ts"],"names":[],"mappings":";;;AAAA,qDAAoD;AAGpD,mDAAsE;AAetE,SAAgB,UAAU,CAAC,KAAa,EAAE,OAAuB,KAAK;IACpE,OAAO,IAAA,0BAAU,EAAC,KAAK,EAAE,oBAAU,CAAC,IAAI,CAAC,CAAC,CAAA;AAC5C,CAAC;AAFD,gCAEC"}
1
+ {"version":3,"file":"parseEther.js","sourceRoot":"","sources":["../../../utils/unit/parseEther.ts"],"names":[],"mappings":";;AAkBA,gCAEC;AApBD,qDAAoD;AAGpD,mDAAsE;AAetE,SAAgB,UAAU,CAAC,KAAa,EAAE,OAAuB,KAAK;IACpE,OAAO,IAAA,0BAAU,EAAC,KAAK,EAAE,oBAAU,CAAC,IAAI,CAAC,CAAC,CAAA;AAC5C,CAAC"}
@@ -1,10 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.parseGwei = void 0;
3
+ exports.parseGwei = parseGwei;
4
4
  const unit_js_1 = require("../../constants/unit.js");
5
5
  const parseUnits_js_1 = require("./parseUnits.js");
6
6
  function parseGwei(ether, unit = 'wei') {
7
7
  return (0, parseUnits_js_1.parseUnits)(ether, unit_js_1.gweiUnits[unit]);
8
8
  }
9
- exports.parseGwei = parseGwei;
10
9
  //# sourceMappingURL=parseGwei.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"parseGwei.js","sourceRoot":"","sources":["../../../utils/unit/parseGwei.ts"],"names":[],"mappings":";;;AAAA,qDAAmD;AAGnD,mDAAsE;AAetE,SAAgB,SAAS,CAAC,KAAa,EAAE,OAAc,KAAK;IAC1D,OAAO,IAAA,0BAAU,EAAC,KAAK,EAAE,mBAAS,CAAC,IAAI,CAAC,CAAC,CAAA;AAC3C,CAAC;AAFD,8BAEC"}
1
+ {"version":3,"file":"parseGwei.js","sourceRoot":"","sources":["../../../utils/unit/parseGwei.ts"],"names":[],"mappings":";;AAkBA,8BAEC;AApBD,qDAAmD;AAGnD,mDAAsE;AAetE,SAAgB,SAAS,CAAC,KAAa,EAAE,OAAc,KAAK;IAC1D,OAAO,IAAA,0BAAU,EAAC,KAAK,EAAE,mBAAS,CAAC,IAAI,CAAC,CAAC,CAAA;AAC3C,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.parseUnits = void 0;
3
+ exports.parseUnits = parseUnits;
4
4
  function parseUnits(value, decimals) {
5
5
  let [integer, fraction = '0'] = value.split('.');
6
6
  const negative = integer.startsWith('-');
@@ -34,5 +34,4 @@ function parseUnits(value, decimals) {
34
34
  }
35
35
  return BigInt(`${negative ? '-' : ''}${integer}${fraction}`);
36
36
  }
37
- exports.parseUnits = parseUnits;
38
37
  //# sourceMappingURL=parseUnits.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"parseUnits.js","sourceRoot":"","sources":["../../../utils/unit/parseUnits.ts"],"names":[],"mappings":";;;AAeA,SAAgB,UAAU,CAAC,KAAa,EAAE,QAAgB;IACxD,IAAI,CAAC,OAAO,EAAE,QAAQ,GAAG,GAAG,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;IAEhD,MAAM,QAAQ,GAAG,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,CAAA;IAC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AQ,CAAC,KAAK,CAAC,CAAC,EAAE,QAAQ,GAAG,CAAC,CAAC;YAC/B,QAAQ,CAAC,KAAK,CAAC,QAAQ,GAAG,CAAC,EAAE,QAAQ,CAAC;YACtC,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC;SACzB,CAAA;QAED,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,IAAI,KAAK,EAAE,CAAC,CAAC,CAAA;QACtD,IAAI,OAAO,GAAG,CAAC;YACb,QAAQ,GAAG,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,EAAE,GAAG,CAAC,CAAA;;YACrE,QAAQ,GAAG,GAAG,IAAI,GAAG,OAAO,EAAE,CAAA;QAEnC,IAAI,QAAQ,CAAC,MAAM,GAAG,QAAQ,EAAE,CAAC;YAC/B,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAAA;YAC5B,OAAO,GAAG,GAAG,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,CAAA;QACrC,CAAC;QAED,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAA;IACxC,CAAC;SAAM,CAAC;QACN,QAAQ,GAAG,QAAQ,CAAC,MAAM,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAA;IAC3C,CAAC;IAED,OAAO,MAAM,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,GAAG,OAAO,GAAG,QAAQ,EAAE,CAAC,CAAA;AAC9D,CAAC"}
@@ -1,8 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.wait = void 0;
3
+ exports.wait = wait;
4
4
  async function wait(time) {
5
5
  return new Promise((res) => setTimeout(res, time));
6
6
  }
7
- exports.wait = wait;
8
7
  //# sourceMappingURL=wait.js.map