viem 2.0.0-alpha.9 → 2.0.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2676) hide show
  1. package/CHANGELOG.md +2138 -0
  2. package/LICENSE +21 -0
  3. package/README.md +215 -0
  4. package/_cjs/accounts/generateMnemonic.js.map +1 -1
  5. package/_cjs/accounts/generatePrivateKey.js.map +1 -1
  6. package/_cjs/accounts/hdKeyToAccount.js.map +1 -1
  7. package/_cjs/accounts/index.js.map +1 -1
  8. package/_cjs/accounts/mnemonicToAccount.js.map +1 -1
  9. package/_cjs/accounts/privateKeyToAccount.js.map +1 -1
  10. package/_cjs/accounts/toAccount.js.map +1 -1
  11. package/_cjs/accounts/utils/parseAccount.js.map +1 -1
  12. package/_cjs/accounts/utils/privateKeyToAddress.js.map +1 -1
  13. package/_cjs/accounts/utils/publicKeyToAddress.js.map +1 -1
  14. package/_cjs/accounts/utils/sign.js.map +1 -1
  15. package/_cjs/accounts/utils/signMessage.js.map +1 -1
  16. package/_cjs/accounts/utils/signTransaction.js.map +1 -1
  17. package/_cjs/accounts/utils/signTypedData.js.map +1 -1
  18. package/_cjs/actions/ens/getEnsAddress.js +4 -3
  19. package/_cjs/actions/ens/getEnsAddress.js.map +1 -1
  20. package/_cjs/actions/ens/getEnsAvatar.js +2 -1
  21. package/_cjs/actions/ens/getEnsAvatar.js.map +1 -1
  22. package/_cjs/actions/ens/getEnsName.js +4 -3
  23. package/_cjs/actions/ens/getEnsName.js.map +1 -1
  24. package/_cjs/actions/ens/getEnsResolver.js +4 -3
  25. package/_cjs/actions/ens/getEnsResolver.js.map +1 -1
  26. package/_cjs/actions/ens/getEnsText.js +4 -3
  27. package/_cjs/actions/ens/getEnsText.js.map +1 -1
  28. package/_cjs/actions/getContract.js +36 -7
  29. package/_cjs/actions/getContract.js.map +1 -1
  30. package/_cjs/actions/index.js.map +1 -1
  31. package/_cjs/actions/public/call.js +5 -5
  32. package/_cjs/actions/public/call.js.map +1 -1
  33. package/_cjs/actions/public/createBlockFilter.js.map +1 -1
  34. package/_cjs/actions/public/createContractEventFilter.js.map +1 -1
  35. package/_cjs/actions/public/createEventFilter.js.map +1 -1
  36. package/_cjs/actions/public/createPendingTransactionFilter.js.map +1 -1
  37. package/_cjs/actions/public/estimateContractGas.js +11 -2
  38. package/_cjs/actions/public/estimateContractGas.js.map +1 -1
  39. package/_cjs/actions/public/estimateFeesPerGas.js +3 -2
  40. package/_cjs/actions/public/estimateFeesPerGas.js.map +1 -1
  41. package/_cjs/actions/public/estimateGas.js +3 -3
  42. package/_cjs/actions/public/estimateGas.js.map +1 -1
  43. package/_cjs/actions/public/estimateMaxPriorityFeePerGas.js +5 -4
  44. package/_cjs/actions/public/estimateMaxPriorityFeePerGas.js.map +1 -1
  45. package/_cjs/actions/public/getBalance.js.map +1 -1
  46. package/_cjs/actions/public/getBlock.js.map +1 -1
  47. package/_cjs/actions/public/getBlockNumber.js.map +1 -1
  48. package/_cjs/actions/public/getBlockTransactionCount.js.map +1 -1
  49. package/_cjs/actions/public/getBytecode.js.map +1 -1
  50. package/_cjs/actions/public/getChainId.js.map +1 -1
  51. package/_cjs/actions/public/getContractEvents.js +27 -0
  52. package/_cjs/actions/public/getContractEvents.js.map +1 -0
  53. package/_cjs/actions/public/getFeeHistory.js.map +1 -1
  54. package/_cjs/actions/public/getFilterChanges.js.map +1 -1
  55. package/_cjs/actions/public/getFilterLogs.js.map +1 -1
  56. package/_cjs/actions/public/getGasPrice.js.map +1 -1
  57. package/_cjs/actions/public/getLogs.js.map +1 -1
  58. package/_cjs/actions/public/getProof.js +16 -0
  59. package/_cjs/actions/public/getProof.js.map +1 -0
  60. package/_cjs/actions/public/getStorageAt.js.map +1 -1
  61. package/_cjs/actions/public/getTransaction.js.map +1 -1
  62. package/_cjs/actions/public/getTransactionConfirmations.js +3 -2
  63. package/_cjs/actions/public/getTransactionConfirmations.js.map +1 -1
  64. package/_cjs/actions/public/getTransactionCount.js.map +1 -1
  65. package/_cjs/actions/public/getTransactionReceipt.js.map +1 -1
  66. package/_cjs/actions/public/multicall.js +4 -3
  67. package/_cjs/actions/public/multicall.js.map +1 -1
  68. package/_cjs/actions/public/readContract.js +7 -2
  69. package/_cjs/actions/public/readContract.js.map +1 -1
  70. package/_cjs/actions/public/simulateContract.js +5 -2
  71. package/_cjs/actions/public/simulateContract.js.map +1 -1
  72. package/_cjs/actions/public/uninstallFilter.js.map +1 -1
  73. package/_cjs/actions/public/verifyHash.js +2 -1
  74. package/_cjs/actions/public/verifyHash.js.map +1 -1
  75. package/_cjs/actions/public/verifyMessage.js.map +1 -1
  76. package/_cjs/actions/public/verifyTypedData.js.map +1 -1
  77. package/_cjs/actions/public/waitForTransactionReceipt.js +6 -5
  78. package/_cjs/actions/public/waitForTransactionReceipt.js.map +1 -1
  79. package/_cjs/actions/public/watchBlockNumber.js +2 -1
  80. package/_cjs/actions/public/watchBlockNumber.js.map +1 -1
  81. package/_cjs/actions/public/watchBlocks.js +4 -3
  82. package/_cjs/actions/public/watchBlocks.js.map +1 -1
  83. package/_cjs/actions/public/watchContractEvent.js +9 -11
  84. package/_cjs/actions/public/watchContractEvent.js.map +1 -1
  85. package/_cjs/actions/public/watchEvent.js +6 -5
  86. package/_cjs/actions/public/watchEvent.js.map +1 -1
  87. package/_cjs/actions/public/watchPendingTransactions.js +4 -3
  88. package/_cjs/actions/public/watchPendingTransactions.js.map +1 -1
  89. package/_cjs/actions/test/dropTransaction.js.map +1 -1
  90. package/_cjs/actions/test/getAutomine.js.map +1 -1
  91. package/_cjs/actions/test/getTxpoolContent.js.map +1 -1
  92. package/_cjs/actions/test/getTxpoolStatus.js.map +1 -1
  93. package/_cjs/actions/test/impersonateAccount.js.map +1 -1
  94. package/_cjs/actions/test/increaseTime.js.map +1 -1
  95. package/_cjs/actions/test/inspectTxpool.js.map +1 -1
  96. package/_cjs/actions/test/mine.js.map +1 -1
  97. package/_cjs/actions/test/removeBlockTimestampInterval.js.map +1 -1
  98. package/_cjs/actions/test/reset.js.map +1 -1
  99. package/_cjs/actions/test/revert.js.map +1 -1
  100. package/_cjs/actions/test/sendUnsignedTransaction.js +3 -3
  101. package/_cjs/actions/test/sendUnsignedTransaction.js.map +1 -1
  102. package/_cjs/actions/test/setAutomine.js.map +1 -1
  103. package/_cjs/actions/test/setBalance.js.map +1 -1
  104. package/_cjs/actions/test/setBlockGasLimit.js.map +1 -1
  105. package/_cjs/actions/test/setBlockTimestampInterval.js +6 -1
  106. package/_cjs/actions/test/setBlockTimestampInterval.js.map +1 -1
  107. package/_cjs/actions/test/setCode.js.map +1 -1
  108. package/_cjs/actions/test/setCoinbase.js.map +1 -1
  109. package/_cjs/actions/test/setIntervalMining.js +6 -1
  110. package/_cjs/actions/test/setIntervalMining.js.map +1 -1
  111. package/_cjs/actions/test/setLoggingEnabled.js.map +1 -1
  112. package/_cjs/actions/test/setMinGasPrice.js.map +1 -1
  113. package/_cjs/actions/test/setNextBlockBaseFeePerGas.js.map +1 -1
  114. package/_cjs/actions/test/setNextBlockTimestamp.js.map +1 -1
  115. package/_cjs/actions/test/setNonce.js.map +1 -1
  116. package/_cjs/actions/test/setRpcUrl.js.map +1 -1
  117. package/_cjs/actions/test/setStorageAt.js.map +1 -1
  118. package/_cjs/actions/test/snapshot.js.map +1 -1
  119. package/_cjs/actions/test/stopImpersonatingAccount.js.map +1 -1
  120. package/_cjs/actions/wallet/addChain.js.map +1 -1
  121. package/_cjs/actions/wallet/deployContract.js.map +1 -1
  122. package/_cjs/actions/wallet/getAddresses.js +2 -0
  123. package/_cjs/actions/wallet/getAddresses.js.map +1 -1
  124. package/_cjs/actions/wallet/getPermissions.js.map +1 -1
  125. package/_cjs/actions/wallet/prepareTransactionRequest.js +4 -3
  126. package/_cjs/actions/wallet/prepareTransactionRequest.js.map +1 -1
  127. package/_cjs/actions/wallet/requestAddresses.js.map +1 -1
  128. package/_cjs/actions/wallet/requestPermissions.js.map +1 -1
  129. package/_cjs/actions/wallet/sendRawTransaction.js.map +1 -1
  130. package/_cjs/actions/wallet/sendTransaction.js +10 -8
  131. package/_cjs/actions/wallet/sendTransaction.js.map +1 -1
  132. package/_cjs/actions/wallet/signMessage.js.map +1 -1
  133. package/_cjs/actions/wallet/signTransaction.js +5 -4
  134. package/_cjs/actions/wallet/signTransaction.js.map +1 -1
  135. package/_cjs/actions/wallet/signTypedData.js.map +1 -1
  136. package/_cjs/actions/wallet/switchChain.js.map +1 -1
  137. package/_cjs/actions/wallet/watchAsset.js.map +1 -1
  138. package/_cjs/actions/wallet/writeContract.js +3 -2
  139. package/_cjs/actions/wallet/writeContract.js.map +1 -1
  140. package/_cjs/chains/celo/formatters.js +34 -5
  141. package/_cjs/chains/celo/formatters.js.map +1 -1
  142. package/_cjs/chains/celo/parsers.js +55 -0
  143. package/_cjs/chains/celo/parsers.js.map +1 -1
  144. package/_cjs/chains/celo/serializers.js +70 -6
  145. package/_cjs/chains/celo/serializers.js.map +1 -1
  146. package/_cjs/chains/definitions/arbitrum.js +2 -15
  147. package/_cjs/chains/definitions/arbitrum.js.map +1 -1
  148. package/_cjs/chains/definitions/arbitrumGoerli.js +4 -16
  149. package/_cjs/chains/definitions/arbitrumGoerli.js.map +1 -1
  150. package/_cjs/chains/definitions/arbitrumNova.js +2 -15
  151. package/_cjs/chains/definitions/arbitrumNova.js.map +1 -1
  152. package/_cjs/chains/definitions/arbitrumSepolia.js +32 -0
  153. package/_cjs/chains/definitions/arbitrumSepolia.js.map +1 -0
  154. package/_cjs/chains/definitions/astarZkatana.js +42 -0
  155. package/_cjs/chains/definitions/astarZkatana.js.map +1 -0
  156. package/_cjs/chains/definitions/aurora.js +2 -6
  157. package/_cjs/chains/definitions/aurora.js.map +1 -1
  158. package/_cjs/chains/definitions/auroraTestnet.js +2 -6
  159. package/_cjs/chains/definitions/auroraTestnet.js.map +1 -1
  160. package/_cjs/chains/definitions/avalanche.js +2 -5
  161. package/_cjs/chains/definitions/avalanche.js.map +1 -1
  162. package/_cjs/chains/definitions/avalancheFuji.js +2 -5
  163. package/_cjs/chains/definitions/avalancheFuji.js.map +1 -1
  164. package/_cjs/chains/definitions/base.js +2 -19
  165. package/_cjs/chains/definitions/base.js.map +1 -1
  166. package/_cjs/chains/definitions/baseGoerli.js +3 -18
  167. package/_cjs/chains/definitions/baseGoerli.js.map +1 -1
  168. package/_cjs/chains/definitions/baseSepolia.js +33 -0
  169. package/_cjs/chains/definitions/baseSepolia.js.map +1 -0
  170. package/_cjs/chains/definitions/bearNetworkChainMainnet.js +2 -4
  171. package/_cjs/chains/definitions/bearNetworkChainMainnet.js.map +1 -1
  172. package/_cjs/chains/definitions/bearNetworkChainTestnet.js +2 -4
  173. package/_cjs/chains/definitions/bearNetworkChainTestnet.js.map +1 -1
  174. package/_cjs/chains/definitions/boba.js +2 -5
  175. package/_cjs/chains/definitions/boba.js.map +1 -1
  176. package/_cjs/chains/definitions/bronos.js +2 -4
  177. package/_cjs/chains/definitions/bronos.js.map +1 -1
  178. package/_cjs/chains/definitions/bronosTestnet.js +2 -4
  179. package/_cjs/chains/definitions/bronosTestnet.js.map +1 -1
  180. package/_cjs/chains/definitions/bsc.js +2 -5
  181. package/_cjs/chains/definitions/bsc.js.map +1 -1
  182. package/_cjs/chains/definitions/bscTestnet.js +2 -5
  183. package/_cjs/chains/definitions/bscTestnet.js.map +1 -1
  184. package/_cjs/chains/definitions/bxn.js +2 -6
  185. package/_cjs/chains/definitions/bxn.js.map +1 -1
  186. package/_cjs/chains/definitions/bxnTestnet.js +2 -6
  187. package/_cjs/chains/definitions/bxnTestnet.js.map +1 -1
  188. package/_cjs/chains/definitions/canto.js +2 -4
  189. package/_cjs/chains/definitions/canto.js.map +1 -1
  190. package/_cjs/chains/definitions/celo.js +2 -11
  191. package/_cjs/chains/definitions/celo.js.map +1 -1
  192. package/_cjs/chains/definitions/celoAlfajores.js +2 -11
  193. package/_cjs/chains/definitions/celoAlfajores.js.map +1 -1
  194. package/_cjs/chains/definitions/celoCannoli.js +2 -7
  195. package/_cjs/chains/definitions/celoCannoli.js.map +1 -1
  196. package/_cjs/chains/definitions/classic.js +2 -4
  197. package/_cjs/chains/definitions/classic.js.map +1 -1
  198. package/_cjs/chains/definitions/confluxESpace.js +2 -6
  199. package/_cjs/chains/definitions/confluxESpace.js.map +1 -1
  200. package/_cjs/chains/definitions/coreDao.js +27 -0
  201. package/_cjs/chains/definitions/coreDao.js.map +1 -0
  202. package/_cjs/chains/definitions/cronos.js +2 -4
  203. package/_cjs/chains/definitions/cronos.js.map +1 -1
  204. package/_cjs/chains/definitions/cronosTestnet.js +2 -4
  205. package/_cjs/chains/definitions/cronosTestnet.js.map +1 -1
  206. package/_cjs/chains/definitions/crossbell.js +2 -6
  207. package/_cjs/chains/definitions/crossbell.js.map +1 -1
  208. package/_cjs/chains/definitions/dfk.js +2 -10
  209. package/_cjs/chains/definitions/dfk.js.map +1 -1
  210. package/_cjs/chains/definitions/dogechain.js +2 -8
  211. package/_cjs/chains/definitions/dogechain.js.map +1 -1
  212. package/_cjs/chains/definitions/edgeware.js +2 -5
  213. package/_cjs/chains/definitions/edgeware.js.map +1 -1
  214. package/_cjs/chains/definitions/edgewareTestnet.js +2 -8
  215. package/_cjs/chains/definitions/edgewareTestnet.js.map +1 -1
  216. package/_cjs/chains/definitions/ekta.js +2 -4
  217. package/_cjs/chains/definitions/ekta.js.map +1 -1
  218. package/_cjs/chains/definitions/ektaTestnet.js +2 -4
  219. package/_cjs/chains/definitions/ektaTestnet.js.map +1 -1
  220. package/_cjs/chains/definitions/eon.js +2 -4
  221. package/_cjs/chains/definitions/eon.js.map +1 -1
  222. package/_cjs/chains/definitions/eos.js +2 -8
  223. package/_cjs/chains/definitions/eos.js.map +1 -1
  224. package/_cjs/chains/definitions/eosTestnet.js +2 -8
  225. package/_cjs/chains/definitions/eosTestnet.js.map +1 -1
  226. package/_cjs/chains/definitions/evmos.js +2 -4
  227. package/_cjs/chains/definitions/evmos.js.map +1 -1
  228. package/_cjs/chains/definitions/evmosTestnet.js +2 -4
  229. package/_cjs/chains/definitions/evmosTestnet.js.map +1 -1
  230. package/_cjs/chains/definitions/fantom.js +2 -5
  231. package/_cjs/chains/definitions/fantom.js.map +1 -1
  232. package/_cjs/chains/definitions/fantomTestnet.js +2 -5
  233. package/_cjs/chains/definitions/fantomTestnet.js.map +1 -1
  234. package/_cjs/chains/definitions/fibo.js +2 -4
  235. package/_cjs/chains/definitions/fibo.js.map +1 -1
  236. package/_cjs/chains/definitions/filecoin.js +2 -7
  237. package/_cjs/chains/definitions/filecoin.js.map +1 -1
  238. package/_cjs/chains/definitions/filecoinCalibration.js +2 -4
  239. package/_cjs/chains/definitions/filecoinCalibration.js.map +1 -1
  240. package/_cjs/chains/definitions/filecoinHyperspace.js +2 -5
  241. package/_cjs/chains/definitions/filecoinHyperspace.js.map +1 -1
  242. package/_cjs/chains/definitions/flare.js +2 -4
  243. package/_cjs/chains/definitions/flare.js.map +1 -1
  244. package/_cjs/chains/definitions/flareTestnet.js +2 -4
  245. package/_cjs/chains/definitions/flareTestnet.js.map +1 -1
  246. package/_cjs/chains/definitions/foundry.js +2 -7
  247. package/_cjs/chains/definitions/foundry.js.map +1 -1
  248. package/_cjs/chains/definitions/fuse.js +8 -4
  249. package/_cjs/chains/definitions/fuse.js.map +1 -1
  250. package/_cjs/chains/definitions/fuseSparknet.js +2 -4
  251. package/_cjs/chains/definitions/fuseSparknet.js.map +1 -1
  252. package/_cjs/chains/definitions/gnosis.js +2 -8
  253. package/_cjs/chains/definitions/gnosis.js.map +1 -1
  254. package/_cjs/chains/definitions/gnosisChiado.js +2 -4
  255. package/_cjs/chains/definitions/gnosisChiado.js.map +1 -1
  256. package/_cjs/chains/definitions/gobi.js +2 -4
  257. package/_cjs/chains/definitions/gobi.js.map +1 -1
  258. package/_cjs/chains/definitions/goerli.js +2 -18
  259. package/_cjs/chains/definitions/goerli.js.map +1 -1
  260. package/_cjs/chains/definitions/haqqMainnet.js +2 -6
  261. package/_cjs/chains/definitions/haqqMainnet.js.map +1 -1
  262. package/_cjs/chains/definitions/haqqTestedge2.js +2 -6
  263. package/_cjs/chains/definitions/haqqTestedge2.js.map +1 -1
  264. package/_cjs/chains/definitions/hardhat.js +2 -4
  265. package/_cjs/chains/definitions/hardhat.js.map +1 -1
  266. package/_cjs/chains/definitions/harmonyOne.js +2 -4
  267. package/_cjs/chains/definitions/harmonyOne.js.map +1 -1
  268. package/_cjs/chains/definitions/holesky.js +8 -7
  269. package/_cjs/chains/definitions/holesky.js.map +1 -1
  270. package/_cjs/chains/definitions/iotex.js +2 -7
  271. package/_cjs/chains/definitions/iotex.js.map +1 -1
  272. package/_cjs/chains/definitions/iotexTestnet.js +2 -7
  273. package/_cjs/chains/definitions/iotexTestnet.js.map +1 -1
  274. package/_cjs/chains/definitions/klaytn.js +2 -5
  275. package/_cjs/chains/definitions/klaytn.js.map +1 -1
  276. package/_cjs/chains/definitions/kroma.js +2 -6
  277. package/_cjs/chains/definitions/kroma.js.map +1 -1
  278. package/_cjs/chains/definitions/kromaSepolia.js +2 -6
  279. package/_cjs/chains/definitions/kromaSepolia.js.map +1 -1
  280. package/_cjs/chains/definitions/linea.js +2 -19
  281. package/_cjs/chains/definitions/linea.js.map +1 -1
  282. package/_cjs/chains/definitions/lineaTestnet.js +2 -19
  283. package/_cjs/chains/definitions/lineaTestnet.js.map +1 -1
  284. package/_cjs/chains/definitions/localhost.js +2 -4
  285. package/_cjs/chains/definitions/localhost.js.map +1 -1
  286. package/_cjs/chains/definitions/mainnet.js +2 -18
  287. package/_cjs/chains/definitions/mainnet.js.map +1 -1
  288. package/_cjs/chains/definitions/manta.js +35 -0
  289. package/_cjs/chains/definitions/manta.js.map +1 -0
  290. package/_cjs/chains/definitions/mantaTestnet.js +36 -0
  291. package/_cjs/chains/definitions/mantaTestnet.js.map +1 -0
  292. package/_cjs/chains/definitions/mantle.js +2 -8
  293. package/_cjs/chains/definitions/mantle.js.map +1 -1
  294. package/_cjs/chains/definitions/mantleTestnet.js +2 -8
  295. package/_cjs/chains/definitions/mantleTestnet.js.map +1 -1
  296. package/_cjs/chains/definitions/meter.js +2 -4
  297. package/_cjs/chains/definitions/meter.js.map +1 -1
  298. package/_cjs/chains/definitions/meterTestnet.js +2 -4
  299. package/_cjs/chains/definitions/meterTestnet.js.map +1 -1
  300. package/_cjs/chains/definitions/metis.js +2 -4
  301. package/_cjs/chains/definitions/metis.js.map +1 -1
  302. package/_cjs/chains/definitions/metisGoerli.js +2 -4
  303. package/_cjs/chains/definitions/metisGoerli.js.map +1 -1
  304. package/_cjs/chains/definitions/mev.js +2 -6
  305. package/_cjs/chains/definitions/mev.js.map +1 -1
  306. package/_cjs/chains/definitions/mevTestnet.js +2 -6
  307. package/_cjs/chains/definitions/mevTestnet.js.map +1 -1
  308. package/_cjs/chains/definitions/modeTestnet.js +8 -6
  309. package/_cjs/chains/definitions/modeTestnet.js.map +1 -1
  310. package/_cjs/chains/definitions/moonbaseAlpha.js +2 -11
  311. package/_cjs/chains/definitions/moonbaseAlpha.js.map +1 -1
  312. package/_cjs/chains/definitions/moonbeam.js +2 -11
  313. package/_cjs/chains/definitions/moonbeam.js.map +1 -1
  314. package/_cjs/chains/definitions/moonbeamDev.js +20 -0
  315. package/_cjs/chains/definitions/moonbeamDev.js.map +1 -0
  316. package/_cjs/chains/definitions/moonriver.js +2 -11
  317. package/_cjs/chains/definitions/moonriver.js.map +1 -1
  318. package/_cjs/chains/definitions/neonDevnet.js +2 -6
  319. package/_cjs/chains/definitions/neonDevnet.js.map +1 -1
  320. package/_cjs/chains/definitions/nexi.js +2 -10
  321. package/_cjs/chains/definitions/nexi.js.map +1 -1
  322. package/_cjs/chains/definitions/nexilix.js +2 -5
  323. package/_cjs/chains/definitions/nexilix.js.map +1 -1
  324. package/_cjs/chains/definitions/oasys.js +2 -6
  325. package/_cjs/chains/definitions/oasys.js.map +1 -1
  326. package/_cjs/chains/definitions/okc.js +2 -4
  327. package/_cjs/chains/definitions/okc.js.map +1 -1
  328. package/_cjs/chains/definitions/opBNB.js +2 -4
  329. package/_cjs/chains/definitions/opBNB.js.map +1 -1
  330. package/_cjs/chains/definitions/opBNBTestnet.js +2 -4
  331. package/_cjs/chains/definitions/opBNBTestnet.js.map +1 -1
  332. package/_cjs/chains/definitions/optimism.js +2 -19
  333. package/_cjs/chains/definitions/optimism.js.map +1 -1
  334. package/_cjs/chains/definitions/optimismGoerli.js +2 -19
  335. package/_cjs/chains/definitions/optimismGoerli.js.map +1 -1
  336. package/_cjs/chains/definitions/optimismSepolia.js +30 -0
  337. package/_cjs/chains/definitions/optimismSepolia.js.map +1 -0
  338. package/_cjs/chains/definitions/plinga.js +2 -6
  339. package/_cjs/chains/definitions/plinga.js.map +1 -1
  340. package/_cjs/chains/definitions/polygon.js +2 -18
  341. package/_cjs/chains/definitions/polygon.js.map +1 -1
  342. package/_cjs/chains/definitions/polygonMumbai.js +2 -18
  343. package/_cjs/chains/definitions/polygonMumbai.js.map +1 -1
  344. package/_cjs/chains/definitions/polygonZkEvm.js +2 -6
  345. package/_cjs/chains/definitions/polygonZkEvm.js.map +1 -1
  346. package/_cjs/chains/definitions/polygonZkEvmTestnet.js +2 -10
  347. package/_cjs/chains/definitions/polygonZkEvmTestnet.js.map +1 -1
  348. package/_cjs/chains/definitions/pulsechain.js +2 -7
  349. package/_cjs/chains/definitions/pulsechain.js.map +1 -1
  350. package/_cjs/chains/definitions/pulsechainV4.js +2 -7
  351. package/_cjs/chains/definitions/pulsechainV4.js.map +1 -1
  352. package/_cjs/chains/definitions/qMainnet.js +2 -4
  353. package/_cjs/chains/definitions/qMainnet.js.map +1 -1
  354. package/_cjs/chains/definitions/qTestnet.js +2 -4
  355. package/_cjs/chains/definitions/qTestnet.js.map +1 -1
  356. package/_cjs/chains/definitions/rollux.js +2 -4
  357. package/_cjs/chains/definitions/rollux.js.map +1 -1
  358. package/_cjs/chains/definitions/rolluxTestnet.js +2 -4
  359. package/_cjs/chains/definitions/rolluxTestnet.js.map +1 -1
  360. package/_cjs/chains/definitions/ronin.js +2 -6
  361. package/_cjs/chains/definitions/ronin.js.map +1 -1
  362. package/_cjs/chains/definitions/saigon.js +2 -6
  363. package/_cjs/chains/definitions/saigon.js.map +1 -1
  364. package/_cjs/chains/definitions/scroll.js +29 -0
  365. package/_cjs/chains/definitions/scroll.js.map +1 -0
  366. package/_cjs/chains/definitions/scrollSepolia.js +2 -7
  367. package/_cjs/chains/definitions/scrollSepolia.js.map +1 -1
  368. package/_cjs/chains/definitions/scrollTestnet.js +2 -7
  369. package/_cjs/chains/definitions/scrollTestnet.js.map +1 -1
  370. package/_cjs/chains/definitions/sepolia.js +3 -19
  371. package/_cjs/chains/definitions/sepolia.js.map +1 -1
  372. package/_cjs/chains/definitions/shardeumSphinx.js +2 -6
  373. package/_cjs/chains/definitions/shardeumSphinx.js.map +1 -1
  374. package/_cjs/chains/definitions/skale/brawl.js +2 -11
  375. package/_cjs/chains/definitions/skale/brawl.js.map +1 -1
  376. package/_cjs/chains/definitions/skale/calypso.js +2 -13
  377. package/_cjs/chains/definitions/skale/calypso.js.map +1 -1
  378. package/_cjs/chains/definitions/skale/calypsoTestnet.js +2 -15
  379. package/_cjs/chains/definitions/skale/calypsoTestnet.js.map +1 -1
  380. package/_cjs/chains/definitions/skale/chaosTestnet.js +2 -15
  381. package/_cjs/chains/definitions/skale/chaosTestnet.js.map +1 -1
  382. package/_cjs/chains/definitions/skale/cryptoBlades.js +2 -13
  383. package/_cjs/chains/definitions/skale/cryptoBlades.js.map +1 -1
  384. package/_cjs/chains/definitions/skale/cryptoColosseum.js +2 -11
  385. package/_cjs/chains/definitions/skale/cryptoColosseum.js.map +1 -1
  386. package/_cjs/chains/definitions/skale/europa.js +2 -11
  387. package/_cjs/chains/definitions/skale/europa.js.map +1 -1
  388. package/_cjs/chains/definitions/skale/europaTestnet.js +2 -13
  389. package/_cjs/chains/definitions/skale/europaTestnet.js.map +1 -1
  390. package/_cjs/chains/definitions/skale/exorde.js +2 -11
  391. package/_cjs/chains/definitions/skale/exorde.js.map +1 -1
  392. package/_cjs/chains/definitions/skale/humanProtocol.js +2 -11
  393. package/_cjs/chains/definitions/skale/humanProtocol.js.map +1 -1
  394. package/_cjs/chains/definitions/skale/nebula.js +2 -11
  395. package/_cjs/chains/definitions/skale/nebula.js.map +1 -1
  396. package/_cjs/chains/definitions/skale/nebulaTestnet.js +2 -13
  397. package/_cjs/chains/definitions/skale/nebulaTestnet.js.map +1 -1
  398. package/_cjs/chains/definitions/skale/razor.js +2 -11
  399. package/_cjs/chains/definitions/skale/razor.js.map +1 -1
  400. package/_cjs/chains/definitions/skale/titan.js +2 -11
  401. package/_cjs/chains/definitions/skale/titan.js.map +1 -1
  402. package/_cjs/chains/definitions/skale/titanTestnet.js +2 -15
  403. package/_cjs/chains/definitions/skale/titanTestnet.js.map +1 -1
  404. package/_cjs/chains/definitions/songbird.js +2 -4
  405. package/_cjs/chains/definitions/songbird.js.map +1 -1
  406. package/_cjs/chains/definitions/songbirdTestnet.js +2 -4
  407. package/_cjs/chains/definitions/songbirdTestnet.js.map +1 -1
  408. package/_cjs/chains/definitions/syscoin.js +2 -7
  409. package/_cjs/chains/definitions/syscoin.js.map +1 -1
  410. package/_cjs/chains/definitions/syscoinTestnet.js +2 -7
  411. package/_cjs/chains/definitions/syscoinTestnet.js.map +1 -1
  412. package/_cjs/chains/definitions/taikoJolnir.js +2 -6
  413. package/_cjs/chains/definitions/taikoJolnir.js.map +1 -1
  414. package/_cjs/chains/definitions/taikoTestnetSepolia.js +2 -6
  415. package/_cjs/chains/definitions/taikoTestnetSepolia.js.map +1 -1
  416. package/_cjs/chains/definitions/taraxa.js +2 -6
  417. package/_cjs/chains/definitions/taraxa.js.map +1 -1
  418. package/_cjs/chains/definitions/taraxaTestnet.js +2 -6
  419. package/_cjs/chains/definitions/taraxaTestnet.js.map +1 -1
  420. package/_cjs/chains/definitions/telos.js +2 -4
  421. package/_cjs/chains/definitions/telos.js.map +1 -1
  422. package/_cjs/chains/definitions/telosTestnet.js +2 -4
  423. package/_cjs/chains/definitions/telosTestnet.js.map +1 -1
  424. package/_cjs/chains/definitions/thunderTestnet.js +2 -6
  425. package/_cjs/chains/definitions/thunderTestnet.js.map +1 -1
  426. package/_cjs/chains/definitions/vechain.js +2 -6
  427. package/_cjs/chains/definitions/vechain.js.map +1 -1
  428. package/_cjs/chains/definitions/wanchain.js +2 -13
  429. package/_cjs/chains/definitions/wanchain.js.map +1 -1
  430. package/_cjs/chains/definitions/wanchainTestnet.js +2 -10
  431. package/_cjs/chains/definitions/wanchainTestnet.js.map +1 -1
  432. package/_cjs/chains/definitions/xdc.js +2 -4
  433. package/_cjs/chains/definitions/xdc.js.map +1 -1
  434. package/_cjs/chains/definitions/xdcTestnet.js +2 -4
  435. package/_cjs/chains/definitions/xdcTestnet.js.map +1 -1
  436. package/_cjs/chains/definitions/zetachainAthensTestnet.js +2 -6
  437. package/_cjs/chains/definitions/zetachainAthensTestnet.js.map +1 -1
  438. package/_cjs/chains/definitions/zhejiang.js +2 -14
  439. package/_cjs/chains/definitions/zhejiang.js.map +1 -1
  440. package/_cjs/chains/definitions/zkSync.js +6 -6
  441. package/_cjs/chains/definitions/zkSync.js.map +1 -1
  442. package/_cjs/chains/definitions/zkSyncTestnet.js +6 -6
  443. package/_cjs/chains/definitions/zkSyncTestnet.js.map +1 -1
  444. package/_cjs/chains/definitions/zora.js +2 -8
  445. package/_cjs/chains/definitions/zora.js.map +1 -1
  446. package/_cjs/chains/definitions/zoraSepolia.js +40 -0
  447. package/_cjs/chains/definitions/zoraSepolia.js.map +1 -0
  448. package/_cjs/chains/definitions/zoraTestnet.js +2 -8
  449. package/_cjs/chains/definitions/zoraTestnet.js.map +1 -1
  450. package/_cjs/chains/index.js +24 -3
  451. package/_cjs/chains/index.js.map +1 -1
  452. package/_cjs/chains/utils.js +11 -1
  453. package/_cjs/chains/utils.js.map +1 -1
  454. package/_cjs/chains/zksync/formatters.js +124 -0
  455. package/_cjs/chains/zksync/formatters.js.map +1 -0
  456. package/_cjs/chains/zksync/serializers.js +74 -0
  457. package/_cjs/chains/zksync/serializers.js.map +1 -0
  458. package/_cjs/chains/zksync/types.js +3 -0
  459. package/_cjs/chains/zksync/types.js.map +1 -0
  460. package/_cjs/clients/createClient.js.map +1 -1
  461. package/_cjs/clients/createPublicClient.js.map +1 -1
  462. package/_cjs/clients/createTestClient.js.map +1 -1
  463. package/_cjs/clients/createWalletClient.js.map +1 -1
  464. package/_cjs/clients/decorators/public.js +4 -0
  465. package/_cjs/clients/decorators/public.js.map +1 -1
  466. package/_cjs/clients/transports/createTransport.js.map +1 -1
  467. package/_cjs/clients/transports/custom.js.map +1 -1
  468. package/_cjs/clients/transports/fallback.js.map +1 -1
  469. package/_cjs/clients/transports/http.js +2 -0
  470. package/_cjs/clients/transports/http.js.map +1 -1
  471. package/_cjs/clients/transports/webSocket.js.map +1 -1
  472. package/_cjs/ens/index.js.map +1 -1
  473. package/_cjs/errors/abi.js.map +1 -1
  474. package/_cjs/errors/account.js.map +1 -1
  475. package/_cjs/errors/address.js.map +1 -1
  476. package/_cjs/errors/base.js.map +1 -1
  477. package/_cjs/errors/block.js.map +1 -1
  478. package/_cjs/errors/ccip.js.map +1 -1
  479. package/_cjs/errors/chain.js.map +1 -1
  480. package/_cjs/errors/contract.js.map +1 -1
  481. package/_cjs/errors/cursor.js +29 -0
  482. package/_cjs/errors/cursor.js.map +1 -0
  483. package/_cjs/errors/data.js.map +1 -1
  484. package/_cjs/errors/encoding.js +1 -1
  485. package/_cjs/errors/encoding.js.map +1 -1
  486. package/_cjs/errors/ens.js.map +1 -1
  487. package/_cjs/errors/estimateGas.js.map +1 -1
  488. package/_cjs/errors/fee.js.map +1 -1
  489. package/_cjs/errors/log.js.map +1 -1
  490. package/_cjs/errors/node.js.map +1 -1
  491. package/_cjs/errors/request.js.map +1 -1
  492. package/_cjs/errors/rpc.js.map +1 -1
  493. package/_cjs/errors/transaction.js.map +1 -1
  494. package/_cjs/errors/transport.js.map +1 -1
  495. package/_cjs/errors/utils.js.map +1 -1
  496. package/_cjs/errors/version.js +1 -1
  497. package/_cjs/errors/version.js.map +1 -1
  498. package/_cjs/index.js +52 -10
  499. package/_cjs/index.js.map +1 -1
  500. package/_cjs/types/eip1193.js.map +1 -1
  501. package/_cjs/types/proof.js +3 -0
  502. package/_cjs/types/proof.js.map +1 -0
  503. package/_cjs/types/withdrawal.js +3 -0
  504. package/_cjs/types/withdrawal.js.map +1 -0
  505. package/_cjs/utils/abi/decodeAbiParameters.js.map +1 -1
  506. package/_cjs/utils/abi/decodeDeployData.js.map +1 -1
  507. package/_cjs/utils/abi/decodeErrorResult.js.map +1 -1
  508. package/_cjs/utils/abi/decodeEventLog.js +9 -11
  509. package/_cjs/utils/abi/decodeEventLog.js.map +1 -1
  510. package/_cjs/utils/abi/decodeFunctionData.js.map +1 -1
  511. package/_cjs/utils/abi/decodeFunctionResult.js.map +1 -1
  512. package/_cjs/utils/abi/encodeAbiParameters.js.map +1 -1
  513. package/_cjs/utils/abi/encodeDeployData.js.map +1 -1
  514. package/_cjs/utils/abi/encodeErrorResult.js.map +1 -1
  515. package/_cjs/utils/abi/encodeEventTopics.js.map +1 -1
  516. package/_cjs/utils/abi/encodeFunctionData.js.map +1 -1
  517. package/_cjs/utils/abi/encodeFunctionResult.js.map +1 -1
  518. package/_cjs/utils/abi/encodePacked.js.map +1 -1
  519. package/_cjs/utils/abi/formatAbiItem.js.map +1 -1
  520. package/_cjs/utils/abi/formatAbiItemWithArgs.js.map +1 -1
  521. package/_cjs/utils/abi/getAbiItem.js +3 -3
  522. package/_cjs/utils/abi/getAbiItem.js.map +1 -1
  523. package/_cjs/utils/address/getAddress.js.map +1 -1
  524. package/_cjs/utils/address/getContractAddress.js +8 -3
  525. package/_cjs/utils/address/getContractAddress.js.map +1 -1
  526. package/_cjs/utils/address/isAddress.js.map +1 -1
  527. package/_cjs/utils/address/isAddressEqual.js.map +1 -1
  528. package/_cjs/utils/buildRequest.js.map +1 -1
  529. package/_cjs/utils/ccip.js.map +1 -1
  530. package/_cjs/utils/chain/assertCurrentChain.js +12 -0
  531. package/_cjs/utils/chain/assertCurrentChain.js.map +1 -0
  532. package/_cjs/utils/chain/defineChain.js +13 -0
  533. package/_cjs/utils/chain/defineChain.js.map +1 -0
  534. package/_cjs/utils/chain/extractChain.js +8 -0
  535. package/_cjs/utils/chain/extractChain.js.map +1 -0
  536. package/_cjs/utils/{chain.js → chain/getChainContractAddress.js} +3 -20
  537. package/_cjs/utils/chain/getChainContractAddress.js.map +1 -0
  538. package/_cjs/utils/contract/extractFunctionParts.js.map +1 -1
  539. package/_cjs/utils/cursor.js +134 -0
  540. package/_cjs/utils/cursor.js.map +1 -0
  541. package/_cjs/utils/data/concat.js.map +1 -1
  542. package/_cjs/utils/data/isBytes.js.map +1 -1
  543. package/_cjs/utils/data/isBytesEqual.js.map +1 -1
  544. package/_cjs/utils/data/isHex.js.map +1 -1
  545. package/_cjs/utils/data/pad.js.map +1 -1
  546. package/_cjs/utils/data/size.js.map +1 -1
  547. package/_cjs/utils/data/slice.js.map +1 -1
  548. package/_cjs/utils/data/trim.js.map +1 -1
  549. package/_cjs/utils/encoding/fromBytes.js +4 -4
  550. package/_cjs/utils/encoding/fromBytes.js.map +1 -1
  551. package/_cjs/utils/encoding/fromHex.js.map +1 -1
  552. package/_cjs/utils/encoding/fromRlp.js +55 -76
  553. package/_cjs/utils/encoding/fromRlp.js.map +1 -1
  554. package/_cjs/utils/encoding/toBytes.js +26 -8
  555. package/_cjs/utils/encoding/toBytes.js.map +1 -1
  556. package/_cjs/utils/encoding/toHex.js +3 -3
  557. package/_cjs/utils/encoding/toHex.js.map +1 -1
  558. package/_cjs/utils/encoding/toRlp.js +94 -24
  559. package/_cjs/utils/encoding/toRlp.js.map +1 -1
  560. package/_cjs/utils/ens/avatar/parseAvatarRecord.js.map +1 -1
  561. package/_cjs/utils/ens/avatar/utils.js.map +1 -1
  562. package/_cjs/utils/ens/encodeLabelhash.js.map +1 -1
  563. package/_cjs/utils/ens/encodedLabelToLabelhash.js.map +1 -1
  564. package/_cjs/utils/ens/errors.js.map +1 -1
  565. package/_cjs/utils/ens/labelhash.js.map +1 -1
  566. package/_cjs/utils/ens/namehash.js.map +1 -1
  567. package/_cjs/utils/ens/normalize.js.map +1 -1
  568. package/_cjs/utils/ens/packetToBytes.js.map +1 -1
  569. package/_cjs/utils/errors/getCallError.js +6 -3
  570. package/_cjs/utils/errors/getCallError.js.map +1 -1
  571. package/_cjs/utils/errors/getContractError.js +14 -13
  572. package/_cjs/utils/errors/getContractError.js.map +1 -1
  573. package/_cjs/utils/errors/getEstimateGasError.js +6 -3
  574. package/_cjs/utils/errors/getEstimateGasError.js.map +1 -1
  575. package/_cjs/utils/errors/getNodeError.js +3 -1
  576. package/_cjs/utils/errors/getNodeError.js.map +1 -1
  577. package/_cjs/utils/errors/getTransactionError.js +6 -3
  578. package/_cjs/utils/errors/getTransactionError.js.map +1 -1
  579. package/_cjs/utils/formatters/block.js.map +1 -1
  580. package/_cjs/utils/formatters/extract.js +15 -7
  581. package/_cjs/utils/formatters/extract.js.map +1 -1
  582. package/_cjs/utils/formatters/feeHistory.js.map +1 -1
  583. package/_cjs/utils/formatters/formatter.js.map +1 -1
  584. package/_cjs/utils/formatters/log.js.map +1 -1
  585. package/_cjs/utils/formatters/proof.js +22 -0
  586. package/_cjs/utils/formatters/proof.js.map +1 -0
  587. package/_cjs/utils/formatters/transaction.js.map +1 -1
  588. package/_cjs/utils/formatters/transactionReceipt.js.map +1 -1
  589. package/_cjs/utils/formatters/transactionRequest.js.map +1 -1
  590. package/_cjs/utils/getAction.js +8 -0
  591. package/_cjs/utils/getAction.js.map +1 -0
  592. package/_cjs/utils/hash/getEventSelector.js +5 -6
  593. package/_cjs/utils/hash/getEventSelector.js.map +1 -1
  594. package/_cjs/utils/hash/getEventSignature.js +9 -0
  595. package/_cjs/utils/hash/getEventSignature.js.map +1 -0
  596. package/_cjs/utils/hash/getFunctionSelector.js +5 -6
  597. package/_cjs/utils/hash/getFunctionSelector.js.map +1 -1
  598. package/_cjs/utils/hash/getFunctionSignature.js +15 -0
  599. package/_cjs/utils/hash/getFunctionSignature.js.map +1 -0
  600. package/_cjs/utils/hash/hashFunction.js +2 -4
  601. package/_cjs/utils/hash/hashFunction.js.map +1 -1
  602. package/_cjs/utils/hash/isHash.js.map +1 -1
  603. package/_cjs/utils/hash/keccak256.js.map +1 -1
  604. package/_cjs/utils/index.js +14 -8
  605. package/_cjs/utils/index.js.map +1 -1
  606. package/_cjs/utils/observe.js.map +1 -1
  607. package/_cjs/utils/poll.js.map +1 -1
  608. package/_cjs/utils/promise/createBatchScheduler.js +3 -1
  609. package/_cjs/utils/promise/createBatchScheduler.js.map +1 -1
  610. package/_cjs/utils/promise/withCache.js.map +1 -1
  611. package/_cjs/utils/promise/withRetry.js.map +1 -1
  612. package/_cjs/utils/promise/withTimeout.js +1 -1
  613. package/_cjs/utils/promise/withTimeout.js.map +1 -1
  614. package/_cjs/utils/rpc.js +3 -6
  615. package/_cjs/utils/rpc.js.map +1 -1
  616. package/_cjs/utils/signature/compactSignatureToHex.js +10 -0
  617. package/_cjs/utils/signature/compactSignatureToHex.js.map +1 -0
  618. package/_cjs/utils/signature/compactSignatureToSignature.js +15 -0
  619. package/_cjs/utils/signature/compactSignatureToSignature.js.map +1 -0
  620. package/_cjs/utils/signature/hashMessage.js.map +1 -1
  621. package/_cjs/utils/signature/hashTypedData.js.map +1 -1
  622. package/_cjs/utils/signature/hexToCompactSignature.js +14 -0
  623. package/_cjs/utils/signature/hexToCompactSignature.js.map +1 -0
  624. package/_cjs/utils/signature/hexToSignature.js.map +1 -1
  625. package/_cjs/utils/signature/recoverAddress.js.map +1 -1
  626. package/_cjs/utils/signature/recoverMessageAddress.js.map +1 -1
  627. package/_cjs/utils/signature/recoverPublicKey.js.map +1 -1
  628. package/_cjs/utils/signature/recoverTypedDataAddress.js.map +1 -1
  629. package/_cjs/utils/signature/signatureToCompactSignature.js +17 -0
  630. package/_cjs/utils/signature/signatureToCompactSignature.js.map +1 -0
  631. package/_cjs/utils/signature/signatureToHex.js.map +1 -1
  632. package/_cjs/utils/signature/verifyMessage.js.map +1 -1
  633. package/_cjs/utils/signature/verifyTypedData.js.map +1 -1
  634. package/_cjs/utils/stringify.js.map +1 -1
  635. package/_cjs/utils/transaction/assertRequest.js.map +1 -1
  636. package/_cjs/utils/transaction/assertTransaction.js.map +1 -1
  637. package/_cjs/utils/transaction/getSerializedTransactionType.js.map +1 -1
  638. package/_cjs/utils/transaction/getTransactionType.js.map +1 -1
  639. package/_cjs/utils/transaction/parseTransaction.js.map +1 -1
  640. package/_cjs/utils/transaction/serializeAccessList.js.map +1 -1
  641. package/_cjs/utils/transaction/serializeTransaction.js.map +1 -1
  642. package/_cjs/utils/typedData.js.map +1 -1
  643. package/_cjs/utils/unit/formatEther.js.map +1 -1
  644. package/_cjs/utils/unit/formatGwei.js.map +1 -1
  645. package/_cjs/utils/unit/formatUnits.js.map +1 -1
  646. package/_cjs/utils/unit/parseEther.js.map +1 -1
  647. package/_cjs/utils/unit/parseGwei.js.map +1 -1
  648. package/_cjs/utils/unit/parseUnits.js.map +1 -1
  649. package/_esm/accounts/generateMnemonic.js.map +1 -1
  650. package/_esm/accounts/generatePrivateKey.js.map +1 -1
  651. package/_esm/accounts/hdKeyToAccount.js +1 -1
  652. package/_esm/accounts/hdKeyToAccount.js.map +1 -1
  653. package/_esm/accounts/index.js +10 -10
  654. package/_esm/accounts/index.js.map +1 -1
  655. package/_esm/accounts/mnemonicToAccount.js +1 -1
  656. package/_esm/accounts/mnemonicToAccount.js.map +1 -1
  657. package/_esm/accounts/privateKeyToAccount.js +3 -3
  658. package/_esm/accounts/privateKeyToAccount.js.map +1 -1
  659. package/_esm/accounts/toAccount.js +2 -2
  660. package/_esm/accounts/toAccount.js.map +1 -1
  661. package/_esm/accounts/utils/parseAccount.js.map +1 -1
  662. package/_esm/accounts/utils/privateKeyToAddress.js +2 -2
  663. package/_esm/accounts/utils/privateKeyToAddress.js.map +1 -1
  664. package/_esm/accounts/utils/publicKeyToAddress.js +2 -2
  665. package/_esm/accounts/utils/publicKeyToAddress.js.map +1 -1
  666. package/_esm/accounts/utils/sign.js.map +1 -1
  667. package/_esm/accounts/utils/signMessage.js +2 -2
  668. package/_esm/accounts/utils/signMessage.js.map +1 -1
  669. package/_esm/accounts/utils/signTransaction.js +1 -1
  670. package/_esm/accounts/utils/signTransaction.js.map +1 -1
  671. package/_esm/accounts/utils/signTypedData.js +2 -2
  672. package/_esm/accounts/utils/signTypedData.js.map +1 -1
  673. package/_esm/actions/ens/getEnsAddress.js +6 -5
  674. package/_esm/actions/ens/getEnsAddress.js.map +1 -1
  675. package/_esm/actions/ens/getEnsAvatar.js +4 -3
  676. package/_esm/actions/ens/getEnsAvatar.js.map +1 -1
  677. package/_esm/actions/ens/getEnsName.js +4 -3
  678. package/_esm/actions/ens/getEnsName.js.map +1 -1
  679. package/_esm/actions/ens/getEnsResolver.js +4 -3
  680. package/_esm/actions/ens/getEnsResolver.js.map +1 -1
  681. package/_esm/actions/ens/getEnsText.js +6 -5
  682. package/_esm/actions/ens/getEnsText.js.map +1 -1
  683. package/_esm/actions/getContract.js +37 -8
  684. package/_esm/actions/getContract.js.map +1 -1
  685. package/_esm/actions/index.js +8 -8
  686. package/_esm/actions/index.js.map +1 -1
  687. package/_esm/actions/public/call.js +11 -11
  688. package/_esm/actions/public/call.js.map +1 -1
  689. package/_esm/actions/public/createBlockFilter.js.map +1 -1
  690. package/_esm/actions/public/createContractEventFilter.js +1 -1
  691. package/_esm/actions/public/createContractEventFilter.js.map +1 -1
  692. package/_esm/actions/public/createEventFilter.js +1 -1
  693. package/_esm/actions/public/createEventFilter.js.map +1 -1
  694. package/_esm/actions/public/createPendingTransactionFilter.js.map +1 -1
  695. package/_esm/actions/public/estimateContractGas.js +15 -6
  696. package/_esm/actions/public/estimateContractGas.js.map +1 -1
  697. package/_esm/actions/public/estimateFeesPerGas.js +4 -3
  698. package/_esm/actions/public/estimateFeesPerGas.js.map +1 -1
  699. package/_esm/actions/public/estimateGas.js +6 -6
  700. package/_esm/actions/public/estimateGas.js.map +1 -1
  701. package/_esm/actions/public/estimateMaxPriorityFeePerGas.js +7 -6
  702. package/_esm/actions/public/estimateMaxPriorityFeePerGas.js.map +1 -1
  703. package/_esm/actions/public/getBalance.js +1 -1
  704. package/_esm/actions/public/getBalance.js.map +1 -1
  705. package/_esm/actions/public/getBlock.js +2 -2
  706. package/_esm/actions/public/getBlock.js.map +1 -1
  707. package/_esm/actions/public/getBlockNumber.js.map +1 -1
  708. package/_esm/actions/public/getBlockTransactionCount.js +2 -2
  709. package/_esm/actions/public/getBlockTransactionCount.js.map +1 -1
  710. package/_esm/actions/public/getBytecode.js +1 -1
  711. package/_esm/actions/public/getBytecode.js.map +1 -1
  712. package/_esm/actions/public/getChainId.js +1 -1
  713. package/_esm/actions/public/getChainId.js.map +1 -1
  714. package/_esm/actions/public/getContractEvents.js +49 -0
  715. package/_esm/actions/public/getContractEvents.js.map +1 -0
  716. package/_esm/actions/public/getFeeHistory.js +2 -2
  717. package/_esm/actions/public/getFeeHistory.js.map +1 -1
  718. package/_esm/actions/public/getFilterChanges.js +2 -2
  719. package/_esm/actions/public/getFilterChanges.js.map +1 -1
  720. package/_esm/actions/public/getFilterLogs.js +2 -2
  721. package/_esm/actions/public/getFilterLogs.js.map +1 -1
  722. package/_esm/actions/public/getGasPrice.js.map +1 -1
  723. package/_esm/actions/public/getLogs.js +3 -3
  724. package/_esm/actions/public/getLogs.js.map +1 -1
  725. package/_esm/actions/public/getProof.js +37 -0
  726. package/_esm/actions/public/getProof.js.map +1 -0
  727. package/_esm/actions/public/getStorageAt.js +1 -1
  728. package/_esm/actions/public/getStorageAt.js.map +1 -1
  729. package/_esm/actions/public/getTransaction.js +1 -1
  730. package/_esm/actions/public/getTransaction.js.map +1 -1
  731. package/_esm/actions/public/getTransactionConfirmations.js +5 -4
  732. package/_esm/actions/public/getTransactionConfirmations.js.map +1 -1
  733. package/_esm/actions/public/getTransactionCount.js +2 -2
  734. package/_esm/actions/public/getTransactionCount.js.map +1 -1
  735. package/_esm/actions/public/getTransactionReceipt.js +1 -1
  736. package/_esm/actions/public/getTransactionReceipt.js.map +1 -1
  737. package/_esm/actions/public/multicall.js +6 -5
  738. package/_esm/actions/public/multicall.js.map +1 -1
  739. package/_esm/actions/public/readContract.js +10 -5
  740. package/_esm/actions/public/readContract.js.map +1 -1
  741. package/_esm/actions/public/simulateContract.js +9 -6
  742. package/_esm/actions/public/simulateContract.js.map +1 -1
  743. package/_esm/actions/public/uninstallFilter.js.map +1 -1
  744. package/_esm/actions/public/verifyHash.js +3 -2
  745. package/_esm/actions/public/verifyHash.js.map +1 -1
  746. package/_esm/actions/public/verifyMessage.js +1 -1
  747. package/_esm/actions/public/verifyMessage.js.map +1 -1
  748. package/_esm/actions/public/verifyTypedData.js +2 -2
  749. package/_esm/actions/public/verifyTypedData.js.map +1 -1
  750. package/_esm/actions/public/waitForTransactionReceipt.js +7 -6
  751. package/_esm/actions/public/waitForTransactionReceipt.js.map +1 -1
  752. package/_esm/actions/public/watchBlockNumber.js +2 -1
  753. package/_esm/actions/public/watchBlockNumber.js.map +1 -1
  754. package/_esm/actions/public/watchBlocks.js +4 -3
  755. package/_esm/actions/public/watchBlocks.js.map +1 -1
  756. package/_esm/actions/public/watchContractEvent.js +9 -11
  757. package/_esm/actions/public/watchContractEvent.js.map +1 -1
  758. package/_esm/actions/public/watchEvent.js +6 -5
  759. package/_esm/actions/public/watchEvent.js.map +1 -1
  760. package/_esm/actions/public/watchPendingTransactions.js +4 -3
  761. package/_esm/actions/public/watchPendingTransactions.js.map +1 -1
  762. package/_esm/actions/test/dropTransaction.js.map +1 -1
  763. package/_esm/actions/test/getAutomine.js.map +1 -1
  764. package/_esm/actions/test/getTxpoolContent.js.map +1 -1
  765. package/_esm/actions/test/getTxpoolStatus.js.map +1 -1
  766. package/_esm/actions/test/impersonateAccount.js.map +1 -1
  767. package/_esm/actions/test/increaseTime.js.map +1 -1
  768. package/_esm/actions/test/inspectTxpool.js.map +1 -1
  769. package/_esm/actions/test/mine.js.map +1 -1
  770. package/_esm/actions/test/removeBlockTimestampInterval.js.map +1 -1
  771. package/_esm/actions/test/reset.js.map +1 -1
  772. package/_esm/actions/test/revert.js.map +1 -1
  773. package/_esm/actions/test/sendUnsignedTransaction.js +3 -3
  774. package/_esm/actions/test/sendUnsignedTransaction.js.map +1 -1
  775. package/_esm/actions/test/setAutomine.js.map +1 -1
  776. package/_esm/actions/test/setBalance.js.map +1 -1
  777. package/_esm/actions/test/setBlockGasLimit.js.map +1 -1
  778. package/_esm/actions/test/setBlockTimestampInterval.js +6 -1
  779. package/_esm/actions/test/setBlockTimestampInterval.js.map +1 -1
  780. package/_esm/actions/test/setCode.js.map +1 -1
  781. package/_esm/actions/test/setCoinbase.js.map +1 -1
  782. package/_esm/actions/test/setIntervalMining.js +6 -1
  783. package/_esm/actions/test/setIntervalMining.js.map +1 -1
  784. package/_esm/actions/test/setLoggingEnabled.js.map +1 -1
  785. package/_esm/actions/test/setMinGasPrice.js.map +1 -1
  786. package/_esm/actions/test/setNextBlockBaseFeePerGas.js.map +1 -1
  787. package/_esm/actions/test/setNextBlockTimestamp.js.map +1 -1
  788. package/_esm/actions/test/setNonce.js.map +1 -1
  789. package/_esm/actions/test/setRpcUrl.js.map +1 -1
  790. package/_esm/actions/test/setStorageAt.js.map +1 -1
  791. package/_esm/actions/test/snapshot.js.map +1 -1
  792. package/_esm/actions/test/stopImpersonatingAccount.js.map +1 -1
  793. package/_esm/actions/wallet/addChain.js +1 -1
  794. package/_esm/actions/wallet/addChain.js.map +1 -1
  795. package/_esm/actions/wallet/deployContract.js.map +1 -1
  796. package/_esm/actions/wallet/getAddresses.js +3 -1
  797. package/_esm/actions/wallet/getAddresses.js.map +1 -1
  798. package/_esm/actions/wallet/getPermissions.js.map +1 -1
  799. package/_esm/actions/wallet/prepareTransactionRequest.js +9 -8
  800. package/_esm/actions/wallet/prepareTransactionRequest.js.map +1 -1
  801. package/_esm/actions/wallet/requestAddresses.js.map +1 -1
  802. package/_esm/actions/wallet/requestPermissions.js.map +1 -1
  803. package/_esm/actions/wallet/sendRawTransaction.js.map +1 -1
  804. package/_esm/actions/wallet/sendTransaction.js +13 -11
  805. package/_esm/actions/wallet/sendTransaction.js.map +1 -1
  806. package/_esm/actions/wallet/signMessage.js +2 -2
  807. package/_esm/actions/wallet/signMessage.js.map +1 -1
  808. package/_esm/actions/wallet/signTransaction.js +6 -5
  809. package/_esm/actions/wallet/signTransaction.js.map +1 -1
  810. package/_esm/actions/wallet/signTypedData.js +2 -2
  811. package/_esm/actions/wallet/signTypedData.js.map +1 -1
  812. package/_esm/actions/wallet/switchChain.js +1 -1
  813. package/_esm/actions/wallet/switchChain.js.map +1 -1
  814. package/_esm/actions/wallet/watchAsset.js.map +1 -1
  815. package/_esm/actions/wallet/writeContract.js +4 -3
  816. package/_esm/actions/wallet/writeContract.js.map +1 -1
  817. package/_esm/chains/celo/formatters.js +34 -5
  818. package/_esm/chains/celo/formatters.js.map +1 -1
  819. package/_esm/chains/celo/parsers.js +56 -1
  820. package/_esm/chains/celo/parsers.js.map +1 -1
  821. package/_esm/chains/celo/serializers.js +73 -7
  822. package/_esm/chains/celo/serializers.js.map +1 -1
  823. package/_esm/chains/definitions/arbitrum.js +1 -14
  824. package/_esm/chains/definitions/arbitrum.js.map +1 -1
  825. package/_esm/chains/definitions/arbitrumGoerli.js +3 -15
  826. package/_esm/chains/definitions/arbitrumGoerli.js.map +1 -1
  827. package/_esm/chains/definitions/arbitrumNova.js +1 -14
  828. package/_esm/chains/definitions/arbitrumNova.js.map +1 -1
  829. package/_esm/chains/definitions/arbitrumSepolia.js +29 -0
  830. package/_esm/chains/definitions/arbitrumSepolia.js.map +1 -0
  831. package/_esm/chains/definitions/astarZkatana.js +39 -0
  832. package/_esm/chains/definitions/astarZkatana.js.map +1 -0
  833. package/_esm/chains/definitions/aurora.js +1 -5
  834. package/_esm/chains/definitions/aurora.js.map +1 -1
  835. package/_esm/chains/definitions/auroraTestnet.js +1 -5
  836. package/_esm/chains/definitions/auroraTestnet.js.map +1 -1
  837. package/_esm/chains/definitions/avalanche.js +1 -4
  838. package/_esm/chains/definitions/avalanche.js.map +1 -1
  839. package/_esm/chains/definitions/avalancheFuji.js +1 -4
  840. package/_esm/chains/definitions/avalancheFuji.js.map +1 -1
  841. package/_esm/chains/definitions/base.js +1 -18
  842. package/_esm/chains/definitions/base.js.map +1 -1
  843. package/_esm/chains/definitions/baseGoerli.js +3 -18
  844. package/_esm/chains/definitions/baseGoerli.js.map +1 -1
  845. package/_esm/chains/definitions/baseSepolia.js +30 -0
  846. package/_esm/chains/definitions/baseSepolia.js.map +1 -0
  847. package/_esm/chains/definitions/bearNetworkChainMainnet.js +1 -3
  848. package/_esm/chains/definitions/bearNetworkChainMainnet.js.map +1 -1
  849. package/_esm/chains/definitions/bearNetworkChainTestnet.js +1 -3
  850. package/_esm/chains/definitions/bearNetworkChainTestnet.js.map +1 -1
  851. package/_esm/chains/definitions/boba.js +1 -4
  852. package/_esm/chains/definitions/boba.js.map +1 -1
  853. package/_esm/chains/definitions/bronos.js +1 -3
  854. package/_esm/chains/definitions/bronos.js.map +1 -1
  855. package/_esm/chains/definitions/bronosTestnet.js +1 -3
  856. package/_esm/chains/definitions/bronosTestnet.js.map +1 -1
  857. package/_esm/chains/definitions/bsc.js +1 -4
  858. package/_esm/chains/definitions/bsc.js.map +1 -1
  859. package/_esm/chains/definitions/bscTestnet.js +1 -4
  860. package/_esm/chains/definitions/bscTestnet.js.map +1 -1
  861. package/_esm/chains/definitions/bxn.js +1 -5
  862. package/_esm/chains/definitions/bxn.js.map +1 -1
  863. package/_esm/chains/definitions/bxnTestnet.js +1 -5
  864. package/_esm/chains/definitions/bxnTestnet.js.map +1 -1
  865. package/_esm/chains/definitions/canto.js +1 -3
  866. package/_esm/chains/definitions/canto.js.map +1 -1
  867. package/_esm/chains/definitions/celo.js +1 -10
  868. package/_esm/chains/definitions/celo.js.map +1 -1
  869. package/_esm/chains/definitions/celoAlfajores.js +1 -10
  870. package/_esm/chains/definitions/celoAlfajores.js.map +1 -1
  871. package/_esm/chains/definitions/celoCannoli.js +1 -6
  872. package/_esm/chains/definitions/celoCannoli.js.map +1 -1
  873. package/_esm/chains/definitions/classic.js +1 -3
  874. package/_esm/chains/definitions/classic.js.map +1 -1
  875. package/_esm/chains/definitions/confluxESpace.js +1 -5
  876. package/_esm/chains/definitions/confluxESpace.js.map +1 -1
  877. package/_esm/chains/definitions/coreDao.js +24 -0
  878. package/_esm/chains/definitions/coreDao.js.map +1 -0
  879. package/_esm/chains/definitions/cronos.js +1 -3
  880. package/_esm/chains/definitions/cronos.js.map +1 -1
  881. package/_esm/chains/definitions/cronosTestnet.js +1 -3
  882. package/_esm/chains/definitions/cronosTestnet.js.map +1 -1
  883. package/_esm/chains/definitions/crossbell.js +1 -5
  884. package/_esm/chains/definitions/crossbell.js.map +1 -1
  885. package/_esm/chains/definitions/dfk.js +1 -9
  886. package/_esm/chains/definitions/dfk.js.map +1 -1
  887. package/_esm/chains/definitions/dogechain.js +1 -7
  888. package/_esm/chains/definitions/dogechain.js.map +1 -1
  889. package/_esm/chains/definitions/edgeware.js +1 -4
  890. package/_esm/chains/definitions/edgeware.js.map +1 -1
  891. package/_esm/chains/definitions/edgewareTestnet.js +1 -7
  892. package/_esm/chains/definitions/edgewareTestnet.js.map +1 -1
  893. package/_esm/chains/definitions/ekta.js +1 -3
  894. package/_esm/chains/definitions/ekta.js.map +1 -1
  895. package/_esm/chains/definitions/ektaTestnet.js +1 -3
  896. package/_esm/chains/definitions/ektaTestnet.js.map +1 -1
  897. package/_esm/chains/definitions/eon.js +1 -3
  898. package/_esm/chains/definitions/eon.js.map +1 -1
  899. package/_esm/chains/definitions/eos.js +1 -7
  900. package/_esm/chains/definitions/eos.js.map +1 -1
  901. package/_esm/chains/definitions/eosTestnet.js +1 -7
  902. package/_esm/chains/definitions/eosTestnet.js.map +1 -1
  903. package/_esm/chains/definitions/evmos.js +1 -3
  904. package/_esm/chains/definitions/evmos.js.map +1 -1
  905. package/_esm/chains/definitions/evmosTestnet.js +1 -3
  906. package/_esm/chains/definitions/evmosTestnet.js.map +1 -1
  907. package/_esm/chains/definitions/fantom.js +1 -4
  908. package/_esm/chains/definitions/fantom.js.map +1 -1
  909. package/_esm/chains/definitions/fantomTestnet.js +1 -4
  910. package/_esm/chains/definitions/fantomTestnet.js.map +1 -1
  911. package/_esm/chains/definitions/fibo.js +1 -3
  912. package/_esm/chains/definitions/fibo.js.map +1 -1
  913. package/_esm/chains/definitions/filecoin.js +1 -6
  914. package/_esm/chains/definitions/filecoin.js.map +1 -1
  915. package/_esm/chains/definitions/filecoinCalibration.js +1 -3
  916. package/_esm/chains/definitions/filecoinCalibration.js.map +1 -1
  917. package/_esm/chains/definitions/filecoinHyperspace.js +1 -4
  918. package/_esm/chains/definitions/filecoinHyperspace.js.map +1 -1
  919. package/_esm/chains/definitions/flare.js +1 -3
  920. package/_esm/chains/definitions/flare.js.map +1 -1
  921. package/_esm/chains/definitions/flareTestnet.js +1 -3
  922. package/_esm/chains/definitions/flareTestnet.js.map +1 -1
  923. package/_esm/chains/definitions/foundry.js +1 -6
  924. package/_esm/chains/definitions/foundry.js.map +1 -1
  925. package/_esm/chains/definitions/fuse.js +7 -3
  926. package/_esm/chains/definitions/fuse.js.map +1 -1
  927. package/_esm/chains/definitions/fuseSparknet.js +1 -3
  928. package/_esm/chains/definitions/fuseSparknet.js.map +1 -1
  929. package/_esm/chains/definitions/gnosis.js +1 -7
  930. package/_esm/chains/definitions/gnosis.js.map +1 -1
  931. package/_esm/chains/definitions/gnosisChiado.js +1 -3
  932. package/_esm/chains/definitions/gnosisChiado.js.map +1 -1
  933. package/_esm/chains/definitions/gobi.js +1 -3
  934. package/_esm/chains/definitions/gobi.js.map +1 -1
  935. package/_esm/chains/definitions/goerli.js +1 -17
  936. package/_esm/chains/definitions/goerli.js.map +1 -1
  937. package/_esm/chains/definitions/haqqMainnet.js +1 -5
  938. package/_esm/chains/definitions/haqqMainnet.js.map +1 -1
  939. package/_esm/chains/definitions/haqqTestedge2.js +1 -5
  940. package/_esm/chains/definitions/haqqTestedge2.js.map +1 -1
  941. package/_esm/chains/definitions/hardhat.js +1 -3
  942. package/_esm/chains/definitions/hardhat.js.map +1 -1
  943. package/_esm/chains/definitions/harmonyOne.js +1 -3
  944. package/_esm/chains/definitions/harmonyOne.js.map +1 -1
  945. package/_esm/chains/definitions/holesky.js +7 -6
  946. package/_esm/chains/definitions/holesky.js.map +1 -1
  947. package/_esm/chains/definitions/iotex.js +1 -6
  948. package/_esm/chains/definitions/iotex.js.map +1 -1
  949. package/_esm/chains/definitions/iotexTestnet.js +1 -6
  950. package/_esm/chains/definitions/iotexTestnet.js.map +1 -1
  951. package/_esm/chains/definitions/klaytn.js +1 -4
  952. package/_esm/chains/definitions/klaytn.js.map +1 -1
  953. package/_esm/chains/definitions/kroma.js +1 -5
  954. package/_esm/chains/definitions/kroma.js.map +1 -1
  955. package/_esm/chains/definitions/kromaSepolia.js +1 -5
  956. package/_esm/chains/definitions/kromaSepolia.js.map +1 -1
  957. package/_esm/chains/definitions/linea.js +1 -18
  958. package/_esm/chains/definitions/linea.js.map +1 -1
  959. package/_esm/chains/definitions/lineaTestnet.js +1 -18
  960. package/_esm/chains/definitions/lineaTestnet.js.map +1 -1
  961. package/_esm/chains/definitions/localhost.js +1 -3
  962. package/_esm/chains/definitions/localhost.js.map +1 -1
  963. package/_esm/chains/definitions/mainnet.js +1 -17
  964. package/_esm/chains/definitions/mainnet.js.map +1 -1
  965. package/_esm/chains/definitions/manta.js +32 -0
  966. package/_esm/chains/definitions/manta.js.map +1 -0
  967. package/_esm/chains/definitions/mantaTestnet.js +33 -0
  968. package/_esm/chains/definitions/mantaTestnet.js.map +1 -0
  969. package/_esm/chains/definitions/mantle.js +1 -7
  970. package/_esm/chains/definitions/mantle.js.map +1 -1
  971. package/_esm/chains/definitions/mantleTestnet.js +1 -7
  972. package/_esm/chains/definitions/mantleTestnet.js.map +1 -1
  973. package/_esm/chains/definitions/meter.js +1 -3
  974. package/_esm/chains/definitions/meter.js.map +1 -1
  975. package/_esm/chains/definitions/meterTestnet.js +1 -3
  976. package/_esm/chains/definitions/meterTestnet.js.map +1 -1
  977. package/_esm/chains/definitions/metis.js +1 -3
  978. package/_esm/chains/definitions/metis.js.map +1 -1
  979. package/_esm/chains/definitions/metisGoerli.js +1 -3
  980. package/_esm/chains/definitions/metisGoerli.js.map +1 -1
  981. package/_esm/chains/definitions/mev.js +1 -5
  982. package/_esm/chains/definitions/mev.js.map +1 -1
  983. package/_esm/chains/definitions/mevTestnet.js +1 -5
  984. package/_esm/chains/definitions/mevTestnet.js.map +1 -1
  985. package/_esm/chains/definitions/modeTestnet.js +7 -5
  986. package/_esm/chains/definitions/modeTestnet.js.map +1 -1
  987. package/_esm/chains/definitions/moonbaseAlpha.js +1 -10
  988. package/_esm/chains/definitions/moonbaseAlpha.js.map +1 -1
  989. package/_esm/chains/definitions/moonbeam.js +1 -10
  990. package/_esm/chains/definitions/moonbeam.js.map +1 -1
  991. package/_esm/chains/definitions/moonbeamDev.js +17 -0
  992. package/_esm/chains/definitions/moonbeamDev.js.map +1 -0
  993. package/_esm/chains/definitions/moonriver.js +1 -10
  994. package/_esm/chains/definitions/moonriver.js.map +1 -1
  995. package/_esm/chains/definitions/neonDevnet.js +1 -5
  996. package/_esm/chains/definitions/neonDevnet.js.map +1 -1
  997. package/_esm/chains/definitions/nexi.js +1 -9
  998. package/_esm/chains/definitions/nexi.js.map +1 -1
  999. package/_esm/chains/definitions/nexilix.js +1 -4
  1000. package/_esm/chains/definitions/nexilix.js.map +1 -1
  1001. package/_esm/chains/definitions/oasys.js +1 -5
  1002. package/_esm/chains/definitions/oasys.js.map +1 -1
  1003. package/_esm/chains/definitions/okc.js +1 -3
  1004. package/_esm/chains/definitions/okc.js.map +1 -1
  1005. package/_esm/chains/definitions/opBNB.js +1 -3
  1006. package/_esm/chains/definitions/opBNB.js.map +1 -1
  1007. package/_esm/chains/definitions/opBNBTestnet.js +1 -3
  1008. package/_esm/chains/definitions/opBNBTestnet.js.map +1 -1
  1009. package/_esm/chains/definitions/optimism.js +1 -18
  1010. package/_esm/chains/definitions/optimism.js.map +1 -1
  1011. package/_esm/chains/definitions/optimismGoerli.js +1 -18
  1012. package/_esm/chains/definitions/optimismGoerli.js.map +1 -1
  1013. package/_esm/chains/definitions/optimismSepolia.js +27 -0
  1014. package/_esm/chains/definitions/optimismSepolia.js.map +1 -0
  1015. package/_esm/chains/definitions/plinga.js +1 -5
  1016. package/_esm/chains/definitions/plinga.js.map +1 -1
  1017. package/_esm/chains/definitions/polygon.js +1 -17
  1018. package/_esm/chains/definitions/polygon.js.map +1 -1
  1019. package/_esm/chains/definitions/polygonMumbai.js +1 -17
  1020. package/_esm/chains/definitions/polygonMumbai.js.map +1 -1
  1021. package/_esm/chains/definitions/polygonZkEvm.js +1 -5
  1022. package/_esm/chains/definitions/polygonZkEvm.js.map +1 -1
  1023. package/_esm/chains/definitions/polygonZkEvmTestnet.js +1 -9
  1024. package/_esm/chains/definitions/polygonZkEvmTestnet.js.map +1 -1
  1025. package/_esm/chains/definitions/pulsechain.js +1 -6
  1026. package/_esm/chains/definitions/pulsechain.js.map +1 -1
  1027. package/_esm/chains/definitions/pulsechainV4.js +1 -6
  1028. package/_esm/chains/definitions/pulsechainV4.js.map +1 -1
  1029. package/_esm/chains/definitions/qMainnet.js +1 -3
  1030. package/_esm/chains/definitions/qMainnet.js.map +1 -1
  1031. package/_esm/chains/definitions/qTestnet.js +1 -3
  1032. package/_esm/chains/definitions/qTestnet.js.map +1 -1
  1033. package/_esm/chains/definitions/rollux.js +1 -3
  1034. package/_esm/chains/definitions/rollux.js.map +1 -1
  1035. package/_esm/chains/definitions/rolluxTestnet.js +1 -3
  1036. package/_esm/chains/definitions/rolluxTestnet.js.map +1 -1
  1037. package/_esm/chains/definitions/ronin.js +1 -5
  1038. package/_esm/chains/definitions/ronin.js.map +1 -1
  1039. package/_esm/chains/definitions/saigon.js +1 -5
  1040. package/_esm/chains/definitions/saigon.js.map +1 -1
  1041. package/_esm/chains/definitions/scroll.js +26 -0
  1042. package/_esm/chains/definitions/scroll.js.map +1 -0
  1043. package/_esm/chains/definitions/scrollSepolia.js +1 -6
  1044. package/_esm/chains/definitions/scrollSepolia.js.map +1 -1
  1045. package/_esm/chains/definitions/scrollTestnet.js +1 -6
  1046. package/_esm/chains/definitions/scrollTestnet.js.map +1 -1
  1047. package/_esm/chains/definitions/sepolia.js +2 -18
  1048. package/_esm/chains/definitions/sepolia.js.map +1 -1
  1049. package/_esm/chains/definitions/shardeumSphinx.js +1 -5
  1050. package/_esm/chains/definitions/shardeumSphinx.js.map +1 -1
  1051. package/_esm/chains/definitions/skale/brawl.js +1 -10
  1052. package/_esm/chains/definitions/skale/brawl.js.map +1 -1
  1053. package/_esm/chains/definitions/skale/calypso.js +1 -12
  1054. package/_esm/chains/definitions/skale/calypso.js.map +1 -1
  1055. package/_esm/chains/definitions/skale/calypsoTestnet.js +1 -14
  1056. package/_esm/chains/definitions/skale/calypsoTestnet.js.map +1 -1
  1057. package/_esm/chains/definitions/skale/chaosTestnet.js +1 -14
  1058. package/_esm/chains/definitions/skale/chaosTestnet.js.map +1 -1
  1059. package/_esm/chains/definitions/skale/cryptoBlades.js +1 -12
  1060. package/_esm/chains/definitions/skale/cryptoBlades.js.map +1 -1
  1061. package/_esm/chains/definitions/skale/cryptoColosseum.js +1 -10
  1062. package/_esm/chains/definitions/skale/cryptoColosseum.js.map +1 -1
  1063. package/_esm/chains/definitions/skale/europa.js +1 -10
  1064. package/_esm/chains/definitions/skale/europa.js.map +1 -1
  1065. package/_esm/chains/definitions/skale/europaTestnet.js +1 -12
  1066. package/_esm/chains/definitions/skale/europaTestnet.js.map +1 -1
  1067. package/_esm/chains/definitions/skale/exorde.js +1 -10
  1068. package/_esm/chains/definitions/skale/exorde.js.map +1 -1
  1069. package/_esm/chains/definitions/skale/humanProtocol.js +1 -10
  1070. package/_esm/chains/definitions/skale/humanProtocol.js.map +1 -1
  1071. package/_esm/chains/definitions/skale/nebula.js +1 -10
  1072. package/_esm/chains/definitions/skale/nebula.js.map +1 -1
  1073. package/_esm/chains/definitions/skale/nebulaTestnet.js +1 -12
  1074. package/_esm/chains/definitions/skale/nebulaTestnet.js.map +1 -1
  1075. package/_esm/chains/definitions/skale/razor.js +1 -10
  1076. package/_esm/chains/definitions/skale/razor.js.map +1 -1
  1077. package/_esm/chains/definitions/skale/titan.js +1 -10
  1078. package/_esm/chains/definitions/skale/titan.js.map +1 -1
  1079. package/_esm/chains/definitions/skale/titanTestnet.js +1 -14
  1080. package/_esm/chains/definitions/skale/titanTestnet.js.map +1 -1
  1081. package/_esm/chains/definitions/songbird.js +1 -3
  1082. package/_esm/chains/definitions/songbird.js.map +1 -1
  1083. package/_esm/chains/definitions/songbirdTestnet.js +1 -3
  1084. package/_esm/chains/definitions/songbirdTestnet.js.map +1 -1
  1085. package/_esm/chains/definitions/syscoin.js +1 -6
  1086. package/_esm/chains/definitions/syscoin.js.map +1 -1
  1087. package/_esm/chains/definitions/syscoinTestnet.js +1 -6
  1088. package/_esm/chains/definitions/syscoinTestnet.js.map +1 -1
  1089. package/_esm/chains/definitions/taikoJolnir.js +1 -5
  1090. package/_esm/chains/definitions/taikoJolnir.js.map +1 -1
  1091. package/_esm/chains/definitions/taikoTestnetSepolia.js +1 -5
  1092. package/_esm/chains/definitions/taikoTestnetSepolia.js.map +1 -1
  1093. package/_esm/chains/definitions/taraxa.js +1 -5
  1094. package/_esm/chains/definitions/taraxa.js.map +1 -1
  1095. package/_esm/chains/definitions/taraxaTestnet.js +1 -5
  1096. package/_esm/chains/definitions/taraxaTestnet.js.map +1 -1
  1097. package/_esm/chains/definitions/telos.js +1 -3
  1098. package/_esm/chains/definitions/telos.js.map +1 -1
  1099. package/_esm/chains/definitions/telosTestnet.js +1 -3
  1100. package/_esm/chains/definitions/telosTestnet.js.map +1 -1
  1101. package/_esm/chains/definitions/thunderTestnet.js +1 -5
  1102. package/_esm/chains/definitions/thunderTestnet.js.map +1 -1
  1103. package/_esm/chains/definitions/vechain.js +1 -5
  1104. package/_esm/chains/definitions/vechain.js.map +1 -1
  1105. package/_esm/chains/definitions/wanchain.js +1 -12
  1106. package/_esm/chains/definitions/wanchain.js.map +1 -1
  1107. package/_esm/chains/definitions/wanchainTestnet.js +1 -9
  1108. package/_esm/chains/definitions/wanchainTestnet.js.map +1 -1
  1109. package/_esm/chains/definitions/xdc.js +1 -3
  1110. package/_esm/chains/definitions/xdc.js.map +1 -1
  1111. package/_esm/chains/definitions/xdcTestnet.js +1 -3
  1112. package/_esm/chains/definitions/xdcTestnet.js.map +1 -1
  1113. package/_esm/chains/definitions/zetachainAthensTestnet.js +1 -5
  1114. package/_esm/chains/definitions/zetachainAthensTestnet.js.map +1 -1
  1115. package/_esm/chains/definitions/zhejiang.js +1 -13
  1116. package/_esm/chains/definitions/zhejiang.js.map +1 -1
  1117. package/_esm/chains/definitions/zkSync.js +5 -5
  1118. package/_esm/chains/definitions/zkSync.js.map +1 -1
  1119. package/_esm/chains/definitions/zkSyncTestnet.js +5 -5
  1120. package/_esm/chains/definitions/zkSyncTestnet.js.map +1 -1
  1121. package/_esm/chains/definitions/zora.js +1 -7
  1122. package/_esm/chains/definitions/zora.js.map +1 -1
  1123. package/_esm/chains/definitions/zoraSepolia.js +37 -0
  1124. package/_esm/chains/definitions/zoraSepolia.js.map +1 -0
  1125. package/_esm/chains/definitions/zoraTestnet.js +1 -7
  1126. package/_esm/chains/definitions/zoraTestnet.js.map +1 -1
  1127. package/_esm/chains/index.js +10 -0
  1128. package/_esm/chains/index.js.map +1 -1
  1129. package/_esm/chains/utils.js +5 -0
  1130. package/_esm/chains/utils.js.map +1 -1
  1131. package/_esm/chains/zksync/formatters.js +122 -0
  1132. package/_esm/chains/zksync/formatters.js.map +1 -0
  1133. package/_esm/chains/zksync/serializers.js +71 -0
  1134. package/_esm/chains/zksync/serializers.js.map +1 -0
  1135. package/_esm/chains/zksync/types.js +2 -0
  1136. package/_esm/chains/zksync/types.js.map +1 -0
  1137. package/_esm/clients/createClient.js.map +1 -1
  1138. package/_esm/clients/createPublicClient.js +1 -1
  1139. package/_esm/clients/createPublicClient.js.map +1 -1
  1140. package/_esm/clients/createTestClient.js +1 -1
  1141. package/_esm/clients/createTestClient.js.map +1 -1
  1142. package/_esm/clients/createWalletClient.js +1 -1
  1143. package/_esm/clients/createWalletClient.js.map +1 -1
  1144. package/_esm/clients/decorators/public.js +4 -0
  1145. package/_esm/clients/decorators/public.js.map +1 -1
  1146. package/_esm/clients/transports/createTransport.js.map +1 -1
  1147. package/_esm/clients/transports/custom.js.map +1 -1
  1148. package/_esm/clients/transports/fallback.js.map +1 -1
  1149. package/_esm/clients/transports/http.js +3 -1
  1150. package/_esm/clients/transports/http.js.map +1 -1
  1151. package/_esm/clients/transports/webSocket.js +1 -1
  1152. package/_esm/clients/transports/webSocket.js.map +1 -1
  1153. package/_esm/ens/index.js.map +1 -1
  1154. package/_esm/errors/abi.js.map +1 -1
  1155. package/_esm/errors/account.js.map +1 -1
  1156. package/_esm/errors/address.js.map +1 -1
  1157. package/_esm/errors/base.js.map +1 -1
  1158. package/_esm/errors/block.js.map +1 -1
  1159. package/_esm/errors/ccip.js.map +1 -1
  1160. package/_esm/errors/chain.js.map +1 -1
  1161. package/_esm/errors/contract.js.map +1 -1
  1162. package/_esm/errors/cursor.js +24 -0
  1163. package/_esm/errors/cursor.js.map +1 -0
  1164. package/_esm/errors/data.js.map +1 -1
  1165. package/_esm/errors/encoding.js +4 -1
  1166. package/_esm/errors/encoding.js.map +1 -1
  1167. package/_esm/errors/ens.js.map +1 -1
  1168. package/_esm/errors/estimateGas.js.map +1 -1
  1169. package/_esm/errors/fee.js.map +1 -1
  1170. package/_esm/errors/log.js.map +1 -1
  1171. package/_esm/errors/node.js +0 -9
  1172. package/_esm/errors/node.js.map +1 -1
  1173. package/_esm/errors/request.js.map +1 -1
  1174. package/_esm/errors/rpc.js +0 -103
  1175. package/_esm/errors/rpc.js.map +1 -1
  1176. package/_esm/errors/transaction.js.map +1 -1
  1177. package/_esm/errors/transport.js.map +1 -1
  1178. package/_esm/errors/utils.js.map +1 -1
  1179. package/_esm/errors/version.js +1 -1
  1180. package/_esm/errors/version.js.map +1 -1
  1181. package/_esm/index.js +52 -41
  1182. package/_esm/index.js.map +1 -1
  1183. package/_esm/types/eip1193.js +0 -2
  1184. package/_esm/types/eip1193.js.map +1 -1
  1185. package/_esm/types/proof.js +2 -0
  1186. package/_esm/types/proof.js.map +1 -0
  1187. package/_esm/types/withdrawal.js +2 -0
  1188. package/_esm/types/withdrawal.js.map +1 -0
  1189. package/_esm/utils/abi/decodeAbiParameters.js +2 -3
  1190. package/_esm/utils/abi/decodeAbiParameters.js.map +1 -1
  1191. package/_esm/utils/abi/decodeDeployData.js +1 -1
  1192. package/_esm/utils/abi/decodeDeployData.js.map +1 -1
  1193. package/_esm/utils/abi/decodeErrorResult.js +2 -2
  1194. package/_esm/utils/abi/decodeErrorResult.js.map +1 -1
  1195. package/_esm/utils/abi/decodeEventLog.js +11 -13
  1196. package/_esm/utils/abi/decodeEventLog.js.map +1 -1
  1197. package/_esm/utils/abi/decodeFunctionData.js +2 -2
  1198. package/_esm/utils/abi/decodeFunctionData.js.map +1 -1
  1199. package/_esm/utils/abi/decodeFunctionResult.js +1 -1
  1200. package/_esm/utils/abi/decodeFunctionResult.js.map +1 -1
  1201. package/_esm/utils/abi/encodeAbiParameters.js +2 -4
  1202. package/_esm/utils/abi/encodeAbiParameters.js.map +1 -1
  1203. package/_esm/utils/abi/encodeDeployData.js +1 -1
  1204. package/_esm/utils/abi/encodeDeployData.js.map +1 -1
  1205. package/_esm/utils/abi/encodeErrorResult.js +2 -2
  1206. package/_esm/utils/abi/encodeErrorResult.js.map +1 -1
  1207. package/_esm/utils/abi/encodeEventTopics.js +4 -4
  1208. package/_esm/utils/abi/encodeEventTopics.js.map +1 -1
  1209. package/_esm/utils/abi/encodeFunctionData.js +3 -3
  1210. package/_esm/utils/abi/encodeFunctionData.js.map +1 -1
  1211. package/_esm/utils/abi/encodeFunctionResult.js +1 -1
  1212. package/_esm/utils/abi/encodeFunctionResult.js.map +1 -1
  1213. package/_esm/utils/abi/encodePacked.js +2 -2
  1214. package/_esm/utils/abi/encodePacked.js.map +1 -1
  1215. package/_esm/utils/abi/formatAbiItem.js +1 -1
  1216. package/_esm/utils/abi/formatAbiItem.js.map +1 -1
  1217. package/_esm/utils/abi/formatAbiItemWithArgs.js.map +1 -1
  1218. package/_esm/utils/abi/getAbiItem.js +3 -3
  1219. package/_esm/utils/abi/getAbiItem.js.map +1 -1
  1220. package/_esm/utils/address/getAddress.js +1 -1
  1221. package/_esm/utils/address/getAddress.js.map +1 -1
  1222. package/_esm/utils/address/getContractAddress.js +8 -3
  1223. package/_esm/utils/address/getContractAddress.js.map +1 -1
  1224. package/_esm/utils/address/isAddress.js.map +1 -1
  1225. package/_esm/utils/address/isAddressEqual.js +1 -1
  1226. package/_esm/utils/address/isAddressEqual.js.map +1 -1
  1227. package/_esm/utils/buildRequest.js +1 -1
  1228. package/_esm/utils/buildRequest.js.map +1 -1
  1229. package/_esm/utils/ccip.js.map +1 -1
  1230. package/_esm/utils/chain/assertCurrentChain.js +8 -0
  1231. package/_esm/utils/chain/assertCurrentChain.js.map +1 -0
  1232. package/_esm/utils/chain/defineChain.js +9 -0
  1233. package/_esm/utils/chain/defineChain.js.map +1 -0
  1234. package/_esm/utils/chain/extractChain.js +4 -0
  1235. package/_esm/utils/chain/extractChain.js.map +1 -0
  1236. package/_esm/utils/chain/getChainContractAddress.js +22 -0
  1237. package/_esm/utils/chain/getChainContractAddress.js.map +1 -0
  1238. package/_esm/utils/contract/extractFunctionParts.js.map +1 -1
  1239. package/_esm/utils/cursor.js +130 -0
  1240. package/_esm/utils/cursor.js.map +1 -0
  1241. package/_esm/utils/data/concat.js.map +1 -1
  1242. package/_esm/utils/data/isBytes.js.map +1 -1
  1243. package/_esm/utils/data/isBytesEqual.js.map +1 -1
  1244. package/_esm/utils/data/isHex.js.map +1 -1
  1245. package/_esm/utils/data/pad.js +1 -1
  1246. package/_esm/utils/data/pad.js.map +1 -1
  1247. package/_esm/utils/data/size.js.map +1 -1
  1248. package/_esm/utils/data/slice.js +1 -1
  1249. package/_esm/utils/data/slice.js.map +1 -1
  1250. package/_esm/utils/data/trim.js.map +1 -1
  1251. package/_esm/utils/encoding/fromBytes.js +5 -5
  1252. package/_esm/utils/encoding/fromBytes.js.map +1 -1
  1253. package/_esm/utils/encoding/fromHex.js.map +1 -1
  1254. package/_esm/utils/encoding/fromRlp.js +55 -76
  1255. package/_esm/utils/encoding/fromRlp.js.map +1 -1
  1256. package/_esm/utils/encoding/toBytes.js +28 -9
  1257. package/_esm/utils/encoding/toBytes.js.map +1 -1
  1258. package/_esm/utils/encoding/toHex.js +4 -4
  1259. package/_esm/utils/encoding/toHex.js.map +1 -1
  1260. package/_esm/utils/encoding/toRlp.js +92 -23
  1261. package/_esm/utils/encoding/toRlp.js.map +1 -1
  1262. package/_esm/utils/ens/avatar/parseAvatarRecord.js.map +1 -1
  1263. package/_esm/utils/ens/avatar/utils.js +1 -1
  1264. package/_esm/utils/ens/avatar/utils.js.map +1 -1
  1265. package/_esm/utils/ens/encodeLabelhash.js.map +1 -1
  1266. package/_esm/utils/ens/encodedLabelToLabelhash.js.map +1 -1
  1267. package/_esm/utils/ens/errors.js.map +1 -1
  1268. package/_esm/utils/ens/labelhash.js +2 -2
  1269. package/_esm/utils/ens/labelhash.js.map +1 -1
  1270. package/_esm/utils/ens/namehash.js +2 -2
  1271. package/_esm/utils/ens/namehash.js.map +1 -1
  1272. package/_esm/utils/ens/normalize.js.map +1 -1
  1273. package/_esm/utils/ens/packetToBytes.js +2 -2
  1274. package/_esm/utils/ens/packetToBytes.js.map +1 -1
  1275. package/_esm/utils/errors/getCallError.js +8 -5
  1276. package/_esm/utils/errors/getCallError.js.map +1 -1
  1277. package/_esm/utils/errors/getContractError.js +14 -13
  1278. package/_esm/utils/errors/getContractError.js.map +1 -1
  1279. package/_esm/utils/errors/getEstimateGasError.js +8 -5
  1280. package/_esm/utils/errors/getEstimateGasError.js.map +1 -1
  1281. package/_esm/utils/errors/getNodeError.js +3 -1
  1282. package/_esm/utils/errors/getNodeError.js.map +1 -1
  1283. package/_esm/utils/errors/getTransactionError.js +8 -5
  1284. package/_esm/utils/errors/getTransactionError.js.map +1 -1
  1285. package/_esm/utils/formatters/block.js.map +1 -1
  1286. package/_esm/utils/formatters/extract.js +16 -9
  1287. package/_esm/utils/formatters/extract.js.map +1 -1
  1288. package/_esm/utils/formatters/feeHistory.js.map +1 -1
  1289. package/_esm/utils/formatters/formatter.js.map +1 -1
  1290. package/_esm/utils/formatters/log.js.map +1 -1
  1291. package/_esm/utils/formatters/proof.js +18 -0
  1292. package/_esm/utils/formatters/proof.js.map +1 -0
  1293. package/_esm/utils/formatters/transaction.js.map +1 -1
  1294. package/_esm/utils/formatters/transactionReceipt.js.map +1 -1
  1295. package/_esm/utils/formatters/transactionRequest.js.map +1 -1
  1296. package/_esm/utils/getAction.js +4 -0
  1297. package/_esm/utils/getAction.js.map +1 -0
  1298. package/_esm/utils/hash/getEventSelector.js +5 -6
  1299. package/_esm/utils/hash/getEventSelector.js.map +1 -1
  1300. package/_esm/utils/hash/getEventSignature.js +5 -0
  1301. package/_esm/utils/hash/getEventSignature.js.map +1 -0
  1302. package/_esm/utils/hash/getFunctionSelector.js +5 -6
  1303. package/_esm/utils/hash/getFunctionSelector.js.map +1 -1
  1304. package/_esm/utils/hash/getFunctionSignature.js +11 -0
  1305. package/_esm/utils/hash/getFunctionSignature.js.map +1 -0
  1306. package/_esm/utils/hash/hashFunction.js +3 -5
  1307. package/_esm/utils/hash/hashFunction.js.map +1 -1
  1308. package/_esm/utils/hash/isHash.js.map +1 -1
  1309. package/_esm/utils/hash/keccak256.js.map +1 -1
  1310. package/_esm/utils/index.js +33 -28
  1311. package/_esm/utils/index.js.map +1 -1
  1312. package/_esm/utils/observe.js.map +1 -1
  1313. package/_esm/utils/poll.js.map +1 -1
  1314. package/_esm/utils/promise/createBatchScheduler.js +3 -1
  1315. package/_esm/utils/promise/createBatchScheduler.js.map +1 -1
  1316. package/_esm/utils/promise/withCache.js.map +1 -1
  1317. package/_esm/utils/promise/withRetry.js.map +1 -1
  1318. package/_esm/utils/promise/withTimeout.js +1 -1
  1319. package/_esm/utils/promise/withTimeout.js.map +1 -1
  1320. package/_esm/utils/rpc.js +4 -8
  1321. package/_esm/utils/rpc.js.map +1 -1
  1322. package/_esm/utils/signature/compactSignatureToHex.js +19 -0
  1323. package/_esm/utils/signature/compactSignatureToHex.js.map +1 -0
  1324. package/_esm/utils/signature/compactSignatureToSignature.js +28 -0
  1325. package/_esm/utils/signature/compactSignatureToSignature.js.map +1 -0
  1326. package/_esm/utils/signature/hashMessage.js +1 -1
  1327. package/_esm/utils/signature/hashMessage.js.map +1 -1
  1328. package/_esm/utils/signature/hashTypedData.js +2 -2
  1329. package/_esm/utils/signature/hashTypedData.js.map +1 -1
  1330. package/_esm/utils/signature/hexToCompactSignature.js +20 -0
  1331. package/_esm/utils/signature/hexToCompactSignature.js.map +1 -0
  1332. package/_esm/utils/signature/hexToSignature.js +1 -1
  1333. package/_esm/utils/signature/hexToSignature.js.map +1 -1
  1334. package/_esm/utils/signature/recoverAddress.js.map +1 -1
  1335. package/_esm/utils/signature/recoverMessageAddress.js +1 -1
  1336. package/_esm/utils/signature/recoverMessageAddress.js.map +1 -1
  1337. package/_esm/utils/signature/recoverPublicKey.js.map +1 -1
  1338. package/_esm/utils/signature/recoverTypedDataAddress.js +1 -1
  1339. package/_esm/utils/signature/recoverTypedDataAddress.js.map +1 -1
  1340. package/_esm/utils/signature/signatureToCompactSignature.js +30 -0
  1341. package/_esm/utils/signature/signatureToCompactSignature.js.map +1 -0
  1342. package/_esm/utils/signature/signatureToHex.js +1 -1
  1343. package/_esm/utils/signature/signatureToHex.js.map +1 -1
  1344. package/_esm/utils/signature/verifyMessage.js +2 -2
  1345. package/_esm/utils/signature/verifyMessage.js.map +1 -1
  1346. package/_esm/utils/signature/verifyTypedData.js +1 -1
  1347. package/_esm/utils/signature/verifyTypedData.js.map +1 -1
  1348. package/_esm/utils/stringify.js.map +1 -1
  1349. package/_esm/utils/transaction/assertRequest.js +4 -4
  1350. package/_esm/utils/transaction/assertRequest.js.map +1 -1
  1351. package/_esm/utils/transaction/assertTransaction.js +3 -3
  1352. package/_esm/utils/transaction/assertTransaction.js.map +1 -1
  1353. package/_esm/utils/transaction/getSerializedTransactionType.js +1 -1
  1354. package/_esm/utils/transaction/getSerializedTransactionType.js.map +1 -1
  1355. package/_esm/utils/transaction/getTransactionType.js +1 -1
  1356. package/_esm/utils/transaction/getTransactionType.js.map +1 -1
  1357. package/_esm/utils/transaction/parseTransaction.js +2 -2
  1358. package/_esm/utils/transaction/parseTransaction.js.map +1 -1
  1359. package/_esm/utils/transaction/serializeAccessList.js +2 -2
  1360. package/_esm/utils/transaction/serializeAccessList.js.map +1 -1
  1361. package/_esm/utils/transaction/serializeTransaction.js +2 -2
  1362. package/_esm/utils/transaction/serializeTransaction.js.map +1 -1
  1363. package/_esm/utils/typedData.js +1 -1
  1364. package/_esm/utils/typedData.js.map +1 -1
  1365. package/_esm/utils/unit/formatEther.js.map +1 -1
  1366. package/_esm/utils/unit/formatGwei.js.map +1 -1
  1367. package/_esm/utils/unit/formatUnits.js.map +1 -1
  1368. package/_esm/utils/unit/parseEther.js.map +1 -1
  1369. package/_esm/utils/unit/parseGwei.js.map +1 -1
  1370. package/_esm/utils/unit/parseUnits.js.map +1 -1
  1371. package/_types/accounts/generateMnemonic.d.ts +2 -0
  1372. package/_types/accounts/generateMnemonic.d.ts.map +1 -1
  1373. package/_types/accounts/generatePrivateKey.d.ts +3 -0
  1374. package/_types/accounts/generatePrivateKey.d.ts.map +1 -1
  1375. package/_types/accounts/hdKeyToAccount.d.ts +4 -0
  1376. package/_types/accounts/hdKeyToAccount.d.ts.map +1 -1
  1377. package/_types/accounts/index.d.ts +14 -14
  1378. package/_types/accounts/index.d.ts.map +1 -1
  1379. package/_types/accounts/mnemonicToAccount.d.ts +3 -0
  1380. package/_types/accounts/mnemonicToAccount.d.ts.map +1 -1
  1381. package/_types/accounts/privateKeyToAccount.d.ts +8 -0
  1382. package/_types/accounts/privateKeyToAccount.d.ts.map +1 -1
  1383. package/_types/accounts/toAccount.d.ts +4 -0
  1384. package/_types/accounts/toAccount.d.ts.map +1 -1
  1385. package/_types/accounts/utils/parseAccount.d.ts +2 -0
  1386. package/_types/accounts/utils/parseAccount.d.ts.map +1 -1
  1387. package/_types/accounts/utils/privateKeyToAddress.d.ts +4 -0
  1388. package/_types/accounts/utils/privateKeyToAddress.d.ts.map +1 -1
  1389. package/_types/accounts/utils/publicKeyToAddress.d.ts +4 -0
  1390. package/_types/accounts/utils/publicKeyToAddress.d.ts.map +1 -1
  1391. package/_types/accounts/utils/sign.d.ts +3 -0
  1392. package/_types/accounts/utils/sign.d.ts.map +1 -1
  1393. package/_types/accounts/utils/signMessage.d.ts +5 -0
  1394. package/_types/accounts/utils/signMessage.d.ts.map +1 -1
  1395. package/_types/accounts/utils/signTransaction.d.ts +4 -0
  1396. package/_types/accounts/utils/signTransaction.d.ts.map +1 -1
  1397. package/_types/accounts/utils/signTypedData.d.ts +5 -0
  1398. package/_types/accounts/utils/signTypedData.d.ts.map +1 -1
  1399. package/_types/actions/ens/getEnsAddress.d.ts +9 -0
  1400. package/_types/actions/ens/getEnsAddress.d.ts.map +1 -1
  1401. package/_types/actions/ens/getEnsAvatar.d.ts +4 -1
  1402. package/_types/actions/ens/getEnsAvatar.d.ts.map +1 -1
  1403. package/_types/actions/ens/getEnsName.d.ts +6 -1
  1404. package/_types/actions/ens/getEnsName.d.ts.map +1 -1
  1405. package/_types/actions/ens/getEnsResolver.d.ts +5 -0
  1406. package/_types/actions/ens/getEnsResolver.d.ts.map +1 -1
  1407. package/_types/actions/ens/getEnsText.d.ts +8 -1
  1408. package/_types/actions/ens/getEnsText.d.ts.map +1 -1
  1409. package/_types/actions/getContract.d.ts +69 -26
  1410. package/_types/actions/getContract.d.ts.map +1 -1
  1411. package/_types/actions/index.d.ts +79 -79
  1412. package/_types/actions/index.d.ts.map +1 -1
  1413. package/_types/actions/public/call.d.ts +15 -1
  1414. package/_types/actions/public/call.d.ts.map +1 -1
  1415. package/_types/actions/public/createBlockFilter.d.ts +3 -0
  1416. package/_types/actions/public/createBlockFilter.d.ts.map +1 -1
  1417. package/_types/actions/public/createContractEventFilter.d.ts +6 -1
  1418. package/_types/actions/public/createContractEventFilter.d.ts.map +1 -1
  1419. package/_types/actions/public/createEventFilter.d.ts +5 -0
  1420. package/_types/actions/public/createEventFilter.d.ts.map +1 -1
  1421. package/_types/actions/public/createPendingTransactionFilter.d.ts +3 -0
  1422. package/_types/actions/public/createPendingTransactionFilter.d.ts.map +1 -1
  1423. package/_types/actions/public/estimateContractGas.d.ts +5 -1
  1424. package/_types/actions/public/estimateContractGas.d.ts.map +1 -1
  1425. package/_types/actions/public/estimateFeesPerGas.d.ts +5 -0
  1426. package/_types/actions/public/estimateFeesPerGas.d.ts.map +1 -1
  1427. package/_types/actions/public/estimateGas.d.ts +6 -0
  1428. package/_types/actions/public/estimateGas.d.ts.map +1 -1
  1429. package/_types/actions/public/estimateMaxPriorityFeePerGas.d.ts +7 -0
  1430. package/_types/actions/public/estimateMaxPriorityFeePerGas.d.ts.map +1 -1
  1431. package/_types/actions/public/getBalance.d.ts +4 -0
  1432. package/_types/actions/public/getBalance.d.ts.map +1 -1
  1433. package/_types/actions/public/getBlock.d.ts +5 -0
  1434. package/_types/actions/public/getBlock.d.ts.map +1 -1
  1435. package/_types/actions/public/getBlockNumber.d.ts +3 -0
  1436. package/_types/actions/public/getBlockNumber.d.ts.map +1 -1
  1437. package/_types/actions/public/getBlockTransactionCount.d.ts +5 -0
  1438. package/_types/actions/public/getBlockTransactionCount.d.ts.map +1 -1
  1439. package/_types/actions/public/getBytecode.d.ts +4 -0
  1440. package/_types/actions/public/getBytecode.d.ts.map +1 -1
  1441. package/_types/actions/public/getChainId.d.ts +4 -0
  1442. package/_types/actions/public/getChainId.d.ts.map +1 -1
  1443. package/_types/actions/public/getContractEvents.d.ts +66 -0
  1444. package/_types/actions/public/getContractEvents.d.ts.map +1 -0
  1445. package/_types/actions/public/getFeeHistory.d.ts +4 -0
  1446. package/_types/actions/public/getFeeHistory.d.ts.map +1 -1
  1447. package/_types/actions/public/getFilterChanges.d.ts +5 -0
  1448. package/_types/actions/public/getFilterChanges.d.ts.map +1 -1
  1449. package/_types/actions/public/getFilterLogs.d.ts +5 -0
  1450. package/_types/actions/public/getFilterLogs.d.ts.map +1 -1
  1451. package/_types/actions/public/getGasPrice.d.ts +3 -0
  1452. package/_types/actions/public/getGasPrice.d.ts.map +1 -1
  1453. package/_types/actions/public/getLogs.d.ts +7 -0
  1454. package/_types/actions/public/getLogs.d.ts.map +1 -1
  1455. package/_types/actions/public/getProof.d.ts +57 -0
  1456. package/_types/actions/public/getProof.d.ts.map +1 -0
  1457. package/_types/actions/public/getStorageAt.d.ts +4 -0
  1458. package/_types/actions/public/getStorageAt.d.ts.map +1 -1
  1459. package/_types/actions/public/getTransaction.d.ts +4 -0
  1460. package/_types/actions/public/getTransaction.d.ts.map +1 -1
  1461. package/_types/actions/public/getTransactionConfirmations.d.ts +4 -0
  1462. package/_types/actions/public/getTransactionConfirmations.d.ts.map +1 -1
  1463. package/_types/actions/public/getTransactionCount.d.ts +5 -0
  1464. package/_types/actions/public/getTransactionCount.d.ts.map +1 -1
  1465. package/_types/actions/public/getTransactionReceipt.d.ts +4 -0
  1466. package/_types/actions/public/getTransactionReceipt.d.ts.map +1 -1
  1467. package/_types/actions/public/multicall.d.ts +7 -0
  1468. package/_types/actions/public/multicall.d.ts.map +1 -1
  1469. package/_types/actions/public/readContract.d.ts +5 -1
  1470. package/_types/actions/public/readContract.d.ts.map +1 -1
  1471. package/_types/actions/public/simulateContract.d.ts +21 -9
  1472. package/_types/actions/public/simulateContract.d.ts.map +1 -1
  1473. package/_types/actions/public/uninstallFilter.d.ts +3 -0
  1474. package/_types/actions/public/uninstallFilter.d.ts.map +1 -1
  1475. package/_types/actions/public/verifyHash.d.ts +7 -1
  1476. package/_types/actions/public/verifyHash.d.ts.map +1 -1
  1477. package/_types/actions/public/verifyMessage.d.ts +4 -1
  1478. package/_types/actions/public/verifyMessage.d.ts.map +1 -1
  1479. package/_types/actions/public/verifyTypedData.d.ts +4 -1
  1480. package/_types/actions/public/verifyTypedData.d.ts.map +1 -1
  1481. package/_types/actions/public/waitForTransactionReceipt.d.ts +7 -1
  1482. package/_types/actions/public/waitForTransactionReceipt.d.ts.map +1 -1
  1483. package/_types/actions/public/watchBlockNumber.d.ts +3 -0
  1484. package/_types/actions/public/watchBlockNumber.d.ts.map +1 -1
  1485. package/_types/actions/public/watchBlocks.d.ts +4 -0
  1486. package/_types/actions/public/watchBlocks.d.ts.map +1 -1
  1487. package/_types/actions/public/watchContractEvent.d.ts +6 -2
  1488. package/_types/actions/public/watchContractEvent.d.ts.map +1 -1
  1489. package/_types/actions/public/watchEvent.d.ts +4 -0
  1490. package/_types/actions/public/watchEvent.d.ts.map +1 -1
  1491. package/_types/actions/public/watchPendingTransactions.d.ts +4 -0
  1492. package/_types/actions/public/watchPendingTransactions.d.ts.map +1 -1
  1493. package/_types/actions/test/dropTransaction.d.ts +3 -0
  1494. package/_types/actions/test/dropTransaction.d.ts.map +1 -1
  1495. package/_types/actions/test/getAutomine.d.ts +3 -0
  1496. package/_types/actions/test/getAutomine.d.ts.map +1 -1
  1497. package/_types/actions/test/getTxpoolContent.d.ts +3 -0
  1498. package/_types/actions/test/getTxpoolContent.d.ts.map +1 -1
  1499. package/_types/actions/test/getTxpoolStatus.d.ts +3 -0
  1500. package/_types/actions/test/getTxpoolStatus.d.ts.map +1 -1
  1501. package/_types/actions/test/impersonateAccount.d.ts +3 -0
  1502. package/_types/actions/test/impersonateAccount.d.ts.map +1 -1
  1503. package/_types/actions/test/increaseTime.d.ts +3 -0
  1504. package/_types/actions/test/increaseTime.d.ts.map +1 -1
  1505. package/_types/actions/test/inspectTxpool.d.ts +3 -0
  1506. package/_types/actions/test/inspectTxpool.d.ts.map +1 -1
  1507. package/_types/actions/test/mine.d.ts +3 -0
  1508. package/_types/actions/test/mine.d.ts.map +1 -1
  1509. package/_types/actions/test/removeBlockTimestampInterval.d.ts +3 -0
  1510. package/_types/actions/test/removeBlockTimestampInterval.d.ts.map +1 -1
  1511. package/_types/actions/test/reset.d.ts +3 -0
  1512. package/_types/actions/test/reset.d.ts.map +1 -1
  1513. package/_types/actions/test/revert.d.ts +3 -0
  1514. package/_types/actions/test/revert.d.ts.map +1 -1
  1515. package/_types/actions/test/sendUnsignedTransaction.d.ts +3 -0
  1516. package/_types/actions/test/sendUnsignedTransaction.d.ts.map +1 -1
  1517. package/_types/actions/test/setAutomine.d.ts +3 -0
  1518. package/_types/actions/test/setAutomine.d.ts.map +1 -1
  1519. package/_types/actions/test/setBalance.d.ts +3 -0
  1520. package/_types/actions/test/setBalance.d.ts.map +1 -1
  1521. package/_types/actions/test/setBlockGasLimit.d.ts +3 -0
  1522. package/_types/actions/test/setBlockGasLimit.d.ts.map +1 -1
  1523. package/_types/actions/test/setBlockTimestampInterval.d.ts +3 -0
  1524. package/_types/actions/test/setBlockTimestampInterval.d.ts.map +1 -1
  1525. package/_types/actions/test/setCode.d.ts +3 -0
  1526. package/_types/actions/test/setCode.d.ts.map +1 -1
  1527. package/_types/actions/test/setCoinbase.d.ts +3 -0
  1528. package/_types/actions/test/setCoinbase.d.ts.map +1 -1
  1529. package/_types/actions/test/setIntervalMining.d.ts +3 -0
  1530. package/_types/actions/test/setIntervalMining.d.ts.map +1 -1
  1531. package/_types/actions/test/setLoggingEnabled.d.ts +3 -0
  1532. package/_types/actions/test/setLoggingEnabled.d.ts.map +1 -1
  1533. package/_types/actions/test/setMinGasPrice.d.ts +3 -0
  1534. package/_types/actions/test/setMinGasPrice.d.ts.map +1 -1
  1535. package/_types/actions/test/setNextBlockBaseFeePerGas.d.ts +3 -0
  1536. package/_types/actions/test/setNextBlockBaseFeePerGas.d.ts.map +1 -1
  1537. package/_types/actions/test/setNextBlockTimestamp.d.ts +3 -0
  1538. package/_types/actions/test/setNextBlockTimestamp.d.ts.map +1 -1
  1539. package/_types/actions/test/setNonce.d.ts +3 -0
  1540. package/_types/actions/test/setNonce.d.ts.map +1 -1
  1541. package/_types/actions/test/setRpcUrl.d.ts +3 -0
  1542. package/_types/actions/test/setRpcUrl.d.ts.map +1 -1
  1543. package/_types/actions/test/setStorageAt.d.ts +3 -0
  1544. package/_types/actions/test/setStorageAt.d.ts.map +1 -1
  1545. package/_types/actions/test/snapshot.d.ts +3 -0
  1546. package/_types/actions/test/snapshot.d.ts.map +1 -1
  1547. package/_types/actions/test/stopImpersonatingAccount.d.ts +3 -0
  1548. package/_types/actions/test/stopImpersonatingAccount.d.ts.map +1 -1
  1549. package/_types/actions/wallet/addChain.d.ts +4 -0
  1550. package/_types/actions/wallet/addChain.d.ts.map +1 -1
  1551. package/_types/actions/wallet/deployContract.d.ts +3 -1
  1552. package/_types/actions/wallet/deployContract.d.ts.map +1 -1
  1553. package/_types/actions/wallet/getAddresses.d.ts +4 -0
  1554. package/_types/actions/wallet/getAddresses.d.ts.map +1 -1
  1555. package/_types/actions/wallet/getPermissions.d.ts +3 -0
  1556. package/_types/actions/wallet/getPermissions.d.ts.map +1 -1
  1557. package/_types/actions/wallet/prepareTransactionRequest.d.ts +9 -1
  1558. package/_types/actions/wallet/prepareTransactionRequest.d.ts.map +1 -1
  1559. package/_types/actions/wallet/requestAddresses.d.ts +3 -0
  1560. package/_types/actions/wallet/requestAddresses.d.ts.map +1 -1
  1561. package/_types/actions/wallet/requestPermissions.d.ts +3 -0
  1562. package/_types/actions/wallet/requestPermissions.d.ts.map +1 -1
  1563. package/_types/actions/wallet/sendRawTransaction.d.ts +3 -0
  1564. package/_types/actions/wallet/sendRawTransaction.d.ts.map +1 -1
  1565. package/_types/actions/wallet/sendTransaction.d.ts +12 -1
  1566. package/_types/actions/wallet/sendTransaction.d.ts.map +1 -1
  1567. package/_types/actions/wallet/signMessage.d.ts +6 -0
  1568. package/_types/actions/wallet/signMessage.d.ts.map +1 -1
  1569. package/_types/actions/wallet/signTransaction.d.ts +10 -1
  1570. package/_types/actions/wallet/signTransaction.d.ts.map +1 -1
  1571. package/_types/actions/wallet/signTypedData.d.ts +9 -0
  1572. package/_types/actions/wallet/signTypedData.d.ts.map +1 -1
  1573. package/_types/actions/wallet/switchChain.d.ts +4 -0
  1574. package/_types/actions/wallet/switchChain.d.ts.map +1 -1
  1575. package/_types/actions/wallet/watchAsset.d.ts +3 -0
  1576. package/_types/actions/wallet/watchAsset.d.ts.map +1 -1
  1577. package/_types/actions/wallet/writeContract.d.ts +5 -2
  1578. package/_types/actions/wallet/writeContract.d.ts.map +1 -1
  1579. package/_types/chains/celo/formatters.d.ts +218 -30
  1580. package/_types/chains/celo/formatters.d.ts.map +1 -1
  1581. package/_types/chains/celo/parsers.d.ts.map +1 -1
  1582. package/_types/chains/celo/serializers.d.ts +3 -1
  1583. package/_types/chains/celo/serializers.d.ts.map +1 -1
  1584. package/_types/chains/celo/types.d.ts +39 -7
  1585. package/_types/chains/celo/types.d.ts.map +1 -1
  1586. package/_types/chains/definitions/arbitrum.d.ts +19 -33
  1587. package/_types/chains/definitions/arbitrum.d.ts.map +1 -1
  1588. package/_types/chains/definitions/arbitrumGoerli.d.ts +21 -32
  1589. package/_types/chains/definitions/arbitrumGoerli.d.ts.map +1 -1
  1590. package/_types/chains/definitions/arbitrumNova.d.ts +19 -33
  1591. package/_types/chains/definitions/arbitrumNova.d.ts.map +1 -1
  1592. package/_types/chains/definitions/arbitrumSepolia.d.ts +32 -0
  1593. package/_types/chains/definitions/arbitrumSepolia.d.ts.map +1 -0
  1594. package/_types/chains/definitions/astarZkatana.d.ts +40 -0
  1595. package/_types/chains/definitions/astarZkatana.d.ts.map +1 -0
  1596. package/_types/chains/definitions/aurora.d.ts +23 -24
  1597. package/_types/chains/definitions/aurora.d.ts.map +1 -1
  1598. package/_types/chains/definitions/auroraTestnet.d.ts +23 -25
  1599. package/_types/chains/definitions/auroraTestnet.d.ts.map +1 -1
  1600. package/_types/chains/definitions/avalanche.d.ts +19 -25
  1601. package/_types/chains/definitions/avalanche.d.ts.map +1 -1
  1602. package/_types/chains/definitions/avalancheFuji.d.ts +19 -26
  1603. package/_types/chains/definitions/avalancheFuji.d.ts.map +1 -1
  1604. package/_types/chains/definitions/base.d.ts +30 -1032
  1605. package/_types/chains/definitions/base.d.ts.map +1 -1
  1606. package/_types/chains/definitions/baseGoerli.d.ts +30 -1030
  1607. package/_types/chains/definitions/baseGoerli.d.ts.map +1 -1
  1608. package/_types/chains/definitions/baseSepolia.d.ts +539 -0
  1609. package/_types/chains/definitions/baseSepolia.d.ts.map +1 -0
  1610. package/_types/chains/definitions/bearNetworkChainMainnet.d.ts +23 -17
  1611. package/_types/chains/definitions/bearNetworkChainMainnet.d.ts.map +1 -1
  1612. package/_types/chains/definitions/bearNetworkChainTestnet.d.ts +23 -18
  1613. package/_types/chains/definitions/bearNetworkChainTestnet.d.ts.map +1 -1
  1614. package/_types/chains/definitions/boba.d.ts +19 -25
  1615. package/_types/chains/definitions/boba.d.ts.map +1 -1
  1616. package/_types/chains/definitions/bronos.d.ts +23 -17
  1617. package/_types/chains/definitions/bronos.d.ts.map +1 -1
  1618. package/_types/chains/definitions/bronosTestnet.d.ts +23 -18
  1619. package/_types/chains/definitions/bronosTestnet.d.ts.map +1 -1
  1620. package/_types/chains/definitions/bsc.d.ts +19 -25
  1621. package/_types/chains/definitions/bsc.d.ts.map +1 -1
  1622. package/_types/chains/definitions/bscTestnet.d.ts +19 -26
  1623. package/_types/chains/definitions/bscTestnet.d.ts.map +1 -1
  1624. package/_types/chains/definitions/bxn.d.ts +23 -17
  1625. package/_types/chains/definitions/bxn.d.ts.map +1 -1
  1626. package/_types/chains/definitions/bxnTestnet.d.ts +23 -17
  1627. package/_types/chains/definitions/bxnTestnet.d.ts.map +1 -1
  1628. package/_types/chains/definitions/canto.d.ts +19 -21
  1629. package/_types/chains/definitions/canto.d.ts.map +1 -1
  1630. package/_types/chains/definitions/celo.d.ts +232 -1430
  1631. package/_types/chains/definitions/celo.d.ts.map +1 -1
  1632. package/_types/chains/definitions/celoAlfajores.d.ts +232 -1430
  1633. package/_types/chains/definitions/celoAlfajores.d.ts.map +1 -1
  1634. package/_types/chains/definitions/celoCannoli.d.ts +232 -1423
  1635. package/_types/chains/definitions/celoCannoli.d.ts.map +1 -1
  1636. package/_types/chains/definitions/classic.d.ts +23 -17
  1637. package/_types/chains/definitions/classic.d.ts.map +1 -1
  1638. package/_types/chains/definitions/confluxESpace.d.ts +19 -21
  1639. package/_types/chains/definitions/confluxESpace.d.ts.map +1 -1
  1640. package/_types/chains/definitions/coreDao.d.ts +32 -0
  1641. package/_types/chains/definitions/coreDao.d.ts.map +1 -0
  1642. package/_types/chains/definitions/cronos.d.ts +19 -21
  1643. package/_types/chains/definitions/cronos.d.ts.map +1 -1
  1644. package/_types/chains/definitions/cronosTestnet.d.ts +19 -22
  1645. package/_types/chains/definitions/cronosTestnet.d.ts.map +1 -1
  1646. package/_types/chains/definitions/crossbell.d.ts +19 -21
  1647. package/_types/chains/definitions/crossbell.d.ts.map +1 -1
  1648. package/_types/chains/definitions/dfk.d.ts +23 -21
  1649. package/_types/chains/definitions/dfk.d.ts.map +1 -1
  1650. package/_types/chains/definitions/dogechain.d.ts +23 -21
  1651. package/_types/chains/definitions/dogechain.d.ts.map +1 -1
  1652. package/_types/chains/definitions/edgeware.d.ts +19 -25
  1653. package/_types/chains/definitions/edgeware.d.ts.map +1 -1
  1654. package/_types/chains/definitions/edgewareTestnet.d.ts +23 -21
  1655. package/_types/chains/definitions/edgewareTestnet.d.ts.map +1 -1
  1656. package/_types/chains/definitions/ekta.d.ts +23 -17
  1657. package/_types/chains/definitions/ekta.d.ts.map +1 -1
  1658. package/_types/chains/definitions/ektaTestnet.d.ts +23 -18
  1659. package/_types/chains/definitions/ektaTestnet.d.ts.map +1 -1
  1660. package/_types/chains/definitions/eon.d.ts +16 -18
  1661. package/_types/chains/definitions/eon.d.ts.map +1 -1
  1662. package/_types/chains/definitions/eos.d.ts +19 -25
  1663. package/_types/chains/definitions/eos.d.ts.map +1 -1
  1664. package/_types/chains/definitions/eosTestnet.d.ts +19 -26
  1665. package/_types/chains/definitions/eosTestnet.d.ts.map +1 -1
  1666. package/_types/chains/definitions/evmos.d.ts +23 -17
  1667. package/_types/chains/definitions/evmos.d.ts.map +1 -1
  1668. package/_types/chains/definitions/evmosTestnet.d.ts +23 -17
  1669. package/_types/chains/definitions/evmosTestnet.d.ts.map +1 -1
  1670. package/_types/chains/definitions/fantom.d.ts +19 -25
  1671. package/_types/chains/definitions/fantom.d.ts.map +1 -1
  1672. package/_types/chains/definitions/fantomTestnet.d.ts +19 -25
  1673. package/_types/chains/definitions/fantomTestnet.d.ts.map +1 -1
  1674. package/_types/chains/definitions/fibo.d.ts +23 -17
  1675. package/_types/chains/definitions/fibo.d.ts.map +1 -1
  1676. package/_types/chains/definitions/filecoin.d.ts +23 -29
  1677. package/_types/chains/definitions/filecoin.d.ts.map +1 -1
  1678. package/_types/chains/definitions/filecoinCalibration.d.ts +23 -17
  1679. package/_types/chains/definitions/filecoinCalibration.d.ts.map +1 -1
  1680. package/_types/chains/definitions/filecoinHyperspace.d.ts +23 -21
  1681. package/_types/chains/definitions/filecoinHyperspace.d.ts.map +1 -1
  1682. package/_types/chains/definitions/flare.d.ts +23 -17
  1683. package/_types/chains/definitions/flare.d.ts.map +1 -1
  1684. package/_types/chains/definitions/flareTestnet.d.ts +23 -18
  1685. package/_types/chains/definitions/flareTestnet.d.ts.map +1 -1
  1686. package/_types/chains/definitions/foundry.d.ts +27 -12
  1687. package/_types/chains/definitions/foundry.d.ts.map +1 -1
  1688. package/_types/chains/definitions/fuse.d.ts +21 -17
  1689. package/_types/chains/definitions/fuse.d.ts.map +1 -1
  1690. package/_types/chains/definitions/fuseSparknet.d.ts +23 -17
  1691. package/_types/chains/definitions/fuseSparknet.d.ts.map +1 -1
  1692. package/_types/chains/definitions/gnosis.d.ts +19 -25
  1693. package/_types/chains/definitions/gnosis.d.ts.map +1 -1
  1694. package/_types/chains/definitions/gnosisChiado.d.ts +23 -18
  1695. package/_types/chains/definitions/gnosisChiado.d.ts.map +1 -1
  1696. package/_types/chains/definitions/gobi.d.ts +16 -19
  1697. package/_types/chains/definitions/gobi.d.ts.map +1 -1
  1698. package/_types/chains/definitions/goerli.d.ts +19 -34
  1699. package/_types/chains/definitions/goerli.d.ts.map +1 -1
  1700. package/_types/chains/definitions/haqqMainnet.d.ts +23 -17
  1701. package/_types/chains/definitions/haqqMainnet.d.ts.map +1 -1
  1702. package/_types/chains/definitions/haqqTestedge2.d.ts +23 -17
  1703. package/_types/chains/definitions/haqqTestedge2.d.ts.map +1 -1
  1704. package/_types/chains/definitions/hardhat.d.ts +27 -11
  1705. package/_types/chains/definitions/hardhat.d.ts.map +1 -1
  1706. package/_types/chains/definitions/harmonyOne.d.ts +19 -21
  1707. package/_types/chains/definitions/harmonyOne.d.ts.map +1 -1
  1708. package/_types/chains/definitions/holesky.d.ts +26 -14
  1709. package/_types/chains/definitions/holesky.d.ts.map +1 -1
  1710. package/_types/chains/definitions/iotex.d.ts +23 -18
  1711. package/_types/chains/definitions/iotex.d.ts.map +1 -1
  1712. package/_types/chains/definitions/iotexTestnet.d.ts +23 -18
  1713. package/_types/chains/definitions/iotexTestnet.d.ts.map +1 -1
  1714. package/_types/chains/definitions/klaytn.d.ts +23 -21
  1715. package/_types/chains/definitions/klaytn.d.ts.map +1 -1
  1716. package/_types/chains/definitions/kroma.d.ts +23 -18
  1717. package/_types/chains/definitions/kroma.d.ts.map +1 -1
  1718. package/_types/chains/definitions/kromaSepolia.d.ts +23 -18
  1719. package/_types/chains/definitions/kromaSepolia.d.ts.map +1 -1
  1720. package/_types/chains/definitions/linea.d.ts +20 -36
  1721. package/_types/chains/definitions/linea.d.ts.map +1 -1
  1722. package/_types/chains/definitions/lineaTestnet.d.ts +20 -36
  1723. package/_types/chains/definitions/lineaTestnet.d.ts.map +1 -1
  1724. package/_types/chains/definitions/localhost.d.ts +27 -11
  1725. package/_types/chains/definitions/localhost.d.ts.map +1 -1
  1726. package/_types/chains/definitions/mainnet.d.ts +19 -33
  1727. package/_types/chains/definitions/mainnet.d.ts.map +1 -1
  1728. package/_types/chains/definitions/manta.d.ts +40 -0
  1729. package/_types/chains/definitions/manta.d.ts.map +1 -0
  1730. package/_types/chains/definitions/mantaTestnet.d.ts +40 -0
  1731. package/_types/chains/definitions/mantaTestnet.d.ts.map +1 -0
  1732. package/_types/chains/definitions/mantle.d.ts +19 -25
  1733. package/_types/chains/definitions/mantle.d.ts.map +1 -1
  1734. package/_types/chains/definitions/mantleTestnet.d.ts +23 -22
  1735. package/_types/chains/definitions/mantleTestnet.d.ts.map +1 -1
  1736. package/_types/chains/definitions/meter.d.ts +23 -17
  1737. package/_types/chains/definitions/meter.d.ts.map +1 -1
  1738. package/_types/chains/definitions/meterTestnet.d.ts +23 -17
  1739. package/_types/chains/definitions/meterTestnet.d.ts.map +1 -1
  1740. package/_types/chains/definitions/metis.d.ts +19 -21
  1741. package/_types/chains/definitions/metis.d.ts.map +1 -1
  1742. package/_types/chains/definitions/metisGoerli.d.ts +19 -21
  1743. package/_types/chains/definitions/metisGoerli.d.ts.map +1 -1
  1744. package/_types/chains/definitions/mev.d.ts +19 -21
  1745. package/_types/chains/definitions/mev.d.ts.map +1 -1
  1746. package/_types/chains/definitions/mevTestnet.d.ts +19 -22
  1747. package/_types/chains/definitions/mevTestnet.d.ts.map +1 -1
  1748. package/_types/chains/definitions/modeTestnet.d.ts +21 -18
  1749. package/_types/chains/definitions/modeTestnet.d.ts.map +1 -1
  1750. package/_types/chains/definitions/moonbaseAlpha.d.ts +20 -28
  1751. package/_types/chains/definitions/moonbaseAlpha.d.ts.map +1 -1
  1752. package/_types/chains/definitions/moonbeam.d.ts +20 -28
  1753. package/_types/chains/definitions/moonbeam.d.ts.map +1 -1
  1754. package/_types/chains/definitions/moonbeamDev.d.ts +39 -0
  1755. package/_types/chains/definitions/moonbeamDev.d.ts.map +1 -0
  1756. package/_types/chains/definitions/moonriver.d.ts +20 -28
  1757. package/_types/chains/definitions/moonriver.d.ts.map +1 -1
  1758. package/_types/chains/definitions/neonDevnet.d.ts +19 -22
  1759. package/_types/chains/definitions/neonDevnet.d.ts.map +1 -1
  1760. package/_types/chains/definitions/nexi.d.ts +19 -25
  1761. package/_types/chains/definitions/nexi.d.ts.map +1 -1
  1762. package/_types/chains/definitions/nexilix.d.ts +19 -25
  1763. package/_types/chains/definitions/nexilix.d.ts.map +1 -1
  1764. package/_types/chains/definitions/oasys.d.ts +23 -17
  1765. package/_types/chains/definitions/oasys.d.ts.map +1 -1
  1766. package/_types/chains/definitions/okc.d.ts +19 -21
  1767. package/_types/chains/definitions/okc.d.ts.map +1 -1
  1768. package/_types/chains/definitions/opBNB.d.ts +19 -21
  1769. package/_types/chains/definitions/opBNB.d.ts.map +1 -1
  1770. package/_types/chains/definitions/opBNBTestnet.d.ts +19 -22
  1771. package/_types/chains/definitions/opBNBTestnet.d.ts.map +1 -1
  1772. package/_types/chains/definitions/optimism.d.ts +30 -1032
  1773. package/_types/chains/definitions/optimism.d.ts.map +1 -1
  1774. package/_types/chains/definitions/optimismGoerli.d.ts +30 -1033
  1775. package/_types/chains/definitions/optimismGoerli.d.ts.map +1 -1
  1776. package/_types/chains/definitions/optimismSepolia.d.ts +529 -0
  1777. package/_types/chains/definitions/optimismSepolia.d.ts.map +1 -0
  1778. package/_types/chains/definitions/plinga.d.ts +19 -21
  1779. package/_types/chains/definitions/plinga.d.ts.map +1 -1
  1780. package/_types/chains/definitions/polygon.d.ts +19 -33
  1781. package/_types/chains/definitions/polygon.d.ts.map +1 -1
  1782. package/_types/chains/definitions/polygonMumbai.d.ts +19 -34
  1783. package/_types/chains/definitions/polygonMumbai.d.ts.map +1 -1
  1784. package/_types/chains/definitions/polygonZkEvm.d.ts +19 -21
  1785. package/_types/chains/definitions/polygonZkEvm.d.ts.map +1 -1
  1786. package/_types/chains/definitions/polygonZkEvmTestnet.d.ts +19 -26
  1787. package/_types/chains/definitions/polygonZkEvmTestnet.d.ts.map +1 -1
  1788. package/_types/chains/definitions/pulsechain.d.ts +20 -24
  1789. package/_types/chains/definitions/pulsechain.d.ts.map +1 -1
  1790. package/_types/chains/definitions/pulsechainV4.d.ts +20 -24
  1791. package/_types/chains/definitions/pulsechainV4.d.ts.map +1 -1
  1792. package/_types/chains/definitions/qMainnet.d.ts +23 -17
  1793. package/_types/chains/definitions/qMainnet.d.ts.map +1 -1
  1794. package/_types/chains/definitions/qTestnet.d.ts +23 -18
  1795. package/_types/chains/definitions/qTestnet.d.ts.map +1 -1
  1796. package/_types/chains/definitions/rollux.d.ts +20 -22
  1797. package/_types/chains/definitions/rollux.d.ts.map +1 -1
  1798. package/_types/chains/definitions/rolluxTestnet.d.ts +20 -22
  1799. package/_types/chains/definitions/rolluxTestnet.d.ts.map +1 -1
  1800. package/_types/chains/definitions/ronin.d.ts +19 -21
  1801. package/_types/chains/definitions/ronin.d.ts.map +1 -1
  1802. package/_types/chains/definitions/saigon.d.ts +19 -22
  1803. package/_types/chains/definitions/saigon.d.ts.map +1 -1
  1804. package/_types/chains/definitions/scroll.d.ts +33 -0
  1805. package/_types/chains/definitions/scroll.d.ts.map +1 -0
  1806. package/_types/chains/definitions/scrollSepolia.d.ts +20 -24
  1807. package/_types/chains/definitions/scrollSepolia.d.ts.map +1 -1
  1808. package/_types/chains/definitions/scrollTestnet.d.ts +23 -19
  1809. package/_types/chains/definitions/scrollTestnet.d.ts.map +1 -1
  1810. package/_types/chains/definitions/sepolia.d.ts +20 -35
  1811. package/_types/chains/definitions/sepolia.d.ts.map +1 -1
  1812. package/_types/chains/definitions/shardeumSphinx.d.ts +23 -18
  1813. package/_types/chains/definitions/shardeumSphinx.d.ts.map +1 -1
  1814. package/_types/chains/definitions/skale/brawl.d.ts +16 -23
  1815. package/_types/chains/definitions/skale/brawl.d.ts.map +1 -1
  1816. package/_types/chains/definitions/skale/calypso.d.ts +20 -27
  1817. package/_types/chains/definitions/skale/calypso.d.ts.map +1 -1
  1818. package/_types/chains/definitions/skale/calypsoTestnet.d.ts +20 -28
  1819. package/_types/chains/definitions/skale/calypsoTestnet.d.ts.map +1 -1
  1820. package/_types/chains/definitions/skale/chaosTestnet.d.ts +20 -28
  1821. package/_types/chains/definitions/skale/chaosTestnet.d.ts.map +1 -1
  1822. package/_types/chains/definitions/skale/cryptoBlades.d.ts +16 -23
  1823. package/_types/chains/definitions/skale/cryptoBlades.d.ts.map +1 -1
  1824. package/_types/chains/definitions/skale/cryptoColosseum.d.ts +16 -23
  1825. package/_types/chains/definitions/skale/cryptoColosseum.d.ts.map +1 -1
  1826. package/_types/chains/definitions/skale/europa.d.ts +20 -27
  1827. package/_types/chains/definitions/skale/europa.d.ts.map +1 -1
  1828. package/_types/chains/definitions/skale/europaTestnet.d.ts +20 -28
  1829. package/_types/chains/definitions/skale/europaTestnet.d.ts.map +1 -1
  1830. package/_types/chains/definitions/skale/exorde.d.ts +16 -23
  1831. package/_types/chains/definitions/skale/exorde.d.ts.map +1 -1
  1832. package/_types/chains/definitions/skale/humanProtocol.d.ts +16 -23
  1833. package/_types/chains/definitions/skale/humanProtocol.d.ts.map +1 -1
  1834. package/_types/chains/definitions/skale/nebula.d.ts +20 -27
  1835. package/_types/chains/definitions/skale/nebula.d.ts.map +1 -1
  1836. package/_types/chains/definitions/skale/nebulaTestnet.d.ts +20 -28
  1837. package/_types/chains/definitions/skale/nebulaTestnet.d.ts.map +1 -1
  1838. package/_types/chains/definitions/skale/razor.d.ts +16 -23
  1839. package/_types/chains/definitions/skale/razor.d.ts.map +1 -1
  1840. package/_types/chains/definitions/skale/titan.d.ts +20 -27
  1841. package/_types/chains/definitions/skale/titan.d.ts.map +1 -1
  1842. package/_types/chains/definitions/skale/titanTestnet.d.ts +20 -28
  1843. package/_types/chains/definitions/skale/titanTestnet.d.ts.map +1 -1
  1844. package/_types/chains/definitions/songbird.d.ts +23 -17
  1845. package/_types/chains/definitions/songbird.d.ts.map +1 -1
  1846. package/_types/chains/definitions/songbirdTestnet.d.ts +23 -18
  1847. package/_types/chains/definitions/songbirdTestnet.d.ts.map +1 -1
  1848. package/_types/chains/definitions/syscoin.d.ts +20 -23
  1849. package/_types/chains/definitions/syscoin.d.ts.map +1 -1
  1850. package/_types/chains/definitions/syscoinTestnet.d.ts +20 -23
  1851. package/_types/chains/definitions/syscoinTestnet.d.ts.map +1 -1
  1852. package/_types/chains/definitions/taikoJolnir.d.ts +23 -17
  1853. package/_types/chains/definitions/taikoJolnir.d.ts.map +1 -1
  1854. package/_types/chains/definitions/taikoTestnetSepolia.d.ts +23 -17
  1855. package/_types/chains/definitions/taikoTestnetSepolia.d.ts.map +1 -1
  1856. package/_types/chains/definitions/taraxa.d.ts +23 -17
  1857. package/_types/chains/definitions/taraxa.d.ts.map +1 -1
  1858. package/_types/chains/definitions/taraxaTestnet.d.ts +23 -18
  1859. package/_types/chains/definitions/taraxaTestnet.d.ts.map +1 -1
  1860. package/_types/chains/definitions/telos.d.ts +19 -21
  1861. package/_types/chains/definitions/telos.d.ts.map +1 -1
  1862. package/_types/chains/definitions/telosTestnet.d.ts +23 -18
  1863. package/_types/chains/definitions/telosTestnet.d.ts.map +1 -1
  1864. package/_types/chains/definitions/thunderTestnet.d.ts +23 -18
  1865. package/_types/chains/definitions/thunderTestnet.d.ts.map +1 -1
  1866. package/_types/chains/definitions/vechain.d.ts +26 -20
  1867. package/_types/chains/definitions/vechain.d.ts.map +1 -1
  1868. package/_types/chains/definitions/wanchain.d.ts +19 -25
  1869. package/_types/chains/definitions/wanchain.d.ts.map +1 -1
  1870. package/_types/chains/definitions/wanchainTestnet.d.ts +19 -26
  1871. package/_types/chains/definitions/wanchainTestnet.d.ts.map +1 -1
  1872. package/_types/chains/definitions/xdc.d.ts +26 -20
  1873. package/_types/chains/definitions/xdc.d.ts.map +1 -1
  1874. package/_types/chains/definitions/xdcTestnet.d.ts +26 -20
  1875. package/_types/chains/definitions/xdcTestnet.d.ts.map +1 -1
  1876. package/_types/chains/definitions/zetachainAthensTestnet.d.ts +23 -18
  1877. package/_types/chains/definitions/zetachainAthensTestnet.d.ts.map +1 -1
  1878. package/_types/chains/definitions/zhejiang.d.ts +23 -26
  1879. package/_types/chains/definitions/zhejiang.d.ts.map +1 -1
  1880. package/_types/chains/definitions/zkSync.d.ts +503 -20
  1881. package/_types/chains/definitions/zkSync.d.ts.map +1 -1
  1882. package/_types/chains/definitions/zkSyncTestnet.d.ts +503 -21
  1883. package/_types/chains/definitions/zkSyncTestnet.d.ts.map +1 -1
  1884. package/_types/chains/definitions/zora.d.ts +31 -1022
  1885. package/_types/chains/definitions/zora.d.ts.map +1 -1
  1886. package/_types/chains/definitions/zoraSepolia.d.ts +535 -0
  1887. package/_types/chains/definitions/zoraSepolia.d.ts.map +1 -0
  1888. package/_types/chains/definitions/zoraTestnet.d.ts +31 -1023
  1889. package/_types/chains/definitions/zoraTestnet.d.ts.map +1 -1
  1890. package/_types/chains/index.d.ts +11 -1
  1891. package/_types/chains/index.d.ts.map +1 -1
  1892. package/_types/chains/optimism/formatters.d.ts +10 -8
  1893. package/_types/chains/optimism/formatters.d.ts.map +1 -1
  1894. package/_types/chains/utils.d.ts +7 -1
  1895. package/_types/chains/utils.d.ts.map +1 -1
  1896. package/_types/chains/zksync/formatters.d.ts +487 -0
  1897. package/_types/chains/zksync/formatters.d.ts.map +1 -0
  1898. package/_types/chains/zksync/serializers.d.ts +9 -0
  1899. package/_types/chains/zksync/serializers.d.ts.map +1 -0
  1900. package/_types/chains/zksync/types.d.ts +158 -0
  1901. package/_types/chains/zksync/types.d.ts.map +1 -0
  1902. package/_types/clients/createClient.d.ts +9 -2
  1903. package/_types/clients/createClient.d.ts.map +1 -1
  1904. package/_types/clients/createPublicClient.d.ts +3 -1
  1905. package/_types/clients/createPublicClient.d.ts.map +1 -1
  1906. package/_types/clients/createTestClient.d.ts +3 -1
  1907. package/_types/clients/createTestClient.d.ts.map +1 -1
  1908. package/_types/clients/createWalletClient.d.ts +3 -1
  1909. package/_types/clients/createWalletClient.d.ts.map +1 -1
  1910. package/_types/clients/decorators/public.d.ts +58 -5
  1911. package/_types/clients/decorators/public.d.ts.map +1 -1
  1912. package/_types/clients/transports/createTransport.d.ts +2 -0
  1913. package/_types/clients/transports/createTransport.d.ts.map +1 -1
  1914. package/_types/clients/transports/custom.d.ts +3 -1
  1915. package/_types/clients/transports/custom.d.ts.map +1 -1
  1916. package/_types/clients/transports/fallback.d.ts +3 -1
  1917. package/_types/clients/transports/fallback.d.ts.map +1 -1
  1918. package/_types/clients/transports/http.d.ts +5 -1
  1919. package/_types/clients/transports/http.d.ts.map +1 -1
  1920. package/_types/clients/transports/webSocket.d.ts +4 -3
  1921. package/_types/clients/transports/webSocket.d.ts.map +1 -1
  1922. package/_types/ens/index.d.ts +8 -8
  1923. package/_types/ens/index.d.ts.map +1 -1
  1924. package/_types/errors/abi.d.ts +75 -0
  1925. package/_types/errors/abi.d.ts.map +1 -1
  1926. package/_types/errors/account.d.ts +3 -0
  1927. package/_types/errors/account.d.ts.map +1 -1
  1928. package/_types/errors/address.d.ts +3 -0
  1929. package/_types/errors/address.d.ts.map +1 -1
  1930. package/_types/errors/base.d.ts +3 -0
  1931. package/_types/errors/base.d.ts.map +1 -1
  1932. package/_types/errors/block.d.ts +3 -0
  1933. package/_types/errors/block.d.ts.map +1 -1
  1934. package/_types/errors/ccip.d.ts +9 -0
  1935. package/_types/errors/ccip.d.ts.map +1 -1
  1936. package/_types/errors/chain.d.ts +15 -0
  1937. package/_types/errors/chain.d.ts.map +1 -1
  1938. package/_types/errors/contract.d.ts +15 -0
  1939. package/_types/errors/contract.d.ts.map +1 -1
  1940. package/_types/errors/cursor.d.ts +21 -0
  1941. package/_types/errors/cursor.d.ts.map +1 -0
  1942. package/_types/errors/data.d.ts +6 -0
  1943. package/_types/errors/data.d.ts.map +1 -1
  1944. package/_types/errors/encoding.d.ts +29 -2
  1945. package/_types/errors/encoding.d.ts.map +1 -1
  1946. package/_types/errors/ens.d.ts +12 -0
  1947. package/_types/errors/ens.d.ts.map +1 -1
  1948. package/_types/errors/estimateGas.d.ts +3 -0
  1949. package/_types/errors/estimateGas.d.ts.map +1 -1
  1950. package/_types/errors/fee.d.ts +9 -0
  1951. package/_types/errors/fee.d.ts.map +1 -1
  1952. package/_types/errors/log.d.ts +3 -0
  1953. package/_types/errors/log.d.ts.map +1 -1
  1954. package/_types/errors/node.d.ts +37 -0
  1955. package/_types/errors/node.d.ts.map +1 -1
  1956. package/_types/errors/request.d.ts +12 -0
  1957. package/_types/errors/request.d.ts.map +1 -1
  1958. package/_types/errors/rpc.d.ts +81 -0
  1959. package/_types/errors/rpc.d.ts.map +1 -1
  1960. package/_types/errors/transaction.d.ts +30 -0
  1961. package/_types/errors/transaction.d.ts.map +1 -1
  1962. package/_types/errors/transport.d.ts +3 -0
  1963. package/_types/errors/transport.d.ts.map +1 -1
  1964. package/_types/errors/utils.d.ts +3 -0
  1965. package/_types/errors/utils.d.ts.map +1 -1
  1966. package/_types/errors/version.d.ts +1 -1
  1967. package/_types/errors/version.d.ts.map +1 -1
  1968. package/_types/index.d.ts +188 -176
  1969. package/_types/index.d.ts.map +1 -1
  1970. package/_types/types/block.d.ts +5 -0
  1971. package/_types/types/block.d.ts.map +1 -1
  1972. package/_types/types/chain.d.ts +19 -25
  1973. package/_types/types/chain.d.ts.map +1 -1
  1974. package/_types/types/contract.d.ts +2 -2
  1975. package/_types/types/contract.d.ts.map +1 -1
  1976. package/_types/types/eip1193.d.ts +24 -1
  1977. package/_types/types/eip1193.d.ts.map +1 -1
  1978. package/_types/types/misc.d.ts +4 -0
  1979. package/_types/types/misc.d.ts.map +1 -1
  1980. package/_types/types/proof.d.ts +18 -0
  1981. package/_types/types/proof.d.ts.map +1 -0
  1982. package/_types/types/rpc.d.ts +2 -0
  1983. package/_types/types/rpc.d.ts.map +1 -1
  1984. package/_types/types/transaction.d.ts +2 -2
  1985. package/_types/types/transaction.d.ts.map +1 -1
  1986. package/_types/types/utils.d.ts.map +1 -1
  1987. package/_types/types/withdrawal.d.ts +8 -0
  1988. package/_types/types/withdrawal.d.ts.map +1 -0
  1989. package/_types/utils/abi/decodeAbiParameters.d.ts +20 -0
  1990. package/_types/utils/abi/decodeAbiParameters.d.ts.map +1 -1
  1991. package/_types/utils/abi/decodeDeployData.d.ts +4 -0
  1992. package/_types/utils/abi/decodeDeployData.d.ts.map +1 -1
  1993. package/_types/utils/abi/decodeErrorResult.d.ts +6 -0
  1994. package/_types/utils/abi/decodeErrorResult.d.ts.map +1 -1
  1995. package/_types/utils/abi/decodeEventLog.d.ts +8 -2
  1996. package/_types/utils/abi/decodeEventLog.d.ts.map +1 -1
  1997. package/_types/utils/abi/decodeFunctionData.d.ts +7 -0
  1998. package/_types/utils/abi/decodeFunctionData.d.ts.map +1 -1
  1999. package/_types/utils/abi/decodeFunctionResult.d.ts +5 -0
  2000. package/_types/utils/abi/decodeFunctionResult.d.ts.map +1 -1
  2001. package/_types/utils/abi/encodeAbiParameters.d.ts +21 -0
  2002. package/_types/utils/abi/encodeAbiParameters.d.ts.map +1 -1
  2003. package/_types/utils/abi/encodeDeployData.d.ts +5 -0
  2004. package/_types/utils/abi/encodeDeployData.d.ts.map +1 -1
  2005. package/_types/utils/abi/encodeErrorResult.d.ts +7 -0
  2006. package/_types/utils/abi/encodeErrorResult.d.ts.map +1 -1
  2007. package/_types/utils/abi/encodeEventTopics.d.ts +11 -0
  2008. package/_types/utils/abi/encodeEventTopics.d.ts.map +1 -1
  2009. package/_types/utils/abi/encodeFunctionData.d.ts +8 -0
  2010. package/_types/utils/abi/encodeFunctionData.d.ts.map +1 -1
  2011. package/_types/utils/abi/encodeFunctionResult.d.ts +5 -0
  2012. package/_types/utils/abi/encodeFunctionResult.d.ts.map +1 -1
  2013. package/_types/utils/abi/encodePacked.d.ts +9 -0
  2014. package/_types/utils/abi/encodePacked.d.ts.map +1 -1
  2015. package/_types/utils/abi/formatAbiItem.d.ts +5 -0
  2016. package/_types/utils/abi/formatAbiItem.d.ts.map +1 -1
  2017. package/_types/utils/abi/formatAbiItemWithArgs.d.ts +2 -0
  2018. package/_types/utils/abi/formatAbiItemWithArgs.d.ts.map +1 -1
  2019. package/_types/utils/abi/getAbiItem.d.ts +6 -0
  2020. package/_types/utils/abi/getAbiItem.d.ts.map +1 -1
  2021. package/_types/utils/address/getAddress.d.ts +6 -0
  2022. package/_types/utils/address/getAddress.d.ts.map +1 -1
  2023. package/_types/utils/address/getContractAddress.d.ts +15 -0
  2024. package/_types/utils/address/getContractAddress.d.ts.map +1 -1
  2025. package/_types/utils/address/isAddress.d.ts +2 -0
  2026. package/_types/utils/address/isAddress.d.ts.map +1 -1
  2027. package/_types/utils/address/isAddressEqual.d.ts +4 -0
  2028. package/_types/utils/address/isAddressEqual.d.ts.map +1 -1
  2029. package/_types/utils/buildRequest.d.ts +8 -0
  2030. package/_types/utils/buildRequest.d.ts.map +1 -1
  2031. package/_types/utils/ccip.d.ts +3 -0
  2032. package/_types/utils/ccip.d.ts.map +1 -1
  2033. package/_types/utils/chain/assertCurrentChain.d.ts +10 -0
  2034. package/_types/utils/chain/assertCurrentChain.d.ts.map +1 -0
  2035. package/_types/utils/chain/defineChain.d.ts +4 -0
  2036. package/_types/utils/chain/defineChain.d.ts.map +1 -0
  2037. package/_types/utils/chain/extractChain.d.ts +10 -0
  2038. package/_types/utils/chain/extractChain.d.ts.map +1 -0
  2039. package/_types/utils/chain/getChainContractAddress.d.ts +9 -0
  2040. package/_types/utils/chain/getChainContractAddress.d.ts.map +1 -0
  2041. package/_types/utils/contract/extractFunctionParts.d.ts +5 -0
  2042. package/_types/utils/contract/extractFunctionParts.d.ts.map +1 -1
  2043. package/_types/utils/cursor.d.ts +37 -0
  2044. package/_types/utils/cursor.d.ts.map +1 -0
  2045. package/_types/utils/data/concat.d.ts +7 -3
  2046. package/_types/utils/data/concat.d.ts.map +1 -1
  2047. package/_types/utils/data/isBytes.d.ts +2 -0
  2048. package/_types/utils/data/isBytes.d.ts.map +1 -1
  2049. package/_types/utils/data/isBytesEqual.d.ts +4 -0
  2050. package/_types/utils/data/isBytesEqual.d.ts.map +1 -1
  2051. package/_types/utils/data/isHex.d.ts +2 -0
  2052. package/_types/utils/data/isHex.d.ts.map +1 -1
  2053. package/_types/utils/data/pad.d.ts +5 -0
  2054. package/_types/utils/data/pad.d.ts.map +1 -1
  2055. package/_types/utils/data/size.d.ts +3 -0
  2056. package/_types/utils/data/size.d.ts.map +1 -1
  2057. package/_types/utils/data/slice.d.ts +9 -0
  2058. package/_types/utils/data/slice.d.ts.map +1 -1
  2059. package/_types/utils/data/trim.d.ts +2 -0
  2060. package/_types/utils/data/trim.d.ts.map +1 -1
  2061. package/_types/utils/encoding/fromBytes.d.ts +13 -5
  2062. package/_types/utils/encoding/fromBytes.d.ts.map +1 -1
  2063. package/_types/utils/encoding/fromHex.d.ts +11 -0
  2064. package/_types/utils/encoding/fromHex.d.ts.map +1 -1
  2065. package/_types/utils/encoding/fromRlp.d.ts +17 -2
  2066. package/_types/utils/encoding/fromRlp.d.ts.map +1 -1
  2067. package/_types/utils/encoding/toBytes.d.ts +12 -3
  2068. package/_types/utils/encoding/toBytes.d.ts.map +1 -1
  2069. package/_types/utils/encoding/toHex.d.ts +9 -0
  2070. package/_types/utils/encoding/toHex.d.ts.map +1 -1
  2071. package/_types/utils/encoding/toRlp.d.ts +11 -3
  2072. package/_types/utils/encoding/toRlp.d.ts.map +1 -1
  2073. package/_types/utils/ens/avatar/parseAvatarRecord.d.ts +4 -0
  2074. package/_types/utils/ens/avatar/parseAvatarRecord.d.ts.map +1 -1
  2075. package/_types/utils/ens/avatar/utils.d.ts +11 -0
  2076. package/_types/utils/ens/avatar/utils.d.ts.map +1 -1
  2077. package/_types/utils/ens/encodeLabelhash.d.ts +2 -0
  2078. package/_types/utils/ens/encodeLabelhash.d.ts.map +1 -1
  2079. package/_types/utils/ens/encodedLabelToLabelhash.d.ts +3 -0
  2080. package/_types/utils/ens/encodedLabelToLabelhash.d.ts.map +1 -1
  2081. package/_types/utils/ens/errors.d.ts +2 -0
  2082. package/_types/utils/ens/errors.d.ts.map +1 -1
  2083. package/_types/utils/ens/labelhash.d.ts +6 -0
  2084. package/_types/utils/ens/labelhash.d.ts.map +1 -1
  2085. package/_types/utils/ens/namehash.d.ts +7 -0
  2086. package/_types/utils/ens/namehash.d.ts.map +1 -1
  2087. package/_types/utils/ens/normalize.d.ts +2 -0
  2088. package/_types/utils/ens/normalize.d.ts.map +1 -1
  2089. package/_types/utils/ens/packetToBytes.d.ts +5 -0
  2090. package/_types/utils/ens/packetToBytes.d.ts.map +1 -1
  2091. package/_types/utils/errors/getCallError.d.ts +8 -4
  2092. package/_types/utils/errors/getCallError.d.ts.map +1 -1
  2093. package/_types/utils/errors/getContractError.d.ts +7 -4
  2094. package/_types/utils/errors/getContractError.d.ts.map +1 -1
  2095. package/_types/utils/errors/getEstimateGasError.d.ts +8 -4
  2096. package/_types/utils/errors/getEstimateGasError.d.ts.map +1 -1
  2097. package/_types/utils/errors/getNodeError.d.ts +3 -2
  2098. package/_types/utils/errors/getNodeError.d.ts.map +1 -1
  2099. package/_types/utils/errors/getTransactionError.d.ts +7 -3
  2100. package/_types/utils/errors/getTransactionError.d.ts.map +1 -1
  2101. package/_types/utils/formatters/block.d.ts +5 -1
  2102. package/_types/utils/formatters/block.d.ts.map +1 -1
  2103. package/_types/utils/formatters/extract.d.ts +4 -2
  2104. package/_types/utils/formatters/extract.d.ts.map +1 -1
  2105. package/_types/utils/formatters/feeHistory.d.ts +2 -0
  2106. package/_types/utils/formatters/feeHistory.d.ts.map +1 -1
  2107. package/_types/utils/formatters/formatter.d.ts +3 -1
  2108. package/_types/utils/formatters/formatter.d.ts.map +1 -1
  2109. package/_types/utils/formatters/log.d.ts +2 -0
  2110. package/_types/utils/formatters/log.d.ts.map +1 -1
  2111. package/_types/utils/formatters/proof.d.ts +6 -0
  2112. package/_types/utils/formatters/proof.d.ts.map +1 -0
  2113. package/_types/utils/formatters/transaction.d.ts +5 -1
  2114. package/_types/utils/formatters/transaction.d.ts.map +1 -1
  2115. package/_types/utils/formatters/transactionReceipt.d.ts +5 -1
  2116. package/_types/utils/formatters/transactionReceipt.d.ts.map +1 -1
  2117. package/_types/utils/formatters/transactionRequest.d.ts +5 -1
  2118. package/_types/utils/formatters/transactionRequest.d.ts.map +1 -1
  2119. package/_types/utils/getAction.d.ts +3 -0
  2120. package/_types/utils/getAction.d.ts.map +1 -0
  2121. package/_types/utils/hash/getEventSelector.d.ts +5 -2
  2122. package/_types/utils/hash/getEventSelector.d.ts.map +1 -1
  2123. package/_types/utils/hash/getEventSignature.d.ts +6 -0
  2124. package/_types/utils/hash/getEventSignature.d.ts.map +1 -0
  2125. package/_types/utils/hash/getFunctionSelector.d.ts +6 -0
  2126. package/_types/utils/hash/getFunctionSelector.d.ts.map +1 -1
  2127. package/_types/utils/hash/getFunctionSignature.d.ts +7 -0
  2128. package/_types/utils/hash/getFunctionSignature.d.ts.map +1 -0
  2129. package/_types/utils/hash/hashFunction.d.ts +7 -0
  2130. package/_types/utils/hash/hashFunction.d.ts.map +1 -1
  2131. package/_types/utils/hash/isHash.d.ts +4 -0
  2132. package/_types/utils/hash/isHash.d.ts.map +1 -1
  2133. package/_types/utils/hash/keccak256.d.ts +5 -0
  2134. package/_types/utils/hash/keccak256.d.ts.map +1 -1
  2135. package/_types/utils/index.d.ts +83 -78
  2136. package/_types/utils/index.d.ts.map +1 -1
  2137. package/_types/utils/observe.d.ts +2 -0
  2138. package/_types/utils/observe.d.ts.map +1 -1
  2139. package/_types/utils/poll.d.ts +2 -0
  2140. package/_types/utils/poll.d.ts.map +1 -1
  2141. package/_types/utils/promise/createBatchScheduler.d.ts +5 -1
  2142. package/_types/utils/promise/createBatchScheduler.d.ts.map +1 -1
  2143. package/_types/utils/promise/withCache.d.ts +2 -0
  2144. package/_types/utils/promise/withCache.d.ts.map +1 -1
  2145. package/_types/utils/promise/withRetry.d.ts +2 -0
  2146. package/_types/utils/promise/withRetry.d.ts.map +1 -1
  2147. package/_types/utils/promise/withTimeout.d.ts +3 -1
  2148. package/_types/utils/promise/withTimeout.d.ts.map +1 -1
  2149. package/_types/utils/rpc.d.ts +10 -3
  2150. package/_types/utils/rpc.d.ts.map +1 -1
  2151. package/_types/utils/signature/compactSignatureToHex.d.ts +19 -0
  2152. package/_types/utils/signature/compactSignatureToHex.d.ts.map +1 -0
  2153. package/_types/utils/signature/compactSignatureToSignature.d.ts +24 -0
  2154. package/_types/utils/signature/compactSignatureToSignature.d.ts.map +1 -0
  2155. package/_types/utils/signature/hashMessage.d.ts +5 -0
  2156. package/_types/utils/signature/hashMessage.d.ts.map +1 -1
  2157. package/_types/utils/signature/hashTypedData.d.ts +13 -0
  2158. package/_types/utils/signature/hashTypedData.d.ts.map +1 -1
  2159. package/_types/utils/signature/hexToCompactSignature.d.ts +16 -0
  2160. package/_types/utils/signature/hexToCompactSignature.d.ts.map +1 -0
  2161. package/_types/utils/signature/hexToSignature.d.ts +3 -0
  2162. package/_types/utils/signature/hexToSignature.d.ts.map +1 -1
  2163. package/_types/utils/signature/recoverAddress.d.ts +2 -0
  2164. package/_types/utils/signature/recoverAddress.d.ts.map +1 -1
  2165. package/_types/utils/signature/recoverMessageAddress.d.ts +4 -0
  2166. package/_types/utils/signature/recoverMessageAddress.d.ts.map +1 -1
  2167. package/_types/utils/signature/recoverPublicKey.d.ts +4 -0
  2168. package/_types/utils/signature/recoverPublicKey.d.ts.map +1 -1
  2169. package/_types/utils/signature/recoverTypedDataAddress.d.ts +4 -0
  2170. package/_types/utils/signature/recoverTypedDataAddress.d.ts.map +1 -1
  2171. package/_types/utils/signature/signatureToCompactSignature.d.ts +23 -0
  2172. package/_types/utils/signature/signatureToCompactSignature.d.ts.map +1 -0
  2173. package/_types/utils/signature/signatureToHex.d.ts +4 -0
  2174. package/_types/utils/signature/signatureToHex.d.ts.map +1 -1
  2175. package/_types/utils/signature/verifyMessage.d.ts +5 -0
  2176. package/_types/utils/signature/verifyMessage.d.ts.map +1 -1
  2177. package/_types/utils/signature/verifyTypedData.d.ts +5 -0
  2178. package/_types/utils/signature/verifyTypedData.d.ts.map +1 -1
  2179. package/_types/utils/stringify.d.ts +2 -0
  2180. package/_types/utils/stringify.d.ts.map +1 -1
  2181. package/_types/utils/transaction/assertRequest.d.ts +6 -0
  2182. package/_types/utils/transaction/assertRequest.d.ts.map +1 -1
  2183. package/_types/utils/transaction/assertTransaction.d.ts +9 -0
  2184. package/_types/utils/transaction/assertTransaction.d.ts.map +1 -1
  2185. package/_types/utils/transaction/getSerializedTransactionType.d.ts +5 -0
  2186. package/_types/utils/transaction/getSerializedTransactionType.d.ts.map +1 -1
  2187. package/_types/utils/transaction/getTransactionType.d.ts +3 -0
  2188. package/_types/utils/transaction/getTransactionType.d.ts.map +1 -1
  2189. package/_types/utils/transaction/parseTransaction.d.ts +19 -2
  2190. package/_types/utils/transaction/parseTransaction.d.ts.map +1 -1
  2191. package/_types/utils/transaction/serializeAccessList.d.ts +5 -0
  2192. package/_types/utils/transaction/serializeAccessList.d.ts.map +1 -1
  2193. package/_types/utils/transaction/serializeTransaction.d.ts +13 -1
  2194. package/_types/utils/transaction/serializeTransaction.d.ts.map +1 -1
  2195. package/_types/utils/typedData.d.ts +8 -0
  2196. package/_types/utils/typedData.d.ts.map +1 -1
  2197. package/_types/utils/unit/formatEther.d.ts +2 -0
  2198. package/_types/utils/unit/formatEther.d.ts.map +1 -1
  2199. package/_types/utils/unit/formatGwei.d.ts +2 -0
  2200. package/_types/utils/unit/formatGwei.d.ts.map +1 -1
  2201. package/_types/utils/unit/formatUnits.d.ts +2 -0
  2202. package/_types/utils/unit/formatUnits.d.ts.map +1 -1
  2203. package/_types/utils/unit/parseEther.d.ts +3 -0
  2204. package/_types/utils/unit/parseEther.d.ts.map +1 -1
  2205. package/_types/utils/unit/parseGwei.d.ts +3 -0
  2206. package/_types/utils/unit/parseGwei.d.ts.map +1 -1
  2207. package/_types/utils/unit/parseUnits.d.ts +2 -0
  2208. package/_types/utils/unit/parseUnits.d.ts.map +1 -1
  2209. package/accounts/generateMnemonic.ts +3 -0
  2210. package/accounts/generatePrivateKey.ts +4 -1
  2211. package/accounts/hdKeyToAccount.ts +11 -2
  2212. package/accounts/index.ts +46 -11
  2213. package/accounts/mnemonicToAccount.ts +7 -1
  2214. package/accounts/privateKeyToAccount.ts +25 -6
  2215. package/accounts/toAccount.ts +14 -2
  2216. package/accounts/utils/parseAccount.ts +3 -0
  2217. package/accounts/utils/privateKeyToAddress.ts +14 -2
  2218. package/accounts/utils/publicKeyToAddress.ts +14 -2
  2219. package/accounts/utils/sign.ts +5 -1
  2220. package/accounts/utils/signMessage.ts +17 -3
  2221. package/accounts/utils/signTransaction.ts +12 -2
  2222. package/accounts/utils/signTypedData.ts +16 -3
  2223. package/actions/ens/getEnsAddress.ts +36 -9
  2224. package/actions/ens/getEnsAvatar.ts +20 -3
  2225. package/actions/ens/getEnsName.ts +23 -4
  2226. package/actions/ens/getEnsResolver.ts +21 -4
  2227. package/actions/ens/getEnsText.ts +33 -7
  2228. package/actions/getContract.ts +258 -83
  2229. package/actions/index.ts +111 -10
  2230. package/actions/public/call.ts +65 -15
  2231. package/actions/public/createBlockFilter.ts +4 -0
  2232. package/actions/public/createContractEventFilter.ts +14 -2
  2233. package/actions/public/createEventFilter.ts +13 -1
  2234. package/actions/public/createPendingTransactionFilter.ts +6 -0
  2235. package/actions/public/estimateContractGas.ts +36 -6
  2236. package/actions/public/estimateFeesPerGas.ts +19 -4
  2237. package/actions/public/estimateGas.ts +25 -7
  2238. package/actions/public/estimateMaxPriorityFeePerGas.ts +27 -8
  2239. package/actions/public/getBalance.ts +11 -1
  2240. package/actions/public/getBlock.ts +16 -2
  2241. package/actions/public/getBlockNumber.ts +4 -0
  2242. package/actions/public/getBlockTransactionCount.ts +16 -2
  2243. package/actions/public/getBytecode.ts +11 -1
  2244. package/actions/public/getChainId.ts +11 -1
  2245. package/actions/public/getContractEvents.ts +169 -0
  2246. package/actions/public/getFeeHistory.ts +14 -2
  2247. package/actions/public/getFilterChanges.ts +16 -2
  2248. package/actions/public/getFilterLogs.ts +16 -2
  2249. package/actions/public/getGasPrice.ts +4 -0
  2250. package/actions/public/getLogs.ts +23 -3
  2251. package/actions/public/getProof.ts +93 -0
  2252. package/actions/public/getStorageAt.ts +11 -1
  2253. package/actions/public/getTransaction.ts +11 -1
  2254. package/actions/public/getTransactionConfirmations.ts +17 -4
  2255. package/actions/public/getTransactionCount.ts +16 -2
  2256. package/actions/public/getTransactionReceipt.ts +11 -1
  2257. package/actions/public/multicall.ts +32 -6
  2258. package/actions/public/readContract.ts +29 -6
  2259. package/actions/public/simulateContract.ts +68 -15
  2260. package/actions/public/uninstallFilter.ts +4 -0
  2261. package/actions/public/verifyHash.ts +23 -4
  2262. package/actions/public/verifyMessage.ts +13 -2
  2263. package/actions/public/verifyTypedData.ts +16 -3
  2264. package/actions/public/waitForTransactionReceipt.ts +36 -9
  2265. package/actions/public/watchBlockNumber.ts +9 -2
  2266. package/actions/public/watchBlocks.ts +18 -5
  2267. package/actions/public/watchContractEvent.ts +33 -22
  2268. package/actions/public/watchEvent.ts +20 -7
  2269. package/actions/public/watchPendingTransactions.ts +15 -5
  2270. package/actions/test/dropTransaction.ts +4 -0
  2271. package/actions/test/getAutomine.ts +4 -0
  2272. package/actions/test/getTxpoolContent.ts +4 -0
  2273. package/actions/test/getTxpoolStatus.ts +4 -0
  2274. package/actions/test/impersonateAccount.ts +4 -0
  2275. package/actions/test/increaseTime.ts +4 -0
  2276. package/actions/test/inspectTxpool.ts +4 -0
  2277. package/actions/test/mine.ts +4 -0
  2278. package/actions/test/removeBlockTimestampInterval.ts +4 -0
  2279. package/actions/test/reset.ts +4 -0
  2280. package/actions/test/revert.ts +4 -0
  2281. package/actions/test/sendUnsignedTransaction.ts +8 -4
  2282. package/actions/test/setAutomine.ts +4 -0
  2283. package/actions/test/setBalance.ts +4 -0
  2284. package/actions/test/setBlockGasLimit.ts +4 -0
  2285. package/actions/test/setBlockTimestampInterval.ts +10 -1
  2286. package/actions/test/setCode.ts +4 -0
  2287. package/actions/test/setCoinbase.ts +4 -0
  2288. package/actions/test/setIntervalMining.ts +10 -1
  2289. package/actions/test/setLoggingEnabled.ts +4 -0
  2290. package/actions/test/setMinGasPrice.ts +4 -0
  2291. package/actions/test/setNextBlockBaseFeePerGas.ts +4 -0
  2292. package/actions/test/setNextBlockTimestamp.ts +4 -0
  2293. package/actions/test/setNonce.ts +4 -0
  2294. package/actions/test/setRpcUrl.ts +4 -0
  2295. package/actions/test/setStorageAt.ts +4 -0
  2296. package/actions/test/snapshot.ts +4 -0
  2297. package/actions/test/stopImpersonatingAccount.ts +4 -0
  2298. package/actions/wallet/addChain.ts +11 -1
  2299. package/actions/wallet/deployContract.ts +4 -0
  2300. package/actions/wallet/getAddresses.ts +12 -1
  2301. package/actions/wallet/getPermissions.ts +4 -0
  2302. package/actions/wallet/prepareTransactionRequest.ts +45 -10
  2303. package/actions/wallet/requestAddresses.ts +4 -0
  2304. package/actions/wallet/requestPermissions.ts +4 -0
  2305. package/actions/wallet/sendRawTransaction.ts +5 -1
  2306. package/actions/wallet/sendTransaction.ts +54 -14
  2307. package/actions/wallet/signMessage.ts +19 -2
  2308. package/actions/wallet/signTransaction.ts +31 -7
  2309. package/actions/wallet/signTypedData.ts +26 -4
  2310. package/actions/wallet/switchChain.ts +11 -1
  2311. package/actions/wallet/watchAsset.ts +3 -0
  2312. package/actions/wallet/writeContract.ts +19 -13
  2313. package/chains/celo/formatters.ts +39 -5
  2314. package/chains/celo/parsers.ts +82 -1
  2315. package/chains/celo/serializers.ts +121 -9
  2316. package/chains/celo/types.ts +60 -2
  2317. package/chains/definitions/arbitrum.ts +1 -14
  2318. package/chains/definitions/arbitrumGoerli.ts +3 -15
  2319. package/chains/definitions/arbitrumNova.ts +1 -14
  2320. package/chains/definitions/arbitrumSepolia.ts +29 -0
  2321. package/chains/definitions/astarZkatana.ts +39 -0
  2322. package/chains/definitions/aurora.ts +1 -5
  2323. package/chains/definitions/auroraTestnet.ts +1 -5
  2324. package/chains/definitions/avalanche.ts +1 -4
  2325. package/chains/definitions/avalancheFuji.ts +1 -4
  2326. package/chains/definitions/base.ts +20 -40
  2327. package/chains/definitions/baseGoerli.ts +21 -39
  2328. package/chains/definitions/baseSepolia.ts +30 -0
  2329. package/chains/definitions/bearNetworkChainMainnet.ts +1 -3
  2330. package/chains/definitions/bearNetworkChainTestnet.ts +1 -3
  2331. package/chains/definitions/boba.ts +1 -4
  2332. package/chains/definitions/bronos.ts +1 -3
  2333. package/chains/definitions/bronosTestnet.ts +1 -3
  2334. package/chains/definitions/bsc.ts +1 -4
  2335. package/chains/definitions/bscTestnet.ts +1 -4
  2336. package/chains/definitions/bxn.ts +1 -5
  2337. package/chains/definitions/bxnTestnet.ts +1 -5
  2338. package/chains/definitions/canto.ts +1 -3
  2339. package/chains/definitions/celo.ts +25 -37
  2340. package/chains/definitions/celoAlfajores.ts +26 -38
  2341. package/chains/definitions/celoCannoli.ts +26 -34
  2342. package/chains/definitions/classic.ts +1 -3
  2343. package/chains/definitions/confluxESpace.ts +1 -5
  2344. package/chains/definitions/coreDao.ts +24 -0
  2345. package/chains/definitions/cronos.ts +1 -3
  2346. package/chains/definitions/cronosTestnet.ts +1 -3
  2347. package/chains/definitions/crossbell.ts +1 -5
  2348. package/chains/definitions/dfk.ts +1 -9
  2349. package/chains/definitions/dogechain.ts +1 -7
  2350. package/chains/definitions/edgeware.ts +1 -4
  2351. package/chains/definitions/edgewareTestnet.ts +1 -7
  2352. package/chains/definitions/ekta.ts +1 -3
  2353. package/chains/definitions/ektaTestnet.ts +1 -3
  2354. package/chains/definitions/eon.ts +1 -3
  2355. package/chains/definitions/eos.ts +1 -7
  2356. package/chains/definitions/eosTestnet.ts +1 -7
  2357. package/chains/definitions/evmos.ts +1 -3
  2358. package/chains/definitions/evmosTestnet.ts +1 -3
  2359. package/chains/definitions/fantom.ts +1 -4
  2360. package/chains/definitions/fantomTestnet.ts +1 -4
  2361. package/chains/definitions/fibo.ts +1 -3
  2362. package/chains/definitions/filecoin.ts +1 -6
  2363. package/chains/definitions/filecoinCalibration.ts +1 -3
  2364. package/chains/definitions/filecoinHyperspace.ts +1 -4
  2365. package/chains/definitions/flare.ts +1 -3
  2366. package/chains/definitions/flareTestnet.ts +1 -3
  2367. package/chains/definitions/foundry.ts +1 -6
  2368. package/chains/definitions/fuse.ts +7 -3
  2369. package/chains/definitions/fuseSparknet.ts +1 -3
  2370. package/chains/definitions/gnosis.ts +1 -7
  2371. package/chains/definitions/gnosisChiado.ts +1 -3
  2372. package/chains/definitions/gobi.ts +1 -3
  2373. package/chains/definitions/goerli.ts +1 -17
  2374. package/chains/definitions/haqqMainnet.ts +1 -5
  2375. package/chains/definitions/haqqTestedge2.ts +1 -5
  2376. package/chains/definitions/hardhat.ts +1 -3
  2377. package/chains/definitions/harmonyOne.ts +1 -3
  2378. package/chains/definitions/holesky.ts +7 -6
  2379. package/chains/definitions/iotex.ts +1 -6
  2380. package/chains/definitions/iotexTestnet.ts +1 -6
  2381. package/chains/definitions/klaytn.ts +1 -4
  2382. package/chains/definitions/kroma.ts +1 -5
  2383. package/chains/definitions/kromaSepolia.ts +1 -5
  2384. package/chains/definitions/linea.ts +1 -18
  2385. package/chains/definitions/lineaTestnet.ts +1 -18
  2386. package/chains/definitions/localhost.ts +1 -3
  2387. package/chains/definitions/mainnet.ts +3 -19
  2388. package/chains/definitions/manta.ts +32 -0
  2389. package/chains/definitions/mantaTestnet.ts +33 -0
  2390. package/chains/definitions/mantle.ts +1 -7
  2391. package/chains/definitions/mantleTestnet.ts +1 -7
  2392. package/chains/definitions/meter.ts +1 -3
  2393. package/chains/definitions/meterTestnet.ts +1 -3
  2394. package/chains/definitions/metis.ts +1 -3
  2395. package/chains/definitions/metisGoerli.ts +1 -3
  2396. package/chains/definitions/mev.ts +1 -5
  2397. package/chains/definitions/mevTestnet.ts +1 -5
  2398. package/chains/definitions/modeTestnet.ts +7 -5
  2399. package/chains/definitions/moonbaseAlpha.ts +1 -10
  2400. package/chains/definitions/moonbeam.ts +1 -10
  2401. package/chains/definitions/moonbeamDev.ts +17 -0
  2402. package/chains/definitions/moonriver.ts +1 -10
  2403. package/chains/definitions/neonDevnet.ts +1 -5
  2404. package/chains/definitions/nexi.ts +1 -9
  2405. package/chains/definitions/nexilix.ts +1 -4
  2406. package/chains/definitions/oasys.ts +1 -5
  2407. package/chains/definitions/okc.ts +1 -3
  2408. package/chains/definitions/opBNB.ts +1 -4
  2409. package/chains/definitions/opBNBTestnet.ts +1 -3
  2410. package/chains/definitions/optimism.ts +20 -40
  2411. package/chains/definitions/optimismGoerli.ts +21 -41
  2412. package/chains/definitions/optimismSepolia.ts +27 -0
  2413. package/chains/definitions/plinga.ts +1 -5
  2414. package/chains/definitions/polygon.ts +1 -17
  2415. package/chains/definitions/polygonMumbai.ts +1 -17
  2416. package/chains/definitions/polygonZkEvm.ts +1 -5
  2417. package/chains/definitions/polygonZkEvmTestnet.ts +1 -9
  2418. package/chains/definitions/pulsechain.ts +1 -6
  2419. package/chains/definitions/pulsechainV4.ts +1 -6
  2420. package/chains/definitions/qMainnet.ts +1 -3
  2421. package/chains/definitions/qTestnet.ts +1 -3
  2422. package/chains/definitions/rollux.ts +1 -3
  2423. package/chains/definitions/rolluxTestnet.ts +1 -3
  2424. package/chains/definitions/ronin.ts +1 -5
  2425. package/chains/definitions/saigon.ts +1 -5
  2426. package/chains/definitions/scroll.ts +26 -0
  2427. package/chains/definitions/scrollSepolia.ts +1 -6
  2428. package/chains/definitions/scrollTestnet.ts +1 -6
  2429. package/chains/definitions/sepolia.ts +2 -18
  2430. package/chains/definitions/shardeumSphinx.ts +1 -5
  2431. package/chains/definitions/skale/brawl.ts +1 -10
  2432. package/chains/definitions/skale/calypso.ts +1 -12
  2433. package/chains/definitions/skale/calypsoTestnet.ts +1 -14
  2434. package/chains/definitions/skale/chaosTestnet.ts +1 -14
  2435. package/chains/definitions/skale/cryptoBlades.ts +1 -12
  2436. package/chains/definitions/skale/cryptoColosseum.ts +1 -10
  2437. package/chains/definitions/skale/europa.ts +1 -10
  2438. package/chains/definitions/skale/europaTestnet.ts +1 -12
  2439. package/chains/definitions/skale/exorde.ts +1 -10
  2440. package/chains/definitions/skale/humanProtocol.ts +1 -10
  2441. package/chains/definitions/skale/nebula.ts +1 -10
  2442. package/chains/definitions/skale/nebulaTestnet.ts +1 -12
  2443. package/chains/definitions/skale/razor.ts +1 -10
  2444. package/chains/definitions/skale/titan.ts +1 -10
  2445. package/chains/definitions/skale/titanTestnet.ts +1 -14
  2446. package/chains/definitions/songbird.ts +1 -3
  2447. package/chains/definitions/songbirdTestnet.ts +1 -3
  2448. package/chains/definitions/syscoin.ts +1 -6
  2449. package/chains/definitions/syscoinTestnet.ts +1 -6
  2450. package/chains/definitions/taikoJolnir.ts +1 -5
  2451. package/chains/definitions/taikoTestnetSepolia.ts +1 -5
  2452. package/chains/definitions/taraxa.ts +1 -5
  2453. package/chains/definitions/taraxaTestnet.ts +1 -5
  2454. package/chains/definitions/telos.ts +1 -3
  2455. package/chains/definitions/telosTestnet.ts +1 -3
  2456. package/chains/definitions/thunderTestnet.ts +1 -5
  2457. package/chains/definitions/vechain.ts +1 -5
  2458. package/chains/definitions/wanchain.ts +1 -12
  2459. package/chains/definitions/wanchainTestnet.ts +1 -9
  2460. package/chains/definitions/xdc.ts +1 -3
  2461. package/chains/definitions/xdcTestnet.ts +1 -3
  2462. package/chains/definitions/zetachainAthensTestnet.ts +1 -5
  2463. package/chains/definitions/zhejiang.ts +1 -13
  2464. package/chains/definitions/zkSync.ts +5 -5
  2465. package/chains/definitions/zkSyncTestnet.ts +5 -5
  2466. package/chains/definitions/zora.ts +23 -32
  2467. package/chains/definitions/zoraSepolia.ts +37 -0
  2468. package/chains/definitions/zoraTestnet.ts +26 -35
  2469. package/chains/index.ts +11 -1
  2470. package/chains/utils.ts +54 -0
  2471. package/chains/zksync/formatters.ts +142 -0
  2472. package/chains/zksync/serializers.ts +124 -0
  2473. package/chains/zksync/types.ts +317 -0
  2474. package/clients/createClient.ts +43 -2
  2475. package/clients/createPublicClient.ts +9 -1
  2476. package/clients/createTestClient.ts +9 -1
  2477. package/clients/createWalletClient.ts +9 -1
  2478. package/clients/decorators/public.ts +100 -7
  2479. package/clients/decorators/wallet.ts +2 -2
  2480. package/clients/transports/createTransport.ts +3 -0
  2481. package/clients/transports/custom.ts +4 -0
  2482. package/clients/transports/fallback.ts +4 -0
  2483. package/clients/transports/http.ts +14 -1
  2484. package/clients/transports/webSocket.ts +11 -3
  2485. package/ens/index.ts +8 -3
  2486. package/errors/abi.ts +87 -0
  2487. package/errors/account.ts +3 -0
  2488. package/errors/address.ts +3 -0
  2489. package/errors/base.ts +1 -0
  2490. package/errors/block.ts +3 -0
  2491. package/errors/ccip.ts +11 -0
  2492. package/errors/chain.ts +17 -0
  2493. package/errors/contract.ts +18 -0
  2494. package/errors/cursor.ts +23 -0
  2495. package/errors/data.ts +6 -0
  2496. package/errors/encoding.ts +30 -3
  2497. package/errors/ens.ts +14 -0
  2498. package/errors/estimateGas.ts +3 -0
  2499. package/errors/fee.ts +9 -0
  2500. package/errors/log.ts +3 -0
  2501. package/errors/node.ts +38 -1
  2502. package/errors/request.ts +12 -0
  2503. package/errors/rpc.ts +81 -0
  2504. package/errors/transaction.ts +35 -0
  2505. package/errors/transport.ts +3 -0
  2506. package/errors/utils.ts +2 -0
  2507. package/errors/version.ts +1 -1
  2508. package/index.ts +578 -79
  2509. package/package.json +37 -45
  2510. package/types/block.ts +5 -0
  2511. package/types/chain.ts +25 -35
  2512. package/types/contract.ts +7 -7
  2513. package/types/eip1193.ts +24 -0
  2514. package/types/misc.ts +4 -3
  2515. package/types/proof.ts +20 -0
  2516. package/types/rpc.ts +2 -0
  2517. package/types/transaction.ts +2 -2
  2518. package/types/utils.ts +1 -1
  2519. package/types/withdrawal.ts +8 -0
  2520. package/utils/abi/decodeAbiParameters.ts +70 -5
  2521. package/utils/abi/decodeDeployData.ts +13 -1
  2522. package/utils/abi/decodeErrorResult.ts +21 -5
  2523. package/utils/abi/decodeEventLog.ts +37 -16
  2524. package/utils/abi/decodeFunctionData.ts +19 -5
  2525. package/utils/abi/decodeFunctionResult.ts +15 -2
  2526. package/utils/abi/encodeAbiParameters.ts +87 -7
  2527. package/utils/abi/encodeDeployData.ts +13 -3
  2528. package/utils/abi/encodeErrorResult.ts +20 -5
  2529. package/utils/abi/encodeEventTopics.ts +36 -9
  2530. package/utils/abi/encodeFunctionData.ts +25 -6
  2531. package/utils/abi/encodeFunctionResult.ts +13 -2
  2532. package/utils/abi/encodePacked.ts +35 -5
  2533. package/utils/abi/formatAbiItem.ts +14 -1
  2534. package/utils/abi/formatAbiItemWithArgs.ts +3 -0
  2535. package/utils/abi/getAbiItem.ts +16 -4
  2536. package/utils/address/getAddress.ts +16 -3
  2537. package/utils/address/getContractAddress.ts +49 -22
  2538. package/utils/address/isAddress.ts +3 -0
  2539. package/utils/address/isAddressEqual.ts +8 -2
  2540. package/utils/buildRequest.ts +62 -2
  2541. package/utils/ccip.ts +6 -1
  2542. package/utils/chain/assertCurrentChain.ts +27 -0
  2543. package/utils/chain/defineChain.ts +14 -0
  2544. package/utils/chain/extractChain.ts +33 -0
  2545. package/utils/chain/getChainContractAddress.ts +41 -0
  2546. package/utils/contract/extractFunctionParts.ts +10 -0
  2547. package/utils/cursor.ts +182 -0
  2548. package/utils/data/concat.ts +15 -5
  2549. package/utils/data/isBytes.ts +3 -0
  2550. package/utils/data/isBytesEqual.ts +8 -2
  2551. package/utils/data/isHex.ts +3 -0
  2552. package/utils/data/pad.ts +11 -1
  2553. package/utils/data/size.ts +4 -1
  2554. package/utils/data/slice.ts +33 -3
  2555. package/utils/data/trim.ts +3 -0
  2556. package/utils/encoding/fromBytes.ts +44 -8
  2557. package/utils/encoding/fromHex.ts +35 -3
  2558. package/utils/encoding/fromRlp.ts +96 -97
  2559. package/utils/encoding/toBytes.ts +67 -14
  2560. package/utils/encoding/toHex.ts +28 -6
  2561. package/utils/encoding/toRlp.ts +114 -30
  2562. package/utils/ens/avatar/parseAvatarRecord.ts +21 -0
  2563. package/utils/ens/avatar/utils.ts +41 -1
  2564. package/utils/ens/encodeLabelhash.ts +3 -0
  2565. package/utils/ens/encodedLabelToLabelhash.ts +4 -1
  2566. package/utils/ens/errors.ts +3 -0
  2567. package/utils/ens/labelhash.ts +18 -4
  2568. package/utils/ens/namehash.ts +23 -5
  2569. package/utils/ens/normalize.ts +3 -0
  2570. package/utils/ens/packetToBytes.ts +16 -3
  2571. package/utils/errors/getCallError.ts +29 -8
  2572. package/utils/errors/getContractError.ts +35 -19
  2573. package/utils/errors/getEstimateGasError.ts +27 -8
  2574. package/utils/errors/getNodeError.ts +49 -17
  2575. package/utils/errors/getTransactionError.ts +27 -8
  2576. package/utils/formatters/block.ts +6 -1
  2577. package/utils/formatters/extract.ts +23 -9
  2578. package/utils/formatters/feeHistory.ts +3 -0
  2579. package/utils/formatters/formatter.ts +4 -1
  2580. package/utils/formatters/log.ts +3 -0
  2581. package/utils/formatters/proof.ts +24 -0
  2582. package/utils/formatters/transaction.ts +6 -1
  2583. package/utils/formatters/transactionReceipt.ts +8 -1
  2584. package/utils/formatters/transactionRequest.ts +8 -1
  2585. package/utils/getAction.ts +13 -0
  2586. package/utils/hash/getEventSelector.ts +13 -6
  2587. package/utils/hash/getEventSignature.ts +15 -0
  2588. package/utils/hash/getFunctionSelector.ts +19 -6
  2589. package/utils/hash/getFunctionSignature.ts +29 -0
  2590. package/utils/hash/hashFunction.ts +23 -9
  2591. package/utils/hash/isHash.ts +5 -2
  2592. package/utils/hash/keccak256.ts +10 -3
  2593. package/utils/index.ts +252 -47
  2594. package/utils/observe.ts +3 -0
  2595. package/utils/poll.ts +3 -0
  2596. package/utils/promise/createBatchScheduler.ts +13 -0
  2597. package/utils/promise/withCache.ts +4 -0
  2598. package/utils/promise/withRetry.ts +3 -0
  2599. package/utils/promise/withTimeout.ts +6 -2
  2600. package/utils/rpc.ts +31 -10
  2601. package/utils/signature/compactSignatureToHex.ts +29 -0
  2602. package/utils/signature/compactSignatureToSignature.ts +37 -0
  2603. package/utils/signature/hashMessage.ts +16 -3
  2604. package/utils/signature/hashTypedData.ts +46 -4
  2605. package/utils/signature/hexToCompactSignature.ts +28 -0
  2606. package/utils/signature/hexToSignature.ts +7 -1
  2607. package/utils/signature/recoverAddress.ts +4 -0
  2608. package/utils/signature/recoverMessageAddress.ts +12 -2
  2609. package/utils/signature/recoverPublicKey.ts +9 -2
  2610. package/utils/signature/recoverTypedDataAddress.ts +12 -2
  2611. package/utils/signature/signatureToCompactSignature.ts +44 -0
  2612. package/utils/signature/signatureToHex.ts +11 -2
  2613. package/utils/signature/verifyMessage.ts +16 -3
  2614. package/utils/signature/verifyTypedData.ts +12 -2
  2615. package/utils/stringify.ts +4 -0
  2616. package/utils/transaction/assertRequest.ts +27 -4
  2617. package/utils/transaction/assertTransaction.ts +42 -5
  2618. package/utils/transaction/getSerializedTransactionType.ts +13 -3
  2619. package/utils/transaction/getTransactionType.ts +9 -1
  2620. package/utils/transaction/parseTransaction.ts +71 -6
  2621. package/utils/transaction/serializeAccessList.ts +16 -3
  2622. package/utils/transaction/serializeTransaction.ts +48 -5
  2623. package/utils/typedData.ts +22 -4
  2624. package/utils/unit/formatEther.ts +3 -1
  2625. package/utils/unit/formatGwei.ts +3 -1
  2626. package/utils/unit/formatUnits.ts +4 -0
  2627. package/utils/unit/parseEther.ts +4 -1
  2628. package/utils/unit/parseGwei.ts +4 -1
  2629. package/utils/unit/parseUnits.ts +4 -0
  2630. package/_cjs/abi/index.js +0 -17
  2631. package/_cjs/abi/index.js.map +0 -1
  2632. package/_cjs/contract/index.js +0 -52
  2633. package/_cjs/contract/index.js.map +0 -1
  2634. package/_cjs/public/index.js +0 -61
  2635. package/_cjs/public/index.js.map +0 -1
  2636. package/_cjs/test/index.js +0 -60
  2637. package/_cjs/test/index.js.map +0 -1
  2638. package/_cjs/utils/chain.js.map +0 -1
  2639. package/_cjs/wallet/index.js +0 -24
  2640. package/_cjs/wallet/index.js.map +0 -1
  2641. package/_esm/abi/index.js +0 -7
  2642. package/_esm/abi/index.js.map +0 -1
  2643. package/_esm/contract/index.js +0 -26
  2644. package/_esm/contract/index.js.map +0 -1
  2645. package/_esm/public/index.js +0 -30
  2646. package/_esm/public/index.js.map +0 -1
  2647. package/_esm/test/index.js +0 -30
  2648. package/_esm/test/index.js.map +0 -1
  2649. package/_esm/utils/chain.js +0 -37
  2650. package/_esm/utils/chain.js.map +0 -1
  2651. package/_esm/wallet/index.js +0 -12
  2652. package/_esm/wallet/index.js.map +0 -1
  2653. package/_types/abi/index.d.ts +0 -6
  2654. package/_types/abi/index.d.ts.map +0 -1
  2655. package/_types/contract/index.d.ts +0 -30
  2656. package/_types/contract/index.d.ts.map +0 -1
  2657. package/_types/public/index.d.ts +0 -33
  2658. package/_types/public/index.d.ts.map +0 -1
  2659. package/_types/test/index.d.ts +0 -29
  2660. package/_types/test/index.d.ts.map +0 -1
  2661. package/_types/utils/chain.d.ts +0 -14
  2662. package/_types/utils/chain.d.ts.map +0 -1
  2663. package/_types/wallet/index.d.ts +0 -11
  2664. package/_types/wallet/index.d.ts.map +0 -1
  2665. package/abi/index.ts +0 -25
  2666. package/abi/package.json +0 -6
  2667. package/actions/wallet/__snapshots__/deployContract.test.ts.snap +0 -21
  2668. package/contract/index.ts +0 -112
  2669. package/contract/package.json +0 -6
  2670. package/public/index.ts +0 -141
  2671. package/public/package.json +0 -6
  2672. package/test/index.ts +0 -85
  2673. package/test/package.json +0 -6
  2674. package/utils/chain.ts +0 -79
  2675. package/wallet/index.ts +0 -46
  2676. package/wallet/package.json +0 -6
