viem 2.0.0-beta.10 → 2.0.0-beta.12

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 (2112) hide show
  1. package/_cjs/accounts/toAccount.js.map +1 -1
  2. package/_cjs/actions/ens/getEnsAddress.js.map +1 -1
  3. package/_cjs/actions/ens/getEnsAvatar.js.map +1 -1
  4. package/_cjs/actions/ens/getEnsName.js.map +1 -1
  5. package/_cjs/actions/ens/getEnsResolver.js.map +1 -1
  6. package/_cjs/actions/ens/getEnsText.js.map +1 -1
  7. package/_cjs/actions/getContract.js.map +1 -1
  8. package/_cjs/actions/public/call.js.map +1 -1
  9. package/_cjs/actions/public/createEventFilter.js.map +1 -1
  10. package/_cjs/actions/public/estimateContractGas.js.map +1 -1
  11. package/_cjs/actions/public/estimateFeesPerGas.js.map +1 -1
  12. package/_cjs/actions/public/estimateGas.js.map +1 -1
  13. package/_cjs/actions/public/estimateMaxPriorityFeePerGas.js.map +1 -1
  14. package/_cjs/actions/public/getBlock.js.map +1 -1
  15. package/_cjs/actions/public/getBlockTransactionCount.js.map +1 -1
  16. package/_cjs/actions/public/getLogs.js.map +1 -1
  17. package/_cjs/actions/public/getTransaction.js.map +1 -1
  18. package/_cjs/actions/public/multicall.js.map +1 -1
  19. package/_cjs/actions/public/readContract.js.map +1 -1
  20. package/_cjs/actions/public/simulateContract.js.map +1 -1
  21. package/_cjs/actions/public/verifyHash.js.map +1 -1
  22. package/_cjs/actions/public/waitForTransactionReceipt.js.map +1 -1
  23. package/_cjs/actions/public/watchBlockNumber.js.map +1 -1
  24. package/_cjs/actions/public/watchBlocks.js.map +1 -1
  25. package/_cjs/actions/public/watchContractEvent.js.map +1 -1
  26. package/_cjs/actions/public/watchEvent.js.map +1 -1
  27. package/_cjs/actions/public/watchPendingTransactions.js.map +1 -1
  28. package/_cjs/actions/test/setAutomine.js.map +1 -1
  29. package/_cjs/actions/wallet/prepareTransactionRequest.js.map +1 -1
  30. package/_cjs/actions/wallet/sendTransaction.js.map +1 -1
  31. package/_cjs/chains/celo/formatters.js.map +1 -1
  32. package/_cjs/chains/celo/parsers.js.map +1 -1
  33. package/_cjs/chains/celo/serializers.js.map +1 -1
  34. package/_cjs/chains/celo/utils.js.map +1 -1
  35. package/_cjs/chains/opStack/actions/estimateContractL1Fee.js.map +1 -1
  36. package/_cjs/chains/opStack/actions/estimateContractL1Gas.js.map +1 -1
  37. package/_cjs/chains/opStack/actions/estimateContractTotalFee.js.map +1 -1
  38. package/_cjs/chains/opStack/actions/estimateContractTotalGas.js.map +1 -1
  39. package/_cjs/chains/opStack/formatters.js.map +1 -1
  40. package/_cjs/chains/zksync/serializers.js.map +1 -1
  41. package/_cjs/clients/transports/fallback.js.map +1 -1
  42. package/_cjs/clients/transports/webSocket.js.map +1 -1
  43. package/_cjs/errors/contract.js.map +1 -1
  44. package/_cjs/errors/node.js +11 -11
  45. package/_cjs/errors/node.js.map +1 -1
  46. package/_cjs/errors/rpc.js +18 -18
  47. package/_cjs/errors/rpc.js.map +1 -1
  48. package/_cjs/errors/version.js +1 -1
  49. package/_cjs/errors/version.js.map +1 -1
  50. package/_cjs/index.js +6 -2
  51. package/_cjs/index.js.map +1 -1
  52. package/_cjs/utils/abi/decodeAbiParameters.js.map +1 -1
  53. package/_cjs/utils/abi/decodeEventLog.js.map +1 -1
  54. package/_cjs/utils/abi/decodeFunctionResult.js.map +1 -1
  55. package/_cjs/utils/abi/encodeAbiParameters.js.map +1 -1
  56. package/_cjs/utils/abi/encodeErrorResult.js.map +1 -1
  57. package/_cjs/utils/abi/encodeEventTopics.js.map +1 -1
  58. package/_cjs/utils/abi/encodeFunctionData.js.map +1 -1
  59. package/_cjs/utils/abi/encodeFunctionResult.js.map +1 -1
  60. package/_cjs/utils/abi/encodePacked.js.map +1 -1
  61. package/_cjs/utils/abi/formatAbiItem.js.map +1 -1
  62. package/_cjs/utils/abi/getAbiItem.js.map +1 -1
  63. package/_cjs/utils/abi/parseEventLogs.js.map +1 -1
  64. package/_cjs/utils/address/getAddress.js.map +1 -1
  65. package/_cjs/utils/address/getContractAddress.js.map +1 -1
  66. package/_cjs/utils/buildRequest.js.map +1 -1
  67. package/_cjs/utils/ccip.js.map +1 -1
  68. package/_cjs/utils/data/concat.js.map +1 -1
  69. package/_cjs/utils/data/pad.js.map +1 -1
  70. package/_cjs/utils/data/slice.js.map +1 -1
  71. package/_cjs/utils/data/trim.js.map +1 -1
  72. package/_cjs/utils/encoding/fromBytes.js.map +1 -1
  73. package/_cjs/utils/encoding/fromHex.js.map +1 -1
  74. package/_cjs/utils/encoding/fromRlp.js.map +1 -1
  75. package/_cjs/utils/encoding/toBytes.js.map +1 -1
  76. package/_cjs/utils/encoding/toHex.js.map +1 -1
  77. package/_cjs/utils/encoding/toRlp.js.map +1 -1
  78. package/_cjs/utils/ens/avatar/parseAvatarRecord.js.map +1 -1
  79. package/_cjs/utils/ens/avatar/utils.js.map +1 -1
  80. package/_cjs/utils/ens/namehash.js.map +1 -1
  81. package/_cjs/utils/ens/packetToBytes.js.map +1 -1
  82. package/_cjs/utils/errors/getContractError.js.map +1 -1
  83. package/_cjs/utils/errors/getNodeError.js.map +1 -1
  84. package/_cjs/utils/formatters/extract.js.map +1 -1
  85. package/_cjs/utils/formatters/formatter.js.map +1 -1
  86. package/_cjs/utils/formatters/transaction.js.map +1 -1
  87. package/_cjs/utils/hash/normalizeSignature.js.map +1 -1
  88. package/_cjs/utils/observe.js.map +1 -1
  89. package/_cjs/utils/promise/createBatchScheduler.js.map +1 -1
  90. package/_cjs/utils/promise/withCache.js.map +1 -1
  91. package/_cjs/utils/promise/withRetry.js.map +1 -1
  92. package/_cjs/utils/promise/withTimeout.js.map +1 -1
  93. package/_cjs/utils/rpc.js.map +1 -1
  94. package/_cjs/utils/signature/hashTypedData.js.map +1 -1
  95. package/_cjs/utils/signature/signatureToCompactSignature.js.map +1 -1
  96. package/_cjs/utils/transaction/getTransactionType.js.map +1 -1
  97. package/_cjs/utils/transaction/parseTransaction.js.map +1 -1
  98. package/_cjs/utils/transaction/serializeAccessList.js.map +1 -1
  99. package/_cjs/utils/transaction/serializeTransaction.js.map +1 -1
  100. package/_cjs/utils/typedData.js.map +1 -1
  101. package/_cjs/utils/uid.js.map +1 -1
  102. package/_cjs/utils/unit/parseUnits.js.map +1 -1
  103. package/chains/index.ts +5 -0
  104. package/errors/version.ts +1 -1
  105. package/index.ts +8 -0
  106. package/package.json +1 -1
  107. package/_cjs/package.json +0 -1
  108. package/_esm/accounts/generateMnemonic.js +0 -12
  109. package/_esm/accounts/generateMnemonic.js.map +0 -1
  110. package/_esm/accounts/generatePrivateKey.js +0 -11
  111. package/_esm/accounts/generatePrivateKey.js.map +0 -1
  112. package/_esm/accounts/hdKeyToAccount.js +0 -17
  113. package/_esm/accounts/hdKeyToAccount.js.map +0 -1
  114. package/_esm/accounts/index.js +0 -25
  115. package/_esm/accounts/index.js.map +0 -1
  116. package/_esm/accounts/mnemonicToAccount.js +0 -13
  117. package/_esm/accounts/mnemonicToAccount.js.map +0 -1
  118. package/_esm/accounts/privateKeyToAccount.js +0 -34
  119. package/_esm/accounts/privateKeyToAccount.js.map +0 -1
  120. package/_esm/accounts/toAccount.js +0 -28
  121. package/_esm/accounts/toAccount.js.map +0 -1
  122. package/_esm/accounts/types.js +0 -2
  123. package/_esm/accounts/types.js.map +0 -1
  124. package/_esm/accounts/utils/parseAccount.js +0 -6
  125. package/_esm/accounts/utils/parseAccount.js.map +0 -1
  126. package/_esm/accounts/utils/privateKeyToAddress.js +0 -15
  127. package/_esm/accounts/utils/privateKeyToAddress.js.map +0 -1
  128. package/_esm/accounts/utils/publicKeyToAddress.js +0 -14
  129. package/_esm/accounts/utils/publicKeyToAddress.js.map +0 -1
  130. package/_esm/accounts/utils/sign.js +0 -19
  131. package/_esm/accounts/utils/sign.js.map +0 -1
  132. package/_esm/accounts/utils/signMessage.js +0 -14
  133. package/_esm/accounts/utils/signMessage.js.map +0 -1
  134. package/_esm/accounts/utils/signTransaction.js +0 -11
  135. package/_esm/accounts/utils/signTransaction.js.map +0 -1
  136. package/_esm/accounts/utils/signTypedData.js +0 -18
  137. package/_esm/accounts/utils/signTypedData.js.map +0 -1
  138. package/_esm/actions/ens/getEnsAddress.js +0 -87
  139. package/_esm/actions/ens/getEnsAddress.js.map +0 -1
  140. package/_esm/actions/ens/getEnsAvatar.js +0 -49
  141. package/_esm/actions/ens/getEnsAvatar.js.map +0 -1
  142. package/_esm/actions/ens/getEnsName.js +0 -63
  143. package/_esm/actions/ens/getEnsName.js.map +0 -1
  144. package/_esm/actions/ens/getEnsResolver.js +0 -63
  145. package/_esm/actions/ens/getEnsResolver.js.map +0 -1
  146. package/_esm/actions/ens/getEnsText.js +0 -82
  147. package/_esm/actions/ens/getEnsText.js.map +0 -1
  148. package/_esm/actions/getContract.js +0 -214
  149. package/_esm/actions/getContract.js.map +0 -1
  150. package/_esm/actions/index.js +0 -82
  151. package/_esm/actions/index.js.map +0 -1
  152. package/_esm/actions/public/call.js +0 -182
  153. package/_esm/actions/public/call.js.map +0 -1
  154. package/_esm/actions/public/createBlockFilter.js +0 -32
  155. package/_esm/actions/public/createBlockFilter.js.map +0 -1
  156. package/_esm/actions/public/createContractEventFilter.js +0 -59
  157. package/_esm/actions/public/createContractEventFilter.js.map +0 -1
  158. package/_esm/actions/public/createEventFilter.js +0 -67
  159. package/_esm/actions/public/createEventFilter.js.map +0 -1
  160. package/_esm/actions/public/createPendingTransactionFilter.js +0 -32
  161. package/_esm/actions/public/createPendingTransactionFilter.js.map +0 -1
  162. package/_esm/actions/public/estimateContractGas.js +0 -60
  163. package/_esm/actions/public/estimateContractGas.js.map +0 -1
  164. package/_esm/actions/public/estimateFeesPerGas.js +0 -83
  165. package/_esm/actions/public/estimateFeesPerGas.js.map +0 -1
  166. package/_esm/actions/public/estimateGas.js +0 -73
  167. package/_esm/actions/public/estimateGas.js.map +0 -1
  168. package/_esm/actions/public/estimateMaxPriorityFeePerGas.js +0 -67
  169. package/_esm/actions/public/estimateMaxPriorityFeePerGas.js.map +0 -1
  170. package/_esm/actions/public/getBalance.js +0 -45
  171. package/_esm/actions/public/getBalance.js.map +0 -1
  172. package/_esm/actions/public/getBlock.js +0 -50
  173. package/_esm/actions/public/getBlock.js.map +0 -1
  174. package/_esm/actions/public/getBlockNumber.js +0 -35
  175. package/_esm/actions/public/getBlockNumber.js.map +0 -1
  176. package/_esm/actions/public/getBlockTransactionCount.js +0 -43
  177. package/_esm/actions/public/getBlockTransactionCount.js.map +0 -1
  178. package/_esm/actions/public/getBytecode.js +0 -35
  179. package/_esm/actions/public/getBytecode.js.map +0 -1
  180. package/_esm/actions/public/getChainId.js +0 -29
  181. package/_esm/actions/public/getChainId.js.map +0 -1
  182. package/_esm/actions/public/getContractEvents.js +0 -49
  183. package/_esm/actions/public/getContractEvents.js.map +0 -1
  184. package/_esm/actions/public/getFeeHistory.js +0 -39
  185. package/_esm/actions/public/getFeeHistory.js.map +0 -1
  186. package/_esm/actions/public/getFilterChanges.js +0 -102
  187. package/_esm/actions/public/getFilterChanges.js.map +0 -1
  188. package/_esm/actions/public/getFilterLogs.js +0 -45
  189. package/_esm/actions/public/getFilterLogs.js.map +0 -1
  190. package/_esm/actions/public/getGasPrice.js +0 -27
  191. package/_esm/actions/public/getGasPrice.js.map +0 -1
  192. package/_esm/actions/public/getLogs.js +0 -71
  193. package/_esm/actions/public/getLogs.js.map +0 -1
  194. package/_esm/actions/public/getProof.js +0 -37
  195. package/_esm/actions/public/getProof.js.map +0 -1
  196. package/_esm/actions/public/getStorageAt.js +0 -34
  197. package/_esm/actions/public/getStorageAt.js.map +0 -1
  198. package/_esm/actions/public/getTransaction.js +0 -61
  199. package/_esm/actions/public/getTransaction.js.map +0 -1
  200. package/_esm/actions/public/getTransactionConfirmations.js +0 -40
  201. package/_esm/actions/public/getTransactionConfirmations.js.map +0 -1
  202. package/_esm/actions/public/getTransactionCount.js +0 -33
  203. package/_esm/actions/public/getTransactionCount.js.map +0 -1
  204. package/_esm/actions/public/getTransactionReceipt.js +0 -38
  205. package/_esm/actions/public/getTransactionReceipt.js.map +0 -1
  206. package/_esm/actions/public/multicall.js +0 -182
  207. package/_esm/actions/public/multicall.js.map +0 -1
  208. package/_esm/actions/public/readContract.js +0 -67
  209. package/_esm/actions/public/readContract.js.map +0 -1
  210. package/_esm/actions/public/simulateContract.js +0 -83
  211. package/_esm/actions/public/simulateContract.js.map +0 -1
  212. package/_esm/actions/public/uninstallFilter.js +0 -31
  213. package/_esm/actions/public/uninstallFilter.js.map +0 -1
  214. package/_esm/actions/public/verifyHash.js +0 -38
  215. package/_esm/actions/public/verifyHash.js.map +0 -1
  216. package/_esm/actions/public/verifyMessage.js +0 -23
  217. package/_esm/actions/public/verifyMessage.js.map +0 -1
  218. package/_esm/actions/public/verifyTypedData.js +0 -21
  219. package/_esm/actions/public/verifyTypedData.js.map +0 -1
  220. package/_esm/actions/public/waitForTransactionReceipt.js +0 -180
  221. package/_esm/actions/public/waitForTransactionReceipt.js.map +0 -1
  222. package/_esm/actions/public/watchBlockNumber.js +0 -105
  223. package/_esm/actions/public/watchBlockNumber.js.map +0 -1
  224. package/_esm/actions/public/watchBlocks.js +0 -120
  225. package/_esm/actions/public/watchBlocks.js.map +0 -1
  226. package/_esm/actions/public/watchContractEvent.js +0 -199
  227. package/_esm/actions/public/watchContractEvent.js.map +0 -1
  228. package/_esm/actions/public/watchEvent.js +0 -200
  229. package/_esm/actions/public/watchEvent.js.map +0 -1
  230. package/_esm/actions/public/watchPendingTransactions.js +0 -114
  231. package/_esm/actions/public/watchPendingTransactions.js.map +0 -1
  232. package/_esm/actions/test/dropTransaction.js +0 -29
  233. package/_esm/actions/test/dropTransaction.js.map +0 -1
  234. package/_esm/actions/test/dumpState.js +0 -26
  235. package/_esm/actions/test/dumpState.js.map +0 -1
  236. package/_esm/actions/test/getAutomine.js +0 -30
  237. package/_esm/actions/test/getAutomine.js.map +0 -1
  238. package/_esm/actions/test/getTxpoolContent.js +0 -26
  239. package/_esm/actions/test/getTxpoolContent.js.map +0 -1
  240. package/_esm/actions/test/getTxpoolStatus.js +0 -31
  241. package/_esm/actions/test/getTxpoolStatus.js.map +0 -1
  242. package/_esm/actions/test/impersonateAccount.js +0 -29
  243. package/_esm/actions/test/impersonateAccount.js.map +0 -1
  244. package/_esm/actions/test/increaseTime.js +0 -30
  245. package/_esm/actions/test/increaseTime.js.map +0 -1
  246. package/_esm/actions/test/inspectTxpool.js +0 -26
  247. package/_esm/actions/test/inspectTxpool.js.map +0 -1
  248. package/_esm/actions/test/loadState.js +0 -27
  249. package/_esm/actions/test/loadState.js.map +0 -1
  250. package/_esm/actions/test/mine.js +0 -34
  251. package/_esm/actions/test/mine.js.map +0 -1
  252. package/_esm/actions/test/removeBlockTimestampInterval.js +0 -25
  253. package/_esm/actions/test/removeBlockTimestampInterval.js.map +0 -1
  254. package/_esm/actions/test/reset.js +0 -27
  255. package/_esm/actions/test/reset.js.map +0 -1
  256. package/_esm/actions/test/revert.js +0 -27
  257. package/_esm/actions/test/revert.js.map +0 -1
  258. package/_esm/actions/test/sendUnsignedTransaction.js +0 -52
  259. package/_esm/actions/test/sendUnsignedTransaction.js.map +0 -1
  260. package/_esm/actions/test/setAutomine.js +0 -33
  261. package/_esm/actions/test/setAutomine.js.map +0 -1
  262. package/_esm/actions/test/setBalance.js +0 -37
  263. package/_esm/actions/test/setBalance.js.map +0 -1
  264. package/_esm/actions/test/setBlockGasLimit.js +0 -28
  265. package/_esm/actions/test/setBlockGasLimit.js.map +0 -1
  266. package/_esm/actions/test/setBlockTimestampInterval.js +0 -32
  267. package/_esm/actions/test/setBlockTimestampInterval.js.map +0 -1
  268. package/_esm/actions/test/setCode.js +0 -30
  269. package/_esm/actions/test/setCode.js.map +0 -1
  270. package/_esm/actions/test/setCoinbase.js +0 -29
  271. package/_esm/actions/test/setCoinbase.js.map +0 -1
  272. package/_esm/actions/test/setIntervalMining.js +0 -32
  273. package/_esm/actions/test/setIntervalMining.js.map +0 -1
  274. package/_esm/actions/test/setLoggingEnabled.js +0 -26
  275. package/_esm/actions/test/setLoggingEnabled.js.map +0 -1
  276. package/_esm/actions/test/setMinGasPrice.js +0 -32
  277. package/_esm/actions/test/setMinGasPrice.js.map +0 -1
  278. package/_esm/actions/test/setNextBlockBaseFeePerGas.js +0 -30
  279. package/_esm/actions/test/setNextBlockBaseFeePerGas.js.map +0 -1
  280. package/_esm/actions/test/setNextBlockTimestamp.js +0 -28
  281. package/_esm/actions/test/setNextBlockTimestamp.js.map +0 -1
  282. package/_esm/actions/test/setNonce.js +0 -31
  283. package/_esm/actions/test/setNonce.js.map +0 -1
  284. package/_esm/actions/test/setRpcUrl.js +0 -27
  285. package/_esm/actions/test/setRpcUrl.js.map +0 -1
  286. package/_esm/actions/test/setStorageAt.js +0 -36
  287. package/_esm/actions/test/setStorageAt.js.map +0 -1
  288. package/_esm/actions/test/snapshot.js +0 -25
  289. package/_esm/actions/test/snapshot.js.map +0 -1
  290. package/_esm/actions/test/stopImpersonatingAccount.js +0 -29
  291. package/_esm/actions/test/stopImpersonatingAccount.js.map +0 -1
  292. package/_esm/actions/wallet/addChain.js +0 -38
  293. package/_esm/actions/wallet/addChain.js.map +0 -1
  294. package/_esm/actions/wallet/deployContract.js +0 -38
  295. package/_esm/actions/wallet/deployContract.js.map +0 -1
  296. package/_esm/actions/wallet/getAddresses.js +0 -28
  297. package/_esm/actions/wallet/getAddresses.js.map +0 -1
  298. package/_esm/actions/wallet/getPermissions.js +0 -25
  299. package/_esm/actions/wallet/getPermissions.js.map +0 -1
  300. package/_esm/actions/wallet/prepareTransactionRequest.js +0 -114
  301. package/_esm/actions/wallet/prepareTransactionRequest.js.map +0 -1
  302. package/_esm/actions/wallet/requestAddresses.js +0 -30
  303. package/_esm/actions/wallet/requestAddresses.js.map +0 -1
  304. package/_esm/actions/wallet/requestPermissions.js +0 -30
  305. package/_esm/actions/wallet/requestPermissions.js.map +0 -1
  306. package/_esm/actions/wallet/sendRawTransaction.js +0 -31
  307. package/_esm/actions/wallet/sendRawTransaction.js.map +0 -1
  308. package/_esm/actions/wallet/sendTransaction.js +0 -130
  309. package/_esm/actions/wallet/sendTransaction.js.map +0 -1
  310. package/_esm/actions/wallet/signMessage.js +0 -70
  311. package/_esm/actions/wallet/signMessage.js.map +0 -1
  312. package/_esm/actions/wallet/signTransaction.js +0 -88
  313. package/_esm/actions/wallet/signTransaction.js.map +0 -1
  314. package/_esm/actions/wallet/signTypedData.js +0 -126
  315. package/_esm/actions/wallet/signTypedData.js.map +0 -1
  316. package/_esm/actions/wallet/switchChain.js +0 -32
  317. package/_esm/actions/wallet/switchChain.js.map +0 -1
  318. package/_esm/actions/wallet/watchAsset.js +0 -36
  319. package/_esm/actions/wallet/watchAsset.js.map +0 -1
  320. package/_esm/actions/wallet/writeContract.js +0 -67
  321. package/_esm/actions/wallet/writeContract.js.map +0 -1
  322. package/_esm/chains/celo/chainConfig.js +0 -7
  323. package/_esm/chains/celo/chainConfig.js.map +0 -1
  324. package/_esm/chains/celo/formatters.js +0 -80
  325. package/_esm/chains/celo/formatters.js.map +0 -1
  326. package/_esm/chains/celo/index.js +0 -4
  327. package/_esm/chains/celo/index.js.map +0 -1
  328. package/_esm/chains/celo/parsers.js +0 -127
  329. package/_esm/chains/celo/parsers.js.map +0 -1
  330. package/_esm/chains/celo/serializers.js +0 -127
  331. package/_esm/chains/celo/serializers.js.map +0 -1
  332. package/_esm/chains/celo/types.js +0 -2
  333. package/_esm/chains/celo/types.js.map +0 -1
  334. package/_esm/chains/celo/utils.js +0 -50
  335. package/_esm/chains/celo/utils.js.map +0 -1
  336. package/_esm/chains/definitions/arbitrum.js +0 -21
  337. package/_esm/chains/definitions/arbitrum.js.map +0 -1
  338. package/_esm/chains/definitions/arbitrumGoerli.js +0 -27
  339. package/_esm/chains/definitions/arbitrumGoerli.js.map +0 -1
  340. package/_esm/chains/definitions/arbitrumNova.js +0 -21
  341. package/_esm/chains/definitions/arbitrumNova.js.map +0 -1
  342. package/_esm/chains/definitions/arbitrumSepolia.js +0 -29
  343. package/_esm/chains/definitions/arbitrumSepolia.js.map +0 -1
  344. package/_esm/chains/definitions/astar.js +0 -26
  345. package/_esm/chains/definitions/astar.js.map +0 -1
  346. package/_esm/chains/definitions/astarZkatana.js +0 -39
  347. package/_esm/chains/definitions/astarZkatana.js.map +0 -1
  348. package/_esm/chains/definitions/aurora.js +0 -23
  349. package/_esm/chains/definitions/aurora.js.map +0 -1
  350. package/_esm/chains/definitions/auroraTestnet.js +0 -18
  351. package/_esm/chains/definitions/auroraTestnet.js.map +0 -1
  352. package/_esm/chains/definitions/avalanche.js +0 -23
  353. package/_esm/chains/definitions/avalanche.js.map +0 -1
  354. package/_esm/chains/definitions/avalancheFuji.js +0 -24
  355. package/_esm/chains/definitions/avalancheFuji.js.map +0 -1
  356. package/_esm/chains/definitions/base.js +0 -35
  357. package/_esm/chains/definitions/base.js.map +0 -1
  358. package/_esm/chains/definitions/baseGoerli.js +0 -33
  359. package/_esm/chains/definitions/baseGoerli.js.map +0 -1
  360. package/_esm/chains/definitions/baseSepolia.js +0 -40
  361. package/_esm/chains/definitions/baseSepolia.js.map +0 -1
  362. package/_esm/chains/definitions/bearNetworkChainMainnet.js +0 -17
  363. package/_esm/chains/definitions/bearNetworkChainMainnet.js.map +0 -1
  364. package/_esm/chains/definitions/bearNetworkChainTestnet.js +0 -21
  365. package/_esm/chains/definitions/bearNetworkChainTestnet.js.map +0 -1
  366. package/_esm/chains/definitions/boba.js +0 -23
  367. package/_esm/chains/definitions/boba.js.map +0 -1
  368. package/_esm/chains/definitions/bronos.js +0 -17
  369. package/_esm/chains/definitions/bronos.js.map +0 -1
  370. package/_esm/chains/definitions/bronosTestnet.js +0 -18
  371. package/_esm/chains/definitions/bronosTestnet.js.map +0 -1
  372. package/_esm/chains/definitions/bsc.js +0 -23
  373. package/_esm/chains/definitions/bsc.js.map +0 -1
  374. package/_esm/chains/definitions/bscTestnet.js +0 -25
  375. package/_esm/chains/definitions/bscTestnet.js.map +0 -1
  376. package/_esm/chains/definitions/bxn.js +0 -18
  377. package/_esm/chains/definitions/bxn.js.map +0 -1
  378. package/_esm/chains/definitions/bxnTestnet.js +0 -22
  379. package/_esm/chains/definitions/bxnTestnet.js.map +0 -1
  380. package/_esm/chains/definitions/canto.js +0 -26
  381. package/_esm/chains/definitions/canto.js.map +0 -1
  382. package/_esm/chains/definitions/celo.js +0 -29
  383. package/_esm/chains/definitions/celo.js.map +0 -1
  384. package/_esm/chains/definitions/celoAlfajores.js +0 -31
  385. package/_esm/chains/definitions/celoAlfajores.js.map +0 -1
  386. package/_esm/chains/definitions/celoCannoli.js +0 -31
  387. package/_esm/chains/definitions/celoCannoli.js.map +0 -1
  388. package/_esm/chains/definitions/chiliz.js +0 -23
  389. package/_esm/chains/definitions/chiliz.js.map +0 -1
  390. package/_esm/chains/definitions/classic.js +0 -20
  391. package/_esm/chains/definitions/classic.js.map +0 -1
  392. package/_esm/chains/definitions/confluxESpace.js +0 -25
  393. package/_esm/chains/definitions/confluxESpace.js.map +0 -1
  394. package/_esm/chains/definitions/confluxESpaceTestnet.js +0 -31
  395. package/_esm/chains/definitions/confluxESpaceTestnet.js.map +0 -1
  396. package/_esm/chains/definitions/coreDao.js +0 -24
  397. package/_esm/chains/definitions/coreDao.js.map +0 -1
  398. package/_esm/chains/definitions/cronos.js +0 -23
  399. package/_esm/chains/definitions/cronos.js.map +0 -1
  400. package/_esm/chains/definitions/cronosTestnet.js +0 -27
  401. package/_esm/chains/definitions/cronosTestnet.js.map +0 -1
  402. package/_esm/chains/definitions/crossbell.js +0 -25
  403. package/_esm/chains/definitions/crossbell.js.map +0 -1
  404. package/_esm/chains/definitions/dfk.js +0 -22
  405. package/_esm/chains/definitions/dfk.js.map +0 -1
  406. package/_esm/chains/definitions/dogechain.js +0 -20
  407. package/_esm/chains/definitions/dogechain.js.map +0 -1
  408. package/_esm/chains/definitions/edgeware.js +0 -23
  409. package/_esm/chains/definitions/edgeware.js.map +0 -1
  410. package/_esm/chains/definitions/edgewareTestnet.js +0 -20
  411. package/_esm/chains/definitions/edgewareTestnet.js.map +0 -1
  412. package/_esm/chains/definitions/ekta.js +0 -17
  413. package/_esm/chains/definitions/ekta.js.map +0 -1
  414. package/_esm/chains/definitions/ektaTestnet.js +0 -18
  415. package/_esm/chains/definitions/ektaTestnet.js.map +0 -1
  416. package/_esm/chains/definitions/eon.js +0 -21
  417. package/_esm/chains/definitions/eon.js.map +0 -1
  418. package/_esm/chains/definitions/eos.js +0 -26
  419. package/_esm/chains/definitions/eos.js.map +0 -1
  420. package/_esm/chains/definitions/eosTestnet.js +0 -27
  421. package/_esm/chains/definitions/eosTestnet.js.map +0 -1
  422. package/_esm/chains/definitions/evmos.js +0 -17
  423. package/_esm/chains/definitions/evmos.js.map +0 -1
  424. package/_esm/chains/definitions/evmosTestnet.js +0 -20
  425. package/_esm/chains/definitions/evmosTestnet.js.map +0 -1
  426. package/_esm/chains/definitions/fantom.js +0 -23
  427. package/_esm/chains/definitions/fantom.js.map +0 -1
  428. package/_esm/chains/definitions/fantomTestnet.js +0 -23
  429. package/_esm/chains/definitions/fantomTestnet.js.map +0 -1
  430. package/_esm/chains/definitions/fibo.js +0 -17
  431. package/_esm/chains/definitions/fibo.js.map +0 -1
  432. package/_esm/chains/definitions/filecoin.js +0 -23
  433. package/_esm/chains/definitions/filecoin.js.map +0 -1
  434. package/_esm/chains/definitions/filecoinCalibration.js +0 -17
  435. package/_esm/chains/definitions/filecoinCalibration.js.map +0 -1
  436. package/_esm/chains/definitions/filecoinHyperspace.js +0 -17
  437. package/_esm/chains/definitions/filecoinHyperspace.js.map +0 -1
  438. package/_esm/chains/definitions/flare.js +0 -20
  439. package/_esm/chains/definitions/flare.js.map +0 -1
  440. package/_esm/chains/definitions/flareTestnet.js +0 -21
  441. package/_esm/chains/definitions/flareTestnet.js.map +0 -1
  442. package/_esm/chains/definitions/foundry.js +0 -17
  443. package/_esm/chains/definitions/foundry.js.map +0 -1
  444. package/_esm/chains/definitions/fuse.js +0 -19
  445. package/_esm/chains/definitions/fuse.js.map +0 -1
  446. package/_esm/chains/definitions/fuseSparknet.js +0 -16
  447. package/_esm/chains/definitions/fuseSparknet.js.map +0 -1
  448. package/_esm/chains/definitions/gnosis.js +0 -29
  449. package/_esm/chains/definitions/gnosis.js.map +0 -1
  450. package/_esm/chains/definitions/gnosisChiado.js +0 -30
  451. package/_esm/chains/definitions/gnosisChiado.js.map +0 -1
  452. package/_esm/chains/definitions/gobi.js +0 -19
  453. package/_esm/chains/definitions/gobi.js.map +0 -1
  454. package/_esm/chains/definitions/goerli.js +0 -32
  455. package/_esm/chains/definitions/goerli.js.map +0 -1
  456. package/_esm/chains/definitions/haqqMainnet.js +0 -22
  457. package/_esm/chains/definitions/haqqMainnet.js.map +0 -1
  458. package/_esm/chains/definitions/haqqTestedge2.js +0 -22
  459. package/_esm/chains/definitions/haqqTestedge2.js.map +0 -1
  460. package/_esm/chains/definitions/hardhat.js +0 -14
  461. package/_esm/chains/definitions/hardhat.js.map +0 -1
  462. package/_esm/chains/definitions/harmonyOne.js +0 -23
  463. package/_esm/chains/definitions/harmonyOne.js.map +0 -1
  464. package/_esm/chains/definitions/holesky.js +0 -19
  465. package/_esm/chains/definitions/holesky.js.map +0 -1
  466. package/_esm/chains/definitions/iotex.js +0 -20
  467. package/_esm/chains/definitions/iotex.js.map +0 -1
  468. package/_esm/chains/definitions/iotexTestnet.js +0 -20
  469. package/_esm/chains/definitions/iotexTestnet.js.map +0 -1
  470. package/_esm/chains/definitions/kava.js +0 -26
  471. package/_esm/chains/definitions/kava.js.map +0 -1
  472. package/_esm/chains/definitions/kavaTestnet.js +0 -29
  473. package/_esm/chains/definitions/kavaTestnet.js.map +0 -1
  474. package/_esm/chains/definitions/klaytn.js +0 -23
  475. package/_esm/chains/definitions/klaytn.js.map +0 -1
  476. package/_esm/chains/definitions/klaytnBaobab.js +0 -27
  477. package/_esm/chains/definitions/klaytnBaobab.js.map +0 -1
  478. package/_esm/chains/definitions/kroma.js +0 -19
  479. package/_esm/chains/definitions/kroma.js.map +0 -1
  480. package/_esm/chains/definitions/kromaSepolia.js +0 -19
  481. package/_esm/chains/definitions/kromaSepolia.js.map +0 -1
  482. package/_esm/chains/definitions/linea.js +0 -26
  483. package/_esm/chains/definitions/linea.js.map +0 -1
  484. package/_esm/chains/definitions/lineaTestnet.js +0 -26
  485. package/_esm/chains/definitions/lineaTestnet.js.map +0 -1
  486. package/_esm/chains/definitions/localhost.js +0 -14
  487. package/_esm/chains/definitions/localhost.js.map +0 -1
  488. package/_esm/chains/definitions/lukso.js +0 -28
  489. package/_esm/chains/definitions/lukso.js.map +0 -1
  490. package/_esm/chains/definitions/mainnet.js +0 -31
  491. package/_esm/chains/definitions/mainnet.js.map +0 -1
  492. package/_esm/chains/definitions/manta.js +0 -32
  493. package/_esm/chains/definitions/manta.js.map +0 -1
  494. package/_esm/chains/definitions/mantaTestnet.js +0 -33
  495. package/_esm/chains/definitions/mantaTestnet.js.map +0 -1
  496. package/_esm/chains/definitions/mantle.js +0 -26
  497. package/_esm/chains/definitions/mantle.js.map +0 -1
  498. package/_esm/chains/definitions/mantleTestnet.js +0 -21
  499. package/_esm/chains/definitions/mantleTestnet.js.map +0 -1
  500. package/_esm/chains/definitions/meter.js +0 -17
  501. package/_esm/chains/definitions/meter.js.map +0 -1
  502. package/_esm/chains/definitions/meterTestnet.js +0 -20
  503. package/_esm/chains/definitions/meterTestnet.js.map +0 -1
  504. package/_esm/chains/definitions/metis.js +0 -26
  505. package/_esm/chains/definitions/metis.js.map +0 -1
  506. package/_esm/chains/definitions/metisGoerli.js +0 -26
  507. package/_esm/chains/definitions/metisGoerli.js.map +0 -1
  508. package/_esm/chains/definitions/mev.js +0 -28
  509. package/_esm/chains/definitions/mev.js.map +0 -1
  510. package/_esm/chains/definitions/mevTestnet.js +0 -29
  511. package/_esm/chains/definitions/mevTestnet.js.map +0 -1
  512. package/_esm/chains/definitions/modeTestnet.js +0 -25
  513. package/_esm/chains/definitions/modeTestnet.js.map +0 -1
  514. package/_esm/chains/definitions/moonbaseAlpha.js +0 -30
  515. package/_esm/chains/definitions/moonbaseAlpha.js.map +0 -1
  516. package/_esm/chains/definitions/moonbeam.js +0 -30
  517. package/_esm/chains/definitions/moonbeam.js.map +0 -1
  518. package/_esm/chains/definitions/moonbeamDev.js +0 -17
  519. package/_esm/chains/definitions/moonbeamDev.js.map +0 -1
  520. package/_esm/chains/definitions/moonriver.js +0 -30
  521. package/_esm/chains/definitions/moonriver.js.map +0 -1
  522. package/_esm/chains/definitions/neonDevnet.js +0 -25
  523. package/_esm/chains/definitions/neonDevnet.js.map +0 -1
  524. package/_esm/chains/definitions/neonMainnet.js +0 -24
  525. package/_esm/chains/definitions/neonMainnet.js.map +0 -1
  526. package/_esm/chains/definitions/nexi.js +0 -24
  527. package/_esm/chains/definitions/nexi.js.map +0 -1
  528. package/_esm/chains/definitions/nexilix.js +0 -23
  529. package/_esm/chains/definitions/nexilix.js.map +0 -1
  530. package/_esm/chains/definitions/oasys.js +0 -18
  531. package/_esm/chains/definitions/oasys.js.map +0 -1
  532. package/_esm/chains/definitions/okc.js +0 -23
  533. package/_esm/chains/definitions/okc.js.map +0 -1
  534. package/_esm/chains/definitions/opBNB.js +0 -23
  535. package/_esm/chains/definitions/opBNB.js.map +0 -1
  536. package/_esm/chains/definitions/opBNBTestnet.js +0 -24
  537. package/_esm/chains/definitions/opBNBTestnet.js.map +0 -1
  538. package/_esm/chains/definitions/optimism.js +0 -34
  539. package/_esm/chains/definitions/optimism.js.map +0 -1
  540. package/_esm/chains/definitions/optimismGoerli.js +0 -35
  541. package/_esm/chains/definitions/optimismGoerli.js.map +0 -1
  542. package/_esm/chains/definitions/optimismSepolia.js +0 -35
  543. package/_esm/chains/definitions/optimismSepolia.js.map +0 -1
  544. package/_esm/chains/definitions/pgn.js +0 -34
  545. package/_esm/chains/definitions/pgn.js.map +0 -1
  546. package/_esm/chains/definitions/pgnTestnet.js +0 -35
  547. package/_esm/chains/definitions/pgnTestnet.js.map +0 -1
  548. package/_esm/chains/definitions/plinga.js +0 -24
  549. package/_esm/chains/definitions/plinga.js.map +0 -1
  550. package/_esm/chains/definitions/polygon.js +0 -24
  551. package/_esm/chains/definitions/polygon.js.map +0 -1
  552. package/_esm/chains/definitions/polygonMumbai.js +0 -25
  553. package/_esm/chains/definitions/polygonMumbai.js.map +0 -1
  554. package/_esm/chains/definitions/polygonZkEvm.js +0 -24
  555. package/_esm/chains/definitions/polygonZkEvm.js.map +0 -1
  556. package/_esm/chains/definitions/polygonZkEvmTestnet.js +0 -25
  557. package/_esm/chains/definitions/polygonZkEvmTestnet.js.map +0 -1
  558. package/_esm/chains/definitions/pulsechain.js +0 -29
  559. package/_esm/chains/definitions/pulsechain.js.map +0 -1
  560. package/_esm/chains/definitions/pulsechainV4.js +0 -29
  561. package/_esm/chains/definitions/pulsechainV4.js.map +0 -1
  562. package/_esm/chains/definitions/qMainnet.js +0 -20
  563. package/_esm/chains/definitions/qMainnet.js.map +0 -1
  564. package/_esm/chains/definitions/qTestnet.js +0 -21
  565. package/_esm/chains/definitions/qTestnet.js.map +0 -1
  566. package/_esm/chains/definitions/rollux.js +0 -26
  567. package/_esm/chains/definitions/rollux.js.map +0 -1
  568. package/_esm/chains/definitions/rolluxTestnet.js +0 -29
  569. package/_esm/chains/definitions/rolluxTestnet.js.map +0 -1
  570. package/_esm/chains/definitions/ronin.js +0 -21
  571. package/_esm/chains/definitions/ronin.js.map +0 -1
  572. package/_esm/chains/definitions/rootstock.js +0 -26
  573. package/_esm/chains/definitions/rootstock.js.map +0 -1
  574. package/_esm/chains/definitions/saigon.js +0 -25
  575. package/_esm/chains/definitions/saigon.js.map +0 -1
  576. package/_esm/chains/definitions/sapphire.js +0 -30
  577. package/_esm/chains/definitions/sapphire.js.map +0 -1
  578. package/_esm/chains/definitions/sapphireTestnet.js +0 -25
  579. package/_esm/chains/definitions/sapphireTestnet.js.map +0 -1
  580. package/_esm/chains/definitions/scroll.js +0 -26
  581. package/_esm/chains/definitions/scroll.js.map +0 -1
  582. package/_esm/chains/definitions/scrollSepolia.js +0 -25
  583. package/_esm/chains/definitions/scrollSepolia.js.map +0 -1
  584. package/_esm/chains/definitions/scrollTestnet.js +0 -20
  585. package/_esm/chains/definitions/scrollTestnet.js.map +0 -1
  586. package/_esm/chains/definitions/sepolia.js +0 -30
  587. package/_esm/chains/definitions/sepolia.js.map +0 -1
  588. package/_esm/chains/definitions/shardeumSphinx.js +0 -19
  589. package/_esm/chains/definitions/shardeumSphinx.js.map +0 -1
  590. package/_esm/chains/definitions/shibarium.js +0 -32
  591. package/_esm/chains/definitions/shibarium.js.map +0 -1
  592. package/_esm/chains/definitions/shimmer.js +0 -26
  593. package/_esm/chains/definitions/shimmer.js.map +0 -1
  594. package/_esm/chains/definitions/shimmerTestnet.js +0 -27
  595. package/_esm/chains/definitions/shimmerTestnet.js.map +0 -1
  596. package/_esm/chains/definitions/skale/brawl.js +0 -20
  597. package/_esm/chains/definitions/skale/brawl.js.map +0 -1
  598. package/_esm/chains/definitions/skale/calypso.js +0 -27
  599. package/_esm/chains/definitions/skale/calypso.js.map +0 -1
  600. package/_esm/chains/definitions/skale/calypsoTestnet.js +0 -30
  601. package/_esm/chains/definitions/skale/calypsoTestnet.js.map +0 -1
  602. package/_esm/chains/definitions/skale/chaosTestnet.js +0 -30
  603. package/_esm/chains/definitions/skale/chaosTestnet.js.map +0 -1
  604. package/_esm/chains/definitions/skale/cryptoBlades.js +0 -22
  605. package/_esm/chains/definitions/skale/cryptoBlades.js.map +0 -1
  606. package/_esm/chains/definitions/skale/cryptoColosseum.js +0 -20
  607. package/_esm/chains/definitions/skale/cryptoColosseum.js.map +0 -1
  608. package/_esm/chains/definitions/skale/europa.js +0 -25
  609. package/_esm/chains/definitions/skale/europa.js.map +0 -1
  610. package/_esm/chains/definitions/skale/europaTestnet.js +0 -28
  611. package/_esm/chains/definitions/skale/europaTestnet.js.map +0 -1
  612. package/_esm/chains/definitions/skale/exorde.js +0 -20
  613. package/_esm/chains/definitions/skale/exorde.js.map +0 -1
  614. package/_esm/chains/definitions/skale/humanProtocol.js +0 -20
  615. package/_esm/chains/definitions/skale/humanProtocol.js.map +0 -1
  616. package/_esm/chains/definitions/skale/nebula.js +0 -25
  617. package/_esm/chains/definitions/skale/nebula.js.map +0 -1
  618. package/_esm/chains/definitions/skale/nebulaTestnet.js +0 -28
  619. package/_esm/chains/definitions/skale/nebulaTestnet.js.map +0 -1
  620. package/_esm/chains/definitions/skale/razor.js +0 -20
  621. package/_esm/chains/definitions/skale/razor.js.map +0 -1
  622. package/_esm/chains/definitions/skale/titan.js +0 -25
  623. package/_esm/chains/definitions/skale/titan.js.map +0 -1
  624. package/_esm/chains/definitions/skale/titanTestnet.js +0 -30
  625. package/_esm/chains/definitions/skale/titanTestnet.js.map +0 -1
  626. package/_esm/chains/definitions/songbird.js +0 -20
  627. package/_esm/chains/definitions/songbird.js.map +0 -1
  628. package/_esm/chains/definitions/songbirdTestnet.js +0 -21
  629. package/_esm/chains/definitions/songbirdTestnet.js.map +0 -1
  630. package/_esm/chains/definitions/spicy.js +0 -31
  631. package/_esm/chains/definitions/spicy.js.map +0 -1
  632. package/_esm/chains/definitions/syscoin.js +0 -26
  633. package/_esm/chains/definitions/syscoin.js.map +0 -1
  634. package/_esm/chains/definitions/syscoinTestnet.js +0 -26
  635. package/_esm/chains/definitions/syscoinTestnet.js.map +0 -1
  636. package/_esm/chains/definitions/taikoJolnir.js +0 -18
  637. package/_esm/chains/definitions/taikoJolnir.js.map +0 -1
  638. package/_esm/chains/definitions/taikoTestnetSepolia.js +0 -18
  639. package/_esm/chains/definitions/taikoTestnetSepolia.js.map +0 -1
  640. package/_esm/chains/definitions/taraxa.js +0 -18
  641. package/_esm/chains/definitions/taraxa.js.map +0 -1
  642. package/_esm/chains/definitions/taraxaTestnet.js +0 -19
  643. package/_esm/chains/definitions/taraxaTestnet.js.map +0 -1
  644. package/_esm/chains/definitions/telos.js +0 -26
  645. package/_esm/chains/definitions/telos.js.map +0 -1
  646. package/_esm/chains/definitions/telosTestnet.js +0 -21
  647. package/_esm/chains/definitions/telosTestnet.js.map +0 -1
  648. package/_esm/chains/definitions/tenet.js +0 -20
  649. package/_esm/chains/definitions/tenet.js.map +0 -1
  650. package/_esm/chains/definitions/thunderTestnet.js +0 -19
  651. package/_esm/chains/definitions/thunderTestnet.js.map +0 -1
  652. package/_esm/chains/definitions/vechain.js +0 -22
  653. package/_esm/chains/definitions/vechain.js.map +0 -1
  654. package/_esm/chains/definitions/wanchain.js +0 -27
  655. package/_esm/chains/definitions/wanchain.js.map +0 -1
  656. package/_esm/chains/definitions/wanchainTestnet.js +0 -25
  657. package/_esm/chains/definitions/wanchainTestnet.js.map +0 -1
  658. package/_esm/chains/definitions/xdc.js +0 -18
  659. package/_esm/chains/definitions/xdc.js.map +0 -1
  660. package/_esm/chains/definitions/xdcTestnet.js +0 -18
  661. package/_esm/chains/definitions/xdcTestnet.js.map +0 -1
  662. package/_esm/chains/definitions/zetachainAthensTestnet.js +0 -23
  663. package/_esm/chains/definitions/zetachainAthensTestnet.js.map +0 -1
  664. package/_esm/chains/definitions/zhejiang.js +0 -19
  665. package/_esm/chains/definitions/zhejiang.js.map +0 -1
  666. package/_esm/chains/definitions/zkSync.js +0 -31
  667. package/_esm/chains/definitions/zkSync.js.map +0 -1
  668. package/_esm/chains/definitions/zkSyncTestnet.js +0 -28
  669. package/_esm/chains/definitions/zkSyncTestnet.js.map +0 -1
  670. package/_esm/chains/definitions/zora.js +0 -36
  671. package/_esm/chains/definitions/zora.js.map +0 -1
  672. package/_esm/chains/definitions/zoraSepolia.js +0 -45
  673. package/_esm/chains/definitions/zoraSepolia.js.map +0 -1
  674. package/_esm/chains/definitions/zoraTestnet.js +0 -40
  675. package/_esm/chains/definitions/zoraTestnet.js.map +0 -1
  676. package/_esm/chains/index.js +0 -170
  677. package/_esm/chains/index.js.map +0 -1
  678. package/_esm/chains/opStack/abis.js +0 -391
  679. package/_esm/chains/opStack/abis.js.map +0 -1
  680. package/_esm/chains/opStack/actions/buildDepositTransaction.js +0 -54
  681. package/_esm/chains/opStack/actions/buildDepositTransaction.js.map +0 -1
  682. package/_esm/chains/opStack/actions/depositTransaction.js +0 -88
  683. package/_esm/chains/opStack/actions/depositTransaction.js.map +0 -1
  684. package/_esm/chains/opStack/actions/estimateContractL1Fee.js +0 -55
  685. package/_esm/chains/opStack/actions/estimateContractL1Fee.js.map +0 -1
  686. package/_esm/chains/opStack/actions/estimateContractL1Gas.js +0 -55
  687. package/_esm/chains/opStack/actions/estimateContractL1Gas.js.map +0 -1
  688. package/_esm/chains/opStack/actions/estimateContractTotalFee.js +0 -55
  689. package/_esm/chains/opStack/actions/estimateContractTotalFee.js.map +0 -1
  690. package/_esm/chains/opStack/actions/estimateContractTotalGas.js +0 -55
  691. package/_esm/chains/opStack/actions/estimateContractTotalGas.js.map +0 -1
  692. package/_esm/chains/opStack/actions/estimateL1Fee.js +0 -74
  693. package/_esm/chains/opStack/actions/estimateL1Fee.js.map +0 -1
  694. package/_esm/chains/opStack/actions/estimateL1Gas.js +0 -74
  695. package/_esm/chains/opStack/actions/estimateL1Gas.js.map +0 -1
  696. package/_esm/chains/opStack/actions/estimateTotalFee.js +0 -38
  697. package/_esm/chains/opStack/actions/estimateTotalFee.js.map +0 -1
  698. package/_esm/chains/opStack/actions/estimateTotalGas.js +0 -36
  699. package/_esm/chains/opStack/actions/estimateTotalGas.js.map +0 -1
  700. package/_esm/chains/opStack/chainConfig.js +0 -9
  701. package/_esm/chains/opStack/chainConfig.js.map +0 -1
  702. package/_esm/chains/opStack/chains.js +0 -10
  703. package/_esm/chains/opStack/chains.js.map +0 -1
  704. package/_esm/chains/opStack/contracts.js +0 -13
  705. package/_esm/chains/opStack/contracts.js.map +0 -1
  706. package/_esm/chains/opStack/decorators/publicL2.js +0 -25
  707. package/_esm/chains/opStack/decorators/publicL2.js.map +0 -1
  708. package/_esm/chains/opStack/decorators/walletL1.js +0 -9
  709. package/_esm/chains/opStack/decorators/walletL1.js.map +0 -1
  710. package/_esm/chains/opStack/formatters.js +0 -53
  711. package/_esm/chains/opStack/formatters.js.map +0 -1
  712. package/_esm/chains/opStack/index.js +0 -22
  713. package/_esm/chains/opStack/index.js.map +0 -1
  714. package/_esm/chains/opStack/parsers.js +0 -51
  715. package/_esm/chains/opStack/parsers.js.map +0 -1
  716. package/_esm/chains/opStack/serializers.js +0 -47
  717. package/_esm/chains/opStack/serializers.js.map +0 -1
  718. package/_esm/chains/opStack/types/block.js +0 -2
  719. package/_esm/chains/opStack/types/block.js.map +0 -1
  720. package/_esm/chains/opStack/types/chain.js +0 -2
  721. package/_esm/chains/opStack/types/chain.js.map +0 -1
  722. package/_esm/chains/opStack/types/contract.js +0 -2
  723. package/_esm/chains/opStack/types/contract.js.map +0 -1
  724. package/_esm/chains/opStack/types/transaction.js +0 -2
  725. package/_esm/chains/opStack/types/transaction.js.map +0 -1
  726. package/_esm/chains/opStack/utils/extractTransactionDepositedLogs.js +0 -10
  727. package/_esm/chains/opStack/utils/extractTransactionDepositedLogs.js.map +0 -1
  728. package/_esm/chains/opStack/utils/fromOpaqueData.js +0 -25
  729. package/_esm/chains/opStack/utils/fromOpaqueData.js.map +0 -1
  730. package/_esm/chains/opStack/utils/getL2TransactionHash.js +0 -25
  731. package/_esm/chains/opStack/utils/getL2TransactionHash.js.map +0 -1
  732. package/_esm/chains/opStack/utils/getL2TransactionHashes.js +0 -7
  733. package/_esm/chains/opStack/utils/getL2TransactionHashes.js.map +0 -1
  734. package/_esm/chains/opStack/utils/getSourceHash.js +0 -18
  735. package/_esm/chains/opStack/utils/getSourceHash.js.map +0 -1
  736. package/_esm/chains/utils.js +0 -5
  737. package/_esm/chains/utils.js.map +0 -1
  738. package/_esm/chains/zksync/chainConfig.js +0 -7
  739. package/_esm/chains/zksync/chainConfig.js.map +0 -1
  740. package/_esm/chains/zksync/formatters.js +0 -126
  741. package/_esm/chains/zksync/formatters.js.map +0 -1
  742. package/_esm/chains/zksync/index.js +0 -3
  743. package/_esm/chains/zksync/index.js.map +0 -1
  744. package/_esm/chains/zksync/serializers.js +0 -71
  745. package/_esm/chains/zksync/serializers.js.map +0 -1
  746. package/_esm/chains/zksync/types.js +0 -2
  747. package/_esm/chains/zksync/types.js.map +0 -1
  748. package/_esm/clients/createClient.js +0 -38
  749. package/_esm/clients/createClient.js.map +0 -1
  750. package/_esm/clients/createPublicClient.js +0 -13
  751. package/_esm/clients/createPublicClient.js.map +0 -1
  752. package/_esm/clients/createTestClient.js +0 -16
  753. package/_esm/clients/createTestClient.js.map +0 -1
  754. package/_esm/clients/createWalletClient.js +0 -14
  755. package/_esm/clients/createWalletClient.js.map +0 -1
  756. package/_esm/clients/decorators/public.js +0 -97
  757. package/_esm/clients/decorators/public.js.map +0 -1
  758. package/_esm/clients/decorators/test.js +0 -70
  759. package/_esm/clients/decorators/test.js.map +0 -1
  760. package/_esm/clients/decorators/wallet.js +0 -38
  761. package/_esm/clients/decorators/wallet.js.map +0 -1
  762. package/_esm/clients/transports/createTransport.js +0 -12
  763. package/_esm/clients/transports/createTransport.js.map +0 -1
  764. package/_esm/clients/transports/custom.js +0 -16
  765. package/_esm/clients/transports/custom.js.map +0 -1
  766. package/_esm/clients/transports/fallback.js +0 -141
  767. package/_esm/clients/transports/fallback.js.map +0 -1
  768. package/_esm/clients/transports/http.js +0 -60
  769. package/_esm/clients/transports/http.js.map +0 -1
  770. package/_esm/clients/transports/webSocket.js +0 -82
  771. package/_esm/clients/transports/webSocket.js.map +0 -1
  772. package/_esm/constants/abis.js +0 -1360
  773. package/_esm/constants/abis.js.map +0 -1
  774. package/_esm/constants/address.js +0 -2
  775. package/_esm/constants/address.js.map +0 -1
  776. package/_esm/constants/bytes.js +0 -2
  777. package/_esm/constants/bytes.js.map +0 -1
  778. package/_esm/constants/contract.js +0 -2
  779. package/_esm/constants/contract.js.map +0 -1
  780. package/_esm/constants/contracts.js +0 -2
  781. package/_esm/constants/contracts.js.map +0 -1
  782. package/_esm/constants/number.js +0 -97
  783. package/_esm/constants/number.js.map +0 -1
  784. package/_esm/constants/solidity.js +0 -33
  785. package/_esm/constants/solidity.js.map +0 -1
  786. package/_esm/constants/strings.js +0 -2
  787. package/_esm/constants/strings.js.map +0 -1
  788. package/_esm/constants/unit.js +0 -13
  789. package/_esm/constants/unit.js.map +0 -1
  790. package/_esm/ens/index.js +0 -9
  791. package/_esm/ens/index.js.map +0 -1
  792. package/_esm/errors/abi.js +0 -433
  793. package/_esm/errors/abi.js.map +0 -1
  794. package/_esm/errors/account.js +0 -19
  795. package/_esm/errors/account.js.map +0 -1
  796. package/_esm/errors/address.js +0 -13
  797. package/_esm/errors/address.js.map +0 -1
  798. package/_esm/errors/base.js +0 -79
  799. package/_esm/errors/base.js.map +0 -1
  800. package/_esm/errors/block.js +0 -18
  801. package/_esm/errors/block.js.map +0 -1
  802. package/_esm/errors/ccip.js +0 -63
  803. package/_esm/errors/ccip.js.map +0 -1
  804. package/_esm/errors/chain.js +0 -78
  805. package/_esm/errors/chain.js.map +0 -1
  806. package/_esm/errors/contract.js +0 -278
  807. package/_esm/errors/contract.js.map +0 -1
  808. package/_esm/errors/cursor.js +0 -24
  809. package/_esm/errors/cursor.js.map +0 -1
  810. package/_esm/errors/data.js +0 -26
  811. package/_esm/errors/data.js.map +0 -1
  812. package/_esm/errors/encoding.js +0 -57
  813. package/_esm/errors/encoding.js.map +0 -1
  814. package/_esm/errors/ens.js +0 -52
  815. package/_esm/errors/ens.js.map +0 -1
  816. package/_esm/errors/estimateGas.js +0 -45
  817. package/_esm/errors/estimateGas.js.map +0 -1
  818. package/_esm/errors/fee.js +0 -36
  819. package/_esm/errors/fee.js.map +0 -1
  820. package/_esm/errors/log.js +0 -13
  821. package/_esm/errors/log.js.map +0 -1
  822. package/_esm/errors/node.js +0 -247
  823. package/_esm/errors/node.js.map +0 -1
  824. package/_esm/errors/request.js +0 -100
  825. package/_esm/errors/request.js.map +0 -1
  826. package/_esm/errors/rpc.js +0 -424
  827. package/_esm/errors/rpc.js.map +0 -1
  828. package/_esm/errors/transaction.js +0 -211
  829. package/_esm/errors/transaction.js.map +0 -1
  830. package/_esm/errors/transport.js +0 -9
  831. package/_esm/errors/transport.js.map +0 -1
  832. package/_esm/errors/utils.js +0 -5
  833. package/_esm/errors/utils.js.map +0 -1
  834. package/_esm/errors/version.js +0 -2
  835. package/_esm/errors/version.js.map +0 -1
  836. package/_esm/index.js +0 -119
  837. package/_esm/index.js.map +0 -1
  838. package/_esm/package.json +0 -1
  839. package/_esm/types/account.js +0 -2
  840. package/_esm/types/account.js.map +0 -1
  841. package/_esm/types/block.js +0 -2
  842. package/_esm/types/block.js.map +0 -1
  843. package/_esm/types/chain.js +0 -2
  844. package/_esm/types/chain.js.map +0 -1
  845. package/_esm/types/contract.js +0 -2
  846. package/_esm/types/contract.js.map +0 -1
  847. package/_esm/types/eip1193.js +0 -20
  848. package/_esm/types/eip1193.js.map +0 -1
  849. package/_esm/types/ens.js +0 -2
  850. package/_esm/types/ens.js.map +0 -1
  851. package/_esm/types/fee.js +0 -2
  852. package/_esm/types/fee.js.map +0 -1
  853. package/_esm/types/filter.js +0 -2
  854. package/_esm/types/filter.js.map +0 -1
  855. package/_esm/types/log.js +0 -2
  856. package/_esm/types/log.js.map +0 -1
  857. package/_esm/types/misc.js +0 -2
  858. package/_esm/types/misc.js.map +0 -1
  859. package/_esm/types/multicall.js +0 -2
  860. package/_esm/types/multicall.js.map +0 -1
  861. package/_esm/types/proof.js +0 -2
  862. package/_esm/types/proof.js.map +0 -1
  863. package/_esm/types/rpc.js +0 -2
  864. package/_esm/types/rpc.js.map +0 -1
  865. package/_esm/types/transaction.js +0 -2
  866. package/_esm/types/transaction.js.map +0 -1
  867. package/_esm/types/transport.js +0 -2
  868. package/_esm/types/transport.js.map +0 -1
  869. package/_esm/types/typedData.js +0 -2
  870. package/_esm/types/typedData.js.map +0 -1
  871. package/_esm/types/utils.js +0 -2
  872. package/_esm/types/utils.js.map +0 -1
  873. package/_esm/types/window.js +0 -2
  874. package/_esm/types/window.js.map +0 -1
  875. package/_esm/types/withdrawal.js +0 -2
  876. package/_esm/types/withdrawal.js.map +0 -1
  877. package/_esm/utils/abi/decodeAbiParameters.js +0 -234
  878. package/_esm/utils/abi/decodeAbiParameters.js.map +0 -1
  879. package/_esm/utils/abi/decodeDeployData.js +0 -18
  880. package/_esm/utils/abi/decodeDeployData.js.map +0 -1
  881. package/_esm/utils/abi/decodeErrorResult.js +0 -26
  882. package/_esm/utils/abi/decodeErrorResult.js.map +0 -1
  883. package/_esm/utils/abi/decodeEventLog.js +0 -83
  884. package/_esm/utils/abi/decodeEventLog.js.map +0 -1
  885. package/_esm/utils/abi/decodeFunctionData.js +0 -24
  886. package/_esm/utils/abi/decodeFunctionData.js.map +0 -1
  887. package/_esm/utils/abi/decodeFunctionResult.js +0 -25
  888. package/_esm/utils/abi/decodeFunctionResult.js.map +0 -1
  889. package/_esm/utils/abi/encodeAbiParameters.js +0 -215
  890. package/_esm/utils/abi/encodeAbiParameters.js.map +0 -1
  891. package/_esm/utils/abi/encodeDeployData.js +0 -19
  892. package/_esm/utils/abi/encodeDeployData.js.map +0 -1
  893. package/_esm/utils/abi/encodeErrorResult.js +0 -29
  894. package/_esm/utils/abi/encodeErrorResult.js.map +0 -1
  895. package/_esm/utils/abi/encodeEventTopics.js +0 -49
  896. package/_esm/utils/abi/encodeEventTopics.js.map +0 -1
  897. package/_esm/utils/abi/encodeFunctionData.js +0 -30
  898. package/_esm/utils/abi/encodeFunctionData.js.map +0 -1
  899. package/_esm/utils/abi/encodeFunctionResult.js +0 -23
  900. package/_esm/utils/abi/encodeFunctionResult.js.map +0 -1
  901. package/_esm/utils/abi/encodePacked.js +0 -69
  902. package/_esm/utils/abi/encodePacked.js.map +0 -1
  903. package/_esm/utils/abi/formatAbiItem.js +0 -22
  904. package/_esm/utils/abi/formatAbiItem.js.map +0 -1
  905. package/_esm/utils/abi/formatAbiItemWithArgs.js +0 -13
  906. package/_esm/utils/abi/formatAbiItemWithArgs.js.map +0 -1
  907. package/_esm/utils/abi/getAbiItem.js +0 -86
  908. package/_esm/utils/abi/getAbiItem.js.map +0 -1
  909. package/_esm/utils/abi/parseEventLogs.js +0 -59
  910. package/_esm/utils/abi/parseEventLogs.js.map +0 -1
  911. package/_esm/utils/accounts.js +0 -6
  912. package/_esm/utils/accounts.js.map +0 -1
  913. package/_esm/utils/address/getAddress.js +0 -26
  914. package/_esm/utils/address/getAddress.js.map +0 -1
  915. package/_esm/utils/address/getContractAddress.js +0 -36
  916. package/_esm/utils/address/getContractAddress.js.map +0 -1
  917. package/_esm/utils/address/isAddress.js +0 -5
  918. package/_esm/utils/address/isAddress.js.map +0 -1
  919. package/_esm/utils/address/isAddressEqual.js +0 -10
  920. package/_esm/utils/address/isAddressEqual.js.map +0 -1
  921. package/_esm/utils/buildRequest.js +0 -137
  922. package/_esm/utils/buildRequest.js.map +0 -1
  923. package/_esm/utils/ccip.js +0 -119
  924. package/_esm/utils/ccip.js.map +0 -1
  925. package/_esm/utils/chain/assertCurrentChain.js +0 -8
  926. package/_esm/utils/chain/assertCurrentChain.js.map +0 -1
  927. package/_esm/utils/chain/defineChain.js +0 -9
  928. package/_esm/utils/chain/defineChain.js.map +0 -1
  929. package/_esm/utils/chain/extractChain.js +0 -4
  930. package/_esm/utils/chain/extractChain.js.map +0 -1
  931. package/_esm/utils/chain/getChainContractAddress.js +0 -22
  932. package/_esm/utils/chain/getChainContractAddress.js.map +0 -1
  933. package/_esm/utils/cursor.js +0 -130
  934. package/_esm/utils/cursor.js.map +0 -1
  935. package/_esm/utils/data/concat.js +0 -22
  936. package/_esm/utils/data/concat.js.map +0 -1
  937. package/_esm/utils/data/isBytes.js +0 -10
  938. package/_esm/utils/data/isBytes.js.map +0 -1
  939. package/_esm/utils/data/isBytesEqual.js +0 -9
  940. package/_esm/utils/data/isBytesEqual.js.map +0 -1
  941. package/_esm/utils/data/isHex.js +0 -8
  942. package/_esm/utils/data/isHex.js.map +0 -1
  943. package/_esm/utils/data/pad.js +0 -36
  944. package/_esm/utils/data/pad.js.map +0 -1
  945. package/_esm/utils/data/size.js +0 -13
  946. package/_esm/utils/data/size.js.map +0 -1
  947. package/_esm/utils/data/slice.js +0 -69
  948. package/_esm/utils/data/slice.js.map +0 -1
  949. package/_esm/utils/data/trim.js +0 -21
  950. package/_esm/utils/data/trim.js.map +0 -1
  951. package/_esm/utils/encoding/fromBytes.js +0 -127
  952. package/_esm/utils/encoding/fromBytes.js.map +0 -1
  953. package/_esm/utils/encoding/fromHex.js +0 -167
  954. package/_esm/utils/encoding/fromHex.js.map +0 -1
  955. package/_esm/utils/encoding/fromRlp.js +0 -63
  956. package/_esm/utils/encoding/fromRlp.js.map +0 -1
  957. package/_esm/utils/encoding/toBytes.js +0 -177
  958. package/_esm/utils/encoding/toBytes.js.map +0 -1
  959. package/_esm/utils/encoding/toHex.js +0 -177
  960. package/_esm/utils/encoding/toHex.js.map +0 -1
  961. package/_esm/utils/encoding/toRlp.js +0 -101
  962. package/_esm/utils/encoding/toRlp.js.map +0 -1
  963. package/_esm/utils/ens/avatar/parseAvatarRecord.js +0 -34
  964. package/_esm/utils/ens/avatar/parseAvatarRecord.js.map +0 -1
  965. package/_esm/utils/ens/avatar/utils.js +0 -186
  966. package/_esm/utils/ens/avatar/utils.js.map +0 -1
  967. package/_esm/utils/ens/encodeLabelhash.js +0 -4
  968. package/_esm/utils/ens/encodeLabelhash.js.map +0 -1
  969. package/_esm/utils/ens/encodedLabelToLabelhash.js +0 -14
  970. package/_esm/utils/ens/encodedLabelToLabelhash.js.map +0 -1
  971. package/_esm/utils/ens/errors.js +0 -25
  972. package/_esm/utils/ens/errors.js.map +0 -1
  973. package/_esm/utils/ens/labelhash.js +0 -20
  974. package/_esm/utils/ens/labelhash.js.map +0 -1
  975. package/_esm/utils/ens/namehash.js +0 -32
  976. package/_esm/utils/ens/namehash.js.map +0 -1
  977. package/_esm/utils/ens/normalize.js +0 -15
  978. package/_esm/utils/ens/normalize.js.map +0 -1
  979. package/_esm/utils/ens/packetToBytes.js +0 -29
  980. package/_esm/utils/ens/packetToBytes.js.map +0 -1
  981. package/_esm/utils/errors/getCallError.js +0 -16
  982. package/_esm/utils/errors/getCallError.js.map +0 -1
  983. package/_esm/utils/errors/getContractError.js +0 -35
  984. package/_esm/utils/errors/getContractError.js.map +0 -1
  985. package/_esm/utils/errors/getEstimateGasError.js +0 -16
  986. package/_esm/utils/errors/getEstimateGasError.js.map +0 -1
  987. package/_esm/utils/errors/getNodeError.js +0 -60
  988. package/_esm/utils/errors/getNodeError.js.map +0 -1
  989. package/_esm/utils/errors/getTransactionError.js +0 -16
  990. package/_esm/utils/errors/getTransactionError.js.map +0 -1
  991. package/_esm/utils/filters/createFilterRequestScope.js +0 -15
  992. package/_esm/utils/filters/createFilterRequestScope.js.map +0 -1
  993. package/_esm/utils/formatters/block.js +0 -28
  994. package/_esm/utils/formatters/block.js.map +0 -1
  995. package/_esm/utils/formatters/extract.js +0 -23
  996. package/_esm/utils/formatters/extract.js.map +0 -1
  997. package/_esm/utils/formatters/feeHistory.js +0 -9
  998. package/_esm/utils/formatters/feeHistory.js.map +0 -1
  999. package/_esm/utils/formatters/formatter.js +0 -21
  1000. package/_esm/utils/formatters/formatter.js.map +0 -1
  1001. package/_esm/utils/formatters/log.js +0 -14
  1002. package/_esm/utils/formatters/log.js.map +0 -1
  1003. package/_esm/utils/formatters/proof.js +0 -18
  1004. package/_esm/utils/formatters/proof.js.map +0 -1
  1005. package/_esm/utils/formatters/transaction.js +0 -64
  1006. package/_esm/utils/formatters/transaction.js.map +0 -1
  1007. package/_esm/utils/formatters/transactionReceipt.js +0 -43
  1008. package/_esm/utils/formatters/transactionReceipt.js.map +0 -1
  1009. package/_esm/utils/formatters/transactionRequest.js +0 -35
  1010. package/_esm/utils/formatters/transactionRequest.js.map +0 -1
  1011. package/_esm/utils/getAction.js +0 -14
  1012. package/_esm/utils/getAction.js.map +0 -1
  1013. package/_esm/utils/hash/getEventSelector.js +0 -6
  1014. package/_esm/utils/hash/getEventSelector.js.map +0 -1
  1015. package/_esm/utils/hash/getEventSignature.js +0 -5
  1016. package/_esm/utils/hash/getEventSignature.js.map +0 -1
  1017. package/_esm/utils/hash/getFunctionSelector.js +0 -7
  1018. package/_esm/utils/hash/getFunctionSelector.js.map +0 -1
  1019. package/_esm/utils/hash/getFunctionSignature.js +0 -11
  1020. package/_esm/utils/hash/getFunctionSignature.js.map +0 -1
  1021. package/_esm/utils/hash/hashFunction.js +0 -12
  1022. package/_esm/utils/hash/hashFunction.js.map +0 -1
  1023. package/_esm/utils/hash/isHash.js +0 -6
  1024. package/_esm/utils/hash/isHash.js.map +0 -1
  1025. package/_esm/utils/hash/keccak256.js +0 -12
  1026. package/_esm/utils/hash/keccak256.js.map +0 -1
  1027. package/_esm/utils/hash/normalizeSignature.js +0 -51
  1028. package/_esm/utils/hash/normalizeSignature.js.map +0 -1
  1029. package/_esm/utils/index.js +0 -84
  1030. package/_esm/utils/index.js.map +0 -1
  1031. package/_esm/utils/observe.js +0 -44
  1032. package/_esm/utils/observe.js.map +0 -1
  1033. package/_esm/utils/poll.js +0 -26
  1034. package/_esm/utils/poll.js.map +0 -1
  1035. package/_esm/utils/promise/createBatchScheduler.js +0 -51
  1036. package/_esm/utils/promise/createBatchScheduler.js.map +0 -1
  1037. package/_esm/utils/promise/withCache.js +0 -55
  1038. package/_esm/utils/promise/withCache.js.map +0 -1
  1039. package/_esm/utils/promise/withRetry.js +0 -25
  1040. package/_esm/utils/promise/withRetry.js.map +0 -1
  1041. package/_esm/utils/promise/withTimeout.js +0 -31
  1042. package/_esm/utils/promise/withTimeout.js.map +0 -1
  1043. package/_esm/utils/regex.js +0 -8
  1044. package/_esm/utils/regex.js.map +0 -1
  1045. package/_esm/utils/rpc.js +0 -160
  1046. package/_esm/utils/rpc.js.map +0 -1
  1047. package/_esm/utils/signature/compactSignatureToHex.js +0 -19
  1048. package/_esm/utils/signature/compactSignatureToHex.js.map +0 -1
  1049. package/_esm/utils/signature/compactSignatureToSignature.js +0 -28
  1050. package/_esm/utils/signature/compactSignatureToSignature.js.map +0 -1
  1051. package/_esm/utils/signature/hashMessage.js +0 -16
  1052. package/_esm/utils/signature/hashMessage.js.map +0 -1
  1053. package/_esm/utils/signature/hashTypedData.js +0 -122
  1054. package/_esm/utils/signature/hashTypedData.js.map +0 -1
  1055. package/_esm/utils/signature/hexToCompactSignature.js +0 -20
  1056. package/_esm/utils/signature/hexToCompactSignature.js.map +0 -1
  1057. package/_esm/utils/signature/hexToSignature.js +0 -18
  1058. package/_esm/utils/signature/hexToSignature.js.map +0 -1
  1059. package/_esm/utils/signature/recoverAddress.js +0 -6
  1060. package/_esm/utils/signature/recoverAddress.js.map +0 -1
  1061. package/_esm/utils/signature/recoverMessageAddress.js +0 -6
  1062. package/_esm/utils/signature/recoverMessageAddress.js.map +0 -1
  1063. package/_esm/utils/signature/recoverPublicKey.js +0 -19
  1064. package/_esm/utils/signature/recoverPublicKey.js.map +0 -1
  1065. package/_esm/utils/signature/recoverTypedDataAddress.js +0 -15
  1066. package/_esm/utils/signature/recoverTypedDataAddress.js.map +0 -1
  1067. package/_esm/utils/signature/signatureToCompactSignature.js +0 -30
  1068. package/_esm/utils/signature/signatureToCompactSignature.js.map +0 -1
  1069. package/_esm/utils/signature/signatureToHex.js +0 -21
  1070. package/_esm/utils/signature/signatureToHex.js.map +0 -1
  1071. package/_esm/utils/signature/verifyMessage.js +0 -19
  1072. package/_esm/utils/signature/verifyMessage.js.map +0 -1
  1073. package/_esm/utils/signature/verifyTypedData.js +0 -26
  1074. package/_esm/utils/signature/verifyTypedData.js.map +0 -1
  1075. package/_esm/utils/stringify.js +0 -5
  1076. package/_esm/utils/stringify.js.map +0 -1
  1077. package/_esm/utils/transaction/assertRequest.js +0 -24
  1078. package/_esm/utils/transaction/assertRequest.js.map +0 -1
  1079. package/_esm/utils/transaction/assertTransaction.js +0 -45
  1080. package/_esm/utils/transaction/assertTransaction.js.map +0 -1
  1081. package/_esm/utils/transaction/getSerializedTransactionType.js +0 -14
  1082. package/_esm/utils/transaction/getSerializedTransactionType.js.map +0 -1
  1083. package/_esm/utils/transaction/getTransactionType.js +0 -15
  1084. package/_esm/utils/transaction/getTransactionType.js.map +0 -1
  1085. package/_esm/utils/transaction/parseTransaction.js +0 -207
  1086. package/_esm/utils/transaction/parseTransaction.js.map +0 -1
  1087. package/_esm/utils/transaction/serializeAccessList.js +0 -32
  1088. package/_esm/utils/transaction/serializeAccessList.js.map +0 -1
  1089. package/_esm/utils/transaction/serializeTransaction.js +0 -122
  1090. package/_esm/utils/transaction/serializeTransaction.js.map +0 -1
  1091. package/_esm/utils/typedData.js +0 -73
  1092. package/_esm/utils/typedData.js.map +0 -1
  1093. package/_esm/utils/uid.js +0 -14
  1094. package/_esm/utils/uid.js.map +0 -1
  1095. package/_esm/utils/unit/formatEther.js +0 -17
  1096. package/_esm/utils/unit/formatEther.js.map +0 -1
  1097. package/_esm/utils/unit/formatGwei.js +0 -17
  1098. package/_esm/utils/unit/formatGwei.js.map +0 -1
  1099. package/_esm/utils/unit/formatUnits.js +0 -25
  1100. package/_esm/utils/unit/formatUnits.js.map +0 -1
  1101. package/_esm/utils/unit/parseEther.js +0 -17
  1102. package/_esm/utils/unit/parseEther.js.map +0 -1
  1103. package/_esm/utils/unit/parseGwei.js +0 -17
  1104. package/_esm/utils/unit/parseGwei.js.map +0 -1
  1105. package/_esm/utils/unit/parseUnits.js +0 -47
  1106. package/_esm/utils/unit/parseUnits.js.map +0 -1
  1107. package/_esm/utils/wait.js +0 -4
  1108. package/_esm/utils/wait.js.map +0 -1
  1109. package/_esm/window/index.js +0 -2
  1110. package/_esm/window/index.js.map +0 -1
  1111. package/_types/accounts/generateMnemonic.d.ts +0 -11
  1112. package/_types/accounts/generateMnemonic.d.ts.map +0 -1
  1113. package/_types/accounts/generatePrivateKey.d.ts +0 -11
  1114. package/_types/accounts/generatePrivateKey.d.ts.map +0 -1
  1115. package/_types/accounts/hdKeyToAccount.d.ts +0 -13
  1116. package/_types/accounts/hdKeyToAccount.d.ts.map +0 -1
  1117. package/_types/accounts/index.d.ts +0 -27
  1118. package/_types/accounts/index.d.ts.map +0 -1
  1119. package/_types/accounts/mnemonicToAccount.d.ts +0 -11
  1120. package/_types/accounts/mnemonicToAccount.d.ts.map +0 -1
  1121. package/_types/accounts/privateKeyToAccount.d.ts +0 -17
  1122. package/_types/accounts/privateKeyToAccount.d.ts.map +0 -1
  1123. package/_types/accounts/toAccount.d.ts +0 -15
  1124. package/_types/accounts/toAccount.d.ts.map +0 -1
  1125. package/_types/accounts/types.d.ts +0 -50
  1126. package/_types/accounts/types.d.ts.map +0 -1
  1127. package/_types/accounts/utils/parseAccount.d.ts +0 -6
  1128. package/_types/accounts/utils/parseAccount.d.ts.map +0 -1
  1129. package/_types/accounts/utils/privateKeyToAddress.d.ts +0 -15
  1130. package/_types/accounts/utils/privateKeyToAddress.d.ts.map +0 -1
  1131. package/_types/accounts/utils/publicKeyToAddress.d.ts +0 -15
  1132. package/_types/accounts/utils/publicKeyToAddress.d.ts.map +0 -1
  1133. package/_types/accounts/utils/sign.d.ts +0 -19
  1134. package/_types/accounts/utils/sign.d.ts.map +0 -1
  1135. package/_types/accounts/utils/signMessage.d.ts +0 -21
  1136. package/_types/accounts/utils/signMessage.d.ts.map +0 -1
  1137. package/_types/accounts/utils/signTransaction.d.ts +0 -16
  1138. package/_types/accounts/utils/signTransaction.d.ts.map +0 -1
  1139. package/_types/accounts/utils/signTypedData.d.ts +0 -21
  1140. package/_types/accounts/utils/signTypedData.d.ts.map +0 -1
  1141. package/_types/actions/ens/getEnsAddress.d.ts +0 -54
  1142. package/_types/actions/ens/getEnsAddress.d.ts.map +0 -1
  1143. package/_types/actions/ens/getEnsAvatar.d.ts +0 -44
  1144. package/_types/actions/ens/getEnsAvatar.d.ts.map +0 -1
  1145. package/_types/actions/ens/getEnsName.d.ts +0 -46
  1146. package/_types/actions/ens/getEnsName.d.ts.map +0 -1
  1147. package/_types/actions/ens/getEnsResolver.d.ts +0 -48
  1148. package/_types/actions/ens/getEnsResolver.d.ts.map +0 -1
  1149. package/_types/actions/ens/getEnsText.d.ts +0 -53
  1150. package/_types/actions/ens/getEnsText.d.ts.map +0 -1
  1151. package/_types/actions/getContract.d.ts +0 -357
  1152. package/_types/actions/getContract.d.ts.map +0 -1
  1153. package/_types/actions/index.d.ts +0 -82
  1154. package/_types/actions/index.d.ts.map +0 -1
  1155. package/_types/actions/public/call.d.ts +0 -70
  1156. package/_types/actions/public/call.d.ts.map +0 -1
  1157. package/_types/actions/public/createBlockFilter.d.ts +0 -31
  1158. package/_types/actions/public/createBlockFilter.d.ts.map +0 -1
  1159. package/_types/actions/public/createContractEventFilter.d.ts +0 -55
  1160. package/_types/actions/public/createContractEventFilter.d.ts.map +0 -1
  1161. package/_types/actions/public/createEventFilter.d.ts +0 -81
  1162. package/_types/actions/public/createEventFilter.d.ts.map +0 -1
  1163. package/_types/actions/public/createPendingTransactionFilter.d.ts +0 -31
  1164. package/_types/actions/public/createPendingTransactionFilter.d.ts.map +0 -1
  1165. package/_types/actions/public/estimateContractGas.d.ts +0 -43
  1166. package/_types/actions/public/estimateContractGas.d.ts.map +0 -1
  1167. package/_types/actions/public/estimateFeesPerGas.d.ts +0 -53
  1168. package/_types/actions/public/estimateFeesPerGas.d.ts.map +0 -1
  1169. package/_types/actions/public/estimateGas.d.ts +0 -57
  1170. package/_types/actions/public/estimateGas.d.ts.map +0 -1
  1171. package/_types/actions/public/estimateMaxPriorityFeePerGas.d.ts +0 -44
  1172. package/_types/actions/public/estimateMaxPriorityFeePerGas.d.ts.map +0 -1
  1173. package/_types/actions/public/getBalance.d.ts +0 -59
  1174. package/_types/actions/public/getBalance.d.ts.map +0 -1
  1175. package/_types/actions/public/getBlock.d.ts +0 -61
  1176. package/_types/actions/public/getBlock.d.ts.map +0 -1
  1177. package/_types/actions/public/getBlockNumber.d.ts +0 -58
  1178. package/_types/actions/public/getBlockNumber.d.ts.map +0 -1
  1179. package/_types/actions/public/getBlockTransactionCount.d.ts +0 -52
  1180. package/_types/actions/public/getBlockTransactionCount.d.ts.map +0 -1
  1181. package/_types/actions/public/getBytecode.d.ts +0 -45
  1182. package/_types/actions/public/getBytecode.d.ts.map +0 -1
  1183. package/_types/actions/public/getChainId.d.ts +0 -32
  1184. package/_types/actions/public/getChainId.d.ts.map +0 -1
  1185. package/_types/actions/public/getContractEvents.d.ts +0 -66
  1186. package/_types/actions/public/getContractEvents.d.ts.map +0 -1
  1187. package/_types/actions/public/getFeeHistory.d.ts +0 -57
  1188. package/_types/actions/public/getFeeHistory.d.ts.map +0 -1
  1189. package/_types/actions/public/getFilterChanges.d.ts +0 -101
  1190. package/_types/actions/public/getFilterChanges.d.ts.map +0 -1
  1191. package/_types/actions/public/getFilterLogs.d.ts +0 -45
  1192. package/_types/actions/public/getFilterLogs.d.ts.map +0 -1
  1193. package/_types/actions/public/getGasPrice.d.ts +0 -30
  1194. package/_types/actions/public/getGasPrice.d.ts.map +0 -1
  1195. package/_types/actions/public/getLogs.d.ts +0 -78
  1196. package/_types/actions/public/getLogs.d.ts.map +0 -1
  1197. package/_types/actions/public/getProof.d.ts +0 -57
  1198. package/_types/actions/public/getProof.d.ts.map +0 -1
  1199. package/_types/actions/public/getStorageAt.d.ts +0 -47
  1200. package/_types/actions/public/getStorageAt.d.ts.map +0 -1
  1201. package/_types/actions/public/getTransaction.d.ts +0 -69
  1202. package/_types/actions/public/getTransaction.d.ts.map +0 -1
  1203. package/_types/actions/public/getTransactionConfirmations.d.ts +0 -45
  1204. package/_types/actions/public/getTransactionConfirmations.d.ts.map +0 -1
  1205. package/_types/actions/public/getTransactionCount.d.ts +0 -49
  1206. package/_types/actions/public/getTransactionCount.d.ts.map +0 -1
  1207. package/_types/actions/public/getTransactionReceipt.d.ts +0 -40
  1208. package/_types/actions/public/getTransactionReceipt.d.ts.map +0 -1
  1209. package/_types/actions/public/multicall.d.ts +0 -73
  1210. package/_types/actions/public/multicall.d.ts.map +0 -1
  1211. package/_types/actions/public/readContract.d.ts +0 -46
  1212. package/_types/actions/public/readContract.d.ts.map +0 -1
  1213. package/_types/actions/public/simulateContract.d.ts +0 -67
  1214. package/_types/actions/public/simulateContract.d.ts.map +0 -1
  1215. package/_types/actions/public/uninstallFilter.d.ts +0 -37
  1216. package/_types/actions/public/uninstallFilter.d.ts.map +0 -1
  1217. package/_types/actions/public/verifyHash.d.ts +0 -30
  1218. package/_types/actions/public/verifyHash.d.ts.map +0 -1
  1219. package/_types/actions/public/verifyMessage.d.ts +0 -31
  1220. package/_types/actions/public/verifyMessage.d.ts.map +0 -1
  1221. package/_types/actions/public/verifyTypedData.d.ts +0 -30
  1222. package/_types/actions/public/verifyTypedData.d.ts.map +0 -1
  1223. package/_types/actions/public/waitForTransactionReceipt.d.ts +0 -78
  1224. package/_types/actions/public/waitForTransactionReceipt.d.ts.map +0 -1
  1225. package/_types/actions/public/watchBlockNumber.d.ts +0 -58
  1226. package/_types/actions/public/watchBlockNumber.d.ts.map +0 -1
  1227. package/_types/actions/public/watchBlocks.d.ts +0 -66
  1228. package/_types/actions/public/watchBlocks.d.ts.map +0 -1
  1229. package/_types/actions/public/watchContractEvent.d.ts +0 -64
  1230. package/_types/actions/public/watchContractEvent.d.ts.map +0 -1
  1231. package/_types/actions/public/watchEvent.d.ts +0 -79
  1232. package/_types/actions/public/watchEvent.d.ts.map +0 -1
  1233. package/_types/actions/public/watchPendingTransactions.d.ts +0 -49
  1234. package/_types/actions/public/watchPendingTransactions.d.ts.map +0 -1
  1235. package/_types/actions/test/dropTransaction.d.ts +0 -36
  1236. package/_types/actions/test/dropTransaction.d.ts.map +0 -1
  1237. package/_types/actions/test/dumpState.d.ts +0 -31
  1238. package/_types/actions/test/dumpState.d.ts.map +0 -1
  1239. package/_types/actions/test/getAutomine.d.ts +0 -30
  1240. package/_types/actions/test/getAutomine.d.ts.map +0 -1
  1241. package/_types/actions/test/getTxpoolContent.d.ts +0 -37
  1242. package/_types/actions/test/getTxpoolContent.d.ts.map +0 -1
  1243. package/_types/actions/test/getTxpoolStatus.d.ts +0 -33
  1244. package/_types/actions/test/getTxpoolStatus.d.ts.map +0 -1
  1245. package/_types/actions/test/impersonateAccount.d.ts +0 -36
  1246. package/_types/actions/test/impersonateAccount.d.ts.map +0 -1
  1247. package/_types/actions/test/increaseTime.d.ts +0 -35
  1248. package/_types/actions/test/increaseTime.d.ts.map +0 -1
  1249. package/_types/actions/test/inspectTxpool.d.ts +0 -34
  1250. package/_types/actions/test/inspectTxpool.d.ts.map +0 -1
  1251. package/_types/actions/test/loadState.d.ts +0 -34
  1252. package/_types/actions/test/loadState.d.ts.map +0 -1
  1253. package/_types/actions/test/mine.d.ts +0 -35
  1254. package/_types/actions/test/mine.d.ts.map +0 -1
  1255. package/_types/actions/test/removeBlockTimestampInterval.d.ts +0 -28
  1256. package/_types/actions/test/removeBlockTimestampInterval.d.ts.map +0 -1
  1257. package/_types/actions/test/reset.d.ts +0 -35
  1258. package/_types/actions/test/reset.d.ts.map +0 -1
  1259. package/_types/actions/test/revert.d.ts +0 -34
  1260. package/_types/actions/test/revert.d.ts.map +0 -1
  1261. package/_types/actions/test/sendUnsignedTransaction.d.ts +0 -38
  1262. package/_types/actions/test/sendUnsignedTransaction.d.ts.map +0 -1
  1263. package/_types/actions/test/setAutomine.d.ts +0 -28
  1264. package/_types/actions/test/setAutomine.d.ts.map +0 -1
  1265. package/_types/actions/test/setBalance.d.ts +0 -39
  1266. package/_types/actions/test/setBalance.d.ts.map +0 -1
  1267. package/_types/actions/test/setBlockGasLimit.d.ts +0 -33
  1268. package/_types/actions/test/setBlockGasLimit.d.ts.map +0 -1
  1269. package/_types/actions/test/setBlockTimestampInterval.d.ts +0 -33
  1270. package/_types/actions/test/setBlockTimestampInterval.d.ts.map +0 -1
  1271. package/_types/actions/test/setCode.d.ts +0 -40
  1272. package/_types/actions/test/setCode.d.ts.map +0 -1
  1273. package/_types/actions/test/setCoinbase.d.ts +0 -36
  1274. package/_types/actions/test/setCoinbase.d.ts.map +0 -1
  1275. package/_types/actions/test/setIntervalMining.d.ts +0 -33
  1276. package/_types/actions/test/setIntervalMining.d.ts.map +0 -1
  1277. package/_types/actions/test/setLoggingEnabled.d.ts +0 -28
  1278. package/_types/actions/test/setLoggingEnabled.d.ts.map +0 -1
  1279. package/_types/actions/test/setMinGasPrice.d.ts +0 -37
  1280. package/_types/actions/test/setMinGasPrice.d.ts.map +0 -1
  1281. package/_types/actions/test/setNextBlockBaseFeePerGas.d.ts +0 -35
  1282. package/_types/actions/test/setNextBlockBaseFeePerGas.d.ts.map +0 -1
  1283. package/_types/actions/test/setNextBlockTimestamp.d.ts +0 -33
  1284. package/_types/actions/test/setNextBlockTimestamp.d.ts.map +0 -1
  1285. package/_types/actions/test/setNonce.d.ts +0 -39
  1286. package/_types/actions/test/setNonce.d.ts.map +0 -1
  1287. package/_types/actions/test/setRpcUrl.d.ts +0 -29
  1288. package/_types/actions/test/setRpcUrl.d.ts.map +0 -1
  1289. package/_types/actions/test/setStorageAt.d.ts +0 -43
  1290. package/_types/actions/test/setStorageAt.d.ts.map +0 -1
  1291. package/_types/actions/test/snapshot.d.ts +0 -28
  1292. package/_types/actions/test/snapshot.d.ts.map +0 -1
  1293. package/_types/actions/test/stopImpersonatingAccount.d.ts +0 -36
  1294. package/_types/actions/test/stopImpersonatingAccount.d.ts.map +0 -1
  1295. package/_types/actions/wallet/addChain.d.ts +0 -33
  1296. package/_types/actions/wallet/addChain.d.ts.map +0 -1
  1297. package/_types/actions/wallet/deployContract.d.ts +0 -50
  1298. package/_types/actions/wallet/deployContract.d.ts.map +0 -1
  1299. package/_types/actions/wallet/getAddresses.d.ts +0 -32
  1300. package/_types/actions/wallet/getAddresses.d.ts.map +0 -1
  1301. package/_types/actions/wallet/getPermissions.d.ts +0 -31
  1302. package/_types/actions/wallet/getPermissions.d.ts.map +0 -1
  1303. package/_types/actions/wallet/prepareTransactionRequest.d.ts +0 -72
  1304. package/_types/actions/wallet/prepareTransactionRequest.d.ts.map +0 -1
  1305. package/_types/actions/wallet/requestAddresses.d.ts +0 -35
  1306. package/_types/actions/wallet/requestAddresses.d.ts.map +0 -1
  1307. package/_types/actions/wallet/requestPermissions.d.ts +0 -40
  1308. package/_types/actions/wallet/requestPermissions.d.ts.map +0 -1
  1309. package/_types/actions/wallet/sendRawTransaction.d.ts +0 -41
  1310. package/_types/actions/wallet/sendRawTransaction.d.ts.map +0 -1
  1311. package/_types/actions/wallet/sendTransaction.d.ts +0 -69
  1312. package/_types/actions/wallet/sendTransaction.d.ts.map +0 -1
  1313. package/_types/actions/wallet/signMessage.d.ts +0 -64
  1314. package/_types/actions/wallet/signMessage.d.ts.map +0 -1
  1315. package/_types/actions/wallet/signTransaction.d.ts +0 -64
  1316. package/_types/actions/wallet/signTransaction.d.ts.map +0 -1
  1317. package/_types/actions/wallet/signTypedData.d.ts +0 -119
  1318. package/_types/actions/wallet/signTypedData.d.ts.map +0 -1
  1319. package/_types/actions/wallet/switchChain.d.ts +0 -34
  1320. package/_types/actions/wallet/switchChain.d.ts.map +0 -1
  1321. package/_types/actions/wallet/watchAsset.d.ts +0 -40
  1322. package/_types/actions/wallet/watchAsset.d.ts.map +0 -1
  1323. package/_types/actions/wallet/writeContract.d.ts +0 -71
  1324. package/_types/actions/wallet/writeContract.d.ts.map +0 -1
  1325. package/_types/chains/celo/chainConfig.d.ts +0 -914
  1326. package/_types/chains/celo/chainConfig.d.ts.map +0 -1
  1327. package/_types/chains/celo/formatters.d.ts +0 -911
  1328. package/_types/chains/celo/formatters.d.ts.map +0 -1
  1329. package/_types/chains/celo/index.d.ts +0 -5
  1330. package/_types/chains/celo/index.d.ts.map +0 -1
  1331. package/_types/chains/celo/parsers.d.ts +0 -6
  1332. package/_types/chains/celo/parsers.d.ts.map +0 -1
  1333. package/_types/chains/celo/serializers.d.ts +0 -12
  1334. package/_types/chains/celo/serializers.d.ts.map +0 -1
  1335. package/_types/chains/celo/types.d.ts +0 -138
  1336. package/_types/chains/celo/types.d.ts.map +0 -1
  1337. package/_types/chains/celo/utils.d.ts +0 -7
  1338. package/_types/chains/celo/utils.d.ts.map +0 -1
  1339. package/_types/chains/definitions/arbitrum.d.ts +0 -32
  1340. package/_types/chains/definitions/arbitrum.d.ts.map +0 -1
  1341. package/_types/chains/definitions/arbitrumGoerli.d.ts +0 -36
  1342. package/_types/chains/definitions/arbitrumGoerli.d.ts.map +0 -1
  1343. package/_types/chains/definitions/arbitrumNova.d.ts +0 -32
  1344. package/_types/chains/definitions/arbitrumNova.d.ts.map +0 -1
  1345. package/_types/chains/definitions/arbitrumSepolia.d.ts +0 -32
  1346. package/_types/chains/definitions/arbitrumSepolia.d.ts.map +0 -1
  1347. package/_types/chains/definitions/astar.d.ts +0 -36
  1348. package/_types/chains/definitions/astar.d.ts.map +0 -1
  1349. package/_types/chains/definitions/astarZkatana.d.ts +0 -40
  1350. package/_types/chains/definitions/astarZkatana.d.ts.map +0 -1
  1351. package/_types/chains/definitions/aurora.d.ts +0 -32
  1352. package/_types/chains/definitions/aurora.d.ts.map +0 -1
  1353. package/_types/chains/definitions/auroraTestnet.d.ts +0 -34
  1354. package/_types/chains/definitions/auroraTestnet.d.ts.map +0 -1
  1355. package/_types/chains/definitions/avalanche.d.ts +0 -32
  1356. package/_types/chains/definitions/avalanche.d.ts.map +0 -1
  1357. package/_types/chains/definitions/avalancheFuji.d.ts +0 -32
  1358. package/_types/chains/definitions/avalancheFuji.d.ts.map +0 -1
  1359. package/_types/chains/definitions/base.d.ts +0 -573
  1360. package/_types/chains/definitions/base.d.ts.map +0 -1
  1361. package/_types/chains/definitions/baseGoerli.d.ts +0 -572
  1362. package/_types/chains/definitions/baseGoerli.d.ts.map +0 -1
  1363. package/_types/chains/definitions/baseSepolia.d.ts +0 -577
  1364. package/_types/chains/definitions/baseSepolia.d.ts.map +0 -1
  1365. package/_types/chains/definitions/bearNetworkChainMainnet.d.ts +0 -34
  1366. package/_types/chains/definitions/bearNetworkChainMainnet.d.ts.map +0 -1
  1367. package/_types/chains/definitions/bearNetworkChainTestnet.d.ts +0 -34
  1368. package/_types/chains/definitions/bearNetworkChainTestnet.d.ts.map +0 -1
  1369. package/_types/chains/definitions/boba.d.ts +0 -32
  1370. package/_types/chains/definitions/boba.d.ts.map +0 -1
  1371. package/_types/chains/definitions/bronos.d.ts +0 -34
  1372. package/_types/chains/definitions/bronos.d.ts.map +0 -1
  1373. package/_types/chains/definitions/bronosTestnet.d.ts +0 -34
  1374. package/_types/chains/definitions/bronosTestnet.d.ts.map +0 -1
  1375. package/_types/chains/definitions/bsc.d.ts +0 -32
  1376. package/_types/chains/definitions/bsc.d.ts.map +0 -1
  1377. package/_types/chains/definitions/bscTestnet.d.ts +0 -35
  1378. package/_types/chains/definitions/bscTestnet.d.ts.map +0 -1
  1379. package/_types/chains/definitions/bxn.d.ts +0 -34
  1380. package/_types/chains/definitions/bxn.d.ts.map +0 -1
  1381. package/_types/chains/definitions/bxnTestnet.d.ts +0 -34
  1382. package/_types/chains/definitions/bxnTestnet.d.ts.map +0 -1
  1383. package/_types/chains/definitions/canto.d.ts +0 -32
  1384. package/_types/chains/definitions/canto.d.ts.map +0 -1
  1385. package/_types/chains/definitions/celo.d.ts +0 -941
  1386. package/_types/chains/definitions/celo.d.ts.map +0 -1
  1387. package/_types/chains/definitions/celoAlfajores.d.ts +0 -941
  1388. package/_types/chains/definitions/celoAlfajores.d.ts.map +0 -1
  1389. package/_types/chains/definitions/celoCannoli.d.ts +0 -941
  1390. package/_types/chains/definitions/celoCannoli.d.ts.map +0 -1
  1391. package/_types/chains/definitions/chiliz.d.ts +0 -35
  1392. package/_types/chains/definitions/chiliz.d.ts.map +0 -1
  1393. package/_types/chains/definitions/classic.d.ts +0 -34
  1394. package/_types/chains/definitions/classic.d.ts.map +0 -1
  1395. package/_types/chains/definitions/confluxESpace.d.ts +0 -33
  1396. package/_types/chains/definitions/confluxESpace.d.ts.map +0 -1
  1397. package/_types/chains/definitions/confluxESpaceTestnet.d.ts +0 -38
  1398. package/_types/chains/definitions/confluxESpaceTestnet.d.ts.map +0 -1
  1399. package/_types/chains/definitions/coreDao.d.ts +0 -32
  1400. package/_types/chains/definitions/coreDao.d.ts.map +0 -1
  1401. package/_types/chains/definitions/cronos.d.ts +0 -32
  1402. package/_types/chains/definitions/cronos.d.ts.map +0 -1
  1403. package/_types/chains/definitions/cronosTestnet.d.ts +0 -32
  1404. package/_types/chains/definitions/cronosTestnet.d.ts.map +0 -1
  1405. package/_types/chains/definitions/crossbell.d.ts +0 -32
  1406. package/_types/chains/definitions/crossbell.d.ts.map +0 -1
  1407. package/_types/chains/definitions/dfk.d.ts +0 -34
  1408. package/_types/chains/definitions/dfk.d.ts.map +0 -1
  1409. package/_types/chains/definitions/dogechain.d.ts +0 -34
  1410. package/_types/chains/definitions/dogechain.d.ts.map +0 -1
  1411. package/_types/chains/definitions/edgeware.d.ts +0 -32
  1412. package/_types/chains/definitions/edgeware.d.ts.map +0 -1
  1413. package/_types/chains/definitions/edgewareTestnet.d.ts +0 -34
  1414. package/_types/chains/definitions/edgewareTestnet.d.ts.map +0 -1
  1415. package/_types/chains/definitions/ekta.d.ts +0 -34
  1416. package/_types/chains/definitions/ekta.d.ts.map +0 -1
  1417. package/_types/chains/definitions/ektaTestnet.d.ts +0 -34
  1418. package/_types/chains/definitions/ektaTestnet.d.ts.map +0 -1
  1419. package/_types/chains/definitions/eon.d.ts +0 -27
  1420. package/_types/chains/definitions/eon.d.ts.map +0 -1
  1421. package/_types/chains/definitions/eos.d.ts +0 -32
  1422. package/_types/chains/definitions/eos.d.ts.map +0 -1
  1423. package/_types/chains/definitions/eosTestnet.d.ts +0 -32
  1424. package/_types/chains/definitions/eosTestnet.d.ts.map +0 -1
  1425. package/_types/chains/definitions/evmos.d.ts +0 -34
  1426. package/_types/chains/definitions/evmos.d.ts.map +0 -1
  1427. package/_types/chains/definitions/evmosTestnet.d.ts +0 -34
  1428. package/_types/chains/definitions/evmosTestnet.d.ts.map +0 -1
  1429. package/_types/chains/definitions/fantom.d.ts +0 -32
  1430. package/_types/chains/definitions/fantom.d.ts.map +0 -1
  1431. package/_types/chains/definitions/fantomTestnet.d.ts +0 -32
  1432. package/_types/chains/definitions/fantomTestnet.d.ts.map +0 -1
  1433. package/_types/chains/definitions/fibo.d.ts +0 -34
  1434. package/_types/chains/definitions/fibo.d.ts.map +0 -1
  1435. package/_types/chains/definitions/filecoin.d.ts +0 -32
  1436. package/_types/chains/definitions/filecoin.d.ts.map +0 -1
  1437. package/_types/chains/definitions/filecoinCalibration.d.ts +0 -34
  1438. package/_types/chains/definitions/filecoinCalibration.d.ts.map +0 -1
  1439. package/_types/chains/definitions/filecoinHyperspace.d.ts +0 -34
  1440. package/_types/chains/definitions/filecoinHyperspace.d.ts.map +0 -1
  1441. package/_types/chains/definitions/flare.d.ts +0 -34
  1442. package/_types/chains/definitions/flare.d.ts.map +0 -1
  1443. package/_types/chains/definitions/flareTestnet.d.ts +0 -34
  1444. package/_types/chains/definitions/flareTestnet.d.ts.map +0 -1
  1445. package/_types/chains/definitions/foundry.d.ts +0 -39
  1446. package/_types/chains/definitions/foundry.d.ts.map +0 -1
  1447. package/_types/chains/definitions/fuse.d.ts +0 -32
  1448. package/_types/chains/definitions/fuse.d.ts.map +0 -1
  1449. package/_types/chains/definitions/fuseSparknet.d.ts +0 -34
  1450. package/_types/chains/definitions/fuseSparknet.d.ts.map +0 -1
  1451. package/_types/chains/definitions/gnosis.d.ts +0 -33
  1452. package/_types/chains/definitions/gnosis.d.ts.map +0 -1
  1453. package/_types/chains/definitions/gnosisChiado.d.ts +0 -33
  1454. package/_types/chains/definitions/gnosisChiado.d.ts.map +0 -1
  1455. package/_types/chains/definitions/gobi.d.ts +0 -27
  1456. package/_types/chains/definitions/gobi.d.ts.map +0 -1
  1457. package/_types/chains/definitions/goerli.d.ts +0 -39
  1458. package/_types/chains/definitions/goerli.d.ts.map +0 -1
  1459. package/_types/chains/definitions/haqqMainnet.d.ts +0 -34
  1460. package/_types/chains/definitions/haqqMainnet.d.ts.map +0 -1
  1461. package/_types/chains/definitions/haqqTestedge2.d.ts +0 -34
  1462. package/_types/chains/definitions/haqqTestedge2.d.ts.map +0 -1
  1463. package/_types/chains/definitions/hardhat.d.ts +0 -38
  1464. package/_types/chains/definitions/hardhat.d.ts.map +0 -1
  1465. package/_types/chains/definitions/harmonyOne.d.ts +0 -32
  1466. package/_types/chains/definitions/harmonyOne.d.ts.map +0 -1
  1467. package/_types/chains/definitions/holesky.d.ts +0 -36
  1468. package/_types/chains/definitions/holesky.d.ts.map +0 -1
  1469. package/_types/chains/definitions/iotex.d.ts +0 -35
  1470. package/_types/chains/definitions/iotex.d.ts.map +0 -1
  1471. package/_types/chains/definitions/iotexTestnet.d.ts +0 -35
  1472. package/_types/chains/definitions/iotexTestnet.d.ts.map +0 -1
  1473. package/_types/chains/definitions/kava.d.ts +0 -36
  1474. package/_types/chains/definitions/kava.d.ts.map +0 -1
  1475. package/_types/chains/definitions/kavaTestnet.d.ts +0 -36
  1476. package/_types/chains/definitions/kavaTestnet.d.ts.map +0 -1
  1477. package/_types/chains/definitions/klaytn.d.ts +0 -32
  1478. package/_types/chains/definitions/klaytn.d.ts.map +0 -1
  1479. package/_types/chains/definitions/klaytnBaobab.d.ts +0 -40
  1480. package/_types/chains/definitions/klaytnBaobab.d.ts.map +0 -1
  1481. package/_types/chains/definitions/kroma.d.ts +0 -34
  1482. package/_types/chains/definitions/kroma.d.ts.map +0 -1
  1483. package/_types/chains/definitions/kromaSepolia.d.ts +0 -34
  1484. package/_types/chains/definitions/kromaSepolia.d.ts.map +0 -1
  1485. package/_types/chains/definitions/linea.d.ts +0 -33
  1486. package/_types/chains/definitions/linea.d.ts.map +0 -1
  1487. package/_types/chains/definitions/lineaTestnet.d.ts +0 -33
  1488. package/_types/chains/definitions/lineaTestnet.d.ts.map +0 -1
  1489. package/_types/chains/definitions/localhost.d.ts +0 -38
  1490. package/_types/chains/definitions/localhost.d.ts.map +0 -1
  1491. package/_types/chains/definitions/lukso.d.ts +0 -40
  1492. package/_types/chains/definitions/lukso.d.ts.map +0 -1
  1493. package/_types/chains/definitions/mainnet.d.ts +0 -39
  1494. package/_types/chains/definitions/mainnet.d.ts.map +0 -1
  1495. package/_types/chains/definitions/manta.d.ts +0 -40
  1496. package/_types/chains/definitions/manta.d.ts.map +0 -1
  1497. package/_types/chains/definitions/mantaTestnet.d.ts +0 -40
  1498. package/_types/chains/definitions/mantaTestnet.d.ts.map +0 -1
  1499. package/_types/chains/definitions/mantle.d.ts +0 -32
  1500. package/_types/chains/definitions/mantle.d.ts.map +0 -1
  1501. package/_types/chains/definitions/mantleTestnet.d.ts +0 -34
  1502. package/_types/chains/definitions/mantleTestnet.d.ts.map +0 -1
  1503. package/_types/chains/definitions/meter.d.ts +0 -34
  1504. package/_types/chains/definitions/meter.d.ts.map +0 -1
  1505. package/_types/chains/definitions/meterTestnet.d.ts +0 -34
  1506. package/_types/chains/definitions/meterTestnet.d.ts.map +0 -1
  1507. package/_types/chains/definitions/metis.d.ts +0 -32
  1508. package/_types/chains/definitions/metis.d.ts.map +0 -1
  1509. package/_types/chains/definitions/metisGoerli.d.ts +0 -32
  1510. package/_types/chains/definitions/metisGoerli.d.ts.map +0 -1
  1511. package/_types/chains/definitions/mev.d.ts +0 -32
  1512. package/_types/chains/definitions/mev.d.ts.map +0 -1
  1513. package/_types/chains/definitions/mevTestnet.d.ts +0 -32
  1514. package/_types/chains/definitions/mevTestnet.d.ts.map +0 -1
  1515. package/_types/chains/definitions/modeTestnet.d.ts +0 -32
  1516. package/_types/chains/definitions/modeTestnet.d.ts.map +0 -1
  1517. package/_types/chains/definitions/moonbaseAlpha.d.ts +0 -33
  1518. package/_types/chains/definitions/moonbaseAlpha.d.ts.map +0 -1
  1519. package/_types/chains/definitions/moonbeam.d.ts +0 -33
  1520. package/_types/chains/definitions/moonbeam.d.ts.map +0 -1
  1521. package/_types/chains/definitions/moonbeamDev.d.ts +0 -39
  1522. package/_types/chains/definitions/moonbeamDev.d.ts.map +0 -1
  1523. package/_types/chains/definitions/moonriver.d.ts +0 -33
  1524. package/_types/chains/definitions/moonriver.d.ts.map +0 -1
  1525. package/_types/chains/definitions/neonDevnet.d.ts +0 -32
  1526. package/_types/chains/definitions/neonDevnet.d.ts.map +0 -1
  1527. package/_types/chains/definitions/neonMainnet.d.ts +0 -31
  1528. package/_types/chains/definitions/neonMainnet.d.ts.map +0 -1
  1529. package/_types/chains/definitions/nexi.d.ts +0 -32
  1530. package/_types/chains/definitions/nexi.d.ts.map +0 -1
  1531. package/_types/chains/definitions/nexilix.d.ts +0 -32
  1532. package/_types/chains/definitions/nexilix.d.ts.map +0 -1
  1533. package/_types/chains/definitions/oasys.d.ts +0 -34
  1534. package/_types/chains/definitions/oasys.d.ts.map +0 -1
  1535. package/_types/chains/definitions/okc.d.ts +0 -32
  1536. package/_types/chains/definitions/okc.d.ts.map +0 -1
  1537. package/_types/chains/definitions/opBNB.d.ts +0 -32
  1538. package/_types/chains/definitions/opBNB.d.ts.map +0 -1
  1539. package/_types/chains/definitions/opBNBTestnet.d.ts +0 -32
  1540. package/_types/chains/definitions/opBNBTestnet.d.ts.map +0 -1
  1541. package/_types/chains/definitions/optimism.d.ts +0 -572
  1542. package/_types/chains/definitions/optimism.d.ts.map +0 -1
  1543. package/_types/chains/definitions/optimismGoerli.d.ts +0 -572
  1544. package/_types/chains/definitions/optimismGoerli.d.ts.map +0 -1
  1545. package/_types/chains/definitions/optimismSepolia.d.ts +0 -572
  1546. package/_types/chains/definitions/optimismSepolia.d.ts.map +0 -1
  1547. package/_types/chains/definitions/pgn.d.ts +0 -555
  1548. package/_types/chains/definitions/pgn.d.ts.map +0 -1
  1549. package/_types/chains/definitions/pgnTestnet.d.ts +0 -555
  1550. package/_types/chains/definitions/pgnTestnet.d.ts.map +0 -1
  1551. package/_types/chains/definitions/plinga.d.ts +0 -32
  1552. package/_types/chains/definitions/plinga.d.ts.map +0 -1
  1553. package/_types/chains/definitions/polygon.d.ts +0 -32
  1554. package/_types/chains/definitions/polygon.d.ts.map +0 -1
  1555. package/_types/chains/definitions/polygonMumbai.d.ts +0 -32
  1556. package/_types/chains/definitions/polygonMumbai.d.ts.map +0 -1
  1557. package/_types/chains/definitions/polygonZkEvm.d.ts +0 -32
  1558. package/_types/chains/definitions/polygonZkEvm.d.ts.map +0 -1
  1559. package/_types/chains/definitions/polygonZkEvmTestnet.d.ts +0 -32
  1560. package/_types/chains/definitions/polygonZkEvmTestnet.d.ts.map +0 -1
  1561. package/_types/chains/definitions/pulsechain.d.ts +0 -36
  1562. package/_types/chains/definitions/pulsechain.d.ts.map +0 -1
  1563. package/_types/chains/definitions/pulsechainV4.d.ts +0 -36
  1564. package/_types/chains/definitions/pulsechainV4.d.ts.map +0 -1
  1565. package/_types/chains/definitions/qMainnet.d.ts +0 -34
  1566. package/_types/chains/definitions/qMainnet.d.ts.map +0 -1
  1567. package/_types/chains/definitions/qTestnet.d.ts +0 -34
  1568. package/_types/chains/definitions/qTestnet.d.ts.map +0 -1
  1569. package/_types/chains/definitions/rollux.d.ts +0 -33
  1570. package/_types/chains/definitions/rollux.d.ts.map +0 -1
  1571. package/_types/chains/definitions/rolluxTestnet.d.ts +0 -33
  1572. package/_types/chains/definitions/rolluxTestnet.d.ts.map +0 -1
  1573. package/_types/chains/definitions/ronin.d.ts +0 -32
  1574. package/_types/chains/definitions/ronin.d.ts.map +0 -1
  1575. package/_types/chains/definitions/rootstock.d.ts +0 -40
  1576. package/_types/chains/definitions/rootstock.d.ts.map +0 -1
  1577. package/_types/chains/definitions/saigon.d.ts +0 -32
  1578. package/_types/chains/definitions/saigon.d.ts.map +0 -1
  1579. package/_types/chains/definitions/sapphire.d.ts +0 -38
  1580. package/_types/chains/definitions/sapphire.d.ts.map +0 -1
  1581. package/_types/chains/definitions/sapphireTestnet.d.ts +0 -40
  1582. package/_types/chains/definitions/sapphireTestnet.d.ts.map +0 -1
  1583. package/_types/chains/definitions/scroll.d.ts +0 -33
  1584. package/_types/chains/definitions/scroll.d.ts.map +0 -1
  1585. package/_types/chains/definitions/scrollSepolia.d.ts +0 -32
  1586. package/_types/chains/definitions/scrollSepolia.d.ts.map +0 -1
  1587. package/_types/chains/definitions/scrollTestnet.d.ts +0 -35
  1588. package/_types/chains/definitions/scrollTestnet.d.ts.map +0 -1
  1589. package/_types/chains/definitions/sepolia.d.ts +0 -39
  1590. package/_types/chains/definitions/sepolia.d.ts.map +0 -1
  1591. package/_types/chains/definitions/shardeumSphinx.d.ts +0 -34
  1592. package/_types/chains/definitions/shardeumSphinx.d.ts.map +0 -1
  1593. package/_types/chains/definitions/shibarium.d.ts +0 -40
  1594. package/_types/chains/definitions/shibarium.d.ts.map +0 -1
  1595. package/_types/chains/definitions/shimmer.d.ts +0 -38
  1596. package/_types/chains/definitions/shimmer.d.ts.map +0 -1
  1597. package/_types/chains/definitions/shimmerTestnet.d.ts +0 -38
  1598. package/_types/chains/definitions/shimmerTestnet.d.ts.map +0 -1
  1599. package/_types/chains/definitions/skale/brawl.d.ts +0 -28
  1600. package/_types/chains/definitions/skale/brawl.d.ts.map +0 -1
  1601. package/_types/chains/definitions/skale/calypso.d.ts +0 -33
  1602. package/_types/chains/definitions/skale/calypso.d.ts.map +0 -1
  1603. package/_types/chains/definitions/skale/calypsoTestnet.d.ts +0 -33
  1604. package/_types/chains/definitions/skale/calypsoTestnet.d.ts.map +0 -1
  1605. package/_types/chains/definitions/skale/chaosTestnet.d.ts +0 -33
  1606. package/_types/chains/definitions/skale/chaosTestnet.d.ts.map +0 -1
  1607. package/_types/chains/definitions/skale/cryptoBlades.d.ts +0 -28
  1608. package/_types/chains/definitions/skale/cryptoBlades.d.ts.map +0 -1
  1609. package/_types/chains/definitions/skale/cryptoColosseum.d.ts +0 -28
  1610. package/_types/chains/definitions/skale/cryptoColosseum.d.ts.map +0 -1
  1611. package/_types/chains/definitions/skale/europa.d.ts +0 -33
  1612. package/_types/chains/definitions/skale/europa.d.ts.map +0 -1
  1613. package/_types/chains/definitions/skale/europaTestnet.d.ts +0 -33
  1614. package/_types/chains/definitions/skale/europaTestnet.d.ts.map +0 -1
  1615. package/_types/chains/definitions/skale/exorde.d.ts +0 -28
  1616. package/_types/chains/definitions/skale/exorde.d.ts.map +0 -1
  1617. package/_types/chains/definitions/skale/humanProtocol.d.ts +0 -28
  1618. package/_types/chains/definitions/skale/humanProtocol.d.ts.map +0 -1
  1619. package/_types/chains/definitions/skale/nebula.d.ts +0 -33
  1620. package/_types/chains/definitions/skale/nebula.d.ts.map +0 -1
  1621. package/_types/chains/definitions/skale/nebulaTestnet.d.ts +0 -33
  1622. package/_types/chains/definitions/skale/nebulaTestnet.d.ts.map +0 -1
  1623. package/_types/chains/definitions/skale/razor.d.ts +0 -28
  1624. package/_types/chains/definitions/skale/razor.d.ts.map +0 -1
  1625. package/_types/chains/definitions/skale/titan.d.ts +0 -33
  1626. package/_types/chains/definitions/skale/titan.d.ts.map +0 -1
  1627. package/_types/chains/definitions/skale/titanTestnet.d.ts +0 -33
  1628. package/_types/chains/definitions/skale/titanTestnet.d.ts.map +0 -1
  1629. package/_types/chains/definitions/songbird.d.ts +0 -34
  1630. package/_types/chains/definitions/songbird.d.ts.map +0 -1
  1631. package/_types/chains/definitions/songbirdTestnet.d.ts +0 -34
  1632. package/_types/chains/definitions/songbirdTestnet.d.ts.map +0 -1
  1633. package/_types/chains/definitions/spicy.d.ts +0 -36
  1634. package/_types/chains/definitions/spicy.d.ts.map +0 -1
  1635. package/_types/chains/definitions/syscoin.d.ts +0 -33
  1636. package/_types/chains/definitions/syscoin.d.ts.map +0 -1
  1637. package/_types/chains/definitions/syscoinTestnet.d.ts +0 -33
  1638. package/_types/chains/definitions/syscoinTestnet.d.ts.map +0 -1
  1639. package/_types/chains/definitions/taikoJolnir.d.ts +0 -34
  1640. package/_types/chains/definitions/taikoJolnir.d.ts.map +0 -1
  1641. package/_types/chains/definitions/taikoTestnetSepolia.d.ts +0 -34
  1642. package/_types/chains/definitions/taikoTestnetSepolia.d.ts.map +0 -1
  1643. package/_types/chains/definitions/taraxa.d.ts +0 -34
  1644. package/_types/chains/definitions/taraxa.d.ts.map +0 -1
  1645. package/_types/chains/definitions/taraxaTestnet.d.ts +0 -34
  1646. package/_types/chains/definitions/taraxaTestnet.d.ts.map +0 -1
  1647. package/_types/chains/definitions/telos.d.ts +0 -32
  1648. package/_types/chains/definitions/telos.d.ts.map +0 -1
  1649. package/_types/chains/definitions/telosTestnet.d.ts +0 -34
  1650. package/_types/chains/definitions/telosTestnet.d.ts.map +0 -1
  1651. package/_types/chains/definitions/tenet.d.ts +0 -38
  1652. package/_types/chains/definitions/tenet.d.ts.map +0 -1
  1653. package/_types/chains/definitions/thunderTestnet.d.ts +0 -34
  1654. package/_types/chains/definitions/thunderTestnet.d.ts.map +0 -1
  1655. package/_types/chains/definitions/vechain.d.ts +0 -38
  1656. package/_types/chains/definitions/vechain.d.ts.map +0 -1
  1657. package/_types/chains/definitions/wanchain.d.ts +0 -32
  1658. package/_types/chains/definitions/wanchain.d.ts.map +0 -1
  1659. package/_types/chains/definitions/wanchainTestnet.d.ts +0 -32
  1660. package/_types/chains/definitions/wanchainTestnet.d.ts.map +0 -1
  1661. package/_types/chains/definitions/xdc.d.ts +0 -38
  1662. package/_types/chains/definitions/xdc.d.ts.map +0 -1
  1663. package/_types/chains/definitions/xdcTestnet.d.ts +0 -38
  1664. package/_types/chains/definitions/xdcTestnet.d.ts.map +0 -1
  1665. package/_types/chains/definitions/zetachainAthensTestnet.d.ts +0 -34
  1666. package/_types/chains/definitions/zetachainAthensTestnet.d.ts.map +0 -1
  1667. package/_types/chains/definitions/zhejiang.d.ts +0 -34
  1668. package/_types/chains/definitions/zhejiang.d.ts.map +0 -1
  1669. package/_types/chains/definitions/zkSync.d.ts +0 -529
  1670. package/_types/chains/definitions/zkSync.d.ts.map +0 -1
  1671. package/_types/chains/definitions/zkSyncTestnet.d.ts +0 -529
  1672. package/_types/chains/definitions/zkSyncTestnet.d.ts.map +0 -1
  1673. package/_types/chains/definitions/zora.d.ts +0 -573
  1674. package/_types/chains/definitions/zora.d.ts.map +0 -1
  1675. package/_types/chains/definitions/zoraSepolia.d.ts +0 -578
  1676. package/_types/chains/definitions/zoraSepolia.d.ts.map +0 -1
  1677. package/_types/chains/definitions/zoraTestnet.d.ts +0 -573
  1678. package/_types/chains/definitions/zoraTestnet.d.ts.map +0 -1
  1679. package/_types/chains/index.d.ts +0 -174
  1680. package/_types/chains/index.d.ts.map +0 -1
  1681. package/_types/chains/opStack/abis.d.ts +0 -549
  1682. package/_types/chains/opStack/abis.d.ts.map +0 -1
  1683. package/_types/chains/opStack/actions/buildDepositTransaction.d.ts +0 -63
  1684. package/_types/chains/opStack/actions/buildDepositTransaction.d.ts.map +0 -1
  1685. package/_types/chains/opStack/actions/depositTransaction.d.ts +0 -96
  1686. package/_types/chains/opStack/actions/depositTransaction.d.ts.map +0 -1
  1687. package/_types/chains/opStack/actions/estimateContractL1Fee.d.ts +0 -39
  1688. package/_types/chains/opStack/actions/estimateContractL1Fee.d.ts.map +0 -1
  1689. package/_types/chains/opStack/actions/estimateContractL1Gas.d.ts +0 -39
  1690. package/_types/chains/opStack/actions/estimateContractL1Gas.d.ts.map +0 -1
  1691. package/_types/chains/opStack/actions/estimateContractTotalFee.d.ts +0 -39
  1692. package/_types/chains/opStack/actions/estimateContractTotalFee.d.ts.map +0 -1
  1693. package/_types/chains/opStack/actions/estimateContractTotalGas.d.ts +0 -39
  1694. package/_types/chains/opStack/actions/estimateContractTotalGas.d.ts.map +0 -1
  1695. package/_types/chains/opStack/actions/estimateL1Fee.d.ts +0 -43
  1696. package/_types/chains/opStack/actions/estimateL1Fee.d.ts.map +0 -1
  1697. package/_types/chains/opStack/actions/estimateL1Gas.d.ts +0 -43
  1698. package/_types/chains/opStack/actions/estimateL1Gas.d.ts.map +0 -1
  1699. package/_types/chains/opStack/actions/estimateTotalFee.d.ts +0 -37
  1700. package/_types/chains/opStack/actions/estimateTotalFee.d.ts.map +0 -1
  1701. package/_types/chains/opStack/actions/estimateTotalGas.d.ts +0 -36
  1702. package/_types/chains/opStack/actions/estimateTotalGas.d.ts.map +0 -1
  1703. package/_types/chains/opStack/chainConfig.d.ts +0 -542
  1704. package/_types/chains/opStack/chainConfig.d.ts.map +0 -1
  1705. package/_types/chains/opStack/chains.d.ts +0 -10
  1706. package/_types/chains/opStack/chains.d.ts.map +0 -1
  1707. package/_types/chains/opStack/contracts.d.ts +0 -21
  1708. package/_types/chains/opStack/contracts.d.ts.map +0 -1
  1709. package/_types/chains/opStack/decorators/publicL2.d.ts +0 -241
  1710. package/_types/chains/opStack/decorators/publicL2.d.ts.map +0 -1
  1711. package/_types/chains/opStack/decorators/walletL1.d.ts +0 -64
  1712. package/_types/chains/opStack/decorators/walletL1.d.ts.map +0 -1
  1713. package/_types/chains/opStack/formatters.d.ts +0 -520
  1714. package/_types/chains/opStack/formatters.d.ts.map +0 -1
  1715. package/_types/chains/opStack/index.d.ts +0 -24
  1716. package/_types/chains/opStack/index.d.ts.map +0 -1
  1717. package/_types/chains/opStack/parsers.d.ts +0 -8
  1718. package/_types/chains/opStack/parsers.d.ts.map +0 -1
  1719. package/_types/chains/opStack/serializers.d.ts +0 -12
  1720. package/_types/chains/opStack/serializers.d.ts.map +0 -1
  1721. package/_types/chains/opStack/types/block.d.ts +0 -13
  1722. package/_types/chains/opStack/types/block.d.ts.map +0 -1
  1723. package/_types/chains/opStack/types/chain.d.ts +0 -9
  1724. package/_types/chains/opStack/types/chain.d.ts.map +0 -1
  1725. package/_types/chains/opStack/types/contract.d.ts +0 -13
  1726. package/_types/chains/opStack/types/contract.d.ts.map +0 -1
  1727. package/_types/chains/opStack/types/transaction.d.ts +0 -60
  1728. package/_types/chains/opStack/types/transaction.d.ts.map +0 -1
  1729. package/_types/chains/opStack/utils/extractTransactionDepositedLogs.d.ts +0 -446
  1730. package/_types/chains/opStack/utils/extractTransactionDepositedLogs.d.ts.map +0 -1
  1731. package/_types/chains/opStack/utils/fromOpaqueData.d.ts +0 -15
  1732. package/_types/chains/opStack/utils/fromOpaqueData.d.ts.map +0 -1
  1733. package/_types/chains/opStack/utils/getL2TransactionHash.d.ts +0 -12
  1734. package/_types/chains/opStack/utils/getL2TransactionHash.d.ts.map +0 -1
  1735. package/_types/chains/opStack/utils/getL2TransactionHashes.d.ts +0 -11
  1736. package/_types/chains/opStack/utils/getL2TransactionHashes.d.ts.map +0 -1
  1737. package/_types/chains/opStack/utils/getSourceHash.d.ts +0 -28
  1738. package/_types/chains/opStack/utils/getSourceHash.d.ts.map +0 -1
  1739. package/_types/chains/utils.d.ts +0 -5
  1740. package/_types/chains/utils.d.ts.map +0 -1
  1741. package/_types/chains/zksync/chainConfig.d.ts +0 -501
  1742. package/_types/chains/zksync/chainConfig.d.ts.map +0 -1
  1743. package/_types/chains/zksync/formatters.d.ts +0 -498
  1744. package/_types/chains/zksync/formatters.d.ts.map +0 -1
  1745. package/_types/chains/zksync/index.d.ts +0 -4
  1746. package/_types/chains/zksync/index.d.ts.map +0 -1
  1747. package/_types/chains/zksync/serializers.d.ts +0 -9
  1748. package/_types/chains/zksync/serializers.d.ts.map +0 -1
  1749. package/_types/chains/zksync/types.d.ts +0 -158
  1750. package/_types/chains/zksync/types.d.ts.map +0 -1
  1751. package/_types/clients/createClient.d.ts +0 -86
  1752. package/_types/clients/createClient.d.ts.map +0 -1
  1753. package/_types/clients/createPublicClient.d.ts +0 -31
  1754. package/_types/clients/createPublicClient.d.ts.map +0 -1
  1755. package/_types/clients/createTestClient.d.ts +0 -45
  1756. package/_types/clients/createTestClient.d.ts.map +0 -1
  1757. package/_types/clients/createWalletClient.d.ts +0 -51
  1758. package/_types/clients/createWalletClient.d.ts.map +0 -1
  1759. package/_types/clients/decorators/public.d.ts +0 -1252
  1760. package/_types/clients/decorators/public.d.ts.map +0 -1
  1761. package/_types/clients/decorators/test.d.ts +0 -640
  1762. package/_types/clients/decorators/test.d.ts.map +0 -1
  1763. package/_types/clients/decorators/wallet.d.ts +0 -561
  1764. package/_types/clients/decorators/wallet.d.ts.map +0 -1
  1765. package/_types/clients/transports/createTransport.d.ts +0 -36
  1766. package/_types/clients/transports/createTransport.d.ts.map +0 -1
  1767. package/_types/clients/transports/custom.d.ts +0 -23
  1768. package/_types/clients/transports/custom.d.ts.map +0 -1
  1769. package/_types/clients/transports/fallback.d.ts +0 -77
  1770. package/_types/clients/transports/fallback.d.ts.map +0 -1
  1771. package/_types/clients/transports/http.d.ts +0 -44
  1772. package/_types/clients/transports/http.d.ts.map +0 -1
  1773. package/_types/clients/transports/webSocket.d.ts +0 -47
  1774. package/_types/clients/transports/webSocket.d.ts.map +0 -1
  1775. package/_types/constants/abis.d.ts +0 -1035
  1776. package/_types/constants/abis.d.ts.map +0 -1
  1777. package/_types/constants/address.d.ts +0 -2
  1778. package/_types/constants/address.d.ts.map +0 -1
  1779. package/_types/constants/bytes.d.ts +0 -2
  1780. package/_types/constants/bytes.d.ts.map +0 -1
  1781. package/_types/constants/contract.d.ts +0 -2
  1782. package/_types/constants/contract.d.ts.map +0 -1
  1783. package/_types/constants/contracts.d.ts +0 -2
  1784. package/_types/constants/contracts.d.ts.map +0 -1
  1785. package/_types/constants/number.d.ts +0 -97
  1786. package/_types/constants/number.d.ts.map +0 -1
  1787. package/_types/constants/solidity.d.ts +0 -15
  1788. package/_types/constants/solidity.d.ts.map +0 -1
  1789. package/_types/constants/strings.d.ts +0 -2
  1790. package/_types/constants/strings.d.ts.map +0 -1
  1791. package/_types/constants/unit.d.ts +0 -13
  1792. package/_types/constants/unit.d.ts.map +0 -1
  1793. package/_types/ens/index.d.ts +0 -9
  1794. package/_types/ens/index.d.ts.map +0 -1
  1795. package/_types/errors/abi.d.ts +0 -244
  1796. package/_types/errors/abi.d.ts.map +0 -1
  1797. package/_types/errors/account.d.ts +0 -11
  1798. package/_types/errors/account.d.ts.map +0 -1
  1799. package/_types/errors/address.d.ts +0 -11
  1800. package/_types/errors/address.d.ts.map +0 -1
  1801. package/_types/errors/base.d.ts +0 -27
  1802. package/_types/errors/base.d.ts.map +0 -1
  1803. package/_types/errors/block.d.ts +0 -13
  1804. package/_types/errors/block.d.ts.map +0 -1
  1805. package/_types/errors/ccip.d.ts +0 -38
  1806. package/_types/errors/ccip.d.ts.map +0 -1
  1807. package/_types/errors/chain.d.ts +0 -50
  1808. package/_types/errors/chain.d.ts.map +0 -1
  1809. package/_types/errors/contract.d.ts +0 -79
  1810. package/_types/errors/contract.d.ts.map +0 -1
  1811. package/_types/errors/cursor.d.ts +0 -21
  1812. package/_types/errors/cursor.d.ts.map +0 -1
  1813. package/_types/errors/data.d.ts +0 -24
  1814. package/_types/errors/data.d.ts.map +0 -1
  1815. package/_types/errors/encoding.d.ts +0 -47
  1816. package/_types/errors/encoding.d.ts.map +0 -1
  1817. package/_types/errors/ens.d.ts +0 -38
  1818. package/_types/errors/ens.d.ts.map +0 -1
  1819. package/_types/errors/estimateGas.d.ts +0 -17
  1820. package/_types/errors/estimateGas.d.ts.map +0 -1
  1821. package/_types/errors/fee.d.ts +0 -25
  1822. package/_types/errors/fee.d.ts.map +0 -1
  1823. package/_types/errors/log.d.ts +0 -9
  1824. package/_types/errors/log.d.ts.map +0 -1
  1825. package/_types/errors/node.d.ts +0 -142
  1826. package/_types/errors/node.d.ts.map +0 -1
  1827. package/_types/errors/request.d.ts +0 -73
  1828. package/_types/errors/request.d.ts.map +0 -1
  1829. package/_types/errors/rpc.d.ts +0 -302
  1830. package/_types/errors/rpc.d.ts.map +0 -1
  1831. package/_types/errors/transaction.d.ts +0 -109
  1832. package/_types/errors/transaction.d.ts.map +0 -1
  1833. package/_types/errors/transport.d.ts +0 -8
  1834. package/_types/errors/transport.d.ts.map +0 -1
  1835. package/_types/errors/utils.d.ts +0 -8
  1836. package/_types/errors/utils.d.ts.map +0 -1
  1837. package/_types/errors/version.d.ts +0 -2
  1838. package/_types/errors/version.d.ts.map +0 -1
  1839. package/_types/index.d.ts +0 -210
  1840. package/_types/index.d.ts.map +0 -1
  1841. package/_types/types/account.d.ts +0 -15
  1842. package/_types/types/account.d.ts.map +0 -1
  1843. package/_types/types/block.d.ts +0 -67
  1844. package/_types/types/block.d.ts.map +0 -1
  1845. package/_types/types/chain.d.ts +0 -159
  1846. package/_types/types/chain.d.ts.map +0 -1
  1847. package/_types/types/contract.d.ts +0 -118
  1848. package/_types/types/contract.d.ts.map +0 -1
  1849. package/_types/types/eip1193.d.ts +0 -1271
  1850. package/_types/types/eip1193.d.ts.map +0 -1
  1851. package/_types/types/ens.d.ts +0 -5
  1852. package/_types/types/ens.d.ts.map +0 -1
  1853. package/_types/types/fee.d.ts +0 -30
  1854. package/_types/types/fee.d.ts.map +0 -1
  1855. package/_types/types/filter.d.ts +0 -40
  1856. package/_types/types/filter.d.ts.map +0 -1
  1857. package/_types/types/log.d.ts +0 -55
  1858. package/_types/types/log.d.ts.map +0 -1
  1859. package/_types/types/misc.d.ts +0 -18
  1860. package/_types/types/misc.d.ts.map +0 -1
  1861. package/_types/types/multicall.d.ts +0 -58
  1862. package/_types/types/multicall.d.ts.map +0 -1
  1863. package/_types/types/proof.d.ts +0 -18
  1864. package/_types/types/proof.d.ts.map +0 -1
  1865. package/_types/types/rpc.d.ts +0 -22
  1866. package/_types/types/rpc.d.ts.map +0 -1
  1867. package/_types/types/transaction.d.ts +0 -156
  1868. package/_types/types/transaction.d.ts.map +0 -1
  1869. package/_types/types/transport.d.ts +0 -24
  1870. package/_types/types/transport.d.ts.map +0 -1
  1871. package/_types/types/typedData.d.ts +0 -25
  1872. package/_types/types/typedData.d.ts.map +0 -1
  1873. package/_types/types/utils.d.ts +0 -171
  1874. package/_types/types/utils.d.ts.map +0 -1
  1875. package/_types/types/window.d.ts +0 -7
  1876. package/_types/types/window.d.ts.map +0 -1
  1877. package/_types/types/withdrawal.d.ts +0 -8
  1878. package/_types/types/withdrawal.d.ts.map +0 -1
  1879. package/_types/utils/abi/decodeAbiParameters.d.ts +0 -25
  1880. package/_types/utils/abi/decodeAbiParameters.d.ts.map +0 -1
  1881. package/_types/utils/abi/decodeDeployData.d.ts +0 -18
  1882. package/_types/utils/abi/decodeDeployData.d.ts.map +0 -1
  1883. package/_types/utils/abi/decodeErrorResult.d.ts +0 -27
  1884. package/_types/utils/abi/decodeErrorResult.d.ts.map +0 -1
  1885. package/_types/utils/abi/decodeEventLog.d.ts +0 -33
  1886. package/_types/utils/abi/decodeEventLog.d.ts.map +0 -1
  1887. package/_types/utils/abi/decodeFunctionData.d.ts +0 -26
  1888. package/_types/utils/abi/decodeFunctionData.d.ts.map +0 -1
  1889. package/_types/utils/abi/decodeFunctionResult.d.ts +0 -26
  1890. package/_types/utils/abi/decodeFunctionResult.d.ts.map +0 -1
  1891. package/_types/utils/abi/encodeAbiParameters.d.ts +0 -30
  1892. package/_types/utils/abi/encodeAbiParameters.d.ts.map +0 -1
  1893. package/_types/utils/abi/encodeDeployData.d.ts +0 -22
  1894. package/_types/utils/abi/encodeDeployData.d.ts.map +0 -1
  1895. package/_types/utils/abi/encodeErrorResult.d.ts +0 -24
  1896. package/_types/utils/abi/encodeErrorResult.d.ts.map +0 -1
  1897. package/_types/utils/abi/encodeEventTopics.d.ts +0 -26
  1898. package/_types/utils/abi/encodeEventTopics.d.ts.map +0 -1
  1899. package/_types/utils/abi/encodeFunctionData.d.ts +0 -28
  1900. package/_types/utils/abi/encodeFunctionData.d.ts.map +0 -1
  1901. package/_types/utils/abi/encodeFunctionResult.d.ts +0 -22
  1902. package/_types/utils/abi/encodeFunctionResult.d.ts.map +0 -1
  1903. package/_types/utils/abi/encodePacked.d.ts +0 -20
  1904. package/_types/utils/abi/encodePacked.d.ts.map +0 -1
  1905. package/_types/utils/abi/formatAbiItem.d.ts +0 -14
  1906. package/_types/utils/abi/formatAbiItem.d.ts.map +0 -1
  1907. package/_types/utils/abi/formatAbiItemWithArgs.d.ts +0 -10
  1908. package/_types/utils/abi/formatAbiItemWithArgs.d.ts.map +0 -1
  1909. package/_types/utils/abi/getAbiItem.d.ts +0 -22
  1910. package/_types/utils/abi/getAbiItem.d.ts.map +0 -1
  1911. package/_types/utils/abi/parseEventLogs.d.ts +0 -43
  1912. package/_types/utils/abi/parseEventLogs.d.ts.map +0 -1
  1913. package/_types/utils/accounts.d.ts +0 -3
  1914. package/_types/utils/accounts.d.ts.map +0 -1
  1915. package/_types/utils/address/getAddress.d.ts +0 -10
  1916. package/_types/utils/address/getAddress.d.ts.map +0 -1
  1917. package/_types/utils/address/getContractAddress.d.ts +0 -35
  1918. package/_types/utils/address/getContractAddress.d.ts.map +0 -1
  1919. package/_types/utils/address/isAddress.d.ts +0 -5
  1920. package/_types/utils/address/isAddress.d.ts.map +0 -1
  1921. package/_types/utils/address/isAddressEqual.d.ts +0 -7
  1922. package/_types/utils/address/isAddressEqual.d.ts.map +0 -1
  1923. package/_types/utils/buildRequest.d.ts +0 -11
  1924. package/_types/utils/buildRequest.d.ts.map +0 -1
  1925. package/_types/utils/ccip.d.ts +0 -40
  1926. package/_types/utils/ccip.d.ts.map +0 -1
  1927. package/_types/utils/chain/assertCurrentChain.d.ts +0 -10
  1928. package/_types/utils/chain/assertCurrentChain.d.ts.map +0 -1
  1929. package/_types/utils/chain/defineChain.d.ts +0 -4
  1930. package/_types/utils/chain/defineChain.d.ts.map +0 -1
  1931. package/_types/utils/chain/extractChain.d.ts +0 -10
  1932. package/_types/utils/chain/extractChain.d.ts.map +0 -1
  1933. package/_types/utils/chain/getChainContractAddress.d.ts +0 -9
  1934. package/_types/utils/chain/getChainContractAddress.d.ts.map +0 -1
  1935. package/_types/utils/cursor.d.ts +0 -37
  1936. package/_types/utils/cursor.d.ts.map +0 -1
  1937. package/_types/utils/data/concat.d.ts +0 -10
  1938. package/_types/utils/data/concat.d.ts.map +0 -1
  1939. package/_types/utils/data/isBytes.d.ts +0 -5
  1940. package/_types/utils/data/isBytes.d.ts.map +0 -1
  1941. package/_types/utils/data/isBytesEqual.d.ts +0 -7
  1942. package/_types/utils/data/isBytesEqual.d.ts.map +0 -1
  1943. package/_types/utils/data/isHex.d.ts +0 -7
  1944. package/_types/utils/data/isHex.d.ts.map +0 -1
  1945. package/_types/utils/data/pad.d.ts +0 -16
  1946. package/_types/utils/data/pad.d.ts.map +0 -1
  1947. package/_types/utils/data/size.d.ts +0 -12
  1948. package/_types/utils/data/size.d.ts.map +0 -1
  1949. package/_types/utils/data/slice.d.ts +0 -42
  1950. package/_types/utils/data/slice.d.ts.map +0 -1
  1951. package/_types/utils/data/trim.d.ts +0 -10
  1952. package/_types/utils/data/trim.d.ts.map +0 -1
  1953. package/_types/utils/encoding/fromBytes.d.ts +0 -117
  1954. package/_types/utils/encoding/fromBytes.d.ts.map +0 -1
  1955. package/_types/utils/encoding/fromHex.d.ts +0 -149
  1956. package/_types/utils/encoding/fromHex.d.ts.map +0 -1
  1957. package/_types/utils/encoding/fromRlp.d.ts +0 -21
  1958. package/_types/utils/encoding/fromRlp.d.ts.map +0 -1
  1959. package/_types/utils/encoding/toBytes.d.ts +0 -134
  1960. package/_types/utils/encoding/toBytes.d.ts.map +0 -1
  1961. package/_types/utils/encoding/toHex.d.ts +0 -148
  1962. package/_types/utils/encoding/toHex.d.ts.map +0 -1
  1963. package/_types/utils/encoding/toRlp.d.ts +0 -16
  1964. package/_types/utils/encoding/toRlp.d.ts.map +0 -1
  1965. package/_types/utils/ens/avatar/parseAvatarRecord.d.ts +0 -13
  1966. package/_types/utils/ens/avatar/parseAvatarRecord.d.ts.map +0 -1
  1967. package/_types/utils/ens/avatar/utils.d.ts +0 -48
  1968. package/_types/utils/ens/avatar/utils.d.ts.map +0 -1
  1969. package/_types/utils/ens/encodeLabelhash.d.ts +0 -5
  1970. package/_types/utils/ens/encodeLabelhash.d.ts.map +0 -1
  1971. package/_types/utils/ens/encodedLabelToLabelhash.d.ts +0 -6
  1972. package/_types/utils/ens/encodedLabelToLabelhash.d.ts.map +0 -1
  1973. package/_types/utils/ens/errors.d.ts +0 -4
  1974. package/_types/utils/ens/errors.d.ts.map +0 -1
  1975. package/_types/utils/ens/labelhash.d.ts +0 -17
  1976. package/_types/utils/ens/labelhash.d.ts.map +0 -1
  1977. package/_types/utils/ens/namehash.d.ts +0 -20
  1978. package/_types/utils/ens/namehash.d.ts.map +0 -1
  1979. package/_types/utils/ens/normalize.d.ts +0 -14
  1980. package/_types/utils/ens/normalize.d.ts.map +0 -1
  1981. package/_types/utils/ens/packetToBytes.d.ts +0 -8
  1982. package/_types/utils/ens/packetToBytes.d.ts.map +0 -1
  1983. package/_types/utils/errors/getCallError.d.ts +0 -13
  1984. package/_types/utils/errors/getCallError.d.ts.map +0 -1
  1985. package/_types/utils/errors/getContractError.d.ts +0 -15
  1986. package/_types/utils/errors/getContractError.d.ts.map +0 -1
  1987. package/_types/utils/errors/getEstimateGasError.d.ts +0 -15
  1988. package/_types/utils/errors/getEstimateGasError.d.ts.map +0 -1
  1989. package/_types/utils/errors/getNodeError.d.ts +0 -8
  1990. package/_types/utils/errors/getNodeError.d.ts.map +0 -1
  1991. package/_types/utils/errors/getTransactionError.d.ts +0 -16
  1992. package/_types/utils/errors/getTransactionError.d.ts.map +0 -1
  1993. package/_types/utils/filters/createFilterRequestScope.d.ts +0 -22
  1994. package/_types/utils/filters/createFilterRequestScope.d.ts.map +0 -1
  1995. package/_types/utils/formatters/block.d.ts +0 -28
  1996. package/_types/utils/formatters/block.d.ts.map +0 -1
  1997. package/_types/utils/formatters/extract.d.ts +0 -10
  1998. package/_types/utils/formatters/extract.d.ts.map +0 -1
  1999. package/_types/utils/formatters/feeHistory.d.ts +0 -6
  2000. package/_types/utils/formatters/feeHistory.d.ts.map +0 -1
  2001. package/_types/utils/formatters/formatter.d.ts +0 -12
  2002. package/_types/utils/formatters/formatter.d.ts.map +0 -1
  2003. package/_types/utils/formatters/log.d.ts +0 -9
  2004. package/_types/utils/formatters/log.d.ts.map +0 -1
  2005. package/_types/utils/formatters/proof.d.ts +0 -6
  2006. package/_types/utils/formatters/proof.d.ts.map +0 -1
  2007. package/_types/utils/formatters/transaction.d.ts +0 -30
  2008. package/_types/utils/formatters/transaction.d.ts.map +0 -1
  2009. package/_types/utils/formatters/transactionReceipt.d.ts +0 -18
  2010. package/_types/utils/formatters/transactionReceipt.d.ts.map +0 -1
  2011. package/_types/utils/formatters/transactionRequest.d.ts +0 -23
  2012. package/_types/utils/formatters/transactionRequest.d.ts.map +0 -1
  2013. package/_types/utils/getAction.d.ts +0 -10
  2014. package/_types/utils/getAction.d.ts.map +0 -1
  2015. package/_types/utils/hash/getEventSelector.d.ts +0 -7
  2016. package/_types/utils/hash/getEventSelector.d.ts.map +0 -1
  2017. package/_types/utils/hash/getEventSignature.d.ts +0 -6
  2018. package/_types/utils/hash/getEventSignature.d.ts.map +0 -1
  2019. package/_types/utils/hash/getFunctionSelector.d.ts +0 -9
  2020. package/_types/utils/hash/getFunctionSelector.d.ts.map +0 -1
  2021. package/_types/utils/hash/getFunctionSignature.d.ts +0 -6
  2022. package/_types/utils/hash/getFunctionSignature.d.ts.map +0 -1
  2023. package/_types/utils/hash/hashFunction.d.ts +0 -11
  2024. package/_types/utils/hash/hashFunction.d.ts.map +0 -1
  2025. package/_types/utils/hash/isHash.d.ts +0 -7
  2026. package/_types/utils/hash/isHash.d.ts.map +0 -1
  2027. package/_types/utils/hash/keccak256.d.ts +0 -11
  2028. package/_types/utils/hash/keccak256.d.ts.map +0 -1
  2029. package/_types/utils/hash/normalizeSignature.d.ts +0 -6
  2030. package/_types/utils/hash/normalizeSignature.d.ts.map +0 -1
  2031. package/_types/utils/index.d.ts +0 -84
  2032. package/_types/utils/index.d.ts.map +0 -1
  2033. package/_types/utils/observe.d.ts +0 -19
  2034. package/_types/utils/observe.d.ts.map +0 -1
  2035. package/_types/utils/poll.d.ts +0 -15
  2036. package/_types/utils/poll.d.ts.map +0 -1
  2037. package/_types/utils/promise/createBatchScheduler.d.ts +0 -21
  2038. package/_types/utils/promise/createBatchScheduler.d.ts.map +0 -1
  2039. package/_types/utils/promise/withCache.d.ts +0 -38
  2040. package/_types/utils/promise/withCache.d.ts.map +0 -1
  2041. package/_types/utils/promise/withRetry.d.ts +0 -14
  2042. package/_types/utils/promise/withRetry.d.ts.map +0 -1
  2043. package/_types/utils/promise/withTimeout.d.ts +0 -10
  2044. package/_types/utils/promise/withTimeout.d.ts.map +0 -1
  2045. package/_types/utils/regex.d.ts +0 -4
  2046. package/_types/utils/regex.d.ts.map +0 -1
  2047. package/_types/utils/rpc.d.ts +0 -80
  2048. package/_types/utils/rpc.d.ts.map +0 -1
  2049. package/_types/utils/signature/compactSignatureToHex.d.ts +0 -19
  2050. package/_types/utils/signature/compactSignatureToHex.d.ts.map +0 -1
  2051. package/_types/utils/signature/compactSignatureToSignature.d.ts +0 -24
  2052. package/_types/utils/signature/compactSignatureToSignature.d.ts.map +0 -1
  2053. package/_types/utils/signature/hashMessage.d.ts +0 -11
  2054. package/_types/utils/signature/hashMessage.d.ts.map +0 -1
  2055. package/_types/utils/signature/hashTypedData.d.ts +0 -29
  2056. package/_types/utils/signature/hashTypedData.d.ts.map +0 -1
  2057. package/_types/utils/signature/hexToCompactSignature.d.ts +0 -16
  2058. package/_types/utils/signature/hexToCompactSignature.d.ts.map +0 -1
  2059. package/_types/utils/signature/hexToSignature.d.ts +0 -16
  2060. package/_types/utils/signature/hexToSignature.d.ts.map +0 -1
  2061. package/_types/utils/signature/recoverAddress.d.ts +0 -11
  2062. package/_types/utils/signature/recoverAddress.d.ts.map +0 -1
  2063. package/_types/utils/signature/recoverMessageAddress.d.ts +0 -13
  2064. package/_types/utils/signature/recoverMessageAddress.d.ts.map +0 -1
  2065. package/_types/utils/signature/recoverPublicKey.d.ts +0 -12
  2066. package/_types/utils/signature/recoverPublicKey.d.ts.map +0 -1
  2067. package/_types/utils/signature/recoverTypedDataAddress.d.ts +0 -13
  2068. package/_types/utils/signature/recoverTypedDataAddress.d.ts.map +0 -1
  2069. package/_types/utils/signature/signatureToCompactSignature.d.ts +0 -23
  2070. package/_types/utils/signature/signatureToCompactSignature.d.ts.map +0 -1
  2071. package/_types/utils/signature/signatureToHex.d.ts +0 -21
  2072. package/_types/utils/signature/signatureToHex.d.ts.map +0 -1
  2073. package/_types/utils/signature/verifyMessage.d.ts +0 -30
  2074. package/_types/utils/signature/verifyMessage.d.ts.map +0 -1
  2075. package/_types/utils/signature/verifyTypedData.d.ts +0 -29
  2076. package/_types/utils/signature/verifyTypedData.d.ts.map +0 -1
  2077. package/_types/utils/stringify.d.ts +0 -4
  2078. package/_types/utils/stringify.d.ts.map +0 -1
  2079. package/_types/utils/transaction/assertRequest.d.ts +0 -11
  2080. package/_types/utils/transaction/assertRequest.d.ts.map +0 -1
  2081. package/_types/utils/transaction/assertTransaction.d.ts +0 -14
  2082. package/_types/utils/transaction/assertTransaction.d.ts.map +0 -1
  2083. package/_types/utils/transaction/getSerializedTransactionType.d.ts +0 -9
  2084. package/_types/utils/transaction/getSerializedTransactionType.d.ts.map +0 -1
  2085. package/_types/utils/transaction/getTransactionType.d.ts +0 -7
  2086. package/_types/utils/transaction/getTransactionType.d.ts.map +0 -1
  2087. package/_types/utils/transaction/parseTransaction.d.ts +0 -26
  2088. package/_types/utils/transaction/parseTransaction.d.ts.map +0 -1
  2089. package/_types/utils/transaction/serializeAccessList.d.ts +0 -10
  2090. package/_types/utils/transaction/serializeAccessList.d.ts.map +0 -1
  2091. package/_types/utils/transaction/serializeTransaction.d.ts +0 -19
  2092. package/_types/utils/transaction/serializeTransaction.d.ts.map +0 -1
  2093. package/_types/utils/typedData.d.ts +0 -19
  2094. package/_types/utils/typedData.d.ts.map +0 -1
  2095. package/_types/utils/uid.d.ts +0 -2
  2096. package/_types/utils/uid.d.ts.map +0 -1
  2097. package/_types/utils/unit/formatEther.d.ts +0 -15
  2098. package/_types/utils/unit/formatEther.d.ts.map +0 -1
  2099. package/_types/utils/unit/formatGwei.d.ts +0 -15
  2100. package/_types/utils/unit/formatGwei.d.ts.map +0 -1
  2101. package/_types/utils/unit/formatUnits.d.ts +0 -15
  2102. package/_types/utils/unit/formatUnits.d.ts.map +0 -1
  2103. package/_types/utils/unit/parseEther.d.ts +0 -16
  2104. package/_types/utils/unit/parseEther.d.ts.map +0 -1
  2105. package/_types/utils/unit/parseGwei.d.ts +0 -16
  2106. package/_types/utils/unit/parseGwei.d.ts.map +0 -1
  2107. package/_types/utils/unit/parseUnits.d.ts +0 -15
  2108. package/_types/utils/unit/parseUnits.d.ts.map +0 -1
  2109. package/_types/utils/wait.d.ts +0 -2
  2110. package/_types/utils/wait.d.ts.map +0 -1
  2111. package/_types/window/index.d.ts +0 -2
  2112. package/_types/window/index.d.ts.map +0 -1
