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