@@ -7,8 +7,9 @@ const base_js_1 = require("../../errors/base.js");
7
7
  const contract_js_1 = require("../../errors/contract.js");
8
8
  const decodeFunctionResult_js_1 = require("../../utils/abi/decodeFunctionResult.js");
9
9
  const encodeFunctionData_js_1 = require("../../utils/abi/encodeFunctionData.js");
10
- const chain_js_1 = require("../../utils/chain.js");
10
+ const getChainContractAddress_js_1 = require("../../utils/chain/getChainContractAddress.js");
11
11
  const getContractError_js_1 = require("../../utils/errors/getContractError.js");
12
+ const getAction_js_1 = require("../../utils/getAction.js");
12
13
  const readContract_js_1 = require("./readContract.js");
13
14
  async function multicall(client, parameters) {
14
15
  const { allowFailure = true, batchSize: batchSize_, blockNumber, blockTag, multicallAddress: multicallAddress_, } = parameters;
@@ -21,7 +22,7 @@ async function multicall(client, parameters) {
21
22
  if (!multicallAddress) {
22
23
  if (!client.chain)
23
24
  throw new Error('client chain not configured. multicallAddress is required.');
24
- multicallAddress = (0, chain_js_1.getChainContractAddress)({
25
+ multicallAddress = (0, getChainContractAddress_js_1.getChainContractAddress)({
25
26
  blockNumber,
26
27
  chain: client.chain,
27
28
  contract: 'multicall3',
@@ -71,7 +72,7 @@ async function multicall(client, parameters) {
71
72
  ];
72
73
  }
73
74
  }
74
- const aggregate3Results = await Promise.allSettled(chunkedCalls.map((calls) => (0, readContract_js_1.readContract)(client, {
75
+ const aggregate3Results = await Promise.allSettled(chunkedCalls.map((calls) => (0, getAction_js_1.getAction)(client, readContract_js_1.readContract)({
75
76
  abi: abis_js_1.multicall3Abi,
76
77
  address: multicallAddress,
77
78
  args: [calls],
@@ -1 +1 @@
1
- {"version":3,"file":"multicall.js","sourceRoot":"","sources":["../../../actions/public/multicall.ts"],"names":[],"mappings":";;;AAIA,qDAAuD;AACvD,gDAA8D;AAC9D,kDAAgD;AAChD,0DAA2D;AAQ3D,qFAA8E;AAC9E,iFAA0E;AAC1E,mDAA8D;AAC9D,gFAAyE;AAEzE,uDAAgD;AAsEzC,KAAK,UAAU,SAAS,C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;gBACF,IAAI,CAAC,YAAY;oBAAE,MAAM,KAAK,CAAA;gBAC9B,OAAO,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,CAAA;aAC9D;SACF;KACF;IAED,IAAI,OAAO,CAAC,MAAM,KAAK,SAAS,CAAC,MAAM;QACrC,MAAM,IAAI,mBAAS,CAAC,4BAA4B,CAAC,CAAA;IACnD,OAAO,OAAuD,CAAA;AAChE,CAAC;AA1KD,8BA0KC"}
@@ -4,12 +4,17 @@ exports.readContract = void 0;
4
4
  const decodeFunctionResult_js_1 = require("../../utils/abi/decodeFunctionResult.js");
5
5
  const encodeFunctionData_js_1 = require("../../utils/abi/encodeFunctionData.js");
6
6
  const getContractError_js_1 = require("../../utils/errors/getContractError.js");
7
+ const getAction_js_1 = require("../../utils/getAction.js");
7
8
  const call_js_1 = require("./call.js");
8
9
  async function readContract(client, parameters) {
9
10
  const { abi, address, args, functionName, ...rest } = parameters;
10
- const calldata = (0, encodeFunctionData_js_1.encodeFunctionData)({ abi, args, functionName });
11
+ const calldata = (0, encodeFunctionData_js_1.encodeFunctionData)({
12
+ abi,
13
+ args,
14
+ functionName,
15
+ });
11
16
  try {
12
- const { data } = await (0, call_js_1.call)(client, {
17
+ const { data } = await (0, getAction_js_1.getAction)(client, call_js_1.call)({
13
18
  ...rest,
14
19
  data: calldata,
15
20
  to: address,
@@ -1 +1 @@
1
- {"version":3,"file":"readContract.js","sourceRoot":"","sources":["../../../actions/public/readContract.ts"],"names":[],"mappings":";;;AAaA,qFAA8E;AAC9E,iFAA0E;AAC1E,gFAAyE;AACzE,uCAAqD;AA8D9C,KAAK,UAAU,YAAY,CAMhC,MAAgC,EAChC,UAA2D;IAE3D,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,GAAG,IAAI,EAAE,GACjD,UAAoC,CAAA;IACtC,MAAM,QAAQ,GAAG,IAAA,0CAAkB,EAAC,EAAE,GAAG,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,CAAA;IAChE,IAAI;QACF,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,IAAA,cAAI,EAAC,MAAM,EAAE;YAClC,GAAI,IAAuB;YAC3B,IAAI,EAAE,QAAQ;YACd,EAAE,EAAE,OAAO;SACZ,CAAC,CAAA;QACF,OAAO,IAAA,8CAAoB,EAAC;YAC1B,GAAG;YACH,IAAI;YACJ,YAAY;YACZ,IAAI,EAAE,IAAI,IAAI,IAAI;SACnB,CAA8C,CAAA;KAChD;IAAC,OAAO,KAAK,EAAE;QACd,MAAM,IAAA,sCAAgB,EAAC,KAAkB,EAAE;YACzC,GAAG;YACH,OAAO;YACP,IAAI;YACJ,QAAQ,EAAE,6BAA6B;YACvC,YAAY;SACb,CAAC,CAAA;KACH;AACH,CAAC;AAjCD,oCAiCC"}
1
+ {"version":3,"file":"readContract.js","sourceRoot":"","sources":["../../../actions/public/readContract.ts"],"names":[],"mappings":";;;AAaA,qFAGgD;AAChD,iFAI8C;AAC9C,gFAG+C;AAC/C,2DAAoD;AAEpD,uCAAyE;AAkElE,KAAK,UAAU,YAAY,CAMhC,MAAgC,EAChC,UAA2D;IAE3D,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,GAAG,IAAI,EAAE,GACjD,UAAoC,CAAA;IACtC,MAAM,QAAQ,GAAG,IAAA,0CAAkB,EAAC;QAClC,GAAG;QACH,IAAI;QACJ,YAAY;KACmB,CAAC,CAAA;IAClC,IAAI;QACF,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,IAAA,wBAAS,EAC9B,MAAM,EACN,cAAI,CACL,CAAC;YACA,GAAI,IAAuB;YAC3B,IAAI,EAAE,QAAQ;YACd,EAAE,EAAE,OAAO;SACZ,CAAC,CAAA;QACF,OAAO,IAAA,8CAAoB,EAAC;YAC1B,GAAG;YACH,IAAI;YACJ,YAAY;YACZ,IAAI,EAAE,IAAI,IAAI,IAAI;SACnB,CAA8C,CAAA;KAChD;IAAC,OAAO,KAAK,EAAE;QACd,MAAM,IAAA,sCAAgB,EAAC,KAAkB,EAAE;YACzC,GAAG;YACH,OAAO;YACP,IAAI;YACJ,QAAQ,EAAE,6BAA6B;YACvC,YAAY;SACb,CAAC,CAAA;KACH;AACH,CAAC;AAxCD,oCAwCC"}
@@ -5,19 +5,21 @@ const parseAccount_js_1 = require("../../accounts/utils/parseAccount.js");
5
5
  const decodeFunctionResult_js_1 = require("../../utils/abi/decodeFunctionResult.js");
6
6
  const encodeFunctionData_js_1 = require("../../utils/abi/encodeFunctionData.js");
7
7
  const getContractError_js_1 = require("../../utils/errors/getContractError.js");
8
+ const getAction_js_1 = require("../../utils/getAction.js");
8
9
  const call_js_1 = require("./call.js");
9
10
  async function simulateContract(client, parameters) {
10
11
  const { abi, address, args, dataSuffix, functionName, ...callRequest } = parameters;
11
12
  const account = callRequest.account
12
13
  ? (0, parseAccount_js_1.parseAccount)(callRequest.account)
13
- : undefined;
14
+ : client.account;
14
15
  const calldata = (0, encodeFunctionData_js_1.encodeFunctionData)({ abi, args, functionName });
15
16
  try {
16
- const { data } = await (0, call_js_1.call)(client, {
17
+ const { data } = await (0, getAction_js_1.getAction)(client, call_js_1.call)({
17
18
  batch: false,
18
19
  data: `${calldata}${dataSuffix ? dataSuffix.replace('0x', '') : ''}`,
19
20
  to: address,
20
21
  ...callRequest,
22
+ account,
21
23
  });
22
24
  const result = (0, decodeFunctionResult_js_1.decodeFunctionResult)({
23
25
  abi,
@@ -35,6 +37,7 @@ async function simulateContract(client, parameters) {
35
37
  dataSuffix,
36
38
  functionName,
37
39
  ...callRequest,
40
+ account,
38
41
  },
39
42
  };
40
43
  }
@@ -1 +1 @@
1
- {"version":3,"file":"simulateContract.js","sourceRoot":"","sources":["../../../actions/public/simulateContract.ts"],"names":[],"mappings":";;;AAEA,0EAAmE;AAenE,qFAA8E;AAC9E,iFAA0E;AAC1E,gFAAyE;A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YACzC,GAAG;YACH,OAAO;YACP,IAAI;YACJ,QAAQ,EAAE,iCAAiC;YAC3C,YAAY;YACZ,MAAM,EAAE,OAAO,EAAE,OAAO;SACzB,CAAC,CAAA;KACH;AACH,CAAC;AAzED,4CAyEC"}
1
+ {"version":3,"file":"simulateContract.js","sourceRoot":"","sources":["../../../actions/public/simulateContract.ts"],"names":[],"mappings":";;;AAEA,0EAG6C;AAiB7C,qFAGgD;AAChD,iFAG8C;AAC9C,gFAG+C;AAG/C,2DAAoD;AACpD,uCAAyE;AA8IlE,KAAK,UAAU,gBAAgB,CAapC,MAAyC,EACzC,UAOC;IAYD,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,YAAY,EAAE,GAAG,WAAW,EAAE,GACpE,UAAwC,CAAA;IAE1C,MAAM,OAAO,GAAG,WAAW,CAAC,OAAO;QACjC,CAAC,CAAC,IAAA,8BAAY,EAAC,WAAW,CAAC,OAAO,CAAC;QACnC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAA;IAClB,MAAM,QAAQ,GAAG,IAAA,0CAAkB,EAAC,EAAE,GAAG,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,CAAA;IAChE,IAAI;QACF,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,IAAA,wBAAS,EAC9B,MAAM,EACN,cAAI,CACL,CAAC;YACA,KAAK,EAAE,KAAK;YACZ,IAAI,EAAE,GAAG,QAAQ,GAAG,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE;YACpE,EAAE,EAAE,OAAO;YACX,GAAG,WAAW;YACd,OAAO;SACR,CAAC,CAAA;QACF,MAAM,MAAM,GAAG,IAAA,8CAAoB,EAAC;YAClC,GAAG;YACH,IAAI;YACJ,YAAY;YACZ,IAAI,EAAE,IAAI,IAAI,IAAI;SACnB,CAAC,CAAA;QACF,MAAM,YAAY,GAAG,GAAG,CAAC,MAAM,CAC7B,CAAC,OAAO,EAAE,EAAE,CACV,MAAM,IAAI,OAAO,IAAI,OAAO,CAAC,IAAI,KAAK,UAAU,CAAC,YAAY,CAChE,CAAA;QACD,OAAO;YACL,MAAM;YACN,OAAO,EAAE;gBACP,GAAG,EAAE,YAAY;gBACjB,OAAO;gBACP,IAAI;gBACJ,UAAU;gBACV,YAAY;gBACZ,GAAG,WAAW;gBACd,OAAO;aACR;SASF,CAAA;KACF;IAAC,OAAO,KAAK,EAAE;QACd,MAAM,IAAA,sCAAgB,EAAC,KAAkB,EAAE;YACzC,GAAG;YACH,OAAO;YACP,IAAI;YACJ,QAAQ,EAAE,iCAAiC;YAC3C,YAAY;YACZ,MAAM,EAAE,OAAO,EAAE,OAAO;SACzB,CAAC,CAAA;KACH;AACH,CAAC;AA3FD,4CA2FC"}
@@ -1 +1 @@
1
- {"version":3,"file":"uninstallFilter.js","sourceRoot":"","sources":["../../../actions/public/uninstallFilter.ts"],"names":[],"mappings":";;;AAkCO,KAAK,UAAU,eAAe,CAInC,OAAmC,EACnC,EAAE,MAAM,EAA6B;IAErC,OAAO,MAAM,CAAC,OAAO,CAAC;QACpB,MAAM,EAAE,qBAAqB;QAC7B,MAAM,EAAE,CAAC,MAAM,CAAC,EAAE,CAAC;KACpB,CAAC,CAAA;AACJ,CAAC;AAXD,0CAWC"}
1
+ {"version":3,"file":"uninstallFilter.js","sourceRoot":"","sources":["../../../actions/public/uninstallFilter.ts"],"names":[],"mappings":";;;AAsCO,KAAK,UAAU,eAAe,CAInC,OAAmC,EACnC,EAAE,MAAM,EAA6B;IAErC,OAAO,MAAM,CAAC,OAAO,CAAC;QACpB,MAAM,EAAE,qBAAqB;QAC7B,MAAM,EAAE,CAAC,MAAM,CAAC,EAAE,CAAC;KACpB,CAAC,CAAA;AACJ,CAAC;AAXD,0CAWC"}
@@ -5,12 +5,13 @@ const abis_js_1 = require("../../constants/abis.js");
5
5
  const contracts_js_1 = require("../../constants/contracts.js");
6
6
  const contract_js_1 = require("../../errors/contract.js");
7
7
  const isBytesEqual_js_1 = require("../../utils/data/isBytesEqual.js");
8
+ const getAction_js_1 = require("../../utils/getAction.js");
8
9
  const index_js_1 = require("../../utils/index.js");
9
10
  const call_js_1 = require("./call.js");
10
11
  async function verifyHash(client, { address, hash, signature, ...callRequest }) {
11
12
  const signatureHex = (0, index_js_1.isHex)(signature) ? signature : (0, index_js_1.toHex)(signature);
12
13
  try {
13
- const { data } = await (0, call_js_1.call)(client, {
14
+ const { data } = await (0, getAction_js_1.getAction)(client, call_js_1.call)({
14
15
  data: (0, index_js_1.encodeDeployData)({
15
16
  abi: abis_js_1.universalSignatureValidatorAbi,
16
17
  args: [address, hash, signatureHex],
@@ -1 +1 @@
1
- {"version":3,"file":"verifyHash.js","sourceRoot":"","sources":["../../../actions/public/verifyHash.ts"],"names":[],"mappings":";;;AAIA,qDAAwE;AACxE,+DAAkF;AAClF,0DAA6D;AAG7D,sEAA+D;AAC/D,mDAAqE;AACrE,uCAAqD;AAuB9C,KAAK,UAAU,UAAU,CAC9B,MAAiC,EACjC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,WAAW,EAAwB;IAElE,MAAM,YAAY,GAAG,IAAA,gBAAK,EAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,gBAAK,EAAC,SAAS,CAAC,CAAA;IAEpE,IAAI;QACF,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,IAAA,cAAI,EAAC,MAAM,EAAE;YAClC,IAAI,EAAE,IAAA,2BAAgB,EAAC;gBACrB,GAAG,EAAE,wCAA8B;gBACnC,IAAI,EAAE,CAAC,OAAO,EAAE,IAAI,EAAE,YAAY,CAAC;gBACnC,QAAQ,EAAE,kDAAmC;aAC9C,CAAC;YACF,GAAG,WAAW;SACc,CAAC,CAAA;QAE/B,OAAO,IAAA,8BAAY,EAAC,IAAI,IAAI,KAAK,EAAE,KAAK,CAAC,CAAA;KAC1C;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,KAAK,YAAY,gCAAkB,EAAE;YAIvC,OAAO,KAAK,CAAA;SACb;QAED,MAAM,KAAK,CAAA;KACZ;AACH,CAAC;AA3BD,gCA2BC"}
1
+ {"version":3,"file":"verifyHash.js","sourceRoot":"","sources":["../../../actions/public/verifyHash.ts"],"names":[],"mappings":";;;AAIA,qDAAwE;AACxE,+DAAkF;AAClF,0DAA6D;AAK7D,sEAGyC;AAGzC,2DAAoD;AACpD,mDAAqE;AACrE,uCAAyE;AA+BlE,KAAK,UAAU,UAAU,CAC9B,MAAiC,EACjC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,WAAW,EAAwB;IAElE,MAAM,YAAY,GAAG,IAAA,gBAAK,EAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,gBAAK,EAAC,SAAS,CAAC,CAAA;IAEpE,IAAI;QACF,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,IAAA,wBAAS,EAC9B,MAAM,EACN,cAAI,CACL,CAAC;YACA,IAAI,EAAE,IAAA,2BAAgB,EAAC;gBACrB,GAAG,EAAE,wCAA8B;gBACnC,IAAI,EAAE,CAAC,OAAO,EAAE,IAAI,EAAE,YAAY,CAAC;gBACnC,QAAQ,EAAE,kDAAmC;aAC9C,CAAC;YACF,GAAG,WAAW;SACc,CAAC,CAAA;QAE/B,OAAO,IAAA,8BAAY,EAAC,IAAI,IAAI,KAAK,EAAE,KAAK,CAAC,CAAA;KAC1C;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,KAAK,YAAY,gCAAkB,EAAE;YAIvC,OAAO,KAAK,CAAA;SACb;QAED,MAAM,KAAK,CAAA;KACZ;AACH,CAAC;AA9BD,gCA8BC"}
@@ -1 +1 @@
1
- {"version":3,"file":"verifyMessage.js","sourceRoot":"","sources":["../../../actions/public/verifyMessage.ts"],"names":[],"mappings":";;;AAMA,mDAAkD;AAClD,mDAAuE;AAwBhE,KAAK,UAAU,aAAa,CACjC,MAAiC,EACjC,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,WAAW,EAA2B;IAExE,MAAM,IAAI,GAAG,IAAA,sBAAW,EAAC,OAAO,CAAC,CAAA;IACjC,OAAO,IAAA,0BAAU,EAAC,MAAM,EAAE;QACxB,OAAO;QACP,IAAI;QACJ,SAAS;QACT,GAAG,WAAW;KACf,CAAC,CAAA;AACJ,CAAC;AAXD,sCAWC"}
1
+ {"version":3,"file":"verifyMessage.js","sourceRoot":"","sources":["../../../actions/public/verifyMessage.ts"],"names":[],"mappings":";;;AAOA,mDAAkD;AAElD,mDAIwB;AA6BjB,KAAK,UAAU,aAAa,CACjC,MAAiC,EACjC,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,WAAW,EAA2B;IAExE,MAAM,IAAI,GAAG,IAAA,sBAAW,EAAC,OAAO,CAAC,CAAA;IACjC,OAAO,IAAA,0BAAU,EAAC,MAAM,EAAE;QACxB,OAAO;QACP,IAAI;QACJ,SAAS;QACT,GAAG,WAAW;KACf,CAAC,CAAA;AACJ,CAAC;AAXD,sCAWC"}
@@ -1 +1 @@
1
- {"version":3,"file":"verifyTypedData.js","sourceRoot":"","sources":["../../../actions/public/verifyTypedData.ts"],"names":[],"mappings":";;;AAOA,6EAAsE;AACtE,mDAAuE;AAwBhE,KAAK,UAAU,eAAe,CACnC,MAAiC,EACjC,EACE,OAAO,EACP,SAAS,EACT,OAAO,EACP,WAAW,EACX,KAAK,EACL,MAAM,EACN,GAAG,WAAW,EACY;IAE5B,MAAM,IAAI,GAAG,IAAA,gCAAa,EAAC,EAAE,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,CAAA;IACnE,OAAO,IAAA,0BAAU,EAAC,MAAM,EAAE;QACxB,OAAO;QACP,IAAI;QACJ,SAAS;QACT,GAAG,WAAW;KACf,CAAC,CAAA;AACJ,CAAC;AAnBD,0CAmBC"}
1
+ {"version":3,"file":"verifyTypedData.js","sourceRoot":"","sources":["../../../actions/public/verifyTypedData.ts"],"names":[],"mappings":";;;AAQA,6EAG+C;AAC/C,mDAIwB;AA6BjB,KAAK,UAAU,eAAe,CACnC,MAAiC,EACjC,EACE,OAAO,EACP,SAAS,EACT,OAAO,EACP,WAAW,EACX,KAAK,EACL,MAAM,EACN,GAAG,WAAW,EACY;IAE5B,MAAM,IAAI,GAAG,IAAA,gCAAa,EAAC,EAAE,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,CAAA;IACnE,OAAO,IAAA,0BAAU,EAAC,MAAM,EAAE;QACxB,OAAO;QACP,IAAI;QACJ,SAAS;QACT,GAAG,WAAW;KACf,CAAC,CAAA;AACJ,CAAC;AAnBD,0CAmBC"}
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.waitForTransactionReceipt = void 0;
4
4
  const transaction_js_1 = require("../../errors/transaction.js");
5
+ const getAction_js_1 = require("../../utils/getAction.js");
5
6
  const observe_js_1 = require("../../utils/observe.js");
6
7
  const withRetry_js_1 = require("../../utils/promise/withRetry.js");
7
8
  const stringify_js_1 = require("../../utils/stringify.js");
@@ -19,7 +20,7 @@ async function waitForTransactionReceipt(client, { confirmations = 1, hash, onRe
19
20
  if (timeout)
20
21
  setTimeout(() => reject(new transaction_js_1.WaitForTransactionReceiptTimeoutError({ hash })), timeout);
21
22
  const _unobserve = (0, observe_js_1.observe)(observerId, { onReplaced, resolve, reject }, (emit) => {
22
- const _unwatch = (0, watchBlockNumber_js_1.watchBlockNumber)(client, {
23
+ const _unwatch = (0, getAction_js_1.getAction)(client, watchBlockNumber_js_1.watchBlockNumber)({
23
24
  emitMissed: true,
24
25
  emitOnBegin: true,
25
26
  poll: true,
@@ -45,7 +46,7 @@ async function waitForTransactionReceipt(client, { confirmations = 1, hash, onRe
45
46
  if (!transaction) {
46
47
  retrying = true;
47
48
  await (0, withRetry_js_1.withRetry)(async () => {
48
- transaction = await (0, getTransaction_js_1.getTransaction)(client, { hash });
49
+ transaction = (await (0, getAction_js_1.getAction)(client, getTransaction_js_1.getTransaction)({ hash }));
49
50
  if (transaction.blockNumber)
50
51
  blockNumber = transaction.blockNumber;
51
52
  }, {
@@ -54,7 +55,7 @@ async function waitForTransactionReceipt(client, { confirmations = 1, hash, onRe
54
55
  });
55
56
  retrying = false;
56
57
  }
57
- receipt = await (0, getTransactionReceipt_js_1.getTransactionReceipt)(client, { hash });
58
+ receipt = await (0, getAction_js_1.getAction)(client, getTransactionReceipt_js_1.getTransactionReceipt)({ hash });
58
59
  if (confirmations > 1 &&
59
60
  (!receipt.blockNumber ||
60
61
  blockNumber - receipt.blockNumber + 1n < confirmations))
@@ -67,7 +68,7 @@ async function waitForTransactionReceipt(client, { confirmations = 1, hash, onRe
67
68
  err instanceof transaction_js_1.TransactionReceiptNotFoundError)) {
68
69
  try {
69
70
  replacedTransaction = transaction;
70
- const block = await (0, getBlock_js_1.getBlock)(client, {
71
+ const block = await (0, getAction_js_1.getAction)(client, getBlock_js_1.getBlock)({
71
72
  blockNumber,
72
73
  includeTransactions: true,
73
74
  });
@@ -75,7 +76,7 @@ async function waitForTransactionReceipt(client, { confirmations = 1, hash, onRe
75
76
  nonce === replacedTransaction.nonce);
76
77
  if (!replacementTransaction)
77
78
  return;
78
- receipt = await (0, getTransactionReceipt_js_1.getTransactionReceipt)(client, {
79
+ receipt = await (0, getAction_js_1.getAction)(client, getTransactionReceipt_js_1.getTransactionReceipt)({
79
80
  hash: replacementTransaction.hash,
80
81
  });
81
82
  if (confirmations > 1 &&
@@ -1 +1 @@
1
- {"version":3,"file":"waitForTransactionReceipt.js","sourceRoot":"","sources":["../../../actions/public/waitForTransactionReceipt.ts"],"names":[],"mappings":";;;AAEA,gEAIoC;AAIpC,uDAAgD;AAChD,mEAA4D;AAC5D,2DAAoD;AAEpD,+CAAwC;AACxC,2DAG4B;AAC5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CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAA;6BAC9B;yBACF;6BAAM;4BACL,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAA;yBAC7B;qBACF;gBACH,CAAC;aACF,CAAC,CAAA;QACJ,CAAC,CACF,CAAA;IACH,CAAC,CAAC,CAAA;AACJ,CAAC;AAxKD,8DAwKC"}
1
+ {"version":3,"file":"waitForTransactionReceipt.js","sourceRoot":"","sources":["../../../actions/public/waitForTransactionReceipt.ts"],"names":[],"mappings":";;;AAEA,gEAIoC;AAKpC,2DAAoD;AACpD,uDAAuE;AACvE,mEAA4D;AAC5D,2DAAoD;AAEpD,+CAAgE;AAChE,2DAI4B;AAC5B,yEAImC;AACnC,+DAG8B;AAmFvB,KAAK,UAAU,yBAAyB,CAG7C,MAAiC,EACjC,EACE,aAAa,GAAG,CAAC,EACjB,IAAI,EACJ,UAAU,EACV,eAAe,GAAG,MAAM,CAAC,eAAe,EACxC,OAAO,GACqC;IAE9C,MAAM,UAAU,GAAG,IAAA,wBAAS,EAAC,CAAC,2BAA2B,EAAE,MAAM,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC,CAAA;IAE7E,IAAI,WAAyD,CAAA;IAC7D,IAAI,mBAAiE,CAAA;IACrE,IAAI,OAAgD,CAAA;IACpD,IAAI,QAAQ,GAAG,KAAK,CAAA;IAEpB,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QACrC,IAAI,OAAO;YACT,UAAU,CACR,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,sDAAqC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,EACjE,OAAO,CACR,CAAA;QAEH,MAAM,UAAU,GAAG,IAAA,oBAAO,EACxB,UAAU,EACV,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,EAAE,EAC/B,CAAC,IAAI,EAAE,EAAE;YACP,MAAM,QAA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,mBAAmB,CAAC,EAAE;oCACpD,sBAAsB,CAAC,KAAK,KAAK,mBAAmB,CAAC,KAAK,EAC1D;oCACA,MAAM,GAAG,UAAU,CAAA;iCACpB;qCAAM,IACL,sBAAsB,CAAC,IAAI,KAAK,sBAAsB,CAAC,EAAE;oCACzD,sBAAsB,CAAC,KAAK,KAAK,EAAE,EACnC;oCACA,MAAM,GAAG,WAAW,CAAA;iCACrB;gCAED,IAAI,CAAC,GAAG,EAAE;oCACR,IAAI,CAAC,UAAU,EAAE,CAAC;wCAChB,MAAM;wCACN,mBAAmB,EAAE,mBAAoB;wCACzC,WAAW,EAAE,sBAAsB;wCACnC,kBAAkB,EAAE,OAAO;qCAC5B,CAAC,CAAA;oCACF,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAA;gCACvB,CAAC,CAAC,CAAA;6BACH;4BAAC,OAAO,IAAI,EAAE;gCACb,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAA;6BAC9B;yBACF;6BAAM;4BACL,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAA;yBAC7B;qBACF;gBACH,CAAC;aACF,CAAC,CAAA;QACJ,CAAC,CACF,CAAA;IACH,CAAC,CAAC,CAAA;AACJ,CAAC;AApLD,8DAoLC"}
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.watchBlockNumber = void 0;
4
4
  const fromHex_js_1 = require("../../utils/encoding/fromHex.js");
5
+ const getAction_js_1 = require("../../utils/getAction.js");
5
6
  const observe_js_1 = require("../../utils/observe.js");
6
7
  const poll_js_1 = require("../../utils/poll.js");
7
8
  const stringify_js_1 = require("../../utils/stringify.js");
@@ -19,7 +20,7 @@ function watchBlockNumber(client, { emitOnBegin = false, emitMissed = false, onB
19
20
  ]);
20
21
  return (0, observe_js_1.observe)(observerId, { onBlockNumber, onError }, (emit) => (0, poll_js_1.poll)(async () => {
21
22
  try {
22
- const blockNumber = await (0, getBlockNumber_js_1.getBlockNumber)(client, { cacheTime: 0 });
23
+ const blockNumber = await (0, getAction_js_1.getAction)(client, getBlockNumber_js_1.getBlockNumber)({ cacheTime: 0 });
23
24
  if (prevBlockNumber) {
24
25
  if (blockNumber === prevBlockNumber)
25
26
  return;
@@ -1 +1 @@
1
- {"version":3,"file":"watchBlockNumber.js","sourceRoot":"","sources":["../../../actions/public/watchBlockNumber.ts"],"names":[],"mappings":";;;AAIA,gEAA6D;AAC7D,uDAAgD;AAChD,iDAA0C;AAC1C,2DAAoD;AAEpD,2DAG4B;AA+D5B,SAAgB,gBAAgB,CAI9B,MAAkC,EAClC,EACE,WAAW,GAAG,KAAK,EACnB,UAAU,GAAG,KAAK,EAClB,aAAa,EACb,OAAO,EACP,IAAI,EAAE,KAAK,EACX,eAAe,GAAG,MAAM,CAAC,eAAe,GACD;IAEzC,MAAM,aAAa,GACjB,OAAO,KAAK,KAAK,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,KAAK,WAAW,CAAA;IAE9E,IAAI,eAAqD,CAAA;IAEzD,MAAM,eAAe,GAAG,GAAG,EAAE;QAC3B,MAAM,UAAU,GAAG,IAAA,wBAAS,EAAC;YAC3B,kBAAkB;YAClB,MAAM,CAAC,GAAG;YACV,WAAW;YACX,UAAU;YACV,eAAe;SAChB,CAAC,CAAA;QAEF,OAAO,IAAA,oBAAO,EAAC,UAAU,EAAE,EAAE,aAAa,EAAE,OAAO,EAAE,EAAE,CAAC,IAAI,EAAE,EAAE,CAC9D,IAAA,cAAI,EACF,KAAK,IAAI,EAAE;YACT,IAAI;gBACF,MAAM,WAAW,GAAG,MAAM,IAAA,kCAAc,EAAC,MAAM,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC,CAAA;gBAElE,IAAI,eAAe,EAAE;oBAGnB,IAAI,WAAW,KAAK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AG,IAAA,wBAAW,EAAC,IAAI,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;wBACpD,aAAa,CAAC,WAAW,EAAE,eAAe,CAAC,CAAA;wBAC3C,eAAe,GAAG,WAAW,CAAA;oBAC/B,CAAC;oBACD,OAAO,CAAC,KAAY;wBAClB,OAAO,EAAE,CAAC,KAAK,CAAC,CAAA;oBAClB,CAAC;iBACF,CAAC,CAAA;gBACF,WAAW,GAAG,YAAY,CAAA;gBAC1B,IAAI,CAAC,MAAM;oBAAE,WAAW,EAAE,CAAA;aAC3B;YAAC,OAAO,GAAG,EAAE;gBACZ,OAAO,EAAE,CAAC,GAAY,CAAC,CAAA;aACxB;QACH,CAAC,CAAC,EAAE,CAAA;QACJ,OAAO,WAAW,CAAA;IACpB,CAAC,CAAA;IAED,OAAO,aAAa,CAAC,CAAC,CAAC,eAAe,EAAE,CAAC,CAAC,CAAC,oBAAoB,EAAE,CAAA;AACnE,CAAC;AAjGD,4CAiGC"}
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.watchBlocks = void 0;
4
4
  const block_js_1 = require("../../utils/formatters/block.js");
5
+ const getAction_js_1 = require("../../utils/getAction.js");
5
6
  const observe_js_1 = require("../../utils/observe.js");
6
7
  const poll_js_1 = require("../../utils/poll.js");
7
8
  const stringify_js_1 = require("../../utils/stringify.js");
@@ -21,7 +22,7 @@ function watchBlocks(client, { blockTag = 'latest', emitMissed = false, emitOnBe
21
22
  ]);
22
23
  return (0, observe_js_1.observe)(observerId, { onBlock, onError }, (emit) => (0, poll_js_1.poll)(async () => {
23
24
  try {
24
- const block = await (0, getBlock_js_1.getBlock)(client, {
25
+ const block = await (0, getAction_js_1.getAction)(client, getBlock_js_1.getBlock)({
25
26
  blockTag,
26
27
  includeTransactions,
27
28
  });
@@ -30,10 +31,10 @@ function watchBlocks(client, { blockTag = 'latest', emitMissed = false, emitOnBe
30
31
  return;
31
32
  if (block.number - prevBlock.number > 1 && emitMissed) {
32
33
  for (let i = prevBlock?.number + 1n; i < block.number; i++) {
33
- const block = await (0, getBlock_js_1.getBlock)(client, {
34
+ const block = (await (0, getAction_js_1.getAction)(client, getBlock_js_1.getBlock)({
34
35
  blockNumber: i,
35
36
  includeTransactions,
36
- });
37
+ }));
37
38
  emit.onBlock(block, prevBlock);
38
39
  prevBlock = block;
39
40
  }
@@ -1 +1 @@
1
- {"version":3,"file":"watchBlocks.js","sourceRoot":"","sources":["../../../actions/public/watchBlocks.ts"],"names":[],"mappings":";;;AAKA,8DAA6D;AAC7D,uDAAgD;AAChD,iDAA0C;AAC1C,2DAAoD;AAEpD,+CAAiE;AAmFjE,SAAgB,WAAW,CAMzB,MAAkC,EAClC,EACE,QAAQ,GAAG,QAAQ,EACnB,UAAU,GAAG,KAAK,EAClB,WAAW,GAAG,KAAK,EACnB,OAAO,EACP,OAAO,EACP,mBAAmB,EAAE,oBAAoB,EACzC,IAAI,EAAE,KAAK,EACX,eAAe,GAAG,MAAM,CAAC,eAAe,GACmC;IAE7E,MAAM,aAAa,GACjB,OAAO,KAAK,KAAK,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,KAAK,WAAW,CAAA;IAC9E,MAAM,mBAAmB,GAAG,oBAAoB,IAAI,KAAK,CAAA;IAEzD,IAAI,SAES,CAAA;IAEb,MAAM,UAAU,GAAG,GAAG,EAAE;QACtB,MAAM,UAAU,GAAG,IAAA,wBAAS,EAAC;YAC3B,aAAa;YACb,MAAM,CAAC,GAAG;YACV,UAAU;YACV,WAAW;YACX,mBAAmB;YACnB,eAAe;SAChB,CAAC,CAAA;QAEF,OAAO,IAAA,oBAAO,EAAC,UAAU,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE,CAAC,IAAI,EAAE,EAAE,CACxD,IAAA,cAAI,EACF,KAAK,IAAI,EAAE;YACT,IAAI;gBACF,MAAM,KAAK,GAAG,MAAM,IAAA,sBAAQ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ACjC,OAAO,CAAC,KAAK,EAAE,SAAgB,CAAC,CAAA;wBAChC,SAAS,GAAG,KAAK,CAAA;oBACnB,CAAC;oBACD,OAAO,CAAC,KAAY;wBAClB,OAAO,EAAE,CAAC,KAAK,CAAC,CAAA;oBAClB,CAAC;iBACF,CAAC,CAAA;gBACF,WAAW,GAAG,YAAY,CAAA;gBAC1B,IAAI,CAAC,MAAM;oBAAE,WAAW,EAAE,CAAA;aAC3B;YAAC,OAAO,GAAG,EAAE;gBACZ,OAAO,EAAE,CAAC,GAAY,CAAC,CAAA;aACxB;QACH,CAAC,CAAC,EAAE,CAAA;QACJ,OAAO,WAAW,CAAA;IACpB,CAAC,CAAA;IAED,OAAO,aAAa,CAAC,CAAC,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC,eAAe,EAAE,CAAA;AACzD,CAAC;AA1HD,kCA0HC"}
@@ -5,15 +5,15 @@ const abi_js_1 = require("../../errors/abi.js");
5
5
  const rpc_js_1 = require("../../errors/rpc.js");
6
6
  const decodeEventLog_js_1 = require("../../utils/abi/decodeEventLog.js");
7
7
  const encodeEventTopics_js_1 = require("../../utils/abi/encodeEventTopics.js");
8
- const getAbiItem_js_1 = require("../../utils/abi/getAbiItem.js");
9
8
  const log_js_1 = require("../../utils/formatters/log.js");
9
+ const getAction_js_1 = require("../../utils/getAction.js");
10
10
  const observe_js_1 = require("../../utils/observe.js");
11
11
  const poll_js_1 = require("../../utils/poll.js");
12
12
  const stringify_js_1 = require("../../utils/stringify.js");
13
13
  const createContractEventFilter_js_1 = require("./createContractEventFilter.js");
14
14
  const getBlockNumber_js_1 = require("./getBlockNumber.js");
15
+ const getContractEvents_js_1 = require("./getContractEvents.js");
15
16
  const getFilterChanges_js_1 = require("./getFilterChanges.js");
16
- const getLogs_js_1 = require("./getLogs.js");
17
17
  const uninstallFilter_js_1 = require("./uninstallFilter.js");
18
18
  function watchContractEvent(client, parameters) {
19
19
  const { abi, address, args, batch = true, eventName, onError, onLogs, poll: poll_, pollingInterval = client.pollingInterval, strict: strict_, } = parameters;
@@ -36,7 +36,7 @@ function watchContractEvent(client, parameters) {
36
36
  const unwatch = (0, poll_js_1.poll)(async () => {
37
37
  if (!initialized) {
38
38
  try {
39
- filter = (await (0, createContractEventFilter_js_1.createContractEventFilter)(client, {
39
+ filter = (await (0, getAction_js_1.getAction)(client, createContractEventFilter_js_1.createContractEventFilter)({
40
40
  abi,
41
41
  address,
42
42
  args: args,
@@ -51,20 +51,18 @@ function watchContractEvent(client, parameters) {
51
51
  try {
52
52
  let logs;
53
53
  if (filter) {
54
- logs = await (0, getFilterChanges_js_1.getFilterChanges)(client, { filter });
54
+ logs = await (0, getAction_js_1.getAction)(client, getFilterChanges_js_1.getFilterChanges)({ filter });
55
55
  }
56
56
  else {
57
- const blockNumber = await (0, getBlockNumber_js_1.getBlockNumber)(client);
57
+ const blockNumber = await (0, getAction_js_1.getAction)(client, getBlockNumber_js_1.getBlockNumber)({});
58
58
  if (previousBlockNumber && previousBlockNumber !== blockNumber) {
59
- logs = await (0, getLogs_js_1.getLogs)(client, {
59
+ logs = await (0, getAction_js_1.getAction)(client, getContractEvents_js_1.getContractEvents)({
60
+ abi,
60
61
  address,
61
62
  args: args,
62
63
  fromBlock: previousBlockNumber + 1n,
63
64
  toBlock: blockNumber,
64
- event: (0, getAbiItem_js_1.getAbiItem)({
65
- abi,
66
- name: eventName,
67
- }),
65
+ strict,
68
66
  });
69
67
  }
70
68
  else {
@@ -90,7 +88,7 @@ function watchContractEvent(client, parameters) {
90
88
  });
91
89
  return async () => {
92
90
  if (filter)
93
- await (0, uninstallFilter_js_1.uninstallFilter)(client, { filter });
91
+ await (0, getAction_js_1.getAction)(client, uninstallFilter_js_1.uninstallFilter)({ filter });
94
92
  unwatch();
95
93
  };
96
94
  });
@@ -1 +1 @@
1
- {"version":3,"file":"watchContractEvent.js","sourceRoot":"","sources":["../../../actions/public/watchContractEvent.ts"],"names":[],"mappings":";;;AAIA,gDAG4B;AAC5B,gDAA0D;AA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AC,CAAC,sBAAsB,EAAE,CAAA;AACvE,CAAC;AAzLD,gDAyLC"}
@@ -6,6 +6,7 @@ const poll_js_1 = require("../../utils/poll.js");
6
6
  const stringify_js_1 = require("../../utils/stringify.js");
7
7
  const abi_js_1 = require("../../errors/abi.js");
8
8
  const rpc_js_1 = require("../../errors/rpc.js");
9
+ const getAction_js_1 = require("../../utils/getAction.js");
9
10
  const index_js_1 = require("../../utils/index.js");
10
11
  const createEventFilter_js_1 = require("./createEventFilter.js");
11
12
  const getBlockNumber_js_1 = require("./getBlockNumber.js");
@@ -32,7 +33,7 @@ function watchEvent(client, { address, args, batch = true, event, events, onErro
32
33
  const unwatch = (0, poll_js_1.poll)(async () => {
33
34
  if (!initialized) {
34
35
  try {
35
- filter = (await (0, createEventFilter_js_1.createEventFilter)(client, {
36
+ filter = (await (0, getAction_js_1.getAction)(client, createEventFilter_js_1.createEventFilter)({
36
37
  address,
37
38
  args,
38
39
  event: event,
@@ -47,12 +48,12 @@ function watchEvent(client, { address, args, batch = true, event, events, onErro
47
48
  try {
48
49
  let logs;
49
50
  if (filter) {
50
- logs = await (0, getFilterChanges_js_1.getFilterChanges)(client, { filter });
51
+ logs = await (0, getAction_js_1.getAction)(client, getFilterChanges_js_1.getFilterChanges)({ filter });
51
52
  }
52
53
  else {
53
- const blockNumber = await (0, getBlockNumber_js_1.getBlockNumber)(client);
54
+ const blockNumber = await (0, getAction_js_1.getAction)(client, getBlockNumber_js_1.getBlockNumber)({});
54
55
  if (previousBlockNumber && previousBlockNumber !== blockNumber) {
55
- logs = await (0, getLogs_js_1.getLogs)(client, {
56
+ logs = await (0, getAction_js_1.getAction)(client, getLogs_js_1.getLogs)({
56
57
  address,
57
58
  args,
58
59
  event: event,
@@ -84,7 +85,7 @@ function watchEvent(client, { address, args, batch = true, event, events, onErro
84
85
  });
85
86
  return async () => {
86
87
  if (filter)
87
- await (0, uninstallFilter_js_1.uninstallFilter)(client, { filter });
88
+ await (0, getAction_js_1.getAction)(client, uninstallFilter_js_1.uninstallFilter)({ filter });
88
89
  unwatch();
89
90
  };
90
91
  });
@@ -1 +1 @@
1
- {"version":3,"file":"watchEvent.js","sourceRoot":"","sources":["../../../actions/public/watchEvent.ts"],"names":[],"mappings":";;;AAcA,uDAAgD;AAChD,iDAA0C;AAC1C,2DAAoD;AAEpD,gDAG4B;AAC5B,gDAA0D;AAC1D,mDAI6B;AAC7B,iEAG+B;AAC/B,2DAAoD;AACpD,+DAAwD;AACxD,6CAA8D;AAC9D,6DAAsD;AAuGtD,SAAgB,UAAU,CAWxB,MAAkC,EAClC,EACE,OAAO,EACP,IAAI,EACJ,KAAK,GAAG,IAAI,EACZ,KAAK,EACL,MAAM,EACN,OAAO,EACP,MAAM,EACN,IAAI,EAAE,KAAK,EACX,eAAe,GAAG,MAAM,CAAC,eAAe,EACxC,MAAM,EAAE,OAAO,GACkD;IAEnE,MAAM,aAAa,GACjB,OAAO,KAAK,KAAK,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,KAAK,WAAW,CAAA;IAC9E,MAAM,MAAM,GAAG,OAAO,IAAI,KAAK,CAAA;IAE/B,MAAM,SAAS,GAAG,GAAG,EAAE;QACrB,MAAM,UAAU,GAAG,IAAA,wBAAS,EAAC;YAC3B,YAAY;YACZ,OAAO;YACP,IAAI;YACJ,KAAK;YACL,MAAM,CAAC,GAAG;YACV,KAAK;YACL,eAAe;SAChB,CAAC,CAAA;QAEF,OAAO,IAAA,oBAAO,EAAC,UAAU,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,CAAC,IAAI,EAAE,EAAE;YACvD,IAAI,mBAA2B,CAAA;YAC/B,IAAI,MAAoD,CAAA;YACxD,IAAI,WAAW,GAAG,KAAK,CAAA;YAEvB,MAAM,OAAO,GAAG,IAAA,cAAI,EAClB,KAAK,IAAI,EAAE;gBACT,IAAI,CAAC,WAAW,EAAE;oBAChB,IAAI;wBACF,MAAM,GAA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,CAAC,CAAC,SAAS,CAAQ,CAAC,CAAA;yBAC3B;oBACH,CAAC;oBACD,OAAO,CAAC,KAAY;wBAClB,OAAO,EAAE,CAAC,KAAK,CAAC,CAAA;oBAClB,CAAC;iBACF,CAAC,CAAA;gBACF,WAAW,GAAG,YAAY,CAAA;gBAC1B,IAAI,CAAC,MAAM;oBAAE,WAAW,EAAE,CAAA;aAC3B;YAAC,OAAO,GAAG,EAAE;gBACZ,OAAO,EAAE,CAAC,GAAY,CAAC,CAAA;aACxB;QACH,CAAC,CAAC,EAAE,CAAA;QACJ,OAAO,WAAW,CAAA;IACpB,CAAC,CAAA;IAED,OAAO,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC,cAAc,EAAE,CAAA;AACvD,CAAC;AAnMD,gCAmMC"}
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.watchPendingTransactions = void 0;
4
+ const getAction_js_1 = require("../../utils/getAction.js");
4
5
  const observe_js_1 = require("../../utils/observe.js");
5
6
  const poll_js_1 = require("../../utils/poll.js");
6
7
  const stringify_js_1 = require("../../utils/stringify.js");
@@ -22,7 +23,7 @@ function watchPendingTransactions(client, { batch = true, onError, onTransaction
22
23
  try {
23
24
  if (!filter) {
24
25
  try {
25
- filter = await (0, createPendingTransactionFilter_js_1.createPendingTransactionFilter)(client);
26
+ filter = await (0, getAction_js_1.getAction)(client, createPendingTransactionFilter_js_1.createPendingTransactionFilter)({});
26
27
  return;
27
28
  }
28
29
  catch (err) {
@@ -30,7 +31,7 @@ function watchPendingTransactions(client, { batch = true, onError, onTransaction
30
31
  throw err;
31
32
  }
32
33
  }
33
- const hashes = await (0, getFilterChanges_js_1.getFilterChanges)(client, { filter });
34
+ const hashes = await (0, getAction_js_1.getAction)(client, getFilterChanges_js_1.getFilterChanges)({ filter });
34
35
  if (hashes.length === 0)
35
36
  return;
36
37
  if (batch)
@@ -47,7 +48,7 @@ function watchPendingTransactions(client, { batch = true, onError, onTransaction
47
48
  });
48
49
  return async () => {
49
50
  if (filter)
50
- await (0, uninstallFilter_js_1.uninstallFilter)(client, { filter });
51
+ await (0, getAction_js_1.getAction)(client, uninstallFilter_js_1.uninstallFilter)({ filter });
51
52
  unwatch();
52
53
  };
53
54
  });
@@ -1 +1 @@
1
- {"version":3,"file":"watchPendingTransactions.js","sourceRoot":"","sources":["../../../actions/public/watchPendingTransactions.ts"],"names":[],"mappings":";;;AAMA,uDAAgD;AAChD,iDAA0C;AAC1C,2DAAoD;AAEpD,2FAAoF;AACpF,+DAAwD;AACxD,6DAAsD;AA6CtD,SAAgB,wBAAwB,CAItC,MAAkC,EAClC,EACE,KAAK,GAAG,IAAI,EACZ,OAAO,EACP,cAAc,EACd,IAAI,EAAE,KAAK,EACX,eAAe,GAAG,MAAM,CAAC,eAAe,GACO;IAEjD,MAAM,aAAa,GACjB,OAAO,KAAK,KAAK,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,KAAK,WAAW,CAAA;IAE9E,MAAM,uBAAuB,GAAG,GAAG,EAAE;QACnC,MAAM,UAAU,GAAG,IAAA,wBAAS,EAAC;YAC3B,0BAA0B;YAC1B,MAAM,CAAC,GAAG;YACV,KAAK;YACL,eAAe;SAChB,CAAC,CAAA;QACF,OAAO,IAAA,oBAAO,EAAC,UAAU,EAAE,EAAE,cAAc,EAAE,OAAO,EAAE,EAAE,CAAC,IAAI,EAAE,EAAE;YAC/D,IAAI,MAA6B,CAAA;YAEjC,MAAM,OAAO,GAAG,IAAA,cAAI,EAClB,KAAK,IAAI,EAAE;gBACT,IAAI;oBACF,IAAI,CAAC,MAAM,EAAE;wBACX,IAAI;4BACF,MAAM,GAAG,MAAM,IAAA,kEAA8B,EAAC,MAAM,CAAC,CAAA;4BACrD,OAAM;yBACP;wBAAC,OAAO,GAAG,EAAE;4BACZ,OAAO,EAAE,CAAA;4BACT,MAAM,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CAAA;oBAC/B,CAAC;oBACD,OAAO,CAAC,KAAY;wBAClB,OAAO,EAAE,CAAC,KAAK,CAAC,CAAA;oBAClB,CAAC;iBACF,CAAC,CAAA;gBACF,WAAW,GAAG,YAAY,CAAA;gBAC1B,IAAI,CAAC,MAAM;oBAAE,WAAW,EAAE,CAAA;aAC3B;YAAC,OAAO,GAAG,EAAE;gBACZ,OAAO,EAAE,CAAC,GAAY,CAAC,CAAA;aACxB;QACH,CAAC,CAAC,EAAE,CAAA;QACJ,OAAO,WAAW,CAAA;IACpB,CAAC,CAAA;IAED,OAAO,aAAa;QAClB,CAAC,CAAC,uBAAuB,EAAE;QAC3B,CAAC,CAAC,4BAA4B,EAAE,CAAA;AACpC,CAAC;AAxFD,4DAwFC"}
1
+ {"version":3,"file":"watchPendingTransactions.js","sourceRoot":"","sources":["../../../actions/public/watchPendingTransactions.ts"],"names":[],"mappings":";;;AAOA,2DAAoD;AACpD,uDAAuE;AACvE,iDAA0C;AAC1C,2DAA6E;AAE7E,2FAAoF;AACpF,+DAAwD;AACxD,6DAAsD;AAkDtD,SAAgB,wBAAwB,CAItC,MAAkC,EAClC,EACE,KAAK,GAAG,IAAI,EACZ,OAAO,EACP,cAAc,EACd,IAAI,EAAE,KAAK,EACX,eAAe,GAAG,MAAM,CAAC,eAAe,GACO;IAEjD,MAAM,aAAa,GACjB,OAAO,KAAK,KAAK,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,KAAK,WAAW,CAAA;IAE9E,MAAM,uBAAuB,GAAG,GAAG,EAAE;QACnC,MAAM,UAAU,GAAG,IAAA,wBAAS,EAAC;YAC3B,0BAA0B;YAC1B,MAAM,CAAC,GAAG;YACV,KAAK;YACL,eAAe;SAChB,CAAC,CAAA;QACF,OAAO,IAAA,oBAAO,EAAC,UAAU,EAAE,EAAE,cAAc,EAAE,OAAO,EAAE,EAAE,CAAC,IAAI,EAAE,EAAE;YAC/D,IAA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AAK,CAAC,CACvC;QAAA,CAAC,KAAK,IAAI,EAAE;YACX,IAAI;gBACF,MAAM,EAAE,WAAW,EAAE,YAAY,EAAE,GAAG,MAAM,MAAM,CAAC,SAAS,CAAC,SAAS,CAAC;oBACrE,MAAM,EAAE,CAAC,wBAAwB,CAAC;oBAClC,MAAM,CAAC,IAAS;wBACd,IAAI,CAAC,MAAM;4BAAE,OAAM;wBACnB,MAAM,WAAW,GAAG,IAAI,CAAC,MAAM,CAAA;wBAC/B,cAAc,CAAC,CAAC,WAAW,CAAC,CAAC,CAAA;oBAC/B,CAAC;oBACD,OAAO,CAAC,KAAY;wBAClB,OAAO,EAAE,CAAC,KAAK,CAAC,CAAA;oBAClB,CAAC;iBACF,CAAC,CAAA;gBACF,WAAW,GAAG,YAAY,CAAA;gBAC1B,IAAI,CAAC,MAAM;oBAAE,WAAW,EAAE,CAAA;aAC3B;YAAC,OAAO,GAAG,EAAE;gBACZ,OAAO,EAAE,CAAC,GAAY,CAAC,CAAA;aACxB;QACH,CAAC,CAAC,EAAE,CAAA;QACJ,OAAO,WAAW,CAAA;IACpB,CAAC,CAAA;IAED,OAAO,aAAa;QAClB,CAAC,CAAC,uBAAuB,EAAE;QAC3B,CAAC,CAAC,4BAA4B,EAAE,CAAA;AACpC,CAAC;AA3FD,4DA2FC"}
@@ -1 +1 @@
1
- {"version":3,"file":"dropTransaction.js","sourceRoot":"","sources":["../../../actions/test/dropTransaction.ts"],"names":[],"mappings":";;;AAoCO,KAAK,UAAU,eAAe,CAInC,MAAsE,EACtE,EAAE,IAAI,EAA6B;IAEnC,MAAM,MAAM,CAAC,OAAO,CAAC;QACnB,MAAM,EAAE,GAAG,MAAM,CAAC,IAAI,kBAAkB;QACxC,MAAM,EAAE,CAAC,IAAI,CAAC;KACf,CAAC,CAAA;AACJ,CAAC;AAXD,0CAWC"}
1
+ {"version":3,"file":"dropTransaction.js","sourceRoot":"","sources":["../../../actions/test/dropTransaction.ts"],"names":[],"mappings":";;;AAwCO,KAAK,UAAU,eAAe,CAInC,MAAsE,EACtE,EAAE,IAAI,EAA6B;IAEnC,MAAM,MAAM,CAAC,OAAO,CAAC;QACnB,MAAM,EAAE,GAAG,MAAM,CAAC,IAAI,kBAAkB;QACxC,MAAM,EAAE,CAAC,IAAI,CAAC;KACf,CAAC,CAAA;AACJ,CAAC;AAXD,0CAWC"}
@@ -1 +1 @@
1
- {"version":3,"file":"getAutomine.js","sourceRoot":"","sources":["../../../actions/test/getAutomine.ts"],"names":[],"mappings":";;;AA8BO,KAAK,UAAU,WAAW,CAI/B,MAAsE;IAEtE,IAAI,MAAM,CAAC,IAAI,KAAK,SAAS;QAC3B,OAAO,MAAM,MAAM,CAAC,OAAO,CAAC;YAC1B,MAAM,EAAE,YAAY;SACrB,CAAC,CAAA;IACJ,OAAO,MAAM,MAAM,CAAC,OAAO,CAAC;QAC1B,MAAM,EAAE,GAAG,MAAM,CAAC,IAAI,cAAc;KACrC,CAAC,CAAA;AACJ,CAAC;AAbD,kCAaC"}
1
+ {"version":3,"file":"getAutomine.js","sourceRoot":"","sources":["../../../actions/test/getAutomine.ts"],"names":[],"mappings":";;;AAkCO,KAAK,UAAU,WAAW,CAI/B,MAAsE;IAEtE,IAAI,MAAM,CAAC,IAAI,KAAK,SAAS;QAC3B,OAAO,MAAM,MAAM,CAAC,OAAO,CAAC;YAC1B,MAAM,EAAE,YAAY;SACrB,CAAC,CAAA;IACJ,OAAO,MAAM,MAAM,CAAC,OAAO,CAAC;QAC1B,MAAM,EAAE,GAAG,MAAM,CAAC,IAAI,cAAc;KACrC,CAAC,CAAA;AACJ,CAAC;AAbD,kCAaC"}
@@ -1 +1 @@
1
- {"version":3,"file":"getTxpoolContent.js","sourceRoot":"","sources":["../../../actions/test/getTxpoolContent.ts"],"names":[],"mappings":";;;AAsCO,KAAK,UAAU,gBAAgB,CAIpC,MAAsE;IAEtE,OAAO,MAAM,MAAM,CAAC,OAAO,CAAC;QAC1B,MAAM,EAAE,gBAAgB;KACzB,CAAC,CAAA;AACJ,CAAC;AATD,4CASC"}
1
+ {"version":3,"file":"getTxpoolContent.js","sourceRoot":"","sources":["../../../actions/test/getTxpoolContent.ts"],"names":[],"mappings":";;;AA0CO,KAAK,UAAU,gBAAgB,CAIpC,MAAsE;IAEtE,OAAO,MAAM,MAAM,CAAC,OAAO,CAAC;QAC1B,MAAM,EAAE,gBAAgB;KACzB,CAAC,CAAA;AACJ,CAAC;AATD,4CASC"}
@@ -1 +1 @@
1
- {"version":3,"file":"getTxpoolStatus.js","sourceRoot":"","sources":["../../../actions/test/getTxpoolStatus.ts"],"names":[],"mappings":";;;AAOA,gEAA6D;AA2BtD,KAAK,UAAU,eAAe,CAInC,MAAsE;IAEtE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,MAAM,CAAC,OAAO,CAAC;QAC/C,MAAM,EAAE,eAAe;KACxB,CAAC,CAAA;IACF,OAAO;QACL,OAAO,EAAE,IAAA,wBAAW,EAAC,OAAO,CAAC;QAC7B,MAAM,EAAE,IAAA,wBAAW,EAAC,MAAM,CAAC;KAC5B,CAAA;AACH,CAAC;AAbD,0CAaC"}
1
+ {"version":3,"file":"getTxpoolStatus.js","sourceRoot":"","sources":["../../../actions/test/getTxpoolStatus.ts"],"names":[],"mappings":";;;AASA,gEAA6D;AA6BtD,KAAK,UAAU,eAAe,CAInC,MAAsE;IAEtE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,MAAM,CAAC,OAAO,CAAC;QAC/C,MAAM,EAAE,eAAe;KACxB,CAAC,CAAA;IACF,OAAO;QACL,OAAO,EAAE,IAAA,wBAAW,EAAC,OAAO,CAAC;QAC7B,MAAM,EAAE,IAAA,wBAAW,EAAC,MAAM,CAAC;KAC5B,CAAA;AACH,CAAC;AAbD,0CAaC"}
@@ -1 +1 @@
1
- {"version":3,"file":"impersonateAccount.js","sourceRoot":"","sources":["../../../actions/test/impersonateAccount.ts"],"names":[],"mappings":";;;AAqCO,KAAK,UAAU,kBAAkB,CAItC,MAAsE,EACtE,EAAE,OAAO,EAAgC;IAEzC,MAAM,MAAM,CAAC,OAAO,CAAC;QACnB,MAAM,EAAE,GAAG,MAAM,CAAC,IAAI,qBAAqB;QAC3C,MAAM,EAAE,CAAC,OAAO,CAAC;KAClB,CAAC,CAAA;AACJ,CAAC;AAXD,gDAWC"}
1
+ {"version":3,"file":"impersonateAccount.js","sourceRoot":"","sources":["../../../actions/test/impersonateAccount.ts"],"names":[],"mappings":";;;AAyCO,KAAK,UAAU,kBAAkB,CAItC,MAAsE,EACtE,EAAE,OAAO,EAAgC;IAEzC,MAAM,MAAM,CAAC,OAAO,CAAC;QACnB,MAAM,EAAE,GAAG,MAAM,CAAC,IAAI,qBAAqB;QAC3C,MAAM,EAAE,CAAC,OAAO,CAAC;KAClB,CAAC,CAAA;AACJ,CAAC;AAXD,gDAWC"}
@@ -1 +1 @@
1
- {"version":3,"file":"increaseTime.js","sourceRoot":"","sources":["../../../actions/test/increaseTime.ts"],"names":[],"mappings":";;;AAOA,4DAA2D;AA6BpD,KAAK,UAAU,YAAY,CAIhC,MAAsE,EACtE,EAAE,OAAO,EAA0B;IAEnC,OAAO,MAAM,MAAM,CAAC,OAAO,CAAC;QAC1B,MAAM,EAAE,kBAAkB;QAC1B,MAAM,EAAE,CAAC,IAAA,sBAAW,EAAC,OAAO,CAAC,CAAC;KAC/B,CAAC,CAAA;AACJ,CAAC;AAXD,oCAWC"}
1
+ {"version":3,"file":"increaseTime.js","sourceRoot":"","sources":["../../../actions/test/increaseTime.ts"],"names":[],"mappings":";;;AASA,4DAA2D;AA+BpD,KAAK,UAAU,YAAY,CAIhC,MAAsE,EACtE,EAAE,OAAO,EAA0B;IAEnC,OAAO,MAAM,MAAM,CAAC,OAAO,CAAC;QAC1B,MAAM,EAAE,kBAAkB;QAC1B,MAAM,EAAE,CAAC,IAAA,sBAAW,EAAC,OAAO,CAAC,CAAC;KAC/B,CAAC,CAAA;AACJ,CAAC;AAXD,oCAWC"}
@@ -1 +1 @@
1
- {"version":3,"file":"inspectTxpool.js","sourceRoot":"","sources":["../../../actions/test/inspectTxpool.ts"],"names":[],"mappings":";;;AAmCO,KAAK,UAAU,aAAa,CAIjC,MAAsE;IAEtE,OAAO,MAAM,MAAM,CAAC,OAAO,CAAC;QAC1B,MAAM,EAAE,gBAAgB;KACzB,CAAC,CAAA;AACJ,CAAC;AATD,sCASC"}
1
+ {"version":3,"file":"inspectTxpool.js","sourceRoot":"","sources":["../../../actions/test/inspectTxpool.ts"],"names":[],"mappings":";;;AAuCO,KAAK,UAAU,aAAa,CAIjC,MAAsE;IAEtE,OAAO,MAAM,MAAM,CAAC,OAAO,CAAC;QAC1B,MAAM,EAAE,gBAAgB;KACzB,CAAC,CAAA;AACJ,CAAC;AATD,sCASC"}
@@ -1 +1 @@
1
- {"version":3,"file":"mine.js","sourceRoot":"","sources":["../../../actions/test/mine.ts"],"names":[],"mappings":";;;AAOA,4DAA2D;AA6BpD,KAAK,UAAU,IAAI,CAIxB,MAAsE,EACtE,EAAE,MAAM,EAAE,QAAQ,EAAkB;IAEpC,IAAI,MAAM,CAAC,IAAI,KAAK,SAAS;QAC3B,MAAM,MAAM,CAAC,OAAO,CAAC;YACnB,MAAM,EAAE,UAAU;YAClB,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,IAAA,sBAAW,EAAC,MAAM,CAAC,EAAE,CAAC;SAC1C,CAAC,CAAA;;QAEF,MAAM,MAAM,CAAC,OAAO,CAAC;YACnB,MAAM,EAAE,GAAG,MAAM,CAAC,IAAI,OAAO;YAC7B,MAAM,EAAE,CAAC,IAAA,sBAAW,EAAC,MAAM,CAAC,EAAE,IAAA,sBAAW,EAAC,QAAQ,IAAI,CAAC,CAAC,CAAC;SAC1D,CAAC,CAAA;AACN,CAAC;AAjBD,oBAiBC"}
1
+ {"version":3,"file":"mine.js","sourceRoot":"","sources":["../../../actions/test/mine.ts"],"names":[],"mappings":";;;AASA,4DAA2D;AA+BpD,KAAK,UAAU,IAAI,CAIxB,MAAsE,EACtE,EAAE,MAAM,EAAE,QAAQ,EAAkB;IAEpC,IAAI,MAAM,CAAC,IAAI,KAAK,SAAS;QAC3B,MAAM,MAAM,CAAC,OAAO,CAAC;YACnB,MAAM,EAAE,UAAU;YAClB,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,IAAA,sBAAW,EAAC,MAAM,CAAC,EAAE,CAAC;SAC1C,CAAC,CAAA;;QAEF,MAAM,MAAM,CAAC,OAAO,CAAC;YACnB,MAAM,EAAE,GAAG,MAAM,CAAC,IAAI,OAAO;YAC7B,MAAM,EAAE,CAAC,IAAA,sBAAW,EAAC,MAAM,CAAC,EAAE,IAAA,sBAAW,EAAC,QAAQ,IAAI,CAAC,CAAC,CAAC;SAC1D,CAAC,CAAA;AACN,CAAC;AAjBD,oBAiBC"}
@@ -1 +1 @@
1
- {"version":3,"file":"removeBlockTimestampInterval.js","sourceRoot":"","sources":["../../../actions/test/removeBlockTimestampInterval.ts"],"names":[],"mappings":";;;AA2BO,KAAK,UAAU,4BAA4B,CAGhD,MAAsE;IACtE,MAAM,MAAM,CAAC,OAAO,CAAC;QACnB,MAAM,EAAE,GAAG,MAAM,CAAC,IAAI,+BAA+B;KACtD,CAAC,CAAA;AACJ,CAAC;AAPD,oEAOC"}
1
+ {"version":3,"file":"removeBlockTimestampInterval.js","sourceRoot":"","sources":["../../../actions/test/removeBlockTimestampInterval.ts"],"names":[],"mappings":";;;AA+BO,KAAK,UAAU,4BAA4B,CAGhD,MAAsE;IACtE,MAAM,MAAM,CAAC,OAAO,CAAC;QACnB,MAAM,EAAE,GAAG,MAAM,CAAC,IAAI,+BAA+B;KACtD,CAAC,CAAA;AACJ,CAAC;AAPD,oEAOC"}
@@ -1 +1 @@
1
- {"version":3,"file":"reset.js","sourceRoot":"","sources":["../../../actions/test/reset.ts"],"names":[],"mappings":";;;AAmCO,KAAK,UAAU,KAAK,CAIzB,MAAsE,EACtE,EAAE,WAAW,EAAE,UAAU,KAAsB,EAAE;IAEjD,MAAM,MAAM,CAAC,OAAO,CAAC;QACnB,MAAM,EAAE,GAAG,MAAM,CAAC,IAAI,QAAQ;QAC9B,MAAM,EAAE,CAAC,EAAE,OAAO,EAAE,EAAE,WAAW,EAAE,MAAM,CAAC,WAAW,CAAC,EAAE,UAAU,EAAE,EAAE,CAAC;KACxE,CAAC,CAAA;AACJ,CAAC;AAXD,sBAWC"}
1
+ {"version":3,"file":"reset.js","sourceRoot":"","sources":["../../../actions/test/reset.ts"],"names":[],"mappings":";;;AAuCO,KAAK,UAAU,KAAK,CAIzB,MAAsE,EACtE,EAAE,WAAW,EAAE,UAAU,KAAsB,EAAE;IAEjD,MAAM,MAAM,CAAC,OAAO,CAAC;QACnB,MAAM,EAAE,GAAG,MAAM,CAAC,IAAI,QAAQ;QAC9B,MAAM,EAAE,CAAC,EAAE,OAAO,EAAE,EAAE,WAAW,EAAE,MAAM,CAAC,WAAW,CAAC,EAAE,UAAU,EAAE,EAAE,CAAC;KACxE,CAAC,CAAA;AACJ,CAAC;AAXD,sBAWC"}
@@ -1 +1 @@
1
- {"version":3,"file":"revert.js","sourceRoot":"","sources":["../../../actions/test/revert.ts"],"names":[],"mappings":";;;AAkCO,KAAK,UAAU,MAAM,CAI1B,MAAsE,EACtE,EAAE,EAAE,EAAoB;IAExB,MAAM,MAAM,CAAC,OAAO,CAAC;QACnB,MAAM,EAAE,YAAY;QACpB,MAAM,EAAE,CAAC,EAAE,CAAC;KACb,CAAC,CAAA;AACJ,CAAC;AAXD,wBAWC"}
1
+ {"version":3,"file":"revert.js","sourceRoot":"","sources":["../../../actions/test/revert.ts"],"names":[],"mappings":";;;AAsCO,KAAK,UAAU,MAAM,CAI1B,MAAsE,EACtE,EAAE,EAAE,EAAoB;IAExB,MAAM,MAAM,CAAC,OAAO,CAAC;QACnB,MAAM,EAAE,YAAY;QACpB,MAAM,EAAE,CAAC,EAAE,CAAC;KACb,CAAC,CAAA;AACJ,CAAC;AAXD,wBAWC"}