@@ -1,120 +0,0 @@
1
- import { formatBlock } from '../../utils/formatters/block.js';
2
- import { getAction } from '../../utils/getAction.js';
3
- import { observe } from '../../utils/observe.js';
4
- import { poll } from '../../utils/poll.js';
5
- import { stringify } from '../../utils/stringify.js';
6
- import { getBlock } from './getBlock.js';
7
- /**
8
- * Watches and returns information for incoming blocks.
9
- *
10
- * - Docs: https://viem.sh/docs/actions/public/watchBlocks.html
11
- * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/blocks/watching-blocks
12
- * - JSON-RPC Methods:
13
- * - When `poll: true`, calls [`eth_getBlockByNumber`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getBlockByNumber) on a polling interval.
14
- * - When `poll: false` & WebSocket Transport, uses a WebSocket subscription via [`eth_subscribe`](https://docs.alchemy.com/reference/eth-subscribe-polygon) and the `"newHeads"` event.
15
- *
16
- * @param client - Client to use
17
- * @param parameters - {@link WatchBlocksParameters}
18
- * @returns A function that can be invoked to stop watching for new block numbers. {@link WatchBlocksReturnType}
19
- *
20
- * @example
21
- * import { createPublicClient, watchBlocks, http } from 'viem'
22
- * import { mainnet } from 'viem/chains'
23
- *
24
- * const client = createPublicClient({
25
- * chain: mainnet,
26
- * transport: http(),
27
- * })
28
- * const unwatch = watchBlocks(client, {
29
- * onBlock: (block) => console.log(block),
30
- * })
31
- */
32
- export function watchBlocks(client, { blockTag = 'latest', emitMissed = false, emitOnBegin = false, onBlock, onError, includeTransactions: includeTransactions_, poll: poll_, pollingInterval = client.pollingInterval, }) {
33
- const enablePolling = typeof poll_ !== 'undefined' ? poll_ : client.transport.type !== 'webSocket';
34
- const includeTransactions = includeTransactions_ ?? false;
35
- let prevBlock;
36
- const pollBlocks = () => {
37
- const observerId = stringify([
38
- 'watchBlocks',
39
- client.uid,
40
- emitMissed,
41
- emitOnBegin,
42
- includeTransactions,
43
- pollingInterval,
44
- ]);
45
- return observe(observerId, { onBlock, onError }, (emit) => poll(async () => {
46
- try {
47
- const block = await getAction(client, getBlock, 'getBlock')({
48
- blockTag,
49
- includeTransactions,
50
- });
51
- if (block.number && prevBlock?.number) {
52
- // If the current block number is the same as the previous,
53
- // we can skip.
54
- if (block.number === prevBlock.number)
55
- return;
56
- // If we have missed out on some previous blocks, and the
57
- // `emitMissed` flag is truthy, let's emit those blocks.
58
- if (block.number - prevBlock.number > 1 && emitMissed) {
59
- for (let i = prevBlock?.number + 1n; i < block.number; i++) {
60
- const block = (await getAction(client, getBlock, 'getBlock')({
61
- blockNumber: i,
62
- includeTransactions,
63
- }));
64
- emit.onBlock(block, prevBlock);
65
- prevBlock = block;
66
- }
67
- }
68
- }
69
- if (
70
- // If no previous block exists, emit.
71
- !prevBlock?.number ||
72
- // If the block tag is "pending" with no block number, emit.
73
- (blockTag === 'pending' && !block?.number) ||
74
- // If the next block number is greater than the previous block number, emit.
75
- // We don't want to emit blocks in the past.
76
- (block.number && block.number > prevBlock.number)) {
77
- emit.onBlock(block, prevBlock);
78
- prevBlock = block;
79
- }
80
- }
81
- catch (err) {
82
- emit.onError?.(err);
83
- }
84
- }, {
85
- emitOnBegin,
86
- interval: pollingInterval,
87
- }));
88
- };
89
- const subscribeBlocks = () => {
90
- let active = true;
91
- let unsubscribe = () => (active = false);
92
- (async () => {
93
- try {
94
- const { unsubscribe: unsubscribe_ } = await client.transport.subscribe({
95
- params: ['newHeads'],
96
- onData(data) {
97
- if (!active)
98
- return;
99
- const format = client.chain?.formatters?.block?.format || formatBlock;
100
- const block = format(data.result);
101
- onBlock(block, prevBlock);
102
- prevBlock = block;
103
- },
104
- onError(error) {
105
- onError?.(error);
106
- },
107
- });
108
- unsubscribe = unsubscribe_;
109
- if (!active)
110
- unsubscribe();
111
- }
112
- catch (err) {
113
- onError?.(err);
114
- }
115
- })();
116
- return unsubscribe;
117
- };
118
- return enablePolling ? pollBlocks() : subscribeBlocks();
119
- }
120
- //# sourceMappingURL=watchBlocks.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"watchBlocks.js","sourceRoot":"","sources":["../../../actions/public/watchBlocks.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAA;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AAChD,OAAO,EAAsB,IAAI,EAAE,MAAM,qBAAqB,CAAA;AAC9D,OAAO,EAA2B,SAAS,EAAE,MAAM,0BAA0B,CAAA;AAE7E,OAAO,EAA2B,QAAQ,EAAE,MAAM,eAAe,CAAA;AA+DjE;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,UAAU,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,SAAS,CAAC;YAC3B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AW,EAAE,CAAA;YAC5B,CAAC;YAAC,OAAO,GAAG,EAAE,CAAC;gBACb,OAAO,EAAE,CAAC,GAAY,CAAC,CAAA;YACzB,CAAC;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"}
@@ -1,199 +0,0 @@
1
- import { DecodeLogDataMismatch, DecodeLogTopicsMismatch, } from '../../errors/abi.js';
2
- import { InvalidInputRpcError } from '../../errors/rpc.js';
3
- import { decodeEventLog } from '../../utils/abi/decodeEventLog.js';
4
- import { encodeEventTopics, } from '../../utils/abi/encodeEventTopics.js';
5
- import { formatLog } from '../../utils/formatters/log.js';
6
- import { getAction } from '../../utils/getAction.js';
7
- import { observe } from '../../utils/observe.js';
8
- import { poll } from '../../utils/poll.js';
9
- import { stringify } from '../../utils/stringify.js';
10
- import { createContractEventFilter } from './createContractEventFilter.js';
11
- import { getBlockNumber } from './getBlockNumber.js';
12
- import { getContractEvents, } from './getContractEvents.js';
13
- import { getFilterChanges } from './getFilterChanges.js';
14
- import { uninstallFilter } from './uninstallFilter.js';
15
- /**
16
- * Watches and returns emitted contract event logs.
17
- *
18
- * - Docs: https://viem.sh/docs/contract/watchContractEvent.html
19
- *
20
- * This Action will batch up all the event logs found within the [`pollingInterval`](https://viem.sh/docs/contract/watchContractEvent.html#pollinginterval-optional), and invoke them via [`onLogs`](https://viem.sh/docs/contract/watchContractEvent.html#onLogs).
21
- *
22
- * `watchContractEvent` will attempt to create an [Event Filter](https://viem.sh/docs/contract/createContractEventFilter.html) and listen to changes to the Filter per polling interval, however, if the RPC Provider does not support Filters (e.g. `eth_newFilter`), then `watchContractEvent` will fall back to using [`getLogs`](https://viem.sh/docs/actions/public/getLogs) instead.
23
- *
24
- * @param client - Client to use
25
- * @param parameters - {@link WatchContractEventParameters}
26
- * @returns A function that can be invoked to stop watching for new event logs. {@link WatchContractEventReturnType}
27
- *
28
- * @example
29
- * import { createPublicClient, http, parseAbi } from 'viem'
30
- * import { mainnet } from 'viem/chains'
31
- * import { watchContractEvent } from 'viem/contract'
32
- *
33
- * const client = createPublicClient({
34
- * chain: mainnet,
35
- * transport: http(),
36
- * })
37
- * const unwatch = watchContractEvent(client, {
38
- * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',
39
- * abi: parseAbi(['event Transfer(address indexed from, address indexed to, uint256 value)']),
40
- * eventName: 'Transfer',
41
- * args: { from: '0xc961145a54C96E3aE9bAA048c4F4D6b04C13916b' },
42
- * onLogs: (logs) => console.log(logs),
43
- * })
44
- */
45
- export function watchContractEvent(client, parameters) {
46
- const { abi, address, args, batch = true, eventName, onError, onLogs, poll: poll_, pollingInterval = client.pollingInterval, strict: strict_, } = parameters;
47
- const enablePolling = typeof poll_ !== 'undefined' ? poll_ : client.transport.type !== 'webSocket';
48
- const pollContractEvent = () => {
49
- const observerId = stringify([
50
- 'watchContractEvent',
51
- address,
52
- args,
53
- batch,
54
- client.uid,
55
- eventName,
56
- pollingInterval,
57
- ]);
58
- const strict = strict_ ?? false;
59
- return observe(observerId, { onLogs, onError }, (emit) => {
60
- let previousBlockNumber;
61
- let filter;
62
- let initialized = false;
63
- const unwatch = poll(async () => {
64
- if (!initialized) {
65
- try {
66
- filter = (await getAction(client, createContractEventFilter, 'createContractEventFilter')({
67
- abi,
68
- address,
69
- args: args,
70
- eventName: eventName,
71
- strict: strict,
72
- }));
73
- }
74
- catch { }
75
- initialized = true;
76
- return;
77
- }
78
- try {
79
- let logs;
80
- if (filter) {
81
- logs = await getAction(client, getFilterChanges, 'getFilterChanges')({ filter });
82
- }
83
- else {
84
- // If the filter doesn't exist, we will fall back to use `getLogs`.
85
- // The fall back exists because some RPC Providers do not support filters.
86
- // Fetch the block number to use for `getLogs`.
87
- const blockNumber = await getAction(client, getBlockNumber, 'getBlockNumber')({});
88
- // If the block number has changed, we will need to fetch the logs.
89
- // If the block number doesn't exist, we are yet to reach the first poll interval,
90
- // so do not emit any logs.
91
- if (previousBlockNumber && previousBlockNumber !== blockNumber) {
92
- logs = await getAction(client, getContractEvents, 'getContractEvents')({
93
- abi,
94
- address,
95
- args,
96
- eventName,
97
- fromBlock: previousBlockNumber + 1n,
98
- toBlock: blockNumber,
99
- strict,
100
- });
101
- }
102
- else {
103
- logs = [];
104
- }
105
- previousBlockNumber = blockNumber;
106
- }
107
- if (logs.length === 0)
108
- return;
109
- if (batch)
110
- emit.onLogs(logs);
111
- else
112
- for (const log of logs)
113
- emit.onLogs([log]);
114
- }
115
- catch (err) {
116
- // If a filter has been set and gets uninstalled, providers will throw an InvalidInput error.
117
- // Reinitalize the filter when this occurs
118
- if (filter && err instanceof InvalidInputRpcError)
119
- initialized = false;
120
- emit.onError?.(err);
121
- }
122
- }, {
123
- emitOnBegin: true,
124
- interval: pollingInterval,
125
- });
126
- return async () => {
127
- if (filter)
128
- await getAction(client, uninstallFilter, 'uninstallFilter')({ filter });
129
- unwatch();
130
- };
131
- });
132
- };
133
- const subscribeContractEvent = () => {
134
- let active = true;
135
- let unsubscribe = () => (active = false);
136
- (async () => {
137
- try {
138
- const topics = eventName
139
- ? encodeEventTopics({
140
- abi: abi,
141
- eventName: eventName,
142
- args,
143
- })
144
- : [];
145
- const { unsubscribe: unsubscribe_ } = await client.transport.subscribe({
146
- params: ['logs', { address, topics }],
147
- onData(data) {
148
- if (!active)
149
- return;
150
- const log = data.result;
151
- try {
152
- const { eventName, args } = decodeEventLog({
153
- abi: abi,
154
- data: log.data,
155
- topics: log.topics,
156
- strict: strict_,
157
- });
158
- const formatted = formatLog(log, {
159
- args,
160
- eventName: eventName,
161
- });
162
- onLogs([formatted]);
163
- }
164
- catch (err) {
165
- let eventName;
166
- let isUnnamed;
167
- if (err instanceof DecodeLogDataMismatch ||
168
- err instanceof DecodeLogTopicsMismatch) {
169
- // If strict mode is on, and log data/topics do not match event definition, skip.
170
- if (strict_)
171
- return;
172
- eventName = err.abiItem.name;
173
- isUnnamed = err.abiItem.inputs?.some((x) => !('name' in x && x.name));
174
- }
175
- // Set args to empty if there is an error decoding (e.g. indexed/non-indexed params mismatch).
176
- const formatted = formatLog(log, {
177
- args: isUnnamed ? [] : {},
178
- eventName,
179
- });
180
- onLogs([formatted]);
181
- }
182
- },
183
- onError(error) {
184
- onError?.(error);
185
- },
186
- });
187
- unsubscribe = unsubscribe_;
188
- if (!active)
189
- unsubscribe();
190
- }
191
- catch (err) {
192
- onError?.(err);
193
- }
194
- })();
195
- return unsubscribe;
196
- };
197
- return enablePolling ? pollContractEvent() : subscribeContractEvent();
198
- }
199
- //# sourceMappingURL=watchContractEvent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"watchContractEvent.js","sourceRoot":"","sources":["../../../actions/public/watchContractEvent.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,qBAAqB,EACrB,uBAAuB,GACxB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAA;AAQ1D,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAA;AAClE,OAAO,EAEL,iBAAiB,GAClB,MAAM,sCAAsC,CAAA;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAA;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;AACpD,OAAO,EAAyB,OAAO,EAAE,MAAM,wBAAwB,CAAA;AACvE,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAA;AAC1C,OAAO,EAA2B,SAAS,EAAE,MAAM,0BAA0B,CAAA;AAC7E,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAA;AAC1E,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AACpD,OAAO,EAEL,iBAAiB,GAClB,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAA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YACzB,CAAC;QACH,CAAC,CAAC,EAAE,CAAA;QACJ,OAAO,WAAW,CAAA;IACpB,CAAC,CAAA;IAED,OAAO,aAAa,CAAC,CAAC,CAAC,iBAAiB,EAAE,CAAC,CAAC,CAAC,sBAAsB,EAAE,CAAA;AACvE,CAAC"}
@@ -1,200 +0,0 @@
1
- import { observe } from '../../utils/observe.js';
2
- import { poll } from '../../utils/poll.js';
3
- import { stringify } from '../../utils/stringify.js';
4
- import { DecodeLogDataMismatch, DecodeLogTopicsMismatch, } from '../../errors/abi.js';
5
- import { InvalidInputRpcError } from '../../errors/rpc.js';
6
- import { getAction } from '../../utils/getAction.js';
7
- import { decodeEventLog, encodeEventTopics, formatLog, } from '../../utils/index.js';
8
- import { createEventFilter, } from './createEventFilter.js';
9
- import { getBlockNumber } from './getBlockNumber.js';
10
- import { getFilterChanges } from './getFilterChanges.js';
11
- import { getLogs } from './getLogs.js';
12
- import { uninstallFilter } from './uninstallFilter.js';
13
- /**
14
- * Watches and returns emitted [Event Logs](https://viem.sh/docs/glossary/terms.html#event-log).
15
- *
16
- * - Docs: https://viem.sh/docs/actions/public/watchEvent.html
17
- * - JSON-RPC Methods:
18
- * - **RPC Provider supports `eth_newFilter`:**
19
- * - Calls [`eth_newFilter`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_newfilter) to create a filter (called on initialize).
20
- * - On a polling interval, it will call [`eth_getFilterChanges`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getfilterchanges).
21
- * - **RPC Provider does not support `eth_newFilter`:**
22
- * - Calls [`eth_getLogs`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getlogs) for each block between the polling interval.
23
- *
24
- * This Action will batch up all the Event Logs found within the [`pollingInterval`](https://viem.sh/docs/actions/public/watchEvent.html#pollinginterval-optional), and invoke them via [`onLogs`](https://viem.sh/docs/actions/public/watchEvent.html#onLogs).
25
- *
26
- * `watchEvent` will attempt to create an [Event Filter](https://viem.sh/docs/actions/public/createEventFilter.html) and listen to changes to the Filter per polling interval, however, if the RPC Provider does not support Filters (e.g. `eth_newFilter`), then `watchEvent` will fall back to using [`getLogs`](https://viem.sh/docs/actions/public/getLogs.html) instead.
27
- *
28
- * @param client - Client to use
29
- * @param parameters - {@link WatchEventParameters}
30
- * @returns A function that can be invoked to stop watching for new Event Logs. {@link WatchEventReturnType}
31
- *
32
- * @example
33
- * import { createPublicClient, http } from 'viem'
34
- * import { mainnet } from 'viem/chains'
35
- * import { watchEvent } from 'viem/public'
36
- *
37
- * const client = createPublicClient({
38
- * chain: mainnet,
39
- * transport: http(),
40
- * })
41
- * const unwatch = watchEvent(client, {
42
- * onLogs: (logs) => console.log(logs),
43
- * })
44
- */
45
- export function watchEvent(client, { address, args, batch = true, event, events, onError, onLogs, poll: poll_, pollingInterval = client.pollingInterval, strict: strict_, }) {
46
- const enablePolling = typeof poll_ !== 'undefined' ? poll_ : client.transport.type !== 'webSocket';
47
- const strict = strict_ ?? false;
48
- const pollEvent = () => {
49
- const observerId = stringify([
50
- 'watchEvent',
51
- address,
52
- args,
53
- batch,
54
- client.uid,
55
- event,
56
- pollingInterval,
57
- ]);
58
- return observe(observerId, { onLogs, onError }, (emit) => {
59
- let previousBlockNumber;
60
- let filter;
61
- let initialized = false;
62
- const unwatch = poll(async () => {
63
- if (!initialized) {
64
- try {
65
- filter = (await getAction(client, createEventFilter, 'createEventFilter')({
66
- address,
67
- args,
68
- event: event,
69
- events,
70
- strict,
71
- }));
72
- }
73
- catch { }
74
- initialized = true;
75
- return;
76
- }
77
- try {
78
- let logs;
79
- if (filter) {
80
- logs = await getAction(client, getFilterChanges, 'getFilterChanges')({ filter });
81
- }
82
- else {
83
- // If the filter doesn't exist, we will fall back to use `getLogs`.
84
- // The fall back exists because some RPC Providers do not support filters.
85
- // Fetch the block number to use for `getLogs`.
86
- const blockNumber = await getAction(client, getBlockNumber, 'getBlockNumber')({});
87
- // If the block number has changed, we will need to fetch the logs.
88
- // If the block number doesn't exist, we are yet to reach the first poll interval,
89
- // so do not emit any logs.
90
- if (previousBlockNumber && previousBlockNumber !== blockNumber) {
91
- logs = await getAction(client, getLogs, 'getLogs')({
92
- address,
93
- args,
94
- event: event,
95
- events,
96
- fromBlock: previousBlockNumber + 1n,
97
- toBlock: blockNumber,
98
- });
99
- }
100
- else {
101
- logs = [];
102
- }
103
- previousBlockNumber = blockNumber;
104
- }
105
- if (logs.length === 0)
106
- return;
107
- if (batch)
108
- emit.onLogs(logs);
109
- else
110
- for (const log of logs)
111
- emit.onLogs([log]);
112
- }
113
- catch (err) {
114
- // If a filter has been set and gets uninstalled, providers will throw an InvalidInput error.
115
- // Reinitalize the filter when this occurs
116
- if (filter && err instanceof InvalidInputRpcError)
117
- initialized = false;
118
- emit.onError?.(err);
119
- }
120
- }, {
121
- emitOnBegin: true,
122
- interval: pollingInterval,
123
- });
124
- return async () => {
125
- if (filter)
126
- await getAction(client, uninstallFilter, 'uninstallFilter')({ filter });
127
- unwatch();
128
- };
129
- });
130
- };
131
- const subscribeEvent = () => {
132
- let active = true;
133
- let unsubscribe = () => (active = false);
134
- (async () => {
135
- try {
136
- const events_ = events ?? (event ? [event] : undefined);
137
- let topics = [];
138
- if (events_) {
139
- topics = [
140
- events_.flatMap((event) => encodeEventTopics({
141
- abi: [event],
142
- eventName: event.name,
143
- args,
144
- })),
145
- ];
146
- if (event)
147
- topics = topics[0];
148
- }
149
- const { unsubscribe: unsubscribe_ } = await client.transport.subscribe({
150
- params: ['logs', { address, topics }],
151
- onData(data) {
152
- if (!active)
153
- return;
154
- const log = data.result;
155
- try {
156
- const { eventName, args } = decodeEventLog({
157
- abi: events_ ?? [],
158
- data: log.data,
159
- topics: log.topics,
160
- strict,
161
- });
162
- const formatted = formatLog(log, { args, eventName });
163
- onLogs([formatted]);
164
- }
165
- catch (err) {
166
- let eventName;
167
- let isUnnamed;
168
- if (err instanceof DecodeLogDataMismatch ||
169
- err instanceof DecodeLogTopicsMismatch) {
170
- // If strict mode is on, and log data/topics do not match event definition, skip.
171
- if (strict_)
172
- return;
173
- eventName = err.abiItem.name;
174
- isUnnamed = err.abiItem.inputs?.some((x) => !('name' in x && x.name));
175
- }
176
- // Set args to empty if there is an error decoding (e.g. indexed/non-indexed params mismatch).
177
- const formatted = formatLog(log, {
178
- args: isUnnamed ? [] : {},
179
- eventName,
180
- });
181
- onLogs([formatted]);
182
- }
183
- },
184
- onError(error) {
185
- onError?.(error);
186
- },
187
- });
188
- unsubscribe = unsubscribe_;
189
- if (!active)
190
- unsubscribe();
191
- }
192
- catch (err) {
193
- onError?.(err);
194
- }
195
- })();
196
- return unsubscribe;
197
- };
198
- return enablePolling ? pollEvent() : subscribeEvent();
199
- }
200
- //# sourceMappingURL=watchEvent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"watchEvent.js","sourceRoot":"","sources":["../../../actions/public/watchEvent.ts"],"names":[],"mappings":"AAcA,OAAO,EAAyB,OAAO,EAAE,MAAM,wBAAwB,CAAA;AACvE,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAA;AAC1C,OAAO,EAA2B,SAAS,EAAE,MAAM,0BAA0B,CAAA;AAE7E,OAAO,EACL,qBAAqB,EACrB,uBAAuB,GACxB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAA;AAE1D,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;AACpD,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,SAAS,GACV,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAEL,iBAAiB,GAClB,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,EAA0B,OAAO,EAAE,MAAM,cAAc,CAAA;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AA4EtD;;;;;;;;;;;;;;;;;;;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AAC,MAAM;oBAAE,WAAW,EAAE,CAAA;YAC5B,CAAC;YAAC,OAAO,GAAG,EAAE,CAAC;gBACb,OAAO,EAAE,CAAC,GAAY,CAAC,CAAA;YACzB,CAAC;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"}
@@ -1,114 +0,0 @@
1
- import { getAction } from '../../utils/getAction.js';
2
- import { observe } from '../../utils/observe.js';
3
- import { poll } from '../../utils/poll.js';
4
- import { stringify } from '../../utils/stringify.js';
5
- import { createPendingTransactionFilter } from './createPendingTransactionFilter.js';
6
- import { getFilterChanges } from './getFilterChanges.js';
7
- import { uninstallFilter } from './uninstallFilter.js';
8
- /**
9
- * Watches and returns pending transaction hashes.
10
- *
11
- * - Docs: https://viem.sh/docs/actions/public/watchPendingTransactions.html
12
- * - JSON-RPC Methods:
13
- * - When `poll: true`
14
- * - Calls [`eth_newPendingTransactionFilter`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_newpendingtransactionfilter) to initialize the filter.
15
- * - Calls [`eth_getFilterChanges`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getFilterChanges) on a polling interval.
16
- * - When `poll: false` & WebSocket Transport, uses a WebSocket subscription via [`eth_subscribe`](https://docs.alchemy.com/reference/eth-subscribe-polygon) and the `"newPendingTransactions"` event.
17
- *
18
- * This Action will batch up all the pending transactions found within the [`pollingInterval`](https://viem.sh/docs/actions/public/watchPendingTransactions.html#pollinginterval-optional), and invoke them via [`onTransactions`](https://viem.sh/docs/actions/public/watchPendingTransactions.html#ontransactions).
19
- *
20
- * @param client - Client to use
21
- * @param parameters - {@link WatchPendingTransactionsParameters}
22
- * @returns A function that can be invoked to stop watching for new pending transaction hashes. {@link WatchPendingTransactionsReturnType}
23
- *
24
- * @example
25
- * import { createPublicClient, http } from 'viem'
26
- * import { mainnet } from 'viem/chains'
27
- * import { watchPendingTransactions } from 'viem/public'
28
- *
29
- * const client = createPublicClient({
30
- * chain: mainnet,
31
- * transport: http(),
32
- * })
33
- * const unwatch = await watchPendingTransactions(client, {
34
- * onTransactions: (hashes) => console.log(hashes),
35
- * })
36
- */
37
- export function watchPendingTransactions(client, { batch = true, onError, onTransactions, poll: poll_, pollingInterval = client.pollingInterval, }) {
38
- const enablePolling = typeof poll_ !== 'undefined' ? poll_ : client.transport.type !== 'webSocket';
39
- const pollPendingTransactions = () => {
40
- const observerId = stringify([
41
- 'watchPendingTransactions',
42
- client.uid,
43
- batch,
44
- pollingInterval,
45
- ]);
46
- return observe(observerId, { onTransactions, onError }, (emit) => {
47
- let filter;
48
- const unwatch = poll(async () => {
49
- try {
50
- if (!filter) {
51
- try {
52
- filter = await getAction(client, createPendingTransactionFilter, 'createPendingTransactionFilter')({});
53
- return;
54
- }
55
- catch (err) {
56
- unwatch();
57
- throw err;
58
- }
59
- }
60
- const hashes = await getAction(client, getFilterChanges, 'getFilterChanges')({ filter });
61
- if (hashes.length === 0)
62
- return;
63
- if (batch)
64
- emit.onTransactions(hashes);
65
- else
66
- for (const hash of hashes)
67
- emit.onTransactions([hash]);
68
- }
69
- catch (err) {
70
- emit.onError?.(err);
71
- }
72
- }, {
73
- emitOnBegin: true,
74
- interval: pollingInterval,
75
- });
76
- return async () => {
77
- if (filter)
78
- await getAction(client, uninstallFilter, 'uninstallFilter')({ filter });
79
- unwatch();
80
- };
81
- });
82
- };
83
- const subscribePendingTransactions = () => {
84
- let active = true;
85
- let unsubscribe = () => (active = false);
86
- (async () => {
87
- try {
88
- const { unsubscribe: unsubscribe_ } = await client.transport.subscribe({
89
- params: ['newPendingTransactions'],
90
- onData(data) {
91
- if (!active)
92
- return;
93
- const transaction = data.result;
94
- onTransactions([transaction]);
95
- },
96
- onError(error) {
97
- onError?.(error);
98
- },
99
- });
100
- unsubscribe = unsubscribe_;
101
- if (!active)
102
- unsubscribe();
103
- }
104
- catch (err) {
105
- onError?.(err);
106
- }
107
- })();
108
- return unsubscribe;
109
- };
110
- return enablePolling
111
- ? pollPendingTransactions()
112
- : subscribePendingTransactions();
113
- }
114
- //# sourceMappingURL=watchPendingTransactions.js.map